@instruments/materia-ui 0.1.0
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/LICENSE +18 -0
- package/README.md +216 -0
- package/agent-docs.md +2104 -0
- package/dist/components/accordion/accordion-anatomy.d.ts +5 -0
- package/dist/components/accordion/accordion-anatomy.js +29 -0
- package/dist/components/accordion/accordion-content.d.ts +6 -0
- package/dist/components/accordion/accordion-content.js +13 -0
- package/dist/components/accordion/accordion-context.d.ts +28 -0
- package/dist/components/accordion/accordion-context.js +26 -0
- package/dist/components/accordion/accordion-item.d.ts +8 -0
- package/dist/components/accordion/accordion-item.js +14 -0
- package/dist/components/accordion/accordion-root.d.ts +23 -0
- package/dist/components/accordion/accordion-root.js +23 -0
- package/dist/components/accordion/accordion-trigger.d.ts +6 -0
- package/dist/components/accordion/accordion-trigger.js +23 -0
- package/dist/components/accordion/accordion-variants.d.ts +17 -0
- package/dist/components/accordion/accordion-variants.js +63 -0
- package/dist/components/accordion.d.ts +5 -0
- package/dist/components/accordion.js +5 -0
- package/dist/components/alert/alert-anatomy.d.ts +5 -0
- package/dist/components/alert/alert-anatomy.js +19 -0
- package/dist/components/alert/alert-description.d.ts +7 -0
- package/dist/components/alert/alert-description.js +9 -0
- package/dist/components/alert/alert-root.d.ts +21 -0
- package/dist/components/alert/alert-root.js +31 -0
- package/dist/components/alert/alert-title.d.ts +7 -0
- package/dist/components/alert/alert-title.js +8 -0
- package/dist/components/alert-dialog/alert-dialog-action.d.ts +15 -0
- package/dist/components/alert-dialog/alert-dialog-action.js +11 -0
- package/dist/components/alert-dialog/alert-dialog-cancel-focus.d.ts +6 -0
- package/dist/components/alert-dialog/alert-dialog-cancel-focus.js +7 -0
- package/dist/components/alert-dialog/alert-dialog-cancel.d.ts +10 -0
- package/dist/components/alert-dialog/alert-dialog-cancel.js +13 -0
- package/dist/components/alert-dialog/alert-dialog-content.d.ts +12 -0
- package/dist/components/alert-dialog/alert-dialog-content.js +20 -0
- package/dist/components/alert-dialog/alert-dialog-description.d.ts +7 -0
- package/dist/components/alert-dialog/alert-dialog-description.js +8 -0
- package/dist/components/alert-dialog/alert-dialog-footer.d.ts +7 -0
- package/dist/components/alert-dialog/alert-dialog-footer.js +15 -0
- package/dist/components/alert-dialog/alert-dialog-header.d.ts +4 -0
- package/dist/components/alert-dialog/alert-dialog-header.js +7 -0
- package/dist/components/alert-dialog/alert-dialog-overlay.d.ts +7 -0
- package/dist/components/alert-dialog/alert-dialog-overlay.js +8 -0
- package/dist/components/alert-dialog/alert-dialog-portal.d.ts +5 -0
- package/dist/components/alert-dialog/alert-dialog-portal.js +6 -0
- package/dist/components/alert-dialog/alert-dialog-root.d.ts +15 -0
- package/dist/components/alert-dialog/alert-dialog-root.js +16 -0
- package/dist/components/alert-dialog/alert-dialog-title.d.ts +7 -0
- package/dist/components/alert-dialog/alert-dialog-title.js +7 -0
- package/dist/components/alert-dialog/alert-dialog-trigger.d.ts +5 -0
- package/dist/components/alert-dialog/alert-dialog-trigger.js +6 -0
- package/dist/components/alert-dialog.d.ts +11 -0
- package/dist/components/alert-dialog.js +11 -0
- package/dist/components/alert.d.ts +4 -0
- package/dist/components/alert.js +4 -0
- package/dist/components/anchor/anchor-root.d.ts +33 -0
- package/dist/components/anchor/anchor-root.js +84 -0
- package/dist/components/anchor.d.ts +1 -0
- package/dist/components/anchor.js +1 -0
- package/dist/components/animated-number/animated-number-root.d.ts +92 -0
- package/dist/components/animated-number/animated-number-root.js +89 -0
- package/dist/components/animated-number/format-parts.d.ts +41 -0
- package/dist/components/animated-number/format-parts.js +91 -0
- package/dist/components/animated-number/get-width-in-em.d.ts +5 -0
- package/dist/components/animated-number/get-width-in-em.js +11 -0
- package/dist/components/animated-number/mask.d.ts +16 -0
- package/dist/components/animated-number/mask.js +65 -0
- package/dist/components/animated-number/number-digit.d.ts +24 -0
- package/dist/components/animated-number/number-digit.js +110 -0
- package/dist/components/animated-number/number-section.d.ts +22 -0
- package/dist/components/animated-number/number-section.js +93 -0
- package/dist/components/animated-number/number-symbol.d.ts +17 -0
- package/dist/components/animated-number/number-symbol.js +23 -0
- package/dist/components/animated-number/section-context.d.ts +10 -0
- package/dist/components/animated-number/section-context.js +10 -0
- package/dist/components/animated-number/target-widths.d.ts +7 -0
- package/dist/components/animated-number/target-widths.js +8 -0
- package/dist/components/animated-number.d.ts +1 -0
- package/dist/components/animated-number.js +1 -0
- package/dist/components/aspect-ratio/aspect-ratio-anatomy.d.ts +5 -0
- package/dist/components/aspect-ratio/aspect-ratio-anatomy.js +10 -0
- package/dist/components/aspect-ratio/aspect-ratio-root.d.ts +39 -0
- package/dist/components/aspect-ratio/aspect-ratio-root.js +39 -0
- package/dist/components/aspect-ratio/aspect-ratio.test-d.d.ts +27 -0
- package/dist/components/aspect-ratio/aspect-ratio.test-d.js +1 -0
- package/dist/components/aspect-ratio.d.ts +2 -0
- package/dist/components/aspect-ratio.js +2 -0
- package/dist/components/avatar/avatar-badge.d.ts +28 -0
- package/dist/components/avatar/avatar-badge.js +54 -0
- package/dist/components/avatar/avatar-context.d.ts +23 -0
- package/dist/components/avatar/avatar-context.js +27 -0
- package/dist/components/avatar/avatar-fallback.d.ts +19 -0
- package/dist/components/avatar/avatar-fallback.js +69 -0
- package/dist/components/avatar/avatar-group.d.ts +53 -0
- package/dist/components/avatar/avatar-group.js +129 -0
- package/dist/components/avatar/avatar-image.d.ts +23 -0
- package/dist/components/avatar/avatar-image.js +22 -0
- package/dist/components/avatar/avatar-root.d.ts +39 -0
- package/dist/components/avatar/avatar-root.js +57 -0
- package/dist/components/avatar/avatar-status.d.ts +18 -0
- package/dist/components/avatar/avatar-status.js +30 -0
- package/dist/components/avatar.d.ts +6 -0
- package/dist/components/avatar.js +6 -0
- package/dist/components/badge/badge-button.d.ts +15 -0
- package/dist/components/badge/badge-button.js +49 -0
- package/dist/components/badge/badge-dot.d.ts +6 -0
- package/dist/components/badge/badge-dot.js +6 -0
- package/dist/components/badge/badge-root.d.ts +70 -0
- package/dist/components/badge/badge-root.js +104 -0
- package/dist/components/badge.d.ts +7 -0
- package/dist/components/badge.js +4 -0
- package/dist/components/border-beam/border-beam-root.d.ts +45 -0
- package/dist/components/border-beam/border-beam-root.js +77 -0
- package/dist/components/border-beam.d.ts +2 -0
- package/dist/components/border-beam.js +1 -0
- package/dist/components/box/box-root.d.ts +30 -0
- package/dist/components/box/box-root.js +33 -0
- package/dist/components/box/box.test-d.d.ts +39 -0
- package/dist/components/box/box.test-d.js +1 -0
- package/dist/components/box.d.ts +1 -0
- package/dist/components/box.js +1 -0
- package/dist/components/breadcrumb/breadcrumb-anatomy.d.ts +5 -0
- package/dist/components/breadcrumb/breadcrumb-anatomy.js +46 -0
- package/dist/components/breadcrumb/breadcrumb-root.d.ts +38 -0
- package/dist/components/breadcrumb/breadcrumb-root.js +51 -0
- package/dist/components/breadcrumb.d.ts +2 -0
- package/dist/components/breadcrumb.js +2 -0
- package/dist/components/button/button-content.d.ts +32 -0
- package/dist/components/button/button-content.js +70 -0
- package/dist/components/button/button-helpers.d.ts +16 -0
- package/dist/components/button/button-helpers.js +50 -0
- package/dist/components/button/button-root.d.ts +27 -0
- package/dist/components/button/button-root.js +102 -0
- package/dist/components/button/button-sizing.d.ts +40 -0
- package/dist/components/button/button-sizing.js +44 -0
- package/dist/components/button/button-types.d.ts +58 -0
- package/dist/components/button/button-types.js +1 -0
- package/dist/components/button/button-variants.d.ts +64 -0
- package/dist/components/button/button-variants.js +350 -0
- package/dist/components/button/use-has-changed.d.ts +6 -0
- package/dist/components/button/use-has-changed.js +16 -0
- package/dist/components/button-group/button-group-root.d.ts +32 -0
- package/dist/components/button-group/button-group-root.js +153 -0
- package/dist/components/button-group.d.ts +1 -0
- package/dist/components/button-group.js +1 -0
- package/dist/components/button.d.ts +1 -0
- package/dist/components/button.js +1 -0
- package/dist/components/calendar/calendar-root.d.ts +8 -0
- package/dist/components/calendar/calendar-root.js +54 -0
- package/dist/components/calendar.d.ts +2 -0
- package/dist/components/calendar.js +1 -0
- package/dist/components/card/card-action.d.ts +8 -0
- package/dist/components/card/card-action.js +9 -0
- package/dist/components/card/card-anatomy.d.ts +5 -0
- package/dist/components/card/card-anatomy.js +40 -0
- package/dist/components/card/card-content.d.ts +20 -0
- package/dist/components/card/card-content.js +30 -0
- package/dist/components/card/card-description.d.ts +6 -0
- package/dist/components/card/card-description.js +7 -0
- package/dist/components/card/card-footer.d.ts +8 -0
- package/dist/components/card/card-footer.js +10 -0
- package/dist/components/card/card-header.d.ts +25 -0
- package/dist/components/card/card-header.js +32 -0
- package/dist/components/card/card-root.d.ts +67 -0
- package/dist/components/card/card-root.js +64 -0
- package/dist/components/card/card-title.d.ts +8 -0
- package/dist/components/card/card-title.js +18 -0
- package/dist/components/card/card.test-d.d.ts +70 -0
- package/dist/components/card/card.test-d.js +1 -0
- package/dist/components/card.d.ts +8 -0
- package/dist/components/card.js +8 -0
- package/dist/components/carousel/carousel-root.d.ts +86 -0
- package/dist/components/carousel/carousel-root.js +140 -0
- package/dist/components/carousel/carousel-store.d.ts +22 -0
- package/dist/components/carousel/carousel-store.js +45 -0
- package/dist/components/carousel.d.ts +2 -0
- package/dist/components/carousel.js +1 -0
- package/dist/components/center/center-root.d.ts +62 -0
- package/dist/components/center/center-root.js +61 -0
- package/dist/components/center.d.ts +1 -0
- package/dist/components/center.js +1 -0
- package/dist/components/chart/chart-anatomy.d.ts +5 -0
- package/dist/components/chart/chart-anatomy.js +34 -0
- package/dist/components/chart/chart-context.d.ts +82 -0
- package/dist/components/chart/chart-context.js +60 -0
- package/dist/components/chart/chart-legend.d.ts +16 -0
- package/dist/components/chart/chart-legend.js +26 -0
- package/dist/components/chart/chart-root.d.ts +31 -0
- package/dist/components/chart/chart-root.js +29 -0
- package/dist/components/chart/chart-style.d.ts +13 -0
- package/dist/components/chart/chart-style.js +29 -0
- package/dist/components/chart/chart-tooltip.d.ts +26 -0
- package/dist/components/chart/chart-tooltip.js +62 -0
- package/dist/components/chart.d.ts +6 -0
- package/dist/components/chart.js +5 -0
- package/dist/components/checkbox/checkbox-root.d.ts +40 -0
- package/dist/components/checkbox/checkbox-root.js +46 -0
- package/dist/components/checkbox-card/checkbox-card-anatomy.d.ts +5 -0
- package/dist/components/checkbox-card/checkbox-card-anatomy.js +41 -0
- package/dist/components/checkbox-card/checkbox-card-content.d.ts +3 -0
- package/dist/components/checkbox-card/checkbox-card-content.js +6 -0
- package/dist/components/checkbox-card/checkbox-card-context.d.ts +29 -0
- package/dist/components/checkbox-card/checkbox-card-context.js +11 -0
- package/dist/components/checkbox-card/checkbox-card-description.d.ts +3 -0
- package/dist/components/checkbox-card/checkbox-card-description.js +5 -0
- package/dist/components/checkbox-card/checkbox-card-icon.d.ts +8 -0
- package/dist/components/checkbox-card/checkbox-card-icon.js +11 -0
- package/dist/components/checkbox-card/checkbox-card-item.d.ts +32 -0
- package/dist/components/checkbox-card/checkbox-card-item.js +54 -0
- package/dist/components/checkbox-card/checkbox-card-root.d.ts +36 -0
- package/dist/components/checkbox-card/checkbox-card-root.js +48 -0
- package/dist/components/checkbox-card/checkbox-card-title.d.ts +3 -0
- package/dist/components/checkbox-card/checkbox-card-title.js +5 -0
- package/dist/components/checkbox-card.d.ts +7 -0
- package/dist/components/checkbox-card.js +7 -0
- package/dist/components/checkbox-field/checkbox-field-root.d.ts +26 -0
- package/dist/components/checkbox-field/checkbox-field-root.js +24 -0
- package/dist/components/checkbox-field.d.ts +1 -0
- package/dist/components/checkbox-field.js +1 -0
- package/dist/components/checkbox.d.ts +1 -0
- package/dist/components/checkbox.js +1 -0
- package/dist/components/code/code-root.d.ts +17 -0
- package/dist/components/code/code-root.js +17 -0
- package/dist/components/code.d.ts +1 -0
- package/dist/components/code.js +1 -0
- package/dist/components/collapsible/collapsible-anatomy.d.ts +5 -0
- package/dist/components/collapsible/collapsible-anatomy.js +22 -0
- package/dist/components/collapsible/collapsible-content.d.ts +9 -0
- package/dist/components/collapsible/collapsible-content.js +10 -0
- package/dist/components/collapsible/collapsible-root.d.ts +11 -0
- package/dist/components/collapsible/collapsible-root.js +13 -0
- package/dist/components/collapsible/collapsible-trigger.d.ts +3 -0
- package/dist/components/collapsible/collapsible-trigger.js +4 -0
- package/dist/components/collapsible.d.ts +4 -0
- package/dist/components/collapsible.js +4 -0
- package/dist/components/color-wheel/color-wheel-root.d.ts +17 -0
- package/dist/components/color-wheel/color-wheel-root.js +205 -0
- package/dist/components/color-wheel/color-wheel-utils.d.ts +59 -0
- package/dist/components/color-wheel/color-wheel-utils.js +101 -0
- package/dist/components/color-wheel.d.ts +3 -0
- package/dist/components/color-wheel.js +3 -0
- package/dist/components/combobox/combobox-root.d.ts +53 -0
- package/dist/components/combobox/combobox-root.js +109 -0
- package/dist/components/combobox.d.ts +1 -0
- package/dist/components/combobox.js +1 -0
- package/dist/components/command/command-anatomy.d.ts +5 -0
- package/dist/components/command/command-anatomy.js +56 -0
- package/dist/components/command/command-dialog.d.ts +30 -0
- package/dist/components/command/command-dialog.js +23 -0
- package/dist/components/command/command-empty.d.ts +10 -0
- package/dist/components/command/command-empty.js +10 -0
- package/dist/components/command/command-group.d.ts +17 -0
- package/dist/components/command/command-group.js +15 -0
- package/dist/components/command/command-input.d.ts +9 -0
- package/dist/components/command/command-input.js +12 -0
- package/dist/components/command/command-item.d.ts +11 -0
- package/dist/components/command/command-item.js +11 -0
- package/dist/components/command/command-list.d.ts +11 -0
- package/dist/components/command/command-list.js +11 -0
- package/dist/components/command/command-root.d.ts +40 -0
- package/dist/components/command/command-root.js +28 -0
- package/dist/components/command/command-separator.d.ts +9 -0
- package/dist/components/command/command-separator.js +9 -0
- package/dist/components/command/command-shortcut.d.ts +6 -0
- package/dist/components/command/command-shortcut.js +7 -0
- package/dist/components/command.d.ts +14 -0
- package/dist/components/command.js +15 -0
- package/dist/components/container/container-root.d.ts +57 -0
- package/dist/components/container/container-root.js +60 -0
- package/dist/components/container.d.ts +1 -0
- package/dist/components/container.js +2 -0
- package/dist/components/context-menu/context-menu-anatomy.d.ts +5 -0
- package/dist/components/context-menu/context-menu-anatomy.js +76 -0
- package/dist/components/context-menu/context-menu-checkbox-item.d.ts +6 -0
- package/dist/components/context-menu/context-menu-checkbox-item.js +8 -0
- package/dist/components/context-menu/context-menu-content.d.ts +8 -0
- package/dist/components/context-menu/context-menu-content.js +10 -0
- package/dist/components/context-menu/context-menu-context.d.ts +20 -0
- package/dist/components/context-menu/context-menu-context.js +16 -0
- package/dist/components/context-menu/context-menu-group.d.ts +3 -0
- package/dist/components/context-menu/context-menu-group.js +5 -0
- package/dist/components/context-menu/context-menu-item.d.ts +8 -0
- package/dist/components/context-menu/context-menu-item.js +10 -0
- package/dist/components/context-menu/context-menu-label.d.ts +11 -0
- package/dist/components/context-menu/context-menu-label.js +9 -0
- package/dist/components/context-menu/context-menu-parts.d.ts +2 -0
- package/dist/components/context-menu/context-menu-parts.js +14 -0
- package/dist/components/context-menu/context-menu-portal.d.ts +6 -0
- package/dist/components/context-menu/context-menu-portal.js +8 -0
- package/dist/components/context-menu/context-menu-radio-group.d.ts +3 -0
- package/dist/components/context-menu/context-menu-radio-group.js +5 -0
- package/dist/components/context-menu/context-menu-radio-item.d.ts +6 -0
- package/dist/components/context-menu/context-menu-radio-item.js +8 -0
- package/dist/components/context-menu/context-menu-root.d.ts +14 -0
- package/dist/components/context-menu/context-menu-root.js +15 -0
- package/dist/components/context-menu/context-menu-separator.d.ts +3 -0
- package/dist/components/context-menu/context-menu-separator.js +5 -0
- package/dist/components/context-menu/context-menu-shortcut.d.ts +6 -0
- package/dist/components/context-menu/context-menu-shortcut.js +8 -0
- package/dist/components/context-menu/context-menu-sub-content.d.ts +7 -0
- package/dist/components/context-menu/context-menu-sub-content.js +9 -0
- package/dist/components/context-menu/context-menu-sub-trigger.d.ts +7 -0
- package/dist/components/context-menu/context-menu-sub-trigger.js +9 -0
- package/dist/components/context-menu/context-menu-sub.d.ts +3 -0
- package/dist/components/context-menu/context-menu-sub.js +5 -0
- package/dist/components/context-menu/context-menu-trigger.d.ts +9 -0
- package/dist/components/context-menu/context-menu-trigger.js +10 -0
- package/dist/components/context-menu.d.ts +16 -0
- package/dist/components/context-menu.js +16 -0
- package/dist/components/country-combobox/country-combobox-root.d.ts +34 -0
- package/dist/components/country-combobox/country-combobox-root.js +46 -0
- package/dist/components/country-combobox.d.ts +1 -0
- package/dist/components/country-combobox.js +1 -0
- package/dist/components/country-select/country-flags.d.ts +14 -0
- package/dist/components/country-select/country-flags.js +20 -0
- package/dist/components/country-select/country-select-context.d.ts +6 -0
- package/dist/components/country-select/country-select-context.js +8 -0
- package/dist/components/country-select/country-select-root.d.ts +74 -0
- package/dist/components/country-select/country-select-root.js +92 -0
- package/dist/components/country-select.d.ts +1 -0
- package/dist/components/country-select.js +1 -0
- package/dist/components/description-list/description-list-root.d.ts +46 -0
- package/dist/components/description-list/description-list-root.js +50 -0
- package/dist/components/description-list.d.ts +1 -0
- package/dist/components/description-list.js +1 -0
- package/dist/components/dialog/dialog-anatomy.d.ts +5 -0
- package/dist/components/dialog/dialog-anatomy.js +46 -0
- package/dist/components/dialog/dialog-close.d.ts +5 -0
- package/dist/components/dialog/dialog-close.js +10 -0
- package/dist/components/dialog/dialog-content.d.ts +32 -0
- package/dist/components/dialog/dialog-content.js +23 -0
- package/dist/components/dialog/dialog-description.d.ts +10 -0
- package/dist/components/dialog/dialog-description.js +10 -0
- package/dist/components/dialog/dialog-footer.d.ts +12 -0
- package/dist/components/dialog/dialog-footer.js +16 -0
- package/dist/components/dialog/dialog-header.d.ts +7 -0
- package/dist/components/dialog/dialog-header.js +9 -0
- package/dist/components/dialog/dialog-overlay.d.ts +10 -0
- package/dist/components/dialog/dialog-overlay.js +10 -0
- package/dist/components/dialog/dialog-portal.d.ts +6 -0
- package/dist/components/dialog/dialog-portal.js +11 -0
- package/dist/components/dialog/dialog-root.d.ts +11 -0
- package/dist/components/dialog/dialog-root.js +15 -0
- package/dist/components/dialog/dialog-title.d.ts +10 -0
- package/dist/components/dialog/dialog-title.js +9 -0
- package/dist/components/dialog/dialog-trigger.d.ts +6 -0
- package/dist/components/dialog/dialog-trigger.js +11 -0
- package/dist/components/dialog.d.ts +16 -0
- package/dist/components/dialog.js +17 -0
- package/dist/components/dot/dot-root.d.ts +63 -0
- package/dist/components/dot/dot-root.js +74 -0
- package/dist/components/dot-matrix-loader/dot-matrix-loader-root.d.ts +27 -0
- package/dist/components/dot-matrix-loader/dot-matrix-loader-root.js +134 -0
- package/dist/components/dot-matrix-loader/registry.d.ts +27 -0
- package/dist/components/dot-matrix-loader/registry.js +76 -0
- package/dist/components/dot-matrix-loader.d.ts +2 -0
- package/dist/components/dot-matrix-loader.js +2 -0
- package/dist/components/dot.d.ts +1 -0
- package/dist/components/dot.js +1 -0
- package/dist/components/drawer/drawer-close.d.ts +7 -0
- package/dist/components/drawer/drawer-close.js +7 -0
- package/dist/components/drawer/drawer-content.d.ts +24 -0
- package/dist/components/drawer/drawer-content.js +41 -0
- package/dist/components/drawer/drawer-description.d.ts +9 -0
- package/dist/components/drawer/drawer-description.js +9 -0
- package/dist/components/drawer/drawer-footer.d.ts +6 -0
- package/dist/components/drawer/drawer-footer.js +8 -0
- package/dist/components/drawer/drawer-header.d.ts +6 -0
- package/dist/components/drawer/drawer-header.js +8 -0
- package/dist/components/drawer/drawer-overlay.d.ts +13 -0
- package/dist/components/drawer/drawer-overlay.js +18 -0
- package/dist/components/drawer/drawer-portal.d.ts +8 -0
- package/dist/components/drawer/drawer-portal.js +14 -0
- package/dist/components/drawer/drawer-root.d.ts +24 -0
- package/dist/components/drawer/drawer-root.js +23 -0
- package/dist/components/drawer/drawer-title.d.ts +9 -0
- package/dist/components/drawer/drawer-title.js +9 -0
- package/dist/components/drawer/drawer-trigger.d.ts +7 -0
- package/dist/components/drawer/drawer-trigger.js +7 -0
- package/dist/components/drawer.d.ts +11 -0
- package/dist/components/drawer.js +12 -0
- package/dist/components/dropdown-menu/dropdown-menu-anatomy.d.ts +5 -0
- package/dist/components/dropdown-menu/dropdown-menu-anatomy.js +76 -0
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-item.d.ts +6 -0
- package/dist/components/dropdown-menu/dropdown-menu-checkbox-item.js +8 -0
- package/dist/components/dropdown-menu/dropdown-menu-content.d.ts +7 -0
- package/dist/components/dropdown-menu/dropdown-menu-content.js +9 -0
- package/dist/components/dropdown-menu/dropdown-menu-context.d.ts +20 -0
- package/dist/components/dropdown-menu/dropdown-menu-context.js +16 -0
- package/dist/components/dropdown-menu/dropdown-menu-group.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu-group.js +5 -0
- package/dist/components/dropdown-menu/dropdown-menu-item.d.ts +8 -0
- package/dist/components/dropdown-menu/dropdown-menu-item.js +10 -0
- package/dist/components/dropdown-menu/dropdown-menu-label.d.ts +11 -0
- package/dist/components/dropdown-menu/dropdown-menu-label.js +9 -0
- package/dist/components/dropdown-menu/dropdown-menu-parts.d.ts +2 -0
- package/dist/components/dropdown-menu/dropdown-menu-parts.js +14 -0
- package/dist/components/dropdown-menu/dropdown-menu-portal.d.ts +6 -0
- package/dist/components/dropdown-menu/dropdown-menu-portal.js +8 -0
- package/dist/components/dropdown-menu/dropdown-menu-radio-group.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu-radio-group.js +5 -0
- package/dist/components/dropdown-menu/dropdown-menu-radio-item.d.ts +6 -0
- package/dist/components/dropdown-menu/dropdown-menu-radio-item.js +8 -0
- package/dist/components/dropdown-menu/dropdown-menu-root.d.ts +14 -0
- package/dist/components/dropdown-menu/dropdown-menu-root.js +15 -0
- package/dist/components/dropdown-menu/dropdown-menu-separator.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu-separator.js +5 -0
- package/dist/components/dropdown-menu/dropdown-menu-shortcut.d.ts +6 -0
- package/dist/components/dropdown-menu/dropdown-menu-shortcut.js +8 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub-content.d.ts +7 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub-content.js +9 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.d.ts +7 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub-trigger.js +9 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu-sub.js +5 -0
- package/dist/components/dropdown-menu/dropdown-menu-trigger.d.ts +9 -0
- package/dist/components/dropdown-menu/dropdown-menu-trigger.js +10 -0
- package/dist/components/dropdown-menu.d.ts +16 -0
- package/dist/components/dropdown-menu.js +16 -0
- package/dist/components/easing-curve/easing-curve-root.d.ts +36 -0
- package/dist/components/easing-curve/easing-curve-root.js +23 -0
- package/dist/components/easing-curve.d.ts +1 -0
- package/dist/components/easing-curve.js +1 -0
- package/dist/components/empty/empty-actions.d.ts +6 -0
- package/dist/components/empty/empty-actions.js +7 -0
- package/dist/components/empty/empty-context.d.ts +17 -0
- package/dist/components/empty/empty-context.js +15 -0
- package/dist/components/empty/empty-description.d.ts +6 -0
- package/dist/components/empty/empty-description.js +36 -0
- package/dist/components/empty/empty-header.d.ts +6 -0
- package/dist/components/empty/empty-header.js +18 -0
- package/dist/components/empty/empty-media.d.ts +26 -0
- package/dist/components/empty/empty-media.js +49 -0
- package/dist/components/empty/empty-root.d.ts +44 -0
- package/dist/components/empty/empty-root.js +70 -0
- package/dist/components/empty/empty-title.d.ts +10 -0
- package/dist/components/empty/empty-title.js +36 -0
- package/dist/components/empty.d.ts +6 -0
- package/dist/components/empty.js +7 -0
- package/dist/components/error-boundary/error-boundary-root.d.ts +54 -0
- package/dist/components/error-boundary/error-boundary-root.js +51 -0
- package/dist/components/error-boundary.d.ts +1 -0
- package/dist/components/error-boundary.js +1 -0
- package/dist/components/expand-button/expand-button-root.d.ts +32 -0
- package/dist/components/expand-button/expand-button-root.js +37 -0
- package/dist/components/expand-button/plus-minus-morph-icon.d.ts +21 -0
- package/dist/components/expand-button/plus-minus-morph-icon.js +35 -0
- package/dist/components/expand-button.d.ts +4 -0
- package/dist/components/expand-button.js +2 -0
- package/dist/components/expandable-text/expandable-text-root.d.ts +25 -0
- package/dist/components/expandable-text/expandable-text-root.js +49 -0
- package/dist/components/expandable-text.d.ts +1 -0
- package/dist/components/expandable-text.js +1 -0
- package/dist/components/fade-overlay/fade-overlay-root.d.ts +33 -0
- package/dist/components/fade-overlay/fade-overlay-root.js +48 -0
- package/dist/components/fade-overlay.d.ts +1 -0
- package/dist/components/fade-overlay.js +1 -0
- package/dist/components/field/field-anatomy.d.ts +10 -0
- package/dist/components/field/field-anatomy.js +50 -0
- package/dist/components/field/field-content.d.ts +18 -0
- package/dist/components/field/field-content.js +21 -0
- package/dist/components/field/field-context.d.ts +22 -0
- package/dist/components/field/field-context.js +21 -0
- package/dist/components/field/field-description.d.ts +16 -0
- package/dist/components/field/field-description.js +25 -0
- package/dist/components/field/field-error.d.ts +24 -0
- package/dist/components/field/field-error.js +59 -0
- package/dist/components/field/field-group.d.ts +17 -0
- package/dist/components/field/field-group.js +20 -0
- package/dist/components/field/field-label.d.ts +21 -0
- package/dist/components/field/field-label.js +29 -0
- package/dist/components/field/field-root.d.ts +40 -0
- package/dist/components/field/field-root.js +37 -0
- package/dist/components/field/field-variants.d.ts +8 -0
- package/dist/components/field/field-variants.js +26 -0
- package/dist/components/field.d.ts +8 -0
- package/dist/components/field.js +8 -0
- package/dist/components/flex/flex-root.d.ts +56 -0
- package/dist/components/flex/flex-root.js +48 -0
- package/dist/components/flex/flex.test-d.d.ts +60 -0
- package/dist/components/flex/flex.test-d.js +1 -0
- package/dist/components/flex.d.ts +1 -0
- package/dist/components/flex.js +1 -0
- package/dist/components/gallery/gallery-image.d.ts +70 -0
- package/dist/components/gallery/gallery-image.js +121 -0
- package/dist/components/gallery/image-skeleton.d.ts +13 -0
- package/dist/components/gallery/image-skeleton.js +12 -0
- package/dist/components/gallery/loading-image.d.ts +35 -0
- package/dist/components/gallery/loading-image.js +36 -0
- package/dist/components/gallery.d.ts +3 -0
- package/dist/components/gallery.js +3 -0
- package/dist/components/grid/grid-col.d.ts +33 -0
- package/dist/components/grid/grid-col.js +34 -0
- package/dist/components/grid/grid-col.test-d.d.ts +39 -0
- package/dist/components/grid/grid-col.test-d.js +1 -0
- package/dist/components/grid/grid-root.d.ts +65 -0
- package/dist/components/grid/grid-root.js +55 -0
- package/dist/components/grid/grid-utils.d.ts +19 -0
- package/dist/components/grid/grid-utils.js +44 -0
- package/dist/components/grid/grid.test-d.d.ts +36 -0
- package/dist/components/grid/grid.test-d.js +1 -0
- package/dist/components/grid.d.ts +4 -0
- package/dist/components/grid.js +2 -0
- package/dist/components/group/group-root.d.ts +60 -0
- package/dist/components/group/group-root.js +86 -0
- package/dist/components/group/group.test-d.d.ts +27 -0
- package/dist/components/group/group.test-d.js +1 -0
- package/dist/components/group.d.ts +1 -0
- package/dist/components/group.js +1 -0
- package/dist/components/heading/heading-root.d.ts +36 -0
- package/dist/components/heading/heading-root.js +50 -0
- package/dist/components/heading.d.ts +1 -0
- package/dist/components/heading.js +1 -0
- package/dist/components/hotspot-indicator/hotspot-indicator-root.d.ts +41 -0
- package/dist/components/hotspot-indicator/hotspot-indicator-root.js +117 -0
- package/dist/components/hotspot-indicator.d.ts +1 -0
- package/dist/components/hotspot-indicator.js +1 -0
- package/dist/components/hover-card/hover-card-root.d.ts +24 -0
- package/dist/components/hover-card/hover-card-root.js +25 -0
- package/dist/components/hover-card.d.ts +1 -0
- package/dist/components/hover-card.js +1 -0
- package/dist/components/icon/icon-root.d.ts +38 -0
- package/dist/components/icon/icon-root.js +34 -0
- package/dist/components/icon-box/icon-box-root.d.ts +29 -0
- package/dist/components/icon-box/icon-box-root.js +86 -0
- package/dist/components/icon-box.d.ts +1 -0
- package/dist/components/icon-box.js +1 -0
- package/dist/components/icon-card/icon-card-root.d.ts +32 -0
- package/dist/components/icon-card/icon-card-root.js +27 -0
- package/dist/components/icon-card.d.ts +1 -0
- package/dist/components/icon-card.js +1 -0
- package/dist/components/icon-morph/icon-morph-root.d.ts +69 -0
- package/dist/components/icon-morph/icon-morph-root.js +84 -0
- package/dist/components/icon-morph.d.ts +2 -0
- package/dist/components/icon-morph.js +1 -0
- package/dist/components/icon.d.ts +1 -0
- package/dist/components/icon.js +1 -0
- package/dist/components/identified-surface.d.ts +24 -0
- package/dist/components/identified-surface.js +60 -0
- package/dist/components/input/input-root.d.ts +37 -0
- package/dist/components/input/input-root.js +35 -0
- package/dist/components/input/input-types.d.ts +6 -0
- package/dist/components/input/input-types.js +1 -0
- package/dist/components/input/input-variants.d.ts +17 -0
- package/dist/components/input/input-variants.js +44 -0
- package/dist/components/input-card/input-card-root.d.ts +45 -0
- package/dist/components/input-card/input-card-root.js +101 -0
- package/dist/components/input-card.d.ts +2 -0
- package/dist/components/input-card.js +1 -0
- package/dist/components/input-group/input-group-addon.d.ts +22 -0
- package/dist/components/input-group/input-group-addon.js +30 -0
- package/dist/components/input-group/input-group-anatomy.d.ts +5 -0
- package/dist/components/input-group/input-group-anatomy.js +32 -0
- package/dist/components/input-group/input-group-button.d.ts +25 -0
- package/dist/components/input-group/input-group-button.js +30 -0
- package/dist/components/input-group/input-group-context.d.ts +20 -0
- package/dist/components/input-group/input-group-context.js +20 -0
- package/dist/components/input-group/input-group-icon.d.ts +19 -0
- package/dist/components/input-group/input-group-icon.js +23 -0
- package/dist/components/input-group/input-group-input.d.ts +18 -0
- package/dist/components/input-group/input-group-input.js +23 -0
- package/dist/components/input-group/input-group-root.d.ts +40 -0
- package/dist/components/input-group/input-group-root.js +54 -0
- package/dist/components/input-group/input-group-textarea.d.ts +22 -0
- package/dist/components/input-group/input-group-textarea.js +29 -0
- package/dist/components/input-group/input-group-types.d.ts +7 -0
- package/dist/components/input-group/input-group-types.js +1 -0
- package/dist/components/input-group/input-group-variants.d.ts +45 -0
- package/dist/components/input-group/input-group-variants.js +202 -0
- package/dist/components/input-group.d.ts +10 -0
- package/dist/components/input-group.js +9 -0
- package/dist/components/input-otp/input-otp-root.d.ts +41 -0
- package/dist/components/input-otp/input-otp-root.js +42 -0
- package/dist/components/input-otp/input-otp-separator.d.ts +3 -0
- package/dist/components/input-otp/input-otp-separator.js +6 -0
- package/dist/components/input-otp/input-otp-slot.d.ts +10 -0
- package/dist/components/input-otp/input-otp-slot.js +19 -0
- package/dist/components/input-otp.d.ts +1 -0
- package/dist/components/input-otp.js +1 -0
- package/dist/components/input.d.ts +8 -0
- package/dist/components/input.js +6 -0
- package/dist/components/item/item-actions.d.ts +6 -0
- package/dist/components/item/item-actions.js +7 -0
- package/dist/components/item/item-anatomy.d.ts +10 -0
- package/dist/components/item/item-anatomy.js +70 -0
- package/dist/components/item/item-content.d.ts +7 -0
- package/dist/components/item/item-content.js +9 -0
- package/dist/components/item/item-description.d.ts +6 -0
- package/dist/components/item/item-description.js +7 -0
- package/dist/components/item/item-footer.d.ts +6 -0
- package/dist/components/item/item-footer.js +8 -0
- package/dist/components/item/item-group.d.ts +43 -0
- package/dist/components/item/item-group.js +49 -0
- package/dist/components/item/item-header.d.ts +6 -0
- package/dist/components/item/item-header.js +8 -0
- package/dist/components/item/item-media.d.ts +15 -0
- package/dist/components/item/item-media.js +29 -0
- package/dist/components/item/item-root.d.ts +44 -0
- package/dist/components/item/item-root.js +98 -0
- package/dist/components/item/item-separator.d.ts +7 -0
- package/dist/components/item/item-separator.js +8 -0
- package/dist/components/item/item-title.d.ts +6 -0
- package/dist/components/item/item-title.js +8 -0
- package/dist/components/item.d.ts +11 -0
- package/dist/components/item.js +11 -0
- package/dist/components/kbd/kbd-root.d.ts +97 -0
- package/dist/components/kbd/kbd-root.js +152 -0
- package/dist/components/kbd.d.ts +2 -0
- package/dist/components/kbd.js +1 -0
- package/dist/components/label/label-root.d.ts +22 -0
- package/dist/components/label/label-root.js +24 -0
- package/dist/components/label.d.ts +1 -0
- package/dist/components/label.js +1 -0
- package/dist/components/location-input/location-input-root.d.ts +88 -0
- package/dist/components/location-input/location-input-root.js +86 -0
- package/dist/components/location-input/location-types.d.ts +54 -0
- package/dist/components/location-input/location-types.js +1 -0
- package/dist/components/location-input/use-location-input.d.ts +25 -0
- package/dist/components/location-input/use-location-input.js +71 -0
- package/dist/components/location-input/use-location-search.d.ts +19 -0
- package/dist/components/location-input/use-location-search.js +65 -0
- package/dist/components/location-input.d.ts +2 -0
- package/dist/components/location-input.js +1 -0
- package/dist/components/logo/logo-root.d.ts +36 -0
- package/dist/components/logo/logo-root.js +30 -0
- package/dist/components/logo.d.ts +1 -0
- package/dist/components/logo.js +1 -0
- package/dist/components/marquee-text/marquee-text-root.d.ts +37 -0
- package/dist/components/marquee-text/marquee-text-root.js +73 -0
- package/dist/components/marquee-text.d.ts +1 -0
- package/dist/components/marquee-text.js +1 -0
- package/dist/components/media-frame/media-frame-embed.d.ts +29 -0
- package/dist/components/media-frame/media-frame-embed.js +19 -0
- package/dist/components/media-frame/media-frame-root.d.ts +56 -0
- package/dist/components/media-frame/media-frame-root.js +47 -0
- package/dist/components/media-frame/media-frame.test-d.d.ts +27 -0
- package/dist/components/media-frame/media-frame.test-d.js +1 -0
- package/dist/components/media-frame.d.ts +2 -0
- package/dist/components/media-frame.js +2 -0
- package/dist/components/menu-item/menu-item-checkbox.d.ts +10 -0
- package/dist/components/menu-item/menu-item-checkbox.js +13 -0
- package/dist/components/menu-item/menu-item-indicators.d.ts +14 -0
- package/dist/components/menu-item/menu-item-indicators.js +12 -0
- package/dist/components/menu-item/menu-item-radio.d.ts +7 -0
- package/dist/components/menu-item/menu-item-radio.js +7 -0
- package/dist/components/menu-item/menu-item-root.d.ts +14 -0
- package/dist/components/menu-item/menu-item-root.js +85 -0
- package/dist/components/menu-item/menu-item-start-glyph.d.ts +17 -0
- package/dist/components/menu-item/menu-item-start-glyph.js +23 -0
- package/dist/components/menu-item/menu-item-suffix.d.ts +15 -0
- package/dist/components/menu-item/menu-item-suffix.js +6 -0
- package/dist/components/menu-item/menu-item-types.d.ts +71 -0
- package/dist/components/menu-item/menu-item-types.js +1 -0
- package/dist/components/menu-item/menu-item-variants.d.ts +43 -0
- package/dist/components/menu-item/menu-item-variants.js +157 -0
- package/dist/components/menu-item.d.ts +1 -0
- package/dist/components/menu-item.js +1 -0
- package/dist/components/menu-parts.d.ts +151 -0
- package/dist/components/menu-parts.js +304 -0
- package/dist/components/menubar/menubar-anatomy.d.ts +5 -0
- package/dist/components/menubar/menubar-anatomy.js +83 -0
- package/dist/components/menubar/menubar-checkbox-item.d.ts +6 -0
- package/dist/components/menubar/menubar-checkbox-item.js +8 -0
- package/dist/components/menubar/menubar-content.d.ts +7 -0
- package/dist/components/menubar/menubar-content.js +9 -0
- package/dist/components/menubar/menubar-context.d.ts +20 -0
- package/dist/components/menubar/menubar-context.js +16 -0
- package/dist/components/menubar/menubar-group.d.ts +3 -0
- package/dist/components/menubar/menubar-group.js +5 -0
- package/dist/components/menubar/menubar-item.d.ts +8 -0
- package/dist/components/menubar/menubar-item.js +10 -0
- package/dist/components/menubar/menubar-label.d.ts +11 -0
- package/dist/components/menubar/menubar-label.js +9 -0
- package/dist/components/menubar/menubar-menu.d.ts +8 -0
- package/dist/components/menubar/menubar-menu.js +9 -0
- package/dist/components/menubar/menubar-parts.d.ts +2 -0
- package/dist/components/menubar/menubar-parts.js +17 -0
- package/dist/components/menubar/menubar-portal.d.ts +6 -0
- package/dist/components/menubar/menubar-portal.js +8 -0
- package/dist/components/menubar/menubar-radio-group.d.ts +3 -0
- package/dist/components/menubar/menubar-radio-group.js +5 -0
- package/dist/components/menubar/menubar-radio-item.d.ts +6 -0
- package/dist/components/menubar/menubar-radio-item.js +8 -0
- package/dist/components/menubar/menubar-root.d.ts +14 -0
- package/dist/components/menubar/menubar-root.js +15 -0
- package/dist/components/menubar/menubar-separator.d.ts +3 -0
- package/dist/components/menubar/menubar-separator.js +5 -0
- package/dist/components/menubar/menubar-shortcut.d.ts +6 -0
- package/dist/components/menubar/menubar-shortcut.js +8 -0
- package/dist/components/menubar/menubar-sub-content.d.ts +7 -0
- package/dist/components/menubar/menubar-sub-content.js +9 -0
- package/dist/components/menubar/menubar-sub-trigger.d.ts +7 -0
- package/dist/components/menubar/menubar-sub-trigger.js +9 -0
- package/dist/components/menubar/menubar-sub.d.ts +3 -0
- package/dist/components/menubar/menubar-sub.js +5 -0
- package/dist/components/menubar/menubar-trigger.d.ts +9 -0
- package/dist/components/menubar/menubar-trigger.js +10 -0
- package/dist/components/menubar.d.ts +17 -0
- package/dist/components/menubar.js +17 -0
- package/dist/components/month-year-picker/month-year-picker-root.d.ts +47 -0
- package/dist/components/month-year-picker/month-year-picker-root.js +130 -0
- package/dist/components/month-year-picker.d.ts +1 -0
- package/dist/components/month-year-picker.js +1 -0
- package/dist/components/morph-dialog/morph-dialog-root.d.ts +87 -0
- package/dist/components/morph-dialog/morph-dialog-root.js +106 -0
- package/dist/components/morph-dialog.d.ts +1 -0
- package/dist/components/morph-dialog.js +2 -0
- package/dist/components/motion-config/motion-config-root.d.ts +20 -0
- package/dist/components/motion-config/motion-config-root.js +20 -0
- package/dist/components/motion-config.d.ts +1 -0
- package/dist/components/motion-config.js +1 -0
- package/dist/components/native-select/native-select-optgroup.d.ts +3 -0
- package/dist/components/native-select/native-select-optgroup.js +4 -0
- package/dist/components/native-select/native-select-option.d.ts +3 -0
- package/dist/components/native-select/native-select-option.js +3 -0
- package/dist/components/native-select/native-select-root.d.ts +15 -0
- package/dist/components/native-select/native-select-root.js +21 -0
- package/dist/components/native-select.d.ts +1 -0
- package/dist/components/native-select.js +1 -0
- package/dist/components/navigation-menu/navigation-menu-anatomy.d.ts +5 -0
- package/dist/components/navigation-menu/navigation-menu-anatomy.js +58 -0
- package/dist/components/navigation-menu/navigation-menu-content.d.ts +11 -0
- package/dist/components/navigation-menu/navigation-menu-content.js +12 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.d.ts +12 -0
- package/dist/components/navigation-menu/navigation-menu-indicator.js +12 -0
- package/dist/components/navigation-menu/navigation-menu-item.d.ts +11 -0
- package/dist/components/navigation-menu/navigation-menu-item.js +11 -0
- package/dist/components/navigation-menu/navigation-menu-link.d.ts +13 -0
- package/dist/components/navigation-menu/navigation-menu-link.js +15 -0
- package/dist/components/navigation-menu/navigation-menu-list.d.ts +10 -0
- package/dist/components/navigation-menu/navigation-menu-list.js +10 -0
- package/dist/components/navigation-menu/navigation-menu-root.d.ts +22 -0
- package/dist/components/navigation-menu/navigation-menu-root.js +17 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.d.ts +24 -0
- package/dist/components/navigation-menu/navigation-menu-trigger.js +28 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.d.ts +20 -0
- package/dist/components/navigation-menu/navigation-menu-viewport.js +16 -0
- package/dist/components/navigation-menu.d.ts +9 -0
- package/dist/components/navigation-menu.js +9 -0
- package/dist/components/overlay-primitives.d.ts +62 -0
- package/dist/components/overlay-primitives.js +43 -0
- package/dist/components/pagination/pagination-root.d.ts +36 -0
- package/dist/components/pagination/pagination-root.js +41 -0
- package/dist/components/pagination/pagination-utils.d.ts +17 -0
- package/dist/components/pagination/pagination-utils.js +55 -0
- package/dist/components/pagination.d.ts +1 -0
- package/dist/components/pagination.js +1 -0
- package/dist/components/phone-input/phone-country-select.d.ts +18 -0
- package/dist/components/phone-input/phone-country-select.js +10 -0
- package/dist/components/phone-input/phone-input-field.d.ts +15 -0
- package/dist/components/phone-input/phone-input-field.js +30 -0
- package/dist/components/phone-input/phone-input-root.d.ts +48 -0
- package/dist/components/phone-input/phone-input-root.js +66 -0
- package/dist/components/phone-input.d.ts +1 -0
- package/dist/components/phone-input.js +1 -0
- package/dist/components/pill/pill-root.d.ts +31 -0
- package/dist/components/pill/pill-root.js +39 -0
- package/dist/components/pill/pill-variants.d.ts +52 -0
- package/dist/components/pill/pill-variants.js +286 -0
- package/dist/components/pill.d.ts +4 -0
- package/dist/components/pill.js +2 -0
- package/dist/components/pixel-loader/pixel-loader-root.d.ts +42 -0
- package/dist/components/pixel-loader/pixel-loader-root.js +49 -0
- package/dist/components/pixel-loader.d.ts +1 -0
- package/dist/components/pixel-loader.js +1 -0
- package/dist/components/popover/popover-anatomy.d.ts +5 -0
- package/dist/components/popover/popover-anatomy.js +22 -0
- package/dist/components/popover/popover-root.d.ts +87 -0
- package/dist/components/popover/popover-root.js +84 -0
- package/dist/components/popover.d.ts +2 -0
- package/dist/components/popover.js +2 -0
- package/dist/components/progress/progress-root.d.ts +38 -0
- package/dist/components/progress/progress-root.js +38 -0
- package/dist/components/progress-dots/progress-dots-root.d.ts +31 -0
- package/dist/components/progress-dots/progress-dots-root.js +50 -0
- package/dist/components/progress-dots.d.ts +1 -0
- package/dist/components/progress-dots.js +1 -0
- package/dist/components/progress.d.ts +1 -0
- package/dist/components/progress.js +1 -0
- package/dist/components/quantity-control/quantity-control-root.d.ts +50 -0
- package/dist/components/quantity-control/quantity-control-root.js +69 -0
- package/dist/components/quantity-control.d.ts +1 -0
- package/dist/components/quantity-control.js +1 -0
- package/dist/components/radio/radio-root.d.ts +62 -0
- package/dist/components/radio/radio-root.js +87 -0
- package/dist/components/radio-card/radio-card-constants.d.ts +18 -0
- package/dist/components/radio-card/radio-card-constants.js +53 -0
- package/dist/components/radio-card/radio-card-content.d.ts +3 -0
- package/dist/components/radio-card/radio-card-content.js +6 -0
- package/dist/components/radio-card/radio-card-context.d.ts +31 -0
- package/dist/components/radio-card/radio-card-context.js +11 -0
- package/dist/components/radio-card/radio-card-description.d.ts +6 -0
- package/dist/components/radio-card/radio-card-description.js +14 -0
- package/dist/components/radio-card/radio-card-icon.d.ts +6 -0
- package/dist/components/radio-card/radio-card-icon.js +15 -0
- package/dist/components/radio-card/radio-card-item.d.ts +21 -0
- package/dist/components/radio-card/radio-card-item.js +49 -0
- package/dist/components/radio-card/radio-card-root.d.ts +44 -0
- package/dist/components/radio-card/radio-card-root.js +43 -0
- package/dist/components/radio-card/radio-card-title.d.ts +6 -0
- package/dist/components/radio-card/radio-card-title.js +14 -0
- package/dist/components/radio-card.d.ts +6 -0
- package/dist/components/radio-card.js +6 -0
- package/dist/components/radio-group/radio-group-root.d.ts +54 -0
- package/dist/components/radio-group/radio-group-root.js +60 -0
- package/dist/components/radio-group.d.ts +1 -0
- package/dist/components/radio-group.js +1 -0
- package/dist/components/radio.d.ts +1 -0
- package/dist/components/radio.js +1 -0
- package/dist/components/requirement-item/requirement-item-root.d.ts +27 -0
- package/dist/components/requirement-item/requirement-item-root.js +21 -0
- package/dist/components/requirement-item.d.ts +1 -0
- package/dist/components/requirement-item.js +1 -0
- package/dist/components/resizable/resizable-anatomy.d.ts +5 -0
- package/dist/components/resizable/resizable-anatomy.js +22 -0
- package/dist/components/resizable/resizable-handle.d.ts +15 -0
- package/dist/components/resizable/resizable-handle.js +38 -0
- package/dist/components/resizable/resizable-panel-group.d.ts +30 -0
- package/dist/components/resizable/resizable-panel-group.js +25 -0
- package/dist/components/resizable/resizable-panel.d.ts +10 -0
- package/dist/components/resizable/resizable-panel.js +11 -0
- package/dist/components/resizable.d.ts +4 -0
- package/dist/components/resizable.js +4 -0
- package/dist/components/scrim/scrim-root.d.ts +21 -0
- package/dist/components/scrim/scrim-root.js +17 -0
- package/dist/components/scrim/scrim-variants.d.ts +18 -0
- package/dist/components/scrim/scrim-variants.js +33 -0
- package/dist/components/scrim.d.ts +3 -0
- package/dist/components/scrim.js +2 -0
- package/dist/components/scroll-area/scroll-area-root.d.ts +46 -0
- package/dist/components/scroll-area/scroll-area-root.js +36 -0
- package/dist/components/scroll-area/scroll-area.test-d.d.ts +27 -0
- package/dist/components/scroll-area/scroll-area.test-d.js +1 -0
- package/dist/components/scroll-area.d.ts +1 -0
- package/dist/components/scroll-area.js +1 -0
- package/dist/components/scroll-fade/scroll-fade-root.d.ts +37 -0
- package/dist/components/scroll-fade/scroll-fade-root.js +135 -0
- package/dist/components/scroll-fade.d.ts +1 -0
- package/dist/components/scroll-fade.js +1 -0
- package/dist/components/scroll-frame/scroll-frame-root.d.ts +79 -0
- package/dist/components/scroll-frame/scroll-frame-root.js +102 -0
- package/dist/components/scroll-frame.d.ts +1 -0
- package/dist/components/scroll-frame.js +1 -0
- package/dist/components/search-input/search-input-root.d.ts +73 -0
- package/dist/components/search-input/search-input-root.js +87 -0
- package/dist/components/search-input/search-input-suggestions.d.ts +17 -0
- package/dist/components/search-input/search-input-suggestions.js +49 -0
- package/dist/components/search-input.d.ts +2 -0
- package/dist/components/search-input.js +1 -0
- package/dist/components/section/section-root.d.ts +47 -0
- package/dist/components/section/section-root.js +48 -0
- package/dist/components/section.d.ts +1 -0
- package/dist/components/section.js +1 -0
- package/dist/components/segmented/segmented-root.d.ts +12 -0
- package/dist/components/segmented/segmented-root.js +12 -0
- package/dist/components/segmented/segmented-variants.d.ts +39 -0
- package/dist/components/segmented/segmented-variants.js +83 -0
- package/dist/components/segmented-control/segmented-control-anatomy.d.ts +5 -0
- package/dist/components/segmented-control/segmented-control-anatomy.js +24 -0
- package/dist/components/segmented-control/segmented-control-context.d.ts +22 -0
- package/dist/components/segmented-control/segmented-control-context.js +15 -0
- package/dist/components/segmented-control/segmented-control-indicator.d.ts +8 -0
- package/dist/components/segmented-control/segmented-control-indicator.js +18 -0
- package/dist/components/segmented-control/segmented-control-item.d.ts +24 -0
- package/dist/components/segmented-control/segmented-control-item.js +27 -0
- package/dist/components/segmented-control/segmented-control-root.d.ts +35 -0
- package/dist/components/segmented-control/segmented-control-root.js +74 -0
- package/dist/components/segmented-control/segmented-control-variants.d.ts +9 -0
- package/dist/components/segmented-control/segmented-control-variants.js +31 -0
- package/dist/components/segmented-control/use-single-selection.d.ts +28 -0
- package/dist/components/segmented-control/use-single-selection.js +29 -0
- package/dist/components/segmented-control.d.ts +3 -0
- package/dist/components/segmented-control.js +3 -0
- package/dist/components/segmented.d.ts +1 -0
- package/dist/components/segmented.js +1 -0
- package/dist/components/select/select-anatomy.d.ts +5 -0
- package/dist/components/select/select-anatomy.js +49 -0
- package/dist/components/select/select-content.d.ts +15 -0
- package/dist/components/select/select-content.js +23 -0
- package/dist/components/select/select-context.d.ts +7 -0
- package/dist/components/select/select-context.js +7 -0
- package/dist/components/select/select-group.d.ts +8 -0
- package/dist/components/select/select-group.js +9 -0
- package/dist/components/select/select-item.d.ts +10 -0
- package/dist/components/select/select-item.js +46 -0
- package/dist/components/select/select-label.d.ts +11 -0
- package/dist/components/select/select-label.js +11 -0
- package/dist/components/select/select-root.d.ts +15 -0
- package/dist/components/select/select-root.js +16 -0
- package/dist/components/select/select-separator.d.ts +11 -0
- package/dist/components/select/select-separator.js +11 -0
- package/dist/components/select/select-trigger.d.ts +18 -0
- package/dist/components/select/select-trigger.js +14 -0
- package/dist/components/select/select-value.d.ts +8 -0
- package/dist/components/select/select-value.js +9 -0
- package/dist/components/select.d.ts +9 -0
- package/dist/components/select.js +9 -0
- package/dist/components/separator/separator-root.d.ts +31 -0
- package/dist/components/separator/separator-root.js +28 -0
- package/dist/components/separator.d.ts +1 -0
- package/dist/components/separator.js +1 -0
- package/dist/components/sheet/sheet-anatomy.d.ts +5 -0
- package/dist/components/sheet/sheet-anatomy.js +49 -0
- package/dist/components/sheet/sheet-close.d.ts +5 -0
- package/dist/components/sheet/sheet-close.js +10 -0
- package/dist/components/sheet/sheet-content.d.ts +14 -0
- package/dist/components/sheet/sheet-content.js +16 -0
- package/dist/components/sheet/sheet-description.d.ts +7 -0
- package/dist/components/sheet/sheet-description.js +11 -0
- package/dist/components/sheet/sheet-footer.d.ts +6 -0
- package/dist/components/sheet/sheet-footer.js +8 -0
- package/dist/components/sheet/sheet-header.d.ts +6 -0
- package/dist/components/sheet/sheet-header.js +8 -0
- package/dist/components/sheet/sheet-overlay.d.ts +9 -0
- package/dist/components/sheet/sheet-overlay.js +9 -0
- package/dist/components/sheet/sheet-portal.d.ts +5 -0
- package/dist/components/sheet/sheet-portal.js +10 -0
- package/dist/components/sheet/sheet-root.d.ts +10 -0
- package/dist/components/sheet/sheet-root.js +14 -0
- package/dist/components/sheet/sheet-title.d.ts +7 -0
- package/dist/components/sheet/sheet-title.js +11 -0
- package/dist/components/sheet/sheet-trigger.d.ts +5 -0
- package/dist/components/sheet/sheet-trigger.js +10 -0
- package/dist/components/sheet.d.ts +16 -0
- package/dist/components/sheet.js +17 -0
- package/dist/components/shimmer/shimmer-root.d.ts +67 -0
- package/dist/components/shimmer/shimmer-root.js +148 -0
- package/dist/components/shimmer.d.ts +2 -0
- package/dist/components/shimmer.js +1 -0
- package/dist/components/shine/shine-root.d.ts +50 -0
- package/dist/components/shine/shine-root.js +100 -0
- package/dist/components/shine.d.ts +2 -0
- package/dist/components/shine.js +1 -0
- package/dist/components/sidepanel/sidepanel-anatomy.d.ts +5 -0
- package/dist/components/sidepanel/sidepanel-anatomy.js +61 -0
- package/dist/components/sidepanel/sidepanel-body.d.ts +17 -0
- package/dist/components/sidepanel/sidepanel-body.js +20 -0
- package/dist/components/sidepanel/sidepanel-close-button.d.ts +19 -0
- package/dist/components/sidepanel/sidepanel-close-button.js +18 -0
- package/dist/components/sidepanel/sidepanel-close.d.ts +13 -0
- package/dist/components/sidepanel/sidepanel-close.js +17 -0
- package/dist/components/sidepanel/sidepanel-content.d.ts +39 -0
- package/dist/components/sidepanel/sidepanel-content.js +68 -0
- package/dist/components/sidepanel/sidepanel-controls.d.ts +24 -0
- package/dist/components/sidepanel/sidepanel-controls.js +22 -0
- package/dist/components/sidepanel/sidepanel-description.d.ts +10 -0
- package/dist/components/sidepanel/sidepanel-description.js +12 -0
- package/dist/components/sidepanel/sidepanel-dismiss.d.ts +14 -0
- package/dist/components/sidepanel/sidepanel-dismiss.js +27 -0
- package/dist/components/sidepanel/sidepanel-footer.d.ts +7 -0
- package/dist/components/sidepanel/sidepanel-footer.js +9 -0
- package/dist/components/sidepanel/sidepanel-header.d.ts +21 -0
- package/dist/components/sidepanel/sidepanel-header.js +17 -0
- package/dist/components/sidepanel/sidepanel-nested-root.d.ts +12 -0
- package/dist/components/sidepanel/sidepanel-nested-root.js +12 -0
- package/dist/components/sidepanel/sidepanel-root.d.ts +18 -0
- package/dist/components/sidepanel/sidepanel-root.js +18 -0
- package/dist/components/sidepanel/sidepanel-title-context.d.ts +6 -0
- package/dist/components/sidepanel/sidepanel-title-context.js +8 -0
- package/dist/components/sidepanel/sidepanel-title.d.ts +15 -0
- package/dist/components/sidepanel/sidepanel-title.js +29 -0
- package/dist/components/sidepanel/sidepanel-trigger.d.ts +8 -0
- package/dist/components/sidepanel/sidepanel-trigger.js +11 -0
- package/dist/components/sidepanel.d.ts +19 -0
- package/dist/components/sidepanel.js +13 -0
- package/dist/components/simple-grid/simple-grid-root.d.ts +46 -0
- package/dist/components/simple-grid/simple-grid-root.js +55 -0
- package/dist/components/simple-grid/simple-grid.test-d.d.ts +48 -0
- package/dist/components/simple-grid/simple-grid.test-d.js +1 -0
- package/dist/components/simple-grid.d.ts +1 -0
- package/dist/components/simple-grid.js +1 -0
- package/dist/components/skeleton/skeleton-root.d.ts +27 -0
- package/dist/components/skeleton/skeleton-root.js +27 -0
- package/dist/components/skeleton/skeleton-row.d.ts +20 -0
- package/dist/components/skeleton/skeleton-row.js +20 -0
- package/dist/components/skeleton/skeleton-text.d.ts +21 -0
- package/dist/components/skeleton/skeleton-text.js +36 -0
- package/dist/components/skeleton.d.ts +3 -0
- package/dist/components/skeleton.js +3 -0
- package/dist/components/slider/slider-root.d.ts +98 -0
- package/dist/components/slider/slider-root.js +108 -0
- package/dist/components/slider.d.ts +1 -0
- package/dist/components/slider.js +1 -0
- package/dist/components/social-icon/social-icon-paths.d.ts +9 -0
- package/dist/components/social-icon/social-icon-paths.js +48 -0
- package/dist/components/social-icon/social-icon-root.d.ts +22 -0
- package/dist/components/social-icon/social-icon-root.js +15 -0
- package/dist/components/social-icon.d.ts +4 -0
- package/dist/components/social-icon.js +2 -0
- package/dist/components/space/space-root.d.ts +32 -0
- package/dist/components/space/space-root.js +36 -0
- package/dist/components/space.d.ts +1 -0
- package/dist/components/space.js +1 -0
- package/dist/components/spinner/spinner-root.d.ts +25 -0
- package/dist/components/spinner/spinner-root.js +49 -0
- package/dist/components/spinner.d.ts +1 -0
- package/dist/components/spinner.js +1 -0
- package/dist/components/stack/stack-root.d.ts +54 -0
- package/dist/components/stack/stack-root.js +51 -0
- package/dist/components/stack/stack.test-d.d.ts +39 -0
- package/dist/components/stack/stack.test-d.js +1 -0
- package/dist/components/stack.d.ts +1 -0
- package/dist/components/stack.js +1 -0
- package/dist/components/stagger/stagger-item.d.ts +20 -0
- package/dist/components/stagger/stagger-item.js +47 -0
- package/dist/components/stagger/stagger-root.d.ts +26 -0
- package/dist/components/stagger/stagger-root.js +32 -0
- package/dist/components/stagger.d.ts +2 -0
- package/dist/components/stagger.js +2 -0
- package/dist/components/stepper/stepper-context.d.ts +29 -0
- package/dist/components/stepper/stepper-context.js +15 -0
- package/dist/components/stepper/stepper-item.d.ts +16 -0
- package/dist/components/stepper/stepper-item.js +64 -0
- package/dist/components/stepper/stepper-root.d.ts +31 -0
- package/dist/components/stepper/stepper-root.js +54 -0
- package/dist/components/stepper/stepper-variants.d.ts +43 -0
- package/dist/components/stepper/stepper-variants.js +122 -0
- package/dist/components/stepper.d.ts +5 -0
- package/dist/components/stepper.js +2 -0
- package/dist/components/streaming-text/streaming-text-root.d.ts +48 -0
- package/dist/components/streaming-text/streaming-text-root.js +49 -0
- package/dist/components/streaming-text.d.ts +1 -0
- package/dist/components/streaming-text.js +1 -0
- package/dist/components/sub-navigation/sub-navigation-link.d.ts +18 -0
- package/dist/components/sub-navigation/sub-navigation-link.js +13 -0
- package/dist/components/sub-navigation/sub-navigation-list.d.ts +7 -0
- package/dist/components/sub-navigation/sub-navigation-list.js +8 -0
- package/dist/components/sub-navigation/sub-navigation-root.d.ts +11 -0
- package/dist/components/sub-navigation/sub-navigation-root.js +13 -0
- package/dist/components/sub-navigation.d.ts +6 -0
- package/dist/components/sub-navigation.js +3 -0
- package/dist/components/success-tick-ripple/success-tick-ripple-root.d.ts +35 -0
- package/dist/components/success-tick-ripple/success-tick-ripple-root.js +33 -0
- package/dist/components/success-tick-ripple.d.ts +1 -0
- package/dist/components/success-tick-ripple.js +1 -0
- package/dist/components/swatch/stacked-swatch-fan.d.ts +32 -0
- package/dist/components/swatch/stacked-swatch-fan.js +48 -0
- package/dist/components/swatch/stacked-swatch-fan.motion.d.ts +28 -0
- package/dist/components/swatch/stacked-swatch-fan.motion.js +82 -0
- package/dist/components/swatch/swatch-chip.d.ts +111 -0
- package/dist/components/swatch/swatch-chip.js +136 -0
- package/dist/components/swatch/swatch-root.d.ts +47 -0
- package/dist/components/swatch/swatch-root.js +41 -0
- package/dist/components/swatch/swatch-tile-floating.d.ts +18 -0
- package/dist/components/swatch/swatch-tile-floating.js +33 -0
- package/dist/components/swatch/swatch-tile-styles.d.ts +39 -0
- package/dist/components/swatch/swatch-tile-styles.js +132 -0
- package/dist/components/swatch/swatch-tile-types.d.ts +86 -0
- package/dist/components/swatch/swatch-tile-types.js +1 -0
- package/dist/components/swatch/swatch-tile.d.ts +27 -0
- package/dist/components/swatch/swatch-tile.js +45 -0
- package/dist/components/swatch/use-stacked-swatch-fan.d.ts +27 -0
- package/dist/components/swatch/use-stacked-swatch-fan.js +162 -0
- package/dist/components/swatch-group/swatch-group-context.d.ts +17 -0
- package/dist/components/swatch-group/swatch-group-context.js +12 -0
- package/dist/components/swatch-group/swatch-group-item.d.ts +37 -0
- package/dist/components/swatch-group/swatch-group-item.js +47 -0
- package/dist/components/swatch-group/swatch-group-root.d.ts +23 -0
- package/dist/components/swatch-group/swatch-group-root.js +21 -0
- package/dist/components/swatch-group.d.ts +2 -0
- package/dist/components/swatch-group.js +2 -0
- package/dist/components/swatch-selector/swatch-selector-context.d.ts +18 -0
- package/dist/components/swatch-selector/swatch-selector-context.js +17 -0
- package/dist/components/swatch-selector/swatch-selector-item.d.ts +39 -0
- package/dist/components/swatch-selector/swatch-selector-item.js +34 -0
- package/dist/components/swatch-selector/swatch-selector-more.d.ts +9 -0
- package/dist/components/swatch-selector/swatch-selector-more.js +6 -0
- package/dist/components/swatch-selector/swatch-selector-root.d.ts +25 -0
- package/dist/components/swatch-selector/swatch-selector-root.js +29 -0
- package/dist/components/swatch-selector.d.ts +3 -0
- package/dist/components/swatch-selector.js +3 -0
- package/dist/components/swatch.d.ts +3 -0
- package/dist/components/swatch.js +3 -0
- package/dist/components/switch/switch-root.d.ts +48 -0
- package/dist/components/switch/switch-root.js +70 -0
- package/dist/components/switch.d.ts +1 -0
- package/dist/components/switch.js +1 -0
- package/dist/components/tab-navigation/tab-navigation-anatomy.d.ts +5 -0
- package/dist/components/tab-navigation/tab-navigation-anatomy.js +24 -0
- package/dist/components/tab-navigation/tab-navigation-link.d.ts +25 -0
- package/dist/components/tab-navigation/tab-navigation-link.js +51 -0
- package/dist/components/tab-navigation/tab-navigation-list.d.ts +8 -0
- package/dist/components/tab-navigation/tab-navigation-list.js +19 -0
- package/dist/components/tab-navigation/tab-navigation-root.d.ts +29 -0
- package/dist/components/tab-navigation/tab-navigation-root.js +18 -0
- package/dist/components/tab-navigation.d.ts +4 -0
- package/dist/components/tab-navigation.js +4 -0
- package/dist/components/table/table-root.d.ts +40 -0
- package/dist/components/table/table-root.js +42 -0
- package/dist/components/table.d.ts +1 -0
- package/dist/components/table.js +1 -0
- package/dist/components/tabs/tabs-anatomy.d.ts +5 -0
- package/dist/components/tabs/tabs-anatomy.js +29 -0
- package/dist/components/tabs/tabs-content.d.ts +11 -0
- package/dist/components/tabs/tabs-content.js +28 -0
- package/dist/components/tabs/tabs-context.d.ts +28 -0
- package/dist/components/tabs/tabs-context.js +16 -0
- package/dist/components/tabs/tabs-indicator.d.ts +8 -0
- package/dist/components/tabs/tabs-indicator.js +22 -0
- package/dist/components/tabs/tabs-list.d.ts +12 -0
- package/dist/components/tabs/tabs-list.js +26 -0
- package/dist/components/tabs/tabs-panel.d.ts +12 -0
- package/dist/components/tabs/tabs-panel.js +18 -0
- package/dist/components/tabs/tabs-root.d.ts +32 -0
- package/dist/components/tabs/tabs-root.js +38 -0
- package/dist/components/tabs/tabs-trigger.d.ts +27 -0
- package/dist/components/tabs/tabs-trigger.js +24 -0
- package/dist/components/tabs/tabs-trigger.test-d.d.ts +35 -0
- package/dist/components/tabs/tabs-trigger.test-d.js +1 -0
- package/dist/components/tabs/tabs-variants.d.ts +24 -0
- package/dist/components/tabs/tabs-variants.js +95 -0
- package/dist/components/tabs.d.ts +6 -0
- package/dist/components/tabs.js +6 -0
- package/dist/components/tag/tag-root.d.ts +58 -0
- package/dist/components/tag/tag-root.js +211 -0
- package/dist/components/tag.d.ts +2 -0
- package/dist/components/tag.js +1 -0
- package/dist/components/text/text-root.d.ts +61 -0
- package/dist/components/text/text-root.js +66 -0
- package/dist/components/text/text.test-d.d.ts +47 -0
- package/dist/components/text/text.test-d.js +1 -0
- package/dist/components/text.d.ts +1 -0
- package/dist/components/text.js +1 -0
- package/dist/components/textarea/textarea-root.d.ts +32 -0
- package/dist/components/textarea/textarea-root.js +46 -0
- package/dist/components/textarea.d.ts +1 -0
- package/dist/components/textarea.js +1 -0
- package/dist/components/thinking-loader/thinking-loader-counter.d.ts +12 -0
- package/dist/components/thinking-loader/thinking-loader-counter.js +10 -0
- package/dist/components/thinking-loader/thinking-loader-icon.d.ts +13 -0
- package/dist/components/thinking-loader/thinking-loader-icon.js +16 -0
- package/dist/components/thinking-loader/thinking-loader-root.d.ts +24 -0
- package/dist/components/thinking-loader/thinking-loader-root.js +102 -0
- package/dist/components/thinking-loader/thinking-loader-step.d.ts +37 -0
- package/dist/components/thinking-loader/thinking-loader-step.js +66 -0
- package/dist/components/thinking-loader/types.d.ts +45 -0
- package/dist/components/thinking-loader/types.js +1 -0
- package/dist/components/thinking-loader/use-thinking-loader.d.ts +64 -0
- package/dist/components/thinking-loader/use-thinking-loader.js +81 -0
- package/dist/components/thinking-loader.d.ts +6 -0
- package/dist/components/thinking-loader.js +5 -0
- package/dist/components/thinking-orb/thinking-orb-root.d.ts +90 -0
- package/dist/components/thinking-orb/thinking-orb-root.js +29 -0
- package/dist/components/thinking-orb.d.ts +2 -0
- package/dist/components/thinking-orb.js +1 -0
- package/dist/components/time-slot-picker/time-slot-picker-root.d.ts +39 -0
- package/dist/components/time-slot-picker/time-slot-picker-root.js +33 -0
- package/dist/components/time-slot-picker.d.ts +1 -0
- package/dist/components/time-slot-picker.js +1 -0
- package/dist/components/toast/toast-manager.d.ts +57 -0
- package/dist/components/toast/toast-manager.js +62 -0
- package/dist/components/toast/toast-root.d.ts +39 -0
- package/dist/components/toast/toast-root.js +109 -0
- package/dist/components/toast.d.ts +2 -0
- package/dist/components/toast.js +2 -0
- package/dist/components/toggle/toggle-group-context.d.ts +15 -0
- package/dist/components/toggle/toggle-group-context.js +3 -0
- package/dist/components/toggle/toggle-root.d.ts +68 -0
- package/dist/components/toggle/toggle-root.js +128 -0
- package/dist/components/toggle-group/toggle-group-root.d.ts +38 -0
- package/dist/components/toggle-group/toggle-group-root.js +48 -0
- package/dist/components/toggle-group.d.ts +1 -0
- package/dist/components/toggle-group.js +1 -0
- package/dist/components/toggle.d.ts +1 -0
- package/dist/components/toggle.js +1 -0
- package/dist/components/tooltip/tooltip-root.d.ts +66 -0
- package/dist/components/tooltip/tooltip-root.js +64 -0
- package/dist/components/tooltip.d.ts +1 -0
- package/dist/components/tooltip.js +1 -0
- package/dist/components/verge/verge-anatomy.d.ts +5 -0
- package/dist/components/verge/verge-anatomy.js +17 -0
- package/dist/components/verge/verge-context.d.ts +5 -0
- package/dist/components/verge/verge-context.js +8 -0
- package/dist/components/verge/verge-root.d.ts +38 -0
- package/dist/components/verge/verge-root.js +48 -0
- package/dist/components/verge/verge-slot.d.ts +55 -0
- package/dist/components/verge/verge-slot.js +61 -0
- package/dist/components/verge.d.ts +3 -0
- package/dist/components/verge.js +3 -0
- package/dist/components/visually-hidden/visually-hidden-root.d.ts +11 -0
- package/dist/components/visually-hidden/visually-hidden-root.js +11 -0
- package/dist/components/visually-hidden.d.ts +1 -0
- package/dist/components/visually-hidden.js +1 -0
- package/dist/components/voice/live-waveform.d.ts +19 -0
- package/dist/components/voice/live-waveform.js +65 -0
- package/dist/components/voice/voice-error-popover.d.ts +29 -0
- package/dist/components/voice/voice-error-popover.js +24 -0
- package/dist/components/voice/voice-pill.d.ts +34 -0
- package/dist/components/voice/voice-pill.js +75 -0
- package/dist/components/voice.d.ts +3 -0
- package/dist/components/voice.js +3 -0
- package/dist/compositions/attribute-card.d.ts +25 -0
- package/dist/compositions/attribute-card.js +18 -0
- package/dist/compositions/card-grid/card-grid-context.d.ts +5 -0
- package/dist/compositions/card-grid/card-grid-context.js +7 -0
- package/dist/compositions/card-grid/card-grid-item.d.ts +16 -0
- package/dist/compositions/card-grid/card-grid-item.js +21 -0
- package/dist/compositions/card-grid/card-grid-metrics.d.ts +59 -0
- package/dist/compositions/card-grid/card-grid-metrics.js +92 -0
- package/dist/compositions/card-grid/card-grid-root.d.ts +39 -0
- package/dist/compositions/card-grid/card-grid-root.js +27 -0
- package/dist/compositions/card-grid/card-grid-rows.d.ts +32 -0
- package/dist/compositions/card-grid/card-grid-rows.js +29 -0
- package/dist/compositions/card-grid/card-grid-skeleton-item.d.ts +14 -0
- package/dist/compositions/card-grid/card-grid-skeleton-item.js +16 -0
- package/dist/compositions/card-grid.d.ts +5 -0
- package/dist/compositions/card-grid.js +5 -0
- package/dist/compositions/color-palette/color-palette-parts.d.ts +2 -0
- package/dist/compositions/color-palette/color-palette-parts.js +2 -0
- package/dist/compositions/color-palette/color-palette-root.d.ts +85 -0
- package/dist/compositions/color-palette/color-palette-root.js +88 -0
- package/dist/compositions/color-palette/palette-card.d.ts +19 -0
- package/dist/compositions/color-palette/palette-card.js +77 -0
- package/dist/compositions/color-palette/palette-helpers.d.ts +45 -0
- package/dist/compositions/color-palette/palette-helpers.js +67 -0
- package/dist/compositions/color-palette/palette-row.d.ts +25 -0
- package/dist/compositions/color-palette/palette-row.js +26 -0
- package/dist/compositions/color-palette/palette-select-indicator.d.ts +14 -0
- package/dist/compositions/color-palette/palette-select-indicator.js +15 -0
- package/dist/compositions/color-palette/palette-settings.d.ts +9 -0
- package/dist/compositions/color-palette/palette-settings.js +8 -0
- package/dist/compositions/color-palette/palette-sort.d.ts +72 -0
- package/dist/compositions/color-palette/palette-sort.js +133 -0
- package/dist/compositions/color-palette.d.ts +3 -0
- package/dist/compositions/color-palette.js +3 -0
- package/dist/compositions/cookie-banner/cookie-banner-root.d.ts +54 -0
- package/dist/compositions/cookie-banner/cookie-banner-root.js +35 -0
- package/dist/compositions/cookie-banner.d.ts +1 -0
- package/dist/compositions/cookie-banner.js +1 -0
- package/dist/compositions/data-grid/data-grid-anatomy.d.ts +5 -0
- package/dist/compositions/data-grid/data-grid-anatomy.js +34 -0
- package/dist/compositions/data-grid/data-grid-checkbox.d.ts +25 -0
- package/dist/compositions/data-grid/data-grid-checkbox.js +33 -0
- package/dist/compositions/data-grid/data-grid-context.d.ts +13 -0
- package/dist/compositions/data-grid/data-grid-context.js +47 -0
- package/dist/compositions/data-grid/data-grid-expand.d.ts +58 -0
- package/dist/compositions/data-grid/data-grid-expand.js +59 -0
- package/dist/compositions/data-grid/data-grid-filter-dropdown.d.ts +26 -0
- package/dist/compositions/data-grid/data-grid-filter-dropdown.js +30 -0
- package/dist/compositions/data-grid/data-grid-filter-option-list.d.ts +8 -0
- package/dist/compositions/data-grid/data-grid-filter-option-list.js +15 -0
- package/dist/compositions/data-grid/data-grid-filter-search-input.d.ts +9 -0
- package/dist/compositions/data-grid/data-grid-filter-search-input.js +18 -0
- package/dist/compositions/data-grid/data-grid-filter-selected-tags.d.ts +7 -0
- package/dist/compositions/data-grid/data-grid-filter-selected-tags.js +12 -0
- package/dist/compositions/data-grid/data-grid-filter-sort-section.d.ts +14 -0
- package/dist/compositions/data-grid/data-grid-filter-sort-section.js +25 -0
- package/dist/compositions/data-grid/data-grid-filterable-header.d.ts +30 -0
- package/dist/compositions/data-grid/data-grid-filterable-header.js +71 -0
- package/dist/compositions/data-grid/data-grid-root.d.ts +18 -0
- package/dist/compositions/data-grid/data-grid-root.js +119 -0
- package/dist/compositions/data-grid/data-grid-shell.d.ts +14 -0
- package/dist/compositions/data-grid/data-grid-shell.js +8 -0
- package/dist/compositions/data-grid/data-grid-sort-filter.d.ts +114 -0
- package/dist/compositions/data-grid/data-grid-sort-filter.js +98 -0
- package/dist/compositions/data-grid/data-grid-toolbar.d.ts +16 -0
- package/dist/compositions/data-grid/data-grid-toolbar.js +13 -0
- package/dist/compositions/data-grid/data-grid-types.d.ts +150 -0
- package/dist/compositions/data-grid/data-grid-types.js +1 -0
- package/dist/compositions/data-grid-column-filter/data-grid-column-filter-root.d.ts +33 -0
- package/dist/compositions/data-grid-column-filter/data-grid-column-filter-root.js +62 -0
- package/dist/compositions/data-grid-column-filter.d.ts +2 -0
- package/dist/compositions/data-grid-column-filter.js +1 -0
- package/dist/compositions/data-grid-column-header/data-grid-column-header-menu-items.d.ts +22 -0
- package/dist/compositions/data-grid-column-header/data-grid-column-header-menu-items.js +40 -0
- package/dist/compositions/data-grid-column-header/data-grid-column-header-root.d.ts +29 -0
- package/dist/compositions/data-grid-column-header/data-grid-column-header-root.js +72 -0
- package/dist/compositions/data-grid-column-header/data-grid-column-header-utils.d.ts +42 -0
- package/dist/compositions/data-grid-column-header/data-grid-column-header-utils.js +74 -0
- package/dist/compositions/data-grid-column-header.d.ts +2 -0
- package/dist/compositions/data-grid-column-header.js +1 -0
- package/dist/compositions/data-grid-column-visibility/data-grid-column-visibility-root.d.ts +22 -0
- package/dist/compositions/data-grid-column-visibility/data-grid-column-visibility-root.js +25 -0
- package/dist/compositions/data-grid-column-visibility.d.ts +1 -0
- package/dist/compositions/data-grid-column-visibility.js +1 -0
- package/dist/compositions/data-grid-pagination/data-grid-pagination-root.d.ts +62 -0
- package/dist/compositions/data-grid-pagination/data-grid-pagination-root.js +96 -0
- package/dist/compositions/data-grid-pagination.d.ts +2 -0
- package/dist/compositions/data-grid-pagination.js +1 -0
- package/dist/compositions/data-grid-table/data-grid-table-body.d.ts +54 -0
- package/dist/compositions/data-grid-table/data-grid-table-body.js +140 -0
- package/dist/compositions/data-grid-table/data-grid-table-header.d.ts +30 -0
- package/dist/compositions/data-grid-table/data-grid-table-header.js +90 -0
- package/dist/compositions/data-grid-table/data-grid-table-root.d.ts +17 -0
- package/dist/compositions/data-grid-table/data-grid-table-root.js +108 -0
- package/dist/compositions/data-grid-table/data-grid-table-styles.d.ts +10 -0
- package/dist/compositions/data-grid-table/data-grid-table-styles.js +34 -0
- package/dist/compositions/data-grid-table/use-data-grid-row-virtualizer.d.ts +25 -0
- package/dist/compositions/data-grid-table/use-data-grid-row-virtualizer.js +51 -0
- package/dist/compositions/data-grid-table.d.ts +1 -0
- package/dist/compositions/data-grid-table.js +1 -0
- package/dist/compositions/data-grid.d.ts +7 -0
- package/dist/compositions/data-grid.js +6 -0
- package/dist/compositions/delivery-banner/delivery-banner-root.d.ts +30 -0
- package/dist/compositions/delivery-banner/delivery-banner-root.js +45 -0
- package/dist/compositions/delivery-banner/use-remaining-time.d.ts +4 -0
- package/dist/compositions/delivery-banner/use-remaining-time.js +22 -0
- package/dist/compositions/delivery-banner.d.ts +1 -0
- package/dist/compositions/delivery-banner.js +1 -0
- package/dist/compositions/document-list/document-list-action.d.ts +6 -0
- package/dist/compositions/document-list/document-list-action.js +8 -0
- package/dist/compositions/document-list/document-list-checkbox.d.ts +12 -0
- package/dist/compositions/document-list/document-list-checkbox.js +22 -0
- package/dist/compositions/document-list/document-list-content.d.ts +7 -0
- package/dist/compositions/document-list/document-list-content.js +9 -0
- package/dist/compositions/document-list/document-list-context.d.ts +46 -0
- package/dist/compositions/document-list/document-list-context.js +102 -0
- package/dist/compositions/document-list/document-list-description.d.ts +6 -0
- package/dist/compositions/document-list/document-list-description.js +7 -0
- package/dist/compositions/document-list/document-list-icon.d.ts +10 -0
- package/dist/compositions/document-list/document-list-icon.js +24 -0
- package/dist/compositions/document-list/document-list-item.d.ts +21 -0
- package/dist/compositions/document-list/document-list-item.js +56 -0
- package/dist/compositions/document-list/document-list-meta.d.ts +6 -0
- package/dist/compositions/document-list/document-list-meta.js +8 -0
- package/dist/compositions/document-list/document-list-root.d.ts +31 -0
- package/dist/compositions/document-list/document-list-root.js +28 -0
- package/dist/compositions/document-list/document-list-select-all.d.ts +10 -0
- package/dist/compositions/document-list/document-list-select-all.js +16 -0
- package/dist/compositions/document-list/document-list-title.d.ts +6 -0
- package/dist/compositions/document-list/document-list-title.js +7 -0
- package/dist/compositions/document-list.d.ts +11 -0
- package/dist/compositions/document-list.js +11 -0
- package/dist/compositions/editorial-card/editorial-card-content.d.ts +10 -0
- package/dist/compositions/editorial-card/editorial-card-content.js +9 -0
- package/dist/compositions/editorial-card/editorial-card-media.d.ts +19 -0
- package/dist/compositions/editorial-card/editorial-card-media.js +22 -0
- package/dist/compositions/editorial-card/editorial-card-root.d.ts +57 -0
- package/dist/compositions/editorial-card/editorial-card-root.js +84 -0
- package/dist/compositions/editorial-card/editorial-card-stack.d.ts +21 -0
- package/dist/compositions/editorial-card/editorial-card-stack.js +57 -0
- package/dist/compositions/editorial-card/editorial-card-ticker.d.ts +31 -0
- package/dist/compositions/editorial-card/editorial-card-ticker.js +81 -0
- package/dist/compositions/editorial-card.d.ts +5 -0
- package/dist/compositions/editorial-card.js +5 -0
- package/dist/compositions/empty-state/empty-state-root.d.ts +46 -0
- package/dist/compositions/empty-state/empty-state-root.js +40 -0
- package/dist/compositions/empty-state.d.ts +1 -0
- package/dist/compositions/empty-state.js +1 -0
- package/dist/compositions/error-state/error-state-root.d.ts +39 -0
- package/dist/compositions/error-state/error-state-root.js +30 -0
- package/dist/compositions/error-state.d.ts +1 -0
- package/dist/compositions/error-state.js +1 -0
- package/dist/compositions/file-upload/file-upload-dropzone.d.ts +52 -0
- package/dist/compositions/file-upload/file-upload-dropzone.js +50 -0
- package/dist/compositions/file-upload/file-upload-item.d.ts +37 -0
- package/dist/compositions/file-upload/file-upload-item.js +52 -0
- package/dist/compositions/file-upload/file-upload-list.d.ts +39 -0
- package/dist/compositions/file-upload/file-upload-list.js +46 -0
- package/dist/compositions/file-upload/file-upload-trigger.d.ts +30 -0
- package/dist/compositions/file-upload/file-upload-trigger.js +28 -0
- package/dist/compositions/file-upload/file-upload-types.d.ts +45 -0
- package/dist/compositions/file-upload/file-upload-types.js +1 -0
- package/dist/compositions/file-upload/file-upload-utils.d.ts +20 -0
- package/dist/compositions/file-upload/file-upload-utils.js +75 -0
- package/dist/compositions/file-upload/use-file-upload.d.ts +33 -0
- package/dist/compositions/file-upload/use-file-upload.js +242 -0
- package/dist/compositions/file-upload.d.ts +5 -0
- package/dist/compositions/file-upload.js +5 -0
- package/dist/compositions/folder-tile/folder-tile-artwork.d.ts +28 -0
- package/dist/compositions/folder-tile/folder-tile-artwork.js +132 -0
- package/dist/compositions/folder-tile/folder-tile-materials.d.ts +8 -0
- package/dist/compositions/folder-tile/folder-tile-materials.js +53 -0
- package/dist/compositions/folder-tile/folder-tile-root.d.ts +20 -0
- package/dist/compositions/folder-tile/folder-tile-root.js +175 -0
- package/dist/compositions/folder-tile/folder-tile-svgs.d.ts +14 -0
- package/dist/compositions/folder-tile/folder-tile-svgs.js +39 -0
- package/dist/compositions/folder-tile/folder-tile-types.d.ts +45 -0
- package/dist/compositions/folder-tile/folder-tile-types.js +1 -0
- package/dist/compositions/folder-tile.d.ts +1 -0
- package/dist/compositions/folder-tile.js +1 -0
- package/dist/compositions/loading-state/loading-state-root.d.ts +41 -0
- package/dist/compositions/loading-state/loading-state-root.js +36 -0
- package/dist/compositions/loading-state.d.ts +1 -0
- package/dist/compositions/loading-state.js +1 -0
- package/dist/compositions/mega-menu/mega-menu-content.d.ts +20 -0
- package/dist/compositions/mega-menu/mega-menu-content.js +38 -0
- package/dist/compositions/mega-menu/mega-menu-context.d.ts +6 -0
- package/dist/compositions/mega-menu/mega-menu-context.js +10 -0
- package/dist/compositions/mega-menu/mega-menu-root.d.ts +32 -0
- package/dist/compositions/mega-menu/mega-menu-root.js +39 -0
- package/dist/compositions/mega-menu/mega-menu-section.d.ts +29 -0
- package/dist/compositions/mega-menu/mega-menu-section.js +46 -0
- package/dist/compositions/mega-menu.d.ts +3 -0
- package/dist/compositions/mega-menu.js +3 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-anatomy.d.ts +5 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-anatomy.js +36 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-drawer.d.ts +27 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-drawer.js +37 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-header.d.ts +54 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-header.js +57 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-item.d.ts +51 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-item.js +41 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-profile.d.ts +33 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-profile.js +28 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-root.d.ts +36 -0
- package/dist/compositions/mobile-navigation/mobile-navigation-root.js +37 -0
- package/dist/compositions/mobile-navigation.d.ts +8 -0
- package/dist/compositions/mobile-navigation.js +6 -0
- package/dist/compositions/page-header/page-header-actions.d.ts +16 -0
- package/dist/compositions/page-header/page-header-actions.js +23 -0
- package/dist/compositions/page-header/page-header-context.d.ts +10 -0
- package/dist/compositions/page-header/page-header-context.js +15 -0
- package/dist/compositions/page-header/page-header-lead.d.ts +23 -0
- package/dist/compositions/page-header/page-header-lead.js +28 -0
- package/dist/compositions/page-header/page-header-root.d.ts +74 -0
- package/dist/compositions/page-header/page-header-root.js +75 -0
- package/dist/compositions/page-header/page-header-row.d.ts +22 -0
- package/dist/compositions/page-header/page-header-row.js +28 -0
- package/dist/compositions/page-header/page-header-slots.d.ts +30 -0
- package/dist/compositions/page-header/page-header-slots.js +12 -0
- package/dist/compositions/page-header/page-header-tabs.d.ts +16 -0
- package/dist/compositions/page-header/page-header-tabs.js +17 -0
- package/dist/compositions/page-header/page-header-title.d.ts +44 -0
- package/dist/compositions/page-header/page-header-title.js +60 -0
- package/dist/compositions/page-header.d.ts +8 -0
- package/dist/compositions/page-header.js +8 -0
- package/dist/compositions/page-toolbar/page-toolbar-applied.d.ts +45 -0
- package/dist/compositions/page-toolbar/page-toolbar-applied.js +41 -0
- package/dist/compositions/page-toolbar/page-toolbar-filter.d.ts +15 -0
- package/dist/compositions/page-toolbar/page-toolbar-filter.js +12 -0
- package/dist/compositions/page-toolbar/page-toolbar-root.d.ts +64 -0
- package/dist/compositions/page-toolbar/page-toolbar-root.js +58 -0
- package/dist/compositions/page-toolbar/page-toolbar-sort.d.ts +31 -0
- package/dist/compositions/page-toolbar/page-toolbar-sort.js +28 -0
- package/dist/compositions/page-toolbar/page-toolbar-table.d.ts +34 -0
- package/dist/compositions/page-toolbar/page-toolbar-table.js +65 -0
- package/dist/compositions/page-toolbar/use-stuck.d.ts +8 -0
- package/dist/compositions/page-toolbar/use-stuck.js +44 -0
- package/dist/compositions/page-toolbar.d.ts +5 -0
- package/dist/compositions/page-toolbar.js +5 -0
- package/dist/compositions/product-card/product-card-action.d.ts +11 -0
- package/dist/compositions/product-card/product-card-action.js +42 -0
- package/dist/compositions/product-card/product-card-actions-types.d.ts +128 -0
- package/dist/compositions/product-card/product-card-actions-types.js +1 -0
- package/dist/compositions/product-card/product-card-add-to-cart.d.ts +19 -0
- package/dist/compositions/product-card/product-card-add-to-cart.js +28 -0
- package/dist/compositions/product-card/product-card-availability.d.ts +14 -0
- package/dist/compositions/product-card/product-card-availability.js +33 -0
- package/dist/compositions/product-card/product-card-caption.d.ts +22 -0
- package/dist/compositions/product-card/product-card-caption.js +46 -0
- package/dist/compositions/product-card/product-card-category.d.ts +1 -0
- package/dist/compositions/product-card/product-card-category.js +22 -0
- package/dist/compositions/product-card/product-card-color-count.d.ts +1 -0
- package/dist/compositions/product-card/product-card-color-count.js +84 -0
- package/dist/compositions/product-card/product-card-compact-arm.d.ts +11 -0
- package/dist/compositions/product-card/product-card-compact-arm.js +21 -0
- package/dist/compositions/product-card/product-card-content-controls.d.ts +23 -0
- package/dist/compositions/product-card/product-card-content-controls.js +80 -0
- package/dist/compositions/product-card/product-card-content-types.d.ts +65 -0
- package/dist/compositions/product-card/product-card-content-types.js +1 -0
- package/dist/compositions/product-card/product-card-content.d.ts +7 -0
- package/dist/compositions/product-card/product-card-content.js +32 -0
- package/dist/compositions/product-card/product-card-context.d.ts +11 -0
- package/dist/compositions/product-card/product-card-context.js +18 -0
- package/dist/compositions/product-card/product-card-cost.d.ts +4 -0
- package/dist/compositions/product-card/product-card-cost.js +21 -0
- package/dist/compositions/product-card/product-card-full-arm.d.ts +28 -0
- package/dist/compositions/product-card/product-card-full-arm.js +36 -0
- package/dist/compositions/product-card/product-card-image-link.d.ts +9 -0
- package/dist/compositions/product-card/product-card-image-link.js +22 -0
- package/dist/compositions/product-card/product-card-image-types.d.ts +91 -0
- package/dist/compositions/product-card/product-card-image-types.js +1 -0
- package/dist/compositions/product-card/product-card-image.d.ts +12 -0
- package/dist/compositions/product-card/product-card-image.js +175 -0
- package/dist/compositions/product-card/product-card-inspiration-content.d.ts +13 -0
- package/dist/compositions/product-card/product-card-inspiration-content.js +24 -0
- package/dist/compositions/product-card/product-card-install-shot.d.ts +27 -0
- package/dist/compositions/product-card/product-card-install-shot.js +31 -0
- package/dist/compositions/product-card/product-card-link.d.ts +21 -0
- package/dist/compositions/product-card/product-card-link.js +29 -0
- package/dist/compositions/product-card/product-card-meta.d.ts +1 -0
- package/dist/compositions/product-card/product-card-meta.js +26 -0
- package/dist/compositions/product-card/product-card-primary-action.d.ts +32 -0
- package/dist/compositions/product-card/product-card-primary-action.js +91 -0
- package/dist/compositions/product-card/product-card-processing.d.ts +9 -0
- package/dist/compositions/product-card/product-card-processing.js +22 -0
- package/dist/compositions/product-card/product-card-product-types.d.ts +107 -0
- package/dist/compositions/product-card/product-card-product-types.js +1 -0
- package/dist/compositions/product-card/product-card-provider-types.d.ts +259 -0
- package/dist/compositions/product-card/product-card-provider-types.js +1 -0
- package/dist/compositions/product-card/product-card-provider.d.ts +15 -0
- package/dist/compositions/product-card/product-card-provider.js +204 -0
- package/dist/compositions/product-card/product-card-quick-view.d.ts +20 -0
- package/dist/compositions/product-card/product-card-quick-view.js +44 -0
- package/dist/compositions/product-card/product-card-root.d.ts +39 -0
- package/dist/compositions/product-card/product-card-root.js +46 -0
- package/dist/compositions/product-card/product-card-skeleton.d.ts +28 -0
- package/dist/compositions/product-card/product-card-skeleton.js +31 -0
- package/dist/compositions/product-card/product-card-standard-content.d.ts +17 -0
- package/dist/compositions/product-card/product-card-standard-content.js +19 -0
- package/dist/compositions/product-card/product-card-status-badge.d.ts +10 -0
- package/dist/compositions/product-card/product-card-status-badge.js +27 -0
- package/dist/compositions/product-card/product-card-swatch-add.d.ts +14 -0
- package/dist/compositions/product-card/product-card-swatch-add.js +51 -0
- package/dist/compositions/product-card/product-card-swatch-selector.d.ts +2 -0
- package/dist/compositions/product-card/product-card-swatch-selector.js +23 -0
- package/dist/compositions/product-card/product-card-swatch.d.ts +22 -0
- package/dist/compositions/product-card/product-card-swatch.js +58 -0
- package/dist/compositions/product-card/product-card-tools-activity.d.ts +17 -0
- package/dist/compositions/product-card/product-card-tools-activity.js +42 -0
- package/dist/compositions/product-card/product-card-tools-types.d.ts +16 -0
- package/dist/compositions/product-card/product-card-tools-types.js +1 -0
- package/dist/compositions/product-card/product-card-tools.d.ts +9 -0
- package/dist/compositions/product-card/product-card-tools.js +58 -0
- package/dist/compositions/product-card/product-card-types.d.ts +10 -0
- package/dist/compositions/product-card/product-card-types.js +1 -0
- package/dist/compositions/product-card.d.ts +24 -0
- package/dist/compositions/product-card.js +23 -0
- package/dist/compositions/product-specifications-selector/product-specifications-fields.d.ts +33 -0
- package/dist/compositions/product-specifications-selector/product-specifications-fields.js +99 -0
- package/dist/compositions/product-specifications-selector/product-specifications-selector.d.ts +44 -0
- package/dist/compositions/product-specifications-selector/product-specifications-selector.js +80 -0
- package/dist/compositions/product-specifications-selector/product-specifications-types.d.ts +22 -0
- package/dist/compositions/product-specifications-selector/product-specifications-types.js +12 -0
- package/dist/compositions/product-specifications-selector/use-variant-highlighting.d.ts +26 -0
- package/dist/compositions/product-specifications-selector/use-variant-highlighting.js +102 -0
- package/dist/compositions/product-specifications-selector.d.ts +1 -0
- package/dist/compositions/product-specifications-selector.js +1 -0
- package/dist/compositions/prompt-panel/prompt-panel-anatomy.d.ts +5 -0
- package/dist/compositions/prompt-panel/prompt-panel-anatomy.js +34 -0
- package/dist/compositions/prompt-panel/prompt-panel-body.d.ts +25 -0
- package/dist/compositions/prompt-panel/prompt-panel-body.js +26 -0
- package/dist/compositions/prompt-panel/prompt-panel-freeform.d.ts +50 -0
- package/dist/compositions/prompt-panel/prompt-panel-freeform.js +59 -0
- package/dist/compositions/prompt-panel/prompt-panel-header.d.ts +37 -0
- package/dist/compositions/prompt-panel/prompt-panel-header.js +32 -0
- package/dist/compositions/prompt-panel/prompt-panel-option.d.ts +33 -0
- package/dist/compositions/prompt-panel/prompt-panel-option.js +37 -0
- package/dist/compositions/prompt-panel/prompt-panel-root.d.ts +39 -0
- package/dist/compositions/prompt-panel/prompt-panel-root.js +32 -0
- package/dist/compositions/prompt-panel/prompt-panel-stage.d.ts +47 -0
- package/dist/compositions/prompt-panel/prompt-panel-stage.js +161 -0
- package/dist/compositions/prompt-panel/prompt-panel-view.d.ts +67 -0
- package/dist/compositions/prompt-panel/prompt-panel-view.js +59 -0
- package/dist/compositions/prompt-panel/use-prompt-panel-keyboard.d.ts +41 -0
- package/dist/compositions/prompt-panel/use-prompt-panel-keyboard.js +55 -0
- package/dist/compositions/prompt-panel.d.ts +17 -0
- package/dist/compositions/prompt-panel.js +9 -0
- package/dist/compositions/quick-view/quick-view-body.d.ts +15 -0
- package/dist/compositions/quick-view/quick-view-body.js +14 -0
- package/dist/compositions/quick-view/quick-view-content.d.ts +16 -0
- package/dist/compositions/quick-view/quick-view-content.js +28 -0
- package/dist/compositions/quick-view/quick-view-context.d.ts +11 -0
- package/dist/compositions/quick-view/quick-view-context.js +11 -0
- package/dist/compositions/quick-view/quick-view-footer.d.ts +12 -0
- package/dist/compositions/quick-view/quick-view-footer.js +13 -0
- package/dist/compositions/quick-view/quick-view-header.d.ts +24 -0
- package/dist/compositions/quick-view/quick-view-header.js +16 -0
- package/dist/compositions/quick-view/quick-view-layout.d.ts +32 -0
- package/dist/compositions/quick-view/quick-view-layout.js +31 -0
- package/dist/compositions/quick-view/quick-view-root.d.ts +37 -0
- package/dist/compositions/quick-view/quick-view-root.js +64 -0
- package/dist/compositions/quick-view.d.ts +6 -0
- package/dist/compositions/quick-view.js +6 -0
- package/dist/compositions/section-header/section-header-root.d.ts +67 -0
- package/dist/compositions/section-header/section-header-root.js +78 -0
- package/dist/compositions/section-header/section-header.test-d.d.ts +31 -0
- package/dist/compositions/section-header/section-header.test-d.js +1 -0
- package/dist/compositions/section-header.d.ts +1 -0
- package/dist/compositions/section-header.js +1 -0
- package/dist/compositions/settings-card/settings-card-anatomy.d.ts +5 -0
- package/dist/compositions/settings-card/settings-card-anatomy.js +34 -0
- package/dist/compositions/settings-card/settings-card-root.d.ts +55 -0
- package/dist/compositions/settings-card/settings-card-root.js +43 -0
- package/dist/compositions/settings-card/settings-row.d.ts +40 -0
- package/dist/compositions/settings-card/settings-row.js +28 -0
- package/dist/compositions/settings-card.d.ts +3 -0
- package/dist/compositions/settings-card.js +3 -0
- package/dist/compositions/sidebar/sidebar-anatomy.d.ts +5 -0
- package/dist/compositions/sidebar/sidebar-anatomy.js +75 -0
- package/dist/compositions/sidebar/sidebar-constants.d.ts +93 -0
- package/dist/compositions/sidebar/sidebar-constants.js +99 -0
- package/dist/compositions/sidebar/sidebar-content.d.ts +3 -0
- package/dist/compositions/sidebar/sidebar-content.js +6 -0
- package/dist/compositions/sidebar/sidebar-cookie.d.ts +6 -0
- package/dist/compositions/sidebar/sidebar-cookie.js +24 -0
- package/dist/compositions/sidebar/sidebar-footer.d.ts +6 -0
- package/dist/compositions/sidebar/sidebar-footer.js +14 -0
- package/dist/compositions/sidebar/sidebar-group.d.ts +14 -0
- package/dist/compositions/sidebar/sidebar-group.js +36 -0
- package/dist/compositions/sidebar/sidebar-header.d.ts +3 -0
- package/dist/compositions/sidebar/sidebar-header.js +5 -0
- package/dist/compositions/sidebar/sidebar-input.d.ts +4 -0
- package/dist/compositions/sidebar/sidebar-input.js +5 -0
- package/dist/compositions/sidebar/sidebar-inset-guard.d.ts +7 -0
- package/dist/compositions/sidebar/sidebar-inset-guard.js +18 -0
- package/dist/compositions/sidebar/sidebar-inset.d.ts +38 -0
- package/dist/compositions/sidebar/sidebar-inset.js +51 -0
- package/dist/compositions/sidebar/sidebar-layout-header.d.ts +54 -0
- package/dist/compositions/sidebar/sidebar-layout-header.js +94 -0
- package/dist/compositions/sidebar/sidebar-menu-action.d.ts +8 -0
- package/dist/compositions/sidebar/sidebar-menu-action.js +21 -0
- package/dist/compositions/sidebar/sidebar-menu-badge.d.ts +5 -0
- package/dist/compositions/sidebar/sidebar-menu-badge.js +6 -0
- package/dist/compositions/sidebar/sidebar-menu-button.d.ts +38 -0
- package/dist/compositions/sidebar/sidebar-menu-button.js +135 -0
- package/dist/compositions/sidebar/sidebar-menu-label.d.ts +9 -0
- package/dist/compositions/sidebar/sidebar-menu-label.js +16 -0
- package/dist/compositions/sidebar/sidebar-menu-skeleton.d.ts +10 -0
- package/dist/compositions/sidebar/sidebar-menu-skeleton.js +34 -0
- package/dist/compositions/sidebar/sidebar-menu-sub.d.ts +39 -0
- package/dist/compositions/sidebar/sidebar-menu-sub.js +41 -0
- package/dist/compositions/sidebar/sidebar-menu.d.ts +11 -0
- package/dist/compositions/sidebar/sidebar-menu.js +16 -0
- package/dist/compositions/sidebar/sidebar-motion-config.d.ts +21 -0
- package/dist/compositions/sidebar/sidebar-motion-config.js +14 -0
- package/dist/compositions/sidebar/sidebar-panel-guard.d.ts +8 -0
- package/dist/compositions/sidebar/sidebar-panel-guard.js +16 -0
- package/dist/compositions/sidebar/sidebar-panel.d.ts +55 -0
- package/dist/compositions/sidebar/sidebar-panel.js +59 -0
- package/dist/compositions/sidebar/sidebar-provider.d.ts +70 -0
- package/dist/compositions/sidebar/sidebar-provider.js +120 -0
- package/dist/compositions/sidebar/sidebar-resize-handle.d.ts +24 -0
- package/dist/compositions/sidebar/sidebar-resize-handle.js +159 -0
- package/dist/compositions/sidebar/sidebar-root.d.ts +38 -0
- package/dist/compositions/sidebar/sidebar-root.js +156 -0
- package/dist/compositions/sidebar/sidebar-separator.d.ts +9 -0
- package/dist/compositions/sidebar/sidebar-separator.js +5 -0
- package/dist/compositions/sidebar/sidebar-skip-link.d.ts +14 -0
- package/dist/compositions/sidebar/sidebar-skip-link.js +11 -0
- package/dist/compositions/sidebar/sidebar-trigger.d.ts +12 -0
- package/dist/compositions/sidebar/sidebar-trigger.js +19 -0
- package/dist/compositions/sidebar/use-sidebar-open-state.d.ts +14 -0
- package/dist/compositions/sidebar/use-sidebar-open-state.js +25 -0
- package/dist/compositions/sidebar/use-sidebar-resize-state.d.ts +34 -0
- package/dist/compositions/sidebar/use-sidebar-resize-state.js +62 -0
- package/dist/compositions/sidebar.d.ts +29 -0
- package/dist/compositions/sidebar.js +28 -0
- package/dist/compositions/site-footer/site-footer-bar.d.ts +37 -0
- package/dist/compositions/site-footer/site-footer-bar.js +30 -0
- package/dist/compositions/site-footer/site-footer-context.d.ts +3 -0
- package/dist/compositions/site-footer/site-footer-context.js +5 -0
- package/dist/compositions/site-footer/site-footer-root.d.ts +80 -0
- package/dist/compositions/site-footer/site-footer-root.js +75 -0
- package/dist/compositions/site-footer.d.ts +2 -0
- package/dist/compositions/site-footer.js +2 -0
- package/dist/compositions/swatch-fan/swatch-fan-cards.d.ts +33 -0
- package/dist/compositions/swatch-fan/swatch-fan-cards.js +251 -0
- package/dist/compositions/swatch-fan/swatch-fan-engine.d.ts +29 -0
- package/dist/compositions/swatch-fan/swatch-fan-engine.js +154 -0
- package/dist/compositions/swatch-fan/swatch-fan-hover.d.ts +25 -0
- package/dist/compositions/swatch-fan/swatch-fan-hover.js +43 -0
- package/dist/compositions/swatch-fan/swatch-fan-root.d.ts +91 -0
- package/dist/compositions/swatch-fan/swatch-fan-root.js +39 -0
- package/dist/compositions/swatch-fan/swatch-fan-tile.d.ts +24 -0
- package/dist/compositions/swatch-fan/swatch-fan-tile.js +28 -0
- package/dist/compositions/swatch-fan/swatch-fan-types.d.ts +49 -0
- package/dist/compositions/swatch-fan/swatch-fan-types.js +4 -0
- package/dist/compositions/swatch-fan/swatch-fan.motion.d.ts +6 -0
- package/dist/compositions/swatch-fan/swatch-fan.motion.js +21 -0
- package/dist/compositions/swatch-fan/use-swatch-fan-engine.d.ts +19 -0
- package/dist/compositions/swatch-fan/use-swatch-fan-engine.js +20 -0
- package/dist/compositions/swatch-fan.d.ts +1 -0
- package/dist/compositions/swatch-fan.js +1 -0
- package/dist/compositions/tag-selector/tag-selector-color-swatches.d.ts +10 -0
- package/dist/compositions/tag-selector/tag-selector-color-swatches.js +14 -0
- package/dist/compositions/tag-selector/tag-selector-content.d.ts +12 -0
- package/dist/compositions/tag-selector/tag-selector-content.js +18 -0
- package/dist/compositions/tag-selector/tag-selector-context.d.ts +130 -0
- package/dist/compositions/tag-selector/tag-selector-context.js +48 -0
- package/dist/compositions/tag-selector/tag-selector-item.d.ts +14 -0
- package/dist/compositions/tag-selector/tag-selector-item.js +99 -0
- package/dist/compositions/tag-selector/tag-selector-list.d.ts +11 -0
- package/dist/compositions/tag-selector/tag-selector-list.js +100 -0
- package/dist/compositions/tag-selector/tag-selector-root.d.ts +57 -0
- package/dist/compositions/tag-selector/tag-selector-root.js +67 -0
- package/dist/compositions/tag-selector/tag-selector-search.d.ts +17 -0
- package/dist/compositions/tag-selector/tag-selector-search.js +91 -0
- package/dist/compositions/tag-selector/tag-selector-trigger.d.ts +19 -0
- package/dist/compositions/tag-selector/tag-selector-trigger.js +42 -0
- package/dist/compositions/tag-selector/tag-selector-types.d.ts +86 -0
- package/dist/compositions/tag-selector/tag-selector-types.js +1 -0
- package/dist/compositions/tag-selector/use-tag-selector-context-value.d.ts +15 -0
- package/dist/compositions/tag-selector/use-tag-selector-context-value.js +79 -0
- package/dist/compositions/tag-selector/use-tag-selector.d.ts +28 -0
- package/dist/compositions/tag-selector/use-tag-selector.js +350 -0
- package/dist/compositions/tag-selector.d.ts +9 -0
- package/dist/compositions/tag-selector.js +7 -0
- package/dist/compositions/thinking-trace/thinking-trace-root.d.ts +23 -0
- package/dist/compositions/thinking-trace/thinking-trace-root.js +49 -0
- package/dist/compositions/thinking-trace/thinking-trace-row.d.ts +12 -0
- package/dist/compositions/thinking-trace/thinking-trace-row.js +47 -0
- package/dist/compositions/thinking-trace/types.d.ts +32 -0
- package/dist/compositions/thinking-trace/types.js +1 -0
- package/dist/compositions/thinking-trace.d.ts +1 -0
- package/dist/compositions/thinking-trace.js +1 -0
- package/dist/compositions/variant-selector/variant-selector-context.d.ts +17 -0
- package/dist/compositions/variant-selector/variant-selector-context.js +18 -0
- package/dist/compositions/variant-selector/variant-selector-item-label.d.ts +7 -0
- package/dist/compositions/variant-selector/variant-selector-item-label.js +4 -0
- package/dist/compositions/variant-selector/variant-selector-item.d.ts +28 -0
- package/dist/compositions/variant-selector/variant-selector-item.js +28 -0
- package/dist/compositions/variant-selector/variant-selector-root.d.ts +53 -0
- package/dist/compositions/variant-selector/variant-selector-root.js +44 -0
- package/dist/compositions/variant-selector/variant-selector-state.d.ts +4 -0
- package/dist/compositions/variant-selector/variant-selector-state.js +9 -0
- package/dist/compositions/variant-selector.d.ts +2 -0
- package/dist/compositions/variant-selector.js +2 -0
- package/dist/data/component-categories.d.ts +42 -0
- package/dist/data/component-categories.js +72 -0
- package/dist/data/countries.d.ts +19 -0
- package/dist/data/countries.js +26 -0
- package/dist/data/decision-trees.d.ts +67 -0
- package/dist/data/decision-trees.js +567 -0
- package/dist/data/docs-manifest.d.ts +76 -0
- package/dist/data/docs-manifest.js +23061 -0
- package/dist/data/material-colors.d.ts +58 -0
- package/dist/data/material-colors.js +440 -0
- package/dist/data/token-gallery.d.ts +128 -0
- package/dist/data/token-gallery.js +518 -0
- package/dist/hooks/use-breakpoint.d.ts +12 -0
- package/dist/hooks/use-breakpoint.js +17 -0
- package/dist/hooks/use-controllable-state.d.ts +17 -0
- package/dist/hooks/use-controllable-state.js +22 -0
- package/dist/hooks/use-debounced-value.d.ts +12 -0
- package/dist/hooks/use-debounced-value.js +25 -0
- package/dist/hooks/use-drag-scroll.d.ts +40 -0
- package/dist/hooks/use-drag-scroll.js +109 -0
- package/dist/hooks/use-mobile.d.ts +9 -0
- package/dist/hooks/use-mobile.js +14 -0
- package/dist/hooks/use-pointer-drag.d.ts +66 -0
- package/dist/hooks/use-pointer-drag.js +88 -0
- package/dist/hooks/use-pointer-position.d.ts +11 -0
- package/dist/hooks/use-pointer-position.js +27 -0
- package/dist/hooks/use-scroll-edges.d.ts +21 -0
- package/dist/hooks/use-scroll-edges.js +57 -0
- package/dist/hooks/use-shake.d.ts +36 -0
- package/dist/hooks/use-shake.js +42 -0
- package/dist/hooks/use-viewport.d.ts +18 -0
- package/dist/hooks/use-viewport.js +29 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/icons/index.js +23 -0
- package/dist/styles/fonts/GeistMono-OFL.txt +92 -0
- package/dist/styles/fonts/GeistMono-Variable.woff2 +0 -0
- package/dist/styles/fonts/InterVariable.woff2 +0 -0
- package/dist/styles/fonts/OFL.txt +92 -0
- package/dist/styles/fonts.css +55 -0
- package/dist/styles/index.css +2068 -0
- package/dist/styles/theme.css +26 -0
- package/dist/tokens/alignment.d.ts +12 -0
- package/dist/tokens/alignment.js +6 -0
- package/dist/tokens/anatomy.d.ts +30 -0
- package/dist/tokens/anatomy.js +16 -0
- package/dist/tokens/border.d.ts +9 -0
- package/dist/tokens/border.js +12 -0
- package/dist/tokens/breakpoint.d.ts +20 -0
- package/dist/tokens/breakpoint.js +25 -0
- package/dist/tokens/color.d.ts +38 -0
- package/dist/tokens/color.js +230 -0
- package/dist/tokens/component-sizes.d.ts +14 -0
- package/dist/tokens/component-sizes.js +22 -0
- package/dist/tokens/control-line.d.ts +8 -0
- package/dist/tokens/control-line.js +8 -0
- package/dist/tokens/direction.d.ts +6 -0
- package/dist/tokens/direction.js +1 -0
- package/dist/tokens/element.d.ts +46 -0
- package/dist/tokens/element.js +47 -0
- package/dist/tokens/emphasis.d.ts +22 -0
- package/dist/tokens/emphasis.js +26 -0
- package/dist/tokens/focus-input.d.ts +33 -0
- package/dist/tokens/focus-input.js +77 -0
- package/dist/tokens/focus-ring.d.ts +38 -0
- package/dist/tokens/focus-ring.js +79 -0
- package/dist/tokens/has-error-input.d.ts +5 -0
- package/dist/tokens/has-error-input.js +16 -0
- package/dist/tokens/heading-level.d.ts +12 -0
- package/dist/tokens/heading-level.js +11 -0
- package/dist/tokens/icon-component.d.ts +16 -0
- package/dist/tokens/icon-component.js +13 -0
- package/dist/tokens/input-shell.d.ts +32 -0
- package/dist/tokens/input-shell.js +32 -0
- package/dist/tokens/justify.d.ts +5 -0
- package/dist/tokens/justify.js +1 -0
- package/dist/tokens/menu-content.d.ts +67 -0
- package/dist/tokens/menu-content.js +99 -0
- package/dist/tokens/motion.d.ts +131 -0
- package/dist/tokens/motion.js +128 -0
- package/dist/tokens/orientation.d.ts +14 -0
- package/dist/tokens/orientation.js +11 -0
- package/dist/tokens/overlay-styles.d.ts +54 -0
- package/dist/tokens/overlay-styles.js +54 -0
- package/dist/tokens/radius-tokens.d.ts +45 -0
- package/dist/tokens/radius-tokens.js +44 -0
- package/dist/tokens/radius.d.ts +13 -0
- package/dist/tokens/radius.js +16 -0
- package/dist/tokens/responsive-classes.d.ts +154 -0
- package/dist/tokens/responsive-classes.js +321 -0
- package/dist/tokens/responsive.d.ts +168 -0
- package/dist/tokens/responsive.js +270 -0
- package/dist/tokens/shadows.d.ts +67 -0
- package/dist/tokens/shadows.js +64 -0
- package/dist/tokens/size.d.ts +43 -0
- package/dist/tokens/size.js +46 -0
- package/dist/tokens/square-control.d.ts +13 -0
- package/dist/tokens/square-control.js +21 -0
- package/dist/tokens/swatch.d.ts +42 -0
- package/dist/tokens/swatch.js +80 -0
- package/dist/tokens/tone.d.ts +27 -0
- package/dist/tokens/tone.js +32 -0
- package/dist/tokens/type-role.d.ts +12 -0
- package/dist/tokens/type-role.js +21 -0
- package/dist/tokens/wrap.d.ts +4 -0
- package/dist/tokens/wrap.js +1 -0
- package/dist/utils/cn-theme.d.ts +44 -0
- package/dist/utils/cn-theme.js +119 -0
- package/dist/utils/cn.d.ts +14 -0
- package/dist/utils/cn.js +22 -0
- package/dist/utils/confetti.d.ts +32 -0
- package/dist/utils/confetti.js +88 -0
- package/dist/utils/css-variables.d.ts +9 -0
- package/dist/utils/css-variables.js +12 -0
- package/dist/utils/data-grid-table.d.ts +80 -0
- package/dist/utils/data-grid-table.js +17 -0
- package/dist/utils/dev-issue.d.ts +2 -0
- package/dist/utils/dev-issue.js +8 -0
- package/dist/utils/has-child-nodes.d.ts +8 -0
- package/dist/utils/has-child-nodes.js +15 -0
- package/dist/utils/is-development-browser.d.ts +7 -0
- package/dist/utils/is-development-browser.js +16 -0
- package/dist/utils/keyboard.d.ts +17 -0
- package/dist/utils/keyboard.js +97 -0
- package/dist/utils/motion-style.d.ts +15 -0
- package/dist/utils/motion-style.js +13 -0
- package/dist/utils/random-color.d.ts +7 -0
- package/dist/utils/random-color.js +13 -0
- package/dist/utils/resolve-state-update.d.ts +7 -0
- package/dist/utils/resolve-state-update.js +6 -0
- package/dist/utils/type-guards.d.ts +8 -0
- package/dist/utils/type-guards.js +8 -0
- package/dist/utils/typed-entries.d.ts +11 -0
- package/dist/utils/typed-entries.js +11 -0
- package/dist/utils/warn-missing-aria-label.d.ts +16 -0
- package/dist/utils/warn-missing-aria-label.js +26 -0
- package/dist/utils/with-test-id.d.ts +16 -0
- package/dist/utils/with-test-id.js +1 -0
- package/lint/README.md +116 -0
- package/lint/doctrine-rules.mjs +111 -0
- package/lint/oxlint/fixtures/allowed.tsx +12 -0
- package/lint/oxlint/fixtures/fixture.config.mjs +29 -0
- package/lint/oxlint/fixtures/invalid.tsx +24 -0
- package/lint/oxlint/fixtures/layout-only.tsx +26 -0
- package/lint/oxlint/fixtures/render-as-invalid.tsx +11 -0
- package/lint/oxlint/fixtures/render-as-valid.tsx +14 -0
- package/lint/oxlint/fixtures/valid.tsx +18 -0
- package/lint/oxlint/index.d.mts +24 -0
- package/lint/oxlint/index.mjs +14 -0
- package/lint/oxlint/no-naked-element.mjs +259 -0
- package/lint/oxlint/no-naked-element.test.ts +155 -0
- package/lint/oxlint/no-render-layout-as.mjs +106 -0
- package/lint/oxlint/no-render-layout-as.test.ts +81 -0
- package/lint/scan-classes.d.mts +5 -0
- package/lint/scan-classes.mjs +255 -0
- package/lint/tokens.d.mts +16 -0
- package/lint/tokens.mjs +130 -0
- package/lint/type-case.d.mts +12 -0
- package/lint/type-case.mjs +33 -0
- package/package.json +902 -0
|
@@ -0,0 +1,2068 @@
|
|
|
1
|
+
/* Design-system styles for the Materia UI package - the single stylesheet an
|
|
2
|
+
external consumer needs. Tailwind v4 excludes node_modules from class
|
|
3
|
+
detection, so the @source directives below re-include the package's compiled
|
|
4
|
+
components. Import AFTER Tailwind and before your app CSS:
|
|
5
|
+
|
|
6
|
+
@import "tailwindcss";
|
|
7
|
+
@import "@instruments/materia-ui/styles";
|
|
8
|
+
|
|
9
|
+
In-monorepo, each app's globals.css imports THIS file by relative source path
|
|
10
|
+
(not the package specifier - the specifier resolves through dist/) and adds
|
|
11
|
+
its own @source lines for the workspace packages it renders. */
|
|
12
|
+
|
|
13
|
+
@import "./fonts.css";
|
|
14
|
+
|
|
15
|
+
@plugin "tailwindcss-animate";
|
|
16
|
+
@plugin "@tailwindcss/typography";
|
|
17
|
+
|
|
18
|
+
@custom-variant dark (&:is(.dark *));
|
|
19
|
+
|
|
20
|
+
/* Scan the package's own surface for class names. Directory-form @source is
|
|
21
|
+
extension-agnostic: it resolves to src/* (.tsx) in-monorepo and dist/* (.js)
|
|
22
|
+
in the published package. */
|
|
23
|
+
@source "../components";
|
|
24
|
+
@source "../compositions";
|
|
25
|
+
@source "../tokens";
|
|
26
|
+
@source "../hooks";
|
|
27
|
+
@source "../utils";
|
|
28
|
+
|
|
29
|
+
/* Responsive `size` prop safelist.
|
|
30
|
+
Component `size` scales resolve to per-breakpoint classes at RUNTIME (e.g.
|
|
31
|
+
`getResponsiveSizeClasses({ base: "sm", md: "lg", "@sm": "xl" })` →
|
|
32
|
+
`h-8 … md:h-10 … @sm:h-12 …`). Tailwind's static scanner can't see those
|
|
33
|
+
concatenations, so the VIEWPORT (`md:`) and CONTAINER (`@md:`) variants of
|
|
34
|
+
every size utility must be force-generated here. The prefix brace group
|
|
35
|
+
below carries both axes; keep the value lists in sync with the union of
|
|
36
|
+
component size-variant classes. Arbitrary/named container keys
|
|
37
|
+
(`@[240px]/card`) can't be enumerated - those pass literal class strings via
|
|
38
|
+
the resolver's `literalOverrides` param instead. */
|
|
39
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:h-{3,3.5,4,4.5,5,5.5,6,7,8,9,10,11,12,14,16}");
|
|
40
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:w-{5,6,7,8,9,11,13,15}");
|
|
41
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:min-w-{3,4,4.5,5,5.5,6,7,8,9,10,12}");
|
|
42
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:size-{1,1.5,2,2.5,3,3.5,4,4.5,5,5.5,6,7,8,9,10,11,12,14,16}");
|
|
43
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:px-{0,0.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8}");
|
|
44
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:py-{0,0.5,1,1.5,2,2.5,3,3.5,4,5}");
|
|
45
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:p-{0,0.5,1,1.5,2,2.5,3,4}");
|
|
46
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:text-{3xs,2xs,xs,sm,base,lg,xl,2xl,caption,paragraph-sm,paragraph,paragraph-lg,subheading,subheading-lg,heading-sm,heading,heading-lg,title}");
|
|
47
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:gap-{0,0.5,1,1.5,2,2.5,3,4,5,6,8,10}");
|
|
48
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:gap-x-{0,0.5,1,1.5,2,2.5,3,4,5,6,8,10}");
|
|
49
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:gap-y-{0,0.5,1,1.5,2,2.5,3,4,5,6,8,10}");
|
|
50
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:card-inset-{none,2xs,xs,sm,base,lg,xl,2xl,3xl}");
|
|
51
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:mr-{1.5,2,2.5,3,3.5,4,6}");
|
|
52
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:pr-{1.5,2,2.5,3,3.5,4,6}");
|
|
53
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:pl-{2,2.5,3,3.5,4,5,7}");
|
|
54
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:top-{3.5,4.5,5.5,9,11,13}");
|
|
55
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:right-{3.5,4.5,5.5}");
|
|
56
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:left-{3.5,4.5,5.5}");
|
|
57
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:rounded{,-sm,-md,-lg,-xl,-2xl}");
|
|
58
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:shrink-{0}");
|
|
59
|
+
/* SimpleGrid `cols` and GridCol `span` resolve per breakpoint the same way. */
|
|
60
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:grid-cols-{1,2,3,4,5,6,7,8,9,10,11,12}");
|
|
61
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:col-span-{1,2,3,4,5,6,7,8,9,10,11,12}");
|
|
62
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:file:h-{4,5,6,7,8,9,10,11}");
|
|
63
|
+
@source inline("{2xs,xs,sm,md,lg,xl,2xl,3xl,@2xs,@xs,@sm,@md,@lg,@xl,@2xl,@3xl}:file:text-{xs,sm,base,caption,paragraph-sm,paragraph}");
|
|
64
|
+
|
|
65
|
+
@theme {
|
|
66
|
+
/* Typeface - the locked Materia sans. Registering it here sets both the
|
|
67
|
+
`font-sans` utility and Tailwind v4's `--default-font-family`, so preflight
|
|
68
|
+
applies it to the document body; no per-app `--font-sans` override needed.
|
|
69
|
+
The metric-adjusted fallback (see fonts.css) sits ahead of the generics. */
|
|
70
|
+
--font-sans:
|
|
71
|
+
"InterVariable", "InterVariable Fallback", ui-sans-serif, system-ui,
|
|
72
|
+
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
73
|
+
"Noto Color Emoji";
|
|
74
|
+
--font-mono:
|
|
75
|
+
"GeistMono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
76
|
+
"Liberation Mono", "Courier New", monospace;
|
|
77
|
+
|
|
78
|
+
/* Alpha tokens: white at N% opacity. Figma's alpha-light/N counts the other
|
|
79
|
+
way (alpha-light/5 is white at 95%) and turns gray-900 in dark mode; for a
|
|
80
|
+
veil that follows the theme, use an opacity modifier on a semantic colour
|
|
81
|
+
such as bg-background/50. */
|
|
82
|
+
--color-alpha-5: rgba(255, 255, 255, 0.05);
|
|
83
|
+
--color-alpha-10: rgba(255, 255, 255, 0.1);
|
|
84
|
+
--color-alpha-20: rgba(255, 255, 255, 0.2);
|
|
85
|
+
--color-alpha-30: rgba(255, 255, 255, 0.3);
|
|
86
|
+
--color-alpha-40: rgba(255, 255, 255, 0.4);
|
|
87
|
+
--color-alpha-50: rgba(255, 255, 255, 0.5);
|
|
88
|
+
--color-alpha-60: rgba(255, 255, 255, 0.6);
|
|
89
|
+
--color-alpha-70: rgba(255, 255, 255, 0.7);
|
|
90
|
+
--color-alpha-80: rgba(255, 255, 255, 0.8);
|
|
91
|
+
--color-alpha-90: rgba(255, 255, 255, 0.9);
|
|
92
|
+
|
|
93
|
+
/* Black alpha tokens - matches alpha scale but for dark overlays */
|
|
94
|
+
--color-black-alpha-5: rgba(0, 0, 0, 0.05);
|
|
95
|
+
--color-black-alpha-10: rgba(0, 0, 0, 0.1);
|
|
96
|
+
--color-black-alpha-20: rgba(0, 0, 0, 0.2);
|
|
97
|
+
--color-black-alpha-30: rgba(0, 0, 0, 0.3);
|
|
98
|
+
--color-black-alpha-40: rgba(0, 0, 0, 0.4);
|
|
99
|
+
--color-black-alpha-50: rgba(0, 0, 0, 0.5);
|
|
100
|
+
--color-black-alpha-60: rgba(0, 0, 0, 0.6);
|
|
101
|
+
--color-black-alpha-70: rgba(0, 0, 0, 0.7);
|
|
102
|
+
--color-black-alpha-80: rgba(0, 0, 0, 0.8);
|
|
103
|
+
--color-black-alpha-90: rgba(0, 0, 0, 0.9);
|
|
104
|
+
|
|
105
|
+
/* Custom font sizes. Tracking tightens as size grows, as Inter is drawn to:
|
|
106
|
+
the variable font already sets small text looser through its optical
|
|
107
|
+
size, so body sizes sit at zero and only display sizes pull in. Body sizes
|
|
108
|
+
carry generous leading (about 1.6) for running text. */
|
|
109
|
+
--text-2xs: 0.6875rem;
|
|
110
|
+
--text-2xs--line-height: 0.875rem;
|
|
111
|
+
--text-caption: 0.75rem;
|
|
112
|
+
--text-caption--line-height: 1.125rem;
|
|
113
|
+
--text-caption--letter-spacing: 0em;
|
|
114
|
+
--text-paragraph-sm: 0.875rem;
|
|
115
|
+
--text-paragraph-sm--line-height: 1.375rem;
|
|
116
|
+
--text-paragraph-sm--letter-spacing: 0em;
|
|
117
|
+
--text-paragraph: 1rem;
|
|
118
|
+
--text-paragraph--line-height: 1.625rem;
|
|
119
|
+
--text-paragraph--letter-spacing: 0em;
|
|
120
|
+
--text-paragraph-lg: 1.125rem;
|
|
121
|
+
--text-paragraph-lg--line-height: 1.75rem;
|
|
122
|
+
--text-paragraph-lg--letter-spacing: -0.005em;
|
|
123
|
+
--text-subheading: 1.25rem;
|
|
124
|
+
--text-subheading--line-height: 1.75rem;
|
|
125
|
+
--text-subheading--letter-spacing: -0.01em;
|
|
126
|
+
--text-subheading-lg: 1.5rem;
|
|
127
|
+
--text-subheading-lg--line-height: 2rem;
|
|
128
|
+
--text-subheading-lg--letter-spacing: -0.012em;
|
|
129
|
+
--text-heading-sm: 1.875rem;
|
|
130
|
+
--text-heading-sm--line-height: 2.25rem;
|
|
131
|
+
--text-heading-sm--letter-spacing: -0.015em;
|
|
132
|
+
--text-heading: 2.25rem;
|
|
133
|
+
--text-heading--line-height: 2.75rem;
|
|
134
|
+
--text-heading--letter-spacing: -0.018em;
|
|
135
|
+
--text-heading-lg: 3rem;
|
|
136
|
+
--text-heading-lg--line-height: 3.5rem;
|
|
137
|
+
--text-heading-lg--letter-spacing: -0.02em;
|
|
138
|
+
--text-title: 3.75rem;
|
|
139
|
+
--text-title--line-height: 4.5rem;
|
|
140
|
+
--text-title--letter-spacing: -0.022em;
|
|
141
|
+
|
|
142
|
+
/* One-off sizes that sit between the ramp steps. Named for the surface that
|
|
143
|
+
owns them rather than their value, so a change lands in one place. */
|
|
144
|
+
--text-micro: 0.625rem; /* 10px: product card image caption */
|
|
145
|
+
--text-calendar: 0.8rem; /* calendar grid */
|
|
146
|
+
--text-grid-header: 0.8125rem; /* data grid column header */
|
|
147
|
+
--text-grid-header--line-height: calc(1.125 / 0.8125);
|
|
148
|
+
--tracking-folder-label: -0.24px;
|
|
149
|
+
|
|
150
|
+
/* Core colours using Tailwind gray palette */
|
|
151
|
+
--color-background: var(--color-white);
|
|
152
|
+
--color-foreground: var(--color-gray-950);
|
|
153
|
+
--color-card: var(--color-white);
|
|
154
|
+
--color-card-foreground: var(--color-gray-950);
|
|
155
|
+
--color-popover: var(--color-white);
|
|
156
|
+
--color-popover-foreground: var(--color-gray-950);
|
|
157
|
+
|
|
158
|
+
/* Theme tokens using Tailwind gray palette */
|
|
159
|
+
--color-primary: var(--color-gray-900);
|
|
160
|
+
--color-primary-foreground: var(--color-gray-50);
|
|
161
|
+
--color-secondary: var(--color-gray-100);
|
|
162
|
+
--color-secondary-foreground: var(--color-gray-900);
|
|
163
|
+
--color-muted: var(--color-gray-100);
|
|
164
|
+
--color-muted-foreground: var(--color-gray-600);
|
|
165
|
+
--color-accent: var(--color-gray-200);
|
|
166
|
+
--color-accent-foreground: var(--color-gray-900);
|
|
167
|
+
--color-destructive: var(--color-red-600);
|
|
168
|
+
--color-destructive-foreground: var(--color-red-50);
|
|
169
|
+
--color-favorite: var(--color-red-500);
|
|
170
|
+
--color-border: var(--color-gray-200);
|
|
171
|
+
--color-input: var(--color-white);
|
|
172
|
+
--color-ring: var(--color-gray-300);
|
|
173
|
+
|
|
174
|
+
/*
|
|
175
|
+
* Adaptive surface tokens.
|
|
176
|
+
*
|
|
177
|
+
* These adapt to any parent background via alpha blending (or swap between
|
|
178
|
+
* solid/translucent in light vs dark mode) so call sites never need
|
|
179
|
+
* `dark:` variants. Use them instead of hardcoded grays whenever a surface
|
|
180
|
+
* should feel "recessed into" or "raised above" its parent.
|
|
181
|
+
*
|
|
182
|
+
* - `surface-inset` : recessed into parent (e.g. segmented shell, inset panels)
|
|
183
|
+
* - `surface-raised` : raised above parent (e.g. segmented active pill)
|
|
184
|
+
* - `border-subtle` : low-contrast edge on translucent surfaces
|
|
185
|
+
*/
|
|
186
|
+
--color-surface-inset: rgba(0, 0, 0, 0.05);
|
|
187
|
+
--color-surface-raised: var(--color-white);
|
|
188
|
+
--color-border-subtle: rgba(0, 0, 0, 0.1);
|
|
189
|
+
|
|
190
|
+
/* Role ladder for consumers that need an explicit position in the surface
|
|
191
|
+
hierarchy. Light mode preserves the existing white/gray treatment; dark
|
|
192
|
+
mode re-derives these roles as a close cool-graphite sequence below. */
|
|
193
|
+
--color-surface-sunk: var(--color-gray-100);
|
|
194
|
+
--color-surface-0: var(--color-white);
|
|
195
|
+
--color-surface-1: var(--color-white);
|
|
196
|
+
--color-surface-2: var(--color-gray-100);
|
|
197
|
+
|
|
198
|
+
/* Sidebar tokens (synced with Figma light mode) */
|
|
199
|
+
--color-sidebar: var(--color-white);
|
|
200
|
+
--color-sidebar-foreground: var(--color-gray-950);
|
|
201
|
+
--color-sidebar-primary: var(--color-gray-900);
|
|
202
|
+
--color-sidebar-primary-foreground: var(--color-gray-50);
|
|
203
|
+
--color-sidebar-accent: var(--color-gray-200);
|
|
204
|
+
--color-sidebar-accent-foreground: var(--color-gray-900);
|
|
205
|
+
--color-sidebar-border: var(--color-gray-300);
|
|
206
|
+
--color-sidebar-ring: var(--color-gray-400);
|
|
207
|
+
|
|
208
|
+
/* Materials grid specific colour tokens */
|
|
209
|
+
--color-card-background: #ffffff;
|
|
210
|
+
--color-card-border: var(--color-gray-200);
|
|
211
|
+
--color-text-primary: var(--color-gray-900);
|
|
212
|
+
--color-text-secondary: var(--color-gray-600);
|
|
213
|
+
--color-text-muted: var(--color-gray-600);
|
|
214
|
+
|
|
215
|
+
/* Calm semantic colours - Next.js inspired */
|
|
216
|
+
--color-affirmative-soft: #f0fdf4; /* green-50 */
|
|
217
|
+
--color-affirmative-accent: #16a34a; /* green-600 */
|
|
218
|
+
--color-affirmative-foreground: #14532d; /* green-900 */
|
|
219
|
+
|
|
220
|
+
--color-warning-soft: #fffbeb; /* very soft amber */
|
|
221
|
+
--color-warning-accent: #fcd34d; /* amber-300 - much calmer */
|
|
222
|
+
--color-warning-foreground: #92400e; /* amber-800 */
|
|
223
|
+
|
|
224
|
+
--color-error-soft: #fef2f2; /* very soft red */
|
|
225
|
+
--color-error-accent: #fca5a5; /* red-300 - much calmer */
|
|
226
|
+
--color-error-foreground: #991b1b; /* red-800 */
|
|
227
|
+
|
|
228
|
+
--color-info-soft: #eff6ff; /* blue-50 */
|
|
229
|
+
--color-info-accent: #3b82f6; /* blue-500 */
|
|
230
|
+
--color-info-foreground: #1e3a5f; /* blue-900 */
|
|
231
|
+
|
|
232
|
+
--color-brand: #ffe600; /* Brand yellow, per the Figma base/brand token */
|
|
233
|
+
--color-brand-soft: #fffef5; /* very soft brand yellow (code-only) */
|
|
234
|
+
--color-brand-accent: #dda600; /* per Figma base/brand accent - consumed at /40 for borders/accents */
|
|
235
|
+
--color-brand-foreground: var(--color-gray-800); /* #1F2937 - per Figma */
|
|
236
|
+
|
|
237
|
+
/* Status border tokens (light mode base values - desaturated blends) */
|
|
238
|
+
--color-affirmative-border: #dcfce7; /* green-100 - muted */
|
|
239
|
+
--color-warning-border: #fef3c7; /* amber-100 - muted */
|
|
240
|
+
--color-info-border: #dbeafe; /* blue-100 - muted */
|
|
241
|
+
--color-error-border: #fee2e2; /* red-100 - muted */
|
|
242
|
+
|
|
243
|
+
/* Border radius scale (synced with Figma) */
|
|
244
|
+
--radius: 0.5rem;
|
|
245
|
+
--radius-2xs: 0.0625rem; /* 1px */
|
|
246
|
+
--radius-xs: 0.25rem; /* 4px */
|
|
247
|
+
--radius-sm: 0.375rem; /* 6px */
|
|
248
|
+
--radius-md: 0.5rem; /* 8px */
|
|
249
|
+
--radius-lg: 0.625rem; /* 10px */
|
|
250
|
+
|
|
251
|
+
/* Extra large radius for cards. 4xl is Figma's radius/4xl (36px) and
|
|
252
|
+
Material Bank's product card corner, mirrored in radius-tokens.ts (the JS
|
|
253
|
+
values used by motion animations). Product cards use 3xl (24px) below
|
|
254
|
+
240px and 4xl above it. */
|
|
255
|
+
--radius-4xl: 2.25rem; /* 36px */
|
|
256
|
+
--radius-5xl: 2.5rem; /* 40px */
|
|
257
|
+
|
|
258
|
+
/* Modal/dialog surface radius - deliberately larger than the 4xl card corner
|
|
259
|
+
to a 36px corner. Applied only to Dialog and
|
|
260
|
+
AlertDialog via `rounded-modal`; do NOT use for cards (use 3xl/4xl).
|
|
261
|
+
Surface-weight ladder: 2xl 16px inner · 3xl 24px card · modal 36px dialog. */
|
|
262
|
+
--radius-modal: 2.25rem; /* 36px */
|
|
263
|
+
|
|
264
|
+
/* Editorial card stack: the inner card sits one pixel inside a 16px frame. */
|
|
265
|
+
--radius-editorial-stack: 17px;
|
|
266
|
+
|
|
267
|
+
/* Signature floating-overlay entrance: blur+settle across every zoom/fade
|
|
268
|
+
overlay, asymmetric 220ms in / 120ms out. Keyframes read tailwindcss-animate
|
|
269
|
+
tw-enter and tw-exit vars, keeping each overlay scale, slide and origin; we
|
|
270
|
+
only layer blur and shared timing. Reduced motion opts out via motion-reduce.
|
|
271
|
+
Easing is referenced via var(): an inline cubic-bezier() in an --animate-*
|
|
272
|
+
value trips Tailwind v4's @tailwindcss/postcss parser (the commas), so reuse
|
|
273
|
+
the --ease-* tokens defined below. */
|
|
274
|
+
--animate-overlay-in: overlay-in 220ms var(--ease-out);
|
|
275
|
+
--animate-overlay-out: overlay-out 120ms var(--ease-in);
|
|
276
|
+
|
|
277
|
+
/* Agent-surface entrances and the label shimmer. Timing comes from the motion
|
|
278
|
+
tokens below; keyframes sit with the other component animations. */
|
|
279
|
+
--animate-fade-up: fade-up var(--duration-moderate) var(--ease-out) both;
|
|
280
|
+
--animate-fade-in: fade-in var(--duration-normal) var(--ease-out) both;
|
|
281
|
+
--animate-pop-in: pop-in var(--duration-normal) var(--ease-out) both;
|
|
282
|
+
--animate-shimmer-text: shimmer-text var(--duration-slow) linear infinite;
|
|
283
|
+
|
|
284
|
+
/* BEGIN GENERATED: motion tokens - source of truth is packages/ui/src/tokens/motion.ts.
|
|
285
|
+
Regenerate with `pnpm --filter @instruments/materia-ui generate:motion-css`; do not hand-edit.
|
|
286
|
+
The motion-css-sync vitest fails when this block drifts from the TS tokens. */
|
|
287
|
+
|
|
288
|
+
/* Motion: Duration tokens (milliseconds) */
|
|
289
|
+
--duration-instant: 0ms;
|
|
290
|
+
--duration-quick: 120ms;
|
|
291
|
+
--duration-normal: 220ms;
|
|
292
|
+
--duration-moderate: 400ms;
|
|
293
|
+
--duration-slow: 1000ms;
|
|
294
|
+
|
|
295
|
+
/* Motion: Easing tokens (cubic-bezier) */
|
|
296
|
+
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
|
297
|
+
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
|
|
298
|
+
--ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
|
|
299
|
+
|
|
300
|
+
/* Motion: Scale tokens (press / hover feedback) - `scale-press`, `active:scale-press-deep`, `hover:scale-hover` */
|
|
301
|
+
--scale-press: 0.97;
|
|
302
|
+
--scale-press-deep: 0.95;
|
|
303
|
+
--scale-hover: 1.02;
|
|
304
|
+
|
|
305
|
+
/* END GENERATED: motion tokens */
|
|
306
|
+
|
|
307
|
+
/* Page container max-width (synced with Figma) */
|
|
308
|
+
--max-w-page: 74.375rem; /* 1190px */
|
|
309
|
+
|
|
310
|
+
/* Breakpoints. In rem, like Tailwind's own: Tailwind orders media queries
|
|
311
|
+
within a unit, so a px breakpoint among rem ones is emitted out of
|
|
312
|
+
cascade order. Keep the values in step with tokens/breakpoint.ts. */
|
|
313
|
+
--breakpoint-2xs: 20rem; /* 320px */
|
|
314
|
+
--breakpoint-xs: 30rem; /* 480px */
|
|
315
|
+
--breakpoint-3xl: 120rem; /* 1920px */
|
|
316
|
+
|
|
317
|
+
/* Mtag product page layout */
|
|
318
|
+
--product-actions-height: 286px;
|
|
319
|
+
|
|
320
|
+
/* Small container steps below Tailwind's @xs (320px), for UI on small
|
|
321
|
+
displays. 3xs and 2xs are Tailwind's and Figma's own (256px, 288px);
|
|
322
|
+
4xs adds a 192px step beneath them. */
|
|
323
|
+
--container-4xs: 12rem; /* 192px */
|
|
324
|
+
--container-3xs: 16rem; /* 256px */
|
|
325
|
+
--container-2xs: 18rem; /* 288px */
|
|
326
|
+
|
|
327
|
+
/* Sidepanel breakpoint: content wider than sidepanel footprint (440px panel + 24px right edge = 464px) */
|
|
328
|
+
--container-sidepanel: 464px;
|
|
329
|
+
|
|
330
|
+
/* Sidepanel layout dimensions */
|
|
331
|
+
--sidepanel-width: 440px; /* Panel width */
|
|
332
|
+
--sidepanel-gap: 24px; /* Gap between sidepanel and viewport edge (1.5rem / right-6) */
|
|
333
|
+
--sidepanel-footprint: calc(
|
|
334
|
+
var(--sidepanel-width) + var(--sidepanel-gap)
|
|
335
|
+
); /* Total space from viewport edge to sidepanel left edge: 464px */
|
|
336
|
+
|
|
337
|
+
/* Viewport dialog (`DialogContent size="viewport"`): fills the screen less an
|
|
338
|
+
8px margin on phones, 32px left and right and 24px top and bottom from md,
|
|
339
|
+
capped at 1224 by 960. */
|
|
340
|
+
--width-dialog-viewport: calc(100vw - 1rem);
|
|
341
|
+
--height-dialog-viewport: calc(100dvh - 1rem);
|
|
342
|
+
--width-dialog-viewport-md: calc(100vw - 4rem);
|
|
343
|
+
--height-dialog-viewport-md: calc(100dvh - 3rem);
|
|
344
|
+
--max-width-dialog-viewport: 76.5rem; /* 1224px */
|
|
345
|
+
--max-height-dialog-viewport: 60rem; /* 960px */
|
|
346
|
+
|
|
347
|
+
/* Header nav layout */
|
|
348
|
+
/* Gap between the nav buttons and the viewport edge. This IS the page
|
|
349
|
+
gutter - the header's left already uses `pl-page-gutter`, so hardcoding
|
|
350
|
+
the right meant the two sides of the same bar could disagree, and they
|
|
351
|
+
did: 32px here against a 24px `--page-gutter` left every page's content
|
|
352
|
+
8px inside the header's right edge. Deriving it keeps both sides of the
|
|
353
|
+
header on the one gutter and inherits the sm breakpoint for free. */
|
|
354
|
+
--header-nav-edge-gap: var(--page-gutter);
|
|
355
|
+
--header-nav-buttons-width: 342px; /* Products + Brands + Cart + gaps + gap-3 before Products */
|
|
356
|
+
--header-cart-button-width: 64px; /* Cart button with padding */
|
|
357
|
+
--header-nav-sidepanel-offset: calc(
|
|
358
|
+
var(--sidepanel-footprint) + 12px
|
|
359
|
+
); /* Right position when sidepanel open: 476px (gap-3 from sidepanel) */
|
|
360
|
+
|
|
361
|
+
/* Elevation ladder. The values live on `--elevation-*`; `--shadow-*` points at
|
|
362
|
+
them, because Tailwind inlines a shadow utility's theme value and a `var()`
|
|
363
|
+
is the only thing that stays live for dark mode to swap. */
|
|
364
|
+
--elevation-2xs: 0 1px 1px 0 rgb(17 24 39 / 0.03);
|
|
365
|
+
--elevation-xs: 0 0 4px 0 rgb(17 24 39 / 0.04);
|
|
366
|
+
--elevation-sm:
|
|
367
|
+
0 18px 47px 0 rgb(17 24 39 / 0.03), 0 7.5px 19px 0 rgb(17 24 39 / 0.02),
|
|
368
|
+
0 4px 10.5px 0 rgb(17 24 39 / 0.02), 0 2.3px 5.8px 0 rgb(17 24 39 / 0.01),
|
|
369
|
+
0 0.5px 1.3px 0 rgb(17 24 39 / 0.01), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
370
|
+
--elevation-md:
|
|
371
|
+
0 17.54px 23.39px 0 rgb(17 24 39 / 0.04),
|
|
372
|
+
0 9.4px 12.5px 0 rgb(17 24 39 / 0.03), 0 5.25px 7px 0 rgb(17 24 39 / 0.02),
|
|
373
|
+
0 2.79px 3.72px -2px rgb(17 24 39 / 0.01),
|
|
374
|
+
0 1.16px 1.5px 0 rgb(17 24 39 / 0.01), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
375
|
+
--elevation-lg:
|
|
376
|
+
0 25px 50px 0 rgb(17 24 39 / 0.05), 0 12px 24px 0 rgb(17 24 39 / 0.04),
|
|
377
|
+
0 6px 12px 0 rgb(17 24 39 / 0.03), 0 3px 6px 0 rgb(17 24 39 / 0.02),
|
|
378
|
+
0 1.5px 3px 0 rgb(17 24 39 / 0.02), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
379
|
+
--elevation-xl:
|
|
380
|
+
0 40px 80px 0 rgb(17 24 39 / 0.06), 0 20px 40px 0 rgb(17 24 39 / 0.05),
|
|
381
|
+
0 10px 20px 0 rgb(17 24 39 / 0.04), 0 5px 10px 0 rgb(17 24 39 / 0.03),
|
|
382
|
+
0 2px 4px 0 rgb(17 24 39 / 0.02), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
383
|
+
--elevation-2xl:
|
|
384
|
+
0 60px 120px 0 rgb(17 24 39 / 0.07), 0 30px 60px 0 rgb(17 24 39 / 0.06),
|
|
385
|
+
0 15px 30px 0 rgb(17 24 39 / 0.05), 0 7.5px 15px 0 rgb(17 24 39 / 0.04),
|
|
386
|
+
0 3px 6px 0 rgb(17 24 39 / 0.03), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
387
|
+
--elevation-3xl:
|
|
388
|
+
0 80px 160px 0 rgb(17 24 39 / 0.08), 0 40px 80px 0 rgb(17 24 39 / 0.07),
|
|
389
|
+
0 20px 40px 0 rgb(17 24 39 / 0.06), 0 10px 20px 0 rgb(17 24 39 / 0.05),
|
|
390
|
+
0 4px 8px 0 rgb(17 24 39 / 0.04), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
391
|
+
--elevation-4xl:
|
|
392
|
+
0 100px 200px 0 rgb(17 24 39 / 0.09), 0 50px 100px 0 rgb(17 24 39 / 0.08),
|
|
393
|
+
0 25px 50px 0 rgb(17 24 39 / 0.07), 0 12.5px 25px 0 rgb(17 24 39 / 0.06),
|
|
394
|
+
0 5px 10px 0 rgb(17 24 39 / 0.05), 0 0 0 1px rgb(17 24 39 / 0.05);
|
|
395
|
+
|
|
396
|
+
--shadow-2xs: var(--elevation-2xs);
|
|
397
|
+
--shadow-xs: var(--elevation-xs);
|
|
398
|
+
--shadow-sm: var(--elevation-sm);
|
|
399
|
+
--shadow-md: var(--elevation-md);
|
|
400
|
+
--shadow-lg: var(--elevation-lg);
|
|
401
|
+
--shadow-xl: var(--elevation-xl);
|
|
402
|
+
--shadow-2xl: var(--elevation-2xl);
|
|
403
|
+
--shadow-3xl: var(--elevation-3xl);
|
|
404
|
+
--shadow-4xl: var(--elevation-4xl);
|
|
405
|
+
|
|
406
|
+
/* Edge divider shadows (scroll-container headers/footers) */
|
|
407
|
+
--shadow-edge-bottom: 0 1px 0 0 rgb(17 24 39 / 0.06);
|
|
408
|
+
--shadow-edge-top: 0 -4px 12px -4px rgb(17 24 39 / 0.08);
|
|
409
|
+
|
|
410
|
+
/* Inner shadow definitions (from Figma) */
|
|
411
|
+
--shadow-inner-2xs: inset 0 1px 0 0 rgb(0 0 0 / 0.05);
|
|
412
|
+
--shadow-inner-xs: inset 0 1px 1px 0 rgb(0 0 0 / 0.05);
|
|
413
|
+
--shadow-inner-sm: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
414
|
+
|
|
415
|
+
/* Blur scale (from Figma) */
|
|
416
|
+
--blur-xs: 4px;
|
|
417
|
+
--blur-sm: 8px;
|
|
418
|
+
--blur-md: 12px;
|
|
419
|
+
--blur-lg: 16px;
|
|
420
|
+
--blur-xl: 24px;
|
|
421
|
+
--blur-2xl: 40px;
|
|
422
|
+
--blur-3xl: 64px;
|
|
423
|
+
|
|
424
|
+
/* Backdrop blur scale (from Figma - same values as blur) */
|
|
425
|
+
--backdrop-blur-xs: 4px;
|
|
426
|
+
--backdrop-blur-sm: 8px;
|
|
427
|
+
--backdrop-blur-md: 12px;
|
|
428
|
+
--backdrop-blur-lg: 16px;
|
|
429
|
+
--backdrop-blur-xl: 24px;
|
|
430
|
+
--backdrop-blur-2xl: 40px;
|
|
431
|
+
--backdrop-blur-3xl: 64px;
|
|
432
|
+
|
|
433
|
+
/* Drop shadow definitions (from Figma) - CSS filter values */
|
|
434
|
+
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
435
|
+
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
436
|
+
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
437
|
+
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
438
|
+
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
439
|
+
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
440
|
+
--drop-shadow-folder: 0 3.881px 2.91px rgba(0, 0, 0, 0.35);
|
|
441
|
+
|
|
442
|
+
/* Surface-specific shadows. Literal values, not on the elevation ladder, so
|
|
443
|
+
they do not swap in dark mode (they never did as arbitrary values). */
|
|
444
|
+
--shadow-inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.3);
|
|
445
|
+
--shadow-button-sheen:
|
|
446
|
+
0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 var(--color-alpha-30);
|
|
447
|
+
|
|
448
|
+
/* Library: warm paper colour used for book page edges and feature banner */
|
|
449
|
+
--color-paper: oklch(0.96 0.02 80);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/* Tokens whose values read other live variables (alpha ramp, foreground, the
|
|
453
|
+
product card tool presence). `inline` writes the value into each utility, so
|
|
454
|
+
the variable resolves on the element and dark mode or a local override still
|
|
455
|
+
reaches it; a plain @theme would freeze it at :root. */
|
|
456
|
+
@theme inline {
|
|
457
|
+
/* Button face sheens: a light wash fading down the pseudo-element. */
|
|
458
|
+
--background-image-sheen-bright: linear-gradient(
|
|
459
|
+
180deg,
|
|
460
|
+
white 0%,
|
|
461
|
+
var(--color-alpha-10) 100%
|
|
462
|
+
);
|
|
463
|
+
--background-image-sheen-strong: linear-gradient(
|
|
464
|
+
180deg,
|
|
465
|
+
var(--color-alpha-40) 0%,
|
|
466
|
+
var(--color-alpha-5) 100%
|
|
467
|
+
);
|
|
468
|
+
--background-image-sheen-hover: linear-gradient(
|
|
469
|
+
180deg,
|
|
470
|
+
var(--color-alpha-50) 0%,
|
|
471
|
+
var(--color-alpha-5) 100%
|
|
472
|
+
);
|
|
473
|
+
--background-image-sheen-dark: linear-gradient(
|
|
474
|
+
180deg,
|
|
475
|
+
var(--color-alpha-10) 0%,
|
|
476
|
+
transparent 100%
|
|
477
|
+
);
|
|
478
|
+
|
|
479
|
+
/* Hover wash for quiet buttons. */
|
|
480
|
+
--color-foreground-wash: color-mix(
|
|
481
|
+
in srgb,
|
|
482
|
+
var(--color-foreground) 2%,
|
|
483
|
+
transparent
|
|
484
|
+
);
|
|
485
|
+
|
|
486
|
+
/* Product card tool buttons: dark scrim that follows the tool presence. */
|
|
487
|
+
--color-tool-scrim: color-mix(
|
|
488
|
+
in srgb,
|
|
489
|
+
var(--color-gray-900) calc(var(--product-card-tool-presence, 1) * 50%),
|
|
490
|
+
transparent
|
|
491
|
+
);
|
|
492
|
+
--color-tool-scrim-hover: color-mix(
|
|
493
|
+
in srgb,
|
|
494
|
+
var(--color-gray-900) calc(var(--product-card-tool-presence, 1) * 70%),
|
|
495
|
+
transparent
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/* Literal images with no variable inside, so a plain @theme is enough. */
|
|
500
|
+
@theme {
|
|
501
|
+
/* Fine diagonal hatch over a surface; scroll-fade edge texture. */
|
|
502
|
+
--background-image-hatch: repeating-linear-gradient(
|
|
503
|
+
135deg,
|
|
504
|
+
rgb(255 255 255 / 0.025) 0px,
|
|
505
|
+
rgb(255 255 255 / 0.025) 1px,
|
|
506
|
+
rgb(0 0 0 / 0.02) 2px,
|
|
507
|
+
rgb(0 0 0 / 0.02) 3px
|
|
508
|
+
);
|
|
509
|
+
|
|
510
|
+
/* Transparency checkerboards for the token stories (pair with bg-size-checker). */
|
|
511
|
+
--background-image-checkerboard-light: repeating-conic-gradient(
|
|
512
|
+
#e5e7eb 0 25%,
|
|
513
|
+
transparent 0 50%
|
|
514
|
+
);
|
|
515
|
+
--background-image-checkerboard-dark: repeating-conic-gradient(
|
|
516
|
+
#6b7280 0 25%,
|
|
517
|
+
#d1d5db 0 50%
|
|
518
|
+
);
|
|
519
|
+
|
|
520
|
+
/* Sample backdrop for the scrim story. */
|
|
521
|
+
--background-image-scrim-sample: linear-gradient(
|
|
522
|
+
135deg,
|
|
523
|
+
#fbbf24,
|
|
524
|
+
#fb7185,
|
|
525
|
+
#6366f1
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
@layer base {
|
|
530
|
+
:root {
|
|
531
|
+
/* Tell the browser which scheme is active so native controls (checkboxes,
|
|
532
|
+
radios, scrollbars, selects, date pickers) and the default focus ring
|
|
533
|
+
render for the theme, not the OS preference. Flipped in `.dark` below. */
|
|
534
|
+
color-scheme: light;
|
|
535
|
+
/* Core tokens - synced with Figma Design System */
|
|
536
|
+
--color-background: var(--color-white);
|
|
537
|
+
--color-foreground: var(--color-gray-950);
|
|
538
|
+
--color-card: var(--color-white);
|
|
539
|
+
--color-card-foreground: var(--color-gray-950);
|
|
540
|
+
--color-popover: var(--color-white);
|
|
541
|
+
--color-popover-foreground: var(--color-gray-950);
|
|
542
|
+
--color-primary: var(--color-gray-900);
|
|
543
|
+
--color-primary-foreground: var(--color-gray-50);
|
|
544
|
+
--color-secondary: var(--color-gray-100);
|
|
545
|
+
--color-secondary-foreground: var(--color-gray-900);
|
|
546
|
+
--color-muted: var(--color-gray-100);
|
|
547
|
+
--color-muted-foreground: var(--color-gray-600);
|
|
548
|
+
--color-accent: var(--color-gray-200);
|
|
549
|
+
--color-accent-foreground: var(--color-gray-900);
|
|
550
|
+
--color-destructive: var(--color-red-600);
|
|
551
|
+
--color-destructive-foreground: var(--color-red-50);
|
|
552
|
+
--color-favorite: var(--color-red-500);
|
|
553
|
+
--color-border: var(--color-gray-200);
|
|
554
|
+
--color-input: var(--color-white);
|
|
555
|
+
--color-ring: var(--color-gray-300);
|
|
556
|
+
--color-surface-inset: rgba(0, 0, 0, 0.05);
|
|
557
|
+
--color-surface-raised: var(--color-white);
|
|
558
|
+
--color-border-subtle: rgba(0, 0, 0, 0.1);
|
|
559
|
+
--radius: 0.5rem;
|
|
560
|
+
/* Chart palette (synced with Figma) */
|
|
561
|
+
--chart-1: var(--color-orange-600);
|
|
562
|
+
--chart-2: var(--color-teal-600);
|
|
563
|
+
--chart-3: var(--color-cyan-900);
|
|
564
|
+
--chart-4: var(--color-amber-400);
|
|
565
|
+
--chart-5: var(--color-amber-500);
|
|
566
|
+
|
|
567
|
+
/* Sidebar colour variables - synced with Figma */
|
|
568
|
+
--sidebar: var(--color-white);
|
|
569
|
+
--sidebar-foreground: var(--color-gray-950);
|
|
570
|
+
--sidebar-primary: var(--color-gray-900);
|
|
571
|
+
--sidebar-primary-foreground: var(--color-gray-50);
|
|
572
|
+
--sidebar-accent: var(--color-gray-200);
|
|
573
|
+
--sidebar-accent-foreground: var(--color-gray-900);
|
|
574
|
+
--sidebar-border: var(--color-gray-300);
|
|
575
|
+
--sidebar-ring: var(--color-gray-400);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.dark {
|
|
579
|
+
color-scheme: dark;
|
|
580
|
+
/* Dark mode is a second contrast design, not the Tailwind gray scale
|
|
581
|
+
inverted. Close cool-graphite steps keep the canvas lifted and let
|
|
582
|
+
grouping come from surfaces and space instead of bright outlines. */
|
|
583
|
+
--color-surface-sunk: oklch(0.165 0.008 250);
|
|
584
|
+
--color-surface-0: oklch(0.19 0.009 250);
|
|
585
|
+
--color-surface-1: oklch(0.225 0.01 250);
|
|
586
|
+
--color-surface-2: oklch(0.255 0.011 250);
|
|
587
|
+
|
|
588
|
+
--color-background: var(--color-surface-0);
|
|
589
|
+
--color-foreground: oklch(0.91 0.005 250);
|
|
590
|
+
--color-card: var(--color-surface-1);
|
|
591
|
+
--color-card-muted: var(--color-surface-2);
|
|
592
|
+
--color-card-foreground: var(--color-foreground);
|
|
593
|
+
--color-popover: var(--color-surface-2);
|
|
594
|
+
--color-popover-foreground: var(--color-foreground);
|
|
595
|
+
/* Solid neutral actions stay light, but a cool pearl takes the glare off
|
|
596
|
+
the repeated pure-white controls on a graphite canvas. */
|
|
597
|
+
--color-primary: oklch(0.9 0.012 245);
|
|
598
|
+
--color-primary-foreground: var(--color-surface-sunk);
|
|
599
|
+
--color-secondary: var(--color-surface-2);
|
|
600
|
+
--color-secondary-foreground: var(--color-foreground);
|
|
601
|
+
--color-muted: var(--color-surface-2);
|
|
602
|
+
--color-muted-foreground: var(--color-gray-400);
|
|
603
|
+
--color-accent: var(--color-surface-2);
|
|
604
|
+
--color-accent-foreground: var(--color-foreground);
|
|
605
|
+
--color-destructive: var(--color-red-500);
|
|
606
|
+
--color-destructive-foreground: var(--color-red-50);
|
|
607
|
+
--color-favorite: var(--color-red-400);
|
|
608
|
+
--color-border: oklch(0.82 0.007 250 / 0.1);
|
|
609
|
+
--color-input: var(--color-surface-1);
|
|
610
|
+
--color-ring: oklch(0.67 0.011 250);
|
|
611
|
+
--color-surface-inset: var(--color-surface-0);
|
|
612
|
+
--color-surface-raised: var(--color-surface-2);
|
|
613
|
+
--color-border-subtle: var(--color-border);
|
|
614
|
+
/* Library pages stay legible without introducing a warm brown well. */
|
|
615
|
+
--color-paper: var(--color-surface-1);
|
|
616
|
+
|
|
617
|
+
/* Status stays in the signal, border, and text. Large tinted light-mode
|
|
618
|
+
fills collapse onto the neutral graphite card ground. */
|
|
619
|
+
--color-affirmative-soft: var(--color-surface-1);
|
|
620
|
+
--color-affirmative-accent: oklch(0.76 0.115 165);
|
|
621
|
+
--color-affirmative-foreground: oklch(0.76 0.115 165);
|
|
622
|
+
--color-warning-soft: var(--color-surface-1);
|
|
623
|
+
--color-warning-accent: oklch(0.78 0.1 85);
|
|
624
|
+
--color-warning-foreground: oklch(0.78 0.1 85);
|
|
625
|
+
--color-error-soft: var(--color-surface-1);
|
|
626
|
+
--color-error-accent: oklch(0.68 0.13 25);
|
|
627
|
+
--color-error-foreground: oklch(0.72 0.1 25);
|
|
628
|
+
--color-info-soft: var(--color-surface-1);
|
|
629
|
+
--color-info-accent: oklch(0.72 0.1 245);
|
|
630
|
+
--color-info-foreground: oklch(0.74 0.08 245);
|
|
631
|
+
--color-brand-soft: var(--color-surface-1);
|
|
632
|
+
|
|
633
|
+
/* Dark surfaces are separated by the role ladder and hairline, never
|
|
634
|
+
elevation. This also neutralises custom shadow utilities package-wide. */
|
|
635
|
+
/* Dark surfaces cast no shadow. Overlay tiers (md and up) take a hairline
|
|
636
|
+
edge instead, so a dialog or menu still reads as a separate layer. */
|
|
637
|
+
--elevation-dark-edge: 0 0 0 1px var(--color-border);
|
|
638
|
+
/* A transparent shadow, not `none`: Tailwind joins the shadow and ring into
|
|
639
|
+
one box-shadow list, and a `none` in that list voids the focus ring too. */
|
|
640
|
+
--elevation-2xs: 0 0 #0000;
|
|
641
|
+
--elevation-xs: 0 0 #0000;
|
|
642
|
+
--elevation-sm: 0 0 #0000;
|
|
643
|
+
--elevation-md: var(--elevation-dark-edge);
|
|
644
|
+
--elevation-lg: var(--elevation-dark-edge);
|
|
645
|
+
--elevation-xl: var(--elevation-dark-edge);
|
|
646
|
+
--elevation-2xl: var(--elevation-dark-edge);
|
|
647
|
+
--elevation-3xl: var(--elevation-dark-edge);
|
|
648
|
+
--elevation-4xl: var(--elevation-dark-edge);
|
|
649
|
+
--shadow-edge-bottom: 0 0 #0000;
|
|
650
|
+
--shadow-edge-top: 0 0 #0000;
|
|
651
|
+
--shadow-inner-2xs: 0 0 #0000;
|
|
652
|
+
--shadow-inner-xs: 0 0 #0000;
|
|
653
|
+
--shadow-inner-sm: 0 0 #0000;
|
|
654
|
+
--drop-shadow-xs: 0 0 0 transparent;
|
|
655
|
+
--drop-shadow-sm: 0 0 0 transparent;
|
|
656
|
+
--drop-shadow-md: 0 0 0 transparent;
|
|
657
|
+
--drop-shadow-lg: 0 0 0 transparent;
|
|
658
|
+
--drop-shadow-xl: 0 0 0 transparent;
|
|
659
|
+
--drop-shadow-2xl: 0 0 0 transparent;
|
|
660
|
+
/* Chart palette (synced with Figma) */
|
|
661
|
+
--chart-1: var(--color-blue-700);
|
|
662
|
+
--chart-2: var(--color-emerald-500);
|
|
663
|
+
--chart-3: var(--color-amber-500);
|
|
664
|
+
--chart-4: var(--color-purple-500);
|
|
665
|
+
--chart-5: var(--color-rose-500);
|
|
666
|
+
|
|
667
|
+
/* Status border tokens (dark mode) */
|
|
668
|
+
--color-affirmative-border: oklch(0.76 0.115 165 / 0.3);
|
|
669
|
+
--color-warning-border: oklch(0.78 0.1 85 / 0.28);
|
|
670
|
+
--color-info-border: oklch(0.72 0.1 245 / 0.3);
|
|
671
|
+
--color-error-border: oklch(0.68 0.13 25 / 0.3);
|
|
672
|
+
|
|
673
|
+
/* Sidebar is the single sunk application surface. */
|
|
674
|
+
--color-sidebar: var(--color-surface-sunk);
|
|
675
|
+
--color-sidebar-foreground: var(--color-gray-100);
|
|
676
|
+
--color-sidebar-primary: var(--color-gray-100);
|
|
677
|
+
--color-sidebar-primary-foreground: var(--color-surface-sunk);
|
|
678
|
+
--color-sidebar-accent: var(--color-surface-1);
|
|
679
|
+
--color-sidebar-accent-foreground: var(--color-gray-100);
|
|
680
|
+
--color-sidebar-border: var(--color-border);
|
|
681
|
+
--color-sidebar-ring: var(--color-ring);
|
|
682
|
+
--sidebar: var(--color-surface-sunk);
|
|
683
|
+
--sidebar-foreground: var(--color-gray-100);
|
|
684
|
+
--sidebar-primary: var(--color-gray-100);
|
|
685
|
+
--sidebar-primary-foreground: var(--color-surface-sunk);
|
|
686
|
+
--sidebar-accent: var(--color-surface-1);
|
|
687
|
+
--sidebar-accent-foreground: var(--color-gray-100);
|
|
688
|
+
--sidebar-border: var(--color-border);
|
|
689
|
+
--sidebar-ring: var(--color-ring);
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
@layer base {
|
|
694
|
+
* {
|
|
695
|
+
outline-color: var(--color-ring);
|
|
696
|
+
border-color: var(--color-border);
|
|
697
|
+
}
|
|
698
|
+
body {
|
|
699
|
+
font-kerning: normal;
|
|
700
|
+
/* Inter OpenType features: contextual alternates and the open 4. Not
|
|
701
|
+
case-sensitive forms: they lift hyphens, brackets and colons to cap
|
|
702
|
+
height, which only suits all-capital text. These are no-ops without the
|
|
703
|
+
real InterVariable file (fonts.css). */
|
|
704
|
+
font-feature-settings: "calt", "cv02";
|
|
705
|
+
font-optical-sizing: auto;
|
|
706
|
+
/* Type rendering optimizations */
|
|
707
|
+
-webkit-font-smoothing: antialiased;
|
|
708
|
+
-moz-osx-font-smoothing: grayscale;
|
|
709
|
+
font-synthesis: none;
|
|
710
|
+
color: var(--color-foreground);
|
|
711
|
+
text-rendering: optimizeLegibility;
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
/* Match card fade-in (CSS-only, zero JS overhead after paint) */
|
|
716
|
+
@keyframes match-card-in {
|
|
717
|
+
from {
|
|
718
|
+
opacity: 0;
|
|
719
|
+
}
|
|
720
|
+
to {
|
|
721
|
+
opacity: 1;
|
|
722
|
+
}
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/* Shimmer animation for loading states */
|
|
726
|
+
@keyframes shimmer {
|
|
727
|
+
0% {
|
|
728
|
+
transform: translateX(-100%);
|
|
729
|
+
}
|
|
730
|
+
100% {
|
|
731
|
+
transform: translateX(100%);
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
/* Breathe animation for subtle pulsing effect */
|
|
736
|
+
@keyframes breathe {
|
|
737
|
+
0%,
|
|
738
|
+
100% {
|
|
739
|
+
transform: scale(1);
|
|
740
|
+
opacity: 1;
|
|
741
|
+
}
|
|
742
|
+
50% {
|
|
743
|
+
transform: scale(1.01);
|
|
744
|
+
opacity: 0.97;
|
|
745
|
+
}
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
/* Border glow animation for analyzing state */
|
|
749
|
+
@keyframes border-glow {
|
|
750
|
+
0%,
|
|
751
|
+
100% {
|
|
752
|
+
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
|
|
753
|
+
}
|
|
754
|
+
50% {
|
|
755
|
+
box-shadow: 0 0 20px 4px rgba(99, 102, 241, 0.3);
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
/* Crossfade for swapped inline labels: a touch of blur masks the text change */
|
|
760
|
+
@keyframes fade-swap {
|
|
761
|
+
from {
|
|
762
|
+
opacity: 0;
|
|
763
|
+
filter: blur(2px);
|
|
764
|
+
}
|
|
765
|
+
to {
|
|
766
|
+
opacity: 1;
|
|
767
|
+
filter: blur(0);
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/* Orbital motion animation for floating swatches */
|
|
772
|
+
@keyframes orbit {
|
|
773
|
+
from {
|
|
774
|
+
transform: rotate(var(--start-angle, 0rad))
|
|
775
|
+
translateX(var(--orbit-radius, 60px))
|
|
776
|
+
rotate(calc(-1 * var(--start-angle, 0rad)));
|
|
777
|
+
}
|
|
778
|
+
to {
|
|
779
|
+
transform: rotate(calc(var(--start-angle, 0rad) + 360deg))
|
|
780
|
+
translateX(var(--orbit-radius, 60px))
|
|
781
|
+
rotate(calc(-1 * (var(--start-angle, 0rad) + 360deg)));
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/* Continuous horizontal marquee - reveals clipped inline text (e.g. a product
|
|
786
|
+
card's category) on hover. Paused by default; a parent `.group:hover` (or a
|
|
787
|
+
`data-play="running"` escape hatch) starts it. For a seamless loop the track
|
|
788
|
+
holds two identical copies and the consumer sets `--marquee-shift` to the
|
|
789
|
+
negative width of one copy plus the inter-copy gap. */
|
|
790
|
+
@keyframes marquee {
|
|
791
|
+
to {
|
|
792
|
+
transform: translateX(var(--marquee-shift, -100%));
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
/* Entrances for streamed and staged agent content. Each animates from the
|
|
797
|
+
hidden state to the element's own resting styles. */
|
|
798
|
+
@keyframes fade-up {
|
|
799
|
+
from {
|
|
800
|
+
opacity: 0;
|
|
801
|
+
transform: translateY(8px);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
@keyframes fade-in {
|
|
806
|
+
from {
|
|
807
|
+
opacity: 0;
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
@keyframes pop-in {
|
|
812
|
+
from {
|
|
813
|
+
opacity: 0;
|
|
814
|
+
transform: scale(0.95);
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/* Highlight sweep across a gradient-clipped label (`.shimmer-text`). */
|
|
819
|
+
@keyframes shimmer-text {
|
|
820
|
+
0% {
|
|
821
|
+
background-position: 150% 0;
|
|
822
|
+
}
|
|
823
|
+
100% {
|
|
824
|
+
background-position: -50% 0;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/* One pixel-grid cell lifting from its trough to full strength. */
|
|
829
|
+
@keyframes pixel-pulse {
|
|
830
|
+
0%,
|
|
831
|
+
100% {
|
|
832
|
+
opacity: 0.15;
|
|
833
|
+
}
|
|
834
|
+
40%,
|
|
835
|
+
60% {
|
|
836
|
+
opacity: 1;
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
/* Floating-overlay entrance/exit. The transform/opacity `from`/`to` mirror
|
|
841
|
+
tailwindcss-animate's own `enter`/`exit` keyframes (reading the same
|
|
842
|
+
tw-enter / tw-exit vars its fade/zoom/slide utilities set), so an
|
|
843
|
+
overlay keeps its scale + directional slide; we add only the blur pass. */
|
|
844
|
+
@keyframes overlay-in {
|
|
845
|
+
from {
|
|
846
|
+
opacity: var(--tw-enter-opacity, 1);
|
|
847
|
+
transform: translate3d(
|
|
848
|
+
var(--tw-enter-translate-x, 0),
|
|
849
|
+
var(--tw-enter-translate-y, 0),
|
|
850
|
+
0
|
|
851
|
+
)
|
|
852
|
+
scale3d(
|
|
853
|
+
var(--tw-enter-scale, 1),
|
|
854
|
+
var(--tw-enter-scale, 1),
|
|
855
|
+
var(--tw-enter-scale, 1)
|
|
856
|
+
)
|
|
857
|
+
rotate(var(--tw-enter-rotate, 0));
|
|
858
|
+
filter: blur(2px);
|
|
859
|
+
}
|
|
860
|
+
to {
|
|
861
|
+
filter: blur(0);
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
@keyframes overlay-out {
|
|
866
|
+
from {
|
|
867
|
+
filter: blur(0);
|
|
868
|
+
}
|
|
869
|
+
to {
|
|
870
|
+
opacity: var(--tw-exit-opacity, 1);
|
|
871
|
+
transform: translate3d(
|
|
872
|
+
var(--tw-exit-translate-x, 0),
|
|
873
|
+
var(--tw-exit-translate-y, 0),
|
|
874
|
+
0
|
|
875
|
+
)
|
|
876
|
+
scale3d(
|
|
877
|
+
var(--tw-exit-scale, 1),
|
|
878
|
+
var(--tw-exit-scale, 1),
|
|
879
|
+
var(--tw-exit-scale, 1)
|
|
880
|
+
)
|
|
881
|
+
rotate(var(--tw-exit-rotate, 0));
|
|
882
|
+
filter: blur(1px);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
@layer components {
|
|
887
|
+
/* Marquee track: idle (paused at start) until an ancestor opts it in. */
|
|
888
|
+
.animate-marquee {
|
|
889
|
+
animation: marquee var(--marquee-duration, 6s) linear infinite;
|
|
890
|
+
animation-play-state: paused;
|
|
891
|
+
}
|
|
892
|
+
.group:hover .animate-marquee,
|
|
893
|
+
.animate-marquee[data-play="running"] {
|
|
894
|
+
animation-play-state: running;
|
|
895
|
+
}
|
|
896
|
+
@media (prefers-reduced-motion: reduce) {
|
|
897
|
+
.animate-marquee {
|
|
898
|
+
animation: none;
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
/* Status label whose glyphs show a travelling highlight through a clipped
|
|
903
|
+
gradient. Without motion the sweep freezes partway along a gradient seen
|
|
904
|
+
through transparent text, so reduced motion restores a plain, legible
|
|
905
|
+
foreground colour instead. */
|
|
906
|
+
.shimmer-text {
|
|
907
|
+
color: transparent;
|
|
908
|
+
-webkit-background-clip: text;
|
|
909
|
+
background-clip: text;
|
|
910
|
+
background-image: linear-gradient(
|
|
911
|
+
90deg,
|
|
912
|
+
color-mix(in oklab, var(--color-muted-foreground) 60%, transparent) 35%,
|
|
913
|
+
var(--color-foreground) 50%,
|
|
914
|
+
color-mix(in oklab, var(--color-muted-foreground) 60%, transparent) 65%
|
|
915
|
+
);
|
|
916
|
+
background-size: 200% 100%;
|
|
917
|
+
animation: var(--animate-shimmer-text);
|
|
918
|
+
}
|
|
919
|
+
@media (prefers-reduced-motion: reduce) {
|
|
920
|
+
.shimmer-text {
|
|
921
|
+
animation: none;
|
|
922
|
+
background-image: none;
|
|
923
|
+
color: var(--color-foreground);
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/* One cell of a pixel-grid loader. The component sets `animation-delay` and
|
|
928
|
+
`animation-duration` per cell to place it in the wavefront; a `data-blank`
|
|
929
|
+
cell never lights. A frozen trough is close to invisible, so reduced
|
|
930
|
+
motion raises live cells to full strength while blanks stay distinct. */
|
|
931
|
+
.pixel-cell {
|
|
932
|
+
opacity: 0.15;
|
|
933
|
+
animation: pixel-pulse 650ms ease-in-out infinite;
|
|
934
|
+
}
|
|
935
|
+
.pixel-cell[data-blank] {
|
|
936
|
+
opacity: 0.07;
|
|
937
|
+
animation: none;
|
|
938
|
+
}
|
|
939
|
+
@media (prefers-reduced-motion: reduce) {
|
|
940
|
+
.pixel-cell {
|
|
941
|
+
animation: none;
|
|
942
|
+
opacity: 1;
|
|
943
|
+
}
|
|
944
|
+
.pixel-cell[data-blank] {
|
|
945
|
+
opacity: 0.07;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/* Underline that draws in from the left on hover. */
|
|
950
|
+
.underline-grow {
|
|
951
|
+
background-image: linear-gradient(currentColor, currentColor);
|
|
952
|
+
background-position: 0 100%;
|
|
953
|
+
background-repeat: no-repeat;
|
|
954
|
+
background-size: 0 1px;
|
|
955
|
+
transition: background-size var(--duration-normal) var(--ease-out);
|
|
956
|
+
}
|
|
957
|
+
.underline-grow:hover {
|
|
958
|
+
background-size: 100% 1px;
|
|
959
|
+
}
|
|
960
|
+
@media (prefers-reduced-motion: reduce) {
|
|
961
|
+
.underline-grow {
|
|
962
|
+
transition: none;
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
/* Glass scrim (dark overlay for modals/dialogs) */
|
|
967
|
+
.glass-scrim {
|
|
968
|
+
@apply bg-black/20 backdrop-blur-md;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/* Glass surface (frosted panel for floating UI, nav bars, controls) */
|
|
972
|
+
.glass-surface {
|
|
973
|
+
@apply bg-background/80 backdrop-blur-md;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
/* Glass media (dark label on images/video) */
|
|
977
|
+
.glass-media {
|
|
978
|
+
@apply bg-black/40 backdrop-blur-md;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.scrollbar-menu {
|
|
982
|
+
scrollbar-color: rgb(107 114 128 / 0.25) transparent;
|
|
983
|
+
scrollbar-width: thin;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
.scrollbar-menu::-webkit-scrollbar {
|
|
987
|
+
width: 6px;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.scrollbar-menu::-webkit-scrollbar-track {
|
|
991
|
+
background: transparent;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.scrollbar-menu::-webkit-scrollbar-thumb {
|
|
995
|
+
background-color: rgb(107 114 128 / 0.25);
|
|
996
|
+
border-radius: 9999px;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/* Fully hidden scrollbar - keeps a scroll region scrollable (trackpad/wheel)
|
|
1000
|
+
without the scrollbar track reserving space and causing layout shift. */
|
|
1001
|
+
.scrollbar-none {
|
|
1002
|
+
scrollbar-width: none;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.scrollbar-none::-webkit-scrollbar {
|
|
1006
|
+
display: none;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
@layer utilities {
|
|
1011
|
+
.w-menu-sidebar {
|
|
1012
|
+
width: 235px;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.max-h-menu-sidebar-list {
|
|
1016
|
+
max-height: 370px;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.shadow-3xl {
|
|
1020
|
+
box-shadow: var(--elevation-3xl);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.shadow-4xl {
|
|
1024
|
+
box-shadow: var(--elevation-4xl);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/* Inner shadow utilities */
|
|
1028
|
+
.shadow-inner-2xs {
|
|
1029
|
+
box-shadow: var(--shadow-inner-2xs);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.shadow-inner-xs {
|
|
1033
|
+
box-shadow: var(--shadow-inner-xs);
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
.shadow-inner-sm {
|
|
1037
|
+
box-shadow: var(--shadow-inner-sm);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/* Edge divider shadow utilities (scroll-container headers/footers) */
|
|
1041
|
+
.shadow-edge-bottom {
|
|
1042
|
+
box-shadow: var(--shadow-edge-bottom);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.shadow-edge-top {
|
|
1046
|
+
box-shadow: var(--shadow-edge-top);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/* Drop shadow utilities (CSS filter) */
|
|
1050
|
+
.drop-shadow-xs {
|
|
1051
|
+
filter: drop-shadow(var(--drop-shadow-xs));
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.drop-shadow-sm {
|
|
1055
|
+
filter: drop-shadow(var(--drop-shadow-sm));
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.drop-shadow-md {
|
|
1059
|
+
filter: drop-shadow(var(--drop-shadow-md));
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.drop-shadow-lg {
|
|
1063
|
+
filter: drop-shadow(var(--drop-shadow-lg));
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.drop-shadow-xl {
|
|
1067
|
+
filter: drop-shadow(var(--drop-shadow-xl));
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.drop-shadow-2xl {
|
|
1071
|
+
filter: drop-shadow(var(--drop-shadow-2xl));
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
/* Blur utilities */
|
|
1075
|
+
.blur-xs {
|
|
1076
|
+
filter: blur(var(--blur-xs));
|
|
1077
|
+
}
|
|
1078
|
+
.blur-sm {
|
|
1079
|
+
filter: blur(var(--blur-sm));
|
|
1080
|
+
}
|
|
1081
|
+
.blur-md {
|
|
1082
|
+
filter: blur(var(--blur-md));
|
|
1083
|
+
}
|
|
1084
|
+
.blur-lg {
|
|
1085
|
+
filter: blur(var(--blur-lg));
|
|
1086
|
+
}
|
|
1087
|
+
.blur-xl {
|
|
1088
|
+
filter: blur(var(--blur-xl));
|
|
1089
|
+
}
|
|
1090
|
+
.blur-2xl {
|
|
1091
|
+
filter: blur(var(--blur-2xl));
|
|
1092
|
+
}
|
|
1093
|
+
.blur-3xl {
|
|
1094
|
+
filter: blur(var(--blur-3xl));
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/* Backdrop blur utilities */
|
|
1098
|
+
.backdrop-blur-xs {
|
|
1099
|
+
backdrop-filter: blur(var(--backdrop-blur-xs));
|
|
1100
|
+
}
|
|
1101
|
+
.backdrop-blur-sm {
|
|
1102
|
+
backdrop-filter: blur(var(--backdrop-blur-sm));
|
|
1103
|
+
}
|
|
1104
|
+
.backdrop-blur-md {
|
|
1105
|
+
backdrop-filter: blur(var(--backdrop-blur-md));
|
|
1106
|
+
}
|
|
1107
|
+
.backdrop-blur-lg {
|
|
1108
|
+
backdrop-filter: blur(var(--backdrop-blur-lg));
|
|
1109
|
+
}
|
|
1110
|
+
.backdrop-blur-xl {
|
|
1111
|
+
backdrop-filter: blur(var(--backdrop-blur-xl));
|
|
1112
|
+
}
|
|
1113
|
+
.backdrop-blur-2xl {
|
|
1114
|
+
backdrop-filter: blur(var(--backdrop-blur-2xl));
|
|
1115
|
+
}
|
|
1116
|
+
.backdrop-blur-3xl {
|
|
1117
|
+
backdrop-filter: blur(var(--backdrop-blur-3xl));
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/* Text box trim utilities */
|
|
1121
|
+
.trim-none {
|
|
1122
|
+
text-box-trim: none;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.trim-start {
|
|
1126
|
+
text-box-trim: trim-start;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
.trim-end {
|
|
1130
|
+
text-box-trim: trim-end;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.trim-both {
|
|
1134
|
+
text-box-trim: trim-both;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
/* Typography scale utilities (from Figma) */
|
|
1138
|
+
|
|
1139
|
+
/* 3XS: 8/8 - micro text for tiny badges */
|
|
1140
|
+
.text-3xs {
|
|
1141
|
+
font-size: 0.5rem;
|
|
1142
|
+
line-height: 0.5rem;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/* Eyebrow: the quiet label above a title, in sentence case on the caption
|
|
1146
|
+
role. Never tracked capitals: they shout at this size. */
|
|
1147
|
+
.eyebrow {
|
|
1148
|
+
@apply text-caption text-muted-foreground font-medium;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
.w-sidebar {
|
|
1152
|
+
width: var(--sidebar-width);
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
/* Mtag product actions height */
|
|
1156
|
+
.pb-product-actions {
|
|
1157
|
+
padding-bottom: var(--product-actions-height);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/* Match feature animations */
|
|
1161
|
+
.animate-shimmer {
|
|
1162
|
+
animation: shimmer 1.5s ease-in-out infinite;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.animate-breathe {
|
|
1166
|
+
animation: breathe 3s ease-in-out infinite;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.animate-border-glow {
|
|
1170
|
+
animation: border-glow 2s ease-in-out infinite;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
.animate-fade-swap {
|
|
1174
|
+
animation: fade-swap 200ms ease-out both;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
/* Focus-ring width. Tailwind v4 only ships ring-{0,1,2,4,8}; the Materia focus
|
|
1179
|
+
ring is 3px (Figma focus/default = drop-shadow spread 3, #6b7280@30%). Mirrors
|
|
1180
|
+
the generated `.ring-2` structure with 3px so `ring-3` (and its variants,
|
|
1181
|
+
focus-visible:ring-3 etc.) behaves exactly like the former `ring-[3px]`. */
|
|
1182
|
+
@utility ring-3 {
|
|
1183
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0
|
|
1184
|
+
calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1185
|
+
box-shadow:
|
|
1186
|
+
var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
|
|
1187
|
+
var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/* Transition property lists. Tailwind ships single-property transitions only;
|
|
1191
|
+
each of these sets the same three declarations its arbitrary
|
|
1192
|
+
`transition-[a,b]` form did (property list, default easing, default
|
|
1193
|
+
duration), so `ease-*` and `duration-*` on the element still win. Named for
|
|
1194
|
+
the properties they move. */
|
|
1195
|
+
/* Motion durations by name: `duration-normal`, `data-ending-style:duration-quick`.
|
|
1196
|
+
Tailwind's own `duration-*` takes milliseconds only and reads no theme
|
|
1197
|
+
namespace, so without this the `--duration-*` tokens make no class at all.
|
|
1198
|
+
Sets `--tw-duration` as the built-in does, so the transition utilities
|
|
1199
|
+
below pick it up. */
|
|
1200
|
+
@utility duration-* {
|
|
1201
|
+
--tw-duration: --value(--duration-*);
|
|
1202
|
+
transition-duration: --value(--duration-*);
|
|
1203
|
+
}
|
|
1204
|
+
/* Collapsible and accordion panels. The duration lives here rather than in a
|
|
1205
|
+
`duration-*` class because tailwindcss-animate makes `duration-*` set
|
|
1206
|
+
`animation-duration` too, and Base UI then warns that a panel which starts
|
|
1207
|
+
open has both a transition and an animation. */
|
|
1208
|
+
@utility transition-panel {
|
|
1209
|
+
transition-property: height, opacity, grid-template-rows;
|
|
1210
|
+
transition-timing-function: var(
|
|
1211
|
+
--tw-ease,
|
|
1212
|
+
var(--default-transition-timing-function)
|
|
1213
|
+
);
|
|
1214
|
+
transition-duration: var(--tw-duration, var(--duration-normal));
|
|
1215
|
+
}
|
|
1216
|
+
/* The quicker close for a panel, for `data-ending-style:`. Sets the transition
|
|
1217
|
+
duration only, for the same reason as above. */
|
|
1218
|
+
@utility transition-panel-close {
|
|
1219
|
+
transition-duration: var(--duration-quick);
|
|
1220
|
+
}
|
|
1221
|
+
@utility transition-color-shadow {
|
|
1222
|
+
transition-property: color, box-shadow;
|
|
1223
|
+
transition-timing-function: var(
|
|
1224
|
+
--tw-ease,
|
|
1225
|
+
var(--default-transition-timing-function)
|
|
1226
|
+
);
|
|
1227
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1228
|
+
}
|
|
1229
|
+
@utility transition-color-shadow-border {
|
|
1230
|
+
transition-property: color, box-shadow, border-color;
|
|
1231
|
+
transition-timing-function: var(
|
|
1232
|
+
--tw-ease,
|
|
1233
|
+
var(--default-transition-timing-function)
|
|
1234
|
+
);
|
|
1235
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1236
|
+
}
|
|
1237
|
+
@utility transition-color-bg-shadow-border {
|
|
1238
|
+
transition-property: color, background-color, box-shadow, border-color;
|
|
1239
|
+
transition-timing-function: var(
|
|
1240
|
+
--tw-ease,
|
|
1241
|
+
var(--default-transition-timing-function)
|
|
1242
|
+
);
|
|
1243
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1244
|
+
}
|
|
1245
|
+
@utility transition-shadow-border {
|
|
1246
|
+
transition-property: box-shadow, border-color;
|
|
1247
|
+
transition-timing-function: var(
|
|
1248
|
+
--tw-ease,
|
|
1249
|
+
var(--default-transition-timing-function)
|
|
1250
|
+
);
|
|
1251
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1252
|
+
}
|
|
1253
|
+
@utility transition-bg-shadow-border {
|
|
1254
|
+
transition-property: background-color, box-shadow, border-color;
|
|
1255
|
+
transition-timing-function: var(
|
|
1256
|
+
--tw-ease,
|
|
1257
|
+
var(--default-transition-timing-function)
|
|
1258
|
+
);
|
|
1259
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1260
|
+
}
|
|
1261
|
+
@utility transition-border-shadow-opacity {
|
|
1262
|
+
transition-property: border-color, box-shadow, opacity;
|
|
1263
|
+
transition-timing-function: var(
|
|
1264
|
+
--tw-ease,
|
|
1265
|
+
var(--default-transition-timing-function)
|
|
1266
|
+
);
|
|
1267
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1268
|
+
}
|
|
1269
|
+
@utility transition-opacity-translate {
|
|
1270
|
+
transition-property: opacity, translate;
|
|
1271
|
+
transition-timing-function: var(
|
|
1272
|
+
--tw-ease,
|
|
1273
|
+
var(--default-transition-timing-function)
|
|
1274
|
+
);
|
|
1275
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1276
|
+
}
|
|
1277
|
+
@utility transition-opacity-transform {
|
|
1278
|
+
transition-property: opacity, transform;
|
|
1279
|
+
transition-timing-function: var(
|
|
1280
|
+
--tw-ease,
|
|
1281
|
+
var(--default-transition-timing-function)
|
|
1282
|
+
);
|
|
1283
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1284
|
+
}
|
|
1285
|
+
@utility transition-opacity-bg {
|
|
1286
|
+
transition-property: opacity, background-color;
|
|
1287
|
+
transition-timing-function: var(
|
|
1288
|
+
--tw-ease,
|
|
1289
|
+
var(--default-transition-timing-function)
|
|
1290
|
+
);
|
|
1291
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1292
|
+
}
|
|
1293
|
+
@utility transition-opacity-scale-color-bg {
|
|
1294
|
+
transition-property: opacity, scale, color, background-color;
|
|
1295
|
+
transition-timing-function: var(
|
|
1296
|
+
--tw-ease,
|
|
1297
|
+
var(--default-transition-timing-function)
|
|
1298
|
+
);
|
|
1299
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1300
|
+
}
|
|
1301
|
+
@utility transition-margin-shadow {
|
|
1302
|
+
transition-property: margin, box-shadow;
|
|
1303
|
+
transition-timing-function: var(
|
|
1304
|
+
--tw-ease,
|
|
1305
|
+
var(--default-transition-timing-function)
|
|
1306
|
+
);
|
|
1307
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1308
|
+
}
|
|
1309
|
+
@utility transition-width {
|
|
1310
|
+
transition-property: width;
|
|
1311
|
+
transition-timing-function: var(
|
|
1312
|
+
--tw-ease,
|
|
1313
|
+
var(--default-transition-timing-function)
|
|
1314
|
+
);
|
|
1315
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1316
|
+
}
|
|
1317
|
+
@utility transition-stroke-dashoffset {
|
|
1318
|
+
transition-property: stroke-dashoffset;
|
|
1319
|
+
transition-timing-function: var(
|
|
1320
|
+
--tw-ease,
|
|
1321
|
+
var(--default-transition-timing-function)
|
|
1322
|
+
);
|
|
1323
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1324
|
+
}
|
|
1325
|
+
@utility transition-inset-start-bottom {
|
|
1326
|
+
transition-property: inset-inline-start, bottom;
|
|
1327
|
+
transition-timing-function: var(
|
|
1328
|
+
--tw-ease,
|
|
1329
|
+
var(--default-transition-timing-function)
|
|
1330
|
+
);
|
|
1331
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/* Safe-area padding: a fixed offset plus the device inset, so chrome clears the
|
|
1335
|
+
notch and home indicator. The number is the offset in rem-quarters, as in the
|
|
1336
|
+
spacing scale (`pt-safe-2` is 0.5rem plus the inset). */
|
|
1337
|
+
@utility pt-safe-2 {
|
|
1338
|
+
padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
|
|
1339
|
+
}
|
|
1340
|
+
@utility pt-safe-18 {
|
|
1341
|
+
padding-top: calc(4.5rem + env(safe-area-inset-top, 0px));
|
|
1342
|
+
}
|
|
1343
|
+
/* Holds a sticky bar beneath the phone's fixed app bar: 3.5rem of bar plus
|
|
1344
|
+
the top safe-area inset it grows by on notched devices. */
|
|
1345
|
+
@utility top-app-bar {
|
|
1346
|
+
top: calc(3.5rem + env(safe-area-inset-top, 0px));
|
|
1347
|
+
}
|
|
1348
|
+
@utility pb-safe-24 {
|
|
1349
|
+
padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
|
|
1350
|
+
}
|
|
1351
|
+
/* At least 1rem, growing to the inset when the device needs more. */
|
|
1352
|
+
@utility pb-safe-min-4 {
|
|
1353
|
+
padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
/* Half-pixel rules for dense tables. Tailwind's border-width scale starts at
|
|
1357
|
+
1px. The style falls back to solid, matching preflight, so these hold even
|
|
1358
|
+
on a page where no stock border utility registered `--tw-border-style`. */
|
|
1359
|
+
@utility border-b-hairline {
|
|
1360
|
+
border-bottom-style: var(--tw-border-style, solid);
|
|
1361
|
+
border-bottom-width: 0.5px;
|
|
1362
|
+
}
|
|
1363
|
+
@utility border-e-hairline {
|
|
1364
|
+
border-inline-end-style: var(--tw-border-style, solid);
|
|
1365
|
+
border-inline-end-width: 0.5px;
|
|
1366
|
+
}
|
|
1367
|
+
@utility border-s-hairline {
|
|
1368
|
+
border-inline-start-style: var(--tw-border-style, solid);
|
|
1369
|
+
border-inline-start-width: 0.5px;
|
|
1370
|
+
}
|
|
1371
|
+
/* Folder tile material edge, drawn from the Figma frame. */
|
|
1372
|
+
@utility border-folder-edge {
|
|
1373
|
+
border-style: var(--tw-border-style, solid);
|
|
1374
|
+
border-width: 1.584px;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
/* Icon stroke widths between Tailwind's stroke-1 and stroke-2. */
|
|
1378
|
+
@utility stroke-fine {
|
|
1379
|
+
stroke-width: 1.25;
|
|
1380
|
+
}
|
|
1381
|
+
@utility stroke-medium {
|
|
1382
|
+
stroke-width: 1.5;
|
|
1383
|
+
}
|
|
1384
|
+
@utility stroke-bold {
|
|
1385
|
+
stroke-width: 2.5;
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
@utility rounded-inherit {
|
|
1389
|
+
border-radius: inherit;
|
|
1390
|
+
}
|
|
1391
|
+
@utility pr-tag-dot {
|
|
1392
|
+
padding-right: 1.25em;
|
|
1393
|
+
}
|
|
1394
|
+
@utility pb-dialog-lift {
|
|
1395
|
+
padding-bottom: 20vh;
|
|
1396
|
+
}
|
|
1397
|
+
@utility bg-size-shimmer {
|
|
1398
|
+
background-size: 250% 100%;
|
|
1399
|
+
}
|
|
1400
|
+
@utility bg-size-checker {
|
|
1401
|
+
background-size: 8px 8px;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
/* Single app-wide horizontal page gutter. A live var (not in @theme) so the
|
|
1405
|
+
media query can widen it at sm; consumed by the header and Container's
|
|
1406
|
+
default inset (and SidebarInset in a later stage). 16px base, 24px from sm. */
|
|
1407
|
+
:root {
|
|
1408
|
+
--page-gutter: 1rem;
|
|
1409
|
+
}
|
|
1410
|
+
@media (min-width: 40rem) {
|
|
1411
|
+
:root {
|
|
1412
|
+
--page-gutter: 1.5rem;
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
/* Card inset. `--card-inset` is the one padding value a Card root hands to its
|
|
1416
|
+
parts: the root reads it for vertical padding and the gap between parts,
|
|
1417
|
+
CardHeader and CardContent read it for horizontal padding. Custom properties
|
|
1418
|
+
inherit, so the parts follow the root with no React context, and the
|
|
1419
|
+
responsive and container-query variants of these utilities (safelisted below)
|
|
1420
|
+
change it per breakpoint. The :root default keeps parts used outside a Card
|
|
1421
|
+
at the standard 1.5rem. */
|
|
1422
|
+
:root {
|
|
1423
|
+
--card-inset: 1.5rem;
|
|
1424
|
+
}
|
|
1425
|
+
@utility card-inset-none {
|
|
1426
|
+
--card-inset: 0;
|
|
1427
|
+
}
|
|
1428
|
+
@utility card-inset-2xs {
|
|
1429
|
+
--card-inset: 0.25rem;
|
|
1430
|
+
}
|
|
1431
|
+
@utility card-inset-xs {
|
|
1432
|
+
--card-inset: 0.5rem;
|
|
1433
|
+
}
|
|
1434
|
+
@utility card-inset-sm {
|
|
1435
|
+
--card-inset: 0.75rem;
|
|
1436
|
+
}
|
|
1437
|
+
@utility card-inset-base {
|
|
1438
|
+
--card-inset: 1rem;
|
|
1439
|
+
}
|
|
1440
|
+
@utility card-inset-lg {
|
|
1441
|
+
--card-inset: 1.25rem;
|
|
1442
|
+
}
|
|
1443
|
+
@utility card-inset-xl {
|
|
1444
|
+
--card-inset: 1.5rem;
|
|
1445
|
+
}
|
|
1446
|
+
@utility card-inset-2xl {
|
|
1447
|
+
--card-inset: 2rem;
|
|
1448
|
+
}
|
|
1449
|
+
@utility card-inset-3xl {
|
|
1450
|
+
--card-inset: 2.5rem;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
@utility px-page-gutter {
|
|
1454
|
+
padding-inline: var(--page-gutter);
|
|
1455
|
+
}
|
|
1456
|
+
@utility pl-page-gutter {
|
|
1457
|
+
padding-left: var(--page-gutter);
|
|
1458
|
+
}
|
|
1459
|
+
@utility pr-page-gutter {
|
|
1460
|
+
padding-right: var(--page-gutter);
|
|
1461
|
+
}
|
|
1462
|
+
/* The same gutter beneath a closing panel, such as the site footer. */
|
|
1463
|
+
@utility pb-page-gutter {
|
|
1464
|
+
padding-bottom: var(--page-gutter);
|
|
1465
|
+
}
|
|
1466
|
+
@utility -mx-page-gutter {
|
|
1467
|
+
margin-inline: calc(-1 * var(--page-gutter));
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
/* Drawer scrim fade. Base UI's Drawer exposes `--drawer-swipe-progress` (0 at
|
|
1471
|
+
rest, 1 when fully swiped away) on its backdrop; this scales the scrim's
|
|
1472
|
+
opacity by the remaining progress so it fades with the gesture. */
|
|
1473
|
+
@utility drawer-scrim-fade {
|
|
1474
|
+
opacity: calc(1 - var(--drawer-swipe-progress, 0));
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/* Holds the last frame of an exit animation. Tailwind's `animate-*` shorthand
|
|
1478
|
+
resets `animation-fill-mode` to none, which would snap a closing popup back
|
|
1479
|
+
to visible before it unmounts. */
|
|
1480
|
+
@utility fill-mode-forwards {
|
|
1481
|
+
animation-fill-mode: forwards;
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
/* Header-height layout utilities - registered as @utility so responsive
|
|
1485
|
+
variants (lg:pt-header, md:h-header, etc.) work in Tailwind v4. */
|
|
1486
|
+
@utility pt-header {
|
|
1487
|
+
padding-top: var(--header-height);
|
|
1488
|
+
}
|
|
1489
|
+
@utility mt-header {
|
|
1490
|
+
margin-top: var(--header-height);
|
|
1491
|
+
}
|
|
1492
|
+
@utility top-header {
|
|
1493
|
+
/* Fallback to the default header height so a fixed element anchored with
|
|
1494
|
+
`bottom-*` stays bounded on routes that never set --header-height (e.g.
|
|
1495
|
+
the immersive canvas layout). Without it, an undefined var resolves to
|
|
1496
|
+
`top: auto`, the element sizes to its content, and tall panels (the cart)
|
|
1497
|
+
overflow past the viewport. */
|
|
1498
|
+
top: var(--header-height, 6rem);
|
|
1499
|
+
}
|
|
1500
|
+
@utility h-below-header {
|
|
1501
|
+
height: calc(100svh - var(--header-height));
|
|
1502
|
+
}
|
|
1503
|
+
@utility max-h-below-header {
|
|
1504
|
+
max-height: calc(100vh - var(--header-height));
|
|
1505
|
+
}
|
|
1506
|
+
@utility h-header {
|
|
1507
|
+
height: var(--header-height);
|
|
1508
|
+
}
|
|
1509
|
+
@utility pt-header-half {
|
|
1510
|
+
padding-top: calc(var(--header-height) / 2);
|
|
1511
|
+
}
|
|
1512
|
+
@utility top-header-plus {
|
|
1513
|
+
top: calc(var(--header-height) + 1rem);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
/* Transitions.dev - Success check */
|
|
1517
|
+
|
|
1518
|
+
/*
|
|
1519
|
+
Usage:
|
|
1520
|
+
<!-- Wrap your icon (SVG, image, anything) in .t-success-check.
|
|
1521
|
+
The wrapper drives fade + rotate + blur + Y-bob; if your
|
|
1522
|
+
icon is an SVG <path>, it gets the stroke-draw animation.
|
|
1523
|
+
Bring your own icon size / colours. -->
|
|
1524
|
+
<span class="t-success-check" data-state="out" aria-hidden="true">
|
|
1525
|
+
<svg viewBox="0 0 48 48" fill="none">
|
|
1526
|
+
<!-- your icon path(s) here -->
|
|
1527
|
+
</svg>
|
|
1528
|
+
</span>
|
|
1529
|
+
|
|
1530
|
+
Trigger:
|
|
1531
|
+
- Cold load is data-state="out" (opacity 0; no animation).
|
|
1532
|
+
- Show: set data-state="in" (fade + rotate + blur + Y-bob
|
|
1533
|
+
+ path draw run in parallel).
|
|
1534
|
+
|
|
1535
|
+
Snippet covers the appear transition only - bring your own
|
|
1536
|
+
hide behaviour (e.g. unmount, opacity:0, or a custom exit).
|
|
1537
|
+
*/
|
|
1538
|
+
|
|
1539
|
+
:root {
|
|
1540
|
+
--check-opacity-dur: 550ms;
|
|
1541
|
+
--check-rotate-dur: 550ms;
|
|
1542
|
+
--check-rotate-from: 80deg;
|
|
1543
|
+
--check-bob-dur: 450ms;
|
|
1544
|
+
--check-y-amount: 40px;
|
|
1545
|
+
--check-blur-dur: 500ms;
|
|
1546
|
+
--check-blur-from: 10px;
|
|
1547
|
+
--check-path-dur: 550ms;
|
|
1548
|
+
--check-path-delay: 80ms;
|
|
1549
|
+
--check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
|
1550
|
+
--check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);
|
|
1551
|
+
--check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);
|
|
1552
|
+
--check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);
|
|
1553
|
+
--check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
/* Wrapper drives the appear animation; it doesn't own any
|
|
1557
|
+
sizing or colour so you can drop in any icon. It does centre the
|
|
1558
|
+
icon: this rule is unlayered, so a `flex` utility on the wrapper
|
|
1559
|
+
never applies, and an icon smaller than a sized wrapper (a tick in
|
|
1560
|
+
a disc) would otherwise sit in its top-left corner. */
|
|
1561
|
+
.t-success-check {
|
|
1562
|
+
display: inline-grid;
|
|
1563
|
+
place-items: center;
|
|
1564
|
+
transform-origin: center;
|
|
1565
|
+
opacity: 0;
|
|
1566
|
+
will-change: transform, opacity, filter;
|
|
1567
|
+
}
|
|
1568
|
+
/* overflow: visible keeps the stroke from clipping while it
|
|
1569
|
+
draws; display: block kills the inline whitespace under SVGs. */
|
|
1570
|
+
.t-success-check svg {
|
|
1571
|
+
display: block;
|
|
1572
|
+
overflow: visible;
|
|
1573
|
+
}
|
|
1574
|
+
/* Stroke-draw setup. Replace 20 with the result of
|
|
1575
|
+
path.getTotalLength() for your path; round caps mean any
|
|
1576
|
+
sub-pixel overshoot is invisible. */
|
|
1577
|
+
.t-success-check svg path {
|
|
1578
|
+
stroke-dasharray: 20;
|
|
1579
|
+
stroke-dashoffset: 20;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
.t-success-check[data-state="in"] {
|
|
1583
|
+
animation:
|
|
1584
|
+
t-check-fade var(--check-opacity-dur) var(--check-ease-opacity) forwards,
|
|
1585
|
+
t-check-arrive var(--check-bob-dur) var(--check-ease-bob) forwards,
|
|
1586
|
+
t-check-blur var(--check-blur-dur) var(--check-ease-out) forwards;
|
|
1587
|
+
}
|
|
1588
|
+
.t-success-check[data-state="in"] svg path {
|
|
1589
|
+
animation: t-check-draw var(--check-path-dur) var(--check-ease-path)
|
|
1590
|
+
var(--check-path-delay, 0ms) forwards;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
@keyframes t-check-fade {
|
|
1594
|
+
from {
|
|
1595
|
+
opacity: 0;
|
|
1596
|
+
}
|
|
1597
|
+
to {
|
|
1598
|
+
opacity: 1;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
/* Single composite transform for the entrance - combines the bob and
|
|
1603
|
+
the rotate into one keyframe so they share a transform stack.
|
|
1604
|
+
Splitting them into the `translate` property + `transform: rotate(…)`
|
|
1605
|
+
(as in the original snippet) makes the rotation pivot around the
|
|
1606
|
+
layout centre while the element is visually offset by `translate`,
|
|
1607
|
+
producing an arc-shaped sweep - the medallion appears to come in
|
|
1608
|
+
from the bottom-LEFT instead of straight from below. Composing them
|
|
1609
|
+
here pivots around the translated centre, so the motion is true
|
|
1610
|
+
vertical with a rotation in place. */
|
|
1611
|
+
@keyframes t-check-arrive {
|
|
1612
|
+
from {
|
|
1613
|
+
transform: translateY(var(--check-y-amount))
|
|
1614
|
+
rotate(var(--check-rotate-from));
|
|
1615
|
+
}
|
|
1616
|
+
to {
|
|
1617
|
+
transform: translateY(0) rotate(0deg);
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
@keyframes t-check-blur {
|
|
1622
|
+
from {
|
|
1623
|
+
filter: blur(var(--check-blur-from));
|
|
1624
|
+
}
|
|
1625
|
+
to {
|
|
1626
|
+
filter: blur(0);
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
@keyframes t-check-draw {
|
|
1630
|
+
to {
|
|
1631
|
+
stroke-dashoffset: 0;
|
|
1632
|
+
}
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1636
|
+
.t-success-check {
|
|
1637
|
+
animation: none;
|
|
1638
|
+
opacity: 1;
|
|
1639
|
+
}
|
|
1640
|
+
.t-success-check svg path {
|
|
1641
|
+
animation: none;
|
|
1642
|
+
stroke-dashoffset: 0;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
/* Pulse ring - emits from behind the medallion as the tick lands.
|
|
1647
|
+
Pair with `.t-success-check`: same wrapper toggles data-state="in"
|
|
1648
|
+
on the pulse element to play. Sits behind the medallion (z-0) and
|
|
1649
|
+
never blocks pointer events. */
|
|
1650
|
+
.t-success-check-pulse {
|
|
1651
|
+
position: absolute;
|
|
1652
|
+
inset: 0;
|
|
1653
|
+
border-radius: 9999px;
|
|
1654
|
+
background-color: var(--color-green-100, #dcfce7);
|
|
1655
|
+
opacity: 0;
|
|
1656
|
+
transform: scale(0.95);
|
|
1657
|
+
pointer-events: none;
|
|
1658
|
+
will-change: transform, opacity;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
.t-success-check-pulse[data-state="in"] {
|
|
1662
|
+
animation: t-check-pulse 900ms cubic-bezier(0.22, 1, 0.36, 1) 240ms forwards;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
@keyframes t-check-pulse {
|
|
1666
|
+
0% {
|
|
1667
|
+
transform: scale(0.95);
|
|
1668
|
+
opacity: 0.55;
|
|
1669
|
+
}
|
|
1670
|
+
100% {
|
|
1671
|
+
transform: scale(1.9);
|
|
1672
|
+
opacity: 0;
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1677
|
+
.t-success-check-pulse {
|
|
1678
|
+
animation: none;
|
|
1679
|
+
opacity: 0;
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
/* SuccessTickRipple - green medallion with celebration ripple.
|
|
1684
|
+
|
|
1685
|
+
Usage:
|
|
1686
|
+
<div class="relative overflow-hidden">
|
|
1687
|
+
<span class="t-success-tick-ripple-field" aria-hidden>
|
|
1688
|
+
<span class="t-success-tick-ripple-glow"></span>
|
|
1689
|
+
<span class="t-success-tick-ripple-ring t-success-tick-ripple-ring-primary"></span>
|
|
1690
|
+
<span class="t-success-tick-ripple-ring t-success-tick-ripple-ring-soft"></span>
|
|
1691
|
+
<span class="t-success-tick-ripple-ring t-success-tick-ripple-ring-sheen"></span>
|
|
1692
|
+
</span>
|
|
1693
|
+
<span class="t-success-tick-medallion">...</span>
|
|
1694
|
+
</div>
|
|
1695
|
+
|
|
1696
|
+
The parent (`position: relative; overflow: hidden`) defines the visual
|
|
1697
|
+
boundary for the ripple. The ripple field is absolutely positioned and
|
|
1698
|
+
attaches to the nearest positioned ancestor. Origin is controlled via
|
|
1699
|
+
`--tick-impact-x` / `--tick-impact-y` on the parent (default 50% / 50%).
|
|
1700
|
+
Animations are CSS-only and run once on mount. */
|
|
1701
|
+
|
|
1702
|
+
.t-success-tick-ripple-field {
|
|
1703
|
+
position: absolute;
|
|
1704
|
+
inset: 0;
|
|
1705
|
+
z-index: 0;
|
|
1706
|
+
pointer-events: none;
|
|
1707
|
+
border-radius: inherit;
|
|
1708
|
+
/* No `overflow: hidden` - the outer ancestor (e.g. the cart drawer)
|
|
1709
|
+
clips so the bright top of the glow can fade through the surrounding
|
|
1710
|
+
chrome instead of cutting off at a hard inner boundary. */
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
.t-success-tick-ripple-glow,
|
|
1714
|
+
.t-success-tick-ripple-ring {
|
|
1715
|
+
position: absolute;
|
|
1716
|
+
pointer-events: none;
|
|
1717
|
+
will-change: transform, opacity;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
/* Residual glow - settles along the top edge and sides of the parent
|
|
1721
|
+
container after the rings sweep past. The parent should NOT have
|
|
1722
|
+
`overflow: hidden` so the bright top of this gradient can fade out
|
|
1723
|
+
into the surrounding chrome instead of cutting off at a hard line. */
|
|
1724
|
+
.t-success-tick-ripple-glow {
|
|
1725
|
+
top: 0;
|
|
1726
|
+
left: 50%;
|
|
1727
|
+
width: 124%;
|
|
1728
|
+
height: 72%;
|
|
1729
|
+
transform: translateX(-50%);
|
|
1730
|
+
opacity: 0;
|
|
1731
|
+
background:
|
|
1732
|
+
radial-gradient(
|
|
1733
|
+
ellipse at 50% 0%,
|
|
1734
|
+
rgba(74, 222, 128, 0.22),
|
|
1735
|
+
transparent 58%
|
|
1736
|
+
),
|
|
1737
|
+
linear-gradient(180deg, rgba(134, 239, 172, 0.16), transparent 72%);
|
|
1738
|
+
animation: t-tick-glow-in 1.2s 700ms cubic-bezier(0.2, 0, 0, 1) forwards;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
.t-success-tick-ripple-ring {
|
|
1742
|
+
left: var(--tick-impact-x, 50%);
|
|
1743
|
+
top: var(--tick-impact-y, 50%);
|
|
1744
|
+
width: 42px;
|
|
1745
|
+
height: 42px;
|
|
1746
|
+
border-radius: 9999px;
|
|
1747
|
+
opacity: 0;
|
|
1748
|
+
transform: translate(-50%, -50%) scale(0.7);
|
|
1749
|
+
animation: t-tick-ripple-out var(--ring-duration) var(--ring-delay)
|
|
1750
|
+
cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
.t-success-tick-ripple-ring-primary {
|
|
1754
|
+
--ring-duration: 1.8s;
|
|
1755
|
+
--ring-delay: 260ms;
|
|
1756
|
+
--ring-scale: 9;
|
|
1757
|
+
background: radial-gradient(
|
|
1758
|
+
circle,
|
|
1759
|
+
rgba(52, 199, 89, 0) 42%,
|
|
1760
|
+
rgba(52, 199, 89, 0.3) 55%,
|
|
1761
|
+
rgba(52, 199, 89, 0) 72%
|
|
1762
|
+
);
|
|
1763
|
+
filter: blur(5px);
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
.t-success-tick-ripple-ring-soft {
|
|
1767
|
+
--ring-duration: 2.35s;
|
|
1768
|
+
--ring-delay: 340ms;
|
|
1769
|
+
--ring-scale: 11;
|
|
1770
|
+
background: radial-gradient(
|
|
1771
|
+
circle,
|
|
1772
|
+
rgba(134, 239, 172, 0) 38%,
|
|
1773
|
+
rgba(134, 239, 172, 0.24) 56%,
|
|
1774
|
+
rgba(134, 239, 172, 0) 74%
|
|
1775
|
+
);
|
|
1776
|
+
filter: blur(8px);
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
.t-success-tick-ripple-ring-sheen {
|
|
1780
|
+
--ring-duration: 2.1s;
|
|
1781
|
+
--ring-delay: 460ms;
|
|
1782
|
+
--ring-scale: 10;
|
|
1783
|
+
background: radial-gradient(
|
|
1784
|
+
circle,
|
|
1785
|
+
rgba(255, 255, 255, 0) 44%,
|
|
1786
|
+
rgba(255, 255, 255, 0.58) 58%,
|
|
1787
|
+
rgba(255, 255, 255, 0) 76%
|
|
1788
|
+
);
|
|
1789
|
+
filter: blur(4px);
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
.t-success-tick-medallion {
|
|
1793
|
+
position: relative;
|
|
1794
|
+
z-index: 1;
|
|
1795
|
+
display: grid;
|
|
1796
|
+
place-items: center;
|
|
1797
|
+
border-radius: 9999px;
|
|
1798
|
+
color: white;
|
|
1799
|
+
background:
|
|
1800
|
+
linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
|
|
1801
|
+
#34c759;
|
|
1802
|
+
box-shadow:
|
|
1803
|
+
0 10px 20px rgba(52, 199, 89, 0.28),
|
|
1804
|
+
0 1px 0 rgba(255, 255, 255, 0.28) inset;
|
|
1805
|
+
animation: t-tick-medallion-drop 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
.t-success-tick-medallion svg {
|
|
1809
|
+
display: block;
|
|
1810
|
+
width: 56%;
|
|
1811
|
+
height: 56%;
|
|
1812
|
+
overflow: visible;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
.t-success-tick-medallion svg path {
|
|
1816
|
+
stroke-dasharray: 1;
|
|
1817
|
+
stroke-dashoffset: 1;
|
|
1818
|
+
animation: t-tick-check-draw 420ms 170ms cubic-bezier(0.16, 1, 0.3, 1)
|
|
1819
|
+
forwards;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
@keyframes t-tick-ripple-out {
|
|
1823
|
+
0% {
|
|
1824
|
+
opacity: 0;
|
|
1825
|
+
transform: translate(-50%, -50%) scale(0.7);
|
|
1826
|
+
}
|
|
1827
|
+
10% {
|
|
1828
|
+
opacity: 1;
|
|
1829
|
+
}
|
|
1830
|
+
100% {
|
|
1831
|
+
opacity: 0;
|
|
1832
|
+
transform: translate(-50%, -50%) scale(var(--ring-scale));
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
@keyframes t-tick-glow-in {
|
|
1837
|
+
from {
|
|
1838
|
+
opacity: 0;
|
|
1839
|
+
}
|
|
1840
|
+
to {
|
|
1841
|
+
opacity: 1;
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/* Drop ~8px from above with a spring-like rebound. Settles by 720ms. */
|
|
1846
|
+
@keyframes t-tick-medallion-drop {
|
|
1847
|
+
0% {
|
|
1848
|
+
opacity: 0;
|
|
1849
|
+
transform: translateY(-8px) scale(0.92);
|
|
1850
|
+
}
|
|
1851
|
+
36% {
|
|
1852
|
+
opacity: 1;
|
|
1853
|
+
transform: translateY(1.5px) scale(1.03);
|
|
1854
|
+
}
|
|
1855
|
+
56% {
|
|
1856
|
+
transform: translateY(-1.2px) scale(0.99);
|
|
1857
|
+
}
|
|
1858
|
+
76% {
|
|
1859
|
+
transform: translateY(0.5px) scale(1.005);
|
|
1860
|
+
}
|
|
1861
|
+
100% {
|
|
1862
|
+
opacity: 1;
|
|
1863
|
+
transform: translateY(0) scale(1);
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
@keyframes t-tick-check-draw {
|
|
1868
|
+
to {
|
|
1869
|
+
stroke-dashoffset: 0;
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1874
|
+
.t-success-tick-medallion {
|
|
1875
|
+
animation: none;
|
|
1876
|
+
opacity: 1;
|
|
1877
|
+
transform: none;
|
|
1878
|
+
}
|
|
1879
|
+
.t-success-tick-medallion svg path {
|
|
1880
|
+
animation: none;
|
|
1881
|
+
stroke-dashoffset: 0;
|
|
1882
|
+
}
|
|
1883
|
+
.t-success-tick-ripple-ring,
|
|
1884
|
+
.t-success-tick-ripple-glow {
|
|
1885
|
+
animation: none;
|
|
1886
|
+
opacity: 0;
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
|
|
1890
|
+
/* Mega menu. The sheet unrolls downward from behind the shell's chrome, its
|
|
1891
|
+
content held still, then its links rise in a wave: column by column from the
|
|
1892
|
+
lead link, then down each list. Transitions rather than keyframes, keyed on
|
|
1893
|
+
Base UI's starting and ending styles, so a second press mid-flight reverses
|
|
1894
|
+
from where it is. The open clip reaches past the bottom edge so the sheet's
|
|
1895
|
+
shadow shows. Nothing waits on the wave: every link is live from the first
|
|
1896
|
+
frame. Closing leaves the way it came: the links fade together, quickly, and
|
|
1897
|
+
the emptied sheet rolls back up behind the chrome on a softer curve. */
|
|
1898
|
+
[data-slot="mega-menu-content"] {
|
|
1899
|
+
clip-path: inset(0 0 -6rem 0);
|
|
1900
|
+
transition: clip-path var(--duration-normal) var(--ease-sheet);
|
|
1901
|
+
}
|
|
1902
|
+
[data-slot="mega-menu-content"][data-starting-style] {
|
|
1903
|
+
clip-path: inset(0 0 100% 0);
|
|
1904
|
+
}
|
|
1905
|
+
[data-slot="mega-menu-content"][data-ending-style] {
|
|
1906
|
+
clip-path: inset(0 0 100% 0);
|
|
1907
|
+
transition: clip-path var(--duration-normal) var(--ease-in-out);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
/* Each column's place in the wave, inherited by its links. The lead link is
|
|
1911
|
+
column 0; the wave stops growing after six sections. */
|
|
1912
|
+
[data-slot="mega-menu-grid"] > :nth-child(2) {
|
|
1913
|
+
--mega-menu-column: 1;
|
|
1914
|
+
}
|
|
1915
|
+
[data-slot="mega-menu-grid"] > :nth-child(3) {
|
|
1916
|
+
--mega-menu-column: 2;
|
|
1917
|
+
}
|
|
1918
|
+
[data-slot="mega-menu-grid"] > :nth-child(4) {
|
|
1919
|
+
--mega-menu-column: 3;
|
|
1920
|
+
}
|
|
1921
|
+
[data-slot="mega-menu-grid"] > :nth-child(5) {
|
|
1922
|
+
--mega-menu-column: 4;
|
|
1923
|
+
}
|
|
1924
|
+
[data-slot="mega-menu-grid"] > :nth-child(6) {
|
|
1925
|
+
--mega-menu-column: 5;
|
|
1926
|
+
}
|
|
1927
|
+
[data-slot="mega-menu-grid"] > :nth-child(n + 7) {
|
|
1928
|
+
--mega-menu-column: 6;
|
|
1929
|
+
}
|
|
1930
|
+
/* Each link's row beneath its heading, which is row 0. */
|
|
1931
|
+
[data-slot="mega-menu-section"] li:nth-child(1) {
|
|
1932
|
+
--mega-menu-row: 1;
|
|
1933
|
+
}
|
|
1934
|
+
[data-slot="mega-menu-section"] li:nth-child(2) {
|
|
1935
|
+
--mega-menu-row: 2;
|
|
1936
|
+
}
|
|
1937
|
+
[data-slot="mega-menu-section"] li:nth-child(3) {
|
|
1938
|
+
--mega-menu-row: 3;
|
|
1939
|
+
}
|
|
1940
|
+
[data-slot="mega-menu-section"] li:nth-child(4) {
|
|
1941
|
+
--mega-menu-row: 4;
|
|
1942
|
+
}
|
|
1943
|
+
[data-slot="mega-menu-section"] li:nth-child(5) {
|
|
1944
|
+
--mega-menu-row: 5;
|
|
1945
|
+
}
|
|
1946
|
+
[data-slot="mega-menu-section"] li:nth-child(6) {
|
|
1947
|
+
--mega-menu-row: 6;
|
|
1948
|
+
}
|
|
1949
|
+
[data-slot="mega-menu-section"] li:nth-child(n + 7) {
|
|
1950
|
+
--mega-menu-row: 7;
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
[data-slot="mega-menu-content"]
|
|
1954
|
+
:is(
|
|
1955
|
+
[data-slot="mega-menu-lead"],
|
|
1956
|
+
[data-slot="mega-menu-section"] > :first-child,
|
|
1957
|
+
[data-slot="mega-menu-section"] li
|
|
1958
|
+
) {
|
|
1959
|
+
transition:
|
|
1960
|
+
opacity var(--duration-moderate) var(--ease-out),
|
|
1961
|
+
transform var(--duration-moderate) var(--ease-out);
|
|
1962
|
+
transition-delay: calc(
|
|
1963
|
+
40ms + var(--mega-menu-column, 0) * 40ms + var(--mega-menu-row, 0) * 25ms
|
|
1964
|
+
);
|
|
1965
|
+
}
|
|
1966
|
+
[data-slot="mega-menu-content"][data-starting-style]
|
|
1967
|
+
:is(
|
|
1968
|
+
[data-slot="mega-menu-lead"],
|
|
1969
|
+
[data-slot="mega-menu-section"] > :first-child,
|
|
1970
|
+
[data-slot="mega-menu-section"] li
|
|
1971
|
+
) {
|
|
1972
|
+
opacity: 0;
|
|
1973
|
+
transform: translateY(0.5rem);
|
|
1974
|
+
}
|
|
1975
|
+
[data-slot="mega-menu-content"][data-ending-style]
|
|
1976
|
+
:is(
|
|
1977
|
+
[data-slot="mega-menu-lead"],
|
|
1978
|
+
[data-slot="mega-menu-section"] > :first-child,
|
|
1979
|
+
[data-slot="mega-menu-section"] li
|
|
1980
|
+
) {
|
|
1981
|
+
opacity: 0;
|
|
1982
|
+
transition: opacity var(--duration-quick) var(--ease-out);
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
/* Reduced motion: the sheet fades in and out whole, nothing travels or waits. */
|
|
1986
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1987
|
+
[data-slot="mega-menu-content"],
|
|
1988
|
+
[data-slot="mega-menu-content"][data-starting-style],
|
|
1989
|
+
[data-slot="mega-menu-content"][data-ending-style] {
|
|
1990
|
+
clip-path: none;
|
|
1991
|
+
transition: opacity var(--duration-normal) var(--ease-out);
|
|
1992
|
+
}
|
|
1993
|
+
[data-slot="mega-menu-content"][data-starting-style],
|
|
1994
|
+
[data-slot="mega-menu-content"][data-ending-style] {
|
|
1995
|
+
opacity: 0;
|
|
1996
|
+
}
|
|
1997
|
+
[data-slot="mega-menu-content"]
|
|
1998
|
+
:is(
|
|
1999
|
+
[data-slot="mega-menu-lead"],
|
|
2000
|
+
[data-slot="mega-menu-section"] > :first-child,
|
|
2001
|
+
[data-slot="mega-menu-section"] li
|
|
2002
|
+
),
|
|
2003
|
+
[data-slot="mega-menu-content"]:is([data-starting-style], [data-ending-style])
|
|
2004
|
+
:is(
|
|
2005
|
+
[data-slot="mega-menu-lead"],
|
|
2006
|
+
[data-slot="mega-menu-section"] > :first-child,
|
|
2007
|
+
[data-slot="mega-menu-section"] li
|
|
2008
|
+
) {
|
|
2009
|
+
opacity: 1;
|
|
2010
|
+
transform: none;
|
|
2011
|
+
transition: none;
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
/* Page side-by-side: two stacked panes crossfade with a short horizontal slide
|
|
2016
|
+
and a touch of blur (PromptPanelStage step transitions). The active pane is
|
|
2017
|
+
selected by `data-page` on `.page-slide`; pane 1 exits left, pane 2 exits
|
|
2018
|
+
right. The stage zeroes the two duration variables inline to snap a pane
|
|
2019
|
+
without animating. */
|
|
2020
|
+
:root {
|
|
2021
|
+
--page-slide-dur: var(--duration-normal);
|
|
2022
|
+
--page-fade-dur: var(--duration-normal);
|
|
2023
|
+
--page-slide-distance: 8px;
|
|
2024
|
+
--page-blur: 3px;
|
|
2025
|
+
--page-stagger: 0ms;
|
|
2026
|
+
--page-exit-enabled: 1;
|
|
2027
|
+
--page-slide-ease: var(--ease-out);
|
|
2028
|
+
--page-fade-ease: var(--ease-out);
|
|
2029
|
+
}
|
|
2030
|
+
|
|
2031
|
+
.page-slide {
|
|
2032
|
+
position: relative;
|
|
2033
|
+
}
|
|
2034
|
+
.page-slide .page-slide-pane[data-page-id="1"] {
|
|
2035
|
+
--page-slide-from-x: calc(var(--page-slide-distance) * -1);
|
|
2036
|
+
}
|
|
2037
|
+
.page-slide .page-slide-pane[data-page-id="2"] {
|
|
2038
|
+
--page-slide-from-x: var(--page-slide-distance);
|
|
2039
|
+
}
|
|
2040
|
+
.page-slide .page-slide-pane {
|
|
2041
|
+
position: absolute;
|
|
2042
|
+
inset: 0;
|
|
2043
|
+
opacity: 0;
|
|
2044
|
+
pointer-events: none;
|
|
2045
|
+
transform: translateX(
|
|
2046
|
+
calc(var(--page-slide-from-x, 0px) * var(--page-exit-enabled))
|
|
2047
|
+
);
|
|
2048
|
+
filter: blur(calc(var(--page-blur) * var(--page-exit-enabled)));
|
|
2049
|
+
transition:
|
|
2050
|
+
opacity var(--page-fade-dur) var(--page-fade-ease),
|
|
2051
|
+
transform var(--page-slide-dur) var(--page-slide-ease),
|
|
2052
|
+
filter var(--page-slide-dur) var(--page-slide-ease);
|
|
2053
|
+
will-change: opacity, transform, filter;
|
|
2054
|
+
}
|
|
2055
|
+
.page-slide[data-page="1"] .page-slide-pane[data-page-id="1"],
|
|
2056
|
+
.page-slide[data-page="2"] .page-slide-pane[data-page-id="2"] {
|
|
2057
|
+
opacity: 1;
|
|
2058
|
+
pointer-events: auto;
|
|
2059
|
+
transform: translateX(0);
|
|
2060
|
+
filter: blur(0);
|
|
2061
|
+
transition-delay: var(--page-stagger);
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2065
|
+
.page-slide .page-slide-pane {
|
|
2066
|
+
transition: none;
|
|
2067
|
+
}
|
|
2068
|
+
}
|