diff --git a/.gitignore b/.gitignore index ca1e88e763..f9e97800eb 100644 --- a/.gitignore +++ b/.gitignore @@ -49,6 +49,10 @@ __ts-tests__/ # .eslintcache +# TypeScript +# +*.tsbuildinfo + # BUCK # buck-out/ diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000000..5c8875a9e1 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,33 @@ +# Build +build/ +dist/ +web-build/ +docs/.cache-loader/ +docs/build/ +docs/dist/ +docs/docs/components/ +docs/public/react-native-paper/ +example/coverage/ +example/dist/ + +# generated docs +docs/5.x/_nav.json +docs/5.x/index.mdx +docs/5.x/docs/_meta.json +docs/5.x/docs/guides/_meta.json +docs/5.x/docs/components/_meta.json +docs/5.x/docs/components/**/_meta.json +docs/6.x/_nav.json +docs/6.x/index.mdx +docs/6.x/docs/_meta.json +docs/6.x/docs/guides/_meta.json +docs/6.x/docs/components/ +docs/src/data/componentDocs6x.json + +# generated by bob +lib/ + +# Expo +example/.expo/ +example/android/ +example/ios/ diff --git a/.prettierrc b/.prettierrc index cbfec3ea55..e687413c41 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,4 @@ - singleQuote: true tabWidth: 2 -trailingComma: "es5" +trailingComma: 'es5' useTabs: false diff --git a/docs/.gitignore b/docs/.gitignore index 9d90495ad6..5cb36e5dac 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -3,10 +3,13 @@ # Production /build +/test-results +/visual/output # Generated files -.docusaurus .cache-loader +/public/llms.txt +/public/react-native-paper # Misc .DS_Store diff --git a/docs/5.x/_nav.json b/docs/5.x/_nav.json new file mode 100644 index 0000000000..3634f9864d --- /dev/null +++ b/docs/5.x/_nav.json @@ -0,0 +1,17 @@ +[ + { + "text": "Guides", + "link": "/docs/guides/getting-started", + "activeMatch": "^/docs/guides/" + }, + { + "text": "Components", + "link": "/docs/components/ActivityIndicator", + "activeMatch": "^/docs/components/" + }, + { + "text": "Showcase", + "link": "/docs/showcase", + "activeMatch": "^/docs/showcase$" + } +] diff --git a/docs/5.x/docs/_meta.json b/docs/5.x/docs/_meta.json new file mode 100644 index 0000000000..9e4ac38659 --- /dev/null +++ b/docs/5.x/docs/_meta.json @@ -0,0 +1,17 @@ +[ + { + "type": "dir-section-header", + "name": "guides", + "label": "Guides" + }, + { + "type": "dir-section-header", + "name": "components", + "label": "Components" + }, + { + "type": "file", + "name": "showcase", + "label": "Showcase" + } +] diff --git a/docs/versioned_docs/version-5.x/components/ActivityIndicator.mdx b/docs/5.x/docs/components/ActivityIndicator.mdx similarity index 58% rename from docs/versioned_docs/version-5.x/components/ActivityIndicator.mdx rename to docs/5.x/docs/components/ActivityIndicator.mdx index 8dcc3efb3c..3595f9e66b 100644 --- a/docs/versioned_docs/version-5.x/components/ActivityIndicator.mdx +++ b/docs/5.x/docs/components/ActivityIndicator.mdx @@ -2,22 +2,19 @@ title: ActivityIndicator --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Activity indicator is used to present progress of some activity in the app. It can be used as a drop-in replacement for the ActivityIndicator shipped with React Native. - - - - - + ## Usage + ```js import * as React from 'react'; import { ActivityIndicator, MD2Colors } from 'react-native-paper'; @@ -29,15 +26,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### animating +### animating
@@ -45,7 +40,7 @@ export default MyComponent;
-### color +### color
@@ -53,7 +48,7 @@ export default MyComponent;
-### size +### size
@@ -61,7 +56,7 @@ export default MyComponent;
-### hidesWhenStopped +### hidesWhenStopped
@@ -69,7 +64,7 @@ export default MyComponent;
-### style +### style
@@ -77,20 +72,19 @@ export default MyComponent;
-### theme +### theme
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Appbar/Appbar.mdx b/docs/5.x/docs/components/Appbar/Appbar.mdx similarity index 74% rename from docs/versioned_docs/version-5.x/components/Appbar/Appbar.mdx rename to docs/5.x/docs/components/Appbar/Appbar.mdx index fdc1adc079..c02ab5dd57 100644 --- a/docs/versioned_docs/version-5.x/components/Appbar/Appbar.mdx +++ b/docs/5.x/docs/components/Appbar/Appbar.mdx @@ -2,11 +2,11 @@ title: Appbar --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display action items in a bar. It can be placed at the top or bottom. The top bar usually contains the screen title, controls such as navigation buttons, menu button etc. @@ -15,14 +15,12 @@ The bottom bar usually provides access to a drawer and up to four actions. By default Appbar uses primary color as a background, in dark theme with `adaptive` mode it will use surface colour instead. See [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more informations - - - - - + ## Usage + ### Top bar + ```js import * as React from 'react'; import { Appbar } from 'react-native-paper'; @@ -40,6 +38,7 @@ export default MyComponent; ``` ### Bottom bar + ```js import * as React from 'react'; import { StyleSheet } from 'react-native'; @@ -99,15 +98,13 @@ const styles = StyleSheet.create({ export default MyComponent; ``` +## Props - ## Props - - + -
-### dark +### dark
@@ -115,7 +112,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -123,7 +120,7 @@ export default MyComponent;
-### mode Available in v5.x with theme version 3 +### mode Available in v5.x with theme version 3
@@ -131,7 +128,7 @@ export default MyComponent;
-### elevated Available in v5.x with theme version 3 +### elevated Available in v5.x with theme version 3
@@ -139,7 +136,7 @@ export default MyComponent;
-### safeAreaInsets +### safeAreaInsets
@@ -147,7 +144,7 @@ export default MyComponent;
-### theme +### theme
@@ -155,20 +152,22 @@ export default MyComponent;
-### style +### style
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Appbar/AppbarAction.mdx b/docs/5.x/docs/components/Appbar/AppbarAction.mdx similarity index 54% rename from docs/versioned_docs/version-5.x/components/Appbar/AppbarAction.mdx rename to docs/5.x/docs/components/Appbar/AppbarAction.mdx index 4bece9c7d2..89de6a56cf 100644 --- a/docs/versioned_docs/version-5.x/components/Appbar/AppbarAction.mdx +++ b/docs/5.x/docs/components/Appbar/AppbarAction.mdx @@ -2,21 +2,18 @@ title: Appbar.Action --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display an action item in the appbar. - - - - - + ## Usage + ```js import * as React from 'react'; import { Appbar } from 'react-native-paper'; @@ -26,24 +23,22 @@ const MORE_ICON = Platform.OS === 'ios' ? 'dots-horizontal' : 'dots-vertical'; const MyComponent = () => ( - - {}} /> - {}} /> + + {}} /> + {}} /> ); export default MyComponent; ``` +## Props - ## Props - - + -
-### color +### color
@@ -51,7 +46,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -59,7 +54,7 @@ export default MyComponent;
-### icon (required) +### icon (required)
@@ -67,7 +62,7 @@ export default MyComponent;
-### size +### size
@@ -75,7 +70,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -83,7 +78,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -91,7 +86,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -99,7 +94,7 @@ export default MyComponent;
-### isLeading Available in v5.x with theme version 3 +### isLeading Available in v5.x with theme version 3
@@ -107,7 +102,7 @@ export default MyComponent;
-### style +### style
@@ -115,7 +110,7 @@ export default MyComponent;
-### ref +### ref
@@ -123,20 +118,22 @@ export default MyComponent;
-### theme +### theme
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Appbar/AppbarBackAction.mdx b/docs/5.x/docs/components/Appbar/AppbarBackAction.mdx similarity index 63% rename from docs/versioned_docs/version-5.x/components/Appbar/AppbarBackAction.mdx rename to docs/5.x/docs/components/Appbar/AppbarBackAction.mdx index be22f972e8..2c4c62fb8c 100644 --- a/docs/versioned_docs/version-5.x/components/Appbar/AppbarBackAction.mdx +++ b/docs/5.x/docs/components/Appbar/AppbarBackAction.mdx @@ -2,21 +2,18 @@ title: Appbar.BackAction --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display a back button in the appbar. - - - - - + ## Usage + ```js import * as React from 'react'; import { Appbar } from 'react-native-paper'; @@ -30,15 +27,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### color +### color
@@ -46,7 +41,7 @@ export default MyComponent;
-### size +### size
@@ -54,7 +49,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -62,7 +57,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -70,7 +65,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -78,7 +73,7 @@ export default MyComponent;
-### style +### style
@@ -86,13 +81,11 @@ export default MyComponent;
-### ref +### ref
- - diff --git a/docs/versioned_docs/version-5.x/components/Appbar/AppbarContent.mdx b/docs/5.x/docs/components/Appbar/AppbarContent.mdx similarity index 57% rename from docs/versioned_docs/version-5.x/components/Appbar/AppbarContent.mdx rename to docs/5.x/docs/components/Appbar/AppbarContent.mdx index 599f95020c..da9975e3e2 100644 --- a/docs/versioned_docs/version-5.x/components/Appbar/AppbarContent.mdx +++ b/docs/5.x/docs/components/Appbar/AppbarContent.mdx @@ -2,43 +2,38 @@ title: Appbar.Content --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display a title and optional subtitle in an appbar. - - - - - + ## Usage + ```js import * as React from 'react'; import { Appbar } from 'react-native-paper'; const MyComponent = () => ( - + ); export default MyComponent; ``` +## Props - ## Props - - + -
-### title (required) +### title (required)
@@ -46,7 +41,7 @@ export default MyComponent;
-### titleStyle +### titleStyle
@@ -54,7 +49,7 @@ export default MyComponent;
-### titleRef +### titleRef
@@ -62,7 +57,7 @@ export default MyComponent;
-### subtitle Deprecated in v5.x +### subtitle Deprecated in v5.x
@@ -70,7 +65,7 @@ export default MyComponent;
-### subtitleStyle Deprecated in v5.x +### subtitleStyle Deprecated in v5.x
@@ -78,7 +73,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -86,7 +81,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -94,7 +89,7 @@ export default MyComponent;
-### color +### color
@@ -102,7 +97,7 @@ export default MyComponent;
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
@@ -110,7 +105,7 @@ export default MyComponent;
-### style +### style
@@ -118,7 +113,7 @@ export default MyComponent;
-### theme +### theme
@@ -126,20 +121,19 @@ export default MyComponent;
-### testID +### testID
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Appbar/AppbarHeader.mdx b/docs/5.x/docs/components/Appbar/AppbarHeader.mdx similarity index 56% rename from docs/versioned_docs/version-5.x/components/Appbar/AppbarHeader.mdx rename to docs/5.x/docs/components/Appbar/AppbarHeader.mdx index 632bc299c8..b05957f6a3 100644 --- a/docs/versioned_docs/version-5.x/components/Appbar/AppbarHeader.mdx +++ b/docs/5.x/docs/components/Appbar/AppbarHeader.mdx @@ -2,22 +2,26 @@ title: Appbar.Header --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to use as a header at the top of the screen. It can contain the screen title, controls such as navigation buttons, menu button etc. - - - - - + ## Usage + ```js import * as React from 'react'; import { Appbar } from 'react-native-paper'; @@ -42,15 +46,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### dark +### dark
@@ -58,7 +60,7 @@ export default MyComponent;
-### statusBarHeight +### statusBarHeight
@@ -66,7 +68,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -74,7 +76,7 @@ export default MyComponent;
-### mode Available in v5.x with theme version 3 +### mode Available in v5.x with theme version 3
@@ -82,7 +84,7 @@ export default MyComponent;
-### elevated Available in v5.x with theme version 3 +### elevated Available in v5.x with theme version 3
@@ -90,7 +92,7 @@ export default MyComponent;
-### theme +### theme
@@ -98,7 +100,7 @@ export default MyComponent;
-### style +### style
@@ -106,20 +108,22 @@ export default MyComponent;
-### testID +### testID
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/5.x/docs/components/Appbar/_meta.json b/docs/5.x/docs/components/Appbar/_meta.json new file mode 100644 index 0000000000..d4243fea02 --- /dev/null +++ b/docs/5.x/docs/components/Appbar/_meta.json @@ -0,0 +1,7 @@ +[ + "Appbar", + "AppbarAction", + "AppbarBackAction", + "AppbarContent", + "AppbarHeader" +] diff --git a/docs/versioned_docs/version-5.x/components/Avatar/AvatarIcon.mdx b/docs/5.x/docs/components/Avatar/AvatarIcon.mdx similarity index 51% rename from docs/versioned_docs/version-5.x/components/Avatar/AvatarIcon.mdx rename to docs/5.x/docs/components/Avatar/AvatarIcon.mdx index 722ce6929b..cead6b3256 100644 --- a/docs/versioned_docs/version-5.x/components/Avatar/AvatarIcon.mdx +++ b/docs/5.x/docs/components/Avatar/AvatarIcon.mdx @@ -2,39 +2,32 @@ title: Avatar.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Avatars can be used to represent people in a graphical way. - - - - - + ## Usage + ```js import * as React from 'react'; import { Avatar } from 'react-native-paper'; -const MyComponent = () => ( - -); +const MyComponent = () => ; ``` +## Props - ## Props - - + -
-### icon (required) +### icon (required)
@@ -42,7 +35,7 @@ const MyComponent = () => (
-### size +### size
@@ -50,7 +43,7 @@ const MyComponent = () => (
-### color +### color
@@ -58,7 +51,7 @@ const MyComponent = () => (
-### style +### style
@@ -66,13 +59,11 @@ const MyComponent = () => (
-### theme +### theme
- - diff --git a/docs/versioned_docs/version-5.x/components/Avatar/AvatarImage.mdx b/docs/5.x/docs/components/Avatar/AvatarImage.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/Avatar/AvatarImage.mdx rename to docs/5.x/docs/components/Avatar/AvatarImage.mdx index a0e58a6c6d..31c3d960e1 100644 --- a/docs/versioned_docs/version-5.x/components/Avatar/AvatarImage.mdx +++ b/docs/5.x/docs/components/Avatar/AvatarImage.mdx @@ -2,21 +2,18 @@ title: Avatar.Image --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Avatars can be used to represent people in a graphical way. - - - - - + ## Usage + ```js import * as React from 'react'; import { Avatar } from 'react-native-paper'; @@ -24,18 +21,16 @@ import { Avatar } from 'react-native-paper'; const MyComponent = () => ( ); -export default MyComponent +export default MyComponent; ``` +## Props - ## Props - - + -
-### source (required) +### source (required)
@@ -43,7 +38,7 @@ export default MyComponent
-### size +### size
@@ -51,7 +46,7 @@ export default MyComponent
-### style +### style
@@ -59,7 +54,7 @@ export default MyComponent
-### onError +### onError
@@ -67,7 +62,7 @@ export default MyComponent
-### onLayout +### onLayout
@@ -75,7 +70,7 @@ export default MyComponent
-### onLoad +### onLoad
@@ -83,7 +78,7 @@ export default MyComponent
-### onLoadEnd +### onLoadEnd
@@ -91,7 +86,7 @@ export default MyComponent
-### onLoadStart +### onLoadStart
@@ -99,7 +94,7 @@ export default MyComponent
-### onProgress +### onProgress
@@ -107,13 +102,11 @@ export default MyComponent
-### theme +### theme
- - diff --git a/docs/versioned_docs/version-5.x/components/Avatar/AvatarText.mdx b/docs/5.x/docs/components/Avatar/AvatarText.mdx similarity index 55% rename from docs/versioned_docs/version-5.x/components/Avatar/AvatarText.mdx rename to docs/5.x/docs/components/Avatar/AvatarText.mdx index 372e41d230..212f688548 100644 --- a/docs/versioned_docs/version-5.x/components/Avatar/AvatarText.mdx +++ b/docs/5.x/docs/components/Avatar/AvatarText.mdx @@ -2,39 +2,32 @@ title: Avatar.Text --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Avatars can be used to represent people in a graphical way. - - - - - + ## Usage + ```js import * as React from 'react'; import { Avatar } from 'react-native-paper'; -const MyComponent = () => ( - -); +const MyComponent = () => ; ``` +## Props - ## Props - - + -
-### label (required) +### label (required)
@@ -42,7 +35,7 @@ const MyComponent = () => (
-### size +### size
@@ -50,7 +43,7 @@ const MyComponent = () => (
-### color +### color
@@ -58,7 +51,7 @@ const MyComponent = () => (
-### style +### style
@@ -66,7 +59,7 @@ const MyComponent = () => (
-### labelStyle +### labelStyle
@@ -74,7 +67,7 @@ const MyComponent = () => (
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
@@ -82,13 +75,11 @@ const MyComponent = () => (
-### theme +### theme
- - diff --git a/docs/5.x/docs/components/Avatar/_meta.json b/docs/5.x/docs/components/Avatar/_meta.json new file mode 100644 index 0000000000..b3967b8318 --- /dev/null +++ b/docs/5.x/docs/components/Avatar/_meta.json @@ -0,0 +1,5 @@ +[ + "AvatarIcon", + "AvatarImage", + "AvatarText" +] diff --git a/docs/5.x/docs/components/Badge.mdx b/docs/5.x/docs/components/Badge.mdx new file mode 100644 index 0000000000..d071c3d8eb --- /dev/null +++ b/docs/5.x/docs/components/Badge.mdx @@ -0,0 +1,99 @@ +--- +title: Badge +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + +Badges are small status descriptors for UI elements. +A badge consists of a small circle, typically containing a number or other short set of characters, that appears in proximity to another object. + + + +## Usage + +```js +import * as React from 'react'; +import { Badge } from 'react-native-paper'; + +const MyComponent = () => 3; + +export default MyComponent; +``` + +## Props + + + +
+ +### visible + +
+ + + +
+ +### children + +
+ + + +
+ +### size + +
+ + + +
+ +### style + +
+ + + +
+ +### ref + +
+ + + +
+ +### theme + +
+ + + + + +## Theme colors + + + + diff --git a/docs/versioned_docs/version-5.x/components/Banner.mdx b/docs/5.x/docs/components/Banner.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/Banner.mdx rename to docs/5.x/docs/components/Banner.mdx index 08e79c42a3..fc54ae6ba4 100644 --- a/docs/versioned_docs/version-5.x/components/Banner.mdx +++ b/docs/5.x/docs/components/Banner.mdx @@ -2,21 +2,18 @@ title: Banner --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Banner displays a prominent message and related actions. - - - - - + ## Usage + ```js import * as React from 'react'; import { Image } from 'react-native'; @@ -38,7 +35,7 @@ const MyComponent = () => { onPress: () => setVisible(false), }, ]} - icon={({size}) => ( + icon={({ size }) => ( { height: size, }} /> - )}> + )} + > There was a problem processing a transaction on your credit card. ); @@ -57,15 +55,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### visible (required) +### visible (required)
@@ -73,7 +69,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -81,7 +77,7 @@ export default MyComponent;
-### icon +### icon
@@ -89,7 +85,7 @@ export default MyComponent;
-### actions +### actions
@@ -97,7 +93,7 @@ export default MyComponent;
-### contentStyle +### contentStyle
@@ -105,7 +101,7 @@ export default MyComponent;
-### elevation Available in v5.x with theme version 3 +### elevation Available in v5.x with theme version 3
@@ -113,7 +109,7 @@ export default MyComponent;
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
@@ -121,7 +117,7 @@ export default MyComponent;
-### style +### style
@@ -129,7 +125,7 @@ export default MyComponent;
-### ref +### ref
@@ -137,7 +133,7 @@ export default MyComponent;
-### theme +### theme
@@ -145,7 +141,7 @@ export default MyComponent;
-### onShowAnimationFinished +### onShowAnimationFinished
@@ -153,20 +149,24 @@ export default MyComponent;
-### onHideAnimationFinished +### onHideAnimationFinished
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/versioned_docs/version-5.x/components/BottomNavigation/BottomNavigation.mdx b/docs/5.x/docs/components/BottomNavigation/BottomNavigation.mdx similarity index 78% rename from docs/versioned_docs/version-5.x/components/BottomNavigation/BottomNavigation.mdx rename to docs/5.x/docs/components/BottomNavigation/BottomNavigation.mdx index 600ae74fe5..3196cf34f1 100644 --- a/docs/versioned_docs/version-5.x/components/BottomNavigation/BottomNavigation.mdx +++ b/docs/5.x/docs/components/BottomNavigation/BottomNavigation.mdx @@ -2,11 +2,11 @@ title: BottomNavigation --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; BottomNavigation provides quick navigation between top-level views of an app with a bottom navigation bar. It is primarily designed for use on mobile. If you want to use the navigation bar only see [`BottomNavigation.Bar`](BottomNavigationBar). @@ -14,13 +14,10 @@ It is primarily designed for use on mobile. If you want to use the navigation ba By default BottomNavigation uses primary color as a background, in dark theme with `adaptive` mode it will use surface colour instead. See [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more information. - - - - - + ## Usage + ```js import * as React from 'react'; import { BottomNavigation, Text } from 'react-native-paper'; @@ -36,10 +33,20 @@ const NotificationsRoute = () => Notifications; const MyComponent = () => { const [index, setIndex] = React.useState(0); const [routes] = React.useState([ - { key: 'music', title: 'Favorites', focusedIcon: 'heart', unfocusedIcon: 'heart-outline'}, + { + key: 'music', + title: 'Favorites', + focusedIcon: 'heart', + unfocusedIcon: 'heart-outline', + }, { key: 'albums', title: 'Albums', focusedIcon: 'album' }, { key: 'recents', title: 'Recents', focusedIcon: 'history' }, - { key: 'notifications', title: 'Notifications', focusedIcon: 'bell', unfocusedIcon: 'bell-outline' }, + { + key: 'notifications', + title: 'Notifications', + focusedIcon: 'bell', + unfocusedIcon: 'bell-outline', + }, ]); const renderScene = BottomNavigation.SceneMap({ @@ -61,15 +68,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### shifting +### shifting
@@ -77,7 +82,7 @@ export default MyComponent;
-### labeled +### labeled
@@ -85,7 +90,7 @@ export default MyComponent;
-### compact +### compact
@@ -93,7 +98,7 @@ export default MyComponent;
-### navigationState (required) +### navigationState (required)
@@ -101,7 +106,7 @@ export default MyComponent;
-### onIndexChange (required) +### onIndexChange (required)
@@ -109,7 +114,7 @@ export default MyComponent;
-### renderScene (required) +### renderScene (required)
@@ -117,7 +122,7 @@ export default MyComponent;
-### renderIcon +### renderIcon
@@ -125,7 +130,7 @@ export default MyComponent;
-### renderLabel +### renderLabel
@@ -133,7 +138,7 @@ export default MyComponent;
-### renderTouchable +### renderTouchable
@@ -141,7 +146,7 @@ export default MyComponent;
-### getAccessibilityLabel +### getAccessibilityLabel
@@ -149,7 +154,7 @@ export default MyComponent;
-### getBadge +### getBadge
@@ -157,7 +162,7 @@ export default MyComponent;
-### getColor +### getColor
@@ -165,7 +170,7 @@ export default MyComponent;
-### getLabelText +### getLabelText
@@ -173,7 +178,7 @@ export default MyComponent;
-### getLazy +### getLazy
@@ -181,7 +186,7 @@ export default MyComponent;
-### getTestID +### getTestID
@@ -189,7 +194,7 @@ export default MyComponent;
-### onTabPress +### onTabPress
@@ -197,7 +202,7 @@ export default MyComponent;
-### onTabLongPress +### onTabLongPress
@@ -205,7 +210,7 @@ export default MyComponent;
-### activeColor +### activeColor
@@ -213,7 +218,7 @@ export default MyComponent;
-### inactiveColor +### inactiveColor
@@ -221,7 +226,7 @@ export default MyComponent;
-### sceneAnimationEnabled +### sceneAnimationEnabled
@@ -229,7 +234,7 @@ export default MyComponent;
-### sceneAnimationType +### sceneAnimationType
@@ -237,7 +242,7 @@ export default MyComponent;
-### sceneAnimationEasing +### sceneAnimationEasing
@@ -245,7 +250,7 @@ export default MyComponent;
-### keyboardHidesNavigationBar +### keyboardHidesNavigationBar
@@ -253,7 +258,7 @@ export default MyComponent;
-### safeAreaInsets +### safeAreaInsets
@@ -261,7 +266,7 @@ export default MyComponent;
-### barStyle +### barStyle
@@ -269,7 +274,7 @@ export default MyComponent;
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
@@ -277,7 +282,7 @@ export default MyComponent;
-### style +### style
@@ -285,7 +290,7 @@ export default MyComponent;
-### activeIndicatorStyle +### activeIndicatorStyle
@@ -293,7 +298,7 @@ export default MyComponent;
-### theme +### theme
@@ -301,13 +306,11 @@ export default MyComponent;
-### testID +### testID
- - diff --git a/docs/5.x/docs/components/BottomNavigation/BottomNavigationBar.mdx b/docs/5.x/docs/components/BottomNavigation/BottomNavigationBar.mdx new file mode 100644 index 0000000000..5bbbb1ea4f --- /dev/null +++ b/docs/5.x/docs/components/BottomNavigation/BottomNavigationBar.mdx @@ -0,0 +1,295 @@ +--- +title: BottomNavigation.Bar +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + +A navigation bar which can easily be integrated with [React Navigation's Bottom Tabs Navigator](https://reactnavigation.org/docs/bottom-tab-navigator/). + + + +## Usage + +### without React Navigation + +```js +import React from 'react'; +import { useState } from 'react'; +import { View } from 'react-native'; +import { BottomNavigation, Text, Provider } from 'react-native-paper'; +import MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons'; + +function HomeScreen() { + return ( + + Home! + + ); +} + +function SettingsScreen() { + return ( + + Settings! + + ); +} + +export default function MyComponent() { + const [index, setIndex] = useState(0); + + const routes = [ + { key: 'home', title: 'Home', icon: 'home' }, + { key: 'settings', title: 'Settings', icon: 'cog' }, + ]; + + const renderScene = ({ route }) => { + switch (route.key) { + case 'home': + return ; + case 'settings': + return ; + default: + return null; + } + }; + + return ( + + {renderScene({ route: routes[index] })} + { + const newIndex = routes.findIndex((r) => r.key === route.key); + if (newIndex !== -1) { + setIndex(newIndex); + } + }} + renderIcon={({ route, color }) => ( + + )} + getLabelText={({ route }) => route.title} + /> + + ); +} +``` + +### with React Navigation + +\n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nconst MyTabs = createBottomTabNavigator({\n screenOptions: {\n animation: 'shift',\n },\n tabBar: ({ navigation, state, descriptors, insets }) => (\n {\n const event = navigation.emit({\n type: 'tabPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (event.defaultPrevented) {\n preventDefault();\n } else {\n navigation.dispatch({\n ...CommonActions.navigate(route.name, route.params),\n target: state.key,\n });\n }\n }}\n renderIcon={({ route, focused, color }) =>\n descriptors[route.key].options.tabBarIcon?.({\n focused,\n color,\n size: 24,\n }) || null\n }\n getLabelText={({ route }) => {\n const { options } = descriptors[route.key];\n const label =\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : typeof options.title === 'string'\n ? options.title\n : route.name;\n\n return label;\n }}\n />\n ),\n screens: {\n Home: {\n screen: HomeScreen,\n options: {\n tabBarIcon: ({ color }) => (\n \n ),\n },\n },\n Settings: {\n screen: SettingsScreen,\n options: {\n tabBarIcon: ({ color }) => (\n \n ),\n },\n },\n },\n});\n\nconst Navigation = createStaticNavigation(MyTabs);\n\nexport default function App() {\n return (\n \n \n \n \n \n );\n}", + dynamic: + "import { Text, View } from 'react-native';\nimport { NavigationContainer, CommonActions } from '@react-navigation/native';\nimport { createBottomTabNavigator } from '@react-navigation/bottom-tabs';\nimport { Provider, BottomNavigation } from 'react-native-paper';\nimport MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons';\n\nfunction HomeScreen() {\n return (\n \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nconst Tab = createBottomTabNavigator();\n\nexport default function App() {\n return (\n \n \n (\n {\n const event = navigation.emit({\n type: 'tabPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (event.defaultPrevented) {\n preventDefault();\n } else {\n navigation.dispatch({\n ...CommonActions.navigate(route.name, route.params),\n target: state.key,\n });\n }\n }}\n renderIcon={({ route, focused, color }) =>\n descriptors[route.key].options.tabBarIcon?.({\n focused,\n color,\n size: 24,\n }) || null\n }\n getLabelText={({ route }) => {\n const { options } = descriptors[route.key];\n const label =\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : typeof options.title === 'string'\n ? options.title\n : route.name;\n\n return label;\n }}\n />\n )}>\n (\n \n ),\n }}\n />\n (\n \n ),\n }}\n />\n \n \n \n );\n}\n", + }, + }} +/> + +## Props + + + +
+ +### shifting + +
+ + + +
+ +### labeled + +
+ + + +
+ +### compact + +
+ + + +
+ +### navigationState (required) + +
+ + + +
+ +### renderIcon + +
+ + + +
+ +### renderLabel + +
+ + + +
+ +### renderTouchable + +
+ + + +
+ +### getAccessibilityLabel + +
+ + + +
+ +### getBadge + +
+ + + +
+ +### getColor + +
+ + + +
+ +### getLabelText + +
+ + + +
+ +### getTestID + +
+ + + +
+ +### onTabPress (required) + +
+ + + +
+ +### onTabLongPress + +
+ + + +
+ +### activeColor + +
+ + + +
+ +### inactiveColor + +
+ + + +
+ +### animationEasing + +
+ + + +
+ +### keyboardHidesNavigationBar + +
+ + + +
+ +### safeAreaInsets + +
+ + + +
+ +### labelMaxFontSizeMultiplier + +
+ + + +
+ +### style + +
+ + + +
+ +### activeIndicatorStyle + +
+ + + +
+ +### theme + +
+ + + +
+ +### testID + +
+ + + + + + + + diff --git a/docs/5.x/docs/components/BottomNavigation/_meta.json b/docs/5.x/docs/components/BottomNavigation/_meta.json new file mode 100644 index 0000000000..94a0b010f3 --- /dev/null +++ b/docs/5.x/docs/components/BottomNavigation/_meta.json @@ -0,0 +1,4 @@ +[ + "BottomNavigation", + "BottomNavigationBar" +] diff --git a/docs/versioned_docs/version-5.x/components/Button/Button.mdx b/docs/5.x/docs/components/Button/Button.mdx similarity index 53% rename from docs/versioned_docs/version-5.x/components/Button/Button.mdx rename to docs/5.x/docs/components/Button/Button.mdx index 8d9f7b8be0..7ffde3a330 100644 --- a/docs/versioned_docs/version-5.x/components/Button/Button.mdx +++ b/docs/5.x/docs/components/Button/Button.mdx @@ -2,21 +2,26 @@ title: Button --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A button is component that the user can press to trigger an action. - - - - - + ## Usage + ```js import * as React from 'react'; import { Button } from 'react-native-paper'; @@ -30,15 +35,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### mode +### mode
@@ -46,7 +49,7 @@ export default MyComponent;
-### dark +### dark
@@ -54,7 +57,7 @@ export default MyComponent;
-### compact +### compact
@@ -62,7 +65,7 @@ export default MyComponent;
-### color Deprecated in v5.x - use `buttonColor` or `textColor` instead. +### color Deprecated in v5.x - use `buttonColor` or `textColor` instead.
@@ -70,7 +73,7 @@ export default MyComponent;
-### buttonColor +### buttonColor
@@ -78,7 +81,7 @@ export default MyComponent;
-### textColor +### textColor
@@ -86,7 +89,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -94,7 +97,7 @@ export default MyComponent;
-### loading +### loading
@@ -102,7 +105,7 @@ export default MyComponent;
-### icon +### icon
@@ -110,7 +113,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -118,7 +121,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -126,7 +129,7 @@ export default MyComponent;
-### uppercase +### uppercase
@@ -134,7 +137,7 @@ export default MyComponent;
-### background +### background
@@ -142,7 +145,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -150,7 +153,7 @@ export default MyComponent;
-### accessibilityHint +### accessibilityHint
@@ -158,7 +161,7 @@ export default MyComponent;
-### accessibilityRole +### accessibilityRole
@@ -166,7 +169,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -174,7 +177,7 @@ export default MyComponent;
-### onPressIn +### onPressIn
@@ -182,7 +185,7 @@ export default MyComponent;
-### onPressOut +### onPressOut
@@ -190,7 +193,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -198,7 +201,7 @@ export default MyComponent;
-### delayLongPress +### delayLongPress
@@ -206,7 +209,7 @@ export default MyComponent;
-### contentStyle +### contentStyle
@@ -214,7 +217,7 @@ export default MyComponent;
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
@@ -222,7 +225,7 @@ export default MyComponent;
-### hitSlop +### hitSlop
@@ -230,7 +233,7 @@ export default MyComponent;
-### style +### style
@@ -238,7 +241,7 @@ export default MyComponent;
-### labelStyle +### labelStyle
@@ -246,7 +249,7 @@ export default MyComponent;
-### theme +### theme
@@ -254,7 +257,7 @@ export default MyComponent;
-### touchableRef +### touchableRef
@@ -262,20 +265,58 @@ export default MyComponent;
-### testID +### testID
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/5.x/docs/components/Button/_meta.json b/docs/5.x/docs/components/Button/_meta.json new file mode 100644 index 0000000000..a6d17d5990 --- /dev/null +++ b/docs/5.x/docs/components/Button/_meta.json @@ -0,0 +1,3 @@ +[ + "Button" +] diff --git a/docs/versioned_docs/version-5.x/components/Card/Card.mdx b/docs/5.x/docs/components/Card/Card.mdx similarity index 58% rename from docs/versioned_docs/version-5.x/components/Card/Card.mdx rename to docs/5.x/docs/components/Card/Card.mdx index b71067b67f..c5eedd570b 100644 --- a/docs/versioned_docs/version-5.x/components/Card/Card.mdx +++ b/docs/5.x/docs/components/Card/Card.mdx @@ -2,30 +2,37 @@ title: Card --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A card is a sheet of material that serves as an entry point to more detailed information. - - - - - + ## Usage + ```js import * as React from 'react'; import { Avatar, Button, Card, Text } from 'react-native-paper'; -const LeftContent = props => +const LeftContent = (props) => ; const MyComponent = () => ( - + Card title Card content @@ -41,15 +48,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### mode +### mode
@@ -57,7 +62,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -65,7 +70,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -73,7 +78,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -81,7 +86,7 @@ export default MyComponent;
-### onPressIn +### onPressIn
@@ -89,7 +94,7 @@ export default MyComponent;
-### onPressOut +### onPressOut
@@ -97,7 +102,7 @@ export default MyComponent;
-### delayLongPress +### delayLongPress
@@ -105,7 +110,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -113,7 +118,7 @@ export default MyComponent;
-### elevation +### elevation
@@ -121,7 +126,7 @@ export default MyComponent;
-### contentStyle +### contentStyle
@@ -129,7 +134,7 @@ export default MyComponent;
-### style +### style
@@ -137,7 +142,7 @@ export default MyComponent;
-### theme +### theme
@@ -145,7 +150,7 @@ export default MyComponent;
-### testID +### testID
@@ -153,20 +158,26 @@ export default MyComponent;
-### accessible +### accessible
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/versioned_docs/version-5.x/components/Card/CardActions.mdx b/docs/5.x/docs/components/Card/CardActions.mdx similarity index 55% rename from docs/versioned_docs/version-5.x/components/Card/CardActions.mdx rename to docs/5.x/docs/components/Card/CardActions.mdx index c4e45b3053..0e0e2cb88a 100644 --- a/docs/versioned_docs/version-5.x/components/Card/CardActions.mdx +++ b/docs/5.x/docs/components/Card/CardActions.mdx @@ -2,21 +2,18 @@ title: Card.Actions --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a list of actions inside a Card. - - - - - + ## Usage + ```js import * as React from 'react'; import { Card, Button } from 'react-native-paper'; @@ -33,15 +30,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -49,7 +44,7 @@ export default MyComponent;
-### style +### style
@@ -57,13 +52,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/versioned_docs/version-5.x/components/Card/CardContent.mdx b/docs/5.x/docs/components/Card/CardContent.mdx similarity index 53% rename from docs/versioned_docs/version-5.x/components/Card/CardContent.mdx rename to docs/5.x/docs/components/Card/CardContent.mdx index 360f352698..8013d61a8d 100644 --- a/docs/versioned_docs/version-5.x/components/Card/CardContent.mdx +++ b/docs/5.x/docs/components/Card/CardContent.mdx @@ -2,21 +2,18 @@ title: Card.Content --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show content inside a Card. - - - - - + ## Usage + ```js import * as React from 'react'; import { Card, Text } from 'react-native-paper'; @@ -33,15 +30,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -49,13 +44,11 @@ export default MyComponent;
-### style +### style
- - diff --git a/docs/5.x/docs/components/Card/CardCover.mdx b/docs/5.x/docs/components/Card/CardCover.mdx new file mode 100644 index 0000000000..258924e9a4 --- /dev/null +++ b/docs/5.x/docs/components/Card/CardCover.mdx @@ -0,0 +1,59 @@ +--- +title: Card.Cover +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + +A component to show a cover image inside a Card. + + + +## Usage + +```js +import * as React from 'react'; +import { Card } from 'react-native-paper'; + +const MyComponent = () => ( + + + +); + +export default MyComponent; +``` + +## Props + +### Image props + + + +
+ +### style + +
+ + + +
+ +### theme + +
+ + + + + + + + diff --git a/docs/versioned_docs/version-5.x/components/Card/CardTitle.mdx b/docs/5.x/docs/components/Card/CardTitle.mdx similarity index 62% rename from docs/versioned_docs/version-5.x/components/Card/CardTitle.mdx rename to docs/5.x/docs/components/Card/CardTitle.mdx index a345dfc22b..d29acd8f3f 100644 --- a/docs/versioned_docs/version-5.x/components/Card/CardTitle.mdx +++ b/docs/5.x/docs/components/Card/CardTitle.mdx @@ -2,21 +2,18 @@ title: Card.Title --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a title, subtitle and an avatar inside a Card. - - - - - + ## Usage + ```js import * as React from 'react'; import { Avatar, Card, IconButton } from 'react-native-paper'; @@ -26,22 +23,22 @@ const MyComponent = () => ( title="Card Title" subtitle="Card Subtitle" left={(props) => } - right={(props) => {}} />} + right={(props) => ( + {}} /> + )} /> ); export default MyComponent; ``` +## Props - ## Props - - + -
-### title (required) +### title (required)
@@ -49,7 +46,7 @@ export default MyComponent;
-### titleStyle +### titleStyle
@@ -57,7 +54,7 @@ export default MyComponent;
-### titleNumberOfLines +### titleNumberOfLines
@@ -65,7 +62,7 @@ export default MyComponent;
-### titleVariant Available in v5.x with theme version 3 +### titleVariant Available in v5.x with theme version 3
@@ -73,7 +70,7 @@ export default MyComponent;
-### subtitle +### subtitle
@@ -81,7 +78,7 @@ export default MyComponent;
-### subtitleStyle +### subtitleStyle
@@ -89,7 +86,7 @@ export default MyComponent;
-### subtitleNumberOfLines +### subtitleNumberOfLines
@@ -97,7 +94,7 @@ export default MyComponent;
-### subtitleVariant Available in v5.x with theme version 3 +### subtitleVariant Available in v5.x with theme version 3
@@ -105,7 +102,7 @@ export default MyComponent;
-### left +### left
@@ -113,7 +110,7 @@ export default MyComponent;
-### leftStyle +### leftStyle
@@ -121,7 +118,7 @@ export default MyComponent;
-### right +### right
@@ -129,7 +126,7 @@ export default MyComponent;
-### rightStyle +### rightStyle
@@ -137,7 +134,7 @@ export default MyComponent;
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
@@ -145,7 +142,7 @@ export default MyComponent;
-### subtitleMaxFontSizeMultiplier +### subtitleMaxFontSizeMultiplier
@@ -153,7 +150,7 @@ export default MyComponent;
-### style +### style
@@ -161,13 +158,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/5.x/docs/components/Card/_meta.json b/docs/5.x/docs/components/Card/_meta.json new file mode 100644 index 0000000000..3b7edb1615 --- /dev/null +++ b/docs/5.x/docs/components/Card/_meta.json @@ -0,0 +1,7 @@ +[ + "Card", + "CardActions", + "CardContent", + "CardCover", + "CardTitle" +] diff --git a/docs/versioned_docs/version-5.x/components/Checkbox/Checkbox.mdx b/docs/5.x/docs/components/Checkbox/Checkbox.mdx similarity index 57% rename from docs/versioned_docs/version-5.x/components/Checkbox/Checkbox.mdx rename to docs/5.x/docs/components/Checkbox/Checkbox.mdx index 717b374aae..469a1a4388 100644 --- a/docs/versioned_docs/version-5.x/components/Checkbox/Checkbox.mdx +++ b/docs/5.x/docs/components/Checkbox/Checkbox.mdx @@ -2,21 +2,25 @@ title: Checkbox --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Checkboxes allow the selection of multiple options from a set. - - - - - + ## Usage + ```js import * as React from 'react'; import { Checkbox } from 'react-native-paper'; @@ -37,15 +41,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### status (required) +### status (required)
@@ -53,7 +55,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -61,7 +63,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -69,7 +71,7 @@ export default MyComponent;
-### uncheckedColor +### uncheckedColor
@@ -77,7 +79,7 @@ export default MyComponent;
-### color +### color
@@ -85,7 +87,7 @@ export default MyComponent;
-### theme +### theme
@@ -93,13 +95,11 @@ export default MyComponent;
-### testID +### testID
- - diff --git a/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxAndroid.mdx b/docs/5.x/docs/components/Checkbox/CheckboxAndroid.mdx similarity index 51% rename from docs/versioned_docs/version-5.x/components/Checkbox/CheckboxAndroid.mdx rename to docs/5.x/docs/components/Checkbox/CheckboxAndroid.mdx index e6ae65e251..08f8502d73 100644 --- a/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxAndroid.mdx +++ b/docs/5.x/docs/components/Checkbox/CheckboxAndroid.mdx @@ -2,33 +2,35 @@ title: Checkbox.Android --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - - - - - - +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + + Checkboxes allow the selection of multiple options from a set. This component follows platform guidelines for Android, but can be used on any platform. +## Props +### TouchableRipple props + - ## Props - ### TouchableRipple props - - -
-### status (required) +### status (required)
@@ -36,7 +38,7 @@ on any platform.
-### disabled +### disabled
@@ -44,7 +46,7 @@ on any platform.
-### onPress +### onPress
@@ -52,7 +54,7 @@ on any platform.
-### uncheckedColor +### uncheckedColor
@@ -60,7 +62,7 @@ on any platform.
-### color +### color
@@ -68,7 +70,7 @@ on any platform.
-### theme +### theme
@@ -76,13 +78,11 @@ on any platform.
-### testID +### testID
- - diff --git a/docs/5.x/docs/components/Checkbox/CheckboxIOS.mdx b/docs/5.x/docs/components/Checkbox/CheckboxIOS.mdx new file mode 100644 index 0000000000..a669c3b08d --- /dev/null +++ b/docs/5.x/docs/components/Checkbox/CheckboxIOS.mdx @@ -0,0 +1,83 @@ +--- +title: Checkbox.IOS +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + + + +Checkboxes allow the selection of multiple options from a set. +This component follows platform guidelines for iOS, but can be used +on any platform. + +## Props + +### TouchableRipple props + + + +
+ +### status (required) + +
+ + + +
+ +### disabled + +
+ + + +
+ +### onPress + +
+ + + +
+ +### color + +
+ + + +
+ +### theme + +
+ + + +
+ +### testID + +
+ + + + + + + + diff --git a/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxItem.mdx b/docs/5.x/docs/components/Checkbox/CheckboxItem.mdx similarity index 72% rename from docs/versioned_docs/version-5.x/components/Checkbox/CheckboxItem.mdx rename to docs/5.x/docs/components/Checkbox/CheckboxItem.mdx index 0ea69cde34..e89ac53743 100644 --- a/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxItem.mdx +++ b/docs/5.x/docs/components/Checkbox/CheckboxItem.mdx @@ -2,19 +2,18 @@ title: Checkbox.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Checkbox.Item allows you to press the whole row (item) instead of only the Checkbox. - - ## Usage + ```js import * as React from 'react'; import { View } from 'react-native'; @@ -29,15 +28,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### status (required) +### status (required)
@@ -45,7 +42,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -53,7 +50,7 @@ export default MyComponent;
-### label (required) +### label (required)
@@ -61,7 +58,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -69,7 +66,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -77,7 +74,7 @@ export default MyComponent;
-### background +### background
@@ -85,7 +82,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -93,7 +90,7 @@ export default MyComponent;
-### uncheckedColor +### uncheckedColor
@@ -101,7 +98,7 @@ export default MyComponent;
-### color +### color
@@ -109,7 +106,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -117,7 +114,7 @@ export default MyComponent;
-### style +### style
@@ -125,7 +122,7 @@ export default MyComponent;
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
@@ -133,7 +130,7 @@ export default MyComponent;
-### labelStyle +### labelStyle
@@ -141,7 +138,7 @@ export default MyComponent;
-### labelVariant Available in v5.x with theme version 3 +### labelVariant Available in v5.x with theme version 3
@@ -149,7 +146,7 @@ export default MyComponent;
-### theme +### theme
@@ -157,7 +154,7 @@ export default MyComponent;
-### testID +### testID
@@ -165,7 +162,7 @@ export default MyComponent;
-### position +### position
@@ -173,7 +170,7 @@ export default MyComponent;
-### mode +### mode
@@ -181,13 +178,11 @@ export default MyComponent;
-### hitSlop +### hitSlop
- - diff --git a/docs/5.x/docs/components/Checkbox/_meta.json b/docs/5.x/docs/components/Checkbox/_meta.json new file mode 100644 index 0000000000..f25fa6d271 --- /dev/null +++ b/docs/5.x/docs/components/Checkbox/_meta.json @@ -0,0 +1,6 @@ +[ + "Checkbox", + "CheckboxAndroid", + "CheckboxIOS", + "CheckboxItem" +] diff --git a/docs/versioned_docs/version-5.x/components/Chip/Chip.mdx b/docs/5.x/docs/components/Chip/Chip.mdx similarity index 66% rename from docs/versioned_docs/version-5.x/components/Chip/Chip.mdx rename to docs/5.x/docs/components/Chip/Chip.mdx index 93d34e3b3f..cb0f4c80f8 100644 --- a/docs/versioned_docs/version-5.x/components/Chip/Chip.mdx +++ b/docs/5.x/docs/components/Chip/Chip.mdx @@ -2,49 +2,52 @@ title: Chip --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Chips are compact elements that can represent inputs, attributes, or actions. They can have an icon or avatar on the left, and a close button icon on the right. They are typically used to: +
    -
  • Present multiple options
  • -
  • Represent attributes active or chosen
  • -
  • Present filter options
  • -
  • Trigger actions related to primary content
  • +
  • Present multiple options
  • +
  • Represent attributes active or chosen
  • +
  • Present filter options
  • +
  • Trigger actions related to primary content
- - - - - + ## Usage + ```js import * as React from 'react'; import { Chip } from 'react-native-paper'; const MyComponent = () => ( - console.log('Pressed')}>Example Chip + console.log('Pressed')}> + Example Chip + ); export default MyComponent; ``` +## Props - ## Props - - + -
-### mode +### mode
@@ -52,7 +55,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -60,7 +63,7 @@ export default MyComponent;
-### icon +### icon
@@ -68,7 +71,7 @@ export default MyComponent;
-### avatar +### avatar
@@ -76,7 +79,7 @@ export default MyComponent;
-### closeIcon +### closeIcon
@@ -84,7 +87,7 @@ export default MyComponent;
-### selected +### selected
@@ -92,7 +95,7 @@ export default MyComponent;
-### selectedColor +### selectedColor
@@ -100,7 +103,7 @@ export default MyComponent;
-### showSelectedOverlay Available in v5.x with theme version 3 +### showSelectedOverlay Available in v5.x with theme version 3
@@ -108,7 +111,7 @@ export default MyComponent;
-### showSelectedCheck +### showSelectedCheck
@@ -116,7 +119,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -124,7 +127,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -132,7 +135,7 @@ export default MyComponent;
-### background +### background
@@ -140,7 +143,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -148,7 +151,7 @@ export default MyComponent;
-### closeIconAccessibilityLabel +### closeIconAccessibilityLabel
@@ -156,7 +159,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -164,7 +167,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -172,7 +175,7 @@ export default MyComponent;
-### onPressIn +### onPressIn
@@ -180,7 +183,7 @@ export default MyComponent;
-### onPressOut +### onPressOut
@@ -188,7 +191,7 @@ export default MyComponent;
-### onClose +### onClose
@@ -196,7 +199,7 @@ export default MyComponent;
-### delayLongPress +### delayLongPress
@@ -204,7 +207,7 @@ export default MyComponent;
-### compact Available in v5.x with theme version 3 +### compact Available in v5.x with theme version 3
@@ -212,7 +215,7 @@ export default MyComponent;
-### elevated Available in v5.x with theme version 3 +### elevated Available in v5.x with theme version 3
@@ -220,7 +223,7 @@ export default MyComponent;
-### textStyle +### textStyle
@@ -228,7 +231,7 @@ export default MyComponent;
-### style +### style
@@ -236,7 +239,7 @@ export default MyComponent;
-### hitSlop +### hitSlop
@@ -244,7 +247,7 @@ export default MyComponent;
-### theme +### theme
@@ -252,7 +255,7 @@ export default MyComponent;
-### testID +### testID
@@ -260,7 +263,7 @@ export default MyComponent;
-### ellipsizeMode +### ellipsizeMode
@@ -268,7 +271,7 @@ export default MyComponent;
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
@@ -276,13 +279,11 @@ export default MyComponent;
-### accessibilityRole +### accessibilityRole
- - diff --git a/docs/5.x/docs/components/Chip/_meta.json b/docs/5.x/docs/components/Chip/_meta.json new file mode 100644 index 0000000000..02eb8c63e5 --- /dev/null +++ b/docs/5.x/docs/components/Chip/_meta.json @@ -0,0 +1,3 @@ +[ + "Chip" +] diff --git a/docs/versioned_docs/version-5.x/components/DataTable/DataTable.mdx b/docs/5.x/docs/components/DataTable/DataTable.mdx similarity index 67% rename from docs/versioned_docs/version-5.x/components/DataTable/DataTable.mdx rename to docs/5.x/docs/components/DataTable/DataTable.mdx index 5a6442ba4e..c5a7790525 100644 --- a/docs/versioned_docs/version-5.x/components/DataTable/DataTable.mdx +++ b/docs/5.x/docs/components/DataTable/DataTable.mdx @@ -2,57 +2,54 @@ title: DataTable --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Data tables allow displaying sets of data. - - - - - + ## Usage + ```js import * as React from 'react'; import { DataTable } from 'react-native-paper'; const MyComponent = () => { - const [page, setPage] = React.useState(0); + const [page, setPage] = React.useState < number > 0; const [numberOfItemsPerPageList] = React.useState([2, 3, 4]); const [itemsPerPage, onItemsPerPageChange] = React.useState( numberOfItemsPerPageList[0] ); const [items] = React.useState([ - { - key: 1, - name: 'Cupcake', - calories: 356, - fat: 16, - }, - { - key: 2, - name: 'Eclair', - calories: 262, - fat: 16, - }, - { - key: 3, - name: 'Frozen yogurt', - calories: 159, - fat: 6, - }, - { - key: 4, - name: 'Gingerbread', - calories: 305, - fat: 3.7, - }, + { + key: 1, + name: 'Cupcake', + calories: 356, + fat: 16, + }, + { + key: 2, + name: 'Eclair', + calories: 262, + fat: 16, + }, + { + key: 3, + name: 'Frozen yogurt', + calories: 159, + fat: 6, + }, + { + key: 4, + name: 'Gingerbread', + calories: 305, + fat: 3.7, + }, ]); const from = page * itemsPerPage; @@ -96,15 +93,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -112,13 +107,11 @@ export default MyComponent;
-### style +### style
- - diff --git a/docs/versioned_docs/version-5.x/components/DataTable/DataTableCell.mdx b/docs/5.x/docs/components/DataTable/DataTableCell.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/DataTable/DataTableCell.mdx rename to docs/5.x/docs/components/DataTable/DataTableCell.mdx index 135b52485a..d01389d5eb 100644 --- a/docs/versioned_docs/version-5.x/components/DataTable/DataTableCell.mdx +++ b/docs/5.x/docs/components/DataTable/DataTableCell.mdx @@ -2,21 +2,18 @@ title: DataTable.Cell --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a single cell inside of a table. - - - - - + ## Usage + ```js import * as React from 'react'; import { DataTable } from 'react-native-paper'; @@ -36,17 +33,18 @@ export default MyComponent; If you want to support multiline text, please use View instead, as multiline text doesn't comply with MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381). +## Props +### TouchableRipple props + - ## Props - ### TouchableRipple props - - -
-### children (required) +### children (required)
@@ -54,7 +52,7 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).
-### numeric +### numeric
@@ -62,7 +60,7 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).
-### onPress +### onPress
@@ -70,7 +68,7 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).
-### style +### style
@@ -78,7 +76,7 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).
-### textStyle +### textStyle
@@ -86,7 +84,7 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
@@ -94,13 +92,11 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).
-### testID +### testID
- - diff --git a/docs/versioned_docs/version-5.x/components/DataTable/DataTableHeader.mdx b/docs/5.x/docs/components/DataTable/DataTableHeader.mdx similarity index 54% rename from docs/versioned_docs/version-5.x/components/DataTable/DataTableHeader.mdx rename to docs/5.x/docs/components/DataTable/DataTableHeader.mdx index e7739956e5..7ba602e8e2 100644 --- a/docs/versioned_docs/version-5.x/components/DataTable/DataTableHeader.mdx +++ b/docs/5.x/docs/components/DataTable/DataTableHeader.mdx @@ -2,21 +2,18 @@ title: DataTable.Header --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display title in table header. - - - - - + ## Usage + ```js import * as React from 'react'; import { DataTable } from 'react-native-paper'; @@ -24,11 +21,7 @@ import { DataTable } from 'react-native-paper'; const MyComponent = () => ( - - Dessert - + Dessert Calories Fat (g) @@ -38,15 +31,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -54,7 +45,7 @@ export default MyComponent;
-### style +### style
@@ -62,13 +53,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/versioned_docs/version-5.x/components/DataTable/DataTablePagination.mdx b/docs/5.x/docs/components/DataTable/DataTablePagination.mdx similarity index 74% rename from docs/versioned_docs/version-5.x/components/DataTable/DataTablePagination.mdx rename to docs/5.x/docs/components/DataTable/DataTablePagination.mdx index 15f4c611fc..75cb47c01c 100644 --- a/docs/versioned_docs/version-5.x/components/DataTable/DataTablePagination.mdx +++ b/docs/5.x/docs/components/DataTable/DataTablePagination.mdx @@ -2,21 +2,18 @@ title: DataTable.Pagination --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show pagination for data table. - - - - - + ## Usage + ```js import * as React from 'react'; import { DataTable } from 'react-native-paper'; @@ -40,12 +37,14 @@ const items = [ const MyComponent = () => { const [page, setPage] = React.useState(0); - const [numberOfItemsPerPage, onItemsPerPageChange] = React.useState(numberOfItemsPerPageList[0]); + const [numberOfItemsPerPage, onItemsPerPageChange] = React.useState( + numberOfItemsPerPageList[0] + ); const from = page * numberOfItemsPerPage; const to = Math.min((page + 1) * numberOfItemsPerPage, items.length); React.useEffect(() => { - setPage(0); + setPage(0); }, [numberOfItemsPerPage]); return ( @@ -53,7 +52,7 @@ const MyComponent = () => { setPage(page)} + onPageChange={(page) => setPage(page)} label={`${from + 1}-${to} of ${items.length}`} showFastPaginationControls numberOfItemsPerPageList={numberOfItemsPerPageList} @@ -68,15 +67,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### page (required) +### page (required)
@@ -84,7 +81,7 @@ export default MyComponent;
-### numberOfPages (required) +### numberOfPages (required)
@@ -92,7 +89,7 @@ export default MyComponent;
-### onPageChange (required) +### onPageChange (required)
@@ -100,7 +97,7 @@ export default MyComponent;
-### showFastPaginationControls +### showFastPaginationControls
@@ -108,7 +105,7 @@ export default MyComponent;
-### paginationControlRippleColor +### paginationControlRippleColor
@@ -116,7 +113,7 @@ export default MyComponent;
-### theme +### theme
@@ -124,7 +121,7 @@ export default MyComponent;
-### numberOfItemsPerPage +### numberOfItemsPerPage
@@ -132,7 +129,7 @@ export default MyComponent;
-### numberOfItemsPerPageList +### numberOfItemsPerPageList
@@ -140,7 +137,7 @@ export default MyComponent;
-### onItemsPerPageChange +### onItemsPerPageChange
@@ -148,7 +145,7 @@ export default MyComponent;
-### dropdownItemRippleColor +### dropdownItemRippleColor
@@ -156,7 +153,7 @@ export default MyComponent;
-### selectPageDropdownRippleColor +### selectPageDropdownRippleColor
@@ -164,7 +161,7 @@ export default MyComponent;
-### selectPageDropdownLabel +### selectPageDropdownLabel
@@ -172,7 +169,7 @@ export default MyComponent;
-### selectPageDropdownAccessibilityLabel +### selectPageDropdownAccessibilityLabel
@@ -180,7 +177,7 @@ export default MyComponent;
-### label +### label
@@ -188,7 +185,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -196,13 +193,11 @@ export default MyComponent;
-### style +### style
- - diff --git a/docs/5.x/docs/components/DataTable/DataTableRow.mdx b/docs/5.x/docs/components/DataTable/DataTableRow.mdx new file mode 100644 index 0000000000..add98252f9 --- /dev/null +++ b/docs/5.x/docs/components/DataTable/DataTableRow.mdx @@ -0,0 +1,86 @@ +--- +title: DataTable.Row +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + +A component to show a single row inside of a table. + + + +## Usage + +```js +import * as React from 'react'; +import { DataTable } from 'react-native-paper'; + +const MyComponent = () => ( + + 1 + 2 + 3 + 4 + +); + +export default MyComponent; +``` + +## Props + +### TouchableRipple props + + + +
+ +### children (required) + +
+ + + +
+ +### onPress + +
+ + + +
+ +### style + +
+ + + +
+ +### theme + +
+ + + +
+ +### pointerEvents + +
+ + + + + + + + diff --git a/docs/versioned_docs/version-5.x/components/DataTable/DataTableTitle.mdx b/docs/5.x/docs/components/DataTable/DataTableTitle.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/DataTable/DataTableTitle.mdx rename to docs/5.x/docs/components/DataTable/DataTableTitle.mdx index 18eb652eae..beb8b7f84b 100644 --- a/docs/versioned_docs/version-5.x/components/DataTable/DataTableTitle.mdx +++ b/docs/5.x/docs/components/DataTable/DataTableTitle.mdx @@ -2,21 +2,18 @@ title: DataTable.Title --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display title in table header. - - - - - + ## Usage + ```js import * as React from 'react'; import { DataTable } from 'react-native-paper'; @@ -24,11 +21,7 @@ import { DataTable } from 'react-native-paper'; const MyComponent = () => ( - - Dessert - + Dessert Calories Fat (g) @@ -38,15 +31,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -54,7 +45,7 @@ export default MyComponent;
-### numeric +### numeric
@@ -62,7 +53,7 @@ export default MyComponent;
-### sortDirection +### sortDirection
@@ -70,7 +61,7 @@ export default MyComponent;
-### numberOfLines +### numberOfLines
@@ -78,7 +69,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -86,7 +77,7 @@ export default MyComponent;
-### style +### style
@@ -94,7 +85,7 @@ export default MyComponent;
-### textStyle +### textStyle
@@ -102,7 +93,7 @@ export default MyComponent;
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
@@ -110,13 +101,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/5.x/docs/components/DataTable/_meta.json b/docs/5.x/docs/components/DataTable/_meta.json new file mode 100644 index 0000000000..aaed448e4d --- /dev/null +++ b/docs/5.x/docs/components/DataTable/_meta.json @@ -0,0 +1,8 @@ +[ + "DataTable", + "DataTableCell", + "DataTableHeader", + "DataTablePagination", + "DataTableRow", + "DataTableTitle" +] diff --git a/docs/versioned_docs/version-5.x/components/Dialog/Dialog.mdx b/docs/5.x/docs/components/Dialog/Dialog.mdx similarity index 66% rename from docs/versioned_docs/version-5.x/components/Dialog/Dialog.mdx rename to docs/5.x/docs/components/Dialog/Dialog.mdx index dd8160a473..2daa359bdd 100644 --- a/docs/versioned_docs/version-5.x/components/Dialog/Dialog.mdx +++ b/docs/5.x/docs/components/Dialog/Dialog.mdx @@ -2,26 +2,29 @@ title: Dialog --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks. -To render the `Dialog` above other components, you'll need to wrap it with the [`Portal`](../Portal) component. +To render the `Dialog` above other components, you'll need to wrap it with the [`Portal`](../Portal/Portal) component. - - - - - + ## Usage + ```js import * as React from 'react'; import { View } from 'react-native'; -import { Button, Dialog, Portal, PaperProvider, Text } from 'react-native-paper'; +import { + Button, + Dialog, + Portal, + PaperProvider, + Text, +} from 'react-native-paper'; const MyComponent = () => { const [visible, setVisible] = React.useState(false); @@ -53,15 +56,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### dismissable +### dismissable
@@ -69,7 +70,7 @@ export default MyComponent;
-### dismissableBackButton +### dismissableBackButton
@@ -77,7 +78,7 @@ export default MyComponent;
-### onDismiss +### onDismiss
@@ -85,7 +86,7 @@ export default MyComponent;
-### visible +### visible
@@ -93,7 +94,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -101,7 +102,7 @@ export default MyComponent;
-### style +### style
@@ -109,7 +110,7 @@ export default MyComponent;
-### theme +### theme
@@ -117,20 +118,21 @@ export default MyComponent;
-### testID +### testID
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Dialog/DialogActions.mdx b/docs/5.x/docs/components/Dialog/DialogActions.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/Dialog/DialogActions.mdx rename to docs/5.x/docs/components/Dialog/DialogActions.mdx index 3102b99ed5..79154eb08a 100644 --- a/docs/versioned_docs/version-5.x/components/Dialog/DialogActions.mdx +++ b/docs/5.x/docs/components/Dialog/DialogActions.mdx @@ -2,21 +2,18 @@ title: Dialog.Actions --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a list of actions in a Dialog. - - - - - + ## Usage + ```js import * as React from 'react'; import { Button, Dialog, Portal } from 'react-native-paper'; @@ -41,15 +38,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -57,7 +52,7 @@ export default MyComponent;
-### style +### style
@@ -65,13 +60,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/versioned_docs/version-5.x/components/Dialog/DialogContent.mdx b/docs/5.x/docs/components/Dialog/DialogContent.mdx similarity index 60% rename from docs/versioned_docs/version-5.x/components/Dialog/DialogContent.mdx rename to docs/5.x/docs/components/Dialog/DialogContent.mdx index 4944c2fb83..df01fc5eba 100644 --- a/docs/versioned_docs/version-5.x/components/Dialog/DialogContent.mdx +++ b/docs/5.x/docs/components/Dialog/DialogContent.mdx @@ -2,21 +2,18 @@ title: Dialog.Content --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show content in a Dialog. - - - - - + ## Usage + ```js import * as React from 'react'; import { Dialog, Portal, Text } from 'react-native-paper'; @@ -40,15 +37,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -56,13 +51,11 @@ export default MyComponent;
-### style +### style
- - diff --git a/docs/versioned_docs/version-5.x/components/Dialog/DialogIcon.mdx b/docs/5.x/docs/components/Dialog/DialogIcon.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/Dialog/DialogIcon.mdx rename to docs/5.x/docs/components/Dialog/DialogIcon.mdx index a1133c8dfd..8320997b6b 100644 --- a/docs/versioned_docs/version-5.x/components/Dialog/DialogIcon.mdx +++ b/docs/5.x/docs/components/Dialog/DialogIcon.mdx @@ -2,22 +2,19 @@ title: Dialog.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; @supported Available in v5.x with theme version 3 A component to show an icon in a Dialog. - - - - - + ## Usage + ```js import * as React from 'react'; import { StyleSheet } from 'react-native'; @@ -45,20 +42,18 @@ const styles = StyleSheet.create({ title: { textAlign: 'center', }, -}) +}); export default MyComponent; ``` +## Props - ## Props - - + -
-### color +### color
@@ -66,7 +61,7 @@ export default MyComponent;
-### icon (required) +### icon (required)
@@ -74,7 +69,7 @@ export default MyComponent;
-### size +### size
@@ -82,20 +77,19 @@ export default MyComponent;
-### theme +### theme
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Dialog/DialogScrollArea.mdx b/docs/5.x/docs/components/Dialog/DialogScrollArea.mdx similarity index 59% rename from docs/versioned_docs/version-5.x/components/Dialog/DialogScrollArea.mdx rename to docs/5.x/docs/components/Dialog/DialogScrollArea.mdx index 197c0f21a8..4bfd363ebe 100644 --- a/docs/versioned_docs/version-5.x/components/Dialog/DialogScrollArea.mdx +++ b/docs/5.x/docs/components/Dialog/DialogScrollArea.mdx @@ -2,22 +2,19 @@ title: Dialog.ScrollArea --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a scrollable content in a Dialog. The component only provides appropriate styling. For the scrollable content you can use `ScrollView`, `FlatList` etc. depending on your requirement. - - - - - + ## Usage + ```js import * as React from 'react'; import { ScrollView } from 'react-native'; @@ -32,7 +29,7 @@ const MyComponent = () => { - + This is a scrollable area @@ -44,15 +41,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -60,7 +55,7 @@ export default MyComponent;
-### style +### style
@@ -68,20 +63,19 @@ export default MyComponent;
-### theme +### theme
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Dialog/DialogTitle.mdx b/docs/5.x/docs/components/Dialog/DialogTitle.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/Dialog/DialogTitle.mdx rename to docs/5.x/docs/components/Dialog/DialogTitle.mdx index ce5816a1d2..9be26eb11e 100644 --- a/docs/versioned_docs/version-5.x/components/Dialog/DialogTitle.mdx +++ b/docs/5.x/docs/components/Dialog/DialogTitle.mdx @@ -2,21 +2,18 @@ title: Dialog.Title --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a title in a Dialog. - - - - - + ## Usage + ```js import * as React from 'react'; import { Dialog, Portal, Text } from 'react-native-paper'; @@ -41,15 +38,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### children (required) +### children (required)
@@ -57,7 +52,7 @@ export default MyComponent;
-### style +### style
@@ -65,13 +60,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/5.x/docs/components/Dialog/_meta.json b/docs/5.x/docs/components/Dialog/_meta.json new file mode 100644 index 0000000000..81373811ab --- /dev/null +++ b/docs/5.x/docs/components/Dialog/_meta.json @@ -0,0 +1,8 @@ +[ + "Dialog", + "DialogActions", + "DialogContent", + "DialogIcon", + "DialogScrollArea", + "DialogTitle" +] diff --git a/docs/5.x/docs/components/Divider.mdx b/docs/5.x/docs/components/Divider.mdx new file mode 100644 index 0000000000..b713e2c1ae --- /dev/null +++ b/docs/5.x/docs/components/Divider.mdx @@ -0,0 +1,87 @@ +--- +title: Divider +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + +A divider is a thin, lightweight separator that groups content in lists and page layouts. + + + +## Usage + +```js +import * as React from 'react'; +import { View } from 'react-native'; +import { Divider, Text } from 'react-native-paper'; + +const MyComponent = () => ( + + Lemon + + Mango + + +); + +export default MyComponent; +``` + +## Props + + + +
+ +### leftInset Renamed from 'inset' to 'leftInset` in v5.x + +
+ + + +
+ +### horizontalInset Available in v5.x with theme version 3 + +
+ + + +
+ +### bold Available in v5.x with theme version 3 + +
+ + + +
+ +### style + +
+ + + +
+ +### theme + +
+ + + + + +## Theme colors + + + + diff --git a/docs/versioned_docs/version-5.x/components/Drawer/DrawerCollapsedItem.mdx b/docs/5.x/docs/components/Drawer/DrawerCollapsedItem.mdx similarity index 56% rename from docs/versioned_docs/version-5.x/components/Drawer/DrawerCollapsedItem.mdx rename to docs/5.x/docs/components/Drawer/DrawerCollapsedItem.mdx index 50cb419c33..810fe2f811 100644 --- a/docs/versioned_docs/version-5.x/components/Drawer/DrawerCollapsedItem.mdx +++ b/docs/5.x/docs/components/Drawer/DrawerCollapsedItem.mdx @@ -2,23 +2,20 @@ title: Drawer.CollapsedItem --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Note: Available in v5.x with theme version 3 Collapsed component used to show an action item with an icon and optionally label in a navigation drawer. - - - - - + ## Usage + ```js import * as React from 'react'; import { Drawer } from 'react-native-paper'; @@ -34,15 +31,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### label +### label
@@ -50,7 +45,7 @@ export default MyComponent;
-### badge +### badge
@@ -58,7 +53,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -66,7 +61,7 @@ export default MyComponent;
-### focusedIcon Renamed from 'icon' to 'focusedIcon' in v5.x +### focusedIcon Renamed from 'icon' to 'focusedIcon' in v5.x
@@ -74,7 +69,7 @@ export default MyComponent;
-### unfocusedIcon Renamed from 'icon' to 'focusedIcon' in v5.x +### unfocusedIcon Renamed from 'icon' to 'focusedIcon' in v5.x
@@ -82,7 +77,7 @@ export default MyComponent;
-### active +### active
@@ -90,7 +85,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -98,7 +93,7 @@ export default MyComponent;
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
@@ -106,7 +101,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -114,7 +109,7 @@ export default MyComponent;
-### style +### style
@@ -122,7 +117,7 @@ export default MyComponent;
-### theme +### theme
@@ -130,20 +125,29 @@ export default MyComponent;
-### testID +### testID
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/versioned_docs/version-5.x/components/Drawer/DrawerItem.mdx b/docs/5.x/docs/components/Drawer/DrawerItem.mdx similarity index 61% rename from docs/versioned_docs/version-5.x/components/Drawer/DrawerItem.mdx rename to docs/5.x/docs/components/Drawer/DrawerItem.mdx index 4c21ff2b33..d54d7bc5e0 100644 --- a/docs/versioned_docs/version-5.x/components/Drawer/DrawerItem.mdx +++ b/docs/5.x/docs/components/Drawer/DrawerItem.mdx @@ -2,21 +2,18 @@ title: Drawer.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to show an action item with an icon and a label in a navigation drawer. - - - - - + ## Usage + ```js import * as React from 'react'; import { Drawer } from 'react-native-paper'; @@ -32,15 +29,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### label (required) +### label (required)
@@ -48,7 +43,7 @@ export default MyComponent;
-### icon +### icon
@@ -56,7 +51,7 @@ export default MyComponent;
-### active +### active
@@ -64,7 +59,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -72,7 +67,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -80,7 +75,7 @@ export default MyComponent;
-### background +### background
@@ -88,7 +83,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -96,7 +91,7 @@ export default MyComponent;
-### right +### right
@@ -104,7 +99,7 @@ export default MyComponent;
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
@@ -112,7 +107,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -120,7 +115,7 @@ export default MyComponent;
-### hitSlop +### hitSlop
@@ -128,7 +123,7 @@ export default MyComponent;
-### style +### style
@@ -136,20 +131,25 @@ export default MyComponent;
-### theme +### theme
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/versioned_docs/version-5.x/components/Drawer/DrawerSection.mdx b/docs/5.x/docs/components/Drawer/DrawerSection.mdx similarity index 62% rename from docs/versioned_docs/version-5.x/components/Drawer/DrawerSection.mdx rename to docs/5.x/docs/components/Drawer/DrawerSection.mdx index 351e8bb5c9..c7d7510f77 100644 --- a/docs/versioned_docs/version-5.x/components/Drawer/DrawerSection.mdx +++ b/docs/5.x/docs/components/Drawer/DrawerSection.mdx @@ -2,21 +2,18 @@ title: Drawer.Section --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to group content inside a navigation drawer. - - - - - + ## Usage + ```js import * as React from 'react'; import { Drawer } from 'react-native-paper'; @@ -43,15 +40,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### title +### title
@@ -59,7 +54,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -67,7 +62,7 @@ export default MyComponent;
-### showDivider +### showDivider
@@ -75,7 +70,7 @@ export default MyComponent;
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
@@ -83,7 +78,7 @@ export default MyComponent;
-### style +### style
@@ -91,20 +86,19 @@ export default MyComponent;
-### theme +### theme
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/5.x/docs/components/Drawer/_meta.json b/docs/5.x/docs/components/Drawer/_meta.json new file mode 100644 index 0000000000..0099a35f77 --- /dev/null +++ b/docs/5.x/docs/components/Drawer/_meta.json @@ -0,0 +1,5 @@ +[ + "DrawerCollapsedItem", + "DrawerItem", + "DrawerSection" +] diff --git a/docs/versioned_docs/version-5.x/components/FAB/AnimatedFAB.mdx b/docs/5.x/docs/components/FAB/AnimatedFAB.mdx similarity index 67% rename from docs/versioned_docs/version-5.x/components/FAB/AnimatedFAB.mdx rename to docs/5.x/docs/components/FAB/AnimatedFAB.mdx index 9cd723ce16..363ec41f2c 100644 --- a/docs/versioned_docs/version-5.x/components/FAB/AnimatedFAB.mdx +++ b/docs/5.x/docs/components/FAB/AnimatedFAB.mdx @@ -2,21 +2,18 @@ title: AnimatedFAB --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; An animated, extending horizontally floating action button represents the primary action in an application. - - - - - + ## Usage + ```js import React from 'react'; import { @@ -89,15 +86,13 @@ const styles = StyleSheet.create({ }); ``` +## Props - ## Props - - + -
-### icon (required) +### icon (required)
@@ -105,7 +100,7 @@ const styles = StyleSheet.create({
-### label (required) +### label (required)
@@ -113,7 +108,7 @@ const styles = StyleSheet.create({
-### uppercase +### uppercase
@@ -121,7 +116,7 @@ const styles = StyleSheet.create({
-### background +### background
@@ -129,7 +124,7 @@ const styles = StyleSheet.create({
-### accessibilityLabel +### accessibilityLabel
@@ -137,7 +132,7 @@ const styles = StyleSheet.create({
-### accessibilityState +### accessibilityState
@@ -145,7 +140,7 @@ const styles = StyleSheet.create({
-### color +### color
@@ -153,7 +148,7 @@ const styles = StyleSheet.create({
-### rippleColor +### rippleColor
@@ -161,7 +156,7 @@ const styles = StyleSheet.create({
-### disabled +### disabled
@@ -169,7 +164,7 @@ const styles = StyleSheet.create({
-### visible +### visible
@@ -177,7 +172,7 @@ const styles = StyleSheet.create({
-### onPress +### onPress
@@ -185,7 +180,7 @@ const styles = StyleSheet.create({
-### onLongPress +### onLongPress
@@ -193,7 +188,7 @@ const styles = StyleSheet.create({
-### delayLongPress +### delayLongPress
@@ -201,7 +196,7 @@ const styles = StyleSheet.create({
-### iconMode +### iconMode
@@ -209,7 +204,7 @@ const styles = StyleSheet.create({
-### animateFrom +### animateFrom
@@ -217,7 +212,7 @@ const styles = StyleSheet.create({
-### extended +### extended
@@ -225,7 +220,7 @@ const styles = StyleSheet.create({
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
@@ -233,7 +228,7 @@ const styles = StyleSheet.create({
-### variant Available in v5.x with theme version 3 +### variant Available in v5.x with theme version 3
@@ -241,7 +236,7 @@ const styles = StyleSheet.create({
-### style +### style
@@ -249,7 +244,7 @@ const styles = StyleSheet.create({
-### hitSlop +### hitSlop
@@ -257,7 +252,7 @@ const styles = StyleSheet.create({
-### theme +### theme
@@ -265,20 +260,40 @@ const styles = StyleSheet.create({
-### testID +### testID
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/versioned_docs/version-5.x/components/FAB/FAB.mdx b/docs/5.x/docs/components/FAB/FAB.mdx similarity index 52% rename from docs/versioned_docs/version-5.x/components/FAB/FAB.mdx rename to docs/5.x/docs/components/FAB/FAB.mdx index 87844b9b2b..71e55c0553 100644 --- a/docs/versioned_docs/version-5.x/components/FAB/FAB.mdx +++ b/docs/5.x/docs/components/FAB/FAB.mdx @@ -2,32 +2,32 @@ title: FAB --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A floating action button represents the primary action on a screen. It appears in front of all screen content. - - - - - + ## Usage + ```js import * as React from 'react'; import { StyleSheet } from 'react-native'; import { FAB } from 'react-native-paper'; const MyComponent = () => ( - console.log('Pressed')} - /> + console.log('Pressed')} /> ); const styles = StyleSheet.create({ @@ -37,20 +37,18 @@ const styles = StyleSheet.create({ right: 0, bottom: 0, }, -}) +}); export default MyComponent; ``` +## Props - ## Props - - + -
-### icon +### icon
@@ -58,7 +56,7 @@ export default MyComponent;
-### label +### label
@@ -66,7 +64,7 @@ export default MyComponent;
-### uppercase +### uppercase
@@ -74,7 +72,7 @@ export default MyComponent;
-### background +### background
@@ -82,7 +80,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -90,7 +88,7 @@ export default MyComponent;
-### accessibilityState +### accessibilityState
@@ -98,7 +96,7 @@ export default MyComponent;
-### animated +### animated
@@ -106,7 +104,7 @@ export default MyComponent;
-### small Deprecated in v.5x - use prop size="small". +### small Deprecated in v.5x - use prop size="small".
@@ -114,7 +112,7 @@ export default MyComponent;
-### color +### color
@@ -122,7 +120,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -130,7 +128,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -138,7 +136,7 @@ export default MyComponent;
-### visible +### visible
@@ -146,7 +144,7 @@ export default MyComponent;
-### loading +### loading
@@ -154,7 +152,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -162,7 +160,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -170,7 +168,7 @@ export default MyComponent;
-### delayLongPress +### delayLongPress
@@ -178,7 +176,7 @@ export default MyComponent;
-### size Available in v5.x with theme version 3 +### size Available in v5.x with theme version 3
@@ -186,7 +184,7 @@ export default MyComponent;
-### customSize +### customSize
@@ -194,7 +192,7 @@ export default MyComponent;
-### mode Available in v5.x with theme version 3 +### mode Available in v5.x with theme version 3
@@ -202,7 +200,7 @@ export default MyComponent;
-### variant Available in v5.x with theme version 3 +### variant Available in v5.x with theme version 3
@@ -210,7 +208,7 @@ export default MyComponent;
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
@@ -218,7 +216,7 @@ export default MyComponent;
-### style +### style
@@ -226,7 +224,7 @@ export default MyComponent;
-### theme +### theme
@@ -234,7 +232,7 @@ export default MyComponent;
-### testID +### testID
@@ -242,20 +240,40 @@ export default MyComponent;
-### ref +### ref
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/versioned_docs/version-5.x/components/FAB/FABGroup.mdx b/docs/5.x/docs/components/FAB/FABGroup.mdx similarity index 75% rename from docs/versioned_docs/version-5.x/components/FAB/FABGroup.mdx rename to docs/5.x/docs/components/FAB/FABGroup.mdx index 56cbdc2799..bf10f759b3 100644 --- a/docs/versioned_docs/version-5.x/components/FAB/FABGroup.mdx +++ b/docs/5.x/docs/components/FAB/FABGroup.mdx @@ -2,22 +2,19 @@ title: FAB.Group --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display a stack of FABs with related actions in a speed dial. -To render the group above other components, you'll need to wrap it with the [`Portal`](../Portal) component. +To render the group above other components, you'll need to wrap it with the [`Portal`](../Portal/Portal) component. - - - - - + ## Usage + ```js import * as React from 'react'; import { FAB, Portal, PaperProvider } from 'react-native-paper'; @@ -69,15 +66,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### actions (required) +### actions (required)
@@ -85,7 +80,7 @@ export default MyComponent;
-### icon (required) +### icon (required)
@@ -93,7 +88,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -101,7 +96,7 @@ export default MyComponent;
-### color +### color
@@ -109,7 +104,7 @@ export default MyComponent;
-### backdropColor +### backdropColor
@@ -117,7 +112,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -125,7 +120,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -133,7 +128,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -141,7 +136,7 @@ export default MyComponent;
-### toggleStackOnLongPress +### toggleStackOnLongPress
@@ -149,7 +144,7 @@ export default MyComponent;
-### delayLongPress +### delayLongPress
@@ -157,7 +152,7 @@ export default MyComponent;
-### enableLongPressWhenStackOpened +### enableLongPressWhenStackOpened
@@ -165,7 +160,7 @@ export default MyComponent;
-### open (required) +### open (required)
@@ -173,7 +168,7 @@ export default MyComponent;
-### onStateChange (required) +### onStateChange (required)
@@ -181,7 +176,7 @@ export default MyComponent;
-### visible (required) +### visible (required)
@@ -189,7 +184,7 @@ export default MyComponent;
-### style +### style
@@ -197,7 +192,7 @@ export default MyComponent;
-### fabStyle +### fabStyle
@@ -205,7 +200,7 @@ export default MyComponent;
-### variant Available in v5.x with theme version 3 +### variant Available in v5.x with theme version 3
@@ -213,7 +208,7 @@ export default MyComponent;
-### theme +### theme
@@ -221,7 +216,7 @@ export default MyComponent;
-### label +### label
@@ -229,13 +224,11 @@ export default MyComponent;
-### testID +### testID
- - diff --git a/docs/5.x/docs/components/FAB/_meta.json b/docs/5.x/docs/components/FAB/_meta.json new file mode 100644 index 0000000000..57c6fd81f3 --- /dev/null +++ b/docs/5.x/docs/components/FAB/_meta.json @@ -0,0 +1,5 @@ +[ + "AnimatedFAB", + "FAB", + "FABGroup" +] diff --git a/docs/versioned_docs/version-5.x/components/HelperText/HelperText.mdx b/docs/5.x/docs/components/HelperText/HelperText.mdx similarity index 61% rename from docs/versioned_docs/version-5.x/components/HelperText/HelperText.mdx rename to docs/5.x/docs/components/HelperText/HelperText.mdx index e62893bec8..5de4479130 100644 --- a/docs/versioned_docs/version-5.x/components/HelperText/HelperText.mdx +++ b/docs/5.x/docs/components/HelperText/HelperText.mdx @@ -2,21 +2,18 @@ title: HelperText --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Helper text is used in conjuction with input elements to provide additional hints for the user. - - - - - + ## Usage + ```js import * as React from 'react'; import { View } from 'react-native'; @@ -25,13 +22,13 @@ import { HelperText, TextInput } from 'react-native-paper'; const MyComponent = () => { const [text, setText] = React.useState(''); - const onChangeText = text => setText(text); + const onChangeText = (text) => setText(text); const hasErrors = () => { return !text.includes('@'); }; - return ( + return ( @@ -44,15 +41,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### type +### type
@@ -60,7 +55,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -68,7 +63,7 @@ export default MyComponent;
-### visible +### visible
@@ -76,7 +71,7 @@ export default MyComponent;
-### padding +### padding
@@ -84,7 +79,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -92,7 +87,7 @@ export default MyComponent;
-### style +### style
@@ -100,7 +95,7 @@ export default MyComponent;
-### theme +### theme
@@ -108,20 +103,23 @@ export default MyComponent;
-### testID +### testID
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/5.x/docs/components/HelperText/_meta.json b/docs/5.x/docs/components/HelperText/_meta.json new file mode 100644 index 0000000000..869755ba04 --- /dev/null +++ b/docs/5.x/docs/components/HelperText/_meta.json @@ -0,0 +1,3 @@ +[ + "HelperText" +] diff --git a/docs/versioned_docs/version-5.x/components/Icon.mdx b/docs/5.x/docs/components/Icon.mdx similarity index 52% rename from docs/versioned_docs/version-5.x/components/Icon.mdx rename to docs/5.x/docs/components/Icon.mdx index 4e0b46b75a..2cc563998c 100644 --- a/docs/versioned_docs/version-5.x/components/Icon.mdx +++ b/docs/5.x/docs/components/Icon.mdx @@ -2,45 +2,36 @@ title: Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; An icon component which renders icon from vector library. - - - - - + ## Usage + ```js import * as React from 'react'; import { Icon, MD3Colors } from 'react-native-paper'; const MyComponent = () => ( - + ); export default MyComponent; ``` +## Props - ## Props - - + -
-### size (required) +### size (required)
@@ -48,7 +39,7 @@ export default MyComponent;
-### allowFontScaling +### allowFontScaling
@@ -56,7 +47,7 @@ export default MyComponent;
-### source (required) +### source (required)
@@ -64,7 +55,7 @@ export default MyComponent;
-### color +### color
@@ -72,7 +63,7 @@ export default MyComponent;
-### testID +### testID
@@ -80,13 +71,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/5.x/docs/components/IconButton/IconButton.mdx b/docs/5.x/docs/components/IconButton/IconButton.mdx new file mode 100644 index 0000000000..68fee19aeb --- /dev/null +++ b/docs/5.x/docs/components/IconButton/IconButton.mdx @@ -0,0 +1,241 @@ +--- +title: IconButton +--- + +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; + +An icon button is a button which displays only an icon without a label. + + + +## Usage + +```js +import * as React from 'react'; +import { IconButton, MD3Colors } from 'react-native-paper'; + +const MyComponent = () => ( + console.log('Pressed')} + /> +); + +export default MyComponent; +``` + +## Props + +### TouchableRipple props + + + +
+ +### icon (required) + +
+ + + +
+ +### mode Available in v5.x with theme version 3 + +
+ + + +
+ +### iconColor Renamed from 'color' to 'iconColor' in v5.x + +
+ + + +
+ +### containerColor + +
+ + + +
+ +### rippleColor + +
+ + + +
+ +### selected Available in v5.x with theme version 3 + +
+ + + +
+ +### size + +
+ + + +
+ +### disabled + +
+ + + +
+ +### animated + +
+ + + +
+ +### accessibilityLabel + +
+ + + +
+ +### contentStyle + +
+ + + +
+ +### onPress + +
+ + + +
+ +### style + +
+ + + +
+ +### ref + +
+ + + +
+ +### testID + +
+ + + +
+ +### theme + +
+ + + +
+ +### loading + +
+ + + + + +## Theme colors + + + + diff --git a/docs/5.x/docs/components/IconButton/_meta.json b/docs/5.x/docs/components/IconButton/_meta.json new file mode 100644 index 0000000000..00d733ae01 --- /dev/null +++ b/docs/5.x/docs/components/IconButton/_meta.json @@ -0,0 +1,3 @@ +[ + "IconButton" +] diff --git a/docs/versioned_docs/version-5.x/components/List/ListAccordion.mdx b/docs/5.x/docs/components/List/ListAccordion.mdx similarity index 71% rename from docs/versioned_docs/version-5.x/components/List/ListAccordion.mdx rename to docs/5.x/docs/components/List/ListAccordion.mdx index fe07c5fa13..6258e15ec9 100644 --- a/docs/versioned_docs/version-5.x/components/List/ListAccordion.mdx +++ b/docs/5.x/docs/components/List/ListAccordion.mdx @@ -2,21 +2,24 @@ title: List.Accordion --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display an expandable list item. - - - - - + ## Usage + ```js import * as React from 'react'; import { List } from 'react-native-paper'; @@ -30,16 +33,18 @@ const MyComponent = () => { }> + left={(props) => } + > } + left={(props) => } expanded={expanded} - onPress={handlePress}> + onPress={handlePress} + > @@ -50,15 +55,13 @@ const MyComponent = () => { export default MyComponent; ``` +## Props - ## Props - - + -
-### title (required) +### title (required)
@@ -66,7 +69,7 @@ export default MyComponent;
-### description +### description
@@ -74,7 +77,7 @@ export default MyComponent;
-### left +### left
@@ -82,7 +85,7 @@ export default MyComponent;
-### right +### right
@@ -90,7 +93,7 @@ export default MyComponent;
-### expanded +### expanded
@@ -98,7 +101,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -106,7 +109,7 @@ export default MyComponent;
-### onLongPress +### onLongPress
@@ -114,7 +117,7 @@ export default MyComponent;
-### delayLongPress +### delayLongPress
@@ -122,7 +125,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -130,7 +133,7 @@ export default MyComponent;
-### theme +### theme
@@ -138,7 +141,7 @@ export default MyComponent;
-### background +### background
@@ -146,7 +149,7 @@ export default MyComponent;
-### style +### style
@@ -154,7 +157,7 @@ export default MyComponent;
-### containerStyle +### containerStyle
@@ -162,7 +165,7 @@ export default MyComponent;
-### contentStyle +### contentStyle
@@ -170,7 +173,7 @@ export default MyComponent;
-### titleStyle +### titleStyle
@@ -178,7 +181,7 @@ export default MyComponent;
-### descriptionStyle +### descriptionStyle
@@ -186,7 +189,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -194,7 +197,7 @@ export default MyComponent;
-### titleNumberOfLines +### titleNumberOfLines
@@ -202,7 +205,7 @@ export default MyComponent;
-### descriptionNumberOfLines +### descriptionNumberOfLines
@@ -210,7 +213,7 @@ export default MyComponent;
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
@@ -218,7 +221,7 @@ export default MyComponent;
-### descriptionMaxFontSizeMultiplier +### descriptionMaxFontSizeMultiplier
@@ -226,7 +229,7 @@ export default MyComponent;
-### id +### id
@@ -234,7 +237,7 @@ export default MyComponent;
-### testID +### testID
@@ -242,7 +245,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -250,7 +253,7 @@ export default MyComponent;
-### pointerEvents +### pointerEvents
@@ -258,13 +261,11 @@ export default MyComponent;
-### hitSlop +### hitSlop
- - diff --git a/docs/versioned_docs/version-5.x/components/List/ListAccordionGroup.mdx b/docs/5.x/docs/components/List/ListAccordionGroup.mdx similarity index 71% rename from docs/versioned_docs/version-5.x/components/List/ListAccordionGroup.mdx rename to docs/5.x/docs/components/List/ListAccordionGroup.mdx index 412999538f..426430129c 100644 --- a/docs/versioned_docs/version-5.x/components/List/ListAccordionGroup.mdx +++ b/docs/5.x/docs/components/List/ListAccordionGroup.mdx @@ -2,23 +2,20 @@ title: List.AccordionGroup --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; List.AccordionGroup allows to control a group of List Accordions. `id` prop for List.Accordion is required in order for group to work. List.AccordionGroup can be a controlled or uncontrolled component. The example shows the uncontrolled version. At most one Accordion can be expanded at a given time. - - - - - + ## Usage + ```js import * as React from 'react'; import { View, Text } from 'react-native'; @@ -46,15 +43,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### onAccordionPress +### onAccordionPress
@@ -62,7 +57,7 @@ export default MyComponent;
-### expandedId +### expandedId
@@ -70,13 +65,11 @@ export default MyComponent;
-### children (required) +### children (required)
- - diff --git a/docs/versioned_docs/version-5.x/components/List/ListIcon.mdx b/docs/5.x/docs/components/List/ListIcon.mdx similarity index 60% rename from docs/versioned_docs/version-5.x/components/List/ListIcon.mdx rename to docs/5.x/docs/components/List/ListIcon.mdx index a55b0b6ed4..78ae13ec48 100644 --- a/docs/versioned_docs/version-5.x/components/List/ListIcon.mdx +++ b/docs/5.x/docs/components/List/ListIcon.mdx @@ -2,21 +2,18 @@ title: List.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show an icon in a list item. - - - - - + ## Usage + ```js import * as React from 'react'; import { List, MD3Colors } from 'react-native-paper'; @@ -32,15 +29,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### icon (required) +### icon (required)
@@ -48,7 +43,7 @@ export default MyComponent;
-### color +### color
@@ -56,7 +51,7 @@ export default MyComponent;
-### style +### style
@@ -64,13 +59,11 @@ export default MyComponent;
-### theme +### theme
- - diff --git a/docs/versioned_docs/version-5.x/components/List/ListItem.mdx b/docs/5.x/docs/components/List/ListItem.mdx similarity index 62% rename from docs/versioned_docs/version-5.x/components/List/ListItem.mdx rename to docs/5.x/docs/components/List/ListItem.mdx index 05de6ad884..7720440943 100644 --- a/docs/versioned_docs/version-5.x/components/List/ListItem.mdx +++ b/docs/5.x/docs/components/List/ListItem.mdx @@ -2,21 +2,24 @@ title: List.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show tiles inside a List. - - - - - + ## Usage + ```js import * as React from 'react'; import { List } from 'react-native-paper'; @@ -25,24 +28,25 @@ const MyComponent = () => ( } + left={(props) => } /> ); export default MyComponent; ``` +## Props +### TouchableRipple props + - ## Props - ### TouchableRipple props - - -
-### title (required) +### title (required)
@@ -50,7 +54,7 @@ export default MyComponent;
-### description +### description
@@ -58,7 +62,7 @@ export default MyComponent;
-### left +### left
@@ -66,7 +70,7 @@ export default MyComponent;
-### right +### right
@@ -74,7 +78,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -82,7 +86,7 @@ export default MyComponent;
-### theme +### theme
@@ -90,7 +94,7 @@ export default MyComponent;
-### style +### style
@@ -98,7 +102,7 @@ export default MyComponent;
-### containerStyle +### containerStyle
@@ -106,7 +110,7 @@ export default MyComponent;
-### contentStyle +### contentStyle
@@ -114,7 +118,7 @@ export default MyComponent;
-### titleStyle +### titleStyle
@@ -122,7 +126,7 @@ export default MyComponent;
-### descriptionStyle +### descriptionStyle
@@ -130,7 +134,7 @@ export default MyComponent;
-### titleNumberOfLines +### titleNumberOfLines
@@ -138,7 +142,7 @@ export default MyComponent;
-### descriptionNumberOfLines +### descriptionNumberOfLines
@@ -146,7 +150,7 @@ export default MyComponent;
-### titleEllipsizeMode +### titleEllipsizeMode
@@ -154,7 +158,7 @@ export default MyComponent;
-### descriptionEllipsizeMode +### descriptionEllipsizeMode
@@ -162,7 +166,7 @@ export default MyComponent;
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
@@ -170,7 +174,7 @@ export default MyComponent;
-### descriptionMaxFontSizeMultiplier +### descriptionMaxFontSizeMultiplier
@@ -178,13 +182,11 @@ export default MyComponent;
-### testID +### testID
- - diff --git a/docs/versioned_docs/version-5.x/components/List/ListSection.mdx b/docs/5.x/docs/components/List/ListSection.mdx similarity index 64% rename from docs/versioned_docs/version-5.x/components/List/ListSection.mdx rename to docs/5.x/docs/components/List/ListSection.mdx index da8154c360..918091af2e 100644 --- a/docs/versioned_docs/version-5.x/components/List/ListSection.mdx +++ b/docs/5.x/docs/components/List/ListSection.mdx @@ -2,21 +2,18 @@ title: List.Section --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to group list items. - - - - - + ## Usage + ```js import * as React from 'react'; import { List, MD3Colors } from 'react-native-paper'; @@ -35,15 +32,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### title +### title
@@ -51,7 +46,7 @@ export default MyComponent;
-### children (required) +### children (required)
@@ -59,7 +54,7 @@ export default MyComponent;
-### theme +### theme
@@ -67,7 +62,7 @@ export default MyComponent;
-### titleStyle +### titleStyle
@@ -75,13 +70,11 @@ export default MyComponent;
-### style +### style
- - diff --git a/docs/versioned_docs/version-6.x/components/List/ListSubheader.mdx b/docs/5.x/docs/components/List/ListSubheader.mdx similarity index 58% rename from docs/versioned_docs/version-6.x/components/List/ListSubheader.mdx rename to docs/5.x/docs/components/List/ListSubheader.mdx index a5f507ec34..ad4a0ec57f 100644 --- a/docs/versioned_docs/version-6.x/components/List/ListSubheader.mdx +++ b/docs/5.x/docs/components/List/ListSubheader.mdx @@ -2,19 +2,18 @@ title: List.Subheader --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display a header in lists. - - ## Usage + ```js import * as React from 'react'; import { List } from 'react-native-paper'; @@ -24,15 +23,13 @@ const MyComponent = () => My List Title; export default MyComponent; ``` +## Props - ## Props - - + -
-### theme +### theme
@@ -40,7 +37,7 @@ export default MyComponent;
-### style +### style
@@ -48,13 +45,11 @@ export default MyComponent;
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- - diff --git a/docs/5.x/docs/components/List/_meta.json b/docs/5.x/docs/components/List/_meta.json new file mode 100644 index 0000000000..4ba864114c --- /dev/null +++ b/docs/5.x/docs/components/List/_meta.json @@ -0,0 +1,8 @@ +[ + "ListAccordion", + "ListAccordionGroup", + "ListIcon", + "ListItem", + "ListSection", + "ListSubheader" +] diff --git a/docs/versioned_docs/version-5.x/components/Menu/Menu.mdx b/docs/5.x/docs/components/Menu/Menu.mdx similarity index 72% rename from docs/versioned_docs/version-5.x/components/Menu/Menu.mdx rename to docs/5.x/docs/components/Menu/Menu.mdx index 995ce12f46..0793840260 100644 --- a/docs/versioned_docs/version-5.x/components/Menu/Menu.mdx +++ b/docs/5.x/docs/components/Menu/Menu.mdx @@ -2,21 +2,23 @@ title: Menu --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Menus display a list of choices on temporary elevated surfaces. Their placement varies based on the element that opens them. - - - - - + ## Usage + ```js import * as React from 'react'; import { View } from 'react-native'; @@ -36,11 +38,13 @@ const MyComponent = () => { paddingTop: 50, flexDirection: 'row', justifyContent: 'center', - }}> + }} + > Show menu}> + anchor={} + > {}} title="Item 1" /> {}} title="Item 2" /> @@ -55,19 +59,18 @@ export default MyComponent; ``` ### Note + When using `Menu` within a React Native's `Modal` component, you need to wrap all `Modal` contents within a `PaperProvider` in order for the menu to show. This wrapping is not necessary if you use Paper's `Modal` instead. +## Props - ## Props - - + -
-### visible (required) +### visible (required)
@@ -75,7 +78,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### anchor (required) +### anchor (required)
@@ -83,7 +86,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### anchorPosition +### anchorPosition
@@ -91,7 +94,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### statusBarHeight +### statusBarHeight
@@ -99,7 +102,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### onDismiss +### onDismiss
@@ -107,7 +110,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### overlayAccessibilityLabel +### overlayAccessibilityLabel
@@ -115,7 +118,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### children (required) +### children (required)
@@ -123,7 +126,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### contentStyle +### contentStyle
@@ -131,7 +134,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### style +### style
@@ -139,7 +142,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### elevation +### elevation
@@ -147,7 +150,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### mode +### mode
@@ -155,7 +158,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### theme +### theme
@@ -163,7 +166,7 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### keyboardShouldPersistTaps +### keyboardShouldPersistTaps
@@ -171,20 +174,21 @@ wrapping is not necessary if you use Paper's `Modal` instead.
-### testID +### testID
- - +## Theme colors - ## Theme colors - - - + diff --git a/docs/versioned_docs/version-5.x/components/Menu/MenuItem.mdx b/docs/5.x/docs/components/Menu/MenuItem.mdx similarity index 56% rename from docs/versioned_docs/version-5.x/components/Menu/MenuItem.mdx rename to docs/5.x/docs/components/Menu/MenuItem.mdx index 4a2cfcec58..aa663294b0 100644 --- a/docs/versioned_docs/version-5.x/components/Menu/MenuItem.mdx +++ b/docs/5.x/docs/components/Menu/MenuItem.mdx @@ -2,21 +2,18 @@ title: Menu.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a single list item inside a Menu. - - - - - + ## Usage + ```js import * as React from 'react'; import { View } from 'react-native'; @@ -26,8 +23,18 @@ const MyComponent = () => ( {}} title="Redo" /> {}} title="Undo" /> - {}} title="Cut" disabled /> - {}} title="Copy" disabled /> + {}} + title="Cut" + disabled + /> + {}} + title="Copy" + disabled + /> {}} title="Paste" /> ); @@ -35,15 +42,13 @@ const MyComponent = () => ( export default MyComponent; ``` +## Props - ## Props - - + -
-### title (required) +### title (required)
@@ -51,7 +56,7 @@ export default MyComponent;
-### leadingIcon Renamed from 'icon' to 'leadingIcon' in v5.x +### leadingIcon Renamed from 'icon' to 'leadingIcon' in v5.x
@@ -59,7 +64,7 @@ export default MyComponent;
-### trailingIcon Available in v5.x with theme version 3 +### trailingIcon Available in v5.x with theme version 3
@@ -67,7 +72,7 @@ export default MyComponent;
-### disabled +### disabled
@@ -75,7 +80,7 @@ export default MyComponent;
-### dense Available in v5.x with theme version 3 +### dense Available in v5.x with theme version 3
@@ -83,7 +88,7 @@ export default MyComponent;
-### background +### background
@@ -91,7 +96,7 @@ export default MyComponent;
-### onPress +### onPress
@@ -99,7 +104,7 @@ export default MyComponent;
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
@@ -107,7 +112,7 @@ export default MyComponent;
-### style +### style
@@ -115,7 +120,7 @@ export default MyComponent;
-### containerStyle +### containerStyle
@@ -123,7 +128,7 @@ export default MyComponent;
-### contentStyle +### contentStyle
@@ -131,7 +136,7 @@ export default MyComponent;
-### titleStyle +### titleStyle
@@ -139,7 +144,7 @@ export default MyComponent;
-### rippleColor +### rippleColor
@@ -147,7 +152,7 @@ export default MyComponent;
-### theme +### theme
@@ -155,7 +160,7 @@ export default MyComponent;
-### hitSlop +### hitSlop
@@ -163,7 +168,7 @@ export default MyComponent;
-### testID +### testID
@@ -171,7 +176,7 @@ export default MyComponent;
-### accessibilityLabel +### accessibilityLabel
@@ -179,20 +184,28 @@ export default MyComponent;
-### accessibilityState +### accessibilityState
- - - - ## Theme colors - - - +## Theme colors + + diff --git a/docs/5.x/docs/components/Menu/_meta.json b/docs/5.x/docs/components/Menu/_meta.json new file mode 100644 index 0000000000..50192eb25e --- /dev/null +++ b/docs/5.x/docs/components/Menu/_meta.json @@ -0,0 +1,4 @@ +[ + "Menu", + "MenuItem" +] diff --git a/docs/versioned_docs/version-5.x/components/Modal.mdx b/docs/5.x/docs/components/Modal.mdx similarity index 62% rename from docs/versioned_docs/version-5.x/components/Modal.mdx rename to docs/5.x/docs/components/Modal.mdx index 31684b84c0..7a1f5c8a18 100644 --- a/docs/versioned_docs/version-5.x/components/Modal.mdx +++ b/docs/5.x/docs/components/Modal.mdx @@ -2,23 +2,20 @@ title: Modal --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; The Modal component is a simple way to present content above an enclosing view. -To render the `Modal` above other components, you'll need to wrap it with the [`Portal`](./Portal) component. +To render the `Modal` above other components, you'll need to wrap it with the [`Portal`](./Portal/Portal) component. Note that this modal is NOT accessible by default; if you need an accessible modal, please use the React Native Modal. - - - - - + ## Usage + ```js import * as React from 'react'; import { Modal, Portal, Text, Button, PaperProvider } from 'react-native-paper'; @@ -33,8 +30,12 @@ const MyComponent = () => { return ( - - Example Modal. Click outside this area to dismiss. + + Example Modal. Click outside this area to dismiss. @@ -343,23 +341,21 @@ The `Card` component's property `mode` has been expanded with one additional opt Since there is no one right way to make a card, there is also no one right way for specifying a title and subtitle variant. Therefore two new props come in handy: -* `titleVariant` - title text variant defines appropriate text styles for type role and its size. -* `subtitleVariant` - subtitle text variant defines appropriate text styles for type role and its size. +- `titleVariant` - title text variant defines appropriate text styles for type role and its size. +- `subtitleVariant` - subtitle text variant defines appropriate text styles for type role and its size. ```js - + ``` ### Checkbox + #### Checkbox.Item `Checkbox.Item` similarly to `RadioButton.Item` has been expanded with the prop called `labelVariant`, which defines appropriate text styles for type role and its size. ```js - ``` @@ -368,18 +364,24 @@ Since there is no one right way to make a card, there is also no one right way f To properly compose `Chip` component and adjust into required type, there are three new props that will come in handy: -* `compact` - sets smaller horizontal paddings around the label, useful for `Chip` containing only the label, -* `elevated` - indicating whether `Chip` should be elevated, -* `showSelectedOverlay` - defining whether to display an overlay on a selected button. +- `compact` - sets smaller horizontal paddings around the label, useful for `Chip` containing only the label, +- `elevated` - indicating whether `Chip` should be elevated, +- `showSelectedOverlay` - defining whether to display an overlay on a selected button. ```js <> Compact Chip - Elevated Chip - Chip with selected overlay + + Elevated Chip + + + Chip with selected overlay + ``` + ### Dialog + #### Dialog.Icon `Dialog.Icon` is another freshly added component presenting an icon within a `Dialog`, placed at the top of the content. @@ -395,12 +397,13 @@ It's working only with theme version 3.
``` + ### Divider `Divider` component received two new props: -* `bold` - divider is bolded, -* `horizontalInset` - divider has horizontal insets on both sides. +- `bold` - divider is bolded, +- `horizontalInset` - divider has horizontal insets on both sides. Additionally prop `inset` was renamed to `leftInset`. @@ -410,6 +413,7 @@ Additionally prop `inset` was renamed to `leftInset`. ``` ### Drawer + #### Drawer.CollapsedItem (Navigation rail) `Drawer.CollapsedItem` is a newly created side navigation component that can be used within `Drawer`, representing a destination in the form of an action item with an icon and optionally label. @@ -456,15 +460,15 @@ With the latest version, there is a possibility to specify whether `Drawer.Secti `FAB`, `AnimatedFAB` and `FAB.Group` in the latest version can be used with four variants and two modes, thanks to two new props: -* `variant` defines color mappings variant for combinations of container and icon colors. Can be one of: primary (default), secondary, tertiary or surface. +- `variant` defines color mappings variant for combinations of container and icon colors. Can be one of: primary (default), secondary, tertiary or surface. ```js ``` -* `mode` specifies whether a button should be flat or elevated: - - `flat` - button without a shadow, - - `elevated` - button with a shadow. +- `mode` specifies whether a button should be flat or elevated: + - `flat` - button without a shadow, + - `elevated` - button with a shadow. ```js @@ -472,11 +476,11 @@ With the latest version, there is a possibility to specify whether `Drawer.Secti #### FAB -Additionaly `FAB` may be applied in one of three available sizes, thanks to new prop `size`: +Additionaly `FAB` may be applied in one of three available sizes, thanks to new prop `size`: -* `small` - FAB with small height (40), -* `medium` - Appbar with default medium height (56), -* `large` - Appbar with large height (96). +- `small` - FAB with small height (40), +- `medium` - Appbar with default medium height (56), +- `large` - Appbar with large height (96). ```js @@ -504,7 +508,7 @@ There is also deprecation in one of the `actions` properties, namely `small` pro + ``` -Additionally, the action item property previously known as `labelStyle` was renamed to `containerStyle` since it's tied mostly with the container styles. At the same time, `labelStyle` is still available with the new role related to styling item label. +Additionally, the action item property previously known as `labelStyle` was renamed to `containerStyle` since it's tied mostly with the container styles. At the same time, `labelStyle` is still available with the new role related to styling item label. ```diff - @@ -515,13 +519,13 @@ Additionally, the action item property previously known as `labelStyle` was rena `IconButton` received two new props: -* `selected` sets alternative combination of icon and container color, +- `selected` sets alternative combination of icon and container color, ```js ``` -* `containerColor` custom background color of the icon container. +- `containerColor` custom background color of the icon container. ```js @@ -535,12 +539,13 @@ At the same time, the `color` prop was renamed to `iconColor`. ``` ### Menu + #### Menu.Item `Menu.Item` received two new props: -* `dense` sets smaller item height for more condensed layout, -* `trailingIcon` which handles displaying an icon at the end of the item row. +- `dense` sets smaller item height for more condensed layout, +- `trailingIcon` which handles displaying an icon at the end of the item row. ```js @@ -554,46 +559,47 @@ At the same time, by analogy to the second new prop, the `icon` prop was renamed ``` ### RadioButton + ##### RadioButton.Item `RadioButton.Item` has been expanded with the prop called `labelVariant`, which defines appropriate text styles for type role and its size. ```js - ``` ### SegmentedButtons -`SegmentedButtons` is a completely new component introduced in the latest version. It allows people to select options, switch views, or sort elements. It supports single and multiselect select variant and provide a lot +`SegmentedButtons` is a completely new component introduced in the latest version. It allows people to select options, switch views, or sort elements. It supports single and multiselect select variant and provide a lot of customization options. -![segmentedButtons](../../../static/screenshots/segmentedbuttons.gif) +![segmentedButtons](/react-native-paper/screenshots/segmentedbuttons.gif) ```js const MyComponent = () => { const [value, setValue] = React.useState(''); return ( - + ); }; ``` @@ -602,14 +608,15 @@ const MyComponent = () => { `Snackbar` due to the optional close affordance, in form of `IconButton` (located on the right side of action button), received three new props: -* `icon` - icon to display when `onIconPress` is defined. Default will be `close` icon. -* `onIconPress` - function to execute on icon button press. The icon button appears only when this prop is specified. -* `iconAccessibilityLabel` - accessibility label for the icon button. +- `icon` - icon to display when `onIconPress` is defined. Default will be `close` icon. +- `onIconPress` - function to execute on icon button press. The icon button appears only when this prop is specified. +- `iconAccessibilityLabel` - accessibility label for the icon button. ### Surface `Surface` component received one new prop: -* `elevation` - accepts values from `0` to `5` and applies background color and shadows to the `Surface` component. Supports both iOS and Android. + +- `elevation` - accepts values from `0` to `5` and applies background color and shadows to the `Surface` component. Supports both iOS and Android. Previously `elevation` was passed inside the `style` prop. Since it supported not only Android, but also iOS, we decided to extract it from `style` and create a separate `elevation` prop for that. @@ -619,9 +626,10 @@ Previously `elevation` was passed inside the `style` prop. Since it supported no ``` ### TextInput + #### TextInput.Icon -The property `name` was renamed to `icon`, since the scope and type of that prop is much wider than just the icon name – it accepts also the function which receives an object with color and size properties and +The property `name` was renamed to `icon`, since the scope and type of that prop is much wider than just the icon name – it accepts also the function which receives an object with color and size properties and ```diff - @@ -632,8 +640,7 @@ The property `name` was renamed to `icon`, since the scope and type of that prop Component displayed upon tapping and holding a screen element or component used to present an informative text label identifying an element, such as a description of its function. -![tooltip](../../../static/screenshots/tooltips.gif) - +![tooltip](/react-native-paper/screenshots/tooltips.gif) ```js @@ -645,8 +652,9 @@ Component displayed upon tapping and holding a screen element or component used With this, that’s a wrap. -The update wouldn't happen without a group of great React Native experts I'm happy to work with. +The update wouldn't happen without a group of great React Native experts I'm happy to work with. From this place I would like to thank: + - [Daniel Szczepanik](https://github.com/Drakeoon) for his commitment, effort and collaborative work on adjusting components, - [Olimpia Zurek](https://github.com/OlimpiaZurek) for her contribution and help, - [Aleksandra Desmurs-Linczewska](https://github.com/p-syche), [Jan Jaworski](https://github.com/jaworek) and [Kewin Wereszczyński](https://github.com/kwereszczynski) for checking and testing changes as well as providing valuable feedback, diff --git a/docs/versioned_docs/version-5.x/guides/05-react-native-web.md b/docs/5.x/docs/guides/react-native-web.md similarity index 100% rename from docs/versioned_docs/version-5.x/guides/05-react-native-web.md rename to docs/5.x/docs/guides/react-native-web.md diff --git a/docs/versioned_docs/version-5.x/guides/09-react-navigation.md b/docs/5.x/docs/guides/react-navigation.md similarity index 92% rename from docs/versioned_docs/version-5.x/guides/09-react-navigation.md rename to docs/5.x/docs/guides/react-navigation.md index d9227cfb2b..04a3a9ae1e 100644 --- a/docs/versioned_docs/version-5.x/guides/09-react-navigation.md +++ b/docs/5.x/docs/guides/react-navigation.md @@ -6,14 +6,14 @@ title: Integrate AppBar with React Navigation ## Prerequisites - - `react-native-paper` - - `react-navigation` - +- `react-native-paper` +- `react-navigation` + We assume that you have already installed the mentioned libraries above, otherwise please check out the guides below. - - [React Native Paper - Getting Started](https://callstack.github.io/react-native-paper/docs/guides/getting-started) - - [React Navigation - Getting Started](https://reactnavigation.org/docs/getting-started/) + +[React Native Paper - Getting Started](https://callstack.github.io/react-native-paper/docs/guides/getting-started) + +[React Navigation - Getting Started](https://reactnavigation.org/docs/getting-started/) ## Stack Navigator @@ -46,7 +46,7 @@ At the moment our navigation stack contains two screens and will render `HomeScr ```js import React from 'react'; -import {View, Text, Button, StyleSheet} from 'react-native'; +import { View, Text, Button, StyleSheet } from 'react-native'; function HomeScreen() { return ( @@ -120,7 +120,8 @@ export default function App() { initialRouteName="Home" screenOptions={{ header: (props) => , - }}> + }} + > @@ -169,7 +170,12 @@ In order to achieve it, we firstly check, if the navigation bar receives a `back import { Appbar } from 'react-native-paper'; import { getHeaderTitle } from '@react-navigation/elements'; -export default function CustomNavigationBar({ navigation, route, options, back }) { +export default function CustomNavigationBar({ + navigation, + route, + options, + back, +}) { const title = getHeaderTitle(options, route.name); return ( @@ -186,6 +192,7 @@ export default function CustomNavigationBar({ navigation, route, options, back } ### Adding more items to `Appbar` Another interesting pattern that can be implemented with `react-native-paper` and `react-navigation` is a "menu" button. Thanks to the `Menu` component we can add a nice looking pop-up to our `Appbar`. To implement this feature we need to make a couple of changes in `CustomNavigationBar`: + - Render a `Menu` component - Pass `Appbar.Action` to the anchor prop - Add a state to control `Menu` visibility @@ -204,13 +211,15 @@ import { PaperProvider } from 'react-native-paper'; initialRouteName="Home" screenOptions={{ header: (props) => , - }}> + }} + > - +; ``` + ::: We also want the menu to appear only on `HomeScreen`, which means we will render it conditionally based on the `back` prop. @@ -240,12 +249,8 @@ export default function CustomNavigationBar({ - }> + anchor={} + > { console.log('Option 1 was pressed'); @@ -276,6 +281,6 @@ Final result: -That's all we need! We have app bar that contains everything we need to navigate through screens and access an additional menu on the main screen. As you can see, with Material design `Appbar` provided by `react-native-paper` used together with `react-navigation` we can easily create an app that looks and works great. +That's all we need! We have app bar that contains everything we need to navigate through screens and access an additional menu on the main screen. As you can see, with Material design `Appbar` provided by `react-native-paper` used together with `react-navigation` we can easily create an app that looks and works great. Grab the Expo [snack](https://snack.expo.dev/@react-native-paper/integrate-appbar-with-react-navigation) if you want to check the whole code! diff --git a/docs/versioned_docs/version-5.x/guides/06-recommended-libraries.md b/docs/5.x/docs/guides/recommended-libraries.md similarity index 96% rename from docs/versioned_docs/version-5.x/guides/06-recommended-libraries.md rename to docs/5.x/docs/guides/recommended-libraries.md index e70157ca1d..076dfb6871 100644 --- a/docs/versioned_docs/version-5.x/guides/06-recommended-libraries.md +++ b/docs/5.x/docs/guides/recommended-libraries.md @@ -24,17 +24,19 @@ An implementation of the [bottom sheet behaviour](https://material.io/design/com [gorhom/react-native-bottom-sheet](https://github.com/gorhom/react-native-bottom-sheet) An implementation of the [bottom sheet behaviour](https://material.io/design/components/sheets-bottom.html), maintained by [@Gorhom](https://twitter.com/Gorhom). - ## Date Picker + [web-ridge/react-native-paper-dates](https://github.com/web-ridge/react-native-paper-dates) Material Design themed [date picker](https://material.io/components/date-pickers), maintained by [@RichardLindhout](https://twitter.com/RichardLindhout) - + [react-native-community/react-native-datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) ## Time Picker + [web-ridge/react-native-paper-dates](https://github.com/web-ridge/react-native-paper-dates) -Material Design themed [time picker](https://material.io/components/time-pickers), maintained by [@RichardLindhout](https://twitter.com/RichardLindhout) +Material Design themed [time picker](https://material.io/components/time-pickers), maintained by [@RichardLindhout](https://twitter.com/RichardLindhout) ## System Colors + [pchmn/expo-material3-theme](https://github.com/pchmn/expo-material3-theme) -Retrieve Material 3 system colors from Android 12+ devices \ No newline at end of file +Retrieve Material 3 system colors from Android 12+ devices diff --git a/docs/versioned_docs/version-6.x/guides/11-ripple-effect.md b/docs/5.x/docs/guides/ripple-effect.md similarity index 99% rename from docs/versioned_docs/version-6.x/guides/11-ripple-effect.md rename to docs/5.x/docs/guides/ripple-effect.md index 31845060d7..e6f6e503ef 100644 --- a/docs/versioned_docs/version-6.x/guides/11-ripple-effect.md +++ b/docs/5.x/docs/guides/ripple-effect.md @@ -40,6 +40,3 @@ import { Provider as PaperProvider } from 'react-native-paper'; // ... ``` - - - diff --git a/docs/versioned_docs/version-5.x/guides/08-theming-with-react-navigation.md b/docs/5.x/docs/guides/theming-with-react-navigation.md similarity index 95% rename from docs/versioned_docs/version-5.x/guides/08-theming-with-react-navigation.md rename to docs/5.x/docs/guides/theming-with-react-navigation.md index 197d2bfa31..d240f5b43d 100644 --- a/docs/versioned_docs/version-5.x/guides/08-theming-with-react-navigation.md +++ b/docs/5.x/docs/guides/theming-with-react-navigation.md @@ -21,15 +21,12 @@ import { DefaultTheme as NavigationDefaultTheme, } from '@react-navigation/native'; -import { - MD2LightTheme, - MD2DarkTheme, -} from 'react-native-paper'; +import { MD2LightTheme, MD2DarkTheme } from 'react-native-paper'; ``` ### Material Design 3 -From v5, React Native Paper theme colors structure follows the Material Design 3 (known as Material You) colors system, which differs significantly from both the previous Paper's theme and React Navigation theme. +From v5, React Native Paper theme colors structure follows the Material Design 3 (known as Material You) colors system, which differs significantly from both the previous Paper's theme and React Navigation theme. However, to simplify adapting React Navigation theme colors, to use the ones from React Native Paper, it's worth using a utility called `adaptNavigationTheme` – it accepts navigation-compliant themes in both modes and returns their equivalents adjusted to Material Design 3. @@ -49,10 +46,7 @@ const { LightTheme, DarkTheme } = adaptNavigationTheme({ Library exports also Material Design 3 themes in both modes: ```js -import { - MD3LightTheme, - MD3DarkTheme, -} from 'react-native-paper'; +import { MD3LightTheme, MD3DarkTheme } from 'react-native-paper'; ``` ## Combining theme objects @@ -117,8 +111,6 @@ export default function App() { } ``` - - Our goal here is to combine those two themes, so that we could control the theme for the entire application from a single place. To make things easier we can use [deepmerge](https://www.npmjs.com/package/deepmerge) package. We can install it with: @@ -135,10 +127,7 @@ import { DarkTheme as NavigationDarkTheme, DefaultTheme as NavigationDefaultTheme, } from '@react-navigation/native'; -import { - MD2DarkTheme, - MD2LightTheme, -} from 'react-native-paper'; +import { MD2DarkTheme, MD2LightTheme } from 'react-native-paper'; import merge from 'deepmerge'; const CombinedDefaultTheme = merge(MD2LightTheme, NavigationDefaultTheme); @@ -331,11 +320,7 @@ const Header = ({ scene }) => { }} > - + ); }; @@ -343,7 +328,7 @@ const Header = ({ scene }) => { And now you can switch between light and dark theme! -![paperGuide1](../../../static/screenshots/themingWithReactNavigationDarkLightSwitch.gif) +![paperGuide1](/react-native-paper/screenshots/themingWithReactNavigationDarkLightSwitch.gif) Thanks to the linking of themes that we did earlier, switching themes can be controlled with only one piece of state. diff --git a/docs/versioned_docs/version-5.x/guides/02-theming.mdx b/docs/5.x/docs/guides/theming.mdx similarity index 98% rename from docs/versioned_docs/version-5.x/guides/02-theming.mdx rename to docs/5.x/docs/guides/theming.mdx index 53bb236889..89bd6e75af 100644 --- a/docs/versioned_docs/version-5.x/guides/02-theming.mdx +++ b/docs/5.x/docs/guides/theming.mdx @@ -2,7 +2,7 @@ title: Theming --- -import DynamicColorTheme from '@site/src/components/DynamicColorTheme.tsx'; +import DynamicColorTheme from '@docs/components/DynamicColorTheme.tsx'; # Theming @@ -73,14 +73,12 @@ A theme usually contains the following properties: - `colors` (`object`): various colors used throughout different elements. > The primary key color is used to derive roles for key components across the UI, such as the FAB, prominent buttons, active states, as well as the tint of elevated surfaces. - - `primary` - `onPrimary` - `primaryContainer` - `onPrimaryContainer` > The secondary key color is used for less prominent components in the UI such as filter chips, while expanding the opportunity for color expression. - - `secondary` - `onSecondary` - `secondaryContainer` @@ -89,34 +87,29 @@ A theme usually contains the following properties: > The tertiary key color is used to derive the roles of contrasting accents that can be used to balance primary and secondary colors or bring heightened attention to an element. > The tertiary color role is left for teams to use at their discretion and is intended to support broader color expression in products. - - `tertiary` - `onTertiary` - `tertiaryContainer` - `onTertiaryContainer` > The neutral key color is used to derive the roles of surface and background, as well as high emphasis text and icons. - - `background` - `onBackground` - `surface` - `onSurface` > The neutral variant key color is used to derive medium emphasis text and icons, surface variants, and component outlines. - - `surfaceVariant` - `onSurfaceVariant` - `outline` > In addition to the accent and neutral key color, the color system includes a semantic color role for error - - `error` - `onError` - `errorContainer` - `onErrorContainer` > Surfaces at elevation levels 0-5 are tinted via color overlays based on the primary color, such as app bars or menus. The addition of a grade from 0-5 introduces tonal variation to the surface baseline. - - `elevation` (`object`) - `level0` - transparent - `level1` - 5% opacity @@ -126,12 +119,10 @@ A theme usually contains the following properties: - `level5` - 14% opacity > Colors for disabled state - - `surfaceDisabled` - `onSurfaceDisabled` > These additional role mappings exist in a scheme and are mapped to components where needed. - - `shadow` - `inverseOnSurface` - `inverseSurface` @@ -197,7 +188,7 @@ Created schemes are following the Material Design 3 color system and covering co Passed source color into the util is translated into tones to automatically provide the range of tones that map to color roles. -![customColors](../../../static/screenshots/custom-colors.png) +![customColors](/react-native-paper/screenshots/custom-colors.png) _Source: [Material You Color System](https://m3.material.io/styles/color/the-color-system/custom-colors)_ @@ -344,11 +335,10 @@ By default, TypeScript works well whenever you change the value of the built-in There are two supported ways of overriding the theme: -1. Simple built-in theme overrides - when you only customize the values and - the whole theme schema remains the same -2. Advanced theme overrides - when you add new properties or - change the built-in schema shape - +1. Simple built-in theme overrides - when you only customize the values + and the whole theme schema remains the same +2. Advanced theme overrides - when you add new properties or + change the built-in schema shape :::caution TypeScript support for `withTheme` is currently limited to Material You (MD3) theme only. diff --git a/docs/versioned_docs/version-5.x/showcase.mdx b/docs/5.x/docs/showcase.mdx similarity index 78% rename from docs/versioned_docs/version-5.x/showcase.mdx rename to docs/5.x/docs/showcase.mdx index 7024ab018d..19bce467e3 100644 --- a/docs/versioned_docs/version-5.x/showcase.mdx +++ b/docs/5.x/docs/showcase.mdx @@ -2,7 +2,7 @@ title: Showcase --- -import Showcase from '@site/src/components/Showcase.tsx'; +import Showcase from '@docs/components/Showcase.tsx'; # Who's using Paper? diff --git a/docs/5.x/index.mdx b/docs/5.x/index.mdx new file mode 100644 index 0000000000..91f12670f9 --- /dev/null +++ b/docs/5.x/index.mdx @@ -0,0 +1,38 @@ +--- +pageType: home +hero: + name: Cross-platform Material Design for React Native + tagline: Paper is a collection of customizable and production-ready components for React Native, following Google’s Material Design guidelines. + actions: + - text: Get started + link: /docs/guides/getting-started + theme: brand + - text: Try on Snack + link: https://snack.expo.dev/@react-native-paper/react-native-paper-example_v5 + theme: alt +features: + - title: Production-ready components + details: Buttons, inputs, lists, cards, menus, dialogs, navigation, and feedback patterns built for day-to-day product work. + icon: /react-native-paper/images/home/components.svg + span: 4 + - title: Material You theming + details: Adopt Material 3 color, typography, elevation, and state layers with a theme system designed for real apps. + icon: /react-native-paper/images/home/palette.svg + span: 4 + - title: Accessible by default + details: Common interactions, contrast, and state handling are already baked into the component surface instead of left to each screen. + icon: /react-native-paper/images/home/accessibility.svg + span: 4 + - title: Cross-platform parity + details: Keep design language and component behavior aligned across iOS, Android, and React Native Web from one codebase. + icon: /react-native-paper/images/home/devices.svg + span: 4 + - title: Dark mode support + details: Ship light and dark experiences with the same primitives, including adaptive surfaces and semantic color roles. + icon: /react-native-paper/images/home/moon.svg + span: 4 + - title: Migration-friendly docs + details: Browse stable 5.x, preview 6.x, and legacy static docs from one version selector without splitting the docs experience. + icon: /react-native-paper/images/home/versions.svg + span: 4 +--- diff --git a/docs/6.x/_nav.json b/docs/6.x/_nav.json new file mode 100644 index 0000000000..f7de8846cb --- /dev/null +++ b/docs/6.x/_nav.json @@ -0,0 +1,17 @@ +[ + { + "text": "Guides", + "link": "/docs/guides/getting-started", + "activeMatch": "^/(?:6\\.x/)?docs/guides/" + }, + { + "text": "Components", + "link": "/docs/components/ActivityIndicator", + "activeMatch": "^/(?:6\\.x/)?docs/components/" + }, + { + "text": "Showcase", + "link": "/docs/showcase", + "activeMatch": "^/(?:6\\.x/)?docs/showcase$" + } +] diff --git a/docs/6.x/docs/_meta.json b/docs/6.x/docs/_meta.json new file mode 100644 index 0000000000..9e4ac38659 --- /dev/null +++ b/docs/6.x/docs/_meta.json @@ -0,0 +1,17 @@ +[ + { + "type": "dir-section-header", + "name": "guides", + "label": "Guides" + }, + { + "type": "dir-section-header", + "name": "components", + "label": "Components" + }, + { + "type": "file", + "name": "showcase", + "label": "Showcase" + } +] diff --git a/docs/versioned_docs/version-6.x/components/ActivityIndicator.mdx b/docs/6.x/docs/components/ActivityIndicator.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/ActivityIndicator.mdx rename to docs/6.x/docs/components/ActivityIndicator.mdx index 51fcd3899d..eac03089ea 100644 --- a/docs/versioned_docs/version-6.x/components/ActivityIndicator.mdx +++ b/docs/6.x/docs/components/ActivityIndicator.mdx @@ -2,11 +2,11 @@ title: ActivityIndicator --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Activity indicator is used to present progress of some activity in the app. It can be used as a drop-in replacement for the ActivityIndicator shipped with React Native. @@ -14,8 +14,8 @@ It can be used as a drop-in replacement for the ActivityIndicator shipped with R - - + + ## Usage ```js @@ -32,58 +32,58 @@ export default MyComponent; ## Props - - + +
-### animating +### animating
- + - +
-### color +### color
- + - +
-### size +### size
- + - +
-### hidesWhenStopped +### hidesWhenStopped
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + @@ -91,6 +91,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Appbar/Appbar.mdx b/docs/6.x/docs/components/Appbar/Appbar.mdx similarity index 85% rename from docs/versioned_docs/version-6.x/components/Appbar/Appbar.mdx rename to docs/6.x/docs/components/Appbar/Appbar.mdx index b9f52f72ae..798b6dd136 100644 --- a/docs/versioned_docs/version-6.x/components/Appbar/Appbar.mdx +++ b/docs/6.x/docs/components/Appbar/Appbar.mdx @@ -2,11 +2,11 @@ title: Appbar --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display action items in a bar. It can be placed at the top or bottom. The top bar usually contains the screen title, controls such as navigation buttons, menu button etc. @@ -18,8 +18,8 @@ See [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/them - - + + ## Usage ### Top bar @@ -102,66 +102,66 @@ export default MyComponent; ## Props - - + +
-### dark +### dark
- + - +
-### children (required) +### children (required)
- + - +
### mode Available in v5.x with theme version 3
- + - +
### elevated Available in v5.x with theme version 3
- + - +
-### safeAreaInsets +### safeAreaInsets
- + - +
-### theme +### theme
- + - +
-### style +### style
- + - - + + @@ -169,6 +169,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Appbar/AppbarAction.mdx b/docs/6.x/docs/components/Appbar/AppbarAction.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/Appbar/AppbarAction.mdx rename to docs/6.x/docs/components/Appbar/AppbarAction.mdx index d4b3fe6ca1..cd55f9cdb7 100644 --- a/docs/versioned_docs/version-6.x/components/Appbar/AppbarAction.mdx +++ b/docs/6.x/docs/components/Appbar/AppbarAction.mdx @@ -2,19 +2,19 @@ title: Appbar.Action --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display an action item in the appbar. - - + + ## Usage ```js @@ -38,90 +38,90 @@ export default MyComponent; ## Props - - + +
-### color +### color
- + - +
-### icon (required) +### icon (required)
- + - +
-### size +### size
- + - +
-### disabled +### disabled
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### onPress +### onPress
- + - +
### isLeading Available in v5.x with theme version 3
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### theme +### theme
- + - - + + @@ -129,6 +129,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Appbar/AppbarBackAction.mdx b/docs/6.x/docs/components/Appbar/AppbarBackAction.mdx similarity index 67% rename from docs/versioned_docs/version-6.x/components/Appbar/AppbarBackAction.mdx rename to docs/6.x/docs/components/Appbar/AppbarBackAction.mdx index 1bddbc1a47..592afcdf6f 100644 --- a/docs/versioned_docs/version-6.x/components/Appbar/AppbarBackAction.mdx +++ b/docs/6.x/docs/components/Appbar/AppbarBackAction.mdx @@ -2,19 +2,19 @@ title: Appbar.BackAction --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display a back button in the appbar. - - + + ## Usage ```js @@ -33,66 +33,66 @@ export default MyComponent; ## Props - - + +
-### color +### color
- + - +
-### size +### size
- + - +
-### disabled +### disabled
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### onPress +### onPress
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Appbar/AppbarContent.mdx b/docs/6.x/docs/components/Appbar/AppbarContent.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/Appbar/AppbarContent.mdx rename to docs/6.x/docs/components/Appbar/AppbarContent.mdx index f0cd732f9e..a3c4953c66 100644 --- a/docs/versioned_docs/version-6.x/components/Appbar/AppbarContent.mdx +++ b/docs/6.x/docs/components/Appbar/AppbarContent.mdx @@ -2,19 +2,19 @@ title: Appbar.Content --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display a title in an appbar. - - + + ## Usage ```js @@ -33,90 +33,90 @@ export default MyComponent; ## Props - - + +
-### title (required) +### title (required)
- + - +
-### titleStyle +### titleStyle
- + - +
-### titleRef +### titleRef
- + - +
-### onPress +### onPress
- + - +
-### disabled +### disabled
- + - +
-### color +### color
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + @@ -124,6 +124,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Appbar/AppbarHeader.mdx b/docs/6.x/docs/components/Appbar/AppbarHeader.mdx similarity index 80% rename from docs/versioned_docs/version-6.x/components/Appbar/AppbarHeader.mdx rename to docs/6.x/docs/components/Appbar/AppbarHeader.mdx index 131dbdec53..f541042a00 100644 --- a/docs/versioned_docs/version-6.x/components/Appbar/AppbarHeader.mdx +++ b/docs/6.x/docs/components/Appbar/AppbarHeader.mdx @@ -2,11 +2,11 @@ title: Appbar.Header --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to use as a header at the top of the screen. It can contain the screen title, controls such as navigation buttons, menu button etc. @@ -14,8 +14,8 @@ It can contain the screen title, controls such as navigation buttons, menu butto - - + + ## Usage ```js @@ -45,74 +45,74 @@ export default MyComponent; ## Props - - + +
-### dark +### dark
- + - +
-### statusBarHeight +### statusBarHeight
- + - +
-### children (required) +### children (required)
- + - +
### mode Available in v5.x with theme version 3
- + - +
### elevated Available in v5.x with theme version 3
- + - +
-### theme +### theme
- + - +
-### style +### style
- + - +
-### testID +### testID
- + - - + + @@ -120,6 +120,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/Appbar/_meta.json b/docs/6.x/docs/components/Appbar/_meta.json new file mode 100644 index 0000000000..d4243fea02 --- /dev/null +++ b/docs/6.x/docs/components/Appbar/_meta.json @@ -0,0 +1,7 @@ +[ + "Appbar", + "AppbarAction", + "AppbarBackAction", + "AppbarContent", + "AppbarHeader" +] diff --git a/docs/versioned_docs/version-6.x/components/Avatar/AvatarIcon.mdx b/docs/6.x/docs/components/Avatar/AvatarIcon.mdx similarity index 62% rename from docs/versioned_docs/version-6.x/components/Avatar/AvatarIcon.mdx rename to docs/6.x/docs/components/Avatar/AvatarIcon.mdx index 8d2cb9f401..045a00c260 100644 --- a/docs/versioned_docs/version-6.x/components/Avatar/AvatarIcon.mdx +++ b/docs/6.x/docs/components/Avatar/AvatarIcon.mdx @@ -2,19 +2,19 @@ title: Avatar.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Avatars can be used to represent people in a graphical way. - - + + ## Usage ```js @@ -29,50 +29,50 @@ const MyComponent = () => ( ## Props - - + +
-### icon (required) +### icon (required)
- + - +
-### size +### size
- + - +
-### color +### color
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Avatar/AvatarImage.mdx b/docs/6.x/docs/components/Avatar/AvatarImage.mdx similarity index 68% rename from docs/versioned_docs/version-6.x/components/Avatar/AvatarImage.mdx rename to docs/6.x/docs/components/Avatar/AvatarImage.mdx index 79c7c9bb0a..ecd4bcc751 100644 --- a/docs/versioned_docs/version-6.x/components/Avatar/AvatarImage.mdx +++ b/docs/6.x/docs/components/Avatar/AvatarImage.mdx @@ -2,19 +2,19 @@ title: Avatar.Image --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Avatars can be used to represent people in a graphical way. - - + + ## Usage ```js @@ -30,90 +30,90 @@ export default MyComponent ## Props - - + +
-### source (required) +### source (required)
- + - +
-### size +### size
- + - +
-### style +### style
- + - +
-### onError +### onError
- + - +
-### onLayout +### onLayout
- + - +
-### onLoad +### onLoad
- + - +
-### onLoadEnd +### onLoadEnd
- + - +
-### onLoadStart +### onLoadStart
- + - +
-### onProgress +### onProgress
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Avatar/AvatarText.mdx b/docs/6.x/docs/components/Avatar/AvatarText.mdx similarity index 64% rename from docs/versioned_docs/version-6.x/components/Avatar/AvatarText.mdx rename to docs/6.x/docs/components/Avatar/AvatarText.mdx index ec1379adf4..600c026e9f 100644 --- a/docs/versioned_docs/version-6.x/components/Avatar/AvatarText.mdx +++ b/docs/6.x/docs/components/Avatar/AvatarText.mdx @@ -2,19 +2,19 @@ title: Avatar.Text --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Avatars can be used to represent people in a graphical way. - - + + ## Usage ```js @@ -29,66 +29,66 @@ const MyComponent = () => ( ## Props - - + +
-### label (required) +### label (required)
- + - +
-### size +### size
- + - +
-### color +### color
- + - +
-### style +### style
- + - +
-### labelStyle +### labelStyle
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/6.x/docs/components/Avatar/_meta.json b/docs/6.x/docs/components/Avatar/_meta.json new file mode 100644 index 0000000000..b3967b8318 --- /dev/null +++ b/docs/6.x/docs/components/Avatar/_meta.json @@ -0,0 +1,5 @@ +[ + "AvatarIcon", + "AvatarImage", + "AvatarText" +] diff --git a/docs/versioned_docs/version-6.x/components/Badge.mdx b/docs/6.x/docs/components/Badge.mdx similarity index 69% rename from docs/versioned_docs/version-6.x/components/Badge.mdx rename to docs/6.x/docs/components/Badge.mdx index 77326a9bf0..dba6c041ca 100644 --- a/docs/versioned_docs/version-6.x/components/Badge.mdx +++ b/docs/6.x/docs/components/Badge.mdx @@ -2,11 +2,11 @@ title: Badge --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Badges are small status descriptors for UI elements. A badge consists of a small circle, typically containing a number or other short set of characters, that appears in proximity to another object. @@ -14,8 +14,8 @@ A badge consists of a small circle, typically containing a number or other short - - + + ## Usage ```js @@ -32,58 +32,58 @@ export default MyComponent; ## Props - - + +
-### visible +### visible
- + - +
-### children +### children
- + - +
-### size +### size
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### theme +### theme
- + - - + + @@ -91,6 +91,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Banner.mdx b/docs/6.x/docs/components/Banner.mdx similarity index 75% rename from docs/versioned_docs/version-6.x/components/Banner.mdx rename to docs/6.x/docs/components/Banner.mdx index 14c1107d0b..344d9103e9 100644 --- a/docs/versioned_docs/version-6.x/components/Banner.mdx +++ b/docs/6.x/docs/components/Banner.mdx @@ -2,19 +2,19 @@ title: Banner --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Banner displays a prominent message and related actions. - - + + ## Usage ```js @@ -60,106 +60,106 @@ export default MyComponent; ## Props - - + +
-### visible (required) +### visible (required)
- + - +
-### children (required) +### children (required)
- + - +
-### icon +### icon
- + - +
-### actions +### actions
- + - +
-### contentStyle +### contentStyle
- + - +
### elevation Available in v5.x with theme version 3
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### theme +### theme
- + - +
-### onShowAnimationFinished +### onShowAnimationFinished
- + - +
-### onHideAnimationFinished +### onHideAnimationFinished
- + - - + + @@ -167,6 +167,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/BottomNavigation/BottomNavigation.mdx b/docs/6.x/docs/components/BottomNavigation/BottomNavigation.mdx similarity index 80% rename from docs/versioned_docs/version-6.x/components/BottomNavigation/BottomNavigation.mdx rename to docs/6.x/docs/components/BottomNavigation/BottomNavigation.mdx index fb90edf463..c4fe55af84 100644 --- a/docs/versioned_docs/version-6.x/components/BottomNavigation/BottomNavigation.mdx +++ b/docs/6.x/docs/components/BottomNavigation/BottomNavigation.mdx @@ -2,11 +2,11 @@ title: BottomNavigation --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; BottomNavigation provides quick navigation between top-level views of an app with a bottom navigation bar. It is primarily designed for use on mobile. If you want to use the navigation bar only see [`BottomNavigation.Bar`](BottomNavigationBar). @@ -17,8 +17,8 @@ See [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/them - - + + ## Usage ```js @@ -64,242 +64,242 @@ export default MyComponent; ## Props - - + +
-### shifting +### shifting
- + - +
-### labeled +### labeled
- + - +
-### compact +### compact
- + - +
-### navigationState (required) +### navigationState (required)
- + - +
-### onIndexChange (required) +### onIndexChange (required)
- + - +
-### renderScene (required) +### renderScene (required)
- + - +
-### renderIcon +### renderIcon
- + - +
-### renderLabel +### renderLabel
- + - +
-### renderTouchable +### renderTouchable
- + - +
-### getAccessibilityLabel +### getAccessibilityLabel
- + - +
-### getBadge +### getBadge
- + - +
-### getLabelText +### getLabelText
- + - +
-### getLazy +### getLazy
- + - +
-### getTestID +### getTestID
- + - +
-### onTabPress +### onTabPress
- + - +
-### onTabLongPress +### onTabLongPress
- + - +
-### activeColor +### activeColor
- + - +
-### inactiveColor +### inactiveColor
- + - +
-### sceneAnimationEnabled +### sceneAnimationEnabled
- + - +
-### sceneAnimationType +### sceneAnimationType
- + - +
-### sceneAnimationEasing +### sceneAnimationEasing
- + - +
-### keyboardHidesNavigationBar +### keyboardHidesNavigationBar
- + - +
-### safeAreaInsets +### safeAreaInsets
- + - +
-### barStyle +### barStyle
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### activeIndicatorStyle +### activeIndicatorStyle
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/BottomNavigation/BottomNavigationBar.mdx b/docs/6.x/docs/components/BottomNavigation/BottomNavigationBar.mdx similarity index 91% rename from docs/versioned_docs/version-6.x/components/BottomNavigation/BottomNavigationBar.mdx rename to docs/6.x/docs/components/BottomNavigation/BottomNavigationBar.mdx index f5d064f3b1..a93d41ee74 100644 --- a/docs/versioned_docs/version-6.x/components/BottomNavigation/BottomNavigationBar.mdx +++ b/docs/6.x/docs/components/BottomNavigation/BottomNavigationBar.mdx @@ -2,19 +2,19 @@ title: BottomNavigation.Bar --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A navigation bar which can easily be integrated with [React Navigation's Bottom Tabs Navigator](https://reactnavigation.org/docs/bottom-tab-navigator/). - - + + ## Usage @@ -84,199 +84,199 @@ export default function MyComponent() { ### with React Navigation \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nconst MyTabs = createBottomTabNavigator({\n screenOptions: {\n animation: 'shift',\n },\n tabBar: ({ navigation, state, descriptors, insets }) => (\n {\n const event = navigation.emit({\n type: 'tabPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (event.defaultPrevented) {\n preventDefault();\n } else {\n navigation.dispatch({\n ...CommonActions.navigate(route.name, route.params),\n target: state.key,\n });\n }\n }}\n renderIcon={({ route, focused, color }) =>\n descriptors[route.key].options.tabBarIcon?.({\n focused,\n color,\n size: 24,\n }) || null\n }\n getLabelText={({ route }) => {\n const { options } = descriptors[route.key];\n const label =\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : typeof options.title === 'string'\n ? options.title\n : route.name;\n\n return label;\n }}\n />\n ),\n screens: {\n Home: {\n screen: HomeScreen,\n options: {\n tabBarIcon: ({ color }) => (\n \n ),\n },\n },\n Settings: {\n screen: SettingsScreen,\n options: {\n tabBarIcon: ({ color }) => (\n \n ),\n },\n },\n },\n});\n\nconst Navigation = createStaticNavigation(MyTabs);\n\nexport default function App() {\n return (\n \n \n \n \n \n );\n}","dynamic":"import { Text, View } from 'react-native';\nimport { NavigationContainer, CommonActions } from '@react-navigation/native';\nimport { createBottomTabNavigator } from '@react-navigation/bottom-tabs';\nimport { Provider, BottomNavigation } from 'react-native-paper';\nimport MaterialCommunityIcons from '@react-native-vector-icons/material-design-icons';\n\nfunction HomeScreen() {\n return (\n \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nconst Tab = createBottomTabNavigator();\n\nexport default function App() {\n return (\n \n \n (\n {\n const event = navigation.emit({\n type: 'tabPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (event.defaultPrevented) {\n preventDefault();\n } else {\n navigation.dispatch({\n ...CommonActions.navigate(route.name, route.params),\n target: state.key,\n });\n }\n }}\n renderIcon={({ route, focused, color }) =>\n descriptors[route.key].options.tabBarIcon?.({\n focused,\n color,\n size: 24,\n }) || null\n }\n getLabelText={({ route }) => {\n const { options } = descriptors[route.key];\n const label =\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : typeof options.title === 'string'\n ? options.title\n : route.name;\n\n return label;\n }}\n />\n )}>\n (\n \n ),\n }}\n />\n (\n \n ),\n }}\n />\n \n \n \n );\n}\n"}}} /> - + ## Props - - + +
-### shifting +### shifting
- + - +
-### labeled +### labeled
- + - +
-### compact +### compact
- + - +
-### navigationState (required) +### navigationState (required)
- + - +
-### renderIcon +### renderIcon
- + - +
-### renderLabel +### renderLabel
- + - +
-### renderTouchable +### renderTouchable
- + - +
-### getAccessibilityLabel +### getAccessibilityLabel
- + - +
-### getBadge +### getBadge
- + - +
-### getLabelText +### getLabelText
- + - +
-### getTestID +### getTestID
- + - +
-### onTabPress (required) +### onTabPress (required)
- + - +
-### onTabLongPress +### onTabLongPress
- + - +
-### activeColor +### activeColor
- + - +
-### inactiveColor +### inactiveColor
- + - +
-### animationEasing +### animationEasing
- + - +
-### keyboardHidesNavigationBar +### keyboardHidesNavigationBar
- + - +
-### safeAreaInsets +### safeAreaInsets
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### activeIndicatorStyle +### activeIndicatorStyle
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/6.x/docs/components/BottomNavigation/_meta.json b/docs/6.x/docs/components/BottomNavigation/_meta.json new file mode 100644 index 0000000000..94a0b010f3 --- /dev/null +++ b/docs/6.x/docs/components/BottomNavigation/_meta.json @@ -0,0 +1,4 @@ +[ + "BottomNavigation", + "BottomNavigationBar" +] diff --git a/docs/versioned_docs/version-6.x/components/Button/Button.mdx b/docs/6.x/docs/components/Button/Button.mdx similarity index 78% rename from docs/versioned_docs/version-6.x/components/Button/Button.mdx rename to docs/6.x/docs/components/Button/Button.mdx index f85bbe1d76..8daa42b8c3 100644 --- a/docs/versioned_docs/version-6.x/components/Button/Button.mdx +++ b/docs/6.x/docs/components/Button/Button.mdx @@ -2,19 +2,19 @@ title: Button --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A button is component that the user can press to trigger an action. - - + + ## Usage ```js @@ -33,234 +33,234 @@ export default MyComponent; ## Props - - + +
-### mode +### mode
- + - +
-### dark +### dark
- + - +
-### compact +### compact
- + - +
-### buttonColor +### buttonColor
- + - +
-### textColor +### textColor
- + - +
-### loading +### loading
- + - +
-### icon +### icon
- + - +
-### disabled +### disabled
- + - +
-### children (required) +### children (required)
- + - +
-### uppercase +### uppercase
- + - +
-### background +### background
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### accessibilityHint +### accessibilityHint
- + - +
-### accessibilityRole +### accessibilityRole
- + - +
-### onPress +### onPress
- + - +
-### onPressIn +### onPressIn
- + - +
-### onPressOut +### onPressOut
- + - +
-### onLongPress +### onLongPress
- + - +
-### delayLongPress +### delayLongPress
- + - +
-### contentStyle +### contentStyle
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### hitSlop +### hitSlop
- + - +
-### style +### style
- + - +
-### labelStyle +### labelStyle
- + - +
-### theme +### theme
- + - +
-### touchableRef +### touchableRef
- + - +
-### ref +### ref
- + - +
-### testID +### testID
- + - - + + @@ -268,6 +268,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/Button/_meta.json b/docs/6.x/docs/components/Button/_meta.json new file mode 100644 index 0000000000..a6d17d5990 --- /dev/null +++ b/docs/6.x/docs/components/Button/_meta.json @@ -0,0 +1,3 @@ +[ + "Button" +] diff --git a/docs/versioned_docs/version-6.x/components/Card/Card.mdx b/docs/6.x/docs/components/Card/Card.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/Card/Card.mdx rename to docs/6.x/docs/components/Card/Card.mdx index 98fbe67108..0248a53318 100644 --- a/docs/versioned_docs/version-6.x/components/Card/Card.mdx +++ b/docs/6.x/docs/components/Card/Card.mdx @@ -2,19 +2,19 @@ title: Card --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A card is a sheet of material that serves as an entry point to more detailed information. - - + + ## Usage ```js @@ -44,122 +44,122 @@ export default MyComponent; ## Props - - + +
-### mode +### mode
- + - +
-### children (required) +### children (required)
- + - +
-### onLongPress +### onLongPress
- + - +
-### onPress +### onPress
- + - +
-### onPressIn +### onPressIn
- + - +
-### onPressOut +### onPressOut
- + - +
-### delayLongPress +### delayLongPress
- + - +
-### disabled +### disabled
- + - +
-### elevation +### elevation
- + - +
-### contentStyle +### contentStyle
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - +
-### accessible +### accessible
- + - - + + @@ -167,6 +167,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Card/CardActions.mdx b/docs/6.x/docs/components/Card/CardActions.mdx similarity index 62% rename from docs/versioned_docs/version-6.x/components/Card/CardActions.mdx rename to docs/6.x/docs/components/Card/CardActions.mdx index 856f640420..fb2af05f91 100644 --- a/docs/versioned_docs/version-6.x/components/Card/CardActions.mdx +++ b/docs/6.x/docs/components/Card/CardActions.mdx @@ -2,19 +2,19 @@ title: Card.Actions --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a list of actions inside a Card. - - + + ## Usage ```js @@ -36,34 +36,34 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Card/CardContent.mdx b/docs/6.x/docs/components/Card/CardContent.mdx similarity index 61% rename from docs/versioned_docs/version-6.x/components/Card/CardContent.mdx rename to docs/6.x/docs/components/Card/CardContent.mdx index bb7496c1dd..54bf3c61be 100644 --- a/docs/versioned_docs/version-6.x/components/Card/CardContent.mdx +++ b/docs/6.x/docs/components/Card/CardContent.mdx @@ -2,19 +2,19 @@ title: Card.Content --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show content inside a Card. - - + + ## Usage ```js @@ -36,26 +36,26 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Card/CardCover.mdx b/docs/6.x/docs/components/Card/CardCover.mdx similarity index 57% rename from docs/versioned_docs/version-6.x/components/Card/CardCover.mdx rename to docs/6.x/docs/components/Card/CardCover.mdx index 0bfac77665..9808e9bfd8 100644 --- a/docs/versioned_docs/version-6.x/components/Card/CardCover.mdx +++ b/docs/6.x/docs/components/Card/CardCover.mdx @@ -2,19 +2,19 @@ title: Card.Cover --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a cover image inside a Card. - - + + ## Usage ```js @@ -37,24 +37,24 @@ export default MyComponent; ### Image props - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Card/CardTitle.mdx b/docs/6.x/docs/components/Card/CardTitle.mdx similarity index 75% rename from docs/versioned_docs/version-6.x/components/Card/CardTitle.mdx rename to docs/6.x/docs/components/Card/CardTitle.mdx index 912d3f51a8..90d114e478 100644 --- a/docs/versioned_docs/version-6.x/components/Card/CardTitle.mdx +++ b/docs/6.x/docs/components/Card/CardTitle.mdx @@ -2,19 +2,19 @@ title: Card.Title --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a title, subtitle and an avatar inside a Card. - - + + ## Usage ```js @@ -36,138 +36,138 @@ export default MyComponent; ## Props - - + +
-### title (required) +### title (required)
- + - +
-### titleStyle +### titleStyle
- + - +
-### titleNumberOfLines +### titleNumberOfLines
- + - +
### titleVariant Available in v5.x with theme version 3
- + - +
-### subtitle +### subtitle
- + - +
-### subtitleStyle +### subtitleStyle
- + - +
-### subtitleNumberOfLines +### subtitleNumberOfLines
- + - +
### subtitleVariant Available in v5.x with theme version 3
- + - +
-### left +### left
- + - +
-### leftStyle +### leftStyle
- + - +
-### right +### right
- + - +
-### rightStyle +### rightStyle
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### subtitleMaxFontSizeMultiplier +### subtitleMaxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/6.x/docs/components/Card/_meta.json b/docs/6.x/docs/components/Card/_meta.json new file mode 100644 index 0000000000..3b7edb1615 --- /dev/null +++ b/docs/6.x/docs/components/Card/_meta.json @@ -0,0 +1,7 @@ +[ + "Card", + "CardActions", + "CardContent", + "CardCover", + "CardTitle" +] diff --git a/docs/versioned_docs/version-6.x/components/Checkbox/Checkbox.mdx b/docs/6.x/docs/components/Checkbox/Checkbox.mdx similarity index 72% rename from docs/versioned_docs/version-6.x/components/Checkbox/Checkbox.mdx rename to docs/6.x/docs/components/Checkbox/Checkbox.mdx index d8c4419527..b12b7e56b9 100644 --- a/docs/versioned_docs/version-6.x/components/Checkbox/Checkbox.mdx +++ b/docs/6.x/docs/components/Checkbox/Checkbox.mdx @@ -2,19 +2,19 @@ title: Checkbox --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Checkboxes allow the selection of multiple options from a set. - - + + ## Usage ```js @@ -40,82 +40,82 @@ export default MyComponent; ## Props - - + +
-### status (required) +### status (required)
- + - +
-### disabled +### disabled
- + - +
-### onPress +### onPress
- + - +
-### uncheckedColor +### uncheckedColor
- + - +
-### color +### color
- + - +
-### error +### error
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - +
-### style +### style
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Checkbox/CheckboxItem.mdx b/docs/6.x/docs/components/Checkbox/CheckboxItem.mdx similarity index 73% rename from docs/versioned_docs/version-6.x/components/Checkbox/CheckboxItem.mdx rename to docs/6.x/docs/components/Checkbox/CheckboxItem.mdx index faa96df173..016438cb2f 100644 --- a/docs/versioned_docs/version-6.x/components/Checkbox/CheckboxItem.mdx +++ b/docs/6.x/docs/components/Checkbox/CheckboxItem.mdx @@ -2,11 +2,11 @@ title: Checkbox.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Checkbox.Item allows you to press the whole row (item) instead of only the Checkbox. @@ -32,146 +32,146 @@ export default MyComponent; ## Props - - + +
-### status (required) +### status (required)
- + - +
-### disabled +### disabled
- + - +
-### label (required) +### label (required)
- + - +
-### onPress +### onPress
- + - +
-### onLongPress +### onLongPress
- + - +
-### background +### background
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### uncheckedColor +### uncheckedColor
- + - +
-### color +### color
- + - +
-### style +### style
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### labelStyle +### labelStyle
- + - +
### labelVariant Available in v5.x with theme version 3
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - +
-### position +### position
- + - +
-### hitSlop +### hitSlop
- + - - + + diff --git a/docs/6.x/docs/components/Checkbox/_meta.json b/docs/6.x/docs/components/Checkbox/_meta.json new file mode 100644 index 0000000000..69a54c00fd --- /dev/null +++ b/docs/6.x/docs/components/Checkbox/_meta.json @@ -0,0 +1,4 @@ +[ + "Checkbox", + "CheckboxItem" +] diff --git a/docs/versioned_docs/version-6.x/components/Chip/Chip.mdx b/docs/6.x/docs/components/Chip/Chip.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/Chip/Chip.mdx rename to docs/6.x/docs/components/Chip/Chip.mdx index 87b98dc6fc..27fa00b7d3 100644 --- a/docs/versioned_docs/version-6.x/components/Chip/Chip.mdx +++ b/docs/6.x/docs/components/Chip/Chip.mdx @@ -2,11 +2,11 @@ title: Chip --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Chips are compact elements that can represent inputs, attributes, or actions. They can have an icon or avatar on the left, and a close button icon on the right. @@ -21,8 +21,8 @@ They are typically used to: - - + + ## Usage ```js @@ -39,242 +39,242 @@ export default MyComponent; ## Props - - + +
-### mode +### mode
- + - +
-### children (required) +### children (required)
- + - +
-### icon +### icon
- + - +
-### avatar +### avatar
- + - +
-### closeIcon +### closeIcon
- + - +
-### selected +### selected
- + - +
-### selectedColor +### selectedColor
- + - +
### showSelectedOverlay Available in v5.x with theme version 3
- + - +
-### showSelectedCheck +### showSelectedCheck
- + - +
-### disabled +### disabled
- + - +
-### background +### background
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### closeIconAccessibilityLabel +### closeIconAccessibilityLabel
- + - +
-### onPress +### onPress
- + - +
-### onLongPress +### onLongPress
- + - +
-### onPressIn +### onPressIn
- + - +
-### onPressOut +### onPressOut
- + - +
-### onClose +### onClose
- + - +
-### delayLongPress +### delayLongPress
- + - +
### compact Available in v5.x with theme version 3
- + - +
### elevated Available in v5.x with theme version 3
- + - +
-### textStyle +### textStyle
- + - +
-### style +### style
- + - +
-### hitSlop +### hitSlop
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - +
-### ellipsizeMode +### ellipsizeMode
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### accessibilityRole +### accessibilityRole
- + - - + + diff --git a/docs/6.x/docs/components/Chip/_meta.json b/docs/6.x/docs/components/Chip/_meta.json new file mode 100644 index 0000000000..02eb8c63e5 --- /dev/null +++ b/docs/6.x/docs/components/Chip/_meta.json @@ -0,0 +1,3 @@ +[ + "Chip" +] diff --git a/docs/versioned_docs/version-6.x/components/DataTable/DataTable.mdx b/docs/6.x/docs/components/DataTable/DataTable.mdx similarity index 84% rename from docs/versioned_docs/version-6.x/components/DataTable/DataTable.mdx rename to docs/6.x/docs/components/DataTable/DataTable.mdx index 510a195f7e..2a9e4ddae7 100644 --- a/docs/versioned_docs/version-6.x/components/DataTable/DataTable.mdx +++ b/docs/6.x/docs/components/DataTable/DataTable.mdx @@ -2,19 +2,19 @@ title: DataTable --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Data tables allow displaying sets of data. - - + + ## Usage ```js @@ -99,26 +99,26 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/DataTable/DataTableCell.mdx b/docs/6.x/docs/components/DataTable/DataTableCell.mdx similarity index 74% rename from docs/versioned_docs/version-6.x/components/DataTable/DataTableCell.mdx rename to docs/6.x/docs/components/DataTable/DataTableCell.mdx index b21f71127e..89d4809627 100644 --- a/docs/versioned_docs/version-6.x/components/DataTable/DataTableCell.mdx +++ b/docs/6.x/docs/components/DataTable/DataTableCell.mdx @@ -2,19 +2,19 @@ title: DataTable.Cell --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a single cell inside of a table. - - + + ## Usage ```js @@ -43,64 +43,64 @@ MD Guidelines (https://github.com/callstack/react-native-paper/issues/2381). ### TouchableRipple props - +
-### children (required) +### children (required)
- + - +
-### numeric +### numeric
- + - +
-### onPress +### onPress
- + - +
-### style +### style
- + - +
-### textStyle +### textStyle
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/DataTable/DataTableHeader.mdx b/docs/6.x/docs/components/DataTable/DataTableHeader.mdx similarity index 68% rename from docs/versioned_docs/version-6.x/components/DataTable/DataTableHeader.mdx rename to docs/6.x/docs/components/DataTable/DataTableHeader.mdx index bf318e56db..8b1ee0dd8f 100644 --- a/docs/versioned_docs/version-6.x/components/DataTable/DataTableHeader.mdx +++ b/docs/6.x/docs/components/DataTable/DataTableHeader.mdx @@ -2,19 +2,19 @@ title: DataTable.Header --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display title in table header. - - + + ## Usage ```js @@ -41,34 +41,34 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/DataTable/DataTablePagination.mdx b/docs/6.x/docs/components/DataTable/DataTablePagination.mdx similarity index 77% rename from docs/versioned_docs/version-6.x/components/DataTable/DataTablePagination.mdx rename to docs/6.x/docs/components/DataTable/DataTablePagination.mdx index eb6afe233e..38f1dd0c36 100644 --- a/docs/versioned_docs/version-6.x/components/DataTable/DataTablePagination.mdx +++ b/docs/6.x/docs/components/DataTable/DataTablePagination.mdx @@ -2,19 +2,19 @@ title: DataTable.Pagination --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show pagination for data table. - - + + ## Usage ```js @@ -71,114 +71,114 @@ export default MyComponent; ## Props - - + +
-### page (required) +### page (required)
- + - +
-### numberOfPages (required) +### numberOfPages (required)
- + - +
-### onPageChange (required) +### onPageChange (required)
- + - +
-### showFastPaginationControls +### showFastPaginationControls
- + - +
-### theme +### theme
- + - +
-### numberOfItemsPerPage +### numberOfItemsPerPage
- + - +
-### numberOfItemsPerPageList +### numberOfItemsPerPageList
- + - +
-### onItemsPerPageChange +### onItemsPerPageChange
- + - +
-### selectPageDropdownLabel +### selectPageDropdownLabel
- + - +
-### selectPageDropdownAccessibilityLabel +### selectPageDropdownAccessibilityLabel
- + - +
-### label +### label
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### style +### style
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/DataTable/DataTableRow.mdx b/docs/6.x/docs/components/DataTable/DataTableRow.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/DataTable/DataTableRow.mdx rename to docs/6.x/docs/components/DataTable/DataTableRow.mdx index e2765dcca8..59e6a4f5be 100644 --- a/docs/versioned_docs/version-6.x/components/DataTable/DataTableRow.mdx +++ b/docs/6.x/docs/components/DataTable/DataTableRow.mdx @@ -2,19 +2,19 @@ title: DataTable.Row --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a single row inside of a table. - - + + ## Usage ```js @@ -40,48 +40,48 @@ export default MyComponent; ### TouchableRipple props - +
-### children (required) +### children (required)
- + - +
-### onPress +### onPress
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### pointerEvents +### pointerEvents
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/DataTable/DataTableTitle.mdx b/docs/6.x/docs/components/DataTable/DataTableTitle.mdx similarity index 71% rename from docs/versioned_docs/version-6.x/components/DataTable/DataTableTitle.mdx rename to docs/6.x/docs/components/DataTable/DataTableTitle.mdx index 8967b338c8..f8087199f7 100644 --- a/docs/versioned_docs/version-6.x/components/DataTable/DataTableTitle.mdx +++ b/docs/6.x/docs/components/DataTable/DataTableTitle.mdx @@ -2,19 +2,19 @@ title: DataTable.Title --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to display title in table header. - - + + ## Usage ```js @@ -41,82 +41,82 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### numeric +### numeric
- + - +
-### sortDirection +### sortDirection
- + - +
-### numberOfLines +### numberOfLines
- + - +
-### onPress +### onPress
- + - +
-### style +### style
- + - +
-### textStyle +### textStyle
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/6.x/docs/components/DataTable/_meta.json b/docs/6.x/docs/components/DataTable/_meta.json new file mode 100644 index 0000000000..aaed448e4d --- /dev/null +++ b/docs/6.x/docs/components/DataTable/_meta.json @@ -0,0 +1,8 @@ +[ + "DataTable", + "DataTableCell", + "DataTableHeader", + "DataTablePagination", + "DataTableRow", + "DataTableTitle" +] diff --git a/docs/versioned_docs/version-6.x/components/Dialog/Dialog.mdx b/docs/6.x/docs/components/Dialog/Dialog.mdx similarity index 74% rename from docs/versioned_docs/version-6.x/components/Dialog/Dialog.mdx rename to docs/6.x/docs/components/Dialog/Dialog.mdx index 29450a344b..e871f7f750 100644 --- a/docs/versioned_docs/version-6.x/components/Dialog/Dialog.mdx +++ b/docs/6.x/docs/components/Dialog/Dialog.mdx @@ -2,20 +2,20 @@ title: Dialog --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks. -To render the `Dialog` above other components, you'll need to wrap it with the [`Portal`](../Portal) component. +To render the `Dialog` above other components, you'll need to wrap it with the [`Portal`](../Portal/Portal) component. - - + + ## Usage ```js @@ -56,74 +56,74 @@ export default MyComponent; ## Props - - + +
-### dismissable +### dismissable
- + - +
-### dismissableBackButton +### dismissableBackButton
- + - +
-### onDismiss +### onDismiss
- + - +
-### visible +### visible
- + - +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + @@ -131,6 +131,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Dialog/DialogActions.mdx b/docs/6.x/docs/components/Dialog/DialogActions.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/Dialog/DialogActions.mdx rename to docs/6.x/docs/components/Dialog/DialogActions.mdx index b8936894a6..b1d6bda29f 100644 --- a/docs/versioned_docs/version-6.x/components/Dialog/DialogActions.mdx +++ b/docs/6.x/docs/components/Dialog/DialogActions.mdx @@ -2,19 +2,19 @@ title: Dialog.Actions --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a list of actions in a Dialog. - - + + ## Usage ```js @@ -44,34 +44,34 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Dialog/DialogContent.mdx b/docs/6.x/docs/components/Dialog/DialogContent.mdx similarity index 67% rename from docs/versioned_docs/version-6.x/components/Dialog/DialogContent.mdx rename to docs/6.x/docs/components/Dialog/DialogContent.mdx index 18dc952022..38771647f2 100644 --- a/docs/versioned_docs/version-6.x/components/Dialog/DialogContent.mdx +++ b/docs/6.x/docs/components/Dialog/DialogContent.mdx @@ -2,19 +2,19 @@ title: Dialog.Content --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show content in a Dialog. - - + + ## Usage ```js @@ -43,26 +43,26 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/Dialog/DialogIcon.mdx b/docs/6.x/docs/components/Dialog/DialogIcon.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/Dialog/DialogIcon.mdx rename to docs/6.x/docs/components/Dialog/DialogIcon.mdx index 30e0d48f25..34777210ca 100644 --- a/docs/versioned_docs/version-6.x/components/Dialog/DialogIcon.mdx +++ b/docs/6.x/docs/components/Dialog/DialogIcon.mdx @@ -2,11 +2,11 @@ title: Dialog.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; @supported Available in v5.x with theme version 3 A component to show an icon in a Dialog. @@ -14,8 +14,8 @@ A component to show an icon in a Dialog. - - + + ## Usage ```js @@ -53,42 +53,42 @@ export default MyComponent; ## Props - - + +
-### color +### color
- + - +
-### icon (required) +### icon (required)
- + - +
-### size +### size
- + - +
-### theme +### theme
- + - - + + @@ -96,6 +96,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Dialog/DialogScrollArea.mdx b/docs/6.x/docs/components/Dialog/DialogScrollArea.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/Dialog/DialogScrollArea.mdx rename to docs/6.x/docs/components/Dialog/DialogScrollArea.mdx index cc49955a83..f5fc1904d2 100644 --- a/docs/versioned_docs/version-6.x/components/Dialog/DialogScrollArea.mdx +++ b/docs/6.x/docs/components/Dialog/DialogScrollArea.mdx @@ -2,11 +2,11 @@ title: Dialog.ScrollArea --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a scrollable content in a Dialog. The component only provides appropriate styling. For the scrollable content you can use `ScrollView`, `FlatList` etc. depending on your requirement. @@ -14,8 +14,8 @@ For the scrollable content you can use `ScrollView`, `FlatList` etc. depending o - - + + ## Usage ```js @@ -47,34 +47,34 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + @@ -82,6 +82,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Dialog/DialogTitle.mdx b/docs/6.x/docs/components/Dialog/DialogTitle.mdx similarity index 69% rename from docs/versioned_docs/version-6.x/components/Dialog/DialogTitle.mdx rename to docs/6.x/docs/components/Dialog/DialogTitle.mdx index 4755404144..d548cffb85 100644 --- a/docs/versioned_docs/version-6.x/components/Dialog/DialogTitle.mdx +++ b/docs/6.x/docs/components/Dialog/DialogTitle.mdx @@ -2,19 +2,19 @@ title: Dialog.Title --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a title in a Dialog. - - + + ## Usage ```js @@ -44,34 +44,34 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/6.x/docs/components/Dialog/_meta.json b/docs/6.x/docs/components/Dialog/_meta.json new file mode 100644 index 0000000000..81373811ab --- /dev/null +++ b/docs/6.x/docs/components/Dialog/_meta.json @@ -0,0 +1,8 @@ +[ + "Dialog", + "DialogActions", + "DialogContent", + "DialogIcon", + "DialogScrollArea", + "DialogTitle" +] diff --git a/docs/versioned_docs/version-6.x/components/Divider.mdx b/docs/6.x/docs/components/Divider.mdx similarity index 73% rename from docs/versioned_docs/version-6.x/components/Divider.mdx rename to docs/6.x/docs/components/Divider.mdx index d3b868eefe..02ff41392f 100644 --- a/docs/versioned_docs/version-6.x/components/Divider.mdx +++ b/docs/6.x/docs/components/Divider.mdx @@ -2,19 +2,19 @@ title: Divider --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A divider is a thin, lightweight separator that groups content in lists and page layouts. - - + + ## Usage ```js @@ -37,50 +37,50 @@ export default MyComponent; ## Props - - + +
### leftInset Renamed from 'inset' to 'leftInset` in v5.x
- + - +
### horizontalInset Available in v5.x with theme version 3
- + - +
### bold Available in v5.x with theme version 3
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + @@ -88,6 +88,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Drawer/DrawerCollapsedItem.mdx b/docs/6.x/docs/components/Drawer/DrawerCollapsedItem.mdx similarity index 79% rename from docs/versioned_docs/version-6.x/components/Drawer/DrawerCollapsedItem.mdx rename to docs/6.x/docs/components/Drawer/DrawerCollapsedItem.mdx index 7193539e8f..b17999c4df 100644 --- a/docs/versioned_docs/version-6.x/components/Drawer/DrawerCollapsedItem.mdx +++ b/docs/6.x/docs/components/Drawer/DrawerCollapsedItem.mdx @@ -2,11 +2,11 @@ title: Drawer.CollapsedItem --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Note: Available in v5.x with theme version 3 @@ -15,8 +15,8 @@ Collapsed component used to show an action item with an icon and optionally labe - - + + ## Usage ```js @@ -37,106 +37,106 @@ export default MyComponent; ## Props - - + +
-### label +### label
- + - +
-### badge +### badge
- + - +
-### disabled +### disabled
- + - +
### focusedIcon Renamed from 'icon' to 'focusedIcon' in v5.x
- + - +
### unfocusedIcon Renamed from 'icon' to 'focusedIcon' in v5.x
- + - +
-### active +### active
- + - +
-### onPress +### onPress
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + @@ -144,6 +144,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Drawer/DrawerItem.mdx b/docs/6.x/docs/components/Drawer/DrawerItem.mdx similarity index 73% rename from docs/versioned_docs/version-6.x/components/Drawer/DrawerItem.mdx rename to docs/6.x/docs/components/Drawer/DrawerItem.mdx index 8320143a75..dab7c90e67 100644 --- a/docs/versioned_docs/version-6.x/components/Drawer/DrawerItem.mdx +++ b/docs/6.x/docs/components/Drawer/DrawerItem.mdx @@ -2,19 +2,19 @@ title: Drawer.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to show an action item with an icon and a label in a navigation drawer. - - + + ## Usage ```js @@ -35,106 +35,106 @@ export default MyComponent; ## Props - - + +
-### label (required) +### label (required)
- + - +
-### icon +### icon
- + - +
-### active +### active
- + - +
-### disabled +### disabled
- + - +
-### onPress +### onPress
- + - +
-### background +### background
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### right +### right
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### hitSlop +### hitSlop
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + @@ -142,6 +142,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Drawer/DrawerSection.mdx b/docs/6.x/docs/components/Drawer/DrawerSection.mdx similarity index 73% rename from docs/versioned_docs/version-6.x/components/Drawer/DrawerSection.mdx rename to docs/6.x/docs/components/Drawer/DrawerSection.mdx index 63c7b98497..5c34c9aef3 100644 --- a/docs/versioned_docs/version-6.x/components/Drawer/DrawerSection.mdx +++ b/docs/6.x/docs/components/Drawer/DrawerSection.mdx @@ -2,19 +2,19 @@ title: Drawer.Section --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to group content inside a navigation drawer. - - + + ## Usage ```js @@ -46,58 +46,58 @@ export default MyComponent; ## Props - - + +
-### title +### title
- + - +
-### children (required) +### children (required)
- + - +
-### showDivider +### showDivider
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + @@ -105,6 +105,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/Drawer/_meta.json b/docs/6.x/docs/components/Drawer/_meta.json new file mode 100644 index 0000000000..0099a35f77 --- /dev/null +++ b/docs/6.x/docs/components/Drawer/_meta.json @@ -0,0 +1,5 @@ +[ + "DrawerCollapsedItem", + "DrawerItem", + "DrawerSection" +] diff --git a/docs/versioned_docs/version-6.x/components/FAB/FAB.mdx b/docs/6.x/docs/components/FAB/FAB.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/FAB/FAB.mdx rename to docs/6.x/docs/components/FAB/FAB.mdx index 4c3990ce52..87ce7e9761 100644 --- a/docs/versioned_docs/version-6.x/components/FAB/FAB.mdx +++ b/docs/6.x/docs/components/FAB/FAB.mdx @@ -2,19 +2,19 @@ title: FAB --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A floating action button represents the primary action on a screen. - - + + ## Usage ```js @@ -45,122 +45,122 @@ export default MyComponent; ## Props - - + +
-### icon (required) +### icon (required)
- + - +
-### variant +### variant
- + - +
-### containerColor +### containerColor
- + - +
-### contentColor +### contentColor
- + - +
-### size +### size
- + - +
-### visible +### visible
- + - +
-### onPress +### onPress
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### accessibilityState +### accessibilityState
- + - +
-### background +### background
- + - +
-### style +### style
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - +
-### ref +### ref
- + - - + + @@ -168,6 +168,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/FAB/FABExtended.mdx b/docs/6.x/docs/components/FAB/FABExtended.mdx similarity index 74% rename from docs/versioned_docs/version-6.x/components/FAB/FABExtended.mdx rename to docs/6.x/docs/components/FAB/FABExtended.mdx index 2ab71359a8..c5873ee2ee 100644 --- a/docs/versioned_docs/version-6.x/components/FAB/FABExtended.mdx +++ b/docs/6.x/docs/components/FAB/FABExtended.mdx @@ -2,11 +2,11 @@ title: Extended --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; An extended floating action button represents the primary action on a screen and shows a label next to the icon. Animates between expanded (icon + label) @@ -51,146 +51,146 @@ export default MyComponent; ## Props - - + +
-### icon (required) +### icon (required)
- + - +
-### label (required) +### label (required)
- + - +
-### variant +### variant
- + - +
-### containerColor +### containerColor
- + - +
-### contentColor +### contentColor
- + - +
-### size +### size
- + - +
-### expanded (required) +### expanded (required)
- + - +
-### visible +### visible
- + - +
-### onPress +### onPress
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### accessibilityState +### accessibilityState
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### background +### background
- + - +
-### style +### style
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - +
-### ref +### ref
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/FAB/FABMenu.mdx b/docs/6.x/docs/components/FAB/FABMenu.mdx similarity index 72% rename from docs/versioned_docs/version-6.x/components/FAB/FABMenu.mdx rename to docs/6.x/docs/components/FAB/FABMenu.mdx index e0c82b0f86..4d460f0fc4 100644 --- a/docs/versioned_docs/version-6.x/components/FAB/FABMenu.mdx +++ b/docs/6.x/docs/components/FAB/FABMenu.mdx @@ -2,11 +2,11 @@ title: Menu --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Floating action button menu. Wraps a trigger FAB; when `expanded` is true, items appear stacked above and the trigger morphs into the spec'd close @@ -19,8 +19,8 @@ via the close button or by tapping an item. - - + + ## Usage ```tsx @@ -42,74 +42,74 @@ const [open, setOpen] = React.useState(false); ## Props - - + +
-### expanded (required) +### expanded (required)
- + - +
-### onDismiss (required) +### onDismiss (required)
- + - +
-### trigger (required) +### trigger (required)
- + - +
-### alignment +### alignment
- + - +
-### closeIcon +### closeIcon
- + - +
-### items (required) +### items (required)
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - - + + @@ -117,6 +117,6 @@ const [open, setOpen] = React.useState(false); ## Theme colors - + diff --git a/docs/6.x/docs/components/FAB/_meta.json b/docs/6.x/docs/components/FAB/_meta.json new file mode 100644 index 0000000000..5de9f066d9 --- /dev/null +++ b/docs/6.x/docs/components/FAB/_meta.json @@ -0,0 +1,5 @@ +[ + "FAB", + "FABExtended", + "FABMenu" +] diff --git a/docs/versioned_docs/version-6.x/components/Icon.mdx b/docs/6.x/docs/components/Icon.mdx similarity index 58% rename from docs/versioned_docs/version-6.x/components/Icon.mdx rename to docs/6.x/docs/components/Icon.mdx index 5dad95ddd6..0250150ef0 100644 --- a/docs/versioned_docs/version-6.x/components/Icon.mdx +++ b/docs/6.x/docs/components/Icon.mdx @@ -2,19 +2,19 @@ title: Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; An icon component which renders icon from vector library. - - + + ## Usage ```js @@ -35,58 +35,58 @@ export default MyComponent; ## Props - - + +
-### size (required) +### size (required)
- + - +
-### allowFontScaling +### allowFontScaling
- + - +
-### source (required) +### source (required)
- + - +
-### color +### color
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/IconButton/IconButton.mdx b/docs/6.x/docs/components/IconButton/IconButton.mdx similarity index 84% rename from docs/versioned_docs/version-6.x/components/IconButton/IconButton.mdx rename to docs/6.x/docs/components/IconButton/IconButton.mdx index 00d0a69e4e..7daacaaf7f 100644 --- a/docs/versioned_docs/version-6.x/components/IconButton/IconButton.mdx +++ b/docs/6.x/docs/components/IconButton/IconButton.mdx @@ -2,19 +2,19 @@ title: IconButton --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; An icon button is a button which displays only an icon without a label. - - + + ## Usage ```js @@ -40,136 +40,136 @@ export default MyComponent; ### TouchableRipple props - +
-### icon (required) +### icon (required)
- + - +
### mode Available in v5.x with theme version 3
- + - +
### iconColor Renamed from 'color' to 'iconColor' in v5.x
- + - +
-### containerColor +### containerColor
- + - +
-### selected +### selected
- + - +
-### size +### size
- + - +
-### disabled +### disabled
- + - +
-### animated +### animated
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### contentStyle +### contentStyle
- + - +
-### onPress +### onPress
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - +
-### loading +### loading
- + - - + + @@ -177,6 +177,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/IconButton/_meta.json b/docs/6.x/docs/components/IconButton/_meta.json new file mode 100644 index 0000000000..00d733ae01 --- /dev/null +++ b/docs/6.x/docs/components/IconButton/_meta.json @@ -0,0 +1,3 @@ +[ + "IconButton" +] diff --git a/docs/versioned_docs/version-6.x/components/List/ListAccordion.mdx b/docs/6.x/docs/components/List/ListAccordion.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/List/ListAccordion.mdx rename to docs/6.x/docs/components/List/ListAccordion.mdx index eed29d3232..ea06d3a081 100644 --- a/docs/versioned_docs/version-6.x/components/List/ListAccordion.mdx +++ b/docs/6.x/docs/components/List/ListAccordion.mdx @@ -2,19 +2,19 @@ title: List.Accordion --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display an expandable list item. - - + + ## Usage ```js @@ -53,210 +53,210 @@ export default MyComponent; ## Props - - + +
-### title (required) +### title (required)
- + - +
-### description +### description
- + - +
-### left +### left
- + - +
-### right +### right
- + - +
-### expanded +### expanded
- + - +
-### onPress +### onPress
- + - +
-### onLongPress +### onLongPress
- + - +
-### delayLongPress +### delayLongPress
- + - +
-### children (required) +### children (required)
- + - +
-### theme +### theme
- + - +
-### background +### background
- + - +
-### style +### style
- + - +
-### containerStyle +### containerStyle
- + - +
-### contentStyle +### contentStyle
- + - +
-### titleStyle +### titleStyle
- + - +
-### descriptionStyle +### descriptionStyle
- + - +
-### titleNumberOfLines +### titleNumberOfLines
- + - +
-### descriptionNumberOfLines +### descriptionNumberOfLines
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### descriptionMaxFontSizeMultiplier +### descriptionMaxFontSizeMultiplier
- + - +
-### id +### id
- + - +
-### testID +### testID
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### pointerEvents +### pointerEvents
- + - +
-### hitSlop +### hitSlop
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/List/ListAccordionGroup.mdx b/docs/6.x/docs/components/List/ListAccordionGroup.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/List/ListAccordionGroup.mdx rename to docs/6.x/docs/components/List/ListAccordionGroup.mdx index 7224e87927..8829f84049 100644 --- a/docs/versioned_docs/version-6.x/components/List/ListAccordionGroup.mdx +++ b/docs/6.x/docs/components/List/ListAccordionGroup.mdx @@ -2,11 +2,11 @@ title: List.AccordionGroup --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; List.AccordionGroup allows to control a group of List Accordions. `id` prop for List.Accordion is required in order for group to work. List.AccordionGroup can be a controlled or uncontrolled component. The example shows the uncontrolled version. @@ -15,8 +15,8 @@ At most one Accordion can be expanded at a given time. - - + + ## Usage ```js @@ -49,34 +49,34 @@ export default MyComponent; ## Props - - + +
-### onAccordionPress +### onAccordionPress
- + - +
-### expandedId +### expandedId
- + - +
-### children (required) +### children (required)
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/List/ListIcon.mdx b/docs/6.x/docs/components/List/ListIcon.mdx similarity index 60% rename from docs/versioned_docs/version-6.x/components/List/ListIcon.mdx rename to docs/6.x/docs/components/List/ListIcon.mdx index c8b5ee12df..d9eb09a250 100644 --- a/docs/versioned_docs/version-6.x/components/List/ListIcon.mdx +++ b/docs/6.x/docs/components/List/ListIcon.mdx @@ -2,19 +2,19 @@ title: List.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show an icon in a list item. - - + + ## Usage ```js @@ -35,42 +35,42 @@ export default MyComponent; ## Props - - + +
-### icon (required) +### icon (required)
- + - +
-### color +### color
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/List/ListItem.mdx b/docs/6.x/docs/components/List/ListItem.mdx similarity index 71% rename from docs/versioned_docs/version-6.x/components/List/ListItem.mdx rename to docs/6.x/docs/components/List/ListItem.mdx index 7ba8aa8dfa..c962a55f9c 100644 --- a/docs/versioned_docs/version-6.x/components/List/ListItem.mdx +++ b/docs/6.x/docs/components/List/ListItem.mdx @@ -2,19 +2,19 @@ title: List.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show tiles inside a List. - - + + ## Usage ```js @@ -39,160 +39,160 @@ export default MyComponent; ### TouchableRipple props - +
-### title (required) +### title (required)
- + - +
-### description +### description
- + - +
-### left +### left
- + - +
-### right +### right
- + - +
-### onPress +### onPress
- + - +
-### theme +### theme
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### containerStyle +### containerStyle
- + - +
-### contentStyle +### contentStyle
- + - +
-### titleStyle +### titleStyle
- + - +
-### descriptionStyle +### descriptionStyle
- + - +
-### titleNumberOfLines +### titleNumberOfLines
- + - +
-### descriptionNumberOfLines +### descriptionNumberOfLines
- + - +
-### titleEllipsizeMode +### titleEllipsizeMode
- + - +
-### descriptionEllipsizeMode +### descriptionEllipsizeMode
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### descriptionMaxFontSizeMultiplier +### descriptionMaxFontSizeMultiplier
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/List/ListSection.mdx b/docs/6.x/docs/components/List/ListSection.mdx similarity index 68% rename from docs/versioned_docs/version-6.x/components/List/ListSection.mdx rename to docs/6.x/docs/components/List/ListSection.mdx index c90da6872d..8a145c20d0 100644 --- a/docs/versioned_docs/version-6.x/components/List/ListSection.mdx +++ b/docs/6.x/docs/components/List/ListSection.mdx @@ -2,19 +2,19 @@ title: List.Section --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to group list items. - - + + ## Usage ```js @@ -38,50 +38,50 @@ export default MyComponent; ## Props - - + +
-### title +### title
- + - +
-### children (required) +### children (required)
- + - +
-### theme +### theme
- + - +
-### titleStyle +### titleStyle
- + - +
-### style +### style
- + - - + + diff --git a/docs/versioned_docs/version-5.x/components/List/ListSubheader.mdx b/docs/6.x/docs/components/List/ListSubheader.mdx similarity index 59% rename from docs/versioned_docs/version-5.x/components/List/ListSubheader.mdx rename to docs/6.x/docs/components/List/ListSubheader.mdx index a5f507ec34..78db549903 100644 --- a/docs/versioned_docs/version-5.x/components/List/ListSubheader.mdx +++ b/docs/6.x/docs/components/List/ListSubheader.mdx @@ -2,11 +2,11 @@ title: List.Subheader --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component used to display a header in lists. @@ -27,34 +27,34 @@ export default MyComponent; ## Props - - + +
-### theme +### theme
- + - +
-### style +### style
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - - + + diff --git a/docs/6.x/docs/components/List/_meta.json b/docs/6.x/docs/components/List/_meta.json new file mode 100644 index 0000000000..4ba864114c --- /dev/null +++ b/docs/6.x/docs/components/List/_meta.json @@ -0,0 +1,8 @@ +[ + "ListAccordion", + "ListAccordionGroup", + "ListIcon", + "ListItem", + "ListSection", + "ListSubheader" +] diff --git a/docs/versioned_docs/version-6.x/components/Menu/Menu.mdx b/docs/6.x/docs/components/Menu/Menu.mdx similarity index 77% rename from docs/versioned_docs/version-6.x/components/Menu/Menu.mdx rename to docs/6.x/docs/components/Menu/Menu.mdx index 0d4044f003..1d1ee928b2 100644 --- a/docs/versioned_docs/version-6.x/components/Menu/Menu.mdx +++ b/docs/6.x/docs/components/Menu/Menu.mdx @@ -2,19 +2,19 @@ title: Menu --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Menus display a list of choices on temporary elevated surfaces. Their placement varies based on the element that opens them. - - + + ## Usage ```js @@ -62,122 +62,122 @@ wrapping is not necessary if you use Paper's `Modal` instead. ## Props - - + +
-### visible (required) +### visible (required)
- + - +
-### anchor (required) +### anchor (required)
- + - +
-### anchorPosition +### anchorPosition
- + - +
-### statusBarHeight +### statusBarHeight
- + - +
-### onDismiss +### onDismiss
- + - +
-### overlayAccessibilityLabel +### overlayAccessibilityLabel
- + - +
-### children (required) +### children (required)
- + - +
-### contentStyle +### contentStyle
- + - +
-### style +### style
- + - +
-### elevation +### elevation
- + - +
-### mode +### mode
- + - +
-### theme +### theme
- + - +
-### keyboardShouldPersistTaps +### keyboardShouldPersistTaps
- + - +
-### testID +### testID
- + - - + + @@ -185,6 +185,6 @@ wrapping is not necessary if you use Paper's `Modal` instead. ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Menu/MenuItem.mdx b/docs/6.x/docs/components/Menu/MenuItem.mdx similarity index 77% rename from docs/versioned_docs/version-6.x/components/Menu/MenuItem.mdx rename to docs/6.x/docs/components/Menu/MenuItem.mdx index 3db471c8b8..d63e012efc 100644 --- a/docs/versioned_docs/version-6.x/components/Menu/MenuItem.mdx +++ b/docs/6.x/docs/components/Menu/MenuItem.mdx @@ -2,19 +2,19 @@ title: Menu.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to show a single list item inside a Menu. - - + + ## Usage ```js @@ -38,146 +38,146 @@ export default MyComponent; ## Props - - + +
-### title (required) +### title (required)
- + - +
### leadingIcon Renamed from 'icon' to 'leadingIcon' in v5.x
- + - +
### trailingIcon Available in v5.x with theme version 3
- + - +
-### disabled +### disabled
- + - +
### dense Available in v5.x with theme version 3
- + - +
-### background +### background
- + - +
-### onPress +### onPress
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### style +### style
- + - +
-### containerStyle +### containerStyle
- + - +
-### contentStyle +### contentStyle
- + - +
-### titleStyle +### titleStyle
- + - +
-### theme +### theme
- + - +
-### hitSlop +### hitSlop
- + - +
-### testID +### testID
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### accessibilityState +### accessibilityState
- + - - + + @@ -185,6 +185,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/Menu/_meta.json b/docs/6.x/docs/components/Menu/_meta.json new file mode 100644 index 0000000000..50192eb25e --- /dev/null +++ b/docs/6.x/docs/components/Menu/_meta.json @@ -0,0 +1,4 @@ +[ + "Menu", + "MenuItem" +] diff --git a/docs/versioned_docs/version-6.x/components/Modal.mdx b/docs/6.x/docs/components/Modal.mdx similarity index 73% rename from docs/versioned_docs/version-6.x/components/Modal.mdx rename to docs/6.x/docs/components/Modal.mdx index c96efbf7b5..72691042b1 100644 --- a/docs/versioned_docs/version-6.x/components/Modal.mdx +++ b/docs/6.x/docs/components/Modal.mdx @@ -2,21 +2,21 @@ title: Modal --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; The Modal component is a simple way to present content above an enclosing view. -To render the `Modal` above other components, you'll need to wrap it with the [`Portal`](./Portal) component. +To render the `Modal` above other components, you'll need to wrap it with the [`Portal`](./Portal/Portal) component. Note that this modal is NOT accessible by default; if you need an accessible modal, please use the React Native Modal. - - + + ## Usage ```js @@ -50,90 +50,90 @@ export default MyComponent; ## Props - - + +
-### dismissable +### dismissable
- + - +
-### dismissableBackButton +### dismissableBackButton
- + - +
-### onDismiss +### onDismiss
- + - +
-### overlayAccessibilityLabel +### overlayAccessibilityLabel
- + - +
-### visible +### visible
- + - +
-### children (required) +### children (required)
- + - +
-### contentContainerStyle +### contentContainerStyle
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + @@ -141,6 +141,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-5.x/components/Portal/Portal.mdx b/docs/6.x/docs/components/Portal/Portal.mdx similarity index 73% rename from docs/versioned_docs/version-5.x/components/Portal/Portal.mdx rename to docs/6.x/docs/components/Portal/Portal.mdx index 9d3d325820..027dec2299 100644 --- a/docs/versioned_docs/version-5.x/components/Portal/Portal.mdx +++ b/docs/6.x/docs/components/Portal/Portal.mdx @@ -2,11 +2,11 @@ title: Portal --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Portal allows rendering a component at a different place in the parent tree. You can use it to render content which should appear above other elements, similar to `Modal`. @@ -34,40 +34,40 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### theme (required) +### theme (required)
- + - - + + ## More Examples
Toggle to grab more examples
- + diff --git a/docs/versioned_docs/version-6.x/components/Portal/PortalHost.mdx b/docs/6.x/docs/components/Portal/PortalHost.mdx similarity index 67% rename from docs/versioned_docs/version-6.x/components/Portal/PortalHost.mdx rename to docs/6.x/docs/components/Portal/PortalHost.mdx index f54c0b8609..9962cea0a9 100644 --- a/docs/versioned_docs/version-6.x/components/Portal/PortalHost.mdx +++ b/docs/6.x/docs/components/Portal/PortalHost.mdx @@ -2,11 +2,11 @@ title: Portal.Host --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Portal host renders all of its children `Portal` elements. For example, you can wrap a screen in `Portal.Host` to render items above the screen. @@ -36,18 +36,18 @@ Here any `Portal` elements under `` are rendered alongside `` and ## Props - - + +
-### children (required) +### children (required)
- + - - + + diff --git a/docs/6.x/docs/components/Portal/_meta.json b/docs/6.x/docs/components/Portal/_meta.json new file mode 100644 index 0000000000..6e5b7b374b --- /dev/null +++ b/docs/6.x/docs/components/Portal/_meta.json @@ -0,0 +1,4 @@ +[ + "Portal", + "PortalHost" +] diff --git a/docs/versioned_docs/version-6.x/components/ProgressBar.mdx b/docs/6.x/docs/components/ProgressBar.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/ProgressBar.mdx rename to docs/6.x/docs/components/ProgressBar.mdx index 9492b0f7e9..5dd0044793 100644 --- a/docs/versioned_docs/version-6.x/components/ProgressBar.mdx +++ b/docs/6.x/docs/components/ProgressBar.mdx @@ -2,19 +2,19 @@ title: ProgressBar --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Progress bar is an indicator used to present progress of some activity in the app. - - + + ## Usage ```js @@ -31,82 +31,82 @@ export default MyComponent; ## Props - - + +
-### animatedValue +### animatedValue
- + - +
-### progress +### progress
- + - +
-### color +### color
- + - +
-### indeterminate +### indeterminate
- + - +
-### visible +### visible
- + - +
-### fillStyle +### fillStyle
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + @@ -114,6 +114,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButton.mdx b/docs/6.x/docs/components/RadioButton/RadioButton.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/RadioButton/RadioButton.mdx rename to docs/6.x/docs/components/RadioButton/RadioButton.mdx index 260bd42fe7..e4c0bec6e7 100644 --- a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButton.mdx +++ b/docs/6.x/docs/components/RadioButton/RadioButton.mdx @@ -2,19 +2,19 @@ title: RadioButton --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Radio buttons allow the selection a single option from a set. - - + + ## Usage ```js @@ -47,74 +47,74 @@ export default MyComponent; ## Props - - + +
-### value (required) +### value (required)
- + - +
-### status +### status
- + - +
-### disabled +### disabled
- + - +
-### onPress +### onPress
- + - +
-### uncheckedColor +### uncheckedColor
- + - +
-### color +### color
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonAndroid.mdx b/docs/6.x/docs/components/RadioButton/RadioButtonAndroid.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonAndroid.mdx rename to docs/6.x/docs/components/RadioButton/RadioButtonAndroid.mdx index 2faf286f16..a71620c84f 100644 --- a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonAndroid.mdx +++ b/docs/6.x/docs/components/RadioButton/RadioButtonAndroid.mdx @@ -2,17 +2,17 @@ title: RadioButton.Android --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; - - + + Radio buttons allow the selection a single option from a set. This component follows platform guidelines for Android, but can be used @@ -25,72 +25,72 @@ on any platform. ### TouchableRipple props - +
-### value (required) +### value (required)
- + - +
-### status +### status
- + - +
-### disabled +### disabled
- + - +
-### onPress +### onPress
- + - +
-### uncheckedColor +### uncheckedColor
- + - +
-### color +### color
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonGroup.mdx b/docs/6.x/docs/components/RadioButton/RadioButtonGroup.mdx similarity index 71% rename from docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonGroup.mdx rename to docs/6.x/docs/components/RadioButton/RadioButtonGroup.mdx index bcaa9333d0..12493f5c32 100644 --- a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonGroup.mdx +++ b/docs/6.x/docs/components/RadioButton/RadioButtonGroup.mdx @@ -2,19 +2,19 @@ title: RadioButton.Group --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Radio button group allows to control a group of radio buttons. - - + + ## Usage ```js @@ -45,34 +45,34 @@ export default MyComponent; ## Props - - + +
-### onValueChange (required) +### onValueChange (required)
- + - +
-### value (required) +### value (required)
- + - +
-### children (required) +### children (required)
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonIOS.mdx b/docs/6.x/docs/components/RadioButton/RadioButtonIOS.mdx similarity index 69% rename from docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonIOS.mdx rename to docs/6.x/docs/components/RadioButton/RadioButtonIOS.mdx index 83db4152cc..ae561c9972 100644 --- a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonIOS.mdx +++ b/docs/6.x/docs/components/RadioButton/RadioButtonIOS.mdx @@ -2,17 +2,17 @@ title: RadioButton.IOS --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; - - + + Radio buttons allow the selection a single option from a set. This component follows platform guidelines for iOS, but can be used @@ -25,64 +25,64 @@ on any platform. ### TouchableRipple props - +
-### value (required) +### value (required)
- + - +
-### status +### status
- + - +
-### disabled +### disabled
- + - +
-### onPress +### onPress
- + - +
-### color +### color
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonItem.mdx b/docs/6.x/docs/components/RadioButton/RadioButtonItem.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonItem.mdx rename to docs/6.x/docs/components/RadioButton/RadioButtonItem.mdx index c5f863d44b..c74403899e 100644 --- a/docs/versioned_docs/version-6.x/components/RadioButton/RadioButtonItem.mdx +++ b/docs/6.x/docs/components/RadioButton/RadioButtonItem.mdx @@ -2,19 +2,19 @@ title: RadioButton.Item --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; RadioButton.Item allows you to press the whole row (item) instead of only the RadioButton. - - + + ## Usage ```js @@ -38,162 +38,162 @@ export default MyComponent; ## Props - - + +
-### value (required) +### value (required)
- + - +
-### label (required) +### label (required)
- + - +
-### disabled +### disabled
- + - +
-### background +### background
- + - +
-### onPress +### onPress
- + - +
-### onLongPress +### onLongPress
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### uncheckedColor +### uncheckedColor
- + - +
-### color +### color
- + - +
-### status +### status
- + - +
-### style +### style
- + - +
-### labelStyle +### labelStyle
- + - +
### labelVariant Available in v5.x with theme version 3
- + - +
-### labelMaxFontSizeMultiplier +### labelMaxFontSizeMultiplier
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - +
-### mode +### mode
- + - +
-### position +### position
- + - +
-### hitSlop +### hitSlop
- + - - + + diff --git a/docs/6.x/docs/components/RadioButton/_meta.json b/docs/6.x/docs/components/RadioButton/_meta.json new file mode 100644 index 0000000000..f9c20c781a --- /dev/null +++ b/docs/6.x/docs/components/RadioButton/_meta.json @@ -0,0 +1,7 @@ +[ + "RadioButton", + "RadioButtonAndroid", + "RadioButtonGroup", + "RadioButtonIOS", + "RadioButtonItem" +] diff --git a/docs/versioned_docs/version-6.x/components/Searchbar.mdx b/docs/6.x/docs/components/Searchbar.mdx similarity index 79% rename from docs/versioned_docs/version-6.x/components/Searchbar.mdx rename to docs/6.x/docs/components/Searchbar.mdx index 657f96101f..76e475256f 100644 --- a/docs/versioned_docs/version-6.x/components/Searchbar.mdx +++ b/docs/6.x/docs/components/Searchbar.mdx @@ -2,19 +2,19 @@ title: Searchbar --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Searchbar is a simple input box where users can type search queries. - - + + ## Usage ```js @@ -40,202 +40,202 @@ export default MyComponent; ## Props - - + +
-### placeholder +### placeholder
- + - +
-### value (required) +### value (required)
- + - +
-### onChangeText +### onChangeText
- + - +
### mode Available in v5.x with theme version 3
- + - +
-### icon +### icon
- + - +
-### iconColor +### iconColor
- + - +
-### onIconPress +### onIconPress
- + - +
-### onClearIconPress +### onClearIconPress
- + - +
-### searchAccessibilityLabel +### searchAccessibilityLabel
- + - +
-### clearIcon +### clearIcon
- + - +
-### clearAccessibilityLabel +### clearAccessibilityLabel
- + - +
### traileringIcon Available in v5.x with theme version 3
- + - +
### traileringIconColor Available in v5.x with theme version 3
- + - +
-### onTraileringIconPress +### onTraileringIconPress
- + - +
-### traileringIconAccessibilityLabel +### traileringIconAccessibilityLabel
- + - +
### right Available in v5.x with theme version 3
- + - +
### showDivider Available in v5.x with theme version 3
- + - +
### elevation Available in v5.x with theme version 3
- + - +
-### inputStyle +### inputStyle
- + - +
-### style +### style
- + - +
-### loading +### loading
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - +
-### ref +### ref
- + - - + + @@ -243,6 +243,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/SegmentedButtons/SegmentedButtons.mdx b/docs/6.x/docs/components/SegmentedButtons/SegmentedButtons.mdx similarity index 79% rename from docs/versioned_docs/version-6.x/components/SegmentedButtons/SegmentedButtons.mdx rename to docs/6.x/docs/components/SegmentedButtons/SegmentedButtons.mdx index 36496a7c1b..fbd734c612 100644 --- a/docs/versioned_docs/version-6.x/components/SegmentedButtons/SegmentedButtons.mdx +++ b/docs/6.x/docs/components/SegmentedButtons/SegmentedButtons.mdx @@ -2,19 +2,19 @@ title: SegmentedButtons --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Segmented buttons can be used to select options, switch views or sort elements. - - + + ## Usage ```js @@ -59,42 +59,42 @@ export default MyComponent; ## Props - - + +
-### buttons (required) +### buttons (required)
- + - +
-### density +### density
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - - + + @@ -102,6 +102,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/SegmentedButtons/_meta.json b/docs/6.x/docs/components/SegmentedButtons/_meta.json new file mode 100644 index 0000000000..85b4317790 --- /dev/null +++ b/docs/6.x/docs/components/SegmentedButtons/_meta.json @@ -0,0 +1,3 @@ +[ + "SegmentedButtons" +] diff --git a/docs/versioned_docs/version-6.x/components/Snackbar.mdx b/docs/6.x/docs/components/Snackbar.mdx similarity index 81% rename from docs/versioned_docs/version-6.x/components/Snackbar.mdx rename to docs/6.x/docs/components/Snackbar.mdx index 66581f61fc..f9ab14a337 100644 --- a/docs/versioned_docs/version-6.x/components/Snackbar.mdx +++ b/docs/6.x/docs/components/Snackbar.mdx @@ -2,11 +2,11 @@ title: Snackbar --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Snackbars provide brief feedback about an operation through a message rendered at the bottom of the container in which it's wrapped. @@ -15,8 +15,8 @@ Note: To display it as a popup, regardless of the parent's position, wrap it wit - - + + ## Usage ```js @@ -62,157 +62,157 @@ export default MyComponent; ## Props - - + +
-### visible (required) +### visible (required)
- + - +
-### action +### action
- + - +
### icon Available in v5.x with theme version 3
- + - +
-### onIconPress +### onIconPress
- + - +
### iconAccessibilityLabel Available in v5.x with theme version 3
- + - +
-### duration +### duration
- + - +
-### onDismiss (required) +### onDismiss (required)
- + - +
-### children (required) +### children (required)
- + - +
### elevation Available in v5.x with theme version 3
- + - +
-### maxFontSizeMultiplier +### maxFontSizeMultiplier
- + - +
-### wrapperStyle +### wrapperStyle
- + - +
-### contentStyle +### contentStyle
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - - + + ## More Examples
Toggle to grab more examples
- + ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Surface.mdx b/docs/6.x/docs/components/Surface.mdx similarity index 80% rename from docs/versioned_docs/version-6.x/components/Surface.mdx rename to docs/6.x/docs/components/Surface.mdx index e70b85c42e..841a74e3e4 100644 --- a/docs/versioned_docs/version-6.x/components/Surface.mdx +++ b/docs/6.x/docs/components/Surface.mdx @@ -2,11 +2,11 @@ title: Surface --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Surface is a basic container that can give depth to an element with elevation shadow. On dark theme with `adaptive` mode, surface is constructed by also placing a semi-transparent white overlay over a component surface. @@ -16,8 +16,8 @@ Overlay and shadow can be applied by specifying the `elevation` property both on - - + + ## Usage ```js @@ -47,66 +47,66 @@ const styles = StyleSheet.create({ ## Props - - + +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
### elevation Available in v5.x with theme version 3
- + - +
### mode Available in v5.x with theme version 3
- + - +
-### theme +### theme
- + - +
-### testID +### testID
- + - +
-### ref +### ref
- + - - + + @@ -114,6 +114,6 @@ const styles = StyleSheet.create({ ## Theme colors - + diff --git a/docs/versioned_docs/version-6.x/components/Switch/Switch.mdx b/docs/6.x/docs/components/Switch/Switch.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/Switch/Switch.mdx rename to docs/6.x/docs/components/Switch/Switch.mdx index 12d997fa26..460b34024b 100644 --- a/docs/versioned_docs/version-6.x/components/Switch/Switch.mdx +++ b/docs/6.x/docs/components/Switch/Switch.mdx @@ -2,19 +2,19 @@ title: Switch --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Material 3 toggle between two mutually exclusive states (on / off). - - + + ## Usage ```js @@ -41,82 +41,82 @@ Customize by overriding these `theme.colors` roles: ## Props - - + +
-### value +### value
- + - +
-### onValueChange +### onValueChange
- + - +
-### disabled +### disabled
- + - +
-### checkedIcon +### checkedIcon
- + - +
-### uncheckedIcon +### uncheckedIcon
- + - +
-### style +### style
- + - +
-### testID +### testID
- + - +
-### theme +### theme
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - - + + diff --git a/docs/6.x/docs/components/Switch/_meta.json b/docs/6.x/docs/components/Switch/_meta.json new file mode 100644 index 0000000000..3bc6b9e49c --- /dev/null +++ b/docs/6.x/docs/components/Switch/_meta.json @@ -0,0 +1,3 @@ +[ + "Switch" +] diff --git a/docs/versioned_docs/version-6.x/components/Text/Text.mdx b/docs/6.x/docs/components/Text/Text.mdx similarity index 78% rename from docs/versioned_docs/version-6.x/components/Text/Text.mdx rename to docs/6.x/docs/components/Text/Text.mdx index 076a690898..2e38542594 100644 --- a/docs/versioned_docs/version-6.x/components/Text/Text.mdx +++ b/docs/6.x/docs/components/Text/Text.mdx @@ -2,19 +2,19 @@ title: Text --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Typography component showing styles complied with passed `variant` prop and supported by the type system. - - + + ## Usage ```js @@ -55,48 +55,48 @@ export default MyComponent; ### Text props - +
### variant Available in v5.x with theme version 3
- + - +
-### children (required) +### children (required)
- + - +
-### theme +### theme
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - - + + @@ -104,6 +104,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/Text/_meta.json b/docs/6.x/docs/components/Text/_meta.json new file mode 100644 index 0000000000..2837ff31af --- /dev/null +++ b/docs/6.x/docs/components/Text/_meta.json @@ -0,0 +1,3 @@ +[ + "Text" +] diff --git a/docs/versioned_docs/version-6.x/components/TextInput/TextInput.mdx b/docs/6.x/docs/components/TextInput/TextInput.mdx similarity index 79% rename from docs/versioned_docs/version-6.x/components/TextInput/TextInput.mdx rename to docs/6.x/docs/components/TextInput/TextInput.mdx index 1928ab0072..5a3fb96042 100644 --- a/docs/versioned_docs/version-6.x/components/TextInput/TextInput.mdx +++ b/docs/6.x/docs/components/TextInput/TextInput.mdx @@ -2,11 +2,11 @@ title: TextInput --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A text input lets users enter and edit text. It shows an optional floating label, supports `filled` and `outlined` variants, optional supporting text (including @@ -15,8 +15,8 @@ error state), and start/end accessories. - - + + ## Usage ```js @@ -63,112 +63,112 @@ export default MyComponent; ### TextInput props - +
-### ref +### ref
- + - +
-### variant +### variant
- + - +
-### error +### error
- + - +
-### label +### label
- + - +
-### supportingText +### supportingText
- + - +
-### counter +### counter
- + - +
-### disabled +### disabled
- + - +
-### prefix +### prefix
- + - +
-### suffix +### suffix
- + - +
-### theme +### theme
- + - +
-### startAccessory +### startAccessory
- + - +
-### endAccessory +### endAccessory
- + - +
-### render +### render
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/TextInput/TextInputIcon.mdx b/docs/6.x/docs/components/TextInput/TextInputIcon.mdx similarity index 75% rename from docs/versioned_docs/version-6.x/components/TextInput/TextInputIcon.mdx rename to docs/6.x/docs/components/TextInput/TextInputIcon.mdx index 96271b8578..9076293c9f 100644 --- a/docs/versioned_docs/version-6.x/components/TextInput/TextInputIcon.mdx +++ b/docs/6.x/docs/components/TextInput/TextInputIcon.mdx @@ -2,11 +2,11 @@ title: TextInput.Icon --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A component to render a leading / trailing icon in the TextInput (return it from `startAccessory` or `endAccessory`). Accepts icon-specific props as well as @@ -53,40 +53,40 @@ export default MyComponent; ### IconButton props - +
-### style (required) +### style (required)
- + - +
-### multiline (required) +### multiline (required)
- + - +
-### disabled (required) +### disabled (required)
- + - +
-### error (required) +### error (required)
- + - - + + diff --git a/docs/6.x/docs/components/TextInput/_meta.json b/docs/6.x/docs/components/TextInput/_meta.json new file mode 100644 index 0000000000..0d94a124d7 --- /dev/null +++ b/docs/6.x/docs/components/TextInput/_meta.json @@ -0,0 +1,4 @@ +[ + "TextInput", + "TextInputIcon" +] diff --git a/docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButton.mdx b/docs/6.x/docs/components/ToggleButton/ToggleButton.mdx similarity index 75% rename from docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButton.mdx rename to docs/6.x/docs/components/ToggleButton/ToggleButton.mdx index 990a014737..a0dca55b21 100644 --- a/docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButton.mdx +++ b/docs/6.x/docs/components/ToggleButton/ToggleButton.mdx @@ -2,11 +2,11 @@ title: ToggleButton --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Toggle buttons can be used to group related options. To emphasize groups of related toggle buttons, a group should share a common container. @@ -14,8 +14,8 @@ a group should share a common container. - - + + ## Usage ```js @@ -46,106 +46,106 @@ export default ToggleButtonExample; ## Props - - + +
-### icon (required) +### icon (required)
- + - +
-### size +### size
- + - +
-### iconColor +### iconColor
- + - +
-### disabled +### disabled
- + - +
-### accessibilityLabel +### accessibilityLabel
- + - +
-### onPress +### onPress
- + - +
-### value +### value
- + - +
-### status +### status
- + - +
-### style +### style
- + - +
-### theme +### theme
- + - +
-### ref +### ref
- + - +
-### testID +### testID
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButtonGroup.mdx b/docs/6.x/docs/components/ToggleButton/ToggleButtonGroup.mdx similarity index 70% rename from docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButtonGroup.mdx rename to docs/6.x/docs/components/ToggleButton/ToggleButtonGroup.mdx index e29c66ad41..efc0aa4037 100644 --- a/docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButtonGroup.mdx +++ b/docs/6.x/docs/components/ToggleButton/ToggleButtonGroup.mdx @@ -2,11 +2,11 @@ title: ToggleButton.Group --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Toggle group allows to control a group of toggle buttons. It doesn't change the appearance of the toggle buttons. If you want to group them in a row, check out [ToggleButton.Row](ToggleButtonRow). @@ -14,8 +14,8 @@ It doesn't change the appearance of the toggle buttons. If you want to group the - - + + ## Usage ```js @@ -42,34 +42,34 @@ export default MyComponent; ## Props - - + +
-### onValueChange (required) +### onValueChange (required)
- + - +
-### value (required) +### value (required)
- + - +
-### children (required) +### children (required)
- + - - + + diff --git a/docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButtonRow.mdx b/docs/6.x/docs/components/ToggleButton/ToggleButtonRow.mdx similarity index 68% rename from docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButtonRow.mdx rename to docs/6.x/docs/components/ToggleButton/ToggleButtonRow.mdx index 8ef840854d..7274440515 100644 --- a/docs/versioned_docs/version-6.x/components/ToggleButton/ToggleButtonRow.mdx +++ b/docs/6.x/docs/components/ToggleButton/ToggleButtonRow.mdx @@ -2,19 +2,19 @@ title: ToggleButton.Row --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Toggle button row renders a group of toggle buttons in a row. - - + + ## Usage ```js @@ -39,42 +39,42 @@ export default MyComponent; ## Props - - + +
-### onValueChange (required) +### onValueChange (required)
- + - +
-### value (required) +### value (required)
- + - +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - - + + diff --git a/docs/6.x/docs/components/ToggleButton/_meta.json b/docs/6.x/docs/components/ToggleButton/_meta.json new file mode 100644 index 0000000000..935c2b9584 --- /dev/null +++ b/docs/6.x/docs/components/ToggleButton/_meta.json @@ -0,0 +1,5 @@ +[ + "ToggleButton", + "ToggleButtonGroup", + "ToggleButtonRow" +] diff --git a/docs/versioned_docs/version-6.x/components/Tooltip/Tooltip.mdx b/docs/6.x/docs/components/Tooltip/Tooltip.mdx similarity index 69% rename from docs/versioned_docs/version-6.x/components/Tooltip/Tooltip.mdx rename to docs/6.x/docs/components/Tooltip/Tooltip.mdx index 840879f1b8..2e4cc57fe8 100644 --- a/docs/versioned_docs/version-6.x/components/Tooltip/Tooltip.mdx +++ b/docs/6.x/docs/components/Tooltip/Tooltip.mdx @@ -2,11 +2,11 @@ title: Tooltip --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; Tooltips display informative text when users hover over, focus on, or tap an element. @@ -15,8 +15,8 @@ Plain tooltips, when activated, display a text label identifying an element, suc - - + + ## Usage ```js @@ -35,58 +35,58 @@ export default MyComponent; ## Props - - + +
-### children (required) +### children (required)
- + - +
-### enterTouchDelay +### enterTouchDelay
- + - +
-### leaveTouchDelay +### leaveTouchDelay
- + - +
-### title (required) +### title (required)
- + - +
-### titleMaxFontSizeMultiplier +### titleMaxFontSizeMultiplier
- + - +
-### theme +### theme
- + - - + + @@ -94,6 +94,6 @@ export default MyComponent; ## Theme colors - + diff --git a/docs/6.x/docs/components/Tooltip/_meta.json b/docs/6.x/docs/components/Tooltip/_meta.json new file mode 100644 index 0000000000..c39a54301f --- /dev/null +++ b/docs/6.x/docs/components/Tooltip/_meta.json @@ -0,0 +1,3 @@ +[ + "Tooltip" +] diff --git a/docs/versioned_docs/version-6.x/components/TouchableRipple/TouchableRipple.mdx b/docs/6.x/docs/components/TouchableRipple/TouchableRipple.mdx similarity index 76% rename from docs/versioned_docs/version-6.x/components/TouchableRipple/TouchableRipple.mdx rename to docs/6.x/docs/components/TouchableRipple/TouchableRipple.mdx index c94b4f9b64..ba5c8bfcc4 100644 --- a/docs/versioned_docs/version-6.x/components/TouchableRipple/TouchableRipple.mdx +++ b/docs/6.x/docs/components/TouchableRipple/TouchableRipple.mdx @@ -2,11 +2,11 @@ title: TouchableRipple --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; A wrapper for views that should respond to touches. Provides a material "ink ripple" interaction effect for supported platforms (>= Android Lollipop). @@ -15,8 +15,8 @@ On unsupported platforms, it falls back to a highlight effect. - - + + ## Usage ```js @@ -43,120 +43,120 @@ export default MyComponent; ### Pressable props - +
-### borderless +### borderless
- + - +
-### background +### background
- + - +
-### centered +### centered
- + - +
-### disabled +### disabled
- + - +
-### onPress +### onPress
- + - +
-### onLongPress +### onLongPress
- + - +
-### onPressIn +### onPressIn
- + - +
-### onPressOut +### onPressOut
- + - +
-### rippleColor +### rippleColor
- + - +
-### underlayColor +### underlayColor
- + - +
-### children (required) +### children (required)
- + - +
-### style +### style
- + - +
-### ref +### ref
- + - +
-### theme +### theme
- + - - + + diff --git a/docs/6.x/docs/components/TouchableRipple/_meta.json b/docs/6.x/docs/components/TouchableRipple/_meta.json new file mode 100644 index 0000000000..91b70a001b --- /dev/null +++ b/docs/6.x/docs/components/TouchableRipple/_meta.json @@ -0,0 +1,3 @@ +[ + "TouchableRipple" +] diff --git a/docs/6.x/docs/components/_meta.json b/docs/6.x/docs/components/_meta.json new file mode 100644 index 0000000000..6f793d41a3 --- /dev/null +++ b/docs/6.x/docs/components/_meta.json @@ -0,0 +1,173 @@ +[ + "ActivityIndicator", + { + "type": "dir", + "name": "Appbar", + "label": "Appbar", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Avatar", + "label": "Avatar", + "collapsible": true, + "collapsed": false + }, + "Badge", + "Banner", + { + "type": "dir", + "name": "BottomNavigation", + "label": "BottomNavigation", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Button", + "label": "Button", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Card", + "label": "Card", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Checkbox", + "label": "Checkbox", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Chip", + "label": "Chip", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "DataTable", + "label": "DataTable", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Dialog", + "label": "Dialog", + "collapsible": true, + "collapsed": false + }, + "Divider", + { + "type": "dir", + "name": "Drawer", + "label": "Drawer", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "FAB", + "label": "FAB", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "IconButton", + "label": "IconButton", + "collapsible": true, + "collapsed": false + }, + "Icon", + { + "type": "dir", + "name": "List", + "label": "List", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Menu", + "label": "Menu", + "collapsible": true, + "collapsed": false + }, + "Modal", + { + "type": "dir", + "name": "Portal", + "label": "Portal", + "collapsible": true, + "collapsed": false + }, + "ProgressBar", + { + "type": "dir", + "name": "RadioButton", + "label": "RadioButton", + "collapsible": true, + "collapsed": false + }, + "Searchbar", + { + "type": "dir", + "name": "SegmentedButtons", + "label": "SegmentedButtons", + "collapsible": true, + "collapsed": false + }, + "Snackbar", + "Surface", + { + "type": "dir", + "name": "Switch", + "label": "Switch", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "TextInput", + "label": "TextInput", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "ToggleButton", + "label": "ToggleButton", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Tooltip", + "label": "Tooltip", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "TouchableRipple", + "label": "TouchableRipple", + "collapsible": true, + "collapsed": false + }, + { + "type": "dir", + "name": "Text", + "label": "Text", + "collapsible": true, + "collapsed": false + } +] diff --git a/docs/6.x/docs/guides/_meta.json b/docs/6.x/docs/guides/_meta.json new file mode 100644 index 0000000000..11525283c4 --- /dev/null +++ b/docs/6.x/docs/guides/_meta.json @@ -0,0 +1,15 @@ +[ + "getting-started", + "theming", + "icons", + "fonts", + "react-native-web", + "recommended-libraries", + "contributing", + "theming-with-react-navigation", + "bottom-navigation", + "react-navigation", + "rtl", + "ripple-effect", + "migration" +] diff --git a/docs/versioned_docs/version-6.x/guides/09-bottom-navigation.md b/docs/6.x/docs/guides/bottom-navigation.md similarity index 100% rename from docs/versioned_docs/version-6.x/guides/09-bottom-navigation.md rename to docs/6.x/docs/guides/bottom-navigation.md diff --git a/docs/versioned_docs/version-6.x/guides/07-contributing.mdx b/docs/6.x/docs/guides/contributing.mdx similarity index 100% rename from docs/versioned_docs/version-6.x/guides/07-contributing.mdx rename to docs/6.x/docs/guides/contributing.mdx diff --git a/docs/versioned_docs/version-6.x/guides/04-fonts.md b/docs/6.x/docs/guides/fonts.md similarity index 54% rename from docs/versioned_docs/version-6.x/guides/04-fonts.md rename to docs/6.x/docs/guides/fonts.md index 5e8e435c0a..94a8eb40fe 100644 --- a/docs/versioned_docs/version-6.x/guides/04-fonts.md +++ b/docs/6.x/docs/guides/fonts.md @@ -8,40 +8,39 @@ title: Fonts The easiest way to install custom fonts to your RN project is do as follows: - 1. Define path to assets directory with fonts in project: +1. Define path to assets directory with fonts in project: - Example: +Example: - ```js - module.exports = { - ... - assets: [ - './assets/fonts' - ], - ``` +```js + module.exports = { + ... + assets: [ + './assets/fonts' + ], +``` :::note `fonts` is a folder with `.ttf` files ::: - 2. Place your font files in your assets directory. - - 3. Link font files, using the following command in the terminal: +2. Place your font files in your assets directory. - * React Native `>= 0.69`: +3. Link font files, using the following command in the terminal: - ```sh - npx react-native-asset - ``` +- React Native `>= 0.69`: - * React Native `< 0.69`: +```sh +npx react-native-asset +``` - ```sh - npx react-native link - ``` +- React Native `< 0.69`: +```sh +npx react-native link +``` - 4. Restart your project to refresh changes. +4. Restart your project to refresh changes. Now, you are able to use `fontFamily` from font files. @@ -67,234 +66,235 @@ Platform.select({ default: 'sans-serif', // and 'sans-serif-medium' for `fontWeight:"500"` }), ``` + ::: -* #### Display +- #### Display
- ```json - "displaySmall": { - "fontFamily": "Font", - "fontSize": 36, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 44, - } - ``` +```json +"displaySmall": { + "fontFamily": "Font", + "fontSize": 36, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 44, +} +```
- ```json - "displayMedium": { - "fontFamily": "Font", - "fontSize": 45, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 52, - } - ``` +```json +"displayMedium": { + "fontFamily": "Font", + "fontSize": 45, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 52, +} +```
- ```json - "displayLarge": { - "fontFamily": "Font", - "fontSize": 57, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 64, - } - ``` +```json +"displayLarge": { + "fontFamily": "Font", + "fontSize": 57, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 64, +} +```
-* #### Headline +- #### Headline
- ```json - "headlineSmall": { - "fontFamily": "Font", - "fontSize": 24, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 32, - } - ``` +```json +"headlineSmall": { + "fontFamily": "Font", + "fontSize": 24, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 32, +} +```
- ```json - "headlineMedium": { - "fontFamily": "Font", - "fontSize": 28, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 36, - } - ``` +```json +"headlineMedium": { + "fontFamily": "Font", + "fontSize": 28, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 36, +} +```
- ```json - "headlineLarge": { - "fontFamily": "Font", - "fontSize": 32, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 40, - } - ``` +```json +"headlineLarge": { + "fontFamily": "Font", + "fontSize": 32, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 40, +} +```
-* #### Title +- #### Title
- ```json - "titleSmall": { - "fontFamily": "Font", - "fontSize": 14, - "fontWeight": "500", - "letterSpacing": 0.1, - "lineHeight": 20, - } - ``` +```json +"titleSmall": { + "fontFamily": "Font", + "fontSize": 14, + "fontWeight": "500", + "letterSpacing": 0.1, + "lineHeight": 20, +} +```
- ```json - "titleMedium": { - "fontFamily": "Font", - "fontSize": 16, - "fontWeight": "500", - "letterSpacing": 0.15, - "lineHeight": 24, - } - ``` +```json +"titleMedium": { + "fontFamily": "Font", + "fontSize": 16, + "fontWeight": "500", + "letterSpacing": 0.15, + "lineHeight": 24, +} +```
- ```json - "titleLarge": { - "fontFamily": "Font", - "fontSize": 22, - "fontWeight": "400", - "letterSpacing": 0, - "lineHeight": 28, - } - ``` +```json +"titleLarge": { + "fontFamily": "Font", + "fontSize": 22, + "fontWeight": "400", + "letterSpacing": 0, + "lineHeight": 28, +} +```
-* #### Label +- #### Label
- ```json - "labelSmall": { - "fontFamily": "Font", - "fontSize": 11, - "fontWeight": "500", - "letterSpacing": 0.5, - "lineHeight": 16, - } - ``` +```json +"labelSmall": { + "fontFamily": "Font", + "fontSize": 11, + "fontWeight": "500", + "letterSpacing": 0.5, + "lineHeight": 16, +} +```
- ```json - "labelMedium": { - "fontFamily": "Font", - "fontSize": 12, - "fontWeight": "500", - "letterSpacing": 0.5, - "lineHeight": 16, - } - ``` +```json +"labelMedium": { + "fontFamily": "Font", + "fontSize": 12, + "fontWeight": "500", + "letterSpacing": 0.5, + "lineHeight": 16, +} +```
- ```json - "labelLarge": { - "fontFamily": "Font", - "fontSize": 14, - "fontWeight": "500", - "letterSpacing": 0.1, - "lineHeight": 20, - } - ``` +```json +"labelLarge": { + "fontFamily": "Font", + "fontSize": 14, + "fontWeight": "500", + "letterSpacing": 0.1, + "lineHeight": 20, +} +```
-* #### Body +- #### Body
- ```json - "bodySmall": { - "fontFamily": "Font", - "fontSize": 12, - "fontWeight": "400", - "letterSpacing": 0.4, - "lineHeight": 16, - } - ``` +```json +"bodySmall": { + "fontFamily": "Font", + "fontSize": 12, + "fontWeight": "400", + "letterSpacing": 0.4, + "lineHeight": 16, +} +```
- ```json - "bodyMedium": { - "fontFamily": "Font", - "fontSize": 14, - "fontWeight": "400", - "letterSpacing": 0.25, - "lineHeight": 20, - } - ``` +```json +"bodyMedium": { + "fontFamily": "Font", + "fontSize": 14, + "fontWeight": "400", + "letterSpacing": 0.25, + "lineHeight": 20, +} +```
- ```json - "bodyLarge": { - "fontFamily": "Font", - "fontSize": 16, - "fontWeight": "400", - "letterSpacing": 0.15, - "lineHeight": 24, - } - ``` +```json +"bodyLarge": { + "fontFamily": "Font", + "fontSize": 16, + "fontWeight": "400", + "letterSpacing": 0.15, + "lineHeight": 24, +} +```
@@ -309,16 +309,21 @@ If any component uses Paper's `Text` component, without specified variant "letterSpacing": 0, }, ``` + ::: #### Using `configureFonts` helper -* If there is a need to create a custom font variant, prepare its config object including required all fonts properties. After that, defined `fontConfig` has to be passed under the `variant` name as `config` into the params object: +- If there is a need to create a custom font variant, prepare its config object including required all fonts properties. After that, defined `fontConfig` has to be passed under the `variant` name as `config` into the params object: ```js import * as React from 'react'; -import { configureFonts, MD3LightTheme, PaperProvider } from 'react-native-paper'; -import App from './src/App'; +import { + configureFonts, + MD3LightTheme, + PaperProvider, +} from 'react-native-paper'; +import App from './App'; const fontConfig = { customVariant: { @@ -331,12 +336,12 @@ const fontConfig = { letterSpacing: 0.5, lineHeight: 22, fontSize: 20, - } + }, }; const theme = { ...MD3LightTheme, - fonts: configureFonts({config: fontConfig}), + fonts: configureFonts({ config: fontConfig }), }; export default function Main() { @@ -351,31 +356,34 @@ export default function Main() { If you're using TypeScript you will need to create a custom `Text` component which accepts your custom variants: ```typescript -import { customText } from 'react-native-paper' +import { customText } from 'react-native-paper'; // Use this instead of importing `Text` from `react-native-paper` -export const Text = customText<'customVariant'>() +export const Text = customText<'customVariant'>(); ``` - -* In order to override one of the available `variant`'s font properties, pass the modified `fontConfig` under specific `variant` name as `config` into the params object: +- In order to override one of the available `variant`'s font properties, pass the modified `fontConfig` under specific `variant` name as `config` into the params object: ```js import * as React from 'react'; -import { configureFonts, MD3LightTheme, PaperProvider } from 'react-native-paper'; -import App from './src/App'; +import { + configureFonts, + MD3LightTheme, + PaperProvider, +} from 'react-native-paper'; +import App from './App'; const fontConfig = { bodyLarge: { letterSpacing: 0.5, lineHeight: 22, fontSize: 20, - } + }, }; const theme = { ...MD3LightTheme, - fonts: configureFonts({config: fontConfig}), + fonts: configureFonts({ config: fontConfig }), }; export default function Main() { @@ -387,20 +395,24 @@ export default function Main() { } ``` -* However, if you just want to override any font property e.g. `fontFamily` or `letterSpacing` for all variants, you can pass the `fontConfig` as a `config` into the params object without specifying variant name: +- However, if you just want to override any font property e.g. `fontFamily` or `letterSpacing` for all variants, you can pass the `fontConfig` as a `config` into the params object without specifying variant name: ```js import * as React from 'react'; -import { configureFonts, MD3LightTheme, PaperProvider } from 'react-native-paper'; -import App from './src/App'; +import { + configureFonts, + MD3LightTheme, + PaperProvider, +} from 'react-native-paper'; +import App from './App'; const fontConfig = { - fontFamily: 'NotoSans' + fontFamily: 'NotoSans', }; const theme = { ...MD3LightTheme, - fonts: configureFonts({config: fontConfig}), + fonts: configureFonts({ config: fontConfig }), }; export default function Main() { @@ -412,17 +424,16 @@ export default function Main() { } ``` - ## Variable fonts -Although React Native Paper supports `fontWeight` and `fontStyle` properties, there are multiple limitations to custom -fonts in React Native. Using custom [variable fonts](https://fonts.google.com/knowledge/introducing_type/introducing_variable_fonts) +Although React Native Paper supports `fontWeight` and `fontStyle` properties, there are multiple limitations to custom +fonts in React Native. Using custom [variable fonts](https://fonts.google.com/knowledge/introducing_type/introducing_variable_fonts) is especially problematic, with some platforms failing to render variants entirely. To ensure correct typography in your -app, we suggest installing each font variant as a separate file. Below you'll find example on how to set up React Native Paper -theme with custom fonts. +app, we suggest installing each font variant as a separate file. Below you'll find example on how to set up React Native Paper +theme with custom fonts. Should you decide to use a variable font anyway, second example will show you how to test if the font is rendered correctly in React Native on all platforms. - +
Variable fonts examples
    diff --git a/docs/versioned_docs/version-6.x/guides/01-getting-started.mdx b/docs/6.x/docs/guides/getting-started.mdx similarity index 98% rename from docs/versioned_docs/version-6.x/guides/01-getting-started.mdx rename to docs/6.x/docs/guides/getting-started.mdx index 53c3c3519e..f5c438c080 100644 --- a/docs/versioned_docs/version-6.x/guides/01-getting-started.mdx +++ b/docs/6.x/docs/guides/getting-started.mdx @@ -2,8 +2,8 @@ title: Getting Started --- -import TabItem from '@theme/TabItem'; -import Tabs from '@theme/Tabs'; +import TabItem from '@docs/components/TabItem'; +import Tabs from '@docs/components/Tabs'; # Getting Started diff --git a/docs/versioned_docs/version-6.x/guides/03-icons.mdx b/docs/6.x/docs/guides/icons.mdx similarity index 96% rename from docs/versioned_docs/version-6.x/guides/03-icons.mdx rename to docs/6.x/docs/guides/icons.mdx index 5b6b4ba724..813678733d 100644 --- a/docs/versioned_docs/version-6.x/guides/03-icons.mdx +++ b/docs/6.x/docs/guides/icons.mdx @@ -2,15 +2,15 @@ title: Icons --- -import TabItem from '@theme/TabItem'; -import Tabs from '@theme/Tabs'; -import IconsList from '@site/src/components/IconsList.tsx'; +import TabItem from '@docs/components/TabItem'; +import Tabs from '@docs/components/Tabs'; +import IconsList from '@docs/components/IconsList.tsx'; # Icons ## Configuring icons -Many of the components render icon names using [`@react-native-vector-icons/material-design-icons`](https://github.com/oblador/react-native-vector-icons/tree/master/packages/material-design-icons). In Expo projects this usually works without extra setup. In vanilla React Native projects, install the package and complete any required platform setup as described in the [getting started guide](./01-getting-started.mdx). +Many of the components render icon names using [`@react-native-vector-icons/material-design-icons`](https://github.com/oblador/react-native-vector-icons/tree/master/packages/material-design-icons). In Expo projects this usually works without extra setup. In vanilla React Native projects, install the package and complete any required platform setup as described in the [getting started guide](./getting-started). :::note If you opted out of vector icons support using [babel-plugin-optional-require](https://github.com/satya164/babel-plugin-optional-require), you won't be able to use icon names for the icon prop. Some components may not look correct without vector icons and might need extra configuration. diff --git a/docs/versioned_docs/version-6.x/guides/12-migration.md b/docs/6.x/docs/guides/migration.md similarity index 100% rename from docs/versioned_docs/version-6.x/guides/12-migration.md rename to docs/6.x/docs/guides/migration.md diff --git a/docs/versioned_docs/version-6.x/guides/05-react-native-web.md b/docs/6.x/docs/guides/react-native-web.md similarity index 92% rename from docs/versioned_docs/version-6.x/guides/05-react-native-web.md rename to docs/6.x/docs/guides/react-native-web.md index 747fee8b05..9b9d4e075f 100644 --- a/docs/versioned_docs/version-6.x/guides/05-react-native-web.md +++ b/docs/6.x/docs/guides/react-native-web.md @@ -6,7 +6,7 @@ title: Using on the Web React Native Paper supports web via [React Native for Web](https://necolas.github.io/react-native-web/), which lets you run React Native components in a browser using React DOM. -Before continuing, make sure you have React Native Paper installed and configured by following the [Getting Started guide](01-getting-started.mdx). +Before continuing, make sure you have React Native Paper installed and configured by following the [Getting Started guide](getting-started). ## Setting up web support with Expo @@ -33,7 +33,8 @@ You will also need to manually load the Material Design icon font used by Paper. ```css @font-face { font-family: 'MaterialDesignIcons'; - src: url('~@react-native-vector-icons/material-design-icons/fonts/MaterialDesignIcons.ttf') format('truetype'); + src: url('~@react-native-vector-icons/material-design-icons/fonts/MaterialDesignIcons.ttf') + format('truetype'); } ``` diff --git a/docs/versioned_docs/version-6.x/guides/09-react-navigation.md b/docs/6.x/docs/guides/react-navigation.md similarity index 93% rename from docs/versioned_docs/version-6.x/guides/09-react-navigation.md rename to docs/6.x/docs/guides/react-navigation.md index 5ea5d556fa..6c01200f11 100644 --- a/docs/versioned_docs/version-6.x/guides/09-react-navigation.md +++ b/docs/6.x/docs/guides/react-navigation.md @@ -6,14 +6,14 @@ title: Integrate AppBar with React Navigation ## Prerequisites - - `react-native-paper` - - `react-navigation` +- `react-native-paper` +- `react-navigation` We assume that you have already installed the mentioned libraries above, otherwise please check out the guides below. - [React Native Paper - Getting Started](https://callstack.github.io/react-native-paper/docs/guides/getting-started) +[React Native Paper - Getting Started](https://callstack.github.io/react-native-paper/docs/guides/getting-started) - [React Navigation - Getting Started](https://reactnavigation.org/docs/getting-started/) +[React Navigation - Getting Started](https://reactnavigation.org/docs/getting-started/) ## Stack Navigator @@ -46,7 +46,7 @@ At the moment our navigation stack contains two screens and will render `HomeScr ```js import React from 'react'; -import {View, Text, Button, StyleSheet} from 'react-native'; +import { View, Text, Button, StyleSheet } from 'react-native'; function HomeScreen() { return ( @@ -120,7 +120,8 @@ export default function App() { initialRouteName="Home" screenOptions={{ header: (props) => , - }}> + }} + > @@ -169,7 +170,12 @@ In order to achieve it, we firstly check, if the navigation bar receives a `back import { Appbar } from 'react-native-paper'; import { getHeaderTitle } from '@react-navigation/elements'; -export default function CustomNavigationBar({ navigation, route, options, back }) { +export default function CustomNavigationBar({ + navigation, + route, + options, + back, +}) { const title = getHeaderTitle(options, route.name); return ( @@ -186,6 +192,7 @@ export default function CustomNavigationBar({ navigation, route, options, back } ### Adding more items to `Appbar` Another interesting pattern that can be implemented with `react-native-paper` and `react-navigation` is a "menu" button. Thanks to the `Menu` component we can add a nice looking pop-up to our `Appbar`. To implement this feature we need to make a couple of changes in `CustomNavigationBar`: + - Render a `Menu` component - Pass `Appbar.Action` to the anchor prop - Add a state to control `Menu` visibility @@ -204,13 +211,15 @@ import { PaperProvider } from 'react-native-paper'; initialRouteName="Home" screenOptions={{ header: (props) => , - }}> + }} + > - +; ``` + ::: We also want the menu to appear only on `HomeScreen`, which means we will render it conditionally based on the `back` prop. @@ -240,12 +249,8 @@ export default function CustomNavigationBar({ - }> + anchor={} + > { console.log('Option 1 was pressed'); diff --git a/docs/versioned_docs/version-6.x/guides/06-recommended-libraries.md b/docs/6.x/docs/guides/recommended-libraries.md similarity index 99% rename from docs/versioned_docs/version-6.x/guides/06-recommended-libraries.md rename to docs/6.x/docs/guides/recommended-libraries.md index 7be319cedf..568effba4e 100644 --- a/docs/versioned_docs/version-6.x/guides/06-recommended-libraries.md +++ b/docs/6.x/docs/guides/recommended-libraries.md @@ -24,13 +24,14 @@ An implementation of the [bottom sheet behaviour](https://material.io/design/com [gorhom/react-native-bottom-sheet](https://github.com/gorhom/react-native-bottom-sheet) An implementation of the [bottom sheet behaviour](https://material.io/design/components/sheets-bottom.html), maintained by [@Gorhom](https://twitter.com/Gorhom). - ## Date Picker + [web-ridge/react-native-paper-dates](https://github.com/web-ridge/react-native-paper-dates) Material Design themed [date picker](https://material.io/components/date-pickers), maintained by [@RichardLindhout](https://twitter.com/RichardLindhout) - + [react-native-community/react-native-datetimepicker](https://github.com/react-native-community/react-native-datetimepicker) ## Time Picker + [web-ridge/react-native-paper-dates](https://github.com/web-ridge/react-native-paper-dates) Material Design themed [time picker](https://material.io/components/time-pickers), maintained by [@RichardLindhout](https://twitter.com/RichardLindhout) diff --git a/docs/versioned_docs/version-5.x/guides/11-ripple-effect.md b/docs/6.x/docs/guides/ripple-effect.md similarity index 99% rename from docs/versioned_docs/version-5.x/guides/11-ripple-effect.md rename to docs/6.x/docs/guides/ripple-effect.md index 31845060d7..e6f6e503ef 100644 --- a/docs/versioned_docs/version-5.x/guides/11-ripple-effect.md +++ b/docs/6.x/docs/guides/ripple-effect.md @@ -40,6 +40,3 @@ import { Provider as PaperProvider } from 'react-native-paper'; // ... ``` - - - diff --git a/docs/versioned_docs/version-6.x/guides/10-rtl.md b/docs/6.x/docs/guides/rtl.md similarity index 98% rename from docs/versioned_docs/version-6.x/guides/10-rtl.md rename to docs/6.x/docs/guides/rtl.md index 796ec3595c..7a3bb1bb51 100644 --- a/docs/versioned_docs/version-6.x/guides/10-rtl.md +++ b/docs/6.x/docs/guides/rtl.md @@ -38,7 +38,7 @@ Supported values: ```js import * as React from 'react'; import { PaperProvider } from 'react-native-paper'; -import App from './src/App'; +import App from './App'; export default function Main() { return ( diff --git a/docs/versioned_docs/version-6.x/guides/08-theming-with-react-navigation.md b/docs/6.x/docs/guides/theming-with-react-navigation.md similarity index 96% rename from docs/versioned_docs/version-6.x/guides/08-theming-with-react-navigation.md rename to docs/6.x/docs/guides/theming-with-react-navigation.md index aa4f5386ee..06be61e5c8 100644 --- a/docs/versioned_docs/version-6.x/guides/08-theming-with-react-navigation.md +++ b/docs/6.x/docs/guides/theming-with-react-navigation.md @@ -33,10 +33,7 @@ const { LightTheme, DarkTheme } = adaptNavigationTheme({ Library exports also Material Design 3 themes in both modes: ```js -import { - MD3LightTheme, - MD3DarkTheme, -} from 'react-native-paper'; +import { MD3LightTheme, MD3DarkTheme } from 'react-native-paper'; ``` ## Combining theme objects @@ -49,12 +46,7 @@ For React Native Paper theme to work, we need to use `PaperProvider` also at the import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import { TouchableOpacity } from 'react-native'; -import { - Card, - Text, - List, - PaperProvider, -} from 'react-native-paper'; +import { Card, Text, List, PaperProvider } from 'react-native-paper'; const Stack = createNativeStackNavigator(); @@ -100,8 +92,6 @@ export default function App() { } ``` - - Our goal here is to combine those two themes, so that we could control the theme for the entire application from a single place. To make things easier we can use [deepmerge](https://www.npmjs.com/package/deepmerge) package. We can install it with: @@ -275,11 +265,7 @@ const Header = ({ scene }) => { }} > - + ); }; @@ -287,7 +273,7 @@ const Header = ({ scene }) => { And now you can switch between light and dark theme! -![paperGuide1](../../../static/screenshots/themingWithReactNavigationDarkLightSwitch.gif) +![paperGuide1](/react-native-paper/screenshots/themingWithReactNavigationDarkLightSwitch.gif) Thanks to the linking of themes that we did earlier, switching themes can be controlled with only one piece of state. diff --git a/docs/versioned_docs/version-6.x/guides/02-theming.mdx b/docs/6.x/docs/guides/theming.mdx similarity index 98% rename from docs/versioned_docs/version-6.x/guides/02-theming.mdx rename to docs/6.x/docs/guides/theming.mdx index e35a3f1068..261fe128be 100644 --- a/docs/versioned_docs/version-6.x/guides/02-theming.mdx +++ b/docs/6.x/docs/guides/theming.mdx @@ -2,7 +2,7 @@ title: Theming --- -import DynamicColorTheme from '@site/src/components/DynamicColorTheme.tsx'; +import DynamicColorTheme from '@docs/components/DynamicColorTheme.tsx'; # Theming @@ -71,14 +71,12 @@ A theme usually contains the following properties: - `colors` (`object`): various colors used throughout different elements. > The primary key color is used to derive roles for key components across the UI, such as the FAB, prominent buttons, active states, as well as the tint of elevated surfaces. - - `primary` - `onPrimary` - `primaryContainer` - `onPrimaryContainer` > The secondary key color is used for less prominent components in the UI such as filter chips, while expanding the opportunity for color expression. - - `secondary` - `onSecondary` - `secondaryContainer` @@ -87,34 +85,29 @@ A theme usually contains the following properties: > The tertiary key color is used to derive the roles of contrasting accents that can be used to balance primary and secondary colors or bring heightened attention to an element. > The tertiary color role is left for teams to use at their discretion and is intended to support broader color expression in products. - - `tertiary` - `onTertiary` - `tertiaryContainer` - `onTertiaryContainer` > The neutral key color is used to derive the roles of surface and background, as well as high emphasis text and icons. - - `background` - `onBackground` - `surface` - `onSurface` > The neutral variant key color is used to derive medium emphasis text and icons, surface variants, and component outlines. - - `surfaceVariant` - `onSurfaceVariant` - `outline` > In addition to the accent and neutral key color, the color system includes a semantic color role for error - - `error` - `onError` - `errorContainer` - `onErrorContainer` > Surfaces at elevation levels 0-5 are tinted via color overlays based on the primary color, such as app bars or menus. The addition of a grade from 0-5 introduces tonal variation to the surface baseline. - - `elevation` (`object`) - `level0` - transparent - `level1` - 5% opacity @@ -124,12 +117,10 @@ A theme usually contains the following properties: - `level5` - 14% opacity > Colors for disabled state - - `surfaceDisabled` - `onSurfaceDisabled` > These additional role mappings exist in a scheme and are mapped to components where needed. - - `shadow` - `inverseOnSurface` - `inverseSurface` @@ -195,7 +186,7 @@ Created schemes are following the Material Design 3 color system and covering co Passed source color into the util is translated into tones to automatically provide the range of tones that map to color roles. -![customColors](../../../static/screenshots/custom-colors.png) +![customColors](/react-native-paper/screenshots/custom-colors.png) _Source: [Material You Color System](https://m3.material.io/styles/color/the-color-system/custom-colors)_ @@ -340,11 +331,10 @@ By default, TypeScript works well whenever you change the value of the built-in There are two supported ways of overriding the theme: -1. Simple built-in theme overrides - when you only customize the values and - the whole theme schema remains the same -2. Advanced theme overrides - when you add new properties or - change the built-in schema shape - +1. Simple built-in theme overrides - when you only customize the values + and the whole theme schema remains the same +2. Advanced theme overrides - when you add new properties or + change the built-in schema shape :::caution TypeScript support for `withTheme` is currently limited to Material You (MD3) theme only. diff --git a/docs/versioned_docs/version-6.x/showcase.mdx b/docs/6.x/docs/showcase.mdx similarity index 78% rename from docs/versioned_docs/version-6.x/showcase.mdx rename to docs/6.x/docs/showcase.mdx index 7024ab018d..19bce467e3 100644 --- a/docs/versioned_docs/version-6.x/showcase.mdx +++ b/docs/6.x/docs/showcase.mdx @@ -2,7 +2,7 @@ title: Showcase --- -import Showcase from '@site/src/components/Showcase.tsx'; +import Showcase from '@docs/components/Showcase.tsx'; # Who's using Paper? diff --git a/docs/6.x/index.mdx b/docs/6.x/index.mdx new file mode 100644 index 0000000000..91f12670f9 --- /dev/null +++ b/docs/6.x/index.mdx @@ -0,0 +1,38 @@ +--- +pageType: home +hero: + name: Cross-platform Material Design for React Native + tagline: Paper is a collection of customizable and production-ready components for React Native, following Google’s Material Design guidelines. + actions: + - text: Get started + link: /docs/guides/getting-started + theme: brand + - text: Try on Snack + link: https://snack.expo.dev/@react-native-paper/react-native-paper-example_v5 + theme: alt +features: + - title: Production-ready components + details: Buttons, inputs, lists, cards, menus, dialogs, navigation, and feedback patterns built for day-to-day product work. + icon: /react-native-paper/images/home/components.svg + span: 4 + - title: Material You theming + details: Adopt Material 3 color, typography, elevation, and state layers with a theme system designed for real apps. + icon: /react-native-paper/images/home/palette.svg + span: 4 + - title: Accessible by default + details: Common interactions, contrast, and state handling are already baked into the component surface instead of left to each screen. + icon: /react-native-paper/images/home/accessibility.svg + span: 4 + - title: Cross-platform parity + details: Keep design language and component behavior aligned across iOS, Android, and React Native Web from one codebase. + icon: /react-native-paper/images/home/devices.svg + span: 4 + - title: Dark mode support + details: Ship light and dark experiences with the same primitives, including adaptive surfaces and semantic color roles. + icon: /react-native-paper/images/home/moon.svg + span: 4 + - title: Migration-friendly docs + details: Browse stable 5.x, preview 6.x, and legacy static docs from one version selector without splitting the docs experience. + icon: /react-native-paper/images/home/versions.svg + span: 4 +--- diff --git a/docs/README.md b/docs/README.md index aaba2fa1e1..cb95b349af 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,6 @@ # Website -This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. +This website is built using [Rspress](https://rspress.dev/) with the Callstack theme preset. ### Installation @@ -14,7 +14,7 @@ $ yarn $ yarn start ``` -This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. +This command regenerates the versioned content and starts the local Rspress development server. Most changes are reflected live without having to restart the server. ### Build @@ -22,20 +22,4 @@ This command starts a local development server and opens up a browser window. Mo $ yarn build ``` -This command generates static content into the `build` directory and can be served using any static contents hosting service. - -### Deployment - -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. +This command regenerates the versioned content and outputs the production site to the `build` directory. diff --git a/docs/babel.config.js b/docs/babel.config.js deleted file mode 100644 index b36362b0fd..0000000000 --- a/docs/babel.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - presets: ['@docusaurus/core/lib/babel/preset'], - plugins: [ - ['@babel/plugin-transform-react-jsx', { runtime: 'automatic' }], - 'react-native-reanimated/plugin', - ], -}; diff --git a/docs/component-docs-plugin/generatePageMDX.js b/docs/component-docs-plugin/generatePageMDX.ts similarity index 68% rename from docs/component-docs-plugin/generatePageMDX.js rename to docs/component-docs-plugin/generatePageMDX.ts index 5d07def6ef..274f3622d8 100644 --- a/docs/component-docs-plugin/generatePageMDX.js +++ b/docs/component-docs-plugin/generatePageMDX.ts @@ -1,14 +1,32 @@ -const config = require('../docusaurus.config'); +import componentDocsConfig from '../component-docs.config.ts'; -const { baseUrl, customFields } = config; +type ComponentProp = { + description?: string; + required?: boolean; +}; -function renderBadge(annotation) { +export type ComponentDoc = { + title: string; + description: string; + data: { + props: Record; + }; +}; + +type ExtendsAttribute = { + name: string; + link: string; +}; + +const { customFields } = componentDocsConfig; + +function renderBadge(annotation: string) { const [annotType, ...annotLabel] = annotation.split(' '); return `${annotLabel.join(' ')}`; } -function generateKnownIssues(componentName) { +function generateKnownIssues(componentName: string) { const componentKnownIssues = customFields.knownIssues[componentName]; if (!componentKnownIssues) { @@ -36,7 +54,7 @@ function generateKnownIssues(componentName) { `; } -function generateMoreExamples(componentName) { +function generateMoreExamples(componentName: string) { const componentMoreExamples = customFields.moreExamples[componentName]; if (!componentMoreExamples) { @@ -64,7 +82,10 @@ function generateMoreExamples(componentName) { `; } -function generateThemeColors(componentName, themeColorsData) { +function generateThemeColors( + componentName: string, + themeColorsData: string | undefined +) { if (!themeColorsData) { return ``; } @@ -75,17 +96,21 @@ function generateThemeColors(componentName, themeColorsData) { `; } -function generateScreenshots(componentName, screenshotData) { +function generateScreenshots(screenshotData: string | undefined) { if (!screenshotData) { return ``; } return ` - + `; } -function generatePropsTable(data, link, extendsAttributes) { +function generatePropsTable( + data: Record, + link: string, + extendsAttributes: ExtendsAttribute[] +) { const ANNOTATION_OPTIONAL = '@optional'; const ANNOTATION_INTERNAL = '@internal'; @@ -142,16 +167,16 @@ function generatePropsTable(data, link, extendsAttributes) { `; } -function generateExtendsAttributes(doc) { +function generateExtendsAttributes(doc: ComponentDoc) { const ANNOTATION_EXTENDS = '@extends'; - const extendsAttributes = []; - doc?.description + const extendsAttributes: ExtendsAttribute[] = []; + doc.description .split('\n') .filter((line) => { if (line.startsWith(ANNOTATION_EXTENDS)) { const parts = line.split(' ').slice(1); - const link = parts.pop(); + const link = parts.pop() ?? ''; extendsAttributes.push({ name: parts.join(' '), link, @@ -165,7 +190,10 @@ function generateExtendsAttributes(doc) { return extendsAttributes; } -function generateExtendedExamples(usage, extendedExamplesData) { +function generateExtendedExamples( + usage: string, + extendedExamplesData: string | undefined +) { if (!extendedExamplesData) { return usage; } @@ -181,18 +209,19 @@ function generateExtendedExamples(usage, extendedExamplesData) { `; } -function generatePageMDX(doc, link) { +export default function generatePageMDX(doc: ComponentDoc, link: string) { const summaryRegex = /([\s\S]*?)## Usage/; const description = doc.description .replace(/<\/br>/g, '') .replace(/style="[a-zA-Z0-9:;.\s()\-,]*"/gi, '') - .replace(/src="screenshots/g, `src="${baseUrl}screenshots`) + .replace(/src="screenshots/g, 'src="/react-native-paper/screenshots') + .replace(/\(\.\/Portal\)/g, '(./Portal/Portal)') + .replace(/\(\.\.\/Portal\)/g, '(../Portal/Portal)') .replace(/@extends.+$/, ''); - const summary = summaryRegex.exec(description) - ? summaryRegex.exec(description)[1] - : ''; + const summaryMatch = summaryRegex.exec(description); + const summary = summaryMatch ? summaryMatch[1] : ''; const usage = description.replace(summary, ''); const themeColorsData = JSON.stringify(customFields.themeColors[doc.title]); @@ -208,15 +237,15 @@ function generatePageMDX(doc, link) { title: ${doc.title} --- -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; +import PropTable from '@docs/components/PropTable.tsx'; +import ExtendsLink from '@docs/components/ExtendsLink.tsx'; +import ThemeColorsTable from '@docs/components/ThemeColorsTable.tsx'; +import ScreenshotTabs from '@docs/components/ScreenshotTabs.tsx'; +import ExtendedExample from '@docs/components/ExtendedExample.tsx'; ${summary} -${generateScreenshots(doc.title, screenshotData)} +${generateScreenshots(screenshotData)} ${generateExtendedExamples(usage, extendedExamplesData)} @@ -229,7 +258,9 @@ ${generateThemeColors(doc.title, themeColorsData)} ${generateKnownIssues(doc.title)} `; - return mdx.slice(1); + return mdx + .slice(1) + .split('\n') + .map((line) => line.trimEnd()) + .join('\n'); } - -module.exports = generatePageMDX; diff --git a/docs/component-docs-plugin/index.js b/docs/component-docs-plugin/index.js deleted file mode 100644 index ae6f470b0e..0000000000 --- a/docs/component-docs-plugin/index.js +++ /dev/null @@ -1,92 +0,0 @@ -const { - default: parseComponentDocs, -} = require('component-docs/dist/parsers/component'); -const fs = require('fs'); -const path = require('path'); - -const generatePageMDX = require('./generatePageMDX'); - -const pluginName = 'component-docs-plugin'; - -function componentsPlugin(_, options) { - const { docsRootDir, libsRootDir, pages } = options; - - function clean() { - fs.rmSync(docsRootDir, { recursive: true, force: true }); - } - - function createCategory(label, dir = '.') { - const categoryJSON = JSON.stringify({ label }, undefined, 2); - const docsCategoryDir = path.join(docsRootDir, dir); - if (!fs.existsSync(docsCategoryDir)) { - fs.mkdirSync(docsCategoryDir); - } - fs.writeFileSync( - path.join(docsCategoryDir, `_category_.json`), - categoryJSON - ); - } - - function createPageForComponent(targetArray, source) { - const [item, subitem] = targetArray; - const target = subitem ? `${item}/${subitem}` : item; - const targetPath = target + '.mdx'; - const sourcePath = source + '.tsx'; - - // Parse component using component-docs. - const doc = parseComponentDocs(path.join(libsRootDir, sourcePath), { - root: libsRootDir, - }); - - // Create directory for the output mdx file. - fs.mkdirSync( - path.join(docsRootDir, targetPath).split('/').slice(0, -1).join('/'), - { recursive: true } - ); - - // Generate and write mdx file. - fs.writeFileSync( - path.join(docsRootDir, targetPath), - generatePageMDX(doc, source) - ); - - return doc; - } - - return { - name: pluginName, - loadContent() { - // Clean up docs directory. - clean(); - // Create root components category. - createCategory('Components', '.'); - - const docs = {}; - - for (const item in pages) { - if (typeof pages[item] === 'string') { - const doc = createPageForComponent([item], pages[item]); - docs[pages[item]] = doc; - } else { - for (const subitem in pages[item]) { - const doc = createPageForComponent( - [item, subitem], - pages[item][subitem] - ); - docs[pages[item][subitem]] = doc; - } - } - } - - return docs; - }, - contentLoaded({ content: docs, actions }) { - // Store component docs global data so it can be used in `PropsTable` component. - actions.setGlobalData({ - docs, - }); - }, - }; -} - -module.exports = componentsPlugin; diff --git a/docs/component-docs-plugin/useDocs.tsx b/docs/component-docs-plugin/useDocs.tsx index 5747fafb5c..e4e9edc636 100644 --- a/docs/component-docs-plugin/useDocs.tsx +++ b/docs/component-docs-plugin/useDocs.tsx @@ -1,11 +1,5 @@ -import { useActiveDocContext } from '@docusaurus/plugin-content-docs/client'; -// @ts-ignore -// eslint-disable-next-line import/no-unresolved -import { usePluginData } from '@docusaurus/useGlobalData'; - import componentDocs5x from '../src/data/componentDocs5x.json'; - -const pluginName = 'component-docs-plugin'; +import componentDocs6x from '../src/data/componentDocs6x.json'; export interface ComponentDocsPluginData { docs: { [key in string]: PageDoc }; @@ -42,17 +36,11 @@ export interface Prop { const versionedDocs: { [versionName: string]: ComponentDocsPluginData } = { '5.x': componentDocs5x, + '6.x': componentDocs6x, }; -function useDoc(withPath: string) { - const activeDocContext = useActiveDocContext(undefined); - const pluginData = usePluginData(pluginName) as ComponentDocsPluginData; - const versionName = activeDocContext.activeVersion?.name; - const versionedDoc = versionName - ? versionedDocs[versionName]?.docs?.[withPath] - : undefined; - - return versionedDoc ?? pluginData?.docs?.[withPath]; +function useDoc(withPath: string, versionName = '5.x') { + return versionedDocs[versionName]?.docs?.[withPath]; } export default useDoc; diff --git a/docs/component-docs.config.ts b/docs/component-docs.config.ts new file mode 100644 index 0000000000..bad25d4eec --- /dev/null +++ b/docs/component-docs.config.ts @@ -0,0 +1,169 @@ +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +import { extendedExamples } from './src/data/extendedExamples.ts'; +import { screenshots } from './src/data/screenshots.ts'; +import { themeColors } from './src/data/themeColors.ts'; + +const __dirname = path.dirname(fileURLToPath(import.meta.url)); + +export type Pages = Record>; + +type ComponentDocsConfig = { + docsRootDir: string; + libsRootDir: string; + pages: Pages; + customFields: { + moreExamples: Record>; + knownIssues: Record>; + themeColors: Record; + screenshots: Record; + extendedExamples: Record; + }; +}; + +const pages = { + ActivityIndicator: 'ActivityIndicator', + Appbar: { + Appbar: 'Appbar/Appbar', + AppbarAction: 'Appbar/AppbarAction', + AppbarBackAction: 'Appbar/AppbarBackAction', + AppbarContent: 'Appbar/AppbarContent', + AppbarHeader: 'Appbar/AppbarHeader', + }, + Avatar: { + AvatarIcon: 'Avatar/AvatarIcon', + AvatarImage: 'Avatar/AvatarImage', + AvatarText: 'Avatar/AvatarText', + }, + Badge: 'Badge', + Banner: 'Banner', + BottomNavigation: { + BottomNavigation: 'BottomNavigation/BottomNavigation', + BottomNavigationBar: 'BottomNavigation/BottomNavigationBar', + }, + Button: { + Button: 'Button/Button', + }, + Card: { + Card: 'Card/Card', + CardActions: 'Card/CardActions', + CardContent: 'Card/CardContent', + CardCover: 'Card/CardCover', + CardTitle: 'Card/CardTitle', + }, + Checkbox: { + Checkbox: 'Checkbox/Checkbox', + CheckboxItem: 'Checkbox/CheckboxItem', + }, + Chip: { + Chip: 'Chip/Chip', + }, + DataTable: { + DataTable: 'DataTable/DataTable', + DataTableCell: 'DataTable/DataTableCell', + DataTableHeader: 'DataTable/DataTableHeader', + DataTablePagination: 'DataTable/DataTablePagination', + DataTableRow: 'DataTable/DataTableRow', + DataTableTitle: 'DataTable/DataTableTitle', + }, + Dialog: { + Dialog: 'Dialog/Dialog', + DialogActions: 'Dialog/DialogActions', + DialogContent: 'Dialog/DialogContent', + DialogIcon: 'Dialog/DialogIcon', + DialogScrollArea: 'Dialog/DialogScrollArea', + DialogTitle: 'Dialog/DialogTitle', + }, + Divider: 'Divider', + Drawer: { + DrawerCollapsedItem: 'Drawer/DrawerCollapsedItem', + DrawerItem: 'Drawer/DrawerItem', + DrawerSection: 'Drawer/DrawerSection', + }, + FAB: { + FAB: 'FAB/FAB', + FABExtended: 'FAB/Extended', + FABMenu: 'FAB/Menu', + }, + IconButton: { + IconButton: 'IconButton/IconButton', + }, + Icon: 'Icon', + List: { + ListAccordion: 'List/ListAccordion', + ListAccordionGroup: 'List/ListAccordionGroup', + ListIcon: 'List/ListIcon', + ListItem: 'List/ListItem', + ListSection: 'List/ListSection', + ListSubheader: 'List/ListSubheader', + }, + Menu: { + Menu: 'Menu/Menu', + MenuItem: 'Menu/MenuItem', + }, + Modal: 'Modal', + Portal: { + Portal: 'Portal/Portal', + PortalHost: 'Portal/PortalHost', + }, + ProgressBar: 'ProgressBar', + RadioButton: { + RadioButton: 'RadioButton/RadioButton', + RadioButtonAndroid: 'RadioButton/RadioButtonAndroid', + RadioButtonGroup: 'RadioButton/RadioButtonGroup', + RadioButtonIOS: 'RadioButton/RadioButtonIOS', + RadioButtonItem: 'RadioButton/RadioButtonItem', + }, + Searchbar: 'Searchbar', + SegmentedButtons: { + SegmentedButtons: 'SegmentedButtons/SegmentedButtons', + }, + Snackbar: 'Snackbar', + Surface: 'Surface', + Switch: { + Switch: 'Switch/Switch', + }, + TextInput: { + TextInput: 'TextInput/TextInput', + TextInputIcon: 'TextInput/TextInputIcon', + }, + ToggleButton: { + ToggleButton: 'ToggleButton/ToggleButton', + ToggleButtonGroup: 'ToggleButton/ToggleButtonGroup', + ToggleButtonRow: 'ToggleButton/ToggleButtonRow', + }, + Tooltip: { + Tooltip: 'Tooltip/Tooltip', + }, + TouchableRipple: { + TouchableRipple: 'TouchableRipple/TouchableRipple', + }, + Text: { + Text: 'Typography/Text', + }, +}; + +const componentDocsConfig: ComponentDocsConfig = { + docsRootDir: path.join(__dirname, '6.x', 'docs', 'components'), + libsRootDir: path.join(__dirname, '..', 'src', 'components'), + pages, + customFields: { + moreExamples: { + Portal: { + 'Comprehensive Portal example': + 'https://snack.expo.dev/@react-native-paper/more-examples---comprehensive-portal-example', + }, + Snackbar: { + 'Snackbar rendered regardless of the parent positioning': + 'https://snack.expo.dev/@react-native-paper/more-examples---snackbar-rendered-regardless-of-the-parent-positioning', + }, + }, + knownIssues: {}, + themeColors, + screenshots, + extendedExamples, + }, +}; + +export default componentDocsConfig; diff --git a/docs/component-docs.d.ts b/docs/component-docs.d.ts new file mode 100644 index 0000000000..a270ae0ce9 --- /dev/null +++ b/docs/component-docs.d.ts @@ -0,0 +1,21 @@ +declare module 'component-docs/dist/parsers/component.js' { + type ComponentDoc = { + title: string; + description: string; + data: { + props: Record< + string, + { + description?: string; + required?: boolean; + } + >; + }; + }; + + const componentDocsParser: { + default: (filePath: string, options: { root: string }) => ComponentDoc; + }; + + export default componentDocsParser; +} diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js deleted file mode 100644 index ee54135042..0000000000 --- a/docs/docusaurus.config.js +++ /dev/null @@ -1,351 +0,0 @@ -// @ts-check -// Note: type annotations allow type checking and IDEs autocompletion - -const path = require('path'); -const darkCodeTheme = require('prism-react-renderer/themes/dracula'); -const lightCodeTheme = require('prism-react-renderer/themes/github'); - -const { extendedExamples } = require('./src/data/extendedExamples.js'); -const { screenshots } = require('./src/data/screenshots.js'); -const { themeColors } = require('./src/data/themeColors.js'); - -const { NODE_ENV, DOCUSAURUS_BASE_URL } = process.env; - -const title = 'React Native Paper'; - -const url = 'https://callstack.github.io'; - -/** - * There are 3 environments that we want to support: - * 1. Development - Docs should work on `http://localhost:3000/` - * 2. Production - Docs should work on `https://callstack.github.io/react-native-paper/ - * 3. CI - CircleCI builds and stores preview artifacts. - * Docs should work on `https://output.circle-artifacts.com/output/job/$CIRCLE_WORKFLOW_JOB_ID/artifacts/$CIRCLE_NODE_INDEX/` - * - * Both `baseUrl` and `publicUrl` work together to ensure assets and links work properly on every deployment - */ -const baseUrl = - DOCUSAURUS_BASE_URL || - (NODE_ENV === 'development' ? '/' : '/react-native-paper/'); -const publicUrl = - NODE_ENV === 'development' ? 'http://localhost:3000/' : `${url}${baseUrl}`; - -/** @type {import('@docusaurus/types').Config} */ -const config = { - title, - staticDirectories: ['public', 'static'], - tagline: 'Material Design for React Native', - url, - baseUrl, - favicon: 'images/favicon.ico', - - // GitHub pages deployment config. - // If you aren't using GitHub pages, you don't need these. - organizationName: 'callstack', // Usually your GitHub org/user name. - projectName: 'react-native-paper', // Usually your repo name. - - // Even if you don't use internalization, you can use this field to set useful - // metadata like html lang. For example, if your site is Chinese, you may want - // to replace "en" with "zh-Hans". - i18n: { - defaultLocale: 'en', - locales: ['en'], - }, - - onBrokenLinks: 'throw', - onDuplicateRoutes: 'throw', - onBrokenMarkdownLinks: 'throw', - - plugins: [ - [ - './component-docs-plugin', - { - docsRootDir: path.join( - __dirname, - 'versioned_docs', - 'version-6.x', - 'components' - ), - libsRootDir: path.join(__dirname, '..', 'src', 'components'), - pages: { - ActivityIndicator: 'ActivityIndicator', - Appbar: { - Appbar: 'Appbar/Appbar', - AppbarAction: 'Appbar/AppbarAction', - AppbarBackAction: 'Appbar/AppbarBackAction', - AppbarContent: 'Appbar/AppbarContent', - AppbarHeader: 'Appbar/AppbarHeader', - }, - Avatar: { - AvatarIcon: 'Avatar/AvatarIcon', - AvatarImage: 'Avatar/AvatarImage', - AvatarText: 'Avatar/AvatarText', - }, - Badge: 'Badge', - Banner: 'Banner', - BottomNavigation: { - BottomNavigation: 'BottomNavigation/BottomNavigation', - BottomNavigationBar: 'BottomNavigation/BottomNavigationBar', - }, - Button: { - Button: 'Button/Button', - }, - Card: { - Card: 'Card/Card', - CardActions: 'Card/CardActions', - CardContent: 'Card/CardContent', - CardCover: 'Card/CardCover', - CardTitle: 'Card/CardTitle', - }, - Checkbox: { - Checkbox: 'Checkbox/Checkbox', - CheckboxItem: 'Checkbox/CheckboxItem', - }, - Chip: { - Chip: 'Chip/Chip', - }, - DataTable: { - DataTable: 'DataTable/DataTable', - DataTableCell: 'DataTable/DataTableCell', - DataTableHeader: 'DataTable/DataTableHeader', - DataTablePagination: 'DataTable/DataTablePagination', - DataTableRow: 'DataTable/DataTableRow', - DataTableTitle: 'DataTable/DataTableTitle', - }, - Dialog: { - Dialog: 'Dialog/Dialog', - DialogActions: 'Dialog/DialogActions', - DialogContent: 'Dialog/DialogContent', - DialogIcon: 'Dialog/DialogIcon', - DialogScrollArea: 'Dialog/DialogScrollArea', - DialogTitle: 'Dialog/DialogTitle', - }, - Divider: 'Divider', - Drawer: { - DrawerCollapsedItem: 'Drawer/DrawerCollapsedItem', - DrawerItem: 'Drawer/DrawerItem', - DrawerSection: 'Drawer/DrawerSection', - }, - FAB: { - FAB: 'FAB/FAB', - FABExtended: 'FAB/Extended', - FABMenu: 'FAB/Menu', - }, - IconButton: { - IconButton: 'IconButton/IconButton', - }, - Icon: 'Icon', - List: { - ListAccordion: 'List/ListAccordion', - ListAccordionGroup: 'List/ListAccordionGroup', - ListIcon: 'List/ListIcon', - ListItem: 'List/ListItem', - ListSection: 'List/ListSection', - ListSubheader: 'List/ListSubheader', - }, - Menu: { - Menu: 'Menu/Menu', - MenuItem: 'Menu/MenuItem', - }, - Modal: 'Modal', - Portal: { - Portal: 'Portal/Portal', - PortalHost: 'Portal/PortalHost', - }, - ProgressBar: 'ProgressBar', - RadioButton: { - RadioButton: 'RadioButton/RadioButton', - RadioButtonAndroid: 'RadioButton/RadioButtonAndroid', - RadioButtonGroup: 'RadioButton/RadioButtonGroup', - RadioButtonIOS: 'RadioButton/RadioButtonIOS', - RadioButtonItem: 'RadioButton/RadioButtonItem', - }, - Searchbar: 'Searchbar', - SegmentedButtons: { - SegmentedButtons: 'SegmentedButtons/SegmentedButtons', - }, - Snackbar: 'Snackbar', - Surface: 'Surface', - Switch: { - Switch: 'Switch/Switch', - }, - TextInput: { - TextInput: 'TextInput/TextInput', - TextInputIcon: 'TextInput/TextInputIcon', - }, - ToggleButton: { - ToggleButton: 'ToggleButton/ToggleButton', - ToggleButtonGroup: 'ToggleButton/ToggleButtonGroup', - ToggleButtonRow: 'ToggleButton/ToggleButtonRow', - }, - Tooltip: { - Tooltip: 'Tooltip/Tooltip', - }, - TouchableRipple: { - TouchableRipple: 'TouchableRipple/TouchableRipple', - }, - Text: { - Text: 'Typography/Text', - }, - }, - }, - ], - require('./plugins/docusaurus-react-native-plugin'), - ], - - presets: [ - [ - 'classic', - /** @type {import('@docusaurus/preset-classic').Options} */ - ({ - docs: { - sidebarPath: require.resolve('./sidebars.js'), - includeCurrentVersion: false, - lastVersion: '5.x', - versions: { - '6.x': { - label: '6.x', - banner: 'unreleased', - }, - '5.x': { - label: '5.x', - banner: 'none', - }, - }, - editUrl: (params) => { - const urlToMain = - 'https://github.com/callstack/react-native-paper/tree/main'; - - if (params.docPath.includes('guides')) { - return `${urlToMain}/docs/${params.versionDocsDirPath}/${params.docPath}`; - } - - const customUrls = { - TextInput: 'src/components/TextInput/TextInput.tsx', - TextInputIcon: 'src/components/TextInput/TextInputIcon.tsx', - - Text: 'src/components/Typography/Text.tsx', - showcase: 'docs/src/components/Showcase.tsx', - }; - - const customUrlComponent = - params.docPath.match(/\/?([^/]+)\.mdx$/)[1]; - - if (customUrls[customUrlComponent]) { - return `${urlToMain}/${customUrls[customUrlComponent]}`; - } - - return `${urlToMain}/src/${params.docPath.replace('mdx', 'tsx')}`; - }, - - remarkPlugins: [ - [require('@docusaurus/remark-plugin-npm2yarn'), { sync: true }], - ], - }, - theme: { - customCss: require.resolve('./src/css/custom.css'), - }, - }), - ], - ], - - themeConfig: - /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ - ({ - navbar: { - logo: { - alt: 'React Native Paper', - src: 'images/sidebar-logo.svg', - }, - items: [ - { - type: 'doc', - docId: 'guides/getting-started', - position: 'left', - label: 'Guides', - }, - { - type: 'doc', - docId: 'components/ActivityIndicator', - position: 'left', - label: 'Components', - }, - { - type: 'doc', - docId: 'showcase', - position: 'left', - label: 'Showcase', - }, - { - type: 'docsVersionDropdown', - position: 'right', - dropdownItemsAfter: [ - { - label: '4.x', - href: `${publicUrl}4.0/`, - }, - { - label: '3.x', - href: `${publicUrl}3.0/`, - }, - { - label: '2.x', - href: `${publicUrl}2.0/`, - }, - { - label: '1.x', - href: `${publicUrl}1.0/`, - }, - ], - }, - { - href: 'https://discord.gg/zwR2Cdh', - className: 'nav-link nav-discord-link', - 'aria-label': 'Discord', - position: 'right', - }, - { - href: 'https://twitter.com/rn_paper', - className: 'nav-link nav-twitter-link', - 'aria-label': 'Twitter', - position: 'right', - }, - { - href: 'https://github.com/callstack/react-native-paper', - className: 'nav-link nav-github-link', - 'aria-label': 'GitHub', - position: 'right', - }, - ], - title, - }, - prism: { - theme: lightCodeTheme, - darkTheme: darkCodeTheme, - }, - algolia: { - appId: 'U16QMJNNW7', - apiKey: 'c32fdc9aa2bbfaa3d44481f5cbdb3c04', - indexName: 'crawler_React Native Paper Docs', - }, - }), - - customFields: { - moreExamples: { - Portal: { - 'Comprehensive Portal example': - 'https://snack.expo.dev/@react-native-paper/more-examples---comprehensive-portal-example', - }, - Snackbar: { - 'Snackbar rendered regardless of the parent positioning': - 'https://snack.expo.dev/@react-native-paper/more-examples---snackbar-rendered-regardless-of-the-parent-positioning', - }, - }, - knownIssues: {}, - themeColors, - screenshots, - extendedExamples, - }, -}; - -module.exports = config; diff --git a/docs/package.json b/docs/package.json index 89c447287c..af0bf70b9c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -2,51 +2,39 @@ "name": "docs", "version": "0.0.0", "private": true, + "type": "module", "scripts": { - "docusaurus": "docusaurus", - "start": "docusaurus start", - "build": "docusaurus build", - "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", - "clear": "docusaurus clear", - "serve": "docusaurus serve", - "write-translations": "docusaurus write-translations", - "write-heading-ids": "docusaurus write-heading-ids", - "typecheck": "tsc", - "prepare": "patch-package" + "dev": "yarn generate && rspress dev", + "start": "yarn dev", + "build": "yarn generate && rspress build", + "preview": "rspress preview", + "typecheck": "tsc --noEmit", + "generate": "node scripts/generate-rspress-content.ts && node scripts/generate-current-component-docs.ts" }, "dependencies": { "@callstack/react-theme-provider": "^3.0.9", - "@docusaurus/core": "^2.3.6", - "@docusaurus/preset-classic": "^2.3.6", - "@docusaurus/remark-plugin-npm2yarn": "^2.3.6", - "@docusaurus/theme-common": "^2.3.6", - "@easyops-cn/docusaurus-search-local": "^0.33.4", + "@callstack/rspress-preset": "0.6.6", + "@callstack/rspress-theme": "0.6.6", "@material/material-color-utilities": "0.2.4", - "@mdx-js/react": "^1.6.22", "@react-native-vector-icons/material-design-icons": "^12.0.0", + "@rspress/core": "2.0.14", "camelcase": "^7.0.1", - "clsx": "^1.2.1", "color": "^4.2.3", "marked": "^4.1.1", - "prism-react-renderer": "^1.3.5", - "process": "^0.11.10", - "react": "17.0.2", + "react": "19.2.6", "react-color": "^2.19.3", - "react-dom": "17.0.2", - "react-native-safe-area-context": "^4.5.0", - "react-native-web": "^0.18.12", - "use-latest-callback": "^0.1.7" + "react-dom": "19.2.6", + "react-native-safe-area-context": "5.7.0", + "react-native-web": "^0.21.2", + "use-latest-callback": "^0.2.3" }, "devDependencies": { - "@docusaurus/module-type-aliases": "^2.3.6", - "@tsconfig/docusaurus": "^1.0.6", "@types/marked": "^4.0.7", + "@types/react": "^19.2.7", "@types/react-color": "^3.0.6", + "@types/react-dom": "^19.2.3", "component-docs": "^0.24.0", - "patch-package": "^6.5.0", - "typescript": "^4.8.4", - "webpack": "^5.73.0" + "typescript": "5.8.3" }, "browserslist": { "production": [ @@ -61,10 +49,6 @@ ] }, "engines": { - "node": ">=18" - }, - "resolutions": { - "@types/react": "18.0.8", - "@types/react-dom": "18.0.8" + "node": ">=20" } } diff --git a/docs/plugins/docusaurus-react-native-plugin.js b/docs/plugins/docusaurus-react-native-plugin.js deleted file mode 100644 index 229325015a..0000000000 --- a/docs/plugins/docusaurus-react-native-plugin.js +++ /dev/null @@ -1,30 +0,0 @@ -const path = require('path'); -const webpack = require('webpack'); - -module.exports = function () { - return { - name: 'docusaurus-react-native-plugin', - configureWebpack() { - return { - mergeStrategy: { 'resolve.extensions': 'prepend' }, - resolve: { - alias: { - react: path.resolve('node_modules/react'), - 'react-native$': 'react-native-web', - 'react-native-paper': path.resolve('../src'), - '@react-native-vector-icons/get-image': false, - }, - extensions: ['.web.js'], - }, - plugins: [ - new webpack.ProvidePlugin({ - process: 'process/browser.js', - }), - new webpack.DefinePlugin({ - __DEV__: JSON.stringify(process.env.NODE_ENV !== 'production'), - }), - ], - }; - }, - }; -}; diff --git a/docs/static/.nojekyll b/docs/public/.nojekyll similarity index 100% rename from docs/static/.nojekyll rename to docs/public/.nojekyll diff --git a/docs/static/gallery/appbar-dark.png b/docs/public/gallery/appbar-dark.png similarity index 100% rename from docs/static/gallery/appbar-dark.png rename to docs/public/gallery/appbar-dark.png diff --git a/docs/static/gallery/appbar.png b/docs/public/gallery/appbar.png similarity index 100% rename from docs/static/gallery/appbar.png rename to docs/public/gallery/appbar.png diff --git a/docs/static/gallery/bottom-navigation-dark.png b/docs/public/gallery/bottom-navigation-dark.png similarity index 100% rename from docs/static/gallery/bottom-navigation-dark.png rename to docs/public/gallery/bottom-navigation-dark.png diff --git a/docs/static/gallery/bottom-navigation.png b/docs/public/gallery/bottom-navigation.png similarity index 100% rename from docs/static/gallery/bottom-navigation.png rename to docs/public/gallery/bottom-navigation.png diff --git a/docs/static/gallery/button-dark.png b/docs/public/gallery/button-dark.png similarity index 100% rename from docs/static/gallery/button-dark.png rename to docs/public/gallery/button-dark.png diff --git a/docs/static/gallery/button.png b/docs/public/gallery/button.png similarity index 100% rename from docs/static/gallery/button.png rename to docs/public/gallery/button.png diff --git a/docs/static/gallery/card-dark.png b/docs/public/gallery/card-dark.png similarity index 100% rename from docs/static/gallery/card-dark.png rename to docs/public/gallery/card-dark.png diff --git a/docs/static/gallery/card.png b/docs/public/gallery/card.png similarity index 100% rename from docs/static/gallery/card.png rename to docs/public/gallery/card.png diff --git a/docs/static/gallery/chip-dark.png b/docs/public/gallery/chip-dark.png similarity index 100% rename from docs/static/gallery/chip-dark.png rename to docs/public/gallery/chip-dark.png diff --git a/docs/static/gallery/chip.png b/docs/public/gallery/chip.png similarity index 100% rename from docs/static/gallery/chip.png rename to docs/public/gallery/chip.png diff --git a/docs/static/gallery/fab-dark.png b/docs/public/gallery/fab-dark.png similarity index 100% rename from docs/static/gallery/fab-dark.png rename to docs/public/gallery/fab-dark.png diff --git a/docs/static/gallery/fab.png b/docs/public/gallery/fab.png similarity index 100% rename from docs/static/gallery/fab.png rename to docs/public/gallery/fab.png diff --git a/docs/static/gallery/input-dark.png b/docs/public/gallery/input-dark.png similarity index 100% rename from docs/static/gallery/input-dark.png rename to docs/public/gallery/input-dark.png diff --git a/docs/static/gallery/input.png b/docs/public/gallery/input.png similarity index 100% rename from docs/static/gallery/input.png rename to docs/public/gallery/input.png diff --git a/docs/static/gallery/list-accordion-dark.png b/docs/public/gallery/list-accordion-dark.png similarity index 100% rename from docs/static/gallery/list-accordion-dark.png rename to docs/public/gallery/list-accordion-dark.png diff --git a/docs/static/gallery/list-accordion.png b/docs/public/gallery/list-accordion.png similarity index 100% rename from docs/static/gallery/list-accordion.png rename to docs/public/gallery/list-accordion.png diff --git a/docs/static/gallery/list-dark.png b/docs/public/gallery/list-dark.png similarity index 100% rename from docs/static/gallery/list-dark.png rename to docs/public/gallery/list-dark.png diff --git a/docs/static/gallery/list.png b/docs/public/gallery/list.png similarity index 100% rename from docs/static/gallery/list.png rename to docs/public/gallery/list.png diff --git a/docs/static/gallery/searchbar-dark.png b/docs/public/gallery/searchbar-dark.png similarity index 100% rename from docs/static/gallery/searchbar-dark.png rename to docs/public/gallery/searchbar-dark.png diff --git a/docs/static/gallery/searchbar.png b/docs/public/gallery/searchbar.png similarity index 100% rename from docs/static/gallery/searchbar.png rename to docs/public/gallery/searchbar.png diff --git a/docs/static/gallery/snackbar-dark.png b/docs/public/gallery/snackbar-dark.png similarity index 100% rename from docs/static/gallery/snackbar-dark.png rename to docs/public/gallery/snackbar-dark.png diff --git a/docs/static/gallery/snackbar.png b/docs/public/gallery/snackbar.png similarity index 100% rename from docs/static/gallery/snackbar.png rename to docs/public/gallery/snackbar.png diff --git a/docs/static/gallery/toggle-button.png b/docs/public/gallery/toggle-button.png similarity index 100% rename from docs/static/gallery/toggle-button.png rename to docs/public/gallery/toggle-button.png diff --git a/docs/static/gallery/typography-dark.png b/docs/public/gallery/typography-dark.png similarity index 100% rename from docs/static/gallery/typography-dark.png rename to docs/public/gallery/typography-dark.png diff --git a/docs/static/gallery/typography.png b/docs/public/gallery/typography.png similarity index 100% rename from docs/static/gallery/typography.png rename to docs/public/gallery/typography.png diff --git a/docs/static/images/expo-qr.png b/docs/public/images/expo-qr.png similarity index 100% rename from docs/static/images/expo-qr.png rename to docs/public/images/expo-qr.png diff --git a/docs/static/images/favicon.ico b/docs/public/images/favicon.ico similarity index 100% rename from docs/static/images/favicon.ico rename to docs/public/images/favicon.ico diff --git a/docs/public/images/home/accessibility.svg b/docs/public/images/home/accessibility.svg new file mode 100644 index 0000000000..4b4aabefe5 --- /dev/null +++ b/docs/public/images/home/accessibility.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/public/images/home/components.svg b/docs/public/images/home/components.svg new file mode 100644 index 0000000000..69bd14f161 --- /dev/null +++ b/docs/public/images/home/components.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/public/images/home/devices.svg b/docs/public/images/home/devices.svg new file mode 100644 index 0000000000..6660a426b1 --- /dev/null +++ b/docs/public/images/home/devices.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/public/images/home/moon.svg b/docs/public/images/home/moon.svg new file mode 100644 index 0000000000..88edf2d9d9 --- /dev/null +++ b/docs/public/images/home/moon.svg @@ -0,0 +1,3 @@ + + + diff --git a/docs/public/images/home/palette.svg b/docs/public/images/home/palette.svg new file mode 100644 index 0000000000..7cd25bc873 --- /dev/null +++ b/docs/public/images/home/palette.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/public/images/home/versions.svg b/docs/public/images/home/versions.svg new file mode 100644 index 0000000000..76c32cfc9d --- /dev/null +++ b/docs/public/images/home/versions.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/docs/static/images/paper-logo.svg b/docs/public/images/paper-logo.svg similarity index 100% rename from docs/static/images/paper-logo.svg rename to docs/public/images/paper-logo.svg diff --git a/docs/static/images/sidebar-logo.svg b/docs/public/images/sidebar-logo.svg similarity index 100% rename from docs/static/images/sidebar-logo.svg rename to docs/public/images/sidebar-logo.svg diff --git a/docs/static/migration/color-palette.png b/docs/public/migration/color-palette.png similarity index 100% rename from docs/static/migration/color-palette.png rename to docs/public/migration/color-palette.png diff --git a/docs/static/screenshots/activity-indicator.gif b/docs/public/screenshots/activity-indicator.gif similarity index 100% rename from docs/static/screenshots/activity-indicator.gif rename to docs/public/screenshots/activity-indicator.gif diff --git a/docs/static/screenshots/animated-fab.gif b/docs/public/screenshots/animated-fab.gif similarity index 100% rename from docs/static/screenshots/animated-fab.gif rename to docs/public/screenshots/animated-fab.gif diff --git a/docs/static/screenshots/appbar-action-android.png b/docs/public/screenshots/appbar-action-android.png similarity index 100% rename from docs/static/screenshots/appbar-action-android.png rename to docs/public/screenshots/appbar-action-android.png diff --git a/docs/static/screenshots/appbar-backaction-android.png b/docs/public/screenshots/appbar-backaction-android.png similarity index 100% rename from docs/static/screenshots/appbar-backaction-android.png rename to docs/public/screenshots/appbar-backaction-android.png diff --git a/docs/static/screenshots/appbar-center-aligned.png b/docs/public/screenshots/appbar-center-aligned.png similarity index 100% rename from docs/static/screenshots/appbar-center-aligned.png rename to docs/public/screenshots/appbar-center-aligned.png diff --git a/docs/static/screenshots/appbar-content.png b/docs/public/screenshots/appbar-content.png similarity index 100% rename from docs/static/screenshots/appbar-content.png rename to docs/public/screenshots/appbar-content.png diff --git a/docs/static/screenshots/appbar-large.png b/docs/public/screenshots/appbar-large.png similarity index 100% rename from docs/static/screenshots/appbar-large.png rename to docs/public/screenshots/appbar-large.png diff --git a/docs/static/screenshots/appbar-medium.png b/docs/public/screenshots/appbar-medium.png similarity index 100% rename from docs/static/screenshots/appbar-medium.png rename to docs/public/screenshots/appbar-medium.png diff --git a/docs/static/screenshots/appbar-small.png b/docs/public/screenshots/appbar-small.png similarity index 100% rename from docs/static/screenshots/appbar-small.png rename to docs/public/screenshots/appbar-small.png diff --git a/docs/static/screenshots/appbar.png b/docs/public/screenshots/appbar.png similarity index 100% rename from docs/static/screenshots/appbar.png rename to docs/public/screenshots/appbar.png diff --git a/docs/static/screenshots/avatar-icon.png b/docs/public/screenshots/avatar-icon.png similarity index 100% rename from docs/static/screenshots/avatar-icon.png rename to docs/public/screenshots/avatar-icon.png diff --git a/docs/static/screenshots/avatar-image.png b/docs/public/screenshots/avatar-image.png similarity index 100% rename from docs/static/screenshots/avatar-image.png rename to docs/public/screenshots/avatar-image.png diff --git a/docs/static/screenshots/avatar-text.png b/docs/public/screenshots/avatar-text.png similarity index 100% rename from docs/static/screenshots/avatar-text.png rename to docs/public/screenshots/avatar-text.png diff --git a/docs/static/screenshots/badge-1.png b/docs/public/screenshots/badge-1.png similarity index 100% rename from docs/static/screenshots/badge-1.png rename to docs/public/screenshots/badge-1.png diff --git a/docs/static/screenshots/badge-2.png b/docs/public/screenshots/badge-2.png similarity index 100% rename from docs/static/screenshots/badge-2.png rename to docs/public/screenshots/badge-2.png diff --git a/docs/static/screenshots/badge-3.png b/docs/public/screenshots/badge-3.png similarity index 100% rename from docs/static/screenshots/badge-3.png rename to docs/public/screenshots/badge-3.png diff --git a/docs/static/screenshots/badge-example.png b/docs/public/screenshots/badge-example.png similarity index 100% rename from docs/static/screenshots/badge-example.png rename to docs/public/screenshots/badge-example.png diff --git a/docs/static/screenshots/badge-wrapper.png b/docs/public/screenshots/badge-wrapper.png similarity index 100% rename from docs/static/screenshots/badge-wrapper.png rename to docs/public/screenshots/badge-wrapper.png diff --git a/docs/static/screenshots/banner.gif b/docs/public/screenshots/banner.gif similarity index 100% rename from docs/static/screenshots/banner.gif rename to docs/public/screenshots/banner.gif diff --git a/docs/static/screenshots/bottom-navigation-shifting.gif b/docs/public/screenshots/bottom-navigation-shifting.gif similarity index 100% rename from docs/static/screenshots/bottom-navigation-shifting.gif rename to docs/public/screenshots/bottom-navigation-shifting.gif diff --git a/docs/static/screenshots/bottom-navigation-tabs.jpg b/docs/public/screenshots/bottom-navigation-tabs.jpg similarity index 100% rename from docs/static/screenshots/bottom-navigation-tabs.jpg rename to docs/public/screenshots/bottom-navigation-tabs.jpg diff --git a/docs/static/screenshots/bottom-navigation.gif b/docs/public/screenshots/bottom-navigation.gif similarity index 100% rename from docs/static/screenshots/bottom-navigation.gif rename to docs/public/screenshots/bottom-navigation.gif diff --git a/docs/static/screenshots/button-1.png b/docs/public/screenshots/button-1.png similarity index 100% rename from docs/static/screenshots/button-1.png rename to docs/public/screenshots/button-1.png diff --git a/docs/static/screenshots/button-2.png b/docs/public/screenshots/button-2.png similarity index 100% rename from docs/static/screenshots/button-2.png rename to docs/public/screenshots/button-2.png diff --git a/docs/static/screenshots/button-3.png b/docs/public/screenshots/button-3.png similarity index 100% rename from docs/static/screenshots/button-3.png rename to docs/public/screenshots/button-3.png diff --git a/docs/static/screenshots/button-4.png b/docs/public/screenshots/button-4.png similarity index 100% rename from docs/static/screenshots/button-4.png rename to docs/public/screenshots/button-4.png diff --git a/docs/static/screenshots/button-5.png b/docs/public/screenshots/button-5.png similarity index 100% rename from docs/static/screenshots/button-5.png rename to docs/public/screenshots/button-5.png diff --git a/docs/static/screenshots/card-1.png b/docs/public/screenshots/card-1.png similarity index 100% rename from docs/static/screenshots/card-1.png rename to docs/public/screenshots/card-1.png diff --git a/docs/static/screenshots/card-2.png b/docs/public/screenshots/card-2.png similarity index 100% rename from docs/static/screenshots/card-2.png rename to docs/public/screenshots/card-2.png diff --git a/docs/static/screenshots/card-3.png b/docs/public/screenshots/card-3.png similarity index 100% rename from docs/static/screenshots/card-3.png rename to docs/public/screenshots/card-3.png diff --git a/docs/static/screenshots/card-actions.png b/docs/public/screenshots/card-actions.png similarity index 100% rename from docs/static/screenshots/card-actions.png rename to docs/public/screenshots/card-actions.png diff --git a/docs/static/screenshots/card-content-example.png b/docs/public/screenshots/card-content-example.png similarity index 100% rename from docs/static/screenshots/card-content-example.png rename to docs/public/screenshots/card-content-example.png diff --git a/docs/static/screenshots/card-cover.png b/docs/public/screenshots/card-cover.png similarity index 100% rename from docs/static/screenshots/card-cover.png rename to docs/public/screenshots/card-cover.png diff --git a/docs/static/screenshots/card-title-1.png b/docs/public/screenshots/card-title-1.png similarity index 100% rename from docs/static/screenshots/card-title-1.png rename to docs/public/screenshots/card-title-1.png diff --git a/docs/static/screenshots/checkbox-disabled.android.png b/docs/public/screenshots/checkbox-disabled.android.png similarity index 100% rename from docs/static/screenshots/checkbox-disabled.android.png rename to docs/public/screenshots/checkbox-disabled.android.png diff --git a/docs/static/screenshots/checkbox-disabled.ios.png b/docs/public/screenshots/checkbox-disabled.ios.png similarity index 100% rename from docs/static/screenshots/checkbox-disabled.ios.png rename to docs/public/screenshots/checkbox-disabled.ios.png diff --git a/docs/static/screenshots/checkbox-enabled.android.png b/docs/public/screenshots/checkbox-enabled.android.png similarity index 100% rename from docs/static/screenshots/checkbox-enabled.android.png rename to docs/public/screenshots/checkbox-enabled.android.png diff --git a/docs/static/screenshots/checkbox-enabled.ios.png b/docs/public/screenshots/checkbox-enabled.ios.png similarity index 100% rename from docs/static/screenshots/checkbox-enabled.ios.png rename to docs/public/screenshots/checkbox-enabled.ios.png diff --git a/docs/static/screenshots/chip-1.png b/docs/public/screenshots/chip-1.png similarity index 100% rename from docs/static/screenshots/chip-1.png rename to docs/public/screenshots/chip-1.png diff --git a/docs/static/screenshots/chip-2.png b/docs/public/screenshots/chip-2.png similarity index 100% rename from docs/static/screenshots/chip-2.png rename to docs/public/screenshots/chip-2.png diff --git a/docs/static/screenshots/custom-colors.png b/docs/public/screenshots/custom-colors.png similarity index 100% rename from docs/static/screenshots/custom-colors.png rename to docs/public/screenshots/custom-colors.png diff --git a/docs/static/screenshots/data-table-full-width.png b/docs/public/screenshots/data-table-full-width.png similarity index 100% rename from docs/static/screenshots/data-table-full-width.png rename to docs/public/screenshots/data-table-full-width.png diff --git a/docs/static/screenshots/data-table-header.png b/docs/public/screenshots/data-table-header.png similarity index 100% rename from docs/static/screenshots/data-table-header.png rename to docs/public/screenshots/data-table-header.png diff --git a/docs/static/screenshots/data-table-pagination.png b/docs/public/screenshots/data-table-pagination.png similarity index 100% rename from docs/static/screenshots/data-table-pagination.png rename to docs/public/screenshots/data-table-pagination.png diff --git a/docs/static/screenshots/data-table-row-cell.png b/docs/public/screenshots/data-table-row-cell.png similarity index 100% rename from docs/static/screenshots/data-table-row-cell.png rename to docs/public/screenshots/data-table-row-cell.png diff --git a/docs/static/screenshots/dialog-1.png b/docs/public/screenshots/dialog-1.png similarity index 100% rename from docs/static/screenshots/dialog-1.png rename to docs/public/screenshots/dialog-1.png diff --git a/docs/static/screenshots/dialog-2.png b/docs/public/screenshots/dialog-2.png similarity index 100% rename from docs/static/screenshots/dialog-2.png rename to docs/public/screenshots/dialog-2.png diff --git a/docs/static/screenshots/dialog-actions.png b/docs/public/screenshots/dialog-actions.png similarity index 100% rename from docs/static/screenshots/dialog-actions.png rename to docs/public/screenshots/dialog-actions.png diff --git a/docs/static/screenshots/dialog-content.png b/docs/public/screenshots/dialog-content.png similarity index 100% rename from docs/static/screenshots/dialog-content.png rename to docs/public/screenshots/dialog-content.png diff --git a/docs/static/screenshots/dialog-icon.png b/docs/public/screenshots/dialog-icon.png similarity index 100% rename from docs/static/screenshots/dialog-icon.png rename to docs/public/screenshots/dialog-icon.png diff --git a/docs/static/screenshots/dialog-scroll-area.gif b/docs/public/screenshots/dialog-scroll-area.gif similarity index 100% rename from docs/static/screenshots/dialog-scroll-area.gif rename to docs/public/screenshots/dialog-scroll-area.gif diff --git a/docs/static/screenshots/dialog-title.png b/docs/public/screenshots/dialog-title.png similarity index 100% rename from docs/static/screenshots/dialog-title.png rename to docs/public/screenshots/dialog-title.png diff --git a/docs/static/screenshots/divider.png b/docs/public/screenshots/divider.png similarity index 100% rename from docs/static/screenshots/divider.png rename to docs/public/screenshots/divider.png diff --git a/docs/static/screenshots/dot-badges.png b/docs/public/screenshots/dot-badges.png similarity index 100% rename from docs/static/screenshots/dot-badges.png rename to docs/public/screenshots/dot-badges.png diff --git a/docs/static/screenshots/drawer-collapsed.png b/docs/public/screenshots/drawer-collapsed.png similarity index 100% rename from docs/static/screenshots/drawer-collapsed.png rename to docs/public/screenshots/drawer-collapsed.png diff --git a/docs/static/screenshots/drawer-item.png b/docs/public/screenshots/drawer-item.png similarity index 100% rename from docs/static/screenshots/drawer-item.png rename to docs/public/screenshots/drawer-item.png diff --git a/docs/static/screenshots/drawer-section.png b/docs/public/screenshots/drawer-section.png similarity index 100% rename from docs/static/screenshots/drawer-section.png rename to docs/public/screenshots/drawer-section.png diff --git a/docs/static/screenshots/fab-1.png b/docs/public/screenshots/fab-1.png similarity index 100% rename from docs/static/screenshots/fab-1.png rename to docs/public/screenshots/fab-1.png diff --git a/docs/static/screenshots/fab-2.png b/docs/public/screenshots/fab-2.png similarity index 100% rename from docs/static/screenshots/fab-2.png rename to docs/public/screenshots/fab-2.png diff --git a/docs/static/screenshots/fab-3.png b/docs/public/screenshots/fab-3.png similarity index 100% rename from docs/static/screenshots/fab-3.png rename to docs/public/screenshots/fab-3.png diff --git a/docs/static/screenshots/fab-4.png b/docs/public/screenshots/fab-4.png similarity index 100% rename from docs/static/screenshots/fab-4.png rename to docs/public/screenshots/fab-4.png diff --git a/docs/static/screenshots/fab-group.gif b/docs/public/screenshots/fab-group.gif similarity index 100% rename from docs/static/screenshots/fab-group.gif rename to docs/public/screenshots/fab-group.gif diff --git a/docs/static/screenshots/fab-group.png b/docs/public/screenshots/fab-group.png similarity index 100% rename from docs/static/screenshots/fab-group.png rename to docs/public/screenshots/fab-group.png diff --git a/docs/static/screenshots/helper-text.gif b/docs/public/screenshots/helper-text.gif similarity index 100% rename from docs/static/screenshots/helper-text.gif rename to docs/public/screenshots/helper-text.gif diff --git a/docs/static/screenshots/icon-button-1.png b/docs/public/screenshots/icon-button-1.png similarity index 100% rename from docs/static/screenshots/icon-button-1.png rename to docs/public/screenshots/icon-button-1.png diff --git a/docs/static/screenshots/icon-button-2.png b/docs/public/screenshots/icon-button-2.png similarity index 100% rename from docs/static/screenshots/icon-button-2.png rename to docs/public/screenshots/icon-button-2.png diff --git a/docs/static/screenshots/icon-button-3.png b/docs/public/screenshots/icon-button-3.png similarity index 100% rename from docs/static/screenshots/icon-button-3.png rename to docs/public/screenshots/icon-button-3.png diff --git a/docs/static/screenshots/icon-button-4.png b/docs/public/screenshots/icon-button-4.png similarity index 100% rename from docs/static/screenshots/icon-button-4.png rename to docs/public/screenshots/icon-button-4.png diff --git a/docs/static/screenshots/icon.png b/docs/public/screenshots/icon.png similarity index 100% rename from docs/static/screenshots/icon.png rename to docs/public/screenshots/icon.png diff --git a/docs/static/screenshots/list-accordion-1.png b/docs/public/screenshots/list-accordion-1.png similarity index 100% rename from docs/static/screenshots/list-accordion-1.png rename to docs/public/screenshots/list-accordion-1.png diff --git a/docs/static/screenshots/list-accordion-2.png b/docs/public/screenshots/list-accordion-2.png similarity index 100% rename from docs/static/screenshots/list-accordion-2.png rename to docs/public/screenshots/list-accordion-2.png diff --git a/docs/static/screenshots/list-accordion-3.png b/docs/public/screenshots/list-accordion-3.png similarity index 100% rename from docs/static/screenshots/list-accordion-3.png rename to docs/public/screenshots/list-accordion-3.png diff --git a/docs/static/screenshots/list-accordion-group.png b/docs/public/screenshots/list-accordion-group.png similarity index 100% rename from docs/static/screenshots/list-accordion-group.png rename to docs/public/screenshots/list-accordion-group.png diff --git a/docs/static/screenshots/list-icon.png b/docs/public/screenshots/list-icon.png similarity index 100% rename from docs/static/screenshots/list-icon.png rename to docs/public/screenshots/list-icon.png diff --git a/docs/static/screenshots/list-item-1.png b/docs/public/screenshots/list-item-1.png similarity index 100% rename from docs/static/screenshots/list-item-1.png rename to docs/public/screenshots/list-item-1.png diff --git a/docs/static/screenshots/list-item-2.png b/docs/public/screenshots/list-item-2.png similarity index 100% rename from docs/static/screenshots/list-item-2.png rename to docs/public/screenshots/list-item-2.png diff --git a/docs/static/screenshots/list-item-3.png b/docs/public/screenshots/list-item-3.png similarity index 100% rename from docs/static/screenshots/list-item-3.png rename to docs/public/screenshots/list-item-3.png diff --git a/docs/static/screenshots/list-section.png b/docs/public/screenshots/list-section.png similarity index 100% rename from docs/static/screenshots/list-section.png rename to docs/public/screenshots/list-section.png diff --git a/docs/static/screenshots/material-bottom-tabs.gif b/docs/public/screenshots/material-bottom-tabs.gif similarity index 100% rename from docs/static/screenshots/material-bottom-tabs.gif rename to docs/public/screenshots/material-bottom-tabs.gif diff --git a/docs/static/screenshots/menu-1.png b/docs/public/screenshots/menu-1.png similarity index 100% rename from docs/static/screenshots/menu-1.png rename to docs/public/screenshots/menu-1.png diff --git a/docs/static/screenshots/menu-2.png b/docs/public/screenshots/menu-2.png similarity index 100% rename from docs/static/screenshots/menu-2.png rename to docs/public/screenshots/menu-2.png diff --git a/docs/static/screenshots/menu-item.png b/docs/public/screenshots/menu-item.png similarity index 100% rename from docs/static/screenshots/menu-item.png rename to docs/public/screenshots/menu-item.png diff --git a/docs/static/screenshots/modal.gif b/docs/public/screenshots/modal.gif similarity index 100% rename from docs/static/screenshots/modal.gif rename to docs/public/screenshots/modal.gif diff --git a/docs/static/screenshots/progress-bar.png b/docs/public/screenshots/progress-bar.png similarity index 100% rename from docs/static/screenshots/progress-bar.png rename to docs/public/screenshots/progress-bar.png diff --git a/docs/static/screenshots/radio-button-group-android.gif b/docs/public/screenshots/radio-button-group-android.gif similarity index 100% rename from docs/static/screenshots/radio-button-group-android.gif rename to docs/public/screenshots/radio-button-group-android.gif diff --git a/docs/static/screenshots/radio-button-group-ios.gif b/docs/public/screenshots/radio-button-group-ios.gif similarity index 100% rename from docs/static/screenshots/radio-button-group-ios.gif rename to docs/public/screenshots/radio-button-group-ios.gif diff --git a/docs/static/screenshots/radio-disabled.android.png b/docs/public/screenshots/radio-disabled.android.png similarity index 100% rename from docs/static/screenshots/radio-disabled.android.png rename to docs/public/screenshots/radio-disabled.android.png diff --git a/docs/static/screenshots/radio-disabled.ios.png b/docs/public/screenshots/radio-disabled.ios.png similarity index 100% rename from docs/static/screenshots/radio-disabled.ios.png rename to docs/public/screenshots/radio-disabled.ios.png diff --git a/docs/static/screenshots/radio-enabled.android.png b/docs/public/screenshots/radio-enabled.android.png similarity index 100% rename from docs/static/screenshots/radio-enabled.android.png rename to docs/public/screenshots/radio-enabled.android.png diff --git a/docs/static/screenshots/radio-enabled.ios.png b/docs/public/screenshots/radio-enabled.ios.png similarity index 100% rename from docs/static/screenshots/radio-enabled.ios.png rename to docs/public/screenshots/radio-enabled.ios.png diff --git a/docs/static/screenshots/radio-item.ios.png b/docs/public/screenshots/radio-item.ios.png similarity index 100% rename from docs/static/screenshots/radio-item.ios.png rename to docs/public/screenshots/radio-item.ios.png diff --git a/docs/static/screenshots/react-navigation-appBar1.png b/docs/public/screenshots/react-navigation-appBar1.png similarity index 100% rename from docs/static/screenshots/react-navigation-appBar1.png rename to docs/public/screenshots/react-navigation-appBar1.png diff --git a/docs/static/screenshots/react-navigation-appBar2.gif b/docs/public/screenshots/react-navigation-appBar2.gif similarity index 100% rename from docs/static/screenshots/react-navigation-appBar2.gif rename to docs/public/screenshots/react-navigation-appBar2.gif diff --git a/docs/static/screenshots/react-navigation-appBar3.gif b/docs/public/screenshots/react-navigation-appBar3.gif similarity index 100% rename from docs/static/screenshots/react-navigation-appBar3.gif rename to docs/public/screenshots/react-navigation-appBar3.gif diff --git a/docs/static/screenshots/react-navigation-appBar4.gif b/docs/public/screenshots/react-navigation-appBar4.gif similarity index 100% rename from docs/static/screenshots/react-navigation-appBar4.gif rename to docs/public/screenshots/react-navigation-appBar4.gif diff --git a/docs/static/screenshots/searchbar-view.png b/docs/public/screenshots/searchbar-view.png similarity index 100% rename from docs/static/screenshots/searchbar-view.png rename to docs/public/screenshots/searchbar-view.png diff --git a/docs/static/screenshots/searchbar.png b/docs/public/screenshots/searchbar.png similarity index 100% rename from docs/static/screenshots/searchbar.png rename to docs/public/screenshots/searchbar.png diff --git a/docs/static/screenshots/segmented-button-multi-select.png b/docs/public/screenshots/segmented-button-multi-select.png similarity index 100% rename from docs/static/screenshots/segmented-button-multi-select.png rename to docs/public/screenshots/segmented-button-multi-select.png diff --git a/docs/static/screenshots/segmented-button-single-select.png b/docs/public/screenshots/segmented-button-single-select.png similarity index 100% rename from docs/static/screenshots/segmented-button-single-select.png rename to docs/public/screenshots/segmented-button-single-select.png diff --git a/docs/static/screenshots/segmentedbuttons.gif b/docs/public/screenshots/segmentedbuttons.gif similarity index 100% rename from docs/static/screenshots/segmentedbuttons.gif rename to docs/public/screenshots/segmentedbuttons.gif diff --git a/docs/static/screenshots/snackbar.gif b/docs/public/screenshots/snackbar.gif similarity index 100% rename from docs/static/screenshots/snackbar.gif rename to docs/public/screenshots/snackbar.gif diff --git a/docs/static/screenshots/surface-elevated-full-width.png b/docs/public/screenshots/surface-elevated-full-width.png similarity index 100% rename from docs/static/screenshots/surface-elevated-full-width.png rename to docs/public/screenshots/surface-elevated-full-width.png diff --git a/docs/static/screenshots/surface-flat-full-width.png b/docs/public/screenshots/surface-flat-full-width.png similarity index 100% rename from docs/static/screenshots/surface-flat-full-width.png rename to docs/public/screenshots/surface-flat-full-width.png diff --git a/docs/static/screenshots/switch-disabled.android.png b/docs/public/screenshots/switch-disabled.android.png similarity index 100% rename from docs/static/screenshots/switch-disabled.android.png rename to docs/public/screenshots/switch-disabled.android.png diff --git a/docs/static/screenshots/switch-disabled.ios.png b/docs/public/screenshots/switch-disabled.ios.png similarity index 100% rename from docs/static/screenshots/switch-disabled.ios.png rename to docs/public/screenshots/switch-disabled.ios.png diff --git a/docs/static/screenshots/switch-enabled.android.png b/docs/public/screenshots/switch-enabled.android.png similarity index 100% rename from docs/static/screenshots/switch-enabled.android.png rename to docs/public/screenshots/switch-enabled.android.png diff --git a/docs/static/screenshots/switch-enabled.ios.png b/docs/public/screenshots/switch-enabled.ios.png similarity index 100% rename from docs/static/screenshots/switch-enabled.ios.png rename to docs/public/screenshots/switch-enabled.ios.png diff --git a/docs/static/screenshots/text-badges.png b/docs/public/screenshots/text-badges.png similarity index 100% rename from docs/static/screenshots/text-badges.png rename to docs/public/screenshots/text-badges.png diff --git a/docs/static/screenshots/text-input-filled.png b/docs/public/screenshots/text-input-filled.png similarity index 100% rename from docs/static/screenshots/text-input-filled.png rename to docs/public/screenshots/text-input-filled.png diff --git a/docs/static/screenshots/text-input-outlined.png b/docs/public/screenshots/text-input-outlined.png similarity index 100% rename from docs/static/screenshots/text-input-outlined.png rename to docs/public/screenshots/text-input-outlined.png diff --git a/docs/static/screenshots/themingWithReactNavigationDarkLightSwitch.gif b/docs/public/screenshots/themingWithReactNavigationDarkLightSwitch.gif similarity index 100% rename from docs/static/screenshots/themingWithReactNavigationDarkLightSwitch.gif rename to docs/public/screenshots/themingWithReactNavigationDarkLightSwitch.gif diff --git a/docs/static/screenshots/toggle-button-group.gif b/docs/public/screenshots/toggle-button-group.gif similarity index 100% rename from docs/static/screenshots/toggle-button-group.gif rename to docs/public/screenshots/toggle-button-group.gif diff --git a/docs/static/screenshots/toggle-button-row.gif b/docs/public/screenshots/toggle-button-row.gif similarity index 100% rename from docs/static/screenshots/toggle-button-row.gif rename to docs/public/screenshots/toggle-button-row.gif diff --git a/docs/static/screenshots/toggle-button.png b/docs/public/screenshots/toggle-button.png similarity index 100% rename from docs/static/screenshots/toggle-button.png rename to docs/public/screenshots/toggle-button.png diff --git a/docs/static/screenshots/tooltip.png b/docs/public/screenshots/tooltip.png similarity index 100% rename from docs/static/screenshots/tooltip.png rename to docs/public/screenshots/tooltip.png diff --git a/docs/static/screenshots/tooltips.gif b/docs/public/screenshots/tooltips.gif similarity index 100% rename from docs/static/screenshots/tooltips.gif rename to docs/public/screenshots/tooltips.gif diff --git a/docs/static/screenshots/touchable-ripple.gif b/docs/public/screenshots/touchable-ripple.gif similarity index 100% rename from docs/static/screenshots/touchable-ripple.gif rename to docs/public/screenshots/touchable-ripple.gif diff --git a/docs/static/screenshots/typography.png b/docs/public/screenshots/typography.png similarity index 100% rename from docs/static/screenshots/typography.png rename to docs/public/screenshots/typography.png diff --git a/docs/static/showcase/appngo.png b/docs/public/showcase/appngo.png similarity index 100% rename from docs/static/showcase/appngo.png rename to docs/public/showcase/appngo.png diff --git a/docs/static/showcase/astrale.png b/docs/public/showcase/astrale.png similarity index 100% rename from docs/static/showcase/astrale.png rename to docs/public/showcase/astrale.png diff --git a/docs/static/showcase/bluebirding.png b/docs/public/showcase/bluebirding.png similarity index 100% rename from docs/static/showcase/bluebirding.png rename to docs/public/showcase/bluebirding.png diff --git a/docs/static/showcase/clutch.png b/docs/public/showcase/clutch.png similarity index 100% rename from docs/static/showcase/clutch.png rename to docs/public/showcase/clutch.png diff --git a/docs/static/showcase/crazythursday.jpg b/docs/public/showcase/crazythursday.jpg similarity index 100% rename from docs/static/showcase/crazythursday.jpg rename to docs/public/showcase/crazythursday.jpg diff --git a/docs/static/showcase/darkhackernews.png b/docs/public/showcase/darkhackernews.png similarity index 100% rename from docs/static/showcase/darkhackernews.png rename to docs/public/showcase/darkhackernews.png diff --git a/docs/static/showcase/groovy.png b/docs/public/showcase/groovy.png similarity index 100% rename from docs/static/showcase/groovy.png rename to docs/public/showcase/groovy.png diff --git a/docs/static/showcase/homeworkhelper.png b/docs/public/showcase/homeworkhelper.png similarity index 100% rename from docs/static/showcase/homeworkhelper.png rename to docs/public/showcase/homeworkhelper.png diff --git a/docs/static/showcase/lyracollect.png b/docs/public/showcase/lyracollect.png similarity index 100% rename from docs/static/showcase/lyracollect.png rename to docs/public/showcase/lyracollect.png diff --git a/docs/static/showcase/moonmeet.png b/docs/public/showcase/moonmeet.png similarity index 100% rename from docs/static/showcase/moonmeet.png rename to docs/public/showcase/moonmeet.png diff --git a/docs/static/showcase/pandadeals.png b/docs/public/showcase/pandadeals.png similarity index 100% rename from docs/static/showcase/pandadeals.png rename to docs/public/showcase/pandadeals.png diff --git a/docs/static/showcase/paper.png b/docs/public/showcase/paper.png similarity index 100% rename from docs/static/showcase/paper.png rename to docs/public/showcase/paper.png diff --git a/docs/static/showcase/quakemap.png b/docs/public/showcase/quakemap.png similarity index 100% rename from docs/static/showcase/quakemap.png rename to docs/public/showcase/quakemap.png diff --git a/docs/static/showcase/racecalendar.png b/docs/public/showcase/racecalendar.png similarity index 100% rename from docs/static/showcase/racecalendar.png rename to docs/public/showcase/racecalendar.png diff --git a/docs/static/showcase/rozy.png b/docs/public/showcase/rozy.png similarity index 100% rename from docs/static/showcase/rozy.png rename to docs/public/showcase/rozy.png diff --git a/docs/static/showcase/showman.png b/docs/public/showcase/showman.png similarity index 100% rename from docs/static/showcase/showman.png rename to docs/public/showcase/showman.png diff --git a/docs/static/showcase/tracksnz.png b/docs/public/showcase/tracksnz.png similarity index 100% rename from docs/static/showcase/tracksnz.png rename to docs/public/showcase/tracksnz.png diff --git a/docs/static/showcase/unicore.png b/docs/public/showcase/unicore.png similarity index 100% rename from docs/static/showcase/unicore.png rename to docs/public/showcase/unicore.png diff --git a/docs/static/showcase/vibemap.png b/docs/public/showcase/vibemap.png similarity index 100% rename from docs/static/showcase/vibemap.png rename to docs/public/showcase/vibemap.png diff --git a/docs/static/showcase/weatherforecast.png b/docs/public/showcase/weatherforecast.png similarity index 100% rename from docs/static/showcase/weatherforecast.png rename to docs/public/showcase/weatherforecast.png diff --git a/docs/static/showcase/yummeals.png b/docs/public/showcase/yummeals.png similarity index 100% rename from docs/static/showcase/yummeals.png rename to docs/public/showcase/yummeals.png diff --git a/docs/static/showcase/zoomapto.png b/docs/public/showcase/zoomapto.png similarity index 100% rename from docs/static/showcase/zoomapto.png rename to docs/public/showcase/zoomapto.png diff --git a/docs/rspress.config.ts b/docs/rspress.config.ts new file mode 100644 index 0000000000..c7c5195c42 --- /dev/null +++ b/docs/rspress.config.ts @@ -0,0 +1,172 @@ +import { withCallstackPreset } from '@callstack/rspress-preset'; +import { defineConfig } from '@rspress/core'; +import { createRequire } from 'node:module'; +import path from 'node:path'; + +const REPO_NAME = 'react-native-paper'; +const REPO_ORG = 'callstack'; + +const src = path.resolve(__dirname, 'src'); + +const require = createRequire(import.meta.url); +const resolve = (packageName: string) => + path.dirname(require.resolve(`${packageName}/package.json`)); + +const paper = path.resolve(__dirname, '..', 'src'); + +export default withCallstackPreset( + { + context: __dirname, + docs: { + title: 'React Native Paper', + description: 'Material Design for React Native', + editUrl: `https://github.com/${REPO_ORG}/${REPO_NAME}/edit/main/docs`, + rootUrl: `https://${REPO_ORG}.github.io/${REPO_NAME}`, + icon: 'public/images/favicon.ico', + logoLight: `/${REPO_NAME}/images/sidebar-logo.svg`, + logoDark: `/${REPO_NAME}/images/sidebar-logo.svg`, + rootDir: '.', + socials: { + github: `https://github.com/${REPO_ORG}/${REPO_NAME}`, + discord: 'https://discord.gg/zwR2Cdh', + x: 'https://twitter.com/rn_paper', + }, + }, + theme: { + content: { + docFooterCTAHeadline: '', + docFooterCTAButtonText: '', + homeBannerHeadline: '', + homeBannerDescription: '', + homeBannerButtonText: '', + outlineCTAHeadline: '', + outlineCTADescription: '', + outlineCTAButtonText: '', + }, + links: { + docFooterCTA: '', + homeBanner: '', + homeFooter: 'https://www.callstack.com', + outlineCTA: '', + }, + }, + vercelAnalytics: false, + }, + defineConfig({ + base: '/react-native-paper/', + outDir: 'build', + globalStyles: path.join(src, 'css', 'custom.css'), + multiVersion: { + default: '5.x', + versions: ['5.x', '6.x'], + }, + route: { + cleanUrls: true, + extensions: ['.md', '.mdx'], + include: ['5.x/**/*.{md,mdx}', '6.x/**/*.{md,mdx}'], + exclude: [ + 'src/**', + 'scripts/**', + 'public/**', + 'build/**', + 'test-results/**', + 'tests/**', + 'visual/**', + 'component-docs-plugin/**', + 'README.md', + ], + }, + search: { + versioned: true, + codeBlocks: true, + }, + i18nSource: (source) => ({ + ...source, + outlineTitle: { + ...source.outlineTitle, + en: 'Contents', + }, + searchNoResultsText: { + ...source.searchNoResultsText, + en: 'No results found, try something different than', + }, + searchSuggestedQueryText: { + ...source.searchSuggestedQueryText, + en: '', + }, + 'overview.filterNameText': { + ...source['overview.filterNameText'], + en: '', + }, + }), + builderConfig: { + source: { + exclude: [paper], + }, + resolve: { + extensions: [ + '.web.tsx', + '.web.ts', + '.web.jsx', + '.web.js', + '.tsx', + '.ts', + '.jsx', + '.js', + '.json', + ], + alias: { + '@docs': src, + react: resolve('react'), + 'react-dom': resolve('react-dom'), + 'react-native$': resolve('react-native-web'), + 'react-native-web/dist/exports/StyleSheet/compiler/createReactDOMStyle': + path.resolve( + resolve('react-native-web'), + 'dist/exports/StyleSheet/compiler/createReactDOMStyle.js' + ), + 'react-native-web/dist/exports/StyleSheet/preprocess': path.resolve( + resolve('react-native-web'), + 'dist/exports/StyleSheet/preprocess.js' + ), + 'react-native-paper': paper, + }, + }, + tools: { + rspack(config, { isDev, rspack }) { + config.module.rules = [ + ...(config.module.rules ?? []), + { + test: /\.[jt]sx?$/, + include: [paper], + use: { + loader: require.resolve('babel-loader'), + options: { + babelrc: false, + configFile: false, + presets: [require.resolve('@react-native/babel-preset')], + plugins: [require.resolve('react-native-reanimated/plugin')], + }, + }, + }, + ]; + + config.plugins.push( + new rspack.DefinePlugin({ + __DEV__: JSON.stringify(isDev), + 'process.env.JEST_WORKER_ID': 'undefined', + 'process.env.NODE_ENV': JSON.stringify( + isDev ? 'development' : 'production' + ), + }) + ); + + config.ignoreWarnings = [ + ...(config.ignoreWarnings ?? []), + /Can't resolve '@react-native-vector-icons\/get-image'/, + ]; + }, + }, + }, + }) +); diff --git a/docs/scripts/generate-current-component-docs.ts b/docs/scripts/generate-current-component-docs.ts new file mode 100644 index 0000000000..c36d2e4ed1 --- /dev/null +++ b/docs/scripts/generate-current-component-docs.ts @@ -0,0 +1,173 @@ +import componentDocsParser from 'component-docs/dist/parsers/component.js'; +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +import type { ComponentDoc } from '../component-docs-plugin/generatePageMDX.ts'; +import generatePageMDX from '../component-docs-plugin/generatePageMDX.ts'; +import componentDocsConfig from '../component-docs.config.ts'; + +const parseComponentDocs = componentDocsParser.default; + +const rootDir = path.resolve( + path.dirname(fileURLToPath(import.meta.url)), + '..' +); +const repoRootDir = path.resolve(rootDir, '..'); +const outputDir = componentDocsConfig.docsRootDir; +const metadataPath = path.join(rootDir, 'src', 'data', 'componentDocs6x.json'); + +const isRecord = (value: unknown): value is Record => + typeof value === 'object' && value !== null; + +const normalizeDocs = (value: unknown, sourceDir: string): unknown => { + if (Array.isArray(value)) { + return value.map((item) => normalizeDocs(item, sourceDir)); + } + + if (!isRecord(value)) { + return value; + } + + return Object.fromEntries( + Object.entries(value).map(([key, item]) => { + if (key !== 'dependencies' || !Array.isArray(item)) { + return [key, normalizeDocs(item, sourceDir)]; + } + + return [ + key, + item.map((dependency) => { + if (typeof dependency !== 'string' || !path.isAbsolute(dependency)) { + return dependency; + } + + const realDependency = fs.existsSync(dependency) + ? fs.realpathSync(dependency) + : dependency; + const relativeDependency = path.relative(sourceDir, realDependency); + + if ( + relativeDependency.startsWith('..') || + path.isAbsolute(relativeDependency) + ) { + return dependency; + } + + return relativeDependency.split(path.sep).join('/'); + }), + ]; + }) + ); +}; + +const ensureDir = (dirPath: string) => { + fs.mkdirSync(dirPath, { recursive: true }); +}; + +const writeJson = (filePath: string, value: unknown) => { + ensureDir(path.dirname(filePath)); + fs.writeFileSync(filePath, `${JSON.stringify(value, null, 2)}\n`); +}; + +const writeDocPage = ( + targetPath: string, + sourcePath: string, + docs: Record +) => { + const doc = parseComponentDocs(sourcePath, { + root: componentDocsConfig.libsRootDir, + }); + + ensureDir(path.dirname(targetPath)); + fs.writeFileSync( + targetPath, + generatePageMDX( + doc, + path + .relative(componentDocsConfig.libsRootDir, sourcePath) + .replace(/\.tsx$/, '') + .split(path.sep) + .join('/') + ) + ); + + docs[ + path + .relative(componentDocsConfig.libsRootDir, sourcePath) + .replace(/\.tsx$/, '') + .split(path.sep) + .join('/') + ] = doc; +}; + +const writeMetaFiles = () => { + writeJson( + path.join(outputDir, '_meta.json'), + Object.entries(componentDocsConfig.pages).map(([entryName, pageValue]) => { + if (typeof pageValue === 'string') { + return entryName; + } + + return { + type: 'dir', + name: entryName, + label: entryName, + collapsible: true, + collapsed: false, + }; + }) + ); + + for (const [entryName, pageValue] of Object.entries( + componentDocsConfig.pages + )) { + if (typeof pageValue === 'string') { + continue; + } + + writeJson( + path.join(outputDir, entryName, '_meta.json'), + Object.keys(pageValue) + ); + } +}; + +const main = () => { + fs.rmSync(outputDir, { recursive: true, force: true }); + ensureDir(outputDir); + + const docs: Record = {}; + + for (const [entryName, pageValue] of Object.entries( + componentDocsConfig.pages + )) { + if (typeof pageValue === 'string') { + writeDocPage( + path.join(outputDir, `${entryName}.mdx`), + path.join(componentDocsConfig.libsRootDir, `${pageValue}.tsx`), + docs + ); + continue; + } + + const groupDir = path.join(outputDir, entryName); + + for (const [subitem, source] of Object.entries(pageValue)) { + writeDocPage( + path.join(groupDir, `${subitem}.mdx`), + path.join(componentDocsConfig.libsRootDir, `${source}.tsx`), + docs + ); + } + } + + ensureDir(path.dirname(metadataPath)); + writeJson(metadataPath, { + docs: normalizeDocs(docs, fs.realpathSync(repoRootDir)), + }); + + writeMetaFiles(); +}; + +main(); diff --git a/docs/scripts/generate-rspress-content.ts b/docs/scripts/generate-rspress-content.ts new file mode 100644 index 0000000000..1c9accd93a --- /dev/null +++ b/docs/scripts/generate-rspress-content.ts @@ -0,0 +1,274 @@ +import fs from 'node:fs'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +import componentDocsConfig from '../component-docs.config.ts'; + +type MetaEntry = + | string + | { + type: string; + name: string; + label: string; + collapsible?: boolean; + collapsed?: boolean; + }; + +const rootDir = path.resolve( + path.dirname(fileURLToPath(import.meta.url)), + '..' +); +const sourcePagesDir = path.join(rootDir, 'src', 'pages'); +const publicDir = path.join(rootDir, 'public'); +const basePublicDir = path.join(publicDir, 'react-native-paper'); +const docsOrder = ['5.x', '6.x']; + +const NUMERIC_PREFIX = /^\d+-/; + +const ensureDir = (dirPath: string) => { + fs.mkdirSync(dirPath, { recursive: true }); +}; + +const readFile = (filePath: string) => fs.readFileSync(filePath, 'utf8'); + +const writeJson = (filePath: string, value: unknown) => { + ensureDir(path.dirname(filePath)); + fs.writeFileSync(filePath, `${JSON.stringify(value, null, 2)}\n`); +}; + +const readStringArrayJson = (filePath: string) => { + const value: unknown = JSON.parse(readFile(filePath)); + + if ( + !Array.isArray(value) || + !value.every((item) => typeof item === 'string') + ) { + throw new Error(`${filePath} must contain a string array`); + } + + return value; +}; + +const stripExtension = (fileName: string) => + fileName.replace(/\.(md|mdx)$/, ''); + +const stripNumericPrefix = (fileName: string) => + stripExtension(fileName).replace(NUMERIC_PREFIX, ''); + +const transformIndexContent = (content: string) => + content + .replace( + '![paperLogo](../../static/images/sidebar-logo.svg)', + 'React Native Paper' + ) + .replace( + "import GetStartedButtons from '../components/GetStartedButtons';", + "import GetStartedButtons from '@docs/components/GetStartedButtons';" + ) + .replace("import {Button} from 'react-native-paper';\n", '') + .replace( + "import BannerExample from '../components/BannerExample';", + "import BannerExample from '@docs/components/BannerExample';" + ) + .replace(/src="\.\/*gallery\//g, 'src="/react-native-paper/gallery/'); + +const copyFile = ( + sourcePath: string, + targetPath: string, + transform: (content: string) => string +) => { + ensureDir(path.dirname(targetPath)); + const source = readFile(sourcePath); + fs.writeFileSync(targetPath, transform(source)); +}; + +const getVersionDocsDir = (version: string) => + path.join(rootDir, version, 'docs'); + +const createNav = (version: string) => { + const activePrefix = version === '6.x' ? '^/(?:6\\.x/)?docs' : '^/docs'; + + return [ + { + text: 'Guides', + link: '/docs/guides/getting-started', + activeMatch: `${activePrefix}/guides/`, + }, + { + text: 'Components', + link: '/docs/components/ActivityIndicator', + activeMatch: `${activePrefix}/components/`, + }, + { + text: 'Showcase', + link: '/docs/showcase', + activeMatch: `${activePrefix}/showcase$`, + }, + ]; +}; + +const getVersionComponentOrder = (version: string): MetaEntry[] => { + const fromConfig = Object.entries(componentDocsConfig.pages).map( + ([entryName, value]) => { + if (typeof value === 'string') { + return entryName; + } + + return { + type: 'dir', + name: entryName, + label: entryName, + collapsible: true, + collapsed: false, + }; + } + ); + + if (version !== '5.x') { + return fromConfig; + } + + return [ + ...fromConfig, + { + type: 'dir', + name: 'HelperText', + label: 'HelperText', + collapsible: true, + collapsed: false, + }, + ]; +}; + +const getComponentChildOrder = (version: string, dirName: string) => { + const configEntry = componentDocsConfig.pages[dirName]; + + if (version !== '5.x' && configEntry && typeof configEntry !== 'string') { + return Object.keys(configEntry); + } + + const dirPath = path.join(getVersionDocsDir(version), 'components', dirName); + + return fs + .readdirSync(dirPath, { withFileTypes: true }) + .filter((entry) => entry.isFile() && /\.(md|mdx)$/.test(entry.name)) + .map((entry) => stripExtension(entry.name)); +}; + +const createGuidesMeta = (version: string) => { + const guidesDir = path.join(getVersionDocsDir(version), 'guides'); + const metaPath = path.join(guidesDir, '_meta.json'); + const existingOrder = fs.existsSync(metaPath) + ? readStringArrayJson(metaPath) + : []; + + const currentEntries = fs + .readdirSync(guidesDir, { withFileTypes: true }) + .filter((entry) => entry.isFile() && /\.(md|mdx)$/.test(entry.name)) + .map((entry) => stripNumericPrefix(entry.name)); + + const knownEntries = existingOrder.filter((entry) => + currentEntries.includes(entry) + ); + const newEntries = currentEntries.filter( + (entry) => !existingOrder.includes(entry) + ); + + return [...knownEntries, ...newEntries]; +}; + +const createComponentMeta = (version: string) => { + return getVersionComponentOrder(version); +}; + +const writeMetaFiles = (version: string, targetVersionDir: string) => { + const docsDir = path.join(targetVersionDir, 'docs'); + const componentsDir = path.join(docsDir, 'components'); + + writeJson(path.join(docsDir, '_meta.json'), [ + { + type: 'dir-section-header', + name: 'guides', + label: 'Guides', + }, + { + type: 'dir-section-header', + name: 'components', + label: 'Components', + }, + { + type: 'file', + name: 'showcase', + label: 'Showcase', + }, + ]); + + writeJson( + path.join(docsDir, 'guides', '_meta.json'), + createGuidesMeta(version) + ); + writeJson( + path.join(componentsDir, '_meta.json'), + createComponentMeta(version) + ); + + for (const entry of fs.readdirSync(componentsDir, { withFileTypes: true })) { + if (!entry.isDirectory()) { + continue; + } + + writeJson( + path.join(componentsDir, entry.name, '_meta.json'), + getComponentChildOrder(version, entry.name) + ); + } +}; + +const writeIndexPage = (targetVersionDir: string) => { + copyFile( + path.join(sourcePagesDir, 'index.mdx'), + path.join(targetVersionDir, 'index.mdx'), + transformIndexContent + ); +}; + +const copyBasePublicAssets = () => { + fs.rmSync(basePublicDir, { recursive: true, force: true }); + ensureDir(basePublicDir); + + for (const entry of fs.readdirSync(publicDir, { withFileTypes: true })) { + if (entry.name === 'react-native-paper') { + continue; + } + + fs.cpSync( + path.join(publicDir, entry.name), + path.join(basePublicDir, entry.name), + { + recursive: true, + force: true, + } + ); + } +}; + +const prepareVersionDir = (version: string) => { + const targetVersionDir = path.join(rootDir, version); + ensureDir(targetVersionDir); + + writeJson(path.join(targetVersionDir, '_nav.json'), createNav(version)); + writeIndexPage(targetVersionDir); + writeMetaFiles(version, targetVersionDir); +}; + +const main = () => { + copyBasePublicAssets(); + fs.rmSync(path.join(rootDir, 'docs'), { recursive: true, force: true }); + fs.rmSync(path.join(rootDir, 'index.mdx'), { force: true }); + + for (const version of docsOrder) { + prepareVersionDir(version); + } +}; + +main(); diff --git a/docs/sidebars.js b/docs/sidebars.js deleted file mode 100644 index 072e565759..0000000000 --- a/docs/sidebars.js +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Creating a sidebar enables you to: - - create an ordered group of docs - - render a sidebar for each doc of that group - - provide next/previous navigation - - The sidebars can be generated from the filesystem, or explicitly defined here. - - Create as many sidebars as you want. - */ - -// @ts-check - -/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ -const sidebars = { - tutorialSidebar: [{ type: 'autogenerated', dirName: 'guides' }], - components: [{ type: 'autogenerated', dirName: 'components' }], -}; - -module.exports = sidebars; diff --git a/docs/src/components/Admonition.tsx b/docs/src/components/Admonition.tsx new file mode 100644 index 0000000000..099782a878 --- /dev/null +++ b/docs/src/components/Admonition.tsx @@ -0,0 +1,31 @@ +import type { ReactNode } from 'react'; + +type AdmonitionProps = { + children: ReactNode; + title?: ReactNode; + type?: 'note' | 'tip' | 'info' | 'caution' | 'warning' | 'danger'; +}; + +const typeClassName = { + caution: 'warning', + danger: 'danger', + info: 'info', + note: 'note', + tip: 'tip', + warning: 'warning', +}; + +export default function Admonition({ + children, + title, + type = 'note', +}: AdmonitionProps) { + const normalizedType = typeClassName[type] ?? 'note'; + + return ( +
    + {title ?

    {title}

    : null} +
    {children}
    +
    + ); +} diff --git a/docs/src/components/BannerExample.tsx b/docs/src/components/BannerExample.tsx index fcb3e0a8e2..56bd19f194 100644 --- a/docs/src/components/BannerExample.tsx +++ b/docs/src/components/BannerExample.tsx @@ -1,18 +1,16 @@ import * as React from 'react'; import { StyleSheet, View } from 'react-native'; +import type { StyleProp, ViewStyle } from 'react-native'; -//@ts-ignore -import BrowserOnly from '@docusaurus/BrowserOnly'; -//@ts-ignore -import { useColorMode } from '@docusaurus/theme-common'; +import { BrowserOnly } from '@rspress/core/runtime'; import { Avatar, Button, - FAB, DarkTheme, + FAB, LightTheme, ProgressBar, - PaperProvider, + Provider, RadioButton, Switch, Text, @@ -20,6 +18,10 @@ import { useTheme, } from 'react-native-paper'; +import { useColorMode } from './theme-common'; + +const shimmerBorderColor = 'rgba(125, 82, 96, 0.4)'; + const styles = StyleSheet.create({ container: { padding: 24, @@ -33,15 +35,33 @@ const styles = StyleSheet.create({ alignItems: 'flex-start', flexWrap: 'wrap', }, + shimmer: { + alignContent: 'center', + borderColor: shimmerBorderColor, + borderRadius: 16, + borderStyle: 'solid', + borderWidth: 1, + display: 'flex', + justifyContent: 'center', + marginBottom: 32, + marginTop: 36, + minHeight: 500, + padding: 30, + }, }); -const Stack: React.FC< - React.PropsWithChildren<{ - direction?: 'row' | 'column'; - spacing?: number; - style?: any; - }> -> = ({ direction = 'column', spacing = 0, style, children }) => { +type StackProps = React.PropsWithChildren<{ + direction?: 'row' | 'column'; + spacing?: number; + style?: StyleProp; +}>; + +const Stack = ({ + direction = 'column', + spacing = 0, + style, + children, +}: StackProps) => { return ( {React.Children.map(children, (child, index) => ( @@ -109,13 +129,13 @@ const BannerExample = () => { setText(text)} + onChangeText={(value) => setText(value)} /> setText(text)} + onChangeText={(value) => setText(value)} /> @@ -142,34 +162,16 @@ const BannerExample = () => { }; const Shimmer = () => { - /* Docusaurus won't call StyleSheet.create() server-side */ - /* eslint-disable react-native/no-inline-styles, react-native/no-color-literals */ - - return ( - - ); + return ; }; const ThemedBannerExample = () => { const isDarkTheme = useColorMode().colorMode === 'dark'; + return ( - + - + ); }; diff --git a/docs/src/components/CodeBlock.tsx b/docs/src/components/CodeBlock.tsx new file mode 100644 index 0000000000..5e58ba8768 --- /dev/null +++ b/docs/src/components/CodeBlock.tsx @@ -0,0 +1,16 @@ +import type { ReactNode } from 'react'; + +type CodeBlockProps = { + children: ReactNode; + language?: string; +}; + +export default function CodeBlock({ children, language }: CodeBlockProps) { + return ( +
    +      
    +        {children}
    +      
    +    
    + ); +} diff --git a/docs/src/components/ExtendedExample.tsx b/docs/src/components/ExtendedExample.tsx index ec6a3363b4..2773d528e3 100644 --- a/docs/src/components/ExtendedExample.tsx +++ b/docs/src/components/ExtendedExample.tsx @@ -1,9 +1,6 @@ -//@ts-ignore -import CodeBlock from '@theme/CodeBlock'; -//@ts-ignore -import TabItem from '@theme/TabItem'; -//@ts-ignore -import Tabs from '@theme/Tabs'; +import CodeBlock from './CodeBlock'; +import TabItem from './TabItem'; +import Tabs from './Tabs'; interface ExtendedExampleProps { extendedExamplesData: { diff --git a/docs/src/components/GetStartedButtons.tsx b/docs/src/components/GetStartedButtons.tsx index 76a126600f..3b5378b194 100644 --- a/docs/src/components/GetStartedButtons.tsx +++ b/docs/src/components/GetStartedButtons.tsx @@ -1,109 +1,20 @@ -import { StyleSheet, View } from 'react-native'; - -//@ts-ignore -import BrowserOnly from '@docusaurus/BrowserOnly'; -//@ts-ignore -import Link from '@docusaurus/Link'; -//@ts-ignore -import { useColorMode } from '@docusaurus/theme-common'; -import { - Button, - DarkTheme, - LightTheme, - PaperProvider, -} from 'react-native-paper'; - -const styles = StyleSheet.create({ - container: { - flexDirection: 'row', - justifyContent: 'center', - paddingBottom: 16, - }, - button: { - marginRight: 16, - }, -}); - -const noTextDecoration = { - textDecoration: 'none', -}; - -// Needed for ripple effect when pressing `Button`, however navigation is handled by `Link` -const noop = () => {}; - -const GetStartedButton = () => { +export default function GetStartedButtons() { return ( - - - - - - - ); -}; - -const Shimmer = () => { - /* Docusaurus won't call StyleSheet.create() server-side */ - /* eslint-disable react-native/no-inline-styles, react-native/no-color-literals */ - - return ( - - - - - ); -}; - -const ThemedGetStarted = () => { - const isDarkTheme = useColorMode().colorMode === 'dark'; - return ( - - - - ); -}; - -export default function ClientSideGetStarted() { - return ( - }> - {() => } - + + ); } diff --git a/docs/src/components/IconsList.tsx b/docs/src/components/IconsList.tsx index 791265b5b6..76fc8bef1b 100644 --- a/docs/src/components/IconsList.tsx +++ b/docs/src/components/IconsList.tsx @@ -1,7 +1,7 @@ import { useState } from 'react'; const latestIcons: { [key in string]: number } = { - ...require('../../node_modules/@react-native-vector-icons/material-design-icons/glyphmaps/MaterialDesignIcons.json'), + ...require('@react-native-vector-icons/material-design-icons/glyphmaps/MaterialDesignIcons.json'), }; const oldIcons: { [key in string]: number } = { diff --git a/docs/src/components/Link.tsx b/docs/src/components/Link.tsx new file mode 100644 index 0000000000..92f82456d2 --- /dev/null +++ b/docs/src/components/Link.tsx @@ -0,0 +1,32 @@ +import type { AnchorHTMLAttributes, ReactNode } from 'react'; + +import { useSite } from '@rspress/core/dist/runtime/index.js'; + +type LinkProps = AnchorHTMLAttributes & { + children?: ReactNode; + to?: string; +}; + +const withBase = (href: string, base: string) => { + if (/^(https?:)?\/\//.test(href) || href.startsWith('#')) { + return href; + } + + if (!href.startsWith('/')) { + return href; + } + + const normalizedBase = base.endsWith('/') ? base.slice(0, -1) : base; + return `${normalizedBase}${href}`; +}; + +export default function Link({ children, href, to, ...rest }: LinkProps) { + const { site } = useSite(); + const targetHref = to ?? href ?? '#'; + + return ( + + {children} + + ); +} diff --git a/docs/src/components/PaperHomeShowcase.tsx b/docs/src/components/PaperHomeShowcase.tsx new file mode 100644 index 0000000000..2b9db2a775 --- /dev/null +++ b/docs/src/components/PaperHomeShowcase.tsx @@ -0,0 +1,82 @@ +import BannerExample from './BannerExample'; + +const lightImages = [ + 'button.png', + 'input.png', + 'card.png', + 'searchbar.png', + 'appbar.png', + 'snackbar.png', + 'chip.png', + 'list.png', + 'list-accordion.png', + 'typography.png', + 'bottom-navigation.png', + 'fab.png', +]; + +const darkImages = [ + 'button-dark.png', + 'input-dark.png', + 'card-dark.png', + 'searchbar-dark.png', + 'appbar-dark.png', + 'snackbar-dark.png', + 'chip-dark.png', + 'list-dark.png', + 'list-accordion-dark.png', + 'typography-dark.png', + 'bottom-navigation-dark.png', + 'fab-dark.png', +]; + +const renderGallery = (images: string[]) => + images.map((imageName) => ( + + )); + +export default function PaperHomeShowcase() { + return ( +
    +
    +
    +

    In practice

    +

    + Material components, typography, and controls +

    +
    +

    + Browse the component surface the way it appears in real product UI, + not as generic documentation chrome. +

    +
    + +
    + Or check the demo app on{' '} + + iOS + {' '} + or{' '} + + Android + + . +
    + + + +
    + {renderGallery(lightImages)} +
    + +
    + {renderGallery(darkImages)} +
    +
    + ); +} diff --git a/docs/src/components/PaperVersionSelector.tsx b/docs/src/components/PaperVersionSelector.tsx new file mode 100644 index 0000000000..1c2de87152 --- /dev/null +++ b/docs/src/components/PaperVersionSelector.tsx @@ -0,0 +1,102 @@ +import { useEffect, useMemo, useRef } from 'react'; + +import { + usePage, + useVersion, + withBase, +} from '@rspress/core/dist/runtime/index.js'; + +import { getNextRoute, getStableRoute } from '../utils/versionRoutes'; + +const legacyVersions = [ + { label: '4.x', href: '/4.0/' }, + { label: '3.x', href: '/3.0/' }, + { label: '2.x', href: '/2.0/' }, + { label: '1.x', href: '/1.0/' }, +]; + +type VersionLink = { + active: boolean; + external?: boolean; + href: string; + label: string; +}; + +export default function PaperVersionSelector() { + const { page } = usePage(); + const version = useVersion() || '5.x'; + const detailsRef = useRef(null); + + const links = useMemo(() => { + const routePath = page.routePath ?? '/'; + const stableRoute = getStableRoute(routePath); + const nextRoute = getNextRoute(routePath); + + const primaryLink = + version === '6.x' + ? { active: true, href: withBase(nextRoute), label: '6.x' } + : { active: true, href: withBase(stableRoute), label: '5.x' }; + const secondaryLink = + version === '6.x' + ? { active: false, href: withBase(stableRoute), label: '5.x' } + : { active: false, href: withBase(nextRoute), label: '6.x' }; + + return [ + primaryLink, + secondaryLink, + ...legacyVersions.map((item) => ({ + active: false, + external: true, + href: withBase(item.href), + label: item.label, + })), + ]; + }, [page.routePath, version]); + + useEffect(() => { + detailsRef.current?.removeAttribute('open'); + }, [page.routePath]); + + return ( +
    + + {version} + + + +
    + ); +} diff --git a/docs/src/components/PrereleaseNotice.tsx b/docs/src/components/PrereleaseNotice.tsx new file mode 100644 index 0000000000..5e32804c8e --- /dev/null +++ b/docs/src/components/PrereleaseNotice.tsx @@ -0,0 +1,35 @@ +import Link from './Link'; + +type PrereleaseNoticeProps = { + stableHref: string; + stableLabel: string; + version: string; +}; + +export default function PrereleaseNotice({ + stableHref, + stableLabel, + version, +}: PrereleaseNoticeProps) { + return ( + + ); +} diff --git a/docs/src/components/PropTable.tsx b/docs/src/components/PropTable.tsx index 9e073b14fe..54e52d8f3b 100644 --- a/docs/src/components/PropTable.tsx +++ b/docs/src/components/PropTable.tsx @@ -1,19 +1,19 @@ -// @ts-ignore -import useDoc from '@site/component-docs-plugin/useDocs'; +import { useVersion } from '@rspress/core/dist/runtime/index.js'; import Markdown from './Markdown'; +import useDoc from '../../component-docs-plugin/useDocs'; const typeDefinitions = { IconSource: - 'https://github.com/callstack/react-native-paper/blob/main/src/components/Icon.tsx#L16', + 'https://github.com/callstack/react-native-paper/blob/main/components/Icon.tsx#L16', ThemeProp: 'https://callstack.github.io/react-native-paper/docs/guides/theming#theme-properties', '(props: TextInputAccessoryProps) => React.ReactNode': - 'https://github.com/callstack/react-native-paper/blob/main/src/components/TextInput/TextInputIcon.tsx#L11', + 'https://github.com/callstack/react-native-paper/blob/main/components/TextInput/TextInputIcon.tsx#L11', '(props: TextInputRenderProps) => React.ReactNode': - 'https://github.com/callstack/react-native-paper/blob/main/src/components/TextInput/TextInput.tsx#L168', + 'https://github.com/callstack/react-native-paper/blob/main/components/TextInput/TextInput.tsx#L168', 'React.Ref': - 'https://github.com/callstack/react-native-paper/blob/main/src/components/TextInput/TextInput.tsx#L172', + 'https://github.com/callstack/react-native-paper/blob/main/components/TextInput/TextInput.tsx#L172', AccessibilityState: 'https://reactnative.dev/docs/accessibility#accessibilitystate', 'StyleProp': 'https://reactnative.dev/docs/view-style-props', @@ -39,7 +39,8 @@ export default function PropTable({ componentLink: string; prop: string; }) { - const doc = useDoc(componentLink); + const version = useVersion() || '5.x'; + const doc = useDoc(componentLink, version); if (!doc?.data?.props) { return null; diff --git a/docs/src/components/ScreenshotTabs.tsx b/docs/src/components/ScreenshotTabs.tsx index 9eb9241480..6a524c3d21 100644 --- a/docs/src/components/ScreenshotTabs.tsx +++ b/docs/src/components/ScreenshotTabs.tsx @@ -1,16 +1,13 @@ -import React from 'react'; import type { ReactNode } from 'react'; -//@ts-ignore -import TabItem from '@theme/TabItem'; -//@ts-ignore -import Tabs from '@theme/Tabs'; +import { withBase } from '@rspress/core/runtime'; +import TabItem from './TabItem'; +import Tabs from './Tabs'; import type { DataObject } from '../utils/themeColors'; type ScreenshotTabsProps = { screenshotData: DataObject | string; - baseUrl: string; }; const getClassName = (value: string) => @@ -18,12 +15,9 @@ const getClassName = (value: string) => ? 'gifScreenshot' : `tabScreenshot${value.includes('full-width') ? 'full-width' : ''}`; -const ScreenshotTabs: React.FC = ({ - screenshotData, - baseUrl, -}) => { +const ScreenshotTabs = ({ screenshotData }: ScreenshotTabsProps) => { const renderScreenhot = (src: string): ReactNode => ( - + ); if (typeof screenshotData === 'string') { @@ -32,7 +26,7 @@ const ScreenshotTabs: React.FC = ({ const screenshots = Object.entries(screenshotData).map(([key, value]) => ( - {renderScreenhot(value as string)} + {typeof value === 'string' ? renderScreenhot(value) : null} )); diff --git a/docs/src/components/Showcase.tsx b/docs/src/components/Showcase.tsx index 40b95be11f..56b942ac70 100644 --- a/docs/src/components/Showcase.tsx +++ b/docs/src/components/Showcase.tsx @@ -182,8 +182,8 @@ export default function Showcase() { {data.map((item) => { const tintColor = color(item.color).isLight() ? '#000000' : '#FFFFFF'; return ( -
    -
    +
    +
    {children}; +} diff --git a/docs/src/components/Tabs.tsx b/docs/src/components/Tabs.tsx new file mode 100644 index 0000000000..e8b4d3f023 --- /dev/null +++ b/docs/src/components/Tabs.tsx @@ -0,0 +1,11 @@ +import type { ReactNode } from 'react'; + +import { Tabs as RspressTabs } from '@rspress/core/dist/theme/index.js'; + +type TabsProps = { + children: ReactNode; +}; + +export default function Tabs({ children }: TabsProps) { + return {children}; +} diff --git a/docs/src/components/ThemeColorsTable.tsx b/docs/src/components/ThemeColorsTable.tsx index cf98c3e2df..d9c5cec724 100644 --- a/docs/src/components/ThemeColorsTable.tsx +++ b/docs/src/components/ThemeColorsTable.tsx @@ -1,12 +1,8 @@ import type { ReactNode } from 'react'; -//@ts-ignore -import Admonition from '@theme/Admonition'; -//@ts-ignore -import TabItem from '@theme/TabItem'; -//@ts-ignore -import Tabs from '@theme/Tabs'; - +import Admonition from './Admonition'; +import TabItem from './TabItem'; +import Tabs from './Tabs'; import { getMaxNestedLevel, getUniqueNestedKeys } from '../utils/themeColors'; import type { DataObject } from '../utils/themeColors'; @@ -24,6 +20,9 @@ const getTableCell = (keys: string[], modes: DataObject): ReactNode[] => { }); }; +const isDataObject = (value: DataObject[string]): value is DataObject => + typeof value === 'object'; + const FlatTable = ({ themeColorsData, uniqueKeys, @@ -32,10 +31,12 @@ const FlatTable = ({ uniqueKeys: string[]; }): ReactNode => { const rows = Object.keys(themeColorsData).map((mode) => { + const value = themeColorsData[mode]; + return ( {mode} - {getTableCell(uniqueKeys, themeColorsData[mode] as DataObject)} + {isDataObject(value) ? getTableCell(uniqueKeys, value) : null} ); }); @@ -66,30 +67,37 @@ const TabbedTable = ({ themeColorsData: DataObject; uniqueKeys: string[]; }): ReactNode => { - const tabTableContent = Object.keys(themeColorsData).map((key) => { - const modes = themeColorsData[key] as DataObject; - const rows = Object.keys(modes).map((mode) => { + const tabTableContent = Object.entries(themeColorsData).map( + ([key, modes]) => { + if (!isDataObject(modes)) { + return null; + } + + const rows = Object.keys(modes).map((mode) => { + const value = modes[mode]; + + return ( + + {mode} + {isDataObject(value) ? getTableCell(uniqueKeys, value) : null} + + ); + }); return ( - - {mode} - {getTableCell(uniqueKeys, modes[mode] as DataObject)} - + + + + + + {getTableHeader(uniqueKeys)} + + + {rows} +
    mode
    +
    ); - }); - return ( - - - - - - {getTableHeader(uniqueKeys)} - - - {rows} -
    mode
    -
    - ); - }); + } + ); return ( <> diff --git a/docs/src/components/VersionedPrereleaseNotice.tsx b/docs/src/components/VersionedPrereleaseNotice.tsx new file mode 100644 index 0000000000..9c36931191 --- /dev/null +++ b/docs/src/components/VersionedPrereleaseNotice.tsx @@ -0,0 +1,30 @@ +import { usePage, useVersion } from '@rspress/core/dist/runtime/index.js'; + +import PrereleaseNotice from './PrereleaseNotice'; +import { getStableRoute, hasSameStableRoute } from '../utils/versionRoutes'; + +const DOCS_PREFIX = '/6.x/docs/'; + +export default function VersionedPrereleaseNotice() { + const version = useVersion() || '5.x'; + const { page } = usePage(); + const routePath = page.routePath ?? '/'; + + if (version !== '6.x' || !routePath.startsWith(DOCS_PREFIX)) { + return null; + } + + const stableHref = getStableRoute(routePath); + const stableLabel = + hasSameStableRoute(routePath) && page.title + ? `${page.title} (5.x)` + : 'Latest stable docs (5.x)'; + + return ( + + ); +} diff --git a/docs/src/components/theme-common.ts b/docs/src/components/theme-common.ts new file mode 100644 index 0000000000..335ce8eaa1 --- /dev/null +++ b/docs/src/components/theme-common.ts @@ -0,0 +1,9 @@ +import { useDark } from '@rspress/core/dist/runtime/index.js'; + +export const useColorMode = () => { + const isDark = useDark(); + + return { + colorMode: isDark ? 'dark' : 'light', + }; +}; diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index a382d6268e..03288b6bcd 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -1,32 +1,11 @@ -/** - * Any CSS included here will be global. The classic template - * bundles Infima by default. Infima is a CSS framework designed to - * work well for content-centric websites. - */ - -/* You can override the default Infima variables here. */ :root { - --ifm-color-primary: #21005d; - --ifm-color-primary-dark: #1e0054; - --ifm-color-primary-darker: #1c004f; - --ifm-color-primary-darkest: #170041; - --ifm-color-primary-light: #240066; - --ifm-color-primary-lighter: #26006b; - --ifm-color-primary-lightest: #2b0079; - --ifm-code-font-size: 95%; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); -} - -/* For readability concerns, you should choose a lighter palette in dark mode. */ + --paper-nav-link-hover: var(--rp-c-bg-soft, rgba(148, 163, 184, 0.16)); + --paper-nav-link-active: var(--rp-c-bg-mute, rgba(148, 163, 184, 0.24)); +} + [data-theme='dark'] { - --ifm-color-primary: #cfbcff; - --ifm-color-primary-dark: #af90ff; - --ifm-color-primary-darker: #9f7aff; - --ifm-color-primary-darkest: #7037ff; - --ifm-color-primary-light: #efe8ff; - --ifm-color-primary-lighter: #fffeff; - --ifm-color-primary-lightest: #ffffff; - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); + --paper-nav-link-hover: var(--rp-c-bg-soft, rgba(255, 255, 255, 0.12)); + --paper-nav-link-active: var(--rp-c-bg-mute, rgba(255, 255, 255, 0.18)); } .nav-link { @@ -43,15 +22,15 @@ border-radius: 50%; background-color: transparent; z-index: -1; - transition: background-color var(--ifm-transition-fast); + transition: background-color 150ms ease; } .nav-link:hover::before, .nav-link:active::before, .nav-link:focus::before { - background-color: var(--ifm-color-emphasis-200); + background-color: var(--paper-nav-link-hover); } .nav-link:active::before { - background-color: var(--ifm-menu-color-background-active); + background-color: var(--paper-nav-link-active); } .nav-link::after { @@ -79,7 +58,6 @@ html[data-theme='dark'] .nav-link::after { } .screenshots img, - .tabScreenshot { max-width: 45%; } @@ -88,7 +66,7 @@ html[data-theme='dark'] .nav-link::after { max-width: 40%; } -.screenshots figure>img { +.screenshots figure > img { max-width: 100%; } @@ -102,7 +80,6 @@ html[data-theme='dark'] .nav-link::after { width: 33%; } - html[data-theme='dark'] .gallery-dark, html[data-theme='light'] .gallery-light { display: block; @@ -186,7 +163,8 @@ html[data-theme='light'] .gallery-dark { @font-face { font-family: 'MaterialDesignIcons'; - src: url('../../node_modules/@react-native-vector-icons/material-design-icons/fonts/MaterialDesignIcons.ttf') format('truetype'); + src: url('@react-native-vector-icons/material-design-icons/fonts/MaterialDesignIcons.ttf') + format('truetype'); } .badge:is(a .badge) { @@ -215,7 +193,7 @@ a .badge .badge-text { } [data-theme='dark'] .badge { - color: white + color: white; } .badge-supported { @@ -247,7 +225,10 @@ a .badge .badge-text { display: flex; flex-direction: row; flex-wrap: wrap; + gap: 32px; min-width: 0; + align-items: flex-start; + overflow: visible; } .color-picker { @@ -263,7 +244,7 @@ a .badge .badge-text { left: 0; right: 0; bottom: 0; - background: rgba(0,0,0,.2); + background: rgba(0, 0, 0, 0.2); z-index: 1; } @@ -364,7 +345,6 @@ a .badge .badge-text { flex-direction: row; gap: 20px; margin-top: 20px; - } .color-picker-themes > div { flex: 1 0 300px; @@ -390,66 +370,76 @@ a .badge .badge-text { .color-picker-preview-box { padding: 6px 6px 18px 6px; font-size: 12px; - display:block; + display: block; } -.color-picker-button:hover, .color-picker-button:focus, -.color-picker-button-additional:hover, .color-picker-button-additional:focus, -.color-picker-button-cancel:hover, .color-picker-button-cancel:focus{ +.color-picker-button:hover, +.color-picker-button:focus, +.color-picker-button-additional:hover, +.color-picker-button-additional:focus, +.color-picker-button-cancel:hover, +.color-picker-button-cancel:focus { opacity: 0.8; } - @media (max-width: 680px) { .showcase-gallery { justify-content: center; } } +.showcase-card { + flex: 0 0 auto; + overflow: visible; +} + .showcase-image-container { + position: relative; overflow: hidden; - margin: 16px; + width: 270px; + height: 480px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); + background: #ffffff; + isolation: isolate; } -@media (min-width: 420px) { - .showcase-image-container { - height: 528px; - } - - .showcase-image-container:hover .showcase-info, - .showcase-image-container:focus .showcase-info { - transform: translateY(-48px); - } +.showcase-image-container:hover, +.showcase-image-container:focus-within { + z-index: 2; + box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18); } +.showcase-image-container:hover .showcase-info, +.showcase-image-container:focus-within .showcase-info { + transform: translateY(0); +} .showcase-image { display: block; - max-height: 480px; - width: auto; -} - -@media (min-width: 420px) { - .showcase-image { - height: 480px; - width: 270px; - } + width: 100%; + height: 100%; + object-fit: cover; } .showcase-info { - height: 96px; - padding: 12px; - transform: translateY(0); - transition: 150ms; -} - -.showcase-app-name { - font-size: 16px; - margin-top: 0; + position: absolute; + left: 0; + right: 0; + bottom: 0; + min-height: 136px; + padding: 18px 24px 20px; + transform: translateY(calc(100% - 68px)); + transition: transform 180ms ease; + box-shadow: 0 -16px 32px rgba(15, 23, 42, 0.18); +} + +.showcase-info .showcase-app-name { + font-size: 17px; + line-height: 1.2; + margin-block-start: 0; + margin-block-end: 12px; margin-bottom: 12px; - - width: 246px; + width: auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; @@ -458,14 +448,36 @@ a .badge .badge-text { .showcase-badge-container { display: flex; flex-direction: row; + align-items: center; margin-top: 16px; - padding-left: 3px; + padding-left: 1px; } .showcase-separation { margin: 0 10px; } +@media (max-width: 420px) { + .showcase-gallery { + gap: 24px; + } + + .showcase-image-container { + width: min(270px, 100%); + height: auto; + } + + .showcase-image { + height: auto; + aspect-ratio: 9 / 16; + } + + .showcase-info { + min-height: 124px; + transform: translateY(calc(100% - 60px)); + } +} + /* Switch.tsx */ .react-switch-checkbox { @@ -484,7 +496,7 @@ a .badge .badge-text { background: grey; border-radius: 100px; position: relative; - transition: background-color .2s; + transition: background-color 0.2s; } .react-switch-label .react-switch-button { @@ -500,7 +512,7 @@ a .badge .badge-text { box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29); } -.react-switch-checkbox:checked+.react-switch-label .react-switch-button { +.react-switch-checkbox:checked + .react-switch-label .react-switch-button { left: calc(100% - 2px); transform: translateX(-100%); } @@ -534,4 +546,743 @@ a .badge .badge-text { .extends { margin-bottom: 20px; -} \ No newline at end of file +} + +.paper-version-selector { + position: relative; + z-index: 10; + min-width: 88px; + border: 1px solid var(--rp-c-divider, rgba(148, 163, 184, 0.24)); + border-radius: 999px; + background: var(--rp-c-bg-soft, rgba(18, 18, 20, 0.96)); + color: var(--rp-c-text-1, #fff); + backdrop-filter: blur(12px); +} + +.paper-version-selector summary { + list-style: none; + cursor: pointer; + padding: 8px 14px; + font-size: 13px; + font-weight: 600; + text-align: center; + white-space: nowrap; +} + +.paper-version-selector summary::-webkit-details-marker { + display: none; +} + +.paper-version-selector[open] { + border-radius: 18px; +} + +.paper-version-selector-menu { + position: absolute; + top: calc(100% + 8px); + right: 0; + display: grid; + min-width: 88px; + padding: 8px; + gap: 4px; + border: 1px solid var(--rp-c-divider, rgba(148, 163, 184, 0.24)); + border-radius: 18px; + background: inherit; + box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18); +} + +.paper-version-selector-link { + display: inline-flex; + align-items: center; + justify-content: space-between; + border-radius: 12px; + padding: 8px 10px; + color: inherit; + text-decoration: none; + gap: 6px; +} + +.paper-version-selector-link:hover, +.paper-version-selector-link.active { + background: rgba(104, 88, 196, 0.22); +} + +html:not(.dark) .paper-version-selector { + background: rgba(255, 255, 255, 0.92); + color: #1c1b1f; +} + +html:not(.dark) .paper-version-selector-menu { + box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); +} + +@media (max-width: 960px) { + .paper-version-selector { + min-width: 76px; + } + + .paper-version-selector summary { + padding-inline: 12px; + } +} + +.rp-nav__others > .rp-nav-menu__item, +.rp-nav-hamburger__md__hover-group > .rp-nav-menu__item { + display: none; +} + +.rp-doc-layout__outline:empty, +.rp-doc-layout__outline:not(:has(.rp-toc-item)) { + display: none; +} + +.rp-outline__action-row:has(.rp-llms-copy-button), +.rp-outline__action-row:has(.rp-llms-view-options__trigger) { + display: none; +} + +.rp-outline__bottom:not(:has(.rp-edit-link, .rp-scroll-to-top)) { + display: none; +} + +.rp-outline__bottom:not(:has(.rp-edit-link, .rp-scroll-to-top)) + + .rp-outline__divider, +.rp-outline__divider:has( + + .rp-outline__bottom:not(:has(.rp-edit-link, .rp-scroll-to-top)) +) { + display: none; +} + +.rp-llms-container { + display: none !important; +} + +.paper-home-showcase { + margin: 56px auto 0; + box-sizing: border-box; + width: min(72rem, calc(100% - 16px)); + padding: 0 40px 56px; +} + +.paper-home-showcase__intro { + display: grid; + gap: 16px; + margin-bottom: 18px; +} + +.paper-home-showcase__eyebrow { + margin: 0 0 12px; + color: #7c4dff; + font-size: 14px; + font-weight: 600; + letter-spacing: 0; + text-transform: uppercase; +} + +.paper-home-showcase__title { + margin: 0; + font-size: clamp(32px, 4vw, 54px); + line-height: 1.04; +} + +.paper-home-showcase__copy, +.paper-home-showcase__links { + color: var(--rp-c-text-2); + font-size: 18px; + line-height: 1.55; +} + +.paper-home-showcase__copy { + margin: 0; + max-width: 760px; +} + +.paper-home-showcase__links { + margin: 0 0 24px; +} + +.paper-home-showcase__links a { + color: inherit; +} + +.paper-get-started-buttons { + display: flex; + flex-wrap: wrap; + gap: 1rem; + justify-content: center; + padding-bottom: 1rem; +} + +.paper-get-started-button { + display: inline-flex; + align-items: center; + justify-content: center; + min-height: 2.75rem; + padding: 0 1.25rem; + border: 1px solid; + border-radius: 999px; + font-size: 0.95rem; + font-weight: 600; + text-decoration: none; + transition: + transform 120ms ease, + background-color 120ms ease; +} + +.paper-get-started-button:hover { + transform: translateY(-1px); + text-decoration: none; +} + +.paper-get-started-button--primary { + border-color: #6750a4; + background-color: #6750a4; + color: #ffffff; +} + +.paper-get-started-button--secondary { + border-color: #79747e; + background-color: transparent; + color: #49454f; +} + +[data-theme='dark'] .paper-get-started-button--primary { + border-color: #d0bcff; + background-color: #d0bcff; + color: #1d192b; +} + +[data-theme='dark'] .paper-get-started-button--secondary { + border-color: #938f99; + color: #e6e1e5; +} + +.paper-home-showcase__gallery { + display: grid; + gap: 16px; + grid-template-columns: repeat(3, minmax(0, 1fr)); + margin-top: 24px; +} + +.paper-home-showcase__gallery-image { + width: min(100%, 348px); + margin: 0 auto; + border-radius: 20px; + border: 1px solid rgba(124, 77, 255, 0.12); + background: rgba(124, 77, 255, 0.03); +} + +.paper-prerelease-notice { + display: grid; + grid-template-columns: auto 1fr; + gap: 20px; + margin: 0 0 32px; + padding: 20px 24px; + border: 1px solid rgba(245, 158, 11, 0.28); + border-left: 4px solid #f59e0b; + border-radius: 20px; + background: rgba(255, 251, 235, 0.82); + box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06); +} + +.paper-prerelease-notice__icon { + display: inline-flex; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; + border: 2px solid #f59e0b; + border-radius: 12px; + color: #f59e0b; + font-size: 24px; + font-weight: 700; + line-height: 1; +} + +.paper-prerelease-notice__content { + min-width: 0; +} + +.paper-prerelease-notice__title, +.paper-prerelease-notice__body { + margin: 0; +} + +.paper-prerelease-notice__title { + color: #1f2937; + font-size: 18px; + font-weight: 600; +} + +.paper-prerelease-notice__body { + margin-top: 10px; + color: #374151; + font-size: 16px; + line-height: 1.6; +} + +.paper-prerelease-notice__body a { + color: #7c4dff; + font-weight: 600; +} + +.paper-banner-example { + margin: 0; + padding: 28px; + border-radius: 32px; + border: 1px solid var(--paper-example-border); + background: linear-gradient( + 180deg, + var(--paper-example-panel-alt) 0%, + var(--paper-example-panel) 100% + ); + color: var(--paper-example-text); + box-shadow: var(--paper-example-shadow); +} + +.paper-banner-example__toolbar { + display: flex; + flex-wrap: wrap; + gap: 12px; + align-items: center; + margin-bottom: 18px; +} + +.paper-banner-example__button, +.paper-banner-example__avatar, +.paper-banner-example__fab, +.paper-banner-example__folder-button { + border: 1px solid transparent; + font: inherit; + letter-spacing: 0; + transition: + transform 120ms ease, + box-shadow 120ms ease, + background-color 120ms ease, + border-color 120ms ease; +} + +.paper-banner-example__button:hover, +.paper-banner-example__avatar:hover, +.paper-banner-example__fab:hover, +.paper-banner-example__folder-button:hover { + transform: translateY(-1px); +} + +.paper-banner-example__button { + display: inline-flex; + align-items: center; + gap: 12px; + min-height: 48px; + padding: 0 24px; + border-radius: 999px; + font-size: 16px; + font-weight: 600; +} + +.paper-banner-example__button-status { + width: 10px; + height: 10px; + border-radius: 999px; + background: color-mix( + in srgb, + var(--paper-example-accent) 36%, + var(--paper-example-panel-soft) + ); +} + +.paper-banner-example__button-status--busy { + background: var(--paper-example-accent); + box-shadow: 0 0 0 6px rgba(103, 80, 164, 0.12); +} + +.paper-banner-example__button--outlined, +.paper-banner-example__button--tonal, +.paper-banner-example__avatar, +.paper-banner-example__folder-button { + border-color: var(--paper-example-border); + background: var(--paper-example-panel-soft); + color: var(--paper-example-text); +} + +.paper-banner-example__button--tonal { + box-shadow: 0 12px 24px rgba(103, 80, 164, 0.08); +} + +.paper-banner-example__button--selected { + border-color: color-mix( + in srgb, + var(--paper-example-accent) 40%, + var(--paper-example-border) + ); +} + +.paper-banner-example__camera-icon { + position: relative; + width: 18px; + height: 12px; + border: 2px solid currentColor; + border-radius: 4px; +} + +.paper-banner-example__camera-icon::before { + content: ''; + position: absolute; + top: -5px; + left: 3px; + width: 8px; + height: 4px; + border-radius: 2px 2px 0 0; + background: currentColor; +} + +.paper-banner-example__button--contained, +.paper-banner-example__fab, +.paper-banner-example__avatar { + background: var(--paper-example-accent); + color: var(--paper-example-accent-text); + box-shadow: 0 10px 18px rgba(103, 80, 164, 0.22); +} + +.paper-banner-example__fab-group { + display: flex; + gap: 14px; + align-items: center; +} + +.paper-banner-example__fab, +.paper-banner-example__avatar, +.paper-banner-example__folder-button { + display: inline-flex; + align-items: center; + justify-content: center; + font-size: 24px; + font-weight: 600; +} + +.paper-banner-example__fab { + width: 64px; + height: 64px; + border-radius: 24px; +} + +.paper-banner-example__fab--small { + width: 54px; + height: 54px; + border-radius: 20px; +} + +.paper-banner-example__fab--medium { + width: 78px; + height: 78px; + border-radius: 28px; +} + +.paper-banner-example__fab--large { + width: 108px; + height: 108px; + border-radius: 34px; + font-size: 34px; +} + +.paper-banner-example__avatar { + width: 84px; + height: 84px; + border-radius: 999px; + font-size: 40px; + margin-left: auto; +} + +.paper-banner-example__hero-row { + display: flex; + margin-bottom: 16px; +} + +.paper-banner-example__folder-button { + width: 84px; + height: 84px; + border-radius: 999px; + box-shadow: 0 14px 26px rgba(103, 80, 164, 0.12); +} + +.paper-banner-example__folder-button--raised { + box-shadow: 0 18px 32px rgba(103, 80, 164, 0.2); +} + +.paper-banner-example__folder-icon { + position: relative; + width: 34px; + height: 24px; + border-radius: 6px; + background: currentColor; +} + +.paper-banner-example__folder-icon::before { + content: ''; + position: absolute; + top: -5px; + left: 3px; + width: 14px; + height: 8px; + border-radius: 4px 4px 0 0; + background: currentColor; +} + +.paper-banner-example__progress { + height: 8px; + border-radius: 999px; + overflow: hidden; + background: var(--paper-example-panel-soft); + margin-bottom: 28px; +} + +.paper-banner-example__progress-bar { + width: 64%; + height: 100%; + background: linear-gradient( + 90deg, + var(--paper-example-accent) 0%, + var(--paper-example-accent-strong) 100% + ); +} + +.paper-banner-example__headline-group { + margin-bottom: 24px; +} + +.paper-banner-example__display-large, +.paper-banner-example__display-medium { + margin: 0; + letter-spacing: 0; +} + +.paper-banner-example__display-large { + font-size: clamp(44px, 6vw, 72px); + line-height: 0.98; +} + +.paper-banner-example__display-medium { + margin-top: 14px; + font-size: clamp(28px, 4vw, 44px); + line-height: 1.08; +} + +.paper-banner-example__body { + margin: 20px 0 0; + max-width: 780px; + color: var(--paper-example-muted); + font-size: 18px; + line-height: 1.65; +} + +.paper-banner-example__switches, +.paper-banner-example__radios { + display: flex; + flex-wrap: wrap; + gap: 20px; +} + +.paper-banner-example__switches { + margin-bottom: 24px; +} + +.paper-banner-example__switch, +.paper-banner-example__radio { + display: inline-flex; + align-items: center; + gap: 10px; + font-size: 18px; +} + +.paper-banner-example__switch input, +.paper-banner-example__radio input { + position: absolute; + opacity: 0; + pointer-events: none; +} + +.paper-banner-example__switch-control { + position: relative; + display: inline-flex; + align-items: center; + width: 54px; + height: 32px; +} + +.paper-banner-example__switch-track { + width: 54px; + height: 32px; + border-radius: 999px; + border: 2px solid var(--paper-example-muted); + background: transparent; + transition: + background-color 120ms ease, + border-color 120ms ease; +} + +.paper-banner-example__switch-thumb { + position: absolute; + top: 7px; + left: 7px; + width: 14px; + height: 14px; + border-radius: 999px; + background: var(--paper-example-muted); + transition: + transform 120ms ease, + background-color 120ms ease; +} + +.paper-banner-example__switch + input:checked + + .paper-banner-example__switch-control + .paper-banner-example__switch-track { + border-color: var(--paper-example-accent); + background: color-mix(in srgb, var(--paper-example-accent) 28%, transparent); +} + +.paper-banner-example__switch + input:checked + + .paper-banner-example__switch-control + .paper-banner-example__switch-thumb { + transform: translateX(22px); + background: var(--paper-example-accent); +} + +.paper-banner-example__fields { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 24px; + margin-bottom: 24px; +} + +.paper-banner-example__field { + display: grid; + gap: 10px; + color: var(--paper-example-muted); + font-size: 15px; +} + +.paper-banner-example__field input { + min-height: 64px; + padding: 0 18px; + border: 1px solid var(--paper-example-border); + border-radius: 20px; + background: var(--paper-example-panel-soft); + color: var(--paper-example-text); + font: inherit; +} + +.paper-banner-example__field input::placeholder { + color: var(--paper-example-muted); +} + +.paper-banner-example__field-input--outlined { + background: transparent !important; + border-color: var(--paper-example-accent) !important; +} + +.paper-banner-example__radio-control { + width: 28px; + height: 28px; + border: 2px solid var(--paper-example-muted); + border-radius: 999px; + display: inline-flex; + align-items: center; + justify-content: center; +} + +.paper-banner-example__radio-dot { + width: 12px; + height: 12px; + border-radius: 999px; + background: transparent; +} + +.paper-banner-example__radio + input:checked + + .paper-banner-example__radio-control { + border-color: var(--paper-example-accent); +} + +.paper-banner-example__radio + input:checked + + .paper-banner-example__radio-control + .paper-banner-example__radio-dot { + background: var(--paper-example-accent); +} + +@media (min-width: 997px) { + .paper-home-showcase__intro { + grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr); + align-items: end; + } +} + +@media (max-width: 996px) { + .paper-home-showcase { + width: min(100%, calc(100% - 16px)); + padding: 0 16px 40px; + margin-top: 44px; + } + + .paper-home-showcase__gallery { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } + + .paper-banner-example { + padding: 22px; + border-radius: 28px; + } + + .paper-banner-example__avatar { + margin-left: 0; + } + + .paper-banner-example__fields { + grid-template-columns: 1fr; + gap: 18px; + } + + .paper-prerelease-notice { + padding: 20px 22px; + } +} + +@media (max-width: 640px) { + .paper-home-showcase__gallery { + grid-template-columns: 1fr; + } + + .paper-home-showcase__gallery-image { + width: 100%; + } + + .paper-banner-example__switch, + .paper-banner-example__radio { + font-size: 16px; + } + + .paper-banner-example__fab-group { + width: 100%; + justify-content: space-between; + } + + .paper-banner-example__fab--large { + width: 88px; + height: 88px; + } + + .paper-banner-example__avatar { + width: 72px; + height: 72px; + font-size: 30px; + } + + .paper-prerelease-notice { + grid-template-columns: 1fr; + gap: 16px; + margin-bottom: 24px; + padding: 18px; + } +} diff --git a/docs/src/data/componentDocs5x.json b/docs/src/data/componentDocs5x.json index 5aa299568c..0984e441a0 100644 --- a/docs/src/data/componentDocs5x.json +++ b/docs/src/data/componentDocs5x.json @@ -88,9 +88,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/ActivityIndicator.tsx" - ] + "dependencies": ["src/components/ActivityIndicator.tsx"] }, "Appbar/Appbar": { "filepath": "Appbar/Appbar.tsx", @@ -225,9 +223,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Appbar/Appbar.tsx" - ] + "dependencies": ["src/components/Appbar/Appbar.tsx"] }, "Appbar/AppbarAction": { "filepath": "Appbar/AppbarAction.tsx", @@ -350,9 +346,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Appbar/AppbarAction.tsx" - ], + "dependencies": ["src/components/Appbar/AppbarAction.tsx"], "group": "Appbar" }, "Appbar/AppbarBackAction": { @@ -455,9 +449,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Appbar/AppbarBackAction.tsx" - ], + "dependencies": ["src/components/Appbar/AppbarBackAction.tsx"], "group": "Appbar" }, "Appbar/AppbarContent": { @@ -633,9 +625,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Appbar/AppbarContent.tsx" - ], + "dependencies": ["src/components/Appbar/AppbarContent.tsx"], "group": "Appbar" }, "Appbar/AppbarHeader": { @@ -749,9 +739,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Appbar/AppbarHeader.tsx" - ], + "dependencies": ["src/components/Appbar/AppbarHeader.tsx"], "group": "Appbar" }, "Avatar/AvatarIcon": { @@ -813,9 +801,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Avatar/AvatarIcon.tsx" - ], + "dependencies": ["src/components/Avatar/AvatarIcon.tsx"], "group": "Avatar" }, "Avatar/AvatarImage": { @@ -927,9 +913,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Avatar/AvatarImage.tsx" - ], + "dependencies": ["src/components/Avatar/AvatarImage.tsx"], "group": "Avatar" }, "Avatar/AvatarText": { @@ -1011,9 +995,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Avatar/AvatarText.tsx" - ], + "dependencies": ["src/components/Avatar/AvatarText.tsx"], "group": "Avatar" }, "Badge": { @@ -1083,9 +1065,7 @@ "tsType": { "name": "ReactRefObject", "raw": "React.RefObject", - "elements": [ - {} - ] + "elements": [{}] }, "description": "" }, @@ -1099,9 +1079,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Badge.tsx" - ] + "dependencies": ["src/components/Badge.tsx"] }, "Banner": { "filepath": "Banner.tsx", @@ -1306,9 +1284,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Banner.tsx" - ] + "dependencies": ["src/components/Banner.tsx"] }, "BottomNavigation/BottomNavigation": { "filepath": "BottomNavigation/BottomNavigation.tsx", @@ -1322,9 +1298,7 @@ { "name": "SceneMap", "docblock": "Function which takes a map of route keys to components.\nPure components are used to minimize re-rendering of the pages.\nThis drastically improves the animation performance.", - "modifiers": [ - "static" - ], + "modifiers": ["static"], "params": [ { "name": "scenes", @@ -2318,9 +2292,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/BottomNavigation/BottomNavigation.tsx" - ] + "dependencies": ["src/components/BottomNavigation/BottomNavigation.tsx"] }, "BottomNavigation/BottomNavigationBar": { "filepath": "BottomNavigation/BottomNavigationBar.tsx", @@ -3445,9 +3417,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Button/Button.tsx" - ] + "dependencies": ["src/components/Button/Button.tsx"] }, "Card/Card": { "filepath": "Card/Card.tsx", @@ -3690,9 +3660,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Card/Card.tsx" - ] + "dependencies": ["src/components/Card/Card.tsx"] }, "Card/CardActions": { "filepath": "Card/CardActions.tsx", @@ -3736,9 +3704,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Card/CardActions.tsx" - ], + "dependencies": ["src/components/Card/CardActions.tsx"], "group": "Card" }, "Card/CardContent": { @@ -3803,9 +3769,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Card/CardContent.tsx" - ], + "dependencies": ["src/components/Card/CardContent.tsx"], "group": "Card" }, "Card/CardCover": { @@ -3856,9 +3820,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Card/CardCover.tsx" - ], + "dependencies": ["src/components/Card/CardCover.tsx"], "group": "Card" }, "Card/CardTitle": { @@ -4107,9 +4069,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Card/CardTitle.tsx" - ], + "dependencies": ["src/components/Card/CardTitle.tsx"], "group": "Card" }, "Checkbox/Checkbox": { @@ -4205,9 +4165,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Checkbox/Checkbox.tsx" - ] + "dependencies": ["src/components/Checkbox/Checkbox.tsx"] }, "Checkbox/CheckboxAndroid": { "filepath": "Checkbox/CheckboxAndroid.tsx", @@ -4302,9 +4260,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Checkbox/CheckboxAndroid.tsx" - ], + "dependencies": ["src/components/Checkbox/CheckboxAndroid.tsx"], "group": "Checkbox" }, "Checkbox/CheckboxIOS": { @@ -4393,9 +4349,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Checkbox/CheckboxIOS.tsx" - ], + "dependencies": ["src/components/Checkbox/CheckboxIOS.tsx"], "group": "Checkbox" }, "Checkbox/CheckboxItem": { @@ -4641,9 +4595,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Checkbox/CheckboxItem.tsx" - ], + "dependencies": ["src/components/Checkbox/CheckboxItem.tsx"], "group": "Checkbox" }, "Chip/Chip": { @@ -4996,9 +4948,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Chip/Chip.tsx" - ] + "dependencies": ["src/components/Chip/Chip.tsx"] }, "DataTable/DataTable": { "filepath": "DataTable/DataTable.tsx", @@ -5035,9 +4985,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/DataTable/DataTable.tsx" - ] + "dependencies": ["src/components/DataTable/DataTable.tsx"] }, "DataTable/DataTableCell": { "filepath": "DataTable/DataTableCell.tsx", @@ -5130,9 +5078,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/DataTable/DataTableCell.tsx" - ], + "dependencies": ["src/components/DataTable/DataTableCell.tsx"], "group": "DataTable" }, "DataTable/DataTableHeader": { @@ -5177,9 +5123,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/DataTable/DataTableHeader.tsx" - ], + "dependencies": ["src/components/DataTable/DataTableHeader.tsx"], "group": "DataTable" }, "DataTable/DataTablePagination": { @@ -5356,9 +5300,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/DataTable/DataTablePagination.tsx" - ], + "dependencies": ["src/components/DataTable/DataTablePagination.tsx"], "group": "DataTable" }, "DataTable/DataTableRow": { @@ -5433,9 +5375,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/DataTable/DataTableRow.tsx" - ], + "dependencies": ["src/components/DataTable/DataTableRow.tsx"], "group": "DataTable" }, "DataTable/DataTableTitle": { @@ -5558,9 +5498,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/DataTable/DataTableTitle.tsx" - ], + "dependencies": ["src/components/DataTable/DataTableTitle.tsx"], "group": "DataTable" }, "Dialog/Dialog": { @@ -5666,9 +5604,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Dialog/Dialog.tsx" - ] + "dependencies": ["src/components/Dialog/Dialog.tsx"] }, "Dialog/DialogActions": { "filepath": "Dialog/DialogActions.tsx", @@ -5712,9 +5648,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Dialog/DialogActions.tsx" - ], + "dependencies": ["src/components/Dialog/DialogActions.tsx"], "group": "Dialog" }, "Dialog/DialogContent": { @@ -5752,9 +5686,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Dialog/DialogContent.tsx" - ], + "dependencies": ["src/components/Dialog/DialogContent.tsx"], "group": "Dialog" }, "Dialog/DialogIcon": { @@ -5803,9 +5735,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Dialog/DialogIcon.tsx" - ], + "dependencies": ["src/components/Dialog/DialogIcon.tsx"], "group": "Dialog" }, "Dialog/DialogScrollArea": { @@ -5850,9 +5780,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Dialog/DialogScrollArea.tsx" - ], + "dependencies": ["src/components/Dialog/DialogScrollArea.tsx"], "group": "Dialog" }, "Dialog/DialogTitle": { @@ -5897,9 +5825,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Dialog/DialogTitle.tsx" - ], + "dependencies": ["src/components/Dialog/DialogTitle.tsx"], "group": "Dialog" }, "Divider": { @@ -5965,9 +5891,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Divider.tsx" - ] + "dependencies": ["src/components/Divider.tsx"] }, "Drawer/DrawerCollapsedItem": { "filepath": "Drawer/DrawerCollapsedItem.tsx", @@ -6108,9 +6032,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Drawer/DrawerCollapsedItem.tsx" - ], + "dependencies": ["src/components/Drawer/DrawerCollapsedItem.tsx"], "group": "Drawer" }, "Drawer/DrawerItem": { @@ -6269,9 +6191,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Drawer/DrawerItem.tsx" - ], + "dependencies": ["src/components/Drawer/DrawerItem.tsx"], "group": "Drawer" }, "Drawer/DrawerSection": { @@ -6341,9 +6261,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Drawer/DrawerSection.tsx" - ], + "dependencies": ["src/components/Drawer/DrawerSection.tsx"], "group": "Drawer" }, "FAB/FAB": { @@ -6656,9 +6574,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/FAB/FAB.tsx" - ] + "dependencies": ["src/components/FAB/FAB.tsx"] }, "FAB/AnimatedFAB": { "filepath": "FAB/AnimatedFAB.tsx", @@ -6940,9 +6856,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/FAB/AnimatedFAB.tsx" - ] + "dependencies": ["src/components/FAB/AnimatedFAB.tsx"] }, "FAB/FABGroup": { "filepath": "FAB/FABGroup.tsx", @@ -7384,9 +7298,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/FAB/FABGroup.tsx" - ], + "dependencies": ["src/components/FAB/FABGroup.tsx"], "group": "FAB" }, "HelperText/HelperText": { @@ -7500,9 +7412,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/HelperText/HelperText.tsx" - ] + "dependencies": ["src/components/HelperText/HelperText.tsx"] }, "IconButton/IconButton": { "filepath": "IconButton/IconButton.tsx", @@ -7711,9 +7621,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/IconButton/IconButton.tsx" - ] + "dependencies": ["src/components/IconButton/IconButton.tsx"] }, "Icon": { "filepath": "Icon.tsx", @@ -7771,9 +7679,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Icon.tsx" - ] + "dependencies": ["src/components/Icon.tsx"] }, "List/ListAccordion": { "filepath": "List/ListAccordion.tsx", @@ -8122,9 +8028,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/List/ListAccordion.tsx" - ], + "dependencies": ["src/components/List/ListAccordion.tsx"], "group": "List" }, "List/ListAccordionGroup": { @@ -8196,9 +8100,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/List/ListAccordionGroup.tsx" - ], + "dependencies": ["src/components/List/ListAccordionGroup.tsx"], "group": "List" }, "List/ListIcon": { @@ -8249,9 +8151,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/List/ListIcon.tsx" - ], + "dependencies": ["src/components/List/ListIcon.tsx"], "group": "List" }, "List/ListItem": { @@ -8539,9 +8439,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/List/ListItem.tsx" - ], + "dependencies": ["src/components/List/ListItem.tsx"], "group": "List" }, "List/ListSection": { @@ -8606,9 +8504,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/List/ListSection.tsx" - ], + "dependencies": ["src/components/List/ListSection.tsx"], "group": "List" }, "List/ListSubheader": { @@ -8652,9 +8548,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/List/ListSubheader.tsx" - ], + "dependencies": ["src/components/List/ListSubheader.tsx"], "group": "List" }, "Menu/Menu": { @@ -8865,9 +8759,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Menu/Menu.tsx" - ] + "dependencies": ["src/components/Menu/Menu.tsx"] }, "Menu/MenuItem": { "filepath": "Menu/MenuItem.tsx", @@ -9058,9 +8950,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Menu/MenuItem.tsx" - ], + "dependencies": ["src/components/Menu/MenuItem.tsx"], "group": "Menu" }, "Modal": { @@ -9198,9 +9088,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Modal.tsx" - ] + "dependencies": ["src/components/Modal.tsx"] }, "Portal/Portal": { "filepath": "Portal/Portal.tsx", @@ -9241,9 +9129,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Portal/Portal.tsx" - ] + "dependencies": ["src/components/Portal/Portal.tsx"] }, "Portal/PortalHost": { "filepath": "Portal/PortalHost.tsx", @@ -9267,9 +9153,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Portal/PortalHost.tsx" - ], + "dependencies": ["src/components/Portal/PortalHost.tsx"], "group": "Portal" }, "ProgressBar": { @@ -9379,9 +9263,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/ProgressBar.tsx" - ] + "dependencies": ["src/components/ProgressBar.tsx"] }, "RadioButton/RadioButton": { "filepath": "RadioButton/RadioButton.tsx", @@ -9479,9 +9361,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/RadioButton/RadioButton.tsx" - ] + "dependencies": ["src/components/RadioButton/RadioButton.tsx"] }, "RadioButton/RadioButtonAndroid": { "filepath": "RadioButton/RadioButtonAndroid.tsx", @@ -9579,9 +9459,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/RadioButton/RadioButtonAndroid.tsx" - ], + "dependencies": ["src/components/RadioButton/RadioButtonAndroid.tsx"], "group": "RadioButton" }, "RadioButton/RadioButtonGroup": { @@ -9635,9 +9513,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/RadioButton/RadioButtonGroup.tsx" - ], + "dependencies": ["src/components/RadioButton/RadioButtonGroup.tsx"], "group": "RadioButton" }, "RadioButton/RadioButtonIOS": { @@ -9729,9 +9605,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/RadioButton/RadioButtonIOS.tsx" - ], + "dependencies": ["src/components/RadioButton/RadioButtonIOS.tsx"], "group": "RadioButton" }, "RadioButton/RadioButtonItem": { @@ -9976,9 +9850,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/RadioButton/RadioButtonItem.tsx" - ], + "dependencies": ["src/components/RadioButton/RadioButtonItem.tsx"], "group": "RadioButton" }, "Searchbar": { @@ -10360,9 +10232,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Searchbar.tsx" - ] + "dependencies": ["src/components/Searchbar.tsx"] }, "SegmentedButtons/SegmentedButtons": { "filepath": "SegmentedButtons/SegmentedButtons.tsx", @@ -10554,9 +10424,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/SegmentedButtons/SegmentedButtons.tsx" - ] + "dependencies": ["src/components/SegmentedButtons/SegmentedButtons.tsx"] }, "Snackbar": { "filepath": "Snackbar.tsx", @@ -10808,9 +10676,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Snackbar.tsx" - ] + "dependencies": ["src/components/Snackbar.tsx"] }, "Surface": { "filepath": "Surface.tsx", @@ -10954,9 +10820,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Surface.tsx" - ] + "dependencies": ["src/components/Surface.tsx"] }, "Switch/Switch": { "filepath": "Switch/Switch.tsx", @@ -11020,9 +10884,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Switch/Switch.tsx" - ] + "dependencies": ["src/components/Switch/Switch.tsx"] }, "TextInput/TextInput": { "filepath": "TextInput/TextInput.tsx", @@ -11349,9 +11211,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/TextInput/TextInput.tsx" - ] + "dependencies": ["src/components/TextInput/TextInput.tsx"] }, "TextInput/Adornment/TextInputAffix": { "filepath": "TextInput/Adornment/TextInputAffix.tsx", @@ -11449,9 +11309,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/TextInput/Adornment/TextInputAffix.tsx" - ], + "dependencies": ["src/components/TextInput/Adornment/TextInputAffix.tsx"], "group": "TextInput" }, "TextInput/Adornment/TextInputIcon": { @@ -11551,9 +11409,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/TextInput/Adornment/TextInputIcon.tsx" - ], + "dependencies": ["src/components/TextInput/Adornment/TextInputIcon.tsx"], "group": "TextInput" }, "ToggleButton/ToggleButton": { @@ -11714,9 +11570,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/ToggleButton/ToggleButton.tsx" - ] + "dependencies": ["src/components/ToggleButton/ToggleButton.tsx"] }, "ToggleButton/ToggleButtonGroup": { "filepath": "ToggleButton/ToggleButtonGroup.tsx", @@ -11778,9 +11632,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/ToggleButton/ToggleButtonGroup.tsx" - ], + "dependencies": ["src/components/ToggleButton/ToggleButtonGroup.tsx"], "group": "ToggleButton" }, "ToggleButton/ToggleButtonRow": { @@ -11847,9 +11699,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/ToggleButton/ToggleButtonRow.tsx" - ], + "dependencies": ["src/components/ToggleButton/ToggleButtonRow.tsx"], "group": "ToggleButton" }, "Tooltip/Tooltip": { @@ -11917,9 +11767,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Tooltip/Tooltip.tsx" - ] + "dependencies": ["src/components/Tooltip/Tooltip.tsx"] }, "TouchableRipple/TouchableRipple": { "filepath": "TouchableRipple/TouchableRipple.tsx", @@ -12118,9 +11966,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/TouchableRipple/TouchableRipple.tsx" - ] + "dependencies": ["src/components/TouchableRipple/TouchableRipple.tsx"] }, "Typography/Text": { "filepath": "Typography/Text.tsx", @@ -12177,9 +12023,7 @@ } }, "type": "component", - "dependencies": [ - "src/components/Typography/Text.tsx" - ] + "dependencies": ["src/components/Typography/Text.tsx"] } } } diff --git a/docs/src/data/componentDocs6x.json b/docs/src/data/componentDocs6x.json new file mode 100644 index 0000000000..dcacb1f99f --- /dev/null +++ b/docs/src/data/componentDocs6x.json @@ -0,0 +1,12256 @@ +{ + "docs": { + "ActivityIndicator": { + "filepath": "ActivityIndicator.tsx", + "title": "ActivityIndicator", + "description": "Activity indicator is used to present progress of some activity in the app.\nIt can be used as a drop-in replacement for the ActivityIndicator shipped with React Native.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ActivityIndicator, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "link": "activity-indicator", + "data": { + "description": "Activity indicator is used to present progress of some activity in the app.\nIt can be used as a drop-in replacement for the ActivityIndicator shipped with React Native.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ActivityIndicator, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "displayName": "ActivityIndicator", + "methods": [], + "statics": [], + "props": { + "animating": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show the indicator or hide it.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "The color of the spinner." + }, + "size": { + "required": false, + "tsType": { + "name": "union", + "raw": "'small' | 'large' | number", + "elements": [ + { + "name": "literal", + "value": "'small'" + }, + { + "name": "literal", + "value": "'large'" + }, + { + "name": "number" + } + ] + }, + "description": "Size of the indicator.", + "defaultValue": { + "value": "'small'", + "computed": false + } + }, + "hidesWhenStopped": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the indicator should hide when not animating.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/ActivityIndicator.tsx" + ] + }, + "Appbar/Appbar": { + "filepath": "Appbar/Appbar.tsx", + "title": "Appbar", + "description": "A component to display action items in a bar. It can be placed at the top or bottom.\nThe top bar usually contains the screen title, controls such as navigation buttons, menu button etc.\nThe bottom bar usually provides access to a drawer and up to four actions.\n\nBy default Appbar uses primary color as a background, in dark theme with `adaptive` mode it will use surface colour instead.\nSee [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more informations\n\n## Usage\n### Top bar\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} />\n \n {}} />\n {}} />\n \n);\n\nexport default MyComponent;\n```\n\n### Bottom bar\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { Appbar, FAB, useTheme } from 'react-native-paper';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\n\nconst BOTTOM_APPBAR_HEIGHT = 80;\nconst MEDIUM_FAB_HEIGHT = 56;\n\nconst MyComponent = () => {\n const { bottom } = useSafeAreaInsets();\n const theme = useTheme();\n\n return (\n \n {}} />\n {}} />\n {}} />\n {}} />\n {}}\n style={[\n styles.fab,\n { top: (BOTTOM_APPBAR_HEIGHT - MEDIUM_FAB_HEIGHT) / 2 },\n ]}\n />\n \n );\n};\n\nconst styles = StyleSheet.create({\n bottom: {\n backgroundColor: 'aquamarine',\n position: 'absolute',\n left: 0,\n right: 0,\n bottom: 0,\n },\n fab: {\n position: 'absolute',\n right: 16,\n },\n});\n\nexport default MyComponent;\n```", + "link": "appbar", + "data": { + "description": "A component to display action items in a bar. It can be placed at the top or bottom.\nThe top bar usually contains the screen title, controls such as navigation buttons, menu button etc.\nThe bottom bar usually provides access to a drawer and up to four actions.\n\nBy default Appbar uses primary color as a background, in dark theme with `adaptive` mode it will use surface colour instead.\nSee [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more informations\n\n## Usage\n### Top bar\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} />\n \n {}} />\n {}} />\n \n);\n\nexport default MyComponent;\n```\n\n### Bottom bar\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { Appbar, FAB, useTheme } from 'react-native-paper';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\n\nconst BOTTOM_APPBAR_HEIGHT = 80;\nconst MEDIUM_FAB_HEIGHT = 56;\n\nconst MyComponent = () => {\n const { bottom } = useSafeAreaInsets();\n const theme = useTheme();\n\n return (\n \n {}} />\n {}} />\n {}} />\n {}} />\n {}}\n style={[\n styles.fab,\n { top: (BOTTOM_APPBAR_HEIGHT - MEDIUM_FAB_HEIGHT) / 2 },\n ]}\n />\n \n );\n};\n\nconst styles = StyleSheet.create({\n bottom: {\n backgroundColor: 'aquamarine',\n position: 'absolute',\n left: 0,\n right: 0,\n bottom: 0,\n },\n fab: {\n position: 'absolute',\n right: 16,\n },\n});\n\nexport default MyComponent;\n```", + "displayName": "Appbar", + "methods": [], + "statics": [], + "props": { + "dark": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the background color is a dark color. A dark appbar will render light text and vice-versa." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Appbar`." + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'small' | 'medium' | 'large' | 'center-aligned'", + "elements": [ + { + "name": "literal", + "value": "'small'" + }, + { + "name": "literal", + "value": "'medium'" + }, + { + "name": "literal", + "value": "'large'" + }, + { + "name": "literal", + "value": "'center-aligned'" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\n\nMode of the Appbar.\n- `small` - Appbar with default height (64).\n- `medium` - Appbar with medium height (112).\n- `large` - Appbar with large height (152).\n- `center-aligned` - Appbar with default height and center-aligned title.", + "defaultValue": { + "value": "'small'", + "computed": false + } + }, + "elevated": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\nWhether Appbar background should have the elevation along with primary color pigment." + }, + "safeAreaInsets": { + "required": false, + "tsType": { + "name": "signature", + "type": "object", + "raw": "{\n bottom?: number;\n top?: number;\n left?: number;\n right?: number;\n}", + "signature": { + "properties": [ + { + "key": "bottom", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "top", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "left", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "right", + "value": { + "name": "number", + "required": false + } + } + ] + } + }, + "description": "Safe area insets for the Appbar. This can be used to avoid elements like the navigation bar on Android and bottom safe area on iOS." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Appbar/Appbar.tsx" + ] + }, + "Appbar/AppbarAction": { + "filepath": "Appbar/AppbarAction.tsx", + "title": "Appbar.Action", + "description": "A component used to display an action item in the appbar.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\nimport { Platform } from 'react-native';\n\nconst MORE_ICON = Platform.OS === 'ios' ? 'dots-horizontal' : 'dots-vertical';\n\nconst MyComponent = () => (\n \n \n {}} />\n {}} />\n \n);\n\nexport default MyComponent;\n```", + "link": "appbar-action", + "data": { + "description": "A component used to display an action item in the appbar.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\nimport { Platform } from 'react-native';\n\nconst MORE_ICON = Platform.OS === 'ios' ? 'dots-horizontal' : 'dots-vertical';\n\nconst MyComponent = () => (\n \n \n {}} />\n {}} />\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Appbar.Action", + "methods": [], + "statics": [], + "props": { + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom color for action icon." + }, + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Name of the icon to show." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Optional icon size.", + "defaultValue": { + "value": "24", + "computed": false + } + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "isLeading": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\n\nWhether it's the leading button. Note: If `Appbar.BackAction` is present, it will be rendered before any `isLeading` icons." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Appbar/AppbarAction.tsx" + ], + "group": "Appbar" + }, + "Appbar/AppbarBackAction": { + "filepath": "Appbar/AppbarBackAction.tsx", + "title": "Appbar.BackAction", + "description": "A component used to display a back button in the appbar.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} />\n \n);\n\nexport default MyComponent;\n```", + "link": "appbar-back-action", + "data": { + "description": "A component used to display a back button in the appbar.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} />\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Appbar.BackAction", + "methods": [], + "statics": [], + "props": { + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom color for back icon." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Optional icon size." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button.", + "defaultValue": { + "value": "'Back'", + "computed": false + } + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Appbar/AppbarBackAction.tsx" + ], + "group": "Appbar" + }, + "Appbar/AppbarContent": { + "filepath": "Appbar/AppbarContent.tsx", + "title": "Appbar.Content", + "description": "A component used to display a title in an appbar.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n);\n\nexport default MyComponent;\n```", + "link": "appbar-content", + "data": { + "description": "A component used to display a title in an appbar.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "Appbar.Content", + "methods": [], + "statics": [], + "props": { + "title": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Text or component for the title." + }, + "titleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the title, if `title` is a string." + }, + "titleRef": { + "required": false, + "tsType": { + "name": "ReactRefObject", + "raw": "React.RefObject", + "elements": [ + { + "name": "TextRef" + } + ] + }, + "description": "Reference for the title." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "If true, disable all interactions for this component." + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for the text." + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach." + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'small' | 'medium' | 'large' | 'center-aligned'", + "elements": [ + { + "name": "literal", + "value": "'small'" + }, + { + "name": "literal", + "value": "'medium'" + }, + { + "name": "literal", + "value": "'large'" + }, + { + "name": "literal", + "value": "'center-aligned'" + } + ] + }, + "description": "@internal", + "defaultValue": { + "value": "'small'", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests.", + "defaultValue": { + "value": "'appbar-content'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Appbar/AppbarContent.tsx" + ], + "group": "Appbar" + }, + "Appbar/AppbarHeader": { + "filepath": "Appbar/AppbarHeader.tsx", + "title": "Appbar.Header", + "description": "A component to use as a header at the top of the screen.\nIt can contain the screen title, controls such as navigation buttons, menu button etc.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => {\n const _goBack = () => console.log('Went back');\n\n const _handleSearch = () => console.log('Searching');\n\n const _handleMore = () => console.log('Shown more');\n\n return (\n \n \n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "appbar-header", + "data": { + "description": "A component to use as a header at the top of the screen.\nIt can contain the screen title, controls such as navigation buttons, menu button etc.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Appbar } from 'react-native-paper';\n\nconst MyComponent = () => {\n const _goBack = () => console.log('Went back');\n\n const _handleSearch = () => console.log('Searching');\n\n const _handleMore = () => console.log('Shown more');\n\n return (\n \n \n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Appbar.Header", + "methods": [], + "statics": [], + "props": { + "dark": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the background color is a dark color. A dark header will render light text and vice-versa." + }, + "statusBarHeight": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Extra padding to add at the top of header to account for translucent status bar.\nThis is automatically handled on iOS >= 11 including iPhone X using `SafeAreaView`.\nIf you are using Expo, we assume translucent status bar and set a height for status bar automatically.\nPass `0` or a custom value to disable the default behaviour, and customize the height." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the header." + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'small' | 'medium' | 'large' | 'center-aligned'", + "elements": [ + { + "name": "literal", + "value": "'small'" + }, + { + "name": "literal", + "value": "'medium'" + }, + { + "name": "literal", + "value": "'large'" + }, + { + "name": "literal", + "value": "'center-aligned'" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\n\nMode of the Appbar.\n- `small` - Appbar with default height (64).\n- `medium` - Appbar with medium height (112).\n- `large` - Appbar with large height (152).\n- `center-aligned` - Appbar with default height and center-aligned title.", + "defaultValue": { + "value": "Platform.OS === 'ios' ? 'center-aligned' : 'small'", + "computed": false + } + }, + "elevated": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\nWhether Appbar background should have the elevation along with primary color pigment.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "testID": { + "defaultValue": { + "value": "'appbar-header'", + "computed": false + }, + "required": false, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Appbar/AppbarHeader.tsx" + ], + "group": "Appbar" + }, + "Avatar/AvatarIcon": { + "filepath": "Avatar/AvatarIcon.tsx", + "title": "Avatar.Icon", + "description": "Avatars can be used to represent people in a graphical way.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n```", + "link": "avatar-icon", + "data": { + "description": "Avatars can be used to represent people in a graphical way.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n```", + "displayName": "Avatar.Icon", + "methods": [], + "statics": [], + "props": { + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display for the `Avatar`." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Size of the avatar.", + "defaultValue": { + "value": "64", + "computed": false + } + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for the icon." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Avatar/AvatarIcon.tsx" + ], + "group": "Avatar" + }, + "Avatar/AvatarImage": { + "filepath": "Avatar/AvatarImage.tsx", + "title": "Avatar.Image", + "description": "Avatars can be used to represent people in a graphical way.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\nexport default MyComponent\n```", + "link": "avatar-image", + "data": { + "description": "Avatars can be used to represent people in a graphical way.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\nexport default MyComponent\n```", + "displayName": "Avatar.Image", + "methods": [], + "statics": [], + "props": { + "source": { + "required": true, + "tsType": { + "name": "union", + "raw": "| ImageSourcePropType\n| ((props: { size: number }) => React.ReactNode)", + "elements": [ + { + "name": "ImageSourcePropType" + }, + { + "name": "unknown" + } + ] + }, + "description": "Image to display for the `Avatar`.\nIt accepts a standard React Native Image `source` prop\nOr a function that returns an `Image`." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Size of the avatar.", + "defaultValue": { + "value": "64", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "onError": { + "required": false, + "tsType": { + "name": "ImageProps['onError']", + "raw": "ImageProps['onError']" + }, + "description": "Invoked on load error." + }, + "onLayout": { + "required": false, + "tsType": { + "name": "ImageProps['onLayout']", + "raw": "ImageProps['onLayout']" + }, + "description": "Invoked on mount and on layout changes." + }, + "onLoad": { + "required": false, + "tsType": { + "name": "ImageProps['onLoad']", + "raw": "ImageProps['onLoad']" + }, + "description": "Invoked when load completes successfully." + }, + "onLoadEnd": { + "required": false, + "tsType": { + "name": "ImageProps['onLoadEnd']", + "raw": "ImageProps['onLoadEnd']" + }, + "description": "Invoked when load either succeeds or fails." + }, + "onLoadStart": { + "required": false, + "tsType": { + "name": "ImageProps['onLoadStart']", + "raw": "ImageProps['onLoadStart']" + }, + "description": "Invoked on load start." + }, + "onProgress": { + "required": false, + "tsType": { + "name": "ImageProps['onProgress']", + "raw": "ImageProps['onProgress']" + }, + "description": "Invoked on download progress." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Avatar/AvatarImage.tsx" + ], + "group": "Avatar" + }, + "Avatar/AvatarText": { + "filepath": "Avatar/AvatarText.tsx", + "title": "Avatar.Text", + "description": "Avatars can be used to represent people in a graphical way.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n```", + "link": "avatar-text", + "data": { + "description": "Avatars can be used to represent people in a graphical way.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n```", + "displayName": "Avatar.Text", + "methods": [], + "statics": [], + "props": { + "label": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Initials to show as the text in the `Avatar`." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Size of the avatar.", + "defaultValue": { + "value": "64", + "computed": false + } + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for the text." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for text container" + }, + "labelStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the title." + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Avatar/AvatarText.tsx" + ], + "group": "Avatar" + }, + "Badge": { + "filepath": "Badge.tsx", + "title": "Badge", + "description": "Badges are small status descriptors for UI elements.\nA badge consists of a small circle, typically containing a number or other short set of characters, that appears in proximity to another object.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Badge } from 'react-native-paper';\n\nconst MyComponent = () => (\n 3\n);\n\nexport default MyComponent;\n```", + "link": "badge", + "data": { + "description": "Badges are small status descriptors for UI elements.\nA badge consists of a small circle, typically containing a number or other short set of characters, that appears in proximity to another object.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Badge } from 'react-native-paper';\n\nconst MyComponent = () => (\n 3\n);\n\nexport default MyComponent;\n```", + "displayName": "Badge", + "methods": [], + "statics": [], + "props": { + "visible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the badge is visible", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "children": { + "required": false, + "tsType": { + "name": "union", + "raw": "string | number", + "elements": [ + { + "name": "string" + }, + { + "name": "number" + } + ] + }, + "description": "Content of the `Badge`." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Size of the `Badge`.", + "defaultValue": { + "value": "20", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRefObject", + "raw": "React.RefObject", + "elements": [ + {} + ] + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Badge.tsx" + ] + }, + "Banner": { + "filepath": "Banner.tsx", + "title": "Banner", + "description": "Banner displays a prominent message and related actions.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Image } from 'react-native';\nimport { Banner } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(true);\n\n return (\n setVisible(false),\n },\n {\n label: 'Learn more',\n onPress: () => setVisible(false),\n },\n ]}\n icon={({size}) => (\n \n )}>\n There was a problem processing a transaction on your credit card.\n \n );\n};\n\nexport default MyComponent;\n```", + "link": "banner", + "data": { + "description": "Banner displays a prominent message and related actions.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Image } from 'react-native';\nimport { Banner } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(true);\n\n return (\n setVisible(false),\n },\n {\n label: 'Learn more',\n onPress: () => setVisible(false),\n },\n ]}\n icon={({size}) => (\n \n )}>\n There was a problem processing a transaction on your credit card.\n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Banner", + "methods": [], + "statics": [], + "props": { + "visible": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "Whether banner is currently visible." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content that will be displayed inside banner." + }, + "icon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display for the `Banner`. Can be an image." + }, + "actions": { + "required": false, + "tsType": { + "name": "Array", + "elements": [ + { + "name": "intersection", + "raw": "{\n label: string;\n} & $RemoveChildren", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n label: string;\n}", + "signature": { + "properties": [ + { + "key": "label", + "value": { + "name": "string", + "required": true + } + } + ] + } + }, + { + "name": "$RemoveChildren", + "elements": [ + { + "name": "Button" + } + ], + "raw": "$RemoveChildren" + } + ] + } + ], + "raw": "Array<\n {\n label: string;\n } & $RemoveChildren\n>" + }, + "description": "Action items to shown in the banner.\nAn action item should contain the following properties:\n\n- `label`: label of the action button (required)\n- `onPress`: callback that is called when button is pressed (required)\n\nTo customize button you can pass other props that button component takes.", + "defaultValue": { + "value": "[]", + "computed": false + } + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style of banner's inner content.\nUse this prop to apply custom width for wide layouts." + }, + "elevation": { + "required": false, + "tsType": { + "name": "union", + "raw": "0 | 1 | 2 | 3 | 4 | 5 | Animated.Value", + "elements": [ + { + "name": "literal", + "value": "0" + }, + { + "name": "literal", + "value": "1" + }, + { + "name": "literal", + "value": "2" + }, + { + "name": "literal", + "value": "3" + }, + { + "name": "literal", + "value": "4" + }, + { + "name": "literal", + "value": "5" + }, + { + "name": "Animated.Value" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nChanges Banner shadow and background on iOS and Android.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRefObject", + "raw": "React.RefObject", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "onShowAnimationFinished": { + "required": false, + "tsType": { + "name": "Animated.EndCallback" + }, + "description": "\nOptional callback that will be called after the opening animation finished running normally", + "defaultValue": { + "value": "() => {}", + "computed": false + } + }, + "onHideAnimationFinished": { + "required": false, + "tsType": { + "name": "Animated.EndCallback" + }, + "description": "\nOptional callback that will be called after the closing animation finished running normally", + "defaultValue": { + "value": "() => {}", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Banner.tsx" + ] + }, + "BottomNavigation/BottomNavigation": { + "filepath": "BottomNavigation/BottomNavigation.tsx", + "title": "BottomNavigation", + "description": "BottomNavigation provides quick navigation between top-level views of an app with a bottom navigation bar.\nIt is primarily designed for use on mobile. If you want to use the navigation bar only see [`BottomNavigation.Bar`](BottomNavigationBar).\n\nBy default BottomNavigation uses primary color as a background, in dark theme with `adaptive` mode it will use surface colour instead.\nSee [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more information.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { BottomNavigation, Text } from 'react-native-paper';\n\nconst MusicRoute = () => Music;\n\nconst AlbumsRoute = () => Albums;\n\nconst RecentsRoute = () => Recents;\n\nconst NotificationsRoute = () => Notifications;\n\nconst MyComponent = () => {\n const [index, setIndex] = React.useState(0);\n const [routes] = React.useState([\n { key: 'music', title: 'Favorites', focusedIcon: 'heart', unfocusedIcon: 'heart-outline'},\n { key: 'albums', title: 'Albums', focusedIcon: 'album' },\n { key: 'recents', title: 'Recents', focusedIcon: 'history' },\n { key: 'notifications', title: 'Notifications', focusedIcon: 'bell', unfocusedIcon: 'bell-outline' },\n ]);\n\n const renderScene = BottomNavigation.SceneMap({\n music: MusicRoute,\n albums: AlbumsRoute,\n recents: RecentsRoute,\n notifications: NotificationsRoute,\n });\n\n return (\n \n );\n};\n\nexport default MyComponent;\n```", + "link": "bottom-navigation", + "data": { + "description": "BottomNavigation provides quick navigation between top-level views of an app with a bottom navigation bar.\nIt is primarily designed for use on mobile. If you want to use the navigation bar only see [`BottomNavigation.Bar`](BottomNavigationBar).\n\nBy default BottomNavigation uses primary color as a background, in dark theme with `adaptive` mode it will use surface colour instead.\nSee [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more information.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { BottomNavigation, Text } from 'react-native-paper';\n\nconst MusicRoute = () => Music;\n\nconst AlbumsRoute = () => Albums;\n\nconst RecentsRoute = () => Recents;\n\nconst NotificationsRoute = () => Notifications;\n\nconst MyComponent = () => {\n const [index, setIndex] = React.useState(0);\n const [routes] = React.useState([\n { key: 'music', title: 'Favorites', focusedIcon: 'heart', unfocusedIcon: 'heart-outline'},\n { key: 'albums', title: 'Albums', focusedIcon: 'album' },\n { key: 'recents', title: 'Recents', focusedIcon: 'history' },\n { key: 'notifications', title: 'Notifications', focusedIcon: 'bell', unfocusedIcon: 'bell-outline' },\n ]);\n\n const renderScene = BottomNavigation.SceneMap({\n music: MusicRoute,\n albums: AlbumsRoute,\n recents: RecentsRoute,\n notifications: NotificationsRoute,\n });\n\n return (\n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "BottomNavigation", + "methods": [ + { + "name": "SceneMap", + "docblock": "Function which takes a map of route keys to components.\nPure components are used to minimize re-rendering of the pages.\nThis drastically improves the animation performance.", + "modifiers": [ + "static" + ], + "params": [ + { + "name": "scenes", + "optional": false, + "type": { + "name": "signature", + "type": "object", + "raw": "{\n [key: string]: React.ComponentType<{\n route: Route;\n jumpTo: (key: string) => void;\n }>;\n}", + "signature": { + "properties": [ + { + "key": { + "name": "string" + }, + "value": { + "name": "ReactComponentType", + "raw": "React.ComponentType<{\n route: Route;\n jumpTo: (key: string) => void;\n}>", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n route: Route;\n jumpTo: (key: string) => void;\n}", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "jumpTo", + "value": { + "name": "signature", + "type": "function", + "raw": "(key: string) => void", + "signature": { + "arguments": [ + { + "name": "key", + "type": { + "name": "string" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + } + ] + } + } + ], + "required": true + } + } + ] + } + } + } + ], + "returns": null, + "description": "Function which takes a map of route keys to components.\nPure components are used to minimize re-rendering of the pages.\nThis drastically improves the animation performance." + } + ], + "statics": [], + "props": { + "shifting": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the shifting style is used, the active tab icon shifts up to show the label and the inactive tabs won't have a label.\n\nBy default, this is `false` with theme version 3 and `true` when you have more than 3 tabs.\nPass `shifting={false}` to explicitly disable this animation, or `shifting={true}` to always use this animation.\nNote that you need at least 2 tabs be able to run this animation." + }, + "labeled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show labels in tabs. When `false`, only icons will be displayed.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "compact": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether tabs should be spread across the entire width." + }, + "navigationState": { + "required": true, + "tsType": { + "name": "signature", + "type": "object", + "raw": "{\n index: number;\n routes: Route[];\n}", + "signature": { + "properties": [ + { + "key": "index", + "value": { + "name": "number", + "required": true + } + }, + { + "key": "routes", + "value": { + "name": "Array", + "elements": [ + { + "name": "Route" + } + ], + "raw": "Route[]", + "required": true + } + } + ] + } + }, + "description": "State for the bottom navigation. The state should contain the following properties:\n\n- `index`: a number representing the index of the active route in the `routes` array\n- `routes`: an array containing a list of route objects used for rendering the tabs\n\nEach route object should contain the following properties:\n\n- `key`: a unique key to identify the route (required)\n- `title`: title of the route to use as the tab label\n- `focusedIcon`: icon to use as the focused tab icon, can be a string, an image source or a react component @renamed Renamed from 'icon' to 'focusedIcon' in v5.x\n- `unfocusedIcon`: icon to use as the unfocused tab icon, can be a string, an image source or a react component @supported Available in v5.x with theme version 3\n- `badge`: badge to show on the tab icon, can be `true` to show a dot, `string` or `number` to show text.\n- `accessibilityLabel`: accessibility label for the tab button\n- `testID`: test id for the tab button\n\nExample:\n\n```js\n{\n index: 1,\n routes: [\n { key: 'music', title: 'Favorites', focusedIcon: 'heart', unfocusedIcon: 'heart-outline'},\n { key: 'albums', title: 'Albums', focusedIcon: 'album' },\n { key: 'recents', title: 'Recents', focusedIcon: 'history' },\n { key: 'notifications', title: 'Notifications', focusedIcon: 'bell', unfocusedIcon: 'bell-outline' },\n ]\n}\n```\n\n`BottomNavigation` is a controlled component, which means the `index` needs to be updated via the `onIndexChange` callback." + }, + "onIndexChange": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(index: number) => void", + "signature": { + "arguments": [ + { + "name": "index", + "type": { + "name": "number" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Callback which is called on tab change, receives the index of the new tab as argument.\nThe navigation state needs to be updated when it's called, otherwise the change is dropped." + }, + "renderScene": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: {\n route: Route;\n jumpTo: (key: string) => void;\n}) => React.ReactNode | null", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{\n route: Route;\n jumpTo: (key: string) => void;\n}", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "jumpTo", + "value": { + "name": "signature", + "type": "function", + "raw": "(key: string) => void", + "signature": { + "arguments": [ + { + "name": "key", + "type": { + "name": "string" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "React.ReactNode | null", + "elements": [ + { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + { + "name": "null" + } + ] + } + } + }, + "description": "Callback which returns a react element to render as the page for the tab. Receives an object containing the route as the argument:\n\n```js\nrenderScene = ({ route, jumpTo }) => {\n switch (route.key) {\n case 'music':\n return ;\n case 'albums':\n return ;\n }\n}\n```\n\nPages are lazily rendered, which means that a page will be rendered the first time you navigate to it.\nAfter initial render, all the pages stay rendered to preserve their state.\n\nYou need to make sure that your individual routes implement a `shouldComponentUpdate` to improve the performance.\nTo make it easier to specify the components, you can use the `SceneMap` helper:\n\n```js\nrenderScene = BottomNavigation.SceneMap({\n music: MusicRoute,\n albums: AlbumsRoute,\n});\n```\n\nSpecifying the components this way is easier and takes care of implementing a `shouldComponentUpdate` method.\nEach component will receive the current route and a `jumpTo` method as it's props.\nThe `jumpTo` method can be used to navigate to other tabs programmatically:\n\n```js\nthis.props.jumpTo('albums')\n```" + }, + "renderIcon": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: {\n route: Route;\n focused: boolean;\n color: ColorValue;\n}) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{\n route: Route;\n focused: boolean;\n color: ColorValue;\n}", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "focused", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React Element to be used as tab icon." + }, + "renderLabel": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: {\n route: Route;\n focused: boolean;\n color: ColorValue;\n}) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{\n route: Route;\n focused: boolean;\n color: ColorValue;\n}", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "focused", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which React Element to be used as tab label." + }, + "renderTouchable": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: TouchableProps) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "TouchableRippleProps & {\n key: string;\n route: Route;\n children: React.ReactNode;\n borderless?: boolean;\n centered?: boolean;\n rippleColor?: ColorValue;\n}", + "elements": [ + { + "name": "TouchableRippleProps" + }, + { + "name": "signature", + "type": "object", + "raw": "{\n key: string;\n route: Route;\n children: React.ReactNode;\n borderless?: boolean;\n centered?: boolean;\n rippleColor?: ColorValue;\n}", + "signature": { + "properties": [ + { + "key": "key", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "children", + "value": { + "name": "ReactReactNode", + "raw": "React.ReactNode", + "required": true + } + }, + { + "key": "borderless", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "centered", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "rippleColor", + "value": { + "name": "ColorValue", + "required": false + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to be used as the touchable for the tab item.\nRenders a `TouchableRipple` on Android and `Pressable` on iOS." + }, + "getAccessibilityLabel": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "string | undefined", + "elements": [ + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get accessibility label for the tab button. This is read by the screen reader when the user taps the tab.\nUses `route.accessibilityLabel` by default." + }, + "getBadge": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => boolean | number | string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "boolean | number | string | undefined", + "elements": [ + { + "name": "boolean" + }, + { + "name": "number" + }, + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get badge for the tab, uses `route.badge` by default." + }, + "getLabelText": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "string | undefined", + "elements": [ + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get label text for the tab, uses `route.title` by default. Use `renderLabel` to replace label component." + }, + "getLazy": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => boolean | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "boolean | undefined", + "elements": [ + { + "name": "boolean" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get lazy for the current screen. Uses true by default.", + "defaultValue": { + "value": "({ route }: { route: Route }) => route.lazy", + "computed": false + } + }, + "getTestID": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "string | undefined", + "elements": [ + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get the id to locate this tab button in tests, uses `route.testID` by default." + }, + "onTabPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route } & TabPressEvent) => void", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "{ route: Route } & TabPressEvent", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n defaultPrevented: boolean;\n preventDefault(): void;\n}", + "signature": { + "properties": [ + { + "key": "defaultPrevented", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "preventDefault", + "value": { + "name": "void", + "required": true + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on tab press. It receives the route for the pressed tab, useful for things like scroll to top." + }, + "onTabLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route } & TabPressEvent) => void", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "{ route: Route } & TabPressEvent", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n defaultPrevented: boolean;\n preventDefault(): void;\n}", + "signature": { + "properties": [ + { + "key": "defaultPrevented", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "preventDefault", + "value": { + "name": "void", + "required": true + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on tab long press. It receives the route for the pressed tab, useful for things like custom action when longed pressed." + }, + "activeColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for icon and label in the active tab." + }, + "inactiveColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for icon and label in the inactive tab." + }, + "sceneAnimationEnabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether animation is enabled for scenes transitions in `shifting` mode.\nBy default, the scenes cross-fade during tab change when `shifting` is enabled.\nSpecify `sceneAnimationEnabled` as `false` to disable the animation.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "sceneAnimationType": { + "required": false, + "tsType": { + "name": "union", + "raw": "'opacity' | 'shifting'", + "elements": [ + { + "name": "literal", + "value": "'opacity'" + }, + { + "name": "literal", + "value": "'shifting'" + } + ] + }, + "description": "The scene animation effect. Specify `'shifting'` for a different effect.\nBy default, 'opacity' will be used.", + "defaultValue": { + "value": "'opacity'", + "computed": false + } + }, + "sceneAnimationEasing": { + "required": false, + "tsType": { + "name": "union", + "raw": "EasingFunction | undefined", + "elements": [ + { + "name": "EasingFunction" + }, + { + "name": "undefined" + } + ] + }, + "description": "The scene animation Easing." + }, + "keyboardHidesNavigationBar": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the bottom navigation bar is hidden when keyboard is shown.\nOn Android, this works best when [`windowSoftInputMode`](https://developer.android.com/guide/topics/manifest/activity-element#wsoft) is set to `adjustResize`.", + "defaultValue": { + "value": "Platform.OS === 'android'", + "computed": false + } + }, + "safeAreaInsets": { + "required": false, + "tsType": { + "name": "signature", + "type": "object", + "raw": "{\n top?: number;\n right?: number;\n bottom?: number;\n left?: number;\n}", + "signature": { + "properties": [ + { + "key": "top", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "right", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "bottom", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "left", + "value": { + "name": "number", + "required": false + } + } + ] + } + }, + "description": "Safe area insets for the tab bar. This can be used to avoid elements like the navigation bar on Android and bottom safe area on iOS.\nThe bottom insets for iOS is added by default. You can override the behavior with this option." + }, + "barStyle": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "Style for the bottom navigation bar. You can pass a custom background color here:\n\n```js\nbarStyle={{ backgroundColor: '#694fad' }}\n```" + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "activeIndicatorStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'bottom-navigation'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/BottomNavigation/BottomNavigation.tsx" + ] + }, + "BottomNavigation/BottomNavigationBar": { + "filepath": "BottomNavigation/BottomNavigationBar.tsx", + "title": "BottomNavigation.Bar", + "description": "A navigation bar which can easily be integrated with [React Navigation's Bottom Tabs Navigator](https://reactnavigation.org/docs/bottom-tab-navigator/).\n\n## Usage\n### without React Navigation\n```js\nimport React from 'react';\nimport { useState } from 'react';\nimport { View } from 'react-native';\nimport { BottomNavigation, Text, Provider } from 'react-native-paper';\nimport MaterialCommunityIcons from '@react-native-vector-icons/material-design-icons';\n\nfunction HomeScreen() {\n return (\n \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nexport default function MyComponent() {\n const [index, setIndex] = useState(0);\n\n const routes = [\n { key: 'home', title: 'Home', icon: 'home' },\n { key: 'settings', title: 'Settings', icon: 'cog' },\n ];\n\n const renderScene = ({ route }) => {\n switch (route.key) {\n case 'home':\n return ;\n case 'settings':\n return ;\n default:\n return null;\n }\n };\n\n return (\n \n {renderScene({ route: routes[index] })}\n {\n const newIndex = routes.findIndex((r) => r.key === route.key);\n if (newIndex !== -1) {\n setIndex(newIndex);\n }\n }}\n renderIcon={({ route, color }) => (\n \n )}\n getLabelText={({ route }) => route.title}\n />\n \n );\n}\n```", + "link": "bottom-navigation-bar", + "data": { + "description": "A navigation bar which can easily be integrated with [React Navigation's Bottom Tabs Navigator](https://reactnavigation.org/docs/bottom-tab-navigator/).\n\n## Usage\n### without React Navigation\n```js\nimport React from 'react';\nimport { useState } from 'react';\nimport { View } from 'react-native';\nimport { BottomNavigation, Text, Provider } from 'react-native-paper';\nimport MaterialCommunityIcons from '@react-native-vector-icons/material-design-icons';\n\nfunction HomeScreen() {\n return (\n \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nexport default function MyComponent() {\n const [index, setIndex] = useState(0);\n\n const routes = [\n { key: 'home', title: 'Home', icon: 'home' },\n { key: 'settings', title: 'Settings', icon: 'cog' },\n ];\n\n const renderScene = ({ route }) => {\n switch (route.key) {\n case 'home':\n return ;\n case 'settings':\n return ;\n default:\n return null;\n }\n };\n\n return (\n \n {renderScene({ route: routes[index] })}\n {\n const newIndex = routes.findIndex((r) => r.key === route.key);\n if (newIndex !== -1) {\n setIndex(newIndex);\n }\n }}\n renderIcon={({ route, color }) => (\n \n )}\n getLabelText={({ route }) => route.title}\n />\n \n );\n}\n```", + "displayName": "BottomNavigation.Bar", + "methods": [], + "statics": [], + "props": { + "shifting": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the shifting style is used, the active tab icon shifts up to show the label and the inactive tabs won't have a label.\n\nBy default, this is `false` with theme version 3 and `true` when you have more than 3 tabs.\nPass `shifting={false}` to explicitly disable this animation, or `shifting={true}` to always use this animation.\nNote that you need at least 2 tabs be able to run this animation." + }, + "labeled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show labels in tabs. When `false`, only icons will be displayed.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "compact": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether tabs should be spread across the entire width." + }, + "navigationState": { + "required": true, + "tsType": { + "name": "signature", + "type": "object", + "raw": "{\n index: number;\n routes: Route[];\n}", + "signature": { + "properties": [ + { + "key": "index", + "value": { + "name": "number", + "required": true + } + }, + { + "key": "routes", + "value": { + "name": "Array", + "elements": [ + { + "name": "Route" + } + ], + "raw": "Route[]", + "required": true + } + } + ] + } + }, + "description": "State for the bottom navigation. The state should contain the following properties:\n\n- `index`: a number representing the index of the active route in the `routes` array\n- `routes`: an array containing a list of route objects used for rendering the tabs\n\nEach route object should contain the following properties:\n\n- `key`: a unique key to identify the route (required)\n- `title`: title of the route to use as the tab label\n- `focusedIcon`: icon to use as the focused tab icon, can be a string, an image source or a react component @renamed Renamed from 'icon' to 'focusedIcon' in v5.x\n- `unfocusedIcon`: icon to use as the unfocused tab icon, can be a string, an image source or a react component @supported Available in v5.x with theme version 3\n- `badge`: badge to show on the tab icon, can be `true` to show a dot, `string` or `number` to show text.\n- `accessibilityLabel`: accessibility label for the tab button\n- `testID`: test id for the tab button\n\nExample:\n\n```js\n{\n index: 1,\n routes: [\n { key: 'music', title: 'Favorites', focusedIcon: 'heart', unfocusedIcon: 'heart-outline'},\n { key: 'albums', title: 'Albums', focusedIcon: 'album' },\n { key: 'recents', title: 'Recents', focusedIcon: 'history' },\n { key: 'notifications', title: 'Notifications', focusedIcon: 'bell', unfocusedIcon: 'bell-outline' },\n ]\n}\n```\n\n`BottomNavigation.Bar` is a controlled component, which means the `index` needs to be updated via the `onTabPress` callback." + }, + "renderIcon": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: {\n route: Route;\n focused: boolean;\n color: ColorValue;\n}) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{\n route: Route;\n focused: boolean;\n color: ColorValue;\n}", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "focused", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React Element to be used as tab icon." + }, + "renderLabel": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: {\n route: Route;\n focused: boolean;\n color: ColorValue;\n}) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{\n route: Route;\n focused: boolean;\n color: ColorValue;\n}", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "focused", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which React Element to be used as tab label." + }, + "renderTouchable": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: TouchableProps) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "TouchableRippleProps & {\n key: string;\n route: Route;\n children: React.ReactNode;\n borderless?: boolean;\n centered?: boolean;\n rippleColor?: ColorValue;\n}", + "elements": [ + { + "name": "TouchableRippleProps" + }, + { + "name": "signature", + "type": "object", + "raw": "{\n key: string;\n route: Route;\n children: React.ReactNode;\n borderless?: boolean;\n centered?: boolean;\n rippleColor?: ColorValue;\n}", + "signature": { + "properties": [ + { + "key": "key", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + }, + { + "key": "children", + "value": { + "name": "ReactReactNode", + "raw": "React.ReactNode", + "required": true + } + }, + { + "key": "borderless", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "centered", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "rippleColor", + "value": { + "name": "ColorValue", + "required": false + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to be used as the touchable for the tab item.\nRenders a `TouchableRipple` on Android and `Pressable` on iOS.", + "defaultValue": { + "value": "({ key, ...props }: TouchableProps) => (\n \n)", + "computed": false + } + }, + "getAccessibilityLabel": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "string | undefined", + "elements": [ + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get accessibility label for the tab button. This is read by the screen reader when the user taps the tab.\nUses `route.accessibilityLabel` by default.", + "defaultValue": { + "value": "({ route }: { route: Route }) =>\nroute.accessibilityLabel", + "computed": false + } + }, + "getBadge": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => boolean | number | string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "boolean | number | string | undefined", + "elements": [ + { + "name": "boolean" + }, + { + "name": "number" + }, + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get badge for the tab, uses `route.badge` by default.", + "defaultValue": { + "value": "({ route }: { route: Route }) => route.badge", + "computed": false + } + }, + "getLabelText": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "string | undefined", + "elements": [ + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get label text for the tab, uses `route.title` by default. Use `renderLabel` to replace label component.", + "defaultValue": { + "value": "({ route }: { route: Route }) => route.title", + "computed": false + } + }, + "getTestID": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route }) => string | undefined", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "union", + "raw": "string | undefined", + "elements": [ + { + "name": "string" + }, + { + "name": "undefined" + } + ] + } + } + }, + "description": "Get the id to locate this tab button in tests, uses `route.testID` by default.", + "defaultValue": { + "value": "({ route }: { route: Route }) => route.testID", + "computed": false + } + }, + "onTabPress": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route } & TabPressEvent) => void", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "{ route: Route } & TabPressEvent", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n defaultPrevented: boolean;\n preventDefault(): void;\n}", + "signature": { + "properties": [ + { + "key": "defaultPrevented", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "preventDefault", + "value": { + "name": "void", + "required": true + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on tab press. It receives the route for the pressed tab. Use this to update the navigation state." + }, + "onTabLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { route: Route } & TabPressEvent) => void", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "{ route: Route } & TabPressEvent", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{ route: Route }", + "signature": { + "properties": [ + { + "key": "route", + "value": { + "name": "Route", + "required": true + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n defaultPrevented: boolean;\n preventDefault(): void;\n}", + "signature": { + "properties": [ + { + "key": "defaultPrevented", + "value": { + "name": "boolean", + "required": true + } + }, + { + "key": "preventDefault", + "value": { + "name": "void", + "required": true + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on tab long press. It receives the route for the pressed tab" + }, + "activeColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for icon and label in the active tab." + }, + "inactiveColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for icon and label in the inactive tab." + }, + "animationEasing": { + "required": false, + "tsType": { + "name": "union", + "raw": "EasingFunction | undefined", + "elements": [ + { + "name": "EasingFunction" + }, + { + "name": "undefined" + } + ] + }, + "description": "The scene animation Easing." + }, + "keyboardHidesNavigationBar": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the bottom navigation bar is hidden when keyboard is shown.\nOn Android, this works best when [`windowSoftInputMode`](https://developer.android.com/guide/topics/manifest/activity-element#wsoft) is set to `adjustResize`.", + "defaultValue": { + "value": "Platform.OS === 'android'", + "computed": false + } + }, + "safeAreaInsets": { + "required": false, + "tsType": { + "name": "signature", + "type": "object", + "raw": "{\n top?: number;\n right?: number;\n bottom?: number;\n left?: number;\n}", + "signature": { + "properties": [ + { + "key": "top", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "right", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "bottom", + "value": { + "name": "number", + "required": false + } + }, + { + "key": "left", + "value": { + "name": "number", + "required": false + } + } + ] + } + }, + "description": "Safe area insets for the tab bar. This can be used to avoid elements like the navigation bar on Android and bottom safe area on iOS.\nThe bottom insets for iOS is added by default. You can override the behavior with this option." + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "activeIndicatorStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'bottom-navigation-bar'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/BottomNavigation/BottomNavigationBar.tsx" + ], + "group": "BottomNavigation" + }, + "Button/Button": { + "filepath": "Button/Button.tsx", + "title": "Button", + "description": "A button is component that the user can press to trigger an action.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Button } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "link": "button", + "data": { + "description": "A button is component that the user can press to trigger an action.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Button } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Button", + "methods": [], + "statics": [], + "props": { + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'text' | 'outlined' | 'contained' | 'elevated' | 'contained-tonal'", + "elements": [ + { + "name": "literal", + "value": "'text'" + }, + { + "name": "literal", + "value": "'outlined'" + }, + { + "name": "literal", + "value": "'contained'" + }, + { + "name": "literal", + "value": "'elevated'" + }, + { + "name": "literal", + "value": "'contained-tonal'" + } + ] + }, + "description": "Mode of the button. You can change the mode to adjust the styling to give it desired emphasis.\n- `text` - flat button without background or outline, used for the lowest priority actions, especially when presenting multiple options.\n- `outlined` - button with an outline without background, typically used for important, but not primary action – represents medium emphasis.\n- `contained` - button with a background color, used for important action, have the most visual impact and high emphasis.\n- `elevated` - button with a background color and elevation, used when absolutely necessary e.g. button requires visual separation from a patterned background. @supported Available in v5.x with theme version 3\n- `contained-tonal` - button with a secondary background color, an alternative middle ground between contained and outlined buttons. @supported Available in v5.x with theme version 3", + "defaultValue": { + "value": "'text'", + "computed": false + } + }, + "dark": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the color is a dark color. A dark button will render light text and vice-versa. Only applicable for:\n * `contained` mode for theme version 2\n * `contained`, `contained-tonal` and `elevated` modes for theme version 3." + }, + "compact": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Use a compact look, useful for `text` buttons in a row." + }, + "buttonColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom button's background color." + }, + "textColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom button's text color." + }, + "loading": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show a loading indicator." + }, + "icon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display for the `Button`." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Label text of the button." + }, + "uppercase": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Make the label text uppercased. Note that this won't work if you pass React elements as children." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button." + }, + "accessibilityHint": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility hint for the button. This is read by the screen reader when the user taps the button." + }, + "accessibilityRole": { + "required": false, + "tsType": { + "name": "AccessibilityRole" + }, + "description": "Accessibility role for the button. The \"button\" role is set by default.", + "defaultValue": { + "value": "'button'", + "computed": false + } + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "onPressIn": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute as soon as the touchable element is pressed and invoked even before onPress." + }, + "onPressOut": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute as soon as the touch is released even before onPress." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "delayLongPress": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of milliseconds a user must touch the element before executing `onLongPress`." + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style of button's inner content.\nUse this prop to apply custom height and width, to set a custom padding or to set the icon on the right with `flexDirection: 'row-reverse'`." + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Sets additional distance outside of element in which a press can be detected." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "labelStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the button text." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "touchableRef": { + "required": false, + "tsType": { + "name": "ReactRefObject", + "raw": "React.RefObject", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "Reference for the touchable" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests.", + "defaultValue": { + "value": "'button'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Button/Button.tsx" + ] + }, + "Card/Card": { + "filepath": "Card/Card.tsx", + "title": "Card", + "description": "A card is a sheet of material that serves as an entry point to more detailed information.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar, Button, Card, Text } from 'react-native-paper';\n\nconst LeftContent = props => \n\nconst MyComponent = () => (\n \n \n \n Card title\n Card content\n \n \n \n \n \n \n \n);\n\nexport default MyComponent;\n```", + "link": "card", + "data": { + "description": "A card is a sheet of material that serves as an entry point to more detailed information.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar, Button, Card, Text } from 'react-native-paper';\n\nconst LeftContent = props => \n\nconst MyComponent = () => (\n \n \n \n Card title\n Card content\n \n \n \n \n \n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "Card", + "methods": [], + "statics": [], + "props": { + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'elevated' | 'outlined' | 'contained'", + "elements": [ + { + "name": "literal", + "value": "'elevated'" + }, + { + "name": "literal", + "value": "'outlined'" + }, + { + "name": "literal", + "value": "'contained'" + } + ] + }, + "description": "Mode of the Card.\n- `elevated` - Card with elevation.\n- `contained` - Card without outline and elevation @supported Available in v5.x with theme version 3\n- `outlined` - Card with an outline.", + "defaultValue": { + "value": "'elevated'", + "computed": false + } + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Card`." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "onPressIn": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute as soon as the touchable element is pressed and invoked even before onPress." + }, + "onPressOut": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute as soon as the touch is released even before onPress." + }, + "delayLongPress": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of milliseconds a user must touch the element before executing `onLongPress`." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "If true, disable all interactions for this component." + }, + "elevation": { + "required": false, + "tsType": { + "name": "union", + "raw": "0 | 1 | 2 | 3 | 4 | 5 | Animated.Value", + "elements": [ + { + "name": "literal", + "value": "0" + }, + { + "name": "literal", + "value": "1" + }, + { + "name": "literal", + "value": "2" + }, + { + "name": "literal", + "value": "3" + }, + { + "name": "literal", + "value": "4" + }, + { + "name": "literal", + "value": "5" + }, + { + "name": "Animated.Value" + } + ] + }, + "description": "Changes Card shadow and background on iOS and Android.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style of card's inner content." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Pass down testID from card props to touchable", + "defaultValue": { + "value": "'card'", + "computed": false + } + }, + "accessible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Pass down accessible from card props to touchable" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Card/Card.tsx" + ] + }, + "Card/CardActions": { + "filepath": "Card/CardActions.tsx", + "title": "Card.Actions", + "description": "A component to show a list of actions inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Card, Button } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n \n \n \n);\n\nexport default MyComponent;\n```", + "link": "card-actions", + "data": { + "description": "A component to show a list of actions inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Card, Button } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n \n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "Card.Actions", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Items inside the `CardActions`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Card/CardActions.tsx" + ], + "group": "Card" + }, + "Card/CardContent": { + "filepath": "Card/CardContent.tsx", + "title": "Card.Content", + "description": "A component to show content inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Card, Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n Card title\n Card content\n \n \n);\n\nexport default MyComponent;\n```", + "link": "card-content", + "data": { + "description": "A component to show content inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Card, Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n Card title\n Card content\n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "Card.Content", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Items inside the `Card.Content`." + }, + "index": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "@internal" + }, + "total": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "@internal" + }, + "siblings": { + "required": false, + "tsType": { + "name": "Array", + "elements": [ + { + "name": "string" + } + ], + "raw": "Array" + }, + "description": "@internal" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Card/CardContent.tsx" + ], + "group": "Card" + }, + "Card/CardCover": { + "filepath": "Card/CardCover.tsx", + "title": "Card.Cover", + "description": "A component to show a cover image inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Card } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n);\n\nexport default MyComponent;\n```\n\n@extends Image props https://reactnative.dev/docs/image#props", + "link": "card-cover", + "data": { + "description": "A component to show a cover image inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Card } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n);\n\nexport default MyComponent;\n```\n\n@extends Image props https://reactnative.dev/docs/image#props", + "displayName": "Card.Cover", + "methods": [], + "statics": [], + "props": { + "index": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "@internal" + }, + "total": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "@internal" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Card/CardCover.tsx" + ], + "group": "Card" + }, + "Card/CardTitle": { + "filepath": "Card/CardTitle.tsx", + "title": "Card.Title", + "description": "A component to show a title, subtitle and an avatar inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar, Card, IconButton } from 'react-native-paper';\n\nconst MyComponent = () => (\n }\n right={(props) => {}} />}\n />\n);\n\nexport default MyComponent;\n```", + "link": "card-title", + "data": { + "description": "A component to show a title, subtitle and an avatar inside a Card.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Avatar, Card, IconButton } from 'react-native-paper';\n\nconst MyComponent = () => (\n }\n right={(props) => {}} />}\n />\n);\n\nexport default MyComponent;\n```", + "displayName": "Card.Title", + "methods": [], + "statics": [], + "props": { + "title": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Text for the title. Note that this will only accept a string or ``-based node." + }, + "titleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the title." + }, + "titleNumberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Number of lines for the title.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "titleVariant": { + "required": false, + "tsType": { + "name": "TypescaleKey" + }, + "description": "@supported Available in v5.x with theme version 3\n\nTitle text variant defines appropriate text styles for type role and its size.\nAvailable variants:\n\n Display: `displayLarge`, `displayMedium`, `displaySmall`\n\n Headline: `headlineLarge`, `headlineMedium`, `headlineSmall`\n\n Title: `titleLarge`, `titleMedium`, `titleSmall`\n\n Label: `labelLarge`, `labelMedium`, `labelSmall`\n\n Body: `bodyLarge`, `bodyMedium`, `bodySmall`", + "defaultValue": { + "value": "'bodyLarge'", + "computed": false + } + }, + "subtitle": { + "required": false, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Text for the subtitle. Note that this will only accept a string or ``-based node." + }, + "subtitleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the subtitle." + }, + "subtitleNumberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Number of lines for the subtitle.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "subtitleVariant": { + "required": false, + "tsType": { + "name": "TypescaleKey" + }, + "description": "@supported Available in v5.x with theme version 3\n\nSubtitle text variant defines appropriate text styles for type role and its size.\nAvailable variants:\n\n Display: `displayLarge`, `displayMedium`, `displaySmall`\n\n Headline: `headlineLarge`, `headlineMedium`, `headlineSmall`\n\n Title: `titleLarge`, `titleMedium`, `titleSmall`\n\n Label: `labelLarge`, `labelMedium`, `labelSmall`\n\n Body: `bodyLarge`, `bodyMedium`, `bodySmall`", + "defaultValue": { + "value": "'bodyMedium'", + "computed": false + } + }, + "left": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { size: number }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ size: number }", + "signature": { + "properties": [ + { + "key": "size", + "value": { + "name": "number", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the left side." + }, + "leftStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the left element wrapper." + }, + "right": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { size: number }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ size: number }", + "signature": { + "properties": [ + { + "key": "size", + "value": { + "name": "number", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the right side." + }, + "rightStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the right element wrapper." + }, + "index": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "@internal" + }, + "total": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "@internal" + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach." + }, + "subtitleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a subtitle font can reach." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Card/CardTitle.tsx" + ], + "group": "Card" + }, + "Checkbox/Checkbox": { + "filepath": "Checkbox/Checkbox.tsx", + "title": "Checkbox", + "description": "Checkboxes allow the selection of multiple options from a set.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Checkbox } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [checked, setChecked] = React.useState(false);\n\n return (\n {\n setChecked(!checked);\n }}\n />\n );\n};\n\nexport default MyComponent;\n```", + "link": "checkbox", + "data": { + "description": "Checkboxes allow the selection of multiple options from a set.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Checkbox } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [checked, setChecked] = React.useState(false);\n\n return (\n {\n setChecked(!checked);\n }}\n />\n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Checkbox", + "methods": [], + "statics": [], + "props": { + "status": { + "required": true, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked' | 'indeterminate'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + }, + { + "name": "literal", + "value": "'indeterminate'" + } + ] + }, + "description": "Status of checkbox." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether checkbox is disabled." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "uncheckedColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom color for unchecked checkbox." + }, + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom color for checkbox." + }, + "error": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the checkbox is in an error state. When true, the outline\n(unchecked) and container (selected) use `theme.colors.error`.\n`disabled` and explicit `color`/`uncheckedColor` overrides take\nprecedence." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Custom style to override the default tap target. Passed through to\nthe underlying `TouchableRipple`." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Checkbox/Checkbox.tsx" + ] + }, + "Checkbox/CheckboxItem": { + "filepath": "Checkbox/CheckboxItem.tsx", + "title": "Checkbox.Item", + "description": "Checkbox.Item allows you to press the whole row (item) instead of only the Checkbox.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Checkbox } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n);\n\nexport default MyComponent;\n```", + "link": "checkbox-item", + "data": { + "description": "Checkbox.Item allows you to press the whole row (item) instead of only the Checkbox.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Checkbox } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "Checkbox.Item", + "methods": [], + "statics": [], + "props": { + "status": { + "required": true, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked' | 'indeterminate'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + }, + { + "name": "literal", + "value": "'indeterminate'" + } + ] + }, + "description": "Status of checkbox." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether checkbox is disabled." + }, + "label": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Label to be displayed on the item." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the touchable. This is read by the screen reader when the user taps the touchable.", + "defaultValue": { + "value": "label", + "computed": true + } + }, + "uncheckedColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for unchecked checkbox." + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for checkbox." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Additional styles for container View." + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach.", + "defaultValue": { + "value": "1.5", + "computed": false + } + }, + "labelStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Label element." + }, + "labelVariant": { + "required": false, + "tsType": { + "name": "TypescaleKey" + }, + "description": "@supported Available in v5.x with theme version 3\n\nLabel text variant defines appropriate text styles for type role and its size.\nAvailable variants:\n\n Display: `displayLarge`, `displayMedium`, `displaySmall`\n\n Headline: `headlineLarge`, `headlineMedium`, `headlineSmall`\n\n Title: `titleLarge`, `titleMedium`, `titleSmall`\n\n Label: `labelLarge`, `labelMedium`, `labelSmall`\n\n Body: `bodyLarge`, `bodyMedium`, `bodySmall`", + "defaultValue": { + "value": "'bodyLarge'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + }, + "position": { + "required": false, + "tsType": { + "name": "union", + "raw": "'leading' | 'trailing'", + "elements": [ + { + "name": "literal", + "value": "'leading'" + }, + { + "name": "literal", + "value": "'trailing'" + } + ] + }, + "description": "Checkbox control position.", + "defaultValue": { + "value": "'trailing'", + "computed": false + } + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Sets additional distance outside of element in which a press can be detected." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Checkbox/CheckboxItem.tsx" + ], + "group": "Checkbox" + }, + "Chip/Chip": { + "filepath": "Chip/Chip.tsx", + "title": "Chip", + "description": "Chips are compact elements that can represent inputs, attributes, or actions.\nThey can have an icon or avatar on the left, and a close button icon on the right.\nThey are typically used to:\n
      \n
    • Present multiple options
    • \n
    • Represent attributes active or chosen
    • \n
    • Present filter options
    • \n
    • Trigger actions related to primary content
    • \n
    \n\n## Usage\n```js\nimport * as React from 'react';\nimport { Chip } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}>Example Chip\n);\n\nexport default MyComponent;\n```", + "link": "chip", + "data": { + "description": "Chips are compact elements that can represent inputs, attributes, or actions.\nThey can have an icon or avatar on the left, and a close button icon on the right.\nThey are typically used to:\n
      \n
    • Present multiple options
    • \n
    • Represent attributes active or chosen
    • \n
    • Present filter options
    • \n
    • Trigger actions related to primary content
    • \n
    \n\n## Usage\n```js\nimport * as React from 'react';\nimport { Chip } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}>Example Chip\n);\n\nexport default MyComponent;\n```", + "displayName": "Chip", + "methods": [], + "statics": [], + "props": { + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'flat' | 'outlined'", + "elements": [ + { + "name": "literal", + "value": "'flat'" + }, + { + "name": "literal", + "value": "'outlined'" + } + ] + }, + "description": "Mode of the chip.\n- `flat` - flat chip without outline.\n- `outlined` - chip with an outline.", + "defaultValue": { + "value": "'flat'", + "computed": false + } + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Text content of the `Chip`." + }, + "icon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display for the `Chip`. Both icon and avatar cannot be specified." + }, + "avatar": { + "required": false, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Avatar to display for the `Chip`. Both icon and avatar cannot be specified." + }, + "closeIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display as the close button for the `Chip`. The icon appears only when the onClose prop is specified." + }, + "selected": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether chip is selected.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "selectedColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Whether to style the chip color as selected.\nNote: With theme version 3 `selectedColor` doesn't apply to the `icon`.\n If you want specify custom color for the `icon`, render your own `Icon` component." + }, + "showSelectedOverlay": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\nWhether to display overlay on selected chip" + }, + "showSelectedCheck": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to display default check icon on selected chip.\nNote: Check will not be shown if `icon` is specified. If specified, `icon` will be shown regardless of `selected`.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the chip is disabled. A disabled chip is greyed out and `onPress` is not called on touch.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the chip. This is read by the screen reader when the user taps the chip." + }, + "closeIconAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the close icon. This is read by the screen reader when the user taps the close icon.", + "defaultValue": { + "value": "'Close'", + "computed": false + } + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "onPressIn": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute as soon as the touchable element is pressed and invoked even before onPress." + }, + "onPressOut": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute as soon as the touch is released even before onPress." + }, + "onClose": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on close button press. The close button appears only when this prop is specified." + }, + "delayLongPress": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of milliseconds a user must touch the element before executing `onLongPress`." + }, + "compact": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\nSets smaller horizontal paddings `12dp` around label, when there is only label." + }, + "elevated": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\nWhether chip should have the elevation.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "textStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style of chip's text" + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Sets additional distance outside of element in which a press can be detected." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Pass down testID from chip props to touchable for Detox tests.", + "defaultValue": { + "value": "'chip'", + "computed": false + } + }, + "ellipsizeMode": { + "required": false, + "tsType": { + "name": "EllipsizeProp" + }, + "description": "Ellipsize Mode for the children text" + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "accessibilityRole": { + "defaultValue": { + "value": "'button'", + "computed": false + }, + "required": false, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Chip/Chip.tsx" + ] + }, + "DataTable/DataTable": { + "filepath": "DataTable/DataTable.tsx", + "title": "DataTable", + "description": "Data tables allow displaying sets of data.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [page, setPage] = React.useState(0);\n const [numberOfItemsPerPageList] = React.useState([2, 3, 4]);\n const [itemsPerPage, onItemsPerPageChange] = React.useState(\n numberOfItemsPerPageList[0]\n );\n\n const [items] = React.useState([\n {\n key: 1,\n name: 'Cupcake',\n calories: 356,\n fat: 16,\n },\n {\n key: 2,\n name: 'Eclair',\n calories: 262,\n fat: 16,\n },\n {\n key: 3,\n name: 'Frozen yogurt',\n calories: 159,\n fat: 6,\n },\n {\n key: 4,\n name: 'Gingerbread',\n calories: 305,\n fat: 3.7,\n },\n ]);\n\n const from = page * itemsPerPage;\n const to = Math.min((page + 1) * itemsPerPage, items.length);\n\n React.useEffect(() => {\n setPage(0);\n }, [itemsPerPage]);\n\n return (\n \n \n Dessert\n Calories\n Fat\n \n\n {items.slice(from, to).map((item) => (\n \n {item.name}\n {item.calories}\n {item.fat}\n \n ))}\n\n setPage(page)}\n label={`${from + 1}-${to} of ${items.length}`}\n numberOfItemsPerPageList={numberOfItemsPerPageList}\n numberOfItemsPerPage={itemsPerPage}\n onItemsPerPageChange={onItemsPerPageChange}\n showFastPaginationControls\n selectPageDropdownLabel={'Rows per page'}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "link": "data-table", + "data": { + "description": "Data tables allow displaying sets of data.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [page, setPage] = React.useState(0);\n const [numberOfItemsPerPageList] = React.useState([2, 3, 4]);\n const [itemsPerPage, onItemsPerPageChange] = React.useState(\n numberOfItemsPerPageList[0]\n );\n\n const [items] = React.useState([\n {\n key: 1,\n name: 'Cupcake',\n calories: 356,\n fat: 16,\n },\n {\n key: 2,\n name: 'Eclair',\n calories: 262,\n fat: 16,\n },\n {\n key: 3,\n name: 'Frozen yogurt',\n calories: 159,\n fat: 6,\n },\n {\n key: 4,\n name: 'Gingerbread',\n calories: 305,\n fat: 3.7,\n },\n ]);\n\n const from = page * itemsPerPage;\n const to = Math.min((page + 1) * itemsPerPage, items.length);\n\n React.useEffect(() => {\n setPage(0);\n }, [itemsPerPage]);\n\n return (\n \n \n Dessert\n Calories\n Fat\n \n\n {items.slice(from, to).map((item) => (\n \n {item.name}\n {item.calories}\n {item.fat}\n \n ))}\n\n setPage(page)}\n label={`${from + 1}-${to} of ${items.length}`}\n numberOfItemsPerPageList={numberOfItemsPerPageList}\n numberOfItemsPerPage={itemsPerPage}\n onItemsPerPageChange={onItemsPerPageChange}\n showFastPaginationControls\n selectPageDropdownLabel={'Rows per page'}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "DataTable", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DataTable`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/DataTable/DataTable.tsx" + ] + }, + "DataTable/DataTableCell": { + "filepath": "DataTable/DataTableCell.tsx", + "title": "DataTable.Cell", + "description": "A component to show a single cell inside of a table.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n 1\n 2\n 3\n 4\n \n);\n\nexport default MyComponent;\n```\n\nIf you want to support multiline text, please use View instead, as multiline text doesn't comply with\nMD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "link": "data-table-cell", + "data": { + "description": "A component to show a single cell inside of a table.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n 1\n 2\n 3\n 4\n \n);\n\nexport default MyComponent;\n```\n\nIf you want to support multiline text, please use View instead, as multiline text doesn't comply with\nMD Guidelines (https://github.com/callstack/react-native-paper/issues/2381).\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "displayName": "DataTable.Cell", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DataTableCell`." + }, + "numeric": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Align the text to the right. Generally monetary or number fields are aligned to right." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "textStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Text content style of the `DataTableCell`." + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/DataTable/DataTableCell.tsx" + ], + "group": "DataTable" + }, + "DataTable/DataTableHeader": { + "filepath": "DataTable/DataTableHeader.tsx", + "title": "DataTable.Header", + "description": "A component to display title in table header.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n Dessert\n \n Calories\n Fat (g)\n \n \n);\n\nexport default MyComponent;\n```", + "link": "data-table-header", + "data": { + "description": "A component to display title in table header.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n Dessert\n \n Calories\n Fat (g)\n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "DataTable.Header", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DataTableHeader`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/DataTable/DataTableHeader.tsx" + ], + "group": "DataTable" + }, + "DataTable/DataTablePagination": { + "filepath": "DataTable/DataTablePagination.tsx", + "title": "DataTable.Pagination", + "description": "A component to show pagination for data table.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst numberOfItemsPerPageList = [2, 3, 4];\n\nconst items = [\n {\n key: 1,\n name: 'Page 1',\n },\n {\n key: 2,\n name: 'Page 2',\n },\n {\n key: 3,\n name: 'Page 3',\n },\n];\n\nconst MyComponent = () => {\n const [page, setPage] = React.useState(0);\n const [numberOfItemsPerPage, onItemsPerPageChange] = React.useState(numberOfItemsPerPageList[0]);\n const from = page * numberOfItemsPerPage;\n const to = Math.min((page + 1) * numberOfItemsPerPage, items.length);\n\n React.useEffect(() => {\n setPage(0);\n }, [numberOfItemsPerPage]);\n\n return (\n \n setPage(page)}\n label={`${from + 1}-${to} of ${items.length}`}\n showFastPaginationControls\n numberOfItemsPerPageList={numberOfItemsPerPageList}\n numberOfItemsPerPage={numberOfItemsPerPage}\n onItemsPerPageChange={onItemsPerPageChange}\n selectPageDropdownLabel={'Rows per page'}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "link": "data-table-pagination", + "data": { + "description": "A component to show pagination for data table.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst numberOfItemsPerPageList = [2, 3, 4];\n\nconst items = [\n {\n key: 1,\n name: 'Page 1',\n },\n {\n key: 2,\n name: 'Page 2',\n },\n {\n key: 3,\n name: 'Page 3',\n },\n];\n\nconst MyComponent = () => {\n const [page, setPage] = React.useState(0);\n const [numberOfItemsPerPage, onItemsPerPageChange] = React.useState(numberOfItemsPerPageList[0]);\n const from = page * numberOfItemsPerPage;\n const to = Math.min((page + 1) * numberOfItemsPerPage, items.length);\n\n React.useEffect(() => {\n setPage(0);\n }, [numberOfItemsPerPage]);\n\n return (\n \n setPage(page)}\n label={`${from + 1}-${to} of ${items.length}`}\n showFastPaginationControls\n numberOfItemsPerPageList={numberOfItemsPerPageList}\n numberOfItemsPerPage={numberOfItemsPerPage}\n onItemsPerPageChange={onItemsPerPageChange}\n selectPageDropdownLabel={'Rows per page'}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "DataTable.Pagination", + "methods": [], + "statics": [], + "props": { + "page": { + "required": true, + "tsType": { + "name": "number" + }, + "description": "The currently visible page (starting with 0)." + }, + "numberOfPages": { + "required": true, + "tsType": { + "name": "number" + }, + "description": "The total number of pages." + }, + "onPageChange": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(page: number) => void", + "signature": { + "arguments": [ + { + "name": "page", + "type": { + "name": "number" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on page change." + }, + "showFastPaginationControls": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show fast forward and fast rewind buttons in pagination. False by default.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "numberOfItemsPerPage": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The current number of rows per page." + }, + "numberOfItemsPerPageList": { + "required": false, + "tsType": { + "name": "Array", + "elements": [ + { + "name": "number" + } + ], + "raw": "Array" + }, + "description": "Options for a number of rows per page to choose from." + }, + "onItemsPerPageChange": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(numberOfItemsPerPage: number) => void", + "signature": { + "arguments": [ + { + "name": "numberOfItemsPerPage", + "type": { + "name": "number" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "The function to set the number of rows per page." + }, + "selectPageDropdownLabel": { + "required": false, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Label text for select page dropdown to display." + }, + "selectPageDropdownAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "AccessibilityLabel for `selectPageDropdownLabel`." + }, + "label": { + "required": false, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Label text to display which indicates current pagination." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "AccessibilityLabel for `label`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/DataTable/DataTablePagination.tsx" + ], + "group": "DataTable" + }, + "DataTable/DataTableRow": { + "filepath": "DataTable/DataTableRow.tsx", + "title": "DataTable.Row", + "description": "A component to show a single row inside of a table.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n 1\n 2\n 3\n 4\n \n);\n\nexport default MyComponent;\n```\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "link": "data-table-row", + "data": { + "description": "A component to show a single row inside of a table.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n 1\n 2\n 3\n 4\n \n);\n\nexport default MyComponent;\n```\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "displayName": "DataTable.Row", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DataTableRow`." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "pointerEvents": { + "required": false, + "tsType": { + "name": "ViewProps['pointerEvents']", + "raw": "ViewProps['pointerEvents']" + }, + "description": "`pointerEvents` passed to the `View` container, which is wrapping children within `TouchableRipple`." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/DataTable/DataTableRow.tsx" + ], + "group": "DataTable" + }, + "DataTable/DataTableTitle": { + "filepath": "DataTable/DataTableTitle.tsx", + "title": "DataTable.Title", + "description": "A component to display title in table header.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n Dessert\n \n Calories\n Fat (g)\n \n \n);\n\nexport default MyComponent;\n```", + "link": "data-table-title", + "data": { + "description": "A component to display title in table header.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { DataTable } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n Dessert\n \n Calories\n Fat (g)\n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "DataTable.Title", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Text content of the `DataTableTitle`." + }, + "numeric": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Align the text to the right. Generally monetary or number fields are aligned to right." + }, + "sortDirection": { + "required": false, + "tsType": { + "name": "union", + "raw": "'ascending' | 'descending'", + "elements": [ + { + "name": "literal", + "value": "'ascending'" + }, + { + "name": "literal", + "value": "'descending'" + } + ] + }, + "description": "Direction of sorting. An arrow indicating the direction is displayed when this is given." + }, + "numberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of lines to show.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "textStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Text content style of the `DataTableTitle`." + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/DataTable/DataTableTitle.tsx" + ], + "group": "DataTable" + }, + "Dialog/Dialog": { + "filepath": "Dialog/Dialog.tsx", + "title": "Dialog", + "description": "Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks.\nTo render the `Dialog` above other components, you'll need to wrap it with the [`Portal`](../Portal) component.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Button, Dialog, Portal, PaperProvider, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const showDialog = () => setVisible(true);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n \n \n Alert\n \n This is simple dialog\n \n \n \n \n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "dialog", + "data": { + "description": "Dialogs inform users about a specific task and may contain critical information, require decisions, or involve multiple tasks.\nTo render the `Dialog` above other components, you'll need to wrap it with the [`Portal`](../Portal) component.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Button, Dialog, Portal, PaperProvider, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const showDialog = () => setVisible(true);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n \n \n Alert\n \n This is simple dialog\n \n \n \n \n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Dialog", + "methods": [], + "statics": [], + "props": { + "dismissable": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Determines whether clicking outside the dialog dismiss it.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "dismissableBackButton": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Determines whether clicking Android hardware back button dismiss dialog.", + "defaultValue": { + "value": "dismissable", + "computed": true + } + }, + "onDismiss": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Callback that is called when the user dismisses the dialog." + }, + "visible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Determines Whether the dialog is visible.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Dialog`." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Dialog/Dialog.tsx" + ] + }, + "Dialog/DialogActions": { + "filepath": "Dialog/DialogActions.tsx", + "title": "Dialog.Actions", + "description": "A component to show a list of actions in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Button, Dialog, Portal } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "dialog-actions", + "data": { + "description": "A component to show a list of actions in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Button, Dialog, Portal } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Dialog.Actions", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DialogActions`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Dialog/DialogActions.tsx" + ], + "group": "Dialog" + }, + "Dialog/DialogContent": { + "filepath": "Dialog/DialogContent.tsx", + "title": "Dialog.Content", + "description": "A component to show content in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n This is simple dialog\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "dialog-content", + "data": { + "description": "A component to show content in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n This is simple dialog\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Dialog.Content", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DialogContent`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Dialog/DialogContent.tsx" + ], + "group": "Dialog" + }, + "Dialog/DialogIcon": { + "filepath": "Dialog/DialogIcon.tsx", + "title": "Dialog.Icon", + "description": "@supported Available in v5.x with theme version 3\nA component to show an icon in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n This is a title\n \n This is simple dialog\n \n \n \n );\n};\n\nconst styles = StyleSheet.create({\n title: {\n textAlign: 'center',\n },\n})\n\nexport default MyComponent;\n```", + "link": "dialog-icon", + "data": { + "description": "@supported Available in v5.x with theme version 3\nA component to show an icon in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n This is a title\n \n This is simple dialog\n \n \n \n );\n};\n\nconst styles = StyleSheet.create({\n title: {\n textAlign: 'center',\n },\n})\n\nexport default MyComponent;\n```", + "displayName": "Dialog.Icon", + "methods": [], + "statics": [], + "props": { + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom color for action icon." + }, + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Name of the icon to show." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Optional icon size.", + "defaultValue": { + "value": "24", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Dialog/DialogIcon.tsx" + ], + "group": "Dialog" + }, + "Dialog/DialogScrollArea": { + "filepath": "Dialog/DialogScrollArea.tsx", + "title": "Dialog.ScrollArea", + "description": "A component to show a scrollable content in a Dialog. The component only provides appropriate styling.\nFor the scrollable content you can use `ScrollView`, `FlatList` etc. depending on your requirement.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ScrollView } from 'react-native';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n \n This is a scrollable area\n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "dialog-scroll-area", + "data": { + "description": "A component to show a scrollable content in a Dialog. The component only provides appropriate styling.\nFor the scrollable content you can use `ScrollView`, `FlatList` etc. depending on your requirement.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ScrollView } from 'react-native';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n \n \n This is a scrollable area\n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Dialog.ScrollArea", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `DialogScrollArea`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Dialog/DialogScrollArea.tsx" + ], + "group": "Dialog" + }, + "Dialog/DialogTitle": { + "filepath": "Dialog/DialogTitle.tsx", + "title": "Dialog.Title", + "description": "A component to show a title in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n This is a title\n \n This is simple dialog\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "dialog-title", + "data": { + "description": "A component to show a title in a Dialog.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Dialog, Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const hideDialog = () => setVisible(false);\n\n return (\n \n \n This is a title\n \n This is simple dialog\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Dialog.Title", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Title text for the `DialogTitle`." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Dialog/DialogTitle.tsx" + ], + "group": "Dialog" + }, + "Divider": { + "filepath": "Divider.tsx", + "title": "Divider", + "description": "A divider is a thin, lightweight separator that groups content in lists and page layouts.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Divider, Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n Lemon\n \n Mango\n \n \n);\n\nexport default MyComponent;\n```", + "link": "divider", + "data": { + "description": "A divider is a thin, lightweight separator that groups content in lists and page layouts.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Divider, Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n Lemon\n \n Mango\n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "Divider", + "methods": [], + "statics": [], + "props": { + "leftInset": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@renamed Renamed from 'inset' to 'leftInset` in v5.x\nWhether divider has a left inset." + }, + "horizontalInset": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\n Whether divider has a horizontal inset on both sides.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "bold": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\n Whether divider should be bolded.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Divider.tsx" + ] + }, + "Drawer/DrawerCollapsedItem": { + "filepath": "Drawer/DrawerCollapsedItem.tsx", + "title": "Drawer.CollapsedItem", + "description": "Note: Available in v5.x with theme version 3\n\nCollapsed component used to show an action item with an icon and optionally label in a navigation drawer.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Drawer } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "link": "drawer-collapsed-item", + "data": { + "description": "Note: Available in v5.x with theme version 3\n\nCollapsed component used to show an action item with an icon and optionally label in a navigation drawer.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Drawer } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Drawer.CollapsedItem", + "methods": [], + "statics": [], + "props": { + "label": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "The label text of the item." + }, + "badge": { + "required": false, + "tsType": { + "name": "union", + "raw": "string | number | boolean", + "elements": [ + { + "name": "string" + }, + { + "name": "number" + }, + { + "name": "boolean" + } + ] + }, + "description": "Badge to show on the icon, can be `true` to show a dot, `string` or `number` to show text.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the item is disabled." + }, + "focusedIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "@renamed Renamed from 'icon' to 'focusedIcon' in v5.x\nIcon to use as the focused destination icon, can be a string, an image source or a react component" + }, + "unfocusedIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "@renamed Renamed from 'icon' to 'focusedIcon' in v5.x\nIcon to use as the unfocused destination icon, can be a string, an image source or a react component" + }, + "active": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to highlight the drawer item as active." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'drawer-collapsed-item'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Drawer/DrawerCollapsedItem.tsx" + ], + "group": "Drawer" + }, + "Drawer/DrawerItem": { + "filepath": "Drawer/DrawerItem.tsx", + "title": "Drawer.Item", + "description": "A component used to show an action item with an icon and a label in a navigation drawer.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Drawer } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "link": "drawer-item", + "data": { + "description": "A component used to show an action item with an icon and a label in a navigation drawer.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Drawer } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Drawer.Item", + "methods": [], + "statics": [], + "props": { + "label": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "The label text of the item." + }, + "icon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display for the `DrawerItem`." + }, + "active": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to highlight the drawer item as active." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the item is disabled." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button." + }, + "right": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { color: ColorValue }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ color: ColorValue }", + "signature": { + "properties": [ + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the right side. For instance a Badge." + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach." + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Sets additional distance outside of element in which a press can be detected." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Drawer/DrawerItem.tsx" + ], + "group": "Drawer" + }, + "Drawer/DrawerSection": { + "filepath": "Drawer/DrawerSection.tsx", + "title": "Drawer.Section", + "description": "A component to group content inside a navigation drawer.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Drawer } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [active, setActive] = React.useState('');\n\n return (\n \n setActive('first')}\n />\n setActive('second')}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "link": "drawer-section", + "data": { + "description": "A component to group content inside a navigation drawer.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Drawer } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [active, setActive] = React.useState('');\n\n return (\n \n setActive('first')}\n />\n setActive('second')}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Drawer.Section", + "methods": [], + "statics": [], + "props": { + "title": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Title to show as the header for the section." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Drawer.Section`." + }, + "showDivider": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show `Divider` at the end of the section. True by default.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Drawer/DrawerSection.tsx" + ], + "group": "Drawer" + }, + "FAB/FAB": { + "filepath": "FAB/FAB.tsx", + "title": "FAB", + "description": "A floating action button represents the primary action on a screen.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { FAB } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}\n />\n);\n\nconst styles = StyleSheet.create({\n fab: {\n position: 'absolute',\n margin: 16,\n right: 0,\n bottom: 0,\n },\n});\n\nexport default MyComponent;\n```", + "link": "fab", + "data": { + "description": "A floating action button represents the primary action on a screen.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { FAB } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}\n />\n);\n\nconst styles = StyleSheet.create({\n fab: {\n position: 'absolute',\n margin: 16,\n right: 0,\n bottom: 0,\n },\n});\n\nexport default MyComponent;\n```", + "displayName": "FAB", + "methods": [], + "statics": [], + "props": { + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display inside the FAB." + }, + "variant": { + "required": false, + "tsType": { + "name": "Variant" + }, + "description": "Role-color preset. Defaults to `tonalPrimary`.", + "defaultValue": { + "value": "'tonalPrimary'", + "computed": false + } + }, + "containerColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Override the container (background) color." + }, + "contentColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Override the content (icon) color." + }, + "size": { + "required": false, + "tsType": { + "name": "Size" + }, + "description": "Spec size. Defaults to `default`.", + "defaultValue": { + "value": "'default'", + "computed": false + } + }, + "visible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the FAB is currently visible. Toggling animates the spec'd enter\nand exit (scale + alpha) on the FAB itself.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label. Falls back to nothing if unset." + }, + "accessibilityState": { + "required": false, + "tsType": { + "name": "AccessibilityState" + }, + "description": "Accessibility state forwarded to the underlying button." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawable to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for positioning the FAB. The visual treatment (size, shape, color)\nis driven by `variant` and `size`." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes.", + "defaultValue": { + "value": "'floating-action-button'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/FAB/FAB.tsx" + ] + }, + "FAB/Extended": { + "filepath": "FAB/Extended.tsx", + "title": "Extended", + "description": "An extended floating action button represents the primary action on a screen\nand shows a label next to the icon. Animates between expanded (icon + label)\nand collapsed (icon only) states.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { FAB } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [expanded, setExpanded] = React.useState(true);\n\n return (\n setExpanded((v) => !v)}\n style={styles.fab}\n />\n );\n};\n\nconst styles = StyleSheet.create({\n fab: {\n position: 'absolute',\n margin: 16,\n left: 0,\n bottom: 0,\n },\n});\n\nexport default MyComponent;\n```", + "link": "extended", + "data": { + "description": "An extended floating action button represents the primary action on a screen\nand shows a label next to the icon. Animates between expanded (icon + label)\nand collapsed (icon only) states.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { StyleSheet } from 'react-native';\nimport { FAB } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [expanded, setExpanded] = React.useState(true);\n\n return (\n setExpanded((v) => !v)}\n style={styles.fab}\n />\n );\n};\n\nconst styles = StyleSheet.create({\n fab: {\n position: 'absolute',\n margin: 16,\n left: 0,\n bottom: 0,\n },\n});\n\nexport default MyComponent;\n```", + "displayName": "Extended", + "methods": [], + "statics": [], + "props": { + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display inside the FAB." + }, + "label": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Label rendered next to the icon when expanded." + }, + "variant": { + "required": false, + "tsType": { + "name": "Variant" + }, + "description": "Role-color preset. Defaults to `tonalPrimary`.", + "defaultValue": { + "value": "'tonalPrimary'", + "computed": false + } + }, + "containerColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Override the container (background) color. When set without `contentColor`,\nthe icon and label colors are derived automatically via `contentColorFor`." + }, + "contentColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Override the content (icon + label) color." + }, + "size": { + "required": false, + "tsType": { + "name": "Size" + }, + "description": "Spec size. Defaults to `default`.", + "defaultValue": { + "value": "'default'", + "computed": false + } + }, + "expanded": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "Whether the FAB is expanded (icon + label) or collapsed (icon only). The\nwidth and label opacity animate per the MD3 Expressive spec on change." + }, + "visible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the FAB is currently visible. Toggling animates the spec'd enter\nand exit (scale + alpha) on the FAB itself.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label. Falls back to `label` if unset.", + "defaultValue": { + "value": "label", + "computed": true + } + }, + "accessibilityState": { + "required": false, + "tsType": { + "name": "AccessibilityState" + }, + "description": "Accessibility state forwarded to the underlying button." + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawable to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for positioning the FAB. The visual treatment (size, shape, color)\nis driven by `variant` and `size`." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes.", + "defaultValue": { + "value": "'extended-floating-action-button'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/FAB/Extended.tsx" + ] + }, + "FAB/Menu": { + "filepath": "FAB/Menu.tsx", + "title": "Menu", + "description": "Floating action button menu. Wraps a trigger FAB; when `expanded` is true,\nitems appear stacked above and the trigger morphs into the spec'd close\nbutton (`shape: 'full'`, 56 dp, saturated role color).\n\nNo visual backdrop and no outside-tap dismiss — that matches the MD3 spec\nand lets the user keep interacting with the content underneath. Dismiss\nvia the close button or by tapping an item.\n\n## Usage\n```tsx\nconst [open, setOpen] = React.useState(false);\n\n\n setOpen(false)}\n trigger={{ icon: 'plus', variant: 'primary', onPress: () => setOpen(true) }}\n items={[\n { icon: 'email', label: 'Send', onPress: () => {} },\n { icon: 'bell', label: 'Remind', onPress: () => {} },\n ]}\n />\n\n```", + "link": "menu", + "data": { + "description": "Floating action button menu. Wraps a trigger FAB; when `expanded` is true,\nitems appear stacked above and the trigger morphs into the spec'd close\nbutton (`shape: 'full'`, 56 dp, saturated role color).\n\nNo visual backdrop and no outside-tap dismiss — that matches the MD3 spec\nand lets the user keep interacting with the content underneath. Dismiss\nvia the close button or by tapping an item.\n\n## Usage\n```tsx\nconst [open, setOpen] = React.useState(false);\n\n\n setOpen(false)}\n trigger={{ icon: 'plus', variant: 'primary', onPress: () => setOpen(true) }}\n items={[\n { icon: 'email', label: 'Send', onPress: () => {} },\n { icon: 'bell', label: 'Remind', onPress: () => {} },\n ]}\n />\n\n```", + "displayName": "Menu", + "methods": [], + "statics": [], + "props": { + "expanded": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "Whether the menu is open." + }, + "onDismiss": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Called when the user taps the close button or taps an item." + }, + "trigger": { + "required": true, + "tsType": { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Icon displayed in the trigger FAB (and cross-faded to `closeIcon` when\n * the menu is open).\n */\n icon: IconSource;\n variant?: Variant;\n size?: Size;\n containerColor?: ColorValue;\n contentColor?: ColorValue;\n visible?: boolean;\n onPress?: (e: GestureResponderEvent) => void;\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": true + } + }, + { + "key": "variant", + "value": { + "name": "Variant", + "required": false + } + }, + { + "key": "size", + "value": { + "name": "Size", + "required": false + } + }, + { + "key": "containerColor", + "value": { + "name": "ColorValue", + "required": false + } + }, + { + "key": "contentColor", + "value": { + "name": "ColorValue", + "required": false + } + }, + { + "key": "visible", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": false + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + "description": "Trigger FAB configuration. The menu renders a morphing FAB that\nanimates between the trigger appearance and the spec'd close button." + }, + "alignment": { + "required": false, + "tsType": { + "name": "union", + "raw": "'start' | 'center' | 'end'", + "elements": [ + { + "name": "literal", + "value": "'start'" + }, + { + "name": "literal", + "value": "'center'" + }, + { + "name": "literal", + "value": "'end'" + } + ] + }, + "description": "Horizontal side the menu sits on. Default `'end'`.", + "defaultValue": { + "value": "'end'", + "computed": false + } + }, + "closeIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon used by the close button when the menu is expanded. Default\n`'close'`.", + "defaultValue": { + "value": "'close'", + "computed": false + } + }, + "items": { + "required": true, + "tsType": { + "name": "union", + "raw": "| [T, T]\n| [T, T, T]\n| [T, T, T, T]\n| [T, T, T, T, T]\n| [T, T, T, T, T, T]", + "elements": [ + { + "name": "tuple", + "raw": "[T, T]", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + } + ] + }, + { + "name": "tuple", + "raw": "[T, T, T]", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + } + ] + }, + { + "name": "tuple", + "raw": "[T, T, T, T]", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + } + ] + }, + { + "name": "tuple", + "raw": "[T, T, T, T, T]", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + } + ] + }, + { + "name": "tuple", + "raw": "[T, T, T, T, T, T]", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + }, + { + "name": "signature", + "type": "object", + "raw": "{\n /**\n * Optional icon for the item.\n */\n icon?: IconSource;\n /**\n * Mandatory label.\n */\n label: string;\n /**\n * Called when the item is pressed. The menu is dismissed automatically\n * after `onPress` runs.\n */\n onPress: (e: GestureResponderEvent) => void;\n /**\n * Accessibility label. Falls back to `label`.\n */\n accessibilityLabel?: string;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": true + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": true + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + } + ] + } + ] + }, + "description": "Menu items. Spec calls for 2 to 6 items." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "", + "defaultValue": { + "value": "'floating-action-button-menu'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/FAB/Menu.tsx" + ] + }, + "IconButton/IconButton": { + "filepath": "IconButton/IconButton.tsx", + "title": "IconButton", + "description": "An icon button is a button which displays only an icon without a label.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { IconButton, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}\n />\n);\n\nexport default MyComponent;\n```\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "link": "icon-button", + "data": { + "description": "An icon button is a button which displays only an icon without a label.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { IconButton, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}\n />\n);\n\nexport default MyComponent;\n```\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "displayName": "IconButton", + "methods": [], + "statics": [], + "props": { + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display." + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'outlined' | 'contained' | 'contained-tonal'", + "elements": [ + { + "name": "literal", + "value": "'outlined'" + }, + { + "name": "literal", + "value": "'contained'" + }, + { + "name": "literal", + "value": "'contained-tonal'" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nMode of the icon button. By default there is no specified mode - only pressable icon will be rendered." + }, + "iconColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "@renamed Renamed from 'color' to 'iconColor' in v5.x\nColor of the icon." + }, + "containerColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Background color of the icon container." + }, + "selected": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether icon button is selected. A selected button receives alternative combination of icon and container colors.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Size of the icon.", + "defaultValue": { + "value": "24", + "computed": false + } + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the button is disabled. A disabled button is greyed out and `onPress` is not called on touch." + }, + "animated": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether an icon change is animated.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button." + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style of button's inner content.\nUse this prop to apply custom height and width or to set a custom padding`." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'icon-button'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "loading": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show a loading indicator.", + "defaultValue": { + "value": "false", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/IconButton/IconButton.tsx" + ] + }, + "Icon": { + "filepath": "Icon.tsx", + "title": "Icon", + "description": "An icon component which renders icon from vector library.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Icon, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "link": "icon", + "data": { + "description": "An icon component which renders icon from vector library.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Icon, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Icon", + "methods": [], + "statics": [], + "props": { + "size": { + "required": true, + "tsType": { + "name": "number" + }, + "description": "Size of icon." + }, + "allowFontScaling": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "" + }, + "source": { + "required": true, + "tsType": { + "name": "any" + }, + "description": "Icon to display." + }, + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Color of the icon." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Icon.tsx" + ] + }, + "List/ListAccordion": { + "filepath": "List/ListAccordion.tsx", + "title": "List.Accordion", + "description": "A component used to display an expandable list item.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [expanded, setExpanded] = React.useState(true);\n\n const handlePress = () => setExpanded(!expanded);\n\n return (\n \n }>\n \n \n \n\n }\n expanded={expanded}\n onPress={handlePress}>\n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "list-accordion", + "data": { + "description": "A component used to display an expandable list item.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [expanded, setExpanded] = React.useState(true);\n\n const handlePress = () => setExpanded(!expanded);\n\n return (\n \n }>\n \n \n \n\n }\n expanded={expanded}\n onPress={handlePress}>\n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "List.Accordion", + "methods": [], + "statics": [], + "props": { + "title": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Title text for the list accordion." + }, + "description": { + "required": false, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Description text for the list accordion." + }, + "left": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { color: ColorValue; style: Style }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ color: ColorValue; style: Style }", + "signature": { + "properties": [ + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + }, + { + "key": "style", + "value": { + "name": "Style", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the left side." + }, + "right": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { isExpanded: boolean }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ isExpanded: boolean }", + "signature": { + "properties": [ + { + "key": "isExpanded", + "value": { + "name": "boolean", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the right side." + }, + "expanded": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the accordion is expanded\nIf this prop is provided, the accordion will behave as a \"controlled component\".\nYou'll need to update this prop when you want to toggle the component or on `onPress`." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "delayLongPress": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of milliseconds a user must touch the element before executing `onLongPress`." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the section." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the root TouchableRipple container." + }, + "containerStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the outermost container that wraps the entire content, including left and right items and both title and description." + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the content container, which wraps the title and description." + }, + "titleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Title element." + }, + "descriptionStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Description element." + }, + "titleNumberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Truncate Title text such that the total number of lines does not\nexceed this number.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "descriptionNumberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Truncate Description text such that the total number of lines does not\nexceed this number.", + "defaultValue": { + "value": "2", + "computed": false + } + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach." + }, + "descriptionMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a description font can reach." + }, + "id": { + "required": false, + "tsType": { + "name": "union", + "raw": "string | number", + "elements": [ + { + "name": "string" + }, + { + "name": "number" + } + ] + }, + "description": "Id is used for distinguishing specific accordion when using List.AccordionGroup. Property is required when using List.AccordionGroup and has no impact on behavior when using standalone List.Accordion." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes" + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the TouchableRipple. This is read by the screen reader when the user taps the touchable." + }, + "pointerEvents": { + "required": false, + "tsType": { + "name": "ViewProps['pointerEvents']", + "raw": "ViewProps['pointerEvents']" + }, + "description": "`pointerEvents` passed to the `View` container", + "defaultValue": { + "value": "'none'", + "computed": false + } + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Amount of space between the touchable area and the edge of the component.\nThis can be used to enlarge the touchable area beyond the visible component." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/List/ListAccordion.tsx" + ], + "group": "List" + }, + "List/ListAccordionGroup": { + "filepath": "List/ListAccordionGroup.tsx", + "title": "List.AccordionGroup", + "description": "List.AccordionGroup allows to control a group of List Accordions. `id` prop for List.Accordion is required in order for group to work.\nList.AccordionGroup can be a controlled or uncontrolled component. The example shows the uncontrolled version.\nAt most one Accordion can be expanded at a given time.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View, Text } from 'react-native';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n \n \n \n \n \n \n List.Accordion can be wrapped because implementation uses React.Context.\n \n \n \n \n \n \n);\n\nexport default MyComponent;\n```", + "link": "list-accordion-group", + "data": { + "description": "List.AccordionGroup allows to control a group of List Accordions. `id` prop for List.Accordion is required in order for group to work.\nList.AccordionGroup can be a controlled or uncontrolled component. The example shows the uncontrolled version.\nAt most one Accordion can be expanded at a given time.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View, Text } from 'react-native';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n \n \n \n \n \n \n \n \n List.Accordion can be wrapped because implementation uses React.Context.\n \n \n \n \n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "List.AccordionGroup", + "methods": [], + "statics": [], + "props": { + "onAccordionPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(expandedId: string | number) => void", + "signature": { + "arguments": [ + { + "name": "expandedId", + "type": { + "name": "union", + "raw": "string | number", + "elements": [ + { + "name": "string" + }, + { + "name": "number" + } + ] + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on selection change." + }, + "expandedId": { + "required": false, + "tsType": { + "name": "union", + "raw": "string | number", + "elements": [ + { + "name": "string" + }, + { + "name": "number" + } + ] + }, + "description": "Id of the currently expanded list accordion" + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "React elements containing list accordions" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/List/ListAccordionGroup.tsx" + ], + "group": "List" + }, + "List/ListIcon": { + "filepath": "List/ListIcon.tsx", + "title": "List.Icon", + "description": "A component to show an icon in a list item.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n <>\n \n \n \n \n);\n\nexport default MyComponent;\n```", + "link": "list-icon", + "data": { + "description": "A component to show an icon in a list item.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n <>\n \n \n \n \n);\n\nexport default MyComponent;\n```", + "displayName": "List.Icon", + "methods": [], + "statics": [], + "props": { + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to show." + }, + "color": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Color for the icon." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/List/ListIcon.tsx" + ], + "group": "List" + }, + "List/ListItem": { + "filepath": "List/ListItem.tsx", + "title": "List.Item", + "description": "A component to show tiles inside a List.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => (\n }\n />\n);\n\nexport default MyComponent;\n```\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "link": "list-item", + "data": { + "description": "A component to show tiles inside a List.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => (\n }\n />\n);\n\nexport default MyComponent;\n```\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "displayName": "List.Item", + "methods": [], + "statics": [], + "props": { + "title": { + "required": true, + "tsType": { + "name": "union", + "raw": "| React.ReactNode\n| ((props: {\n selectable: boolean;\n ellipsizeMode: EllipsizeProp | undefined;\n color: ColorValue;\n fontSize: number;\n }) => React.ReactNode)", + "elements": [ + { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + { + "name": "unknown" + } + ] + }, + "description": "Title text for the list item." + }, + "description": { + "required": false, + "tsType": { + "name": "union", + "raw": "| React.ReactNode\n| ((props: {\n selectable: boolean;\n ellipsizeMode: EllipsizeProp | undefined;\n color: ColorValue;\n fontSize: number;\n }) => React.ReactNode)", + "elements": [ + { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + { + "name": "unknown" + } + ] + }, + "description": "Description text for the list item or callback which returns a React element to display the description." + }, + "left": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { color: ColorValue; style: Style }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ color: ColorValue; style: Style }", + "signature": { + "properties": [ + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + }, + { + "key": "style", + "value": { + "name": "Style", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the left side." + }, + "right": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: { color: ColorValue; style?: Style }) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{ color: ColorValue; style?: Style }", + "signature": { + "properties": [ + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + }, + { + "key": "style", + "value": { + "name": "Style", + "required": false + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback which returns a React element to display on the right side." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the root TouchableRipple container." + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "containerStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the outermost container that wraps the entire content, including left and right items and both title and description." + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the content container, which wraps the title and description." + }, + "titleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Title element." + }, + "descriptionStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Description element." + }, + "titleNumberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Truncate Title text such that the total number of lines does not\nexceed this number.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "descriptionNumberOfLines": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Truncate Description text such that the total number of lines does not\nexceed this number.", + "defaultValue": { + "value": "2", + "computed": false + } + }, + "titleEllipsizeMode": { + "required": false, + "tsType": { + "name": "EllipsizeProp" + }, + "description": "Ellipsize Mode for the Title. One of `'head'`, `'middle'`, `'tail'`, `'clip'`.\n\nSee [`ellipsizeMode`](https://reactnative.dev/docs/text#ellipsizemode)" + }, + "descriptionEllipsizeMode": { + "required": false, + "tsType": { + "name": "EllipsizeProp" + }, + "description": "Ellipsize Mode for the Description. One of `'head'`, `'middle'`, `'tail'`, `'clip'`.\n\nSee [`ellipsizeMode`](https://reactnative.dev/docs/text#ellipsizemode)" + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach." + }, + "descriptionMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a description font can reach." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/List/ListItem.tsx" + ], + "group": "List" + }, + "List/ListSection": { + "filepath": "List/ListSection.tsx", + "title": "List.Section", + "description": "A component used to group list items.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n Some title\n } />\n }\n />\n \n);\n\nexport default MyComponent;\n```", + "link": "list-section", + "data": { + "description": "A component used to group list items.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n Some title\n } />\n }\n />\n \n);\n\nexport default MyComponent;\n```", + "displayName": "List.Section", + "methods": [], + "statics": [], + "props": { + "title": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Title text for the section." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the section." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "titleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Title element." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/List/ListSection.tsx" + ], + "group": "List" + }, + "List/ListSubheader": { + "filepath": "List/ListSubheader.tsx", + "title": "List.Subheader", + "description": "A component used to display a header in lists.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => My List Title;\n\nexport default MyComponent;\n```", + "link": "list-subheader", + "data": { + "description": "A component used to display a header in lists.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { List } from 'react-native-paper';\n\nconst MyComponent = () => My List Title;\n\nexport default MyComponent;\n```", + "displayName": "List.Subheader", + "methods": [], + "statics": [], + "props": { + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Text element." + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/List/ListSubheader.tsx" + ], + "group": "List" + }, + "Menu/Menu": { + "filepath": "Menu/Menu.tsx", + "title": "Menu", + "description": "Menus display a list of choices on temporary elevated surfaces. Their placement varies based on the element that opens them.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Button, Menu, Divider, PaperProvider } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const openMenu = () => setVisible(true);\n\n const closeMenu = () => setVisible(false);\n\n return (\n \n \n Show menu}>\n {}} title=\"Item 1\" />\n {}} title=\"Item 2\" />\n \n {}} title=\"Item 3\" />\n
    \n \n \n );\n};\n\nexport default MyComponent;\n```\n\n### Note\nWhen using `Menu` within a React Native's `Modal` component, you need to wrap all\n`Modal` contents within a `PaperProvider` in order for the menu to show. This\nwrapping is not necessary if you use Paper's `Modal` instead.", + "link": "menu", + "data": { + "description": "Menus display a list of choices on temporary elevated surfaces. Their placement varies based on the element that opens them.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Button, Menu, Divider, PaperProvider } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const openMenu = () => setVisible(true);\n\n const closeMenu = () => setVisible(false);\n\n return (\n \n \n Show menu}>\n {}} title=\"Item 1\" />\n {}} title=\"Item 2\" />\n \n {}} title=\"Item 3\" />\n
\n \n \n );\n};\n\nexport default MyComponent;\n```\n\n### Note\nWhen using `Menu` within a React Native's `Modal` component, you need to wrap all\n`Modal` contents within a `PaperProvider` in order for the menu to show. This\nwrapping is not necessary if you use Paper's `Modal` instead.", + "displayName": "Menu", + "methods": [], + "statics": [], + "props": { + "visible": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "Whether the Menu is currently visible." + }, + "anchor": { + "required": true, + "tsType": { + "name": "union", + "raw": "React.ReactNode | { x: number; y: number }", + "elements": [ + { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + { + "name": "signature", + "type": "object", + "raw": "{ x: number; y: number }", + "signature": { + "properties": [ + { + "key": "x", + "value": { + "name": "number", + "required": true + } + }, + { + "key": "y", + "value": { + "name": "number", + "required": true + } + } + ] + } + } + ] + }, + "description": "The anchor to open the menu from. In most cases, it will be a button that opens the menu." + }, + "anchorPosition": { + "required": false, + "tsType": { + "name": "union", + "raw": "'top' | 'bottom'", + "elements": [ + { + "name": "literal", + "value": "'top'" + }, + { + "name": "literal", + "value": "'bottom'" + } + ] + }, + "description": "Whether the menu should open at the top of the anchor or at its bottom.\nApplied only when anchor is a node, not an x/y position." + }, + "statusBarHeight": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Extra margin to add at the top of the menu to account for translucent status bar on Android.\nIf you are using Expo, we assume translucent status bar and set a height for status bar automatically.\nPass `0` or a custom value to and customize it.\nThis is automatically handled on iOS." + }, + "onDismiss": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Callback called when Menu is dismissed. The `visible` prop needs to be updated when this is called." + }, + "overlayAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the overlay. This is read by the screen reader when the user taps outside the menu.", + "defaultValue": { + "value": "'Close menu'", + "computed": false + } + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Menu`." + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "Style of menu's inner content." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "elevation": { + "required": false, + "tsType": { + "name": "Elevation" + }, + "description": "Elevation level of the menu's content. Shadow styles are calculated based on this value. Default `backgroundColor` is taken from the corresponding `theme.colors.elevation` property. By default equals `2`.\n@supported Available in v5.x with theme version 3", + "defaultValue": { + "value": "2", + "computed": false + } + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'flat' | 'elevated'", + "elements": [ + { + "name": "literal", + "value": "'flat'" + }, + { + "name": "literal", + "value": "'elevated'" + } + ] + }, + "description": "Mode of the menu's content.\n- `elevated` - Surface with a shadow and background color corresponding to set `elevation` value.\n- `flat` - Surface without a shadow, with the background color corresponding to set `elevation` value.\n\n@supported Available in v5.x with theme version 3", + "defaultValue": { + "value": "'elevated'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "keyboardShouldPersistTaps": { + "required": false, + "tsType": { + "name": "ScrollViewProps['keyboardShouldPersistTaps']", + "raw": "ScrollViewProps['keyboardShouldPersistTaps']" + }, + "description": "Inner ScrollView prop" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests.", + "defaultValue": { + "value": "'menu'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Menu/Menu.tsx" + ] + }, + "Menu/MenuItem": { + "filepath": "Menu/MenuItem.tsx", + "title": "Menu.Item", + "description": "A component to show a single list item inside a Menu.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Menu } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} title=\"Redo\" />\n {}} title=\"Undo\" />\n {}} title=\"Cut\" disabled />\n {}} title=\"Copy\" disabled />\n {}} title=\"Paste\" />\n \n);\n\nexport default MyComponent;\n```", + "link": "menu-item", + "data": { + "description": "A component to show a single list item inside a Menu.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Menu } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} title=\"Redo\" />\n {}} title=\"Undo\" />\n {}} title=\"Cut\" disabled />\n {}} title=\"Copy\" disabled />\n {}} title=\"Paste\" />\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Menu.Item", + "methods": [], + "statics": [], + "props": { + "title": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Title text for the `MenuItem`." + }, + "leadingIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "@renamed Renamed from 'icon' to 'leadingIcon' in v5.x\n\nLeading icon to display for the `MenuItem`." + }, + "trailingIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "@supported Available in v5.x with theme version 3\n\nTrailing icon to display for the `MenuItem`." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the 'item' is disabled. A disabled 'item' is greyed out and `onPress` is not called on touch." + }, + "dense": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\n\nSets min height with densed layout." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach.", + "defaultValue": { + "value": "1.5", + "computed": false + } + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the root TouchableRipple container.\n" + }, + "containerStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the outermost container that wraps the entire content, including leading and trailing icons and title text." + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the content container, which wraps the title text." + }, + "titleStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to the Title element." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Sets additional distance outside of element in which a press can be detected." + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'menu-item'", + "computed": false + } + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the Touchable. This is read by the screen reader when the user taps the component." + }, + "accessibilityState": { + "required": false, + "tsType": { + "name": "AccessibilityState" + }, + "description": "Accessibility state for the Touchable. This is read by the screen reader when the user taps the component." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Menu/MenuItem.tsx" + ], + "group": "Menu" + }, + "Modal": { + "filepath": "Modal.tsx", + "title": "Modal", + "description": "The Modal component is a simple way to present content above an enclosing view.\nTo render the `Modal` above other components, you'll need to wrap it with the [`Portal`](./Portal) component.\nNote that this modal is NOT accessible by default; if you need an accessible modal, please use the React Native Modal.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Modal, Portal, Text, Button, PaperProvider } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const showModal = () => setVisible(true);\n const hideModal = () => setVisible(false);\n const containerStyle = { backgroundColor: 'white', padding: 20 };\n\n return (\n \n \n \n Example Modal. Click outside this area to dismiss.\n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "modal", + "data": { + "description": "The Modal component is a simple way to present content above an enclosing view.\nTo render the `Modal` above other components, you'll need to wrap it with the [`Portal`](./Portal) component.\nNote that this modal is NOT accessible by default; if you need an accessible modal, please use the React Native Modal.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Modal, Portal, Text, Button, PaperProvider } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const showModal = () => setVisible(true);\n const hideModal = () => setVisible(false);\n const containerStyle = { backgroundColor: 'white', padding: 20 };\n\n return (\n \n \n \n Example Modal. Click outside this area to dismiss.\n \n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "Modal", + "methods": [], + "statics": [], + "props": { + "dismissable": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Determines whether clicking outside the modal dismisses it.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "dismissableBackButton": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Determines whether clicking Android hardware back button dismisses the dialog.", + "defaultValue": { + "value": "dismissable", + "computed": true + } + }, + "onDismiss": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Callback that is called when the user dismisses the modal.", + "defaultValue": { + "value": "() => {}", + "computed": false + } + }, + "overlayAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the overlay. This is read by the screen reader when the user taps outside the modal.", + "defaultValue": { + "value": "'Close modal'", + "computed": false + } + }, + "visible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Determines Whether the modal is visible.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Modal`." + }, + "contentContainerStyle": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "Style for the content of the modal" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the wrapper of the modal.\nUse this prop to change the default wrapper style or to override safe area insets with marginTop and marginBottom." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests.", + "defaultValue": { + "value": "'modal'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Modal.tsx" + ] + }, + "Portal/Portal": { + "filepath": "Portal/Portal.tsx", + "title": "Portal", + "description": "Portal allows rendering a component at a different place in the parent tree.\nYou can use it to render content which should appear above other elements, similar to `Modal`.\nIt requires a [`Portal.Host`](PortalHost) component to be rendered somewhere in the parent tree.\nNote that if you're using the `Provider` component, this already includes a `Portal.Host`.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n This is rendered at a different place\n \n);\n\nexport default MyComponent;\n```", + "link": "portal", + "data": { + "description": "Portal allows rendering a component at a different place in the parent tree.\nYou can use it to render content which should appear above other elements, similar to `Modal`.\nIt requires a [`Portal.Host`](PortalHost) component to be rendered somewhere in the parent tree.\nNote that if you're using the `Provider` component, this already includes a `Portal.Host`.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Portal, Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n This is rendered at a different place\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Portal", + "methods": [], + "statics": [ + { + "name": "Host", + "docblock": null, + "type": { + "name": "static", + "raw": "static" + }, + "link": "portal-host.html" + } + ], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Portal`." + }, + "theme": { + "required": true, + "tsType": { + "name": "InternalTheme" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Portal/Portal.tsx" + ] + }, + "Portal/PortalHost": { + "filepath": "Portal/PortalHost.tsx", + "title": "Portal.Host", + "description": "Portal host renders all of its children `Portal` elements.\nFor example, you can wrap a screen in `Portal.Host` to render items above the screen.\nIf you're using the `Provider` component, it already includes `Portal.Host`.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Text } from 'react-native';\nimport { Portal } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n Content of the app\n \n);\n\nexport default MyComponent;\n```\n\nHere any `Portal` elements under `` are rendered alongside `` and will appear above `` like a `Modal`.", + "link": "portal-host", + "data": { + "description": "Portal host renders all of its children `Portal` elements.\nFor example, you can wrap a screen in `Portal.Host` to render items above the screen.\nIf you're using the `Provider` component, it already includes `Portal.Host`.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Text } from 'react-native';\nimport { Portal } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n Content of the app\n \n);\n\nexport default MyComponent;\n```\n\nHere any `Portal` elements under `` are rendered alongside `` and will appear above `` like a `Modal`.", + "displayName": "Portal.Host", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Portal/PortalHost.tsx" + ], + "group": "Portal" + }, + "ProgressBar": { + "filepath": "ProgressBar.tsx", + "title": "ProgressBar", + "description": "Progress bar is an indicator used to present progress of some activity in the app.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ProgressBar, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "link": "progress-bar", + "data": { + "description": "Progress bar is an indicator used to present progress of some activity in the app.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ProgressBar, Palette } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n);\n\nexport default MyComponent;\n```", + "displayName": "ProgressBar", + "methods": [], + "statics": [], + "props": { + "animatedValue": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Animated value (between 0 and 1). This tells the progress bar to rely on this value to animate it.\nNote: It should not be used in parallel with the `progress` prop." + }, + "progress": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Progress value (between 0 and 1).\nNote: It should not be used in parallel with the `animatedValue` prop.", + "defaultValue": { + "value": "0", + "computed": false + } + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Color of the progress bar. The background color will be calculated based on this but you can change it by passing `backgroundColor` to `style` prop." + }, + "indeterminate": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "If the progress bar will show indeterminate progress." + }, + "visible": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to show the ProgressBar (true, the default) or hide it (false).", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "fillStyle": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "Style of filled part of the ProgresBar." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests.", + "defaultValue": { + "value": "'progress-bar'", + "computed": false + } + } + } + }, + "type": "component", + "dependencies": [ + "src/components/ProgressBar.tsx" + ] + }, + "RadioButton/RadioButton": { + "filepath": "RadioButton/RadioButton.tsx", + "title": "RadioButton", + "description": "Radio buttons allow the selection a single option from a set.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { RadioButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [checked, setChecked] = React.useState('first');\n\n return (\n \n setChecked('first')}\n />\n setChecked('second')}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "link": "radio-button", + "data": { + "description": "Radio buttons allow the selection a single option from a set.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { RadioButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [checked, setChecked] = React.useState('first');\n\n return (\n \n setChecked('first')}\n />\n setChecked('second')}\n />\n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "RadioButton", + "methods": [], + "statics": [], + "props": { + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Value of the radio button" + }, + "status": { + "required": false, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + } + ] + }, + "description": "Status of radio button." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether radio is disabled." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "uncheckedColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for unchecked radio." + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for radio." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/RadioButton/RadioButton.tsx" + ] + }, + "RadioButton/RadioButtonAndroid": { + "filepath": "RadioButton/RadioButtonAndroid.tsx", + "title": "RadioButton.Android", + "description": "Radio buttons allow the selection a single option from a set.\nThis component follows platform guidelines for Android, but can be used\non any platform.\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "link": "radio-button-android", + "data": { + "description": "Radio buttons allow the selection a single option from a set.\nThis component follows platform guidelines for Android, but can be used\non any platform.\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "displayName": "RadioButton.Android", + "methods": [], + "statics": [], + "props": { + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Value of the radio button" + }, + "status": { + "required": false, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + } + ] + }, + "description": "Status of radio button." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether radio is disabled." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(param?: any) => void", + "signature": { + "arguments": [ + { + "name": "param", + "type": { + "name": "any" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "uncheckedColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for unchecked radio." + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for radio." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/RadioButton/RadioButtonAndroid.tsx" + ], + "group": "RadioButton" + }, + "RadioButton/RadioButtonGroup": { + "filepath": "RadioButton/RadioButtonGroup.tsx", + "title": "RadioButton.Group", + "description": "Radio button group allows to control a group of radio buttons.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { RadioButton, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('first');\n\n return (\n setValue(newValue)} value={value}>\n \n First\n \n \n \n Second\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "radio-button-group", + "data": { + "description": "Radio button group allows to control a group of radio buttons.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { RadioButton, Text } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('first');\n\n return (\n setValue(newValue)} value={value}>\n \n First\n \n \n \n Second\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "RadioButton.Group", + "methods": [], + "statics": [], + "props": { + "onValueChange": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(value: string) => void", + "signature": { + "arguments": [ + { + "name": "value", + "type": { + "name": "string" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on selection change." + }, + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Value of the currently selected radio button." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "React elements containing radio buttons." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/RadioButton/RadioButtonGroup.tsx" + ], + "group": "RadioButton" + }, + "RadioButton/RadioButtonIOS": { + "filepath": "RadioButton/RadioButtonIOS.tsx", + "title": "RadioButton.IOS", + "description": "Radio buttons allow the selection a single option from a set.\nThis component follows platform guidelines for iOS, but can be used\non any platform.\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "link": "radio-button-ios", + "data": { + "description": "Radio buttons allow the selection a single option from a set.\nThis component follows platform guidelines for iOS, but can be used\non any platform.\n\n@extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple", + "displayName": "RadioButton.IOS", + "methods": [], + "statics": [], + "props": { + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Value of the radio button" + }, + "status": { + "required": false, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + } + ] + }, + "description": "Status of radio button." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether radio is disabled." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for radio." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/RadioButton/RadioButtonIOS.tsx" + ], + "group": "RadioButton" + }, + "RadioButton/RadioButtonItem": { + "filepath": "RadioButton/RadioButtonItem.tsx", + "title": "RadioButton.Item", + "description": "RadioButton.Item allows you to press the whole row (item) instead of only the RadioButton.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { RadioButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('first');\n\n return (\n setValue(value)} value={value}>\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "radio-button-item", + "data": { + "description": "RadioButton.Item allows you to press the whole row (item) instead of only the RadioButton.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { RadioButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('first');\n\n return (\n setValue(value)} value={value}>\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "RadioButton.Item", + "methods": [], + "statics": [], + "props": { + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Value of the radio button." + }, + "label": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Label to be displayed on the item." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether radio is disabled." + }, + "background": { + "required": false, + "tsType": { + "name": "PressableAndroidRippleConfig" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the touchable. This is read by the screen reader when the user taps the touchable.", + "defaultValue": { + "value": "label", + "computed": true + } + }, + "uncheckedColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for unchecked radio." + }, + "color": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom color for radio." + }, + "status": { + "required": false, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + } + ] + }, + "description": "Status of radio button." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Additional styles for container View." + }, + "labelStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style that is passed to Label element." + }, + "labelVariant": { + "required": false, + "tsType": { + "name": "TypescaleKey" + }, + "description": "@supported Available in v5.x with theme version 3\n\nLabel text variant defines appropriate text styles for type role and its size.\nAvailable variants:\n\n Display: `displayLarge`, `displayMedium`, `displaySmall`\n\n Headline: `headlineLarge`, `headlineMedium`, `headlineSmall`\n\n Title: `titleLarge`, `titleMedium`, `titleSmall`\n\n Label: `labelLarge`, `labelMedium`, `labelSmall`\n\n Body: `bodyLarge`, `bodyMedium`, `bodySmall`", + "defaultValue": { + "value": "'bodyLarge'", + "computed": false + } + }, + "labelMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a label font can reach." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'android' | 'ios'", + "elements": [ + { + "name": "literal", + "value": "'android'" + }, + { + "name": "literal", + "value": "'ios'" + } + ] + }, + "description": "Whether `` or `` should be used.\nLeft undefined `` will be used." + }, + "position": { + "required": false, + "tsType": { + "name": "union", + "raw": "'leading' | 'trailing'", + "elements": [ + { + "name": "literal", + "value": "'leading'" + }, + { + "name": "literal", + "value": "'trailing'" + } + ] + }, + "description": "Radio button control position.", + "defaultValue": { + "value": "'trailing'", + "computed": false + } + }, + "hitSlop": { + "required": false, + "tsType": { + "name": "TouchableRippleProps['hitSlop']", + "raw": "TouchableRippleProps['hitSlop']" + }, + "description": "Sets additional distance outside of element in which a press can be detected." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/RadioButton/RadioButtonItem.tsx" + ], + "group": "RadioButton" + }, + "Searchbar": { + "filepath": "Searchbar.tsx", + "title": "Searchbar", + "description": "Searchbar is a simple input box where users can type search queries.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Searchbar } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [searchQuery, setSearchQuery] = React.useState('');\n\n return (\n \n );\n};\n\nexport default MyComponent;\n\n```", + "link": "searchbar", + "data": { + "description": "Searchbar is a simple input box where users can type search queries.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Searchbar } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [searchQuery, setSearchQuery] = React.useState('');\n\n return (\n \n );\n};\n\nexport default MyComponent;\n\n```", + "displayName": "Searchbar", + "methods": [], + "statics": [], + "props": { + "placeholder": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Hint text shown when the input is empty." + }, + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "The value of the text input." + }, + "onChangeText": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(query: string) => void", + "signature": { + "arguments": [ + { + "name": "query", + "type": { + "name": "string" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Callback that is called when the text input's text changes." + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'bar' | 'view'", + "elements": [ + { + "name": "literal", + "value": "'bar'" + }, + { + "name": "literal", + "value": "'view'" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nSearch layout mode, the default value is \"bar\".", + "defaultValue": { + "value": "'bar'", + "computed": false + } + }, + "icon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon name for the left icon button (see `onIconPress`)." + }, + "iconColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Custom color for icon, default will be derived from theme" + }, + "onIconPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Callback to execute if we want the left icon to act as button." + }, + "onClearIconPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Callback to execute if we want to add custom behaviour to close icon button." + }, + "searchAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button.", + "defaultValue": { + "value": "'search'", + "computed": false + } + }, + "clearIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Custom icon for clear button, default will be icon close. It's visible when `loading` is set to `false`.\nIn v5.x with theme version 3, `clearIcon` is visible only if `right` prop is not defined." + }, + "clearAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the button. This is read by the screen reader when the user taps the button.", + "defaultValue": { + "value": "'clear'", + "computed": false + } + }, + "traileringIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "@supported Available in v5.x with theme version 3\nIcon name for the right trailering icon button.\nWorks only when `mode` is set to \"bar\". It won't be displayed if `loading` is set to `true`." + }, + "traileringIconColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "@supported Available in v5.x with theme version 3\nCustom color for the right trailering icon, default will be derived from theme" + }, + "onTraileringIconPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Callback to execute on the right trailering icon button press." + }, + "traileringIconAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the right trailering icon button. This is read by the screen reader when the user taps the button." + }, + "right": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: {\n color: ColorValue;\n style: Style;\n testID: string;\n}) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "signature", + "type": "object", + "raw": "{\n color: ColorValue;\n style: Style;\n testID: string;\n}", + "signature": { + "properties": [ + { + "key": "color", + "value": { + "name": "ColorValue", + "required": true + } + }, + { + "key": "style", + "value": { + "name": "Style", + "required": true + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": true + } + } + ] + } + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "@supported Available in v5.x with theme version 3\nCallback which returns a React element to display on the right side.\nWorks only when `mode` is set to \"bar\"." + }, + "showDivider": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@supported Available in v5.x with theme version 3\nWhether to show `Divider` at the bottom of the search.\nWorks only when `mode` is set to \"view\". True by default.", + "defaultValue": { + "value": "true", + "computed": false + } + }, + "elevation": { + "required": false, + "tsType": { + "name": "union", + "raw": "0 | 1 | 2 | 3 | 4 | 5 | Animated.Value", + "elements": [ + { + "name": "literal", + "value": "0" + }, + { + "name": "literal", + "value": "1" + }, + { + "name": "literal", + "value": "2" + }, + { + "name": "literal", + "value": "3" + }, + { + "name": "literal", + "value": "4" + }, + { + "name": "literal", + "value": "5" + }, + { + "name": "Animated.Value" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nChanges Searchbar shadow and background on iOS and Android.", + "defaultValue": { + "value": "0", + "computed": false + } + }, + "inputStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Set style of the TextInput component inside the searchbar" + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "loading": { + "required": false, + "tsType": { + "name": "Boolean" + }, + "description": "Custom flag for replacing clear button with activity indicator.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'search-bar'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "Pick", + "elements": [ + { + "name": "TextInput" + }, + { + "name": "union", + "raw": "'setNativeProps' | 'isFocused' | 'clear' | 'blur' | 'focus' | 'setSelection'", + "elements": [ + { + "name": "literal", + "value": "'setNativeProps'" + }, + { + "name": "literal", + "value": "'isFocused'" + }, + { + "name": "literal", + "value": "'clear'" + }, + { + "name": "literal", + "value": "'blur'" + }, + { + "name": "literal", + "value": "'focus'" + }, + { + "name": "literal", + "value": "'setSelection'" + } + ] + } + ], + "raw": "Pick<\n TextInput,\n 'setNativeProps' | 'isFocused' | 'clear' | 'blur' | 'focus' | 'setSelection'\n>" + } + ] + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Searchbar.tsx" + ] + }, + "SegmentedButtons/SegmentedButtons": { + "filepath": "SegmentedButtons/SegmentedButtons.tsx", + "title": "SegmentedButtons", + "description": "Segmented buttons can be used to select options, switch views or sort elements.
\n\n## Usage\n```js\nimport * as React from 'react';\nimport { SafeAreaView, StyleSheet } from 'react-native';\nimport { SegmentedButtons } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('');\n\n return (\n \n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n },\n});\n\nexport default MyComponent;\n```", + "link": "segmented-buttons", + "data": { + "description": "Segmented buttons can be used to select options, switch views or sort elements.
\n\n## Usage\n```js\nimport * as React from 'react';\nimport { SafeAreaView, StyleSheet } from 'react-native';\nimport { SegmentedButtons } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('');\n\n return (\n \n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: 'center',\n },\n});\n\nexport default MyComponent;\n```", + "displayName": "SegmentedButtons", + "methods": [], + "statics": [], + "props": { + "buttons": { + "required": true, + "tsType": { + "name": "Array", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n value: T;\n icon?: IconSource;\n disabled?: boolean;\n accessibilityLabel?: string;\n checkedColor?: string;\n uncheckedColor?: string;\n onPress?: (event: GestureResponderEvent) => void;\n label?: string;\n showSelectedCheck?: boolean;\n style?: StyleProp;\n labelStyle?: StyleProp;\n testID?: string;\n}", + "signature": { + "properties": [ + { + "key": "value", + "value": { + "name": "T", + "required": true + } + }, + { + "key": "icon", + "value": { + "name": "IconSource", + "required": false + } + }, + { + "key": "disabled", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "accessibilityLabel", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "checkedColor", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "uncheckedColor", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "onPress", + "value": { + "name": "signature", + "type": "function", + "raw": "(event: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "event", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + }, + "required": false + } + }, + { + "key": "label", + "value": { + "name": "string", + "required": false + } + }, + { + "key": "showSelectedCheck", + "value": { + "name": "boolean", + "required": false + } + }, + { + "key": "style", + "value": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp", + "required": false + } + }, + { + "key": "labelStyle", + "value": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp", + "required": false + } + }, + { + "key": "testID", + "value": { + "name": "string", + "required": false + } + } + ] + } + } + ], + "raw": "{\n value: T;\n icon?: IconSource;\n disabled?: boolean;\n accessibilityLabel?: string;\n checkedColor?: string;\n uncheckedColor?: string;\n onPress?: (event: GestureResponderEvent) => void;\n label?: string;\n showSelectedCheck?: boolean;\n style?: StyleProp;\n labelStyle?: StyleProp;\n testID?: string;\n}[]" + }, + "description": "Buttons to display as options in toggle button.\nButton should contain the following properties:\n- `value`: value of button (required)\n- `icon`: icon to display for the item\n- `disabled`: whether the button is disabled\n- `accessibilityLabel`: acccessibility label for the button. This is read by the screen reader when the user taps the button.\n- `checkedColor`: custom color for checked Text and Icon\n- `uncheckedColor`: custom color for unchecked Text and Icon\n- `onPress`: callback that is called when button is pressed\n- `label`: label text of the button\n- `showSelectedCheck`: show optional check icon to indicate selected state\n- `style`: pass additional styles for the button\n- `testID`: testID to be used on tests" + }, + "density": { + "required": false, + "tsType": { + "name": "union", + "raw": "'regular' | 'small' | 'medium' | 'high'", + "elements": [ + { + "name": "literal", + "value": "'regular'" + }, + { + "name": "literal", + "value": "'small'" + }, + { + "name": "literal", + "value": "'medium'" + }, + { + "name": "literal", + "value": "'high'" + } + ] + }, + "description": "Density is applied to the height, to allow usage in denser UIs" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/SegmentedButtons/SegmentedButtons.tsx" + ] + }, + "Snackbar": { + "filepath": "Snackbar.tsx", + "title": "Snackbar", + "description": "Snackbars provide brief feedback about an operation through a message rendered at the bottom of the container in which it's wrapped.\n\nNote: To display it as a popup, regardless of the parent's position, wrap it with a `Portal` component – refer to the example in the \"More Examples` section.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { Button, Snackbar } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const onToggleSnackBar = () => setVisible(!visible);\n\n const onDismissSnackBar = () => setVisible(false);\n\n return (\n \n \n {\n // Do something\n },\n }}>\n Hey there! I'm a Snackbar.\n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'space-between',\n },\n});\n\nexport default MyComponent;\n```", + "link": "snackbar", + "data": { + "description": "Snackbars provide brief feedback about an operation through a message rendered at the bottom of the container in which it's wrapped.\n\nNote: To display it as a popup, regardless of the parent's position, wrap it with a `Portal` component – refer to the example in the \"More Examples` section.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View, StyleSheet } from 'react-native';\nimport { Button, Snackbar } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [visible, setVisible] = React.useState(false);\n\n const onToggleSnackBar = () => setVisible(!visible);\n\n const onDismissSnackBar = () => setVisible(false);\n\n return (\n \n \n {\n // Do something\n },\n }}>\n Hey there! I'm a Snackbar.\n \n \n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'space-between',\n },\n});\n\nexport default MyComponent;\n```", + "displayName": "Snackbar", + "methods": [], + "statics": [], + "props": { + "visible": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "Whether the Snackbar is currently visible." + }, + "action": { + "required": false, + "tsType": { + "name": "intersection", + "raw": "$RemoveChildren & {\n label: string;\n}", + "elements": [ + { + "name": "$RemoveChildren", + "elements": [ + { + "name": "Button" + } + ], + "raw": "$RemoveChildren" + }, + { + "name": "signature", + "type": "object", + "raw": "{\n label: string;\n}", + "signature": { + "properties": [ + { + "key": "label", + "value": { + "name": "string", + "required": true + } + } + ] + } + } + ] + }, + "description": "Label and press callback for the action button. It should contain the following properties:\n- `label` - Label of the action button\n- `onPress` - Callback that is called when action button is pressed." + }, + "icon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "@supported Available in v5.x with theme version 3\nIcon to display when `onIconPress` is defined. Default will be `close` icon." + }, + "onIconPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on icon button press. The icon button appears only when this prop is specified." + }, + "iconAccessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "@supported Available in v5.x with theme version 3\nAccessibility label for the icon button. This is read by the screen reader when the user taps the button.", + "defaultValue": { + "value": "'Close icon'", + "computed": false + } + }, + "duration": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The duration for which the Snackbar is shown.", + "defaultValue": { + "value": "7000", + "computed": false + } + }, + "onDismiss": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "() => void", + "signature": { + "arguments": [], + "return": { + "name": "void" + } + } + }, + "description": "Callback called when Snackbar is dismissed. The `visible` prop needs to be updated when this is called." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Text content of the Snackbar." + }, + "elevation": { + "required": false, + "tsType": { + "name": "union", + "raw": "0 | 1 | 2 | 3 | 4 | 5 | Animated.Value", + "elements": [ + { + "name": "literal", + "value": "0" + }, + { + "name": "literal", + "value": "1" + }, + { + "name": "literal", + "value": "2" + }, + { + "name": "literal", + "value": "3" + }, + { + "name": "literal", + "value": "4" + }, + { + "name": "literal", + "value": "5" + }, + { + "name": "Animated.Value" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nChanges Snackbar shadow and background on iOS and Android.", + "defaultValue": { + "value": "2", + "computed": false + } + }, + "maxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a text font can reach." + }, + "wrapperStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the wrapper of the snackbar" + }, + "contentStyle": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "Style for the content of the snackbar" + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRefObject", + "raw": "React.RefObject", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Snackbar.tsx" + ] + }, + "Surface": { + "filepath": "Surface.tsx", + "title": "Surface", + "description": "Surface is a basic container that can give depth to an element with elevation shadow.\nOn dark theme with `adaptive` mode, surface is constructed by also placing a semi-transparent white overlay over a component surface.\nSee [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more information.\nOverlay and shadow can be applied by specifying the `elevation` property both on Android and iOS.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Surface, Text } from 'react-native-paper';\nimport { StyleSheet } from 'react-native';\n\nconst MyComponent = () => (\n \n Surface\n \n);\n\nexport default MyComponent;\n\nconst styles = StyleSheet.create({\n surface: {\n padding: 8,\n height: 80,\n width: 80,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n```", + "link": "surface", + "data": { + "description": "Surface is a basic container that can give depth to an element with elevation shadow.\nOn dark theme with `adaptive` mode, surface is constructed by also placing a semi-transparent white overlay over a component surface.\nSee [Dark Theme](https://callstack.github.io/react-native-paper/docs/guides/theming#dark-theme) for more information.\nOverlay and shadow can be applied by specifying the `elevation` property both on Android and iOS.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Surface, Text } from 'react-native-paper';\nimport { StyleSheet } from 'react-native';\n\nconst MyComponent = () => (\n \n Surface\n \n);\n\nexport default MyComponent;\n\nconst styles = StyleSheet.create({\n surface: {\n padding: 8,\n height: 80,\n width: 80,\n alignItems: 'center',\n justifyContent: 'center',\n },\n});\n```", + "displayName": "Surface", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "Content of the `Surface`." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "elevation": { + "required": false, + "tsType": { + "name": "union", + "raw": "Elevation | Animated.Value", + "elements": [ + { + "name": "Elevation" + }, + { + "name": "Animated.Value" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nChanges shadows and background on iOS and Android.\nUsed to create UI hierarchy between components.\n\nNote: If `mode` is set to `flat`, Surface doesn't have a shadow.\n\nNote: In version 2 the `elevation` prop was accepted via `style` prop i.e. `style={{ elevation: 4 }}`.\nIt's no longer supported with theme version 3 and you should use `elevation` property instead.", + "defaultValue": { + "value": "1", + "computed": false + } + }, + "mode": { + "required": false, + "tsType": { + "name": "union", + "raw": "'flat' | 'elevated'", + "elements": [ + { + "name": "literal", + "value": "'flat'" + }, + { + "name": "literal", + "value": "'elevated'" + } + ] + }, + "description": "@supported Available in v5.x with theme version 3\nMode of the Surface.\n- `elevated` - Surface with a shadow and background color corresponding to set `elevation` value.\n- `flat` - Surface without a shadow, with the background color corresponding to set `elevation` value.", + "defaultValue": { + "value": "'elevated'", + "computed": false + } + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "TestID used for testing purposes", + "defaultValue": { + "value": "'surface'", + "computed": false + } + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "container": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "@internal" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Surface.tsx" + ] + }, + "Switch/Switch": { + "filepath": "Switch/Switch.tsx", + "title": "Switch", + "description": "Material 3 toggle between two mutually exclusive states (on / off).\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Switch } from 'react-native-paper';\n\nconst Example = () => {\n const [on, setOn] = React.useState(false);\n return ;\n};\n```\n\n## Theming\nCustomize by overriding these `theme.colors` roles:\n- `primary` / `onPrimary`: selected track + icon / selected handle\n- `primaryContainer`: selected handle on hover, press\n- `surfaceContainerHighest`: unselected track + icon\n- `outline`: unselected resting handle, unselected track outline\n- `onSurfaceVariant`: unselected handle on hover, press\n- `onSurface`: disabled track, handle, and icon fills\n- `surface`: disabled selected handle\n- `secondary`: focus indicator", + "link": "switch", + "data": { + "description": "Material 3 toggle between two mutually exclusive states (on / off).\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Switch } from 'react-native-paper';\n\nconst Example = () => {\n const [on, setOn] = React.useState(false);\n return ;\n};\n```\n\n## Theming\nCustomize by overriding these `theme.colors` roles:\n- `primary` / `onPrimary`: selected track + icon / selected handle\n- `primaryContainer`: selected handle on hover, press\n- `surfaceContainerHighest`: unselected track + icon\n- `outline`: unselected resting handle, unselected track outline\n- `onSurfaceVariant`: unselected handle on hover, press\n- `onSurface`: disabled track, handle, and icon fills\n- `surface`: disabled selected handle\n- `secondary`: focus indicator", + "displayName": "Switch", + "methods": [], + "statics": [], + "props": { + "value": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the switch is on." + }, + "onValueChange": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(value: boolean) => void", + "signature": { + "arguments": [ + { + "name": "value", + "type": { + "name": "boolean" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Called with the new value when the user toggles the switch." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Disables interaction and renders the disabled visual state." + }, + "checkedIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon shown inside the handle when checked" + }, + "uncheckedIcon": { + "required": false, + "tsType": { + "name": "IconSource" + }, + "description": "Icon shown inside the handle when unchecked." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Switch/Switch.tsx" + ] + }, + "TextInput/TextInput": { + "filepath": "TextInput/TextInput.tsx", + "title": "TextInput", + "description": "A text input lets users enter and edit text. It shows an optional floating label,\nsupports `filled` and `outlined` variants, optional supporting text (including\nerror state), and start/end accessories.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { TextInput } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [text, setText] = React.useState('');\n\n const searchAccessory = (accessoryProps) => (\n \n );\n\n const clearAccessory = ({ style, disabled }) => (\n setText('')}\n role=\"button\"\n aria-label=\"Clear text\"\n >\n \n \n );\n\n return (\n \n );\n};\n\nexport default MyComponent;\n```\n\n@extends TextInput props https://reactnative.dev/docs/textinput#props", + "link": "text-input", + "data": { + "description": "A text input lets users enter and edit text. It shows an optional floating label,\nsupports `filled` and `outlined` variants, optional supporting text (including\nerror state), and start/end accessories.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { TextInput } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [text, setText] = React.useState('');\n\n const searchAccessory = (accessoryProps) => (\n \n );\n\n const clearAccessory = ({ style, disabled }) => (\n setText('')}\n role=\"button\"\n aria-label=\"Clear text\"\n >\n \n \n );\n\n return (\n \n );\n};\n\nexport default MyComponent;\n```\n\n@extends TextInput props https://reactnative.dev/docs/textinput#props", + "displayName": "TextInput", + "methods": [], + "statics": [], + "props": { + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "Pick", + "elements": [ + { + "name": "NativeTextInput" + }, + { + "name": "union", + "raw": "'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps' | 'setSelection'", + "elements": [ + { + "name": "literal", + "value": "'focus'" + }, + { + "name": "literal", + "value": "'clear'" + }, + { + "name": "literal", + "value": "'blur'" + }, + { + "name": "literal", + "value": "'isFocused'" + }, + { + "name": "literal", + "value": "'setNativeProps'" + }, + { + "name": "literal", + "value": "'setSelection'" + } + ] + } + ], + "raw": "Pick<\n NativeTextInput,\n 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps' | 'setSelection'\n>" + } + ] + }, + "description": "Imperative handle exposing a subset of native `TextInput` methods\nwith side-effect handling (e.g. `clear()` syncs internal state and animations)." + }, + "variant": { + "required": false, + "tsType": { + "name": "union", + "raw": "'filled' | 'outlined'", + "elements": [ + { + "name": "literal", + "value": "'filled'" + }, + { + "name": "literal", + "value": "'outlined'" + } + ] + }, + "description": "Determines the visual style of the text input.\n\n- `filled` — filled background with an animated underline; higher visual emphasis.\n- `outlined` — stroke outline only; lower visual emphasis." + }, + "error": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "When `true`, the field uses error styling and replaces the trailing accessory\nwith an error indicator when no `endAccessory` is provided." + }, + "label": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "The label text to display above the input." + }, + "supportingText": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Supporting text to display below the input (Material Design 3)." + }, + "counter": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "When `true`, displays a character counter below the input on the trailing\nside, showing `currentLength/maxLength`. Requires `maxLength` to be set." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "This is separate from `editable={false}`, which makes the text read-only while the\ninput can still be focused and text selected." + }, + "prefix": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "A short text string displayed at the start of the input (e.g. `\"$\"`)." + }, + "suffix": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "A short text string displayed at the end of the input (e.g. `\"/100\"`)." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "startAccessory": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: TextInputAccessoryProps) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "TextInputAccessoryProps" + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "An optional component to render on the start side of the input (leading in LTR).\nCan be a custom component or `TextInput.Icon`." + }, + "endAccessory": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: TextInputAccessoryProps) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "TextInputAccessoryProps" + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "An optional component to render on the end side of the input (trailing in LTR).\nCan be a custom component or `TextInput.Icon`." + }, + "render": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(props: TextInputRenderProps) => React.ReactNode", + "signature": { + "arguments": [ + { + "name": "props", + "type": { + "name": "intersection", + "raw": "React.ComponentPropsWithoutRef<\n typeof NativeTextInput\n> & {\n ref?: React.RefObject;\n}", + "elements": [ + { + "name": "ReactComponentPropsWithoutRef", + "raw": "React.ComponentPropsWithoutRef<\n typeof NativeTextInput\n>", + "elements": [ + { + "name": "NativeTextInput" + } + ] + }, + { + "name": "signature", + "type": "object", + "raw": "{\n ref?: React.RefObject;\n}", + "signature": { + "properties": [ + { + "key": "ref", + "value": { + "name": "ReactRefObject", + "raw": "React.RefObject", + "elements": [ + { + "name": "union", + "raw": "NativeTextInput | null", + "elements": [ + { + "name": "NativeTextInput" + }, + { + "name": "null" + } + ] + } + ], + "required": false + } + } + ] + } + } + ] + } + } + ], + "return": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + } + }, + "description": "Callback to render a custom input component in place of the native `TextInput`.\nReceives all props that would be passed to `TextInput`, allowing integration\nwith third-party inputs such as masked inputs." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/TextInput/TextInput.tsx" + ] + }, + "TextInput/TextInputIcon": { + "filepath": "TextInput/TextInputIcon.tsx", + "title": "TextInput.Icon", + "description": "A component to render a leading / trailing icon in the TextInput\n(return it from `startAccessory` or `endAccessory`). Accepts icon-specific props as well as\n`TextInputAccessoryProps`, which TextInput passes into those render props.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { TextInput } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [text, setText] = React.useState('');\n\n const searchAccessory = (props) => (\n \n );\n\n const clearAccessory = (props) => (\n setText('')} />\n );\n\n return (\n \n );\n};\n\nexport default MyComponent;\n```\n\n@extends IconButton props https://callstack.github.io/react-native-paper/docs/components/IconButton", + "link": "text-input-icon", + "data": { + "description": "A component to render a leading / trailing icon in the TextInput\n(return it from `startAccessory` or `endAccessory`). Accepts icon-specific props as well as\n`TextInputAccessoryProps`, which TextInput passes into those render props.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { TextInput } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [text, setText] = React.useState('');\n\n const searchAccessory = (props) => (\n \n );\n\n const clearAccessory = (props) => (\n setText('')} />\n );\n\n return (\n \n );\n};\n\nexport default MyComponent;\n```\n\n@extends IconButton props https://callstack.github.io/react-native-paper/docs/components/IconButton", + "displayName": "TextInput.Icon", + "methods": [], + "statics": [], + "props": { + "style": { + "required": true, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "multiline": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "" + }, + "disabled": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "" + }, + "error": { + "required": true, + "tsType": { + "name": "boolean" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/TextInput/TextInputIcon.tsx" + ], + "group": "TextInput" + }, + "ToggleButton/ToggleButton": { + "filepath": "ToggleButton/ToggleButton.tsx", + "title": "ToggleButton", + "description": "Toggle buttons can be used to group related options. To emphasize groups of related toggle buttons,\na group should share a common container.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ToggleButton } from 'react-native-paper';\n\nconst ToggleButtonExample = () => {\n const [status, setStatus] = React.useState('checked');\n\n const onButtonToggle = value => {\n setStatus(status === 'checked' ? 'unchecked' : 'checked');\n };\n\n return (\n \n );\n};\n\nexport default ToggleButtonExample;\n\n```", + "link": "toggle-button", + "data": { + "description": "Toggle buttons can be used to group related options. To emphasize groups of related toggle buttons,\na group should share a common container.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ToggleButton } from 'react-native-paper';\n\nconst ToggleButtonExample = () => {\n const [status, setStatus] = React.useState('checked');\n\n const onButtonToggle = value => {\n setStatus(status === 'checked' ? 'unchecked' : 'checked');\n };\n\n return (\n \n );\n};\n\nexport default ToggleButtonExample;\n\n```", + "displayName": "ToggleButton", + "methods": [], + "statics": [], + "props": { + "icon": { + "required": true, + "tsType": { + "name": "IconSource" + }, + "description": "Icon to display for the `ToggleButton`." + }, + "size": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Size of the icon." + }, + "iconColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Custom text color for button." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether the button is disabled." + }, + "accessibilityLabel": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Accessibility label for the `ToggleButton`. This is read by the screen reader when the user taps the button." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(value?: GestureResponderEvent | string) => void", + "signature": { + "arguments": [ + { + "name": "value", + "type": { + "name": "union", + "raw": "GestureResponderEvent | string", + "elements": [ + { + "name": "GestureResponderEvent" + }, + { + "name": "string" + } + ] + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press." + }, + "value": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Value of button." + }, + "status": { + "required": false, + "tsType": { + "name": "union", + "raw": "'checked' | 'unchecked'", + "elements": [ + { + "name": "literal", + "value": "'checked'" + }, + { + "name": "literal", + "value": "'unchecked'" + } + ] + }, + "description": "Status of button." + }, + "style": { + "required": false, + "tsType": { + "name": "Animated.WithAnimatedValue", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + } + ], + "raw": "Animated.WithAnimatedValue>" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "testID": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "testID to be used on tests." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/ToggleButton/ToggleButton.tsx" + ] + }, + "ToggleButton/ToggleButtonGroup": { + "filepath": "ToggleButton/ToggleButtonGroup.tsx", + "title": "ToggleButton.Group", + "description": "Toggle group allows to control a group of toggle buttons.
\nIt doesn't change the appearance of the toggle buttons. If you want to group them in a row, check out [ToggleButton.Row](ToggleButtonRow).\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ToggleButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('left');\n\n return (\n setValue(value)}\n value={value}\n >\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "link": "toggle-button-group", + "data": { + "description": "Toggle group allows to control a group of toggle buttons.
\nIt doesn't change the appearance of the toggle buttons. If you want to group them in a row, check out [ToggleButton.Row](ToggleButtonRow).\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ToggleButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('left');\n\n return (\n setValue(value)}\n value={value}\n >\n \n \n \n );\n};\n\nexport default MyComponent;\n```", + "displayName": "ToggleButton.Group", + "methods": [], + "statics": [], + "props": { + "onValueChange": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(value: Value) => void", + "signature": { + "arguments": [ + { + "name": "value", + "type": { + "name": "Value" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on selection change." + }, + "value": { + "required": true, + "tsType": { + "name": "union", + "raw": "Value | null", + "elements": [ + { + "name": "Value" + }, + { + "name": "null" + } + ] + }, + "description": "Value of the currently selected toggle button." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "React elements containing toggle buttons." + } + } + }, + "type": "component", + "dependencies": [ + "src/components/ToggleButton/ToggleButtonGroup.tsx" + ], + "group": "ToggleButton" + }, + "ToggleButton/ToggleButtonRow": { + "filepath": "ToggleButton/ToggleButtonRow.tsx", + "title": "ToggleButton.Row", + "description": "Toggle button row renders a group of toggle buttons in a row.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ToggleButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('left');\n\n return (\n setValue(value)} value={value}>\n \n \n \n );\n};\n\nexport default MyComponent;\n\n```", + "link": "toggle-button-row", + "data": { + "description": "Toggle button row renders a group of toggle buttons in a row.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { ToggleButton } from 'react-native-paper';\n\nconst MyComponent = () => {\n const [value, setValue] = React.useState('left');\n\n return (\n setValue(value)} value={value}>\n \n \n \n );\n};\n\nexport default MyComponent;\n\n```", + "displayName": "ToggleButton.Row", + "methods": [], + "statics": [], + "props": { + "onValueChange": { + "required": true, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(value: string) => void", + "signature": { + "arguments": [ + { + "name": "value", + "type": { + "name": "string" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on selection change." + }, + "value": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Value of the currently selected toggle button." + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "React elements containing toggle buttons." + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/ToggleButton/ToggleButtonRow.tsx" + ], + "group": "ToggleButton" + }, + "Tooltip/Tooltip": { + "filepath": "Tooltip/Tooltip.tsx", + "title": "Tooltip", + "description": "Tooltips display informative text when users hover over, focus on, or tap an element.\n\nPlain tooltips, when activated, display a text label identifying an element, such as a description of its function. Tooltips should include only short, descriptive text and avoid restating visible UI text.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { IconButton, Tooltip } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} />\n \n);\n\nexport default MyComponent;\n```", + "link": "tooltip", + "data": { + "description": "Tooltips display informative text when users hover over, focus on, or tap an element.\n\nPlain tooltips, when activated, display a text label identifying an element, such as a description of its function. Tooltips should include only short, descriptive text and avoid restating visible UI text.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { IconButton, Tooltip } from 'react-native-paper';\n\nconst MyComponent = () => (\n \n {}} />\n \n);\n\nexport default MyComponent;\n```", + "displayName": "Tooltip", + "methods": [], + "statics": [], + "props": { + "children": { + "required": true, + "tsType": { + "name": "ReactReactElement", + "raw": "React.ReactElement" + }, + "description": "Tooltip reference element. Needs to be able to hold a ref." + }, + "enterTouchDelay": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of milliseconds a user must touch the element before showing the tooltip.", + "defaultValue": { + "value": "500", + "computed": false + } + }, + "leaveTouchDelay": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "The number of milliseconds after the user stops touching an element before hiding the tooltip.", + "defaultValue": { + "value": "1500", + "computed": false + } + }, + "title": { + "required": true, + "tsType": { + "name": "string" + }, + "description": "Tooltip title" + }, + "titleMaxFontSizeMultiplier": { + "required": false, + "tsType": { + "name": "number" + }, + "description": "Specifies the largest possible scale a title font can reach." + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Tooltip/Tooltip.tsx" + ] + }, + "TouchableRipple/TouchableRipple": { + "filepath": "TouchableRipple/TouchableRipple.tsx", + "title": "TouchableRipple", + "description": "A wrapper for views that should respond to touches.\nProvides a material \"ink ripple\" interaction effect for supported platforms (>= Android Lollipop).\nOn unsupported platforms, it falls back to a highlight effect.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Text, TouchableRipple } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}\n rippleColor=\"rgba(0, 0, 0, .32)\"\n >\n Press anywhere\n \n);\n\nexport default MyComponent;\n```\n\n@extends Pressable props https://reactnative.dev/docs/Pressable#props", + "link": "touchable-ripple", + "data": { + "description": "A wrapper for views that should respond to touches.\nProvides a material \"ink ripple\" interaction effect for supported platforms (>= Android Lollipop).\nOn unsupported platforms, it falls back to a highlight effect.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { View } from 'react-native';\nimport { Text, TouchableRipple } from 'react-native-paper';\n\nconst MyComponent = () => (\n console.log('Pressed')}\n rippleColor=\"rgba(0, 0, 0, .32)\"\n >\n Press anywhere\n \n);\n\nexport default MyComponent;\n```\n\n@extends Pressable props https://reactnative.dev/docs/Pressable#props", + "displayName": "TouchableRipple", + "methods": [], + "statics": [], + "props": { + "borderless": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to render the ripple outside the view bounds.", + "defaultValue": { + "value": "false", + "computed": false + } + }, + "background": { + "required": false, + "tsType": { + "name": "Object" + }, + "description": "Type of background drawabale to display the feedback (Android).\nhttps://reactnative.dev/docs/pressable#rippleconfig" + }, + "centered": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to start the ripple at the center (Web)." + }, + "disabled": { + "required": false, + "tsType": { + "name": "boolean" + }, + "description": "Whether to prevent interaction with the touchable." + }, + "onPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on press. If not set, will cause the touchable to be disabled." + }, + "onLongPress": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute on long press." + }, + "onPressIn": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute immediately when a touch is engaged, before `onPressOut` and `onPress`." + }, + "onPressOut": { + "required": false, + "tsType": { + "name": "signature", + "type": "function", + "raw": "(e: GestureResponderEvent) => void", + "signature": { + "arguments": [ + { + "name": "e", + "type": { + "name": "GestureResponderEvent" + } + } + ], + "return": { + "name": "void" + } + } + }, + "description": "Function to execute when a touch is released." + }, + "rippleColor": { + "required": false, + "tsType": { + "name": "ColorValue" + }, + "description": "Color of the ripple effect (Android >= 5.0 and Web)." + }, + "underlayColor": { + "required": false, + "tsType": { + "name": "string" + }, + "description": "Color of the underlay for the highlight effect (Android < 5.0 and iOS)." + }, + "children": { + "required": true, + "tsType": { + "name": "union", + "raw": "| ((state: PressableStateCallbackType) => React.ReactNode)\n| React.ReactNode", + "elements": [ + { + "name": "unknown" + }, + { + "name": "ReactReactNode", + "raw": "React.ReactNode" + } + ] + }, + "description": "Content of the `TouchableRipple`." + }, + "style": { + "required": false, + "tsType": { + "name": "union", + "raw": "| StyleProp\n| ((state: PressableStateCallbackType) => StyleProp)\n| undefined", + "elements": [ + { + "name": "StyleProp", + "elements": [ + { + "name": "ViewStyle" + } + ], + "raw": "StyleProp" + }, + { + "name": "unknown" + }, + { + "name": "undefined" + } + ] + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "View" + } + ] + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/TouchableRipple/TouchableRipple.tsx" + ] + }, + "Typography/Text": { + "filepath": "Typography/Text.tsx", + "title": "Text", + "description": "Typography component showing styles complied with passed `variant` prop and supported by the type system.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n <>\n Display Large\n Display Medium\n Display small\n\n Headline Large\n Headline Medium\n Headline Small\n\n Title Large\n Title Medium\n Title Small\n\n Body Large\n Body Medium\n Body Small\n\n Label Large\n Label Medium\n Label Small\n \n);\n\nexport default MyComponent;\n```\n\n@extends Text props https://reactnative.dev/docs/text#props", + "link": "text", + "data": { + "description": "Typography component showing styles complied with passed `variant` prop and supported by the type system.\n\n## Usage\n```js\nimport * as React from 'react';\nimport { Text } from 'react-native-paper';\n\nconst MyComponent = () => (\n <>\n Display Large\n Display Medium\n Display small\n\n Headline Large\n Headline Medium\n Headline Small\n\n Title Large\n Title Medium\n Title Small\n\n Body Large\n Body Medium\n Body Small\n\n Label Large\n Label Medium\n Label Small\n \n);\n\nexport default MyComponent;\n```\n\n@extends Text props https://reactnative.dev/docs/text#props", + "displayName": "Text", + "methods": [], + "statics": [], + "props": { + "variant": { + "required": false, + "tsType": { + "name": "VariantProp", + "elements": [ + { + "name": "T" + } + ], + "raw": "VariantProp" + }, + "description": "@supported Available in v5.x with theme version 3\n\nVariant defines appropriate text styles for type role and its size.\nAvailable variants:\n\n Display: `displayLarge`, `displayMedium`, `displaySmall`\n\n Headline: `headlineLarge`, `headlineMedium`, `headlineSmall`\n\n Title: `titleLarge`, `titleMedium`, `titleSmall`\n\n Label: `labelLarge`, `labelMedium`, `labelSmall`\n\n Body: `bodyLarge`, `bodyMedium`, `bodySmall`" + }, + "children": { + "required": true, + "tsType": { + "name": "ReactReactNode", + "raw": "React.ReactNode" + }, + "description": "" + }, + "theme": { + "required": false, + "tsType": { + "name": "ThemeProp" + }, + "description": "" + }, + "style": { + "required": false, + "tsType": { + "name": "StyleProp", + "elements": [ + { + "name": "TextStyle" + } + ], + "raw": "StyleProp" + }, + "description": "" + }, + "ref": { + "required": false, + "tsType": { + "name": "ReactRef", + "raw": "React.Ref", + "elements": [ + { + "name": "signature", + "type": "object", + "raw": "{\n setNativeProps(args: Object): void;\n}", + "signature": { + "properties": [ + { + "key": "setNativeProps", + "value": { + "name": "void", + "required": true + } + } + ] + } + } + ] + }, + "description": "" + } + } + }, + "type": "component", + "dependencies": [ + "src/components/Typography/Text.tsx" + ] + } + } +} diff --git a/docs/src/data/extendedExamples.js b/docs/src/data/extendedExamples.ts similarity index 54% rename from docs/src/data/extendedExamples.js rename to docs/src/data/extendedExamples.ts index f7b196afff..20800e2005 100644 --- a/docs/src/data/extendedExamples.js +++ b/docs/src/data/extendedExamples.ts @@ -1,9 +1,9 @@ -const { - staticCode, +import { dynamicCode, -} = require('./extendedExamples/BottomNavigationBar'); + staticCode, +} from './extendedExamples/BottomNavigationBar.ts'; -const extendedExamples = { +export const extendedExamples = { 'BottomNavigation.Bar': { 'with React Navigation': { static: staticCode, @@ -11,7 +11,3 @@ const extendedExamples = { }, }, }; - -module.exports = { - extendedExamples, -}; diff --git a/docs/src/data/extendedExamples/BottomNavigationBar.js b/docs/src/data/extendedExamples/BottomNavigationBar.ts similarity index 96% rename from docs/src/data/extendedExamples/BottomNavigationBar.js rename to docs/src/data/extendedExamples/BottomNavigationBar.ts index 4a5cd4bf24..7a49db0bce 100644 --- a/docs/src/data/extendedExamples/BottomNavigationBar.js +++ b/docs/src/data/extendedExamples/BottomNavigationBar.ts @@ -1,4 +1,4 @@ -const staticCode = `import { Text, View } from 'react-native'; +export const staticCode = `import { Text, View } from 'react-native'; import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { Provider, BottomNavigation } from 'react-native-paper'; import MaterialCommunityIcons from '@react-native-vector-icons/material-design-icons'; @@ -99,7 +99,7 @@ export default function App() { ); }`; -const dynamicCode = `import { Text, View } from 'react-native'; +export const dynamicCode = `import { Text, View } from 'react-native'; import { NavigationContainer, CommonActions } from '@react-navigation/native'; import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { Provider, BottomNavigation } from 'react-native-paper'; @@ -195,8 +195,3 @@ export default function App() { ); } `; - -module.exports = { - staticCode, - dynamicCode, -}; diff --git a/docs/src/data/screenshots.js b/docs/src/data/screenshots.ts similarity index 99% rename from docs/src/data/screenshots.js rename to docs/src/data/screenshots.ts index f25cef6294..92bf8f2788 100644 --- a/docs/src/data/screenshots.js +++ b/docs/src/data/screenshots.ts @@ -1,4 +1,4 @@ -const screenshots = { +export const screenshots = { ActivityIndicator: 'screenshots/activity-indicator.gif', Appbar: 'screenshots/appbar.png', 'Appbar.Action': 'screenshots/appbar-action-android.png', @@ -155,7 +155,3 @@ const screenshots = { Tooltip: 'screenshots/tooltip.png', TouchableRipple: 'screenshots/touchable-ripple.gif', }; - -module.exports = { - screenshots, -}; diff --git a/docs/src/data/themeColors.js b/docs/src/data/themeColors.ts similarity index 99% rename from docs/src/data/themeColors.js rename to docs/src/data/themeColors.ts index 2e97dd1bce..20f16962f7 100644 --- a/docs/src/data/themeColors.js +++ b/docs/src/data/themeColors.ts @@ -1,4 +1,4 @@ -const themeColors = { +export const themeColors = { ActivityIndicator: { '-': { borderColor: 'theme.colors.primary', @@ -327,7 +327,3 @@ const themeColors = { }, }, }; - -module.exports = { - themeColors, -}; diff --git a/docs/src/data/versionRouteFallbacks.json b/docs/src/data/versionRouteFallbacks.json new file mode 100644 index 0000000000..326741b5b5 --- /dev/null +++ b/docs/src/data/versionRouteFallbacks.json @@ -0,0 +1,17 @@ +{ + "next": { + "/docs/components/Checkbox/CheckboxAndroid": "/6.x/docs/components/Checkbox/Checkbox", + "/docs/components/Checkbox/CheckboxIOS": "/6.x/docs/components/Checkbox/Checkbox", + "/docs/components/FAB/AnimatedFAB": "/6.x/docs/components/FAB/FAB", + "/docs/components/FAB/FABGroup": "/6.x/docs/components/FAB/FAB", + "/docs/components/HelperText/HelperText": "/6.x/", + "/docs/components/TextInput/TextInputAffix": "/6.x/docs/components/TextInput/TextInput", + "/docs/guides/migration-guide-to-5.0": "/6.x/docs/guides/migration" + }, + "stable": { + "/6.x/docs/components/FAB/FABExtended": "/docs/components/FAB/FAB", + "/6.x/docs/components/FAB/FABMenu": "/docs/components/FAB/FAB", + "/6.x/docs/guides/migration": "/docs/guides/migration-guide-to-5.0", + "/6.x/docs/guides/rtl": "/" + } +} diff --git a/docs/src/pages/index.mdx b/docs/src/pages/index.mdx index 2870fda5b7..91f12670f9 100644 --- a/docs/src/pages/index.mdx +++ b/docs/src/pages/index.mdx @@ -1,63 +1,38 @@ -![paperLogo](../../static/images/sidebar-logo.svg) - -# Cross-platform Material Design for React Native - -import {Button} from 'react-native-paper'; -import GetStartedButtons from '../components/GetStartedButtons'; -import BannerExample from '../components/BannerExample'; - -Paper is a collection of customizable and production-ready components for React Native, following Google’s Material Design guidelines. - - - -Or check the demo app on [iOS](https://apps.apple.com/app/react-native-paper/id1548934513) or [Android](https://play.google.com/store/apps/details?id=com.callstack.reactnativepaperexample). - - - - - - - - - - - - - - - - - - +--- +pageType: home +hero: + name: Cross-platform Material Design for React Native + tagline: Paper is a collection of customizable and production-ready components for React Native, following Google’s Material Design guidelines. + actions: + - text: Get started + link: /docs/guides/getting-started + theme: brand + - text: Try on Snack + link: https://snack.expo.dev/@react-native-paper/react-native-paper-example_v5 + theme: alt +features: + - title: Production-ready components + details: Buttons, inputs, lists, cards, menus, dialogs, navigation, and feedback patterns built for day-to-day product work. + icon: /react-native-paper/images/home/components.svg + span: 4 + - title: Material You theming + details: Adopt Material 3 color, typography, elevation, and state layers with a theme system designed for real apps. + icon: /react-native-paper/images/home/palette.svg + span: 4 + - title: Accessible by default + details: Common interactions, contrast, and state handling are already baked into the component surface instead of left to each screen. + icon: /react-native-paper/images/home/accessibility.svg + span: 4 + - title: Cross-platform parity + details: Keep design language and component behavior aligned across iOS, Android, and React Native Web from one codebase. + icon: /react-native-paper/images/home/devices.svg + span: 4 + - title: Dark mode support + details: Ship light and dark experiences with the same primitives, including adaptive surfaces and semantic color roles. + icon: /react-native-paper/images/home/moon.svg + span: 4 + - title: Migration-friendly docs + details: Browse stable 5.x, preview 6.x, and legacy static docs from one version selector without splitting the docs experience. + icon: /react-native-paper/images/home/versions.svg + span: 4 +--- diff --git a/docs/src/utils/themeColors.tsx b/docs/src/utils/themeColors.tsx index dcc099ec58..befc487d80 100644 --- a/docs/src/utils/themeColors.tsx +++ b/docs/src/utils/themeColors.tsx @@ -23,9 +23,9 @@ export const getUniqueNestedKeys = (data: DataObject): string[] => { export const getMaxNestedLevel = (obj: DataObject): number => { let maxNestedLevel = 0; - for (const key in obj) { - if (typeof obj[key] === 'object') { - const nestedLevel = getMaxNestedLevel(obj[key] as DataObject) + 1; + for (const value of Object.values(obj)) { + if (typeof value === 'object') { + const nestedLevel = getMaxNestedLevel(value) + 1; maxNestedLevel = Math.max(maxNestedLevel, nestedLevel); } } diff --git a/docs/src/utils/themes.tsx b/docs/src/utils/themes.tsx index 1430d38830..182298a21d 100644 --- a/docs/src/utils/themes.tsx +++ b/docs/src/utils/themes.tsx @@ -6,7 +6,6 @@ import camelCase from 'camelcase'; import Color from 'color'; type ARGBTheme = ReturnType; -type CSSTheme = Record; type RGBColorList = { primary: string; @@ -46,22 +45,22 @@ const argbThemeFromColor = ( return themeFromSourceColor(argbFromHex(color)).schemes[type].toJSON(); }; +const hexFromArgb = (value: number) => + `#${(value & 0xffffff).toString(16).padStart(6, '0')}`; + const argbThemeToHexTheme = (theme: ARGBTheme) => { return Object.fromEntries( - //@ts-ignore - Object.entries(theme).map(([key, value]) => [key, Color(value).hex()]) - ) as CSSTheme; + Object.entries(theme).map(([key, value]) => [key, hexFromArgb(value)]) + ); }; const argbThemeToRgbTheme = (theme: ARGBTheme) => { return Object.fromEntries( - //@ts-ignore Object.entries(theme).map(([key, value]) => [ key, - //@ts-ignore - Color(value).rgb().string(), + Color(hexFromArgb(value)).rgb().string(), ]) - ) as CSSTheme; + ); }; export const hexThemeFromColor = ( diff --git a/docs/src/utils/versionRoutes.ts b/docs/src/utils/versionRoutes.ts new file mode 100644 index 0000000000..a20e6fe8e0 --- /dev/null +++ b/docs/src/utils/versionRoutes.ts @@ -0,0 +1,40 @@ +import routeFallbacks from '../data/versionRouteFallbacks.json'; + +const NEXT_VERSION_PREFIX = '/6.x'; +const NEXT_HOME_ROUTE = '/6.x/'; +const STABLE_HOME_ROUTE = '/'; +const stableFallbacks: Record = routeFallbacks.stable; +const nextFallbacks: Record = routeFallbacks.next; + +const stripNextVersionPrefix = (routePath: string) => { + const stableRoute = routePath.replace(/^\/6\.x(?=\/|$)/, ''); + + return stableRoute === '' ? STABLE_HOME_ROUTE : stableRoute; +}; + +export const getStableRoute = (routePath: string) => { + if (!routePath.startsWith(NEXT_VERSION_PREFIX)) { + return routePath || STABLE_HOME_ROUTE; + } + + if (routePath === NEXT_VERSION_PREFIX || routePath === NEXT_HOME_ROUTE) { + return STABLE_HOME_ROUTE; + } + + return stableFallbacks[routePath] ?? stripNextVersionPrefix(routePath); +}; + +export const getNextRoute = (routePath: string) => { + if (routePath.startsWith(NEXT_VERSION_PREFIX)) { + return routePath; + } + + if (routePath === STABLE_HOME_ROUTE || routePath === '') { + return NEXT_HOME_ROUTE; + } + + return nextFallbacks[routePath] ?? `${NEXT_VERSION_PREFIX}${routePath}`; +}; + +export const hasSameStableRoute = (routePath: string) => + getStableRoute(routePath) === stripNextVersionPrefix(routePath); diff --git a/docs/static/llms.txt b/docs/static/llms.txt deleted file mode 100644 index 3244326f67..0000000000 --- a/docs/static/llms.txt +++ /dev/null @@ -1,79 +0,0 @@ -# React Native Paper - -> Material Design components for React Native. -> See the full documentation at: https://callstack.github.io/react-native-paper/ - -## Getting Started - -- Install: npm install react-native-paper react-native-safe-area-context -- Wrap your app with PaperProvider -- Default theme is Material You (MD3) -- Requires React Native 0.72+ and React 18+ - -## Guides - -- Getting Started: https://callstack.github.io/react-native-paper/docs/guides/getting-started -- Theming: https://callstack.github.io/react-native-paper/docs/guides/theming -- Icons: https://callstack.github.io/react-native-paper/docs/guides/icons -- Fonts: https://callstack.github.io/react-native-paper/docs/guides/fonts -- React Native Web: https://callstack.github.io/react-native-paper/docs/guides/react-native-web -- Recommended Libraries: https://callstack.github.io/react-native-paper/docs/guides/recommended-libraries -- Contributing: https://callstack.github.io/react-native-paper/docs/guides/contributing -- Bottom Navigation: https://callstack.github.io/react-native-paper/docs/guides/bottom-navigation -- Ripple Effect: https://callstack.github.io/react-native-paper/docs/guides/ripple-effect - -## Components - -- ActivityIndicator: https://callstack.github.io/react-native-paper/docs/components/ActivityIndicator -- Appbar: https://callstack.github.io/react-native-paper/docs/components/Appbar -- Avatar: https://callstack.github.io/react-native-paper/docs/components/Avatar -- Badge: https://callstack.github.io/react-native-paper/docs/components/Badge -- Banner: https://callstack.github.io/react-native-paper/docs/components/Banner -- BottomNavigation: https://callstack.github.io/react-native-paper/docs/components/BottomNavigation -- Button: https://callstack.github.io/react-native-paper/docs/components/Button -- Card: https://callstack.github.io/react-native-paper/docs/components/Card -- Checkbox: https://callstack.github.io/react-native-paper/docs/components/Checkbox -- Chip: https://callstack.github.io/react-native-paper/docs/components/Chip -- DataTable: https://callstack.github.io/react-native-paper/docs/components/DataTable -- Dialog: https://callstack.github.io/react-native-paper/docs/components/Dialog -- Divider: https://callstack.github.io/react-native-paper/docs/components/Divider -- Drawer: https://callstack.github.io/react-native-paper/docs/components/Drawer -- FAB: https://callstack.github.io/react-native-paper/docs/components/FAB -- HelperText: https://callstack.github.io/react-native-paper/docs/components/HelperText -- IconButton: https://callstack.github.io/react-native-paper/docs/components/IconButton -- Icon: https://callstack.github.io/react-native-paper/docs/components/Icon -- List: https://callstack.github.io/react-native-paper/docs/components/List -- Menu: https://callstack.github.io/react-native-paper/docs/components/Menu -- Modal: https://callstack.github.io/react-native-paper/docs/components/Modal -- Portal: https://callstack.github.io/react-native-paper/docs/components/Portal -- ProgressBar: https://callstack.github.io/react-native-paper/docs/components/ProgressBar -- RadioButton: https://callstack.github.io/react-native-paper/docs/components/RadioButton -- Searchbar: https://callstack.github.io/react-native-paper/docs/components/Searchbar -- SegmentedButtons: https://callstack.github.io/react-native-paper/docs/components/SegmentedButtons -- Snackbar: https://callstack.github.io/react-native-paper/docs/components/Snackbar -- Surface: https://callstack.github.io/react-native-paper/docs/components/Surface -- Switch: https://callstack.github.io/react-native-paper/docs/components/Switch -- Text: https://callstack.github.io/react-native-paper/docs/components/Text -- TextInput: https://callstack.github.io/react-native-paper/docs/components/TextInput -- TouchableRipple: https://callstack.github.io/react-native-paper/docs/components/TouchableRipple -- Tooltip: https://callstack.github.io/react-native-paper/docs/components/Tooltip - -## Theming - -- Theme object accepts colors, dark, roundness, fonts, animation, and version properties -- Use useTheme() hook or ThemeProvider for nested theme overrides -- MD3 (Material You) is the only supported design system; extend MD3LightTheme / MD3DarkTheme -- See theming guide: https://callstack.github.io/react-native-paper/docs/guides/theming - -## Provider Pattern - -- Wrap root component with PaperProvider (required) -- PaperProvider accepts an optional theme prop -- Supports theming with React Navigation via react-native-paper theming integration - -## Important Notes - -- This is a cross-platform library (iOS, Android, web) -- Built with TypeScript -- MIT licensed -- Maintained by Callstack diff --git a/docs/theme/Outline.tsx b/docs/theme/Outline.tsx new file mode 100644 index 0000000000..ded2f49549 --- /dev/null +++ b/docs/theme/Outline.tsx @@ -0,0 +1,38 @@ +import { useI18n } from '@rspress/core/dist/runtime/index.js'; +import { + EditLink, + ReadPercent, + Toc, + useDynamicToc, + useEditLink, +} from '@rspress/core/dist/theme/index.js'; + +export default function Outline() { + const t = useI18n(); + const headers = useDynamicToc(); + const editLink = useEditLink(); + + if (headers.length === 0) { + return null; + } + + return ( +
+
+ {t('outlineTitle')} + +
+ + {editLink ? ( + <> +
+
+ +
+ + ) : null} +
+ ); +} diff --git a/docs/theme/index.tsx b/docs/theme/index.tsx new file mode 100644 index 0000000000..3cd7557c48 --- /dev/null +++ b/docs/theme/index.tsx @@ -0,0 +1,34 @@ +import { Fragment, type ComponentProps } from 'react'; + +import { HomeBanner } from '@callstack/rspress-theme'; +import { Layout as BasicLayout } from '@rspress/core/dist/theme/index.js'; + +import Outline from './Outline'; +import PaperHomeShowcase from '../src/components/PaperHomeShowcase'; +import PaperVersionSelector from '../src/components/PaperVersionSelector'; +import VersionedPrereleaseNotice from '../src/components/VersionedPrereleaseNotice'; + +type LayoutProps = ComponentProps; + +const Layout = (props: LayoutProps) => ( + + + + + } + afterNavMenu={} + afterOutline={false} + beforeDocContent={} + /> +); + +export * from '@rspress/core/dist/theme/index.js'; +export { Layout, Outline }; diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 56f834939e..3b8c64a185 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -2,7 +2,9 @@ "extends": "../tsconfig.json", "compilerOptions": { "paths": { - "react-native-paper": ["./src"] + "@docs/*": ["./src/*"], + "react-native-paper": ["../src/index"] } - } + }, + "include": ["**/*.ts", "**/*.tsx"] } diff --git a/docs/versioned_docs/version-5.x/components/Badge.mdx b/docs/versioned_docs/version-5.x/components/Badge.mdx deleted file mode 100644 index 564777604c..0000000000 --- a/docs/versioned_docs/version-5.x/components/Badge.mdx +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: Badge ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - -Badges are small status descriptors for UI elements. -A badge consists of a small circle, typically containing a number or other short set of characters, that appears in proximity to another object. - - - - - - - -## Usage -```js -import * as React from 'react'; -import { Badge } from 'react-native-paper'; - -const MyComponent = () => ( - 3 -); - -export default MyComponent; -``` - - - ## Props - - - - -
- -### visible - -
- - - -
- -### children - -
- - - -
- -### size - -
- - - -
- -### style - -
- - - -
- -### ref - -
- - - -
- -### theme - -
- - - - - - - - - ## Theme colors - - - - - diff --git a/docs/versioned_docs/version-5.x/components/BottomNavigation/BottomNavigationBar.mdx b/docs/versioned_docs/version-5.x/components/BottomNavigation/BottomNavigationBar.mdx deleted file mode 100644 index 8859b3cfec..0000000000 --- a/docs/versioned_docs/version-5.x/components/BottomNavigation/BottomNavigationBar.mdx +++ /dev/null @@ -1,293 +0,0 @@ ---- -title: BottomNavigation.Bar ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - -A navigation bar which can easily be integrated with [React Navigation's Bottom Tabs Navigator](https://reactnavigation.org/docs/bottom-tab-navigator/). - - - - - - - - - ## Usage -### without React Navigation -```js -import React from 'react'; -import { useState } from 'react'; -import { View } from 'react-native'; -import { BottomNavigation, Text, Provider } from 'react-native-paper'; -import MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons'; - -function HomeScreen() { - return ( - - Home! - - ); -} - -function SettingsScreen() { - return ( - - Settings! - - ); -} - -export default function MyComponent() { - const [index, setIndex] = useState(0); - - const routes = [ - { key: 'home', title: 'Home', icon: 'home' }, - { key: 'settings', title: 'Settings', icon: 'cog' }, - ]; - - const renderScene = ({ route }) => { - switch (route.key) { - case 'home': - return ; - case 'settings': - return ; - default: - return null; - } - }; - - return ( - - {renderScene({ route: routes[index] })} - { - const newIndex = routes.findIndex((r) => r.key === route.key); - if (newIndex !== -1) { - setIndex(newIndex); - } - }} - renderIcon={({ route, color }) => ( - - )} - getLabelText={({ route }) => route.title} - /> - - ); -} -``` - - ### with React Navigation - \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nconst MyTabs = createBottomTabNavigator({\n screenOptions: {\n animation: 'shift',\n },\n tabBar: ({ navigation, state, descriptors, insets }) => (\n {\n const event = navigation.emit({\n type: 'tabPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (event.defaultPrevented) {\n preventDefault();\n } else {\n navigation.dispatch({\n ...CommonActions.navigate(route.name, route.params),\n target: state.key,\n });\n }\n }}\n renderIcon={({ route, focused, color }) =>\n descriptors[route.key].options.tabBarIcon?.({\n focused,\n color,\n size: 24,\n }) || null\n }\n getLabelText={({ route }) => {\n const { options } = descriptors[route.key];\n const label =\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : typeof options.title === 'string'\n ? options.title\n : route.name;\n\n return label;\n }}\n />\n ),\n screens: {\n Home: {\n screen: HomeScreen,\n options: {\n tabBarIcon: ({ color }) => (\n \n ),\n },\n },\n Settings: {\n screen: SettingsScreen,\n options: {\n tabBarIcon: ({ color }) => (\n \n ),\n },\n },\n },\n});\n\nconst Navigation = createStaticNavigation(MyTabs);\n\nexport default function App() {\n return (\n \n \n \n \n \n );\n}","dynamic":"import { Text, View } from 'react-native';\nimport { NavigationContainer, CommonActions } from '@react-navigation/native';\nimport { createBottomTabNavigator } from '@react-navigation/bottom-tabs';\nimport { Provider, BottomNavigation } from 'react-native-paper';\nimport MaterialCommunityIcons from '@expo/vector-icons/MaterialCommunityIcons';\n\nfunction HomeScreen() {\n return (\n \n Home!\n \n );\n}\n\nfunction SettingsScreen() {\n return (\n \n Settings!\n \n );\n}\n\nconst Tab = createBottomTabNavigator();\n\nexport default function App() {\n return (\n \n \n (\n {\n const event = navigation.emit({\n type: 'tabPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (event.defaultPrevented) {\n preventDefault();\n } else {\n navigation.dispatch({\n ...CommonActions.navigate(route.name, route.params),\n target: state.key,\n });\n }\n }}\n renderIcon={({ route, focused, color }) =>\n descriptors[route.key].options.tabBarIcon?.({\n focused,\n color,\n size: 24,\n }) || null\n }\n getLabelText={({ route }) => {\n const { options } = descriptors[route.key];\n const label =\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : typeof options.title === 'string'\n ? options.title\n : route.name;\n\n return label;\n }}\n />\n )}>\n (\n \n ),\n }}\n />\n (\n \n ),\n }}\n />\n \n \n \n );\n}\n"}}} /> - - - - ## Props - - - - -
- -### shifting - -
- - - -
- -### labeled - -
- - - -
- -### compact - -
- - - -
- -### navigationState (required) - -
- - - -
- -### renderIcon - -
- - - -
- -### renderLabel - -
- - - -
- -### renderTouchable - -
- - - -
- -### getAccessibilityLabel - -
- - - -
- -### getBadge - -
- - - -
- -### getColor - -
- - - -
- -### getLabelText - -
- - - -
- -### getTestID - -
- - - -
- -### onTabPress (required) - -
- - - -
- -### onTabLongPress - -
- - - -
- -### activeColor - -
- - - -
- -### inactiveColor - -
- - - -
- -### animationEasing - -
- - - -
- -### keyboardHidesNavigationBar - -
- - - -
- -### safeAreaInsets - -
- - - -
- -### labelMaxFontSizeMultiplier - -
- - - -
- -### style - -
- - - -
- -### activeIndicatorStyle - -
- - - -
- -### theme - -
- - - -
- -### testID - -
- - - - - - - - - - diff --git a/docs/versioned_docs/version-5.x/components/Card/CardCover.mdx b/docs/versioned_docs/version-5.x/components/Card/CardCover.mdx deleted file mode 100644 index 01c0f5cd08..0000000000 --- a/docs/versioned_docs/version-5.x/components/Card/CardCover.mdx +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: Card.Cover ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - -A component to show a cover image inside a Card. - - - - - - - -## Usage -```js -import * as React from 'react'; -import { Card } from 'react-native-paper'; - -const MyComponent = () => ( - - - -); - -export default MyComponent; -``` - - - - - ## Props - ### Image props - - - -
- -### style - -
- - - -
- -### theme - -
- - - - - - - - - - diff --git a/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxIOS.mdx b/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxIOS.mdx deleted file mode 100644 index f3096f3564..0000000000 --- a/docs/versioned_docs/version-5.x/components/Checkbox/CheckboxIOS.mdx +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: Checkbox.IOS ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - - - - - - - -Checkboxes allow the selection of multiple options from a set. -This component follows platform guidelines for iOS, but can be used -on any platform. - - - - - ## Props - ### TouchableRipple props - - - -
- -### status (required) - -
- - - -
- -### disabled - -
- - - -
- -### onPress - -
- - - -
- -### color - -
- - - -
- -### theme - -
- - - -
- -### testID - -
- - - - - - - - - - diff --git a/docs/versioned_docs/version-5.x/components/DataTable/DataTableRow.mdx b/docs/versioned_docs/version-5.x/components/DataTable/DataTableRow.mdx deleted file mode 100644 index 4a16b262d5..0000000000 --- a/docs/versioned_docs/version-5.x/components/DataTable/DataTableRow.mdx +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: DataTable.Row ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - -A component to show a single row inside of a table. - - - - - - - -## Usage -```js -import * as React from 'react'; -import { DataTable } from 'react-native-paper'; - -const MyComponent = () => ( - - 1 - 2 - 3 - 4 - -); - -export default MyComponent; -``` - - - - - ## Props - ### TouchableRipple props - - - -
- -### children (required) - -
- - - -
- -### onPress - -
- - - -
- -### style - -
- - - -
- -### theme - -
- - - -
- -### pointerEvents - -
- - - - - - - - - - diff --git a/docs/versioned_docs/version-5.x/components/Divider.mdx b/docs/versioned_docs/version-5.x/components/Divider.mdx deleted file mode 100644 index ffe25229b4..0000000000 --- a/docs/versioned_docs/version-5.x/components/Divider.mdx +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: Divider ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - -A divider is a thin, lightweight separator that groups content in lists and page layouts. - - - - - - - -## Usage -```js -import * as React from 'react'; -import { View } from 'react-native'; -import { Divider, Text } from 'react-native-paper'; - -const MyComponent = () => ( - - Lemon - - Mango - - -); - -export default MyComponent; -``` - - - ## Props - - - - -
- -### leftInset Renamed from 'inset' to 'leftInset` in v5.x - -
- - - -
- -### horizontalInset Available in v5.x with theme version 3 - -
- - - -
- -### bold Available in v5.x with theme version 3 - -
- - - -
- -### style - -
- - - -
- -### theme - -
- - - - - - - - - ## Theme colors - - - - - diff --git a/docs/versioned_docs/version-5.x/components/IconButton/IconButton.mdx b/docs/versioned_docs/version-5.x/components/IconButton/IconButton.mdx deleted file mode 100644 index 440a96bc59..0000000000 --- a/docs/versioned_docs/version-5.x/components/IconButton/IconButton.mdx +++ /dev/null @@ -1,190 +0,0 @@ ---- -title: IconButton ---- - -import PropTable from '@site/src/components/PropTable.tsx'; -import ExtendsLink from '@site/src/components/ExtendsLink.tsx'; -import ThemeColorsTable from '@site/src/components/ThemeColorsTable.tsx'; -import ScreenshotTabs from '@site/src/components/ScreenshotTabs.tsx'; -import ExtendedExample from '@site/src/components/ExtendedExample.tsx'; - -An icon button is a button which displays only an icon without a label. - - - - - - - -## Usage -```js -import * as React from 'react'; -import { IconButton, MD3Colors } from 'react-native-paper'; - -const MyComponent = () => ( - console.log('Pressed')} - /> -); - -export default MyComponent; -``` - - - - - ## Props - ### TouchableRipple props - - - -
- -### icon (required) - -
- - - -
- -### mode Available in v5.x with theme version 3 - -
- - - -
- -### iconColor Renamed from 'color' to 'iconColor' in v5.x - -
- - - -
- -### containerColor - -
- - - -
- -### rippleColor - -
- - - -
- -### selected Available in v5.x with theme version 3 - -
- - - -
- -### size - -
- - - -
- -### disabled - -
- - - -
- -### animated - -
- - - -
- -### accessibilityLabel - -
- - - -
- -### contentStyle - -
- - - -
- -### onPress - -
- - - -
- -### style - -
- - - -
- -### ref - -
- - - -
- -### testID - -
- - - -
- -### theme - -
- - - -
- -### loading - -
- - - - - - - - - ## Theme colors - - - - - diff --git a/docs/versioned_docs/version-5.x/components/_category_.json b/docs/versioned_docs/version-5.x/components/_category_.json deleted file mode 100644 index c1ea2a2a75..0000000000 --- a/docs/versioned_docs/version-5.x/components/_category_.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Components" -} \ No newline at end of file diff --git a/docs/versioned_docs/version-5.x/guides/_category_.json b/docs/versioned_docs/version-5.x/guides/_category_.json deleted file mode 100644 index 82c9b69949..0000000000 --- a/docs/versioned_docs/version-5.x/guides/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Guides", - "position": 0 -} diff --git a/docs/versioned_docs/version-6.x/components/_category_.json b/docs/versioned_docs/version-6.x/components/_category_.json deleted file mode 100644 index c1ea2a2a75..0000000000 --- a/docs/versioned_docs/version-6.x/components/_category_.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "label": "Components" -} \ No newline at end of file diff --git a/docs/versioned_docs/version-6.x/guides/_category_.json b/docs/versioned_docs/version-6.x/guides/_category_.json deleted file mode 100644 index 82c9b69949..0000000000 --- a/docs/versioned_docs/version-6.x/guides/_category_.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "label": "Guides", - "position": 0 -} diff --git a/docs/versioned_sidebars/version-5.x-sidebars.json b/docs/versioned_sidebars/version-5.x-sidebars.json deleted file mode 100644 index 9553dd0602..0000000000 --- a/docs/versioned_sidebars/version-5.x-sidebars.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "tutorialSidebar": [ - { - "type": "autogenerated", - "dirName": "guides" - } - ], - "components": [ - { - "type": "autogenerated", - "dirName": "components" - } - ] -} diff --git a/docs/versioned_sidebars/version-6.x-sidebars.json b/docs/versioned_sidebars/version-6.x-sidebars.json deleted file mode 100644 index 9553dd0602..0000000000 --- a/docs/versioned_sidebars/version-6.x-sidebars.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "tutorialSidebar": [ - { - "type": "autogenerated", - "dirName": "guides" - } - ], - "components": [ - { - "type": "autogenerated", - "dirName": "components" - } - ] -} diff --git a/docs/versions.json b/docs/versions.json deleted file mode 100644 index 3f6328c126..0000000000 --- a/docs/versions.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - "6.x", - "5.x" -] diff --git a/eslint.config.mjs b/eslint.config.mjs index de942288e7..ee6bef8b48 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -20,15 +20,27 @@ export default defineConfig( 'dist/', 'web-build/', 'docs/.cache-loader/', - 'docs/.docusaurus/', 'docs/build/', 'docs/dist/', 'docs/docs/components/', 'docs/public/', - 'docs/static/', 'example/coverage/', 'example/dist/', + // generated docs + 'docs/5.x/_nav.json', + 'docs/5.x/index.mdx', + 'docs/5.x/docs/_meta.json', + 'docs/5.x/docs/guides/_meta.json', + 'docs/5.x/docs/components/_meta.json', + 'docs/5.x/docs/components/**/_meta.json', + 'docs/6.x/_nav.json', + 'docs/6.x/index.mdx', + 'docs/6.x/docs/_meta.json', + 'docs/6.x/docs/guides/_meta.json', + 'docs/6.x/docs/components/', + 'docs/src/data/componentDocs6x.json', + // generated by bob 'lib/', @@ -43,6 +55,16 @@ export default defineConfig( plugins: { '@typescript-eslint': tseslint.plugin, }, + languageOptions: { + parserOptions: { + project: [ + './tsconfig.source.json', + './docs/tsconfig.json', + './example/tsconfig.json', + ], + tsconfigRootDir: import.meta.dirname, + }, + }, rules: { '@typescript-eslint/no-unused-vars': [ 'error', @@ -208,17 +230,7 @@ export default defineConfig( { files: ['docs/**/*.{js,ts,tsx}'], settings: { - 'import/core-modules': [ - 'react-native-paper', - '@docusaurus/BrowserOnly', - '@docusaurus/Link', - '@docusaurus/plugin-content-docs/client', - '@site/component-docs-plugin/useDocs', - '@theme/Admonition', - '@theme/CodeBlock', - '@theme/TabItem', - '@theme/Tabs', - ], + 'import/core-modules': ['@rspress/core/runtime', 'react-native-paper'], }, }, { diff --git a/example/tsconfig.json b/example/tsconfig.json index f60f9a761f..e07e1cd93d 100644 --- a/example/tsconfig.json +++ b/example/tsconfig.json @@ -1,3 +1,4 @@ { "extends": "../tsconfig", + "include": ["**/*.ts", "**/*.tsx"] } diff --git a/package.json b/package.json index e183be6c56..3a0296b5f5 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ ], "scripts": { "lint": "eslint", - "typecheck": "tsc", + "typecheck": "tsc -b", "test": "jest", "prepack": "bob build", "generate-mappings": "node ./scripts/generate-mappings.ts", diff --git a/scripts/generate-component-docs.ts b/scripts/generate-component-docs.ts index c4adcbeb52..7550fd1669 100644 --- a/scripts/generate-component-docs.ts +++ b/scripts/generate-component-docs.ts @@ -11,8 +11,6 @@ type PluginOptions = { pages: unknown; }; -type PluginConfig = [string, PluginOptions]; - type PluginFactory = ( context: unknown, options: PluginOptions @@ -23,9 +21,41 @@ type PluginFactory = ( const isRecord = (value: unknown): value is { [key: string]: unknown } => typeof value === 'object' && value !== null; +const isPluginOptions = (value: unknown): value is PluginOptions => { + if (!isRecord(value)) { + return false; + } + + return ( + typeof value.docsRootDir === 'string' && + typeof value.libsRootDir === 'string' && + 'pages' in value + ); +}; + const isPluginFactory = (value: unknown): value is PluginFactory => typeof value === 'function'; +const loadPluginConfig = ( + sourceDir: string, + requireFromScript: ReturnType +): PluginOptions => { + const sharedConfigPath = path.join( + sourceDir, + 'docs', + 'component-docs.config.js' + ); + const sharedConfig: unknown = requireFromScript(sharedConfigPath); + + if (!isPluginOptions(sharedConfig)) { + throw new Error( + `Unable to read component docs config from ${sharedConfigPath}` + ); + } + + return sharedConfig; +}; + const normalizeDocs = (value: unknown, sourceDir: string): unknown => { if (Array.isArray(value)) { return value.map((item) => normalizeDocs(item, sourceDir)); @@ -67,6 +97,11 @@ const normalizeDocs = (value: unknown, sourceDir: string): unknown => { ); }; +const writeJson = (destination: string, value: unknown) => { + fs.mkdirSync(path.dirname(destination), { recursive: true }); + fs.writeFileSync(destination, `${JSON.stringify(value, null, 2)}\n`); +}; + const main = async () => { const [branchName, outputPath = 'docs/src/data/componentDocs5x.json'] = process.argv.slice(2); @@ -126,28 +161,7 @@ const main = async () => { fs.symlinkSync(nodeModulesPath, archivedNodeModulesPath, 'dir'); } - const configPath = path.join(sourceDir, 'docs', 'docusaurus.config.js'); - const config: unknown = requireFromScript(configPath); - - if (!isRecord(config) || !Array.isArray(config.plugins)) { - throw new Error(`Unable to read plugins from ${configPath}`); - } - - const pluginConfig = config.plugins.find( - (plugin: unknown): plugin is PluginConfig => - Array.isArray(plugin) && - plugin[0] === './component-docs-plugin' && - isRecord(plugin[1]) && - typeof plugin[1].docsRootDir === 'string' && - typeof plugin[1].libsRootDir === 'string' - ); - - if (!pluginConfig) { - throw new Error( - `Unable to find component docs plugin config in ${configPath}` - ); - } - + const pluginOptions = loadPluginConfig(sourceDir, requireFromScript); const pluginFactoryPath = path.join( sourceDir, 'docs', @@ -161,19 +175,13 @@ const main = async () => { ); } - const plugin = await pluginFactory({}, pluginConfig[1]); + const plugin = await pluginFactory({}, pluginOptions); const docs = await plugin.loadContent(); const destination = path.resolve(rootDir, outputPath); - fs.mkdirSync(path.dirname(destination), { recursive: true }); - fs.writeFileSync( - destination, - `${JSON.stringify( - { docs: normalizeDocs(docs, fs.realpathSync(sourceDir)) }, - null, - 2 - )}\n` - ); + writeJson(destination, { + docs: normalizeDocs(docs, fs.realpathSync(sourceDir)), + }); } catch (error) { console.error(error instanceof Error ? error.message : String(error)); process.exitCode = 1; diff --git a/tsconfig.build.json b/tsconfig.build.json index e7485e3e40..2a7adecd37 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,4 +1,13 @@ { - "extends": "./tsconfig", - "exclude": ["example", "docs", "**/__tests__/*", "src/test-utils.tsx"] + "extends": "./tsconfig.json", + "include": ["**/*.ts", "**/*.tsx"], + "exclude": [ + "**/__tests__/*", + "__ts-tests__", + "docs", + "example", + "lib", + "node_modules", + "src/test-utils.tsx" + ] } diff --git a/tsconfig.json b/tsconfig.json index 2c3227b757..8178b5189f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,6 +8,7 @@ "customConditions": ["react-native-paper-source"], "allowUnreachableCode": false, "allowUnusedLabels": false, + "allowImportingTsExtensions": true, "erasableSyntaxOnly": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, @@ -30,5 +31,16 @@ "types": ["node"], "verbatimModuleSyntax": true }, - "exclude": ["lib/**/*"] + "files": [], + "references": [ + { + "path": "./tsconfig.source.json" + }, + { + "path": "./docs" + }, + { + "path": "./example" + } + ] } diff --git a/tsconfig.source.json b/tsconfig.source.json new file mode 100644 index 0000000000..c5bb31ce7f --- /dev/null +++ b/tsconfig.source.json @@ -0,0 +1,5 @@ +{ + "extends": "./tsconfig.json", + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["docs", "example", "lib", "node_modules"] +} diff --git a/yarn.lock b/yarn.lock index e74b5f06e7..313bbc5130 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,361 +5,6 @@ __metadata: version: 8 cacheKey: 10c0 -"@algolia/abtesting@npm:1.12.2": - version: 1.12.2 - resolution: "@algolia/abtesting@npm:1.12.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/2bc0c3e86a0f840664815f612e038fb941247f8c785e9aa1e1e90728875472bd853e4fa7681ff3e4f9dbe1c0c3d3997a6ce89b13eaf03af61b2125e8a10837c1 - languageName: node - linkType: hard - -"@algolia/autocomplete-core@npm:1.17.9": - version: 1.17.9 - resolution: "@algolia/autocomplete-core@npm:1.17.9" - dependencies: - "@algolia/autocomplete-plugin-algolia-insights": "npm:1.17.9" - "@algolia/autocomplete-shared": "npm:1.17.9" - checksum: 10c0/e1111769a8723b9dd45fc38cd7edc535c86c1f908b84b5fdc5de06ba6b8c7aca14e5f52ebce84fa5f7adf857332e396b93b7e7933b157b2c9aefc0a19d9574ab - languageName: node - linkType: hard - -"@algolia/autocomplete-plugin-algolia-insights@npm:1.17.9": - version: 1.17.9 - resolution: "@algolia/autocomplete-plugin-algolia-insights@npm:1.17.9" - dependencies: - "@algolia/autocomplete-shared": "npm:1.17.9" - peerDependencies: - search-insights: ">= 1 < 3" - checksum: 10c0/05c21502631643abdcd6e9f70b5814a60d34bad59bca501e26e030fd72e689be5cecfb6e8939a0a1bdcb2394591e55e26a42a82c7247528eafeff714db0819a4 - languageName: node - linkType: hard - -"@algolia/autocomplete-preset-algolia@npm:1.17.9": - version: 1.17.9 - resolution: "@algolia/autocomplete-preset-algolia@npm:1.17.9" - dependencies: - "@algolia/autocomplete-shared": "npm:1.17.9" - peerDependencies: - "@algolia/client-search": ">= 4.9.1 < 6" - algoliasearch: ">= 4.9.1 < 6" - checksum: 10c0/99159c7e02a927d0d96717cb4cfd2f8dbc4da73267a8eae4f83af5bf74087089f6e7dbffd316512e713a4cc534e936b6a7ccb5c4a5ff84b4bf73f2d3cc050e79 - languageName: node - linkType: hard - -"@algolia/autocomplete-shared@npm:1.17.9": - version: 1.17.9 - resolution: "@algolia/autocomplete-shared@npm:1.17.9" - peerDependencies: - "@algolia/client-search": ">= 4.9.1 < 6" - algoliasearch: ">= 4.9.1 < 6" - checksum: 10c0/b318281aecdaae09171b47ee4f7bc66b613852cad4506e9d6278fff35ba68a12dd9cce2d90b5f4c3ba0e3d7d780583cbe46b22275260e41bbf09fb01e4a18f49 - languageName: node - linkType: hard - -"@algolia/cache-browser-local-storage@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/cache-browser-local-storage@npm:4.25.3" - dependencies: - "@algolia/cache-common": "npm:4.25.3" - checksum: 10c0/d511fc9d74aaccea5a5be22ca3a99f476573146a6abf3e053f11700c441088c6586a6a584f4b3dba9ea159eaf2da448e7494e566992f813fdbd1875960de42fd - languageName: node - linkType: hard - -"@algolia/cache-common@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/cache-common@npm:4.25.3" - checksum: 10c0/134d43e96f90701ced24edd029289da504538f73ed7441118ca835e299aaa0902e83a1338b09afe64004b759cd633ecfa8c4f9ede3d0169cc4831d6efe0291cc - languageName: node - linkType: hard - -"@algolia/cache-in-memory@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/cache-in-memory@npm:4.25.3" - dependencies: - "@algolia/cache-common": "npm:4.25.3" - checksum: 10c0/bc61281f4f481b045fb43a1bd16f677c23c1b8aea5ba8ca7e5cf4816843a705a5115edeebfee60c8f90544f99f312d919daf40db72de52ca5edef7f1cf3d35c9 - languageName: node - linkType: hard - -"@algolia/client-abtesting@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-abtesting@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/be50eb231e023538745fac1ea61a632244816b605b31d519eacb16b28bd8e2a444842979f81391ad92e7c7737c8b0ef37037260aca0cf6651653a6383cd79603 - languageName: node - linkType: hard - -"@algolia/client-account@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/client-account@npm:4.25.3" - dependencies: - "@algolia/client-common": "npm:4.25.3" - "@algolia/client-search": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/bb718d06febb72ea6bead8c64562a5d804fa878a9ae3a78fafa461eece6bbd0109fddb0ca517add1ef745cee7b5fe736b31f937cabc4fb29e820e8398b6bae9f - languageName: node - linkType: hard - -"@algolia/client-analytics@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/client-analytics@npm:4.25.3" - dependencies: - "@algolia/client-common": "npm:4.25.3" - "@algolia/client-search": "npm:4.25.3" - "@algolia/requester-common": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/4922f34ecea4f17e56d66a5f34d9d65b685e1c813444ee70db861aa14e8c25ded61e9d7c1555428ca3900500c18b3d7430d99a6299d1cb7b49c6ed06f9649101 - languageName: node - linkType: hard - -"@algolia/client-analytics@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-analytics@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/80f9df688d31987d328296779a7cc30248a58f7ec6efe07837101482c737c9214796009e687e11e50f7dde1fd976b78213210916ba3666e0aa7b9d2884ccd956 - languageName: node - linkType: hard - -"@algolia/client-common@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/client-common@npm:4.25.3" - dependencies: - "@algolia/requester-common": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/f0865dd8763b5695fd852b3d4fdb9fc1fcc5546235683a8714d97e994ab168cb4184a03fa79eb156daec9c789d3d93baf9f846c47acc6cdda6028b02984e3294 - languageName: node - linkType: hard - -"@algolia/client-common@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-common@npm:5.46.2" - checksum: 10c0/a88ca3f5141a6445f8518a384f53ecaad248150affc058d8edf84fd1d7397fb4aa7b66a50d10d848d278216a7b873027224375bf64145ad8435213c6a3727021 - languageName: node - linkType: hard - -"@algolia/client-insights@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-insights@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/4a398ab4796e32c3e02f89392b2294985ad3bea7e9b9052c2c3642691b7975564cdc4b7f06b0bc6ca6d6695efb77c9932e6ff04abb56a486ca8840242b3ebe1c - languageName: node - linkType: hard - -"@algolia/client-personalization@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/client-personalization@npm:4.25.3" - dependencies: - "@algolia/client-common": "npm:4.25.3" - "@algolia/requester-common": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/bf8d1f13805534059354af7597d5a4f5ac7f5415751d4905e7e0f5b367ae6940c557ff35867201ae64b4d7cf1ce6591a0368b319c865a82b497415f8e0353084 - languageName: node - linkType: hard - -"@algolia/client-personalization@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-personalization@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/e5f2225ac50e55defd544c4689438beb22db2f71143da78bb2e987b4be9d908601995e32bc21b64d8ad6fe149caa16039a6580aa5453f5ccd2d665446f98f41d - languageName: node - linkType: hard - -"@algolia/client-query-suggestions@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-query-suggestions@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/98869c0a230bbcaffe538603f3518b4be1b6c97a8db5cb26ed763863734624b44e549a680eea127b64924fc72c343af8c7e20b15eed7467852e4cce414ac8e7e - languageName: node - linkType: hard - -"@algolia/client-search@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/client-search@npm:4.25.3" - dependencies: - "@algolia/client-common": "npm:4.25.3" - "@algolia/requester-common": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/32ad49da60a14d2cfe78f30e9f3e3c57931ba91ccd21d2c5f319c1521b4a173c6ee6510d53557ef7831f964000401fd9fa02d853a2dbf00dd4d740dffe1b8325 - languageName: node - linkType: hard - -"@algolia/client-search@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/client-search@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/a6cc3d80e7cb5c83b98396d67b0b8486336ad63514be47b8f5ba5ed782a2a90ec62c826653c42a9fff6630b52e3d4949f7930bc88fa1e532a62ac31a283311ed - languageName: node - linkType: hard - -"@algolia/events@npm:^4.0.1": - version: 4.0.1 - resolution: "@algolia/events@npm:4.0.1" - checksum: 10c0/f398d815c6ed21ac08f6caadf1e9155add74ac05d99430191c3b1f1335fd91deaf468c6b304e6225c9885d3d44c06037c53def101e33d9c22daff175b2a65ca9 - languageName: node - linkType: hard - -"@algolia/ingestion@npm:1.46.2": - version: 1.46.2 - resolution: "@algolia/ingestion@npm:1.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/b5236313c07b89457381cf614fd66b59ce3a00575afc281b2a28ee4531d0d3f66188735694339034e8faae4f7d329591006de57f9b7db7c55da63aec53b058c0 - languageName: node - linkType: hard - -"@algolia/logger-common@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/logger-common@npm:4.25.3" - checksum: 10c0/503434de662b7b667522ebcd2d9fbc29d9e401ba253fe16ff86a7572e6e113fe021b2762498da8a57b06c2533f86dcecd165f528865e313c5421f099fca9a27e - languageName: node - linkType: hard - -"@algolia/logger-console@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/logger-console@npm:4.25.3" - dependencies: - "@algolia/logger-common": "npm:4.25.3" - checksum: 10c0/996df8eb0b1e9866deec1a0a7f58af1a779c487674a6742bf660a7d31ee2b5a163b99dbbe5050c834922a992066404f9dadf49cf9bbdf0b9adeb7a16fc569337 - languageName: node - linkType: hard - -"@algolia/monitoring@npm:1.46.2": - version: 1.46.2 - resolution: "@algolia/monitoring@npm:1.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/c676a3b5af8914af73a6bb2c19653381d9c6ca7e530e13f46f2bd52d0ae6d0cb162c6dfc511be2bd0e59c98b8083636553000faaf08ab0e31177635230a49726 - languageName: node - linkType: hard - -"@algolia/recommend@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/recommend@npm:4.25.3" - dependencies: - "@algolia/cache-browser-local-storage": "npm:4.25.3" - "@algolia/cache-common": "npm:4.25.3" - "@algolia/cache-in-memory": "npm:4.25.3" - "@algolia/client-common": "npm:4.25.3" - "@algolia/client-search": "npm:4.25.3" - "@algolia/logger-common": "npm:4.25.3" - "@algolia/logger-console": "npm:4.25.3" - "@algolia/requester-browser-xhr": "npm:4.25.3" - "@algolia/requester-common": "npm:4.25.3" - "@algolia/requester-node-http": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/c59db46fcf46a784a982df8dce31298c838f65ffb3cf6193c05791c9c7114508819d81f5fe27da856820f6f2dc4a376c4cb98d3dcd9fc2e682da64c25dc5fe23 - languageName: node - linkType: hard - -"@algolia/recommend@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/recommend@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/5224e8965b4e3dc7f2fadb12ecc073866fab5eceb825079d14689c0ca2bb25fad7d794d9a84d535718ae20bb28ee2a31bb2c941a9d878ffeedb46f6cb6e05600 - languageName: node - linkType: hard - -"@algolia/requester-browser-xhr@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/requester-browser-xhr@npm:4.25.3" - dependencies: - "@algolia/requester-common": "npm:4.25.3" - checksum: 10c0/2b923f192f32d454cef1f889cf788971cdb7b64645aed6d28770bc498036108fb84cd9a3868cf40980e2fe7632016c5eafb3fc82cdd8bd1647c26d36f741de3c - languageName: node - linkType: hard - -"@algolia/requester-browser-xhr@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/requester-browser-xhr@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - checksum: 10c0/4942ccc4327a4de475e8f2d57cf880fc0646d3a8a6e7aa82f429a903f74b2a337acede8dce7993d3638cb6dda432470627219da3d609ff657a7885f4c0b1bd76 - languageName: node - linkType: hard - -"@algolia/requester-common@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/requester-common@npm:4.25.3" - checksum: 10c0/1ba00218e1e36b676dc0809e3fc102d6912f15f71cc6f9d605af4e3510a5d1e4f57d6679a9b1187164099dfd842c4fe97c493fec732efb53cd2238fb3f144fd5 - languageName: node - linkType: hard - -"@algolia/requester-fetch@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/requester-fetch@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - checksum: 10c0/0023a3a9918f169a967865be1c026fe639ed49fd80ec3392d5366726f672411e890f9b7898cb72da8581f754056eb6017ebe46a719e20c68cf68b892a15fa211 - languageName: node - linkType: hard - -"@algolia/requester-node-http@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/requester-node-http@npm:4.25.3" - dependencies: - "@algolia/requester-common": "npm:4.25.3" - checksum: 10c0/38b2b4d87e9c48f14e7325fed17663f15472f6e0217da177a7ef8516f33e871705993626ac025072511ad587373c1eacd635c68f6922c0514fb2f7758d4c941c - languageName: node - linkType: hard - -"@algolia/requester-node-http@npm:5.46.2": - version: 5.46.2 - resolution: "@algolia/requester-node-http@npm:5.46.2" - dependencies: - "@algolia/client-common": "npm:5.46.2" - checksum: 10c0/60054e5a7f549d12917642b4cdeedbf2698436f85de6e063e1af740e774e7ef9719a620ecd44839023d3ce069e1a1a5fef18fec7dfd9449e342da3f52927e3e9 - languageName: node - linkType: hard - -"@algolia/transporter@npm:4.25.3": - version: 4.25.3 - resolution: "@algolia/transporter@npm:4.25.3" - dependencies: - "@algolia/cache-common": "npm:4.25.3" - "@algolia/logger-common": "npm:4.25.3" - "@algolia/requester-common": "npm:4.25.3" - checksum: 10c0/c7160ad528c77b5a88c6da8f2ca0d28171598cbca0b9cade690e78b4baacd814541d09c7df68036849d02e73ee54ee9b06447264617d644b5f823f73e95bfcf7 - languageName: node - linkType: hard - "@ark/schema@npm:0.56.0": version: 0.56.0 resolution: "@ark/schema@npm:0.56.0" @@ -376,7 +21,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.20.0, @babel/code-frame@npm:^7.27.1, @babel/code-frame@npm:^7.8.3": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.20.0, @babel/code-frame@npm:^7.27.1": version: 7.27.1 resolution: "@babel/code-frame@npm:7.27.1" dependencies: @@ -430,31 +75,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:7.12.9": - version: 7.12.9 - resolution: "@babel/core@npm:7.12.9" - dependencies: - "@babel/code-frame": "npm:^7.10.4" - "@babel/generator": "npm:^7.12.5" - "@babel/helper-module-transforms": "npm:^7.12.1" - "@babel/helpers": "npm:^7.12.5" - "@babel/parser": "npm:^7.12.7" - "@babel/template": "npm:^7.12.7" - "@babel/traverse": "npm:^7.12.9" - "@babel/types": "npm:^7.12.7" - convert-source-map: "npm:^1.7.0" - debug: "npm:^4.1.0" - gensync: "npm:^1.0.0-beta.1" - json5: "npm:^2.1.2" - lodash: "npm:^4.17.19" - resolve: "npm:^1.3.2" - semver: "npm:^5.4.1" - source-map: "npm:^0.5.0" - checksum: 10c0/c11d26f5a33a29c94fdd1c492dfd723f48926c51e975448dda57c081c0d74c7b03298642b2651559e0d330ec868b5757b60f9648c71cf7f89fddf79a17cf006f - languageName: node - linkType: hard - -"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.18.6, @babel/core@npm:^7.19.6, @babel/core@npm:^7.20.0, @babel/core@npm:^7.23.9, @babel/core@npm:^7.25.2, @babel/core@npm:^7.7.5": +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.20.0, @babel/core@npm:^7.23.9, @babel/core@npm:^7.25.2, @babel/core@npm:^7.7.5": version: 7.28.5 resolution: "@babel/core@npm:7.28.5" dependencies: @@ -537,7 +158,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:>=7, @babel/generator@npm:^7.12.11, @babel/generator@npm:^7.12.5, @babel/generator@npm:^7.18.7, @babel/generator@npm:^7.20.5, @babel/generator@npm:^7.28.5, @babel/generator@npm:^7.7.2": +"@babel/generator@npm:>=7, @babel/generator@npm:^7.12.11, @babel/generator@npm:^7.20.5, @babel/generator@npm:^7.28.5, @babel/generator@npm:^7.7.2": version: 7.28.5 resolution: "@babel/generator@npm:7.28.5" dependencies: @@ -764,7 +385,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.12.1, @babel/helper-module-transforms@npm:^7.27.1, @babel/helper-module-transforms@npm:^7.28.3": +"@babel/helper-module-transforms@npm:^7.27.1, @babel/helper-module-transforms@npm:^7.28.3": version: 7.28.3 resolution: "@babel/helper-module-transforms@npm:7.28.3" dependencies: @@ -812,13 +433,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:7.10.4": - version: 7.10.4 - resolution: "@babel/helper-plugin-utils@npm:7.10.4" - checksum: 10c0/113d0405281f5490658f7c1c3a81b4a37927375e1ebcccd2fd90be538a102da0c2d6024561aaf26bd1c71ef7688b5a8b96a87d938db8d9774454ab635011fc7f - languageName: node - linkType: hard - "@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.27.1, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": version: 7.27.1 resolution: "@babel/helper-plugin-utils@npm:7.27.1" @@ -942,7 +556,7 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.12.5, @babel/helpers@npm:^7.28.4": +"@babel/helpers@npm:^7.28.4": version: 7.28.4 resolution: "@babel/helpers@npm:7.28.4" dependencies: @@ -972,7 +586,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.7, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.8, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.5": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.27.2, @babel/parser@npm:^7.28.5": version: 7.28.5 resolution: "@babel/parser@npm:7.28.5" dependencies: @@ -1136,19 +750,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-object-rest-spread@npm:7.12.1": - version: 7.12.1 - resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.12.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.10.4" - "@babel/plugin-syntax-object-rest-spread": "npm:^7.8.0" - "@babel/plugin-transform-parameters": "npm:^7.12.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/f773d59ead8b056b646d585e95d610cca2f0aeaa2eeaad74b3eb9e25821b06f27e361dd0aac9a088a10c22fee1ead8863f82a2be073e28eb04ca9a330a00941e - languageName: node - linkType: hard - "@babel/plugin-proposal-object-rest-spread@npm:^7.3.2": version: 7.20.7 resolution: "@babel/plugin-proposal-object-rest-spread@npm:7.20.7" @@ -1349,17 +950,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-jsx@npm:7.12.1": - version: 7.12.1 - resolution: "@babel/plugin-syntax-jsx@npm:7.12.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.10.4" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/11d435f9e4e71c0f00e5bc295b40747c2c42341b7f38ddc5f8ac41d49ddfa247514dbe91932fa3dabd65581b4c7a9fe5b3d1c2b285e5ca32f4e5296cc185d40c - languageName: node - linkType: hard - "@babel/plugin-syntax-jsx@npm:^7.2.0, @babel/plugin-syntax-jsx@npm:^7.27.1, @babel/plugin-syntax-jsx@npm:^7.7.2": version: 7.27.1 resolution: "@babel/plugin-syntax-jsx@npm:7.27.1" @@ -1426,7 +1016,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-object-rest-spread@npm:7.8.3, @babel/plugin-syntax-object-rest-spread@npm:^7.8.0, @babel/plugin-syntax-object-rest-spread@npm:^7.8.3": +"@babel/plugin-syntax-object-rest-spread@npm:^7.8.3": version: 7.8.3 resolution: "@babel/plugin-syntax-object-rest-spread@npm:7.8.3" dependencies: @@ -2189,7 +1779,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-parameters@npm:^7.12.1, @babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.24.7, @babel/plugin-transform-parameters@npm:^7.27.7": +"@babel/plugin-transform-parameters@npm:^7.20.7, @babel/plugin-transform-parameters@npm:^7.24.7, @babel/plugin-transform-parameters@npm:^7.27.7": version: 7.27.7 resolution: "@babel/plugin-transform-parameters@npm:7.27.7" dependencies: @@ -2261,17 +1851,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-react-constant-elements@npm:^7.18.12": - version: 7.27.1 - resolution: "@babel/plugin-transform-react-constant-elements@npm:7.27.1" - dependencies: - "@babel/helper-plugin-utils": "npm:^7.27.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/07fa88dd312c97d05de95e344a11a78e24d711e7bde879076d8880869ad7b0dc69c5a5ad056790595043cb9c533fd93af0ba015eed4631315282295f767ccfbe - languageName: node - linkType: hard - "@babel/plugin-transform-react-display-name@npm:^7.24.7, @babel/plugin-transform-react-display-name@npm:^7.28.0": version: 7.28.0 resolution: "@babel/plugin-transform-react-display-name@npm:7.28.0" @@ -2430,7 +2009,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-transform-runtime@npm:>=7, @babel/plugin-transform-runtime@npm:^7.18.6, @babel/plugin-transform-runtime@npm:^7.24.7": +"@babel/plugin-transform-runtime@npm:>=7, @babel/plugin-transform-runtime@npm:^7.24.7": version: 7.28.5 resolution: "@babel/plugin-transform-runtime@npm:7.28.5" dependencies: @@ -2611,7 +2190,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-env@npm:^7.12.1, @babel/preset-env@npm:^7.18.6, @babel/preset-env@npm:^7.19.4": +"@babel/preset-env@npm:^7.12.1": version: 7.28.5 resolution: "@babel/preset-env@npm:7.28.5" dependencies: @@ -2798,7 +2377,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-react@npm:^7.12.1, @babel/preset-react@npm:^7.18.6, @babel/preset-react@npm:^7.28.5": +"@babel/preset-react@npm:^7.12.1, @babel/preset-react@npm:^7.28.5": version: 7.28.5 resolution: "@babel/preset-react@npm:7.28.5" dependencies: @@ -2814,7 +2393,7 @@ __metadata: languageName: node linkType: hard -"@babel/preset-typescript@npm:^7.12.1, @babel/preset-typescript@npm:^7.18.6, @babel/preset-typescript@npm:^7.23.0, @babel/preset-typescript@npm:^7.27.1, @babel/preset-typescript@npm:^7.28.5": +"@babel/preset-typescript@npm:^7.12.1, @babel/preset-typescript@npm:^7.23.0, @babel/preset-typescript@npm:^7.27.1, @babel/preset-typescript@npm:^7.28.5": version: 7.28.5 resolution: "@babel/preset-typescript@npm:7.28.5" dependencies: @@ -2844,23 +2423,14 @@ __metadata: languageName: node linkType: hard -"@babel/runtime-corejs3@npm:^7.18.6": - version: 7.28.4 - resolution: "@babel/runtime-corejs3@npm:7.28.4" - dependencies: - core-js-pure: "npm:^3.43.0" - checksum: 10c0/0a7fe2d4e36d345acf090dd685b5c6ed55af3ead69a84e2cfca56631815dd757f3a362031b376cc746f63f0fd856e7a5280807833f7fa9a5b7f1febd97f8c0da - languageName: node - linkType: hard - -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.20.13, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.7.6": +"@babel/runtime@npm:^7.15.4, @babel/runtime@npm:^7.18.6, @babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.20.0, @babel/runtime@npm:^7.25.0, @babel/runtime@npm:^7.7.6": version: 7.28.4 resolution: "@babel/runtime@npm:7.28.4" checksum: 10c0/792ce7af9750fb9b93879cc9d1db175701c4689da890e6ced242ea0207c9da411ccf16dc04e689cc01158b28d7898c40d75598f4559109f761c12ce01e959bf7 languageName: node linkType: hard -"@babel/template@npm:>=7, @babel/template@npm:^7.12.7, @babel/template@npm:^7.27.1, @babel/template@npm:^7.27.2, @babel/template@npm:^7.3.3": +"@babel/template@npm:>=7, @babel/template@npm:^7.27.1, @babel/template@npm:^7.27.2, @babel/template@npm:^7.3.3": version: 7.27.2 resolution: "@babel/template@npm:7.27.2" dependencies: @@ -2893,7 +2463,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.9, @babel/traverse@npm:^7.18.8, @babel/traverse@npm:^7.27.1, @babel/traverse@npm:^7.28.0, @babel/traverse@npm:^7.28.3, @babel/traverse@npm:^7.28.4, @babel/traverse@npm:^7.28.5": +"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.27.1, @babel/traverse@npm:^7.28.0, @babel/traverse@npm:^7.28.3, @babel/traverse@npm:^7.28.4, @babel/traverse@npm:^7.28.5": version: 7.28.5 resolution: "@babel/traverse@npm:7.28.5" dependencies: @@ -2938,7 +2508,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.12.7, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.26.0, @babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.2, @babel/types@npm:^7.28.4, @babel/types@npm:^7.28.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.2.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.26.0, @babel/types@npm:^7.27.1, @babel/types@npm:^7.27.3, @babel/types@npm:^7.28.2, @babel/types@npm:^7.28.4, @babel/types@npm:^7.28.5, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": version: 7.28.5 resolution: "@babel/types@npm:7.28.5" dependencies: @@ -3018,6 +2588,32 @@ __metadata: languageName: node linkType: hard +"@callstack/rspress-preset@npm:0.6.6": + version: 0.6.6 + resolution: "@callstack/rspress-preset@npm:0.6.6" + dependencies: + "@callstack/rspress-theme": "npm:0.6.6" + "@rspress/plugin-sitemap": "npm:^2.0.8" + "@vercel/analytics": "npm:^2.0.1" + rsbuild-plugin-open-graph: "npm:^1.1.2" + zod: "npm:^4.3.6" + peerDependencies: + "@rspress/core": ^2.0.8 + checksum: 10c0/2f45d4e6a231bd9ca36e809d6a55064bbe035ebf042ecf8d9e31e819fa6d8b703192488cf4a884ee2772be84a08d12dbc5a2d10aee5df453804b402882363929 + languageName: node + linkType: hard + +"@callstack/rspress-theme@npm:0.6.6": + version: 0.6.6 + resolution: "@callstack/rspress-theme@npm:0.6.6" + peerDependencies: + "@rspress/core": ^2.0.8 + react: ^19.2.4 + react-dom: ^19.2.4 + checksum: 10c0/e361625a922389bb23ab223e2b3ff4720c976e16c016784fbb0da373ee816920b3316ce9ad3ede6e485d05aeec942568940e62d0854ff785dd66c839957848e3 + languageName: node + linkType: hard + "@cnakazawa/watch@npm:^1.0.3": version: 1.0.4 resolution: "@cnakazawa/watch@npm:1.0.4" @@ -3030,13 +2626,6 @@ __metadata: languageName: node linkType: hard -"@colors/colors@npm:1.5.0": - version: 1.5.0 - resolution: "@colors/colors@npm:1.5.0" - checksum: 10c0/eb42729851adca56d19a08e48d5a1e95efd2a32c55ae0323de8119052be0510d4b7a1611f2abcbf28c044a6c11e6b7d38f99fccdad7429300c37a8ea5fb95b44 - languageName: node - linkType: hard - "@commitlint/cli@npm:^8.3.6": version: 8.3.6 resolution: "@commitlint/cli@npm:8.3.6" @@ -3199,682 +2788,74 @@ __metadata: languageName: node linkType: hard -"@discoveryjs/json-ext@npm:0.5.7": - version: 0.5.7 - resolution: "@discoveryjs/json-ext@npm:0.5.7" - checksum: 10c0/e10f1b02b78e4812646ddf289b7d9f2cb567d336c363b266bd50cd223cf3de7c2c74018d91cd2613041568397ef3a4a2b500aba588c6e5bd78c38374ba68f38c - languageName: node - linkType: hard - -"@docsearch/css@npm:3.9.0": - version: 3.9.0 - resolution: "@docsearch/css@npm:3.9.0" - checksum: 10c0/6300551e1cab7a5487063ec3581ae78ddaee3d93ec799556b451054448559b3ba849751b825fbd8b678367ef944bd82b3f11bc1d9e74e08e3cc48db40487b396 - languageName: node - linkType: hard - -"@docsearch/react@npm:^3.1.1": - version: 3.9.0 - resolution: "@docsearch/react@npm:3.9.0" +"@egjs/hammerjs@npm:^2.0.17": + version: 2.0.17 + resolution: "@egjs/hammerjs@npm:2.0.17" dependencies: - "@algolia/autocomplete-core": "npm:1.17.9" - "@algolia/autocomplete-preset-algolia": "npm:1.17.9" - "@docsearch/css": "npm:3.9.0" - algoliasearch: "npm:^5.14.2" - peerDependencies: - "@types/react": ">= 16.8.0 < 20.0.0" - react: ">= 16.8.0 < 20.0.0" - react-dom: ">= 16.8.0 < 20.0.0" - search-insights: ">= 1 < 3" - peerDependenciesMeta: - "@types/react": - optional: true - react: - optional: true - react-dom: - optional: true - search-insights: - optional: true - checksum: 10c0/5e737a5d9ef1daae1cd93e89870214c1ab0c36a3a2193e898db044bcc5d9de59f85228b2360ec0e8f10cdac7fd2fe3c6ec8a05d943ee7e17d6c1cef2e6e9ff2d + "@types/hammerjs": "npm:^2.0.36" + checksum: 10c0/dbedc15a0e633f887c08394bd636faf6a3abd05726dc0909a0e01209d5860a752d9eca5e512da623aecfabe665f49f1d035de3103eb2f9022c5cea692f9cc9be languageName: node linkType: hard -"@docusaurus/core@npm:2.4.3, @docusaurus/core@npm:^2.3.6": - version: 2.4.3 - resolution: "@docusaurus/core@npm:2.4.3" +"@emnapi/core@npm:1.10.0": + version: 1.10.0 + resolution: "@emnapi/core@npm:1.10.0" dependencies: - "@babel/core": "npm:^7.18.6" - "@babel/generator": "npm:^7.18.7" - "@babel/plugin-syntax-dynamic-import": "npm:^7.8.3" - "@babel/plugin-transform-runtime": "npm:^7.18.6" - "@babel/preset-env": "npm:^7.18.6" - "@babel/preset-react": "npm:^7.18.6" - "@babel/preset-typescript": "npm:^7.18.6" - "@babel/runtime": "npm:^7.18.6" - "@babel/runtime-corejs3": "npm:^7.18.6" - "@babel/traverse": "npm:^7.18.8" - "@docusaurus/cssnano-preset": "npm:2.4.3" - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/mdx-loader": "npm:2.4.3" - "@docusaurus/react-loadable": "npm:5.5.2" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-common": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - "@slorber/static-site-generator-webpack-plugin": "npm:^4.0.7" - "@svgr/webpack": "npm:^6.2.1" - autoprefixer: "npm:^10.4.7" - babel-loader: "npm:^8.2.5" - babel-plugin-dynamic-import-node: "npm:^2.3.3" - boxen: "npm:^6.2.1" - chalk: "npm:^4.1.2" - chokidar: "npm:^3.5.3" - clean-css: "npm:^5.3.0" - cli-table3: "npm:^0.6.2" - combine-promises: "npm:^1.1.0" - commander: "npm:^5.1.0" - copy-webpack-plugin: "npm:^11.0.0" - core-js: "npm:^3.23.3" - css-loader: "npm:^6.7.1" - css-minimizer-webpack-plugin: "npm:^4.0.0" - cssnano: "npm:^5.1.12" - del: "npm:^6.1.1" - detect-port: "npm:^1.3.0" - escape-html: "npm:^1.0.3" - eta: "npm:^2.0.0" - file-loader: "npm:^6.2.0" - fs-extra: "npm:^10.1.0" - html-minifier-terser: "npm:^6.1.0" - html-tags: "npm:^3.2.0" - html-webpack-plugin: "npm:^5.5.0" - import-fresh: "npm:^3.3.0" - leven: "npm:^3.1.0" - lodash: "npm:^4.17.21" - mini-css-extract-plugin: "npm:^2.6.1" - postcss: "npm:^8.4.14" - postcss-loader: "npm:^7.0.0" - prompts: "npm:^2.4.2" - react-dev-utils: "npm:^12.0.1" - react-helmet-async: "npm:^1.3.0" - react-loadable: "npm:@docusaurus/react-loadable@5.5.2" - react-loadable-ssr-addon-v5-slorber: "npm:^1.0.1" - react-router: "npm:^5.3.3" - react-router-config: "npm:^5.1.1" - react-router-dom: "npm:^5.3.3" - rtl-detect: "npm:^1.0.4" - semver: "npm:^7.3.7" - serve-handler: "npm:^6.1.3" - shelljs: "npm:^0.8.5" - terser-webpack-plugin: "npm:^5.3.3" + "@emnapi/wasi-threads": "npm:1.2.1" tslib: "npm:^2.4.0" - update-notifier: "npm:^5.1.0" - url-loader: "npm:^4.1.1" - wait-on: "npm:^6.0.1" - webpack: "npm:^5.73.0" - webpack-bundle-analyzer: "npm:^4.5.0" - webpack-dev-server: "npm:^4.9.3" - webpack-merge: "npm:^5.8.0" - webpackbar: "npm:^5.0.2" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - bin: - docusaurus: bin/docusaurus.mjs - checksum: 10c0/afa7e504e537499d110cbf1aad58873864b3ddce8ee6891ad951bb43c8a5bbab39e46519c3b92506bd12476e25abfaa8330fbb261e2cc90ef18386e8e8e3e9e3 + checksum: 10c0/f51d08227857b60632de7714d708124f0e100a1462dde6df8221760939aa3204a73193830371830fac0716f3ccd2129f2cac1b17cd7d7958bc4da9018a296edb languageName: node linkType: hard -"@docusaurus/cssnano-preset@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/cssnano-preset@npm:2.4.3" +"@emnapi/runtime@npm:1.10.0": + version: 1.10.0 + resolution: "@emnapi/runtime@npm:1.10.0" dependencies: - cssnano-preset-advanced: "npm:^5.3.8" - postcss: "npm:^8.4.14" - postcss-sort-media-queries: "npm:^4.2.1" tslib: "npm:^2.4.0" - checksum: 10c0/f069913f17d8ccacecb7ed9f471f3f7bfce9f98872de796e0751066546378f6dcfe74bf2c1cd11764c372c7ae4b1538f8564971d982c3209160b24d39fc7f383 + checksum: 10c0/953f14991d1aefb92ee6f8eb27dea725e484791a53a0cb5f47d9e0087b9a2c929ff2e92adf95af15d6ad456db6300c6b761ebf72b50a875b874a83520b3ba093 languageName: node linkType: hard -"@docusaurus/logger@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/logger@npm:2.4.3" +"@emnapi/wasi-threads@npm:1.2.1": + version: 1.2.1 + resolution: "@emnapi/wasi-threads@npm:1.2.1" dependencies: - chalk: "npm:^4.1.2" tslib: "npm:^2.4.0" - checksum: 10c0/a94de20b5c3742fb273878db497e16c14f130b7a245579f6eb293dab59b13833085317e864876e0e87f145a92cdf522bcb0ea2c98ae7dd7af00b8d6aa0da9229 + checksum: 10c0/32fcfa81ab396533b2ec1f4082b1ff779a05d9c836bbbd3f4398405b0e6814c0d9503b7993130e37bc6941dbc1ded49f55e9700ae9ca4e803bab2b5bc5deb331 languageName: node linkType: hard -"@docusaurus/mdx-loader@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/mdx-loader@npm:2.4.3" +"@emotion/is-prop-valid@npm:^0.8.8": + version: 0.8.8 + resolution: "@emotion/is-prop-valid@npm:0.8.8" dependencies: - "@babel/parser": "npm:^7.18.8" - "@babel/traverse": "npm:^7.18.8" - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@mdx-js/mdx": "npm:^1.6.22" - escape-html: "npm:^1.0.3" - file-loader: "npm:^6.2.0" - fs-extra: "npm:^10.1.0" - image-size: "npm:^1.0.1" - mdast-util-to-string: "npm:^2.0.0" - remark-emoji: "npm:^2.2.0" - stringify-object: "npm:^3.3.0" - tslib: "npm:^2.4.0" - unified: "npm:^9.2.2" - unist-util-visit: "npm:^2.0.3" - url-loader: "npm:^4.1.1" - webpack: "npm:^5.73.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/3daf13e28ecd152003977ec428cba3a06db347968e6a26d83b3191d35f036a852f536bf66dd2e8928086ad6c9d5496695bac6a75935cf4722234481f608b9cfa + "@emotion/memoize": "npm:0.7.4" + checksum: 10c0/f6be625f067c7fa56a12a4edaf090715616dc4fc7803c87212831f38c969350107b9709b1be54100e53153b18d9fa068eb4bf4f9ac66a37a8edf1bac9b64e279 languageName: node linkType: hard -"@docusaurus/module-type-aliases@npm:2.4.3, @docusaurus/module-type-aliases@npm:^2.3.6": - version: 2.4.3 - resolution: "@docusaurus/module-type-aliases@npm:2.4.3" - dependencies: - "@docusaurus/react-loadable": "npm:5.5.2" - "@docusaurus/types": "npm:2.4.3" - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - "@types/react-router-config": "npm:*" - "@types/react-router-dom": "npm:*" - react-helmet-async: "npm:*" - react-loadable: "npm:@docusaurus/react-loadable@5.5.2" - peerDependencies: - react: "*" - react-dom: "*" - checksum: 10c0/9141a6d6162e4b5a610152a8323830696484e98484c1687661098103936b1ac8137c8131b55bff9e270975dcdba1b59426e561451d56fe1b2424c1485ec31906 +"@emotion/memoize@npm:0.7.4": + version: 0.7.4 + resolution: "@emotion/memoize@npm:0.7.4" + checksum: 10c0/b2376548fc147b43afd1ff005a80a1a025bd7eb4fb759fdb23e96e5ff290ee8ba16628a332848d600fb91c3cdc319eee5395fa33d8875e5d5a8c4ce18cddc18e languageName: node linkType: hard -"@docusaurus/plugin-content-blog@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-content-blog@npm:2.4.3" +"@eslint-community/eslint-utils@npm:^4.4.0, @eslint-community/eslint-utils@npm:^4.8.0, @eslint-community/eslint-utils@npm:^4.9.1": + version: 4.9.1 + resolution: "@eslint-community/eslint-utils@npm:4.9.1" dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/mdx-loader": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-common": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - cheerio: "npm:^1.0.0-rc.12" - feed: "npm:^4.2.2" - fs-extra: "npm:^10.1.0" - lodash: "npm:^4.17.21" - reading-time: "npm:^1.5.0" - tslib: "npm:^2.4.0" - unist-util-visit: "npm:^2.0.3" - utility-types: "npm:^3.10.0" - webpack: "npm:^5.73.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/23869d0533bd9693ea9d32d7a638e9adb51a9a9dbbc189533f1f0c62092c613538448d10c9b9fc24b2e1fd4832d8f969574768191a2850bdb40fdd8e7b0470b6 - languageName: node - linkType: hard - -"@docusaurus/plugin-content-docs@npm:2.4.3, @docusaurus/plugin-content-docs@npm:^2.0.0-rc.1": - version: 2.4.3 - resolution: "@docusaurus/plugin-content-docs@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/mdx-loader": "npm:2.4.3" - "@docusaurus/module-type-aliases": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - "@types/react-router-config": "npm:^5.0.6" - combine-promises: "npm:^1.1.0" - fs-extra: "npm:^10.1.0" - import-fresh: "npm:^3.3.0" - js-yaml: "npm:^4.1.0" - lodash: "npm:^4.17.21" - tslib: "npm:^2.4.0" - utility-types: "npm:^3.10.0" - webpack: "npm:^5.73.0" + eslint-visitor-keys: "npm:^3.4.3" peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/ad22c773a875c96e82b1ecb770d19d34edbf9acc23464ce2e5098049d2b1f6220493f94d77c3670668572a3e70dbd2e52dc1015137bcf0944d4cc8867dbc8cef + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + checksum: 10c0/dc4ab5e3e364ef27e33666b11f4b86e1a6c1d7cbf16f0c6ff87b1619b3562335e9201a3d6ce806221887ff780ec9d828962a290bb910759fd40a674686503f02 languageName: node linkType: hard -"@docusaurus/plugin-content-pages@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-content-pages@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/mdx-loader": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - fs-extra: "npm:^10.1.0" - tslib: "npm:^2.4.0" - webpack: "npm:^5.73.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/c488027a1f119e207f264a96fdb5fba33bb3ec02b01d1ecbe0beaddc66773e446aca58e8ae2f62b705e9ace0789d02f9731902a150d3c1b60a3e9b75ca9c9839 - languageName: node - linkType: hard - -"@docusaurus/plugin-debug@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-debug@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - fs-extra: "npm:^10.1.0" - react-json-view: "npm:^1.21.3" - tslib: "npm:^2.4.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/64cd8c0c9868f4da2b1a19525c1af3a5e8ee8284a29053243afbbb888542c506f6a0c30711042dca31d170ff6fada5b2f5736603c4b2ea0017155ec9659aa77f - languageName: node - linkType: hard - -"@docusaurus/plugin-google-analytics@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-google-analytics@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - tslib: "npm:^2.4.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/2998a4ed28d046baa6c443a57b9420fb3f4d78d318c076308b4c1890fc8d05b3f4f7236eba271c1ed88cc80621314eb176f06f29f7ee23274c62d916916a7dee - languageName: node - linkType: hard - -"@docusaurus/plugin-google-gtag@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-google-gtag@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - tslib: "npm:^2.4.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/e978622437b19fe6873c301cb2da5ff64e6d464bb10cac509b07eef01622f5518f4b41c3c91fb8a384017b0414e32439970dbacef61cddba8279615eb59a011c - languageName: node - linkType: hard - -"@docusaurus/plugin-google-tag-manager@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-google-tag-manager@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - tslib: "npm:^2.4.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/d17e82aa6bbaa6f25752677dc50f3343212e112035ab5c2dfc065126d287f93354adfe655c726708be59de3e66c0cecdf6feb12fd5eb36b8939ed26ad4338a10 - languageName: node - linkType: hard - -"@docusaurus/plugin-sitemap@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/plugin-sitemap@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-common": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - fs-extra: "npm:^10.1.0" - sitemap: "npm:^7.1.1" - tslib: "npm:^2.4.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/da268caa3ef80c6581c66bcc141ab4ead9256be45c92acfbb9fa1ddf1288f1eaeae482bf5957193efdfa8b1723696f3d7d4f2cc256d0db009fcc3cea7f53b9e7 - languageName: node - linkType: hard - -"@docusaurus/preset-classic@npm:^2.3.6": - version: 2.4.3 - resolution: "@docusaurus/preset-classic@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/plugin-content-blog": "npm:2.4.3" - "@docusaurus/plugin-content-docs": "npm:2.4.3" - "@docusaurus/plugin-content-pages": "npm:2.4.3" - "@docusaurus/plugin-debug": "npm:2.4.3" - "@docusaurus/plugin-google-analytics": "npm:2.4.3" - "@docusaurus/plugin-google-gtag": "npm:2.4.3" - "@docusaurus/plugin-google-tag-manager": "npm:2.4.3" - "@docusaurus/plugin-sitemap": "npm:2.4.3" - "@docusaurus/theme-classic": "npm:2.4.3" - "@docusaurus/theme-common": "npm:2.4.3" - "@docusaurus/theme-search-algolia": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/2ab1e2a8f4e3b80edf1b6e8900d0c49976ff1e05b74ee5cc1d9c41b805f1dbc5948f1ad01189278682f2cbb4269dfa1d0ea0e73e3defc7406522ff047bc06321 - languageName: node - linkType: hard - -"@docusaurus/react-loadable@npm:5.5.2, react-loadable@npm:@docusaurus/react-loadable@5.5.2": - version: 5.5.2 - resolution: "@docusaurus/react-loadable@npm:5.5.2" - dependencies: - "@types/react": "npm:*" - prop-types: "npm:^15.6.2" - peerDependencies: - react: "*" - checksum: 10c0/3f6a335d55c811c4fd40300ff0d87ae88f44f96e9c43a4c3f54f1c19b7a55bae601e43d66f797074e204699fd6abb69affa65fc4c5a819e8f1c2adb8a912da46 - languageName: node - linkType: hard - -"@docusaurus/remark-plugin-npm2yarn@npm:^2.3.6": - version: 2.4.3 - resolution: "@docusaurus/remark-plugin-npm2yarn@npm:2.4.3" - dependencies: - npm-to-yarn: "npm:^2.0.0" - tslib: "npm:^2.4.1" - unist-util-visit: "npm:^2.0.3" - checksum: 10c0/e80fe27f9d366154686c3db6328d37871d192ef6dbc0762f75852b9705cb1d193832aa74ba73cff375c175845f84c05a202165d17f2f2a2f9c525ecf4aa51f8b - languageName: node - linkType: hard - -"@docusaurus/theme-classic@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/theme-classic@npm:2.4.3" - dependencies: - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/mdx-loader": "npm:2.4.3" - "@docusaurus/module-type-aliases": "npm:2.4.3" - "@docusaurus/plugin-content-blog": "npm:2.4.3" - "@docusaurus/plugin-content-docs": "npm:2.4.3" - "@docusaurus/plugin-content-pages": "npm:2.4.3" - "@docusaurus/theme-common": "npm:2.4.3" - "@docusaurus/theme-translations": "npm:2.4.3" - "@docusaurus/types": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-common": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - "@mdx-js/react": "npm:^1.6.22" - clsx: "npm:^1.2.1" - copy-text-to-clipboard: "npm:^3.0.1" - infima: "npm:0.2.0-alpha.43" - lodash: "npm:^4.17.21" - nprogress: "npm:^0.2.0" - postcss: "npm:^8.4.14" - prism-react-renderer: "npm:^1.3.5" - prismjs: "npm:^1.28.0" - react-router-dom: "npm:^5.3.3" - rtlcss: "npm:^3.5.0" - tslib: "npm:^2.4.0" - utility-types: "npm:^3.10.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/18d2c997e416f8f933781db522f48ed2ee5d89ea80822f33ab0b4056d3866f9890cf19fdbd8e90839625aad858dcc7c63c1cf52c737a1d4ac8272606e505ec88 - languageName: node - linkType: hard - -"@docusaurus/theme-common@npm:2.4.3, @docusaurus/theme-common@npm:^2.3.6": - version: 2.4.3 - resolution: "@docusaurus/theme-common@npm:2.4.3" - dependencies: - "@docusaurus/mdx-loader": "npm:2.4.3" - "@docusaurus/module-type-aliases": "npm:2.4.3" - "@docusaurus/plugin-content-blog": "npm:2.4.3" - "@docusaurus/plugin-content-docs": "npm:2.4.3" - "@docusaurus/plugin-content-pages": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-common": "npm:2.4.3" - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - "@types/react-router-config": "npm:*" - clsx: "npm:^1.2.1" - parse-numeric-range: "npm:^1.3.0" - prism-react-renderer: "npm:^1.3.5" - tslib: "npm:^2.4.0" - use-sync-external-store: "npm:^1.2.0" - utility-types: "npm:^3.10.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/bb0c6e253a77a033d8041b7e042e67d28feb3fbc99a3c753fb45e1b4ffa38ce9f24d21b3363ff971d1d63bc34025ec5baf09a476a7c8eba372c94c5db24e8b34 - languageName: node - linkType: hard - -"@docusaurus/theme-search-algolia@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/theme-search-algolia@npm:2.4.3" - dependencies: - "@docsearch/react": "npm:^3.1.1" - "@docusaurus/core": "npm:2.4.3" - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/plugin-content-docs": "npm:2.4.3" - "@docusaurus/theme-common": "npm:2.4.3" - "@docusaurus/theme-translations": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - "@docusaurus/utils-validation": "npm:2.4.3" - algoliasearch: "npm:^4.13.1" - algoliasearch-helper: "npm:^3.10.0" - clsx: "npm:^1.2.1" - eta: "npm:^2.0.0" - fs-extra: "npm:^10.1.0" - lodash: "npm:^4.17.21" - tslib: "npm:^2.4.0" - utility-types: "npm:^3.10.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/657974a334ecaf96e8901af1c56c716b2d18e188420c828740dea12e04f49897108c621fb49319ce2b6ed82fc09ceb6931deb242ac35d0a42b96e9fad4275567 - languageName: node - linkType: hard - -"@docusaurus/theme-translations@npm:2.4.3, @docusaurus/theme-translations@npm:^2.0.0-rc.1": - version: 2.4.3 - resolution: "@docusaurus/theme-translations@npm:2.4.3" - dependencies: - fs-extra: "npm:^10.1.0" - tslib: "npm:^2.4.0" - checksum: 10c0/6b3765b73453e05e2d4b4f90a30373d1e8511ede04a6f0134157a7d79ef0f27d7a8990b30e932c769fc51058942943b01b82d73c3acae7d2573a7075e00d97dd - languageName: node - linkType: hard - -"@docusaurus/types@npm:2.4.3": - version: 2.4.3 - resolution: "@docusaurus/types@npm:2.4.3" - dependencies: - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - commander: "npm:^5.1.0" - joi: "npm:^17.6.0" - react-helmet-async: "npm:^1.3.0" - utility-types: "npm:^3.10.0" - webpack: "npm:^5.73.0" - webpack-merge: "npm:^5.8.0" - peerDependencies: - react: ^16.8.4 || ^17.0.0 - react-dom: ^16.8.4 || ^17.0.0 - checksum: 10c0/71ae109849862629033cc2f275b1064c1e2dde7f39b065793320fc1a442c40353fcc8730a7274da9814c577a059f0ddb956429228ad407ada6c0f5b5816d0aee - languageName: node - linkType: hard - -"@docusaurus/utils-common@npm:2.4.3, @docusaurus/utils-common@npm:^2.0.0-rc.1": - version: 2.4.3 - resolution: "@docusaurus/utils-common@npm:2.4.3" - dependencies: - tslib: "npm:^2.4.0" - peerDependencies: - "@docusaurus/types": "*" - peerDependenciesMeta: - "@docusaurus/types": - optional: true - checksum: 10c0/6810da88b7b2df0031ec40e9f73f34eef6c8457a40a5719eef8c8e351f880a0666570a0ed77aea9b3d85c17fedc77b9a8b58ac4426fb4f11e34bc6994601ced3 - languageName: node - linkType: hard - -"@docusaurus/utils-validation@npm:2.4.3, @docusaurus/utils-validation@npm:^2.0.0-rc.1": - version: 2.4.3 - resolution: "@docusaurus/utils-validation@npm:2.4.3" - dependencies: - "@docusaurus/logger": "npm:2.4.3" - "@docusaurus/utils": "npm:2.4.3" - joi: "npm:^17.6.0" - js-yaml: "npm:^4.1.0" - tslib: "npm:^2.4.0" - checksum: 10c0/cb8e2dc5201870ef7c42e89389ab9f0d43c2ff5be26793aa1be9432d9d3510f1696a41108e99aac439308606d8496d5b038776c4037f3925aadedeae1d56148f - languageName: node - linkType: hard - -"@docusaurus/utils@npm:2.4.3, @docusaurus/utils@npm:^2.0.0-rc.1": - version: 2.4.3 - resolution: "@docusaurus/utils@npm:2.4.3" - dependencies: - "@docusaurus/logger": "npm:2.4.3" - "@svgr/webpack": "npm:^6.2.1" - escape-string-regexp: "npm:^4.0.0" - file-loader: "npm:^6.2.0" - fs-extra: "npm:^10.1.0" - github-slugger: "npm:^1.4.0" - globby: "npm:^11.1.0" - gray-matter: "npm:^4.0.3" - js-yaml: "npm:^4.1.0" - lodash: "npm:^4.17.21" - micromatch: "npm:^4.0.5" - resolve-pathname: "npm:^3.0.0" - shelljs: "npm:^0.8.5" - tslib: "npm:^2.4.0" - url-loader: "npm:^4.1.1" - webpack: "npm:^5.73.0" - peerDependencies: - "@docusaurus/types": "*" - peerDependenciesMeta: - "@docusaurus/types": - optional: true - checksum: 10c0/84e11e0245b11f7c611297ede2deb4598dbfb62e14a7146199f6bfb0306c35d015336a2c220fb902e4d35ba432ffe86bc48a03125c4fd1f295570965f58065d2 - languageName: node - linkType: hard - -"@easyops-cn/autocomplete.js@npm:^0.38.1": - version: 0.38.1 - resolution: "@easyops-cn/autocomplete.js@npm:0.38.1" - dependencies: - cssesc: "npm:^3.0.0" - immediate: "npm:^3.2.3" - checksum: 10c0/114132fc71811cb319463ef9592179b99ab6265030e612c0c790839929764c6f632d7e155784fe89921365005ddf838cb83ed428799de67c581d25e1110bc84d - languageName: node - linkType: hard - -"@easyops-cn/docusaurus-search-local@npm:^0.33.4": - version: 0.33.6 - resolution: "@easyops-cn/docusaurus-search-local@npm:0.33.6" - dependencies: - "@docusaurus/plugin-content-docs": "npm:^2.0.0-rc.1" - "@docusaurus/theme-translations": "npm:^2.0.0-rc.1" - "@docusaurus/utils": "npm:^2.0.0-rc.1" - "@docusaurus/utils-common": "npm:^2.0.0-rc.1" - "@docusaurus/utils-validation": "npm:^2.0.0-rc.1" - "@easyops-cn/autocomplete.js": "npm:^0.38.1" - "@node-rs/jieba": "npm:^1.6.0" - cheerio: "npm:^1.0.0-rc.3" - clsx: "npm:^1.1.1" - debug: "npm:^4.2.0" - fs-extra: "npm:^10.0.0" - klaw-sync: "npm:^6.0.0" - lunr: "npm:^2.3.9" - lunr-languages: "npm:^1.4.0" - mark.js: "npm:^8.11.1" - tslib: "npm:^2.4.0" - peerDependencies: - "@docusaurus/theme-common": ^2.0.0-rc.1 - react: ^16.14.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.14.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/ba6b141afdc16b50ee0141742b1c7ee16662ec49b735dea90e2348327cc989111ab1fdd4774defcae550ff77bfd4d0506adb14a0836b9b2af3c4d63c47dfeb8e - languageName: node - linkType: hard - -"@egjs/hammerjs@npm:^2.0.17": - version: 2.0.17 - resolution: "@egjs/hammerjs@npm:2.0.17" - dependencies: - "@types/hammerjs": "npm:^2.0.36" - checksum: 10c0/dbedc15a0e633f887c08394bd636faf6a3abd05726dc0909a0e01209d5860a752d9eca5e512da623aecfabe665f49f1d035de3103eb2f9022c5cea692f9cc9be - languageName: node - linkType: hard - -"@emnapi/core@npm:^1.4.3": - version: 1.8.1 - resolution: "@emnapi/core@npm:1.8.1" - dependencies: - "@emnapi/wasi-threads": "npm:1.1.0" - tslib: "npm:^2.4.0" - checksum: 10c0/2c242f4b49779bac403e1cbcc98edacdb1c8ad36562408ba9a20663824669e930bc8493be46a2522d9dc946b8d96cd7073970bae914928c7671b5221c85b432e - languageName: node - linkType: hard - -"@emnapi/runtime@npm:^1.4.3": - version: 1.8.1 - resolution: "@emnapi/runtime@npm:1.8.1" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/f4929d75e37aafb24da77d2f58816761fe3f826aad2e37fa6d4421dac9060cbd5098eea1ac3c9ecc4526b89deb58153852fa432f87021dc57863f2ff726d713f - languageName: node - linkType: hard - -"@emnapi/wasi-threads@npm:1.1.0": - version: 1.1.0 - resolution: "@emnapi/wasi-threads@npm:1.1.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 10c0/e6d54bf2b1e64cdd83d2916411e44e579b6ae35d5def0dea61a3c452d9921373044dff32a8b8473ae60c80692bdc39323e98b96a3f3d87ba6886b24dd0ef7ca1 - languageName: node - linkType: hard - -"@emotion/is-prop-valid@npm:^0.8.8": - version: 0.8.8 - resolution: "@emotion/is-prop-valid@npm:0.8.8" - dependencies: - "@emotion/memoize": "npm:0.7.4" - checksum: 10c0/f6be625f067c7fa56a12a4edaf090715616dc4fc7803c87212831f38c969350107b9709b1be54100e53153b18d9fa068eb4bf4f9ac66a37a8edf1bac9b64e279 - languageName: node - linkType: hard - -"@emotion/memoize@npm:0.7.4": - version: 0.7.4 - resolution: "@emotion/memoize@npm:0.7.4" - checksum: 10c0/b2376548fc147b43afd1ff005a80a1a025bd7eb4fb759fdb23e96e5ff290ee8ba16628a332848d600fb91c3cdc319eee5395fa33d8875e5d5a8c4ce18cddc18e - languageName: node - linkType: hard - -"@eslint-community/eslint-utils@npm:^4.4.0, @eslint-community/eslint-utils@npm:^4.8.0, @eslint-community/eslint-utils@npm:^4.9.1": - version: 4.9.1 - resolution: "@eslint-community/eslint-utils@npm:4.9.1" - dependencies: - eslint-visitor-keys: "npm:^3.4.3" - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: 10c0/dc4ab5e3e364ef27e33666b11f4b86e1a6c1d7cbf16f0c6ff87b1619b3562335e9201a3d6ce806221887ff780ec9d828962a290bb910759fd40a674686503f02 - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.12.2": - version: 4.12.2 - resolution: "@eslint-community/regexpp@npm:4.12.2" - checksum: 10c0/fddcbc66851b308478d04e302a4d771d6917a0b3740dc351513c0da9ca2eab8a1adf99f5e0aa7ab8b13fa0df005c81adeee7e63a92f3effd7d367a163b721c2d +"@eslint-community/regexpp@npm:^4.12.1, @eslint-community/regexpp@npm:^4.12.2": + version: 4.12.2 + resolution: "@eslint-community/regexpp@npm:4.12.2" + checksum: 10c0/fddcbc66851b308478d04e302a4d771d6917a0b3740dc351513c0da9ca2eab8a1adf99f5e0aa7ab8b13fa0df005c81adeee7e63a92f3effd7d367a163b721c2d languageName: node linkType: hard @@ -4546,22 +3527,6 @@ __metadata: languageName: node linkType: hard -"@hapi/hoek@npm:^9.0.0, @hapi/hoek@npm:^9.3.0": - version: 9.3.0 - resolution: "@hapi/hoek@npm:9.3.0" - checksum: 10c0/a096063805051fb8bba4c947e293c664b05a32b47e13bc654c0dd43813a1cec993bdd8f29ceb838020299e1d0f89f68dc0d62a603c13c9cc8541963f0beca055 - languageName: node - linkType: hard - -"@hapi/topo@npm:^5.1.0": - version: 5.1.0 - resolution: "@hapi/topo@npm:5.1.0" - dependencies: - "@hapi/hoek": "npm:^9.0.0" - checksum: 10c0/b16b06d9357947149e032bdf10151eb71aea8057c79c4046bf32393cb89d0d0f7ca501c40c0f7534a5ceca078de0700d2257ac855c15e59fe4e00bba2f25c86f - languageName: node - linkType: hard - "@humanfs/core@npm:^0.19.2": version: 0.19.2 resolution: "@humanfs/core@npm:0.19.2" @@ -5005,13 +3970,6 @@ __metadata: languageName: node linkType: hard -"@leichtgewicht/ip-codec@npm:^2.0.1": - version: 2.0.5 - resolution: "@leichtgewicht/ip-codec@npm:2.0.5" - checksum: 10c0/14a0112bd59615eef9e3446fea018045720cd3da85a98f801a685a818b0d96ef2a1f7227e8d271def546b2e2a0fe91ef915ba9dc912ab7967d2317b1a051d66b - languageName: node - linkType: hard - "@marionebl/sander@npm:^0.6.0": version: 0.6.1 resolution: "@marionebl/sander@npm:0.6.1" @@ -5050,39 +4008,48 @@ __metadata: languageName: node linkType: hard -"@mdx-js/mdx@npm:^1.6.22": - version: 1.6.22 - resolution: "@mdx-js/mdx@npm:1.6.22" +"@mdx-js/mdx@npm:^3.1.1": + version: 3.1.1 + resolution: "@mdx-js/mdx@npm:3.1.1" + dependencies: + "@types/estree": "npm:^1.0.0" + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdx": "npm:^2.0.0" + acorn: "npm:^8.0.0" + collapse-white-space: "npm:^2.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + estree-util-scope: "npm:^1.0.0" + estree-walker: "npm:^3.0.0" + hast-util-to-jsx-runtime: "npm:^2.0.0" + markdown-extensions: "npm:^2.0.0" + recma-build-jsx: "npm:^1.0.0" + recma-jsx: "npm:^1.0.0" + recma-stringify: "npm:^1.0.0" + rehype-recma: "npm:^1.0.0" + remark-mdx: "npm:^3.0.0" + remark-parse: "npm:^11.0.0" + remark-rehype: "npm:^11.0.0" + source-map: "npm:^0.7.0" + unified: "npm:^11.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + unist-util-stringify-position: "npm:^4.0.0" + unist-util-visit: "npm:^5.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/371ed95e2bee7731f30a7ce57db66383a0b7470e66c38139427174cb456d6a40bf7d259f3652716370c1de64acfba50a1ba27eb8c556e7a431dc7940b04cb1a1 + languageName: node + linkType: hard + +"@mdx-js/react@npm:^3.1.1": + version: 3.1.1 + resolution: "@mdx-js/react@npm:3.1.1" dependencies: - "@babel/core": "npm:7.12.9" - "@babel/plugin-syntax-jsx": "npm:7.12.1" - "@babel/plugin-syntax-object-rest-spread": "npm:7.8.3" - "@mdx-js/util": "npm:1.6.22" - babel-plugin-apply-mdx-type-prop: "npm:1.6.22" - babel-plugin-extract-import-names: "npm:1.6.22" - camelcase-css: "npm:2.0.1" - detab: "npm:2.0.4" - hast-util-raw: "npm:6.0.1" - lodash.uniq: "npm:4.5.0" - mdast-util-to-hast: "npm:10.0.1" - remark-footnotes: "npm:2.0.0" - remark-mdx: "npm:1.6.22" - remark-parse: "npm:8.0.3" - remark-squeeze-paragraphs: "npm:4.0.0" - style-to-object: "npm:0.3.0" - unified: "npm:9.2.0" - unist-builder: "npm:2.0.3" - unist-util-visit: "npm:2.0.3" - checksum: 10c0/7f4c38911fc269159834240d3cc9279839145022a992bd61657530750c7ab5d0f674e8d6319b6e2e426d0e1adc6cc5ab1876e57548208783d8a3d1b8ef73ebca - languageName: node - linkType: hard - -"@mdx-js/react@npm:^1.6.22": - version: 1.6.22 - resolution: "@mdx-js/react@npm:1.6.22" + "@types/mdx": "npm:^2.0.0" peerDependencies: - react: ^16.13.1 || ^17.0.0 - checksum: 10c0/ed896671ffab04c1f11cdba45bfb2786acff58cd0b749b0a13d9b7a7022ac75cc036bec067ca946e6540e2934727e0ba8bf174e4ae10c916f30cda6aecac8992 + "@types/react": ">=16" + react: ">=16" + checksum: 10c0/34ca98bc2a0f969894ea144dc5c8a5294690505458cd24965cd9be854d779c193ad9192bf9143c4c18438fafd1902e100d99067e045c69319288562d497558c6 languageName: node linkType: hard @@ -5095,13 +4062,6 @@ __metadata: languageName: node linkType: hard -"@mdx-js/util@npm:1.6.22": - version: 1.6.22 - resolution: "@mdx-js/util@npm:1.6.22" - checksum: 10c0/2ee8da6afea0f42297ea31f52b1d50d228744d2895cce7cc9571b7d5ce97c7c96037c80b6dbcded9caa8099c9a994eda62980099eabe1c000aaa792816c66f10 - languageName: node - linkType: hard - "@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:3.0.3": version: 3.0.3 resolution: "@msgpackr-extract/msgpackr-extract-darwin-arm64@npm:3.0.3" @@ -5144,14 +4104,15 @@ __metadata: languageName: node linkType: hard -"@napi-rs/wasm-runtime@npm:^0.2.3": - version: 0.2.12 - resolution: "@napi-rs/wasm-runtime@npm:0.2.12" +"@napi-rs/wasm-runtime@npm:1.1.4": + version: 1.1.4 + resolution: "@napi-rs/wasm-runtime@npm:1.1.4" dependencies: - "@emnapi/core": "npm:^1.4.3" - "@emnapi/runtime": "npm:^1.4.3" - "@tybys/wasm-util": "npm:^0.10.0" - checksum: 10c0/6d07922c0613aab30c6a497f4df297ca7c54e5b480e00035e0209b872d5c6aab7162fc49477267556109c2c7ed1eb9c65a174e27e9b87568106a87b0a6e3ca7d + "@tybys/wasm-util": "npm:^0.10.1" + peerDependencies: + "@emnapi/core": ^1.7.1 + "@emnapi/runtime": ^1.7.1 + checksum: 10c0/2e88e1955258949ccf2d18c79975821ad38071b465ef126a5e14110977b97868867b016c1ad046e963cccc42c0bd9db6c8ff5fd1ebb61b87bb3487f339041658 languageName: node linkType: hard @@ -5164,238 +4125,87 @@ __metadata: languageName: node linkType: hard -"@node-rs/jieba-android-arm-eabi@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-android-arm-eabi@npm:1.10.4" - conditions: os=android & cpu=arm +"@nodelib/fs.scandir@npm:2.1.5": + version: 2.1.5 + resolution: "@nodelib/fs.scandir@npm:2.1.5" + dependencies: + "@nodelib/fs.stat": "npm:2.0.5" + run-parallel: "npm:^1.1.9" + checksum: 10c0/732c3b6d1b1e967440e65f284bd06e5821fedf10a1bea9ed2bb75956ea1f30e08c44d3def9d6a230666574edbaf136f8cfd319c14fd1f87c66e6a44449afb2eb languageName: node linkType: hard -"@node-rs/jieba-android-arm64@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-android-arm64@npm:1.10.4" - conditions: os=android & cpu=arm64 +"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": + version: 2.0.5 + resolution: "@nodelib/fs.stat@npm:2.0.5" + checksum: 10c0/88dafe5e3e29a388b07264680dc996c17f4bda48d163a9d4f5c1112979f0ce8ec72aa7116122c350b4e7976bc5566dc3ddb579be1ceaacc727872eb4ed93926d languageName: node linkType: hard -"@node-rs/jieba-darwin-arm64@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-darwin-arm64@npm:1.10.4" - conditions: os=darwin & cpu=arm64 +"@nodelib/fs.walk@npm:^1.2.3": + version: 1.2.8 + resolution: "@nodelib/fs.walk@npm:1.2.8" + dependencies: + "@nodelib/fs.scandir": "npm:2.1.5" + fastq: "npm:^1.6.0" + checksum: 10c0/db9de047c3bb9b51f9335a7bb46f4fcfb6829fb628318c12115fbaf7d369bfce71c15b103d1fc3b464812d936220ee9bc1c8f762d032c9f6be9acc99249095b1 languageName: node linkType: hard -"@node-rs/jieba-darwin-x64@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-darwin-x64@npm:1.10.4" - conditions: os=darwin & cpu=x64 +"@npmcli/agent@npm:^4.0.0": + version: 4.0.0 + resolution: "@npmcli/agent@npm:4.0.0" + dependencies: + agent-base: "npm:^7.1.0" + http-proxy-agent: "npm:^7.0.0" + https-proxy-agent: "npm:^7.0.1" + lru-cache: "npm:^11.2.1" + socks-proxy-agent: "npm:^8.0.3" + checksum: 10c0/f7b5ce0f3dd42c3f8c6546e8433573d8049f67ef11ec22aa4704bc41483122f68bf97752e06302c455ead667af5cb753e6a09bff06632bc465c1cfd4c4b75a53 languageName: node linkType: hard -"@node-rs/jieba-freebsd-x64@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-freebsd-x64@npm:1.10.4" - conditions: os=freebsd & cpu=x64 +"@npmcli/fs@npm:^5.0.0": + version: 5.0.0 + resolution: "@npmcli/fs@npm:5.0.0" + dependencies: + semver: "npm:^7.3.5" + checksum: 10c0/26e376d780f60ff16e874a0ac9bc3399186846baae0b6e1352286385ac134d900cc5dafaded77f38d77f86898fc923ae1cee9d7399f0275b1aa24878915d722b languageName: node linkType: hard -"@node-rs/jieba-linux-arm-gnueabihf@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-linux-arm-gnueabihf@npm:1.10.4" - conditions: os=linux & cpu=arm +"@octokit/auth-token@npm:^2.4.4": + version: 2.5.0 + resolution: "@octokit/auth-token@npm:2.5.0" + dependencies: + "@octokit/types": "npm:^6.0.3" + checksum: 10c0/e9f757b6acdee91885dab97069527c86829da0dc60476c38cdff3a739ff47fd026262715965f91e84ec9d01bc43d02678bc8ed472a85395679af621b3ddbe045 languageName: node linkType: hard -"@node-rs/jieba-linux-arm64-gnu@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-linux-arm64-gnu@npm:1.10.4" - conditions: os=linux & cpu=arm64 & libc=glibc +"@octokit/core@npm:^3.5.0": + version: 3.6.0 + resolution: "@octokit/core@npm:3.6.0" + dependencies: + "@octokit/auth-token": "npm:^2.4.4" + "@octokit/graphql": "npm:^4.5.8" + "@octokit/request": "npm:^5.6.3" + "@octokit/request-error": "npm:^2.0.5" + "@octokit/types": "npm:^6.0.3" + before-after-hook: "npm:^2.2.0" + universal-user-agent: "npm:^6.0.0" + checksum: 10c0/78d9799a57fe9cf155cce485ba8b7ec32f05024350bf5dd8ab5e0da8995cc22168c39dbbbcfc29bc6c562dd482c1c4a3064f466f49e2e9ce4efad57cf28a7360 languageName: node linkType: hard -"@node-rs/jieba-linux-arm64-musl@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-linux-arm64-musl@npm:1.10.4" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - -"@node-rs/jieba-linux-x64-gnu@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-linux-x64-gnu@npm:1.10.4" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - -"@node-rs/jieba-linux-x64-musl@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-linux-x64-musl@npm:1.10.4" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - -"@node-rs/jieba-wasm32-wasi@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-wasm32-wasi@npm:1.10.4" - dependencies: - "@napi-rs/wasm-runtime": "npm:^0.2.3" - conditions: cpu=wasm32 - languageName: node - linkType: hard - -"@node-rs/jieba-win32-arm64-msvc@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-win32-arm64-msvc@npm:1.10.4" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - -"@node-rs/jieba-win32-ia32-msvc@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-win32-ia32-msvc@npm:1.10.4" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - -"@node-rs/jieba-win32-x64-msvc@npm:1.10.4": - version: 1.10.4 - resolution: "@node-rs/jieba-win32-x64-msvc@npm:1.10.4" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - -"@node-rs/jieba@npm:^1.6.0": - version: 1.10.4 - resolution: "@node-rs/jieba@npm:1.10.4" - dependencies: - "@node-rs/jieba-android-arm-eabi": "npm:1.10.4" - "@node-rs/jieba-android-arm64": "npm:1.10.4" - "@node-rs/jieba-darwin-arm64": "npm:1.10.4" - "@node-rs/jieba-darwin-x64": "npm:1.10.4" - "@node-rs/jieba-freebsd-x64": "npm:1.10.4" - "@node-rs/jieba-linux-arm-gnueabihf": "npm:1.10.4" - "@node-rs/jieba-linux-arm64-gnu": "npm:1.10.4" - "@node-rs/jieba-linux-arm64-musl": "npm:1.10.4" - "@node-rs/jieba-linux-x64-gnu": "npm:1.10.4" - "@node-rs/jieba-linux-x64-musl": "npm:1.10.4" - "@node-rs/jieba-wasm32-wasi": "npm:1.10.4" - "@node-rs/jieba-win32-arm64-msvc": "npm:1.10.4" - "@node-rs/jieba-win32-ia32-msvc": "npm:1.10.4" - "@node-rs/jieba-win32-x64-msvc": "npm:1.10.4" - dependenciesMeta: - "@node-rs/jieba-android-arm-eabi": - optional: true - "@node-rs/jieba-android-arm64": - optional: true - "@node-rs/jieba-darwin-arm64": - optional: true - "@node-rs/jieba-darwin-x64": - optional: true - "@node-rs/jieba-freebsd-x64": - optional: true - "@node-rs/jieba-linux-arm-gnueabihf": - optional: true - "@node-rs/jieba-linux-arm64-gnu": - optional: true - "@node-rs/jieba-linux-arm64-musl": - optional: true - "@node-rs/jieba-linux-x64-gnu": - optional: true - "@node-rs/jieba-linux-x64-musl": - optional: true - "@node-rs/jieba-wasm32-wasi": - optional: true - "@node-rs/jieba-win32-arm64-msvc": - optional: true - "@node-rs/jieba-win32-ia32-msvc": - optional: true - "@node-rs/jieba-win32-x64-msvc": - optional: true - checksum: 10c0/9c51e51e9c0319e1a9d658bf08adf7b2ace06e30fb248ef499fe0059fc582071e8e1d197783c1fcf084cf0d738c3828f7fd50f35735f2b1cf9d003171b8e43e2 - languageName: node - linkType: hard - -"@nodelib/fs.scandir@npm:2.1.5": - version: 2.1.5 - resolution: "@nodelib/fs.scandir@npm:2.1.5" - dependencies: - "@nodelib/fs.stat": "npm:2.0.5" - run-parallel: "npm:^1.1.9" - checksum: 10c0/732c3b6d1b1e967440e65f284bd06e5821fedf10a1bea9ed2bb75956ea1f30e08c44d3def9d6a230666574edbaf136f8cfd319c14fd1f87c66e6a44449afb2eb - languageName: node - linkType: hard - -"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": - version: 2.0.5 - resolution: "@nodelib/fs.stat@npm:2.0.5" - checksum: 10c0/88dafe5e3e29a388b07264680dc996c17f4bda48d163a9d4f5c1112979f0ce8ec72aa7116122c350b4e7976bc5566dc3ddb579be1ceaacc727872eb4ed93926d - languageName: node - linkType: hard - -"@nodelib/fs.walk@npm:^1.2.3": - version: 1.2.8 - resolution: "@nodelib/fs.walk@npm:1.2.8" - dependencies: - "@nodelib/fs.scandir": "npm:2.1.5" - fastq: "npm:^1.6.0" - checksum: 10c0/db9de047c3bb9b51f9335a7bb46f4fcfb6829fb628318c12115fbaf7d369bfce71c15b103d1fc3b464812d936220ee9bc1c8f762d032c9f6be9acc99249095b1 - languageName: node - linkType: hard - -"@npmcli/agent@npm:^4.0.0": - version: 4.0.0 - resolution: "@npmcli/agent@npm:4.0.0" - dependencies: - agent-base: "npm:^7.1.0" - http-proxy-agent: "npm:^7.0.0" - https-proxy-agent: "npm:^7.0.1" - lru-cache: "npm:^11.2.1" - socks-proxy-agent: "npm:^8.0.3" - checksum: 10c0/f7b5ce0f3dd42c3f8c6546e8433573d8049f67ef11ec22aa4704bc41483122f68bf97752e06302c455ead667af5cb753e6a09bff06632bc465c1cfd4c4b75a53 - languageName: node - linkType: hard - -"@npmcli/fs@npm:^5.0.0": - version: 5.0.0 - resolution: "@npmcli/fs@npm:5.0.0" - dependencies: - semver: "npm:^7.3.5" - checksum: 10c0/26e376d780f60ff16e874a0ac9bc3399186846baae0b6e1352286385ac134d900cc5dafaded77f38d77f86898fc923ae1cee9d7399f0275b1aa24878915d722b - languageName: node - linkType: hard - -"@octokit/auth-token@npm:^2.4.4": - version: 2.5.0 - resolution: "@octokit/auth-token@npm:2.5.0" - dependencies: - "@octokit/types": "npm:^6.0.3" - checksum: 10c0/e9f757b6acdee91885dab97069527c86829da0dc60476c38cdff3a739ff47fd026262715965f91e84ec9d01bc43d02678bc8ed472a85395679af621b3ddbe045 - languageName: node - linkType: hard - -"@octokit/core@npm:^3.5.0": - version: 3.6.0 - resolution: "@octokit/core@npm:3.6.0" - dependencies: - "@octokit/auth-token": "npm:^2.4.4" - "@octokit/graphql": "npm:^4.5.8" - "@octokit/request": "npm:^5.6.3" - "@octokit/request-error": "npm:^2.0.5" - "@octokit/types": "npm:^6.0.3" - before-after-hook: "npm:^2.2.0" - universal-user-agent: "npm:^6.0.0" - checksum: 10c0/78d9799a57fe9cf155cce485ba8b7ec32f05024350bf5dd8ab5e0da8995cc22168c39dbbbcfc29bc6c562dd482c1c4a3064f466f49e2e9ce4efad57cf28a7360 - languageName: node - linkType: hard - -"@octokit/endpoint@npm:^6.0.1": - version: 6.0.12 - resolution: "@octokit/endpoint@npm:6.0.12" - dependencies: - "@octokit/types": "npm:^6.0.3" - is-plain-object: "npm:^5.0.0" - universal-user-agent: "npm:^6.0.0" - checksum: 10c0/b2d9c91f00ab7c997338d08a06bfd12a67d86060bc40471f921ba424e4de4e5a0a1117631f2a8a8787107d89d631172dd157cb5e2633674b1ae3a0e2b0dcfa3e +"@octokit/endpoint@npm:^6.0.1": + version: 6.0.12 + resolution: "@octokit/endpoint@npm:6.0.12" + dependencies: + "@octokit/types": "npm:^6.0.3" + is-plain-object: "npm:^5.0.0" + universal-user-agent: "npm:^6.0.0" + checksum: 10c0/b2d9c91f00ab7c997338d08a06bfd12a67d86060bc40471f921ba424e4de4e5a0a1117631f2a8a8787107d89d631172dd157cb5e2633674b1ae3a0e2b0dcfa3e languageName: node linkType: hard @@ -5502,13 +4312,6 @@ __metadata: languageName: node linkType: hard -"@polka/url@npm:^1.0.0-next.24": - version: 1.0.0-next.29 - resolution: "@polka/url@npm:1.0.0-next.29" - checksum: 10c0/0d58e081844095cb029d3c19a659bfefd09d5d51a2f791bc61eba7ea826f13d6ee204a8a448c2f5a855c17df07b37517373ff916dd05801063c0568ae9937684 - languageName: node - linkType: hard - "@react-native-async-storage/async-storage@npm:2.2.0": version: 2.2.0 resolution: "@react-native-async-storage/async-storage@npm:2.2.0" @@ -5893,253 +4696,409 @@ __metadata: languageName: node linkType: hard -"@rtsao/scc@npm:^1.1.0": - version: 1.1.0 - resolution: "@rtsao/scc@npm:1.1.0" - checksum: 10c0/b5bcfb0d87f7d1c1c7c0f7693f53b07866ed9fec4c34a97a8c948fb9a7c0082e416ce4d3b60beb4f5e167cbe04cdeefbf6771320f3ede059b9ce91188c409a5b +"@rsbuild/core@npm:^2.0.9": + version: 2.0.15 + resolution: "@rsbuild/core@npm:2.0.15" + dependencies: + "@rspack/core": "npm:~2.0.8" + "@swc/helpers": "npm:^0.5.23" + peerDependencies: + core-js: ">= 3.0.0" + peerDependenciesMeta: + core-js: + optional: true + bin: + rsbuild: ./bin/rsbuild.js + checksum: 10c0/0aa77a2e4928e1b62b26fa986467d8226a89f2fb0680ae825a36f7e581a976e6bb43debcca4dcdb7fd8d68b05a7f7ef2e5b25b9769afd70ea2a65c1103b59e2e languageName: node linkType: hard -"@sideway/address@npm:^4.1.5": - version: 4.1.5 - resolution: "@sideway/address@npm:4.1.5" +"@rsbuild/plugin-react@npm:~2.0.1": + version: 2.0.1 + resolution: "@rsbuild/plugin-react@npm:2.0.1" dependencies: - "@hapi/hoek": "npm:^9.0.0" - checksum: 10c0/638eb6f7e7dba209053dd6c8da74d7cc995e2b791b97644d0303a7dd3119263bcb7225a4f6804d4db2bc4f96e5a9d262975a014f58eae4d1753c27cbc96ef959 + "@rspack/plugin-react-refresh": "npm:2.0.0" + react-refresh: "npm:^0.18.0" + peerDependencies: + "@rsbuild/core": ^2.0.0-0 + peerDependenciesMeta: + "@rsbuild/core": + optional: true + checksum: 10c0/b9bb8941ca8081a7231e5b61fe071f8eda79f09ef3177b1ba4d2472ad6df749931446e0a3c71f2de930b8cdf05eac90d37d7f50f498752577516a694c2ee43e9 languageName: node linkType: hard -"@sideway/formula@npm:^3.0.1": - version: 3.0.1 - resolution: "@sideway/formula@npm:3.0.1" - checksum: 10c0/3fe81fa9662efc076bf41612b060eb9b02e846ea4bea5bd114f1662b7f1541e9dedcf98aff0d24400bcb92f113964a50e0290b86e284edbdf6346fa9b7e2bf2c +"@rspack/binding-darwin-arm64@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-darwin-arm64@npm:2.0.8" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@sideway/pinpoint@npm:^2.0.0": - version: 2.0.0 - resolution: "@sideway/pinpoint@npm:2.0.0" - checksum: 10c0/d2ca75dacaf69b8fc0bb8916a204e01def3105ee44d8be16c355e5f58189eb94039e15ce831f3d544f229889ccfa35562a0ce2516179f3a7ee1bbe0b71e55b36 +"@rspack/binding-darwin-x64@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-darwin-x64@npm:2.0.8" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@sinclair/typebox@npm:^0.27.8": - version: 0.27.8 - resolution: "@sinclair/typebox@npm:0.27.8" - checksum: 10c0/ef6351ae073c45c2ac89494dbb3e1f87cc60a93ce4cde797b782812b6f97da0d620ae81973f104b43c9b7eaa789ad20ba4f6a1359f1cc62f63729a55a7d22d4e +"@rspack/binding-linux-arm64-gnu@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-linux-arm64-gnu@npm:2.0.8" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@sinclair/typebox@npm:^0.34.0": - version: 0.34.49 - resolution: "@sinclair/typebox@npm:0.34.49" - checksum: 10c0/16b7d87f039a49b68c10bb4cdcae2ce5242b2472228851fd6483731616aba4ef977690aa517b230a8d20da8185bb416eb34e326f30568b3963c1cf26b05d1ad8 +"@rspack/binding-linux-arm64-musl@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-linux-arm64-musl@npm:2.0.8" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@sindresorhus/is@npm:^0.14.0": - version: 0.14.0 - resolution: "@sindresorhus/is@npm:0.14.0" - checksum: 10c0/7247aa9314d4fc3df9b3f63d8b5b962a89c7600a5db1f268546882bfc4d31a975a899f5f42a09dd41a11e58636e6402f7c40f92df853aee417247bb11faee9a0 +"@rspack/binding-linux-x64-gnu@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-linux-x64-gnu@npm:2.0.8" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@sindresorhus/is@npm:^4.0.0": - version: 4.6.0 - resolution: "@sindresorhus/is@npm:4.6.0" - checksum: 10c0/33b6fb1d0834ec8dd7689ddc0e2781c2bfd8b9c4e4bacbcb14111e0ae00621f2c264b8a7d36541799d74888b5dccdf422a891a5cb5a709ace26325eedc81e22e +"@rspack/binding-linux-x64-musl@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-linux-x64-musl@npm:2.0.8" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@sindresorhus/merge-streams@npm:^2.1.0": - version: 2.3.0 - resolution: "@sindresorhus/merge-streams@npm:2.3.0" - checksum: 10c0/69ee906f3125fb2c6bb6ec5cdd84e8827d93b49b3892bce8b62267116cc7e197b5cccf20c160a1d32c26014ecd14470a72a5e3ee37a58f1d6dadc0db1ccf3894 +"@rspack/binding-wasm32-wasi@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-wasm32-wasi@npm:2.0.8" + dependencies: + "@emnapi/core": "npm:1.10.0" + "@emnapi/runtime": "npm:1.10.0" + "@napi-rs/wasm-runtime": "npm:1.1.4" + conditions: cpu=wasm32 languageName: node linkType: hard -"@sinonjs/commons@npm:^3.0.0": - version: 3.0.1 - resolution: "@sinonjs/commons@npm:3.0.1" - dependencies: - type-detect: "npm:4.0.8" - checksum: 10c0/1227a7b5bd6c6f9584274db996d7f8cee2c8c350534b9d0141fc662eaf1f292ea0ae3ed19e5e5271c8fd390d27e492ca2803acd31a1978be2cdc6be0da711403 +"@rspack/binding-win32-arm64-msvc@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-win32-arm64-msvc@npm:2.0.8" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@sinonjs/fake-timers@npm:^10.0.2": - version: 10.3.0 - resolution: "@sinonjs/fake-timers@npm:10.3.0" - dependencies: - "@sinonjs/commons": "npm:^3.0.0" - checksum: 10c0/2e2fb6cc57f227912814085b7b01fede050cd4746ea8d49a1e44d5a0e56a804663b0340ae2f11af7559ea9bf4d087a11f2f646197a660ea3cb04e19efc04aa63 +"@rspack/binding-win32-ia32-msvc@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-win32-ia32-msvc@npm:2.0.8" + conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@slorber/static-site-generator-webpack-plugin@npm:^4.0.7": - version: 4.0.7 - resolution: "@slorber/static-site-generator-webpack-plugin@npm:4.0.7" - dependencies: - eval: "npm:^0.1.8" - p-map: "npm:^4.0.0" - webpack-sources: "npm:^3.2.2" - checksum: 10c0/6ba8abc2d99e8c513bb955502f9cd219c78b2c7b9b76668bf05067cf369cfa838089b52ee51c957e1e6e8442f9dd4f2bbd8df706a3c3388e9a0d41b09a895f97 +"@rspack/binding-win32-x64-msvc@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding-win32-x64-msvc@npm:2.0.8" + conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@svgr/babel-plugin-add-jsx-attribute@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:6.5.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/a13ed0797189d5497890530449029bec388310e260a96459e304e2729e7a2cf4d20d34f882d9a77ccce73dd3d36065afbb6987258fdff618d7d57955065a8ad4 +"@rspack/binding@npm:2.0.8": + version: 2.0.8 + resolution: "@rspack/binding@npm:2.0.8" + dependencies: + "@rspack/binding-darwin-arm64": "npm:2.0.8" + "@rspack/binding-darwin-x64": "npm:2.0.8" + "@rspack/binding-linux-arm64-gnu": "npm:2.0.8" + "@rspack/binding-linux-arm64-musl": "npm:2.0.8" + "@rspack/binding-linux-x64-gnu": "npm:2.0.8" + "@rspack/binding-linux-x64-musl": "npm:2.0.8" + "@rspack/binding-wasm32-wasi": "npm:2.0.8" + "@rspack/binding-win32-arm64-msvc": "npm:2.0.8" + "@rspack/binding-win32-ia32-msvc": "npm:2.0.8" + "@rspack/binding-win32-x64-msvc": "npm:2.0.8" + dependenciesMeta: + "@rspack/binding-darwin-arm64": + optional: true + "@rspack/binding-darwin-x64": + optional: true + "@rspack/binding-linux-arm64-gnu": + optional: true + "@rspack/binding-linux-arm64-musl": + optional: true + "@rspack/binding-linux-x64-gnu": + optional: true + "@rspack/binding-linux-x64-musl": + optional: true + "@rspack/binding-wasm32-wasi": + optional: true + "@rspack/binding-win32-arm64-msvc": + optional: true + "@rspack/binding-win32-ia32-msvc": + optional: true + "@rspack/binding-win32-x64-msvc": + optional: true + checksum: 10c0/a5a61d6ea25fafb002bbdb6bc2600c4fba1ae1e2da3d4afd86b458eb83bfff413fa2415ecd83ffd7c4e8aa60f2cc90df6793a27e56681a5fdb415d0df428e42b languageName: node linkType: hard -"@svgr/babel-plugin-remove-jsx-attribute@npm:*": - version: 8.0.0 - resolution: "@svgr/babel-plugin-remove-jsx-attribute@npm:8.0.0" +"@rspack/core@npm:~2.0.8": + version: 2.0.8 + resolution: "@rspack/core@npm:2.0.8" + dependencies: + "@rspack/binding": "npm:2.0.8" peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/8a98e59bd9971e066815b4129409932f7a4db4866834fe75677ea6d517972fb40b380a69a4413189f20e7947411f9ab1b0f029dd5e8068686a5a0188d3ccd4c7 + "@module-federation/runtime-tools": ^0.24.1 || ^2.0.0 + "@swc/helpers": ^0.5.23 + peerDependenciesMeta: + "@module-federation/runtime-tools": + optional: true + "@swc/helpers": + optional: true + checksum: 10c0/7862d5e17df9bcf70de1472142df047188a1a87c028481225702af15d69940d9935b91502e05d04f42ccc12fcdd70d6d846222817a2054b18135b4143d483047 languageName: node linkType: hard -"@svgr/babel-plugin-remove-jsx-empty-expression@npm:*": - version: 8.0.0 - resolution: "@svgr/babel-plugin-remove-jsx-empty-expression@npm:8.0.0" +"@rspack/plugin-react-refresh@npm:2.0.0": + version: 2.0.0 + resolution: "@rspack/plugin-react-refresh@npm:2.0.0" peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/517dcca75223bd05d3f056a8514dbba3031278bea4eadf0842c576d84f4651e7a4e0e7082d3ee4ef42456de0f9c4531d8a1917c04876ca64b014b859ca8f1bde + "@rspack/core": ^2.0.0-0 + react-refresh: ">=0.10.0 <1.0.0" + peerDependenciesMeta: + "@rspack/core": + optional: true + checksum: 10c0/ee8e6492c0772536abb98ab5ec92d0e4ad092613a3a6085542f0b354131eef48f4d7cbe9a8cf9a9389d5e51d623d08a2c07594c8add5ad5fb54fd5543150ead1 languageName: node linkType: hard -"@svgr/babel-plugin-replace-jsx-attribute-value@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-plugin-replace-jsx-attribute-value@npm:6.5.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/318786787c9a217c33a7340c8856436858e1fffa5a6df635fedc6b9a371f3afea080ea074b9e3cfbbd9dd962ead924fde8bc9855a394c38dd60e391883a58c81 +"@rspress/core@npm:2.0.14": + version: 2.0.14 + resolution: "@rspress/core@npm:2.0.14" + dependencies: + "@mdx-js/mdx": "npm:^3.1.1" + "@mdx-js/react": "npm:^3.1.1" + "@rsbuild/core": "npm:^2.0.9" + "@rsbuild/plugin-react": "npm:~2.0.1" + "@rspress/shared": "npm:2.0.14" + "@shikijs/rehype": "npm:^4.0.2" + "@types/unist": "npm:^3.0.3" + "@unhead/react": "npm:^2.1.15" + body-scroll-lock: "npm:4.0.0-beta.0" + clsx: "npm:2.1.1" + copy-to-clipboard: "npm:^3.3.3" + flexsearch: "npm:0.8.212" + hast-util-heading-rank: "npm:^3.0.0" + hast-util-to-jsx-runtime: "npm:^2.3.6" + mdast-util-mdx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.1" + medium-zoom: "npm:1.1.0" + nprogress: "npm:^0.2.0" + react: "npm:^19.2.6" + react-dom: "npm:^19.2.6" + react-lazy-with-preload: "npm:^2.2.1" + react-reconciler: "npm:0.33.0" + react-render-to-markdown: "npm:19.1.0" + react-router-dom: "npm:^7.15.1" + rehype-external-links: "npm:^3.0.0" + rehype-raw: "npm:^7.0.0" + remark-cjk-friendly: "npm:^2.0.1" + remark-cjk-friendly-gfm-strikethrough: "npm:^2.0.1" + remark-gfm: "npm:^4.0.1" + remark-mdx: "npm:^3.1.1" + remark-parse: "npm:^11.0.0" + remark-stringify: "npm:^11.0.0" + scroll-into-view-if-needed: "npm:^3.1.0" + shiki: "npm:^4.0.2" + unified: "npm:^11.0.5" + unist-util-remove: "npm:^4.0.0" + unist-util-visit: "npm:^5.1.0" + unist-util-visit-children: "npm:^3.0.0" + bin: + rspress: bin/rspress.js + checksum: 10c0/118ae88259f55dae748f92bdb64a7185861612fe5d784ebb5991b2598b85320ec9a718a72f6015542b79f620c358a34ed9f4f83cf98ff2aab45036f44b0f9455 languageName: node linkType: hard -"@svgr/babel-plugin-svg-dynamic-title@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-plugin-svg-dynamic-title@npm:6.5.1" +"@rspress/plugin-sitemap@npm:^2.0.8": + version: 2.0.14 + resolution: "@rspress/plugin-sitemap@npm:2.0.14" peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/16ef228c793b909fec47dd7dc05c1c3c2d77a824f42055df37e141e0534081b1bc4aec6dcc51be50c221df9f262f59270fc1c379923bfd4f5db302abafabfd8d + "@rspress/core": ^2.0.10 + checksum: 10c0/d8d1c902cdc5315ecbefb30b9c2a3530031e153d679fc547b8b916a7c8f390c097ffe9150a99dc2117a887c6923f13e06e081a8b134ce0d3bab9608fc6d2c8df languageName: node linkType: hard -"@svgr/babel-plugin-svg-em-dimensions@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-plugin-svg-em-dimensions@npm:6.5.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/dfdd5cbe6ae543505eaa0da69df0735b7407294c4b0504b3e74c0e7e371f1acb914eb99fd21ff39ef5bd626b3474f064a4cccc50f41b7c556ee834f9a6d6610a +"@rspress/shared@npm:2.0.14": + version: 2.0.14 + resolution: "@rspress/shared@npm:2.0.14" + dependencies: + "@rsbuild/core": "npm:^2.0.9" + "@shikijs/rehype": "npm:^4.0.2" + unified: "npm:^11.0.5" + checksum: 10c0/a33bec3b057886e549f5fbd5b6c754e770836533346b339241d2cc77a8792ee501654434afceac459fcc5b1bf1a7b0d1d2f940ba296df57a628e9697accde596 languageName: node linkType: hard -"@svgr/babel-plugin-transform-react-native-svg@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-plugin-transform-react-native-svg@npm:6.5.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/332fbf3bbc19d938b744440dbab9c8acd8f7a2ed6bf9c4e23f40e3f2c25615a60b3bf00902a4f1f6c20b5f382a1547b3acc6f2b2d70d80e532b5d45945f1b979 +"@rtsao/scc@npm:^1.1.0": + version: 1.1.0 + resolution: "@rtsao/scc@npm:1.1.0" + checksum: 10c0/b5bcfb0d87f7d1c1c7c0f7693f53b07866ed9fec4c34a97a8c948fb9a7c0082e416ce4d3b60beb4f5e167cbe04cdeefbf6771320f3ede059b9ce91188c409a5b languageName: node linkType: hard -"@svgr/babel-plugin-transform-svg-component@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-plugin-transform-svg-component@npm:6.5.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/8d9e1c7c62abce23837e53cdacc6d09bc1f1f2b0ad7322105001c097995e9aa8dca4fa41acf39148af69f342e40081c438106949fb083e997ca497cb0448f27d +"@shikijs/core@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/core@npm:4.2.0" + dependencies: + "@shikijs/primitive": "npm:4.2.0" + "@shikijs/types": "npm:4.2.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + "@types/hast": "npm:^3.0.4" + hast-util-to-html: "npm:^9.0.5" + checksum: 10c0/86828109468e6de10a9976d951ab09c124b06ded3f46cf8043a3e45d7f78f1d6fe24abbdf0044e7fe4fd734e837ecd9b63b7fa964eccadb7e1b0c95519c44f5a languageName: node linkType: hard -"@svgr/babel-preset@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/babel-preset@npm:6.5.1" +"@shikijs/engine-javascript@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/engine-javascript@npm:4.2.0" dependencies: - "@svgr/babel-plugin-add-jsx-attribute": "npm:^6.5.1" - "@svgr/babel-plugin-remove-jsx-attribute": "npm:*" - "@svgr/babel-plugin-remove-jsx-empty-expression": "npm:*" - "@svgr/babel-plugin-replace-jsx-attribute-value": "npm:^6.5.1" - "@svgr/babel-plugin-svg-dynamic-title": "npm:^6.5.1" - "@svgr/babel-plugin-svg-em-dimensions": "npm:^6.5.1" - "@svgr/babel-plugin-transform-react-native-svg": "npm:^6.5.1" - "@svgr/babel-plugin-transform-svg-component": "npm:^6.5.1" - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 10c0/8e8d7a0049279152f9ac308fbfd4ce74063d8a376154718cba6309bae4316318804a32201c75c5839c629f8e1e5d641a87822764000998161d0fc1de24b0374a + "@shikijs/types": "npm:4.2.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + oniguruma-to-es: "npm:^4.3.6" + checksum: 10c0/681045e8acfe19feaf5bb2b282ffdd006a5a06c666a726f844f8bd489c9c12eb5290cd29b97655d43a366370f2edac4eea868d8221637a5fcdc886e562bef0c6 languageName: node linkType: hard -"@svgr/core@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/core@npm:6.5.1" +"@shikijs/engine-oniguruma@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/engine-oniguruma@npm:4.2.0" dependencies: - "@babel/core": "npm:^7.19.6" - "@svgr/babel-preset": "npm:^6.5.1" - "@svgr/plugin-jsx": "npm:^6.5.1" - camelcase: "npm:^6.2.0" - cosmiconfig: "npm:^7.0.1" - checksum: 10c0/60cce11e13391171132115dcc8da592d23e51f155ebadf9b819bd1836b8c13d40aa5c30a03a7d429f65e70a71c50669b2e10c94e4922de4e58bc898275f46c05 + "@shikijs/types": "npm:4.2.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + checksum: 10c0/ffba487224c9d96735a251b2aacd33a1769d27f4ad6b80b83bb025abd7ae2195c7e07dfc96c5978a6cc4b32d55b232dc9fe6e67c0752a78962c649891700bf7f languageName: node linkType: hard -"@svgr/hast-util-to-babel-ast@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/hast-util-to-babel-ast@npm:6.5.1" +"@shikijs/langs@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/langs@npm:4.2.0" dependencies: - "@babel/types": "npm:^7.20.0" - entities: "npm:^4.4.0" - checksum: 10c0/18fa37b36581ba1678f5cc5a05ce0411e08df4db267f3cd900af7ffdf5bd90522f3a46465f315cd5d7345264949479133930aafdd27ce05c474e63756196256f + "@shikijs/types": "npm:4.2.0" + checksum: 10c0/a069467bf1dc458a1deef91388e3b48dffeef20502d51fa0c548c0dc3adfc4222c789fa47975ff28b0f9fe76de139899830ad320cfddc99ce2c193b05de69937 languageName: node linkType: hard -"@svgr/plugin-jsx@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/plugin-jsx@npm:6.5.1" +"@shikijs/primitive@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/primitive@npm:4.2.0" dependencies: - "@babel/core": "npm:^7.19.6" - "@svgr/babel-preset": "npm:^6.5.1" - "@svgr/hast-util-to-babel-ast": "npm:^6.5.1" - svg-parser: "npm:^2.0.4" - peerDependencies: - "@svgr/core": ^6.0.0 - checksum: 10c0/365da6e43ceeff6b49258fa2fbb3c880210300e4a85ba74831e92d2dc9c53e6ab8dda422dc33fb6a339803227cf8d9a0024ce769401c46fd87209abe36d5ae43 + "@shikijs/types": "npm:4.2.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + "@types/hast": "npm:^3.0.4" + checksum: 10c0/8acd8af89d427bc8e1c0c9a98be8ca3ac0b7cb193039c59389fc80a4747daaf4ee0ee273d33e99e94e969be1ca3eb33da700caabd17218c848b11526cb6eaf52 languageName: node linkType: hard -"@svgr/plugin-svgo@npm:^6.5.1": - version: 6.5.1 - resolution: "@svgr/plugin-svgo@npm:6.5.1" +"@shikijs/rehype@npm:^4.0.2": + version: 4.2.0 + resolution: "@shikijs/rehype@npm:4.2.0" dependencies: - cosmiconfig: "npm:^7.0.1" - deepmerge: "npm:^4.2.2" - svgo: "npm:^2.8.0" - peerDependencies: - "@svgr/core": "*" - checksum: 10c0/da40e461145af1a92fd2ec50ea64626681fa73786f218497a4b4fb85393a58812999ca2744ee33bb7ab771aa5ce9ab1dbd08a189cb3d7a89fb58fd96913ddf91 + "@shikijs/types": "npm:4.2.0" + "@types/hast": "npm:^3.0.4" + hast-util-to-string: "npm:^3.0.1" + shiki: "npm:4.2.0" + unified: "npm:^11.0.5" + unist-util-visit: "npm:^5.1.0" + checksum: 10c0/209e03b211e9be445fa7dcc592a399c0df41e598fbd70340b3b3e736c1ced98b6463c041727cf1fe1d7de4f49306d880ee9a3d811d2d2c20d793881dc8a60f88 + languageName: node + linkType: hard + +"@shikijs/themes@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/themes@npm:4.2.0" + dependencies: + "@shikijs/types": "npm:4.2.0" + checksum: 10c0/95c3611fab74802efe6025154a7f145fe5c71fb7ad8a998b061b0a628788bce667f942ade9bd8f0c16b47d2afde10a4bbeccbd455c96f35e21ccecf126740c7d + languageName: node + linkType: hard + +"@shikijs/types@npm:4.2.0": + version: 4.2.0 + resolution: "@shikijs/types@npm:4.2.0" + dependencies: + "@shikijs/vscode-textmate": "npm:^10.0.2" + "@types/hast": "npm:^3.0.4" + checksum: 10c0/d78095c1df9ec8ee0a3cd3e203b9431943f88d1f5efce5cfabad87935f6bcd9628d3f450b42c8e65e7119fd94549e84ae4c5ac564cb55424bab12f67f26a0f0b + languageName: node + linkType: hard + +"@shikijs/vscode-textmate@npm:^10.0.2": + version: 10.0.2 + resolution: "@shikijs/vscode-textmate@npm:10.0.2" + checksum: 10c0/36b682d691088ec244de292dc8f91b808f95c89466af421cf84cbab92230f03c8348649c14b3251991b10ce632b0c715e416e992dd5f28ff3221dc2693fd9462 + languageName: node + linkType: hard + +"@sinclair/typebox@npm:^0.27.8": + version: 0.27.8 + resolution: "@sinclair/typebox@npm:0.27.8" + checksum: 10c0/ef6351ae073c45c2ac89494dbb3e1f87cc60a93ce4cde797b782812b6f97da0d620ae81973f104b43c9b7eaa789ad20ba4f6a1359f1cc62f63729a55a7d22d4e + languageName: node + linkType: hard + +"@sinclair/typebox@npm:^0.34.0": + version: 0.34.49 + resolution: "@sinclair/typebox@npm:0.34.49" + checksum: 10c0/16b7d87f039a49b68c10bb4cdcae2ce5242b2472228851fd6483731616aba4ef977690aa517b230a8d20da8185bb416eb34e326f30568b3963c1cf26b05d1ad8 + languageName: node + linkType: hard + +"@sindresorhus/is@npm:^0.14.0": + version: 0.14.0 + resolution: "@sindresorhus/is@npm:0.14.0" + checksum: 10c0/7247aa9314d4fc3df9b3f63d8b5b962a89c7600a5db1f268546882bfc4d31a975a899f5f42a09dd41a11e58636e6402f7c40f92df853aee417247bb11faee9a0 + languageName: node + linkType: hard + +"@sindresorhus/is@npm:^4.0.0": + version: 4.6.0 + resolution: "@sindresorhus/is@npm:4.6.0" + checksum: 10c0/33b6fb1d0834ec8dd7689ddc0e2781c2bfd8b9c4e4bacbcb14111e0ae00621f2c264b8a7d36541799d74888b5dccdf422a891a5cb5a709ace26325eedc81e22e + languageName: node + linkType: hard + +"@sindresorhus/merge-streams@npm:^2.1.0": + version: 2.3.0 + resolution: "@sindresorhus/merge-streams@npm:2.3.0" + checksum: 10c0/69ee906f3125fb2c6bb6ec5cdd84e8827d93b49b3892bce8b62267116cc7e197b5cccf20c160a1d32c26014ecd14470a72a5e3ee37a58f1d6dadc0db1ccf3894 + languageName: node + linkType: hard + +"@sinonjs/commons@npm:^3.0.0": + version: 3.0.1 + resolution: "@sinonjs/commons@npm:3.0.1" + dependencies: + type-detect: "npm:4.0.8" + checksum: 10c0/1227a7b5bd6c6f9584274db996d7f8cee2c8c350534b9d0141fc662eaf1f292ea0ae3ed19e5e5271c8fd390d27e492ca2803acd31a1978be2cdc6be0da711403 + languageName: node + linkType: hard + +"@sinonjs/fake-timers@npm:^10.0.2": + version: 10.3.0 + resolution: "@sinonjs/fake-timers@npm:10.3.0" + dependencies: + "@sinonjs/commons": "npm:^3.0.0" + checksum: 10c0/2e2fb6cc57f227912814085b7b01fede050cd4746ea8d49a1e44d5a0e56a804663b0340ae2f11af7559ea9bf4d087a11f2f646197a660ea3cb04e19efc04aa63 languageName: node linkType: hard -"@svgr/webpack@npm:^6.2.1": - version: 6.5.1 - resolution: "@svgr/webpack@npm:6.5.1" +"@swc/helpers@npm:^0.5.23": + version: 0.5.23 + resolution: "@swc/helpers@npm:0.5.23" dependencies: - "@babel/core": "npm:^7.19.6" - "@babel/plugin-transform-react-constant-elements": "npm:^7.18.12" - "@babel/preset-env": "npm:^7.19.4" - "@babel/preset-react": "npm:^7.18.6" - "@babel/preset-typescript": "npm:^7.18.6" - "@svgr/core": "npm:^6.5.1" - "@svgr/plugin-jsx": "npm:^6.5.1" - "@svgr/plugin-svgo": "npm:^6.5.1" - checksum: 10c0/3e9edfbc2ef3dc07b5f50c9c5ff5c951048511dff9dffb0407e6d15343849dfb36099fc7e1e3911429382cab81f7735a86ba1d6f77d21bb8f9ca33a5dec4824a + tslib: "npm:^2.8.0" + checksum: 10c0/02da7b4df465693933ecd4851cc193ec729c309939c8a84eccae5ec0010aafc3894e713b8ef8d13a6ba401759f0e900c88e2dcfef5872c27bb91e70f73275cce languageName: node linkType: hard @@ -6181,26 +5140,12 @@ __metadata: languageName: node linkType: hard -"@trysound/sax@npm:0.2.0": - version: 0.2.0 - resolution: "@trysound/sax@npm:0.2.0" - checksum: 10c0/44907308549ce775a41c38a815f747009ac45929a45d642b836aa6b0a536e4978d30b8d7d680bbd116e9dd73b7dbe2ef0d1369dcfc2d09e83ba381e485ecbe12 - languageName: node - linkType: hard - -"@tsconfig/docusaurus@npm:^1.0.6": - version: 1.0.7 - resolution: "@tsconfig/docusaurus@npm:1.0.7" - checksum: 10c0/49a9bb6f04a4eaee889a6950084dd14c6755fbd68951c7b9101f7031f7186ab7b46bb7e58e60e7a42d58db7ea20f981f43501ea653c1125f9863287c7108eb86 - languageName: node - linkType: hard - -"@tybys/wasm-util@npm:^0.10.0": - version: 0.10.1 - resolution: "@tybys/wasm-util@npm:0.10.1" +"@tybys/wasm-util@npm:^0.10.1": + version: 0.10.2 + resolution: "@tybys/wasm-util@npm:0.10.2" dependencies: tslib: "npm:^2.4.0" - checksum: 10c0/b255094f293794c6d2289300c5fbcafbb5532a3aed3a5ffd2f8dc1828e639b88d75f6a376dd8f94347a44813fd7a7149d8463477a9a49525c8b2dcaa38c2d1e8 + checksum: 10c0/26165bcd1fd7269f42d7fbe3de318f854a8968de8397e89fc9a423bb3e2da35a52150f382e6323b3367595beb16d9800a6f35971a5599daf76da1742ec3afc25 languageName: node linkType: hard @@ -6245,25 +5190,6 @@ __metadata: languageName: node linkType: hard -"@types/body-parser@npm:*": - version: 1.19.6 - resolution: "@types/body-parser@npm:1.19.6" - dependencies: - "@types/connect": "npm:*" - "@types/node": "npm:*" - checksum: 10c0/542da05c924dce58ee23f50a8b981fee36921850c82222e384931fda3e106f750f7880c47be665217d72dbe445129049db6eb1f44e7a06b09d62af8f3cca8ea7 - languageName: node - linkType: hard - -"@types/bonjour@npm:^3.5.9": - version: 3.5.13 - resolution: "@types/bonjour@npm:3.5.13" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/eebedbca185ac3c39dd5992ef18d9e2a9f99e7f3c2f52f5561f90e9ed482c5d224c7962db95362712f580ed5713264e777a98d8f0bd8747f4eadf62937baed16 - languageName: node - linkType: hard - "@types/cacheable-request@npm:^6.0.1": version: 6.0.3 resolution: "@types/cacheable-request@npm:6.0.3" @@ -6301,22 +5227,12 @@ __metadata: languageName: node linkType: hard -"@types/connect-history-api-fallback@npm:^1.3.5": - version: 1.5.4 - resolution: "@types/connect-history-api-fallback@npm:1.5.4" - dependencies: - "@types/express-serve-static-core": "npm:*" - "@types/node": "npm:*" - checksum: 10c0/1b4035b627dcd714b05a22557f942e24a57ca48e7377dde0d2f86313fe685bc0a6566512a73257a55b5665b96c3041fb29228ac93331d8133011716215de8244 - languageName: node - linkType: hard - -"@types/connect@npm:*": - version: 3.4.38 - resolution: "@types/connect@npm:3.4.38" +"@types/debug@npm:^4.0.0": + version: 4.1.13 + resolution: "@types/debug@npm:4.1.13" dependencies: - "@types/node": "npm:*" - checksum: 10c0/2e1cdba2c410f25649e77856505cd60223250fa12dff7a503e492208dbfdd25f62859918f28aba95315251fd1f5e1ffbfca1e25e73037189ab85dd3f8d0a148c + "@types/ms": "npm:*" + checksum: 10c0/e5e124021bbdb23a82727eee0a726ae0fc8a3ae1f57253cbcc47497f259afb357de7f6941375e773e1abbfa1604c1555b901a409d762ec2bb4c1612131d4afb7 languageName: node linkType: hard @@ -6340,6 +5256,15 @@ __metadata: languageName: node linkType: hard +"@types/estree-jsx@npm:^1.0.0": + version: 1.0.5 + resolution: "@types/estree-jsx@npm:1.0.5" + dependencies: + "@types/estree": "npm:*" + checksum: 10c0/07b354331516428b27a3ab99ee397547d47eb223c34053b48f84872fafb841770834b90cc1a0068398e7c7ccb15ec51ab00ec64b31dc5e3dbefd624638a35c6d + languageName: node + linkType: hard + "@types/estree@npm:*, @types/estree@npm:^1.0.8": version: 1.0.8 resolution: "@types/estree@npm:1.0.8" @@ -6347,60 +5272,13 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:^1.0.6": +"@types/estree@npm:^1.0.0, @types/estree@npm:^1.0.6": version: 1.0.9 resolution: "@types/estree@npm:1.0.9" checksum: 10c0/3ad3286ca2988cd550dafb8f2ad599c8474868e954fa601a36655bdfefd8039f7c714b8c1c7f2ae219ffbd58bd4660e66fa7479a0120fc02d4777057d4865387 languageName: node linkType: hard -"@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^5.0.0": - version: 5.1.0 - resolution: "@types/express-serve-static-core@npm:5.1.0" - dependencies: - "@types/node": "npm:*" - "@types/qs": "npm:*" - "@types/range-parser": "npm:*" - "@types/send": "npm:*" - checksum: 10c0/1918233c68a0c69695f78331af1aed5fb5190f91da6309318f700adeb78573be840b5d206cb8eda804b65a9989fdeccdaaf84c1e95adc3615052749224b64519 - languageName: node - linkType: hard - -"@types/express-serve-static-core@npm:^4.17.33": - version: 4.19.7 - resolution: "@types/express-serve-static-core@npm:4.19.7" - dependencies: - "@types/node": "npm:*" - "@types/qs": "npm:*" - "@types/range-parser": "npm:*" - "@types/send": "npm:*" - checksum: 10c0/c239df87863b8515e68dcb18203a9e2ba6108f86fdc385090284464a57a6dca6abb60a961cb6a73fea2110576f4f8acefa1cb06b60d14b6b0e5104478e7d57d1 - languageName: node - linkType: hard - -"@types/express@npm:*": - version: 5.0.6 - resolution: "@types/express@npm:5.0.6" - dependencies: - "@types/body-parser": "npm:*" - "@types/express-serve-static-core": "npm:^5.0.0" - "@types/serve-static": "npm:^2" - checksum: 10c0/f1071e3389a955d4f9a38aae38634121c7cd9b3171ba4201ec9b56bd534aba07866839d278adc0dda05b942b05a901a02fd174201c3b1f70ce22b10b6c68f24b - languageName: node - linkType: hard - -"@types/express@npm:^4.17.13": - version: 4.17.25 - resolution: "@types/express@npm:4.17.25" - dependencies: - "@types/body-parser": "npm:*" - "@types/express-serve-static-core": "npm:^4.17.33" - "@types/qs": "npm:*" - "@types/serve-static": "npm:^1" - checksum: 10c0/f42b616d2c9dbc50352c820db7de182f64ebbfa8dba6fb6c98e5f8f0e2ef3edde0131719d9dc6874803d25ad9ca2d53471d0fec2fbc60a6003a43d015bab72c4 - languageName: node - linkType: hard - "@types/graceful-fs@npm:^4.1.3": version: 4.1.9 resolution: "@types/graceful-fs@npm:4.1.9" @@ -6426,17 +5304,12 @@ __metadata: languageName: node linkType: hard -"@types/history@npm:^4.7.11": - version: 4.7.11 - resolution: "@types/history@npm:4.7.11" - checksum: 10c0/3facf37c2493d1f92b2e93a22cac7ea70b06351c2ab9aaceaa3c56aa6099fb63516f6c4ec1616deb5c56b4093c026a043ea2d3373e6c0644d55710364d02c934 - languageName: node - linkType: hard - -"@types/html-minifier-terser@npm:^6.0.0": - version: 6.1.0 - resolution: "@types/html-minifier-terser@npm:6.1.0" - checksum: 10c0/a62fb8588e2f3818d82a2d7b953ad60a4a52fd767ae04671de1c16f5788bd72f1ed3a6109ed63fd190c06a37d919e3c39d8adbc1793a005def76c15a3f5f5dab +"@types/hast@npm:^3.0.0, @types/hast@npm:^3.0.4": + version: 3.0.4 + resolution: "@types/hast@npm:3.0.4" + dependencies: + "@types/unist": "npm:*" + checksum: 10c0/3249781a511b38f1d330fd1e3344eed3c4e7ea8eff82e835d35da78e637480d36fad37a78be5a7aed8465d237ad0446abc1150859d0fde395354ea634decf9f7 languageName: node linkType: hard @@ -6447,22 +5320,6 @@ __metadata: languageName: node linkType: hard -"@types/http-errors@npm:*": - version: 2.0.5 - resolution: "@types/http-errors@npm:2.0.5" - checksum: 10c0/00f8140fbc504f47356512bd88e1910c2f07e04233d99c88c854b3600ce0523c8cd0ba7d1897667243282eb44c59abb9245959e2428b9de004f93937f52f7c15 - languageName: node - linkType: hard - -"@types/http-proxy@npm:^1.17.8": - version: 1.17.17 - resolution: "@types/http-proxy@npm:1.17.17" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/547e322a5eecf0b50d08f6a46bd89c8c8663d67dbdcd472da5daf968b03e63a82f6b3650443378abe6c10a46475dac52015f30e8c74ba2ea5820dd4e9cdef2d4 - languageName: node - linkType: hard - "@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1": version: 2.0.6 resolution: "@types/istanbul-lib-coverage@npm:2.0.6" @@ -6498,7 +5355,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.4, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -6528,19 +5385,19 @@ __metadata: languageName: node linkType: hard -"@types/mdast@npm:^3.0.0": - version: 3.0.15 - resolution: "@types/mdast@npm:3.0.15" +"@types/mdast@npm:^4.0.0": + version: 4.0.4 + resolution: "@types/mdast@npm:4.0.4" dependencies: - "@types/unist": "npm:^2" - checksum: 10c0/fcbf716c03d1ed5465deca60862e9691414f9c43597c288c7d2aefbe274552e1bbd7aeee91b88a02597e88a28c139c57863d0126fcf8416a95fdc681d054ee3d + "@types/unist": "npm:*" + checksum: 10c0/84f403dbe582ee508fd9c7643ac781ad8597fcbfc9ccb8d4715a2c92e4545e5772cbd0dbdf18eda65789386d81b009967fdef01b24faf6640f817287f54d9c82 languageName: node linkType: hard -"@types/mime@npm:^1": - version: 1.3.5 - resolution: "@types/mime@npm:1.3.5" - checksum: 10c0/c2ee31cd9b993804df33a694d5aa3fa536511a49f2e06eeab0b484fef59b4483777dbb9e42a4198a0809ffbf698081fdbca1e5c2218b82b91603dfab10a10fbc +"@types/mdx@npm:^2.0.0": + version: 2.0.14 + resolution: "@types/mdx@npm:2.0.14" + checksum: 10c0/f1e3873c1e36e2685fb99222bf81a23c55a8e2edf49d0c45cabf2c875b0ae814cd6050cce5770ff1c6881ac747d2ad33731e1de32139b04cf181d8d7e1943ff4 languageName: node linkType: hard @@ -6551,12 +5408,10 @@ __metadata: languageName: node linkType: hard -"@types/node-forge@npm:^1.3.0": - version: 1.3.14 - resolution: "@types/node-forge@npm:1.3.14" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/da6158fd34fa7652aa7f8164508f97a76b558724ab292f13c257e39d54d95d4d77604e8fb14dc454a867f1aeec7af70118294889195ec4400cecbb8a5c77a212 +"@types/ms@npm:*": + version: 2.1.0 + resolution: "@types/ms@npm:2.1.0" + checksum: 10c0/5ce692ffe1549e1b827d99ef8ff71187457e0eb44adbae38fdf7b9a74bae8d20642ee963c14516db1d35fa2652e65f47680fdf679dcbde52bbfadd021f497225 languageName: node linkType: hard @@ -6569,13 +5424,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^17.0.5": - version: 17.0.45 - resolution: "@types/node@npm:17.0.45" - checksum: 10c0/0db377133d709b33a47892581a21a41cd7958f22723a3cc6c71d55ac018121382de42fbfc7970d5ae3e7819dbe5f40e1c6a5174aedf7e7964e9cb8fa72b580b0 - languageName: node - linkType: hard - "@types/node@npm:^24.0.0": version: 24.13.2 resolution: "@types/node@npm:24.13.2" @@ -6606,20 +5454,6 @@ __metadata: languageName: node linkType: hard -"@types/qs@npm:*": - version: 6.14.0 - resolution: "@types/qs@npm:6.14.0" - checksum: 10c0/5b3036df6e507483869cdb3858201b2e0b64b4793dc4974f188caa5b5732f2333ab9db45c08157975054d3b070788b35088b4bc60257ae263885016ee2131310 - languageName: node - linkType: hard - -"@types/range-parser@npm:*": - version: 1.2.7 - resolution: "@types/range-parser@npm:1.2.7" - checksum: 10c0/361bb3e964ec5133fa40644a0b942279ed5df1949f21321d77de79f48b728d39253e5ce0408c9c17e4e0fd95ca7899da36841686393b9f7a1e209916e9381a3c - languageName: node - linkType: hard - "@types/react-color@npm:^3.0.6": version: 3.0.13 resolution: "@types/react-color@npm:3.0.13" @@ -6631,6 +5465,15 @@ __metadata: languageName: node linkType: hard +"@types/react-dom@npm:^19.2.3": + version: 19.2.3 + resolution: "@types/react-dom@npm:19.2.3" + peerDependencies: + "@types/react": ^19.2.0 + checksum: 10c0/b486ebe0f4e2fb35e2e108df1d8fc0927ca5d6002d5771e8a739de11239fe62d0e207c50886185253c99eb9dedfeeb956ea7429e5ba17f6693c7acb4c02f8cd1 + languageName: node + linkType: hard + "@types/react-reconciler@npm:~0.33.0": version: 0.33.0 resolution: "@types/react-reconciler@npm:0.33.0" @@ -6640,38 +5483,6 @@ __metadata: languageName: node linkType: hard -"@types/react-router-config@npm:*, @types/react-router-config@npm:^5.0.6": - version: 5.0.11 - resolution: "@types/react-router-config@npm:5.0.11" - dependencies: - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - "@types/react-router": "npm:^5.1.0" - checksum: 10c0/3fa4daf8c14689a05f34e289fc53c4a892e97f35715455c507a8048d9875b19cd3d3142934ca973effed6a6c38f33539b6e173cd254f67e2021ecd5458d551c8 - languageName: node - linkType: hard - -"@types/react-router-dom@npm:*": - version: 5.3.3 - resolution: "@types/react-router-dom@npm:5.3.3" - dependencies: - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - "@types/react-router": "npm:*" - checksum: 10c0/a9231a16afb9ed5142678147eafec9d48582809295754fb60946e29fcd3757a4c7a3180fa94b45763e4c7f6e3f02379e2fcb8dd986db479dcab40eff5fc62a91 - languageName: node - linkType: hard - -"@types/react-router@npm:*, @types/react-router@npm:^5.1.0": - version: 5.1.20 - resolution: "@types/react-router@npm:5.1.20" - dependencies: - "@types/history": "npm:^4.7.11" - "@types/react": "npm:*" - checksum: 10c0/1f7eee61981d2f807fa01a34a0ef98ebc0774023832b6611a69c7f28fdff01de5a38cabf399f32e376bf8099dcb7afaf724775bea9d38870224492bea4cb5737 - languageName: node - linkType: hard - "@types/react-test-renderer@npm:^19.1.0": version: 19.1.0 resolution: "@types/react-test-renderer@npm:19.1.0" @@ -6717,80 +5528,6 @@ __metadata: languageName: node linkType: hard -"@types/retry@npm:0.12.0": - version: 0.12.0 - resolution: "@types/retry@npm:0.12.0" - checksum: 10c0/7c5c9086369826f569b83a4683661557cab1361bac0897a1cefa1a915ff739acd10ca0d62b01071046fe3f5a3f7f2aec80785fe283b75602dc6726781ea3e328 - languageName: node - linkType: hard - -"@types/sax@npm:^1.2.1": - version: 1.2.7 - resolution: "@types/sax@npm:1.2.7" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/d077a761a0753b079bf8279b3993948030ca86ed9125437b9b29c1de40db9b2deb7fddc369f014b58861d450e8b8cc75f163aa29dc8cea81952efbfd859168cf - languageName: node - linkType: hard - -"@types/send@npm:*": - version: 1.2.1 - resolution: "@types/send@npm:1.2.1" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/7673747f8c2d8e67f3b1b3b57e9d4d681801a4f7b526ecf09987bb9a84a61cf94aa411c736183884dc762c1c402a61681eb1ef200d8d45d7e5ec0ab67ea5f6c1 - languageName: node - linkType: hard - -"@types/send@npm:<1": - version: 0.17.6 - resolution: "@types/send@npm:0.17.6" - dependencies: - "@types/mime": "npm:^1" - "@types/node": "npm:*" - checksum: 10c0/a9d76797f0637738062f1b974e0fcf3d396a28c5dc18c3f95ecec5dabda82e223afbc2d56a0bca46b6326fd7bb229979916cea40de2270a98128fd94441b87c2 - languageName: node - linkType: hard - -"@types/serve-index@npm:^1.9.1": - version: 1.9.4 - resolution: "@types/serve-index@npm:1.9.4" - dependencies: - "@types/express": "npm:*" - checksum: 10c0/94c1b9e8f1ea36a229e098e1643d5665d9371f8c2658521718e259130a237c447059b903bac0dcc96ee2c15fd63f49aa647099b7d0d437a67a6946527a837438 - languageName: node - linkType: hard - -"@types/serve-static@npm:^1, @types/serve-static@npm:^1.13.10": - version: 1.15.10 - resolution: "@types/serve-static@npm:1.15.10" - dependencies: - "@types/http-errors": "npm:*" - "@types/node": "npm:*" - "@types/send": "npm:<1" - checksum: 10c0/842fca14c9e80468f89b6cea361773f2dcd685d4616a9f59013b55e1e83f536e4c93d6d8e3ba5072d40c4e7e64085210edd6646b15d538ded94512940a23021f - languageName: node - linkType: hard - -"@types/serve-static@npm:^2": - version: 2.2.0 - resolution: "@types/serve-static@npm:2.2.0" - dependencies: - "@types/http-errors": "npm:*" - "@types/node": "npm:*" - checksum: 10c0/a3c6126bdbf9685e6c7dc03ad34639666eff32754e912adeed9643bf3dd3aa0ff043002a7f69039306e310d233eb8e160c59308f95b0a619f32366bbc48ee094 - languageName: node - linkType: hard - -"@types/sockjs@npm:^0.3.33": - version: 0.3.36 - resolution: "@types/sockjs@npm:0.3.36" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/b20b7820ee813f22de4f2ce98bdd12c68c930e016a8912b1ed967595ac0d8a4cbbff44f4d486dd97f77f5927e7b5725bdac7472c9ec5b27f53a5a13179f0612f - languageName: node - linkType: hard - "@types/stack-utils@npm:^2.0.0": version: 2.0.3 resolution: "@types/stack-utils@npm:2.0.3" @@ -6798,14 +5535,14 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:*": +"@types/unist@npm:*, @types/unist@npm:^3.0.0, @types/unist@npm:^3.0.3": version: 3.0.3 resolution: "@types/unist@npm:3.0.3" checksum: 10c0/2b1e4adcab78388e088fcc3c0ae8700f76619dbcb4741d7d201f87e2cb346bfc29a89003cfea2d76c996e1061452e14fcd737e8b25aacf949c1f2d6b2bc3dd60 languageName: node linkType: hard -"@types/unist@npm:^2, @types/unist@npm:^2.0.0, @types/unist@npm:^2.0.2, @types/unist@npm:^2.0.3": +"@types/unist@npm:^2, @types/unist@npm:^2.0.0, @types/unist@npm:^2.0.2": version: 2.0.11 resolution: "@types/unist@npm:2.0.11" checksum: 10c0/24dcdf25a168f453bb70298145eb043cfdbb82472db0bc0b56d6d51cd2e484b9ed8271d4ac93000a80da568f2402e9339723db262d0869e2bf13bc58e081768d @@ -6833,15 +5570,6 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:^8.5.5": - version: 8.18.1 - resolution: "@types/ws@npm:8.18.1" - dependencies: - "@types/node": "npm:*" - checksum: 10c0/61aff1129143fcc4312f083bc9e9e168aa3026b7dd6e70796276dcfb2c8211c4292603f9c4864fae702f2ed86e4abd4d38aa421831c2fd7f856c931a481afbab - languageName: node - linkType: hard - "@types/yargs-parser@npm:*": version: 21.0.3 resolution: "@types/yargs-parser@npm:21.0.3" @@ -7002,6 +5730,13 @@ __metadata: languageName: node linkType: hard +"@ungap/structured-clone@npm:^1.0.0": + version: 1.3.1 + resolution: "@ungap/structured-clone@npm:1.3.1" + checksum: 10c0/7e75faf93cf12ff07c3d15a9e4d326b68f57d13f7246d9f4df2c1ed1a5cde581f899d397816ba5d5d703a0d7f6219e4408f385160156cf20b4e082721817cc37 + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.3.0": version: 1.3.0 resolution: "@ungap/structured-clone@npm:1.3.0" @@ -7009,6 +5744,50 @@ __metadata: languageName: node linkType: hard +"@unhead/react@npm:^2.1.15": + version: 2.1.15 + resolution: "@unhead/react@npm:2.1.15" + dependencies: + unhead: "npm:2.1.15" + peerDependencies: + react: ">=18.3.1" + checksum: 10c0/0a341187a86b9ac38065b521cad124bc0f8092052507551ffbc2d9538598c0dfcd0be7c473a9d117c20949aae0a02fced271a9b81d3826a6d62c0c69e1b4482b + languageName: node + linkType: hard + +"@vercel/analytics@npm:^2.0.1": + version: 2.0.1 + resolution: "@vercel/analytics@npm:2.0.1" + peerDependencies: + "@remix-run/react": ^2 + "@sveltejs/kit": ^1 || ^2 + next: ">= 13" + nuxt: ">= 3" + react: ^18 || ^19 || ^19.0.0-rc + svelte: ">= 4" + vue: ^3 + vue-router: ^4 + peerDependenciesMeta: + "@remix-run/react": + optional: true + "@sveltejs/kit": + optional: true + next: + optional: true + nuxt: + optional: true + react: + optional: true + svelte: + optional: true + vue: + optional: true + vue-router: + optional: true + checksum: 10c0/c788c03d0f072f6f2be52d3f6f4f0680d2343f0d8765a759a044204223b14a6e14b285d0c5d5d05c0b66d4419746c5b245656ebdc48398328d85d96f1ede982b + languageName: node + linkType: hard + "@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/ast@npm:1.14.1" @@ -7181,13 +5960,6 @@ __metadata: languageName: node linkType: hard -"@yarnpkg/lockfile@npm:^1.1.0": - version: 1.1.0 - resolution: "@yarnpkg/lockfile@npm:1.1.0" - checksum: 10c0/0bfa50a3d756623d1f3409bc23f225a1d069424dbc77c6fd2f14fb377390cd57ec703dc70286e081c564be9051ead9ba85d81d66a3e68eeb6eb506d4e0c0fbda - languageName: node - linkType: hard - "JSONStream@npm:^1.0.4": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" @@ -7216,7 +5988,7 @@ __metadata: languageName: node linkType: hard -"accepts@npm:^1.3.8, accepts@npm:~1.3.4, accepts@npm:~1.3.8": +"accepts@npm:^1.3.8, accepts@npm:~1.3.8": version: 1.3.8 resolution: "accepts@npm:1.3.8" dependencies: @@ -7245,7 +6017,7 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.3.2": +"acorn-jsx@npm:^5.0.0, acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" peerDependencies: @@ -7254,16 +6026,16 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.0.0": - version: 8.3.4 - resolution: "acorn-walk@npm:8.3.4" - dependencies: - acorn: "npm:^8.11.0" - checksum: 10c0/76537ac5fb2c37a64560feaf3342023dadc086c46da57da363e64c6148dc21b57d49ace26f949e225063acb6fb441eabffd89f7a3066de5ad37ab3e328927c62 +"acorn@npm:^8.0.0": + version: 8.17.0 + resolution: "acorn@npm:8.17.0" + bin: + acorn: bin/acorn + checksum: 10c0/5dcefea5f8f023b6cc24cbe71fb5a8112b601d36c4fa07d14e4e6ffc2ee47383332c46b36c766d9437725aa6660156eae50efa0c838719823b50d7c327c4ed42 languageName: node linkType: hard -"acorn@npm:^8.0.4, acorn@npm:^8.11.0, acorn@npm:^8.15.0": +"acorn@npm:^8.15.0": version: 8.15.0 resolution: "acorn@npm:8.15.0" bin: @@ -7279,13 +6051,6 @@ __metadata: languageName: node linkType: hard -"address@npm:^1.0.1, address@npm:^1.1.2": - version: 1.2.2 - resolution: "address@npm:1.2.2" - checksum: 10c0/1c8056b77fb124456997b78ed682ecc19d2fd7ea8bd5850a2aa8c3e3134c913847c57bcae418622efd32ba858fa1e242a40a251ac31da0515664fc0ac03a047d - languageName: node - linkType: hard - "agent-base@npm:^7.1.0, agent-base@npm:^7.1.2": version: 7.1.4 resolution: "agent-base@npm:7.1.4" @@ -7293,16 +6058,6 @@ __metadata: languageName: node linkType: hard -"aggregate-error@npm:^3.0.0": - version: 3.1.0 - resolution: "aggregate-error@npm:3.1.0" - dependencies: - clean-stack: "npm:^2.0.0" - indent-string: "npm:^4.0.0" - checksum: 10c0/a42f67faa79e3e6687a4923050e7c9807db3848a037076f791d10e092677d65c1d2d863b7848560699f40fc0502c19f40963fb1cd1fb3d338a7423df8e45e039 - languageName: node - linkType: hard - "ajv-formats@npm:^2.1.1": version: 2.1.1 resolution: "ajv-formats@npm:2.1.1" @@ -7317,7 +6072,7 @@ __metadata: languageName: node linkType: hard -"ajv-keywords@npm:^3.4.1, ajv-keywords@npm:^3.5.2": +"ajv-keywords@npm:^3.5.2": version: 3.5.2 resolution: "ajv-keywords@npm:3.5.2" peerDependencies: @@ -7337,7 +6092,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.12.2, ajv@npm:^6.12.4, ajv@npm:^6.12.5": +"ajv@npm:^6.12.4, ajv@npm:^6.12.5": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -7373,62 +6128,6 @@ __metadata: languageName: node linkType: hard -"algoliasearch-helper@npm:^3.10.0": - version: 3.27.0 - resolution: "algoliasearch-helper@npm:3.27.0" - dependencies: - "@algolia/events": "npm:^4.0.1" - peerDependencies: - algoliasearch: ">= 3.1 < 6" - checksum: 10c0/09cdb9c5faf14127030e3dfb4bf6715bb36a9896edf3b43e128c8b2137a1f7d448817995840c0c1ca53dfd94891a2c3554774e885e826f07a0325f9dede3c527 - languageName: node - linkType: hard - -"algoliasearch@npm:^4.13.1": - version: 4.25.3 - resolution: "algoliasearch@npm:4.25.3" - dependencies: - "@algolia/cache-browser-local-storage": "npm:4.25.3" - "@algolia/cache-common": "npm:4.25.3" - "@algolia/cache-in-memory": "npm:4.25.3" - "@algolia/client-account": "npm:4.25.3" - "@algolia/client-analytics": "npm:4.25.3" - "@algolia/client-common": "npm:4.25.3" - "@algolia/client-personalization": "npm:4.25.3" - "@algolia/client-search": "npm:4.25.3" - "@algolia/logger-common": "npm:4.25.3" - "@algolia/logger-console": "npm:4.25.3" - "@algolia/recommend": "npm:4.25.3" - "@algolia/requester-browser-xhr": "npm:4.25.3" - "@algolia/requester-common": "npm:4.25.3" - "@algolia/requester-node-http": "npm:4.25.3" - "@algolia/transporter": "npm:4.25.3" - checksum: 10c0/e293b79ad5c49991b1882fd811ef69ab81af1e524632cfbaa8afcc96315a7f1a777d7cc5cef075cd7460a3d54d49e03f8c0bb6338bf9f31890e5b05fa20ec844 - languageName: node - linkType: hard - -"algoliasearch@npm:^5.14.2": - version: 5.46.2 - resolution: "algoliasearch@npm:5.46.2" - dependencies: - "@algolia/abtesting": "npm:1.12.2" - "@algolia/client-abtesting": "npm:5.46.2" - "@algolia/client-analytics": "npm:5.46.2" - "@algolia/client-common": "npm:5.46.2" - "@algolia/client-insights": "npm:5.46.2" - "@algolia/client-personalization": "npm:5.46.2" - "@algolia/client-query-suggestions": "npm:5.46.2" - "@algolia/client-search": "npm:5.46.2" - "@algolia/ingestion": "npm:1.46.2" - "@algolia/monitoring": "npm:1.46.2" - "@algolia/recommend": "npm:5.46.2" - "@algolia/requester-browser-xhr": "npm:5.46.2" - "@algolia/requester-fetch": "npm:5.46.2" - "@algolia/requester-node-http": "npm:5.46.2" - checksum: 10c0/37f30159a89f0b4a67d8198a4fe32d32b19c6961bc1d3dc99ea8b8f284dfa0e095b5e24580c15f3b6213a1b3983ef1aae529c41afb3f056b32c1560e329b3a1f - languageName: node - linkType: hard - "all-contributors-cli@npm:^6.24.0": version: 6.26.1 resolution: "all-contributors-cli@npm:6.26.1" @@ -7460,7 +6159,7 @@ __metadata: languageName: node linkType: hard -"ansi-align@npm:^3.0.0, ansi-align@npm:^3.0.1": +"ansi-align@npm:^3.0.0": version: 3.0.1 resolution: "ansi-align@npm:3.0.1" dependencies: @@ -7478,7 +6177,7 @@ __metadata: languageName: node linkType: hard -"ansi-html-community@npm:0.0.8, ansi-html-community@npm:^0.0.8": +"ansi-html-community@npm:0.0.8": version: 0.0.8 resolution: "ansi-html-community@npm:0.0.8" bin: @@ -7501,7 +6200,7 @@ __metadata: languageName: node linkType: hard -"ansi-regex@npm:^6.0.1, ansi-regex@npm:^6.2.2": +"ansi-regex@npm:^6.2.2": version: 6.2.2 resolution: "ansi-regex@npm:6.2.2" checksum: 10c0/05d4acb1d2f59ab2cf4b794339c7b168890d44dda4bf0ce01152a8da0213aca207802f930442ce8cd22d7a92f44907664aac6508904e75e038fa944d2601b30f @@ -7533,7 +6232,7 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^6.1.0, ansi-styles@npm:^6.2.1": +"ansi-styles@npm:^6.2.1": version: 6.2.3 resolution: "ansi-styles@npm:6.2.3" checksum: 10c0/23b8a4ce14e18fb854693b95351e286b771d23d8844057ed2e7d083cd3e708376c3323707ec6a24365f7d7eda3ca00327fe04092e29e551499ec4c8b7bfac868 @@ -7550,7 +6249,7 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:^3.0.3, anymatch@npm:~3.1.2": +"anymatch@npm:^3.0.3": version: 3.1.3 resolution: "anymatch@npm:3.1.3" dependencies: @@ -7567,7 +6266,7 @@ __metadata: languageName: node linkType: hard -"arg@npm:^5.0.0, arg@npm:^5.0.2": +"arg@npm:^5.0.2": version: 5.0.2 resolution: "arg@npm:5.0.2" checksum: 10c0/ccaf86f4e05d342af6666c569f844bec426595c567d32a8289715087825c2ca7edd8a3d204e4d2fb2aa4602e09a57d0c13ea8c9eea75aac3dbb4af5514e6800e @@ -7810,6 +6509,15 @@ __metadata: languageName: node linkType: hard +"astring@npm:^1.8.0": + version: 1.9.0 + resolution: "astring@npm:1.9.0" + bin: + astring: bin/astring + checksum: 10c0/e7519544d9824494e80ef0e722bb3a0c543a31440d59691c13aeaceb75b14502af536b23f08db50aa6c632dafaade54caa25f0788aa7550b6b2d6e2df89e0830 + languageName: node + linkType: hard + "async-function@npm:^1.0.0": version: 1.0.0 resolution: "async-function@npm:1.0.0" @@ -7863,23 +6571,6 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:^10.4.12, autoprefixer@npm:^10.4.7": - version: 10.4.23 - resolution: "autoprefixer@npm:10.4.23" - dependencies: - browserslist: "npm:^4.28.1" - caniuse-lite: "npm:^1.0.30001760" - fraction.js: "npm:^5.3.4" - picocolors: "npm:^1.1.1" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.1.0 - bin: - autoprefixer: bin/autoprefixer - checksum: 10c0/3765c5d0fa3e95fb2ebe9d5a6d4da0156f5d346c7ec9ac0fbf5c97c8139d0ca1e8743bf5dc1b4aa954467be6929fddf8498a3b6202d468d70b5f359f3b6af90f - languageName: node - linkType: hard - "available-typed-arrays@npm:^1.0.7": version: 1.0.7 resolution: "available-typed-arrays@npm:1.0.7" @@ -7889,15 +6580,6 @@ __metadata: languageName: node linkType: hard -"axios@npm:^0.25.0": - version: 0.25.0 - resolution: "axios@npm:0.25.0" - dependencies: - follow-redirects: "npm:^1.14.7" - checksum: 10c0/33475dc847e8494341db5ff5d3ce3a830e511d9698eda1e2507618a0a875ca774e7c59b9194c70664e886699b5917416175da2ea5ccb67a2945f7cdc939d7c56 - languageName: node - linkType: hard - "babel-jest@npm:^29.6.3, babel-jest@npm:^29.7.0": version: 29.7.0 resolution: "babel-jest@npm:29.7.0" @@ -7915,7 +6597,7 @@ __metadata: languageName: node linkType: hard -"babel-loader@npm:^8.1.0, babel-loader@npm:^8.2.5": +"babel-loader@npm:^8.1.0": version: 8.4.1 resolution: "babel-loader@npm:8.4.1" dependencies: @@ -7930,36 +6612,6 @@ __metadata: languageName: node linkType: hard -"babel-plugin-apply-mdx-type-prop@npm:1.6.22": - version: 1.6.22 - resolution: "babel-plugin-apply-mdx-type-prop@npm:1.6.22" - dependencies: - "@babel/helper-plugin-utils": "npm:7.10.4" - "@mdx-js/util": "npm:1.6.22" - peerDependencies: - "@babel/core": ^7.11.6 - checksum: 10c0/d1fd88f2eee87f3d709373cfac5165f8407793b123e1c7061308311f7e6b0778e093a4a93e7130b47c5a742f2515d0c1d4f3da5097ff195ef91011688ec17ddc - languageName: node - linkType: hard - -"babel-plugin-dynamic-import-node@npm:^2.3.3": - version: 2.3.3 - resolution: "babel-plugin-dynamic-import-node@npm:2.3.3" - dependencies: - object.assign: "npm:^4.1.0" - checksum: 10c0/1bd80df981e1fc1aff0cd4e390cf27aaa34f95f7620cd14dff07ba3bad56d168c098233a7d2deb2c9b1dc13643e596a6b94fc608a3412ee3c56e74a25cd2167e - languageName: node - linkType: hard - -"babel-plugin-extract-import-names@npm:1.6.22": - version: 1.6.22 - resolution: "babel-plugin-extract-import-names@npm:1.6.22" - dependencies: - "@babel/helper-plugin-utils": "npm:7.10.4" - checksum: 10c0/c7b7206222f7b70f2c9852caa621cc3742b5d9f7dd4229a6e3c560d7683b82f835a8ea46db632df5dab5ad91b1439ead3771a8576a7a14e418248c16fd1f0cc4 - languageName: node - linkType: hard - "babel-plugin-istanbul@npm:^6.1.1": version: 6.1.1 resolution: "babel-plugin-istanbul@npm:6.1.1" @@ -8308,6 +6960,13 @@ __metadata: languageName: node linkType: hard +"bail@npm:^2.0.0": + version: 2.0.2 + resolution: "bail@npm:2.0.2" + checksum: 10c0/25cbea309ef6a1f56214187004e8f34014eb015713ea01fa5b9b7e9e776ca88d0fdffd64143ac42dc91966c915a4b7b683411b56e14929fad16153fc026ffb8b + languageName: node + linkType: hard + "balanced-match@npm:^1.0.0": version: 1.0.2 resolution: "balanced-match@npm:1.0.2" @@ -8322,13 +6981,6 @@ __metadata: languageName: node linkType: hard -"base16@npm:^1.0.0": - version: 1.0.0 - resolution: "base16@npm:1.0.0" - checksum: 10c0/af1aee7b297d968528ef47c8de2c5274029743e8a4a5f61ec823e36b673781691d124168cb22936c7997f53d89b344c58bf7ecf93eeb148cffa7e3fb4e4b8b18 - languageName: node - linkType: hard - "base64-js@npm:^1.3.1, base64-js@npm:^1.5.1": version: 1.5.1 resolution: "base64-js@npm:1.5.1" @@ -8369,13 +7021,6 @@ __metadata: languageName: node linkType: hard -"batch@npm:0.6.1": - version: 0.6.1 - resolution: "batch@npm:0.6.1" - checksum: 10c0/925a13897b4db80d4211082fe287bcf96d297af38e26448c857cee3e095c9792e3b8f26b37d268812e7f38a589f694609de8534a018b1937d7dc9f84e6b387c5 - languageName: node - linkType: hard - "before-after-hook@npm:^2.2.0": version: 2.2.3 resolution: "before-after-hook@npm:2.2.3" @@ -8397,13 +7042,6 @@ __metadata: languageName: node linkType: hard -"binary-extensions@npm:^2.0.0": - version: 2.3.0 - resolution: "binary-extensions@npm:2.3.0" - checksum: 10c0/75a59cafc10fb12a11d510e77110c6c7ae3f4ca22463d52487709ca7f18f69d886aa387557cc9864fbdb10153d0bdb4caacabf11541f55e89ed6e18d12ece2b5 - languageName: node - linkType: hard - "bl@npm:^4.1.0": version: 4.1.0 resolution: "bl@npm:4.1.0" @@ -8435,20 +7073,10 @@ __metadata: languageName: node linkType: hard -"bonjour-service@npm:^1.0.11": - version: 1.3.0 - resolution: "bonjour-service@npm:1.3.0" - dependencies: - fast-deep-equal: "npm:^3.1.3" - multicast-dns: "npm:^7.2.5" - checksum: 10c0/5721fd9f9bb968e9cc16c1e8116d770863dd2329cb1f753231de1515870648c225142b7eefa71f14a5c22bc7b37ddd7fdeb018700f28a8c936d50d4162d433c7 - languageName: node - linkType: hard - -"boolbase@npm:^1.0.0": - version: 1.0.0 - resolution: "boolbase@npm:1.0.0" - checksum: 10c0/e4b53deb4f2b85c52be0e21a273f2045c7b6a6ea002b0e139c744cb6f95e9ec044439a52883b0d74dedd1ff3da55ed140cfdddfed7fb0cccbed373de5dce1bcf +"body-scroll-lock@npm:4.0.0-beta.0": + version: 4.0.0-beta.0 + resolution: "body-scroll-lock@npm:4.0.0-beta.0" + checksum: 10c0/32a9553b83424e69f3784d7bbcef2949c43159ea13b5084c96dc08b1e2585e4eeb1e915f14e37a4ac44110339dfa6fa2ddde4d3d812be88ecbea060aa724a791 languageName: node linkType: hard @@ -8468,38 +7096,6 @@ __metadata: languageName: node linkType: hard -"boxen@npm:^5.0.0": - version: 5.1.2 - resolution: "boxen@npm:5.1.2" - dependencies: - ansi-align: "npm:^3.0.0" - camelcase: "npm:^6.2.0" - chalk: "npm:^4.1.0" - cli-boxes: "npm:^2.2.1" - string-width: "npm:^4.2.2" - type-fest: "npm:^0.20.2" - widest-line: "npm:^3.1.0" - wrap-ansi: "npm:^7.0.0" - checksum: 10c0/71f31c2eb3dcacd5fce524ae509e0cc90421752e0bfbd0281fd3352871d106c462a0f810c85f2fdb02f3a9fab2d7a84e9718b4999384d651b76104ebe5d2c024 - languageName: node - linkType: hard - -"boxen@npm:^6.2.1": - version: 6.2.1 - resolution: "boxen@npm:6.2.1" - dependencies: - ansi-align: "npm:^3.0.1" - camelcase: "npm:^6.2.0" - chalk: "npm:^4.1.2" - cli-boxes: "npm:^3.0.0" - string-width: "npm:^5.0.1" - type-fest: "npm:^2.5.0" - widest-line: "npm:^4.0.1" - wrap-ansi: "npm:^8.0.1" - checksum: 10c0/2a50d059c950a50d9f3c873093702747740814ce8819225c4f8cbe92024c9f5a9219d2b7128f5cfa17c022644d929bbbc88b9591de67249c6ebe07f7486bdcfd - languageName: node - linkType: hard - "bplist-creator@npm:0.1.0": version: 0.1.0 resolution: "bplist-creator@npm:0.1.0" @@ -8564,7 +7160,7 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.3, braces@npm:~3.0.2": +"braces@npm:^3.0.3": version: 3.0.3 resolution: "braces@npm:3.0.3" dependencies: @@ -8573,7 +7169,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.18.1, browserslist@npm:^4.21.4, browserslist@npm:^4.24.0, browserslist@npm:^4.25.0, browserslist@npm:^4.28.0, browserslist@npm:^4.28.1": +"browserslist@npm:^4.24.0, browserslist@npm:^4.25.0, browserslist@npm:^4.28.0, browserslist@npm:^4.28.1": version: 4.28.1 resolution: "browserslist@npm:4.28.1" dependencies: @@ -8629,13 +7225,6 @@ __metadata: languageName: node linkType: hard -"bytes@npm:3.0.0": - version: 3.0.0 - resolution: "bytes@npm:3.0.0" - checksum: 10c0/91d42c38601c76460519ffef88371caacaea483a354c8e4b8808e7b027574436a5713337c003ea3de63ee4991c2a9a637884fdfe7f761760d746929d9e8fec60 - languageName: node - linkType: hard - "bytes@npm:3.1.2, bytes@npm:~3.1.2": version: 3.1.2 resolution: "bytes@npm:3.1.2" @@ -8812,23 +7401,6 @@ __metadata: languageName: node linkType: hard -"camel-case@npm:^4.1.2": - version: 4.1.2 - resolution: "camel-case@npm:4.1.2" - dependencies: - pascal-case: "npm:^3.1.2" - tslib: "npm:^2.0.3" - checksum: 10c0/bf9eefaee1f20edbed2e9a442a226793bc72336e2b99e5e48c6b7252b6f70b080fc46d8246ab91939e2af91c36cdd422e0af35161e58dd089590f302f8f64c8a - languageName: node - linkType: hard - -"camelcase-css@npm:2.0.1": - version: 2.0.1 - resolution: "camelcase-css@npm:2.0.1" - checksum: 10c0/1a1a3137e8a781e6cbeaeab75634c60ffd8e27850de410c162cce222ea331cd1ba5364e8fb21c95e5ca76f52ac34b81a090925ca00a87221355746d049c6e273 - languageName: node - linkType: hard - "camelcase-keys@npm:^4.0.0": version: 4.2.0 resolution: "camelcase-keys@npm:4.2.0" @@ -8879,19 +7451,7 @@ __metadata: languageName: node linkType: hard -"caniuse-api@npm:^3.0.0": - version: 3.0.0 - resolution: "caniuse-api@npm:3.0.0" - dependencies: - browserslist: "npm:^4.0.0" - caniuse-lite: "npm:^1.0.0" - lodash.memoize: "npm:^4.1.2" - lodash.uniq: "npm:^4.5.0" - checksum: 10c0/60f9e85a3331e6d761b1b03eec71ca38ef7d74146bece34694853033292156b815696573ed734b65583acf493e88163618eda915c6c826d46a024c71a9572b4c - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001759, caniuse-lite@npm:^1.0.30001760": +"caniuse-lite@npm:^1.0.30001759": version: 1.0.30001763 resolution: "caniuse-lite@npm:1.0.30001763" checksum: 10c0/4524f6ae15a18c8510849e43baed01441940c50cab29687cba62dde6354a49549d5bcb7f79b864dadf3f0c8c342038c63131cdb64af382a501593106b1d0028b @@ -8921,6 +7481,13 @@ __metadata: languageName: node linkType: hard +"ccount@npm:^2.0.0": + version: 2.0.1 + resolution: "ccount@npm:2.0.1" + checksum: 10c0/3939b1664390174484322bc3f45b798462e6c07ee6384cb3d645e0aa2f318502d174845198c1561930e1d431087f74cf1fe291ae9a4722821a9f4ba67e574350 + languageName: node + linkType: hard + "chalk@npm:2.4.2, chalk@npm:^2.0.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -9009,6 +7576,13 @@ __metadata: languageName: node linkType: hard +"character-entities-html4@npm:^2.0.0": + version: 2.1.0 + resolution: "character-entities-html4@npm:2.1.0" + checksum: 10c0/fe61b553f083400c20c0b0fd65095df30a0b445d960f3bbf271536ae6c3ba676f39cb7af0b4bf2755812f08ab9b88f2feed68f9aebb73bb153f7a115fe5c6e40 + languageName: node + linkType: hard + "character-entities-legacy@npm:^1.0.0": version: 1.1.4 resolution: "character-entities-legacy@npm:1.1.4" @@ -9016,6 +7590,13 @@ __metadata: languageName: node linkType: hard +"character-entities-legacy@npm:^3.0.0": + version: 3.0.0 + resolution: "character-entities-legacy@npm:3.0.0" + checksum: 10c0/ec4b430af873661aa754a896a2b55af089b4e938d3d010fad5219299a6b6d32ab175142699ee250640678cd64bdecd6db3c9af0b8759ab7b155d970d84c4c7d1 + languageName: node + linkType: hard + "character-entities@npm:^1.0.0": version: 1.2.4 resolution: "character-entities@npm:1.2.4" @@ -9023,6 +7604,13 @@ __metadata: languageName: node linkType: hard +"character-entities@npm:^2.0.0": + version: 2.0.2 + resolution: "character-entities@npm:2.0.2" + checksum: 10c0/b0c645a45bcc90ff24f0e0140f4875a8436b8ef13b6bcd31ec02cfb2ca502b680362aa95386f7815bdc04b6464d48cf191210b3840d7c04241a149ede591a308 + languageName: node + linkType: hard + "character-reference-invalid@npm:^1.0.0": version: 1.1.4 resolution: "character-reference-invalid@npm:1.1.4" @@ -9030,6 +7618,13 @@ __metadata: languageName: node linkType: hard +"character-reference-invalid@npm:^2.0.0": + version: 2.0.1 + resolution: "character-reference-invalid@npm:2.0.1" + checksum: 10c0/2ae0dec770cd8659d7e8b0ce24392d83b4c2f0eb4a3395c955dce5528edd4cc030a794cfa06600fcdd700b3f2de2f9b8e40e309c0011c4180e3be64a0b42e6a1 + languageName: node + linkType: hard + "chardet@npm:^0.7.0": version: 0.7.0 resolution: "chardet@npm:0.7.0" @@ -9037,58 +7632,6 @@ __metadata: languageName: node linkType: hard -"cheerio-select@npm:^2.1.0": - version: 2.1.0 - resolution: "cheerio-select@npm:2.1.0" - dependencies: - boolbase: "npm:^1.0.0" - css-select: "npm:^5.1.0" - css-what: "npm:^6.1.0" - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.3" - domutils: "npm:^3.0.1" - checksum: 10c0/2242097e593919dba4aacb97d7b8275def8b9ec70b00aa1f43335456870cfc9e284eae2080bdc832ed232dabb9eefcf56c722d152da4a154813fb8814a55d282 - languageName: node - linkType: hard - -"cheerio@npm:^1.0.0-rc.12, cheerio@npm:^1.0.0-rc.3": - version: 1.1.2 - resolution: "cheerio@npm:1.1.2" - dependencies: - cheerio-select: "npm:^2.1.0" - dom-serializer: "npm:^2.0.0" - domhandler: "npm:^5.0.3" - domutils: "npm:^3.2.2" - encoding-sniffer: "npm:^0.2.1" - htmlparser2: "npm:^10.0.0" - parse5: "npm:^7.3.0" - parse5-htmlparser2-tree-adapter: "npm:^7.1.0" - parse5-parser-stream: "npm:^7.1.2" - undici: "npm:^7.12.0" - whatwg-mimetype: "npm:^4.0.0" - checksum: 10c0/2c6d2274666fe122f54fdca457ee76453e1a993b19563acaa23eb565bf7776f0f01e4c3800092f00e84aa13c83a161f0cf000ac0a8332d1d7f2b2387d6ecc5fc - languageName: node - linkType: hard - -"chokidar@npm:^3.4.2, chokidar@npm:^3.5.3": - version: 3.6.0 - resolution: "chokidar@npm:3.6.0" - dependencies: - anymatch: "npm:~3.1.2" - braces: "npm:~3.0.2" - fsevents: "npm:~2.3.2" - glob-parent: "npm:~5.1.2" - is-binary-path: "npm:~2.1.0" - is-glob: "npm:~4.0.1" - normalize-path: "npm:~3.0.0" - readdirp: "npm:~3.6.0" - dependenciesMeta: - fsevents: - optional: true - checksum: 10c0/8361dcd013f2ddbe260eacb1f3cb2f2c6f2b0ad118708a343a5ed8158941a39cb8fb1d272e0f389712e74ee90ce8ba864eece9e0e62b9705cb468a2f6d917462 - languageName: node - linkType: hard - "chownr@npm:^3.0.0": version: 3.0.0 resolution: "chownr@npm:3.0.0" @@ -9163,36 +7706,13 @@ __metadata: languageName: node linkType: hard -"clean-css@npm:^5.2.2, clean-css@npm:^5.3.0": - version: 5.3.3 - resolution: "clean-css@npm:5.3.3" - dependencies: - source-map: "npm:~0.6.0" - checksum: 10c0/381de7523e23f3762eb180e327dcc0cedafaf8cb1cd8c26b7cc1fc56e0829a92e734729c4f955394d65ed72fb62f82d8baf78af34b33b8a7d41ebad2accdd6fb - languageName: node - linkType: hard - -"clean-stack@npm:^2.0.0": - version: 2.2.0 - resolution: "clean-stack@npm:2.2.0" - checksum: 10c0/1f90262d5f6230a17e27d0c190b09d47ebe7efdd76a03b5a1127863f7b3c9aec4c3e6c8bb3a7bbf81d553d56a1fd35728f5a8ef4c63f867ac8d690109742a8c1 - languageName: node - linkType: hard - -"cli-boxes@npm:^2.2.0, cli-boxes@npm:^2.2.1": +"cli-boxes@npm:^2.2.0": version: 2.2.1 resolution: "cli-boxes@npm:2.2.1" checksum: 10c0/6111352edbb2f62dbc7bfd58f2d534de507afed7f189f13fa894ce5a48badd94b2aa502fda28f1d7dd5f1eb456e7d4033d09a76660013ef50c7f66e7a034f050 languageName: node linkType: hard -"cli-boxes@npm:^3.0.0": - version: 3.0.0 - resolution: "cli-boxes@npm:3.0.0" - checksum: 10c0/4db3e8fbfaf1aac4fb3a6cbe5a2d3fa048bee741a45371b906439b9ffc821c6e626b0f108bdcd3ddf126a4a319409aedcf39a0730573ff050fdd7b6731e99fb9 - languageName: node - linkType: hard - "cli-cursor@npm:^2.1.0": version: 2.1.0 resolution: "cli-cursor@npm:2.1.0" @@ -9218,19 +7738,6 @@ __metadata: languageName: node linkType: hard -"cli-table3@npm:^0.6.2": - version: 0.6.5 - resolution: "cli-table3@npm:0.6.5" - dependencies: - "@colors/colors": "npm:1.5.0" - string-width: "npm:^4.2.0" - dependenciesMeta: - "@colors/colors": - optional: true - checksum: 10c0/d7cc9ed12212ae68241cc7a3133c52b844113b17856e11f4f81308acc3febcea7cc9fd298e70933e294dd642866b29fd5d113c2c098948701d0c35f09455de78 - languageName: node - linkType: hard - "cli-width@npm:^3.0.0": version: 3.0.0 resolution: "cli-width@npm:3.0.0" @@ -9320,10 +7827,10 @@ __metadata: languageName: node linkType: hard -"clsx@npm:^1.1.1, clsx@npm:^1.2.1": - version: 1.2.1 - resolution: "clsx@npm:1.2.1" - checksum: 10c0/34dead8bee24f5e96f6e7937d711978380647e936a22e76380290e35486afd8634966ce300fc4b74a32f3762c7d4c0303f442c3e259f4ce02374eb0c82834f27 +"clsx@npm:2.1.1": + version: 2.1.1 + resolution: "clsx@npm:2.1.1" + checksum: 10c0/c4c8eb865f8c82baab07e71bfa8897c73454881c4f99d6bc81585aecd7c441746c1399d08363dc096c550cceaf97bd4ce1e8854e1771e9998d9f94c4fe075839 languageName: node linkType: hard @@ -9341,6 +7848,13 @@ __metadata: languageName: node linkType: hard +"collapse-white-space@npm:^2.0.0": + version: 2.1.0 + resolution: "collapse-white-space@npm:2.1.0" + checksum: 10c0/b2e2800f4ab261e62eb27a1fbe853378296e3a726d6695117ed033e82d61fb6abeae4ffc1465d5454499e237005de9cfc52c9562dc7ca4ac759b9a222ef14453 + languageName: node + linkType: hard + "collect-v8-coverage@npm:^1.0.0": version: 1.0.3 resolution: "collect-v8-coverage@npm:1.0.3" @@ -9420,13 +7934,6 @@ __metadata: languageName: node linkType: hard -"colord@npm:^2.9.1": - version: 2.9.3 - resolution: "colord@npm:2.9.3" - checksum: 10c0/9699e956894d8996b28c686afe8988720785f476f59335c80ce852ded76ab3ebe252703aec53d9bef54f6219aea6b960fb3d9a8300058a1d0c0d4026460cd110 - languageName: node - linkType: hard - "colorette@npm:^1.2.2": version: 1.4.0 resolution: "colorette@npm:1.4.0" @@ -9434,20 +7941,6 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^2.0.10": - version: 2.0.20 - resolution: "colorette@npm:2.0.20" - checksum: 10c0/e94116ff33b0ff56f3b83b9ace895e5bf87c2a7a47b3401b8c3f3226e050d5ef76cf4072fb3325f9dc24d1698f9b730baf4e05eeaf861d74a1883073f4c98a40 - languageName: node - linkType: hard - -"combine-promises@npm:^1.1.0": - version: 1.2.0 - resolution: "combine-promises@npm:1.2.0" - checksum: 10c0/906ebf056006eff93c11548df0415053b6756145dae1f5a89579e743cb15fceeb0604555791321db4fba5072aa39bb4de6547e9cdf14589fe949b33d1613422c - languageName: node - linkType: hard - "combined-stream@npm:^1.0.8": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -9464,6 +7957,13 @@ __metadata: languageName: node linkType: hard +"comma-separated-tokens@npm:^2.0.0": + version: 2.0.3 + resolution: "comma-separated-tokens@npm:2.0.3" + checksum: 10c0/91f90f1aae320f1755d6957ef0b864fe4f54737f3313bd95e0802686ee2ca38bff1dd381964d00ae5db42912dd1f4ae5c2709644e82706ffc6f6842a813cdd67 + languageName: node + linkType: hard + "commander@npm:^12.0.0": version: 12.1.0 resolution: "commander@npm:12.1.0" @@ -9478,13 +7978,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^5.1.0": - version: 5.1.0 - resolution: "commander@npm:5.1.0" - checksum: 10c0/da9d71dbe4ce039faf1fe9eac3771dca8c11d66963341f62602f7b66e36d2a3f8883407af4f9a37b1db1a55c59c0c1325f186425764c2e963dc1d67aec2a4b6d - languageName: node - linkType: hard - "commander@npm:^7.2.0": version: 7.2.0 resolution: "commander@npm:7.2.0" @@ -9492,13 +7985,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^8.3.0": - version: 8.3.0 - resolution: "commander@npm:8.3.0" - checksum: 10c0/8b043bb8322ea1c39664a1598a95e0495bfe4ca2fad0d84a92d7d1d8d213e2a155b441d2470c8e08de7c4a28cf2bc6e169211c49e1b21d9f7edc6ae4d9356060 - languageName: node - linkType: hard - "commitlint@npm:^8.3.4": version: 8.3.6 resolution: "commitlint@npm:8.3.6" @@ -9633,6 +8119,13 @@ __metadata: languageName: node linkType: hard +"compute-scroll-into-view@npm:^3.0.2": + version: 3.1.1 + resolution: "compute-scroll-into-view@npm:3.1.1" + checksum: 10c0/59761ed62304a9599b52ad75d0d6fbf0669ee2ab7dd472fdb0ad9da36628414c014dea7b5810046560180ad30ffec52a953d19297f66a1d4f3aa0999b9d2521d + languageName: node + linkType: hard + "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -9666,13 +8159,6 @@ __metadata: languageName: node linkType: hard -"connect-history-api-fallback@npm:^2.0.0": - version: 2.0.0 - resolution: "connect-history-api-fallback@npm:2.0.0" - checksum: 10c0/90fa8b16ab76e9531646cc70b010b1dbd078153730c510d3142f6cf07479ae8a812c5a3c0e40a28528dd1681a62395d0cfdef67da9e914c4772ac85d69a3ed87 - languageName: node - linkType: hard - "connect@npm:^3.6.5, connect@npm:^3.7.0": version: 3.7.0 resolution: "connect@npm:3.7.0" @@ -9685,13 +8171,6 @@ __metadata: languageName: node linkType: hard -"consola@npm:^2.15.3": - version: 2.15.3 - resolution: "consola@npm:2.15.3" - checksum: 10c0/34a337e6b4a1349ee4d7b4c568484344418da8fdb829d7d71bfefcd724f608f273987633b6eef465e8de510929907a092e13cb7a28a5d3acb3be446fcc79fd5e - languageName: node - linkType: hard - "constant-case@npm:^2.0.0": version: 2.0.0 resolution: "constant-case@npm:2.0.0" @@ -9702,13 +8181,6 @@ __metadata: languageName: node linkType: hard -"content-disposition@npm:0.5.2": - version: 0.5.2 - resolution: "content-disposition@npm:0.5.2" - checksum: 10c0/49eebaa0da1f9609b192e99d7fec31d1178cb57baa9d01f5b63b29787ac31e9d18b5a1033e854c68c9b6cce790e700a6f7fa60e43f95e2e416404e114a8f2f49 - languageName: node - linkType: hard - "content-disposition@npm:~0.5.4": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" @@ -9942,13 +8414,6 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.7.0": - version: 1.9.0 - resolution: "convert-source-map@npm:1.9.0" - checksum: 10c0/281da55454bf8126cbc6625385928c43479f2060984180c42f3a86c8b8c12720a24eac260624a7d1e090004028d2dee78602330578ceec1a08e27cb8bb0a8a5b - languageName: node - linkType: hard - "convert-source-map@npm:^2.0.0": version: 2.0.0 resolution: "convert-source-map@npm:2.0.0" @@ -9963,6 +8428,13 @@ __metadata: languageName: node linkType: hard +"cookie@npm:^1.0.1": + version: 1.1.1 + resolution: "cookie@npm:1.1.1" + checksum: 10c0/79c4ddc0fcad9c4f045f826f42edf54bcc921a29586a4558b0898277fa89fb47be95bc384c2253f493af7b29500c830da28341274527328f18eba9f58afa112c + languageName: node + linkType: hard + "cookie@npm:~0.7.1": version: 0.7.2 resolution: "cookie@npm:0.7.2" @@ -9977,26 +8449,12 @@ __metadata: languageName: node linkType: hard -"copy-text-to-clipboard@npm:^3.0.1": - version: 3.2.2 - resolution: "copy-text-to-clipboard@npm:3.2.2" - checksum: 10c0/451796734a380f7da7b0af27c4d94e449719d3a2f2170e99c7e46eeee54cf3c4b4fdeabc185f6d6e8cbdf932e350831d05e8387c4bae8dcedb7fb961c600ddd4 - languageName: node - linkType: hard - -"copy-webpack-plugin@npm:^11.0.0": - version: 11.0.0 - resolution: "copy-webpack-plugin@npm:11.0.0" +"copy-to-clipboard@npm:^3.3.3": + version: 3.3.3 + resolution: "copy-to-clipboard@npm:3.3.3" dependencies: - fast-glob: "npm:^3.2.11" - glob-parent: "npm:^6.0.1" - globby: "npm:^13.1.1" - normalize-path: "npm:^3.0.0" - schema-utils: "npm:^4.0.0" - serialize-javascript: "npm:^6.0.0" - peerDependencies: - webpack: ^5.1.0 - checksum: 10c0/a667dd226b26f148584a35fb705f5af926d872584912cf9fd203c14f2b3a68f473a1f5cf768ec1dd5da23820823b850e5d50458b685c468e4a224b25c12a15b4 + toggle-selection: "npm:^1.0.6" + checksum: 10c0/3ebf5e8ee00601f8c440b83ec08d838e8eabb068c1fae94a9cda6b42f288f7e1b552f3463635f419af44bf7675afc8d0390d30876cf5c2d5d35f86d9c56a3e5f languageName: node linkType: hard @@ -10018,13 +8476,6 @@ __metadata: languageName: node linkType: hard -"core-js-pure@npm:^3.43.0": - version: 3.47.0 - resolution: "core-js-pure@npm:3.47.0" - checksum: 10c0/7eb5f897e532b33e6ea85ec2c60073fc2fe943e4543ec9903340450fc0f3b46b5b118d57d332e9f2c3d681a8b7b219a4cc64ccf548d933f6b79f754b682696dd - languageName: node - linkType: hard - "core-js@npm:3.6.5": version: 3.6.5 resolution: "core-js@npm:3.6.5" @@ -10039,7 +8490,7 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^3.23.3, core-js@npm:^3.6.3": +"core-js@npm:^3.6.3": version: 3.47.0 resolution: "core-js@npm:3.47.0" checksum: 10c0/9b1a7088b7c660c7b8f1d4c90bb1816a8d5352ebdcb7bc742e3a0e4eb803316b5aa17bacb8769522342196351a5430178f46914644f2bfdb94ce0ced3c7fd523 @@ -10078,20 +8529,7 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^6.0.0": - version: 6.0.0 - resolution: "cosmiconfig@npm:6.0.0" - dependencies: - "@types/parse-json": "npm:^4.0.0" - import-fresh: "npm:^3.1.0" - parse-json: "npm:^5.0.0" - path-type: "npm:^4.0.0" - yaml: "npm:^1.7.2" - checksum: 10c0/666ed8732d0bf7d7fe6f8516c8ee6041e0622032e8fa26201577b883d2767ad105d03f38b34b93d1f02f26b22a89e7bab4443b9d2e7f931f48d0e944ffa038b5 - languageName: node - linkType: hard - -"cosmiconfig@npm:^7.0.0, cosmiconfig@npm:^7.0.1": +"cosmiconfig@npm:^7.0.0": version: 7.1.0 resolution: "cosmiconfig@npm:7.1.0" dependencies: @@ -10104,23 +8542,6 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^8.3.5": - version: 8.3.6 - resolution: "cosmiconfig@npm:8.3.6" - dependencies: - import-fresh: "npm:^3.3.0" - js-yaml: "npm:^4.1.0" - parse-json: "npm:^5.2.0" - path-type: "npm:^4.0.0" - peerDependencies: - typescript: ">=4.9.5" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10c0/0382a9ed13208f8bfc22ca2f62b364855207dffdb73dc26e150ade78c3093f1cf56172df2dd460c8caf2afa91c0ed4ec8a88c62f8f9cd1cf423d26506aa8797a - languageName: node - linkType: hard - "create-jest@npm:^29.7.0": version: 29.7.0 resolution: "create-jest@npm:29.7.0" @@ -10138,16 +8559,6 @@ __metadata: languageName: node linkType: hard -"create-react-class@npm:^15.7.0": - version: 15.7.0 - resolution: "create-react-class@npm:15.7.0" - dependencies: - loose-envify: "npm:^1.3.1" - object-assign: "npm:^4.1.1" - checksum: 10c0/bce4b46e6d85b424cb50ca8089266c7664fcecfd81abaafb829680fae2e2e60dc6999cac88f5a16a38473ed284859f2328935a42fc5cd1b7cc48888fdd8363c9 - languageName: node - linkType: hard - "cross-fetch@npm:^3.1.5": version: 3.2.0 resolution: "cross-fetch@npm:3.2.0" @@ -10157,7 +8568,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^6.0.0, cross-spawn@npm:^6.0.5": +"cross-spawn@npm:^6.0.0": version: 6.0.6 resolution: "cross-spawn@npm:6.0.6" dependencies: @@ -10188,15 +8599,6 @@ __metadata: languageName: node linkType: hard -"css-declaration-sorter@npm:^6.3.1": - version: 6.4.1 - resolution: "css-declaration-sorter@npm:6.4.1" - peerDependencies: - postcss: ^8.0.9 - checksum: 10c0/b8b664338dac528266a1ed9b27927ac51a907fb16bc1954fa9038b5286c442603bd494cc920c6a3616111309d18ee6b5a85b6d9927938efc942af452a5145160 - languageName: node - linkType: hard - "css-hot-loader@npm:^1.4.4": version: 1.4.4 resolution: "css-hot-loader@npm:1.4.4" @@ -10237,102 +8639,6 @@ __metadata: languageName: node linkType: hard -"css-loader@npm:^6.7.1": - version: 6.11.0 - resolution: "css-loader@npm:6.11.0" - dependencies: - icss-utils: "npm:^5.1.0" - postcss: "npm:^8.4.33" - postcss-modules-extract-imports: "npm:^3.1.0" - postcss-modules-local-by-default: "npm:^4.0.5" - postcss-modules-scope: "npm:^3.2.0" - postcss-modules-values: "npm:^4.0.0" - postcss-value-parser: "npm:^4.2.0" - semver: "npm:^7.5.4" - peerDependencies: - "@rspack/core": 0.x || 1.x - webpack: ^5.0.0 - peerDependenciesMeta: - "@rspack/core": - optional: true - webpack: - optional: true - checksum: 10c0/bb52434138085fed06a33e2ffbdae9ee9014ad23bf60f59d6b7ee67f28f26c6b1764024d3030bd19fd884d6ee6ee2224eaed64ad19eb18fbbb23d148d353a965 - languageName: node - linkType: hard - -"css-minimizer-webpack-plugin@npm:^4.0.0": - version: 4.2.2 - resolution: "css-minimizer-webpack-plugin@npm:4.2.2" - dependencies: - cssnano: "npm:^5.1.8" - jest-worker: "npm:^29.1.2" - postcss: "npm:^8.4.17" - schema-utils: "npm:^4.0.0" - serialize-javascript: "npm:^6.0.0" - source-map: "npm:^0.6.1" - peerDependencies: - webpack: ^5.0.0 - peerDependenciesMeta: - "@parcel/css": - optional: true - "@swc/css": - optional: true - clean-css: - optional: true - csso: - optional: true - esbuild: - optional: true - lightningcss: - optional: true - checksum: 10c0/05cd1460b83d9a5f8878fd63d3a80fd100cbb10f48e295a6ad52519761f3390e1e1bc0e269ff28d15b062a1b11379e04608d50ee30424e177c281bd845fef9fb - languageName: node - linkType: hard - -"css-select@npm:^4.1.3": - version: 4.3.0 - resolution: "css-select@npm:4.3.0" - dependencies: - boolbase: "npm:^1.0.0" - css-what: "npm:^6.0.1" - domhandler: "npm:^4.3.1" - domutils: "npm:^2.8.0" - nth-check: "npm:^2.0.1" - checksum: 10c0/a489d8e5628e61063d5a8fe0fa1cc7ae2478cb334a388a354e91cf2908154be97eac9fa7ed4dffe87a3e06cf6fcaa6016553115335c4fd3377e13dac7bd5a8e1 - languageName: node - linkType: hard - -"css-select@npm:^5.1.0": - version: 5.2.2 - resolution: "css-select@npm:5.2.2" - dependencies: - boolbase: "npm:^1.0.0" - css-what: "npm:^6.1.0" - domhandler: "npm:^5.0.2" - domutils: "npm:^3.0.1" - nth-check: "npm:^2.0.1" - checksum: 10c0/d79fffa97106007f2802589f3ed17b8c903f1c961c0fc28aa8a051eee0cbad394d8446223862efd4c1b40445a6034f626bb639cf2035b0bfc468544177593c99 - languageName: node - linkType: hard - -"css-tree@npm:^1.1.2, css-tree@npm:^1.1.3": - version: 1.1.3 - resolution: "css-tree@npm:1.1.3" - dependencies: - mdn-data: "npm:2.0.14" - source-map: "npm:^0.6.1" - checksum: 10c0/499a507bfa39b8b2128f49736882c0dd636b0cd3370f2c69f4558ec86d269113286b7df469afc955de6a68b0dba00bc533e40022a73698081d600072d5d83c1c - languageName: node - linkType: hard - -"css-what@npm:^6.0.1, css-what@npm:^6.1.0": - version: 6.2.2 - resolution: "css-what@npm:6.2.2" - checksum: 10c0/91e24c26fb977b4ccef30d7007d2668c1c10ac0154cc3f42f7304410e9594fb772aea4f30c832d2993b132ca8d99338050866476210316345ec2e7d47b248a56 - languageName: node - linkType: hard - "cssesc@npm:^3.0.0": version: 3.0.0 resolution: "cssesc@npm:3.0.0" @@ -10342,92 +8648,6 @@ __metadata: languageName: node linkType: hard -"cssnano-preset-advanced@npm:^5.3.8": - version: 5.3.10 - resolution: "cssnano-preset-advanced@npm:5.3.10" - dependencies: - autoprefixer: "npm:^10.4.12" - cssnano-preset-default: "npm:^5.2.14" - postcss-discard-unused: "npm:^5.1.0" - postcss-merge-idents: "npm:^5.1.1" - postcss-reduce-idents: "npm:^5.2.0" - postcss-zindex: "npm:^5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/abfa870a6e3ab52cddfea7cac83f49b510efb941c7f2960ca9d41ae11fabbe03e9453cad7f81fd1b35cf6080c94094cd7bb1b58c07fad4cf0453f6e4bb9a07ae - languageName: node - linkType: hard - -"cssnano-preset-default@npm:^5.2.14": - version: 5.2.14 - resolution: "cssnano-preset-default@npm:5.2.14" - dependencies: - css-declaration-sorter: "npm:^6.3.1" - cssnano-utils: "npm:^3.1.0" - postcss-calc: "npm:^8.2.3" - postcss-colormin: "npm:^5.3.1" - postcss-convert-values: "npm:^5.1.3" - postcss-discard-comments: "npm:^5.1.2" - postcss-discard-duplicates: "npm:^5.1.0" - postcss-discard-empty: "npm:^5.1.1" - postcss-discard-overridden: "npm:^5.1.0" - postcss-merge-longhand: "npm:^5.1.7" - postcss-merge-rules: "npm:^5.1.4" - postcss-minify-font-values: "npm:^5.1.0" - postcss-minify-gradients: "npm:^5.1.1" - postcss-minify-params: "npm:^5.1.4" - postcss-minify-selectors: "npm:^5.2.1" - postcss-normalize-charset: "npm:^5.1.0" - postcss-normalize-display-values: "npm:^5.1.0" - postcss-normalize-positions: "npm:^5.1.1" - postcss-normalize-repeat-style: "npm:^5.1.1" - postcss-normalize-string: "npm:^5.1.0" - postcss-normalize-timing-functions: "npm:^5.1.0" - postcss-normalize-unicode: "npm:^5.1.1" - postcss-normalize-url: "npm:^5.1.0" - postcss-normalize-whitespace: "npm:^5.1.1" - postcss-ordered-values: "npm:^5.1.3" - postcss-reduce-initial: "npm:^5.1.2" - postcss-reduce-transforms: "npm:^5.1.0" - postcss-svgo: "npm:^5.1.0" - postcss-unique-selectors: "npm:^5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/d125bdb9ac007f97f920e30be953c550a8e7de0cb9298f67e0bc9744f4b920039046b5a6b817e345872836b08689af747f82fbf2189c8bd48da3e6f0c1087b89 - languageName: node - linkType: hard - -"cssnano-utils@npm:^3.1.0": - version: 3.1.0 - resolution: "cssnano-utils@npm:3.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/057508645a3e7584decede1045daa5b362dbfa2f5df96c3527c7d52e41e787a3442a56a8ea0c0af6a757f518e79a459ee580a35c323ad0d0eec912afd67d7630 - languageName: node - linkType: hard - -"cssnano@npm:^5.1.12, cssnano@npm:^5.1.8": - version: 5.1.15 - resolution: "cssnano@npm:5.1.15" - dependencies: - cssnano-preset-default: "npm:^5.2.14" - lilconfig: "npm:^2.0.3" - yaml: "npm:^1.10.2" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/4252e4f4edd7a0fbdd4017825c0f8632b7a12ecbfdd432d2ff7ec268d48eb956a0a10bbf209602181f9f84ceeecea4a864719ecde03aa2cc48f5d9636fcf5f9a - languageName: node - linkType: hard - -"csso@npm:^4.2.0": - version: 4.2.0 - resolution: "csso@npm:4.2.0" - dependencies: - css-tree: "npm:^1.1.2" - checksum: 10c0/f8c6b1300efaa0f8855a7905ae3794a29c6496e7f16a71dec31eb6ca7cfb1f058a4b03fd39b66c4deac6cb06bf6b4ba86da7b67d7320389cb9994d52b924b903 - languageName: node - linkType: hard - "csstype@npm:^3.2.2": version: 3.2.3 resolution: "csstype@npm:3.2.3" @@ -10498,14 +8718,7 @@ __metadata: languageName: node linkType: hard -"debounce@npm:^1.2.1": - version: 1.2.1 - resolution: "debounce@npm:1.2.1" - checksum: 10c0/6c9320aa0973fc42050814621a7a8a78146c1975799b5b3cc1becf1f77ba9a5aa583987884230da0842a03f385def452fad5d60db97c3d1c8b824e38a8edf500 - languageName: node - linkType: hard - -"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.0, debug@npm:^2.6.9": +"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" dependencies: @@ -10514,7 +8727,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.2.0, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.4.0, debug@npm:^4.4.1, debug@npm:^4.4.3": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.4.0, debug@npm:^4.4.1, debug@npm:^4.4.3": version: 4.4.3 resolution: "debug@npm:4.4.3" dependencies: @@ -10564,6 +8777,15 @@ __metadata: languageName: node linkType: hard +"decode-named-character-reference@npm:^1.0.0": + version: 1.3.0 + resolution: "decode-named-character-reference@npm:1.3.0" + dependencies: + character-entities: "npm:^2.0.0" + checksum: 10c0/787f4c87f3b82ea342aa7c2d7b1882b6fb9511bb77f72ae44dcaabea0470bacd1e9c6a0080ab886545019fa0cb3a7109573fad6b61a362844c3a0ac52b36e4bb + languageName: node + linkType: hard + "decode-uri-component@npm:^0.2.0": version: 0.2.2 resolution: "decode-uri-component@npm:0.2.2" @@ -10655,15 +8877,6 @@ __metadata: languageName: node linkType: hard -"default-gateway@npm:^6.0.3": - version: 6.0.3 - resolution: "default-gateway@npm:6.0.3" - dependencies: - execa: "npm:^5.0.0" - checksum: 10c0/5184f9e6e105d24fb44ade9e8741efa54bb75e84625c1ea78c4ef8b81dff09ca52d6dbdd1185cf0dc655bb6b282a64fffaf7ed2dd561b8d9ad6f322b1f039aba - languageName: node - linkType: hard - "defaults@npm:^1.0.3": version: 1.0.4 resolution: "defaults@npm:1.0.4" @@ -10698,13 +8911,6 @@ __metadata: languageName: node linkType: hard -"define-lazy-prop@npm:^2.0.0": - version: 2.0.0 - resolution: "define-lazy-prop@npm:2.0.0" - checksum: 10c0/db6c63864a9d3b7dc9def55d52764968a5af296de87c1b2cc71d8be8142e445208071953649e0386a8cc37cfcf9a2067a47207f1eb9ff250c2a269658fdae422 - languageName: node - linkType: hard - "define-properties@npm:^1.1.3, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" @@ -10744,22 +8950,6 @@ __metadata: languageName: node linkType: hard -"del@npm:^6.1.1": - version: 6.1.1 - resolution: "del@npm:6.1.1" - dependencies: - globby: "npm:^11.0.1" - graceful-fs: "npm:^4.2.4" - is-glob: "npm:^4.0.1" - is-path-cwd: "npm:^2.2.0" - is-path-inside: "npm:^3.0.2" - p-map: "npm:^4.0.0" - rimraf: "npm:^3.0.2" - slash: "npm:^3.0.0" - checksum: 10c0/8a095c5ccade42c867a60252914ae485ec90da243d735d1f63ec1e64c1cfbc2b8810ad69a29ab6326d159d4fddaa2f5bad067808c42072351ec458efff86708f - languageName: node - linkType: hard - "del@npm:^8.0.1": version: 8.0.1 resolution: "del@npm:8.0.1" @@ -10789,13 +8979,6 @@ __metadata: languageName: node linkType: hard -"depd@npm:~1.1.2": - version: 1.1.2 - resolution: "depd@npm:1.1.2" - checksum: 10c0/acb24aaf936ef9a227b6be6d495f0d2eb20108a9a6ad40585c5bda1a897031512fef6484e4fdbb80bd249fdaa82841fa1039f416ece03188e677ba11bcfda249 - languageName: node - linkType: hard - "deprecated-obj@npm:2.0.0": version: 2.0.0 resolution: "deprecated-obj@npm:2.0.0" @@ -10813,6 +8996,13 @@ __metadata: languageName: node linkType: hard +"dequal@npm:^2.0.0": + version: 2.0.3 + resolution: "dequal@npm:2.0.3" + checksum: 10c0/f98860cdf58b64991ae10205137c0e97d384c3a4edc7f807603887b7c4b850af1224a33d88012009f150861cbee4fa2d322c4cc04b9313bee312e47f6ecaa888 + languageName: node + linkType: hard + "destroy@npm:1.2.0, destroy@npm:~1.2.0": version: 1.2.0 resolution: "destroy@npm:1.2.0" @@ -10820,7 +9010,7 @@ __metadata: languageName: node linkType: hard -"detab@npm:2.0.4, detab@npm:^2.0.0": +"detab@npm:^2.0.0": version: 2.0.4 resolution: "detab@npm:2.0.4" dependencies: @@ -10843,39 +9033,6 @@ __metadata: languageName: node linkType: hard -"detect-node@npm:^2.0.4": - version: 2.1.0 - resolution: "detect-node@npm:2.1.0" - checksum: 10c0/f039f601790f2e9d4654e499913259a798b1f5246ae24f86ab5e8bd4aaf3bce50484234c494f11fb00aecb0c6e2733aa7b1cf3f530865640b65fbbd65b2c4e09 - languageName: node - linkType: hard - -"detect-port-alt@npm:^1.1.6": - version: 1.1.6 - resolution: "detect-port-alt@npm:1.1.6" - dependencies: - address: "npm:^1.0.1" - debug: "npm:^2.6.0" - bin: - detect: ./bin/detect-port - detect-port: ./bin/detect-port - checksum: 10c0/7269e6aef7b782d98c77505c07a7a0f5e2ee98a9607dc791035fc0192fc58aa03cc833fae605e10eaf239a2a5a55cd938e0bb141dea764ac6180ca082fd62b23 - languageName: node - linkType: hard - -"detect-port@npm:^1.3.0": - version: 1.6.1 - resolution: "detect-port@npm:1.6.1" - dependencies: - address: "npm:^1.0.1" - debug: "npm:4" - bin: - detect: bin/detect-port.js - detect-port: bin/detect-port.js - checksum: 10c0/4ea9eb46a637cb21220dd0a62b6074792894fc77b2cacbc9de533d1908b2eedafa7bfd7547baaa2ac1e9c7ba7c289b34b17db896dca6da142f4fc6e2060eee17 - languageName: node - linkType: hard - "detect-repo-changelog@npm:1.0.1": version: 1.0.1 resolution: "detect-repo-changelog@npm:1.0.1" @@ -10888,6 +9045,15 @@ __metadata: languageName: node linkType: hard +"devlop@npm:^1.0.0, devlop@npm:^1.1.0": + version: 1.1.0 + resolution: "devlop@npm:1.1.0" + dependencies: + dequal: "npm:^2.0.0" + checksum: 10c0/e0928ab8f94c59417a2b8389c45c55ce0a02d9ac7fd74ef62d01ba48060129e1d594501b77de01f3eeafc7cb00773819b0df74d96251cf20b31c5b3071f45c0e + languageName: node + linkType: hard + "didyoumean@npm:^1.2.1": version: 1.2.2 resolution: "didyoumean@npm:1.2.2" @@ -10918,15 +9084,6 @@ __metadata: languageName: node linkType: hard -"dns-packet@npm:^5.2.2": - version: 5.6.1 - resolution: "dns-packet@npm:5.6.1" - dependencies: - "@leichtgewicht/ip-codec": "npm:^2.0.1" - checksum: 10c0/8948d3d03063fb68e04a1e386875f8c3bcc398fc375f535f2b438fad8f41bf1afa6f5e70893ba44f4ae884c089247e0a31045722fa6ff0f01d228da103f1811d - languageName: node - linkType: hard - "dnssd-advertise@npm:^1.1.4": version: 1.1.4 resolution: "dnssd-advertise@npm:1.1.4" @@ -10939,34 +9096,26 @@ __metadata: resolution: "docs@workspace:docs" dependencies: "@callstack/react-theme-provider": "npm:^3.0.9" - "@docusaurus/core": "npm:^2.3.6" - "@docusaurus/module-type-aliases": "npm:^2.3.6" - "@docusaurus/preset-classic": "npm:^2.3.6" - "@docusaurus/remark-plugin-npm2yarn": "npm:^2.3.6" - "@docusaurus/theme-common": "npm:^2.3.6" - "@easyops-cn/docusaurus-search-local": "npm:^0.33.4" + "@callstack/rspress-preset": "npm:0.6.6" + "@callstack/rspress-theme": "npm:0.6.6" "@material/material-color-utilities": "npm:0.2.4" - "@mdx-js/react": "npm:^1.6.22" "@react-native-vector-icons/material-design-icons": "npm:^12.0.0" - "@tsconfig/docusaurus": "npm:^1.0.6" + "@rspress/core": "npm:2.0.14" "@types/marked": "npm:^4.0.7" + "@types/react": "npm:^19.2.7" "@types/react-color": "npm:^3.0.6" + "@types/react-dom": "npm:^19.2.3" camelcase: "npm:^7.0.1" - clsx: "npm:^1.2.1" color: "npm:^4.2.3" component-docs: "npm:^0.24.0" marked: "npm:^4.1.1" - patch-package: "npm:^6.5.0" - prism-react-renderer: "npm:^1.3.5" - process: "npm:^0.11.10" - react: "npm:17.0.2" + react: "npm:19.2.6" react-color: "npm:^2.19.3" - react-dom: "npm:17.0.2" - react-native-safe-area-context: "npm:^4.5.0" - react-native-web: "npm:^0.18.12" - typescript: "npm:^4.8.4" - use-latest-callback: "npm:^0.1.7" - webpack: "npm:^5.73.0" + react-dom: "npm:19.2.6" + react-native-safe-area-context: "npm:5.7.0" + react-native-web: "npm:^0.21.2" + typescript: "npm:5.8.3" + use-latest-callback: "npm:^0.2.3" languageName: unknown linkType: soft @@ -10988,15 +9137,6 @@ __metadata: languageName: node linkType: hard -"dom-converter@npm:^0.2.0": - version: 0.2.0 - resolution: "dom-converter@npm:0.2.0" - dependencies: - utila: "npm:~0.4" - checksum: 10c0/e96aa63bd8c6ee3cd9ce19c3aecfc2c42e50a460e8087114794d4f5ecf3a4f052b34ea3bf2d73b5d80b4da619073b49905e6d7d788ceb7814ca4c29be5354a11 - languageName: node - linkType: hard - "dom-serializer@npm:^1.0.1": version: 1.4.1 resolution: "dom-serializer@npm:1.4.1" @@ -11008,18 +9148,7 @@ __metadata: languageName: node linkType: hard -"dom-serializer@npm:^2.0.0": - version: 2.0.0 - resolution: "dom-serializer@npm:2.0.0" - dependencies: - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.2" - entities: "npm:^4.2.0" - checksum: 10c0/d5ae2b7110ca3746b3643d3ef60ef823f5f078667baf530cec096433f1627ec4b6fa8c072f09d079d7cda915fd2c7bc1b7b935681e9b09e591e1e15f4040b8e2 - languageName: node - linkType: hard - -"domelementtype@npm:^2.0.1, domelementtype@npm:^2.2.0, domelementtype@npm:^2.3.0": +"domelementtype@npm:^2.0.1, domelementtype@npm:^2.2.0": version: 2.3.0 resolution: "domelementtype@npm:2.3.0" checksum: 10c0/686f5a9ef0fff078c1412c05db73a0dce096190036f33e400a07e2a4518e9f56b1e324f5c576a0a747ef0e75b5d985c040b0d51945ce780c0dd3c625a18cd8c9 @@ -11035,7 +9164,7 @@ __metadata: languageName: node linkType: hard -"domhandler@npm:^4.0.0, domhandler@npm:^4.2.0, domhandler@npm:^4.3.1": +"domhandler@npm:^4.2.0": version: 4.3.1 resolution: "domhandler@npm:4.3.1" dependencies: @@ -11044,16 +9173,7 @@ __metadata: languageName: node linkType: hard -"domhandler@npm:^5.0.2, domhandler@npm:^5.0.3": - version: 5.0.3 - resolution: "domhandler@npm:5.0.3" - dependencies: - domelementtype: "npm:^2.3.0" - checksum: 10c0/bba1e5932b3e196ad6862286d76adc89a0dbf0c773e5ced1eb01f9af930c50093a084eff14b8de5ea60b895c56a04d5de8bbc4930c5543d029091916770b2d2a - languageName: node - linkType: hard - -"domutils@npm:^2.0.0, domutils@npm:^2.5.2, domutils@npm:^2.8.0": +"domutils@npm:^2.0.0": version: 2.8.0 resolution: "domutils@npm:2.8.0" dependencies: @@ -11064,17 +9184,6 @@ __metadata: languageName: node linkType: hard -"domutils@npm:^3.0.1, domutils@npm:^3.2.1, domutils@npm:^3.2.2": - version: 3.2.2 - resolution: "domutils@npm:3.2.2" - dependencies: - dom-serializer: "npm:^2.0.0" - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.3" - checksum: 10c0/47938f473b987ea71cd59e59626eb8666d3aa8feba5266e45527f3b636c7883cca7e582d901531961f742c519d7514636b7973353b648762b2e3bedbf235fada - languageName: node - linkType: hard - "dot-case@npm:^2.1.0": version: 2.1.1 resolution: "dot-case@npm:2.1.1" @@ -11084,16 +9193,6 @@ __metadata: languageName: node linkType: hard -"dot-case@npm:^3.0.4": - version: 3.0.4 - resolution: "dot-case@npm:3.0.4" - dependencies: - no-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - checksum: 10c0/5b859ea65097a7ea870e2c91b5768b72ddf7fa947223fd29e167bcdff58fe731d941c48e47a38ec8aa8e43044c8fbd15cd8fa21689a526bc34b6548197cd5b05 - languageName: node - linkType: hard - "dot-prop@npm:^3.0.0": version: 3.0.0 resolution: "dot-prop@npm:3.0.0" @@ -11130,20 +9229,6 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.2": - version: 0.1.2 - resolution: "duplexer@npm:0.1.2" - checksum: 10c0/c57bcd4bdf7e623abab2df43a7b5b23d18152154529d166c1e0da6bee341d84c432d157d7e97b32fecb1bf3a8b8857dd85ed81a915789f550637ed25b8e64fc2 - languageName: node - linkType: hard - -"eastasianwidth@npm:^0.2.0": - version: 0.2.0 - resolution: "eastasianwidth@npm:0.2.0" - checksum: 10c0/26f364ebcdb6395f95124fda411f63137a4bfb5d3a06453f7f23dfe52502905bd84e0488172e0f9ec295fdc45f05c23d5d91baf16bd26f0fe9acd777a188dc39 - languageName: node - linkType: hard - "ee-first@npm:1.1.1": version: 1.1.1 resolution: "ee-first@npm:1.1.1" @@ -11193,13 +9278,6 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^9.2.2": - version: 9.2.2 - resolution: "emoji-regex@npm:9.2.2" - checksum: 10c0/af014e759a72064cf66e6e694a7fc6b0ed3d8db680427b021a89727689671cefe9d04151b2cad51dbaf85d5ba790d061cd167f1cf32eb7b281f6368b3c181639 - languageName: node - linkType: hard - "emojis-list@npm:^3.0.0": version: 3.0.0 resolution: "emojis-list@npm:3.0.0" @@ -11207,13 +9285,6 @@ __metadata: languageName: node linkType: hard -"emoticon@npm:^3.2.0": - version: 3.2.0 - resolution: "emoticon@npm:3.2.0" - checksum: 10c0/ee0078d81f64fd1b5ce928ea88cbc3f7a1b3c4d731de1cabb53e2411eba412ad3b152b0982a184c7d0818b01d704ac5a238f3b9aaf8c187ddc51d8c17a9881b8 - languageName: node - linkType: hard - "encodeurl@npm:~1.0.2": version: 1.0.2 resolution: "encodeurl@npm:1.0.2" @@ -11228,16 +9299,6 @@ __metadata: languageName: node linkType: hard -"encoding-sniffer@npm:^0.2.1": - version: 0.2.1 - resolution: "encoding-sniffer@npm:0.2.1" - dependencies: - iconv-lite: "npm:^0.6.3" - whatwg-encoding: "npm:^3.1.1" - checksum: 10c0/d6b591880788f3baf8dd1744636dd189d24a1ec93e6f9817267c60ac3458a5191ca70ab1a186fb67731beff1c3489c6527dfdc4718158ed8460ab2f400dd5e7d - languageName: node - linkType: hard - "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -11284,13 +9345,6 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.2.0, entities@npm:^4.4.0": - version: 4.5.0 - resolution: "entities@npm:4.5.0" - checksum: 10c0/5b039739f7621f5d1ad996715e53d964035f75ad3b9a4d38c6b3804bb226e282ffeae2443624d8fdd9c47d8e926ae9ac009c54671243f0c3294c26af7cc85250 - languageName: node - linkType: hard - "entities@npm:^6.0.0": version: 6.0.1 resolution: "entities@npm:6.0.1" @@ -11498,6 +9552,30 @@ __metadata: languageName: node linkType: hard +"esast-util-from-estree@npm:^2.0.0": + version: 2.0.0 + resolution: "esast-util-from-estree@npm:2.0.0" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + devlop: "npm:^1.0.0" + estree-util-visit: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + checksum: 10c0/6c619bc6963314f8f64b32e3b101b321bf121f659e62b11e70f425619c2db6f1d25f4c594a57fd00908da96c67d9bfbf876eb5172abf9e13f47a71796f6630ff + languageName: node + linkType: hard + +"esast-util-from-js@npm:^2.0.0": + version: 2.0.1 + resolution: "esast-util-from-js@npm:2.0.1" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + acorn: "npm:^8.0.0" + esast-util-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/3a446fb0b0d7bcd7e0157aa44b3b692802a08c93edbea81cc0f7fe4437bfdfb4b72e4563fe63b4e36d390086b71185dba4ac921f4180cc6349985c263cc74421 + languageName: node + linkType: hard + "escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" @@ -11921,6 +9999,65 @@ __metadata: languageName: node linkType: hard +"estree-util-attach-comments@npm:^3.0.0": + version: 3.0.0 + resolution: "estree-util-attach-comments@npm:3.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + checksum: 10c0/ee69bb5c45e2ad074725b90ed181c1c934b29d81bce4b0c7761431e83c4c6ab1b223a6a3d6a4fbeb92128bc5d5ee201d5dd36cf1770aa5e16a40b0cf36e8a1f1 + languageName: node + linkType: hard + +"estree-util-build-jsx@npm:^3.0.0": + version: 3.0.1 + resolution: "estree-util-build-jsx@npm:3.0.1" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + estree-walker: "npm:^3.0.0" + checksum: 10c0/274c119817b8e7caa14a9778f1e497fea56cdd2b01df1a1ed037f843178992d3afe85e0d364d485e1e2e239255763553d1b647b15e4a7ba50851bcb43dc6bf80 + languageName: node + linkType: hard + +"estree-util-is-identifier-name@npm:^3.0.0": + version: 3.0.0 + resolution: "estree-util-is-identifier-name@npm:3.0.0" + checksum: 10c0/d1881c6ed14bd588ebd508fc90bf2a541811dbb9ca04dec2f39d27dcaa635f85b5ed9bbbe7fc6fb1ddfca68744a5f7c70456b4b7108b6c4c52780631cc787c5b + languageName: node + linkType: hard + +"estree-util-scope@npm:^1.0.0": + version: 1.0.0 + resolution: "estree-util-scope@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + checksum: 10c0/ef8a573cc899277c613623a1722f630e2163abbc6e9e2f49e758c59b81b484e248b585df6df09a38c00fbfb6390117997cc80c1347b7a86bc1525d9e462b60d5 + languageName: node + linkType: hard + +"estree-util-to-js@npm:^2.0.0": + version: 2.0.0 + resolution: "estree-util-to-js@npm:2.0.0" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + astring: "npm:^1.8.0" + source-map: "npm:^0.7.0" + checksum: 10c0/ac88cb831401ef99e365f92f4af903755d56ae1ce0e0f0fb8ff66e678141f3d529194f0fb15f6c78cd7554c16fda36854df851d58f9e05cfab15bddf7a97cea0 + languageName: node + linkType: hard + +"estree-util-visit@npm:^2.0.0": + version: 2.0.0 + resolution: "estree-util-visit@npm:2.0.0" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/unist": "npm:^3.0.0" + checksum: 10c0/acda8b03cc8f890d79c7c7361f6c95331ba84b7ccc0c32b49f447fc30206b20002b37ffdfc97b6ad16e6fe065c63ecbae1622492e2b6b4775c15966606217f39 + languageName: node + linkType: hard + "estree-walker@npm:^0.6.1": version: 0.6.1 resolution: "estree-walker@npm:0.6.1" @@ -11928,6 +10065,15 @@ __metadata: languageName: node linkType: hard +"estree-walker@npm:^3.0.0": + version: 3.0.3 + resolution: "estree-walker@npm:3.0.3" + dependencies: + "@types/estree": "npm:^1.0.0" + checksum: 10c0/c12e3c2b2642d2bcae7d5aa495c60fa2f299160946535763969a1c83fc74518ffa9c2cd3a8b69ac56aea547df6a8aac25f729a342992ef0bbac5f1c73e78995d + languageName: node + linkType: hard + "esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -11935,13 +10081,6 @@ __metadata: languageName: node linkType: hard -"eta@npm:^2.0.0": - version: 2.2.0 - resolution: "eta@npm:2.2.0" - checksum: 10c0/643b54d9539d2761bf6c5f4f48df1a5ea2d46c7f5a5fdc47a7d4802a8aa2b6262d4d61f724452e226c18cf82db02d48e65293fcc548f26a3f9d75a5ba7c3b859 - languageName: node - linkType: hard - "etag@npm:~1.8.1": version: 1.8.1 resolution: "etag@npm:1.8.1" @@ -11949,16 +10088,6 @@ __metadata: languageName: node linkType: hard -"eval@npm:^0.1.8": - version: 0.1.8 - resolution: "eval@npm:0.1.8" - dependencies: - "@types/node": "npm:*" - require-like: "npm:>= 0.1.1" - checksum: 10c0/258e700bff09e3ce3344273d5b6691b8ec5b043538d84f738f14d8b0aded33d64c00c15b380de725b1401b15f428ab35a9e7ca19a7d25f162c4f877c71586be9 - languageName: node - linkType: hard - "event-target-shim@npm:^5.0.0": version: 5.0.1 resolution: "event-target-shim@npm:5.0.1" @@ -11966,13 +10095,6 @@ __metadata: languageName: node linkType: hard -"eventemitter3@npm:^4.0.0": - version: 4.0.7 - resolution: "eventemitter3@npm:4.0.7" - checksum: 10c0/5f6d97cbcbac47be798e6355e3a7639a84ee1f7d9b199a07017f1d2f1e2fe236004d14fa5dfaeba661f94ea57805385e326236a6debbc7145c8877fbc0297c6b - languageName: node - linkType: hard - "events@npm:^3.2.0": version: 3.3.0 resolution: "events@npm:3.3.0" @@ -12425,7 +10547,7 @@ __metadata: languageName: node linkType: hard -"express@npm:^4.17.1, express@npm:^4.17.3": +"express@npm:^4.17.1": version: 4.22.1 resolution: "express@npm:4.22.1" dependencies: @@ -12531,7 +10653,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.1.1, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.0, fast-glob@npm:^3.3.3": +"fast-glob@npm:^3.1.1, fast-glob@npm:^3.3.3": version: 3.3.3 resolution: "fast-glob@npm:3.3.3" dependencies: @@ -12558,13 +10680,6 @@ __metadata: languageName: node linkType: hard -"fast-loops@npm:^1.1.3": - version: 1.1.4 - resolution: "fast-loops@npm:1.1.4" - checksum: 10c0/25e8a608fccc0d84c1d037efa715ab1e6f21576e1070931b3ed966657204c47ed2b1cba16e5c46ddde2d62aba0b4100d86616d995318b7367fa0a902a78ed885 - languageName: node - linkType: hard - "fast-uri@npm:^3.0.1": version: 3.1.0 resolution: "fast-uri@npm:3.1.0" @@ -12581,15 +10696,6 @@ __metadata: languageName: node linkType: hard -"faye-websocket@npm:^0.11.3": - version: 0.11.4 - resolution: "faye-websocket@npm:0.11.4" - dependencies: - websocket-driver: "npm:>=0.5.1" - checksum: 10c0/c6052a0bb322778ce9f89af92890f6f4ce00d5ec92418a35e5f4c6864a4fe736fec0bcebd47eac7c0f0e979b01530746b1c85c83cb04bae789271abf19737420 - languageName: node - linkType: hard - "fb-dotslash@npm:0.5.8": version: 0.5.8 resolution: "fb-dotslash@npm:0.5.8" @@ -12608,15 +10714,6 @@ __metadata: languageName: node linkType: hard -"fbemitter@npm:^3.0.0": - version: 3.0.0 - resolution: "fbemitter@npm:3.0.0" - dependencies: - fbjs: "npm:^3.0.0" - checksum: 10c0/f130dd8e15dc3fc6709a26586b7a589cd994e1d1024b624f2cc8ef1b12401536a94bb30038e68150a24f9ba18863e9a3fe87941ade2c87667bfbd17f4848d5c7 - languageName: node - linkType: hard - "fbjs-css-vars@npm:^1.0.0": version: 1.0.2 resolution: "fbjs-css-vars@npm:1.0.2" @@ -12624,7 +10721,7 @@ __metadata: languageName: node linkType: hard -"fbjs@npm:^3.0.0, fbjs@npm:^3.0.1, fbjs@npm:^3.0.4": +"fbjs@npm:^3.0.4": version: 3.0.5 resolution: "fbjs@npm:3.0.5" dependencies: @@ -12651,15 +10748,6 @@ __metadata: languageName: node linkType: hard -"feed@npm:^4.2.2": - version: 4.2.2 - resolution: "feed@npm:4.2.2" - dependencies: - xml-js: "npm:^1.6.11" - checksum: 10c0/c0849bde569da94493224525db00614fd1855a5d7c2e990f6e8637bd0298e85c3d329efe476cba77e711e438c3fb48af60cd5ef0c409da5bcd1f479790b0a372 - languageName: node - linkType: hard - "fetch-nodeshim@npm:^0.4.10": version: 0.4.10 resolution: "fetch-nodeshim@npm:0.4.10" @@ -12697,18 +10785,6 @@ __metadata: languageName: node linkType: hard -"file-loader@npm:^6.2.0": - version: 6.2.0 - resolution: "file-loader@npm:6.2.0" - dependencies: - loader-utils: "npm:^2.0.0" - schema-utils: "npm:^3.0.0" - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - checksum: 10c0/e176a57c2037ab0f78e5755dbf293a6b7f0f8392350a120bd03cc2ce2525bea017458ba28fea14ca535ff1848055e86d1a3a216bdb2561ef33395b27260a1dd3 - languageName: node - linkType: hard - "filename-reserved-regex@npm:^2.0.0": version: 2.0.0 resolution: "filename-reserved-regex@npm:2.0.0" @@ -12727,13 +10803,6 @@ __metadata: languageName: node linkType: hard -"filesize@npm:^8.0.6": - version: 8.0.7 - resolution: "filesize@npm:8.0.7" - checksum: 10c0/82072d94816484df5365d4d5acbb2327a65dc49704c64e403e8c40d8acb7364de1cf1e65cb512c77a15d353870f73e4fed46dad5c6153d0618d9ce7a64d09cfc - languageName: node - linkType: hard - "fill-range@npm:^4.0.0": version: 4.0.0 resolution: "fill-range@npm:4.0.0" @@ -12880,15 +10949,6 @@ __metadata: languageName: node linkType: hard -"find-yarn-workspace-root@npm:^2.0.0": - version: 2.0.0 - resolution: "find-yarn-workspace-root@npm:2.0.0" - dependencies: - micromatch: "npm:^4.0.2" - checksum: 10c0/b0d3843013fbdaf4e57140e0165889d09fa61745c9e85da2af86e54974f4cc9f1967e40f0d8fc36a79d53091f0829c651d06607d552582e53976f3cd8f4e5689 - languageName: node - linkType: hard - "flat-cache@npm:^4.0.0": version: 4.0.1 resolution: "flat-cache@npm:4.0.1" @@ -12915,6 +10975,13 @@ __metadata: languageName: node linkType: hard +"flexsearch@npm:0.8.212": + version: 0.8.212 + resolution: "flexsearch@npm:0.8.212" + checksum: 10c0/557a320fe028e694579d9f3f4cacd6acab6bcfa9101a63dbacf23ddbc872310a3370586a12007cf080ed2dfe3c99e6b21dd1e83697f2b4734722fbd43285d782 + languageName: node + linkType: hard + "flow-enums-runtime@npm:^0.0.6": version: 0.0.6 resolution: "flow-enums-runtime@npm:0.0.6" @@ -12922,28 +10989,6 @@ __metadata: languageName: node linkType: hard -"flux@npm:^4.0.1": - version: 4.0.4 - resolution: "flux@npm:4.0.4" - dependencies: - fbemitter: "npm:^3.0.0" - fbjs: "npm:^3.0.1" - peerDependencies: - react: ^15.0.2 || ^16.0.0 || ^17.0.0 - checksum: 10c0/948bc01b97ff21babc8bfe5c40543d643ca126b71edd447a9ac051b05d20fd549a6bcc4afe043bcde56201782e688a5eaeda1bd8e3e58915641abdd5b3ea21e0 - languageName: node - linkType: hard - -"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.14.7": - version: 1.15.11 - resolution: "follow-redirects@npm:1.15.11" - peerDependenciesMeta: - debug: - optional: true - checksum: 10c0/d301f430542520a54058d4aeeb453233c564aaccac835d29d15e050beb33f339ad67d9bddbce01739c5dc46a6716dbe3d9d0d5134b1ca203effa11a7ef092343 - languageName: node - linkType: hard - "fontfaceobserver@npm:^2.1.0": version: 2.3.0 resolution: "fontfaceobserver@npm:2.3.0" @@ -12977,37 +11022,6 @@ __metadata: languageName: node linkType: hard -"fork-ts-checker-webpack-plugin@npm:^6.5.0": - version: 6.5.3 - resolution: "fork-ts-checker-webpack-plugin@npm:6.5.3" - dependencies: - "@babel/code-frame": "npm:^7.8.3" - "@types/json-schema": "npm:^7.0.5" - chalk: "npm:^4.1.0" - chokidar: "npm:^3.4.2" - cosmiconfig: "npm:^6.0.0" - deepmerge: "npm:^4.2.2" - fs-extra: "npm:^9.0.0" - glob: "npm:^7.1.6" - memfs: "npm:^3.1.2" - minimatch: "npm:^3.0.4" - schema-utils: "npm:2.7.0" - semver: "npm:^7.3.2" - tapable: "npm:^1.0.0" - peerDependencies: - eslint: ">= 6" - typescript: ">= 2.7" - vue-template-compiler: "*" - webpack: ">= 4" - peerDependenciesMeta: - eslint: - optional: true - vue-template-compiler: - optional: true - checksum: 10c0/0885ea75474de011d4068ca3e2d3ca6e4cd318f5cfa018e28ff8fef23ef3a1f1c130160ef192d3e5d31ef7b6fe9f8fb1d920eab5e9e449fb30ce5cc96647245c - languageName: node - linkType: hard - "form-data@npm:3.0.0": version: 3.0.0 resolution: "form-data@npm:3.0.0" @@ -13026,13 +11040,6 @@ __metadata: languageName: node linkType: hard -"fraction.js@npm:^5.3.4": - version: 5.3.4 - resolution: "fraction.js@npm:5.3.4" - checksum: 10c0/f90079fe9bfc665e0a07079938e8ff71115bce9462f17b32fc283f163b0540ec34dc33df8ed41bb56f028316b04361b9a9995b9ee9258617f8338e0b05c5f95a - languageName: node - linkType: hard - "fragment-cache@npm:^0.2.1": version: 0.2.1 resolution: "fragment-cache@npm:0.2.1" @@ -13058,17 +11065,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^10.0.0, fs-extra@npm:^10.1.0": - version: 10.1.0 - resolution: "fs-extra@npm:10.1.0" - dependencies: - graceful-fs: "npm:^4.2.0" - jsonfile: "npm:^6.0.1" - universalify: "npm:^2.0.0" - checksum: 10c0/5f579466e7109719d162a9249abbeffe7f426eb133ea486e020b89bc6d67a741134076bf439983f2eb79276ceaf6bd7b7c1e43c3fd67fe889863e69072fb0a5e - languageName: node - linkType: hard - "fs-extra@npm:^11.3.4": version: 11.3.5 resolution: "fs-extra@npm:11.3.5" @@ -13091,7 +11087,7 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^9.0.0, fs-extra@npm:^9.0.1": +"fs-extra@npm:^9.0.1": version: 9.1.0 resolution: "fs-extra@npm:9.1.0" dependencies: @@ -13126,7 +11122,7 @@ __metadata: languageName: node linkType: hard -"fsevents@npm:^2.3.2, fsevents@npm:~2.3.2": +"fsevents@npm:^2.3.2": version: 2.3.3 resolution: "fsevents@npm:2.3.3" dependencies: @@ -13136,7 +11132,7 @@ __metadata: languageName: node linkType: hard -"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin, fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin": +"fsevents@patch:fsevents@npm%3A^2.3.2#optional!builtin": version: 2.3.3 resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" dependencies: @@ -13180,7 +11176,7 @@ __metadata: languageName: node linkType: hard -"gensync@npm:^1.0.0-beta.1, gensync@npm:^1.0.0-beta.2": +"gensync@npm:^1.0.0-beta.2": version: 1.0.0-beta.2 resolution: "gensync@npm:1.0.0-beta.2" checksum: 10c0/782aba6cba65b1bb5af3b095d96249d20edbe8df32dbf4696fd49be2583faf676173bf4809386588828e4dd76a3354fcbeb577bab1c833ccd9fc4577f26103f8 @@ -13194,7 +11190,7 @@ __metadata: languageName: node linkType: hard -"get-east-asian-width@npm:^1.0.0": +"get-east-asian-width@npm:^1.0.0, get-east-asian-width@npm:^1.4.0": version: 1.6.0 resolution: "get-east-asian-width@npm:1.6.0" checksum: 10c0/7e72e9550fd49ca5b246f9af6bb2afc129c96412845ff6556b3274fd44817a381702ca17028efe9866b261a3d44254cbf21e6c90cf05b4b61675630af776d431 @@ -13222,13 +11218,6 @@ __metadata: languageName: node linkType: hard -"get-own-enumerable-property-symbols@npm:^3.0.0": - version: 3.0.2 - resolution: "get-own-enumerable-property-symbols@npm:3.0.2" - checksum: 10c0/103999855f3d1718c631472437161d76962cbddcd95cc642a34c07bfb661ed41b6c09a9c669ccdff89ee965beb7126b80eec7b2101e20e31e9cc6c4725305e10 - languageName: node - linkType: hard - "get-package-type@npm:^0.1.0": version: 0.1.0 resolution: "get-package-type@npm:0.1.0" @@ -13382,14 +11371,7 @@ __metadata: languageName: node linkType: hard -"github-slugger@npm:^1.4.0": - version: 1.5.0 - resolution: "github-slugger@npm:1.5.0" - checksum: 10c0/116f99732925f939cbfd6f2e57db1aa7e111a460db0d103e3b3f2fce6909d44311663d4542350706cad806345b9892358cc3b153674f88eeae77f43380b3bfca - languageName: node - linkType: hard - -"glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": +"glob-parent@npm:^5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" dependencies: @@ -13398,7 +11380,7 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^6.0.1, glob-parent@npm:^6.0.2": +"glob-parent@npm:^6.0.2": version: 6.0.2 resolution: "glob-parent@npm:6.0.2" dependencies: @@ -13468,35 +11450,6 @@ __metadata: languageName: node linkType: hard -"global-dirs@npm:^3.0.0": - version: 3.0.1 - resolution: "global-dirs@npm:3.0.1" - dependencies: - ini: "npm:2.0.0" - checksum: 10c0/ef65e2241a47ff978f7006a641302bc7f4c03dfb98783d42bf7224c136e3a06df046e70ee3a010cf30214114755e46c9eb5eb1513838812fbbe0d92b14c25080 - languageName: node - linkType: hard - -"global-modules@npm:^2.0.0": - version: 2.0.0 - resolution: "global-modules@npm:2.0.0" - dependencies: - global-prefix: "npm:^3.0.0" - checksum: 10c0/43b770fe24aa6028f4b9770ea583a47f39750be15cf6e2578f851e4ccc9e4fa674b8541928c0b09c21461ca0763f0d36e4068cec86c914b07fd6e388e66ba5b9 - languageName: node - linkType: hard - -"global-prefix@npm:^3.0.0": - version: 3.0.0 - resolution: "global-prefix@npm:3.0.0" - dependencies: - ini: "npm:^1.3.5" - kind-of: "npm:^6.0.2" - which: "npm:^1.3.1" - checksum: 10c0/510f489fb68d1cc7060f276541709a0ee6d41356ef852de48f7906c648ac223082a1cc8fce86725ca6c0e032bcdc1189ae77b4744a624b29c34a9d0ece498269 - languageName: node - linkType: hard - "globals@npm:^14.0.0": version: 14.0.0 resolution: "globals@npm:14.0.0" @@ -13535,33 +11488,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.1, globby@npm:^11.0.4, globby@npm:^11.1.0": - version: 11.1.0 - resolution: "globby@npm:11.1.0" - dependencies: - array-union: "npm:^2.1.0" - dir-glob: "npm:^3.0.1" - fast-glob: "npm:^3.2.9" - ignore: "npm:^5.2.0" - merge2: "npm:^1.4.1" - slash: "npm:^3.0.0" - checksum: 10c0/b39511b4afe4bd8a7aead3a27c4ade2b9968649abab0a6c28b1a90141b96ca68ca5db1302f7c7bd29eab66bf51e13916b8e0a3d0ac08f75e1e84a39b35691189 - languageName: node - linkType: hard - -"globby@npm:^13.1.1": - version: 13.2.2 - resolution: "globby@npm:13.2.2" - dependencies: - dir-glob: "npm:^3.0.1" - fast-glob: "npm:^3.3.0" - ignore: "npm:^5.2.4" - merge2: "npm:^1.4.1" - slash: "npm:^4.0.0" - checksum: 10c0/a8d7cc7cbe5e1b2d0f81d467bbc5bc2eac35f74eaded3a6c85fc26d7acc8e6de22d396159db8a2fc340b8a342e74cac58de8f4aee74146d3d146921a76062664 - languageName: node - linkType: hard - "globby@npm:^14.0.2": version: 14.1.0 resolution: "globby@npm:14.1.0" @@ -13621,41 +11547,13 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.3, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10c0/386d011a553e02bc594ac2ca0bd6d9e4c22d7fa8cfbfc448a6d148c59ea881b092db9dbe3547ae4b88e55f1b01f7c4a2ecc53b310c042793e63aa44cf6c257f2 languageName: node linkType: hard -"gray-matter@npm:^4.0.3": - version: 4.0.3 - resolution: "gray-matter@npm:4.0.3" - dependencies: - js-yaml: "npm:^3.13.1" - kind-of: "npm:^6.0.2" - section-matter: "npm:^1.0.0" - strip-bom-string: "npm:^1.0.0" - checksum: 10c0/e38489906dad4f162ca01e0dcbdbed96d1a53740cef446b9bf76d80bec66fa799af07776a18077aee642346c5e1365ed95e4c91854a12bf40ba0d4fb43a625a6 - languageName: node - linkType: hard - -"gzip-size@npm:^6.0.0": - version: 6.0.0 - resolution: "gzip-size@npm:6.0.0" - dependencies: - duplexer: "npm:^0.1.2" - checksum: 10c0/4ccb924626c82125897a997d1c84f2377846a6ef57fbee38f7c0e6b41387fba4d00422274440747b58008b5d60114bac2349c2908e9aba55188345281af40a3f - languageName: node - linkType: hard - -"handle-thing@npm:^2.0.0": - version: 2.0.1 - resolution: "handle-thing@npm:2.0.1" - checksum: 10c0/7ae34ba286a3434f1993ebd1cc9c9e6b6d8ea672182db28b1afc0a7119229552fa7031e3e5f3cd32a76430ece4e94b7da6f12af2eb39d6239a7693e4bd63a998 - languageName: node - linkType: hard - "handlebars@npm:^4.7.7": version: 4.7.8 resolution: "handlebars@npm:4.7.8" @@ -13805,21 +11703,6 @@ __metadata: languageName: node linkType: hard -"hast-to-hyperscript@npm:^9.0.0": - version: 9.0.1 - resolution: "hast-to-hyperscript@npm:9.0.1" - dependencies: - "@types/unist": "npm:^2.0.3" - comma-separated-tokens: "npm:^1.0.0" - property-information: "npm:^5.3.0" - space-separated-tokens: "npm:^1.0.0" - style-to-object: "npm:^0.3.0" - unist-util-is: "npm:^4.0.0" - web-namespaces: "npm:^1.0.0" - checksum: 10c0/630f0db8e1c78d8d6e4f8bd19dec4b6ff6c3048ba0b07b8e34bb812dfbbdc96f4c16abca16c3bfc64e7757921f42790a7bd4a693d6ce99375f99dead65a19a12 - languageName: node - linkType: hard - "hast-util-from-parse5@npm:^5.0.0": version: 5.0.3 resolution: "hast-util-from-parse5@npm:5.0.3" @@ -13847,6 +11730,31 @@ __metadata: languageName: node linkType: hard +"hast-util-from-parse5@npm:^8.0.0": + version: 8.0.3 + resolution: "hast-util-from-parse5@npm:8.0.3" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + devlop: "npm:^1.0.0" + hastscript: "npm:^9.0.0" + property-information: "npm:^7.0.0" + vfile: "npm:^6.0.0" + vfile-location: "npm:^5.0.0" + web-namespaces: "npm:^2.0.0" + checksum: 10c0/40ace6c0ad43c26f721c7499fe408e639cde917b2350c9299635e6326559855896dae3c3ebf7440df54766b96c4276a7823e8f376a2b6a28b37b591f03412545 + languageName: node + linkType: hard + +"hast-util-heading-rank@npm:^3.0.0": + version: 3.0.0 + resolution: "hast-util-heading-rank@npm:3.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + checksum: 10c0/1879c84f629e73f1f13247ab349324355cd801363b44e3d46f763aa5c0ea3b42dcd47b46e5643a0502cf01a6b1fdb9208fd12852e44ca6c671b3e4bccf9369a1 + languageName: node + linkType: hard + "hast-util-is-element@npm:^1.0.0": version: 1.1.0 resolution: "hast-util-is-element@npm:1.1.0" @@ -13854,6 +11762,15 @@ __metadata: languageName: node linkType: hard +"hast-util-is-element@npm:^3.0.0": + version: 3.0.0 + resolution: "hast-util-is-element@npm:3.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + checksum: 10c0/f5361e4c9859c587ca8eb0d8343492f3077ccaa0f58a44cd09f35d5038f94d65152288dcd0c19336ef2c9491ec4d4e45fde2176b05293437021570aa0bc3613b + languageName: node + linkType: hard + "hast-util-parse-selector@npm:^2.0.0": version: 2.2.5 resolution: "hast-util-parse-selector@npm:2.2.5" @@ -13861,21 +11778,12 @@ __metadata: languageName: node linkType: hard -"hast-util-raw@npm:6.0.1": - version: 6.0.1 - resolution: "hast-util-raw@npm:6.0.1" +"hast-util-parse-selector@npm:^4.0.0": + version: 4.0.0 + resolution: "hast-util-parse-selector@npm:4.0.0" dependencies: - "@types/hast": "npm:^2.0.0" - hast-util-from-parse5: "npm:^6.0.0" - hast-util-to-parse5: "npm:^6.0.0" - html-void-elements: "npm:^1.0.0" - parse5: "npm:^6.0.0" - unist-util-position: "npm:^3.0.0" - vfile: "npm:^4.0.0" - web-namespaces: "npm:^1.0.0" - xtend: "npm:^4.0.0" - zwitch: "npm:^1.0.0" - checksum: 10c0/0ed0a2731251a4853710eda38e0bb79ee1ad8ccea69b391c16eb20895895818bced1c2c9eaf8853280f0aa6dc71d22b9eb6c9aab770dd1a225bb44d522eef1ef + "@types/hast": "npm:^3.0.0" + checksum: 10c0/5e98168cb44470dc274aabf1a28317e4feb09b1eaf7a48bbaa8c1de1b43a89cd195cb1284e535698e658e3ec26ad91bc5e52c9563c36feb75abbc68aaf68fb9f languageName: node linkType: hard @@ -13895,6 +11803,51 @@ __metadata: languageName: node linkType: hard +"hast-util-raw@npm:^9.0.0": + version: 9.1.0 + resolution: "hast-util-raw@npm:9.1.0" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + "@ungap/structured-clone": "npm:^1.0.0" + hast-util-from-parse5: "npm:^8.0.0" + hast-util-to-parse5: "npm:^8.0.0" + html-void-elements: "npm:^3.0.0" + mdast-util-to-hast: "npm:^13.0.0" + parse5: "npm:^7.0.0" + unist-util-position: "npm:^5.0.0" + unist-util-visit: "npm:^5.0.0" + vfile: "npm:^6.0.0" + web-namespaces: "npm:^2.0.0" + zwitch: "npm:^2.0.0" + checksum: 10c0/d0d909d2aedecef6a06f0005cfae410d6475e6e182d768bde30c3af9fcbbe4f9beb0522bdc21d0679cb3c243c0df40385797ed255148d68b3d3f12e82d12aacc + languageName: node + linkType: hard + +"hast-util-to-estree@npm:^3.0.0": + version: 3.1.3 + resolution: "hast-util-to-estree@npm:3.1.3" + dependencies: + "@types/estree": "npm:^1.0.0" + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + comma-separated-tokens: "npm:^2.0.0" + devlop: "npm:^1.0.0" + estree-util-attach-comments: "npm:^3.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + hast-util-whitespace: "npm:^3.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + property-information: "npm:^7.0.0" + space-separated-tokens: "npm:^2.0.0" + style-to-js: "npm:^1.0.0" + unist-util-position: "npm:^5.0.0" + zwitch: "npm:^2.0.0" + checksum: 10c0/8e86c075319082c8a6304c5bcdf24ec02466074571e993f58bfa2cfd70850ef46d33b5c402208597a87fe0f02f1e620bda5958217efb1b7396c81c486373b75f + languageName: node + linkType: hard + "hast-util-to-html@npm:^7.1.1, hast-util-to-html@npm:^7.1.2": version: 7.1.3 resolution: "hast-util-to-html@npm:7.1.3" @@ -13913,6 +11866,48 @@ __metadata: languageName: node linkType: hard +"hast-util-to-html@npm:^9.0.5": + version: 9.0.5 + resolution: "hast-util-to-html@npm:9.0.5" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + ccount: "npm:^2.0.0" + comma-separated-tokens: "npm:^2.0.0" + hast-util-whitespace: "npm:^3.0.0" + html-void-elements: "npm:^3.0.0" + mdast-util-to-hast: "npm:^13.0.0" + property-information: "npm:^7.0.0" + space-separated-tokens: "npm:^2.0.0" + stringify-entities: "npm:^4.0.0" + zwitch: "npm:^2.0.4" + checksum: 10c0/b7a08c30bab4371fc9b4a620965c40b270e5ae7a8e94cf885f43b21705179e28c8e43b39c72885d1647965fb3738654e6962eb8b58b0c2a84271655b4d748836 + languageName: node + linkType: hard + +"hast-util-to-jsx-runtime@npm:^2.0.0, hast-util-to-jsx-runtime@npm:^2.3.6": + version: 2.3.6 + resolution: "hast-util-to-jsx-runtime@npm:2.3.6" + dependencies: + "@types/estree": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/unist": "npm:^3.0.0" + comma-separated-tokens: "npm:^2.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + hast-util-whitespace: "npm:^3.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + property-information: "npm:^7.0.0" + space-separated-tokens: "npm:^2.0.0" + style-to-js: "npm:^1.0.0" + unist-util-position: "npm:^5.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/27297e02848fe37ef219be04a26ce708d17278a175a807689e94a821dcffc88aa506d62c3a85beed1f9a8544f7211bdcbcde0528b7b456a57c2e342c3fd11056 + languageName: node + linkType: hard + "hast-util-to-parse5@npm:^5.0.0": version: 5.1.2 resolution: "hast-util-to-parse5@npm:5.1.2" @@ -13926,16 +11921,18 @@ __metadata: languageName: node linkType: hard -"hast-util-to-parse5@npm:^6.0.0": - version: 6.0.0 - resolution: "hast-util-to-parse5@npm:6.0.0" +"hast-util-to-parse5@npm:^8.0.0": + version: 8.0.1 + resolution: "hast-util-to-parse5@npm:8.0.1" dependencies: - hast-to-hyperscript: "npm:^9.0.0" - property-information: "npm:^5.0.0" - web-namespaces: "npm:^1.0.0" - xtend: "npm:^4.0.0" - zwitch: "npm:^1.0.0" - checksum: 10c0/49d6c2389fd3170741cdb0483666bccd7e9e436fe386bcbd3931b019e4c006b5bb48022e07967e1021336e744e901082d6479cfa4bc2082efa3b1e5bdab2a36f + "@types/hast": "npm:^3.0.0" + comma-separated-tokens: "npm:^2.0.0" + devlop: "npm:^1.0.0" + property-information: "npm:^7.0.0" + space-separated-tokens: "npm:^2.0.0" + web-namespaces: "npm:^2.0.0" + zwitch: "npm:^2.0.0" + checksum: 10c0/8e8a1817c7ff8906ac66e7201b1b8d19d9e1b705e695a6e71620270d498d982ec1ecc0e227bd517f723e91e7fdfb90ef75f9ae64d14b3b65239a7d5e1194d7dd languageName: node linkType: hard @@ -13946,6 +11943,15 @@ __metadata: languageName: node linkType: hard +"hast-util-to-string@npm:^3.0.1": + version: 3.0.1 + resolution: "hast-util-to-string@npm:3.0.1" + dependencies: + "@types/hast": "npm:^3.0.0" + checksum: 10c0/b5fa1912a6ba6131affae52a0f4394406c4c0d23c2b0307f1d69988f1030c7bb830289303e67c5ad8f674f5f23a454c1dcd492c39e45a22c1f46d3c9bce5bd0c + languageName: node + linkType: hard + "hast-util-whitespace@npm:^1.0.0": version: 1.0.4 resolution: "hast-util-whitespace@npm:1.0.4" @@ -13953,6 +11959,15 @@ __metadata: languageName: node linkType: hard +"hast-util-whitespace@npm:^3.0.0": + version: 3.0.0 + resolution: "hast-util-whitespace@npm:3.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + checksum: 10c0/b898bc9fe27884b272580d15260b6bbdabe239973a147e97fa98c45fa0ffec967a481aaa42291ec34fb56530dc2d484d473d7e2bae79f39c83f3762307edfea8 + languageName: node + linkType: hard + "hastscript@npm:^5.0.0": version: 5.1.2 resolution: "hastscript@npm:5.1.2" @@ -13978,12 +11993,16 @@ __metadata: languageName: node linkType: hard -"he@npm:^1.2.0": - version: 1.2.0 - resolution: "he@npm:1.2.0" - bin: - he: bin/he - checksum: 10c0/a27d478befe3c8192f006cdd0639a66798979dfa6e2125c6ac582a19a5ebfec62ad83e8382e6036170d873f46e4536a7e795bf8b95bf7c247f4cc0825ccc8c17 +"hastscript@npm:^9.0.0": + version: 9.0.1 + resolution: "hastscript@npm:9.0.1" + dependencies: + "@types/hast": "npm:^3.0.0" + comma-separated-tokens: "npm:^2.0.0" + hast-util-parse-selector: "npm:^4.0.0" + property-information: "npm:^7.0.0" + space-separated-tokens: "npm:^2.0.0" + checksum: 10c0/18dc8064e5c3a7a2ae862978e626b97a254e1c8a67ee9d0c9f06d373bba155ed805fc5b5ce21b990fb7bc174624889e5e1ce1cade264f1b1d58b48f994bc85ce languageName: node linkType: hard @@ -14052,20 +12071,6 @@ __metadata: languageName: node linkType: hard -"history@npm:^4.9.0": - version: 4.10.1 - resolution: "history@npm:4.10.1" - dependencies: - "@babel/runtime": "npm:^7.1.2" - loose-envify: "npm:^1.2.0" - resolve-pathname: "npm:^3.0.0" - tiny-invariant: "npm:^1.0.2" - tiny-warning: "npm:^1.0.0" - value-equal: "npm:^1.0.1" - checksum: 10c0/35377694e4f10f2cf056a9cb1a8ee083e04e4b4717a63baeee4afd565658a62c7e73700bf9e82aa53dbe1ec94e0a25a83c080d63bad8ee6b274a98d2fbc5ed4c - languageName: node - linkType: hard - "history@npm:^5.0.0": version: 5.3.0 resolution: "history@npm:5.3.0" @@ -14075,7 +12080,7 @@ __metadata: languageName: node linkType: hard -"hoist-non-react-statics@npm:^3.1.0, hoist-non-react-statics@npm:^3.3.0": +"hoist-non-react-statics@npm:^3.3.0": version: 3.3.2 resolution: "hoist-non-react-statics@npm:3.3.2" dependencies: @@ -14084,6 +12089,13 @@ __metadata: languageName: node linkType: hard +"hookable@npm:^6.0.1": + version: 6.1.1 + resolution: "hookable@npm:6.1.1" + checksum: 10c0/bb46cd9ffc0a997af21febd97835da4e59a6989adec73dc3c215fcc44c7ac01de4781f251c3d420bf45862d2592a695f5f0de095b6f5df52db8afb5166938212 + languageName: node + linkType: hard + "hosted-git-info@npm:^2.1.4": version: 2.8.9 resolution: "hosted-git-info@npm:2.8.9" @@ -14109,56 +12121,20 @@ __metadata: languageName: node linkType: hard -"hpack.js@npm:^2.1.6": - version: 2.1.6 - resolution: "hpack.js@npm:2.1.6" - dependencies: - inherits: "npm:^2.0.1" - obuf: "npm:^1.0.0" - readable-stream: "npm:^2.0.1" - wbuf: "npm:^1.1.0" - checksum: 10c0/55b9e824430bab82a19d079cb6e33042d7d0640325678c9917fcc020c61d8a08ca671b6c942c7f0aae9bb6e4b67ffb50734a72f9e21d66407c3138c1983b70f0 - languageName: node - linkType: hard - -"html-entities@npm:^2.1.0, html-entities@npm:^2.3.2": +"html-entities@npm:^2.1.0": version: 2.6.0 resolution: "html-entities@npm:2.6.0" checksum: 10c0/7c8b15d9ea0cd00dc9279f61bab002ba6ca8a7a0f3c36ed2db3530a67a9621c017830d1d2c1c65beb9b8e3436ea663e9cf8b230472e0e413359399413b27c8b7 languageName: node linkType: hard -"html-escaper@npm:^2.0.0, html-escaper@npm:^2.0.2": +"html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" checksum: 10c0/208e8a12de1a6569edbb14544f4567e6ce8ecc30b9394fcaa4e7bb1e60c12a7c9a1ed27e31290817157e8626f3a4f29e76c8747030822eb84a6abb15c255f0a0 languageName: node linkType: hard -"html-minifier-terser@npm:^6.0.2, html-minifier-terser@npm:^6.1.0": - version: 6.1.0 - resolution: "html-minifier-terser@npm:6.1.0" - dependencies: - camel-case: "npm:^4.1.2" - clean-css: "npm:^5.2.2" - commander: "npm:^8.3.0" - he: "npm:^1.2.0" - param-case: "npm:^3.0.4" - relateurl: "npm:^0.2.7" - terser: "npm:^5.10.0" - bin: - html-minifier-terser: cli.js - checksum: 10c0/1aa4e4f01cf7149e3ac5ea84fb7a1adab86da40d38d77a6fff42852b5ee3daccb78b615df97264e3a6a5c33e57f0c77f471d607ca1e1debd1dab9b58286f4b5a - languageName: node - linkType: hard - -"html-tags@npm:^3.2.0": - version: 3.3.1 - resolution: "html-tags@npm:3.3.1" - checksum: 10c0/680165e12baa51bad7397452d247dbcc5a5c29dac0e6754b1187eee3bf26f514bc1907a431dd2f7eb56207611ae595ee76a0acc8eaa0d931e72c791dd6463d79 - languageName: node - linkType: hard - "html-void-elements@npm:^1.0.0": version: 1.0.5 resolution: "html-void-elements@npm:1.0.5" @@ -14166,36 +12142,10 @@ __metadata: languageName: node linkType: hard -"html-webpack-plugin@npm:^5.5.0": - version: 5.6.5 - resolution: "html-webpack-plugin@npm:5.6.5" - dependencies: - "@types/html-minifier-terser": "npm:^6.0.0" - html-minifier-terser: "npm:^6.0.2" - lodash: "npm:^4.17.21" - pretty-error: "npm:^4.0.0" - tapable: "npm:^2.0.0" - peerDependencies: - "@rspack/core": 0.x || 1.x - webpack: ^5.20.0 - peerDependenciesMeta: - "@rspack/core": - optional: true - webpack: - optional: true - checksum: 10c0/4ae0ae48fec6337e4eb055e730e46340172ec1967bd383d897d03cb3c4e385a8128e8d5179c4658536b00e432c2d3f026d97eb5fdb4cf9dc710498d2e871b84e - languageName: node - linkType: hard - -"htmlparser2@npm:^10.0.0": - version: 10.0.0 - resolution: "htmlparser2@npm:10.0.0" - dependencies: - domelementtype: "npm:^2.3.0" - domhandler: "npm:^5.0.3" - domutils: "npm:^3.2.1" - entities: "npm:^6.0.0" - checksum: 10c0/47cfa37e529c86a7ba9a1e0e6f951ad26ef8ca5af898ab6e8916fa02c0264c1453b4a65f28b7b8a7f9d0d29b5a70abead8203bf8b3f07bc69407e85e7d9a68e4 +"html-void-elements@npm:^3.0.0": + version: 3.0.0 + resolution: "html-void-elements@npm:3.0.0" + checksum: 10c0/a8b9ec5db23b7c8053876dad73a0336183e6162bf6d2677376d8b38d654fdc59ba74fdd12f8812688f7db6fad451210c91b300e472afc0909224e0a44c8610d2 languageName: node linkType: hard @@ -14211,18 +12161,6 @@ __metadata: languageName: node linkType: hard -"htmlparser2@npm:^6.1.0": - version: 6.1.0 - resolution: "htmlparser2@npm:6.1.0" - dependencies: - domelementtype: "npm:^2.0.1" - domhandler: "npm:^4.0.0" - domutils: "npm:^2.5.2" - entities: "npm:^2.0.0" - checksum: 10c0/3058499c95634f04dc66be8c2e0927cd86799413b2d6989d8ae542ca4dbf5fa948695d02c27d573acf44843af977aec6d9a7bdd0f6faa6b2d99e2a729b2a31b6 - languageName: node - linkType: hard - "http-cache-semantics@npm:^4.0.0, http-cache-semantics@npm:^4.1.1": version: 4.2.0 resolution: "http-cache-semantics@npm:4.2.0" @@ -14230,25 +12168,6 @@ __metadata: languageName: node linkType: hard -"http-deceiver@npm:^1.2.7": - version: 1.2.7 - resolution: "http-deceiver@npm:1.2.7" - checksum: 10c0/8bb9b716f5fc55f54a451da7f49b9c695c3e45498a789634daec26b61e4add7c85613a4a9e53726c39d09de7a163891ecd6eb5809adb64500a840fd86fe81d03 - languageName: node - linkType: hard - -"http-errors@npm:~1.6.2": - version: 1.6.3 - resolution: "http-errors@npm:1.6.3" - dependencies: - depd: "npm:~1.1.2" - inherits: "npm:2.0.3" - setprototypeof: "npm:1.1.0" - statuses: "npm:>= 1.4.0 < 2" - checksum: 10c0/17ec4046ee974477778bfdd525936c254b872054703ec2caa4d6f099566b8adade636ae6aeeacb39302c5cd6e28fb407ebd937f500f5010d0b6850750414ff78 - languageName: node - linkType: hard - "http-errors@npm:~2.0.0, http-errors@npm:~2.0.1": version: 2.0.1 resolution: "http-errors@npm:2.0.1" @@ -14262,13 +12181,6 @@ __metadata: languageName: node linkType: hard -"http-parser-js@npm:>=0.5.1": - version: 0.5.10 - resolution: "http-parser-js@npm:0.5.10" - checksum: 10c0/8bbcf1832a8d70b2bd515270112116333add88738a2cc05bfb94ba6bde3be4b33efee5611584113818d2bcf654fdc335b652503be5a6b4c0b95e46f214187d93 - languageName: node - linkType: hard - "http-proxy-agent@npm:^7.0.0": version: 7.0.2 resolution: "http-proxy-agent@npm:7.0.2" @@ -14279,35 +12191,6 @@ __metadata: languageName: node linkType: hard -"http-proxy-middleware@npm:^2.0.3": - version: 2.0.9 - resolution: "http-proxy-middleware@npm:2.0.9" - dependencies: - "@types/http-proxy": "npm:^1.17.8" - http-proxy: "npm:^1.18.1" - is-glob: "npm:^4.0.1" - is-plain-obj: "npm:^3.0.0" - micromatch: "npm:^4.0.2" - peerDependencies: - "@types/express": ^4.17.13 - peerDependenciesMeta: - "@types/express": - optional: true - checksum: 10c0/8e9032af625f7c9f2f0d318f6cdb14eb725cc16ffe7b4ccccea25cf591fa819bb7c3bb579e0b543e0ae9c73059b505a6d728290c757bff27bae526a6ed11c05e - languageName: node - linkType: hard - -"http-proxy@npm:^1.18.1": - version: 1.18.1 - resolution: "http-proxy@npm:1.18.1" - dependencies: - eventemitter3: "npm:^4.0.0" - follow-redirects: "npm:^1.0.0" - requires-port: "npm:^1.0.0" - checksum: 10c0/148dfa700a03fb421e383aaaf88ac1d94521dfc34072f6c59770528c65250983c2e4ec996f2f03aa9f3fe46cd1270a593126068319311e3e8d9e610a37533e94 - languageName: node - linkType: hard - "http2-wrapper@npm:^1.0.0-beta.5.2": version: 1.0.3 resolution: "http2-wrapper@npm:1.0.3" @@ -14349,21 +12232,21 @@ __metadata: languageName: node linkType: hard -"iconv-lite@npm:0.6.3, iconv-lite@npm:^0.6.2, iconv-lite@npm:^0.6.3": - version: 0.6.3 - resolution: "iconv-lite@npm:0.6.3" +"iconv-lite@npm:^0.4.24, iconv-lite@npm:~0.4.24": + version: 0.4.24 + resolution: "iconv-lite@npm:0.4.24" dependencies: - safer-buffer: "npm:>= 2.1.2 < 3.0.0" - checksum: 10c0/98102bc66b33fcf5ac044099d1257ba0b7ad5e3ccd3221f34dd508ab4070edff183276221684e1e0555b145fce0850c9f7d2b60a9fcac50fbb4ea0d6e845a3b1 + safer-buffer: "npm:>= 2.1.2 < 3" + checksum: 10c0/c6886a24cc00f2a059767440ec1bc00d334a89f250db8e0f7feb4961c8727118457e27c495ba94d082e51d3baca378726cd110aaf7ded8b9bbfd6a44760cf1d4 languageName: node linkType: hard -"iconv-lite@npm:^0.4.24, iconv-lite@npm:~0.4.24": - version: 0.4.24 - resolution: "iconv-lite@npm:0.4.24" +"iconv-lite@npm:^0.6.2": + version: 0.6.3 + resolution: "iconv-lite@npm:0.6.3" dependencies: - safer-buffer: "npm:>= 2.1.2 < 3" - checksum: 10c0/c6886a24cc00f2a059767440ec1bc00d334a89f250db8e0f7feb4961c8727118457e27c495ba94d082e51d3baca378726cd110aaf7ded8b9bbfd6a44760cf1d4 + safer-buffer: "npm:>= 2.1.2 < 3.0.0" + checksum: 10c0/98102bc66b33fcf5ac044099d1257ba0b7ad5e3ccd3221f34dd508ab4070edff183276221684e1e0555b145fce0850c9f7d2b60a9fcac50fbb4ea0d6e845a3b1 languageName: node linkType: hard @@ -14390,7 +12273,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.1.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1": +"ignore@npm:^5.1.4, ignore@npm:^5.2.0, ignore@npm:^5.3.1": version: 5.3.2 resolution: "ignore@npm:5.3.2" checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337 @@ -14404,7 +12287,7 @@ __metadata: languageName: node linkType: hard -"image-size@npm:^1.0.1, image-size@npm:^1.0.2": +"image-size@npm:^1.0.2": version: 1.2.1 resolution: "image-size@npm:1.2.1" dependencies: @@ -14415,20 +12298,6 @@ __metadata: languageName: node linkType: hard -"immediate@npm:^3.2.3": - version: 3.3.0 - resolution: "immediate@npm:3.3.0" - checksum: 10c0/40eab095d5944ad79af054700beee97000271fde8743720932d8eb41ccbf2cb8c855ff95b128cf9a7fec523a4f11ee2e392b9f2fa6456b055b1160f1b4ad3e3b - languageName: node - linkType: hard - -"immer@npm:^9.0.7": - version: 9.0.21 - resolution: "immer@npm:9.0.21" - checksum: 10c0/03ea3ed5d4d72e8bd428df4a38ad7e483ea8308e9a113d3b42e0ea2cc0cc38340eb0a6aca69592abbbf047c685dbda04e3d34bf2ff438ab57339ed0a34cc0a05 - languageName: node - linkType: hard - "import-cwd@npm:3.0.0": version: 3.0.0 resolution: "import-cwd@npm:3.0.0" @@ -14448,7 +12317,7 @@ __metadata: languageName: node linkType: hard -"import-fresh@npm:^3.0.0, import-fresh@npm:^3.1.0, import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": +"import-fresh@npm:^3.0.0, import-fresh@npm:^3.2.1": version: 3.3.1 resolution: "import-fresh@npm:3.3.1" dependencies: @@ -14507,13 +12376,6 @@ __metadata: languageName: node linkType: hard -"infima@npm:0.2.0-alpha.43": - version: 0.2.0-alpha.43 - resolution: "infima@npm:0.2.0-alpha.43" - checksum: 10c0/d248958713a97e1c9f73ace27ceff726ba86a9b534efb0ebdec3e72b785d8edb36db922e38ce09bbeb98a17b657e61357f22edc3a58f02ad51b7ae2ebd96e4e4 - languageName: node - linkType: hard - "inflight@npm:^1.0.4": version: 1.0.6 resolution: "inflight@npm:1.0.6" @@ -14524,20 +12386,13 @@ __metadata: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:^2.0.0, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3, inherits@npm:~2.0.4": +"inherits@npm:2, inherits@npm:^2.0.0, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3, inherits@npm:~2.0.4": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 10c0/4e531f648b29039fb7426fb94075e6545faa1eb9fe83c29f0b6d9e7263aceb4289d2d4557db0d428188eeb449cc7c5e77b0a0b2c4e248ff2a65933a0dee49ef2 languageName: node linkType: hard -"inherits@npm:2.0.3": - version: 2.0.3 - resolution: "inherits@npm:2.0.3" - checksum: 10c0/6e56402373149ea076a434072671f9982f5fad030c7662be0332122fe6c0fa490acb3cc1010d90b6eff8d640b1167d77674add52dfd1bb85d545cf29e80e73e7 - languageName: node - linkType: hard - "ini@npm:1.3.7": version: 1.3.7 resolution: "ini@npm:1.3.7" @@ -14545,14 +12400,7 @@ __metadata: languageName: node linkType: hard -"ini@npm:2.0.0": - version: 2.0.0 - resolution: "ini@npm:2.0.0" - checksum: 10c0/2e0c8f386369139029da87819438b20a1ff3fe58372d93fb1a86e9d9344125ace3a806b8ec4eb160a46e64cbc422fe68251869441676af49b7fc441af2389c25 - languageName: node - linkType: hard - -"ini@npm:^1.3.2, ini@npm:^1.3.4, ini@npm:^1.3.5, ini@npm:~1.3.0": +"ini@npm:^1.3.2, ini@npm:^1.3.4, ini@npm:~1.3.0": version: 1.3.8 resolution: "ini@npm:1.3.8" checksum: 10c0/ec93838d2328b619532e4f1ff05df7909760b6f66d9c9e2ded11e5c1897d6f2f9980c54dd638f88654b00919ce31e827040631eab0a3969e4d1abefa0719516a @@ -14566,13 +12414,10 @@ __metadata: languageName: node linkType: hard -"inline-style-prefixer@npm:^6.0.1": - version: 6.0.4 - resolution: "inline-style-prefixer@npm:6.0.4" - dependencies: - css-in-js-utils: "npm:^3.1.0" - fast-loops: "npm:^1.1.3" - checksum: 10c0/d3d42bf0c48d621ea4bcfb077b5d370b106995422300a3a472674f96c9b489d96b4aac6f29dea3bb26ff2dfd7293e4752098bc2b53407769eafdb66c6c4c1764 +"inline-style-parser@npm:0.2.7": + version: 0.2.7 + resolution: "inline-style-parser@npm:0.2.7" + checksum: 10c0/d884d76f84959517430ae6c22f0bda59bb3f58f539f99aac75a8d786199ec594ed648c6ab4640531f9fc244b0ed5cd8c458078e592d016ef06de793beb1debff languageName: node linkType: hard @@ -14647,10 +12492,10 @@ __metadata: languageName: node linkType: hard -"ipaddr.js@npm:^2.0.1": - version: 2.3.0 - resolution: "ipaddr.js@npm:2.3.0" - checksum: 10c0/084bab99e2f6875d7a62adc3325e1c64b038a12c9521e35fb967b5e263a8b3afb1b8884dd77c276092331f5d63298b767491e10997ef147c62da01b143780bbd +"is-absolute-url@npm:^4.0.0": + version: 4.0.1 + resolution: "is-absolute-url@npm:4.0.1" + checksum: 10c0/6f8f603945bd9f2c6031758bbc12352fc647bd5d807cad10d96cc6300fd0e15240cc091521a61db767e4ec0bacff257b4f1015fd5249c147bbb4a4497356c72e languageName: node linkType: hard @@ -14663,13 +12508,20 @@ __metadata: languageName: node linkType: hard -"is-alphabetical@npm:1.0.4, is-alphabetical@npm:^1.0.0": +"is-alphabetical@npm:^1.0.0": version: 1.0.4 resolution: "is-alphabetical@npm:1.0.4" checksum: 10c0/1505b1de5a1fd74022c05fb21b0e683a8f5229366bac8dc4d34cf6935bcfd104d1125a5e6b083fb778847629f76e5bdac538de5367bdf2b927a1356164e23985 languageName: node linkType: hard +"is-alphabetical@npm:^2.0.0": + version: 2.0.1 + resolution: "is-alphabetical@npm:2.0.1" + checksum: 10c0/932367456f17237533fd1fc9fe179df77957271020b83ea31da50e5cc472d35ef6b5fb8147453274ffd251134472ce24eb6f8d8398d96dee98237cdb81a6c9a7 + languageName: node + linkType: hard + "is-alphanumerical@npm:^1.0.0": version: 1.0.4 resolution: "is-alphanumerical@npm:1.0.4" @@ -14680,6 +12532,16 @@ __metadata: languageName: node linkType: hard +"is-alphanumerical@npm:^2.0.0": + version: 2.0.1 + resolution: "is-alphanumerical@npm:2.0.1" + dependencies: + is-alphabetical: "npm:^2.0.0" + is-decimal: "npm:^2.0.0" + checksum: 10c0/4b35c42b18e40d41378293f82a3ecd9de77049b476f748db5697c297f686e1e05b072a6aaae2d16f54d2a57f85b00cbbe755c75f6d583d1c77d6657bd0feb5a2 + languageName: node + linkType: hard + "is-array-buffer@npm:^3.0.4, is-array-buffer@npm:^3.0.5": version: 3.0.5 resolution: "is-array-buffer@npm:3.0.5" @@ -14727,15 +12589,6 @@ __metadata: languageName: node linkType: hard -"is-binary-path@npm:~2.1.0": - version: 2.1.0 - resolution: "is-binary-path@npm:2.1.0" - dependencies: - binary-extensions: "npm:^2.0.0" - checksum: 10c0/a16eaee59ae2b315ba36fad5c5dcaf8e49c3e27318f8ab8fa3cdb8772bf559c8d1ba750a589c2ccb096113bb64497084361a25960899cb6172a6925ab6123d38 - languageName: node - linkType: hard - "is-boolean-object@npm:^1.2.1": version: 1.2.2 resolution: "is-boolean-object@npm:1.2.2" @@ -14824,6 +12677,13 @@ __metadata: languageName: node linkType: hard +"is-decimal@npm:^2.0.0": + version: 2.0.1 + resolution: "is-decimal@npm:2.0.1" + checksum: 10c0/8085dd66f7d82f9de818fba48b9e9c0429cb4291824e6c5f2622e96b9680b54a07a624cfc663b24148b8e853c62a1c987cfe8b0b5a13f5156991afaf6736e334 + languageName: node + linkType: hard + "is-descriptor@npm:^0.1.0": version: 0.1.7 resolution: "is-descriptor@npm:0.1.7" @@ -14851,7 +12711,7 @@ __metadata: languageName: node linkType: hard -"is-docker@npm:^2.0.0, is-docker@npm:^2.1.1": +"is-docker@npm:^2.0.0": version: 2.2.1 resolution: "is-docker@npm:2.2.1" bin: @@ -14926,7 +12786,7 @@ __metadata: languageName: node linkType: hard -"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1": +"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3": version: 4.0.3 resolution: "is-glob@npm:4.0.3" dependencies: @@ -14942,6 +12802,13 @@ __metadata: languageName: node linkType: hard +"is-hexadecimal@npm:^2.0.0": + version: 2.0.1 + resolution: "is-hexadecimal@npm:2.0.1" + checksum: 10c0/3eb60fe2f1e2bbc760b927dcad4d51eaa0c60138cf7fc671803f66353ad90c301605b502c7ea4c6bb0548e1c7e79dfd37b73b632652e3b76030bba603a7e9626 + languageName: node + linkType: hard + "is-installed-globally@npm:^0.3.1": version: 0.3.2 resolution: "is-installed-globally@npm:0.3.2" @@ -14952,16 +12819,6 @@ __metadata: languageName: node linkType: hard -"is-installed-globally@npm:^0.4.0": - version: 0.4.0 - resolution: "is-installed-globally@npm:0.4.0" - dependencies: - global-dirs: "npm:^3.0.0" - is-path-inside: "npm:^3.0.2" - checksum: 10c0/f3e6220ee5824b845c9ed0d4b42c24272701f1f9926936e30c0e676254ca5b34d1b92c6205cae11b283776f9529212c0cdabb20ec280a6451677d6493ca9c22d - languageName: node - linkType: hard - "is-interactive@npm:^1.0.0": version: 1.0.0 resolution: "is-interactive@npm:1.0.0" @@ -14999,13 +12856,6 @@ __metadata: languageName: node linkType: hard -"is-npm@npm:^5.0.0": - version: 5.0.0 - resolution: "is-npm@npm:5.0.0" - checksum: 10c0/8ded3ae1119bbbda22395fe1c64d2d79d3b3baeb2635c90f9a9dca4b8ce19a67b55fda178269b63421b257b361892fd545807fb5ac212f06776f544d9fcc3ab0 - languageName: node - linkType: hard - "is-number-object@npm:^1.1.1": version: 1.1.1 resolution: "is-number-object@npm:1.1.1" @@ -15032,7 +12882,7 @@ __metadata: languageName: node linkType: hard -"is-obj@npm:^1.0.0, is-obj@npm:^1.0.1": +"is-obj@npm:^1.0.0": version: 1.0.1 resolution: "is-obj@npm:1.0.1" checksum: 10c0/5003acba0af7aa47dfe0760e545a89bbac89af37c12092c3efadc755372cdaec034f130e7a3653a59eb3c1843cfc72ca71eaf1a6c3bafe5a0bab3611a47f9945 @@ -15046,13 +12896,6 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.2.0": - version: 2.2.0 - resolution: "is-path-cwd@npm:2.2.0" - checksum: 10c0/afce71533a427a759cd0329301c18950333d7589533c2c90205bd3fdcf7b91eb92d1940493190567a433134d2128ec9325de2fd281e05be1920fbee9edd22e0a - languageName: node - linkType: hard - "is-path-cwd@npm:^3.0.0": version: 3.0.0 resolution: "is-path-cwd@npm:3.0.0" @@ -15060,7 +12903,7 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.1, is-path-inside@npm:^3.0.2": +"is-path-inside@npm:^3.0.1": version: 3.0.3 resolution: "is-path-inside@npm:3.0.3" checksum: 10c0/cf7d4ac35fb96bab6a1d2c3598fe5ebb29aafb52c0aaa482b5a3ed9d8ba3edc11631e3ec2637660c44b3ce0e61a08d54946e8af30dec0b60a7c27296c68ffd05 @@ -15088,10 +12931,10 @@ __metadata: languageName: node linkType: hard -"is-plain-obj@npm:^3.0.0": - version: 3.0.0 - resolution: "is-plain-obj@npm:3.0.0" - checksum: 10c0/8e6483bfb051d42ec9c704c0ede051a821c6b6f9a6c7a3e3b55aa855e00981b0580c8f3b1f5e2e62649b39179b1abfee35d6f8086d999bfaa32c1908d29b07bc +"is-plain-obj@npm:^4.0.0": + version: 4.1.0 + resolution: "is-plain-obj@npm:4.1.0" + checksum: 10c0/32130d651d71d9564dc88ba7e6fda0e91a1010a3694648e9f4f47bb6080438140696d3e3e15c741411d712e47ac9edc1a8a9de1fe76f3487b0d90be06ac9975e languageName: node linkType: hard @@ -15123,13 +12966,6 @@ __metadata: languageName: node linkType: hard -"is-regexp@npm:^1.0.0": - version: 1.0.0 - resolution: "is-regexp@npm:1.0.0" - checksum: 10c0/34cacda1901e00f6e44879378f1d2fa96320ea956c1bec27713130aaf1d44f6e7bd963eed28945bfe37e600cb27df1cf5207302680dad8bdd27b9baff8ecf611 - languageName: node - linkType: hard - "is-regular-file@npm:^1.0.1": version: 1.1.1 resolution: "is-regular-file@npm:1.1.1" @@ -15137,13 +12973,6 @@ __metadata: languageName: node linkType: hard -"is-root@npm:^2.1.0": - version: 2.1.0 - resolution: "is-root@npm:2.1.0" - checksum: 10c0/83d3f5b052c3f28fbdbdf0d564bdd34fa14933f5694c78704f85cd1871255bc017fbe3fe2bc2fff2d227c6be5927ad2149b135c0a7c0060e7ac4e610d81a4f01 - languageName: node - linkType: hard - "is-set@npm:^2.0.3": version: 2.0.3 resolution: "is-set@npm:2.0.3" @@ -15315,13 +13144,6 @@ __metadata: languageName: node linkType: hard -"isarray@npm:0.0.1": - version: 0.0.1 - resolution: "isarray@npm:0.0.1" - checksum: 10c0/ed1e62da617f71fe348907c71743b5ed550448b455f8d269f89a7c7ddb8ae6e962de3dab6a74a237b06f5eb7f6ece7a45ada8ce96d87fe972926530f91ae3311 - languageName: node - linkType: hard - "isarray@npm:1.0.0, isarray@npm:~1.0.0": version: 1.0.0 resolution: "isarray@npm:1.0.0" @@ -15926,7 +13748,7 @@ __metadata: languageName: node linkType: hard -"jest-worker@npm:^29.1.2, jest-worker@npm:^29.7.0": +"jest-worker@npm:^29.7.0": version: 29.7.0 resolution: "jest-worker@npm:29.7.0" dependencies: @@ -15964,28 +13786,6 @@ __metadata: languageName: node linkType: hard -"jiti@npm:^1.20.0": - version: 1.21.7 - resolution: "jiti@npm:1.21.7" - bin: - jiti: bin/jiti.js - checksum: 10c0/77b61989c758ff32407cdae8ddc77f85e18e1a13fc4977110dbd2e05fc761842f5f71bce684d9a01316e1c4263971315a111385759951080bbfe17cbb5de8f7a - languageName: node - linkType: hard - -"joi@npm:^17.6.0": - version: 17.13.3 - resolution: "joi@npm:17.13.3" - dependencies: - "@hapi/hoek": "npm:^9.3.0" - "@hapi/topo": "npm:^5.1.0" - "@sideway/address": "npm:^4.1.5" - "@sideway/formula": "npm:^3.0.1" - "@sideway/pinpoint": "npm:^2.0.0" - checksum: 10c0/9262aef1da3f1bec5b03caf50c46368899fe03b8ff26cbe3d53af4584dd1049079fc97230bbf1500b6149db7cc765b9ee45f0deb24bb6fc3fa06229d7148c17f - languageName: node - linkType: hard - "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -16210,22 +14010,13 @@ __metadata: languageName: node linkType: hard -"kind-of@npm:^6.0.0, kind-of@npm:^6.0.2, kind-of@npm:^6.0.3": +"kind-of@npm:^6.0.2, kind-of@npm:^6.0.3": version: 6.0.3 resolution: "kind-of@npm:6.0.3" checksum: 10c0/61cdff9623dabf3568b6445e93e31376bee1cdb93f8ba7033d86022c2a9b1791a1d9510e026e6465ebd701a6dd2f7b0808483ad8838341ac52f003f512e0b4c4 languageName: node linkType: hard -"klaw-sync@npm:^6.0.0": - version: 6.0.0 - resolution: "klaw-sync@npm:6.0.0" - dependencies: - graceful-fs: "npm:^4.1.11" - checksum: 10c0/00d8e4c48d0d699b743b3b028e807295ea0b225caf6179f51029e19783a93ad8bb9bccde617d169659fbe99559d73fb35f796214de031d0023c26b906cecd70a - languageName: node - linkType: hard - "kleur@npm:^3.0.3": version: 3.0.3 resolution: "kleur@npm:3.0.3" @@ -16249,7 +14040,7 @@ __metadata: languageName: node linkType: hard -"latest-version@npm:^5.0.0, latest-version@npm:^5.1.0": +"latest-version@npm:^5.0.0": version: 5.1.0 resolution: "latest-version@npm:5.1.0" dependencies: @@ -16258,16 +14049,6 @@ __metadata: languageName: node linkType: hard -"launch-editor@npm:^2.6.0": - version: 2.12.0 - resolution: "launch-editor@npm:2.12.0" - dependencies: - picocolors: "npm:^1.1.1" - shell-quote: "npm:^1.8.3" - checksum: 10c0/fac5e7ad90bf185594cad4c831a52419eef50e667c4eddb5b0a58eb5f944e16d947636ee767b9896ffd46a51db34925edd3b854c48efb47f6d767ffd7d904e71 - languageName: node - linkType: hard - "lefthook-darwin-arm64@npm:2.1.9": version: 2.1.9 resolution: "lefthook-darwin-arm64@npm:2.1.9" @@ -16526,13 +14307,6 @@ __metadata: languageName: node linkType: hard -"lilconfig@npm:^2.0.3": - version: 2.1.0 - resolution: "lilconfig@npm:2.1.0" - checksum: 10c0/64645641aa8d274c99338e130554abd6a0190533c0d9eb2ce7ebfaf2e05c7d9961f3ffe2bfa39efd3b60c521ba3dd24fa236fe2775fc38501bf82bf49d4678b8 - languageName: node - linkType: hard - "linaria@npm:^1.3.3": version: 1.4.1 resolution: "linaria@npm:1.4.1" @@ -16618,13 +14392,6 @@ __metadata: languageName: node linkType: hard -"loader-utils@npm:^3.2.0": - version: 3.3.1 - resolution: "loader-utils@npm:3.3.1" - checksum: 10c0/f2af4eb185ac5bf7e56e1337b666f90744e9f443861ac521b48f093fb9e8347f191c8960b4388a3365147d218913bc23421234e7788db69f385bacfefa0b4758 - languageName: node - linkType: hard - "locate-path@npm:^2.0.0": version: 2.0.0 resolution: "locate-path@npm:2.0.0" @@ -16679,13 +14446,6 @@ __metadata: languageName: node linkType: hard -"lodash.curry@npm:^4.0.1": - version: 4.1.1 - resolution: "lodash.curry@npm:4.1.1" - checksum: 10c0/f0431947dc9236df879fc13eb40c31a2839c958bd0eaa39170a5758c25a7d85d461716a851ab45a175371950b283480615cdd4b07fb0dd1afff7a2914a90696f - languageName: node - linkType: hard - "lodash.debounce@npm:^4.0.8": version: 4.0.8 resolution: "lodash.debounce@npm:4.0.8" @@ -16700,13 +14460,6 @@ __metadata: languageName: node linkType: hard -"lodash.flow@npm:^3.3.0": - version: 3.5.0 - resolution: "lodash.flow@npm:3.5.0" - checksum: 10c0/b3202ddbb79e5aab41719806d0d5ae969f64ae6b59e6bdaaecaa96ec68d6ba429e544017fe0e71ecf5b7ee3cea7b45d43c46b7d67ca159d6cca86fca76c61a31 - languageName: node - linkType: hard - "lodash.ismatch@npm:^4.4.0": version: 4.4.0 resolution: "lodash.ismatch@npm:4.4.0" @@ -16714,13 +14467,6 @@ __metadata: languageName: node linkType: hard -"lodash.memoize@npm:^4.1.2": - version: 4.1.2 - resolution: "lodash.memoize@npm:4.1.2" - checksum: 10c0/c8713e51eccc650422716a14cece1809cfe34bc5ab5e242b7f8b4e2241c2483697b971a604252807689b9dd69bfe3a98852e19a5b89d506b000b4187a1285df8 - languageName: node - linkType: hard - "lodash.merge@npm:^4.6.2": version: 4.6.2 resolution: "lodash.merge@npm:4.6.2" @@ -16735,13 +14481,6 @@ __metadata: languageName: node linkType: hard -"lodash.uniq@npm:4.5.0, lodash.uniq@npm:^4.5.0": - version: 4.5.0 - resolution: "lodash.uniq@npm:4.5.0" - checksum: 10c0/262d400bb0952f112162a320cc4a75dea4f66078b9e7e3075ffbc9c6aa30b3e9df3cf20e7da7d566105e1ccf7804e4fbd7d804eee0b53de05d83f16ffbf41c5e - languageName: node - linkType: hard - "lodash@npm:4.17.21, lodash@npm:^4.0.1, lodash@npm:^4.11.2, lodash@npm:^4.17.11, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.21, lodash@npm:^4.17.5, lodash@npm:^4.2.1": version: 4.17.21 resolution: "lodash@npm:4.17.21" @@ -16768,7 +14507,14 @@ __metadata: languageName: node linkType: hard -"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": +"longest-streak@npm:^3.0.0": + version: 3.1.0 + resolution: "longest-streak@npm:3.1.0" + checksum: 10c0/7c2f02d0454b52834d1bcedef79c557bd295ee71fdabb02d041ff3aa9da48a90b5df7c0409156dedbc4df9b65da18742652aaea4759d6ece01f08971af6a7eaa + languageName: node + linkType: hard + +"loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" dependencies: @@ -16805,15 +14551,6 @@ __metadata: languageName: node linkType: hard -"lower-case@npm:^2.0.2": - version: 2.0.2 - resolution: "lower-case@npm:2.0.2" - dependencies: - tslib: "npm:^2.0.3" - checksum: 10c0/3d925e090315cf7dc1caa358e0477e186ffa23947740e4314a7429b6e62d72742e0bbe7536a5ae56d19d7618ce998aba05caca53c2902bd5742fdca5fc57fd7b - languageName: node - linkType: hard - "lowercase-keys@npm:^1.0.0, lowercase-keys@npm:^1.0.1": version: 1.0.1 resolution: "lowercase-keys@npm:1.0.1" @@ -16860,20 +14597,6 @@ __metadata: languageName: node linkType: hard -"lunr-languages@npm:^1.4.0": - version: 1.14.0 - resolution: "lunr-languages@npm:1.14.0" - checksum: 10c0/5dc26fa75c8f3f14a69b3d54ae1228907b3552bc26727a14c5f302aab05d2547a924d095f075c9d3439756a38e2dafb78d1b74fc862dc290a13ddce236a55e87 - languageName: node - linkType: hard - -"lunr@npm:^2.3.9": - version: 2.3.9 - resolution: "lunr@npm:2.3.9" - checksum: 10c0/77d7dbb4fbd602aac161e2b50887d8eda28c0fa3b799159cee380fbb311f1e614219126ecbbd2c3a9c685f1720a8109b3c1ca85cc893c39b6c9cc6a62a1d8a8b - languageName: node - linkType: hard - "macos-release@npm:^2.2.0": version: 2.5.1 resolution: "macos-release@npm:2.5.1" @@ -16983,13 +14706,6 @@ __metadata: languageName: node linkType: hard -"mark.js@npm:^8.11.1": - version: 8.11.1 - resolution: "mark.js@npm:8.11.1" - checksum: 10c0/5e69e776db61abdd857b5cbb7070c8a3b1b0e5c12bf077fcd5a8c6f17b1f85ed65275aba5662b57136d1b9f82b54bb34d4ef4220f7703c9a7ab806ae1e208cff - languageName: node - linkType: hard - "markdown-escapes@npm:^1.0.0": version: 1.0.4 resolution: "markdown-escapes@npm:1.0.4" @@ -16997,6 +14713,20 @@ __metadata: languageName: node linkType: hard +"markdown-extensions@npm:^2.0.0": + version: 2.0.0 + resolution: "markdown-extensions@npm:2.0.0" + checksum: 10c0/406139da2aa0d5ebad86195c8e8c02412f873c452b4c087ae7bc767af37956141be449998223bb379eea179b5fd38dfa610602b6f29c22ddab5d51e627a7e41d + languageName: node + linkType: hard + +"markdown-table@npm:^3.0.0": + version: 3.0.4 + resolution: "markdown-table@npm:3.0.4" + checksum: 10c0/1257b31827629a54c24a5030a3dac952256c559174c95ce3ef89bebd6bff0cb1444b1fd667b1a1bb53307f83278111505b3e26f0c4e7b731e0060d435d2d930b + languageName: node + linkType: hard + "marked@npm:^1.2.2": version: 1.2.9 resolution: "marked@npm:1.2.9" @@ -17045,15 +14775,6 @@ __metadata: languageName: node linkType: hard -"mdast-squeeze-paragraphs@npm:^4.0.0": - version: 4.0.0 - resolution: "mdast-squeeze-paragraphs@npm:4.0.0" - dependencies: - unist-util-remove: "npm:^2.0.0" - checksum: 10c0/0b44a85d7e6d98772b1dbb28a46a35c74c2791c6cf057bfd2e590a4e011d626627e5bf82d4497706f0dae03da02a63a9279aca17c4c23a9c7173792adba8e6fc - languageName: node - linkType: hard - "mdast-util-definitions@npm:^1.2.0": version: 1.2.5 resolution: "mdast-util-definitions@npm:1.2.5" @@ -17063,28 +14784,200 @@ __metadata: languageName: node linkType: hard -"mdast-util-definitions@npm:^4.0.0": - version: 4.0.0 - resolution: "mdast-util-definitions@npm:4.0.0" +"mdast-util-find-and-replace@npm:^3.0.0": + version: 3.0.2 + resolution: "mdast-util-find-and-replace@npm:3.0.2" + dependencies: + "@types/mdast": "npm:^4.0.0" + escape-string-regexp: "npm:^5.0.0" + unist-util-is: "npm:^6.0.0" + unist-util-visit-parents: "npm:^6.0.0" + checksum: 10c0/c8417a35605d567772ff5c1aa08363ff3010b0d60c8ea68c53cba09bf25492e3dd261560425c1756535f3b7107f62e7ff3857cdd8fb1e62d1b2cc2ea6e074ca2 + languageName: node + linkType: hard + +"mdast-util-from-markdown@npm:^2.0.0": + version: 2.0.3 + resolution: "mdast-util-from-markdown@npm:2.0.3" dependencies: - unist-util-visit: "npm:^2.0.0" - checksum: 10c0/d81bb0b702f99878c8e8e4f66dd7f6f673ab341f061b3d9487ba47dad28b584e02f16b4c42df23714eaac8a7dd8544ba7d77308fad8d4a9fd0ac92e2a7f56be9 + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" + decode-named-character-reference: "npm:^1.0.0" + devlop: "npm:^1.0.0" + mdast-util-to-string: "npm:^4.0.0" + micromark: "npm:^4.0.0" + micromark-util-decode-numeric-character-reference: "npm:^2.0.0" + micromark-util-decode-string: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-stringify-position: "npm:^4.0.0" + checksum: 10c0/d3eac9ac2b88e3b41fb85aa81c7bfd1f4f8a2fde497ad805e66fea7b2abfe486ffd94d2a20f9fd2951dcdebe4916f3bdcf851319891dd62d343e26c2f02583ba languageName: node linkType: hard -"mdast-util-to-hast@npm:10.0.1": - version: 10.0.1 - resolution: "mdast-util-to-hast@npm:10.0.1" +"mdast-util-gfm-autolink-literal@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-gfm-autolink-literal@npm:2.0.1" dependencies: - "@types/mdast": "npm:^3.0.0" - "@types/unist": "npm:^2.0.0" - mdast-util-definitions: "npm:^4.0.0" - mdurl: "npm:^1.0.0" - unist-builder: "npm:^2.0.0" - unist-util-generated: "npm:^1.0.0" - unist-util-position: "npm:^3.0.0" - unist-util-visit: "npm:^2.0.0" - checksum: 10c0/08d0977c60ee951cb5e2e84bc821a842da463c37f7bbb79abf0be0894120ed5e2fc1d003d072d3bb968d8e813a916e132a094166d5562deb424acc45e1c661f4 + "@types/mdast": "npm:^4.0.0" + ccount: "npm:^2.0.0" + devlop: "npm:^1.0.0" + mdast-util-find-and-replace: "npm:^3.0.0" + micromark-util-character: "npm:^2.0.0" + checksum: 10c0/963cd22bd42aebdec7bdd0a527c9494d024d1ad0739c43dc040fee35bdfb5e29c22564330a7418a72b5eab51d47a6eff32bc0255ef3ccb5cebfe8970e91b81b6 + languageName: node + linkType: hard + +"mdast-util-gfm-footnote@npm:^2.0.0": + version: 2.1.0 + resolution: "mdast-util-gfm-footnote@npm:2.1.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.1.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + checksum: 10c0/8ab965ee6be3670d76ec0e95b2ba3101fc7444eec47564943ab483d96ac17d29da2a4e6146a2a288be30c21b48c4f3938a1e54b9a46fbdd321d49a5bc0077ed0 + languageName: node + linkType: hard + +"mdast-util-gfm-strikethrough@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-strikethrough@npm:2.0.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/b053e93d62c7545019bd914271ea9e5667ad3b3b57d16dbf68e56fea39a7e19b4a345e781312714eb3d43fdd069ff7ee22a3ca7f6149dfa774554f19ce3ac056 + languageName: node + linkType: hard + +"mdast-util-gfm-table@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-table@npm:2.0.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + markdown-table: "npm:^3.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/128af47c503a53bd1c79f20642561e54a510ad5e2db1e418d28fefaf1294ab839e6c838e341aef5d7e404f9170b9ca3d1d89605f234efafde93ee51174a6e31e + languageName: node + linkType: hard + +"mdast-util-gfm-task-list-item@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-task-list-item@npm:2.0.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/258d725288482b636c0a376c296431390c14b4f29588675297cb6580a8598ed311fc73ebc312acfca12cc8546f07a3a285a53a3b082712e2cbf5c190d677d834 + languageName: node + linkType: hard + +"mdast-util-gfm@npm:^3.0.0": + version: 3.1.0 + resolution: "mdast-util-gfm@npm:3.1.0" + dependencies: + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-gfm-autolink-literal: "npm:^2.0.0" + mdast-util-gfm-footnote: "npm:^2.0.0" + mdast-util-gfm-strikethrough: "npm:^2.0.0" + mdast-util-gfm-table: "npm:^2.0.0" + mdast-util-gfm-task-list-item: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/4bedcfb6a20e39901c8772f0d2bb2d7a64ae87a54c13cbd92eec062cf470fbb68c2ad754e149af5b30794e2de61c978ab1de1ace03c0c40f443ca9b9b8044f81 + languageName: node + linkType: hard + +"mdast-util-mdx-expression@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-mdx-expression@npm:2.0.1" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/9a1e57940f66431f10312fa239096efa7627f375e7933b5d3162c0b5c1712a72ac87447aff2b6838d2bbd5c1311b188718cc90b33b67dc67a88550e0a6ef6183 + languageName: node + linkType: hard + +"mdast-util-mdx-jsx@npm:^3.0.0": + version: 3.2.0 + resolution: "mdast-util-mdx-jsx@npm:3.2.0" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" + ccount: "npm:^2.0.0" + devlop: "npm:^1.1.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + parse-entities: "npm:^4.0.0" + stringify-entities: "npm:^4.0.0" + unist-util-stringify-position: "npm:^4.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/3acadaf3b962254f7ad2990fed4729961dc0217ca31fde9917986e880843f3ecf3392b1f22d569235cacd180d50894ad266db7af598aedca69d330d33c7ac613 + languageName: node + linkType: hard + +"mdast-util-mdx@npm:^3.0.0": + version: 3.0.0 + resolution: "mdast-util-mdx@npm:3.0.0" + dependencies: + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-mdx-expression: "npm:^2.0.0" + mdast-util-mdx-jsx: "npm:^3.0.0" + mdast-util-mdxjs-esm: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/4faea13f77d6bc9aa64ee41a5e4779110b73444a17fda363df6ebe880ecfa58b321155b71f8801c3faa6d70d6222a32a00cbd6dbf5fad8db417f4688bc9c74e1 + languageName: node + linkType: hard + +"mdast-util-mdxjs-esm@npm:^2.0.0, mdast-util-mdxjs-esm@npm:^2.0.1": + version: 2.0.1 + resolution: "mdast-util-mdxjs-esm@npm:2.0.1" + dependencies: + "@types/estree-jsx": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + devlop: "npm:^1.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + checksum: 10c0/5bda92fc154141705af2b804a534d891f28dac6273186edf1a4c5e3f045d5b01dbcac7400d27aaf91b7e76e8dce007c7b2fdf136c11ea78206ad00bdf9db46bc + languageName: node + linkType: hard + +"mdast-util-phrasing@npm:^4.0.0": + version: 4.1.0 + resolution: "mdast-util-phrasing@npm:4.1.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + unist-util-is: "npm:^6.0.0" + checksum: 10c0/bf6c31d51349aa3d74603d5e5a312f59f3f65662ed16c58017169a5fb0f84ca98578f626c5ee9e4aa3e0a81c996db8717096705521bddb4a0185f98c12c9b42f + languageName: node + linkType: hard + +"mdast-util-to-hast@npm:^13.0.0": + version: 13.2.1 + resolution: "mdast-util-to-hast@npm:13.2.1" + dependencies: + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + "@ungap/structured-clone": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" + trim-lines: "npm:^3.0.0" + unist-util-position: "npm:^5.0.0" + unist-util-visit: "npm:^5.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/3eeaf28a5e84e1e08e6d54a1a8a06c0fca88cb5d36f4cf8086f0177248d1ce6e4e751f4ad0da19a3dea1c6ea61bd80784acc3ae021e44ceeb21aa5413a375e43 languageName: node linkType: hard @@ -17107,21 +15000,66 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-string@npm:^2.0.0": - version: 2.0.0 - resolution: "mdast-util-to-string@npm:2.0.0" - checksum: 10c0/a4231085133cdfec24644b694c13661e5a01d26716be0105b6792889faa04b8030e4abbf72d4be3363098b2b38b2b98f1f1f1f0858eb6580dc04e2aca1436a37 +"mdast-util-to-markdown-cjk-friendly-gfm-strikethrough@npm:1.0.0": + version: 1.0.0 + resolution: "mdast-util-to-markdown-cjk-friendly-gfm-strikethrough@npm:1.0.0" + dependencies: + mdast-util-gfm-strikethrough: "npm:^2.0.0" + mdast-util-to-markdown: "npm:^2.1.2" + micromark-extension-cjk-friendly-util: "npm:3.0.1" + micromark-util-symbol: "npm:^2.0.1" + peerDependencies: + "@types/mdast": "*" + peerDependenciesMeta: + "@types/mdast": + optional: true + checksum: 10c0/dc03d1001d8f5d2b33134935daa162d8f5bd307f1dc93af5b257487bdb216a0b60434d238c8f4f762f77c99767838a2f1f0790d355b711318df1de4f95072953 languageName: node linkType: hard -"mdn-data@npm:2.0.14": - version: 2.0.14 - resolution: "mdn-data@npm:2.0.14" - checksum: 10c0/67241f8708c1e665a061d2b042d2d243366e93e5bf1f917693007f6d55111588b952dcbfd3ea9c2d0969fb754aad81b30fdcfdcc24546495fc3b24336b28d4bd +"mdast-util-to-markdown-cjk-friendly@npm:1.0.0": + version: 1.0.0 + resolution: "mdast-util-to-markdown-cjk-friendly@npm:1.0.0" + dependencies: + mdast-util-to-markdown: "npm:^2.1.2" + micromark-extension-cjk-friendly-util: "npm:3.0.1" + micromark-util-symbol: "npm:^2.0.1" + peerDependencies: + "@types/mdast": "*" + peerDependenciesMeta: + "@types/mdast": + optional: true + checksum: 10c0/5fedb40578f136f74921abd3457626637328ddec8d0e60f490ee7c69b10308d5a580faa627a06a11303985d2c714ad46a883d4a436015c0e9639bd333b54ec6b + languageName: node + linkType: hard + +"mdast-util-to-markdown@npm:^2.0.0, mdast-util-to-markdown@npm:^2.1.2": + version: 2.1.2 + resolution: "mdast-util-to-markdown@npm:2.1.2" + dependencies: + "@types/mdast": "npm:^4.0.0" + "@types/unist": "npm:^3.0.0" + longest-streak: "npm:^3.0.0" + mdast-util-phrasing: "npm:^4.0.0" + mdast-util-to-string: "npm:^4.0.0" + micromark-util-classify-character: "npm:^2.0.0" + micromark-util-decode-string: "npm:^2.0.0" + unist-util-visit: "npm:^5.0.0" + zwitch: "npm:^2.0.0" + checksum: 10c0/4649722a6099f12e797bd8d6469b2b43b44e526b5182862d9c7766a3431caad2c0112929c538a972f214e63c015395e5d3f54bd81d9ac1b16e6d8baaf582f749 + languageName: node + linkType: hard + +"mdast-util-to-string@npm:^4.0.0": + version: 4.0.0 + resolution: "mdast-util-to-string@npm:4.0.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + checksum: 10c0/2d3c1af29bf3fe9c20f552ee9685af308002488f3b04b12fa66652c9718f66f41a32f8362aa2d770c3ff464c034860b41715902ada2306bb0a055146cef064d7 languageName: node linkType: hard -"mdurl@npm:^1.0.0, mdurl@npm:^1.0.1": +"mdurl@npm:^1.0.1": version: 1.0.1 resolution: "mdurl@npm:1.0.1" checksum: 10c0/ea8534341eb002aaa532a722daef6074cd8ca66202e10a2b4cda46722c1ebdb1da92197ac300bc953d3ef1bf41cd6561ef2cc69d82d5d0237dae00d4a61a4eee @@ -17135,6 +15073,13 @@ __metadata: languageName: node linkType: hard +"medium-zoom@npm:1.1.0": + version: 1.1.0 + resolution: "medium-zoom@npm:1.1.0" + checksum: 10c0/7d1f05e8eab045c33d7c04d4ee7bf04f5246cf7a720d7b5f5a51c36ab23666e363bcbb6bffae50b5948d5eb19361914cb0e26a1fce5c1fff7a266bc0217893f3 + languageName: node + linkType: hard + "mem@npm:^8.1.1": version: 8.1.1 resolution: "mem@npm:8.1.1" @@ -17145,7 +15090,7 @@ __metadata: languageName: node linkType: hard -"memfs@npm:^3.1.2, memfs@npm:^3.2.2, memfs@npm:^3.4.3": +"memfs@npm:^3.2.2": version: 3.5.3 resolution: "memfs@npm:3.5.3" dependencies: @@ -17237,7 +15182,7 @@ __metadata: languageName: node linkType: hard -"merge2@npm:^1.3.0, merge2@npm:^1.4.1": +"merge2@npm:^1.3.0": version: 1.4.1 resolution: "merge2@npm:1.4.1" checksum: 10c0/254a8a4605b58f450308fc474c82ac9a094848081bf4c06778200207820e5193726dc563a0d2c16468810516a5c97d9d3ea0ca6585d23c58ccfff2403e8dbbeb @@ -17475,15 +15420,506 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^3.1.4": - version: 3.1.10 - resolution: "micromatch@npm:3.1.10" - dependencies: - arr-diff: "npm:^4.0.0" - array-unique: "npm:^0.3.2" - braces: "npm:^2.3.1" - define-property: "npm:^2.0.2" - extend-shallow: "npm:^3.0.2" +"micromark-core-commonmark@npm:^2.0.0": + version: 2.0.3 + resolution: "micromark-core-commonmark@npm:2.0.3" + dependencies: + decode-named-character-reference: "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-factory-destination: "npm:^2.0.0" + micromark-factory-label: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-factory-title: "npm:^2.0.0" + micromark-factory-whitespace: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-classify-character: "npm:^2.0.0" + micromark-util-html-tag-name: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-resolve-all: "npm:^2.0.0" + micromark-util-subtokenize: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/bd4a794fdc9e88dbdf59eaf1c507ddf26e5f7ddf4e52566c72239c0f1b66adbcd219ba2cd42350debbe24471434d5f5e50099d2b3f4e5762ca222ba8e5b549ee + languageName: node + linkType: hard + +"micromark-extension-cjk-friendly-gfm-strikethrough@npm:2.0.1": + version: 2.0.1 + resolution: "micromark-extension-cjk-friendly-gfm-strikethrough@npm:2.0.1" + dependencies: + devlop: "npm:^1.1.0" + get-east-asian-width: "npm:^1.4.0" + micromark-extension-cjk-friendly-util: "npm:3.0.1" + micromark-util-character: "npm:^2.1.1" + micromark-util-chunked: "npm:^2.0.1" + micromark-util-resolve-all: "npm:^2.0.1" + micromark-util-symbol: "npm:^2.0.1" + peerDependencies: + micromark: ^4.0.0 + micromark-util-types: ^2.0.0 + peerDependenciesMeta: + micromark-util-types: + optional: true + checksum: 10c0/6e51e6101fc287322b12379b32052fb6cbfdb1f427f87671d1b5a3b9d4fc685b60eb8a01f897bb5fc1aeae6197ec668e8f0a3179db80870b11e295cc2fe4bbb3 + languageName: node + linkType: hard + +"micromark-extension-cjk-friendly-util@npm:3.0.1": + version: 3.0.1 + resolution: "micromark-extension-cjk-friendly-util@npm:3.0.1" + dependencies: + get-east-asian-width: "npm:^1.4.0" + micromark-util-character: "npm:^2.1.1" + micromark-util-symbol: "npm:^2.0.1" + peerDependenciesMeta: + micromark-util-types: + optional: true + checksum: 10c0/5a9210b21fcf38b6b6f17dd49587eb70cc17001294e49a81cc128975be8fcb7654d70ed198280c7d56e8664338c1cbe0ca9d4ecbe57348e380f0552b7178602c + languageName: node + linkType: hard + +"micromark-extension-cjk-friendly@npm:2.0.1": + version: 2.0.1 + resolution: "micromark-extension-cjk-friendly@npm:2.0.1" + dependencies: + devlop: "npm:^1.1.0" + micromark-extension-cjk-friendly-util: "npm:3.0.1" + micromark-util-chunked: "npm:^2.0.1" + micromark-util-resolve-all: "npm:^2.0.1" + micromark-util-symbol: "npm:^2.0.1" + peerDependencies: + micromark: ^4.0.0 + micromark-util-types: ^2.0.0 + peerDependenciesMeta: + micromark-util-types: + optional: true + checksum: 10c0/23bd7aabecc83f58508e29a181cf1baa5ad7e0612e1a227cdbd445214afbfd47e9bb2100e740d15728078eaeedd7820cdc70585f36c62ecb70e38bd6e017afa4 + languageName: node + linkType: hard + +"micromark-extension-gfm-autolink-literal@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-extension-gfm-autolink-literal@npm:2.1.0" + dependencies: + micromark-util-character: "npm:^2.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/84e6fbb84ea7c161dfa179665dc90d51116de4c28f3e958260c0423e5a745372b7dcbc87d3cde98213b532e6812f847eef5ae561c9397d7f7da1e59872ef3efe + languageName: node + linkType: hard + +"micromark-extension-gfm-footnote@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-extension-gfm-footnote@npm:2.1.0" + dependencies: + devlop: "npm:^1.0.0" + micromark-core-commonmark: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/d172e4218968b7371b9321af5cde8c77423f73b233b2b0fcf3ff6fd6f61d2e0d52c49123a9b7910612478bf1f0d5e88c75a3990dd68f70f3933fe812b9f77edc + languageName: node + linkType: hard + +"micromark-extension-gfm-strikethrough@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-extension-gfm-strikethrough@npm:2.1.0" + dependencies: + devlop: "npm:^1.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-classify-character: "npm:^2.0.0" + micromark-util-resolve-all: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/ef4f248b865bdda71303b494671b7487808a340b25552b11ca6814dff3fcfaab9be8d294643060bbdb50f79313e4a686ab18b99cbe4d3ee8a4170fcd134234fb + languageName: node + linkType: hard + +"micromark-extension-gfm-table@npm:^2.0.0": + version: 2.1.1 + resolution: "micromark-extension-gfm-table@npm:2.1.1" + dependencies: + devlop: "npm:^1.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/04bc00e19b435fa0add62cd029d8b7eb6137522f77832186b1d5ef34544a9bd030c9cf85e92ddfcc5c31f6f0a58a43d4b96dba4fc21316037c734630ee12c912 + languageName: node + linkType: hard + +"micromark-extension-gfm-tagfilter@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-gfm-tagfilter@npm:2.0.0" + dependencies: + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/995558843fff137ae4e46aecb878d8a4691cdf23527dcf1e2f0157d66786be9f7bea0109c52a8ef70e68e3f930af811828ba912239438e31a9cfb9981f44d34d + languageName: node + linkType: hard + +"micromark-extension-gfm-task-list-item@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-extension-gfm-task-list-item@npm:2.1.0" + dependencies: + devlop: "npm:^1.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/78aa537d929e9309f076ba41e5edc99f78d6decd754b6734519ccbbfca8abd52e1c62df68d41a6ae64d2a3fc1646cea955893c79680b0b4385ced4c52296181f + languageName: node + linkType: hard + +"micromark-extension-gfm@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-gfm@npm:3.0.0" + dependencies: + micromark-extension-gfm-autolink-literal: "npm:^2.0.0" + micromark-extension-gfm-footnote: "npm:^2.0.0" + micromark-extension-gfm-strikethrough: "npm:^2.0.0" + micromark-extension-gfm-table: "npm:^2.0.0" + micromark-extension-gfm-tagfilter: "npm:^2.0.0" + micromark-extension-gfm-task-list-item: "npm:^2.0.0" + micromark-util-combine-extensions: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/970e28df6ebdd7c7249f52a0dda56e0566fbfa9ae56c8eeeb2445d77b6b89d44096880cd57a1c01e7821b1f4e31009109fbaca4e89731bff7b83b8519690e5d9 + languageName: node + linkType: hard + +"micromark-extension-mdx-expression@npm:^3.0.0": + version: 3.0.1 + resolution: "micromark-extension-mdx-expression@npm:3.0.1" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-factory-mdx-expression: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/4d8cc5353b083b06bd51c98389de9c198261a5b2b440b75e85000a18d10511f21ba77538d6dfde0e0589df9de3fba9a1d14c2448d30c92d6b461c26d86e397f4 + languageName: node + linkType: hard + +"micromark-extension-mdx-jsx@npm:^3.0.0": + version: 3.0.2 + resolution: "micromark-extension-mdx-jsx@npm:3.0.2" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + estree-util-is-identifier-name: "npm:^3.0.0" + micromark-factory-mdx-expression: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/5693b2e51934ac29a6aab521eaa2151f891d1fe092550bbd4ce24e4dd7567c1421a54f5e585a57dfa1769a79570f6df57ddd7a98bf0889dd11d495847a266dd7 + languageName: node + linkType: hard + +"micromark-extension-mdx-md@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-mdx-md@npm:2.0.0" + dependencies: + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/bae91c61273de0e5ba80a980c03470e6cd9d7924aa936f46fbda15d780704d9386e945b99eda200e087b96254fbb4271a9545d5ce02676cd6ae67886a8bf82df + languageName: node + linkType: hard + +"micromark-extension-mdxjs-esm@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdxjs-esm@npm:3.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-core-commonmark: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/13e3f726495a960650cdedcba39198ace5bdc953ccb12c14d71fc9ed9bb88e40cc3ba9231e973f6984da3b3573e7ddb23ce409f7c16f52a8d57b608bf46c748d + languageName: node + linkType: hard + +"micromark-extension-mdxjs@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-mdxjs@npm:3.0.0" + dependencies: + acorn: "npm:^8.0.0" + acorn-jsx: "npm:^5.0.0" + micromark-extension-mdx-expression: "npm:^3.0.0" + micromark-extension-mdx-jsx: "npm:^3.0.0" + micromark-extension-mdx-md: "npm:^2.0.0" + micromark-extension-mdxjs-esm: "npm:^3.0.0" + micromark-util-combine-extensions: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/fd84f036ddad0aabbc12e7f1b3e9dcfe31573bbc413c5ae903779ef0366d7a4c08193547e7ba75718c9f45654e45f52e575cfc2f23a5f89205a8a70d9a506aea + languageName: node + linkType: hard + +"micromark-factory-destination@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-destination@npm:2.0.1" + dependencies: + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/bbafcf869cee5bf511161354cb87d61c142592fbecea051000ff116068dc85216e6d48519d147890b9ea5d7e2864a6341c0c09d9948c203bff624a80a476023c + languageName: node + linkType: hard + +"micromark-factory-label@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-label@npm:2.0.1" + dependencies: + devlop: "npm:^1.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/0137716b4ecb428114165505e94a2f18855c8bbea21b07a8b5ce514b32a595ed789d2b967125718fc44c4197ceaa48f6609d58807a68e778138d2e6b91b824e8 + languageName: node + linkType: hard + +"micromark-factory-mdx-expression@npm:^2.0.0": + version: 2.0.3 + resolution: "micromark-factory-mdx-expression@npm:2.0.3" + dependencies: + "@types/estree": "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-events-to-acorn: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unist-util-position-from-estree: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/a6004ef6272dd01a5d718f2affd7bfb5e08f0849340f5fd96ac823fbc5e9d3b3343acedda50805873ccda5e3b8af4d5fbb302abc874544044ac90c217345cf97 + languageName: node + linkType: hard + +"micromark-factory-space@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-space@npm:2.0.1" + dependencies: + micromark-util-character: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/f9ed43f1c0652d8d898de0ac2be3f77f776fffe7dd96bdbba1e02d7ce33d3853c6ff5daa52568fc4fa32cdf3a62d86b85ead9b9189f7211e1d69ff2163c450fb + languageName: node + linkType: hard + +"micromark-factory-title@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-title@npm:2.0.1" + dependencies: + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/e72fad8d6e88823514916890099a5af20b6a9178ccf78e7e5e05f4de99bb8797acb756257d7a3a57a53854cb0086bf8aab15b1a9e9db8982500dd2c9ff5948b6 + languageName: node + linkType: hard + +"micromark-factory-whitespace@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-factory-whitespace@npm:2.0.1" + dependencies: + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/20a1ec58698f24b766510a309b23a10175034fcf1551eaa9da3adcbed3e00cd53d1ebe5f030cf873f76a1cec3c34eb8c50cc227be3344caa9ed25d56cf611224 + languageName: node + linkType: hard + +"micromark-util-character@npm:^2.0.0, micromark-util-character@npm:^2.1.1": + version: 2.1.1 + resolution: "micromark-util-character@npm:2.1.1" + dependencies: + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/d3fe7a5e2c4060fc2a076f9ce699c82a2e87190a3946e1e5eea77f563869b504961f5668d9c9c014724db28ac32fa909070ea8b30c3a39bd0483cc6c04cc76a1 + languageName: node + linkType: hard + +"micromark-util-chunked@npm:^2.0.0, micromark-util-chunked@npm:^2.0.1": + version: 2.0.1 + resolution: "micromark-util-chunked@npm:2.0.1" + dependencies: + micromark-util-symbol: "npm:^2.0.0" + checksum: 10c0/b68c0c16fe8106949537bdcfe1be9cf36c0ccd3bc54c4007003cb0984c3750b6cdd0fd77d03f269a3382b85b0de58bde4f6eedbe7ecdf7244759112289b1ab56 + languageName: node + linkType: hard + +"micromark-util-classify-character@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-classify-character@npm:2.0.1" + dependencies: + micromark-util-character: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/8a02e59304005c475c332f581697e92e8c585bcd45d5d225a66c1c1b14ab5a8062705188c2ccec33cc998d33502514121478b2091feddbc751887fc9c290ed08 + languageName: node + linkType: hard + +"micromark-util-combine-extensions@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-combine-extensions@npm:2.0.1" + dependencies: + micromark-util-chunked: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/f15e282af24c8372cbb10b9b0b3e2c0aa681fea0ca323a44d6bc537dc1d9382c819c3689f14eaa000118f5a163245358ce6276b2cda9a84439cdb221f5d86ae7 + languageName: node + linkType: hard + +"micromark-util-decode-numeric-character-reference@npm:^2.0.0": + version: 2.0.2 + resolution: "micromark-util-decode-numeric-character-reference@npm:2.0.2" + dependencies: + micromark-util-symbol: "npm:^2.0.0" + checksum: 10c0/9c8a9f2c790e5593ffe513901c3a110e9ec8882a08f466da014112a25e5059b51551ca0aeb7ff494657d86eceb2f02ee556c6558b8d66aadc61eae4a240da0df + languageName: node + linkType: hard + +"micromark-util-decode-string@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-decode-string@npm:2.0.1" + dependencies: + decode-named-character-reference: "npm:^1.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-decode-numeric-character-reference: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + checksum: 10c0/f24d75b2e5310be6e7b6dee532e0d17d3bf46996841d6295f2a9c87a2046fff4ab603c52ab9d7a7a6430a8b787b1574ae895849c603d262d1b22eef71736b5cb + languageName: node + linkType: hard + +"micromark-util-encode@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-encode@npm:2.0.1" + checksum: 10c0/b2b29f901093845da8a1bf997ea8b7f5e061ffdba85070dfe14b0197c48fda64ffcf82bfe53c90cf9dc185e69eef8c5d41cae3ba918b96bc279326921b59008a + languageName: node + linkType: hard + +"micromark-util-events-to-acorn@npm:^2.0.0": + version: 2.0.3 + resolution: "micromark-util-events-to-acorn@npm:2.0.3" + dependencies: + "@types/estree": "npm:^1.0.0" + "@types/unist": "npm:^3.0.0" + devlop: "npm:^1.0.0" + estree-util-visit: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/a4e0716e943ffdd16a918edf51d4f8291ec2692f5c4d04693dbef3358716fba891f288197afd102c14f4d98dac09d52351046ab7aad1d50b74677bdd5fa683c0 + languageName: node + linkType: hard + +"micromark-util-html-tag-name@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-html-tag-name@npm:2.0.1" + checksum: 10c0/ae80444db786fde908e9295f19a27a4aa304171852c77414516418650097b8afb401961c9edb09d677b06e97e8370cfa65638dde8438ebd41d60c0a8678b85b9 + languageName: node + linkType: hard + +"micromark-util-normalize-identifier@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-normalize-identifier@npm:2.0.1" + dependencies: + micromark-util-symbol: "npm:^2.0.0" + checksum: 10c0/5299265fa360769fc499a89f40142f10a9d4a5c3dd8e6eac8a8ef3c2e4a6570e4c009cf75ea46dce5ee31c01f25587bde2f4a5cc0a935584ae86dd857f2babbd + languageName: node + linkType: hard + +"micromark-util-resolve-all@npm:^2.0.0, micromark-util-resolve-all@npm:^2.0.1": + version: 2.0.1 + resolution: "micromark-util-resolve-all@npm:2.0.1" + dependencies: + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/bb6ca28764696bb479dc44a2d5b5fe003e7177aeae1d6b0d43f24cc223bab90234092d9c3ce4a4d2b8df095ccfd820537b10eb96bb7044d635f385d65a4c984a + languageName: node + linkType: hard + +"micromark-util-sanitize-uri@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-sanitize-uri@npm:2.0.1" + dependencies: + micromark-util-character: "npm:^2.0.0" + micromark-util-encode: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + checksum: 10c0/60e92166e1870fd4f1961468c2651013ff760617342918e0e0c3c4e872433aa2e60c1e5a672bfe5d89dc98f742d6b33897585cf86ae002cda23e905a3c02527c + languageName: node + linkType: hard + +"micromark-util-subtokenize@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-util-subtokenize@npm:2.1.0" + dependencies: + devlop: "npm:^1.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/bee69eece4393308e657c293ba80d92ebcb637e5f55e21dcf9c3fa732b91a8eda8ac248d76ff375e675175bfadeae4712e5158ef97eef1111789da1ce7ab5067 + languageName: node + linkType: hard + +"micromark-util-symbol@npm:^2.0.0, micromark-util-symbol@npm:^2.0.1": + version: 2.0.1 + resolution: "micromark-util-symbol@npm:2.0.1" + checksum: 10c0/f2d1b207771e573232436618e78c5e46cd4b5c560dd4a6d63863d58018abbf49cb96ec69f7007471e51434c60de3c9268ef2bf46852f26ff4aacd10f9da16fe9 + languageName: node + linkType: hard + +"micromark-util-types@npm:^2.0.0": + version: 2.0.2 + resolution: "micromark-util-types@npm:2.0.2" + checksum: 10c0/c8c15b96c858db781c4393f55feec10004bf7df95487636c9a9f7209e51002a5cca6a047c5d2a5dc669ff92da20e57aaa881e81a268d9ccadb647f9dce305298 + languageName: node + linkType: hard + +"micromark@npm:^4.0.0": + version: 4.0.2 + resolution: "micromark@npm:4.0.2" + dependencies: + "@types/debug": "npm:^4.0.0" + debug: "npm:^4.0.0" + decode-named-character-reference: "npm:^1.0.0" + devlop: "npm:^1.0.0" + micromark-core-commonmark: "npm:^2.0.0" + micromark-factory-space: "npm:^2.0.0" + micromark-util-character: "npm:^2.0.0" + micromark-util-chunked: "npm:^2.0.0" + micromark-util-combine-extensions: "npm:^2.0.0" + micromark-util-decode-numeric-character-reference: "npm:^2.0.0" + micromark-util-encode: "npm:^2.0.0" + micromark-util-normalize-identifier: "npm:^2.0.0" + micromark-util-resolve-all: "npm:^2.0.0" + micromark-util-sanitize-uri: "npm:^2.0.0" + micromark-util-subtokenize: "npm:^2.0.0" + micromark-util-symbol: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + checksum: 10c0/07462287254219d6eda6eac8a3cebaff2994e0575499e7088027b825105e096e4f51e466b14b2a81b71933a3b6c48ee069049d87bc2c2127eee50d9cc69e8af6 + languageName: node + linkType: hard + +"micromatch@npm:^3.1.4": + version: 3.1.10 + resolution: "micromatch@npm:3.1.10" + dependencies: + arr-diff: "npm:^4.0.0" + array-unique: "npm:^0.3.2" + braces: "npm:^2.3.1" + define-property: "npm:^2.0.2" + extend-shallow: "npm:^3.0.2" extglob: "npm:^2.0.4" fragment-cache: "npm:^0.2.1" kind-of: "npm:^6.0.2" @@ -17496,7 +15932,7 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4, micromatch@npm:^4.0.5, micromatch@npm:^4.0.8": +"micromatch@npm:^4.0.4, micromatch@npm:^4.0.8": version: 4.0.8 resolution: "micromatch@npm:4.0.8" dependencies: @@ -17527,22 +15963,6 @@ __metadata: languageName: node linkType: hard -"mime-db@npm:~1.33.0": - version: 1.33.0 - resolution: "mime-db@npm:1.33.0" - checksum: 10c0/79172ce5468c8503b49dddfdddc18d3f5fe2599f9b5fe1bc321a8cbee14c96730fc6db22f907b23701b05b2936f865795f62ec3a78a7f3c8cb2450bb68c6763e - languageName: node - linkType: hard - -"mime-types@npm:2.1.18": - version: 2.1.18 - resolution: "mime-types@npm:2.1.18" - dependencies: - mime-db: "npm:~1.33.0" - checksum: 10c0/a96a8d12f4bb98bc7bfac6a8ccbd045f40368fc1030d9366050c3613825d3715d1c1f393e10a75a885d2cdc1a26cd6d5e11f3a2a0d5c4d361f00242139430a0f - languageName: node - linkType: hard - "mime-types@npm:2.1.31": version: 2.1.31 resolution: "mime-types@npm:2.1.31" @@ -17552,7 +15972,7 @@ __metadata: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:^2.1.30, mime-types@npm:^2.1.31, mime-types@npm:~2.1.17, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": +"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27, mime-types@npm:^2.1.30, mime-types@npm:~2.1.24, mime-types@npm:~2.1.34": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -17634,34 +16054,6 @@ __metadata: languageName: node linkType: hard -"mini-css-extract-plugin@npm:^2.6.1": - version: 2.9.4 - resolution: "mini-css-extract-plugin@npm:2.9.4" - dependencies: - schema-utils: "npm:^4.0.0" - tapable: "npm:^2.2.1" - peerDependencies: - webpack: ^5.0.0 - checksum: 10c0/76f9e471784d52435ea766ce576ad23d37d0ea51c32ddc56414c8fdf14f7de44202dbc772cdf7549b7e54a5e56f569af93cfbd036d62d13ff8fd9571e53353b7 - languageName: node - linkType: hard - -"minimalistic-assert@npm:^1.0.0": - version: 1.0.1 - resolution: "minimalistic-assert@npm:1.0.1" - checksum: 10c0/96730e5601cd31457f81a296f521eb56036e6f69133c0b18c13fe941109d53ad23a4204d946a0d638d7f3099482a0cec8c9bb6d642604612ce43ee536be3dddd - languageName: node - linkType: hard - -"minimatch@npm:3.1.2, minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": - version: 3.1.2 - resolution: "minimatch@npm:3.1.2" - dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 10c0/0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 - languageName: node - linkType: hard - "minimatch@npm:^10.1.1": version: 10.1.1 resolution: "minimatch@npm:10.1.1" @@ -17680,6 +16072,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^3.0.2, minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": + version: 3.1.2 + resolution: "minimatch@npm:3.1.2" + dependencies: + brace-expansion: "npm:^1.1.7" + checksum: 10c0/0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + languageName: node + linkType: hard + "minimatch@npm:^3.1.5": version: 3.1.5 resolution: "minimatch@npm:3.1.5" @@ -17837,13 +16238,6 @@ __metadata: languageName: node linkType: hard -"mrmime@npm:^2.0.0": - version: 2.0.1 - resolution: "mrmime@npm:2.0.1" - checksum: 10c0/af05afd95af202fdd620422f976ad67dc18e6ee29beb03dd1ce950ea6ef664de378e44197246df4c7cdd73d47f2e7143a6e26e473084b9e4aa2095c0ad1e1761 - languageName: node - linkType: hard - "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -17908,18 +16302,6 @@ __metadata: languageName: node linkType: hard -"multicast-dns@npm:^7.2.5": - version: 7.2.5 - resolution: "multicast-dns@npm:7.2.5" - dependencies: - dns-packet: "npm:^5.2.2" - thunky: "npm:^1.0.2" - bin: - multicast-dns: cli.js - checksum: 10c0/5120171d4bdb1577764c5afa96e413353bff530d1b37081cb29cccc747f989eb1baf40574fe8e27060fc1aef72b59c042f72b9b208413de33bcf411343c69057 - languageName: node - linkType: hard - "multitars@npm:^1.0.0": version: 1.0.0 resolution: "multitars@npm:1.0.0" @@ -18022,16 +16404,6 @@ __metadata: languageName: node linkType: hard -"no-case@npm:^3.0.4": - version: 3.0.4 - resolution: "no-case@npm:3.0.4" - dependencies: - lower-case: "npm:^2.0.2" - tslib: "npm:^2.0.3" - checksum: 10c0/8ef545f0b3f8677c848f86ecbd42ca0ff3cd9dd71c158527b344c69ba14710d816d8489c746b6ca225e7b615108938a0bda0a54706f8c255933703ac1cf8e703 - languageName: node - linkType: hard - "node-dir@npm:^0.1.10": version: 0.1.17 resolution: "node-dir@npm:0.1.17" @@ -18041,15 +16413,6 @@ __metadata: languageName: node linkType: hard -"node-emoji@npm:^1.10.0": - version: 1.11.0 - resolution: "node-emoji@npm:1.11.0" - dependencies: - lodash: "npm:^4.17.21" - checksum: 10c0/5dac6502dbef087092d041fcc2686d8be61168593b3a9baf964d62652f55a3a9c2277f171b81cccb851ccef33f2d070f45e633fab1fda3264f8e1ae9041c673f - languageName: node - linkType: hard - "node-fetch@npm:^2.6.0, node-fetch@npm:^2.6.7, node-fetch@npm:^2.7.0": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" @@ -18064,7 +16427,7 @@ __metadata: languageName: node linkType: hard -"node-forge@npm:^1, node-forge@npm:^1.3.3": +"node-forge@npm:^1.3.3": version: 1.3.3 resolution: "node-forge@npm:1.3.3" checksum: 10c0/9c6f53b0ebb34865872cf62a35b0aef8fb337e2efc766626c2e3a0040f4c02933bf29a62ba999eb44a2aca73bd512c4eda22705a47b94654b9fb8ed53db9a1db @@ -18136,13 +16499,6 @@ __metadata: languageName: node linkType: hard -"normalize-css-color@npm:^1.0.2": - version: 1.0.2 - resolution: "normalize-css-color@npm:1.0.2" - checksum: 10c0/48655c9113d35c9e49d71e63ef636556b807692fdc536cfb3de2b51827ab9d75998c76d671576268e40dc3d89af91b750b2d1c889aa98856dd6181924add1712 - languageName: node - linkType: hard - "normalize-package-data@npm:^2.3.2, normalize-package-data@npm:^2.3.4, normalize-package-data@npm:^2.5.0": version: 2.5.0 resolution: "normalize-package-data@npm:2.5.0" @@ -18176,7 +16532,7 @@ __metadata: languageName: node linkType: hard -"normalize-path@npm:^3.0.0, normalize-path@npm:~3.0.0": +"normalize-path@npm:^3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" checksum: 10c0/e008c8142bcc335b5e38cf0d63cfd39d6cf2d97480af9abdbe9a439221fd4d749763bab492a8ee708ce7a194bb00c9da6d0a115018672310850489137b3da046 @@ -18239,13 +16595,6 @@ __metadata: languageName: node linkType: hard -"npm-to-yarn@npm:^2.0.0": - version: 2.2.1 - resolution: "npm-to-yarn@npm:2.2.1" - checksum: 10c0/65c696a3e595facad802b6b13c04e504806ea88fd4f87ab758f8042c19f65b4c4822815a47095df944b0809a95e574c27323c33cca5533f8454515eaa6e14fac - languageName: node - linkType: hard - "nprogress@npm:^0.2.0": version: 0.2.0 resolution: "nprogress@npm:0.2.0" @@ -18253,15 +16602,6 @@ __metadata: languageName: node linkType: hard -"nth-check@npm:^2.0.1": - version: 2.1.1 - resolution: "nth-check@npm:2.1.1" - dependencies: - boolbase: "npm:^1.0.0" - checksum: 10c0/5fee7ff309727763689cfad844d979aedd2204a817fbaaf0e1603794a7c20db28548d7b024692f953557df6ce4a0ee4ae46cd8ebd9b36cfb300b9226b567c479 - languageName: node - linkType: hard - "nullthrows@npm:^1.1.1": version: 1.1.1 resolution: "nullthrows@npm:1.1.1" @@ -18319,7 +16659,7 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.0, object.assign@npm:^4.1.4, object.assign@npm:^4.1.7": +"object.assign@npm:^4.1.4, object.assign@npm:^4.1.7": version: 4.1.7 resolution: "object.assign@npm:4.1.7" dependencies: @@ -18389,13 +16729,6 @@ __metadata: languageName: node linkType: hard -"obuf@npm:^1.0.0, obuf@npm:^1.1.2": - version: 1.1.2 - resolution: "obuf@npm:1.1.2" - checksum: 10c0/520aaac7ea701618eacf000fc96ae458e20e13b0569845800fc582f81b386731ab22d55354b4915d58171db00e79cfcd09c1638c02f89577ef092b38c65b7d81 - languageName: node - linkType: hard - "on-finished@npm:~2.3.0": version: 2.3.0 resolution: "on-finished@npm:2.3.0" @@ -18448,33 +16781,31 @@ __metadata: languageName: node linkType: hard -"open@npm:^7.0.3, open@npm:^7.4.2": - version: 7.4.2 - resolution: "open@npm:7.4.2" - dependencies: - is-docker: "npm:^2.0.0" - is-wsl: "npm:^2.1.1" - checksum: 10c0/77573a6a68f7364f3a19a4c80492712720746b63680ee304555112605ead196afe91052bd3c3d165efdf4e9d04d255e87de0d0a77acec11ef47fd5261251813f +"oniguruma-parser@npm:^0.12.2": + version: 0.12.2 + resolution: "oniguruma-parser@npm:0.12.2" + checksum: 10c0/fe5255d2cd5a6b845d5a0abe1725898ef40cea5522290dba6ccc08cc388891e9e8007af4baa5059942b786ad44b2b677ef25948039c9ba3f057bd35d2c52076a languageName: node linkType: hard -"open@npm:^8.0.9, open@npm:^8.4.0": - version: 8.4.2 - resolution: "open@npm:8.4.2" +"oniguruma-to-es@npm:^4.3.6": + version: 4.3.6 + resolution: "oniguruma-to-es@npm:4.3.6" dependencies: - define-lazy-prop: "npm:^2.0.0" - is-docker: "npm:^2.1.1" - is-wsl: "npm:^2.2.0" - checksum: 10c0/bb6b3a58401dacdb0aad14360626faf3fb7fba4b77816b373495988b724fb48941cad80c1b65d62bb31a17609b2cd91c41a181602caea597ca80dfbcc27e84c9 + oniguruma-parser: "npm:^0.12.2" + regex: "npm:^6.1.0" + regex-recursion: "npm:^6.0.2" + checksum: 10c0/044e08b98e706987c2882ccf228de2a671de4aff33e3bd370da137ba599c0d520549625ad26ecc8898502445c991e19f106f584e94382262ba2af02c908ca3cf languageName: node linkType: hard -"opener@npm:^1.5.2": - version: 1.5.2 - resolution: "opener@npm:1.5.2" - bin: - opener: bin/opener-bin.js - checksum: 10c0/dd56256ab0cf796585617bc28e06e058adf09211781e70b264c76a1dbe16e90f868c974e5bf5309c93469157c7d14b89c35dc53fe7293b0e40b4d2f92073bc79 +"open@npm:^7.0.3": + version: 7.4.2 + resolution: "open@npm:7.4.2" + dependencies: + is-docker: "npm:^2.0.0" + is-wsl: "npm:^2.1.1" + checksum: 10c0/77573a6a68f7364f3a19a4c80492712720746b63680ee304555112605ead196afe91052bd3c3d165efdf4e9d04d255e87de0d0a77acec11ef47fd5261251813f languageName: node linkType: hard @@ -18669,15 +17000,6 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^4.0.0": - version: 4.0.0 - resolution: "p-map@npm:4.0.0" - dependencies: - aggregate-error: "npm:^3.0.0" - checksum: 10c0/592c05bd6262c466ce269ff172bb8de7c6975afca9b50c975135b974e9bdaafbfe80e61aaaf5be6d1200ba08b30ead04b88cfa7e25ff1e3b93ab28c9f62a2c75 - languageName: node - linkType: hard - "p-map@npm:^7.0.2": version: 7.0.4 resolution: "p-map@npm:7.0.4" @@ -18685,16 +17007,6 @@ __metadata: languageName: node linkType: hard -"p-retry@npm:^4.5.0": - version: 4.6.2 - resolution: "p-retry@npm:4.6.2" - dependencies: - "@types/retry": "npm:0.12.0" - retry: "npm:^0.13.1" - checksum: 10c0/d58512f120f1590cfedb4c2e0c42cb3fa66f3cea8a4646632fcb834c56055bb7a6f138aa57b20cc236fb207c9d694e362e0b5c2b14d9b062f67e8925580c73b0 - languageName: node - linkType: hard - "p-try@npm:^1.0.0": version: 1.0.0 resolution: "p-try@npm:1.0.0" @@ -18730,16 +17042,6 @@ __metadata: languageName: node linkType: hard -"param-case@npm:^3.0.4": - version: 3.0.4 - resolution: "param-case@npm:3.0.4" - dependencies: - dot-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - checksum: 10c0/ccc053f3019f878eca10e70ec546d92f51a592f762917dafab11c8b532715dcff58356118a6f350976e4ab109e321756f05739643ed0ca94298e82291e6f9e76 - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -18777,6 +17079,21 @@ __metadata: languageName: node linkType: hard +"parse-entities@npm:^4.0.0": + version: 4.0.2 + resolution: "parse-entities@npm:4.0.2" + dependencies: + "@types/unist": "npm:^2.0.0" + character-entities-legacy: "npm:^3.0.0" + character-reference-invalid: "npm:^2.0.0" + decode-named-character-reference: "npm:^1.0.0" + is-alphanumerical: "npm:^2.0.0" + is-decimal: "npm:^2.0.0" + is-hexadecimal: "npm:^2.0.0" + checksum: 10c0/a13906b1151750b78ed83d386294066daf5fb559e08c5af9591b2d98cc209123103016a01df776f65f8219ad26652d6d6b210d0974d452049cddfc53a8916c34 + languageName: node + linkType: hard + "parse-json@npm:5.2.0, parse-json@npm:^5.0.0, parse-json@npm:^5.2.0": version: 5.2.0 resolution: "parse-json@npm:5.2.0" @@ -18799,13 +17116,6 @@ __metadata: languageName: node linkType: hard -"parse-numeric-range@npm:^1.3.0": - version: 1.3.0 - resolution: "parse-numeric-range@npm:1.3.0" - checksum: 10c0/53465afaa92111e86697281b684aa4574427360889cc23a1c215488c06b72441febdbf09f47ab0bef9a0c701e059629f3eebd2fe6fb241a254ad7a7a642aebe8 - languageName: node - linkType: hard - "parse-path@npm:^4.0.0": version: 4.0.4 resolution: "parse-path@npm:4.0.4" @@ -18846,25 +17156,6 @@ __metadata: languageName: node linkType: hard -"parse5-htmlparser2-tree-adapter@npm:^7.1.0": - version: 7.1.0 - resolution: "parse5-htmlparser2-tree-adapter@npm:7.1.0" - dependencies: - domhandler: "npm:^5.0.3" - parse5: "npm:^7.0.0" - checksum: 10c0/e5a4e0b834c84c9e244b5749f8d007f4baaeafac7a1da2c54be3421ffd9ef8fdec4f198bf55cda22e88e6ba95e9943f6ed5aa3ae5900b39972ebf5dc8c3f4722 - languageName: node - linkType: hard - -"parse5-parser-stream@npm:^7.1.2": - version: 7.1.2 - resolution: "parse5-parser-stream@npm:7.1.2" - dependencies: - parse5: "npm:^7.0.0" - checksum: 10c0/e236c61000d38ecad369e725a48506b051cebad8abb00e6d4e8bff7aa85c183820fcb45db1559cc90955bdbbdbd665ea94c41259594e74566fff411478dc7fcb - languageName: node - linkType: hard - "parse5@npm:^5.0.0": version: 5.1.1 resolution: "parse5@npm:5.1.1" @@ -18879,7 +17170,7 @@ __metadata: languageName: node linkType: hard -"parse5@npm:^7.0.0, parse5@npm:^7.3.0": +"parse5@npm:^7.0.0": version: 7.3.0 resolution: "parse5@npm:7.3.0" dependencies: @@ -18888,7 +17179,7 @@ __metadata: languageName: node linkType: hard -"parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": +"parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" checksum: 10c0/90dd4760d6f6174adb9f20cf0965ae12e23879b5f5464f38e92fce8073354341e4b3b76fa3d878351efe7d01e617121955284cfd002ab087fba1a0726ec0b4f5 @@ -18905,16 +17196,6 @@ __metadata: languageName: node linkType: hard -"pascal-case@npm:^3.1.2": - version: 3.1.2 - resolution: "pascal-case@npm:3.1.2" - dependencies: - no-case: "npm:^3.0.4" - tslib: "npm:^2.0.3" - checksum: 10c0/05ff7c344809fd272fc5030ae0ee3da8e4e63f36d47a1e0a4855ca59736254192c5a27b5822ed4bae96e54048eec5f6907713cfcfff7cdf7a464eaf7490786d8 - languageName: node - linkType: hard - "pascalcase@npm:^0.1.1": version: 0.1.1 resolution: "pascalcase@npm:0.1.1" @@ -18922,30 +17203,6 @@ __metadata: languageName: node linkType: hard -"patch-package@npm:^6.5.0": - version: 6.5.1 - resolution: "patch-package@npm:6.5.1" - dependencies: - "@yarnpkg/lockfile": "npm:^1.1.0" - chalk: "npm:^4.1.2" - cross-spawn: "npm:^6.0.5" - find-yarn-workspace-root: "npm:^2.0.0" - fs-extra: "npm:^9.0.0" - is-ci: "npm:^2.0.0" - klaw-sync: "npm:^6.0.0" - minimist: "npm:^1.2.6" - open: "npm:^7.4.2" - rimraf: "npm:^2.6.3" - semver: "npm:^5.6.0" - slash: "npm:^2.0.0" - tmp: "npm:^0.0.33" - yaml: "npm:^1.10.2" - bin: - patch-package: index.js - checksum: 10c0/0f74d6099b05431c88a60308bd9ec0b1f9d3ae436026f488cfe99476ae74e7a464be4a16a7c83c7b89c23764502c79d37227cf27b17c30b9b2e4d577f8aecedb - languageName: node - linkType: hard - "path-case@npm:^2.1.0": version: 2.1.1 resolution: "path-case@npm:2.1.1" @@ -18983,7 +17240,7 @@ __metadata: languageName: node linkType: hard -"path-is-inside@npm:1.0.2, path-is-inside@npm:^1.0.2": +"path-is-inside@npm:^1.0.2": version: 1.0.2 resolution: "path-is-inside@npm:1.0.2" checksum: 10c0/7fdd4b41672c70461cce734fc222b33e7b447fa489c7c4377c95e7e6852d83d69741f307d88ec0cc3b385b41cb4accc6efac3c7c511cd18512e95424f5fa980c @@ -19031,22 +17288,6 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:3.3.0": - version: 3.3.0 - resolution: "path-to-regexp@npm:3.3.0" - checksum: 10c0/ffa0ebe7088d38d435a8d08b0fe6e8c93ceb2a81a65d4dd1d9a538f52e09d5e3474ed5f553cb3b180d894b0caa10698a68737ab599fd1e56b4663d1a64c9f77b - languageName: node - linkType: hard - -"path-to-regexp@npm:^1.7.0": - version: 1.9.0 - resolution: "path-to-regexp@npm:1.9.0" - dependencies: - isarray: "npm:0.0.1" - checksum: 10c0/de9ddb01b84d9c2c8e2bed18630d8d039e2d6f60a6538595750fa08c7a6482512257464c8da50616f266ab2cdd2428387e85f3b089e4c3f25d0c537e898a0751 - languageName: node - linkType: hard - "path-to-regexp@npm:~0.1.12": version: 0.1.12 resolution: "path-to-regexp@npm:0.1.12" @@ -19093,14 +17334,14 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.0, picocolors@npm:^1.1.1": +"picocolors@npm:^1.1.1": version: 1.1.1 resolution: "picocolors@npm:1.1.1" checksum: 10c0/e2e3e8170ab9d7c7421969adaa7e1b31434f789afb9b3f115f6b96d91945041ac3ceb02e9ec6fe6510ff036bcc0bf91e69a1772edc0b707e12b19c0f2d6bcf58 languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": +"picomatch@npm:^2.0.4, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" checksum: 10c0/26c02b8d06f03206fc2ab8d16f19960f2ff9e81a658f831ecb656d8f17d9edc799e8364b1f4a7873e89d9702dff96204be0fa26fe4181f6843f040f819dac4be @@ -19174,15 +17415,6 @@ __metadata: languageName: node linkType: hard -"pkg-up@npm:^3.1.0": - version: 3.1.0 - resolution: "pkg-up@npm:3.1.0" - dependencies: - find-up: "npm:^3.0.0" - checksum: 10c0/ecb60e1f8e1f611c0bdf1a0b6a474d6dfb51185567dc6f29cdef37c8d480ecba5362e006606bb290519bbb6f49526c403fabea93c3090c20368d98bb90c999ab - languageName: node - linkType: hard - "plist@npm:^3.0.5, plist@npm:^3.1.0": version: 3.1.0 resolution: "plist@npm:3.1.0" @@ -19215,192 +17447,7 @@ __metadata: languageName: node linkType: hard -"postcss-calc@npm:^8.2.3": - version: 8.2.4 - resolution: "postcss-calc@npm:8.2.4" - dependencies: - postcss-selector-parser: "npm:^6.0.9" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.2 - checksum: 10c0/8518a429488c3283ff1560c83a511f6f772329bc61d88875eb7c83e13a8683b7ccbdccaa9946024cf1553da3eacd2f40fcbcebf1095f7fdeb432bf86bc6ba6ba - languageName: node - linkType: hard - -"postcss-colormin@npm:^5.3.1": - version: 5.3.1 - resolution: "postcss-colormin@npm:5.3.1" - dependencies: - browserslist: "npm:^4.21.4" - caniuse-api: "npm:^3.0.0" - colord: "npm:^2.9.1" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/c4ca6f335dd992dc8e3df24bffc3495c4e504eba8489c81cb6836fdce3203f423cf4c0b640c4b63c586f588c59d82adb5313c3c5d1a68113896d18ed71caa462 - languageName: node - linkType: hard - -"postcss-convert-values@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-convert-values@npm:5.1.3" - dependencies: - browserslist: "npm:^4.21.4" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/cd10a81781a12487b2921ff84a1a068e948a1956b9539a284c202abecf4cacdd3e106eb026026b22dbf70933f4315c824c111f6b71f56c355e47b842ca9b1dec - languageName: node - linkType: hard - -"postcss-discard-comments@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-discard-comments@npm:5.1.2" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/cb5ba81623c498e18d406138e7d27d69fc668802a1139a8de69d28e80b3fe222cda7b634940512cae78d04f0c78afcd15d92bcf80e537c6c85fa8ff9cd61d00f - languageName: node - linkType: hard - -"postcss-discard-duplicates@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-duplicates@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/3d3a49536c56097c06b4f085412e0cda0854fac1c559563ccb922d9fab6305ff13058cd6fee422aa66c1d7e466add4e7672d7ae2ff551a4af6f1a8d2142d471f - languageName: node - linkType: hard - -"postcss-discard-empty@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-discard-empty@npm:5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/36c8b2197af836dbd93168c72cde4edc1f10fe00e564824119da076d3764909745bb60e4ada04052322e26872d1bce6a37c56815f1c48c813a21adca1a41fbdc - languageName: node - linkType: hard - -"postcss-discard-overridden@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-overridden@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/7d3fc0b0d90599606fc083327a7c24390f90270a94a0119af4b74815d518948581579281f63b9bfa62e2644edf59bc9e725dc04ea5ba213f697804f3fb4dd8dc - languageName: node - linkType: hard - -"postcss-discard-unused@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-discard-unused@npm:5.1.0" - dependencies: - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/eb7649eae1ef9987c397f4f533eb83f4245686317a5a0b468affd875d4d22778b62134e638198750efbaa41b7b7767995a91e5eb58d5fbbfe097506a3311102b - languageName: node - linkType: hard - -"postcss-loader@npm:^7.0.0": - version: 7.3.4 - resolution: "postcss-loader@npm:7.3.4" - dependencies: - cosmiconfig: "npm:^8.3.5" - jiti: "npm:^1.20.0" - semver: "npm:^7.5.4" - peerDependencies: - postcss: ^7.0.0 || ^8.0.1 - webpack: ^5.0.0 - checksum: 10c0/1bf7614aeea9ad1f8ee6be3a5451576c059391688ea67f825aedc2674056369597faeae4e4a81fe10843884c9904a71403d9a54197e1f560e8fbb9e61f2a2680 - languageName: node - linkType: hard - -"postcss-merge-idents@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-merge-idents@npm:5.1.1" - dependencies: - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/97552b831330a8055641d3aea7b9840c60922d22d7fefdaf109daa7dee543e48a93ea6189a5549798b3f29e66657bc5c520e76493a04f8f999b94a2c8fee6060 - languageName: node - linkType: hard - -"postcss-merge-longhand@npm:^5.1.7": - version: 5.1.7 - resolution: "postcss-merge-longhand@npm:5.1.7" - dependencies: - postcss-value-parser: "npm:^4.2.0" - stylehacks: "npm:^5.1.1" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/4d9f44b03f19522cc81ae4f5b1f2a9ef2db918dbd8b3042d4f1b2461b2230b8ec1269334db6a67a863ba68f64cabd712e6e45340ddb22a3fc03cd34df69d2bf0 - languageName: node - linkType: hard - -"postcss-merge-rules@npm:^5.1.4": - version: 5.1.4 - resolution: "postcss-merge-rules@npm:5.1.4" - dependencies: - browserslist: "npm:^4.21.4" - caniuse-api: "npm:^3.0.0" - cssnano-utils: "npm:^3.1.0" - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/e7686cdda052071bf98810ad381e26145c43a2286f9540f04f97ef93101604b78d478dd555db91e5f73751bb353c283ba75c2fcb16a3751ac7d93dc6a0130c41 - languageName: node - linkType: hard - -"postcss-minify-font-values@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-minify-font-values@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/7aa4f93a853b657f79a8b28d0e924cafce3720086d9da02ce04b8b2f8de42e18ce32c8f7f1078390fb5ec82468e2d8e771614387cea3563f05fd9fa1798e1c59 - languageName: node - linkType: hard - -"postcss-minify-gradients@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-minify-gradients@npm:5.1.1" - dependencies: - colord: "npm:^2.9.1" - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/bcb2802d7c8f0f76c7cff089884844f26c24b95f35c3ec951d7dec8c212495d1873d6ba62d6225ce264570e8e0668e271f9bc79bb6f5d2429c1f8933f4e3021d - languageName: node - linkType: hard - -"postcss-minify-params@npm:^5.1.4": - version: 5.1.4 - resolution: "postcss-minify-params@npm:5.1.4" - dependencies: - browserslist: "npm:^4.21.4" - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/debce6f0f7dd9af69b4bb9e467ea1ccccff2d849b6020461a2b9741c0c137340e6076c245dc2e83880180eb2e82936280fa31dfe8608e5a2e3618f3d864314c5 - languageName: node - linkType: hard - -"postcss-minify-selectors@npm:^5.2.1": - version: 5.2.1 - resolution: "postcss-minify-selectors@npm:5.2.1" - dependencies: - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/f3f4ec110f5f697cfc9dde3e491ff10aa07509bf33cc940aa539e4b5b643d1b9f8bb97f8bb83d05fc96f5eeb220500ebdeffbde513bd176c0671e21c2c96fab9 - languageName: node - linkType: hard - -"postcss-modules-extract-imports@npm:^3.0.0, postcss-modules-extract-imports@npm:^3.1.0": +"postcss-modules-extract-imports@npm:^3.0.0": version: 3.1.0 resolution: "postcss-modules-extract-imports@npm:3.1.0" peerDependencies: @@ -19409,237 +17456,48 @@ __metadata: languageName: node linkType: hard -"postcss-modules-local-by-default@npm:^4.0.0, postcss-modules-local-by-default@npm:^4.0.5": +"postcss-modules-local-by-default@npm:^4.0.0": version: 4.2.0 resolution: "postcss-modules-local-by-default@npm:4.2.0" dependencies: - icss-utils: "npm:^5.0.0" - postcss-selector-parser: "npm:^7.0.0" - postcss-value-parser: "npm:^4.1.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10c0/b0b83feb2a4b61f5383979d37f23116c99bc146eba1741ca3cf1acca0e4d0dbf293ac1810a6ab4eccbe1ee76440dd0a9eb2db5b3bba4f99fc1b3ded16baa6358 - languageName: node - linkType: hard - -"postcss-modules-scope@npm:^3.0.0, postcss-modules-scope@npm:^3.2.0": - version: 3.2.1 - resolution: "postcss-modules-scope@npm:3.2.1" - dependencies: - postcss-selector-parser: "npm:^7.0.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10c0/bd2d81f79e3da0ef6365b8e2c78cc91469d05b58046b4601592cdeef6c4050ed8fe1478ae000a1608042fc7e692cb51fecbd2d9bce3f4eace4d32e883ffca10b - languageName: node - linkType: hard - -"postcss-modules-values@npm:^4.0.0": - version: 4.0.0 - resolution: "postcss-modules-values@npm:4.0.0" - dependencies: - icss-utils: "npm:^5.0.0" - peerDependencies: - postcss: ^8.1.0 - checksum: 10c0/dd18d7631b5619fb9921b198c86847a2a075f32e0c162e0428d2647685e318c487a2566cc8cc669fc2077ef38115cde7a068e321f46fb38be3ad49646b639dbc - languageName: node - linkType: hard - -"postcss-normalize-charset@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-charset@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/aa481584d4db48e0dbf820f992fa235e6c41ff3d4701a62d349f33c1ad4c5c7dcdea3096db9ff2a5c9497e9bed2186d594ccdb1b42d57b30f58affba5829ad9c - languageName: node - linkType: hard - -"postcss-normalize-display-values@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-display-values@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/70b164fda885c097c02c98914fba4cd19b2382ff5f85f77e5315d88a1d477b4803f0f271d95a38e044e2a6c3b781c5c9bfb83222fc577199f2aeb0b8f4254e2f - languageName: node - linkType: hard - -"postcss-normalize-positions@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-positions@npm:5.1.1" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/910d58991fd38a7cf6ed6471e6fa4a96349690ad1a99a02e8cac46d76ba5045f2fca453088b68b05ff665afd96dc617c4674c68acaeabbe83f502e4963fb78b1 - languageName: node - linkType: hard - -"postcss-normalize-repeat-style@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-repeat-style@npm:5.1.1" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/57c3817a2107ebb17e4ceee3831d230c72a3ccc7650f4d5f12aa54f6ea766777401f4f63b2615b721350b2e8c7ae0b0bbc3f1c5ad4e7fa737c9efb92cfa0cbb0 - languageName: node - linkType: hard - -"postcss-normalize-string@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-string@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/a5e9979998f478d385ddff865bdd8a4870af69fa8c91c9398572a299ff39b39a6bda922a48fab0d2cddc639f30159c39baaed880ed7d13cd27cc64eaa9400b3b - languageName: node - linkType: hard - -"postcss-normalize-timing-functions@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-timing-functions@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/afb34d8e313004ae8cd92910bf1a6eb9885f29ae803cd9032b6dfe7b67a9ad93f800976f10e55170b2b08fe9484825e9272629971186812c2764c73843268237 - languageName: node - linkType: hard - -"postcss-normalize-unicode@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-unicode@npm:5.1.1" - dependencies: - browserslist: "npm:^4.21.4" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/c102888d488d05c53ab10ffcd4e0efb892ef0cc2f9b0abe9c9b175a2d7a9c226981ca6806ed9e5c1b82a8190f2b3a8342a6de800f019b417130661b0787ff6d7 - languageName: node - linkType: hard - -"postcss-normalize-url@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-normalize-url@npm:5.1.0" - dependencies: - normalize-url: "npm:^6.0.1" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/a016cefd1ef80f74ef9dbed50593d3b533101e93aaadfc292896fddd8d6c3eb732a9fc5cb2e0d27f79c1f60f0fdfc40b045a494b514451e9610c6acf9392eb98 - languageName: node - linkType: hard - -"postcss-normalize-whitespace@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-normalize-whitespace@npm:5.1.1" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/d7b53dd90fe369bfb9838a40096db904a41f50dadfd04247ec07d7ab5588c3d4e70d1c7f930523bd061cb74e6683cef45c6e6c4eb57ea174ee3fc99f3de222d1 - languageName: node - linkType: hard - -"postcss-ordered-values@npm:^5.1.3": - version: 5.1.3 - resolution: "postcss-ordered-values@npm:5.1.3" - dependencies: - cssnano-utils: "npm:^3.1.0" - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/55abfbd2c7267eefed62a881ed0b5c0c98409c50a589526a3ebb9f8d879979203e523b8888fa84732bdd1ac887f721287a037002fa70c27c8d33f1bcbae9d9c6 - languageName: node - linkType: hard - -"postcss-reduce-idents@npm:^5.2.0": - version: 5.2.0 - resolution: "postcss-reduce-idents@npm:5.2.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/f7a6bc0caa531e7983c98a79d796e078ff8d02df1bb38357a5d7f11ddb5842d6777ab090fd811e889ab1a5e92ba2644c9a9e5e353f7c9f7ce85dbf1e07001c29 - languageName: node - linkType: hard - -"postcss-reduce-initial@npm:^5.1.2": - version: 5.1.2 - resolution: "postcss-reduce-initial@npm:5.1.2" - dependencies: - browserslist: "npm:^4.21.4" - caniuse-api: "npm:^3.0.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/ddb2ce61c8d0997184f08200eafdf32b3c67e88228fee960f5e2010c32da0c1d8ea07712585bf2b3aaa15f583066401d45db2c1131527c5116ca6794ebebd865 - languageName: node - linkType: hard - -"postcss-reduce-transforms@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-reduce-transforms@npm:5.1.0" - dependencies: - postcss-value-parser: "npm:^4.2.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/caefaeb78652ad8701b94e91500e38551255e4899fa298a7357519a36cbeebae088eab4535e00f17675a1230f448c4a7077045639d496da4614a46bc41df4add - languageName: node - linkType: hard - -"postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": - version: 6.1.2 - resolution: "postcss-selector-parser@npm:6.1.2" - dependencies: - cssesc: "npm:^3.0.0" - util-deprecate: "npm:^1.0.2" - checksum: 10c0/523196a6bd8cf660bdf537ad95abd79e546d54180f9afb165a4ab3e651ac705d0f8b8ce6b3164fb9e3279ce482c5f751a69eb2d3a1e8eb0fd5e82294fb3ef13e - languageName: node - linkType: hard - -"postcss-selector-parser@npm:^7.0.0": - version: 7.1.1 - resolution: "postcss-selector-parser@npm:7.1.1" - dependencies: - cssesc: "npm:^3.0.0" - util-deprecate: "npm:^1.0.2" - checksum: 10c0/02d3b1589ddcddceed4b583b098b95a7266dacd5135f041e5d913ebb48e874fd333a36e564cc9a2ec426a464cb18db11cb192ac76247aced5eba8c951bf59507 + icss-utils: "npm:^5.0.0" + postcss-selector-parser: "npm:^7.0.0" + postcss-value-parser: "npm:^4.1.0" + peerDependencies: + postcss: ^8.1.0 + checksum: 10c0/b0b83feb2a4b61f5383979d37f23116c99bc146eba1741ca3cf1acca0e4d0dbf293ac1810a6ab4eccbe1ee76440dd0a9eb2db5b3bba4f99fc1b3ded16baa6358 languageName: node linkType: hard -"postcss-sort-media-queries@npm:^4.2.1": - version: 4.4.1 - resolution: "postcss-sort-media-queries@npm:4.4.1" +"postcss-modules-scope@npm:^3.0.0": + version: 3.2.1 + resolution: "postcss-modules-scope@npm:3.2.1" dependencies: - sort-css-media-queries: "npm:2.1.0" + postcss-selector-parser: "npm:^7.0.0" peerDependencies: - postcss: ^8.4.16 - checksum: 10c0/8bbc604daee29dc3e1f5090df972599c3c0eb08b37650e16c134a040cc1357484a48bbe03dac2977d616be1d490cde2934226fa1e6f7e52f4f5e7bf8f57e98d6 + postcss: ^8.1.0 + checksum: 10c0/bd2d81f79e3da0ef6365b8e2c78cc91469d05b58046b4601592cdeef6c4050ed8fe1478ae000a1608042fc7e692cb51fecbd2d9bce3f4eace4d32e883ffca10b languageName: node linkType: hard -"postcss-svgo@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-svgo@npm:5.1.0" +"postcss-modules-values@npm:^4.0.0": + version: 4.0.0 + resolution: "postcss-modules-values@npm:4.0.0" dependencies: - postcss-value-parser: "npm:^4.2.0" - svgo: "npm:^2.7.0" + icss-utils: "npm:^5.0.0" peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/309634a587e38fef244648bc9cd1817e12144868d24f1173d87b1edc14a4a7fca614962b2cb9d93f4801e11bd8d676083986ad40ebab4438cb84731ce1571994 + postcss: ^8.1.0 + checksum: 10c0/dd18d7631b5619fb9921b198c86847a2a075f32e0c162e0428d2647685e318c487a2566cc8cc669fc2077ef38115cde7a068e321f46fb38be3ad49646b639dbc languageName: node linkType: hard -"postcss-unique-selectors@npm:^5.1.1": - version: 5.1.1 - resolution: "postcss-unique-selectors@npm:5.1.1" +"postcss-selector-parser@npm:^7.0.0": + version: 7.1.1 + resolution: "postcss-selector-parser@npm:7.1.1" dependencies: - postcss-selector-parser: "npm:^6.0.5" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/484f6409346d6244c134c5cdcd62f4f2751b269742f95222f13d8bac5fb224471ffe04e28a354670cbe0bdc2707778ead034fc1b801b473ffcbea5436807de30 + cssesc: "npm:^3.0.0" + util-deprecate: "npm:^1.0.2" + checksum: 10c0/02d3b1589ddcddceed4b583b098b95a7266dacd5135f041e5d913ebb48e874fd333a36e564cc9a2ec426a464cb18db11cb192ac76247aced5eba8c951bf59507 languageName: node linkType: hard @@ -19650,15 +17508,6 @@ __metadata: languageName: node linkType: hard -"postcss-zindex@npm:^5.1.0": - version: 5.1.0 - resolution: "postcss-zindex@npm:5.1.0" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/f739d3c0dec3875c770d6a101bc6ac1ccf545b0121e75b7fade911ad6ce454a2af87e6c3587c80a76a00f217e1761778f2083c2807eb78c17bfc53624b625ded - languageName: node - linkType: hard - "postcss@npm:^7.0.14, postcss@npm:^7.0.27": version: 7.0.39 resolution: "postcss@npm:7.0.39" @@ -19669,7 +17518,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.2.15, postcss@npm:^8.3.11, postcss@npm:^8.4.14, postcss@npm:^8.4.17, postcss@npm:^8.4.33": +"postcss@npm:^8.2.15": version: 8.5.6 resolution: "postcss@npm:8.5.6" dependencies: @@ -19755,16 +17604,6 @@ __metadata: languageName: node linkType: hard -"pretty-error@npm:^4.0.0": - version: 4.0.0 - resolution: "pretty-error@npm:4.0.0" - dependencies: - lodash: "npm:^4.17.20" - renderkid: "npm:^3.0.0" - checksum: 10c0/dc292c087e2857b2e7592784ab31e37a40f3fa918caa11eba51f9fb2853e1d4d6e820b219917e35f5721d833cfd20fdf4f26ae931a90fd1ad0cae2125c345138 - languageName: node - linkType: hard - "pretty-format@npm:30.4.1, pretty-format@npm:^30.4.1": version: 30.4.1 resolution: "pretty-format@npm:30.4.1" @@ -19800,29 +17639,6 @@ __metadata: languageName: node linkType: hard -"pretty-time@npm:^1.1.0": - version: 1.1.0 - resolution: "pretty-time@npm:1.1.0" - checksum: 10c0/ba9d7af19cd43838fb2b147654990949575e400dc2cc24bf71ec4a6c4033a38ba8172b1014b597680c6d4d3c075e94648b2c13a7206c5f0c90b711c7388726f3 - languageName: node - linkType: hard - -"prism-react-renderer@npm:^1.3.5": - version: 1.3.5 - resolution: "prism-react-renderer@npm:1.3.5" - peerDependencies: - react: ">=0.14.9" - checksum: 10c0/9caada97fa7325fc99484cff409a84ed947a061615851bd0aedf4fcfd4b3496e2eff4b252dbfd4465dd6ea7310134ed67d737cabf0c78b192969c3c7da383237 - languageName: node - linkType: hard - -"prismjs@npm:^1.28.0": - version: 1.30.0 - resolution: "prismjs@npm:1.30.0" - checksum: 10c0/f56205bfd58ef71ccfcbcb691fd0eb84adc96c6ff21b0b69fc6fdcf02be42d6ef972ba4aed60466310de3d67733f6a746f89f2fb79c00bf217406d465b3e8f23 - languageName: node - linkType: hard - "prismjs@npm:~1.27.0": version: 1.27.0 resolution: "prismjs@npm:1.27.0" @@ -19851,13 +17667,6 @@ __metadata: languageName: node linkType: hard -"process@npm:^0.11.10": - version: 0.11.10 - resolution: "process@npm:0.11.10" - checksum: 10c0/40c3ce4b7e6d4b8c3355479df77aeed46f81b279818ccdc500124e6a5ab882c0cc81ff7ea16384873a95a74c4570b01b120f287abbdd4c877931460eca6084b3 - languageName: node - linkType: hard - "progress@npm:^2.0.3": version: 2.0.3 resolution: "progress@npm:2.0.3" @@ -19903,7 +17712,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.5.10, prop-types@npm:^15.5.4, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.5.10, prop-types@npm:^15.5.4, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -19923,6 +17732,13 @@ __metadata: languageName: node linkType: hard +"property-information@npm:^7.0.0": + version: 7.2.0 + resolution: "property-information@npm:7.2.0" + checksum: 10c0/03662c8f9e1544510914c5e594ae72963f67d261027a5fdc06c4134742584fe40dd49b959470d30e757e9fb70b297d8546ab1362a040364144029926ad4e07c4 + languageName: node + linkType: hard + "protocols@npm:^1.4.0": version: 1.4.8 resolution: "protocols@npm:1.4.8" @@ -19978,7 +17794,7 @@ __metadata: languageName: node linkType: hard -"pupa@npm:^2.0.1, pupa@npm:^2.1.1": +"pupa@npm:^2.0.1": version: 2.1.1 resolution: "pupa@npm:2.1.1" dependencies: @@ -19987,13 +17803,6 @@ __metadata: languageName: node linkType: hard -"pure-color@npm:^1.2.0": - version: 1.3.0 - resolution: "pure-color@npm:1.3.0" - checksum: 10c0/50d0e088ad0349bdd508cddf7c7afbb2d14ba3c047628dbfcfddf467a98f10462caf91f3227172ada88f64afaf761c499ecba0d4053b06926f0f914769be24b9 - languageName: node - linkType: hard - "pure-rand@npm:^6.0.0": version: 6.1.0 resolution: "pure-rand@npm:6.1.0" @@ -20096,13 +17905,6 @@ __metadata: languageName: node linkType: hard -"range-parser@npm:1.2.0": - version: 1.2.0 - resolution: "range-parser@npm:1.2.0" - checksum: 10c0/c7aef4f6588eb974c475649c157f197d07437d8c6c8ff7e36280a141463fb5ab7a45918417334ebd7b665c6b8321cf31c763f7631dd5f5db9372249261b8b02a - languageName: node - linkType: hard - "range-parser@npm:^1.2.1, range-parser@npm:~1.2.1": version: 1.2.1 resolution: "range-parser@npm:1.2.1" @@ -20136,18 +17938,6 @@ __metadata: languageName: node linkType: hard -"react-base16-styling@npm:^0.6.0": - version: 0.6.0 - resolution: "react-base16-styling@npm:0.6.0" - dependencies: - base16: "npm:^1.0.0" - lodash.curry: "npm:^4.0.1" - lodash.flow: "npm:^3.3.0" - pure-color: "npm:^1.2.0" - checksum: 10c0/4887ac57b36fedc7e1ebc99ae431c5feb07d60a9150770d0ca3a59f4ae7059434ea8813ca4f915e7434d4d8d8529b9ba072ceb85041fd52ca1cd6289c57c9621 - languageName: node - linkType: hard - "react-color@npm:^2.19.3": version: 2.19.3 resolution: "react-color@npm:2.19.3" @@ -20165,38 +17955,6 @@ __metadata: languageName: node linkType: hard -"react-dev-utils@npm:^12.0.1": - version: 12.0.1 - resolution: "react-dev-utils@npm:12.0.1" - dependencies: - "@babel/code-frame": "npm:^7.16.0" - address: "npm:^1.1.2" - browserslist: "npm:^4.18.1" - chalk: "npm:^4.1.2" - cross-spawn: "npm:^7.0.3" - detect-port-alt: "npm:^1.1.6" - escape-string-regexp: "npm:^4.0.0" - filesize: "npm:^8.0.6" - find-up: "npm:^5.0.0" - fork-ts-checker-webpack-plugin: "npm:^6.5.0" - global-modules: "npm:^2.0.0" - globby: "npm:^11.0.4" - gzip-size: "npm:^6.0.0" - immer: "npm:^9.0.7" - is-root: "npm:^2.1.0" - loader-utils: "npm:^3.2.0" - open: "npm:^8.4.0" - pkg-up: "npm:^3.1.0" - prompts: "npm:^2.4.2" - react-error-overlay: "npm:^6.0.11" - recursive-readdir: "npm:^2.2.2" - shell-quote: "npm:^1.7.3" - strip-ansi: "npm:^6.0.1" - text-table: "npm:^0.2.0" - checksum: 10c0/94bc4ee5014290ca47a025e53ab2205c5dc0299670724d46a0b1bacbdd48904827b5ae410842d0a3a92481509097ae032e4a9dc7ca70db437c726eaba6411e82 - languageName: node - linkType: hard - "react-devtools-core@npm:^6.1.5": version: 6.1.5 resolution: "react-devtools-core@npm:6.1.5" @@ -20227,19 +17985,6 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:17.0.2, react-dom@npm:~17.0.1": - version: 17.0.2 - resolution: "react-dom@npm:17.0.2" - dependencies: - loose-envify: "npm:^1.1.0" - object-assign: "npm:^4.1.1" - scheduler: "npm:^0.20.2" - peerDependencies: - react: 17.0.2 - checksum: 10c0/51abbcb72450fe527ebf978c3bc989ba266630faaa53f47a2fae5392369729e8de62b2e4683598cbe651ea7873cd34ec7d5127e2f50bf4bfe6bd0c3ad9bddcb0 - languageName: node - linkType: hard - "react-dom@npm:19.2.3": version: 19.2.3 resolution: "react-dom@npm:19.2.3" @@ -20251,55 +17996,47 @@ __metadata: languageName: node linkType: hard -"react-error-overlay@npm:^6.0.11": - version: 6.1.0 - resolution: "react-error-overlay@npm:6.1.0" - checksum: 10c0/2b52308b9e489dfaa25df85c7ed5c200371bc214245161a0833b729f9c6b1a2e591e1d1e07c3d3859ffa19b84a386c219d93df9ba13d819be34c20f40e71a555 - languageName: node - linkType: hard - -"react-fast-compare@npm:^3.2.0, react-fast-compare@npm:^3.2.2": - version: 3.2.2 - resolution: "react-fast-compare@npm:3.2.2" - checksum: 10c0/0bbd2f3eb41ab2ff7380daaa55105db698d965c396df73e6874831dbafec8c4b5b08ba36ff09df01526caa3c61595247e3269558c284e37646241cba2b90a367 +"react-dom@npm:19.2.6": + version: 19.2.6 + resolution: "react-dom@npm:19.2.6" + dependencies: + scheduler: "npm:^0.27.0" + peerDependencies: + react: ^19.2.6 + checksum: 10c0/dbf2aef67857c03a612bc9316a4562e5066f43fa04bf28f7f0734963fc1350da2c9f8eb973930655453281079f30cc8222bab383dbec4b5097084e2c081e3334 languageName: node linkType: hard -"react-freeze@npm:^1.0.0": - version: 1.0.4 - resolution: "react-freeze@npm:1.0.4" +"react-dom@npm:^19.2.6": + version: 19.2.7 + resolution: "react-dom@npm:19.2.7" + dependencies: + scheduler: "npm:^0.27.0" peerDependencies: - react: ">=17.0.0" - checksum: 10c0/8f51257c261bfefff86f618e958683536248f708019632d309ee5ebdd52f25d3c130660d06fb6f0f4fdef79f00f8ec7177233a872c2321f7d46b7e77ccc522a1 + react: ^19.2.7 + checksum: 10c0/970ff600f6e80d47d39e2f226f12f226173b3cba3382efc97c5f0cd663de9af38c7a4c11c213fb936094faeac83060d660247accaa96b752180d5b951b9cfecb languageName: node linkType: hard -"react-helmet-async@npm:*": - version: 2.0.5 - resolution: "react-helmet-async@npm:2.0.5" +"react-dom@npm:~17.0.1": + version: 17.0.2 + resolution: "react-dom@npm:17.0.2" dependencies: - invariant: "npm:^2.2.4" - react-fast-compare: "npm:^3.2.2" - shallowequal: "npm:^1.1.0" + loose-envify: "npm:^1.1.0" + object-assign: "npm:^4.1.1" + scheduler: "npm:^0.20.2" peerDependencies: - react: ^16.6.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/f390ea8bf13c2681850e5f8eb5b73d8613f407c245a5fd23e9db9b2cc14a3700dd1ce992d3966632886d1d613083294c2aeee009193f49dfa7d145d9f13ea2b0 + react: 17.0.2 + checksum: 10c0/51abbcb72450fe527ebf978c3bc989ba266630faaa53f47a2fae5392369729e8de62b2e4683598cbe651ea7873cd34ec7d5127e2f50bf4bfe6bd0c3ad9bddcb0 languageName: node linkType: hard -"react-helmet-async@npm:^1.3.0": - version: 1.3.0 - resolution: "react-helmet-async@npm:1.3.0" - dependencies: - "@babel/runtime": "npm:^7.12.5" - invariant: "npm:^2.2.4" - prop-types: "npm:^15.7.2" - react-fast-compare: "npm:^3.2.0" - shallowequal: "npm:^1.1.0" +"react-freeze@npm:^1.0.0": + version: 1.0.4 + resolution: "react-freeze@npm:1.0.4" peerDependencies: - react: ^16.6.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.6.0 || ^17.0.0 || ^18.0.0 - checksum: 10c0/8f3e6d26beff61d2ed18f7b41561df3e4d83a7582914c7196aa65158c7f3cce939276547d7a0b8987952d9d44131406df74efba02d1f8fa8a3940b49e6ced70b + react: ">=17.0.0" + checksum: 10c0/8f51257c261bfefff86f618e958683536248f708019632d309ee5ebdd52f25d3c130660d06fb6f0f4fdef79f00f8ec7177233a872c2321f7d46b7e77ccc522a1 languageName: node linkType: hard @@ -20317,7 +18054,7 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^16.13.1, react-is@npm:^16.6.0, react-is@npm:^16.7.0, react-is@npm:^16.8.3, react-is@npm:^16.8.4": +"react-is@npm:^16.13.1, react-is@npm:^16.7.0, react-is@npm:^16.8.3, react-is@npm:^16.8.4": version: 16.13.1 resolution: "react-is@npm:16.13.1" checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1 @@ -20331,37 +18068,10 @@ __metadata: languageName: node linkType: hard -"react-json-view@npm:^1.21.3": - version: 1.21.3 - resolution: "react-json-view@npm:1.21.3" - dependencies: - flux: "npm:^4.0.1" - react-base16-styling: "npm:^0.6.0" - react-lifecycles-compat: "npm:^3.0.4" - react-textarea-autosize: "npm:^8.3.2" - peerDependencies: - react: ^17.0.0 || ^16.3.0 || ^15.5.4 - react-dom: ^17.0.0 || ^16.3.0 || ^15.5.4 - checksum: 10c0/f41b38e599f148cf922f60390e56bb821f17a091373b08310fd82ebc526428683011751aa023687041481a46b20aeb1c47f660979d43db77674486aec9dc1d3f - languageName: node - linkType: hard - -"react-lifecycles-compat@npm:^3.0.4": - version: 3.0.4 - resolution: "react-lifecycles-compat@npm:3.0.4" - checksum: 10c0/1d0df3c85af79df720524780f00c064d53a9dd1899d785eddb7264b378026979acbddb58a4b7e06e7d0d12aa1494fd5754562ee55d32907b15601068dae82c27 - languageName: node - linkType: hard - -"react-loadable-ssr-addon-v5-slorber@npm:^1.0.1": - version: 1.0.1 - resolution: "react-loadable-ssr-addon-v5-slorber@npm:1.0.1" - dependencies: - "@babel/runtime": "npm:^7.10.3" - peerDependencies: - react-loadable: "*" - webpack: ">=4.41.1 || 5.x" - checksum: 10c0/7b0645f66adec56646f985ba8094c66a1c0a4627d96ad80eea32431d773ef1f79aa47d3247a8f21db3b064a0c6091653c5b5d3483b7046722eb64e55bffe635c +"react-lazy-with-preload@npm:^2.2.1": + version: 2.2.1 + resolution: "react-lazy-with-preload@npm:2.2.1" + checksum: 10c0/57c36baedc24a2c8fa148681dc7c5123ac183542964063b4a0433856a06d4edead27deb893012a43f75905af51a479b4409e688b97be3ef70cffff926954f6d2 languageName: node linkType: hard @@ -20573,16 +18283,6 @@ __metadata: languageName: node linkType: hard -"react-native-safe-area-context@npm:^4.5.0": - version: 4.14.1 - resolution: "react-native-safe-area-context@npm:4.14.1" - peerDependencies: - react: "*" - react-native: "*" - checksum: 10c0/c34c6fe9002a89c80ddb206fc68db99f1e432e19c7cf5aaa93b430584051b7e7caf889093224029437dc5b66fe434b09e9950d755aa40b58e1e3a1f976c2fec1 - languageName: node - linkType: hard - "react-native-screens@npm:4.25.1": version: 4.25.1 resolution: "react-native-screens@npm:4.25.1" @@ -20596,25 +18296,7 @@ __metadata: languageName: node linkType: hard -"react-native-web@npm:^0.18.12": - version: 0.18.12 - resolution: "react-native-web@npm:0.18.12" - dependencies: - "@babel/runtime": "npm:^7.18.6" - create-react-class: "npm:^15.7.0" - fbjs: "npm:^3.0.4" - inline-style-prefixer: "npm:^6.0.1" - normalize-css-color: "npm:^1.0.2" - postcss-value-parser: "npm:^4.2.0" - styleq: "npm:^0.1.2" - peerDependencies: - react: ^17.0.2 || ^18.0.0 - react-dom: ^17.0.2 || ^18.0.0 - checksum: 10c0/845bbe1061e0c80cc998a75345ca4ebee4972fb39c8344fb96faec1c8961c38c015df047d9c3a7ebab2f74151aba9fe930b0da49c55b710549ba93bf577a1696 - languageName: node - linkType: hard - -"react-native-web@npm:^0.21.0": +"react-native-web@npm:^0.21.0, react-native-web@npm:^0.21.2": version: 0.21.2 resolution: "react-native-web@npm:0.21.2" dependencies: @@ -20708,7 +18390,7 @@ __metadata: languageName: node linkType: hard -"react-reconciler@npm:~0.33.0": +"react-reconciler@npm:0.33.0, react-reconciler@npm:~0.33.0": version: 0.33.0 resolution: "react-reconciler@npm:0.33.0" dependencies: @@ -20726,68 +18408,74 @@ __metadata: languageName: node linkType: hard -"react-router-config@npm:^5.1.1": - version: 5.1.1 - resolution: "react-router-config@npm:5.1.1" - dependencies: - "@babel/runtime": "npm:^7.1.2" - peerDependencies: - react: ">=15" - react-router: ">=5" - checksum: 10c0/1f8f4e55ca68b7b012293e663eb0ee4d670a3df929b78928f713ef98cd9d62c7f5c30a098d6668e64bbb11c7d6bb24e9e6b9c985a8b82465a1858dc7ba663f2b +"react-refresh@npm:^0.18.0": + version: 0.18.0 + resolution: "react-refresh@npm:0.18.0" + checksum: 10c0/34a262f7fd803433a534f50deb27a148112a81adcae440c7d1cbae7ef14d21ea8f2b3d783e858cb7698968183b77755a38b4d4b5b1d79b4f4689c2f6d358fff2 languageName: node linkType: hard -"react-router-dom@npm:^5.3.3": - version: 5.3.4 - resolution: "react-router-dom@npm:5.3.4" +"react-render-to-markdown@npm:19.1.0": + version: 19.1.0 + resolution: "react-render-to-markdown@npm:19.1.0" dependencies: - "@babel/runtime": "npm:^7.12.13" - history: "npm:^4.9.0" - loose-envify: "npm:^1.3.1" - prop-types: "npm:^15.6.2" - react-router: "npm:5.3.4" - tiny-invariant: "npm:^1.0.2" - tiny-warning: "npm:^1.0.0" + react-reconciler: "npm:0.33.0" peerDependencies: - react: ">=15" - checksum: 10c0/f04f727e2ed2e9d1d3830af02cc61690ff67b1524c0d18690582bfba0f4d14142ccc88fb6da6befad644fddf086f5ae4c2eb7048c67da8a0b0929c19426421b0 + react: ">=19" + checksum: 10c0/f24f733f20ddeaa43c3564b5e8fd60ffa851c026d5b5469569503b5fbef43da44d959d2ffdf64d0c11b2b26db673df0d7484d701775946c10d8996787d722d22 languageName: node linkType: hard -"react-router@npm:5.3.4, react-router@npm:^5.3.3": - version: 5.3.4 - resolution: "react-router@npm:5.3.4" +"react-router-dom@npm:^7.15.1": + version: 7.17.0 + resolution: "react-router-dom@npm:7.17.0" dependencies: - "@babel/runtime": "npm:^7.12.13" - history: "npm:^4.9.0" - hoist-non-react-statics: "npm:^3.1.0" - loose-envify: "npm:^1.3.1" - path-to-regexp: "npm:^1.7.0" - prop-types: "npm:^15.6.2" - react-is: "npm:^16.6.0" - tiny-invariant: "npm:^1.0.2" - tiny-warning: "npm:^1.0.0" + react-router: "npm:7.17.0" peerDependencies: - react: ">=15" - checksum: 10c0/e15c00dfef199249b4c6e6d98e5e76cc352ce66f3270f13df37cc069ddf7c05e43281e8c308fc407e4435d72924373baef1d2890e0f6b0b1eb423cf47315a053 + react: ">=18" + react-dom: ">=18" + checksum: 10c0/60fc4022bccf2fb17b0d8ae8e7c4bda866ca9bf2d45edf0bcbefc854e97fa8971a589b6b77b984a19abecb718faffde357c829d9a22a7913790d608cc7433714 languageName: node linkType: hard -"react-textarea-autosize@npm:^8.3.2": - version: 8.5.9 - resolution: "react-textarea-autosize@npm:8.5.9" +"react-router@npm:7.17.0": + version: 7.17.0 + resolution: "react-router@npm:7.17.0" dependencies: - "@babel/runtime": "npm:^7.20.13" - use-composed-ref: "npm:^1.3.0" - use-latest: "npm:^1.2.1" + cookie: "npm:^1.0.1" + set-cookie-parser: "npm:^2.6.0" peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - checksum: 10c0/3a924db59259a6e3b834dcddc12a8661b43dcdaa1b43c41c732e0548bb2761e9a53dbc6db4e0d9e237728b4869e42c25e5417408b0391aec290c90874733a09f + react: ">=18" + react-dom: ">=18" + peerDependenciesMeta: + react-dom: + optional: true + checksum: 10c0/dfa9b0182edba6fab14ef5ac297b292068e71e05bf7e07c6b45fe073d77002089e8e164542364232a8bbb0c7d3ec47b57b78db3984c4383e12308f2d31ad404a + languageName: node + linkType: hard + +"react@npm:19.2.3": + version: 19.2.3 + resolution: "react@npm:19.2.3" + checksum: 10c0/094220b3ba3a76c1b668f972ace1dd15509b157aead1b40391d1c8e657e720c201d9719537375eff08f5e0514748c0319063392a6f000e31303aafc4471f1436 + languageName: node + linkType: hard + +"react@npm:19.2.6": + version: 19.2.6 + resolution: "react@npm:19.2.6" + checksum: 10c0/66afde33b9a9ee87b1e1cae39d8e7e040d1262e719524fd70660c4d4ce79929c532ac19fc3df5a911edaf02768fdf2c49de4ede1ba99bc6aad72796e0e26e798 + languageName: node + linkType: hard + +"react@npm:^19.2.6": + version: 19.2.7 + resolution: "react@npm:19.2.7" + checksum: 10c0/0bd0e2f1bbd4ba97561c6597bf8a5fec05e6476fe61e165c1065598d16668efc6715205599c94d3ddd49d36cb0f21cbf1b9bcc18ee840b805ce222c3e8d558ac languageName: node linkType: hard -"react@npm:17.0.2, react@npm:~17.0.1": +"react@npm:~17.0.1": version: 17.0.2 resolution: "react@npm:17.0.2" dependencies: @@ -20797,13 +18485,6 @@ __metadata: languageName: node linkType: hard -"react@npm:19.2.3": - version: 19.2.3 - resolution: "react@npm:19.2.3" - checksum: 10c0/094220b3ba3a76c1b668f972ace1dd15509b157aead1b40391d1c8e657e720c201d9719537375eff08f5e0514748c0319063392a6f000e31303aafc4471f1436 - languageName: node - linkType: hard - "reactcss@npm:^1.2.0": version: 1.2.3 resolution: "reactcss@npm:1.2.3" @@ -20857,7 +18538,7 @@ __metadata: languageName: node linkType: hard -"readable-stream@npm:3, readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.0.6, readable-stream@npm:^3.4.0": +"readable-stream@npm:3, readable-stream@npm:^3.0.0, readable-stream@npm:^3.0.2, readable-stream@npm:^3.4.0": version: 3.6.2 resolution: "readable-stream@npm:3.6.2" dependencies: @@ -20883,22 +18564,6 @@ __metadata: languageName: node linkType: hard -"readdirp@npm:~3.6.0": - version: 3.6.0 - resolution: "readdirp@npm:3.6.0" - dependencies: - picomatch: "npm:^2.2.1" - checksum: 10c0/6fa848cf63d1b82ab4e985f4cf72bd55b7dcfd8e0a376905804e48c3634b7e749170940ba77b32804d5fe93b3cc521aa95a8d7e7d725f830da6d93f3669ce66b - languageName: node - linkType: hard - -"reading-time@npm:^1.5.0": - version: 1.5.0 - resolution: "reading-time@npm:1.5.0" - checksum: 10c0/0f730852fd4fb99e5f78c5b0cf36ab8c3fa15db96f87d9563843f6fd07a47864273ade539ebb184b785b728cde81a70283aa2d9b80cba5ca03b81868be03cabc - languageName: node - linkType: hard - "recast@npm:^0.20.4": version: 0.20.5 resolution: "recast@npm:0.20.5" @@ -20920,12 +18585,53 @@ __metadata: languageName: node linkType: hard -"recursive-readdir@npm:^2.2.2": - version: 2.2.3 - resolution: "recursive-readdir@npm:2.2.3" +"recma-build-jsx@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-build-jsx@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + estree-util-build-jsx: "npm:^3.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/ca30f5163887b44c74682355da2625f7b49f33267699d22247913e513e043650cbdd6a7497cf13c60f09ad9e7bc2bd35bd20853672773c19188569814b56bb04 + languageName: node + linkType: hard + +"recma-jsx@npm:^1.0.0": + version: 1.0.1 + resolution: "recma-jsx@npm:1.0.1" + dependencies: + acorn-jsx: "npm:^5.0.0" + estree-util-to-js: "npm:^2.0.0" + recma-parse: "npm:^1.0.0" + recma-stringify: "npm:^1.0.0" + unified: "npm:^11.0.0" + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 10c0/9921b1270581ff133b94678868e665ba0fb6285ee60a6936106bac4899196c2ffb02dde894d9bc088fbf3deacb3e2426a3452e72066bf1203cbefebd7809d93f + languageName: node + linkType: hard + +"recma-parse@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-parse@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + esast-util-from-js: "npm:^2.0.0" + unified: "npm:^11.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/37c0990859a562d082e02d475ca5f4c8ef0840d285270f6699fe888cbb06260f97eb098585eda4aae416182c207fd19cf05e4f0b2dcf55cbf81dde4406d95545 + languageName: node + linkType: hard + +"recma-stringify@npm:^1.0.0": + version: 1.0.0 + resolution: "recma-stringify@npm:1.0.0" dependencies: - minimatch: "npm:^3.0.5" - checksum: 10c0/d0238f137b03af9cd645e1e0b40ae78b6cda13846e3ca57f626fcb58a66c79ae018a10e926b13b3a460f1285acc946a4e512ea8daa2e35df4b76a105709930d1 + "@types/estree": "npm:^1.0.0" + estree-util-to-js: "npm:^2.0.0" + unified: "npm:^11.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/c2ed4c0e8cf8a09aedcd47c5d016d47f6e1ff6c2d4b220e2abaf1b77713bf404756af2ea3ea7999aec5862e8825aff035edceb370c7fd8603a7e9da03bd6987e languageName: node linkType: hard @@ -21038,6 +18744,31 @@ __metadata: languageName: node linkType: hard +"regex-recursion@npm:^6.0.2": + version: 6.0.2 + resolution: "regex-recursion@npm:6.0.2" + dependencies: + regex-utilities: "npm:^2.3.0" + checksum: 10c0/68e8b6889680e904b75d7f26edaf70a1a4dc1087406bff53face4c2929d918fd77c72223843fe816ac8ed9964f96b4160650e8d5909e26a998c6e9de324dadb1 + languageName: node + linkType: hard + +"regex-utilities@npm:^2.3.0": + version: 2.3.0 + resolution: "regex-utilities@npm:2.3.0" + checksum: 10c0/78c550a80a0af75223244fff006743922591bd8f61d91fef7c86b9b56cf9bbf8ee5d7adb6d8991b5e304c57c90103fc4818cf1e357b11c6c669b782839bd7893 + languageName: node + linkType: hard + +"regex@npm:^6.1.0": + version: 6.1.0 + resolution: "regex@npm:6.1.0" + dependencies: + regex-utilities: "npm:^2.3.0" + checksum: 10c0/6e0ee2a1c17d5a66dc1120dfc51899dedf6677857e83a0df4d5a822ebb8645a54a079772efc1ade382b67aad35e4e22b5bd2d33c05ed28b0e000f8f57eb0aec1 + languageName: node + linkType: hard + "regexp.prototype.flags@npm:^1.5.3, regexp.prototype.flags@npm:^1.5.4": version: 1.5.4 resolution: "regexp.prototype.flags@npm:1.5.4" @@ -21102,6 +18833,20 @@ __metadata: languageName: node linkType: hard +"rehype-external-links@npm:^3.0.0": + version: 3.0.0 + resolution: "rehype-external-links@npm:3.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + "@ungap/structured-clone": "npm:^1.0.0" + hast-util-is-element: "npm:^3.0.0" + is-absolute-url: "npm:^4.0.0" + space-separated-tokens: "npm:^2.0.0" + unist-util-visit: "npm:^5.0.0" + checksum: 10c0/486b5db73d8fe72611d62b4eb0b56ec71025ea32bba764ad54473f714ca627be75e057ac29243763f85a77c3810f31727ce3e03c975b3803c1c98643d038e9ae + languageName: node + linkType: hard + "rehype-parse@npm:^7.0.0": version: 7.0.1 resolution: "rehype-parse@npm:7.0.1" @@ -21112,6 +18857,28 @@ __metadata: languageName: node linkType: hard +"rehype-raw@npm:^7.0.0": + version: 7.0.0 + resolution: "rehype-raw@npm:7.0.0" + dependencies: + "@types/hast": "npm:^3.0.0" + hast-util-raw: "npm:^9.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/1435b4b6640a5bc3abe3b2133885c4dbff5ef2190ef9cfe09d6a63f74dd7d7ffd0cede70603278560ccf1acbfb9da9faae4b68065a28bc5aa88ad18e40f32d52 + languageName: node + linkType: hard + +"rehype-recma@npm:^1.0.0": + version: 1.0.0 + resolution: "rehype-recma@npm:1.0.0" + dependencies: + "@types/estree": "npm:^1.0.0" + "@types/hast": "npm:^3.0.0" + hast-util-to-estree: "npm:^3.0.0" + checksum: 10c0/be60d7433a7f788a14f41da3e93ba9d9272c908ddef47757026cc4bbcc912f6301d56810349adf876d294a8d048626a0dbf6988aaa574afbfc29eac1ddc1eb74 + languageName: node + linkType: hard + "rehype-stringify@npm:^8.0.0": version: 8.0.0 resolution: "rehype-stringify@npm:8.0.0" @@ -21132,13 +18899,6 @@ __metadata: languageName: node linkType: hard -"relateurl@npm:^0.2.7": - version: 0.2.7 - resolution: "relateurl@npm:0.2.7" - checksum: 10c0/c248b4e3b32474f116a804b537fa6343d731b80056fb506dffd91e737eef4cac6be47a65aae39b522b0db9d0b1011d1a12e288d82a109ecd94a5299d82f6573a - languageName: node - linkType: hard - "release-it@npm:^13.4.0, release-it@npm:^13.5.6": version: 13.7.2 resolution: "release-it@npm:13.7.2" @@ -21180,61 +18940,71 @@ __metadata: languageName: node linkType: hard -"remark-emoji@npm:^2.2.0": - version: 2.2.0 - resolution: "remark-emoji@npm:2.2.0" +"remark-cjk-friendly-gfm-strikethrough@npm:^2.0.1": + version: 2.1.0 + resolution: "remark-cjk-friendly-gfm-strikethrough@npm:2.1.0" dependencies: - emoticon: "npm:^3.2.0" - node-emoji: "npm:^1.10.0" - unist-util-visit: "npm:^2.0.3" - checksum: 10c0/f7b98c7879ebf289e277e8a2a5f6c75da6a0447efde56a347ad6bb67084da6de8605b3ae9eb9244f02ef0c47755e2c5288222ef12a93c2ba1dec3ba02b0342f5 + mdast-util-to-markdown-cjk-friendly-gfm-strikethrough: "npm:1.0.0" + micromark-extension-cjk-friendly-gfm-strikethrough: "npm:2.0.1" + peerDependencies: + "@types/mdast": ^4.0.0 + unified: ^11.0.0 + peerDependenciesMeta: + "@types/mdast": + optional: true + checksum: 10c0/57d0df3428d53bfbaaffb9ea02a7a47eb073841f13a952f9ce228685d56211749c8a9b10ee6e4b060ae1ed671a4eb4eb715f7877fce64cc7dc3b1f27c324ccd6 + languageName: node + linkType: hard + +"remark-cjk-friendly@npm:^2.0.1": + version: 2.1.0 + resolution: "remark-cjk-friendly@npm:2.1.0" + dependencies: + mdast-util-to-markdown-cjk-friendly: "npm:1.0.0" + micromark-extension-cjk-friendly: "npm:2.0.1" + peerDependencies: + "@types/mdast": ^4.0.0 + unified: ^11.0.0 + peerDependenciesMeta: + "@types/mdast": + optional: true + checksum: 10c0/2dcab78899e56674c459cc2bbd1e208f7d4b45abd3ffd29aa71238c8fa536d453121abb7132b4ee22f1157a75e799be317dcff2d0d224a1c5f0d24b3f52d816d languageName: node linkType: hard -"remark-footnotes@npm:2.0.0": - version: 2.0.0 - resolution: "remark-footnotes@npm:2.0.0" - checksum: 10c0/45b55b3440b74bfeed11fba5ed6b31f2fd35ab4e9ba169061b76a19f5ff4d16d851c9f3c423c7fa54eb0fa5e6043b89098cb9478e9b5b417cf4bdef5571b0236 +"remark-gfm@npm:^4.0.1": + version: 4.0.1 + resolution: "remark-gfm@npm:4.0.1" + dependencies: + "@types/mdast": "npm:^4.0.0" + mdast-util-gfm: "npm:^3.0.0" + micromark-extension-gfm: "npm:^3.0.0" + remark-parse: "npm:^11.0.0" + remark-stringify: "npm:^11.0.0" + unified: "npm:^11.0.0" + checksum: 10c0/427ecc6af3e76222662061a5f670a3e4e33ec5fffe2cabf04034da6a3f9a1bda1fc023e838a636385ba314e66e2bebbf017ca61ebea357eb0f5200fe0625a4b7 languageName: node linkType: hard -"remark-mdx@npm:1.6.22": - version: 1.6.22 - resolution: "remark-mdx@npm:1.6.22" +"remark-mdx@npm:^3.0.0, remark-mdx@npm:^3.1.1": + version: 3.1.1 + resolution: "remark-mdx@npm:3.1.1" dependencies: - "@babel/core": "npm:7.12.9" - "@babel/helper-plugin-utils": "npm:7.10.4" - "@babel/plugin-proposal-object-rest-spread": "npm:7.12.1" - "@babel/plugin-syntax-jsx": "npm:7.12.1" - "@mdx-js/util": "npm:1.6.22" - is-alphabetical: "npm:1.0.4" - remark-parse: "npm:8.0.3" - unified: "npm:9.2.0" - checksum: 10c0/3a964048e58cba7848d59fc920baa330a9b7f619fedb44d4d7985d84875eba8d92e0d0dd0617e28326c6086e21ef441664748526a2517a42555d44c648453b0a + mdast-util-mdx: "npm:^3.0.0" + micromark-extension-mdxjs: "npm:^3.0.0" + checksum: 10c0/3e5585d4c2448d8ac7548b1d148f04b89251ff47fbfc80be1428cecec2fc2530abe30a5da53bb031283f8a78933259df6120c1cd4cc7cc1d43978d508798ba88 languageName: node linkType: hard -"remark-parse@npm:8.0.3": - version: 8.0.3 - resolution: "remark-parse@npm:8.0.3" +"remark-parse@npm:^11.0.0": + version: 11.0.0 + resolution: "remark-parse@npm:11.0.0" dependencies: - ccount: "npm:^1.0.0" - collapse-white-space: "npm:^1.0.2" - is-alphabetical: "npm:^1.0.0" - is-decimal: "npm:^1.0.0" - is-whitespace-character: "npm:^1.0.0" - is-word-character: "npm:^1.0.0" - markdown-escapes: "npm:^1.0.0" - parse-entities: "npm:^2.0.0" - repeat-string: "npm:^1.5.4" - state-toggle: "npm:^1.0.0" - trim: "npm:0.0.1" - trim-trailing-lines: "npm:^1.0.0" - unherit: "npm:^1.0.4" - unist-util-remove-position: "npm:^2.0.0" - vfile-location: "npm:^3.0.0" - xtend: "npm:^4.0.1" - checksum: 10c0/cbb859e2585864942823ce4d23a1b1514168a066ba91d47ca09ff45a5563b81bf17160c182ac7efed718712291c35a117db89b6ce603d04a845497ae7041c185 + "@types/mdast": "npm:^4.0.0" + mdast-util-from-markdown: "npm:^2.0.0" + micromark-util-types: "npm:^2.0.0" + unified: "npm:^11.0.0" + checksum: 10c0/6eed15ddb8680eca93e04fcb2d1b8db65a743dcc0023f5007265dda558b09db595a087f622062ccad2630953cd5cddc1055ce491d25a81f3317c858348a8dd38 languageName: node linkType: hard @@ -21261,12 +19031,16 @@ __metadata: languageName: node linkType: hard -"remark-squeeze-paragraphs@npm:4.0.0": - version: 4.0.0 - resolution: "remark-squeeze-paragraphs@npm:4.0.0" +"remark-rehype@npm:^11.0.0": + version: 11.1.2 + resolution: "remark-rehype@npm:11.1.2" dependencies: - mdast-squeeze-paragraphs: "npm:^4.0.0" - checksum: 10c0/61b39acfde3bebb1e9364a6991957f83ab0d878c0fd1de0e86e9bf9e060574cefb7a76057d64e7422e2a2bcf6e3c54635a4ae43f00b3dda38812ae4b6f4342f4 + "@types/hast": "npm:^3.0.0" + "@types/mdast": "npm:^4.0.0" + mdast-util-to-hast: "npm:^13.0.0" + unified: "npm:^11.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/f9eccacfb596d9605581dc05bfad28635d6ded5dd0a18e88af5fd4df0d3fcf9612e1501d4513bc2164d833cfe9636dab20400080b09e53f155c6e1442a1231fb languageName: node linkType: hard @@ -21279,6 +19053,17 @@ __metadata: languageName: node linkType: hard +"remark-stringify@npm:^11.0.0": + version: 11.0.0 + resolution: "remark-stringify@npm:11.0.0" + dependencies: + "@types/mdast": "npm:^4.0.0" + mdast-util-to-markdown: "npm:^2.0.0" + unified: "npm:^11.0.0" + checksum: 10c0/0cdb37ce1217578f6f847c7ec9f50cbab35df5b9e3903d543e74b405404e67c07defcb23cd260a567b41b769400f6de03c2c3d9cd6ae7a6707d5c8d89ead489f + languageName: node + linkType: hard + "remove-trailing-separator@npm:^1.0.1": version: 1.1.0 resolution: "remove-trailing-separator@npm:1.1.0" @@ -21286,19 +19071,6 @@ __metadata: languageName: node linkType: hard -"renderkid@npm:^3.0.0": - version: 3.0.0 - resolution: "renderkid@npm:3.0.0" - dependencies: - css-select: "npm:^4.1.3" - dom-converter: "npm:^0.2.0" - htmlparser2: "npm:^6.1.0" - lodash: "npm:^4.17.21" - strip-ansi: "npm:^6.0.1" - checksum: 10c0/24a9fae4cc50e731d059742d1b3eec163dc9e3872b12010d120c3fcbd622765d9cda41f79a1bbb4bf63c1d3442f18a08f6e1642cb5d7ebf092a0ce3f7a3bd143 - languageName: node - linkType: hard - "repeat-element@npm:^1.1.2": version: 1.1.4 resolution: "repeat-element@npm:1.1.4" @@ -21334,13 +19106,6 @@ __metadata: languageName: node linkType: hard -"require-like@npm:>= 0.1.1": - version: 0.1.2 - resolution: "require-like@npm:0.1.2" - checksum: 10c0/9035ff6c4000a56ede6fc51dd5c56541fafa5a7dddc9b1c3a5f9148d95ee21c603c9bf5c6e37b19fc7de13d9294260842d8590b2ffd6c7c773e78603d1af8050 - languageName: node - linkType: hard - "require-main-filename@npm:^2.0.0": version: 2.0.0 resolution: "require-main-filename@npm:2.0.0" @@ -21355,13 +19120,6 @@ __metadata: languageName: node linkType: hard -"requires-port@npm:^1.0.0": - version: 1.0.0 - resolution: "requires-port@npm:1.0.0" - checksum: 10c0/b2bfdd09db16c082c4326e573a82c0771daaf7b53b9ce8ad60ea46aa6e30aaf475fe9b164800b89f93b748d2c234d8abff945d2551ba47bf5698e04cd7713267 - languageName: node - linkType: hard - "resolve-alpn@npm:^1.0.0": version: 1.2.1 resolution: "resolve-alpn@npm:1.2.1" @@ -21408,13 +19166,6 @@ __metadata: languageName: node linkType: hard -"resolve-pathname@npm:^3.0.0": - version: 3.0.0 - resolution: "resolve-pathname@npm:3.0.0" - checksum: 10c0/c6ec49b670dc35b9a303c47fa83ba9348a71e92d64a4c4bb85e1b659a29b407aa1ac1cb14a9b5b502982132ca77482bd80534bca147439d66880d35a137fe723 - languageName: node - linkType: hard - "resolve-pkg@npm:2.0.0": version: 2.0.0 resolution: "resolve-pkg@npm:2.0.0" @@ -21445,7 +19196,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.20.0, resolve@npm:^1.22.10, resolve@npm:^1.22.4, resolve@npm:^1.3.2": +"resolve@npm:^1.1.6, resolve@npm:^1.10.0, resolve@npm:^1.20.0, resolve@npm:^1.22.10, resolve@npm:^1.22.4": version: 1.22.11 resolution: "resolve@npm:1.22.11" dependencies: @@ -21485,7 +19236,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.10#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin, resolve@patch:resolve@npm%3A^1.3.2#optional!builtin": +"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.10#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": version: 1.22.11 resolution: "resolve@patch:resolve@npm%3A1.22.11#optional!builtin::version=1.22.11&hash=c3c19d" dependencies: @@ -21577,13 +19328,6 @@ __metadata: languageName: node linkType: hard -"retry@npm:^0.13.1": - version: 0.13.1 - resolution: "retry@npm:0.13.1" - checksum: 10c0/9ae822ee19db2163497e074ea919780b1efa00431d197c7afdb950e42bf109196774b92a49fc9821f0b8b328a98eea6017410bfc5e8a0fc19c85c6d11adb3772 - languageName: node - linkType: hard - "reusify@npm:^1.0.4": version: 1.1.0 resolution: "reusify@npm:1.1.0" @@ -21591,7 +19335,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^2.5.2, rimraf@npm:^2.6.3": +"rimraf@npm:^2.5.2": version: 2.7.1 resolution: "rimraf@npm:2.7.1" dependencies: @@ -21622,6 +19366,18 @@ __metadata: languageName: node linkType: hard +"rsbuild-plugin-open-graph@npm:^1.1.2": + version: 1.1.3 + resolution: "rsbuild-plugin-open-graph@npm:1.1.3" + peerDependencies: + "@rsbuild/core": ^1.0.0 || ^2.0.0-0 + peerDependenciesMeta: + "@rsbuild/core": + optional: true + checksum: 10c0/612f2401133ae31797f8fca623cf6317abbcf2ff8862fa13667596f4045ba46c3c6d2b9113ab9fe512b091ac5b6de50b309f991ac11b974ea283e3deb2e3d6c0 + languageName: node + linkType: hard + "rsvp@npm:^4.8.4": version: 4.8.5 resolution: "rsvp@npm:4.8.5" @@ -21629,27 +19385,6 @@ __metadata: languageName: node linkType: hard -"rtl-detect@npm:^1.0.4": - version: 1.1.2 - resolution: "rtl-detect@npm:1.1.2" - checksum: 10c0/1b92888aafca1593314f837e83fdf02eb208faae3e713ab87c176804728efd3b1980d53b64f65f1fa593348087e852c5cd729b7b9372950f6e9b7be489afc0ca - languageName: node - linkType: hard - -"rtlcss@npm:^3.5.0": - version: 3.5.0 - resolution: "rtlcss@npm:3.5.0" - dependencies: - find-up: "npm:^5.0.0" - picocolors: "npm:^1.0.0" - postcss: "npm:^8.3.11" - strip-json-comments: "npm:^3.1.1" - bin: - rtlcss: bin/rtlcss.js - checksum: 10c0/c50f61bf7315be5677a75464e7457661687e321f714cae51be8b6f7b7ab89c4203b25fae15951eceb79f6d551eae65e42eabde55087fd5aa07ad1e05698793d0 - languageName: node - linkType: hard - "run-async@npm:^2.4.0": version: 2.4.1 resolution: "run-async@npm:2.4.1" @@ -21675,15 +19410,6 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.5.4": - version: 7.8.2 - resolution: "rxjs@npm:7.8.2" - dependencies: - tslib: "npm:^2.1.0" - checksum: 10c0/1fcd33d2066ada98ba8f21fcbbcaee9f0b271de1d38dc7f4e256bfbc6ffcdde68c8bfb69093de7eeb46f24b1fb820620bf0223706cff26b4ab99a7ff7b2e2c45 - languageName: node - linkType: hard - "safe-array-concat@npm:^1.1.3": version: 1.1.3 resolution: "safe-array-concat@npm:1.1.3" @@ -21697,7 +19423,7 @@ __metadata: languageName: node linkType: hard -"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.1.0, safe-buffer@npm:~5.2.0": +"safe-buffer@npm:5.2.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:~5.2.0": version: 5.2.1 resolution: "safe-buffer@npm:5.2.1" checksum: 10c0/6501914237c0a86e9675d4e51d89ca3c21ffd6a31642efeba25ad65720bce6921c9e7e974e5be91a786b25aa058b5303285d3c15dbabf983a919f5f630d349f3 @@ -21779,7 +19505,7 @@ __metadata: languageName: node linkType: hard -"sax@npm:>=0.6.0, sax@npm:^1.2.4": +"sax@npm:>=0.6.0": version: 1.4.3 resolution: "sax@npm:1.4.3" checksum: 10c0/45bba07561d93f184a8686e1a543418ced8c844b994fbe45cc49d5cd2fc8ac7ec949dae38565e35e388ad0cca2b75997a29b6857c927bf6553da3f80ed0e4e62 @@ -21803,17 +19529,6 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:2.7.0": - version: 2.7.0 - resolution: "schema-utils@npm:2.7.0" - dependencies: - "@types/json-schema": "npm:^7.0.4" - ajv: "npm:^6.12.2" - ajv-keywords: "npm:^3.4.1" - checksum: 10c0/723c3c856a0313a89aa81c5fb2c93d4b11225f5cdd442665fddd55d3c285ae72e079f5286a3a9a1a973affe888f6c33554a2cf47b79b24cd8de2f1f756a6fb1b - languageName: node - linkType: hard - "schema-utils@npm:^2.5.0, schema-utils@npm:^2.6.5": version: 2.7.1 resolution: "schema-utils@npm:2.7.1" @@ -21836,7 +19551,7 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^4.0.0, schema-utils@npm:^4.3.0, schema-utils@npm:^4.3.3": +"schema-utils@npm:^4.3.0, schema-utils@npm:^4.3.3": version: 4.3.3 resolution: "schema-utils@npm:4.3.3" dependencies: @@ -21848,30 +19563,12 @@ __metadata: languageName: node linkType: hard -"section-matter@npm:^1.0.0": - version: 1.0.0 - resolution: "section-matter@npm:1.0.0" - dependencies: - extend-shallow: "npm:^2.0.1" - kind-of: "npm:^6.0.0" - checksum: 10c0/8007f91780adc5aaa781a848eaae50b0f680bbf4043b90cf8a96778195b8fab690c87fe7a989e02394ce69890e330811ec8dab22397d384673ce59f7d750641d - languageName: node - linkType: hard - -"select-hose@npm:^2.0.0": - version: 2.0.0 - resolution: "select-hose@npm:2.0.0" - checksum: 10c0/01cc52edd29feddaf379efb4328aededa633f0ac43c64b11a8abd075ff34f05b0d280882c4fbcbdf1a0658202c9cd2ea8d5985174dcf9a2dac7e3a4996fa9b67 - languageName: node - linkType: hard - -"selfsigned@npm:^2.1.1": - version: 2.4.1 - resolution: "selfsigned@npm:2.4.1" +"scroll-into-view-if-needed@npm:^3.1.0": + version: 3.1.0 + resolution: "scroll-into-view-if-needed@npm:3.1.0" dependencies: - "@types/node-forge": "npm:^1.3.0" - node-forge: "npm:^1" - checksum: 10c0/521829ec36ea042f7e9963bf1da2ed040a815cf774422544b112ec53b7edc0bc50a0f8cc2ae7aa6cc19afa967c641fd96a15de0fc650c68651e41277d2e1df09 + compute-scroll-into-view: "npm:^3.0.2" + checksum: 10c0/1f46b090e1e04fcfdef1e384f6d7e615f9f84d4176faf4dbba7347cc0a6e491e5d578eaf4dbe9618dd3d8d38efafde58535b3e00f2a21ce4178c14be364850ff languageName: node linkType: hard @@ -21884,7 +19581,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0": +"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.5.0, semver@npm:^5.6.0": version: 5.7.2 resolution: "semver@npm:5.7.2" bin: @@ -21922,7 +19619,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0": +"semver@npm:^7.1.3, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0": version: 7.7.3 resolution: "semver@npm:7.7.3" bin: @@ -21978,7 +19675,7 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.0, serialize-javascript@npm:^6.0.2": +"serialize-javascript@npm:^6.0.2": version: 6.0.2 resolution: "serialize-javascript@npm:6.0.2" dependencies: @@ -21987,36 +19684,6 @@ __metadata: languageName: node linkType: hard -"serve-handler@npm:^6.1.3": - version: 6.1.6 - resolution: "serve-handler@npm:6.1.6" - dependencies: - bytes: "npm:3.0.0" - content-disposition: "npm:0.5.2" - mime-types: "npm:2.1.18" - minimatch: "npm:3.1.2" - path-is-inside: "npm:1.0.2" - path-to-regexp: "npm:3.3.0" - range-parser: "npm:1.2.0" - checksum: 10c0/1e1cb6bbc51ee32bc1505f2e0605bdc2e96605c522277c977b67f83be9d66bd1eec8604388714a4d728e036d86b629bc9aec02120ea030d3d2c3899d44696503 - languageName: node - linkType: hard - -"serve-index@npm:^1.9.1": - version: 1.9.1 - resolution: "serve-index@npm:1.9.1" - dependencies: - accepts: "npm:~1.3.4" - batch: "npm:0.6.1" - debug: "npm:2.6.9" - escape-html: "npm:~1.0.3" - http-errors: "npm:~1.6.2" - mime-types: "npm:~2.1.17" - parseurl: "npm:~1.3.2" - checksum: 10c0/a666471a24196f74371edf2c3c7bcdd82adbac52f600804508754b5296c3567588bf694258b19e0cb23a567acfa20d9721bfdaed3286007b81f9741ada8a3a9c - languageName: node - linkType: hard - "serve-static@npm:^1.16.2, serve-static@npm:~1.16.2": version: 1.16.3 resolution: "serve-static@npm:1.16.3" @@ -22036,6 +19703,13 @@ __metadata: languageName: node linkType: hard +"set-cookie-parser@npm:^2.6.0": + version: 2.7.2 + resolution: "set-cookie-parser@npm:2.7.2" + checksum: 10c0/4381a9eb7ee951dfe393fe7aacf76b9a3b4e93a684d2162ab35594fa4053cc82a4d7d7582bf397718012c9adcf839b8cd8f57c6c42901ea9effe33c752da4a45 + languageName: node + linkType: hard + "set-function-length@npm:^1.2.2": version: 1.2.2 resolution: "set-function-length@npm:1.2.2" @@ -22092,13 +19766,6 @@ __metadata: languageName: node linkType: hard -"setprototypeof@npm:1.1.0": - version: 1.1.0 - resolution: "setprototypeof@npm:1.1.0" - checksum: 10c0/a77b20876689c6a89c3b42f0c3596a9cae02f90fc902570cbd97198e9e8240382086c9303ad043e88cee10f61eae19f1004e51d885395a1e9bf49f9ebed12872 - languageName: node - linkType: hard - "setprototypeof@npm:1.2.0, setprototypeof@npm:~1.2.0": version: 1.2.0 resolution: "setprototypeof@npm:1.2.0" @@ -22122,13 +19789,6 @@ __metadata: languageName: node linkType: hard -"shallowequal@npm:^1.1.0": - version: 1.1.0 - resolution: "shallowequal@npm:1.1.0" - checksum: 10c0/b926efb51cd0f47aa9bc061add788a4a650550bbe50647962113a4579b60af2abe7b62f9b02314acc6f97151d4cf87033a2b15fc20852fae306d1a095215396c - languageName: node - linkType: hard - "shebang-command@npm:^1.2.0": version: 1.2.0 resolution: "shebang-command@npm:1.2.0" @@ -22161,7 +19821,7 @@ __metadata: languageName: node linkType: hard -"shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3, shell-quote@npm:^1.8.3": +"shell-quote@npm:^1.6.1": version: 1.8.3 resolution: "shell-quote@npm:1.8.3" checksum: 10c0/bee87c34e1e986cfb4c30846b8e6327d18874f10b535699866f368ade11ea4ee45433d97bf5eada22c4320c27df79c3a6a7eb1bf3ecfc47f2c997d9e5e2672fd @@ -22181,16 +19841,19 @@ __metadata: languageName: node linkType: hard -"shelljs@npm:^0.8.5": - version: 0.8.5 - resolution: "shelljs@npm:0.8.5" +"shiki@npm:4.2.0, shiki@npm:^4.0.2": + version: 4.2.0 + resolution: "shiki@npm:4.2.0" dependencies: - glob: "npm:^7.0.0" - interpret: "npm:^1.0.0" - rechoir: "npm:^0.6.2" - bin: - shjs: bin/shjs - checksum: 10c0/feb25289a12e4bcd04c40ddfab51aff98a3729f5c2602d5b1a1b95f6819ec7804ac8147ebd8d9a85dfab69d501bcf92d7acef03247320f51c1552cec8d8e2382 + "@shikijs/core": "npm:4.2.0" + "@shikijs/engine-javascript": "npm:4.2.0" + "@shikijs/engine-oniguruma": "npm:4.2.0" + "@shikijs/langs": "npm:4.2.0" + "@shikijs/themes": "npm:4.2.0" + "@shikijs/types": "npm:4.2.0" + "@shikijs/vscode-textmate": "npm:^10.0.2" + "@types/hast": "npm:^3.0.4" + checksum: 10c0/a729d91e10e22787c56a553663c487454bbdfc3f5604e2833bea1f47bcbc20b824b2e7629f7b03889706314a3fe5963a8c4808a002282dc1c19f726231096b1c languageName: node linkType: hard @@ -22269,17 +19932,6 @@ __metadata: languageName: node linkType: hard -"sirv@npm:^2.0.3": - version: 2.0.4 - resolution: "sirv@npm:2.0.4" - dependencies: - "@polka/url": "npm:^1.0.0-next.24" - mrmime: "npm:^2.0.0" - totalist: "npm:^3.0.0" - checksum: 10c0/68f8ee857f6a9415e9c07a1f31c7c561df8d5f1b1ba79bee3de583fa37da8718def5309f6b1c6e2c3ef77de45d74f5e49efc7959214443aa92d42e9c99180a4e - languageName: node - linkType: hard - "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -22287,27 +19939,6 @@ __metadata: languageName: node linkType: hard -"sitemap@npm:^7.1.1": - version: 7.1.2 - resolution: "sitemap@npm:7.1.2" - dependencies: - "@types/node": "npm:^17.0.5" - "@types/sax": "npm:^1.2.1" - arg: "npm:^5.0.0" - sax: "npm:^1.2.4" - bin: - sitemap: dist/cli.js - checksum: 10c0/01dd1268c0d4b89f8ef082bcb9ef18d0182d00d1622e9c54743474918169491e5360538f9a01a769262e0fe23d6e3822a90680eff0f076cf87b68d459014a34c - languageName: node - linkType: hard - -"slash@npm:^2.0.0": - version: 2.0.0 - resolution: "slash@npm:2.0.0" - checksum: 10c0/f83dbd3cb62c41bb8fcbbc6bf5473f3234b97fa1d008f571710a9d3757a28c7169e1811cad1554ccb1cc531460b3d221c9a7b37f549398d9a30707f0a5af9193 - languageName: node - linkType: hard - "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" @@ -22315,13 +19946,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: 10c0/b522ca75d80d107fd30d29df0549a7b2537c83c4c4ecd12cd7d4ea6c8aaca2ab17ada002e7a1d78a9d736a0261509f26ea5b489082ee443a3a810586ef8eff18 - languageName: node - linkType: hard - "slash@npm:^5.1.0": version: 5.1.0 resolution: "slash@npm:5.1.0" @@ -22388,17 +20012,6 @@ __metadata: languageName: node linkType: hard -"sockjs@npm:^0.3.24": - version: 0.3.24 - resolution: "sockjs@npm:0.3.24" - dependencies: - faye-websocket: "npm:^0.11.3" - uuid: "npm:^8.3.2" - websocket-driver: "npm:^0.7.4" - checksum: 10c0/aa102c7d921bf430215754511c81ea7248f2dcdf268fbdb18e4d8183493a86b8793b164c636c52f474a886f747447c962741df2373888823271efdb9d2594f33 - languageName: node - linkType: hard - "socks-proxy-agent@npm:^8.0.3": version: 8.0.5 resolution: "socks-proxy-agent@npm:8.0.5" @@ -22420,13 +20033,6 @@ __metadata: languageName: node linkType: hard -"sort-css-media-queries@npm:2.1.0": - version: 2.1.0 - resolution: "sort-css-media-queries@npm:2.1.0" - checksum: 10c0/6b39dd2503d8279688fee837c63bdf3b49eea14d10d5ae09d9e99e4a0b3da1b702c3931e8f793b702b9ea8929a9389ba8d6345b58b5d1f0ec3e84920685a724a - languageName: node - linkType: hard - "sort-keys@npm:^1.0.0": version: 1.1.2 resolution: "sort-keys@npm:1.1.2" @@ -22497,20 +20103,27 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.5.0, source-map@npm:^0.5.6": +"source-map@npm:^0.5.6": version: 0.5.7 resolution: "source-map@npm:0.5.7" checksum: 10c0/904e767bb9c494929be013017380cbba013637da1b28e5943b566031e29df04fba57edf3f093e0914be094648b577372bd8ad247fa98cfba9c600794cd16b599 languageName: node linkType: hard -"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.0, source-map@npm:~0.6.1": +"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" checksum: 10c0/ab55398007c5e5532957cb0beee2368529618ac0ab372d789806f5718123cc4367d57de3904b4e6a4170eb5a0b0f41373066d02ca0735a0c4d75c7d328d3e011 languageName: node linkType: hard +"source-map@npm:^0.7.0": + version: 0.7.6 + resolution: "source-map@npm:0.7.6" + checksum: 10c0/59f6f05538539b274ba771d2e9e32f6c65451982510564438e048bc1352f019c6efcdc6dd07909b1968144941c14015c2c7d4369fb7c4d7d53ae769716dcc16c + languageName: node + linkType: hard + "sourcemapped-stacktrace@npm:^1.1.6": version: 1.1.11 resolution: "sourcemapped-stacktrace@npm:1.1.11" @@ -22527,6 +20140,13 @@ __metadata: languageName: node linkType: hard +"space-separated-tokens@npm:^2.0.0": + version: 2.0.2 + resolution: "space-separated-tokens@npm:2.0.2" + checksum: 10c0/6173e1d903dca41dcab6a2deed8b4caf61bd13b6d7af8374713500570aa929ff9414ae09a0519f4f8772df993300305a395d4871f35bc4ca72b6db57e1f30af8 + languageName: node + linkType: hard + "spdx-correct@npm:^3.0.0": version: 3.2.0 resolution: "spdx-correct@npm:3.2.0" @@ -22561,33 +20181,6 @@ __metadata: languageName: node linkType: hard -"spdy-transport@npm:^3.0.0": - version: 3.0.0 - resolution: "spdy-transport@npm:3.0.0" - dependencies: - debug: "npm:^4.1.0" - detect-node: "npm:^2.0.4" - hpack.js: "npm:^2.1.6" - obuf: "npm:^1.1.2" - readable-stream: "npm:^3.0.6" - wbuf: "npm:^1.7.3" - checksum: 10c0/eaf7440fa90724fffc813c386d4a8a7427d967d6e46d7c51d8f8a533d1a6911b9823ea9218703debbae755337e85f110185d7a00ae22ec5c847077b908ce71bb - languageName: node - linkType: hard - -"spdy@npm:^4.0.2": - version: 4.0.2 - resolution: "spdy@npm:4.0.2" - dependencies: - debug: "npm:^4.1.0" - handle-thing: "npm:^2.0.0" - http-deceiver: "npm:^1.2.7" - select-hose: "npm:^2.0.0" - spdy-transport: "npm:^3.0.0" - checksum: 10c0/983509c0be9d06fd00bb9dff713c5b5d35d3ffd720db869acdd5ad7aa6fc0e02c2318b58f75328957d8ff772acdf1f7d19382b6047df342044ff3e2d6805ccdf - languageName: node - linkType: hard - "split-on-first@npm:^1.0.0": version: 1.1.0 resolution: "split-on-first@npm:1.1.0" @@ -22645,13 +20238,6 @@ __metadata: languageName: node linkType: hard -"stable@npm:^0.1.8": - version: 0.1.8 - resolution: "stable@npm:0.1.8" - checksum: 10c0/df74b5883075076e78f8e365e4068ecd977af6c09da510cfc3148a303d4b87bc9aa8f7c48feb67ed4ef970b6140bd9eabba2129e28024aa88df5ea0114cba39d - languageName: node - linkType: hard - "stack-utils@npm:^2.0.3": version: 2.0.6 resolution: "stack-utils@npm:2.0.6" @@ -22701,7 +20287,7 @@ __metadata: languageName: node linkType: hard -"statuses@npm:>= 1.4.0 < 2, statuses@npm:~1.5.0": +"statuses@npm:~1.5.0": version: 1.5.0 resolution: "statuses@npm:1.5.0" checksum: 10c0/e433900956357b3efd79b1c547da4d291799ac836960c016d10a98f6a810b1b5c0dcc13b5a7aa609a58239b5190e1ea176ad9221c2157d2fd1c747393e6b2940 @@ -22715,13 +20301,6 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.0.1": - version: 3.10.0 - resolution: "std-env@npm:3.10.0" - checksum: 10c0/1814927a45004d36dde6707eaf17552a546769bc79a6421be2c16ce77d238158dfe5de30910b78ec30d95135cc1c59ea73ee22d2ca170f8b9753f84da34c427f - languageName: node - linkType: hard - "stop-iteration-iterator@npm:^1.1.0": version: 1.1.0 resolution: "stop-iteration-iterator@npm:1.1.0" @@ -22781,7 +20360,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3": +"string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.3": version: 4.2.3 resolution: "string-width@npm:4.2.3" dependencies: @@ -22792,17 +20371,6 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^5.0.1": - version: 5.1.2 - resolution: "string-width@npm:5.1.2" - dependencies: - eastasianwidth: "npm:^0.2.0" - emoji-regex: "npm:^9.2.2" - strip-ansi: "npm:^7.0.1" - checksum: 10c0/ab9c4264443d35b8b923cbdd513a089a60de339216d3b0ed3be3ba57d6880e1a192b70ae17225f764d7adbf5994e9bb8df253a944736c15a0240eff553c678ca - languageName: node - linkType: hard - "string-width@npm:^7.0.0, string-width@npm:^7.2.0": version: 7.2.0 resolution: "string-width@npm:7.2.0" @@ -22912,14 +20480,13 @@ __metadata: languageName: node linkType: hard -"stringify-object@npm:^3.3.0": - version: 3.3.0 - resolution: "stringify-object@npm:3.3.0" +"stringify-entities@npm:^4.0.0": + version: 4.0.4 + resolution: "stringify-entities@npm:4.0.4" dependencies: - get-own-enumerable-property-symbols: "npm:^3.0.0" - is-obj: "npm:^1.0.1" - is-regexp: "npm:^1.0.0" - checksum: 10c0/ba8078f84128979ee24b3de9a083489cbd3c62cb8572a061b47d4d82601a8ae4b4d86fa8c54dd955593da56bb7c16a6de51c27221fdc6b7139bb4f29d815f35b + character-entities-html4: "npm:^2.0.0" + character-entities-legacy: "npm:^3.0.0" + checksum: 10c0/537c7e656354192406bdd08157d759cd615724e9d0873602d2c9b2f6a5c0a8d0b1d73a0a08677848105c5eebac6db037b57c0b3a4ec86331117fa7319ed50448 languageName: node linkType: hard @@ -22941,15 +20508,6 @@ __metadata: languageName: node linkType: hard -"strip-ansi@npm:^7.0.1": - version: 7.1.2 - resolution: "strip-ansi@npm:7.1.2" - dependencies: - ansi-regex: "npm:^6.0.1" - checksum: 10c0/0d6d7a023de33368fd042aab0bf48f4f4077abdfd60e5393e73c7c411e85e1b3a83507c11af2e656188511475776215df9ca589b4da2295c9455cc399ce1858b - languageName: node - linkType: hard - "strip-ansi@npm:^7.1.0": version: 7.2.0 resolution: "strip-ansi@npm:7.2.0" @@ -22959,13 +20517,6 @@ __metadata: languageName: node linkType: hard -"strip-bom-string@npm:^1.0.0": - version: 1.0.0 - resolution: "strip-bom-string@npm:1.0.0" - checksum: 10c0/5c5717e2643225aa6a6d659d34176ab2657037f1fe2423ac6fcdb488f135e14fef1022030e426d8b4d0989e09adbd5c3288d5d3b9c632abeefd2358dfc512bca - languageName: node - linkType: hard - "strip-bom@npm:^3.0.0": version: 3.0.0 resolution: "strip-bom@npm:3.0.0" @@ -23040,12 +20591,21 @@ __metadata: languageName: node linkType: hard -"style-to-object@npm:0.3.0, style-to-object@npm:^0.3.0": - version: 0.3.0 - resolution: "style-to-object@npm:0.3.0" +"style-to-js@npm:^1.0.0": + version: 1.1.21 + resolution: "style-to-js@npm:1.1.21" dependencies: - inline-style-parser: "npm:0.1.1" - checksum: 10c0/afe9b96ba077a9068baf8887091870f50298157c0ebf5378151792cf2a2ce084fec9b34fc544da0d9f8e6c22ca0c9e23aa6f075bb8eb051aa1d64363e9987600 + style-to-object: "npm:1.0.14" + checksum: 10c0/94231aa80f58f442c3a5ae01a21d10701e5d62f96b4b3e52eab3499077ee52df203cc0df4a1a870707f5e99470859136ea8657b782a5f4ca7934e0ffe662a588 + languageName: node + linkType: hard + +"style-to-object@npm:1.0.14": + version: 1.0.14 + resolution: "style-to-object@npm:1.0.14" + dependencies: + inline-style-parser: "npm:0.2.7" + checksum: 10c0/854d9e9b77afc336e6d7b09348e7939f2617b34eb0895824b066d8cd1790284cb6d8b2ba36be88025b2595d715dba14b299ae76e4628a366541106f639e13679 languageName: node linkType: hard @@ -23058,19 +20618,7 @@ __metadata: languageName: node linkType: hard -"stylehacks@npm:^5.1.1": - version: 5.1.1 - resolution: "stylehacks@npm:5.1.1" - dependencies: - browserslist: "npm:^4.21.4" - postcss-selector-parser: "npm:^6.0.4" - peerDependencies: - postcss: ^8.2.15 - checksum: 10c0/402c2b545eeda0e972f125779adddc88df11bcf3a89de60c92026bd98cd49c1abffcd5bfe41766398835e0a1c7e5e72bdb6905809ecbb60716cd8d3a32ea7cd3 - languageName: node - linkType: hard - -"styleq@npm:^0.1.2, styleq@npm:^0.1.3": +"styleq@npm:^0.1.3": version: 0.1.3 resolution: "styleq@npm:0.1.3" checksum: 10c0/975d951792e65052f1f6e41aaad46492642ce4922b3dc36d4b49b37c8509f9a776794d8f275360f00116a5e6ab1e31514bdcd5840656c4e3213da6803fa12941 @@ -23128,30 +20676,6 @@ __metadata: languageName: node linkType: hard -"svg-parser@npm:^2.0.4": - version: 2.0.4 - resolution: "svg-parser@npm:2.0.4" - checksum: 10c0/02f6cb155dd7b63ebc2f44f36365bc294543bebb81b614b7628f1af3c54ab64f7e1cec20f06e252bf95bdde78441ae295a412c68ad1678f16a6907d924512b7a - languageName: node - linkType: hard - -"svgo@npm:^2.7.0, svgo@npm:^2.8.0": - version: 2.8.0 - resolution: "svgo@npm:2.8.0" - dependencies: - "@trysound/sax": "npm:0.2.0" - commander: "npm:^7.2.0" - css-select: "npm:^4.1.3" - css-tree: "npm:^1.1.3" - csso: "npm:^4.2.0" - picocolors: "npm:^1.0.0" - stable: "npm:^0.1.8" - bin: - svgo: bin/svgo - checksum: 10c0/0741f5d5cad63111a90a0ce7a1a5a9013f6d293e871b75efe39addb57f29a263e45294e485a4d2ff9cc260a5d142c8b5937b2234b4ef05efdd2706fb2d360ecc - languageName: node - linkType: hard - "swap-case@npm:^1.1.0": version: 1.1.2 resolution: "swap-case@npm:1.1.2" @@ -23178,7 +20702,7 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^2.0.0, tapable@npm:^2.2.0, tapable@npm:^2.2.1, tapable@npm:^2.3.0": +"tapable@npm:^2.2.0, tapable@npm:^2.3.0": version: 2.3.0 resolution: "tapable@npm:2.3.0" checksum: 10c0/cb9d67cc2c6a74dedc812ef3085d9d681edd2c1fa18e4aef57a3c0605fdbe44e6b8ea00bd9ef21bc74dd45314e39d31227aa031ebf2f5e38164df514136f2681 @@ -23215,7 +20739,7 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.3.16, terser-webpack-plugin@npm:^5.3.3": +"terser-webpack-plugin@npm:^5.3.16": version: 5.3.16 resolution: "terser-webpack-plugin@npm:5.3.16" dependencies: @@ -23237,7 +20761,7 @@ __metadata: languageName: node linkType: hard -"terser@npm:^5.10.0, terser@npm:^5.15.0, terser@npm:^5.31.1": +"terser@npm:^5.15.0, terser@npm:^5.31.1": version: 5.44.1 resolution: "terser@npm:5.44.1" dependencies: @@ -23281,13 +20805,6 @@ __metadata: languageName: node linkType: hard -"text-table@npm:^0.2.0": - version: 0.2.0 - resolution: "text-table@npm:0.2.0" - checksum: 10c0/02805740c12851ea5982686810702e2f14369a5f4c5c40a836821e3eefc65ffeec3131ba324692a37608294b0fd8c1e55a2dd571ffed4909822787668ddbee5c - languageName: node - linkType: hard - "throat@npm:^5.0.0": version: 5.0.0 resolution: "throat@npm:5.0.0" @@ -23321,27 +20838,6 @@ __metadata: languageName: node linkType: hard -"thunky@npm:^1.0.2": - version: 1.1.0 - resolution: "thunky@npm:1.1.0" - checksum: 10c0/369764f39de1ce1de2ba2fa922db4a3f92e9c7f33bcc9a713241bc1f4a5238b484c17e0d36d1d533c625efb00e9e82c3e45f80b47586945557b45abb890156d2 - languageName: node - linkType: hard - -"tiny-invariant@npm:^1.0.2": - version: 1.3.3 - resolution: "tiny-invariant@npm:1.3.3" - checksum: 10c0/65af4a07324b591a059b35269cd696aba21bef2107f29b9f5894d83cc143159a204b299553435b03874ebb5b94d019afa8b8eff241c8a4cfee95872c2e1c1c4a - languageName: node - linkType: hard - -"tiny-warning@npm:^1.0.0": - version: 1.0.3 - resolution: "tiny-warning@npm:1.0.3" - checksum: 10c0/ef8531f581b30342f29670cb41ca248001c6fd7975ce22122bd59b8d62b4fc84ad4207ee7faa95cde982fa3357cd8f4be650142abc22805538c3b1392d7084fa - languageName: node - linkType: hard - "tinycolor2@npm:^1.4.1": version: 1.6.0 resolution: "tinycolor2@npm:1.6.0" @@ -23458,6 +20954,13 @@ __metadata: languageName: node linkType: hard +"toggle-selection@npm:^1.0.6": + version: 1.0.6 + resolution: "toggle-selection@npm:1.0.6" + checksum: 10c0/f2cf1f2c70f374fd87b0cdc8007453ba9e981c4305a8bf4eac10a30e62ecdfd28bca7d18f8f15b15a506bf8a7bfb20dbe3539f0fcf2a2c8396c1a78d53e1f179 + languageName: node + linkType: hard + "toidentifier@npm:~1.0.1": version: 1.0.1 resolution: "toidentifier@npm:1.0.1" @@ -23472,13 +20975,6 @@ __metadata: languageName: node linkType: hard -"totalist@npm:^3.0.0": - version: 3.0.1 - resolution: "totalist@npm:3.0.1" - checksum: 10c0/4bb1fadb69c3edbef91c73ebef9d25b33bbf69afe1e37ce544d5f7d13854cda15e47132f3e0dc4cafe300ddb8578c77c50a65004d8b6e97e77934a69aa924863 - languageName: node - linkType: hard - "tr46@npm:~0.0.3": version: 0.0.3 resolution: "tr46@npm:0.0.3" @@ -23493,6 +20989,13 @@ __metadata: languageName: node linkType: hard +"trim-lines@npm:^3.0.0": + version: 3.0.1 + resolution: "trim-lines@npm:3.0.1" + checksum: 10c0/3a1611fa9e52aa56a94c69951a9ea15b8aaad760eaa26c56a65330dc8adf99cb282fc07cc9d94968b7d4d88003beba220a7278bbe2063328eb23fb56f9509e94 + languageName: node + linkType: hard + "trim-newlines@npm:^2.0.0": version: 2.0.0 resolution: "trim-newlines@npm:2.0.0" @@ -23537,6 +21040,13 @@ __metadata: languageName: node linkType: hard +"trough@npm:^2.0.0": + version: 2.2.0 + resolution: "trough@npm:2.2.0" + checksum: 10c0/58b671fc970e7867a48514168894396dd94e6d9d6456aca427cc299c004fe67f35ed7172a36449086b2edde10e78a71a284ec0076809add6834fb8f857ccb9b0 + languageName: node + linkType: hard + "ts-api-utils@npm:^2.5.0": version: 2.5.0 resolution: "ts-api-utils@npm:2.5.0" @@ -23565,7 +21075,7 @@ __metadata: languageName: node linkType: hard -"tslib@npm:^2.0.1, tslib@npm:^2.0.3, tslib@npm:^2.1.0, tslib@npm:^2.4.0, tslib@npm:^2.4.1": +"tslib@npm:^2.0.1, tslib@npm:^2.4.0, tslib@npm:^2.8.0": version: 2.8.1 resolution: "tslib@npm:2.8.1" checksum: 10c0/9c4759110a19c53f992d9aae23aac5ced636e99887b51b9e61def52611732872ff7668757d4e4c61f19691e36f4da981cd9485e869b4a7408d689f6bf1f14e62 @@ -23595,13 +21105,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 10c0/dea9df45ea1f0aaa4e2d3bed3f9a0bfe9e5b2592bddb92eb1bf06e50bcf98dbb78189668cd8bc31a0511d3fc25539b4cd5c704497e53e93e2d40ca764b10bfc3 - languageName: node - linkType: hard - "type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3" @@ -23630,13 +21133,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^2.5.0": - version: 2.19.0 - resolution: "type-fest@npm:2.19.0" - checksum: 10c0/a5a7ecf2e654251613218c215c7493574594951c08e52ab9881c9df6a6da0aeca7528c213c622bc374b4e0cb5c443aa3ab758da4e3c959783ce884c3194e12cb - languageName: node - linkType: hard - "type-is@npm:~1.6.18": version: 1.6.18 resolution: "type-is@npm:1.6.18" @@ -23737,17 +21233,7 @@ __metadata: bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/5f8bb01196e542e64d44db3d16ee0e4063ce4f3e3966df6005f2588e86d91c03e1fb131c2581baf0fb65ee79669eea6e161cd448178986587e9f6844446dbb48 - languageName: node - linkType: hard - -"typescript@npm:^4.8.4": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/5f6cad2e728a8a063521328e612d7876e12f0d8a8390d3b3aaa452a6a65e24e9ac8ea22beb72a924fd96ea0a49ea63bb4e251fb922b12eedfb7f7a26475e5c56 + checksum: 10c0/5f8bb01196e542e64d44db3d16ee0e4063ce4f3e3966df6005f2588e86d91c03e1fb131c2581baf0fb65ee79669eea6e161cd448178986587e9f6844446dbb48 languageName: node linkType: hard @@ -23771,16 +21257,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^4.8.4#optional!builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10c0/e3333f887c6829dfe0ab6c1dbe0dd1e3e2aeb56c66460cb85c5440c566f900c833d370ca34eb47558c0c69e78ced4bfe09b8f4f98b6de7afed9b84b8d1dd06a1 - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^6.0.3#optional!builtin": version: 6.0.3 resolution: "typescript@patch:typescript@npm%3A6.0.3#optional!builtin::version=6.0.3&hash=5786d5" @@ -23835,10 +21311,12 @@ __metadata: languageName: node linkType: hard -"undici@npm:^7.12.0": - version: 7.18.2 - resolution: "undici@npm:7.18.2" - checksum: 10c0/4ff0722799f5e06fde5d1e58d318b1d78ba9a477836ad3e7374e9ac30ca20d1ab3282952d341635bf69b8e74b5c1cf366e595b3a96810e0dbf74e622dad7b5f9 +"unhead@npm:2.1.15": + version: 2.1.15 + resolution: "unhead@npm:2.1.15" + dependencies: + hookable: "npm:^6.0.1" + checksum: 10c0/ab266e9cda44d0b528ae3b62ce9136cb4f81bd2aa1e2d66431cefe6b41151a811971951e05b4d81e6adea105b65901d9091dffa29d646f1be6246691606b2407 languageName: node linkType: hard @@ -23897,17 +21375,18 @@ __metadata: languageName: node linkType: hard -"unified@npm:9.2.0": - version: 9.2.0 - resolution: "unified@npm:9.2.0" +"unified@npm:^11.0.0, unified@npm:^11.0.5": + version: 11.0.5 + resolution: "unified@npm:11.0.5" dependencies: - bail: "npm:^1.0.0" + "@types/unist": "npm:^3.0.0" + bail: "npm:^2.0.0" + devlop: "npm:^1.0.0" extend: "npm:^3.0.0" - is-buffer: "npm:^2.0.0" - is-plain-obj: "npm:^2.0.0" - trough: "npm:^1.0.0" - vfile: "npm:^4.0.0" - checksum: 10c0/53aedb794b0ada002b72593d74633f45742e3dfe771a8091c0f51b59119f74f3f1bba0a24c5d72a35629793f992cf9e1debf21aa4689dc718482ffec3a633623 + is-plain-obj: "npm:^4.0.0" + trough: "npm:^2.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/53c8e685f56d11d9d458a43e0e74328a4d6386af51c8ac37a3dcabec74ce5026da21250590d4aff6733ccd7dc203116aae2b0769abc18cdf9639a54ae528dfc9 languageName: node linkType: hard @@ -23927,7 +21406,7 @@ __metadata: languageName: node linkType: hard -"unified@npm:^9.0.0, unified@npm:^9.2.2": +"unified@npm:^9.0.0": version: 9.2.2 resolution: "unified@npm:9.2.2" dependencies: @@ -23980,13 +21459,6 @@ __metadata: languageName: node linkType: hard -"unist-builder@npm:2.0.3, unist-builder@npm:^2.0.0": - version: 2.0.3 - resolution: "unist-builder@npm:2.0.3" - checksum: 10c0/d8b13ffd774bfe6175ca988d63cbaf6d85882a0701d6158597134ce1c3acf665a09421461a4036704f77edb8a6a2792d09eb55382428c2a9a60488b44909eeae - languageName: node - linkType: hard - "unist-builder@npm:^1.0.1": version: 1.0.4 resolution: "unist-builder@npm:1.0.4" @@ -23996,7 +21468,7 @@ __metadata: languageName: node linkType: hard -"unist-util-generated@npm:^1.0.0, unist-util-generated@npm:^1.1.0": +"unist-util-generated@npm:^1.1.0": version: 1.1.6 resolution: "unist-util-generated@npm:1.1.6" checksum: 10c0/ee04a58a6711145ec5c8c6f10dfd3335ac93d9039dc35e7410ffc1299d6f3671b27d9b7aa486f826bd66ec15807ad6d0bf9348b34a1046440e1617abcf42903f @@ -24017,6 +21489,24 @@ __metadata: languageName: node linkType: hard +"unist-util-is@npm:^6.0.0": + version: 6.0.1 + resolution: "unist-util-is@npm:6.0.1" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10c0/5a487d390193811d37a68264e204dbc7c15c40b8fc29b5515a535d921d071134f571d7b5cbd59bcd58d5ce1c0ab08f20fc4a1f0df2287a249c979267fc32ce06 + languageName: node + linkType: hard + +"unist-util-position-from-estree@npm:^2.0.0": + version: 2.0.0 + resolution: "unist-util-position-from-estree@npm:2.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10c0/39127bf5f0594e0a76d9241dec4f7aa26323517120ce1edd5ed91c8c1b9df7d6fb18af556e4b6250f1c7368825720ed892e2b6923be5cdc08a9bb16536dc37b3 + languageName: node + linkType: hard + "unist-util-position@npm:^3.0.0": version: 3.1.0 resolution: "unist-util-position@npm:3.1.0" @@ -24024,6 +21514,15 @@ __metadata: languageName: node linkType: hard +"unist-util-position@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-position@npm:5.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10c0/dde3b31e314c98f12b4dc6402f9722b2bf35e96a4f2d463233dd90d7cde2d4928074a7a11eff0a5eb1f4e200f27fc1557e0a64a7e8e4da6558542f251b1b7400 + languageName: node + linkType: hard + "unist-util-remove-position@npm:^1.0.0": version: 1.1.4 resolution: "unist-util-remove-position@npm:1.1.4" @@ -24033,15 +21532,6 @@ __metadata: languageName: node linkType: hard -"unist-util-remove-position@npm:^2.0.0": - version: 2.0.1 - resolution: "unist-util-remove-position@npm:2.0.1" - dependencies: - unist-util-visit: "npm:^2.0.0" - checksum: 10c0/9aadc8e9fafc4eeb04462454ab084184b84b397a367cab3787c59411b16c8f03d13e80e9ffd6bdae68bf8e5175f42008f410288a041a6ee53bcac8ced45a12ed - languageName: node - linkType: hard - "unist-util-remove@npm:^1.0.0": version: 1.0.3 resolution: "unist-util-remove@npm:1.0.3" @@ -24051,12 +21541,14 @@ __metadata: languageName: node linkType: hard -"unist-util-remove@npm:^2.0.0": - version: 2.1.0 - resolution: "unist-util-remove@npm:2.1.0" +"unist-util-remove@npm:^4.0.0": + version: 4.0.0 + resolution: "unist-util-remove@npm:4.0.0" dependencies: - unist-util-is: "npm:^4.0.0" - checksum: 10c0/f7dea56fb720ddab5e406af12ce37453b028273e23a7cc3e4c9f3f1ec85e1f72c6943a1ebb907120c9be0b1d08b209d7b8c7d2191a5012e16081056edf638df9 + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + unist-util-visit-parents: "npm:^6.0.0" + checksum: 10c0/30f3ed31095dd7f3109266d39c514fab5f2da3fb656d5f78a0e3e7700f219760f2f4d8286c810ae43c241fee3f0a8dd40f8d1e5ebeee3cb810581d5e7e8d4f7d languageName: node linkType: hard @@ -24076,6 +21568,24 @@ __metadata: languageName: node linkType: hard +"unist-util-stringify-position@npm:^4.0.0": + version: 4.0.0 + resolution: "unist-util-stringify-position@npm:4.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10c0/dfe1dbe79ba31f589108cb35e523f14029b6675d741a79dea7e5f3d098785045d556d5650ec6a8338af11e9e78d2a30df12b1ee86529cded1098da3f17ee999e + languageName: node + linkType: hard + +"unist-util-visit-children@npm:^3.0.0": + version: 3.0.0 + resolution: "unist-util-visit-children@npm:3.0.0" + dependencies: + "@types/unist": "npm:^3.0.0" + checksum: 10c0/51e95f54fbf11d414952c011c761c3960864948ad3fd2abe3989eb18b18d96b8f48e7ea5ab6f23264d1a3f4f5a1ff76312dd8f2196c78b762098403505c3abb9 + languageName: node + linkType: hard + "unist-util-visit-parents@npm:^2.0.0": version: 2.1.2 resolution: "unist-util-visit-parents@npm:2.1.2" @@ -24095,7 +21605,26 @@ __metadata: languageName: node linkType: hard -"unist-util-visit@npm:2.0.3, unist-util-visit@npm:^2.0.0, unist-util-visit@npm:^2.0.3": +"unist-util-visit-parents@npm:^6.0.0": + version: 6.0.2 + resolution: "unist-util-visit-parents@npm:6.0.2" + dependencies: + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + checksum: 10c0/f1e4019dbd930301825895e3737b1ee0cd682f7622ddd915062135cbb39f8c090aaece3a3b5eae1f2ea52ec33f0931abb8f8a8b5c48a511a4203e3d360a8cd49 + languageName: node + linkType: hard + +"unist-util-visit@npm:^1.0.0, unist-util-visit@npm:^1.1.0, unist-util-visit@npm:^1.3.0": + version: 1.4.1 + resolution: "unist-util-visit@npm:1.4.1" + dependencies: + unist-util-visit-parents: "npm:^2.0.0" + checksum: 10c0/8fb61725270059034d987813816e6c2d6362f55d4d19936db9ce23a5ace0ae4d584064ceb94dee6618e3318aef087505607f7ccc8c4305fbb644c3b643ae0059 + languageName: node + linkType: hard + +"unist-util-visit@npm:^2.0.3": version: 2.0.3 resolution: "unist-util-visit@npm:2.0.3" dependencies: @@ -24106,12 +21635,14 @@ __metadata: languageName: node linkType: hard -"unist-util-visit@npm:^1.0.0, unist-util-visit@npm:^1.1.0, unist-util-visit@npm:^1.3.0": - version: 1.4.1 - resolution: "unist-util-visit@npm:1.4.1" +"unist-util-visit@npm:^5.0.0, unist-util-visit@npm:^5.1.0": + version: 5.1.0 + resolution: "unist-util-visit@npm:5.1.0" dependencies: - unist-util-visit-parents: "npm:^2.0.0" - checksum: 10c0/8fb61725270059034d987813816e6c2d6362f55d4d19936db9ce23a5ace0ae4d584064ceb94dee6618e3318aef087505607f7ccc8c4305fbb644c3b643ae0059 + "@types/unist": "npm:^3.0.0" + unist-util-is: "npm:^6.0.0" + unist-util-visit-parents: "npm:^6.0.0" + checksum: 10c0/a56e1bbbf63fcb55abe379e660b9a3367787e8be1e2473bdb7e86cfa6f32b6c1fa0092432d7040b8a30b2fc674bbbe024ffe6d03c3d6bf4839b064f584463a4e languageName: node linkType: hard @@ -24188,28 +21719,6 @@ __metadata: languageName: node linkType: hard -"update-notifier@npm:^5.1.0": - version: 5.1.0 - resolution: "update-notifier@npm:5.1.0" - dependencies: - boxen: "npm:^5.0.0" - chalk: "npm:^4.1.0" - configstore: "npm:^5.0.1" - has-yarn: "npm:^2.1.0" - import-lazy: "npm:^2.1.0" - is-ci: "npm:^2.0.0" - is-installed-globally: "npm:^0.4.0" - is-npm: "npm:^5.0.0" - is-yarn-global: "npm:^0.3.0" - latest-version: "npm:^5.1.0" - pupa: "npm:^2.1.1" - semver: "npm:^7.3.4" - semver-diff: "npm:^3.1.1" - xdg-basedir: "npm:^4.0.0" - checksum: 10c0/0dde6db5ac1e5244e1f8bf5b26895a0d53c00797ea2bdbc1302623dd1aecab5cfb88b4f324d482cbd4c8b089464383d8c83db64dec5798ec0136820e22478e47 - languageName: node - linkType: hard - "upper-case-first@npm:^1.1.0, upper-case-first@npm:^1.1.2": version: 1.1.2 resolution: "upper-case-first@npm:1.1.2" @@ -24249,23 +21758,6 @@ __metadata: languageName: node linkType: hard -"url-loader@npm:^4.1.1": - version: 4.1.1 - resolution: "url-loader@npm:4.1.1" - dependencies: - loader-utils: "npm:^2.0.0" - mime-types: "npm:^2.1.27" - schema-utils: "npm:^3.0.0" - peerDependencies: - file-loader: "*" - webpack: ^4.0.0 || ^5.0.0 - peerDependenciesMeta: - file-loader: - optional: true - checksum: 10c0/71b6300e02ce26c70625eae1a2297c0737635038c62691bb3007ac33e85c0130efc74bfb444baf5c6b3bad5953491159d31d66498967d1417865d0c7e7cd1a64 - languageName: node - linkType: hard - "url-parse-lax@npm:^3.0.0": version: 3.0.0 resolution: "url-parse-lax@npm:3.0.0" @@ -24285,39 +21777,6 @@ __metadata: languageName: node linkType: hard -"use-composed-ref@npm:^1.3.0": - version: 1.4.0 - resolution: "use-composed-ref@npm:1.4.0" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10c0/c77e0cba9579b7746d52feaf3ce77d8c345f266c9c1ef46584ae68f54646537c87b2ad97f5219a4b1db52f97ec2905e88e5b146add1f28f7e457bd52ca1b93cf - languageName: node - linkType: hard - -"use-isomorphic-layout-effect@npm:^1.1.1": - version: 1.2.1 - resolution: "use-isomorphic-layout-effect@npm:1.2.1" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10c0/4d3c1124d630fbe09c1d2a16af0cd78ac2fe1d22eb24a178363e3d84a897659cc04e8e8cd71f66ff78ff75ef8287fa72e746cb213b96c1097e70e4b4ed69f63f - languageName: node - linkType: hard - -"use-latest-callback@npm:^0.1.7": - version: 0.1.11 - resolution: "use-latest-callback@npm:0.1.11" - peerDependencies: - react: ">=16.8" - checksum: 10c0/8361ccd3e121552173a27fad67bd226e0cc8acf377073357a7ce83f516be3993b57111eb0e5a8748932543ff6bf4d202200de6e8ba6fa78ae111f44d05404128 - languageName: node - linkType: hard - "use-latest-callback@npm:^0.2.3": version: 0.2.6 resolution: "use-latest-callback@npm:0.2.6" @@ -24336,21 +21795,7 @@ __metadata: languageName: node linkType: hard -"use-latest@npm:^1.2.1": - version: 1.3.0 - resolution: "use-latest@npm:1.3.0" - dependencies: - use-isomorphic-layout-effect: "npm:^1.1.1" - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - peerDependenciesMeta: - "@types/react": - optional: true - checksum: 10c0/067c648814ad0c1f1e89d2d0e496254b05c4bed6a34e23045b4413824222aab08fd803c59a42852acc16830c17567d03f8c90af0a62be2f4e4b931454d079798 - languageName: node - linkType: hard - -"use-sync-external-store@npm:^1.2.0, use-sync-external-store@npm:^1.6.0": +"use-sync-external-store@npm:^1.6.0": version: 1.6.0 resolution: "use-sync-external-store@npm:1.6.0" peerDependencies: @@ -24373,20 +21818,6 @@ __metadata: languageName: node linkType: hard -"utila@npm:~0.4": - version: 0.4.0 - resolution: "utila@npm:0.4.0" - checksum: 10c0/2791604e09ca4f77ae314df83e80d1805f867eb5c7e13e7413caee01273c278cf2c9a3670d8d25c889a877f7b149d892fe61b0181a81654b425e9622ab23d42e - languageName: node - linkType: hard - -"utility-types@npm:^3.10.0": - version: 3.11.0 - resolution: "utility-types@npm:3.11.0" - checksum: 10c0/2f1580137b0c3e6cf5405f37aaa8f5249961a76d26f1ca8efc0ff49a2fc0e0b2db56de8e521a174d075758e0c7eb3e590edec0832eb44478b958f09914920f19 - languageName: node - linkType: hard - "utils-merge@npm:1.0.1": version: 1.0.1 resolution: "utils-merge@npm:1.0.1" @@ -24394,7 +21825,7 @@ __metadata: languageName: node linkType: hard -"uuid@npm:8.3.2, uuid@npm:^8.3.2": +"uuid@npm:8.3.2": version: 8.3.2 resolution: "uuid@npm:8.3.2" bin: @@ -24440,13 +21871,6 @@ __metadata: languageName: node linkType: hard -"value-equal@npm:^1.0.1": - version: 1.0.1 - resolution: "value-equal@npm:1.0.1" - checksum: 10c0/79068098355483ef29f4d3753999ad880875b87625d7e9055cad9346ea4b7662aad3a66f87976801b0dd7a6f828ba973d28b1669ebcd37eaf88cc5f687c1a691 - languageName: node - linkType: hard - "vary@npm:~1.1.2": version: 1.1.2 resolution: "vary@npm:1.1.2" @@ -24461,13 +21885,23 @@ __metadata: languageName: node linkType: hard -"vfile-location@npm:^3.0.0, vfile-location@npm:^3.2.0": +"vfile-location@npm:^3.2.0": version: 3.2.0 resolution: "vfile-location@npm:3.2.0" checksum: 10c0/d9513c738fcac26388f4ee04337663514434df718201309088377b53be3fdcfdb01a4a8f02f5a21ebf33690a670f31229e4c7c3991fb7af63f549fda3ec36836 languageName: node linkType: hard +"vfile-location@npm:^5.0.0": + version: 5.0.3 + resolution: "vfile-location@npm:5.0.3" + dependencies: + "@types/unist": "npm:^3.0.0" + vfile: "npm:^6.0.0" + checksum: 10c0/1711f67802a5bc175ea69750d59863343ed43d1b1bb25c0a9063e4c70595e673e53e2ed5cdbb6dcdc370059b31605144d95e8c061b9361bcc2b036b8f63a4966 + languageName: node + linkType: hard + "vfile-message@npm:^1.0.0": version: 1.1.1 resolution: "vfile-message@npm:1.1.1" @@ -24487,6 +21921,16 @@ __metadata: languageName: node linkType: hard +"vfile-message@npm:^4.0.0": + version: 4.0.3 + resolution: "vfile-message@npm:4.0.3" + dependencies: + "@types/unist": "npm:^3.0.0" + unist-util-stringify-position: "npm:^4.0.0" + checksum: 10c0/33d9f219610d27987689bb14fa5573d2daa146941d1a05416dd7702c4215b23f44ed81d059e70d0e4e24f9a57d5f4dc9f18d35a993f04cf9446a7abe6d72d0c0 + languageName: node + linkType: hard + "vfile@npm:^3.0.0": version: 3.0.1 resolution: "vfile@npm:3.0.1" @@ -24511,6 +21955,16 @@ __metadata: languageName: node linkType: hard +"vfile@npm:^6.0.0": + version: 6.0.3 + resolution: "vfile@npm:6.0.3" + dependencies: + "@types/unist": "npm:^3.0.0" + vfile-message: "npm:^4.0.0" + checksum: 10c0/e5d9eb4810623f23758cfc2205323e33552fb5972e5c2e6587babe08fe4d24859866277404fb9e2a20afb71013860d96ec806cb257536ae463c87d70022ab9ef + languageName: node + linkType: hard + "vlq@npm:^1.0.0": version: 1.0.1 resolution: "vlq@npm:1.0.1" @@ -24518,21 +21972,6 @@ __metadata: languageName: node linkType: hard -"wait-on@npm:^6.0.1": - version: 6.0.1 - resolution: "wait-on@npm:6.0.1" - dependencies: - axios: "npm:^0.25.0" - joi: "npm:^17.6.0" - lodash: "npm:^4.17.21" - minimist: "npm:^1.2.5" - rxjs: "npm:^7.5.4" - bin: - wait-on: bin/wait-on - checksum: 10c0/99772bc85d17f7e6ff8b0e40bd2c90a2c2025b0e9a5a3f8edcf39af0c367d8a5bbdd3d4f1190588be8b09745e80bbdf59c2c4059053a7d180e29b8711cc4a840 - languageName: node - linkType: hard - "walker@npm:^1.0.7, walker@npm:^1.0.8, walker@npm:~1.0.5": version: 1.0.8 resolution: "walker@npm:1.0.8" @@ -24559,15 +21998,6 @@ __metadata: languageName: node linkType: hard -"wbuf@npm:^1.1.0, wbuf@npm:^1.7.3": - version: 1.7.3 - resolution: "wbuf@npm:1.7.3" - dependencies: - minimalistic-assert: "npm:^1.0.0" - checksum: 10c0/56edcc5ef2b3d30913ba8f1f5cccc364d180670b24d5f3f8849c1e6fb514e5c7e3a87548ae61227a82859eba6269c11393ae24ce12a2ea1ecb9b465718ddced7 - languageName: node - linkType: hard - "wcwidth@npm:^1.0.1": version: 1.0.1 resolution: "wcwidth@npm:1.0.1" @@ -24584,6 +22014,13 @@ __metadata: languageName: node linkType: hard +"web-namespaces@npm:^2.0.0": + version: 2.0.1 + resolution: "web-namespaces@npm:2.0.1" + checksum: 10c0/df245f466ad83bd5cd80bfffc1674c7f64b7b84d1de0e4d2c0934fb0782e0a599164e7197a4bce310ee3342fd61817b8047ff04f076a1ce12dd470584142a4bd + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -24591,28 +22028,6 @@ __metadata: languageName: node linkType: hard -"webpack-bundle-analyzer@npm:^4.5.0": - version: 4.10.2 - resolution: "webpack-bundle-analyzer@npm:4.10.2" - dependencies: - "@discoveryjs/json-ext": "npm:0.5.7" - acorn: "npm:^8.0.4" - acorn-walk: "npm:^8.0.0" - commander: "npm:^7.2.0" - debounce: "npm:^1.2.1" - escape-string-regexp: "npm:^4.0.0" - gzip-size: "npm:^6.0.0" - html-escaper: "npm:^2.0.2" - opener: "npm:^1.5.2" - picocolors: "npm:^1.0.0" - sirv: "npm:^2.0.3" - ws: "npm:^7.3.1" - bin: - webpack-bundle-analyzer: lib/bin/analyzer.js - checksum: 10c0/00603040e244ead15b2d92981f0559fa14216381349412a30070a7358eb3994cd61a8221d34a3b3fb8202dc3d1c5ee1fbbe94c5c52da536e5b410aa1cf279a48 - languageName: node - linkType: hard - "webpack-dev-middleware@npm:^4.0.0": version: 4.3.0 resolution: "webpack-dev-middleware@npm:4.3.0" @@ -24629,68 +22044,6 @@ __metadata: languageName: node linkType: hard -"webpack-dev-middleware@npm:^5.3.4": - version: 5.3.4 - resolution: "webpack-dev-middleware@npm:5.3.4" - dependencies: - colorette: "npm:^2.0.10" - memfs: "npm:^3.4.3" - mime-types: "npm:^2.1.31" - range-parser: "npm:^1.2.1" - schema-utils: "npm:^4.0.0" - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - checksum: 10c0/257df7d6bc5494d1d3cb66bba70fbdf5a6e0423e39b6420f7631aeb52435afbfbff8410a62146dcdf3d2f945c62e03193aae2ac1194a2f7d5a2523b9d194e9e1 - languageName: node - linkType: hard - -"webpack-dev-server@npm:^4.9.3": - version: 4.15.2 - resolution: "webpack-dev-server@npm:4.15.2" - dependencies: - "@types/bonjour": "npm:^3.5.9" - "@types/connect-history-api-fallback": "npm:^1.3.5" - "@types/express": "npm:^4.17.13" - "@types/serve-index": "npm:^1.9.1" - "@types/serve-static": "npm:^1.13.10" - "@types/sockjs": "npm:^0.3.33" - "@types/ws": "npm:^8.5.5" - ansi-html-community: "npm:^0.0.8" - bonjour-service: "npm:^1.0.11" - chokidar: "npm:^3.5.3" - colorette: "npm:^2.0.10" - compression: "npm:^1.7.4" - connect-history-api-fallback: "npm:^2.0.0" - default-gateway: "npm:^6.0.3" - express: "npm:^4.17.3" - graceful-fs: "npm:^4.2.6" - html-entities: "npm:^2.3.2" - http-proxy-middleware: "npm:^2.0.3" - ipaddr.js: "npm:^2.0.1" - launch-editor: "npm:^2.6.0" - open: "npm:^8.0.9" - p-retry: "npm:^4.5.0" - rimraf: "npm:^3.0.2" - schema-utils: "npm:^4.0.0" - selfsigned: "npm:^2.1.1" - serve-index: "npm:^1.9.1" - sockjs: "npm:^0.3.24" - spdy: "npm:^4.0.2" - webpack-dev-middleware: "npm:^5.3.4" - ws: "npm:^8.13.0" - peerDependencies: - webpack: ^4.37.0 || ^5.0.0 - peerDependenciesMeta: - webpack: - optional: true - webpack-cli: - optional: true - bin: - webpack-dev-server: bin/webpack-dev-server.js - checksum: 10c0/625bd5b79360afcf98782c8b1fd710b180bb0e96d96b989defff550c546890010ceea82ffbecb2a0a23f7f018bc72f2dee7b3070f7b448fb0110df6657fb2904 - languageName: node - linkType: hard - "webpack-hot-middleware@npm:^2.25.0": version: 2.26.1 resolution: "webpack-hot-middleware@npm:2.26.1" @@ -24702,17 +22055,6 @@ __metadata: languageName: node linkType: hard -"webpack-merge@npm:^5.8.0": - version: 5.10.0 - resolution: "webpack-merge@npm:5.10.0" - dependencies: - clone-deep: "npm:^4.0.1" - flat: "npm:^5.0.2" - wildcard: "npm:^2.0.0" - checksum: 10c0/b607c84cabaf74689f965420051a55a08722d897bdd6c29cb0b2263b451c090f962d41ecf8c9bf56b0ab3de56e65476ace0a8ecda4f4a4663684243d90e0512b - languageName: node - linkType: hard - "webpack-sources@npm:^1.1.0": version: 1.4.3 resolution: "webpack-sources@npm:1.4.3" @@ -24723,14 +22065,14 @@ __metadata: languageName: node linkType: hard -"webpack-sources@npm:^3.2.2, webpack-sources@npm:^3.3.3": +"webpack-sources@npm:^3.3.3": version: 3.3.3 resolution: "webpack-sources@npm:3.3.3" checksum: 10c0/ab732f6933b513ba4d505130418995ddef6df988421fccf3289e53583c6a39e205c4a0739cee98950964552d3006604912679c736031337fb4a9d78d8576ed40 languageName: node linkType: hard -"webpack@npm:^5.3.2, webpack@npm:^5.73.0": +"webpack@npm:^5.3.2": version: 5.104.1 resolution: "webpack@npm:5.104.1" dependencies: @@ -24768,47 +22110,6 @@ __metadata: languageName: node linkType: hard -"webpackbar@npm:^5.0.2": - version: 5.0.2 - resolution: "webpackbar@npm:5.0.2" - dependencies: - chalk: "npm:^4.1.0" - consola: "npm:^2.15.3" - pretty-time: "npm:^1.1.0" - std-env: "npm:^3.0.1" - peerDependencies: - webpack: 3 || 4 || 5 - checksum: 10c0/336568a6ed1c1ad743c8d20a5cab5875a7ebe1e96181f49ae0a1a897f1a59d1661d837574a25d8ba9dfa4f2f705bd46ca0cd037ff60286ff70fb8d9db2b0c123 - languageName: node - linkType: hard - -"websocket-driver@npm:>=0.5.1, websocket-driver@npm:^0.7.4": - version: 0.7.4 - resolution: "websocket-driver@npm:0.7.4" - dependencies: - http-parser-js: "npm:>=0.5.1" - safe-buffer: "npm:>=5.1.0" - websocket-extensions: "npm:>=0.1.1" - checksum: 10c0/5f09547912b27bdc57bac17b7b6527d8993aa4ac8a2d10588bb74aebaf785fdcf64fea034aae0c359b7adff2044dd66f3d03866e4685571f81b13e548f9021f1 - languageName: node - linkType: hard - -"websocket-extensions@npm:>=0.1.1": - version: 0.1.4 - resolution: "websocket-extensions@npm:0.1.4" - checksum: 10c0/bbc8c233388a0eb8a40786ee2e30d35935cacbfe26ab188b3e020987e85d519c2009fe07cfc37b7f718b85afdba7e54654c9153e6697301f72561bfe429177e0 - languageName: node - linkType: hard - -"whatwg-encoding@npm:^3.1.1": - version: 3.1.1 - resolution: "whatwg-encoding@npm:3.1.1" - dependencies: - iconv-lite: "npm:0.6.3" - checksum: 10c0/273b5f441c2f7fda3368a496c3009edbaa5e43b71b09728f90425e7f487e5cef9eb2b846a31bd760dd8077739c26faf6b5ca43a5f24033172b003b72cf61a93e - languageName: node - linkType: hard - "whatwg-fetch@npm:^3.0.0": version: 3.6.20 resolution: "whatwg-fetch@npm:3.6.20" @@ -24816,13 +22117,6 @@ __metadata: languageName: node linkType: hard -"whatwg-mimetype@npm:^4.0.0": - version: 4.0.0 - resolution: "whatwg-mimetype@npm:4.0.0" - checksum: 10c0/a773cdc8126b514d790bdae7052e8bf242970cebd84af62fb2f35a33411e78e981f6c0ab9ed1fe6ec5071b09d5340ac9178e05b52d35a9c4bcf558ba1b1551df - languageName: node - linkType: hard - "whatwg-url-minimum@npm:^0.1.2": version: 0.1.2 resolution: "whatwg-url-minimum@npm:0.1.2" @@ -24908,7 +22202,7 @@ __metadata: languageName: node linkType: hard -"which@npm:^1.2.9, which@npm:^1.3.1": +"which@npm:^1.2.9": version: 1.3.1 resolution: "which@npm:1.3.1" dependencies: @@ -24961,22 +22255,6 @@ __metadata: languageName: node linkType: hard -"widest-line@npm:^4.0.1": - version: 4.0.1 - resolution: "widest-line@npm:4.0.1" - dependencies: - string-width: "npm:^5.0.1" - checksum: 10c0/7da9525ba45eaf3e4ed1a20f3dcb9b85bd9443962450694dae950f4bdd752839747bbc14713522b0b93080007de8e8af677a61a8c2114aa553ad52bde72d0f9c - languageName: node - linkType: hard - -"wildcard@npm:^2.0.0": - version: 2.0.1 - resolution: "wildcard@npm:2.0.1" - checksum: 10c0/08f70cd97dd9a20aea280847a1fe8148e17cae7d231640e41eb26d2388697cbe65b67fd9e68715251c39b080c5ae4f76d71a9a69fa101d897273efdfb1b58bf7 - languageName: node - linkType: hard - "window-size@npm:1.1.1": version: 1.1.1 resolution: "window-size@npm:1.1.1" @@ -25045,17 +22323,6 @@ __metadata: languageName: node linkType: hard -"wrap-ansi@npm:^8.0.1": - version: 8.1.0 - resolution: "wrap-ansi@npm:8.1.0" - dependencies: - ansi-styles: "npm:^6.1.0" - string-width: "npm:^5.0.1" - strip-ansi: "npm:^7.0.1" - checksum: 10c0/138ff58a41d2f877eae87e3282c0630fc2789012fc1af4d6bd626eeb9a2f9a65ca92005e6e69a75c7b85a68479fe7443c7dbe1eb8fbaa681a4491364b7c55c60 - languageName: node - linkType: hard - "wrap-ansi@npm:^9.0.0": version: 9.0.2 resolution: "wrap-ansi@npm:9.0.2" @@ -25096,7 +22363,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^7, ws@npm:^7.3.1, ws@npm:^7.5.10": +"ws@npm:^7, ws@npm:^7.5.10": version: 7.5.10 resolution: "ws@npm:7.5.10" peerDependencies: @@ -25111,7 +22378,7 @@ __metadata: languageName: node linkType: hard -"ws@npm:^8.12.1, ws@npm:^8.13.0": +"ws@npm:^8.12.1": version: 8.19.0 resolution: "ws@npm:8.19.0" peerDependencies: @@ -25150,17 +22417,6 @@ __metadata: languageName: node linkType: hard -"xml-js@npm:^1.6.11": - version: 1.6.11 - resolution: "xml-js@npm:1.6.11" - dependencies: - sax: "npm:^1.2.4" - bin: - xml-js: ./bin/cli.js - checksum: 10c0/c83631057f10bf90ea785cee434a8a1a0030c7314fe737ad9bf568a281083b565b28b14c9e9ba82f11fc9dc582a3a907904956af60beb725be1c9ad4b030bc5a - languageName: node - linkType: hard - "xml2js@npm:0.6.0": version: 0.6.0 resolution: "xml2js@npm:0.6.0" @@ -25227,7 +22483,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:1.10.2, yaml@npm:^1.10.0, yaml@npm:^1.10.2, yaml@npm:^1.7.2": +"yaml@npm:1.10.2, yaml@npm:^1.10.0": version: 1.10.2 resolution: "yaml@npm:1.10.2" checksum: 10c0/5c28b9eb7adc46544f28d9a8d20c5b3cb1215a886609a2fd41f51628d8aaa5878ccd628b755dbcd29f6bb4921bd04ffbc6dcc370689bb96e594e2f9813d2605f @@ -25402,9 +22658,23 @@ __metadata: languageName: node linkType: hard +"zod@npm:^4.3.6": + version: 4.4.3 + resolution: "zod@npm:4.4.3" + checksum: 10c0/7ea31b558e88f9faf44f31dd185e2e1cbf51fed3081787fb96cc2534749b50c0acfc6da7f0922a7353ed092dd358c7d50c28ea96c94d04af64191bd33152eca3 + languageName: node + linkType: hard + "zwitch@npm:^1.0.0": version: 1.0.5 resolution: "zwitch@npm:1.0.5" checksum: 10c0/26dc7d32e5596824b565db1da9650d00d32659c1211195bef50c25c60820f9c942aa7abefe678fc1ed0b97c1755036ac1bde5f97881d7d0e73e04e02aca56957 languageName: node linkType: hard + +"zwitch@npm:^2.0.0, zwitch@npm:^2.0.4": + version: 2.0.4 + resolution: "zwitch@npm:2.0.4" + checksum: 10c0/3c7830cdd3378667e058ffdb4cf2bb78ac5711214e2725900873accb23f3dfe5f9e7e5a06dcdc5f29605da976fc45c26d9a13ca334d6eea2245a15e77b8fc06e + languageName: node + linkType: hard