@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,1155 @@
|
|
|
1
|
+
import type { alertDialogPopupProps, alignmentPickerProps, aspectRatioProps, autocompletePopupProps, autocompleteProps, avatarProps, badgeProps, blockquoteProps, buttonLinkProps, buttonProps, calloutProps, cardProps, checkboxCardsProps, checkboxGroupProps, checkboxProps, codeProps, colorSwatchProps, comboboxPopupProps, comboboxProps, contextMenuItemProps, contextMenuPopupProps, dataListProps, dialogPopupProps, drawerProps, fontPickerProps, gridSizePickerProps, headingProps, iconButtonProps, inputProps, inputSlotProps, insetProps, itemGroupProps, itemMediaProps, itemProps, kbdProps, linkProps, menubarItemProps, menubarPopupProps, menuItemProps, menuPopupProps, meterProps, numberFieldProps, otpFieldProps, popoverPopupProps, previewCardPopupProps, progressProps, radioCardsProps, radioGroupProps, scrollAreaProps, segmentedControlProps, selectPopupProps, selectRootProps, selectTriggerProps, separatorProps, skeletonProps, sliderProps, spinnerProps, switchProps, tableCellProps, tableProps, tableRowProps, tabNavProps, tabsListProps, textAreaProps, textComponentProps, toastProps, toggleGroupProps, toggleProps, toolbarProps } from "./components/index.js";
|
|
2
|
+
import type { PropsOf } from "./props.js";
|
|
3
|
+
export interface AlertDialogPopupOwnProps {
|
|
4
|
+
}
|
|
5
|
+
export interface AlignmentPickerOwnProps {
|
|
6
|
+
/**
|
|
7
|
+
* How the component applies its color.
|
|
8
|
+
* @default "surface"
|
|
9
|
+
*/
|
|
10
|
+
variant?: "surface" | "soft";
|
|
11
|
+
/**
|
|
12
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
13
|
+
*/
|
|
14
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
15
|
+
/**
|
|
16
|
+
* Overrides the theme's corner radius for this component.
|
|
17
|
+
*/
|
|
18
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
19
|
+
/**
|
|
20
|
+
* The layout's main axis. It orients the glyphs only: a row draws vertical bars, a column horizontal ones.
|
|
21
|
+
* @default "row"
|
|
22
|
+
*/
|
|
23
|
+
direction?: "row" | "column";
|
|
24
|
+
}
|
|
25
|
+
export interface AspectRatioOwnProps {
|
|
26
|
+
}
|
|
27
|
+
export interface AutocompletePopupOwnProps {
|
|
28
|
+
/**
|
|
29
|
+
* How the component applies its color.
|
|
30
|
+
* @default "soft"
|
|
31
|
+
*/
|
|
32
|
+
variant?: "solid" | "soft";
|
|
33
|
+
/**
|
|
34
|
+
* The scale the highlighted row draws from; gray unless set.
|
|
35
|
+
* @default "gray"
|
|
36
|
+
*/
|
|
37
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
38
|
+
/**
|
|
39
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
highContrast?: boolean;
|
|
43
|
+
}
|
|
44
|
+
export interface AutocompleteOwnProps {
|
|
45
|
+
/**
|
|
46
|
+
* Control height: sm is 20px, md is 24px.
|
|
47
|
+
* @default "md"
|
|
48
|
+
*/
|
|
49
|
+
size?: "sm" | "md";
|
|
50
|
+
/**
|
|
51
|
+
* How the component applies its color.
|
|
52
|
+
* @default "surface"
|
|
53
|
+
*/
|
|
54
|
+
variant?: "surface" | "soft";
|
|
55
|
+
/**
|
|
56
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
57
|
+
*/
|
|
58
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
59
|
+
/**
|
|
60
|
+
* Overrides the theme's corner radius for this component.
|
|
61
|
+
*/
|
|
62
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
63
|
+
}
|
|
64
|
+
export interface AvatarOwnProps {
|
|
65
|
+
/**
|
|
66
|
+
* How the component applies its color.
|
|
67
|
+
* @default "soft"
|
|
68
|
+
*/
|
|
69
|
+
variant?: "solid" | "soft";
|
|
70
|
+
/**
|
|
71
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
72
|
+
*/
|
|
73
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
74
|
+
/**
|
|
75
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
76
|
+
* @default false
|
|
77
|
+
*/
|
|
78
|
+
highContrast?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Overrides the theme's corner radius for this component.
|
|
81
|
+
*/
|
|
82
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
83
|
+
}
|
|
84
|
+
export interface BadgeOwnProps {
|
|
85
|
+
/**
|
|
86
|
+
* How the component applies its color.
|
|
87
|
+
* @default "soft"
|
|
88
|
+
*/
|
|
89
|
+
variant?: "solid" | "soft" | "surface" | "outline";
|
|
90
|
+
/**
|
|
91
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
92
|
+
*/
|
|
93
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
94
|
+
/**
|
|
95
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
highContrast?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Overrides the theme's corner radius for this component.
|
|
101
|
+
*/
|
|
102
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
103
|
+
/**
|
|
104
|
+
* Shows only a dot in the badge's color; the label stays for assistive technology.
|
|
105
|
+
* @default false
|
|
106
|
+
*/
|
|
107
|
+
dot?: boolean;
|
|
108
|
+
}
|
|
109
|
+
export interface BlockquoteOwnProps {
|
|
110
|
+
/**
|
|
111
|
+
* Font weight, one of the weight tokens.
|
|
112
|
+
*/
|
|
113
|
+
weight?: "light" | "regular" | "medium" | "strong" | "semibold" | "bold";
|
|
114
|
+
/**
|
|
115
|
+
* Truncates to one line with an ellipsis.
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
truncate?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* How lines break: `pretty` avoids orphans, `balance` evens line lengths.
|
|
121
|
+
*/
|
|
122
|
+
wrap?: "wrap" | "nowrap" | "pretty" | "balance";
|
|
123
|
+
/**
|
|
124
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
125
|
+
*/
|
|
126
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
127
|
+
/**
|
|
128
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
129
|
+
* @default false
|
|
130
|
+
*/
|
|
131
|
+
highContrast?: boolean;
|
|
132
|
+
}
|
|
133
|
+
export interface ButtonLinkOwnProps {
|
|
134
|
+
/**
|
|
135
|
+
* Control height: sm is 20px, md is 24px.
|
|
136
|
+
* @default "md"
|
|
137
|
+
*/
|
|
138
|
+
size?: "sm" | "md";
|
|
139
|
+
/**
|
|
140
|
+
* How the component applies its color.
|
|
141
|
+
* @default "solid"
|
|
142
|
+
*/
|
|
143
|
+
variant?: "solid" | "soft" | "surface" | "outline" | "ghost";
|
|
144
|
+
/**
|
|
145
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
146
|
+
*/
|
|
147
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
148
|
+
/**
|
|
149
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
150
|
+
* @default false
|
|
151
|
+
*/
|
|
152
|
+
highContrast?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* Overrides the theme's corner radius for this component.
|
|
155
|
+
*/
|
|
156
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
157
|
+
}
|
|
158
|
+
export interface ButtonOwnProps {
|
|
159
|
+
/**
|
|
160
|
+
* Control height: sm is 20px, md is 24px.
|
|
161
|
+
* @default "md"
|
|
162
|
+
*/
|
|
163
|
+
size?: "sm" | "md";
|
|
164
|
+
/**
|
|
165
|
+
* How the component applies its color.
|
|
166
|
+
* @default "solid"
|
|
167
|
+
*/
|
|
168
|
+
variant?: "solid" | "soft" | "surface" | "outline" | "ghost";
|
|
169
|
+
/**
|
|
170
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
171
|
+
*/
|
|
172
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
173
|
+
/**
|
|
174
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
175
|
+
* @default false
|
|
176
|
+
*/
|
|
177
|
+
highContrast?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Overrides the theme's corner radius for this component.
|
|
180
|
+
*/
|
|
181
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
182
|
+
/**
|
|
183
|
+
* Shows a spinner over the content, keeping the width, and disables the button.
|
|
184
|
+
* @default false
|
|
185
|
+
*/
|
|
186
|
+
loading?: boolean;
|
|
187
|
+
}
|
|
188
|
+
export interface CalloutOwnProps {
|
|
189
|
+
/**
|
|
190
|
+
* How the component applies its color.
|
|
191
|
+
* @default "soft"
|
|
192
|
+
*/
|
|
193
|
+
variant?: "soft" | "surface" | "outline";
|
|
194
|
+
/**
|
|
195
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
196
|
+
*/
|
|
197
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
198
|
+
/**
|
|
199
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
200
|
+
* @default false
|
|
201
|
+
*/
|
|
202
|
+
highContrast?: boolean;
|
|
203
|
+
}
|
|
204
|
+
export interface CardOwnProps {
|
|
205
|
+
/**
|
|
206
|
+
* How the component applies its color.
|
|
207
|
+
* @default "surface"
|
|
208
|
+
*/
|
|
209
|
+
variant?: "surface" | "ghost";
|
|
210
|
+
}
|
|
211
|
+
export interface CheckboxCardsOwnProps {
|
|
212
|
+
/**
|
|
213
|
+
* How the component applies its color.
|
|
214
|
+
* @default "surface"
|
|
215
|
+
*/
|
|
216
|
+
variant?: "surface" | "soft";
|
|
217
|
+
/**
|
|
218
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
219
|
+
*/
|
|
220
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
221
|
+
/**
|
|
222
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
223
|
+
* @default false
|
|
224
|
+
*/
|
|
225
|
+
highContrast?: boolean;
|
|
226
|
+
}
|
|
227
|
+
export interface CheckboxGroupOwnProps {
|
|
228
|
+
/**
|
|
229
|
+
* How the component applies its color.
|
|
230
|
+
* @default "surface"
|
|
231
|
+
*/
|
|
232
|
+
variant?: "surface" | "soft";
|
|
233
|
+
/**
|
|
234
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
235
|
+
*/
|
|
236
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
237
|
+
/**
|
|
238
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
239
|
+
* @default false
|
|
240
|
+
*/
|
|
241
|
+
highContrast?: boolean;
|
|
242
|
+
}
|
|
243
|
+
export interface CheckboxOwnProps {
|
|
244
|
+
/**
|
|
245
|
+
* How the component applies its color.
|
|
246
|
+
* @default "surface"
|
|
247
|
+
*/
|
|
248
|
+
variant?: "surface" | "soft";
|
|
249
|
+
/**
|
|
250
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
251
|
+
*/
|
|
252
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
253
|
+
/**
|
|
254
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
255
|
+
* @default false
|
|
256
|
+
*/
|
|
257
|
+
highContrast?: boolean;
|
|
258
|
+
}
|
|
259
|
+
export interface CodeOwnProps {
|
|
260
|
+
/**
|
|
261
|
+
* How the component applies its color.
|
|
262
|
+
* @default "soft"
|
|
263
|
+
*/
|
|
264
|
+
variant?: "solid" | "soft" | "outline" | "ghost";
|
|
265
|
+
/**
|
|
266
|
+
* Font weight, one of the weight tokens.
|
|
267
|
+
*/
|
|
268
|
+
weight?: "light" | "regular" | "medium" | "strong" | "semibold" | "bold";
|
|
269
|
+
/**
|
|
270
|
+
* Truncates to one line with an ellipsis.
|
|
271
|
+
* @default false
|
|
272
|
+
*/
|
|
273
|
+
truncate?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* How lines break: `pretty` avoids orphans, `balance` evens line lengths.
|
|
276
|
+
*/
|
|
277
|
+
wrap?: "wrap" | "nowrap" | "pretty" | "balance";
|
|
278
|
+
/**
|
|
279
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
280
|
+
*/
|
|
281
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
282
|
+
/**
|
|
283
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
284
|
+
* @default false
|
|
285
|
+
*/
|
|
286
|
+
highContrast?: boolean;
|
|
287
|
+
}
|
|
288
|
+
export interface ColorSwatchOwnProps {
|
|
289
|
+
/**
|
|
290
|
+
* Control height: sm is 20px, md is 24px.
|
|
291
|
+
* @default "md"
|
|
292
|
+
*/
|
|
293
|
+
size?: "sm" | "md";
|
|
294
|
+
/**
|
|
295
|
+
* Overrides the theme's corner radius for this component.
|
|
296
|
+
*/
|
|
297
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
298
|
+
}
|
|
299
|
+
export interface ComboboxPopupOwnProps {
|
|
300
|
+
/**
|
|
301
|
+
* How the component applies its color.
|
|
302
|
+
* @default "soft"
|
|
303
|
+
*/
|
|
304
|
+
variant?: "solid" | "soft";
|
|
305
|
+
/**
|
|
306
|
+
* The scale the highlighted row draws from; gray unless set.
|
|
307
|
+
* @default "gray"
|
|
308
|
+
*/
|
|
309
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
310
|
+
/**
|
|
311
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
312
|
+
* @default false
|
|
313
|
+
*/
|
|
314
|
+
highContrast?: boolean;
|
|
315
|
+
}
|
|
316
|
+
export interface ComboboxOwnProps {
|
|
317
|
+
/**
|
|
318
|
+
* Control height: sm is 20px, md is 24px.
|
|
319
|
+
* @default "md"
|
|
320
|
+
*/
|
|
321
|
+
size?: "sm" | "md";
|
|
322
|
+
/**
|
|
323
|
+
* How the component applies its color.
|
|
324
|
+
* @default "surface"
|
|
325
|
+
*/
|
|
326
|
+
variant?: "surface" | "soft";
|
|
327
|
+
/**
|
|
328
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
329
|
+
*/
|
|
330
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
331
|
+
/**
|
|
332
|
+
* Overrides the theme's corner radius for this component.
|
|
333
|
+
*/
|
|
334
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
335
|
+
}
|
|
336
|
+
export interface ContextMenuItemOwnProps {
|
|
337
|
+
/**
|
|
338
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
339
|
+
*/
|
|
340
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
341
|
+
}
|
|
342
|
+
export interface ContextMenuPopupOwnProps {
|
|
343
|
+
/**
|
|
344
|
+
* How the component applies its color.
|
|
345
|
+
* @default "soft"
|
|
346
|
+
*/
|
|
347
|
+
variant?: "solid" | "soft";
|
|
348
|
+
/**
|
|
349
|
+
* The scale the highlighted row draws from; gray unless set.
|
|
350
|
+
* @default "gray"
|
|
351
|
+
*/
|
|
352
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
353
|
+
/**
|
|
354
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
355
|
+
* @default false
|
|
356
|
+
*/
|
|
357
|
+
highContrast?: boolean;
|
|
358
|
+
}
|
|
359
|
+
export interface DataListOwnProps {
|
|
360
|
+
/**
|
|
361
|
+
* Labels beside their values, or above them.
|
|
362
|
+
* @default "horizontal"
|
|
363
|
+
*/
|
|
364
|
+
orientation?: "horizontal" | "vertical";
|
|
365
|
+
/**
|
|
366
|
+
* Trims the leading of the first and last rows.
|
|
367
|
+
*/
|
|
368
|
+
trim?: "normal" | "start" | "end" | "both";
|
|
369
|
+
}
|
|
370
|
+
export interface DialogPopupOwnProps {
|
|
371
|
+
}
|
|
372
|
+
export interface DrawerOwnProps {
|
|
373
|
+
/**
|
|
374
|
+
* The edge the drawer slides in from.
|
|
375
|
+
* @default "bottom"
|
|
376
|
+
*/
|
|
377
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
378
|
+
}
|
|
379
|
+
export interface FontPickerOwnProps {
|
|
380
|
+
/**
|
|
381
|
+
* How the component applies its color.
|
|
382
|
+
* @default "surface"
|
|
383
|
+
*/
|
|
384
|
+
variant?: "surface" | "soft";
|
|
385
|
+
/**
|
|
386
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
387
|
+
*/
|
|
388
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
389
|
+
/**
|
|
390
|
+
* Overrides the theme's corner radius for this component.
|
|
391
|
+
*/
|
|
392
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
393
|
+
}
|
|
394
|
+
export interface GridSizePickerOwnProps {
|
|
395
|
+
/**
|
|
396
|
+
* How the component applies its color.
|
|
397
|
+
* @default "surface"
|
|
398
|
+
*/
|
|
399
|
+
variant?: "surface" | "soft";
|
|
400
|
+
/**
|
|
401
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
402
|
+
*/
|
|
403
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
404
|
+
/**
|
|
405
|
+
* Overrides the theme's corner radius for this component.
|
|
406
|
+
*/
|
|
407
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
408
|
+
}
|
|
409
|
+
export interface HeadingOwnProps {
|
|
410
|
+
/**
|
|
411
|
+
* The heading level it renders.
|
|
412
|
+
* @default "h1"
|
|
413
|
+
*/
|
|
414
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
415
|
+
/**
|
|
416
|
+
* A named text style: its size, line height, letter spacing, weight and family. `size` and `weight` override it.
|
|
417
|
+
* @default "title-large"
|
|
418
|
+
*/
|
|
419
|
+
textStyle?: "display" | "headline" | "title-large" | "title" | "title-small" | "body-large" | "body" | "body-small" | "label-large" | "label" | "label-strong" | "label-small" | "caption" | "code";
|
|
420
|
+
/**
|
|
421
|
+
* A step of the type scale, overriding the text style's.
|
|
422
|
+
*/
|
|
423
|
+
size?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
424
|
+
/**
|
|
425
|
+
* Font weight, one of the weight tokens.
|
|
426
|
+
*/
|
|
427
|
+
weight?: "light" | "regular" | "medium" | "strong" | "semibold" | "bold";
|
|
428
|
+
/**
|
|
429
|
+
* Text alignment.
|
|
430
|
+
*/
|
|
431
|
+
align?: "left" | "center" | "right";
|
|
432
|
+
/**
|
|
433
|
+
* Trims the leading above the first line, below the last, or both, so text sits flush with its box.
|
|
434
|
+
*/
|
|
435
|
+
trim?: "normal" | "start" | "end" | "both";
|
|
436
|
+
/**
|
|
437
|
+
* Truncates to one line with an ellipsis.
|
|
438
|
+
* @default false
|
|
439
|
+
*/
|
|
440
|
+
truncate?: boolean;
|
|
441
|
+
/**
|
|
442
|
+
* How lines break: `pretty` avoids orphans, `balance` evens line lengths.
|
|
443
|
+
*/
|
|
444
|
+
wrap?: "wrap" | "nowrap" | "pretty" | "balance";
|
|
445
|
+
/**
|
|
446
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
447
|
+
*/
|
|
448
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
449
|
+
/**
|
|
450
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
451
|
+
* @default false
|
|
452
|
+
*/
|
|
453
|
+
highContrast?: boolean;
|
|
454
|
+
}
|
|
455
|
+
export interface IconButtonOwnProps {
|
|
456
|
+
/**
|
|
457
|
+
* Control height: sm is 20px, md is 24px.
|
|
458
|
+
* @default "md"
|
|
459
|
+
*/
|
|
460
|
+
size?: "sm" | "md";
|
|
461
|
+
/**
|
|
462
|
+
* How the component applies its color.
|
|
463
|
+
* @default "solid"
|
|
464
|
+
*/
|
|
465
|
+
variant?: "solid" | "soft" | "surface" | "outline" | "ghost";
|
|
466
|
+
/**
|
|
467
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
468
|
+
*/
|
|
469
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
470
|
+
/**
|
|
471
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
472
|
+
* @default false
|
|
473
|
+
*/
|
|
474
|
+
highContrast?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* Overrides the theme's corner radius for this component.
|
|
477
|
+
*/
|
|
478
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
479
|
+
/**
|
|
480
|
+
* Shows a spinner over the content, keeping the width, and disables the button.
|
|
481
|
+
* @default false
|
|
482
|
+
*/
|
|
483
|
+
loading?: boolean;
|
|
484
|
+
}
|
|
485
|
+
export interface InputOwnProps {
|
|
486
|
+
/**
|
|
487
|
+
* Control height: sm is 20px, md is 24px.
|
|
488
|
+
* @default "md"
|
|
489
|
+
*/
|
|
490
|
+
size?: "sm" | "md";
|
|
491
|
+
/**
|
|
492
|
+
* How the component applies its color.
|
|
493
|
+
* @default "surface"
|
|
494
|
+
*/
|
|
495
|
+
variant?: "surface" | "soft";
|
|
496
|
+
/**
|
|
497
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
498
|
+
*/
|
|
499
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
500
|
+
/**
|
|
501
|
+
* Overrides the theme's corner radius for this component.
|
|
502
|
+
*/
|
|
503
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
504
|
+
}
|
|
505
|
+
export interface InputSlotOwnProps {
|
|
506
|
+
/**
|
|
507
|
+
* The side it sits on; unset, the first slot goes left and the next right.
|
|
508
|
+
*/
|
|
509
|
+
side?: "left" | "right";
|
|
510
|
+
}
|
|
511
|
+
export interface InsetOwnProps {
|
|
512
|
+
/**
|
|
513
|
+
* The edges it pulls out to.
|
|
514
|
+
* @default "all"
|
|
515
|
+
*/
|
|
516
|
+
side?: "all" | "x" | "y" | "top" | "bottom" | "left" | "right";
|
|
517
|
+
/**
|
|
518
|
+
* Clips its content to the card's border or its padding.
|
|
519
|
+
* @default "border-box"
|
|
520
|
+
*/
|
|
521
|
+
clip?: "border-box" | "padding-box";
|
|
522
|
+
}
|
|
523
|
+
export interface ItemGroupOwnProps {
|
|
524
|
+
/**
|
|
525
|
+
* How the component applies its color.
|
|
526
|
+
* @default "ghost"
|
|
527
|
+
*/
|
|
528
|
+
variant?: "ghost" | "outline";
|
|
529
|
+
}
|
|
530
|
+
export interface ItemMediaOwnProps {
|
|
531
|
+
/**
|
|
532
|
+
* Sets an icon in a framed tile; unframed media, an Avatar, stays as it is.
|
|
533
|
+
* @default false
|
|
534
|
+
*/
|
|
535
|
+
framed?: boolean;
|
|
536
|
+
}
|
|
537
|
+
export interface ItemOwnProps {
|
|
538
|
+
/**
|
|
539
|
+
* How the component applies its color.
|
|
540
|
+
* @default "ghost"
|
|
541
|
+
*/
|
|
542
|
+
variant?: "ghost" | "outline" | "soft";
|
|
543
|
+
}
|
|
544
|
+
export interface KbdOwnProps {
|
|
545
|
+
/**
|
|
546
|
+
* How the component applies its color.
|
|
547
|
+
* @default "surface"
|
|
548
|
+
*/
|
|
549
|
+
variant?: "surface" | "soft";
|
|
550
|
+
}
|
|
551
|
+
export interface LinkOwnProps {
|
|
552
|
+
/**
|
|
553
|
+
* When the underline shows; `auto` shows it on hover, and always in high contrast.
|
|
554
|
+
* @default "auto"
|
|
555
|
+
*/
|
|
556
|
+
underline?: "auto" | "always" | "hover" | "none";
|
|
557
|
+
/**
|
|
558
|
+
* Font weight, one of the weight tokens.
|
|
559
|
+
*/
|
|
560
|
+
weight?: "light" | "regular" | "medium" | "strong" | "semibold" | "bold";
|
|
561
|
+
/**
|
|
562
|
+
* Trims the leading above the first line, below the last, or both, so text sits flush with its box.
|
|
563
|
+
*/
|
|
564
|
+
trim?: "normal" | "start" | "end" | "both";
|
|
565
|
+
/**
|
|
566
|
+
* Truncates to one line with an ellipsis.
|
|
567
|
+
* @default false
|
|
568
|
+
*/
|
|
569
|
+
truncate?: boolean;
|
|
570
|
+
/**
|
|
571
|
+
* How lines break: `pretty` avoids orphans, `balance` evens line lengths.
|
|
572
|
+
*/
|
|
573
|
+
wrap?: "wrap" | "nowrap" | "pretty" | "balance";
|
|
574
|
+
/**
|
|
575
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
576
|
+
*/
|
|
577
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
578
|
+
/**
|
|
579
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
580
|
+
* @default false
|
|
581
|
+
*/
|
|
582
|
+
highContrast?: boolean;
|
|
583
|
+
}
|
|
584
|
+
export interface MenubarItemOwnProps {
|
|
585
|
+
/**
|
|
586
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
587
|
+
*/
|
|
588
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
589
|
+
}
|
|
590
|
+
export interface MenubarPopupOwnProps {
|
|
591
|
+
/**
|
|
592
|
+
* How the component applies its color.
|
|
593
|
+
* @default "soft"
|
|
594
|
+
*/
|
|
595
|
+
variant?: "solid" | "soft";
|
|
596
|
+
/**
|
|
597
|
+
* The scale the highlighted row draws from; gray unless set.
|
|
598
|
+
* @default "gray"
|
|
599
|
+
*/
|
|
600
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
601
|
+
/**
|
|
602
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
603
|
+
* @default false
|
|
604
|
+
*/
|
|
605
|
+
highContrast?: boolean;
|
|
606
|
+
}
|
|
607
|
+
export interface MenuItemOwnProps {
|
|
608
|
+
/**
|
|
609
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
610
|
+
*/
|
|
611
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
612
|
+
}
|
|
613
|
+
export interface MenuPopupOwnProps {
|
|
614
|
+
/**
|
|
615
|
+
* How the component applies its color.
|
|
616
|
+
* @default "soft"
|
|
617
|
+
*/
|
|
618
|
+
variant?: "solid" | "soft";
|
|
619
|
+
/**
|
|
620
|
+
* The scale the highlighted row draws from; gray unless set.
|
|
621
|
+
* @default "gray"
|
|
622
|
+
*/
|
|
623
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
624
|
+
/**
|
|
625
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
626
|
+
* @default false
|
|
627
|
+
*/
|
|
628
|
+
highContrast?: boolean;
|
|
629
|
+
}
|
|
630
|
+
export interface MeterOwnProps {
|
|
631
|
+
/**
|
|
632
|
+
* How the component applies its color.
|
|
633
|
+
* @default "surface"
|
|
634
|
+
*/
|
|
635
|
+
variant?: "surface" | "soft";
|
|
636
|
+
/**
|
|
637
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
638
|
+
*/
|
|
639
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
640
|
+
/**
|
|
641
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
642
|
+
* @default false
|
|
643
|
+
*/
|
|
644
|
+
highContrast?: boolean;
|
|
645
|
+
/**
|
|
646
|
+
* Overrides the theme's corner radius for this component.
|
|
647
|
+
*/
|
|
648
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
649
|
+
}
|
|
650
|
+
export interface NumberFieldOwnProps {
|
|
651
|
+
/**
|
|
652
|
+
* Control height: sm is 20px, md is 24px.
|
|
653
|
+
* @default "md"
|
|
654
|
+
*/
|
|
655
|
+
size?: "sm" | "md";
|
|
656
|
+
/**
|
|
657
|
+
* How the component applies its color.
|
|
658
|
+
* @default "surface"
|
|
659
|
+
*/
|
|
660
|
+
variant?: "surface" | "soft";
|
|
661
|
+
/**
|
|
662
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
663
|
+
*/
|
|
664
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
665
|
+
/**
|
|
666
|
+
* Overrides the theme's corner radius for this component.
|
|
667
|
+
*/
|
|
668
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
669
|
+
}
|
|
670
|
+
export interface OtpFieldOwnProps {
|
|
671
|
+
/**
|
|
672
|
+
* How the component applies its color.
|
|
673
|
+
* @default "surface"
|
|
674
|
+
*/
|
|
675
|
+
variant?: "surface" | "soft";
|
|
676
|
+
/**
|
|
677
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
678
|
+
*/
|
|
679
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
680
|
+
/**
|
|
681
|
+
* Overrides the theme's corner radius for this component.
|
|
682
|
+
*/
|
|
683
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
684
|
+
}
|
|
685
|
+
export interface PopoverPopupOwnProps {
|
|
686
|
+
}
|
|
687
|
+
export interface PreviewCardPopupOwnProps {
|
|
688
|
+
}
|
|
689
|
+
export interface ProgressOwnProps {
|
|
690
|
+
/**
|
|
691
|
+
* How the component applies its color.
|
|
692
|
+
* @default "surface"
|
|
693
|
+
*/
|
|
694
|
+
variant?: "surface" | "soft";
|
|
695
|
+
/**
|
|
696
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
697
|
+
*/
|
|
698
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
699
|
+
/**
|
|
700
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
701
|
+
* @default false
|
|
702
|
+
*/
|
|
703
|
+
highContrast?: boolean;
|
|
704
|
+
/**
|
|
705
|
+
* Overrides the theme's corner radius for this component.
|
|
706
|
+
*/
|
|
707
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
708
|
+
}
|
|
709
|
+
export interface RadioCardsOwnProps {
|
|
710
|
+
/**
|
|
711
|
+
* How the component applies its color.
|
|
712
|
+
* @default "surface"
|
|
713
|
+
*/
|
|
714
|
+
variant?: "surface" | "soft";
|
|
715
|
+
/**
|
|
716
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
717
|
+
*/
|
|
718
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
719
|
+
/**
|
|
720
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
721
|
+
* @default false
|
|
722
|
+
*/
|
|
723
|
+
highContrast?: boolean;
|
|
724
|
+
}
|
|
725
|
+
export interface RadioGroupOwnProps {
|
|
726
|
+
/**
|
|
727
|
+
* How the component applies its color.
|
|
728
|
+
* @default "surface"
|
|
729
|
+
*/
|
|
730
|
+
variant?: "surface" | "soft";
|
|
731
|
+
/**
|
|
732
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
733
|
+
*/
|
|
734
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
735
|
+
/**
|
|
736
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
737
|
+
* @default false
|
|
738
|
+
*/
|
|
739
|
+
highContrast?: boolean;
|
|
740
|
+
}
|
|
741
|
+
export interface ScrollAreaOwnProps {
|
|
742
|
+
/**
|
|
743
|
+
* Overrides the theme's corner radius for this component.
|
|
744
|
+
*/
|
|
745
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
746
|
+
/**
|
|
747
|
+
* Which scrollbars it draws.
|
|
748
|
+
* @default "both"
|
|
749
|
+
*/
|
|
750
|
+
scrollbars?: "vertical" | "horizontal" | "both";
|
|
751
|
+
}
|
|
752
|
+
export interface SegmentedControlOwnProps {
|
|
753
|
+
/**
|
|
754
|
+
* Control height: sm is 20px, md is 24px.
|
|
755
|
+
* @default "md"
|
|
756
|
+
*/
|
|
757
|
+
size?: "sm" | "md";
|
|
758
|
+
/**
|
|
759
|
+
* How the component applies its color.
|
|
760
|
+
* @default "surface"
|
|
761
|
+
*/
|
|
762
|
+
variant?: "surface" | "soft";
|
|
763
|
+
/**
|
|
764
|
+
* Overrides the theme's corner radius for this component.
|
|
765
|
+
*/
|
|
766
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
767
|
+
}
|
|
768
|
+
export interface SelectPopupOwnProps {
|
|
769
|
+
/**
|
|
770
|
+
* How the component applies its color.
|
|
771
|
+
* @default "soft"
|
|
772
|
+
*/
|
|
773
|
+
variant?: "solid" | "soft";
|
|
774
|
+
/**
|
|
775
|
+
* The scale the highlighted row draws from; gray unless set.
|
|
776
|
+
* @default "gray"
|
|
777
|
+
*/
|
|
778
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
779
|
+
/**
|
|
780
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
781
|
+
* @default false
|
|
782
|
+
*/
|
|
783
|
+
highContrast?: boolean;
|
|
784
|
+
}
|
|
785
|
+
export interface SelectRootOwnProps {
|
|
786
|
+
/**
|
|
787
|
+
* Control height: sm is 20px, md is 24px.
|
|
788
|
+
* @default "md"
|
|
789
|
+
*/
|
|
790
|
+
size?: "sm" | "md";
|
|
791
|
+
}
|
|
792
|
+
export interface SelectTriggerOwnProps {
|
|
793
|
+
/**
|
|
794
|
+
* How the component applies its color.
|
|
795
|
+
* @default "surface"
|
|
796
|
+
*/
|
|
797
|
+
variant?: "surface" | "soft" | "ghost";
|
|
798
|
+
/**
|
|
799
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
800
|
+
*/
|
|
801
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
802
|
+
/**
|
|
803
|
+
* Overrides the theme's corner radius for this component.
|
|
804
|
+
*/
|
|
805
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
806
|
+
}
|
|
807
|
+
export interface SeparatorOwnProps {
|
|
808
|
+
/**
|
|
809
|
+
* The scale the line draws from; gray unless set.
|
|
810
|
+
* @default "gray"
|
|
811
|
+
*/
|
|
812
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
813
|
+
}
|
|
814
|
+
export interface SkeletonOwnProps {
|
|
815
|
+
/**
|
|
816
|
+
* While false, renders its children in place of the skeleton, as Radix Themes does.
|
|
817
|
+
* @default true
|
|
818
|
+
*/
|
|
819
|
+
loading?: boolean;
|
|
820
|
+
}
|
|
821
|
+
export interface SliderOwnProps {
|
|
822
|
+
/**
|
|
823
|
+
* How the component applies its color.
|
|
824
|
+
* @default "surface"
|
|
825
|
+
*/
|
|
826
|
+
variant?: "surface" | "soft";
|
|
827
|
+
/**
|
|
828
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
829
|
+
*/
|
|
830
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
831
|
+
/**
|
|
832
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
833
|
+
* @default false
|
|
834
|
+
*/
|
|
835
|
+
highContrast?: boolean;
|
|
836
|
+
/**
|
|
837
|
+
* Overrides the theme's corner radius for this component.
|
|
838
|
+
*/
|
|
839
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
840
|
+
}
|
|
841
|
+
export interface SpinnerOwnProps {
|
|
842
|
+
/**
|
|
843
|
+
* While false, renders its children in place of the spinner, as Radix Themes does.
|
|
844
|
+
* @default true
|
|
845
|
+
*/
|
|
846
|
+
loading?: boolean;
|
|
847
|
+
}
|
|
848
|
+
export interface SwitchOwnProps {
|
|
849
|
+
/**
|
|
850
|
+
* How the component applies its color.
|
|
851
|
+
* @default "surface"
|
|
852
|
+
*/
|
|
853
|
+
variant?: "surface" | "soft";
|
|
854
|
+
/**
|
|
855
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
856
|
+
*/
|
|
857
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
858
|
+
/**
|
|
859
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
860
|
+
* @default false
|
|
861
|
+
*/
|
|
862
|
+
highContrast?: boolean;
|
|
863
|
+
/**
|
|
864
|
+
* Overrides the theme's corner radius for this component.
|
|
865
|
+
*/
|
|
866
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
867
|
+
}
|
|
868
|
+
export interface TableCellOwnProps {
|
|
869
|
+
/**
|
|
870
|
+
* Where the cell's content sits along the row.
|
|
871
|
+
* @default "start"
|
|
872
|
+
*/
|
|
873
|
+
justify?: "start" | "center" | "end";
|
|
874
|
+
}
|
|
875
|
+
export interface TableOwnProps {
|
|
876
|
+
/**
|
|
877
|
+
* How the component applies its color.
|
|
878
|
+
* @default "ghost"
|
|
879
|
+
*/
|
|
880
|
+
variant?: "surface" | "ghost";
|
|
881
|
+
/**
|
|
882
|
+
* The table's column layout algorithm.
|
|
883
|
+
* @default "auto"
|
|
884
|
+
*/
|
|
885
|
+
layout?: "auto" | "fixed";
|
|
886
|
+
}
|
|
887
|
+
export interface TableRowOwnProps {
|
|
888
|
+
/**
|
|
889
|
+
* Where the row's cells sit vertically.
|
|
890
|
+
* @default "start"
|
|
891
|
+
*/
|
|
892
|
+
align?: "start" | "center" | "end" | "baseline";
|
|
893
|
+
}
|
|
894
|
+
export interface TabNavOwnProps {
|
|
895
|
+
/**
|
|
896
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
897
|
+
*/
|
|
898
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
899
|
+
/**
|
|
900
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
901
|
+
* @default false
|
|
902
|
+
*/
|
|
903
|
+
highContrast?: boolean;
|
|
904
|
+
/**
|
|
905
|
+
* Where the links sit along the row.
|
|
906
|
+
* @default "start"
|
|
907
|
+
*/
|
|
908
|
+
justify?: "start" | "center" | "end";
|
|
909
|
+
/**
|
|
910
|
+
* Whether the links wrap onto more rows.
|
|
911
|
+
* @default "nowrap"
|
|
912
|
+
*/
|
|
913
|
+
wrap?: "nowrap" | "wrap" | "wrap-reverse";
|
|
914
|
+
}
|
|
915
|
+
export interface TabsListOwnProps {
|
|
916
|
+
/**
|
|
917
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
918
|
+
*/
|
|
919
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
920
|
+
/**
|
|
921
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
922
|
+
* @default false
|
|
923
|
+
*/
|
|
924
|
+
highContrast?: boolean;
|
|
925
|
+
/**
|
|
926
|
+
* Where the triggers sit along the list.
|
|
927
|
+
* @default "start"
|
|
928
|
+
*/
|
|
929
|
+
justify?: "start" | "center" | "end";
|
|
930
|
+
/**
|
|
931
|
+
* Whether the triggers wrap onto more rows.
|
|
932
|
+
* @default "nowrap"
|
|
933
|
+
*/
|
|
934
|
+
wrap?: "nowrap" | "wrap" | "wrap-reverse";
|
|
935
|
+
}
|
|
936
|
+
export interface TextAreaOwnProps {
|
|
937
|
+
/**
|
|
938
|
+
* The height of the Input it matches, which sets its padding and type: sm is 20px, md is 24px.
|
|
939
|
+
* @default "md"
|
|
940
|
+
*/
|
|
941
|
+
size?: "sm" | "md";
|
|
942
|
+
/**
|
|
943
|
+
* How the component applies its color.
|
|
944
|
+
* @default "surface"
|
|
945
|
+
*/
|
|
946
|
+
variant?: "surface" | "soft";
|
|
947
|
+
/**
|
|
948
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
949
|
+
*/
|
|
950
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
951
|
+
/**
|
|
952
|
+
* Overrides the theme's corner radius for this component.
|
|
953
|
+
*/
|
|
954
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
955
|
+
/**
|
|
956
|
+
* Which way the reader can resize it.
|
|
957
|
+
* @default "vertical"
|
|
958
|
+
*/
|
|
959
|
+
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
960
|
+
}
|
|
961
|
+
export interface TextComponentOwnProps {
|
|
962
|
+
/**
|
|
963
|
+
* The element it renders.
|
|
964
|
+
* @default "span"
|
|
965
|
+
*/
|
|
966
|
+
as?: "span" | "div" | "label" | "p";
|
|
967
|
+
/**
|
|
968
|
+
* A named text style: its size, line height, letter spacing, weight and family. `size` and `weight` override it; unset, it inherits.
|
|
969
|
+
*/
|
|
970
|
+
textStyle?: "display" | "headline" | "title-large" | "title" | "title-small" | "body-large" | "body" | "body-small" | "label-large" | "label" | "label-strong" | "label-small" | "caption" | "code";
|
|
971
|
+
/**
|
|
972
|
+
* A step of the type scale; unset, it inherits.
|
|
973
|
+
*/
|
|
974
|
+
size?: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9";
|
|
975
|
+
/**
|
|
976
|
+
* Font weight, one of the weight tokens.
|
|
977
|
+
*/
|
|
978
|
+
weight?: "light" | "regular" | "medium" | "strong" | "semibold" | "bold";
|
|
979
|
+
/**
|
|
980
|
+
* Text alignment.
|
|
981
|
+
*/
|
|
982
|
+
align?: "left" | "center" | "right";
|
|
983
|
+
/**
|
|
984
|
+
* Trims the leading above the first line, below the last, or both, so text sits flush with its box.
|
|
985
|
+
*/
|
|
986
|
+
trim?: "normal" | "start" | "end" | "both";
|
|
987
|
+
/**
|
|
988
|
+
* Truncates to one line with an ellipsis.
|
|
989
|
+
* @default false
|
|
990
|
+
*/
|
|
991
|
+
truncate?: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* How lines break: `pretty` avoids orphans, `balance` evens line lengths.
|
|
994
|
+
*/
|
|
995
|
+
wrap?: "wrap" | "nowrap" | "pretty" | "balance";
|
|
996
|
+
/**
|
|
997
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
998
|
+
*/
|
|
999
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
1000
|
+
/**
|
|
1001
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
1002
|
+
* @default false
|
|
1003
|
+
*/
|
|
1004
|
+
highContrast?: boolean;
|
|
1005
|
+
}
|
|
1006
|
+
export interface ToastOwnProps {
|
|
1007
|
+
/**
|
|
1008
|
+
* How the component applies its color.
|
|
1009
|
+
* @default "surface"
|
|
1010
|
+
*/
|
|
1011
|
+
variant?: "surface" | "soft" | "solid";
|
|
1012
|
+
/**
|
|
1013
|
+
* The status the toast reports; gray unless set.
|
|
1014
|
+
* @default "gray"
|
|
1015
|
+
*/
|
|
1016
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
1017
|
+
/**
|
|
1018
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
1019
|
+
* @default false
|
|
1020
|
+
*/
|
|
1021
|
+
highContrast?: boolean;
|
|
1022
|
+
}
|
|
1023
|
+
export interface ToggleGroupOwnProps {
|
|
1024
|
+
/**
|
|
1025
|
+
* Control height: sm is 20px, md is 24px.
|
|
1026
|
+
* @default "md"
|
|
1027
|
+
*/
|
|
1028
|
+
size?: "sm" | "md";
|
|
1029
|
+
/**
|
|
1030
|
+
* How the component applies its color.
|
|
1031
|
+
* @default "ghost"
|
|
1032
|
+
*/
|
|
1033
|
+
variant?: "ghost" | "soft" | "surface" | "outline";
|
|
1034
|
+
/**
|
|
1035
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
1036
|
+
*/
|
|
1037
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
1038
|
+
/**
|
|
1039
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
1040
|
+
* @default false
|
|
1041
|
+
*/
|
|
1042
|
+
highContrast?: boolean;
|
|
1043
|
+
/**
|
|
1044
|
+
* Overrides the theme's corner radius for this component.
|
|
1045
|
+
*/
|
|
1046
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
1047
|
+
}
|
|
1048
|
+
export interface ToggleOwnProps {
|
|
1049
|
+
/**
|
|
1050
|
+
* Control height: sm is 20px, md is 24px.
|
|
1051
|
+
* @default "md"
|
|
1052
|
+
*/
|
|
1053
|
+
size?: "sm" | "md";
|
|
1054
|
+
/**
|
|
1055
|
+
* How the component applies its color.
|
|
1056
|
+
* @default "ghost"
|
|
1057
|
+
*/
|
|
1058
|
+
variant?: "ghost" | "soft" | "surface" | "outline";
|
|
1059
|
+
/**
|
|
1060
|
+
* The scale the component draws from. Unset, it inherits the nearest color, and the theme's accent at the root.
|
|
1061
|
+
*/
|
|
1062
|
+
color?: "accent" | "gray" | "danger" | "warning" | "success" | "info";
|
|
1063
|
+
/**
|
|
1064
|
+
* Uses the scale's darkest steps, for text and fills that need more contrast.
|
|
1065
|
+
* @default false
|
|
1066
|
+
*/
|
|
1067
|
+
highContrast?: boolean;
|
|
1068
|
+
/**
|
|
1069
|
+
* Overrides the theme's corner radius for this component.
|
|
1070
|
+
*/
|
|
1071
|
+
radius?: "none" | "small" | "medium" | "large" | "full";
|
|
1072
|
+
}
|
|
1073
|
+
export interface ToolbarOwnProps {
|
|
1074
|
+
/**
|
|
1075
|
+
* Control height: sm is 20px, md is 24px.
|
|
1076
|
+
* @default "md"
|
|
1077
|
+
*/
|
|
1078
|
+
size?: "sm" | "md";
|
|
1079
|
+
}
|
|
1080
|
+
type Equal<A, B> = (<T>() => T extends A ? 1 : 2) extends <T>() => (T extends B ? 1 : 2) ? true : false;
|
|
1081
|
+
type Expect<T extends true> = T;
|
|
1082
|
+
/** Fails to compile when a declaration above disagrees with its definitions. */
|
|
1083
|
+
export type PropTypesMatchDefinitions = [
|
|
1084
|
+
Expect<Equal<AlertDialogPopupOwnProps, PropsOf<typeof alertDialogPopupProps>>>,
|
|
1085
|
+
Expect<Equal<AlignmentPickerOwnProps, PropsOf<typeof alignmentPickerProps>>>,
|
|
1086
|
+
Expect<Equal<AspectRatioOwnProps, PropsOf<typeof aspectRatioProps>>>,
|
|
1087
|
+
Expect<Equal<AutocompletePopupOwnProps, PropsOf<typeof autocompletePopupProps>>>,
|
|
1088
|
+
Expect<Equal<AutocompleteOwnProps, PropsOf<typeof autocompleteProps>>>,
|
|
1089
|
+
Expect<Equal<AvatarOwnProps, PropsOf<typeof avatarProps>>>,
|
|
1090
|
+
Expect<Equal<BadgeOwnProps, PropsOf<typeof badgeProps>>>,
|
|
1091
|
+
Expect<Equal<BlockquoteOwnProps, PropsOf<typeof blockquoteProps>>>,
|
|
1092
|
+
Expect<Equal<ButtonLinkOwnProps, PropsOf<typeof buttonLinkProps>>>,
|
|
1093
|
+
Expect<Equal<ButtonOwnProps, PropsOf<typeof buttonProps>>>,
|
|
1094
|
+
Expect<Equal<CalloutOwnProps, PropsOf<typeof calloutProps>>>,
|
|
1095
|
+
Expect<Equal<CardOwnProps, PropsOf<typeof cardProps>>>,
|
|
1096
|
+
Expect<Equal<CheckboxCardsOwnProps, PropsOf<typeof checkboxCardsProps>>>,
|
|
1097
|
+
Expect<Equal<CheckboxGroupOwnProps, PropsOf<typeof checkboxGroupProps>>>,
|
|
1098
|
+
Expect<Equal<CheckboxOwnProps, PropsOf<typeof checkboxProps>>>,
|
|
1099
|
+
Expect<Equal<CodeOwnProps, PropsOf<typeof codeProps>>>,
|
|
1100
|
+
Expect<Equal<ColorSwatchOwnProps, PropsOf<typeof colorSwatchProps>>>,
|
|
1101
|
+
Expect<Equal<ComboboxPopupOwnProps, PropsOf<typeof comboboxPopupProps>>>,
|
|
1102
|
+
Expect<Equal<ComboboxOwnProps, PropsOf<typeof comboboxProps>>>,
|
|
1103
|
+
Expect<Equal<ContextMenuItemOwnProps, PropsOf<typeof contextMenuItemProps>>>,
|
|
1104
|
+
Expect<Equal<ContextMenuPopupOwnProps, PropsOf<typeof contextMenuPopupProps>>>,
|
|
1105
|
+
Expect<Equal<DataListOwnProps, PropsOf<typeof dataListProps>>>,
|
|
1106
|
+
Expect<Equal<DialogPopupOwnProps, PropsOf<typeof dialogPopupProps>>>,
|
|
1107
|
+
Expect<Equal<DrawerOwnProps, PropsOf<typeof drawerProps>>>,
|
|
1108
|
+
Expect<Equal<FontPickerOwnProps, PropsOf<typeof fontPickerProps>>>,
|
|
1109
|
+
Expect<Equal<GridSizePickerOwnProps, PropsOf<typeof gridSizePickerProps>>>,
|
|
1110
|
+
Expect<Equal<HeadingOwnProps, PropsOf<typeof headingProps>>>,
|
|
1111
|
+
Expect<Equal<IconButtonOwnProps, PropsOf<typeof iconButtonProps>>>,
|
|
1112
|
+
Expect<Equal<InputOwnProps, PropsOf<typeof inputProps>>>,
|
|
1113
|
+
Expect<Equal<InputSlotOwnProps, PropsOf<typeof inputSlotProps>>>,
|
|
1114
|
+
Expect<Equal<InsetOwnProps, PropsOf<typeof insetProps>>>,
|
|
1115
|
+
Expect<Equal<ItemGroupOwnProps, PropsOf<typeof itemGroupProps>>>,
|
|
1116
|
+
Expect<Equal<ItemMediaOwnProps, PropsOf<typeof itemMediaProps>>>,
|
|
1117
|
+
Expect<Equal<ItemOwnProps, PropsOf<typeof itemProps>>>,
|
|
1118
|
+
Expect<Equal<KbdOwnProps, PropsOf<typeof kbdProps>>>,
|
|
1119
|
+
Expect<Equal<LinkOwnProps, PropsOf<typeof linkProps>>>,
|
|
1120
|
+
Expect<Equal<MenubarItemOwnProps, PropsOf<typeof menubarItemProps>>>,
|
|
1121
|
+
Expect<Equal<MenubarPopupOwnProps, PropsOf<typeof menubarPopupProps>>>,
|
|
1122
|
+
Expect<Equal<MenuItemOwnProps, PropsOf<typeof menuItemProps>>>,
|
|
1123
|
+
Expect<Equal<MenuPopupOwnProps, PropsOf<typeof menuPopupProps>>>,
|
|
1124
|
+
Expect<Equal<MeterOwnProps, PropsOf<typeof meterProps>>>,
|
|
1125
|
+
Expect<Equal<NumberFieldOwnProps, PropsOf<typeof numberFieldProps>>>,
|
|
1126
|
+
Expect<Equal<OtpFieldOwnProps, PropsOf<typeof otpFieldProps>>>,
|
|
1127
|
+
Expect<Equal<PopoverPopupOwnProps, PropsOf<typeof popoverPopupProps>>>,
|
|
1128
|
+
Expect<Equal<PreviewCardPopupOwnProps, PropsOf<typeof previewCardPopupProps>>>,
|
|
1129
|
+
Expect<Equal<ProgressOwnProps, PropsOf<typeof progressProps>>>,
|
|
1130
|
+
Expect<Equal<RadioCardsOwnProps, PropsOf<typeof radioCardsProps>>>,
|
|
1131
|
+
Expect<Equal<RadioGroupOwnProps, PropsOf<typeof radioGroupProps>>>,
|
|
1132
|
+
Expect<Equal<ScrollAreaOwnProps, PropsOf<typeof scrollAreaProps>>>,
|
|
1133
|
+
Expect<Equal<SegmentedControlOwnProps, PropsOf<typeof segmentedControlProps>>>,
|
|
1134
|
+
Expect<Equal<SelectPopupOwnProps, PropsOf<typeof selectPopupProps>>>,
|
|
1135
|
+
Expect<Equal<SelectRootOwnProps, PropsOf<typeof selectRootProps>>>,
|
|
1136
|
+
Expect<Equal<SelectTriggerOwnProps, PropsOf<typeof selectTriggerProps>>>,
|
|
1137
|
+
Expect<Equal<SeparatorOwnProps, PropsOf<typeof separatorProps>>>,
|
|
1138
|
+
Expect<Equal<SkeletonOwnProps, PropsOf<typeof skeletonProps>>>,
|
|
1139
|
+
Expect<Equal<SliderOwnProps, PropsOf<typeof sliderProps>>>,
|
|
1140
|
+
Expect<Equal<SpinnerOwnProps, PropsOf<typeof spinnerProps>>>,
|
|
1141
|
+
Expect<Equal<SwitchOwnProps, PropsOf<typeof switchProps>>>,
|
|
1142
|
+
Expect<Equal<TableCellOwnProps, PropsOf<typeof tableCellProps>>>,
|
|
1143
|
+
Expect<Equal<TableOwnProps, PropsOf<typeof tableProps>>>,
|
|
1144
|
+
Expect<Equal<TableRowOwnProps, PropsOf<typeof tableRowProps>>>,
|
|
1145
|
+
Expect<Equal<TabNavOwnProps, PropsOf<typeof tabNavProps>>>,
|
|
1146
|
+
Expect<Equal<TabsListOwnProps, PropsOf<typeof tabsListProps>>>,
|
|
1147
|
+
Expect<Equal<TextAreaOwnProps, PropsOf<typeof textAreaProps>>>,
|
|
1148
|
+
Expect<Equal<TextComponentOwnProps, PropsOf<typeof textComponentProps>>>,
|
|
1149
|
+
Expect<Equal<ToastOwnProps, PropsOf<typeof toastProps>>>,
|
|
1150
|
+
Expect<Equal<ToggleGroupOwnProps, PropsOf<typeof toggleGroupProps>>>,
|
|
1151
|
+
Expect<Equal<ToggleOwnProps, PropsOf<typeof toggleProps>>>,
|
|
1152
|
+
Expect<Equal<ToolbarOwnProps, PropsOf<typeof toolbarProps>>>
|
|
1153
|
+
];
|
|
1154
|
+
export {};
|
|
1155
|
+
//# sourceMappingURL=prop-types.generated.d.ts.map
|