@kerfjs/ui 5.0.0-beta.13 → 5.0.0-beta.130
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 +740 -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 +10582 -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 +11314 -0
- package/ai/component-composition.schema.json +749 -0
- package/ai/component-props-overlay.json +8892 -0
- package/ai/component-props-overlay.schema.json +82 -0
- package/ai/component-props.json +34203 -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 +79 -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 +100 -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 +7669 -523
- 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 +706 -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-2GOCOLQL.js +270 -0
- package/dist/chunk-2GOCOLQL.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-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-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-73LC3JAL.js +78 -0
- package/dist/chunk-73LC3JAL.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-ALBFHXMZ.js +937 -0
- package/dist/chunk-ALBFHXMZ.js.map +1 -0
- package/dist/chunk-ASU4ODOH.js +658 -0
- package/dist/chunk-ASU4ODOH.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-BMUYZKXW.js +155 -0
- package/dist/chunk-BMUYZKXW.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-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-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-ECJHCPBN.js +48 -0
- package/dist/chunk-ECJHCPBN.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-F34LHBQI.js +157 -0
- package/dist/chunk-F34LHBQI.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-HHEBNP6Z.js +256 -0
- package/dist/chunk-HHEBNP6Z.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-LETAE6SX.js +93 -0
- package/dist/chunk-LETAE6SX.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-OSL4LQ7T.js +202 -0
- package/dist/chunk-OSL4LQ7T.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-Q7RILH2D.js +152 -0
- package/dist/chunk-Q7RILH2D.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-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-UD5KHQOH.js +322 -0
- package/dist/chunk-UD5KHQOH.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-WUVHP3UC.js +530 -0
- package/dist/chunk-WUVHP3UC.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-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 +22 -0
- package/dist/column-explorer.js.map +1 -0
- package/dist/column-track.d.ts +52 -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 +15604 -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 +81 -17
- package/dist/index.js +101 -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 +4 -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 +6 -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-5lNIszda.d.ts +212 -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-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 +1033 -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 +53 -0
- package/dist/styles/components/collections/list/list.css +301 -0
- package/dist/styles/components/collections/list-action-row/list-action-row.css +466 -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 +265 -0
- package/dist/styles/components/forms/search-field/search-field.css +441 -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 +450 -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 +53 -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 +323 -17
- 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 +265 -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 +441 -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 +450 -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 +886 -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 +76 -0
- package/dist/tab-bar-item.js +6 -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 +135 -0
- package/dist/text.js +4 -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-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 +885 -40
- 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 +1190 -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 +1064 -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 +1161 -57
- package/package.json +609 -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,40 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
|
|
4
|
+
|
|
5
|
+
/** The viewport corner a CornerStatus occupies, in logical (RTL-aware) terms. */
|
|
6
|
+
type CornerStatusPlacement = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
7
|
+
/** Where a CornerStatus appears: the top layer, or in flow. */
|
|
8
|
+
type CornerStatusPresentation = 'overlay' | 'embedded';
|
|
9
|
+
interface CornerStatusProps {
|
|
10
|
+
/** The root id: what a `popovertarget` control or `getElementById` names. */
|
|
11
|
+
id?: string;
|
|
12
|
+
/** One or more `StateBanner`s, typically `urgency="status"`; they stack. */
|
|
13
|
+
children: KerfUiContent;
|
|
14
|
+
/** Viewport corner; defaults to `bottom-end`. */
|
|
15
|
+
placement?: CornerStatusPlacement;
|
|
16
|
+
/**
|
|
17
|
+
* `overlay` (default) is a native `popover="manual"` host in the top layer,
|
|
18
|
+
* opened by `wireCornerStatus`: above fixed and z-indexed page chrome,
|
|
19
|
+
* never focused, and with no close button, light dismiss, or Escape.
|
|
20
|
+
* `embedded` renders the same stack in flow for a catalog or inline use.
|
|
21
|
+
*/
|
|
22
|
+
presentation?: CornerStatusPresentation;
|
|
23
|
+
className?: string;
|
|
24
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
25
|
+
slot?: string;
|
|
26
|
+
/** Application `data-*` metadata on the root, such as a row key or an
|
|
27
|
+
* editor node marker; the component's own markers stay protected. */
|
|
28
|
+
rootAttributes?: RootDataAttributes;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A non-dismissible status surface pinned to a viewport corner — "Loading…",
|
|
32
|
+
* "Updating Tickets… 3 of 12" — for app-level progress that has no better
|
|
33
|
+
* home beside the affected work. The application owns its lifetime: render it
|
|
34
|
+
* while the work runs and remove it when the work ends. It carries no role of
|
|
35
|
+
* its own; the composed `StateBanner` is the polite live region. Use a toast
|
|
36
|
+
* for transient, dismissible confirmation instead.
|
|
37
|
+
*/
|
|
38
|
+
declare function CornerStatus({ id, children, placement, presentation, className, slot, rootAttributes, }: CornerStatusProps): kerfjs.SafeHtml;
|
|
39
|
+
|
|
40
|
+
export { CornerStatus, type CornerStatusPlacement, type CornerStatusPresentation, type CornerStatusProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"corner-status.js"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
declare const cssValueBrand: unique symbol;
|
|
2
|
+
declare const cssLengthBrand: unique symbol;
|
|
3
|
+
declare const cssLengthExpressionBrand: unique symbol;
|
|
4
|
+
declare const cssFlexBrand: unique symbol;
|
|
5
|
+
declare const cssColorBrand: unique symbol;
|
|
6
|
+
declare const cssForegroundColorBrand: unique symbol;
|
|
7
|
+
/**
|
|
8
|
+
* A complete typed CSS value minted by a property-specific Kerf UI builder.
|
|
9
|
+
*
|
|
10
|
+
* This brand is an authoring correctness aid, not a sanitizer or security
|
|
11
|
+
* boundary. Prefer the narrower property grammar, such as {@link CssLength},
|
|
12
|
+
* whenever one is available.
|
|
13
|
+
*/
|
|
14
|
+
type CssValue = string & {
|
|
15
|
+
readonly [cssValueBrand]: 'CssValue';
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A complete CSS length-percentage value suitable for dimension-valued UI
|
|
19
|
+
* props. Despite the concise name, percentages are intentionally included.
|
|
20
|
+
*/
|
|
21
|
+
type CssLength = CssValue & {
|
|
22
|
+
readonly [cssLengthBrand]: 'CssLength';
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* An incomplete arithmetic expression. Wrap it with {@link calc} before
|
|
26
|
+
* passing it to a prop that accepts {@link CssLength}.
|
|
27
|
+
*/
|
|
28
|
+
type CssLengthExpression = string & {
|
|
29
|
+
readonly [cssLengthExpressionBrand]: 'CssLengthExpression';
|
|
30
|
+
};
|
|
31
|
+
/** A complete CSS `flex` shorthand. It is not interchangeable with a length. */
|
|
32
|
+
type CssFlex = CssValue & {
|
|
33
|
+
readonly [cssFlexBrand]: 'CssFlex';
|
|
34
|
+
};
|
|
35
|
+
/** A complete CSS color value. It is not interchangeable with a length. */
|
|
36
|
+
type CssColor = CssValue & {
|
|
37
|
+
readonly [cssColorBrand]: 'CssColor';
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* A complete CSS color meant to paint a foreground: text or an icon drawn over
|
|
41
|
+
* a surface. Mint it with {@link uiColor} and a foreground token name
|
|
42
|
+
* ({@link UiForegroundColorName}) or with {@link foregroundColorVar}. It is a
|
|
43
|
+
* {@link CssColor}, but a plain `CssColor` is not a foreground color: fill,
|
|
44
|
+
* border, and surface tokens are pale backgrounds that leave a foreground
|
|
45
|
+
* nearly invisible.
|
|
46
|
+
*/
|
|
47
|
+
type CssForegroundColor = CssColor & {
|
|
48
|
+
readonly [cssForegroundColorBrand]: 'CssForegroundColor';
|
|
49
|
+
};
|
|
50
|
+
type CssFlexKeyword = 'none' | 'auto' | 'initial';
|
|
51
|
+
type CssFlexBasis = CssLength | 'auto' | 'content' | 'min-content' | 'max-content' | 'fit-content';
|
|
52
|
+
type CssSizeKeyword = 'auto' | 'min-content' | 'max-content' | 'fit-content';
|
|
53
|
+
/** A complete width/height value accepted by dimension-valued UI props. */
|
|
54
|
+
type CssSize = CssLength | CssSizeKeyword;
|
|
55
|
+
declare const uiColorNames: readonly ["brand-border-loud", "brand-border-normal", "brand-border-quiet", "brand-fill-loud", "brand-fill-normal", "brand-fill-quiet", "brand-on-fill", "brand-on-loud", "brand-on-normal", "brand-on-quiet", "danger-border-loud", "danger-border-normal", "danger-border-quiet", "danger-fill-loud", "danger-fill-normal", "danger-fill-quiet", "danger-on-fill", "danger-on-loud", "danger-on-normal", "danger-on-quiet", "neutral-border-loud", "neutral-border-normal", "neutral-border-quiet", "neutral-fill-loud", "neutral-fill-normal", "neutral-fill-quiet", "neutral-on-loud", "neutral-on-normal", "neutral-on-quiet", "pop-border-loud", "pop-border-normal", "pop-border-quiet", "pop-fill-loud", "pop-fill-normal", "pop-fill-quiet", "pop-on-fill", "pop-on-loud", "pop-on-normal", "pop-on-quiet", "success-border-loud", "success-border-normal", "success-border-quiet", "success-fill-loud", "success-fill-normal", "success-fill-quiet", "success-on-fill", "success-on-loud", "success-on-normal", "success-on-quiet", "surface", "surface-lowered", "surface-raised", "text", "text-link", "text-quiet", "warning-border-loud", "warning-border-normal", "warning-border-quiet", "warning-fill-loud", "warning-fill-normal", "warning-fill-quiet", "warning-on-fill", "warning-on-loud", "warning-on-normal", "warning-on-quiet"];
|
|
56
|
+
/** Names of the public `--kui-color-*` semantic tokens. */
|
|
57
|
+
type UiColorName = (typeof uiColorNames)[number];
|
|
58
|
+
/** The semantic tokens that paint a foreground: the `*-on-*` and text roles. */
|
|
59
|
+
type UiForegroundColorName = Extract<UiColorName, `${string}-on-${string}` | 'text' | 'text-quiet' | 'text-link'>;
|
|
60
|
+
/** Kerf UI's complete spacing-token vocabulary. `s` and `xl` are exceptions. */
|
|
61
|
+
type UiSpaceName = 'none' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
62
|
+
/** A token or complete typed length for one gap axis. */
|
|
63
|
+
type UiGapValue = UiSpaceName | CssLength;
|
|
64
|
+
/** A shared gap or independent column and row gaps. */
|
|
65
|
+
type UiGap = UiGapValue | Readonly<{
|
|
66
|
+
column: UiGapValue;
|
|
67
|
+
row: UiGapValue;
|
|
68
|
+
}>;
|
|
69
|
+
/** Create a complete pixel length. */
|
|
70
|
+
declare function px(value: number): CssLength;
|
|
71
|
+
/** Create a complete root-font-relative length. */
|
|
72
|
+
declare function rem(value: number): CssLength;
|
|
73
|
+
/** Converts a pixel value into rem units by dividing by 16. */
|
|
74
|
+
declare function remify(value: number): CssLength;
|
|
75
|
+
/** Create a complete current-font-relative length. */
|
|
76
|
+
declare function em(value: number): CssLength;
|
|
77
|
+
/** Create a complete percentage length. */
|
|
78
|
+
declare function pct(value: number): CssLength;
|
|
79
|
+
/** Resolve a Kerf UI spacing step to its public custom property. */
|
|
80
|
+
declare function space(name: UiSpaceName): CssLength;
|
|
81
|
+
/**
|
|
82
|
+
* Reference an application-owned custom property whose contract is a CSS
|
|
83
|
+
* length-percentage. The deliberately narrow name grammar keeps this helper
|
|
84
|
+
* from becoming an arbitrary CSS-string constructor.
|
|
85
|
+
*/
|
|
86
|
+
declare function lengthVar(name: `--${string}`, fallback?: CssLength): CssLength;
|
|
87
|
+
/** Combine two or more complete lengths into a non-standalone sum. */
|
|
88
|
+
declare function plus(first: CssLength, second: CssLength, ...rest: readonly CssLength[]): CssLengthExpression;
|
|
89
|
+
/** Turn a typed length expression into a complete CSS `calc()` value. */
|
|
90
|
+
declare function calc(expression: CssLengthExpression): CssLength;
|
|
91
|
+
/** Build a complete, structured CSS flex shorthand. */
|
|
92
|
+
declare function flex(grow: number, shrink?: number, basis?: CssFlexBasis): CssFlex;
|
|
93
|
+
/**
|
|
94
|
+
* The brand {@link uiColor} returns for a token name: a
|
|
95
|
+
* {@link CssForegroundColor} for a foreground token, otherwise a plain
|
|
96
|
+
* {@link CssColor}.
|
|
97
|
+
*/
|
|
98
|
+
type UiColor<Name extends UiColorName> = Name extends UiForegroundColorName ? CssForegroundColor : CssColor;
|
|
99
|
+
/**
|
|
100
|
+
* Resolve a public Kerf UI semantic color token. A foreground token name
|
|
101
|
+
* (`success-on-quiet`, `text-quiet`, …) returns a {@link CssForegroundColor};
|
|
102
|
+
* any other token returns a plain {@link CssColor}.
|
|
103
|
+
*/
|
|
104
|
+
declare function uiColor<Name extends UiColorName>(name: Name): UiColor<Name>;
|
|
105
|
+
/** Reference an application-owned custom property whose contract is a color. */
|
|
106
|
+
declare function colorVar(name: `--${string}`, fallback?: CssColor): CssColor;
|
|
107
|
+
/**
|
|
108
|
+
* Reference an application-owned custom property whose contract is a
|
|
109
|
+
* foreground color (text or an icon over a surface). Use it where a prop
|
|
110
|
+
* accepts only {@link CssForegroundColor}, such as `SelectChoice.color`.
|
|
111
|
+
*/
|
|
112
|
+
declare function foregroundColorVar(name: `--${string}`, fallback?: CssForegroundColor): CssForegroundColor;
|
|
113
|
+
/**
|
|
114
|
+
* Use an application-chosen CSS color for foreground content. The browser
|
|
115
|
+
* resolves the color syntax; this checks only that it is one declaration value.
|
|
116
|
+
*/
|
|
117
|
+
declare function foregroundColor(value: string): CssForegroundColor;
|
|
118
|
+
/**
|
|
119
|
+
* Use an application-chosen CSS color as a fill: a `ChoiceChips` swatch, a list
|
|
120
|
+
* row's `iconTile` color, or any other prop that takes a plain
|
|
121
|
+
* {@link CssColor}. It returns a `CssColor`, not a {@link CssForegroundColor},
|
|
122
|
+
* so a fill literal cannot reach a prop that paints text or an icon. The browser
|
|
123
|
+
* resolves the color syntax; this checks only that it is one declaration value.
|
|
124
|
+
*/
|
|
125
|
+
declare function fillColor(value: string): CssColor;
|
|
126
|
+
|
|
127
|
+
export { type CssColor, type CssFlex, type CssFlexBasis, type CssFlexKeyword, type CssForegroundColor, type CssLength, type CssLengthExpression, type CssSize, type CssSizeKeyword, type CssValue, type UiColor, type UiColorName, type UiForegroundColorName, type UiGap, type UiGapValue, type UiSpaceName, calc, colorVar, em, fillColor, flex, foregroundColor, foregroundColorVar, lengthVar, pct, plus, px, rem, remify, space, uiColor };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"css-values.js"}
|
package/dist/device-class.js
CHANGED
|
@@ -1,75 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// src/device-class.ts
|
|
4
|
-
var DEFAULT_BREAKPOINTS = {
|
|
5
|
-
mobile: 360,
|
|
6
|
-
tablet: 720,
|
|
7
|
-
desktop: 1024,
|
|
8
|
-
"xl-desktop": 1440
|
|
9
|
-
};
|
|
10
|
-
var SIZE_ORDER = ["xs-mobile", "mobile", "tablet", "desktop", "xl-desktop"];
|
|
11
|
-
var SSR_VIEWPORT = { width: 1024, height: 768, segments: 1, verticalSegments: 1 };
|
|
12
|
-
function classifyViewport(width, orientation, segments = 1, verticalSegments = 1, breakpoints = DEFAULT_BREAKPOINTS) {
|
|
13
|
-
const size = width >= breakpoints["xl-desktop"] ? "xl-desktop" : width >= breakpoints.desktop ? "desktop" : width >= breakpoints.tablet ? "tablet" : width >= breakpoints.mobile ? "mobile" : "xs-mobile";
|
|
14
|
-
const rank = SIZE_ORDER.indexOf(size);
|
|
15
|
-
return {
|
|
16
|
-
size,
|
|
17
|
-
orientation,
|
|
18
|
-
segments,
|
|
19
|
-
verticalSegments,
|
|
20
|
-
handset: rank <= 1,
|
|
21
|
-
compact: rank <= 1 || size === "tablet" && orientation === "portrait",
|
|
22
|
-
atLeast: (target) => rank >= SIZE_ORDER.indexOf(target)
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function countSegments(axis, view) {
|
|
26
|
-
const mq = view.matchMedia;
|
|
27
|
-
if (typeof mq !== "function") return 1;
|
|
28
|
-
for (let n = 4; n >= 2; n--) {
|
|
29
|
-
if (mq.call(view, `(${axis}-viewport-segments: ${n})`).matches) return n;
|
|
30
|
-
}
|
|
31
|
-
return 1;
|
|
32
|
-
}
|
|
33
|
-
function readViewport(view) {
|
|
34
|
-
return {
|
|
35
|
-
width: view.innerWidth,
|
|
36
|
-
height: view.innerHeight,
|
|
37
|
-
segments: countSegments("horizontal", view),
|
|
38
|
-
verticalSegments: countSegments("vertical", view)
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function browserWindow() {
|
|
42
|
-
return typeof window === "undefined" ? void 0 : window;
|
|
43
|
-
}
|
|
44
|
-
var sharedSource;
|
|
45
|
-
function viewportSource(view) {
|
|
46
|
-
if (sharedSource) return sharedSource;
|
|
47
|
-
const source = signal(readViewport(view));
|
|
48
|
-
sharedSource = source;
|
|
49
|
-
const update = () => {
|
|
50
|
-
source.value = readViewport(view);
|
|
51
|
-
};
|
|
52
|
-
view.addEventListener("resize", update);
|
|
53
|
-
view.addEventListener("orientationchange", update);
|
|
54
|
-
return source;
|
|
55
|
-
}
|
|
56
|
-
function orientationOf(view) {
|
|
57
|
-
return view.height > view.width ? "portrait" : "landscape";
|
|
58
|
-
}
|
|
59
|
-
function deviceClass(options = {}) {
|
|
60
|
-
const breakpoints = { ...DEFAULT_BREAKPOINTS, ...options.breakpoints };
|
|
61
|
-
const view = browserWindow();
|
|
62
|
-
if (!view) {
|
|
63
|
-
const snapshot = { ...SSR_VIEWPORT, ...options.ssr };
|
|
64
|
-
return computed(() => classifyViewport(snapshot.width, orientationOf(snapshot), snapshot.segments, snapshot.verticalSegments, breakpoints));
|
|
65
|
-
}
|
|
66
|
-
const source = viewportSource(view);
|
|
67
|
-
return computed(() => {
|
|
68
|
-
const v = source.value;
|
|
69
|
-
return classifyViewport(v.width, orientationOf(v), v.segments, v.verticalSegments, breakpoints);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export { DEFAULT_BREAKPOINTS, classifyViewport, deviceClass };
|
|
1
|
+
export { DEFAULT_BREAKPOINTS, classifyViewport, deviceClass } from './chunk-WCMGPAY2.js';
|
|
74
2
|
|
|
75
3
|
//# sourceMappingURL=device-class.js.map
|
package/dist/device-class.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"device-class.js"}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
import { CssLength } from './css-values.js';
|
|
4
|
+
|
|
5
|
+
type DialogSurfaceSize = 'small' | 'medium' | 'large';
|
|
6
|
+
/**
|
|
7
|
+
* How the dialog is presented: `modal` (default) centered on the screen,
|
|
8
|
+
* `side-sheet` against the inline end, `fullscreen`, or `bottom-sheet`
|
|
9
|
+
* attached to the bottom edge (square bottom corners, safe-area and
|
|
10
|
+
* virtual-keyboard clearance, optionally user-resizable).
|
|
11
|
+
*/
|
|
12
|
+
type DialogSurfacePresentation = 'modal' | 'side-sheet' | 'fullscreen' | 'bottom-sheet'
|
|
13
|
+
/**
|
|
14
|
+
* In flow, always shown: the same panel without the top layer or a
|
|
15
|
+
* backdrop, never wider than its container. For a catalog, a design
|
|
16
|
+
* canvas, or a document; `openDialog` / `closeDialog` leave it alone and
|
|
17
|
+
* `data-dialog-close` does not hide it.
|
|
18
|
+
*/
|
|
19
|
+
| 'embedded';
|
|
20
|
+
/**
|
|
21
|
+
* How a bottom sheet appears or leaves: `slide` (default) moves the panel in
|
|
22
|
+
* from, or out to, the bottom edge; `standard` keeps the dialog's
|
|
23
|
+
* scale-and-fade. Both honor `prefers-reduced-motion`.
|
|
24
|
+
*/
|
|
25
|
+
type DialogSurfaceSheetMotion = 'slide' | 'standard';
|
|
26
|
+
type SurfaceInset = 'none' | 'default' | 'comfortable' | /** @deprecated Use default; this legacy compact value retains its 8px inset. */ 'compact';
|
|
27
|
+
type DialogSurfaceMaxHeight = CssLength | 'viewport';
|
|
28
|
+
/** A definite modal height: a length or the full viewport, minus both gutters. */
|
|
29
|
+
type DialogSurfaceHeight = CssLength | 'viewport';
|
|
30
|
+
/**
|
|
31
|
+
* How the dialog body lays out its children: `flow` (default) scrolls ordinary
|
|
32
|
+
* content in the body; `fill` gives one child the body's whole height and
|
|
33
|
+
* lets it own scrolling (a SplitView, a Pane, an editor); `fill-last` stacks
|
|
34
|
+
* the leading children at their natural height and gives the last child the
|
|
35
|
+
* remaining height to own its scrolling (a heading and notices above a
|
|
36
|
+
* scrolling transcript).
|
|
37
|
+
*/
|
|
38
|
+
type DialogSurfaceBodyLayout = 'flow' | 'fill' | 'fill-last';
|
|
39
|
+
/**
|
|
40
|
+
* Where the dialog footer sits: `docked` (default) below the body, or
|
|
41
|
+
* `floating` over the body's block end, inset from the panel's inline and
|
|
42
|
+
* block-end edges on a transparent background (a chat composer).
|
|
43
|
+
*/
|
|
44
|
+
type DialogSurfaceFooterPresentation = 'docked' | 'floating';
|
|
45
|
+
/**
|
|
46
|
+
* Where the dialog header sits: `docked` (default) above the body, or
|
|
47
|
+
* `floating` over the body's block-start edge on the translucent chrome
|
|
48
|
+
* material, so content scrolls visibly beneath the title bar.
|
|
49
|
+
*/
|
|
50
|
+
type DialogSurfaceHeaderPresentation = 'docked' | 'floating';
|
|
51
|
+
/** The built-in close control's visual weight; `normal` keeps the default. */
|
|
52
|
+
type DialogSurfaceCloseEmphasis = 'normal' | 'quiet';
|
|
53
|
+
/**
|
|
54
|
+
* Application `data-*` identity on the DialogSurface root, such as
|
|
55
|
+
* `data-key`; the surface's own configuration attributes stay protected.
|
|
56
|
+
*/
|
|
57
|
+
type DialogSurfaceRootAttributes = Readonly<Record<`data-${string}`, string | undefined>>;
|
|
58
|
+
/**
|
|
59
|
+
* The dialog's accessible name: its `label` text (also the default title), or
|
|
60
|
+
* the id of an element that names it, such as a `heading` ToolbarText.
|
|
61
|
+
*/
|
|
62
|
+
type DialogSurfaceName = {
|
|
63
|
+
label: string;
|
|
64
|
+
labelledBy?: never;
|
|
65
|
+
} | {
|
|
66
|
+
label?: never;
|
|
67
|
+
labelledBy: string;
|
|
68
|
+
};
|
|
69
|
+
type DialogSurfaceProps = DialogSurfaceName & DialogSurfaceOptions;
|
|
70
|
+
/** Controlled state of one native modal layer inside a `wireDialogStack` root. */
|
|
71
|
+
interface DialogSurfaceStack {
|
|
72
|
+
/** Whether this layer belongs in the native top layer. */
|
|
73
|
+
open: boolean;
|
|
74
|
+
/** The one frontmost open layer; it owns modal focus and accessibility. */
|
|
75
|
+
active: boolean;
|
|
76
|
+
/** One-based order from the back to the front. */
|
|
77
|
+
position: number;
|
|
78
|
+
/** Number of layers in the stack, including closed layers still rendered. */
|
|
79
|
+
count: number;
|
|
80
|
+
/** Optional vertical offset for an inactive layer; omitted on phones. */
|
|
81
|
+
offset?: CssLength;
|
|
82
|
+
}
|
|
83
|
+
interface DialogSurfaceOptions {
|
|
84
|
+
/** The dialog's id, for `openDialog(document.getElementById(id))`. */
|
|
85
|
+
id?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Id of the element whose text is the dialog's accessible description,
|
|
88
|
+
* such as the `heading` ToolbarText's `descriptionId` or app-owned summary
|
|
89
|
+
* copy in the body; rendered as `aria-describedby` on the `<dialog>`.
|
|
90
|
+
*/
|
|
91
|
+
describedBy?: string;
|
|
92
|
+
/**
|
|
93
|
+
* An alert dialog: a confirmation that interrupts the person to report
|
|
94
|
+
* something urgent or ask before a destructive action ("Delete this
|
|
95
|
+
* topic?"). Renders `role="alertdialog"` on the `<dialog>`; set
|
|
96
|
+
* `describedBy` to the element holding the message, and leave
|
|
97
|
+
* `lightDismiss` off so the person answers it.
|
|
98
|
+
*/
|
|
99
|
+
alert?: boolean;
|
|
100
|
+
/** The body content. */
|
|
101
|
+
children: KerfUiContent;
|
|
102
|
+
/** Controlled modal stack state; call `wireDialogStack` on the containing root. */
|
|
103
|
+
stack?: DialogSurfaceStack;
|
|
104
|
+
/**
|
|
105
|
+
* Header title content in place of the `label` text, such as an xl
|
|
106
|
+
* `ToolbarText` with a description. The dialog keeps its `label` (or
|
|
107
|
+
* `labelledBy`) name.
|
|
108
|
+
*/
|
|
109
|
+
heading?: KerfUiContent;
|
|
110
|
+
/** Controls before the close button in the header. */
|
|
111
|
+
headerActions?: KerfUiContent;
|
|
112
|
+
/** The footer, below the body (or floating over it); usually its buttons. */
|
|
113
|
+
footer?: KerfUiContent;
|
|
114
|
+
/**
|
|
115
|
+
* Render no header: no title and no close button. The content then owns its
|
|
116
|
+
* heading and a way to close (an element with `data-dialog-close`).
|
|
117
|
+
*/
|
|
118
|
+
withoutHeader?: boolean;
|
|
119
|
+
/** Close on a press on the backdrop; otherwise the panel pulses. */
|
|
120
|
+
lightDismiss?: boolean;
|
|
121
|
+
/** The close button's accessible name (default `Close`). */
|
|
122
|
+
closeLabel?: string;
|
|
123
|
+
/** Soften the built-in close control without changing its 40px target. */
|
|
124
|
+
closeEmphasis?: DialogSurfaceCloseEmphasis;
|
|
125
|
+
size?: DialogSurfaceSize;
|
|
126
|
+
presentation?: DialogSurfacePresentation;
|
|
127
|
+
/** Modal preferred width. Takes precedence over size, within the viewport cap. */
|
|
128
|
+
preferredWidth?: CssLength;
|
|
129
|
+
bodyInset?: SurfaceInset;
|
|
130
|
+
footerInset?: SurfaceInset;
|
|
131
|
+
/** Modal edge clearance. Omit to retain Web Awesome's default viewport cap. */
|
|
132
|
+
viewportGutter?: CssLength;
|
|
133
|
+
/**
|
|
134
|
+
* Modal height cap, bounded by the dynamic viewport minus both gutters. On a
|
|
135
|
+
* bottom sheet, the cap (and the resize ceiling), bounded by the dynamic
|
|
136
|
+
* viewport minus the top safe area and one gutter.
|
|
137
|
+
*/
|
|
138
|
+
maxHeight?: DialogSurfaceMaxHeight;
|
|
139
|
+
/**
|
|
140
|
+
* Modal definite height, bounded the same way, so a filling child has a
|
|
141
|
+
* height to fill. Takes precedence over `maxHeight`. On a bottom sheet, the
|
|
142
|
+
* height it opens at (the visible height above the safe area or keyboard).
|
|
143
|
+
*/
|
|
144
|
+
height?: DialogSurfaceHeight;
|
|
145
|
+
/**
|
|
146
|
+
* A resizable bottom sheet's resize floor (default 160px), the visible
|
|
147
|
+
* height above the safe area or keyboard.
|
|
148
|
+
*/
|
|
149
|
+
minHeight?: CssLength;
|
|
150
|
+
/**
|
|
151
|
+
* Let the person resize a bottom sheet by its top grabber (drag, or the
|
|
152
|
+
* arrow, Page Up/Down, Home and End keys) between `minHeight` and the
|
|
153
|
+
* sheet's cap. Needs the `/register` entry; each opening starts at `height`
|
|
154
|
+
* (or the content height). Ignored by other presentations.
|
|
155
|
+
*/
|
|
156
|
+
resizable?: boolean;
|
|
157
|
+
/** How a bottom sheet appears (default `slide` up from the bottom edge). */
|
|
158
|
+
enterMotion?: DialogSurfaceSheetMotion;
|
|
159
|
+
/** How a bottom sheet is dismissed (default `slide` down off the bottom edge). */
|
|
160
|
+
exitMotion?: DialogSurfaceSheetMotion;
|
|
161
|
+
/**
|
|
162
|
+
* Body layout (default `flow`); `fill` lets one child own the body and
|
|
163
|
+
* `fill-last` stacks fixed rows above one filling last child.
|
|
164
|
+
*/
|
|
165
|
+
bodyLayout?: DialogSurfaceBodyLayout;
|
|
166
|
+
/**
|
|
167
|
+
* Header placement (default `docked`); `floating` lays the dialog's header
|
|
168
|
+
* (its title and close control) over the body's block-start edge on the
|
|
169
|
+
* translucent chrome material (`--kui-chrome-material-raised`, opaque under
|
|
170
|
+
* `prefers-reduced-transparency`, increased contrast, forced colors, or
|
|
171
|
+
* without `backdrop-filter`). The `/register` entry measures the header;
|
|
172
|
+
* the body reserves that height before its own inset, so its first content
|
|
173
|
+
* rests below the title bar. A `fill`/`fill-last` child that is the body's
|
|
174
|
+
* only child and opts into block-start `scrollClearance` (a `List` or
|
|
175
|
+
* `Pane`) takes the clearance inside its own scroll area instead, published
|
|
176
|
+
* as `--kui-scroll-clearance-block-start`, so its content scrolls visibly
|
|
177
|
+
* beneath the header. Unmeasured (without the register), the header stays
|
|
178
|
+
* docked. Keep header text in the normal text color: quiet text can fall
|
|
179
|
+
* below AA over the content passing beneath it.
|
|
180
|
+
*/
|
|
181
|
+
headerPresentation?: DialogSurfaceHeaderPresentation;
|
|
182
|
+
/**
|
|
183
|
+
* Footer placement (default `docked`); `floating` lays the footer over the
|
|
184
|
+
* body's block end. The body reserves the footer's measured height so its
|
|
185
|
+
* last content is never hidden beneath it. A `fill`/`fill-last` child that
|
|
186
|
+
* opts into block-end `scrollClearance` (a `List` or `Pane`) takes that
|
|
187
|
+
* clearance inside its own scroll area instead, published as
|
|
188
|
+
* `--kui-scroll-clearance-block-end`, so its content scrolls visibly beneath
|
|
189
|
+
* the transparent footer.
|
|
190
|
+
*/
|
|
191
|
+
footerPresentation?: DialogSurfaceFooterPresentation;
|
|
192
|
+
/**
|
|
193
|
+
* A floating footer's clearance from the panel's inline and block-end edges
|
|
194
|
+
* (default the 16px container inset). Choose a phone value such as
|
|
195
|
+
* `remify(8)` from `deviceClass()`; the scaffold adds no breakpoint.
|
|
196
|
+
*/
|
|
197
|
+
footerOffset?: CssLength;
|
|
198
|
+
/**
|
|
199
|
+
* Safe `data-*` identity on the root. Give sibling dialogs distinct
|
|
200
|
+
* `data-key`s so a re-render morphs each surface into itself instead of
|
|
201
|
+
* reusing one dialog's element for another (structurally identical roots
|
|
202
|
+
* are otherwise matched by position).
|
|
203
|
+
*/
|
|
204
|
+
rootAttributes?: DialogSurfaceRootAttributes;
|
|
205
|
+
className?: string;
|
|
206
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
207
|
+
slot?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* A modal dialog: a native `<dialog>` with Kerf's header, body, and footer
|
|
211
|
+
* chrome, sized and presented by its props. Render it closed, then open it
|
|
212
|
+
* with `openDialog()` and close it with `closeDialog()`, the close button, an
|
|
213
|
+
* element with `data-dialog-close`, Escape, or (with `lightDismiss`) a press
|
|
214
|
+
* on the backdrop. Import `@kerfjs/ui/surface-scaffold/register` for the
|
|
215
|
+
* floating header and footer measurement, the bottom sheet's keyboard
|
|
216
|
+
* clearance and grabber, and re-render resilience while open.
|
|
217
|
+
*/
|
|
218
|
+
declare function DialogSurface({ id, label, labelledBy, describedBy, alert, heading, headerActions, footer, withoutHeader, lightDismiss, closeLabel, closeEmphasis, children, stack, size, presentation, preferredWidth, bodyInset, footerInset, viewportGutter, maxHeight, height, minHeight, resizable, enterMotion, exitMotion, bodyLayout, headerPresentation, footerPresentation, footerOffset, rootAttributes, className, slot, }: DialogSurfaceProps): kerfjs.SafeHtml;
|
|
219
|
+
|
|
220
|
+
/** What asked an open DialogSurface to close. */
|
|
221
|
+
type DialogCloseSource = 'close-button' | 'escape' | 'backdrop';
|
|
222
|
+
/** The detail of a DialogSurface's cancelable `kui-request-close` event. */
|
|
223
|
+
interface DialogRequestCloseDetail {
|
|
224
|
+
readonly source: DialogCloseSource;
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Open a DialogSurface as a modal dialog: in the top layer, the rest of the
|
|
228
|
+
* page inert, focus on its `autofocus` element or else the panel. It plays
|
|
229
|
+
* its enter motion and, with the controller installed here, keeps its
|
|
230
|
+
* measured chrome, sheet height, and keyboard clearance across application
|
|
231
|
+
* re-renders. Opening an open dialog does nothing, and so does opening an
|
|
232
|
+
* `embedded` one, which is always shown in flow.
|
|
233
|
+
*/
|
|
234
|
+
declare function openDialog(dialog: HTMLDialogElement): void;
|
|
235
|
+
/**
|
|
236
|
+
* Close an open DialogSurface after its exit motion. The application's own
|
|
237
|
+
* close is never refused: no `kui-request-close` is dispatched. The native
|
|
238
|
+
* `close` event fires once it has closed. An `embedded` one never closes.
|
|
239
|
+
*/
|
|
240
|
+
declare function closeDialog(dialog: HTMLDialogElement): void;
|
|
241
|
+
/**
|
|
242
|
+
* Reconcile one controlled stack after rendering its DialogSurface layers.
|
|
243
|
+
* Opening back-to-front establishes native top-layer order; unchanged layers
|
|
244
|
+
* keep their DOM nodes and focus. The application owns `stack.open` and handles
|
|
245
|
+
* `kui-request-close` to update that state before calling this again.
|
|
246
|
+
*/
|
|
247
|
+
declare function syncDialogStack(root: ParentNode): void;
|
|
248
|
+
/** Follow a controlled stack's render updates until the returned stop runs. */
|
|
249
|
+
declare function wireDialogStack(root: ParentNode): () => void;
|
|
250
|
+
|
|
251
|
+
export { type DialogCloseSource as D, type SurfaceInset as S, type DialogRequestCloseDetail as a, DialogSurface as b, type DialogSurfaceBodyLayout as c, type DialogSurfaceFooterPresentation as d, type DialogSurfaceHeaderPresentation as e, type DialogSurfaceHeight as f, type DialogSurfaceMaxHeight as g, type DialogSurfaceName as h, type DialogSurfaceOptions as i, type DialogSurfacePresentation as j, type DialogSurfaceProps as k, type DialogSurfaceRootAttributes as l, type DialogSurfaceSheetMotion as m, type DialogSurfaceSize as n, closeDialog as o, openDialog as p, type DialogSurfaceCloseEmphasis as q, type DialogSurfaceStack as r, syncDialogStack as s, wireDialogStack as w };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { SafeHtml } from 'kerfjs';
|
|
2
|
+
import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
|
|
3
|
+
import { CssLength } from './css-values.js';
|
|
2
4
|
|
|
3
5
|
type DisclosureDirection = 'up' | 'down' | 'left' | 'right';
|
|
4
6
|
interface DisclosureArrowProps {
|
|
@@ -7,8 +9,15 @@ interface DisclosureArrowProps {
|
|
|
7
9
|
closedDirection?: DisclosureDirection;
|
|
8
10
|
/** Replacement icons should use right as their unrotated orientation. */
|
|
9
11
|
icon?: SafeHtml;
|
|
12
|
+
/** Typed box size for the square visual. Default: `remify(18px)`. */
|
|
13
|
+
size?: CssLength;
|
|
10
14
|
className?: string;
|
|
15
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
16
|
+
slot?: string;
|
|
17
|
+
/** Application `data-*` metadata on the root, such as a row key or an
|
|
18
|
+
* editor node marker; the component's own markers stay protected. */
|
|
19
|
+
rootAttributes?: RootDataAttributes;
|
|
11
20
|
}
|
|
12
|
-
declare function DisclosureArrow({ open, openDirection, closedDirection, icon, className, }: DisclosureArrowProps): SafeHtml;
|
|
21
|
+
declare function DisclosureArrow({ open, openDirection, closedDirection, icon, size, className, slot, rootAttributes, }: DisclosureArrowProps): SafeHtml;
|
|
13
22
|
|
|
14
23
|
export { DisclosureArrow, type DisclosureArrowProps, type DisclosureDirection };
|
package/dist/disclosure-arrow.js
CHANGED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The Disclosure's surface: `plain` (default) on the surrounding surface,
|
|
6
|
+
* `framed` with the standard neutral border, `sunken` on the lowered,
|
|
7
|
+
* textured work surface with a border, or `embedded` inside owner chrome such
|
|
8
|
+
* as a `ContentItem`: no margin, border, or padding of its own and a compact
|
|
9
|
+
* summary row, so the arrow sits on the owner's content inset.
|
|
10
|
+
*/
|
|
11
|
+
type DisclosureAppearance = 'plain' | 'framed' | 'sunken' | 'embedded';
|
|
12
|
+
/**
|
|
13
|
+
* Application `data-*` identity on the `<details>` root, such as `data-key`;
|
|
14
|
+
* the Disclosure's own configuration attributes stay protected.
|
|
15
|
+
*/
|
|
16
|
+
type DisclosureRootAttributes = Readonly<Record<`data-${string}`, string | undefined>>;
|
|
17
|
+
interface DisclosureProps {
|
|
18
|
+
/** The always-visible summary: a short title for the hidden content. */
|
|
19
|
+
title: KerfUiContent | string;
|
|
20
|
+
/** A quiet line after the title in the summary, such as a count. */
|
|
21
|
+
detail?: KerfUiContent | string;
|
|
22
|
+
/** The content shown while open. */
|
|
23
|
+
children: KerfUiContent | string;
|
|
24
|
+
/**
|
|
25
|
+
* Render it open. The open state belongs to the native `<details>` once it
|
|
26
|
+
* is on the page: a person toggles it, a re-render that passes `open` opens
|
|
27
|
+
* it, and a re-render never closes it (kerf's morph leaves a `<details>`
|
|
28
|
+
* element's live `open` alone). Close it from code with `element.open = false`.
|
|
29
|
+
*/
|
|
30
|
+
open?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* An exclusive group: Disclosures sharing a `name` behave as an accordion,
|
|
33
|
+
* where opening one closes the others (the native `<details name>`).
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Surface treatment; defaults to `plain`. Use `embedded` only inside chrome
|
|
38
|
+
* that already owns the content-item inset, such as a `ContentItem`, and
|
|
39
|
+
* give it content that draws no inset of its own (`Text flush`).
|
|
40
|
+
*/
|
|
41
|
+
appearance?: DisclosureAppearance;
|
|
42
|
+
/**
|
|
43
|
+
* A `data-action` value on the `<details>` root, for a delegated listener of
|
|
44
|
+
* the native `toggle` event (it does not bubble: listen in the capture phase,
|
|
45
|
+
* for example with `delegateCapture`). `event.newState` is `open` or `closed`.
|
|
46
|
+
*/
|
|
47
|
+
toggleAction?: string;
|
|
48
|
+
id?: string;
|
|
49
|
+
rootAttributes?: DisclosureRootAttributes;
|
|
50
|
+
className?: string;
|
|
51
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
52
|
+
slot?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Content a person shows and hides under a summary row: a native `<details>`
|
|
56
|
+
* with a `<summary>` that carries a `DisclosureArrow` and the title, on the
|
|
57
|
+
* shared content-item geometry (8px inline margin, a 1px border, 8px
|
|
58
|
+
* padding, the rounded radius). `appearance="embedded"` drops that geometry
|
|
59
|
+
* for a Disclosure inside owner chrome (a `ContentItem`) that already insets
|
|
60
|
+
* it. Keyboard and screen-reader behavior is the
|
|
61
|
+
* platform's: the summary is a button that Enter and Space toggle, and it
|
|
62
|
+
* reports its expanded state. Disclosures sharing a `name` form an accordion.
|
|
63
|
+
*/
|
|
64
|
+
declare function Disclosure({ title, detail, children, open, name, appearance, toggleAction, id, rootAttributes, className, slot, }: DisclosureProps): kerfjs.SafeHtml;
|
|
65
|
+
|
|
66
|
+
export { Disclosure, type DisclosureAppearance, type DisclosureProps, type DisclosureRootAttributes };
|