@metamask/design-system-react-native 0.29.0 → 0.30.0
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/CHANGELOG.md +25 -1
- package/dist/components/AvatarBase/AvatarBase.cjs +1 -1
- package/dist/components/AvatarBase/AvatarBase.cjs.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.d.cts.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.d.mts.map +1 -1
- package/dist/components/AvatarBase/AvatarBase.mjs +2 -2
- package/dist/components/AvatarBase/AvatarBase.mjs.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.cjs +1 -1
- package/dist/components/BadgeCount/BadgeCount.cjs.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.d.cts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.d.mts.map +1 -1
- package/dist/components/BadgeCount/BadgeCount.mjs +2 -2
- package/dist/components/BadgeCount/BadgeCount.mjs.map +1 -1
- package/dist/components/BannerBase/BannerBase.cjs +1 -1
- package/dist/components/BannerBase/BannerBase.cjs.map +1 -1
- package/dist/components/BannerBase/BannerBase.d.cts.map +1 -1
- package/dist/components/BannerBase/BannerBase.d.mts.map +1 -1
- package/dist/components/BannerBase/BannerBase.mjs +2 -2
- package/dist/components/BannerBase/BannerBase.mjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.cjs +5 -3
- package/dist/components/ButtonBase/ButtonBase.cjs.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.cts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.d.mts.map +1 -1
- package/dist/components/ButtonBase/ButtonBase.mjs +6 -4
- package/dist/components/ButtonBase/ButtonBase.mjs.map +1 -1
- package/dist/components/Content/Content.cjs +4 -10
- package/dist/components/Content/Content.cjs.map +1 -1
- package/dist/components/Content/Content.d.cts.map +1 -1
- package/dist/components/Content/Content.d.mts.map +1 -1
- package/dist/components/Content/Content.mjs +5 -11
- package/dist/components/Content/Content.mjs.map +1 -1
- package/dist/components/Content/Content.types.cjs.map +1 -1
- package/dist/components/Content/Content.types.d.cts +1 -1
- package/dist/components/Content/Content.types.d.mts +1 -1
- package/dist/components/Content/Content.types.mjs.map +1 -1
- package/dist/components/{SegmentButton/SegmentButton.cjs → FilterButton/FilterButton.cjs} +19 -17
- package/dist/components/FilterButton/FilterButton.cjs.map +1 -0
- package/dist/components/FilterButton/FilterButton.d.cts +7 -0
- package/dist/components/FilterButton/FilterButton.d.cts.map +1 -0
- package/dist/components/FilterButton/FilterButton.d.mts +7 -0
- package/dist/components/FilterButton/FilterButton.d.mts.map +1 -0
- package/dist/components/{SegmentButton/SegmentButton.mjs → FilterButton/FilterButton.mjs} +18 -16
- package/dist/components/FilterButton/FilterButton.mjs.map +1 -0
- package/dist/components/{SegmentGroup/SegmentGroup.types.cjs → FilterButton/FilterButton.types.cjs} +1 -1
- package/dist/components/FilterButton/FilterButton.types.cjs.map +1 -0
- package/dist/components/FilterButton/FilterButton.types.d.cts +9 -0
- package/dist/components/FilterButton/FilterButton.types.d.cts.map +1 -0
- package/dist/components/FilterButton/FilterButton.types.d.mts +9 -0
- package/dist/components/FilterButton/FilterButton.types.d.mts.map +1 -0
- package/dist/components/FilterButton/FilterButton.types.mjs +2 -0
- package/dist/components/FilterButton/FilterButton.types.mjs.map +1 -0
- package/dist/components/FilterButton/index.cjs +8 -0
- package/dist/components/FilterButton/index.cjs.map +1 -0
- package/dist/components/FilterButton/index.d.cts +4 -0
- package/dist/components/FilterButton/index.d.cts.map +1 -0
- package/dist/components/FilterButton/index.d.mts +4 -0
- package/dist/components/FilterButton/index.d.mts.map +1 -0
- package/dist/components/FilterButton/index.mjs +3 -0
- package/dist/components/FilterButton/index.mjs.map +1 -0
- package/dist/components/{SegmentGroup/SegmentGroup.cjs → FilterButtonGroup/FilterButtonGroup.cjs} +7 -7
- package/dist/components/FilterButtonGroup/FilterButtonGroup.cjs.map +1 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.d.cts +7 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.d.cts.map +1 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.d.mts +7 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.d.mts.map +1 -0
- package/dist/components/{SegmentGroup/SegmentGroup.mjs → FilterButtonGroup/FilterButtonGroup.mjs} +6 -6
- package/dist/components/FilterButtonGroup/FilterButtonGroup.mjs.map +1 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.cjs +3 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.cjs.map +1 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.d.cts +12 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.d.cts.map +1 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.d.mts +12 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.d.mts.map +1 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.mjs +2 -0
- package/dist/components/FilterButtonGroup/FilterButtonGroup.types.mjs.map +1 -0
- package/dist/components/FilterButtonGroup/index.cjs +6 -0
- package/dist/components/FilterButtonGroup/index.cjs.map +1 -0
- package/dist/components/FilterButtonGroup/index.d.cts +3 -0
- package/dist/components/FilterButtonGroup/index.d.cts.map +1 -0
- package/dist/components/FilterButtonGroup/index.d.mts +3 -0
- package/dist/components/FilterButtonGroup/index.d.mts.map +1 -0
- package/dist/components/FilterButtonGroup/index.mjs +2 -0
- package/dist/components/FilterButtonGroup/index.mjs.map +1 -0
- package/dist/components/HeaderRoot/HeaderRoot.cjs +2 -1
- package/dist/components/HeaderRoot/HeaderRoot.cjs.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.d.cts.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.d.mts.map +1 -1
- package/dist/components/HeaderRoot/HeaderRoot.mjs +2 -1
- package/dist/components/HeaderRoot/HeaderRoot.mjs.map +1 -1
- package/dist/components/HeaderStandard/HeaderStandard.cjs +2 -1
- package/dist/components/HeaderStandard/HeaderStandard.cjs.map +1 -1
- package/dist/components/HeaderStandard/HeaderStandard.d.cts.map +1 -1
- package/dist/components/HeaderStandard/HeaderStandard.d.mts.map +1 -1
- package/dist/components/HeaderStandard/HeaderStandard.mjs +2 -1
- package/dist/components/HeaderStandard/HeaderStandard.mjs.map +1 -1
- package/dist/components/HeaderSubpage/HeaderSubpage.cjs +90 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.cjs.map +1 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.d.cts +4 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.d.cts.map +1 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.d.mts +4 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.d.mts.map +1 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.mjs +70 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.mjs.map +1 -0
- package/dist/components/{SegmentButton/SegmentButton.types.cjs → HeaderSubpage/HeaderSubpage.types.cjs} +1 -1
- package/dist/components/HeaderSubpage/HeaderSubpage.types.cjs.map +1 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.types.d.cts +59 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.types.d.cts.map +1 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.types.d.mts +59 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.types.d.mts.map +1 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.types.mjs +2 -0
- package/dist/components/HeaderSubpage/HeaderSubpage.types.mjs.map +1 -0
- package/dist/components/HeaderSubpage/index.cjs +6 -0
- package/dist/components/HeaderSubpage/index.cjs.map +1 -0
- package/dist/components/HeaderSubpage/index.d.cts +3 -0
- package/dist/components/HeaderSubpage/index.d.cts.map +1 -0
- package/dist/components/HeaderSubpage/index.d.mts +3 -0
- package/dist/components/HeaderSubpage/index.d.mts.map +1 -0
- package/dist/components/HeaderSubpage/index.mjs +2 -0
- package/dist/components/HeaderSubpage/index.mjs.map +1 -0
- package/dist/components/Icon/Icon.assets.cjs +2 -0
- package/dist/components/Icon/Icon.assets.cjs.map +1 -1
- package/dist/components/Icon/Icon.assets.d.cts.map +1 -1
- package/dist/components/Icon/Icon.assets.d.mts.map +1 -1
- package/dist/components/Icon/Icon.assets.mjs +2 -0
- package/dist/components/Icon/Icon.assets.mjs.map +1 -1
- package/dist/components/Icon/assets/trophy.svg +1 -0
- package/dist/components/ListItem/ListItem.cjs +12 -4
- package/dist/components/ListItem/ListItem.cjs.map +1 -1
- package/dist/components/ListItem/ListItem.d.cts.map +1 -1
- package/dist/components/ListItem/ListItem.d.mts.map +1 -1
- package/dist/components/ListItem/ListItem.mjs +12 -4
- package/dist/components/ListItem/ListItem.mjs.map +1 -1
- package/dist/components/ListItem/ListItem.types.cjs.map +1 -1
- package/dist/components/ListItem/ListItem.types.d.cts +3 -2
- package/dist/components/ListItem/ListItem.types.d.cts.map +1 -1
- package/dist/components/ListItem/ListItem.types.d.mts +3 -2
- package/dist/components/ListItem/ListItem.types.d.mts.map +1 -1
- package/dist/components/ListItem/ListItem.types.mjs.map +1 -1
- package/dist/components/ListItem/index.cjs +3 -1
- package/dist/components/ListItem/index.cjs.map +1 -1
- package/dist/components/ListItem/index.d.cts +1 -0
- package/dist/components/ListItem/index.d.cts.map +1 -1
- package/dist/components/ListItem/index.d.mts +1 -0
- package/dist/components/ListItem/index.d.mts.map +1 -1
- package/dist/components/ListItem/index.mjs +1 -0
- package/dist/components/ListItem/index.mjs.map +1 -1
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.cjs +20 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.cjs.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.d.cts +7 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.d.cts.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.d.mts +7 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.d.mts.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.mjs +20 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.mjs.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.cjs +3 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.cjs.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.d.cts +14 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.d.cts.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.d.mts +14 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.d.mts.map +1 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.mjs +2 -0
- package/dist/components/ListItemMultiSelect/ListItemMultiSelect.types.mjs.map +1 -0
- package/dist/components/ListItemMultiSelect/index.cjs +6 -0
- package/dist/components/ListItemMultiSelect/index.cjs.map +1 -0
- package/dist/components/ListItemMultiSelect/index.d.cts +3 -0
- package/dist/components/ListItemMultiSelect/index.d.cts.map +1 -0
- package/dist/components/ListItemMultiSelect/index.d.mts +3 -0
- package/dist/components/ListItemMultiSelect/index.d.mts.map +1 -0
- package/dist/components/ListItemMultiSelect/index.mjs +2 -0
- package/dist/components/ListItemMultiSelect/index.mjs.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.cjs +21 -0
- package/dist/components/ListItemSelect/ListItemSelect.cjs.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.d.cts +7 -0
- package/dist/components/ListItemSelect/ListItemSelect.d.cts.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.d.mts +7 -0
- package/dist/components/ListItemSelect/ListItemSelect.d.mts.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.mjs +21 -0
- package/dist/components/ListItemSelect/ListItemSelect.mjs.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.cjs +3 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.cjs.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.d.cts +18 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.d.cts.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.d.mts +18 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.d.mts.map +1 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.mjs +2 -0
- package/dist/components/ListItemSelect/ListItemSelect.types.mjs.map +1 -0
- package/dist/components/ListItemSelect/index.cjs +6 -0
- package/dist/components/ListItemSelect/index.cjs.map +1 -0
- package/dist/components/ListItemSelect/index.d.cts +3 -0
- package/dist/components/ListItemSelect/index.d.cts.map +1 -0
- package/dist/components/ListItemSelect/index.d.mts +3 -0
- package/dist/components/ListItemSelect/index.d.mts.map +1 -0
- package/dist/components/ListItemSelect/index.mjs +2 -0
- package/dist/components/ListItemSelect/index.mjs.map +1 -0
- package/dist/components/SectionHeader/SectionHeader.cjs +1 -1
- package/dist/components/SectionHeader/SectionHeader.cjs.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.d.cts.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.d.mts.map +1 -1
- package/dist/components/SectionHeader/SectionHeader.mjs +2 -2
- package/dist/components/SectionHeader/SectionHeader.mjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.cjs +50 -0
- package/dist/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.cjs +12 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.cjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.d.cts +4 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.d.cts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.d.mts +4 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.d.mts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.mjs +8 -0
- package/dist/components/SegmentedControl/SegmentedControl.constants.mjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.cts +7 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.cts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.mts +7 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.mts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.mjs +30 -0
- package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.cjs +3 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.cjs.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.d.cts +12 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.d.cts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.d.mts +12 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.d.mts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.mjs +2 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.mjs.map +1 -0
- package/dist/components/SegmentedControl/index.cjs +6 -0
- package/dist/components/SegmentedControl/index.cjs.map +1 -0
- package/dist/components/SegmentedControl/index.d.cts +3 -0
- package/dist/components/SegmentedControl/index.d.cts.map +1 -0
- package/dist/components/SegmentedControl/index.d.mts +3 -0
- package/dist/components/SegmentedControl/index.d.mts.map +1 -0
- package/dist/components/SegmentedControl/index.mjs +2 -0
- package/dist/components/SegmentedControl/index.mjs.map +1 -0
- package/dist/components/Switch/Switch.cjs +28 -0
- package/dist/components/Switch/Switch.cjs.map +1 -0
- package/dist/components/Switch/Switch.d.cts +4 -0
- package/dist/components/Switch/Switch.d.cts.map +1 -0
- package/dist/components/Switch/Switch.d.mts +4 -0
- package/dist/components/Switch/Switch.d.mts.map +1 -0
- package/dist/components/Switch/Switch.mjs +28 -0
- package/dist/components/Switch/Switch.mjs.map +1 -0
- package/dist/components/Switch/Switch.types.cjs +3 -0
- package/dist/components/Switch/Switch.types.cjs.map +1 -0
- package/dist/components/Switch/Switch.types.d.cts +14 -0
- package/dist/components/Switch/Switch.types.d.cts.map +1 -0
- package/dist/components/Switch/Switch.types.d.mts +14 -0
- package/dist/components/Switch/Switch.types.d.mts.map +1 -0
- package/dist/components/Switch/Switch.types.mjs +2 -0
- package/dist/components/Switch/Switch.types.mjs.map +1 -0
- package/dist/components/Switch/index.cjs +6 -0
- package/dist/components/Switch/index.cjs.map +1 -0
- package/dist/components/Switch/index.d.cts +3 -0
- package/dist/components/Switch/index.d.cts.map +1 -0
- package/dist/components/Switch/index.d.mts +3 -0
- package/dist/components/Switch/index.d.mts.map +1 -0
- package/dist/components/Switch/index.mjs +2 -0
- package/dist/components/Switch/index.mjs.map +1 -0
- package/dist/components/TabEmptyState/TabEmptyState.cjs +2 -1
- package/dist/components/TabEmptyState/TabEmptyState.cjs.map +1 -1
- package/dist/components/TabEmptyState/TabEmptyState.d.cts.map +1 -1
- package/dist/components/TabEmptyState/TabEmptyState.d.mts.map +1 -1
- package/dist/components/TabEmptyState/TabEmptyState.mjs +2 -1
- package/dist/components/TabEmptyState/TabEmptyState.mjs.map +1 -1
- package/dist/components/TextField/TextField.cjs +2 -1
- package/dist/components/TextField/TextField.cjs.map +1 -1
- package/dist/components/TextField/TextField.d.cts.map +1 -1
- package/dist/components/TextField/TextField.d.mts.map +1 -1
- package/dist/components/TextField/TextField.mjs +2 -1
- package/dist/components/TextField/TextField.mjs.map +1 -1
- package/dist/components/Toast/Toast.cjs +1 -1
- package/dist/components/Toast/Toast.cjs.map +1 -1
- package/dist/components/Toast/Toast.d.cts.map +1 -1
- package/dist/components/Toast/Toast.d.mts.map +1 -1
- package/dist/components/Toast/Toast.mjs +2 -2
- package/dist/components/Toast/Toast.mjs.map +1 -1
- package/dist/components/index.cjs +20 -9
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.d.cts +17 -7
- package/dist/components/index.d.cts.map +1 -1
- package/dist/components/index.d.mts +17 -7
- package/dist/components/index.d.mts.map +1 -1
- package/dist/components/index.mjs +9 -4
- package/dist/components/index.mjs.map +1 -1
- package/package.json +5 -3
- package/dist/components/SegmentButton/SegmentButton.cjs.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.d.cts +0 -7
- package/dist/components/SegmentButton/SegmentButton.d.cts.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.d.mts +0 -7
- package/dist/components/SegmentButton/SegmentButton.d.mts.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.mjs.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.types.cjs.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.types.d.cts +0 -9
- package/dist/components/SegmentButton/SegmentButton.types.d.cts.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.types.d.mts +0 -9
- package/dist/components/SegmentButton/SegmentButton.types.d.mts.map +0 -1
- package/dist/components/SegmentButton/SegmentButton.types.mjs +0 -2
- package/dist/components/SegmentButton/SegmentButton.types.mjs.map +0 -1
- package/dist/components/SegmentButton/index.cjs +0 -8
- package/dist/components/SegmentButton/index.cjs.map +0 -1
- package/dist/components/SegmentButton/index.d.cts +0 -4
- package/dist/components/SegmentButton/index.d.cts.map +0 -1
- package/dist/components/SegmentButton/index.d.mts +0 -4
- package/dist/components/SegmentButton/index.d.mts.map +0 -1
- package/dist/components/SegmentButton/index.mjs +0 -3
- package/dist/components/SegmentButton/index.mjs.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.cjs.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.d.cts +0 -7
- package/dist/components/SegmentGroup/SegmentGroup.d.cts.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.d.mts +0 -7
- package/dist/components/SegmentGroup/SegmentGroup.d.mts.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.mjs.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.types.cjs.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.types.d.cts +0 -12
- package/dist/components/SegmentGroup/SegmentGroup.types.d.cts.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.types.d.mts +0 -12
- package/dist/components/SegmentGroup/SegmentGroup.types.d.mts.map +0 -1
- package/dist/components/SegmentGroup/SegmentGroup.types.mjs +0 -2
- package/dist/components/SegmentGroup/SegmentGroup.types.mjs.map +0 -1
- package/dist/components/SegmentGroup/index.cjs +0 -6
- package/dist/components/SegmentGroup/index.cjs.map +0 -1
- package/dist/components/SegmentGroup/index.d.cts +0 -3
- package/dist/components/SegmentGroup/index.d.cts.map +0 -1
- package/dist/components/SegmentGroup/index.d.mts +0 -3
- package/dist/components/SegmentGroup/index.d.mts.map +0 -1
- package/dist/components/SegmentGroup/index.mjs +0 -2
- package/dist/components/SegmentGroup/index.mjs.map +0 -1
|
@@ -70,6 +70,8 @@ export { HeaderStandard } from "./HeaderStandard/index.mjs";
|
|
|
70
70
|
export type { HeaderStandardProps } from "./HeaderStandard/index.mjs";
|
|
71
71
|
export { HeaderStandardAnimated, useHeaderStandardAnimated, } from "./HeaderStandardAnimated/index.mjs";
|
|
72
72
|
export type { HeaderStandardAnimatedProps, UseHeaderStandardAnimatedReturn, } from "./HeaderStandardAnimated/index.mjs";
|
|
73
|
+
export { HeaderSubpage } from "./HeaderSubpage/index.mjs";
|
|
74
|
+
export type { HeaderSubpageProps } from "./HeaderSubpage/index.mjs";
|
|
73
75
|
export { HeaderStandardCenterColumn } from "./temp-components/HeaderStandardCenterColumn/index.mjs";
|
|
74
76
|
export type { HeaderStandardCenterColumnFields, HeaderStandardCenterColumnProps, } from "./temp-components/HeaderStandardCenterColumn/index.mjs";
|
|
75
77
|
export { Icon, IconColor, IconName, IconSize } from "./Icon/index.mjs";
|
|
@@ -84,8 +86,12 @@ export { KeyValueRow, KeyValueRowVariant } from "./KeyValueRow/index.mjs";
|
|
|
84
86
|
export type { KeyValueRowProps } from "./KeyValueRow/index.mjs";
|
|
85
87
|
export { Label } from "./Label/index.mjs";
|
|
86
88
|
export type { LabelProps } from "./Label/index.mjs";
|
|
87
|
-
export { ListItem } from "./ListItem/index.mjs";
|
|
89
|
+
export { ListItem, ListItemVerticalAlignment } from "./ListItem/index.mjs";
|
|
88
90
|
export type { ListItemProps } from "./ListItem/index.mjs";
|
|
91
|
+
export { ListItemSelect } from "./ListItemSelect/index.mjs";
|
|
92
|
+
export type { ListItemSelectProps } from "./ListItemSelect/index.mjs";
|
|
93
|
+
export { ListItemMultiSelect } from "./ListItemMultiSelect/index.mjs";
|
|
94
|
+
export type { ListItemMultiSelectProps } from "./ListItemMultiSelect/index.mjs";
|
|
89
95
|
export { RadioButton } from "./RadioButton/index.mjs";
|
|
90
96
|
export type { RadioButtonProps } from "./RadioButton/index.mjs";
|
|
91
97
|
export { Jazzicon } from "./temp-components/Jazzicon/index.mjs";
|
|
@@ -96,10 +102,10 @@ export { MainActionButton } from "./MainActionButton/index.mjs";
|
|
|
96
102
|
export type { MainActionButtonProps } from "./MainActionButton/index.mjs";
|
|
97
103
|
export { SectionDivider } from "./SectionDivider/index.mjs";
|
|
98
104
|
export type { SectionDividerProps } from "./SectionDivider/index.mjs";
|
|
99
|
-
export {
|
|
100
|
-
export type {
|
|
101
|
-
export {
|
|
102
|
-
export type {
|
|
105
|
+
export { FilterButton, FilterButtonVariant } from "./FilterButton/index.mjs";
|
|
106
|
+
export type { FilterButtonProps } from "./FilterButton/index.mjs";
|
|
107
|
+
export { FilterButtonGroup } from "./FilterButtonGroup/index.mjs";
|
|
108
|
+
export type { FilterButtonGroupProps } from "./FilterButtonGroup/index.mjs";
|
|
103
109
|
export { SelectButton, SelectButtonEndArrow, SelectButtonSize, SelectButtonVariant, } from "./SelectButton/index.mjs";
|
|
104
110
|
export type { SelectButtonProps } from "./SelectButton/index.mjs";
|
|
105
111
|
export { Skeleton } from "./Skeleton/index.mjs";
|
|
@@ -140,8 +146,12 @@ export { Spinner } from "./temp-components/Spinner/index.mjs";
|
|
|
140
146
|
export type { SpinnerProps } from "./temp-components/Spinner/index.mjs";
|
|
141
147
|
export { BannerAlert, BannerAlertSeverity } from "./BannerAlert/index.mjs";
|
|
142
148
|
export type { BannerAlertProps } from "./BannerAlert/index.mjs";
|
|
143
|
-
export { Tag, TagSeverity } from "./Tag/index.mjs";
|
|
144
|
-
export type { TagProps } from "./Tag/index.mjs";
|
|
145
149
|
export { SectionHeader } from "./SectionHeader/index.mjs";
|
|
146
150
|
export type { SectionHeaderProps } from "./SectionHeader/index.mjs";
|
|
151
|
+
export { SegmentedControl } from "./SegmentedControl/index.mjs";
|
|
152
|
+
export type { SegmentedControlProps } from "./SegmentedControl/index.mjs";
|
|
153
|
+
export { Switch } from "./Switch/index.mjs";
|
|
154
|
+
export type { SwitchProps } from "./Switch/index.mjs";
|
|
155
|
+
export { Tag, TagSeverity } from "./Tag/index.mjs";
|
|
156
|
+
export type { TagProps } from "./Tag/index.mjs";
|
|
147
157
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mCAAyB;AAClD,YAAY,EAAE,mBAAmB,EAAE,mCAAyB;AAE5D,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,GAClB,kCAAwB;AACzB,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAC3E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AACnE,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,GACnB,gCAAsB;AACvB,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AAC9E,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE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AY,EACZ,UAAU,EACV,cAAc,EACd,YAAY,EACZ,UAAU,GACX,0BAAgB;AAEjB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAC1D,YAAY,EAAE,eAAe,EAAE,+BAAqB;AAEpD,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAC9C,YAAY,EAAE,iBAAiB,EAAE,iCAAuB;AAExD,OAAO,EAAE,UAAU,EAAE,+CAAqC;AAC1D,YAAY,EACV,eAAe,EACf,aAAa,GACd,+CAAqC;AAEtC,OAAO,EAAE,OAAO,EAAE,4CAAkC;AACpD,YAAY,EAAE,YAAY,EAAE,4CAAkC;AAE9D,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AACjE,YAAY,EAAE,gBAAgB,EAAE,gCAAsB;AAEtD,OAAO,EAAE,aAAa,EAAE,kCAAwB;AAChD,YAAY,EAAE,kBAAkB,EAAE,kCAAwB;AAE1D,OAAO,EAAE,gBAAgB,EAAE,qCAA2B;AACtD,YAAY,EAAE,qBAAqB,EAAE,qCAA2B;AAEhE,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAClC,YAAY,EAAE,WAAW,EAAE,2BAAiB;AAE5C,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc;AACzC,YAAY,EAAE,QAAQ,EAAE,wBAAc"}
|
|
@@ -34,6 +34,7 @@ export { HeaderRoot } from "./HeaderRoot/index.mjs";
|
|
|
34
34
|
export { HeaderSearch, HeaderSearchVariant } from "./HeaderSearch/index.mjs";
|
|
35
35
|
export { HeaderStandard } from "./HeaderStandard/index.mjs";
|
|
36
36
|
export { HeaderStandardAnimated, useHeaderStandardAnimated } from "./HeaderStandardAnimated/index.mjs";
|
|
37
|
+
export { HeaderSubpage } from "./HeaderSubpage/index.mjs";
|
|
37
38
|
export { HeaderStandardCenterColumn } from "./temp-components/HeaderStandardCenterColumn/index.mjs";
|
|
38
39
|
export { Icon, IconColor, IconName, IconSize } from "./Icon/index.mjs";
|
|
39
40
|
export { IconAlert, IconAlertSeverity } from "./IconAlert/index.mjs";
|
|
@@ -41,14 +42,16 @@ export { Input } from "./Input/index.mjs";
|
|
|
41
42
|
export { KeyValueColumn } from "./KeyValueColumn/index.mjs";
|
|
42
43
|
export { KeyValueRow, KeyValueRowVariant } from "./KeyValueRow/index.mjs";
|
|
43
44
|
export { Label } from "./Label/index.mjs";
|
|
44
|
-
export { ListItem } from "./ListItem/index.mjs";
|
|
45
|
+
export { ListItem, ListItemVerticalAlignment } from "./ListItem/index.mjs";
|
|
46
|
+
export { ListItemSelect } from "./ListItemSelect/index.mjs";
|
|
47
|
+
export { ListItemMultiSelect } from "./ListItemMultiSelect/index.mjs";
|
|
45
48
|
export { RadioButton } from "./RadioButton/index.mjs";
|
|
46
49
|
export { Jazzicon } from "./temp-components/Jazzicon/index.mjs";
|
|
47
50
|
export { Maskicon } from "./temp-components/Maskicon/index.mjs";
|
|
48
51
|
export { MainActionButton } from "./MainActionButton/index.mjs";
|
|
49
52
|
export { SectionDivider } from "./SectionDivider/index.mjs";
|
|
50
|
-
export {
|
|
51
|
-
export {
|
|
53
|
+
export { FilterButton, FilterButtonVariant } from "./FilterButton/index.mjs";
|
|
54
|
+
export { FilterButtonGroup } from "./FilterButtonGroup/index.mjs";
|
|
52
55
|
export { SelectButton, SelectButtonEndArrow, SelectButtonSize, SelectButtonVariant } from "./SelectButton/index.mjs";
|
|
53
56
|
export { Skeleton } from "./Skeleton/index.mjs";
|
|
54
57
|
export { SensitiveText, SensitiveTextLength } from "./SensitiveText/index.mjs";
|
|
@@ -69,6 +72,8 @@ export { ButtonFilter } from "./ButtonFilter/index.mjs";
|
|
|
69
72
|
export { ImageOrSvg } from "./temp-components/ImageOrSvg/index.mjs";
|
|
70
73
|
export { Spinner } from "./temp-components/Spinner/index.mjs";
|
|
71
74
|
export { BannerAlert, BannerAlertSeverity } from "./BannerAlert/index.mjs";
|
|
72
|
-
export { Tag, TagSeverity } from "./Tag/index.mjs";
|
|
73
75
|
export { SectionHeader } from "./SectionHeader/index.mjs";
|
|
76
|
+
export { SegmentedControl } from "./SegmentedControl/index.mjs";
|
|
77
|
+
export { Switch } from "./Switch/index.mjs";
|
|
78
|
+
export { Tag, TagSeverity } from "./Tag/index.mjs";
|
|
74
79
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mCAAyB;AAGlD,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EAClB,kCAAwB;AAGzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAG3E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EACnB,gCAAsB;AAGvB,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AAG9E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,gCAAsB;AAG7D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,SAAS,EAAE,8BAAoB;AAGxC,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,gCAAsB;AAGhF,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,+BAA+B,EAChC,iCAAuB;AAMxB,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,OAAO,EAAE,WAAW,EAAE,gCAAsB;AAO5C,OAAO,EAAE,iBAAiB,EAAE,sCAA4B;AAMxD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,sCAA4B;AAM1E,OAAO,EAAE,iBAAiB,EAAE,sCA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AAE,+CAAqC;AAM1D,OAAO,EAAE,OAAO,EAAE,4CAAkC;AAGpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AAGjE,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc;AAGzC,OAAO,EAAE,aAAa,EAAE,kCAAwB","sourcesContent":["export { ActionListItem } from './ActionListItem';\nexport type { ActionListItemProps } from './ActionListItem';\n\nexport {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase';\n\nexport { BottomSheet } from './BottomSheet';\nexport type {\n BottomSheetProps,\n BottomSheetRef,\n BottomSheetPostCallback,\n} from './BottomSheet';\n\nexport { BottomSheetDialog } from './BottomSheetDialog';\nexport type {\n BottomSheetDialogProps,\n BottomSheetDialogRef,\n} from './BottomSheetDialog';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport { BottomSheetHeader } from './BottomSheetHeader';\nexport type { BottomSheetHeaderProps } from './BottomSheetHeader';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing, BoxBorderWidth } from './Box';\n\nexport { BoxRow } from './BoxRow';\nexport type { BoxRowProps } from './BoxRow';\n\nexport { BoxColumn } from './BoxColumn';\nexport type { BoxColumnProps } from './BoxColumn';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { Content, ContentVerticalAlignment } from './Content';\nexport type { ContentProps } from './Content';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize, ButtonIconVariant } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { ButtonSemantic, ButtonSemanticSeverity } from './ButtonSemantic';\nexport type { ButtonSemanticProps } from './ButtonSemantic';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { HeaderRoot } from './HeaderRoot';\nexport type { HeaderRootProps } from './HeaderRoot';\n\nexport { HeaderSearch, HeaderSearchVariant } from './HeaderSearch';\nexport type {\n HeaderSearchProps,\n HeaderSearchScreenProps,\n HeaderSearchInlineProps,\n} from './HeaderSearch';\n\nexport { HeaderStandard } from './HeaderStandard';\nexport type { HeaderStandardProps } from './HeaderStandard';\n\nexport {\n HeaderStandardAnimated,\n useHeaderStandardAnimated,\n} from './HeaderStandardAnimated';\nexport type {\n HeaderStandardAnimatedProps,\n UseHeaderStandardAnimatedReturn,\n} from './HeaderStandardAnimated';\n\nexport { HeaderStandardCenterColumn } from './temp-components/HeaderStandardCenterColumn';\nexport type {\n HeaderStandardCenterColumnFields,\n HeaderStandardCenterColumnProps,\n} from './temp-components/HeaderStandardCenterColumn';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { IconAlert, IconAlertSeverity } from './IconAlert';\nexport type { IconAlertProps } from './IconAlert';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { KeyValueColumn } from './KeyValueColumn';\nexport type { KeyValueColumnProps } from './KeyValueColumn';\n\nexport { KeyValueRow, KeyValueRowVariant } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { ListItem } from './ListItem';\nexport type { ListItemProps } from './ListItem';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { MainActionButton } from './MainActionButton';\nexport type { MainActionButtonProps } from './MainActionButton';\n\nexport { SectionDivider } from './SectionDivider';\nexport type { SectionDividerProps } from './SectionDivider';\n\nexport { SegmentButton, SegmentButtonVariant } from './SegmentButton';\nexport type { SegmentButtonProps } from './SegmentButton';\n\nexport { SegmentGroup } from './SegmentGroup';\nexport type { SegmentGroupProps } from './SegmentGroup';\n\nexport {\n SelectButton,\n SelectButtonEndArrow,\n SelectButtonSize,\n SelectButtonVariant,\n} from './SelectButton';\nexport type { SelectButtonProps } from './SelectButton';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { SensitiveText, SensitiveTextLength } from './SensitiveText';\nexport type { SensitiveTextProps } from './SensitiveText';\n\nexport { TabEmptyState } from './TabEmptyState';\nexport type { TabEmptyStateProps } from './TabEmptyState';\n\nexport { TextButton } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField';\n\nexport { TextArea } from './TextArea';\nexport type { TextAreaProps } from './TextArea';\n\nexport { TextFieldSearch } from './TextFieldSearch';\nexport type { TextFieldSearchProps } from './TextFieldSearch';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { TitleAlert } from './TitleAlert';\nexport type { TitleAlertProps } from './TitleAlert';\n\nexport { TitleHub } from './TitleHub';\nexport type { TitleHubProps, TitleHubPropsShared } from './TitleHub';\n\nexport { TitleStandard } from './TitleStandard';\nexport type { TitleStandardProps } from './TitleStandard';\n\nexport { TitleSubpage } from './TitleSubpage';\nexport type { TitleSubpageProps } from './TitleSubpage';\n\nexport { Toast, Toaster, toast, ToastSeverity } from './Toast';\nexport type {\n ToastOptions,\n ToastProps,\n ToastIconProps,\n ToasterProps,\n ToasterRef,\n} from './Toast';\n\nexport { ButtonHero, ButtonHeroSize } from './ButtonHero';\nexport type { ButtonHeroProps } from './ButtonHero';\n\nexport { ButtonFilter } from './ButtonFilter';\nexport type { ButtonFilterProps } from './ButtonFilter';\n\nexport { ImageOrSvg } from './temp-components/ImageOrSvg';\nexport type {\n ImageOrSvgProps,\n ImageOrSvgSrc,\n} from './temp-components/ImageOrSvg';\n\nexport { Spinner } from './temp-components/Spinner';\nexport type { SpinnerProps } from './temp-components/Spinner';\n\nexport { BannerAlert, BannerAlertSeverity } from './BannerAlert';\nexport type { BannerAlertProps } from './BannerAlert';\n\nexport { Tag, TagSeverity } from './Tag';\nexport type { TagProps } from './Tag';\n\nexport { SectionHeader } from './SectionHeader';\nexport type { SectionHeaderProps } from './SectionHeader';\n"]}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mCAAyB;AAGlD,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EAClB,kCAAwB;AAGzB,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,eAAe,EAAE,+BAAqB;AAG3E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EACnB,gCAAsB;AAGvB,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,cAAc,EAAE,+BAAqB;AAG9E,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,kCAAwB;AAGnE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,gCAAsB;AAG7D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,SAAS,EAAE,8BAAoB;AAGxC,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,WAAW,EAAE,iBAA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Q,EAAE,6BAAmB;AAGtC,OAAO,EAAE,eAAe,EAAE,oCAA0B;AAGpD,OAAO,EAAE,cAAc,EAAE,mDAAyC;AAGlE,OAAO,EAAE,UAAU,EAAE,+BAAqB;AAG1C,OAAO,EAAE,QAAQ,EAAE,6BAAmB;AAGtC,OAAO,EAAE,aAAa,EAAE,kCAAwB;AAGhD,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,0BAAgB;AAS/D,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,+BAAqB;AAG1D,OAAO,EAAE,YAAY,EAAE,iCAAuB;AAG9C,OAAO,EAAE,UAAU,EAAE,+CAAqC;AAM1D,OAAO,EAAE,OAAO,EAAE,4CAAkC;AAGpD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,gCAAsB;AAGjE,OAAO,EAAE,aAAa,EAAE,kCAAwB;AAGhD,OAAO,EAAE,gBAAgB,EAAE,qCAA2B;AAGtD,OAAO,EAAE,MAAM,EAAE,2BAAiB;AAGlC,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAc","sourcesContent":["export { ActionListItem } from './ActionListItem';\nexport type { ActionListItemProps } from './ActionListItem';\n\nexport {\n AvatarAccount,\n AvatarAccountVariant,\n AvatarAccountSize,\n} from './AvatarAccount';\nexport type { AvatarAccountProps } from './AvatarAccount';\n\nexport { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase';\nexport type { AvatarBaseProps } from './AvatarBase';\n\nexport { AvatarFavicon, AvatarFaviconSize } from './AvatarFavicon';\nexport type { AvatarFaviconProps } from './AvatarFavicon';\n\nexport {\n AvatarGroup,\n AvatarGroupSize,\n AvatarGroupVariant,\n} from './AvatarGroup';\nexport type { AvatarGroupProps } from './AvatarGroup';\n\nexport { AvatarIcon, AvatarIconSeverity, AvatarIconSize } from './AvatarIcon';\nexport type { AvatarIconProps } from './AvatarIcon';\n\nexport { AvatarNetwork, AvatarNetworkSize } from './AvatarNetwork';\nexport type { AvatarNetworkProps } from './AvatarNetwork';\n\nexport { AvatarToken, AvatarTokenSize } from './AvatarToken';\nexport type { AvatarTokenProps } from './AvatarToken';\n\nexport { BadgeCount, BadgeCountSize } from './BadgeCount';\nexport type { BadgeCountProps } from './BadgeCount';\n\nexport { BadgeIcon } from './BadgeIcon';\nexport type { BadgeIconProps } from './BadgeIcon';\n\nexport { BadgeNetwork } from './BadgeNetwork';\nexport type { BadgeNetworkProps } from './BadgeNetwork';\n\nexport { BadgeStatus, BadgeStatusStatus, BadgeStatusSize } from './BadgeStatus';\nexport type { BadgeStatusProps } from './BadgeStatus';\n\nexport {\n BadgeWrapper,\n BadgeWrapperPosition,\n BadgeWrapperPositionAnchorShape,\n} from './BadgeWrapper';\nexport type {\n BadgeWrapperProps,\n BadgeWrapperCustomPosition,\n} from './BadgeWrapper';\n\nexport { BannerBase } from './BannerBase';\nexport type { BannerBaseProps } from './BannerBase';\n\nexport { BottomSheet } from './BottomSheet';\nexport type {\n BottomSheetProps,\n BottomSheetRef,\n BottomSheetPostCallback,\n} from './BottomSheet';\n\nexport { BottomSheetDialog } from './BottomSheetDialog';\nexport type {\n BottomSheetDialogProps,\n BottomSheetDialogRef,\n} from './BottomSheetDialog';\n\nexport { BottomSheetFooter, ButtonsAlignment } from './BottomSheetFooter';\nexport type {\n BottomSheetFooterProps,\n BottomSheetFooterButtonProps,\n} from './BottomSheetFooter';\n\nexport { BottomSheetHeader } from './BottomSheetHeader';\nexport type { BottomSheetHeaderProps } from './BottomSheetHeader';\n\nexport { BottomSheetOverlay } from './BottomSheetOverlay';\nexport type { BottomSheetOverlayProps } from './BottomSheetOverlay';\n\nexport { Blockies } from './temp-components/Blockies';\nexport type { BlockiesProps } from './temp-components/Blockies';\n\nexport {\n Box,\n BoxFlexDirection,\n BoxFlexWrap,\n BoxAlignItems,\n BoxJustifyContent,\n BoxBackgroundColor,\n BoxBorderColor,\n} from './Box';\nexport type { BoxProps, BoxSpacing, BoxBorderWidth } from './Box';\n\nexport { BoxRow } from './BoxRow';\nexport type { BoxRowProps } from './BoxRow';\n\nexport { BoxColumn } from './BoxColumn';\nexport type { BoxColumnProps } from './BoxColumn';\n\nexport { Card } from './Card';\nexport type { CardProps } from './Card';\n\nexport { Content, ContentVerticalAlignment } from './Content';\nexport type { ContentProps } from './Content';\n\nexport { ButtonAnimated } from './temp-components/ButtonAnimated';\nexport type { ButtonAnimatedProps } from './temp-components/ButtonAnimated';\n\nexport { ButtonBase, ButtonBaseSize } from './ButtonBase';\nexport type { ButtonBaseProps } from './ButtonBase';\n\nexport { Button, ButtonSize, ButtonVariant } from './Button';\nexport type { ButtonProps } from './Button';\n\nexport { ButtonIcon, ButtonIconSize, ButtonIconVariant } from './ButtonIcon';\nexport type { ButtonIconProps } from './ButtonIcon';\n\nexport { ButtonSemantic, ButtonSemanticSeverity } from './ButtonSemantic';\nexport type { ButtonSemanticProps } from './ButtonSemantic';\n\nexport { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox';\n\nexport { HeaderBase } from './HeaderBase';\nexport type { HeaderBaseProps } from './HeaderBase';\n\nexport { HeaderRoot } from './HeaderRoot';\nexport type { HeaderRootProps } from './HeaderRoot';\n\nexport { HeaderSearch, HeaderSearchVariant } from './HeaderSearch';\nexport type {\n HeaderSearchProps,\n HeaderSearchScreenProps,\n HeaderSearchInlineProps,\n} from './HeaderSearch';\n\nexport { HeaderStandard } from './HeaderStandard';\nexport type { HeaderStandardProps } from './HeaderStandard';\n\nexport {\n HeaderStandardAnimated,\n useHeaderStandardAnimated,\n} from './HeaderStandardAnimated';\nexport type {\n HeaderStandardAnimatedProps,\n UseHeaderStandardAnimatedReturn,\n} from './HeaderStandardAnimated';\n\nexport { HeaderSubpage } from './HeaderSubpage';\nexport type { HeaderSubpageProps } from './HeaderSubpage';\n\nexport { HeaderStandardCenterColumn } from './temp-components/HeaderStandardCenterColumn';\nexport type {\n HeaderStandardCenterColumnFields,\n HeaderStandardCenterColumnProps,\n} from './temp-components/HeaderStandardCenterColumn';\n\nexport { Icon, IconColor, IconName, IconSize } from './Icon';\nexport type { IconProps } from './Icon';\n\nexport { IconAlert, IconAlertSeverity } from './IconAlert';\nexport type { IconAlertProps } from './IconAlert';\n\nexport { Input } from './Input';\nexport type { InputProps } from './Input';\n\nexport { KeyValueColumn } from './KeyValueColumn';\nexport type { KeyValueColumnProps } from './KeyValueColumn';\n\nexport { KeyValueRow, KeyValueRowVariant } from './KeyValueRow';\nexport type { KeyValueRowProps } from './KeyValueRow';\n\nexport { Label } from './Label';\nexport type { LabelProps } from './Label';\n\nexport { ListItem, ListItemVerticalAlignment } from './ListItem';\nexport type { ListItemProps } from './ListItem';\n\nexport { ListItemSelect } from './ListItemSelect';\nexport type { ListItemSelectProps } from './ListItemSelect';\n\nexport { ListItemMultiSelect } from './ListItemMultiSelect';\nexport type { ListItemMultiSelectProps } from './ListItemMultiSelect';\n\nexport { RadioButton } from './RadioButton';\nexport type { RadioButtonProps } from './RadioButton';\n\nexport { Jazzicon } from './temp-components/Jazzicon';\nexport type { JazziconProps } from './temp-components/Jazzicon';\n\nexport { Maskicon } from './temp-components/Maskicon';\nexport type { MaskiconProps } from './temp-components/Maskicon';\n\nexport { MainActionButton } from './MainActionButton';\nexport type { MainActionButtonProps } from './MainActionButton';\n\nexport { SectionDivider } from './SectionDivider';\nexport type { SectionDividerProps } from './SectionDivider';\n\nexport { FilterButton, FilterButtonVariant } from './FilterButton';\nexport type { FilterButtonProps } from './FilterButton';\n\nexport { FilterButtonGroup } from './FilterButtonGroup';\nexport type { FilterButtonGroupProps } from './FilterButtonGroup';\n\nexport {\n SelectButton,\n SelectButtonEndArrow,\n SelectButtonSize,\n SelectButtonVariant,\n} from './SelectButton';\nexport type { SelectButtonProps } from './SelectButton';\n\nexport { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton';\n\nexport { SensitiveText, SensitiveTextLength } from './SensitiveText';\nexport type { SensitiveTextProps } from './SensitiveText';\n\nexport { TabEmptyState } from './TabEmptyState';\nexport type { TabEmptyStateProps } from './TabEmptyState';\n\nexport { TextButton } from './TextButton';\nexport type { TextButtonProps } from './TextButton';\n\nexport {\n Text,\n FontWeight,\n FontFamily,\n FontStyle,\n TextColor,\n TextVariant,\n} from './Text';\nexport type { TextProps } from './Text';\n\nexport { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField';\n\nexport { TextArea } from './TextArea';\nexport type { TextAreaProps } from './TextArea';\n\nexport { TextFieldSearch } from './TextFieldSearch';\nexport type { TextFieldSearchProps } from './TextFieldSearch';\n\nexport { TextOrChildren } from './temp-components/TextOrChildren';\nexport type { TextOrChildrenProps } from './temp-components/TextOrChildren';\n\nexport { TitleAlert } from './TitleAlert';\nexport type { TitleAlertProps } from './TitleAlert';\n\nexport { TitleHub } from './TitleHub';\nexport type { TitleHubProps, TitleHubPropsShared } from './TitleHub';\n\nexport { TitleStandard } from './TitleStandard';\nexport type { TitleStandardProps } from './TitleStandard';\n\nexport { TitleSubpage } from './TitleSubpage';\nexport type { TitleSubpageProps } from './TitleSubpage';\n\nexport { Toast, Toaster, toast, ToastSeverity } from './Toast';\nexport type {\n ToastOptions,\n ToastProps,\n ToastIconProps,\n ToasterProps,\n ToasterRef,\n} from './Toast';\n\nexport { ButtonHero, ButtonHeroSize } from './ButtonHero';\nexport type { ButtonHeroProps } from './ButtonHero';\n\nexport { ButtonFilter } from './ButtonFilter';\nexport type { ButtonFilterProps } from './ButtonFilter';\n\nexport { ImageOrSvg } from './temp-components/ImageOrSvg';\nexport type {\n ImageOrSvgProps,\n ImageOrSvgSrc,\n} from './temp-components/ImageOrSvg';\n\nexport { Spinner } from './temp-components/Spinner';\nexport type { SpinnerProps } from './temp-components/Spinner';\n\nexport { BannerAlert, BannerAlertSeverity } from './BannerAlert';\nexport type { BannerAlertProps } from './BannerAlert';\n\nexport { SectionHeader } from './SectionHeader';\nexport type { SectionHeaderProps } from './SectionHeader';\n\nexport { SegmentedControl } from './SegmentedControl';\nexport type { SegmentedControlProps } from './SegmentedControl';\n\nexport { Switch } from './Switch';\nexport type { SwitchProps } from './Switch';\n\nexport { Tag, TagSeverity } from './Tag';\nexport type { TagProps } from './Tag';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/design-system-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Design System React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@metamask/design-system-shared": "^0.
|
|
50
|
+
"@metamask/design-system-shared": "^0.23.0",
|
|
51
51
|
"fast-text-encoding": "^1.0.6",
|
|
52
52
|
"react-native-jazzicon": "^0.1.2"
|
|
53
53
|
},
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"@babel/preset-react": "^7.25.9",
|
|
58
58
|
"@babel/preset-typescript": "^7.23.3",
|
|
59
59
|
"@figma/code-connect": "^1.0.0",
|
|
60
|
+
"@gorhom/bottom-sheet": "^5.1.3",
|
|
60
61
|
"@metamask/auto-changelog": "^6.1.1",
|
|
61
62
|
"@metamask/design-system-twrnc-preset": "^0.5.0",
|
|
62
63
|
"@metamask/design-tokens": "^8.5.0",
|
|
@@ -84,6 +85,7 @@
|
|
|
84
85
|
"react-native-svg-transformer": "^1.5.3",
|
|
85
86
|
"react-native-worklets": "patch:react-native-worklets@npm%3A0.5.1#~/.yarn/patches/react-native-worklets-npm-0.5.1-dcf1422a19.patch",
|
|
86
87
|
"react-test-renderer": "19.1.0",
|
|
88
|
+
"storybook": "10.4.2",
|
|
87
89
|
"ts-jest": "^29.2.5",
|
|
88
90
|
"tsx": "^4.20.6",
|
|
89
91
|
"typescript": "~5.2.2"
|
|
@@ -92,7 +94,7 @@
|
|
|
92
94
|
"@metamask/design-system-twrnc-preset": "^0.5.0",
|
|
93
95
|
"@metamask/design-tokens": "^8.2.0",
|
|
94
96
|
"@metamask/utils": "^11.11.0",
|
|
95
|
-
"lodash": "^4.17.
|
|
97
|
+
"lodash": "^4.17.21",
|
|
96
98
|
"react": ">=18.2.0",
|
|
97
99
|
"react-native": ">=0.76.0",
|
|
98
100
|
"react-native-gesture-handler": ">=2.25.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.cjs","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAIwC;AACxC,+CAA0C;AAG1C,wDAA2C;AAC3C,4CAAoC;AACpC,4CAAoC;AAI7B,MAAM,aAAa,GAAG,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,cAAc,EACd,YAAY,EACZ,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,OAAO,EACP,SAAS,GAAG,KAAK,EACjB,IAAI,GAAG,qCAAc,CAAC,EAAE,EACxB,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,OAAO,EACP,GAAG,cAAc,EACE,EAAE,EAAE;IACvB,MAAM,YAAY,GAAG,IAAA,kBAAU,EAAC,0CAAmB,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,YAAY,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;IAExE,MAAM,gBAAgB,GACpB,OAAO,IAAI,YAAY,EAAE,OAAO,IAAI,2CAAoB,CAAC,OAAO,CAAC;IAEnE,MAAM,mBAAmB,GAAG,kBAAkB;QAC5C,CAAC,CAAC,YAAY,CAAC,KAAK,KAAK,KAAK;QAC9B,CAAC,CAAC,UAAU,CAAC;IAEf,MAAM,uBAAuB,GAAG,GAAG,EAAE;QACnC,IACE,gBAAgB,KAAK,2CAAoB,CAAC,OAAO;YACjD,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vB,IACE,gBAAgB,KAAK,2CAAoB,CAAC,OAAO;gBACjD,mBAAmB,EACnB;gBACA,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,iBAAiB,IAC5E,OAAO,WAAW,KAAK,UAAU;oBAC/B,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC;oBACtB,CAAC,CAAC,WACN,EAAE,CAAC;aACJ;YAED,IACE,gBAAgB,KAAK,2CAAoB,CAAC,SAAS;gBACnD,mBAAmB,EACnB;gBACA,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,IAC9D,OAAO,WAAW,KAAK,UAAU;oBAC/B,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC;oBACtB,CAAC,CAAC,WACN,EAAE,CAAC;aACJ;YAED,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB,aAC9D,OAAO,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,WAC7D,EAAE,CAAC;QACL,CAAC,CAAC,CACF,aAAa,CAAC,CAAC,uBAAuB,CAAC,CACvC,aAAa,CAAC,CAAC,uBAAuB,CAAC,CACvC,KAAK,CAAC,CAAC,KAAK,CAAC,EACb,CACH,CAAC;AACJ,CAAC,CAAC;AAxGW,QAAA,aAAa,iBAwGxB;AAEF,qBAAa,CAAC,WAAW,GAAG,eAAe,CAAC","sourcesContent":["import {\n ButtonBaseSize,\n SegmentButtonVariant,\n SegmentGroupContext,\n} from '@metamask/design-system-shared';\nimport React, { useContext } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\n\nimport { ButtonBase } from '../ButtonBase';\nimport { IconColor } from '../Icon';\nimport { TextColor } from '../Text';\n\nimport type { SegmentButtonProps } from './SegmentButton.types';\n\nexport const SegmentButton = ({\n children,\n textProps,\n startIconProps,\n endIconProps,\n value,\n isSelected = false,\n variant,\n isLoading = false,\n size = ButtonBaseSize.Sm,\n twClassName = '',\n style,\n onPress,\n ...buttonBaseRest\n}: SegmentButtonProps) => {\n const segmentGroup = useContext(SegmentGroupContext);\n const usesGroupSelection = segmentGroup !== null && value !== undefined;\n\n const effectiveVariant =\n variant ?? segmentGroup?.variant ?? SegmentButtonVariant.Primary;\n\n const effectiveIsSelected = usesGroupSelection\n ? segmentGroup.value === value\n : isSelected;\n\n const getTextAndIconClassName = () => {\n if (\n effectiveVariant === SegmentButtonVariant.Primary &&\n effectiveIsSelected\n ) {\n return 'text-primary-inverse';\n }\n if (\n effectiveVariant === SegmentButtonVariant.Secondary &&\n effectiveIsSelected\n ) {\n return 'text-default';\n }\n return '';\n };\n\n const handlePress = (event: GestureResponderEvent) => {\n if (\n usesGroupSelection &&\n segmentGroup !== null &&\n value !== undefined &&\n segmentGroup.value !== value\n ) {\n segmentGroup.onChange(value);\n }\n onPress?.(event);\n };\n\n return (\n <ButtonBase\n {...buttonBaseRest}\n size={size}\n isLoading={isLoading}\n children={children}\n onPress={handlePress}\n textProps={{\n ...(!effectiveIsSelected ? { color: TextColor.TextAlternative } : {}),\n ...textProps,\n }}\n startIconProps={{\n ...(!effectiveIsSelected ? { color: IconColor.IconAlternative } : {}),\n ...startIconProps,\n }}\n endIconProps={{\n ...(!effectiveIsSelected ? { color: IconColor.IconAlternative } : {}),\n ...endIconProps,\n }}\n twClassName={(pressed) => {\n if (\n effectiveVariant === SegmentButtonVariant.Primary &&\n effectiveIsSelected\n ) {\n return `${pressed || isLoading ? 'bg-icon-default-pressed' : 'bg-icon-default'} ${\n typeof twClassName === 'function'\n ? twClassName(pressed)\n : twClassName\n }`;\n }\n\n if (\n effectiveVariant === SegmentButtonVariant.Secondary &&\n effectiveIsSelected\n ) {\n return `${pressed || isLoading ? 'bg-muted-pressed' : 'bg-muted'} ${\n typeof twClassName === 'function'\n ? twClassName(pressed)\n : twClassName\n }`;\n }\n\n return `${pressed || isLoading ? 'bg-pressed' : 'bg-transparent'} border-0 ${\n typeof twClassName === 'function' ? twClassName(pressed) : twClassName\n }`;\n }}\n textClassName={getTextAndIconClassName}\n iconClassName={getTextAndIconClassName}\n style={style}\n />\n );\n};\n\nSegmentButton.displayName = 'SegmentButton';\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { SegmentButtonProps } from "./SegmentButton.types.cjs";
|
|
3
|
-
export declare const SegmentButton: {
|
|
4
|
-
({ children, textProps, startIconProps, endIconProps, value, isSelected, variant, isLoading, size, twClassName, style, onPress, ...buttonBaseRest }: SegmentButtonProps): React.JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=SegmentButton.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.d.cts","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,cAAc;AAO1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,kCAA8B;AAEhE,eAAO,MAAM,aAAa;yJAcvB,kBAAkB;;CA0FpB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { SegmentButtonProps } from "./SegmentButton.types.mjs";
|
|
3
|
-
export declare const SegmentButton: {
|
|
4
|
-
({ children, textProps, startIconProps, endIconProps, value, isSelected, variant, isLoading, size, twClassName, style, onPress, ...buttonBaseRest }: SegmentButtonProps): React.JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=SegmentButton.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.d.mts","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAqB,cAAc;AAO1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,kCAA8B;AAEhE,eAAO,MAAM,aAAa;yJAcvB,kBAAkB;;CA0FpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.mjs","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACpB,uCAAuC;AACxC,OAAO,QAAO,EAAE,UAAU,EAAE,cAAc;;AAG1C,OAAO,EAAE,UAAU,EAAE,gCAAsB;AAC3C,OAAO,EAAE,SAAS,EAAE,0BAAgB;AACpC,OAAO,EAAE,SAAS,EAAE,0BAAgB;AAIpC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,cAAc,EACd,YAAY,EACZ,KAAK,EACL,UAAU,GAAG,KAAK,EAClB,OAAO,EACP,SAAS,GAAG,KAAK,EACjB,IAAI,GAAG,cAAc,CAAC,EAAE,EACxB,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,OAAO,EACP,GAAG,cAAc,EACE,EAAE,EAAE;IACvB,MAAM,YAAY,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IACrD,MAAM,kBAAkB,GAAG,YAAY,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;IAExE,MAAM,gBAAgB,GACpB,OAAO,IAAI,YAAY,EAAE,OAAO,IAAI,oBAAoB,CAAC,OAAO,CAAC;IAEnE,MAAM,mBAAmB,GAAG,kBAAkB;QAC5C,CAAC,CAAC,YAAY,CAAC,KAAK,KAAK,KAAK;QAC9B,CAAC,CAAC,UAAU,CAAC;IAEf,MAAM,uBAAuB,GAAG,GAAG,EAAE;QACnC,IACE,gBAAgB,KAAK,oBAAoB,CAAC,OAAO;YACjD,mBAAmB,EACnB;YACA,OAAO,sBAAsB,CAAC;SAC/B;QACD,IACE,gBAAgB,KAAK,oBAAo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,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,iBAAiB,IAC5E,OAAO,WAAW,KAAK,UAAU;oBAC/B,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC;oBACtB,CAAC,CAAC,WACN,EAAE,CAAC;aACJ;YAED,IACE,gBAAgB,KAAK,oBAAoB,CAAC,SAAS;gBACnD,mBAAmB,EACnB;gBACA,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,UAAU,IAC9D,OAAO,WAAW,KAAK,UAAU;oBAC/B,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC;oBACtB,CAAC,CAAC,WACN,EAAE,CAAC;aACJ;YAED,OAAO,GAAG,OAAO,IAAI,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB,aAC9D,OAAO,WAAW,KAAK,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,WAC7D,EAAE,CAAC;QACL,CAAC,CAAC,CACF,aAAa,CAAC,CAAC,uBAAuB,CAAC,CACvC,aAAa,CAAC,CAAC,uBAAuB,CAAC,CACvC,KAAK,CAAC,CAAC,KAAK,CAAC,EACb,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,aAAa,CAAC,WAAW,GAAG,eAAe,CAAC","sourcesContent":["import {\n ButtonBaseSize,\n SegmentButtonVariant,\n SegmentGroupContext,\n} from '@metamask/design-system-shared';\nimport React, { useContext } from 'react';\nimport type { GestureResponderEvent } from 'react-native';\n\nimport { ButtonBase } from '../ButtonBase';\nimport { IconColor } from '../Icon';\nimport { TextColor } from '../Text';\n\nimport type { SegmentButtonProps } from './SegmentButton.types';\n\nexport const SegmentButton = ({\n children,\n textProps,\n startIconProps,\n endIconProps,\n value,\n isSelected = false,\n variant,\n isLoading = false,\n size = ButtonBaseSize.Sm,\n twClassName = '',\n style,\n onPress,\n ...buttonBaseRest\n}: SegmentButtonProps) => {\n const segmentGroup = useContext(SegmentGroupContext);\n const usesGroupSelection = segmentGroup !== null && value !== undefined;\n\n const effectiveVariant =\n variant ?? segmentGroup?.variant ?? SegmentButtonVariant.Primary;\n\n const effectiveIsSelected = usesGroupSelection\n ? segmentGroup.value === value\n : isSelected;\n\n const getTextAndIconClassName = () => {\n if (\n effectiveVariant === SegmentButtonVariant.Primary &&\n effectiveIsSelected\n ) {\n return 'text-primary-inverse';\n }\n if (\n effectiveVariant === SegmentButtonVariant.Secondary &&\n effectiveIsSelected\n ) {\n return 'text-default';\n }\n return '';\n };\n\n const handlePress = (event: GestureResponderEvent) => {\n if (\n usesGroupSelection &&\n segmentGroup !== null &&\n value !== undefined &&\n segmentGroup.value !== value\n ) {\n segmentGroup.onChange(value);\n }\n onPress?.(event);\n };\n\n return (\n <ButtonBase\n {...buttonBaseRest}\n size={size}\n isLoading={isLoading}\n children={children}\n onPress={handlePress}\n textProps={{\n ...(!effectiveIsSelected ? { color: TextColor.TextAlternative } : {}),\n ...textProps,\n }}\n startIconProps={{\n ...(!effectiveIsSelected ? { color: IconColor.IconAlternative } : {}),\n ...startIconProps,\n }}\n endIconProps={{\n ...(!effectiveIsSelected ? { color: IconColor.IconAlternative } : {}),\n ...endIconProps,\n }}\n twClassName={(pressed) => {\n if (\n effectiveVariant === SegmentButtonVariant.Primary &&\n effectiveIsSelected\n ) {\n return `${pressed || isLoading ? 'bg-icon-default-pressed' : 'bg-icon-default'} ${\n typeof twClassName === 'function'\n ? twClassName(pressed)\n : twClassName\n }`;\n }\n\n if (\n effectiveVariant === SegmentButtonVariant.Secondary &&\n effectiveIsSelected\n ) {\n return `${pressed || isLoading ? 'bg-muted-pressed' : 'bg-muted'} ${\n typeof twClassName === 'function'\n ? twClassName(pressed)\n : twClassName\n }`;\n }\n\n return `${pressed || isLoading ? 'bg-pressed' : 'bg-transparent'} border-0 ${\n typeof twClassName === 'function' ? twClassName(pressed) : twClassName\n }`;\n }}\n textClassName={getTextAndIconClassName}\n iconClassName={getTextAndIconClassName}\n style={style}\n />\n );\n};\n\nSegmentButton.displayName = 'SegmentButton';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.types.cjs","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { SegmentButtonPropsShared } from '@metamask/design-system-shared';\n\nimport type { ButtonBaseProps } from '../ButtonBase/ButtonBase.types';\n\n/**\n * SegmentButton component props.\n */\nexport type SegmentButtonProps = SegmentButtonPropsShared &\n Omit<ButtonBaseProps, 'onPress'> & {\n onPress?: ButtonBaseProps['onPress'];\n };\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SegmentButtonPropsShared } from "@metamask/design-system-shared";
|
|
2
|
-
import type { ButtonBaseProps } from "../ButtonBase/ButtonBase.types.cjs";
|
|
3
|
-
/**
|
|
4
|
-
* SegmentButton component props.
|
|
5
|
-
*/
|
|
6
|
-
export type SegmentButtonProps = SegmentButtonPropsShared & Omit<ButtonBaseProps, 'onPress'> & {
|
|
7
|
-
onPress?: ButtonBaseProps['onPress'];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SegmentButton.types.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.types.d.cts","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,uCAAuC;AAE/E,OAAO,KAAK,EAAE,eAAe,EAAE,2CAAuC;AAEtE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GACvD,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IACjC,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;CACtC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SegmentButtonPropsShared } from "@metamask/design-system-shared";
|
|
2
|
-
import type { ButtonBaseProps } from "../ButtonBase/ButtonBase.types.mjs";
|
|
3
|
-
/**
|
|
4
|
-
* SegmentButton component props.
|
|
5
|
-
*/
|
|
6
|
-
export type SegmentButtonProps = SegmentButtonPropsShared & Omit<ButtonBaseProps, 'onPress'> & {
|
|
7
|
-
onPress?: ButtonBaseProps['onPress'];
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=SegmentButton.types.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.types.d.mts","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,uCAAuC;AAE/E,OAAO,KAAK,EAAE,eAAe,EAAE,2CAAuC;AAEtE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GACvD,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IACjC,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;CACtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentButton.types.mjs","sourceRoot":"","sources":["../../../src/components/SegmentButton/SegmentButton.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { SegmentButtonPropsShared } from '@metamask/design-system-shared';\n\nimport type { ButtonBaseProps } from '../ButtonBase/ButtonBase.types';\n\n/**\n * SegmentButton component props.\n */\nexport type SegmentButtonProps = SegmentButtonPropsShared &\n Omit<ButtonBaseProps, 'onPress'> & {\n onPress?: ButtonBaseProps['onPress'];\n };\n"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SegmentButton = exports.SegmentButtonVariant = void 0;
|
|
4
|
-
var design_system_shared_1 = require("@metamask/design-system-shared");
|
|
5
|
-
Object.defineProperty(exports, "SegmentButtonVariant", { enumerable: true, get: function () { return design_system_shared_1.SegmentButtonVariant; } });
|
|
6
|
-
var SegmentButton_1 = require("./SegmentButton.cjs");
|
|
7
|
-
Object.defineProperty(exports, "SegmentButton", { enumerable: true, get: function () { return SegmentButton_1.SegmentButton; } });
|
|
8
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/SegmentButton/index.ts"],"names":[],"mappings":";;;AAAA,uEAAsE;AAA7D,4HAAA,oBAAoB,OAAA;AAC7B,qDAAgD;AAAvC,8GAAA,aAAa,OAAA","sourcesContent":["export { SegmentButtonVariant } from '@metamask/design-system-shared';\nexport { SegmentButton } from './SegmentButton';\nexport type { SegmentButtonProps } from './SegmentButton.types';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/SegmentButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,uCAAuC;AACtE,OAAO,EAAE,aAAa,EAAE,4BAAwB;AAChD,YAAY,EAAE,kBAAkB,EAAE,kCAA8B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/SegmentButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,uCAAuC;AACtE,OAAO,EAAE,aAAa,EAAE,4BAAwB;AAChD,YAAY,EAAE,kBAAkB,EAAE,kCAA8B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/SegmentButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,uCAAuC;AACtE,OAAO,EAAE,aAAa,EAAE,4BAAwB","sourcesContent":["export { SegmentButtonVariant } from '@metamask/design-system-shared';\nexport { SegmentButton } from './SegmentButton';\nexport type { SegmentButtonProps } from './SegmentButton.types';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.cjs","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yEAAqE;AACrE,qFAAmE;AACnE,+CAAuC;AACvC,+CAA0C;AAInC,MAAM,YAAY,GAAG,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,KAAK,EACL,qBAAqB,EACrB,GAAG,UAAU,EACK,EAAE,EAAE;IACtB,MAAM,EAAE,GAAG,IAAA,wCAAW,GAAE,CAAC;IAEzB,MAAM,YAAY,GAAG,IAAA,eAAO,EAC1B,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACpC,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC,CAC3B,CAAC;IAEF,OAAO,CACL,CAAC,0CAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAChD;MAAA,CAAC,yBAAU,CACT,IAAI,UAAU,CAAC,CACf,UAAU,CACV,8BAA8B,CAAC,CAAC,KAAK,CAAC,CACtC,iBAAiB,CAAC,SAAS,CAC3B,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,CAAC,CACzC,qBAAqB,CAAC,CAAC;YACrB,EAAE,CAAC,KAAK,CAAC,kCAAkC,EAAE,WAAW,CAAC;YACzD,qBAAqB;SACtB,CAAC,CAEF;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,yBAAU,CACd;IAAA,EAAE,0CAAmB,CAAC,QAAQ,CAAC,CAChC,CAAC;AACJ,CAAC,CAAC;AAlCW,QAAA,YAAY,gBAkCvB;AAEF,oBAAY,CAAC,WAAW,GAAG,cAAc,CAAC","sourcesContent":["import { SegmentGroupContext } from '@metamask/design-system-shared';\nimport { useTailwind } from '@metamask/design-system-twrnc-preset';\nimport React, { useMemo } from 'react';\nimport { ScrollView } from 'react-native';\n\nimport type { SegmentGroupProps } from './SegmentGroup.types';\n\nexport const SegmentGroup = ({\n value,\n onChange,\n variant,\n children,\n twClassName,\n style,\n contentContainerStyle,\n ...scrollRest\n}: SegmentGroupProps) => {\n const tw = useTailwind();\n\n const contextValue = useMemo(\n () => ({ value, onChange, variant }),\n [value, onChange, variant],\n );\n\n return (\n <SegmentGroupContext.Provider value={contextValue}>\n <ScrollView\n {...scrollRest}\n horizontal\n showsHorizontalScrollIndicator={false}\n accessibilityRole=\"tablist\"\n style={[tw.style('self-stretch'), style]}\n contentContainerStyle={[\n tw.style('flex flex-row items-center gap-1', twClassName),\n contentContainerStyle,\n ]}\n >\n {children}\n </ScrollView>\n </SegmentGroupContext.Provider>\n );\n};\n\nSegmentGroup.displayName = 'SegmentGroup';\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { SegmentGroupProps } from "./SegmentGroup.types.cjs";
|
|
3
|
-
export declare const SegmentGroup: {
|
|
4
|
-
({ value, onChange, variant, children, twClassName, style, contentContainerStyle, ...scrollRest }: SegmentGroupProps): React.JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=SegmentGroup.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.d.cts","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,cAAc;AAGvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,iCAA6B;AAE9D,eAAO,MAAM,YAAY;uGAStB,iBAAiB;;CAyBnB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import type { SegmentGroupProps } from "./SegmentGroup.types.mjs";
|
|
3
|
-
export declare const SegmentGroup: {
|
|
4
|
-
({ value, onChange, variant, children, twClassName, style, contentContainerStyle, ...scrollRest }: SegmentGroupProps): React.JSX.Element;
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
//# sourceMappingURL=SegmentGroup.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.d.mts","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,cAAc;AAGvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,iCAA6B;AAE9D,eAAO,MAAM,YAAY;uGAStB,iBAAiB;;CAyBnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.mjs","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.tsx"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,mBAAmB,EAAE,uCAAuC;AACrE,OAAO,EAAE,WAAW,EAAE,6CAA6C;AACnE,OAAO,QAAO,EAAE,OAAO,EAAE,cAAc;;AACvC,OAAO,EAAE,UAAU,EAAE,qBAAqB;AAI1C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,KAAK,EACL,qBAAqB,EACrB,GAAG,UAAU,EACK,EAAE,EAAE;IACtB,MAAM,EAAE,GAAG,WAAW,EAAE,CAAC;IAEzB,MAAM,YAAY,GAAG,OAAO,CAC1B,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACpC,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,CAAC,CAC3B,CAAC;IAEF,OAAO,CACL,CAAC,mBAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAChD;MAAA,CAAC,UAAU,CACT,IAAI,UAAU,CAAC,CACf,UAAU,CACV,8BAA8B,CAAC,CAAC,KAAK,CAAC,CACtC,iBAAiB,CAAC,SAAS,CAC3B,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE,KAAK,CAAC,CAAC,CACzC,qBAAqB,CAAC,CAAC;YACrB,EAAE,CAAC,KAAK,CAAC,kCAAkC,EAAE,WAAW,CAAC;YACzD,qBAAqB;SACtB,CAAC,CAEF;QAAA,CAAC,QAAQ,CACX;MAAA,EAAE,UAAU,CACd;IAAA,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAChC,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC","sourcesContent":["import { SegmentGroupContext } from '@metamask/design-system-shared';\nimport { useTailwind } from '@metamask/design-system-twrnc-preset';\nimport React, { useMemo } from 'react';\nimport { ScrollView } from 'react-native';\n\nimport type { SegmentGroupProps } from './SegmentGroup.types';\n\nexport const SegmentGroup = ({\n value,\n onChange,\n variant,\n children,\n twClassName,\n style,\n contentContainerStyle,\n ...scrollRest\n}: SegmentGroupProps) => {\n const tw = useTailwind();\n\n const contextValue = useMemo(\n () => ({ value, onChange, variant }),\n [value, onChange, variant],\n );\n\n return (\n <SegmentGroupContext.Provider value={contextValue}>\n <ScrollView\n {...scrollRest}\n horizontal\n showsHorizontalScrollIndicator={false}\n accessibilityRole=\"tablist\"\n style={[tw.style('self-stretch'), style]}\n contentContainerStyle={[\n tw.style('flex flex-row items-center gap-1', twClassName),\n contentContainerStyle,\n ]}\n >\n {children}\n </ScrollView>\n </SegmentGroupContext.Provider>\n );\n};\n\nSegmentGroup.displayName = 'SegmentGroup';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.types.cjs","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { SegmentGroupPropsShared } from '@metamask/design-system-shared';\nimport type { ScrollViewProps } from 'react-native';\n\n/**\n * SegmentGroup component props.\n */\nexport type SegmentGroupProps = SegmentGroupPropsShared &\n Omit<ScrollViewProps, 'horizontal' | 'showsHorizontalScrollIndicator'> & {\n /**\n * Optional twrnc classes merged into `contentContainerStyle` after the default row layout.\n */\n twClassName?: string;\n };\n"]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { SegmentGroupPropsShared } from "@metamask/design-system-shared";
|
|
2
|
-
import type { ScrollViewProps } from "react-native";
|
|
3
|
-
/**
|
|
4
|
-
* SegmentGroup component props.
|
|
5
|
-
*/
|
|
6
|
-
export type SegmentGroupProps = SegmentGroupPropsShared & Omit<ScrollViewProps, 'horizontal' | 'showsHorizontalScrollIndicator'> & {
|
|
7
|
-
/**
|
|
8
|
-
* Optional twrnc classes merged into `contentContainerStyle` after the default row layout.
|
|
9
|
-
*/
|
|
10
|
-
twClassName?: string;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=SegmentGroup.types.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.types.d.cts","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,uCAAuC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB;AAEpD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GACrD,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,gCAAgC,CAAC,GAAG;IACvE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { SegmentGroupPropsShared } from "@metamask/design-system-shared";
|
|
2
|
-
import type { ScrollViewProps } from "react-native";
|
|
3
|
-
/**
|
|
4
|
-
* SegmentGroup component props.
|
|
5
|
-
*/
|
|
6
|
-
export type SegmentGroupProps = SegmentGroupPropsShared & Omit<ScrollViewProps, 'horizontal' | 'showsHorizontalScrollIndicator'> & {
|
|
7
|
-
/**
|
|
8
|
-
* Optional twrnc classes merged into `contentContainerStyle` after the default row layout.
|
|
9
|
-
*/
|
|
10
|
-
twClassName?: string;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=SegmentGroup.types.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.types.d.mts","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,uCAAuC;AAC9E,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB;AAEpD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,GACrD,IAAI,CAAC,eAAe,EAAE,YAAY,GAAG,gCAAgC,CAAC,GAAG;IACvE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentGroup.types.mjs","sourceRoot":"","sources":["../../../src/components/SegmentGroup/SegmentGroup.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { SegmentGroupPropsShared } from '@metamask/design-system-shared';\nimport type { ScrollViewProps } from 'react-native';\n\n/**\n * SegmentGroup component props.\n */\nexport type SegmentGroupProps = SegmentGroupPropsShared &\n Omit<ScrollViewProps, 'horizontal' | 'showsHorizontalScrollIndicator'> & {\n /**\n * Optional twrnc classes merged into `contentContainerStyle` after the default row layout.\n */\n twClassName?: string;\n };\n"]}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SegmentGroup = void 0;
|
|
4
|
-
var SegmentGroup_1 = require("./SegmentGroup.cjs");
|
|
5
|
-
Object.defineProperty(exports, "SegmentGroup", { enumerable: true, get: function () { return SegmentGroup_1.SegmentGroup; } });
|
|
6
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../../../src/components/SegmentGroup/index.ts"],"names":[],"mappings":";;;AAAA,mDAA8C;AAArC,4GAAA,YAAY,OAAA","sourcesContent":["export { SegmentGroup } from './SegmentGroup';\nexport type { SegmentGroupProps } from './SegmentGroup.types';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../src/components/SegmentGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,2BAAuB;AAC9C,YAAY,EAAE,iBAAiB,EAAE,iCAA6B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/components/SegmentGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,2BAAuB;AAC9C,YAAY,EAAE,iBAAiB,EAAE,iCAA6B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/components/SegmentGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,2BAAuB","sourcesContent":["export { SegmentGroup } from './SegmentGroup';\nexport type { SegmentGroupProps } from './SegmentGroup.types';\n"]}
|