@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,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Text } from "@instruments/materia-ui/components/text";
|
|
4
|
+
import { cn } from "@instruments/materia-ui/utils/cn";
|
|
5
|
+
import { createElement, useCallback } from "react";
|
|
6
|
+
import { useProductCard } from "./product-card-context.js";
|
|
7
|
+
export const ProductCardCaption = ({ scale = "default", }) => {
|
|
8
|
+
const { availability, currentVariant, linkComponent, linkPrefetch, onCardClick, product, productNameLines, productUrl, showProductBrand, showProductName, } = useProductCard();
|
|
9
|
+
const handleLinkClick = useCallback((event) => {
|
|
10
|
+
if (onCardClick) {
|
|
11
|
+
event.preventDefault();
|
|
12
|
+
onCardClick();
|
|
13
|
+
}
|
|
14
|
+
}, [onCardClick]);
|
|
15
|
+
const brandName = product.brand?.name.trim();
|
|
16
|
+
const hasBrandName = brandName !== undefined && brandName !== "";
|
|
17
|
+
// External URLs take a plain anchor; `prefetch` is a Next-only prop and
|
|
18
|
+
// passing it to an `<a>` would reach the DOM as an unknown attribute.
|
|
19
|
+
const isExternalUrl = productUrl.startsWith("http");
|
|
20
|
+
// A blocked product has no page this viewer may open, so its text is text.
|
|
21
|
+
let LinkComp = isExternalUrl ? "a" : linkComponent;
|
|
22
|
+
if (availability === "blocked") {
|
|
23
|
+
LinkComp = "span";
|
|
24
|
+
}
|
|
25
|
+
const brandSize = scale === "compact" ? "text-paragraph-sm" : "text-paragraph";
|
|
26
|
+
const nameSize = scale === "compact" ? "text-caption" : "text-paragraph-sm";
|
|
27
|
+
const linkProps = availability === "blocked"
|
|
28
|
+
? { className: "block" }
|
|
29
|
+
: {
|
|
30
|
+
className: "block cursor-pointer",
|
|
31
|
+
href: productUrl,
|
|
32
|
+
onClick: handleLinkClick,
|
|
33
|
+
prefetch: isExternalUrl ? undefined : linkPrefetch,
|
|
34
|
+
};
|
|
35
|
+
return (_jsxs(_Fragment, { children: [showProductBrand && hasBrandName
|
|
36
|
+
? createElement(LinkComp, linkProps, _jsx(Text, { className: cn("line-clamp-1 truncate", brandSize), weight: "semibold", children: brandName }))
|
|
37
|
+
: null, showProductName
|
|
38
|
+
? createElement(LinkComp, linkProps, _jsx(Text, { className: cn("text-foreground",
|
|
39
|
+
// `truncate` and `line-clamp-2` cannot both apply: truncate
|
|
40
|
+
// sets `white-space: nowrap`, which leaves a clamp with only
|
|
41
|
+
// one line to clamp.
|
|
42
|
+
productNameLines === 2
|
|
43
|
+
? "line-clamp-2 text-pretty"
|
|
44
|
+
: "line-clamp-1 truncate", nameSize), children: currentVariant.name }))
|
|
45
|
+
: null] }));
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ProductCardCategory: () => import("react").JSX.Element | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Box } from "@instruments/materia-ui/components/box";
|
|
4
|
+
import { MarqueeText } from "@instruments/materia-ui/components/marquee-text";
|
|
5
|
+
import { Tooltip, TooltipContent, TooltipTrigger, } from "@instruments/materia-ui/components/tooltip";
|
|
6
|
+
import { useProductCard } from "./product-card-context.js";
|
|
7
|
+
export const ProductCardCategory = () => {
|
|
8
|
+
const { product } = useProductCard();
|
|
9
|
+
const { displayCategory } = product;
|
|
10
|
+
if (displayCategory === undefined ||
|
|
11
|
+
displayCategory === null ||
|
|
12
|
+
displayCategory.name === "") {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
const { name, level3Name } = displayCategory;
|
|
16
|
+
// Only show a tooltip if there's a level 3 category (otherwise it just
|
|
17
|
+
// duplicates the visible label).
|
|
18
|
+
if (level3Name === undefined || level3Name === null || level3Name === "") {
|
|
19
|
+
return _jsx(MarqueeText, { children: name });
|
|
20
|
+
}
|
|
21
|
+
return (_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { render: _jsx(Box, { as: "span", className: "block min-w-0 cursor-default" }), children: _jsx(MarqueeText, { children: name }) }), _jsxs(TooltipContent, { side: "top", sideOffset: 4, children: [name, " \u2022 ", level3Name] })] }));
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ProductCardColorCount: () => import("react").JSX.Element | null;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Box } from "@instruments/materia-ui/components/box";
|
|
4
|
+
import { Popover, PopoverContent, PopoverTrigger, } from "@instruments/materia-ui/components/popover";
|
|
5
|
+
import { Skeleton } from "@instruments/materia-ui/components/skeleton";
|
|
6
|
+
import { Swatch, SwatchMore, SwatchSelector, } from "@instruments/materia-ui/components/swatch-selector";
|
|
7
|
+
import { cn } from "@instruments/materia-ui/utils/cn";
|
|
8
|
+
import { useProductCard } from "./product-card-context.js";
|
|
9
|
+
/**
|
|
10
|
+
* A product's colourways, as the circles themselves.
|
|
11
|
+
*
|
|
12
|
+
* **The swatches replace a text count.** A designer browsing a category is not
|
|
13
|
+
* looking for a number - they are looking to see whether a floor comes in
|
|
14
|
+
* anything like the shade they have in mind, and five circles answer that
|
|
15
|
+
* instantly where a count cannot.
|
|
16
|
+
*
|
|
17
|
+
* The design draws 16px dots on a 26px pitch, the selected one wearing a ring,
|
|
18
|
+
* then `+N` for the remainder; what renders is the nearest token step - see
|
|
19
|
+
* {@link INLINE_SWATCHES}. Clicking `+N` opens the full set.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Circles shown inline before the rest go behind `+N`.
|
|
23
|
+
*
|
|
24
|
+
* The design draws five dots on a 26px pitch. the kit's smallest chip step is
|
|
25
|
+
* `xs` (20px), which on the row's 10px gap gives a 30px pitch - five dots plus
|
|
26
|
+
* the overflow label come to ~170px, which fits the full card's 204px content
|
|
27
|
+
* column.
|
|
28
|
+
*
|
|
29
|
+
* Below 240px one dot is dropped and counted into `+N` instead: a 180px card
|
|
30
|
+
* offers 144px and the label would clip off the right edge.
|
|
31
|
+
*/
|
|
32
|
+
const INLINE_SWATCHES = 5;
|
|
33
|
+
/** The popover still caps its grid, so a 200-colourway family stays a panel. */
|
|
34
|
+
const MAX_POPOVER_SWATCHES = 25;
|
|
35
|
+
export const ProductCardColorCount = () => {
|
|
36
|
+
const { product, selectedVariantId, onVariantChange, renderImage } = useProductCard();
|
|
37
|
+
const variantCount = product.variantCount ?? 1;
|
|
38
|
+
const variants = product.variants ?? [product];
|
|
39
|
+
// One colourway is not a choice, so it is not a control. Same rule the primary
|
|
40
|
+
// action follows: a missing capability is an absent element.
|
|
41
|
+
if (variantCount <= 1) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
const inlineVariants = variants.slice(0, INLINE_SWATCHES);
|
|
45
|
+
// The overflow counts against the GRAPH's total, not the array we happen to
|
|
46
|
+
// hold - a page of variants is not the family.
|
|
47
|
+
const inlineOverflow = variantCount - inlineVariants.length;
|
|
48
|
+
// The fifth dot is hidden below 240px, so the label there must count it. It
|
|
49
|
+
// only exists to be hidden when the row actually reached five.
|
|
50
|
+
const hasBreakpointOnlySwatch = inlineVariants.length === INLINE_SWATCHES;
|
|
51
|
+
const mediumOverflow = inlineOverflow + (hasBreakpointOnlySwatch ? 1 : 0);
|
|
52
|
+
// WHICH dot drops below 240px. The last one, unless the last one is the
|
|
53
|
+
// SELECTED colourway - hiding that leaves a narrow card showing four dots
|
|
54
|
+
// with no ring on any of them, so the card reads as if nothing is chosen
|
|
55
|
+
// while its photograph shows a colourway the row does not contain.
|
|
56
|
+
const lastIndex = INLINE_SWATCHES - 1;
|
|
57
|
+
const breakpointOnlyIndex = inlineVariants[lastIndex]?.id === selectedVariantId
|
|
58
|
+
? lastIndex - 1
|
|
59
|
+
: lastIndex;
|
|
60
|
+
const hasPopoverOverflow = variantCount > MAX_POPOVER_SWATCHES;
|
|
61
|
+
const popoverVisibleCount = hasPopoverOverflow
|
|
62
|
+
? MAX_POPOVER_SWATCHES - 1
|
|
63
|
+
: variantCount;
|
|
64
|
+
const popoverVariants = variants.slice(0, popoverVisibleCount);
|
|
65
|
+
const popoverOverflow = variantCount - popoverVisibleCount;
|
|
66
|
+
const swatchImage = (variant, size) => (_jsxs(_Fragment, { children: [_jsx(Skeleton, { className: "absolute inset-0 rounded-full" }), renderImage({
|
|
67
|
+
alt: `${variant.name} colourway`,
|
|
68
|
+
className: "object-cover",
|
|
69
|
+
draggable: false,
|
|
70
|
+
fill: true,
|
|
71
|
+
sizes: size,
|
|
72
|
+
src: variant.images[0] ?? "",
|
|
73
|
+
})] }));
|
|
74
|
+
return (_jsxs(Box, { className: "flex items-center gap-2.5", children: [_jsx(SwatchSelector, { className: "flex items-center gap-2.5", onValueChange: onVariantChange, size: "xs", value: selectedVariantId, children: inlineVariants.map((variant, index) => (_jsx(Swatch, { className: hasBreakpointOnlySwatch && index === breakpointOnlyIndex
|
|
75
|
+
? "hidden @[240px]/product-card:inline-flex"
|
|
76
|
+
: undefined, unavailable: variant.available === false, value: variant.id, children: swatchImage(variant, "20px") }, variant.id))) }), mediumOverflow > 0 ? (_jsxs(Popover, { children: [_jsxs(PopoverTrigger, { render: _jsx("button", { "aria-label": `Show all ${variantCount} ${product.variantLabel ?? "colours"}`, className: cn("text-muted-foreground hover:text-foreground text-caption cursor-pointer tabular-nums",
|
|
77
|
+
// Exactly five colourways leaves nothing behind once the fifth
|
|
78
|
+
// dot appears, so the label goes with it.
|
|
79
|
+
inlineOverflow === 0 && "@[240px]/product-card:hidden"), onClick: (event) => {
|
|
80
|
+
// The card is a link; opening the full set is not navigation.
|
|
81
|
+
event.preventDefault();
|
|
82
|
+
event.stopPropagation();
|
|
83
|
+
}, type: "button" }), children: [_jsx("span", { className: "@[240px]/product-card:hidden", children: `+${mediumOverflow}` }), _jsx("span", { className: "hidden @[240px]/product-card:inline", children: `+${inlineOverflow}` })] }), _jsx(PopoverContent, { align: "start", className: "w-auto rounded-3xl", children: _jsxs(SwatchSelector, { className: "grid grid-cols-5 gap-1", onValueChange: onVariantChange, value: selectedVariantId, children: [popoverVariants.map((variant) => (_jsx(Swatch, { unavailable: variant.available === false, value: variant.id, children: swatchImage(variant, "24px") }, variant.id))), hasPopoverOverflow && (_jsx(SwatchMore, { className: "flex size-7 items-center justify-center", count: popoverOverflow }))] }) })] })) : null] }));
|
|
84
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
interface ProductCardCompactArmProps {
|
|
3
|
+
compactFooterControl: ReactNode;
|
|
4
|
+
overrideImageUrl?: string | undefined;
|
|
5
|
+
priority?: boolean | undefined;
|
|
6
|
+
similarityScore?: number | undefined;
|
|
7
|
+
toolsActive: boolean;
|
|
8
|
+
}
|
|
9
|
+
/** Compact variant: below 180px, or always in compact mode. */
|
|
10
|
+
export declare const ProductCardCompactArm: ({ compactFooterControl, overrideImageUrl, priority, similarityScore, toolsActive, }: ProductCardCompactArmProps) => import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Box } from "@instruments/materia-ui/components/box";
|
|
4
|
+
import { VStack } from "@instruments/materia-ui/components/stack";
|
|
5
|
+
import { cn } from "@instruments/materia-ui/utils/cn";
|
|
6
|
+
import { ProductCardAction } from "./product-card-action.js";
|
|
7
|
+
import { ProductCardCaption } from "./product-card-caption.js";
|
|
8
|
+
import { ProductCardColorCount } from "./product-card-color-count.js";
|
|
9
|
+
import { useProductCard } from "./product-card-context.js";
|
|
10
|
+
import { ProductCardImageLink } from "./product-card-image-link.js";
|
|
11
|
+
import { ProductCardMeta } from "./product-card-meta.js";
|
|
12
|
+
import { ProductCardQuickView } from "./product-card-quick-view.js";
|
|
13
|
+
import { ProductCardStatusBadge } from "./product-card-status-badge.js";
|
|
14
|
+
import { ProductCardTools } from "./product-card-tools.js";
|
|
15
|
+
/** Compact variant: below 180px, or always in compact mode. */
|
|
16
|
+
export const ProductCardCompactArm = ({ compactFooterControl, overrideImageUrl, priority, similarityScore, toolsActive, }) => {
|
|
17
|
+
const { action, mode, onQuickView, statusBadge } = useProductCard();
|
|
18
|
+
const isCompactMode = mode === "compact";
|
|
19
|
+
const hasCompactFooterControl = compactFooterControl !== null && compactFooterControl !== undefined;
|
|
20
|
+
return (_jsxs(Box, { className: cn("flex-col", isCompactMode ? "flex" : "flex h-full @[180px]/product-card:hidden"), children: [_jsxs(Box, { className: "relative w-full overflow-hidden rounded-3xl shadow-sm", children: [_jsx(ProductCardImageLink, { imageClassName: isCompactMode ? "!p-0" : undefined, overrideImageUrl: overrideImageUrl, priority: priority, similarityScore: similarityScore }), _jsx(ProductCardTools, { active: toolsActive }), _jsx(ProductCardQuickView, { forceVisible: true, onQuickView: onQuickView })] }), _jsxs(VStack, { className: "min-h-0 flex-1 gap-2.5 px-1.5 py-2", children: [_jsxs(VStack, { className: "gap-1 px-0.5", children: [_jsxs(Box, { className: "flex items-start justify-between gap-2", children: [_jsx(VStack, { className: "min-w-0 flex-1 gap-0.5", children: _jsx(ProductCardCaption, { scale: "compact" }) }), statusBadge?.icon ? (_jsx(ProductCardStatusBadge, { ...statusBadge })) : null] }), _jsx(ProductCardMeta, {}), action ? _jsx(ProductCardAction, { ...action }) : null, mode !== "single" && (_jsx(Box, { className: "min-h-5 pt-2", children: _jsx(ProductCardColorCount, {}) }))] }), hasCompactFooterControl ? (_jsx(Box, { className: "mt-auto flex justify-end", children: compactFooterControl })) : null] })] }));
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* The controls the card resolves for each of its layouts: the footer's one
|
|
4
|
+
* labelled control, the compact layout's, and the inspiration hover strip's.
|
|
5
|
+
*
|
|
6
|
+
* `primaryAction` names what the control offers; without one the card falls
|
|
7
|
+
* back to the legacy cart-only behaviour, so callers predating it render
|
|
8
|
+
* exactly as before. Neither path ever produces a disabled control: a product
|
|
9
|
+
* that can do nothing gets none at all, and `null` here is that state rather
|
|
10
|
+
* than an oversight.
|
|
11
|
+
*
|
|
12
|
+
* A product that cannot be acted on swaps that control for *Find similar*
|
|
13
|
+
* when the application can handle it. Without a handler the control resolves
|
|
14
|
+
* as for any product, so a missing capability never becomes a greyed-out one.
|
|
15
|
+
*
|
|
16
|
+
* The inspiration strip carries a cart of its own rather than the footer
|
|
17
|
+
* control, so it needs the same predicate the footer resolves.
|
|
18
|
+
*/
|
|
19
|
+
export declare const useProductCardControls: (onAddToCartSuccess: (() => void) | undefined) => {
|
|
20
|
+
compactFooterControl: string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | Iterable<ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
21
|
+
footerControl: import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
|
|
22
|
+
inspirationControl: ReactNode;
|
|
23
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { ProductCardAddToCart } from "./product-card-add-to-cart.js";
|
|
4
|
+
import { cannotAct } from "./product-card-availability.js";
|
|
5
|
+
import { useProductCard } from "./product-card-context.js";
|
|
6
|
+
import { ProductCardFindSimilar, ProductCardPrimaryActionControl, } from "./product-card-primary-action.js";
|
|
7
|
+
/** A cart appears only where the card's action genuinely is one. */
|
|
8
|
+
const actsAsCart = (primaryAction) => primaryAction === undefined || primaryAction.kind === "add-to-cart";
|
|
9
|
+
/** The inspiration strip's control: *Find similar*, a non-cart action, or a cart. */
|
|
10
|
+
const resolveInspirationControl = ({ availability, currentVariant, offersFindSimilar, primaryAction, product, renderAddToCart, showsCart, }) => {
|
|
11
|
+
if (offersFindSimilar) {
|
|
12
|
+
return _jsx(ProductCardFindSimilar, { onImage: true });
|
|
13
|
+
}
|
|
14
|
+
if (primaryAction && primaryAction.kind !== "add-to-cart") {
|
|
15
|
+
return (_jsx(ProductCardPrimaryActionControl, { className: "pointer-events-auto relative z-30 border-white/50 bg-white/10 text-white hover:bg-white/20" }));
|
|
16
|
+
}
|
|
17
|
+
if (showsCart) {
|
|
18
|
+
return (renderAddToCart?.({
|
|
19
|
+
available: availability === "available",
|
|
20
|
+
className: "relative z-30 shrink-0",
|
|
21
|
+
placement: "inspiration",
|
|
22
|
+
product,
|
|
23
|
+
variant: currentVariant,
|
|
24
|
+
}) ?? null);
|
|
25
|
+
}
|
|
26
|
+
return null;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* The controls the card resolves for each of its layouts: the footer's one
|
|
30
|
+
* labelled control, the compact layout's, and the inspiration hover strip's.
|
|
31
|
+
*
|
|
32
|
+
* `primaryAction` names what the control offers; without one the card falls
|
|
33
|
+
* back to the legacy cart-only behaviour, so callers predating it render
|
|
34
|
+
* exactly as before. Neither path ever produces a disabled control: a product
|
|
35
|
+
* that can do nothing gets none at all, and `null` here is that state rather
|
|
36
|
+
* than an oversight.
|
|
37
|
+
*
|
|
38
|
+
* A product that cannot be acted on swaps that control for *Find similar*
|
|
39
|
+
* when the application can handle it. Without a handler the control resolves
|
|
40
|
+
* as for any product, so a missing capability never becomes a greyed-out one.
|
|
41
|
+
*
|
|
42
|
+
* The inspiration strip carries a cart of its own rather than the footer
|
|
43
|
+
* control, so it needs the same predicate the footer resolves.
|
|
44
|
+
*/
|
|
45
|
+
export const useProductCardControls = (onAddToCartSuccess) => {
|
|
46
|
+
const { availability, currentVariant, onFindSimilar, primaryAction, product, renderAddToCart, showAddToCart, } = useProductCard();
|
|
47
|
+
const offersFindSimilar = cannotAct(availability) && onFindSimilar !== undefined;
|
|
48
|
+
const showsCart = showAddToCart && !offersFindSimilar && actsAsCart(primaryAction);
|
|
49
|
+
let footerControl = null;
|
|
50
|
+
if (offersFindSimilar) {
|
|
51
|
+
footerControl = _jsx(ProductCardFindSimilar, {});
|
|
52
|
+
}
|
|
53
|
+
else if (primaryAction) {
|
|
54
|
+
footerControl = (_jsx(ProductCardPrimaryActionControl, { onAdded: onAddToCartSuccess }));
|
|
55
|
+
}
|
|
56
|
+
else if (showAddToCart) {
|
|
57
|
+
footerControl = _jsx(ProductCardAddToCart, { onAdd: onAddToCartSuccess });
|
|
58
|
+
}
|
|
59
|
+
const compactCart = showsCart
|
|
60
|
+
? renderAddToCart?.({
|
|
61
|
+
available: availability === "available",
|
|
62
|
+
className: "shrink-0",
|
|
63
|
+
onAdded: onAddToCartSuccess,
|
|
64
|
+
placement: "compact",
|
|
65
|
+
product,
|
|
66
|
+
variant: currentVariant,
|
|
67
|
+
})
|
|
68
|
+
: null;
|
|
69
|
+
const compactFooterControl = compactCart ?? footerControl;
|
|
70
|
+
const inspirationControl = resolveInspirationControl({
|
|
71
|
+
availability,
|
|
72
|
+
currentVariant,
|
|
73
|
+
offersFindSimilar,
|
|
74
|
+
primaryAction,
|
|
75
|
+
product,
|
|
76
|
+
renderAddToCart,
|
|
77
|
+
showsCart,
|
|
78
|
+
});
|
|
79
|
+
return { compactFooterControl, footerControl, inspirationControl };
|
|
80
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { IconProps } from "@instruments/materia-ui/components/icon";
|
|
2
|
+
import type { SwatchSelector } from "@instruments/materia-ui/components/swatch-selector";
|
|
3
|
+
import type { ComponentProps, ReactNode } from "react";
|
|
4
|
+
/**
|
|
5
|
+
* Processing footer for {@link ProductCardMode} `"swatch"`: replaces the
|
|
6
|
+
* brand/name caption while a match or search job runs.
|
|
7
|
+
*/
|
|
8
|
+
interface ProductCardProcessingProps {
|
|
9
|
+
/** Right-aligned elapsed or estimated time (e.g. `"23 sec"`). */
|
|
10
|
+
elapsed?: string | undefined;
|
|
11
|
+
/** Process chip label. @default "Matching materials" */
|
|
12
|
+
label?: string | undefined;
|
|
13
|
+
/** Makes the chip a button. */
|
|
14
|
+
onClick?: (() => void) | undefined;
|
|
15
|
+
}
|
|
16
|
+
interface ProductCardDisplayOptions {
|
|
17
|
+
addToCart?: boolean | undefined;
|
|
18
|
+
brand?: boolean | undefined;
|
|
19
|
+
name?: boolean | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* How many lines the product name may occupy before it clamps. One by
|
|
22
|
+
* default, which keeps every card in a grid the same height.
|
|
23
|
+
*
|
|
24
|
+
* Raise it to two on a grid whose names differ only at the end - a
|
|
25
|
+
* manufacturer's finish list reads *Powder Coat Finish - Black (Satin)* and
|
|
26
|
+
* *Powder Coat Finish - Warm Grey*, and one clamped line renders both as the
|
|
27
|
+
* same string. Rows stay level because the clamp is a maximum, not a
|
|
28
|
+
* reserved height.
|
|
29
|
+
*/
|
|
30
|
+
nameLines?: 1 | 2 | undefined;
|
|
31
|
+
swatches?: boolean | undefined;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Colour role for a {@link ProductCardActionProps} notice - affects text +
|
|
35
|
+
* icon colour only.
|
|
36
|
+
* - `affirmative` - positive fulfilment state (e.g. "Ships overnight"), the
|
|
37
|
+
* Figma green (#16a34a).
|
|
38
|
+
* - `warning` - cautionary lead time (e.g. "2–5 days from brand"); readable
|
|
39
|
+
* amber (`warning-foreground`).
|
|
40
|
+
* - `muted` - neutral, low-emphasis note.
|
|
41
|
+
*/
|
|
42
|
+
type ProductCardActionTone = "affirmative" | "warning" | "muted";
|
|
43
|
+
/**
|
|
44
|
+
* Props for the flexible "action notice" row in Product Card 2.0
|
|
45
|
+
* (⚡ Ships overnight · 2–5 days from brand · ⌕ Find similar).
|
|
46
|
+
*
|
|
47
|
+
* Fully prop-driven: the component renders nothing unless a `label` is
|
|
48
|
+
* supplied, so the card ships it off by default until a real data source
|
|
49
|
+
* exists.
|
|
50
|
+
*/
|
|
51
|
+
interface ProductCardActionProps {
|
|
52
|
+
className?: string;
|
|
53
|
+
/** When set, renders the notice as a link (e.g. "Find similar"). */
|
|
54
|
+
href?: string;
|
|
55
|
+
/** Optional leading glyph (16px). Pass any icon from `@instruments/materia-ui/icons`. */
|
|
56
|
+
icon?: IconProps["icon"];
|
|
57
|
+
/** The notice text. When omitted, the component renders `null`. */
|
|
58
|
+
label?: ReactNode;
|
|
59
|
+
/** When set, renders the notice as a button. Takes precedence over `href`. */
|
|
60
|
+
onClick?: () => void;
|
|
61
|
+
/** Colour role for the label + icon. @default "muted" */
|
|
62
|
+
tone?: ProductCardActionTone;
|
|
63
|
+
}
|
|
64
|
+
type ProductCardSwatchSelectorProps = Omit<ComponentProps<typeof SwatchSelector>, "value" | "onValueChange" | "children">;
|
|
65
|
+
export type { ProductCardActionProps, ProductCardActionTone, ProductCardDisplayOptions, ProductCardProcessingProps, ProductCardSwatchSelectorProps, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ProductCardProps } from "./product-card-types.js";
|
|
2
|
+
type ProductCardContentProps = Omit<ProductCardProps, "product" | "variantId" | "mode" | "active" | "addGlyph" | "availability" | "dragging" | "labels" | "menuOpen" | "onAdd" | "onFindSimilar" | "price" | "processing" | "showSwatches" | "maxSwatches" | "onVariantChange" | "productUrl" | "renderTools" | "renderImage" | "renderAddToCart" | "dragAdapter">;
|
|
3
|
+
declare const ProductCardContentBase: ({ className, similarityScore, overrideImageUrl, onAddToCartSuccess, priority, ...props }: ProductCardContentProps & {
|
|
4
|
+
onAddToCartSuccess?: (() => void) | undefined;
|
|
5
|
+
}) => import("react").JSX.Element;
|
|
6
|
+
export declare const ProductCardContent: import("react").MemoExoticComponent<typeof ProductCardContentBase>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Box } from "@instruments/materia-ui/components/box";
|
|
4
|
+
import { cn } from "@instruments/materia-ui/utils/cn";
|
|
5
|
+
import { memo } from "react";
|
|
6
|
+
import { useProductCardControls } from "./product-card-content-controls.js";
|
|
7
|
+
import { useProductCard } from "./product-card-context.js";
|
|
8
|
+
import { ProductCardInspirationContent } from "./product-card-inspiration-content.js";
|
|
9
|
+
import { ProductCardStandardContent } from "./product-card-standard-content.js";
|
|
10
|
+
import { ProductCardSwatch } from "./product-card-swatch.js";
|
|
11
|
+
import { useToolsActivity } from "./product-card-tools-activity.js";
|
|
12
|
+
const ProductCardContentBase = ({ className, similarityScore, overrideImageUrl, onAddToCartSuccess, priority, ...props }) => {
|
|
13
|
+
const { onBlurCapture, onFocusCapture, onPointerEnter, onPointerLeave, ...cardProps } = props;
|
|
14
|
+
const { mode, width } = useProductCard();
|
|
15
|
+
const hasFixedWidth = width !== undefined && width !== 0;
|
|
16
|
+
const { interactionHandlers, toolsActive } = useToolsActivity({
|
|
17
|
+
onBlurCapture,
|
|
18
|
+
onFocusCapture,
|
|
19
|
+
onPointerEnter,
|
|
20
|
+
onPointerLeave,
|
|
21
|
+
});
|
|
22
|
+
const { compactFooterControl, footerControl, inspirationControl } = useProductCardControls(onAddToCartSuccess);
|
|
23
|
+
// Swatch mode: the image-first tile owns its own shell and chrome.
|
|
24
|
+
if (mode === "swatch") {
|
|
25
|
+
return (_jsx(Box, { className: cn(hasFixedWidth ? "shrink-0" : "w-full", className), style: hasFixedWidth ? { width: `${width}px` } : undefined, ...cardProps, children: _jsx(ProductCardSwatch, { overrideImageUrl: overrideImageUrl, priority: priority }) }));
|
|
26
|
+
}
|
|
27
|
+
if (mode === "inspiration") {
|
|
28
|
+
return (_jsx(ProductCardInspirationContent, { className: className, inspirationControl: inspirationControl, interactionHandlers: interactionHandlers, priority: priority, similarityScore: similarityScore, toolsActive: toolsActive }));
|
|
29
|
+
}
|
|
30
|
+
return (_jsx(ProductCardStandardContent, { cardProps: cardProps, className: className, compactFooterControl: compactFooterControl, footerControl: footerControl, interactionHandlers: interactionHandlers, overrideImageUrl: overrideImageUrl, priority: priority, similarityScore: similarityScore, toolsActive: toolsActive }));
|
|
31
|
+
};
|
|
32
|
+
export const ProductCardContent = memo(ProductCardContentBase);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ProductCardContextValue } from "./product-card-types.js";
|
|
2
|
+
/**
|
|
3
|
+
* ProductCardContext UI component.
|
|
4
|
+
* Import from "@instruments/materia-ui/compositions/product-card".
|
|
5
|
+
*/
|
|
6
|
+
export declare const ProductCardContext: import("react").Context<ProductCardContextValue | null>;
|
|
7
|
+
/**
|
|
8
|
+
* useProductCard React hook.
|
|
9
|
+
* Import from "@instruments/materia-ui/compositions/product-card".
|
|
10
|
+
*/
|
|
11
|
+
export declare const useProductCard: () => ProductCardContextValue;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createContext, use } from "react";
|
|
3
|
+
/**
|
|
4
|
+
* ProductCardContext UI component.
|
|
5
|
+
* Import from "@instruments/materia-ui/compositions/product-card".
|
|
6
|
+
*/
|
|
7
|
+
export const ProductCardContext = createContext(null);
|
|
8
|
+
/**
|
|
9
|
+
* useProductCard React hook.
|
|
10
|
+
* Import from "@instruments/materia-ui/compositions/product-card".
|
|
11
|
+
*/
|
|
12
|
+
export const useProductCard = () => {
|
|
13
|
+
const context = use(ProductCardContext);
|
|
14
|
+
if (!context) {
|
|
15
|
+
throw new Error("useProductCard must be used within a ProductCard");
|
|
16
|
+
}
|
|
17
|
+
return context;
|
|
18
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Box } from "@instruments/materia-ui/components/box";
|
|
4
|
+
import { useProductCard } from "./product-card-context.js";
|
|
5
|
+
/** True when the application supplied a price to show. */
|
|
6
|
+
export const hasProductCardPrice = (price) => price !== undefined && price !== null && price !== false;
|
|
7
|
+
export const ProductCardCost = () => {
|
|
8
|
+
const { price, product } = useProductCard();
|
|
9
|
+
const { costIndicator } = product;
|
|
10
|
+
// A price from the application replaces the indicative tier: showing both
|
|
11
|
+
// would state the cost twice in two different shapes.
|
|
12
|
+
if (hasProductCardPrice(price)) {
|
|
13
|
+
return _jsx(Box, { as: "span", children: price });
|
|
14
|
+
}
|
|
15
|
+
if (costIndicator === undefined ||
|
|
16
|
+
costIndicator === null ||
|
|
17
|
+
costIndicator === "") {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
return _jsx(Box, { as: "span", children: costIndicator });
|
|
21
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
interface ProductCardFullArmProps {
|
|
3
|
+
footerControl: ReactNode;
|
|
4
|
+
overrideImageUrl?: string | undefined;
|
|
5
|
+
priority?: boolean | undefined;
|
|
6
|
+
similarityScore?: number | undefined;
|
|
7
|
+
toolsActive: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* ONE arm from 180px up. Medium and full were structurally identical - same
|
|
11
|
+
* surface, same image block, same caption - and differed only in chrome and in
|
|
12
|
+
* WHICH SECTIONS EXIST. Two copies meant every card mounted its image twice
|
|
13
|
+
* (three times with compact), and with the default `<img>` renderer
|
|
14
|
+
* `display:none` does not prevent a fetch: a 48-card grid pulled up to 144
|
|
15
|
+
* images nobody could see. It also meant a pinned install shot silently reset
|
|
16
|
+
* when a resize crossed 240px, because the other copy held fresh state.
|
|
17
|
+
*
|
|
18
|
+
* Chrome now varies by container query; each full-only section carries its own
|
|
19
|
+
* `@[240px]` visibility, so the overlay trio and the card's own image land ONCE
|
|
20
|
+
* across medium and full.
|
|
21
|
+
*
|
|
22
|
+
* The COMPACT arm below 180px is still a separate subtree, so its swatch row
|
|
23
|
+
* and control do mount a second time. Both are lazy or inert - measured on the
|
|
24
|
+
* Base story: ten `<img>`, five of them in the hidden arm, none of those five
|
|
25
|
+
* fetched - and the popover mounts nothing until it opens.
|
|
26
|
+
*/
|
|
27
|
+
export declare const ProductCardFullArm: ({ footerControl, overrideImageUrl, priority, similarityScore, toolsActive, }: ProductCardFullArmProps) => import("react").JSX.Element;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Box } from "@instruments/materia-ui/components/box";
|
|
4
|
+
import { HStack, VStack } from "@instruments/materia-ui/components/stack";
|
|
5
|
+
import { cn } from "@instruments/materia-ui/utils/cn";
|
|
6
|
+
import { ProductCardAction } from "./product-card-action.js";
|
|
7
|
+
import { ProductCardCaption } from "./product-card-caption.js";
|
|
8
|
+
import { ProductCardColorCount } from "./product-card-color-count.js";
|
|
9
|
+
import { useProductCard } from "./product-card-context.js";
|
|
10
|
+
import { ProductCardImageLink } from "./product-card-image-link.js";
|
|
11
|
+
import { ProductCardMeta } from "./product-card-meta.js";
|
|
12
|
+
import { ProductCardQuickView } from "./product-card-quick-view.js";
|
|
13
|
+
import { ProductCardStatusBadge } from "./product-card-status-badge.js";
|
|
14
|
+
import { ProductCardTools } from "./product-card-tools.js";
|
|
15
|
+
/**
|
|
16
|
+
* ONE arm from 180px up. Medium and full were structurally identical - same
|
|
17
|
+
* surface, same image block, same caption - and differed only in chrome and in
|
|
18
|
+
* WHICH SECTIONS EXIST. Two copies meant every card mounted its image twice
|
|
19
|
+
* (three times with compact), and with the default `<img>` renderer
|
|
20
|
+
* `display:none` does not prevent a fetch: a 48-card grid pulled up to 144
|
|
21
|
+
* images nobody could see. It also meant a pinned install shot silently reset
|
|
22
|
+
* when a resize crossed 240px, because the other copy held fresh state.
|
|
23
|
+
*
|
|
24
|
+
* Chrome now varies by container query; each full-only section carries its own
|
|
25
|
+
* `@[240px]` visibility, so the overlay trio and the card's own image land ONCE
|
|
26
|
+
* across medium and full.
|
|
27
|
+
*
|
|
28
|
+
* The COMPACT arm below 180px is still a separate subtree, so its swatch row
|
|
29
|
+
* and control do mount a second time. Both are lazy or inert - measured on the
|
|
30
|
+
* Base story: ten `<img>`, five of them in the hidden arm, none of those five
|
|
31
|
+
* fetched - and the popover mounts nothing until it opens.
|
|
32
|
+
*/
|
|
33
|
+
export const ProductCardFullArm = ({ footerControl, overrideImageUrl, priority, similarityScore, toolsActive, }) => {
|
|
34
|
+
const { action, active, mode, onQuickView, statusBadge } = useProductCard();
|
|
35
|
+
return (_jsxs(VStack, { className: cn("bg-card duration-normal h-full overflow-hidden rounded-3xl transition-shadow ease-in-out @[240px]/product-card:rounded-4xl", mode === "compact" ? "hidden" : "hidden @[180px]/product-card:flex", active ? "shadow-lg" : "shadow-sm hover:shadow-md"), gap: "none", children: [_jsxs(Box, { className: "relative w-full", children: [_jsx(ProductCardImageLink, { overrideImageUrl: overrideImageUrl, priority: priority, similarityScore: similarityScore }), statusBadge && !statusBadge.icon ? (_jsx(ProductCardStatusBadge, { ...statusBadge })) : null, _jsx(ProductCardTools, { active: toolsActive }), _jsx(ProductCardQuickView, { onQuickView: onQuickView })] }), _jsx(VStack, { className: "flex-1 pt-2 pb-4", gap: "none", children: _jsxs(VStack, { className: "min-h-0 flex-1 gap-2.5 px-4 @[240px]/product-card:gap-4", gap: "none", children: [_jsxs(VStack, { className: "gap-1 px-0.5", gap: "none", children: [_jsxs(Box, { className: "flex items-start justify-between gap-2", children: [_jsx(VStack, { className: "min-w-0 flex-1", gap: "none", children: _jsx(ProductCardCaption, {}) }), statusBadge?.icon ? (_jsx(ProductCardStatusBadge, { ...statusBadge })) : null] }), _jsx(ProductCardMeta, {}), action ? _jsx(ProductCardAction, { ...action }) : null, mode !== "single" && (_jsx(Box, { className: "pt-2", children: _jsx(Box, { className: "min-h-5", children: _jsx(ProductCardColorCount, {}) }) }))] }), footerControl !== null && footerControl !== undefined ? (_jsx(HStack, { className: "mt-auto", children: footerControl })) : null] }) })] }));
|
|
36
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface ProductCardImageLinkProps {
|
|
2
|
+
imageClassName?: string | undefined;
|
|
3
|
+
overrideImageUrl?: string | undefined;
|
|
4
|
+
priority?: boolean | undefined;
|
|
5
|
+
similarityScore?: number | undefined;
|
|
6
|
+
}
|
|
7
|
+
/** The card's image, wrapped in the link to the product page. */
|
|
8
|
+
export declare const ProductCardImageLink: ({ imageClassName, overrideImageUrl, priority, similarityScore, }: ProductCardImageLinkProps) => import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { useProductCard } from "./product-card-context.js";
|
|
4
|
+
import { ProductCardImage } from "./product-card-image.js";
|
|
5
|
+
import { ProductCardLink } from "./product-card-link.js";
|
|
6
|
+
/** The card's image, wrapped in the link to the product page. */
|
|
7
|
+
export const ProductCardImageLink = ({ imageClassName, overrideImageUrl, priority, similarityScore, }) => {
|
|
8
|
+
const { availability, currentVariant, linkComponent, linkPrefetch, mode, onCardClick, productUrl, } = useProductCard();
|
|
9
|
+
// For internal URLs use the injected link component (e.g. next/link);
|
|
10
|
+
// for external URLs always use a plain <a>.
|
|
11
|
+
// `LinkComp` is a polymorphic ElementType; createElement renders it inside
|
|
12
|
+
// `ProductCardLink` without JSX's children-typing narrowing to `never` on
|
|
13
|
+
// the ComponentType arm.
|
|
14
|
+
const LinkComp = productUrl.startsWith("http") ? "a" : linkComponent;
|
|
15
|
+
return (_jsx(ProductCardLink, { blocked: availability === "blocked", className: "block w-full", href: productUrl, label: `View ${currentVariant.name}`, linkComponent: LinkComp, onActivate: onCardClick, prefetch: linkPrefetch, children: _jsx(ProductCardImage, { className: imageClassName, priority: priority, ...(mode === "single"
|
|
16
|
+
? {
|
|
17
|
+
overrideImageUrl,
|
|
18
|
+
showSimilarityScore: similarityScore !== undefined,
|
|
19
|
+
similarityScore,
|
|
20
|
+
}
|
|
21
|
+
: {}) }) }));
|
|
22
|
+
};
|