@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
|
@@ -56,6 +56,18 @@
|
|
|
56
56
|
.kui-popup-menu__trigger > svg {
|
|
57
57
|
flex: none;
|
|
58
58
|
}
|
|
59
|
+
/* emphasis="secondary": outlined like a secondary Button, for a menu beside
|
|
60
|
+
them outside a toolbar (a toolbar group styles its own triggers below). */
|
|
61
|
+
.kui-popup-menu[data-emphasis="secondary"] > .kui-popup-menu__trigger {
|
|
62
|
+
border-color: var(--kui-color-neutral-border-loud);
|
|
63
|
+
}
|
|
64
|
+
/* size="compact": a compact Button's height and type. */
|
|
65
|
+
.kui-popup-menu[data-size="compact"] {
|
|
66
|
+
--_kui-popup-menu-trigger-height: round(calc(1rem + 1.2em), 1px);
|
|
67
|
+
}
|
|
68
|
+
.kui-popup-menu[data-size="compact"] > .kui-popup-menu__trigger {
|
|
69
|
+
font-size: var(--kui-font-s, 0.875rem);
|
|
70
|
+
}
|
|
59
71
|
/* An icon and visible text sit one standard gap apart. */
|
|
60
72
|
.kui-popup-menu__text:not(:first-child) {
|
|
61
73
|
margin-inline-start: var(--kui-space-xs);
|
|
@@ -132,6 +144,9 @@
|
|
|
132
144
|
background: var(--_kui-popup-scroll-cue);
|
|
133
145
|
box-shadow: var(--kui-shadow-m);
|
|
134
146
|
font: inherit;
|
|
147
|
+
/* The menu keeps the standard text size wherever its trigger sits: a
|
|
148
|
+
compact toolbar group's compact text is for the trigger (KF-Z8EYHT). */
|
|
149
|
+
font-size: var(--kui-font-m, 1rem);
|
|
135
150
|
font-weight: normal;
|
|
136
151
|
text-align: start;
|
|
137
152
|
white-space: normal;
|
|
@@ -163,6 +178,130 @@
|
|
|
163
178
|
outline: none;
|
|
164
179
|
}
|
|
165
180
|
|
|
181
|
+
/* embedded: the menu shows open at its placement against the trigger, in
|
|
182
|
+
the document instead of the top layer, as a static preview (the editor's
|
|
183
|
+
edit canvas). The surface and rows are the open menu's; only the layer it
|
|
184
|
+
sits in differs. Like the real menu it overlays what lies below the
|
|
185
|
+
trigger rather than pushing it aside, so a trigger in a toolbar group's
|
|
186
|
+
fixed control band keeps its place (a toolbar's leading zone stops
|
|
187
|
+
clipping while it holds one, in toolbar.css). */
|
|
188
|
+
.kui-popup-menu[data-embedded] {
|
|
189
|
+
position: relative;
|
|
190
|
+
}
|
|
191
|
+
.kui-popup-menu[data-embedded] > .kui-popup-menu__menu {
|
|
192
|
+
display: flex;
|
|
193
|
+
position: absolute;
|
|
194
|
+
z-index: 1;
|
|
195
|
+
inset-block: 100% auto;
|
|
196
|
+
inset-inline: 0 auto;
|
|
197
|
+
flex-direction: column;
|
|
198
|
+
gap: var(--_kui-popup-row-gap);
|
|
199
|
+
opacity: 1;
|
|
200
|
+
transition: none;
|
|
201
|
+
}
|
|
202
|
+
.kui-popup-menu[data-embedded]:is(
|
|
203
|
+
[data-placement="bottom-end"],
|
|
204
|
+
[data-placement="top-end"]
|
|
205
|
+
)
|
|
206
|
+
> .kui-popup-menu__menu {
|
|
207
|
+
inset-inline: auto 0;
|
|
208
|
+
}
|
|
209
|
+
.kui-popup-menu[data-embedded]:is(
|
|
210
|
+
[data-placement="bottom"],
|
|
211
|
+
[data-placement="top"]
|
|
212
|
+
)
|
|
213
|
+
> .kui-popup-menu__menu {
|
|
214
|
+
left: 50%;
|
|
215
|
+
right: auto;
|
|
216
|
+
translate: -50% 0;
|
|
217
|
+
}
|
|
218
|
+
.kui-popup-menu[data-embedded][data-placement^="top"] > .kui-popup-menu__menu {
|
|
219
|
+
inset-block: auto 100%;
|
|
220
|
+
}
|
|
221
|
+
/* An embedded menu's open submenu (`embeddedSubmenu`) shows beside its item
|
|
222
|
+
as the register places a real one: at the item's far edge, lifted so its
|
|
223
|
+
first row meets the item. The menus around it stop clipping so it can
|
|
224
|
+
hang outside them. */
|
|
225
|
+
.kui-popup-menu[data-embedded] .kui-popup-menu__menu {
|
|
226
|
+
overflow: visible;
|
|
227
|
+
}
|
|
228
|
+
.kui-popup-menu[data-embedded]
|
|
229
|
+
.kui-popup-menu__submenu-host:has(> [data-embedded-open]) {
|
|
230
|
+
position: relative;
|
|
231
|
+
}
|
|
232
|
+
.kui-popup-menu[data-embedded] .kui-popup-menu__menu[data-embedded-open] {
|
|
233
|
+
display: flex;
|
|
234
|
+
position: absolute;
|
|
235
|
+
z-index: 1;
|
|
236
|
+
inset-block: -0.3125rem auto;
|
|
237
|
+
inset-inline: 100% auto;
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
gap: var(--_kui-popup-row-gap);
|
|
240
|
+
opacity: 1;
|
|
241
|
+
transition: none;
|
|
242
|
+
}
|
|
243
|
+
/* An end-aligned menu hangs from a trigger at the end of its row (a
|
|
244
|
+
trailing toolbar menu), where there is no room beyond it; a real submenu
|
|
245
|
+
flips to the start side there, so an embedded one opens on that side. */
|
|
246
|
+
.kui-popup-menu[data-embedded]:is(
|
|
247
|
+
[data-placement="bottom-end"],
|
|
248
|
+
[data-placement="top-end"]
|
|
249
|
+
)
|
|
250
|
+
.kui-popup-menu__menu[data-embedded-open] {
|
|
251
|
+
inset-inline: auto 100%;
|
|
252
|
+
}
|
|
253
|
+
/* At phone widths a real submenu opens below its parent menu rather than
|
|
254
|
+
beside it, so its rows never cover the parent's; the embedded one does
|
|
255
|
+
the same, its item no longer its containing block. */
|
|
256
|
+
@media (width <= 480px) {
|
|
257
|
+
.kui-popup-menu[data-embedded]
|
|
258
|
+
.kui-popup-menu__submenu-host:has(> [data-embedded-open]) {
|
|
259
|
+
position: static;
|
|
260
|
+
}
|
|
261
|
+
.kui-popup-menu[data-embedded] .kui-popup-menu__menu[data-embedded-open],
|
|
262
|
+
.kui-popup-menu[data-embedded]:is(
|
|
263
|
+
[data-placement="bottom-end"],
|
|
264
|
+
[data-placement="top-end"]
|
|
265
|
+
)
|
|
266
|
+
.kui-popup-menu__menu[data-embedded-open] {
|
|
267
|
+
inset-block: calc(100% + 0.3125rem) auto;
|
|
268
|
+
inset-inline: -0.0625rem auto;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* KF-A1Y7SY: outside a toolbar's fixed control band, an embedded
|
|
273
|
+
menu sits in flow below (or above) its trigger instead of overlaying, the
|
|
274
|
+
way an embedded dialog does: an overlay is clipped by any scrolling
|
|
275
|
+
ancestor (a Pane holding the menu directly), while in flow the menu takes
|
|
276
|
+
its own room. In a toolbar it keeps overlaying, so the trigger keeps
|
|
277
|
+
its place there. */
|
|
278
|
+
.kui-popup-menu[data-embedded]:not(.kui-toolbar *) {
|
|
279
|
+
flex-direction: column;
|
|
280
|
+
align-items: flex-start;
|
|
281
|
+
}
|
|
282
|
+
.kui-popup-menu[data-embedded]:not(.kui-toolbar *):is(
|
|
283
|
+
[data-placement="bottom-end"],
|
|
284
|
+
[data-placement="top-end"]
|
|
285
|
+
) {
|
|
286
|
+
align-items: flex-end;
|
|
287
|
+
}
|
|
288
|
+
.kui-popup-menu[data-embedded]:not(.kui-toolbar *):is(
|
|
289
|
+
[data-placement="bottom"],
|
|
290
|
+
[data-placement="top"]
|
|
291
|
+
) {
|
|
292
|
+
align-items: center;
|
|
293
|
+
}
|
|
294
|
+
.kui-popup-menu[data-embedded]:not(
|
|
295
|
+
.kui-toolbar-control-group *
|
|
296
|
+
)[data-placement^="top"] {
|
|
297
|
+
flex-direction: column-reverse;
|
|
298
|
+
}
|
|
299
|
+
.kui-popup-menu[data-embedded]:not(.kui-toolbar *) > .kui-popup-menu__menu {
|
|
300
|
+
position: relative;
|
|
301
|
+
inset: auto;
|
|
302
|
+
translate: none;
|
|
303
|
+
}
|
|
304
|
+
|
|
166
305
|
/* A pointer-opened submenu's safe triangle: from the pointer to the
|
|
167
306
|
submenu's near edge, so a diagonal move toward it stays over the submenu
|
|
168
307
|
instead of crossing (and closing it from) the parent's other items. */
|
|
@@ -185,6 +324,20 @@
|
|
|
185
324
|
}
|
|
186
325
|
|
|
187
326
|
/* A group title matches the Select's group title. */
|
|
327
|
+
/* KF-59BF6C: the popup note, below the choices. It wraps to the width the
|
|
328
|
+
choices give the popup and never widens it. */
|
|
329
|
+
.kui-popup-menu__note {
|
|
330
|
+
margin-block-start: calc(
|
|
331
|
+
var(--_kui-popup-note-gap) + var(--_kui-popup-row-gap)
|
|
332
|
+
);
|
|
333
|
+
padding: var(--_kui-popup-note-padding);
|
|
334
|
+
border-block-start: 1px solid var(--kui-color-neutral-border-quiet);
|
|
335
|
+
color: var(--kui-color-text-quiet);
|
|
336
|
+
font-size: var(--_kui-popup-note-font-size);
|
|
337
|
+
line-height: var(--_kui-popup-note-line-height);
|
|
338
|
+
contain: inline-size;
|
|
339
|
+
}
|
|
340
|
+
|
|
188
341
|
.kui-popup-menu__heading {
|
|
189
342
|
padding: var(--_kui-popup-group-title-padding);
|
|
190
343
|
color: var(--kui-color-neutral-on-quiet);
|
|
@@ -423,7 +576,7 @@
|
|
|
423
576
|
.kui-popup-surface[data-inset="standard"]
|
|
424
577
|
> .kui-popup-menu
|
|
425
578
|
> .kui-popup-menu__menu {
|
|
426
|
-
padding: var(--kui-
|
|
579
|
+
padding: var(--kui-surface-inset, 0.5rem);
|
|
427
580
|
}
|
|
428
581
|
.kui-popup-surface[data-inset="compact"]
|
|
429
582
|
> .kui-popup-menu
|
|
@@ -175,8 +175,8 @@
|
|
|
175
175
|
|
|
176
176
|
/* Every zone reserves a group-height control band. Direct custom content
|
|
177
177
|
centers against its zone's height by default. ToolbarText,
|
|
178
|
-
ToolbarControlGroup, a standalone Button
|
|
179
|
-
placement, so taller siblings do not move their controls off that axis.
|
|
178
|
+
ToolbarControlGroup, and a standalone Button (and a raw wa-button, through
|
|
179
|
+
the optional webawesome.css bridge) keep their own first-band placement, so taller siblings do not move their controls off that axis.
|
|
180
180
|
`--_kui-toolbar-band` is context those components use for that placement. */
|
|
181
181
|
.kui-toolbar {
|
|
182
182
|
--_kui-toolbar-band: var(--kui-toolbar-group-size, calc(2px + 2.625rem));
|
|
@@ -242,6 +242,23 @@
|
|
|
242
242
|
overflow: visible;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
/* A group button's corner badge (ToolbarButton `badge`, KF-HDQTVV) and its
|
|
246
|
+
2px ring rise a few pixels above the zone; WebKit has no
|
|
247
|
+
`overflow-clip-margin`, so it cut the badge's top off flat. While the zone
|
|
248
|
+
holds one it stops clipping, as for a glass group above. */
|
|
249
|
+
.kui-toolbar__leading:has(
|
|
250
|
+
> .kui-toolbar-control-group > button > .kui-badge[data-placement="corner"]
|
|
251
|
+
) {
|
|
252
|
+
overflow: visible;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* An embedded PopupMenu or Select (a static preview of its open popup, as
|
|
256
|
+
the editor's edit canvas shows a selected one) hangs below its trigger in
|
|
257
|
+
the document, so the zone holding one stops clipping it (KF-KN9CPE). */
|
|
258
|
+
.kui-toolbar__leading:has(:is(.kui-popup-menu, .kui-select)[data-embedded]) {
|
|
259
|
+
overflow: visible;
|
|
260
|
+
}
|
|
261
|
+
|
|
245
262
|
.kui-toolbar__center {
|
|
246
263
|
/* The center content never compresses below its own width (a group cannot
|
|
247
264
|
shrink or clip its controls). The track above takes this as its minimum, so
|
|
@@ -281,15 +298,6 @@
|
|
|
281
298
|
flex-wrap: wrap;
|
|
282
299
|
}
|
|
283
300
|
|
|
284
|
-
.kui-toolbar__trailing > wa-button {
|
|
285
|
-
margin-block-start: max(
|
|
286
|
-
0px,
|
|
287
|
-
calc((var(--_kui-toolbar-band) - var(--wa-form-control-height)) / 2)
|
|
288
|
-
);
|
|
289
|
-
align-self: flex-start;
|
|
290
|
-
flex: 0 0 auto;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
301
|
/* An expanded trailing search gets a complete second row while the leading
|
|
294
302
|
identity and optional center controls remain in the first. The query styles
|
|
295
303
|
descendants because a toolbar cannot query its own container width. */
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
--_kui-toolbar-control-group-slot-height: 2.5rem;
|
|
33
33
|
--_kui-toolbar-control-group-slot-overlap: 0px;
|
|
34
34
|
--_kui-toolbar-control-group-slot-radius: var(--kui-toolbar-item-radius);
|
|
35
|
+
/* Context for a ToolbarButton's corner badge (badge.css): the surface its
|
|
36
|
+
ring separates it from, which is the group's own fill (KF-HDQTVV). */
|
|
37
|
+
--_kui-toolbar-control-group-badge-ring: var(
|
|
38
|
+
--kui-toolbar-control-background
|
|
39
|
+
);
|
|
35
40
|
display: inline-flex;
|
|
36
41
|
position: relative;
|
|
37
42
|
height: var(--kui-toolbar-group-size, calc(2px + 2.625rem));
|
|
@@ -186,6 +191,9 @@
|
|
|
186
191
|
}
|
|
187
192
|
.kui-toolbar-control-group[data-size="compact"] {
|
|
188
193
|
--kui-toolbar-group-size: 2.125rem;
|
|
194
|
+
/* Compact text, as on a compact Button: the group's text-bearing controls
|
|
195
|
+
(plain buttons, action links, PopupMenu triggers) inherit it. */
|
|
196
|
+
font-size: var(--kui-font-s, 0.875rem);
|
|
189
197
|
--_kui-toolbar-control-group-slot-height: 2rem;
|
|
190
198
|
--_kui-toolbar-control-group-slot-overlap: 1px;
|
|
191
199
|
--_kui-toolbar-control-group-slot-radius: max(
|
|
@@ -345,29 +353,15 @@
|
|
|
345
353
|
}
|
|
346
354
|
}
|
|
347
355
|
.kui-toolbar-control-group[data-content="text"]
|
|
348
|
-
> :is(button,
|
|
356
|
+
> :is(button, .kui-toolbar-action-link),
|
|
349
357
|
.kui-toolbar-control-group[data-content="mixed"]
|
|
350
|
-
> :is(button,
|
|
358
|
+
> :is(button, .kui-toolbar-action-link) {
|
|
351
359
|
min-width: max-content;
|
|
352
360
|
}
|
|
353
361
|
.kui-toolbar-control-group[data-content="mixed"] > button {
|
|
354
362
|
display: flex;
|
|
355
363
|
gap: var(--kui-space-xs);
|
|
356
364
|
}
|
|
357
|
-
.kui-toolbar-control-group[data-content="mixed"]
|
|
358
|
-
wa-button:not(:where(.kui-popup-menu > *)) {
|
|
359
|
-
line-height: normal;
|
|
360
|
-
}
|
|
361
|
-
/* Toolbar controls never wrap. Web Awesome's label part is a plain block, so a
|
|
362
|
-
slotted icon (a block SVG) and its text would otherwise stack vertically —
|
|
363
|
-
lay them out on one row the way native mixed buttons already are. */
|
|
364
|
-
.kui-toolbar-control-group
|
|
365
|
-
wa-button:not(:where(.kui-popup-menu > *))::part(label) {
|
|
366
|
-
display: inline-flex;
|
|
367
|
-
align-items: center;
|
|
368
|
-
gap: var(--kui-space-xs);
|
|
369
|
-
white-space: nowrap;
|
|
370
|
-
}
|
|
371
365
|
.kui-toolbar-control-group[data-content="avatar"][data-scrim="true"] {
|
|
372
366
|
--kui-toolbar-control-background: color-mix(
|
|
373
367
|
in srgb,
|
|
@@ -414,6 +408,8 @@
|
|
|
414
408
|
--kui-toolbar-control-selected-background: var(
|
|
415
409
|
--kui-color-neutral-fill-normal
|
|
416
410
|
);
|
|
411
|
+
/* No fill of its own: the corner badge rings against the page surface. */
|
|
412
|
+
--_kui-toolbar-control-group-badge-ring: var(--kui-color-surface);
|
|
417
413
|
border-color: transparent;
|
|
418
414
|
background: transparent;
|
|
419
415
|
}
|
|
@@ -577,25 +573,21 @@
|
|
|
577
573
|
One button opts out alone with `data-selected-chrome="none"`. After the
|
|
578
574
|
tone and appearance rules above, so it wins over their selected fills. */
|
|
579
575
|
.kui-toolbar-control-group[data-selected-chrome="none"],
|
|
580
|
-
.kui-toolbar-control-group
|
|
581
|
-
> :is(button, wa-button)[data-selected-chrome="none"] {
|
|
576
|
+
.kui-toolbar-control-group > button[data-selected-chrome="none"] {
|
|
582
577
|
--kui-toolbar-control-selected-shadow: none;
|
|
583
578
|
--kui-toolbar-control-selected-border: transparent;
|
|
584
579
|
--kui-toolbar-control-selected-background: transparent;
|
|
585
580
|
--kui-toolbar-control-selected-color: var(--kui-toolbar-control-color);
|
|
586
581
|
}
|
|
587
582
|
|
|
588
|
-
/* The group lays out its own native
|
|
589
|
-
|
|
590
|
-
group's context from its
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
.kui-toolbar-control-group >
|
|
583
|
+
/* The group lays out its own native children (raw Web Awesome children are
|
|
584
|
+
laid out by the optional webawesome.css bridge). A composed PopupMenu
|
|
585
|
+
(`.kui-popup-menu`) or Select sizes itself in the group's context from its
|
|
586
|
+
own stylesheet (popup-menu.css, select.css); the group names those children
|
|
587
|
+
by class only to key its own state on them. */
|
|
588
|
+
.kui-toolbar-control-group > :is(button, .kui-toolbar-action-link) {
|
|
594
589
|
flex: 0 0 auto;
|
|
595
590
|
}
|
|
596
|
-
.kui-toolbar-control-group > wa-dropdown:not(.kui-popup-menu) {
|
|
597
|
-
display: inline-flex;
|
|
598
|
-
}
|
|
599
591
|
|
|
600
592
|
.kui-toolbar-control-group > button:has(> .kui-badge[data-placement="corner"]) {
|
|
601
593
|
position: relative;
|
|
@@ -686,81 +678,25 @@
|
|
|
686
678
|
}
|
|
687
679
|
|
|
688
680
|
.kui-toolbar-control-group > button svg,
|
|
689
|
-
.kui-toolbar-control-group wa-button:not(:where(.kui-popup-menu > *)) > svg,
|
|
690
681
|
.kui-toolbar-control-group > .kui-toolbar-action-link svg {
|
|
691
682
|
display: block;
|
|
692
683
|
width: 1rem;
|
|
693
684
|
height: 1rem;
|
|
694
685
|
}
|
|
695
|
-
|
|
696
|
-
/* Nested Web Awesome buttons take the group's control height, not the theme's
|
|
697
|
-
44px standalone control height. The group's `wa-button` rules style only raw
|
|
698
|
-
buttons: a composed PopupMenu's trigger (`.kui-popup-menu > wa-button`) is
|
|
699
|
-
excluded inside a zero-specificity `:where()` and takes the same metrics
|
|
700
|
-
from popup-menu.css. */
|
|
701
|
-
.kui-toolbar-control-group wa-button:not(:where(.kui-popup-menu > *)) {
|
|
702
|
-
--wa-form-control-height: 2.5rem;
|
|
703
|
-
}
|
|
704
|
-
.kui-toolbar-control-group[data-size="compact"]
|
|
705
|
-
wa-button:not(:where(.kui-popup-menu > *)) {
|
|
706
|
-
--wa-form-control-height: 2rem;
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
.kui-toolbar-control-group > wa-button,
|
|
710
|
-
.kui-toolbar-control-group > wa-dropdown:not(.kui-popup-menu),
|
|
711
|
-
.kui-toolbar-control-group > wa-dropdown:not(.kui-popup-menu) > wa-button,
|
|
712
|
-
.kui-toolbar-control-group
|
|
713
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
714
|
-
> wa-button::part(base) {
|
|
715
|
-
min-width: 2.5rem;
|
|
716
|
-
height: 2.5rem;
|
|
717
|
-
}
|
|
718
686
|
.kui-toolbar-control-group[data-size="compact"] > button,
|
|
719
|
-
.kui-toolbar-control-group[data-size="compact"] > .kui-toolbar-action-link
|
|
720
|
-
.kui-toolbar-control-group[data-size="compact"] > wa-button,
|
|
721
|
-
.kui-toolbar-control-group[data-size="compact"]
|
|
722
|
-
> wa-dropdown:not(.kui-popup-menu),
|
|
723
|
-
.kui-toolbar-control-group[data-size="compact"]
|
|
724
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
725
|
-
> wa-button,
|
|
726
|
-
.kui-toolbar-control-group[data-size="compact"]
|
|
727
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
728
|
-
> wa-button::part(base),
|
|
729
|
-
.kui-toolbar-control-group[data-size="compact"][data-nested-dropdown="true"]
|
|
730
|
-
wa-dropdown:not(.kui-popup-menu)
|
|
731
|
-
wa-button,
|
|
732
|
-
.kui-toolbar-control-group[data-size="compact"][data-nested-dropdown="true"]
|
|
733
|
-
wa-dropdown:not(.kui-popup-menu)
|
|
734
|
-
wa-button::part(base) {
|
|
687
|
+
.kui-toolbar-control-group[data-size="compact"] > .kui-toolbar-action-link {
|
|
735
688
|
min-width: 2rem;
|
|
736
689
|
height: 2rem;
|
|
737
690
|
min-height: 2rem;
|
|
738
691
|
}
|
|
739
692
|
|
|
740
|
-
/* A compact icon button is a 32px circle like its compact
|
|
741
|
-
|
|
742
|
-
|
|
693
|
+
/* A compact icon button is a 32px circle like its compact Select siblings;
|
|
694
|
+
the default 8px inline padding around a 16px icon made its selected
|
|
695
|
+
highlight a 34x32 oval. */
|
|
743
696
|
.kui-toolbar-control-group[data-size="compact"][data-content="icon"] > button {
|
|
744
697
|
padding-inline: 0;
|
|
745
698
|
}
|
|
746
699
|
|
|
747
|
-
/* `standard` keeps each menu's own standard inset: a raw wa-dropdown takes the
|
|
748
|
-
8px surface inset, while a PopupMenu keeps the Select listbox inset it
|
|
749
|
-
shares (popup-menu.css). The explicit compact and list-zero choices apply to
|
|
750
|
-
every nested menu; a PopupMenu applies them to itself (popup-menu.css). */
|
|
751
|
-
.kui-toolbar-control-group[data-menu-inset="standard"]
|
|
752
|
-
wa-dropdown:not(.kui-popup-menu)::part(menu) {
|
|
753
|
-
padding: var(--kui-wa-surface-inset, 0.5rem);
|
|
754
|
-
}
|
|
755
|
-
.kui-toolbar-control-group[data-menu-inset="compact"]
|
|
756
|
-
wa-dropdown:not(.kui-popup-menu)::part(menu) {
|
|
757
|
-
padding: 0.25rem;
|
|
758
|
-
}
|
|
759
|
-
.kui-toolbar-control-group[data-menu-inset="list-zero"]
|
|
760
|
-
wa-dropdown:not(.kui-popup-menu)::part(menu) {
|
|
761
|
-
padding: 0;
|
|
762
|
-
}
|
|
763
|
-
|
|
764
700
|
/* Compact mixed controls keep the default horizontal breathing room. Their
|
|
765
701
|
raised selection grows over the group's own border instead of becoming a
|
|
766
702
|
smaller inset lozenge, while negative margins keep the outer geometry and
|
|
@@ -777,72 +713,10 @@
|
|
|
777
713
|
border-radius: var(--kui-toolbar-group-radius);
|
|
778
714
|
}
|
|
779
715
|
|
|
780
|
-
.kui-toolbar-control-group[data-size="compact"][data-content="mixed"]
|
|
781
|
-
> wa-dropdown:not(.kui-popup-menu),
|
|
782
|
-
.kui-toolbar-control-group[data-size="compact"][data-content="mixed"]
|
|
783
|
-
> wa-button {
|
|
784
|
-
margin: -2px;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
/* A compact icon-only trigger may stay square, but a mixed-content dropdown
|
|
788
|
-
trigger must grow for its slotted label plus Web Awesome's caret. Otherwise
|
|
789
|
-
the fixed 32px base centers both outside its host, painting the label across
|
|
790
|
-
the separator and the caret beyond the group border. */
|
|
791
|
-
.kui-toolbar-control-group[data-content="mixed"][data-nested-dropdown="true"]
|
|
792
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
793
|
-
> wa-button,
|
|
794
|
-
.kui-toolbar-control-group[data-content="mixed"][data-nested-dropdown="true"]
|
|
795
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
796
|
-
> wa-button::part(base) {
|
|
797
|
-
min-width: max-content;
|
|
798
|
-
}
|
|
799
|
-
.kui-toolbar-control-group[data-content="mixed"][data-nested-dropdown="true"]
|
|
800
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
801
|
-
> wa-button::part(base) {
|
|
802
|
-
width: max-content;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.kui-toolbar-control-group[data-single="true"]
|
|
806
|
-
> wa-dropdown:not(.kui-popup-menu)
|
|
807
|
-
> wa-button::part(base) {
|
|
808
|
-
width: max-content;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
.kui-toolbar-control-group wa-button:not(:where(.kui-popup-menu > *)) {
|
|
812
|
-
display: inline-flex;
|
|
813
|
-
line-height: 0;
|
|
814
|
-
align-items: center;
|
|
815
|
-
justify-content: center;
|
|
816
|
-
--wa-color-fill-quiet: transparent;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
.kui-toolbar-control-group
|
|
820
|
-
wa-button:not(:where(.kui-popup-menu > *))::part(base) {
|
|
821
|
-
/* Match min-width to the 40px height so an icon-only button's highlight is at
|
|
822
|
-
least a circle, not a vertical oval — the host is 40px wide but the base
|
|
823
|
-
part was sizing to its ~32px content. Text/caret buttons grow past it. */
|
|
824
|
-
min-width: 2.5rem;
|
|
825
|
-
min-height: 2.5rem;
|
|
826
|
-
box-sizing: border-box;
|
|
827
|
-
border: 1px solid transparent;
|
|
828
|
-
border-radius: var(
|
|
829
|
-
--kui-toolbar-item-radius,
|
|
830
|
-
var(--kui-layout-pill-radius, calc(1px + 1.3125rem))
|
|
831
|
-
);
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
.kui-toolbar-control-group
|
|
835
|
-
wa-button:not(:where(.kui-popup-menu > *), [disabled]):hover::part(base) {
|
|
836
|
-
border-color: var(--kui-toolbar-control-border);
|
|
837
|
-
background-color: var(--kui-toolbar-control-hover-background);
|
|
838
|
-
}
|
|
839
|
-
|
|
840
716
|
.kui-toolbar-control-group[data-single="true"]:has(
|
|
841
717
|
> :is(
|
|
842
718
|
button:not(:disabled, [aria-disabled="true"]),
|
|
843
|
-
wa-button:not([disabled]),
|
|
844
719
|
.kui-popup-menu,
|
|
845
|
-
wa-dropdown:not(.kui-popup-menu),
|
|
846
720
|
.kui-select,
|
|
847
721
|
.kui-toolbar-action-link
|
|
848
722
|
)
|
|
@@ -851,9 +725,7 @@
|
|
|
851
725
|
}
|
|
852
726
|
|
|
853
727
|
.kui-toolbar-control-group[data-single="true"]
|
|
854
|
-
> :is(button,
|
|
855
|
-
.kui-toolbar-control-group[data-single="true"]
|
|
856
|
-
wa-button:not(:where(.kui-popup-menu > *), [disabled]):hover::part(base) {
|
|
728
|
+
> :is(button, .kui-toolbar-action-link):hover {
|
|
857
729
|
border-color: transparent;
|
|
858
730
|
background: transparent;
|
|
859
731
|
}
|
|
@@ -865,7 +737,6 @@
|
|
|
865
737
|
.kui-toolbar-control-group:not([data-single="true"]):has(
|
|
866
738
|
> :is(
|
|
867
739
|
button:not(:disabled, [aria-disabled="true"]),
|
|
868
|
-
wa-button:not([disabled]),
|
|
869
740
|
.kui-select,
|
|
870
741
|
.kui-toolbar-action-link
|
|
871
742
|
):nth-child(1 of :where(:not([data-toolbar-visibility-state]))):where(
|
|
@@ -876,17 +747,11 @@
|
|
|
876
747
|
}
|
|
877
748
|
|
|
878
749
|
.kui-toolbar-control-group:not([data-single="true"]):has(
|
|
879
|
-
> :is(button,
|
|
750
|
+
> :is(button, .kui-toolbar-action-link):nth-child(
|
|
880
751
|
1 of :where(:not([data-toolbar-visibility-state]))
|
|
881
752
|
):where(:nth-last-child(1 of :not([data-toolbar-visibility-state])))
|
|
882
753
|
)
|
|
883
|
-
> :is(button,
|
|
884
|
-
.kui-toolbar-control-group:not([data-single="true"]):has(
|
|
885
|
-
> :is(button, wa-button):nth-child(
|
|
886
|
-
1 of :where(:not([data-toolbar-visibility-state]))
|
|
887
|
-
):where(:nth-last-child(1 of :not([data-toolbar-visibility-state])))
|
|
888
|
-
)
|
|
889
|
-
> wa-button:hover::part(base) {
|
|
754
|
+
> :is(button, .kui-toolbar-action-link):hover {
|
|
890
755
|
border-color: transparent;
|
|
891
756
|
background: transparent;
|
|
892
757
|
}
|
|
@@ -903,9 +768,7 @@
|
|
|
903
768
|
):has(
|
|
904
769
|
> :is(
|
|
905
770
|
button:not(:disabled, [aria-disabled="true"]),
|
|
906
|
-
wa-button:not([disabled]),
|
|
907
771
|
.kui-popup-menu,
|
|
908
|
-
wa-dropdown:not(.kui-popup-menu),
|
|
909
772
|
.kui-select,
|
|
910
773
|
.kui-toolbar-action-link
|
|
911
774
|
)
|
|
@@ -916,7 +779,6 @@
|
|
|
916
779
|
):has(
|
|
917
780
|
> :is(
|
|
918
781
|
button:not(:disabled, [aria-disabled="true"]),
|
|
919
|
-
wa-button:not([disabled]),
|
|
920
782
|
.kui-select,
|
|
921
783
|
.kui-toolbar-action-link
|
|
922
784
|
):nth-child(1 of :where(:not([data-toolbar-visibility-state]))):where(
|
|
@@ -940,24 +802,8 @@
|
|
|
940
802
|
box-shadow: var(--kui-toolbar-control-selected-shadow);
|
|
941
803
|
}
|
|
942
804
|
|
|
943
|
-
/* A wa-button's visual is ::part(base), not the outer 40px host box (which has no
|
|
944
|
-
pill radius). Paint the selected background/border/shadow on ::part(base) —
|
|
945
|
-
mirroring the hover rule — so the selected state matches the pill radius/size
|
|
946
|
-
and stays inside the group's border instead of overflowing it as an oversized
|
|
947
|
-
square (KF-5BDDQ9). The selected text color rides on the host and inherits in. */
|
|
948
|
-
.kui-toolbar-control-group[data-single="false"]
|
|
949
|
-
> wa-button[aria-pressed="true"] {
|
|
950
|
-
color: var(--kui-toolbar-control-selected-color);
|
|
951
|
-
}
|
|
952
|
-
.kui-toolbar-control-group[data-single="false"]
|
|
953
|
-
> wa-button[aria-pressed="true"]::part(base) {
|
|
954
|
-
border-color: var(--kui-toolbar-control-selected-border);
|
|
955
|
-
background: var(--kui-toolbar-control-selected-background);
|
|
956
|
-
box-shadow: var(--kui-toolbar-control-selected-shadow);
|
|
957
|
-
}
|
|
958
|
-
|
|
959
805
|
.kui-toolbar-control-group
|
|
960
|
-
> :is(button,
|
|
806
|
+
> :is(button, .kui-toolbar-action-link):focus-visible {
|
|
961
807
|
outline: var(--kui-focus-ring);
|
|
962
808
|
outline-offset: 1px;
|
|
963
809
|
}
|
|
@@ -969,7 +815,7 @@
|
|
|
969
815
|
:has(
|
|
970
816
|
.kui-select[open],
|
|
971
817
|
.kui-popup-menu > [aria-expanded="true"],
|
|
972
|
-
wa-dropdown
|
|
818
|
+
wa-dropdown[open]
|
|
973
819
|
)
|
|
974
820
|
)
|
|
975
821
|
) {
|
|
@@ -982,7 +828,7 @@
|
|
|
982
828
|
:has(
|
|
983
829
|
.kui-select[open],
|
|
984
830
|
.kui-popup-menu > [aria-expanded="true"],
|
|
985
|
-
wa-dropdown
|
|
831
|
+
wa-dropdown[open]
|
|
986
832
|
)
|
|
987
833
|
)
|
|
988
834
|
) {
|
|
@@ -1006,7 +852,7 @@
|
|
|
1006
852
|
:has(
|
|
1007
853
|
.kui-select[open],
|
|
1008
854
|
.kui-popup-menu > [aria-expanded="true"],
|
|
1009
|
-
wa-dropdown
|
|
855
|
+
wa-dropdown[open]
|
|
1010
856
|
)
|
|
1011
857
|
)
|
|
1012
858
|
) {
|
|
@@ -1019,7 +865,7 @@
|
|
|
1019
865
|
:has(
|
|
1020
866
|
.kui-select[open],
|
|
1021
867
|
.kui-popup-menu > [aria-expanded="true"],
|
|
1022
|
-
wa-dropdown
|
|
868
|
+
wa-dropdown[open]
|
|
1023
869
|
)
|
|
1024
870
|
)
|
|
1025
871
|
) {
|
|
@@ -1029,7 +875,7 @@
|
|
|
1029
875
|
}
|
|
1030
876
|
|
|
1031
877
|
.kui-toolbar-control-group[data-button-appearance="push"][data-single="true"]:has(
|
|
1032
|
-
>
|
|
878
|
+
> button[aria-pressed="true"]
|
|
1033
879
|
) {
|
|
1034
880
|
--kui-toolbar-control-color: var(--kui-toolbar-control-pressed-color);
|
|
1035
881
|
border-color: var(--kui-toolbar-control-pressed-border);
|
|
@@ -1038,7 +884,7 @@
|
|
|
1038
884
|
}
|
|
1039
885
|
|
|
1040
886
|
.kui-toolbar-control-group[data-button-appearance="push"][data-single="true"]
|
|
1041
|
-
>
|
|
887
|
+
> button[aria-pressed="true"] {
|
|
1042
888
|
color: var(--kui-toolbar-control-pressed-color);
|
|
1043
889
|
}
|
|
1044
890
|
|
|
@@ -1071,7 +917,7 @@
|
|
|
1071
917
|
.kui-toolbar-control-group[data-content="avatar"]:is(
|
|
1072
918
|
[data-single="true"],
|
|
1073
919
|
:has(
|
|
1074
|
-
>
|
|
920
|
+
> button:nth-child(
|
|
1075
921
|
1 of :where(:not([data-toolbar-visibility-state]))
|
|
1076
922
|
):where(:nth-last-child(1 of :not([data-toolbar-visibility-state])))
|
|
1077
923
|
)
|
|
@@ -1082,31 +928,23 @@
|
|
|
1082
928
|
.kui-toolbar-control-group[data-content="avatar"]:is(
|
|
1083
929
|
[data-single="true"],
|
|
1084
930
|
:has(
|
|
1085
|
-
>
|
|
931
|
+
> button:nth-child(
|
|
1086
932
|
1 of :where(:not([data-toolbar-visibility-state]))
|
|
1087
933
|
):where(:nth-last-child(1 of :not([data-toolbar-visibility-state])))
|
|
1088
934
|
)
|
|
1089
935
|
)
|
|
1090
|
-
>
|
|
936
|
+
> button {
|
|
1091
937
|
color: transparent;
|
|
1092
938
|
}
|
|
1093
939
|
|
|
1094
940
|
.kui-toolbar-control-group[data-content="avatar"][data-single="false"]:not(
|
|
1095
941
|
:has(
|
|
1096
|
-
>
|
|
942
|
+
> button:nth-child(
|
|
1097
943
|
1 of :where(:not([data-toolbar-visibility-state]))
|
|
1098
944
|
):where(:nth-last-child(1 of :not([data-toolbar-visibility-state])))
|
|
1099
945
|
)
|
|
1100
946
|
)
|
|
1101
|
-
> button[aria-pressed="true"]
|
|
1102
|
-
.kui-toolbar-control-group[data-content="avatar"][data-single="false"]:not(
|
|
1103
|
-
:has(
|
|
1104
|
-
> :is(button, wa-button):nth-child(
|
|
1105
|
-
1 of :where(:not([data-toolbar-visibility-state]))
|
|
1106
|
-
):where(:nth-last-child(1 of :not([data-toolbar-visibility-state])))
|
|
1107
|
-
)
|
|
1108
|
-
)
|
|
1109
|
-
> wa-button[aria-pressed="true"]::part(base) {
|
|
947
|
+
> button[aria-pressed="true"] {
|
|
1110
948
|
color: transparent;
|
|
1111
949
|
background-image: var(--kui-toolbar-avatar-image);
|
|
1112
950
|
background-origin: border-box;
|
|
@@ -47,6 +47,12 @@
|
|
|
47
47
|
inset 1px 0 var(--_kui-list-divider-left);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
/* `hidden` collapses a disclosed group: the base rule's flex display would
|
|
51
|
+
otherwise outrank the user-agent [hidden] style. */
|
|
52
|
+
.kui-list[hidden] {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
50
56
|
.kui-list[data-control-insets*="t"] {
|
|
51
57
|
--_kui-list-inset-top: var(--kui-layout-inline-margin, 0.5rem);
|
|
52
58
|
}
|