@ledgerhq/lumen-ui-rnative 0.1.22 → 0.1.24
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/dist/module/i18n/I18nProvider.js.map +1 -1
- package/dist/module/i18n/i18n.js.map +1 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.js.map +1 -1
- package/dist/module/lib/Components/BaseInput/BaseInput.js +1 -1
- package/dist/module/lib/Components/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.test.js.map +1 -1
- package/dist/module/lib/Components/Card/Card.js +1 -1
- package/dist/module/lib/Components/Card/Card.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/BaseCheckbox.js.map +1 -1
- package/dist/module/lib/Components/InteractiveIcon/InteractiveIcon.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.js +57 -27
- package/dist/module/lib/Components/ListItem/ListItem.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.mdx +15 -7
- package/dist/module/lib/Components/ListItem/ListItem.stories.js +497 -283
- package/dist/module/lib/Components/ListItem/ListItem.stories.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.test.js +153 -0
- package/dist/module/lib/Components/ListItem/ListItem.test.js.map +1 -0
- package/dist/module/lib/Components/{TriggerButton/TriggerButton.js → MediaButton/MediaButton.js} +13 -10
- package/dist/module/lib/Components/MediaButton/MediaButton.js.map +1 -0
- package/{src/lib/Components/TriggerButton/TriggerButton.mdx → dist/module/lib/Components/MediaButton/MediaButton.mdx} +10 -10
- package/dist/module/lib/Components/{TriggerButton/TriggerButton.stories.js → MediaButton/MediaButton.stories.js} +18 -18
- package/dist/module/lib/Components/MediaButton/MediaButton.stories.js.map +1 -0
- package/dist/module/lib/Components/{TriggerButton/TriggerButton.test.js → MediaButton/MediaButton.test.js} +14 -14
- package/dist/module/lib/Components/MediaButton/MediaButton.test.js.map +1 -0
- package/dist/module/lib/Components/MediaButton/index.js +5 -0
- package/dist/module/lib/Components/MediaButton/index.js.map +1 -0
- package/dist/module/lib/Components/MediaButton/types.js.map +1 -0
- package/dist/module/lib/Components/NavBar/NavBar.js.map +1 -1
- package/dist/module/lib/Components/OptionList/OptionList.figma.js +28 -0
- package/dist/module/lib/Components/OptionList/OptionList.figma.js.map +1 -0
- package/dist/module/lib/Components/OptionList/OptionList.js +452 -0
- package/dist/module/lib/Components/OptionList/OptionList.js.map +1 -0
- package/dist/module/lib/Components/OptionList/OptionList.mdx +304 -0
- package/dist/module/lib/Components/OptionList/OptionList.stories.js +735 -0
- package/dist/module/lib/Components/OptionList/OptionList.stories.js.map +1 -0
- package/dist/module/lib/Components/OptionList/OptionList.test.js +443 -0
- package/dist/module/lib/Components/OptionList/OptionList.test.js.map +1 -0
- package/dist/module/lib/Components/OptionList/index.js +5 -0
- package/dist/module/lib/Components/OptionList/index.js.map +1 -0
- package/dist/module/lib/Components/OptionList/types.js +4 -0
- package/dist/module/lib/Components/OptionList/types.js.map +1 -0
- package/dist/module/lib/Components/OptionList/useOptionList/useOptionListItems.js +36 -0
- package/dist/module/lib/Components/OptionList/useOptionList/useOptionListItems.js.map +1 -0
- package/dist/module/lib/Components/OptionList/useOptionList/useOptionListItems.test.js +84 -0
- package/dist/module/lib/Components/OptionList/useOptionList/useOptionListItems.test.js.map +1 -0
- package/dist/module/lib/Components/SegmentedControl/usePillLayout.js.map +1 -1
- package/dist/module/lib/Components/Select/GlobalSelectContext.js.map +1 -1
- package/dist/module/lib/Components/Select/Select.js.map +1 -1
- package/dist/module/lib/Components/Slot/Slot.js.map +1 -1
- package/dist/module/lib/Components/Spinner/Spinner.js.map +1 -1
- package/dist/module/lib/Components/Spot/Spot.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.js +4 -4
- package/dist/module/lib/Components/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipContext.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.test.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.test.js.map +1 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.test.js.map +1 -1
- package/dist/module/lib/Components/index.js +2 -1
- package/dist/module/lib/Components/index.js.map +1 -1
- package/dist/module/lib/utils/components/InjectStylesIntoChildren.js.map +1 -1
- package/dist/module/lib/utils/constants/constants.js.map +1 -1
- package/dist/module/lib/utils/react/extractTextFromChildren.js.map +1 -1
- package/dist/module/lib/utils/useControllableState/useControllableState.js.map +1 -1
- package/dist/module/styles/hooks/useStyleSheet.js.map +1 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledPressable.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledText.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledView.js.map +1 -1
- package/dist/module/styles/lx/createStyledView.test.js.map +1 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.js.map +1 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +1 -1
- package/dist/module/utils/icon-template.js +0 -1
- package/dist/module/utils/icon-template.js.map +1 -1
- package/dist/typescript/src/i18n/I18nProvider.d.ts +1 -1
- package/dist/typescript/src/i18n/I18nProvider.d.ts.map +1 -1
- package/dist/typescript/src/i18n/i18n.d.ts +1 -1
- package/dist/typescript/src/i18n/i18n.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/Pulse.d.ts +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/Pulse.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Pulse/types.d.ts +2 -2
- package/dist/typescript/src/lib/Animations/Pulse/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Spin/Spin.d.ts +1 -1
- package/dist/typescript/src/lib/Animations/Spin/Spin.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Spin/types.d.ts +2 -2
- package/dist/typescript/src/lib/Animations/Spin/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/types.d.ts +2 -2
- package/dist/typescript/src/lib/Animations/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/useTimingConfig.d.ts +1 -1
- package/dist/typescript/src/lib/Animations/useTimingConfig.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AddressInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/AddressInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountDisplay/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/AmountDisplay/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/AmountInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/AmountInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Banner/Banner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Banner/Banner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Banner/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Banner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BaseInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/BaseInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheetHeader.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/BottomSheetHeader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomBackdrop.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomBackdrop.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomHandle.d.ts +2 -2
- package/dist/typescript/src/lib/Components/BottomSheet/CustomHandle.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/Scrollables.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/Scrollables.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/BottomSheet/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/useBottomSheetRef.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/useBottomSheetRef.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/BaseButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Button/BaseButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/Button.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Button/Button.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Button/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Button/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/Card.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Card/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/CardButton/CardButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/CardButton/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/CardButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/BaseCheckbox.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Checkbox/BaseCheckbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Checkbox/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/ContentBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/ContentBanner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Divider/Divider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Divider/Divider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Divider/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Divider/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DotSymbol/DotSymbol.d.ts +3 -3
- package/dist/typescript/src/lib/Components/DotSymbol/DotSymbol.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/DotSymbol/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/DotSymbol/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/Icon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Icon/Icon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/createIcon.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Icon/createIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Icon/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/IconButton/IconButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/IconButton/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/IconButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/InteractiveIcon/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Label/Label.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Label/Label.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Label/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Label/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Link/Link.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Link/Link.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Link/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Link/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts +9 -9
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts +12 -8
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaBanner/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/MediaBanner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaButton/MediaButton.d.ts +23 -0
- package/dist/typescript/src/lib/Components/MediaButton/MediaButton.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/MediaButton/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/MediaButton/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/{TriggerButton → MediaButton}/types.d.ts +12 -7
- package/dist/typescript/src/lib/Components/MediaButton/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/MediaCard/MediaCard.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/MediaCard.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaCard/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/MediaImage.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/MediaImage/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/NavBar/CoinCapsule.d.ts +1 -1
- package/dist/typescript/src/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/NavBar/NavBar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/NavBar/NavBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/NavBar/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/NavBar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/OptionList/OptionList.d.ts +12 -0
- package/dist/typescript/src/lib/Components/OptionList/OptionList.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/OptionList/OptionList.figma.d.ts +2 -0
- package/dist/typescript/src/lib/Components/OptionList/OptionList.figma.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/OptionList/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/OptionList/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/OptionList/types.d.ts +97 -0
- package/dist/typescript/src/lib/Components/OptionList/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/OptionList/useOptionList/useOptionListItems.d.ts +12 -0
- package/dist/typescript/src/lib/Components/OptionList/useOptionList/useOptionListItems.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/PageIndicator/PageIndicator.d.ts +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/PageIndicator/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SearchInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/SearchInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/usePillLayout.d.ts +3 -2
- package/dist/typescript/src/lib/Components/SegmentedControl/usePillLayout.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/GlobalSelectContext.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Select/GlobalSelectContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/SelectContext.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Select/SelectContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/Select/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Skeleton/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Skeleton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Slot/Slot.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Slot/Slot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spinner/Spinner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Spinner/Spinner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spinner/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Spinner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spot/Spot.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Spot/Spot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spot/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Spot/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Stepper/Stepper.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Stepper/Stepper.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Stepper/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Stepper/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/Subheader.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Subheader/Subheader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Subheader/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Subheader/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/BaseSwitch.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Switch/BaseSwitch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Switch/Switch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Switch/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/TabBar/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Tag/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TextInput/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/TextInput/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ThemeProvider/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/ThemeProvider/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tile/Tile.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tile/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Tile/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/TileButton/TileButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TileButton/types.d.ts +4 -4
- package/dist/typescript/src/lib/Components/TileButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/TooltipContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/TooltipContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Tooltip/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Box/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Box/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Gradient/LinearGradient/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Utility/Gradient/LinearGradient/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Gradient/RadialGradient/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/Utility/Gradient/RadialGradient/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Pressable/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Pressable/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Utility/Text/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Utility/Text/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Wrap/Wrap.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Wrap/Wrap.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Wrap/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Wrap/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/index.d.ts +2 -1
- package/dist/typescript/src/lib/Components/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/types/index.d.ts +1 -1
- package/dist/typescript/src/lib/types/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/components/InjectStylesIntoChildren.d.ts +2 -2
- package/dist/typescript/src/lib/utils/components/InjectStylesIntoChildren.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/constants/constants.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts +1 -1
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/useControllableState/useControllableState.d.ts +1 -1
- package/dist/typescript/src/lib/utils/useControllableState/useControllableState.d.ts.map +1 -1
- package/dist/typescript/src/styles/hooks/useStyleSheet.d.ts +1 -1
- package/dist/typescript/src/styles/hooks/useStyleSheet.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/areLxPropsEqual.d.ts +1 -1
- package/dist/typescript/src/styles/lx/areLxPropsEqual.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledPressable.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledPressable.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledText.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledText.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledView.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledView.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/resolveConfig.d.ts +1 -1
- package/dist/typescript/src/styles/lx/resolveConfig.d.ts.map +1 -1
- package/dist/typescript/src/styles/provider/LumenStyleSheetProvider.d.ts +1 -1
- package/dist/typescript/src/styles/provider/LumenStyleSheetProvider.d.ts.map +1 -1
- package/dist/typescript/src/styles/provider/types.d.ts +3 -3
- package/dist/typescript/src/styles/provider/types.d.ts.map +1 -1
- package/dist/typescript/src/styles/theme/createStylesheetTheme.d.ts +1 -1
- package/dist/typescript/src/styles/theme/createStylesheetTheme.d.ts.map +1 -1
- package/dist/typescript/src/styles/theme/resolvers/resolveFontWeights.d.ts +1 -1
- package/dist/typescript/src/styles/theme/resolvers/resolveFontWeights.d.ts.map +1 -1
- package/dist/typescript/src/styles/theme/resolvers/resolveNegativeSpacing.d.ts +2 -2
- package/dist/typescript/src/styles/theme/resolvers/resolveNegativeSpacing.d.ts.map +1 -1
- package/dist/typescript/src/styles/types/factories.types.d.ts +3 -3
- package/dist/typescript/src/styles/types/factories.types.d.ts.map +1 -1
- package/dist/typescript/src/styles/types/theme.types.d.ts +8 -7
- package/dist/typescript/src/styles/types/theme.types.d.ts.map +1 -1
- package/dist/typescript/src/utils/icon-template.d.ts +1 -1
- package/dist/typescript/src/utils/icon-template.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/i18n/I18nProvider.tsx +2 -1
- package/src/i18n/i18n.ts +2 -5
- package/src/lib/Animations/Pulse/Pulse.tsx +2 -2
- package/src/lib/Animations/Pulse/types.ts +2 -2
- package/src/lib/Animations/Spin/Spin.tsx +2 -2
- package/src/lib/Animations/Spin/types.ts +2 -2
- package/src/lib/Animations/types.ts +2 -2
- package/src/lib/Animations/useTimingConfig.ts +1 -1
- package/src/lib/Components/AddressInput/AddressInput.stories.tsx +1 -1
- package/src/lib/Components/AddressInput/types.ts +2 -2
- package/src/lib/Components/AmountDisplay/AmountDisplay.test.tsx +1 -1
- package/src/lib/Components/AmountDisplay/AmountDisplay.tsx +3 -3
- package/src/lib/Components/AmountDisplay/types.ts +2 -2
- package/src/lib/Components/AmountInput/types.ts +2 -2
- package/src/lib/Components/Avatar/Avatar.stories.tsx +1 -1
- package/src/lib/Components/Avatar/Avatar.tsx +1 -1
- package/src/lib/Components/Avatar/types.ts +1 -1
- package/src/lib/Components/Banner/Banner.tsx +3 -3
- package/src/lib/Components/Banner/types.ts +2 -2
- package/src/lib/Components/BaseInput/BaseInput.tsx +2 -1
- package/src/lib/Components/BaseInput/types.ts +5 -5
- package/src/lib/Components/BottomSheet/BottomSheet.test.tsx +2 -1
- package/src/lib/Components/BottomSheet/BottomSheet.tsx +3 -5
- package/src/lib/Components/BottomSheet/BottomSheetHeader.tsx +1 -1
- package/src/lib/Components/BottomSheet/CustomBackdrop.tsx +1 -1
- package/src/lib/Components/BottomSheet/CustomHandle.tsx +2 -2
- package/src/lib/Components/BottomSheet/Scrollables.tsx +2 -2
- package/src/lib/Components/BottomSheet/types.ts +4 -4
- package/src/lib/Components/BottomSheet/useBottomSheetRef.ts +1 -1
- package/src/lib/Components/Button/BaseButton.test.tsx +1 -1
- package/src/lib/Components/Button/BaseButton.tsx +3 -3
- package/src/lib/Components/Button/Button.tsx +1 -1
- package/src/lib/Components/Button/types.ts +4 -4
- package/src/lib/Components/Card/Card.test.tsx +1 -1
- package/src/lib/Components/Card/Card.tsx +5 -3
- package/src/lib/Components/Card/types.ts +3 -3
- package/src/lib/Components/CardButton/CardButton.tsx +1 -1
- package/src/lib/Components/CardButton/types.ts +3 -3
- package/src/lib/Components/Checkbox/BaseCheckbox.tsx +4 -8
- package/src/lib/Components/Checkbox/Checkbox.tsx +1 -1
- package/src/lib/Components/Checkbox/types.ts +1 -1
- package/src/lib/Components/ContentBanner/ContentBanner.tsx +1 -1
- package/src/lib/Components/ContentBanner/types.ts +1 -1
- package/src/lib/Components/Divider/Divider.tsx +1 -1
- package/src/lib/Components/Divider/types.ts +1 -1
- package/src/lib/Components/DotSymbol/DotSymbol.tsx +3 -3
- package/src/lib/Components/DotSymbol/types.ts +1 -1
- package/src/lib/Components/Icon/Icon.tsx +2 -2
- package/src/lib/Components/Icon/createIcon.ts +2 -2
- package/src/lib/Components/Icon/types.ts +4 -4
- package/src/lib/Components/IconButton/IconButton.tsx +1 -1
- package/src/lib/Components/IconButton/types.ts +1 -1
- package/src/lib/Components/InteractiveIcon/InteractiveIcon.tsx +4 -3
- package/src/lib/Components/InteractiveIcon/types.ts +4 -4
- package/src/lib/Components/Label/Label.tsx +1 -1
- package/src/lib/Components/Label/types.ts +1 -1
- package/src/lib/Components/Link/Link.test.tsx +1 -1
- package/src/lib/Components/Link/Link.tsx +2 -2
- package/src/lib/Components/Link/types.ts +4 -4
- package/src/lib/Components/ListItem/ListItem.mdx +15 -7
- package/src/lib/Components/ListItem/ListItem.stories.tsx +354 -220
- package/src/lib/Components/ListItem/ListItem.test.tsx +152 -0
- package/src/lib/Components/ListItem/ListItem.tsx +64 -28
- package/src/lib/Components/ListItem/types.ts +12 -9
- package/src/lib/Components/MediaBanner/MediaBanner.tsx +1 -1
- package/src/lib/Components/MediaBanner/types.ts +2 -2
- package/{dist/module/lib/Components/TriggerButton/TriggerButton.mdx → src/lib/Components/MediaButton/MediaButton.mdx} +10 -10
- package/src/lib/Components/{TriggerButton/TriggerButton.stories.tsx → MediaButton/MediaButton.stories.tsx} +28 -28
- package/src/lib/Components/{TriggerButton/TriggerButton.test.tsx → MediaButton/MediaButton.test.tsx} +24 -23
- package/src/lib/Components/{TriggerButton/TriggerButton.tsx → MediaButton/MediaButton.tsx} +28 -22
- package/src/lib/Components/MediaButton/index.ts +2 -0
- package/src/lib/Components/{TriggerButton → MediaButton}/types.ts +12 -7
- package/src/lib/Components/MediaCard/MediaCard.tsx +1 -1
- package/src/lib/Components/MediaCard/types.ts +1 -1
- package/src/lib/Components/MediaImage/MediaImage.tsx +1 -1
- package/src/lib/Components/MediaImage/types.ts +1 -1
- package/src/lib/Components/NavBar/CoinCapsule.tsx +1 -1
- package/src/lib/Components/NavBar/NavBar.tsx +5 -3
- package/src/lib/Components/NavBar/types.ts +4 -4
- package/src/lib/Components/OptionList/OptionList.figma.tsx +37 -0
- package/src/lib/Components/OptionList/OptionList.mdx +304 -0
- package/src/lib/Components/OptionList/OptionList.stories.tsx +755 -0
- package/src/lib/Components/OptionList/OptionList.test.tsx +412 -0
- package/src/lib/Components/OptionList/OptionList.tsx +532 -0
- package/src/lib/Components/OptionList/index.ts +2 -0
- package/src/lib/Components/OptionList/types.ts +115 -0
- package/src/lib/Components/OptionList/useOptionList/useOptionListItems.test.ts +73 -0
- package/src/lib/Components/OptionList/useOptionList/useOptionListItems.ts +49 -0
- package/src/lib/Components/PageIndicator/PageIndicator.tsx +1 -1
- package/src/lib/Components/PageIndicator/types.ts +1 -1
- package/src/lib/Components/SearchInput/SearchInput.stories.tsx +1 -1
- package/src/lib/Components/SearchInput/types.ts +2 -2
- package/src/lib/Components/SegmentedControl/SegmentedControl.tsx +1 -1
- package/src/lib/Components/SegmentedControl/types.ts +4 -4
- package/src/lib/Components/SegmentedControl/usePillLayout.ts +2 -2
- package/src/lib/Components/Select/GlobalSelectContext.tsx +3 -2
- package/src/lib/Components/Select/Select.tsx +1 -1
- package/src/lib/Components/Select/SelectContext.tsx +2 -2
- package/src/lib/Components/Select/types.ts +4 -4
- package/src/lib/Components/Skeleton/Skeleton.stories.tsx +1 -1
- package/src/lib/Components/Skeleton/types.ts +1 -1
- package/src/lib/Components/Slot/Slot.tsx +4 -5
- package/src/lib/Components/Spinner/Spinner.stories.tsx +1 -1
- package/src/lib/Components/Spinner/Spinner.tsx +3 -2
- package/src/lib/Components/Spinner/types.ts +3 -3
- package/src/lib/Components/Spot/Spot.stories.tsx +2 -2
- package/src/lib/Components/Spot/Spot.tsx +6 -4
- package/src/lib/Components/Spot/types.ts +3 -3
- package/src/lib/Components/Stepper/Stepper.stories.tsx +1 -1
- package/src/lib/Components/Stepper/Stepper.tsx +1 -1
- package/src/lib/Components/Stepper/types.ts +1 -1
- package/src/lib/Components/Subheader/Subheader.tsx +1 -1
- package/src/lib/Components/Subheader/types.ts +3 -3
- package/src/lib/Components/Switch/BaseSwitch.tsx +2 -2
- package/src/lib/Components/Switch/Switch.tsx +1 -1
- package/src/lib/Components/Switch/types.ts +1 -1
- package/src/lib/Components/TabBar/TabBar.tsx +4 -9
- package/src/lib/Components/TabBar/types.ts +4 -4
- package/src/lib/Components/Tag/Tag.tsx +2 -2
- package/src/lib/Components/Tag/types.ts +3 -3
- package/src/lib/Components/TextInput/types.ts +2 -2
- package/src/lib/Components/ThemeProvider/ThemeProvider.tsx +1 -1
- package/src/lib/Components/ThemeProvider/types.ts +4 -4
- package/src/lib/Components/Tile/Tile.tsx +2 -2
- package/src/lib/Components/Tile/types.ts +2 -2
- package/src/lib/Components/TileButton/TileButton.test.tsx +1 -1
- package/src/lib/Components/TileButton/TileButton.tsx +3 -3
- package/src/lib/Components/TileButton/types.ts +4 -4
- package/src/lib/Components/Tooltip/GlobalTooltipContext.tsx +2 -1
- package/src/lib/Components/Tooltip/Tooltip.tsx +1 -1
- package/src/lib/Components/Tooltip/TooltipContext.tsx +1 -1
- package/src/lib/Components/Tooltip/types.ts +2 -2
- package/src/lib/Components/Utility/Box/types.ts +1 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.test.tsx +2 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/types.ts +3 -3
- package/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.test.tsx +2 -1
- package/src/lib/Components/Utility/Gradient/RadialGradient/types.ts +3 -3
- package/src/lib/Components/Utility/Pressable/Pressable.test.tsx +2 -1
- package/src/lib/Components/Utility/Pressable/types.ts +1 -1
- package/src/lib/Components/Utility/Text/Text.stories.tsx +1 -1
- package/src/lib/Components/Utility/Text/types.ts +1 -1
- package/src/lib/Components/Wrap/Wrap.tsx +1 -1
- package/src/lib/Components/Wrap/types.ts +1 -1
- package/src/lib/Components/index.ts +2 -1
- package/src/lib/types/index.ts +1 -1
- package/src/lib/utils/components/InjectStylesIntoChildren.tsx +3 -8
- package/src/lib/utils/constants/constants.ts +2 -4
- package/src/lib/utils/react/extractTextFromChildren.ts +2 -1
- package/src/lib/utils/useControllableState/useControllableState.ts +2 -1
- package/src/styles/hooks/useStyleSheet.test.tsx +2 -1
- package/src/styles/hooks/useStyleSheet.ts +2 -1
- package/src/styles/lx/areLxPropsEqual.ts +1 -1
- package/src/styles/lx/createStyledPressable.test.tsx +2 -2
- package/src/styles/lx/createStyledPressable.tsx +1 -1
- package/src/styles/lx/createStyledText.test.tsx +2 -1
- package/src/styles/lx/createStyledText.tsx +1 -1
- package/src/styles/lx/createStyledView.test.tsx +2 -1
- package/src/styles/lx/createStyledView.tsx +2 -1
- package/src/styles/lx/resolveConfig.ts +1 -1
- package/src/styles/provider/LumenStyleSheetProvider.test.tsx +2 -1
- package/src/styles/provider/LumenStyleSheetProvider.tsx +2 -4
- package/src/styles/provider/types.ts +3 -3
- package/src/styles/theme/createStylesheetTheme.ts +1 -1
- package/src/styles/theme/resolvers/resolveFontWeights.ts +1 -1
- package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +1 -1
- package/src/styles/theme/resolvers/resolveNegativeSpacing.ts +2 -2
- package/src/styles/types/factories.types.ts +3 -3
- package/src/styles/types/theme.types.ts +10 -8
- package/src/utils/icon-template.ts +1 -2
- package/dist/module/lib/Components/TriggerButton/TriggerButton.js.map +0 -1
- package/dist/module/lib/Components/TriggerButton/TriggerButton.stories.js.map +0 -1
- package/dist/module/lib/Components/TriggerButton/TriggerButton.test.js.map +0 -1
- package/dist/module/lib/Components/TriggerButton/index.js +0 -5
- package/dist/module/lib/Components/TriggerButton/index.js.map +0 -1
- package/dist/module/lib/Components/TriggerButton/types.js.map +0 -1
- package/dist/typescript/src/lib/Components/TriggerButton/TriggerButton.d.ts +0 -23
- package/dist/typescript/src/lib/Components/TriggerButton/TriggerButton.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/TriggerButton/index.d.ts +0 -3
- package/dist/typescript/src/lib/Components/TriggerButton/index.d.ts.map +0 -1
- package/dist/typescript/src/lib/Components/TriggerButton/types.d.ts.map +0 -1
- package/src/lib/Components/TriggerButton/index.ts +0 -2
- /package/dist/module/lib/Components/{TriggerButton → MediaButton}/types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,cAAc,SAAS,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StyledPressableProps } from '../../../styles';
|
|
3
|
-
export type
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyledPressableProps } from '../../../styles';
|
|
3
|
+
export type MediaButtonProps = {
|
|
4
4
|
/**
|
|
5
|
-
* The visual style of the
|
|
5
|
+
* The visual style of the media button.
|
|
6
6
|
* @default 'gray'
|
|
7
7
|
*/
|
|
8
8
|
appearance?: 'gray' | 'transparent' | 'no-background';
|
|
9
9
|
/**
|
|
10
|
-
* The size variant of the
|
|
10
|
+
* The size variant of the media button.
|
|
11
11
|
* @default 'md'
|
|
12
12
|
*/
|
|
13
13
|
size?: 'sm' | 'md';
|
|
@@ -26,12 +26,17 @@ export type TriggerButtonProps = {
|
|
|
26
26
|
*/
|
|
27
27
|
iconType?: 'flat' | 'rounded';
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* When true, hides the trailing chevron indicator.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
hideChevron?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the media button is disabled.
|
|
30
35
|
* @default false
|
|
31
36
|
*/
|
|
32
37
|
disabled?: boolean;
|
|
33
38
|
/**
|
|
34
|
-
* The label content of the
|
|
39
|
+
* The label content of the media button.
|
|
35
40
|
*/
|
|
36
41
|
children: ReactNode;
|
|
37
42
|
} & Omit<StyledPressableProps, 'children'>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,eAAe,CAAC;IACtD;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaCard.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaCard/MediaCard.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"MediaCard.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaCard/MediaCard.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AA6CnE;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,wCAM5B,mBAAmB,4CAerB,CAAC;AAgCF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,SAAS,GAAI,sGAUvB,cAAc,4CA6DhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaImage.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaImage/MediaImage.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAmC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"MediaImage.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaImage/MediaImage.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAmC,MAAM,SAAS,CAAC;AAkDhF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,GAAI,qDASxB,eAAe,4CA6BjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/MediaImage/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEnE,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAElD,MAAM,MAAM,eAAe,GAAG;IAC5B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoinCapsule.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/NavBar/CoinCapsule.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"CoinCapsule.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/NavBar/CoinCapsule.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,gBAAgB,2CAS7D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NavBarBackButtonProps, NavBarCoinCapsuleProps, NavBarContentProps, NavBarDescriptionProps, NavBarProps, NavBarTitleProps, NavBarTrailingProps } from './types';
|
|
1
|
+
import type { NavBarBackButtonProps, NavBarCoinCapsuleProps, NavBarContentProps, NavBarDescriptionProps, NavBarProps, NavBarTitleProps, NavBarTrailingProps } from './types';
|
|
2
2
|
export declare function NavBarContent({ children, style, ...props }: NavBarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace NavBarContent {
|
|
4
4
|
var displayName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/NavBar/NavBar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavBar.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/NavBar/NavBar.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACtB,kBAAkB,EAClB,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AA2CjB,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAYpB;yBAhBe,aAAa;;;AAoB7B,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,2CAgB1E;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAgBxB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAMxB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,kBAAkB,EAClB,OAAO,EACP,KAAK,EACL,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAgBvB;yBArBe,gBAAgB;;;AAyBhC;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAiBrB;yBArBe,cAAc;;;AAyB9B;;GAEG;AACH,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CA6BlE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Density } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
-
import { ReactElement, ReactNode } from 'react';
|
|
3
|
-
import { StyledViewProps } from '../../../styles';
|
|
4
|
-
import { IconButtonProps } from '../IconButton';
|
|
1
|
+
import type { Density } from '@ledgerhq/lumen-utils-shared';
|
|
2
|
+
import type { ReactElement, ReactNode } from 'react';
|
|
3
|
+
import type { StyledViewProps } from '../../../styles';
|
|
4
|
+
import type { IconButtonProps } from '../IconButton';
|
|
5
5
|
export type NavBarProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Controls the density/layout of the NavBar.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/NavBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/NavBar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,eAAe,CAAC;AAEpB,MAAM,MAAM,qBAAqB,GAAG;IAClC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,GAAG,IAAI,CACN,eAAe,EACf,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,oBAAoB,CACtD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;OAKG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;CACpB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { MetaShape, OptionListProps, OptionListContentProps, OptionListItemProps, OptionListItemLeadingProps, OptionListItemTextProps, OptionListItemDescriptionProps, OptionListItemContentProps, OptionListItemContentRowProps, OptionListEmptyStateProps, OptionListTriggerProps } from './types';
|
|
2
|
+
export declare const OptionList: <TMeta extends MetaShape = MetaShape>({ items, value, defaultValue, onValueChange, disabled: disabledProp, children, }: OptionListProps<TMeta>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const OptionListContent: <TMeta extends MetaShape = MetaShape>({ renderItem, lx, style, ref, ...props }: OptionListContentProps<TMeta>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const OptionListItem: ({ value, disabled: disabledProp, children, lx, style, ref, ...props }: OptionListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const OptionListItemText: ({ children, lx, style, ref, ...props }: OptionListItemTextProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const OptionListItemDescription: ({ children, lx, style, ref, ...props }: OptionListItemDescriptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const OptionListItemContent: ({ children, lx, style, ref, ...props }: OptionListItemContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const OptionListItemContentRow: ({ children, lx, style, ref, ...props }: OptionListItemContentRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const OptionListItemLeading: ({ children, lx, style, ref, ...props }: OptionListItemLeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const OptionListEmptyState: ({ title, description, lx, style, ref, ...props }: OptionListEmptyStateProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export declare const OptionListTrigger: ({ label, onPress, disabled: disabledProp, children, lx, style, ref, ...props }: OptionListTriggerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=OptionList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/OptionList.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,SAAS,EAGT,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC1B,6BAA6B,EAC7B,yBAAyB,EACzB,sBAAsB,EAEvB,MAAM,SAAS,CAAC;AAMjB,eAAO,MAAM,UAAU,GAAI,KAAK,SAAS,SAAS,GAAG,SAAS,EAAE,kFAO7D,eAAe,CAAC,KAAK,CAAC,4CA+BxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,KAAK,SAAS,SAAS,GAAG,SAAS,EAAE,0CAMpE,sBAAsB,CAAC,KAAK,CAAC,4CAkC/B,CAAC;AA4BF,eAAO,MAAM,cAAc,GAAI,uEAQ5B,mBAAmB,4CA+BrB,CAAC;AAyBF,eAAO,MAAM,kBAAkB,GAAI,wCAMhC,uBAAuB,4CA6BzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,wCAMvC,8BAA8B,4CA6BhC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,wCAMnC,0BAA0B,4CAsB5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,wCAMtC,6BAA6B,4CAuB/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,wCAMnC,0BAA0B,4CAsB5B,CAAC;AAeF,eAAO,MAAM,oBAAoB,GAAI,kDAOlC,yBAAyB,mDAuC3B,CAAC;AA6DF,eAAO,MAAM,iBAAiB,GAAI,gFAS/B,sBAAsB,4CAgCxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionList.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/OptionList.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyledPressableProps, StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
|
+
export type MetaShape = Record<string, unknown>;
|
|
4
|
+
export type OptionListItemData<TMeta extends MetaShape = MetaShape> = {
|
|
5
|
+
/** Unique string identifier for this item, used for selection tracking. */
|
|
6
|
+
value: string;
|
|
7
|
+
/** Display text. */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Secondary text displayed below the label inside the item. */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** When true, the item cannot be selected or focused. */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Optional group name. Items sharing the same `group` value are grouped together
|
|
15
|
+
* with automatic headers and separators.
|
|
16
|
+
* Groups are ordered by first occurrence in the `items` array.
|
|
17
|
+
*/
|
|
18
|
+
group?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Arbitrary data attached to this item.
|
|
21
|
+
* Use it to carry extra fields (icons, tickers, IDs, etc.)
|
|
22
|
+
* that your render function needs.
|
|
23
|
+
*/
|
|
24
|
+
meta?: TMeta;
|
|
25
|
+
};
|
|
26
|
+
/** Internal type -- used by sub-components to read shared state from context. */
|
|
27
|
+
export type OptionListContextValue = {
|
|
28
|
+
selectedValue: string | null;
|
|
29
|
+
onValueChange: (value: string | null) => void;
|
|
30
|
+
isGrouped: boolean;
|
|
31
|
+
groups: OptionListItemGroup[];
|
|
32
|
+
flatItems: OptionListItemData[];
|
|
33
|
+
};
|
|
34
|
+
/** Internal type -- consumers never construct this directly. */
|
|
35
|
+
export type OptionListItemGroup<TMeta extends MetaShape = MetaShape> = {
|
|
36
|
+
label: string;
|
|
37
|
+
items: OptionListItemData<TMeta>[];
|
|
38
|
+
};
|
|
39
|
+
export type OptionListProps<TMeta extends MetaShape = MetaShape> = {
|
|
40
|
+
/** Flat array of items. Use the `group` field on each item for automatic grouping. */
|
|
41
|
+
items: OptionListItemData<TMeta>[];
|
|
42
|
+
/** The controlled selected value. */
|
|
43
|
+
value?: string | null;
|
|
44
|
+
/** The default selected value (uncontrolled). */
|
|
45
|
+
defaultValue?: string | null;
|
|
46
|
+
/** Called when the selected value changes. */
|
|
47
|
+
onValueChange?: (value: string | null) => void;
|
|
48
|
+
/** When true, prevents interaction with the entire list. */
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
children: ReactNode;
|
|
51
|
+
};
|
|
52
|
+
export type OptionListContentProps<TMeta extends MetaShape = MetaShape> = {
|
|
53
|
+
/** Render function called for each item. Receives the item data and selection/disabled state. */
|
|
54
|
+
renderItem: (item: OptionListItemData<TMeta>, selected: boolean) => ReactNode;
|
|
55
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
56
|
+
export type OptionListItemProps = {
|
|
57
|
+
/** The value associated with this item, used for selection matching. */
|
|
58
|
+
value: string;
|
|
59
|
+
/** Whether the item is disabled. */
|
|
60
|
+
disabled?: boolean;
|
|
61
|
+
children: ReactNode;
|
|
62
|
+
} & Omit<StyledPressableProps, 'children' | 'disabled'>;
|
|
63
|
+
export type OptionListItemTextProps = {
|
|
64
|
+
children: ReactNode;
|
|
65
|
+
} & Omit<StyledTextProps, 'children'>;
|
|
66
|
+
export type OptionListItemDescriptionProps = {
|
|
67
|
+
children: ReactNode;
|
|
68
|
+
} & Omit<StyledTextProps, 'children'>;
|
|
69
|
+
export type OptionListItemContentRowProps = {
|
|
70
|
+
children: ReactNode;
|
|
71
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
72
|
+
export type OptionListItemContentProps = {
|
|
73
|
+
children: ReactNode;
|
|
74
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
75
|
+
export type OptionListItemLeadingProps = {
|
|
76
|
+
children: ReactNode;
|
|
77
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
78
|
+
export type OptionListLabelProps = {
|
|
79
|
+
children: ReactNode;
|
|
80
|
+
} & Omit<StyledTextProps, 'children'>;
|
|
81
|
+
export type OptionListEmptyStateProps = {
|
|
82
|
+
/** Heading displayed when the list is empty. */
|
|
83
|
+
title: string;
|
|
84
|
+
/** Optional secondary text displayed below the title. */
|
|
85
|
+
description?: string;
|
|
86
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
87
|
+
export type OptionListTriggerProps = {
|
|
88
|
+
/** Floating label shown above the selected value. */
|
|
89
|
+
label?: string;
|
|
90
|
+
/** Called when the trigger is pressed. Use to open a BottomSheet or navigate. */
|
|
91
|
+
onPress: () => void;
|
|
92
|
+
/** Content to display as the selected value. */
|
|
93
|
+
children?: ReactNode;
|
|
94
|
+
/** Whether the trigger is disabled. Merges with OptionList disabled context. */
|
|
95
|
+
disabled?: boolean;
|
|
96
|
+
} & Omit<StyledPressableProps, 'children' | 'disabled' | 'onPress'>;
|
|
97
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/OptionList/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { MetaShape, OptionListItemData, OptionListItemGroup } from '../types';
|
|
2
|
+
type UseOptionListItemsParams<TMeta extends MetaShape = MetaShape> = {
|
|
3
|
+
items: OptionListItemData<TMeta>[];
|
|
4
|
+
};
|
|
5
|
+
type UseOptionListItemsResult<TMeta extends MetaShape = MetaShape> = {
|
|
6
|
+
isGrouped: boolean;
|
|
7
|
+
groups: OptionListItemGroup<TMeta>[];
|
|
8
|
+
flatItems: OptionListItemData<TMeta>[];
|
|
9
|
+
};
|
|
10
|
+
export declare const useOptionListItems: <TMeta extends MetaShape = MetaShape>({ items, }: UseOptionListItemsParams<TMeta>) => UseOptionListItemsResult<TMeta>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=useOptionListItems.d.ts.map
|
package/dist/typescript/src/lib/Components/OptionList/useOptionList/useOptionListItems.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useOptionListItems.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/OptionList/useOptionList/useOptionListItems.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,UAAU,CAAC;AA8BlB,KAAK,wBAAwB,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,IAAI;IACnE,KAAK,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC;CACpC,CAAC;AAEF,KAAK,wBAAwB,CAAC,KAAK,SAAS,SAAS,GAAG,SAAS,IAAI;IACnE,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;IACrC,SAAS,EAAE,kBAAkB,CAAC,KAAK,CAAC,EAAE,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,KAAK,SAAS,SAAS,GAAG,SAAS,EAAE,YAErE,wBAAwB,CAAC,KAAK,CAAC,KAAG,wBAAwB,CAAC,KAAK,CAC1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageIndicator.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/PageIndicator/PageIndicator.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"PageIndicator.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/PageIndicator/PageIndicator.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAsJlD;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,gDAM3B,kBAAkB,4CA0CpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/PageIndicator/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/PageIndicator/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseInputProps } from '../BaseInput';
|
|
2
|
-
import { BoxProps } from '../Utility';
|
|
1
|
+
import type { BaseInputProps } from '../BaseInput';
|
|
2
|
+
import type { BoxProps } from '../Utility';
|
|
3
3
|
export type SearchInputProps = Omit<BaseInputProps, 'prefix' | 'label'> & BoxProps & {
|
|
4
4
|
/**
|
|
5
5
|
* The visual appearance of the search input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SearchInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SearchInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,OAAO,CAAC,GACrE,QAAQ,GAAG;IACT;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,aAAa,CAAC;CACtC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentType, ReactNode } from 'react';
|
|
2
|
-
import { LumenTextStyle, StyledPressableProps } from '../../../styles';
|
|
3
|
-
import { IconSize } from '../Icon';
|
|
4
|
-
import { BoxProps } from '../Utility';
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
import type { LumenTextStyle, StyledPressableProps } from '../../../styles';
|
|
3
|
+
import type { IconSize } from '../Icon';
|
|
4
|
+
import type { BoxProps } from '../Utility';
|
|
5
5
|
export type SegmentedControlProps = {
|
|
6
6
|
/**
|
|
7
7
|
* The value of the currently selected segment (drives the sliding pill).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
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,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,YAAY,GAAG,eAAe,CAAC;IAC5C;;;;;OAKG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IAC5B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AAE/B,KAAK,aAAa,GAAG,aAAa,CAAC;IACjC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG;IACxC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { LayoutChangeEvent } from 'react-native';
|
|
3
4
|
import type { ButtonLayout } from './SegmentedControlContext';
|
|
4
5
|
export declare function useSegmentedControlSelectedIndex(selectedValue: string, children: ReactNode): number;
|
|
5
6
|
type UsePillLayoutParams = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePillLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/usePillLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"usePillLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/usePillLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAON,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAOtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,wBAAgB,gCAAgC,CAC9C,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,SAAS,GAClB,MAAM,CAWR;AAED,KAAK,mBAAmB,GAAG;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,EAAE,KAAK,GAAG,OAAO,CAAC;CAC5B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,aAAa,EACb,aAAa,EACb,QAAQ,EACR,SAAS,GACV,EAAE,mBAAmB;kBAYC,iBAAiB,KAAG,IAAI;;;;;;;;kCAmBnC,MAAM,UAAU,YAAY,KAAG,IAAI;EAkD9C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SelectData } from './types';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { SelectData } from './types';
|
|
3
3
|
type GlobalSelectBottomSheetContextValue = {
|
|
4
4
|
currentSelect: SelectData | null;
|
|
5
5
|
showSelectRef: React.MutableRefObject<(data: SelectData) => void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalSelectContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/GlobalSelectContext.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"GlobalSelectContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/GlobalSelectContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,KAAK,mCAAmC,GAAG;IACzC,aAAa,EAAE,UAAU,GAAG,IAAI,CAAC;IACjC,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC,CAAC;IAClE,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,IAAI,CAAC,CAAC;CACnD,CAAC;AAKF,eAAO,MAAM,0BAA0B;;;uHAA8B,CAAC;AAEtE;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,QAAO;IAClC,UAAU,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACvC,UAAU,EAAE,MAAM,IAAI,CAAC;CAcxB,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,oBAAoB,GAAI,eAElC,yBAAyB,4CAuC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/SelectContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/SelectContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAKF,eAAO,MAAM,oBAAoB;;;qFAAwB,CAAC;AAE1D,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACjC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,GAAI,gGAWnC,0BAA0B,4CAkB5B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { PressableProps } from 'react-native';
|
|
3
|
-
import { StyledViewProps, StyledPressableProps, StyledTextProps } from '../../../styles';
|
|
4
|
-
import { BoxProps } from '../Utility';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { PressableProps } from 'react-native';
|
|
3
|
+
import type { StyledViewProps, StyledPressableProps, StyledTextProps } from '../../../styles';
|
|
4
|
+
import type { BoxProps } from '../Utility';
|
|
5
5
|
export type SelectProps = {
|
|
6
6
|
/**
|
|
7
7
|
* The children of the select (SelectTrigger, SelectContent)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/types.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Skeleton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Skeleton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;CAClC,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from 'react';
|
|
2
|
-
import { View, Pressable, Text, Image, PressableProps, ViewProps, TextProps, ImageProps, PressableStateCallbackType } from 'react-native';
|
|
1
|
+
import type { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import type { View, Pressable, Text, Image, PressableProps, ViewProps, TextProps, ImageProps, PressableStateCallbackType } from 'react-native';
|
|
3
3
|
declare const SlotPressable: ({ ref, ...props }: PressableProps & ComponentPropsWithRef<typeof Pressable>) => import("react").CElement<Omit<PressableProps & import("react").RefAttributes<View>, "ref">, View> | null;
|
|
4
4
|
declare const SlotView: ({ ref, ...props }: ViewProps & ComponentPropsWithRef<typeof View>) => import("react").CElement<ViewProps, View> | null;
|
|
5
5
|
declare const SlotText: ({ ref, ...props }: TextProps & ComponentPropsWithRef<typeof Text>) => import("react").CElement<TextProps, Text> | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Slot/Slot.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Slot/Slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,qBAAqB,EACtB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,KAAK,EACL,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EAEV,0BAA0B,EAE3B,MAAM,cAAc,CAAC;AAGtB,QAAA,MAAM,aAAa,GAAI,mBAGpB,cAAc,GAAG,qBAAqB,CAAC,OAAO,SAAS,CAAC,6GAgB1D,CAAC;AAEF,QAAA,MAAM,QAAQ,GAAI,mBAGf,SAAS,GAAG,qBAAqB,CAAC,OAAO,IAAI,CAAC,qDAgBhD,CAAC;AAEF,QAAA,MAAM,QAAQ,GAAI,mBAGf,SAAS,GAAG,qBAAqB,CAAC,OAAO,IAAI,CAAC,qDAgBhD,CAAC;AAEF,KAAK,kBAAkB,GAAG,UAAU,GAAG;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,GAAG,qBAAqB,CAAC,OAAO,KAAK,CAAC,CAAC;AAExC,QAAA,MAAM,SAAS,GAAI,mBAAmB,kBAAkB,uDAgBvD,CAAC;AA0EF,wBAAgB,cAAc,CAC5B,QAAQ,EACJ,KAAK,CAAC,SAAS,GACf,CAAC,CAAC,KAAK,EAAE,0BAA0B,KAAK,KAAK,CAAC,SAAS,CAAC,WAK7D;AAED,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spinner/Spinner.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spinner/Spinner.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,OAAO,GAAI,oCAMrB,YAAY,4CA2Bd,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LumenTextStyle } from '../../../styles';
|
|
2
|
-
import { IconSize } from '../Icon';
|
|
3
|
-
import { TextProps } from '../Utility';
|
|
1
|
+
import type { LumenTextStyle } from '../../../styles';
|
|
2
|
+
import type { IconSize } from '../Icon';
|
|
3
|
+
import type { TextProps } from '../Utility';
|
|
4
4
|
export type SpinnerProps = {
|
|
5
5
|
/**
|
|
6
6
|
* The size of the spinner icon in pixels.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spinner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spinner/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,YAAY,GAAG;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC;CAC1C,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spot.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spot/Spot.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Spot.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spot/Spot.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAkB,SAAS,EAAY,MAAM,SAAS,CAAC;AAiFnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,4CAoEpC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { StyledViewProps } from '../../../styles';
|
|
3
|
-
import { IconProps } from '../Icon';
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { StyledViewProps } from '../../../styles';
|
|
3
|
+
import type { IconProps } from '../Icon';
|
|
4
4
|
export type SpotAppearance = 'icon' | 'bluetooth' | 'check' | 'error' | 'warning' | 'info' | 'loader' | 'number';
|
|
5
5
|
type IconSpotProps = {
|
|
6
6
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spot/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spot/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,WAAW,GACX,OAAO,GACP,OAAO,GACP,SAAS,GACT,MAAM,GACN,QAAQ,GACR,QAAQ,CAAC;AAEb,KAAK,aAAa,GAAG;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;CAChC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,UAAU,EAAE,QAAQ,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;CAC/C,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC,cAAc,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAC9B,aAAa,GACb,eAAe,GACf,eAAe,CAAC;AAEpB,MAAM,MAAM,QAAQ,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE9C,MAAM,MAAM,SAAS,GAAG;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,GAAG,sBAAsB,GACxB,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Stepper/Stepper.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAiC5C;;;;;;;;;GASG;AACH,eAAO,MAAM,OAAO,GAAI,+EAQrB,YAAY,4CAkId,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Stepper/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Stepper/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|