@kerfjs/ui 5.0.0-beta.13 → 5.0.0-beta.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +741 -163
- package/ai/application-ui-diagnostic-ids-v1.json +140 -0
- package/ai/application-ui-profile-sync.cjs +579 -0
- package/ai/application-ui-profile.d.mts +1 -0
- package/ai/application-ui-profile.d.ts +108 -0
- package/ai/application-ui-profile.defaults.json +226 -0
- package/ai/application-ui-profile.mjs +684 -0
- package/ai/application-ui-profile.schema.json +257 -0
- package/ai/catalog-authoring.json +34 -0
- package/ai/catalog-authoring.schema.json +105 -0
- package/ai/compile-time-contracts-v1.json +149 -0
- package/ai/compile-time-contracts-v1.schema.json +52 -0
- package/ai/component-catalog-extension.schema.json +104 -0
- package/ai/component-catalog.json +10592 -1339
- package/ai/component-catalog.schema.json +127 -2
- package/ai/component-class-owners.cjs +83 -0
- package/ai/component-composition-extension.d.ts +7 -0
- package/ai/component-composition-extension.schema.json +7 -0
- package/ai/component-composition-rules.json +586 -0
- package/ai/component-composition.d.ts +178 -0
- package/ai/component-composition.json +11319 -0
- package/ai/component-composition.schema.json +749 -0
- package/ai/component-props-overlay.json +8910 -0
- package/ai/component-props-overlay.schema.json +82 -0
- package/ai/component-props.json +34289 -0
- package/ai/component-props.schema.json +408 -0
- package/ai/components/README.md +216 -0
- package/ai/components/anchored-surface.md +99 -0
- package/ai/components/application-tabs.md +65 -0
- package/ai/components/backdrop-image.md +86 -0
- package/ai/components/badge.md +77 -0
- package/ai/components/button.md +103 -0
- package/ai/components/checkbox-group.md +91 -0
- package/ai/components/checkbox.md +92 -0
- package/ai/components/chip.md +82 -0
- package/ai/components/choice-chips.md +97 -0
- package/ai/components/collapsible-panel.md +103 -0
- package/ai/components/color-field.md +94 -0
- package/ai/components/color-picker.md +95 -0
- package/ai/components/color-swatches.md +84 -0
- package/ai/components/column-explorer.md +89 -0
- package/ai/components/column-track.md +81 -0
- package/ai/components/combobox.md +92 -0
- package/ai/components/content-item.md +107 -0
- package/ai/components/content-swap.md +78 -0
- package/ai/components/corner-status.md +88 -0
- package/ai/components/disclosure-arrow.md +77 -0
- package/ai/components/disclosure.md +90 -0
- package/ai/components/document-baseline.md +77 -0
- package/ai/components/edge-activity-indicator.md +81 -0
- package/ai/components/editor-frame.md +80 -0
- package/ai/components/empty-state.md +80 -0
- package/ai/components/feedback.md +71 -0
- package/ai/components/file-picker.md +92 -0
- package/ai/components/floating-toolbar.md +82 -0
- package/ai/components/form.md +86 -0
- package/ai/components/foundation.md +65 -0
- package/ai/components/framed-list.md +80 -0
- package/ai/components/gauge.md +83 -0
- package/ai/components/grid.md +101 -0
- package/ai/components/headers.md +63 -0
- package/ai/components/layout.md +75 -0
- package/ai/components/list-action-row.md +110 -0
- package/ai/components/list-detail-dialog.md +92 -0
- package/ai/components/list-header.md +93 -0
- package/ai/components/list-inset-control.md +74 -0
- package/ai/components/list-inset-text.md +72 -0
- package/ai/components/list-item.md +112 -0
- package/ai/components/list.md +131 -0
- package/ai/components/loading-spinner.md +73 -0
- package/ai/components/lucide-icon.md +99 -0
- package/ai/components/message-composer.md +87 -0
- package/ai/components/nav-stack.md +122 -0
- package/ai/components/paged-view.md +89 -0
- package/ai/components/pane.md +130 -0
- package/ai/components/popup-menu.md +177 -0
- package/ai/components/progress-bar.md +82 -0
- package/ai/components/progress-ring.md +80 -0
- package/ai/components/radio-group.md +95 -0
- package/ai/components/recipe-app-shell.md +57 -0
- package/ai/components/recipe-collapsible-sidebar.md +57 -0
- package/ai/components/recipe-compact-toolbar.md +57 -0
- package/ai/components/recipe-composer-form.md +57 -0
- package/ai/components/recipe-list-detail-dialog.md +57 -0
- package/ai/components/recipe-list-workspace-states.md +57 -0
- package/ai/components/recipe-loading-inspector.md +57 -0
- package/ai/components/recipe-media-detail.md +57 -0
- package/ai/components/recipe-navigation-sidebar.md +57 -0
- package/ai/components/recipe-navigation-stack.md +57 -0
- package/ai/components/recipe-workspace-header.md +57 -0
- package/ai/components/resize.md +106 -0
- package/ai/components/row.md +96 -0
- package/ai/components/scroll-effect.md +84 -0
- package/ai/components/search-field.md +110 -0
- package/ai/components/segmented-control.md +86 -0
- package/ai/components/select.md +122 -0
- package/ai/components/sized-region.md +86 -0
- package/ai/components/skeleton.md +84 -0
- package/ai/components/slider.md +86 -0
- package/ai/components/spacer.md +86 -0
- package/ai/components/split-button.md +85 -0
- package/ai/components/split-view.md +105 -0
- package/ai/components/state-banner.md +98 -0
- package/ai/components/summary-row.md +94 -0
- package/ai/components/sunken-panel.md +79 -0
- package/ai/components/surface-scaffold.md +137 -0
- package/ai/components/switch.md +83 -0
- package/ai/components/tab-bar.md +119 -0
- package/ai/components/tab-navigator.md +107 -0
- package/ai/components/tab-panel.md +84 -0
- package/ai/components/tabs.md +101 -0
- package/ai/components/tag-field.md +88 -0
- package/ai/components/text-field.md +104 -0
- package/ai/components/text.md +96 -0
- package/ai/components/toast.md +85 -0
- package/ai/components/toolbar-control-group.md +134 -0
- package/ai/components/toolbar-text.md +102 -0
- package/ai/components/toolbar.md +105 -0
- package/ai/components/tooltip.md +81 -0
- package/ai/components/tree-list.md +95 -0
- package/ai/components/value-preview.md +75 -0
- package/ai/components/value-table.md +80 -0
- package/ai/components/wa-accordion-item.md +63 -0
- package/ai/components/wa-accordion.md +71 -0
- package/ai/components/wa-animated-image.md +56 -0
- package/ai/components/wa-animation.md +56 -0
- package/ai/components/wa-avatar.md +56 -0
- package/ai/components/wa-badge.md +62 -0
- package/ai/components/wa-breadcrumb-item.md +56 -0
- package/ai/components/wa-breadcrumb.md +56 -0
- package/ai/components/wa-button-group.md +62 -0
- package/ai/components/wa-button.md +63 -0
- package/ai/components/wa-callout.md +60 -0
- package/ai/components/wa-card.md +67 -0
- package/ai/components/wa-carousel-item.md +54 -0
- package/ai/components/wa-carousel.md +58 -0
- package/ai/components/wa-checkbox-group.md +62 -0
- package/ai/components/wa-checkbox.md +63 -0
- package/ai/components/wa-color-picker.md +65 -0
- package/ai/components/wa-comparison.md +58 -0
- package/ai/components/wa-copy-button.md +58 -0
- package/ai/components/wa-details.md +69 -0
- package/ai/components/wa-dialog.md +67 -0
- package/ai/components/wa-divider.md +54 -0
- package/ai/components/wa-drawer.md +64 -0
- package/ai/components/wa-dropdown-item.md +64 -0
- package/ai/components/wa-dropdown.md +62 -0
- package/ai/components/wa-format-bytes.md +54 -0
- package/ai/components/wa-format-date.md +54 -0
- package/ai/components/wa-format-number.md +54 -0
- package/ai/components/wa-icon.md +59 -0
- package/ai/components/wa-include.md +55 -0
- package/ai/components/wa-input.md +64 -0
- package/ai/components/wa-intersection-observer.md +54 -0
- package/ai/components/wa-known-date.md +56 -0
- package/ai/components/wa-markdown.md +54 -0
- package/ai/components/wa-mutation-observer.md +54 -0
- package/ai/components/wa-number-input.md +58 -0
- package/ai/components/wa-option.md +61 -0
- package/ai/components/wa-otp-input.md +56 -0
- package/ai/components/wa-page.md +62 -0
- package/ai/components/wa-pagination.md +58 -0
- package/ai/components/wa-popover.md +61 -0
- package/ai/components/wa-popup.md +60 -0
- package/ai/components/wa-progress-bar.md +60 -0
- package/ai/components/wa-progress-ring.md +60 -0
- package/ai/components/wa-qr-code.md +54 -0
- package/ai/components/wa-radio-group.md +67 -0
- package/ai/components/wa-radio.md +63 -0
- package/ai/components/wa-random-content.md +54 -0
- package/ai/components/wa-rating.md +58 -0
- package/ai/components/wa-relative-time.md +54 -0
- package/ai/components/wa-resize-observer.md +54 -0
- package/ai/components/wa-scroller.md +61 -0
- package/ai/components/wa-select.md +67 -0
- package/ai/components/wa-skeleton.md +60 -0
- package/ai/components/wa-slider.md +63 -0
- package/ai/components/wa-spinner.md +60 -0
- package/ai/components/wa-split-panel.md +60 -0
- package/ai/components/wa-step.md +56 -0
- package/ai/components/wa-stepper.md +56 -0
- package/ai/components/wa-switch.md +62 -0
- package/ai/components/wa-tab-group.md +71 -0
- package/ai/components/wa-tab-panel.md +62 -0
- package/ai/components/wa-tab.md +63 -0
- package/ai/components/wa-tag-input.md +64 -0
- package/ai/components/wa-tag.md +62 -0
- package/ai/components/wa-textarea.md +62 -0
- package/ai/components/wa-time-input.md +58 -0
- package/ai/components/wa-toast-item.md +62 -0
- package/ai/components/wa-toast.md +62 -0
- package/ai/components/wa-tooltip.md +61 -0
- package/ai/components/wa-tree-item.md +63 -0
- package/ai/components/wa-tree.md +61 -0
- package/ai/components/wa-zoomable-frame.md +58 -0
- package/ai/components/workbench-dialog.md +92 -0
- package/ai/components/workbench.md +120 -0
- package/ai/design-mock/SKILL.md +27 -0
- package/ai/design-mock/references/hs2-example.md +7 -0
- package/ai/public-api-signatures-v1.md +7713 -524
- package/ai/skill.md +683 -66
- package/ai/view-document.schema.json +467 -0
- package/ai/webawesome-jsx-signatures-v1.md +12 -2
- package/analyzer/cli.mjs +85 -0
- package/analyzer/component-ownership.d.mts +72 -0
- package/analyzer/component-ownership.mjs +429 -0
- package/analyzer/index.d.mts +54 -0
- package/analyzer/index.mjs +2738 -0
- package/analyzer/loud-pairs.d.mts +49 -0
- package/analyzer/loud-pairs.mjs +357 -0
- package/analyzer/report.schema.json +66 -0
- package/analyzer/selectors.d.mts +21 -0
- package/analyzer/selectors.mjs +212 -0
- package/catalog-projection-cli.mjs +132 -0
- package/catalog-projection.d.mts +55 -0
- package/catalog-projection.mjs +62 -0
- package/dist/anchor-name-BZ1rpxaw.d.ts +4 -0
- package/dist/anchored-surface.d.ts +69 -0
- package/dist/anchored-surface.js +4 -0
- package/dist/anchored-surface.js.map +1 -0
- package/dist/backdrop-image.d.ts +147 -0
- package/dist/backdrop-image.js +6 -0
- package/dist/backdrop-image.js.map +1 -0
- package/dist/badge.d.ts +91 -0
- package/dist/badge.js +4 -0
- package/dist/badge.js.map +1 -0
- package/dist/browser/anchored-surface.js +3 -0
- package/dist/browser/backdrop-image.js +4 -0
- package/dist/browser/badge.js +3 -0
- package/dist/browser/button.js +5 -0
- package/dist/browser/catalog.js +29 -0
- package/dist/browser/checkbox-group.js +5 -0
- package/dist/browser/checkbox.js +4 -0
- package/dist/browser/chip.js +3 -0
- package/dist/browser/choice-chips.js +3 -0
- package/dist/browser/collapsible-panel.js +10 -0
- package/dist/browser/color-field.js +4 -0
- package/dist/browser/color-picker.js +5 -0
- package/dist/browser/color-swatches.js +3 -0
- package/dist/browser/column-explorer.js +13 -0
- package/dist/browser/column-track.js +3 -0
- package/dist/browser/combobox.js +3 -0
- package/dist/browser/content-item.js +5 -0
- package/dist/browser/content-swap.js +3 -0
- package/dist/browser/corner-status.js +3 -0
- package/dist/browser/disclosure.js +5 -0
- package/dist/browser/edge-activity-indicator.js +3 -0
- package/dist/browser/editor-frame.js +3 -0
- package/dist/browser/editor.js +50 -0
- package/dist/browser/file-picker.js +3 -0
- package/dist/browser/form.js +3 -0
- package/dist/browser/framed-list.js +3 -0
- package/dist/browser/gauge.js +3 -0
- package/dist/browser/grid.js +3 -0
- package/dist/browser/list-action-row.js +3 -0
- package/dist/browser/list-detail-dialog.js +15 -0
- package/dist/browser/list-header.js +3 -1
- package/dist/browser/list-item.js +1 -0
- package/dist/browser/list.js +3 -0
- package/dist/browser/message-composer.js +5 -0
- package/dist/browser/nav-stack.js +12 -0
- package/dist/browser/paged-view.js +3 -0
- package/dist/browser/pane.js +3 -0
- package/dist/browser/popup-menu.js +4 -0
- package/dist/browser/progress-bar.js +3 -0
- package/dist/browser/progress-ring.js +3 -0
- package/dist/browser/radio-group.js +4 -0
- package/dist/browser/row.js +3 -0
- package/dist/browser/scroll-effect.js +3 -0
- package/dist/browser/search-field.js +4 -0
- package/dist/browser/segmented-control.js +1 -1
- package/dist/browser/select.js +2 -1
- package/dist/browser/sized-region.js +3 -0
- package/dist/browser/slider.js +3 -0
- package/dist/browser/spacer.js +3 -0
- package/dist/browser/split-button.js +5 -0
- package/dist/browser/split-view.js +14 -0
- package/dist/browser/state-banner.js +1 -0
- package/dist/browser/summary-row.js +3 -0
- package/dist/browser/sunken-panel.js +3 -0
- package/dist/browser/surface-scaffold.js +4 -0
- package/dist/browser/switch.js +3 -0
- package/dist/browser/tab-bar-item.js +4 -0
- package/dist/browser/tab-navigator.js +4 -0
- package/dist/browser/tab-panel.js +3 -0
- package/dist/browser/tag-field.js +5 -0
- package/dist/browser/text-field.js +4 -0
- package/dist/browser/text.js +3 -0
- package/dist/browser/toolbar-control-group.js +2 -0
- package/dist/browser/tree-list.js +7 -0
- package/dist/browser/value-preview.js +3 -0
- package/dist/browser/workbench-dialog.js +16 -0
- package/dist/browser/workbench.js +15 -0
- package/dist/button.d.ts +164 -0
- package/dist/button.js +8 -0
- package/dist/button.js.map +1 -0
- package/dist/catalog-resources.d.ts +52 -0
- package/dist/catalog-resources.js +22 -0
- package/dist/catalog-resources.js.map +1 -0
- package/dist/catalog.d.ts +136 -101
- package/dist/catalog.js +707 -108
- package/dist/catalog.js.map +1 -1
- package/dist/checkbox-group.d.ts +70 -0
- package/dist/checkbox-group.js +7 -0
- package/dist/checkbox-group.js.map +1 -0
- package/dist/checkbox.d.ts +45 -0
- package/dist/checkbox.js +6 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/chip.d.ts +117 -0
- package/dist/chip.js +4 -0
- package/dist/chip.js.map +1 -0
- package/dist/choice-chips.d.ts +135 -0
- package/dist/choice-chips.js +4 -0
- package/dist/choice-chips.js.map +1 -0
- package/dist/chunk-2FA3SX57.js +156 -0
- package/dist/chunk-2FA3SX57.js.map +1 -0
- package/dist/chunk-2GEGIPDR.js +78 -0
- package/dist/chunk-2GEGIPDR.js.map +1 -0
- package/dist/chunk-2GOCOLQL.js +270 -0
- package/dist/chunk-2GOCOLQL.js.map +1 -0
- package/dist/chunk-2RDWKN3Y.js +689 -0
- package/dist/chunk-2RDWKN3Y.js.map +1 -0
- package/dist/chunk-3K5V3ZSD.js +77 -0
- package/dist/chunk-3K5V3ZSD.js.map +1 -0
- package/dist/chunk-3TBMGGTA.js +27 -0
- package/dist/chunk-3TBMGGTA.js.map +1 -0
- package/dist/chunk-3UEMBHBK.js +1022 -0
- package/dist/chunk-3UEMBHBK.js.map +1 -0
- package/dist/chunk-3VZ6SFD4.js +8 -0
- package/dist/chunk-3VZ6SFD4.js.map +1 -0
- package/dist/chunk-3XSY5LAB.js +385 -0
- package/dist/chunk-3XSY5LAB.js.map +1 -0
- package/dist/chunk-44AOBT2F.js +16 -0
- package/dist/chunk-44AOBT2F.js.map +1 -0
- package/dist/chunk-4CYCJ3NY.js +563 -0
- package/dist/chunk-4CYCJ3NY.js.map +1 -0
- package/dist/chunk-4IXG6XCT.js +70 -0
- package/dist/chunk-4IXG6XCT.js.map +1 -0
- package/dist/chunk-4K7XXSOX.js +21 -0
- package/dist/chunk-4K7XXSOX.js.map +1 -0
- package/dist/chunk-4L5ZIKDZ.js +129 -0
- package/dist/chunk-4L5ZIKDZ.js.map +1 -0
- package/dist/chunk-4OH6JSGU.js +53 -0
- package/dist/chunk-4OH6JSGU.js.map +1 -0
- package/dist/chunk-4UWLHKNU.js +190 -0
- package/dist/chunk-4UWLHKNU.js.map +1 -0
- package/dist/chunk-5KWXM5O7.js +51 -0
- package/dist/chunk-5KWXM5O7.js.map +1 -0
- package/dist/chunk-63TJH2RF.js +231 -0
- package/dist/chunk-63TJH2RF.js.map +1 -0
- package/dist/chunk-6BXPN5SC.js +73 -0
- package/dist/chunk-6BXPN5SC.js.map +1 -0
- package/dist/chunk-6C6DLP3W.js +31 -0
- package/dist/chunk-6C6DLP3W.js.map +1 -0
- package/dist/chunk-6PHG2DMG.js +127 -0
- package/dist/chunk-6PHG2DMG.js.map +1 -0
- package/dist/chunk-6V6UHPJD.js +153 -0
- package/dist/chunk-6V6UHPJD.js.map +1 -0
- package/dist/chunk-76BLSFEA.js +825 -0
- package/dist/chunk-76BLSFEA.js.map +1 -0
- package/dist/chunk-76VCWWUA.js +73 -0
- package/dist/chunk-76VCWWUA.js.map +1 -0
- package/dist/chunk-7DIWVGGA.js +36 -0
- package/dist/chunk-7DIWVGGA.js.map +1 -0
- package/dist/chunk-7KN5OQVN.js +157 -0
- package/dist/chunk-7KN5OQVN.js.map +1 -0
- package/dist/chunk-7QQ3HE47.js +17 -0
- package/dist/chunk-7QQ3HE47.js.map +1 -0
- package/dist/chunk-7U65KLDL.js +67 -0
- package/dist/chunk-7U65KLDL.js.map +1 -0
- package/dist/chunk-AYPGXR2E.js +20 -0
- package/dist/chunk-AYPGXR2E.js.map +1 -0
- package/dist/chunk-BCHK33XL.js +167 -0
- package/dist/chunk-BCHK33XL.js.map +1 -0
- package/dist/chunk-C2TY5DJC.js +303 -0
- package/dist/chunk-C2TY5DJC.js.map +1 -0
- package/dist/chunk-C4FBYP2D.js +59 -0
- package/dist/chunk-C4FBYP2D.js.map +1 -0
- package/dist/chunk-CAB5IWV7.js +93 -0
- package/dist/chunk-CAB5IWV7.js.map +1 -0
- package/dist/chunk-CCPWJDRW.js +61 -0
- package/dist/chunk-CCPWJDRW.js.map +1 -0
- package/dist/chunk-CIAUILRR.js +222 -0
- package/dist/chunk-CIAUILRR.js.map +1 -0
- package/dist/chunk-CJAKN2KZ.js +35 -0
- package/dist/chunk-CJAKN2KZ.js.map +1 -0
- package/dist/chunk-CKPI4WIN.js +58 -0
- package/dist/chunk-CKPI4WIN.js.map +1 -0
- package/dist/chunk-CMG4OZPV.js +119 -0
- package/dist/chunk-CMG4OZPV.js.map +1 -0
- package/dist/chunk-COMEWURO.js +122 -0
- package/dist/chunk-COMEWURO.js.map +1 -0
- package/dist/chunk-COQI4OMZ.js +71 -0
- package/dist/chunk-COQI4OMZ.js.map +1 -0
- package/dist/chunk-CPTQABDQ.js +36 -0
- package/dist/chunk-CPTQABDQ.js.map +1 -0
- package/dist/chunk-CRHKWHTA.js +90 -0
- package/dist/chunk-CRHKWHTA.js.map +1 -0
- package/dist/chunk-CUUW57WB.js +539 -0
- package/dist/chunk-CUUW57WB.js.map +1 -0
- package/dist/chunk-D2KHQNJ6.js +155 -0
- package/dist/chunk-D2KHQNJ6.js.map +1 -0
- package/dist/chunk-D4MXSAMI.js +50 -0
- package/dist/chunk-D4MXSAMI.js.map +1 -0
- package/dist/chunk-DB64I3DB.js +191 -0
- package/dist/chunk-DB64I3DB.js.map +1 -0
- package/dist/chunk-DBP3N6E5.js +204 -0
- package/dist/chunk-DBP3N6E5.js.map +1 -0
- package/dist/chunk-DJWBXEF4.js +40 -0
- package/dist/chunk-DJWBXEF4.js.map +1 -0
- package/dist/chunk-DKPYHVIV.js +13 -0
- package/dist/chunk-DKPYHVIV.js.map +1 -0
- package/dist/chunk-DV6GE57V.js +191 -0
- package/dist/chunk-DV6GE57V.js.map +1 -0
- package/dist/chunk-E7Q6UNCB.js +41 -0
- package/dist/chunk-E7Q6UNCB.js.map +1 -0
- package/dist/chunk-E7ZRBMVQ.js +76 -0
- package/dist/chunk-E7ZRBMVQ.js.map +1 -0
- package/dist/chunk-ECVTRAXN.js +37 -0
- package/dist/chunk-ECVTRAXN.js.map +1 -0
- package/dist/chunk-EHR7R7YP.js +62 -0
- package/dist/chunk-EHR7R7YP.js.map +1 -0
- package/dist/chunk-EI55KWHP.js +28 -0
- package/dist/chunk-EI55KWHP.js.map +1 -0
- package/dist/chunk-FCO7BT4P.js +256 -0
- package/dist/chunk-FCO7BT4P.js.map +1 -0
- package/dist/chunk-FNJA4S6J.js +38 -0
- package/dist/chunk-FNJA4S6J.js.map +1 -0
- package/dist/chunk-FQETQ7CM.js +48 -0
- package/dist/chunk-FQETQ7CM.js.map +1 -0
- package/dist/chunk-FR5G77K5.js +82 -0
- package/dist/chunk-FR5G77K5.js.map +1 -0
- package/dist/chunk-GE2BQXB3.js +206 -0
- package/dist/chunk-GE2BQXB3.js.map +1 -0
- package/dist/chunk-GHV36C6I.js +94 -0
- package/dist/chunk-GHV36C6I.js.map +1 -0
- package/dist/chunk-GXSX6Q6O.js +42 -0
- package/dist/chunk-GXSX6Q6O.js.map +1 -0
- package/dist/chunk-HPOXLOVC.js +184 -0
- package/dist/chunk-HPOXLOVC.js.map +1 -0
- package/dist/chunk-HTERKONR.js +49 -0
- package/dist/chunk-HTERKONR.js.map +1 -0
- package/dist/chunk-I2K4OQKB.js +426 -0
- package/dist/chunk-I2K4OQKB.js.map +1 -0
- package/dist/chunk-IFDTSVE6.js +9 -0
- package/dist/chunk-IFDTSVE6.js.map +1 -0
- package/dist/chunk-IKS72C6P.js +53 -0
- package/dist/chunk-IKS72C6P.js.map +1 -0
- package/dist/chunk-IPYQYLSX.js +169 -0
- package/dist/chunk-IPYQYLSX.js.map +1 -0
- package/dist/chunk-IQSRHXZR.js +164 -0
- package/dist/chunk-IQSRHXZR.js.map +1 -0
- package/dist/chunk-IRC5N7FA.js +16 -0
- package/dist/chunk-IRC5N7FA.js.map +1 -0
- package/dist/chunk-JAC6AVZN.js +104 -0
- package/dist/chunk-JAC6AVZN.js.map +1 -0
- package/dist/chunk-JHUEYWWI.js +74 -0
- package/dist/chunk-JHUEYWWI.js.map +1 -0
- package/dist/chunk-JYKP7TBZ.js +27 -0
- package/dist/chunk-JYKP7TBZ.js.map +1 -0
- package/dist/chunk-KACJOE2N.js +170 -0
- package/dist/chunk-KACJOE2N.js.map +1 -0
- package/dist/chunk-KBS3GP6S.js +68 -0
- package/dist/chunk-KBS3GP6S.js.map +1 -0
- package/dist/chunk-KC6WUSNS.js +34 -0
- package/dist/chunk-KC6WUSNS.js.map +1 -0
- package/dist/chunk-KK3S5OTW.js +98 -0
- package/dist/chunk-KK3S5OTW.js.map +1 -0
- package/dist/chunk-KS7EXW4P.js +290 -0
- package/dist/chunk-KS7EXW4P.js.map +1 -0
- package/dist/chunk-LET362AM.js +105 -0
- package/dist/chunk-LET362AM.js.map +1 -0
- package/dist/chunk-LJV2FNOC.js +346 -0
- package/dist/chunk-LJV2FNOC.js.map +1 -0
- package/dist/chunk-LK3QJHVX.js +19 -0
- package/dist/chunk-LK3QJHVX.js.map +1 -0
- package/dist/chunk-LOW7J7SE.js +63 -0
- package/dist/chunk-LOW7J7SE.js.map +1 -0
- package/dist/chunk-LTOTL5AS.js +56 -0
- package/dist/chunk-LTOTL5AS.js.map +1 -0
- package/dist/chunk-M64TAGZY.js +590 -0
- package/dist/chunk-M64TAGZY.js.map +1 -0
- package/dist/chunk-M72QLDUO.js +33 -0
- package/dist/chunk-M72QLDUO.js.map +1 -0
- package/dist/chunk-MHMWQ7RB.js +19 -0
- package/dist/chunk-MHMWQ7RB.js.map +1 -0
- package/dist/chunk-MJ5RU6XT.js +173 -0
- package/dist/chunk-MJ5RU6XT.js.map +1 -0
- package/dist/chunk-MMOQR426.js +14 -0
- package/dist/chunk-MMOQR426.js.map +1 -0
- package/dist/chunk-MVWR5WRX.js +99 -0
- package/dist/chunk-MVWR5WRX.js.map +1 -0
- package/dist/chunk-NA4LKVPX.js +48 -0
- package/dist/chunk-NA4LKVPX.js.map +1 -0
- package/dist/chunk-OK7FUK7U.js +9 -0
- package/dist/chunk-OK7FUK7U.js.map +1 -0
- package/dist/chunk-OKZTLRGG.js +34 -0
- package/dist/chunk-OKZTLRGG.js.map +1 -0
- package/dist/chunk-OQFWF7Q7.js +178 -0
- package/dist/chunk-OQFWF7Q7.js.map +1 -0
- package/dist/chunk-OZKBIPXU.js +114 -0
- package/dist/chunk-OZKBIPXU.js.map +1 -0
- package/dist/chunk-PVKAIVKE.js +283 -0
- package/dist/chunk-PVKAIVKE.js.map +1 -0
- package/dist/chunk-Q5BPZPCO.js +52 -0
- package/dist/chunk-Q5BPZPCO.js.map +1 -0
- package/dist/chunk-QDSZTQXL.js +28 -0
- package/dist/chunk-QDSZTQXL.js.map +1 -0
- package/dist/chunk-QPTJ5DOO.js +87 -0
- package/dist/chunk-QPTJ5DOO.js.map +1 -0
- package/dist/chunk-QR7MGGOM.js +49 -0
- package/dist/chunk-QR7MGGOM.js.map +1 -0
- package/dist/chunk-QSJAIXLM.js +524 -0
- package/dist/chunk-QSJAIXLM.js.map +1 -0
- package/dist/chunk-QXXLDY6I.js +164 -0
- package/dist/chunk-QXXLDY6I.js.map +1 -0
- package/dist/chunk-QY77Q7RY.js +129 -0
- package/dist/chunk-QY77Q7RY.js.map +1 -0
- package/dist/chunk-QYOPZ2XS.js +124 -0
- package/dist/chunk-QYOPZ2XS.js.map +1 -0
- package/dist/chunk-QZA75NOK.js +202 -0
- package/dist/chunk-QZA75NOK.js.map +1 -0
- package/dist/chunk-R4JK2C6D.js +358 -0
- package/dist/chunk-R4JK2C6D.js.map +1 -0
- package/dist/chunk-RGB4DPMN.js +144 -0
- package/dist/chunk-RGB4DPMN.js.map +1 -0
- package/dist/chunk-RHMY45DK.js +178 -0
- package/dist/chunk-RHMY45DK.js.map +1 -0
- package/dist/{chunk-56RJXPHG.js → chunk-RPJOLDSR.js} +15 -4
- package/dist/chunk-RPJOLDSR.js.map +1 -0
- package/dist/chunk-S7QB5KMM.js +398 -0
- package/dist/chunk-S7QB5KMM.js.map +1 -0
- package/dist/chunk-SGYBIKQA.js +265 -0
- package/dist/chunk-SGYBIKQA.js.map +1 -0
- package/dist/chunk-SHECA2N4.js +96 -0
- package/dist/chunk-SHECA2N4.js.map +1 -0
- package/dist/chunk-SNUDT6AX.js +89 -0
- package/dist/chunk-SNUDT6AX.js.map +1 -0
- package/dist/chunk-TBVSPSGX.js +14 -0
- package/dist/chunk-TBVSPSGX.js.map +1 -0
- package/dist/chunk-TNJLNLVE.js +115 -0
- package/dist/chunk-TNJLNLVE.js.map +1 -0
- package/dist/chunk-TRJS7M2H.js +39 -0
- package/dist/chunk-TRJS7M2H.js.map +1 -0
- package/dist/chunk-TUID42UE.js +15 -0
- package/dist/chunk-TUID42UE.js.map +1 -0
- package/dist/chunk-TXBNPEIJ.js +31 -0
- package/dist/chunk-TXBNPEIJ.js.map +1 -0
- package/dist/chunk-UOBC36FL.js +149 -0
- package/dist/chunk-UOBC36FL.js.map +1 -0
- package/dist/chunk-UPHPFKAD.js +190 -0
- package/dist/chunk-UPHPFKAD.js.map +1 -0
- package/dist/chunk-UU37OR3D.js +18 -0
- package/dist/chunk-UU37OR3D.js.map +1 -0
- package/dist/chunk-V3IXAI4L.js +52 -0
- package/dist/chunk-V3IXAI4L.js.map +1 -0
- package/dist/chunk-VBXKYT4O.js +71 -0
- package/dist/chunk-VBXKYT4O.js.map +1 -0
- package/dist/chunk-WCMGPAY2.js +103 -0
- package/dist/chunk-WCMGPAY2.js.map +1 -0
- package/dist/chunk-WEQNPYVA.js +62 -0
- package/dist/chunk-WEQNPYVA.js.map +1 -0
- package/dist/chunk-WSPXSWFG.js +76 -0
- package/dist/chunk-WSPXSWFG.js.map +1 -0
- package/dist/chunk-WVQDIOD7.js +148 -0
- package/dist/chunk-WVQDIOD7.js.map +1 -0
- package/dist/chunk-X43QQWVC.js +208 -0
- package/dist/chunk-X43QQWVC.js.map +1 -0
- package/dist/chunk-XO5IOPM5.js +218 -0
- package/dist/chunk-XO5IOPM5.js.map +1 -0
- package/dist/chunk-Y4VR6VNM.js +44 -0
- package/dist/chunk-Y4VR6VNM.js.map +1 -0
- package/dist/chunk-YA6OAJY6.js +155 -0
- package/dist/chunk-YA6OAJY6.js.map +1 -0
- package/dist/chunk-YE6KCAIN.js +382 -0
- package/dist/chunk-YE6KCAIN.js.map +1 -0
- package/dist/collapsible-panel.d.ts +104 -17
- package/dist/collapsible-panel.js +174 -14
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/color-field.d.ts +51 -0
- package/dist/color-field.js +92 -0
- package/dist/color-field.js.map +1 -0
- package/dist/color-picker.d.ts +113 -0
- package/dist/color-picker.js +8 -0
- package/dist/color-picker.js.map +1 -0
- package/dist/color-swatches.d.ts +56 -0
- package/dist/color-swatches.js +4 -0
- package/dist/color-swatches.js.map +1 -0
- package/dist/column-explorer.d.ts +71 -0
- package/dist/column-explorer.js +23 -0
- package/dist/column-explorer.js.map +1 -0
- package/dist/column-track.d.ts +70 -0
- package/dist/column-track.js +4 -0
- package/dist/column-track.js.map +1 -0
- package/dist/combobox.d.ts +44 -0
- package/dist/combobox.js +4 -0
- package/dist/combobox.js.map +1 -0
- package/dist/content-item.d.ts +182 -0
- package/dist/content-item.js +8 -0
- package/dist/content-item.js.map +1 -0
- package/dist/content-swap.d.ts +38 -0
- package/dist/content-swap.js +4 -0
- package/dist/content-swap.js.map +1 -0
- package/dist/corner-status.d.ts +40 -0
- package/dist/corner-status.js +4 -0
- package/dist/corner-status.js.map +1 -0
- package/dist/css-values.d.ts +127 -0
- package/dist/css-values.js +3 -0
- package/dist/css-values.js.map +1 -0
- package/dist/device-class.js +1 -73
- package/dist/device-class.js.map +1 -1
- package/dist/dialog-surface-controller-BeKZ3e8Z.d.ts +251 -0
- package/dist/disclosure-arrow.d.ts +10 -1
- package/dist/disclosure-arrow.js +3 -1
- package/dist/disclosure.d.ts +66 -0
- package/dist/disclosure.js +51 -0
- package/dist/disclosure.js.map +1 -0
- package/dist/edge-activity-indicator.d.ts +32 -0
- package/dist/edge-activity-indicator.js +4 -0
- package/dist/edge-activity-indicator.js.map +1 -0
- package/dist/editor-frame.d.ts +41 -0
- package/dist/editor-frame.js +3 -0
- package/dist/editor-frame.js.map +1 -0
- package/dist/editor.d.ts +447 -0
- package/dist/editor.js +15608 -0
- package/dist/editor.js.map +1 -0
- package/dist/empty-state.d.ts +9 -2
- package/dist/empty-state.js +3 -1
- package/dist/extension-attributes-IJ4decoa.d.ts +19 -0
- package/dist/file-picker.d.ts +75 -0
- package/dist/file-picker.js +4 -0
- package/dist/file-picker.js.map +1 -0
- package/dist/flex-alignment-4ms8ZbV8.d.ts +5 -0
- package/dist/floating-toolbar.d.ts +33 -6
- package/dist/floating-toolbar.js +2 -1
- package/dist/form.d.ts +45 -0
- package/dist/form.js +4 -0
- package/dist/form.js.map +1 -0
- package/dist/framed-list.d.ts +47 -0
- package/dist/framed-list.js +4 -0
- package/dist/framed-list.js.map +1 -0
- package/dist/gauge.d.ts +73 -0
- package/dist/gauge.js +157 -0
- package/dist/gauge.js.map +1 -0
- package/dist/grid.d.ts +58 -0
- package/dist/grid.js +6 -0
- package/dist/grid.js.map +1 -0
- package/dist/help-tags-register.d.ts +13 -0
- package/dist/help-tags-register.js +11 -0
- package/dist/help-tags-register.js.map +1 -0
- package/dist/index.d.ts +83 -17
- package/dist/index.js +103 -27
- package/dist/list-action-row.d.ts +69 -12
- package/dist/list-action-row.js +10 -1
- package/dist/list-detail-dialog.d.ts +131 -0
- package/dist/list-detail-dialog.js +173 -0
- package/dist/list-detail-dialog.js.map +1 -0
- package/dist/list-header.d.ts +122 -10
- package/dist/list-header.js +5 -1
- package/dist/list-icon-tile-B8dr97OW.d.ts +18 -0
- package/dist/list-inset-control.d.ts +14 -4
- package/dist/list-inset-control.js +2 -1
- package/dist/list-inset-text.d.ts +18 -4
- package/dist/list-inset-text.js +2 -1
- package/dist/list-item.d.ts +49 -5
- package/dist/list-item.js +7 -1
- package/dist/list.d.ts +268 -0
- package/dist/list.js +7 -0
- package/dist/list.js.map +1 -0
- package/dist/loading-spinner.d.ts +16 -2
- package/dist/loading-spinner.js +3 -1
- package/dist/lucide-icon.d.ts +27 -3
- package/dist/lucide-icon.js +3 -1
- package/dist/message-composer.d.ts +70 -0
- package/dist/message-composer.js +7 -0
- package/dist/message-composer.js.map +1 -0
- package/dist/nav-stack-DKrvqFjA.d.ts +206 -0
- package/dist/nav-stack.d.ts +17 -38
- package/dist/nav-stack.js +18 -1
- package/dist/paged-view.d.ts +47 -0
- package/dist/paged-view.js +86 -0
- package/dist/paged-view.js.map +1 -0
- package/dist/pane.d.ts +275 -0
- package/dist/pane.js +8 -0
- package/dist/pane.js.map +1 -0
- package/dist/panel-toolbar-CEcHHDkn.d.ts +85 -0
- package/dist/popup-menu-register.d.ts +11 -0
- package/dist/popup-menu-register.js +7 -0
- package/dist/popup-menu-register.js.map +1 -0
- package/dist/popup-menu.d.ts +193 -0
- package/dist/popup-menu.js +8 -0
- package/dist/popup-menu.js.map +1 -0
- package/dist/progress-bar.d.ts +52 -0
- package/dist/progress-bar.js +68 -0
- package/dist/progress-bar.js.map +1 -0
- package/dist/progress-ring.d.ts +44 -0
- package/dist/progress-ring.js +73 -0
- package/dist/progress-ring.js.map +1 -0
- package/dist/radio-group.d.ts +79 -0
- package/dist/radio-group.js +6 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/resizable-region.d.ts +36 -3
- package/dist/resizable-region.js +2 -1
- package/dist/row.d.ts +58 -0
- package/dist/row.js +7 -0
- package/dist/row.js.map +1 -0
- package/dist/scroll-clearance-BikHljTc.d.ts +14 -0
- package/dist/scroll-effect.d.ts +86 -0
- package/dist/scroll-effect.js +5 -0
- package/dist/scroll-effect.js.map +1 -0
- package/dist/search-field-7wLt3Bd5.d.ts +221 -0
- package/dist/search-field-model.d.ts +4 -0
- package/dist/search-field-model.js +3 -0
- package/dist/search-field-model.js.map +1 -0
- package/dist/search-field.d.ts +4 -0
- package/dist/search-field.js +6 -0
- package/dist/search-field.js.map +1 -0
- package/dist/segmented-control.d.ts +40 -10
- package/dist/segmented-control.js +3 -1
- package/dist/select-register.d.ts +6 -3
- package/dist/select-register.js +403 -8
- package/dist/select-register.js.map +1 -1
- package/dist/select.d.ts +149 -9
- package/dist/select.js +6 -1
- package/dist/selection.d.ts +54 -0
- package/dist/selection.js +3 -0
- package/dist/selection.js.map +1 -0
- package/dist/semantic-content-BbzjvSu9.d.ts +14 -0
- package/dist/semantic-tone-CdW013KF.d.ts +4 -0
- package/dist/sides-BPSWde0A.d.ts +4 -0
- package/dist/sized-region.d.ts +44 -0
- package/dist/sized-region.js +4 -0
- package/dist/sized-region.js.map +1 -0
- package/dist/skeleton.d.ts +18 -7
- package/dist/skeleton.js +3 -1
- package/dist/slider.d.ts +74 -0
- package/dist/slider.js +103 -0
- package/dist/slider.js.map +1 -0
- package/dist/spacer.d.ts +22 -0
- package/dist/spacer.js +5 -0
- package/dist/spacer.js.map +1 -0
- package/dist/split-button.d.ts +69 -0
- package/dist/split-button.js +7 -0
- package/dist/split-button.js.map +1 -0
- package/dist/split-middle-De745N2j.d.ts +7 -0
- package/dist/split-view.d.ts +71 -6
- package/dist/split-view.js +18 -15
- package/dist/split-view.js.map +1 -1
- package/dist/state-banner.d.ts +59 -7
- package/dist/state-banner.js +4 -1
- package/dist/styles/anchored-surface.css +44 -0
- package/dist/styles/backdrop-image.css +330 -0
- package/dist/styles/badge.css +227 -0
- package/dist/styles/button.css +396 -0
- package/dist/styles/catalog/components/catalog-example-stack.css +14 -0
- package/dist/styles/catalog/components/catalog-example.css +250 -0
- package/dist/styles/catalog/components/catalog-stage.css +61 -0
- package/dist/styles/catalog/components/catalog.css +26 -0
- package/dist/styles/catalog.css +5 -522
- package/dist/styles/checkbox-group.css +63 -0
- package/dist/styles/checkbox.css +122 -0
- package/dist/styles/chip.css +234 -0
- package/dist/styles/choice-chips.css +264 -0
- package/dist/styles/collapsible-panel.css +459 -16
- package/dist/styles/color-field.css +125 -0
- package/dist/styles/color-picker.css +366 -0
- package/dist/styles/color-swatches.css +122 -0
- package/dist/styles/column-explorer.css +6 -0
- package/dist/styles/column-track.css +62 -0
- package/dist/styles/combobox.css +115 -0
- package/dist/styles/components/actions/button/button.css +396 -0
- package/dist/styles/components/actions/floating-toolbar/floating-toolbar.css +119 -0
- package/dist/styles/components/actions/popup-menu/popup-menu.css +651 -0
- package/dist/styles/components/actions/split-button/split-button.css +141 -0
- package/dist/styles/components/actions/toolbar/toolbar.css +524 -0
- package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +1041 -0
- package/dist/styles/components/actions/toolbar-text/toolbar-text.css +256 -0
- package/dist/styles/components/collections/column-explorer/column-explorer.css +6 -0
- package/dist/styles/components/collections/framed-list/framed-list.css +57 -0
- package/dist/styles/components/collections/list/list.css +301 -0
- package/dist/styles/components/collections/list-action-row/list-action-row.css +470 -0
- package/dist/styles/components/collections/list-header/list-header.css +272 -0
- package/dist/styles/components/collections/list-inset-control/list-inset-control.css +30 -0
- package/dist/styles/components/collections/list-inset-text/list-inset-text.css +29 -0
- package/dist/styles/components/collections/list-item/list-item.css +532 -0
- package/dist/styles/components/collections/summary-row/summary-row.css +198 -0
- package/dist/styles/components/collections/tree-list/tree-list.css +8 -0
- package/dist/styles/components/data-display/value-preview/value-preview.css +18 -0
- package/dist/styles/components/data-display/value-table/value-table.css +184 -0
- package/dist/styles/components/feedback/anchored-surface/anchored-surface.css +44 -0
- package/dist/styles/components/feedback/badge/badge.css +227 -0
- package/dist/styles/components/feedback/chip/chip.css +234 -0
- package/dist/styles/components/feedback/corner-status/corner-status.css +60 -0
- package/dist/styles/components/feedback/edge-activity-indicator/edge-activity-indicator.css +127 -0
- package/dist/styles/components/feedback/empty-state/empty-state.css +47 -0
- package/dist/styles/components/feedback/gauge/gauge.css +132 -0
- package/dist/styles/components/feedback/loading-spinner/loading-spinner.css +25 -0
- package/dist/styles/components/feedback/progress-bar/progress-bar.css +168 -0
- package/dist/styles/components/feedback/progress-ring/progress-ring.css +91 -0
- package/dist/styles/components/feedback/skeleton/skeleton.css +92 -0
- package/dist/styles/components/feedback/state-banner/state-banner.css +317 -0
- package/dist/styles/components/forms/checkbox/checkbox.css +122 -0
- package/dist/styles/components/forms/checkbox-group/checkbox-group.css +63 -0
- package/dist/styles/components/forms/choice-chips/choice-chips.css +264 -0
- package/dist/styles/components/forms/color-field/color-field.css +125 -0
- package/dist/styles/components/forms/color-picker/color-picker.css +366 -0
- package/dist/styles/components/forms/color-swatches/color-swatches.css +122 -0
- package/dist/styles/components/forms/combobox/combobox.css +115 -0
- package/dist/styles/components/forms/file-picker/file-picker.css +92 -0
- package/dist/styles/components/forms/form/form.css +6 -0
- package/dist/styles/components/forms/message-composer/message-composer.css +84 -0
- package/dist/styles/components/forms/radio-group/radio-group.css +269 -0
- package/dist/styles/components/forms/search-field/search-field.css +539 -0
- package/dist/styles/components/forms/segmented-control/segmented-control.css +212 -0
- package/dist/styles/components/forms/select/select.css +663 -0
- package/dist/styles/components/forms/slider/slider.css +241 -0
- package/dist/styles/components/forms/switch/switch.css +132 -0
- package/dist/styles/components/forms/tag-field/tag-field.css +8 -0
- package/dist/styles/components/forms/text-field/text-field.css +237 -0
- package/dist/styles/components/layout/collapsible-panel/collapsible-panel.css +589 -0
- package/dist/styles/components/layout/column-track/column-track.css +62 -0
- package/dist/styles/components/layout/content-swap/content-swap.css +154 -0
- package/dist/styles/components/layout/grid/grid.css +88 -0
- package/dist/styles/components/layout/pane/pane.css +796 -0
- package/dist/styles/components/layout/resizable-region/resizable-region.css +536 -0
- package/dist/styles/components/layout/row/row.css +125 -0
- package/dist/styles/components/layout/sized-region/sized-region.css +22 -0
- package/dist/styles/components/layout/spacer/spacer.css +11 -0
- package/dist/styles/components/layout/split-view/split-view.css +157 -0
- package/dist/styles/components/layout/workbench/workbench.css +1077 -0
- package/dist/styles/components/media/lucide-icon/lucide-icon.css +15 -0
- package/dist/styles/components/navigation/disclosure-arrow/disclosure-arrow.css +43 -0
- package/dist/styles/components/navigation/nav-stack/nav-stack.css +617 -0
- package/dist/styles/components/navigation/paged-view/paged-view.css +160 -0
- package/dist/styles/components/navigation/tab-bar/tab-bar.css +210 -0
- package/dist/styles/components/navigation/tab-bar-item/tab-bar-item.css +480 -0
- package/dist/styles/components/navigation/tab-navigator/tab-navigator.css +461 -0
- package/dist/styles/components/navigation/tab-panel/tab-panel.css +7 -0
- package/dist/styles/components/surfaces/backdrop-image/backdrop-image.css +208 -0
- package/dist/styles/components/surfaces/content-item/content-item.css +220 -0
- package/dist/styles/components/surfaces/disclosure/disclosure.css +136 -0
- package/dist/styles/components/surfaces/editor-frame/editor-frame.css +128 -0
- package/dist/styles/components/surfaces/scroll-effect/scroll-effect.css +121 -0
- package/dist/styles/components/surfaces/sunken-panel/sunken-panel.css +34 -0
- package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +1132 -0
- package/dist/styles/components/typography/text/text.css +270 -0
- package/dist/styles/content-item.css +551 -0
- package/dist/styles/content-swap.css +154 -0
- package/dist/styles/corner-status.css +60 -0
- package/dist/styles/disclosure-arrow.css +20 -0
- package/dist/styles/disclosure.css +136 -0
- package/dist/styles/document.css +102 -0
- package/dist/styles/edge-activity-indicator.css +127 -0
- package/dist/styles/editor/editor.css +585 -0
- package/dist/styles/editor-frame.css +128 -0
- package/dist/styles/editor.css +4 -0
- package/dist/styles/file-picker.css +92 -0
- package/dist/styles/floating-toolbar.css +87 -6
- package/dist/styles/form.css +6 -0
- package/dist/styles/foundation.css +550 -51
- package/dist/styles/framed-list.css +57 -0
- package/dist/styles/gauge.css +132 -0
- package/dist/styles/grid.css +88 -0
- package/dist/styles/layout.css +3 -41
- package/dist/styles/list-action-row.css +328 -18
- package/dist/styles/list-detail-dialog.css +11 -0
- package/dist/styles/list-header.css +172 -60
- package/dist/styles/list-inset-control.css +25 -2
- package/dist/styles/list-inset-text.css +27 -3
- package/dist/styles/list-item.css +443 -34
- package/dist/styles/list.css +301 -0
- package/dist/styles/loading-spinner.css +4 -0
- package/dist/styles/lucide-icon.css +9 -0
- package/dist/styles/message-composer.css +84 -0
- package/dist/styles/nav-stack.css +553 -47
- package/dist/styles/overlay-sheet.css +211 -0
- package/dist/styles/overlay-toast.css +149 -0
- package/dist/styles/overlay-tooltip.css +55 -0
- package/dist/styles/paged-view.css +160 -0
- package/dist/styles/pane.css +796 -0
- package/dist/styles/popup-menu.css +651 -0
- package/dist/styles/progress-bar.css +168 -0
- package/dist/styles/progress-ring.css +91 -0
- package/dist/styles/radio-group.css +269 -0
- package/dist/styles/resizable-region.css +429 -4
- package/dist/styles/row.css +125 -0
- package/dist/styles/scroll-effect.css +121 -0
- package/dist/styles/search-field.css +539 -0
- package/dist/styles/segmented-control.css +53 -10
- package/dist/styles/select.css +599 -74
- package/dist/styles/sized-region.css +22 -0
- package/dist/styles/skeleton.css +64 -3
- package/dist/styles/slider.css +241 -0
- package/dist/styles/spacer.css +11 -0
- package/dist/styles/split-button.css +141 -0
- package/dist/styles/split-view.css +125 -3
- package/dist/styles/state-banner.css +169 -25
- package/dist/styles/styles.css +52 -3
- package/dist/styles/summary-row.css +198 -0
- package/dist/styles/sunken-panel.css +34 -0
- package/dist/styles/surface-scaffold.css +1132 -0
- package/dist/styles/switch.css +132 -0
- package/dist/styles/tab-bar-item.css +480 -0
- package/dist/styles/tab-bar.css +174 -9
- package/dist/styles/tab-navigator.css +461 -0
- package/dist/styles/tab-panel.css +7 -0
- package/dist/styles/tag-field.css +8 -0
- package/dist/styles/text-field.css +237 -0
- package/dist/styles/text.css +270 -0
- package/dist/styles/toolbar-control-group.css +894 -78
- package/dist/styles/toolbar-text.css +223 -7
- package/dist/styles/toolbar.css +474 -11
- package/dist/styles/tree-list.css +8 -0
- package/dist/styles/value-preview.css +18 -0
- package/dist/styles/value-table.css +116 -7
- package/dist/styles/webawesome.css +823 -24
- package/dist/styles/workbench-dialog.css +10 -0
- package/dist/styles/workbench.css +990 -7
- package/dist/summary-row.d.ts +73 -0
- package/dist/summary-row.js +5 -0
- package/dist/summary-row.js.map +1 -0
- package/dist/sunken-panel.d.ts +42 -0
- package/dist/sunken-panel.js +5 -0
- package/dist/sunken-panel.js.map +1 -0
- package/dist/surface-scaffold-register.d.ts +12 -0
- package/dist/surface-scaffold-register.js +11 -0
- package/dist/surface-scaffold-register.js.map +1 -0
- package/dist/surface-scaffold.d.ts +283 -0
- package/dist/surface-scaffold.js +10 -0
- package/dist/surface-scaffold.js.map +1 -0
- package/dist/surface-tint-DQgYCaP9.d.ts +25 -0
- package/dist/switch.d.ts +38 -0
- package/dist/switch.js +4 -0
- package/dist/switch.js.map +1 -0
- package/dist/tab-bar-item.d.ts +100 -0
- package/dist/tab-bar-item.js +7 -0
- package/dist/tab-bar-item.js.map +1 -0
- package/dist/tab-bar.d.ts +46 -7
- package/dist/tab-bar.js +2 -1
- package/dist/tab-navigator.d.ts +177 -0
- package/dist/tab-navigator.js +155 -0
- package/dist/tab-navigator.js.map +1 -0
- package/dist/tab-panel.d.ts +35 -0
- package/dist/tab-panel.js +4 -0
- package/dist/tab-panel.js.map +1 -0
- package/dist/tag-field.d.ts +56 -0
- package/dist/tag-field.js +7 -0
- package/dist/tag-field.js.map +1 -0
- package/dist/text-field.d.ts +119 -0
- package/dist/text-field.js +6 -0
- package/dist/text-field.js.map +1 -0
- package/dist/text.d.ts +136 -0
- package/dist/text.js +5 -0
- package/dist/text.js.map +1 -0
- package/dist/toolbar-control-group.d.ts +201 -8
- package/dist/toolbar-control-group.js +6 -1
- package/dist/toolbar-text.d.ts +71 -9
- package/dist/toolbar-text.js +3 -1
- package/dist/toolbar.d.ts +88 -7
- package/dist/toolbar.js +2 -1
- package/dist/tree-list.d.ts +48 -0
- package/dist/tree-list.js +12 -0
- package/dist/tree-list.js.map +1 -0
- package/dist/tree-rows-Bms5QJvG.d.ts +68 -0
- package/dist/types-DmHWkSd6.d.ts +207 -0
- package/dist/value-preview.d.ts +25 -0
- package/dist/value-preview.js +4 -0
- package/dist/value-preview.js.map +1 -0
- package/dist/value-table.d.ts +37 -4
- package/dist/value-table.js +3 -1
- package/dist/view-runtime.d.ts +9 -0
- package/dist/view-runtime.js +8 -0
- package/dist/view-runtime.js.map +1 -0
- package/dist/webawesome.d.ts +11 -1
- package/dist/wire-catalog.d.ts +119 -5
- package/dist/wire-catalog.js +316 -14
- package/dist/wire-catalog.js.map +1 -1
- package/dist/wire-checkboxes.d.ts +10 -0
- package/dist/wire-checkboxes.js +4 -0
- package/dist/{wire-token-search-fields.js.map → wire-checkboxes.js.map} +1 -1
- package/dist/wire-choice-chips.d.ts +19 -0
- package/dist/wire-choice-chips.js +5 -0
- package/dist/wire-choice-chips.js.map +1 -0
- package/dist/wire-color-fields.d.ts +33 -0
- package/dist/wire-color-fields.js +12 -0
- package/dist/wire-color-fields.js.map +1 -0
- package/dist/wire-color-pickers.d.ts +35 -0
- package/dist/wire-color-pickers.js +10 -0
- package/dist/wire-color-pickers.js.map +1 -0
- package/dist/wire-column-explorer.d.ts +13 -0
- package/dist/wire-column-explorer.js +3 -0
- package/dist/wire-column-explorer.js.map +1 -0
- package/dist/wire-column-tracks.d.ts +13 -0
- package/dist/wire-column-tracks.js +4 -0
- package/dist/wire-column-tracks.js.map +1 -0
- package/dist/wire-comboboxes.d.ts +28 -0
- package/dist/wire-comboboxes.js +5 -0
- package/dist/wire-comboboxes.js.map +1 -0
- package/dist/wire-content-items.d.ts +24 -0
- package/dist/wire-content-items.js +5 -0
- package/dist/wire-content-items.js.map +1 -0
- package/dist/wire-corner-status.d.ts +11 -0
- package/dist/wire-corner-status.js +4 -0
- package/dist/wire-corner-status.js.map +1 -0
- package/dist/wire-file-pickers.d.ts +27 -0
- package/dist/wire-file-pickers.js +3 -0
- package/dist/wire-file-pickers.js.map +1 -0
- package/dist/wire-forms.d.ts +14 -0
- package/dist/wire-forms.js +3 -0
- package/dist/wire-forms.js.map +1 -0
- package/dist/wire-list-focus-scroll.d.ts +16 -0
- package/dist/wire-list-focus-scroll.js +3 -0
- package/dist/wire-list-focus-scroll.js.map +1 -0
- package/dist/wire-list-reorder.d.ts +41 -0
- package/dist/wire-list-reorder.js +3 -0
- package/dist/wire-list-reorder.js.map +1 -0
- package/dist/wire-message-composers.d.ts +17 -0
- package/dist/wire-message-composers.js +3 -0
- package/dist/wire-message-composers.js.map +1 -0
- package/dist/wire-nav-stack.d.ts +4 -1
- package/dist/wire-nav-stack.js +1 -85
- package/dist/wire-nav-stack.js.map +1 -1
- package/dist/wire-overlay-sheets.d.ts +20 -0
- package/dist/wire-overlay-sheets.js +5 -0
- package/dist/wire-overlay-sheets.js.map +1 -0
- package/dist/wire-paged-views.d.ts +27 -0
- package/dist/wire-paged-views.js +186 -0
- package/dist/wire-paged-views.js.map +1 -0
- package/dist/wire-pane-chrome.d.ts +21 -0
- package/dist/wire-pane-chrome.js +67 -0
- package/dist/wire-pane-chrome.js.map +1 -0
- package/dist/wire-resizable-regions.d.ts +2 -1
- package/dist/wire-resizable-regions.js +4 -1
- package/dist/wire-scroll-dividers.d.ts +87 -0
- package/dist/wire-scroll-dividers.js +3 -0
- package/dist/wire-scroll-dividers.js.map +1 -0
- package/dist/{wire-token-search-fields.d.ts → wire-search-fields.d.ts} +35 -25
- package/dist/wire-search-fields.js +8 -0
- package/dist/wire-search-fields.js.map +1 -0
- package/dist/wire-sidebar.d.ts +24 -4
- package/dist/wire-sidebar.js +1 -114
- package/dist/wire-sidebar.js.map +1 -1
- package/dist/wire-sliders.d.ts +12 -0
- package/dist/wire-sliders.js +3 -0
- package/dist/wire-sliders.js.map +1 -0
- package/dist/wire-summary-rows.d.ts +18 -0
- package/dist/wire-summary-rows.js +4 -0
- package/dist/wire-summary-rows.js.map +1 -0
- package/dist/wire-tab-bars.d.ts +57 -3
- package/dist/wire-tab-bars.js +1 -1
- package/dist/wire-tab-navigator.d.ts +13 -0
- package/dist/wire-tab-navigator.js +4 -0
- package/dist/wire-tab-navigator.js.map +1 -0
- package/dist/wire-tag-fields.d.ts +41 -0
- package/dist/wire-tag-fields.js +10 -0
- package/dist/wire-tag-fields.js.map +1 -0
- package/dist/wire-text-fields.d.ts +12 -0
- package/dist/wire-text-fields.js +3 -0
- package/dist/wire-text-fields.js.map +1 -0
- package/dist/wire-toolbar-visibility.d.ts +13 -0
- package/dist/wire-toolbar-visibility.js +3 -0
- package/dist/wire-toolbar-visibility.js.map +1 -0
- package/dist/wire-tree-list.d.ts +53 -0
- package/dist/wire-tree-list.js +3 -0
- package/dist/wire-tree-list.js.map +1 -0
- package/dist/wire-workbench.d.ts +132 -0
- package/dist/wire-workbench.js +8 -0
- package/dist/wire-workbench.js.map +1 -0
- package/dist/workbench-dialog.d.ts +114 -0
- package/dist/workbench-dialog.js +133 -0
- package/dist/workbench-dialog.js.map +1 -0
- package/dist/workbench.d.ts +271 -10
- package/dist/workbench.js +25 -15
- package/dist/workbench.js.map +1 -1
- package/docs/accessibility.md +899 -41
- package/docs/anchored-surface.md +107 -0
- package/docs/app-layouts.md +270 -11
- package/docs/apple-hig.md +2 -0
- package/docs/backdrop-image.md +142 -0
- package/docs/button.md +43 -0
- package/docs/catalog.md +599 -63
- package/docs/collapsible-panel.md +308 -25
- package/docs/color-field.md +65 -0
- package/docs/color-picker.md +102 -0
- package/docs/color-swatches.md +46 -0
- package/docs/column-explorer.md +79 -0
- package/docs/component-contract.md +980 -61
- package/docs/component-integration.md +79 -0
- package/docs/component-selection.md +1199 -110
- package/docs/dark-mode-checklist.md +15 -0
- package/docs/data-tables-and-lists.md +18 -0
- package/docs/design/sketch/Kerf-UI.sketch +0 -0
- package/docs/design/sketch/README.md +73 -0
- package/docs/design/sketch/advanced/README.md +75 -0
- package/docs/design/sketch/button/README.md +270 -0
- package/docs/design/sketch/content/README.md +70 -0
- package/docs/design/sketch/coverage.md +162 -0
- package/docs/design/sketch/forms/README.md +98 -0
- package/docs/design/sketch/lists/README.md +65 -0
- package/docs/design/sketch/toolbar/README.md +73 -0
- package/docs/design/sketch/unified/README.md +69 -0
- package/docs/design/sketch/unified/pages/advanced.png +0 -0
- package/docs/design/sketch/unified/pages/button.png +0 -0
- package/docs/design/sketch/unified/pages/content.png +0 -0
- package/docs/design/sketch/unified/pages/forms.png +0 -0
- package/docs/design/sketch/unified/pages/lists.png +0 -0
- package/docs/design/sketch/unified/pages/toolbar.png +0 -0
- package/docs/design/sketch-runner.md +87 -0
- package/docs/design/templates/button/emphasis-dark.svg +1 -0
- package/docs/design/templates/button/emphasis.svg +1 -0
- package/docs/design/templates/button/full-width-dark.svg +1 -0
- package/docs/design/templates/button/full-width.svg +1 -0
- package/docs/design/templates/button/icons-dark.svg +1 -0
- package/docs/design/templates/button/icons.svg +1 -0
- package/docs/design/templates/button/pill-dark.svg +1 -0
- package/docs/design/templates/button/pill.svg +1 -0
- package/docs/design/templates/button/states-dark.svg +1 -0
- package/docs/design/templates/button/states.svg +1 -0
- package/docs/design/templates/button/toggles-dark.svg +1 -0
- package/docs/design/templates/button/toggles.svg +1 -0
- package/docs/design/templates/button/tones-dark.svg +1 -0
- package/docs/design/templates/button/tones.svg +1 -0
- package/docs/design/templates/button-dark.svg +1 -0
- package/docs/design/templates/button.svg +1 -0
- package/docs/design/templates/checkbox/compact-dark.svg +1 -0
- package/docs/design/templates/checkbox/compact.svg +1 -0
- package/docs/design/templates/checkbox/error-dark.svg +1 -0
- package/docs/design/templates/checkbox/error.svg +1 -0
- package/docs/design/templates/checkbox/mixed-dark.svg +1 -0
- package/docs/design/templates/checkbox/mixed.svg +1 -0
- package/docs/design/templates/checkbox/states-dark.svg +1 -0
- package/docs/design/templates/checkbox/states.svg +1 -0
- package/docs/design/templates/checkbox-dark.svg +1 -0
- package/docs/design/templates/checkbox-group/horizontal-dark.svg +1 -0
- package/docs/design/templates/checkbox-group/horizontal.svg +1 -0
- package/docs/design/templates/checkbox-group/vertical-dark.svg +1 -0
- package/docs/design/templates/checkbox-group/vertical.svg +1 -0
- package/docs/design/templates/checkbox-group-dark.svg +1 -0
- package/docs/design/templates/checkbox-group.svg +1 -0
- package/docs/design/templates/checkbox.svg +1 -0
- package/docs/design/templates/chip/action-filters-dark.svg +1 -0
- package/docs/design/templates/chip/action-filters.svg +1 -0
- package/docs/design/templates/chip/tags-dark.svg +1 -0
- package/docs/design/templates/chip/tags.svg +1 -0
- package/docs/design/templates/chip-dark.svg +1 -0
- package/docs/design/templates/chip.svg +1 -0
- package/docs/design/templates/choice-chips/color-palette-dark.svg +1 -0
- package/docs/design/templates/choice-chips/color-palette.svg +1 -0
- package/docs/design/templates/choice-chips/compact-icons-dark.svg +1 -0
- package/docs/design/templates/choice-chips/compact-icons.svg +1 -0
- package/docs/design/templates/choice-chips/multiple-dark.svg +1 -0
- package/docs/design/templates/choice-chips/multiple.svg +1 -0
- package/docs/design/templates/choice-chips-dark.svg +1 -0
- package/docs/design/templates/choice-chips.svg +1 -0
- package/docs/design/templates/color-field/compact-dark.svg +1 -0
- package/docs/design/templates/color-field/compact.svg +1 -0
- package/docs/design/templates/color-field/error-dark.svg +1 -0
- package/docs/design/templates/color-field/error.svg +1 -0
- package/docs/design/templates/color-field/hint-dark.svg +1 -0
- package/docs/design/templates/color-field/hint.svg +1 -0
- package/docs/design/templates/color-field-dark.svg +1 -0
- package/docs/design/templates/color-field.svg +1 -0
- package/docs/design/templates/color-picker/gray-dark.svg +1 -0
- package/docs/design/templates/color-picker/gray.svg +1 -0
- package/docs/design/templates/color-picker/hsb-dark.svg +1 -0
- package/docs/design/templates/color-picker/hsb.svg +1 -0
- package/docs/design/templates/color-picker/rgb-dark.svg +1 -0
- package/docs/design/templates/color-picker/rgb.svg +1 -0
- package/docs/design/templates/color-picker-dark.svg +1 -0
- package/docs/design/templates/color-picker.svg +1 -0
- package/docs/design/templates/color-swatches/palette-dark.svg +1 -0
- package/docs/design/templates/color-swatches/palette.svg +1 -0
- package/docs/design/templates/color-swatches-dark.svg +1 -0
- package/docs/design/templates/color-swatches.svg +1 -0
- package/docs/design/templates/disclosure/embedded-dark.svg +1 -0
- package/docs/design/templates/disclosure/embedded.svg +1 -0
- package/docs/design/templates/disclosure/framed-sunken-dark.svg +1 -0
- package/docs/design/templates/disclosure/framed-sunken.svg +1 -0
- package/docs/design/templates/disclosure/plain-dark.svg +1 -0
- package/docs/design/templates/disclosure/plain.svg +1 -0
- package/docs/design/templates/disclosure-dark.svg +1 -0
- package/docs/design/templates/disclosure.svg +1 -0
- package/docs/design/templates/empty-state/filtered-dark.svg +1 -1
- package/docs/design/templates/empty-state/filtered.svg +1 -1
- package/docs/design/templates/empty-state/with-action-dark.svg +1 -1
- package/docs/design/templates/empty-state/with-action.svg +1 -1
- package/docs/design/templates/empty-state-dark.svg +1 -7
- package/docs/design/templates/empty-state.svg +1 -7
- package/docs/design/templates/gauge/bare-dark.svg +1 -0
- package/docs/design/templates/gauge/bare.svg +1 -0
- package/docs/design/templates/gauge/full-dark.svg +1 -0
- package/docs/design/templates/gauge/full.svg +1 -0
- package/docs/design/templates/gauge-dark.svg +1 -0
- package/docs/design/templates/gauge.svg +1 -0
- package/docs/design/templates/list/compact-dark.svg +1 -0
- package/docs/design/templates/list/compact.svg +1 -0
- package/docs/design/templates/list/stack-dark.svg +1 -0
- package/docs/design/templates/list/stack.svg +1 -0
- package/docs/design/templates/list-action-row/default-dark.svg +1 -1
- package/docs/design/templates/list-action-row/default.svg +1 -1
- package/docs/design/templates/list-action-row/icon-tile-dark.svg +1 -0
- package/docs/design/templates/list-action-row/icon-tile.svg +1 -0
- package/docs/design/templates/list-action-row/selected-dark.svg +1 -1
- package/docs/design/templates/list-action-row/selected.svg +1 -1
- package/docs/design/templates/list-action-row/trailing-menu-dark.svg +1 -0
- package/docs/design/templates/list-action-row/trailing-menu.svg +1 -0
- package/docs/design/templates/list-action-row-dark.svg +1 -7
- package/docs/design/templates/list-action-row.svg +1 -7
- package/docs/design/templates/list-dark.svg +1 -0
- package/docs/design/templates/list-header/action-dark.svg +1 -1
- package/docs/design/templates/list-header/action.svg +1 -1
- package/docs/design/templates/list-header/count-dark.svg +1 -1
- package/docs/design/templates/list-header/count.svg +1 -1
- package/docs/design/templates/list-header/inline-action-dark.svg +1 -0
- package/docs/design/templates/list-header/inline-action.svg +1 -0
- package/docs/design/templates/list-header/size-l-dark.svg +1 -0
- package/docs/design/templates/list-header/size-l.svg +1 -0
- package/docs/design/templates/list-header/size-m-dark.svg +1 -0
- package/docs/design/templates/list-header/size-m.svg +1 -0
- package/docs/design/templates/list-header/size-xl-dark.svg +1 -0
- package/docs/design/templates/list-header/size-xl.svg +1 -0
- package/docs/design/templates/list-header/size-xs-dark.svg +1 -0
- package/docs/design/templates/list-header/size-xs.svg +1 -0
- package/docs/design/templates/list-header/toggle-collapsed-dark.svg +1 -1
- package/docs/design/templates/list-header/toggle-collapsed.svg +1 -1
- package/docs/design/templates/list-header/toggle-expanded-dark.svg +1 -1
- package/docs/design/templates/list-header/toggle-expanded.svg +1 -1
- package/docs/design/templates/list-header-dark.svg +1 -11
- package/docs/design/templates/list-header.svg +1 -11
- package/docs/design/templates/list-item/default-dark.svg +1 -1
- package/docs/design/templates/list-item/default.svg +1 -1
- package/docs/design/templates/list-item/icon-tile-dark.svg +1 -0
- package/docs/design/templates/list-item/icon-tile.svg +1 -0
- package/docs/design/templates/list-item/multiline-dark.svg +1 -1
- package/docs/design/templates/list-item/multiline.svg +1 -1
- package/docs/design/templates/list-item/selected-dark.svg +1 -1
- package/docs/design/templates/list-item/selected.svg +1 -1
- package/docs/design/templates/list-item/trailing-dark.svg +1 -1
- package/docs/design/templates/list-item/trailing.svg +1 -1
- package/docs/design/templates/list-item-dark.svg +1 -11
- package/docs/design/templates/list-item.svg +1 -11
- package/docs/design/templates/list.svg +1 -0
- package/docs/design/templates/message-composer/chat-dark.svg +1 -0
- package/docs/design/templates/message-composer/chat.svg +1 -0
- package/docs/design/templates/message-composer/prompt-dark.svg +1 -0
- package/docs/design/templates/message-composer/prompt.svg +1 -0
- package/docs/design/templates/message-composer-dark.svg +1 -0
- package/docs/design/templates/message-composer.svg +1 -0
- package/docs/design/templates/progress-bar/determinate-dark.svg +1 -0
- package/docs/design/templates/progress-bar/determinate.svg +1 -0
- package/docs/design/templates/progress-bar/tones-dark.svg +1 -0
- package/docs/design/templates/progress-bar/tones.svg +1 -0
- package/docs/design/templates/progress-bar-dark.svg +1 -0
- package/docs/design/templates/progress-bar.svg +1 -0
- package/docs/design/templates/progress-ring/sizes-dark.svg +1 -0
- package/docs/design/templates/progress-ring/sizes.svg +1 -0
- package/docs/design/templates/progress-ring/tones-dark.svg +1 -0
- package/docs/design/templates/progress-ring/tones.svg +1 -0
- package/docs/design/templates/progress-ring-dark.svg +1 -0
- package/docs/design/templates/progress-ring.svg +1 -0
- package/docs/design/templates/radio-group/horizontal-dark.svg +1 -0
- package/docs/design/templates/radio-group/horizontal.svg +1 -0
- package/docs/design/templates/radio-group/tiles-dark.svg +1 -0
- package/docs/design/templates/radio-group/tiles.svg +1 -0
- package/docs/design/templates/radio-group/vertical-dark.svg +1 -0
- package/docs/design/templates/radio-group/vertical.svg +1 -0
- package/docs/design/templates/radio-group-dark.svg +1 -0
- package/docs/design/templates/radio-group.svg +1 -0
- package/docs/design/templates/search-field/empty-dark.svg +1 -0
- package/docs/design/templates/search-field/empty.svg +1 -0
- package/docs/design/templates/search-field/tokens-dark.svg +1 -0
- package/docs/design/templates/search-field/tokens.svg +1 -0
- package/docs/design/templates/search-field-dark.svg +1 -0
- package/docs/design/templates/search-field.svg +1 -0
- package/docs/design/templates/segmented-control/equal-dark.svg +1 -1
- package/docs/design/templates/segmented-control/equal.svg +1 -1
- package/docs/design/templates/segmented-control/pill-small-dark.svg +1 -1
- package/docs/design/templates/segmented-control/pill-small.svg +1 -1
- package/docs/design/templates/segmented-control-dark.svg +1 -7
- package/docs/design/templates/segmented-control.svg +1 -7
- package/docs/design/templates/select/compact-dark.svg +1 -0
- package/docs/design/templates/select/compact.svg +1 -0
- package/docs/design/templates/select/form-dark.svg +1 -0
- package/docs/design/templates/select/form.svg +1 -0
- package/docs/design/templates/select/icons-dark.svg +1 -0
- package/docs/design/templates/select/icons.svg +1 -0
- package/docs/design/templates/select-dark.svg +1 -0
- package/docs/design/templates/select.svg +1 -0
- package/docs/design/templates/skeleton-dark.svg +1 -9
- package/docs/design/templates/skeleton.svg +1 -9
- package/docs/design/templates/slider/compact-dark.svg +1 -0
- package/docs/design/templates/slider/compact.svg +1 -0
- package/docs/design/templates/slider/readout-dark.svg +1 -0
- package/docs/design/templates/slider/readout.svg +1 -0
- package/docs/design/templates/slider/ticks-dark.svg +1 -0
- package/docs/design/templates/slider/ticks.svg +1 -0
- package/docs/design/templates/slider-dark.svg +1 -0
- package/docs/design/templates/slider.svg +1 -0
- package/docs/design/templates/split-button/full-width-dark.svg +1 -0
- package/docs/design/templates/split-button/full-width.svg +1 -0
- package/docs/design/templates/split-button/pill-dark.svg +1 -0
- package/docs/design/templates/split-button/pill.svg +1 -0
- package/docs/design/templates/split-button/states-dark.svg +1 -0
- package/docs/design/templates/split-button/states.svg +1 -0
- package/docs/design/templates/split-button/tones-dark.svg +1 -0
- package/docs/design/templates/split-button/tones.svg +1 -0
- package/docs/design/templates/split-button-dark.svg +1 -0
- package/docs/design/templates/split-button.svg +1 -0
- package/docs/design/templates/state-banner/danger-dark.svg +1 -1
- package/docs/design/templates/state-banner/danger.svg +1 -1
- package/docs/design/templates/state-banner/info-badge-dark.svg +1 -0
- package/docs/design/templates/state-banner/info-badge.svg +1 -0
- package/docs/design/templates/state-banner/info-dark.svg +1 -1
- package/docs/design/templates/state-banner/info.svg +1 -1
- package/docs/design/templates/state-banner/strip-dark.svg +1 -0
- package/docs/design/templates/state-banner/strip.svg +1 -0
- package/docs/design/templates/state-banner/success-dark.svg +1 -1
- package/docs/design/templates/state-banner/success.svg +1 -1
- package/docs/design/templates/state-banner/warning-dark.svg +1 -1
- package/docs/design/templates/state-banner/warning.svg +1 -1
- package/docs/design/templates/state-banner-dark.svg +1 -11
- package/docs/design/templates/state-banner.svg +1 -11
- package/docs/design/templates/switch/compact-dark.svg +1 -0
- package/docs/design/templates/switch/compact.svg +1 -0
- package/docs/design/templates/switch/states-dark.svg +1 -0
- package/docs/design/templates/switch/states.svg +1 -0
- package/docs/design/templates/switch-dark.svg +1 -0
- package/docs/design/templates/switch.svg +1 -0
- package/docs/design/templates/tab-bar/workspace-tabs-dark.svg +1 -1
- package/docs/design/templates/tab-bar/workspace-tabs.svg +1 -1
- package/docs/design/templates/tab-bar-dark.svg +1 -5
- package/docs/design/templates/tab-bar.svg +1 -5
- package/docs/design/templates/tag-field/error-dark.svg +1 -0
- package/docs/design/templates/tag-field/error.svg +1 -0
- package/docs/design/templates/tag-field/tags-dark.svg +1 -0
- package/docs/design/templates/tag-field/tags.svg +1 -0
- package/docs/design/templates/tag-field-dark.svg +1 -0
- package/docs/design/templates/tag-field.svg +1 -0
- package/docs/design/templates/text-field/compact-dark.svg +1 -0
- package/docs/design/templates/text-field/compact.svg +1 -0
- package/docs/design/templates/text-field/error-dark.svg +1 -0
- package/docs/design/templates/text-field/error.svg +1 -0
- package/docs/design/templates/text-field/labeled-dark.svg +1 -0
- package/docs/design/templates/text-field/labeled.svg +1 -0
- package/docs/design/templates/text-field/multiline-dark.svg +1 -0
- package/docs/design/templates/text-field/multiline.svg +1 -0
- package/docs/design/templates/text-field/number-dark.svg +1 -0
- package/docs/design/templates/text-field/number.svg +1 -0
- package/docs/design/templates/text-field/search-dark.svg +1 -0
- package/docs/design/templates/text-field/search.svg +1 -0
- package/docs/design/templates/text-field-dark.svg +1 -0
- package/docs/design/templates/text-field.svg +1 -0
- package/docs/design/templates/toolbar/title-and-actions-dark.svg +1 -1
- package/docs/design/templates/toolbar/title-and-actions.svg +1 -1
- package/docs/design/templates/toolbar/width-visibility-320-dark.svg +1 -0
- package/docs/design/templates/toolbar/width-visibility-320.svg +1 -0
- package/docs/design/templates/toolbar/width-visibility-600-dark.svg +1 -0
- package/docs/design/templates/toolbar/width-visibility-600.svg +1 -0
- package/docs/design/templates/toolbar-control-group/borderless-single-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/borderless-single.svg +1 -1
- package/docs/design/templates/toolbar-control-group/glass-dark.svg +1 -0
- package/docs/design/templates/toolbar-control-group/glass.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-buttons-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-buttons.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-brand-dark.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-brand.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-danger-dark.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-danger.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-neutral-dark.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-neutral.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-success-dark.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-success.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-warning-dark.svg +1 -0
- package/docs/design/templates/toolbar-control-group/icon-tile-warning.svg +1 -0
- package/docs/design/templates/toolbar-control-group/push-buttons-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/push-buttons.svg +1 -1
- package/docs/design/templates/toolbar-control-group/with-text-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/with-text.svg +1 -1
- package/docs/design/templates/toolbar-control-group-dark.svg +1 -11
- package/docs/design/templates/toolbar-control-group.svg +1 -11
- package/docs/design/templates/toolbar-dark.svg +1 -5
- package/docs/design/templates/toolbar-text/dark-tone-dark.svg +1 -0
- package/docs/design/templates/toolbar-text/dark-tone.svg +1 -0
- package/docs/design/templates/toolbar-text/default-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/default.svg +1 -1
- package/docs/design/templates/toolbar-text/large-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/large.svg +1 -1
- package/docs/design/templates/toolbar-text/small-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/small.svg +1 -1
- package/docs/design/templates/toolbar-text-dark.svg +1 -9
- package/docs/design/templates/toolbar-text.svg +1 -9
- package/docs/design/templates/toolbar.svg +1 -5
- package/docs/design/templates/tree-list/files-dark.svg +1 -0
- package/docs/design/templates/tree-list/files.svg +1 -0
- package/docs/design/templates/tree-list/outline-dark.svg +1 -0
- package/docs/design/templates/tree-list/outline.svg +1 -0
- package/docs/design/templates/tree-list-dark.svg +1 -0
- package/docs/design/templates/tree-list.svg +1 -0
- package/docs/design/templates/value-table/details-dark.svg +1 -1
- package/docs/design/templates/value-table/details.svg +1 -1
- package/docs/design/templates/value-table-dark.svg +1 -5
- package/docs/design/templates/value-table.svg +1 -5
- package/docs/design/templates.md +102 -36
- package/docs/design-philosophy.md +69 -20
- package/docs/device-class.md +10 -9
- package/docs/disclosure.md +97 -0
- package/docs/document-baseline.md +101 -0
- package/docs/editor-frame.md +47 -0
- package/docs/editor-host.md +397 -0
- package/docs/examples/application-ui-profile.json +60 -0
- package/docs/examples/command-palette-adapter.tsx +69 -17
- package/docs/examples/component-catalog-extension.json +52 -0
- package/docs/examples/component-composition-extension.json +80 -0
- package/docs/forms-and-validation.md +50 -0
- package/docs/gauge.md +55 -0
- package/docs/interaction-conventions.md +55 -0
- package/docs/investigations/content-item-media-scroll-performance.md +46 -0
- package/docs/layout.md +1075 -53
- package/docs/list-detail-dialog.md +105 -0
- package/docs/manual-test-plan.md +87 -0
- package/docs/message-composer.md +156 -0
- package/docs/nav-stack.md +328 -14
- package/docs/overlay-toast.md +62 -0
- package/docs/overlay-tooltip.md +53 -0
- package/docs/paged-view.md +89 -0
- package/docs/progress.md +63 -0
- package/docs/recipes.md +156 -73
- package/docs/scroll-effect.md +127 -0
- package/docs/slider.md +64 -0
- package/docs/split-view.md +100 -8
- package/docs/sunken-panel.md +106 -0
- package/docs/surface-scaffold.md +677 -0
- package/docs/tab-navigator.md +292 -0
- package/docs/tag-field.md +66 -0
- package/docs/testing-applications.md +25 -0
- package/docs/tree-list.md +144 -0
- package/docs/type-contracts.md +137 -0
- package/docs/ui-analyzer.md +466 -0
- package/docs/ui-doctor.md +370 -0
- package/docs/ui-evaluator.md +176 -0
- package/docs/upgrading.md +14 -0
- package/docs/ux-demo.md +58 -17
- package/docs/value-preview.md +16 -0
- package/docs/view.md +314 -0
- package/docs/webawesome-migration.md +93 -0
- package/docs/webawesome-theme.md +343 -58
- package/docs/workbench-dialog.md +92 -0
- package/docs/workbench.md +658 -12
- package/docs/writing.md +154 -0
- package/doctor/cli.mjs +125 -0
- package/doctor/component-style-checks.mjs +457 -0
- package/doctor/config.schema.json +94 -0
- package/doctor/copy-capitalization-checks.mjs +603 -0
- package/doctor/eslint-diagnostics.d.mts +28 -0
- package/doctor/eslint-diagnostics.mjs +29 -0
- package/doctor/index.d.mts +122 -0
- package/doctor/index.mjs +1648 -0
- package/doctor/project-guidance-checks.d.mts +11 -0
- package/doctor/project-guidance-checks.mjs +97 -0
- package/doctor/report.schema.json +118 -0
- package/evaluator/cli.mjs +95 -0
- package/evaluator/firefox-app-data.d.mts +4 -0
- package/evaluator/firefox-app-data.mjs +35 -0
- package/evaluator/index.d.mts +90 -0
- package/evaluator/index.mjs +1229 -0
- package/evaluator/report.schema.json +152 -0
- package/llms.txt +1166 -57
- package/package.json +613 -49
- package/props/cli.d.mts +1 -0
- package/props/cli.mjs +142 -0
- package/props/component-props.d.mts +180 -0
- package/props/component-props.mjs +1208 -0
- package/scripts/component-catalog-extension-validation.mjs +28 -0
- package/scripts/lib/cli-args.mjs +98 -0
- package/scripts/lib/json-schema-subset.mjs +137 -0
- package/traversal-exclusions.mjs +86 -0
- package/ux-demo/recipes/app-shell.tsx +118 -25
- package/ux-demo/recipes/collapsible-sidebar.tsx +97 -62
- package/ux-demo/recipes/compact-toolbar.tsx +50 -24
- package/ux-demo/recipes/composer-form.tsx +49 -27
- package/ux-demo/recipes/list-detail-dialog.tsx +113 -25
- package/ux-demo/recipes/list-workspace-states.tsx +63 -14
- package/ux-demo/recipes/loaders.ts +11 -3
- package/ux-demo/recipes/loading-inspector.tsx +41 -60
- package/ux-demo/recipes/media-detail.tsx +169 -0
- package/ux-demo/recipes/mount-recipe.ts +28 -11
- package/ux-demo/recipes/navigation-sidebar.tsx +53 -17
- package/ux-demo/recipes/navigation-stack.tsx +48 -29
- package/ux-demo/recipes/types.ts +18 -2
- package/ux-demo/recipes/workspace-header.tsx +23 -6
- package/view/catalog.mjs +229 -0
- package/view/child-kind.mjs +22 -0
- package/view/cli.d.mts +18 -0
- package/view/cli.mjs +316 -0
- package/view/contract.mjs +418 -0
- package/view/css-grammar.mjs +93 -0
- package/view/generate.d.mts +16 -0
- package/view/generate.mjs +739 -0
- package/view/index.d.mts +491 -0
- package/view/index.mjs +36 -0
- package/view/interpret.mjs +339 -0
- package/view/project-types-worker.mjs +55 -0
- package/view/project-types.d.mts +43 -0
- package/view/project-types.mjs +618 -0
- package/view/type-expression.d.mts +15 -0
- package/view/type-expression.mjs +162 -0
- package/view/types.mjs +165 -0
- package/view/validate-move.mjs +353 -0
- package/view/validate.mjs +1649 -0
- package/vite-editor.d.mts +173 -0
- package/vite-editor.mjs +548 -0
- package/vite-ux-review.d.mts +83 -0
- package/vite-ux-review.mjs +120 -0
- package/dist/app-tab.d.ts +0 -30
- package/dist/app-tab.js +0 -5
- package/dist/app-tab.js.map +0 -1
- package/dist/browser/app-tab.js +0 -4
- package/dist/browser/panel-header.js +0 -7
- package/dist/browser/token-search-field.js +0 -4
- package/dist/chunk-2Z5TWHKQ.js +0 -34
- package/dist/chunk-2Z5TWHKQ.js.map +0 -1
- package/dist/chunk-37T3VNIZ.js +0 -19
- package/dist/chunk-37T3VNIZ.js.map +0 -1
- package/dist/chunk-55DATV3A.js +0 -10
- package/dist/chunk-55DATV3A.js.map +0 -1
- package/dist/chunk-56RJXPHG.js.map +0 -1
- package/dist/chunk-5ATCDSQS.js +0 -42
- package/dist/chunk-5ATCDSQS.js.map +0 -1
- package/dist/chunk-5E2HVJ33.js +0 -10
- package/dist/chunk-5E2HVJ33.js.map +0 -1
- package/dist/chunk-7BR3DO2A.js +0 -31
- package/dist/chunk-7BR3DO2A.js.map +0 -1
- package/dist/chunk-7JB7VPRI.js +0 -34
- package/dist/chunk-7JB7VPRI.js.map +0 -1
- package/dist/chunk-7LDCTU7D.js +0 -134
- package/dist/chunk-7LDCTU7D.js.map +0 -1
- package/dist/chunk-AQNKJRFH.js +0 -79
- package/dist/chunk-AQNKJRFH.js.map +0 -1
- package/dist/chunk-AVZHJN6C.js +0 -14
- package/dist/chunk-AVZHJN6C.js.map +0 -1
- package/dist/chunk-B24C4A6T.js +0 -22
- package/dist/chunk-B24C4A6T.js.map +0 -1
- package/dist/chunk-BLK3UEEI.js +0 -23
- package/dist/chunk-BLK3UEEI.js.map +0 -1
- package/dist/chunk-CH4SQ6H5.js +0 -39
- package/dist/chunk-CH4SQ6H5.js.map +0 -1
- package/dist/chunk-DAFFDO33.js +0 -14
- package/dist/chunk-DAFFDO33.js.map +0 -1
- package/dist/chunk-I7INRJO4.js +0 -17
- package/dist/chunk-I7INRJO4.js.map +0 -1
- package/dist/chunk-L4OKFDJY.js +0 -24
- package/dist/chunk-L4OKFDJY.js.map +0 -1
- package/dist/chunk-LCOBDOCC.js +0 -265
- package/dist/chunk-LCOBDOCC.js.map +0 -1
- package/dist/chunk-M5JRI6MN.js +0 -27
- package/dist/chunk-M5JRI6MN.js.map +0 -1
- package/dist/chunk-RNPGFQ33.js +0 -10
- package/dist/chunk-RNPGFQ33.js.map +0 -1
- package/dist/chunk-RUNWEPR4.js +0 -10
- package/dist/chunk-RUNWEPR4.js.map +0 -1
- package/dist/chunk-VPCTCUED.js +0 -10
- package/dist/chunk-VPCTCUED.js.map +0 -1
- package/dist/chunk-W2FK7ZNY.js +0 -26
- package/dist/chunk-W2FK7ZNY.js.map +0 -1
- package/dist/chunk-WVPYVDXY.js +0 -15
- package/dist/chunk-WVPYVDXY.js.map +0 -1
- package/dist/chunk-XE4OX6AZ.js +0 -10
- package/dist/chunk-XE4OX6AZ.js.map +0 -1
- package/dist/chunk-XE5ZLPCC.js +0 -20
- package/dist/chunk-XE5ZLPCC.js.map +0 -1
- package/dist/chunk-XXMOARTH.js +0 -229
- package/dist/chunk-XXMOARTH.js.map +0 -1
- package/dist/chunk-YGN7OMLT.js +0 -57
- package/dist/chunk-YGN7OMLT.js.map +0 -1
- package/dist/panel-header.d.ts +0 -36
- package/dist/panel-header.js +0 -7
- package/dist/panel-header.js.map +0 -1
- package/dist/styles/app-tab.css +0 -152
- package/dist/styles/panel-header.css +0 -64
- package/dist/styles/tab-scaffold.css +0 -84
- package/dist/styles/token-search-field.css +0 -289
- package/dist/tab-scaffold.d.ts +0 -30
- package/dist/tab-scaffold.js +0 -16
- package/dist/tab-scaffold.js.map +0 -1
- package/dist/token-search-field.d.ts +0 -43
- package/dist/token-search-field.js +0 -4
- package/dist/token-search-field.js.map +0 -1
- package/dist/wire-tab-scaffold.d.ts +0 -11
- package/dist/wire-tab-scaffold.js +0 -16
- package/dist/wire-tab-scaffold.js.map +0 -1
- package/dist/wire-token-search-fields.js +0 -5
- package/docs/design/templates/panel-header/icon-actions-dark.svg +0 -1
- package/docs/design/templates/panel-header/icon-actions.svg +0 -1
- package/docs/design/templates/panel-header/icon-summary-actions-dark.svg +0 -1
- package/docs/design/templates/panel-header/icon-summary-actions.svg +0 -1
- package/docs/design/templates/panel-header/no-icon-dark.svg +0 -1
- package/docs/design/templates/panel-header/no-icon.svg +0 -1
- package/docs/design/templates/panel-header/page-heading-dark.svg +0 -1
- package/docs/design/templates/panel-header/page-heading.svg +0 -1
- package/docs/design/templates/panel-header/title-only-dark.svg +0 -1
- package/docs/design/templates/panel-header/title-only.svg +0 -1
- package/docs/design/templates/panel-header-dark.svg +0 -13
- package/docs/design/templates/panel-header.svg +0 -13
- package/docs/design/templates/token-search-field/empty-dark.svg +0 -1
- package/docs/design/templates/token-search-field/empty.svg +0 -1
- package/docs/design/templates/token-search-field/tokens-dark.svg +0 -1
- package/docs/design/templates/token-search-field/tokens.svg +0 -1
- package/docs/design/templates/token-search-field-dark.svg +0 -7
- package/docs/design/templates/token-search-field.svg +0 -7
- package/docs/tab-scaffold.md +0 -41
- package/ux-demo/recipes/recipes.css +0 -448
|
@@ -0,0 +1,677 @@
|
|
|
1
|
+
# Dialog and popup surface scaffolds
|
|
2
|
+
|
|
3
|
+
`DialogSurface` is Kerf's modal dialog: a native `<dialog>` with a header
|
|
4
|
+
(title, header actions, close button), a body, and an optional footer, sized
|
|
5
|
+
and presented by its props. `PopoverDialogSurface` is its non-modal sibling,
|
|
6
|
+
`PinnablePopoverSurface` a non-modal panel the person can pin and move,
|
|
7
|
+
and `PopupSurface` insets a raw Web Awesome dropdown. The application owns
|
|
8
|
+
open state, dismissal policy, ids, names, and content.
|
|
9
|
+
|
|
10
|
+
`DialogSurface` is the single-pane dialog type. For a modal that picks a
|
|
11
|
+
record from a list and shows its detail beside it, use
|
|
12
|
+
[`ListDetailDialog`](./list-detail-dialog.md) instead of wrapping a
|
|
13
|
+
`SplitView` in a `DialogSurface`: it draws no surface header, so the title and
|
|
14
|
+
close control sit in the detail column and the divider runs the full height.
|
|
15
|
+
For an editing task with side panels, use
|
|
16
|
+
[`WorkbenchDialog`](./workbench-dialog.md), a header-less dialog around a
|
|
17
|
+
`Workbench` whose rails become overlays on compact devices.
|
|
18
|
+
|
|
19
|
+
```tsx
|
|
20
|
+
import { DialogSurface, openDialog } from '@kerfjs/ui/surface-scaffold';
|
|
21
|
+
|
|
22
|
+
<Button action="edit-workspace">Edit Workspace</Button>
|
|
23
|
+
<DialogSurface
|
|
24
|
+
id="edit-workspace"
|
|
25
|
+
label="Edit Workspace"
|
|
26
|
+
bodyInset="none"
|
|
27
|
+
footer={
|
|
28
|
+
<>
|
|
29
|
+
<Button rootAttributes={{ 'data-dialog-close': '' }}>Cancel</Button>
|
|
30
|
+
<Button tone="brand" action="save-workspace">Save</Button>
|
|
31
|
+
</>
|
|
32
|
+
}
|
|
33
|
+
>
|
|
34
|
+
<List>
|
|
35
|
+
<ListInsetText>Changes apply to every project in this workspace.</ListInsetText>
|
|
36
|
+
</List>
|
|
37
|
+
</DialogSurface>;
|
|
38
|
+
|
|
39
|
+
openDialog(document.getElementById('edit-workspace') as HTMLDialogElement);
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- **Name.** `label` names the dialog and is its title text. With `heading`
|
|
43
|
+
(title content such as an xl `ToolbarText` with a description), pass
|
|
44
|
+
`labelledBy`, the id of the element that names it, or keep `label`.
|
|
45
|
+
- **Description.** `describedBy` is the id of the element whose text is the
|
|
46
|
+
dialog's accessible description, rendered as `aria-describedby` on the
|
|
47
|
+
`<dialog>`: the `heading` ToolbarText's `descriptionId`, or app-owned summary
|
|
48
|
+
copy in the body. `rootAttributes` takes only `data-*` attributes, so it can
|
|
49
|
+
never set or override `aria-describedby`.
|
|
50
|
+
- **Header.** The title, then `headerActions` and a close button (`closeLabel`,
|
|
51
|
+
default `Close`). Set `closeEmphasis="quiet"` for a smaller, softer X in the
|
|
52
|
+
same 40px button target; the default `"normal"` keeps the standard close
|
|
53
|
+
control. Both preserve the accessible name, keyboard focus, and close
|
|
54
|
+
request behavior. `withoutHeader` renders none, for content that owns its
|
|
55
|
+
heading and close control.
|
|
56
|
+
- **Body and footer.** `children` is the body; `footer` sits below it (or
|
|
57
|
+
floats over it, see [Chat dialogs](#chat-dialogs-a-floating-footer-over-a-filling-transcript)).
|
|
58
|
+
- **Opening and closing.** Render the dialog closed and open it with
|
|
59
|
+
`openDialog(dialog)`: it opens modally in the top layer, the rest of the
|
|
60
|
+
page is inert, and focus moves to an `autofocus` element or else the panel.
|
|
61
|
+
`closeDialog(dialog)` closes it after its exit motion; the browser returns
|
|
62
|
+
focus to the element that opened it. The latest request wins: calling
|
|
63
|
+
`openDialog` while it closes, even after the exit motion but before the
|
|
64
|
+
browser delivers `close`, keeps it open, and that superseded close never
|
|
65
|
+
fires. Do not toggle its `open` attribute, which opens a dialog without
|
|
66
|
+
modality.
|
|
67
|
+
- **Close requests.** The close button, any element inside with
|
|
68
|
+
`data-dialog-close` (a Cancel button), Escape, and, with `lightDismiss`, a
|
|
69
|
+
press on the backdrop ask to close: the dialog dispatches a cancelable
|
|
70
|
+
`kui-request-close` whose `detail.source` is `close-button`, `escape`, or
|
|
71
|
+
`backdrop`. Call `preventDefault()` to keep it open (unsaved changes); the
|
|
72
|
+
panel then pulses, as it does for a backdrop press without `lightDismiss`.
|
|
73
|
+
The native `close` event fires once it has closed. Your own
|
|
74
|
+
`closeDialog()` is never refused.
|
|
75
|
+
|
|
76
|
+
Choose `size` (`small`, `medium`, or `large`), `presentation` (`modal`,
|
|
77
|
+
`side-sheet`, `fullscreen`, `bottom-sheet`, or `embedded`; see
|
|
78
|
+
[Bottom sheets](#bottom-sheets) and [Embedded](#embedded)), and independent `bodyInset` / `footerInset`
|
|
79
|
+
(`none`, `compact`, or `comfortable`). The defaults match Kerf's medium modal,
|
|
80
|
+
8px body, and 16px footer rhythm. The dialog scales and fades in and out
|
|
81
|
+
(150ms), unless motion is reduced or the document's static effects mode is on.
|
|
82
|
+
|
|
83
|
+
The panel corner is concentric with a pill `ToolbarControlGroup` (22px) resting
|
|
84
|
+
at the body inset: 30px for `compact` (and `none`) and 38px for `comfortable`,
|
|
85
|
+
so header and body controls nest into the curve. A side sheet uses the same
|
|
86
|
+
radius on its leading corners, and a `PopoverDialogSurface` takes the 30px
|
|
87
|
+
default.
|
|
88
|
+
|
|
89
|
+
The modal size presets have preferred widths of 400px, 560px, and 800px,
|
|
90
|
+
respectively, before the viewport width cap. Set `preferredWidth` to a branded
|
|
91
|
+
`CssLength` when the desktop shell needs another width. It takes precedence over
|
|
92
|
+
`size`, while the viewport cap still applies. For example, 832px and 480px
|
|
93
|
+
desktop preferences can share the same responsive dialog without changing its
|
|
94
|
+
resource tracks or preview aspect sizing.
|
|
95
|
+
|
|
96
|
+
### Embedded
|
|
97
|
+
|
|
98
|
+
`presentation="embedded"` renders the same panel in flow: open, without the top
|
|
99
|
+
layer, a backdrop, or modality, and never wider than its container. In flow it
|
|
100
|
+
is a panel rather than an elevated layer, so it draws a 1px border instead of
|
|
101
|
+
the drop shadow. Use it where
|
|
102
|
+
a dialog is shown rather than opened, such as a catalog specimen, a design
|
|
103
|
+
canvas, or a document. `openDialog` and `closeDialog` leave an embedded dialog
|
|
104
|
+
alone, and its close button and `data-dialog-close` controls do not hide it.
|
|
105
|
+
The Kerf UI editor shows every DialogSurface embedded on its edit canvas so its
|
|
106
|
+
content can be seen and selected; play mode keeps the authored presentation.
|
|
107
|
+
|
|
108
|
+
### Sibling dialogs keep their identity
|
|
109
|
+
|
|
110
|
+
Every `DialogSurface` root has the same structure, so two sibling dialogs that
|
|
111
|
+
are rendered conditionally are matched by position when the page re-renders:
|
|
112
|
+
one open dialog's element (with its accessible name and open state) can be
|
|
113
|
+
reused for another, and its `close` event fires on the wrong dialog. Give each
|
|
114
|
+
sibling a stable key on its root with `rootAttributes` (or an `id`), instead
|
|
115
|
+
of wrapping it in an app `div`:
|
|
116
|
+
|
|
117
|
+
```tsx
|
|
118
|
+
<DialogSurface label="Set up project" rootAttributes={{ "data-key": "project-setup" }}>…</DialogSurface>
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
`rootAttributes` takes `data-*` identity only; the surface's own configuration
|
|
122
|
+
attributes (`data-size`, `data-presentation`, …) stay protected.
|
|
123
|
+
|
|
124
|
+
### Controlled modal stacks
|
|
125
|
+
|
|
126
|
+
For a reader stack, render one `DialogSurface` per reader with a stable `id` or
|
|
127
|
+
`data-key`, and pass each layer its controlled `stack` state:
|
|
128
|
+
|
|
129
|
+
```tsx
|
|
130
|
+
<DialogSurface
|
|
131
|
+
id={`reader-${reader.id}`}
|
|
132
|
+
label={reader.title}
|
|
133
|
+
preferredWidth={remify(1024)}
|
|
134
|
+
height="viewport"
|
|
135
|
+
bodyInset="none"
|
|
136
|
+
bodyLayout="fill"
|
|
137
|
+
stack={{
|
|
138
|
+
open: reader.open,
|
|
139
|
+
active: reader.id === activeReaderId,
|
|
140
|
+
position: reader.position,
|
|
141
|
+
count: readers.length,
|
|
142
|
+
offset: remify(-10 * (readers.length - reader.position)),
|
|
143
|
+
}}
|
|
144
|
+
rootAttributes={{ 'data-key': reader.id }}
|
|
145
|
+
>
|
|
146
|
+
{reader.content}
|
|
147
|
+
</DialogSurface>;
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Call `wireDialogStack(container)` once on a stable ancestor after rendering and
|
|
151
|
+
call its returned cleanup when that ancestor unmounts; cleanup closes its open
|
|
152
|
+
layers. It observes subsequent
|
|
153
|
+
renders and calls `syncDialogStack(container)` to open layers back to front in
|
|
154
|
+
the browser's native top layer. `position` is a unique 1-based order within the
|
|
155
|
+
stack; `count` includes closed layers that remain rendered. Exactly one open
|
|
156
|
+
layer must be `active`, and it must have the highest open position. An inactive
|
|
157
|
+
layer has `aria-hidden` and `inert`, and only the active layer has
|
|
158
|
+
`aria-modal="true"`. The optional typed `offset` translates inactive layers on
|
|
159
|
+
roomy screens; compact screens stay aligned. Stacked modals default to a 24px
|
|
160
|
+
desktop and 16px phone viewport gutter, overridable with `viewportGutter`.
|
|
161
|
+
|
|
162
|
+
Handle `kui-request-close` by updating application state to close the top
|
|
163
|
+
layer; the stack controller then reconciles it. It never closes a controlled
|
|
164
|
+
layer on its own. A reorder may briefly close and reopen moved native dialogs
|
|
165
|
+
to establish browser top-layer order, so do not treat the native `close` event
|
|
166
|
+
as a user dismissal. Each dialog retains its own in-dialog overlay host for
|
|
167
|
+
popups and menus. The catalog's **Controlled Reader Stack** demonstrates push,
|
|
168
|
+
reorder, Escape, and close at desktop and phone widths.
|
|
169
|
+
|
|
170
|
+
### Modal viewport bounds
|
|
171
|
+
|
|
172
|
+
`viewportGutter` accepts a branded `CssLength` from `@kerfjs/ui/css-values`.
|
|
173
|
+
It sets the minimum horizontal clearance; `preferredWidth` overrides the `size`
|
|
174
|
+
preset when supplied. `maxHeight` accepts a branded length or `"viewport"`; explicit caps are
|
|
175
|
+
clamped to the dynamic viewport height minus twice the gutter (16px per edge
|
|
176
|
+
when the gutter is omitted). Negative gutters/caps clamp to zero. Omitting
|
|
177
|
+
both options keeps the default caps: 20px clear of each viewport edge, and
|
|
178
|
+
80% of the viewport height at 420px wide or narrower.
|
|
179
|
+
These options apply only to `presentation="modal"`; side sheets and fullscreen
|
|
180
|
+
surfaces keep their own geometry, and a bottom sheet reads `height` and
|
|
181
|
+
`maxHeight` as described in [Bottom sheets](#bottom-sheets).
|
|
182
|
+
|
|
183
|
+
```tsx
|
|
184
|
+
import { remify } from '@kerfjs/ui/css-values';
|
|
185
|
+
import { DialogSurface } from '@kerfjs/ui/surface-scaffold';
|
|
186
|
+
|
|
187
|
+
<DialogSurface id="close-workspace" label="Close Workspace" preferredWidth={remify(832)} viewportGutter={remify(8)} maxHeight="viewport" bodyInset="none" footer={actions}>
|
|
188
|
+
{/* Application-owned content */}
|
|
189
|
+
</DialogSurface>;
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
This gives a desktop modal an 832px preferred width and a phone modal an 8px edge gutter with a `calc(100dvh - 16px)` height
|
|
193
|
+
cap without application selectors on Kerf roots. A cap is not a fixed
|
|
194
|
+
height: short content stays naturally sized, and taller content scrolls in the
|
|
195
|
+
dialog body while its header/footer remain outside that scroll owner. Choosing a larger cap cannot guarantee that arbitrary content
|
|
196
|
+
fits without scrolling; preview tracks, canvas aspect ratios and content sizing
|
|
197
|
+
remain application-owned.
|
|
198
|
+
|
|
199
|
+
Responsive policy is explicit application state: read `deviceClass()` during
|
|
200
|
+
the render to choose the gutter, cap or presentation. For example use
|
|
201
|
+
`viewportGutter={remify(device.value.handset ? 8 : 16)}` with `maxHeight="viewport"`.
|
|
202
|
+
The scaffold introduces no hidden breakpoint or automatic fullscreen switch.
|
|
203
|
+
An application can configure device-class breakpoints when its phone policy
|
|
204
|
+
differs from the default. Prefer a typed cap such as `maxHeight={remify(640)}`
|
|
205
|
+
when the modal should stop growing before the viewport bound.
|
|
206
|
+
|
|
207
|
+
### Bottom sheets
|
|
208
|
+
|
|
209
|
+
`presentation="bottom-sheet"` attaches the dialog to the bottom edge of the
|
|
210
|
+
screen instead of centering it, the way a phone presents a compose or quick
|
|
211
|
+
edit sheet. The default `modal` presentation is unchanged.
|
|
212
|
+
|
|
213
|
+
- **Geometry.** The panel rests on the viewport's block-end edge. Its top
|
|
214
|
+
corners keep the dialog radius and its bottom corners are square. It is
|
|
215
|
+
full width on a phone and the `size` / `preferredWidth` width, centered, on
|
|
216
|
+
a wider screen.
|
|
217
|
+
- **Safe area and keyboard.** The panel runs to the edge, behind the home
|
|
218
|
+
indicator and any virtual keyboard, while a block-end padding keeps its
|
|
219
|
+
content above them. The padding is the largest of
|
|
220
|
+
`--kui-safe-area-block-end`, the keyboard overlap `openDialog` measures from
|
|
221
|
+
`visualViewport` (layout height minus the visual viewport's height and top
|
|
222
|
+
offset, ignored while pinch-zoomed), and the VirtualKeyboard API's
|
|
223
|
+
`env(keyboard-inset-height)`. A page whose viewport meta sets
|
|
224
|
+
`interactive-widget=resizes-content` shrinks the layout viewport instead, so
|
|
225
|
+
the measured overlap is zero and the sheet simply follows the dynamic
|
|
226
|
+
viewport. Kerf never sets `navigator.virtualKeyboard.overlaysContent`; an
|
|
227
|
+
application that opts into it gets the `env()` value for free.
|
|
228
|
+
- **Height.** `height`, `minHeight`, and `maxHeight` measure the visible
|
|
229
|
+
content height above that clearance. `height` is the opening height
|
|
230
|
+
(omit it to size to content), and `maxHeight` caps it. The panel never
|
|
231
|
+
exceeds the dynamic viewport minus the top safe area and one
|
|
232
|
+
`viewportGutter` (16px by default), so a tall keyboard shrinks the content
|
|
233
|
+
rather than pushing the sheet off the top.
|
|
234
|
+
- **Resizing.** `resizable` adds a grabber at the top edge: a focusable
|
|
235
|
+
horizontal `separator` named "Resize sheet" with `aria-valuemin`,
|
|
236
|
+
`aria-valuenow`, and `aria-valuemax` in visible px. Drag it, or use the
|
|
237
|
+
arrow keys (16px), Page Up/Down (64px), Home (`minHeight`, default 160px),
|
|
238
|
+
and End (the cap). The grabber sits at the panel's top edge, outside the
|
|
239
|
+
body, so it never disturbs `bodyLayout` children, and the resized height
|
|
240
|
+
survives a re-render while the sheet is open. Each opening starts again at
|
|
241
|
+
`height`.
|
|
242
|
+
- **Motion.** The sheet slides up from the bottom edge when it opens and back
|
|
243
|
+
down when it is dismissed. `enterMotion="standard"` or
|
|
244
|
+
`exitMotion="standard"` keeps the dialog's scale-and-fade for that
|
|
245
|
+
transition. There is no motion under `prefers-reduced-motion: reduce` or
|
|
246
|
+
the document's static effects mode (`:root[data-kui-effects="static"]`). A
|
|
247
|
+
refused close still pulses.
|
|
248
|
+
|
|
249
|
+
```tsx
|
|
250
|
+
import { remify } from '@kerfjs/ui/css-values';
|
|
251
|
+
import { DialogSurface } from '@kerfjs/ui/surface-scaffold';
|
|
252
|
+
|
|
253
|
+
<DialogSurface id="new-message" label="New Message" lightDismiss presentation="bottom-sheet" height={remify(360)} minHeight={remify(200)} resizable bodyInset="none">
|
|
254
|
+
{/* Application-owned fields */}
|
|
255
|
+
</DialogSurface>;
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
`openDialog` wires the resize grabber, keyboard clearance, and slide.
|
|
259
|
+
`preferredWidth`, `bodyLayout`, the floating header and footer, and the
|
|
260
|
+
insets compose with a bottom sheet as they do with a modal.
|
|
261
|
+
|
|
262
|
+
### Core dialogs as bottom sheets
|
|
263
|
+
|
|
264
|
+
The core `kerfjs/overlay` surfaces (`overlay()` and the `confirm`, `prompt`,
|
|
265
|
+
`form`, and `choice` promise dialogs) take `presentation: 'bottom-sheet'`, but
|
|
266
|
+
the core ships no CSS. Import `@kerfjs/ui/overlay-sheet.css` once to give
|
|
267
|
+
them this package's bottom-sheet geometry:
|
|
268
|
+
|
|
269
|
+
- the bottom edge, full width up to 560px and centered beyond;
|
|
270
|
+
- square bottom corners under the dialog radius;
|
|
271
|
+
- the 8px surface inset, padded at the block end by the larger of the safe
|
|
272
|
+
area and the `--kerf-keyboard-inset` the core publishes;
|
|
273
|
+
- a cap below the top safe area;
|
|
274
|
+
- a slide up as it opens.
|
|
275
|
+
|
|
276
|
+
Pass `exitClass: 'kui-overlay-sheet-exit'` (with an `exitDuration` cap such as
|
|
277
|
+
`400`) to slide it back down as it closes. The stylesheet covers the plain
|
|
278
|
+
host and `native: true`, honors reduced motion and the static-effects switch,
|
|
279
|
+
and paints `Canvas` in forced colors.
|
|
280
|
+
|
|
281
|
+
The core renders bare default markup, so compose the content from components
|
|
282
|
+
through the dialog's `render` slot and spread the wiring slots onto native
|
|
283
|
+
buttons:
|
|
284
|
+
|
|
285
|
+
```tsx
|
|
286
|
+
import "@kerfjs/ui/overlay-sheet.css";
|
|
287
|
+
|
|
288
|
+
confirm("Discard this draft?", {
|
|
289
|
+
presentation: "bottom-sheet",
|
|
290
|
+
exitClass: "kui-overlay-sheet-exit",
|
|
291
|
+
exitDuration: 400,
|
|
292
|
+
render: ({ message, ok, cancel }) => (
|
|
293
|
+
<List gap="xs">
|
|
294
|
+
<Toolbar label="Discard Draft" leading={<ToolbarText text="Discard Draft" size="xlarge" headingLevel={2} />} />
|
|
295
|
+
<ListInsetText>{message}</ListInsetText>
|
|
296
|
+
<Row hAlign="right" controlInsets="rl">
|
|
297
|
+
<ToolbarControlGroup label="Discard Draft Actions" content="text">
|
|
298
|
+
<button type="button" {...cancel}>Keep Editing</button>
|
|
299
|
+
<button type="button" {...ok}>Discard</button>
|
|
300
|
+
</ToolbarControlGroup>
|
|
301
|
+
</Row>
|
|
302
|
+
</List>
|
|
303
|
+
),
|
|
304
|
+
});
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
The wired controls can be native buttons, as here, or Web Awesome buttons.
|
|
308
|
+
With kerfjs 5.0 or later, the core holds focus on the sheet until a Web
|
|
309
|
+
Awesome OK button has rendered, then moves focus to it. On kerfjs 4.x, use
|
|
310
|
+
native buttons for the wired controls: the core's first focus reaches a Web
|
|
311
|
+
Awesome button before it has rendered and aborts the open.
|
|
312
|
+
|
|
313
|
+
A core sheet can also be resizable, like a `resizable` `DialogSurface` sheet.
|
|
314
|
+
Add the `kui-overlay-sheet-resizable` class next to the default wrapper class,
|
|
315
|
+
and call `wireOverlaySheets()` from `@kerfjs/ui/wire-overlay-sheets` once for
|
|
316
|
+
each container sheets open in (`document.body`, the core's default):
|
|
317
|
+
|
|
318
|
+
```tsx
|
|
319
|
+
import "@kerfjs/ui/overlay-sheet.css";
|
|
320
|
+
import { wireOverlaySheets } from "@kerfjs/ui/wire-overlay-sheets";
|
|
321
|
+
|
|
322
|
+
const stopSheets = wireOverlaySheets();
|
|
323
|
+
|
|
324
|
+
overlay(<UpNext />, {
|
|
325
|
+
className: "kerf-overlay kui-overlay-sheet-resizable",
|
|
326
|
+
presentation: "bottom-sheet",
|
|
327
|
+
});
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Each such sheet gets the same grabber at its top edge: a `role="separator"`
|
|
331
|
+
that resizes the visible height by drag, the arrow keys (16px), Page Up/Down
|
|
332
|
+
(64px), Home (the minimum), and End (the cap), and reports that height as its
|
|
333
|
+
ARIA values. The minimum is `--kui-overlay-sheet-min-height` (160px). The
|
|
334
|
+
sheet opens at its content height every time. The grabber sticks to the top
|
|
335
|
+
edge while the content scrolls, and stays the sheet's first child (and first
|
|
336
|
+
tab stop) across re-renders of the overlay's content. Compose the sheet's
|
|
337
|
+
content root as a block or column, since the grabber is its first child. The
|
|
338
|
+
wiring watches only the container's direct children, which is where the core
|
|
339
|
+
appends each overlay; call the disposer to remove every grabber.
|
|
340
|
+
|
|
341
|
+
### Filling the dialog
|
|
342
|
+
|
|
343
|
+
`maxHeight` caps a modal that sizes to its content. A layout that fills the
|
|
344
|
+
dialog (a list-detail `SplitView`, a `Pane` with its own chrome and scroller)
|
|
345
|
+
needs a height to fill instead: set `height` to a branded length or
|
|
346
|
+
`"viewport"`. It is bounded exactly like `maxHeight` (the dynamic viewport minus
|
|
347
|
+
both gutters) and takes precedence over it. `bodyLayout="fill"` then gives the
|
|
348
|
+
body's whole height to its one child, which owns its own scrolling; the body
|
|
349
|
+
itself stops scrolling. Combine it with `bodyInset="none"`.
|
|
350
|
+
|
|
351
|
+
```tsx
|
|
352
|
+
<DialogSurface label="Repository Status" size="large" height={remify(640)} viewportGutter={remify(8)} bodyInset="none" bodyLayout="fill">
|
|
353
|
+
<SplitView id="repo-split" label="Changes" listWidth={{ size: 432, maxFraction: 0.5 }} list={list} detail={detail} />
|
|
354
|
+
</DialogSurface>;
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
### Chat dialogs: a floating footer over a filling transcript
|
|
358
|
+
|
|
359
|
+
A chat-style dialog keeps a heading or notices above one scrolling transcript
|
|
360
|
+
and floats its composer over the body's block end. Two props compose it:
|
|
361
|
+
|
|
362
|
+
- `bodyLayout="fill-last"` stacks the body's children: the leading children
|
|
363
|
+
keep their natural height, and the last one takes the remaining height and
|
|
364
|
+
owns its scrolling (a `scrollable` `List` transcript). The body itself stops
|
|
365
|
+
scrolling. `PopoverDialogSurface` accepts the same layout.
|
|
366
|
+
- `footerPresentation="floating"` lays the footer over the body's block end,
|
|
367
|
+
`footerOffset` (a branded `CssLength`, default the 16px container inset)
|
|
368
|
+
from the panel's inline and block-end edges, on a transparent background.
|
|
369
|
+
The modal panel is its positioning context. The default `docked` footer
|
|
370
|
+
sits below the body as before.
|
|
371
|
+
|
|
372
|
+
An open dialog measures its footer (it follows a composer that grows, wraps,
|
|
373
|
+
or hides) and the body reserves that height plus the offset after its own inset,
|
|
374
|
+
with a matching `scroll-padding`. Flowing body content scrolls beneath the
|
|
375
|
+
floating footer and its end stays reachable above it; with `fill` or
|
|
376
|
+
`fill-last` the filling child's scrollport ends at the footer's top. Content
|
|
377
|
+
is never hidden beneath the footer.
|
|
378
|
+
|
|
379
|
+
To let a filling transcript scroll visibly beneath the floating footer, opt
|
|
380
|
+
its scroller in with `scrollClearance="block-end"` (a `scrollable` `List`, or a
|
|
381
|
+
`Pane`, as the `fill` or last `fill-last` child). The body then stops
|
|
382
|
+
reserving the footer below that child, so the child reaches the panel's block
|
|
383
|
+
end, and publishes the footer's clearance (measured height plus offset) as the
|
|
384
|
+
inherited `--kui-scroll-clearance-block-end` context. The child adds it to its
|
|
385
|
+
own block-end padding and `scroll-padding`: messages pass beneath the
|
|
386
|
+
transparent footer mid-scroll, the last message rests above the composer at
|
|
387
|
+
the end, and focus or `scrollIntoView` never leaves an item hidden beneath it.
|
|
388
|
+
The context is general: chrome that overlays a region's block-start or
|
|
389
|
+
block-end edge publishes `--kui-scroll-clearance-block-start` / `-end`, and a
|
|
390
|
+
scroll owner opts in per edge (see `docs/layout.md` "Scroll clearance"). A
|
|
391
|
+
dialog body clears any clearance inherited from the page.
|
|
392
|
+
|
|
393
|
+
Choose the offset like any other responsive value: the scaffold adds no
|
|
394
|
+
breakpoint. An 8px offset lines a composer up with the transcript's
|
|
395
|
+
content-item edges when the body has `bodyInset="none"` and list geometry;
|
|
396
|
+
`viewportGutter` and `footerOffset` can follow `deviceClass()` when a phone
|
|
397
|
+
needs tighter edges. Put a [`MessageComposer`](./message-composer.md) in the floating footer
|
|
398
|
+
with `footerInset="none"`: its raised frame and shadow lift it over the
|
|
399
|
+
transcript, and its field grows the measured footer. With `submitOnEnter` and
|
|
400
|
+
`wireMessageComposers(root)`, Enter sends through the same action as the Send button.
|
|
401
|
+
|
|
402
|
+
```tsx
|
|
403
|
+
<DialogSurface
|
|
404
|
+
label="Assistant"
|
|
405
|
+
height={remify(560)}
|
|
406
|
+
viewportGutter={remify(8)}
|
|
407
|
+
bodyInset="none"
|
|
408
|
+
bodyLayout="fill-last"
|
|
409
|
+
footerPresentation="floating"
|
|
410
|
+
footerOffset={remify(8)}
|
|
411
|
+
footerInset="none"
|
|
412
|
+
footer={<MessageComposer submitOnEnter id="assistant-message" name="message" label="Message" placeholder="Ask about this build" trailing={<Button tone="brand" action="send-message">Send</Button>} />}
|
|
413
|
+
>
|
|
414
|
+
<StateBanner title="Answers use the latest nightly build." tone="neutral" />
|
|
415
|
+
<List gap="xs" controlInsets="tb" scrollable scrollClearance="block-end">
|
|
416
|
+
{messages.map((message) => (
|
|
417
|
+
<ContentItem bubble={message.mine ? 'end' : 'start'} appearance={message.mine ? 'brand-loud' : 'neutral'}>
|
|
418
|
+
<Text variant="span">{message.text}</Text>
|
|
419
|
+
</ContentItem>
|
|
420
|
+
))}
|
|
421
|
+
</List>
|
|
422
|
+
</DialogSurface>;
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
### A floating title bar
|
|
426
|
+
|
|
427
|
+
`headerPresentation="floating"` lays the dialog's header (its title and close
|
|
428
|
+
control) over the body's block-start edge on the translucent chrome material,
|
|
429
|
+
`--kui-chrome-material-raised` (the raised panel surface at 80% opacity)
|
|
430
|
+
behind `--kui-chrome-material-filter` (a blur and saturation backdrop filter).
|
|
431
|
+
Content passing beneath the title bar reads as softened color, not as
|
|
432
|
+
competing text. The default `docked` header sits above the body as before.
|
|
433
|
+
|
|
434
|
+
An open dialog measures its header the same way it measures the footer (it
|
|
435
|
+
follows a title that wraps, text that grows, or a `withoutHeader` toggle).
|
|
436
|
+
The body reserves the measured height before its own inset, with a matching
|
|
437
|
+
`scroll-padding`, so flowing content starts below the title bar and scrolls
|
|
438
|
+
beneath it. Unmeasured (a dialog opened without `openDialog`), the header
|
|
439
|
+
stays docked rather than covering content.
|
|
440
|
+
|
|
441
|
+
To let a filling transcript scroll visibly beneath the title bar, make it the
|
|
442
|
+
body's only child (`bodyLayout="fill"`, or `fill-last` with no leading rows)
|
|
443
|
+
and opt its scroller in with block-start `scrollClearance`. The body then
|
|
444
|
+
stops reserving the header, so the child reaches the panel's block-start
|
|
445
|
+
edge, and publishes the header's height as `--kui-scroll-clearance-block-start`.
|
|
446
|
+
Leading `fill-last` rows (a notice above the transcript) keep the body's
|
|
447
|
+
reservation: they never sit beneath the title bar. Combined with a floating
|
|
448
|
+
composer and `scrollClearance="both"`, the transcript scrolls beneath both:
|
|
449
|
+
|
|
450
|
+
```tsx
|
|
451
|
+
<DialogSurface
|
|
452
|
+
label="Release Thread"
|
|
453
|
+
heading={<ToolbarText text="Release Thread" size="xlarge" description="Engineering · 5.2 candidate" />}
|
|
454
|
+
height={remify(560)}
|
|
455
|
+
viewportGutter={remify(8)}
|
|
456
|
+
bodyInset="none"
|
|
457
|
+
bodyLayout="fill"
|
|
458
|
+
headerPresentation="floating"
|
|
459
|
+
footerPresentation="floating"
|
|
460
|
+
footerOffset={remify(8)}
|
|
461
|
+
footerInset="none"
|
|
462
|
+
footer={<MessageComposer submitOnEnter id="thread-message" name="message" label="Message" placeholder="Reply to the thread" trailing={<Button tone="brand" action="send-message">Send</Button>} />}
|
|
463
|
+
>
|
|
464
|
+
<List gap="xs" controlInsets="tb" scrollable scrollClearance="both">
|
|
465
|
+
{bubbles}
|
|
466
|
+
</List>
|
|
467
|
+
</DialogSurface>;
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
Like a `Pane`'s overlay header, the title bar draws its divider as scroll
|
|
471
|
+
state: a 1px line along its bottom edge only while the body, or a filling
|
|
472
|
+
child that reaches beneath it, is scrolled away from its top, and none at
|
|
473
|
+
rest. The open dialog follows those scrollers (a nested scroller that starts
|
|
474
|
+
below the title bar never counts), and the line is an inset shadow, so it
|
|
475
|
+
never moves the header or the content.
|
|
476
|
+
|
|
477
|
+
The material turns opaque under `prefers-reduced-transparency: reduce` or
|
|
478
|
+
`prefers-contrast: more`, and where the browser lacks `backdrop-filter`; in
|
|
479
|
+
forced colors the header paints `Canvas` with a `CanvasText` bottom edge.
|
|
480
|
+
|
|
481
|
+
For a title with a short supporting line, pass a `ToolbarText` as the
|
|
482
|
+
`heading` (`heading={<ToolbarText text="Release Thread" size="xlarge" description="Engineering · 5.2 candidate" />}`).
|
|
483
|
+
On the floating title bar an untoned `ToolbarText` keeps AA by itself: its
|
|
484
|
+
title takes the normal text color and its description lifts halfway toward
|
|
485
|
+
it. Any other quiet copy you place there can fall below AA over the content
|
|
486
|
+
passing beneath it, so keep it in the body (see
|
|
487
|
+
[Accessibility › Chrome material](accessibility.md#chrome-material)).
|
|
488
|
+
|
|
489
|
+
Treat a dialog body as a `List` by default. When its rows or sections own their
|
|
490
|
+
standard list geometry, set `bodyInset="none"` so the dialog does not add a
|
|
491
|
+
second inset. Bare prose is still a list child: wrap it in `ListInsetText` so its
|
|
492
|
+
text edge receives the standard 8px margin + 1px transparent border + 8px
|
|
493
|
+
padding and aligns with bordered siblings. Reserve `compact` or `comfortable`
|
|
494
|
+
body insets for exceptional content that does not already have list/content-item
|
|
495
|
+
geometry.
|
|
496
|
+
|
|
497
|
+
## Non-modal dialogs: `PopoverDialogSurface`
|
|
498
|
+
|
|
499
|
+
`DialogSurface` is modal: it makes the page inert until it closes. When a dialog
|
|
500
|
+
should leave the page interactive and close on Escape or a press outside (a
|
|
501
|
+
status panel, a quick inspector), render `PopoverDialogSurface` instead of a
|
|
502
|
+
hand-built popover with application chrome CSS. It is a native
|
|
503
|
+
`popover="auto"` section with `role="dialog"` that owns Kerf's dialog chrome
|
|
504
|
+
(raised surface, border, large radius and shadow, and a backdrop) and the
|
|
505
|
+
same geometry props as a modal `DialogSurface`: `size`, `preferredWidth`,
|
|
506
|
+
`viewportGutter` (16px by default), `height` / `maxHeight`, and `bodyLayout`
|
|
507
|
+
(`flow`, `fill`, or `fill-last`).
|
|
508
|
+
Name it with `label` or `labelledBy`. To give it an accessible description,
|
|
509
|
+
pass `describedBy`, the id of the element that holds the summary. It renders as
|
|
510
|
+
`aria-describedby` on the `role="dialog"` root and usually names a title
|
|
511
|
+
`ToolbarText`'s `descriptionId`:
|
|
512
|
+
|
|
513
|
+
```tsx
|
|
514
|
+
<PopoverDialogSurface id="connection-details" labelledBy="connection-title" describedBy="connection-summary" bodyLayout="fill-last">
|
|
515
|
+
<Toolbar label="Connection Details Heading" leading={<ToolbarText text="Connection Details" size="xlarge" id="connection-title" description="Connected to the build server." descriptionId="connection-summary" />} />
|
|
516
|
+
{details}
|
|
517
|
+
</PopoverDialogSurface>;
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
`DialogSurface` takes the same `describedBy` for a modal dialog.
|
|
521
|
+
|
|
522
|
+
Open it with a control's `popoverTarget` (or `showPopover()`); the browser
|
|
523
|
+
places it centered in the top layer, light-dismisses it, and restores nothing
|
|
524
|
+
else, so move focus into it with `autofocus` on its first control when that
|
|
525
|
+
matters. A closed surface stays hidden; only the open one lays out.
|
|
526
|
+
`presentation="embedded"` renders the same surface in flow, with no top
|
|
527
|
+
layer and never wider than its container, for a catalog specimen or an inline
|
|
528
|
+
preview. In flow it draws its border without the drop shadow, which a
|
|
529
|
+
scrolling container would clip to a square box.
|
|
530
|
+
|
|
531
|
+
```tsx
|
|
532
|
+
<button type="button" popoverTarget="repository-status">Repository Status</button>
|
|
533
|
+
<PopoverDialogSurface id="repository-status" label="Repository Status" preferredWidth={remify(1024)} height={remify(640)} viewportGutter={remify(8)} bodyLayout="fill">
|
|
534
|
+
<SplitView id="repo-split" label="Changes" list={list} detail={detail} />
|
|
535
|
+
</PopoverDialogSurface>;
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
For a request the person must answer, set `dismiss="manual"` (`popover="manual"`):
|
|
539
|
+
Escape and a press outside leave it open, and only its own controls
|
|
540
|
+
(`popoverTargetAction="hide"`) or `hidePopover()` close it. To dock it to a
|
|
541
|
+
region of the app instead of the viewport center, give it an `anchorName`, a
|
|
542
|
+
CSS dashed ident naming the element it belongs to (the shell's main column).
|
|
543
|
+
While open it sits centered on that element's bottom edge, inset by
|
|
544
|
+
`viewportGutter` and no wider than the element less both gutters. The
|
|
545
|
+
application names that element with a Pane's `anchorName` (see
|
|
546
|
+
`layout.md`), which layouts forward through `PaneConfig`. Engines without
|
|
547
|
+
CSS anchor positioning keep the centered placement. Neither prop applies to an
|
|
548
|
+
embedded surface.
|
|
549
|
+
|
|
550
|
+
```tsx
|
|
551
|
+
<PopoverDialogSurface id="file-request" labelledBy="file-request-title" dismiss="manual" anchorName="--app-main" preferredWidth={remify(480)}>
|
|
552
|
+
{request}
|
|
553
|
+
</PopoverDialogSurface>;
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
Use `DialogSurface` whenever the task must block the page.
|
|
557
|
+
|
|
558
|
+
## Pinnable panels: `PinnablePopoverSurface`
|
|
559
|
+
|
|
560
|
+
A panel the person may keep open while working (a component library, a
|
|
561
|
+
palette, a quick inspector) starts as a transient popover and becomes a
|
|
562
|
+
floating panel when pinned. Render `PinnablePopoverSurface` instead of a
|
|
563
|
+
hand-built draggable panel. It takes the same geometry props as
|
|
564
|
+
`PopoverDialogSurface` (`size`, `preferredWidth`, `viewportGutter`, `height`
|
|
565
|
+
/ `maxHeight`, `bodyLayout`) and owns its header: the `label` title, optional
|
|
566
|
+
`headerActions`, a Pin toggle (`aria-pressed`), and Close. Call
|
|
567
|
+
`wirePinnablePopover()` once for its behavior:
|
|
568
|
+
|
|
569
|
+
- **Transient** (the default). It opens below the control whose
|
|
570
|
+
`popoverTarget` names it (or the `anchor` option), above it without room
|
|
571
|
+
below, start-aligned and kept inside the viewport gutter. Escape or a press
|
|
572
|
+
outside it and its opener closes it.
|
|
573
|
+
- **Pinned** by its Pin toggle or `pinPopover(surface)`. It no longer closes on
|
|
574
|
+
a press outside; Escape (with focus inside it), Close, or `hidePopover()`
|
|
575
|
+
still close it. Pinned state and placement survive closing and reopening.
|
|
576
|
+
- **Moved** by dragging its header, or with the arrow keys on its focused title
|
|
577
|
+
(8px a press, 40px with Shift; the `step` and `largeStep` options).
|
|
578
|
+
Moving a transient surface pins it. It stays inside the viewport gutter,
|
|
579
|
+
and after a window resize it is clamped again; when the window has room it
|
|
580
|
+
returns to where the person put it.
|
|
581
|
+
- **Resized** from its corner while pinned, or from the optional
|
|
582
|
+
`resizeFromBottom` handle by pointer or arrow keys in either state, within
|
|
583
|
+
the viewport caps. Bottom-edge resizing keeps the current pin state; the
|
|
584
|
+
chosen size survives closing, reopening, and unpinning.
|
|
585
|
+
|
|
586
|
+
`minHeight` accepts a branded `CssLength` and protects fixed controls plus a
|
|
587
|
+
useful content region while resizing. CSS resolves the length and caps the
|
|
588
|
+
minimum by `maxHeight` and the available dynamic viewport. Resizable overlays
|
|
589
|
+
default to 160px; the editor Library configures 320px for its header, view tabs,
|
|
590
|
+
search field, and visible result rows. Keyboard resize reports the actual
|
|
591
|
+
constrained box, so stored height agrees with what the person sees.
|
|
592
|
+
|
|
593
|
+
The surface is `popover="manual"`, so the controller provides its light
|
|
594
|
+
dismiss; changing an `auto` popover into a pinned one is not possible while
|
|
595
|
+
it is open. The title is the move handle: a focusable button named by the
|
|
596
|
+
label, whose accessible description (`moveDescription`) explains the drag
|
|
597
|
+
and the keys. Focus stays where the person puts it, as with any non-modal
|
|
598
|
+
popover; give its first control `autofocus` to move focus in on open.
|
|
599
|
+
|
|
600
|
+
The application owns storage. `onChange` reports `{ pinned, placement, reason }`
|
|
601
|
+
whenever the person or `pinPopover` pins, unpins, moves, or resizes it
|
|
602
|
+
(`placement` is `{ x, y, width?, height? }` in viewport px, or `null` before
|
|
603
|
+
a placement or size is saved; transient surfaces restore only its size); a clamp after a window resize is not reported. Pass the stored
|
|
604
|
+
values back as `pinned` and `placement` to restore it. `isPopoverPinned()`
|
|
605
|
+
reads the current state.
|
|
606
|
+
|
|
607
|
+
```tsx
|
|
608
|
+
<button type="button" popoverTarget="library">Library</button>
|
|
609
|
+
<PinnablePopoverSurface id="library" label="Library" size="small" maxHeight={remify(480)}>
|
|
610
|
+
<List>{rows}</List>
|
|
611
|
+
</PinnablePopoverSurface>;
|
|
612
|
+
|
|
613
|
+
const stop = wirePinnablePopover(document.getElementById('library')!, {
|
|
614
|
+
pinned: saved?.pinned,
|
|
615
|
+
placement: saved?.placement ?? undefined,
|
|
616
|
+
onChange: (change) => store(change),
|
|
617
|
+
});
|
|
618
|
+
```
|
|
619
|
+
|
|
620
|
+
### Persistent floating panels
|
|
621
|
+
|
|
622
|
+
A panel that an application control shows and hides — a feature detached from
|
|
623
|
+
a sidebar into a floating window — takes two props:
|
|
624
|
+
|
|
625
|
+
- `pinnable={false}` renders it always pinned, with no Pin toggle. It never
|
|
626
|
+
re-anchors below an opener or closes on a press outside, and
|
|
627
|
+
`pinPopover(surface, false)` does nothing. It still drags by its title,
|
|
628
|
+
moves with the arrow keys, resizes, and stays inside the viewport gutter, and
|
|
629
|
+
`onChange` still reports moves and resizes.
|
|
630
|
+
- `closable={false}` omits the header Close button. The application hides it
|
|
631
|
+
(`hidePopover()`, or a `popoverTarget` toggle that it owns), and Escape no
|
|
632
|
+
longer closes it unless `wirePinnablePopover` is given `closeOnEscape: true`.
|
|
633
|
+
`closeOnEscape: false` likewise turns Escape off for a closable surface.
|
|
634
|
+
|
|
635
|
+
`headerActions` stay in the header (a Reattach or Dock control), and the title
|
|
636
|
+
stays the accessible move handle. Opened with nothing stored, a persistent
|
|
637
|
+
panel appears centered; pass its stored `placement` to restore it.
|
|
638
|
+
|
|
639
|
+
```tsx
|
|
640
|
+
<PinnablePopoverSurface
|
|
641
|
+
id="announcer"
|
|
642
|
+
label="Announcer"
|
|
643
|
+
pinnable={false}
|
|
644
|
+
closable={false}
|
|
645
|
+
headerActions={
|
|
646
|
+
<ToolbarControlGroup appearance="borderless" single>
|
|
647
|
+
<ToolbarButton ariaLabel="Reattach" icon={<LucideIcon icon={PanelLeftClose} name="panel-left-close" size="m" />} action="reattach" />
|
|
648
|
+
</ToolbarControlGroup>
|
|
649
|
+
}
|
|
650
|
+
>
|
|
651
|
+
{announcer}
|
|
652
|
+
</PinnablePopoverSurface>;
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
The controller keeps its pinned state, placement, and the Pin toggle's
|
|
656
|
+
`aria-pressed` across application re-renders. An application that closes the
|
|
657
|
+
panel after a task (a drop from a library) checks `isPopoverPinned()` first.
|
|
658
|
+
`presentation="embedded"` (with `pinned` for the pinned look) renders it in
|
|
659
|
+
flow for a catalog or a design canvas, with its border and no drop shadow;
|
|
660
|
+
`wirePinnablePopover` leaves an embedded surface alone.
|
|
661
|
+
|
|
662
|
+
Wrap one `PopupMenu` (or another single `wa-dropdown`) with `PopupSurface`. `inset="none"` removes menu
|
|
663
|
+
padding for a child that already owns row insets, `compact` uses 4px, and
|
|
664
|
+
`standard` uses the shared 8px surface inset. Keep the menu trigger named. A raw
|
|
665
|
+
`wa-dropdown` should keep `data-morph-skip-children` when its upgraded light-DOM
|
|
666
|
+
items must retain identity across Kerf rerenders; a `PopupMenu` already
|
|
667
|
+
protects its own open state from the morph.
|
|
668
|
+
|
|
669
|
+
`openDialog` installs the document listeners every `DialogSurface` needs
|
|
670
|
+
(close requests, motion, and, while each dialog is open, chrome measurement,
|
|
671
|
+
the floating header's divider, the bottom sheet's keyboard clearance and
|
|
672
|
+
grabber, and restoring that measured state after an application re-render).
|
|
673
|
+
Import `@kerfjs/ui/surface-scaffold/register` once when a dialog may be opened
|
|
674
|
+
without `openDialog` and should still take close requests. Rendering a
|
|
675
|
+
`DialogSurface` has no side effects and registers no custom element.
|
|
676
|
+
|
|
677
|
+
`PinnablePopoverSurface bodyInset` uses the shared surface inset vocabulary: `default` keeps 8px body clearance, `none` delegates all clearance to the body content, and `comfortable` uses the container inset. Use `none` for edge-to-edge scrolling columns whose rows own their own insets.
|