@ledgerhq/lumen-ui-rnative 0.1.13 → 0.1.15
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/i18n.js +2 -0
- package/dist/module/i18n/i18n.js.map +1 -1
- package/dist/module/index.js +0 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/lib/Animations/Spin/Spin.js +3 -1
- package/dist/module/lib/Animations/Spin/Spin.js.map +1 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.test.js +0 -1
- package/dist/module/lib/Components/AmountDisplay/AmountDisplay.test.js.map +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.figma.js +26 -0
- package/dist/module/lib/Components/Avatar/Avatar.figma.js.map +1 -0
- package/dist/module/lib/Components/Avatar/Avatar.stories.js +0 -1
- package/dist/module/lib/Components/Avatar/Avatar.stories.js.map +1 -1
- package/dist/module/lib/Components/Avatar/Avatar.test.js +0 -1
- package/dist/module/lib/Components/Avatar/Avatar.test.js.map +1 -1
- package/dist/module/lib/Components/Banner/Banner.stories.js +3 -3
- package/dist/module/lib/Components/Banner/Banner.stories.js.map +1 -1
- package/dist/module/lib/Components/Banner/Banner.test.js +0 -1
- package/dist/module/lib/Components/Banner/Banner.test.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.js +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.test.js +0 -1
- package/dist/module/lib/Components/BottomSheet/BottomSheet.test.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/CustomBackdrop.js +0 -2
- package/dist/module/lib/Components/BottomSheet/CustomBackdrop.js.map +1 -1
- package/dist/module/lib/Components/BottomSheet/CustomHandle.js +0 -1
- package/dist/module/lib/Components/BottomSheet/CustomHandle.js.map +1 -1
- package/dist/module/lib/Components/Button/BaseButton.test.js +0 -1
- package/dist/module/lib/Components/Button/BaseButton.test.js.map +1 -1
- package/dist/module/lib/Components/Button/Button.stories.js +2 -2
- package/dist/module/lib/Components/Button/Button.stories.js.map +1 -1
- package/dist/module/lib/Components/Card/Card.js +3 -3
- package/dist/module/lib/Components/Card/Card.js.map +1 -1
- package/dist/module/lib/Components/Card/Card.test.js +0 -1
- package/dist/module/lib/Components/Card/Card.test.js.map +1 -1
- package/dist/module/lib/Components/CardButton/CardButton.test.js +0 -1
- package/dist/module/lib/Components/CardButton/CardButton.test.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/BaseCheckbox.js +1 -1
- package/dist/module/lib/Components/Checkbox/BaseCheckbox.js.map +1 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.test.js +0 -1
- package/dist/module/lib/Components/Checkbox/Checkbox.test.js.map +1 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.stories.js +2 -2
- package/dist/module/lib/Components/ContentBanner/ContentBanner.stories.js.map +1 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.test.js +0 -1
- package/dist/module/lib/Components/ContentBanner/ContentBanner.test.js.map +1 -1
- package/dist/module/lib/Components/Divider/Divider.test.js +0 -1
- package/dist/module/lib/Components/Divider/Divider.test.js.map +1 -1
- package/dist/module/lib/Components/Icon/Icon.js +2 -1
- package/dist/module/lib/Components/Icon/Icon.js.map +1 -1
- package/dist/module/lib/Components/Icon/Icon.test.js +0 -1
- package/dist/module/lib/Components/Icon/Icon.test.js.map +1 -1
- package/dist/module/lib/Components/Icon/createIcon.js +4 -2
- package/dist/module/lib/Components/Icon/createIcon.js.map +1 -1
- package/dist/module/lib/Components/IconButton/IconButton.test.js +0 -1
- package/dist/module/lib/Components/IconButton/IconButton.test.js.map +1 -1
- package/dist/module/lib/Components/Link/Link.test.js +3 -3
- package/dist/module/lib/Components/Link/Link.test.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.js +64 -179
- package/dist/module/lib/Components/ListItem/ListItem.js.map +1 -1
- package/dist/module/lib/Components/ListItem/ListItem.mdx +53 -49
- package/dist/module/lib/Components/ListItem/ListItem.stories.js +65 -59
- package/dist/module/lib/Components/ListItem/ListItem.stories.js.map +1 -1
- package/dist/module/lib/Components/NavBar/NavBar.js +3 -3
- package/dist/module/lib/Components/NavBar/NavBar.js.map +1 -1
- package/dist/module/lib/Components/NavBar/NavBar.test.js +0 -1
- package/dist/module/lib/Components/NavBar/NavBar.test.js.map +1 -1
- package/dist/module/lib/Components/PageIndicator/PageIndicator.test.js +2 -2
- package/dist/module/lib/Components/PageIndicator/PageIndicator.test.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.js +46 -14
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.mdx +0 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.stories.js +90 -64
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.stories.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.test.js +0 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControl.test.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/SegmentedControlContext.js.map +1 -1
- package/dist/module/lib/Components/SegmentedControl/usePillLayout.js +40 -16
- package/dist/module/lib/Components/SegmentedControl/usePillLayout.js.map +1 -1
- package/dist/module/lib/Components/Select/GlobalSelectBottomSheet.js +1 -1
- package/dist/module/lib/Components/Select/GlobalSelectBottomSheet.js.map +1 -1
- package/dist/module/lib/Components/Select/GlobalSelectContext.js +1 -1
- package/dist/module/lib/Components/Select/GlobalSelectContext.js.map +1 -1
- package/dist/module/lib/Components/Select/Select.js +3 -3
- package/dist/module/lib/Components/Select/Select.js.map +1 -1
- package/dist/module/lib/Components/Select/Select.test.js +0 -1
- package/dist/module/lib/Components/Select/Select.test.js.map +1 -1
- package/dist/module/lib/Components/Skeleton/Skeleton.test.js +0 -1
- package/dist/module/lib/Components/Skeleton/Skeleton.test.js.map +1 -1
- package/dist/module/lib/Components/Slot/Slot.js +4 -0
- package/dist/module/lib/Components/Slot/Slot.js.map +1 -1
- package/dist/module/lib/Components/Spinner/Spinner.mdx +1 -3
- package/dist/module/lib/Components/Spot/Spot.stories.js +0 -1
- package/dist/module/lib/Components/Spot/Spot.stories.js.map +1 -1
- package/dist/module/lib/Components/Stepper/Stepper.mdx +1 -3
- package/dist/module/lib/Components/Stepper/Stepper.test.js +0 -1
- package/dist/module/lib/Components/Stepper/Stepper.test.js.map +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.stories.js +0 -1
- package/dist/module/lib/Components/Subheader/Subheader.stories.js.map +1 -1
- package/dist/module/lib/Components/Subheader/Subheader.test.js +0 -1
- package/dist/module/lib/Components/Subheader/Subheader.test.js.map +1 -1
- package/dist/module/lib/Components/Switch/BaseSwitch.js +1 -1
- package/dist/module/lib/Components/Switch/BaseSwitch.js.map +1 -1
- package/dist/module/lib/Components/Switch/Switch.test.js +0 -1
- package/dist/module/lib/Components/Switch/Switch.test.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.js +8 -8
- package/dist/module/lib/Components/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/TabBar/TabBar.test.js +0 -1
- package/dist/module/lib/Components/TabBar/TabBar.test.js.map +1 -1
- package/dist/module/lib/Components/Tag/Tag.js +1 -0
- package/dist/module/lib/Components/Tag/Tag.js.map +1 -1
- package/dist/module/lib/Components/Tag/Tag.mdx +6 -0
- package/dist/module/lib/Components/Tag/Tag.stories.js +10 -0
- package/dist/module/lib/Components/Tag/Tag.stories.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.stories.js +0 -1
- package/dist/module/lib/Components/Tile/Tile.stories.js.map +1 -1
- package/dist/module/lib/Components/Tile/Tile.test.js +0 -1
- package/dist/module/lib/Components/Tile/Tile.test.js.map +1 -1
- package/dist/module/lib/Components/TileButton/TileButton.test.js +0 -1
- package/dist/module/lib/Components/TileButton/TileButton.test.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipBottomSheet.js +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipBottomSheet.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipContext.js +1 -1
- package/dist/module/lib/Components/Tooltip/GlobalTooltipContext.js.map +1 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.test.js +0 -1
- package/dist/module/lib/Components/Tooltip/Tooltip.test.js.map +1 -1
- package/dist/module/lib/Components/TriggerButton/TriggerButton.test.js +1 -1
- package/dist/module/lib/Components/TriggerButton/TriggerButton.test.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.stories.js.map +1 -1
- package/dist/module/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.test.js +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 +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 +1 -1
- package/dist/module/lib/Components/Utility/Pressable/Pressable.test.js.map +1 -1
- package/dist/module/lib/Symbols/Icons/Csv.js +1 -1
- package/dist/module/lib/Symbols/Icons/Csv.js.map +1 -1
- package/dist/module/lib/Symbols/Icons/TriangleDown.js +47 -0
- package/dist/module/lib/Symbols/Icons/TriangleDown.js.map +1 -0
- package/dist/module/lib/Symbols/Icons/TriangleUp.js +47 -0
- package/dist/module/lib/Symbols/Icons/TriangleUp.js.map +1 -0
- package/dist/module/lib/Symbols/index.js +2 -0
- package/dist/module/lib/Symbols/index.js.map +1 -1
- package/dist/module/lib/utils/react/extractTextFromChildren.js +3 -3
- package/dist/module/lib/utils/react/extractTextFromChildren.js.map +1 -1
- package/dist/module/lib/utils/useControllableState/useControllableState.js +5 -5
- package/dist/module/lib/utils/useControllableState/useControllableState.js.map +1 -1
- package/dist/module/lib/utils/useEvent/useGet.js +3 -3
- package/dist/module/lib/utils/useEvent/useGet.js.map +1 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js +1 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledPressable.test.js +1 -1
- package/dist/module/styles/lx/createStyledPressable.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledText.test.js +1 -1
- package/dist/module/styles/lx/createStyledText.test.js.map +1 -1
- package/dist/module/styles/lx/createStyledView.test.js +1 -1
- package/dist/module/styles/lx/createStyledView.test.js.map +1 -1
- package/dist/module/styles/lx/resolveStyle.test.js +0 -1
- package/dist/module/styles/lx/resolveStyle.test.js.map +1 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +2 -4
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +1 -1
- package/dist/module/utils/icon-template.js +3 -0
- package/dist/module/utils/icon-template.js.map +1 -1
- package/dist/typescript/src/i18n/i18n.d.ts.map +1 -1
- package/dist/typescript/src/index.d.ts +0 -1
- package/dist/typescript/src/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Animations/Spin/Spin.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Avatar/Avatar.figma.d.ts +2 -0
- package/dist/typescript/src/lib/Components/Avatar/Avatar.figma.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/BottomSheet/CustomBackdrop.d.ts +0 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomBackdrop.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomHandle.d.ts +1 -1
- package/dist/typescript/src/lib/Components/BottomSheet/CustomHandle.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Card/Card.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/CardButton/types.d.ts +0 -1
- package/dist/typescript/src/lib/Components/CardButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ContentBanner/types.d.ts +0 -1
- package/dist/typescript/src/lib/Components/ContentBanner/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Icon/createIcon.d.ts +1 -2
- package/dist/typescript/src/lib/Components/Icon/createIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts +21 -40
- package/dist/typescript/src/lib/Components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts +10 -37
- package/dist/typescript/src/lib/Components/ListItem/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControlContext.d.ts +6 -0
- package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControlContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts +7 -0
- package/dist/typescript/src/lib/Components/SegmentedControl/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/SegmentedControl/usePillLayout.d.ts +7 -3
- package/dist/typescript/src/lib/Components/SegmentedControl/usePillLayout.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/GlobalSelectBottomSheet.d.ts +0 -1
- package/dist/typescript/src/lib/Components/Select/GlobalSelectBottomSheet.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/GlobalSelectContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/Select/GlobalSelectContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Select/Select.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Slot/Slot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Spot/types.d.ts +2 -2
- package/dist/typescript/src/lib/Components/Spot/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Switch/BaseSwitch.d.ts +0 -1
- package/dist/typescript/src/lib/Components/Switch/BaseSwitch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tag/Tag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipBottomSheet.d.ts +0 -1
- package/dist/typescript/src/lib/Components/Tooltip/GlobalTooltipBottomSheet.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/Symbols/Icons/TriangleDown.d.ts +35 -0
- package/dist/typescript/src/lib/Symbols/Icons/TriangleDown.d.ts.map +1 -0
- package/dist/typescript/src/lib/Symbols/Icons/TriangleUp.d.ts +35 -0
- package/dist/typescript/src/lib/Symbols/Icons/TriangleUp.d.ts.map +1 -0
- package/dist/typescript/src/lib/Symbols/index.d.ts +2 -0
- package/dist/typescript/src/lib/Symbols/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/types/index.d.ts +6 -6
- package/dist/typescript/src/lib/types/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts +2 -2
- package/dist/typescript/src/lib/utils/react/extractTextFromChildren.d.ts.map +1 -1
- package/dist/typescript/src/lib/utils/useControllableState/useControllableState.d.ts +3 -3
- package/dist/typescript/src/lib/utils/useControllableState/useControllableState.d.ts.map +1 -1
- package/dist/typescript/src/utils/icon-template.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/i18n/i18n.ts +2 -0
- package/src/index.ts +0 -1
- package/src/lib/Animations/Spin/Spin.tsx +5 -1
- package/src/lib/Components/AmountDisplay/AmountDisplay.test.tsx +0 -1
- package/src/lib/Components/Avatar/Avatar.figma.tsx +29 -0
- package/src/lib/Components/Avatar/Avatar.stories.tsx +0 -1
- package/src/lib/Components/Avatar/Avatar.test.tsx +0 -1
- package/src/lib/Components/Banner/Banner.stories.tsx +3 -3
- package/src/lib/Components/Banner/Banner.test.tsx +0 -1
- package/src/lib/Components/BottomSheet/BottomSheet.test.tsx +0 -1
- package/src/lib/Components/BottomSheet/BottomSheet.tsx +1 -1
- package/src/lib/Components/BottomSheet/CustomBackdrop.tsx +0 -2
- package/src/lib/Components/BottomSheet/CustomHandle.tsx +1 -1
- package/src/lib/Components/Button/BaseButton.test.tsx +0 -1
- package/src/lib/Components/Button/Button.stories.tsx +2 -2
- package/src/lib/Components/Card/Card.test.tsx +0 -1
- package/src/lib/Components/Card/Card.tsx +3 -2
- package/src/lib/Components/CardButton/CardButton.test.tsx +0 -1
- package/src/lib/Components/CardButton/types.ts +0 -1
- package/src/lib/Components/Checkbox/BaseCheckbox.tsx +1 -1
- package/src/lib/Components/Checkbox/Checkbox.test.tsx +0 -1
- package/src/lib/Components/ContentBanner/ContentBanner.stories.tsx +2 -2
- package/src/lib/Components/ContentBanner/ContentBanner.test.tsx +0 -1
- package/src/lib/Components/ContentBanner/types.ts +0 -1
- package/src/lib/Components/Divider/Divider.test.tsx +0 -1
- package/src/lib/Components/Icon/Icon.test.tsx +0 -1
- package/src/lib/Components/Icon/Icon.tsx +1 -1
- package/src/lib/Components/Icon/createIcon.ts +3 -2
- package/src/lib/Components/IconButton/IconButton.test.tsx +0 -1
- package/src/lib/Components/Link/Link.test.tsx +3 -3
- package/src/lib/Components/ListItem/ListItem.mdx +53 -49
- package/src/lib/Components/ListItem/ListItem.stories.tsx +51 -54
- package/src/lib/Components/ListItem/ListItem.tsx +80 -210
- package/src/lib/Components/ListItem/types.ts +10 -41
- package/src/lib/Components/NavBar/NavBar.test.tsx +0 -1
- package/src/lib/Components/NavBar/NavBar.tsx +3 -3
- package/src/lib/Components/PageIndicator/PageIndicator.test.tsx +2 -2
- package/src/lib/Components/SegmentedControl/SegmentedControl.mdx +0 -1
- package/src/lib/Components/SegmentedControl/SegmentedControl.stories.tsx +77 -51
- package/src/lib/Components/SegmentedControl/SegmentedControl.test.tsx +0 -1
- package/src/lib/Components/SegmentedControl/SegmentedControl.tsx +42 -9
- package/src/lib/Components/SegmentedControl/SegmentedControlContext.tsx +4 -0
- package/src/lib/Components/SegmentedControl/types.ts +7 -0
- package/src/lib/Components/SegmentedControl/usePillLayout.ts +66 -19
- package/src/lib/Components/Select/GlobalSelectBottomSheet.tsx +1 -1
- package/src/lib/Components/Select/GlobalSelectContext.tsx +1 -1
- package/src/lib/Components/Select/Select.test.tsx +0 -1
- package/src/lib/Components/Select/Select.tsx +16 -14
- package/src/lib/Components/Skeleton/Skeleton.test.tsx +0 -1
- package/src/lib/Components/Slot/Slot.tsx +4 -0
- package/src/lib/Components/Spinner/Spinner.mdx +1 -3
- package/src/lib/Components/Spot/Spot.stories.tsx +0 -1
- package/src/lib/Components/Spot/types.ts +2 -2
- package/src/lib/Components/Stepper/Stepper.mdx +1 -3
- package/src/lib/Components/Stepper/Stepper.test.tsx +0 -1
- package/src/lib/Components/Subheader/Subheader.stories.tsx +0 -1
- package/src/lib/Components/Subheader/Subheader.test.tsx +0 -1
- package/src/lib/Components/Switch/BaseSwitch.tsx +1 -1
- package/src/lib/Components/Switch/Switch.test.tsx +0 -1
- package/src/lib/Components/TabBar/TabBar.test.tsx +0 -1
- package/src/lib/Components/TabBar/TabBar.tsx +12 -5
- package/src/lib/Components/Tag/Tag.mdx +6 -0
- package/src/lib/Components/Tag/Tag.stories.tsx +8 -0
- package/src/lib/Components/Tag/Tag.tsx +3 -1
- package/src/lib/Components/Tile/Tile.stories.tsx +0 -1
- package/src/lib/Components/Tile/Tile.test.tsx +0 -1
- package/src/lib/Components/TileButton/TileButton.test.tsx +0 -1
- package/src/lib/Components/Tooltip/GlobalTooltipBottomSheet.tsx +1 -1
- package/src/lib/Components/Tooltip/GlobalTooltipContext.tsx +1 -7
- package/src/lib/Components/Tooltip/Tooltip.test.tsx +0 -1
- package/src/lib/Components/TriggerButton/TriggerButton.test.tsx +1 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.stories.tsx +1 -1
- package/src/lib/Components/Utility/Gradient/LinearGradient/LinearGradient.test.tsx +1 -1
- package/src/lib/Components/Utility/Gradient/RadialGradient/RadialGradient.test.tsx +1 -1
- package/src/lib/Components/Utility/Pressable/Pressable.test.tsx +1 -1
- package/src/lib/Symbols/Icons/Csv.tsx +1 -1
- package/src/lib/Symbols/Icons/TriangleDown.tsx +42 -0
- package/src/lib/Symbols/Icons/TriangleUp.tsx +42 -0
- package/src/lib/Symbols/index.ts +2 -0
- package/src/lib/types/index.ts +7 -7
- package/src/lib/utils/react/extractTextFromChildren.ts +4 -4
- package/src/lib/utils/useControllableState/useControllableState.ts +7 -9
- package/src/lib/utils/useEvent/useGet.ts +3 -3
- package/src/styles/hooks/useStyleSheet.test.tsx +1 -1
- package/src/styles/lx/createStyledPressable.test.tsx +1 -1
- package/src/styles/lx/createStyledText.test.tsx +1 -1
- package/src/styles/lx/createStyledView.test.tsx +1 -1
- package/src/styles/lx/resolveStyle.test.tsx +0 -1
- package/src/styles/provider/LumenStyleSheetProvider.test.tsx +2 -2
- package/src/utils/icon-template.ts +2 -0
- package/dist/module/lib/Patterns/index.js +0 -4
- package/dist/module/lib/Patterns/index.js.map +0 -1
- package/dist/typescript/src/lib/Patterns/index.d.ts +0 -3
- package/dist/typescript/src/lib/Patterns/index.d.ts.map +0 -1
- package/src/lib/Patterns/index.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["template","variables","tpl","componentName","jsDocComment","imports","interfaces","jsx"],"sourceRoot":"../../../src","sources":["utils/icon-template.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["template","variables","tpl","componentName","jsDocComment","imports","interfaces","jsx"],"sourceRoot":"../../../src","sources":["utils/icon-template.ts"],"mappings":";;AAAA;AACA;;AAGA,MAAMA,QAAkB,GAAGA,CAACC,SAAS,EAAE;EAAEC;AAAI,CAAC,KAAK;EACjD,MAAMC,aAAa,GAAGF,SAAS,CAACE,aAAa;EAC7C,MAAMC,YAAY,GAAG;AACvB;AACA,KAAKD,aAAa;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAcA,aAAa;AAC3B;AACA,MAAMA,aAAa;AACnB;AACA;AACA;AACA,MAAMA,aAAa;AACnB;AACA;AACA;AACA;AACA;AACA,mBAAmBA,aAAa;AAChC;AACA;AACA;AACA,CAAC;EAEC,OAAOD,GAAG;AACZ,EAAED,SAAS,CAACI,OAAO;AACnB;AACA;AACA,EAAEJ,SAAS,CAACK,UAAU;AACtB;AACA,EAAEF,YAAY;AACd,eAAeH,SAAS,CAACE,aAAa,kBAAkBF,SAAS,CAACE,aAAa,MAAMF,SAAS,CAACM,GAAG;AAClG,CAAC;AACD,CAAC;AAED,eAAeP,QAAQ","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,EAGL,eAAe,EAChB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../../src/i18n/i18n.ts"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAE7D,OAAO,EAGL,eAAe,EAChB,MAAM,aAAa,CAAC;AAuDrB,eAAO,MAAM,IAAI,cAAmB,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAU,QAAQ,eAAe,KAAG,OAAO,CAAC,IAAI,CAqBtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GACzB,QAAQ,eAAe,KACtB,OAAO,CAAC,IAAI,CAGd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spin.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Animations/Spin/Spin.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAMpC,eAAO,MAAM,IAAI,6DAA+B,SAAS,
|
|
1
|
+
{"version":3,"file":"Spin.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Animations/Spin/Spin.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAMpC,eAAO,MAAM,IAAI,6DAA+B,SAAS,6CA0BvD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.figma.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Avatar/Avatar.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BottomSheetBackdrop as GorhomBottomSheetBackdrop } from '@gorhom/bottom-sheet';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
import { BottomSheetProps } from './types';
|
|
4
3
|
type BackDropProps = React.ComponentProps<typeof GorhomBottomSheetBackdrop> & {
|
|
5
4
|
backdropPressBehavior?: BottomSheetProps['backdropPressBehavior'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomBackdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/BottomSheet/CustomBackdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomBackdrop.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/BottomSheet/CustomBackdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,IAAI,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAExF,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,yBAAyB,CAAC,GAAG;IAC5E,qBAAqB,CAAC,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;IAClE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAaF,eAAO,MAAM,cAAc;mDAIxB,aAAa;;CAgBf,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BottomSheetVariables } from '@gorhom/bottom-sheet/lib/typescript/types';
|
|
2
|
-
import
|
|
2
|
+
import { Ref } from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
export declare const CustomHandle: {
|
|
5
5
|
({ ref, ...props }: BottomSheetVariables & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomHandle.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/BottomSheet/CustomHandle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,
|
|
1
|
+
{"version":3,"file":"CustomHandle.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/BottomSheet/CustomHandle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAyBpC,eAAO,MAAM,YAAY;wBAGtB,oBAAoB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;KAAE;;CAQrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Card/Card.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Card/Card.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,GAAG,EAAmC,MAAM,OAAO,CAAC;AACxE,OAAO,EAAiC,IAAI,EAAa,MAAM,cAAc,CAAC;AAW9E,OAAO,EAEL,2BAA2B,EAC3B,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,EAErB,sBAAsB,EACtB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EAElB,MAAM,SAAS,CAAC;AA4FjB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,IAAI;0FAWd,SAAS;;CAoDX,CAAC;AAuCF;;;GAGG;AACH,eAAO,MAAM,UAAU;6CAMpB,eAAe;;CA6CjB,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,WAAW;6CAMrB,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwBxC,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,WAAW;6CAMrB,gBAAgB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAiCxC,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,cAAc;6CAMxB,mBAAmB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAiC3C,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,gBAAgB;6CAM1B,qBAAqB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAuD7C,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,sBAAsB;6CAMhC,2BAA2B,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAuDnD,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,YAAY;6CAMtB,iBAAiB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwBzC,CAAC;AA4CF;;;GAGG;AACH,eAAO,MAAM,UAAU;6CAMpB,eAAe,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwCvC,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,iBAAiB;6CAM3B,sBAAsB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAsB9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/CardButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/CardButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;KAAE,CAAC,CAAC;IAC9E;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ContentBanner/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ContentBanner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,6BAA6B,GAAG;IAC1C;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { SvgProps } from 'react-native-svg';
|
|
3
2
|
import { IconProps } from './types';
|
|
4
3
|
/**
|
|
@@ -8,7 +7,7 @@ import { IconProps } from './types';
|
|
|
8
7
|
* @returns {FunctionComponent} Icon component
|
|
9
8
|
*/
|
|
10
9
|
declare const createIcon: (iconName: string, iconJsx: React.ReactElement<SvgProps>) => {
|
|
11
|
-
({ disabled, ...props }: Omit<IconProps, "children">):
|
|
10
|
+
({ disabled, ...props }: Omit<IconProps, "children">): import("react").FunctionComponentElement<IconProps>;
|
|
12
11
|
displayName: string;
|
|
13
12
|
};
|
|
14
13
|
export default createIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Icon/createIcon.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Icon/createIcon.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC;;;;;GAKG;AACH,QAAA,MAAM,UAAU,GACd,UAAU,MAAM,EAChB,SAAS,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC;6BAEM,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;;CAqBvE,CAAC;AAGF,eAAe,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementRef, Ref } from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
3
|
import { Text } from '../Utility';
|
|
4
|
-
import { ListItemContentProps,
|
|
4
|
+
import { ListItemContentProps, ListItemContentRowProps, ListItemDescriptionProps, ListItemLeadingProps, ListItemProps, ListItemTitleProps, ListItemTrailingProps } from './types';
|
|
5
5
|
/**
|
|
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.
|
|
@@ -16,17 +16,17 @@ import { ListItemContentProps, ListItemDescriptionProps, ListItemIconProps, List
|
|
|
16
16
|
* import {
|
|
17
17
|
* ListItem,
|
|
18
18
|
* ListItemLeading,
|
|
19
|
-
* ListItemSpot,
|
|
20
19
|
* ListItemContent,
|
|
21
20
|
* ListItemTitle,
|
|
22
21
|
* ListItemDescription,
|
|
23
22
|
* ListItemTrailing,
|
|
23
|
+
* Spot,
|
|
24
24
|
* } from '@ledgerhq/lumen-ui-rnative';
|
|
25
25
|
* import { Wallet, ChevronRight } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
26
26
|
*
|
|
27
27
|
* <ListItem onPress={() => console.log('Clicked!')}>
|
|
28
28
|
* <ListItemLeading>
|
|
29
|
-
* <
|
|
29
|
+
* <Spot size={48} appearance="icon" icon={Wallet} />
|
|
30
30
|
* <ListItemContent>
|
|
31
31
|
* <ListItemTitle>Balance</ListItemTitle>
|
|
32
32
|
* <ListItemDescription>Optional description</ListItemDescription>
|
|
@@ -43,7 +43,7 @@ export declare const ListItem: {
|
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Container for the leading (left) part of the list item.
|
|
46
|
-
* Contains the visual element (
|
|
46
|
+
* Contains the visual element (Spot, Avatar, Icon) and the content (title + description).
|
|
47
47
|
*/
|
|
48
48
|
export declare const ListItemLeading: {
|
|
49
49
|
({ children, lx, style, ref, ...viewProps }: ListItemLeadingProps & {
|
|
@@ -61,23 +61,31 @@ export declare const ListItemContent: {
|
|
|
61
61
|
displayName: string;
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
65
|
-
*
|
|
64
|
+
* Horizontal row container within ListItemContent to place a title or description
|
|
65
|
+
* alongside additional inline content (e.g. Tag) while preserving text truncation.
|
|
66
66
|
*/
|
|
67
|
-
export declare const
|
|
68
|
-
({ children, lx, style, ref, ...viewProps }:
|
|
67
|
+
export declare const ListItemContentRow: {
|
|
68
|
+
({ children, lx, style, ref, ...viewProps }: ListItemContentRowProps & {
|
|
69
69
|
ref?: Ref<View>;
|
|
70
70
|
}): import("react/jsx-runtime").JSX.Element;
|
|
71
71
|
displayName: string;
|
|
72
72
|
};
|
|
73
73
|
/**
|
|
74
|
-
*
|
|
75
|
-
|
|
74
|
+
* The main title of the list item.
|
|
75
|
+
*/
|
|
76
|
+
export declare const ListItemTitle: {
|
|
77
|
+
({ children, lx, style, ref, ...textProps }: ListItemTitleProps & {
|
|
78
|
+
ref?: Ref<ElementRef<typeof Text>>;
|
|
79
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
80
|
+
displayName: string;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Optional description text below the title.
|
|
76
84
|
* Automatically applies disabled styling when the parent ListItem is disabled.
|
|
77
85
|
*/
|
|
78
86
|
export declare const ListItemDescription: {
|
|
79
|
-
({ children, lx, style, ref, ...
|
|
80
|
-
ref?: Ref<
|
|
87
|
+
({ children, lx, style, ref, ...textProps }: ListItemDescriptionProps & {
|
|
88
|
+
ref?: Ref<ElementRef<typeof Text>>;
|
|
81
89
|
}): import("react/jsx-runtime").JSX.Element;
|
|
82
90
|
displayName: string;
|
|
83
91
|
};
|
|
@@ -91,31 +99,4 @@ export declare const ListItemTrailing: {
|
|
|
91
99
|
}): import("react/jsx-runtime").JSX.Element;
|
|
92
100
|
displayName: string;
|
|
93
101
|
};
|
|
94
|
-
/**
|
|
95
|
-
* Spot adapter for ListItem. Automatically inherits disabled state from parent ListItem.
|
|
96
|
-
* Fixed at size 48 for consistent list item appearance.
|
|
97
|
-
*/
|
|
98
|
-
export declare const ListItemSpot: {
|
|
99
|
-
(props: ListItemSpotProps): import("react/jsx-runtime").JSX.Element;
|
|
100
|
-
displayName: string;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* Icon adapter for ListItem. Automatically inherits disabled state from parent ListItem.
|
|
104
|
-
* Fixed at size 24 for consistent list item appearance.
|
|
105
|
-
*/
|
|
106
|
-
export declare const ListItemIcon: {
|
|
107
|
-
({ icon: Icon, color, lx, style, ...viewProps }: ListItemIconProps): import("react/jsx-runtime").JSX.Element;
|
|
108
|
-
displayName: string;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Text wrapper that truncates when space is limited.
|
|
112
|
-
* Use inside ListItemTitle or ListItemDescription when combining text with a Tag.
|
|
113
|
-
* Set variant='title' for title styling or variant='description' (default) for description styling.
|
|
114
|
-
*/
|
|
115
|
-
export declare const ListItemTruncate: {
|
|
116
|
-
({ children, variant, lx, style, ref, ...textProps }: ListItemTruncateProps & {
|
|
117
|
-
ref?: Ref<React.ElementRef<typeof Text>>;
|
|
118
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
119
|
-
displayName: string;
|
|
120
|
-
};
|
|
121
102
|
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAa,GAAG,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAC;AAEhD,OAAO,EAAkB,IAAI,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AA+BjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,QAAQ;8EAOlB,aAAa;;CAuBf,CAAC;AAsBF;;;GAGG;AACH,eAAO,MAAM,eAAe;iDAMzB,oBAAoB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAwB5C,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,eAAe;iDAMzB,oBAAoB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CA4B5C,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,kBAAkB;iDAM5B,uBAAuB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAuB/C,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,aAAa;iDAMvB,kBAAkB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;KAAE;;CAoC7D,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,mBAAmB;iDAM7B,wBAAwB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAA;KAAE;;CAoCnE,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;iDAM1B,qBAAqB,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAA;KAAE;;CAuB7C,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { LumenTextStyle, StyledPressableProps, StyledTextProps, StyledViewProps } from '../../../styles';
|
|
3
|
-
import { DiscriminatedSpotProps } from '../Spot';
|
|
1
|
+
import { StyledPressableProps, StyledTextProps, StyledViewProps } from '../../../styles';
|
|
4
2
|
/**
|
|
5
3
|
* Context value for passing state to sub-components
|
|
6
4
|
*/
|
|
@@ -42,6 +40,15 @@ export type ListItemContentProps = {
|
|
|
42
40
|
*/
|
|
43
41
|
children: React.ReactNode;
|
|
44
42
|
} & Omit<StyledViewProps, 'children'>;
|
|
43
|
+
/**
|
|
44
|
+
* Props for the ListItemContentRow component
|
|
45
|
+
*/
|
|
46
|
+
export type ListItemContentRowProps = {
|
|
47
|
+
/**
|
|
48
|
+
* The row content (ListItemTitle or ListItemDescription alongside inline elements like Tag)
|
|
49
|
+
*/
|
|
50
|
+
children: React.ReactNode;
|
|
51
|
+
} & Omit<StyledViewProps, 'children'>;
|
|
45
52
|
/**
|
|
46
53
|
* Props for the ListItemTitle component
|
|
47
54
|
*/
|
|
@@ -69,38 +76,4 @@ export type ListItemTrailingProps = {
|
|
|
69
76
|
*/
|
|
70
77
|
children: React.ReactNode;
|
|
71
78
|
} & Omit<StyledViewProps, 'children'>;
|
|
72
|
-
/**
|
|
73
|
-
* Props for the ListItemTruncate component
|
|
74
|
-
* Used to truncate text that should when ListItemDescription or ListItemTitle contain custom content
|
|
75
|
-
*/
|
|
76
|
-
export type ListItemTruncateProps = {
|
|
77
|
-
/**
|
|
78
|
-
* The text content to truncate
|
|
79
|
-
*/
|
|
80
|
-
children: string;
|
|
81
|
-
/**
|
|
82
|
-
* The variant determines typography and color styling.
|
|
83
|
-
* Use 'title' inside ListItemTitle and 'description' inside ListItemDescription.
|
|
84
|
-
* @default 'description'
|
|
85
|
-
*/
|
|
86
|
-
variant?: 'title' | 'description';
|
|
87
|
-
} & Omit<StyledTextProps, 'children'>;
|
|
88
|
-
/**
|
|
89
|
-
* Props for the ListItemSpot component
|
|
90
|
-
* Spot adapter that inherits disabled state from parent ListItem
|
|
91
|
-
*/
|
|
92
|
-
export type ListItemSpotProps = DiscriminatedSpotProps & Omit<StyledViewProps, 'children'>;
|
|
93
|
-
/**
|
|
94
|
-
* Props for the ListItemIcon component
|
|
95
|
-
*/
|
|
96
|
-
export type ListItemIconProps = {
|
|
97
|
-
/**
|
|
98
|
-
* The icon component to render
|
|
99
|
-
*/
|
|
100
|
-
icon: React.ComponentType<any>;
|
|
101
|
-
/**
|
|
102
|
-
* Optional color override. If not provided, uses theme color with disabled state handling.
|
|
103
|
-
*/
|
|
104
|
-
color?: LumenTextStyle['color'];
|
|
105
|
-
} & Omit<StyledViewProps, 'children'>;
|
|
106
79
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/ListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;CAC3C,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare function SegmentedControlButton({ value, children, icon: Icon, on
|
|
|
3
3
|
export declare namespace SegmentedControlButton {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function SegmentedControl({ selectedValue, onSelectedChange, accessibilityLabel, children, disabled: disabledProp, appearance, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function SegmentedControl({ selectedValue, onSelectedChange, accessibilityLabel, children, disabled: disabledProp, appearance, tabLayout, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare namespace SegmentedControl {
|
|
8
8
|
var displayName: string;
|
|
9
9
|
}
|
|
@@ -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":"AAUA,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAMjB,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EACP,GAAG,KAAK,EACT,EAAE,2BAA2B,2CAmD7B;yBAzDe,sBAAsB;;;AA6GtC,wBAAgB,gBAAgB,CAAC,EAC/B,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,UAAyB,EACzB,SAAmB,EACnB,GAAG,KAAK,EACT,EAAE,qBAAqB,2CA+CvB;yBAxDe,gBAAgB"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
export type ButtonLayout = {
|
|
2
|
+
x: number;
|
|
3
|
+
width: number;
|
|
4
|
+
};
|
|
1
5
|
export type SegmentedControlContextValue = {
|
|
2
6
|
selectedValue: string;
|
|
3
7
|
onSelectedChange: (value: string) => void;
|
|
4
8
|
disabled: boolean;
|
|
9
|
+
tabLayout: 'fit' | 'fixed';
|
|
10
|
+
registerButtonLayout: (value: string, layout: ButtonLayout) => void;
|
|
5
11
|
};
|
|
6
12
|
declare const SegmentedControlContextProvider: import("react").FC<{
|
|
7
13
|
children: import("react").ReactNode;
|
package/dist/typescript/src/lib/Components/SegmentedControl/SegmentedControlContext.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControlContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControlContext.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SegmentedControlContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/SegmentedControlContext.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,MAAM,MAAM,4BAA4B,GAAG;IACzC,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,KAAK,GAAG,OAAO,CAAC;IAC3B,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;CACrE,CAAC;AAEF,QAAA,MAAO,+BAA+B;;;EAC+B,CAAC;AAEtE,eAAO,MAAM,0BAA0B,oCAInC,CAAC;AAEL,OAAO,EAAE,+BAA+B,EAAE,CAAC"}
|
|
@@ -20,6 +20,13 @@ export type SegmentedControlProps = {
|
|
|
20
20
|
* @default 'background'
|
|
21
21
|
*/
|
|
22
22
|
appearance?: 'background' | 'no-background';
|
|
23
|
+
/**
|
|
24
|
+
* Controls how tab widths are calculated.
|
|
25
|
+
* - "fit": each tab sizes to its content
|
|
26
|
+
* - "fixed": all tabs share equal width, filling the container
|
|
27
|
+
* @default 'fixed'
|
|
28
|
+
*/
|
|
29
|
+
tabLayout?: 'fit' | 'fixed';
|
|
23
30
|
/**
|
|
24
31
|
* Accessible label for the control (e.g. "File view").
|
|
25
32
|
*/
|
|
@@ -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;AACjD,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,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;;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
|
+
{"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;AACjD,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,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,11 +1,14 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { LayoutChangeEvent } from 'react-native';
|
|
3
|
-
|
|
3
|
+
import type { ButtonLayout } from './SegmentedControlContext';
|
|
4
|
+
export declare function useSegmentedControlSelectedIndex(selectedValue: string, children: ReactNode): number;
|
|
4
5
|
type UsePillLayoutParams = {
|
|
5
6
|
selectedIndex: number;
|
|
7
|
+
selectedValue: string;
|
|
6
8
|
children: React.ReactNode;
|
|
9
|
+
tabLayout: 'fit' | 'fixed';
|
|
7
10
|
};
|
|
8
|
-
export declare function usePillLayout({ selectedIndex, children, }: UsePillLayoutParams): {
|
|
11
|
+
export declare function usePillLayout({ selectedIndex, selectedValue, children, tabLayout, }: UsePillLayoutParams): {
|
|
9
12
|
onLayout: (e: LayoutChangeEvent) => void;
|
|
10
13
|
animatedPillStyle: {
|
|
11
14
|
transform: {
|
|
@@ -14,6 +17,7 @@ export declare function usePillLayout({ selectedIndex, children, }: UsePillLayou
|
|
|
14
17
|
width: number;
|
|
15
18
|
height: number;
|
|
16
19
|
};
|
|
20
|
+
registerButtonLayout: (value: string, layout: ButtonLayout) => void;
|
|
17
21
|
};
|
|
18
22
|
export {};
|
|
19
23
|
//# sourceMappingURL=usePillLayout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePillLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/usePillLayout.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"usePillLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/SegmentedControl/usePillLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,SAAS,EAKV,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAOjD,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalSelectBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/GlobalSelectBottomSheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GlobalSelectBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/GlobalSelectBottomSheet.tsx"],"names":[],"mappings":"AAqDA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EA4G3C,CAAC"}
|
|
@@ -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,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC,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":"Select.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Select/Select.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EACV,WAAW,EACX,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,MAAM;kJAShB,WAAW;;CAyDb,CAAC;AAGF,eAAO,MAAM,aAAa;mFAQvB,kBAAkB;;CAmEpB,CAAC;AAmFF;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAgCvB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,aAAa;mBAAkB,kBAAkB;;CAkD7D,CAAC;AAGF,eAAO,MAAM,WAAW;wCAKrB,gBAAgB;;CAgBlB,CAAC;AAGF,eAAO,MAAM,WAAW;wCAKrB,gBAAgB;;CAsBlB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,UAAU;aAAY,eAAe;;CAIjD,CAAC;AAGF,eAAO,MAAM,cAAc;wCAKxB,mBAAmB;;CAkBrB,CAAC;AAGF,eAAO,MAAM,eAAe;aAAY,oBAAoB;;CAI3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Slot/Slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,qBAAqB,EACtB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,KAAK,EACL,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EAGV,0BAA0B,EAE3B,MAAM,cAAc,CAAC;AAEtB,QAAA,MAAM,aAAa;wBAGhB,cAAc,GAAG,qBAAqB,CAAC,OAAO,SAAS,CAAC;;
|
|
1
|
+
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Slot/Slot.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,qBAAqB,EACtB,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,KAAK,EACL,cAAc,EACd,SAAS,EACT,SAAS,EACT,UAAU,EAGV,0BAA0B,EAE3B,MAAM,cAAc,CAAC;AAEtB,QAAA,MAAM,aAAa;wBAGhB,cAAc,GAAG,qBAAqB,CAAC,OAAO,SAAS,CAAC;;CAgB1D,CAAC;AAIF,QAAA,MAAM,QAAQ;wBAGX,SAAS,GAAG,qBAAqB,CAAC,OAAO,IAAI,CAAC;;CAgBhD,CAAC;AAIF,QAAA,MAAM,QAAQ;wBAGX,SAAS,GAAG,qBAAqB,CAAC,OAAO,IAAI,CAAC;;CAgBhD,CAAC;AAIF,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;wBAAuB,kBAAkB;;CAgBvD,CAAC;AA4EF,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,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
2
|
import { StyledViewProps } from '../../../styles';
|
|
3
3
|
import { IconProps } from '../Icon';
|
|
4
4
|
export type SpotAppearance = 'icon' | 'bluetooth' | 'check' | 'error' | 'warning' | 'info' | 'loader' | 'number';
|
|
@@ -10,7 +10,7 @@ type IconSpotProps = {
|
|
|
10
10
|
/**
|
|
11
11
|
* A React component to be rendered as the icon. Required when appearance is 'icon'.
|
|
12
12
|
*/
|
|
13
|
-
icon:
|
|
13
|
+
icon: ComponentType<IconProps>;
|
|
14
14
|
};
|
|
15
15
|
type NumberSpotProps = {
|
|
16
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Spot/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
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;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,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":"BaseSwitch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Switch/BaseSwitch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseSwitch.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Switch/BaseSwitch.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAG1E,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAKtC,KAAK,mBAAmB,GAAG,uBAAuB,GAAG;IACnD,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC,CAAC;IAChD,QAAQ,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IACnC,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC3B,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;CAC/C,CAAC;AAKF,QAAA,MAAM,cAAc;kIAUjB,mBAAmB;;CA4CrB,CAAC;AAoCF,QAAA,MAAM,eAAe;iCAAgC,kBAAkB;;CAsCtE,CAAC;AAwFF,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -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":"AA6BA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,cAAc,KAAK,CAAC;AAyIjC,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,UAAU,EACV,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,2CAmDjB;yBA1De,UAAU;;;AA8D1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,UAAU,EACV,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,WAAW,2CA2Cb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAiGnC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,GAAG;0FAUb,QAAQ;;
|
|
1
|
+
{"version":3,"file":"Tag.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tag/Tag.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAiGnC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,GAAG;0FAUb,QAAQ;;CAuBV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTooltipBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tooltip/GlobalTooltipBottomSheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GlobalTooltipBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tooltip/GlobalTooltipBottomSheet.tsx"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,EA6C5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalTooltipContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tooltip/GlobalTooltipContext.tsx"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"GlobalTooltipContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/Tooltip/GlobalTooltipContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAA0C,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,oCAAoC,GAAG;IAC1C,cAAc,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,cAAc,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC,CAAC;IACpE,cAAc,EAAE,KAAK,CAAC,gBAAgB,CAAC,MAAM,IAAI,CAAC,CAAC;CACpD,CAAC;AAOF,eAAO,MAAM,2BAA2B;;;yHAA+B,CAAC;AAExE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,QAAO;IACnC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;CAgBzB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,qBAAqB,GAAI,eAEnC,0BAA0B,4CA8C5B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TriangleDown icon component for React Native.
|
|
3
|
+
*
|
|
4
|
+
* This icon component is automatically generated from SVG files and uses the createIcon utility
|
|
5
|
+
* to create a consistent icon interface. It supports all standard SVG props (from react-native-svg)
|
|
6
|
+
* and additional size variants defined in the Icon component.
|
|
7
|
+
*
|
|
8
|
+
* @component
|
|
9
|
+
* @param {16 | 20 | 24 | 40 | 48 | 56} [size=24] - The size of the icon in pixels.
|
|
10
|
+
* @param {string} [color] - The color of the icon.
|
|
11
|
+
* @param {SVGProps} [...props] - All standard SVG element props (from react-native-svg).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* // Basic usage with default size (24px)
|
|
15
|
+
* import { TriangleDown } from '@ledgerhq/lumen-ui-rnative/symbols';
|
|
16
|
+
*
|
|
17
|
+
* <TriangleDown />
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // With custom size and style
|
|
21
|
+
* <TriangleDown size={40} color="warning" lx={{ marginTop: 's4' }} />
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* // Used within a Button component
|
|
25
|
+
* import { Button } from '@ledgerhq/lumen-ui-rnative';
|
|
26
|
+
*
|
|
27
|
+
* <Button icon={TriangleDown} size="md">
|
|
28
|
+
* Click me
|
|
29
|
+
* </Button>
|
|
30
|
+
*/
|
|
31
|
+
export declare const TriangleDown: {
|
|
32
|
+
({ disabled, ...props }: Omit<import("../../Components").IconProps, "children">): import("react").FunctionComponentElement<import("../../Components").IconProps>;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=TriangleDown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TriangleDown.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Symbols/Icons/TriangleDown.tsx"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,YAAY;;;CAQxB,CAAC"}
|