@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
package/dist/pane.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as kerfjs from 'kerfjs';
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
3
|
import { S as ScrollClearance } from './scroll-clearance-BikHljTc.js';
|
|
4
|
+
import { A as AnchorName } from './anchor-name-BZ1rpxaw.js';
|
|
4
5
|
import { CssColor } from './css-values.js';
|
|
5
|
-
import { S as SurfaceTint } from './surface-tint-DQgYCaP9.js';
|
|
6
|
-
export { a as SurfaceTintScheme } from './surface-tint-DQgYCaP9.js';
|
|
6
|
+
import { S as SurfaceTint, a as SurfaceTintScheme } from './surface-tint-DQgYCaP9.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* What clear (fully transparent) chrome fades in as content scrolls beneath
|
|
@@ -25,6 +25,7 @@ type PaneElement = 'article' | 'aside' | 'div' | 'main' | 'section';
|
|
|
25
25
|
type PaneContentElement = 'div' | 'main' | 'nav' | 'section';
|
|
26
26
|
type PaneRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
27
27
|
'data-component'?: never;
|
|
28
|
+
'data-fill'?: never;
|
|
28
29
|
'data-separator-block-start'?: never;
|
|
29
30
|
'data-separator-block-end'?: never;
|
|
30
31
|
'data-separator-inline-start'?: never;
|
|
@@ -86,6 +87,8 @@ type PaneChromeDividers = 'scroll' | 'always' | 'none';
|
|
|
86
87
|
type PaneHeaderPresentation = 'docked' | 'overlay' | 'clear';
|
|
87
88
|
/** Background treatment of the Pane's scrolling work surface. */
|
|
88
89
|
type PaneAppearance = 'default' | 'sunken';
|
|
90
|
+
/** Whether a Pane's scrolling content keeps the browser's scroll anchoring. */
|
|
91
|
+
type PaneScrollAnchoring = 'auto' | 'none';
|
|
89
92
|
interface PaneProps {
|
|
90
93
|
/** Optional fixed chrome above the scrolling content, arranged vertically. */
|
|
91
94
|
header?: KerfUiContent;
|
|
@@ -93,6 +96,15 @@ interface PaneProps {
|
|
|
93
96
|
children?: KerfUiContent;
|
|
94
97
|
/** Optional fixed chrome below the scrolling content. */
|
|
95
98
|
footer?: KerfUiContent;
|
|
99
|
+
/**
|
|
100
|
+
* Fill the height of a parent with a definite height, such as an app root
|
|
101
|
+
* (`.kui-app-root`), a `SizedRegion`, or a grid cell, or take the rest of a
|
|
102
|
+
* flex column. The header and footer stay pinned and the content scrolls
|
|
103
|
+
* between them, as in a NavStack view or Workbench region (which fill their
|
|
104
|
+
* Pane without this prop). Defaults to false: the pane takes its content's
|
|
105
|
+
* height.
|
|
106
|
+
*/
|
|
107
|
+
fill?: boolean;
|
|
96
108
|
/**
|
|
97
109
|
* Whether the header and footer stay pinned around the scrolling content.
|
|
98
110
|
* `fixed` (default) always pins them. `auto` pins them while the pane is
|
|
@@ -176,6 +188,13 @@ interface PaneProps {
|
|
|
176
188
|
* declared scheme.
|
|
177
189
|
*/
|
|
178
190
|
tint?: SurfaceTint;
|
|
191
|
+
/**
|
|
192
|
+
* Scope this surface and its subtree to the light or dark palette, whatever
|
|
193
|
+
* the page's scheme (a light card on a dark page). A `tint` already sets
|
|
194
|
+
* its scheme; pass `scheme` alone for the plain palette, or with a tint
|
|
195
|
+
* only when they agree.
|
|
196
|
+
*/
|
|
197
|
+
scheme?: SurfaceTintScheme;
|
|
179
198
|
/**
|
|
180
199
|
* Clear chrome that lies over the scrolling content's block-start and/or
|
|
181
200
|
* block-end edge, such as a `DialogSurface` floating footer over a filling
|
|
@@ -190,6 +209,24 @@ interface PaneProps {
|
|
|
190
209
|
deepInset?: boolean;
|
|
191
210
|
/** Opt into keyboard (`0`) or programmatic (`-1`) focus on the Pane root. */
|
|
192
211
|
tabIndex?: 0 | -1;
|
|
212
|
+
/**
|
|
213
|
+
* Names the Pane root as a CSS anchor (`anchor-name`): a dashed ident such
|
|
214
|
+
* as `--app-main`. A surface that docks to a named anchor, such as a
|
|
215
|
+
* `PopoverDialogSurface` with the same `anchorName`, then docks to this
|
|
216
|
+
* pane, so the app names its main column without CSS. A Workbench work
|
|
217
|
+
* area, panel, or NavStack view takes it through its `PaneConfig`.
|
|
218
|
+
*/
|
|
219
|
+
anchorName?: AnchorName;
|
|
220
|
+
/**
|
|
221
|
+
* The scrolling content's CSS scroll anchoring (`overflow-anchor`). `auto`
|
|
222
|
+
* (the default) keeps the browser's anchoring, which holds visible content
|
|
223
|
+
* still when something above it grows or shrinks. `none` opts the pane
|
|
224
|
+
* out: use it for a pane whose own edits insert or remove rows above the
|
|
225
|
+
* reader, where Safari can apply a late anchoring jump on an unrelated
|
|
226
|
+
* reflow, such as an inspector. A Workbench panel, work area, or NavStack
|
|
227
|
+
* view takes it through its `PaneConfig`.
|
|
228
|
+
*/
|
|
229
|
+
scrollAnchoring?: PaneScrollAnchoring;
|
|
193
230
|
/** Keep the standard focus outline visible, such as for a drop target. */
|
|
194
231
|
outlined?: boolean;
|
|
195
232
|
/** Root semantics. Defaults to `div`. */
|
|
@@ -226,13 +263,13 @@ interface PaneProps {
|
|
|
226
263
|
* or a CollapsiblePanel) forwards, so the app configures that pane instead of
|
|
227
264
|
* styling it. An omitted or `undefined` field keeps the composite's default.
|
|
228
265
|
*/
|
|
229
|
-
type PaneConfig = Pick<PaneProps, 'contentElement' | 'contentLabel' | 'separators' | 'safeAreaEdges' | 'chromeDividers' | 'compactChrome' | 'compactChromeOpen' | 'headerPresentation' | 'scrollEdge' | 'scrollEdgeDistance' | 'appearance' | 'background' | 'tint' | 'deepInset' | 'scrollClearance' | 'tabIndex' | 'outlined'>;
|
|
266
|
+
type PaneConfig = Pick<PaneProps, 'contentElement' | 'contentLabel' | 'separators' | 'safeAreaEdges' | 'chromeDividers' | 'compactChrome' | 'compactChromeOpen' | 'headerPresentation' | 'scrollEdge' | 'scrollEdgeDistance' | 'appearance' | 'background' | 'tint' | 'deepInset' | 'scrollClearance' | 'tabIndex' | 'outlined' | 'anchorName' | 'scrollAnchoring'>;
|
|
230
267
|
/**
|
|
231
268
|
* An unpadded application column with optional fixed header/footer slots and one
|
|
232
269
|
* scrolling vertical content owner. Separator lines are independently opt-in on
|
|
233
270
|
* each logical edge, so the same component works as a sidebar, main area,
|
|
234
271
|
* inspector, or dialog column.
|
|
235
272
|
*/
|
|
236
|
-
declare function Pane({ header, children, footer, chromePlacement, chromeDividers, compactChrome, compactChromeOpen, headerPresentation, scrollEdge, scrollEdgeDistance, appearance, background, tint, deepInset, scrollClearance, tabIndex, outlined, element, contentElement, separators, safeAreaEdges, id, label, contentLabel, className, headerClassName, contentClassName, footerClassName, rootAttributes, slot, }: PaneProps): kerfjs.SafeHtml;
|
|
273
|
+
declare function Pane({ header, children, footer, fill, chromePlacement, chromeDividers, compactChrome, compactChromeOpen, headerPresentation, scrollEdge, scrollEdgeDistance, appearance, background, tint, scheme, deepInset, scrollClearance, tabIndex, anchorName, scrollAnchoring, outlined, element, contentElement, separators, safeAreaEdges, id, label, contentLabel, className, headerClassName, contentClassName, footerClassName, rootAttributes, slot, }: PaneProps): kerfjs.SafeHtml;
|
|
237
274
|
|
|
238
|
-
export { Pane, type PaneAppearance, type PaneChromeDividers, type PaneChromePlacement, type PaneCompactChrome, type PaneCompactChromePolicy, type PaneConfig, type PaneContentElement, type PaneElement, type PaneHeaderPresentation, type PaneProps, type PaneSeparatorSide, ScrollClearance, type ScrollEdge, SurfaceTint };
|
|
275
|
+
export { Pane, type PaneAppearance, type PaneChromeDividers, type PaneChromePlacement, type PaneCompactChrome, type PaneCompactChromePolicy, type PaneConfig, type PaneContentElement, type PaneElement, type PaneHeaderPresentation, type PaneProps, type PaneScrollAnchoring, type PaneSeparatorSide, ScrollClearance, type ScrollEdge, SurfaceTint, SurfaceTintScheme };
|
package/dist/pane.js
CHANGED
package/dist/popup-menu.d.ts
CHANGED
|
@@ -71,6 +71,10 @@ type PopupMenuTriggerName = {
|
|
|
71
71
|
triggerContent: KerfUiContent;
|
|
72
72
|
icon?: never;
|
|
73
73
|
};
|
|
74
|
+
/** How loudly a PopupMenu's button trigger asks: borderless or outlined. */
|
|
75
|
+
type PopupMenuEmphasis = 'plain' | 'secondary';
|
|
76
|
+
/** A PopupMenu button trigger's height: the standard control or compact. */
|
|
77
|
+
type PopupMenuSize = 'standard' | 'compact';
|
|
74
78
|
/** A context PopupMenu's viewport anchor point. */
|
|
75
79
|
interface PopupMenuAnchor {
|
|
76
80
|
x: number;
|
|
@@ -107,6 +111,42 @@ type PopupMenuProps = PopupMenuTrigger & {
|
|
|
107
111
|
/** Show the disclosure caret after the trigger content. Defaults to true. */
|
|
108
112
|
caret?: boolean;
|
|
109
113
|
disabled?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* The button trigger's emphasis outside a toolbar: `plain` (default), a
|
|
116
|
+
* quiet borderless trigger, or `secondary`, outlined to sit beside
|
|
117
|
+
* secondary `Button`s, as an Add menu does in a form's row of actions. A
|
|
118
|
+
* `ToolbarControlGroup` styles its own triggers, so it ignores this.
|
|
119
|
+
*/
|
|
120
|
+
emphasis?: PopupMenuEmphasis;
|
|
121
|
+
/**
|
|
122
|
+
* The button trigger's size: `standard` (default), the 44px control
|
|
123
|
+
* height, or `compact`, the height and type of a compact `Button`.
|
|
124
|
+
*/
|
|
125
|
+
size?: PopupMenuSize;
|
|
126
|
+
/**
|
|
127
|
+
* Quiet text at the bottom of the open menu, below its items, announced as
|
|
128
|
+
* the menu's description. Submenus don't show it.
|
|
129
|
+
*/
|
|
130
|
+
popupNote?: string;
|
|
131
|
+
/**
|
|
132
|
+
* Show the menu open at its trigger (at its `placement`), in the document
|
|
133
|
+
* instead of the top layer, as a static preview (the Kerf UI editor's edit canvas, a
|
|
134
|
+
* specification sheet). An embedded menu is inert: the register leaves it
|
|
135
|
+
* alone, so its trigger opens nothing and its items choose nothing, and
|
|
136
|
+
* items render as static rows without their `data-action` that take no
|
|
137
|
+
* focus, so a click on one leaves no current-row fill. Defaults to false.
|
|
138
|
+
*/
|
|
139
|
+
embedded?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* With `embedded`, the submenu to show open too, as a path of `items`
|
|
142
|
+
* indices, one per level: `[2]` opens the third entry's submenu, `[2, 0]`
|
|
143
|
+
* also the first entry's submenu inside it. Each shows beside its item
|
|
144
|
+
* (below its parent menu at phone widths), in the document and inert, as
|
|
145
|
+
* the Kerf UI editor's edit canvas shows the submenu an author edits. An
|
|
146
|
+
* index that names no submenu stops the path there. Ignored without
|
|
147
|
+
* `embedded`.
|
|
148
|
+
*/
|
|
149
|
+
embeddedSubmenu?: readonly number[];
|
|
110
150
|
/** Application `data-*` metadata on the menu root. */
|
|
111
151
|
rootAttributes?: PopupMenuDataAttributes;
|
|
112
152
|
/** Native named-slot assignment when composed inside a web component. */
|
|
@@ -148,6 +188,6 @@ declare function closePopupMenu(menu: PopupMenuElement): void;
|
|
|
148
188
|
* submenus appear above or below their parent menu so their rows do not cover
|
|
149
189
|
* the parent list.
|
|
150
190
|
*/
|
|
151
|
-
declare function PopupMenu({ text, label, icon, triggerContent, items, placement, caret, disabled, rootAttributes, slot, context, anchor, }: PopupMenuProps): SafeHtml;
|
|
191
|
+
declare function PopupMenu({ text, label, icon, triggerContent, items, placement, caret, disabled, emphasis, size, rootAttributes, slot, context, anchor, popupNote, embedded, embeddedSubmenu, }: PopupMenuProps): SafeHtml;
|
|
152
192
|
|
|
153
|
-
export { PopupMenu, type PopupMenuAnchor, type PopupMenuDivider, type PopupMenuElement, type PopupMenuEntry, type PopupMenuHeading, type PopupMenuItem, type PopupMenuPlacement, type PopupMenuProps, closePopupMenu, openPopupMenu, openPopupMenuAt };
|
|
193
|
+
export { PopupMenu, type PopupMenuAnchor, type PopupMenuDivider, type PopupMenuElement, type PopupMenuEmphasis, type PopupMenuEntry, type PopupMenuHeading, type PopupMenuItem, type PopupMenuPlacement, type PopupMenuProps, type PopupMenuSize, closePopupMenu, openPopupMenu, openPopupMenuAt };
|
package/dist/popup-menu.js
CHANGED
package/dist/progress-bar.js
CHANGED
package/dist/progress-ring.js
CHANGED
package/dist/radio-group.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SafeHtml } from 'kerfjs';
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
|
|
3
4
|
import { CssLength } from './css-values.js';
|
|
4
5
|
|
|
5
6
|
type ResizableRegionAxis = 'horizontal' | 'vertical';
|
|
@@ -44,9 +45,12 @@ interface ResizableRegionProps {
|
|
|
44
45
|
/** Decorative dormant content for the separator handle. Must not contain interactive descendants. */
|
|
45
46
|
handleIcon?: SafeHtml;
|
|
46
47
|
children: KerfUiContent;
|
|
48
|
+
/** Application `data-*` metadata on the root, such as a row key or an
|
|
49
|
+
* editor node marker; the component's own markers stay protected. */
|
|
50
|
+
rootAttributes?: RootDataAttributes;
|
|
47
51
|
}
|
|
48
52
|
declare const clampRegionSize: (size: number, min: number, max: number) => number;
|
|
49
53
|
declare const resizeRegionFromPointer: (startSize: number, delta: number, edge: ResizableRegionEdge) => number;
|
|
50
|
-
declare function ResizableRegion({ id, label, size, min, max, axis, edge, collapsed, transitioning, separator, collapseMotion, contentOverflow, presentation, restoreControl, restorePosition, restorePlacement, restoreInset, responsiveFillAt, handleIcon, children, }: ResizableRegionProps): SafeHtml;
|
|
54
|
+
declare function ResizableRegion({ id, label, size, min, max, axis, edge, collapsed, transitioning, separator, collapseMotion, contentOverflow, presentation, restoreControl, restorePosition, restorePlacement, restoreInset, responsiveFillAt, handleIcon, children, rootAttributes, }: ResizableRegionProps): SafeHtml;
|
|
51
55
|
|
|
52
56
|
export { ResizableRegion, type ResizableRegionAxis, type ResizableRegionCollapseMotion, type ResizableRegionContentOverflow, type ResizableRegionEdge, type ResizableRegionPresentation, type ResizableRegionProps, type ResizableRegionResponsiveFillAt, type ResizableRegionRestorePosition, type ResizableRegionSeparator, clampRegionSize, resizeRegionFromPointer };
|
package/dist/resizable-region.js
CHANGED
package/dist/row.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as kerfjs from 'kerfjs';
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
-
import { S as StructuralRootAttributes } from './extension-attributes-
|
|
3
|
+
import { S as StructuralRootAttributes } from './extension-attributes-IJ4decoa.js';
|
|
4
4
|
import { H as HorizontalAlignment, V as VerticalAlignment } from './flex-alignment-4ms8ZbV8.js';
|
|
5
5
|
import { S as Sides } from './sides-BPSWde0A.js';
|
|
6
6
|
import { UiGap, CssFlexKeyword, CssFlex } from './css-values.js';
|
|
@@ -39,6 +39,11 @@ interface RowProps {
|
|
|
39
39
|
/** Physical sides that receive the standard 8px control inset. Text insets win on overlap. */
|
|
40
40
|
controlInsets?: Sides;
|
|
41
41
|
className?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Name the row as a group (`role="group"` with this `aria-label`), for a
|
|
44
|
+
* set of related controls such as filter suggestions.
|
|
45
|
+
*/
|
|
46
|
+
ariaLabel?: string;
|
|
42
47
|
/**
|
|
43
48
|
* Safe `data-*`, `aria-*`, and structural `role` metadata (a named
|
|
44
49
|
* `region`, a `group`); Row-owned structural attributes remain protected.
|
|
@@ -48,6 +53,6 @@ interface RowProps {
|
|
|
48
53
|
slot?: string;
|
|
49
54
|
}
|
|
50
55
|
/** A horizontal flex row with explicit physical-axis alignment and spacing. */
|
|
51
|
-
declare function Row({ children, hAlign, vAlign, gap, flex, fill, wrap, textInsets, controlInsets, className, rootAttributes, slot, }: RowProps): kerfjs.SafeHtml;
|
|
56
|
+
declare function Row({ children, hAlign, vAlign, gap, flex, fill, wrap, textInsets, controlInsets, className, ariaLabel, rootAttributes, slot, }: RowProps): kerfjs.SafeHtml;
|
|
52
57
|
|
|
53
58
|
export { CssFlex, CssFlexKeyword, HorizontalAlignment, Row, type RowProps, Sides, UiGap, VerticalAlignment };
|
package/dist/row.js
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The part of the wrapper's view timeline an effect runs over, as the CSS
|
|
7
|
+
* named timeline ranges: `entry` while it scrolls into view, `exit` while it
|
|
8
|
+
* scrolls out, `cover` from first to last visible pixel, and `contain` while
|
|
9
|
+
* it is fully in view (or fully covers the view).
|
|
10
|
+
*/
|
|
11
|
+
type ScrollEffectRange = 'entry' | 'exit' | 'cover' | 'contain';
|
|
12
|
+
/** Where an effect runs, shared by every preset. */
|
|
13
|
+
interface ScrollEffectRangeOptions {
|
|
14
|
+
/** The timeline range. Each preset has its own default. */
|
|
15
|
+
range?: ScrollEffectRange;
|
|
16
|
+
/** Where the effect starts within `range`, from 0 to 100 percent. Default 0. */
|
|
17
|
+
rangeStart?: number;
|
|
18
|
+
/** Where the effect ends within `range`, from 0 to 100 percent. Default 100. */
|
|
19
|
+
rangeEnd?: number;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The content lags the scroll by `lag` (0 to 1; `subtle` is 0.35), the way
|
|
23
|
+
* BackdropImage's parallax does. Over `exit` (the default) it moves by the lag
|
|
24
|
+
* times its own height, which is exactly the lag factor of the scroll there;
|
|
25
|
+
* over `entry` it settles into place, and over `cover` or `contain` it passes
|
|
26
|
+
* its resting place halfway. The wrapper clips the moving content.
|
|
27
|
+
*/
|
|
28
|
+
interface ScrollEffectParallax extends ScrollEffectRangeOptions {
|
|
29
|
+
kind: 'parallax';
|
|
30
|
+
lag?: number | 'subtle';
|
|
31
|
+
}
|
|
32
|
+
/** The content fades in from transparent. Default range `entry`. */
|
|
33
|
+
interface ScrollEffectReveal extends ScrollEffectRangeOptions {
|
|
34
|
+
kind: 'reveal';
|
|
35
|
+
}
|
|
36
|
+
/** The content fades out to transparent. Default range `exit`. */
|
|
37
|
+
interface ScrollEffectFade extends ScrollEffectRangeOptions {
|
|
38
|
+
kind: 'fade';
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The content scales from `from` to `to` (each above 0, at most 2; defaults
|
|
42
|
+
* 0.96 and 1) around its center. Default range `entry`. The wrapper clips a
|
|
43
|
+
* scale above 1.
|
|
44
|
+
*/
|
|
45
|
+
interface ScrollEffectScale extends ScrollEffectRangeOptions {
|
|
46
|
+
kind: 'scale';
|
|
47
|
+
from?: number;
|
|
48
|
+
to?: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A black layer over the content ramps to opacity `to` (0 to 1; default
|
|
52
|
+
* 0.5). Default range `exit`.
|
|
53
|
+
*/
|
|
54
|
+
interface ScrollEffectDim extends ScrollEffectRangeOptions {
|
|
55
|
+
kind: 'dim';
|
|
56
|
+
to?: number;
|
|
57
|
+
}
|
|
58
|
+
/** One scroll-linked effect preset. */
|
|
59
|
+
type ScrollEffectSpec = ScrollEffectParallax | ScrollEffectReveal | ScrollEffectFade | ScrollEffectScale | ScrollEffectDim;
|
|
60
|
+
type ScrollEffectKind = ScrollEffectSpec['kind'];
|
|
61
|
+
interface ScrollEffectProps {
|
|
62
|
+
/**
|
|
63
|
+
* The effects. They compose: transforms stack in array order (the first is
|
|
64
|
+
* outermost) and opacities multiply, so `reveal` on `entry` with `fade` on
|
|
65
|
+
* `exit` fades content in and out. Repeating a kind stacks it the same way
|
|
66
|
+
* (each `dim` adds its own overlay).
|
|
67
|
+
*/
|
|
68
|
+
effects: readonly ScrollEffectSpec[];
|
|
69
|
+
/** The content the effects apply to. */
|
|
70
|
+
children?: KerfUiContent;
|
|
71
|
+
/** Application `data-*` metadata on the root, such as an editor node
|
|
72
|
+
* marker; the component's own markers stay protected. */
|
|
73
|
+
rootAttributes?: RootDataAttributes;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Applies scroll-linked effects to any content without a scroll listener:
|
|
77
|
+
* each effect animates only `transform` or `opacity` on the wrapper's own
|
|
78
|
+
* CSS view timeline, which the compositor runs. Kerf owns the static
|
|
79
|
+
* fallbacks: the content rests in place, fully visible and undimmed, without
|
|
80
|
+
* scroll-driven animation support, under reduced motion, under
|
|
81
|
+
* `data-kui-effects="static"`, on slow-update displays, and under reduced
|
|
82
|
+
* transparency, increased contrast, or forced colors.
|
|
83
|
+
*/
|
|
84
|
+
declare function ScrollEffect({ effects, children, rootAttributes, }: ScrollEffectProps): kerfjs.SafeHtml;
|
|
85
|
+
|
|
86
|
+
export { ScrollEffect, type ScrollEffectDim, type ScrollEffectFade, type ScrollEffectKind, type ScrollEffectParallax, type ScrollEffectProps, type ScrollEffectRange, type ScrollEffectRangeOptions, type ScrollEffectReveal, type ScrollEffectScale, type ScrollEffectSpec };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"scroll-effect.js"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SafeHtml, Signal, ReadonlySignal } from 'kerfjs';
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
|
|
3
4
|
|
|
4
5
|
interface SearchFieldToken {
|
|
5
6
|
value: string;
|
|
@@ -84,6 +85,9 @@ interface SearchFieldBaseProps {
|
|
|
84
85
|
editorAttributes?: SearchFieldEditorAttributes;
|
|
85
86
|
/** Native named-slot assignment when composed inside a web component. */
|
|
86
87
|
slot?: string;
|
|
88
|
+
/** Application `data-*` metadata on the root, such as a row key or an
|
|
89
|
+
* editor node marker; the component's own markers stay protected. */
|
|
90
|
+
rootAttributes?: RootDataAttributes;
|
|
87
91
|
}
|
|
88
92
|
type SearchFieldTrailingProps = {
|
|
89
93
|
trailing?: KerfUiContent;
|
|
@@ -122,7 +126,7 @@ interface SearchFieldValue {
|
|
|
122
126
|
query: string;
|
|
123
127
|
tokens: SearchFieldToken[];
|
|
124
128
|
}
|
|
125
|
-
declare function SearchField({ id, label, query, tokens, model, revision, placeholder, tokenPlaceholder, disabled, autofocus, fill, collapsible, expanded, expandAction, expandLabel, leading, trailing, trailingAction, presentation, hint, required, editAction, removeAction, clearAction, clearLabel, clearIcon, className, editorAttributes, slot, }: SearchFieldProps): SafeHtml;
|
|
129
|
+
declare function SearchField({ id, label, query, tokens, model, revision, placeholder, tokenPlaceholder, disabled, autofocus, fill, collapsible, expanded, expandAction, expandLabel, leading, trailing, trailingAction, presentation, hint, required, editAction, removeAction, clearAction, clearLabel, clearIcon, className, editorAttributes, slot, rootAttributes, }: SearchFieldProps): SafeHtml;
|
|
126
130
|
/** Read editable text and ordered token offsets from a rendered SearchField editor. */
|
|
127
131
|
declare function readSearchField(editor: HTMLElement, knownTokens?: readonly SearchFieldToken[]): SearchFieldValue;
|
|
128
132
|
/** Focus an editor and place its caret at a text offset, skipping atomic token chips. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { b as SearchFieldModel, c as SearchFieldModelOptions, e as SearchFieldResolvedToken, f as SearchFieldRule, g as SearchFieldState, h as SearchFieldStructure, i as SearchFieldSuggestion, n as createSearchFieldModel } from './search-field-
|
|
1
|
+
export { b as SearchFieldModel, c as SearchFieldModelOptions, e as SearchFieldResolvedToken, f as SearchFieldRule, g as SearchFieldState, h as SearchFieldStructure, i as SearchFieldSuggestion, n as createSearchFieldModel } from './search-field-5lNIszda.js';
|
|
2
2
|
import 'kerfjs';
|
|
3
3
|
import './semantic-content-BbzjvSu9.js';
|
|
4
|
+
import './extension-attributes-IJ4decoa.js';
|
package/dist/search-field.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { S as SearchField, a as SearchFieldEditorAttributes, d as SearchFieldProps, j as SearchFieldToken, k as SearchFieldTrailingAction, l as SearchFieldTrailingActionAttributes, m as SearchFieldValue, p as placeSearchFieldCaret, r as readSearchField } from './search-field-
|
|
1
|
+
export { S as SearchField, a as SearchFieldEditorAttributes, d as SearchFieldProps, j as SearchFieldToken, k as SearchFieldTrailingAction, l as SearchFieldTrailingActionAttributes, m as SearchFieldValue, p as placeSearchFieldCaret, r as readSearchField } from './search-field-5lNIszda.js';
|
|
2
2
|
import 'kerfjs';
|
|
3
3
|
import './semantic-content-BbzjvSu9.js';
|
|
4
|
+
import './extension-attributes-IJ4decoa.js';
|
package/dist/search-field.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as kerfjs from 'kerfjs';
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
import { R as RootDataAttributes } from './extension-attributes-IJ4decoa.js';
|
|
3
4
|
|
|
4
5
|
type SegmentedControlAppearance = 'filled' | 'outlined' | 'toolbar';
|
|
5
6
|
type SegmentedControlShape = 'rounded' | 'pill';
|
|
@@ -29,7 +30,10 @@ interface SegmentedControlProps<Value extends string = string> {
|
|
|
29
30
|
disabled?: boolean;
|
|
30
31
|
/** Native named-slot assignment when composed inside a web component. */
|
|
31
32
|
slot?: string;
|
|
33
|
+
/** Application `data-*` metadata on the root, such as a row key or an
|
|
34
|
+
* editor node marker; the component's own markers stay protected. */
|
|
35
|
+
rootAttributes?: RootDataAttributes;
|
|
32
36
|
}
|
|
33
|
-
declare function SegmentedControl<Value extends string>({ id, label, value, choices, action, appearance, shape, size, layout, className, placeholder, disabled, slot, }: SegmentedControlProps<Value>): kerfjs.SafeHtml;
|
|
37
|
+
declare function SegmentedControl<Value extends string>({ id, label, value, choices, action, appearance, shape, size, layout, className, placeholder, disabled, slot, rootAttributes, }: SegmentedControlProps<Value>): kerfjs.SafeHtml;
|
|
34
38
|
|
|
35
39
|
export { SegmentedControl, type SegmentedControlAppearance, type SegmentedControlChoice, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlShape, type SegmentedControlSize };
|
package/dist/select-register.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { installPopupMenus } from './chunk-
|
|
1
|
+
import { installPopupMenus } from './chunk-5SFHBYEY.js';
|
|
2
2
|
import { installHelpTags } from './chunk-2LM3PYHA.js';
|
|
3
3
|
import { summarizeSelection } from './chunk-TUID42UE.js';
|
|
4
4
|
import { followAnchor, positionPopup } from './chunk-HDXUHLTQ.js';
|
|
@@ -127,7 +127,7 @@ var KuiSelectElement = class extends HTMLElement {
|
|
|
127
127
|
};
|
|
128
128
|
|
|
129
129
|
// src/components/forms/select/internal/select-controller.ts
|
|
130
|
-
var ROOT = "kui-select.kui-select";
|
|
130
|
+
var ROOT = "kui-select.kui-select:not([data-embedded])";
|
|
131
131
|
var TRIGGER = ".kui-select__trigger";
|
|
132
132
|
var POPUP = ".kui-select__popup";
|
|
133
133
|
var SELECT_TYPEAHEAD_RESET = 1e3;
|
|
@@ -193,6 +193,11 @@ function installSelects(doc = document) {
|
|
|
193
193
|
};
|
|
194
194
|
const stopFollowing = followAnchor(trigger, popup, () => void place());
|
|
195
195
|
let replacing = false;
|
|
196
|
+
const keepFocus = () => {
|
|
197
|
+
const active = doc.activeElement;
|
|
198
|
+
if (!isOpen(popup) || active !== trigger && active !== doc.body) return;
|
|
199
|
+
focusOption(root, chosenOptions(root)[0] ?? optionsOf(root)[0]);
|
|
200
|
+
};
|
|
196
201
|
const restore = new MutationObserver(() => {
|
|
197
202
|
if (trigger.disabled) {
|
|
198
203
|
close(root, false);
|
|
@@ -200,6 +205,7 @@ function installSelects(doc = document) {
|
|
|
200
205
|
}
|
|
201
206
|
if (trigger.getAttribute("aria-expanded") !== "true")
|
|
202
207
|
trigger.setAttribute("aria-expanded", "true");
|
|
208
|
+
keepFocus();
|
|
203
209
|
if (popup.style.top || replacing) return;
|
|
204
210
|
replacing = true;
|
|
205
211
|
void place().finally(() => {
|
|
@@ -217,6 +223,7 @@ function installSelects(doc = document) {
|
|
|
217
223
|
const options = optionsOf(root);
|
|
218
224
|
const target = focus === "last" ? options[options.length - 1] : focus === "first" ? options[0] : chosenOptions(root)[0] ?? options[0];
|
|
219
225
|
focusOption(root, target);
|
|
226
|
+
win.requestAnimationFrame(keepFocus);
|
|
220
227
|
};
|
|
221
228
|
const close = (root, restoreFocus) => {
|
|
222
229
|
const popup = popupOf(root);
|