Skip to content

Commit

Permalink
chore(react-18): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
calebpollman committed Oct 21, 2023
1 parent eb87bf7 commit 4dbd41a
Show file tree
Hide file tree
Showing 26 changed files with 17,436 additions and 19,592 deletions.
5,720 changes: 2,860 additions & 2,860 deletions docs/__tests__/__snapshots__/cssvars-table.test.ts.snap

Large diffs are not rendered by default.

28,512 changes: 14,256 additions & 14,256 deletions docs/__tests__/__snapshots__/props-table.test.ts.snap

Large diffs are not rendered by default.

324 changes: 162 additions & 162 deletions docs/__tests__/__snapshots__/sitemap.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,166 +1,166 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Sitemap Snapshot 1`] = `
"/,
/android,
/android/connected-components/authenticator,
/android/connected-components/authenticator/configuration,
/android/connected-components/authenticator/customization,
/android/connected-components/liveness,
/android/connected-components/liveness/customization,
/android/connected-components/liveness/troubleshooting,
/android/getting-started/installation,
/android/getting-started/introduction,
/angular,
/angular/connected-components/authenticator,
/angular/connected-components/authenticator/advanced,
/angular/connected-components/authenticator/configuration,
/angular/connected-components/authenticator/customization,
/angular/getting-started/accessibility,
/angular/getting-started/installation,
/angular/getting-started/introduction,
/angular/getting-started/migration,
/angular/getting-started/troubleshooting,
/angular/getting-started/usage,
/angular/guides/css-in-js,
/angular/theming,
/angular/theming/css-variables,
/angular/theming/dark-mode,
/angular/theming/default-theme,
/angular/theming/default-theme/colors,
/angular/theming/default-theme/sizes,
/angular/theming/default-theme/typography,
/angular/theming/responsive,
/flutter,
/flutter/connected-components/authenticator,
/flutter/connected-components/authenticator/configuration,
/flutter/connected-components/authenticator/customization,
/flutter/getting-started/installation,
/flutter/getting-started/introduction,
/flutter/theming,
/flutter/theming/dark-mode,
/react,
/react-native,
/react-native/connected-components/authenticator,
/react-native/connected-components/authenticator/advanced,
/react-native/connected-components/authenticator/configuration,
/react-native/connected-components/authenticator/customization,
/react-native/connected-components/in-app-messaging,
/react-native/getting-started/installation,
/react-native/getting-started/introduction,
/react-native/getting-started/usage,
/react-native/theming,
/react-native/theming/dark-mode,
/react/components,
/react/components/accordion,
/react/components/alert,
/react/components/autocomplete,
/react/components/badge,
/react/components/breadcrumbs,
/react/components/button,
/react/components/card,
/react/components/checkboxfield,
/react/components/collection,
/react/components/divider,
/react/components/dropzone,
/react/components/fieldset,
/react/components/flex,
/react/components/grid,
/react/components/heading,
/react/components/highlightmatch,
/react/components/icon,
/react/components/image,
/react/components/input,
/react/components/label,
/react/components/link,
/react/components/loader,
/react/components/menu,
/react/components/message,
/react/components/pagination,
/react/components/passwordfield,
/react/components/phonenumberfield,
/react/components/placeholder,
/react/components/radiogroupfield,
/react/components/rating,
/react/components/scrollview,
/react/components/searchfield,
/react/components/selectfield,
/react/components/sliderfield,
/react/components/stepperfield,
/react/components/switchfield,
/react/components/table,
/react/components/tabs,
/react/components/text,
/react/components/textareafield,
/react/components/textfield,
/react/components/togglebutton,
/react/components/view,
/react/components/visuallyhidden,
/react/connected-components/account-settings,
/react/connected-components/account-settings/change-password,
/react/connected-components/account-settings/delete-user,
/react/connected-components/authenticator,
/react/connected-components/authenticator/advanced,
/react/connected-components/authenticator/configuration,
/react/connected-components/authenticator/customization,
/react/connected-components/geo,
/react/connected-components/in-app-messaging,
/react/connected-components/liveness,
/react/connected-components/liveness/customization,
/react/connected-components/liveness/troubleshooting,
/react/connected-components/storage,
/react/connected-components/storage/storageimage,
/react/connected-components/storage/storagemanager,
/react/getting-started/accessibility,
/react/getting-started/figma,
/react/getting-started/installation,
/react/getting-started/internationalization,
/react/getting-started/introduction,
/react/getting-started/migration,
/react/getting-started/troubleshooting,
/react/getting-started/usage,
/react/getting-started/usage/nextjs,
/react/getting-started/usage/vite,
/react/guides,
/react/guides/auth-protected,
/react/guides/css-in-js,
/react/theming,
/react/theming/css-variables,
/react/theming/dark-mode,
/react/theming/default-theme,
/react/theming/default-theme/colors,
/react/theming/default-theme/sizes,
/react/theming/default-theme/typography,
/react/theming/icons,
/react/theming/responsive,
/react/theming/style-props,
/react/theming/theme-provider,
/swift,
/swift/connected-components/authenticator,
/swift/connected-components/authenticator/configuration,
/swift/connected-components/authenticator/customization,
/swift/connected-components/liveness,
/swift/connected-components/liveness/customization,
/swift/connected-components/liveness/troubleshooting,
/swift/getting-started/introduction,
/vue,
/vue/connected-components/authenticator,
/vue/connected-components/authenticator/advanced,
/vue/connected-components/authenticator/configuration,
/vue/connected-components/authenticator/customization,
/vue/getting-started/accessibility,
/vue/getting-started/installation,
/vue/getting-started/introduction,
/vue/getting-started/migration,
/vue/getting-started/troubleshooting,
/vue/getting-started/usage,
/vue/guides/css-in-js,
/vue/theming,
/vue/theming/css-variables,
/vue/theming/dark-mode,
/vue/theming/default-theme,
/vue/theming/default-theme/colors,
/vue/theming/default-theme/sizes,
/vue/theming/default-theme/typography,
/vue/theming/responsive"
"https://localhost:5001/,
https://localhost:5001/android,
https://localhost:5001/android/connected-components/authenticator,
https://localhost:5001/android/connected-components/authenticator/configuration,
https://localhost:5001/android/connected-components/authenticator/customization,
https://localhost:5001/android/connected-components/liveness,
https://localhost:5001/android/connected-components/liveness/customization,
https://localhost:5001/android/connected-components/liveness/troubleshooting,
https://localhost:5001/android/getting-started/installation,
https://localhost:5001/android/getting-started/introduction,
https://localhost:5001/angular,
https://localhost:5001/angular/connected-components/authenticator,
https://localhost:5001/angular/connected-components/authenticator/advanced,
https://localhost:5001/angular/connected-components/authenticator/configuration,
https://localhost:5001/angular/connected-components/authenticator/customization,
https://localhost:5001/angular/getting-started/accessibility,
https://localhost:5001/angular/getting-started/installation,
https://localhost:5001/angular/getting-started/introduction,
https://localhost:5001/angular/getting-started/migration,
https://localhost:5001/angular/getting-started/troubleshooting,
https://localhost:5001/angular/getting-started/usage,
https://localhost:5001/angular/guides/css-in-js,
https://localhost:5001/angular/theming,
https://localhost:5001/angular/theming/css-variables,
https://localhost:5001/angular/theming/dark-mode,
https://localhost:5001/angular/theming/default-theme,
https://localhost:5001/angular/theming/default-theme/colors,
https://localhost:5001/angular/theming/default-theme/sizes,
https://localhost:5001/angular/theming/default-theme/typography,
https://localhost:5001/angular/theming/responsive,
https://localhost:5001/flutter,
https://localhost:5001/flutter/connected-components/authenticator,
https://localhost:5001/flutter/connected-components/authenticator/configuration,
https://localhost:5001/flutter/connected-components/authenticator/customization,
https://localhost:5001/flutter/getting-started/installation,
https://localhost:5001/flutter/getting-started/introduction,
https://localhost:5001/flutter/theming,
https://localhost:5001/flutter/theming/dark-mode,
https://localhost:5001/react,
https://localhost:5001/react-native,
https://localhost:5001/react-native/connected-components/authenticator,
https://localhost:5001/react-native/connected-components/authenticator/advanced,
https://localhost:5001/react-native/connected-components/authenticator/configuration,
https://localhost:5001/react-native/connected-components/authenticator/customization,
https://localhost:5001/react-native/connected-components/in-app-messaging,
https://localhost:5001/react-native/getting-started/installation,
https://localhost:5001/react-native/getting-started/introduction,
https://localhost:5001/react-native/getting-started/usage,
https://localhost:5001/react-native/theming,
https://localhost:5001/react-native/theming/dark-mode,
https://localhost:5001/react/components,
https://localhost:5001/react/components/accordion,
https://localhost:5001/react/components/alert,
https://localhost:5001/react/components/autocomplete,
https://localhost:5001/react/components/badge,
https://localhost:5001/react/components/breadcrumbs,
https://localhost:5001/react/components/button,
https://localhost:5001/react/components/card,
https://localhost:5001/react/components/checkboxfield,
https://localhost:5001/react/components/collection,
https://localhost:5001/react/components/divider,
https://localhost:5001/react/components/dropzone,
https://localhost:5001/react/components/fieldset,
https://localhost:5001/react/components/flex,
https://localhost:5001/react/components/grid,
https://localhost:5001/react/components/heading,
https://localhost:5001/react/components/highlightmatch,
https://localhost:5001/react/components/icon,
https://localhost:5001/react/components/image,
https://localhost:5001/react/components/input,
https://localhost:5001/react/components/label,
https://localhost:5001/react/components/link,
https://localhost:5001/react/components/loader,
https://localhost:5001/react/components/menu,
https://localhost:5001/react/components/message,
https://localhost:5001/react/components/pagination,
https://localhost:5001/react/components/passwordfield,
https://localhost:5001/react/components/phonenumberfield,
https://localhost:5001/react/components/placeholder,
https://localhost:5001/react/components/radiogroupfield,
https://localhost:5001/react/components/rating,
https://localhost:5001/react/components/scrollview,
https://localhost:5001/react/components/searchfield,
https://localhost:5001/react/components/selectfield,
https://localhost:5001/react/components/sliderfield,
https://localhost:5001/react/components/stepperfield,
https://localhost:5001/react/components/switchfield,
https://localhost:5001/react/components/table,
https://localhost:5001/react/components/tabs,
https://localhost:5001/react/components/text,
https://localhost:5001/react/components/textareafield,
https://localhost:5001/react/components/textfield,
https://localhost:5001/react/components/togglebutton,
https://localhost:5001/react/components/view,
https://localhost:5001/react/components/visuallyhidden,
https://localhost:5001/react/connected-components/account-settings,
https://localhost:5001/react/connected-components/account-settings/change-password,
https://localhost:5001/react/connected-components/account-settings/delete-user,
https://localhost:5001/react/connected-components/authenticator,
https://localhost:5001/react/connected-components/authenticator/advanced,
https://localhost:5001/react/connected-components/authenticator/configuration,
https://localhost:5001/react/connected-components/authenticator/customization,
https://localhost:5001/react/connected-components/geo,
https://localhost:5001/react/connected-components/in-app-messaging,
https://localhost:5001/react/connected-components/liveness,
https://localhost:5001/react/connected-components/liveness/customization,
https://localhost:5001/react/connected-components/liveness/troubleshooting,
https://localhost:5001/react/connected-components/storage,
https://localhost:5001/react/connected-components/storage/storageimage,
https://localhost:5001/react/connected-components/storage/storagemanager,
https://localhost:5001/react/getting-started/accessibility,
https://localhost:5001/react/getting-started/figma,
https://localhost:5001/react/getting-started/installation,
https://localhost:5001/react/getting-started/internationalization,
https://localhost:5001/react/getting-started/introduction,
https://localhost:5001/react/getting-started/migration,
https://localhost:5001/react/getting-started/troubleshooting,
https://localhost:5001/react/getting-started/usage,
https://localhost:5001/react/getting-started/usage/nextjs,
https://localhost:5001/react/getting-started/usage/vite,
https://localhost:5001/react/guides,
https://localhost:5001/react/guides/auth-protected,
https://localhost:5001/react/guides/css-in-js,
https://localhost:5001/react/theming,
https://localhost:5001/react/theming/css-variables,
https://localhost:5001/react/theming/dark-mode,
https://localhost:5001/react/theming/default-theme,
https://localhost:5001/react/theming/default-theme/colors,
https://localhost:5001/react/theming/default-theme/sizes,
https://localhost:5001/react/theming/default-theme/typography,
https://localhost:5001/react/theming/icons,
https://localhost:5001/react/theming/responsive,
https://localhost:5001/react/theming/style-props,
https://localhost:5001/react/theming/theme-provider,
https://localhost:5001/swift,
https://localhost:5001/swift/connected-components/authenticator,
https://localhost:5001/swift/connected-components/authenticator/configuration,
https://localhost:5001/swift/connected-components/authenticator/customization,
https://localhost:5001/swift/connected-components/liveness,
https://localhost:5001/swift/connected-components/liveness/customization,
https://localhost:5001/swift/connected-components/liveness/troubleshooting,
https://localhost:5001/swift/getting-started/introduction,
https://localhost:5001/vue,
https://localhost:5001/vue/connected-components/authenticator,
https://localhost:5001/vue/connected-components/authenticator/advanced,
https://localhost:5001/vue/connected-components/authenticator/configuration,
https://localhost:5001/vue/connected-components/authenticator/customization,
https://localhost:5001/vue/getting-started/accessibility,
https://localhost:5001/vue/getting-started/installation,
https://localhost:5001/vue/getting-started/introduction,
https://localhost:5001/vue/getting-started/migration,
https://localhost:5001/vue/getting-started/troubleshooting,
https://localhost:5001/vue/getting-started/usage,
https://localhost:5001/vue/guides/css-in-js,
https://localhost:5001/vue/theming,
https://localhost:5001/vue/theming/css-variables,
https://localhost:5001/vue/theming/dark-mode,
https://localhost:5001/vue/theming/default-theme,
https://localhost:5001/vue/theming/default-theme/colors,
https://localhost:5001/vue/theming/default-theme/sizes,
https://localhost:5001/vue/theming/default-theme/typography,
https://localhost:5001/vue/theming/responsive"
`;
14 changes: 2 additions & 12 deletions docs/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*/
import { Config } from 'jest';

const jestConfig = {
preset: 'ts-jest',
setupFiles: ['./jestEnv.ts'],
transform: {
'^.+\\.(ts|tsx)?$': 'ts-jest',
'^.+\\.(js|jsx)$': 'babel-jest',
},
};
const jestConfig: Config = { preset: 'ts-jest' };

export default jestConfig;
3 changes: 0 additions & 3 deletions docs/jestEnv.ts

This file was deleted.

1 change: 0 additions & 1 deletion docs/next-env.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ module.exports = withNextPluginPreval({
DOCSEARCH_DOCS_APP_ID: process.env.DOCSEARCH_DOCS_APP_ID,
DOCSEARCH_DOCS_API_KEY: process.env.DOCSEARCH_DOCS_API_KEY,
DOCSEARCH_DOCS_INDEX_NAME: process.env.DOCSEARCH_DOCS_INDEX_NAME,
FF_FILEUPLOADER_COMPONENTS_ENABLED:
process.env.FF_FILEUPLOADER_COMPONENTS_ENABLED,
},
// Differentiate pages with frontmatter & layout vs. normal MD(X)
pageExtensions: ['page.mdx', 'page.tsx'],
Expand Down Expand Up @@ -258,13 +256,6 @@ module.exports = withNextPluginPreval({
],
});

// resolve react and react-dom from project node_modules
config.resolve.alias = {
...config.resolve.alias,
react: path.resolve(__dirname, 'node_modules/react'),
'react-dom': path.resolve(__dirname, 'node_modules/react-dom'),
};

return config;
},
});
Loading

0 comments on commit 4dbd41a

Please sign in to comment.