@agent-native/design-system 0.229.0 → 0.237.1
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 +45 -16
- package/css/components/announcement.css +6 -0
- package/css/components/autocomplete.css +4 -0
- package/css/components/button.css +2 -0
- package/css/components/combobox.css +3 -0
- package/css/components/design-file-panel.css +5 -0
- package/css/components/dialog.css +2 -0
- package/css/components/dock-workspace.css +5 -0
- package/css/components/font-picker.css +7 -0
- package/css/components/icon-button.css +2 -0
- package/css/components/image-card.css +4 -0
- package/css/components/layer-tree.css +4 -0
- package/css/components/meter.css +1 -0
- package/css/components/progress.css +2 -0
- package/css/components/property-token.css +3 -0
- package/css/components/tabs.css +3 -0
- package/css/components/toast.css +2 -0
- package/css/direction.css +24 -0
- package/css/main.css +3 -2
- package/css/parts/accordion.css +4 -3
- package/css/parts/alert-dialog.css +19 -51
- package/css/parts/alignment-picker.css +363 -0
- package/css/parts/autocomplete.css +47 -117
- package/css/parts/avatar.css +3 -30
- package/css/parts/badge.css +11 -25
- package/css/parts/blockquote.css +1 -1
- package/css/parts/button.css +75 -61
- package/css/parts/callout.css +4 -24
- package/css/parts/card.css +31 -39
- package/css/parts/checkbox-cards.css +10 -11
- package/css/parts/checkbox-group.css +1 -1
- package/css/parts/checkbox.css +35 -18
- package/css/parts/code.css +4 -64
- package/css/parts/color-swatch.css +36 -0
- package/css/parts/combobox.css +24 -10
- package/css/parts/constraint-controls.css +140 -0
- package/css/parts/context-menu.css +1 -1
- package/css/parts/data-list.css +9 -22
- package/css/parts/design-file-panel.css +189 -0
- package/css/parts/design-property-inspector.css +200 -0
- package/css/parts/dialog.css +87 -91
- package/css/parts/dock-workspace.css +123 -0
- package/css/parts/drawer.css +14 -54
- package/css/parts/field.css +2 -2
- package/css/parts/fieldset.css +1 -1
- package/css/parts/font-picker.css +205 -0
- package/css/parts/grid-size-picker.css +220 -0
- package/css/parts/heading.css +1 -1
- package/css/parts/icon-button.css +2 -12
- package/css/parts/image-card.css +126 -0
- package/css/parts/input.css +37 -31
- package/css/parts/inset.css +1 -0
- package/css/parts/inspector.css +67 -0
- package/css/parts/item.css +5 -8
- package/css/parts/kbd.css +10 -49
- package/css/parts/layer-tree.css +174 -0
- package/css/parts/layout.css +18 -0
- package/css/parts/link.css +1 -1
- package/css/parts/menu.css +48 -47
- package/css/parts/menubar.css +3 -3
- package/css/parts/meter.css +28 -14
- package/css/parts/navigation-menu.css +6 -6
- package/css/parts/number-field.css +18 -12
- package/css/parts/otp-field.css +12 -26
- package/css/parts/page-header.css +1 -1
- package/css/parts/paint-editor.css +70 -0
- package/css/parts/popover.css +33 -36
- package/css/parts/preview-card.css +19 -21
- package/css/parts/progress.css +32 -18
- package/css/parts/property-list.css +34 -0
- package/css/parts/property-token.css +104 -0
- package/css/parts/radio-cards.css +28 -20
- package/css/parts/radio-group.css +28 -15
- package/css/parts/scroll-area.css +10 -17
- package/css/parts/segmented-control.css +66 -45
- package/css/parts/select.css +56 -53
- package/css/parts/separator.css +7 -19
- package/css/parts/sidebar.css +6 -9
- package/css/parts/skeleton.css +14 -1
- package/css/parts/slider.css +33 -24
- package/css/parts/spinner.css +5 -14
- package/css/parts/split-pane.css +117 -0
- package/css/parts/switch.css +73 -36
- package/css/parts/tab-nav.css +1 -1
- package/css/parts/table.css +23 -38
- package/css/parts/tabs.css +151 -30
- package/css/parts/text-area.css +11 -20
- package/css/parts/text.css +21 -58
- package/css/parts/toast.css +28 -19
- package/css/parts/toggle-group.css +1 -1
- package/css/parts/toggle.css +34 -21
- package/css/parts/toolbar.css +40 -37
- package/css/parts/tooltip.css +2 -2
- package/css/styles.css +18 -3
- package/css/text-style-utilities.css +113 -0
- package/css/text-styles.css +115 -0
- package/css/themes/agent-native.css +51 -44
- package/css/themes/analytics.css +40 -30
- package/css/themes/assets.css +40 -30
- package/css/themes/baseline.css +93 -28
- package/css/themes/brain.css +40 -30
- package/css/themes/calendar.css +40 -30
- package/css/themes/chat.css +40 -30
- package/css/themes/clips.css +40 -30
- package/css/themes/content.css +40 -30
- package/css/themes/crm.css +40 -30
- package/css/themes/design.css +40 -30
- package/css/themes/desktop.css +40 -30
- package/css/themes/dispatch.css +40 -30
- package/css/themes/docs.css +40 -30
- package/css/themes/factory.css +40 -30
- package/css/themes/forms.css +40 -30
- package/css/themes/mail.css +40 -30
- package/css/themes/plan.css +40 -30
- package/css/themes/slides.css +40 -30
- package/css/themes/tasks.css +40 -30
- package/css/tokens.css +93 -72
- package/dist/catalog/components/alert-dialog.d.ts +2 -0
- package/dist/catalog/components/alert-dialog.d.ts.map +1 -0
- package/dist/catalog/components/alert-dialog.js +2 -0
- package/dist/catalog/components/alert-dialog.js.map +1 -0
- package/dist/catalog/components/alignment-picker.d.ts +11 -0
- package/dist/catalog/components/alignment-picker.d.ts.map +1 -0
- package/dist/catalog/components/alignment-picker.js +12 -0
- package/dist/catalog/components/alignment-picker.js.map +1 -0
- package/dist/catalog/components/aspect-ratio.d.ts +7 -0
- package/dist/catalog/components/aspect-ratio.d.ts.map +1 -0
- package/dist/catalog/components/aspect-ratio.js +7 -0
- package/dist/catalog/components/aspect-ratio.js.map +1 -0
- package/dist/catalog/components/autocomplete.d.ts +13 -0
- package/dist/catalog/components/autocomplete.d.ts.map +1 -0
- package/dist/catalog/components/autocomplete.js +14 -0
- package/dist/catalog/components/autocomplete.js.map +1 -0
- package/dist/catalog/components/avatar.d.ts +7 -0
- package/dist/catalog/components/avatar.d.ts.map +1 -0
- package/dist/catalog/components/avatar.js +8 -0
- package/dist/catalog/components/avatar.js.map +1 -0
- package/dist/catalog/components/badge.d.ts +8 -0
- package/dist/catalog/components/badge.d.ts.map +1 -0
- package/dist/catalog/components/badge.js +9 -0
- package/dist/catalog/components/badge.js.map +1 -0
- package/dist/catalog/components/blockquote.d.ts +8 -0
- package/dist/catalog/components/blockquote.d.ts.map +1 -0
- package/dist/catalog/components/blockquote.js +9 -0
- package/dist/catalog/components/blockquote.js.map +1 -0
- package/dist/catalog/components/button.d.ts +29 -0
- package/dist/catalog/components/button.d.ts.map +1 -0
- package/dist/catalog/components/button.js +23 -0
- package/dist/catalog/components/button.js.map +1 -0
- package/dist/catalog/components/callout.d.ts +6 -0
- package/dist/catalog/components/callout.d.ts.map +1 -0
- package/dist/catalog/components/callout.js +7 -0
- package/dist/catalog/components/callout.js.map +1 -0
- package/dist/catalog/components/card.d.ts +4 -0
- package/dist/catalog/components/card.d.ts.map +1 -0
- package/dist/catalog/components/card.js +5 -0
- package/dist/catalog/components/card.js.map +1 -0
- package/dist/catalog/components/checkbox-cards.d.ts +7 -0
- package/dist/catalog/components/checkbox-cards.d.ts.map +1 -0
- package/dist/catalog/components/checkbox-cards.js +8 -0
- package/dist/catalog/components/checkbox-cards.js.map +1 -0
- package/dist/catalog/components/checkbox-group.d.ts +6 -0
- package/dist/catalog/components/checkbox-group.d.ts.map +1 -0
- package/dist/catalog/components/checkbox-group.js +7 -0
- package/dist/catalog/components/checkbox-group.js.map +1 -0
- package/dist/catalog/components/checkbox.d.ts +6 -0
- package/dist/catalog/components/checkbox.d.ts.map +1 -0
- package/dist/catalog/components/checkbox.js +7 -0
- package/dist/catalog/components/checkbox.js.map +1 -0
- package/dist/catalog/components/code.d.ts +9 -0
- package/dist/catalog/components/code.d.ts.map +1 -0
- package/dist/catalog/components/code.js +10 -0
- package/dist/catalog/components/code.js.map +1 -0
- package/dist/catalog/components/color-swatch.d.ts +5 -0
- package/dist/catalog/components/color-swatch.d.ts.map +1 -0
- package/dist/catalog/components/color-swatch.js +6 -0
- package/dist/catalog/components/color-swatch.js.map +1 -0
- package/dist/catalog/components/combobox.d.ts +13 -0
- package/dist/catalog/components/combobox.d.ts.map +1 -0
- package/dist/catalog/components/combobox.js +14 -0
- package/dist/catalog/components/combobox.js.map +1 -0
- package/dist/catalog/components/context-menu.d.ts +11 -0
- package/dist/catalog/components/context-menu.d.ts.map +1 -0
- package/dist/catalog/components/context-menu.js +12 -0
- package/dist/catalog/components/context-menu.js.map +1 -0
- package/dist/catalog/components/data-list.d.ts +5 -0
- package/dist/catalog/components/data-list.d.ts.map +1 -0
- package/dist/catalog/components/data-list.js +6 -0
- package/dist/catalog/components/data-list.js.map +1 -0
- package/dist/catalog/components/dialog.d.ts +2 -0
- package/dist/catalog/components/dialog.d.ts.map +1 -0
- package/dist/catalog/components/dialog.js +2 -0
- package/dist/catalog/components/dialog.js.map +1 -0
- package/dist/catalog/components/drawer.d.ts +4 -0
- package/dist/catalog/components/drawer.d.ts.map +1 -0
- package/dist/catalog/components/drawer.js +5 -0
- package/dist/catalog/components/drawer.js.map +1 -0
- package/dist/catalog/components/font-picker.d.ts +10 -0
- package/dist/catalog/components/font-picker.d.ts.map +1 -0
- package/dist/catalog/components/font-picker.js +11 -0
- package/dist/catalog/components/font-picker.js.map +1 -0
- package/dist/catalog/components/grid-size-picker.d.ts +11 -0
- package/dist/catalog/components/grid-size-picker.d.ts.map +1 -0
- package/dist/catalog/components/grid-size-picker.js +12 -0
- package/dist/catalog/components/grid-size-picker.js.map +1 -0
- package/dist/catalog/components/heading.d.ts +13 -0
- package/dist/catalog/components/heading.d.ts.map +1 -0
- package/dist/catalog/components/heading.js +9 -0
- package/dist/catalog/components/heading.js.map +1 -0
- package/dist/catalog/components/index.d.ts +56 -0
- package/dist/catalog/components/index.d.ts.map +1 -0
- package/dist/catalog/components/index.js +56 -0
- package/dist/catalog/components/index.js.map +1 -0
- package/dist/catalog/components/input.d.ts +11 -0
- package/dist/catalog/components/input.d.ts.map +1 -0
- package/dist/catalog/components/input.js +12 -0
- package/dist/catalog/components/input.js.map +1 -0
- package/dist/catalog/components/inset.d.ts +6 -0
- package/dist/catalog/components/inset.d.ts.map +1 -0
- package/dist/catalog/components/inset.js +7 -0
- package/dist/catalog/components/inset.js.map +1 -0
- package/dist/catalog/components/item.d.ts +11 -0
- package/dist/catalog/components/item.d.ts.map +1 -0
- package/dist/catalog/components/item.js +12 -0
- package/dist/catalog/components/item.js.map +1 -0
- package/dist/catalog/components/kbd.d.ts +4 -0
- package/dist/catalog/components/kbd.d.ts.map +1 -0
- package/dist/catalog/components/kbd.js +5 -0
- package/dist/catalog/components/kbd.js.map +1 -0
- package/dist/catalog/components/link.d.ts +10 -0
- package/dist/catalog/components/link.d.ts.map +1 -0
- package/dist/catalog/components/link.js +11 -0
- package/dist/catalog/components/link.js.map +1 -0
- package/dist/catalog/components/menu.d.ts +11 -0
- package/dist/catalog/components/menu.d.ts.map +1 -0
- package/dist/catalog/components/menu.js +12 -0
- package/dist/catalog/components/menu.js.map +1 -0
- package/dist/catalog/components/menubar.d.ts +11 -0
- package/dist/catalog/components/menubar.d.ts.map +1 -0
- package/dist/catalog/components/menubar.js +12 -0
- package/dist/catalog/components/menubar.js.map +1 -0
- package/dist/catalog/components/meter.d.ts +7 -0
- package/dist/catalog/components/meter.d.ts.map +1 -0
- package/dist/catalog/components/meter.js +8 -0
- package/dist/catalog/components/meter.js.map +1 -0
- package/dist/catalog/components/number-field.d.ts +8 -0
- package/dist/catalog/components/number-field.d.ts.map +1 -0
- package/dist/catalog/components/number-field.js +9 -0
- package/dist/catalog/components/number-field.js.map +1 -0
- package/dist/catalog/components/otp-field.d.ts +6 -0
- package/dist/catalog/components/otp-field.d.ts.map +1 -0
- package/dist/catalog/components/otp-field.js +7 -0
- package/dist/catalog/components/otp-field.js.map +1 -0
- package/dist/catalog/components/popover.d.ts +2 -0
- package/dist/catalog/components/popover.d.ts.map +1 -0
- package/dist/catalog/components/popover.js +2 -0
- package/dist/catalog/components/popover.js.map +1 -0
- package/dist/catalog/components/preview-card.d.ts +2 -0
- package/dist/catalog/components/preview-card.d.ts.map +1 -0
- package/dist/catalog/components/preview-card.js +2 -0
- package/dist/catalog/components/preview-card.js.map +1 -0
- package/dist/catalog/components/progress.d.ts +11 -0
- package/dist/catalog/components/progress.d.ts.map +1 -0
- package/dist/catalog/components/progress.js +12 -0
- package/dist/catalog/components/progress.js.map +1 -0
- package/dist/catalog/components/radio-cards.d.ts +7 -0
- package/dist/catalog/components/radio-cards.d.ts.map +1 -0
- package/dist/catalog/components/radio-cards.js +8 -0
- package/dist/catalog/components/radio-cards.js.map +1 -0
- package/dist/catalog/components/radio-group.d.ts +6 -0
- package/dist/catalog/components/radio-group.d.ts.map +1 -0
- package/dist/catalog/components/radio-group.js +7 -0
- package/dist/catalog/components/radio-group.js.map +1 -0
- package/dist/catalog/components/scroll-area.d.ts +5 -0
- package/dist/catalog/components/scroll-area.d.ts.map +1 -0
- package/dist/catalog/components/scroll-area.js +6 -0
- package/dist/catalog/components/scroll-area.js.map +1 -0
- package/dist/catalog/components/segmented-control.d.ts +7 -0
- package/dist/catalog/components/segmented-control.d.ts.map +1 -0
- package/dist/catalog/components/segmented-control.js +8 -0
- package/dist/catalog/components/segmented-control.js.map +1 -0
- package/dist/catalog/components/select.d.ts +15 -0
- package/dist/catalog/components/select.d.ts.map +1 -0
- package/dist/catalog/components/select.js +16 -0
- package/dist/catalog/components/select.js.map +1 -0
- package/dist/catalog/components/separator.d.ts +4 -0
- package/dist/catalog/components/separator.d.ts.map +1 -0
- package/dist/catalog/components/separator.js +5 -0
- package/dist/catalog/components/separator.js.map +1 -0
- package/dist/catalog/components/skeleton.d.ts +8 -0
- package/dist/catalog/components/skeleton.d.ts.map +1 -0
- package/dist/catalog/components/skeleton.js +8 -0
- package/dist/catalog/components/skeleton.js.map +1 -0
- package/dist/catalog/components/slider.d.ts +7 -0
- package/dist/catalog/components/slider.d.ts.map +1 -0
- package/dist/catalog/components/slider.js +8 -0
- package/dist/catalog/components/slider.js.map +1 -0
- package/dist/catalog/components/spinner.d.ts +8 -0
- package/dist/catalog/components/spinner.d.ts.map +1 -0
- package/dist/catalog/components/spinner.js +8 -0
- package/dist/catalog/components/spinner.js.map +1 -0
- package/dist/catalog/components/switch.d.ts +7 -0
- package/dist/catalog/components/switch.d.ts.map +1 -0
- package/dist/catalog/components/switch.js +8 -0
- package/dist/catalog/components/switch.js.map +1 -0
- package/dist/catalog/components/tab-nav.d.ts +8 -0
- package/dist/catalog/components/tab-nav.d.ts.map +1 -0
- package/dist/catalog/components/tab-nav.js +9 -0
- package/dist/catalog/components/tab-nav.js.map +1 -0
- package/dist/catalog/components/table.d.ts +23 -0
- package/dist/catalog/components/table.d.ts.map +1 -0
- package/dist/catalog/components/table.js +15 -0
- package/dist/catalog/components/table.js.map +1 -0
- package/dist/catalog/components/tabs.d.ts +8 -0
- package/dist/catalog/components/tabs.d.ts.map +1 -0
- package/dist/catalog/components/tabs.js +9 -0
- package/dist/catalog/components/tabs.js.map +1 -0
- package/dist/catalog/components/text-area.d.ts +8 -0
- package/dist/catalog/components/text-area.d.ts.map +1 -0
- package/dist/catalog/components/text-area.js +9 -0
- package/dist/catalog/components/text-area.js.map +1 -0
- package/dist/catalog/components/text.d.ts +13 -0
- package/dist/catalog/components/text.d.ts.map +1 -0
- package/dist/catalog/components/text.js +9 -0
- package/dist/catalog/components/text.js.map +1 -0
- package/dist/catalog/components/toast.d.ts +7 -0
- package/dist/catalog/components/toast.d.ts.map +1 -0
- package/dist/catalog/components/toast.js +8 -0
- package/dist/catalog/components/toast.js.map +1 -0
- package/dist/catalog/components/toggle-group.d.ts +9 -0
- package/dist/catalog/components/toggle-group.d.ts.map +1 -0
- package/dist/catalog/components/toggle-group.js +10 -0
- package/dist/catalog/components/toggle-group.js.map +1 -0
- package/dist/catalog/components/toggle.d.ts +9 -0
- package/dist/catalog/components/toggle.d.ts.map +1 -0
- package/dist/catalog/components/toggle.js +10 -0
- package/dist/catalog/components/toggle.js.map +1 -0
- package/dist/catalog/components/toolbar.d.ts +5 -0
- package/dist/catalog/components/toolbar.d.ts.map +1 -0
- package/dist/catalog/components/toolbar.js +6 -0
- package/dist/catalog/components/toolbar.js.map +1 -0
- package/dist/catalog/css-inputs.d.ts +258 -0
- package/dist/catalog/css-inputs.d.ts.map +1 -0
- package/dist/catalog/css-inputs.js +232 -0
- package/dist/catalog/css-inputs.js.map +1 -0
- package/dist/catalog/index.d.ts +6 -0
- package/dist/catalog/index.d.ts.map +1 -0
- package/dist/catalog/index.js +4 -0
- package/dist/catalog/index.js.map +1 -0
- package/dist/catalog/parts.d.ts +40 -0
- package/dist/catalog/parts.d.ts.map +1 -0
- package/dist/catalog/parts.js +971 -0
- package/dist/catalog/parts.js.map +1 -0
- package/dist/catalog/prop-types-source.d.ts +11 -0
- package/dist/catalog/prop-types-source.d.ts.map +1 -0
- package/dist/catalog/prop-types-source.js +75 -0
- package/dist/catalog/prop-types-source.js.map +1 -0
- package/dist/catalog/prop-types.generated.d.ts +1155 -0
- package/dist/catalog/prop-types.generated.d.ts.map +1 -0
- package/dist/catalog/prop-types.generated.js +3 -0
- package/dist/catalog/prop-types.generated.js.map +1 -0
- package/dist/catalog/props.d.ts +87 -0
- package/dist/catalog/props.d.ts.map +1 -0
- package/dist/catalog/props.js +142 -0
- package/dist/catalog/props.js.map +1 -0
- package/dist/css.d.ts +38 -0
- package/dist/css.d.ts.map +1 -0
- package/dist/css.js +257 -0
- package/dist/css.js.map +1 -0
- package/dist/generated-css.d.ts +6 -0
- package/dist/generated-css.d.ts.map +1 -0
- package/dist/generated-css.js +19 -0
- package/dist/generated-css.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/model/compare.d.ts +40 -0
- package/dist/model/compare.d.ts.map +1 -0
- package/dist/model/compare.js +83 -0
- package/dist/model/compare.js.map +1 -0
- package/dist/model/dom.d.ts +60 -0
- package/dist/model/dom.d.ts.map +1 -0
- package/dist/model/dom.js +192 -0
- package/dist/model/dom.js.map +1 -0
- package/dist/model/ids.d.ts +8 -0
- package/dist/model/ids.d.ts.map +1 -0
- package/dist/model/ids.js +25 -0
- package/dist/model/ids.js.map +1 -0
- package/dist/model/index.d.ts +8 -0
- package/dist/model/index.d.ts.map +1 -0
- package/dist/model/index.js +8 -0
- package/dist/model/index.js.map +1 -0
- package/dist/model/parts.d.ts +18 -0
- package/dist/model/parts.d.ts.map +1 -0
- package/dist/model/parts.js +91 -0
- package/dist/model/parts.js.map +1 -0
- package/dist/model/styles.d.ts +59 -0
- package/dist/model/styles.d.ts.map +1 -0
- package/dist/model/styles.js +191 -0
- package/dist/model/styles.js.map +1 -0
- package/dist/model/types.d.ts +96 -0
- package/dist/model/types.d.ts.map +1 -0
- package/dist/model/types.js +2 -0
- package/dist/model/types.js.map +1 -0
- package/dist/model/validate.d.ts +54 -0
- package/dist/model/validate.d.ts.map +1 -0
- package/dist/model/validate.js +92 -0
- package/dist/model/validate.js.map +1 -0
- package/dist/themes/appearances.d.ts +98 -0
- package/dist/themes/appearances.d.ts.map +1 -0
- package/dist/themes/appearances.js +98 -0
- package/dist/themes/appearances.js.map +1 -0
- package/dist/themes/baseline.d.ts +9 -0
- package/dist/themes/baseline.d.ts.map +1 -0
- package/dist/themes/baseline.js +21 -0
- package/dist/themes/baseline.js.map +1 -0
- package/dist/themes/index.d.ts +15 -0
- package/dist/themes/index.d.ts.map +1 -0
- package/dist/themes/index.js +68 -0
- package/dist/themes/index.js.map +1 -0
- package/dist/themes/reference.d.ts +7 -0
- package/dist/themes/reference.d.ts.map +1 -0
- package/dist/themes/reference.js +9 -0
- package/dist/themes/reference.js.map +1 -0
- package/dist/themes/shadcn.d.ts +21 -0
- package/dist/themes/shadcn.d.ts.map +1 -0
- package/dist/themes/shadcn.js +189 -0
- package/dist/themes/shadcn.js.map +1 -0
- package/dist/themes/types.d.ts +58 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/themes/types.js +2 -0
- package/dist/themes/types.js.map +1 -0
- package/dist/tokens/at.d.ts +6 -0
- package/dist/tokens/at.d.ts.map +1 -0
- package/dist/tokens/at.js +12 -0
- package/dist/tokens/at.js.map +1 -0
- package/dist/tokens/base.d.ts +21 -0
- package/dist/tokens/base.d.ts.map +1 -0
- package/dist/tokens/base.js +43 -0
- package/dist/tokens/base.js.map +1 -0
- package/dist/tokens/color/bezier.d.ts +2 -0
- package/dist/tokens/color/bezier.d.ts.map +1 -0
- package/dist/tokens/color/bezier.js +79 -0
- package/dist/tokens/color/bezier.js.map +1 -0
- package/dist/tokens/color/index.d.ts +3 -0
- package/dist/tokens/color/index.d.ts.map +1 -0
- package/dist/tokens/color/index.js +3 -0
- package/dist/tokens/color/index.js.map +1 -0
- package/dist/tokens/color/radix-generator.d.ts +31 -0
- package/dist/tokens/color/radix-generator.d.ts.map +1 -0
- package/dist/tokens/color/radix-generator.js +311 -0
- package/dist/tokens/color/radix-generator.js.map +1 -0
- package/dist/tokens/component-inputs.d.ts +15 -0
- package/dist/tokens/component-inputs.d.ts.map +1 -0
- package/dist/tokens/component-inputs.js +119 -0
- package/dist/tokens/component-inputs.js.map +1 -0
- package/dist/tokens/dtcg.d.ts +59 -0
- package/dist/tokens/dtcg.d.ts.map +1 -0
- package/dist/tokens/dtcg.js +214 -0
- package/dist/tokens/dtcg.js.map +1 -0
- package/dist/tokens/files/components.tokens.json +184 -0
- package/dist/tokens/files/foundations.tokens.json +322 -0
- package/dist/tokens/files/palette.tokens.json +58 -0
- package/dist/tokens/files/text-styles.tokens.json +158 -0
- package/dist/tokens/files/themes/agent-native.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/agent-native.light.tokens.json +391 -0
- package/dist/tokens/files/themes/analytics.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/analytics.light.tokens.json +391 -0
- package/dist/tokens/files/themes/assets.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/assets.light.tokens.json +391 -0
- package/dist/tokens/files/themes/brain.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/brain.light.tokens.json +391 -0
- package/dist/tokens/files/themes/calendar.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/calendar.light.tokens.json +391 -0
- package/dist/tokens/files/themes/chat.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/chat.light.tokens.json +391 -0
- package/dist/tokens/files/themes/clips.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/clips.light.tokens.json +391 -0
- package/dist/tokens/files/themes/content.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/content.light.tokens.json +391 -0
- package/dist/tokens/files/themes/crm.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/crm.light.tokens.json +391 -0
- package/dist/tokens/files/themes/design.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/design.light.tokens.json +391 -0
- package/dist/tokens/files/themes/desktop.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/desktop.light.tokens.json +391 -0
- package/dist/tokens/files/themes/dispatch.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/dispatch.light.tokens.json +391 -0
- package/dist/tokens/files/themes/docs.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/docs.light.tokens.json +391 -0
- package/dist/tokens/files/themes/factory.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/factory.light.tokens.json +391 -0
- package/dist/tokens/files/themes/forms.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/forms.light.tokens.json +391 -0
- package/dist/tokens/files/themes/mail.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/mail.light.tokens.json +391 -0
- package/dist/tokens/files/themes/plan.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/plan.light.tokens.json +391 -0
- package/dist/tokens/files/themes/slides.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/slides.light.tokens.json +391 -0
- package/dist/tokens/files/themes/tasks.dark.tokens.json +391 -0
- package/dist/tokens/files/themes/tasks.light.tokens.json +391 -0
- package/dist/tokens/palette.d.ts +46 -0
- package/dist/tokens/palette.d.ts.map +1 -0
- package/dist/tokens/palette.js +223 -0
- package/dist/tokens/palette.js.map +1 -0
- package/dist/tokens/primitives.d.ts +52 -0
- package/dist/tokens/primitives.d.ts.map +1 -0
- package/dist/tokens/primitives.js +80 -0
- package/dist/tokens/primitives.js.map +1 -0
- package/dist/tokens/roles.d.ts +37 -0
- package/dist/tokens/roles.d.ts.map +1 -0
- package/dist/tokens/roles.js +208 -0
- package/dist/tokens/roles.js.map +1 -0
- package/dist/tokens/round-trip.d.ts +50 -0
- package/dist/tokens/round-trip.d.ts.map +1 -0
- package/dist/tokens/round-trip.js +226 -0
- package/dist/tokens/round-trip.js.map +1 -0
- package/dist/tokens/source.d.ts +111 -0
- package/dist/tokens/source.d.ts.map +1 -0
- package/dist/tokens/source.js +311 -0
- package/dist/tokens/source.js.map +1 -0
- package/package.json +21 -15
- package/src/catalog/components/alert-dialog.ts +1 -9
- package/src/catalog/components/alignment-picker.ts +16 -0
- package/src/catalog/components/autocomplete.ts +2 -2
- package/src/catalog/components/avatar.ts +0 -3
- package/src/catalog/components/badge.ts +0 -2
- package/src/catalog/components/blockquote.ts +1 -2
- package/src/catalog/components/button.ts +14 -2
- package/src/catalog/components/callout.ts +1 -11
- package/src/catalog/components/card.ts +1 -6
- package/src/catalog/components/checkbox-cards.ts +1 -7
- package/src/catalog/components/checkbox-group.ts +1 -7
- package/src/catalog/components/checkbox.ts +1 -7
- package/src/catalog/components/code.ts +0 -5
- package/src/catalog/components/color-swatch.ts +6 -0
- package/src/catalog/components/combobox.ts +2 -2
- package/src/catalog/components/context-menu.ts +1 -3
- package/src/catalog/components/data-list.ts +0 -1
- package/src/catalog/components/dialog.ts +1 -9
- package/src/catalog/components/font-picker.ts +11 -0
- package/src/catalog/components/grid-size-picker.ts +12 -0
- package/src/catalog/components/heading.ts +10 -1
- package/src/catalog/components/index.ts +4 -3
- package/src/catalog/components/input.ts +2 -2
- package/src/catalog/components/item.ts +1 -6
- package/src/catalog/components/kbd.ts +1 -5
- package/src/catalog/components/link.ts +1 -5
- package/src/catalog/components/menu.ts +1 -3
- package/src/catalog/components/menubar.ts +1 -3
- package/src/catalog/components/meter.ts +0 -6
- package/src/catalog/components/number-field.ts +8 -3
- package/src/catalog/components/otp-field.ts +1 -3
- package/src/catalog/components/popover.ts +1 -9
- package/src/catalog/components/preview-card.ts +1 -9
- package/src/catalog/components/progress.ts +0 -6
- package/src/catalog/components/radio-cards.ts +1 -7
- package/src/catalog/components/radio-group.ts +1 -7
- package/src/catalog/components/scroll-area.ts +0 -5
- package/src/catalog/components/segmented-control.ts +2 -2
- package/src/catalog/components/select.ts +3 -3
- package/src/catalog/components/separator.ts +0 -5
- package/src/catalog/components/slider.ts +0 -6
- package/src/catalog/components/spinner.ts +0 -7
- package/src/catalog/components/switch.ts +0 -6
- package/src/catalog/components/tab-nav.ts +0 -1
- package/src/catalog/components/table.ts +0 -5
- package/src/catalog/components/tabs.ts +0 -1
- package/src/catalog/components/text-area.ts +2 -2
- package/src/catalog/components/text.ts +5 -0
- package/src/catalog/components/toggle-group.ts +3 -3
- package/src/catalog/components/toggle.ts +2 -2
- package/src/catalog/components/toolbar.ts +2 -2
- package/src/catalog/css-inputs.ts +261 -0
- package/src/catalog/index.ts +1 -0
- package/src/catalog/parts.ts +292 -49
- package/src/catalog/prop-types-source.ts +1 -1
- package/src/catalog/prop-types.generated.ts +179 -277
- package/src/catalog/props.ts +29 -11
- package/src/css.ts +115 -31
- package/src/generated-css.ts +12 -8
- package/src/model/compare.ts +11 -11
- package/src/model/dom.ts +30 -30
- package/src/model/index.ts +1 -0
- package/src/model/parts.ts +114 -0
- package/src/model/styles.ts +28 -28
- package/src/model/types.ts +2 -2
- package/src/model/validate.ts +4 -13
- package/src/themes/index.ts +13 -9
- package/src/themes/shadcn.ts +1 -1
- package/src/tokens/component-inputs.ts +165 -0
- package/src/tokens/files/components.tokens.json +184 -0
- package/src/tokens/files/foundations.tokens.json +5 -1
- package/src/tokens/files/text-styles.tokens.json +158 -0
- package/src/tokens/files/themes/agent-native.dark.tokens.json +0 -14
- package/src/tokens/files/themes/agent-native.light.tokens.json +0 -14
- package/src/tokens/primitives.ts +28 -3
- package/src/tokens/roles.ts +6 -6
- package/src/tokens/round-trip.ts +46 -1
- package/src/tokens/source.ts +114 -2
- package/css/parts/em.css +0 -16
- package/css/parts/quote.css +0 -18
- package/css/parts/strong.css +0 -15
- package/src/catalog/components/em.ts +0 -7
- package/src/catalog/components/quote.ts +0 -7
- package/src/catalog/components/strong.ts +0 -7
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"background": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": {
|
|
6
|
+
"colorSpace": "srgb",
|
|
7
|
+
"components": [1, 1, 1],
|
|
8
|
+
"alpha": 1,
|
|
9
|
+
"hex": "#ffffff"
|
|
10
|
+
},
|
|
11
|
+
"$extensions": {
|
|
12
|
+
"com.agent-native": {
|
|
13
|
+
"hsl": "0 0% 100%"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"foreground": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": {
|
|
20
|
+
"colorSpace": "srgb",
|
|
21
|
+
"components": [0.09, 0.096667, 0.11],
|
|
22
|
+
"alpha": 1,
|
|
23
|
+
"hex": "#17191c"
|
|
24
|
+
},
|
|
25
|
+
"$extensions": {
|
|
26
|
+
"com.agent-native": {
|
|
27
|
+
"hsl": "220 10% 10%"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"card": {
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$value": {
|
|
34
|
+
"colorSpace": "srgb",
|
|
35
|
+
"components": [1, 1, 1],
|
|
36
|
+
"alpha": 1,
|
|
37
|
+
"hex": "#ffffff"
|
|
38
|
+
},
|
|
39
|
+
"$extensions": {
|
|
40
|
+
"com.agent-native": {
|
|
41
|
+
"hsl": "0 0% 100%"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"card-foreground": {
|
|
46
|
+
"$type": "color",
|
|
47
|
+
"$value": {
|
|
48
|
+
"colorSpace": "srgb",
|
|
49
|
+
"components": [0.09, 0.096667, 0.11],
|
|
50
|
+
"alpha": 1,
|
|
51
|
+
"hex": "#17191c"
|
|
52
|
+
},
|
|
53
|
+
"$extensions": {
|
|
54
|
+
"com.agent-native": {
|
|
55
|
+
"hsl": "220 10% 10%"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"popover": {
|
|
60
|
+
"$type": "color",
|
|
61
|
+
"$value": {
|
|
62
|
+
"colorSpace": "srgb",
|
|
63
|
+
"components": [1, 1, 1],
|
|
64
|
+
"alpha": 1,
|
|
65
|
+
"hex": "#ffffff"
|
|
66
|
+
},
|
|
67
|
+
"$extensions": {
|
|
68
|
+
"com.agent-native": {
|
|
69
|
+
"hsl": "0 0% 100%"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"popover-foreground": {
|
|
74
|
+
"$type": "color",
|
|
75
|
+
"$value": {
|
|
76
|
+
"colorSpace": "srgb",
|
|
77
|
+
"components": [0.09, 0.096667, 0.11],
|
|
78
|
+
"alpha": 1,
|
|
79
|
+
"hex": "#17191c"
|
|
80
|
+
},
|
|
81
|
+
"$extensions": {
|
|
82
|
+
"com.agent-native": {
|
|
83
|
+
"hsl": "220 10% 10%"
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"primary": {
|
|
88
|
+
"$type": "color",
|
|
89
|
+
"$value": {
|
|
90
|
+
"colorSpace": "srgb",
|
|
91
|
+
"components": [0.101961, 0.439216, 0.921569],
|
|
92
|
+
"alpha": 1,
|
|
93
|
+
"hex": "#1a70eb"
|
|
94
|
+
},
|
|
95
|
+
"$extensions": {
|
|
96
|
+
"com.agent-native": {
|
|
97
|
+
"hsl": "220 10% 15%"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"primary-foreground": {
|
|
102
|
+
"$type": "color",
|
|
103
|
+
"$value": {
|
|
104
|
+
"colorSpace": "srgb",
|
|
105
|
+
"components": [1.0, 1.0, 1.0],
|
|
106
|
+
"alpha": 1,
|
|
107
|
+
"hex": "#ffffff"
|
|
108
|
+
},
|
|
109
|
+
"$extensions": {
|
|
110
|
+
"com.agent-native": {
|
|
111
|
+
"hsl": "0 0% 100%"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"secondary": {
|
|
116
|
+
"$type": "color",
|
|
117
|
+
"$value": {
|
|
118
|
+
"colorSpace": "srgb",
|
|
119
|
+
"components": [0.945, 0.948333, 0.955],
|
|
120
|
+
"alpha": 1,
|
|
121
|
+
"hex": "#f1f2f4"
|
|
122
|
+
},
|
|
123
|
+
"$extensions": {
|
|
124
|
+
"com.agent-native": {
|
|
125
|
+
"hsl": "220 10% 95%"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"secondary-foreground": {
|
|
130
|
+
"$type": "color",
|
|
131
|
+
"$value": {
|
|
132
|
+
"colorSpace": "srgb",
|
|
133
|
+
"components": [0.135, 0.145, 0.165],
|
|
134
|
+
"alpha": 1,
|
|
135
|
+
"hex": "#22252a"
|
|
136
|
+
},
|
|
137
|
+
"$extensions": {
|
|
138
|
+
"com.agent-native": {
|
|
139
|
+
"hsl": "220 10% 15%"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"muted": {
|
|
144
|
+
"$type": "color",
|
|
145
|
+
"$value": {
|
|
146
|
+
"colorSpace": "srgb",
|
|
147
|
+
"components": [0.945, 0.948333, 0.955],
|
|
148
|
+
"alpha": 1,
|
|
149
|
+
"hex": "#f1f2f4"
|
|
150
|
+
},
|
|
151
|
+
"$extensions": {
|
|
152
|
+
"com.agent-native": {
|
|
153
|
+
"hsl": "220 10% 95%"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"muted-foreground": {
|
|
158
|
+
"$type": "color",
|
|
159
|
+
"$value": {
|
|
160
|
+
"colorSpace": "srgb",
|
|
161
|
+
"components": [0.4275, 0.4425, 0.4725],
|
|
162
|
+
"alpha": 1,
|
|
163
|
+
"hex": "#6d7178"
|
|
164
|
+
},
|
|
165
|
+
"$extensions": {
|
|
166
|
+
"com.agent-native": {
|
|
167
|
+
"hsl": "220 5% 45%"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"accent": {
|
|
172
|
+
"$type": "color",
|
|
173
|
+
"$value": {
|
|
174
|
+
"colorSpace": "srgb",
|
|
175
|
+
"components": [0.945, 0.948333, 0.955],
|
|
176
|
+
"alpha": 1,
|
|
177
|
+
"hex": "#f1f2f4"
|
|
178
|
+
},
|
|
179
|
+
"$extensions": {
|
|
180
|
+
"com.agent-native": {
|
|
181
|
+
"hsl": "220 10% 95%"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"accent-foreground": {
|
|
186
|
+
"$type": "color",
|
|
187
|
+
"$value": {
|
|
188
|
+
"colorSpace": "srgb",
|
|
189
|
+
"components": [0.135, 0.145, 0.165],
|
|
190
|
+
"alpha": 1,
|
|
191
|
+
"hex": "#22252a"
|
|
192
|
+
},
|
|
193
|
+
"$extensions": {
|
|
194
|
+
"com.agent-native": {
|
|
195
|
+
"hsl": "220 10% 15%"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"destructive": {
|
|
200
|
+
"$type": "color",
|
|
201
|
+
"$value": {
|
|
202
|
+
"colorSpace": "srgb",
|
|
203
|
+
"components": [0.9739, 0.4461, 0.4461],
|
|
204
|
+
"alpha": 1,
|
|
205
|
+
"hex": "#f87272"
|
|
206
|
+
},
|
|
207
|
+
"$extensions": {
|
|
208
|
+
"com.agent-native": {
|
|
209
|
+
"hsl": "0 91% 71%"
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"destructive-foreground": {
|
|
214
|
+
"$type": "color",
|
|
215
|
+
"$value": {
|
|
216
|
+
"colorSpace": "srgb",
|
|
217
|
+
"components": [0.98, 0.98, 0.98],
|
|
218
|
+
"alpha": 1,
|
|
219
|
+
"hex": "#fafafa"
|
|
220
|
+
},
|
|
221
|
+
"$extensions": {
|
|
222
|
+
"com.agent-native": {
|
|
223
|
+
"hsl": "0 0% 98%"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"border": {
|
|
228
|
+
"$type": "color",
|
|
229
|
+
"$value": {
|
|
230
|
+
"colorSpace": "srgb",
|
|
231
|
+
"components": [0.89, 0.896667, 0.91],
|
|
232
|
+
"alpha": 1,
|
|
233
|
+
"hex": "#e3e5e8"
|
|
234
|
+
},
|
|
235
|
+
"$extensions": {
|
|
236
|
+
"com.agent-native": {
|
|
237
|
+
"hsl": "220 10% 90%"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"input": {
|
|
242
|
+
"$type": "color",
|
|
243
|
+
"$value": {
|
|
244
|
+
"colorSpace": "srgb",
|
|
245
|
+
"components": [0.89, 0.896667, 0.91],
|
|
246
|
+
"alpha": 1,
|
|
247
|
+
"hex": "#e3e5e8"
|
|
248
|
+
},
|
|
249
|
+
"$extensions": {
|
|
250
|
+
"com.agent-native": {
|
|
251
|
+
"hsl": "220 10% 90%"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"ring": {
|
|
256
|
+
"$type": "color",
|
|
257
|
+
"$value": {
|
|
258
|
+
"colorSpace": "srgb",
|
|
259
|
+
"components": [0.101961, 0.439216, 0.921569],
|
|
260
|
+
"alpha": 1,
|
|
261
|
+
"hex": "#1a70eb"
|
|
262
|
+
},
|
|
263
|
+
"$extensions": {
|
|
264
|
+
"com.agent-native": {
|
|
265
|
+
"hsl": "220 10% 40%"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"sidebar-background": {
|
|
270
|
+
"$type": "color",
|
|
271
|
+
"$value": {
|
|
272
|
+
"colorSpace": "srgb",
|
|
273
|
+
"components": [0.967, 0.969, 0.973],
|
|
274
|
+
"alpha": 1,
|
|
275
|
+
"hex": "#f7f7f8"
|
|
276
|
+
},
|
|
277
|
+
"$extensions": {
|
|
278
|
+
"com.agent-native": {
|
|
279
|
+
"hsl": "220 10% 97%"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"sidebar-foreground": {
|
|
284
|
+
"$type": "color",
|
|
285
|
+
"$value": {
|
|
286
|
+
"colorSpace": "srgb",
|
|
287
|
+
"components": [0.4275, 0.4425, 0.4725],
|
|
288
|
+
"alpha": 1,
|
|
289
|
+
"hex": "#6d7178"
|
|
290
|
+
},
|
|
291
|
+
"$extensions": {
|
|
292
|
+
"com.agent-native": {
|
|
293
|
+
"hsl": "220 5% 45%"
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"sidebar-primary": {
|
|
298
|
+
"$type": "color",
|
|
299
|
+
"$value": {
|
|
300
|
+
"colorSpace": "srgb",
|
|
301
|
+
"components": [0.101961, 0.439216, 0.921569],
|
|
302
|
+
"alpha": 1,
|
|
303
|
+
"hex": "#1a70eb"
|
|
304
|
+
},
|
|
305
|
+
"$extensions": {
|
|
306
|
+
"com.agent-native": {
|
|
307
|
+
"hsl": "220 10% 15%"
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"sidebar-primary-foreground": {
|
|
312
|
+
"$type": "color",
|
|
313
|
+
"$value": {
|
|
314
|
+
"colorSpace": "srgb",
|
|
315
|
+
"components": [1.0, 1.0, 1.0],
|
|
316
|
+
"alpha": 1,
|
|
317
|
+
"hex": "#ffffff"
|
|
318
|
+
},
|
|
319
|
+
"$extensions": {
|
|
320
|
+
"com.agent-native": {
|
|
321
|
+
"hsl": "0 0% 100%"
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
"sidebar-accent": {
|
|
326
|
+
"$type": "color",
|
|
327
|
+
"$value": {
|
|
328
|
+
"colorSpace": "srgb",
|
|
329
|
+
"components": [0.945, 0.948333, 0.955],
|
|
330
|
+
"alpha": 1,
|
|
331
|
+
"hex": "#f1f2f4"
|
|
332
|
+
},
|
|
333
|
+
"$extensions": {
|
|
334
|
+
"com.agent-native": {
|
|
335
|
+
"hsl": "220 10% 95%"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"sidebar-accent-foreground": {
|
|
340
|
+
"$type": "color",
|
|
341
|
+
"$value": {
|
|
342
|
+
"colorSpace": "srgb",
|
|
343
|
+
"components": [0.135, 0.145, 0.165],
|
|
344
|
+
"alpha": 1,
|
|
345
|
+
"hex": "#22252a"
|
|
346
|
+
},
|
|
347
|
+
"$extensions": {
|
|
348
|
+
"com.agent-native": {
|
|
349
|
+
"hsl": "220 10% 15%"
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
},
|
|
353
|
+
"sidebar-border": {
|
|
354
|
+
"$type": "color",
|
|
355
|
+
"$value": {
|
|
356
|
+
"colorSpace": "srgb",
|
|
357
|
+
"components": [0.89, 0.896667, 0.91],
|
|
358
|
+
"alpha": 1,
|
|
359
|
+
"hex": "#e3e5e8"
|
|
360
|
+
},
|
|
361
|
+
"$extensions": {
|
|
362
|
+
"com.agent-native": {
|
|
363
|
+
"hsl": "220 10% 90%"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"sidebar-ring": {
|
|
368
|
+
"$type": "color",
|
|
369
|
+
"$value": {
|
|
370
|
+
"colorSpace": "srgb",
|
|
371
|
+
"components": [0.101961, 0.439216, 0.921569],
|
|
372
|
+
"alpha": 1,
|
|
373
|
+
"hex": "#1a70eb"
|
|
374
|
+
},
|
|
375
|
+
"$extensions": {
|
|
376
|
+
"com.agent-native": {
|
|
377
|
+
"hsl": "220 10% 40%"
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
"radius": {
|
|
383
|
+
"$type": "number",
|
|
384
|
+
"$value": 8,
|
|
385
|
+
"$extensions": {
|
|
386
|
+
"com.agent-native": {
|
|
387
|
+
"unit": "rem"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type Appearance, type RadixScaleName } from "./color/radix-generator.js";
|
|
2
|
+
import type { TokenMap } from "./primitives.js";
|
|
3
|
+
export type StatusRole = "danger" | "warning" | "success" | "info";
|
|
4
|
+
export declare const STATUS_ROLES: readonly StatusRole[];
|
|
5
|
+
export interface PaletteInput {
|
|
6
|
+
/** Any CSS color. Becomes the 12-step `--brand-*` scale. */
|
|
7
|
+
brand: string;
|
|
8
|
+
/** Any CSS color whose hue and chroma tint the `--gray-*` scale. */
|
|
9
|
+
gray?: string;
|
|
10
|
+
/** Page background per appearance. */
|
|
11
|
+
background?: Partial<Record<Appearance, string>>;
|
|
12
|
+
/** A Radix scale name (`"tomato"`) or any CSS color, per status role. */
|
|
13
|
+
status?: Partial<Record<StatusRole, RadixScaleName | string>>;
|
|
14
|
+
}
|
|
15
|
+
export interface ResolvedPaletteInput {
|
|
16
|
+
brand: string;
|
|
17
|
+
gray: string;
|
|
18
|
+
background: Record<Appearance, string>;
|
|
19
|
+
status: Record<StatusRole, string>;
|
|
20
|
+
}
|
|
21
|
+
export interface AppearanceTokens {
|
|
22
|
+
/** sRGB values every browser can paint. */
|
|
23
|
+
srgb: TokenMap;
|
|
24
|
+
/** Display-P3 overrides, applied only on wide-gamut screens. */
|
|
25
|
+
p3: TokenMap;
|
|
26
|
+
/** shadcn HSL triplets (`--primary: 240 5% 26%`) for unmigrated code. */
|
|
27
|
+
legacy: TokenMap;
|
|
28
|
+
}
|
|
29
|
+
export interface Palette {
|
|
30
|
+
input: ResolvedPaletteInput;
|
|
31
|
+
light: AppearanceTokens;
|
|
32
|
+
dark: AppearanceTokens;
|
|
33
|
+
}
|
|
34
|
+
/** From `files/palette.tokens.json`. */
|
|
35
|
+
export declare const DEFAULT_PALETTE_INPUT: ResolvedPaletteInput;
|
|
36
|
+
export declare function resolvePaletteInput(input: PaletteInput): ResolvedPaletteInput;
|
|
37
|
+
/**
|
|
38
|
+
* Every color primitive for a brand, in both appearances: the brand, gray and
|
|
39
|
+
* status scales (12 solid + 12 alpha steps each, plus contrast, surface,
|
|
40
|
+
* indicator and track), the base surfaces, and the legacy shadcn triplets.
|
|
41
|
+
* Throws on an unparseable color rather than falling back to a default.
|
|
42
|
+
*/
|
|
43
|
+
export declare function createPalette(input: PaletteInput): Palette;
|
|
44
|
+
/** `H S% L%`, the format shadcn variables are consumed in (`hsl(var(--x) / a)`). */
|
|
45
|
+
export declare function toHslTriplet(value: string): string;
|
|
46
|
+
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../src/tokens/palette.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,UAAU,EAIf,KAAK,cAAc,EAEpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGhD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AACnE,eAAO,MAAM,YAAY,EAAE,SAAS,UAAU,EAK7C,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC;IACjD,yEAAyE;IACzE,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM,CAAC,CAAC,CAAC;CAC/D;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACvC,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B,2CAA2C;IAC3C,IAAI,EAAE,QAAQ,CAAC;IACf,gEAAgE;IAChE,EAAE,EAAE,QAAQ,CAAC;IACb,yEAAyE;IACzE,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,KAAK,EAAE,gBAAgB,CAAC;IACxB,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,wCAAwC;AACxC,eAAO,MAAM,qBAAqB,EAAE,oBAAuC,CAAC;AAkB5E,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,oBAAoB,CAe7E;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAO1D;AAwMD,oFAAoF;AACpF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAGlD"}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import * as RadixColors from "@radix-ui/colors";
|
|
2
|
+
import Color from "colorjs.io";
|
|
3
|
+
import { at } from "./at.js";
|
|
4
|
+
import { BASE_BY_APPEARANCE } from "./base.js";
|
|
5
|
+
import { generateRadixColors, RADIX_SCALE_NAMES, } from "./color/radix-generator.js";
|
|
6
|
+
import { PALETTE_DEFAULTS } from "./source.js";
|
|
7
|
+
export const STATUS_ROLES = [
|
|
8
|
+
"danger",
|
|
9
|
+
"warning",
|
|
10
|
+
"success",
|
|
11
|
+
"info",
|
|
12
|
+
];
|
|
13
|
+
/** From `files/palette.tokens.json`. */
|
|
14
|
+
export const DEFAULT_PALETTE_INPUT = PALETTE_DEFAULTS;
|
|
15
|
+
const radixPalettes = RadixColors;
|
|
16
|
+
function isRadixScaleName(value) {
|
|
17
|
+
return RADIX_SCALE_NAMES.includes(value);
|
|
18
|
+
}
|
|
19
|
+
function statusSeed(value) {
|
|
20
|
+
if (!isRadixScaleName(value))
|
|
21
|
+
return value;
|
|
22
|
+
const seed = radixPalettes[value]?.[`${value}9`];
|
|
23
|
+
if (!seed)
|
|
24
|
+
throw new Error(`Missing Radix step 9 for ${value}`);
|
|
25
|
+
return seed;
|
|
26
|
+
}
|
|
27
|
+
export function resolvePaletteInput(input) {
|
|
28
|
+
return {
|
|
29
|
+
brand: input.brand,
|
|
30
|
+
gray: input.gray ?? DEFAULT_PALETTE_INPUT.gray,
|
|
31
|
+
background: {
|
|
32
|
+
light: input.background?.light ?? DEFAULT_PALETTE_INPUT.background.light,
|
|
33
|
+
dark: input.background?.dark ?? DEFAULT_PALETTE_INPUT.background.dark,
|
|
34
|
+
},
|
|
35
|
+
status: {
|
|
36
|
+
danger: input.status?.danger ?? DEFAULT_PALETTE_INPUT.status.danger,
|
|
37
|
+
warning: input.status?.warning ?? DEFAULT_PALETTE_INPUT.status.warning,
|
|
38
|
+
success: input.status?.success ?? DEFAULT_PALETTE_INPUT.status.success,
|
|
39
|
+
info: input.status?.info ?? DEFAULT_PALETTE_INPUT.status.info,
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Every color primitive for a brand, in both appearances: the brand, gray and
|
|
45
|
+
* status scales (12 solid + 12 alpha steps each, plus contrast, surface,
|
|
46
|
+
* indicator and track), the base surfaces, and the legacy shadcn triplets.
|
|
47
|
+
* Throws on an unparseable color rather than falling back to a default.
|
|
48
|
+
*/
|
|
49
|
+
export function createPalette(input) {
|
|
50
|
+
const resolved = resolvePaletteInput(input);
|
|
51
|
+
return {
|
|
52
|
+
input: resolved,
|
|
53
|
+
light: appearanceTokens(resolved, "light"),
|
|
54
|
+
dark: appearanceTokens(resolved, "dark"),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function appearanceTokens(input, appearance) {
|
|
58
|
+
const background = input.background[appearance];
|
|
59
|
+
const brand = generateRadixColors({
|
|
60
|
+
appearance,
|
|
61
|
+
accent: input.brand,
|
|
62
|
+
gray: input.gray,
|
|
63
|
+
background,
|
|
64
|
+
});
|
|
65
|
+
const srgb = {};
|
|
66
|
+
const p3 = {};
|
|
67
|
+
writeScale(srgb, p3, "gray", {
|
|
68
|
+
solid: brand.grayScale,
|
|
69
|
+
alpha: brand.grayScaleAlpha,
|
|
70
|
+
solidP3: brand.grayScaleWideGamut,
|
|
71
|
+
alphaP3: brand.grayScaleAlphaWideGamut,
|
|
72
|
+
contrast: "#ffffff",
|
|
73
|
+
surface: brand.graySurface,
|
|
74
|
+
surfaceP3: brand.graySurfaceWideGamut,
|
|
75
|
+
background: brand.background,
|
|
76
|
+
});
|
|
77
|
+
writeAccent(srgb, p3, "brand", brand);
|
|
78
|
+
const statusScales = {};
|
|
79
|
+
for (const role of STATUS_ROLES) {
|
|
80
|
+
statusScales[role] = generateRadixColors({
|
|
81
|
+
appearance,
|
|
82
|
+
accent: statusSeed(input.status[role]),
|
|
83
|
+
gray: input.gray,
|
|
84
|
+
background,
|
|
85
|
+
});
|
|
86
|
+
writeAccent(srgb, p3, role, statusScales[role]);
|
|
87
|
+
}
|
|
88
|
+
const base = BASE_BY_APPEARANCE[appearance];
|
|
89
|
+
srgb["--base-background"] = brand.background;
|
|
90
|
+
srgb["--base-panel"] =
|
|
91
|
+
appearance === "light" ? brand.background : brand.grayScale[1];
|
|
92
|
+
srgb["--base-field"] = base.field;
|
|
93
|
+
srgb["--base-overlay"] = base.overlay;
|
|
94
|
+
base.shadowTint.forEach((value, index) => {
|
|
95
|
+
srgb[`--shadow-tint-a${index + 1}`] = value;
|
|
96
|
+
});
|
|
97
|
+
return {
|
|
98
|
+
srgb,
|
|
99
|
+
p3,
|
|
100
|
+
legacy: legacyTriplets(brand, srgb["--base-panel"], statusScales.danger, statusScales.success),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function writeScale(srgb, p3, name, source) {
|
|
104
|
+
source.solid.forEach((value, index) => {
|
|
105
|
+
srgb[`--${name}-${index + 1}`] = value;
|
|
106
|
+
p3[`--${name}-${index + 1}`] = at(source.solidP3, index);
|
|
107
|
+
});
|
|
108
|
+
source.alpha.forEach((value, index) => {
|
|
109
|
+
srgb[`--${name}-a${index + 1}`] = value;
|
|
110
|
+
p3[`--${name}-a${index + 1}`] = at(source.alphaP3, index);
|
|
111
|
+
});
|
|
112
|
+
srgb[`--${name}-contrast`] = source.contrast;
|
|
113
|
+
srgb[`--${name}-surface`] = source.surface;
|
|
114
|
+
p3[`--${name}-surface`] = source.surfaceP3;
|
|
115
|
+
writeReadableSteps(srgb, name, source);
|
|
116
|
+
}
|
|
117
|
+
const TEXT_CONTRAST = 4.5;
|
|
118
|
+
function stepsNearest(from) {
|
|
119
|
+
return Array.from({ length: 12 }, (_, index) => index + 1).sort((a, b) => Math.abs(a - from) - Math.abs(b - from) || b - a);
|
|
120
|
+
}
|
|
121
|
+
function readableStep(scale, from, against, what) {
|
|
122
|
+
const step = stepsNearest(from).find((candidate) => against.every((background) => new Color(at(scale, candidate - 1)).contrast(background, "WCAG21") >=
|
|
123
|
+
TEXT_CONTRAST));
|
|
124
|
+
if (step === undefined) {
|
|
125
|
+
throw new Error(`No step of this scale holds ${TEXT_CONTRAST}:1 ${what}`);
|
|
126
|
+
}
|
|
127
|
+
return step;
|
|
128
|
+
}
|
|
129
|
+
function readableTextMix(source, backgrounds) {
|
|
130
|
+
const eleven = new Color(at(source.solid, 10));
|
|
131
|
+
const twelve = new Color(at(source.solid, 11));
|
|
132
|
+
for (let percent = 0; percent <= 100; percent += 5) {
|
|
133
|
+
const text = eleven.mix(twelve, percent / 100, { space: "oklab" });
|
|
134
|
+
if (backgrounds.every((background) => text.contrast(background, "WCAG21") >= TEXT_CONTRAST)) {
|
|
135
|
+
return percent;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
throw new Error(`Neither step 11 nor 12 holds ${TEXT_CONTRAST}:1 on its tints`);
|
|
139
|
+
}
|
|
140
|
+
function over(alpha, background) {
|
|
141
|
+
const top = new Color(alpha).to("srgb");
|
|
142
|
+
const bottom = new Color(background).to("srgb");
|
|
143
|
+
const a = top.alpha;
|
|
144
|
+
const coords = top.coords.map((value, index) => (value ?? 0) * a + (bottom.coords[index] ?? 0) * (1 - a));
|
|
145
|
+
return new Color("srgb", coords).toString({ format: "hex" });
|
|
146
|
+
}
|
|
147
|
+
function writeReadableSteps(srgb, name, source) {
|
|
148
|
+
const solid = readableStep(source.solid, 9, [source.contrast], `under ${source.contrast} text`);
|
|
149
|
+
const text = readableTextMix(source, [
|
|
150
|
+
source.background,
|
|
151
|
+
over(at(source.alpha, 2), source.background),
|
|
152
|
+
over(at(source.alpha, 3), source.background),
|
|
153
|
+
]);
|
|
154
|
+
const toward = new Color(source.contrast).luminance > 0.5 ? "black" : "white";
|
|
155
|
+
srgb[`--${name}-solid`] = `var(--${name}-${solid})`;
|
|
156
|
+
srgb[`--${name}-solid-hover`] =
|
|
157
|
+
`color-mix(in oklab, var(--${name}-${solid}) 88%, ${toward})`;
|
|
158
|
+
srgb[`--${name}-text`] =
|
|
159
|
+
text === 0
|
|
160
|
+
? `var(--${name}-11)`
|
|
161
|
+
: `color-mix(in oklab, var(--${name}-11), var(--${name}-12) ${text}%)`;
|
|
162
|
+
}
|
|
163
|
+
function writeAccent(srgb, p3, name, colors) {
|
|
164
|
+
writeScale(srgb, p3, name, {
|
|
165
|
+
solid: colors.accentScale,
|
|
166
|
+
alpha: colors.accentScaleAlpha,
|
|
167
|
+
solidP3: colors.accentScaleWideGamut,
|
|
168
|
+
alphaP3: colors.accentScaleAlphaWideGamut,
|
|
169
|
+
contrast: colors.accentContrast,
|
|
170
|
+
surface: colors.accentSurface,
|
|
171
|
+
surfaceP3: colors.accentSurfaceWideGamut,
|
|
172
|
+
background: colors.background,
|
|
173
|
+
});
|
|
174
|
+
srgb[`--${name}-indicator`] = colors.accentScale[8];
|
|
175
|
+
srgb[`--${name}-track`] = colors.accentScale[8];
|
|
176
|
+
p3[`--${name}-indicator`] = colors.accentScaleWideGamut[8];
|
|
177
|
+
p3[`--${name}-track`] = colors.accentScaleWideGamut[8];
|
|
178
|
+
}
|
|
179
|
+
const toHsl = (value) => new Color(value).to("hsl");
|
|
180
|
+
function round(value) {
|
|
181
|
+
return Number(value.toFixed(3)).toString();
|
|
182
|
+
}
|
|
183
|
+
/** `H S% L%`, the format shadcn variables are consumed in (`hsl(var(--x) / a)`). */
|
|
184
|
+
export function toHslTriplet(value) {
|
|
185
|
+
const [hue, saturation, lightness] = toHsl(value).coords;
|
|
186
|
+
return `${round(hue ?? 0)} ${round(saturation ?? 0)}% ${round(lightness ?? 0)}%`;
|
|
187
|
+
}
|
|
188
|
+
function legacyTriplets(colors, panel, danger, success) {
|
|
189
|
+
const gray = (step) => at(colors.grayScale, step - 1);
|
|
190
|
+
const brand = (step) => at(colors.accentScale, step - 1);
|
|
191
|
+
const values = {
|
|
192
|
+
"--background": colors.background,
|
|
193
|
+
"--foreground": gray(12),
|
|
194
|
+
"--card": panel,
|
|
195
|
+
"--card-foreground": gray(12),
|
|
196
|
+
"--popover": panel,
|
|
197
|
+
"--popover-foreground": gray(12),
|
|
198
|
+
"--primary": brand(9),
|
|
199
|
+
"--primary-foreground": colors.accentContrast,
|
|
200
|
+
"--secondary": gray(3),
|
|
201
|
+
"--secondary-foreground": gray(12),
|
|
202
|
+
"--muted": gray(3),
|
|
203
|
+
"--muted-foreground": gray(11),
|
|
204
|
+
"--accent": gray(3),
|
|
205
|
+
"--accent-foreground": gray(12),
|
|
206
|
+
"--destructive": danger.accentScale[8],
|
|
207
|
+
"--destructive-foreground": danger.accentContrast,
|
|
208
|
+
"--border": gray(6),
|
|
209
|
+
"--input": gray(7),
|
|
210
|
+
"--ring": brand(8),
|
|
211
|
+
"--sidebar-background": gray(2),
|
|
212
|
+
"--sidebar-foreground": gray(11),
|
|
213
|
+
"--sidebar-primary": brand(9),
|
|
214
|
+
"--sidebar-primary-foreground": colors.accentContrast,
|
|
215
|
+
"--sidebar-accent": gray(4),
|
|
216
|
+
"--sidebar-accent-foreground": gray(12),
|
|
217
|
+
"--sidebar-border": gray(6),
|
|
218
|
+
"--sidebar-ring": brand(8),
|
|
219
|
+
"--success": success.accentScale[8],
|
|
220
|
+
};
|
|
221
|
+
return Object.fromEntries(Object.entries(values).map(([name, value]) => [name, toHslTriplet(value)]));
|
|
222
|
+
}
|
|
223
|
+
//# sourceMappingURL=palette.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.js","sourceRoot":"","sources":["../../src/tokens/palette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAEL,mBAAmB,EACnB,iBAAiB,GAIlB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG/C,MAAM,CAAC,MAAM,YAAY,GAA0B;IACjD,QAAQ;IACR,SAAS;IACT,SAAS;IACT,MAAM;CACP,CAAC;AAmCF,wCAAwC;AACxC,MAAM,CAAC,MAAM,qBAAqB,GAAyB,gBAAgB,CAAC;AAE5E,MAAM,aAAa,GAAG,WAGrB,CAAC;AAEF,SAAS,gBAAgB,CAAC,KAAa;IACrC,OAAQ,iBAAuC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAS,UAAU,CAAC,KAAa;IAC/B,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAC3C,MAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,GAAG,CAAC,CAAC;IACjD,IAAI,CAAC,IAAI;QAAE,MAAM,IA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