From 57d9f7da934976beeb0231462906e6f07339d61d Mon Sep 17 00:00:00 2001 From: smeng9 <38666763+smeng9@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:30:58 -0700 Subject: [PATCH] remove extra toc --- docs/Upgrade.md | 77 +------------------------------------------------ 1 file changed, 1 insertion(+), 76 deletions(-) diff --git a/docs/Upgrade.md b/docs/Upgrade.md index fb95faca60..033d4e31ef 100644 --- a/docs/Upgrade.md +++ b/docs/Upgrade.md @@ -273,82 +273,7 @@ const myTheme = { + RaSimpleFormIterator: { defaultProps: { fullWidth: undefined } }, + RaTranslatableInputs: { defaultProps: { fullWidth: undefined } }, }, - - -- [Upgrading to v5](#upgrading-to-v5) - - [IE11 Is No Longer Supported](#ie11-is-no-longer-supported) - - [Dependencies](#dependencies) - - [React 18](#react-18) - - [Use @tanstack/react-query instead of react-query](#use-tanstackreact-query-instead-of-react-query) - - [Codemod](#codemod) - - [Minor Dependencies](#minor-dependencies) - - [UI Changes](#ui-changes) - - [Inputs Have Full Width By Default](#inputs-have-full-width-by-default) - - [Links are now underlined by default](#links-are-now-underlined-by-default) - - [Dark Theme Is Available By Default](#dark-theme-is-available-by-default) - - [ And accept prop has changed](#fileinput-and-imageinput-accept-prop-has-changed) - - [Data Provider](#data-provider) - - [ra-data-graphql And ra-data-graphql-simple No Longer Return A Promise](#ra-data-graphql-and-ra-data-graphql-simple-no-longer-return-a-promise) - - [Application Root & Layout](#application-root--layout) - - [ Is No Longer Supported](#admin-menu-is-no-longer-supported) - - [ Prop Was Removed](#admin-history-prop-was-removed) - - [Codemod](#codemod) - - [ Was Removed](#historyrouter-was-removed) - - [Custom Layout No Longer Receives Props](#custom-layout-no-longer-receives-props) - - [Custom App Bars No Longer Receive Props](#custom-app-bars-no-longer-receive-props) - - [Custom Menu No Longer Receive Props](#custom-menu-no-longer-receive-props) - - [Custom Error Page No Longer Receives Title](#custom-error-page-no-longer-receives-title) - - [Custom Catch All No Longer Receives Title](#custom-catch-all-no-longer-receives-title) - - [List Components](#list-components) - - [List Components Can No Longer Be Used In Standalone](#list-components-can-no-longer-be-used-in-standalone) - - [ Is No Longer Supported](#list-hascreate-is-no-longer-supported) - - [ is no longer false by default](#datagrid-rowclick-is-no-longer-false-by-default) - - [ Components No Longer Receive Any Props](#datagrid-expand-components-no-longer-receive-any-props) - - [setFilters Is No Longer Debounced By Default](#setfilters-is-no-longer-debounced-by-default) - - [Updates to bulkActionButtons Syntax](#updates-to-bulkactionbuttons-syntax) - - [ Component Was Removed](#paginationlimit-component-was-removed) - - [ No Longer Provides record Prop To ](#datagridbody-no-longer-provides-record-prop-to-datagridrow) - - [Show and Edit Pages](#show-and-edit-pages) - - [Custom Edit or Show Actions No Longer Receive Any Props](#custom-edit-or-show-actions-no-longer-receive-any-props) - - [Inputs default ids are auto-generated](#inputs-default-ids-are-auto-generated) - - [ No Longer Clones Its Buttons](#simpleformiterator-no-longer-clones-its-buttons) - - [ no longer clones its children](#simpleformiterator-no-longer-clones-its-children) - - [ no longer passes a getSource function](#formdataconsumer-no-longer-passes-a-getsource-function) - - [warnWhenUnsavedChanges Changes](#warnwhenunsavedchanges-changes) - - [Inputs No Longer Require To Be Touched To Display A Validation Error](#inputs-no-longer-require-to-be-touched-to-display-a-validation-error) - - [ Prop Was Removed](#inputhelpertext-touched-prop-was-removed) - - [Global Server Side Validation Error Message Must Be Passed Via The root.serverError Key](#global-server-side-validation-error-message-must-be-passed-via-the-rootservererror-key) - - [TypeScript](#typescript) - - [Fields Components Requires The source Prop](#fields-components-requires-the-source-prop) - - [useRecordContext Returns undefined When No Record Is Available](#userecordcontext-returns-undefined-when-no-record-is-available) - - [useAuthProvider Returns undefined When No authProvider Is Available](#useauthprovider-returns-undefined-when-no-authprovider-is-available) - - [Page Contexts Are Now Types Instead of Interfaces](#page-contexts-are-now-types-instead-of-interfaces) - - [Stronger Types For Page Contexts](#stronger-types-for-page-contexts) - - [EditProps and CreateProps now expect a children prop](#editprops-and-createprops-now-expect-a-children-prop) - - [BulkActionProps Type Has Been Removed](#bulkactionprops-type-has-been-removed) - - [onError Type From ra-core Was Removed](#onerror-type-from-ra-core-was-removed) - - [PublicFieldProps Interface Was Removed](#publicfieldprops-interface-was-removed) - - [InjectedFieldProps Interface Was Removed](#injectedfieldprops-interface-was-removed) - - [formClassName Prop Of FieldProps Type Was Removed](#formclassname-prop-of-fieldprops-type-was-removed) - - [formClassName Prop Of CommonInputProps Type Was Removed](#formclassname-prop-of-commoninputprops-type-was-removed) - - [Authentication](#authentication) - - [useCheckAuth No Longer Accepts A disableNotification Param](#usecheckauth-no-longer-accepts-a-disablenotification-param) - - [useLogoutIfAccessDenied No Longer Accepts A disableNotification Param](#uselogoutifaccessdenied-no-longer-accepts-a-disablenotification-param) - - [usePermissionsOptimized Hook Was Removed](#usepermissionsoptimized-hook-was-removed) - - [Routing](#routing) - - [linkToRecord Helper Was Removed](#linktorecord-helper-was-removed) - - [resolveRedirectTo Helper Was Removed](#resolveredirectto-helper-was-removed) - - [Theming](#theming) - - [useTheme no longer accepts a theme object as an optional argument](#usetheme-no-longer-accepts-a-theme-object-as-an-optional-argument) - - [ToggleThemeButton no longer accepts themes as props](#togglethemebutton-no-longer-accepts-themes-as-props) - - [ Is No Longer Supported](#themeprovider-theme-is-no-longer-supported) - - [Misc](#misc) - - [data-generator-retail commands Have Been Renamed to orders](#data-generator-retail-commands-have-been-renamed-to-orders) - - [Support For PropTypes Was Removed](#support-for-proptypes-was-removed) - - [Mutation Middlewares No Longer Receive The Mutation Options](#mutation-middlewares-no-longer-receive-the-mutation-options) - - [Upgrading to v4](#upgrading-to-v4) - -}; +} ``` ### Links are now underlined by default