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,195 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* MultiSelect's style + behaviour resolution — mirrors `Select.variants.ts`'s split (itself copying
|
|
5
|
+
* `Button.variants.ts`):
|
|
6
|
+
* - STRUCTURE (sizing/spacing off the theme scale) lives in the `createThemedVariants` resolvers
|
|
7
|
+
* below — static per (brand, mode), registered once.
|
|
8
|
+
* - COLOUR is resolved from the theme's ROLE colours (never a raw ramp, never a hardcoded hex) by
|
|
9
|
+
* `resolveMultiSelectTriggerColors` / `resolveMultiSelectRowColors`. The row indicator's checked
|
|
10
|
+
* pairing (`border.interactive` outline / `accent.solid` fill / `accent.onSolid` glyph) is the
|
|
11
|
+
* same role mapping `Checkbox.variants.ts` uses — duplicated, not imported: modules never import
|
|
12
|
+
* across `src/modules/*`.
|
|
13
|
+
* - ACCESSIBILITY prop derivation is `resolveMultiSelectAccessibility`, kept pure so the "disabled
|
|
14
|
+
* blocks opening / expanded tracks the menu" contract is unit-testable without rendering React
|
|
15
|
+
* Native.
|
|
16
|
+
*
|
|
17
|
+
* Free of React and of any `Modal`/`Pressable` import, so the WCAG + behaviour tests import it
|
|
18
|
+
* directly (mocking only `react-native`'s `StyleSheet`, as `core/style` does).
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
import { createThemedVariants } from "../../core/style/index.js";
|
|
22
|
+
/** Same touch-target floor as Button/Select (44dp — Apple HIG minimum, WCAG 2.5.5 AAA). */
|
|
23
|
+
export const MIN_TOUCH_TARGET = 44;
|
|
24
|
+
const slopFor = dimension => Math.max(0, Math.ceil((MIN_TOUCH_TARGET - dimension) / 2));
|
|
25
|
+
export const MULTI_SELECT_SIZES = {
|
|
26
|
+
sm: {
|
|
27
|
+
height: 32,
|
|
28
|
+
fontSize: 14,
|
|
29
|
+
iconSize: 16,
|
|
30
|
+
hitSlop: slopFor(32)
|
|
31
|
+
},
|
|
32
|
+
md: {
|
|
33
|
+
height: 40,
|
|
34
|
+
fontSize: 16,
|
|
35
|
+
iconSize: 18,
|
|
36
|
+
hitSlop: slopFor(40)
|
|
37
|
+
},
|
|
38
|
+
lg: {
|
|
39
|
+
height: 48,
|
|
40
|
+
fontSize: 18,
|
|
41
|
+
iconSize: 20,
|
|
42
|
+
hitSlop: slopFor(48)
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** Minimum height for an option row — a list item is still an interactive target (WCAG 2.5.8). */
|
|
47
|
+
export const MULTI_SELECT_ROW_MIN_HEIGHT = 44;
|
|
48
|
+
|
|
49
|
+
/** Row checkbox-style indicator box side, in dp. Fixed — independent of the trigger's own `size`,
|
|
50
|
+
* same reasoning as `Select`'s row "check" glyph. */
|
|
51
|
+
export const MULTI_SELECT_ROW_INDICATOR_SIZE = 20;
|
|
52
|
+
|
|
53
|
+
/** The "check" glyph inside a checked row's indicator box. */
|
|
54
|
+
export const MULTI_SELECT_ROW_ICON_SIZE = 14;
|
|
55
|
+
|
|
56
|
+
/** The sheet header's close ("x") button — a fixed-size icon-only control, not caller-configurable. */
|
|
57
|
+
export const MULTI_SELECT_CLOSE_BUTTON_SIZE = 24;
|
|
58
|
+
export const MULTI_SELECT_CLOSE_ICON_SIZE = 16;
|
|
59
|
+
export const MULTI_SELECT_CLOSE_BUTTON_HIT_SLOP = slopFor(MULTI_SELECT_CLOSE_BUTTON_SIZE);
|
|
60
|
+
/**
|
|
61
|
+
* Maps trigger state onto role colours — the reason `size` (not a free-form colour prop) keeps this
|
|
62
|
+
* closed. `focused` covers both keyboard/AT focus and the sheet being open (visually the same cue).
|
|
63
|
+
* Disabled is NOT a separate colour branch: like Button/Select, a disabled control is exempt from the
|
|
64
|
+
* contrast minimum (WCAG 1.4.3) and is signalled by a uniform opacity dim instead.
|
|
65
|
+
*/
|
|
66
|
+
export function resolveMultiSelectTriggerColors(colors, focused) {
|
|
67
|
+
return {
|
|
68
|
+
background: colors.bg.surface,
|
|
69
|
+
border: focused ? colors.border.focus : colors.border.interactive,
|
|
70
|
+
text: colors.fg.default,
|
|
71
|
+
placeholder: colors.fg.muted,
|
|
72
|
+
icon: colors.fg.muted
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export function resolveMultiSelectRowColors(colors) {
|
|
76
|
+
return {
|
|
77
|
+
background: colors.bg.surface,
|
|
78
|
+
text: colors.fg.default,
|
|
79
|
+
indicatorBorder: colors.border.interactive,
|
|
80
|
+
indicatorFill: colors.accent.solid,
|
|
81
|
+
indicatorIcon: colors.accent.onSolid
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Derives the trigger's accessibility surface once, purely: `expanded` tracks whether the option
|
|
86
|
+
* sheet is showing (WCAG 4.1.2 — a collapsible control must expose its expanded/collapsed state),
|
|
87
|
+
* and `disabled` blocks the sheet from opening at all.
|
|
88
|
+
*/
|
|
89
|
+
export function resolveMultiSelectAccessibility(input) {
|
|
90
|
+
const disabled = input.disabled === true;
|
|
91
|
+
return {
|
|
92
|
+
accessibilityRole: "button",
|
|
93
|
+
accessibilityState: {
|
|
94
|
+
disabled,
|
|
95
|
+
expanded: input.open
|
|
96
|
+
},
|
|
97
|
+
disabled
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Structural styles only — layout, height, padding, radius, border WIDTH. No colours (tone-driven,
|
|
103
|
+
* applied inline over this), so this compiles once per theme identity via the themed resolver.
|
|
104
|
+
*/
|
|
105
|
+
export const multiSelectTriggerStructure = createThemedVariants(theme => ({
|
|
106
|
+
base: {
|
|
107
|
+
flexDirection: "row",
|
|
108
|
+
alignItems: "center",
|
|
109
|
+
justifyContent: "space-between",
|
|
110
|
+
columnGap: theme.space[2],
|
|
111
|
+
borderRadius: theme.radii.base,
|
|
112
|
+
borderWidth: theme.borderWidths.thin
|
|
113
|
+
},
|
|
114
|
+
variants: {
|
|
115
|
+
size: {
|
|
116
|
+
sm: {
|
|
117
|
+
height: MULTI_SELECT_SIZES.sm.height,
|
|
118
|
+
paddingHorizontal: theme.space[3]
|
|
119
|
+
},
|
|
120
|
+
md: {
|
|
121
|
+
height: MULTI_SELECT_SIZES.md.height,
|
|
122
|
+
paddingHorizontal: theme.space[4]
|
|
123
|
+
},
|
|
124
|
+
lg: {
|
|
125
|
+
height: MULTI_SELECT_SIZES.lg.height,
|
|
126
|
+
paddingHorizontal: theme.space[6]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
defaultVariants: {
|
|
131
|
+
size: "md"
|
|
132
|
+
}
|
|
133
|
+
}));
|
|
134
|
+
|
|
135
|
+
/** The full-screen overlay the sheet centers in. `box-none` (applied by the component) lets a tap
|
|
136
|
+
* on its empty padding fall through to the backdrop press underneath. */
|
|
137
|
+
export const multiSelectOverlayStructure = createThemedVariants(theme => ({
|
|
138
|
+
base: {
|
|
139
|
+
flex: 1,
|
|
140
|
+
justifyContent: "center",
|
|
141
|
+
paddingHorizontal: theme.space[6]
|
|
142
|
+
}
|
|
143
|
+
}));
|
|
144
|
+
export const multiSelectSheetStructure = createThemedVariants(theme => ({
|
|
145
|
+
base: {
|
|
146
|
+
borderRadius: theme.radii.base,
|
|
147
|
+
paddingBottom: theme.space[2],
|
|
148
|
+
maxHeight: 360,
|
|
149
|
+
...theme.elevation.lg
|
|
150
|
+
}
|
|
151
|
+
}));
|
|
152
|
+
|
|
153
|
+
/** The header row hosting the close button, right-aligned. */
|
|
154
|
+
export const multiSelectHeaderStructure = createThemedVariants(theme => ({
|
|
155
|
+
base: {
|
|
156
|
+
flexDirection: "row",
|
|
157
|
+
alignItems: "center",
|
|
158
|
+
justifyContent: "flex-end",
|
|
159
|
+
paddingHorizontal: theme.space[2],
|
|
160
|
+
paddingTop: theme.space[2],
|
|
161
|
+
paddingBottom: theme.space[1]
|
|
162
|
+
}
|
|
163
|
+
}));
|
|
164
|
+
export const multiSelectCloseButtonStructure = createThemedVariants(theme => ({
|
|
165
|
+
base: {
|
|
166
|
+
alignItems: "center",
|
|
167
|
+
justifyContent: "center",
|
|
168
|
+
width: MULTI_SELECT_CLOSE_BUTTON_SIZE,
|
|
169
|
+
height: MULTI_SELECT_CLOSE_BUTTON_SIZE,
|
|
170
|
+
borderRadius: theme.radii.sm
|
|
171
|
+
}
|
|
172
|
+
}));
|
|
173
|
+
export const multiSelectRowStructure = createThemedVariants(theme => ({
|
|
174
|
+
base: {
|
|
175
|
+
flexDirection: "row",
|
|
176
|
+
alignItems: "center",
|
|
177
|
+
minHeight: MULTI_SELECT_ROW_MIN_HEIGHT,
|
|
178
|
+
columnGap: theme.space[3],
|
|
179
|
+
paddingHorizontal: theme.space[4]
|
|
180
|
+
}
|
|
181
|
+
}));
|
|
182
|
+
|
|
183
|
+
/** Structural indicator-box styles only — size, radius, border WIDTH. No colours: border/fill
|
|
184
|
+
* colour is checked-state-driven and applied inline over this, same split as `checkboxBoxStructure`. */
|
|
185
|
+
export const multiSelectRowIndicatorStructure = createThemedVariants(theme => ({
|
|
186
|
+
base: {
|
|
187
|
+
alignItems: "center",
|
|
188
|
+
justifyContent: "center",
|
|
189
|
+
width: MULTI_SELECT_ROW_INDICATOR_SIZE,
|
|
190
|
+
height: MULTI_SELECT_ROW_INDICATOR_SIZE,
|
|
191
|
+
borderRadius: theme.radii.sm,
|
|
192
|
+
borderWidth: theme.borderWidths.thick
|
|
193
|
+
}
|
|
194
|
+
}));
|
|
195
|
+
//# sourceMappingURL=MultiSelect.variants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createThemedVariants","MIN_TOUCH_TARGET","slopFor","dimension","Math","max","ceil","MULTI_SELECT_SIZES","sm","height","fontSize","iconSize","hitSlop","md","lg","MULTI_SELECT_ROW_MIN_HEIGHT","MULTI_SELECT_ROW_INDICATOR_SIZE","MULTI_SELECT_ROW_ICON_SIZE","MULTI_SELECT_CLOSE_BUTTON_SIZE","MULTI_SELECT_CLOSE_ICON_SIZE","MULTI_SELECT_CLOSE_BUTTON_HIT_SLOP","resolveMultiSelectTriggerColors","colors","focused","background","bg","surface","border","focus","interactive","text","fg","default","placeholder","muted","icon","resolveMultiSelectRowColors","indicatorBorder","indicatorFill","accent","solid","indicatorIcon","onSolid","resolveMultiSelectAccessibility","input","disabled","accessibilityRole","accessibilityState","expanded","open","multiSelectTriggerStructure","theme","base","flexDirection","alignItems","justifyContent","columnGap","space","borderRadius","radii","borderWidth","borderWidths","thin","variants","size","paddingHorizontal","defaultVariants","multiSelectOverlayStructure","flex","multiSelectSheetStructure","paddingBottom","maxHeight","elevation","multiSelectHeaderStructure","paddingTop","multiSelectCloseButtonStructure","width","multiSelectRowStructure","minHeight","multiSelectRowIndicatorStructure","thick"],"sourceRoot":"../../../../src","sources":["modules/multi-select/MultiSelect.variants.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,oBAAoB,QAAQ,2BAAkB;AAIvD;AACA,OAAO,MAAMC,gBAAgB,GAAG,EAAE;AAElC,MAAMC,OAAO,GAAIC,SAAiB,IAChCC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,IAAI,CAAC,CAACL,gBAAgB,GAAGE,SAAS,IAAI,CAAC,CAAC,CAAC;AAa5D,OAAO,MAAMI,kBAAkB,GAAG;EAChCC,EAAE,EAAE;IAAEC,MAAM,EAAE,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,OAAO,EAAEV,OAAO,CAAC,EAAE;EAAE,CAAC;EACpEW,EAAE,EAAE;IAAEJ,MAAM,EAAE,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,OAAO,EAAEV,OAAO,CAAC,EAAE;EAAE,CAAC;EACpEY,EAAE,EAAE;IAAEL,MAAM,EAAE,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,OAAO,EAAEV,OAAO,CAAC,EA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AC,CAAC,CAAC;;AAEH;AACA;AACA,OAAO,MAAMsB,gCAAgC,GAAG/E,oBAAoB,CAAEmD,KAAY,KAAM;EACtFC,IAAI,EAAE;IACJE,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBqB,KAAK,EAAE5D,+BAA+B;IACtCP,MAAM,EAAEO,+BAA+B;IACvC0C,YAAY,EAAEP,KAAK,CAACQ,KAAK,CAACnD,EAAE;IAC5BoD,WAAW,EAAET,KAAK,CAACU,YAAY,CAACmB;EAClC;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Public surface of `pixelize-native-library/multi-select`. Value exports and type exports are split for
|
|
5
|
+
* `verbatimModuleSyntax`. The resolvers (`resolveMultiSelectTriggerColors`, `MULTI_SELECT_SIZES`, …)
|
|
6
|
+
* stay internal — a consumer configures a MultiSelect through its props, never by importing its
|
|
7
|
+
* internals.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export { MultiSelect } from "./MultiSelect.js";
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MultiSelect"],"sourceRoot":"../../../../src","sources":["modules/multi-select/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,WAAW,QAAQ,kBAAe","ignoreList":[]}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# number-input/ — a numeric field with +/- steppers
|
|
2
|
+
|
|
3
|
+
`NumberInput` follows Input's reference pattern (structure vs colour split, pure/testable resolvers,
|
|
4
|
+
closed unions, no `{...rest}`) but is a standalone sibling, not an Input wrapper — a stepper needs
|
|
5
|
+
TWO trailing controls, which doesn't fit Input's single leading/trailing icon slots.
|
|
6
|
+
|
|
7
|
+
## Files
|
|
8
|
+
|
|
9
|
+
| File | Role |
|
|
10
|
+
|------|------|
|
|
11
|
+
| `NumberInput.tsx` | The component. Composition, draft/clamp wiring, a11y, focus ring, stepper buttons. |
|
|
12
|
+
| `NumberInput.variants.ts` | Pure resolvers (`NUMBER_INPUT_SIZES`, `resolveNumberInputStatus`, `resolveNumberInputStepperPressColors`, `resolveNumberInputAccessibility`, `clampNumberInputValue`, `parseNumberInputDraft`, `canDecrementNumberInput`, `canIncrementNumberInput`) + the themed structural resolvers `numberInputStructure` / `numberInputStepperStructure`. No React, no lucide. |
|
|
13
|
+
| `index.ts` | Public surface: `NumberInput`, `NumberInputProps`, the closed unions. No `icon` prop, so `IconName` is not re-exported. |
|
|
14
|
+
| `__tests__/NumberInput.test.ts` | Pure: WCAG contrast (all brands × modes, incl. the stepper pressed-fill) + touch target + clamp/parse/limit + a11y contract. |
|
|
15
|
+
| `__tests__/NumberInput.render.test.tsx` | Render: stepper press, typed input, clamping, disabled/at-limit, the field's and each stepper's own focus ring. |
|
|
16
|
+
|
|
17
|
+
## Props
|
|
18
|
+
|
|
19
|
+
| Prop | Type | Default | Notes |
|
|
20
|
+
|------|------|---------|-------|
|
|
21
|
+
| `value` | `number` | — | Required — controlled. |
|
|
22
|
+
| `onValueChange` | `(value: number) => void` | — | Required. Called with the already-clamped value. |
|
|
23
|
+
| `min` / `max` | `number` | — | Either bound may be absent (no floor / no ceiling). |
|
|
24
|
+
| `step` | `number` | `1` | Amount the steppers add/subtract. Typed input is clamped to `[min, max]` but never snapped to `step`. |
|
|
25
|
+
| `size` | `sm \| md \| lg` | `md` | 32 / 40 / 48 dp; short sizes reach 44 via `hitSlop`. |
|
|
26
|
+
| `status` | `default \| error` | `default` | Closed union — a **state**, not a brand `tone` (same reasoning as Input). |
|
|
27
|
+
| `disabled` | `boolean` | `false` | Dims the field; blocks editing and both steppers. |
|
|
28
|
+
| `label` | `string` | — | Rendered above the field; falls back into `accessibilityLabel`. |
|
|
29
|
+
| `accessibilityLabel` | `string` | `label` | Overrides the label fallback. |
|
|
30
|
+
| `containerStyle` | `LayoutStyle` | — | The documented exception for a native-primitive wrapper. Outermost, last, once. Never `inputStyle`. |
|
|
31
|
+
| `testID` | `string` | — | Forwarded to the `TextInput`; the steppers get `${testID}-decrement` / `${testID}-increment`. |
|
|
32
|
+
|
|
33
|
+
Decrement/increment are `Pressable`s using the existing `"minus"` / `"plus"` icons — fixed, not a
|
|
34
|
+
prop, so there is no `icon` prop on this component.
|
|
35
|
+
|
|
36
|
+
## Clamping choice (documented, not left implicit)
|
|
37
|
+
|
|
38
|
+
Every keystroke that parses to a finite number calls `onValueChange` with the value **already
|
|
39
|
+
clamped** to `[min, max]` immediately (`parseNumberInputDraft` → `clampNumberInputValue`) — the
|
|
40
|
+
caller's `value` is never driven out of range mid-typing. Partial/invalid drafts ("", `"-"`, a bare
|
|
41
|
+
`"."`) do **not** call `onValueChange` at all, so the field doesn't clamp a `NaN`; instead, on
|
|
42
|
+
**blur** the visible draft resyncs to `String(value)` (the last committed, already-clamped value),
|
|
43
|
+
discarding whatever unparsable text was left on screen. `step` only affects the two stepper buttons —
|
|
44
|
+
typed values are clamped to range but never snapped to a `step` grid.
|
|
45
|
+
|
|
46
|
+
## Accessibility contract (WCAG)
|
|
47
|
+
|
|
48
|
+
- **2.5.5 / 2.5.8 target size** — every size reaches ≥ 44 dp via `hitSlop`, on the `TextInput` and on
|
|
49
|
+
both stepper `Pressable`s. This only holds because every one of the three carries
|
|
50
|
+
`alignSelf: "stretch"` inside the row (`alignItems: "center"` would otherwise shrink each to its
|
|
51
|
+
intrinsic content height) — the same fix Input's `TextInput` needed, carried forward from the
|
|
52
|
+
start here (see `NumberInput.render.test.tsx`, which asserts the rendered node, not just the
|
|
53
|
+
`height + 2·hitSlop` arithmetic).
|
|
54
|
+
- **1.4.3** — value text and stepper icon colour (`fg.default`) are measured ≥ 4.5:1 against the
|
|
55
|
+
canvas at rest, for all 8 brands × both modes.
|
|
56
|
+
- **1.4.11** — the resting/focus border (`border.interactive` / `border.focus`) and the error border
|
|
57
|
+
clear 3:1 against the canvas, for all 8 brands × both modes. The error border reads
|
|
58
|
+
`status.danger.solid`, not the sub-3:1 `status.danger.border` chip outline (same reasoning as
|
|
59
|
+
Input's `resolveInputStatus`). The stepper **pressed fill** is measured the same way, separately
|
|
60
|
+
(see the next bullet) — it is NOT `bg.sunken`: a stepper carries no background at rest, so the
|
|
61
|
+
fill's only edge is against the canvas, and `bg.sunken` measured only ~1.0–1.12:1 there (a
|
|
62
|
+
confirmed defect in an earlier version, fixed by the pressed-fill recipe below).
|
|
63
|
+
- **1.4.11 pressed fill** — touching a stepper (RN `Pressable`'s `pressed` state, not focus) fills it
|
|
64
|
+
with `fg.default` and inverts the glyph to `bg.canvas` — `resolveNumberInputStepperPressColors` in
|
|
65
|
+
`NumberInput.variants.ts`, the same "neutral" solid recipe `Button`'s `tone="neutral"` variant
|
|
66
|
+
already uses (`fill: fg.default`, `onFill: bg.canvas`). Reusing it means no new colour was invented:
|
|
67
|
+
`fg.default` is already proven ≥ 4.5:1 against `bg.canvas` by the 1.4.3 test above, and contrast is
|
|
68
|
+
symmetric, so the fill clears the 3:1 non-text minimum AND the inverted glyph clears 4.5:1 text
|
|
69
|
+
contrast on it, for free, on every brand × mode — measured directly by its own `it.each` in
|
|
70
|
+
`NumberInput.test.ts` (not assumed safe by borrowing another component's test).
|
|
71
|
+
- **2.4.7 / 2.4.11 focus** — a visible focus ring (`border.focus`, offset a small gap outside the
|
|
72
|
+
control, same geometry/token as Button/Input/Checkbox) appears independently on: the `TextInput`
|
|
73
|
+
(whole-row ring), the decrement `Pressable`, and the increment `Pressable` (each stepper gets its
|
|
74
|
+
own ring, rounded only on its outer corner via `stepperFocusRingStyle`). Keyboard/AT focus on a
|
|
75
|
+
stepper no longer relies on a background tint — the ring is the sole focus indicator, exactly the
|
|
76
|
+
pattern Button/Input/Checkbox use.
|
|
77
|
+
- **Web** — RNW renders the `TextInput` as a real `<input>`, so `styles.webOutlineReset` (`outlineWidth:
|
|
78
|
+
0`, applied only when `Platform.OS === "web"`, matching Input/Textarea) suppresses the browser's own
|
|
79
|
+
default focus outline on the field, which would otherwise double up visibly with the themed ring
|
|
80
|
+
above. Scoped to the `TextInput` only — the stepper `Pressable`s aren't part of this fix.
|
|
81
|
+
- Decrement/increment each carry `accessibilityRole="button"` and their own
|
|
82
|
+
`accessibilityLabel` ("Decrease" / "Increase") plus `accessibilityState.disabled`, so a screen
|
|
83
|
+
reader announces the control and its at-limit state even though it shows no visible text.
|
|
84
|
+
- A disabled field is exempt from the contrast minimum (WCAG 1.4.3) and dims via `opacity: 0.5`, same
|
|
85
|
+
as Input/Button. An at-limit stepper (value already at `min`/`max`) dims the same way *without*
|
|
86
|
+
double-dimming when the whole field is also `disabled` (the outer dim already covers that case).
|
|
87
|
+
|
|
88
|
+
## Patterns copied from Input / Button
|
|
89
|
+
|
|
90
|
+
1. **Structure vs colour split** — `numberInputStructure` / `numberInputStepperStructure` (via
|
|
91
|
+
`createThemedVariants`) hold only layout numbers (height, width, border *width*, corner radii);
|
|
92
|
+
colour is resolved by `resolveNumberInputStatus` and applied inline.
|
|
93
|
+
2. **Pure, testable resolvers** in `NumberInput.variants.ts` (no React/lucide) — the WCAG + behaviour
|
|
94
|
+
contract, and the clamp/parse/limit logic, are unit-tested directly.
|
|
95
|
+
3. **Closed unions only** (`size` / `status`), `containerStyle: LayoutStyle` last and once, no
|
|
96
|
+
`{...rest}`.
|
|
97
|
+
4. **Offset focus ring** — identical geometry/token to Input's (`border.focus`, 2dp gap + 2dp width),
|
|
98
|
+
drawn once for the field and once per stepper (`stepperFocusRingStyle`, corner-matched to
|
|
99
|
+
`numberInputStepperStructure`'s leading/trailing radius split).
|
|
100
|
+
|
|
101
|
+
## Known gaps
|
|
102
|
+
|
|
103
|
+
- Typed values are not snapped to `step` (documented above as a deliberate choice, not a gap) —
|
|
104
|
+
flag if a consumer needs strict step-alignment on typed input in a future version.
|
|
105
|
+
|
|
106
|
+
## Performance
|
|
107
|
+
|
|
108
|
+
Wrapped in `React.memo` (repo-wide re-render audit, 2026-07-17 — see root `CLAUDE.md`). Same shape as `MultiSelect`: `Icon` gets only primitive props, no `.map()` list, every handler goes to host `Pressable`/`TextInput` — nothing to memoize.
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* NumberInput — a numeric field with +/- steppers. It mirrors Input's border/focus-ring/status/
|
|
5
|
+
* touch-target conventions closely but is deliberately NOT built as an Input wrapper: a stepper needs
|
|
6
|
+
* TWO trailing controls, which doesn't fit Input's single leading/trailing icon slots — this is a
|
|
7
|
+
* standalone sibling built the same way, not a wrapper.
|
|
8
|
+
*
|
|
9
|
+
* Clamping choice (documented, not left implicit): every keystroke that parses to a finite number
|
|
10
|
+
* calls `onValueChange` with the value already clamped to [min, max] — the caller's `value` is never
|
|
11
|
+
* driven out of range mid-typing. Blur additionally resyncs the visible draft to the committed
|
|
12
|
+
* `value`, discarding anything that never parsed (a lone "-", an empty field) instead of leaving
|
|
13
|
+
* invalid text on screen.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { memo, useEffect, useState } from "react";
|
|
17
|
+
import { Platform, Pressable, StyleSheet, Text, TextInput, View } from "react-native";
|
|
18
|
+
import { Icon } from "../../core/icon/index.js";
|
|
19
|
+
import { useTheme } from "../../theme/index.js";
|
|
20
|
+
import { canDecrementNumberInput, canIncrementNumberInput, clampNumberInputValue, NUMBER_INPUT_SIZES, numberInputStepperStructure, numberInputStructure, parseNumberInputDraft, resolveNumberInputAccessibility, resolveNumberInputStatus, resolveNumberInputStepperPressColors } from "./NumberInput.variants.js";
|
|
21
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
|
+
const ICON_STROKE = 2;
|
|
23
|
+
const FOCUS_RING_WIDTH = 2;
|
|
24
|
+
const FOCUS_RING_GAP = 2;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Same offset-ring geometry/token as the field's own ring (and Button/Input/Checkbox), but rounded
|
|
28
|
+
* only on the stepper's OUTER corner — matching `numberInputStepperStructure`'s own leading/trailing
|
|
29
|
+
* radius split — so the ring doesn't square off past the row's rounded corner.
|
|
30
|
+
*/
|
|
31
|
+
function stepperFocusRingStyle(theme, position) {
|
|
32
|
+
const radius = theme.radii.base + FOCUS_RING_GAP + FOCUS_RING_WIDTH;
|
|
33
|
+
return {
|
|
34
|
+
position: "absolute",
|
|
35
|
+
top: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
36
|
+
left: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
37
|
+
right: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
38
|
+
bottom: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
39
|
+
borderWidth: FOCUS_RING_WIDTH,
|
|
40
|
+
borderColor: theme.colors.border.focus,
|
|
41
|
+
...(position === "leading" ? {
|
|
42
|
+
borderTopLeftRadius: radius,
|
|
43
|
+
borderBottomLeftRadius: radius
|
|
44
|
+
} : {
|
|
45
|
+
borderTopRightRadius: radius,
|
|
46
|
+
borderBottomRightRadius: radius
|
|
47
|
+
})
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export const NumberInput = /*#__PURE__*/memo(function NumberInput(props) {
|
|
51
|
+
const {
|
|
52
|
+
value,
|
|
53
|
+
onValueChange,
|
|
54
|
+
min,
|
|
55
|
+
max,
|
|
56
|
+
step = 1,
|
|
57
|
+
size = "md",
|
|
58
|
+
status = "default",
|
|
59
|
+
disabled = false,
|
|
60
|
+
label,
|
|
61
|
+
accessibilityLabel,
|
|
62
|
+
containerStyle,
|
|
63
|
+
testID
|
|
64
|
+
} = props;
|
|
65
|
+
const theme = useTheme();
|
|
66
|
+
const [draft, setDraft] = useState(String(value));
|
|
67
|
+
const [focused, setFocused] = useState(false);
|
|
68
|
+
const [decrementFocused, setDecrementFocused] = useState(false);
|
|
69
|
+
const [incrementFocused, setIncrementFocused] = useState(false);
|
|
70
|
+
|
|
71
|
+
// External value changes (steppers, or the caller) resync the draft — but never while the user is
|
|
72
|
+
// mid-typing, or a re-render would stomp the keystroke they haven't finished yet.
|
|
73
|
+
useEffect(() => {
|
|
74
|
+
if (!focused) setDraft(String(value));
|
|
75
|
+
}, [value, focused]);
|
|
76
|
+
const spec = NUMBER_INPUT_SIZES[size];
|
|
77
|
+
const statusColors = resolveNumberInputStatus(theme.colors, status);
|
|
78
|
+
const pressColors = resolveNumberInputStepperPressColors(theme.colors);
|
|
79
|
+
const a11y = resolveNumberInputAccessibility({
|
|
80
|
+
label,
|
|
81
|
+
accessibilityLabel,
|
|
82
|
+
disabled
|
|
83
|
+
});
|
|
84
|
+
const decrementEnabled = canDecrementNumberInput({
|
|
85
|
+
value,
|
|
86
|
+
min,
|
|
87
|
+
disabled
|
|
88
|
+
});
|
|
89
|
+
const incrementEnabled = canIncrementNumberInput({
|
|
90
|
+
value,
|
|
91
|
+
max,
|
|
92
|
+
disabled
|
|
93
|
+
});
|
|
94
|
+
const handleChangeText = raw => {
|
|
95
|
+
setDraft(raw);
|
|
96
|
+
const parsed = parseNumberInputDraft(raw);
|
|
97
|
+
if (parsed !== null) onValueChange(clampNumberInputValue(parsed, min, max));
|
|
98
|
+
};
|
|
99
|
+
const handleFocus = () => setFocused(true);
|
|
100
|
+
const handleBlur = () => {
|
|
101
|
+
setFocused(false);
|
|
102
|
+
setDraft(String(clampNumberInputValue(value, min, max)));
|
|
103
|
+
};
|
|
104
|
+
const handleDecrement = () => {
|
|
105
|
+
if (!decrementEnabled) return;
|
|
106
|
+
onValueChange(clampNumberInputValue(value - step, min, max));
|
|
107
|
+
};
|
|
108
|
+
const handleIncrement = () => {
|
|
109
|
+
if (!incrementEnabled) return;
|
|
110
|
+
onValueChange(clampNumberInputValue(value + step, min, max));
|
|
111
|
+
};
|
|
112
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
113
|
+
style: containerStyle,
|
|
114
|
+
children: [label !== undefined &&
|
|
115
|
+
/*#__PURE__*/
|
|
116
|
+
// Decorative — the real accessible name lives on the TextInput below, so this isn't a
|
|
117
|
+
// second element a screen reader would announce redundantly right after it.
|
|
118
|
+
_jsx(Text, {
|
|
119
|
+
accessibilityElementsHidden: true,
|
|
120
|
+
importantForAccessibility: "no-hide-descendants",
|
|
121
|
+
style: [theme.fontStyleForWeight(theme.fontWeights.medium), {
|
|
122
|
+
fontSize: theme.fontSizes.sm,
|
|
123
|
+
color: theme.colors.fg.default,
|
|
124
|
+
marginBottom: theme.space[1]
|
|
125
|
+
}],
|
|
126
|
+
children: label
|
|
127
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
128
|
+
style: [numberInputStructure(theme, {
|
|
129
|
+
size
|
|
130
|
+
}), {
|
|
131
|
+
borderColor: statusColors.border
|
|
132
|
+
}, disabled && styles.dimmed],
|
|
133
|
+
children: [focused && !disabled && /*#__PURE__*/_jsx(View, {
|
|
134
|
+
pointerEvents: "none",
|
|
135
|
+
testID: "number-input-focus-ring",
|
|
136
|
+
style: {
|
|
137
|
+
position: "absolute",
|
|
138
|
+
top: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
139
|
+
left: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
140
|
+
right: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
141
|
+
bottom: -(FOCUS_RING_GAP + FOCUS_RING_WIDTH),
|
|
142
|
+
borderWidth: FOCUS_RING_WIDTH,
|
|
143
|
+
borderColor: theme.colors.border.focus,
|
|
144
|
+
borderRadius: theme.radii.base + FOCUS_RING_GAP + FOCUS_RING_WIDTH
|
|
145
|
+
}
|
|
146
|
+
}), /*#__PURE__*/_jsx(Pressable, {
|
|
147
|
+
testID: testID ? `${testID}-decrement` : undefined,
|
|
148
|
+
accessibilityRole: "button",
|
|
149
|
+
accessibilityLabel: "Decrease",
|
|
150
|
+
accessibilityState: {
|
|
151
|
+
disabled: !decrementEnabled
|
|
152
|
+
},
|
|
153
|
+
disabled: !decrementEnabled,
|
|
154
|
+
onPress: handleDecrement,
|
|
155
|
+
onFocus: () => setDecrementFocused(true),
|
|
156
|
+
onBlur: () => setDecrementFocused(false),
|
|
157
|
+
hitSlop: spec.hitSlop,
|
|
158
|
+
style: ({
|
|
159
|
+
pressed
|
|
160
|
+
}) => [numberInputStepperStructure(theme, {
|
|
161
|
+
size,
|
|
162
|
+
position: "leading"
|
|
163
|
+
}), {
|
|
164
|
+
borderColor: statusColors.border
|
|
165
|
+
}, pressed && decrementEnabled && {
|
|
166
|
+
backgroundColor: pressColors.fill
|
|
167
|
+
}, !disabled && !decrementEnabled && styles.dimmed],
|
|
168
|
+
children: ({
|
|
169
|
+
pressed
|
|
170
|
+
}) => /*#__PURE__*/_jsxs(_Fragment, {
|
|
171
|
+
children: [decrementFocused && decrementEnabled && /*#__PURE__*/_jsx(View, {
|
|
172
|
+
pointerEvents: "none",
|
|
173
|
+
testID: "number-input-decrement-focus-ring",
|
|
174
|
+
style: stepperFocusRingStyle(theme, "leading")
|
|
175
|
+
}), /*#__PURE__*/_jsx(Icon, {
|
|
176
|
+
name: "minus",
|
|
177
|
+
size: spec.iconSize,
|
|
178
|
+
color: pressed && decrementEnabled ? pressColors.icon : theme.colors.fg.default,
|
|
179
|
+
strokeWidth: ICON_STROKE
|
|
180
|
+
})]
|
|
181
|
+
})
|
|
182
|
+
}), /*#__PURE__*/_jsx(TextInput, {
|
|
183
|
+
testID: testID,
|
|
184
|
+
value: draft,
|
|
185
|
+
onChangeText: handleChangeText,
|
|
186
|
+
keyboardType: "numeric",
|
|
187
|
+
editable: a11y.editable,
|
|
188
|
+
accessibilityLabel: a11y.accessibilityLabel,
|
|
189
|
+
accessibilityState: a11y.accessibilityState,
|
|
190
|
+
hitSlop: spec.hitSlop,
|
|
191
|
+
onFocus: handleFocus,
|
|
192
|
+
onBlur: handleBlur,
|
|
193
|
+
style: [{
|
|
194
|
+
flex: 1,
|
|
195
|
+
alignSelf: "stretch",
|
|
196
|
+
textAlign: "center",
|
|
197
|
+
paddingHorizontal: theme.space[2],
|
|
198
|
+
fontSize: spec.fontSize,
|
|
199
|
+
color: theme.colors.fg.default
|
|
200
|
+
}, theme.fontStyleForWeight(theme.fontWeights.regular), Platform.OS === "web" && styles.webOutlineReset]
|
|
201
|
+
}), /*#__PURE__*/_jsx(Pressable, {
|
|
202
|
+
testID: testID ? `${testID}-increment` : undefined,
|
|
203
|
+
accessibilityRole: "button",
|
|
204
|
+
accessibilityLabel: "Increase",
|
|
205
|
+
accessibilityState: {
|
|
206
|
+
disabled: !incrementEnabled
|
|
207
|
+
},
|
|
208
|
+
disabled: !incrementEnabled,
|
|
209
|
+
onPress: handleIncrement,
|
|
210
|
+
onFocus: () => setIncrementFocused(true),
|
|
211
|
+
onBlur: () => setIncrementFocused(false),
|
|
212
|
+
hitSlop: spec.hitSlop,
|
|
213
|
+
style: ({
|
|
214
|
+
pressed
|
|
215
|
+
}) => [numberInputStepperStructure(theme, {
|
|
216
|
+
size,
|
|
217
|
+
position: "trailing"
|
|
218
|
+
}), {
|
|
219
|
+
borderColor: statusColors.border
|
|
220
|
+
}, pressed && incrementEnabled && {
|
|
221
|
+
backgroundColor: pressColors.fill
|
|
222
|
+
}, !disabled && !incrementEnabled && styles.dimmed],
|
|
223
|
+
children: ({
|
|
224
|
+
pressed
|
|
225
|
+
}) => /*#__PURE__*/_jsxs(_Fragment, {
|
|
226
|
+
children: [incrementFocused && incrementEnabled && /*#__PURE__*/_jsx(View, {
|
|
227
|
+
pointerEvents: "none",
|
|
228
|
+
testID: "number-input-increment-focus-ring",
|
|
229
|
+
style: stepperFocusRingStyle(theme, "trailing")
|
|
230
|
+
}), /*#__PURE__*/_jsx(Icon, {
|
|
231
|
+
name: "plus",
|
|
232
|
+
size: spec.iconSize,
|
|
233
|
+
color: pressed && incrementEnabled ? pressColors.icon : theme.colors.fg.default,
|
|
234
|
+
strokeWidth: ICON_STROKE
|
|
235
|
+
})]
|
|
236
|
+
})
|
|
237
|
+
})]
|
|
238
|
+
})]
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
const styles = StyleSheet.create({
|
|
242
|
+
// A disabled control is exempt from the contrast minimum (WCAG 1.4.3), so a uniform dim is correct.
|
|
243
|
+
dimmed: {
|
|
244
|
+
opacity: 0.5
|
|
245
|
+
},
|
|
246
|
+
// RNW renders `TextInput` as a real `<input>`, which paints the browser's own default focus
|
|
247
|
+
// outline on top of the themed ring above it — a visible double border. Web-only: `outlineWidth`
|
|
248
|
+
// also drives native TV remote-control focus, so zeroing it globally would break that.
|
|
249
|
+
webOutlineReset: {
|
|
250
|
+
outlineWidth: 0
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
//# sourceMappingURL=NumberInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["memo","useEffect","useState","Platform","Pressable","StyleSheet","Text","TextInput","View","Icon","useTheme","canDecrementNumberInput","canIncrementNumberInput","clampNumberInputValue","NUMBER_INPUT_SIZES","numberInputStepperStructure","numberInputStructure","parseNumberInputDraft","resolveNumberInputAccessibility","resolveNumberInputStatus","resolveNumberInputStepperPressColors","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ICON_STROKE","FOCUS_RING_WIDTH","FOCUS_RING_GAP","stepperFocusRingStyle","theme","position","radius","radii","base","top","left","right","bottom","borderWidth","borderColor","colors","border","focus","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","NumberInput","props","value","onValueChange","min","max","step","size","status","disabled","label","accessibilityLabel","containerStyle","testID","draft","setDraft","String","focused","setFocused","decrementFocused","setDecrementFocused","incrementFocused","setIncrementFocused","spec","statusColors","pressColors","a11y","decrementEnabled","incrementEnabled","handleChangeText","raw","parsed","handleFocus","handleBlur","handleDecrement","handleIncrement","style","children","undefined","accessibilityElementsHidden","importantForAccessibility","fontStyleForWeight","fontWeights","medium","fontSize","fontSizes","sm","color","fg","default","marginBottom","space","styles","dimmed","pointerEvents","borderRadius","accessibilityRole","accessibilityState","onPress","onFocus","onBlur","hitSlop","pressed","backgroundColor","fill","name","iconSize","icon","strokeWidth","onChangeText","keyboardType","editable","flex","alignSelf","textAlign","paddingHorizontal","regular","OS","webOutlineReset","create","opacity","outlineWidth"],"sourceRoot":"../../../../src","sources":["modules/number-input/NumberInput.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,IAAI,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AACjD,SAASC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,EAAEC,IAAI,EAAEC,SAAS,EAAEC,IAAI,QAAQ,cAAc;AAErF,SAASC,IAAI,QAAQ,0BAAiB;AAGtC,SAASC,QAAQ,QAAQ,sBAAa;AAEtC,SACEC,uBAAuB,EACvBC,uBAAuB,EACvBC,qBAAqB,EACrBC,kBAAkB,EAClBC,2BAA2B,EAC3BC,oBAAoB,EACpBC,qBAAqB,EACrBC,+BAA+B,EAC/BC,wBAAwB,EACxBC,oCAAoC,QAC/B,2BAAwB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAsBhC,MAAMC,WAAW,GAAG,CAAC;AACrB,MAAMC,gBAAgB,GAAG,CAAC;AAC1B,MAAMC,cAAc,GAAG,CAAC;;AAExB;AACA;AACA;AACA;AACA;AACA,SAASC,qBAAqBA,CAACC,KAAY,EAAEC,QAAgC,EAAE;EAC7E,MAAMC,MAAM,GAAGF,KAAK,CAACG,KAAK,CAACC,IAAI,GAAGN,cAAc,GAAGD,gBAAgB;EACnE,OAAO;IACLI,QAAQ,EAAE,UAAmB;IAC7BI,GAAG,EAAE,EAAEP,cAAc,GAAGD,gBAAgB,CAAC;IACzCS,IAAI,EAAE,EAAER,cAAc,GAAGD,gBAAgB,CAAC;IAC1CU,KAAK,EAAE,EAAET,cAAc,G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