@ledgerhq/lumen-ui-rnative 0.1.46 → 0.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/module/lib/Animations/Pulse/Pulse.mdx +1 -1
- package/dist/module/lib/Animations/Pulse/Pulse.stories.js +2 -1
- package/dist/module/lib/Animations/Pulse/Pulse.stories.js.map +1 -1
- package/dist/module/lib/Animations/Spin/Spin.mdx +1 -1
- package/dist/module/lib/Animations/Spin/Spin.stories.js +2 -1
- package/dist/module/lib/Animations/Spin/Spin.stories.js.map +1 -1
- package/dist/module/lib/Components/AddressInput/AddressInput.mdx +2 -2
- package/dist/module/lib/Components/AddressInput/AddressInput.stories.js +2 -1
- package/dist/module/lib/Components/AddressInput/AddressInput.stories.js.map +1 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.js +1 -2
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.js.map +1 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.mdx +1 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.stories.js +2 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.stories.js.map +1 -1
- package/dist/module/lib/Components/AmountInput/AmountInput.js +3 -1
- package/dist/module/lib/Components/AmountInput/AmountInput.js.map +1 -1
- package/dist/module/lib/Components/AmountInput/AmountInput.mdx +1 -1
- package/dist/module/lib/Components/AmountInput/AmountInput.stories.js +17 -1
- package/dist/module/lib/Components/AmountInput/AmountInput.stories.js.map +1 -1
- package/dist/module/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.js +1 -1
- package/dist/module/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.js.map +1 -1
- package/dist/module/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +20 -1
- package/dist/module/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.js +2 -2
- package/dist/module/lib/Components/Avatar/Avatar.mdx +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.stories.js +2 -1
- package/dist/module/lib/Components/Avatar/Avatar.stories.js.map +1 -1
- package/dist/module/lib/Components/Banner/Banner.js +1 -2
- package/dist/module/lib/Components/Banner/Banner.js.map +1 -1
- package/dist/module/lib/Components/Banner/Banner.mdx +1 -1
- package/dist/module/lib/Components/Banner/Banner.stories.js +2 -1
- package/dist/module/lib/Components/Banner/Banner.stories.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.mdx +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.stories.js +2 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.stories.js.map +1 -1
- package/dist/module/lib/Components/Button/Button.js +1 -2
- package/dist/module/lib/Components/Button/Button.js.map +1 -1
- package/dist/module/lib/Components/Button/Button.mdx +3 -3
- package/dist/module/lib/Components/Button/Button.stories.js +2 -1
- package/dist/module/lib/Components/Button/Button.stories.js.map +1 -1
- package/dist/module/lib/Components/Card/Card.js +1 -1
- package/dist/module/lib/Components/Card/Card.mdx +1 -1
- package/dist/module/lib/Components/Card/Card.stories.js +2 -1
- package/dist/module/lib/Components/Card/Card.stories.js.map +1 -1
- package/dist/module/lib/Components/CardButton/CardButton.js +1 -2
- package/dist/module/lib/Components/CardButton/CardButton.js.map +1 -1
- package/dist/module/lib/Components/CardButton/CardButton.mdx +1 -1
- package/dist/module/lib/Components/CardButton/CardButton.stories.js +2 -1
- package/dist/module/lib/Components/CardButton/CardButton.stories.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.js +1 -2
- package/dist/module/lib/Components/Checkbox/Checkbox.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.mdx +1 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.stories.js +2 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.stories.js.map +1 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.js +1 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.mdx +1 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.stories.js +2 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.stories.js.map +1 -1
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.js +1 -1
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.mdx +1 -1
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.stories.js +2 -1
- package/dist/module/lib/Components/DescriptionItem/DescriptionItem.stories.js.map +1 -1
- package/dist/module/lib/Components/Divider/Divider.js +1 -1
- package/dist/module/lib/Components/Divider/Divider.mdx +1 -1
- package/dist/module/lib/Components/Divider/Divider.stories.js +2 -1
- package/dist/module/lib/Components/Divider/Divider.stories.js.map +1 -1
- package/dist/module/lib/Components/DotCount/DotCount.mdx +1 -1
- package/dist/module/lib/Components/DotCount/DotCount.stories.js +2 -1
- package/dist/module/lib/Components/DotCount/DotCount.stories.js.map +1 -1
- package/dist/module/lib/Components/DotIcon/DotIcon.mdx +1 -1
- package/dist/module/lib/Components/DotIcon/DotIcon.stories.js +2 -1
- package/dist/module/lib/Components/DotIcon/DotIcon.stories.js.map +1 -1
- package/dist/module/lib/Components/DotIndicator/DotIndicator.mdx +1 -1
- package/dist/module/lib/Components/DotIndicator/DotIndicator.stories.js +2 -1
- package/dist/module/lib/Components/DotIndicator/DotIndicator.stories.js.map +1 -1
- package/dist/module/lib/Components/DotSymbol/DotSymbol.mdx +1 -1
- package/dist/module/lib/Components/DotSymbol/DotSymbol.stories.js +2 -1
- package/dist/module/lib/Components/DotSymbol/DotSymbol.stories.js.map +1 -1
- package/dist/module/lib/Components/Icon/Icon.mdx +211 -0
- package/dist/module/lib/Components/Icon/Icon.stories.js +3 -2
- package/dist/module/lib/Components/Icon/Icon.stories.js.map +1 -1
- package/dist/module/lib/Components/IconButton/IconButton.mdx +1 -1
- package/dist/module/lib/Components/IconButton/IconButton.stories.js +2 -1
- package/dist/module/lib/Components/IconButton/IconButton.stories.js.map +1 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.js +1 -2
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.js.map +1 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.mdx +1 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.stories.js +2 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.stories.js.map +1 -1
- package/dist/module/lib/Components/Link/Link.js +1 -2
- package/dist/module/lib/Components/Link/Link.js.map +1 -1
- package/dist/module/lib/Components/Link/Link.mdx +1 -1
- package/dist/module/lib/Components/Link/Link.stories.js +2 -1
- package/dist/module/lib/Components/Link/Link.stories.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.js +1 -2
- package/dist/module/lib/Components/ListItem/ListItem.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.mdx +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.stories.js +2 -1
- package/dist/module/lib/Components/ListItem/ListItem.stories.js.map +1 -1
- package/dist/module/lib/Components/MediaBanner/MediaBanner.js +1 -1
- package/dist/module/lib/Components/MediaBanner/MediaBanner.mdx +1 -1
- package/dist/module/lib/Components/MediaBanner/MediaBanner.stories.js +2 -1
- package/dist/module/lib/Components/MediaBanner/MediaBanner.stories.js.map +1 -1
- package/dist/module/lib/Components/MediaButton/MediaButton.mdx +2 -2
- package/dist/module/lib/Components/MediaButton/MediaButton.stories.js +2 -1
- package/dist/module/lib/Components/MediaButton/MediaButton.stories.js.map +1 -1
- package/dist/module/lib/Components/MediaCard/MediaCard.mdx +1 -1
- package/dist/module/lib/Components/MediaCard/MediaCard.stories.js +2 -1
- package/dist/module/lib/Components/MediaCard/MediaCard.stories.js.map +1 -1
- package/dist/module/lib/Components/MediaImage/MediaImage.mdx +1 -1
- package/dist/module/lib/Components/MediaImage/MediaImage.stories.js +2 -1
- package/dist/module/lib/Components/MediaImage/MediaImage.stories.js.map +1 -1
- package/dist/module/lib/Components/MediaTag/MediaTag.js +1 -2
- package/dist/module/lib/Components/MediaTag/MediaTag.js.map +1 -1
- package/dist/module/lib/Components/MediaTag/MediaTag.mdx +2 -2
- package/dist/module/lib/Components/MediaTag/MediaTag.stories.js +2 -1
- package/dist/module/lib/Components/MediaTag/MediaTag.stories.js.map +1 -1
- package/dist/module/lib/Components/NavBar/NavBar.mdx +1 -1
- package/dist/module/lib/Components/NavBar/NavBar.stories.js +2 -1
- package/dist/module/lib/Components/NavBar/NavBar.stories.js.map +1 -1
- package/dist/module/lib/Components/OptionList/OptionList.js +16 -1
- package/dist/module/lib/Components/OptionList/OptionList.js.map +1 -1
- package/dist/module/lib/Components/OptionList/OptionList.mdx +46 -1
- package/dist/module/lib/Components/OptionList/OptionList.stories.js +63 -2
- package/dist/module/lib/Components/OptionList/OptionList.stories.js.map +1 -1
- package/dist/module/lib/Components/OptionList/OptionList.test.js +43 -1
- package/dist/module/lib/Components/OptionList/OptionList.test.js.map +1 -1
- package/dist/module/lib/Components/OptionList/useOptionList/useOptionListItems.js.map +1 -1
- package/dist/module/lib/Components/PageIndicator/PageIndicator.mdx +1 -1
- package/dist/module/lib/Components/PageIndicator/PageIndicator.stories.js +2 -1
- package/dist/module/lib/Components/PageIndicator/PageIndicator.stories.js.map +1 -1
- package/dist/module/lib/Components/SearchInput/SearchInput.mdx +1 -1
- package/dist/module/lib/Components/SearchInput/SearchInput.stories.js +2 -1
- package/dist/module/lib/Components/SearchInput/SearchInput.stories.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.js +7 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.mdx +29 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.stories.js +26 -2
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.stories.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.test.js +28 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.test.js.map +1 -1
- package/dist/module/lib/Components/Skeleton/Skeleton.mdx +1 -1
- package/dist/module/lib/Components/Skeleton/Skeleton.stories.js +2 -1
- package/dist/module/lib/Components/Skeleton/Skeleton.stories.js.map +1 -1
- package/dist/module/lib/Components/Spinner/Spinner.mdx +1 -1
- package/dist/module/lib/Components/Spinner/Spinner.stories.js +2 -1
- package/dist/module/lib/Components/Spinner/Spinner.stories.js.map +1 -1
- package/dist/module/lib/Components/Spot/Spot.js +1 -1
- package/dist/module/lib/Components/Spot/Spot.mdx +1 -1
- package/dist/module/lib/Components/Spot/Spot.stories.js +2 -1
- package/dist/module/lib/Components/Spot/Spot.stories.js.map +1 -1
- package/dist/module/lib/Components/Stepper/Stepper.mdx +1 -1
- package/dist/module/lib/Components/Stepper/Stepper.stories.js +2 -1
- package/dist/module/lib/Components/Stepper/Stepper.stories.js.map +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.mdx +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.stories.js +2 -1
- package/dist/module/lib/Components/Subheader/Subheader.stories.js.map +1 -1
- package/dist/module/lib/Components/Switch/Switch.js +1 -2
- package/dist/module/lib/Components/Switch/Switch.js.map +1 -1
- package/dist/module/lib/Components/Switch/Switch.mdx +1 -1
- package/dist/module/lib/Components/Switch/Switch.stories.js +2 -1
- package/dist/module/lib/Components/Switch/Switch.stories.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.js +8 -6
- package/dist/module/lib/Components/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.mdx +30 -1
- package/dist/module/lib/Components/TabBar/TabBar.stories.js +37 -2
- package/dist/module/lib/Components/TabBar/TabBar.stories.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.test.js +28 -1
- package/dist/module/lib/Components/TabBar/TabBar.test.js.map +1 -1
- package/dist/module/lib/Components/TabBar/index.js +2 -1
- package/dist/module/lib/Components/TabBar/index.js.map +1 -1
- package/dist/module/lib/Components/Tag/Tag.js +1 -2
- package/dist/module/lib/Components/Tag/Tag.js.map +1 -1
- package/dist/module/lib/Components/Tag/Tag.mdx +1 -1
- package/dist/module/lib/Components/Tag/Tag.stories.js +2 -1
- package/dist/module/lib/Components/Tag/Tag.stories.js.map +1 -1
- package/dist/module/lib/Components/TextInput/TextInput.mdx +1 -1
- package/dist/module/lib/Components/TextInput/TextInput.stories.js +2 -1
- package/dist/module/lib/Components/TextInput/TextInput.stories.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.js +1 -2
- package/dist/module/lib/Components/Tile/Tile.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.mdx +1 -1
- package/dist/module/lib/Components/Tile/Tile.stories.js +2 -1
- package/dist/module/lib/Components/Tile/Tile.stories.js.map +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.js +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.mdx +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.stories.js +2 -1
- package/dist/module/lib/Components/TileButton/TileButton.stories.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipBottomSheet.js +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.js +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.mdx +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.stories.js +2 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.stories.js.map +1 -1
- package/dist/module/lib/Components/Trend/Trend.mdx +1 -1
- package/dist/module/lib/Components/Trend/Trend.stories.js +2 -1
- package/dist/module/lib/Components/Trend/Trend.stories.js.map +1 -1
- package/dist/module/lib/Components/Utility/Box/Box.js +1 -1
- package/dist/module/lib/Components/Utility/Box/Box.mdx +1 -1
- package/dist/module/lib/Components/Utility/Box/Box.stories.js +2 -1
- package/dist/module/lib/Components/Utility/Box/Box.stories.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.js +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.mdx +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.stories.js +2 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.stories.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.js +1 -1
- package/dist/module/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.mdx +1 -1
- package/dist/module/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.stories.js +2 -1
- package/dist/module/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.stories.js.map +1 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.js +1 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.mdx +1 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.stories.js +2 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.stories.js.map +1 -1
- package/dist/module/lib/Components/Utility/Text/Text.js +1 -1
- package/dist/module/lib/Components/Utility/Text/Text.mdx +1 -1
- package/dist/module/lib/Components/Utility/Text/Text.stories.js +2 -1
- package/dist/module/lib/Components/Utility/Text/Text.stories.js.map +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -2
- package/dist/typescript/src/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/AmountInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/types.d.ts +8 -0
- package/dist/typescript/src/lib/Components/AmountInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.d.ts +1 -0
- package/dist/typescript/src/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Banner/Banner.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Banner/Banner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/Button.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Button/Button.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/Card.d.ts +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts +1 -2
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/ContentBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/DescriptionItem/DescriptionItem.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Divider/Divider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +1 -2
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Link/Link.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Link/Link.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts +1 -2
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaTag/MediaTag.d.ts +1 -2
- package/dist/typescript/src/lib/Components/MediaTag/MediaTag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/OptionList/OptionList.d.ts +18 -4
- package/dist/typescript/src/lib/Components/OptionList/OptionList.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/OptionList/types.d.ts +16 -15
- package/dist/typescript/src/lib/Components/OptionList/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/OptionList/useOptionList/useOptionListItems.d.ts +9 -9
- package/dist/typescript/src/lib/Components/OptionList/useOptionList/useOptionListItems.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControl.d.ts +8 -3
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts +6 -5
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spot/Spot.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts +8 -4
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/index.d.ts +2 -2
- package/dist/typescript/src/lib/Components/TabBar/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/types.d.ts +17 -16
- package/dist/typescript/src/lib/Components/TabBar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipBottomSheet.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Box/Box.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Pressable/Pressable.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Text/Text.d.ts +1 -1
- package/package.json +3 -3
- package/src/lib/Animations/Pulse/Pulse.mdx +1 -1
- package/src/lib/Animations/Pulse/Pulse.stories.tsx +2 -1
- package/src/lib/Animations/Spin/Spin.mdx +1 -1
- package/src/lib/Animations/Spin/Spin.stories.tsx +2 -1
- package/src/lib/Components/AddressInput/AddressInput.mdx +2 -2
- package/src/lib/Components/AddressInput/AddressInput.stories.tsx +2 -1
- package/src/lib/Components/AmountDisplay/AmountDisplay.mdx +1 -1
- package/src/lib/Components/AmountDisplay/AmountDisplay.stories.tsx +2 -1
- package/src/lib/Components/AmountDisplay/AmountDisplay.tsx +1 -2
- package/src/lib/Components/AmountInput/AmountInput.mdx +1 -1
- package/src/lib/Components/AmountInput/AmountInput.stories.tsx +16 -1
- package/src/lib/Components/AmountInput/AmountInput.tsx +2 -0
- package/src/lib/Components/AmountInput/types.ts +8 -0
- package/src/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +20 -0
- package/src/lib/Components/AmountInput/useAmountInputFormatting/useAmountInputFormatting.ts +2 -0
- package/src/lib/Components/Avatar/Avatar.mdx +1 -1
- package/src/lib/Components/Avatar/Avatar.stories.tsx +2 -1
- package/src/lib/Components/Avatar/Avatar.tsx +2 -2
- package/src/lib/Components/Banner/Banner.mdx +1 -1
- package/src/lib/Components/Banner/Banner.stories.tsx +2 -1
- package/src/lib/Components/Banner/Banner.tsx +1 -2
- package/src/lib/Components/BottomSheet/BottomSheet.mdx +1 -1
- package/src/lib/Components/BottomSheet/BottomSheet.stories.tsx +2 -1
- package/src/lib/Components/Button/Button.mdx +3 -3
- package/src/lib/Components/Button/Button.stories.tsx +2 -1
- package/src/lib/Components/Button/Button.tsx +1 -2
- package/src/lib/Components/Card/Card.mdx +1 -1
- package/src/lib/Components/Card/Card.stories.tsx +2 -1
- package/src/lib/Components/Card/Card.tsx +1 -1
- package/src/lib/Components/CardButton/CardButton.mdx +1 -1
- package/src/lib/Components/CardButton/CardButton.stories.tsx +2 -1
- package/src/lib/Components/CardButton/CardButton.tsx +1 -2
- package/src/lib/Components/Checkbox/Checkbox.mdx +1 -1
- package/src/lib/Components/Checkbox/Checkbox.stories.tsx +2 -1
- package/src/lib/Components/Checkbox/Checkbox.tsx +1 -2
- package/src/lib/Components/ContentBanner/ContentBanner.mdx +1 -1
- package/src/lib/Components/ContentBanner/ContentBanner.stories.tsx +2 -1
- package/src/lib/Components/ContentBanner/ContentBanner.tsx +1 -1
- package/src/lib/Components/DescriptionItem/DescriptionItem.mdx +1 -1
- package/src/lib/Components/DescriptionItem/DescriptionItem.stories.tsx +2 -1
- package/src/lib/Components/DescriptionItem/DescriptionItem.tsx +1 -1
- package/src/lib/Components/Divider/Divider.mdx +1 -1
- package/src/lib/Components/Divider/Divider.stories.tsx +2 -1
- package/src/lib/Components/Divider/Divider.tsx +1 -1
- package/src/lib/Components/DotCount/DotCount.mdx +1 -1
- package/src/lib/Components/DotCount/DotCount.stories.tsx +2 -1
- package/src/lib/Components/DotIcon/DotIcon.mdx +1 -1
- package/src/lib/Components/DotIcon/DotIcon.stories.tsx +2 -1
- package/src/lib/Components/DotIndicator/DotIndicator.mdx +1 -1
- package/src/lib/Components/DotIndicator/DotIndicator.stories.tsx +2 -1
- package/src/lib/Components/DotSymbol/DotSymbol.mdx +1 -1
- package/src/lib/Components/DotSymbol/DotSymbol.stories.tsx +2 -1
- package/src/lib/Components/Icon/Icon.mdx +211 -0
- package/src/lib/Components/Icon/Icon.stories.tsx +3 -2
- package/src/lib/Components/IconButton/IconButton.mdx +1 -1
- package/src/lib/Components/IconButton/IconButton.stories.tsx +2 -1
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.mdx +1 -1
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.stories.tsx +2 -1
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.tsx +1 -2
- package/src/lib/Components/Link/Link.mdx +1 -1
- package/src/lib/Components/Link/Link.stories.tsx +2 -1
- package/src/lib/Components/Link/Link.tsx +1 -2
- package/src/lib/Components/ListItem/ListItem.mdx +1 -1
- package/src/lib/Components/ListItem/ListItem.stories.tsx +2 -1
- package/src/lib/Components/ListItem/ListItem.tsx +1 -2
- package/src/lib/Components/MediaBanner/MediaBanner.mdx +1 -1
- package/src/lib/Components/MediaBanner/MediaBanner.stories.tsx +2 -1
- package/src/lib/Components/MediaBanner/MediaBanner.tsx +1 -1
- package/src/lib/Components/MediaButton/MediaButton.mdx +2 -2
- package/src/lib/Components/MediaButton/MediaButton.stories.tsx +2 -1
- package/src/lib/Components/MediaCard/MediaCard.mdx +1 -1
- package/src/lib/Components/MediaCard/MediaCard.stories.tsx +2 -1
- package/src/lib/Components/MediaImage/MediaImage.mdx +1 -1
- package/src/lib/Components/MediaImage/MediaImage.stories.tsx +2 -1
- package/src/lib/Components/MediaTag/MediaTag.mdx +2 -2
- package/src/lib/Components/MediaTag/MediaTag.stories.tsx +2 -1
- package/src/lib/Components/MediaTag/MediaTag.tsx +1 -2
- package/src/lib/Components/NavBar/NavBar.mdx +1 -1
- package/src/lib/Components/NavBar/NavBar.stories.tsx +2 -1
- package/src/lib/Components/OptionList/OptionList.mdx +46 -1
- package/src/lib/Components/OptionList/OptionList.stories.tsx +65 -1
- package/src/lib/Components/OptionList/OptionList.test.tsx +40 -0
- package/src/lib/Components/OptionList/OptionList.tsx +57 -10
- package/src/lib/Components/OptionList/types.ts +34 -15
- package/src/lib/Components/OptionList/useOptionList/useOptionListItems.ts +28 -13
- package/src/lib/Components/PageIndicator/PageIndicator.mdx +1 -1
- package/src/lib/Components/PageIndicator/PageIndicator.stories.tsx +2 -1
- package/src/lib/Components/SearchInput/SearchInput.mdx +1 -1
- package/src/lib/Components/SearchInput/SearchInput.stories.tsx +2 -1
- package/src/lib/Components/SegmentedControl/SegmentedControl.mdx +29 -1
- package/src/lib/Components/SegmentedControl/SegmentedControl.stories.tsx +36 -2
- package/src/lib/Components/SegmentedControl/SegmentedControl.test.tsx +32 -1
- package/src/lib/Components/SegmentedControl/SegmentedControl.tsx +22 -5
- package/src/lib/Components/SegmentedControl/types.ts +11 -5
- package/src/lib/Components/Skeleton/Skeleton.mdx +1 -1
- package/src/lib/Components/Skeleton/Skeleton.stories.tsx +2 -1
- package/src/lib/Components/Spinner/Spinner.mdx +1 -1
- package/src/lib/Components/Spinner/Spinner.stories.tsx +2 -1
- package/src/lib/Components/Spot/Spot.mdx +1 -1
- package/src/lib/Components/Spot/Spot.stories.tsx +2 -1
- package/src/lib/Components/Spot/Spot.tsx +1 -1
- package/src/lib/Components/Stepper/Stepper.mdx +1 -1
- package/src/lib/Components/Stepper/Stepper.stories.tsx +2 -1
- package/src/lib/Components/Subheader/Subheader.mdx +1 -1
- package/src/lib/Components/Subheader/Subheader.stories.tsx +2 -1
- package/src/lib/Components/Switch/Switch.mdx +1 -1
- package/src/lib/Components/Switch/Switch.stories.tsx +2 -1
- package/src/lib/Components/Switch/Switch.tsx +1 -2
- package/src/lib/Components/TabBar/TabBar.mdx +30 -1
- package/src/lib/Components/TabBar/TabBar.stories.tsx +36 -2
- package/src/lib/Components/TabBar/TabBar.test.tsx +23 -1
- package/src/lib/Components/TabBar/TabBar.tsx +18 -11
- package/src/lib/Components/TabBar/index.ts +2 -2
- package/src/lib/Components/TabBar/types.ts +19 -17
- package/src/lib/Components/Tag/Tag.mdx +1 -1
- package/src/lib/Components/Tag/Tag.stories.tsx +2 -1
- package/src/lib/Components/Tag/Tag.tsx +1 -2
- package/src/lib/Components/TextInput/TextInput.mdx +1 -1
- package/src/lib/Components/TextInput/TextInput.stories.tsx +2 -1
- package/src/lib/Components/Tile/Tile.mdx +1 -1
- package/src/lib/Components/Tile/Tile.stories.tsx +2 -1
- package/src/lib/Components/Tile/Tile.tsx +1 -2
- package/src/lib/Components/TileButton/TileButton.mdx +1 -1
- package/src/lib/Components/TileButton/TileButton.stories.tsx +2 -1
- package/src/lib/Components/TileButton/TileButton.tsx +1 -1
- package/src/lib/Components/Tooltip/GlobalTooltipBottomSheet.tsx +1 -1
- package/src/lib/Components/Tooltip/Tooltip.mdx +1 -1
- package/src/lib/Components/Tooltip/Tooltip.stories.tsx +2 -1
- package/src/lib/Components/Tooltip/Tooltip.tsx +1 -1
- package/src/lib/Components/Trend/Trend.mdx +1 -1
- package/src/lib/Components/Trend/Trend.stories.tsx +2 -1
- package/src/lib/Components/Utility/Box/Box.mdx +1 -1
- package/src/lib/Components/Utility/Box/Box.stories.tsx +2 -1
- package/src/lib/Components/Utility/Box/Box.tsx +1 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.mdx +1 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.stories.tsx +2 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.tsx +1 -1
- package/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.mdx +1 -1
- package/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.stories.tsx +2 -1
- package/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.tsx +1 -1
- package/src/lib/Components/Utility/Pressable/Pressable.mdx +1 -1
- package/src/lib/Components/Utility/Pressable/Pressable.stories.tsx +2 -1
- package/src/lib/Components/Utility/Pressable/Pressable.tsx +1 -1
- package/src/lib/Components/Utility/Text/Text.mdx +1 -1
- package/src/lib/Components/Utility/Text/Text.stories.tsx +2 -1
- package/src/lib/Components/Utility/Text/Text.tsx +1 -1
|
@@ -6,8 +6,7 @@ import type { ListItemContentProps, ListItemContentRowProps, ListItemDescription
|
|
|
6
6
|
* A flexible list item component that provides a composable structure for displaying
|
|
7
7
|
* interactive list items with leading content, title, description, and trailing content.
|
|
8
8
|
*
|
|
9
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
10
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/react-native_containment-listitem--docs#dos-and-donts Guidelines}
|
|
9
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-listitem--docs Guidelines}
|
|
11
10
|
*
|
|
12
11
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
13
12
|
* Do not use it to modify the list item's core appearance (colors, padding, etc).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAa,GAAG,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAkB,IAAI,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAoCjB
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAa,GAAG,EAAE,MAAM,OAAO,CAAC;AAE1D,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAkB,IAAI,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAoCjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,QAAQ,GAAI,+FAUtB,aAAa,4CA+Cf,CAAC;AAsBF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,wCAM7B,oBAAoB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;CAAE,4CAwB5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,wCAM7B,oBAAoB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;CAAE,4CA4B5C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,wCAMhC,uBAAuB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;CAAE,4CAuB/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,wCAM3B,kBAAkB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;CAAE,4CAsC/D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAMjC,wBAAwB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;CAAE,4CAsCrE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,wCAM9B,qBAAqB,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;CAAE,4CAuB7C,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { MediaBannerDescriptionProps, MediaBannerProps, MediaBannerTitlePro
|
|
|
2
2
|
/**
|
|
3
3
|
* A promotional banner with a background image, title, description, and an optional close button.
|
|
4
4
|
*
|
|
5
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
5
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-mediabanner--docs Storybook}
|
|
6
6
|
*/
|
|
7
7
|
export declare function MediaBanner({ lx, style, imageUrl, onClose, closeAccessibilityLabel, children, ...props }: MediaBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
/**
|
|
@@ -4,8 +4,7 @@ import type { MediaTagProps } from './types';
|
|
|
4
4
|
*
|
|
5
5
|
* The appearance determines the color scheme used.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/communication-mediatag-implementation--docs#dos-and-donts Guidelines}
|
|
7
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-mediatag--docs Guidelines}
|
|
9
8
|
*
|
|
10
9
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
11
10
|
* Do not use it to modify the tag's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaTag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaTag/MediaTag.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C
|
|
1
|
+
{"version":3,"file":"MediaTag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaTag/MediaTag.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ,GAAI,8BAA8B,aAAa,4CASnE,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
import type { MetaShape, OptionListProps, OptionListContentProps, OptionListItemProps, OptionListItemLeadingProps, OptionListItemTextProps, OptionListItemDescriptionProps, OptionListItemContentProps, OptionListItemContentRowProps, OptionListEmptyStateProps, OptionListSearchProps, OptionListTriggerProps, OptionListValue } from './types';
|
|
3
|
+
export declare const OptionList: <T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape>({ items, value, defaultValue, onValueChange, disabled: disabledProp, filter, filteredItems, searchValue, defaultSearchValue, onSearchValueChange, children, }: OptionListProps<T, TMeta>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const OptionListContent: <T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape>({ renderItem, lx, style, ref, ...props }: OptionListContentProps<T, TMeta>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const OptionListItem: <T extends OptionListValue = OptionListValue>({ value, disabled: disabledProp, children, lx, style, ref, ...props }: OptionListItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
export declare const OptionListItemText: ({ children, lx, style, ref, ...props }: OptionListItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export declare const OptionListItemDescription: ({ children, lx, style, ref, ...props }: OptionListItemDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export declare const OptionListItemContent: ({ children, lx, style, ref, ...props }: OptionListItemContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,4 +11,17 @@ export declare const OptionListItemLeading: ({ children, lx, style, ref, ...prop
|
|
|
10
11
|
export declare const OptionListSearch: ({ ref, ...props }: OptionListSearchProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export declare const OptionListEmptyState: ({ title, description, lx, style, ref, ...props }: OptionListEmptyStateProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
13
|
export declare const OptionListTrigger: ({ label, onPress, disabled: disabledProp, children, lx, style, ref, ...props }: OptionListTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function createOptionList<T extends OptionListValue = never, TMeta extends MetaShape = MetaShape>(): {
|
|
15
|
+
OptionList: (props: OptionListProps<T, TMeta>) => ReactElement;
|
|
16
|
+
OptionListContent: (props: OptionListContentProps<T, TMeta>) => ReactElement;
|
|
17
|
+
OptionListItem: (props: OptionListItemProps<T>) => ReactElement;
|
|
18
|
+
OptionListItemText: (props: OptionListItemTextProps) => ReactElement;
|
|
19
|
+
OptionListItemDescription: (props: OptionListItemDescriptionProps) => ReactElement;
|
|
20
|
+
OptionListItemContent: (props: OptionListItemContentProps) => ReactElement;
|
|
21
|
+
OptionListItemContentRow: (props: OptionListItemContentRowProps) => ReactElement;
|
|
22
|
+
OptionListItemLeading: (props: OptionListItemLeadingProps) => ReactElement;
|
|
23
|
+
OptionListSearch: (props: OptionListSearchProps) => ReactElement;
|
|
24
|
+
OptionListEmptyState: (props: OptionListEmptyStateProps) => ReactElement | null;
|
|
25
|
+
OptionListTrigger: (props: OptionListTriggerProps) => ReactElement;
|
|
26
|
+
};
|
|
13
27
|
//# sourceMappingURL=OptionList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/OptionList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/OptionList.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAY,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAC;AAQpE,OAAO,KAAK,EACV,SAAS,EAGT,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EAEtB,eAAe,EAChB,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,UAAU,GACrB,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,EACnC,+JAYC,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC,4CA8C3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,EACnC,0CAMC,sBAAsB,CAAC,CAAC,EAAE,KAAK,CAAC,4CAqClC,CAAC;AA4BF,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,eAAe,GAAG,eAAe,EAAE,uEAQzE,mBAAmB,CAAC,CAAC,CAAC,4CA+BxB,CAAC;AAyB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E,CAAC,KAAK,EAAE,qBAAqB,KAAK,YAAY,CAAC;IACjE,oBAAoB,EAAE,CACpB,KAAK,EAAE,yBAAyB,KAC7B,YAAY,GAAG,IAAI,CAAC;IACzB,iBAAiB,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,YAAY,CAAC;CACpE,CAcA"}
|
|
@@ -2,9 +2,10 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { StyledPressableProps, StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
3
|
import type { SearchInputProps } from '../SearchInput';
|
|
4
4
|
export type MetaShape = Record<string, unknown>;
|
|
5
|
-
export type
|
|
5
|
+
export type OptionListValue = string;
|
|
6
|
+
export type OptionListItemData<T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape> = {
|
|
6
7
|
/** Unique string identifier for this item, used for selection tracking. */
|
|
7
|
-
value:
|
|
8
|
+
value: T;
|
|
8
9
|
/** Display text. */
|
|
9
10
|
label: string;
|
|
10
11
|
/** Secondary text displayed below the label inside the item. */
|
|
@@ -35,28 +36,28 @@ export type OptionListContextValue = {
|
|
|
35
36
|
handleSearchValueChange: (value: string) => void;
|
|
36
37
|
};
|
|
37
38
|
/** Internal type -- consumers never construct this directly. */
|
|
38
|
-
export type OptionListItemGroup<TMeta extends MetaShape = MetaShape> = {
|
|
39
|
+
export type OptionListItemGroup<T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape> = {
|
|
39
40
|
label: string;
|
|
40
|
-
items: OptionListItemData<TMeta>[];
|
|
41
|
+
items: OptionListItemData<T, TMeta>[];
|
|
41
42
|
};
|
|
42
|
-
export type OptionListProps<TMeta extends MetaShape = MetaShape> = {
|
|
43
|
+
export type OptionListProps<T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape> = {
|
|
43
44
|
/**
|
|
44
45
|
* Flat array of items.
|
|
45
46
|
* Use the `group` field on each item for automatic grouping.
|
|
46
47
|
*/
|
|
47
|
-
items: OptionListItemData<TMeta>[];
|
|
48
|
+
items: OptionListItemData<T, TMeta>[];
|
|
48
49
|
/**
|
|
49
50
|
* The controlled selected value.
|
|
50
51
|
*/
|
|
51
|
-
value?:
|
|
52
|
+
value?: T | null;
|
|
52
53
|
/**
|
|
53
54
|
* The default selected value (uncontrolled)
|
|
54
55
|
*/
|
|
55
|
-
defaultValue?:
|
|
56
|
+
defaultValue?: T | null;
|
|
56
57
|
/**
|
|
57
58
|
* Called when the selected value changes.
|
|
58
59
|
*/
|
|
59
|
-
onValueChange?: (value:
|
|
60
|
+
onValueChange?: (value: T | null) => void;
|
|
60
61
|
/**
|
|
61
62
|
* When true, prevents interaction with the entire list.
|
|
62
63
|
*/
|
|
@@ -65,12 +66,12 @@ export type OptionListProps<TMeta extends MetaShape = MetaShape> = {
|
|
|
65
66
|
* Custom item/query matcher.
|
|
66
67
|
* Defaults to case-insensitive label match; `null` disables filtering.
|
|
67
68
|
*/
|
|
68
|
-
filter?: null | ((item: OptionListItemData<TMeta>, query: string) => boolean);
|
|
69
|
+
filter?: null | ((item: OptionListItemData<T, TMeta>, query: string) => boolean);
|
|
69
70
|
/**
|
|
70
71
|
* Pre-filtered items for async/remote search.
|
|
71
72
|
* Bypasses internal filtering.
|
|
72
73
|
*/
|
|
73
|
-
filteredItems?: OptionListItemData<TMeta>[];
|
|
74
|
+
filteredItems?: OptionListItemData<T, TMeta>[];
|
|
74
75
|
/**
|
|
75
76
|
* Controlled search input value.
|
|
76
77
|
*/
|
|
@@ -85,13 +86,13 @@ export type OptionListProps<TMeta extends MetaShape = MetaShape> = {
|
|
|
85
86
|
onSearchValueChange?: (value: string) => void;
|
|
86
87
|
children: ReactNode;
|
|
87
88
|
};
|
|
88
|
-
export type OptionListContentProps<TMeta extends MetaShape = MetaShape> = {
|
|
89
|
+
export type OptionListContentProps<T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape> = {
|
|
89
90
|
/** Render function called for each item. Receives the item data and selection/disabled state. */
|
|
90
|
-
renderItem: (item: OptionListItemData<TMeta>, selected: boolean) => ReactNode;
|
|
91
|
+
renderItem: (item: OptionListItemData<T, TMeta>, selected: boolean) => ReactNode;
|
|
91
92
|
} & Omit<StyledViewProps, 'children'>;
|
|
92
|
-
export type OptionListItemProps = {
|
|
93
|
+
export type OptionListItemProps<T extends OptionListValue = OptionListValue> = {
|
|
93
94
|
/** The value associated with this item, used for selection matching. */
|
|
94
|
-
value:
|
|
95
|
+
value: T;
|
|
95
96
|
/** Whether the item is disabled. */
|
|
96
97
|
disabled?: boolean;
|
|
97
98
|
children: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEhD,MAAM,MAAM,kBAAkB,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEhD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC;AAErC,MAAM,MAAM,kBAAkB,CAC5B,CAA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AAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC,CAAC"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { MetaShape, OptionListItemData, OptionListItemGroup } from '../types';
|
|
1
|
+
import type { MetaShape, OptionListItemData, OptionListItemGroup, OptionListValue } from '../types';
|
|
2
2
|
export declare const defaultLabelFilter: (item: OptionListItemData, query: string) => boolean;
|
|
3
|
-
type UseOptionListItemsParams<TMeta extends MetaShape = MetaShape> = {
|
|
4
|
-
items: OptionListItemData<TMeta>[];
|
|
5
|
-
filter?: null | ((item: OptionListItemData<TMeta>, query: string) => boolean);
|
|
6
|
-
filteredItems?: OptionListItemData<TMeta>[];
|
|
3
|
+
type UseOptionListItemsParams<T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape> = {
|
|
4
|
+
items: OptionListItemData<T, TMeta>[];
|
|
5
|
+
filter?: null | ((item: OptionListItemData<T, TMeta>, query: string) => boolean);
|
|
6
|
+
filteredItems?: OptionListItemData<T, TMeta>[];
|
|
7
7
|
searchValue?: string;
|
|
8
8
|
defaultSearchValue?: string;
|
|
9
9
|
onSearchValueChange?: (value: string) => void;
|
|
10
10
|
};
|
|
11
|
-
type UseOptionListItemsResult<TMeta extends MetaShape = MetaShape> = {
|
|
11
|
+
type UseOptionListItemsResult<T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape> = {
|
|
12
12
|
isGrouped: boolean;
|
|
13
|
-
groups: OptionListItemGroup<TMeta>[];
|
|
14
|
-
flatItems: OptionListItemData<TMeta>[];
|
|
13
|
+
groups: OptionListItemGroup<T, TMeta>[];
|
|
14
|
+
flatItems: OptionListItemData<T, TMeta>[];
|
|
15
15
|
resolvedSearchValue: string;
|
|
16
16
|
handleSearchValueChange: (val: string) => void;
|
|
17
17
|
};
|
|
18
|
-
export declare const useOptionListItems: <TMeta extends MetaShape = MetaShape>({ items, filter, filteredItems, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange, }: UseOptionListItemsParams<TMeta>) => UseOptionListItemsResult<TMeta>;
|
|
18
|
+
export declare const useOptionListItems: <T extends OptionListValue = OptionListValue, TMeta extends MetaShape = MetaShape>({ items, filter, filteredItems, searchValue: searchValueProp, defaultSearchValue, onSearchValueChange, }: UseOptionListItemsParams<T, TMeta>) => UseOptionListItemsResult<T, TMeta>;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=useOptionListItems.d.ts.map
|
package/dist/typescript/src/lib/Components/OptionList/useOptionList/useOptionListItems.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOptionListItems.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/OptionList/useOptionList/useOptionListItems.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"useOptionListItems.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/OptionList/useOptionList/useOptionListItems.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAChB,MAAM,UAAU,CAAC;AAwBlB,eAAO,MAAM,kBAAkB,GAC7B,MAAM,kBAAkB,EACxB,OAAO,MAAM,KACZ,OAAiE,CAAC;AAErE,KAAK,wBAAwB,CAC3B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,IACjC;IACF,KAAK,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACtC,MAAM,CAAC,EACH,IAAI,GACJ,CAAC,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC;IACrE,aAAa,CAAC,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,KAAK,wBAAwB,CAC3B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,IACjC;IACF,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IACxC,SAAS,EAAE,kBAAkB,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;IAC1C,mBAAmB,EAAE,MAAM,CAAC;IAC5B,uBAAuB,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,CAAC,SAAS,eAAe,GAAG,eAAe,EAC3C,KAAK,SAAS,SAAS,GAAG,SAAS,EACnC,0GAOC,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAAC,KAAG,wBAAwB,CAAC,CAAC,EAAE,KAAK,CAmCxE,CAAC"}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare function
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { SegmentedControlButtonProps, SegmentedControlProps, SegmentedControlValue } from './types';
|
|
3
|
+
export declare function SegmentedControlButton<T extends SegmentedControlValue = SegmentedControlValue>({ value, children, icon: Icon, trailingContent, onPress, ...props }: SegmentedControlButtonProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function SegmentedControl<T extends SegmentedControlValue = SegmentedControlValue>({ selectedValue, onSelectedChange, accessibilityLabel, children, disabled: disabledProp, appearance, tabLayout, ...props }: SegmentedControlProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function createSegmentedControl<T extends SegmentedControlValue = never>(): {
|
|
6
|
+
SegmentedControl: (props: SegmentedControlProps<T>) => ReactElement;
|
|
7
|
+
SegmentedControlButton: (props: SegmentedControlButtonProps<T>) => ReactElement;
|
|
8
|
+
};
|
|
4
9
|
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAU1C,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAMjB,wBAAgB,sBAAsB,CACpC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,EACvD,EACA,KAAK,EACL,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,eAAe,EACf,OAAO,EACP,GAAG,KAAK,EACT,EAAE,2BAA2B,CAAC,CAAC,CAAC,2CAoDhC;AAkDD,wBAAgB,gBAAgB,CAC9B,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,EACvD,EACA,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,UAAyB,EACzB,SAAmB,EACnB,GAAG,KAAK,EACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CA+C1B;AAuCD,wBAAgB,sBAAsB,CACpC,CAAC,SAAS,qBAAqB,GAAG,KAAK,KACpC;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;IACpE,sBAAsB,EAAE,CACtB,KAAK,EAAE,2BAA2B,CAAC,CAAC,CAAC,KAClC,YAAY,CAAC;CACnB,CAEA"}
|
|
@@ -2,15 +2,16 @@ import type { ComponentType, ReactNode } from 'react';
|
|
|
2
2
|
import type { LumenTextStyle, StyledPressableProps } from '../../../styles';
|
|
3
3
|
import type { IconSize } from '../Icon';
|
|
4
4
|
import type { BoxProps } from '../Utility';
|
|
5
|
-
export type
|
|
5
|
+
export type SegmentedControlValue = string;
|
|
6
|
+
export type SegmentedControlProps<T extends SegmentedControlValue = SegmentedControlValue> = {
|
|
6
7
|
/**
|
|
7
8
|
* The value of the currently selected segment (drives the sliding pill).
|
|
8
9
|
*/
|
|
9
|
-
selectedValue:
|
|
10
|
+
selectedValue: T;
|
|
10
11
|
/**
|
|
11
12
|
* Callback when the selected segment value changes.
|
|
12
13
|
*/
|
|
13
|
-
onSelectedChange: (value:
|
|
14
|
+
onSelectedChange: (value: T) => void;
|
|
14
15
|
/**
|
|
15
16
|
* When true, the entire control is disabled (no interaction, selected uses muted styling).
|
|
16
17
|
*/
|
|
@@ -40,11 +41,11 @@ type IconComponent = ComponentType<{
|
|
|
40
41
|
size?: IconSize;
|
|
41
42
|
color?: LumenTextStyle['color'];
|
|
42
43
|
}>;
|
|
43
|
-
export type SegmentedControlButtonProps = {
|
|
44
|
+
export type SegmentedControlButtonProps<T extends SegmentedControlValue = SegmentedControlValue> = {
|
|
44
45
|
/**
|
|
45
46
|
* Value for this segment (must be unique among siblings).
|
|
46
47
|
*/
|
|
47
|
-
value:
|
|
48
|
+
value: T;
|
|
48
49
|
/**
|
|
49
50
|
* Button label (e.g. "Preview", "Raw").
|
|
50
51
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OA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AAS,qBAAqB,GAAG,qBAAqB,IACrD;IACF;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC;IACT;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ import type { SpotProps } from './types';
|
|
|
7
7
|
* - `'number'` appearance requires a `number` prop
|
|
8
8
|
* - All other appearances are self-contained
|
|
9
9
|
*
|
|
10
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
10
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-spot--docs Storybook}
|
|
11
11
|
*
|
|
12
12
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
13
13
|
* Do not use it to modify the spot's core appearance (colors, size, etc). Use the `appearance` prop instead.
|
|
@@ -3,8 +3,7 @@ import type { SwitchProps } from './types';
|
|
|
3
3
|
* The switch follows the design system tokens and supports checked, unchecked,
|
|
4
4
|
* disabled, and focus states with proper active interactions.
|
|
5
5
|
*
|
|
6
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/react-native_selection-switch--docs#dos-and-donts Guidelines}
|
|
6
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-switch--docs Guidelines}
|
|
8
7
|
*
|
|
9
8
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
10
9
|
* Do not use it to modify the switch's core appearance.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Switch/Switch.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,SAAS,CAAC;AA6FvD
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Switch/Switch.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,SAAS,CAAC;AA6FvD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,MAAM,GAAI,8JAWpB,WAAW,4CA6Cb,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { TabBarItemProps, TabBarProps, TabBarValue } from './types';
|
|
2
3
|
export declare const TAB_BAR_HEIGHT = 60;
|
|
3
4
|
export declare function TabBarItem({ value, label, icon, activeIcon, style, ...props }: TabBarItemProps): import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
/**
|
|
5
6
|
* A horizontal tab bar with animated pill background and icon transitions.
|
|
6
7
|
* Provides smooth animations for active state changes and press interactions.
|
|
7
8
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
9
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/react-native_navigation-tabbar--docs#dos-and-donts Guidelines}
|
|
9
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-tabbar--docs Guidelines}
|
|
10
10
|
*
|
|
11
11
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
12
12
|
*
|
|
@@ -20,5 +20,9 @@ export declare function TabBarItem({ value, label, icon, activeIcon, style, ...p
|
|
|
20
20
|
* <TabBarItem value="settings" label="Settings" icon={Settings} />
|
|
21
21
|
* </TabBar>
|
|
22
22
|
*/
|
|
23
|
-
export declare function TabBar({ active, onTabPress, children, ...props }: TabBarProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function TabBar<T extends TabBarValue = TabBarValue>({ active, onTabPress, children, ...props }: TabBarProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function createTabBar<T extends TabBarValue = never>(): {
|
|
25
|
+
TabBar: (props: TabBarProps<T>) => ReactElement;
|
|
26
|
+
TabBarItem: (props: TabBarItemProps<T>) => ReactElement;
|
|
27
|
+
};
|
|
24
28
|
//# sourceMappingURL=TabBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/TabBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/TabBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,OAAO,CAAC;AAmBrD,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEzE,eAAO,MAAM,cAAc,KAAK,CAAC;AA+IjC,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,2CAmDjB;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAAE,EAC1D,MAAM,EACN,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,CAAC,CAAC,CAAC,2CA4ChB;AA4DD,wBAAgB,YAAY,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,KAAK;IAC7D,MAAM,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;IAChD,UAAU,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,KAAK,YAAY,CAAC;CACzD,CAEA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './TabBar';
|
|
2
|
+
export * from './types';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
@@ -5,11 +5,26 @@ import type { BoxProps } from '../Utility';
|
|
|
5
5
|
type IconComponent = ComponentType<{
|
|
6
6
|
size?: IconSize;
|
|
7
7
|
}>;
|
|
8
|
-
export type
|
|
8
|
+
export type TabBarValue = string;
|
|
9
|
+
export type TabBarProps<T extends TabBarValue = TabBarValue> = {
|
|
10
|
+
/**
|
|
11
|
+
* The value of the currently active tab.
|
|
12
|
+
*/
|
|
13
|
+
active: T;
|
|
14
|
+
/**
|
|
15
|
+
* The callback function called when a tab is pressed.
|
|
16
|
+
*/
|
|
17
|
+
onTabPress: (active: T) => void;
|
|
18
|
+
/**
|
|
19
|
+
* The tab items to display.
|
|
20
|
+
*/
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
} & Omit<BoxProps, 'children'>;
|
|
23
|
+
export type TabBarItemProps<T extends TabBarValue = TabBarValue> = {
|
|
9
24
|
/**
|
|
10
25
|
* The unique identifier for the tab item.
|
|
11
26
|
*/
|
|
12
|
-
value:
|
|
27
|
+
value: T;
|
|
13
28
|
/**
|
|
14
29
|
* The display label for the tab item.
|
|
15
30
|
* If not provided, the icon will be centered.
|
|
@@ -25,19 +40,5 @@ export type TabBarItemProps = {
|
|
|
25
40
|
*/
|
|
26
41
|
activeIcon?: IconComponent;
|
|
27
42
|
} & Omit<StyledViewProps, 'children'>;
|
|
28
|
-
export type TabBarProps = {
|
|
29
|
-
/**
|
|
30
|
-
* The value of the currently active tab.
|
|
31
|
-
*/
|
|
32
|
-
active: string;
|
|
33
|
-
/**
|
|
34
|
-
* The callback function called when a tab is pressed.
|
|
35
|
-
*/
|
|
36
|
-
onTabPress: (active: string) => void;
|
|
37
|
-
/**
|
|
38
|
-
* The tab items to display.
|
|
39
|
-
*/
|
|
40
|
-
children: ReactNode;
|
|
41
|
-
} & Omit<BoxProps, 'children'>;
|
|
42
43
|
export {};
|
|
43
44
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,KAAK,aAAa,GAAG,aAAa,CAAC;IACjC,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC,CAAC;AAEH,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/TabBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,KAAK,aAAa,GAAG,aAAa,CAAC;IACjC,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IAC7D;;OAEG;IACH,MAAM,EAAE,CAAC,CAAC;IACV;;OAEG;IACH,UAAU,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AAE/B,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,IAAI;IACjE;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC;IACT;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,aAAa,CAAC;CAC5B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -4,8 +4,7 @@ import type { TagProps } from './types';
|
|
|
4
4
|
*
|
|
5
5
|
* The appearance determines the color scheme used.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/communication-tag-implementation--docs#dos-and-donts Guidelines}
|
|
7
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-tag--docs Guidelines}
|
|
9
8
|
*
|
|
10
9
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
11
10
|
* Do not use it to modify the tag's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AASxC
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AASxC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,GAAG,GAAI,0BAAiC,QAAQ,4CAiB5D,CAAC"}
|
|
@@ -3,8 +3,7 @@ import type { TileContentProps, TileDescriptionProps, TileProps, TileTitleProps,
|
|
|
3
3
|
* A flexible tile component that uses a composite pattern for maximum customization.
|
|
4
4
|
* Displays content in a vertical layout with support for spots, text, and custom content.
|
|
5
5
|
*
|
|
6
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/react-native_containment-tile--docs#dos-and-donts Guidelines}
|
|
6
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-tile--docs Guidelines}
|
|
8
7
|
*
|
|
9
8
|
* @warning The `lx` prop should only be used for layout adjustments like margins or positioning.
|
|
10
9
|
* Do not use it to modify the tile's core appearance (colors, padding, etc). Use the `appearance` prop instead.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/Tile.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,SAAS,EACT,cAAc,EACd,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAwDjB
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tile/Tile.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,SAAS,EACT,cAAc,EACd,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAwDjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,eAAO,MAAM,IAAI,GAAI,sFASlB,SAAS,4CAiCX,CAAC;AA8BF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,4CAWpE,CAAC;AAuBF;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,yBAAyB,cAAc,4CA6BhE,CAAC;AAuBF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,GAAI,0BAI7B,oBAAoB,4CA6BtB,CAAC;AAgBF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,GAAI,0BAIjC,wBAAwB,4CAW1B,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { TileButtonProps } from './types';
|
|
|
3
3
|
* A compact button component displaying an icon above a label in a vertical layout.
|
|
4
4
|
* Ideal for grids, toolbars, or quick action menus.
|
|
5
5
|
*
|
|
6
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
6
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-tilebutton--docs Storybook}
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* import { TileButton } from '@ledgerhq/lumen-ui-rnative';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* BottomSheet component that displays tooltip content.
|
|
3
3
|
* This should be placed at the root level inside GestureHandlerRootView.
|
|
4
4
|
*
|
|
5
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
5
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-tooltip--docs Storybook}
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* import { GlobalTooltipProvider, GlobalTooltipBottomSheet } from '@ledgerhq/lumen-ui-rnative';
|
|
@@ -5,7 +5,7 @@ import type { TooltipProps, TooltipTriggerProps, TooltipContentProps } from './t
|
|
|
5
5
|
* This component coordinates between the trigger and content components.
|
|
6
6
|
* It works with GlobalTooltipProvider to ensure only one tooltip can be shown at a time.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-tooltip--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* import { GlobalTooltipProvider, Tooltip, TooltipTrigger, TooltipContent, GlobalTooltipBottomSheet } from '@ledgerhq/lumen-ui-rnative';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Box is a View wrapper that accepts design token-based style props directly,
|
|
5
5
|
* providing type-safe styling with autocomplete for spacing, sizes, colors, etc.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
7
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-box--docs Storybook}
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```tsx
|
package/dist/typescript/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { LinearGradientProps } from './types';
|
|
|
5
5
|
* Uses react-native-svg to render gradients that work consistently across platforms.
|
|
6
6
|
* Extends Box, so it supports all lx style props for layout and sizing.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-lineargradient--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```tsx
|
package/dist/typescript/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import type { RadialGradientProps } from './types';
|
|
|
5
5
|
* Uses react-native-svg to render gradients that work consistently across platforms.
|
|
6
6
|
* Extends Box, so it supports all lx style props for layout and sizing.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-radialgradient--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```tsx
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* token-based style props directly, providing type-safe styling with autocomplete
|
|
6
6
|
* for spacing, sizes, colors, etc. Use the `style` prop for pressed-state styling.
|
|
7
7
|
*
|
|
8
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
8
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-pressable--docs Storybook}
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ```tsx
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Text is a wrapper around React Native's Text that accepts a `typography` prop for
|
|
5
5
|
* typography presets, plus design token-based style props for colors, spacing, etc.
|
|
6
6
|
*
|
|
7
|
-
* @see {@link https://ldls.vercel.app/?path=/docs/
|
|
7
|
+
* @see {@link https://ldls-react-native.vercel.app/?path=/docs/rnative-text--docs Storybook}
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
10
|
* ```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/lumen-ui-rnative",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"!**/*.tsbuildinfo"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ledgerhq/lumen-utils-shared": "0.1.
|
|
45
|
+
"@ledgerhq/lumen-utils-shared": "0.1.7",
|
|
46
46
|
"i18next": "^23.7.0",
|
|
47
47
|
"react-i18next": "^14.0.0"
|
|
48
48
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@types/react": "^19.0.0",
|
|
54
54
|
"@gorhom/bottom-sheet": "^5.0.0",
|
|
55
|
-
"@ledgerhq/lumen-design-core": "0.1.
|
|
55
|
+
"@ledgerhq/lumen-design-core": "0.1.19",
|
|
56
56
|
"react": "^19.0.0",
|
|
57
57
|
"react-native": "~0.81.6",
|
|
58
58
|
"react-native-reanimated": "^4.1.0",
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from '../../../../.storybook/components';
|
|
8
8
|
import CommonRulesDoAndDont from '../../../../.storybook/components/DoVsDont/CommonRulesDoAndDont.mdx';
|
|
9
9
|
|
|
10
|
-
<Meta title='
|
|
10
|
+
<Meta title='Primitives/Pulse' of={PulseStories} />
|
|
11
11
|
|
|
12
12
|
# Pulse
|
|
13
13
|
|