@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,370 @@
|
|
|
1
|
+
# Kerf UI doctor
|
|
2
|
+
|
|
3
|
+
`kerf-ui-doctor` is the supported repair-loop entry point for a Kerf application. It produces one versioned report from application-profile and catalog validation, TypeScript, the Kerf UI ESLint preset, static layout analysis, and an explicitly enabled browser evaluation.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx kerf-ui-doctor --full
|
|
7
|
+
npx kerf-ui-doctor --changed
|
|
8
|
+
npx kerf-ui-doctor --package @acme/admin --changed
|
|
9
|
+
npx kerf-ui-doctor --full --browser-url http://127.0.0.1:4173
|
|
10
|
+
npx kerf-ui-doctor --full --fail-on warning
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The default terminal output is short and repair-oriented. `--format json` emits the schema-version-1 report; `--output report.json` writes the same representation. The package exports its contract from `@kerfjs/ui/doctor` (see [Node API](#node-api)), its configuration schema from `@kerfjs/ui/doctor/config.schema.json`, and its report schema from `@kerfjs/ui/doctor/report.schema.json`.
|
|
14
|
+
|
|
15
|
+
## CLI options
|
|
16
|
+
|
|
17
|
+
| Option | Meaning |
|
|
18
|
+
| ----------------------- | ------------------------------------------------------------------------------------------------------------- |
|
|
19
|
+
| `--full` | Check the whole selected package. Mutually exclusive with `--changed`. |
|
|
20
|
+
| `--changed` | Check only changed files: `--path` values, or else git's tracked changes against `HEAD` plus untracked files. |
|
|
21
|
+
| `--root <path>` | Workspace root (default: the current directory). |
|
|
22
|
+
| `--package <name/path>` | Select one workspace package by package name or workspace-relative path. |
|
|
23
|
+
| `--path <path>` | Restrict changed mode to this path. Repeatable. |
|
|
24
|
+
| `--config <path>` | Doctor configuration file (default: `.kerf-ui-doctor.json` at the root). |
|
|
25
|
+
| `--browser-url <url>` | Enable the browser evaluation stage against this running application. |
|
|
26
|
+
| `--browser <list>` | Comma-separated engines for the browser stage: `chromium`, `firefox`, `webkit`. Used with `--browser-url`. |
|
|
27
|
+
| `--eslint <preset>` | ESLint preset: `recommended-ui` (default) or `strict-ui`. |
|
|
28
|
+
| `--format <format>` | `text` (default) or `json`. |
|
|
29
|
+
| `--fail-on <severity>` | `error`, `review`, or `warning`; overrides the configuration's `failOn` for this run. |
|
|
30
|
+
| `--output <path>` | Write the report to this file (relative to the root) instead of standard output. |
|
|
31
|
+
| `--no-cache` | Disable the content-addressed cache. |
|
|
32
|
+
| `-h`, `--help` | Print usage and exit 0. |
|
|
33
|
+
|
|
34
|
+
A flag missing its value, an unknown argument, or an invalid choice prints `kerf-ui-doctor: <message>` and exits 2.
|
|
35
|
+
|
|
36
|
+
## Stages and trust boundary
|
|
37
|
+
|
|
38
|
+
The catalog stage discovers the package-default application UI profile and workspace/root-to-leaf directory layers. It validates referenced selection/composition catalogs and, when a workspace declares `package.json#kerfComponentCatalog`, invokes the installed `create-kerf-component` catalog checker to validate metadata, source exports, schema conformance, and generated-output drift. This checker reads source text; it does not import application modules.
|
|
39
|
+
|
|
40
|
+
### Project guidance pointer
|
|
41
|
+
|
|
42
|
+
The catalog stage also reports advisory `KUI-D041` when project instructions exist but none points to the installed UI retrieval order. Put a direct pointer to `.claude/skills/kerf-ui/SKILL.md` (or invoke `$kerf-ui`) in project guidance, or link to `node_modules/@kerfjs/ui/llms.txt`. The skill and `llms.txt` give agents the component selection and reference order before they write UI. A generic mention of `@kerfjs/ui` or `kerf-ui-doctor` does not satisfy this check.
|
|
43
|
+
|
|
44
|
+
The scan reads only `AGENTS.md`, `CLAUDE.md`, and `.github/copilot-instructions.md` at the workspace and selected package roots, plus direct Markdown files in each root's `.cursor/rules/` directory. It does not recurse into source, dependency, or generated directories. If no such instruction file exists, or a file is unreadable, oversized, or the rules directory is unusually large, it makes no claim about the project's guidance and emits no warning. This lexical check cannot prove that an agent will follow the pointer; review the instructions themselves when that matters. Like other warnings, it is advisory under the default `--fail-on error` threshold.
|
|
45
|
+
An installed skill by itself does not clear the warning: project entry guidance still needs to direct readers to it.
|
|
46
|
+
|
|
47
|
+
For `--root <workspace> --package <name>`, the analyzer and ESLint stages use that same workspace root to resolve the root profile, nested directory profiles, catalogs, and workspace-relative exception targets. They inspect only the selected package's source files. Keep a workspace profile at the root with `"scope": "workspace"`; a package-local profile under it uses `"scope": "directory"`. An authored doctor config may live in the package and be passed with `--config` relative to the workspace root.
|
|
48
|
+
|
|
49
|
+
TypeScript uses the compiler API with `noEmit`. ESLint loads the installed `eslint-plugin-kerfjs` `recommended-ui` preset (`--eslint strict-ui` opts into advisory rules as errors). This is deliberately an isolated Kerf lint pass rather than the consumer's complete ESLint configuration. For each file, the doctor projects the applicable core ESLint rules, `languageOptions.globals`, and `linterOptions` from the consumer configuration so `no-undef` recognizes declared globals and core-rule suppression directives retain their used/unused semantics. Consumer plugin rules are not executed, and inline directives for plugins such as `@typescript-eslint` therefore do not produce false "rule definition not found" diagnostics; the consumer's normal ESLint command remains authoritative for those rules. Unknown `kerfjs/*` directives still fail the doctor pass. Stable KUI identifiers come from the packaged `application-ui-diagnostic-ids-v1.json` registry; the doctor also reads installed ESLint message metadata for semantic conflict detection instead of duplicating rule definitions. The analyzer calls the public `@kerfjs/ui/analyzer` contract. None of these stages executes generated application code.
|
|
50
|
+
|
|
51
|
+
Composition findings come from the same catalogs. `KUI-L201`–`KUI-L203`
|
|
52
|
+
report a cataloged component under a disallowed parent, a zone child the zone
|
|
53
|
+
does not accept, and a provable zone cardinality violation. `KUI-L204` reports
|
|
54
|
+
a direct child that brings its own content-item inset (1px border + 8px
|
|
55
|
+
padding) into a parent configured to expect inset-free content, such as a
|
|
56
|
+
block `Text` inside `Disclosure appearance="embedded"`, which double-insets the
|
|
57
|
+
owner chrome; the message names the child's inset-free form (`Text flush`) or
|
|
58
|
+
inline content. Values the rule cannot read statically, such as a spread or an
|
|
59
|
+
expression, are not reported. `KUI-L205` reports a control, link, or component
|
|
60
|
+
that renders one (a `Button`, a `Select`, a `Chip` with `action`) written
|
|
61
|
+
inside a component whose root is a control or link (an actionable `ListItem`, a
|
|
62
|
+
`Button`), whose nested markup the browser would split.
|
|
63
|
+
|
|
64
|
+
Property-specific CSS values are evaluated from each first- or third-party
|
|
65
|
+
catalog entry's `cssValueProps`. `KUI-L013`–`KUI-L016` are blocking grammar
|
|
66
|
+
violations and name a preferred shorthand/helper; `KUI-L017` keeps an
|
|
67
|
+
exceptional but valid spacing choice in the review queue. The ESLint and
|
|
68
|
+
analyzer stages share these ids, messages, and severities, so each finding
|
|
69
|
+
merges into one diagnostic and the normalized report can be consumed as one
|
|
70
|
+
repair loop without tool-specific translations. ESLint has no `review`
|
|
71
|
+
severity: the presets configure `ui-exceptional-shorthands` (`KUI-L017`) as
|
|
72
|
+
`warn`, and the doctor reads an ESLint warning for a code the analyzer
|
|
73
|
+
classifies as `review` as that review finding.
|
|
74
|
+
|
|
75
|
+
The analyzer stage also reads consumer stylesheets for theme overrides:
|
|
76
|
+
`KUI-L018` is a review finding for a `--wa-color-{tone}-fill-loud` override
|
|
77
|
+
that lacks a governing `--wa-color-{tone}-on-loud` (in the same or an ancestor
|
|
78
|
+
scope, in any stylesheet the same entry loads), or whose literal pair measures
|
|
79
|
+
below 4.5:1 (see [the analyzer rule](./ui-analyzer.md#loud-fill--on-loud-pairing-kui-l018)).
|
|
80
|
+
|
|
81
|
+
Component ownership is part of the same loop. The analyzer stage reports
|
|
82
|
+
application or third-party CSS that restyles another package's component
|
|
83
|
+
(`KUI-L019`), touches its private `--_*` variables (`KUI-L020`), overrides a
|
|
84
|
+
token a typed prop sets (`KUI-L021`), or styles it through a hook class on its
|
|
85
|
+
root (`KUI-L022`), including components nested in JSX prop values and hooks
|
|
86
|
+
owned by the surrounding application. It also reports source modules that render another
|
|
87
|
+
component's public classes as their own markup (`KUI-L023`), including raw HTML
|
|
88
|
+
and DOM class writes. Raw HTML checks include complete static class tokens in
|
|
89
|
+
interpolated template literals. `KUI-L023` skips `*.test.*`, `*.spec.*`, and `__tests__/`
|
|
90
|
+
modules so output assertions are not mistaken for rendered markup. The ESLint
|
|
91
|
+
stage's `ui-component-ownership` rule reports
|
|
92
|
+
`KUI-L020` / `KUI-L021` in script. Each finding's `action` points at the
|
|
93
|
+
component's configuration, and its message routes a need with no prop to a
|
|
94
|
+
component-gap report instead of an override (see
|
|
95
|
+
[the analyzer rule](./ui-analyzer.md#component-ownership-kui-l019kui-l023)).
|
|
96
|
+
In component mode, `KUI-L019` also follows an owned wrapper to a composed
|
|
97
|
+
child's cataloged root and descendant element types. For example, a wrapper
|
|
98
|
+
around `LucideIcon` cannot size its `svg` or `path` with an element selector;
|
|
99
|
+
use the icon's props or style an app-owned element. The same check follows
|
|
100
|
+
local function components returned from the owner module and treats their
|
|
101
|
+
intrinsic markup as app-owned.
|
|
102
|
+
Unknown custom `IconNode` tags are identified when a selector explicitly
|
|
103
|
+
passes through the icon's `svg[data-lucide]` root; unrelated HTML descendants
|
|
104
|
+
without that marker remain app-owned.
|
|
105
|
+
The analyzer resolves a cataloged application component imported through an
|
|
106
|
+
exact or wildcard TypeScript `paths` alias from the nearest consumer tsconfig,
|
|
107
|
+
so the same root hook-class check applies in those files.
|
|
108
|
+
|
|
109
|
+
## Component style naming
|
|
110
|
+
|
|
111
|
+
The analyzer stage also checks colocated JSX/TSX components and stylesheets.
|
|
112
|
+
When a stylesheet has a same-basename component module, or exactly one
|
|
113
|
+
component module imports it, Doctor checks that the stylesheet filename is
|
|
114
|
+
the component's kebab-case name (`KUI-D031`). A component whose returned root
|
|
115
|
+
is its own HTML element must put that kebab-case class on rendered markup
|
|
116
|
+
(`KUI-D030`). Static base tokens in template, concatenated, and conditional
|
|
117
|
+
class expressions count only when every path contains the token.
|
|
118
|
+
An opaque class expression stays unclassified instead of producing a missing
|
|
119
|
+
root-class error.
|
|
120
|
+
For example, `WorkspaceHeader` pairs with `workspace-header.css` and renders
|
|
121
|
+
`.workspace-header`. A local composition catalog can explicitly declare a
|
|
122
|
+
different `boundaries.rootClass` or `publicClasses` and list its stylesheet
|
|
123
|
+
under the selection entry's `styleSources`; Doctor honors that declared alias
|
|
124
|
+
for both checks. The catalog stage remains responsible for validating the
|
|
125
|
+
metadata. Thin components that return another component need no root class,
|
|
126
|
+
even when they render nested HTML as children. Helpers declared in the same
|
|
127
|
+
module share that module's CSS ownership; a module exporting several visual
|
|
128
|
+
components can use a shared stylesheet name. Shared stylesheets declared in
|
|
129
|
+
`ownershipGroups` are exempt from the naming check.
|
|
130
|
+
|
|
131
|
+
Doctor reports `KUI-D032` when a paired stylesheet selects another module's
|
|
132
|
+
local component class or its BEM descendants or modifiers. Move that
|
|
133
|
+
rule to the owning component's stylesheet or use the component's public
|
|
134
|
+
configuration. This check uses source declarations and CSS selectors; it does
|
|
135
|
+
not execute component code. In changed mode, it reads other component sources
|
|
136
|
+
to resolve ownership but reports only pairs containing a selected path. For
|
|
137
|
+
broader cross-component ownership, including
|
|
138
|
+
cataloged package components and hook classes, enable `ownership: "component"`
|
|
139
|
+
with `implicitComponentOwnership: true` as described above.
|
|
140
|
+
|
|
141
|
+
Set `"ownership": "component"` in `.kerf-ui-doctor.json` to enforce the same
|
|
142
|
+
boundary between a consumer package's own cataloged components. The default is
|
|
143
|
+
`"package"`. Selection-only entries participate too. A component owns its
|
|
144
|
+
`styleSources` (relative to its package root), or its direct relative CSS
|
|
145
|
+
imports when that list is absent, and its selection catalog `source` module.
|
|
146
|
+
Literal rendered BEM classes are inferred when those stylesheets style their
|
|
147
|
+
block. An owned root or styled literal owns its whole `block__*` and `block--*`
|
|
148
|
+
family, including dynamic names and classes placed on imported components.
|
|
149
|
+
Modules sharing one of those stylesheets co-own its classes, so their
|
|
150
|
+
own markup does not borrow from one another. A class inferred by several
|
|
151
|
+
co-owners has no arbitrary single owner for CSS subject diagnostics. A
|
|
152
|
+
stylesheet foreign to all co-owners receives one `KUI-L019` per subject rule,
|
|
153
|
+
including dynamic BEM modifiers; `evidence.components` names the co-owner set.
|
|
154
|
+
Set `"implicitComponentOwnership": true` to include uncataloged modules
|
|
155
|
+
that directly import CSS. Component mode reports sibling CSS and hook-class
|
|
156
|
+
restyles while allowing a component's own stylesheet and module.
|
|
157
|
+
For an application with reusable or app-level components, the recommended
|
|
158
|
+
policy is `"ownership": "component"`, `"implicitComponentOwnership": true`,
|
|
159
|
+
and `"ownershipContext": "any-package"`. This lets components style raw HTML
|
|
160
|
+
and Web Awesome elements they own while blocking overrides of nested Kerf and
|
|
161
|
+
application components. Thin glue compositions should normally omit CSS; when
|
|
162
|
+
they own wrapper markup or layout, Doctor permits that own CSS and reports any
|
|
163
|
+
selector that crosses into a child component.
|
|
164
|
+
For an entry stylesheet shared by modules without direct CSS imports, configure
|
|
165
|
+
`"ownershipGroups": [{ "styleSources": ["src/style.css"], "sources": ["src/main.tsx", "src/app/"] }]`.
|
|
166
|
+
These package-relative paths define one owner: its stylesheet and every listed
|
|
167
|
+
source file or directory prefix. Doctor reports sibling CSS restyles and markup
|
|
168
|
+
class use as `KUI-L019` and `KUI-L023`. Source paths ending in `/` match a
|
|
169
|
+
directory subtree; other paths match exactly. When implicit ownership is also
|
|
170
|
+
enabled, the group takes precedence over listed source modules and any direct
|
|
171
|
+
import of its stylesheet. An unrelated importer still borrows the group's
|
|
172
|
+
classes; its other stylesheets can retain their own implicit ownership.
|
|
173
|
+
|
|
174
|
+
Set `"ownershipContext": "any"` to also report a same-package sibling's class
|
|
175
|
+
used as ancestor or sibling context or within `:has()`, `:is()`, `:where()`, or
|
|
176
|
+
`:not()`. The default `"subject"` keeps subject-only context policy; classes
|
|
177
|
+
from another package may still provide context. Set
|
|
178
|
+
`"ownershipContext": "any-package"` to include cross-package component
|
|
179
|
+
classes and `[data-component]` roots in the same selector-context checks.
|
|
180
|
+
|
|
181
|
+
The browser evaluator is different: it runs the application and is disabled by default. It only runs when configuration supplies `browser.url` or the command receives `--browser-url`. Start and authorize the target application separately.
|
|
182
|
+
|
|
183
|
+
An unavailable or failed stage does not prevent independent stages from reporting. Its final exit is still a configuration failure, so a partial run cannot appear clean.
|
|
184
|
+
|
|
185
|
+
## Interface copy capitalization
|
|
186
|
+
|
|
187
|
+
The analyzer stage also checks visible label copy against the package
|
|
188
|
+
capitalization rule in [Writing interface copy](./writing.md#capitalization).
|
|
189
|
+
Names of commands, controls, views, and fields use title style, following
|
|
190
|
+
Apple's guidance. `KUI-D040` (warning) reports a string or template literal
|
|
191
|
+
passed to a known title-style prop that leaves a word lowercase where title style
|
|
192
|
+
capitalizes it. For example, `<Button>Save draft</Button>` should be
|
|
193
|
+
"Save Draft", and `<ListHeader label="Needs attention" />` should be "Needs
|
|
194
|
+
Attention". The action names the repaired label.
|
|
195
|
+
|
|
196
|
+
The check reads `.tsx` and `.jsx` source text only and skips test modules.
|
|
197
|
+
Fixture components that tests render (for example
|
|
198
|
+
`tests/browser/fixtures/*.tsx`) are not test modules and are checked: they
|
|
199
|
+
stand in for application screens, so their copy follows the same rule. It
|
|
200
|
+
covers these string literals:
|
|
201
|
+
|
|
202
|
+
- `ToolbarText` titles: text with `headingLevel`, a large size, or in a
|
|
203
|
+
toolbar or panel `title`, `header`, or (unless small) `leading` slot;
|
|
204
|
+
- `ListHeader`, `ListActionRow`, `SplitButton`, and `Combobox` labels;
|
|
205
|
+
- `CatalogExample` and `CatalogExampleStack` labels, which render as a
|
|
206
|
+
`ListHeader` heading (their `note` stays sentence style and is not read);
|
|
207
|
+
- `EmptyState` and `StateBanner` titles;
|
|
208
|
+
- `PopupMenu` trigger text and item and heading labels, including submenus
|
|
209
|
+
declared in the same file;
|
|
210
|
+
- `SegmentedControl`, `Select`, and `TabNavigator` choice and tab labels;
|
|
211
|
+
- `NavStack` view titles and `backText`, and `SplitView` `backLabel`;
|
|
212
|
+
- `FieldLabel` text and the static text of a `Button`, `button`, or
|
|
213
|
+
`wa-button`;
|
|
214
|
+
- the `name` of a panel toolbar's `toggle: { action, name }` object literal
|
|
215
|
+
(Workbench panels, `CollapsiblePanel`), which names the toggle group and
|
|
216
|
+
completes its "Show …" / "Hide …" label;
|
|
217
|
+
- region and landmark names: the `label` of `Pane`, `Workbench`, `Toolbar`,
|
|
218
|
+
`ToolbarControlGroup`, `TabBar`, `NavStack`, `CollapsiblePanel`,
|
|
219
|
+
`FloatingToolbar`, and `ResizableRegion`; the `ariaLabel` of `SunkenPanel`
|
|
220
|
+
and `List`; a `Pane`'s `contentLabel`; the panel, toolbar, and pane labels
|
|
221
|
+
in `Workbench` (`leftRail`, `rightRail`, `bottomDrawer`, `mainToolbar`,
|
|
222
|
+
`mainBottomToolbar`, `mainPane`), `CollapsiblePanel` (`toolbar`,
|
|
223
|
+
`bottomToolbar`, `pane`), and `NavStack` (`views`, `bottomToolbar`)
|
|
224
|
+
configuration declared in the same file; and the `aria-label` of a
|
|
225
|
+
`section`, `nav`, `aside`, `main`, `header`, `footer`, `form`, or `search`
|
|
226
|
+
element or an element with a landmark `role`;
|
|
227
|
+
- field and group labels: the `label` and `ariaLabel` of `TextField`,
|
|
228
|
+
`Select`, `CheckboxGroup`, and `RadioGroup`, and the `label` of a raw
|
|
229
|
+
`wa-input`, `wa-select`, `wa-textarea`, `wa-checkbox-group`, or
|
|
230
|
+
`wa-radio-group` in an application using the optional Web Awesome
|
|
231
|
+
integration;
|
|
232
|
+
- the accessible names of icon-only controls, which the rule also gives title
|
|
233
|
+
style: an icon-only `Button`'s `ariaLabel`, `PopupMenu` `label`,
|
|
234
|
+
`SplitButton` `optionsLabel`, `SearchField` and `TextField`
|
|
235
|
+
`clearLabel`, and the
|
|
236
|
+
`aria-label` of a `button` or `wa-button` whose only content is an icon. A
|
|
237
|
+
button with visible text is judged by that text, never by its `aria-label`.
|
|
238
|
+
|
|
239
|
+
The check is deliberately one-directional, to keep false positives rare:
|
|
240
|
+
|
|
241
|
+
- It reports only lowercase words. It never reports a capitalized short word,
|
|
242
|
+
because Apple capitalizes a phrasal verb's particle ("Log In to the
|
|
243
|
+
Server").
|
|
244
|
+
- It leaves text ending in `.`, `!`, or `?` to sentence style.
|
|
245
|
+
- It judges only a template literal's static words, so
|
|
246
|
+
`` `Edit ${name} shortcut` `` is reported and the interpolated value never
|
|
247
|
+
is. A word joined to an interpolation (`` `${count}s` ``) is skipped.
|
|
248
|
+
- It ignores other dynamic values and every sentence-style surface: descriptions,
|
|
249
|
+
details, placeholders, tooltips, status text, and option text, including
|
|
250
|
+
`Checkbox` and `Switch` labels, `CheckboxGroup` and `RadioGroup` choice
|
|
251
|
+
labels, and
|
|
252
|
+
`wa-checkbox`, `wa-switch`, and `wa-radio` labels. It does not read
|
|
253
|
+
`LoadingSpinner` or `Skeleton` labels, which announce a status.
|
|
254
|
+
- It skips tokens containing digits, code, paths, or URLs, and lowercase-led
|
|
255
|
+
brands such as iOS and macOS.
|
|
256
|
+
- It keeps a minor word inside a longer hyphenated compound lowercase, as
|
|
257
|
+
between separate words ("Edge-to-Edge", "Up-to-Date").
|
|
258
|
+
- It does not read `ContentItem` `title`, which is a native tooltip.
|
|
259
|
+
|
|
260
|
+
Suppress `KUI-D040` for a file whose copy is a lowercase brand or product
|
|
261
|
+
name.
|
|
262
|
+
|
|
263
|
+
## Full and changed modes
|
|
264
|
+
|
|
265
|
+
`--full` is the default and analyzes the selected package. `--changed` reads tracked and untracked paths from Git unless one or more `--path` values are supplied. An empty changed set is a configuration error instead of a false-clean success. With `--package`, workspace-relative Git paths are converted to package-relative paths before TypeScript, ESLint, and analyzer selection; paths outside the selected package are ignored.
|
|
266
|
+
|
|
267
|
+
Full traversal treats generated/tool-owned directories (`dist`, `coverage`,
|
|
268
|
+
`node_modules`, `.git`, `.kerf-cache`, `kerf-ui-evidence`, Playwright's
|
|
269
|
+
`playwright-report`, `test-results`, and `blob-report`, and nested
|
|
270
|
+
`.claude/worktrees` checkouts) as outside application source. Inside a Git work
|
|
271
|
+
tree it also skips every path the project's ignore rules (`.gitignore`,
|
|
272
|
+
`.git/info/exclude`, and the global excludes file) ignore, so a local test run
|
|
273
|
+
that writes gitignored reports or caches never changes the doctor result.
|
|
274
|
+
These files are excluded consistently from TypeScript, the isolated ESLint
|
|
275
|
+
pass, analyzer discovery, and cache inputs, even when one lives below another
|
|
276
|
+
application directory; a `.gitignore` change invalidates the cache.
|
|
277
|
+
|
|
278
|
+
TypeScript constructs the selected package's program so compiler options retain their real meaning. In changed mode, its root inputs are narrowed to changed source files plus the tsconfig's declaration roots, so ambient globals still participate; reported source diagnostics stay scoped to the changed files. Use `--full` for release gates.
|
|
279
|
+
|
|
280
|
+
## Configuration and suppressions
|
|
281
|
+
|
|
282
|
+
Place `.kerf-ui-doctor.json` at the workspace root:
|
|
283
|
+
|
|
284
|
+
```json
|
|
285
|
+
{
|
|
286
|
+
"$schema": "./node_modules/@kerfjs/ui/doctor/config.schema.json",
|
|
287
|
+
"schemaVersion": 1,
|
|
288
|
+
"mode": "full",
|
|
289
|
+
"ownership": "component",
|
|
290
|
+
"ownershipContext": "any-package",
|
|
291
|
+
"implicitComponentOwnership": true,
|
|
292
|
+
"stages": { "browser": false },
|
|
293
|
+
"cache": true,
|
|
294
|
+
"failOn": "warning",
|
|
295
|
+
"suppressions": [
|
|
296
|
+
{
|
|
297
|
+
"id": "legacy-toolbar",
|
|
298
|
+
"rules": ["KUI-L006"],
|
|
299
|
+
"target": "src/legacy-toolbar.css",
|
|
300
|
+
"rationale": "Removed with the toolbar migration in the next release."
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
A suppression requires a stable id, one or more exact diagnostic ids, an exact portable source path or browser selector, and a substantive rationale. Wildcards, absolute paths, and parent traversal are rejected. Suppressed diagnostics remain in `report.suppressions` with their rationale and do not affect the exit code.
|
|
307
|
+
|
|
308
|
+
KUI suppression ids are checked against the analyzer, evaluator, doctor, installed ESLint-rule metadata, and diagnostics emitted by available tools. An unknown or stale id is a configuration error rather than a silent no-op. TypeScript `TS####` and namespaced `eslint:*` ids remain valid even when that particular run does not emit them.
|
|
309
|
+
|
|
310
|
+
### Component gaps and exception budgets
|
|
311
|
+
|
|
312
|
+
When a needed appearance or behavior cannot be expressed through a Kerf component's public props, slots, or documented composition, first check the current component reference and selection guide. If the capability is still missing, record a component-gap request upstream with the task, affected component, desired public contract, and a small reproduction. Link that request from the application task. Do not bypass the component with a local CSS selector, private token, raw discouraged element, or a diagnostic suppression. Keep the application task blocked on the upstream capability and ask the maintainer for a decision if timing or design must change. This applies even when a visual request comes directly from a maintainer; the missing package capability remains a separate decision.
|
|
313
|
+
|
|
314
|
+
Projects using Hot Sheet can create the upstream request in the Kerf store, for example:
|
|
315
|
+
|
|
316
|
+
```sh
|
|
317
|
+
hotsheet-cli -C <kerf-store> new --category feature \
|
|
318
|
+
--title 'Expose <capability> on <component>' \
|
|
319
|
+
--details '<use case, current limitation, proposed public contract, reproduction>'
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
When the Kerf capability ships, upgrade in [lockstep](./upgrading.md), remove the local workaround or exception, and close the linked application task against the public API. If a project deliberately chooses a different design, document that project-level convention and give any necessary profile exception an exact target, rationale, owner, and removal condition. An exception documents a reviewed deviation; it does not turn a component gap into a supported API.
|
|
323
|
+
|
|
324
|
+
Keep the doctor at `"failOn": "warning"` for a zero-warning gate. Treat suppressions, profile exceptions, and any accepted warning or review count as a **shrinking budget**: each cleanup should reduce them; an upgrade should never expand them. Review any proposed replacement explicitly, keep it source-located and temporary, and remove stale entries as soon as the public capability or code change makes them unnecessary. If a new finding cannot be repaired within the existing budget, keep the application task blocked for a maintainer decision. A green doctor report with suppressed findings is not a zero-debt report.
|
|
325
|
+
|
|
326
|
+
The content-addressed cache lives at `.kerf-cache/ui-doctor-v1.json`. Its key covers selected source/config/catalog JSON, package manifests, root and package lockfiles, mode, paths, and configuration. Browser results are never cached. Use `--no-cache` when investigating tool installation changes not yet reflected in a lockfile.
|
|
327
|
+
|
|
328
|
+
Reports replace the workspace's absolute path with `<repo-root>` and express in-workspace files as portable relative paths. External paths are reduced to `<external>/<basename>`. URLs are excluded from the cache key. Tool messages and evidence receive the same root redaction before output or caching.
|
|
329
|
+
|
|
330
|
+
## Report and exit contract
|
|
331
|
+
|
|
332
|
+
Every diagnostic has a stable `id`, `severity`, `stage`, message, and—when applicable—an exact source location with JSON path or DOM context/selector. Analyzer evidence, catalog facts, documentation links, and safe next actions are preserved when the source tool provides them. Identical findings merge with their source stages; same identifiers with conflicting severities remain separate and add `KUI-D003`.
|
|
333
|
+
|
|
334
|
+
Exit codes are deterministic. `failOn` defaults to `error`; `--fail-on error|review|warning` overrides the config for a run. `review` fails on errors or review findings; `warning` also fails on warnings. Suppressed diagnostics never count. The effective threshold is part of the cache key.
|
|
335
|
+
|
|
336
|
+
- `0`: no active diagnostics at or above the selected threshold;
|
|
337
|
+
- `1`: repairable application findings;
|
|
338
|
+
- `2`: malformed configuration, unavailable required tooling, or a failed stage;
|
|
339
|
+
- `130`: cancellation.
|
|
340
|
+
|
|
341
|
+
Warnings and review findings remain visible at every threshold. A cached report keeps its original exit code and labels previously run stages `cached`.
|
|
342
|
+
|
|
343
|
+
## Node API
|
|
344
|
+
|
|
345
|
+
`@kerfjs/ui/doctor` exports the same pipeline the CLI runs (types ship in `doctor/index.d.mts`):
|
|
346
|
+
|
|
347
|
+
| Export | Purpose |
|
|
348
|
+
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
349
|
+
| `runUiDoctor(options?)` | Runs every stage and resolves to the report. Options mirror the CLI: `root`, `package`, `mode` (`'full'` or `'changed'`), `paths`, `config` (an inline config object) or `configPath`, `cache`, `failOn`, `eslintConfig`, `browser` (`{ url, browsers }`), and an `AbortSignal` as `signal`. |
|
|
350
|
+
| `readUiDoctorConfig(root, path?)` | Reads and validates a configuration file (default `<root>/.kerf-ui-doctor.json`); resolves to `{ path, config, diagnostics }`. A missing file yields the default `{ schemaVersion: 1 }`. |
|
|
351
|
+
| `validateUiDoctorConfig(config, source?)` | Validates a configuration object; returns doctor diagnostics, empty when valid. |
|
|
352
|
+
| `resolveUiDoctorPackage(root, selector?)` | Resolves a workspace package name or workspace-relative path to its directory (the root when no selector); rejects when no package matches. |
|
|
353
|
+
| `formatUiDoctorText(report)` | Renders a report as the CLI's terminal text. |
|
|
354
|
+
| `UI_DOCTOR_EXIT` | The exit codes: `{ clean: 0, findings: 1, configuration: 2, cancelled: 130 }`. `report.exitCode` is one of them. |
|
|
355
|
+
| `UI_DOCTOR_RULES` | The doctor's own `KUI-D###` rules: `{ severity, title }` by id. |
|
|
356
|
+
| `UI_DOCTOR_SCHEMA_VERSION` | The report schema version (`1`). |
|
|
357
|
+
|
|
358
|
+
```js
|
|
359
|
+
import { formatUiDoctorText, runUiDoctor } from '@kerfjs/ui/doctor';
|
|
360
|
+
|
|
361
|
+
const report = await runUiDoctor({ root: process.cwd(), mode: 'changed' });
|
|
362
|
+
console.log(formatUiDoctorText(report));
|
|
363
|
+
process.exitCode = report.exitCode;
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
## Monorepos and repair loops
|
|
367
|
+
|
|
368
|
+
`--package` accepts either a workspace package name or a workspace-relative package path. The doctor uses the selected package for compiler, lint, profile-discovery start, and analyzer scope, while workspace profile precedence and root lockfiles remain authoritative.
|
|
369
|
+
|
|
370
|
+
A repair agent should run JSON mode, apply only source-located safe changes, and rerun until exit `0`. Do not treat exit `2`, a skipped required stage, or an empty changed selection as clean. Browser evidence is objective input; the evaluator's named subjective rubric still requires human review.
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
# Browser UI quality evaluator
|
|
2
|
+
|
|
3
|
+
`kerf-ui-evaluate` is the runtime half of Kerf's UI integration checks. The
|
|
4
|
+
static [`kerf-ui-analyze`](./ui-analyzer.md) command finds source-level ownership
|
|
5
|
+
mistakes; this Playwright-backed evaluator loads a running application and
|
|
6
|
+
records what a browser can establish about the rendered result.
|
|
7
|
+
|
|
8
|
+
Install Playwright beside `@kerfjs/ui` and install its browsers in CI:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install --save-dev playwright
|
|
12
|
+
npx playwright install --with-deps chromium firefox webkit
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Start the application separately, then evaluate its URL from the project root:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npx kerf-ui-evaluate \
|
|
19
|
+
--url http://127.0.0.1:4173 \
|
|
20
|
+
--root . \
|
|
21
|
+
--output artifacts/kerf-ui
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The command discovers and resolves the same `.kerf-ui-profile.json` layers as
|
|
25
|
+
the static analyzer. By default it runs Chromium, Firefox, and WebKit through
|
|
26
|
+
six contexts: wide, intermediate, narrow, a half-width CSS viewport representing
|
|
27
|
+
200% browser zoom, dark color scheme, and reduced motion. Use
|
|
28
|
+
`--browser chromium` for a fast local loop; keep all three engines in CI.
|
|
29
|
+
|
|
30
|
+
## CLI options
|
|
31
|
+
|
|
32
|
+
| Option | Meaning |
|
|
33
|
+
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
34
|
+
| `--url <url>` | The running application to evaluate (required). |
|
|
35
|
+
| `--root <path>` | Workspace root (default: the current directory). Other paths resolve against it. |
|
|
36
|
+
| `--start <path>` | Directory where profile discovery starts (default: the root), for one application in a monorepo. |
|
|
37
|
+
| `--profile <path>` | Use this profile in place of the package-default application UI profile Kerf ships. |
|
|
38
|
+
| `--browser <list>` | Comma-separated engines: `chromium`, `firefox`, `webkit` (default: all three). |
|
|
39
|
+
| `--output <directory>` | Evidence directory (default: `kerf-ui-evidence`). |
|
|
40
|
+
| `--report <path>` | Report JSON path (default: `<output>/report.json`). |
|
|
41
|
+
| `--timeout <ms>` | Per-operation timeout (default: `15000`). |
|
|
42
|
+
| `--settle <ms>` | Post-navigation settle delay (default: `100`). |
|
|
43
|
+
| `--retention <policy>` | Screenshot retention: `on-failure` (default), `always`, or `never` (see [Report and artifacts](#report-and-artifacts)). |
|
|
44
|
+
| `--format <format>` | Terminal output: `text` (default) or `json` (the full report). The report file is written either way. |
|
|
45
|
+
| `--no-fail` | Exit 0 even when objective diagnostics fail, for evidence-collection jobs. |
|
|
46
|
+
| `-h`, `--help` | Print usage and exit 0. |
|
|
47
|
+
|
|
48
|
+
The command prints the report path on standard error. A flag missing its
|
|
49
|
+
value, an unknown argument, or an invalid number prints
|
|
50
|
+
`kerf-ui-evaluate: <message>` and exits 2.
|
|
51
|
+
|
|
52
|
+
## Objective checks
|
|
53
|
+
|
|
54
|
+
The versioned JSON report uses stable `KUI-B###` codes and includes the context,
|
|
55
|
+
selector, measured evidence, and a repair-oriented message for each finding.
|
|
56
|
+
|
|
57
|
+
| Code | Browser fact |
|
|
58
|
+
| ---------- | -------------------------------------------------------------------------------- |
|
|
59
|
+
| `KUI-B001` | Navigation, timeout, or browser-context failure |
|
|
60
|
+
| `KUI-B010` | Horizontal page overflow |
|
|
61
|
+
| `KUI-B011` | Interactive content clipped by a hidden/clip owner or entirely off viewport |
|
|
62
|
+
| `KUI-B012` | An in-viewport action covered at its center point |
|
|
63
|
+
| `KUI-B020` | Positive `tabindex` overriding DOM focus order |
|
|
64
|
+
| `KUI-B021` | Stable per-element focus reaches an invisible control or causes no visual change |
|
|
65
|
+
| `KUI-B022` | Any ARIA widget role is absent from sequential keyboard order |
|
|
66
|
+
| `KUI-B023` | A representative action does not activate with Enter |
|
|
67
|
+
| `KUI-B030` | An interactive control has no text alternative |
|
|
68
|
+
| `KUI-B040` | Alpha-composited interactive text is below its WCAG AA contrast threshold |
|
|
69
|
+
| `KUI-B050` | A button-like target is smaller than 44 × 44 CSS pixels |
|
|
70
|
+
| `KUI-B060` | A pane or declared scroll scope has multiple active scroll owners |
|
|
71
|
+
| `KUI-B070` | Elements in an explicitly declared alignment group drift by more than one pixel |
|
|
72
|
+
| `KUI-B080` | A cataloged root computes geometry assigned to `none`, `parent`, or `child` |
|
|
73
|
+
|
|
74
|
+
For a representative application action that must be operated in the generic
|
|
75
|
+
evaluation, add `data-kui-evaluator-action` to its owning native control or
|
|
76
|
+
keyboard-operable custom control. The evaluator focuses it, presses Enter, and
|
|
77
|
+
accepts a click event or controlled `aria-expanded`, `aria-pressed`,
|
|
78
|
+
`aria-checked`, or `value` transition as evidence. This attribute is test
|
|
79
|
+
instrumentation, not an application event hook.
|
|
80
|
+
|
|
81
|
+
Alignment checks are similarly explicit: put `data-kui-align-group` on the
|
|
82
|
+
shared container and `data-kui-align-edge` on two or more elements whose logical
|
|
83
|
+
start edges must align. Use `data-kui-scroll-scope` only for an application-owned
|
|
84
|
+
scope that is not a `.kui-pane`.
|
|
85
|
+
|
|
86
|
+
Target size (`KUI-B050`) measures the area the pointer can actually reach, not
|
|
87
|
+
just the border box. When a control's box is under 44 × 44, the evaluator
|
|
88
|
+
hit-tests outward from its center with `elementFromPoint`, so a transparent hit
|
|
89
|
+
layer (a positioned `::before`/`::after` that receives pointer events, as on the
|
|
90
|
+
`ListHeader` action) counts toward the target, while a pseudo-element with
|
|
91
|
+
`pointer-events: none`, a clipping ancestor, or an overlapping neighbor does
|
|
92
|
+
not. Where the probe reaches the viewport edge it mirrors the opposite side's
|
|
93
|
+
reach; a control whose center is off-screen or covered keeps its border box.
|
|
94
|
+
The diagnostic evidence reports the measured `width`/`height` and the border
|
|
95
|
+
`box`.
|
|
96
|
+
|
|
97
|
+
Compact density is a documented exception. Inside `[data-density="compact"]` —
|
|
98
|
+
the compact `List`/`ListHeader` family, whose rows are 36px tall — a target
|
|
99
|
+
still needs the full 44px width but only the 36px row height, because a taller
|
|
100
|
+
hit layer would reach into the neighboring row. The evidence's `required` field
|
|
101
|
+
names the floor that applied (`44×44`, or `44×36` in compact density).
|
|
102
|
+
|
|
103
|
+
Accessible names follow ARIA/native naming inputs, including labels, referenced
|
|
104
|
+
content with `aria-hidden` descendants removed, and native input values.
|
|
105
|
+
Geometry checks use each catalog entry's explicit `boundaries.rootClass`; the
|
|
106
|
+
order of `publicClasses` has no runtime meaning.
|
|
107
|
+
|
|
108
|
+
Profile exceptions apply only when both the `KUI-B###` rule and `target` match
|
|
109
|
+
exactly. For the browser evaluator, `target` is the evaluated `startDirectory`
|
|
110
|
+
relative to `workspaceRoot` (for example `apps/settings`); wildcards and broad
|
|
111
|
+
workspace targets remain invalid.
|
|
112
|
+
|
|
113
|
+
## Report and artifacts
|
|
114
|
+
|
|
115
|
+
The public Node API is available at `@kerfjs/ui/evaluator`:
|
|
116
|
+
|
|
117
|
+
```js
|
|
118
|
+
import { evaluateUi } from '@kerfjs/ui/evaluator';
|
|
119
|
+
|
|
120
|
+
const abortController = new AbortController();
|
|
121
|
+
const report = await evaluateUi({
|
|
122
|
+
url: 'http://127.0.0.1:4173',
|
|
123
|
+
workspaceRoot: process.cwd(),
|
|
124
|
+
retention: 'on-failure',
|
|
125
|
+
signal: abortController.signal,
|
|
126
|
+
});
|
|
127
|
+
if (!report.summary.passed) process.exitCode = 1;
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
The default output is `kerf-ui-evidence/report.json`; its schema ships at
|
|
131
|
+
`@kerfjs/ui/evaluator/report.schema.json`. Every retained screenshot has a
|
|
132
|
+
SHA-256 digest. Retention is deterministic:
|
|
133
|
+
|
|
134
|
+
- `on-failure` (default) removes current and stale evaluator screenshots when
|
|
135
|
+
every objective check passes;
|
|
136
|
+
- `always` retains one full-page PNG per browser/context;
|
|
137
|
+
- `never` removes current and stale evaluator screenshots and writes only the
|
|
138
|
+
focused DOM/computed-style evidence in the report.
|
|
139
|
+
|
|
140
|
+
`--timeout` bounds navigation and browser operations, while `--settle` provides
|
|
141
|
+
one small explicit post-navigation delay for applications with asynchronous
|
|
142
|
+
startup. A timeout becomes `KUI-B001` evidence rather than an unstructured crash.
|
|
143
|
+
A screenshot that cannot be captured is its own `KUI-B001` diagnostic; the
|
|
144
|
+
context's other checks and evidence are still reported.
|
|
145
|
+
The Node API accepts an `AbortSignal`; cancellation closes the active browser,
|
|
146
|
+
removes screenshots from the interrupted run, does not write a partial report,
|
|
147
|
+
and rejects with `AbortError`.
|
|
148
|
+
The CLI exits `1` for objective failures, `2` for invocation/profile errors, and
|
|
149
|
+
`0` for a pass; `--no-fail` is available only for evidence-collection jobs.
|
|
150
|
+
|
|
151
|
+
The rest of `@kerfjs/ui/evaluator` (types ship in `evaluator/index.d.mts`):
|
|
152
|
+
|
|
153
|
+
| Export | Purpose |
|
|
154
|
+
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
155
|
+
| `evaluateUi(options)` | Runs the evaluation above. Beyond the CLI's options it accepts `contexts` (a custom matrix), `recordedAt`, a preloaded `playwright` module, and `signal`. |
|
|
156
|
+
| `formatUiEvaluationText(report)` | Renders a report as the CLI's terminal text. |
|
|
157
|
+
| `buildEvaluationContexts(overrides?)` | Returns the default six-context matrix, or normalizes custom contexts (filling `reducedMotion`) for `evaluateUi`'s `contexts`. |
|
|
158
|
+
| `contrastRatio(foreground, background)` | The WCAG contrast ratio of two CSS colors or RGB(A) arrays, compositing a translucent foreground over the background; `null` when a color cannot be parsed. |
|
|
159
|
+
| `createEvaluationReport(options)` | Assembles a schema-version-1 report from `target`, `profileFiles`, `contexts`, `diagnostics`, `artifacts`, `recordedAt`, and `retention`, with its summary and unrecorded subjective review. |
|
|
160
|
+
| `SUBJECTIVE_REVIEW_RUBRIC` | The named human-review rubric (`{ id, prompt }`) every report carries; see below. |
|
|
161
|
+
| `UI_EVALUATION_RULES` | Every `KUI-B###` rule: `{ severity, title }` by id. |
|
|
162
|
+
| `UI_EVALUATION_SCHEMA_VERSION` | The report schema version (`1`). |
|
|
163
|
+
|
|
164
|
+
## Human visual review stays human
|
|
165
|
+
|
|
166
|
+
Hierarchy, rhythm, density, aesthetic fit, and the perceived clarity of
|
|
167
|
+
alignment or scroll ownership are not inferred from computed pixels. Every
|
|
168
|
+
report carries the suite-v3 0–2 review rubric with `status: "not-recorded"` and
|
|
169
|
+
an empty rating list. An AI agent may use the retained screenshots as review
|
|
170
|
+
input, but it must record a named reviewer and rationale in the separate
|
|
171
|
+
human-visual evidence workflow; it must not turn a subjective rating into a
|
|
172
|
+
`KUI-B###` assertion.
|
|
173
|
+
|
|
174
|
+
The deterministic good/bad downstream fixtures and three-engine integration
|
|
175
|
+
suite live under `tests/fixtures/ui-evaluator/` and
|
|
176
|
+
`tests/integration/ui-evaluator-downstream.test.ts`.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Upgrading Kerf in an application
|
|
2
|
+
|
|
3
|
+
`kerfjs`, `@kerfjs/ui`, `eslint-plugin-kerfjs`, and `create-kerf-component` release in lockstep. Keep all four at **one exact version** in the consuming package (in the dependency section appropriate to each package), commit the lockfile, and assert the four declarations are equal in a small manifest test. Do not let a caret range quietly upgrade one member ahead of the others. Check the installed tree with your package manager after installation as well as the declarations.
|
|
4
|
+
|
|
5
|
+
For example, a Node test in `tests/kerf-versions.test.mjs` can read `package.json`, collect those four names from `dependencies` and `devDependencies`, assert that all four exist, match an exact semver string, and form a set of size one. Put that test in the application's normal check gate.
|
|
6
|
+
|
|
7
|
+
## Upgrade sequence
|
|
8
|
+
|
|
9
|
+
1. Choose a released version and update all four declarations together. Install with the project's package manager and inspect the resulting lockfile and `npm ls kerfjs @kerfjs/ui eslint-plugin-kerfjs create-kerf-component --depth=0` (or its pnpm/Yarn equivalent). Keep the package-version assertion in the regular check gate.
|
|
10
|
+
2. Run `npx kerfjs@<version> setup --ui` as a dry run for the selected application package. Review every proposed change and resolve authored conflicts deliberately. Then apply with `npx kerfjs@<version> setup --ui --write --yes`, retaining any required `--package` and `--resolve` options. The running setup version must match the installed `kerfjs`; a `kerfjs-version` conflict means the versions differ.
|
|
11
|
+
3. Regenerate the consuming application's catalog with `npm run catalog:generate` and check it with `npm run catalog:check`. Review generated changes rather than editing the projection by hand. Run `npm run kerf:check`, the application's own lint, type, unit, and browser suites, and inspect affected screens in both wide and narrow layouts.
|
|
12
|
+
4. Re-read the installed [`ai/skill.md`](../ai/skill.md), [`llms.txt`](../llms.txt), [component selection](./component-selection.md), and the release changelog. Check whether new Kerf primitives replace local code or newly `Discouraged` Web Awesome elements. Remove workarounds, CSS overrides, doctor suppressions, and profile exceptions made obsolete by this version; rerun the gate after each cleanup.
|
|
13
|
+
|
|
14
|
+
For a workspace, run setup and checks against each consuming package, using `--package` where discovery finds more than one candidate. Record any remaining exception with its owner and removal condition.
|