@kerfjs/ui 5.0.0-beta.124 → 5.0.0-beta.126
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 +6 -0
- package/ai/application-ui-diagnostic-ids-v1.json +1 -0
- package/ai/component-catalog.json +168 -7
- package/ai/component-catalog.schema.json +14 -1
- package/ai/component-composition.json +97 -6
- package/ai/component-props.json +447 -40
- package/ai/components/README.md +1 -0
- package/ai/components/combobox.md +1 -1
- package/ai/components/gauge.md +83 -0
- package/ai/components/segmented-control.md +1 -0
- package/ai/components/surface-scaffold.md +19 -5
- package/ai/components/tab-bar.md +2 -0
- package/ai/components/toolbar.md +1 -0
- package/ai/public-api-signatures-v1.md +345 -295
- package/ai/skill.md +36 -27
- package/ai/view-document.schema.json +55 -2
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/analyzer/cli.mjs +60 -24
- package/analyzer/index.mjs +331 -58
- package/catalog-projection-cli.mjs +86 -50
- package/dist/anchored-surface.js +2 -1
- package/dist/browser/editor.js +11 -8
- package/dist/browser/gauge.js +3 -0
- package/dist/browser/segmented-control.js +1 -0
- package/dist/catalog-resources.d.ts +1 -1
- package/dist/catalog.d.ts +1 -1
- package/dist/catalog.js +7 -7
- package/dist/{chunk-VX3YF2UD.js → chunk-3K5V3ZSD.js} +3 -3
- package/dist/{chunk-VX3YF2UD.js.map → chunk-3K5V3ZSD.js.map} +1 -1
- package/dist/chunk-3SCGTP5O.js +682 -0
- package/dist/chunk-3SCGTP5O.js.map +1 -0
- package/dist/{chunk-3JOEJT2Z.js → chunk-3ZKUXWAV.js} +4 -4
- package/dist/chunk-3ZKUXWAV.js.map +1 -0
- package/dist/{chunk-ADMWT7FX.js → chunk-3ZWYGGEC.js} +136 -8
- package/dist/chunk-3ZWYGGEC.js.map +1 -0
- package/dist/{chunk-KLR3DCHH.js → chunk-4L5ZIKDZ.js} +1 -1
- package/dist/chunk-4L5ZIKDZ.js.map +1 -0
- package/dist/{chunk-2E7S5C4D.js → chunk-4UWLHKNU.js} +5 -5
- package/dist/chunk-4UWLHKNU.js.map +1 -0
- package/dist/{chunk-EXGDKG7B.js → chunk-5A2DN3LR.js} +5 -5
- package/dist/chunk-5A2DN3LR.js.map +1 -0
- package/dist/{chunk-DJ65XFVN.js → chunk-63TJH2RF.js} +4 -4
- package/dist/chunk-63TJH2RF.js.map +1 -0
- package/dist/{chunk-Q2CLQ3IJ.js → chunk-6PHG2DMG.js} +1 -1
- package/dist/chunk-6PHG2DMG.js.map +1 -0
- package/dist/{chunk-SPI6VMIY.js → chunk-6T7AX365.js} +4 -4
- package/dist/chunk-6T7AX365.js.map +1 -0
- package/dist/{chunk-GVII4JSD.js → chunk-6V6UHPJD.js} +4 -4
- package/dist/chunk-6V6UHPJD.js.map +1 -0
- package/dist/{chunk-2LM3PYHA.js → chunk-C2TY5DJC.js} +11 -8
- package/dist/chunk-C2TY5DJC.js.map +1 -0
- package/dist/{chunk-3WYREXW4.js → chunk-COMEWURO.js} +8 -6
- package/dist/chunk-COMEWURO.js.map +1 -0
- package/dist/{chunk-VPDSPD76.js → chunk-DB64I3DB.js} +4 -3
- package/dist/chunk-DB64I3DB.js.map +1 -0
- package/dist/{chunk-SBCXWGNP.js → chunk-DBCDYBZP.js} +2 -2
- package/dist/{chunk-SBCXWGNP.js.map → chunk-DBCDYBZP.js.map} +1 -1
- package/dist/{chunk-CNM6ZWP2.js → chunk-DJWBXEF4.js} +4 -2
- package/dist/chunk-DJWBXEF4.js.map +1 -0
- package/dist/{chunk-7AUZG5EW.js → chunk-E2MTHHLS.js} +3 -3
- package/dist/{chunk-7AUZG5EW.js.map → chunk-E2MTHHLS.js.map} +1 -1
- package/dist/{chunk-JG4ONAOI.js → chunk-EI55KWHP.js} +2 -2
- package/dist/chunk-EI55KWHP.js.map +1 -0
- package/dist/{chunk-MVKHSAKE.js → chunk-GE2BQXB3.js} +41 -4
- package/dist/chunk-GE2BQXB3.js.map +1 -0
- package/dist/{chunk-KELWWCMX.js → chunk-I2K4OQKB.js} +4 -4
- 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-TPLVC5BE.js → chunk-IR32NI2O.js} +336 -247
- package/dist/chunk-IR32NI2O.js.map +1 -0
- package/dist/{chunk-ZKKO4MHC.js → chunk-JYKP7TBZ.js} +4 -2
- package/dist/chunk-JYKP7TBZ.js.map +1 -0
- package/dist/{chunk-F3PZGFEA.js → chunk-K3C35KGR.js} +4 -4
- package/dist/chunk-K3C35KGR.js.map +1 -0
- package/dist/{chunk-4RECPEHI.js → chunk-KBS3GP6S.js} +4 -3
- package/dist/chunk-KBS3GP6S.js.map +1 -0
- package/dist/{chunk-YHRJNKD5.js → chunk-KS7EXW4P.js} +6 -4
- package/dist/chunk-KS7EXW4P.js.map +1 -0
- package/dist/{chunk-V6N3YLTM.js → chunk-LTOTL5AS.js} +3 -3
- 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-JZZVWTUB.js → chunk-MMOQR426.js} +2 -2
- package/dist/chunk-MMOQR426.js.map +1 -0
- package/dist/{chunk-SJBMKA4X.js → chunk-OHT2AXER.js} +11 -10
- package/dist/chunk-OHT2AXER.js.map +1 -0
- package/dist/{chunk-4Z4QSTRF.js → chunk-OZKBIPXU.js} +38 -5
- package/dist/chunk-OZKBIPXU.js.map +1 -0
- package/dist/{chunk-Q2SLOMN6.js → chunk-RHMY45DK.js} +4 -4
- package/dist/chunk-RHMY45DK.js.map +1 -0
- package/dist/{chunk-BZXA5SSA.js → chunk-S7QB5KMM.js} +2 -2
- package/dist/{chunk-BZXA5SSA.js.map → chunk-S7QB5KMM.js.map} +1 -1
- package/dist/{chunk-HDXUHLTQ.js → chunk-SHECA2N4.js} +8 -2
- package/dist/chunk-SHECA2N4.js.map +1 -0
- package/dist/{chunk-R6FIXYAE.js → chunk-SJEPM5ZU.js} +2 -2
- package/dist/{chunk-R6FIXYAE.js.map → chunk-SJEPM5ZU.js.map} +1 -1
- package/dist/{chunk-FJMABKKV.js → chunk-UQ4FRQ6M.js} +35 -17
- package/dist/chunk-UQ4FRQ6M.js.map +1 -0
- package/dist/{chunk-S4ZGTDSG.js → chunk-UU37OR3D.js} +2 -2
- package/dist/chunk-UU37OR3D.js.map +1 -0
- package/dist/{chunk-SWXWLSUD.js → chunk-WEQNPYVA.js} +1 -1
- package/dist/{chunk-SWXWLSUD.js.map → chunk-WEQNPYVA.js.map} +1 -1
- package/dist/{chunk-5SFHBYEY.js → chunk-WUVHP3UC.js} +97 -24
- package/dist/chunk-WUVHP3UC.js.map +1 -0
- package/dist/{chunk-3S3WXAZ5.js → chunk-X43QQWVC.js} +3 -2
- package/dist/chunk-X43QQWVC.js.map +1 -0
- package/dist/{chunk-Z3T24FX3.js → chunk-YE6KCAIN.js} +3 -2
- package/dist/chunk-YE6KCAIN.js.map +1 -0
- package/dist/{chunk-BCO673YW.js → chunk-Z3BT2SZE.js} +3 -3
- package/dist/chunk-Z3BT2SZE.js.map +1 -0
- package/dist/{chunk-NYNNNEAU.js → chunk-ZC4KSRAF.js} +7 -7
- package/dist/chunk-ZC4KSRAF.js.map +1 -0
- package/dist/collapsible-panel.d.ts +2 -2
- package/dist/collapsible-panel.js +2 -2
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/column-explorer.d.ts +2 -2
- package/dist/column-explorer.js +2 -2
- package/dist/column-explorer.js.map +1 -1
- package/dist/dialog-surface-controller-BeKZ3e8Z.d.ts +251 -0
- package/dist/editor-frame.d.ts +1 -1
- package/dist/editor-frame.js +1 -1
- package/dist/editor.d.ts +38 -20
- package/dist/editor.js +10869 -6993
- package/dist/editor.js.map +1 -1
- package/dist/file-picker.js +1 -1
- package/dist/gauge.d.ts +73 -0
- package/dist/gauge.js +157 -0
- package/dist/gauge.js.map +1 -0
- package/dist/help-tags-register.js +2 -1
- package/dist/help-tags-register.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +29 -28
- package/dist/list-action-row.d.ts +1 -1
- package/dist/list-action-row.js +1 -1
- package/dist/list-detail-dialog.d.ts +7 -7
- package/dist/list-detail-dialog.js +6 -5
- package/dist/list-detail-dialog.js.map +1 -1
- package/dist/list-header.d.ts +1 -1
- package/dist/list-header.js +1 -1
- package/dist/list-item.d.ts +1 -1
- package/dist/list-item.js +1 -1
- package/dist/message-composer.js +1 -1
- package/dist/nav-stack.d.ts +6 -6
- package/dist/nav-stack.js +1 -1
- package/dist/popup-menu-register.js +1 -7
- package/dist/popup-menu-register.js.map +1 -1
- package/dist/popup-menu.d.ts +2 -2
- package/dist/popup-menu.js +1 -1
- package/dist/resizable-region.js +1 -1
- package/dist/segmented-control.d.ts +22 -1
- package/dist/segmented-control.js +3 -1
- package/dist/select-register.js +17 -23
- package/dist/select-register.js.map +1 -1
- package/dist/split-view.d.ts +6 -6
- package/dist/split-view.js +1 -1
- package/dist/styles/badge.css +39 -0
- package/dist/styles/collapsible-panel.css +34 -25
- package/dist/styles/components/actions/popup-menu/popup-menu.css +4 -4
- package/dist/styles/components/actions/toolbar/toolbar.css +34 -1
- package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +1 -1
- package/dist/styles/components/feedback/badge/badge.css +39 -0
- package/dist/styles/components/feedback/gauge/gauge.css +132 -0
- package/dist/styles/components/forms/segmented-control/segmented-control.css +17 -1
- package/dist/styles/components/layout/collapsible-panel/collapsible-panel.css +34 -25
- package/dist/styles/components/layout/split-view/split-view.css +19 -33
- package/dist/styles/components/navigation/nav-stack/nav-stack.css +15 -19
- package/dist/styles/components/navigation/tab-navigator/tab-navigator.css +30 -29
- package/dist/styles/components/surfaces/editor-frame/editor-frame.css +2 -2
- package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +259 -4
- package/dist/styles/editor/editor.css +55 -0
- package/dist/styles/editor-frame.css +2 -2
- package/dist/styles/gauge.css +132 -0
- package/dist/styles/nav-stack.css +15 -19
- package/dist/styles/popup-menu.css +4 -4
- package/dist/styles/segmented-control.css +17 -1
- package/dist/styles/split-view.css +19 -33
- package/dist/styles/styles.css +1 -0
- package/dist/styles/surface-scaffold.css +259 -4
- package/dist/styles/tab-navigator.css +30 -29
- package/dist/styles/toolbar-control-group.css +1 -1
- package/dist/styles/toolbar.css +34 -1
- package/dist/styles/webawesome.css +4 -5
- package/dist/surface-scaffold-register.js +2 -1
- package/dist/surface-scaffold-register.js.map +1 -1
- package/dist/surface-scaffold.d.ts +153 -246
- package/dist/surface-scaffold.js +3 -2
- package/dist/toolbar-control-group.d.ts +2 -2
- package/dist/toolbar-control-group.js +1 -1
- package/dist/toolbar.d.ts +6 -1
- package/dist/toolbar.js +1 -1
- package/dist/tree-list.d.ts +2 -2
- package/dist/tree-list.js +1 -1
- package/dist/wire-catalog.d.ts +1 -1
- package/dist/wire-catalog.js +3 -2
- package/dist/wire-catalog.js.map +1 -1
- package/dist/wire-checkboxes.js +2 -1
- package/dist/wire-choice-chips.js +2 -1
- package/dist/wire-color-fields.js +2 -1
- package/dist/wire-color-pickers.js +2 -1
- package/dist/wire-comboboxes.d.ts +2 -0
- package/dist/wire-comboboxes.js +2 -1
- package/dist/wire-content-items.js +2 -1
- package/dist/wire-corner-status.js +2 -1
- package/dist/wire-nav-stack.js +2 -1
- package/dist/wire-overlay-sheets.js +2 -1
- package/dist/wire-paged-views.js +2 -2
- package/dist/wire-paged-views.js.map +1 -1
- package/dist/wire-resizable-regions.js +2 -1
- package/dist/wire-scroll-dividers.js +1 -1
- package/dist/wire-search-fields.js +2 -1
- package/dist/wire-sidebar.js +2 -1
- package/dist/wire-tab-bars.d.ts +41 -2
- package/dist/wire-tab-bars.js +1 -1
- package/dist/wire-tab-navigator.js +2 -1
- package/dist/wire-tag-fields.js +2 -1
- package/dist/wire-workbench.js +2 -1
- package/dist/workbench-dialog.d.ts +7 -7
- package/dist/workbench-dialog.js +5 -4
- package/dist/workbench-dialog.js.map +1 -1
- package/dist/workbench.d.ts +1 -1
- package/dist/workbench.js +1 -1
- package/docs/accessibility.md +3 -6
- package/docs/component-contract.md +47 -7
- package/docs/component-selection.md +90 -79
- package/docs/design/sketch/Kerf-UI.sketch +0 -0
- package/docs/design/sketch/README.md +1 -1
- package/docs/design/sketch/content/README.md +8 -8
- package/docs/design/sketch/coverage.md +7 -5
- package/docs/design/sketch/unified/README.md +1 -1
- package/docs/design/sketch/unified/pages/content.png +0 -0
- package/docs/design/templates/button/full-width-dark.svg +1 -1
- package/docs/design/templates/button/full-width.svg +1 -1
- package/docs/design/templates/button/icons-dark.svg +1 -1
- package/docs/design/templates/button/icons.svg +1 -1
- package/docs/design/templates/button/pill-dark.svg +1 -1
- package/docs/design/templates/button/pill.svg +1 -1
- package/docs/design/templates/button/toggles-dark.svg +1 -1
- package/docs/design/templates/button/toggles.svg +1 -1
- package/docs/design/templates/button-dark.svg +1 -1
- package/docs/design/templates/button.svg +1 -1
- package/docs/design/templates/checkbox/compact-dark.svg +1 -1
- package/docs/design/templates/checkbox/compact.svg +1 -1
- package/docs/design/templates/checkbox/mixed-dark.svg +1 -1
- package/docs/design/templates/checkbox/mixed.svg +1 -1
- package/docs/design/templates/checkbox/states-dark.svg +1 -1
- package/docs/design/templates/checkbox/states.svg +1 -1
- package/docs/design/templates/checkbox-dark.svg +1 -1
- package/docs/design/templates/checkbox-group/vertical-dark.svg +1 -1
- package/docs/design/templates/checkbox-group/vertical.svg +1 -1
- package/docs/design/templates/checkbox-group-dark.svg +1 -1
- package/docs/design/templates/checkbox-group.svg +1 -1
- package/docs/design/templates/checkbox.svg +1 -1
- package/docs/design/templates/chip/tags-dark.svg +1 -1
- package/docs/design/templates/chip/tags.svg +1 -1
- package/docs/design/templates/chip-dark.svg +1 -1
- package/docs/design/templates/chip.svg +1 -1
- package/docs/design/templates/choice-chips/compact-icons-dark.svg +1 -1
- package/docs/design/templates/choice-chips/compact-icons.svg +1 -1
- package/docs/design/templates/choice-chips-dark.svg +1 -1
- package/docs/design/templates/choice-chips.svg +1 -1
- package/docs/design/templates/color-field/compact-dark.svg +1 -1
- package/docs/design/templates/color-field/compact.svg +1 -1
- package/docs/design/templates/color-field/error-dark.svg +1 -1
- package/docs/design/templates/color-field/error.svg +1 -1
- package/docs/design/templates/color-field/hint-dark.svg +1 -1
- package/docs/design/templates/color-field/hint.svg +1 -1
- package/docs/design/templates/color-field-dark.svg +1 -1
- package/docs/design/templates/color-field.svg +1 -1
- package/docs/design/templates/color-picker/gray-dark.svg +1 -1
- package/docs/design/templates/color-picker/gray.svg +1 -1
- package/docs/design/templates/color-picker/hsb-dark.svg +1 -1
- package/docs/design/templates/color-picker/hsb.svg +1 -1
- package/docs/design/templates/color-picker/rgb-dark.svg +1 -1
- package/docs/design/templates/color-picker/rgb.svg +1 -1
- package/docs/design/templates/color-picker-dark.svg +1 -1
- package/docs/design/templates/color-picker.svg +1 -1
- package/docs/design/templates/disclosure/embedded-dark.svg +1 -1
- package/docs/design/templates/disclosure/embedded.svg +1 -1
- package/docs/design/templates/disclosure/framed-sunken-dark.svg +1 -1
- package/docs/design/templates/disclosure/framed-sunken.svg +1 -1
- package/docs/design/templates/disclosure/plain-dark.svg +1 -1
- package/docs/design/templates/disclosure/plain.svg +1 -1
- package/docs/design/templates/disclosure-dark.svg +1 -1
- package/docs/design/templates/disclosure.svg +1 -1
- 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 -1
- package/docs/design/templates/empty-state.svg +1 -1
- 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 -1
- package/docs/design/templates/list/compact.svg +1 -1
- package/docs/design/templates/list/stack-dark.svg +1 -1
- package/docs/design/templates/list/stack.svg +1 -1
- 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 -1
- package/docs/design/templates/list-action-row/icon-tile.svg +1 -1
- 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 -1
- package/docs/design/templates/list-action-row/trailing-menu.svg +1 -1
- package/docs/design/templates/list-action-row-dark.svg +1 -1
- package/docs/design/templates/list-action-row.svg +1 -1
- package/docs/design/templates/list-dark.svg +1 -1
- 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/inline-action-dark.svg +1 -1
- package/docs/design/templates/list-header/inline-action.svg +1 -1
- 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 -1
- package/docs/design/templates/list-header.svg +1 -1
- 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 -1
- package/docs/design/templates/list-item/icon-tile.svg +1 -1
- 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 -1
- package/docs/design/templates/list-item.svg +1 -1
- package/docs/design/templates/list.svg +1 -1
- package/docs/design/templates/progress-ring/sizes-dark.svg +1 -1
- package/docs/design/templates/progress-ring/sizes.svg +1 -1
- package/docs/design/templates/progress-ring/tones-dark.svg +1 -1
- package/docs/design/templates/progress-ring/tones.svg +1 -1
- package/docs/design/templates/progress-ring-dark.svg +1 -1
- package/docs/design/templates/progress-ring.svg +1 -1
- package/docs/design/templates/search-field/empty-dark.svg +1 -1
- package/docs/design/templates/search-field/empty.svg +1 -1
- package/docs/design/templates/search-field/tokens-dark.svg +1 -1
- package/docs/design/templates/search-field/tokens.svg +1 -1
- package/docs/design/templates/search-field-dark.svg +1 -1
- package/docs/design/templates/search-field.svg +1 -1
- 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 -1
- package/docs/design/templates/segmented-control.svg +1 -1
- package/docs/design/templates/select/compact-dark.svg +1 -1
- package/docs/design/templates/select/compact.svg +1 -1
- package/docs/design/templates/select/form-dark.svg +1 -1
- package/docs/design/templates/select/form.svg +1 -1
- package/docs/design/templates/select/icons-dark.svg +1 -1
- package/docs/design/templates/select/icons.svg +1 -1
- package/docs/design/templates/select-dark.svg +1 -1
- package/docs/design/templates/select.svg +1 -1
- package/docs/design/templates/split-button/full-width-dark.svg +1 -1
- package/docs/design/templates/split-button/full-width.svg +1 -1
- package/docs/design/templates/split-button/pill-dark.svg +1 -1
- package/docs/design/templates/split-button/pill.svg +1 -1
- package/docs/design/templates/split-button/states-dark.svg +1 -1
- package/docs/design/templates/split-button/states.svg +1 -1
- package/docs/design/templates/split-button/tones-dark.svg +1 -1
- package/docs/design/templates/split-button/tones.svg +1 -1
- package/docs/design/templates/split-button-dark.svg +1 -1
- package/docs/design/templates/split-button.svg +1 -1
- 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 -1
- package/docs/design/templates/state-banner/info-badge.svg +1 -1
- 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 -1
- package/docs/design/templates/state-banner/strip.svg +1 -1
- 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 -1
- package/docs/design/templates/state-banner.svg +1 -1
- 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 -1
- package/docs/design/templates/tab-bar.svg +1 -1
- package/docs/design/templates/tag-field/error-dark.svg +1 -1
- package/docs/design/templates/tag-field/error.svg +1 -1
- package/docs/design/templates/tag-field/tags-dark.svg +1 -1
- package/docs/design/templates/tag-field/tags.svg +1 -1
- package/docs/design/templates/tag-field-dark.svg +1 -1
- package/docs/design/templates/tag-field.svg +1 -1
- package/docs/design/templates/text-field/labeled-dark.svg +1 -1
- package/docs/design/templates/text-field/labeled.svg +1 -1
- package/docs/design/templates/text-field/search-dark.svg +1 -1
- package/docs/design/templates/text-field/search.svg +1 -1
- package/docs/design/templates/text-field-dark.svg +1 -1
- package/docs/design/templates/text-field.svg +1 -1
- 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 -1
- package/docs/design/templates/toolbar/width-visibility-320.svg +1 -1
- package/docs/design/templates/toolbar/width-visibility-600-dark.svg +1 -1
- package/docs/design/templates/toolbar/width-visibility-600.svg +1 -1
- 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 -1
- package/docs/design/templates/toolbar-control-group/glass.svg +1 -1
- 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 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-brand.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-danger-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-danger.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-neutral-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-neutral.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-success-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-success.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-warning-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-tile-warning.svg +1 -1
- 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 -1
- package/docs/design/templates/toolbar-control-group.svg +1 -1
- package/docs/design/templates/toolbar-dark.svg +1 -1
- package/docs/design/templates/toolbar.svg +1 -1
- package/docs/design/templates/tree-list/files-dark.svg +1 -1
- package/docs/design/templates/tree-list/files.svg +1 -1
- package/docs/design/templates/tree-list/outline-dark.svg +1 -1
- package/docs/design/templates/tree-list/outline.svg +1 -1
- package/docs/design/templates/tree-list-dark.svg +1 -1
- package/docs/design/templates/tree-list.svg +1 -1
- 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 -1
- package/docs/design/templates/value-table.svg +1 -1
- package/docs/design/templates.md +5 -4
- package/docs/editor-frame.md +1 -1
- package/docs/editor-host.md +15 -2
- package/docs/gauge.md +55 -0
- package/docs/overlay-tooltip.md +1 -1
- package/docs/progress.md +3 -2
- package/docs/recipes.md +1 -1
- package/docs/surface-scaffold.md +63 -2
- package/docs/ui-analyzer.md +42 -0
- package/docs/ui-doctor.md +45 -1
- package/docs/ui-evaluator.md +35 -0
- package/docs/ux-demo.md +1 -1
- package/docs/view.md +295 -0
- package/docs/webawesome-theme.md +16 -0
- package/doctor/cli.mjs +36 -31
- package/doctor/index.mjs +349 -162
- package/evaluator/cli.mjs +36 -30
- package/llms.txt +27 -5
- package/package.json +10 -2
- package/props/cli.mjs +47 -21
- package/scripts/lib/cli-args.mjs +98 -0
- package/ux-demo/recipes/compact-toolbar.tsx +1 -1
- package/ux-demo/recipes/loading-inspector.tsx +1 -1
- package/view/catalog.mjs +229 -0
- package/view/child-kind.mjs +22 -0
- package/view/cli.mjs +142 -119
- package/view/contract.mjs +84 -11
- package/view/css-grammar.mjs +93 -0
- package/view/generate.d.mts +16 -0
- package/view/generate.mjs +122 -43
- package/view/index.d.mts +80 -14
- package/view/index.mjs +5 -9
- package/view/interpret.mjs +104 -36
- package/view/types.mjs +161 -0
- package/view/validate-move.mjs +66 -30
- package/view/validate.mjs +420 -654
- package/vite-editor.d.mts +16 -1
- package/vite-editor.mjs +74 -4
- package/dist/chunk-2E7S5C4D.js.map +0 -1
- package/dist/chunk-2LM3PYHA.js.map +0 -1
- package/dist/chunk-3JOEJT2Z.js.map +0 -1
- package/dist/chunk-3S3WXAZ5.js.map +0 -1
- package/dist/chunk-3WYREXW4.js.map +0 -1
- package/dist/chunk-4RECPEHI.js.map +0 -1
- package/dist/chunk-4Z4QSTRF.js.map +0 -1
- package/dist/chunk-5SFHBYEY.js.map +0 -1
- package/dist/chunk-ADMWT7FX.js.map +0 -1
- package/dist/chunk-BCO673YW.js.map +0 -1
- package/dist/chunk-CNM6ZWP2.js.map +0 -1
- package/dist/chunk-DJ65XFVN.js.map +0 -1
- package/dist/chunk-EXGDKG7B.js.map +0 -1
- package/dist/chunk-F3PZGFEA.js.map +0 -1
- package/dist/chunk-FJMABKKV.js.map +0 -1
- package/dist/chunk-GVII4JSD.js.map +0 -1
- package/dist/chunk-HDXUHLTQ.js.map +0 -1
- package/dist/chunk-JG4ONAOI.js.map +0 -1
- package/dist/chunk-JZZVWTUB.js.map +0 -1
- package/dist/chunk-KELWWCMX.js.map +0 -1
- package/dist/chunk-KLR3DCHH.js.map +0 -1
- package/dist/chunk-LD6A6PYB.js +0 -268
- package/dist/chunk-LD6A6PYB.js.map +0 -1
- package/dist/chunk-MVKHSAKE.js.map +0 -1
- package/dist/chunk-NYNNNEAU.js.map +0 -1
- package/dist/chunk-Q2CLQ3IJ.js.map +0 -1
- package/dist/chunk-Q2SLOMN6.js.map +0 -1
- package/dist/chunk-S4ZGTDSG.js.map +0 -1
- package/dist/chunk-SJBMKA4X.js.map +0 -1
- package/dist/chunk-SPI6VMIY.js.map +0 -1
- package/dist/chunk-TPLVC5BE.js.map +0 -1
- package/dist/chunk-V6N3YLTM.js.map +0 -1
- package/dist/chunk-VNT4MXR5.js +0 -548
- package/dist/chunk-VNT4MXR5.js.map +0 -1
- package/dist/chunk-VPDSPD76.js.map +0 -1
- package/dist/chunk-YHRJNKD5.js.map +0 -1
- package/dist/chunk-Z3T24FX3.js.map +0 -1
- package/dist/chunk-ZKKO4MHC.js.map +0 -1
- package/dist/{nav-stack-DwxpXxqJ.d.ts → nav-stack-vQ3ieerq.d.ts} +3 -3
|
@@ -269,8 +269,8 @@ h2.kui-dialog-surface__title {
|
|
|
269
269
|
.kui-dialog-surface[data-footer-inset="none"] > .kui-dialog-surface__footer {
|
|
270
270
|
padding: 0;
|
|
271
271
|
}
|
|
272
|
-
.kui-dialog-surface[data-body-inset="
|
|
273
|
-
.kui-dialog-surface[data-footer-inset="
|
|
272
|
+
.kui-dialog-surface[data-body-inset="default"] > .kui-dialog-surface__body,
|
|
273
|
+
.kui-dialog-surface[data-footer-inset="default"] > .kui-dialog-surface__footer {
|
|
274
274
|
padding: var(--kui-surface-inset, 0.5rem);
|
|
275
275
|
}
|
|
276
276
|
.kui-dialog-surface[data-body-inset="comfortable"] > .kui-dialog-surface__body,
|
|
@@ -331,7 +331,7 @@ h2.kui-dialog-surface__title {
|
|
|
331
331
|
> .kui-dialog-surface__body {
|
|
332
332
|
padding-block-end: var(--_kui-dialog-surface-footer-clearance);
|
|
333
333
|
}
|
|
334
|
-
.kui-dialog-surface[data-footer-presentation="floating"][data-body-inset="
|
|
334
|
+
.kui-dialog-surface[data-footer-presentation="floating"][data-body-inset="default"]
|
|
335
335
|
> .kui-dialog-surface__body {
|
|
336
336
|
padding-block-end: calc(
|
|
337
337
|
var(--kui-surface-inset, 0.5rem) +
|
|
@@ -408,7 +408,7 @@ h2.kui-dialog-surface__title {
|
|
|
408
408
|
> .kui-dialog-surface__body {
|
|
409
409
|
padding-block-start: var(--_kui-dialog-surface-header-clearance);
|
|
410
410
|
}
|
|
411
|
-
.kui-dialog-surface[data-header-presentation="floating"][data-body-inset="
|
|
411
|
+
.kui-dialog-surface[data-header-presentation="floating"][data-body-inset="default"]
|
|
412
412
|
> .kui-dialog-surface__body {
|
|
413
413
|
padding-block-start: calc(
|
|
414
414
|
var(--kui-surface-inset, 0.5rem) +
|
|
@@ -810,6 +810,261 @@ h2.kui-dialog-surface__title {
|
|
|
810
810
|
max-width: -moz-available;
|
|
811
811
|
max-width: stretch;
|
|
812
812
|
margin: 0;
|
|
813
|
+
/* In flow it is a panel, not an elevated layer: its border alone, as an
|
|
814
|
+
embedded DialogSurface. A scrolling container (a Pane's content) clips
|
|
815
|
+
the drop shadow to a square box (KF-ENXYEB). */
|
|
816
|
+
box-shadow: none;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/* PinnablePopoverSurface: a native popover="manual" surface that
|
|
820
|
+
wirePinnablePopover places below its anchor while transient and where the
|
|
821
|
+
person moved it while pinned. Without a placement it stays centered. */
|
|
822
|
+
@property --_kui-pinnable-popover-surface-gutter-px {
|
|
823
|
+
syntax: "<length>";
|
|
824
|
+
inherits: false;
|
|
825
|
+
initial-value: 0px;
|
|
826
|
+
}
|
|
827
|
+
.kui-pinnable-popover-surface {
|
|
828
|
+
--_kui-pinnable-popover-surface-width: 35rem;
|
|
829
|
+
--_kui-pinnable-popover-surface-resolved-gutter: max(
|
|
830
|
+
0px,
|
|
831
|
+
var(--_kui-pinnable-popover-surface-gutter, 1rem)
|
|
832
|
+
);
|
|
833
|
+
/* The resolved gutter in px, which the controller reads to clamp moves. */
|
|
834
|
+
--_kui-pinnable-popover-surface-gutter-px: var(
|
|
835
|
+
--_kui-pinnable-popover-surface-resolved-gutter
|
|
836
|
+
);
|
|
837
|
+
--_kui-pinnable-popover-surface-available-width: max(
|
|
838
|
+
0px,
|
|
839
|
+
calc(
|
|
840
|
+
100vw - var(--_kui-pinnable-popover-surface-resolved-gutter) -
|
|
841
|
+
var(--_kui-pinnable-popover-surface-resolved-gutter)
|
|
842
|
+
)
|
|
843
|
+
);
|
|
844
|
+
--_kui-pinnable-popover-surface-available-height: max(
|
|
845
|
+
0px,
|
|
846
|
+
calc(
|
|
847
|
+
100dvh - var(--_kui-pinnable-popover-surface-resolved-gutter) -
|
|
848
|
+
var(--_kui-pinnable-popover-surface-resolved-gutter)
|
|
849
|
+
)
|
|
850
|
+
);
|
|
851
|
+
box-sizing: border-box;
|
|
852
|
+
width: min(
|
|
853
|
+
var(
|
|
854
|
+
--_kui-pinnable-popover-surface-preferred-width,
|
|
855
|
+
var(--_kui-pinnable-popover-surface-width)
|
|
856
|
+
),
|
|
857
|
+
var(--_kui-pinnable-popover-surface-available-width)
|
|
858
|
+
);
|
|
859
|
+
max-width: var(--_kui-pinnable-popover-surface-available-width);
|
|
860
|
+
max-height: var(--_kui-pinnable-popover-surface-available-height);
|
|
861
|
+
padding: 0;
|
|
862
|
+
overflow: hidden;
|
|
863
|
+
color: var(--kui-color-text);
|
|
864
|
+
border: 1px solid var(--kui-color-neutral-border-normal);
|
|
865
|
+
/* The PopoverDialogSurface corner: a pill control at the 8px inset. */
|
|
866
|
+
border-radius: calc(
|
|
867
|
+
var(--kui-layout-pill-radius, calc(1px + 1.3125rem)) +
|
|
868
|
+
var(--kui-surface-inset, 0.5rem)
|
|
869
|
+
);
|
|
870
|
+
--kui-color-surface-current: var(--kui-color-surface-raised);
|
|
871
|
+
--kui-color-surface-current-region: transparent;
|
|
872
|
+
--kui-color-surface-current-tint: transparent;
|
|
873
|
+
background: var(--kui-color-surface-raised);
|
|
874
|
+
box-shadow: var(--kui-shadow-l);
|
|
875
|
+
}
|
|
876
|
+
.kui-pinnable-popover-surface:is(
|
|
877
|
+
:popover-open,
|
|
878
|
+
[data-presentation="embedded"]
|
|
879
|
+
) {
|
|
880
|
+
display: flex;
|
|
881
|
+
flex-direction: column;
|
|
882
|
+
}
|
|
883
|
+
.kui-pinnable-popover-surface[data-size="small"] {
|
|
884
|
+
--_kui-pinnable-popover-surface-width: 25rem;
|
|
885
|
+
}
|
|
886
|
+
.kui-pinnable-popover-surface[data-size="large"] {
|
|
887
|
+
--_kui-pinnable-popover-surface-width: 50rem;
|
|
888
|
+
}
|
|
889
|
+
.kui-pinnable-popover-surface[data-max-height] {
|
|
890
|
+
max-height: max(
|
|
891
|
+
0px,
|
|
892
|
+
min(
|
|
893
|
+
var(--_kui-pinnable-popover-surface-max-height, 100dvh),
|
|
894
|
+
var(--_kui-pinnable-popover-surface-available-height)
|
|
895
|
+
)
|
|
896
|
+
);
|
|
897
|
+
}
|
|
898
|
+
.kui-pinnable-popover-surface[data-height] {
|
|
899
|
+
height: max(
|
|
900
|
+
0px,
|
|
901
|
+
min(
|
|
902
|
+
var(--_kui-pinnable-popover-surface-height, 100dvh),
|
|
903
|
+
var(--_kui-pinnable-popover-surface-available-height)
|
|
904
|
+
)
|
|
905
|
+
);
|
|
906
|
+
}
|
|
907
|
+
.kui-pinnable-popover-surface[data-presentation="overlay"]:popover-open {
|
|
908
|
+
inset: 0;
|
|
909
|
+
margin: auto;
|
|
910
|
+
place-self: center;
|
|
911
|
+
}
|
|
912
|
+
.kui-pinnable-popover-surface[data-presentation="overlay"][data-placed]:popover-open {
|
|
913
|
+
inset: auto;
|
|
914
|
+
top: var(--_kui-pinnable-popover-surface-y, 0px);
|
|
915
|
+
left: var(--_kui-pinnable-popover-surface-x, 0px);
|
|
916
|
+
margin: 0;
|
|
917
|
+
place-self: auto;
|
|
918
|
+
}
|
|
919
|
+
/* A pinned overlay resizes from its corner, within the viewport caps. */
|
|
920
|
+
.kui-pinnable-popover-surface[data-presentation="overlay"][data-pinned]:popover-open {
|
|
921
|
+
min-width: min(15rem, 100%);
|
|
922
|
+
min-height: min(10rem, 100%);
|
|
923
|
+
resize: both;
|
|
924
|
+
}
|
|
925
|
+
.kui-pinnable-popover-surface[data-presentation="embedded"] {
|
|
926
|
+
position: relative;
|
|
927
|
+
inset: auto;
|
|
928
|
+
max-width: 100%;
|
|
929
|
+
max-width: -webkit-fill-available;
|
|
930
|
+
max-width: -moz-available;
|
|
931
|
+
max-width: stretch;
|
|
932
|
+
margin: 0;
|
|
933
|
+
/* Its border alone, as an embedded PopoverDialogSurface (KF-ENXYEB). */
|
|
934
|
+
box-shadow: none;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/* The header is the move handle: the title, then the header actions, Pin,
|
|
938
|
+
and Close. A press anywhere on it but its controls drags the surface. */
|
|
939
|
+
.kui-pinnable-popover-surface__header {
|
|
940
|
+
display: flex;
|
|
941
|
+
flex: 0 0 auto;
|
|
942
|
+
align-items: center;
|
|
943
|
+
gap: 0.25rem;
|
|
944
|
+
padding: var(--kui-surface-inset, 0.5rem);
|
|
945
|
+
}
|
|
946
|
+
.kui-pinnable-popover-surface[data-presentation="overlay"]
|
|
947
|
+
> .kui-pinnable-popover-surface__header {
|
|
948
|
+
cursor: grab;
|
|
949
|
+
touch-action: none;
|
|
950
|
+
user-select: none;
|
|
951
|
+
-webkit-user-select: none;
|
|
952
|
+
}
|
|
953
|
+
.kui-pinnable-popover-surface__handle {
|
|
954
|
+
display: flex;
|
|
955
|
+
min-width: 0;
|
|
956
|
+
min-height: 2.5rem;
|
|
957
|
+
flex: 1 1 auto;
|
|
958
|
+
align-items: center;
|
|
959
|
+
justify-content: flex-start;
|
|
960
|
+
/* The title's text lines up with a List row's text in the body: the row's
|
|
961
|
+
8px margin, 1px border, and 8px padding. */
|
|
962
|
+
padding: 0
|
|
963
|
+
calc(
|
|
964
|
+
var(--kui-surface-inset, 0.5rem) +
|
|
965
|
+
var(--kui-layout-item-padding, 0.5rem) + 1px
|
|
966
|
+
);
|
|
967
|
+
margin: 0;
|
|
968
|
+
color: inherit;
|
|
969
|
+
font: inherit;
|
|
970
|
+
text-align: start;
|
|
971
|
+
border: none;
|
|
972
|
+
border-radius: var(--kui-radius-m, 0.5rem);
|
|
973
|
+
background: transparent;
|
|
974
|
+
cursor: inherit;
|
|
975
|
+
}
|
|
976
|
+
.kui-pinnable-popover-surface__handle:focus-visible {
|
|
977
|
+
outline: var(--kui-focus-ring);
|
|
978
|
+
outline-offset: var(--kui-focus-ring-offset, 1px);
|
|
979
|
+
}
|
|
980
|
+
.kui-pinnable-popover-surface__title {
|
|
981
|
+
overflow: hidden;
|
|
982
|
+
font-size: var(--kui-font-l, 1.25rem);
|
|
983
|
+
font-weight: 600;
|
|
984
|
+
line-height: 1.2;
|
|
985
|
+
text-overflow: ellipsis;
|
|
986
|
+
white-space: nowrap;
|
|
987
|
+
}
|
|
988
|
+
.kui-pinnable-popover-surface__header-actions {
|
|
989
|
+
display: flex;
|
|
990
|
+
flex-shrink: 0;
|
|
991
|
+
align-items: center;
|
|
992
|
+
gap: 0.25rem;
|
|
993
|
+
cursor: auto;
|
|
994
|
+
}
|
|
995
|
+
/* Pin and Close match the DialogSurface close control: a 40px circle with
|
|
996
|
+
the neutral hover fill; a pressed Pin takes the loud neutral fill. */
|
|
997
|
+
.kui-pinnable-popover-surface__control {
|
|
998
|
+
display: inline-flex;
|
|
999
|
+
width: 2.5rem;
|
|
1000
|
+
height: 2.5rem;
|
|
1001
|
+
flex: 0 0 auto;
|
|
1002
|
+
align-items: center;
|
|
1003
|
+
justify-content: center;
|
|
1004
|
+
padding: 0;
|
|
1005
|
+
margin: 0;
|
|
1006
|
+
color: var(--kui-color-neutral-on-quiet);
|
|
1007
|
+
font: inherit;
|
|
1008
|
+
border: none;
|
|
1009
|
+
border-radius: var(--kui-radius-circle, 50%);
|
|
1010
|
+
background: transparent;
|
|
1011
|
+
cursor: pointer;
|
|
1012
|
+
}
|
|
1013
|
+
.kui-pinnable-popover-surface__control:hover {
|
|
1014
|
+
background-color: var(--kui-color-neutral-fill-normal);
|
|
1015
|
+
}
|
|
1016
|
+
.kui-pinnable-popover-surface__control[aria-pressed="true"] {
|
|
1017
|
+
color: var(--kui-color-neutral-on-loud);
|
|
1018
|
+
background-color: var(--kui-color-neutral-fill-loud);
|
|
1019
|
+
}
|
|
1020
|
+
.kui-pinnable-popover-surface__control:focus-visible {
|
|
1021
|
+
outline: var(--kui-focus-ring);
|
|
1022
|
+
outline-offset: var(--kui-focus-ring-offset, 1px);
|
|
1023
|
+
}
|
|
1024
|
+
@media (forced-colors: active) {
|
|
1025
|
+
.kui-pinnable-popover-surface {
|
|
1026
|
+
border-color: CanvasText;
|
|
1027
|
+
}
|
|
1028
|
+
.kui-pinnable-popover-surface__control {
|
|
1029
|
+
color: ButtonText;
|
|
1030
|
+
}
|
|
1031
|
+
.kui-pinnable-popover-surface__control[aria-pressed="true"] {
|
|
1032
|
+
color: HighlightText;
|
|
1033
|
+
background-color: Highlight;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
.kui-pinnable-popover-surface__body {
|
|
1037
|
+
--kui-scroll-clearance-block-start: 0px;
|
|
1038
|
+
--kui-scroll-clearance-block-end: 0px;
|
|
1039
|
+
display: block;
|
|
1040
|
+
min-height: 0;
|
|
1041
|
+
flex: 1 1 auto;
|
|
1042
|
+
padding: var(--kui-surface-inset, 0.5rem);
|
|
1043
|
+
padding-block-start: 0;
|
|
1044
|
+
overflow: auto;
|
|
1045
|
+
}
|
|
1046
|
+
.kui-pinnable-popover-surface[data-body-layout="fill"]
|
|
1047
|
+
> .kui-pinnable-popover-surface__body {
|
|
1048
|
+
display: grid;
|
|
1049
|
+
overflow: hidden;
|
|
1050
|
+
grid-template-rows: minmax(0, 1fr);
|
|
1051
|
+
}
|
|
1052
|
+
.kui-pinnable-popover-surface[data-body-layout="fill-last"]
|
|
1053
|
+
> .kui-pinnable-popover-surface__body {
|
|
1054
|
+
display: flex;
|
|
1055
|
+
flex-direction: column;
|
|
1056
|
+
overflow: hidden;
|
|
1057
|
+
}
|
|
1058
|
+
.kui-pinnable-popover-surface[data-body-layout="fill-last"]
|
|
1059
|
+
> .kui-pinnable-popover-surface__body
|
|
1060
|
+
> * {
|
|
1061
|
+
flex: none;
|
|
1062
|
+
}
|
|
1063
|
+
.kui-pinnable-popover-surface[data-body-layout="fill-last"]
|
|
1064
|
+
> .kui-pinnable-popover-surface__body
|
|
1065
|
+
> :last-child {
|
|
1066
|
+
flex: 1 1 0;
|
|
1067
|
+
min-block-size: 0;
|
|
813
1068
|
}
|
|
814
1069
|
.kui-popup-surface {
|
|
815
1070
|
display: inline-flex;
|
|
@@ -46,6 +46,40 @@
|
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
/* KF-WKABP2: a container's zones while a drag rests over it, where its
|
|
50
|
+
layout renders them; the drop ring marks the one the pointer picks. */
|
|
51
|
+
.kui-editor__zone-ghost {
|
|
52
|
+
position: absolute;
|
|
53
|
+
z-index: 1;
|
|
54
|
+
box-sizing: border-box;
|
|
55
|
+
border: 1px dashed var(--kui-color-brand-border-loud);
|
|
56
|
+
border-radius: var(--kui-radius-s);
|
|
57
|
+
background: color-mix(
|
|
58
|
+
in srgb,
|
|
59
|
+
var(--kui-color-brand-border-loud) 6%,
|
|
60
|
+
transparent
|
|
61
|
+
);
|
|
62
|
+
pointer-events: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.kui-editor__zone-ghost[data-chosen] {
|
|
66
|
+
background: color-mix(
|
|
67
|
+
in srgb,
|
|
68
|
+
var(--kui-color-brand-border-loud) 14%,
|
|
69
|
+
transparent
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.kui-editor__zone-ghosts[hidden] {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@media (forced-colors: active) {
|
|
78
|
+
.kui-editor__zone-ghost {
|
|
79
|
+
border-color: Highlight;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
49
83
|
/* KF-Y4GHQV: the caption saying where a drag lands, beside its line or
|
|
50
84
|
inside its ring; the dimmed place of a node moved on the canvas; and the
|
|
51
85
|
chip naming what is dragged, which follows the pointer. Each only places
|
|
@@ -67,9 +101,17 @@
|
|
|
67
101
|
opacity: 0.7;
|
|
68
102
|
}
|
|
69
103
|
|
|
104
|
+
/* KF-Z54E4H: a manual popover while a drag lasts, so it draws over the
|
|
105
|
+
top-layer Library; the popover's UA box (centered, framed) is cleared. */
|
|
70
106
|
.kui-editor__drag-chip {
|
|
71
107
|
position: fixed;
|
|
72
108
|
z-index: 2;
|
|
109
|
+
overflow: visible;
|
|
110
|
+
margin: 0;
|
|
111
|
+
border: 0;
|
|
112
|
+
padding: 0;
|
|
113
|
+
background: none;
|
|
114
|
+
color: inherit;
|
|
73
115
|
pointer-events: none;
|
|
74
116
|
}
|
|
75
117
|
|
|
@@ -528,3 +570,16 @@
|
|
|
528
570
|
.kui-editor__action-log {
|
|
529
571
|
inline-size: min(380px, calc(100vw - 48px));
|
|
530
572
|
}
|
|
573
|
+
|
|
574
|
+
/* KF-JC7WTW: a palette tile's thumbnail of its component, drawn in its
|
|
575
|
+
shadow root and scaled to fit; its icon shows while the component renders
|
|
576
|
+
nothing until it opens. */
|
|
577
|
+
.kui-editor__palette-thumb {
|
|
578
|
+
position: relative;
|
|
579
|
+
display: grid;
|
|
580
|
+
place-items: center;
|
|
581
|
+
aspect-ratio: 4 / 3;
|
|
582
|
+
overflow: hidden;
|
|
583
|
+
pointer-events: none;
|
|
584
|
+
color: var(--kui-color-text-quiet);
|
|
585
|
+
}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
resize: none;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.kui-editor-frame[data-inset="
|
|
55
|
+
.kui-editor-frame[data-inset="none"] > .kui-editor-frame__surface {
|
|
56
56
|
padding: 0;
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
|
|
75
75
|
.kui-editor-frame[data-appearance="embedded"]:not(
|
|
76
76
|
[data-expanded="true"]
|
|
77
|
-
)[data-inset="
|
|
77
|
+
)[data-inset="none"]
|
|
78
78
|
> .kui-editor-frame__surface {
|
|
79
79
|
padding: 0;
|
|
80
80
|
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* A 240-degree dial: a track arc, a fill from zero to the value, and a needle.
|
|
2
|
+
The SVG scales with the gauge's width, so a `full` readout keeps its
|
|
3
|
+
proportions from a stats tile to a standby display. */
|
|
4
|
+
.kui-gauge {
|
|
5
|
+
--_kui-gauge-track: var(--kui-color-neutral-fill-normal);
|
|
6
|
+
--_kui-gauge-fill: var(--kui-color-brand-fill-loud);
|
|
7
|
+
--_kui-gauge-needle: var(--kui-color-text);
|
|
8
|
+
--_kui-gauge-text: var(--kui-color-text);
|
|
9
|
+
|
|
10
|
+
display: inline-block;
|
|
11
|
+
width: var(--_kui-gauge-size, 5.5rem);
|
|
12
|
+
flex: none;
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.kui-gauge[data-tone="success"] {
|
|
17
|
+
--_kui-gauge-fill: var(--kui-color-success-fill-loud);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.kui-gauge[data-tone="warning"] {
|
|
21
|
+
--_kui-gauge-fill: var(--kui-color-warning-fill-loud);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kui-gauge[data-tone="danger"] {
|
|
25
|
+
--_kui-gauge-fill: var(--kui-color-danger-fill-loud);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.kui-gauge svg {
|
|
29
|
+
display: block;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: auto;
|
|
32
|
+
overflow: visible;
|
|
33
|
+
font-family: var(--kui-font-sans);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.kui-gauge__track,
|
|
37
|
+
.kui-gauge__fill {
|
|
38
|
+
fill: none;
|
|
39
|
+
stroke-width: 8;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.kui-gauge__track {
|
|
43
|
+
stroke: var(--_kui-gauge-track);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.kui-gauge__fill {
|
|
47
|
+
stroke: var(--_kui-gauge-fill);
|
|
48
|
+
stroke-linecap: round;
|
|
49
|
+
transition: stroke-dasharray 300ms ease;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* A zero reading draws no dot at the start of the scale. */
|
|
53
|
+
.kui-gauge[aria-valuenow="0"] .kui-gauge__fill {
|
|
54
|
+
stroke-linecap: butt;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.kui-gauge__tick {
|
|
58
|
+
stroke: var(--_kui-gauge-text);
|
|
59
|
+
stroke-width: 1.5;
|
|
60
|
+
opacity: 0.45;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.kui-gauge__tick--major {
|
|
64
|
+
stroke-width: 2;
|
|
65
|
+
opacity: 0.8;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* The needle turns around the dial's center, in viewBox units. */
|
|
69
|
+
.kui-gauge__needle {
|
|
70
|
+
transform-box: view-box;
|
|
71
|
+
transform-origin: 50px 50px;
|
|
72
|
+
transition: transform 300ms ease;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.kui-gauge__needle line {
|
|
76
|
+
stroke: var(--_kui-gauge-needle);
|
|
77
|
+
stroke-width: 4;
|
|
78
|
+
stroke-linecap: round;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.kui-gauge__needle circle {
|
|
82
|
+
fill: var(--_kui-gauge-needle);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Anchor and size are presentation attributes on the text, in viewBox units,
|
|
86
|
+
so an exported SVG keeps them outside this stylesheet. */
|
|
87
|
+
.kui-gauge__value,
|
|
88
|
+
.kui-gauge__unit {
|
|
89
|
+
fill: var(--_kui-gauge-text);
|
|
90
|
+
font-variant-numeric: tabular-nums;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.kui-gauge__value {
|
|
94
|
+
font-weight: var(--kui-font-weight-semibold);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.kui-gauge__unit {
|
|
98
|
+
opacity: 0.75;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media (prefers-reduced-motion: reduce) {
|
|
102
|
+
.kui-gauge__fill,
|
|
103
|
+
.kui-gauge__needle {
|
|
104
|
+
transition: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
:root[data-kui-effects="static"] .kui-gauge__fill,
|
|
109
|
+
:root[data-kui-effects="static"] .kui-gauge__needle {
|
|
110
|
+
transition: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media (forced-colors: active) {
|
|
114
|
+
.kui-gauge__track {
|
|
115
|
+
stroke: GrayText;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.kui-gauge__fill {
|
|
119
|
+
stroke: Highlight;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.kui-gauge__needle line,
|
|
123
|
+
.kui-gauge__tick {
|
|
124
|
+
stroke: CanvasText;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.kui-gauge__needle circle,
|
|
128
|
+
.kui-gauge__value,
|
|
129
|
+
.kui-gauge__unit {
|
|
130
|
+
fill: CanvasText;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -95,6 +95,13 @@
|
|
|
95
95
|
--kui-edge-inset-block-end: var(--_kui-nav-stack-safe-block-end);
|
|
96
96
|
--kui-edge-inset-inline-start: var(--_kui-nav-stack-safe-inline-start);
|
|
97
97
|
--kui-edge-inset-inline-end: var(--_kui-nav-stack-safe-inline-end);
|
|
98
|
+
/* The views' edge context: the viewport's resolved edge context (after the
|
|
99
|
+
chrome, bottom-toolbar, and overlay rules below), captured here so a
|
|
100
|
+
view that pads for it can clear the public context on itself. */
|
|
101
|
+
--_kui-nav-stack-view-edge-block-start: var(--kui-edge-inset-block-start);
|
|
102
|
+
--_kui-nav-stack-view-edge-block-end: var(--kui-edge-inset-block-end);
|
|
103
|
+
--_kui-nav-stack-view-edge-inline-start: var(--kui-edge-inset-inline-start);
|
|
104
|
+
--_kui-nav-stack-view-edge-inline-end: var(--kui-edge-inset-inline-end);
|
|
98
105
|
position: relative;
|
|
99
106
|
flex: 1;
|
|
100
107
|
min-height: 0;
|
|
@@ -129,7 +136,8 @@
|
|
|
129
136
|
/* Each view is its region's scroll owner: block insets become padding inside
|
|
130
137
|
the scroller so content scrolls under an unsafe edge but can always be
|
|
131
138
|
scrolled clear. A view whose only child is a Pane or layout lets that child
|
|
132
|
-
own the insets instead
|
|
139
|
+
own the insets instead (it inherits the viewport's context); a padded view
|
|
140
|
+
clears the context on itself, so its other content inherits zero. */
|
|
133
141
|
.kui-nav-stack__view:not(
|
|
134
142
|
:has(
|
|
135
143
|
> :is(
|
|
@@ -141,24 +149,12 @@
|
|
|
141
149
|
):only-child
|
|
142
150
|
)
|
|
143
151
|
) {
|
|
144
|
-
padding-block: var(--
|
|
145
|
-
var(--
|
|
146
|
-
padding-inline: var(--
|
|
147
|
-
var(--
|
|
148
|
-
scroll-padding-block: var(--
|
|
149
|
-
var(--
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.kui-nav-stack__view
|
|
153
|
-
> :not(
|
|
154
|
-
:is(
|
|
155
|
-
[data-component="pane"],
|
|
156
|
-
[data-component="nav-stack"],
|
|
157
|
-
[data-component="split-view"],
|
|
158
|
-
[data-component="workbench"],
|
|
159
|
-
[data-component="tab-scaffold"]
|
|
160
|
-
):only-child
|
|
161
|
-
) {
|
|
152
|
+
padding-block: var(--_kui-nav-stack-view-edge-block-start)
|
|
153
|
+
var(--_kui-nav-stack-view-edge-block-end);
|
|
154
|
+
padding-inline: var(--_kui-nav-stack-view-edge-inline-start)
|
|
155
|
+
var(--_kui-nav-stack-view-edge-inline-end);
|
|
156
|
+
scroll-padding-block: var(--_kui-nav-stack-view-edge-block-start)
|
|
157
|
+
var(--_kui-nav-stack-view-edge-block-end);
|
|
162
158
|
--kui-edge-inset-block-start: 0px;
|
|
163
159
|
--kui-edge-inset-block-end: 0px;
|
|
164
160
|
--kui-edge-inset-inline-start: 0px;
|
|
@@ -563,17 +563,17 @@
|
|
|
563
563
|
|
|
564
564
|
/* The menu insets a composing parent asks for. A PopupMenu applies them to
|
|
565
565
|
itself; its default is the Select listbox inset above, which a
|
|
566
|
-
ToolbarControlGroup's `
|
|
566
|
+
ToolbarControlGroup's `default` inset keeps. A PopupSurface's inset follows
|
|
567
567
|
the group's, so a surface wins when both apply. */
|
|
568
568
|
.kui-toolbar-control-group[data-menu-inset="compact"]
|
|
569
569
|
.kui-popup-menu__menu:not([data-submenu]) {
|
|
570
570
|
padding: 0.25rem;
|
|
571
571
|
}
|
|
572
|
-
.kui-toolbar-control-group[data-menu-inset="
|
|
572
|
+
.kui-toolbar-control-group[data-menu-inset="none"]
|
|
573
573
|
.kui-popup-menu__menu:not([data-submenu]) {
|
|
574
574
|
padding: 0;
|
|
575
575
|
}
|
|
576
|
-
.kui-popup-surface[data-inset="
|
|
576
|
+
.kui-popup-surface[data-inset="default"]
|
|
577
577
|
> .kui-popup-menu
|
|
578
578
|
> .kui-popup-menu__menu {
|
|
579
579
|
padding: var(--kui-surface-inset, 0.5rem);
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
> .kui-popup-menu__menu {
|
|
584
584
|
padding: 0.25rem;
|
|
585
585
|
}
|
|
586
|
-
.kui-popup-surface[data-inset="
|
|
586
|
+
.kui-popup-surface[data-inset="none"]
|
|
587
587
|
> .kui-popup-menu
|
|
588
588
|
> .kui-popup-menu__menu {
|
|
589
589
|
padding: 0;
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
0px,
|
|
17
17
|
calc(var(--kui-segmented-radius) - var(--kui-layout-highlight-inset, 2px))
|
|
18
18
|
);
|
|
19
|
+
/* Context for a choice's corner badge (badge.css, KF-170258): the surface
|
|
20
|
+
under every segment, which is the track's own fill. */
|
|
21
|
+
--_kui-segmented-control-badge-base: var(--kui-segmented-background);
|
|
19
22
|
display: inline-flex;
|
|
20
23
|
max-width: 100%;
|
|
21
24
|
min-height: var(--kui-toolbar-group-size, calc(2px + 2.625rem));
|
|
@@ -78,6 +81,12 @@
|
|
|
78
81
|
--kui-toolbar-control-selected-shadow,
|
|
79
82
|
var(--kui-shadow-s)
|
|
80
83
|
);
|
|
84
|
+
/* The toolbar track has no fill: a segment sits on its group's surface
|
|
85
|
+
(the context value the group provides), or the page when standalone. */
|
|
86
|
+
--_kui-segmented-control-badge-base: var(
|
|
87
|
+
--_kui-toolbar-control-group-badge-ring,
|
|
88
|
+
var(--kui-color-surface)
|
|
89
|
+
);
|
|
81
90
|
min-height: 2.5rem;
|
|
82
91
|
padding: 0;
|
|
83
92
|
overflow: visible;
|
|
@@ -100,8 +109,13 @@
|
|
|
100
109
|
}
|
|
101
110
|
|
|
102
111
|
.kui-segmented-control__item {
|
|
112
|
+
/* The segment's own fill, layered over the track for a corner badge's
|
|
113
|
+
ring: none at rest, then the hover or selected fill. */
|
|
114
|
+
--_kui-segmented-control-badge-ring: transparent;
|
|
103
115
|
appearance: none;
|
|
104
116
|
display: inline-flex;
|
|
117
|
+
/* Anchors a choice's corner badge. */
|
|
118
|
+
position: relative;
|
|
105
119
|
min-width: 2.5rem;
|
|
106
120
|
min-height: 2.5rem;
|
|
107
121
|
padding: 0.4375rem var(--kui-layout-item-padding, 0.5rem);
|
|
@@ -124,7 +138,7 @@
|
|
|
124
138
|
transition-property: background, border, box-shadow;
|
|
125
139
|
}
|
|
126
140
|
|
|
127
|
-
.kui-segmented-control[data-size="
|
|
141
|
+
.kui-segmented-control[data-size="compact"] .kui-segmented-control__item {
|
|
128
142
|
padding-inline: 0.4375rem;
|
|
129
143
|
font-size: var(--kui-font-2xs);
|
|
130
144
|
}
|
|
@@ -135,12 +149,14 @@
|
|
|
135
149
|
}
|
|
136
150
|
|
|
137
151
|
.kui-segmented-control__item:hover:not(:disabled) {
|
|
152
|
+
--_kui-segmented-control-badge-ring: var(--kui-segmented-hover-background);
|
|
138
153
|
border-color: var(--kui-segmented-hover-border);
|
|
139
154
|
background: var(--kui-segmented-hover-background);
|
|
140
155
|
}
|
|
141
156
|
|
|
142
157
|
.kui-segmented-control__item[data-selected="true"],
|
|
143
158
|
.kui-segmented-control__item[data-selected="true"]:hover:not(:disabled) {
|
|
159
|
+
--_kui-segmented-control-badge-ring: var(--kui-segmented-selected-background);
|
|
144
160
|
border-color: var(--kui-segmented-selected-border);
|
|
145
161
|
color: var(--kui-segmented-selected-foreground);
|
|
146
162
|
background: var(--kui-segmented-selected-background);
|