@kerfjs/ui 5.0.0-beta.123 → 5.0.0-beta.124
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 +28 -5
- package/ai/application-ui-diagnostic-ids-v1.json +25 -1
- package/ai/application-ui-profile-sync.cjs +16 -8
- package/ai/application-ui-profile.d.ts +2 -0
- package/ai/application-ui-profile.defaults.json +6 -2
- package/ai/application-ui-profile.mjs +16 -8
- package/ai/application-ui-profile.schema.json +133 -38
- package/ai/component-catalog.json +1499 -213
- package/ai/component-catalog.schema.json +19 -0
- package/ai/component-composition-rules.json +18 -2
- package/ai/component-composition.d.ts +13 -0
- package/ai/component-composition.json +684 -25
- package/ai/component-composition.schema.json +58 -0
- package/ai/component-props-overlay.json +952 -0
- package/ai/component-props-overlay.schema.json +68 -0
- package/ai/component-props.json +29624 -0
- package/ai/component-props.schema.json +401 -0
- package/ai/components/README.md +11 -4
- package/ai/components/application-tabs.md +2 -2
- package/ai/components/backdrop-image.md +2 -1
- package/ai/components/button.md +12 -6
- package/ai/components/checkbox-group.md +2 -0
- package/ai/components/checkbox.md +2 -0
- package/ai/components/chip.md +2 -0
- package/ai/components/choice-chips.md +5 -1
- package/ai/components/color-field.md +2 -0
- package/ai/components/color-picker.md +2 -0
- package/ai/components/color-swatches.md +2 -0
- package/ai/components/column-explorer.md +89 -0
- package/ai/components/column-track.md +3 -2
- package/ai/components/combobox.md +2 -0
- package/ai/components/content-item.md +7 -2
- package/ai/components/disclosure.md +2 -0
- package/ai/components/file-picker.md +5 -2
- package/ai/components/form.md +86 -0
- package/ai/components/foundation.md +1 -1
- package/ai/components/list-action-row.md +2 -0
- package/ai/components/list-detail-dialog.md +2 -0
- package/ai/components/list-header.md +2 -0
- package/ai/components/list-item.md +4 -0
- package/ai/components/list.md +6 -2
- package/ai/components/message-composer.md +3 -1
- package/ai/components/nav-stack.md +2 -0
- package/ai/components/paged-view.md +89 -0
- package/ai/components/pane.md +4 -1
- package/ai/components/popup-menu.md +5 -2
- package/ai/components/radio-group.md +2 -0
- package/ai/components/recipe-composer-form.md +2 -2
- package/ai/components/scroll-effect.md +84 -0
- package/ai/components/search-field.md +2 -0
- package/ai/components/segmented-control.md +2 -0
- package/ai/components/select.md +4 -0
- package/ai/components/sized-region.md +86 -0
- package/ai/components/slider.md +2 -0
- package/ai/components/split-button.md +3 -1
- package/ai/components/split-view.md +1 -1
- package/ai/components/state-banner.md +2 -0
- package/ai/components/summary-row.md +14 -8
- package/ai/components/surface-scaffold.md +5 -3
- package/ai/components/switch.md +2 -0
- package/ai/components/tab-bar.md +5 -2
- package/ai/components/tab-navigator.md +2 -0
- package/ai/components/tab-panel.md +84 -0
- package/ai/components/tabs.md +6 -2
- package/ai/components/tag-field.md +2 -0
- package/ai/components/text-field.md +2 -0
- package/ai/components/text.md +3 -0
- package/ai/components/toolbar-control-group.md +10 -3
- package/ai/components/toolbar-text.md +2 -0
- package/ai/components/toolbar.md +4 -3
- package/ai/components/tree-list.md +95 -0
- package/ai/components/wa-accordion-item.md +2 -0
- package/ai/components/wa-breadcrumb-item.md +2 -0
- package/ai/components/wa-button.md +2 -0
- package/ai/components/wa-carousel.md +2 -0
- package/ai/components/wa-checkbox.md +2 -0
- package/ai/components/wa-color-picker.md +2 -0
- package/ai/components/wa-comparison.md +2 -0
- package/ai/components/wa-copy-button.md +2 -0
- package/ai/components/wa-details.md +2 -0
- package/ai/components/wa-dialog.md +2 -0
- package/ai/components/wa-drawer.md +2 -0
- package/ai/components/wa-dropdown-item.md +2 -0
- package/ai/components/wa-input.md +2 -0
- package/ai/components/wa-known-date.md +2 -0
- package/ai/components/wa-number-input.md +2 -0
- package/ai/components/wa-otp-input.md +2 -0
- package/ai/components/wa-pagination.md +2 -0
- package/ai/components/wa-radio.md +2 -0
- package/ai/components/wa-rating.md +2 -0
- package/ai/components/wa-select.md +2 -0
- package/ai/components/wa-slider.md +2 -0
- package/ai/components/wa-switch.md +2 -0
- package/ai/components/wa-tab-panel.md +5 -5
- package/ai/components/wa-tab.md +2 -0
- package/ai/components/wa-tag-input.md +2 -0
- package/ai/components/wa-textarea.md +2 -0
- package/ai/components/wa-time-input.md +2 -0
- package/ai/components/wa-tree-item.md +12 -5
- package/ai/components/wa-tree.md +10 -5
- package/ai/components/wa-zoomable-frame.md +2 -0
- package/ai/components/workbench-dialog.md +2 -0
- package/ai/public-api-signatures-v1.md +1249 -127
- package/ai/skill.md +106 -39
- package/ai/view-document.schema.json +360 -0
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/analyzer/index.mjs +89 -1
- package/dist/anchor-name-BZ1rpxaw.d.ts +4 -0
- package/dist/backdrop-image.d.ts +6 -2
- package/dist/backdrop-image.js +2 -1
- package/dist/badge.js +1 -1
- package/dist/browser/backdrop-image.js +1 -0
- package/dist/browser/catalog.js +1 -1
- package/dist/browser/collapsible-panel.js +1 -0
- package/dist/browser/column-explorer.js +9 -0
- package/dist/browser/content-item.js +1 -0
- package/dist/browser/editor.js +45 -0
- package/dist/browser/form.js +3 -0
- package/dist/browser/list-detail-dialog.js +1 -0
- package/dist/browser/nav-stack.js +1 -0
- package/dist/browser/paged-view.js +3 -0
- package/dist/browser/scroll-effect.js +3 -0
- package/dist/browser/sized-region.js +3 -0
- package/dist/browser/split-view.js +1 -0
- package/dist/browser/tab-panel.js +3 -0
- package/dist/browser/toolbar-control-group.js +1 -0
- package/dist/browser/tree-list.js +7 -0
- package/dist/browser/workbench-dialog.js +1 -0
- package/dist/browser/workbench.js +1 -0
- package/dist/button.d.ts +54 -13
- package/dist/button.js +2 -1
- package/dist/catalog-resources.d.ts +3 -2
- package/dist/catalog.d.ts +3 -2
- package/dist/catalog.js +21 -17
- package/dist/catalog.js.map +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chip.js +1 -1
- package/dist/choice-chips.d.ts +21 -2
- package/dist/choice-chips.js +2 -1
- package/dist/{chunk-3WWX2O4G.js → chunk-2E7S5C4D.js} +5 -46
- package/dist/chunk-2E7S5C4D.js.map +1 -0
- package/dist/{chunk-QYMJHS4K.js → chunk-34FWYJX6.js} +9 -3
- package/dist/chunk-34FWYJX6.js.map +1 -0
- package/dist/{chunk-OUCHU7JB.js → chunk-3JOEJT2Z.js} +7 -7
- package/dist/{chunk-OUCHU7JB.js.map → chunk-3JOEJT2Z.js.map} +1 -1
- package/dist/chunk-3S3WXAZ5.js +207 -0
- package/dist/chunk-3S3WXAZ5.js.map +1 -0
- package/dist/{chunk-AN5IWMTM.js → chunk-3TBMGGTA.js} +6 -3
- package/dist/chunk-3TBMGGTA.js.map +1 -0
- package/dist/{chunk-3Z7N2NAZ.js → chunk-3XSY5LAB.js} +4 -4
- package/dist/{chunk-3Z7N2NAZ.js.map → chunk-3XSY5LAB.js.map} +1 -1
- package/dist/chunk-44AOBT2F.js +16 -0
- package/dist/chunk-44AOBT2F.js.map +1 -0
- package/dist/{chunk-YWLDLNAV.js → chunk-4IXG6XCT.js} +18 -3
- 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-LZUUUHNH.js → chunk-4Z4QSTRF.js} +20 -3
- package/dist/chunk-4Z4QSTRF.js.map +1 -0
- package/dist/{chunk-QH5KOFNS.js → chunk-5KWXM5O7.js} +15 -3
- package/dist/chunk-5KWXM5O7.js.map +1 -0
- package/dist/{chunk-EYDXFOSH.js → chunk-5SFHBYEY.js} +2 -2
- package/dist/chunk-5SFHBYEY.js.map +1 -0
- package/dist/{chunk-HU5IHXCI.js → chunk-6BXPN5SC.js} +3 -3
- package/dist/{chunk-HU5IHXCI.js.map → chunk-6BXPN5SC.js.map} +1 -1
- package/dist/{chunk-6VVIW7VB.js → chunk-73LC3JAL.js} +13 -4
- package/dist/chunk-73LC3JAL.js.map +1 -0
- package/dist/{chunk-IO27YTL3.js → chunk-76VCWWUA.js} +2 -2
- package/dist/{chunk-IO27YTL3.js.map → chunk-76VCWWUA.js.map} +1 -1
- package/dist/{chunk-ETFP7HAR.js → chunk-7AUZG5EW.js} +13 -4
- package/dist/chunk-7AUZG5EW.js.map +1 -0
- package/dist/{chunk-3V4OCDTL.js → chunk-7DIWVGGA.js} +2 -14
- 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-WPP5Q4A5.js → chunk-ADMWT7FX.js} +19 -1
- package/dist/chunk-ADMWT7FX.js.map +1 -0
- package/dist/{chunk-LMHN2TJL.js → chunk-BCHK33XL.js} +2 -2
- package/dist/{chunk-LMHN2TJL.js.map → chunk-BCHK33XL.js.map} +1 -1
- package/dist/chunk-BCO673YW.js +123 -0
- package/dist/chunk-BCO673YW.js.map +1 -0
- package/dist/{chunk-OQP3PFKQ.js → chunk-BZXA5SSA.js} +90 -33
- package/dist/chunk-BZXA5SSA.js.map +1 -0
- package/dist/{chunk-LTBVP6VN.js → chunk-C4FBYP2D.js} +2 -2
- package/dist/{chunk-LTBVP6VN.js.map → chunk-C4FBYP2D.js.map} +1 -1
- package/dist/{chunk-AMIHGFLP.js → chunk-CCPWJDRW.js} +4 -2
- package/dist/chunk-CCPWJDRW.js.map +1 -0
- package/dist/{chunk-S4Y3YTAI.js → chunk-CJAKN2KZ.js} +2 -2
- package/dist/{chunk-S4Y3YTAI.js.map → chunk-CJAKN2KZ.js.map} +1 -1
- package/dist/chunk-CKPI4WIN.js +58 -0
- package/dist/chunk-CKPI4WIN.js.map +1 -0
- package/dist/{chunk-HJXVVFBT.js → chunk-CMG4OZPV.js} +13 -2
- package/dist/chunk-CMG4OZPV.js.map +1 -0
- package/dist/{chunk-KH4KEMSP.js → chunk-COQI4OMZ.js} +1 -1
- package/dist/chunk-COQI4OMZ.js.map +1 -0
- package/dist/{chunk-G3J7JDP6.js → chunk-CPTQABDQ.js} +10 -3
- package/dist/chunk-CPTQABDQ.js.map +1 -0
- package/dist/{chunk-TI2GV36S.js → chunk-CRHKWHTA.js} +4 -4
- package/dist/{chunk-TI2GV36S.js.map → chunk-CRHKWHTA.js.map} +1 -1
- package/dist/{chunk-3KFMLOTH.js → chunk-DBP3N6E5.js} +8 -5
- package/dist/chunk-DBP3N6E5.js.map +1 -0
- package/dist/chunk-DJ65XFVN.js +231 -0
- package/dist/chunk-DJ65XFVN.js.map +1 -0
- package/dist/chunk-DKPYHVIV.js +13 -0
- package/dist/chunk-DKPYHVIV.js.map +1 -0
- package/dist/{chunk-ITUQC4FW.js → chunk-DV6GE57V.js} +31 -3
- package/dist/chunk-DV6GE57V.js.map +1 -0
- package/dist/{chunk-S3ECMF23.js → chunk-E7Q6UNCB.js} +11 -3
- package/dist/chunk-E7Q6UNCB.js.map +1 -0
- package/dist/{chunk-C26Q6P4Q.js → chunk-E7ZRBMVQ.js} +3 -3
- package/dist/{chunk-C26Q6P4Q.js.map → chunk-E7ZRBMVQ.js.map} +1 -1
- package/dist/chunk-ECVTRAXN.js +37 -0
- package/dist/chunk-ECVTRAXN.js.map +1 -0
- package/dist/{chunk-EIET4QLK.js → chunk-EHR7R7YP.js} +14 -3
- package/dist/chunk-EHR7R7YP.js.map +1 -0
- package/dist/{chunk-5J6Z4BWY.js → chunk-EXGDKG7B.js} +127 -5
- package/dist/chunk-EXGDKG7B.js.map +1 -0
- package/dist/{chunk-7K6U6FCN.js → chunk-F34LHBQI.js} +47 -12
- package/dist/chunk-F34LHBQI.js.map +1 -0
- package/dist/{chunk-IIQ2XIMU.js → chunk-F3PZGFEA.js} +32 -11
- package/dist/chunk-F3PZGFEA.js.map +1 -0
- package/dist/{chunk-3OP66VXU.js → chunk-FJMABKKV.js} +5 -3
- package/dist/chunk-FJMABKKV.js.map +1 -0
- package/dist/{chunk-B53PS2LE.js → chunk-FNJA4S6J.js} +7 -3
- package/dist/chunk-FNJA4S6J.js.map +1 -0
- package/dist/{chunk-YMUIQRWK.js → chunk-FQETQ7CM.js} +6 -2
- package/dist/chunk-FQETQ7CM.js.map +1 -0
- package/dist/{chunk-KCS6NJ3O.js → chunk-FR5G77K5.js} +2 -2
- package/dist/{chunk-KCS6NJ3O.js.map → chunk-FR5G77K5.js.map} +1 -1
- package/dist/chunk-GVII4JSD.js +153 -0
- package/dist/chunk-GVII4JSD.js.map +1 -0
- package/dist/chunk-HPOXLOVC.js +184 -0
- package/dist/chunk-HPOXLOVC.js.map +1 -0
- package/dist/{chunk-EKHDLBRP.js → chunk-JAC6AVZN.js} +21 -3
- package/dist/chunk-JAC6AVZN.js.map +1 -0
- package/dist/{chunk-CTQUDCY5.js → chunk-JG4ONAOI.js} +4 -2
- package/dist/{chunk-CTQUDCY5.js.map → chunk-JG4ONAOI.js.map} +1 -1
- package/dist/{chunk-K67XBCHG.js → chunk-JHUEYWWI.js} +6 -4
- package/dist/chunk-JHUEYWWI.js.map +1 -0
- package/dist/{chunk-GS2QD3N7.js → chunk-JZZVWTUB.js} +2 -2
- package/dist/{chunk-GS2QD3N7.js.map → chunk-JZZVWTUB.js.map} +1 -1
- package/dist/{chunk-XRZSK2WC.js → chunk-KACJOE2N.js} +16 -5
- package/dist/chunk-KACJOE2N.js.map +1 -0
- package/dist/chunk-KELWWCMX.js +426 -0
- package/dist/chunk-KELWWCMX.js.map +1 -0
- package/dist/{chunk-KDQZ3E5C.js → chunk-KLR3DCHH.js} +58 -4
- package/dist/chunk-KLR3DCHH.js.map +1 -0
- package/dist/{chunk-S3DCRI2M.js → chunk-LD6A6PYB.js} +43 -5
- package/dist/chunk-LD6A6PYB.js.map +1 -0
- package/dist/{chunk-BKUMG2KB.js → chunk-LET362AM.js} +13 -3
- package/dist/chunk-LET362AM.js.map +1 -0
- package/dist/{chunk-C2ZO3OZZ.js → chunk-LOW7J7SE.js} +4 -4
- package/dist/chunk-LOW7J7SE.js.map +1 -0
- package/dist/{chunk-ITENVZ6Q.js → chunk-M72QLDUO.js} +13 -4
- package/dist/chunk-M72QLDUO.js.map +1 -0
- package/dist/{chunk-OHPYT2BH.js → chunk-MLDO7WLA.js} +2 -2
- package/dist/{chunk-OHPYT2BH.js.map → chunk-MLDO7WLA.js.map} +1 -1
- package/dist/{chunk-D5RGM3XA.js → chunk-NA4LKVPX.js} +12 -2
- package/dist/chunk-NA4LKVPX.js.map +1 -0
- package/dist/chunk-NR3ZO4LK.js +67 -0
- package/dist/chunk-NR3ZO4LK.js.map +1 -0
- package/dist/{chunk-YPAQFBMN.js → chunk-NYNNNEAU.js} +44 -10
- package/dist/chunk-NYNNNEAU.js.map +1 -0
- package/dist/chunk-OKZTLRGG.js +34 -0
- package/dist/chunk-OKZTLRGG.js.map +1 -0
- package/dist/{chunk-ZX2QQJXD.js → chunk-PVKAIVKE.js} +95 -61
- package/dist/chunk-PVKAIVKE.js.map +1 -0
- package/dist/{chunk-Y6KT7ZTR.js → chunk-Q2CLQ3IJ.js} +21 -3
- package/dist/chunk-Q2CLQ3IJ.js.map +1 -0
- package/dist/{chunk-2J7XKAZX.js → chunk-Q2SLOMN6.js} +7 -6
- package/dist/chunk-Q2SLOMN6.js.map +1 -0
- package/dist/{chunk-S2XULQEK.js → chunk-Q5BPZPCO.js} +2 -2
- package/dist/{chunk-S2XULQEK.js.map → chunk-Q5BPZPCO.js.map} +1 -1
- package/dist/{chunk-ROEBKSIY.js → chunk-Q7RILH2D.js} +14 -6
- package/dist/chunk-Q7RILH2D.js.map +1 -0
- package/dist/chunk-QR7MGGOM.js +49 -0
- package/dist/chunk-QR7MGGOM.js.map +1 -0
- package/dist/{chunk-PS24PVR6.js → chunk-QXXLDY6I.js} +50 -10
- 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-4OV272LF.js → chunk-R6FIXYAE.js} +4 -4
- package/dist/{chunk-4OV272LF.js.map → chunk-R6FIXYAE.js.map} +1 -1
- package/dist/{chunk-N2K3QGSX.js → chunk-RGB4DPMN.js} +16 -3
- package/dist/chunk-RGB4DPMN.js.map +1 -0
- package/dist/{chunk-TKNVL53O.js → chunk-RPJOLDSR.js} +11 -3
- package/dist/chunk-RPJOLDSR.js.map +1 -0
- package/dist/chunk-SBCXWGNP.js +256 -0
- package/dist/chunk-SBCXWGNP.js.map +1 -0
- package/dist/{chunk-WPNIKZMJ.js → chunk-SJBMKA4X.js} +2 -2
- package/dist/{chunk-WPNIKZMJ.js.map → chunk-SJBMKA4X.js.map} +1 -1
- package/dist/{chunk-RMWNO6BA.js → chunk-SNUDT6AX.js} +2 -2
- package/dist/{chunk-RMWNO6BA.js.map → chunk-SNUDT6AX.js.map} +1 -1
- package/dist/{chunk-NR6O74ST.js → chunk-SPI6VMIY.js} +14 -10
- package/dist/chunk-SPI6VMIY.js.map +1 -0
- package/dist/{chunk-ZN7KUMPY.js → chunk-SWXWLSUD.js} +17 -3
- package/dist/chunk-SWXWLSUD.js.map +1 -0
- package/dist/chunk-TBVSPSGX.js +14 -0
- package/dist/chunk-TBVSPSGX.js.map +1 -0
- package/dist/{chunk-UMNHJSIO.js → chunk-TPLVC5BE.js} +2 -2
- package/dist/{chunk-UMNHJSIO.js.map → chunk-TPLVC5BE.js.map} +1 -1
- package/dist/chunk-TRJS7M2H.js +39 -0
- package/dist/chunk-TRJS7M2H.js.map +1 -0
- package/dist/chunk-TXBNPEIJ.js +31 -0
- package/dist/chunk-TXBNPEIJ.js.map +1 -0
- package/dist/{chunk-VEME3D7K.js → chunk-UD5KHQOH.js} +27 -3
- package/dist/chunk-UD5KHQOH.js.map +1 -0
- package/dist/{chunk-5CLMV5YU.js → chunk-UPHPFKAD.js} +54 -18
- package/dist/chunk-UPHPFKAD.js.map +1 -0
- package/dist/{chunk-WVS6CUCT.js → chunk-V3IXAI4L.js} +6 -2
- package/dist/chunk-V3IXAI4L.js.map +1 -0
- package/dist/{chunk-CVD5IZGB.js → chunk-VBXKYT4O.js} +7 -2
- package/dist/chunk-VBXKYT4O.js.map +1 -0
- package/dist/{chunk-OZ6X76G5.js → chunk-VNT4MXR5.js} +4 -3
- package/dist/chunk-VNT4MXR5.js.map +1 -0
- package/dist/{chunk-K57NINLH.js → chunk-VPDSPD76.js} +54 -1
- package/dist/chunk-VPDSPD76.js.map +1 -0
- package/dist/chunk-VX3YF2UD.js +77 -0
- package/dist/chunk-VX3YF2UD.js.map +1 -0
- package/dist/chunk-WCMGPAY2.js +103 -0
- package/dist/chunk-WCMGPAY2.js.map +1 -0
- package/dist/{chunk-DZJ4GBSP.js → chunk-WSPXSWFG.js} +21 -4
- package/dist/chunk-WSPXSWFG.js.map +1 -0
- package/dist/{chunk-NB6POCFH.js → chunk-WVQDIOD7.js} +56 -11
- package/dist/chunk-WVQDIOD7.js.map +1 -0
- package/dist/{chunk-F653O57X.js → chunk-Y4VR6VNM.js} +6 -3
- package/dist/chunk-Y4VR6VNM.js.map +1 -0
- package/dist/{chunk-CEJ5FK6G.js → chunk-YHRJNKD5.js} +2 -2
- package/dist/{chunk-CEJ5FK6G.js.map → chunk-YHRJNKD5.js.map} +1 -1
- package/dist/{chunk-XWNXGFX3.js → chunk-Z3T24FX3.js} +2 -2
- package/dist/{chunk-XWNXGFX3.js.map → chunk-Z3T24FX3.js.map} +1 -1
- package/dist/collapsible-panel.d.ts +10 -3
- package/dist/collapsible-panel.js +45 -5
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/color-field.js +2 -2
- package/dist/color-picker.js +1 -1
- package/dist/color-swatches.js +1 -1
- package/dist/column-explorer.d.ts +67 -0
- package/dist/column-explorer.js +140 -0
- package/dist/column-explorer.js.map +1 -0
- package/dist/column-track.d.ts +12 -3
- package/dist/column-track.js +1 -1
- package/dist/combobox.d.ts +5 -1
- package/dist/combobox.js +2 -1
- package/dist/content-item.d.ts +14 -4
- package/dist/content-item.js +2 -1
- package/dist/content-swap.d.ts +5 -1
- package/dist/content-swap.js +2 -1
- package/dist/corner-status.d.ts +5 -1
- package/dist/corner-status.js +2 -1
- package/dist/device-class.js +1 -101
- package/dist/device-class.js.map +1 -1
- package/dist/disclosure-arrow.d.ts +5 -1
- package/dist/disclosure-arrow.js +2 -1
- package/dist/disclosure.js +2 -2
- package/dist/edge-activity-indicator.d.ts +5 -1
- package/dist/edge-activity-indicator.js +2 -1
- package/dist/editor.d.ts +344 -0
- package/dist/editor.js +10076 -0
- package/dist/editor.js.map +1 -0
- package/dist/empty-state.d.ts +5 -1
- package/dist/empty-state.js +2 -1
- package/dist/{extension-attributes-mu8MFUl0.d.ts → extension-attributes-IJ4decoa.d.ts} +7 -1
- package/dist/file-picker.d.ts +25 -4
- package/dist/file-picker.js +2 -1
- package/dist/floating-toolbar.d.ts +5 -1
- 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.js +1 -1
- package/dist/grid.js +1 -1
- package/dist/index.d.ts +14 -7
- package/dist/index.js +82 -70
- package/dist/list-action-row.d.ts +1 -1
- package/dist/list-action-row.js +2 -1
- package/dist/list-detail-dialog.d.ts +10 -3
- package/dist/list-detail-dialog.js +15 -11
- package/dist/list-detail-dialog.js.map +1 -1
- package/dist/list-header.d.ts +11 -3
- package/dist/list-header.js +1 -1
- package/dist/list-inset-control.d.ts +5 -1
- package/dist/list-inset-control.js +2 -1
- package/dist/list-inset-text.js +1 -1
- package/dist/list-item.js +3 -1
- package/dist/list.d.ts +130 -11
- package/dist/list.js +1 -1
- package/dist/loading-spinner.d.ts +5 -1
- package/dist/loading-spinner.js +2 -1
- package/dist/lucide-icon.d.ts +5 -1
- package/dist/lucide-icon.js +2 -1
- package/dist/message-composer.js +1 -1
- package/dist/{nav-stack-CrZF95VO.d.ts → nav-stack-DwxpXxqJ.d.ts} +13 -2
- package/dist/nav-stack.d.ts +3 -2
- package/dist/nav-stack.js +4 -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 +42 -5
- package/dist/pane.js +2 -1
- package/dist/popup-menu-register.js +1 -1
- package/dist/popup-menu.d.ts +42 -2
- package/dist/popup-menu.js +2 -1
- package/dist/progress-bar.js +1 -1
- package/dist/progress-ring.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/resizable-region.d.ts +5 -1
- package/dist/resizable-region.js +2 -1
- package/dist/row.d.ts +7 -2
- package/dist/row.js +1 -1
- 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-CrGTN5sa.d.ts → search-field-5lNIszda.d.ts} +5 -1
- package/dist/search-field-model.d.ts +2 -1
- package/dist/search-field.d.ts +2 -1
- package/dist/search-field.js +2 -1
- package/dist/segmented-control.d.ts +5 -1
- package/dist/segmented-control.js +2 -1
- package/dist/select-register.js +9 -2
- package/dist/select-register.js.map +1 -1
- package/dist/select.d.ts +22 -1
- package/dist/select.js +1 -1
- 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 +5 -1
- package/dist/skeleton.js +2 -1
- package/dist/slider.js +1 -1
- package/dist/spacer.d.ts +5 -1
- package/dist/spacer.js +2 -1
- package/dist/split-button.js +1 -1
- package/dist/split-view.d.ts +7 -3
- package/dist/split-view.js +4 -1
- package/dist/state-banner.d.ts +7 -0
- package/dist/state-banner.js +1 -1
- package/dist/styles/backdrop-image.css +136 -70
- package/dist/styles/badge.css +31 -0
- package/dist/styles/button.css +103 -0
- package/dist/styles/choice-chips.css +45 -0
- package/dist/styles/column-explorer.css +6 -0
- package/dist/styles/components/actions/button/button.css +103 -0
- package/dist/styles/components/actions/popup-menu/popup-menu.css +154 -1
- package/dist/styles/components/actions/toolbar/toolbar.css +19 -11
- package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +38 -200
- package/dist/styles/components/collections/column-explorer/column-explorer.css +6 -0
- package/dist/styles/components/collections/list/list.css +6 -0
- package/dist/styles/components/collections/list-item/list-item.css +68 -2
- package/dist/styles/components/collections/summary-row/summary-row.css +39 -6
- package/dist/styles/components/collections/tree-list/tree-list.css +7 -0
- package/dist/styles/components/data-display/value-table/value-table.css +1 -1
- package/dist/styles/components/feedback/badge/badge.css +31 -0
- package/dist/styles/components/feedback/state-banner/state-banner.css +12 -7
- package/dist/styles/components/forms/choice-chips/choice-chips.css +45 -0
- package/dist/styles/components/forms/file-picker/file-picker.css +13 -2
- package/dist/styles/components/forms/form/form.css +6 -0
- package/dist/styles/components/forms/select/select.css +85 -2
- package/dist/styles/components/forms/text-field/text-field.css +44 -0
- package/dist/styles/components/layout/pane/pane.css +16 -0
- package/dist/styles/components/layout/resizable-region/resizable-region.css +0 -10
- package/dist/styles/components/layout/sized-region/sized-region.css +22 -0
- package/dist/styles/components/layout/workbench/workbench.css +0 -21
- package/dist/styles/components/navigation/nav-stack/nav-stack.css +2 -0
- package/dist/styles/components/navigation/paged-view/paged-view.css +160 -0
- package/dist/styles/components/navigation/tab-bar/tab-bar.css +9 -0
- package/dist/styles/components/navigation/tab-bar-item/tab-bar-item.css +110 -2
- package/dist/styles/components/navigation/tab-panel/tab-panel.css +7 -0
- package/dist/styles/components/surfaces/backdrop-image/backdrop-image.css +14 -70
- package/dist/styles/components/surfaces/scroll-effect/scroll-effect.css +121 -0
- package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +77 -29
- package/dist/styles/components/typography/text/text.css +4 -4
- package/dist/styles/content-item.css +551 -3
- package/dist/styles/document.css +1 -6
- package/dist/styles/editor/editor.css +530 -0
- package/dist/styles/editor.css +4 -0
- package/dist/styles/file-picker.css +13 -2
- package/dist/styles/form.css +6 -0
- package/dist/styles/foundation.css +55 -1
- package/dist/styles/list-item.css +68 -2
- package/dist/styles/list.css +6 -0
- package/dist/styles/nav-stack.css +2 -0
- package/dist/styles/overlay-sheet.css +7 -7
- package/dist/styles/paged-view.css +160 -0
- package/dist/styles/pane.css +16 -0
- package/dist/styles/popup-menu.css +154 -1
- package/dist/styles/resizable-region.css +0 -10
- package/dist/styles/scroll-effect.css +121 -0
- package/dist/styles/select.css +85 -2
- package/dist/styles/sized-region.css +22 -0
- package/dist/styles/state-banner.css +12 -7
- package/dist/styles/styles.css +11 -0
- package/dist/styles/summary-row.css +39 -6
- package/dist/styles/surface-scaffold.css +77 -29
- package/dist/styles/tab-bar-item.css +110 -2
- package/dist/styles/tab-bar.css +9 -0
- package/dist/styles/tab-panel.css +7 -0
- package/dist/styles/text-field.css +44 -0
- package/dist/styles/text.css +4 -4
- package/dist/styles/toolbar-control-group.css +38 -200
- package/dist/styles/toolbar.css +19 -11
- package/dist/styles/tree-list.css +7 -0
- package/dist/styles/value-table.css +1 -1
- package/dist/styles/webawesome.css +350 -6
- package/dist/styles/workbench.css +0 -21
- package/dist/summary-row.d.ts +9 -1
- package/dist/summary-row.js +1 -1
- package/dist/sunken-panel.d.ts +5 -1
- package/dist/sunken-panel.js +2 -1
- package/dist/surface-scaffold-register.js +1 -1
- package/dist/surface-scaffold.d.ts +37 -6
- package/dist/surface-scaffold.js +3 -2
- package/dist/switch.js +1 -1
- package/dist/tab-bar-item.d.ts +8 -1
- package/dist/tab-bar-item.js +1 -1
- package/dist/tab-bar.d.ts +15 -2
- package/dist/tab-bar.js +2 -1
- package/dist/tab-navigator.d.ts +25 -3
- package/dist/tab-navigator.js +42 -19
- package/dist/tab-navigator.js.map +1 -1
- 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 +5 -1
- package/dist/tag-field.js +2 -1
- package/dist/text-field.d.ts +22 -4
- package/dist/text-field.js +1 -1
- package/dist/text.d.ts +37 -5
- package/dist/text.js +2 -1
- package/dist/toolbar-control-group.d.ts +83 -3
- package/dist/toolbar-control-group.js +4 -1
- package/dist/toolbar-text.d.ts +9 -1
- package/dist/toolbar-text.js +2 -1
- package/dist/toolbar.d.ts +6 -1
- package/dist/toolbar.js +2 -1
- package/dist/tree-list.d.ts +42 -0
- package/dist/tree-list.js +12 -0
- package/dist/tree-list.js.map +1 -0
- package/dist/tree-rows-eHnnGLGM.d.ts +65 -0
- package/dist/value-preview.d.ts +5 -1
- package/dist/value-preview.js +2 -1
- package/dist/value-table.d.ts +9 -2
- package/dist/value-table.js +2 -1
- package/dist/wire-catalog.d.ts +3 -2
- package/dist/wire-catalog.js +4 -3
- package/dist/wire-catalog.js.map +1 -1
- package/dist/wire-choice-chips.d.ts +3 -1
- package/dist/wire-choice-chips.js +1 -1
- package/dist/wire-color-fields.js +2 -73
- package/dist/wire-color-fields.js.map +1 -1
- package/dist/wire-color-pickers.js +1 -1
- package/dist/wire-column-explorer.d.ts +13 -0
- package/dist/wire-column-explorer.js +94 -0
- package/dist/wire-column-explorer.js.map +1 -0
- package/dist/wire-content-items.d.ts +10 -1
- package/dist/wire-content-items.js +1 -293
- package/dist/wire-content-items.js.map +1 -1
- 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-nav-stack.js +1 -423
- package/dist/wire-nav-stack.js.map +1 -1
- 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-resizable-regions.js +2 -1
- package/dist/wire-scroll-dividers.js +1 -1
- package/dist/wire-search-fields.d.ts +2 -1
- package/dist/wire-search-fields.js +2 -1
- package/dist/wire-sidebar.js +1 -229
- package/dist/wire-sidebar.js.map +1 -1
- package/dist/wire-sliders.js +1 -29
- package/dist/wire-sliders.js.map +1 -1
- 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 +1 -0
- package/dist/wire-tab-bars.js +1 -1
- package/dist/wire-tab-navigator.js +1 -151
- package/dist/wire-tab-navigator.js.map +1 -1
- package/dist/wire-tag-fields.js +3 -252
- package/dist/wire-tag-fields.js.map +1 -1
- 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.js +2 -1
- package/dist/workbench-dialog.d.ts +10 -3
- package/dist/workbench-dialog.js +13 -9
- package/dist/workbench-dialog.js.map +1 -1
- package/dist/workbench.d.ts +7 -3
- package/dist/workbench.js +4 -1
- package/docs/accessibility.md +52 -9
- package/docs/app-layouts.md +70 -1
- package/docs/backdrop-image.md +10 -0
- package/docs/button.md +30 -2
- package/docs/column-explorer.md +75 -0
- package/docs/component-contract.md +38 -8
- package/docs/component-selection.md +150 -107
- package/docs/data-tables-and-lists.md +1 -1
- package/docs/design/sketch/Kerf-UI.sketch +0 -0
- package/docs/design/sketch/README.md +1 -1
- package/docs/design/sketch/coverage.md +120 -118
- package/docs/design/sketch/lists/README.md +6 -6
- package/docs/design/sketch/unified/README.md +1 -1
- package/docs/design/sketch/unified/pages/lists.png +0 -0
- package/docs/design/templates/button/emphasis-dark.svg +1 -1
- package/docs/design/templates/button/emphasis.svg +1 -1
- package/docs/design/templates/button-dark.svg +1 -1
- package/docs/design/templates/button.svg +1 -1
- 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.md +2 -2
- package/docs/document-baseline.md +6 -3
- package/docs/editor-host.md +299 -0
- package/docs/forms-and-validation.md +39 -0
- package/docs/interaction-conventions.md +1 -0
- package/docs/layout.md +87 -4
- package/docs/list-detail-dialog.md +5 -0
- package/docs/manual-test-plan.md +32 -0
- package/docs/nav-stack.md +2 -1
- package/docs/paged-view.md +89 -0
- package/docs/scroll-effect.md +127 -0
- package/docs/split-view.md +4 -1
- package/docs/surface-scaffold.md +32 -2
- package/docs/tab-navigator.md +5 -4
- package/docs/tree-list.md +134 -0
- package/docs/ui-analyzer.md +43 -25
- package/docs/ui-doctor.md +4 -1
- package/docs/ui-evaluator.md +2 -0
- package/docs/webawesome-migration.md +32 -31
- package/docs/webawesome-theme.md +27 -17
- package/docs/workbench-dialog.md +4 -0
- package/evaluator/index.mjs +14 -2
- package/llms.txt +159 -18
- package/package.json +90 -3
- package/props/cli.d.mts +1 -0
- package/props/cli.mjs +116 -0
- package/props/component-props.d.mts +177 -0
- package/props/component-props.mjs +1208 -0
- package/scripts/lib/json-schema-subset.mjs +137 -0
- package/ux-demo/recipes/app-shell.tsx +20 -22
- package/ux-demo/recipes/collapsible-sidebar.tsx +2 -2
- package/ux-demo/recipes/compact-toolbar.tsx +26 -29
- package/ux-demo/recipes/composer-form.tsx +6 -5
- package/ux-demo/recipes/list-workspace-states.tsx +39 -39
- package/ux-demo/recipes/loading-inspector.tsx +8 -6
- package/ux-demo/recipes/media-detail.tsx +29 -15
- package/ux-demo/recipes/navigation-sidebar.tsx +18 -19
- package/ux-demo/recipes/navigation-stack.tsx +2 -2
- package/ux-demo/recipes/workspace-header.tsx +16 -16
- package/view/cli.d.mts +18 -0
- package/view/cli.mjs +262 -0
- package/view/contract.mjs +342 -0
- package/view/generate.mjs +639 -0
- package/view/index.d.mts +411 -0
- package/view/index.mjs +40 -0
- package/view/interpret.mjs +271 -0
- package/view/validate-move.mjs +317 -0
- package/view/validate.mjs +1864 -0
- package/vite-editor.d.mts +130 -0
- package/vite-editor.mjs +314 -0
- package/dist/chunk-2J7XKAZX.js.map +0 -1
- package/dist/chunk-3KFMLOTH.js.map +0 -1
- package/dist/chunk-3OP66VXU.js.map +0 -1
- package/dist/chunk-3V4OCDTL.js.map +0 -1
- package/dist/chunk-3WWX2O4G.js.map +0 -1
- package/dist/chunk-5CLMV5YU.js.map +0 -1
- package/dist/chunk-5J6Z4BWY.js.map +0 -1
- package/dist/chunk-6VVIW7VB.js.map +0 -1
- package/dist/chunk-7K6U6FCN.js.map +0 -1
- package/dist/chunk-AMIHGFLP.js.map +0 -1
- package/dist/chunk-AN5IWMTM.js.map +0 -1
- package/dist/chunk-B53PS2LE.js.map +0 -1
- package/dist/chunk-BKUMG2KB.js.map +0 -1
- package/dist/chunk-C2ZO3OZZ.js.map +0 -1
- package/dist/chunk-CVD5IZGB.js.map +0 -1
- package/dist/chunk-D5RGM3XA.js.map +0 -1
- package/dist/chunk-DZJ4GBSP.js.map +0 -1
- package/dist/chunk-EIET4QLK.js.map +0 -1
- package/dist/chunk-EKHDLBRP.js.map +0 -1
- package/dist/chunk-ETFP7HAR.js.map +0 -1
- package/dist/chunk-EYDXFOSH.js.map +0 -1
- package/dist/chunk-F653O57X.js.map +0 -1
- package/dist/chunk-G3J7JDP6.js.map +0 -1
- package/dist/chunk-HJXVVFBT.js.map +0 -1
- package/dist/chunk-IIQ2XIMU.js.map +0 -1
- package/dist/chunk-ITENVZ6Q.js.map +0 -1
- package/dist/chunk-ITUQC4FW.js.map +0 -1
- package/dist/chunk-K57NINLH.js.map +0 -1
- package/dist/chunk-K67XBCHG.js.map +0 -1
- package/dist/chunk-KDQZ3E5C.js.map +0 -1
- package/dist/chunk-KH4KEMSP.js.map +0 -1
- package/dist/chunk-LZUUUHNH.js.map +0 -1
- package/dist/chunk-N2K3QGSX.js.map +0 -1
- package/dist/chunk-NB6POCFH.js.map +0 -1
- package/dist/chunk-NR6O74ST.js.map +0 -1
- package/dist/chunk-OQP3PFKQ.js.map +0 -1
- package/dist/chunk-OZ6X76G5.js.map +0 -1
- package/dist/chunk-PS24PVR6.js.map +0 -1
- package/dist/chunk-QH5KOFNS.js.map +0 -1
- package/dist/chunk-QYMJHS4K.js.map +0 -1
- package/dist/chunk-ROEBKSIY.js.map +0 -1
- package/dist/chunk-S3DCRI2M.js.map +0 -1
- package/dist/chunk-S3ECMF23.js.map +0 -1
- package/dist/chunk-TKNVL53O.js.map +0 -1
- package/dist/chunk-VEME3D7K.js.map +0 -1
- package/dist/chunk-WPP5Q4A5.js.map +0 -1
- package/dist/chunk-WVS6CUCT.js.map +0 -1
- package/dist/chunk-XRZSK2WC.js.map +0 -1
- package/dist/chunk-Y6KT7ZTR.js.map +0 -1
- package/dist/chunk-YMUIQRWK.js.map +0 -1
- package/dist/chunk-YPAQFBMN.js.map +0 -1
- package/dist/chunk-YWLDLNAV.js.map +0 -1
- package/dist/chunk-ZN7KUMPY.js.map +0 -1
- package/dist/chunk-ZX2QQJXD.js.map +0 -1
|
@@ -125,6 +125,23 @@
|
|
|
125
125
|
"An action chip is one native button (type button) named by its visible label or by actionLabel, which should include that label; Enter and Space activate it, it shows the focus ring on keyboard focus, and a disabled action chip is a disabled button that leaves the tab order. It cannot also be a link or carry a remove button.",
|
|
126
126
|
"Keep meaningful tag text visible because tone is supplementary."
|
|
127
127
|
],
|
|
128
|
+
"content": {
|
|
129
|
+
"interactive": [
|
|
130
|
+
{
|
|
131
|
+
"kind": "root",
|
|
132
|
+
"whenProps": [
|
|
133
|
+
"href",
|
|
134
|
+
"action"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"kind": "contains",
|
|
139
|
+
"whenProps": [
|
|
140
|
+
"removeAction"
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
128
145
|
"geometry": {
|
|
129
146
|
"margin": "none",
|
|
130
147
|
"border": "self",
|
|
@@ -378,6 +395,13 @@
|
|
|
378
395
|
"--kui-font-xl",
|
|
379
396
|
"--kui-font-2xl",
|
|
380
397
|
"--kui-font-weight-semibold",
|
|
398
|
+
"--kui-font-3xl",
|
|
399
|
+
"--kui-font-weight-bold",
|
|
400
|
+
"--kui-font-family-heading",
|
|
401
|
+
"--kui-font-weight-heading",
|
|
402
|
+
"--kui-line-height-condensed",
|
|
403
|
+
"--kui-color-overlay-modal",
|
|
404
|
+
"--kui-transition-slow",
|
|
381
405
|
"--kui-space-none",
|
|
382
406
|
"--kui-space-2xs",
|
|
383
407
|
"--kui-space-xs",
|
|
@@ -392,6 +416,8 @@
|
|
|
392
416
|
"--kui-layout-inline-margin",
|
|
393
417
|
"--kui-layout-item-border-width",
|
|
394
418
|
"--kui-layout-item-padding",
|
|
419
|
+
"--kui-surface-inset",
|
|
420
|
+
"--kui-container-inset",
|
|
395
421
|
"--kui-layout-item-gap",
|
|
396
422
|
"--kui-layout-content-gap",
|
|
397
423
|
"--kui-layout-control-gap",
|
|
@@ -664,7 +690,8 @@
|
|
|
664
690
|
"The header should float over the scrolling content on a translucent material so content scrolls visibly beneath it, with the first item still resting below the header (headerPresentation: overlay, measured by wireScrollDividers).",
|
|
665
691
|
"A pane needs an app-chosen surface color, such as a media detail page painted in its artwork's color (background, a typed CssColor; also in PaneConfig).",
|
|
666
692
|
"A region should take on an app color (a media page in its artwork's color) with its text, quiet text, links, fills, and chrome material re-derived to keep AA (tint: { color, scheme }; also in PaneConfig).",
|
|
667
|
-
"The header lies over imagery and must be fully transparent, with glass control groups for legibility and the material fading back in once content scrolls beneath (headerPresentation: clear, scrollEdge: material)."
|
|
693
|
+
"The header lies over imagery and must be fully transparent, with glass control groups for legibility and the material fading back in once content scrolls beneath (headerPresentation: clear, scrollEdge: material).",
|
|
694
|
+
"A whole screen that is one pane with no navigation (a single settings or notes screen) must fill a definite-height parent such as .kui-app-root, a SizedRegion, or a grid cell, or the rest of a flex column, with its header and footer pinned and its content scrolling (fill). A screen that will push or pop views, or that needs compactChrome, is a one-entry NavStack instead."
|
|
668
695
|
],
|
|
669
696
|
"avoidWhen": [
|
|
670
697
|
"Do not use Pane as a padded card or add a competing scroll owner around its content slot.",
|
|
@@ -693,7 +720,8 @@
|
|
|
693
720
|
"whether the header is docked in its own row or laid over the scrolling content on the translucent chrome material (headerPresentation, also in PaneConfig)",
|
|
694
721
|
"an optional app-chosen surface color that replaces the appearance's fill (background, a typed CssColor from @kerfjs/ui/css-values, also in PaneConfig, so a Workbench panel or mainPane, a CollapsiblePanel pane, or a NavStack view pane forwards it)",
|
|
695
722
|
"an optional scoped tint (tint: { color, scheme }, also in PaneConfig): the color and the declared light or dark scheme it belongs to; Kerf does no color detection",
|
|
696
|
-
"an optional tint accent (tint.accent) that re-derives the brand ramp, links, and focus ring inside the tinted scope at AA"
|
|
723
|
+
"an optional tint accent (tint.accent) that re-derives the brand ramp, links, and focus ring inside the tinted scope at AA",
|
|
724
|
+
"whether the pane fills a definite-height parent or the rest of a flex column (fill) instead of taking its content's height; a NavStack view, TabNavigator scene, or Workbench region already fills its only-child Pane"
|
|
697
725
|
],
|
|
698
726
|
"variants": [
|
|
699
727
|
"content only",
|
|
@@ -710,7 +738,8 @@
|
|
|
710
738
|
"app-chosen background color (background), replacing the default or sunken fill",
|
|
711
739
|
"scoped tint re-deriving surface and text tokens from an app color (tint)",
|
|
712
740
|
"clear (transparent) overlay header, optionally with the scroll-edge material (headerPresentation: clear, scrollEdge: material)",
|
|
713
|
-
"compactChrome { header, footer }: fixed, scroll, or overlay (opened by compactChromeOpen), applied by a NavStack view, TabNavigator scene, full-screen dialog, or compact Workbench"
|
|
741
|
+
"compactChrome { header, footer }: fixed, scroll, or overlay (opened by compactChromeOpen), applied by a NavStack view, TabNavigator scene, full-screen dialog, or compact Workbench",
|
|
742
|
+
"content height (default) or filling a definite-height parent (fill)"
|
|
714
743
|
],
|
|
715
744
|
"accessibility": [
|
|
716
745
|
"Choose semantic root and content elements that match the region and provide labels for landmark elements.",
|
|
@@ -726,6 +755,7 @@
|
|
|
726
755
|
"padding": "child",
|
|
727
756
|
"notes": [
|
|
728
757
|
"The pane is unpadded; separators are independently opt-in on logical edges and default off.",
|
|
758
|
+
"The pane takes its content's height by default. fill gives it height: 100% and flex: 1 1 auto, the height a NavStack view, TabNavigator scene, or Workbench region gives an only-child Pane, so it fills a definite-height parent (or the rest of a flex column) with the header and footer pinned and the content scrolling; under a parent with no definite height it keeps its content height.",
|
|
729
759
|
"Safe areas: the root and separators paint through unsafe areas while header, content, and footer pad the sides the pane still reaches (routed by --kui-edge-inset-*); content block insets are scroll padding.",
|
|
730
760
|
"The scrolling content exposes its resolved logical inline padding to descendants as --kui-pane-content-inset-inline-start/end, including safe areas and deepInset.",
|
|
731
761
|
"deepInset adds --kui-space-xs to every side of the scrolling content and its block scroll padding; header/footer chrome still owns safe-area padding at its edge.",
|
|
@@ -889,6 +919,13 @@
|
|
|
889
919
|
"A background color is app-chosen: Keep text at WCAG AA over the color: a dark background needs dark-tone content or a scoped tint; forced colors paint Canvas instead.",
|
|
890
920
|
"Clear bars have no material of their own: keep their controls in glass ToolbarControlGroups; they turn opaque under reduced transparency or increased contrast and paint Canvas in forced colors."
|
|
891
921
|
],
|
|
922
|
+
"content": {
|
|
923
|
+
"interactive": [
|
|
924
|
+
{
|
|
925
|
+
"kind": "contains"
|
|
926
|
+
}
|
|
927
|
+
]
|
|
928
|
+
},
|
|
892
929
|
"geometry": {
|
|
893
930
|
"margin": "none",
|
|
894
931
|
"border": "conditional",
|
|
@@ -1208,6 +1245,13 @@
|
|
|
1208
1245
|
"A background color is app-chosen: Keep text at WCAG AA over the color: a dark background needs dark-tone content or a scoped tint; forced colors paint Canvas instead.",
|
|
1209
1246
|
"Clear bars have no material of their own: keep their controls in glass ToolbarControlGroups; they turn opaque under reduced transparency or increased contrast and paint Canvas in forced colors."
|
|
1210
1247
|
],
|
|
1248
|
+
"content": {
|
|
1249
|
+
"interactive": [
|
|
1250
|
+
{
|
|
1251
|
+
"kind": "contains"
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1211
1255
|
"geometry": {
|
|
1212
1256
|
"margin": "none",
|
|
1213
1257
|
"border": "conditional",
|
|
@@ -1710,6 +1754,11 @@
|
|
|
1710
1754
|
"id": "sunken-panel",
|
|
1711
1755
|
"relationship": "nearest",
|
|
1712
1756
|
"when": "Use SunkenPanel for a lowered work surface without imagery."
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"id": "scroll-effect",
|
|
1760
|
+
"relationship": "nearest",
|
|
1761
|
+
"when": "Use ScrollEffect to add parallax, reveal, fade, scale, or dim to content that is not a backdrop image; BackdropImage runs on the same scroll-effect layer."
|
|
1713
1762
|
}
|
|
1714
1763
|
],
|
|
1715
1764
|
"appOwns": [
|
|
@@ -1760,6 +1809,84 @@
|
|
|
1760
1809
|
"recipe": "docs/backdrop-image.md#fallbacks"
|
|
1761
1810
|
}
|
|
1762
1811
|
},
|
|
1812
|
+
{
|
|
1813
|
+
"id": "scroll-effect",
|
|
1814
|
+
"name": "ScrollEffect",
|
|
1815
|
+
"category": "Structure",
|
|
1816
|
+
"kind": "component",
|
|
1817
|
+
"source": "kerf",
|
|
1818
|
+
"description": "A wrapper that ties compositor-only effects (parallax, reveal, fade, scale, dim) on any content to its own scroll position, with Kerf-owned static fallbacks.",
|
|
1819
|
+
"uses": [],
|
|
1820
|
+
"purpose": "Hook scroll-linked effects to any content without a scroll listener: each preset animates only transform or opacity on the wrapper's own CSS view timeline over an entry, exit, cover, or contain range, and the shared scroll-effect layer (also under BackdropImage) leaves the content static, visible, and undimmed wherever scroll-driven motion is unsupported or unwanted.",
|
|
1821
|
+
"publicExports": [
|
|
1822
|
+
"ScrollEffect"
|
|
1823
|
+
],
|
|
1824
|
+
"useWhen": [
|
|
1825
|
+
"Content should fade or scale in as it scrolls into view, fade or dim as it scrolls away, or lag the scroll (parallax), driven by its own position in the scroller.",
|
|
1826
|
+
"Several effects should compose on one block (for example reveal on entry and fade on exit) without app CSS animations, scroll listeners, or IntersectionObserver wiring."
|
|
1827
|
+
],
|
|
1828
|
+
"avoidWhen": [
|
|
1829
|
+
"Do not use it for a hero or backdrop image; BackdropImage owns image parallax, the progressive blur, and the fade into a surface color.",
|
|
1830
|
+
"Do not hand-roll scroll listeners, animation-timeline CSS, or animated filters around content in app CSS; configure ScrollEffect presets instead.",
|
|
1831
|
+
"Do not put essential information only in a revealed state; content must read correctly in the static fallback, where every effect is at rest.",
|
|
1832
|
+
"Do not use it for state transitions (opening, swapping, or dismissing content); use ContentSwap or the component that owns that motion."
|
|
1833
|
+
],
|
|
1834
|
+
"alternatives": [
|
|
1835
|
+
{
|
|
1836
|
+
"id": "backdrop-image",
|
|
1837
|
+
"relationship": "nearest",
|
|
1838
|
+
"when": "Use BackdropImage for a scrolling view that opens with an image that lags, blurs, and fades into a surface color."
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
"id": "content-swap",
|
|
1842
|
+
"relationship": "nearest",
|
|
1843
|
+
"when": "Use ContentSwap for motion that follows a state change rather than the scroll position."
|
|
1844
|
+
}
|
|
1845
|
+
],
|
|
1846
|
+
"appOwns": [
|
|
1847
|
+
"the content inside and the effects list",
|
|
1848
|
+
"each effect's range and its start and end percentages",
|
|
1849
|
+
"placing it in a vertically scrolling region"
|
|
1850
|
+
],
|
|
1851
|
+
"variants": [
|
|
1852
|
+
"parallax with a 0 to 1 lag factor or subtle (0.35)",
|
|
1853
|
+
"reveal (fade in) and fade (fade out)",
|
|
1854
|
+
"scale from and to a factor",
|
|
1855
|
+
"dim toward a peak opacity",
|
|
1856
|
+
"entry, exit, cover, or contain ranges with optional start and end percentages",
|
|
1857
|
+
"composed effects: transforms stack in array order and opacities multiply"
|
|
1858
|
+
],
|
|
1859
|
+
"accessibility": [
|
|
1860
|
+
"Effects run only with prefers-reduced-motion: no-preference and scroll-driven animation support; under data-kui-effects=\"static\", on slow-update displays, and under reduced transparency, increased contrast, or forced colors every layer is at rest: content in place, fully opaque, and undimmed. The wrappers add no roles and the dim layer is aria-hidden, so assistive technology reads the content unchanged."
|
|
1861
|
+
],
|
|
1862
|
+
"geometry": {
|
|
1863
|
+
"margin": "none",
|
|
1864
|
+
"border": "none",
|
|
1865
|
+
"padding": "none",
|
|
1866
|
+
"notes": [
|
|
1867
|
+
"A block box that adds no spacing; its content keeps its own geometry.",
|
|
1868
|
+
"It clips its content while a parallax or a scale above 1 is present, so moving content never draws over its neighbors."
|
|
1869
|
+
]
|
|
1870
|
+
},
|
|
1871
|
+
"delivery": {
|
|
1872
|
+
"browserImport": "@kerfjs/ui/scroll-effect",
|
|
1873
|
+
"manualCssImport": "@kerfjs/ui/scroll-effect.css",
|
|
1874
|
+
"sideEffects": [
|
|
1875
|
+
"browser-condition-css"
|
|
1876
|
+
]
|
|
1877
|
+
},
|
|
1878
|
+
"wiring": [],
|
|
1879
|
+
"publicClasses": [
|
|
1880
|
+
"kui-scroll-effect"
|
|
1881
|
+
],
|
|
1882
|
+
"publicTokens": [],
|
|
1883
|
+
"rootElement": "div",
|
|
1884
|
+
"links": {
|
|
1885
|
+
"catalogRoute": "?component=scroll-effect",
|
|
1886
|
+
"documentation": "docs/scroll-effect.md",
|
|
1887
|
+
"recipe": "docs/scroll-effect.md#fallbacks"
|
|
1888
|
+
}
|
|
1889
|
+
},
|
|
1763
1890
|
{
|
|
1764
1891
|
"id": "toolbar",
|
|
1765
1892
|
"name": "Toolbar",
|
|
@@ -1770,7 +1897,6 @@
|
|
|
1770
1897
|
"uses": [
|
|
1771
1898
|
"toolbar-text",
|
|
1772
1899
|
"toolbar-control-group",
|
|
1773
|
-
"wa-button",
|
|
1774
1900
|
"popup-menu"
|
|
1775
1901
|
],
|
|
1776
1902
|
"purpose": "Leading, centered, and trailing toolbar composition.",
|
|
@@ -1801,11 +1927,12 @@
|
|
|
1801
1927
|
"content-driven wrap that keeps a heading title whole",
|
|
1802
1928
|
"center priority for an expanded center control",
|
|
1803
1929
|
"trailing priority for an expanded trailing control at compact or narrow widths",
|
|
1804
|
-
"trailing groups and a standalone primary
|
|
1930
|
+
"trailing groups and a standalone primary Button wrap instead of clipping",
|
|
1805
1931
|
"outer inset independently configurable from zone gap",
|
|
1806
1932
|
"compact density: a 40px header (34px band, 3px block insets) for an embedded panel, filled with compact ToolbarControlGroups",
|
|
1807
1933
|
"app bar or bottom bar claiming its screen edges (safeAreaEdges)",
|
|
1808
|
-
"typed hideBelow/showBelow thresholds at the nearest Toolbar content width"
|
|
1934
|
+
"typed hideBelow/showBelow thresholds at the nearest Toolbar content width",
|
|
1935
|
+
"ToolbarButton corner badge: count (hidden at 0, capped at badgeMax as 99+), short text, or dot, in any semantic badgeTone"
|
|
1809
1936
|
],
|
|
1810
1937
|
"accessibility": [
|
|
1811
1938
|
"Supply a label when the toolbar needs an accessible name."
|
|
@@ -1920,12 +2047,15 @@
|
|
|
1920
2047
|
"purpose": "Provide complete toolbar action geometry through configuration, including semantic anchors, overflow containment, and dropdown menu insets without application CSS.",
|
|
1921
2048
|
"publicExports": [
|
|
1922
2049
|
"ToolbarActionLink",
|
|
2050
|
+
"ToolbarButton",
|
|
1923
2051
|
"ToolbarControlGroup"
|
|
1924
2052
|
],
|
|
1925
2053
|
"useWhen": [
|
|
1926
2054
|
"Group related controls inside a toolbar with a supported visual treatment.",
|
|
1927
2055
|
"Use ToolbarActionLink for navigation or external resources that must retain native anchor semantics inside a group.",
|
|
1928
|
-
"
|
|
2056
|
+
"Use ToolbarButton for a group's button when it must be a component rather than markup (a view document, the Kerf UI editor, or generated code): it renders exactly the native <button type=\"button\"> the group styles, icon-only with ariaLabel, labeled, or (in an avatar group) ariaLabel alone, with action, pressed, disabled, title, a native popover invoker (popoverTarget, popoverTargetAction, ariaHasPopup), and a corner badge.",
|
|
2057
|
+
"For a count on a group button, such as live workers or unread alerts, pass ToolbarButton badge (a number, short text, or true for a dot) with badgeTone (default danger) and badgeMax (default 99, so 128 shows 99+); a count of 0 shows no badge. The group owns its placement over the icon's top-trailing corner, its 2px ring against the group surface, and its compact sizing; never position a Badge over a group button with application CSS.",
|
|
2058
|
+
"Fill it with plain <button> controls (the group styles > button fully). A popup menu is a PopupMenu in a single group with nestedDropdown; it renders its own trigger, so never hand-write wa-dropdown markup. Each control stays whole: an icon sits beside its label on one row and no trigger gets a fixed width. Use overflow=wrap for independent links that should move as whole actions to another row on narrow surfaces.",
|
|
1929
2059
|
"For an avatar control, set content=avatar and avatarImage instead of inserting an img; one button paints the group and multiple buttons paint only the pressed highlight.",
|
|
1930
2060
|
"In a Workbench or CollapsiblePanel toolbar, mark a group relocateOnCollapse to keep it available in the work-area toolbar when the panel closes; place it directly or in an array in any toolbar zone.",
|
|
1931
2061
|
"Use tileTone for a contained single group containing only a direct decorative SVG icon; interactive or mixed groups retain their existing control chrome.",
|
|
@@ -1986,8 +2116,27 @@
|
|
|
1986
2116
|
"A disabled native button (disabled, or aria-disabled=\"true\" when it must stay focusable) dims to half opacity with the not-allowed cursor and no hover surface; a disabled raw wa-button paints no hover surface either. Do not add disabled styling yourself.",
|
|
1987
2117
|
"Name an icon-only button or link with aria-label, not title. Once any help-tag installer is imported (select/register, popup-menu/register, or help-tags/register), it shows an aria-hidden help tag repeating that name after a 500ms hover and at once on keyboard focus, hidden on a press and on Escape, and never joins aria-labelledby. A native title keeps the browser tooltip and gets no second tag.",
|
|
1988
2118
|
"In an overlay Pane header (headerPresentation=\"overlay\"), overlay NavStack chrome (chromePresentation=\"overlay\") or bottom toolbar (bottomToolbarPresentation=\"overlay\"), or a DialogSurface floating header's header-actions (headerPresentation=\"floating\"), a default-tone group (not dark-toned, not an avatar scrim) takes --kui-color-text for its controls, so they keep WCAG AA over content passing beneath the translucent chrome material.",
|
|
2119
|
+
"A ToolbarButton badge is decorative (aria-hidden) and never joins the accessible name: put its meaning in the button's ariaLabel or label and title yourself, for example ariaLabel=\"Workers, 2 live\" and title=\"2 workers live\".",
|
|
1989
2120
|
"A dark-toned group's hover paints a 14% surface wash over its loud fill, on one control of a group or across a lone control's whole group, so the on-loud icon keeps at least 3:1 over a light page and well above it in dark."
|
|
1990
2121
|
],
|
|
2122
|
+
"content": {
|
|
2123
|
+
"exports": {
|
|
2124
|
+
"ToolbarActionLink": {
|
|
2125
|
+
"interactive": [
|
|
2126
|
+
{
|
|
2127
|
+
"kind": "root"
|
|
2128
|
+
}
|
|
2129
|
+
]
|
|
2130
|
+
},
|
|
2131
|
+
"ToolbarButton": {
|
|
2132
|
+
"interactive": [
|
|
2133
|
+
{
|
|
2134
|
+
"kind": "root"
|
|
2135
|
+
}
|
|
2136
|
+
]
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
},
|
|
1991
2140
|
"geometry": {
|
|
1992
2141
|
"margin": "none",
|
|
1993
2142
|
"border": "self",
|
|
@@ -2135,9 +2284,7 @@
|
|
|
2135
2284
|
"source": "kerf",
|
|
2136
2285
|
"description": "A native modal dialog (DialogSurface) with Kerf's header, body, and footer chrome, typed preferred widths, viewport bounds, and presentations, plus a non-modal popover dialog and popup inset composition.",
|
|
2137
2286
|
"uses": [
|
|
2138
|
-
"lucide-icon"
|
|
2139
|
-
"wa-dropdown",
|
|
2140
|
-
"wa-dropdown-item"
|
|
2287
|
+
"lucide-icon"
|
|
2141
2288
|
],
|
|
2142
2289
|
"purpose": "Configure recurring dialog and popup geometry without consumer ::part() overrides.",
|
|
2143
2290
|
"publicExports": [
|
|
@@ -2205,6 +2352,13 @@
|
|
|
2205
2352
|
"A resizable bottom sheet's grabber is a focusable horizontal separator (\"Resize sheet\") with aria-valuemin, aria-valuenow, and aria-valuemax in visible px; the arrow keys, Page Up/Down, Home, and End resize it, and its slide motion is skipped under prefers-reduced-motion.",
|
|
2206
2353
|
"Use popup surfaces only for real dropdown menus with named triggers."
|
|
2207
2354
|
],
|
|
2355
|
+
"content": {
|
|
2356
|
+
"interactive": [
|
|
2357
|
+
{
|
|
2358
|
+
"kind": "contains"
|
|
2359
|
+
}
|
|
2360
|
+
]
|
|
2361
|
+
},
|
|
2208
2362
|
"geometry": {
|
|
2209
2363
|
"margin": "parent",
|
|
2210
2364
|
"border": "child",
|
|
@@ -2240,8 +2394,8 @@
|
|
|
2240
2394
|
],
|
|
2241
2395
|
"publicTokens": [
|
|
2242
2396
|
"--kui-layout-pill-radius",
|
|
2243
|
-
"--kui-
|
|
2244
|
-
"--kui-
|
|
2397
|
+
"--kui-container-inset",
|
|
2398
|
+
"--kui-surface-inset",
|
|
2245
2399
|
"--kui-chrome-material-raised",
|
|
2246
2400
|
"--kui-chrome-material-filter",
|
|
2247
2401
|
"--kui-scroll-clearance-block-start",
|
|
@@ -2453,6 +2607,13 @@
|
|
|
2453
2607
|
"It is a native modal <dialog> named by label: the page is inert, focus stays inside, Escape asks to close, and focus returns to the opener on close.",
|
|
2454
2608
|
"Pass describedBy, the id of app-owned summary copy, for the dialog's accessible description; the detail description describes the selection and is not wired. On roomy devices the detail title is a level-2 heading; every presentation keeps a close control named Close (closeLabel), and the compact back control is named by backLabel."
|
|
2455
2609
|
],
|
|
2610
|
+
"content": {
|
|
2611
|
+
"interactive": [
|
|
2612
|
+
{
|
|
2613
|
+
"kind": "contains"
|
|
2614
|
+
}
|
|
2615
|
+
]
|
|
2616
|
+
},
|
|
2456
2617
|
"geometry": {
|
|
2457
2618
|
"margin": "parent",
|
|
2458
2619
|
"border": "self",
|
|
@@ -2586,6 +2747,13 @@
|
|
|
2586
2747
|
"It is a native modal <dialog> named by label: the page is inert, focus stays inside, Escape asks to close, and focus returns to the opener on close.",
|
|
2587
2748
|
"The title is a level-2 heading, and its description (id <id>-description) is the dialog's accessible description unless describedBy names other content; the close control is named Close (closeLabel) and stays the outermost trailing control. An open overlay rail takes focus, keeps Tab inside it, and closes on Escape before the dialog does."
|
|
2588
2749
|
],
|
|
2750
|
+
"content": {
|
|
2751
|
+
"interactive": [
|
|
2752
|
+
{
|
|
2753
|
+
"kind": "contains"
|
|
2754
|
+
}
|
|
2755
|
+
]
|
|
2756
|
+
},
|
|
2589
2757
|
"geometry": {
|
|
2590
2758
|
"margin": "parent",
|
|
2591
2759
|
"border": "self",
|
|
@@ -2793,6 +2961,16 @@
|
|
|
2793
2961
|
"Actionable text is a native button with its full text as its accessible name; action cannot be combined with headingLevel, placeholder, or wrap.",
|
|
2794
2962
|
"In a Pane header with headerPresentation=\"overlay\" or NavStack chrome with chromePresentation=\"overlay\" (or its bottom toolbar with bottomToolbarPresentation=\"overlay\"), or slotted as the label (or into header-actions) of a DialogSurface header with headerPresentation=\"floating\", untoned text keeps WCAG AA over the translucent chrome material: the title takes --kui-color-text at every size and the description mixes --kui-color-text-quiet halfway toward it."
|
|
2795
2963
|
],
|
|
2964
|
+
"content": {
|
|
2965
|
+
"interactive": [
|
|
2966
|
+
{
|
|
2967
|
+
"kind": "root",
|
|
2968
|
+
"whenProps": [
|
|
2969
|
+
"action"
|
|
2970
|
+
]
|
|
2971
|
+
}
|
|
2972
|
+
]
|
|
2973
|
+
},
|
|
2796
2974
|
"geometry": {
|
|
2797
2975
|
"margin": "none",
|
|
2798
2976
|
"border": "none",
|
|
@@ -2917,7 +3095,8 @@
|
|
|
2917
3095
|
],
|
|
2918
3096
|
"useWhen": [
|
|
2919
3097
|
"Render ordinary application headings or paragraphs with native document semantics, or inline secondary text inside rows, labels, and table cells.",
|
|
2920
|
-
"Render FieldLabel over a read-only or click-to-edit preview that replaces a Web Awesome form control."
|
|
3098
|
+
"Render FieldLabel over a read-only or click-to-edit preview that replaces a Web Awesome form control.",
|
|
3099
|
+
"Set weight=\"strong\" for a title or key phrase that matters more than its neighbors, such as a card or row title; it renders a <strong> element, so never hand-write <strong> inside Text."
|
|
2921
3100
|
],
|
|
2922
3101
|
"avoidWhen": [
|
|
2923
3102
|
"Do not use Text for toolbar identity or title content; use ToolbarText inside a Toolbar zone.",
|
|
@@ -2960,6 +3139,17 @@
|
|
|
2960
3139
|
"FieldLabel is plain text, not a native label; give it an id and associate the preview group with aria-labelledby.",
|
|
2961
3140
|
"Start and middle truncation clip visually only: the whole value stays in the DOM in reading order, and Text shows it as the element's title unless the app supplies one."
|
|
2962
3141
|
],
|
|
3142
|
+
"content": {
|
|
3143
|
+
"exports": {
|
|
3144
|
+
"FieldLabel": {
|
|
3145
|
+
"interactive": [
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "root"
|
|
3148
|
+
}
|
|
3149
|
+
]
|
|
3150
|
+
}
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
2963
3153
|
"geometry": {
|
|
2964
3154
|
"margin": "self",
|
|
2965
3155
|
"border": "self",
|
|
@@ -3360,6 +3550,219 @@
|
|
|
3360
3550
|
"recipe": "docs/component-selection.md#problem-to-component-matrix"
|
|
3361
3551
|
}
|
|
3362
3552
|
},
|
|
3553
|
+
{
|
|
3554
|
+
"id": "tree-list",
|
|
3555
|
+
"name": "TreeList",
|
|
3556
|
+
"category": "Structure",
|
|
3557
|
+
"kind": "component",
|
|
3558
|
+
"source": "kerf",
|
|
3559
|
+
"description": "A hierarchical list of ListItem rows indented by depth, with a disclosure arrow on each row that has children, keyboard tree navigation, and selection; an ARIA tree whose nodes, expansion, and selection the application owns.",
|
|
3560
|
+
"uses": [
|
|
3561
|
+
"list-item",
|
|
3562
|
+
"disclosure-arrow"
|
|
3563
|
+
],
|
|
3564
|
+
"purpose": "Show and navigate a hierarchy (a file tree, a document outline, nested categories) as expandable, selectable rows that look like the app's lists.",
|
|
3565
|
+
"publicExports": [
|
|
3566
|
+
"TreeList",
|
|
3567
|
+
"TreeListProps",
|
|
3568
|
+
"TreeListNode",
|
|
3569
|
+
"TreeListRow",
|
|
3570
|
+
"treeListRows",
|
|
3571
|
+
"treeListPath",
|
|
3572
|
+
"isExpandable"
|
|
3573
|
+
],
|
|
3574
|
+
"useWhen": [
|
|
3575
|
+
"People browse or pick from nested items: render TreeList with nodes, expanded, and selected; handle action (choose) and toggleAction (open or close) with delegateActions and re-render; wire wireTreeList for the keyboard.",
|
|
3576
|
+
"Children load on demand: mark the node hasChildren and load them when toggleAction expands it."
|
|
3577
|
+
],
|
|
3578
|
+
"avoidWhen": [
|
|
3579
|
+
"Do not indent ListItem rows or draw disclosure arrows yourself; use TreeList.",
|
|
3580
|
+
"Do not use it for a flat list; use List and ListItem.",
|
|
3581
|
+
"Do not use it for a single collapsible section; use Disclosure.",
|
|
3582
|
+
"Do not use wa-tree."
|
|
3583
|
+
],
|
|
3584
|
+
"alternatives": [
|
|
3585
|
+
{
|
|
3586
|
+
"id": "list-item",
|
|
3587
|
+
"relationship": "nearest",
|
|
3588
|
+
"when": "Use List and ListItem when the items are not nested."
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"id": "disclosure",
|
|
3592
|
+
"relationship": "nearest",
|
|
3593
|
+
"when": "Use Disclosure to show and hide one section of content."
|
|
3594
|
+
},
|
|
3595
|
+
{
|
|
3596
|
+
"id": "column-explorer",
|
|
3597
|
+
"relationship": "nearest",
|
|
3598
|
+
"when": "Use ColumnExplorer for a deep hierarchy browsed one level per column."
|
|
3599
|
+
}
|
|
3600
|
+
],
|
|
3601
|
+
"appOwns": [
|
|
3602
|
+
"the nodes and loading their children",
|
|
3603
|
+
"which nodes are expanded (flip the id in toggleAction) and which is selected (set it in action)"
|
|
3604
|
+
],
|
|
3605
|
+
"variants": [
|
|
3606
|
+
"standard density",
|
|
3607
|
+
"compact density",
|
|
3608
|
+
"rows with icons, descriptions, and trailing content",
|
|
3609
|
+
"disabled rows",
|
|
3610
|
+
"lazy children (hasChildren)"
|
|
3611
|
+
],
|
|
3612
|
+
"accessibility": [
|
|
3613
|
+
"The tree is role=tree named by label; each row is a treeitem button with aria-level, aria-posinset, aria-setsize, aria-expanded on rows that expand, and aria-selected. A disabled row is aria-disabled and stays reachable.",
|
|
3614
|
+
"With wireTreeList: one Tab stop in the tree; Down and Up move, Home and End jump, Right opens a row or enters its first child, Left closes it or returns to its parent, Enter and Space choose, and typing a label's first letters finds the next match."
|
|
3615
|
+
],
|
|
3616
|
+
"content": {
|
|
3617
|
+
"interactive": [
|
|
3618
|
+
{
|
|
3619
|
+
"kind": "contains"
|
|
3620
|
+
}
|
|
3621
|
+
]
|
|
3622
|
+
},
|
|
3623
|
+
"geometry": {
|
|
3624
|
+
"margin": "child",
|
|
3625
|
+
"border": "child",
|
|
3626
|
+
"padding": "child",
|
|
3627
|
+
"notes": [
|
|
3628
|
+
"Rows are ListItems: they own the 8px inline margin, border, and padding, and indent 16px per level with a 16px disclosure column, so labels at one level share an edge."
|
|
3629
|
+
]
|
|
3630
|
+
},
|
|
3631
|
+
"delivery": {
|
|
3632
|
+
"moduleImport": "@kerfjs/ui/tree-list",
|
|
3633
|
+
"browserImport": "@kerfjs/ui/tree-list",
|
|
3634
|
+
"manualCssImport": "@kerfjs/ui/tree-list.css",
|
|
3635
|
+
"sideEffects": [
|
|
3636
|
+
"browser-condition-css"
|
|
3637
|
+
]
|
|
3638
|
+
},
|
|
3639
|
+
"wiring": [
|
|
3640
|
+
{
|
|
3641
|
+
"export": "wireTreeList",
|
|
3642
|
+
"import": "@kerfjs/ui/wire-tree-list",
|
|
3643
|
+
"required": true,
|
|
3644
|
+
"stateAttributes": [
|
|
3645
|
+
{
|
|
3646
|
+
"name": "data-dragging",
|
|
3647
|
+
"on": "the dragged tree row",
|
|
3648
|
+
"meaning": "Set to true on the row being dragged while a pointer drag is in progress (with onMove)."
|
|
3649
|
+
},
|
|
3650
|
+
{
|
|
3651
|
+
"name": "data-drop-position",
|
|
3652
|
+
"on": "the tree row under the pointer",
|
|
3653
|
+
"meaning": "before, after, or inside: where the dragged row would land, painted only for a drop canDrop accepts; treeListExternalDrop paints it the same way for a drag from outside the tree."
|
|
3654
|
+
}
|
|
3655
|
+
]
|
|
3656
|
+
}
|
|
3657
|
+
],
|
|
3658
|
+
"publicClasses": [
|
|
3659
|
+
"kui-tree-list"
|
|
3660
|
+
],
|
|
3661
|
+
"publicTokens": [],
|
|
3662
|
+
"links": {
|
|
3663
|
+
"catalogRoute": "?component=tree-list",
|
|
3664
|
+
"documentation": "docs/tree-list.md",
|
|
3665
|
+
"recipe": "docs/component-selection.md#problem-to-component-matrix"
|
|
3666
|
+
}
|
|
3667
|
+
},
|
|
3668
|
+
{
|
|
3669
|
+
"id": "column-explorer",
|
|
3670
|
+
"name": "ColumnExplorer",
|
|
3671
|
+
"category": "Structure",
|
|
3672
|
+
"kind": "component",
|
|
3673
|
+
"source": "kerf",
|
|
3674
|
+
"description": "A macOS-style column explorer for a hierarchy: one column of ListItem rows per level in a ColumnTrack, where choosing a row with children opens the next column; an optional preview column shows a chosen leaf. The application owns the nodes and the chosen path.",
|
|
3675
|
+
"uses": [
|
|
3676
|
+
"column-track",
|
|
3677
|
+
"list",
|
|
3678
|
+
"list-item",
|
|
3679
|
+
"lucide-icon"
|
|
3680
|
+
],
|
|
3681
|
+
"purpose": "Browse a large or deep hierarchy (files, categories, settings) one level per column, keeping the chosen path visible, with a paged layout for phones.",
|
|
3682
|
+
"publicExports": [
|
|
3683
|
+
"ColumnExplorer",
|
|
3684
|
+
"ColumnExplorerProps",
|
|
3685
|
+
"explorerColumns",
|
|
3686
|
+
"explorerChosen",
|
|
3687
|
+
"ExplorerColumn"
|
|
3688
|
+
],
|
|
3689
|
+
"useWhen": [
|
|
3690
|
+
"People browse a deep hierarchy and benefit from seeing every level of the chosen path side by side: render ColumnExplorer with nodes (TreeList's TreeListNode) and path, set path to treeListPath(nodes, id) in the action handler, and wire wireColumnExplorer for the keyboard.",
|
|
3691
|
+
"The same hierarchy also shows as a TreeList: both read TreeListNode, so an app can switch between them."
|
|
3692
|
+
],
|
|
3693
|
+
"avoidWhen": [
|
|
3694
|
+
"Do not use it for a shallow hierarchy that fits one indented list; use TreeList.",
|
|
3695
|
+
"Do not build columns of Lists in a ColumnTrack by hand; use ColumnExplorer.",
|
|
3696
|
+
"Do not use it for a one-level-at-a-time flow with views and toolbars; use NavStack."
|
|
3697
|
+
],
|
|
3698
|
+
"alternatives": [
|
|
3699
|
+
{
|
|
3700
|
+
"id": "tree-list",
|
|
3701
|
+
"relationship": "nearest",
|
|
3702
|
+
"when": "Use TreeList when the hierarchy reads best as one indented list."
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
"id": "nav-stack",
|
|
3706
|
+
"relationship": "nearest",
|
|
3707
|
+
"when": "Use NavStack when each level is a full view with its own toolbar."
|
|
3708
|
+
}
|
|
3709
|
+
],
|
|
3710
|
+
"appOwns": [
|
|
3711
|
+
"the nodes and loading their children",
|
|
3712
|
+
"the chosen path (set it from action) and the preview content"
|
|
3713
|
+
],
|
|
3714
|
+
"variants": [
|
|
3715
|
+
"scroll layout",
|
|
3716
|
+
"paged layout for phones",
|
|
3717
|
+
"preview column for a chosen leaf",
|
|
3718
|
+
"disabled rows",
|
|
3719
|
+
"lazy children (hasChildren)",
|
|
3720
|
+
"compact density"
|
|
3721
|
+
],
|
|
3722
|
+
"accessibility": [
|
|
3723
|
+
"The explorer is a region named by label; each column is a group named by its parent's label, and chosen rows carry aria-current. Rows that open a column show a chevron.",
|
|
3724
|
+
"With wireColumnExplorer: one Tab stop per column; Up and Down move, Home and End jump, Right opens a row's column and moves into it, Left returns to the column before, Enter and Space choose, and typing finds a row in the column."
|
|
3725
|
+
],
|
|
3726
|
+
"content": {
|
|
3727
|
+
"interactive": [
|
|
3728
|
+
{
|
|
3729
|
+
"kind": "contains"
|
|
3730
|
+
}
|
|
3731
|
+
]
|
|
3732
|
+
},
|
|
3733
|
+
"geometry": {
|
|
3734
|
+
"margin": "child",
|
|
3735
|
+
"border": "child",
|
|
3736
|
+
"padding": "child",
|
|
3737
|
+
"notes": [
|
|
3738
|
+
"ColumnTrack owns the sideways scroll and column widths; each column is a scrollable List of ListItem rows that own their insets. The explorer fills its parent's height."
|
|
3739
|
+
]
|
|
3740
|
+
},
|
|
3741
|
+
"delivery": {
|
|
3742
|
+
"moduleImport": "@kerfjs/ui/column-explorer",
|
|
3743
|
+
"browserImport": "@kerfjs/ui/column-explorer",
|
|
3744
|
+
"manualCssImport": "@kerfjs/ui/column-explorer.css",
|
|
3745
|
+
"sideEffects": [
|
|
3746
|
+
"browser-condition-css"
|
|
3747
|
+
]
|
|
3748
|
+
},
|
|
3749
|
+
"wiring": [
|
|
3750
|
+
{
|
|
3751
|
+
"export": "wireColumnExplorer",
|
|
3752
|
+
"import": "@kerfjs/ui/wire-column-explorer",
|
|
3753
|
+
"required": true
|
|
3754
|
+
}
|
|
3755
|
+
],
|
|
3756
|
+
"publicClasses": [
|
|
3757
|
+
"kui-column-explorer"
|
|
3758
|
+
],
|
|
3759
|
+
"publicTokens": [],
|
|
3760
|
+
"links": {
|
|
3761
|
+
"catalogRoute": "?component=column-explorer",
|
|
3762
|
+
"documentation": "docs/column-explorer.md",
|
|
3763
|
+
"recipe": "docs/component-selection.md#problem-to-component-matrix"
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3363
3766
|
{
|
|
3364
3767
|
"id": "summary-row",
|
|
3365
3768
|
"name": "SummaryRow",
|
|
@@ -3370,7 +3773,8 @@
|
|
|
3370
3773
|
"uses": [],
|
|
3371
3774
|
"purpose": "Present dense item summaries (tickets, tasks, messages) as selectable list rows or board cards with Kerf-owned selection, hover, focus, rail, clamping, list-edge rounding, and narrow compaction, without app row CSS.",
|
|
3372
3775
|
"publicExports": [
|
|
3373
|
-
"SummaryRow"
|
|
3776
|
+
"SummaryRow",
|
|
3777
|
+
"wireSummaryRows"
|
|
3374
3778
|
],
|
|
3375
3779
|
"useWhen": [
|
|
3376
3780
|
"A list or board shows many items as dense, selectable summaries with an identifier, a title, a timestamp, and metadata.",
|
|
@@ -3394,7 +3798,7 @@
|
|
|
3394
3798
|
}
|
|
3395
3799
|
],
|
|
3396
3800
|
"appOwns": [
|
|
3397
|
-
"the
|
|
3801
|
+
"the selection set (Enter, Space, and click dispatch the option's delegated data-action click) and any key it intercepts with preventDefault",
|
|
3398
3802
|
"the title, leading glyph, trailing meta, and metadata content",
|
|
3399
3803
|
"rail tone and dimming policy"
|
|
3400
3804
|
],
|
|
@@ -3411,14 +3815,15 @@
|
|
|
3411
3815
|
"native draggable option root for list rows and board cards"
|
|
3412
3816
|
],
|
|
3413
3817
|
"accessibility": [
|
|
3414
|
-
"By default SummaryRow is role=option with tabindex=0 and aria-selected; place options in a labeled
|
|
3818
|
+
"By default SummaryRow is role=option with tabindex=0 and aria-selected; place options in a labeled List selectionMode=\"single\" listbox and wire wireSummaryRows once on the containing root: the listbox becomes one roving Tab stop (the last focused option, else the selected one, else the first) kept across re-renders, Up/Down/Home/End move focus without selecting, and Enter/Space select the focused option by dispatching its click (Space on release) with the key's Shift, Ctrl, and Cmd state. Kerf skips a key event that is already defaultPrevented, so an app overrides a key by handling it first (on the option, in the capture phase, or from a listener added to the wired root before wiring) and calling preventDefault(). semanticRole=group requires ariaLabel and omits the root Tab stop and aria-selected, so a nested native action owns focus and activation. The rail is decorative; carry its meaning in text."
|
|
3415
3819
|
],
|
|
3416
3820
|
"geometry": {
|
|
3417
3821
|
"margin": "none",
|
|
3418
3822
|
"border": "self",
|
|
3419
3823
|
"padding": "self",
|
|
3420
3824
|
"notes": [
|
|
3421
|
-
"Rows sit flush in a list section and round only the corners at its edges; cards are borderless rounded cards."
|
|
3825
|
+
"Rows sit flush in a list section and round only the corners at its edges; cards are borderless rounded cards.",
|
|
3826
|
+
"A title longer than `titleLines` ends its last visible line with an ellipsis; do not add a clamp or `text-overflow` in app CSS."
|
|
3422
3827
|
]
|
|
3423
3828
|
},
|
|
3424
3829
|
"delivery": {
|
|
@@ -3428,7 +3833,20 @@
|
|
|
3428
3833
|
"browser-condition-css"
|
|
3429
3834
|
]
|
|
3430
3835
|
},
|
|
3431
|
-
"wiring": [
|
|
3836
|
+
"wiring": [
|
|
3837
|
+
{
|
|
3838
|
+
"export": "wireSummaryRows",
|
|
3839
|
+
"import": "@kerfjs/ui/wire-summary-rows",
|
|
3840
|
+
"required": false,
|
|
3841
|
+
"stateAttributes": [
|
|
3842
|
+
{
|
|
3843
|
+
"name": "data-kui-pressed",
|
|
3844
|
+
"on": "kui-summary-row",
|
|
3845
|
+
"meaning": "true on a listbox option while Space is held on it, before the release selects it; removed on release, when focus leaves the option, or on disposal."
|
|
3846
|
+
}
|
|
3847
|
+
]
|
|
3848
|
+
}
|
|
3849
|
+
],
|
|
3432
3850
|
"publicClasses": [
|
|
3433
3851
|
"kui-summary-row",
|
|
3434
3852
|
"kui-summary-row__rail",
|
|
@@ -3436,6 +3854,7 @@
|
|
|
3436
3854
|
"kui-summary-row__leading",
|
|
3437
3855
|
"kui-summary-row__content",
|
|
3438
3856
|
"kui-summary-row__title",
|
|
3857
|
+
"kui-summary-row__title-text",
|
|
3439
3858
|
"kui-summary-row__trailing",
|
|
3440
3859
|
"kui-summary-row__metadata"
|
|
3441
3860
|
],
|
|
@@ -3444,7 +3863,7 @@
|
|
|
3444
3863
|
"--kui-color-text",
|
|
3445
3864
|
"--kui-color-surface",
|
|
3446
3865
|
"--kui-color-brand-border-normal",
|
|
3447
|
-
"--kui-
|
|
3866
|
+
"--kui-focus-ring",
|
|
3448
3867
|
"--kui-color-brand-fill-quiet",
|
|
3449
3868
|
"--kui-color-neutral-on-quiet",
|
|
3450
3869
|
"--kui-color-brand-fill-loud",
|
|
@@ -3840,14 +4259,16 @@
|
|
|
3840
4259
|
"appOwns": [
|
|
3841
4260
|
"the columns and their content",
|
|
3842
4261
|
"choosing scroll or paged layout (for example by device class)",
|
|
3843
|
-
"drag and drop between columns"
|
|
4262
|
+
"drag and drop between columns",
|
|
4263
|
+
"the board's and each column's accessible name"
|
|
3844
4264
|
],
|
|
3845
4265
|
"variants": [
|
|
3846
4266
|
"scroll with a minimum column width",
|
|
3847
|
-
"paged with peek and mandatory snapping"
|
|
4267
|
+
"paged with peek and mandatory snapping",
|
|
4268
|
+
"ariaLabel: the track is a named role=region"
|
|
3848
4269
|
],
|
|
3849
4270
|
"accessibility": [
|
|
3850
|
-
"Name the track with
|
|
4271
|
+
"Name the track with ariaLabel, which makes it a role=region with that name, and name each column List with landmark=\"region\" and its own ariaLabel. Paged scrolling is smooth unless reduced motion is preferred."
|
|
3851
4272
|
],
|
|
3852
4273
|
"geometry": {
|
|
3853
4274
|
"margin": "none",
|
|
@@ -3949,20 +4370,20 @@
|
|
|
3949
4370
|
}
|
|
3950
4371
|
},
|
|
3951
4372
|
{
|
|
3952
|
-
"id": "
|
|
3953
|
-
"name": "
|
|
4373
|
+
"id": "sized-region",
|
|
4374
|
+
"name": "SizedRegion",
|
|
3954
4375
|
"category": "Structure",
|
|
3955
4376
|
"kind": "component",
|
|
3956
4377
|
"source": "kerf",
|
|
3957
|
-
"description": "A
|
|
4378
|
+
"description": "A region that gives content which cannot size itself a definite height: fill the room its parent gives, a typed height, or minimum and maximum bounds.",
|
|
3958
4379
|
"uses": [],
|
|
3959
|
-
"purpose": "
|
|
4380
|
+
"purpose": "Give a whole-screen layout (TabNavigator, NavStack, SplitView, Workbench) placed below an app's root a usable height. Those layouts fill their parent's height and have none of their own, so in a parent that sizes to its content they collapse to their bar.",
|
|
3960
4381
|
"publicExports": [
|
|
3961
|
-
"
|
|
4382
|
+
"SizedRegion"
|
|
3962
4383
|
],
|
|
3963
4384
|
"cssValueProps": [
|
|
3964
4385
|
{
|
|
3965
|
-
"path": "
|
|
4386
|
+
"path": "height",
|
|
3966
4387
|
"grammar": "length",
|
|
3967
4388
|
"helpers": [
|
|
3968
4389
|
"px",
|
|
@@ -3977,34 +4398,185 @@
|
|
|
3977
4398
|
"plus"
|
|
3978
4399
|
],
|
|
3979
4400
|
"shorthands": [
|
|
3980
|
-
"
|
|
3981
|
-
"2xs",
|
|
3982
|
-
"xs",
|
|
3983
|
-
"s",
|
|
3984
|
-
"m",
|
|
3985
|
-
"l",
|
|
3986
|
-
"xl"
|
|
4401
|
+
"fill"
|
|
3987
4402
|
],
|
|
3988
4403
|
"canonicalShorthands": [
|
|
3989
|
-
"
|
|
3990
|
-
"2xs",
|
|
3991
|
-
"xs",
|
|
3992
|
-
"m",
|
|
3993
|
-
"l"
|
|
4404
|
+
"fill"
|
|
3994
4405
|
],
|
|
3995
|
-
"exceptionalShorthands": [
|
|
3996
|
-
|
|
3997
|
-
|
|
4406
|
+
"exceptionalShorthands": [],
|
|
4407
|
+
"rawPolicy": "forbid",
|
|
4408
|
+
"examples": [
|
|
4409
|
+
"height=\"fill\"",
|
|
4410
|
+
"height={rem(30)}",
|
|
4411
|
+
"height={pct(60)}"
|
|
4412
|
+
]
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
"path": "minHeight",
|
|
4416
|
+
"grammar": "length",
|
|
4417
|
+
"helpers": [
|
|
4418
|
+
"px",
|
|
4419
|
+
"rem",
|
|
4420
|
+
"em",
|
|
4421
|
+
"pct",
|
|
4422
|
+
"space",
|
|
4423
|
+
"lengthVar",
|
|
4424
|
+
"calc"
|
|
4425
|
+
],
|
|
4426
|
+
"nonStandaloneHelpers": [
|
|
4427
|
+
"plus"
|
|
3998
4428
|
],
|
|
4429
|
+
"shorthands": [],
|
|
4430
|
+
"canonicalShorthands": [],
|
|
4431
|
+
"exceptionalShorthands": [],
|
|
3999
4432
|
"rawPolicy": "forbid",
|
|
4000
4433
|
"examples": [
|
|
4001
|
-
"
|
|
4002
|
-
"width={space(\"m\")}",
|
|
4003
|
-
"width={calc(plus(rem(0.25), pct(10)))}"
|
|
4434
|
+
"minHeight={rem(20)}"
|
|
4004
4435
|
]
|
|
4005
4436
|
},
|
|
4006
4437
|
{
|
|
4007
|
-
"path": "
|
|
4438
|
+
"path": "maxHeight",
|
|
4439
|
+
"grammar": "length",
|
|
4440
|
+
"helpers": [
|
|
4441
|
+
"px",
|
|
4442
|
+
"rem",
|
|
4443
|
+
"em",
|
|
4444
|
+
"pct",
|
|
4445
|
+
"space",
|
|
4446
|
+
"lengthVar",
|
|
4447
|
+
"calc"
|
|
4448
|
+
],
|
|
4449
|
+
"nonStandaloneHelpers": [
|
|
4450
|
+
"plus"
|
|
4451
|
+
],
|
|
4452
|
+
"shorthands": [],
|
|
4453
|
+
"canonicalShorthands": [],
|
|
4454
|
+
"exceptionalShorthands": [],
|
|
4455
|
+
"rawPolicy": "forbid",
|
|
4456
|
+
"examples": [
|
|
4457
|
+
"maxHeight={rem(40)}"
|
|
4458
|
+
]
|
|
4459
|
+
}
|
|
4460
|
+
],
|
|
4461
|
+
"useWhen": [
|
|
4462
|
+
"A whole-screen layout sits below the app's root, beside other content in a Pane's content, or in a region the app sizes, and should fill the room it is given.",
|
|
4463
|
+
"A whole-screen layout must keep a usable height in a parent that sizes to its content; give the region a minHeight or a length.",
|
|
4464
|
+
"Bound a whole-screen layout's height with maxHeight so it does not grow past a readable size."
|
|
4465
|
+
],
|
|
4466
|
+
"avoidWhen": [
|
|
4467
|
+
"Do not wrap a whole-screen layout that is already the app's root or fills a Pane the app sizes; it fills that height on its own.",
|
|
4468
|
+
"Do not use SizedRegion to force an ordinary component's size; components size to their content and tokens, and List, Grid, Row, and SunkenPanel have their own fill and flex props.",
|
|
4469
|
+
"Do not rely on min-height in app CSS around a whole-screen layout; it does not give the layout a definite height. Use SizedRegion's minHeight."
|
|
4470
|
+
],
|
|
4471
|
+
"alternatives": [
|
|
4472
|
+
{
|
|
4473
|
+
"id": "list",
|
|
4474
|
+
"relationship": "parent-sizing-alternative",
|
|
4475
|
+
"when": "Use List's fill, flex, minHeight, and maxHeight to size a List itself."
|
|
4476
|
+
},
|
|
4477
|
+
{
|
|
4478
|
+
"id": "resize",
|
|
4479
|
+
"relationship": "nearest",
|
|
4480
|
+
"when": "Use ResizableRegion when the person drags to change the size."
|
|
4481
|
+
}
|
|
4482
|
+
],
|
|
4483
|
+
"appOwns": [
|
|
4484
|
+
"the height, or the parent height a fill takes",
|
|
4485
|
+
"the bounds",
|
|
4486
|
+
"the content"
|
|
4487
|
+
],
|
|
4488
|
+
"variants": [
|
|
4489
|
+
"fill (default)",
|
|
4490
|
+
"typed height",
|
|
4491
|
+
"minimum and maximum bounds"
|
|
4492
|
+
],
|
|
4493
|
+
"accessibility": [
|
|
4494
|
+
"SizedRegion is a plain structural div with no role; its content keeps its own landmarks and names."
|
|
4495
|
+
],
|
|
4496
|
+
"geometry": {
|
|
4497
|
+
"margin": "none",
|
|
4498
|
+
"border": "none",
|
|
4499
|
+
"padding": "none",
|
|
4500
|
+
"notes": [
|
|
4501
|
+
"A one-cell grid: its child fills the region, and a minHeight alone gives that child a definite height. fill grows within a flex column (a Pane's content) or takes all of a parent with a definite height; in a parent that sizes to its content it has nothing to take."
|
|
4502
|
+
]
|
|
4503
|
+
},
|
|
4504
|
+
"delivery": {
|
|
4505
|
+
"browserImport": "@kerfjs/ui/sized-region",
|
|
4506
|
+
"manualCssImport": "@kerfjs/ui/sized-region.css",
|
|
4507
|
+
"sideEffects": [
|
|
4508
|
+
"browser-condition-css"
|
|
4509
|
+
]
|
|
4510
|
+
},
|
|
4511
|
+
"wiring": [],
|
|
4512
|
+
"publicClasses": [
|
|
4513
|
+
"kui-sized-region"
|
|
4514
|
+
],
|
|
4515
|
+
"publicTokens": [],
|
|
4516
|
+
"rootElement": "div",
|
|
4517
|
+
"links": {
|
|
4518
|
+
"catalogRoute": "?component=sized-region",
|
|
4519
|
+
"documentation": "docs/app-layouts.md",
|
|
4520
|
+
"recipe": "docs/app-layouts.md#sizing-a-nested-layout"
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
"id": "spacer",
|
|
4525
|
+
"name": "Spacer",
|
|
4526
|
+
"category": "Structure",
|
|
4527
|
+
"kind": "component",
|
|
4528
|
+
"source": "kerf",
|
|
4529
|
+
"description": "A decorative, non-shrinking fixed gap or flexible main-axis spacer with typed physical width and height.",
|
|
4530
|
+
"uses": [],
|
|
4531
|
+
"purpose": "Express an intentional empty dimension or consume remaining flex space without application-owned spacer markup or raw CSS lengths.",
|
|
4532
|
+
"publicExports": [
|
|
4533
|
+
"Spacer"
|
|
4534
|
+
],
|
|
4535
|
+
"cssValueProps": [
|
|
4536
|
+
{
|
|
4537
|
+
"path": "width",
|
|
4538
|
+
"grammar": "length",
|
|
4539
|
+
"helpers": [
|
|
4540
|
+
"px",
|
|
4541
|
+
"rem",
|
|
4542
|
+
"em",
|
|
4543
|
+
"pct",
|
|
4544
|
+
"space",
|
|
4545
|
+
"lengthVar",
|
|
4546
|
+
"calc"
|
|
4547
|
+
],
|
|
4548
|
+
"nonStandaloneHelpers": [
|
|
4549
|
+
"plus"
|
|
4550
|
+
],
|
|
4551
|
+
"shorthands": [
|
|
4552
|
+
"none",
|
|
4553
|
+
"2xs",
|
|
4554
|
+
"xs",
|
|
4555
|
+
"s",
|
|
4556
|
+
"m",
|
|
4557
|
+
"l",
|
|
4558
|
+
"xl"
|
|
4559
|
+
],
|
|
4560
|
+
"canonicalShorthands": [
|
|
4561
|
+
"none",
|
|
4562
|
+
"2xs",
|
|
4563
|
+
"xs",
|
|
4564
|
+
"m",
|
|
4565
|
+
"l"
|
|
4566
|
+
],
|
|
4567
|
+
"exceptionalShorthands": [
|
|
4568
|
+
"s",
|
|
4569
|
+
"xl"
|
|
4570
|
+
],
|
|
4571
|
+
"rawPolicy": "forbid",
|
|
4572
|
+
"examples": [
|
|
4573
|
+
"width=\"m\"",
|
|
4574
|
+
"width={space(\"m\")}",
|
|
4575
|
+
"width={calc(plus(rem(0.25), pct(10)))}"
|
|
4576
|
+
]
|
|
4577
|
+
},
|
|
4578
|
+
{
|
|
4579
|
+
"path": "height",
|
|
4008
4580
|
"grammar": "length",
|
|
4009
4581
|
"helpers": [
|
|
4010
4582
|
"px",
|
|
@@ -4267,6 +4839,8 @@
|
|
|
4267
4839
|
"Apply the standard text or control inset to selected physical sides without an application wrapper.",
|
|
4268
4840
|
"Align children horizontally or distribute them vertically with the same physical alignment vocabulary as Row.",
|
|
4269
4841
|
"Use selectionMode=\"multiple\" and ariaLabel to group selectable rich ContentItem rows in a multi-select grid.",
|
|
4842
|
+
"Name a List people navigate to by name (a reader, a result picker, a board column) with landmark=\"region\" and ariaLabel instead of a role in rootAttributes.",
|
|
4843
|
+
"Use selectionMode=\"single\" and ariaLabel to make the labeled single-select listbox that SummaryRow options or ContentItem selectionMode=\"single\" options sit in, instead of an app-owned role=listbox wrapper.",
|
|
4270
4844
|
"Use scrollClearance on the scrollable List that reaches an edge overlaid by chrome (a DialogSurface floating footer) so rows scroll visibly beneath it while the first and last rows still rest clear of it.",
|
|
4271
4845
|
"Render a bounded, framed result picker of ListItem rows (search results, duplicate candidates) with scrollable, frame, and typed maxHeight/minHeight instead of an app-owned bordered scroller.",
|
|
4272
4846
|
"Call wireListFocusScroll(root) once when keyboard users move focus through a scrollable List's rows, so Firefox and Safari bring a partly hidden focused row and its ring fully into view as Chromium does.",
|
|
@@ -4282,7 +4856,8 @@
|
|
|
4282
4856
|
"child semantics and content",
|
|
4283
4857
|
"the bounded height needed for scrolling",
|
|
4284
4858
|
"typed gap, flex, alignment, and divider choices",
|
|
4285
|
-
"the accessible label and selection state of a multi-select grid",
|
|
4859
|
+
"the accessible label and selection state of a single-select listbox or multi-select grid",
|
|
4860
|
+
"the accessible name of a landmark region List",
|
|
4286
4861
|
"which one scroller opts into scroll clearance (the one reaching the covered edge)",
|
|
4287
4862
|
"the result picker bounds (maxHeight/minHeight) and its rows"
|
|
4288
4863
|
],
|
|
@@ -4305,11 +4880,13 @@
|
|
|
4305
4880
|
"fill: the layout root fills a definite-height parent",
|
|
4306
4881
|
"rootAttributes: safe data-*, aria-*, and structural role on the root",
|
|
4307
4882
|
"scroll dividers when named as wireScrollDividers targets chrome or scroller (by its id)",
|
|
4883
|
+
"single-select listbox for SummaryRow or ContentItem options",
|
|
4884
|
+
"landmark=\"region\": a named role=region (a reader, a result picker, a board column)",
|
|
4308
4885
|
"multi-select grid for rich ContentItem rows",
|
|
4309
4886
|
"contentWidth (compact 440px, medium 640px, wide 864px) and contentAlign for a readable, centered page column"
|
|
4310
4887
|
],
|
|
4311
4888
|
"accessibility": [
|
|
4312
|
-
"List adds layout only and no list role by default; selectionMode=\"
|
|
4889
|
+
"List adds layout only and no list role by default; selectionMode=\"single\" makes it a role=listbox and selectionMode=\"multiple\" an aria-multiselectable grid, each with a required ariaLabel. In a listbox the options own aria-selected; wireSummaryRows (SummaryRow options) or wireContentItems (ContentItem options) makes the listbox one roving Tab stop with Up/Down/Home/End movement and Enter/Space selection, while the app owns the selection. landmark=\"region\" with a required ariaLabel makes it a named role=region instead; a landmark List takes no selectionMode.",
|
|
4313
4890
|
"Give a scrollable List a bounded block size and keep keyboard focus visible as its contents scroll.",
|
|
4314
4891
|
"A focused scrollable List (a keyboard-focusable scroller) draws the theme focus ring inset and rounded inside its own box, so a rounded or clipping parent never cuts it off; do not restyle its focus.",
|
|
4315
4892
|
"With wireListFocusScroll, a keyboard-focused (:focus-visible) element in a scrollable List whose focus ring crosses the clip is scrolled into view (block and inline nearest, honoring the ring-room scroll padding) in every engine; pointer focus never scrolls, so a click cannot move its row from under the pointer."
|
|
@@ -4440,6 +5017,17 @@
|
|
|
4440
5017
|
"A valid count is hidden as duplicate visual text and its required localized countLabel joins the owned heading or disclosure-button accessible name; zero remains visible.",
|
|
4441
5018
|
"The application controls and updates disclosure state and the revealed content; the default DisclosureArrow mirrors expanded while the button name stays stable. triggerAttributes can describe the controlled relationship but cannot replace the owned accessible name or expanded state."
|
|
4442
5019
|
],
|
|
5020
|
+
"content": {
|
|
5021
|
+
"interactive": [
|
|
5022
|
+
{
|
|
5023
|
+
"kind": "contains",
|
|
5024
|
+
"whenProps": [
|
|
5025
|
+
"action",
|
|
5026
|
+
"toggle"
|
|
5027
|
+
]
|
|
5028
|
+
}
|
|
5029
|
+
]
|
|
5030
|
+
},
|
|
4443
5031
|
"geometry": {
|
|
4444
5032
|
"margin": "self",
|
|
4445
5033
|
"border": "self",
|
|
@@ -4600,6 +5188,13 @@
|
|
|
4600
5188
|
"Selection semantics are exposed only by the primary button; label, icon, and trailingActionIcon are dormant SafeHtml and must not contain interactive descendants; never place an interactive descendant in ListItem.trailing.",
|
|
4601
5189
|
"A draggable row is dragged by its noninteractive root; with wireListReorder, Alt+Shift+ArrowUp/ArrowDown on its primary button moves it, and focus returns to that button after the application re-renders."
|
|
4602
5190
|
],
|
|
5191
|
+
"content": {
|
|
5192
|
+
"interactive": [
|
|
5193
|
+
{
|
|
5194
|
+
"kind": "contains"
|
|
5195
|
+
}
|
|
5196
|
+
]
|
|
5197
|
+
},
|
|
4603
5198
|
"geometry": {
|
|
4604
5199
|
"margin": "self",
|
|
4605
5200
|
"border": "self",
|
|
@@ -4816,6 +5411,22 @@
|
|
|
4816
5411
|
"accessibility": [
|
|
4817
5412
|
"ListItem uses native button activation and pressed maps to aria-pressed; ListItemLink uses native anchor activation and external opens a new tab with safe rel and an announced default label. Both map selected to aria-current; disabled or loading links omit href and leave the tab order. rootAttributes cannot add role=menuitem or replace owned ARIA; trailing is dormant content and must not contain controls. A draggable row reorders by pointer drag or, with wireListReorder, Alt+Shift+ArrowUp/ArrowDown; a placeholder is never draggable."
|
|
4818
5413
|
],
|
|
5414
|
+
"content": {
|
|
5415
|
+
"interactive": [
|
|
5416
|
+
{
|
|
5417
|
+
"kind": "root"
|
|
5418
|
+
}
|
|
5419
|
+
],
|
|
5420
|
+
"exports": {
|
|
5421
|
+
"ListItemLink": {
|
|
5422
|
+
"interactive": [
|
|
5423
|
+
{
|
|
5424
|
+
"kind": "root"
|
|
5425
|
+
}
|
|
5426
|
+
]
|
|
5427
|
+
}
|
|
5428
|
+
}
|
|
5429
|
+
},
|
|
4819
5430
|
"geometry": {
|
|
4820
5431
|
"margin": "self",
|
|
4821
5432
|
"border": "self",
|
|
@@ -5120,7 +5731,7 @@
|
|
|
5120
5731
|
"focusTarget makes the item a programmatic focus target (tabindex=\"-1\", never a tab stop), such as a NavStack view's data-nav-focus target.",
|
|
5121
5732
|
"The frame is decorative and never the only signal of state.",
|
|
5122
5733
|
"selectionMode=\"multiple\" renders a focusable row with aria-selected and a gridcell for nested controls; place it in a labeled List selectionMode=\"multiple\" grid. wireContentItems moves focus among rows with Up/Down and Home/End while nested controls retain those keys. Enter and Space activate the card with a click that carries the key's Shift, Ctrl, and Cmd state, so one delegated click handler implements range and toggle selection for pointer and keyboard alike. Guard the app's delegated card action with isContentItemActivation so a nested control does not select the row.",
|
|
5123
|
-
"In a multi-select List or Grid, wireContentItems keeps one roving Tab stop (the last focused
|
|
5734
|
+
"In a multi-select List or Grid, and in a single-select List listbox of selectionMode=\"single\" options, wireContentItems keeps one roving Tab stop (the last focused item, else the first selected, else the first enabled) across re-renders; in the listbox Up/Down/Home/End move focus between enabled options and Enter/Space select. Kerf skips a key event that is already defaultPrevented, so an app overrides a key by handling it first (on the item, in the capture phase, or from a listener added to the wired root before wiring) and calling preventDefault(). A gridRow item is a row with a gridcell and no aria-selected or Tab stop; arrow keys skip it and its controls stay reachable by Tab."
|
|
5124
5735
|
],
|
|
5125
5736
|
"geometry": {
|
|
5126
5737
|
"margin": "self",
|
|
@@ -5137,7 +5748,20 @@
|
|
|
5137
5748
|
"browser-condition-css"
|
|
5138
5749
|
]
|
|
5139
5750
|
},
|
|
5140
|
-
"wiring": [
|
|
5751
|
+
"wiring": [
|
|
5752
|
+
{
|
|
5753
|
+
"export": "wireContentItems",
|
|
5754
|
+
"import": "@kerfjs/ui/wire-content-items",
|
|
5755
|
+
"required": false,
|
|
5756
|
+
"stateAttributes": [
|
|
5757
|
+
{
|
|
5758
|
+
"name": "data-kui-pressed",
|
|
5759
|
+
"on": "kui-content-item",
|
|
5760
|
+
"meaning": "true on an interactive, selectable, or option item while Space is held on it, before the release activates it; removed on release, when focus leaves the item, or on disposal."
|
|
5761
|
+
}
|
|
5762
|
+
]
|
|
5763
|
+
}
|
|
5764
|
+
],
|
|
5141
5765
|
"publicClasses": [
|
|
5142
5766
|
"kui-content-item",
|
|
5143
5767
|
"kui-content-item--pill",
|
|
@@ -5217,6 +5841,13 @@
|
|
|
5217
5841
|
"The native summary is a button that Enter and Space toggle and that reports its expanded state; the DisclosureArrow is decorative.",
|
|
5218
5842
|
"Keep the title a short, meaningful name for the hidden content; the open state survives re-renders because the platform owns it."
|
|
5219
5843
|
],
|
|
5844
|
+
"content": {
|
|
5845
|
+
"interactive": [
|
|
5846
|
+
{
|
|
5847
|
+
"kind": "contains"
|
|
5848
|
+
}
|
|
5849
|
+
]
|
|
5850
|
+
},
|
|
5220
5851
|
"geometry": {
|
|
5221
5852
|
"margin": "self",
|
|
5222
5853
|
"border": "self",
|
|
@@ -5261,6 +5892,7 @@
|
|
|
5261
5892
|
"uses": [
|
|
5262
5893
|
"tabs",
|
|
5263
5894
|
"tab-bar",
|
|
5895
|
+
"tab-panel",
|
|
5264
5896
|
"toolbar-control-group",
|
|
5265
5897
|
"text",
|
|
5266
5898
|
"pane"
|
|
@@ -5366,10 +5998,20 @@
|
|
|
5366
5998
|
"Keep closeIcon decorative and free of interactive descendants; the owning close button supplies its accessible name and interaction.",
|
|
5367
5999
|
"Use rootAttributes only for application data-* metadata; component-owned identity, state, action, and role semantics are protected at runtime."
|
|
5368
6000
|
],
|
|
6001
|
+
"content": {
|
|
6002
|
+
"interactive": [
|
|
6003
|
+
{
|
|
6004
|
+
"kind": "contains"
|
|
6005
|
+
}
|
|
6006
|
+
]
|
|
6007
|
+
},
|
|
5369
6008
|
"geometry": {
|
|
5370
6009
|
"margin": "none",
|
|
5371
6010
|
"border": "self",
|
|
5372
|
-
"padding": "self"
|
|
6011
|
+
"padding": "self",
|
|
6012
|
+
"notes": [
|
|
6013
|
+
"TabBarItem owns its own shrinking: in an intrinsic TabBar a named tab starts at its full width and gives up width by ellipsizing its name down to a minimum of its chrome plus a few characters, so its strip scrolls only once every tab is at that minimum; a name shorter than the minimum never widens, nameOverflow=\"visible\" and placeholder tabs keep their full width, and the full name stays the accessible name (wireTabBars adds it as a title while truncated)."
|
|
6014
|
+
]
|
|
5373
6015
|
},
|
|
5374
6016
|
"delivery": {
|
|
5375
6017
|
"browserImport": "@kerfjs/ui/tab-bar-item",
|
|
@@ -5383,6 +6025,7 @@
|
|
|
5383
6025
|
"kui-tab-bar-item",
|
|
5384
6026
|
"kui-tab-bar-item__close",
|
|
5385
6027
|
"kui-tab-bar-item__close-icon",
|
|
6028
|
+
"kui-tab-bar-item__label",
|
|
5386
6029
|
"kui-tab-bar-item__name",
|
|
5387
6030
|
"kui-tab-bar-item__select",
|
|
5388
6031
|
"kui-tab-bar-item__trailing"
|
|
@@ -5423,156 +6066,438 @@
|
|
|
5423
6066
|
"category": "Navigation",
|
|
5424
6067
|
"kind": "component",
|
|
5425
6068
|
"source": "kerf",
|
|
5426
|
-
"description": "Controlled tab strips with typed presentation and allocation, a scroll-owning tab region, an optional adjacent trailing action, and a separately pinned far-edge end action.",
|
|
5427
|
-
"uses": [
|
|
5428
|
-
"tabs",
|
|
5429
|
-
"toolbar-control-group",
|
|
5430
|
-
"button"
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
"
|
|
6069
|
+
"description": "Controlled tab strips with typed presentation and allocation, a scroll-owning tab region, an optional adjacent trailing action, and a separately pinned far-edge end action.",
|
|
6070
|
+
"uses": [
|
|
6071
|
+
"tabs",
|
|
6072
|
+
"toolbar-control-group",
|
|
6073
|
+
"button"
|
|
6074
|
+
],
|
|
6075
|
+
"purpose": "Controlled tab strips whose tabs shrink and scroll while fixed leading, trailing, and far-edge end actions remain visible.",
|
|
6076
|
+
"publicExports": [
|
|
6077
|
+
"TabBar",
|
|
6078
|
+
"wireTabBars",
|
|
6079
|
+
"reorderTabs"
|
|
6080
|
+
],
|
|
6081
|
+
"useWhen": [
|
|
6082
|
+
"Switch application tabpanels with optional overflow, closing, and reordering."
|
|
6083
|
+
],
|
|
6084
|
+
"avoidWhen": [
|
|
6085
|
+
"Do not use for a compact local toggle or a long value list."
|
|
6086
|
+
],
|
|
6087
|
+
"alternatives": [
|
|
6088
|
+
{
|
|
6089
|
+
"id": "segmented-control",
|
|
6090
|
+
"relationship": "nearest"
|
|
6091
|
+
},
|
|
6092
|
+
{
|
|
6093
|
+
"id": "select",
|
|
6094
|
+
"relationship": "nearest"
|
|
6095
|
+
},
|
|
6096
|
+
{
|
|
6097
|
+
"id": "wa-tab-group",
|
|
6098
|
+
"relationship": "prefer-over"
|
|
6099
|
+
}
|
|
6100
|
+
],
|
|
6101
|
+
"appOwns": [
|
|
6102
|
+
"ordered tabs",
|
|
6103
|
+
"selection",
|
|
6104
|
+
"panels",
|
|
6105
|
+
"routing",
|
|
6106
|
+
"persistence",
|
|
6107
|
+
"outer placement"
|
|
6108
|
+
],
|
|
6109
|
+
"variants": [
|
|
6110
|
+
"leading",
|
|
6111
|
+
"trailing",
|
|
6112
|
+
"overflow",
|
|
6113
|
+
"reorderable",
|
|
6114
|
+
"rail, segmented, and inspector presentation",
|
|
6115
|
+
"intrinsic or fill allocation",
|
|
6116
|
+
"separate or adjacent trailing action",
|
|
6117
|
+
"far-edge end action",
|
|
6118
|
+
"standalone Kerf Button or Web Awesome action in trailing or end",
|
|
6119
|
+
"overflow dividers on each side with tabs scrolled out of view (wired by wireScrollDividers)"
|
|
6120
|
+
],
|
|
6121
|
+
"accessibility": [
|
|
6122
|
+
"Keep exactly one selected tab at tabindex 0 and preserve the wiring keyboard model.",
|
|
6123
|
+
"Call wireTabBars for keyboard focus, selection reveal, and whole-tab snapping; put fixed controls in the outer leading, trailing, or end zones."
|
|
6124
|
+
],
|
|
6125
|
+
"content": {
|
|
6126
|
+
"interactive": [
|
|
6127
|
+
{
|
|
6128
|
+
"kind": "contains"
|
|
6129
|
+
}
|
|
6130
|
+
]
|
|
6131
|
+
},
|
|
6132
|
+
"geometry": {
|
|
6133
|
+
"margin": "none",
|
|
6134
|
+
"border": "self",
|
|
6135
|
+
"padding": "self",
|
|
6136
|
+
"notes": [
|
|
6137
|
+
"TabBar owns inline flex allocation: tabs shrink and scroll, an adjacent trailing action follows the tab strip, and the end action stays pinned at the far edge; leading, trailing, and end actions do not shrink.",
|
|
6138
|
+
"In intrinsic allocation, tabs give up width by ellipsizing their names down to a minimum before the strip scrolls; do not cap or clip tab names in app CSS."
|
|
6139
|
+
]
|
|
6140
|
+
},
|
|
6141
|
+
"delivery": {
|
|
6142
|
+
"browserImport": "@kerfjs/ui/tab-bar",
|
|
6143
|
+
"manualCssImport": "@kerfjs/ui/tab-bar.css",
|
|
6144
|
+
"sideEffects": [
|
|
6145
|
+
"browser-condition-css"
|
|
6146
|
+
]
|
|
6147
|
+
},
|
|
6148
|
+
"wiring": [
|
|
6149
|
+
{
|
|
6150
|
+
"export": "wireTabBars",
|
|
6151
|
+
"import": "@kerfjs/ui/wire-tab-bars",
|
|
6152
|
+
"required": true,
|
|
6153
|
+
"stateAttributes": [
|
|
6154
|
+
{
|
|
6155
|
+
"name": "data-tab-dragging",
|
|
6156
|
+
"on": "TabBarItem (data-component=\"tab-bar-item\")",
|
|
6157
|
+
"meaning": "\"true\" on the tab being dragged."
|
|
6158
|
+
},
|
|
6159
|
+
{
|
|
6160
|
+
"name": "data-tab-drop-position",
|
|
6161
|
+
"on": "TabBarItem (data-component=\"tab-bar-item\")",
|
|
6162
|
+
"meaning": "\"before\" or \"after\" on the tab under the pointer: where the dragged tab would land."
|
|
6163
|
+
},
|
|
6164
|
+
{
|
|
6165
|
+
"name": "data-tab-autoscroll",
|
|
6166
|
+
"on": "kui-tab-bar__tabs",
|
|
6167
|
+
"meaning": "\"start\" or \"end\" while a drag near that edge auto-scrolls the strip."
|
|
6168
|
+
}
|
|
6169
|
+
]
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
"export": "reorderTabs",
|
|
6173
|
+
"import": "@kerfjs/ui/wire-tab-bars",
|
|
6174
|
+
"required": false
|
|
6175
|
+
},
|
|
6176
|
+
{
|
|
6177
|
+
"export": "wireScrollDividers",
|
|
6178
|
+
"import": "@kerfjs/ui/wire-scroll-dividers",
|
|
6179
|
+
"required": false,
|
|
6180
|
+
"stateAttributes": [
|
|
6181
|
+
{
|
|
6182
|
+
"name": "data-scroll-overflow",
|
|
6183
|
+
"on": "kui-tab-bar__tabs",
|
|
6184
|
+
"meaning": "The physical edges, in canonical t/r/b/l order, beyond which content is scrolled out of view; absent when nothing is hidden (content that fits never reports its far edges). Re-applied if a re-render drops it."
|
|
6185
|
+
},
|
|
6186
|
+
{
|
|
6187
|
+
"name": "data-scroll-divider",
|
|
6188
|
+
"on": "chrome named in wireScrollDividers targets (a TabBar strip has none)",
|
|
6189
|
+
"meaning": "The sides, in t/r/b/l order, on which that chrome currently draws its scroll divider. Re-applied if a re-render drops it."
|
|
6190
|
+
},
|
|
6191
|
+
{
|
|
6192
|
+
"name": "data-header-overlay",
|
|
6193
|
+
"on": "kui-pane",
|
|
6194
|
+
"meaning": "measured once the wiring has measured a Pane's overlay header (headerPresentation: overlay) and published its border-box height as --kui-scroll-clearance-block-start on the Pane root, plus a classic content scrollbar's inline size as --kui-pane-scrollbar-inline-size, which the header leaves uncovered. Re-applied if a re-render drops it."
|
|
6195
|
+
}
|
|
6196
|
+
]
|
|
6197
|
+
}
|
|
6198
|
+
],
|
|
6199
|
+
"publicClasses": [
|
|
6200
|
+
"kui-tab-bar",
|
|
6201
|
+
"kui-tab-bar__leading",
|
|
6202
|
+
"kui-tab-bar__tabs",
|
|
6203
|
+
"kui-tab-bar__trailing",
|
|
6204
|
+
"kui-tab-bar__end"
|
|
6205
|
+
],
|
|
6206
|
+
"publicTokens": [
|
|
6207
|
+
"--kui-tab-bar-background",
|
|
6208
|
+
"--kui-tab-bar-border",
|
|
6209
|
+
"--kui-tab-bar-divider-color",
|
|
6210
|
+
"--kui-tab-bar-strip-background",
|
|
6211
|
+
"--kui-tab-bar-strip-border-width",
|
|
6212
|
+
"--kui-tab-bar-strip-flex",
|
|
6213
|
+
"--kui-tab-bar-strip-gap",
|
|
6214
|
+
"--kui-tab-bar-strip-margin-block",
|
|
6215
|
+
"--kui-tab-bar-strip-min-height",
|
|
6216
|
+
"--kui-tab-bar-strip-overflow-block",
|
|
6217
|
+
"--kui-tab-bar-strip-padding",
|
|
6218
|
+
"--kui-tab-bar-strip-radius",
|
|
6219
|
+
"--kui-tab-bar-strip-scroll-padding-inline",
|
|
6220
|
+
"--kui-tab-bar-trailing-flex"
|
|
6221
|
+
],
|
|
6222
|
+
"links": {
|
|
6223
|
+
"catalogRoute": "?component=tab-bar",
|
|
6224
|
+
"documentation": "docs/component-selection.md",
|
|
6225
|
+
"recipe": "docs/accessibility.md#tabs"
|
|
6226
|
+
}
|
|
6227
|
+
},
|
|
6228
|
+
{
|
|
6229
|
+
"id": "tab-panel",
|
|
6230
|
+
"name": "TabPanel",
|
|
6231
|
+
"category": "Navigation",
|
|
6232
|
+
"kind": "component",
|
|
6233
|
+
"source": "kerf",
|
|
6234
|
+
"description": "The application-owned panel a TabBarItem controls: a tabpanel region named by its tab, with hidden and busy states and no inset, chrome, or layout of its own.",
|
|
6235
|
+
"uses": [],
|
|
6236
|
+
"purpose": "Render the tabpanel a TabBarItem controls, named by its tab through tabId, hidden while another tab is selected, and busy while its content loads.",
|
|
6237
|
+
"publicExports": [
|
|
6238
|
+
"TabPanel"
|
|
6239
|
+
],
|
|
6240
|
+
"useWhen": [
|
|
6241
|
+
"Render the content region a TabBar's tab selects; pair TabPanel id with the TabBarItem's panelId and TabPanel tabId with the TabBarItem's tabId.",
|
|
6242
|
+
"Show placeholders in the panel of a pending TabBarItem; set busy until its content loads.",
|
|
6243
|
+
"A view built in the Kerf UI editor needs a tab's panel."
|
|
6244
|
+
],
|
|
6245
|
+
"avoidWhen": [
|
|
6246
|
+
"Do not write a raw element with role=\"tabpanel\" in Kerf UI markup; render TabPanel.",
|
|
6247
|
+
"Do not use TabPanel for spacing, insets, or a frame; it adds none. Put a ListInsetText, List, or Pane content inside it.",
|
|
6248
|
+
"Do not use it inside TabNavigator, which renders its own tab scenes."
|
|
6249
|
+
],
|
|
6250
|
+
"alternatives": [
|
|
6251
|
+
{
|
|
6252
|
+
"id": "tab-bar",
|
|
6253
|
+
"relationship": "composes-with",
|
|
6254
|
+
"when": "A TabBar of TabBarItems selects among TabPanels; the application owns which one is visible."
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"id": "tab-navigator",
|
|
6258
|
+
"relationship": "nearest",
|
|
6259
|
+
"when": "Use TabNavigator for whole-screen tab scenes it owns, with its own bar and panels."
|
|
6260
|
+
}
|
|
6261
|
+
],
|
|
6262
|
+
"appOwns": [
|
|
6263
|
+
"the selected tab and which panel is hidden",
|
|
6264
|
+
"the panel and tab DOM IDs",
|
|
6265
|
+
"loading state",
|
|
6266
|
+
"the panel's content and layout"
|
|
6267
|
+
],
|
|
6268
|
+
"variants": [
|
|
6269
|
+
"visible",
|
|
6270
|
+
"hidden",
|
|
6271
|
+
"busy"
|
|
6272
|
+
],
|
|
6273
|
+
"accessibility": [
|
|
6274
|
+
"TabPanel renders role=tabpanel with aria-labelledby set to tabId, the id of the TabBarItem tab that controls it; that tab's panelId must equal the panel's id.",
|
|
6275
|
+
"Keep exactly one panel of a tab set visible: set hidden on every panel whose tab is not selected.",
|
|
6276
|
+
"Set busy (aria-busy) while the panel's content loads, as for a pending TabBarItem."
|
|
6277
|
+
],
|
|
6278
|
+
"content": {
|
|
6279
|
+
"interactive": [
|
|
6280
|
+
{
|
|
6281
|
+
"kind": "contains"
|
|
6282
|
+
}
|
|
6283
|
+
]
|
|
6284
|
+
},
|
|
6285
|
+
"geometry": {
|
|
6286
|
+
"margin": "none",
|
|
6287
|
+
"border": "none",
|
|
6288
|
+
"padding": "none",
|
|
6289
|
+
"notes": [
|
|
6290
|
+
"A plain block: the content inside the panel owns its inset and chrome."
|
|
6291
|
+
]
|
|
6292
|
+
},
|
|
6293
|
+
"delivery": {
|
|
6294
|
+
"browserImport": "@kerfjs/ui/tab-panel",
|
|
6295
|
+
"manualCssImport": "@kerfjs/ui/tab-panel.css",
|
|
6296
|
+
"sideEffects": [
|
|
6297
|
+
"browser-condition-css"
|
|
6298
|
+
]
|
|
6299
|
+
},
|
|
6300
|
+
"wiring": [],
|
|
6301
|
+
"publicClasses": [
|
|
6302
|
+
"kui-tab-panel"
|
|
6303
|
+
],
|
|
6304
|
+
"publicTokens": [],
|
|
6305
|
+
"rootElement": "div",
|
|
6306
|
+
"links": {
|
|
6307
|
+
"catalogRoute": "?component=tab-panel",
|
|
6308
|
+
"documentation": "docs/accessibility.md",
|
|
6309
|
+
"recipe": "docs/accessibility.md#tabs"
|
|
6310
|
+
}
|
|
6311
|
+
},
|
|
6312
|
+
{
|
|
6313
|
+
"id": "paged-view",
|
|
6314
|
+
"name": "PagedView",
|
|
6315
|
+
"category": "Navigation",
|
|
6316
|
+
"kind": "component",
|
|
6317
|
+
"source": "kerf",
|
|
6318
|
+
"description": "A region that pages horizontally between full-size panes, with compact page dots floating in a pill at the bottom: touch swipes and trackpad scrolls snap to a page, and the dots work by click and arrow keys. The application owns the current page.",
|
|
6319
|
+
"uses": [],
|
|
6320
|
+
"purpose": "Offer two to five alternative presentations of one sidebar or panel region (charts, gauges, a list) one at a time, with swipe, trackpad, dot, and keyboard paging and an app-persisted page.",
|
|
6321
|
+
"publicExports": [
|
|
6322
|
+
"PagedView",
|
|
6323
|
+
"PagedViewProps",
|
|
6324
|
+
"PagedViewPage"
|
|
6325
|
+
],
|
|
6326
|
+
"useWhen": [
|
|
6327
|
+
"A sidebar or panel region shows one of a few alternative presentations at a time and people page between them by swiping, scrolling sideways, or clicking dots: render PagedView with pages and the controlled page, wire wirePagedViews, and set page from onPageChange.",
|
|
6328
|
+
"The chosen page should persist per viewer: store the id onPageChange reports."
|
|
6329
|
+
],
|
|
6330
|
+
"avoidWhen": [
|
|
6331
|
+
"Do not use it for named destinations people pick by name; use a TabBar with TabPanels or a SegmentedControl.",
|
|
6332
|
+
"Do not use it for a hierarchy or a drill-down flow; use NavStack or ColumnExplorer.",
|
|
6333
|
+
"Do not build a scroll-snapped pager or page dots by hand; use PagedView."
|
|
6334
|
+
],
|
|
6335
|
+
"alternatives": [
|
|
6336
|
+
{
|
|
6337
|
+
"id": "tabs",
|
|
6338
|
+
"relationship": "semantic-alternative",
|
|
6339
|
+
"when": "Use TabBar and TabPanel when each page has a visible name people choose by."
|
|
6340
|
+
},
|
|
6341
|
+
{
|
|
6342
|
+
"id": "segmented-control",
|
|
6343
|
+
"relationship": "nearest",
|
|
6344
|
+
"when": "Use a SegmentedControl above the content to switch between a few named views of the same data."
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
"id": "column-track",
|
|
6348
|
+
"relationship": "nearest",
|
|
6349
|
+
"when": "Use ColumnTrack layout=\"paged\" for a board of columns with the next one peeking in."
|
|
6350
|
+
}
|
|
6351
|
+
],
|
|
6352
|
+
"appOwns": [
|
|
6353
|
+
"the controlled page id and its persistence",
|
|
6354
|
+
"the pages, their labels, and their content"
|
|
6355
|
+
],
|
|
6356
|
+
"variants": [
|
|
6357
|
+
"two to five pages",
|
|
6358
|
+
"a single page (no dots)",
|
|
6359
|
+
"narrow sidebar width"
|
|
6360
|
+
],
|
|
6361
|
+
"accessibility": [
|
|
6362
|
+
"The dots are a tablist named by label; each dot is a tab named \"Page 2 of 3: <page label>\" (localize it with the pageLabel template, which fills {index}, {count}, and {label}) with aria-selected and aria-controls, and only the current dot is in the Tab order.",
|
|
6363
|
+
"Each page is a tabpanel named by its dot; pages other than the current one are inert, so focus and assistive technology stay on the visible page.",
|
|
6364
|
+
"With wirePagedViews: Left and Right on a focused dot move to the previous and next page (mirrored right to left), Home and End to the first and last.",
|
|
6365
|
+
"Paging slides smoothly, and jumps without animation when prefers-reduced-motion is set. The current dot is a wider pill, so the state does not rest on color alone; forced colors paint it Highlight."
|
|
6366
|
+
],
|
|
6367
|
+
"content": {
|
|
6368
|
+
"interactive": [
|
|
6369
|
+
{
|
|
6370
|
+
"kind": "contains"
|
|
6371
|
+
}
|
|
6372
|
+
]
|
|
6373
|
+
},
|
|
6374
|
+
"geometry": {
|
|
6375
|
+
"margin": "none",
|
|
6376
|
+
"border": "none",
|
|
6377
|
+
"padding": "none",
|
|
6378
|
+
"notes": [
|
|
6379
|
+
"The view fills its region; each page is the full width and height of the region and scrolls vertically on its own. Page content owns its inset (a ContentItem, List, or ListInsetText); add no wrapper padding.",
|
|
6380
|
+
"The dots float in a chrome-material pill fixed 8px above the bottom edge, so content scrolls beneath them; each page ends with block-end padding equal to the pill plus its offsets, so its last item scrolls clear."
|
|
6381
|
+
]
|
|
6382
|
+
},
|
|
6383
|
+
"delivery": {
|
|
6384
|
+
"moduleImport": "@kerfjs/ui/paged-view",
|
|
6385
|
+
"browserImport": "@kerfjs/ui/paged-view",
|
|
6386
|
+
"manualCssImport": "@kerfjs/ui/paged-view.css",
|
|
6387
|
+
"sideEffects": [
|
|
6388
|
+
"browser-condition-css"
|
|
6389
|
+
]
|
|
6390
|
+
},
|
|
6391
|
+
"wiring": [
|
|
6392
|
+
{
|
|
6393
|
+
"export": "wirePagedViews",
|
|
6394
|
+
"import": "@kerfjs/ui/wire-paged-views",
|
|
6395
|
+
"required": true
|
|
6396
|
+
}
|
|
6397
|
+
],
|
|
6398
|
+
"publicClasses": [
|
|
6399
|
+
"kui-paged-view",
|
|
6400
|
+
"kui-paged-view__viewport",
|
|
6401
|
+
"kui-paged-view__page",
|
|
6402
|
+
"kui-paged-view__dots",
|
|
6403
|
+
"kui-paged-view__dot"
|
|
6404
|
+
],
|
|
6405
|
+
"publicTokens": [],
|
|
6406
|
+
"rootElement": "div",
|
|
6407
|
+
"links": {
|
|
6408
|
+
"catalogRoute": "?component=paged-view",
|
|
6409
|
+
"documentation": "docs/paged-view.md",
|
|
6410
|
+
"recipe": "docs/component-selection.md#problem-to-component-matrix"
|
|
6411
|
+
}
|
|
6412
|
+
},
|
|
6413
|
+
{
|
|
6414
|
+
"id": "form",
|
|
6415
|
+
"name": "Form",
|
|
6416
|
+
"category": "Controls",
|
|
6417
|
+
"kind": "component",
|
|
6418
|
+
"source": "kerf",
|
|
6419
|
+
"description": "A layout-neutral native form that groups fields so their values submit and read together, with no inset, chrome, or layout of its own.",
|
|
6420
|
+
"uses": [],
|
|
6421
|
+
"purpose": "Group fields in a native form so the application reads them with FormData, a submit Button or Enter in a field submits them, and native constraint validation runs, without page navigation or a wrapper that changes the layout.",
|
|
5434
6422
|
"publicExports": [
|
|
5435
|
-
"
|
|
5436
|
-
"
|
|
5437
|
-
"reorderTabs"
|
|
6423
|
+
"Form",
|
|
6424
|
+
"wireForms"
|
|
5438
6425
|
],
|
|
5439
6426
|
"useWhen": [
|
|
5440
|
-
"
|
|
6427
|
+
"Fields whose values are saved or sent together, such as a dialog's settings or a compose form, and an action reads them with new FormData(form).",
|
|
6428
|
+
"A submit Button, or Enter in a field, should submit the fields; handle submit with delegateActions(root, 'submit', table) keyed on the Form's action.",
|
|
6429
|
+
"A view built in the Kerf UI editor needs a form around its fields."
|
|
5441
6430
|
],
|
|
5442
6431
|
"avoidWhen": [
|
|
5443
|
-
"Do not
|
|
6432
|
+
"Do not write a raw form element in Kerf UI markup; render Form so submission never navigates and the editor can place it.",
|
|
6433
|
+
"Do not use Form for spacing, insets, or a frame; it adds none. Lay the fields out with List, Row, or Grid inside it.",
|
|
6434
|
+
"Do not rely on Form to post to a URL; it has no native action or method, and the application owns transport."
|
|
5444
6435
|
],
|
|
5445
6436
|
"alternatives": [
|
|
5446
6437
|
{
|
|
5447
|
-
"id": "
|
|
5448
|
-
"relationship": "
|
|
5449
|
-
|
|
5450
|
-
{
|
|
5451
|
-
"id": "select",
|
|
5452
|
-
"relationship": "nearest"
|
|
5453
|
-
},
|
|
5454
|
-
{
|
|
5455
|
-
"id": "wa-tab-group",
|
|
5456
|
-
"relationship": "prefer-over"
|
|
6438
|
+
"id": "list",
|
|
6439
|
+
"relationship": "composes-with",
|
|
6440
|
+
"when": "Use a List inside the Form for field rhythm; the Form adds no spacing of its own."
|
|
5457
6441
|
}
|
|
5458
6442
|
],
|
|
5459
6443
|
"appOwns": [
|
|
5460
|
-
"
|
|
5461
|
-
"
|
|
5462
|
-
"
|
|
5463
|
-
"
|
|
5464
|
-
"persistence",
|
|
5465
|
-
"outer placement"
|
|
6444
|
+
"the submit action and its handler",
|
|
6445
|
+
"validation and error messages",
|
|
6446
|
+
"draft state and transport",
|
|
6447
|
+
"the fields and their layout"
|
|
5466
6448
|
],
|
|
5467
6449
|
"variants": [
|
|
5468
|
-
"
|
|
5469
|
-
"
|
|
5470
|
-
"
|
|
5471
|
-
"reorderable",
|
|
5472
|
-
"rail, segmented, and inspector presentation",
|
|
5473
|
-
"intrinsic or fill allocation",
|
|
5474
|
-
"separate or adjacent trailing action",
|
|
5475
|
-
"far-edge end action",
|
|
5476
|
-
"standalone Kerf Button or Web Awesome action in trailing or end",
|
|
5477
|
-
"overflow dividers on each side with tabs scrolled out of view (wired by wireScrollDividers)"
|
|
6450
|
+
"native constraint validation (default)",
|
|
6451
|
+
"noValidate for application-owned validation",
|
|
6452
|
+
"a submit Button inside it, or outside it through Button form"
|
|
5478
6453
|
],
|
|
5479
6454
|
"accessibility": [
|
|
5480
|
-
"
|
|
5481
|
-
"
|
|
6455
|
+
"Form renders a native form with no accessible name, so it is not a landmark; its fields keep their own labels, hints, and errors.",
|
|
6456
|
+
"Enter in a single-line field submits the form natively; wireForms stops the page from navigating while the submit event still reaches the application."
|
|
5482
6457
|
],
|
|
6458
|
+
"content": {
|
|
6459
|
+
"interactive": [
|
|
6460
|
+
{
|
|
6461
|
+
"kind": "contains"
|
|
6462
|
+
}
|
|
6463
|
+
]
|
|
6464
|
+
},
|
|
5483
6465
|
"geometry": {
|
|
5484
6466
|
"margin": "none",
|
|
5485
|
-
"border": "
|
|
5486
|
-
"padding": "
|
|
6467
|
+
"border": "none",
|
|
6468
|
+
"padding": "none",
|
|
5487
6469
|
"notes": [
|
|
5488
|
-
"
|
|
6470
|
+
"display: contents: the Form generates no box, so its children lay out as the parent's own flex, grid, or block children. A parent rule that selects its direct children (>) does not reach through it."
|
|
5489
6471
|
]
|
|
5490
6472
|
},
|
|
5491
6473
|
"delivery": {
|
|
5492
|
-
"browserImport": "@kerfjs/ui/
|
|
5493
|
-
"manualCssImport": "@kerfjs/ui/
|
|
6474
|
+
"browserImport": "@kerfjs/ui/form",
|
|
6475
|
+
"manualCssImport": "@kerfjs/ui/form.css",
|
|
5494
6476
|
"sideEffects": [
|
|
5495
6477
|
"browser-condition-css"
|
|
5496
6478
|
]
|
|
5497
6479
|
},
|
|
5498
6480
|
"wiring": [
|
|
5499
6481
|
{
|
|
5500
|
-
"export": "
|
|
5501
|
-
"import": "@kerfjs/ui/wire-
|
|
6482
|
+
"export": "wireForms",
|
|
6483
|
+
"import": "@kerfjs/ui/wire-forms",
|
|
5502
6484
|
"required": true,
|
|
5503
|
-
"
|
|
5504
|
-
|
|
5505
|
-
"name": "data-tab-dragging",
|
|
5506
|
-
"on": "TabBarItem (data-component=\"tab-bar-item\")",
|
|
5507
|
-
"meaning": "\"true\" on the tab being dragged."
|
|
5508
|
-
},
|
|
5509
|
-
{
|
|
5510
|
-
"name": "data-tab-drop-position",
|
|
5511
|
-
"on": "TabBarItem (data-component=\"tab-bar-item\")",
|
|
5512
|
-
"meaning": "\"before\" or \"after\" on the tab under the pointer: where the dragged tab would land."
|
|
5513
|
-
},
|
|
5514
|
-
{
|
|
5515
|
-
"name": "data-tab-autoscroll",
|
|
5516
|
-
"on": "kui-tab-bar__tabs",
|
|
5517
|
-
"meaning": "\"start\" or \"end\" while a drag near that edge auto-scrolls the strip."
|
|
5518
|
-
}
|
|
5519
|
-
]
|
|
5520
|
-
},
|
|
5521
|
-
{
|
|
5522
|
-
"export": "reorderTabs",
|
|
5523
|
-
"import": "@kerfjs/ui/wire-tab-bars",
|
|
5524
|
-
"required": false
|
|
5525
|
-
},
|
|
5526
|
-
{
|
|
5527
|
-
"export": "wireScrollDividers",
|
|
5528
|
-
"import": "@kerfjs/ui/wire-scroll-dividers",
|
|
5529
|
-
"required": false,
|
|
5530
|
-
"stateAttributes": [
|
|
5531
|
-
{
|
|
5532
|
-
"name": "data-scroll-overflow",
|
|
5533
|
-
"on": "kui-tab-bar__tabs",
|
|
5534
|
-
"meaning": "The physical edges, in canonical t/r/b/l order, beyond which content is scrolled out of view; absent when nothing is hidden (content that fits never reports its far edges). Re-applied if a re-render drops it."
|
|
5535
|
-
},
|
|
5536
|
-
{
|
|
5537
|
-
"name": "data-scroll-divider",
|
|
5538
|
-
"on": "chrome named in wireScrollDividers targets (a TabBar strip has none)",
|
|
5539
|
-
"meaning": "The sides, in t/r/b/l order, on which that chrome currently draws its scroll divider. Re-applied if a re-render drops it."
|
|
5540
|
-
},
|
|
5541
|
-
{
|
|
5542
|
-
"name": "data-header-overlay",
|
|
5543
|
-
"on": "kui-pane",
|
|
5544
|
-
"meaning": "measured once the wiring has measured a Pane's overlay header (headerPresentation: overlay) and published its border-box height as --kui-scroll-clearance-block-start on the Pane root, plus a classic content scrollbar's inline size as --kui-pane-scrollbar-inline-size, which the header leaves uncovered. Re-applied if a re-render drops it."
|
|
5545
|
-
}
|
|
5546
|
-
]
|
|
6485
|
+
"reason": "Prevents the native submission's page navigation (from a submit Button or Enter in a field) for every Form below root; the submit event still reaches the application's handler.",
|
|
6486
|
+
"stateAttributes": []
|
|
5547
6487
|
}
|
|
5548
6488
|
],
|
|
5549
6489
|
"publicClasses": [
|
|
5550
|
-
"kui-
|
|
5551
|
-
"kui-tab-bar__leading",
|
|
5552
|
-
"kui-tab-bar__tabs",
|
|
5553
|
-
"kui-tab-bar__trailing",
|
|
5554
|
-
"kui-tab-bar__end"
|
|
5555
|
-
],
|
|
5556
|
-
"publicTokens": [
|
|
5557
|
-
"--kui-tab-bar-background",
|
|
5558
|
-
"--kui-tab-bar-border",
|
|
5559
|
-
"--kui-tab-bar-divider-color",
|
|
5560
|
-
"--kui-tab-bar-strip-background",
|
|
5561
|
-
"--kui-tab-bar-strip-border-width",
|
|
5562
|
-
"--kui-tab-bar-strip-flex",
|
|
5563
|
-
"--kui-tab-bar-strip-gap",
|
|
5564
|
-
"--kui-tab-bar-strip-margin-block",
|
|
5565
|
-
"--kui-tab-bar-strip-min-height",
|
|
5566
|
-
"--kui-tab-bar-strip-overflow-block",
|
|
5567
|
-
"--kui-tab-bar-strip-padding",
|
|
5568
|
-
"--kui-tab-bar-strip-radius",
|
|
5569
|
-
"--kui-tab-bar-strip-scroll-padding-inline",
|
|
5570
|
-
"--kui-tab-bar-trailing-flex"
|
|
6490
|
+
"kui-form"
|
|
5571
6491
|
],
|
|
6492
|
+
"publicTokens": [],
|
|
6493
|
+
"rootElement": "form",
|
|
5572
6494
|
"links": {
|
|
5573
|
-
"catalogRoute": "?component=
|
|
5574
|
-
"documentation": "docs/
|
|
5575
|
-
"recipe": "docs/
|
|
6495
|
+
"catalogRoute": "?component=form",
|
|
6496
|
+
"documentation": "docs/forms-and-validation.md",
|
|
6497
|
+
"recipe": "docs/forms-and-validation.md#form"
|
|
6498
|
+
},
|
|
6499
|
+
"publicExportImports": {
|
|
6500
|
+
"wireForms": "@kerfjs/ui/wire-forms"
|
|
5576
6501
|
}
|
|
5577
6502
|
},
|
|
5578
6503
|
{
|
|
@@ -5629,6 +6554,13 @@
|
|
|
5629
6554
|
"accessibility": [
|
|
5630
6555
|
"Keep choice labels meaningful and every enabled native button in sequential Tab order."
|
|
5631
6556
|
],
|
|
6557
|
+
"content": {
|
|
6558
|
+
"interactive": [
|
|
6559
|
+
{
|
|
6560
|
+
"kind": "contains"
|
|
6561
|
+
}
|
|
6562
|
+
]
|
|
6563
|
+
},
|
|
5632
6564
|
"geometry": {
|
|
5633
6565
|
"margin": "none",
|
|
5634
6566
|
"border": "self",
|
|
@@ -5728,7 +6660,8 @@
|
|
|
5728
6660
|
"useWhen": [
|
|
5729
6661
|
"Expose one exclusive choice among several visible options that must wrap onto more rows, such as a labeled color palette with swatches.",
|
|
5730
6662
|
"Set multiple when the person may turn any number of visible, wrapping options on or off, such as label filters or annotation intents.",
|
|
5731
|
-
"Pick one icon from many (a command or category icon): presentation=\"icons\" with an icon and label per choice and maxHeight to scroll a long grid, instead of an application grid of buttons."
|
|
6663
|
+
"Pick one icon from many (a command or category icon): presentation=\"icons\" with an icon and label per choice and maxHeight to scroll a long grid, instead of an application grid of buttons.",
|
|
6664
|
+
"A section or filter strip that must stay one row (a feed's section filter on a phone): overflow=\"scroll\" scrolls the chips sideways inside the group instead of wrapping the content below it down; wire wireChoiceChips to keep the checked chip in view and wireScrollDividers to fade the edges with chips past them."
|
|
5732
6665
|
],
|
|
5733
6666
|
"avoidWhen": [
|
|
5734
6667
|
"Use SegmentedControl for a few compact choices on one track.",
|
|
@@ -5763,15 +6696,23 @@
|
|
|
5763
6696
|
"default or compact size",
|
|
5764
6697
|
"disabled group or disabled choices",
|
|
5765
6698
|
"required (single selection only)",
|
|
5766
|
-
"presentation=\"icons\": square 36px icon-only choices (an icon picker) named by hidden labels with hover titles, and maxHeight for a scrolling grid"
|
|
6699
|
+
"presentation=\"icons\": square 36px icon-only choices (an icon picker) named by hidden labels with hover titles, and maxHeight for a scrolling grid",
|
|
6700
|
+
"overflow=\"scroll\": one row that scrolls sideways inside the group, with no scrollbar and faded edges where chips are scrolled past"
|
|
5767
6701
|
],
|
|
5768
6702
|
"accessibility": [
|
|
5769
6703
|
"The single group is a named role=\"radiogroup\" of native radios: one Tab stop, arrow keys move the selection, and the checked radio submits the form value.",
|
|
5770
6704
|
"A multiple: 'toggle' group is a named role=\"group\" of native checkboxes: each pill is a Tab stop, a click or Space toggles it alone, its checked state is native, and every checked value submits under name.",
|
|
5771
6705
|
"A multiple: true group is a named role=\"listbox\" with aria-multiselectable whose chips are role=\"option\" with aria-selected: one Tab stop (roving tabindex). A click selects one chip, Cmd on Apple platforms or Ctrl elsewhere toggles one, and Shift extends a range from the anchor; arrows, Home, and End move the selection, Shift with them extends it, Cmd/Ctrl with them moves focus alone, Space toggles, Shift+Space extends, and Cmd/Ctrl+A selects all. Hidden inputs submit every selected value under name, and wireChoiceChips fires change on the group.",
|
|
5772
6706
|
"Every choice keeps a visible text label; the swatch is decorative and the selection adds a heavier border, so neither relies on color alone.",
|
|
5773
|
-
"Every color is a theme token, so a dark appearance scope (.
|
|
6707
|
+
"Every color is a theme token, so a dark appearance scope (a dark scheme prop, .kui-dark, .kui-invert, or any color-scheme: dark ancestor) restyles the chips for inverse chrome."
|
|
5774
6708
|
],
|
|
6709
|
+
"content": {
|
|
6710
|
+
"interactive": [
|
|
6711
|
+
{
|
|
6712
|
+
"kind": "contains"
|
|
6713
|
+
}
|
|
6714
|
+
]
|
|
6715
|
+
},
|
|
5775
6716
|
"geometry": {
|
|
5776
6717
|
"margin": "none",
|
|
5777
6718
|
"border": "self",
|
|
@@ -5789,7 +6730,7 @@
|
|
|
5789
6730
|
"export": "wireChoiceChips",
|
|
5790
6731
|
"import": "@kerfjs/ui/wire-choice-chips",
|
|
5791
6732
|
"required": true,
|
|
5792
|
-
"reason": "Gives a multiple: true group its listbox selection: pointer and keyboard gestures, roving focus, aria-selected, hidden form inputs, and a change event on the group. Radio and toggle groups use native inputs and need no wiring.",
|
|
6733
|
+
"reason": "Gives a multiple: true group its listbox selection: pointer and keyboard gestures, roving focus, aria-selected, hidden form inputs, and a change event on the group, and keeps the checked chip of an overflow=\"scroll\" group in view (the optional wireScrollDividers fades its edges with chips past them). Radio and toggle groups that wrap use native inputs and need no wiring.",
|
|
5793
6734
|
"stateAttributes": []
|
|
5794
6735
|
}
|
|
5795
6736
|
],
|
|
@@ -5856,6 +6797,13 @@
|
|
|
5856
6797
|
"It is a native radio group: Tab reaches it once and the arrow keys move the choice; each radio is named by its color label, also shown as the swatch's hover hint.",
|
|
5857
6798
|
"The chosen swatch wears a ring in the text color set off by a gap, so the choice never depends on hue; forced colors draw it in Highlight."
|
|
5858
6799
|
],
|
|
6800
|
+
"content": {
|
|
6801
|
+
"interactive": [
|
|
6802
|
+
{
|
|
6803
|
+
"kind": "contains"
|
|
6804
|
+
}
|
|
6805
|
+
]
|
|
6806
|
+
},
|
|
5859
6807
|
"geometry": {
|
|
5860
6808
|
"margin": "none",
|
|
5861
6809
|
"border": "self",
|
|
@@ -5947,6 +6895,13 @@
|
|
|
5947
6895
|
"Every thumb draws a two-tone ring, a white border inside a dark outline, so it keeps at least 3:1 non-text contrast against light and dark area and track colors alike.",
|
|
5948
6896
|
"Every slider track runs in the writing direction, as the native range does: in right-to-left text its gradient starts at the right, under the thumb at the channel's minimum."
|
|
5949
6897
|
],
|
|
6898
|
+
"content": {
|
|
6899
|
+
"interactive": [
|
|
6900
|
+
{
|
|
6901
|
+
"kind": "contains"
|
|
6902
|
+
}
|
|
6903
|
+
]
|
|
6904
|
+
},
|
|
5950
6905
|
"geometry": {
|
|
5951
6906
|
"margin": "none",
|
|
5952
6907
|
"border": "self",
|
|
@@ -6065,6 +7020,13 @@
|
|
|
6065
7020
|
"The trigger is a button named by the label and the current hex value, with aria-haspopup dialog and aria-expanded; the hint and error describe it.",
|
|
6066
7021
|
"The picker opens in a non-modal AnchoredSurface named by the label; Escape or a press outside closes it and focus returns to the trigger."
|
|
6067
7022
|
],
|
|
7023
|
+
"content": {
|
|
7024
|
+
"interactive": [
|
|
7025
|
+
{
|
|
7026
|
+
"kind": "contains"
|
|
7027
|
+
}
|
|
7028
|
+
]
|
|
7029
|
+
},
|
|
6068
7030
|
"geometry": {
|
|
6069
7031
|
"margin": "none",
|
|
6070
7032
|
"border": "self",
|
|
@@ -6138,7 +7100,7 @@
|
|
|
6138
7100
|
"Write a chat message, assistant prompt, or comment reply that is sent with a trailing action, especially in a DialogSurface floating footer over a transcript."
|
|
6139
7101
|
],
|
|
6140
7102
|
"avoidWhen": [
|
|
6141
|
-
"Use
|
|
7103
|
+
"Use a multiline TextField for an ordinary form field that is submitted with the rest of a form.",
|
|
6142
7104
|
"Do not wrap it in another framed ContentItem or card; it owns its frame, padding, and shadow."
|
|
6143
7105
|
],
|
|
6144
7106
|
"alternatives": [
|
|
@@ -6168,6 +7130,13 @@
|
|
|
6168
7130
|
"The frame's brand border shows focus within; the action row is a compact Toolbar footer named \"<label> Actions\", and its controls keep their own names and focus rings.",
|
|
6169
7131
|
"With submitOnEnter the field announces aria-keyshortcuts=\"Enter\"; Shift+Enter keeps a newline, and an Enter that commits an IME composition never sends."
|
|
6170
7132
|
],
|
|
7133
|
+
"content": {
|
|
7134
|
+
"interactive": [
|
|
7135
|
+
{
|
|
7136
|
+
"kind": "contains"
|
|
7137
|
+
}
|
|
7138
|
+
]
|
|
7139
|
+
},
|
|
6171
7140
|
"geometry": {
|
|
6172
7141
|
"margin": "none",
|
|
6173
7142
|
"border": "self",
|
|
@@ -6256,6 +7225,13 @@
|
|
|
6256
7225
|
"In collapsible mode, wireSearchFields manages this by default: activating the trigger reveals the searchbox and moves focus into it, Escape on an empty field collapses and returns focus to the trigger, and focus leaving an empty field collapses it; each behavior is individually opt-out.",
|
|
6257
7226
|
"The form-field presentation associates its visible label and optional hint with the searchbox, exposes aria-required when required, and lets wireSearchFields focus the editor from a label click. The app validates required input."
|
|
6258
7227
|
],
|
|
7228
|
+
"content": {
|
|
7229
|
+
"interactive": [
|
|
7230
|
+
{
|
|
7231
|
+
"kind": "contains"
|
|
7232
|
+
}
|
|
7233
|
+
]
|
|
7234
|
+
},
|
|
6259
7235
|
"geometry": {
|
|
6260
7236
|
"margin": "none",
|
|
6261
7237
|
"border": "self",
|
|
@@ -6394,6 +7370,13 @@
|
|
|
6394
7370
|
"The editor is named by the visible label and described by the hint or error; each chip has an edit button (its label) and a remove button named for the tag.",
|
|
6395
7371
|
"Enter or a delimiter adds the typed text, Backspace at the start removes the last tag, ArrowLeft and ArrowRight move between chips and the editor, and Backspace or Delete on a focused chip removes it."
|
|
6396
7372
|
],
|
|
7373
|
+
"content": {
|
|
7374
|
+
"interactive": [
|
|
7375
|
+
{
|
|
7376
|
+
"kind": "contains"
|
|
7377
|
+
}
|
|
7378
|
+
]
|
|
7379
|
+
},
|
|
6397
7380
|
"geometry": {
|
|
6398
7381
|
"margin": "child",
|
|
6399
7382
|
"border": "child",
|
|
@@ -6684,12 +7667,14 @@
|
|
|
6684
7667
|
"disabled choice with an optional reason",
|
|
6685
7668
|
"opt-in select-all and clear actions for multiple selection",
|
|
6686
7669
|
"multiple icon-only filter trigger with a fixed triggerIcon",
|
|
6687
|
-
"maxTriggerWidth / minTriggerWidth bounds on the closed trigger under any presentation, ellipsizing custom selected content"
|
|
7670
|
+
"maxTriggerWidth / minTriggerWidth bounds on the closed trigger under any presentation, ellipsizing custom selected content",
|
|
7671
|
+
"popupNote: quiet text at the bottom of the open popup"
|
|
6688
7672
|
],
|
|
6689
7673
|
"accessibility": [
|
|
6690
7674
|
"Verify the live value, standard events, focus, and rendered output.",
|
|
6691
7675
|
"The trigger is a native button with role=\"combobox\", aria-haspopup=\"listbox\", and aria-expanded. A nonempty label names it (the visible label is aria-hidden text beside it); otherwise ariaLabel names it without adding control height, including custom selected content.",
|
|
6692
7676
|
"Hint text is visible below the control and is the trigger's aria-description; placeholderText remains the empty value inside the closed control.",
|
|
7677
|
+
"popupNote is quiet text at the bottom of the open popup, below the choices (and a multiple Select's actions), and the listbox's aria-description; the visible line is aria-hidden, never an option, and wraps to the choices' width. Use it, not hint, for what the choices leave out in a toolbar Select, which has no room below its trigger.",
|
|
6693
7678
|
"Import select/register once: it defines the form-associated kui-select root (value, name, form submission, and form reset) and wires every Select in the document. The listbox opens below the trigger in the top layer, flipping above when short and capped at the viewport edges. Do not add consumer popup timing or position repairs.",
|
|
6694
7679
|
"Keyboard: Enter, Space, ArrowDown, or ArrowUp on the trigger opens on the chosen option (Home/End on the first/last), and typing opens on a matching label; in the listbox the arrows move and wrap, Home/End jump, typing a label's first letters moves to it, Enter or Space chooses, Escape closes and returns focus to the trigger, and Tab closes and continues from the trigger.",
|
|
6695
7680
|
"With multiple, the listbox (aria-multiselectable) stays open while choices toggle (pointer, Enter, or Space) and closes on an outside press, Escape, or Tab; each chosen option shows a check, and the closed control summarizes the chosen labels in choice order.",
|
|
@@ -6697,6 +7682,13 @@
|
|
|
6697
7682
|
"A multiple icon-only trigger shows its fixed triggerIcon and, while any choice is chosen, an aria-hidden count Badge; the trigger's accessible name ends with the chosen labels in choice order, and its value text stays empty.",
|
|
6698
7683
|
"Once registered, an icon-only trigger (single or multiple) shows an aria-hidden help tag repeating its accessible name (a single Select adds its current choice) after a 500ms hover and at once on keyboard focus; it hides while the listbox is open, on a press, and on Escape, and never joins aria-labelledby. Do not add a title or another tooltip."
|
|
6699
7684
|
],
|
|
7685
|
+
"content": {
|
|
7686
|
+
"interactive": [
|
|
7687
|
+
{
|
|
7688
|
+
"kind": "contains"
|
|
7689
|
+
}
|
|
7690
|
+
]
|
|
7691
|
+
},
|
|
6700
7692
|
"geometry": {
|
|
6701
7693
|
"margin": "none",
|
|
6702
7694
|
"border": "self",
|
|
@@ -6791,6 +7783,13 @@
|
|
|
6791
7783
|
"Native input with role=combobox, aria-autocomplete=list, aria-expanded, aria-controls, and aria-activedescendant; options are role=option in a listbox. The visible label is a real label; the hint is aria-describedby.",
|
|
6792
7784
|
"The suggestion listbox is a manual popover in the top layer, placed below the field at its width and flipped when short, so a clipping or scrolling ancestor (an AnchoredSurface, a dialog, a scrolling List) never cuts it off."
|
|
6793
7785
|
],
|
|
7786
|
+
"content": {
|
|
7787
|
+
"interactive": [
|
|
7788
|
+
{
|
|
7789
|
+
"kind": "contains"
|
|
7790
|
+
}
|
|
7791
|
+
]
|
|
7792
|
+
},
|
|
6794
7793
|
"geometry": {
|
|
6795
7794
|
"margin": "none",
|
|
6796
7795
|
"border": "self",
|
|
@@ -6934,6 +7933,13 @@
|
|
|
6934
7933
|
"The hint and error are visible below the field and form the input's aria-description; an error also sets aria-invalid=\"true\". The clear button is a native button named by clearLabel (default Clear), hidden while the field is empty, and returns focus to the field.",
|
|
6935
7934
|
"Compact text grows to 16px on coarse-pointer touch screens so iOS does not zoom on focus."
|
|
6936
7935
|
],
|
|
7936
|
+
"content": {
|
|
7937
|
+
"interactive": [
|
|
7938
|
+
{
|
|
7939
|
+
"kind": "root"
|
|
7940
|
+
}
|
|
7941
|
+
]
|
|
7942
|
+
},
|
|
6937
7943
|
"geometry": {
|
|
6938
7944
|
"margin": "none",
|
|
6939
7945
|
"border": "self",
|
|
@@ -7057,6 +8063,13 @@
|
|
|
7057
8063
|
"A native <input type=\"checkbox\"> inside its <label>, invisibly over the drawn box, so the label names it and pointer, keyboard, touch exploration, and forms reach the real control; Space toggles it and focus shows the focus ring on the box.",
|
|
7058
8064
|
"The hint and error form the input's aria-description; an error sets aria-invalid=\"true\" and the danger border. indeterminate sets the native indeterminate property through wireCheckboxes, so assistive technology reports a mixed state."
|
|
7059
8065
|
],
|
|
8066
|
+
"content": {
|
|
8067
|
+
"interactive": [
|
|
8068
|
+
{
|
|
8069
|
+
"kind": "contains"
|
|
8070
|
+
}
|
|
8071
|
+
]
|
|
8072
|
+
},
|
|
7060
8073
|
"geometry": {
|
|
7061
8074
|
"margin": "none",
|
|
7062
8075
|
"border": "self",
|
|
@@ -7174,6 +8187,13 @@
|
|
|
7174
8187
|
"A native <fieldset> (a group) named by its legend (label), ariaLabel, or labelledBy; each choice is a Kerf Checkbox, a native checkbox inside its <label>, invisibly over the drawn box. Every checkbox is its own Tab stop and Space toggles it; each checked value submits under name.",
|
|
7175
8188
|
"The group's hint and error form its aria-description; an error sets aria-invalid on the group and the danger border on each box. A choice's hint is that checkbox's aria-description. disabled disables the fieldset, and so every checkbox, natively."
|
|
7176
8189
|
],
|
|
8190
|
+
"content": {
|
|
8191
|
+
"interactive": [
|
|
8192
|
+
{
|
|
8193
|
+
"kind": "contains"
|
|
8194
|
+
}
|
|
8195
|
+
]
|
|
8196
|
+
},
|
|
7177
8197
|
"geometry": {
|
|
7178
8198
|
"margin": "none",
|
|
7179
8199
|
"border": "none",
|
|
@@ -7278,6 +8298,13 @@
|
|
|
7278
8298
|
"A native <fieldset role=\"radiogroup\"> named by its legend (label) or ariaLabel; each choice is a native radio inside its <label>, invisibly over the drawn circle. The browser owns the interaction: one Tab stop, arrow keys move and select, and the checked radio submits its value under name.",
|
|
7279
8299
|
"The group's hint and error form its aria-description; an error sets aria-invalid on the group and the danger border on each circle. required sets each radio's native required and aria-required on the group. A choice's hint is that radio's aria-description."
|
|
7280
8300
|
],
|
|
8301
|
+
"content": {
|
|
8302
|
+
"interactive": [
|
|
8303
|
+
{
|
|
8304
|
+
"kind": "contains"
|
|
8305
|
+
}
|
|
8306
|
+
]
|
|
8307
|
+
},
|
|
7281
8308
|
"geometry": {
|
|
7282
8309
|
"margin": "none",
|
|
7283
8310
|
"border": "none",
|
|
@@ -7379,6 +8406,13 @@
|
|
|
7379
8406
|
"accessibility": [
|
|
7380
8407
|
"A native <input type=\"checkbox\" role=\"switch\"> inside its <label>, invisibly over the drawn track, so the label names it and assistive technology announces on or off; Space toggles it and focus shows the focus ring on the track. The hint is its aria-description. The thumb's slide is skipped when reduced motion is preferred."
|
|
7381
8408
|
],
|
|
8409
|
+
"content": {
|
|
8410
|
+
"interactive": [
|
|
8411
|
+
{
|
|
8412
|
+
"kind": "contains"
|
|
8413
|
+
}
|
|
8414
|
+
]
|
|
8415
|
+
},
|
|
7382
8416
|
"geometry": {
|
|
7383
8417
|
"margin": "none",
|
|
7384
8418
|
"border": "self",
|
|
@@ -7477,6 +8511,13 @@
|
|
|
7477
8511
|
"It is a native range input: arrow keys, Page Up and Down, Home, and End step it, and the platform announces its value (with a unit, as aria-valuetext).",
|
|
7478
8512
|
"The label names it, the hint describes it, and the readout is hidden from assistive technology because the input already reports its value; forced colors draw a Highlight fill on a GrayText track."
|
|
7479
8513
|
],
|
|
8514
|
+
"content": {
|
|
8515
|
+
"interactive": [
|
|
8516
|
+
{
|
|
8517
|
+
"kind": "contains"
|
|
8518
|
+
}
|
|
8519
|
+
]
|
|
8520
|
+
},
|
|
7480
8521
|
"geometry": {
|
|
7481
8522
|
"margin": "none",
|
|
7482
8523
|
"border": "self",
|
|
@@ -7605,8 +8646,7 @@
|
|
|
7605
8646
|
"source": "kerf",
|
|
7606
8647
|
"description": "A typed action menu with nested choices, selected state, and optional pointer-anchored context opening, drawn by Kerf as a native menu in the top layer.",
|
|
7607
8648
|
"uses": [
|
|
7608
|
-
"lucide-icon"
|
|
7609
|
-
"wa-tooltip"
|
|
8649
|
+
"lucide-icon"
|
|
7610
8650
|
],
|
|
7611
8651
|
"purpose": "A typed action menu with nested choices, selected state, and optional pointer-anchored context opening, drawn by Kerf as a native menu in the top layer.",
|
|
7612
8652
|
"publicExports": [
|
|
@@ -7676,8 +8716,16 @@
|
|
|
7676
8716
|
"accessibility": [
|
|
7677
8717
|
"The trigger is a native button with aria-haspopup=\"menu\" and aria-expanded; an icon-only trigger requires label, rendered as visually hidden text inside the button, and a trigger with visible text is named by that text. The context anchor stays out of the accessibility tree. The open menu (role=\"menu\") takes the trigger's name, each submenu takes its parent item's label, and a heading names the role=\"group\" that holds its items, so a screen reader announces named menus and getByRole('menu', { name }) finds them. Items are menuitem or menuitemcheckbox buttons with aria-checked and aria-disabled.",
|
|
7678
8718
|
"Keyboard: Enter, Space, or ArrowDown on the trigger opens on the first item (ArrowUp on the last); ArrowUp/ArrowDown move and wrap past disabled items, Home/End jump, and typing a label's first letters moves to it; Enter or Space chooses; ArrowRight opens a submenu on its first item and ArrowLeft returns to the parent item (mirrored right to left); Escape closes the current level and returns focus to its opener; Tab closes the menu and continues from the trigger.",
|
|
7679
|
-
"Once registered, an icon-only trigger shows its label as an aria-hidden help tag after a 500ms hover and at once on keyboard focus; it hides while the menu is open, on a press, and on Escape, and never joins aria-labelledby. Do not add a title or another tooltip."
|
|
8719
|
+
"Once registered, an icon-only trigger shows its label as an aria-hidden help tag after a 500ms hover and at once on keyboard focus; it hides while the menu is open, on a press, and on Escape, and never joins aria-labelledby. Do not add a title or another tooltip.",
|
|
8720
|
+
"popupNote is quiet text at the bottom of the open top-level menu, below its items, and the menu's aria-description; the visible line is aria-hidden, never a menuitem, and wraps to the items' width. Submenus don't show it. Select draws the same note from the shared popup contract."
|
|
7680
8721
|
],
|
|
8722
|
+
"content": {
|
|
8723
|
+
"interactive": [
|
|
8724
|
+
{
|
|
8725
|
+
"kind": "contains"
|
|
8726
|
+
}
|
|
8727
|
+
]
|
|
8728
|
+
},
|
|
7681
8729
|
"geometry": {
|
|
7682
8730
|
"margin": "none",
|
|
7683
8731
|
"border": "child",
|
|
@@ -7717,7 +8765,7 @@
|
|
|
7717
8765
|
"category": "Controls",
|
|
7718
8766
|
"kind": "component",
|
|
7719
8767
|
"source": "kerf",
|
|
7720
|
-
"description": "A standalone action button: a native button (or a link with
|
|
8768
|
+
"description": "A standalone action button: a native button (or a link with link) in a neutral, brand, success, or danger tone and a primary, secondary, plain, or link emphasis, at the 44px control height or compact, or as an inline text link.",
|
|
7721
8769
|
"uses": [
|
|
7722
8770
|
"loading-spinner"
|
|
7723
8771
|
],
|
|
@@ -7728,14 +8776,16 @@
|
|
|
7728
8776
|
"useWhen": [
|
|
7729
8777
|
"A dialog footer, a form, or content needs an action button: tone=\"brand\" for the main action, tone=\"success\" for a positive action such as a pricing check, tone=\"danger\" for a destructive one, and emphasis=\"secondary\" or \"plain\" for the quieter actions beside it.",
|
|
7730
8778
|
"A form submits or resets: type=\"submit\" or \"reset\" (the default type never submits), with name, value, and form when needed.",
|
|
7731
|
-
"An action navigates: href renders a link with the same chrome.",
|
|
8779
|
+
"An action navigates: link (a URL, or { href, target }) renders a link with the same chrome; the older href and target props still work, but give one form, not both.",
|
|
8780
|
+
"An action or a link should read as a text link, such as a \"Source\" or \"Show Details\" link inside content: emphasis=\"link\" draws any Button, a <button> or a link, as inline underlined text in the tone's link color, at the surrounding text size.",
|
|
7732
8781
|
"A setup or progress sequence uses a Button as its current step: currentStep marks that button or link with aria-current=\"step\" without changing its styling.",
|
|
7733
8782
|
"A single primary action spans its form, sheet, or narrow column: fill makes it span the parent's available inline width, label centered, as SplitButton's fill does."
|
|
7734
8783
|
],
|
|
7735
8784
|
"avoidWhen": [
|
|
7736
8785
|
"Do not use inside a ToolbarControlGroup; give the group plain <button> controls, which it styles.",
|
|
7737
8786
|
"Do not use for an icon-only action; use an icon-only Button (with pressed for an on/off toggle).",
|
|
7738
|
-
"Do not use for a menu trigger; use PopupMenu."
|
|
8787
|
+
"Do not use for a menu trigger; use PopupMenu.",
|
|
8788
|
+
"Do not use emphasis=\"link\" for a navigation row or a toolbar link; use ListItemLink or ToolbarActionLink."
|
|
7739
8789
|
],
|
|
7740
8790
|
"alternatives": [
|
|
7741
8791
|
{
|
|
@@ -7756,26 +8806,35 @@
|
|
|
7756
8806
|
],
|
|
7757
8807
|
"variants": [
|
|
7758
8808
|
"neutral, brand, success, or danger tone",
|
|
7759
|
-
"primary, secondary, or
|
|
8809
|
+
"primary, secondary, plain, or link emphasis (link: inline underlined text in the tone's link color, no control box, on a button or a link)",
|
|
7760
8810
|
"default or compact size",
|
|
7761
8811
|
"rounded (default) or pill shape",
|
|
7762
8812
|
"content width (default) or fill: spans the parent's available inline width, label centered and ellipsized when it no longer fits",
|
|
7763
8813
|
"leading icon",
|
|
7764
8814
|
"icon-only square (icon and ariaLabel, no label)",
|
|
7765
8815
|
"pressed toggle (aria-pressed) on any tone and emphasis",
|
|
8816
|
+
"native popover invoker (popoverTarget, popoverTargetAction) with aria-haspopup (ariaHasPopup); not on a link",
|
|
7766
8817
|
"currentStep marker (aria-current=\"step\") on a button or link",
|
|
7767
8818
|
"loading",
|
|
7768
8819
|
"disabled",
|
|
7769
|
-
"link (href)",
|
|
8820
|
+
"link (link: a URL or { href, target }; or the older href and target)",
|
|
7770
8821
|
"badge (a count, short text, or true for a dot) over the corner, named through badgeLabel, with badgeTone",
|
|
7771
8822
|
"focusRingInset: the focus ring drawn inside the box for an ancestor that clips overflow"
|
|
7772
8823
|
],
|
|
7773
8824
|
"accessibility": [
|
|
7774
|
-
"A native <button> (type=\"button\" unless set) or, with href, an <a>; its label names it, or ariaLabel when the label is not enough. Focus shows the standard focus ring 1px outside the box; with focusRingInset it is drawn inside the box, two-tone with a surface-colored line inside the ring color, so it keeps 3:1 contrast on a loud fill of its own hue.",
|
|
8825
|
+
"A native <button> (type=\"button\" unless set) or, with link (or href), an <a>; its label names it, or ariaLabel when the label is not enough. Focus shows the standard focus ring 1px outside the box; with focusRingInset it is drawn inside the box, two-tone with a surface-colored line inside the ring color, so it keeps 3:1 contrast on a loud fill of its own hue.",
|
|
7775
8826
|
"Loading shows a spinner in place of the label, which still names the button, and sets aria-busy=\"true\". A disabled link drops its href and reports aria-disabled=\"true\". Disabled success uses a quiet success fill and readable on-fill text instead of fading the label.",
|
|
7776
8827
|
"With pressed, it is a toggle: aria-pressed reports the state, and the pressed look adds a doubled outline (secondary and plain) or a darkened fill with an inset ring (primary), so the state never relies on hue alone; forced-colors mode paints it Highlight. An icon-only Button is named by ariaLabel, and help tags show that name on hover and keyboard focus. A title gives native hover text that says more than the name and replaces the help tag.",
|
|
7777
|
-
"With currentStep, a native button or link reports aria-current=\"step\" even when disabled; the app owns the step label and which step is current."
|
|
8828
|
+
"With currentStep, a native button or link reports aria-current=\"step\" even when disabled; the app owns the step label and which step is current.",
|
|
8829
|
+
"With emphasis=\"link\" it keeps its native role (a <button> stays a button, a link a link) and the standard focus ring, drawn around the text; the label is underlined so the link never relies on color alone, and forced-colors mode paints it LinkText. It drops the 44px control height, so use it inline in text (the inline exception to target-size guidance), not as a standalone control."
|
|
7778
8830
|
],
|
|
8831
|
+
"content": {
|
|
8832
|
+
"interactive": [
|
|
8833
|
+
{
|
|
8834
|
+
"kind": "root"
|
|
8835
|
+
}
|
|
8836
|
+
]
|
|
8837
|
+
},
|
|
7779
8838
|
"geometry": {
|
|
7780
8839
|
"margin": "none",
|
|
7781
8840
|
"border": "self",
|
|
@@ -7819,7 +8878,9 @@
|
|
|
7819
8878
|
"--kui-focus-ring",
|
|
7820
8879
|
"--kui-font-m",
|
|
7821
8880
|
"--kui-font-s",
|
|
7822
|
-
"--kui-layout-rounded-radius"
|
|
8881
|
+
"--kui-layout-rounded-radius",
|
|
8882
|
+
"--kui-color-text-link",
|
|
8883
|
+
"--kui-radius-s"
|
|
7823
8884
|
],
|
|
7824
8885
|
"rootElement": "button",
|
|
7825
8886
|
"links": {
|
|
@@ -7847,7 +8908,7 @@
|
|
|
7847
8908
|
"A prominent primary action has a closely related set of options chosen from an attached trigger, such as Drive with a provider menu or Deploy with targets."
|
|
7848
8909
|
],
|
|
7849
8910
|
"avoidWhen": [
|
|
7850
|
-
"Do not use for a plain action without options; use
|
|
8911
|
+
"Do not use for a plain action without options; use Button.",
|
|
7851
8912
|
"Do not use inside a Toolbar for a command menu; use PopupMenu in a ToolbarControlGroup.",
|
|
7852
8913
|
"Do not use wa-button-group to build one; its hosts do not forward aria-expanded or names to their inner buttons."
|
|
7853
8914
|
],
|
|
@@ -7880,6 +8941,13 @@
|
|
|
7880
8941
|
"Both halves are native buttons in a group; the options trigger exposes aria-haspopup, aria-expanded, and optional aria-controls, and needs optionsLabel. busy sets aria-busy on the primary.",
|
|
7881
8942
|
"Each half draws the focus ring 1px outside its box; with focusRingInset it is drawn inside, two-tone with a surface-colored line inside the ring color, so it keeps 3:1 contrast on every loud fill."
|
|
7882
8943
|
],
|
|
8944
|
+
"content": {
|
|
8945
|
+
"interactive": [
|
|
8946
|
+
{
|
|
8947
|
+
"kind": "contains"
|
|
8948
|
+
}
|
|
8949
|
+
]
|
|
8950
|
+
},
|
|
7883
8951
|
"geometry": {
|
|
7884
8952
|
"margin": "none",
|
|
7885
8953
|
"border": "self",
|
|
@@ -7932,7 +9000,7 @@
|
|
|
7932
9000
|
"source": "kerf",
|
|
7933
9001
|
"description": "A compact browse trigger and a dashed drop zone around native file inputs, with wiring that reports chosen and dropped files.",
|
|
7934
9002
|
"uses": [],
|
|
7935
|
-
"purpose": "Let people choose or drop files (attachments, evidence, imports) without app CSS: a link-toned browse trigger and a dashed drop target that highlights while dragging, both around visually hidden native file inputs.",
|
|
9003
|
+
"purpose": "Let people choose or drop files (attachments, evidence, imports) without app CSS: a link-toned browse trigger (or, with tone, emphasis, or size, one that looks like the Button beside it) and a dashed drop target that highlights while dragging, both around visually hidden native file inputs.",
|
|
7936
9004
|
"publicExports": [
|
|
7937
9005
|
"FilePickerTrigger",
|
|
7938
9006
|
"FileDropZone",
|
|
@@ -7960,6 +9028,7 @@
|
|
|
7960
9028
|
],
|
|
7961
9029
|
"variants": [
|
|
7962
9030
|
"browse trigger",
|
|
9031
|
+
"browse trigger with the Button look: tone, emphasis, and size as on Button, for a toolbar or form row beside Buttons",
|
|
7963
9032
|
"drop zone",
|
|
7964
9033
|
"dragging",
|
|
7965
9034
|
"disabled",
|
|
@@ -7970,12 +9039,19 @@
|
|
|
7970
9039
|
"accessibility": [
|
|
7971
9040
|
"Each control is a label around a real file input that receives keyboard focus; the visible control shows the focus ring. Give the input an accessibleLabel when the visible copy is short."
|
|
7972
9041
|
],
|
|
9042
|
+
"content": {
|
|
9043
|
+
"interactive": [
|
|
9044
|
+
{
|
|
9045
|
+
"kind": "root"
|
|
9046
|
+
}
|
|
9047
|
+
]
|
|
9048
|
+
},
|
|
7973
9049
|
"geometry": {
|
|
7974
9050
|
"margin": "self",
|
|
7975
9051
|
"border": "self",
|
|
7976
9052
|
"padding": "self",
|
|
7977
9053
|
"notes": [
|
|
7978
|
-
"The drop zone carries the 8px content-item inline margin; the trigger is a compact 32px inline control."
|
|
9054
|
+
"The drop zone carries the 8px content-item inline margin; the trigger is a compact 32px inline control, or with the Button look the same size as a Button of that size."
|
|
7979
9055
|
]
|
|
7980
9056
|
},
|
|
7981
9057
|
"delivery": {
|
|
@@ -8118,11 +9194,13 @@
|
|
|
8118
9194
|
"StateBanner"
|
|
8119
9195
|
],
|
|
8120
9196
|
"useWhen": [
|
|
8121
|
-
"Place persistent inline semantic status beside affected work."
|
|
9197
|
+
"Place persistent inline semantic status beside affected work.",
|
|
9198
|
+
"Give the action as one or more compact pill Buttons (size=\"compact\", shape=\"pill\"), with any other controls beside them; a neutral Button takes the banner's tone and the action lays them out as a wrapping horizontal list."
|
|
8122
9199
|
],
|
|
8123
9200
|
"avoidWhen": [
|
|
8124
9201
|
"Do not use for an absent-content screen or transient confirmation.",
|
|
8125
|
-
"Do not use pop as a substitute for success, warning, or danger."
|
|
9202
|
+
"Do not use pop as a substitute for success, warning, or danger.",
|
|
9203
|
+
"Do not wrap the action's controls in a Row or restyle them to match the tone; the action already lays them out, and a neutral Button already follows the tone."
|
|
8126
9204
|
],
|
|
8127
9205
|
"alternatives": [
|
|
8128
9206
|
{
|
|
@@ -9104,6 +10182,13 @@
|
|
|
9104
10182
|
"catalogRoute": "?component=wa-button",
|
|
9105
10183
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9106
10184
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10185
|
+
},
|
|
10186
|
+
"content": {
|
|
10187
|
+
"interactive": [
|
|
10188
|
+
{
|
|
10189
|
+
"kind": "root"
|
|
10190
|
+
}
|
|
10191
|
+
]
|
|
9107
10192
|
}
|
|
9108
10193
|
},
|
|
9109
10194
|
{
|
|
@@ -9192,6 +10277,13 @@
|
|
|
9192
10277
|
"catalogRoute": "?component=wa-copy-button",
|
|
9193
10278
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9194
10279
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10280
|
+
},
|
|
10281
|
+
"content": {
|
|
10282
|
+
"interactive": [
|
|
10283
|
+
{
|
|
10284
|
+
"kind": "root"
|
|
10285
|
+
}
|
|
10286
|
+
]
|
|
9195
10287
|
}
|
|
9196
10288
|
},
|
|
9197
10289
|
{
|
|
@@ -9291,6 +10383,13 @@
|
|
|
9291
10383
|
"catalogRoute": "?component=wa-dropdown-item",
|
|
9292
10384
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9293
10385
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
10386
|
+
},
|
|
10387
|
+
"content": {
|
|
10388
|
+
"interactive": [
|
|
10389
|
+
{
|
|
10390
|
+
"kind": "root"
|
|
10391
|
+
}
|
|
10392
|
+
]
|
|
9294
10393
|
}
|
|
9295
10394
|
},
|
|
9296
10395
|
{
|
|
@@ -9335,6 +10434,13 @@
|
|
|
9335
10434
|
"catalogRoute": "?component=wa-checkbox",
|
|
9336
10435
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9337
10436
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10437
|
+
},
|
|
10438
|
+
"content": {
|
|
10439
|
+
"interactive": [
|
|
10440
|
+
{
|
|
10441
|
+
"kind": "root"
|
|
10442
|
+
}
|
|
10443
|
+
]
|
|
9338
10444
|
}
|
|
9339
10445
|
},
|
|
9340
10446
|
{
|
|
@@ -9441,6 +10547,13 @@
|
|
|
9441
10547
|
"catalogRoute": "?component=wa-color-picker",
|
|
9442
10548
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9443
10549
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
10550
|
+
},
|
|
10551
|
+
"content": {
|
|
10552
|
+
"interactive": [
|
|
10553
|
+
{
|
|
10554
|
+
"kind": "root"
|
|
10555
|
+
}
|
|
10556
|
+
]
|
|
9444
10557
|
}
|
|
9445
10558
|
},
|
|
9446
10559
|
{
|
|
@@ -9490,6 +10603,13 @@
|
|
|
9490
10603
|
"catalogRoute": "?component=wa-input",
|
|
9491
10604
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9492
10605
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
10606
|
+
},
|
|
10607
|
+
"content": {
|
|
10608
|
+
"interactive": [
|
|
10609
|
+
{
|
|
10610
|
+
"kind": "root"
|
|
10611
|
+
}
|
|
10612
|
+
]
|
|
9493
10613
|
}
|
|
9494
10614
|
},
|
|
9495
10615
|
{
|
|
@@ -9527,6 +10647,13 @@
|
|
|
9527
10647
|
"catalogRoute": "?component=wa-known-date",
|
|
9528
10648
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9529
10649
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10650
|
+
},
|
|
10651
|
+
"content": {
|
|
10652
|
+
"interactive": [
|
|
10653
|
+
{
|
|
10654
|
+
"kind": "root"
|
|
10655
|
+
}
|
|
10656
|
+
]
|
|
9530
10657
|
}
|
|
9531
10658
|
},
|
|
9532
10659
|
{
|
|
@@ -9566,6 +10693,13 @@
|
|
|
9566
10693
|
"catalogRoute": "?component=wa-number-input",
|
|
9567
10694
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9568
10695
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10696
|
+
},
|
|
10697
|
+
"content": {
|
|
10698
|
+
"interactive": [
|
|
10699
|
+
{
|
|
10700
|
+
"kind": "root"
|
|
10701
|
+
}
|
|
10702
|
+
]
|
|
9569
10703
|
}
|
|
9570
10704
|
},
|
|
9571
10705
|
{
|
|
@@ -9647,6 +10781,13 @@
|
|
|
9647
10781
|
"catalogRoute": "?component=wa-otp-input",
|
|
9648
10782
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9649
10783
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10784
|
+
},
|
|
10785
|
+
"content": {
|
|
10786
|
+
"interactive": [
|
|
10787
|
+
{
|
|
10788
|
+
"kind": "root"
|
|
10789
|
+
}
|
|
10790
|
+
]
|
|
9650
10791
|
}
|
|
9651
10792
|
},
|
|
9652
10793
|
{
|
|
@@ -9691,6 +10832,13 @@
|
|
|
9691
10832
|
"catalogRoute": "?component=wa-radio",
|
|
9692
10833
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9693
10834
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10835
|
+
},
|
|
10836
|
+
"content": {
|
|
10837
|
+
"interactive": [
|
|
10838
|
+
{
|
|
10839
|
+
"kind": "root"
|
|
10840
|
+
}
|
|
10841
|
+
]
|
|
9694
10842
|
}
|
|
9695
10843
|
},
|
|
9696
10844
|
{
|
|
@@ -9784,6 +10932,13 @@
|
|
|
9784
10932
|
"catalogRoute": "?component=wa-rating",
|
|
9785
10933
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9786
10934
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
10935
|
+
},
|
|
10936
|
+
"content": {
|
|
10937
|
+
"interactive": [
|
|
10938
|
+
{
|
|
10939
|
+
"kind": "root"
|
|
10940
|
+
}
|
|
10941
|
+
]
|
|
9787
10942
|
}
|
|
9788
10943
|
},
|
|
9789
10944
|
{
|
|
@@ -9831,6 +10986,13 @@
|
|
|
9831
10986
|
"catalogRoute": "?component=wa-select",
|
|
9832
10987
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9833
10988
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
10989
|
+
},
|
|
10990
|
+
"content": {
|
|
10991
|
+
"interactive": [
|
|
10992
|
+
{
|
|
10993
|
+
"kind": "root"
|
|
10994
|
+
}
|
|
10995
|
+
]
|
|
9834
10996
|
}
|
|
9835
10997
|
},
|
|
9836
10998
|
{
|
|
@@ -9875,6 +11037,13 @@
|
|
|
9875
11037
|
"catalogRoute": "?component=wa-slider",
|
|
9876
11038
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9877
11039
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
11040
|
+
},
|
|
11041
|
+
"content": {
|
|
11042
|
+
"interactive": [
|
|
11043
|
+
{
|
|
11044
|
+
"kind": "root"
|
|
11045
|
+
}
|
|
11046
|
+
]
|
|
9878
11047
|
}
|
|
9879
11048
|
},
|
|
9880
11049
|
{
|
|
@@ -9917,6 +11086,13 @@
|
|
|
9917
11086
|
"catalogRoute": "?component=wa-switch",
|
|
9918
11087
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9919
11088
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
11089
|
+
},
|
|
11090
|
+
"content": {
|
|
11091
|
+
"interactive": [
|
|
11092
|
+
{
|
|
11093
|
+
"kind": "root"
|
|
11094
|
+
}
|
|
11095
|
+
]
|
|
9920
11096
|
}
|
|
9921
11097
|
},
|
|
9922
11098
|
{
|
|
@@ -9959,6 +11135,13 @@
|
|
|
9959
11135
|
"catalogRoute": "?component=wa-textarea",
|
|
9960
11136
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
9961
11137
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
11138
|
+
},
|
|
11139
|
+
"content": {
|
|
11140
|
+
"interactive": [
|
|
11141
|
+
{
|
|
11142
|
+
"kind": "root"
|
|
11143
|
+
}
|
|
11144
|
+
]
|
|
9962
11145
|
}
|
|
9963
11146
|
},
|
|
9964
11147
|
{
|
|
@@ -9999,6 +11182,13 @@
|
|
|
9999
11182
|
"catalogRoute": "?component=wa-time-input",
|
|
10000
11183
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10001
11184
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
11185
|
+
},
|
|
11186
|
+
"content": {
|
|
11187
|
+
"interactive": [
|
|
11188
|
+
{
|
|
11189
|
+
"kind": "root"
|
|
11190
|
+
}
|
|
11191
|
+
]
|
|
10002
11192
|
}
|
|
10003
11193
|
},
|
|
10004
11194
|
{
|
|
@@ -10049,6 +11239,13 @@
|
|
|
10049
11239
|
"catalogRoute": "?component=wa-tag-input",
|
|
10050
11240
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10051
11241
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
11242
|
+
},
|
|
11243
|
+
"content": {
|
|
11244
|
+
"interactive": [
|
|
11245
|
+
{
|
|
11246
|
+
"kind": "root"
|
|
11247
|
+
}
|
|
11248
|
+
]
|
|
10052
11249
|
}
|
|
10053
11250
|
},
|
|
10054
11251
|
{
|
|
@@ -10146,6 +11343,13 @@
|
|
|
10146
11343
|
"catalogRoute": "?component=wa-accordion-item",
|
|
10147
11344
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10148
11345
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
11346
|
+
},
|
|
11347
|
+
"content": {
|
|
11348
|
+
"interactive": [
|
|
11349
|
+
{
|
|
11350
|
+
"kind": "contains"
|
|
11351
|
+
}
|
|
11352
|
+
]
|
|
10149
11353
|
}
|
|
10150
11354
|
},
|
|
10151
11355
|
{
|
|
@@ -10255,6 +11459,13 @@
|
|
|
10255
11459
|
"catalogRoute": "?component=wa-details",
|
|
10256
11460
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10257
11461
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
11462
|
+
},
|
|
11463
|
+
"content": {
|
|
11464
|
+
"interactive": [
|
|
11465
|
+
{
|
|
11466
|
+
"kind": "contains"
|
|
11467
|
+
}
|
|
11468
|
+
]
|
|
10258
11469
|
}
|
|
10259
11470
|
},
|
|
10260
11471
|
{
|
|
@@ -10305,6 +11516,13 @@
|
|
|
10305
11516
|
"catalogRoute": "?component=wa-dialog",
|
|
10306
11517
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10307
11518
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
11519
|
+
},
|
|
11520
|
+
"content": {
|
|
11521
|
+
"interactive": [
|
|
11522
|
+
{
|
|
11523
|
+
"kind": "contains"
|
|
11524
|
+
}
|
|
11525
|
+
]
|
|
10308
11526
|
}
|
|
10309
11527
|
},
|
|
10310
11528
|
{
|
|
@@ -10391,6 +11609,13 @@
|
|
|
10391
11609
|
"catalogRoute": "?component=wa-drawer",
|
|
10392
11610
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10393
11611
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
11612
|
+
},
|
|
11613
|
+
"content": {
|
|
11614
|
+
"interactive": [
|
|
11615
|
+
{
|
|
11616
|
+
"kind": "contains"
|
|
11617
|
+
}
|
|
11618
|
+
]
|
|
10394
11619
|
}
|
|
10395
11620
|
},
|
|
10396
11621
|
{
|
|
@@ -10609,6 +11834,16 @@
|
|
|
10609
11834
|
"catalogRoute": "?component=wa-breadcrumb-item",
|
|
10610
11835
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10611
11836
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
11837
|
+
},
|
|
11838
|
+
"content": {
|
|
11839
|
+
"interactive": [
|
|
11840
|
+
{
|
|
11841
|
+
"kind": "root",
|
|
11842
|
+
"whenProps": [
|
|
11843
|
+
"href"
|
|
11844
|
+
]
|
|
11845
|
+
}
|
|
11846
|
+
]
|
|
10612
11847
|
}
|
|
10613
11848
|
},
|
|
10614
11849
|
{
|
|
@@ -10648,6 +11883,13 @@
|
|
|
10648
11883
|
"catalogRoute": "?component=wa-pagination",
|
|
10649
11884
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10650
11885
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
11886
|
+
},
|
|
11887
|
+
"content": {
|
|
11888
|
+
"interactive": [
|
|
11889
|
+
{
|
|
11890
|
+
"kind": "contains"
|
|
11891
|
+
}
|
|
11892
|
+
]
|
|
10651
11893
|
}
|
|
10652
11894
|
},
|
|
10653
11895
|
{
|
|
@@ -10774,6 +12016,13 @@
|
|
|
10774
12016
|
"catalogRoute": "?component=wa-tab",
|
|
10775
12017
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10776
12018
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
12019
|
+
},
|
|
12020
|
+
"content": {
|
|
12021
|
+
"interactive": [
|
|
12022
|
+
{
|
|
12023
|
+
"kind": "root"
|
|
12024
|
+
}
|
|
12025
|
+
]
|
|
10777
12026
|
}
|
|
10778
12027
|
},
|
|
10779
12028
|
{
|
|
@@ -10833,22 +12082,22 @@
|
|
|
10833
12082
|
"category": "Navigation",
|
|
10834
12083
|
"kind": "component",
|
|
10835
12084
|
"source": "webawesome",
|
|
10836
|
-
"description": "Ecosystem tab panel; use Kerf
|
|
12085
|
+
"description": "Ecosystem tab panel; use Kerf TabPanel with a TabBar.",
|
|
10837
12086
|
"uses": [],
|
|
10838
|
-
"purpose": "Ecosystem tab panel; use Kerf
|
|
12087
|
+
"purpose": "Ecosystem tab panel; use Kerf TabPanel with a TabBar.",
|
|
10839
12088
|
"customElement": "wa-tab-panel",
|
|
10840
12089
|
"useWhen": [
|
|
10841
|
-
"Ecosystem tab panel; prefer
|
|
12090
|
+
"Ecosystem tab panel; prefer Kerf TabPanel with a TabBar."
|
|
10842
12091
|
],
|
|
10843
12092
|
"avoidWhen": [
|
|
10844
|
-
"Do not use it in Kerf UI;
|
|
12093
|
+
"Do not use it in Kerf UI; render TabPanel for the panel a TabBar selects."
|
|
10845
12094
|
],
|
|
10846
12095
|
"recommendation": "avoid",
|
|
10847
12096
|
"alternatives": [
|
|
10848
12097
|
{
|
|
10849
|
-
"id": "tab-
|
|
12098
|
+
"id": "tab-panel",
|
|
10850
12099
|
"relationship": "prefer-kerf",
|
|
10851
|
-
"when": "Use
|
|
12100
|
+
"when": "Use TabPanel for the panel a Kerf TabBar selects."
|
|
10852
12101
|
}
|
|
10853
12102
|
],
|
|
10854
12103
|
"geometry": {
|
|
@@ -10878,21 +12127,26 @@
|
|
|
10878
12127
|
"category": "Navigation",
|
|
10879
12128
|
"kind": "component",
|
|
10880
12129
|
"source": "webawesome",
|
|
10881
|
-
"description": "
|
|
12130
|
+
"description": "Ecosystem tree; use the Kerf TreeList.",
|
|
10882
12131
|
"uses": [
|
|
10883
12132
|
"wa-tree-item"
|
|
10884
12133
|
],
|
|
10885
|
-
"purpose": "
|
|
12134
|
+
"purpose": "Ecosystem tree; use the Kerf TreeList.",
|
|
10886
12135
|
"customElement": "wa-tree",
|
|
10887
12136
|
"useWhen": [
|
|
10888
|
-
"
|
|
12137
|
+
"Only inside an application that has already adopted the optional Web Awesome integration."
|
|
10889
12138
|
],
|
|
10890
12139
|
"avoidWhen": [
|
|
10891
|
-
"Do not
|
|
10892
|
-
|
|
12140
|
+
"Do not use it in Kerf UI; use TreeList (@kerfjs/ui/tree-list) with wireTreeList for a hierarchy of expandable, selectable rows."
|
|
12141
|
+
],
|
|
12142
|
+
"recommendation": "avoid",
|
|
12143
|
+
"alternatives": [
|
|
12144
|
+
{
|
|
12145
|
+
"id": "tree-list",
|
|
12146
|
+
"relationship": "prefer-kerf",
|
|
12147
|
+
"when": "Use TreeList for a hierarchy: ListItem rows indented by depth with disclosure arrows, keyboard tree navigation, and app-owned expansion and selection."
|
|
12148
|
+
}
|
|
10893
12149
|
],
|
|
10894
|
-
"recommendation": "exceptional",
|
|
10895
|
-
"alternatives": [],
|
|
10896
12150
|
"geometry": {
|
|
10897
12151
|
"margin": "none",
|
|
10898
12152
|
"border": "child",
|
|
@@ -10917,23 +12171,28 @@
|
|
|
10917
12171
|
"category": "Navigation",
|
|
10918
12172
|
"kind": "component",
|
|
10919
12173
|
"source": "webawesome",
|
|
10920
|
-
"description": "
|
|
12174
|
+
"description": "Ecosystem tree item; use the Kerf TreeList.",
|
|
10921
12175
|
"uses": [
|
|
10922
12176
|
"wa-checkbox",
|
|
10923
12177
|
"wa-icon",
|
|
10924
12178
|
"wa-spinner"
|
|
10925
12179
|
],
|
|
10926
|
-
"purpose": "
|
|
12180
|
+
"purpose": "Ecosystem tree item; use the Kerf TreeList.",
|
|
10927
12181
|
"customElement": "wa-tree-item",
|
|
10928
12182
|
"useWhen": [
|
|
10929
|
-
"
|
|
12183
|
+
"Only inside an application that has already adopted the optional Web Awesome integration."
|
|
10930
12184
|
],
|
|
10931
12185
|
"avoidWhen": [
|
|
10932
|
-
"Do not
|
|
10933
|
-
|
|
12186
|
+
"Do not use it in Kerf UI; use TreeList (@kerfjs/ui/tree-list) with wireTreeList for a hierarchy of expandable, selectable rows."
|
|
12187
|
+
],
|
|
12188
|
+
"recommendation": "avoid",
|
|
12189
|
+
"alternatives": [
|
|
12190
|
+
{
|
|
12191
|
+
"id": "tree-list",
|
|
12192
|
+
"relationship": "prefer-kerf",
|
|
12193
|
+
"when": "Use TreeList for a hierarchy: ListItem rows indented by depth with disclosure arrows, keyboard tree navigation, and app-owned expansion and selection."
|
|
12194
|
+
}
|
|
10934
12195
|
],
|
|
10935
|
-
"recommendation": "exceptional",
|
|
10936
|
-
"alternatives": [],
|
|
10937
12196
|
"geometry": {
|
|
10938
12197
|
"margin": "none",
|
|
10939
12198
|
"border": "self",
|
|
@@ -10950,6 +12209,13 @@
|
|
|
10950
12209
|
"catalogRoute": "?component=wa-tree-item",
|
|
10951
12210
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
10952
12211
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
12212
|
+
},
|
|
12213
|
+
"content": {
|
|
12214
|
+
"interactive": [
|
|
12215
|
+
{
|
|
12216
|
+
"kind": "root"
|
|
12217
|
+
}
|
|
12218
|
+
]
|
|
10953
12219
|
}
|
|
10954
12220
|
},
|
|
10955
12221
|
{
|
|
@@ -11517,6 +12783,13 @@
|
|
|
11517
12783
|
"catalogRoute": "?component=wa-carousel",
|
|
11518
12784
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
11519
12785
|
"recipe": "docs/webawesome-theme.md#coverage"
|
|
12786
|
+
},
|
|
12787
|
+
"content": {
|
|
12788
|
+
"interactive": [
|
|
12789
|
+
{
|
|
12790
|
+
"kind": "contains"
|
|
12791
|
+
}
|
|
12792
|
+
]
|
|
11520
12793
|
}
|
|
11521
12794
|
},
|
|
11522
12795
|
{
|
|
@@ -11593,6 +12866,13 @@
|
|
|
11593
12866
|
"catalogRoute": "?component=wa-comparison",
|
|
11594
12867
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
11595
12868
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
12869
|
+
},
|
|
12870
|
+
"content": {
|
|
12871
|
+
"interactive": [
|
|
12872
|
+
{
|
|
12873
|
+
"kind": "contains"
|
|
12874
|
+
}
|
|
12875
|
+
]
|
|
11596
12876
|
}
|
|
11597
12877
|
},
|
|
11598
12878
|
{
|
|
@@ -11748,6 +13028,13 @@
|
|
|
11748
13028
|
"catalogRoute": "?component=wa-zoomable-frame",
|
|
11749
13029
|
"documentation": "docs/webawesome-theme.md#coverage",
|
|
11750
13030
|
"recipe": "docs/component-selection.md#web-awesome-integration"
|
|
13031
|
+
},
|
|
13032
|
+
"content": {
|
|
13033
|
+
"interactive": [
|
|
13034
|
+
{
|
|
13035
|
+
"kind": "contains"
|
|
13036
|
+
}
|
|
13037
|
+
]
|
|
11751
13038
|
}
|
|
11752
13039
|
},
|
|
11753
13040
|
{
|
|
@@ -12399,9 +13686,8 @@
|
|
|
12399
13686
|
"row",
|
|
12400
13687
|
"select",
|
|
12401
13688
|
"state-banner",
|
|
12402
|
-
"
|
|
12403
|
-
"
|
|
12404
|
-
"wa-button",
|
|
13689
|
+
"text-field",
|
|
13690
|
+
"button",
|
|
12405
13691
|
"layout"
|
|
12406
13692
|
],
|
|
12407
13693
|
"useWhen": [
|