pixelize-native-library 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/lib/module/core/MODULE.md +94 -0
- package/lib/module/core/a11y/MODULE.md +22 -0
- package/lib/module/core/a11y/index.js +26 -0
- package/lib/module/core/a11y/index.js.map +1 -0
- package/lib/module/core/icon/MODULE.md +35 -0
- package/lib/module/core/icon/index.js +92 -0
- package/lib/module/core/icon/index.js.map +1 -0
- package/lib/module/core/style/index.js +4 -0
- package/lib/module/core/style/index.js.map +1 -0
- package/lib/module/core/style/layoutStyle.js +4 -0
- package/lib/module/core/style/layoutStyle.js.map +1 -0
- package/lib/module/core/style/variants.js +115 -0
- package/lib/module/core/style/variants.js.map +1 -0
- package/lib/module/index.js +13 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/modules/accordion/Accordion.js +194 -0
- package/lib/module/modules/accordion/Accordion.js.map +1 -0
- package/lib/module/modules/accordion/Accordion.variants.js +143 -0
- package/lib/module/modules/accordion/Accordion.variants.js.map +1 -0
- package/lib/module/modules/accordion/MODULE.md +97 -0
- package/lib/module/modules/accordion/index.js +10 -0
- package/lib/module/modules/accordion/index.js.map +1 -0
- package/lib/module/modules/alert-dialog/AlertDialog.js +62 -0
- package/lib/module/modules/alert-dialog/AlertDialog.js.map +1 -0
- package/lib/module/modules/alert-dialog/AlertDialog.variants.js +44 -0
- package/lib/module/modules/alert-dialog/AlertDialog.variants.js.map +1 -0
- package/lib/module/modules/alert-dialog/MODULE.md +81 -0
- package/lib/module/modules/alert-dialog/index.js +10 -0
- package/lib/module/modules/alert-dialog/index.js.map +1 -0
- package/lib/module/modules/avatar/Avatar.js +57 -0
- package/lib/module/modules/avatar/Avatar.js.map +1 -0
- package/lib/module/modules/avatar/Avatar.variants.js +127 -0
- package/lib/module/modules/avatar/Avatar.variants.js.map +1 -0
- package/lib/module/modules/avatar/MODULE.md +76 -0
- package/lib/module/modules/avatar/index.js +12 -0
- package/lib/module/modules/avatar/index.js.map +1 -0
- package/lib/module/modules/badge/Badge.js +56 -0
- package/lib/module/modules/badge/Badge.js.map +1 -0
- package/lib/module/modules/badge/Badge.variants.js +124 -0
- package/lib/module/modules/badge/Badge.variants.js.map +1 -0
- package/lib/module/modules/badge/MODULE.md +82 -0
- package/lib/module/modules/badge/index.js +12 -0
- package/lib/module/modules/badge/index.js.map +1 -0
- package/lib/module/modules/bottom-nav/BottomNav.js +257 -0
- package/lib/module/modules/bottom-nav/BottomNav.js.map +1 -0
- package/lib/module/modules/bottom-nav/BottomNav.search.js +153 -0
- package/lib/module/modules/bottom-nav/BottomNav.search.js.map +1 -0
- package/lib/module/modules/bottom-nav/BottomNav.variants.js +164 -0
- package/lib/module/modules/bottom-nav/BottomNav.variants.js.map +1 -0
- package/lib/module/modules/bottom-nav/BottomNavOverflowSheet.js +297 -0
- package/lib/module/modules/bottom-nav/BottomNavOverflowSheet.js.map +1 -0
- package/lib/module/modules/bottom-nav/MODULE.md +198 -0
- package/lib/module/modules/bottom-nav/index.js +16 -0
- package/lib/module/modules/bottom-nav/index.js.map +1 -0
- package/lib/module/modules/button/Button.js +173 -0
- package/lib/module/modules/button/Button.js.map +1 -0
- package/lib/module/modules/button/Button.variants.js +173 -0
- package/lib/module/modules/button/Button.variants.js.map +1 -0
- package/lib/module/modules/button/MODULE.md +87 -0
- package/lib/module/modules/button/index.js +12 -0
- package/lib/module/modules/button/index.js.map +1 -0
- package/lib/module/modules/button-group/ButtonGroup.js +106 -0
- package/lib/module/modules/button-group/ButtonGroup.js.map +1 -0
- package/lib/module/modules/button-group/ButtonGroup.variants.js +220 -0
- package/lib/module/modules/button-group/ButtonGroup.variants.js.map +1 -0
- package/lib/module/modules/button-group/MODULE.md +129 -0
- package/lib/module/modules/button-group/index.js +11 -0
- package/lib/module/modules/button-group/index.js.map +1 -0
- package/lib/module/modules/card/Card.js +39 -0
- package/lib/module/modules/card/Card.js.map +1 -0
- package/lib/module/modules/card/Card.variants.js +75 -0
- package/lib/module/modules/card/Card.variants.js.map +1 -0
- package/lib/module/modules/card/MODULE.md +81 -0
- package/lib/module/modules/card/index.js +10 -0
- package/lib/module/modules/card/index.js.map +1 -0
- package/lib/module/modules/checkbox/Checkbox.js +115 -0
- package/lib/module/modules/checkbox/Checkbox.js.map +1 -0
- package/lib/module/modules/checkbox/Checkbox.variants.js +122 -0
- package/lib/module/modules/checkbox/Checkbox.variants.js.map +1 -0
- package/lib/module/modules/checkbox/MODULE.md +76 -0
- package/lib/module/modules/checkbox/index.js +11 -0
- package/lib/module/modules/checkbox/index.js.map +1 -0
- package/lib/module/modules/divider/Divider.js +35 -0
- package/lib/module/modules/divider/Divider.js.map +1 -0
- package/lib/module/modules/divider/Divider.variants.js +51 -0
- package/lib/module/modules/divider/Divider.variants.js.map +1 -0
- package/lib/module/modules/divider/MODULE.md +61 -0
- package/lib/module/modules/divider/index.js +10 -0
- package/lib/module/modules/divider/index.js.map +1 -0
- package/lib/module/modules/drawer/Drawer.js +171 -0
- package/lib/module/modules/drawer/Drawer.js.map +1 -0
- package/lib/module/modules/drawer/Drawer.variants.js +118 -0
- package/lib/module/modules/drawer/Drawer.variants.js.map +1 -0
- package/lib/module/modules/drawer/MODULE.md +161 -0
- package/lib/module/modules/drawer/index.js +10 -0
- package/lib/module/modules/drawer/index.js.map +1 -0
- package/lib/module/modules/empty-state/EmptyState.js +79 -0
- package/lib/module/modules/empty-state/EmptyState.js.map +1 -0
- package/lib/module/modules/empty-state/EmptyState.variants.js +54 -0
- package/lib/module/modules/empty-state/EmptyState.variants.js.map +1 -0
- package/lib/module/modules/empty-state/MODULE.md +78 -0
- package/lib/module/modules/empty-state/index.js +13 -0
- package/lib/module/modules/empty-state/index.js.map +1 -0
- package/lib/module/modules/file-upload/FileUpload.js +132 -0
- package/lib/module/modules/file-upload/FileUpload.js.map +1 -0
- package/lib/module/modules/file-upload/FileUpload.variants.js +179 -0
- package/lib/module/modules/file-upload/FileUpload.variants.js.map +1 -0
- package/lib/module/modules/file-upload/MODULE.md +130 -0
- package/lib/module/modules/file-upload/index.js +10 -0
- package/lib/module/modules/file-upload/index.js.map +1 -0
- package/lib/module/modules/filter-sheet/FilterChip.js +79 -0
- package/lib/module/modules/filter-sheet/FilterChip.js.map +1 -0
- package/lib/module/modules/filter-sheet/FilterSheet.js +98 -0
- package/lib/module/modules/filter-sheet/FilterSheet.js.map +1 -0
- package/lib/module/modules/filter-sheet/FilterSheet.variants.js +156 -0
- package/lib/module/modules/filter-sheet/FilterSheet.variants.js.map +1 -0
- package/lib/module/modules/filter-sheet/FilterSheetBody.js +175 -0
- package/lib/module/modules/filter-sheet/FilterSheetBody.js.map +1 -0
- package/lib/module/modules/filter-sheet/MODULE.md +115 -0
- package/lib/module/modules/filter-sheet/filterSheet.helpers.js +90 -0
- package/lib/module/modules/filter-sheet/filterSheet.helpers.js.map +1 -0
- package/lib/module/modules/filter-sheet/index.js +14 -0
- package/lib/module/modules/filter-sheet/index.js.map +1 -0
- package/lib/module/modules/input/Input.js +132 -0
- package/lib/module/modules/input/Input.js.map +1 -0
- package/lib/module/modules/input/Input.variants.js +122 -0
- package/lib/module/modules/input/Input.variants.js.map +1 -0
- package/lib/module/modules/input/MODULE.md +97 -0
- package/lib/module/modules/input/index.js +13 -0
- package/lib/module/modules/input/index.js.map +1 -0
- package/lib/module/modules/menu/MODULE.md +103 -0
- package/lib/module/modules/menu/Menu.js +128 -0
- package/lib/module/modules/menu/Menu.js.map +1 -0
- package/lib/module/modules/menu/Menu.variants.js +75 -0
- package/lib/module/modules/menu/Menu.variants.js.map +1 -0
- package/lib/module/modules/menu/index.js +12 -0
- package/lib/module/modules/menu/index.js.map +1 -0
- package/lib/module/modules/modal/MODULE.md +138 -0
- package/lib/module/modules/modal/Modal.js +101 -0
- package/lib/module/modules/modal/Modal.js.map +1 -0
- package/lib/module/modules/modal/Modal.variants.js +92 -0
- package/lib/module/modules/modal/Modal.variants.js.map +1 -0
- package/lib/module/modules/modal/ModalPortalContext.js +25 -0
- package/lib/module/modules/modal/ModalPortalContext.js.map +1 -0
- package/lib/module/modules/modal/ModalPortalProvider.js +22 -0
- package/lib/module/modules/modal/ModalPortalProvider.js.map +1 -0
- package/lib/module/modules/modal/index.js +16 -0
- package/lib/module/modules/modal/index.js.map +1 -0
- package/lib/module/modules/modal/renderWebPortal.js +18 -0
- package/lib/module/modules/modal/renderWebPortal.js.map +1 -0
- package/lib/module/modules/modal/renderWebPortal.web.js +24 -0
- package/lib/module/modules/modal/renderWebPortal.web.js.map +1 -0
- package/lib/module/modules/multi-select/MODULE.md +100 -0
- package/lib/module/modules/multi-select/MultiSelect.js +204 -0
- package/lib/module/modules/multi-select/MultiSelect.js.map +1 -0
- package/lib/module/modules/multi-select/MultiSelect.variants.js +195 -0
- package/lib/module/modules/multi-select/MultiSelect.variants.js.map +1 -0
- package/lib/module/modules/multi-select/index.js +11 -0
- package/lib/module/modules/multi-select/index.js.map +1 -0
- package/lib/module/modules/number-input/MODULE.md +108 -0
- package/lib/module/modules/number-input/NumberInput.js +253 -0
- package/lib/module/modules/number-input/NumberInput.js.map +1 -0
- package/lib/module/modules/number-input/NumberInput.variants.js +200 -0
- package/lib/module/modules/number-input/NumberInput.variants.js.map +1 -0
- package/lib/module/modules/number-input/index.js +12 -0
- package/lib/module/modules/number-input/index.js.map +1 -0
- package/lib/module/modules/pin-input/MODULE.md +134 -0
- package/lib/module/modules/pin-input/PinInput.js +158 -0
- package/lib/module/modules/pin-input/PinInput.js.map +1 -0
- package/lib/module/modules/pin-input/PinInput.variants.js +183 -0
- package/lib/module/modules/pin-input/PinInput.variants.js.map +1 -0
- package/lib/module/modules/pin-input/index.js +11 -0
- package/lib/module/modules/pin-input/index.js.map +1 -0
- package/lib/module/modules/progress-bar/MODULE.md +101 -0
- package/lib/module/modules/progress-bar/ProgressBar.js +102 -0
- package/lib/module/modules/progress-bar/ProgressBar.js.map +1 -0
- package/lib/module/modules/progress-bar/ProgressBar.variants.js +151 -0
- package/lib/module/modules/progress-bar/ProgressBar.variants.js.map +1 -0
- package/lib/module/modules/progress-bar/index.js +12 -0
- package/lib/module/modules/progress-bar/index.js.map +1 -0
- package/lib/module/modules/radio-group/MODULE.md +75 -0
- package/lib/module/modules/radio-group/RadioGroup.js +87 -0
- package/lib/module/modules/radio-group/RadioGroup.js.map +1 -0
- package/lib/module/modules/radio-group/RadioGroup.variants.js +163 -0
- package/lib/module/modules/radio-group/RadioGroup.variants.js.map +1 -0
- package/lib/module/modules/radio-group/index.js +11 -0
- package/lib/module/modules/radio-group/index.js.map +1 -0
- package/lib/module/modules/reorder/MODULE.md +131 -0
- package/lib/module/modules/reorder/Reorder.js +291 -0
- package/lib/module/modules/reorder/Reorder.js.map +1 -0
- package/lib/module/modules/reorder/Reorder.variants.js +172 -0
- package/lib/module/modules/reorder/Reorder.variants.js.map +1 -0
- package/lib/module/modules/reorder/index.js +11 -0
- package/lib/module/modules/reorder/index.js.map +1 -0
- package/lib/module/modules/select/MODULE.md +91 -0
- package/lib/module/modules/select/Select.js +178 -0
- package/lib/module/modules/select/Select.js.map +1 -0
- package/lib/module/modules/select/Select.variants.js +146 -0
- package/lib/module/modules/select/Select.variants.js.map +1 -0
- package/lib/module/modules/select/index.js +10 -0
- package/lib/module/modules/select/index.js.map +1 -0
- package/lib/module/modules/skeleton/MODULE.md +87 -0
- package/lib/module/modules/skeleton/Skeleton.js +78 -0
- package/lib/module/modules/skeleton/Skeleton.js.map +1 -0
- package/lib/module/modules/skeleton/Skeleton.variants.js +145 -0
- package/lib/module/modules/skeleton/Skeleton.variants.js.map +1 -0
- package/lib/module/modules/skeleton/index.js +10 -0
- package/lib/module/modules/skeleton/index.js.map +1 -0
- package/lib/module/modules/slider/MODULE.md +95 -0
- package/lib/module/modules/slider/Slider.js +183 -0
- package/lib/module/modules/slider/Slider.js.map +1 -0
- package/lib/module/modules/slider/Slider.variants.js +258 -0
- package/lib/module/modules/slider/Slider.variants.js.map +1 -0
- package/lib/module/modules/slider/index.js +10 -0
- package/lib/module/modules/slider/index.js.map +1 -0
- package/lib/module/modules/spinner/MODULE.md +97 -0
- package/lib/module/modules/spinner/Spinner.js +58 -0
- package/lib/module/modules/spinner/Spinner.js.map +1 -0
- package/lib/module/modules/spinner/Spinner.variants.js +131 -0
- package/lib/module/modules/spinner/Spinner.variants.js.map +1 -0
- package/lib/module/modules/spinner/index.js +11 -0
- package/lib/module/modules/spinner/index.js.map +1 -0
- package/lib/module/modules/stepper/MODULE.md +88 -0
- package/lib/module/modules/stepper/Stepper.js +100 -0
- package/lib/module/modules/stepper/Stepper.js.map +1 -0
- package/lib/module/modules/stepper/Stepper.variants.js +146 -0
- package/lib/module/modules/stepper/Stepper.variants.js.map +1 -0
- package/lib/module/modules/stepper/index.js +10 -0
- package/lib/module/modules/stepper/index.js.map +1 -0
- package/lib/module/modules/switch/MODULE.md +65 -0
- package/lib/module/modules/switch/Switch.js +53 -0
- package/lib/module/modules/switch/Switch.js.map +1 -0
- package/lib/module/modules/switch/Switch.variants.js +61 -0
- package/lib/module/modules/switch/Switch.variants.js.map +1 -0
- package/lib/module/modules/switch/index.js +10 -0
- package/lib/module/modules/switch/index.js.map +1 -0
- package/lib/module/modules/tabs/MODULE.md +80 -0
- package/lib/module/modules/tabs/Tabs.js +127 -0
- package/lib/module/modules/tabs/Tabs.js.map +1 -0
- package/lib/module/modules/tabs/Tabs.variants.js +135 -0
- package/lib/module/modules/tabs/Tabs.variants.js.map +1 -0
- package/lib/module/modules/tabs/index.js +12 -0
- package/lib/module/modules/tabs/index.js.map +1 -0
- package/lib/module/modules/textarea/MODULE.md +91 -0
- package/lib/module/modules/textarea/Textarea.js +136 -0
- package/lib/module/modules/textarea/Textarea.js.map +1 -0
- package/lib/module/modules/textarea/Textarea.variants.js +113 -0
- package/lib/module/modules/textarea/Textarea.variants.js.map +1 -0
- package/lib/module/modules/textarea/index.js +10 -0
- package/lib/module/modules/textarea/index.js.map +1 -0
- package/lib/module/modules/timeline/MODULE.md +95 -0
- package/lib/module/modules/timeline/Timeline.js +92 -0
- package/lib/module/modules/timeline/Timeline.js.map +1 -0
- package/lib/module/modules/timeline/Timeline.variants.js +146 -0
- package/lib/module/modules/timeline/Timeline.variants.js.map +1 -0
- package/lib/module/modules/timeline/index.js +12 -0
- package/lib/module/modules/timeline/index.js.map +1 -0
- package/lib/module/modules/toast/MODULE.md +104 -0
- package/lib/module/modules/toast/Toast.js +178 -0
- package/lib/module/modules/toast/Toast.js.map +1 -0
- package/lib/module/modules/toast/Toast.variants.js +120 -0
- package/lib/module/modules/toast/Toast.variants.js.map +1 -0
- package/lib/module/modules/toast/index.js +13 -0
- package/lib/module/modules/toast/index.js.map +1 -0
- package/lib/module/modules/tooltip/MODULE.md +86 -0
- package/lib/module/modules/tooltip/Tooltip.js +115 -0
- package/lib/module/modules/tooltip/Tooltip.js.map +1 -0
- package/lib/module/modules/tooltip/Tooltip.variants.js +75 -0
- package/lib/module/modules/tooltip/Tooltip.variants.js.map +1 -0
- package/lib/module/modules/tooltip/index.js +10 -0
- package/lib/module/modules/tooltip/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/theme/MODULE.md +87 -0
- package/lib/module/theme/index.js +15 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/platform/MODULE.md +102 -0
- package/lib/module/theme/platform/colorScheme.native.js +24 -0
- package/lib/module/theme/platform/colorScheme.native.js.map +1 -0
- package/lib/module/theme/platform/elevation.native.js +75 -0
- package/lib/module/theme/platform/elevation.native.js.map +1 -0
- package/lib/module/theme/platform/fonts.native.js +58 -0
- package/lib/module/theme/platform/fonts.native.js.map +1 -0
- package/lib/module/theme/platform/index.js +14 -0
- package/lib/module/theme/platform/index.js.map +1 -0
- package/lib/module/theme/platform/units.native.js +18 -0
- package/lib/module/theme/platform/units.native.js.map +1 -0
- package/lib/module/theme/provider/PixelizeProvider.js +149 -0
- package/lib/module/theme/provider/PixelizeProvider.js.map +1 -0
- package/lib/module/theme/provider/colorModeStorage.js +63 -0
- package/lib/module/theme/provider/colorModeStorage.js.map +1 -0
- package/lib/module/theme/provider/index.js +8 -0
- package/lib/module/theme/provider/index.js.map +1 -0
- package/lib/module/theme/provider/useTheme.js +13 -0
- package/lib/module/theme/provider/useTheme.js.map +1 -0
- package/lib/module/theme/provider/useThemeColors.js +13 -0
- package/lib/module/theme/provider/useThemeColors.js.map +1 -0
- package/lib/module/theme/provider/useThemeMode.js +13 -0
- package/lib/module/theme/provider/useThemeMode.js.map +1 -0
- package/lib/module/theme/tokens/MODULE.md +102 -0
- package/lib/module/theme/tokens/brands/emerald/palette.dark.js +9 -0
- package/lib/module/theme/tokens/brands/emerald/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/emerald/palette.light.js +125 -0
- package/lib/module/theme/tokens/brands/emerald/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/index.js +91 -0
- package/lib/module/theme/tokens/brands/index.js.map +1 -0
- package/lib/module/theme/tokens/brands/lavender/palette.dark.js +9 -0
- package/lib/module/theme/tokens/brands/lavender/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/lavender/palette.light.js +376 -0
- package/lib/module/theme/tokens/brands/lavender/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/meadow/palette.dark.js +9 -0
- package/lib/module/theme/tokens/brands/meadow/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/meadow/palette.light.js +126 -0
- package/lib/module/theme/tokens/brands/meadow/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/radiant/palette.dark.js +9 -0
- package/lib/module/theme/tokens/brands/radiant/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/radiant/palette.light.js +125 -0
- package/lib/module/theme/tokens/brands/radiant/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/rosewood/palette.dark.js +9 -0
- package/lib/module/theme/tokens/brands/rosewood/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/rosewood/palette.light.js +125 -0
- package/lib/module/theme/tokens/brands/rosewood/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/skyline/palette.dark.js +9 -0
- package/lib/module/theme/tokens/brands/skyline/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/skyline/palette.light.js +126 -0
- package/lib/module/theme/tokens/brands/skyline/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/slate/palette.dark.js +11 -0
- package/lib/module/theme/tokens/brands/slate/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/slate/palette.light.js +129 -0
- package/lib/module/theme/tokens/brands/slate/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/storefront/palette.dark.js +7 -0
- package/lib/module/theme/tokens/brands/storefront/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/storefront/palette.light.js +127 -0
- package/lib/module/theme/tokens/brands/storefront/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/brands/zinc/palette.dark.js +222 -0
- package/lib/module/theme/tokens/brands/zinc/palette.dark.js.map +1 -0
- package/lib/module/theme/tokens/brands/zinc/palette.light.js +393 -0
- package/lib/module/theme/tokens/brands/zinc/palette.light.js.map +1 -0
- package/lib/module/theme/tokens/builders/accentText.js +66 -0
- package/lib/module/theme/tokens/builders/accentText.js.map +1 -0
- package/lib/module/theme/tokens/builders/buildBrandTokens.js +38 -0
- package/lib/module/theme/tokens/builders/buildBrandTokens.js.map +1 -0
- package/lib/module/theme/tokens/builders/buildDarkPalette.js +300 -0
- package/lib/module/theme/tokens/builders/buildDarkPalette.js.map +1 -0
- package/lib/module/theme/tokens/builders/color.js +187 -0
- package/lib/module/theme/tokens/builders/color.js.map +1 -0
- package/lib/module/theme/tokens/index.js +27 -0
- package/lib/module/theme/tokens/index.js.map +1 -0
- package/lib/module/theme/tokens/primitives/borderWidths.js +16 -0
- package/lib/module/theme/tokens/primitives/borderWidths.js.map +1 -0
- package/lib/module/theme/tokens/primitives/breakpoints.js +18 -0
- package/lib/module/theme/tokens/primitives/breakpoints.js.map +1 -0
- package/lib/module/theme/tokens/primitives/elevation.js +95 -0
- package/lib/module/theme/tokens/primitives/elevation.js.map +1 -0
- package/lib/module/theme/tokens/primitives/fontSizes.js +22 -0
- package/lib/module/theme/tokens/primitives/fontSizes.js.map +1 -0
- package/lib/module/theme/tokens/primitives/fontWeights.js +23 -0
- package/lib/module/theme/tokens/primitives/fontWeights.js.map +1 -0
- package/lib/module/theme/tokens/primitives/index.js +14 -0
- package/lib/module/theme/tokens/primitives/index.js.map +1 -0
- package/lib/module/theme/tokens/primitives/letterSpacings.js +18 -0
- package/lib/module/theme/tokens/primitives/letterSpacings.js.map +1 -0
- package/lib/module/theme/tokens/primitives/lineHeights.js +21 -0
- package/lib/module/theme/tokens/primitives/lineHeights.js.map +1 -0
- package/lib/module/theme/tokens/primitives/radii.js +21 -0
- package/lib/module/theme/tokens/primitives/radii.js.map +1 -0
- package/lib/module/theme/tokens/primitives/sizes.js +34 -0
- package/lib/module/theme/tokens/primitives/sizes.js.map +1 -0
- package/lib/module/theme/tokens/primitives/space.js +30 -0
- package/lib/module/theme/tokens/primitives/space.js.map +1 -0
- package/lib/module/theme/tokens/primitives/zIndices.js +23 -0
- package/lib/module/theme/tokens/primitives/zIndices.js.map +1 -0
- package/lib/module/theme/tokens/roles/index.js +126 -0
- package/lib/module/theme/tokens/roles/index.js.map +1 -0
- package/lib/module/theme/tokens/types.js +2 -0
- package/lib/module/theme/tokens/types.js.map +1 -0
- package/lib/typescript/core/a11y/index.d.ts +7 -0
- package/lib/typescript/core/a11y/index.d.ts.map +1 -0
- package/lib/typescript/core/icon/index.d.ts +60 -0
- package/lib/typescript/core/icon/index.d.ts.map +1 -0
- package/lib/typescript/core/style/index.d.ts +4 -0
- package/lib/typescript/core/style/index.d.ts.map +1 -0
- package/lib/typescript/core/style/layoutStyle.d.ts +19 -0
- package/lib/typescript/core/style/layoutStyle.d.ts.map +1 -0
- package/lib/typescript/core/style/variants.d.ts +55 -0
- package/lib/typescript/core/style/variants.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +11 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/modules/accordion/Accordion.d.ts +57 -0
- package/lib/typescript/modules/accordion/Accordion.d.ts.map +1 -0
- package/lib/typescript/modules/accordion/Accordion.variants.d.ts +131 -0
- package/lib/typescript/modules/accordion/Accordion.variants.d.ts.map +1 -0
- package/lib/typescript/modules/accordion/index.d.ts +9 -0
- package/lib/typescript/modules/accordion/index.d.ts.map +1 -0
- package/lib/typescript/modules/alert-dialog/AlertDialog.d.ts +24 -0
- package/lib/typescript/modules/alert-dialog/AlertDialog.d.ts.map +1 -0
- package/lib/typescript/modules/alert-dialog/AlertDialog.variants.d.ts +29 -0
- package/lib/typescript/modules/alert-dialog/AlertDialog.variants.d.ts.map +1 -0
- package/lib/typescript/modules/alert-dialog/index.d.ts +9 -0
- package/lib/typescript/modules/alert-dialog/index.d.ts.map +1 -0
- package/lib/typescript/modules/avatar/Avatar.d.ts +30 -0
- package/lib/typescript/modules/avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/modules/avatar/Avatar.variants.d.ts +123 -0
- package/lib/typescript/modules/avatar/Avatar.variants.d.ts.map +1 -0
- package/lib/typescript/modules/avatar/index.d.ts +11 -0
- package/lib/typescript/modules/avatar/index.d.ts.map +1 -0
- package/lib/typescript/modules/badge/Badge.d.ts +19 -0
- package/lib/typescript/modules/badge/Badge.d.ts.map +1 -0
- package/lib/typescript/modules/badge/Badge.variants.d.ts +102 -0
- package/lib/typescript/modules/badge/Badge.variants.d.ts.map +1 -0
- package/lib/typescript/modules/badge/index.d.ts +10 -0
- package/lib/typescript/modules/badge/index.d.ts.map +1 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.d.ts +106 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.d.ts.map +1 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.search.d.ts +61 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.search.d.ts.map +1 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.variants.d.ts +122 -0
- package/lib/typescript/modules/bottom-nav/BottomNav.variants.d.ts.map +1 -0
- package/lib/typescript/modules/bottom-nav/BottomNavOverflowSheet.d.ts +39 -0
- package/lib/typescript/modules/bottom-nav/BottomNavOverflowSheet.d.ts.map +1 -0
- package/lib/typescript/modules/bottom-nav/index.d.ts +12 -0
- package/lib/typescript/modules/bottom-nav/index.d.ts.map +1 -0
- package/lib/typescript/modules/button/Button.d.ts +43 -0
- package/lib/typescript/modules/button/Button.d.ts.map +1 -0
- package/lib/typescript/modules/button/Button.variants.d.ts +156 -0
- package/lib/typescript/modules/button/Button.variants.d.ts.map +1 -0
- package/lib/typescript/modules/button/index.d.ts +10 -0
- package/lib/typescript/modules/button/index.d.ts.map +1 -0
- package/lib/typescript/modules/button-group/ButtonGroup.d.ts +37 -0
- package/lib/typescript/modules/button-group/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/modules/button-group/ButtonGroup.variants.d.ts +217 -0
- package/lib/typescript/modules/button-group/ButtonGroup.variants.d.ts.map +1 -0
- package/lib/typescript/modules/button-group/index.d.ts +10 -0
- package/lib/typescript/modules/button-group/index.d.ts.map +1 -0
- package/lib/typescript/modules/card/Card.d.ts +20 -0
- package/lib/typescript/modules/card/Card.d.ts.map +1 -0
- package/lib/typescript/modules/card/Card.variants.d.ts +51 -0
- package/lib/typescript/modules/card/Card.variants.d.ts.map +1 -0
- package/lib/typescript/modules/card/index.d.ts +9 -0
- package/lib/typescript/modules/card/index.d.ts.map +1 -0
- package/lib/typescript/modules/checkbox/Checkbox.d.ts +43 -0
- package/lib/typescript/modules/checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/modules/checkbox/Checkbox.variants.d.ts +120 -0
- package/lib/typescript/modules/checkbox/Checkbox.variants.d.ts.map +1 -0
- package/lib/typescript/modules/checkbox/index.d.ts +10 -0
- package/lib/typescript/modules/checkbox/index.d.ts.map +1 -0
- package/lib/typescript/modules/divider/Divider.d.ts +18 -0
- package/lib/typescript/modules/divider/Divider.d.ts.map +1 -0
- package/lib/typescript/modules/divider/Divider.variants.d.ts +42 -0
- package/lib/typescript/modules/divider/Divider.variants.d.ts.map +1 -0
- package/lib/typescript/modules/divider/index.d.ts +9 -0
- package/lib/typescript/modules/divider/index.d.ts.map +1 -0
- package/lib/typescript/modules/drawer/Drawer.d.ts +44 -0
- package/lib/typescript/modules/drawer/Drawer.d.ts.map +1 -0
- package/lib/typescript/modules/drawer/Drawer.variants.d.ts +80 -0
- package/lib/typescript/modules/drawer/Drawer.variants.d.ts.map +1 -0
- package/lib/typescript/modules/drawer/index.d.ts +8 -0
- package/lib/typescript/modules/drawer/index.d.ts.map +1 -0
- package/lib/typescript/modules/empty-state/EmptyState.d.ts +29 -0
- package/lib/typescript/modules/empty-state/EmptyState.d.ts.map +1 -0
- package/lib/typescript/modules/empty-state/EmptyState.variants.d.ts +43 -0
- package/lib/typescript/modules/empty-state/EmptyState.variants.d.ts.map +1 -0
- package/lib/typescript/modules/empty-state/index.d.ts +10 -0
- package/lib/typescript/modules/empty-state/index.d.ts.map +1 -0
- package/lib/typescript/modules/file-upload/FileUpload.d.ts +44 -0
- package/lib/typescript/modules/file-upload/FileUpload.d.ts.map +1 -0
- package/lib/typescript/modules/file-upload/FileUpload.variants.d.ts +114 -0
- package/lib/typescript/modules/file-upload/FileUpload.variants.d.ts.map +1 -0
- package/lib/typescript/modules/file-upload/index.d.ts +9 -0
- package/lib/typescript/modules/file-upload/index.d.ts.map +1 -0
- package/lib/typescript/modules/filter-sheet/FilterChip.d.ts +25 -0
- package/lib/typescript/modules/filter-sheet/FilterChip.d.ts.map +1 -0
- package/lib/typescript/modules/filter-sheet/FilterSheet.d.ts +54 -0
- package/lib/typescript/modules/filter-sheet/FilterSheet.d.ts.map +1 -0
- package/lib/typescript/modules/filter-sheet/FilterSheet.variants.d.ts +98 -0
- package/lib/typescript/modules/filter-sheet/FilterSheet.variants.d.ts.map +1 -0
- package/lib/typescript/modules/filter-sheet/FilterSheetBody.d.ts +28 -0
- package/lib/typescript/modules/filter-sheet/FilterSheetBody.d.ts.map +1 -0
- package/lib/typescript/modules/filter-sheet/filterSheet.helpers.d.ts +45 -0
- package/lib/typescript/modules/filter-sheet/filterSheet.helpers.d.ts.map +1 -0
- package/lib/typescript/modules/filter-sheet/index.d.ts +12 -0
- package/lib/typescript/modules/filter-sheet/index.d.ts.map +1 -0
- package/lib/typescript/modules/input/Input.d.ts +33 -0
- package/lib/typescript/modules/input/Input.d.ts.map +1 -0
- package/lib/typescript/modules/input/Input.variants.d.ts +116 -0
- package/lib/typescript/modules/input/Input.variants.d.ts.map +1 -0
- package/lib/typescript/modules/input/index.d.ts +10 -0
- package/lib/typescript/modules/input/index.d.ts.map +1 -0
- package/lib/typescript/modules/menu/Menu.d.ts +43 -0
- package/lib/typescript/modules/menu/Menu.d.ts.map +1 -0
- package/lib/typescript/modules/menu/Menu.variants.d.ts +41 -0
- package/lib/typescript/modules/menu/Menu.variants.d.ts.map +1 -0
- package/lib/typescript/modules/menu/index.d.ts +10 -0
- package/lib/typescript/modules/menu/index.d.ts.map +1 -0
- package/lib/typescript/modules/modal/Modal.d.ts +32 -0
- package/lib/typescript/modules/modal/Modal.d.ts.map +1 -0
- package/lib/typescript/modules/modal/Modal.variants.d.ts +72 -0
- package/lib/typescript/modules/modal/Modal.variants.d.ts.map +1 -0
- package/lib/typescript/modules/modal/ModalPortalContext.d.ts +2 -0
- package/lib/typescript/modules/modal/ModalPortalContext.d.ts.map +1 -0
- package/lib/typescript/modules/modal/ModalPortalProvider.d.ts +21 -0
- package/lib/typescript/modules/modal/ModalPortalProvider.d.ts.map +1 -0
- package/lib/typescript/modules/modal/index.d.ts +16 -0
- package/lib/typescript/modules/modal/index.d.ts.map +1 -0
- package/lib/typescript/modules/modal/renderWebPortal.d.ts +15 -0
- package/lib/typescript/modules/modal/renderWebPortal.d.ts.map +1 -0
- package/lib/typescript/modules/modal/renderWebPortal.web.d.ts +19 -0
- package/lib/typescript/modules/modal/renderWebPortal.web.d.ts.map +1 -0
- package/lib/typescript/modules/multi-select/MultiSelect.d.ts +33 -0
- package/lib/typescript/modules/multi-select/MultiSelect.d.ts.map +1 -0
- package/lib/typescript/modules/multi-select/MultiSelect.variants.d.ts +149 -0
- package/lib/typescript/modules/multi-select/MultiSelect.variants.d.ts.map +1 -0
- package/lib/typescript/modules/multi-select/index.d.ts +10 -0
- package/lib/typescript/modules/multi-select/index.d.ts.map +1 -0
- package/lib/typescript/modules/number-input/NumberInput.d.ts +34 -0
- package/lib/typescript/modules/number-input/NumberInput.d.ts.map +1 -0
- package/lib/typescript/modules/number-input/NumberInput.variants.d.ts +170 -0
- package/lib/typescript/modules/number-input/NumberInput.variants.d.ts.map +1 -0
- package/lib/typescript/modules/number-input/index.d.ts +11 -0
- package/lib/typescript/modules/number-input/index.d.ts.map +1 -0
- package/lib/typescript/modules/pin-input/PinInput.d.ts +40 -0
- package/lib/typescript/modules/pin-input/PinInput.d.ts.map +1 -0
- package/lib/typescript/modules/pin-input/PinInput.variants.d.ts +164 -0
- package/lib/typescript/modules/pin-input/PinInput.variants.d.ts.map +1 -0
- package/lib/typescript/modules/pin-input/index.d.ts +10 -0
- package/lib/typescript/modules/pin-input/index.d.ts.map +1 -0
- package/lib/typescript/modules/progress-bar/ProgressBar.d.ts +21 -0
- package/lib/typescript/modules/progress-bar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/modules/progress-bar/ProgressBar.variants.d.ts +112 -0
- package/lib/typescript/modules/progress-bar/ProgressBar.variants.d.ts.map +1 -0
- package/lib/typescript/modules/progress-bar/index.d.ts +11 -0
- package/lib/typescript/modules/progress-bar/index.d.ts.map +1 -0
- package/lib/typescript/modules/radio-group/RadioGroup.d.ts +27 -0
- package/lib/typescript/modules/radio-group/RadioGroup.d.ts.map +1 -0
- package/lib/typescript/modules/radio-group/RadioGroup.variants.d.ts +142 -0
- package/lib/typescript/modules/radio-group/RadioGroup.variants.d.ts.map +1 -0
- package/lib/typescript/modules/radio-group/index.d.ts +10 -0
- package/lib/typescript/modules/radio-group/index.d.ts.map +1 -0
- package/lib/typescript/modules/reorder/Reorder.d.ts +43 -0
- package/lib/typescript/modules/reorder/Reorder.d.ts.map +1 -0
- package/lib/typescript/modules/reorder/Reorder.variants.d.ts +116 -0
- package/lib/typescript/modules/reorder/Reorder.variants.d.ts.map +1 -0
- package/lib/typescript/modules/reorder/index.d.ts +9 -0
- package/lib/typescript/modules/reorder/index.d.ts.map +1 -0
- package/lib/typescript/modules/select/Select.d.ts +31 -0
- package/lib/typescript/modules/select/Select.d.ts.map +1 -0
- package/lib/typescript/modules/select/Select.variants.d.ts +127 -0
- package/lib/typescript/modules/select/Select.variants.d.ts.map +1 -0
- package/lib/typescript/modules/select/index.d.ts +9 -0
- package/lib/typescript/modules/select/index.d.ts.map +1 -0
- package/lib/typescript/modules/skeleton/Skeleton.d.ts +27 -0
- package/lib/typescript/modules/skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/modules/skeleton/Skeleton.variants.d.ts +119 -0
- package/lib/typescript/modules/skeleton/Skeleton.variants.d.ts.map +1 -0
- package/lib/typescript/modules/skeleton/index.d.ts +9 -0
- package/lib/typescript/modules/skeleton/index.d.ts.map +1 -0
- package/lib/typescript/modules/slider/Slider.d.ts +44 -0
- package/lib/typescript/modules/slider/Slider.d.ts.map +1 -0
- package/lib/typescript/modules/slider/Slider.variants.d.ts +211 -0
- package/lib/typescript/modules/slider/Slider.variants.d.ts.map +1 -0
- package/lib/typescript/modules/slider/index.d.ts +9 -0
- package/lib/typescript/modules/slider/index.d.ts.map +1 -0
- package/lib/typescript/modules/spinner/Spinner.d.ts +19 -0
- package/lib/typescript/modules/spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/modules/spinner/Spinner.variants.d.ts +113 -0
- package/lib/typescript/modules/spinner/Spinner.variants.d.ts.map +1 -0
- package/lib/typescript/modules/spinner/index.d.ts +10 -0
- package/lib/typescript/modules/spinner/index.d.ts.map +1 -0
- package/lib/typescript/modules/stepper/Stepper.d.ts +26 -0
- package/lib/typescript/modules/stepper/Stepper.d.ts.map +1 -0
- package/lib/typescript/modules/stepper/Stepper.variants.d.ts +107 -0
- package/lib/typescript/modules/stepper/Stepper.variants.d.ts.map +1 -0
- package/lib/typescript/modules/stepper/index.d.ts +8 -0
- package/lib/typescript/modules/stepper/index.d.ts.map +1 -0
- package/lib/typescript/modules/switch/Switch.d.ts +22 -0
- package/lib/typescript/modules/switch/Switch.d.ts.map +1 -0
- package/lib/typescript/modules/switch/Switch.variants.d.ts +60 -0
- package/lib/typescript/modules/switch/Switch.variants.d.ts.map +1 -0
- package/lib/typescript/modules/switch/index.d.ts +8 -0
- package/lib/typescript/modules/switch/index.d.ts.map +1 -0
- package/lib/typescript/modules/tabs/Tabs.d.ts +31 -0
- package/lib/typescript/modules/tabs/Tabs.d.ts.map +1 -0
- package/lib/typescript/modules/tabs/Tabs.variants.d.ts +114 -0
- package/lib/typescript/modules/tabs/Tabs.variants.d.ts.map +1 -0
- package/lib/typescript/modules/tabs/index.d.ts +10 -0
- package/lib/typescript/modules/tabs/index.d.ts.map +1 -0
- package/lib/typescript/modules/textarea/Textarea.d.ts +25 -0
- package/lib/typescript/modules/textarea/Textarea.d.ts.map +1 -0
- package/lib/typescript/modules/textarea/Textarea.variants.d.ts +99 -0
- package/lib/typescript/modules/textarea/Textarea.variants.d.ts.map +1 -0
- package/lib/typescript/modules/textarea/index.d.ts +9 -0
- package/lib/typescript/modules/textarea/index.d.ts.map +1 -0
- package/lib/typescript/modules/timeline/Timeline.d.ts +28 -0
- package/lib/typescript/modules/timeline/Timeline.d.ts.map +1 -0
- package/lib/typescript/modules/timeline/Timeline.variants.d.ts +103 -0
- package/lib/typescript/modules/timeline/Timeline.variants.d.ts.map +1 -0
- package/lib/typescript/modules/timeline/index.d.ts +9 -0
- package/lib/typescript/modules/timeline/index.d.ts.map +1 -0
- package/lib/typescript/modules/toast/Toast.d.ts +38 -0
- package/lib/typescript/modules/toast/Toast.d.ts.map +1 -0
- package/lib/typescript/modules/toast/Toast.variants.d.ts +80 -0
- package/lib/typescript/modules/toast/Toast.variants.d.ts.map +1 -0
- package/lib/typescript/modules/toast/index.d.ts +12 -0
- package/lib/typescript/modules/toast/index.d.ts.map +1 -0
- package/lib/typescript/modules/tooltip/Tooltip.d.ts +31 -0
- package/lib/typescript/modules/tooltip/Tooltip.d.ts.map +1 -0
- package/lib/typescript/modules/tooltip/Tooltip.variants.d.ts +52 -0
- package/lib/typescript/modules/tooltip/Tooltip.variants.d.ts.map +1 -0
- package/lib/typescript/modules/tooltip/index.d.ts +9 -0
- package/lib/typescript/modules/tooltip/index.d.ts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/theme/index.d.ts +11 -0
- package/lib/typescript/theme/index.d.ts.map +1 -0
- package/lib/typescript/theme/platform/colorScheme.native.d.ts +12 -0
- package/lib/typescript/theme/platform/colorScheme.native.d.ts.map +1 -0
- package/lib/typescript/theme/platform/elevation.native.d.ts +35 -0
- package/lib/typescript/theme/platform/elevation.native.d.ts.map +1 -0
- package/lib/typescript/theme/platform/fonts.native.d.ts +41 -0
- package/lib/typescript/theme/platform/fonts.native.d.ts.map +1 -0
- package/lib/typescript/theme/platform/index.d.ts +15 -0
- package/lib/typescript/theme/platform/index.d.ts.map +1 -0
- package/lib/typescript/theme/platform/units.native.d.ts +13 -0
- package/lib/typescript/theme/platform/units.native.d.ts.map +1 -0
- package/lib/typescript/theme/provider/PixelizeProvider.d.ts +81 -0
- package/lib/typescript/theme/provider/PixelizeProvider.d.ts.map +1 -0
- package/lib/typescript/theme/provider/colorModeStorage.d.ts +43 -0
- package/lib/typescript/theme/provider/colorModeStorage.d.ts.map +1 -0
- package/lib/typescript/theme/provider/index.d.ts +8 -0
- package/lib/typescript/theme/provider/index.d.ts.map +1 -0
- package/lib/typescript/theme/provider/useTheme.d.ts +4 -0
- package/lib/typescript/theme/provider/useTheme.d.ts.map +1 -0
- package/lib/typescript/theme/provider/useThemeColors.d.ts +9 -0
- package/lib/typescript/theme/provider/useThemeColors.d.ts.map +1 -0
- package/lib/typescript/theme/provider/useThemeMode.d.ts +4 -0
- package/lib/typescript/theme/provider/useThemeMode.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/emerald/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/emerald/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/emerald/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/emerald/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/index.d.ts +30 -0
- package/lib/typescript/theme/tokens/brands/index.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/lavender/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/lavender/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/lavender/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/lavender/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/meadow/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/meadow/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/meadow/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/meadow/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/radiant/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/radiant/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/radiant/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/radiant/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/rosewood/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/rosewood/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/rosewood/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/rosewood/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/skyline/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/skyline/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/skyline/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/skyline/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/slate/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/slate/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/slate/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/slate/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/storefront/palette.dark.d.ts +3 -0
- package/lib/typescript/theme/tokens/brands/storefront/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/storefront/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/storefront/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/zinc/palette.dark.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/zinc/palette.dark.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/brands/zinc/palette.light.d.ts +4 -0
- package/lib/typescript/theme/tokens/brands/zinc/palette.light.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/builders/accentText.d.ts +42 -0
- package/lib/typescript/theme/tokens/builders/accentText.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/builders/buildBrandTokens.d.ts +21 -0
- package/lib/typescript/theme/tokens/builders/buildBrandTokens.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/builders/buildDarkPalette.d.ts +13 -0
- package/lib/typescript/theme/tokens/builders/buildDarkPalette.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/builders/color.d.ts +59 -0
- package/lib/typescript/theme/tokens/builders/color.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/index.d.ts +21 -0
- package/lib/typescript/theme/tokens/index.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/borderWidths.d.ts +15 -0
- package/lib/typescript/theme/tokens/primitives/borderWidths.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/breakpoints.d.ts +17 -0
- package/lib/typescript/theme/tokens/primitives/breakpoints.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/elevation.d.ts +109 -0
- package/lib/typescript/theme/tokens/primitives/elevation.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/fontSizes.d.ts +21 -0
- package/lib/typescript/theme/tokens/primitives/fontSizes.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/fontWeights.d.ts +21 -0
- package/lib/typescript/theme/tokens/primitives/fontWeights.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/index.d.ts +23 -0
- package/lib/typescript/theme/tokens/primitives/index.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/letterSpacings.d.ts +17 -0
- package/lib/typescript/theme/tokens/primitives/letterSpacings.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/lineHeights.d.ts +20 -0
- package/lib/typescript/theme/tokens/primitives/lineHeights.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/radii.d.ts +20 -0
- package/lib/typescript/theme/tokens/primitives/radii.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/sizes.d.ts +33 -0
- package/lib/typescript/theme/tokens/primitives/sizes.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/space.d.ts +29 -0
- package/lib/typescript/theme/tokens/primitives/space.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/primitives/zIndices.d.ts +22 -0
- package/lib/typescript/theme/tokens/primitives/zIndices.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/roles/index.d.ts +68 -0
- package/lib/typescript/theme/tokens/roles/index.d.ts.map +1 -0
- package/lib/typescript/theme/tokens/types.d.ts +103 -0
- package/lib/typescript/theme/tokens/types.d.ts.map +1 -0
- package/package.json +259 -0
- package/registry.json +175 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* BottomNav's style + behaviour resolution — same split as every sibling module:
|
|
5
|
+
* - STRUCTURE (sizing/spacing/radius/border WIDTH) lives in the `createThemedVariants` resolvers
|
|
6
|
+
* below, registered once per theme identity.
|
|
7
|
+
* - COLOUR is resolved from the theme's ROLE colours by `resolveBottomNavTabColors`, never a raw
|
|
8
|
+
* hex — the reason a tab's look is driven by `active: boolean`, not a free `color` prop.
|
|
9
|
+
* - `resolveBottomNavAccessibility` derives one tab's `accessibilityState` purely, so the
|
|
10
|
+
* selected/expanded/disabled contract is unit-testable without rendering React Native.
|
|
11
|
+
* - `resolveEditRowState` derives whether one core-tab slot chip is the current pin target while
|
|
12
|
+
* `edit.editing` is true — read by `BottomNavOverflowSheet`, not by `BottomNav` itself.
|
|
13
|
+
* - `resolveBottomNavBottomInset` approximates the iOS home-indicator inset. This is the SAME
|
|
14
|
+
* formula `Drawer.variants.ts`'s `resolveDrawerBottomInset` and `Toast`'s own copy each already
|
|
15
|
+
* carry independently (see MODULE.md "Known gaps" for why this isn't hoisted to a shared helper
|
|
16
|
+
* yet — `react-native-safe-area-context` isn't a real peer dependency of this package today).
|
|
17
|
+
* - `resolveOverflowSheetHeight` is the pure "medium detent" approximation: `BottomNavOverflowSheet`
|
|
18
|
+
* caps its own root View to this height before handing it to `Drawer` as `children`, rather than
|
|
19
|
+
* Drawer growing to its own 90%-of-window ceiling.
|
|
20
|
+
*
|
|
21
|
+
* Free of React and of any lucide import, so the WCAG + behaviour tests import it directly (mocking
|
|
22
|
+
* only `react-native`'s `StyleSheet`, as `core/style` does).
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
import { createThemedVariants } from "../../core/style/index.js";
|
|
26
|
+
|
|
27
|
+
/** Same touch-target floor as Button/Select/Menu (44dp — Apple HIG minimum, WCAG 2.5.5 AAA). */
|
|
28
|
+
export const MIN_TOUCH_TARGET = 44;
|
|
29
|
+
|
|
30
|
+
/** The bar's fixed visual height. A design constant, not a caller-facing `size` scale — v1 is a
|
|
31
|
+
* single fixed shape (see MODULE.md's API stability contract, "out of contract"). Comfortably
|
|
32
|
+
* clears `MIN_TOUCH_TARGET` on its own, with no `hitSlop` needed (unlike Button's shorter sizes). */
|
|
33
|
+
export const BOTTOM_NAV_HEIGHT = 56;
|
|
34
|
+
|
|
35
|
+
/** Icon glyph size for a core/More tab in the bar. */
|
|
36
|
+
export const BOTTOM_NAV_ICON_SIZE = 22;
|
|
37
|
+
/** Icon glyph size for a row inside the overflow sheet (search result, Recent, grouped, edit slot). */
|
|
38
|
+
export const OVERFLOW_ROW_ICON_SIZE = 20;
|
|
39
|
+
/** The edit-mode slot chip's own "this is the pin target" dot — presence/absence, not a re-tint,
|
|
40
|
+
* same "use of colour" principle the bar's own active indicator documents below. */
|
|
41
|
+
export const EDIT_SLOT_INDICATOR_SIZE = 8;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Static bottom-inset fallback — see `Drawer.variants.ts`'s `DRAWER_IOS_HOME_INDICATOR_INSET` for
|
|
45
|
+
* the full reasoning (`react-native-safe-area-context` is an optional peer, not a real dependency of
|
|
46
|
+
* this package, so `useSafeAreaInsets` can't be imported here without breaking a consumer that
|
|
47
|
+
* hasn't separately installed it). Same numeric approximation, carried independently rather than
|
|
48
|
+
* imported from `../drawer` — a sibling module reaching into another's `.variants.ts` internals
|
|
49
|
+
* would be a real cross-module dependency this library's modules don't take on each other.
|
|
50
|
+
*/
|
|
51
|
+
export const BOTTOM_NAV_IOS_HOME_INDICATOR_INSET = 20;
|
|
52
|
+
|
|
53
|
+
/** Adds the static iOS home-indicator approximation to a base padding; Android's gesture/3-button
|
|
54
|
+
* nav already reserves its own space outside the app window, so it needs no extra padding here. */
|
|
55
|
+
export function resolveBottomNavBottomInset(basePadding, platformOS) {
|
|
56
|
+
return platformOS === "ios" ? basePadding + BOTTOM_NAV_IOS_HOME_INDICATOR_INSET : basePadding;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** The "medium detent" cap on the sheet's own content height — a fraction of the window, capped at
|
|
60
|
+
* an absolute maximum so a tall phone doesn't grow the sheet past a comfortable reach. This is an
|
|
61
|
+
* approximation of a true multi-detent sheet (see MODULE.md Known gaps), not real detent physics. */
|
|
62
|
+
export const OVERFLOW_SHEET_HEIGHT_RATIO = 0.55;
|
|
63
|
+
export const OVERFLOW_SHEET_MAX_HEIGHT = 480;
|
|
64
|
+
export function resolveOverflowSheetHeight(windowHeight) {
|
|
65
|
+
return Math.min(windowHeight * OVERFLOW_SHEET_HEIGHT_RATIO, OVERFLOW_SHEET_MAX_HEIGHT);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Maps a tab's active state onto role colours — the reason this module never exposes a `color`
|
|
69
|
+
* prop. `active` raises both the icon and the label to the highest-emphasis body colour; resting
|
|
70
|
+
* tabs read at the muted body colour. Selection itself is NOT conveyed by this colour step alone
|
|
71
|
+
* (WCAG 1.4.1) — the component pairs it with the indicator dot's presence/absence and a label
|
|
72
|
+
* font-weight switch, so a viewer who can't distinguish `fg.default` from `fg.muted` still sees
|
|
73
|
+
* which tab is active from the dot and the bold label.
|
|
74
|
+
*/
|
|
75
|
+
export function resolveBottomNavTabColors(colors, active) {
|
|
76
|
+
return {
|
|
77
|
+
icon: active ? colors.fg.default : colors.fg.muted,
|
|
78
|
+
label: active ? colors.fg.default : colors.fg.muted,
|
|
79
|
+
indicator: colors.accent.solid
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Derives one tab's accessibility surface once, purely (WCAG 4.1.2): `selected` is required,
|
|
84
|
+
* `expanded` and `disabled` are folded in only when the caller actually passes them, so a plain
|
|
85
|
+
* core tab's `accessibilityState` never carries a stray `expanded: undefined` key.
|
|
86
|
+
*/
|
|
87
|
+
export function resolveBottomNavAccessibility(input) {
|
|
88
|
+
const accessibilityState = {
|
|
89
|
+
selected: input.selected
|
|
90
|
+
};
|
|
91
|
+
if (input.expanded !== undefined) accessibilityState.expanded = input.expanded;
|
|
92
|
+
if (input.disabled !== undefined) accessibilityState.disabled = input.disabled;
|
|
93
|
+
return {
|
|
94
|
+
accessibilityRole: "tab",
|
|
95
|
+
accessibilityState
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/** Pure "is this the targeted slot" derivation, shared by the render tree and its tests — the same
|
|
99
|
+
* small-pure-predicate idiom `resolveReorderMoveState` uses for Reorder's own row gating. */
|
|
100
|
+
export function resolveEditRowState(input) {
|
|
101
|
+
return {
|
|
102
|
+
selected: input.selectedSlotIndex === input.slotIndex
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/** The bar container: tabs laid out as equal-width flex children, top border separating it from the
|
|
107
|
+
* screen content above. Colour (border, background) is resolved from role tokens and applied
|
|
108
|
+
* inline over this — never a hardcoded hex here. */
|
|
109
|
+
export const bottomNavBarStructure = createThemedVariants(theme => ({
|
|
110
|
+
base: {
|
|
111
|
+
flexDirection: "row",
|
|
112
|
+
borderTopWidth: theme.borderWidths.thin
|
|
113
|
+
}
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
/** One tab slot: icon above label, centered, spaced by `rowGap`. Shared by every core tab AND the
|
|
117
|
+
* More tab's own touchable — both must reach the same 56dp visual height. */
|
|
118
|
+
export const bottomNavTabStructure = createThemedVariants(theme => ({
|
|
119
|
+
base: {
|
|
120
|
+
flex: 1,
|
|
121
|
+
minHeight: BOTTOM_NAV_HEIGHT,
|
|
122
|
+
alignItems: "center",
|
|
123
|
+
justifyContent: "center",
|
|
124
|
+
rowGap: theme.space[1],
|
|
125
|
+
paddingVertical: theme.space[2]
|
|
126
|
+
}
|
|
127
|
+
}));
|
|
128
|
+
|
|
129
|
+
/** One row inside the overflow sheet — Recent, a grouped section's destination, or a search result.
|
|
130
|
+
* Same shape as Select's own `selectRowStructure` / Menu's `menuRowStructure`. */
|
|
131
|
+
export const overflowRowStructure = createThemedVariants(theme => ({
|
|
132
|
+
base: {
|
|
133
|
+
flexDirection: "row",
|
|
134
|
+
alignItems: "center",
|
|
135
|
+
minHeight: MIN_TOUCH_TARGET,
|
|
136
|
+
columnGap: theme.space[3],
|
|
137
|
+
paddingHorizontal: theme.space[4]
|
|
138
|
+
}
|
|
139
|
+
}));
|
|
140
|
+
|
|
141
|
+
/** A grouped overflow section's header row. Omitted entirely for a section with no `label` (a
|
|
142
|
+
* flat/ungrouped section) — the component, not this resolver, decides whether to render it. */
|
|
143
|
+
export const overflowSectionHeaderStructure = createThemedVariants(theme => ({
|
|
144
|
+
base: {
|
|
145
|
+
paddingHorizontal: theme.space[4],
|
|
146
|
+
paddingTop: theme.space[4],
|
|
147
|
+
paddingBottom: theme.space[1]
|
|
148
|
+
}
|
|
149
|
+
}));
|
|
150
|
+
|
|
151
|
+
/** A row inside the edit-mode view — a current-core-tab slot chip, or the "Reset to default" row.
|
|
152
|
+
* Slightly tighter horizontal padding + a radius than `overflowRowStructure`: these rows read as a
|
|
153
|
+
* distinct, self-contained mini-list rather than a continuation of the section list below them. */
|
|
154
|
+
export const editRowStructure = createThemedVariants(theme => ({
|
|
155
|
+
base: {
|
|
156
|
+
flexDirection: "row",
|
|
157
|
+
alignItems: "center",
|
|
158
|
+
minHeight: MIN_TOUCH_TARGET,
|
|
159
|
+
columnGap: theme.space[2],
|
|
160
|
+
paddingHorizontal: theme.space[3],
|
|
161
|
+
borderRadius: theme.radii.base
|
|
162
|
+
}
|
|
163
|
+
}));
|
|
164
|
+
//# sourceMappingURL=BottomNav.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createThemedVariants","MIN_TOUCH_TARGET","BOTTOM_NAV_HEIGHT","BOTTOM_NAV_ICON_SIZE","OVERFLOW_ROW_ICON_SIZE","EDIT_SLOT_INDICATOR_SIZE","BOTTOM_NAV_IOS_HOME_INDICATOR_INSET","resolveBottomNavBottomInset","basePadding","platformOS","OVERFLOW_SHEET_HEIGHT_RATIO","OVERFLOW_SHEET_MAX_HEIGHT","resolveOverflowSheetHeight","windowHeight","Math","min","resolveBottomNavTabColors","colors","active","icon","fg","default","muted","label","indicator","accent","solid","resolveBottomNavAccessibility","input","accessibilityState","selected","expanded","undefined","disabled","accessibilityRole","resolveEditRowState","selectedSlotIndex","slotIndex","bottomNavBarStructure","theme","base","flexDirection","borderTopWidth","borderWidths","thin","bottomNavTabStructure","flex","minHeight","alignItems","justifyContent","rowGap","space","paddingVertical","overflowRowStructure","columnGap","paddingHorizontal","overflowSectionHeaderStructure","paddingTop","paddingBottom","editRowStructure","borderRadius","radii"],"sourceRoot":"../../../../src","sources":["modules/bottom-nav/BottomNav.variants.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,oBAAoB,QAAQ,2BAAkB;;AAEvD;AACA,OAAO,MAAMC,gBAAgB,GAAG,EAAE;;AAElC;AACA;AACA;AACA,OAAO,MAAMC,iBAAiB,GAAG,EAAE;;AAEnC;AACA,OAAO,MAAMC,oBAAoB,GAAG,EAAE;AACtC;AACA,OAAO,MAAMC,sBAAsB,GAAG,EAAE;AACxC;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAG,CAAC;;AAEzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,mCAAmC,GAAG,EAAE;;AAErD;AACA;AACA,OAAO,SAASC,2BAA2BA,CAACC,WAAmB,EAAEC,UAAkB,EAAU;EAC3F,OAAOA,UAAU,KAAK,KAAK,GAAGD,WAAW,GAAGF,mCAAmC,GAAGE,WAAW;AAC/F;;AAEA;AACA;AACA;AACA,OAAO,MAAME,2BAA2B,GAAG,IAAI;AAC/C,OAAO,MAAMC,yBAAyB,GAAG,GAAG;AAE5C,OAAO,SAASC,0BAA0BA,CAACC,YAAoB,EAAU;EACvE,OAAOC,IAAI,CAACC,GAAG,CAACF,YAAY,GAAGH,2BAA2B,E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AACrB;EAC5B;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* BottomNavOverflowSheet — PRIVATE sub-component (not exported from `index.ts`, same status as
|
|
5
|
+
* Reorder's own private `ReorderRow`). This is the overflow sheet's actual content, handed to
|
|
6
|
+
* `BottomNav.tsx`'s `<Drawer>` as `children`: the search field (reusing `../input`'s `Input`), the
|
|
7
|
+
* pre-search Recent row, grouped overflow sections, the edit-mode view, and the no-results state.
|
|
8
|
+
* Split into its own file because it is the single most complex piece of UI in this module — the
|
|
9
|
+
* same "give the sheet its own file" call the design brief makes explicitly.
|
|
10
|
+
*
|
|
11
|
+
* Caps its own root View's height via `resolveOverflowSheetHeight` (a fraction of the window, capped
|
|
12
|
+
* at an absolute maximum) BEFORE handing control to `Drawer` — this is what achieves the "medium
|
|
13
|
+
* detent, screen dimmed behind" look without Drawer growing to its own 90%-of-window ceiling, and
|
|
14
|
+
* without touching Drawer's own contract at all (see MODULE.md).
|
|
15
|
+
*
|
|
16
|
+
* Owns two pieces of internal, ephemeral `useState` — the search query text, and (only meaningful
|
|
17
|
+
* while `edit.editing` is true) which core-tab slot is the current pin target. Neither is ever
|
|
18
|
+
* surfaced to the app: both reset for free when the sheet unmounts on close, and `selectedSlotIndex`
|
|
19
|
+
* is additionally cleared the instant `edit.editing` turns false out from under it. See MODULE.md's
|
|
20
|
+
* "Controlled-state contract" for why these two — and only these two — are internal.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
import { memo, useCallback, useEffect, useRef, useState } from "react";
|
|
24
|
+
import { Animated, Pressable, ScrollView, StyleSheet, Text, useWindowDimensions, View } from "react-native";
|
|
25
|
+
import { useReducedMotion } from "../../core/a11y/index.js";
|
|
26
|
+
import { Icon } from "../../core/icon/index.js";
|
|
27
|
+
import { useTheme } from "../../theme/index.js";
|
|
28
|
+
import { Button } from "../button/index.js";
|
|
29
|
+
import { Input } from "../input/index.js";
|
|
30
|
+
import { editRowStructure, EDIT_SLOT_INDICATOR_SIZE, OVERFLOW_ROW_ICON_SIZE, overflowRowStructure, overflowSectionHeaderStructure, resolveEditRowState, resolveOverflowSheetHeight } from "./BottomNav.variants.js";
|
|
31
|
+
import { matchDestinations, normalizeQuery } from "./BottomNav.search.js";
|
|
32
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
33
|
+
const ICON_STROKE = 2;
|
|
34
|
+
export const BottomNavOverflowSheet = /*#__PURE__*/memo(function BottomNavOverflowSheet({
|
|
35
|
+
overflowSections,
|
|
36
|
+
recent,
|
|
37
|
+
coreTabs,
|
|
38
|
+
active,
|
|
39
|
+
onDestinationPress,
|
|
40
|
+
edit,
|
|
41
|
+
searchPlaceholder,
|
|
42
|
+
searchAccessibilityLabel,
|
|
43
|
+
recentLabel,
|
|
44
|
+
noResultsLabel,
|
|
45
|
+
testID
|
|
46
|
+
}) {
|
|
47
|
+
const theme = useTheme();
|
|
48
|
+
const reducedMotion = useReducedMotion();
|
|
49
|
+
const {
|
|
50
|
+
height: windowHeight
|
|
51
|
+
} = useWindowDimensions();
|
|
52
|
+
const [query, setQuery] = useState("");
|
|
53
|
+
const [selectedSlotIndex, setSelectedSlotIndex] = useState(null);
|
|
54
|
+
const wasEditing = useRef(edit?.editing ?? false);
|
|
55
|
+
|
|
56
|
+
// The app can flip `edit.editing` back to false from outside (e.g. backgrounding, or its own
|
|
57
|
+
// "Customize tabs" entry point elsewhere) — the pin target must not survive into the next edit
|
|
58
|
+
// session, so this clears it the instant editing stops, not just when the sheet itself unmounts.
|
|
59
|
+
// On the false→true transition, default the pin target to the first core-tab slot instead of
|
|
60
|
+
// leaving it unselected: a destination row press while editing still requires an explicit slot
|
|
61
|
+
// (this never auto-navigates), but starting from "nothing selected" made the very first row tap
|
|
62
|
+
// after opening edit mode a silent no-op with no visible cause — real QA surfaced this as
|
|
63
|
+
// confusing. Defaulting to slot 0 keeps the "no accidental pin" safety property (still requires a
|
|
64
|
+
// selected slot; tapping the same chip again still deselects to null) while removing the dead tap.
|
|
65
|
+
useEffect(() => {
|
|
66
|
+
const isEditing = edit?.editing ?? false;
|
|
67
|
+
if (isEditing && !wasEditing.current) {
|
|
68
|
+
setSelectedSlotIndex(coreTabs.length > 0 ? 0 : null);
|
|
69
|
+
} else if (!isEditing) {
|
|
70
|
+
setSelectedSlotIndex(null);
|
|
71
|
+
}
|
|
72
|
+
wasEditing.current = isEditing;
|
|
73
|
+
}, [edit?.editing, coreTabs.length]);
|
|
74
|
+
const sheetHeight = resolveOverflowSheetHeight(windowHeight);
|
|
75
|
+
const isSearching = normalizeQuery(query).length > 0;
|
|
76
|
+
const matches = isSearching ? matchDestinations(query, overflowSections) : [];
|
|
77
|
+
|
|
78
|
+
// Stable via useCallback: passed to `Button`/`EditSlotChip` (this library's own child components),
|
|
79
|
+
// not a plain host element — a fresh closure per render would defeat their memo.
|
|
80
|
+
const handleEditToggle = useCallback(() => {
|
|
81
|
+
if (edit === undefined) return;
|
|
82
|
+
edit.onEditingChange(!edit.editing);
|
|
83
|
+
}, [edit]);
|
|
84
|
+
const handleSlotPress = useCallback(index => {
|
|
85
|
+
setSelectedSlotIndex(prev => prev === index ? null : index);
|
|
86
|
+
}, []);
|
|
87
|
+
const handleRowPress = destination => {
|
|
88
|
+
if (edit?.editing) {
|
|
89
|
+
// Editing with nothing selected: a row press is a no-op rather than a navigation — you
|
|
90
|
+
// shouldn't leave the sheet mid-edit by accident. Selecting a slot first is required.
|
|
91
|
+
if (selectedSlotIndex !== null) {
|
|
92
|
+
edit.onPinChange(selectedSlotIndex, destination);
|
|
93
|
+
setSelectedSlotIndex(null);
|
|
94
|
+
}
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
onDestinationPress(destination.id);
|
|
98
|
+
};
|
|
99
|
+
const isRowSelected = id => active.kind !== "none" && active.id !== undefined && active.id === id;
|
|
100
|
+
const renderRow = (destination, testIDKey) => /*#__PURE__*/_jsxs(Pressable, {
|
|
101
|
+
testID: testID ? `${testID}-${testIDKey}-${destination.id}` : undefined,
|
|
102
|
+
accessibilityRole: "menuitem",
|
|
103
|
+
accessibilityState: {
|
|
104
|
+
selected: isRowSelected(destination.id)
|
|
105
|
+
},
|
|
106
|
+
onPress: () => handleRowPress(destination),
|
|
107
|
+
style: overflowRowStructure(theme),
|
|
108
|
+
children: [/*#__PURE__*/_jsx(Icon, {
|
|
109
|
+
name: destination.icon,
|
|
110
|
+
size: OVERFLOW_ROW_ICON_SIZE,
|
|
111
|
+
color: theme.colors.fg.default,
|
|
112
|
+
strokeWidth: ICON_STROKE
|
|
113
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
114
|
+
numberOfLines: 1,
|
|
115
|
+
style: [theme.fontStyleForWeight(theme.fontWeights.regular), {
|
|
116
|
+
flex: 1,
|
|
117
|
+
fontSize: theme.fontSizes.md,
|
|
118
|
+
color: theme.colors.fg.default
|
|
119
|
+
}],
|
|
120
|
+
children: destination.label
|
|
121
|
+
})]
|
|
122
|
+
}, destination.id);
|
|
123
|
+
const renderSectionHeader = label => /*#__PURE__*/_jsx(View, {
|
|
124
|
+
style: overflowSectionHeaderStructure(theme),
|
|
125
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
126
|
+
accessibilityRole: "header",
|
|
127
|
+
style: [theme.fontStyleForWeight(theme.fontWeights.medium), {
|
|
128
|
+
fontSize: theme.fontSizes.xs,
|
|
129
|
+
color: theme.colors.fg.muted
|
|
130
|
+
}],
|
|
131
|
+
children: label
|
|
132
|
+
})
|
|
133
|
+
});
|
|
134
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
135
|
+
testID: testID,
|
|
136
|
+
style: {
|
|
137
|
+
maxHeight: sheetHeight
|
|
138
|
+
},
|
|
139
|
+
children: [edit !== undefined && /*#__PURE__*/_jsx(View, {
|
|
140
|
+
style: [styles.editHeader, {
|
|
141
|
+
paddingHorizontal: theme.space[4],
|
|
142
|
+
paddingTop: theme.space[2]
|
|
143
|
+
}],
|
|
144
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
145
|
+
variant: "ghost",
|
|
146
|
+
tone: "neutral",
|
|
147
|
+
size: "sm",
|
|
148
|
+
label: edit.editing ? edit.doneLabel ?? "Done" : edit.editLabel ?? "Edit",
|
|
149
|
+
onPress: handleEditToggle,
|
|
150
|
+
testID: testID ? `${testID}-edit-toggle` : undefined
|
|
151
|
+
})
|
|
152
|
+
}), edit !== undefined && edit.editing && /*#__PURE__*/_jsxs(View, {
|
|
153
|
+
testID: testID ? `${testID}-edit-slots` : undefined,
|
|
154
|
+
children: [coreTabs.map((tab, index) => {
|
|
155
|
+
const rowState = resolveEditRowState({
|
|
156
|
+
slotIndex: index,
|
|
157
|
+
selectedSlotIndex
|
|
158
|
+
});
|
|
159
|
+
return /*#__PURE__*/_jsx(EditSlotChip, {
|
|
160
|
+
tab: tab,
|
|
161
|
+
index: index,
|
|
162
|
+
selected: rowState.selected,
|
|
163
|
+
reducedMotion: reducedMotion,
|
|
164
|
+
theme: theme,
|
|
165
|
+
onPress: handleSlotPress,
|
|
166
|
+
testID: testID ? `${testID}-edit-slot-${index}` : undefined
|
|
167
|
+
}, tab.id);
|
|
168
|
+
}), edit.onResetToDefault !== undefined && /*#__PURE__*/_jsxs(Pressable, {
|
|
169
|
+
testID: testID ? `${testID}-reset` : undefined,
|
|
170
|
+
accessibilityRole: "menuitem",
|
|
171
|
+
onPress: edit.onResetToDefault,
|
|
172
|
+
style: editRowStructure(theme),
|
|
173
|
+
children: [/*#__PURE__*/_jsx(Icon, {
|
|
174
|
+
name: "refresh-cw",
|
|
175
|
+
size: OVERFLOW_ROW_ICON_SIZE,
|
|
176
|
+
color: theme.colors.fg.default,
|
|
177
|
+
strokeWidth: ICON_STROKE
|
|
178
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
179
|
+
style: [theme.fontStyleForWeight(theme.fontWeights.regular), {
|
|
180
|
+
flex: 1,
|
|
181
|
+
fontSize: theme.fontSizes.md,
|
|
182
|
+
color: theme.colors.fg.default
|
|
183
|
+
}],
|
|
184
|
+
children: edit.resetLabel ?? "Reset to default"
|
|
185
|
+
})]
|
|
186
|
+
})]
|
|
187
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
188
|
+
style: {
|
|
189
|
+
paddingHorizontal: theme.space[4],
|
|
190
|
+
paddingBottom: theme.space[2]
|
|
191
|
+
},
|
|
192
|
+
children: /*#__PURE__*/_jsx(Input, {
|
|
193
|
+
value: query,
|
|
194
|
+
onChangeText: setQuery,
|
|
195
|
+
leadingIcon: "search",
|
|
196
|
+
placeholder: searchPlaceholder,
|
|
197
|
+
accessibilityLabel: searchAccessibilityLabel,
|
|
198
|
+
testID: testID ? `${testID}-search` : undefined
|
|
199
|
+
})
|
|
200
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
201
|
+
bounces: false,
|
|
202
|
+
keyboardShouldPersistTaps: "handled",
|
|
203
|
+
children: isSearching ? matches.length > 0 ? matches.map(match => renderRow(match.destination, "result")) : /*#__PURE__*/_jsx(Text, {
|
|
204
|
+
testID: testID ? `${testID}-no-results` : undefined,
|
|
205
|
+
style: [theme.fontStyleForWeight(theme.fontWeights.regular), styles.noResults, {
|
|
206
|
+
color: theme.colors.fg.muted,
|
|
207
|
+
fontSize: theme.fontSizes.md,
|
|
208
|
+
paddingVertical: theme.space[6]
|
|
209
|
+
}],
|
|
210
|
+
children: noResultsLabel
|
|
211
|
+
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
212
|
+
children: [recent.length > 0 && /*#__PURE__*/_jsxs(View, {
|
|
213
|
+
children: [renderSectionHeader(recentLabel), recent.map(destination => renderRow(destination, "recent"))]
|
|
214
|
+
}), overflowSections.map(section => /*#__PURE__*/_jsxs(View, {
|
|
215
|
+
children: [section.label !== undefined && renderSectionHeader(section.label), section.destinations.map(destination => renderRow(destination, "result"))]
|
|
216
|
+
}, section.id))]
|
|
217
|
+
})
|
|
218
|
+
})]
|
|
219
|
+
});
|
|
220
|
+
});
|
|
221
|
+
const INDICATOR_FADE_MS = 150;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* One core-tab slot chip in the edit-mode mini-list. Its own component (not inlined in the `.map()`
|
|
225
|
+
* above) for the same reason `Reorder`'s own `ReorderRow` is split out: the selected-indicator fade
|
|
226
|
+
* needs a per-row `useEffect` instance, and Rules of Hooks forbid calling one inside a loop body.
|
|
227
|
+
*
|
|
228
|
+
* The selected indicator is an `Animated.Value` opacity fade (0 → 1), not a colour swap — the same
|
|
229
|
+
* "presence/absence, not a re-tint" principle the bar's own active dot documents — collapsed to an
|
|
230
|
+
* instant `setValue` under reduced motion (WCAG 2.3.3), the identical idiom `Reorder`'s row-shift and
|
|
231
|
+
* `Accordion`'s chevron rotation already use for their own per-item animated values.
|
|
232
|
+
*/
|
|
233
|
+
const EditSlotChip = /*#__PURE__*/memo(function EditSlotChip({
|
|
234
|
+
tab,
|
|
235
|
+
index,
|
|
236
|
+
selected,
|
|
237
|
+
reducedMotion,
|
|
238
|
+
theme,
|
|
239
|
+
onPress,
|
|
240
|
+
testID
|
|
241
|
+
}) {
|
|
242
|
+
const opacity = useRef(new Animated.Value(selected ? 1 : 0)).current;
|
|
243
|
+
useEffect(() => {
|
|
244
|
+
if (reducedMotion) {
|
|
245
|
+
opacity.setValue(selected ? 1 : 0);
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
Animated.timing(opacity, {
|
|
249
|
+
toValue: selected ? 1 : 0,
|
|
250
|
+
duration: INDICATOR_FADE_MS,
|
|
251
|
+
useNativeDriver: true
|
|
252
|
+
}).start();
|
|
253
|
+
}, [opacity, selected, reducedMotion]);
|
|
254
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
255
|
+
testID: testID,
|
|
256
|
+
accessibilityRole: "button",
|
|
257
|
+
accessibilityState: {
|
|
258
|
+
selected
|
|
259
|
+
},
|
|
260
|
+
accessibilityLabel: `${tab.label}, slot ${index + 1}`,
|
|
261
|
+
onPress: () => onPress(index),
|
|
262
|
+
style: editRowStructure(theme),
|
|
263
|
+
children: [/*#__PURE__*/_jsx(Icon, {
|
|
264
|
+
name: tab.icon,
|
|
265
|
+
size: OVERFLOW_ROW_ICON_SIZE,
|
|
266
|
+
color: theme.colors.fg.default,
|
|
267
|
+
strokeWidth: ICON_STROKE
|
|
268
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
269
|
+
numberOfLines: 1,
|
|
270
|
+
style: [theme.fontStyleForWeight(selected ? theme.fontWeights.semibold : theme.fontWeights.regular), {
|
|
271
|
+
flex: 1,
|
|
272
|
+
fontSize: theme.fontSizes.md,
|
|
273
|
+
color: theme.colors.fg.default
|
|
274
|
+
}],
|
|
275
|
+
children: tab.label
|
|
276
|
+
}), /*#__PURE__*/_jsx(Animated.View, {
|
|
277
|
+
testID: testID ? `${testID}-indicator` : undefined,
|
|
278
|
+
style: {
|
|
279
|
+
width: EDIT_SLOT_INDICATOR_SIZE,
|
|
280
|
+
height: EDIT_SLOT_INDICATOR_SIZE,
|
|
281
|
+
borderRadius: EDIT_SLOT_INDICATOR_SIZE / 2,
|
|
282
|
+
backgroundColor: theme.colors.accent.solid,
|
|
283
|
+
opacity
|
|
284
|
+
}
|
|
285
|
+
})]
|
|
286
|
+
});
|
|
287
|
+
});
|
|
288
|
+
const styles = StyleSheet.create({
|
|
289
|
+
editHeader: {
|
|
290
|
+
flexDirection: "row",
|
|
291
|
+
justifyContent: "flex-end"
|
|
292
|
+
},
|
|
293
|
+
noResults: {
|
|
294
|
+
textAlign: "center"
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
//# sourceMappingURL=BottomNavOverflowSheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["memo","useCallback","useEffect","useRef","useState","Animated","Pressable","ScrollView","StyleSheet","Text","useWindowDimensions","View","useReducedMotion","Icon","useTheme","Button","Input","editRowStructure","EDIT_SLOT_INDICATOR_SIZE","OVERFLOW_ROW_ICON_SIZE","overflowRowStructure","overflowSectionHeaderStructure","resolveEditRowState","resolveOverflowSheetHeight","matchDestinations","normalizeQuery","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","ICON_STROKE","BottomNavOverflowSheet","overflowSections","recent","coreTabs","active","onDestinationPress","edit","searchPlaceholder","searchAccessibilityLabel","recentLabel","noResultsLabel","testID","theme","reducedMotion","height","windowHeight","query","setQuery","selectedSlotIndex","setSelectedSlotIndex","wasEditing","editing","isEditing","current","length","sheetHeight","isSearching","matches","handleEditToggle","undefined","onEditingChange","handleSlotPress","index","prev","handleRowPress","destination","onPinChange","id","isRowSelected","kind","renderRow","testIDKey","accessibilityRole","accessibilityState","selected","onPress","style","children","name","icon","size","color","colors","fg","default","strokeWidth","numberOfLines","fontStyleForWeight","fontWeights","regular","flex","fontSize","fontSizes","md","label","renderSectionHeader","medium","xs","muted","maxHeight","styles","editHeader","paddingHorizontal","space","paddingTop","variant","tone","doneLabel","editLabel","map","tab","rowState","slotIndex","EditSlotChip","onResetToDefault","resetLabel","paddingBottom","value","onChangeText","leadingIcon","placeholder","accessibilityLabel","bounces","keyboardShouldPersistTaps","match","noResults","paddingVertical","section","destinations","INDICATOR_FADE_MS","opacity","Value","setValue","timing","toValue","duration","useNativeDriver","start","semibold","width","borderRadius","backgroundColor","accent","solid","create","flexDirection","justifyContent","textAlign"],"sourceRoot":"../../../../src","sources":["modules/bottom-nav/BottomNavOverflowSheet.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,EAAEC,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACtE,SAASC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,UAAU,EAAEC,IAAI,EAAEC,mBAAmB,EAAEC,IAAI,QAAQ,cAAc;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