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,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Skeleton's style + accessibility resolution — the pure functions the component (and its tests)
|
|
5
|
+
* depend on, plus the themed structural variant resolver.
|
|
6
|
+
*
|
|
7
|
+
* The split every sibling module copies (see `Button.variants.ts` / `Avatar.variants.ts`):
|
|
8
|
+
* - STRUCTURE (the shape's corner radius) lives in the `createThemedVariants` resolver below —
|
|
9
|
+
* static per (brand, mode), registered once via `StyleSheet.create`.
|
|
10
|
+
* - SIZE is NOT theme-driven: a skeleton's whole job is standing in for a specific piece of
|
|
11
|
+
* content, so `width`/`height` are per-instance numbers the caller supplies (or a per-shape
|
|
12
|
+
* fallback), resolved by `resolveSkeletonSize` and applied inline — never a themed variant,
|
|
13
|
+
* since there is no closed set of values to register.
|
|
14
|
+
* - COLOUR is resolved from the theme's ROLE colours (`resolveSkeletonColors`), never a raw ramp,
|
|
15
|
+
* never a hardcoded hex. There is no `tone` prop to widen — a loading placeholder has exactly
|
|
16
|
+
* one neutral appearance (same reasoning as `resolveAvatarColors`). `pulse` is `base` composited
|
|
17
|
+
* with a fixed-alpha overlay (see `resolveSkeletonColors`), not a second role lookup — two
|
|
18
|
+
* arbitrary role rungs are not guaranteed to differ enough to read as a shimmer.
|
|
19
|
+
* - ACCESSIBILITY prop derivation is `resolveSkeletonAccessibility`, kept pure so the "decorative
|
|
20
|
+
* unless labelled" contract is unit-testable without rendering React Native (same shape as
|
|
21
|
+
* `resolveAvatarAccessibility`).
|
|
22
|
+
*
|
|
23
|
+
* Free of React and of any lucide import, so the WCAG + behaviour tests import it directly (mocking
|
|
24
|
+
* only `react-native`'s `StyleSheet`, as `core/style` and every sibling module's tests do).
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
import { compositeOver } from "../../theme/tokens/builders/color.js";
|
|
28
|
+
import { createThemedVariants } from "../../core/style/index.js";
|
|
29
|
+
/** Fallback dp size per shape, used whenever the caller gives neither `width` nor `height`. */
|
|
30
|
+
export const SKELETON_DEFAULT_SIZE = {
|
|
31
|
+
rect: {
|
|
32
|
+
width: 120,
|
|
33
|
+
height: 80
|
|
34
|
+
},
|
|
35
|
+
circle: {
|
|
36
|
+
width: 40,
|
|
37
|
+
height: 40
|
|
38
|
+
},
|
|
39
|
+
text: {
|
|
40
|
+
width: 120,
|
|
41
|
+
height: 16
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Resolves the box's actual dp size. `circle` is the one shape that cannot take independent
|
|
47
|
+
* width/height — an unequal pair would render an ellipse under the shared `radii.full` corner
|
|
48
|
+
* radius, not a circle — so a single given dimension mirrors onto the other rather than the two
|
|
49
|
+
* silently drifting apart.
|
|
50
|
+
*/
|
|
51
|
+
export function resolveSkeletonSize(shape, width, height) {
|
|
52
|
+
const fallback = SKELETON_DEFAULT_SIZE[shape];
|
|
53
|
+
if (shape === "circle") {
|
|
54
|
+
const diameter = width ?? height ?? fallback.width;
|
|
55
|
+
return {
|
|
56
|
+
width: diameter,
|
|
57
|
+
height: diameter
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
width: width ?? fallback.width,
|
|
62
|
+
height: height ?? fallback.height
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
// Fixed-alpha overlay composited onto `base` (Button's `PRESS_SCRIM_DARK`/`LIGHT` precedent for "I
|
|
66
|
+
// need a guaranteed visible delta, not a role lookup"). `fg.default` is dark in light mode and light
|
|
67
|
+
// in dark mode, so compositing it darkens/lightens `base` for free with no `if (dark)` branch. ~30%
|
|
68
|
+
// alpha keeps the composited contrast ratio ≥ `MIN_PULSE_CONTRAST` (see `Skeleton.test.ts`) on every
|
|
69
|
+
// brand × mode, with comfortable headroom above the floor.
|
|
70
|
+
const PULSE_OVERLAY_ALPHA_HEX = "4d"; // 0x4d / 0xff ≈ 30%
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Maps the placeholder onto role colours, then derives `pulse` as `base` composited with a small,
|
|
74
|
+
* fixed-alpha overlay — never a second role lookup. A prior version returned `base: bg.sunken, pulse:
|
|
75
|
+
* bg.raised`: two role rungs whose luminance gap is whatever the brand's ramp happens to produce, and
|
|
76
|
+
* an independent re-measurement found that gap collapses to visually-indistinguishable on every
|
|
77
|
+
* brand × mode — the shimmer was a silent no-op everywhere, not just on one theme. Compositing a
|
|
78
|
+
* fixed-alpha overlay makes the luminance delta a controlled constant instead of an incidental one,
|
|
79
|
+
* so it can't collapse regardless of how a brand's `bg.raised`/`bg.sunken` rungs happen to relate.
|
|
80
|
+
*/
|
|
81
|
+
export function resolveSkeletonColors(colors) {
|
|
82
|
+
const base = colors.bg.sunken;
|
|
83
|
+
const pulse = compositeOver(`${colors.fg.default}${PULSE_OVERLAY_ALPHA_HEX}`, base);
|
|
84
|
+
return {
|
|
85
|
+
base,
|
|
86
|
+
pulse
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Derives the accessibility surface once, purely, so the "decorative unless labelled" contract is
|
|
91
|
+
* testable without a renderer (same shape as `resolveAvatarAccessibility`):
|
|
92
|
+
* - no label → the placeholder stands in for content that hasn't rendered yet and carries no
|
|
93
|
+
* meaning of its own, so it is hidden from assistive tech (`accessibilityElementsHidden` on
|
|
94
|
+
* iOS + `importantForAccessibility="no-hide-descendants"` on Android) rather than read as a
|
|
95
|
+
* bare, unexplained box.
|
|
96
|
+
* - a label (e.g. `"Loading"`) → exposed as one `"progressbar"`-role element carrying it, with
|
|
97
|
+
* `busy: true` (WCAG 1.4.1 — the loading state is announced, not left to be inferred from a box
|
|
98
|
+
* appearing on screen).
|
|
99
|
+
*/
|
|
100
|
+
export function resolveSkeletonAccessibility(input) {
|
|
101
|
+
const hasLabel = input.accessibilityLabel !== undefined && input.accessibilityLabel.length > 0;
|
|
102
|
+
return {
|
|
103
|
+
accessible: hasLabel,
|
|
104
|
+
accessibilityRole: hasLabel ? "progressbar" : undefined,
|
|
105
|
+
accessibilityLabel: hasLabel ? input.accessibilityLabel : undefined,
|
|
106
|
+
accessibilityState: hasLabel ? {
|
|
107
|
+
busy: true
|
|
108
|
+
} : undefined,
|
|
109
|
+
accessibilityElementsHidden: !hasLabel,
|
|
110
|
+
importantForAccessibility: hasLabel ? "auto" : "no-hide-descendants"
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Structural styles only — the shape's corner radius, plus `overflow: "hidden"` so the animated
|
|
116
|
+
* shimmer overlay (an absolutely-positioned sibling, see `Skeleton.tsx`) clips to it without each
|
|
117
|
+
* shape recomputing the same radius on that overlay. No colour (state-driven, applied inline over
|
|
118
|
+
* this), so this compiles once per theme identity via the `WeakMap`-cached themed resolver and
|
|
119
|
+
* never rebuilds per render.
|
|
120
|
+
*
|
|
121
|
+
* Unlike `Button`, there is no focus ring here that needs to escape the bounds, so `overflow:
|
|
122
|
+
* "hidden"` is safe — nothing else needs to be drawn outside this box.
|
|
123
|
+
*/
|
|
124
|
+
export const skeletonStructure = createThemedVariants(theme => ({
|
|
125
|
+
base: {
|
|
126
|
+
overflow: "hidden"
|
|
127
|
+
},
|
|
128
|
+
variants: {
|
|
129
|
+
shape: {
|
|
130
|
+
rect: {
|
|
131
|
+
borderRadius: theme.radii.base
|
|
132
|
+
},
|
|
133
|
+
circle: {
|
|
134
|
+
borderRadius: theme.radii.full
|
|
135
|
+
},
|
|
136
|
+
text: {
|
|
137
|
+
borderRadius: theme.radii.sm
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
defaultVariants: {
|
|
142
|
+
shape: "rect"
|
|
143
|
+
}
|
|
144
|
+
}));
|
|
145
|
+
//# sourceMappingURL=Skeleton.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["compositeOver","createThemedVariants","SKELETON_DEFAULT_SIZE","rect","width","height","circle","text","resolveSkeletonSize","shape","fallback","diameter","PULSE_OVERLAY_ALPHA_HEX","resolveSkeletonColors","colors","base","bg","sunken","pulse","fg","default","resolveSkeletonAccessibility","input","hasLabel","accessibilityLabel","undefined","length","accessible","accessibilityRole","accessibilityState","busy","accessibilityElementsHidden","importantForAccessibility","skeletonStructure","theme","overflow","variants","borderRadius","radii","full","sm","defaultVariants"],"sourceRoot":"../../../../src","sources":["modules/skeleton/Skeleton.variants.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,aAAa,QAAQ,sCAAmC;AACjE,SAASC,oBAAoB,QAAQ,2BAAkB;AASvD;AACA,OAAO,MAAMC,qBAAqB,GAAG;EACnCC,IAAI,EAAE;IAAEC,KAAK,EAAE,GAAG;IAAEC,MAAM,EAAE;EAAG,CAAC;EAChCC,MAAM,EAAE;IAAEF,KAAK,EAAE,EAAE;IAAEC,MAAM,EAAE;EAAG,CAAC;EACjCE,IAAI,EAAE;IAAEH,KAAK,EAAE,GAAG;IAAEC,MAAM,EAAE;EAAG;AACjC,CAA4D;;AAE5D;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,mBAAmBA,CACjCC,KAAoB,EACpBL,KAAyB,EACzBC,MAA0B,EACR;EAClB,MAAMK,QAAQ,GAAGR,qBAAqB,CAACO,KAAK,CAAC;EAC7C,IAAIA,KAAK,KAAK,QAAQ,EAAE;IACtB,MAAME,QAAQ,GAAGP,KAAK,IAAIC,MAAM,IAAIK,QAAQ,CAACN,KAAK;IAClD,OAAO;MAAEA,KAAK,EAAEO,QAAQ;MAAEN,MAAM,EAAEM;IAAS,CAAC;EAC9C;EACA,OAAO;IAAEP,KAAK,EAAEA,KAAK,IAAIM,QAAQ,CAACN,KAAK;IAAEC,MAAM,EAAEA,MAAM,IAAIK,QAAQ,CAACL;EAAO,CAAC;AAC9E;AASA;AACA;AACA;AACA;AACA;AACA,MAAMO,uBAAuB,GAAG,IAAI,CAAC,CAAC;;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MAAK,CAAC;MAC1ChC,IAAI,EAAE;QAAE8B,YAAY,EAAEH,KAAK,CAACI,KAAK,CAACE;MAAG;IACvC;EACF,CAAC;EACDC,eAAe,EAAE;IAAEhC,KAAK,EAAE;EAAO;AACnC,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Public surface of `pixelize-native-library/skeleton`. Value exports and type exports are split for
|
|
5
|
+
* `verbatimModuleSyntax`. The resolvers (`resolveSkeletonSize`, `resolveSkeletonColors`, …) stay
|
|
6
|
+
* internal — a consumer configures a Skeleton through its props, never by importing its internals.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export { Skeleton } from "./Skeleton.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Skeleton"],"sourceRoot":"../../../../src","sources":["modules/skeleton/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;;AAEA,SAASA,QAAQ,QAAQ,eAAY","ignoreList":[]}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# slider/ — a draggable range control, hand-rolled on React Native's own PanResponder
|
|
2
|
+
|
|
3
|
+
`Slider` is a Wave 3 component: no new npm/Expo dependency (no `@react-native-community/slider`) —
|
|
4
|
+
the drag gesture is built entirely on RN's own `PanResponder`, the same "we own every interaction
|
|
5
|
+
primitive" philosophy `Modal`/`Select` already apply to RN's raw `<Modal>`.
|
|
6
|
+
|
|
7
|
+
## Files
|
|
8
|
+
|
|
9
|
+
| File | Role |
|
|
10
|
+
|------|------|
|
|
11
|
+
| `Slider.tsx` | The component. `PanResponder` wiring, layout measurement, accessibility actions. |
|
|
12
|
+
| `Slider.variants.ts` | Pure drag math (`resolveSliderPositionValue`, `snapSliderValue`, `stepSliderValue`, …), colour resolvers, accessibility resolver, and the `createThemedVariants` structural resolvers. No React, no PanResponder. |
|
|
13
|
+
| `index.ts` | Public surface: `Slider`, `SliderProps`, `SliderSize`. |
|
|
14
|
+
| `__tests__/Slider.test.ts` | Pure: WCAG contrast (all brands × modes) + drag-math/step/accessibility contracts. |
|
|
15
|
+
| `__tests__/Slider.render.test.tsx` | Render: layout-driven positioning, the REAL `PanResponder` gesture fired end-to-end, increment/decrement actions, disabled. |
|
|
16
|
+
|
|
17
|
+
## Props
|
|
18
|
+
|
|
19
|
+
| Prop | Type | Default | Notes |
|
|
20
|
+
|------|------|---------|-------|
|
|
21
|
+
| `value` | `number` | — | Required. Controlled. |
|
|
22
|
+
| `onValueChange` | `(value: number) => void` | — | Required. Fires on every grant/move/release AND on an increment/decrement action. |
|
|
23
|
+
| `onSlidingComplete` | `(value: number) => void` | — | Fires once, on release or after an increment/decrement action — never on an intermediate move. |
|
|
24
|
+
| `min` / `max` | `number` | `0` / `100` | |
|
|
25
|
+
| `step` | `number` | `1` | Drag-snap AND the increment/decrement amount. |
|
|
26
|
+
| `disabled` | `boolean` | `false` | Blocks the gesture and the accessibility actions; dims (opacity 0.5). |
|
|
27
|
+
| `size` | `sm \| md` | `md` | Closed union — track height + thumb diameter. |
|
|
28
|
+
| `style` | `LayoutStyle` | — | Layout-only, outermost, applied exactly once. No `width`/`fullWidth` prop — the row stretches to its container by RN's default `alignItems: stretch`, same as `ProgressBar`. |
|
|
29
|
+
| `accessibilityLabel` | `string` | — | **Required** — the control structurally never renders visible text, so this is the only accessible name a screen reader has (mirrors `Switch`'s and `Button`'s icon-only contract). |
|
|
30
|
+
| `testID` | `string` | — | Also stamps `${testID}-fill` and `${testID}-thumb`. |
|
|
31
|
+
|
|
32
|
+
## Two design choices (spec left these open — documented here)
|
|
33
|
+
|
|
34
|
+
1. **`PanResponder` is wired on the WHOLE TRACK ROW, not just the thumb.** A thin 4–6dp visual
|
|
35
|
+
track/thumb would be a poor mobile drag target even before the 44dp floor; a full-width row is
|
|
36
|
+
both a much larger target AND lets a touch anywhere jump the thumb there directly (the usual
|
|
37
|
+
native slider affordance). `hitSlop` then only needs to grow the SHORT axis to 44dp — the long
|
|
38
|
+
axis already spans the component's width.
|
|
39
|
+
2. **Position reads `evt.nativeEvent.locationX`, not `gestureState.dx`.** `locationX` is the touch's
|
|
40
|
+
position relative to the row that received it — an ABSOLUTE position with no drift and no
|
|
41
|
+
dependency on `PanResponder`'s internal touch-history accumulation. `gestureState.dx` accumulates
|
|
42
|
+
a RELATIVE delta since the gesture started, which is the wrong model for "the thumb should always
|
|
43
|
+
sit under the finger" (it's the right model for e.g. a swipe-to-dismiss). `onPanResponderTerminationRequest`
|
|
44
|
+
returns `false` so a parent `ScrollView` can't steal the responder mid-drag.
|
|
45
|
+
|
|
46
|
+
## Accessibility contract (WCAG)
|
|
47
|
+
|
|
48
|
+
- **2.5.7 (dragging movements)** — `accessibilityRole="adjustable"` with `accessibilityActions`
|
|
49
|
+
declaring `increment`/`decrement` and `onAccessibilityAction` adjusting `value` by `step`, clamped.
|
|
50
|
+
iOS's `adjustable` trait already offers these via the two-finger swipe gesture without the actions
|
|
51
|
+
declared; Android TalkBack has no native "adjustable" gesture and only surfaces custom actions that
|
|
52
|
+
are declared. Both fire `onSlidingComplete` (mirrors a drag's release), never left silent.
|
|
53
|
+
- **2.5.5 / 2.5.8 (target size)** — the row's rendered height is `thumbSize` (16sm/20md);
|
|
54
|
+
`SLIDER_SIZES[size].hitSlop`, applied as the row's `hitSlop`, expands it to the 44dp floor —
|
|
55
|
+
ACHIEVED via `hitSlop` on the actual responder node, not just arithmetic (`Slider.test.ts`).
|
|
56
|
+
- **1.4.11 (non-text contrast)** — measured, not assumed, for all 8 brands × both modes
|
|
57
|
+
(`Slider.test.ts`):
|
|
58
|
+
- Fill vs track: `accent.text` (NOT `accent.solid` — measured as low as ~1.6:1 against `bg.sunken`
|
|
59
|
+
on rosewood light, the same class of gap `ProgressBar` found) clears ≥ 4.4:1 against `bg.sunken`.
|
|
60
|
+
- Thumb ring (`border.interactive`) vs the RESTING track: ≥ 3.05:1 worst case — this is the
|
|
61
|
+
boundary that rescues the thumb's own fill (`bg.canvas`), which is as low as ~1:1 against
|
|
62
|
+
`bg.sunken` on some brands (they're near-identical there).
|
|
63
|
+
- Thumb fill (`bg.canvas`) vs the ACCENT fill: ≥ 4.6:1 worst case — here the ring alone would be as
|
|
64
|
+
low as ~1:1 against a saturated accent on several brands, so the much larger fill area is what
|
|
65
|
+
actually carries the boundary, not the 2dp ring.
|
|
66
|
+
- **2.3.3 (reduced motion)** — N/A. No animation: the thumb's position is a direct function of
|
|
67
|
+
`value`, never an eased/animated transition.
|
|
68
|
+
- `accessibilityValue={{ min, max, now }}` — `now` is clamped onto `[min, max]` even if a caller
|
|
69
|
+
passes an out-of-range `value`, so a screen reader never announces something the track can't render.
|
|
70
|
+
|
|
71
|
+
## Patterns
|
|
72
|
+
|
|
73
|
+
1. **Structure vs colour split**, same as every sibling: `createThemedVariants` for row/track/thumb
|
|
74
|
+
dimensions (registered once per theme); colour resolved from ROLE tokens
|
|
75
|
+
(`resolveSliderTrackColors`/`resolveSliderThumbColors`), applied inline.
|
|
76
|
+
2. **Pure, testable drag math** (`Slider.variants.ts`) — `resolveSliderPositionValue` (touch → value),
|
|
77
|
+
`snapSliderValue`, `sliderValueToFraction` (value → render position), `stepSliderValue` — none of
|
|
78
|
+
it depends on React Native, so `Slider.test.ts` exercises real edge cases (unmeasured track,
|
|
79
|
+
`max ≤ min`, `NaN`, non-positive `step`) without a renderer.
|
|
80
|
+
3. **A "latest props" ref** (`live`), reassigned in the render body (not an effect). The
|
|
81
|
+
`PanResponder` instance is created exactly once (`useState` lazy init) so a gesture in progress
|
|
82
|
+
is never disrupted by a re-render, while its callbacks still always read the current
|
|
83
|
+
value/bounds/disabled/measured-width.
|
|
84
|
+
4. **The render test fires the REAL `PanResponder`**, not a stub: `onResponderGrant`/`Move`/`Release`
|
|
85
|
+
are RN's actual implementation, which internally reads `event.touchHistory` for its own
|
|
86
|
+
gesture-negotiation bookkeeping (independent of what this component's callbacks read). The test's
|
|
87
|
+
`gestureEvent()` helper fabricates a minimal-but-valid single-touch `touchHistory`.
|
|
88
|
+
|
|
89
|
+
## Known gaps
|
|
90
|
+
|
|
91
|
+
None.
|
|
92
|
+
|
|
93
|
+
## Performance
|
|
94
|
+
|
|
95
|
+
Wrapped in `React.memo` (repo-wide re-render audit, 2026-07-17 — see root `CLAUDE.md`). `applyTouch`/`handleLayout`/`handleAccessibilityAction` are only wired to the root `View`'s host props, never handed to a library child component — nothing to memoize.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Slider — a draggable range control, hand-rolled entirely on React Native's own `PanResponder`
|
|
5
|
+
* (Wave 3's standing rule: no new npm/Expo dependency — the same "we own every interaction
|
|
6
|
+
* primitive" philosophy as `Modal`/`Select` owning RN's raw `<Modal>`).
|
|
7
|
+
*
|
|
8
|
+
* Two design choices worth documenting up front:
|
|
9
|
+
*
|
|
10
|
+
* 1. `PanResponder` is wired on the WHOLE TRACK ROW, not just the visual thumb. A thin 4–6dp thumb
|
|
11
|
+
* would be a poor mobile drag target even before the 44dp floor; a full-width row is both a much
|
|
12
|
+
* larger target AND lets a touch anywhere on the track jump the thumb there directly (the usual
|
|
13
|
+
* native slider affordance). The row's `hitSlop` then only needs to grow the SHORT axis up to
|
|
14
|
+
* 44dp — the long axis already spans the component's full width.
|
|
15
|
+
* 2. Position is read from `evt.nativeEvent.locationX` (the touch's position relative to the row
|
|
16
|
+
* that received it) on every grant/move, NOT from `gestureState.dx` (PanResponder's accumulated
|
|
17
|
+
* delta since the gesture started). `locationX` gives an ABSOLUTE position with no drift and no
|
|
18
|
+
* dependency on the responder's internal touch-history bookkeeping — exactly what a track-based
|
|
19
|
+
* slider needs (the thumb should always sit under the finger, not accumulate a relative offset).
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
import { memo, useRef, useState } from "react";
|
|
23
|
+
import { PanResponder, StyleSheet, View } from "react-native";
|
|
24
|
+
import { useTheme } from "../../theme/index.js";
|
|
25
|
+
import { resolveSliderAccessibility, resolveSliderPositionValue, resolveSliderThumbColors, resolveSliderTrackColors, sliderFillStructure, sliderRowStructure, SLIDER_HIT_SLOP, SLIDER_SIZES, sliderThumbStructure, sliderTrackStructure, sliderValueToFraction, stepSliderValue } from "./Slider.variants.js";
|
|
26
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
27
|
+
export const Slider = /*#__PURE__*/memo(function Slider(props) {
|
|
28
|
+
const {
|
|
29
|
+
value,
|
|
30
|
+
onValueChange,
|
|
31
|
+
onSlidingComplete,
|
|
32
|
+
min = 0,
|
|
33
|
+
max = 100,
|
|
34
|
+
step = 1,
|
|
35
|
+
disabled = false,
|
|
36
|
+
size = "md",
|
|
37
|
+
style,
|
|
38
|
+
accessibilityLabel,
|
|
39
|
+
testID
|
|
40
|
+
} = props;
|
|
41
|
+
const theme = useTheme();
|
|
42
|
+
const [trackWidth, setTrackWidth] = useState(0);
|
|
43
|
+
|
|
44
|
+
// The PanResponder callbacks below are created ONCE (see `useState` lazy init further down) and
|
|
45
|
+
// must never close over a stale render's props. Reassigning a ref's `.current` in the render body
|
|
46
|
+
// (not an effect) is synchronous and triggers no re-render, so every gesture callback reads the
|
|
47
|
+
// latest value/bounds/disabled/trackWidth without the responder itself being recreated per render.
|
|
48
|
+
const live = useRef({
|
|
49
|
+
value,
|
|
50
|
+
min,
|
|
51
|
+
max,
|
|
52
|
+
step,
|
|
53
|
+
disabled,
|
|
54
|
+
trackWidth,
|
|
55
|
+
onValueChange,
|
|
56
|
+
onSlidingComplete
|
|
57
|
+
});
|
|
58
|
+
live.current = {
|
|
59
|
+
value,
|
|
60
|
+
min,
|
|
61
|
+
max,
|
|
62
|
+
step,
|
|
63
|
+
disabled,
|
|
64
|
+
trackWidth,
|
|
65
|
+
onValueChange,
|
|
66
|
+
onSlidingComplete
|
|
67
|
+
};
|
|
68
|
+
const spec = SLIDER_SIZES[size];
|
|
69
|
+
const trackColors = resolveSliderTrackColors(theme.colors);
|
|
70
|
+
const thumbColors = resolveSliderThumbColors(theme.colors);
|
|
71
|
+
const a11y = resolveSliderAccessibility({
|
|
72
|
+
value,
|
|
73
|
+
min,
|
|
74
|
+
max,
|
|
75
|
+
disabled
|
|
76
|
+
});
|
|
77
|
+
const fraction = sliderValueToFraction(value, min, max);
|
|
78
|
+
|
|
79
|
+
/** Converts one touch event into a value and reports it. `undefined` when disabled/unmeasured. */
|
|
80
|
+
const applyTouch = event => {
|
|
81
|
+
const state = live.current;
|
|
82
|
+
if (state.disabled || state.trackWidth <= 0) return undefined;
|
|
83
|
+
const next = resolveSliderPositionValue({
|
|
84
|
+
locationX: event.nativeEvent.locationX,
|
|
85
|
+
trackWidth: state.trackWidth,
|
|
86
|
+
min: state.min,
|
|
87
|
+
max: state.max,
|
|
88
|
+
step: state.step
|
|
89
|
+
});
|
|
90
|
+
state.onValueChange(next);
|
|
91
|
+
return next;
|
|
92
|
+
};
|
|
93
|
+
const [panResponder] = useState(() => PanResponder.create({
|
|
94
|
+
onStartShouldSetPanResponder: () => !live.current.disabled,
|
|
95
|
+
onMoveShouldSetPanResponder: () => !live.current.disabled,
|
|
96
|
+
// A parent ScrollView must not be able to yank the responder away mid-drag.
|
|
97
|
+
onPanResponderTerminationRequest: () => false,
|
|
98
|
+
onPanResponderGrant: event => {
|
|
99
|
+
applyTouch(event);
|
|
100
|
+
},
|
|
101
|
+
onPanResponderMove: event => {
|
|
102
|
+
applyTouch(event);
|
|
103
|
+
},
|
|
104
|
+
onPanResponderRelease: event => {
|
|
105
|
+
const next = applyTouch(event);
|
|
106
|
+
if (next !== undefined) live.current.onSlidingComplete?.(next);
|
|
107
|
+
}
|
|
108
|
+
}));
|
|
109
|
+
const handleLayout = event => {
|
|
110
|
+
setTrackWidth(event.nativeEvent.layout.width);
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
// WCAG 2.5.7 — the non-drag alternative. iOS's `adjustable` trait already offers increment/decrement
|
|
114
|
+
// via the two-finger swipe gesture; Android TalkBack needs them declared as `accessibilityActions`
|
|
115
|
+
// (below) to surface them at all.
|
|
116
|
+
const handleAccessibilityAction = event => {
|
|
117
|
+
const state = live.current;
|
|
118
|
+
if (state.disabled) return;
|
|
119
|
+
const {
|
|
120
|
+
actionName
|
|
121
|
+
} = event.nativeEvent;
|
|
122
|
+
if (actionName !== "increment" && actionName !== "decrement") return;
|
|
123
|
+
const next = stepSliderValue(state.value, actionName === "increment" ? 1 : -1, state.min, state.max, state.step);
|
|
124
|
+
state.onValueChange(next);
|
|
125
|
+
state.onSlidingComplete?.(next);
|
|
126
|
+
};
|
|
127
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
128
|
+
testID: testID,
|
|
129
|
+
accessible: true,
|
|
130
|
+
accessibilityRole: a11y.accessibilityRole,
|
|
131
|
+
accessibilityLabel: accessibilityLabel,
|
|
132
|
+
accessibilityValue: a11y.accessibilityValue,
|
|
133
|
+
accessibilityState: a11y.accessibilityState,
|
|
134
|
+
accessibilityActions: a11y.accessibilityActions,
|
|
135
|
+
onAccessibilityAction: handleAccessibilityAction,
|
|
136
|
+
onLayout: handleLayout,
|
|
137
|
+
onStartShouldSetResponder: panResponder.panHandlers.onStartShouldSetResponder,
|
|
138
|
+
onMoveShouldSetResponder: panResponder.panHandlers.onMoveShouldSetResponder,
|
|
139
|
+
onResponderGrant: panResponder.panHandlers.onResponderGrant,
|
|
140
|
+
onResponderMove: panResponder.panHandlers.onResponderMove,
|
|
141
|
+
onResponderRelease: panResponder.panHandlers.onResponderRelease,
|
|
142
|
+
onResponderTerminate: panResponder.panHandlers.onResponderTerminate,
|
|
143
|
+
onResponderTerminationRequest: panResponder.panHandlers.onResponderTerminationRequest,
|
|
144
|
+
hitSlop: SLIDER_HIT_SLOP[size],
|
|
145
|
+
style: [sliderRowStructure(theme, {
|
|
146
|
+
size
|
|
147
|
+
}), disabled && styles.dimmed, style],
|
|
148
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
149
|
+
pointerEvents: "none",
|
|
150
|
+
style: [sliderTrackStructure(theme, {
|
|
151
|
+
size
|
|
152
|
+
}), {
|
|
153
|
+
backgroundColor: trackColors.track
|
|
154
|
+
}],
|
|
155
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
156
|
+
testID: testID === undefined ? undefined : `${testID}-fill`,
|
|
157
|
+
style: [sliderFillStructure(theme), {
|
|
158
|
+
width: `${fraction * 100}%`,
|
|
159
|
+
backgroundColor: trackColors.fill
|
|
160
|
+
}]
|
|
161
|
+
})
|
|
162
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
163
|
+
pointerEvents: "none",
|
|
164
|
+
testID: testID === undefined ? undefined : `${testID}-thumb`,
|
|
165
|
+
style: [sliderThumbStructure(theme, {
|
|
166
|
+
size
|
|
167
|
+
}), {
|
|
168
|
+
left: `${fraction * 100}%`,
|
|
169
|
+
marginLeft: -(spec.thumbSize / 2),
|
|
170
|
+
backgroundColor: thumbColors.fill,
|
|
171
|
+
borderColor: thumbColors.border
|
|
172
|
+
}]
|
|
173
|
+
})]
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
const styles = StyleSheet.create({
|
|
177
|
+
// A disabled control is exempt from the contrast minimum (WCAG 1.4.3), so a uniform dim is correct
|
|
178
|
+
// — the same treatment `Button`/`Checkbox`/`NumberInput` use.
|
|
179
|
+
dimmed: {
|
|
180
|
+
opacity: 0.5
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
//# sourceMappingURL=Slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["memo","useRef","useState","PanResponder","StyleSheet","View","useTheme","resolveSliderAccessibility","resolveSliderPositionValue","resolveSliderThumbColors","resolveSliderTrackColors","sliderFillStructure","sliderRowStructure","SLIDER_HIT_SLOP","SLIDER_SIZES","sliderThumbStructure","sliderTrackStructure","sliderValueToFraction","stepSliderValue","jsx","_jsx","jsxs","_jsxs","Slider","props","value","onValueChange","onSlidingComplete","min","max","step","disabled","size","style","accessibilityLabel","testID","theme","trackWidth","setTrackWidth","live","current","spec","trackColors","colors","thumbColors","a11y","fraction","applyTouch","event","state","undefined","next","locationX","nativeEvent","panResponder","create","onStartShouldSetPanResponder","onMoveShouldSetPanResponder","onPanResponderTerminationRequest","onPanResponderGrant","onPanResponderMove","onPanResponderRelease","handleLayout","layout","width","handleAccessibilityAction","actionName","accessible","accessibilityRole","accessibilityValue","accessibilityState","accessibilityActions","onAccessibilityAction","onLayout","onStartShouldSetResponder","panHandlers","onMoveShouldSetResponder","onResponderGrant","onResponderMove","onResponderRelease","onResponderTerminate","onResponderTerminationRequest","hitSlop","styles","dimmed","children","pointerEvents","backgroundColor","track","fill","left","marginLeft","thumbSize","borderColor","border","opacity"],"sourceRoot":"../../../../src","sources":["modules/slider/Slider.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAC9C,SAASC,YAAY,EAAEC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAI7D,SAASC,QAAQ,QAAQ,sBAAa;AAEtC,SACEC,0BAA0B,EAC1BC,0BAA0B,EAC1BC,wBAAwB,EACxBC,wBAAwB,EACxBC,mBAAmB,EACnBC,kBAAkB,EAClBC,eAAe,EACfC,YAAY,EACZC,oBAAoB,EACpBC,oBAAoB,EACpBC,qBAAqB,EACrBC,eAAe,QACV,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAqC3B,OAAO,MAAMC,MAAM,gBAAGvB,IAAI,CAAC,SAASuB,MAAMA,CAACC,KAAkB,EAAE;EAC7D,MAAM;IACJC,KAAK;IACLC,aAAa;IACbC,iBAAiB;IACjBC,GAAG,GAAG,CAAC;IACPC,GAAG,GAAG,GAAG;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