@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,221 @@
|
|
|
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 listbox_exports = {};
|
|
20
|
+
__export(listbox_exports, {
|
|
21
|
+
listboxDef: () => listboxDef
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(listbox_exports);
|
|
24
|
+
const listboxDef = {
|
|
25
|
+
id: "listbox",
|
|
26
|
+
name: "Listbox (Dropdown Panel)",
|
|
27
|
+
category: "Inputs",
|
|
28
|
+
description: "Shared dropdown panel used by every select / picker in the app (SearchDropdown, PhoneInput country, CurrencyInput, PillSelect, native Select replacement, ColorPicker). The atom is generic over item shape \u2014 consumers pass items + a renderItem and own the trigger entirely. This entry themes the PANEL only: chrome, search input, option rows + states, group headers, empty state, footer. Trigger / field theming lives on each consuming component's own registry entry.",
|
|
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
|
+
// Drop shadow — decomposed into Color / Blur / Offset Y (colour picker
|
|
35
|
+
// + sliders) instead of a raw box-shadow text field. Same pattern as
|
|
36
|
+
// the Calendar / Menu atoms; the box-shadow is composed from these
|
|
37
|
+
// three vars in listbox.scss.
|
|
38
|
+
{ key: "shadowColor", label: "Color", control: "color", defaultValue: "rgba(0, 0, 0, 0.10)", section: "shadow" },
|
|
39
|
+
{ key: "shadowBlur", label: "Blur", control: "slider", defaultValue: 20, min: 0, max: 48, step: 1, unit: "px", section: "shadow" },
|
|
40
|
+
{ key: "shadowOffsetY", label: "Offset Y", control: "slider", defaultValue: 6, min: 0, max: 24, step: 1, unit: "px", section: "shadow" },
|
|
41
|
+
{ key: "panelMaxHeight", label: "Max Height", control: "number", defaultValue: 320, min: 120, max: 600, step: 20, unit: "px", section: "panel" },
|
|
42
|
+
// Search input — only meaningful when the consumer enables search.
|
|
43
|
+
{ key: "searchBorder", label: "Divider", control: "color", defaultValue: "var(--color-border)", section: "search", showWhen: { withSearch: "yes" } },
|
|
44
|
+
{ key: "searchIconColor", label: "Icon", control: "color", defaultValue: "var(--color-text-subtle)", section: "search", showWhen: { withSearch: "yes" } },
|
|
45
|
+
{ key: "searchColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "search", showWhen: { withSearch: "yes" } },
|
|
46
|
+
{ key: "searchPlaceholderColor", label: "Placeholder", control: "color", defaultValue: "var(--color-text-subtle)", section: "search", showWhen: { withSearch: "yes" } },
|
|
47
|
+
{ key: "searchFontSize", label: "Font Size", control: "number", defaultValue: 12, min: 10, max: 18, step: 1, unit: "px", section: "search", showWhen: { withSearch: "yes" } },
|
|
48
|
+
// Option row — sizing knobs apply across all states. The shared
|
|
49
|
+
// (always-visible) section keeps padding / font / radius next to
|
|
50
|
+
// the state-specific colours so they're easy to find.
|
|
51
|
+
{ key: "optionPaddingX", label: "Padding X", control: "number", defaultValue: 10, min: 4, max: 20, step: 1, unit: "px", section: "option" },
|
|
52
|
+
{ key: "optionPaddingY", label: "Padding Y", control: "number", defaultValue: 6, min: 2, max: 14, step: 1, unit: "px", section: "option" },
|
|
53
|
+
{ key: "optionFontSize", label: "Font Size", control: "number", defaultValue: 13, min: 10, max: 18, step: 1, unit: "px", section: "option" },
|
|
54
|
+
{ key: "optionRadius", label: "Radius", control: "slider", defaultValue: 4, min: 0, max: 12, step: 1, unit: "px", section: "option" },
|
|
55
|
+
// Per-state colour knobs — scoped by `state` variant so only the
|
|
56
|
+
// knobs relevant to the currently-displayed showcase state are
|
|
57
|
+
// visible. Matches the search-dropdown / select-dropdown / input-text
|
|
58
|
+
// convention. State labels in showWhen match the variant `value`
|
|
59
|
+
// strings ("default" / "active" / "selected" / "selected-active" /
|
|
60
|
+
// "disabled"). Default state has no row background of its own — the
|
|
61
|
+
// panel bg shows through — so only the text colour is exposed there.
|
|
62
|
+
// Default state — bg + text. Bg defaults to transparent so the
|
|
63
|
+
// panel chrome shows through (the common case); tune it if you
|
|
64
|
+
// want every row to have its own surface (e.g. striped rows).
|
|
65
|
+
{ key: "optionDefaultBg", label: "Background", control: "color", defaultValue: "transparent", section: "optionState", showWhen: { state: "default" } },
|
|
66
|
+
{ key: "optionColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "optionState", showWhen: { state: "default" } },
|
|
67
|
+
// "Hover" state covers both mouse hover and keyboard arrow-key
|
|
68
|
+
// highlight — they paint the same modifier class (`--active`)
|
|
69
|
+
// because the atom keeps them visually equivalent. Registry key
|
|
70
|
+
// names stay `optionActive*` to match the CSS class + var
|
|
71
|
+
// namespace; the workbench label is "Hover" because that's the
|
|
72
|
+
// term designers use.
|
|
73
|
+
{ key: "optionActiveBg", label: "Background", control: "color", defaultValue: "var(--color-surface-alt)", section: "optionState", showWhen: { state: "hover" } },
|
|
74
|
+
{ key: "optionActiveColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "optionState", showWhen: { state: "hover" } },
|
|
75
|
+
{ key: "optionSelectedBg", label: "Background", control: "color", defaultValue: "var(--color-accent-subtle)", section: "optionState", showWhen: { state: "selected" } },
|
|
76
|
+
{ key: "optionSelectedColor", label: "Text", control: "color", defaultValue: "var(--color-accent-bold)", section: "optionState", showWhen: { state: "selected" } },
|
|
77
|
+
{ key: "optionDisabledOpacity", label: "Opacity", control: "slider", defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: "optionState", showWhen: { state: "disabled" } },
|
|
78
|
+
// Group headers — only meaningful when the consumer groups items.
|
|
79
|
+
{ key: "groupHeaderFontSize", label: "Font Size", control: "number", defaultValue: 10, min: 9, max: 14, step: 1, unit: "px", section: "groupHeader", showWhen: { withGroups: "yes" } },
|
|
80
|
+
{ key: "groupHeaderColor", label: "Color", control: "color", defaultValue: "var(--color-text-subtle)", section: "groupHeader", showWhen: { withGroups: "yes" } },
|
|
81
|
+
// Empty-state line (e.g. "No matches").
|
|
82
|
+
{ key: "emptyColor", label: "Color", control: "color", defaultValue: "var(--color-text-muted)", section: "empty" },
|
|
83
|
+
// Footer divider — only shown when a consumer passes a footer slot
|
|
84
|
+
// (ColorPicker's custom-hex panel).
|
|
85
|
+
{ key: "footerBorder", label: "Divider", control: "color", defaultValue: "var(--color-border)", section: "footer", showWhen: { withFooter: "yes" } }
|
|
86
|
+
// No "Selection Indicator" knobs — the atom decides the pattern
|
|
87
|
+
// (single-select → right-edge ✓ on selected, multi-select → left
|
|
88
|
+
// checkboxes on every row). The right-edge ✓ inherits the row's
|
|
89
|
+
// `--selected` text colour (tune via Selected → Text). The
|
|
90
|
+
// checkbox marker reads `--uxm-checkbox-*` (tune via the Checkbox
|
|
91
|
+
// atom). No new tuning surface here.
|
|
92
|
+
],
|
|
93
|
+
layoutVariants: [
|
|
94
|
+
{
|
|
95
|
+
// Which state's classes to apply to the static showcase row at
|
|
96
|
+
// the top of the preview. The interactive instance below is
|
|
97
|
+
// always live — hover / keyboard / selection exercise the real
|
|
98
|
+
// CSS rules independently. This picker is purely for VISUAL
|
|
99
|
+
// confirmation of the per-state knobs (active bg, selected
|
|
100
|
+
// bg/color, disabled opacity) — without it you'd have to hover
|
|
101
|
+
// / click the interactive instance to verify each state.
|
|
102
|
+
key: "state",
|
|
103
|
+
label: "Row State",
|
|
104
|
+
options: [
|
|
105
|
+
{ value: "default", label: "Default" },
|
|
106
|
+
{ value: "hover", label: "Hover" },
|
|
107
|
+
{ value: "selected", label: "Selected" },
|
|
108
|
+
{ value: "disabled", label: "Disabled" }
|
|
109
|
+
],
|
|
110
|
+
defaultValue: "default"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
key: "withSearch",
|
|
114
|
+
label: "Search Input",
|
|
115
|
+
options: [
|
|
116
|
+
{ value: "yes", label: "On" },
|
|
117
|
+
{ value: "no", label: "Off" }
|
|
118
|
+
],
|
|
119
|
+
defaultValue: "yes"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
key: "withGroups",
|
|
123
|
+
label: "Group Headers",
|
|
124
|
+
options: [
|
|
125
|
+
{ value: "no", label: "Off" },
|
|
126
|
+
{ value: "yes", label: "On" }
|
|
127
|
+
],
|
|
128
|
+
defaultValue: "no"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
key: "withFooter",
|
|
132
|
+
label: "Footer Slot",
|
|
133
|
+
options: [
|
|
134
|
+
{ value: "no", label: "Off" },
|
|
135
|
+
{ value: "yes", label: "On" }
|
|
136
|
+
],
|
|
137
|
+
defaultValue: "no"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
// Wrap a long list into up to two balanced columns to roughly halve
|
|
141
|
+
// the panel height. Drives `--uxm-listbox-list-columns` on the list
|
|
142
|
+
// in the preview; a real consumer sets the `columns` prop. The count
|
|
143
|
+
// is a max (each column keeps a min width, so a narrow panel falls
|
|
144
|
+
// back to one) — try it with Group Headers on to see headers span.
|
|
145
|
+
// One vs two — deeper columns get unusable in a dropdown.
|
|
146
|
+
key: "columns",
|
|
147
|
+
label: "Columns",
|
|
148
|
+
options: [
|
|
149
|
+
{ value: "1", label: "One" },
|
|
150
|
+
{ value: "2", label: "Two" }
|
|
151
|
+
],
|
|
152
|
+
defaultValue: "1"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
// Which atom the interactive preview mounts. The indicator
|
|
156
|
+
// pattern is decided by the atom, not by the workbench:
|
|
157
|
+
// - `Listbox` (single) → right-edge ✓ on the selected row
|
|
158
|
+
// - `MultiListbox` (multi) → left-edge checkbox on every row
|
|
159
|
+
// The static showcase above respects this too — single mode
|
|
160
|
+
// shows the right-✓ when `state=selected`; multi mode shows
|
|
161
|
+
// checkboxes on the row regardless of state.
|
|
162
|
+
key: "mode",
|
|
163
|
+
label: "Selection",
|
|
164
|
+
options: [
|
|
165
|
+
{ value: "single", label: "Single" },
|
|
166
|
+
{ value: "multi", label: "Multi" }
|
|
167
|
+
],
|
|
168
|
+
defaultValue: "single"
|
|
169
|
+
},
|
|
170
|
+
// Multi-only — the Checkboxes variant shows the with/without
|
|
171
|
+
// indicator design choice for multi-select panels. `excludeSelected`
|
|
172
|
+
// (hide picked items from the list) is intentionally NOT exposed
|
|
173
|
+
// — it's a consumer-level decision baked into atoms like
|
|
174
|
+
// PillSelect, not a panel-design choice designers should tune.
|
|
175
|
+
// `showWhen: { mode: "multi" }` keeps it out of single mode.
|
|
176
|
+
{
|
|
177
|
+
key: "showCheckbox",
|
|
178
|
+
label: "Checkboxes",
|
|
179
|
+
options: [
|
|
180
|
+
{ value: "on", label: "On" },
|
|
181
|
+
{ value: "off", label: "Off" }
|
|
182
|
+
],
|
|
183
|
+
defaultValue: "on",
|
|
184
|
+
showWhen: { mode: "multi" }
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
events: [
|
|
188
|
+
{ name: "onChange", description: "Fires when the user picks an option (click or Enter). Multi-select toggles items in/out of the array.", payload: "T (single) | T[] (multi)" },
|
|
189
|
+
{ name: "onOpenChange", description: "Fires when the panel opens or closes.", payload: "boolean" }
|
|
190
|
+
],
|
|
191
|
+
api: {
|
|
192
|
+
importPath: "@viax.io/uxm/ui",
|
|
193
|
+
importNames: ["Listbox", "MultiListbox"],
|
|
194
|
+
props: [
|
|
195
|
+
{ name: "items", type: "T[]", required: true, description: "Source data \u2014 the listbox is generic over T and has no knowledge of what's inside." },
|
|
196
|
+
{ name: "getKey", type: "(item: T) => string", required: true, description: "Stable React key per item." },
|
|
197
|
+
{ name: "getLabel", type: "(item: T) => string", required: true, description: "Plain text used for default substring filter and a11y." },
|
|
198
|
+
{ name: "value", type: "T | null // Listbox\nT[] // MultiListbox", required: true, description: "Current selection." },
|
|
199
|
+
{ name: "onChange", type: "(item: T | null) => void // Listbox \u2014 null when consumer clears\n(items: T[]) => void // MultiListbox \u2014 empty array when cleared", required: true, description: "Selection callback. Listbox passes null when the consumer wires up a clear affordance (e.g. \u2715 in their renderTrigger). MultiListbox passes an empty array when all selections are cleared." },
|
|
200
|
+
{ name: "renderTrigger", type: "(state: { open, selected, triggerProps }) => ReactNode", required: true, description: "Render the consumer's trigger. Spread `triggerProps` on a button \u2014 that wires ref + click + ARIA in one go." },
|
|
201
|
+
{ name: "renderItem", type: "(item: T, state: { active, selected }) => ReactNode", required: true, description: "Render each row body \u2014 the atom owns layout + states; consumer owns visuals (icon, flag, swatch, etc.)." },
|
|
202
|
+
{ name: "searchable", type: 'boolean | "auto"', defaultValue: "true", description: 'Show a search input above the list. `"auto"` reveals it only once the option count exceeds the shared threshold (6) \u2014 the one place that rule lives, so every Listbox-backed picker shares it.' },
|
|
203
|
+
{ name: "filterItems", type: "(items: T[], query: string) => T[]", description: "Override the default case-insensitive substring filter on `getLabel`." },
|
|
204
|
+
{ name: "groupBy", type: "(item: T) => string", description: "Group items under section headers in declared order." },
|
|
205
|
+
{ name: "columns", type: "1 | 2", defaultValue: "1", description: "Wrap a long list into up to two balanced columns to roughly halve the panel height. Rows keep source order down column one then continue in column two, so arrow-key nav still reads naturally. A max, not a fixed count \u2014 each column keeps a min width (--uxm-listbox-list-column-min-width), so a narrow panel falls back to one column instead of cramping; widen the panel (wider anchor or matchAnchorWidth={false} + minPanelWidth) to reveal the second. Works with groupBy \u2014 headers span full width above each group." },
|
|
206
|
+
{ name: "footer", type: "ReactNode", description: "Slot below the list (e.g. ColorPicker's custom hex panel)." },
|
|
207
|
+
{ name: "isItemDisabled", type: "(item: T) => boolean", description: "Mark individual items inert (not selectable, skipped by keyboard nav)." },
|
|
208
|
+
{ name: "placement", type: '"bottom-start" | "bottom-end" | "top-start" | "top-end"', defaultValue: '"bottom-start"', description: "Preferred placement; flips on overflow." },
|
|
209
|
+
{ name: "matchAnchorWidth", type: "boolean", defaultValue: "true", description: "Match the positioning anchor's width (the trigger by default, or `anchorRef` if provided)." },
|
|
210
|
+
{ name: "anchorRef", type: "RefObject<HTMLElement | null>", description: "Override what the popover positions / sizes against. Defaults to the trigger element. Use when the trigger is a small affordance inside a larger field (e.g. PhoneInput's country button inside the phone field)." },
|
|
211
|
+
{ name: "showCheckmark", type: "boolean", defaultValue: "true", description: "Listbox only \u2014 show the right-edge \u2713 on the selected row. Set to `false` when row content already has trailing meta (dial codes, currency codes) that would compete for the right edge." },
|
|
212
|
+
{ name: "portal", type: "boolean", defaultValue: "true", description: "Mount the panel into document.body \u2014 escapes clipping parents." },
|
|
213
|
+
{ name: "excludeSelected", type: "boolean", defaultValue: "true", description: "MultiListbox only \u2014 hide items already in `value` from the panel." }
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
218
|
+
0 && (module.exports = {
|
|
219
|
+
listboxDef
|
|
220
|
+
});
|
|
221
|
+
//# sourceMappingURL=listbox.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/studio/lib/registry/inputs/listbox.ts"],"sourcesContent":["import type { ComponentDef } from '../../types';\n\nexport const listboxDef: ComponentDef = {\n id: 'listbox',\n name: 'Listbox (Dropdown Panel)',\n category: 'Inputs',\n description: \"Shared dropdown panel used by every select / picker in the app (SearchDropdown, PhoneInput country, CurrencyInput, PillSelect, native Select replacement, ColorPicker). The atom is generic over item shape — consumers pass items + a renderItem and own the trigger entirely. This entry themes the PANEL only: chrome, search input, option rows + states, group headers, empty state, footer. Trigger / field theming lives on each consuming component's own registry entry.\",\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 // Drop shadow — decomposed into Color / Blur / Offset Y (colour picker\n // + sliders) instead of a raw box-shadow text field. Same pattern as\n // the Calendar / Menu atoms; the box-shadow is composed from these\n // three vars in listbox.scss.\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 { key: 'panelMaxHeight', label: 'Max Height', control: 'number', defaultValue: 320, min: 120, max: 600, step: 20, unit: 'px', section: 'panel' },\n\n // Search input — only meaningful when the consumer enables search.\n { key: 'searchBorder', label: 'Divider', control: 'color', defaultValue: 'var(--color-border)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchIconColor', label: 'Icon', control: 'color', defaultValue: 'var(--color-text-subtle)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchPlaceholderColor', label: 'Placeholder', control: 'color', defaultValue: 'var(--color-text-subtle)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchFontSize', label: 'Font Size', control: 'number', defaultValue: 12, min: 10, max: 18, step: 1, unit: 'px', section: 'search', showWhen: { withSearch: 'yes' } },\n\n // Option row — sizing knobs apply across all states. The shared\n // (always-visible) section keeps padding / font / radius next to\n // the state-specific colours so they're easy to find.\n { key: 'optionPaddingX', label: 'Padding X', control: 'number', defaultValue: 10, min: 4, max: 20, step: 1, unit: 'px', section: 'option' },\n { key: 'optionPaddingY', label: 'Padding Y', control: 'number', defaultValue: 6, min: 2, max: 14, step: 1, unit: 'px', section: 'option' },\n { key: 'optionFontSize', label: 'Font Size', control: 'number', defaultValue: 13, min: 10, max: 18, step: 1, unit: 'px', section: 'option' },\n { key: 'optionRadius', label: 'Radius', control: 'slider', defaultValue: 4, min: 0, max: 12, step: 1, unit: 'px', section: 'option' },\n\n // Per-state colour knobs — scoped by `state` variant so only the\n // knobs relevant to the currently-displayed showcase state are\n // visible. Matches the search-dropdown / select-dropdown / input-text\n // convention. State labels in showWhen match the variant `value`\n // strings (\"default\" / \"active\" / \"selected\" / \"selected-active\" /\n // \"disabled\"). Default state has no row background of its own — the\n // panel bg shows through — so only the text colour is exposed there.\n // Default state — bg + text. Bg defaults to transparent so the\n // panel chrome shows through (the common case); tune it if you\n // want every row to have its own surface (e.g. striped rows).\n { key: 'optionDefaultBg', label: 'Background', control: 'color', defaultValue: 'transparent', section: 'optionState', showWhen: { state: 'default' } },\n { key: 'optionColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'optionState', showWhen: { state: 'default' } },\n\n // \"Hover\" state covers both mouse hover and keyboard arrow-key\n // highlight — they paint the same modifier class (`--active`)\n // because the atom keeps them visually equivalent. Registry key\n // names stay `optionActive*` to match the CSS class + var\n // namespace; the workbench label is \"Hover\" because that's the\n // term designers use.\n { key: 'optionActiveBg', label: 'Background', control: 'color', defaultValue: 'var(--color-surface-alt)', section: 'optionState', showWhen: { state: 'hover' } },\n { key: 'optionActiveColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'optionState', showWhen: { state: 'hover' } },\n\n { key: 'optionSelectedBg', label: 'Background', control: 'color', defaultValue: 'var(--color-accent-subtle)', section: 'optionState', showWhen: { state: 'selected' } },\n { key: 'optionSelectedColor', label: 'Text', control: 'color', defaultValue: 'var(--color-accent-bold)', section: 'optionState', showWhen: { state: 'selected' } },\n\n { key: 'optionDisabledOpacity', label: 'Opacity', control: 'slider', defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: 'optionState', showWhen: { state: 'disabled' } },\n\n // Group headers — only meaningful when the consumer groups items.\n { key: 'groupHeaderFontSize', label: 'Font Size', control: 'number', defaultValue: 10, min: 9, max: 14, step: 1, unit: 'px', section: 'groupHeader', showWhen: { withGroups: 'yes' } },\n { key: 'groupHeaderColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-subtle)', section: 'groupHeader', showWhen: { withGroups: 'yes' } },\n\n // Empty-state line (e.g. \"No matches\").\n { key: 'emptyColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-muted)', section: 'empty' },\n\n // Footer divider — only shown when a consumer passes a footer slot\n // (ColorPicker's custom-hex panel).\n { key: 'footerBorder', label: 'Divider', control: 'color', defaultValue: 'var(--color-border)', section: 'footer', showWhen: { withFooter: 'yes' } },\n\n // No \"Selection Indicator\" knobs — the atom decides the pattern\n // (single-select → right-edge ✓ on selected, multi-select → left\n // checkboxes on every row). The right-edge ✓ inherits the row's\n // `--selected` text colour (tune via Selected → Text). The\n // checkbox marker reads `--uxm-checkbox-*` (tune via the Checkbox\n // atom). No new tuning surface here.\n ],\n layoutVariants: [\n {\n // Which state's classes to apply to the static showcase row at\n // the top of the preview. The interactive instance below is\n // always live — hover / keyboard / selection exercise the real\n // CSS rules independently. This picker is purely for VISUAL\n // confirmation of the per-state knobs (active bg, selected\n // bg/color, disabled opacity) — without it you'd have to hover\n // / click the interactive instance to verify each state.\n key: 'state',\n label: 'Row State',\n options: [\n { value: 'default', label: 'Default' },\n { value: 'hover', label: 'Hover' },\n { value: 'selected', label: 'Selected' },\n { value: 'disabled', label: 'Disabled' },\n ],\n defaultValue: 'default',\n },\n {\n key: 'withSearch',\n label: 'Search Input',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'yes',\n },\n {\n key: 'withGroups',\n label: 'Group Headers',\n options: [\n { value: 'no', label: 'Off' },\n { value: 'yes', label: 'On' },\n ],\n defaultValue: 'no',\n },\n {\n key: 'withFooter',\n label: 'Footer Slot',\n options: [\n { value: 'no', label: 'Off' },\n { value: 'yes', label: 'On' },\n ],\n defaultValue: 'no',\n },\n {\n // Wrap a long list into up to two balanced columns to roughly halve\n // the panel height. Drives `--uxm-listbox-list-columns` on the list\n // in the preview; a real consumer sets the `columns` prop. The count\n // is a max (each column keeps a min width, so a narrow panel falls\n // back to one) — try it with Group Headers on to see headers span.\n // One vs two — deeper columns get unusable in a dropdown.\n key: 'columns',\n label: 'Columns',\n options: [\n { value: '1', label: 'One' },\n { value: '2', label: 'Two' },\n ],\n defaultValue: '1',\n },\n {\n // Which atom the interactive preview mounts. The indicator\n // pattern is decided by the atom, not by the workbench:\n // - `Listbox` (single) → right-edge ✓ on the selected row\n // - `MultiListbox` (multi) → left-edge checkbox on every row\n // The static showcase above respects this too — single mode\n // shows the right-✓ when `state=selected`; multi mode shows\n // checkboxes on the row regardless of state.\n key: 'mode',\n label: 'Selection',\n options: [\n { value: 'single', label: 'Single' },\n { value: 'multi', label: 'Multi' },\n ],\n defaultValue: 'single',\n },\n // Multi-only — the Checkboxes variant shows the with/without\n // indicator design choice for multi-select panels. `excludeSelected`\n // (hide picked items from the list) is intentionally NOT exposed\n // — it's a consumer-level decision baked into atoms like\n // PillSelect, not a panel-design choice designers should tune.\n // `showWhen: { mode: \"multi\" }` keeps it out of single mode.\n {\n key: 'showCheckbox',\n label: 'Checkboxes',\n options: [\n { value: 'on', label: 'On' },\n { value: 'off', label: 'Off' },\n ],\n defaultValue: 'on',\n showWhen: { mode: 'multi' },\n },\n ],\n events: [\n { name: 'onChange', description: 'Fires when the user picks an option (click or Enter). Multi-select toggles items in/out of the array.', payload: 'T (single) | T[] (multi)' },\n { name: 'onOpenChange', description: 'Fires when the panel opens or closes.', payload: 'boolean' },\n ],\n api: {\n importPath: '@viax.io/uxm/ui',\n importNames: ['Listbox', 'MultiListbox'],\n props: [\n { name: 'items', type: 'T[]', required: true, description: \"Source data — the listbox is generic over T and has no knowledge of what's inside.\" },\n { name: 'getKey', type: '(item: T) => string', required: true, description: 'Stable React key per item.' },\n { name: 'getLabel', type: '(item: T) => string', required: true, description: 'Plain text used for default substring filter and a11y.' },\n { name: 'value', type: 'T | null // Listbox\\nT[] // MultiListbox', required: true, description: 'Current selection.' },\n { name: 'onChange', type: '(item: T | null) => void // Listbox — null when consumer clears\\n(items: T[]) => void // MultiListbox — empty array when cleared', required: true, description: 'Selection callback. Listbox passes null when the consumer wires up a clear affordance (e.g. ✕ in their renderTrigger). MultiListbox passes an empty array when all selections are cleared.' },\n { name: 'renderTrigger', type: '(state: { open, selected, triggerProps }) => ReactNode', required: true, description: \"Render the consumer's trigger. Spread `triggerProps` on a button — that wires ref + click + ARIA in one go.\" },\n { name: 'renderItem', type: '(item: T, state: { active, selected }) => ReactNode', required: true, description: 'Render each row body — the atom owns layout + states; consumer owns visuals (icon, flag, swatch, etc.).' },\n { name: 'searchable', type: 'boolean | \"auto\"', defaultValue: 'true', description: 'Show a search input above the list. `\"auto\"` reveals it only once the option count exceeds the shared threshold (6) — the one place that rule lives, so every Listbox-backed picker shares it.' },\n { name: 'filterItems', type: '(items: T[], query: string) => T[]', description: 'Override the default case-insensitive substring filter on `getLabel`.' },\n { name: 'groupBy', type: '(item: T) => string', description: 'Group items under section headers in declared order.' },\n { name: 'columns', type: '1 | 2', defaultValue: '1', description: 'Wrap a long list into up to two balanced columns to roughly halve the panel height. Rows keep source order down column one then continue in column two, so arrow-key nav still reads naturally. A max, not a fixed count — each column keeps a min width (--uxm-listbox-list-column-min-width), so a narrow panel falls back to one column instead of cramping; widen the panel (wider anchor or matchAnchorWidth={false} + minPanelWidth) to reveal the second. Works with groupBy — headers span full width above each group.' },\n { name: 'footer', type: 'ReactNode', description: \"Slot below the list (e.g. ColorPicker's custom hex panel).\" },\n { name: 'isItemDisabled', type: '(item: T) => boolean', description: 'Mark individual items inert (not selectable, skipped by keyboard nav).' },\n { name: 'placement', type: '\"bottom-start\" | \"bottom-end\" | \"top-start\" | \"top-end\"', defaultValue: '\"bottom-start\"', description: 'Preferred placement; flips on overflow.' },\n { name: 'matchAnchorWidth', type: 'boolean', defaultValue: 'true', description: \"Match the positioning anchor's width (the trigger by default, or `anchorRef` if provided).\" },\n { name: 'anchorRef', type: 'RefObject<HTMLElement | null>', description: \"Override what the popover positions / sizes against. Defaults to the trigger element. Use when the trigger is a small affordance inside a larger field (e.g. PhoneInput's country button inside the phone field).\" },\n { name: 'showCheckmark', type: 'boolean', defaultValue: 'true', description: 'Listbox only — show the right-edge ✓ on the selected row. Set to `false` when row content already has trailing meta (dial codes, currency codes) that would compete for the right edge.' },\n { name: 'portal', type: 'boolean', defaultValue: 'true', description: 'Mount the panel into document.body — escapes clipping parents.' },\n { name: 'excludeSelected', type: 'boolean', defaultValue: 'true', description: 'MultiListbox only — hide items already in `value` from the panel.' },\n ],\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,aAA2B;AAAA,EACtC,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,aAAa;AAAA,EACb,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;AAAA;AAAA;AAAA;AAAA,IAKlI,EAAE,KAAK,eAAe,OAAO,SAAS,SAAS,SAAS,cAAc,uBAAuB,SAAS,SAAS;AAAA,IAC/G,EAAE,KAAK,cAAc,OAAO,QAAQ,SAAS,U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;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listbox.d.ts","sourceRoot":"","sources":["../../../../../src/studio/lib/registry/inputs/listbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,YA0MxB,CAAC"}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
const listboxDef = {
|
|
2
|
+
id: "listbox",
|
|
3
|
+
name: "Listbox (Dropdown Panel)",
|
|
4
|
+
category: "Inputs",
|
|
5
|
+
description: "Shared dropdown panel used by every select / picker in the app (SearchDropdown, PhoneInput country, CurrencyInput, PillSelect, native Select replacement, ColorPicker). The atom is generic over item shape \u2014 consumers pass items + a renderItem and own the trigger entirely. This entry themes the PANEL only: chrome, search input, option rows + states, group headers, empty state, footer. Trigger / field theming lives on each consuming component's own registry entry.",
|
|
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
|
+
// Drop shadow — decomposed into Color / Blur / Offset Y (colour picker
|
|
12
|
+
// + sliders) instead of a raw box-shadow text field. Same pattern as
|
|
13
|
+
// the Calendar / Menu atoms; the box-shadow is composed from these
|
|
14
|
+
// three vars in listbox.scss.
|
|
15
|
+
{ key: "shadowColor", label: "Color", control: "color", defaultValue: "rgba(0, 0, 0, 0.10)", section: "shadow" },
|
|
16
|
+
{ key: "shadowBlur", label: "Blur", control: "slider", defaultValue: 20, min: 0, max: 48, step: 1, unit: "px", section: "shadow" },
|
|
17
|
+
{ key: "shadowOffsetY", label: "Offset Y", control: "slider", defaultValue: 6, min: 0, max: 24, step: 1, unit: "px", section: "shadow" },
|
|
18
|
+
{ key: "panelMaxHeight", label: "Max Height", control: "number", defaultValue: 320, min: 120, max: 600, step: 20, unit: "px", section: "panel" },
|
|
19
|
+
// Search input — only meaningful when the consumer enables search.
|
|
20
|
+
{ key: "searchBorder", label: "Divider", control: "color", defaultValue: "var(--color-border)", section: "search", showWhen: { withSearch: "yes" } },
|
|
21
|
+
{ key: "searchIconColor", label: "Icon", control: "color", defaultValue: "var(--color-text-subtle)", section: "search", showWhen: { withSearch: "yes" } },
|
|
22
|
+
{ key: "searchColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "search", showWhen: { withSearch: "yes" } },
|
|
23
|
+
{ key: "searchPlaceholderColor", label: "Placeholder", control: "color", defaultValue: "var(--color-text-subtle)", section: "search", showWhen: { withSearch: "yes" } },
|
|
24
|
+
{ key: "searchFontSize", label: "Font Size", control: "number", defaultValue: 12, min: 10, max: 18, step: 1, unit: "px", section: "search", showWhen: { withSearch: "yes" } },
|
|
25
|
+
// Option row — sizing knobs apply across all states. The shared
|
|
26
|
+
// (always-visible) section keeps padding / font / radius next to
|
|
27
|
+
// the state-specific colours so they're easy to find.
|
|
28
|
+
{ key: "optionPaddingX", label: "Padding X", control: "number", defaultValue: 10, min: 4, max: 20, step: 1, unit: "px", section: "option" },
|
|
29
|
+
{ key: "optionPaddingY", label: "Padding Y", control: "number", defaultValue: 6, min: 2, max: 14, step: 1, unit: "px", section: "option" },
|
|
30
|
+
{ key: "optionFontSize", label: "Font Size", control: "number", defaultValue: 13, min: 10, max: 18, step: 1, unit: "px", section: "option" },
|
|
31
|
+
{ key: "optionRadius", label: "Radius", control: "slider", defaultValue: 4, min: 0, max: 12, step: 1, unit: "px", section: "option" },
|
|
32
|
+
// Per-state colour knobs — scoped by `state` variant so only the
|
|
33
|
+
// knobs relevant to the currently-displayed showcase state are
|
|
34
|
+
// visible. Matches the search-dropdown / select-dropdown / input-text
|
|
35
|
+
// convention. State labels in showWhen match the variant `value`
|
|
36
|
+
// strings ("default" / "active" / "selected" / "selected-active" /
|
|
37
|
+
// "disabled"). Default state has no row background of its own — the
|
|
38
|
+
// panel bg shows through — so only the text colour is exposed there.
|
|
39
|
+
// Default state — bg + text. Bg defaults to transparent so the
|
|
40
|
+
// panel chrome shows through (the common case); tune it if you
|
|
41
|
+
// want every row to have its own surface (e.g. striped rows).
|
|
42
|
+
{ key: "optionDefaultBg", label: "Background", control: "color", defaultValue: "transparent", section: "optionState", showWhen: { state: "default" } },
|
|
43
|
+
{ key: "optionColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "optionState", showWhen: { state: "default" } },
|
|
44
|
+
// "Hover" state covers both mouse hover and keyboard arrow-key
|
|
45
|
+
// highlight — they paint the same modifier class (`--active`)
|
|
46
|
+
// because the atom keeps them visually equivalent. Registry key
|
|
47
|
+
// names stay `optionActive*` to match the CSS class + var
|
|
48
|
+
// namespace; the workbench label is "Hover" because that's the
|
|
49
|
+
// term designers use.
|
|
50
|
+
{ key: "optionActiveBg", label: "Background", control: "color", defaultValue: "var(--color-surface-alt)", section: "optionState", showWhen: { state: "hover" } },
|
|
51
|
+
{ key: "optionActiveColor", label: "Text", control: "color", defaultValue: "var(--color-text)", section: "optionState", showWhen: { state: "hover" } },
|
|
52
|
+
{ key: "optionSelectedBg", label: "Background", control: "color", defaultValue: "var(--color-accent-subtle)", section: "optionState", showWhen: { state: "selected" } },
|
|
53
|
+
{ key: "optionSelectedColor", label: "Text", control: "color", defaultValue: "var(--color-accent-bold)", section: "optionState", showWhen: { state: "selected" } },
|
|
54
|
+
{ key: "optionDisabledOpacity", label: "Opacity", control: "slider", defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: "optionState", showWhen: { state: "disabled" } },
|
|
55
|
+
// Group headers — only meaningful when the consumer groups items.
|
|
56
|
+
{ key: "groupHeaderFontSize", label: "Font Size", control: "number", defaultValue: 10, min: 9, max: 14, step: 1, unit: "px", section: "groupHeader", showWhen: { withGroups: "yes" } },
|
|
57
|
+
{ key: "groupHeaderColor", label: "Color", control: "color", defaultValue: "var(--color-text-subtle)", section: "groupHeader", showWhen: { withGroups: "yes" } },
|
|
58
|
+
// Empty-state line (e.g. "No matches").
|
|
59
|
+
{ key: "emptyColor", label: "Color", control: "color", defaultValue: "var(--color-text-muted)", section: "empty" },
|
|
60
|
+
// Footer divider — only shown when a consumer passes a footer slot
|
|
61
|
+
// (ColorPicker's custom-hex panel).
|
|
62
|
+
{ key: "footerBorder", label: "Divider", control: "color", defaultValue: "var(--color-border)", section: "footer", showWhen: { withFooter: "yes" } }
|
|
63
|
+
// No "Selection Indicator" knobs — the atom decides the pattern
|
|
64
|
+
// (single-select → right-edge ✓ on selected, multi-select → left
|
|
65
|
+
// checkboxes on every row). The right-edge ✓ inherits the row's
|
|
66
|
+
// `--selected` text colour (tune via Selected → Text). The
|
|
67
|
+
// checkbox marker reads `--uxm-checkbox-*` (tune via the Checkbox
|
|
68
|
+
// atom). No new tuning surface here.
|
|
69
|
+
],
|
|
70
|
+
layoutVariants: [
|
|
71
|
+
{
|
|
72
|
+
// Which state's classes to apply to the static showcase row at
|
|
73
|
+
// the top of the preview. The interactive instance below is
|
|
74
|
+
// always live — hover / keyboard / selection exercise the real
|
|
75
|
+
// CSS rules independently. This picker is purely for VISUAL
|
|
76
|
+
// confirmation of the per-state knobs (active bg, selected
|
|
77
|
+
// bg/color, disabled opacity) — without it you'd have to hover
|
|
78
|
+
// / click the interactive instance to verify each state.
|
|
79
|
+
key: "state",
|
|
80
|
+
label: "Row State",
|
|
81
|
+
options: [
|
|
82
|
+
{ value: "default", label: "Default" },
|
|
83
|
+
{ value: "hover", label: "Hover" },
|
|
84
|
+
{ value: "selected", label: "Selected" },
|
|
85
|
+
{ value: "disabled", label: "Disabled" }
|
|
86
|
+
],
|
|
87
|
+
defaultValue: "default"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
key: "withSearch",
|
|
91
|
+
label: "Search Input",
|
|
92
|
+
options: [
|
|
93
|
+
{ value: "yes", label: "On" },
|
|
94
|
+
{ value: "no", label: "Off" }
|
|
95
|
+
],
|
|
96
|
+
defaultValue: "yes"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
key: "withGroups",
|
|
100
|
+
label: "Group Headers",
|
|
101
|
+
options: [
|
|
102
|
+
{ value: "no", label: "Off" },
|
|
103
|
+
{ value: "yes", label: "On" }
|
|
104
|
+
],
|
|
105
|
+
defaultValue: "no"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
key: "withFooter",
|
|
109
|
+
label: "Footer Slot",
|
|
110
|
+
options: [
|
|
111
|
+
{ value: "no", label: "Off" },
|
|
112
|
+
{ value: "yes", label: "On" }
|
|
113
|
+
],
|
|
114
|
+
defaultValue: "no"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
// Wrap a long list into up to two balanced columns to roughly halve
|
|
118
|
+
// the panel height. Drives `--uxm-listbox-list-columns` on the list
|
|
119
|
+
// in the preview; a real consumer sets the `columns` prop. The count
|
|
120
|
+
// is a max (each column keeps a min width, so a narrow panel falls
|
|
121
|
+
// back to one) — try it with Group Headers on to see headers span.
|
|
122
|
+
// One vs two — deeper columns get unusable in a dropdown.
|
|
123
|
+
key: "columns",
|
|
124
|
+
label: "Columns",
|
|
125
|
+
options: [
|
|
126
|
+
{ value: "1", label: "One" },
|
|
127
|
+
{ value: "2", label: "Two" }
|
|
128
|
+
],
|
|
129
|
+
defaultValue: "1"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
// Which atom the interactive preview mounts. The indicator
|
|
133
|
+
// pattern is decided by the atom, not by the workbench:
|
|
134
|
+
// - `Listbox` (single) → right-edge ✓ on the selected row
|
|
135
|
+
// - `MultiListbox` (multi) → left-edge checkbox on every row
|
|
136
|
+
// The static showcase above respects this too — single mode
|
|
137
|
+
// shows the right-✓ when `state=selected`; multi mode shows
|
|
138
|
+
// checkboxes on the row regardless of state.
|
|
139
|
+
key: "mode",
|
|
140
|
+
label: "Selection",
|
|
141
|
+
options: [
|
|
142
|
+
{ value: "single", label: "Single" },
|
|
143
|
+
{ value: "multi", label: "Multi" }
|
|
144
|
+
],
|
|
145
|
+
defaultValue: "single"
|
|
146
|
+
},
|
|
147
|
+
// Multi-only — the Checkboxes variant shows the with/without
|
|
148
|
+
// indicator design choice for multi-select panels. `excludeSelected`
|
|
149
|
+
// (hide picked items from the list) is intentionally NOT exposed
|
|
150
|
+
// — it's a consumer-level decision baked into atoms like
|
|
151
|
+
// PillSelect, not a panel-design choice designers should tune.
|
|
152
|
+
// `showWhen: { mode: "multi" }` keeps it out of single mode.
|
|
153
|
+
{
|
|
154
|
+
key: "showCheckbox",
|
|
155
|
+
label: "Checkboxes",
|
|
156
|
+
options: [
|
|
157
|
+
{ value: "on", label: "On" },
|
|
158
|
+
{ value: "off", label: "Off" }
|
|
159
|
+
],
|
|
160
|
+
defaultValue: "on",
|
|
161
|
+
showWhen: { mode: "multi" }
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
events: [
|
|
165
|
+
{ name: "onChange", description: "Fires when the user picks an option (click or Enter). Multi-select toggles items in/out of the array.", payload: "T (single) | T[] (multi)" },
|
|
166
|
+
{ name: "onOpenChange", description: "Fires when the panel opens or closes.", payload: "boolean" }
|
|
167
|
+
],
|
|
168
|
+
api: {
|
|
169
|
+
importPath: "@viax.io/uxm/ui",
|
|
170
|
+
importNames: ["Listbox", "MultiListbox"],
|
|
171
|
+
props: [
|
|
172
|
+
{ name: "items", type: "T[]", required: true, description: "Source data \u2014 the listbox is generic over T and has no knowledge of what's inside." },
|
|
173
|
+
{ name: "getKey", type: "(item: T) => string", required: true, description: "Stable React key per item." },
|
|
174
|
+
{ name: "getLabel", type: "(item: T) => string", required: true, description: "Plain text used for default substring filter and a11y." },
|
|
175
|
+
{ name: "value", type: "T | null // Listbox\nT[] // MultiListbox", required: true, description: "Current selection." },
|
|
176
|
+
{ name: "onChange", type: "(item: T | null) => void // Listbox \u2014 null when consumer clears\n(items: T[]) => void // MultiListbox \u2014 empty array when cleared", required: true, description: "Selection callback. Listbox passes null when the consumer wires up a clear affordance (e.g. \u2715 in their renderTrigger). MultiListbox passes an empty array when all selections are cleared." },
|
|
177
|
+
{ name: "renderTrigger", type: "(state: { open, selected, triggerProps }) => ReactNode", required: true, description: "Render the consumer's trigger. Spread `triggerProps` on a button \u2014 that wires ref + click + ARIA in one go." },
|
|
178
|
+
{ name: "renderItem", type: "(item: T, state: { active, selected }) => ReactNode", required: true, description: "Render each row body \u2014 the atom owns layout + states; consumer owns visuals (icon, flag, swatch, etc.)." },
|
|
179
|
+
{ name: "searchable", type: 'boolean | "auto"', defaultValue: "true", description: 'Show a search input above the list. `"auto"` reveals it only once the option count exceeds the shared threshold (6) \u2014 the one place that rule lives, so every Listbox-backed picker shares it.' },
|
|
180
|
+
{ name: "filterItems", type: "(items: T[], query: string) => T[]", description: "Override the default case-insensitive substring filter on `getLabel`." },
|
|
181
|
+
{ name: "groupBy", type: "(item: T) => string", description: "Group items under section headers in declared order." },
|
|
182
|
+
{ name: "columns", type: "1 | 2", defaultValue: "1", description: "Wrap a long list into up to two balanced columns to roughly halve the panel height. Rows keep source order down column one then continue in column two, so arrow-key nav still reads naturally. A max, not a fixed count \u2014 each column keeps a min width (--uxm-listbox-list-column-min-width), so a narrow panel falls back to one column instead of cramping; widen the panel (wider anchor or matchAnchorWidth={false} + minPanelWidth) to reveal the second. Works with groupBy \u2014 headers span full width above each group." },
|
|
183
|
+
{ name: "footer", type: "ReactNode", description: "Slot below the list (e.g. ColorPicker's custom hex panel)." },
|
|
184
|
+
{ name: "isItemDisabled", type: "(item: T) => boolean", description: "Mark individual items inert (not selectable, skipped by keyboard nav)." },
|
|
185
|
+
{ name: "placement", type: '"bottom-start" | "bottom-end" | "top-start" | "top-end"', defaultValue: '"bottom-start"', description: "Preferred placement; flips on overflow." },
|
|
186
|
+
{ name: "matchAnchorWidth", type: "boolean", defaultValue: "true", description: "Match the positioning anchor's width (the trigger by default, or `anchorRef` if provided)." },
|
|
187
|
+
{ name: "anchorRef", type: "RefObject<HTMLElement | null>", description: "Override what the popover positions / sizes against. Defaults to the trigger element. Use when the trigger is a small affordance inside a larger field (e.g. PhoneInput's country button inside the phone field)." },
|
|
188
|
+
{ name: "showCheckmark", type: "boolean", defaultValue: "true", description: "Listbox only \u2014 show the right-edge \u2713 on the selected row. Set to `false` when row content already has trailing meta (dial codes, currency codes) that would compete for the right edge." },
|
|
189
|
+
{ name: "portal", type: "boolean", defaultValue: "true", description: "Mount the panel into document.body \u2014 escapes clipping parents." },
|
|
190
|
+
{ name: "excludeSelected", type: "boolean", defaultValue: "true", description: "MultiListbox only \u2014 hide items already in `value` from the panel." }
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
export {
|
|
195
|
+
listboxDef
|
|
196
|
+
};
|
|
197
|
+
//# sourceMappingURL=listbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../src/studio/lib/registry/inputs/listbox.ts"],"sourcesContent":["import type { ComponentDef } from '../../types';\n\nexport const listboxDef: ComponentDef = {\n id: 'listbox',\n name: 'Listbox (Dropdown Panel)',\n category: 'Inputs',\n description: \"Shared dropdown panel used by every select / picker in the app (SearchDropdown, PhoneInput country, CurrencyInput, PillSelect, native Select replacement, ColorPicker). The atom is generic over item shape — consumers pass items + a renderItem and own the trigger entirely. This entry themes the PANEL only: chrome, search input, option rows + states, group headers, empty state, footer. Trigger / field theming lives on each consuming component's own registry entry.\",\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 // Drop shadow — decomposed into Color / Blur / Offset Y (colour picker\n // + sliders) instead of a raw box-shadow text field. Same pattern as\n // the Calendar / Menu atoms; the box-shadow is composed from these\n // three vars in listbox.scss.\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 { key: 'panelMaxHeight', label: 'Max Height', control: 'number', defaultValue: 320, min: 120, max: 600, step: 20, unit: 'px', section: 'panel' },\n\n // Search input — only meaningful when the consumer enables search.\n { key: 'searchBorder', label: 'Divider', control: 'color', defaultValue: 'var(--color-border)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchIconColor', label: 'Icon', control: 'color', defaultValue: 'var(--color-text-subtle)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchPlaceholderColor', label: 'Placeholder', control: 'color', defaultValue: 'var(--color-text-subtle)', section: 'search', showWhen: { withSearch: 'yes' } },\n { key: 'searchFontSize', label: 'Font Size', control: 'number', defaultValue: 12, min: 10, max: 18, step: 1, unit: 'px', section: 'search', showWhen: { withSearch: 'yes' } },\n\n // Option row — sizing knobs apply across all states. The shared\n // (always-visible) section keeps padding / font / radius next to\n // the state-specific colours so they're easy to find.\n { key: 'optionPaddingX', label: 'Padding X', control: 'number', defaultValue: 10, min: 4, max: 20, step: 1, unit: 'px', section: 'option' },\n { key: 'optionPaddingY', label: 'Padding Y', control: 'number', defaultValue: 6, min: 2, max: 14, step: 1, unit: 'px', section: 'option' },\n { key: 'optionFontSize', label: 'Font Size', control: 'number', defaultValue: 13, min: 10, max: 18, step: 1, unit: 'px', section: 'option' },\n { key: 'optionRadius', label: 'Radius', control: 'slider', defaultValue: 4, min: 0, max: 12, step: 1, unit: 'px', section: 'option' },\n\n // Per-state colour knobs — scoped by `state` variant so only the\n // knobs relevant to the currently-displayed showcase state are\n // visible. Matches the search-dropdown / select-dropdown / input-text\n // convention. State labels in showWhen match the variant `value`\n // strings (\"default\" / \"active\" / \"selected\" / \"selected-active\" /\n // \"disabled\"). Default state has no row background of its own — the\n // panel bg shows through — so only the text colour is exposed there.\n // Default state — bg + text. Bg defaults to transparent so the\n // panel chrome shows through (the common case); tune it if you\n // want every row to have its own surface (e.g. striped rows).\n { key: 'optionDefaultBg', label: 'Background', control: 'color', defaultValue: 'transparent', section: 'optionState', showWhen: { state: 'default' } },\n { key: 'optionColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'optionState', showWhen: { state: 'default' } },\n\n // \"Hover\" state covers both mouse hover and keyboard arrow-key\n // highlight — they paint the same modifier class (`--active`)\n // because the atom keeps them visually equivalent. Registry key\n // names stay `optionActive*` to match the CSS class + var\n // namespace; the workbench label is \"Hover\" because that's the\n // term designers use.\n { key: 'optionActiveBg', label: 'Background', control: 'color', defaultValue: 'var(--color-surface-alt)', section: 'optionState', showWhen: { state: 'hover' } },\n { key: 'optionActiveColor', label: 'Text', control: 'color', defaultValue: 'var(--color-text)', section: 'optionState', showWhen: { state: 'hover' } },\n\n { key: 'optionSelectedBg', label: 'Background', control: 'color', defaultValue: 'var(--color-accent-subtle)', section: 'optionState', showWhen: { state: 'selected' } },\n { key: 'optionSelectedColor', label: 'Text', control: 'color', defaultValue: 'var(--color-accent-bold)', section: 'optionState', showWhen: { state: 'selected' } },\n\n { key: 'optionDisabledOpacity', label: 'Opacity', control: 'slider', defaultValue: 0.4, min: 0.1, max: 1, step: 0.05, section: 'optionState', showWhen: { state: 'disabled' } },\n\n // Group headers — only meaningful when the consumer groups items.\n { key: 'groupHeaderFontSize', label: 'Font Size', control: 'number', defaultValue: 10, min: 9, max: 14, step: 1, unit: 'px', section: 'groupHeader', showWhen: { withGroups: 'yes' } },\n { key: 'groupHeaderColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-subtle)', section: 'groupHeader', showWhen: { withGroups: 'yes' } },\n\n // Empty-state line (e.g. \"No matches\").\n { key: 'emptyColor', label: 'Color', control: 'color', defaultValue: 'var(--color-text-muted)', section: 'empty' },\n\n // Footer divider — only shown when a consumer passes a footer slot\n // (ColorPicker's custom-hex panel).\n { key: 'footerBorder', label: 'Divider', control: 'color', defaultValue: 'var(--color-border)', section: 'footer', showWhen: { withFooter: 'yes' } },\n\n // No \"Selection Indicator\" knobs — the atom decides the pattern\n // (single-select → right-edge ✓ on selected, multi-select → left\n // checkboxes on every row). The right-edge ✓ inherits the row's\n // `--selected` text colour (tune via Selected → Text). The\n // checkbox marker reads `--uxm-checkbox-*` (tune via the Checkbox\n // atom). No new tuning surface here.\n ],\n layoutVariants: [\n {\n // Which state's classes to apply to the static showcase row at\n // the top of the preview. The interactive instance below is\n // always live — hover / keyboard / selection exercise the real\n // CSS rules independently. This picker is purely for VISUAL\n // confirmation of the per-state knobs (active bg, selected\n // bg/color, disabled opacity) — without it you'd have to hover\n // / click the interactive instance to verify each state.\n key: 'state',\n label: 'Row State',\n options: [\n { value: 'default', label: 'Default' },\n { value: 'hover', label: 'Hover' },\n { value: 'selected', label: 'Selected' },\n { value: 'disabled', label: 'Disabled' },\n ],\n defaultValue: 'default',\n },\n {\n key: 'withSearch',\n label: 'Search Input',\n options: [\n { value: 'yes', label: 'On' },\n { value: 'no', label: 'Off' },\n ],\n defaultValue: 'yes',\n },\n {\n key: 'withGroups',\n label: 'Group Headers',\n options: [\n { value: 'no', label: 'Off' },\n { value: 'yes', label: 'On' },\n ],\n defaultValue: 'no',\n },\n {\n key: 'withFooter',\n label: 'Footer Slot',\n options: [\n { value: 'no', label: 'Off' },\n { value: 'yes', label: 'On' },\n ],\n defaultValue: 'no',\n },\n {\n // Wrap a long list into up to two balanced columns to roughly halve\n // the panel height. Drives `--uxm-listbox-list-columns` on the list\n // in the preview; a real consumer sets the `columns` prop. The count\n // is a max (each column keeps a min width, so a narrow panel falls\n // back to one) — try it with Group Headers on to see headers span.\n // One vs two — deeper columns get unusable in a dropdown.\n key: 'columns',\n label: 'Columns',\n options: [\n { value: '1', label: 'One' },\n { value: '2', label: 'Two' },\n ],\n defaultValue: '1',\n },\n {\n // Which atom the interactive preview mounts. The indicator\n // pattern is decided by the atom, not by the workbench:\n // - `Listbox` (single) → right-edge ✓ on the selected row\n // - `MultiListbox` (multi) → left-edge checkbox on every row\n // The static showcase above respects this too — single mode\n // shows the right-✓ when `state=selected`; multi mode shows\n // checkboxes on the row regardless of state.\n key: 'mode',\n label: 'Selection',\n options: [\n { value: 'single', label: 'Single' },\n { value: 'multi', label: 'Multi' },\n ],\n defaultValue: 'single',\n },\n // Multi-only — the Checkboxes variant shows the with/without\n // indicator design choice for multi-select panels. `excludeSelected`\n // (hide picked items from the list) is intentionally NOT exposed\n // — it's a consumer-level decision baked into atoms like\n // PillSelect, not a panel-design choice designers should tune.\n // `showWhen: { mode: \"multi\" }` keeps it out of single mode.\n {\n key: 'showCheckbox',\n label: 'Checkboxes',\n options: [\n { value: 'on', label: 'On' },\n { value: 'off', label: 'Off' },\n ],\n defaultValue: 'on',\n showWhen: { mode: 'multi' },\n },\n ],\n events: [\n { name: 'onChange', description: 'Fires when the user picks an option (click or Enter). Multi-select toggles items in/out of the array.', payload: 'T (single) | T[] (multi)' },\n { name: 'onOpenChange', description: 'Fires when the panel opens or closes.', payload: 'boolean' },\n ],\n api: {\n importPath: '@viax.io/uxm/ui',\n importNames: ['Listbox', 'MultiListbox'],\n props: [\n { name: 'items', type: 'T[]', required: true, description: \"Source data — the listbox is generic over T and has no knowledge of what's inside.\" },\n { name: 'getKey', type: '(item: T) => string', required: true, description: 'Stable React key per item.' },\n { name: 'getLabel', type: '(item: T) => string', required: true, description: 'Plain text used for default substring filter and a11y.' },\n { name: 'value', type: 'T | null // Listbox\\nT[] // MultiListbox', required: true, description: 'Current selection.' },\n { name: 'onChange', type: '(item: T | null) => void // Listbox — null when consumer clears\\n(items: T[]) => void // MultiListbox — empty array when cleared', required: true, description: 'Selection callback. Listbox passes null when the consumer wires up a clear affordance (e.g. ✕ in their renderTrigger). MultiListbox passes an empty array when all selections are cleared.' },\n { name: 'renderTrigger', type: '(state: { open, selected, triggerProps }) => ReactNode', required: true, description: \"Render the consumer's trigger. Spread `triggerProps` on a button — that wires ref + click + ARIA in one go.\" },\n { name: 'renderItem', type: '(item: T, state: { active, selected }) => ReactNode', required: true, description: 'Render each row body — the atom owns layout + states; consumer owns visuals (icon, flag, swatch, etc.).' },\n { name: 'searchable', type: 'boolean | \"auto\"', defaultValue: 'true', description: 'Show a search input above the list. `\"auto\"` reveals it only once the option count exceeds the shared threshold (6) — the one place that rule lives, so every Listbox-backed picker shares it.' },\n { name: 'filterItems', type: '(items: T[], query: string) => T[]', description: 'Override the default case-insensitive substring filter on `getLabel`.' },\n { name: 'groupBy', type: '(item: T) => string', description: 'Group items under section headers in declared order.' },\n { name: 'columns', type: '1 | 2', defaultValue: '1', description: 'Wrap a long list into up to two balanced columns to roughly halve the panel height. Rows keep source order down column one then continue in column two, so arrow-key nav still reads naturally. A max, not a fixed count — each column keeps a min width (--uxm-listbox-list-column-min-width), so a narrow panel falls back to one column instead of cramping; widen the panel (wider anchor or matchAnchorWidth={false} + minPanelWidth) to reveal the second. Works with groupBy — headers span full width above each group.' },\n { name: 'footer', type: 'ReactNode', description: \"Slot below the list (e.g. ColorPicker's custom hex panel).\" },\n { name: 'isItemDisabled', type: '(item: T) => boolean', description: 'Mark individual items inert (not selectable, skipped by keyboard nav).' },\n { name: 'placement', type: '\"bottom-start\" | \"bottom-end\" | \"top-start\" | \"top-end\"', defaultValue: '\"bottom-start\"', description: 'Preferred placement; flips on overflow.' },\n { name: 'matchAnchorWidth', type: 'boolean', defaultValue: 'true', description: \"Match the positioning anchor's width (the trigger by default, or `anchorRef` if provided).\" },\n { name: 'anchorRef', type: 'RefObject<HTMLElement | null>', description: \"Override what the popover positions / sizes against. Defaults to the trigger element. Use when the trigger is a small affordance inside a larger field (e.g. PhoneInput's country button inside the phone field).\" },\n { name: 'showCheckmark', type: 'boolean', defaultValue: 'true', description: 'Listbox only — show the right-edge ✓ on the selected row. Set to `false` when row content already has trailing meta (dial codes, currency codes) that would compete for the right edge.' },\n { name: 'portal', type: 'boolean', defaultValue: 'true', description: 'Mount the panel into document.body — escapes clipping parents.' },\n { name: 'excludeSelected', type: 'boolean', defaultValue: 'true', description: 'MultiListbox only — hide items already in `value` from the panel.' },\n ],\n },\n};\n"],"mappings":"AAEO,MAAM,aAA2B;AAAA,EACtC,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,aAAa;AAAA,EACb,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;AAAA;AAAA;AAAA;AAAA,IAKlI,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,IACvI,EAAE,KAAK,kBAAkB,OAAO,cAAc,SAAS,UAAU,cAAc,KAAK,KAAK,KAAK,KAAK,KAAK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