@kerfjs/ui 5.0.0-beta.122 → 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 +1501 -218
- 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 -27
- 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 +12 -5
- 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 +9 -6
- 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 +1251 -132
- package/ai/skill.md +107 -40
- 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-7AK5I7U7.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-HJWFHJ3Z.js → chunk-ADMWT7FX.js} +28 -82
- 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-BSNKDW4X.js → chunk-Q7RILH2D.js} +14 -9
- 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-header/list-header.css +11 -25
- 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 +24 -17
- package/dist/styles/components/navigation/tab-bar-item/tab-bar-item.css +111 -60
- 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-header.css +11 -25
- 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 +111 -60
- package/dist/styles/tab-bar.css +24 -17
- 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 +9 -5
- package/dist/tab-bar-item.js +1 -1
- package/dist/tab-bar.d.ts +16 -3
- 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 +44 -15
- package/docs/component-selection.md +161 -126
- package/docs/data-tables-and-lists.md +1 -1
- package/docs/design/sketch/Kerf-UI.sketch +0 -0
- package/docs/design/sketch/README.md +73 -0
- package/docs/design/sketch/advanced/README.md +75 -0
- package/docs/design/sketch/button/README.md +270 -0
- package/docs/design/sketch/content/README.md +70 -0
- package/docs/design/sketch/coverage.md +159 -0
- package/docs/design/sketch/forms/README.md +97 -0
- package/docs/design/sketch/lists/README.md +65 -0
- package/docs/design/sketch/toolbar/README.md +73 -0
- package/docs/design/sketch/unified/README.md +69 -0
- package/docs/design/sketch/unified/pages/advanced.png +0 -0
- package/docs/design/sketch/unified/pages/button.png +0 -0
- package/docs/design/sketch/unified/pages/content.png +0 -0
- package/docs/design/sketch/unified/pages/forms.png +0 -0
- package/docs/design/sketch/unified/pages/lists.png +0 -0
- package/docs/design/sketch/unified/pages/toolbar.png +0 -0
- package/docs/design/sketch-runner.md +87 -0
- package/docs/design/templates/button/emphasis-dark.svg +1 -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/list-header/action-dark.svg +1 -1
- package/docs/design/templates/list-header/action.svg +1 -1
- package/docs/design/templates/list-header/toggle-collapsed-dark.svg +1 -1
- package/docs/design/templates/list-header/toggle-collapsed.svg +1 -1
- package/docs/design/templates/list-header/toggle-expanded-dark.svg +1 -1
- package/docs/design/templates/list-header/toggle-expanded.svg +1 -1
- package/docs/design/templates/list-header-dark.svg +1 -1
- package/docs/design/templates/list-header.svg +1 -1
- package/docs/design/templates/tab-bar/workspace-tabs-dark.svg +1 -1
- package/docs/design/templates/tab-bar/workspace-tabs.svg +1 -1
- package/docs/design/templates/tab-bar-dark.svg +1 -1
- package/docs/design/templates/tab-bar.svg +1 -1
- package/docs/design/templates/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 +10 -1
- 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 +2 -1
- package/docs/layout.md +94 -10
- 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/ux-demo.md +1 -1
- 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 +162 -21
- package/package.json +104 -6
- 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-7AK5I7U7.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-BSNKDW4X.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-HJWFHJ3Z.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-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-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-ZN7KUMPY.js.map +0 -1
- package/dist/chunk-ZX2QQJXD.js.map +0 -1
package/llms.txt
CHANGED
|
@@ -138,6 +138,27 @@ explains when to reuse, compose, extend, or use native HTML.
|
|
|
138
138
|
surface; the composition layer joins catalogs by `package:id`. Consumer
|
|
139
139
|
composition catalogs use
|
|
140
140
|
[the composition extension schema](./ai/component-composition-extension.schema.json).
|
|
141
|
+
A tool that needs structured props (an inspector form, a document
|
|
142
|
+
validator, or a generated typed contract) loads
|
|
143
|
+
[component props](./ai/component-props.json) (schema alongside). It is
|
|
144
|
+
generated from the published declarations and Web Awesome's manifest, and
|
|
145
|
+
gives each component's props as a type grammar with required, default, enum
|
|
146
|
+
values, zone or slot, css-value grammar, and discriminated `variants`. Named
|
|
147
|
+
types live once in `definitions`. A component package generates its own
|
|
148
|
+
with `kerf-ui-props --write` after its build. Join it by `key` (`package:id`, or
|
|
149
|
+
`package:id#Export`).
|
|
150
|
+
A tool that reads or writes Kerf UI view documents (`*.kui.json`, the
|
|
151
|
+
editor's JSON source of truth) validates them with `validateView` from
|
|
152
|
+
`@kerfjs/ui/view` against `component-props.json` and
|
|
153
|
+
`component-composition.json`. The shape schema is
|
|
154
|
+
[view-document.schema.json](./ai/view-document.schema.json). A zone key
|
|
155
|
+
may name a content field inside a prop value (`leftRail.content`,
|
|
156
|
+
`views.0.content`) to put nodes there. Generate the
|
|
157
|
+
read-only `*.view.ts` module with `kerf-ui-view generate <doc>`. Never edit
|
|
158
|
+
it; `kerf-ui-view check` fails on hand edits, and `kerf-ui-view diff` lists
|
|
159
|
+
breaking contract changes first. A server-driven app renders documents at
|
|
160
|
+
runtime with `interpretView`, passing the `<name>Contract` from a
|
|
161
|
+
`--declarations-only` module so a changed document fails loudly.
|
|
141
162
|
Load [compile-time contracts](./ai/compile-time-contracts-v1.json) for stable
|
|
142
163
|
`KUI-T###` ids, exact declaration symbols, and the boundary between rejected
|
|
143
164
|
source states and relationships that still require runtime/catalog checks.
|
|
@@ -300,7 +321,8 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
300
321
|
corresponding minimum-height allowance while preserving its zone gap and
|
|
301
322
|
safe-area compensation. For a shorter header embedded in a panel or card,
|
|
302
323
|
pass `density="compact"` (40px: a 34px control band and 3px block insets)
|
|
303
|
-
and give its groups `size="compact"
|
|
324
|
+
and give its groups `size="compact"` (32px controls with the compact 14px
|
|
325
|
+
text of a compact Button); never shrink a Toolbar with CSS.
|
|
304
326
|
Composites forward `density` from their `ToolbarConfig` (Workbench panel,
|
|
305
327
|
main, and bottom toolbars, CollapsiblePanel, NavStack, SplitView) and size
|
|
306
328
|
the groups they compose (panel toggles, the back button) to match; pass
|
|
@@ -391,6 +413,13 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
391
413
|
is the sole layout root of a definite-height parent takes its full height
|
|
392
414
|
with `fill` and carries safe `data-*` markers through `rootAttributes`.
|
|
393
415
|
Inside a flex layout use `flex` instead.
|
|
416
|
+
- **Fill a root `Pane` with `fill`.** A Pane takes its content's height by
|
|
417
|
+
default. `<Pane fill>` takes the height of a definite-height parent
|
|
418
|
+
(`.kui-app-root`, a `SizedRegion`, a grid cell) or the rest of a flex column,
|
|
419
|
+
pinning its header and footer while its content scrolls. Use it for a
|
|
420
|
+
one-screen app that never navigates; a screen that pushes views or needs the
|
|
421
|
+
stack's chrome is a one-entry `NavStack`. A NavStack view, TabNavigator
|
|
422
|
+
scene, or Workbench region already fills its only-child Pane.
|
|
394
423
|
- **Keep Web Awesome on the shared inset tiers.** `webawesome.css` uses
|
|
395
424
|
`--kui-wa-control-inset` (8px controls/items) and
|
|
396
425
|
`--kui-wa-surface-margin` / `--kui-wa-surface-inset` (8px around/inside
|
|
@@ -454,6 +483,16 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
454
483
|
repair popup timing or anchor placement; raw Web Awesome selects stay native.
|
|
455
484
|
Use `hint` for supporting text below the control and `placeholderText` only
|
|
456
485
|
for the empty value inside it; loading placeholders retain the visible hint.
|
|
486
|
+
`popupNote` (on `Select` and `PopupMenu`) is quiet text at the bottom of
|
|
487
|
+
the open popup, announced as the listbox's or menu's description; use it
|
|
488
|
+
for what the choices leave out, notably in a toolbar Select, which has no
|
|
489
|
+
room for a `hint` below its trigger. `embedded` (on both) renders the
|
|
490
|
+
popup open at its trigger, in the document, and inert: in flow below the
|
|
491
|
+
trigger (a Select's listbox before its `hint`), or overlaying inside a
|
|
492
|
+
Toolbar so the control band keeps its height (no opening, no choosing, no row focus, no
|
|
493
|
+
`data-action`); PopupMenu `embeddedSubmenu` (a path of `items` indices)
|
|
494
|
+
also shows that submenu open beside its item: a static preview such as the Kerf UI editor's
|
|
495
|
+
edit canvas, never a replacement for an interactive popup.
|
|
457
496
|
- **Trust the defaults.** Render a control at its natural size and color (a
|
|
458
497
|
`LucideIcon` is 24px); if it looks wrong, fix the surrounding layout, not the
|
|
459
498
|
control. Never force a component's width/height to size it — that leaves a halo
|
|
@@ -500,7 +539,10 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
500
539
|
(`@kerfjs/ui/popup-menu`, registered once via `@kerfjs/ui/popup-menu/register`)
|
|
501
540
|
in a `single` `ToolbarControlGroup` with `nestedDropdown`; never hand-write
|
|
502
541
|
`wa-dropdown` markup for a menu. Let the group size the trigger from its icon,
|
|
503
|
-
localized text, and caret.
|
|
542
|
+
localized text, and caret. Outside a toolbar, a menu beside secondary
|
|
543
|
+
`Button`s takes `emphasis="secondary"` (outlined) and `size="compact"` (a
|
|
544
|
+
compact Button's height) instead of a hand-styled trigger. Set
|
|
545
|
+
`overflow="wrap"` for independent action links
|
|
504
546
|
that must remain fully visible at narrow widths; whole links move to a second
|
|
505
547
|
row, as in the catalog resource footer. `PopupMenu` items also support nested `submenu`
|
|
506
548
|
actions, headings, dividers, checked or trailing choice marks, danger tone,
|
|
@@ -564,6 +606,11 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
564
606
|
shorthands for repeated rhythm; use `Spacer` for one typed empty width/height
|
|
565
607
|
or flexible main-axis gap. Use `space`, `px`, `rem`, `em`, `pct`, `lengthVar`, and
|
|
566
608
|
`calc(plus(...))` for typed runtime composition. `remify()` is source-CSS only.
|
|
609
|
+
- **Give a nested whole-screen layout a SizedRegion.** `NavStack`, `SplitView`,
|
|
610
|
+
`TabNavigator`, and `Workbench` have no height of their own; below the app's
|
|
611
|
+
root, wrap one in `SizedRegion` (`height="fill"` by default, or `minHeight` /
|
|
612
|
+
`maxHeight` / a typed `height`). App-CSS `min-height` does not give them a
|
|
613
|
+
height, and they do not belong in a `List` or `ContentItem`.
|
|
567
614
|
- **Keep nested highlight corners concentric.** Inset hover and selection surfaces
|
|
568
615
|
follow the owning control's pill or rounded shape; their radius is the outer
|
|
569
616
|
radius minus `--kui-layout-highlight-inset`. Do not give an inner highlight an
|
|
@@ -733,13 +780,29 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
733
780
|
- **Span a full-width primary action with `fill`.** `<Button tone="brand" fill action="create">Create Project</Button>`
|
|
734
781
|
spans the parent's available inline width instead of shrinking to its
|
|
735
782
|
label, with the label centered and ellipsized once it no longer fits; a
|
|
736
|
-
link (`
|
|
783
|
+
link (`link`) fills the same way. It is the same `fill` `SplitButton`
|
|
737
784
|
takes. Never set `width: 100%` on a Button from app CSS.
|
|
738
785
|
- **Make any `Button` a toggle with `pressed`.** In content or a pane footer,
|
|
739
786
|
`<Button icon={…} ariaLabel="Show Conversation" emphasis="plain" pressed={open} action="toggle-chat" />`
|
|
740
787
|
renders a native `aria-pressed` button whose pressed look draws on top of
|
|
741
788
|
its tone and emphasis; the app flips the state. Never wrap a
|
|
742
789
|
`ToolbarControlGroup` outside a toolbar or restyle a button to fake it.
|
|
790
|
+
- **Make a `Button` a disclosure control with `expanded`.**
|
|
791
|
+
`<Button emphasis="plain" expanded={open} action="toggle-details" icon={<DisclosureArrow open={open} />}>Details</Button>`
|
|
792
|
+
renders a native button reporting `aria-expanded`; the app flips the state
|
|
793
|
+
and reveals the content. A link (`link` or `href`) cannot take it.
|
|
794
|
+
- **Link with `link`; look like a link with `emphasis="link"`.**
|
|
795
|
+
`<Button link={{ href: '/docs', target: '_blank' }}>Docs</Button>` renders
|
|
796
|
+
an `<a>` with the Button's own emphasis; `link` also takes a plain string or
|
|
797
|
+
a `URL` (written as its `.href`). It is the preferred form of `href` +
|
|
798
|
+
`target`, which still work; giving both throws. A `_blank` link gets
|
|
799
|
+
`rel="noopener noreferrer"` automatically. `emphasis="link"` draws any
|
|
800
|
+
Button, a `<button>` with an `action` or a link, as inline underlined text
|
|
801
|
+
in its tone's link color at the surrounding text size:
|
|
802
|
+
`<Button emphasis="link" link="#source">Source</Button>`. It drops the 44px
|
|
803
|
+
control box, so use it inline in content, not for a navigation row
|
|
804
|
+
(`ListItemLink`) or a toolbar link (`ToolbarActionLink`). It cannot take
|
|
805
|
+
`pressed`. Never hand-write an `<a>` and restyle it as a link.
|
|
743
806
|
- **Mark a current setup step with `Button.currentStep`.** It emits
|
|
744
807
|
`aria-current="step"` on a button or link, including a disabled current step.
|
|
745
808
|
The app owns the step label and which step is current. See `docs/button.md`.
|
|
@@ -754,7 +817,12 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
754
817
|
- **Show selectable item summaries with `SummaryRow`.** One `role="option"`
|
|
755
818
|
per item as a list `row` or board `card`, with a state `rail`, a clamped
|
|
756
819
|
`title`, `trailingMeta`, a `metadata` line, `selected`, `dimmed`, and
|
|
757
|
-
`listEdge` rounding
|
|
820
|
+
`listEdge` rounding (a title past `titleLines` ends in an ellipsis; never
|
|
821
|
+
add a clamp in app CSS); put the rows in a `List selectionMode="single"` with
|
|
822
|
+
`ariaLabel` (a `role="listbox"`) and wire `wireSummaryRows` once for one
|
|
823
|
+
Tab stop, Up/Down/Home/End focus, and Enter/Space selection; name each
|
|
824
|
+
option's action with `action` (its `data-action`); the app owns
|
|
825
|
+
the selection and intercepts a key by calling `preventDefault()` first. Never
|
|
758
826
|
hand-roll ticket-row chrome. For a non-option diagnostic with a nested
|
|
759
827
|
recovery button, set `semanticRole="group"` and `ariaLabel`; the root is not
|
|
760
828
|
a Tab stop and only the button activates. Set `draggable` on an option row or
|
|
@@ -772,9 +840,10 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
772
840
|
an app div with `max-height`, `overflow`, and a border.
|
|
773
841
|
- **Use `Button` for every standalone action, icon-only included.**
|
|
774
842
|
`Button` (`@kerfjs/ui/button`) is a native button in a `tone` (`neutral`,
|
|
775
|
-
`brand`, `success`, `danger`) and an `emphasis` (`primary`, `secondary`, `plain
|
|
843
|
+
`brand`, `success`, `danger`) and an `emphasis` (`primary`, `secondary`, `plain`,
|
|
844
|
+
or `link` for an inline text link), at
|
|
776
845
|
the 44px control height or `size="compact"`, with an optional `icon`,
|
|
777
|
-
`loading`, `
|
|
846
|
+
`loading`, `link`, form `type`, `shape` (`rounded` or `pill`), and `pressed`
|
|
778
847
|
for a toggle. With an `icon` and `ariaLabel` but no label it is an icon-only
|
|
779
848
|
square (a circle as a pill). Brand secondary/plain labels darken the brand
|
|
780
849
|
token in light mode to stay legible on a quiet hover fill. Inside a `ToolbarControlGroup`
|
|
@@ -784,8 +853,9 @@ headingLevel`, `SearchField clearIcon`, `ContentItem frame="framed"` for a
|
|
|
784
853
|
above a sunken work area); never wrap it in app CSS that sets a background.
|
|
785
854
|
- **Use `TextField` for free text.** `@kerfjs/ui/text-field` is a native
|
|
786
855
|
input in one labeled box: `label` (or `ariaLabel`), `hint`, and `error` (its
|
|
787
|
-
description; an error marks it invalid), an optional `icon
|
|
788
|
-
button,
|
|
856
|
+
description; an error marks it invalid), an optional `icon`, `clearable`
|
|
857
|
+
button, and end `toggle` (an icon toggle with `label`, `pressed`, and a
|
|
858
|
+
delegated `action`), `multiline` with `rows` and a growing `maxRows`, and `maxLength` with
|
|
789
859
|
`showCount`, at the 44px height or `size="compact"`. Call
|
|
790
860
|
`wireTextFields(root)` (`@kerfjs/ui/wire-text-fields`) once for clearing and
|
|
791
861
|
counting. For `type="number"`, pass native `min`, `max`, and `step` as numbers
|
|
@@ -812,15 +882,18 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
812
882
|
- **Pick or drop files with `FilePickerTrigger` / `FileDropZone`.** Both wrap
|
|
813
883
|
a real, visually hidden file input; `wireFilePickers(root, { onFiles })`
|
|
814
884
|
reports browsed and dropped files and highlights the zone while dragging.
|
|
815
|
-
|
|
885
|
+
Give the trigger `tone`, `emphasis`, or `size` to match the Buttons beside
|
|
886
|
+
it (an app bar's Open beside Save). Never hand-style a file input, its
|
|
887
|
+
label, or a dashed drop target.
|
|
816
888
|
- **Swap content in place with `ContentSwap`.** Two sides share one cell;
|
|
817
889
|
`active`, `transition` (`push`, `crossfade`, `none`), and `direction` drive
|
|
818
890
|
Kerf-owned motion with an inert, hidden inactive side and reduced-motion
|
|
819
891
|
fallback. Use `NavStack` for full views with toolbars.
|
|
820
892
|
- **Lay out a kanban board with `ColumnTrack`.** Equal columns that never
|
|
821
893
|
narrow below `minColumnWidth` scroll sideways; `layout="paged"` pages one
|
|
822
|
-
column at a time with a peek and snapping.
|
|
823
|
-
|
|
894
|
+
column at a time with a peek and snapping. Name the board with `ariaLabel`
|
|
895
|
+
(a `role="region"`) and each column `List` with `landmark="region"` and
|
|
896
|
+
`ariaLabel`. Never re-track a `Grid` or hand-roll scroll-snap CSS.
|
|
824
897
|
- **Show ambient activity with `EdgeActivityIndicator`.** A layout-free,
|
|
825
898
|
pointer-inert top-edge strip whose bars ripple while `busy`, with an optional
|
|
826
899
|
polite `message` pill; Kerf owns the wave and reduced motion. Never hand-roll
|
|
@@ -856,6 +929,33 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
856
929
|
- **Collect tags with `TagField`** (`@kerfjs/ui/tag-field`): SearchField's
|
|
857
930
|
token editor as a form field, a hidden input per tag; call
|
|
858
931
|
`wireTagFields(root, { onChange })` and re-render. Never use `wa-tag-input`.
|
|
932
|
+
- **Edit view documents in your app with `@kerfjs/ui/vite-editor`**:
|
|
933
|
+
`plugins: [kerfUiEditor()]` serves the Kerf UI editor at
|
|
934
|
+
`/__kerf-ui-editor/` on the dev server, previewing the components your
|
|
935
|
+
`.kerf-ui-profile.json` catalogs declare with their real functions. Edit
|
|
936
|
+
one of your types your own way by exporting `FieldEditors` (type name →
|
|
937
|
+
`{ render(context), container?, wire? }`) from
|
|
938
|
+
`src/kerf-ui-field-editors.ts`. See `docs/editor-host.md`.
|
|
939
|
+
- **Browse a deep hierarchy by column with `ColumnExplorer`**
|
|
940
|
+
(`@kerfjs/ui/column-explorer`): a macOS-style column view over TreeList's
|
|
941
|
+
nodes in a ColumnTrack. Pass `nodes`, `path`, and `action`, set
|
|
942
|
+
`path = treeListPath(nodes, id)` when a row is chosen, and call
|
|
943
|
+
`wireColumnExplorer(root)`; `layout="paged"` on a phone, `preview` for a leaf.
|
|
944
|
+
- **Page one panel region between presentations with `PagedView`**
|
|
945
|
+
(`@kerfjs/ui/paged-view`): full-size swipeable pages with page dots floating
|
|
946
|
+
at the bottom. Pass `id`, `label`, `pages` (`{ id, label, content }`), and the
|
|
947
|
+
controlled `page`; call `wirePagedViews(root, { onPageChange })` and set
|
|
948
|
+
`page` from it. Localize the dot names with `pageLabel` (`{index}`,
|
|
949
|
+
`{count}`, `{label}`). Page content owns its inset; add no wrapper padding.
|
|
950
|
+
- **Show a hierarchy with `TreeList`** (`@kerfjs/ui/tree-list`): ListItem rows
|
|
951
|
+
indented by depth with disclosure arrows, an ARIA tree. Pass `nodes`,
|
|
952
|
+
`expanded`, `selected`, `action`, and `toggleAction`, flip the ids in your
|
|
953
|
+
handlers, and call `wireTreeList(root)` for the keyboard. Mark nodes
|
|
954
|
+
`draggable` and pass `wireTreeList(root, { canDrop, onMove })` to move
|
|
955
|
+
them before, after, or inside other rows; `treeListExternalDrop(root,
|
|
956
|
+
{ canDrop })` lets your own pointer drag from outside the tree (a palette)
|
|
957
|
+
target its rows with the same indicator. Never indent ListItem rows
|
|
958
|
+
yourself.
|
|
859
959
|
- **Pick from a fixed palette with `ColorSwatches`** (`@kerfjs/ui/color-swatches`):
|
|
860
960
|
a native radio group of named round swatches, one Tab stop, a ring that
|
|
861
961
|
does not depend on hue, and a `'transparent'` no-color swatch.
|
|
@@ -863,6 +963,11 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
863
963
|
channel sliders that follow the color model (R/G/B, H/S/L, H/S/B, or gray)
|
|
864
964
|
plus opacity, RGB/HSL/HSB/Grayscale fields, hex, presets, and
|
|
865
965
|
samples; call `wireColorPickers(root, { onChange })` and re-render.
|
|
966
|
+
- **Group submitted fields in a `Form`** (`@kerfjs/ui/form`), never a raw
|
|
967
|
+
`<form>`: it adds no inset or layout (`display: contents`). Call
|
|
968
|
+
`wireForms(root)` (`@kerfjs/ui/wire-forms`) once so a submission never
|
|
969
|
+
navigates, set the Form's `action` (a delegated `data-action`), handle it with
|
|
970
|
+
`delegateActions(root, 'submit', table)`, and read `new FormData(form)`.
|
|
866
971
|
- **Put a color in a form with `ColorField`** (`@kerfjs/ui/color-field`): a
|
|
867
972
|
swatch-and-hex trigger that opens a ColorPicker below it; call
|
|
868
973
|
`wireColorFields(root, { onChange, pickers })` and re-render. Never use
|
|
@@ -874,19 +979,28 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
874
979
|
closed value ellipsizes when space runs out. `presentation="title"` gives a
|
|
875
980
|
rail view heading a 36px bold, flush-start trigger and adjacent caret;
|
|
876
981
|
`focusRingInset` keeps its ring inside clipping ancestors.
|
|
982
|
+
- **Render a tab's panel with `TabPanel`** (`@kerfjs/ui/tab-panel`), never a raw
|
|
983
|
+
`role="tabpanel"` element: its `id` is the `TabBarItem`'s `panelId`, its
|
|
984
|
+
`tabId` is the tab's `tabId` (`aria-labelledby`), set `hidden` on every panel
|
|
985
|
+
but the selected tab's and `busy` while a pending tab's panel loads. It adds
|
|
986
|
+
no inset or chrome.
|
|
877
987
|
- **Configure application tabs at their owners.** TabBarItem's `icon-only`
|
|
878
988
|
presentation keeps `name` accessible, `labelMaxWidth` ellipsizes a long name,
|
|
879
989
|
`nameOverflow="visible"` shows the full name during inline loading, and
|
|
880
990
|
`dropTarget` highlights a drag-over without changing selection. `attention`
|
|
881
991
|
uses `--kui-tab-bar-item-attention-color`. TabBar's public
|
|
882
|
-
`--kui-tab-bar-strip-*` tokens set compact strip geometry.
|
|
992
|
+
`--kui-tab-bar-strip-*` tokens set compact strip geometry. In intrinsic
|
|
993
|
+
allocation, tabs give up width by ellipsizing their names down to a minimum
|
|
994
|
+
before the strip scrolls; do not cap or clip tab names in app CSS.
|
|
883
995
|
An inspector TabBar uses the shared rounded rectangle radius on its strip
|
|
884
996
|
and inset segmented tabs; an ordinary segmented TabBar keeps pill ends and
|
|
885
|
-
smaller interior tab corners
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
997
|
+
smaller interior tab corners, and `shape="rounded"` gives a segmented strip
|
|
998
|
+
the rounded rectangle radius with concentric tabs (a narrow sidebar's
|
|
999
|
+
strip). Configure the presentation and shape instead of restyling
|
|
1000
|
+
TabBarItem.
|
|
1001
|
+
Put fixed controls in TabBar's `leading`, `trailing`, or `end` zones outside
|
|
1002
|
+
the scrolling tablist. `snapTabs` settles ordinary tabs at the strip's
|
|
1003
|
+
inline-start edge; there is no pinned-tab special case.
|
|
890
1004
|
- **Use `Badge` for compact non-interactive metadata.** Configure its semantic
|
|
891
1005
|
tone, appearance, shape, and size instead of creating badge CSS in an app or
|
|
892
1006
|
consuming component. Use a real button or link for interactive content.
|
|
@@ -896,6 +1010,12 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
896
1010
|
with `badge: true` plus its required `badgeLabel`. A text badge takes a
|
|
897
1011
|
decorative leading `icon`, a `title` tooltip, and `data-*` `rootAttributes`
|
|
898
1012
|
for app identity; never wrap a Badge or nest a `Row` in it for those.
|
|
1013
|
+
For a count on a toolbar group button, pass `ToolbarButton` `badge` (a
|
|
1014
|
+
count, short text, or `true` for a dot) with `badgeTone` and `badgeMax`
|
|
1015
|
+
(default 99, so 128 shows "99+"); a count of 0 shows nothing. The group owns
|
|
1016
|
+
the corner placement, the ring against its surface, and compact sizing. The
|
|
1017
|
+
badge is `aria-hidden`, so name the count in the button's `ariaLabel` and
|
|
1018
|
+
`title`.
|
|
899
1019
|
For app-supplied text that can run long (a tag or category name), set
|
|
900
1020
|
`maxWidth` (a `CssLength`, such as `px(160)`): the label truncates with an
|
|
901
1021
|
ellipsis and string or number content becomes the hover `title`.
|
|
@@ -930,9 +1050,14 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
930
1050
|
multi-select: a listbox where a click selects one, Cmd/Ctrl toggles, Shift
|
|
931
1051
|
extends, and hidden inputs submit under `name`; wire it with
|
|
932
1052
|
`wireChoiceChips` (`@kerfjs/ui/wire-choice-chips`) and read the set with
|
|
933
|
-
`readChoiceChips`.
|
|
934
|
-
|
|
935
|
-
instead of
|
|
1053
|
+
`readChoiceChips`. A section or filter strip that must stay one row (a
|
|
1054
|
+
feed's sections on a phone) takes `overflow="scroll"`: the chips scroll
|
|
1055
|
+
sideways inside the group instead of wrapping the content below down;
|
|
1056
|
+
`wireChoiceChips` keeps the checked chip in view and `wireScrollDividers`
|
|
1057
|
+
fades the edges with chips past them. Use a `TabBar` instead only when the
|
|
1058
|
+
choice switches tabpanels. On dark
|
|
1059
|
+
inverse chrome, place the chips in a dark appearance scope (a container's
|
|
1060
|
+
`scheme="dark"`, or `.kui-dark`) instead of restyling them.
|
|
936
1061
|
|
|
937
1062
|
- **Open a scrolling view with `BackdropImage`.** Place it first in a Pane or
|
|
938
1063
|
NavStack view's scrolling content: `parallax` (`subtle` or a 0 to 1 factor)
|
|
@@ -949,6 +1074,21 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
949
1074
|
`BackdropImage.deferOffscreen` directly) to skip offscreen hero painting while
|
|
950
1075
|
preserving card height and the shared scroll owner.
|
|
951
1076
|
|
|
1077
|
+
- **Tie content effects to scroll with `ScrollEffect`.** `@kerfjs/ui/scroll-effect`
|
|
1078
|
+
wraps any content and runs presets on its own CSS view timeline:
|
|
1079
|
+
`parallax` (`lag`, default `exit`), `reveal` (default `entry`), `fade`
|
|
1080
|
+
(default `exit`), `scale` (`from`/`to`, default `entry`), and `dim` (`to`,
|
|
1081
|
+
default `exit`), each with `range` (`entry`, `exit`, `cover`, `contain`) and
|
|
1082
|
+
`rangeStart`/`rangeEnd` percentages; effects (repeats too) nest in
|
|
1083
|
+
array order. Only transform and opacity animate. It is static (content in
|
|
1084
|
+
place, opaque, undimmed) without scroll-driven animations, under reduced
|
|
1085
|
+
motion, `data-kui-effects="static"`, slow-update displays, reduced
|
|
1086
|
+
transparency, increased contrast, or forced colors, so never hide essential
|
|
1087
|
+
content in a revealed state. There is no blur preset (BackdropImage owns the
|
|
1088
|
+
image blur) and no IntersectionObserver gating. BackdropImage runs on the
|
|
1089
|
+
same shared layer. Never hand-roll scroll listeners or `animation-timeline`
|
|
1090
|
+
CSS.
|
|
1091
|
+
|
|
952
1092
|
- **Use `MessageComposer` for a chat or prompt composer.** `@kerfjs/ui/message-composer`
|
|
953
1093
|
renders a raised frame (standard border, large radius, `shadow-l`) whose
|
|
954
1094
|
border turns brand while focus is within, a borderless textarea that grows
|
|
@@ -966,7 +1106,7 @@ created, input }`. Never use a hand-styled `<input list>` + `<datalist>`.
|
|
|
966
1106
|
|
|
967
1107
|
## Public exports
|
|
968
1108
|
|
|
969
|
-
`Badge`, `LucideIcon`, `DisclosureArrow`, `Toolbar`, `ToolbarControlGroup`, `ToolbarActionLink`, `FloatingToolbar`, `ToolbarText`, `Text`,
|
|
1109
|
+
`Badge`, `LucideIcon`, `DisclosureArrow`, `Toolbar`, `ToolbarControlGroup`, `ToolbarActionLink`, `ToolbarButton`, `FloatingToolbar`, `ToolbarText`, `Text`,
|
|
970
1110
|
`ListItem`, `ListActionRow` (+ `wireListReorder`, `reorderListItems`), `wireListFocusScroll`, `ListHeader`, `ListInsetControl`,
|
|
971
1111
|
`ListInsetText`, `SegmentedControl`, `ChoiceChips`, `MessageComposer`,
|
|
972
1112
|
`Select`, `SearchField` (+ `readSearchField`, `placeSearchFieldCaret`,
|
|
@@ -1052,6 +1192,7 @@ Select menus use native viewport shifting with 10px gutters: default menus grow
|
|
|
1052
1192
|
Key conditional `StateBanner` siblings with `rootAttributes={{ "data-key": "…" }}` so removing an earlier banner preserves the surviving action and its focus.
|
|
1053
1193
|
|
|
1054
1194
|
Key sibling `DialogSurface`s that render conditionally with `rootAttributes={{ "data-key": "…" }}` so a re-render morphs each dialog into itself; never wrap one in a keyed app `div`. Modal `DialogSurface` bounds use typed `viewportGutter` and `maxHeight` (`CssLength` or `"viewport"`); explicit caps stay within the dynamic viewport minus both gutters. Omitted props keep the default caps (20px clear of each edge, 80% of the viewport height at 420px wide or narrower). Application render state chooses responsive values, and preview layout remains application-owned. `height` sets a definite bounded modal size and `bodyLayout="fill"` lets one child fill the body; `bodyLayout="fill-last"` keeps leading rows at their height above one filling last child, and `footerPresentation="floating"` (with a typed `footerOffset`) floats a chat composer over the body while the body reserves its measured height; give the transcript `scrollClearance="block-end"` (a `scrollable` `List` or a `Pane`) to let it scroll beneath the composer, with the last message still resting above it, through the published `--kui-scroll-clearance-block-end` context (overlaying chrome publishes `--kui-scroll-clearance-block-start` / `-end`; one scroller per covered edge opts in; a composed Pane opts in through `PaneConfig.scrollClearance` on a Workbench `mainPane` or panel `pane`, a `CollapsiblePanel` `pane`, or a `NavStack` view's `pane`). `headerPresentation="floating"` lays the title bar over the body on the translucent `--kui-chrome-material-raised` (opaque under reduced transparency, increased contrast, and forced colors); the register measures it and the body reserves it, and a `fill` body's only child with `scrollClearance="both"` scrolls beneath both the title bar and a floating composer through the published `--kui-scroll-clearance-block-start`. `presentation="bottom-sheet"` attaches the dialog to the bottom edge with square bottom corners, safe-area and virtual-keyboard clearance behind the panel, and a slide in/out (`enterMotion` / `exitMotion`); `resizable` adds a top grabber separator bounded by `minHeight` and `maxHeight`. `PopoverDialogSurface` is the non-modal, light-dismiss counterpart on the native Popover API, with the same size props and an `embedded` in-flow presentation; `describedBy` sets its `aria-describedby` (usually a title `ToolbarText`'s `descriptionId`).
|
|
1195
|
+
Render a non-modal dialog as `PopoverDialogSurface`; `dismiss="manual"` keeps a request open until it is answered, and `anchorName` docks it to an app region named with the same CSS `anchor-name`.
|
|
1055
1196
|
|
|
1056
1197
|
Render a modal dialog as `DialogSurface` itself, a native `<dialog>` (`alert` renders `role="alertdialog"` for a destructive confirmation; pair it with `describedBy` on the message): `label` (or `labelledBy` with a `heading`, such as an xl `ToolbarText` with a description) names it, `describedBy` (the heading ToolbarText's `descriptionId`, or app-owned summary copy) describes it as `aria-describedby`, `children` is its body, `footer` holds its buttons, and `headerActions` sit before its close button (`withoutHeader` drops the header for content that owns its heading and close control). Open it with `openDialog(dialog)` and close it with `closeDialog(dialog)` from `@kerfjs/ui/surface-scaffold`; never toggle its `open` attribute. The close button, any `data-dialog-close` element inside (a Cancel button), Escape, and, with `lightDismiss`, a backdrop press dispatch a cancelable `kui-request-close` (`detail.source`: `close-button`, `escape`, or `backdrop`); cancel it to keep the dialog open (the panel pulses). The native `close` event fires once it closes. `openDialog` installs the listeners and, while the dialog is open, measures its floating header/footer, follows a bottom sheet's keyboard and grabber, and keeps that state across re-renders; import `@kerfjs/ui/surface-scaffold/register` only when a dialog may open some other way. Do not write `wa-dialog` inside a `DialogSurface`.
|
|
1057
1198
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kerfjs/ui",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.124",
|
|
4
4
|
"description": "Accessible, composable UI primitives for kerf applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
"kerf-ui-analyze": "./analyzer/cli.mjs",
|
|
32
32
|
"kerf-ui-doctor": "./doctor/cli.mjs",
|
|
33
33
|
"kerf-ui-evaluate": "./evaluator/cli.mjs",
|
|
34
|
+
"kerf-ui-view": "./view/cli.mjs",
|
|
35
|
+
"kerf-ui-props": "./props/cli.mjs",
|
|
34
36
|
"kerf-catalog-demo": "./catalog-projection-cli.mjs"
|
|
35
37
|
},
|
|
36
38
|
"main": "./dist/index.js",
|
|
@@ -56,6 +58,14 @@
|
|
|
56
58
|
"types": "./catalog-projection.d.mts",
|
|
57
59
|
"import": "./catalog-projection.mjs"
|
|
58
60
|
},
|
|
61
|
+
"./view": {
|
|
62
|
+
"types": "./view/index.d.mts",
|
|
63
|
+
"import": "./view/index.mjs"
|
|
64
|
+
},
|
|
65
|
+
"./vite-editor": {
|
|
66
|
+
"types": "./vite-editor.d.mts",
|
|
67
|
+
"import": "./vite-editor.mjs"
|
|
68
|
+
},
|
|
59
69
|
"./vite-ux-review": {
|
|
60
70
|
"types": "./vite-ux-review.d.mts",
|
|
61
71
|
"import": "./vite-ux-review.mjs"
|
|
@@ -139,6 +149,11 @@
|
|
|
139
149
|
"browser": "./dist/browser/grid.js",
|
|
140
150
|
"import": "./dist/grid.js"
|
|
141
151
|
},
|
|
152
|
+
"./sized-region": {
|
|
153
|
+
"types": "./dist/sized-region.d.ts",
|
|
154
|
+
"browser": "./dist/browser/sized-region.js",
|
|
155
|
+
"import": "./dist/sized-region.js"
|
|
156
|
+
},
|
|
142
157
|
"./spacer": {
|
|
143
158
|
"types": "./dist/spacer.d.ts",
|
|
144
159
|
"browser": "./dist/browser/spacer.js",
|
|
@@ -197,6 +212,11 @@
|
|
|
197
212
|
"browser": "./dist/browser/catalog.js",
|
|
198
213
|
"import": "./dist/catalog.js"
|
|
199
214
|
},
|
|
215
|
+
"./editor": {
|
|
216
|
+
"types": "./dist/editor.d.ts",
|
|
217
|
+
"browser": "./dist/browser/editor.js",
|
|
218
|
+
"import": "./dist/editor.js"
|
|
219
|
+
},
|
|
200
220
|
"./catalog-resources": {
|
|
201
221
|
"types": "./dist/catalog-resources.d.ts",
|
|
202
222
|
"import": "./dist/catalog-resources.js"
|
|
@@ -230,6 +250,11 @@
|
|
|
230
250
|
"types": "./dist/wire-tab-bars.d.ts",
|
|
231
251
|
"import": "./dist/wire-tab-bars.js"
|
|
232
252
|
},
|
|
253
|
+
"./tab-panel": {
|
|
254
|
+
"types": "./dist/tab-panel.d.ts",
|
|
255
|
+
"browser": "./dist/browser/tab-panel.js",
|
|
256
|
+
"import": "./dist/tab-panel.js"
|
|
257
|
+
},
|
|
233
258
|
"./wire-scroll-dividers": {
|
|
234
259
|
"types": "./dist/wire-scroll-dividers.d.ts",
|
|
235
260
|
"import": "./dist/wire-scroll-dividers.js"
|
|
@@ -263,6 +288,10 @@
|
|
|
263
288
|
"types": "./dist/wire-pane-chrome.d.ts",
|
|
264
289
|
"import": "./dist/wire-pane-chrome.js"
|
|
265
290
|
},
|
|
291
|
+
"./wire-summary-rows": {
|
|
292
|
+
"types": "./dist/wire-summary-rows.d.ts",
|
|
293
|
+
"import": "./dist/wire-summary-rows.js"
|
|
294
|
+
},
|
|
266
295
|
"./wire-content-items": {
|
|
267
296
|
"types": "./dist/wire-content-items.d.ts",
|
|
268
297
|
"import": "./dist/wire-content-items.js"
|
|
@@ -344,6 +373,15 @@
|
|
|
344
373
|
"browser": "./dist/browser/sunken-panel.js",
|
|
345
374
|
"import": "./dist/sunken-panel.js"
|
|
346
375
|
},
|
|
376
|
+
"./form": {
|
|
377
|
+
"types": "./dist/form.d.ts",
|
|
378
|
+
"browser": "./dist/browser/form.js",
|
|
379
|
+
"import": "./dist/form.js"
|
|
380
|
+
},
|
|
381
|
+
"./wire-forms": {
|
|
382
|
+
"types": "./dist/wire-forms.d.ts",
|
|
383
|
+
"import": "./dist/wire-forms.js"
|
|
384
|
+
},
|
|
347
385
|
"./segmented-control": {
|
|
348
386
|
"types": "./dist/segmented-control.d.ts",
|
|
349
387
|
"browser": "./dist/browser/segmented-control.js",
|
|
@@ -386,6 +424,33 @@
|
|
|
386
424
|
"types": "./dist/wire-message-composers.d.ts",
|
|
387
425
|
"import": "./dist/wire-message-composers.js"
|
|
388
426
|
},
|
|
427
|
+
"./column-explorer": {
|
|
428
|
+
"types": "./dist/column-explorer.d.ts",
|
|
429
|
+
"browser": "./dist/browser/column-explorer.js",
|
|
430
|
+
"import": "./dist/column-explorer.js"
|
|
431
|
+
},
|
|
432
|
+
"./wire-column-explorer": {
|
|
433
|
+
"types": "./dist/wire-column-explorer.d.ts",
|
|
434
|
+
"import": "./dist/wire-column-explorer.js"
|
|
435
|
+
},
|
|
436
|
+
"./paged-view": {
|
|
437
|
+
"types": "./dist/paged-view.d.ts",
|
|
438
|
+
"browser": "./dist/browser/paged-view.js",
|
|
439
|
+
"import": "./dist/paged-view.js"
|
|
440
|
+
},
|
|
441
|
+
"./wire-paged-views": {
|
|
442
|
+
"types": "./dist/wire-paged-views.d.ts",
|
|
443
|
+
"import": "./dist/wire-paged-views.js"
|
|
444
|
+
},
|
|
445
|
+
"./tree-list": {
|
|
446
|
+
"types": "./dist/tree-list.d.ts",
|
|
447
|
+
"browser": "./dist/browser/tree-list.js",
|
|
448
|
+
"import": "./dist/tree-list.js"
|
|
449
|
+
},
|
|
450
|
+
"./wire-tree-list": {
|
|
451
|
+
"types": "./dist/wire-tree-list.d.ts",
|
|
452
|
+
"import": "./dist/wire-tree-list.js"
|
|
453
|
+
},
|
|
389
454
|
"./tag-field": {
|
|
390
455
|
"types": "./dist/tag-field.d.ts",
|
|
391
456
|
"browser": "./dist/browser/tag-field.js",
|
|
@@ -522,6 +587,11 @@
|
|
|
522
587
|
"types": "./dist/selection.d.ts",
|
|
523
588
|
"import": "./dist/selection.js"
|
|
524
589
|
},
|
|
590
|
+
"./scroll-effect": {
|
|
591
|
+
"types": "./dist/scroll-effect.d.ts",
|
|
592
|
+
"browser": "./dist/browser/scroll-effect.js",
|
|
593
|
+
"import": "./dist/scroll-effect.js"
|
|
594
|
+
},
|
|
525
595
|
"./backdrop-image": {
|
|
526
596
|
"types": "./dist/backdrop-image.d.ts",
|
|
527
597
|
"browser": "./dist/browser/backdrop-image.js",
|
|
@@ -598,6 +668,7 @@
|
|
|
598
668
|
"./list.css": "./dist/styles/list.css",
|
|
599
669
|
"./row.css": "./dist/styles/row.css",
|
|
600
670
|
"./grid.css": "./dist/styles/grid.css",
|
|
671
|
+
"./sized-region.css": "./dist/styles/sized-region.css",
|
|
601
672
|
"./spacer.css": "./dist/styles/spacer.css",
|
|
602
673
|
"./list-action-row.css": "./dist/styles/list-action-row.css",
|
|
603
674
|
"./list-item.css": "./dist/styles/list-item.css",
|
|
@@ -609,6 +680,7 @@
|
|
|
609
680
|
"./tab-bar-item.css": "./dist/styles/tab-bar-item.css",
|
|
610
681
|
"./catalog.css": "./dist/styles/catalog.css",
|
|
611
682
|
"./tab-bar.css": "./dist/styles/tab-bar.css",
|
|
683
|
+
"./tab-panel.css": "./dist/styles/tab-panel.css",
|
|
612
684
|
"./nav-stack.css": "./dist/styles/nav-stack.css",
|
|
613
685
|
"./split-view.css": "./dist/styles/split-view.css",
|
|
614
686
|
"./list-detail-dialog.css": "./dist/styles/list-detail-dialog.css",
|
|
@@ -625,6 +697,7 @@
|
|
|
625
697
|
"./anchored-surface.css": "./dist/styles/anchored-surface.css",
|
|
626
698
|
"./skeleton.css": "./dist/styles/skeleton.css",
|
|
627
699
|
"./sunken-panel.css": "./dist/styles/sunken-panel.css",
|
|
700
|
+
"./form.css": "./dist/styles/form.css",
|
|
628
701
|
"./segmented-control.css": "./dist/styles/segmented-control.css",
|
|
629
702
|
"./choice-chips.css": "./dist/styles/choice-chips.css",
|
|
630
703
|
"./color-swatches.css": "./dist/styles/color-swatches.css",
|
|
@@ -632,11 +705,16 @@
|
|
|
632
705
|
"./color-field.css": "./dist/styles/color-field.css",
|
|
633
706
|
"./message-composer.css": "./dist/styles/message-composer.css",
|
|
634
707
|
"./search-field.css": "./dist/styles/search-field.css",
|
|
708
|
+
"./editor.css": "./dist/styles/editor.css",
|
|
709
|
+
"./column-explorer.css": "./dist/styles/column-explorer.css",
|
|
710
|
+
"./paged-view.css": "./dist/styles/paged-view.css",
|
|
711
|
+
"./tree-list.css": "./dist/styles/tree-list.css",
|
|
635
712
|
"./tag-field.css": "./dist/styles/tag-field.css",
|
|
636
713
|
"./state-banner.css": "./dist/styles/state-banner.css",
|
|
637
714
|
"./corner-status.css": "./dist/styles/corner-status.css",
|
|
638
715
|
"./column-track.css": "./dist/styles/column-track.css",
|
|
639
716
|
"./content-swap.css": "./dist/styles/content-swap.css",
|
|
717
|
+
"./scroll-effect.css": "./dist/styles/scroll-effect.css",
|
|
640
718
|
"./backdrop-image.css": "./dist/styles/backdrop-image.css",
|
|
641
719
|
"./file-picker.css": "./dist/styles/file-picker.css",
|
|
642
720
|
"./text-field.css": "./dist/styles/text-field.css",
|
|
@@ -663,8 +741,13 @@
|
|
|
663
741
|
"catalog-projection.mjs",
|
|
664
742
|
"catalog-projection.d.mts",
|
|
665
743
|
"catalog-projection-cli.mjs",
|
|
744
|
+
"vite-editor.mjs",
|
|
745
|
+
"vite-editor.d.mts",
|
|
666
746
|
"vite-ux-review.mjs",
|
|
667
747
|
"vite-ux-review.d.mts",
|
|
748
|
+
"view",
|
|
749
|
+
"props",
|
|
750
|
+
"scripts/lib/json-schema-subset.mjs",
|
|
668
751
|
"scripts/component-catalog-extension-validation.mjs",
|
|
669
752
|
"analyzer",
|
|
670
753
|
"doctor",
|
|
@@ -682,12 +765,17 @@
|
|
|
682
765
|
"dev:lan": "npm run build && node scripts/dev-lan.mjs",
|
|
683
766
|
"demo:bundle": "npm run build && vite build --config ux-demo/vite.config.ts",
|
|
684
767
|
"demo:build": "npm run demo:bundle && node scripts/check-demo-bundle.mjs",
|
|
768
|
+
"demo:build:built": "vite build --config ux-demo/vite.config.ts && node scripts/check-demo-bundle.mjs",
|
|
685
769
|
"demo:serve": "vite preview --config ux-demo/vite.config.ts",
|
|
686
770
|
"test:e2e:serve": "npm run check:catalog && npm run check:demo-conformance && npm run demo:build && npm run demo:serve",
|
|
687
771
|
"format": "prettier --write . --ignore-unknown",
|
|
688
772
|
"format:css": "prettier --write \"src/**/*.css\" \"ux-demo/**/*.css\"",
|
|
689
773
|
"check:format": "prettier --check . --ignore-unknown",
|
|
690
774
|
"catalog:sync": "node scripts/sync-component-catalog.mjs && node scripts/sync-component-composition.mjs && node scripts/sync-component-docs.mjs",
|
|
775
|
+
"props:sync": "npm run build && node scripts/sync-component-props.mjs",
|
|
776
|
+
"lucide-aliases:sync": "node scripts/sync-lucide-aliases.mjs",
|
|
777
|
+
"check:props": "node scripts/sync-component-props.mjs --check",
|
|
778
|
+
"check:view-bundle": "node scripts/check-view-bundle.mjs",
|
|
691
779
|
"composition:sync": "node scripts/sync-component-composition.mjs && node scripts/sync-component-docs.mjs",
|
|
692
780
|
"check:component-integrations": "node scripts/check-component-integrations.mjs",
|
|
693
781
|
"component-integrations:dry-run": "node scripts/check-component-integrations.mjs --dry-run",
|
|
@@ -711,10 +799,12 @@
|
|
|
711
799
|
"ai:regressions:replay-v3": "node scripts/replay-ai-regression-run-v3.mjs",
|
|
712
800
|
"ai:regressions:score": "node scripts/score-ai-regression.mjs",
|
|
713
801
|
"check:guidance": "node scripts/check-decision-guidance.mjs",
|
|
714
|
-
"lint:eslint": "eslint src tests ux-demo docs/examples --max-warnings 0",
|
|
802
|
+
"lint:eslint": "eslint src tests ux-demo docs/examples scripts ai analyzer doctor evaluator view props catalog-projection.mjs catalog-projection-cli.mjs vite-editor.mjs vite-ux-review.mjs traversal-exclusions.mjs eslint.config.mjs --max-warnings 0",
|
|
715
803
|
"lint": "npm run lint:eslint && npm run check:format",
|
|
716
804
|
"typecheck": "node node_modules/typescript7/bin/tsc --noEmit",
|
|
717
|
-
"test": "npm run test:unit && npm run test:bundle && npm run test:analyzer && npm run test:doctor && npm run test:evaluator && npm run test:ai-regressions",
|
|
805
|
+
"test": "npm run test:unit && npm run test:sketch && npm run test:bundle && npm run test:analyzer && npm run test:doctor && npm run test:evaluator && npm run test:ai-regressions",
|
|
806
|
+
"test:built": "npm run test:unit && npm run test:sketch && vitest run tests/bundle && npm run test:analyzer && npm run test:doctor && npm run test:evaluator && npm run test:ai-regressions",
|
|
807
|
+
"test:sketch": "node --test 'scripts/sketch/**/*.test.mjs'",
|
|
718
808
|
"test:unit": "vitest run tests/unit --coverage",
|
|
719
809
|
"test:bundle": "npm run build && vitest run tests/bundle",
|
|
720
810
|
"test:analyzer": "vitest run tests/integration/ui-analyzer-downstream.test.ts",
|
|
@@ -723,15 +813,23 @@
|
|
|
723
813
|
"test:ai-regressions": "vitest run tests/integration/ai-regressions-v3.test.ts",
|
|
724
814
|
"test:contract-types:source": "node node_modules/typescript7/bin/tsc -p tests/consumer-types/contracts/tsconfig.source.json",
|
|
725
815
|
"test:contract-types:packed": "node scripts/check-packed-type-contracts.mjs",
|
|
726
|
-
"test:consumer-types": "npm run
|
|
816
|
+
"test:consumer-types": "npm run build && npm run test:consumer-types:built",
|
|
817
|
+
"test:consumer-types:built": "npm run test:contract-types:source && node node_modules/typescript7/bin/tsc -p tests/consumer-types/webawesome/tsconfig.json && npm run test:contract-types:packed",
|
|
727
818
|
"test:e2e": "playwright test",
|
|
728
819
|
"test:webawesome-latest": "npm install --no-save --no-audit --no-fund @awesome.me/webawesome@^3 && node -e \"console.log('Web Awesome', require('@awesome.me/webawesome/package.json').version)\" && vitest run tests/unit && KERF_WEBAWESOME_LATEST=1 playwright test --project=chromium",
|
|
729
820
|
"bench:micro": "vitest bench --run tests/bench",
|
|
730
|
-
"check": "npm run check:source-organization && npm run check:catalog && npm run check:component-integrations && npm run check:profile && npm run check:demo-conformance && npm run check:recipes && npm run check:css-ownership && npm run check:guidance && npm run check:ai-compatibility && npm run check:ai-regressions && npm run lint && npm run typecheck && npm test && npm run test:consumer-types && npm run check:ai-signatures && npm run demo:build && npm run check:design-templates && npm pack --dry-run",
|
|
821
|
+
"check": "npm run build && npm run check:source-organization && npm run check:catalog && npm run check:props && npm run check:view-bundle && npm run check:component-integrations && npm run check:profile && npm run check:demo-conformance && npm run check:recipes && npm run check:css-ownership && npm run check:guidance && npm run check:ai-compatibility && npm run check:ai-regressions && npm run lint && npm run typecheck && npm run test:built && npm run test:consumer-types:built && npm run check:ai-signatures && npm run demo:build:built && npm run check:design-templates && npm pack --dry-run",
|
|
731
822
|
"prepublishOnly": "npm run check",
|
|
732
823
|
"check:design-templates": "node scripts/check-design-templates.mjs",
|
|
733
824
|
"check:design-templates:drift": "node scripts/check-design-templates-drift.mjs",
|
|
734
|
-
"design-templates:build": "node scripts/build-design-templates.mjs"
|
|
825
|
+
"design-templates:build": "node scripts/build-design-templates.mjs",
|
|
826
|
+
"sketch:button": "node scripts/sketch/button/pipeline.mjs",
|
|
827
|
+
"sketch:forms": "node scripts/sketch/forms/pipeline.mjs",
|
|
828
|
+
"sketch:advanced": "node scripts/sketch/advanced/pipeline.mjs",
|
|
829
|
+
"sketch:lists": "node scripts/sketch/lists/pipeline.mjs",
|
|
830
|
+
"sketch:toolbar": "node scripts/sketch/toolbar/pipeline.mjs",
|
|
831
|
+
"sketch:content": "node scripts/sketch/content/pipeline.mjs",
|
|
832
|
+
"sketch:library": "node scripts/sketch/catalog/library.mjs"
|
|
735
833
|
},
|
|
736
834
|
"peerDependencies": {
|
|
737
835
|
"@awesome.me/webawesome": "^3.14.0",
|
package/props/cli.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function run(argv: readonly string[]): { code: number; output: string };
|