@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/styles/select.css
CHANGED
|
@@ -191,7 +191,8 @@
|
|
|
191
191
|
|
|
192
192
|
/* An icon-only trigger shows the selected icon and the disclosure caret as one
|
|
193
193
|
pill, the same control family as a toolbar PopupMenu trigger: symmetric 8px
|
|
194
|
-
inline padding,
|
|
194
|
+
inline padding, 0.75em from the icon to the caret's 1.25em box (12px and
|
|
195
|
+
20px at the default text size), the caret glyph
|
|
195
196
|
size, and the control height, so the icon sits left of center to balance
|
|
196
197
|
the caret. Inside a ToolbarControlGroup the trigger takes the control-slot
|
|
197
198
|
height, overlap, and radius the group provides
|
|
@@ -240,12 +241,15 @@
|
|
|
240
241
|
> :is(.kui-select__icon, .kui-select__custom-selected) {
|
|
241
242
|
margin-inline-end: 0;
|
|
242
243
|
}
|
|
244
|
+
/* The caret's box and its gap from the icon both scale with the text, as
|
|
245
|
+
the PopupMenu trigger's do, so the two pills match in a compact group's
|
|
246
|
+
compact text too (KF-Z8EYHT). */
|
|
243
247
|
.kui-select[data-selected-presentation="icon-only"]
|
|
244
248
|
> .kui-select__trigger
|
|
245
249
|
> .kui-select__caret {
|
|
246
250
|
width: 1.25em;
|
|
247
251
|
height: 1em;
|
|
248
|
-
margin-inline-start: 0.
|
|
252
|
+
margin-inline-start: 0.75em;
|
|
249
253
|
transform: scale(0.875);
|
|
250
254
|
}
|
|
251
255
|
.kui-select[data-selected-presentation="icon-only"][data-caret="false"]
|
|
@@ -351,6 +355,10 @@
|
|
|
351
355
|
background: var(--_kui-popup-scroll-cue);
|
|
352
356
|
box-shadow: var(--kui-shadow-m);
|
|
353
357
|
font: inherit;
|
|
358
|
+
/* The listbox keeps the standard text size wherever its trigger sits, as
|
|
359
|
+
the PopupMenu's menu does: a compact toolbar group's compact text is for
|
|
360
|
+
the trigger (KF-Z8EYHT). */
|
|
361
|
+
font-size: var(--kui-font-m, 1rem);
|
|
354
362
|
font-weight: normal;
|
|
355
363
|
text-align: start;
|
|
356
364
|
white-space: normal;
|
|
@@ -373,6 +381,67 @@
|
|
|
373
381
|
.kui-select__popup:focus {
|
|
374
382
|
outline: none;
|
|
375
383
|
}
|
|
384
|
+
|
|
385
|
+
/* embedded: the listbox shows open below the control, in the document
|
|
386
|
+
instead of the top layer, as a static preview (the editor's edit canvas).
|
|
387
|
+
The surface and rows are the open listbox's; only the layer it sits in
|
|
388
|
+
differs. Like the real listbox it overlays what lies below rather than
|
|
389
|
+
pushing it aside, so a toolbar Select keeps its place in the group's
|
|
390
|
+
control band (a toolbar's leading zone, where a view-title Select sits,
|
|
391
|
+
stops clipping while it holds one, in toolbar.css). */
|
|
392
|
+
.kui-select[data-embedded] {
|
|
393
|
+
position: relative;
|
|
394
|
+
}
|
|
395
|
+
.kui-select[data-embedded] > .kui-select__popup {
|
|
396
|
+
display: block;
|
|
397
|
+
position: absolute;
|
|
398
|
+
z-index: 1;
|
|
399
|
+
inset-block: 100% auto;
|
|
400
|
+
inset-inline: 0 auto;
|
|
401
|
+
opacity: 1;
|
|
402
|
+
transition: none;
|
|
403
|
+
}
|
|
404
|
+
.kui-select--fit-menu[data-embedded] > .kui-select__popup {
|
|
405
|
+
inset-inline: 0;
|
|
406
|
+
width: auto;
|
|
407
|
+
}
|
|
408
|
+
/* With a hint, the listbox still hangs from the control, as the real one
|
|
409
|
+
does, not from the root's bottom edge below the hint: the root lays its
|
|
410
|
+
parts out on a one-column grid, and the listbox takes the control's grid
|
|
411
|
+
area as its containing block. (CSS anchor positioning would say this
|
|
412
|
+
too, but WebKit then paints a scroller holding it at the wrong offset.) */
|
|
413
|
+
.kui-select[data-embedded]:has(> .kui-select__hint) {
|
|
414
|
+
display: grid;
|
|
415
|
+
grid-template-areas: "label" "trigger" "hint";
|
|
416
|
+
grid-template-columns: minmax(0, 1fr);
|
|
417
|
+
}
|
|
418
|
+
.kui-select[data-embedded]:has(> .kui-select__hint) > .kui-select__label {
|
|
419
|
+
grid-area: label;
|
|
420
|
+
}
|
|
421
|
+
.kui-select[data-embedded]:has(> .kui-select__hint) > .kui-select__trigger,
|
|
422
|
+
.kui-select[data-embedded]:has(> .kui-select__hint) > .kui-select__popup {
|
|
423
|
+
grid-area: trigger;
|
|
424
|
+
}
|
|
425
|
+
.kui-select[data-embedded]:has(> .kui-select__hint) > .kui-select__hint {
|
|
426
|
+
grid-area: hint;
|
|
427
|
+
}
|
|
428
|
+
/* KF-A1Y7SY: outside a toolbar's control band the embedded listbox
|
|
429
|
+
sits in flow right below the control (before the hint), so a scrolling
|
|
430
|
+
ancestor never clips it; in a toolbar it keeps overlaying. */
|
|
431
|
+
.kui-select[data-embedded]:not(.kui-toolbar *) {
|
|
432
|
+
display: flex;
|
|
433
|
+
}
|
|
434
|
+
.kui-select[data-embedded]:not(.kui-toolbar *) > .kui-select__popup {
|
|
435
|
+
position: relative;
|
|
436
|
+
inset: auto;
|
|
437
|
+
order: 1;
|
|
438
|
+
}
|
|
439
|
+
.kui-select[data-embedded]:not(.kui-toolbar *) > .kui-select__hint {
|
|
440
|
+
order: 2;
|
|
441
|
+
}
|
|
442
|
+
.kui-select[data-embedded] .kui-select__caret {
|
|
443
|
+
rotate: var(--_kui-popup-caret-open-rotation);
|
|
444
|
+
}
|
|
376
445
|
.kui-select--fit-menu > .kui-select__popup {
|
|
377
446
|
max-width: var(--_kui-popup-available-width, none);
|
|
378
447
|
}
|
|
@@ -477,6 +546,20 @@
|
|
|
477
546
|
text-transform: uppercase;
|
|
478
547
|
}
|
|
479
548
|
|
|
549
|
+
/* KF-59BF6C: the popup note, below the choices. It wraps to the width the
|
|
550
|
+
choices give the popup and never widens it. */
|
|
551
|
+
.kui-select__note {
|
|
552
|
+
margin-block-start: calc(
|
|
553
|
+
var(--_kui-popup-note-gap) + var(--_kui-popup-row-gap)
|
|
554
|
+
);
|
|
555
|
+
padding: var(--_kui-popup-note-padding);
|
|
556
|
+
border-block-start: 1px solid var(--kui-color-neutral-border-quiet);
|
|
557
|
+
color: var(--kui-color-text-quiet);
|
|
558
|
+
font-size: var(--_kui-popup-note-font-size);
|
|
559
|
+
line-height: var(--_kui-popup-note-line-height);
|
|
560
|
+
contain: inline-size;
|
|
561
|
+
}
|
|
562
|
+
|
|
480
563
|
.kui-select__actions {
|
|
481
564
|
display: flex;
|
|
482
565
|
gap: 0.25rem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* A one-cell grid: a grid item's percentage height resolves against its grid
|
|
2
|
+
area, so content that is `height: 100%` (a whole-screen layout) fills the
|
|
3
|
+
region even when its height comes only from `min-height`. */
|
|
4
|
+
.kui-sized-region {
|
|
5
|
+
--_kui-sized-region-height: auto;
|
|
6
|
+
--_kui-sized-region-min-height: 0px;
|
|
7
|
+
--_kui-sized-region-max-height: none;
|
|
8
|
+
display: grid;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
min-width: 0;
|
|
11
|
+
height: var(--_kui-sized-region-height);
|
|
12
|
+
min-height: var(--_kui-sized-region-min-height);
|
|
13
|
+
max-height: var(--_kui-sized-region-max-height);
|
|
14
|
+
grid-template: minmax(0, 1fr) / minmax(0, 1fr);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* `fill`: the rest of a flex column (a Pane's content), or all of a parent
|
|
18
|
+
with a definite height. */
|
|
19
|
+
.kui-sized-region[data-fill="true"] {
|
|
20
|
+
flex: 1 1 auto;
|
|
21
|
+
height: 100%;
|
|
22
|
+
}
|
|
@@ -246,9 +246,7 @@
|
|
|
246
246
|
}
|
|
247
247
|
/* `below` always gives the action its own end-aligned trailing row. */
|
|
248
248
|
.kui-state-banner[data-action-placement="below"] > .kui-state-banner__action {
|
|
249
|
-
display: flex;
|
|
250
249
|
flex-basis: 100%;
|
|
251
|
-
justify-content: flex-end;
|
|
252
250
|
}
|
|
253
251
|
.kui-state-banner__copy strong {
|
|
254
252
|
margin-inline-end: var(--kui-layout-item-gap, 0.5rem);
|
|
@@ -273,16 +271,23 @@
|
|
|
273
271
|
overflow: clip;
|
|
274
272
|
text-overflow: ellipsis;
|
|
275
273
|
}
|
|
276
|
-
/*
|
|
277
|
-
|
|
278
|
-
its controls
|
|
274
|
+
/* A horizontal list of controls (Buttons, a spinner, a Row of them),
|
|
275
|
+
content-sized and end-aligned on whichever line it lands. On its own line
|
|
276
|
+
it may shrink to the line, and its controls then wrap onto further
|
|
277
|
+
end-aligned rows instead of overflowing the banner. A neutral Button takes
|
|
278
|
+
the banner's tone in here (button.css); `--_kui-state-banner-foreground`
|
|
279
|
+
and the action background tokens are the context the banner provides. */
|
|
279
280
|
.kui-state-banner__action {
|
|
281
|
+
display: flex;
|
|
280
282
|
max-width: 100%;
|
|
281
283
|
margin-inline-start: auto;
|
|
282
284
|
flex: 0 1 auto;
|
|
285
|
+
flex-wrap: wrap;
|
|
286
|
+
align-items: center;
|
|
287
|
+
justify-content: flex-end;
|
|
288
|
+
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
283
289
|
}
|
|
284
|
-
/* A plain action button takes the
|
|
285
|
-
look. */
|
|
290
|
+
/* A plain native action button takes the same pill. */
|
|
286
291
|
.kui-state-banner__action button:not(.kui-button) {
|
|
287
292
|
min-height: 1.8rem;
|
|
288
293
|
padding: 0 0.7rem;
|
package/dist/styles/styles.css
CHANGED
|
@@ -8,19 +8,25 @@
|
|
|
8
8
|
@import "./toolbar.css";
|
|
9
9
|
@import "./toolbar-control-group.css";
|
|
10
10
|
@import "./surface-scaffold.css";
|
|
11
|
+
@import "./floating-toolbar.css";
|
|
11
12
|
@import "./toolbar-text.css";
|
|
12
13
|
@import "./text.css";
|
|
13
14
|
@import "./list.css";
|
|
14
15
|
@import "./row.css";
|
|
15
16
|
@import "./grid.css";
|
|
17
|
+
@import "./sized-region.css";
|
|
16
18
|
@import "./spacer.css";
|
|
19
|
+
@import "./sunken-panel.css";
|
|
17
20
|
@import "./list-action-row.css";
|
|
18
21
|
@import "./list-item.css";
|
|
19
22
|
@import "./list-header.css";
|
|
23
|
+
@import "./list-inset-control.css";
|
|
24
|
+
@import "./list-inset-text.css";
|
|
20
25
|
@import "./resizable-region.css";
|
|
21
26
|
@import "./tab-bar-item.css";
|
|
22
27
|
@import "./catalog.css";
|
|
23
28
|
@import "./tab-bar.css";
|
|
29
|
+
@import "./tab-panel.css";
|
|
24
30
|
@import "./loading-spinner.css";
|
|
25
31
|
@import "./progress-bar.css";
|
|
26
32
|
@import "./progress-ring.css";
|
|
@@ -28,6 +34,7 @@
|
|
|
28
34
|
@import "./select.css";
|
|
29
35
|
@import "./popup-menu.css";
|
|
30
36
|
@import "./anchored-surface.css";
|
|
37
|
+
@import "./form.css";
|
|
31
38
|
@import "./segmented-control.css";
|
|
32
39
|
@import "./choice-chips.css";
|
|
33
40
|
@import "./color-swatches.css";
|
|
@@ -40,6 +47,7 @@
|
|
|
40
47
|
@import "./corner-status.css";
|
|
41
48
|
@import "./column-track.css";
|
|
42
49
|
@import "./content-swap.css";
|
|
50
|
+
@import "./scroll-effect.css";
|
|
43
51
|
@import "./backdrop-image.css";
|
|
44
52
|
@import "./file-picker.css";
|
|
45
53
|
@import "./text-field.css";
|
|
@@ -53,6 +61,9 @@
|
|
|
53
61
|
@import "./button.css";
|
|
54
62
|
@import "./split-button.css";
|
|
55
63
|
@import "./framed-list.css";
|
|
64
|
+
@import "./tree-list.css";
|
|
65
|
+
@import "./column-explorer.css";
|
|
66
|
+
@import "./paged-view.css";
|
|
56
67
|
@import "./summary-row.css";
|
|
57
68
|
@import "./empty-state.css";
|
|
58
69
|
@import "./value-table.css";
|
|
@@ -55,9 +55,20 @@
|
|
|
55
55
|
border-color: var(--kui-color-brand-border-normal);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
/* The keyboard ring is drawn inside the row, as the scrollable List's is: a
|
|
59
|
+
list row's neighbors paint over an outside ring's block edges and the
|
|
60
|
+
section's rounded clip cuts its inline edges. It is an overlay drawn after
|
|
61
|
+
the rail (the row's own outline would paint under that positioned child),
|
|
62
|
+
following the row's radius; the selected state stays a quiet fill and
|
|
63
|
+
hairline border, so focus and selection read apart. */
|
|
64
|
+
.kui-summary-row:focus-visible::after {
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset: 0;
|
|
67
|
+
border-radius: inherit;
|
|
68
|
+
outline: var(--kui-focus-ring);
|
|
69
|
+
outline-offset: -3px;
|
|
70
|
+
content: "";
|
|
71
|
+
pointer-events: none;
|
|
61
72
|
}
|
|
62
73
|
|
|
63
74
|
.kui-summary-row[data-selected="true"] {
|
|
@@ -128,14 +139,36 @@
|
|
|
128
139
|
gap: var(--kui-space-2xs);
|
|
129
140
|
}
|
|
130
141
|
|
|
131
|
-
/* The identity line
|
|
132
|
-
end so the title wraps
|
|
142
|
+
/* The identity line clamps at its line budget and ends its last visible line
|
|
143
|
+
with an ellipsis; the trailing meta floats to its end so the title wraps
|
|
144
|
+
around it. The clamp box holds one block (`__title-text`) with the float and
|
|
145
|
+
the inline title content: WebKit turns a float that is a direct child of a
|
|
146
|
+
-webkit-box into its own box item, so the float lives one level down, where
|
|
147
|
+
every engine still clamps the nested lines. `max-height` is the fallback.
|
|
148
|
+
The clip edge sits a focus ring's reach (a 3px ring at a 1px offset)
|
|
149
|
+
outside the text, through a padding / negative-margin pair that leaves the
|
|
150
|
+
layout unchanged, so a nested action's ring is not cut off. */
|
|
133
151
|
.kui-summary-row__title {
|
|
152
|
+
--_kui-summary-row-ring-room: 4px;
|
|
153
|
+
display: -webkit-box;
|
|
134
154
|
min-width: 0;
|
|
135
|
-
max-height: calc(
|
|
155
|
+
max-height: calc(
|
|
156
|
+
var(--_kui-summary-row-title-lines) * 1.3em + 2 *
|
|
157
|
+
var(--_kui-summary-row-ring-room)
|
|
158
|
+
);
|
|
159
|
+
margin: calc(-1 * var(--_kui-summary-row-ring-room));
|
|
160
|
+
padding: var(--_kui-summary-row-ring-room);
|
|
136
161
|
overflow: hidden;
|
|
162
|
+
box-sizing: border-box;
|
|
137
163
|
line-height: 1.3;
|
|
138
164
|
overflow-wrap: anywhere;
|
|
165
|
+
-webkit-box-orient: vertical;
|
|
166
|
+
-webkit-line-clamp: var(--_kui-summary-row-title-lines);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.kui-summary-row__title-text {
|
|
170
|
+
display: block;
|
|
171
|
+
min-width: 0;
|
|
139
172
|
}
|
|
140
173
|
|
|
141
174
|
.kui-summary-row__trailing {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
compact, 22px + 16px comfortable. */
|
|
13
13
|
--_kui-dialog-surface-radius: calc(
|
|
14
14
|
var(--kui-layout-pill-radius, calc(1px + 1.3125rem)) +
|
|
15
|
-
var(--kui-
|
|
15
|
+
var(--kui-surface-inset, 0.5rem)
|
|
16
16
|
);
|
|
17
17
|
box-sizing: border-box;
|
|
18
18
|
width: min(
|
|
@@ -46,9 +46,36 @@
|
|
|
46
46
|
.kui-dialog-surface:focus {
|
|
47
47
|
outline: none;
|
|
48
48
|
}
|
|
49
|
+
/* In flow for a catalog, a design canvas, or a document: the same panel
|
|
50
|
+
without the top layer, never wider than its container. */
|
|
51
|
+
.kui-dialog-surface[data-presentation="embedded"] {
|
|
52
|
+
position: relative;
|
|
53
|
+
inset: auto;
|
|
54
|
+
max-width: 100%;
|
|
55
|
+
max-width: -webkit-fill-available;
|
|
56
|
+
max-width: -moz-available;
|
|
57
|
+
max-width: stretch;
|
|
58
|
+
max-height: none;
|
|
59
|
+
margin: 0;
|
|
60
|
+
/* What the UA gives a modal dialog: a filling body (a Workbench or a
|
|
61
|
+
list-detail split) clips to the rounded corners. */
|
|
62
|
+
overflow: auto;
|
|
63
|
+
/* In flow it is a panel, not an elevated layer: a border instead of the
|
|
64
|
+
drop shadow, which a scrolling container would clip (KF-4RSG7D). */
|
|
65
|
+
border: 1px solid var(--kui-color-neutral-border-normal);
|
|
66
|
+
box-shadow: none;
|
|
67
|
+
}
|
|
68
|
+
/* An embedded dialog keeps a definite height, so a filling body (a Workbench
|
|
69
|
+
or a list-detail split) has room in flow. */
|
|
70
|
+
.kui-dialog-surface[data-presentation="embedded"][data-height] {
|
|
71
|
+
height: var(--_kui-dialog-surface-height);
|
|
72
|
+
}
|
|
73
|
+
.kui-dialog-surface[data-presentation="embedded"][data-max-height] {
|
|
74
|
+
max-height: var(--_kui-dialog-surface-max-height);
|
|
75
|
+
}
|
|
49
76
|
.kui-dialog-surface::backdrop {
|
|
50
77
|
background-color: var(
|
|
51
|
-
--
|
|
78
|
+
--kui-color-overlay-modal,
|
|
52
79
|
light-dark(rgb(29 29 31 / 0.34), rgb(0 0 0 / 0.6))
|
|
53
80
|
);
|
|
54
81
|
}
|
|
@@ -82,7 +109,7 @@
|
|
|
82
109
|
.kui-dialog-surface[data-body-inset="comfortable"] {
|
|
83
110
|
--_kui-dialog-surface-radius: calc(
|
|
84
111
|
var(--kui-layout-pill-radius, calc(1px + 1.3125rem)) +
|
|
85
|
-
var(--kui-
|
|
112
|
+
var(--kui-container-inset, 1rem)
|
|
86
113
|
);
|
|
87
114
|
}
|
|
88
115
|
.kui-dialog-surface[data-size="small"] {
|
|
@@ -147,7 +174,7 @@
|
|
|
147
174
|
display: flex;
|
|
148
175
|
flex: 0 0 auto;
|
|
149
176
|
flex-wrap: nowrap;
|
|
150
|
-
padding: var(--kui-
|
|
177
|
+
padding: var(--kui-surface-inset, 0.5rem);
|
|
151
178
|
}
|
|
152
179
|
.kui-dialog-surface__title {
|
|
153
180
|
min-width: 0;
|
|
@@ -218,7 +245,7 @@ h2.kui-dialog-surface__title {
|
|
|
218
245
|
display: block;
|
|
219
246
|
min-height: 0;
|
|
220
247
|
flex: 1 1 auto;
|
|
221
|
-
padding: var(--kui-
|
|
248
|
+
padding: var(--kui-surface-inset, 0.5rem);
|
|
222
249
|
overflow: auto;
|
|
223
250
|
-webkit-overflow-scrolling: touch;
|
|
224
251
|
}
|
|
@@ -228,7 +255,7 @@ h2.kui-dialog-surface__title {
|
|
|
228
255
|
flex-wrap: wrap;
|
|
229
256
|
justify-content: flex-end;
|
|
230
257
|
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
231
|
-
padding: var(--kui-
|
|
258
|
+
padding: var(--kui-container-inset, 1rem);
|
|
232
259
|
}
|
|
233
260
|
|
|
234
261
|
/* One child owns the body: it gets the body's whole height and its own
|
|
@@ -244,12 +271,12 @@ h2.kui-dialog-surface__title {
|
|
|
244
271
|
}
|
|
245
272
|
.kui-dialog-surface[data-body-inset="compact"] > .kui-dialog-surface__body,
|
|
246
273
|
.kui-dialog-surface[data-footer-inset="compact"] > .kui-dialog-surface__footer {
|
|
247
|
-
padding: var(--kui-
|
|
274
|
+
padding: var(--kui-surface-inset, 0.5rem);
|
|
248
275
|
}
|
|
249
276
|
.kui-dialog-surface[data-body-inset="comfortable"] > .kui-dialog-surface__body,
|
|
250
277
|
.kui-dialog-surface[data-footer-inset="comfortable"]
|
|
251
278
|
> .kui-dialog-surface__footer {
|
|
252
|
-
padding: var(--kui-
|
|
279
|
+
padding: var(--kui-container-inset, 1rem);
|
|
253
280
|
}
|
|
254
281
|
/* Fixed rows above one filling row: the leading children keep their natural
|
|
255
282
|
height and the last child takes the rest and owns its scrolling. */
|
|
@@ -280,7 +307,7 @@ h2.kui-dialog-surface__title {
|
|
|
280
307
|
0px,
|
|
281
308
|
var(
|
|
282
309
|
--_kui-dialog-surface-footer-offset,
|
|
283
|
-
var(--kui-
|
|
310
|
+
var(--kui-container-inset, 1rem)
|
|
284
311
|
)
|
|
285
312
|
);
|
|
286
313
|
}
|
|
@@ -307,14 +334,14 @@ h2.kui-dialog-surface__title {
|
|
|
307
334
|
.kui-dialog-surface[data-footer-presentation="floating"][data-body-inset="compact"]
|
|
308
335
|
> .kui-dialog-surface__body {
|
|
309
336
|
padding-block-end: calc(
|
|
310
|
-
var(--kui-
|
|
337
|
+
var(--kui-surface-inset, 0.5rem) +
|
|
311
338
|
var(--_kui-dialog-surface-footer-clearance)
|
|
312
339
|
);
|
|
313
340
|
}
|
|
314
341
|
.kui-dialog-surface[data-footer-presentation="floating"][data-body-inset="comfortable"]
|
|
315
342
|
> .kui-dialog-surface__body {
|
|
316
343
|
padding-block-end: calc(
|
|
317
|
-
var(--kui-
|
|
344
|
+
var(--kui-container-inset, 1rem) +
|
|
318
345
|
var(--_kui-dialog-surface-footer-clearance)
|
|
319
346
|
);
|
|
320
347
|
}
|
|
@@ -384,14 +411,14 @@ h2.kui-dialog-surface__title {
|
|
|
384
411
|
.kui-dialog-surface[data-header-presentation="floating"][data-body-inset="compact"]
|
|
385
412
|
> .kui-dialog-surface__body {
|
|
386
413
|
padding-block-start: calc(
|
|
387
|
-
var(--kui-
|
|
414
|
+
var(--kui-surface-inset, 0.5rem) +
|
|
388
415
|
var(--_kui-dialog-surface-header-clearance)
|
|
389
416
|
);
|
|
390
417
|
}
|
|
391
418
|
.kui-dialog-surface[data-header-presentation="floating"][data-body-inset="comfortable"]
|
|
392
419
|
> .kui-dialog-surface__body {
|
|
393
420
|
padding-block-start: calc(
|
|
394
|
-
var(--kui-
|
|
421
|
+
var(--kui-container-inset, 1rem) +
|
|
395
422
|
var(--_kui-dialog-surface-header-clearance)
|
|
396
423
|
);
|
|
397
424
|
}
|
|
@@ -664,7 +691,7 @@ h2.kui-dialog-surface__title {
|
|
|
664
691
|
8px surface inset (22px + 8px). */
|
|
665
692
|
border-radius: calc(
|
|
666
693
|
var(--kui-layout-pill-radius, calc(1px + 1.3125rem)) +
|
|
667
|
-
var(--kui-
|
|
694
|
+
var(--kui-surface-inset, 0.5rem)
|
|
668
695
|
);
|
|
669
696
|
--kui-color-surface-current: var(--kui-color-surface-raised);
|
|
670
697
|
--kui-color-surface-current-region: transparent;
|
|
@@ -705,9 +732,44 @@ h2.kui-dialog-surface__title {
|
|
|
705
732
|
margin: auto;
|
|
706
733
|
place-self: center;
|
|
707
734
|
}
|
|
735
|
+
/* KF-T1V86Q: an `anchorName` overlay docks to the bottom of that named
|
|
736
|
+
anchor (the app's main column), inset by its gutter, centered on it, and
|
|
737
|
+
no wider than the anchor less both gutters. Engines without CSS anchor
|
|
738
|
+
positioning keep the centered placement above. */
|
|
739
|
+
@supports (anchor-name: --a) {
|
|
740
|
+
.kui-popover-dialog-surface[data-presentation="overlay"][data-anchored]:popover-open {
|
|
741
|
+
inset: auto;
|
|
742
|
+
left: calc(
|
|
743
|
+
anchor(left) + var(--_kui-popover-dialog-surface-resolved-gutter)
|
|
744
|
+
);
|
|
745
|
+
right: calc(
|
|
746
|
+
anchor(right) + var(--_kui-popover-dialog-surface-resolved-gutter)
|
|
747
|
+
);
|
|
748
|
+
bottom: calc(
|
|
749
|
+
anchor(bottom) + var(--_kui-popover-dialog-surface-resolved-gutter)
|
|
750
|
+
);
|
|
751
|
+
width: min(
|
|
752
|
+
var(
|
|
753
|
+
--_kui-popover-dialog-surface-preferred-width,
|
|
754
|
+
var(--_kui-popover-dialog-surface-width)
|
|
755
|
+
),
|
|
756
|
+
max(
|
|
757
|
+
0px,
|
|
758
|
+
calc(
|
|
759
|
+
anchor-size(width) -
|
|
760
|
+
var(--_kui-popover-dialog-surface-resolved-gutter) -
|
|
761
|
+
var(--_kui-popover-dialog-surface-resolved-gutter)
|
|
762
|
+
)
|
|
763
|
+
)
|
|
764
|
+
);
|
|
765
|
+
margin-block: 0;
|
|
766
|
+
margin-inline: auto;
|
|
767
|
+
place-self: auto;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
708
770
|
.kui-popover-dialog-surface::backdrop {
|
|
709
771
|
background: var(
|
|
710
|
-
--
|
|
772
|
+
--kui-color-overlay-modal,
|
|
711
773
|
light-dark(rgb(29 29 31 / 0.34), rgb(0 0 0 / 0.6))
|
|
712
774
|
);
|
|
713
775
|
}
|
|
@@ -752,17 +814,3 @@ h2.kui-dialog-surface__title {
|
|
|
752
814
|
.kui-popup-surface {
|
|
753
815
|
display: inline-flex;
|
|
754
816
|
}
|
|
755
|
-
/* The surface insets the menu of a raw wa-dropdown it wraps. A PopupMenu
|
|
756
|
-
applies the surface's inset to itself (popup-menu.css). */
|
|
757
|
-
.kui-popup-surface[data-inset="standard"]
|
|
758
|
-
> wa-dropdown:not(.kui-popup-menu)::part(menu) {
|
|
759
|
-
padding: var(--kui-wa-surface-inset, 0.5rem);
|
|
760
|
-
}
|
|
761
|
-
.kui-popup-surface[data-inset="compact"]
|
|
762
|
-
> wa-dropdown:not(.kui-popup-menu)::part(menu) {
|
|
763
|
-
padding: 0.25rem;
|
|
764
|
-
}
|
|
765
|
-
.kui-popup-surface[data-inset="list-zero"]
|
|
766
|
-
> wa-dropdown:not(.kui-popup-menu)::part(menu) {
|
|
767
|
-
padding: 0;
|
|
768
|
-
}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
position: relative;
|
|
20
20
|
display: flex;
|
|
21
21
|
width: max-content;
|
|
22
|
-
min-width: max-content;
|
|
23
22
|
height: 2.5rem;
|
|
24
23
|
box-sizing: border-box;
|
|
25
24
|
border: 1px solid transparent;
|
|
@@ -27,7 +26,11 @@
|
|
|
27
26
|
color: var(--kui-tab-bar-item-color);
|
|
28
27
|
background: transparent;
|
|
29
28
|
align-items: center;
|
|
30
|
-
|
|
29
|
+
/* Shrink before the strip scrolls (KF-VQ1Z8H): the tab starts at its full
|
|
30
|
+
width and gives up width down to its automatic minimum, its chrome plus
|
|
31
|
+
the label's floor below, so the name ellipsizes first and the strip
|
|
32
|
+
scrolls only once every tab is at its floor. */
|
|
33
|
+
flex: 0 1 auto;
|
|
31
34
|
}
|
|
32
35
|
.kui-tab-bar__tabs[data-snap-tabs="true"] > .kui-tab-bar-item {
|
|
33
36
|
scroll-snap-align: start;
|
|
@@ -117,7 +120,45 @@
|
|
|
117
120
|
height: 1rem;
|
|
118
121
|
flex: none;
|
|
119
122
|
}
|
|
123
|
+
/* The label sizes the name. A shrinkable label (one carrying
|
|
124
|
+
`data-kui-tab-name`) takes its intrinsic widths from two hidden copies of
|
|
125
|
+
the name instead of the name itself, whose inline size is contained: the
|
|
126
|
+
nowrap copy capped at the floor sets its min-content to
|
|
127
|
+
min(name, floor), and the copy that may break anywhere sets its
|
|
128
|
+
max-content to the whole name. A tab therefore lays out at its full width
|
|
129
|
+
when there is room, never widens a name shorter than the floor, and
|
|
130
|
+
shrinks no further than a few characters. The copies are generated
|
|
131
|
+
content with empty alternative text and hidden, so the real name stays the
|
|
132
|
+
tab's only accessible name. */
|
|
133
|
+
.kui-tab-bar-item__label {
|
|
134
|
+
display: block;
|
|
135
|
+
max-width: var(--kui-tab-bar-item-label-max-width, none);
|
|
136
|
+
font-size: var(--kui-font-xs);
|
|
137
|
+
font-weight: 650;
|
|
138
|
+
}
|
|
139
|
+
.kui-tab-bar-item__label[data-kui-tab-name]::before,
|
|
140
|
+
.kui-tab-bar-item__label[data-kui-tab-name]::after {
|
|
141
|
+
display: block;
|
|
142
|
+
height: 0;
|
|
143
|
+
overflow: clip;
|
|
144
|
+
content: attr(data-kui-tab-name);
|
|
145
|
+
content: attr(data-kui-tab-name) / "";
|
|
146
|
+
visibility: hidden;
|
|
147
|
+
pointer-events: none;
|
|
148
|
+
white-space: nowrap;
|
|
149
|
+
}
|
|
150
|
+
.kui-tab-bar-item__label[data-kui-tab-name]::before {
|
|
151
|
+
max-width: 3rem;
|
|
152
|
+
}
|
|
153
|
+
.kui-tab-bar-item__label[data-kui-tab-name]::after {
|
|
154
|
+
overflow-wrap: anywhere;
|
|
155
|
+
white-space: normal;
|
|
156
|
+
}
|
|
157
|
+
.kui-tab-bar-item__label[data-kui-tab-name] > .kui-tab-bar-item__name {
|
|
158
|
+
contain: inline-size;
|
|
159
|
+
}
|
|
120
160
|
.kui-tab-bar-item__name {
|
|
161
|
+
display: block;
|
|
121
162
|
max-width: var(--kui-tab-bar-item-label-max-width, none);
|
|
122
163
|
overflow: hidden;
|
|
123
164
|
font-size: var(--kui-font-xs);
|
|
@@ -125,8 +166,11 @@
|
|
|
125
166
|
text-overflow: ellipsis;
|
|
126
167
|
white-space: nowrap;
|
|
127
168
|
}
|
|
169
|
+
.kui-tab-bar-item[data-name-overflow="visible"] .kui-tab-bar-item__label,
|
|
128
170
|
.kui-tab-bar-item[data-name-overflow="visible"] .kui-tab-bar-item__name {
|
|
129
171
|
max-width: none;
|
|
172
|
+
}
|
|
173
|
+
.kui-tab-bar-item[data-name-overflow="visible"] .kui-tab-bar-item__name {
|
|
130
174
|
overflow: visible;
|
|
131
175
|
text-overflow: clip;
|
|
132
176
|
}
|
|
@@ -140,6 +184,11 @@
|
|
|
140
184
|
width: 100%;
|
|
141
185
|
justify-content: center;
|
|
142
186
|
}
|
|
187
|
+
/* An icon-only tab's label takes no box: its name is visually hidden, so the
|
|
188
|
+
icon centers alone, as before the label existed. */
|
|
189
|
+
.kui-tab-bar-item[data-presentation="icon-only"] .kui-tab-bar-item__label {
|
|
190
|
+
display: contents;
|
|
191
|
+
}
|
|
143
192
|
.kui-tab-bar-item[data-presentation="icon-only"] .kui-tab-bar-item__name {
|
|
144
193
|
position: absolute;
|
|
145
194
|
width: 1px;
|
|
@@ -171,6 +220,19 @@
|
|
|
171
220
|
width: 100%;
|
|
172
221
|
justify-content: center;
|
|
173
222
|
}
|
|
223
|
+
.kui-tab-bar[data-icon-only-at="wide"]
|
|
224
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
225
|
+
.kui-tab-bar-item__label {
|
|
226
|
+
display: contents;
|
|
227
|
+
}
|
|
228
|
+
.kui-tab-bar[data-icon-only-at="wide"]
|
|
229
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
230
|
+
.kui-tab-bar-item__label::before,
|
|
231
|
+
.kui-tab-bar[data-icon-only-at="wide"]
|
|
232
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
233
|
+
.kui-tab-bar-item__label::after {
|
|
234
|
+
content: none;
|
|
235
|
+
}
|
|
174
236
|
.kui-tab-bar[data-icon-only-at="wide"]
|
|
175
237
|
.kui-tab-bar-item[data-presentation="segmented"]
|
|
176
238
|
.kui-tab-bar-item__name {
|
|
@@ -198,6 +260,19 @@
|
|
|
198
260
|
width: 100%;
|
|
199
261
|
justify-content: center;
|
|
200
262
|
}
|
|
263
|
+
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
264
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
265
|
+
.kui-tab-bar-item__label {
|
|
266
|
+
display: contents;
|
|
267
|
+
}
|
|
268
|
+
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
269
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
270
|
+
.kui-tab-bar-item__label::before,
|
|
271
|
+
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
272
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
273
|
+
.kui-tab-bar-item__label::after {
|
|
274
|
+
content: none;
|
|
275
|
+
}
|
|
201
276
|
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
202
277
|
.kui-tab-bar-item[data-presentation="segmented"]
|
|
203
278
|
.kui-tab-bar-item__name {
|
|
@@ -225,6 +300,19 @@
|
|
|
225
300
|
width: 100%;
|
|
226
301
|
justify-content: center;
|
|
227
302
|
}
|
|
303
|
+
.kui-tab-bar[data-icon-only-at="compact"]
|
|
304
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
305
|
+
.kui-tab-bar-item__label {
|
|
306
|
+
display: contents;
|
|
307
|
+
}
|
|
308
|
+
.kui-tab-bar[data-icon-only-at="compact"]
|
|
309
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
310
|
+
.kui-tab-bar-item__label::before,
|
|
311
|
+
.kui-tab-bar[data-icon-only-at="compact"]
|
|
312
|
+
.kui-tab-bar-item[data-presentation="segmented"]
|
|
313
|
+
.kui-tab-bar-item__label::after {
|
|
314
|
+
content: none;
|
|
315
|
+
}
|
|
228
316
|
.kui-tab-bar[data-icon-only-at="compact"]
|
|
229
317
|
.kui-tab-bar-item[data-presentation="segmented"]
|
|
230
318
|
.kui-tab-bar-item__name {
|
|
@@ -257,6 +345,18 @@
|
|
|
257
345
|
border-start-end-radius: var(--kui-radius-pill);
|
|
258
346
|
border-end-end-radius: var(--kui-radius-pill);
|
|
259
347
|
}
|
|
348
|
+
/* In a rounded segmented strip (KF-YBD6XJ) every tab, the outer ones
|
|
349
|
+
included, is concentric with the track's control radius rather than the
|
|
350
|
+
pill. */
|
|
351
|
+
.kui-tab-bar[data-presentation="segmented"][data-shape="rounded"]
|
|
352
|
+
.kui-tab-bar__tabs
|
|
353
|
+
> .kui-tab-bar-item:nth-child(n) {
|
|
354
|
+
border-radius: calc(
|
|
355
|
+
var(--kui-tab-bar-strip-radius, var(--kui-layout-rounded-radius)) -
|
|
356
|
+
var(--kui-tab-bar-strip-padding, 1px) -
|
|
357
|
+
var(--kui-tab-bar-strip-border-width, 1px)
|
|
358
|
+
);
|
|
359
|
+
}
|
|
260
360
|
/* Fill allocation shares the strip equally and centers each tab's content. */
|
|
261
361
|
.kui-tab-bar[data-allocation="fill"] .kui-tab-bar__tabs > .kui-tab-bar-item {
|
|
262
362
|
min-width: 0;
|
|
@@ -269,6 +369,14 @@
|
|
|
269
369
|
width: 100%;
|
|
270
370
|
justify-content: center;
|
|
271
371
|
}
|
|
372
|
+
/* Fill tabs already share the strip equally, so a filled label keeps no
|
|
373
|
+
floor of its own and the name may ellipsize away as it did before. */
|
|
374
|
+
.kui-tab-bar[data-allocation="fill"]
|
|
375
|
+
.kui-tab-bar__tabs
|
|
376
|
+
> .kui-tab-bar-item
|
|
377
|
+
.kui-tab-bar-item__label {
|
|
378
|
+
min-width: 0;
|
|
379
|
+
}
|
|
272
380
|
.kui-tab-bar-item__trailing {
|
|
273
381
|
display: grid;
|
|
274
382
|
min-width: 1.275rem;
|