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,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* One shadow layer. Not a CSS string, not RN shadow props — each platform composes its own
|
|
5
|
+
* rendering from these numbers.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* An elevation step is a STACK of layers, not one shadow — web's `base`/`md`/`lg` are each a wide
|
|
10
|
+
* ambient layer plus a tight contact layer, and flattening to one layer would mean degrading WEB
|
|
11
|
+
* to work around RN's limit, not the other way round. `android` is one integer per step (RN's
|
|
12
|
+
* `elevation` prop takes a single scalar; it cannot represent a stack), for the pre-`boxShadow`
|
|
13
|
+
* Android path. New-arch RN and web both render every layer in `layers`; old-arch RN renders
|
|
14
|
+
* `layers[0]` plus `android` — an honest platform limit, not a token compromise.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Elevation ramp — offsets, blur, spread and alpha mirror web's `shadows.ts` (5b6bbfe) exactly,
|
|
19
|
+
* converted from `rgba()` CSS strings to `#rrggbbaa` layers.
|
|
20
|
+
*
|
|
21
|
+
* Web's `inner` (inset) step has no counterpart here and never will — RN has no inset shadow of any
|
|
22
|
+
* kind. It stays web-only, in web's platform layer. Do not add an `inset` field to work around it.
|
|
23
|
+
*/
|
|
24
|
+
const elevation = {
|
|
25
|
+
none: {
|
|
26
|
+
layers: [{
|
|
27
|
+
x: 0,
|
|
28
|
+
y: 0,
|
|
29
|
+
blur: 0,
|
|
30
|
+
spread: 0,
|
|
31
|
+
color: '#00000000'
|
|
32
|
+
}],
|
|
33
|
+
android: 0
|
|
34
|
+
},
|
|
35
|
+
sm: {
|
|
36
|
+
layers: [{
|
|
37
|
+
x: 0,
|
|
38
|
+
y: 1,
|
|
39
|
+
blur: 2,
|
|
40
|
+
spread: 0,
|
|
41
|
+
color: '#0000000d'
|
|
42
|
+
}],
|
|
43
|
+
android: 1
|
|
44
|
+
},
|
|
45
|
+
base: {
|
|
46
|
+
layers: [{
|
|
47
|
+
x: 0,
|
|
48
|
+
y: 1,
|
|
49
|
+
blur: 3,
|
|
50
|
+
spread: 0,
|
|
51
|
+
color: '#0000001a'
|
|
52
|
+
}, {
|
|
53
|
+
x: 0,
|
|
54
|
+
y: 1,
|
|
55
|
+
blur: 2,
|
|
56
|
+
spread: 0,
|
|
57
|
+
color: '#0000000f'
|
|
58
|
+
}],
|
|
59
|
+
android: 2
|
|
60
|
+
},
|
|
61
|
+
md: {
|
|
62
|
+
layers: [{
|
|
63
|
+
x: 0,
|
|
64
|
+
y: 4,
|
|
65
|
+
blur: 6,
|
|
66
|
+
spread: -1,
|
|
67
|
+
color: '#0000001a'
|
|
68
|
+
}, {
|
|
69
|
+
x: 0,
|
|
70
|
+
y: 2,
|
|
71
|
+
blur: 4,
|
|
72
|
+
spread: -1,
|
|
73
|
+
color: '#0000000f'
|
|
74
|
+
}],
|
|
75
|
+
android: 4
|
|
76
|
+
},
|
|
77
|
+
lg: {
|
|
78
|
+
layers: [{
|
|
79
|
+
x: 0,
|
|
80
|
+
y: 10,
|
|
81
|
+
blur: 15,
|
|
82
|
+
spread: -3,
|
|
83
|
+
color: '#0000001a'
|
|
84
|
+
}, {
|
|
85
|
+
x: 0,
|
|
86
|
+
y: 4,
|
|
87
|
+
blur: 6,
|
|
88
|
+
spread: -2,
|
|
89
|
+
color: '#0000000d'
|
|
90
|
+
}],
|
|
91
|
+
android: 8
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export default elevation;
|
|
95
|
+
//# sourceMappingURL=elevation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["elevation","none","layers","x","y","blur","spread","color","android","sm","base","md","lg"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/elevation.ts"],"mappings":";;AAAA;AACA;AACA;AACA;;AAcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,SAAS,GAAG;EAChBC,IAAI,EAAE;IAAEC,MAAM,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,CAAC;IAAEC,OAAO,EAAE;EAAE,CAAC;EACtFC,EAAE,EAAE;IAAEP,MAAM,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,CAAC;IAAEC,OAAO,EAAE;EAAE,CAAC;EACpFE,IAAI,EAAE;IACJR,MAAM,EAAE,CACN;MAAEC,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,EACtD;MAAEJ,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,CACvD;IACDC,OAAO,EAAE;EACX,CAAC;EACDG,EAAE,EAAE;IACFT,MAAM,EAAE,CACN;MAAEC,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,EACvD;MAAEJ,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,CACxD;IACDC,OAAO,EAAE;EACX,CAAC;EACDI,EAAE,EAAE;IACFV,MAAM,EAAE,CACN;MAAEC,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,EAAE;MAAEC,IAAI,EAAE,EAAE;MAAEC,MAAM,EAAE,CAAC,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,EACzD;MAAEJ,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE,CAAC;MAAEC,IAAI,EAAE,CAAC;MAAEC,MAAM,EAAE,CAAC,CAAC;MAAEC,KAAK,EAAE;IAAY,CAAC,CACxD;IACDC,OAAO,EAAE;EACX;AACF,CAAmD;AAInD,eAAeR,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Font sizes. Unitless DP, mirroring web's rem ramp at a 16px root.
|
|
5
|
+
*/
|
|
6
|
+
const fontSizes = {
|
|
7
|
+
xs: 12,
|
|
8
|
+
sm: 14,
|
|
9
|
+
md: 16,
|
|
10
|
+
lg: 18,
|
|
11
|
+
xl: 20,
|
|
12
|
+
'2xl': 24,
|
|
13
|
+
'3xl': 30,
|
|
14
|
+
'4xl': 36,
|
|
15
|
+
'5xl': 48,
|
|
16
|
+
'6xl': 60,
|
|
17
|
+
'7xl': 72,
|
|
18
|
+
'8xl': 96,
|
|
19
|
+
'9xl': 128
|
|
20
|
+
};
|
|
21
|
+
export default fontSizes;
|
|
22
|
+
//# sourceMappingURL=fontSizes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["fontSizes","xs","sm","md","lg","xl"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/fontSizes.ts"],"mappings":";;AAAA;AACA;AACA;AACA,MAAMA,SAAS,GAAG;EAChBC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE,EAAE;EACT,KAAK,EAAE;AACT,CAA2C;AAI3C,eAAeL,SAAS","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Font weights, semantic keys only.
|
|
5
|
+
*
|
|
6
|
+
* Values are numbers, not strings: the blessed path is `fontStyleForWeight` in the platform layer,
|
|
7
|
+
* whose input `FontWeightValue` is the numeric union `100 | … | 900`. A string `'600'` is not
|
|
8
|
+
* assignable to that union, so a string token would force a `Number()` at every call site; a numeric
|
|
9
|
+
* literal flows straight in. Web's ramp is numeric too, so this is also the shape web adopts.
|
|
10
|
+
*
|
|
11
|
+
* Web's full 100–900 ramp collapses to the four weights Inter actually earns in UI: a `light`
|
|
12
|
+
* heading is a design decision nobody made, so there is no token for it. `regular` (not web's
|
|
13
|
+
* `normal`) names the 400 step — a divergence web reconciles when it migrates to this shape.
|
|
14
|
+
*/
|
|
15
|
+
const fontWeights = {
|
|
16
|
+
regular: 400,
|
|
17
|
+
medium: 500,
|
|
18
|
+
semibold: 600,
|
|
19
|
+
bold: 700
|
|
20
|
+
// Constrained to the nine canonical weight steps so a typo like 450 is a type error.
|
|
21
|
+
};
|
|
22
|
+
export default fontWeights;
|
|
23
|
+
//# sourceMappingURL=fontWeights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["fontWeights","regular","medium","semibold","bold"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/fontWeights.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,WAAW,GAAG;EAClBC,OAAO,EAAE,GAAG;EACZC,MAAM,EAAE,GAAG;EACXC,QAAQ,EAAE,GAAG;EACbC,IAAI,EAAE;EACN;AACF,CAAwF;AAIxF,eAAeJ,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { default as space } from "./space.js";
|
|
4
|
+
export { default as radii } from "./radii.js";
|
|
5
|
+
export { default as fontSizes } from "./fontSizes.js";
|
|
6
|
+
export { default as fontWeights } from "./fontWeights.js";
|
|
7
|
+
export { default as lineHeights } from "./lineHeights.js";
|
|
8
|
+
export { default as letterSpacings } from "./letterSpacings.js";
|
|
9
|
+
export { default as borderWidths } from "./borderWidths.js";
|
|
10
|
+
export { default as elevation } from "./elevation.js";
|
|
11
|
+
export { default as breakpoints } from "./breakpoints.js";
|
|
12
|
+
export { default as zIndices } from "./zIndices.js";
|
|
13
|
+
export { default as sizes } from "./sizes.js";
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default","space","radii","fontSizes","fontWeights","lineHeights","letterSpacings","borderWidths","elevation","breakpoints","zIndices","sizes"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/index.ts"],"mappings":";;AAAA,SAASA,OAAO,IAAIC,KAAK,QAAQ,YAAS;AAG1C,SAASD,OAAO,IAAIE,KAAK,QAAQ,YAAS;AAG1C,SAASF,OAAO,IAAIG,SAAS,QAAQ,gBAAa;AAGlD,SAASH,OAAO,IAAII,WAAW,QAAQ,kBAAe;AAGtD,SAASJ,OAAO,IAAIK,WAAW,QAAQ,kBAAe;AAGtD,SAASL,OAAO,IAAIM,cAAc,QAAQ,qBAAkB;AAG5D,SAASN,OAAO,IAAIO,YAAY,QAAQ,mBAAgB;AAGxD,SAASP,OAAO,IAAIQ,SAAS,QAAQ,gBAAa;AAGlD,SAASR,OAAO,IAAIS,WAAW,QAAQ,kBAAe;AAGtD,SAAST,OAAO,IAAIU,QAAQ,QAAQ,eAAY;AAGhD,SAASV,OAAO,IAAIW,KAAK,QAAQ,YAAS","ignoreList":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Letter spacing as EM MULTIPLIERS of the font size — never DP.
|
|
5
|
+
*
|
|
6
|
+
* Same trap as `lineHeights`: RN's `letterSpacing` is absolute DP, so passing `-0.025` straight
|
|
7
|
+
* through is a no-op at every font size rather than a visible error. The platform layer multiplies
|
|
8
|
+
* by the font size; web appends `em`.
|
|
9
|
+
*/
|
|
10
|
+
const letterSpacings = {
|
|
11
|
+
tighter: -0.05,
|
|
12
|
+
tight: -0.025,
|
|
13
|
+
normal: 0,
|
|
14
|
+
wide: 0.025,
|
|
15
|
+
wider: 0.05
|
|
16
|
+
};
|
|
17
|
+
export default letterSpacings;
|
|
18
|
+
//# sourceMappingURL=letterSpacings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["letterSpacings","tighter","tight","normal","wide","wider"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/letterSpacings.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,cAAc,GAAG;EACrBC,OAAO,EAAE,CAAC,IAAI;EACdC,KAAK,EAAE,CAAC,KAAK;EACbC,MAAM,EAAE,CAAC;EACTC,IAAI,EAAE,KAAK;EACXC,KAAK,EAAE;AACT,CAA2C;AAI3C,eAAeL,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Line heights as RATIOS of the font size — never DP.
|
|
5
|
+
*
|
|
6
|
+
* This is the single most dangerous token in the port. RN's `lineHeight` style prop is absolute DP,
|
|
7
|
+
* so `{ lineHeight: lineHeights.base }` compiles, typechecks, and renders 1.5dp-tall lines. There is
|
|
8
|
+
* no error to catch — the text just collapses. The platform layer MUST resolve these against a font
|
|
9
|
+
* size (`lineHeight: fontSize * ratio`). Web's `line-height` consumes the ratio directly, which is
|
|
10
|
+
* why the ratio is what gets stored.
|
|
11
|
+
*/
|
|
12
|
+
const lineHeights = {
|
|
13
|
+
none: 1,
|
|
14
|
+
tight: 1.25,
|
|
15
|
+
snug: 1.375,
|
|
16
|
+
base: 1.5,
|
|
17
|
+
relaxed: 1.625,
|
|
18
|
+
loose: 2
|
|
19
|
+
};
|
|
20
|
+
export default lineHeights;
|
|
21
|
+
//# sourceMappingURL=lineHeights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["lineHeights","none","tight","snug","base","relaxed","loose"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/lineHeights.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,WAAW,GAAG;EAClBC,IAAI,EAAE,CAAC;EACPC,KAAK,EAAE,IAAI;EACXC,IAAI,EAAE,KAAK;EACXC,IAAI,EAAE,GAAG;EACTC,OAAO,EAAE,KAAK;EACdC,KAAK,EAAE;AACT,CAA2C;AAI3C,eAAeN,WAAW","ignoreList":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Corner radii. Unitless DP.
|
|
5
|
+
*
|
|
6
|
+
* `base: 8` is the approved brand radius. It is one token — retuning the brand's roundness is an
|
|
7
|
+
* edit to this line, never a sweep through components. The ramp steps on the same 4dp grid as
|
|
8
|
+
* `space`, so a radius and the padding inside it always agree.
|
|
9
|
+
*/
|
|
10
|
+
const radii = {
|
|
11
|
+
none: 0,
|
|
12
|
+
sm: 4,
|
|
13
|
+
base: 8,
|
|
14
|
+
md: 12,
|
|
15
|
+
lg: 16,
|
|
16
|
+
xl: 24,
|
|
17
|
+
/** Pill. A finite number, not Infinity — RN rejects non-finite style values. */
|
|
18
|
+
full: 9999
|
|
19
|
+
};
|
|
20
|
+
export default radii;
|
|
21
|
+
//# sourceMappingURL=radii.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["radii","none","sm","base","md","lg","xl","full"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/radii.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,KAAK,GAAG;EACZC,IAAI,EAAE,CAAC;EACPC,EAAE,EAAE,CAAC;EACLC,IAAI,EAAE,CAAC;EACPC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN;EACAC,IAAI,EAAE;AACR,CAA2C;AAI3C,eAAeP,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Named size scale (avatar/image/modal max-width, not spacing). Unitless DP, same rem->dp
|
|
5
|
+
* conversion as `space` (1rem = 16dp) so a value copied from web's `sizes.ts` resolves to the
|
|
6
|
+
* same physical size.
|
|
7
|
+
*
|
|
8
|
+
* Web's `sizes.ts` is NOT ported 1:1 — several of its keys are CSS-only concepts with no static
|
|
9
|
+
* RN equivalent:
|
|
10
|
+
* - `full`/`max`/`min` (`100%`/`max-content`/`min-content`) are layout values, not a size token;
|
|
11
|
+
* RN accepts the `"100%"` string directly in a style, so it never needed a token.
|
|
12
|
+
* - `screenW`/`screenH` (`100vw`/`100vh`) are a runtime viewport read, not a static token — the
|
|
13
|
+
* RN equivalent is `useWindowDimensions()` in `platform/`, never a frozen number here.
|
|
14
|
+
* - `container` duplicates `breakpoints` (a max-width cap vs. a viewport threshold); RN has no
|
|
15
|
+
* native "container query" concept, so it's dropped rather than carried as dead weight.
|
|
16
|
+
*/
|
|
17
|
+
const sizes = {
|
|
18
|
+
"3xs": 224,
|
|
19
|
+
"2xs": 256,
|
|
20
|
+
xs: 320,
|
|
21
|
+
sm: 384,
|
|
22
|
+
md: 448,
|
|
23
|
+
lg: 512,
|
|
24
|
+
xl: 576,
|
|
25
|
+
"2xl": 672,
|
|
26
|
+
"3xl": 768,
|
|
27
|
+
"4xl": 896,
|
|
28
|
+
"5xl": 1024,
|
|
29
|
+
"6xl": 1152,
|
|
30
|
+
"7xl": 1280,
|
|
31
|
+
"8xl": 1440
|
|
32
|
+
};
|
|
33
|
+
export default sizes;
|
|
34
|
+
//# sourceMappingURL=sizes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["sizes","xs","sm","md","lg","xl"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/sizes.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,KAAK,GAAG;EACZ,KAAK,EAAE,GAAG;EACV,KAAK,EAAE,GAAG;EACVC,EAAE,EAAE,GAAG;EACPC,EAAE,EAAE,GAAG;EACPC,EAAE,EAAE,GAAG;EACPC,EAAE,EAAE,GAAG;EACPC,EAAE,EAAE,GAAG;EACP,KAAK,EAAE,GAAG;EACV,KAAK,EAAE,GAAG;EACV,KAAK,EAAE,GAAG;EACV,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,KAAK,EAAE,IAAI;EACX,KAAK,EAAE;AACT,CAA2C;AAI3C,eAAeL,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Spacing scale. Unitless DP — one step = 4dp.
|
|
5
|
+
*
|
|
6
|
+
* Web's `space.px = "1px"` is deliberately absent: a 1px hairline expressed in rem scales with the
|
|
7
|
+
* user's font-size setting, which is exactly what a hairline must never do. Hairlines are in
|
|
8
|
+
* `borderWidths`.
|
|
9
|
+
*/
|
|
10
|
+
const space = {
|
|
11
|
+
0: 0,
|
|
12
|
+
1: 4,
|
|
13
|
+
2: 8,
|
|
14
|
+
3: 12,
|
|
15
|
+
4: 16,
|
|
16
|
+
5: 20,
|
|
17
|
+
6: 24,
|
|
18
|
+
7: 28,
|
|
19
|
+
8: 32,
|
|
20
|
+
9: 36,
|
|
21
|
+
10: 40,
|
|
22
|
+
12: 48,
|
|
23
|
+
14: 56,
|
|
24
|
+
16: 64,
|
|
25
|
+
20: 80,
|
|
26
|
+
24: 96,
|
|
27
|
+
32: 128
|
|
28
|
+
};
|
|
29
|
+
export default space;
|
|
30
|
+
//# sourceMappingURL=space.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["space"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/space.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,KAAK,GAAG;EACZ,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,CAAC;EACJ,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,CAAC,EAAE,EAAE;EACL,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,EAAE;EACN,EAAE,EAAE,EAAE;EACN,EAAE,EAAE;AACN,CAA2C;AAI3C,eAAeA,KAAK","ignoreList":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Stacking order for the vendored overlay host (modal/sheet/toast/tooltip). Mirrors web's
|
|
5
|
+
* zIndices.ts (5b6bbfe) — numbers only; RN's `zIndex` style prop takes a number, unlike CSS's
|
|
6
|
+
* `auto` keyword, so web's `auto: "auto"` has no counterpart here and is intentionally omitted.
|
|
7
|
+
*/
|
|
8
|
+
const zIndices = {
|
|
9
|
+
hide: -1,
|
|
10
|
+
base: 0,
|
|
11
|
+
docked: 10,
|
|
12
|
+
dropdown: 1000,
|
|
13
|
+
sticky: 1100,
|
|
14
|
+
banner: 1200,
|
|
15
|
+
overlay: 1300,
|
|
16
|
+
modal: 1400,
|
|
17
|
+
popover: 1500,
|
|
18
|
+
skipLink: 1600,
|
|
19
|
+
toast: 1700,
|
|
20
|
+
tooltip: 1800
|
|
21
|
+
};
|
|
22
|
+
export default zIndices;
|
|
23
|
+
//# sourceMappingURL=zIndices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["zIndices","hide","base","docked","dropdown","sticky","banner","overlay","modal","popover","skipLink","toast","tooltip"],"sourceRoot":"../../../../../src","sources":["theme/tokens/primitives/zIndices.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,QAAQ,GAAG;EACfC,IAAI,EAAE,CAAC,CAAC;EACRC,IAAI,EAAE,CAAC;EACPC,MAAM,EAAE,EAAE;EACVC,QAAQ,EAAE,IAAI;EACdC,MAAM,EAAE,IAAI;EACZC,MAAM,EAAE,IAAI;EACZC,OAAO,EAAE,IAAI;EACbC,KAAK,EAAE,IAAI;EACXC,OAAO,EAAE,IAAI;EACbC,QAAQ,EAAE,IAAI;EACdC,KAAK,EAAE,IAAI;EACXC,OAAO,EAAE;AACX,CAA2C;AAI3C,eAAeZ,QAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Colour ROLES — the layer that keeps web and mobile from drifting apart.
|
|
5
|
+
*
|
|
6
|
+
* Web and crm-mobile already shared byte-identical primitive ramps and drifted anyway, because each
|
|
7
|
+
* side independently answered "what is a background in dark mode?" in component code. Sharing
|
|
8
|
+
* primitives provably did not prevent that; sharing this table would have. Every role is pure
|
|
9
|
+
* indirection into the primitive palette, so both platforms resolve a role the same way.
|
|
10
|
+
*
|
|
11
|
+
* This is NOT `semantic/`. `PaletteProps.semantic` already means the raw status ramps; the role for
|
|
12
|
+
* "a success chip" lives here as `status.success`, derived FROM `palette.semantic.success`.
|
|
13
|
+
*
|
|
14
|
+
* Two invariants a reader can rely on without a lookup table:
|
|
15
|
+
* - `fg.*` is what reads on `bg.*`; every solid fill owns its own `onSolid` label.
|
|
16
|
+
* - No value is a hex or a branch on mode. The dark palettes are already derived by
|
|
17
|
+
* `buildDarkPalette`, so `roleColors(darkPalette)` is correct for free.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
import { resolveFilledAccent } from "../builders/accentText.js";
|
|
21
|
+
import { AA_TEXT, contrastRatio, relativeLuminance } from "../builders/color.js";
|
|
22
|
+
const RAMP_KEYS = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900];
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The strongest-reading rung of `ramp` against every `surface` it can sit on. Walks 500 → 900 first
|
|
26
|
+
* — the accent toward its high-contrast pole in BOTH modes, since the dark ramp lightens upward —
|
|
27
|
+
* then the pale end, returning the first rung that clears AA everywhere. Falls back to the best rung
|
|
28
|
+
* so a brand still renders and the contrast test reports the gap instead of a user squinting.
|
|
29
|
+
*/
|
|
30
|
+
function readableOn(ramp, surfaces) {
|
|
31
|
+
const order = [500, 600, 700, 800, 900, 400, 300, 200, 100, 50];
|
|
32
|
+
const minRatio = hex => surfaces.reduce((lowest, surface) => Math.min(lowest, contrastRatio(hex, surface)), Infinity);
|
|
33
|
+
let best = ramp[500];
|
|
34
|
+
let bestRatio = minRatio(best);
|
|
35
|
+
for (const key of order) {
|
|
36
|
+
const ratio = minRatio(ramp[key]);
|
|
37
|
+
if (ratio >= AA_TEXT) return ramp[key];
|
|
38
|
+
if (ratio > bestRatio) {
|
|
39
|
+
best = ramp[key];
|
|
40
|
+
bestRatio = ratio;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return best;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A hover/pressed fill `step` rungs stronger than the resting `solid`, moving AWAY from the label's
|
|
48
|
+
* luminance so `onSolid` never loses contrast. Because the dark ramps run dark→light, "stronger" is
|
|
49
|
+
* a different rung index per mode ([600]/[700] in light, [400]/[300] in dark); it is read from the
|
|
50
|
+
* ramp's own luminances here — never a hardcoded rung, never an `if (dark)`.
|
|
51
|
+
*/
|
|
52
|
+
function strongerFill(ramp, solidRung, label, step) {
|
|
53
|
+
const byLuminance = [...RAMP_KEYS].sort((a, b) => relativeLuminance(ramp[a]) - relativeLuminance(ramp[b]));
|
|
54
|
+
const position = byLuminance.indexOf(solidRung);
|
|
55
|
+
const awayFromLabel = relativeLuminance(label) > relativeLuminance(ramp[solidRung]) ? -1 : 1;
|
|
56
|
+
const target = Math.min(byLuminance.length - 1, Math.max(0, position + awayFromLabel * step));
|
|
57
|
+
const key = byLuminance[target];
|
|
58
|
+
return key === undefined ? ramp[solidRung] : ramp[key];
|
|
59
|
+
}
|
|
60
|
+
function statusColors(ramp) {
|
|
61
|
+
const filled = resolveFilledAccent(ramp);
|
|
62
|
+
return {
|
|
63
|
+
solid: filled.fill,
|
|
64
|
+
onSolid: filled.label,
|
|
65
|
+
text: readableOn(ramp, [ramp[50]]),
|
|
66
|
+
subtle: ramp[50],
|
|
67
|
+
border: ramp[200]
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The whole role table for one palette. Pass a light palette for light roles, a dark palette for
|
|
73
|
+
* dark roles — the palette carries the mode, so this function never asks which mode it is.
|
|
74
|
+
*/
|
|
75
|
+
export function roleColors(p) {
|
|
76
|
+
const accent = resolveFilledAccent(p.primary);
|
|
77
|
+
return {
|
|
78
|
+
bg: {
|
|
79
|
+
canvas: p.backgroundColor.main,
|
|
80
|
+
surface: p.background[50],
|
|
81
|
+
raised: p.background[100],
|
|
82
|
+
sunken: p.background[200],
|
|
83
|
+
hover: p.backgroundColor.muted,
|
|
84
|
+
selected: p.backgroundColor.accent,
|
|
85
|
+
disabled: p.disabled[100]
|
|
86
|
+
},
|
|
87
|
+
fg: {
|
|
88
|
+
default: p.text[500],
|
|
89
|
+
// Measured against every surface it actually sits on (incl. `bg.hover`), not just the
|
|
90
|
+
// canvas — a flat `gray[600]` cleared the canvas on every brand but fell to ~3.5:1 against
|
|
91
|
+
// `bg.hover` on radiant/emerald/rosewood, the same class of mistake web shipped twice.
|
|
92
|
+
muted: readableOn(p.gray, [p.background[50], p.backgroundColor.muted]),
|
|
93
|
+
subtle: p.gray[500],
|
|
94
|
+
disabled: p.disabled[500]
|
|
95
|
+
},
|
|
96
|
+
// `interactive` is a 1px control outline (WCAG 1.4.11 → 3:1), so it can't reuse the decorative
|
|
97
|
+
// `default`; `focus` is one neutral step stronger again. Both are grey, not the accent: an
|
|
98
|
+
// accent ring vanishes on a focused accent-filled button (ring == fill), and the tinted
|
|
99
|
+
// `border[500]` fails 3:1 on 7 of 8 brands — only the `gray` ramp clears it on every canvas.
|
|
100
|
+
// Deliberate divergence from vanilla shadcn (whose `--ring` is the accent colour): shadcn's own
|
|
101
|
+
// default control border is a hairline that itself fails 1.4.11 on several of this catalogue's
|
|
102
|
+
// brands, and its accent ring has the same vanish-on-fill problem above. Grey wins here on
|
|
103
|
+
// contrast math, not aesthetic preference.
|
|
104
|
+
border: {
|
|
105
|
+
default: p.border[200],
|
|
106
|
+
interactive: p.gray[500],
|
|
107
|
+
focus: p.gray[600]
|
|
108
|
+
},
|
|
109
|
+
accent: {
|
|
110
|
+
solid: accent.fill,
|
|
111
|
+
solidHover: strongerFill(p.primary, accent.rung, accent.label, 1),
|
|
112
|
+
solidPressed: strongerFill(p.primary, accent.rung, accent.label, 2),
|
|
113
|
+
onSolid: accent.label,
|
|
114
|
+
text: readableOn(p.primary, [p.backgroundColor.main, p.primary[50]]),
|
|
115
|
+
subtle: p.primary[50]
|
|
116
|
+
},
|
|
117
|
+
status: {
|
|
118
|
+
success: statusColors(p.semantic.success),
|
|
119
|
+
warning: statusColors(p.semantic.warning),
|
|
120
|
+
danger: statusColors(p.semantic.error),
|
|
121
|
+
info: statusColors(p.semantic.info)
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
export default roleColors;
|
|
126
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["resolveFilledAccent","AA_TEXT","contrastRatio","relativeLuminance","RAMP_KEYS","readableOn","ramp","surfaces","order","minRatio","hex","reduce","lowest","surface","Math","min","Infinity","best","bestRatio","key","ratio","strongerFill","solidRung","label","step","byLuminance","sort","a","b","position","indexOf","awayFromLabel","target","length","max","undefined","statusColors","filled","solid","fill","onSolid","text","subtle","border","roleColors","p","accent","primary","bg","canvas","backgroundColor","main","background","raised","sunken","hover","muted","selected","disabled","fg","default","gray","interactive","focus","solidHover","rung","solidPressed","status","success","semantic","warning","danger","error","info"],"sourceRoot":"../../../../../src","sources":["theme/tokens/roles/index.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["theme/tokens/types.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tracks the OS reduce-motion setting (WCAG 2.3.3) so a press/transition animation can be
|
|
3
|
+
* suppressed for a user who has it on. Shared across every animated module — press fades,
|
|
4
|
+
* expand/collapse, toasts — so the setting is read once per mount, not re-implemented per module.
|
|
5
|
+
*/
|
|
6
|
+
export declare function useReducedMotion(): boolean;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/a11y/index.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,wBAAgB,gBAAgB,IAAI,OAAO,CAc1C"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The shared icon registry. `icon` props across every module take a NAME from the closed
|
|
3
|
+
* `IconName` union, never a `ReactNode` — same discipline as `tone`/`variant`: a consumer cannot
|
|
4
|
+
* pass an arbitrary component in.
|
|
5
|
+
*
|
|
6
|
+
* Icons are DEEP-IMPORTED from `lucide-react-native/icons/<kebab-name>` (~656 B each), never from
|
|
7
|
+
* the barrel `lucide-react-native` (~233 KB — it defeats per-component tree-shaking). The
|
|
8
|
+
* name→component map is a STATIC object literal so every deep import stays statically analysable.
|
|
9
|
+
*
|
|
10
|
+
* Requires the consumer app to install `lucide-react-native` + `react-native-svg` (both optional
|
|
11
|
+
* peers — see package.json). A component that renders no icon never pays for either.
|
|
12
|
+
*/
|
|
13
|
+
/** The props a lucide icon accepts (a subset — the ones the design system drives). */
|
|
14
|
+
export interface LucideIconProps {
|
|
15
|
+
size?: number;
|
|
16
|
+
color?: string;
|
|
17
|
+
strokeWidth?: number;
|
|
18
|
+
absoluteStrokeWidth?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The starter catalogue — grows as components need more glyphs. Keys are the stable public names
|
|
22
|
+
* (`IconName`); adding one here is the only change needed for every module to gain it.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ICON_COMPONENTS: {
|
|
25
|
+
readonly "arrow-left": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
26
|
+
readonly "arrow-right": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
readonly check: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
28
|
+
readonly "chevron-down": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
29
|
+
readonly "chevron-left": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
30
|
+
readonly "chevron-right": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
31
|
+
readonly "chevron-up": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
32
|
+
readonly download: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
33
|
+
readonly "external-link": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
34
|
+
readonly filter: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
|
+
readonly "log-out": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
|
+
readonly minus: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
37
|
+
readonly "more-horizontal": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
38
|
+
readonly pencil: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
39
|
+
readonly plus: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
40
|
+
readonly "refresh-cw": import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
41
|
+
readonly save: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
42
|
+
readonly search: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
43
|
+
readonly send: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
44
|
+
readonly settings: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
45
|
+
readonly share: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
46
|
+
readonly trash: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
47
|
+
readonly upload: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
48
|
+
readonly x: import("react").ForwardRefExoticComponent<import("lucide-react-native").LucideProps & import("react").RefAttributes<SVGSVGElement>>;
|
|
49
|
+
};
|
|
50
|
+
/** The closed set of icon names a component may reference. */
|
|
51
|
+
export type IconName = keyof typeof ICON_COMPONENTS;
|
|
52
|
+
export interface IconProps {
|
|
53
|
+
name: IconName;
|
|
54
|
+
size: number;
|
|
55
|
+
color: string;
|
|
56
|
+
strokeWidth?: number;
|
|
57
|
+
}
|
|
58
|
+
/** Renders a lucide glyph by name. `size`/`color` are resolved values (never a token object). */
|
|
59
|
+
export declare function Icon({ name, size, color, strokeWidth }: IconProps): import("react").JSX.Element;
|
|
60
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/icon/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA+BH,sFAAsF;AACtF,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAID;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAyBsB,CAAC;AAEnD,8DAA8D;AAC9D,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,eAAe,CAAC;AAEpD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,iGAAiG;AACjG,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAe,EAAE,EAAE,SAAS,+BAGrE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { LayoutStyle } from "./layoutStyle";
|
|
2
|
+
export { createVariants, createTextVariants, createThemedVariants, createThemedTextVariants, variantFactory, themedVariantFactory, } from "./variants";
|
|
3
|
+
export type { CompoundVariant, ThemedVariantResolver, VariantConfig, VariantGroups, VariantProps, VariantResolver, VariantSelection, VariantStyle, } from "./variants";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/style/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,cAAc,EACd,oBAAoB,GACrB,MAAM,YAAY,CAAC;AAEpB,YAAY,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,aAAa,EACb,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ViewStyle } from "react-native";
|
|
2
|
+
/**
|
|
3
|
+
* The only styling a consumer app may hand a component.
|
|
4
|
+
*
|
|
5
|
+
* `Pick`, never `Omit`: an allowlist cannot silently widen. An `Omit<ViewStyle, …>` would admit
|
|
6
|
+
* every key React Native adds to `ViewStyle` in a future release — the containment guarantee would
|
|
7
|
+
* decay on a dependency bump, without a single line of our code changing.
|
|
8
|
+
*
|
|
9
|
+
* Deliberately absent: backgroundColor, every border key, shadow and elevation, opacity, and all
|
|
10
|
+
* typography. Those are appearance, and appearance is a closed union (`variant` / `size` / `tone`).
|
|
11
|
+
* An app places and sizes a component; it does not restyle one. Consumers needing a resolved colour
|
|
12
|
+
* for a prop that takes no token (placeholderTextColor, android_ripple, SVG fill) use
|
|
13
|
+
* `useThemeColors()`, not a style prop.
|
|
14
|
+
*
|
|
15
|
+
* Audit basis (906 real library usages across 4 web apps): `style=` 0, `className=` 1 (dead code),
|
|
16
|
+
* `sx=` 16 — 1.9% escape-hatch usage. Width/height was 13.9%, and all of it was declared props.
|
|
17
|
+
*/
|
|
18
|
+
export type LayoutStyle = Pick<ViewStyle, "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf">;
|
|
19
|
+
//# sourceMappingURL=layoutStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layoutStyle.d.ts","sourceRoot":"","sources":["../../../../src/core/style/layoutStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,SAAS,EACP,QAAQ,GACR,WAAW,GACX,cAAc,GACd,YAAY,GACZ,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,OAAO,GACP,QAAQ,GACR,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,GACX,MAAM,GACN,UAAU,GACV,YAAY,GACZ,WAAW,GACX,WAAW,CACd,CAAC"}
|