@viax.io/uxm 4.38.0 → 4.40.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/CHANGELOG.md +20 -0
- package/LICENSE.md +21 -0
- package/README.md +34 -44
- package/dist/hooks/index.cjs +49 -0
- package/dist/hooks/index.cjs.map +1 -0
- package/dist/hooks/index.d.ts +19 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +18 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-toast-store.cjs.map +1 -1
- package/dist/hooks/use-toast-store.d.ts +5 -3
- package/dist/hooks/use-toast-store.d.ts.map +1 -1
- package/dist/hooks/use-toast-store.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/previews/composite/brand-settings-preview.d.ts +2 -2
- package/dist/previews/composite/brand-settings-preview.d.ts.map +1 -1
- package/dist/previews/composite/form-preview.d.ts +2 -2
- package/dist/previews/composite/form-preview.d.ts.map +1 -1
- package/dist/previews/composite/lifecycle-action-row-preview.d.ts +2 -2
- package/dist/previews/composite/lifecycle-action-row-preview.d.ts.map +1 -1
- package/dist/previews/composite/lifecycle-connector-knobs-preview.d.ts +2 -2
- package/dist/previews/composite/lifecycle-connector-knobs-preview.d.ts.map +1 -1
- package/dist/previews/composite/lifecycle-plus-button-preview.d.ts +2 -2
- package/dist/previews/composite/lifecycle-plus-button-preview.d.ts.map +1 -1
- package/dist/previews/composite/login-page-preview.d.ts +2 -2
- package/dist/previews/composite/login-page-preview.d.ts.map +1 -1
- package/dist/previews/composite/multirow-form-preview.d.ts +2 -2
- package/dist/previews/composite/multirow-form-preview.d.ts.map +1 -1
- package/dist/previews/demo-row-actions.d.ts +1 -1
- package/dist/previews/demo-row-actions.d.ts.map +1 -1
- package/dist/previews/index.cjs +7 -7
- package/dist/previews/index.cjs.map +1 -1
- package/dist/previews/index.d.ts +9 -9
- package/dist/previews/index.js +7 -7
- package/dist/previews/index.js.map +1 -1
- package/dist/studio/brand-font-styles.d.ts +1 -1
- package/dist/studio/brand-font-styles.d.ts.map +1 -1
- package/dist/studio/brand-token-styles.d.ts +1 -1
- package/dist/studio/brand-token-styles.d.ts.map +1 -1
- package/dist/studio/editors/code-editor.d.ts +1 -1
- package/dist/studio/editors/code-editor.d.ts.map +1 -1
- package/dist/studio/editors/color-picker.d.ts +1 -1
- package/dist/studio/editors/color-picker.d.ts.map +1 -1
- package/dist/studio/editors/number-input.d.ts +1 -1
- package/dist/studio/editors/number-input.d.ts.map +1 -1
- package/dist/studio/editors/select-input.d.ts +1 -1
- package/dist/studio/editors/select-input.d.ts.map +1 -1
- package/dist/studio/editors/slider-input.d.ts +1 -1
- package/dist/studio/editors/slider-input.d.ts.map +1 -1
- package/dist/studio/editors/text-input.d.ts +1 -1
- package/dist/studio/editors/text-input.d.ts.map +1 -1
- package/dist/studio/editors/toggle-input.d.ts +1 -1
- package/dist/studio/editors/toggle-input.d.ts.map +1 -1
- package/dist/studio/index.cjs.map +1 -1
- package/dist/studio/index.d.ts +2 -2
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/lib/context.d.ts +1 -1
- package/dist/studio/lib/context.d.ts.map +1 -1
- package/dist/studio/lib/registry/buttons.cjs +4 -4
- package/dist/studio/lib/registry/buttons.cjs.map +1 -1
- package/dist/studio/lib/registry/buttons.js +4 -4
- package/dist/studio/lib/registry/buttons.js.map +1 -1
- package/dist/studio/lib/registry/composite/back-link.cjs +65 -0
- package/dist/studio/lib/registry/composite/back-link.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/back-link.d.ts +3 -0
- package/dist/studio/lib/registry/composite/back-link.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/back-link.js +41 -0
- package/dist/studio/lib/registry/composite/back-link.js.map +1 -0
- package/dist/studio/lib/registry/composite/badge.cjs +102 -0
- package/dist/studio/lib/registry/composite/badge.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/badge.d.ts +3 -0
- package/dist/studio/lib/registry/composite/badge.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/badge.js +78 -0
- package/dist/studio/lib/registry/composite/badge.js.map +1 -0
- package/dist/studio/lib/registry/composite/breadcrumb.cjs +83 -0
- package/dist/studio/lib/registry/composite/breadcrumb.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/breadcrumb.d.ts +3 -0
- package/dist/studio/lib/registry/composite/breadcrumb.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/breadcrumb.js +59 -0
- package/dist/studio/lib/registry/composite/breadcrumb.js.map +1 -0
- package/dist/studio/lib/registry/composite/button-group.cjs +76 -0
- package/dist/studio/lib/registry/composite/button-group.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/button-group.d.ts +3 -0
- package/dist/studio/lib/registry/composite/button-group.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/button-group.js +52 -0
- package/dist/studio/lib/registry/composite/button-group.js.map +1 -0
- package/dist/studio/lib/registry/composite/calendar.cjs +116 -0
- package/dist/studio/lib/registry/composite/calendar.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/calendar.d.ts +3 -0
- package/dist/studio/lib/registry/composite/calendar.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/calendar.js +92 -0
- package/dist/studio/lib/registry/composite/calendar.js.map +1 -0
- package/dist/studio/lib/registry/composite/content-tooltip.cjs +44 -0
- package/dist/studio/lib/registry/composite/content-tooltip.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/content-tooltip.d.ts +3 -0
- package/dist/studio/lib/registry/composite/content-tooltip.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/content-tooltip.js +20 -0
- package/dist/studio/lib/registry/composite/content-tooltip.js.map +1 -0
- package/dist/studio/lib/registry/composite/data-table.cjs +61 -0
- package/dist/studio/lib/registry/composite/data-table.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/data-table.d.ts +3 -0
- package/dist/studio/lib/registry/composite/data-table.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/data-table.js +37 -0
- package/dist/studio/lib/registry/composite/data-table.js.map +1 -0
- package/dist/studio/lib/registry/composite/detail-section.cjs +47 -0
- package/dist/studio/lib/registry/composite/detail-section.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/detail-section.d.ts +3 -0
- package/dist/studio/lib/registry/composite/detail-section.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/detail-section.js +23 -0
- package/dist/studio/lib/registry/composite/detail-section.js.map +1 -0
- package/dist/studio/lib/registry/composite/divider.cjs +43 -0
- package/dist/studio/lib/registry/composite/divider.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/divider.d.ts +3 -0
- package/dist/studio/lib/registry/composite/divider.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/divider.js +19 -0
- package/dist/studio/lib/registry/composite/divider.js.map +1 -0
- package/dist/studio/lib/registry/composite/error-page.cjs +58 -0
- package/dist/studio/lib/registry/composite/error-page.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/error-page.d.ts +3 -0
- package/dist/studio/lib/registry/composite/error-page.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/error-page.js +34 -0
- package/dist/studio/lib/registry/composite/error-page.js.map +1 -0
- package/dist/studio/lib/registry/composite/explorer-list-item.cjs +84 -0
- package/dist/studio/lib/registry/composite/explorer-list-item.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/explorer-list-item.d.ts +3 -0
- package/dist/studio/lib/registry/composite/explorer-list-item.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/explorer-list-item.js +60 -0
- package/dist/studio/lib/registry/composite/explorer-list-item.js.map +1 -0
- package/dist/studio/lib/registry/composite/explorer-section.cjs +90 -0
- package/dist/studio/lib/registry/composite/explorer-section.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/explorer-section.d.ts +3 -0
- package/dist/studio/lib/registry/composite/explorer-section.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/explorer-section.js +66 -0
- package/dist/studio/lib/registry/composite/explorer-section.js.map +1 -0
- package/dist/studio/lib/registry/composite/filter-tabs.cjs +77 -0
- package/dist/studio/lib/registry/composite/filter-tabs.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/filter-tabs.d.ts +3 -0
- package/dist/studio/lib/registry/composite/filter-tabs.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/filter-tabs.js +53 -0
- package/dist/studio/lib/registry/composite/filter-tabs.js.map +1 -0
- package/dist/studio/lib/registry/composite/form-field.cjs +119 -0
- package/dist/studio/lib/registry/composite/form-field.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/form-field.d.ts +3 -0
- package/dist/studio/lib/registry/composite/form-field.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/form-field.js +95 -0
- package/dist/studio/lib/registry/composite/form-field.js.map +1 -0
- package/dist/studio/lib/registry/composite/form-multirow.cjs +56 -0
- package/dist/studio/lib/registry/composite/form-multirow.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/form-multirow.d.ts +3 -0
- package/dist/studio/lib/registry/composite/form-multirow.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/form-multirow.js +32 -0
- package/dist/studio/lib/registry/composite/form-multirow.js.map +1 -0
- package/dist/studio/lib/registry/composite/icon-tile.cjs +42 -0
- package/dist/studio/lib/registry/composite/icon-tile.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/icon-tile.d.ts +3 -0
- package/dist/studio/lib/registry/composite/icon-tile.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/icon-tile.js +18 -0
- package/dist/studio/lib/registry/composite/icon-tile.js.map +1 -0
- package/dist/studio/lib/registry/composite/index.cjs +105 -0
- package/dist/studio/lib/registry/composite/index.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/index.d.ts +3 -0
- package/dist/studio/lib/registry/composite/index.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/index.js +81 -0
- package/dist/studio/lib/registry/composite/index.js.map +1 -0
- package/dist/studio/lib/registry/composite/inline-action.cjs +66 -0
- package/dist/studio/lib/registry/composite/inline-action.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/inline-action.d.ts +3 -0
- package/dist/studio/lib/registry/composite/inline-action.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/inline-action.js +42 -0
- package/dist/studio/lib/registry/composite/inline-action.js.map +1 -0
- package/dist/studio/lib/registry/composite/inline-filter.cjs +43 -0
- package/dist/studio/lib/registry/composite/inline-filter.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/inline-filter.d.ts +3 -0
- package/dist/studio/lib/registry/composite/inline-filter.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/inline-filter.js +19 -0
- package/dist/studio/lib/registry/composite/inline-filter.js.map +1 -0
- package/dist/studio/lib/registry/composite/link.cjs +88 -0
- package/dist/studio/lib/registry/composite/link.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/link.d.ts +3 -0
- package/dist/studio/lib/registry/composite/link.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/link.js +64 -0
- package/dist/studio/lib/registry/composite/link.js.map +1 -0
- package/dist/studio/lib/registry/composite/list-item.cjs +134 -0
- package/dist/studio/lib/registry/composite/list-item.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/list-item.d.ts +3 -0
- package/dist/studio/lib/registry/composite/list-item.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/list-item.js +110 -0
- package/dist/studio/lib/registry/composite/list-item.js.map +1 -0
- package/dist/studio/lib/registry/composite/login-page.cjs +66 -0
- package/dist/studio/lib/registry/composite/login-page.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/login-page.d.ts +3 -0
- package/dist/studio/lib/registry/composite/login-page.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/login-page.js +42 -0
- package/dist/studio/lib/registry/composite/login-page.js.map +1 -0
- package/dist/studio/lib/registry/composite/meta-row.cjs +42 -0
- package/dist/studio/lib/registry/composite/meta-row.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/meta-row.d.ts +3 -0
- package/dist/studio/lib/registry/composite/meta-row.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/meta-row.js +18 -0
- package/dist/studio/lib/registry/composite/meta-row.js.map +1 -0
- package/dist/studio/lib/registry/composite/page-header.cjs +47 -0
- package/dist/studio/lib/registry/composite/page-header.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/page-header.d.ts +3 -0
- package/dist/studio/lib/registry/composite/page-header.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/page-header.js +23 -0
- package/dist/studio/lib/registry/composite/page-header.js.map +1 -0
- package/dist/studio/lib/registry/composite/page-shell.cjs +49 -0
- package/dist/studio/lib/registry/composite/page-shell.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/page-shell.d.ts +3 -0
- package/dist/studio/lib/registry/composite/page-shell.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/page-shell.js +25 -0
- package/dist/studio/lib/registry/composite/page-shell.js.map +1 -0
- package/dist/studio/lib/registry/composite/pill-select.cjs +120 -0
- package/dist/studio/lib/registry/composite/pill-select.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/pill-select.d.ts +3 -0
- package/dist/studio/lib/registry/composite/pill-select.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/pill-select.js +96 -0
- package/dist/studio/lib/registry/composite/pill-select.js.map +1 -0
- package/dist/studio/lib/registry/composite/property-field.cjs +66 -0
- package/dist/studio/lib/registry/composite/property-field.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/property-field.d.ts +3 -0
- package/dist/studio/lib/registry/composite/property-field.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/property-field.js +42 -0
- package/dist/studio/lib/registry/composite/property-field.js.map +1 -0
- package/dist/studio/lib/registry/composite/property-grid.cjs +39 -0
- package/dist/studio/lib/registry/composite/property-grid.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/property-grid.d.ts +3 -0
- package/dist/studio/lib/registry/composite/property-grid.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/property-grid.js +15 -0
- package/dist/studio/lib/registry/composite/property-grid.js.map +1 -0
- package/dist/studio/lib/registry/composite/section-header.cjs +44 -0
- package/dist/studio/lib/registry/composite/section-header.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/section-header.d.ts +3 -0
- package/dist/studio/lib/registry/composite/section-header.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/section-header.js +20 -0
- package/dist/studio/lib/registry/composite/section-header.js.map +1 -0
- package/dist/studio/lib/registry/composite/side-flexpane.cjs +51 -0
- package/dist/studio/lib/registry/composite/side-flexpane.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/side-flexpane.d.ts +3 -0
- package/dist/studio/lib/registry/composite/side-flexpane.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/side-flexpane.js +27 -0
- package/dist/studio/lib/registry/composite/side-flexpane.js.map +1 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-item.cjs +95 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-item.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-item.d.ts +3 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-item.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-item.js +71 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-item.js.map +1 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-trigger.cjs +224 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-trigger.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-trigger.d.ts +3 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-trigger.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-trigger.js +200 -0
- package/dist/studio/lib/registry/composite/sidebar-nav-trigger.js.map +1 -0
- package/dist/studio/lib/registry/composite/stat-card.cjs +45 -0
- package/dist/studio/lib/registry/composite/stat-card.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/stat-card.d.ts +3 -0
- package/dist/studio/lib/registry/composite/stat-card.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/stat-card.js +21 -0
- package/dist/studio/lib/registry/composite/stat-card.js.map +1 -0
- package/dist/studio/lib/registry/composite/tabs-underline.cjs +82 -0
- package/dist/studio/lib/registry/composite/tabs-underline.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/tabs-underline.d.ts +3 -0
- package/dist/studio/lib/registry/composite/tabs-underline.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/tabs-underline.js +58 -0
- package/dist/studio/lib/registry/composite/tabs-underline.js.map +1 -0
- package/dist/studio/lib/registry/composite/tabs.cjs +84 -0
- package/dist/studio/lib/registry/composite/tabs.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/tabs.d.ts +3 -0
- package/dist/studio/lib/registry/composite/tabs.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/tabs.js +60 -0
- package/dist/studio/lib/registry/composite/tabs.js.map +1 -0
- package/dist/studio/lib/registry/composite/thumbnail.cjs +62 -0
- package/dist/studio/lib/registry/composite/thumbnail.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/thumbnail.d.ts +3 -0
- package/dist/studio/lib/registry/composite/thumbnail.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/thumbnail.js +38 -0
- package/dist/studio/lib/registry/composite/thumbnail.js.map +1 -0
- package/dist/studio/lib/registry/composite/type-overview-card.cjs +51 -0
- package/dist/studio/lib/registry/composite/type-overview-card.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/type-overview-card.d.ts +3 -0
- package/dist/studio/lib/registry/composite/type-overview-card.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/type-overview-card.js +27 -0
- package/dist/studio/lib/registry/composite/type-overview-card.js.map +1 -0
- package/dist/studio/lib/registry/composite/view-switcher.cjs +76 -0
- package/dist/studio/lib/registry/composite/view-switcher.cjs.map +1 -0
- package/dist/studio/lib/registry/composite/view-switcher.d.ts +3 -0
- package/dist/studio/lib/registry/composite/view-switcher.d.ts.map +1 -0
- package/dist/studio/lib/registry/composite/view-switcher.js +52 -0
- package/dist/studio/lib/registry/composite/view-switcher.js.map +1 -0
- package/dist/studio/lib/registry/diagram.cjs +1 -1
- package/dist/studio/lib/registry/diagram.cjs.map +1 -1
- package/dist/studio/lib/registry/diagram.js +1 -1
- package/dist/studio/lib/registry/diagram.js.map +1 -1
- package/dist/studio/lib/registry/display.cjs +2 -2
- package/dist/studio/lib/registry/display.cjs.map +1 -1
- package/dist/studio/lib/registry/display.js +2 -2
- package/dist/studio/lib/registry/display.js.map +1 -1
- package/dist/studio/lib/registry/feedback.cjs +3 -3
- package/dist/studio/lib/registry/feedback.cjs.map +1 -1
- package/dist/studio/lib/registry/feedback.js +3 -3
- package/dist/studio/lib/registry/feedback.js.map +1 -1
- package/dist/studio/lib/registry/icons.cjs +32 -11
- package/dist/studio/lib/registry/icons.cjs.map +1 -1
- package/dist/studio/lib/registry/icons.d.ts.map +1 -1
- package/dist/studio/lib/registry/icons.js +32 -11
- package/dist/studio/lib/registry/icons.js.map +1 -1
- package/dist/studio/lib/registry/index.cjs +2 -2
- package/dist/studio/lib/registry/index.js +2 -2
- package/dist/studio/lib/registry/inputs/checkbox.cjs +84 -0
- package/dist/studio/lib/registry/inputs/checkbox.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/checkbox.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/checkbox.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/checkbox.js +60 -0
- package/dist/studio/lib/registry/inputs/checkbox.js.map +1 -0
- package/dist/studio/lib/registry/inputs/code-editor.cjs +90 -0
- package/dist/studio/lib/registry/inputs/code-editor.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/code-editor.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/code-editor.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/code-editor.js +66 -0
- package/dist/studio/lib/registry/inputs/code-editor.js.map +1 -0
- package/dist/studio/lib/registry/inputs/color-input.cjs +107 -0
- package/dist/studio/lib/registry/inputs/color-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/color-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/color-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/color-input.js +83 -0
- package/dist/studio/lib/registry/inputs/color-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/currency-input.cjs +112 -0
- package/dist/studio/lib/registry/inputs/currency-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/currency-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/currency-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/currency-input.js +88 -0
- package/dist/studio/lib/registry/inputs/currency-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/date-input.cjs +105 -0
- package/dist/studio/lib/registry/inputs/date-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/date-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/date-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/date-input.js +81 -0
- package/dist/studio/lib/registry/inputs/date-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/editable-cell.cjs +206 -0
- package/dist/studio/lib/registry/inputs/editable-cell.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/editable-cell.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/editable-cell.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/editable-cell.js +182 -0
- package/dist/studio/lib/registry/inputs/editable-cell.js.map +1 -0
- package/dist/studio/lib/registry/inputs/file-upload.cjs +161 -0
- package/dist/studio/lib/registry/inputs/file-upload.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/file-upload.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/file-upload.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/file-upload.js +137 -0
- package/dist/studio/lib/registry/inputs/file-upload.js.map +1 -0
- package/dist/studio/lib/registry/inputs/index.cjs +75 -0
- package/dist/studio/lib/registry/inputs/index.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/index.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/index.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/index.js +51 -0
- package/dist/studio/lib/registry/inputs/index.js.map +1 -0
- package/dist/studio/lib/registry/inputs/input-text.cjs +101 -0
- package/dist/studio/lib/registry/inputs/input-text.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/input-text.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/input-text.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/input-text.js +77 -0
- package/dist/studio/lib/registry/inputs/input-text.js.map +1 -0
- package/dist/studio/lib/registry/inputs/input-with-icon.cjs +85 -0
- package/dist/studio/lib/registry/inputs/input-with-icon.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/input-with-icon.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/input-with-icon.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/input-with-icon.js +61 -0
- package/dist/studio/lib/registry/inputs/input-with-icon.js.map +1 -0
- package/dist/studio/lib/registry/inputs/listbox.cjs +221 -0
- package/dist/studio/lib/registry/inputs/listbox.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/listbox.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/listbox.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/listbox.js +197 -0
- package/dist/studio/lib/registry/inputs/listbox.js.map +1 -0
- package/dist/studio/lib/registry/inputs/menu.cjs +208 -0
- package/dist/studio/lib/registry/inputs/menu.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/menu.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/menu.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/menu.js +184 -0
- package/dist/studio/lib/registry/inputs/menu.js.map +1 -0
- package/dist/studio/lib/registry/inputs/number-input.cjs +105 -0
- package/dist/studio/lib/registry/inputs/number-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/number-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/number-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/number-input.js +81 -0
- package/dist/studio/lib/registry/inputs/number-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/number-stepper.cjs +99 -0
- package/dist/studio/lib/registry/inputs/number-stepper.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/number-stepper.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/number-stepper.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/number-stepper.js +75 -0
- package/dist/studio/lib/registry/inputs/number-stepper.js.map +1 -0
- package/dist/studio/lib/registry/inputs/password-input.cjs +107 -0
- package/dist/studio/lib/registry/inputs/password-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/password-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/password-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/password-input.js +83 -0
- package/dist/studio/lib/registry/inputs/password-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/phone-input.cjs +105 -0
- package/dist/studio/lib/registry/inputs/phone-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/phone-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/phone-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/phone-input.js +81 -0
- package/dist/studio/lib/registry/inputs/phone-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/radio-group.cjs +86 -0
- package/dist/studio/lib/registry/inputs/radio-group.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/radio-group.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/radio-group.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/radio-group.js +62 -0
- package/dist/studio/lib/registry/inputs/radio-group.js.map +1 -0
- package/dist/studio/lib/registry/inputs/search-dropdown.cjs +86 -0
- package/dist/studio/lib/registry/inputs/search-dropdown.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/search-dropdown.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/search-dropdown.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/search-dropdown.js +62 -0
- package/dist/studio/lib/registry/inputs/search-dropdown.js.map +1 -0
- package/dist/studio/lib/registry/inputs/select-dropdown.cjs +103 -0
- package/dist/studio/lib/registry/inputs/select-dropdown.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/select-dropdown.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/select-dropdown.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/select-dropdown.js +79 -0
- package/dist/studio/lib/registry/inputs/select-dropdown.js.map +1 -0
- package/dist/studio/lib/registry/inputs/slider.cjs +99 -0
- package/dist/studio/lib/registry/inputs/slider.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/slider.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/slider.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/slider.js +75 -0
- package/dist/studio/lib/registry/inputs/slider.js.map +1 -0
- package/dist/studio/lib/registry/inputs/textarea.cjs +84 -0
- package/dist/studio/lib/registry/inputs/textarea.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/textarea.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/textarea.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/textarea.js +60 -0
- package/dist/studio/lib/registry/inputs/textarea.js.map +1 -0
- package/dist/studio/lib/registry/inputs/time-input.cjs +131 -0
- package/dist/studio/lib/registry/inputs/time-input.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/time-input.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/time-input.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/time-input.js +107 -0
- package/dist/studio/lib/registry/inputs/time-input.js.map +1 -0
- package/dist/studio/lib/registry/inputs/toggle-switch.cjs +80 -0
- package/dist/studio/lib/registry/inputs/toggle-switch.cjs.map +1 -0
- package/dist/studio/lib/registry/inputs/toggle-switch.d.ts +3 -0
- package/dist/studio/lib/registry/inputs/toggle-switch.d.ts.map +1 -0
- package/dist/studio/lib/registry/inputs/toggle-switch.js +56 -0
- package/dist/studio/lib/registry/inputs/toggle-switch.js.map +1 -0
- package/dist/studio/lib/types.cjs.map +1 -1
- package/dist/studio/mobile-gallery.d.ts +1 -1
- package/dist/studio/mobile-gallery.d.ts.map +1 -1
- package/dist/studio/persistence/css-sanitizers.cjs +75 -0
- package/dist/studio/persistence/css-sanitizers.cjs.map +1 -0
- package/dist/studio/persistence/css-sanitizers.d.ts +16 -0
- package/dist/studio/persistence/css-sanitizers.d.ts.map +1 -0
- package/dist/studio/persistence/css-sanitizers.js +45 -0
- package/dist/studio/persistence/css-sanitizers.js.map +1 -0
- package/dist/studio/persistence/generate-css-mapping.cjs +837 -0
- package/dist/studio/persistence/generate-css-mapping.cjs.map +1 -0
- package/dist/studio/persistence/generate-css-mapping.d.ts +13 -0
- package/dist/studio/persistence/generate-css-mapping.d.ts.map +1 -0
- package/dist/studio/persistence/generate-css-mapping.js +812 -0
- package/dist/studio/persistence/generate-css-mapping.js.map +1 -0
- package/dist/studio/persistence/generate-css.cjs +26 -865
- package/dist/studio/persistence/generate-css.cjs.map +1 -1
- package/dist/studio/persistence/generate-css.d.ts +1 -6
- package/dist/studio/persistence/generate-css.d.ts.map +1 -1
- package/dist/studio/persistence/generate-css.js +9 -848
- package/dist/studio/persistence/generate-css.js.map +1 -1
- package/dist/studio/shell/canvas.d.ts +1 -1
- package/dist/studio/shell/canvas.d.ts.map +1 -1
- package/dist/studio/shell/preview-modal.d.ts +1 -1
- package/dist/studio/shell/preview-modal.d.ts.map +1 -1
- package/dist/studio/shell/properties-panel/dev-tab.cjs +244 -0
- package/dist/studio/shell/properties-panel/dev-tab.cjs.map +1 -0
- package/dist/studio/shell/properties-panel/dev-tab.d.ts +27 -0
- package/dist/studio/shell/properties-panel/dev-tab.d.ts.map +1 -0
- package/dist/studio/shell/properties-panel/dev-tab.js +220 -0
- package/dist/studio/shell/properties-panel/dev-tab.js.map +1 -0
- package/dist/studio/shell/properties-panel/index.cjs +398 -0
- package/dist/studio/shell/properties-panel/index.cjs.map +1 -0
- package/dist/studio/shell/{properties-panel.d.ts → properties-panel/index.d.ts} +2 -2
- package/dist/studio/shell/properties-panel/index.d.ts.map +1 -0
- package/dist/studio/shell/properties-panel/index.js +374 -0
- package/dist/studio/shell/properties-panel/index.js.map +1 -0
- package/dist/studio/shell/properties-panel/property-row.cjs +155 -0
- package/dist/studio/shell/properties-panel/property-row.cjs.map +1 -0
- package/dist/studio/shell/properties-panel/property-row.d.ts +20 -0
- package/dist/studio/shell/properties-panel/property-row.d.ts.map +1 -0
- package/dist/studio/shell/properties-panel/property-row.js +130 -0
- package/dist/studio/shell/properties-panel/property-row.js.map +1 -0
- package/dist/studio/shell/properties-panel/variant-matrix.cjs +177 -0
- package/dist/studio/shell/properties-panel/variant-matrix.cjs.map +1 -0
- package/dist/studio/shell/properties-panel/variant-matrix.d.ts +30 -0
- package/dist/studio/shell/properties-panel/variant-matrix.d.ts.map +1 -0
- package/dist/studio/shell/properties-panel/variant-matrix.js +153 -0
- package/dist/studio/shell/properties-panel/variant-matrix.js.map +1 -0
- package/dist/studio/shell/sidebar.d.ts +1 -1
- package/dist/studio/shell/sidebar.d.ts.map +1 -1
- package/dist/studio/shell/wcag-panel.d.ts +1 -1
- package/dist/studio/shell/wcag-panel.d.ts.map +1 -1
- package/dist/studio/studio.css +2 -2
- package/dist/studio/uxm-app.cjs +1 -1
- package/dist/studio/uxm-app.d.ts +1 -1
- package/dist/studio/uxm-app.d.ts.map +1 -1
- package/dist/studio/uxm-app.js +1 -1
- package/dist/ui/app-sidebar/app-sidebar-preview.cjs +2 -2
- package/dist/ui/app-sidebar/app-sidebar-preview.d.ts +1 -1
- package/dist/ui/app-sidebar/app-sidebar-preview.d.ts.map +1 -1
- package/dist/ui/app-sidebar/app-sidebar-preview.js +2 -2
- package/dist/ui/app-sidebar/app-sidebar.d.ts +1 -1
- package/dist/ui/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/ui/app-top-bar/app-top-bar-preview.cjs +5 -5
- package/dist/ui/app-top-bar/app-top-bar-preview.d.ts +1 -1
- package/dist/ui/app-top-bar/app-top-bar-preview.d.ts.map +1 -1
- package/dist/ui/app-top-bar/app-top-bar-preview.js +5 -5
- package/dist/ui/app-top-bar/app-top-bar.cjs +1 -1
- package/dist/ui/app-top-bar/app-top-bar.d.ts +1 -1
- package/dist/ui/app-top-bar/app-top-bar.d.ts.map +1 -1
- package/dist/ui/app-top-bar/app-top-bar.js +1 -1
- package/dist/ui/avatar/avatar-preview.cjs +1 -1
- package/dist/ui/avatar/avatar-preview.d.ts +1 -1
- package/dist/ui/avatar/avatar-preview.d.ts.map +1 -1
- package/dist/ui/avatar/avatar-preview.js +1 -1
- package/dist/ui/avatar/avatar.d.ts +1 -1
- package/dist/ui/avatar/avatar.d.ts.map +1 -1
- package/dist/ui/back-link/back-link-preview.cjs +1 -1
- package/dist/ui/back-link/back-link-preview.d.ts +1 -1
- package/dist/ui/back-link/back-link-preview.d.ts.map +1 -1
- package/dist/ui/back-link/back-link-preview.js +1 -1
- package/dist/ui/back-link/back-link.cjs +1 -1
- package/dist/ui/back-link/back-link.d.ts +1 -1
- package/dist/ui/back-link/back-link.d.ts.map +1 -1
- package/dist/ui/back-link/back-link.js +1 -1
- package/dist/ui/badge/badge-preview.cjs +1 -1
- package/dist/ui/badge/badge-preview.d.ts +1 -1
- package/dist/ui/badge/badge-preview.d.ts.map +1 -1
- package/dist/ui/badge/badge-preview.js +1 -1
- package/dist/ui/badge/badge.d.ts +1 -1
- package/dist/ui/badge/badge.d.ts.map +1 -1
- package/dist/ui/banner/banner-preview.cjs +1 -1
- package/dist/ui/banner/banner-preview.d.ts +1 -1
- package/dist/ui/banner/banner-preview.d.ts.map +1 -1
- package/dist/ui/banner/banner-preview.js +1 -1
- package/dist/ui/banner/banner.d.ts +1 -1
- package/dist/ui/banner/banner.d.ts.map +1 -1
- package/dist/ui/breadcrumb/breadcrumb-preview.cjs +3 -3
- package/dist/ui/breadcrumb/breadcrumb-preview.d.ts +1 -1
- package/dist/ui/breadcrumb/breadcrumb-preview.d.ts.map +1 -1
- package/dist/ui/breadcrumb/breadcrumb-preview.js +3 -3
- package/dist/ui/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/ui/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/ui/bulk-action-bar/bulk-action-bar-preview.d.ts +1 -1
- package/dist/ui/bulk-action-bar/bulk-action-bar-preview.d.ts.map +1 -1
- package/dist/ui/bulk-action-bar/bulk-action-bar.d.ts +1 -1
- package/dist/ui/bulk-action-bar/bulk-action-bar.d.ts.map +1 -1
- package/dist/ui/button/button-preview.cjs +4 -4
- package/dist/ui/button/button-preview.d.ts +1 -1
- package/dist/ui/button/button-preview.d.ts.map +1 -1
- package/dist/ui/button/button-preview.js +4 -4
- package/dist/ui/button/button.d.ts +5 -5
- package/dist/ui/button/button.d.ts.map +1 -1
- package/dist/ui/button-group/button-group-preview.cjs +1 -1
- package/dist/ui/button-group/button-group-preview.d.ts +1 -1
- package/dist/ui/button-group/button-group-preview.d.ts.map +1 -1
- package/dist/ui/button-group/button-group-preview.js +1 -1
- package/dist/ui/button-group/button-group.d.ts +1 -1
- package/dist/ui/button-group/button-group.d.ts.map +1 -1
- package/dist/ui/button-icon/button-icon.cjs.map +1 -1
- package/dist/ui/button-icon/button-icon.d.ts +11 -1
- package/dist/ui/button-icon/button-icon.d.ts.map +1 -1
- package/dist/ui/button-icon/button-icon.js.map +1 -1
- package/dist/ui/button-with-icon/button-with-icon-preview.cjs +2 -2
- package/dist/ui/button-with-icon/button-with-icon-preview.d.ts +1 -1
- package/dist/ui/button-with-icon/button-with-icon-preview.d.ts.map +1 -1
- package/dist/ui/button-with-icon/button-with-icon-preview.js +2 -2
- package/dist/ui/button-with-icon/button-with-icon.d.ts +1 -1
- package/dist/ui/button-with-icon/button-with-icon.d.ts.map +1 -1
- package/dist/ui/calendar/calendar-preview.cjs +1 -1
- package/dist/ui/calendar/calendar-preview.d.ts +1 -1
- package/dist/ui/calendar/calendar-preview.d.ts.map +1 -1
- package/dist/ui/calendar/calendar-preview.js +1 -1
- package/dist/ui/calendar/calendar.d.ts +1 -1
- package/dist/ui/calendar/calendar.d.ts.map +1 -1
- package/dist/ui/card/card-preview.cjs +1 -1
- package/dist/ui/card/card-preview.d.ts +1 -1
- package/dist/ui/card/card-preview.d.ts.map +1 -1
- package/dist/ui/card/card-preview.js +1 -1
- package/dist/ui/card/card.d.ts +1 -1
- package/dist/ui/card/card.d.ts.map +1 -1
- package/dist/ui/checkbox/checkbox-preview.cjs +2 -2
- package/dist/ui/checkbox/checkbox-preview.d.ts +1 -1
- package/dist/ui/checkbox/checkbox-preview.d.ts.map +1 -1
- package/dist/ui/checkbox/checkbox-preview.js +2 -2
- package/dist/ui/checkbox/checkbox.cjs +2 -2
- package/dist/ui/checkbox/checkbox.d.ts +1 -1
- package/dist/ui/checkbox/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox/checkbox.js +2 -2
- package/dist/ui/chip/chip-preview.cjs +2 -2
- package/dist/ui/chip/chip-preview.d.ts +1 -1
- package/dist/ui/chip/chip-preview.d.ts.map +1 -1
- package/dist/ui/chip/chip-preview.js +2 -2
- package/dist/ui/chip/chip.cjs +1 -1
- package/dist/ui/chip/chip.d.ts +1 -1
- package/dist/ui/chip/chip.d.ts.map +1 -1
- package/dist/ui/chip/chip.js +1 -1
- package/dist/ui/cluster/cluster-preview.cjs +1 -1
- package/dist/ui/cluster/cluster-preview.d.ts +1 -1
- package/dist/ui/cluster/cluster-preview.d.ts.map +1 -1
- package/dist/ui/cluster/cluster-preview.js +1 -1
- package/dist/ui/cluster/cluster.d.ts +1 -1
- package/dist/ui/cluster/cluster.d.ts.map +1 -1
- package/dist/ui/code-editor/code-editor-preview.cjs +1 -1
- package/dist/ui/code-editor/code-editor-preview.d.ts +1 -1
- package/dist/ui/code-editor/code-editor-preview.d.ts.map +1 -1
- package/dist/ui/code-editor/code-editor-preview.js +1 -1
- package/dist/ui/code-editor/code-editor.d.ts +2 -2
- package/dist/ui/code-editor/code-editor.d.ts.map +1 -1
- package/dist/ui/color-input/color-input-preview.cjs +1 -1
- package/dist/ui/color-input/color-input-preview.d.ts +1 -1
- package/dist/ui/color-input/color-input-preview.d.ts.map +1 -1
- package/dist/ui/color-input/color-input-preview.js +1 -1
- package/dist/ui/color-input/color-input.d.ts +2 -2
- package/dist/ui/color-input/color-input.d.ts.map +1 -1
- package/dist/ui/component-row/component-row-preview.cjs +1 -1
- package/dist/ui/component-row/component-row-preview.d.ts +1 -1
- package/dist/ui/component-row/component-row-preview.d.ts.map +1 -1
- package/dist/ui/component-row/component-row-preview.js +1 -1
- package/dist/ui/component-row/component-row.cjs +1 -1
- package/dist/ui/component-row/component-row.d.ts +1 -1
- package/dist/ui/component-row/component-row.d.ts.map +1 -1
- package/dist/ui/component-row/component-row.js +1 -1
- package/dist/ui/config-component-row/config-component-row-preview.cjs +3 -3
- package/dist/ui/config-component-row/config-component-row-preview.d.ts +1 -1
- package/dist/ui/config-component-row/config-component-row-preview.d.ts.map +1 -1
- package/dist/ui/config-component-row/config-component-row-preview.js +3 -3
- package/dist/ui/config-component-row/config-component-row.cjs +1 -1
- package/dist/ui/config-component-row/config-component-row.d.ts +1 -1
- package/dist/ui/config-component-row/config-component-row.d.ts.map +1 -1
- package/dist/ui/config-component-row/config-component-row.js +1 -1
- package/dist/ui/config-segment-item/config-segment-item-preview.cjs +1 -1
- package/dist/ui/config-segment-item/config-segment-item-preview.d.ts +1 -1
- package/dist/ui/config-segment-item/config-segment-item-preview.d.ts.map +1 -1
- package/dist/ui/config-segment-item/config-segment-item-preview.js +1 -1
- package/dist/ui/config-segment-item/config-segment-item.d.ts +1 -1
- package/dist/ui/config-segment-item/config-segment-item.d.ts.map +1 -1
- package/dist/ui/currency-input/currency-input-preview.cjs +1 -1
- package/dist/ui/currency-input/currency-input-preview.d.ts +1 -1
- package/dist/ui/currency-input/currency-input-preview.d.ts.map +1 -1
- package/dist/ui/currency-input/currency-input-preview.js +1 -1
- package/dist/ui/currency-input/currency-input.d.ts +1 -1
- package/dist/ui/currency-input/currency-input.d.ts.map +1 -1
- package/dist/ui/data-table/data-table-preview.cjs +1 -1
- package/dist/ui/data-table/data-table-preview.d.ts +1 -1
- package/dist/ui/data-table/data-table-preview.d.ts.map +1 -1
- package/dist/ui/data-table/data-table-preview.js +1 -1
- package/dist/ui/data-table/data-table.d.ts +1 -1
- package/dist/ui/data-table/data-table.d.ts.map +1 -1
- package/dist/ui/date-input/date-input-preview.cjs +1 -1
- package/dist/ui/date-input/date-input-preview.d.ts +1 -1
- package/dist/ui/date-input/date-input-preview.d.ts.map +1 -1
- package/dist/ui/date-input/date-input-preview.js +1 -1
- package/dist/ui/date-input/date-input.d.ts +1 -1
- package/dist/ui/date-input/date-input.d.ts.map +1 -1
- package/dist/ui/detail-section/detail-section-preview.cjs +2 -2
- package/dist/ui/detail-section/detail-section-preview.d.ts +1 -1
- package/dist/ui/detail-section/detail-section-preview.d.ts.map +1 -1
- package/dist/ui/detail-section/detail-section-preview.js +2 -2
- package/dist/ui/detail-section/detail-section.d.ts +1 -1
- package/dist/ui/detail-section/detail-section.d.ts.map +1 -1
- package/dist/ui/disclosure/disclosure-preview.cjs +3 -3
- package/dist/ui/disclosure/disclosure-preview.d.ts +1 -1
- package/dist/ui/disclosure/disclosure-preview.d.ts.map +1 -1
- package/dist/ui/disclosure/disclosure-preview.js +3 -3
- package/dist/ui/disclosure/disclosure.d.ts +1 -1
- package/dist/ui/disclosure/disclosure.d.ts.map +1 -1
- package/dist/ui/divider/divider-preview.d.ts +1 -1
- package/dist/ui/divider/divider-preview.d.ts.map +1 -1
- package/dist/ui/divider/divider.d.ts +1 -1
- package/dist/ui/divider/divider.d.ts.map +1 -1
- package/dist/ui/editable-cell/editable-cell-date.cjs +226 -0
- package/dist/ui/editable-cell/editable-cell-date.cjs.map +1 -0
- package/dist/ui/editable-cell/editable-cell-date.d.ts +4 -0
- package/dist/ui/editable-cell/editable-cell-date.d.ts.map +1 -0
- package/dist/ui/editable-cell/editable-cell-date.js +202 -0
- package/dist/ui/editable-cell/editable-cell-date.js.map +1 -0
- package/dist/ui/editable-cell/editable-cell-preview.cjs +1 -1
- package/dist/ui/editable-cell/editable-cell-preview.d.ts +1 -1
- package/dist/ui/editable-cell/editable-cell-preview.d.ts.map +1 -1
- package/dist/ui/editable-cell/editable-cell-preview.js +1 -1
- package/dist/ui/editable-cell/editable-cell-select.cjs +297 -0
- package/dist/ui/editable-cell/editable-cell-select.cjs.map +1 -0
- package/dist/ui/editable-cell/editable-cell-select.d.ts +4 -0
- package/dist/ui/editable-cell/editable-cell-select.d.ts.map +1 -0
- package/dist/ui/editable-cell/editable-cell-select.js +273 -0
- package/dist/ui/editable-cell/editable-cell-select.js.map +1 -0
- package/dist/ui/editable-cell/editable-cell-text.cjs +175 -0
- package/dist/ui/editable-cell/editable-cell-text.cjs.map +1 -0
- package/dist/ui/editable-cell/editable-cell-text.d.ts +4 -0
- package/dist/ui/editable-cell/editable-cell-text.d.ts.map +1 -0
- package/dist/ui/editable-cell/editable-cell-text.js +151 -0
- package/dist/ui/editable-cell/editable-cell-text.js.map +1 -0
- package/dist/ui/editable-cell/editable-cell-utils.cjs +56 -0
- package/dist/ui/editable-cell/editable-cell-utils.cjs.map +1 -0
- package/dist/ui/editable-cell/editable-cell-utils.d.ts +20 -0
- package/dist/ui/editable-cell/editable-cell-utils.d.ts.map +1 -0
- package/dist/ui/editable-cell/editable-cell-utils.js +29 -0
- package/dist/ui/editable-cell/editable-cell-utils.js.map +1 -0
- package/dist/ui/editable-cell/editable-cell.cjs +27 -725
- package/dist/ui/editable-cell/editable-cell.cjs.map +1 -1
- package/dist/ui/editable-cell/editable-cell.d.ts +3 -145
- package/dist/ui/editable-cell/editable-cell.d.ts.map +1 -1
- package/dist/ui/editable-cell/editable-cell.js +28 -738
- package/dist/ui/editable-cell/editable-cell.js.map +1 -1
- package/dist/ui/editable-cell/editable-cell.types.cjs +17 -0
- package/dist/ui/editable-cell/editable-cell.types.cjs.map +1 -0
- package/dist/ui/editable-cell/editable-cell.types.d.ts +156 -0
- package/dist/ui/editable-cell/editable-cell.types.d.ts.map +1 -0
- package/dist/ui/editable-cell/editable-cell.types.js +1 -0
- package/dist/ui/editable-cell/editable-cell.types.js.map +1 -0
- package/dist/ui/editable-cell/use-editable-cell.cjs +284 -0
- package/dist/ui/editable-cell/use-editable-cell.cjs.map +1 -0
- package/dist/ui/editable-cell/use-editable-cell.d.ts +51 -0
- package/dist/ui/editable-cell/use-editable-cell.d.ts.map +1 -0
- package/dist/ui/editable-cell/use-editable-cell.js +260 -0
- package/dist/ui/editable-cell/use-editable-cell.js.map +1 -0
- package/dist/ui/empty-state/empty-state-preview.cjs +3 -3
- package/dist/ui/empty-state/empty-state-preview.d.ts +1 -1
- package/dist/ui/empty-state/empty-state-preview.d.ts.map +1 -1
- package/dist/ui/empty-state/empty-state-preview.js +3 -3
- package/dist/ui/empty-state/empty-state.d.ts +1 -1
- package/dist/ui/empty-state/empty-state.d.ts.map +1 -1
- package/dist/ui/error-page/error-page-preview.cjs +2 -2
- package/dist/ui/error-page/error-page-preview.d.ts +1 -1
- package/dist/ui/error-page/error-page-preview.d.ts.map +1 -1
- package/dist/ui/error-page/error-page-preview.js +2 -2
- package/dist/ui/error-page/error-page.d.ts +1 -1
- package/dist/ui/error-page/error-page.d.ts.map +1 -1
- package/dist/ui/explorer-list-item/explorer-list-item-preview.cjs +1 -1
- package/dist/ui/explorer-list-item/explorer-list-item-preview.d.ts +1 -1
- package/dist/ui/explorer-list-item/explorer-list-item-preview.d.ts.map +1 -1
- package/dist/ui/explorer-list-item/explorer-list-item-preview.js +1 -1
- package/dist/ui/explorer-list-item/explorer-list-item.d.ts +1 -1
- package/dist/ui/explorer-list-item/explorer-list-item.d.ts.map +1 -1
- package/dist/ui/explorer-section/explorer-section-preview.cjs +2 -2
- package/dist/ui/explorer-section/explorer-section-preview.d.ts +1 -1
- package/dist/ui/explorer-section/explorer-section-preview.d.ts.map +1 -1
- package/dist/ui/explorer-section/explorer-section-preview.js +2 -2
- package/dist/ui/explorer-section/explorer-section.d.ts +1 -1
- package/dist/ui/explorer-section/explorer-section.d.ts.map +1 -1
- package/dist/ui/field-error/field-error.d.ts +1 -1
- package/dist/ui/field-error/field-error.d.ts.map +1 -1
- package/dist/ui/file-upload/file-upload-preview.cjs +1 -1
- package/dist/ui/file-upload/file-upload-preview.d.ts +1 -1
- package/dist/ui/file-upload/file-upload-preview.d.ts.map +1 -1
- package/dist/ui/file-upload/file-upload-preview.js +1 -1
- package/dist/ui/file-upload/file-upload.d.ts +1 -1
- package/dist/ui/file-upload/file-upload.d.ts.map +1 -1
- package/dist/ui/filter-tabs/filter-tabs-preview.cjs +1 -1
- package/dist/ui/filter-tabs/filter-tabs-preview.d.ts +1 -1
- package/dist/ui/filter-tabs/filter-tabs-preview.d.ts.map +1 -1
- package/dist/ui/filter-tabs/filter-tabs-preview.js +1 -1
- package/dist/ui/filter-tabs/filter-tabs.d.ts +1 -1
- package/dist/ui/filter-tabs/filter-tabs.d.ts.map +1 -1
- package/dist/ui/form-field/form-field-preview.cjs +2 -2
- package/dist/ui/form-field/form-field-preview.d.ts +1 -1
- package/dist/ui/form-field/form-field-preview.d.ts.map +1 -1
- package/dist/ui/form-field/form-field-preview.js +2 -2
- package/dist/ui/form-field/form-field.d.ts +1 -1
- package/dist/ui/form-field/form-field.d.ts.map +1 -1
- package/dist/ui/hover-tooltip/hover-tooltip.d.ts +1 -1
- package/dist/ui/hover-tooltip/hover-tooltip.d.ts.map +1 -1
- package/dist/ui/icon/icon-preview.cjs +1 -1
- package/dist/ui/icon/icon-preview.d.ts +1 -1
- package/dist/ui/icon/icon-preview.d.ts.map +1 -1
- package/dist/ui/icon/icon-preview.js +1 -1
- package/dist/ui/icon/icon.d.ts +1 -1
- package/dist/ui/icon/icon.d.ts.map +1 -1
- package/dist/ui/icon-button/icon-button-preview.cjs +20 -7
- package/dist/ui/icon-button/icon-button-preview.cjs.map +1 -1
- package/dist/ui/icon-button/icon-button-preview.d.ts +1 -1
- package/dist/ui/icon-button/icon-button-preview.d.ts.map +1 -1
- package/dist/ui/icon-button/icon-button-preview.js +20 -7
- package/dist/ui/icon-button/icon-button-preview.js.map +1 -1
- package/dist/ui/icon-button/icon-button.cjs +16 -2
- package/dist/ui/icon-button/icon-button.cjs.map +1 -1
- package/dist/ui/icon-button/icon-button.css +26 -0
- package/dist/ui/icon-button/icon-button.d.ts +9 -1
- package/dist/ui/icon-button/icon-button.d.ts.map +1 -1
- package/dist/ui/icon-button/icon-button.js +16 -2
- package/dist/ui/icon-button/icon-button.js.map +1 -1
- package/dist/ui/icon-tile/icon-tile-preview.cjs +2 -2
- package/dist/ui/icon-tile/icon-tile-preview.d.ts +1 -1
- package/dist/ui/icon-tile/icon-tile-preview.d.ts.map +1 -1
- package/dist/ui/icon-tile/icon-tile-preview.js +2 -2
- package/dist/ui/icon-tile/icon-tile.d.ts +1 -1
- package/dist/ui/icon-tile/icon-tile.d.ts.map +1 -1
- package/dist/ui/index.cjs.map +1 -1
- package/dist/ui/index.d.ts +2 -2
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/inline-action/inline-action-preview.cjs +2 -2
- package/dist/ui/inline-action/inline-action-preview.d.ts +1 -1
- package/dist/ui/inline-action/inline-action-preview.d.ts.map +1 -1
- package/dist/ui/inline-action/inline-action-preview.js +2 -2
- package/dist/ui/inline-action/inline-action.d.ts +1 -1
- package/dist/ui/inline-action/inline-action.d.ts.map +1 -1
- package/dist/ui/inline-filter/inline-filter-preview.cjs +4 -4
- package/dist/ui/inline-filter/inline-filter-preview.d.ts +1 -1
- package/dist/ui/inline-filter/inline-filter-preview.d.ts.map +1 -1
- package/dist/ui/inline-filter/inline-filter-preview.js +4 -4
- package/dist/ui/inline-filter/inline-filter.d.ts +1 -1
- package/dist/ui/inline-filter/inline-filter.d.ts.map +1 -1
- package/dist/ui/input/input-preview.cjs +1 -1
- package/dist/ui/input/input-preview.d.ts +1 -1
- package/dist/ui/input/input-preview.d.ts.map +1 -1
- package/dist/ui/input/input-preview.js +1 -1
- package/dist/ui/input/input.d.ts +3 -3
- package/dist/ui/input/input.d.ts.map +1 -1
- package/dist/ui/input/select-preview.cjs +1 -1
- package/dist/ui/input/select-preview.d.ts +1 -1
- package/dist/ui/input/select-preview.d.ts.map +1 -1
- package/dist/ui/input/select-preview.js +1 -1
- package/dist/ui/input/textarea-preview.cjs +1 -1
- package/dist/ui/input/textarea-preview.d.ts +1 -1
- package/dist/ui/input/textarea-preview.d.ts.map +1 -1
- package/dist/ui/input/textarea-preview.js +1 -1
- package/dist/ui/input-with-icon/input-with-icon-preview.cjs +2 -2
- package/dist/ui/input-with-icon/input-with-icon-preview.d.ts +1 -1
- package/dist/ui/input-with-icon/input-with-icon-preview.d.ts.map +1 -1
- package/dist/ui/input-with-icon/input-with-icon-preview.js +2 -2
- package/dist/ui/input-with-icon/input-with-icon.cjs +3 -3
- package/dist/ui/input-with-icon/input-with-icon.d.ts +1 -1
- package/dist/ui/input-with-icon/input-with-icon.d.ts.map +1 -1
- package/dist/ui/input-with-icon/input-with-icon.js +3 -3
- package/dist/ui/language-switcher/language-switcher-preview.cjs +1 -1
- package/dist/ui/language-switcher/language-switcher-preview.d.ts +1 -1
- package/dist/ui/language-switcher/language-switcher-preview.d.ts.map +1 -1
- package/dist/ui/language-switcher/language-switcher-preview.js +1 -1
- package/dist/ui/language-switcher/language-switcher.d.ts +1 -1
- package/dist/ui/language-switcher/language-switcher.d.ts.map +1 -1
- package/dist/ui/lifecycle-connector/lifecycle-connector-preview.cjs +1 -1
- package/dist/ui/lifecycle-connector/lifecycle-connector-preview.d.ts +1 -1
- package/dist/ui/lifecycle-connector/lifecycle-connector-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-connector/lifecycle-connector-preview.js +1 -1
- package/dist/ui/lifecycle-connector/lifecycle-connector.d.ts +1 -1
- package/dist/ui/lifecycle-connector/lifecycle-connector.d.ts.map +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot-preview.cjs +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot-preview.d.ts +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot-preview.js +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot.cjs +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot.d.ts +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot.d.ts.map +1 -1
- package/dist/ui/lifecycle-drop-slot/lifecycle-drop-slot.js +1 -1
- package/dist/ui/lifecycle-edge-label/lifecycle-edge-label-preview.cjs +1 -1
- package/dist/ui/lifecycle-edge-label/lifecycle-edge-label-preview.d.ts +1 -1
- package/dist/ui/lifecycle-edge-label/lifecycle-edge-label-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-edge-label/lifecycle-edge-label-preview.js +1 -1
- package/dist/ui/lifecycle-edge-label/lifecycle-edge-label.d.ts +1 -1
- package/dist/ui/lifecycle-edge-label/lifecycle-edge-label.d.ts.map +1 -1
- package/dist/ui/lifecycle-group-box/lifecycle-group-box-preview.cjs +1 -1
- package/dist/ui/lifecycle-group-box/lifecycle-group-box-preview.d.ts +1 -1
- package/dist/ui/lifecycle-group-box/lifecycle-group-box-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-group-box/lifecycle-group-box-preview.js +1 -1
- package/dist/ui/lifecycle-group-box/lifecycle-group-box.d.ts +1 -1
- package/dist/ui/lifecycle-group-box/lifecycle-group-box.d.ts.map +1 -1
- package/dist/ui/lifecycle-minimap/lifecycle-minimap-preview.cjs +1 -1
- package/dist/ui/lifecycle-minimap/lifecycle-minimap-preview.d.ts +1 -1
- package/dist/ui/lifecycle-minimap/lifecycle-minimap-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-minimap/lifecycle-minimap-preview.js +1 -1
- package/dist/ui/lifecycle-minimap/lifecycle-minimap.d.ts +1 -1
- package/dist/ui/lifecycle-minimap/lifecycle-minimap.d.ts.map +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card-preview.cjs +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card-preview.d.ts +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card-preview.js +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card.cjs +2 -2
- package/dist/ui/lifecycle-node-card/lifecycle-node-card.d.ts +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card.d.ts.map +1 -1
- package/dist/ui/lifecycle-node-card/lifecycle-node-card.js +2 -2
- package/dist/ui/lifecycle-terminal/lifecycle-terminal-preview.cjs +1 -1
- package/dist/ui/lifecycle-terminal/lifecycle-terminal-preview.d.ts +1 -1
- package/dist/ui/lifecycle-terminal/lifecycle-terminal-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-terminal/lifecycle-terminal-preview.js +1 -1
- package/dist/ui/lifecycle-terminal/lifecycle-terminal.d.ts +1 -1
- package/dist/ui/lifecycle-terminal/lifecycle-terminal.d.ts.map +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control-preview.cjs +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control-preview.d.ts +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control-preview.d.ts.map +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control-preview.js +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control.cjs +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control.d.ts +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control.d.ts.map +1 -1
- package/dist/ui/lifecycle-zoom-control/lifecycle-zoom-control.js +1 -1
- package/dist/ui/link/link-preview.cjs +1 -1
- package/dist/ui/link/link-preview.d.ts +1 -1
- package/dist/ui/link/link-preview.d.ts.map +1 -1
- package/dist/ui/link/link-preview.js +1 -1
- package/dist/ui/link/link.d.ts +1 -1
- package/dist/ui/link/link.d.ts.map +1 -1
- package/dist/ui/list/list-item-preview.cjs +3 -3
- package/dist/ui/list/list-item-preview.d.ts +1 -1
- package/dist/ui/list/list-item-preview.d.ts.map +1 -1
- package/dist/ui/list/list-item-preview.js +3 -3
- package/dist/ui/list/list.d.ts +2 -2
- package/dist/ui/list/list.d.ts.map +1 -1
- package/dist/ui/listbox/listbox-preview.cjs +1 -1
- package/dist/ui/listbox/listbox-preview.d.ts +1 -1
- package/dist/ui/listbox/listbox-preview.d.ts.map +1 -1
- package/dist/ui/listbox/listbox-preview.js +1 -1
- package/dist/ui/listbox/listbox.d.ts +2 -2
- package/dist/ui/listbox/listbox.d.ts.map +1 -1
- package/dist/ui/loader/loader-preview.d.ts +1 -1
- package/dist/ui/loader/loader-preview.d.ts.map +1 -1
- package/dist/ui/loader/loader.d.ts +1 -1
- package/dist/ui/loader/loader.d.ts.map +1 -1
- package/dist/ui/locale/locale.d.ts +1 -1
- package/dist/ui/locale/locale.d.ts.map +1 -1
- package/dist/ui/menu/menu-preview.cjs +1 -1
- package/dist/ui/menu/menu-preview.d.ts +1 -1
- package/dist/ui/menu/menu-preview.d.ts.map +1 -1
- package/dist/ui/menu/menu-preview.js +1 -1
- package/dist/ui/menu/menu.d.ts +1 -1
- package/dist/ui/menu/menu.d.ts.map +1 -1
- package/dist/ui/meta-row/meta-row-preview.cjs +1 -1
- package/dist/ui/meta-row/meta-row-preview.d.ts +1 -1
- package/dist/ui/meta-row/meta-row-preview.d.ts.map +1 -1
- package/dist/ui/meta-row/meta-row-preview.js +1 -1
- package/dist/ui/meta-row/meta-row.d.ts +1 -1
- package/dist/ui/meta-row/meta-row.d.ts.map +1 -1
- package/dist/ui/modal/modal-preview.cjs +1 -1
- package/dist/ui/modal/modal-preview.d.ts +1 -1
- package/dist/ui/modal/modal-preview.d.ts.map +1 -1
- package/dist/ui/modal/modal-preview.js +1 -1
- package/dist/ui/modal/modal.cjs +13 -15
- package/dist/ui/modal/modal.cjs.map +1 -1
- package/dist/ui/modal/modal.d.ts +23 -5
- package/dist/ui/modal/modal.d.ts.map +1 -1
- package/dist/ui/modal/modal.js +13 -16
- package/dist/ui/modal/modal.js.map +1 -1
- package/dist/ui/number-input/number-input-preview.cjs +1 -1
- package/dist/ui/number-input/number-input-preview.d.ts +1 -1
- package/dist/ui/number-input/number-input-preview.d.ts.map +1 -1
- package/dist/ui/number-input/number-input-preview.js +1 -1
- package/dist/ui/number-input/number-input.cjs +3 -3
- package/dist/ui/number-input/number-input.d.ts +1 -1
- package/dist/ui/number-input/number-input.d.ts.map +1 -1
- package/dist/ui/number-input/number-input.js +3 -3
- package/dist/ui/number-stepper/number-stepper-preview.cjs +1 -1
- package/dist/ui/number-stepper/number-stepper-preview.d.ts +1 -1
- package/dist/ui/number-stepper/number-stepper-preview.d.ts.map +1 -1
- package/dist/ui/number-stepper/number-stepper-preview.js +1 -1
- package/dist/ui/number-stepper/number-stepper.d.ts +1 -1
- package/dist/ui/number-stepper/number-stepper.d.ts.map +1 -1
- package/dist/ui/option-list/option-list-preview.cjs +1 -1
- package/dist/ui/option-list/option-list-preview.d.ts +1 -1
- package/dist/ui/option-list/option-list-preview.d.ts.map +1 -1
- package/dist/ui/option-list/option-list-preview.js +1 -1
- package/dist/ui/option-list/option-list.cjs +1 -1
- package/dist/ui/option-list/option-list.d.ts +1 -1
- package/dist/ui/option-list/option-list.d.ts.map +1 -1
- package/dist/ui/option-list/option-list.js +1 -1
- package/dist/ui/page-header/page-header-preview.cjs +3 -3
- package/dist/ui/page-header/page-header-preview.d.ts +1 -1
- package/dist/ui/page-header/page-header-preview.d.ts.map +1 -1
- package/dist/ui/page-header/page-header-preview.js +3 -3
- package/dist/ui/page-header/page-header.d.ts +1 -1
- package/dist/ui/page-header/page-header.d.ts.map +1 -1
- package/dist/ui/page-shell/page-shell-preview.cjs +7 -7
- package/dist/ui/page-shell/page-shell-preview.d.ts +1 -1
- package/dist/ui/page-shell/page-shell-preview.d.ts.map +1 -1
- package/dist/ui/page-shell/page-shell-preview.js +7 -7
- package/dist/ui/page-shell/page-shell.cjs.map +1 -1
- package/dist/ui/page-shell/page-shell.d.ts +2 -2
- package/dist/ui/page-shell/page-shell.d.ts.map +1 -1
- package/dist/ui/page-shell/page-shell.js.map +1 -1
- package/dist/ui/password-input/password-input-preview.cjs +1 -1
- package/dist/ui/password-input/password-input-preview.d.ts +1 -1
- package/dist/ui/password-input/password-input-preview.d.ts.map +1 -1
- package/dist/ui/password-input/password-input-preview.js +1 -1
- package/dist/ui/password-input/password-input.d.ts +1 -1
- package/dist/ui/password-input/password-input.d.ts.map +1 -1
- package/dist/ui/phone-input/phone-input-preview.cjs +1 -1
- package/dist/ui/phone-input/phone-input-preview.d.ts +1 -1
- package/dist/ui/phone-input/phone-input-preview.d.ts.map +1 -1
- package/dist/ui/phone-input/phone-input-preview.js +1 -1
- package/dist/ui/phone-input/phone-input.d.ts +1 -1
- package/dist/ui/phone-input/phone-input.d.ts.map +1 -1
- package/dist/ui/pill-select/pill-select-preview.cjs +1 -1
- package/dist/ui/pill-select/pill-select-preview.d.ts +1 -1
- package/dist/ui/pill-select/pill-select-preview.d.ts.map +1 -1
- package/dist/ui/pill-select/pill-select-preview.js +1 -1
- package/dist/ui/pill-select/pill-select.d.ts +1 -1
- package/dist/ui/pill-select/pill-select.d.ts.map +1 -1
- package/dist/ui/popover/popover.d.ts +1 -1
- package/dist/ui/popover/popover.d.ts.map +1 -1
- package/dist/ui/progress-bar/progress-bar-preview.cjs +1 -1
- package/dist/ui/progress-bar/progress-bar-preview.d.ts +1 -1
- package/dist/ui/progress-bar/progress-bar-preview.d.ts.map +1 -1
- package/dist/ui/progress-bar/progress-bar-preview.js +1 -1
- package/dist/ui/progress-bar/progress-bar.d.ts +1 -1
- package/dist/ui/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/ui/property-field/property-field-preview.cjs +1 -1
- package/dist/ui/property-field/property-field-preview.d.ts +1 -1
- package/dist/ui/property-field/property-field-preview.d.ts.map +1 -1
- package/dist/ui/property-field/property-field-preview.js +1 -1
- package/dist/ui/property-field/property-field.d.ts +2 -2
- package/dist/ui/property-field/property-field.d.ts.map +1 -1
- package/dist/ui/property-field/property-grid-preview.cjs +1 -1
- package/dist/ui/property-field/property-grid-preview.d.ts +1 -1
- package/dist/ui/property-field/property-grid-preview.d.ts.map +1 -1
- package/dist/ui/property-field/property-grid-preview.js +1 -1
- package/dist/ui/radio-group/radio-group-preview.cjs +1 -1
- package/dist/ui/radio-group/radio-group-preview.d.ts +1 -1
- package/dist/ui/radio-group/radio-group-preview.d.ts.map +1 -1
- package/dist/ui/radio-group/radio-group-preview.js +1 -1
- package/dist/ui/radio-group/radio-group.cjs +1 -1
- package/dist/ui/radio-group/radio-group.d.ts +2 -2
- package/dist/ui/radio-group/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group/radio-group.js +1 -1
- package/dist/ui/range-slider/range-slider.d.ts +1 -1
- package/dist/ui/range-slider/range-slider.d.ts.map +1 -1
- package/dist/ui/responsive-grid/responsive-grid-preview.cjs +1 -1
- package/dist/ui/responsive-grid/responsive-grid-preview.d.ts +1 -1
- package/dist/ui/responsive-grid/responsive-grid-preview.d.ts.map +1 -1
- package/dist/ui/responsive-grid/responsive-grid-preview.js +1 -1
- package/dist/ui/responsive-grid/responsive-grid.d.ts +1 -1
- package/dist/ui/responsive-grid/responsive-grid.d.ts.map +1 -1
- package/dist/ui/search-dropdown/search-dropdown-preview.cjs +3 -3
- package/dist/ui/search-dropdown/search-dropdown-preview.d.ts +1 -1
- package/dist/ui/search-dropdown/search-dropdown-preview.d.ts.map +1 -1
- package/dist/ui/search-dropdown/search-dropdown-preview.js +3 -3
- package/dist/ui/search-dropdown/search-dropdown.d.ts +1 -1
- package/dist/ui/search-dropdown/search-dropdown.d.ts.map +1 -1
- package/dist/ui/section-header/section-header-preview.cjs +3 -3
- package/dist/ui/section-header/section-header-preview.d.ts +1 -1
- package/dist/ui/section-header/section-header-preview.d.ts.map +1 -1
- package/dist/ui/section-header/section-header-preview.js +3 -3
- package/dist/ui/section-header/section-header.d.ts +1 -1
- package/dist/ui/section-header/section-header.d.ts.map +1 -1
- package/dist/ui/segment-card/segment-card-preview.cjs +1 -1
- package/dist/ui/segment-card/segment-card-preview.d.ts +1 -1
- package/dist/ui/segment-card/segment-card-preview.d.ts.map +1 -1
- package/dist/ui/segment-card/segment-card-preview.js +1 -1
- package/dist/ui/segment-card/segment-card.d.ts +1 -1
- package/dist/ui/segment-card/segment-card.d.ts.map +1 -1
- package/dist/ui/segment-row/segment-row-preview.cjs +1 -1
- package/dist/ui/segment-row/segment-row-preview.d.ts +1 -1
- package/dist/ui/segment-row/segment-row-preview.d.ts.map +1 -1
- package/dist/ui/segment-row/segment-row-preview.js +1 -1
- package/dist/ui/segment-row/segment-row.cjs +1 -1
- package/dist/ui/segment-row/segment-row.d.ts +1 -1
- package/dist/ui/segment-row/segment-row.d.ts.map +1 -1
- package/dist/ui/segment-row/segment-row.js +1 -1
- package/dist/ui/side-flexpane/side-flexpane-preview.cjs +1 -1
- package/dist/ui/side-flexpane/side-flexpane-preview.d.ts +1 -1
- package/dist/ui/side-flexpane/side-flexpane-preview.d.ts.map +1 -1
- package/dist/ui/side-flexpane/side-flexpane-preview.js +1 -1
- package/dist/ui/side-flexpane/side-flexpane.d.ts +1 -1
- package/dist/ui/side-flexpane/side-flexpane.d.ts.map +1 -1
- package/dist/ui/sidebar-nav-item/sidebar-nav-item-preview.cjs +2 -2
- package/dist/ui/sidebar-nav-item/sidebar-nav-item-preview.d.ts +1 -1
- package/dist/ui/sidebar-nav-item/sidebar-nav-item-preview.d.ts.map +1 -1
- package/dist/ui/sidebar-nav-item/sidebar-nav-item-preview.js +2 -2
- package/dist/ui/sidebar-nav-item/sidebar-nav-item.d.ts +1 -1
- package/dist/ui/sidebar-nav-item/sidebar-nav-item.d.ts.map +1 -1
- package/dist/ui/sidebar-nav-trigger/sidebar-nav-trigger-preview.cjs +1 -1
- package/dist/ui/sidebar-nav-trigger/sidebar-nav-trigger-preview.d.ts +1 -1
- package/dist/ui/sidebar-nav-trigger/sidebar-nav-trigger-preview.d.ts.map +1 -1
- package/dist/ui/sidebar-nav-trigger/sidebar-nav-trigger-preview.js +1 -1
- package/dist/ui/sidebar-nav-trigger/sidebar-nav-trigger.d.ts +1 -1
- package/dist/ui/sidebar-nav-trigger/sidebar-nav-trigger.d.ts.map +1 -1
- package/dist/ui/slider/slider-preview.cjs +2 -2
- package/dist/ui/slider/slider-preview.d.ts +1 -1
- package/dist/ui/slider/slider-preview.d.ts.map +1 -1
- package/dist/ui/slider/slider-preview.js +2 -2
- package/dist/ui/slider/slider.d.ts +1 -1
- package/dist/ui/slider/slider.d.ts.map +1 -1
- package/dist/ui/stack/stack-preview.cjs +1 -1
- package/dist/ui/stack/stack-preview.d.ts +1 -1
- package/dist/ui/stack/stack-preview.d.ts.map +1 -1
- package/dist/ui/stack/stack-preview.js +1 -1
- package/dist/ui/stack/stack.d.ts +1 -1
- package/dist/ui/stack/stack.d.ts.map +1 -1
- package/dist/ui/stat-card/stat-card-preview.cjs +1 -1
- package/dist/ui/stat-card/stat-card-preview.d.ts +1 -1
- package/dist/ui/stat-card/stat-card-preview.d.ts.map +1 -1
- package/dist/ui/stat-card/stat-card-preview.js +1 -1
- package/dist/ui/stat-card/stat-card.cjs +1 -1
- package/dist/ui/stat-card/stat-card.d.ts +1 -1
- package/dist/ui/stat-card/stat-card.d.ts.map +1 -1
- package/dist/ui/stat-card/stat-card.js +1 -1
- package/dist/ui/styles.css +1 -1
- package/dist/ui/tabs/tabs-preview.cjs +2 -2
- package/dist/ui/tabs/tabs-preview.d.ts +1 -1
- package/dist/ui/tabs/tabs-preview.d.ts.map +1 -1
- package/dist/ui/tabs/tabs-preview.js +2 -2
- package/dist/ui/tabs/tabs.d.ts +1 -1
- package/dist/ui/tabs/tabs.d.ts.map +1 -1
- package/dist/ui/tabs-underline/tabs-underline-preview.cjs +2 -2
- package/dist/ui/tabs-underline/tabs-underline-preview.d.ts +1 -1
- package/dist/ui/tabs-underline/tabs-underline-preview.d.ts.map +1 -1
- package/dist/ui/tabs-underline/tabs-underline-preview.js +2 -2
- package/dist/ui/tabs-underline/tabs-underline.d.ts +1 -1
- package/dist/ui/tabs-underline/tabs-underline.d.ts.map +1 -1
- package/dist/ui/tag/tag-preview.cjs +2 -2
- package/dist/ui/tag/tag-preview.d.ts +1 -1
- package/dist/ui/tag/tag-preview.d.ts.map +1 -1
- package/dist/ui/tag/tag-preview.js +2 -2
- package/dist/ui/tag/tag.d.ts +1 -1
- package/dist/ui/tag/tag.d.ts.map +1 -1
- package/dist/ui/thumbnail/thumbnail-preview.cjs +1 -1
- package/dist/ui/thumbnail/thumbnail-preview.d.ts +1 -1
- package/dist/ui/thumbnail/thumbnail-preview.d.ts.map +1 -1
- package/dist/ui/thumbnail/thumbnail-preview.js +1 -1
- package/dist/ui/thumbnail/thumbnail.cjs +1 -1
- package/dist/ui/thumbnail/thumbnail.d.ts +1 -1
- package/dist/ui/thumbnail/thumbnail.d.ts.map +1 -1
- package/dist/ui/thumbnail/thumbnail.js +1 -1
- package/dist/ui/time-input/time-input-preview.cjs +1 -1
- package/dist/ui/time-input/time-input-preview.d.ts +1 -1
- package/dist/ui/time-input/time-input-preview.d.ts.map +1 -1
- package/dist/ui/time-input/time-input-preview.js +1 -1
- package/dist/ui/time-input/time-input.d.ts +1 -1
- package/dist/ui/time-input/time-input.d.ts.map +1 -1
- package/dist/ui/timeline-entry/timeline-entry-preview.cjs +2 -2
- package/dist/ui/timeline-entry/timeline-entry-preview.d.ts +1 -1
- package/dist/ui/timeline-entry/timeline-entry-preview.d.ts.map +1 -1
- package/dist/ui/timeline-entry/timeline-entry-preview.js +2 -2
- package/dist/ui/timeline-entry/timeline-entry.d.ts +1 -1
- package/dist/ui/timeline-entry/timeline-entry.d.ts.map +1 -1
- package/dist/ui/toast/toast-preview.cjs +1 -1
- package/dist/ui/toast/toast-preview.d.ts +1 -1
- package/dist/ui/toast/toast-preview.d.ts.map +1 -1
- package/dist/ui/toast/toast-preview.js +1 -1
- package/dist/ui/toast/toast.cjs.map +1 -1
- package/dist/ui/toast/toast.d.ts +3 -3
- package/dist/ui/toast/toast.d.ts.map +1 -1
- package/dist/ui/toast/toast.js.map +1 -1
- package/dist/ui/toggle-switch/toggle-preview.cjs +1 -1
- package/dist/ui/toggle-switch/toggle-preview.d.ts +1 -1
- package/dist/ui/toggle-switch/toggle-preview.d.ts.map +1 -1
- package/dist/ui/toggle-switch/toggle-preview.js +1 -1
- package/dist/ui/toggle-switch/toggle-switch.cjs +1 -1
- package/dist/ui/toggle-switch/toggle-switch.d.ts +1 -1
- package/dist/ui/toggle-switch/toggle-switch.d.ts.map +1 -1
- package/dist/ui/toggle-switch/toggle-switch.js +1 -1
- package/dist/ui/tooltip/content-tooltip-preview.cjs +1 -1
- package/dist/ui/tooltip/content-tooltip-preview.d.ts +1 -1
- package/dist/ui/tooltip/content-tooltip-preview.d.ts.map +1 -1
- package/dist/ui/tooltip/content-tooltip-preview.js +1 -1
- package/dist/ui/tooltip/tooltip-preview.d.ts +1 -1
- package/dist/ui/tooltip/tooltip-preview.d.ts.map +1 -1
- package/dist/ui/tooltip/tooltip.d.ts +2 -2
- package/dist/ui/tooltip/tooltip.d.ts.map +1 -1
- package/dist/ui/type-overview-card/type-overview-card-preview.cjs +2 -2
- package/dist/ui/type-overview-card/type-overview-card-preview.d.ts +1 -1
- package/dist/ui/type-overview-card/type-overview-card-preview.d.ts.map +1 -1
- package/dist/ui/type-overview-card/type-overview-card-preview.js +2 -2
- package/dist/ui/type-overview-card/type-overview-card.cjs +2 -2
- package/dist/ui/type-overview-card/type-overview-card.d.ts +1 -1
- package/dist/ui/type-overview-card/type-overview-card.d.ts.map +1 -1
- package/dist/ui/type-overview-card/type-overview-card.js +2 -2
- package/dist/ui/view-switcher/view-switcher-preview.cjs +2 -2
- package/dist/ui/view-switcher/view-switcher-preview.d.ts +1 -1
- package/dist/ui/view-switcher/view-switcher-preview.d.ts.map +1 -1
- package/dist/ui/view-switcher/view-switcher-preview.js +2 -2
- package/dist/ui/view-switcher/view-switcher.d.ts +1 -1
- package/dist/ui/view-switcher/view-switcher.d.ts.map +1 -1
- package/package.json +23 -8
- package/dist/studio/lib/registry/composite.cjs +0 -1732
- package/dist/studio/lib/registry/composite.cjs.map +0 -1
- package/dist/studio/lib/registry/composite.d.ts +0 -3
- package/dist/studio/lib/registry/composite.d.ts.map +0 -1
- package/dist/studio/lib/registry/composite.js +0 -1708
- package/dist/studio/lib/registry/composite.js.map +0 -1
- package/dist/studio/lib/registry/inputs.cjs +0 -1980
- package/dist/studio/lib/registry/inputs.cjs.map +0 -1
- package/dist/studio/lib/registry/inputs.d.ts +0 -3
- package/dist/studio/lib/registry/inputs.d.ts.map +0 -1
- package/dist/studio/lib/registry/inputs.js +0 -1956
- package/dist/studio/lib/registry/inputs.js.map +0 -1
- package/dist/studio/shell/properties-panel.cjs +0 -873
- package/dist/studio/shell/properties-panel.cjs.map +0 -1
- package/dist/studio/shell/properties-panel.d.ts.map +0 -1
- package/dist/studio/shell/properties-panel.js +0 -849
- package/dist/studio/shell/properties-panel.js.map +0 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var menu_exports = {};
|
|
20
|
+
__export(menu_exports, {
|
|
21
|
+
menuDef: () => menuDef
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(menu_exports);
|
|
24
|
+
const menuDef = {
|
|
25
|
+
id: "menu",
|
|
26
|
+
name: "Menu (Action Menu)",
|
|
27
|
+
category: "Inputs",
|
|
28
|
+
description: "Action / dropdown menu \u2014 a list of commands invoked from a consumer-owned trigger (a \u22EE IconButton, a Button, anything). Built on the same headless Popover as Listbox (positioning, portal, outside-click, Escape) but with menu semantics (role=menu / menuitem / separator) and NO selected-value state: pick a row \u2192 run its action \u2192 dismiss. Reach for Listbox/Select when you need to HOLD a chosen value; reach for Menu for row \u22EE actions, overflow menus, and command lists. Supports leading icons (optionally tinted per row via the item's iconColor), trailing hints (e.g. shortcuts), optional two-line rows (a headline label + a supporting subtitle), separators, disabled rows, destructive (danger) items, and a Current row for context switchers \u2014 a workspace / scope / view picker (aria-current + a trailing checkmark + heavier label \u2014 it REFLECTS where the user is, it does not hold a value). Panel width follows the trigger when matchAnchorWidth is set (a field-like switcher trigger) and comes from content otherwise (a kebab trigger). The Shape picker swaps the live panel between the atom's two shapes \u2014 row actions (every row a command, destructive last, kebab trigger, default bottom-end) and a context switcher (sibling contexts plus one command under a separator, exactly one Current row, field trigger, matchAnchorWidth='min' + bottom-start). Both share every knob and class; only the entries differ. This entry themes the PANEL + rows; the trigger is owned entirely by the consumer's renderTrigger.",
|
|
29
|
+
styleProperties: [
|
|
30
|
+
// Panel chrome — the floating card.
|
|
31
|
+
{ key: "panelBg", label: "Background", control: "color", defaultValue: "var(--color-card)", section: "panel" },
|
|
32
|
+
{ key: "panelBorder", label: "Border", control: "color", defaultValue: "var(--color-border)", section: "panel" },
|
|
33
|
+
{ key: "panelRadius", label: "Radius", control: "slider", defaultValue: 8, min: 0, max: 16, step: 1, unit: "px", section: "panel" },
|
|
34
|
+
{ key: "panelMaxHeight", label: "Max Height", control: "number", defaultValue: 360, min: 120, max: 600, step: 20, unit: "px", section: "panel" },
|
|
35
|
+
// Drop shadow — decomposed into Color / Blur / Offset Y instead of a
|
|
36
|
+
// raw `box-shadow` text field, so designers tune it with a colour
|
|
37
|
+
// picker + sliders. Same pattern as the Calendar atom; the box-shadow
|
|
38
|
+
// is composed from these three vars in styles.css. Defaults match the
|
|
39
|
+
// floating-panel elevation (0 6px 20px rgba(0,0,0,0.10)).
|
|
40
|
+
{ key: "shadowColor", label: "Color", control: "color", defaultValue: "rgba(0, 0, 0, 0.10)", section: "shadow" },
|
|
41
|
+
{ key: "shadowBlur", label: "Blur", control: "slider", defaultValue: 20, min: 0, max: 48, step: 1, unit: "px", section: "shadow" },
|
|
42
|
+
{ key: "shadowOffsetY", label: "Offset Y", control: "slider", defaultValue: 6, min: 0, max: 24, step: 1, unit: "px", section: "shadow" },
|
|
43
|
+
// Item row — sizing knobs apply across all states.
|
|
44
|
+
{ key: "itemPaddingX", label: "Padding X", control: "number", defaultValue: 10, min: 4, max: 20, step: 1, unit: "px", section: "item" },
|
|
45
|
+
{ key: "itemPaddingY", label: "Padding Y", control: "number", defaultValue: 7, min: 2, max: 14, step: 1, unit: "px", section: "item" },
|
|
46
|
+
{ key: "itemFontSize", label: "Font Size", control: "number", defaultValue: 13, min: 10, max: 18, step: 1, unit: "px", section: "item" },
|
|
47
|
+
{ key: "itemRadius", label: "Radius", control: "slider", defaultValue: 4, min: 0, max: 12, step: 1, unit: "px", section: "item" },
|
|
48
|
+
// Per-state colours — scoped by the `state` showcase variant so only
|
|
49
|
+
// the knobs relevant to the displayed row state are visible. Mirrors
|
|
50
|
+
// the listbox / select-dropdown convention. "Hover" covers both
|
|
51
|
+
// mouse hover and keyboard arrow-key highlight (same `--active`
|
|
52
|
+
// class). Default row has no surface of its own (panel bg shows
|
|
53
|
+
// through), so only text colour is exposed there.
|
|
54
|
+
{ key: "itemColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "itemState", showWhen: { state: "default" } },
|
|
55
|
+
{ key: "itemActiveBg", label: "Background", control: "color", defaultValue: "var(--color-surface-alt)", section: "itemState", showWhen: { state: "hover" } },
|
|
56
|
+
{ key: "itemActiveColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "itemState", showWhen: { state: "hover" } },
|
|
57
|
+
{ key: "itemDisabledOpacity", label: "Opacity", control: "slider", defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: "itemState", showWhen: { state: "disabled" } },
|
|
58
|
+
// Destructive rows (Delete etc.) — danger text at rest, danger-tinted
|
|
59
|
+
// surface when highlighted.
|
|
60
|
+
{ key: "itemDangerColor", label: "Text", control: "color", defaultValue: "var(--color-danger-text)", section: "itemState", showWhen: { state: "danger" } },
|
|
61
|
+
{ key: "itemDangerActiveBg", label: "Hover Background", control: "color", defaultValue: "var(--color-danger-bg)", section: "itemState", showWhen: { state: "danger" } },
|
|
62
|
+
// The row the user is currently ON (a switcher's active workspace) —
|
|
63
|
+
// weight + a trailing checkmark, no colour of its own so `itemColor`
|
|
64
|
+
// and the danger tone keep reaching it and the checkmark inherits the
|
|
65
|
+
// row. Background defaults to transparent: a resting tint collided
|
|
66
|
+
// with the hover surface, whose default is the obvious
|
|
67
|
+
// `--color-surface-alt`. The knob stays so a designer can opt in; the
|
|
68
|
+
// CSS rule order keeps hover on top of it either way.
|
|
69
|
+
{ key: "itemCurrentBg", label: "Background", control: "color", defaultValue: "transparent", section: "itemState", showWhen: { state: "current" } },
|
|
70
|
+
{ key: "itemCurrentFontWeight", label: "Font Weight", control: "select", defaultValue: "600", options: ["400", "500", "600", "700"], section: "itemState", showWhen: { state: "current" } },
|
|
71
|
+
// Leading icon colour at rest (tracks the row text colour when
|
|
72
|
+
// active / danger — no separate knobs for those states).
|
|
73
|
+
//
|
|
74
|
+
// `--color-text-strong`, not `--color-text-subtle`: subtle measures
|
|
75
|
+
// 1.48:1 on the panel in the light theme (2.85:1 dark), below even the
|
|
76
|
+
// 3:1 non-text floor, and ends up fainter than a disabled row — a live
|
|
77
|
+
// glyph read as switched off. See the note in menu.scss.
|
|
78
|
+
{ key: "itemIconColor", label: "Color", control: "color", defaultValue: "var(--color-text-strong)", section: "icon", showWhen: { withIcons: "yes" } },
|
|
79
|
+
// Trailing hint (a shortcut echo like ⌘C). Muted is BELOW the AA floor
|
|
80
|
+
// for text at 2.54:1 — a deliberate exception because the hint carries
|
|
81
|
+
// no content the label lacks. The subtitle below refuses the same token
|
|
82
|
+
// for exactly the opposite reason; see menu.scss.
|
|
83
|
+
{ key: "itemHintFontSize", label: "Font Size", control: "number", defaultValue: 12, min: 9, max: 16, step: 1, unit: "px", section: "hint", showWhen: { withHints: "yes" } },
|
|
84
|
+
{ key: "itemHintColor", label: "Color", control: "color", defaultValue: "var(--color-text-muted)", section: "hint", showWhen: { withHints: "yes" } },
|
|
85
|
+
// Two-line rows — a headline (label) plus a supporting subtitle
|
|
86
|
+
// beneath. Only shown when the Subtitles variant is on.
|
|
87
|
+
{ key: "itemSubtitleFontSize", label: "Font Size", control: "number", defaultValue: 11, min: 9, max: 16, step: 1, unit: "px", section: "subtitle", showWhen: { withSubtitles: "yes" } },
|
|
88
|
+
// Default is text-STRONG, not text-muted: muted fails WCAG AA on the
|
|
89
|
+
// panel in the light theme (2.54:1) and a subtitle carries real content.
|
|
90
|
+
// See the note in menu.scss.
|
|
91
|
+
{ key: "itemSubtitleColor", label: "Color", control: "color", defaultValue: "var(--color-text-strong)", section: "subtitle", showWhen: { withSubtitles: "yes" } },
|
|
92
|
+
{ key: "itemSubtitleGap", label: "Row Gap", control: "number", defaultValue: 2, min: 0, max: 8, step: 1, unit: "px", section: "subtitle", showWhen: { withSubtitles: "yes" } },
|
|
93
|
+
// Separator divider colour. A separator divides ROWS, so the single-row
|
|
94
|
+
// static showcase has nothing to draw it between — open the live menu to
|
|
95
|
+
// see this one land.
|
|
96
|
+
{ key: "separatorColor", label: "Color", control: "color", defaultValue: "var(--color-border)", section: "separator", showWhen: { withSeparator: "yes" } }
|
|
97
|
+
],
|
|
98
|
+
layoutVariants: [
|
|
99
|
+
{
|
|
100
|
+
// Which state the static showcase rows paint. The interactive
|
|
101
|
+
// instance (a real ⋮ trigger) below is always live — hover /
|
|
102
|
+
// keyboard exercise the real CSS independently. This picker is
|
|
103
|
+
// purely to VISUALLY confirm each per-state knob without having
|
|
104
|
+
// to hover the live menu.
|
|
105
|
+
key: "state",
|
|
106
|
+
label: "Row State",
|
|
107
|
+
options: [
|
|
108
|
+
{ value: "default", label: "Default" },
|
|
109
|
+
{ value: "hover", label: "Hover" },
|
|
110
|
+
{ value: "disabled", label: "Disabled" },
|
|
111
|
+
{ value: "danger", label: "Danger" },
|
|
112
|
+
// `current` is ORTHOGONAL to the others — a row can be current and
|
|
113
|
+
// hovered and disabled at once — so this option is a knob-scoping
|
|
114
|
+
// device, not a claim of exclusivity (the same licence `hover` and
|
|
115
|
+
// `disabled` already take here). The showcase paints the picked state
|
|
116
|
+
// on its single row AT REST and never stacks one state on another:
|
|
117
|
+
// forcing the highlight under `Current` made it contradict its own
|
|
118
|
+
// knobs (`itemCurrentBg` defaults to `transparent`) and read as
|
|
119
|
+
// "current has a background". Hover the current row in the LIVE menu
|
|
120
|
+
// to see the two compose.
|
|
121
|
+
{ value: "current", label: "Current" }
|
|
122
|
+
],
|
|
123
|
+
defaultValue: "default"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
// Which of the atom's two shapes the LIVE panel demonstrates. Both are
|
|
127
|
+
// legitimately this atom — they share every knob, every class and the
|
|
128
|
+
// same ARIA; only the entries differ, plus the trigger and placement a
|
|
129
|
+
// consumer would pick. Scopes no knobs on purpose: it changes the
|
|
130
|
+
// example, not the knob set. It exists because collapsing the demo to
|
|
131
|
+
// one shape hid the other, and mixing them into one list made a
|
|
132
|
+
// switcher row stick out among commands — telling two stories at once.
|
|
133
|
+
key: "shape",
|
|
134
|
+
label: "Shape",
|
|
135
|
+
options: [
|
|
136
|
+
{ value: "actions", label: "Row actions" },
|
|
137
|
+
{ value: "switcher", label: "Switcher" }
|
|
138
|
+
],
|
|
139
|
+
defaultValue: "actions"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
key: "withIcons",
|
|
143
|
+
label: "Leading Icons",
|
|
144
|
+
options: [
|
|
145
|
+
{ value: "yes", label: "On" },
|
|
146
|
+
{ value: "no", label: "Off" }
|
|
147
|
+
],
|
|
148
|
+
defaultValue: "yes"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: "withSeparator",
|
|
152
|
+
label: "Separator",
|
|
153
|
+
options: [
|
|
154
|
+
{ value: "yes", label: "On" },
|
|
155
|
+
{ value: "no", label: "Off" }
|
|
156
|
+
],
|
|
157
|
+
defaultValue: "yes"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
// Trailing shortcut hints. Off by default: with Subtitles also on, a
|
|
161
|
+
// row concatenates label + subtitle + hint into one accessible name
|
|
162
|
+
// — the anti-pattern the README warns about. Worth being able to SEE
|
|
163
|
+
// (it is also visually tight inside maxWidth 280), not worth
|
|
164
|
+
// shipping as the baseline.
|
|
165
|
+
key: "withHints",
|
|
166
|
+
label: "Hints",
|
|
167
|
+
options: [
|
|
168
|
+
{ value: "yes", label: "On" },
|
|
169
|
+
{ value: "no", label: "Off" }
|
|
170
|
+
],
|
|
171
|
+
defaultValue: "no"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
// Turns each row into a two-line headline + subtitle item. Off by
|
|
175
|
+
// default so the classic single-line menu is the baseline.
|
|
176
|
+
key: "withSubtitles",
|
|
177
|
+
label: "Subtitles",
|
|
178
|
+
options: [
|
|
179
|
+
{ value: "yes", label: "On" },
|
|
180
|
+
{ value: "no", label: "Off" }
|
|
181
|
+
],
|
|
182
|
+
defaultValue: "no"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
events: [
|
|
186
|
+
{ name: "onSelect", description: "Fires when an item is invoked (click / Enter / Space). The menu closes afterward. Per-item \u2014 wired via each item's `onSelect`.", payload: "void" },
|
|
187
|
+
{ name: "onOpenChange", description: "Fires when the menu opens or closes.", payload: "boolean" }
|
|
188
|
+
],
|
|
189
|
+
api: {
|
|
190
|
+
importPath: "@viax.io/uxm/ui",
|
|
191
|
+
importNames: "Menu",
|
|
192
|
+
props: [
|
|
193
|
+
{ name: "items", type: "MenuEntry[]", required: true, description: "Menu entries \u2014 actionable items ({ key, label, subtitle?, icon?, iconColor?, hint?, onSelect?, disabled?, danger?, current? }) and separators ({ separator: true }), in display order. Pass `subtitle` to render a two-line row (label = headline), `iconColor` to tint ONE row's glyph (prefer a `var(--color-*)` reference; raw hex only for entity-identity colours), and `current` to mark the row the user is already on (aria-current + trailing checkmark + heavier label)." },
|
|
194
|
+
{ name: "renderTrigger", type: "(api: { open, triggerProps }) => ReactNode", required: true, description: "Render the trigger. Spread `triggerProps` on your interactive element (an IconButton \u22EE, a Button) \u2014 wires ref + click + ARIA in one go." },
|
|
195
|
+
{ name: "placement", type: '"bottom-start" | "bottom-end" | "top-start" | "top-end"', defaultValue: '"bottom-end"', description: "Preferred placement; flips on overflow. Defaults to bottom-end since menus usually align to a trailing \u22EE." },
|
|
196
|
+
{ name: "open", type: "boolean", description: "Controlled open state. Pair with onOpenChange. Omit for uncontrolled." },
|
|
197
|
+
{ name: "onOpenChange", type: "(open: boolean) => void", description: "Called whenever the menu wants to open/close." },
|
|
198
|
+
{ name: "minWidth", type: "number", defaultValue: "160", description: "Minimum panel width in px." },
|
|
199
|
+
{ name: "maxWidth", type: "number", defaultValue: "280", description: "Maximum panel width in px \u2014 long labels truncate beyond it. The default applies only while matchAnchorWidth is off." },
|
|
200
|
+
{ name: "matchAnchorWidth", type: 'boolean | "min"', defaultValue: "false", description: `Tie the panel width to the trigger: true makes it equal, "min" makes the trigger width a floor the panel can grow past. Use it for a field-like trigger that displays a value (a workspace switcher) \u2014 the panel then reads as a continuation of the control, the native <select> convention; "min" is the forgiving choice since user-authored labels outgrow a fixed width. Never use it with an icon-only / kebab trigger: you would get a 32px panel, which is why the default is false and placement is bottom-end. Setting it also drops the 160/280 defaults, which would otherwise clamp a wide trigger's panel narrower than the trigger. Restoring bounds is asymmetric: maxWidth is always honoured, but minWidth is ignored under 'min' (Popover makes the measured anchor width the floor) \u2014 use true plus an explicit minWidth if you need a floor wider than the trigger.` }
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
205
|
+
0 && (module.exports = {
|
|
206
|
+
menuDef
|
|
207
|
+
});
|
|
208
|
+
//# sourceMappingURL=menu.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/studio/lib/registry/inputs/menu.ts"],"sourcesContent":["import type { ComponentDef } from '../../types';\n\nexport const menuDef: ComponentDef = {\n id: 'menu',\n name: 'Menu (Action Menu)',\n category: 'Inputs',\n description:\n \"Action / dropdown menu — a list of commands invoked from a consumer-owned trigger (a ⋮ IconButton, a Button, anything). Built on the same headless Popover as Listbox (positioning, portal, outside-click, Escape) but with menu semantics (role=menu / menuitem / separator) and NO selected-value state: pick a row → run its action → dismiss. Reach for Listbox/Select when you need to HOLD a chosen value; reach for Menu for row ⋮ actions, overflow menus, and command lists. Supports leading icons (optionally tinted per row via the item's iconColor), trailing hints (e.g. shortcuts), optional two-line rows (a headline label + a supporting subtitle), separators, disabled rows, destructive (danger) items, and a Current row for context switchers — a workspace / scope / view picker (aria-current + a trailing checkmark + heavier label — it REFLECTS where the user is, it does not hold a value). Panel width follows the trigger when matchAnchorWidth is set (a field-like switcher trigger) and comes from content otherwise (a kebab trigger). The Shape picker swaps the live panel between the atom's two shapes — row actions (every row a command, destructive last, kebab trigger, default bottom-end) and a context switcher (sibling contexts plus one command under a separator, exactly one Current row, field trigger, matchAnchorWidth='min' + bottom-start). Both share every knob and class; only the entries differ. This entry themes the PANEL + rows; the trigger is owned entirely by the consumer's renderTrigger.\",\n styleProperties: [\n // Panel chrome — the floating card.\n { key: 'panelBg', label: 'Background', control: 'color', defaultValue: 'var(--color-card)', section: 'panel' },\n { key: 'panelBorder', label: 'Border', control: 'color', defaultValue: 'var(--color-border)', section: 'panel' },\n { key: 'panelRadius', label: 'Radius', control: 'slider', defaultValue: 8, min: 0, max: 16, step: 1, unit: 'px', section: 'panel' },\n { key: 'panelMaxHeight', label: 'Max Height', control: 'number', defaultValue: 360, min: 120, max: 600, step: 20, unit: 'px', section: 'panel' },\n\n // Drop shadow — decomposed into Color / Blur / Offset Y instead of a\n // raw `box-shadow` text field, so designers tune it with a colour\n // picker + sliders. Same pattern as the Calendar atom; the box-shadow\n // is composed from these three vars in styles.css. Defaults match the\n // floating-panel elevation (0 6px 20px rgba(0,0,0,0.10)).\n { key: 'shadowColor', label: 'Color', control: 'color', defaultValue: 'rgba(0, 0, 0, 0.10)', section: 'shadow' },\n { key: 'shadowBlur', label: 'Blur', control: 'slider', defaultValue: 20, min: 0, max: 48, step: 1, unit: 'px', section: 'shadow' },\n { key: 'shadowOffsetY', label: 'Offset Y', control: 'slider', defaultValue: 6, min: 0, max: 24, step: 1, unit: 'px', section: 'shadow' },\n\n // Item row — sizing knobs apply across all states.\n { key: 'itemPaddingX', label: 'Padding X', control: 'number', defaultValue: 10, min: 4, max: 20, step: 1, unit: 'px', section: 'item' },\n { key: 'itemPaddingY', label: 'Padding Y', control: 'number', defaultValue: 7, min: 2, max: 14, step: 1, unit: 'px', section: 'item' },\n { key: 'itemFontSize', label: 'Font Size', control: 'number', defaultValue: 13, min: 10, max: 18, step: 1, unit: 'px', section: 'item' },\n { key: 'itemRadius', label: 'Radius', control: 'slider', defaultValue: 4, min: 0, max: 12, step: 1, unit: 'px', section: 'item' },\n\n // Per-state colours — scoped by the `state` showcase variant so only\n // the knobs relevant to the displayed row state are visible. Mirrors\n // the listbox / select-dropdown convention. \"Hover\" covers both\n // mouse hover and keyboard arrow-key highlight (same `--active`\n // class). Default row has no surface of its own (panel bg shows\n // through), so only text colour is exposed there.\n { key: 'itemColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'itemState', showWhen: { state: 'default' } },\n\n { key: 'itemActiveBg', label: 'Background', control: 'color', defaultValue: 'var(--color-surface-alt)', section: 'itemState', showWhen: { state: 'hover' } },\n { key: 'itemActiveColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'itemState', showWhen: { state: 'hover' } },\n\n { key: 'itemDisabledOpacity', label: 'Opacity', control: 'slider', defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: 'itemState', showWhen: { state: 'disabled' } },\n\n // Destructive rows (Delete etc.) — danger text at rest, danger-tinted\n // surface when highlighted.\n { key: 'itemDangerColor', label: 'Text', control: 'color', defaultValue: 'var(--color-danger-text)', section: 'itemState', showWhen: { state: 'danger' } },\n { key: 'itemDangerActiveBg', label: 'Hover Background', control: 'color', defaultValue: 'var(--color-danger-bg)', section: 'itemState', showWhen: { state: 'danger' } },\n\n // The row the user is currently ON (a switcher's active workspace) —\n // weight + a trailing checkmark, no colour of its own so `itemColor`\n // and the danger tone keep reaching it and the checkmark inherits the\n // row. Background defaults to transparent: a resting tint collided\n // with the hover surface, whose default is the obvious\n // `--color-surface-alt`. The knob stays so a designer can opt in; the\n // CSS rule order keeps hover on top of it either way.\n { key: 'itemCurrentBg', label: 'Background', control: 'color', defaultValue: 'transparent', section: 'itemState', showWhen: { state: 'current' } },\n { key: 'itemCurrentFontWeight', label: 'Font Weight', control: 'select', defaultValue: '600', options: ['400', '500', '600', '700'], section: 'itemState', showWhen: { state: 'current' } },\n\n // Leading icon colour at rest (tracks the row text colour when\n // active / danger — no separate knobs for those states).\n //\n // `--color-text-strong`, not `--color-text-subtle`: subtle measures\n // 1.48:1 on the panel in the light theme (2.85:1 dark), below even the\n // 3:1 non-text floor, and ends up fainter than a disabled row — a live\n // glyph read as switched off. See the note in menu.scss.\n { key: 'itemIconColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-strong)', section: 'icon', showWhen: { withIcons: 'yes' } },\n\n // Trailing hint (a shortcut echo like ⌘C). Muted is BELOW the AA floor\n // for text at 2.54:1 — a deliberate exception because the hint carries\n // no content the label lacks. The subtitle below refuses the same token\n // for exactly the opposite reason; see menu.scss.\n { key: 'itemHintFontSize', label: 'Font Size', control: 'number', defaultValue: 12, min: 9, max: 16, step: 1, unit: 'px', section: 'hint', showWhen: { withHints: 'yes' } },\n { key: 'itemHintColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-muted)', section: 'hint', showWhen: { withHints: 'yes' } },\n\n // Two-line rows — a headline (label) plus a supporting subtitle\n // beneath. Only shown when the Subtitles variant is on.\n { key: 'itemSubtitleFontSize', label: 'Font Size', control: 'number', defaultValue: 11, min: 9, max: 16, step: 1, unit: 'px', section: 'subtitle', showWhen: { withSubtitles: 'yes' } },\n // Default is text-STRONG, not text-muted: muted fails WCAG AA on the\n // panel in the light theme (2.54:1) and a subtitle carries real content.\n // See the note in menu.scss.\n { key: 'itemSubtitleColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-strong)', section: 'subtitle', showWhen: { withSubtitles: 'yes' } },\n { key: 'itemSubtitleGap', label: 'Row Gap', control: 'number', defaultValue: 2, min: 0, max: 8, step: 1, unit: 'px', section: 'subtitle', showWhen: { withSubtitles: 'yes' } },\n\n // Separator divider colour. A separator divides ROWS, so the single-row\n // static showcase has nothing to draw it between — open the live menu to\n // see this one land.\n { key: 'separatorColor', label: 'Color', control: 'color', defaultValue: 'var(--color-border)', section: 'separator', showWhen: { withSeparator: 'yes' } },\n ],\n layoutVariants: [\n {\n // Which state the static showcase rows paint. The interactive\n // instance (a real ⋮ trigger) below is always live — hover /\n // keyboard exercise the real CSS independently. This picker is\n // purely to VISUALLY confirm each per-state knob without having\n // to hover the live menu.\n key: 'state',\n label: 'Row State',\n options: [\n { value: 'default', label: 'Default' },\n { value: 'hover', label: 'Hover' },\n { value: 'disabled', label: 'Disabled' },\n { value: 'danger', label: 'Danger' },\n // `current` is ORTHOGONAL to the others — a row can be current and\n // hovered and disabled at once — so this option is a knob-scoping\n // device, not a claim of exclusivity (the same licence `hover` and\n // `disabled` already take here). The showcase paints the picked state\n // on its single row AT REST and never stacks one state on another:\n // forcing the highlight under `Current` made it contradict its own\n // knobs (`itemCurrentBg` defaults to `transparent`) and read as\n // \"current has a background\". Hover the current row in the LIVE menu\n // to see the two compose.\n { value: 'current', label: 'Current' },\n ],\n defaultValue: 'default',\n },\n {\n // Which of the atom's two shapes the LIVE panel demonstrates. Both are\n // legitimately this atom — they share every knob, every class and the\n // same ARIA; only the entries differ, plus the trigger and placement a\n // consumer would pick. Scopes no knobs on purpose: it changes the\n // example, not the knob set. It exists because collapsing the demo to\n // one shape hid the other, and mixing them into one list made a\n // switcher row stick out among commands — telling two stories at once.\n key: 'shape',\n label: 'Shape',\n options: [\n { value: 'actions', label: 'Row actions' },\n { value: 'switcher', label: 'Switcher' },\n ],\n defaultValue: 'actions',\n },\n {\n key: 'withIcons',\n label: 'Leading Icons',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'yes',\n },\n {\n key: 'withSeparator',\n label: 'Separator',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'yes',\n },\n {\n // Trailing shortcut hints. Off by default: with Subtitles also on, a\n // row concatenates label + subtitle + hint into one accessible name\n // — the anti-pattern the README warns about. Worth being able to SEE\n // (it is also visually tight inside maxWidth 280), not worth\n // shipping as the baseline.\n key: 'withHints',\n label: 'Hints',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'no',\n },\n {\n // Turns each row into a two-line headline + subtitle item. Off by\n // default so the classic single-line menu is the baseline.\n key: 'withSubtitles',\n label: 'Subtitles',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'no',\n },\n ],\n events: [\n { name: 'onSelect', description: \"Fires when an item is invoked (click / Enter / Space). The menu closes afterward. Per-item — wired via each item's `onSelect`.\", payload: 'void' },\n { name: 'onOpenChange', description: 'Fires when the menu opens or closes.', payload: 'boolean' },\n ],\n api: {\n importPath: '@viax.io/uxm/ui',\n importNames: 'Menu',\n props: [\n { name: 'items', type: 'MenuEntry[]', required: true, description: 'Menu entries — actionable items ({ key, label, subtitle?, icon?, iconColor?, hint?, onSelect?, disabled?, danger?, current? }) and separators ({ separator: true }), in display order. Pass `subtitle` to render a two-line row (label = headline), `iconColor` to tint ONE row\\'s glyph (prefer a `var(--color-*)` reference; raw hex only for entity-identity colours), and `current` to mark the row the user is already on (aria-current + trailing checkmark + heavier label).' },\n { name: 'renderTrigger', type: '(api: { open, triggerProps }) => ReactNode', required: true, description: 'Render the trigger. Spread `triggerProps` on your interactive element (an IconButton ⋮, a Button) — wires ref + click + ARIA in one go.' },\n { name: 'placement', type: '\"bottom-start\" | \"bottom-end\" | \"top-start\" | \"top-end\"', defaultValue: '\"bottom-end\"', description: 'Preferred placement; flips on overflow. Defaults to bottom-end since menus usually align to a trailing ⋮.' },\n { name: 'open', type: 'boolean', description: 'Controlled open state. Pair with onOpenChange. Omit for uncontrolled.' },\n { name: 'onOpenChange', type: '(open: boolean) => void', description: 'Called whenever the menu wants to open/close.' },\n { name: 'minWidth', type: 'number', defaultValue: '160', description: 'Minimum panel width in px.' },\n { name: 'maxWidth', type: 'number', defaultValue: '280', description: 'Maximum panel width in px — long labels truncate beyond it. The default applies only while matchAnchorWidth is off.' },\n { name: 'matchAnchorWidth', type: 'boolean | \"min\"', defaultValue: 'false', description: 'Tie the panel width to the trigger: true makes it equal, \"min\" makes the trigger width a floor the panel can grow past. Use it for a field-like trigger that displays a value (a workspace switcher) — the panel then reads as a continuation of the control, the native <select> convention; \"min\" is the forgiving choice since user-authored labels outgrow a fixed width. Never use it with an icon-only / kebab trigger: you would get a 32px panel, which is why the default is false and placement is bottom-end. Setting it also drops the 160/280 defaults, which would otherwise clamp a wide trigger\\'s panel narrower than the trigger. Restoring bounds is asymmetric: maxWidth is always honoured, but minWidth is ignored under \\'min\\' (Popover makes the measured anchor width the floor) — use true plus an explicit minWidth if you need a floor wider than the trigger.' },\n ],\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,UAAwB;AAAA,EACnC,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,aACE;AAAA,EACF,iBAAiB;AAAA;AAAA,IAEf,EAAE,KAAK,WAAW,OAAO,cAAc,SAAS,SAAS,cAAc,qBAAqB,SAAS,QAAQ;AAAA,IAC7G,EAAE,KAAK,eAAe,OAAO,UAAU,SAAS,SAAS,cAAc,uBAAuB,SAAS,QAAQ;AAAA,IAC/G,EAAE,KAAK,eAAe,OAAO,UAAU,SAAS,UAAU,cAAc,GAAG,KAAK,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,MAAM,SAAS,QAAQ;AAAA,IAClI,EAAE,KAAK,kBAAkB,OAAO,cAAc,SAAS,UAAU,cAAc,KAAK,KAAK,KAAK,KAAK,KAAK,MAAM,IAAI,MAAM,MAAM,SAAS,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAO/I,EAAE,KAAK,eAAe,OAAO,SAAS,SAAS,SAAS,cAAc,uBAAuB,SAAS,SAAS;AAAA,IAC/G,EAAE,KAAK,cAAc,OAAO,QAAQ,SAAS,UAAU,cAAc,IAAI,KAAK,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,MA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,OAAO,aAAa,2HAAsH;AAAA,MAC5L,EAAE,MAAM,oBAAoB,MAAM,mBAAmB,cAAc,SAAS,aAAa,q2BAA81B;AAAA,IACz7B;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../../src/studio/lib/registry/inputs/menu.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,OAAO,EAAE,YA+LrB,CAAC"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
const menuDef = {
|
|
2
|
+
id: "menu",
|
|
3
|
+
name: "Menu (Action Menu)",
|
|
4
|
+
category: "Inputs",
|
|
5
|
+
description: "Action / dropdown menu \u2014 a list of commands invoked from a consumer-owned trigger (a \u22EE IconButton, a Button, anything). Built on the same headless Popover as Listbox (positioning, portal, outside-click, Escape) but with menu semantics (role=menu / menuitem / separator) and NO selected-value state: pick a row \u2192 run its action \u2192 dismiss. Reach for Listbox/Select when you need to HOLD a chosen value; reach for Menu for row \u22EE actions, overflow menus, and command lists. Supports leading icons (optionally tinted per row via the item's iconColor), trailing hints (e.g. shortcuts), optional two-line rows (a headline label + a supporting subtitle), separators, disabled rows, destructive (danger) items, and a Current row for context switchers \u2014 a workspace / scope / view picker (aria-current + a trailing checkmark + heavier label \u2014 it REFLECTS where the user is, it does not hold a value). Panel width follows the trigger when matchAnchorWidth is set (a field-like switcher trigger) and comes from content otherwise (a kebab trigger). The Shape picker swaps the live panel between the atom's two shapes \u2014 row actions (every row a command, destructive last, kebab trigger, default bottom-end) and a context switcher (sibling contexts plus one command under a separator, exactly one Current row, field trigger, matchAnchorWidth='min' + bottom-start). Both share every knob and class; only the entries differ. This entry themes the PANEL + rows; the trigger is owned entirely by the consumer's renderTrigger.",
|
|
6
|
+
styleProperties: [
|
|
7
|
+
// Panel chrome — the floating card.
|
|
8
|
+
{ key: "panelBg", label: "Background", control: "color", defaultValue: "var(--color-card)", section: "panel" },
|
|
9
|
+
{ key: "panelBorder", label: "Border", control: "color", defaultValue: "var(--color-border)", section: "panel" },
|
|
10
|
+
{ key: "panelRadius", label: "Radius", control: "slider", defaultValue: 8, min: 0, max: 16, step: 1, unit: "px", section: "panel" },
|
|
11
|
+
{ key: "panelMaxHeight", label: "Max Height", control: "number", defaultValue: 360, min: 120, max: 600, step: 20, unit: "px", section: "panel" },
|
|
12
|
+
// Drop shadow — decomposed into Color / Blur / Offset Y instead of a
|
|
13
|
+
// raw `box-shadow` text field, so designers tune it with a colour
|
|
14
|
+
// picker + sliders. Same pattern as the Calendar atom; the box-shadow
|
|
15
|
+
// is composed from these three vars in styles.css. Defaults match the
|
|
16
|
+
// floating-panel elevation (0 6px 20px rgba(0,0,0,0.10)).
|
|
17
|
+
{ key: "shadowColor", label: "Color", control: "color", defaultValue: "rgba(0, 0, 0, 0.10)", section: "shadow" },
|
|
18
|
+
{ key: "shadowBlur", label: "Blur", control: "slider", defaultValue: 20, min: 0, max: 48, step: 1, unit: "px", section: "shadow" },
|
|
19
|
+
{ key: "shadowOffsetY", label: "Offset Y", control: "slider", defaultValue: 6, min: 0, max: 24, step: 1, unit: "px", section: "shadow" },
|
|
20
|
+
// Item row — sizing knobs apply across all states.
|
|
21
|
+
{ key: "itemPaddingX", label: "Padding X", control: "number", defaultValue: 10, min: 4, max: 20, step: 1, unit: "px", section: "item" },
|
|
22
|
+
{ key: "itemPaddingY", label: "Padding Y", control: "number", defaultValue: 7, min: 2, max: 14, step: 1, unit: "px", section: "item" },
|
|
23
|
+
{ key: "itemFontSize", label: "Font Size", control: "number", defaultValue: 13, min: 10, max: 18, step: 1, unit: "px", section: "item" },
|
|
24
|
+
{ key: "itemRadius", label: "Radius", control: "slider", defaultValue: 4, min: 0, max: 12, step: 1, unit: "px", section: "item" },
|
|
25
|
+
// Per-state colours — scoped by the `state` showcase variant so only
|
|
26
|
+
// the knobs relevant to the displayed row state are visible. Mirrors
|
|
27
|
+
// the listbox / select-dropdown convention. "Hover" covers both
|
|
28
|
+
// mouse hover and keyboard arrow-key highlight (same `--active`
|
|
29
|
+
// class). Default row has no surface of its own (panel bg shows
|
|
30
|
+
// through), so only text colour is exposed there.
|
|
31
|
+
{ key: "itemColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "itemState", showWhen: { state: "default" } },
|
|
32
|
+
{ key: "itemActiveBg", label: "Background", control: "color", defaultValue: "var(--color-surface-alt)", section: "itemState", showWhen: { state: "hover" } },
|
|
33
|
+
{ key: "itemActiveColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "itemState", showWhen: { state: "hover" } },
|
|
34
|
+
{ key: "itemDisabledOpacity", label: "Opacity", control: "slider", defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: "itemState", showWhen: { state: "disabled" } },
|
|
35
|
+
// Destructive rows (Delete etc.) — danger text at rest, danger-tinted
|
|
36
|
+
// surface when highlighted.
|
|
37
|
+
{ key: "itemDangerColor", label: "Text", control: "color", defaultValue: "var(--color-danger-text)", section: "itemState", showWhen: { state: "danger" } },
|
|
38
|
+
{ key: "itemDangerActiveBg", label: "Hover Background", control: "color", defaultValue: "var(--color-danger-bg)", section: "itemState", showWhen: { state: "danger" } },
|
|
39
|
+
// The row the user is currently ON (a switcher's active workspace) —
|
|
40
|
+
// weight + a trailing checkmark, no colour of its own so `itemColor`
|
|
41
|
+
// and the danger tone keep reaching it and the checkmark inherits the
|
|
42
|
+
// row. Background defaults to transparent: a resting tint collided
|
|
43
|
+
// with the hover surface, whose default is the obvious
|
|
44
|
+
// `--color-surface-alt`. The knob stays so a designer can opt in; the
|
|
45
|
+
// CSS rule order keeps hover on top of it either way.
|
|
46
|
+
{ key: "itemCurrentBg", label: "Background", control: "color", defaultValue: "transparent", section: "itemState", showWhen: { state: "current" } },
|
|
47
|
+
{ key: "itemCurrentFontWeight", label: "Font Weight", control: "select", defaultValue: "600", options: ["400", "500", "600", "700"], section: "itemState", showWhen: { state: "current" } },
|
|
48
|
+
// Leading icon colour at rest (tracks the row text colour when
|
|
49
|
+
// active / danger — no separate knobs for those states).
|
|
50
|
+
//
|
|
51
|
+
// `--color-text-strong`, not `--color-text-subtle`: subtle measures
|
|
52
|
+
// 1.48:1 on the panel in the light theme (2.85:1 dark), below even the
|
|
53
|
+
// 3:1 non-text floor, and ends up fainter than a disabled row — a live
|
|
54
|
+
// glyph read as switched off. See the note in menu.scss.
|
|
55
|
+
{ key: "itemIconColor", label: "Color", control: "color", defaultValue: "var(--color-text-strong)", section: "icon", showWhen: { withIcons: "yes" } },
|
|
56
|
+
// Trailing hint (a shortcut echo like ⌘C). Muted is BELOW the AA floor
|
|
57
|
+
// for text at 2.54:1 — a deliberate exception because the hint carries
|
|
58
|
+
// no content the label lacks. The subtitle below refuses the same token
|
|
59
|
+
// for exactly the opposite reason; see menu.scss.
|
|
60
|
+
{ key: "itemHintFontSize", label: "Font Size", control: "number", defaultValue: 12, min: 9, max: 16, step: 1, unit: "px", section: "hint", showWhen: { withHints: "yes" } },
|
|
61
|
+
{ key: "itemHintColor", label: "Color", control: "color", defaultValue: "var(--color-text-muted)", section: "hint", showWhen: { withHints: "yes" } },
|
|
62
|
+
// Two-line rows — a headline (label) plus a supporting subtitle
|
|
63
|
+
// beneath. Only shown when the Subtitles variant is on.
|
|
64
|
+
{ key: "itemSubtitleFontSize", label: "Font Size", control: "number", defaultValue: 11, min: 9, max: 16, step: 1, unit: "px", section: "subtitle", showWhen: { withSubtitles: "yes" } },
|
|
65
|
+
// Default is text-STRONG, not text-muted: muted fails WCAG AA on the
|
|
66
|
+
// panel in the light theme (2.54:1) and a subtitle carries real content.
|
|
67
|
+
// See the note in menu.scss.
|
|
68
|
+
{ key: "itemSubtitleColor", label: "Color", control: "color", defaultValue: "var(--color-text-strong)", section: "subtitle", showWhen: { withSubtitles: "yes" } },
|
|
69
|
+
{ key: "itemSubtitleGap", label: "Row Gap", control: "number", defaultValue: 2, min: 0, max: 8, step: 1, unit: "px", section: "subtitle", showWhen: { withSubtitles: "yes" } },
|
|
70
|
+
// Separator divider colour. A separator divides ROWS, so the single-row
|
|
71
|
+
// static showcase has nothing to draw it between — open the live menu to
|
|
72
|
+
// see this one land.
|
|
73
|
+
{ key: "separatorColor", label: "Color", control: "color", defaultValue: "var(--color-border)", section: "separator", showWhen: { withSeparator: "yes" } }
|
|
74
|
+
],
|
|
75
|
+
layoutVariants: [
|
|
76
|
+
{
|
|
77
|
+
// Which state the static showcase rows paint. The interactive
|
|
78
|
+
// instance (a real ⋮ trigger) below is always live — hover /
|
|
79
|
+
// keyboard exercise the real CSS independently. This picker is
|
|
80
|
+
// purely to VISUALLY confirm each per-state knob without having
|
|
81
|
+
// to hover the live menu.
|
|
82
|
+
key: "state",
|
|
83
|
+
label: "Row State",
|
|
84
|
+
options: [
|
|
85
|
+
{ value: "default", label: "Default" },
|
|
86
|
+
{ value: "hover", label: "Hover" },
|
|
87
|
+
{ value: "disabled", label: "Disabled" },
|
|
88
|
+
{ value: "danger", label: "Danger" },
|
|
89
|
+
// `current` is ORTHOGONAL to the others — a row can be current and
|
|
90
|
+
// hovered and disabled at once — so this option is a knob-scoping
|
|
91
|
+
// device, not a claim of exclusivity (the same licence `hover` and
|
|
92
|
+
// `disabled` already take here). The showcase paints the picked state
|
|
93
|
+
// on its single row AT REST and never stacks one state on another:
|
|
94
|
+
// forcing the highlight under `Current` made it contradict its own
|
|
95
|
+
// knobs (`itemCurrentBg` defaults to `transparent`) and read as
|
|
96
|
+
// "current has a background". Hover the current row in the LIVE menu
|
|
97
|
+
// to see the two compose.
|
|
98
|
+
{ value: "current", label: "Current" }
|
|
99
|
+
],
|
|
100
|
+
defaultValue: "default"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
// Which of the atom's two shapes the LIVE panel demonstrates. Both are
|
|
104
|
+
// legitimately this atom — they share every knob, every class and the
|
|
105
|
+
// same ARIA; only the entries differ, plus the trigger and placement a
|
|
106
|
+
// consumer would pick. Scopes no knobs on purpose: it changes the
|
|
107
|
+
// example, not the knob set. It exists because collapsing the demo to
|
|
108
|
+
// one shape hid the other, and mixing them into one list made a
|
|
109
|
+
// switcher row stick out among commands — telling two stories at once.
|
|
110
|
+
key: "shape",
|
|
111
|
+
label: "Shape",
|
|
112
|
+
options: [
|
|
113
|
+
{ value: "actions", label: "Row actions" },
|
|
114
|
+
{ value: "switcher", label: "Switcher" }
|
|
115
|
+
],
|
|
116
|
+
defaultValue: "actions"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
key: "withIcons",
|
|
120
|
+
label: "Leading Icons",
|
|
121
|
+
options: [
|
|
122
|
+
{ value: "yes", label: "On" },
|
|
123
|
+
{ value: "no", label: "Off" }
|
|
124
|
+
],
|
|
125
|
+
defaultValue: "yes"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
key: "withSeparator",
|
|
129
|
+
label: "Separator",
|
|
130
|
+
options: [
|
|
131
|
+
{ value: "yes", label: "On" },
|
|
132
|
+
{ value: "no", label: "Off" }
|
|
133
|
+
],
|
|
134
|
+
defaultValue: "yes"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
// Trailing shortcut hints. Off by default: with Subtitles also on, a
|
|
138
|
+
// row concatenates label + subtitle + hint into one accessible name
|
|
139
|
+
// — the anti-pattern the README warns about. Worth being able to SEE
|
|
140
|
+
// (it is also visually tight inside maxWidth 280), not worth
|
|
141
|
+
// shipping as the baseline.
|
|
142
|
+
key: "withHints",
|
|
143
|
+
label: "Hints",
|
|
144
|
+
options: [
|
|
145
|
+
{ value: "yes", label: "On" },
|
|
146
|
+
{ value: "no", label: "Off" }
|
|
147
|
+
],
|
|
148
|
+
defaultValue: "no"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
// Turns each row into a two-line headline + subtitle item. Off by
|
|
152
|
+
// default so the classic single-line menu is the baseline.
|
|
153
|
+
key: "withSubtitles",
|
|
154
|
+
label: "Subtitles",
|
|
155
|
+
options: [
|
|
156
|
+
{ value: "yes", label: "On" },
|
|
157
|
+
{ value: "no", label: "Off" }
|
|
158
|
+
],
|
|
159
|
+
defaultValue: "no"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
events: [
|
|
163
|
+
{ name: "onSelect", description: "Fires when an item is invoked (click / Enter / Space). The menu closes afterward. Per-item \u2014 wired via each item's `onSelect`.", payload: "void" },
|
|
164
|
+
{ name: "onOpenChange", description: "Fires when the menu opens or closes.", payload: "boolean" }
|
|
165
|
+
],
|
|
166
|
+
api: {
|
|
167
|
+
importPath: "@viax.io/uxm/ui",
|
|
168
|
+
importNames: "Menu",
|
|
169
|
+
props: [
|
|
170
|
+
{ name: "items", type: "MenuEntry[]", required: true, description: "Menu entries \u2014 actionable items ({ key, label, subtitle?, icon?, iconColor?, hint?, onSelect?, disabled?, danger?, current? }) and separators ({ separator: true }), in display order. Pass `subtitle` to render a two-line row (label = headline), `iconColor` to tint ONE row's glyph (prefer a `var(--color-*)` reference; raw hex only for entity-identity colours), and `current` to mark the row the user is already on (aria-current + trailing checkmark + heavier label)." },
|
|
171
|
+
{ name: "renderTrigger", type: "(api: { open, triggerProps }) => ReactNode", required: true, description: "Render the trigger. Spread `triggerProps` on your interactive element (an IconButton \u22EE, a Button) \u2014 wires ref + click + ARIA in one go." },
|
|
172
|
+
{ name: "placement", type: '"bottom-start" | "bottom-end" | "top-start" | "top-end"', defaultValue: '"bottom-end"', description: "Preferred placement; flips on overflow. Defaults to bottom-end since menus usually align to a trailing \u22EE." },
|
|
173
|
+
{ name: "open", type: "boolean", description: "Controlled open state. Pair with onOpenChange. Omit for uncontrolled." },
|
|
174
|
+
{ name: "onOpenChange", type: "(open: boolean) => void", description: "Called whenever the menu wants to open/close." },
|
|
175
|
+
{ name: "minWidth", type: "number", defaultValue: "160", description: "Minimum panel width in px." },
|
|
176
|
+
{ name: "maxWidth", type: "number", defaultValue: "280", description: "Maximum panel width in px \u2014 long labels truncate beyond it. The default applies only while matchAnchorWidth is off." },
|
|
177
|
+
{ name: "matchAnchorWidth", type: 'boolean | "min"', defaultValue: "false", description: `Tie the panel width to the trigger: true makes it equal, "min" makes the trigger width a floor the panel can grow past. Use it for a field-like trigger that displays a value (a workspace switcher) \u2014 the panel then reads as a continuation of the control, the native <select> convention; "min" is the forgiving choice since user-authored labels outgrow a fixed width. Never use it with an icon-only / kebab trigger: you would get a 32px panel, which is why the default is false and placement is bottom-end. Setting it also drops the 160/280 defaults, which would otherwise clamp a wide trigger's panel narrower than the trigger. Restoring bounds is asymmetric: maxWidth is always honoured, but minWidth is ignored under 'min' (Popover makes the measured anchor width the floor) \u2014 use true plus an explicit minWidth if you need a floor wider than the trigger.` }
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
export {
|
|
182
|
+
menuDef
|
|
183
|
+
};
|
|
184
|
+
//# sourceMappingURL=menu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/studio/lib/registry/inputs/menu.ts"],"sourcesContent":["import type { ComponentDef } from '../../types';\n\nexport const menuDef: ComponentDef = {\n id: 'menu',\n name: 'Menu (Action Menu)',\n category: 'Inputs',\n description:\n \"Action / dropdown menu — a list of commands invoked from a consumer-owned trigger (a ⋮ IconButton, a Button, anything). Built on the same headless Popover as Listbox (positioning, portal, outside-click, Escape) but with menu semantics (role=menu / menuitem / separator) and NO selected-value state: pick a row → run its action → dismiss. Reach for Listbox/Select when you need to HOLD a chosen value; reach for Menu for row ⋮ actions, overflow menus, and command lists. Supports leading icons (optionally tinted per row via the item's iconColor), trailing hints (e.g. shortcuts), optional two-line rows (a headline label + a supporting subtitle), separators, disabled rows, destructive (danger) items, and a Current row for context switchers — a workspace / scope / view picker (aria-current + a trailing checkmark + heavier label — it REFLECTS where the user is, it does not hold a value). Panel width follows the trigger when matchAnchorWidth is set (a field-like switcher trigger) and comes from content otherwise (a kebab trigger). The Shape picker swaps the live panel between the atom's two shapes — row actions (every row a command, destructive last, kebab trigger, default bottom-end) and a context switcher (sibling contexts plus one command under a separator, exactly one Current row, field trigger, matchAnchorWidth='min' + bottom-start). Both share every knob and class; only the entries differ. This entry themes the PANEL + rows; the trigger is owned entirely by the consumer's renderTrigger.\",\n styleProperties: [\n // Panel chrome — the floating card.\n { key: 'panelBg', label: 'Background', control: 'color', defaultValue: 'var(--color-card)', section: 'panel' },\n { key: 'panelBorder', label: 'Border', control: 'color', defaultValue: 'var(--color-border)', section: 'panel' },\n { key: 'panelRadius', label: 'Radius', control: 'slider', defaultValue: 8, min: 0, max: 16, step: 1, unit: 'px', section: 'panel' },\n { key: 'panelMaxHeight', label: 'Max Height', control: 'number', defaultValue: 360, min: 120, max: 600, step: 20, unit: 'px', section: 'panel' },\n\n // Drop shadow — decomposed into Color / Blur / Offset Y instead of a\n // raw `box-shadow` text field, so designers tune it with a colour\n // picker + sliders. Same pattern as the Calendar atom; the box-shadow\n // is composed from these three vars in styles.css. Defaults match the\n // floating-panel elevation (0 6px 20px rgba(0,0,0,0.10)).\n { key: 'shadowColor', label: 'Color', control: 'color', defaultValue: 'rgba(0, 0, 0, 0.10)', section: 'shadow' },\n { key: 'shadowBlur', label: 'Blur', control: 'slider', defaultValue: 20, min: 0, max: 48, step: 1, unit: 'px', section: 'shadow' },\n { key: 'shadowOffsetY', label: 'Offset Y', control: 'slider', defaultValue: 6, min: 0, max: 24, step: 1, unit: 'px', section: 'shadow' },\n\n // Item row — sizing knobs apply across all states.\n { key: 'itemPaddingX', label: 'Padding X', control: 'number', defaultValue: 10, min: 4, max: 20, step: 1, unit: 'px', section: 'item' },\n { key: 'itemPaddingY', label: 'Padding Y', control: 'number', defaultValue: 7, min: 2, max: 14, step: 1, unit: 'px', section: 'item' },\n { key: 'itemFontSize', label: 'Font Size', control: 'number', defaultValue: 13, min: 10, max: 18, step: 1, unit: 'px', section: 'item' },\n { key: 'itemRadius', label: 'Radius', control: 'slider', defaultValue: 4, min: 0, max: 12, step: 1, unit: 'px', section: 'item' },\n\n // Per-state colours — scoped by the `state` showcase variant so only\n // the knobs relevant to the displayed row state are visible. Mirrors\n // the listbox / select-dropdown convention. \"Hover\" covers both\n // mouse hover and keyboard arrow-key highlight (same `--active`\n // class). Default row has no surface of its own (panel bg shows\n // through), so only text colour is exposed there.\n { key: 'itemColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'itemState', showWhen: { state: 'default' } },\n\n { key: 'itemActiveBg', label: 'Background', control: 'color', defaultValue: 'var(--color-surface-alt)', section: 'itemState', showWhen: { state: 'hover' } },\n { key: 'itemActiveColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'itemState', showWhen: { state: 'hover' } },\n\n { key: 'itemDisabledOpacity', label: 'Opacity', control: 'slider', defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: 'itemState', showWhen: { state: 'disabled' } },\n\n // Destructive rows (Delete etc.) — danger text at rest, danger-tinted\n // surface when highlighted.\n { key: 'itemDangerColor', label: 'Text', control: 'color', defaultValue: 'var(--color-danger-text)', section: 'itemState', showWhen: { state: 'danger' } },\n { key: 'itemDangerActiveBg', label: 'Hover Background', control: 'color', defaultValue: 'var(--color-danger-bg)', section: 'itemState', showWhen: { state: 'danger' } },\n\n // The row the user is currently ON (a switcher's active workspace) —\n // weight + a trailing checkmark, no colour of its own so `itemColor`\n // and the danger tone keep reaching it and the checkmark inherits the\n // row. Background defaults to transparent: a resting tint collided\n // with the hover surface, whose default is the obvious\n // `--color-surface-alt`. The knob stays so a designer can opt in; the\n // CSS rule order keeps hover on top of it either way.\n { key: 'itemCurrentBg', label: 'Background', control: 'color', defaultValue: 'transparent', section: 'itemState', showWhen: { state: 'current' } },\n { key: 'itemCurrentFontWeight', label: 'Font Weight', control: 'select', defaultValue: '600', options: ['400', '500', '600', '700'], section: 'itemState', showWhen: { state: 'current' } },\n\n // Leading icon colour at rest (tracks the row text colour when\n // active / danger — no separate knobs for those states).\n //\n // `--color-text-strong`, not `--color-text-subtle`: subtle measures\n // 1.48:1 on the panel in the light theme (2.85:1 dark), below even the\n // 3:1 non-text floor, and ends up fainter than a disabled row — a live\n // glyph read as switched off. See the note in menu.scss.\n { key: 'itemIconColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-strong)', section: 'icon', showWhen: { withIcons: 'yes' } },\n\n // Trailing hint (a shortcut echo like ⌘C). Muted is BELOW the AA floor\n // for text at 2.54:1 — a deliberate exception because the hint carries\n // no content the label lacks. The subtitle below refuses the same token\n // for exactly the opposite reason; see menu.scss.\n { key: 'itemHintFontSize', label: 'Font Size', control: 'number', defaultValue: 12, min: 9, max: 16, step: 1, unit: 'px', section: 'hint', showWhen: { withHints: 'yes' } },\n { key: 'itemHintColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-muted)', section: 'hint', showWhen: { withHints: 'yes' } },\n\n // Two-line rows — a headline (label) plus a supporting subtitle\n // beneath. Only shown when the Subtitles variant is on.\n { key: 'itemSubtitleFontSize', label: 'Font Size', control: 'number', defaultValue: 11, min: 9, max: 16, step: 1, unit: 'px', section: 'subtitle', showWhen: { withSubtitles: 'yes' } },\n // Default is text-STRONG, not text-muted: muted fails WCAG AA on the\n // panel in the light theme (2.54:1) and a subtitle carries real content.\n // See the note in menu.scss.\n { key: 'itemSubtitleColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-strong)', section: 'subtitle', showWhen: { withSubtitles: 'yes' } },\n { key: 'itemSubtitleGap', label: 'Row Gap', control: 'number', defaultValue: 2, min: 0, max: 8, step: 1, unit: 'px', section: 'subtitle', showWhen: { withSubtitles: 'yes' } },\n\n // Separator divider colour. A separator divides ROWS, so the single-row\n // static showcase has nothing to draw it between — open the live menu to\n // see this one land.\n { key: 'separatorColor', label: 'Color', control: 'color', defaultValue: 'var(--color-border)', section: 'separator', showWhen: { withSeparator: 'yes' } },\n ],\n layoutVariants: [\n {\n // Which state the static showcase rows paint. The interactive\n // instance (a real ⋮ trigger) below is always live — hover /\n // keyboard exercise the real CSS independently. This picker is\n // purely to VISUALLY confirm each per-state knob without having\n // to hover the live menu.\n key: 'state',\n label: 'Row State',\n options: [\n { value: 'default', label: 'Default' },\n { value: 'hover', label: 'Hover' },\n { value: 'disabled', label: 'Disabled' },\n { value: 'danger', label: 'Danger' },\n // `current` is ORTHOGONAL to the others — a row can be current and\n // hovered and disabled at once — so this option is a knob-scoping\n // device, not a claim of exclusivity (the same licence `hover` and\n // `disabled` already take here). The showcase paints the picked state\n // on its single row AT REST and never stacks one state on another:\n // forcing the highlight under `Current` made it contradict its own\n // knobs (`itemCurrentBg` defaults to `transparent`) and read as\n // \"current has a background\". Hover the current row in the LIVE menu\n // to see the two compose.\n { value: 'current', label: 'Current' },\n ],\n defaultValue: 'default',\n },\n {\n // Which of the atom's two shapes the LIVE panel demonstrates. Both are\n // legitimately this atom — they share every knob, every class and the\n // same ARIA; only the entries differ, plus the trigger and placement a\n // consumer would pick. Scopes no knobs on purpose: it changes the\n // example, not the knob set. It exists because collapsing the demo to\n // one shape hid the other, and mixing them into one list made a\n // switcher row stick out among commands — telling two stories at once.\n key: 'shape',\n label: 'Shape',\n options: [\n { value: 'actions', label: 'Row actions' },\n { value: 'switcher', label: 'Switcher' },\n ],\n defaultValue: 'actions',\n },\n {\n key: 'withIcons',\n label: 'Leading Icons',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'yes',\n },\n {\n key: 'withSeparator',\n label: 'Separator',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'yes',\n },\n {\n // Trailing shortcut hints. Off by default: with Subtitles also on, a\n // row concatenates label + subtitle + hint into one accessible name\n // — the anti-pattern the README warns about. Worth being able to SEE\n // (it is also visually tight inside maxWidth 280), not worth\n // shipping as the baseline.\n key: 'withHints',\n label: 'Hints',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'no',\n },\n {\n // Turns each row into a two-line headline + subtitle item. Off by\n // default so the classic single-line menu is the baseline.\n key: 'withSubtitles',\n label: 'Subtitles',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'no',\n },\n ],\n events: [\n { name: 'onSelect', description: \"Fires when an item is invoked (click / Enter / Space). The menu closes afterward. Per-item — wired via each item's `onSelect`.\", payload: 'void' },\n { name: 'onOpenChange', description: 'Fires when the menu opens or closes.', payload: 'boolean' },\n ],\n api: {\n importPath: '@viax.io/uxm/ui',\n importNames: 'Menu',\n props: [\n { name: 'items', type: 'MenuEntry[]', required: true, description: 'Menu entries — actionable items ({ key, label, subtitle?, icon?, iconColor?, hint?, onSelect?, disabled?, danger?, current? }) and separators ({ separator: true }), in display order. Pass `subtitle` to render a two-line row (label = headline), `iconColor` to tint ONE row\\'s glyph (prefer a `var(--color-*)` reference; raw hex only for entity-identity colours), and `current` to mark the row the user is already on (aria-current + trailing checkmark + heavier label).' },\n { name: 'renderTrigger', type: '(api: { open, triggerProps }) => ReactNode', required: true, description: 'Render the trigger. Spread `triggerProps` on your interactive element (an IconButton ⋮, a Button) — wires ref + click + ARIA in one go.' },\n { name: 'placement', type: '\"bottom-start\" | \"bottom-end\" | \"top-start\" | \"top-end\"', defaultValue: '\"bottom-end\"', description: 'Preferred placement; flips on overflow. Defaults to bottom-end since menus usually align to a trailing ⋮.' },\n { name: 'open', type: 'boolean', description: 'Controlled open state. Pair with onOpenChange. Omit for uncontrolled.' },\n { name: 'onOpenChange', type: '(open: boolean) => void', description: 'Called whenever the menu wants to open/close.' },\n { name: 'minWidth', type: 'number', defaultValue: '160', description: 'Minimum panel width in px.' },\n { name: 'maxWidth', type: 'number', defaultValue: '280', description: 'Maximum panel width in px — long labels truncate beyond it. The default applies only while matchAnchorWidth is off.' },\n { name: 'matchAnchorWidth', type: 'boolean | \"min\"', defaultValue: 'false', description: 'Tie the panel width to the trigger: true makes it equal, \"min\" makes the trigger width a floor the panel can grow past. Use it for a field-like trigger that displays a value (a workspace switcher) — the panel then reads as a continuation of the control, the native <select> convention; \"min\" is the forgiving choice since user-authored labels outgrow a fixed width. Never use it with an icon-only / kebab trigger: you would get a 32px panel, which is why the default is false and placement is bottom-end. Setting it also drops the 160/280 defaults, which would otherwise clamp a wide trigger\\'s panel narrower than the trigger. Restoring bounds is asymmetric: maxWidth is always honoured, but minWidth is ignored under \\'min\\' (Popover makes the measured anchor width the floor) — use true plus an explicit minWidth if you need a floor wider than the trigger.' },\n ],\n },\n};\n"],"mappings":"AAEO,MAAM,UAAwB;AAAA,EACnC,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,aACE;AAAA,EACF,iBAAiB;AAAA;AAAA,IAEf,EAAE,KAAK,WAAW,OAAO,cAAc,SAAS,SAAS,cAAc,qBAAqB,SAAS,QAAQ;AAAA,IAC7G,EAAE,KAAK,eAAe,OAAO,UAAU,SAAS,SAAS,cAAc,uBAAuB,SAAS,QAAQ;AAAA,IAC/G,EAAE,KAAK,eAAe,OAAO,UAAU,SAAS,UAAU,cAAc,GAAG,KAAK,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,MAAM,SAAS,QAAQ;AAAA,IAClI,EAAE,KAAK,kBAAkB,OAAO,cAAc,SAAS,UAAU,cAAc,KAAK,KAAK,KAAK,KAAK,KAAK,MAAM,IAAI,MAAM,MAAM,SAAS,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAO/I,EAAE,KAAK,eAAe,OAAO,SAAS,SAAS,SAAS,cAAc,uBAAuB,SAAS,SAAS;AAAA,IAC/G,EAAE,KAAK,cAAc,OAAO,QAAQ,SAAS,UAAU,cAAc,IAAI,KAAK,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,MAAM,SAAS,SAAS;AAAA,IACjI,EAAE,KAAK,iBAAiB,OAAO,YAAY,SAAS,UAAU,cAAc,GAAG,KAAK,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,MAAM,SAAS,SAAS;AAAA;AAAA,IAGvI,EAAE,KAA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