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,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { themeNames } from "../tokens/brands/index.js";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The user-facing colour-mode selection. `system` follows the OS; `light`/`dark` pin it.
|
|
7
|
+
* `ColorScheme` (`'light' | 'dark'`) is the RESOLVED value a palette is picked by.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export const DEFAULT_STORAGE_NAMESPACE = 'pixelize-native-library.mode';
|
|
11
|
+
/** Separate key from mode's, not a combined JSON blob — each adapter slot stays a plain string. */
|
|
12
|
+
export const DEFAULT_BRAND_STORAGE_NAMESPACE = 'pixelize-native-library.brand';
|
|
13
|
+
const VALID_MODES = ['light', 'dark', 'system'];
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* A stored value is untrusted (stale or hand-edited), so it is validated before it can drive the
|
|
17
|
+
* provider — an unrecognised string is ignored, never coerced.
|
|
18
|
+
*/
|
|
19
|
+
export function isThemeMode(value) {
|
|
20
|
+
return typeof value === 'string' && VALID_MODES.includes(value);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** Same untrusted-input discipline as `isThemeMode`, checked against the live brand roster so a
|
|
24
|
+
* newly retired/renamed brand can never slip through as a stale stored value. */
|
|
25
|
+
export function isThemeName(value) {
|
|
26
|
+
return typeof value === 'string' && themeNames.includes(value);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Persistence seam. Sync OR async — the async shape lets `@react-native-async-storage/async-storage`
|
|
31
|
+
* slot in unchanged, while a synchronous adapter (memory, MMKV) also satisfies it.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The minimal slice of `@react-native-async-storage/async-storage` the adapter needs. Declared here
|
|
36
|
+
* so this library NEVER imports that package — the consumer passes their own installed instance in,
|
|
37
|
+
* which is why it stays an optional peer and Metro never has to resolve it from our code.
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Wrap a consumer-supplied AsyncStorage into the storage adapter:
|
|
42
|
+
*
|
|
43
|
+
* import AsyncStorage from '@react-native-async-storage/async-storage';
|
|
44
|
+
* <PixelizeProvider storage={createAsyncStorageAdapter(AsyncStorage)}>
|
|
45
|
+
*/
|
|
46
|
+
export function createAsyncStorageAdapter(asyncStorage) {
|
|
47
|
+
return {
|
|
48
|
+
getItem: key => asyncStorage.getItem(key),
|
|
49
|
+
setItem: (key, value) => asyncStorage.setItem(key, value)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Process-lifetime fallback. A module-level map so an explicit choice survives a remount within a
|
|
54
|
+
// running session (a switcher keeps its selection) — but not a cold restart, which is exactly why
|
|
55
|
+
// the provider warns in dev when it lands here instead of a real adapter.
|
|
56
|
+
const memoryStore = new Map();
|
|
57
|
+
export const memoryStorageAdapter = {
|
|
58
|
+
getItem: key => memoryStore.get(key) ?? null,
|
|
59
|
+
setItem: (key, value) => {
|
|
60
|
+
memoryStore.set(key, value);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=colorModeStorage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["themeNames","DEFAULT_STORAGE_NAMESPACE","DEFAULT_BRAND_STORAGE_NAMESPACE","VALID_MODES","isThemeMode","value","includes","isThemeName","createAsyncStorageAdapter","asyncStorage","getItem","key","setItem","memoryStore","Map","memoryStorageAdapter","get","set"],"sourceRoot":"../../../../src","sources":["theme/provider/colorModeStorage.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,2BAAkB;;AAG7C;AACA;AACA;AACA;;AAGA,OAAO,MAAMC,yBAAyB,GAAG,8BAA8B;AACvE;AACA,OAAO,MAAMC,+BAA+B,GAAG,+BAA+B;AAE9E,MAAMC,WAAiC,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;;AAErE;AACA;AACA;AACA;AACA,OAAO,SAASC,WAAWA,CAACC,KAAc,EAAsB;EAC9D,OAAO,OAAOA,KAAK,KAAK,QAAQ,IAAKF,WAAW,CAAuBG,QAAQ,CAACD,KAAK,CAAC;AACxF;;AAEA;AACA;AACA,OAAO,SAASE,WAAWA,CAACF,KAAc,EAAsB;EAC9D,OAAO,OAAOA,KAAK,KAAK,QAAQ,IAAKL,UAAU,CAAuBM,QAAQ,CAACD,KAAK,CAAC;AACvF;;AAEA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,yBAAyBA,CAACC,YAA8B,EAA2B;EACjG,OAAO;IACLC,OAAO,EAAGC,GAAG,IAAKF,YAAY,CAACC,OAAO,CAACC,GAAG,CAAC;IAC3CC,OAAO,EAAEA,CAACD,GAAG,EAAEN,KAAK,KAAKI,YAAY,CAACG,OAAO,CAACD,GAAG,EAAEN,KAAK;EAC1D,CAAC;AACH;;AAEA;AACA;AACA;AACA,MAAMQ,WAAW,GAAG,IAAIC,GAAG,CAAiB,CAAC;AAE7C,OAAO,MAAMC,oBAA6C,GAAG;EAC3DL,OAAO,EAAGC,GAAG,IAAKE,WAAW,CAACG,GAAG,CAACL,GAAG,CAAC,IAAI,IAAI;EAC9CC,OAAO,EAAEA,CAACD,GAAG,EAAEN,KAAK,KAAK;IACvBQ,WAAW,CAACI,GAAG,CAACN,GAAG,EAAEN,KAAK,CAAC;EAC7B;AACF,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
export { PixelizeProvider } from "./PixelizeProvider.js";
|
|
4
|
+
export { useTheme } from "./useTheme.js";
|
|
5
|
+
export { useThemeColors } from "./useThemeColors.js";
|
|
6
|
+
export { useThemeMode } from "./useThemeMode.js";
|
|
7
|
+
export { createAsyncStorageAdapter, memoryStorageAdapter, isThemeMode, isThemeName, DEFAULT_STORAGE_NAMESPACE, DEFAULT_BRAND_STORAGE_NAMESPACE } from "./colorModeStorage.js";
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PixelizeProvider","useTheme","useThemeColors","useThemeMode","createAsyncStorageAdapter","memoryStorageAdapter","isThemeMode","isThemeName","DEFAULT_STORAGE_NAMESPACE","DEFAULT_BRAND_STORAGE_NAMESPACE"],"sourceRoot":"../../../../src","sources":["theme/provider/index.ts"],"mappings":";;AAAA,SAASA,gBAAgB,QAAQ,uBAAoB;AAGrD,SAASC,QAAQ,QAAQ,eAAY;AACrC,SAASC,cAAc,QAAQ,qBAAkB;AACjD,SAASC,YAAY,QAAQ,mBAAgB;AAE7C,SACEC,yBAAyB,EACzBC,oBAAoB,EACpBC,WAAW,EACXC,WAAW,EACXC,yBAAyB,EACzBC,+BAA+B,QAC1B,uBAAoB","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { ThemeContext } from "./PixelizeProvider.js";
|
|
5
|
+
/** The full resolved theme: role colours, the numeric scale, and platform-rendered elevation/fonts. */
|
|
6
|
+
export function useTheme() {
|
|
7
|
+
const theme = useContext(ThemeContext);
|
|
8
|
+
if (!theme) {
|
|
9
|
+
throw new Error('useTheme must be used inside <PixelizeProvider>. Wrap your app in ' + "<PixelizeProvider> from 'pixelize-native-library/theme'.");
|
|
10
|
+
}
|
|
11
|
+
return theme;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=useTheme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","ThemeContext","useTheme","theme","Error"],"sourceRoot":"../../../../src","sources":["theme/provider/useTheme.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,YAAY,QAAQ,uBAAoB;AAGjD;AACA,OAAO,SAASC,QAAQA,CAAA,EAAU;EAChC,MAAMC,KAAK,GAAGH,UAAU,CAACC,YAAY,CAAC;EACtC,IAAI,CAACE,KAAK,EAAE;IACV,MAAM,IAAIC,KAAK,CACb,oEAAoE,GAClE,0DACJ,CAAC;EACH;EACA,OAAOD,KAAK;AACd","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useTheme } from "./useTheme.js";
|
|
4
|
+
/**
|
|
5
|
+
* Resolved role colours as plain strings — the escape hatch that matters on RN. Feed these to the
|
|
6
|
+
* many APIs that accept no token object and no style prop: `placeholderTextColor`, `android_ripple`,
|
|
7
|
+
* SVG `fill`, React Navigation chrome, the splash background. This is what lets an app delete its
|
|
8
|
+
* hand-maintained `navColors.ts` and adapt every colour site to dark mode from one source.
|
|
9
|
+
*/
|
|
10
|
+
export function useThemeColors() {
|
|
11
|
+
return useTheme().colors;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=useThemeColors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useTheme","useThemeColors","colors"],"sourceRoot":"../../../../src","sources":["theme/provider/useThemeColors.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,eAAY;AAGrC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAAA,EAAe;EAC3C,OAAOD,QAAQ,CAAC,CAAC,CAACE,MAAM;AAC1B","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useContext } from 'react';
|
|
4
|
+
import { ThemeModeContext } from "./PixelizeProvider.js";
|
|
5
|
+
/** `{ mode, resolvedMode, setMode }` for a theme switcher. Reads the light mode-control context. */
|
|
6
|
+
export function useThemeMode() {
|
|
7
|
+
const value = useContext(ThemeModeContext);
|
|
8
|
+
if (!value) {
|
|
9
|
+
throw new Error('useThemeMode must be used inside <PixelizeProvider>. Wrap your app in ' + "<PixelizeProvider> from 'pixelize-native-library/theme'.");
|
|
10
|
+
}
|
|
11
|
+
return value;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=useThemeMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useContext","ThemeModeContext","useThemeMode","value","Error"],"sourceRoot":"../../../../src","sources":["theme/provider/useThemeMode.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,gBAAgB,QAAQ,uBAAoB;AAGrD;AACA,OAAO,SAASC,YAAYA,CAAA,EAAmB;EAC7C,MAAMC,KAAK,GAAGH,UAAU,CAACC,gBAAgB,CAAC;EAC1C,IAAI,CAACE,KAAK,EAAE;IACV,MAAM,IAAIC,KAAK,CACb,wEAAwE,GACtE,0DACJ,CAAC;EACH;EACA,OAAOD,KAAK;AACd","ignoreList":[]}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# tokens/ — the copy-paste zone
|
|
2
|
+
|
|
3
|
+
The portable core of the design system, **byte-identical with web's `src/Theme/tokens/`** and
|
|
4
|
+
hash-gated by `.tokens.sha256`. The folder layout mirrors web exactly, so the gate can compare
|
|
5
|
+
like-for-like: `types.ts`, `index.ts`, `primitives/`, `brands/`, `builders/`, `roles/`.
|
|
6
|
+
|
|
7
|
+
## Purity contract (lint + `__tests__/purity.test.ts` enforce it)
|
|
8
|
+
|
|
9
|
+
Nothing under `tokens/` may contain:
|
|
10
|
+
|
|
11
|
+
- **a unit or CSS string** — no `"1rem"`, `"2px"`, `rgba(…)`, box-shadow strings. Numbers only:
|
|
12
|
+
`space[4]` is `16`, never `"16px"`.
|
|
13
|
+
- **an import from `platform/`** (or `react-native`). This folder is plain data + pure functions.
|
|
14
|
+
|
|
15
|
+
The one subtlety a hex is allowed: `#rrggbb` / `#rrggbbaa` are values, not units — they parse the
|
|
16
|
+
same on web and RN, so translucency uses 8-digit hex.
|
|
17
|
+
|
|
18
|
+
**Never edit `tokens/` to fix a mobile problem.** If a token is wrong it is wrong on web too — fix
|
|
19
|
+
it on web and re-copy. (Known live example: `brands/slate/palette.light.ts` `table.hover[500]`
|
|
20
|
+
carries a Cyrillic homoglyph copied verbatim from web; it is fixed upstream, not here. No builder
|
|
21
|
+
reads it, so no palette is affected.)
|
|
22
|
+
|
|
23
|
+
**2026-07-18 — `zinc` dark primary corrected to shadcn's real value.** `PRIMARY_500` in
|
|
24
|
+
`brands/zinc/palette.dark.ts` was `#fafafa` (an approximated "near-white"); verified against
|
|
25
|
+
shadcn's live zinc theme registry and corrected to `#e4e4e7` — shadcn's actual dark `--primary`
|
|
26
|
+
(`#fafafa` is shadcn's `--foreground`, a different token). `gradient.from` now references the
|
|
27
|
+
`PRIMARY_500` constant instead of duplicating the literal, so it can't drift again. Both light
|
|
28
|
+
mode's primary (`#18181b`, already an exact match) and every other zinc role were checked against
|
|
29
|
+
the same registry and left unchanged — see `micro-components/.cursor/modules/theme/MODULE.md` for
|
|
30
|
+
the full verification notes (web is the source of truth for token values).
|
|
31
|
+
|
|
32
|
+
## Brand roster
|
|
33
|
+
|
|
34
|
+
`brands/` ships 9 identities: `zinc` (mobile-only default, the shadcn look), plus 8 mirroring web —
|
|
35
|
+
`lavender`, `meadow`, `radiant`, `skyline`, `slate`, `emerald`, `rosewood`, `storefront`. Each is a
|
|
36
|
+
`palette.light.ts` (usually `...basePalette` spread + brand overrides — see `emerald`/`storefront` for
|
|
37
|
+
the pattern) and a `palette.dark.ts` (`buildDarkPalette(light)`, no bespoke override unless the brand
|
|
38
|
+
needs one like `zinc`). Add a brand by dropping in both files and registering it in `brands/index.ts`
|
|
39
|
+
+ the `ThemeName` union in `types.ts` — the `it.each(themeNames)` test sweeps pick it up automatically.
|
|
40
|
+
|
|
41
|
+
## Copied vs not
|
|
42
|
+
|
|
43
|
+
| Path | Copied to/from web? |
|
|
44
|
+
|------|---------------------|
|
|
45
|
+
| `tokens/**` (this folder) | **Yes** — the hash gate keeps it identical |
|
|
46
|
+
| `platform/**` | **Never** — one file per platform, identical export *names*, RN implementations |
|
|
47
|
+
|
|
48
|
+
`platform/` is where numbers become styles: DP conversion, `StyleSheet.hairlineWidth`, and the
|
|
49
|
+
iOS/Android shadow split. A component imports resolved values from the theme, never from `tokens/`
|
|
50
|
+
math directly.
|
|
51
|
+
|
|
52
|
+
## The `.tokens.sha256` gate
|
|
53
|
+
|
|
54
|
+
CI hashes the contents of `tokens/` and compares against `.tokens.sha256`. A mismatch means web and
|
|
55
|
+
mobile diverged: either an intended change was made on one side (re-copy + regenerate the hash) or an
|
|
56
|
+
accidental edit slipped in (revert it). Because the gate hashes the whole subtree, the **folder shape
|
|
57
|
+
must match web** — a differently-named folder (an old `scale/` or `color/`) can never go green.
|
|
58
|
+
|
|
59
|
+
## RN unit traps baked into the primitives
|
|
60
|
+
|
|
61
|
+
The copy zone stores platform-neutral numbers; `platform/` applies the RN meaning. Three that bite:
|
|
62
|
+
|
|
63
|
+
- **`lineHeights` are RATIOS** (`base: 1.5`), not DP. RN wants absolute DP — the platform layer
|
|
64
|
+
multiplies by font size. Web multiplies too. Storing DP here would break web.
|
|
65
|
+
- **`letterSpacings` are EM multipliers** (`wide: 0.025`), not DP. The platform layer scales by size.
|
|
66
|
+
- **`elevation` is `{ x, y, blur, spread, color, android }`**, not a box-shadow string. RN has no
|
|
67
|
+
inset shadow, so there is deliberately **no `inset`/`inner`** field; the platform layer maps this
|
|
68
|
+
to iOS `shadow*` props + Android `elevation`.
|
|
69
|
+
|
|
70
|
+
## `sizes.ts` — one deliberate non-1:1 port
|
|
71
|
+
|
|
72
|
+
Web's `sizes.ts` carries `full`/`max`/`min`/`screenW`/`screenH`/`container` — CSS-only concepts
|
|
73
|
+
with no static RN token (`100vw` is a runtime `Dimensions` read, not a frozen number; `max-content`
|
|
74
|
+
doesn't exist in RN layout at all). Mobile's `primitives/sizes.ts` keeps only the named `3xs`..`8xl`
|
|
75
|
+
scale (same rem→dp conversion as `space`) and drops the rest — confirmed with web (round 6 in
|
|
76
|
+
`REPLY-FOR-WEB-CHAT.md`).
|
|
77
|
+
|
|
78
|
+
## `compositeOver` / `hexToRgba` (`builders/color.ts`)
|
|
79
|
+
|
|
80
|
+
Added to flatten an alpha tint (`primary.opacity[N]`, 8-digit hex) onto an opaque backdrop before
|
|
81
|
+
scoring contrast — `contrastRatio` takes two opaque colours and throws on an 8-digit hex rather than
|
|
82
|
+
silently discarding its alpha (the bug web hit and fixed in `243a7bd`; mobile's `normalizeHex` guard
|
|
83
|
+
already threw here, it just had no real call site yet). Signature matches web's byte-for-byte:
|
|
84
|
+
`compositeOver(foreground, backdrop) -> "#rrggbb"`. No current role/component consumes
|
|
85
|
+
`primary.opacity[N]` yet — when one does (e.g. a ghost/link hover tint), it must go through
|
|
86
|
+
`compositeOver` first, never score the raw alpha hex.
|
|
87
|
+
|
|
88
|
+
## `roles/` — the colour role layer (the drift fix)
|
|
89
|
+
|
|
90
|
+
`roleColors(p: PaletteProps)` is the supported colour API. It is **pure indirection** into the
|
|
91
|
+
primitive palette — zero hex, zero units, zero branches on mode. The dark palettes are already
|
|
92
|
+
derived by `builders/buildDarkPalette`, so `roleColors(darkPalette)` is correct for free; that is the
|
|
93
|
+
hand-written `darkOverrides` layer (which flattened crm-mobile's brands onto one grey) deleted.
|
|
94
|
+
|
|
95
|
+
It is **not** `semantic/`: `PaletteProps.semantic` already means the raw status ramps, and a
|
|
96
|
+
`status.success` here is derived *from* `semantic.success`. Two invariants hold with no lookup table:
|
|
97
|
+
`fg.*` reads on `bg.*`, and every solid fill owns its own `onSolid` label (`accent.onSolid`,
|
|
98
|
+
`status.*.onSolid`), derived by `pickOnAccent`, never a hardcoded white.
|
|
99
|
+
|
|
100
|
+
Role contrast is locked for every brand × mode by `roles/__tests__/roleColors.test.ts` (AA 4.5:1 for
|
|
101
|
+
text and every filled label incl. hover/pressed; 3:1 for the interactive and focus outlines). See
|
|
102
|
+
`roles/index.ts` for the full role tree.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import buildDarkPalette from "../../builders/buildDarkPalette.js";
|
|
4
|
+
import light from "./palette.light.js";
|
|
5
|
+
|
|
6
|
+
// Derived from emerald's own light palette so the brand hue carries into dark mode.
|
|
7
|
+
const palette = buildDarkPalette(light);
|
|
8
|
+
export default palette;
|
|
9
|
+
//# sourceMappingURL=palette.dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["buildDarkPalette","light","palette"],"sourceRoot":"../../../../../../src","sources":["theme/tokens/brands/emerald/palette.dark.ts"],"mappings":";;AAAA,OAAOA,gBAAgB,MAAM,oCAAiC;AAC9D,OAAOC,KAAK,MAAM,oBAAiB;;AAEnC;AACA,MAAMC,OAAO,GAAGF,gBAAgB,CAACC,KAAK,CAAC;AAEvC,eAAeC,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import lavenderPalette from "../lavender/palette.light.js";
|
|
4
|
+
import { buildPrimaryOpacity, buildPrimaryShadowTint } from "../../builders/buildBrandTokens.js";
|
|
5
|
+
const PRIMARY_500 = "#0f9d8a";
|
|
6
|
+
const primary = {
|
|
7
|
+
50: "#e6f7f5",
|
|
8
|
+
100: "#c2ebe6",
|
|
9
|
+
200: "#8eddd4",
|
|
10
|
+
300: "#5acfc2",
|
|
11
|
+
400: "#2fb7a9",
|
|
12
|
+
500: PRIMARY_500,
|
|
13
|
+
600: "#0c8575",
|
|
14
|
+
700: "#096b5e",
|
|
15
|
+
800: "#065248",
|
|
16
|
+
900: "#043b35",
|
|
17
|
+
opacity: buildPrimaryOpacity(PRIMARY_500)
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
// No `tertiary` override — emerald inherits lavender's purple tertiary, as web ships it.
|
|
21
|
+
const palette = {
|
|
22
|
+
...lavenderPalette,
|
|
23
|
+
gradient: {
|
|
24
|
+
from: "#0f9d8a",
|
|
25
|
+
to: "#06b6d4"
|
|
26
|
+
},
|
|
27
|
+
primary,
|
|
28
|
+
gray: {
|
|
29
|
+
50: "#f6f8f8",
|
|
30
|
+
100: "#edf2f2",
|
|
31
|
+
200: "#dce5e5",
|
|
32
|
+
300: "#c3d2d2",
|
|
33
|
+
400: "#9fb3b3",
|
|
34
|
+
500: "#7c9191",
|
|
35
|
+
600: "#5e7070",
|
|
36
|
+
700: "#475555",
|
|
37
|
+
800: "#2f3a3a",
|
|
38
|
+
900: "#1f2626"
|
|
39
|
+
},
|
|
40
|
+
backgroundColor: {
|
|
41
|
+
main: "#f7fbfb",
|
|
42
|
+
secondary: "#eef7f6",
|
|
43
|
+
tertiary: "#e5f1ef",
|
|
44
|
+
quaternary: "#dcebea",
|
|
45
|
+
light: "#fcfefe",
|
|
46
|
+
medium: "#e2efee",
|
|
47
|
+
accent: "#d5e7e5",
|
|
48
|
+
subtle: "#f4f9f9",
|
|
49
|
+
muted: "#cfe2e0",
|
|
50
|
+
neutral: "#e2efee",
|
|
51
|
+
base: "#fafdfd",
|
|
52
|
+
tableHeader: "#eef7f6"
|
|
53
|
+
},
|
|
54
|
+
background: {
|
|
55
|
+
50: "#ffffff",
|
|
56
|
+
100: "#fbfefe",
|
|
57
|
+
200: "#eef7f6",
|
|
58
|
+
300: "#e5f1ef",
|
|
59
|
+
400: "#dcebea",
|
|
60
|
+
500: "#d2e4e2",
|
|
61
|
+
600: "#bdd1cf",
|
|
62
|
+
700: "#96a9a7",
|
|
63
|
+
800: "#707f7e",
|
|
64
|
+
900: "#545f5f"
|
|
65
|
+
},
|
|
66
|
+
border: {
|
|
67
|
+
50: "#fafeff",
|
|
68
|
+
100: "#edf5f4",
|
|
69
|
+
200: "#ddebea",
|
|
70
|
+
300: "#cde1df",
|
|
71
|
+
400: "#bdd6d4",
|
|
72
|
+
500: "#accbc9",
|
|
73
|
+
600: "#99b7b5",
|
|
74
|
+
700: "#788f8e",
|
|
75
|
+
800: "#5b6e6d",
|
|
76
|
+
900: "#455454"
|
|
77
|
+
},
|
|
78
|
+
boxborder: {
|
|
79
|
+
50: "#fafeff",
|
|
80
|
+
100: "#ecf4f3",
|
|
81
|
+
200: "#d9e7e5",
|
|
82
|
+
300: "#c6dad8",
|
|
83
|
+
400: "#b3cdcb",
|
|
84
|
+
500: "#a0c0be",
|
|
85
|
+
600: "#8dadab",
|
|
86
|
+
700: "#6e8786",
|
|
87
|
+
800: "#546868",
|
|
88
|
+
900: "#3f5050"
|
|
89
|
+
},
|
|
90
|
+
table: {
|
|
91
|
+
hover: {
|
|
92
|
+
50: "#fbfefe",
|
|
93
|
+
100: "#f0f7f7",
|
|
94
|
+
200: "#e6f1f1",
|
|
95
|
+
300: "#dceaea",
|
|
96
|
+
400: "#d2e3e3",
|
|
97
|
+
500: "#c8dcdc",
|
|
98
|
+
600: "#b4c7c7",
|
|
99
|
+
700: "#909f9f",
|
|
100
|
+
800: "#6c7777",
|
|
101
|
+
900: "#525b5b"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
sidebar: {
|
|
105
|
+
background: {
|
|
106
|
+
50: "#eaf4f3",
|
|
107
|
+
100: "#cfe3e1",
|
|
108
|
+
200: "#3e6f6a",
|
|
109
|
+
300: "#5a8c86",
|
|
110
|
+
400: "#2f5a55",
|
|
111
|
+
500: "#0e1f1e",
|
|
112
|
+
600: "#0b1918",
|
|
113
|
+
700: "#081312",
|
|
114
|
+
800: "#060e0d",
|
|
115
|
+
900: "#040908"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
boxShadow: {
|
|
119
|
+
primary: buildPrimaryShadowTint(PRIMARY_500),
|
|
120
|
+
error: lavenderPalette.boxShadow.error,
|
|
121
|
+
default: lavenderPalette.boxShadow.default
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
export default palette;
|
|
125
|
+
//# sourceMappingURL=palette.light.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["lavenderPalette","buildPrimaryOpacity","buildPrimaryShadowTint","PRIMARY_500","primary","opacity","palette","gradient","from","to","gray","backgroundColor","main","secondary","tertiary","quaternary","light","medium","accent","subtle","muted","neutral","base","tableHeader","background","border","boxborder","table","hover","sidebar","boxShadow","error","default"],"sourceRoot":"../../../../../../src","sources":["theme/tokens/brands/emerald/palette.light.ts"],"mappings":";;AACA,OAAOA,eAAe,MAAM,8BAA2B;AACvD,SAASC,mBAAmB,EAAEC,sBAAsB,QAAQ,oCAAiC;AAE7F,MAAMC,WAAW,GAAG,SAAS;AAE7B,MAAMC,OAAO,GAAG;EACd,EAAE,EAAE,SAAS;EACb,GAAG,EAAE,SAAS;EACd,GAAG,EAAE,SAAS;EACd,GAAG,EAAE,SAAS;EACd,GAAG,EAAE,SAAS;EACd,GAAG,EAAED,WAAW;EAChB,GAAG,EAAE,SAAS;EACd,GAAG,EAAE,SAAS;EACd,GAAG,EAAE,SAAS;EACd,GAAG,EAAE,SAAS;EACdE,OAAO,EAAEJ,mBAAmB,CAACE,WAAW;AAC1C,CAAC;;AAED;AACA,MAAMG,OAAqB,GAAG;EAC5B,GAAGN,eAAe;EAClBO,QAAQ,EAAE;IAAEC,IAAI,EAAE,SAAS;IAAEC,EAAE,EAAE;EAAU,CAAC;EAC5CL,OAAO;EACPM,IAAI,EAAE;IACJ,EAAE,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAC7E,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE;EACvE,CAAC;EACDC,eAAe,EAAE;IACfC,IAAI,EAAE,SAAS;IAAEC,SAAS,EAAE,SAAS;IAAEC,QAAQ,EAAE,SAAS;IAAEC,UAAU,EAAE,SAAS;IACjFC,KAAK,EAAE,SAAS;IAAEC,MAAM,EAAE,SAAS;IAAEC,MAAM,EAAE,SAAS;IAAEC,MAAM,EAAE,SAAS;IACzEC,KAAK,EAAE,SAAS;IAAEC,OAAO,EAAE,SAAS;IAAEC,IAAI,EAAE,SAAS;IAAEC,WAAW,EAAE;EACtE,CAAC;EACDC,UAAU,EAAE;IACV,EAAE,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAC7E,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE;EACvE,CAAC;EACDC,MAAM,EAAE;IACN,EAAE,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAC7E,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE;EACvE,CAAC;EACDC,SAAS,EAAE;IACT,EAAE,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAC7E,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE,SAAS;IAAE,GAAG,EAAE;EACvE,CAAC;EACDC,KAAK,EAAE;IACLC,KAAK,EAAE;MACL,EAAE,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAC7E,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE;IACvE;EACF,CAAC;EACDC,OAAO,EAAE;IACPL,UAAU,EAAE;MACV,EAAE,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAC7E,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE,SAAS;MAAE,GAAG,EAAE;IACvE;EACF,CAAC;EACDM,SAAS,EAAE;IACT1B,OAAO,EAAEF,sBAAsB,CAACC,WAAW,CAAC;IAC5C4B,KAAK,EAAE/B,eAAe,CAAC8B,SAAS,CAACC,KAAK;IACtCC,OAAO,EAAEhC,eAAe,CAAC8B,SAAS,CAACE;EACrC;AACF,CAAC;AAED,eAAe1B,OAAO","ignoreList":[]}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import zinc from "./zinc/palette.light.js";
|
|
4
|
+
import lavender from "./lavender/palette.light.js";
|
|
5
|
+
import meadow from "./meadow/palette.light.js";
|
|
6
|
+
import radiant from "./radiant/palette.light.js";
|
|
7
|
+
import skyline from "./skyline/palette.light.js";
|
|
8
|
+
import slate from "./slate/palette.light.js";
|
|
9
|
+
import emerald from "./emerald/palette.light.js";
|
|
10
|
+
import rosewood from "./rosewood/palette.light.js";
|
|
11
|
+
import storefront from "./storefront/palette.light.js";
|
|
12
|
+
import zincDark from "./zinc/palette.dark.js";
|
|
13
|
+
import lavenderDark from "./lavender/palette.dark.js";
|
|
14
|
+
import meadowDark from "./meadow/palette.dark.js";
|
|
15
|
+
import radiantDark from "./radiant/palette.dark.js";
|
|
16
|
+
import skylineDark from "./skyline/palette.dark.js";
|
|
17
|
+
import slateDark from "./slate/palette.dark.js";
|
|
18
|
+
import emeraldDark from "./emerald/palette.dark.js";
|
|
19
|
+
import rosewoodDark from "./rosewood/palette.dark.js";
|
|
20
|
+
import storefrontDark from "./storefront/palette.dark.js";
|
|
21
|
+
export { zinc, lavender, meadow, radiant, skyline, slate, emerald, rosewood, storefront };
|
|
22
|
+
export { zincDark, lavenderDark, meadowDark, radiantDark, skylineDark, slateDark, emeraldDark, rosewoodDark, storefrontDark };
|
|
23
|
+
|
|
24
|
+
/** Light palette per brand. `zinc` is the default (the shadcn look). */
|
|
25
|
+
export const lightPalettes = {
|
|
26
|
+
zinc,
|
|
27
|
+
lavender,
|
|
28
|
+
meadow,
|
|
29
|
+
radiant,
|
|
30
|
+
skyline,
|
|
31
|
+
slate,
|
|
32
|
+
emerald,
|
|
33
|
+
rosewood,
|
|
34
|
+
storefront
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** Dark palette per brand. Six mirror web via `buildDarkPalette`; zinc pins the shadcn dark roles. */
|
|
38
|
+
export const darkPalettes = {
|
|
39
|
+
zinc: zincDark,
|
|
40
|
+
lavender: lavenderDark,
|
|
41
|
+
meadow: meadowDark,
|
|
42
|
+
radiant: radiantDark,
|
|
43
|
+
skyline: skylineDark,
|
|
44
|
+
slate: slateDark,
|
|
45
|
+
emerald: emeraldDark,
|
|
46
|
+
rosewood: rosewoodDark,
|
|
47
|
+
storefront: storefrontDark
|
|
48
|
+
};
|
|
49
|
+
export const palettes = {
|
|
50
|
+
zinc: {
|
|
51
|
+
light: zinc,
|
|
52
|
+
dark: zincDark
|
|
53
|
+
},
|
|
54
|
+
lavender: {
|
|
55
|
+
light: lavender,
|
|
56
|
+
dark: lavenderDark
|
|
57
|
+
},
|
|
58
|
+
meadow: {
|
|
59
|
+
light: meadow,
|
|
60
|
+
dark: meadowDark
|
|
61
|
+
},
|
|
62
|
+
radiant: {
|
|
63
|
+
light: radiant,
|
|
64
|
+
dark: radiantDark
|
|
65
|
+
},
|
|
66
|
+
skyline: {
|
|
67
|
+
light: skyline,
|
|
68
|
+
dark: skylineDark
|
|
69
|
+
},
|
|
70
|
+
slate: {
|
|
71
|
+
light: slate,
|
|
72
|
+
dark: slateDark
|
|
73
|
+
},
|
|
74
|
+
emerald: {
|
|
75
|
+
light: emerald,
|
|
76
|
+
dark: emeraldDark
|
|
77
|
+
},
|
|
78
|
+
rosewood: {
|
|
79
|
+
light: rosewood,
|
|
80
|
+
dark: rosewoodDark
|
|
81
|
+
},
|
|
82
|
+
storefront: {
|
|
83
|
+
light: storefront,
|
|
84
|
+
dark: storefrontDark
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
export const themeNames = Object.keys(lightPalettes);
|
|
88
|
+
|
|
89
|
+
/** Library default — the shadcn look the user approved. */
|
|
90
|
+
export const DEFAULT_THEME = "zinc";
|
|
91
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["zinc","lavender","meadow","radiant","skyline","slate","emerald","rosewood","storefront","zincDark","lavenderDark","meadowDark","radiantDark","skylineDark","slateDark","emeraldDark","rosewoodDark","storefrontDark","lightPalettes","darkPalettes","palettes","light","dark","themeNames","Object","keys","DEFAULT_THEME"],"sourceRoot":"../../../../../src","sources":["theme/tokens/brands/index.ts"],"mappings":";;AAEA,OAAOA,IAAI,MAAM,yBAAsB;AACvC,OAAOC,QAAQ,MAAM,6BAA0B;AAC/C,OAAOC,MAAM,MAAM,2BAAwB;AAC3C,OAAOC,OAAO,MAAM,4BAAyB;AAC7C,OAAOC,OAAO,MAAM,4BAAyB;AAC7C,OAAOC,KAAK,MAAM,0BAAuB;AACzC,OAAOC,OAAO,MAAM,4BAAyB;AAC7C,OAAOC,QAAQ,MAAM,6BAA0B;AAC/C,OAAOC,UAAU,MAAM,+BAA4B;AAEnD,OAAOC,QAAQ,MAAM,wBAAqB;AAC1C,OAAOC,YAAY,MAAM,4BAAyB;AAClD,OAAOC,UAAU,MAAM,0BAAuB;AAC9C,OAAOC,WAAW,MAAM,2BAAwB;AAChD,OAAOC,WAAW,MAAM,2BAAwB;AAChD,OAAOC,SAAS,MAAM,yBAAsB;AAC5C,OAAOC,WAAW,MAAM,2BAAwB;AAChD,OAAOC,YAAY,MAAM,4BAAyB;AAClD,OAAOC,cAAc,MAAM,8BAA2B;AAEtD,SAASjB,IAAI,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,EAAEC,OAAO,EAAEC,KAAK,EAAEC,OAAO,EAAEC,QAAQ,EAAEC,UAAU;AACvF,SACEC,QAAQ,EACRC,YAAY,EACZC,UAAU,EACVC,WAAW,EACXC,WAAW,EACXC,SAAS,EACTC,WAAW,EACXC,YAAY,EACZC,cAAc;;AAGhB;AACA,OAAO,MAAMC,aAA8C,GAAG;EAC5DlB,IAAI;EACJC,QAAQ;EACRC,MAAM;EACNC,OAAO;EACPC,OAAO;EACPC,KAAK;EACLC,OAAO;EACPC,QAAQ;EACRC;AACF,CAAC;;AAED;AACA,OAAO,MAAMW,YAA6C,GAAG;EAC3DnB,IAAI,EAAES,QAAQ;EACdR,QAAQ,EAAES,YAAY;EACtBR,MAAM,EAAES,UAAU;EAClBR,OAAO,EAAES,WAAW;EACpBR,OAAO,EAAES,WAAW;EACpBR,KAAK,EAAES,SAAS;EAChBR,OAAO,EAAES,WAAW;EACpBR,QAAQ,EAAES,YAAY;EACtBR,UAAU,EAAES;AACd,CAAC;AAED,OAAO,MAAMG,QAA8D,GAAG;EAC5EpB,IAAI,EAAE;IAAEqB,KAAK,EAAErB,IAAI;IAAEsB,IAAI,EAAEb;EAAS,CAAC;EACrCR,QAAQ,EAAE;IAAEoB,KAAK,EAAEpB,QAAQ;IAAEqB,IAAI,EAAEZ;EAAa,CAAC;EACjDR,MAAM,EAAE;IAAEmB,KAAK,EAAEnB,MAAM;IAAEoB,IAAI,EAAEX;EAAW,CAAC;EAC3CR,OAAO,EAAE;IAAEkB,KAAK,EAAElB,OAAO;IAAEmB,IAAI,EAAEV;EAAY,CAAC;EAC9CR,OAAO,EAAE;IAAEiB,KAAK,EAAEjB,OAAO;IAAEkB,IAAI,EAAET;EAAY,CAAC;EAC9CR,KAAK,EAAE;IAAEgB,KAAK,EAAEhB,KAAK;IAAEiB,IAAI,EAAER;EAAU,CAAC;EACxCR,OAAO,EAAE;IAAEe,KAAK,EAAEf,OAAO;IAAEgB,IAAI,EAAEP;EAAY,CAAC;EAC9CR,QAAQ,EAAE;IAAEc,KAAK,EAAEd,QAAQ;IAAEe,IAAI,EAAEN;EAAa,CAAC;EACjDR,UAAU,EAAE;IAAEa,KAAK,EAAEb,UAAU;IAAEc,IAAI,EAAEL;EAAe;AACxD,CAAC;AAED,OAAO,MAAMM,UAAU,GAAGC,MAAM,CAACC,IAAI,CAACP,aAAa,CAAgB;;AAEnE;AACA,OAAO,MAAMQ,aAAwB,GAAG,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import buildDarkPalette from "../../builders/buildDarkPalette.js";
|
|
4
|
+
import light from "./palette.light.js";
|
|
5
|
+
|
|
6
|
+
// Derived from lavender's own light palette so the brand hue carries into dark mode.
|
|
7
|
+
const palette = buildDarkPalette(light);
|
|
8
|
+
export default palette;
|
|
9
|
+
//# sourceMappingURL=palette.dark.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["buildDarkPalette","light","palette"],"sourceRoot":"../../../../../../src","sources":["theme/tokens/brands/lavender/palette.dark.ts"],"mappings":";;AAAA,OAAOA,gBAAgB,MAAM,oCAAiC;AAC9D,OAAOC,KAAK,MAAM,oBAAiB;;AAEnC;AACA,MAAMC,OAAO,GAAGF,gBAAgB,CAACC,KAAK,CAAC;AAEvC,eAAeC,OAAO","ignoreList":[]}
|