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,142 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RadioGroup's style + behaviour resolution — pure, React/lucide-free, same split as Button:
|
|
3
|
+
* - STRUCTURE (rowGap, row/ring/dot sizing, border WIDTH) lives in `createThemedVariants` /
|
|
4
|
+
* `createVariants` below, registered once per (theme, size) — never rebuilt per render.
|
|
5
|
+
* - COLOUR is resolved from the theme's ROLE colours (`resolveRadioGroupColors`), never a raw hex:
|
|
6
|
+
* the outer ring is always `border.interactive`, the selected dot is always `accent.solid`.
|
|
7
|
+
* - `resolveRadioRowAccessibility` derives the per-row a11y surface purely, so the
|
|
8
|
+
* "selected"/"disabled" contract is unit-testable without rendering React Native.
|
|
9
|
+
*/
|
|
10
|
+
import type { RoleColors, Theme } from "../../theme";
|
|
11
|
+
export type RadioGroupSize = "sm" | "md";
|
|
12
|
+
/** Same floor as Button — Apple HIG minimum and WCAG 2.5.5 (AAA). */
|
|
13
|
+
export declare const MIN_TOUCH_TARGET = 44;
|
|
14
|
+
export interface RadioGroupSizeSpec {
|
|
15
|
+
/** Visual row height in dp. */
|
|
16
|
+
readonly rowMinHeight: number;
|
|
17
|
+
/** Outer ring diameter in dp. */
|
|
18
|
+
readonly ringSize: number;
|
|
19
|
+
/** Inner selected-dot diameter in dp. */
|
|
20
|
+
readonly dotSize: number;
|
|
21
|
+
/** Label size, on the theme's `fontSizes` scale. */
|
|
22
|
+
readonly fontSize: number;
|
|
23
|
+
/** Symmetric touch expansion so `rowMinHeight + 2·hitSlop ≥ 44`. */
|
|
24
|
+
readonly hitSlop: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* RadioGroup-specific dimensions. Kept a plain constant — no theme dependency — so the hit-target
|
|
28
|
+
* test can assert `rowMinHeight + 2·hitSlop ≥ 44` without a provider, same as `BUTTON_SIZES`.
|
|
29
|
+
*/
|
|
30
|
+
export declare const RADIO_GROUP_SIZES: {
|
|
31
|
+
readonly sm: {
|
|
32
|
+
readonly rowMinHeight: 36;
|
|
33
|
+
readonly ringSize: 18;
|
|
34
|
+
readonly dotSize: 8;
|
|
35
|
+
readonly fontSize: 14;
|
|
36
|
+
readonly hitSlop: number;
|
|
37
|
+
};
|
|
38
|
+
readonly md: {
|
|
39
|
+
readonly rowMinHeight: 44;
|
|
40
|
+
readonly ringSize: 20;
|
|
41
|
+
readonly dotSize: 10;
|
|
42
|
+
readonly fontSize: 16;
|
|
43
|
+
readonly hitSlop: number;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface RadioGroupColors {
|
|
47
|
+
/** Outer ring boundary — every row, selected or not (WCAG 1.4.11 ≥ 3:1 on every brand). */
|
|
48
|
+
readonly ring: string;
|
|
49
|
+
/** Inner filled dot, rendered only when the row is selected. */
|
|
50
|
+
readonly dot: string;
|
|
51
|
+
/** Option label, read on the canvas. */
|
|
52
|
+
readonly label: string;
|
|
53
|
+
/** Row background while pressed (never applied when disabled). */
|
|
54
|
+
readonly pressedRow: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Maps the theme's role colours onto the group's fixed visual roles. There is no per-row tone —
|
|
58
|
+
* every ring is the same neutral interactive outline, and the selected dot is always the accent —
|
|
59
|
+
* so, unlike Button, this has no closed union to resolve; it is pure indirection into the roles.
|
|
60
|
+
*/
|
|
61
|
+
export declare function resolveRadioGroupColors(colors: RoleColors): RadioGroupColors;
|
|
62
|
+
export interface RadioRowAccessibilityInput {
|
|
63
|
+
readonly selected: boolean;
|
|
64
|
+
readonly disabled: boolean;
|
|
65
|
+
}
|
|
66
|
+
export interface RadioRowAccessibilityProps {
|
|
67
|
+
readonly accessibilityRole: "radio";
|
|
68
|
+
readonly accessibilityState: {
|
|
69
|
+
readonly checked: boolean;
|
|
70
|
+
readonly disabled: boolean;
|
|
71
|
+
};
|
|
72
|
+
/** The `Pressable` disabled prop — blocks touches without relying on `onPress` gating alone. */
|
|
73
|
+
readonly disabled: boolean;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Derives one row's accessibility surface purely, mirroring `resolveButtonAccessibility`. Reports
|
|
77
|
+
* `accessibilityState.checked` — not `.selected` (that key is for role="tab"/"option"; a radio's
|
|
78
|
+
* checked state is `checked`, same as this repo's Checkbox/Switch) — so the rendered `disabled`
|
|
79
|
+
* prop and the announced `accessibilityState.disabled` always agree, so a screen reader never
|
|
80
|
+
* hears a state the touch handling contradicts.
|
|
81
|
+
*/
|
|
82
|
+
export declare function resolveRadioRowAccessibility(input: RadioRowAccessibilityInput): RadioRowAccessibilityProps;
|
|
83
|
+
/** Gap between rows. Structural, theme-scaled, registered once per (theme, size). */
|
|
84
|
+
export declare const radioGroupStructure: import("../../core/style").ThemedVariantResolver<Theme, {
|
|
85
|
+
size: {
|
|
86
|
+
sm: {
|
|
87
|
+
rowGap: 4;
|
|
88
|
+
};
|
|
89
|
+
md: {
|
|
90
|
+
rowGap: 8;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}, import("react-native").ViewStyle>;
|
|
94
|
+
/**
|
|
95
|
+
* One row's layout — height, gap to the label, inset padding, and the corner radius the pressed
|
|
96
|
+
* background rounds to. Colour (the pressed fill) is resolved and applied inline over this.
|
|
97
|
+
*/
|
|
98
|
+
export declare const radioRowStructure: import("../../core/style").ThemedVariantResolver<Theme, {
|
|
99
|
+
size: {
|
|
100
|
+
sm: {
|
|
101
|
+
minHeight: 36;
|
|
102
|
+
columnGap: 8;
|
|
103
|
+
paddingHorizontal: 8;
|
|
104
|
+
};
|
|
105
|
+
md: {
|
|
106
|
+
minHeight: 44;
|
|
107
|
+
columnGap: 12;
|
|
108
|
+
paddingHorizontal: 8;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, import("react-native").ViewStyle>;
|
|
112
|
+
/** The outer ring. Border WIDTH is theme-scaled; the diameter is the component's own constant. */
|
|
113
|
+
export declare const radioRingStructure: import("../../core/style").ThemedVariantResolver<Theme, {
|
|
114
|
+
size: {
|
|
115
|
+
sm: {
|
|
116
|
+
width: 18;
|
|
117
|
+
height: 18;
|
|
118
|
+
borderRadius: number;
|
|
119
|
+
};
|
|
120
|
+
md: {
|
|
121
|
+
width: 20;
|
|
122
|
+
height: 20;
|
|
123
|
+
borderRadius: number;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}, import("react-native").ViewStyle>;
|
|
127
|
+
/** The inner selected dot. No theme dependency at all, so it uses the untethemed resolver. */
|
|
128
|
+
export declare const radioDotStructure: import("../../core/style").VariantResolver<{
|
|
129
|
+
size: {
|
|
130
|
+
sm: {
|
|
131
|
+
width: 8;
|
|
132
|
+
height: 8;
|
|
133
|
+
borderRadius: number;
|
|
134
|
+
};
|
|
135
|
+
md: {
|
|
136
|
+
width: 10;
|
|
137
|
+
height: 10;
|
|
138
|
+
borderRadius: number;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}, import("react-native").ViewStyle>;
|
|
142
|
+
//# sourceMappingURL=RadioGroup.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioGroup.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/radio-group/RadioGroup.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzC,qEAAqE;AACrE,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAInC,MAAM,WAAW,kBAAkB;IACjC,+BAA+B;IAC/B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,iCAAiC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,oDAAoD;IACpD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,oEAAoE;IACpE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;CAGiC,CAAC;AAEhE,MAAM,WAAW,gBAAgB;IAC/B,2FAA2F;IAC3F,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,gEAAgE;IAChE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,UAAU,GAAG,gBAAgB,CAU5E;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,kBAAkB,EAAE;QAAE,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC;IACvF,gGAAgG;IAChG,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,0BAA0B,GAAG,0BAA0B,CAM1G;AAED,qFAAqF;AACrF,eAAO,MAAM,mBAAmB;;;;;;;;;oCAQ7B,CAAC;AAEJ;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;oCAqB3B,CAAC;AAEJ,kGAAkG;AAClG,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;oCAqB5B,CAAC;AAEJ,8FAA8F;AAC9F,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;oCAgB5B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public surface of `pixelize-native-library/radio-group`. Value exports and type exports are split for
|
|
3
|
+
* `verbatimModuleSyntax`. The visual/behaviour resolvers (`resolveRadioGroupColors`,
|
|
4
|
+
* `RADIO_GROUP_SIZES`, …) stay internal — a consumer configures a RadioGroup through its props,
|
|
5
|
+
* never by importing its internals.
|
|
6
|
+
*/
|
|
7
|
+
export { RadioGroup } from "./RadioGroup";
|
|
8
|
+
export type { RadioGroupProps, RadioGroupOption } from "./RadioGroup";
|
|
9
|
+
export type { RadioGroupSize } from "./RadioGroup.variants";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/radio-group/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEtE,YAAY,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reorder — a drag-to-reorder list built on plain `PanResponder` + `Animated` (Wave 3: no new
|
|
3
|
+
* dependency). Each row's drag handle is a hand-built three-bar "grip" glyph (no `IconName` in the
|
|
4
|
+
* closed 22-name set represents a drag handle, and that set is never extended for one component) —
|
|
5
|
+
* the `PanResponder` lives on the grip ONLY, not the whole row, so the label text never fights the
|
|
6
|
+
* gesture.
|
|
7
|
+
*
|
|
8
|
+
* The list is FULLY CONTROLLED: `items`/`onReorder` are the only source of truth. While a drag is
|
|
9
|
+
* live, the component tracks purely EPHEMERAL state — which row grabbed the gesture (`startIndex`)
|
|
10
|
+
* and which slot it is over now (`targetIndex`), both cleared on release — and previews the reorder
|
|
11
|
+
* by shifting the OTHER rows out of the way with `resolveRowShift` (see `Reorder.variants.ts`); the
|
|
12
|
+
* underlying `items` array is never mutated mid-drag, only on release, via `onReorder`. Because the
|
|
13
|
+
* shift preview and the final `moveItem` commit share the exact same splice semantics, the row that
|
|
14
|
+
* was being dragged lands in the same visual slot its shifted neighbours already vacated — no jump.
|
|
15
|
+
*
|
|
16
|
+
* WCAG 2.5.7 (Dragging Movements) requires a non-dragging way to perform the same function: every
|
|
17
|
+
* row also renders two `Button` icon-only presses ("Move X up" / "Move X down", reusing the shipped
|
|
18
|
+
* `chevron-up`/`chevron-down` names), disabled at the list's own start/end via
|
|
19
|
+
* `resolveReorderMoveState`. This is the REQUIRED accessible path, not optional polish — it is a
|
|
20
|
+
* real `accessibilityRole="button"` each (Button's own contract), fully operable without any touch
|
|
21
|
+
* gesture, and it shares `moveItem` with the drag path so both always agree.
|
|
22
|
+
*
|
|
23
|
+
* The grip itself carries no accessible action of its own — `PanResponder` gestures are invisible to
|
|
24
|
+
* assistive tech, and exposing it as a fake, non-operable "button" would be misleading — so it is
|
|
25
|
+
* hidden from the accessibility tree (`accessibilityElementsHidden` + `no-hide-descendants`, the same
|
|
26
|
+
* pairing `Timeline`'s decorative connector uses), leaving the up/down `Button`s as the one real
|
|
27
|
+
* accessible affordance for reordering.
|
|
28
|
+
*/
|
|
29
|
+
import type { LayoutStyle } from "../../core/style";
|
|
30
|
+
export interface ReorderItem {
|
|
31
|
+
readonly id: string;
|
|
32
|
+
readonly label: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ReorderProps {
|
|
35
|
+
items: ReorderItem[];
|
|
36
|
+
onReorder: (next: ReorderItem[]) => void;
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
39
|
+
style?: LayoutStyle;
|
|
40
|
+
testID?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare const Reorder: import("react").NamedExoticComponent<ReorderProps>;
|
|
43
|
+
//# sourceMappingURL=Reorder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reorder.d.ts","sourceRoot":"","sources":["../../../../src/modules/reorder/Reorder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAOH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAqBpD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,SAAS,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8FAA8F;IAC9F,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AASD,eAAO,MAAM,OAAO,oDAyIlB,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reorder's style + behaviour resolution — the pure functions the component (and its tests) depend
|
|
3
|
+
* on, plus the themed structural variant resolvers. Same split as `Button.variants.ts`:
|
|
4
|
+
* - STRUCTURE (row height, grip bar size, radius, spacing) lives in the `createThemedVariants`
|
|
5
|
+
* resolvers below, registered once per theme identity.
|
|
6
|
+
* - COLOUR is resolved from the theme's ROLE colours (`resolveReorderColors`), never a raw ramp.
|
|
7
|
+
* - The drag MATH (`resolveDragTargetIndex`, `resolveRowShift`) and the array mutation
|
|
8
|
+
* (`moveItem`) are pure and shared by BOTH interaction paths — the live drag gesture and the
|
|
9
|
+
* WCAG 2.5.7 accessible up/down alternative — so the two paths are guaranteed to agree.
|
|
10
|
+
* - `resolveReorderMoveState` gates that alternative: the first row can't move up, the last can't
|
|
11
|
+
* move down, and the whole pair is gated by the list's own `disabled` prop.
|
|
12
|
+
*
|
|
13
|
+
* Free of React and of any lucide import, so the WCAG + behaviour tests import it directly (mocking
|
|
14
|
+
* only `react-native`'s `StyleSheet`, as `core/style` and every sibling module's tests do).
|
|
15
|
+
*/
|
|
16
|
+
import type { RoleColors, Theme } from "../../theme";
|
|
17
|
+
/**
|
|
18
|
+
* Fixed row height, in dp. A fixed height — rather than per-row `onLayout` measurement — is what
|
|
19
|
+
* lets the drag math below be a closed-form `dy ÷ rowHeight`, never an async-measured guess (the
|
|
20
|
+
* build brief's own preference: "a fixed height is simpler and more robust here").
|
|
21
|
+
*/
|
|
22
|
+
export declare const REORDER_ROW_HEIGHT = 56;
|
|
23
|
+
/** The 44dp floor every touch target holds itself to (WCAG 2.5.5 AAA; comfortably clears 2.5.8). */
|
|
24
|
+
export declare const MIN_TOUCH_TARGET = 44;
|
|
25
|
+
/** Grip bar glyph — three of these stacked make the drag-handle affordance. No `IconName` in the
|
|
26
|
+
* closed 22-name set represents a drag handle, and that set is never extended for one component
|
|
27
|
+
* (per the build brief), so the grip is hand-built from plain themed bars instead. */
|
|
28
|
+
export declare const GRIP_BAR_WIDTH = 20;
|
|
29
|
+
export declare const GRIP_BAR_HEIGHT = 3;
|
|
30
|
+
export declare const GRIP_BAR_GAP = 4;
|
|
31
|
+
/** The grip's visual footprint: three bars plus the two gaps between them. */
|
|
32
|
+
export declare const GRIP_BOX: {
|
|
33
|
+
readonly width: 20;
|
|
34
|
+
readonly height: number;
|
|
35
|
+
};
|
|
36
|
+
/** Symmetric touch expansion on both axes so the grip reaches 44dp without growing the glyph —
|
|
37
|
+
* same discipline as `Button`'s `hitSlop`, just computed on two axes instead of one. */
|
|
38
|
+
export declare const GRIP_HIT_SLOP: {
|
|
39
|
+
top: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
left: number;
|
|
42
|
+
right: number;
|
|
43
|
+
};
|
|
44
|
+
export interface ReorderColors {
|
|
45
|
+
/** Resting row fill. */
|
|
46
|
+
readonly rowBackground: string;
|
|
47
|
+
/** Fill for the row currently being dragged — a raised surface, paired with `elevation.md`. */
|
|
48
|
+
readonly draggingRowBackground: string;
|
|
49
|
+
/** The item label, read on either background above. */
|
|
50
|
+
readonly label: string;
|
|
51
|
+
/** The grip glyph — a graphical UI affordance (WCAG 1.4.11), read on either background above. */
|
|
52
|
+
readonly grip: string;
|
|
53
|
+
/** Grip glyph when the list is `disabled`. Not contrast-gated: a disabled control is exempt from
|
|
54
|
+
* the minimum (same reasoning `Button`'s `dimmed` documents for its own disabled state). */
|
|
55
|
+
readonly gripDisabled: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Maps Reorder's fixed visual roles onto ROLE colours — never a hardcoded hex. There is no
|
|
59
|
+
* `tone`/`variant` prop to widen: every row reads identically, so every colour Reorder can show is
|
|
60
|
+
* one of these role lookups, guaranteed legible in both modes (same reasoning `resolveTimelineColors`
|
|
61
|
+
* documents for its own tone-less component).
|
|
62
|
+
*/
|
|
63
|
+
export declare function resolveReorderColors(colors: RoleColors): ReorderColors;
|
|
64
|
+
export interface ReorderMoveState {
|
|
65
|
+
readonly upDisabled: boolean;
|
|
66
|
+
readonly downDisabled: boolean;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Gates the accessible up/down alternative (WCAG 2.5.7 — Dragging Movements REQUIRES a non-dragging
|
|
70
|
+
* way to perform the same function): the first row can't move up, the last can't move down, and the
|
|
71
|
+
* list's own `disabled` prop gates every row regardless of position.
|
|
72
|
+
*/
|
|
73
|
+
export declare function resolveReorderMoveState(index: number, count: number, disabled: boolean): ReorderMoveState;
|
|
74
|
+
/**
|
|
75
|
+
* Pure array move: `fromIndex` → `toIndex` (clamped into range). Used by BOTH the drag gesture and
|
|
76
|
+
* the accessible up/down buttons, so both interaction paths are guaranteed to produce the same
|
|
77
|
+
* result for the same intent. Out-of-range `fromIndex` returns an unmodified shallow copy.
|
|
78
|
+
*/
|
|
79
|
+
export declare function moveItem<T>(items: readonly T[], fromIndex: number, toIndex: number): T[];
|
|
80
|
+
/**
|
|
81
|
+
* The REAL on-screen distance between two rows' tops: the row's own height plus the `rowGap` the
|
|
82
|
+
* list container applies between rows (the same `theme.space[2]` `reorderListStructure` uses below)
|
|
83
|
+
* — NOT `REORDER_ROW_HEIGHT` alone, which is how tall a row is, not how far apart two rows sit.
|
|
84
|
+
* `resolveDragTargetIndex`/`resolveRowShift` must be given THIS distance (call with
|
|
85
|
+
* `theme.space[2]`, never a hardcoded gap), or the target-row flip fires one `rowGap` early and the
|
|
86
|
+
* preview shift undershoots the vacated slot by `rowGap` per row, compounding on multi-row shifts.
|
|
87
|
+
*/
|
|
88
|
+
export declare function resolveRowPitch(rowGap: number): number;
|
|
89
|
+
/**
|
|
90
|
+
* The row a drag gesture is over right now, from the accumulated `dy` since the gesture grabbed
|
|
91
|
+
* `startIndex` — a closed-form step count against the REAL row pitch (see `resolveRowPitch`),
|
|
92
|
+
* clamped into the list's bounds. Rounds to the nearest row, so a drag must cross half a row's
|
|
93
|
+
* PITCH to advance a step.
|
|
94
|
+
*/
|
|
95
|
+
export declare function resolveDragTargetIndex(startIndex: number, dy: number, rowPitch: number, itemCount: number): number;
|
|
96
|
+
/**
|
|
97
|
+
* The vertical offset a NON-dragged row animates to, to open the gap the dragged row is passing
|
|
98
|
+
* over — `-rowPitch` (slides up) for rows between `startIndex` (exclusive) and `targetIndex`
|
|
99
|
+
* (inclusive) when the drag is moving down, `+rowPitch` (slides down) for the mirrored case moving
|
|
100
|
+
* up, `0` otherwise. `rowPitch` must be the REAL on-screen distance between row tops (see
|
|
101
|
+
* `resolveRowPitch`) — row height alone undershoots by `rowGap` per row. Symmetric with `moveItem`'s
|
|
102
|
+
* splice semantics: on drop, the dragged row's array position becomes `targetIndex` and every
|
|
103
|
+
* shifted row's array position is unchanged — only its on-screen slot moved — so this is exactly the
|
|
104
|
+
* visual preview of what `moveItem` will commit.
|
|
105
|
+
*/
|
|
106
|
+
export declare function resolveRowShift(rowIndex: number, startIndex: number, targetIndex: number, rowPitch: number): number;
|
|
107
|
+
/** The list container: rows are laid out as plain flex children, spaced by `rowGap`. */
|
|
108
|
+
export declare const reorderListStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
109
|
+
/** The whole row: fixed height (see `REORDER_ROW_HEIGHT`), grip/label/buttons spaced by `columnGap`. */
|
|
110
|
+
export declare const reorderRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
111
|
+
/** The grip's touch box — no theme dependency (a fixed design constant, same reasoning `BUTTON_SIZES`
|
|
112
|
+
* documents for its own plain-constant sizing), so this uses the untethered `createVariants`. */
|
|
113
|
+
export declare const reorderGripStructure: import("../../core/style").VariantResolver<import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
114
|
+
/** One grip bar — pill-shaped via the theme's `radii.full`, so this needs the themed resolver. */
|
|
115
|
+
export declare const reorderGripBarStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
116
|
+
//# sourceMappingURL=Reorder.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reorder.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/reorder/Reorder.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGrD;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC,oGAAoG;AACpG,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAInC;;uFAEuF;AACvF,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,eAAO,MAAM,YAAY,IAAI,CAAC;AAE9B,8EAA8E;AAC9E,eAAO,MAAM,QAAQ;;;CAGX,CAAC;AAEX;yFACyF;AACzF,eAAO,MAAM,aAAa;;;;;CAKzB,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,wBAAwB;IACxB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,+FAA+F;IAC/F,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,uDAAuD;IACvD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;iGAC6F;IAC7F,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,CAQtE;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAChC;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,gBAAgB,CAKzG;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC,EAAE,CAOxF;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEtD;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,EAClB,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,MAAM,EAChB,SAAS,EAAE,MAAM,GAChB,MAAM,CAGR;AAED;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,GACf,MAAM,CAKR;AAED,wFAAwF;AACxF,eAAO,MAAM,oBAAoB,uKAI9B,CAAC;AAEJ,wGAAwG;AACxG,eAAO,MAAM,mBAAmB,uKAS7B,CAAC;AAEJ;kGACkG;AAClG,eAAO,MAAM,oBAAoB,0JAO/B,CAAC;AAEH,kGAAkG;AAClG,eAAO,MAAM,uBAAuB,uKAMjC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public surface of `pixelize-native-library/reorder`. Value exports and type exports are split for
|
|
3
|
+
* `verbatimModuleSyntax`. The drag/shift math (`moveItem`, `resolveDragTargetIndex`, …) and the
|
|
4
|
+
* colour/structure resolvers stay internal — a consumer configures a Reorder through its props,
|
|
5
|
+
* never by importing its internals.
|
|
6
|
+
*/
|
|
7
|
+
export { Reorder } from "./Reorder";
|
|
8
|
+
export type { ReorderProps, ReorderItem } from "./Reorder";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/reorder/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select — a trigger styled like an Input box (same size/border/focus-ring conventions) that opens
|
|
3
|
+
* an option list in React Native's OWN `Modal`. Imported directly from `"react-native"` here on
|
|
4
|
+
* purpose: this module must never depend on the library's own `Modal` COMPONENT (its rendered
|
|
5
|
+
* output/behaviour) — Select still owns its option list's markup outright.
|
|
6
|
+
*
|
|
7
|
+
* The one deliberate exception is the web portal mechanism: `ModalPortalContext`/`renderWebPortal`
|
|
8
|
+
* are a plain context + a stateless helper with no React-tree footprint of their own (not the
|
|
9
|
+
* `Modal` component), so Select reads the same ones `Modal.tsx` reads to stay consistent once a
|
|
10
|
+
* consumer opts in via `ModalPortalProvider` — see `../modal/ModalPortalContext.ts`.
|
|
11
|
+
*/
|
|
12
|
+
import type { LayoutStyle } from "../../core/style";
|
|
13
|
+
import type { SelectSize } from "./Select.variants";
|
|
14
|
+
export interface SelectOption {
|
|
15
|
+
readonly label: string;
|
|
16
|
+
readonly value: string;
|
|
17
|
+
}
|
|
18
|
+
export interface SelectProps {
|
|
19
|
+
options: SelectOption[];
|
|
20
|
+
value?: string;
|
|
21
|
+
onValueChange: (value: string) => void;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
label?: string;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
size?: SelectSize;
|
|
26
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
27
|
+
containerStyle?: LayoutStyle;
|
|
28
|
+
testID?: string;
|
|
29
|
+
}
|
|
30
|
+
export declare const Select: import("react").NamedExoticComponent<SelectProps>;
|
|
31
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../src/modules/select/Select.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAOH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAgBpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,8FAA8F;IAC9F,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAOD,eAAO,MAAM,MAAM,mDAuJjB,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Select's style + behaviour resolution — mirrors `Button.variants.ts`'s split:
|
|
3
|
+
* - STRUCTURE (sizing/spacing off the theme scale) lives in the `createThemedVariants` resolvers
|
|
4
|
+
* below — static per (brand, mode), registered once.
|
|
5
|
+
* - COLOUR is resolved from the theme's ROLE colours (never a raw ramp, never a hardcoded hex) by
|
|
6
|
+
* `resolveSelectTriggerColors` / `resolveSelectRowColors`.
|
|
7
|
+
* - ACCESSIBILITY prop derivation is `resolveSelectAccessibility`, kept pure so the "disabled blocks
|
|
8
|
+
* opening / expanded tracks the menu" contract is unit-testable without rendering React Native.
|
|
9
|
+
*
|
|
10
|
+
* Free of React and of any `Modal`/`Pressable` import, so the WCAG + behaviour tests import it
|
|
11
|
+
* directly (mocking only `react-native`'s `StyleSheet`, as `core/style` does).
|
|
12
|
+
*/
|
|
13
|
+
import type { RoleColors, Theme } from "../../theme";
|
|
14
|
+
export type SelectSize = "sm" | "md" | "lg";
|
|
15
|
+
/** Same touch-target floor as Button (44dp — Apple HIG minimum, WCAG 2.5.5 AAA). */
|
|
16
|
+
export declare const MIN_TOUCH_TARGET = 44;
|
|
17
|
+
export interface SelectSizeSpec {
|
|
18
|
+
/** Visual trigger height in dp. */
|
|
19
|
+
readonly height: number;
|
|
20
|
+
/** Displayed value / placeholder text size, on the theme's `fontSizes` scale. */
|
|
21
|
+
readonly fontSize: number;
|
|
22
|
+
/** Chevron glyph size in dp. */
|
|
23
|
+
readonly iconSize: number;
|
|
24
|
+
/** Symmetric touch expansion so `height + 2·hitSlop ≥ 44`. */
|
|
25
|
+
readonly hitSlop: number;
|
|
26
|
+
}
|
|
27
|
+
export declare const SELECT_SIZES: {
|
|
28
|
+
readonly sm: {
|
|
29
|
+
readonly height: 32;
|
|
30
|
+
readonly fontSize: 14;
|
|
31
|
+
readonly iconSize: 16;
|
|
32
|
+
readonly hitSlop: number;
|
|
33
|
+
};
|
|
34
|
+
readonly md: {
|
|
35
|
+
readonly height: 40;
|
|
36
|
+
readonly fontSize: 16;
|
|
37
|
+
readonly iconSize: 18;
|
|
38
|
+
readonly hitSlop: number;
|
|
39
|
+
};
|
|
40
|
+
readonly lg: {
|
|
41
|
+
readonly height: 48;
|
|
42
|
+
readonly fontSize: 18;
|
|
43
|
+
readonly iconSize: 20;
|
|
44
|
+
readonly hitSlop: number;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/** Minimum height for an option row — a list item is still an interactive target (WCAG 2.5.8). */
|
|
48
|
+
export declare const SELECT_ROW_MIN_HEIGHT = 44;
|
|
49
|
+
/** The "check" glyph beside the active row. Fixed — independent of the trigger's own `size`. */
|
|
50
|
+
export declare const SELECT_ROW_ICON_SIZE = 18;
|
|
51
|
+
export interface SelectTriggerColors {
|
|
52
|
+
/** Trigger fill — the same surface an Input's box sits on. */
|
|
53
|
+
readonly background: string;
|
|
54
|
+
/** Boundary colour: the neutral interactive outline at rest, `border.focus` while focused/open. */
|
|
55
|
+
readonly border: string;
|
|
56
|
+
/** Colour for the selected option's label. */
|
|
57
|
+
readonly text: string;
|
|
58
|
+
/** Colour for the placeholder (no value selected yet). */
|
|
59
|
+
readonly placeholder: string;
|
|
60
|
+
/** Chevron colour. */
|
|
61
|
+
readonly icon: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Maps trigger state onto role colours — the reason `size`/no free-form colour prop keeps this
|
|
65
|
+
* closed. `focused` covers both keyboard/AT focus and the menu being open (visually the same cue).
|
|
66
|
+
* Disabled is NOT a separate colour branch: like Button, a disabled control is exempt from the
|
|
67
|
+
* contrast minimum (WCAG 1.4.3) and is signalled by a uniform opacity dim instead.
|
|
68
|
+
*/
|
|
69
|
+
export declare function resolveSelectTriggerColors(colors: RoleColors, focused: boolean): SelectTriggerColors;
|
|
70
|
+
export interface SelectRowColors {
|
|
71
|
+
/** Row fill — the sheet's own surface. Kept constant across selection: `bg.selected` is not
|
|
72
|
+
* proven ≥ 4.5:1 against `fg.default` on every brand (measured: fails on radiant/rosewood
|
|
73
|
+
* light), and the role table doesn't derive a text colour guaranteed readable on it. Selection
|
|
74
|
+
* is conveyed by the "check" glyph + `accessibilityState.selected`, never by a background tint. */
|
|
75
|
+
readonly background: string;
|
|
76
|
+
/** Option label colour. */
|
|
77
|
+
readonly text: string;
|
|
78
|
+
/** "check" glyph colour, only rendered when `selected`. Same value as `text`: if the label
|
|
79
|
+
* already clears the stricter 4.5:1 text minimum on `background`, it clears the icon's 3:1 too. */
|
|
80
|
+
readonly icon: string;
|
|
81
|
+
}
|
|
82
|
+
export declare function resolveSelectRowColors(colors: RoleColors): SelectRowColors;
|
|
83
|
+
export interface SelectAccessibilityInput {
|
|
84
|
+
readonly disabled?: boolean | undefined;
|
|
85
|
+
readonly open: boolean;
|
|
86
|
+
}
|
|
87
|
+
export interface SelectAccessibilityProps {
|
|
88
|
+
readonly accessibilityRole: "button";
|
|
89
|
+
readonly accessibilityState: {
|
|
90
|
+
readonly disabled: boolean;
|
|
91
|
+
readonly expanded: boolean;
|
|
92
|
+
};
|
|
93
|
+
/** The `Pressable disabled` prop — blocks opening the menu while disabled. */
|
|
94
|
+
readonly disabled: boolean;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Derives the trigger's accessibility surface once, purely: `expanded` tracks whether the option
|
|
98
|
+
* list is showing (WCAG 4.1.2 — a collapsible control must expose its expanded/collapsed state),
|
|
99
|
+
* and `disabled` blocks the menu from opening at all.
|
|
100
|
+
*/
|
|
101
|
+
export declare function resolveSelectAccessibility(input: SelectAccessibilityInput): SelectAccessibilityProps;
|
|
102
|
+
/**
|
|
103
|
+
* Structural styles only — layout, height, padding, radius, border WIDTH. No colours (tone-driven,
|
|
104
|
+
* applied inline over this), so this compiles once per theme identity via the themed resolver.
|
|
105
|
+
*/
|
|
106
|
+
export declare const selectTriggerStructure: import("../../core/style").ThemedVariantResolver<Theme, {
|
|
107
|
+
size: {
|
|
108
|
+
sm: {
|
|
109
|
+
height: 32;
|
|
110
|
+
paddingHorizontal: 12;
|
|
111
|
+
};
|
|
112
|
+
md: {
|
|
113
|
+
height: 40;
|
|
114
|
+
paddingHorizontal: 16;
|
|
115
|
+
};
|
|
116
|
+
lg: {
|
|
117
|
+
height: 48;
|
|
118
|
+
paddingHorizontal: 24;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}, import("react-native").ViewStyle>;
|
|
122
|
+
/** The full-screen overlay the sheet centers in. `box-none` (applied by the component) lets a tap
|
|
123
|
+
* on its empty padding fall through to the backdrop press underneath. */
|
|
124
|
+
export declare const selectOverlayStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
125
|
+
export declare const selectSheetStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
126
|
+
export declare const selectRowStructure: import("../../core/style").ThemedVariantResolver<Theme, import("../../core/style").VariantGroups<import("react-native").ViewStyle>, import("react-native").ViewStyle>;
|
|
127
|
+
//# sourceMappingURL=Select.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.variants.d.ts","sourceRoot":"","sources":["../../../../src/modules/select/Select.variants.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,oFAAoF;AACpF,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAInC,MAAM,WAAW,cAAc;IAC7B,mCAAmC;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,gCAAgC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,8DAA8D;IAC9D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;CAI8B,CAAC;AAExD,kGAAkG;AAClG,eAAO,MAAM,qBAAqB,KAAK,CAAC;AAExC,gGAAgG;AAChG,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,MAAM,WAAW,mBAAmB;IAClC,8DAA8D;IAC9D,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,mGAAmG;IACnG,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,8CAA8C;IAC9C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0DAA0D;IAC1D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,sBAAsB;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,mBAAmB,CAQpG;AAED,MAAM,WAAW,eAAe;IAC9B;;;wGAGoG;IACpG,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,2BAA2B;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;wGACoG;IACpG,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,eAAe,CAM1E;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,iBAAiB,EAAE,QAAQ,CAAC;IACrC,QAAQ,CAAC,kBAAkB,EAAE;QAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC;IACxF,8EAA8E;IAC9E,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,wBAAwB,GAAG,wBAAwB,CAOpG;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;oCAiBhC,CAAC;AAEJ;0EAC0E;AAC1E,eAAO,MAAM,sBAAsB,uKAMhC,CAAC;AAEJ,eAAO,MAAM,oBAAoB,uKAO9B,CAAC;AAEJ,eAAO,MAAM,kBAAkB,uKAS5B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public surface of `pixelize-native-library/select`. Value exports and type exports are split for
|
|
3
|
+
* `verbatimModuleSyntax`. The resolvers (`resolveSelectTriggerColors`, `SELECT_SIZES`, …) stay
|
|
4
|
+
* internal — a consumer configures a Select through its props, never by importing its internals.
|
|
5
|
+
*/
|
|
6
|
+
export { Select } from "./Select";
|
|
7
|
+
export type { SelectProps, SelectOption } from "./Select";
|
|
8
|
+
export type { SelectSize } from "./Select.variants";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/select/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE1D,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Skeleton — a loading placeholder box that shimmers while the real content it stands in for is
|
|
3
|
+
* still on its way. It is its own size (`width`/`height` are component-owned props, not
|
|
4
|
+
* `LayoutStyle` — sizing IS the point of this component) and has exactly one neutral appearance:
|
|
5
|
+
* a resting `bg.sunken` fill cross-faded with a fixed-alpha `fg.default` overlay composited over it
|
|
6
|
+
* (see `resolveSkeletonColors`), pulsing on an `Animated` opacity loop. Purely decorative by default
|
|
7
|
+
* (see `Skeleton.variants.ts` →
|
|
8
|
+
* `resolveSkeletonAccessibility`, the same "decorative unless labelled" contract as `Avatar`).
|
|
9
|
+
*/
|
|
10
|
+
import type { LayoutStyle } from "../../core/style";
|
|
11
|
+
import type { SkeletonShape } from "./Skeleton.variants";
|
|
12
|
+
export interface SkeletonProps {
|
|
13
|
+
shape?: SkeletonShape;
|
|
14
|
+
/** Component-owned sizing, in dp — not `LayoutStyle`. Falls back to a per-shape default. */
|
|
15
|
+
width?: number;
|
|
16
|
+
height?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Decorative by default — hidden from assistive tech (`Avatar`'s optional-label contract).
|
|
19
|
+
* Pass a label (e.g. `"Loading"`) to instead expose this as one `progressbar`-role element.
|
|
20
|
+
*/
|
|
21
|
+
accessibilityLabel?: string;
|
|
22
|
+
/** Layout-only, outermost, applied exactly once as the LAST entry in the root style array. */
|
|
23
|
+
style?: LayoutStyle;
|
|
24
|
+
testID?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const Skeleton: import("react").NamedExoticComponent<SkeletonProps>;
|
|
27
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../src/modules/skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAMH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AASpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,4FAA4F;IAC5F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8FAA8F;IAC9F,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID,eAAO,MAAM,QAAQ,qDAsDnB,CAAC"}
|