@kerfjs/ui 5.0.0-beta.75 → 5.0.0-beta.76
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 +29 -1
- package/ai/component-catalog.json +23 -11
- package/ai/component-composition.json +9 -3
- package/ai/components/README.md +1 -1
- package/ai/components/badge.md +1 -1
- package/ai/components/chip.md +1 -1
- package/ai/components/content-item.md +8 -5
- package/ai/components/document-baseline.md +2 -2
- package/ai/components/grid.md +5 -3
- package/ai/components/lucide-icon.md +11 -0
- package/ai/public-api-signatures-v1.md +92 -61
- package/ai/skill.md +33 -4
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/analyzer/index.mjs +11 -1
- package/dist/app-tab.js +1 -1
- package/dist/badge.d.ts +5 -3
- package/dist/badge.js +1 -1
- package/dist/browser/catalog.js +7 -7
- package/dist/browser/collapsible-panel.js +3 -3
- package/dist/browser/list-header.js +1 -1
- package/dist/browser/nav-stack.js +1 -1
- package/dist/browser/select.js +1 -1
- package/dist/browser/split-view.js +1 -1
- package/dist/browser/workbench.js +4 -4
- package/dist/catalog-resources.d.ts +6 -6
- package/dist/catalog-resources.js +1 -1
- package/dist/catalog-resources.js.map +1 -1
- package/dist/catalog.d.ts +5 -5
- package/dist/catalog.js +13 -13
- package/dist/catalog.js.map +1 -1
- package/dist/chip.d.ts +3 -2
- package/dist/chip.js +1 -1
- package/dist/{chunk-SVLDRGPJ.js → chunk-3RE2JMZU.js} +7 -3
- package/dist/chunk-3RE2JMZU.js.map +1 -0
- package/dist/{chunk-V4WLBOVJ.js → chunk-5BZBIRQG.js} +4 -4
- package/dist/chunk-5BZBIRQG.js.map +1 -0
- package/dist/{chunk-SX7FJXPJ.js → chunk-5D3WDMIK.js} +4 -4
- package/dist/chunk-5D3WDMIK.js.map +1 -0
- package/dist/{chunk-HKVJ5MW3.js → chunk-5PAVAR4B.js} +3 -3
- package/dist/chunk-5PAVAR4B.js.map +1 -0
- package/dist/{chunk-5TTZPGUY.js → chunk-72LLWYP2.js} +6 -6
- package/dist/chunk-72LLWYP2.js.map +1 -0
- package/dist/{chunk-JA4J7Y4C.js → chunk-75I3SNUJ.js} +2 -2
- package/dist/chunk-75I3SNUJ.js.map +1 -0
- package/dist/{chunk-K47P7QZC.js → chunk-7QQ3HE47.js} +2 -2
- package/dist/chunk-7QQ3HE47.js.map +1 -0
- package/dist/{chunk-O5GM2JAM.js → chunk-7QWIJEK5.js} +9 -9
- package/dist/chunk-7QWIJEK5.js.map +1 -0
- package/dist/{chunk-5I7QGQVT.js → chunk-AN5IWMTM.js} +2 -2
- package/dist/chunk-AN5IWMTM.js.map +1 -0
- package/dist/{chunk-3BYFWTP3.js → chunk-AOAW55JN.js} +2 -2
- package/dist/chunk-AOAW55JN.js.map +1 -0
- package/dist/{chunk-5UGLKFBF.js → chunk-ARZ4RSQO.js} +5 -6
- package/dist/chunk-ARZ4RSQO.js.map +1 -0
- package/dist/{chunk-TCXDZNCX.js → chunk-BJLXE56E.js} +6 -6
- package/dist/chunk-BJLXE56E.js.map +1 -0
- package/dist/{chunk-RGS4WX2M.js → chunk-BYHGRKC3.js} +2 -2
- package/dist/chunk-BYHGRKC3.js.map +1 -0
- package/dist/{chunk-ZLKZFKLW.js → chunk-CEJ5FK6G.js} +2 -2
- package/dist/chunk-CEJ5FK6G.js.map +1 -0
- package/dist/{chunk-SMZGAPCU.js → chunk-DQDTZE4W.js} +2 -2
- package/dist/chunk-DQDTZE4W.js.map +1 -0
- package/dist/{chunk-JGIV6ZDA.js → chunk-EFDCALR3.js} +2 -2
- package/dist/chunk-EFDCALR3.js.map +1 -0
- package/dist/{chunk-FKPKGP2H.js → chunk-G4VKQP7B.js} +2 -2
- package/dist/chunk-G4VKQP7B.js.map +1 -0
- package/dist/{chunk-TOICTHR2.js → chunk-GO2CZX4M.js} +2 -2
- package/dist/chunk-GO2CZX4M.js.map +1 -0
- package/dist/{chunk-DPAUKNB6.js → chunk-GS2QD3N7.js} +3 -3
- package/dist/chunk-GS2QD3N7.js.map +1 -0
- package/dist/{chunk-SLWCCHNP.js → chunk-H45DAZBL.js} +2 -2
- package/dist/chunk-H45DAZBL.js.map +1 -0
- package/dist/{chunk-DA3HS64I.js → chunk-H7ZJEI3H.js} +3 -3
- package/dist/chunk-H7ZJEI3H.js.map +1 -0
- package/dist/{chunk-V4GAQ74C.js → chunk-HFLGWMG3.js} +4 -4
- package/dist/chunk-HFLGWMG3.js.map +1 -0
- package/dist/{chunk-HXTAPIHQ.js → chunk-HFQDSSED.js} +6 -6
- package/dist/chunk-HFQDSSED.js.map +1 -0
- package/dist/{chunk-GRHJQWV2.js → chunk-HGSTMZZ6.js} +6 -6
- package/dist/chunk-HGSTMZZ6.js.map +1 -0
- package/dist/{chunk-WF75U3V4.js → chunk-HPREYDKV.js} +2 -2
- package/dist/chunk-HPREYDKV.js.map +1 -0
- package/dist/{chunk-VA5TN5PR.js → chunk-I4SDIMFA.js} +2 -2
- package/dist/chunk-I4SDIMFA.js.map +1 -0
- package/dist/{chunk-4SQK27MR.js → chunk-IM3GKYOG.js} +2 -2
- package/dist/chunk-IM3GKYOG.js.map +1 -0
- package/dist/{chunk-PL26TKNK.js → chunk-IVLTEBBT.js} +8 -8
- package/dist/chunk-IVLTEBBT.js.map +1 -0
- package/dist/{chunk-ALGYHYXP.js → chunk-J3AWE5I4.js} +2 -2
- package/dist/chunk-J3AWE5I4.js.map +1 -0
- package/dist/{chunk-OXO2QJWV.js → chunk-JOR5LGYE.js} +2 -2
- package/dist/chunk-JOR5LGYE.js.map +1 -0
- package/dist/{chunk-SRSJO5QE.js → chunk-LAZLBC2Q.js} +2 -2
- package/dist/chunk-LAZLBC2Q.js.map +1 -0
- package/dist/{chunk-RFGW735Q.js → chunk-LRAIS3YB.js} +2 -2
- package/dist/chunk-LRAIS3YB.js.map +1 -0
- package/dist/{chunk-AYUHMAI6.js → chunk-MXNIVEVL.js} +2 -2
- package/dist/chunk-MXNIVEVL.js.map +1 -0
- package/dist/{chunk-4NG4Y2Q6.js → chunk-NJZMR7HM.js} +2 -2
- package/dist/chunk-NJZMR7HM.js.map +1 -0
- package/dist/{chunk-DG6G5EPF.js → chunk-NMWDHZVM.js} +2 -2
- package/dist/chunk-NMWDHZVM.js.map +1 -0
- package/dist/{chunk-X5QSICJ3.js → chunk-NS2TBYM4.js} +2 -2
- package/dist/chunk-NS2TBYM4.js.map +1 -0
- package/dist/{chunk-4FEVHE7C.js → chunk-NVRJ7C3W.js} +4 -4
- package/dist/chunk-NVRJ7C3W.js.map +1 -0
- package/dist/{chunk-BFPBS5Y4.js → chunk-O27D24CA.js} +2 -2
- package/dist/chunk-O27D24CA.js.map +1 -0
- package/dist/{chunk-DUBUXJA3.js → chunk-PQQQXJGV.js} +4 -2
- package/dist/chunk-PQQQXJGV.js.map +1 -0
- package/dist/{chunk-6DFDTWGG.js → chunk-QYXKMLHO.js} +2 -2
- package/dist/chunk-QYXKMLHO.js.map +1 -0
- package/dist/{chunk-I3Q7KKYM.js → chunk-S3ECMF23.js} +2 -2
- package/dist/chunk-S3ECMF23.js.map +1 -0
- package/dist/{chunk-PSHUSWQH.js → chunk-S4ZGTDSG.js} +2 -2
- package/dist/chunk-S4ZGTDSG.js.map +1 -0
- package/dist/{chunk-OYQIONQF.js → chunk-SJY7KC45.js} +5 -5
- package/dist/chunk-SJY7KC45.js.map +1 -0
- package/dist/{chunk-NPNSKX3K.js → chunk-VLPE6OPN.js} +2 -2
- package/dist/chunk-VLPE6OPN.js.map +1 -0
- package/dist/{chunk-NCSWXG7G.js → chunk-VLQUXZKA.js} +9 -3
- package/dist/chunk-VLQUXZKA.js.map +1 -0
- package/dist/{chunk-EHIMH4J7.js → chunk-VR7MWD2X.js} +10 -4
- package/dist/chunk-VR7MWD2X.js.map +1 -0
- package/dist/{chunk-NN6GYOA2.js → chunk-XIZRXI7N.js} +2 -2
- package/dist/chunk-XIZRXI7N.js.map +1 -0
- package/dist/{chunk-TDN5EE3S.js → chunk-Y6KT7ZTR.js} +2 -2
- package/dist/chunk-Y6KT7ZTR.js.map +1 -0
- package/dist/{chunk-LHSUPNSE.js → chunk-YLJ6X3AC.js} +2 -2
- package/dist/chunk-YLJ6X3AC.js.map +1 -0
- package/dist/{chunk-YDGNU2OD.js → chunk-ZVYA6TLR.js} +5 -2
- package/dist/chunk-ZVYA6TLR.js.map +1 -0
- package/dist/collapsible-panel.d.ts +6 -6
- package/dist/collapsible-panel.js +3 -3
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/content-item.d.ts +13 -2
- package/dist/content-item.js +1 -1
- package/dist/css-values.js +1 -1
- package/dist/device-class.js +1 -1
- package/dist/device-class.js.map +1 -1
- package/dist/disclosure-arrow.js +1 -1
- package/dist/empty-state.js +1 -1
- package/dist/floating-toolbar.d.ts +1 -1
- package/dist/floating-toolbar.js +1 -1
- package/dist/grid.d.ts +10 -3
- package/dist/grid.js +1 -1
- package/dist/help-tags-register.js +1 -1
- package/dist/help-tags-register.js.map +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +40 -40
- package/dist/list-action-row.js +1 -1
- package/dist/list-header.js +1 -1
- package/dist/list-inset-control.js +1 -1
- package/dist/list-inset-text.js +1 -1
- package/dist/list-item.js +1 -1
- package/dist/list.d.ts +2 -2
- package/dist/list.js +1 -1
- package/dist/loading-spinner.d.ts +4 -2
- package/dist/loading-spinner.js +1 -1
- package/dist/lucide-icon.d.ts +3 -1
- package/dist/lucide-icon.js +1 -1
- package/dist/nav-stack.d.ts +1 -1
- package/dist/nav-stack.js +1 -1
- package/dist/pane.js +1 -1
- package/dist/popup-menu-register.js +7 -7
- package/dist/popup-menu-register.js.map +1 -1
- package/dist/popup-menu.js +1 -1
- package/dist/resizable-region.d.ts +1 -1
- package/dist/resizable-region.js +1 -1
- package/dist/row.d.ts +2 -2
- package/dist/row.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/select-register.js +6 -6
- package/dist/select-register.js.map +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.js +1 -1
- package/dist/semantic-tone-CdW013KF.d.ts +4 -0
- package/dist/skeleton.js +1 -1
- package/dist/spacer.js +1 -1
- package/dist/split-view.d.ts +2 -2
- package/dist/split-view.js +2 -2
- package/dist/split-view.js.map +1 -1
- package/dist/state-banner.d.ts +5 -3
- package/dist/state-banner.js +1 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/chip.css +1 -1
- package/dist/styles/components/actions/floating-toolbar/floating-toolbar.css +119 -0
- package/dist/styles/components/actions/popup-menu/popup-menu.css +285 -0
- package/dist/styles/components/actions/toolbar/toolbar.css +392 -0
- package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +790 -0
- package/dist/styles/components/actions/toolbar-text/toolbar-text.css +153 -0
- package/dist/styles/components/collections/list/list.css +133 -0
- package/dist/styles/components/collections/list-action-row/list-action-row.css +258 -0
- package/dist/styles/components/collections/list-header/list-header.css +229 -0
- package/dist/styles/components/collections/list-inset-control/list-inset-control.css +30 -0
- package/dist/styles/components/collections/list-inset-text/list-inset-text.css +29 -0
- package/dist/styles/components/collections/list-item/list-item.css +255 -0
- package/dist/styles/components/data-display/value-table/value-table.css +105 -0
- package/dist/styles/components/feedback/badge/badge.css +118 -0
- package/dist/styles/components/feedback/chip/chip.css +138 -0
- package/dist/styles/components/feedback/empty-state/empty-state.css +47 -0
- package/dist/styles/components/feedback/loading-spinner/loading-spinner.css +25 -0
- package/dist/styles/components/feedback/skeleton/skeleton.css +92 -0
- package/dist/styles/components/feedback/state-banner/state-banner.css +248 -0
- package/dist/styles/components/forms/segmented-control/segmented-control.css +196 -0
- package/dist/styles/components/forms/select/select.css +454 -0
- package/dist/styles/components/forms/token-search-field/token-search-field.css +381 -0
- package/dist/styles/components/layout/collapsible-panel/collapsible-panel.css +575 -0
- package/dist/styles/components/layout/grid/grid.css +85 -0
- package/dist/styles/components/layout/pane/pane.css +263 -0
- package/dist/styles/components/layout/resizable-region/resizable-region.css +545 -0
- package/dist/styles/components/layout/row/row.css +111 -0
- package/dist/styles/components/layout/spacer/spacer.css +11 -0
- package/dist/styles/components/layout/split-view/split-view.css +146 -0
- package/dist/styles/components/layout/workbench/workbench.css +1067 -0
- package/dist/styles/components/media/lucide-icon/lucide-icon.css +15 -0
- package/dist/styles/components/navigation/app-tab/app-tab.css +376 -0
- package/dist/styles/components/navigation/disclosure-arrow/disclosure-arrow.css +23 -0
- package/dist/styles/components/navigation/nav-stack/nav-stack.css +237 -0
- package/dist/styles/components/navigation/tab-bar/tab-bar.css +183 -0
- package/dist/styles/components/navigation/tab-scaffold/tab-scaffold.css +207 -0
- package/dist/styles/components/surfaces/content-item/content-item.css +120 -0
- package/dist/styles/components/surfaces/sunken-panel/sunken-panel.css +29 -0
- package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +56 -0
- package/dist/styles/components/typography/text/text.css +139 -0
- package/dist/styles/content-item.css +46 -1
- package/dist/styles/document.css +10 -0
- package/dist/styles/foundation.css +9 -6
- package/dist/styles/grid.css +50 -0
- package/dist/styles/lucide-icon.css +4 -0
- package/dist/styles/webawesome.css +23 -6
- package/dist/sunken-panel.d.ts +1 -1
- package/dist/sunken-panel.js +1 -1
- package/dist/surface-scaffold.js +1 -1
- package/dist/tab-bar.js +1 -1
- package/dist/tab-scaffold.d.ts +1 -1
- package/dist/tab-scaffold.js +1 -1
- package/dist/tab-scaffold.js.map +1 -1
- package/dist/text.d.ts +12 -8
- package/dist/text.js +1 -1
- package/dist/token-search-field.d.ts +1 -1
- package/dist/token-search-field.js +1 -1
- package/dist/{token-search-field-CVGwDn2y.d.ts → token-search-model-DTcTXWMS.d.ts} +54 -54
- package/dist/token-search-model.d.ts +1 -1
- package/dist/token-search-model.js +1 -1
- package/dist/toolbar-control-group.js +1 -1
- package/dist/toolbar-text.js +1 -1
- package/dist/toolbar.d.ts +1 -1
- package/dist/toolbar.js +1 -1
- package/dist/value-table.js +1 -1
- package/dist/wire-catalog.js +2 -2
- package/dist/wire-catalog.js.map +1 -1
- package/dist/wire-content-items.js +1 -1
- package/dist/wire-content-items.js.map +1 -1
- package/dist/wire-nav-stack.js +1 -1
- package/dist/wire-nav-stack.js.map +1 -1
- package/dist/wire-resizable-regions.js +1 -1
- package/dist/wire-scroll-dividers.js +1 -1
- package/dist/wire-sidebar.js +1 -1
- package/dist/wire-sidebar.js.map +1 -1
- package/dist/wire-tab-bars.js +1 -1
- package/dist/wire-tab-scaffold.js +1 -1
- package/dist/wire-tab-scaffold.js.map +1 -1
- package/dist/wire-token-search-fields.d.ts +1 -1
- package/dist/wire-token-search-fields.js +1 -1
- package/dist/wire-workbench.js +1 -1
- package/dist/workbench.d.ts +3 -3
- package/dist/workbench.js +1 -1
- package/docs/collapsible-panel.md +1 -1
- package/docs/component-contract.md +25 -7
- package/docs/component-selection.md +18 -4
- package/docs/design/templates/empty-state/filtered-dark.svg +1 -1
- package/docs/design/templates/empty-state/filtered.svg +1 -1
- package/docs/design/templates/empty-state/with-action-dark.svg +1 -1
- package/docs/design/templates/empty-state/with-action.svg +1 -1
- package/docs/design/templates/empty-state-dark.svg +1 -1
- package/docs/design/templates/empty-state.svg +1 -1
- package/docs/design/templates/list/stack-dark.svg +1 -1
- package/docs/design/templates/list/stack.svg +1 -1
- package/docs/design/templates/list-dark.svg +1 -1
- package/docs/design/templates/list-header/action-dark.svg +1 -1
- package/docs/design/templates/list-header/action.svg +1 -1
- package/docs/design/templates/list-header/count-dark.svg +1 -1
- package/docs/design/templates/list-header/count.svg +1 -1
- package/docs/design/templates/list-header/inline-action-dark.svg +1 -1
- package/docs/design/templates/list-header/inline-action.svg +1 -1
- package/docs/design/templates/list-header/size-l-dark.svg +1 -1
- package/docs/design/templates/list-header/size-l.svg +1 -1
- package/docs/design/templates/list-header/size-m-dark.svg +1 -1
- package/docs/design/templates/list-header/size-m.svg +1 -1
- package/docs/design/templates/list-header/size-xl-dark.svg +1 -1
- package/docs/design/templates/list-header/size-xl.svg +1 -1
- package/docs/design/templates/list-header/size-xs-dark.svg +1 -1
- package/docs/design/templates/list-header/size-xs.svg +1 -1
- package/docs/design/templates/list-header/toggle-collapsed-dark.svg +1 -1
- package/docs/design/templates/list-header/toggle-collapsed.svg +1 -1
- package/docs/design/templates/list-header/toggle-expanded-dark.svg +1 -1
- package/docs/design/templates/list-header/toggle-expanded.svg +1 -1
- package/docs/design/templates/list-header-dark.svg +1 -1
- package/docs/design/templates/list-header.svg +1 -1
- package/docs/design/templates/list.svg +1 -1
- package/docs/design/templates/segmented-control/equal-dark.svg +1 -1
- package/docs/design/templates/segmented-control/equal.svg +1 -1
- package/docs/design/templates/segmented-control/pill-small-dark.svg +1 -1
- package/docs/design/templates/segmented-control/pill-small.svg +1 -1
- package/docs/design/templates/segmented-control-dark.svg +1 -1
- package/docs/design/templates/segmented-control.svg +1 -1
- package/docs/design/templates/tab-bar/workspace-tabs-dark.svg +1 -1
- package/docs/design/templates/tab-bar/workspace-tabs.svg +1 -1
- package/docs/design/templates/tab-bar-dark.svg +1 -1
- package/docs/design/templates/tab-bar.svg +1 -1
- package/docs/design/templates/token-search-field/empty-dark.svg +1 -1
- package/docs/design/templates/token-search-field/empty.svg +1 -1
- package/docs/design/templates/token-search-field/tokens-dark.svg +1 -1
- package/docs/design/templates/token-search-field/tokens.svg +1 -1
- package/docs/design/templates/token-search-field-dark.svg +1 -1
- package/docs/design/templates/token-search-field.svg +1 -1
- package/docs/design/templates/toolbar/title-and-actions-dark.svg +1 -1
- package/docs/design/templates/toolbar/title-and-actions.svg +1 -1
- package/docs/design/templates/toolbar-control-group/borderless-single-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/borderless-single.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-buttons-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/icon-buttons.svg +1 -1
- package/docs/design/templates/toolbar-control-group/push-buttons-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/push-buttons.svg +1 -1
- package/docs/design/templates/toolbar-control-group/with-text-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group/with-text.svg +1 -1
- package/docs/design/templates/toolbar-control-group-dark.svg +1 -1
- package/docs/design/templates/toolbar-control-group.svg +1 -1
- package/docs/design/templates/toolbar-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/default-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/default.svg +1 -1
- package/docs/design/templates/toolbar-text/large-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/large.svg +1 -1
- package/docs/design/templates/toolbar-text/small-dark.svg +1 -1
- package/docs/design/templates/toolbar-text/small.svg +1 -1
- package/docs/design/templates/toolbar-text-dark.svg +1 -1
- package/docs/design/templates/toolbar-text.svg +1 -1
- package/docs/design/templates/toolbar.svg +1 -1
- package/docs/design/templates/value-table/details-dark.svg +1 -1
- package/docs/design/templates/value-table/details.svg +1 -1
- package/docs/design/templates/value-table-dark.svg +1 -1
- package/docs/design/templates/value-table.svg +1 -1
- package/docs/document-baseline.md +4 -0
- package/docs/layout.md +11 -5
- package/docs/sunken-panel.md +7 -7
- package/docs/ui-analyzer.md +12 -1
- package/docs/ui-doctor.md +12 -2
- package/docs/webawesome-theme.md +29 -59
- package/doctor/index.mjs +39 -30
- package/llms.txt +18 -1
- package/package.json +3 -2
- package/dist/chunk-3BYFWTP3.js.map +0 -1
- package/dist/chunk-4FEVHE7C.js.map +0 -1
- package/dist/chunk-4NG4Y2Q6.js.map +0 -1
- package/dist/chunk-4SQK27MR.js.map +0 -1
- package/dist/chunk-5I7QGQVT.js.map +0 -1
- package/dist/chunk-5TTZPGUY.js.map +0 -1
- package/dist/chunk-5UGLKFBF.js.map +0 -1
- package/dist/chunk-6DFDTWGG.js.map +0 -1
- package/dist/chunk-ALGYHYXP.js.map +0 -1
- package/dist/chunk-AYUHMAI6.js.map +0 -1
- package/dist/chunk-BFPBS5Y4.js.map +0 -1
- package/dist/chunk-DA3HS64I.js.map +0 -1
- package/dist/chunk-DG6G5EPF.js.map +0 -1
- package/dist/chunk-DPAUKNB6.js.map +0 -1
- package/dist/chunk-DUBUXJA3.js.map +0 -1
- package/dist/chunk-EHIMH4J7.js.map +0 -1
- package/dist/chunk-FKPKGP2H.js.map +0 -1
- package/dist/chunk-GRHJQWV2.js.map +0 -1
- package/dist/chunk-HKVJ5MW3.js.map +0 -1
- package/dist/chunk-HXTAPIHQ.js.map +0 -1
- package/dist/chunk-I3Q7KKYM.js.map +0 -1
- package/dist/chunk-JA4J7Y4C.js.map +0 -1
- package/dist/chunk-JGIV6ZDA.js.map +0 -1
- package/dist/chunk-K47P7QZC.js.map +0 -1
- package/dist/chunk-LHSUPNSE.js.map +0 -1
- package/dist/chunk-NCSWXG7G.js.map +0 -1
- package/dist/chunk-NN6GYOA2.js.map +0 -1
- package/dist/chunk-NPNSKX3K.js.map +0 -1
- package/dist/chunk-O5GM2JAM.js.map +0 -1
- package/dist/chunk-OXO2QJWV.js.map +0 -1
- package/dist/chunk-OYQIONQF.js.map +0 -1
- package/dist/chunk-PL26TKNK.js.map +0 -1
- package/dist/chunk-PSHUSWQH.js.map +0 -1
- package/dist/chunk-RFGW735Q.js.map +0 -1
- package/dist/chunk-RGS4WX2M.js.map +0 -1
- package/dist/chunk-SLWCCHNP.js.map +0 -1
- package/dist/chunk-SMZGAPCU.js.map +0 -1
- package/dist/chunk-SRSJO5QE.js.map +0 -1
- package/dist/chunk-SVLDRGPJ.js.map +0 -1
- package/dist/chunk-SX7FJXPJ.js.map +0 -1
- package/dist/chunk-TCXDZNCX.js.map +0 -1
- package/dist/chunk-TDN5EE3S.js.map +0 -1
- package/dist/chunk-TOICTHR2.js.map +0 -1
- package/dist/chunk-V4GAQ74C.js.map +0 -1
- package/dist/chunk-V4WLBOVJ.js.map +0 -1
- package/dist/chunk-VA5TN5PR.js.map +0 -1
- package/dist/chunk-WF75U3V4.js.map +0 -1
- package/dist/chunk-X5QSICJ3.js.map +0 -1
- package/dist/chunk-YDGNU2OD.js.map +0 -1
- package/dist/chunk-ZLKZFKLW.js.map +0 -1
- package/dist/{panel-toolbar-DDKh4uKd.d.ts → panel-toolbar-CL9tYOkh.d.ts} +1 -1
- package/dist/{types-BuHELdXR.d.ts → types-C9BubXfz.d.ts} +1 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
.kui-list-header {
|
|
2
|
+
--kui-list-header-color: var(--kui-color-neutral-on-quiet);
|
|
3
|
+
--kui-list-header-hover-background: var(--kui-color-neutral-border-quiet);
|
|
4
|
+
--_kui-list-header-action-icon-size: var(
|
|
5
|
+
--kui-list-header-action-icon-size,
|
|
6
|
+
1.125rem
|
|
7
|
+
);
|
|
8
|
+
display: flex;
|
|
9
|
+
width: calc(100% - (2 * var(--kui-layout-inline-margin, 0.5rem)));
|
|
10
|
+
min-width: 0;
|
|
11
|
+
min-height: var(--kui-list-header-min-height, 2.75rem);
|
|
12
|
+
margin-inline: var(--kui-layout-inline-margin, 0.5rem);
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
color: var(--kui-list-header-color);
|
|
15
|
+
background: transparent;
|
|
16
|
+
align-items: stretch;
|
|
17
|
+
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.kui-list-header[data-density="compact"] {
|
|
21
|
+
min-height: var(--kui-list-header-min-height, 2.25rem);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kui-list-header[data-density="compact"] .kui-list-header__title {
|
|
25
|
+
min-height: var(
|
|
26
|
+
--kui-list-header-title-min-height,
|
|
27
|
+
var(--kui-list-header-min-height, 2.25rem)
|
|
28
|
+
);
|
|
29
|
+
padding-block: var(--kui-list-header-title-padding-block, 0.25rem);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.kui-list-header[data-divider="before"],
|
|
33
|
+
.kui-list-header[data-divider="both"] {
|
|
34
|
+
border-block-start: 1px solid
|
|
35
|
+
var(--kui-list-group-divider-color, var(--kui-color-neutral-border-quiet));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.kui-list-header[data-divider="after"],
|
|
39
|
+
.kui-list-header[data-divider="both"] {
|
|
40
|
+
border-block-end: 1px solid
|
|
41
|
+
var(--kui-list-group-divider-color, var(--kui-color-neutral-border-quiet));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.kui-list-header[data-inline="true"] {
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
width: auto;
|
|
47
|
+
margin: 0;
|
|
48
|
+
border: 0;
|
|
49
|
+
padding: 0;
|
|
50
|
+
vertical-align: middle;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.kui-list-header[data-width="content"]:not([data-inline="true"]) {
|
|
54
|
+
width: auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.kui-list-header[data-inline="true"] > .kui-list-header__title,
|
|
58
|
+
.kui-list-header[data-inline="true"] > .kui-list-header__action {
|
|
59
|
+
vertical-align: middle;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.kui-list-header[data-inline="true"] > .kui-list-header__title {
|
|
63
|
+
display: inline-flex;
|
|
64
|
+
width: auto;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.kui-list-header[data-inline="true"] > .kui-list-header__action {
|
|
68
|
+
margin-inline-start: var(--kui-layout-item-gap, 0.5rem);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.kui-list-header[data-inline="true"] > .kui-list-header__toggle {
|
|
72
|
+
width: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.kui-list-header__title,
|
|
76
|
+
.kui-list-header__action {
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
border: var(--kui-list-header-border-width, 1px) solid transparent;
|
|
79
|
+
border-radius: var(--kui-layout-rounded-radius, calc(1px + 0.6875rem));
|
|
80
|
+
color: inherit;
|
|
81
|
+
background: transparent;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.kui-list-header__title {
|
|
85
|
+
display: flex;
|
|
86
|
+
min-width: 0;
|
|
87
|
+
min-height: var(
|
|
88
|
+
--kui-list-header-title-min-height,
|
|
89
|
+
var(--kui-list-header-min-height, 2.75rem)
|
|
90
|
+
);
|
|
91
|
+
padding-block: var(--kui-list-header-title-padding-block, 0px);
|
|
92
|
+
padding-inline: var(--kui-list-header-title-padding-inline, 0px);
|
|
93
|
+
align-items: center;
|
|
94
|
+
flex: 1 1 auto;
|
|
95
|
+
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
96
|
+
font: inherit;
|
|
97
|
+
text-align: start;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.kui-list-header__action,
|
|
101
|
+
.kui-list-header__action-layer {
|
|
102
|
+
display: grid;
|
|
103
|
+
place-items: center;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.kui-list-header__action {
|
|
107
|
+
/* A fitted square: the icon size plus its padding and 1px border, instead of a
|
|
108
|
+
forced 44px box that left an oversized halo around the ~18px icon and, via the
|
|
109
|
+
parent's align-items: stretch, a vertically stretched oval. `align-self:
|
|
110
|
+
center` keeps it centered in the header's 44px row without stretching. Sizing
|
|
111
|
+
off the icon variable keeps it square and correct at any icon size. */
|
|
112
|
+
--_kui-list-header-action-size: calc(
|
|
113
|
+
var(--_kui-list-header-action-icon-size) +
|
|
114
|
+
(2 * var(--kui-layout-item-padding, 0.5rem)) + 2px
|
|
115
|
+
);
|
|
116
|
+
appearance: none;
|
|
117
|
+
display: inline-flex;
|
|
118
|
+
width: var(--_kui-list-header-action-size);
|
|
119
|
+
height: var(--_kui-list-header-action-size);
|
|
120
|
+
padding: var(--kui-layout-item-padding, 0.5rem);
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
position: relative;
|
|
124
|
+
align-self: center;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
flex: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* The fitted square is the visual and hover surface; the pointer target is at
|
|
130
|
+
least 44px in both dimensions. A transparent, out-of-flow layer extends the
|
|
131
|
+
button's hit area evenly around the square without moving layout or painting
|
|
132
|
+
anything, and hovering it lights the unchanged fitted square. Standard headers
|
|
133
|
+
are 44px tall and reserve the 4px inline slot at the logical end, so the
|
|
134
|
+
extension stays inside the header; the leading 4px falls in the 8px gap before
|
|
135
|
+
the dormant title. Offsets are from the padding box, hence the extra 1px for the
|
|
136
|
+
border. */
|
|
137
|
+
.kui-list-header__action::before {
|
|
138
|
+
--_kui-list-header-action-hit-outset: min(
|
|
139
|
+
0px,
|
|
140
|
+
calc((var(--_kui-list-header-action-size) - 2.75rem) / 2)
|
|
141
|
+
);
|
|
142
|
+
content: "";
|
|
143
|
+
position: absolute;
|
|
144
|
+
inset: calc(var(--_kui-list-header-action-hit-outset) - 1px);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* Compact headers are 36px tall like the rest of the compact List family, so the
|
|
148
|
+
hit area widens to 44px but never reaches past the header into a neighboring
|
|
149
|
+
row or header. */
|
|
150
|
+
.kui-list-header[data-density="compact"] .kui-list-header__action::before {
|
|
151
|
+
inset-block: -1px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/* Trailing icon actions share one axis: a toolbar control centers its glyph in a
|
|
155
|
+
44px group slot flush with the 8px inline margin, so the fitted action centers
|
|
156
|
+
itself in a slot of that same size instead of sitting flush at the margin
|
|
157
|
+
(which put its glyph ~4px outside a Pane header's trailing toolbar glyph). The
|
|
158
|
+
slot, not the button, grows by the difference, so the fitted hover square and
|
|
159
|
+
its 18px visual are unchanged. Inline headers carry no outer geometry. */
|
|
160
|
+
.kui-list-header:not([data-inline="true"]) > .kui-list-header__action {
|
|
161
|
+
margin-inline-end: max(
|
|
162
|
+
0px,
|
|
163
|
+
calc(
|
|
164
|
+
(
|
|
165
|
+
var(--kui-toolbar-group-size, calc(2px + 2.625rem)) -
|
|
166
|
+
var(--_kui-list-header-action-size)
|
|
167
|
+
) /
|
|
168
|
+
2
|
|
169
|
+
)
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.kui-list-header__toggle {
|
|
174
|
+
padding: var(--kui-layout-item-padding, 0.5rem);
|
|
175
|
+
appearance: none;
|
|
176
|
+
width: 100%;
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.kui-list-header__action-layer {
|
|
181
|
+
width: 1.5rem;
|
|
182
|
+
height: 1.5rem;
|
|
183
|
+
margin-inline-start: auto;
|
|
184
|
+
flex: none;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* A placeholder is disabled to stay inert, but it is loading, not unavailable:
|
|
188
|
+
it keeps the live tone and gives no hover feedback (see the placeholder rule
|
|
189
|
+
in skeleton.css). A disabled control gives none either. */
|
|
190
|
+
.kui-list-header:not([data-placeholder="true"])
|
|
191
|
+
.kui-list-header__action:hover:not(:disabled),
|
|
192
|
+
.kui-list-header:not([data-placeholder="true"])
|
|
193
|
+
.kui-list-header__toggle:hover:not(:disabled) {
|
|
194
|
+
border-color: var(--kui-color-neutral-border-normal);
|
|
195
|
+
background: var(--kui-list-header-hover-background);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.kui-list-header__action:focus-visible,
|
|
199
|
+
.kui-list-header__toggle:focus-visible {
|
|
200
|
+
outline: var(--kui-focus-ring);
|
|
201
|
+
outline-offset: 1px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* The disabled tone follows the author's `actionDisabled` (the
|
|
205
|
+
data-kui-disabled marker), so a disabled action or toggle's placeholder is
|
|
206
|
+
dimmed like the loaded one; only the `not-allowed` cursor is reserved for
|
|
207
|
+
the live header. The tone is the component's own, never Web Awesome's
|
|
208
|
+
native `button:disabled`, so it holds without webawesome.css. */
|
|
209
|
+
.kui-list-header__action[data-kui-disabled="true"],
|
|
210
|
+
.kui-list-header__toggle[data-kui-disabled="true"] {
|
|
211
|
+
opacity: 0.48;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.kui-list-header:not([data-placeholder="true"])
|
|
215
|
+
.kui-list-header__action:disabled,
|
|
216
|
+
.kui-list-header:not([data-placeholder="true"])
|
|
217
|
+
.kui-list-header__toggle:disabled {
|
|
218
|
+
cursor: not-allowed;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.kui-list-header__action > svg,
|
|
222
|
+
.kui-list-header__action-layer > svg {
|
|
223
|
+
/* min-block-size: 0 overrides the flex item's automatic minimum, which would
|
|
224
|
+
otherwise resolve to the icon SVG's intrinsic 24px viewBox height and stretch
|
|
225
|
+
the button past its used icon size. */
|
|
226
|
+
width: var(--_kui-list-header-action-icon-size);
|
|
227
|
+
height: var(--_kui-list-header-action-icon-size);
|
|
228
|
+
min-block-size: 0;
|
|
229
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.kui-list-inset-control {
|
|
2
|
+
display: flex;
|
|
3
|
+
margin: 0;
|
|
4
|
+
align-items: stretch;
|
|
5
|
+
gap: 0.5rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/* `justify-content: stretch` is a no-op on a flex row, so the documented
|
|
9
|
+
stretch comes from the children: each grows from its natural width to share
|
|
10
|
+
the row, and may shrink below its intrinsic minimum instead of overflowing. */
|
|
11
|
+
.kui-list-inset-control > * {
|
|
12
|
+
min-width: 0;
|
|
13
|
+
flex: 1 1 auto;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.kui-list-inset-control[data-sides*="t"] {
|
|
17
|
+
margin-top: var(--kui-layout-inline-margin, 0.5rem);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.kui-list-inset-control[data-sides*="r"] {
|
|
21
|
+
margin-right: var(--kui-layout-inline-margin, 0.5rem);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.kui-list-inset-control[data-sides*="b"] {
|
|
25
|
+
margin-bottom: var(--kui-layout-inline-margin, 0.5rem);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.kui-list-inset-control[data-sides*="l"] {
|
|
29
|
+
margin-left: var(--kui-layout-inline-margin, 0.5rem);
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.kui-list-inset-text {
|
|
2
|
+
margin: 0;
|
|
3
|
+
border: 0 solid transparent;
|
|
4
|
+
padding: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.kui-list-inset-text[data-sides*="t"] {
|
|
8
|
+
margin-top: var(--kui-layout-inline-margin, 0.5rem);
|
|
9
|
+
border-top-width: 1px;
|
|
10
|
+
padding-top: var(--kui-layout-item-padding, 0.5rem);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.kui-list-inset-text[data-sides*="r"] {
|
|
14
|
+
margin-right: var(--kui-layout-inline-margin, 0.5rem);
|
|
15
|
+
border-right-width: 1px;
|
|
16
|
+
padding-right: var(--kui-layout-item-padding, 0.5rem);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.kui-list-inset-text[data-sides*="b"] {
|
|
20
|
+
margin-bottom: var(--kui-layout-inline-margin, 0.5rem);
|
|
21
|
+
border-bottom-width: 1px;
|
|
22
|
+
padding-bottom: var(--kui-layout-item-padding, 0.5rem);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.kui-list-inset-text[data-sides*="l"] {
|
|
26
|
+
margin-left: var(--kui-layout-inline-margin, 0.5rem);
|
|
27
|
+
border-left-width: 1px;
|
|
28
|
+
padding-left: var(--kui-layout-item-padding, 0.5rem);
|
|
29
|
+
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
.kui-list-item {
|
|
2
|
+
display: grid;
|
|
3
|
+
width: calc(100% - (2 * var(--kui-layout-inline-margin, 0.5rem)));
|
|
4
|
+
min-height: var(--kui-list-item-min-height, 2.75rem);
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
margin-inline: var(--kui-layout-inline-margin, 0.5rem);
|
|
7
|
+
padding-block: var(
|
|
8
|
+
--kui-list-item-padding-block,
|
|
9
|
+
var(--kui-layout-item-padding, 0.5rem)
|
|
10
|
+
);
|
|
11
|
+
padding-inline: var(
|
|
12
|
+
--kui-list-item-padding-inline,
|
|
13
|
+
var(--kui-layout-item-padding, 0.5rem)
|
|
14
|
+
);
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
border: var(--kui-list-item-border-width, 1px) solid
|
|
17
|
+
var(--kui-list-item-border, transparent);
|
|
18
|
+
border-radius: var(
|
|
19
|
+
--kui-list-item-radius,
|
|
20
|
+
var(--kui-layout-rounded-radius, calc(1px + 0.6875rem))
|
|
21
|
+
);
|
|
22
|
+
color: var(--kui-list-item-color, var(--kui-color-neutral-on-normal));
|
|
23
|
+
background: var(--kui-list-item-background, transparent);
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
grid-template-columns: var(--kui-list-item-columns, minmax(0, 1fr) auto);
|
|
26
|
+
align-items: var(--kui-list-item-align-items, center);
|
|
27
|
+
column-gap: var(--kui-list-item-gap, var(--kui-layout-item-gap, 0.5rem));
|
|
28
|
+
font: inherit;
|
|
29
|
+
text-align: start;
|
|
30
|
+
text-decoration: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.kui-list-item[data-density="compact"] {
|
|
34
|
+
min-height: var(--kui-list-item-min-height, 2.25rem);
|
|
35
|
+
padding-block: var(--kui-list-item-padding-block, 0.25rem);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.kui-list-item[data-density="spacious"] {
|
|
39
|
+
min-height: var(--kui-list-item-min-height, 3.25rem);
|
|
40
|
+
padding-block: var(--kui-list-item-padding-block, 0.75rem);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.kui-list-item[data-has-description="true"] {
|
|
44
|
+
min-height: var(--kui-list-item-min-height, 3.25rem);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.kui-list-item[data-density="compact"][data-has-description="true"] {
|
|
48
|
+
min-height: var(--kui-list-item-min-height, 2.75rem);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.kui-list-item[data-divider="before"],
|
|
52
|
+
.kui-list-item[data-divider="both"] {
|
|
53
|
+
border-block-start-color: var(
|
|
54
|
+
--kui-list-group-divider-color,
|
|
55
|
+
var(--kui-color-neutral-border-quiet)
|
|
56
|
+
);
|
|
57
|
+
border-start-start-radius: 0;
|
|
58
|
+
border-start-end-radius: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.kui-list-item[data-divider="after"],
|
|
62
|
+
.kui-list-item[data-divider="both"] {
|
|
63
|
+
border-block-end-color: var(
|
|
64
|
+
--kui-list-group-divider-color,
|
|
65
|
+
var(--kui-color-neutral-border-quiet)
|
|
66
|
+
);
|
|
67
|
+
border-end-start-radius: 0;
|
|
68
|
+
border-end-end-radius: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.kui-list-item[data-has-icon="true"] {
|
|
72
|
+
grid-template-columns: var(
|
|
73
|
+
--kui-list-item-columns,
|
|
74
|
+
var(--kui-list-item-icon-size, 1.125rem) minmax(0, 1fr) auto
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.kui-list-item[data-has-icon="true"] .kui-list-item__icon {
|
|
79
|
+
grid-column: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.kui-list-item[data-has-icon="true"] .kui-list-item__label {
|
|
83
|
+
grid-column: 2;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.kui-list-item[data-has-icon="true"] .kui-list-item__trailing {
|
|
87
|
+
grid-column: 3;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.kui-list-item[data-has-icon="false"] .kui-list-item__label {
|
|
91
|
+
grid-column: 1;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.kui-list-item[data-has-icon="false"] .kui-list-item__trailing {
|
|
95
|
+
grid-column: 2;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.kui-list-item:hover:not([data-placeholder="true"]) {
|
|
99
|
+
border-color: var(
|
|
100
|
+
--kui-list-item-hover-border,
|
|
101
|
+
var(--kui-color-neutral-border-normal)
|
|
102
|
+
);
|
|
103
|
+
background: var(
|
|
104
|
+
--kui-list-item-hover-background,
|
|
105
|
+
var(--kui-color-neutral-fill-quiet)
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* A placeholder is disabled to stay inert, but it is loading, not unavailable:
|
|
110
|
+
it keeps the live row's tone (see the placeholder rule in skeleton.css). The
|
|
111
|
+
disabled tone follows the author's `disabled` prop (the data-kui-disabled
|
|
112
|
+
marker), so a disabled row's placeholder is dimmed like the loaded row; only
|
|
113
|
+
the `not-allowed` cursor is reserved for the live row. */
|
|
114
|
+
.kui-list-item[data-kui-disabled="true"] {
|
|
115
|
+
color: var(--kui-color-neutral-on-quiet);
|
|
116
|
+
opacity: 0.58;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.kui-list-item:is(:disabled, [aria-disabled="true"]):not(
|
|
120
|
+
[data-placeholder="true"]
|
|
121
|
+
) {
|
|
122
|
+
cursor: not-allowed;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.kui-list-item[aria-current="page"],
|
|
126
|
+
.kui-list-item[aria-pressed="true"] {
|
|
127
|
+
border-color: var(
|
|
128
|
+
--kui-list-item-selected-border,
|
|
129
|
+
var(--kui-color-brand-border-quiet)
|
|
130
|
+
);
|
|
131
|
+
color: var(
|
|
132
|
+
--kui-list-item-selected-color,
|
|
133
|
+
var(--kui-color-neutral-on-normal)
|
|
134
|
+
);
|
|
135
|
+
background: var(
|
|
136
|
+
--kui-list-item-selected-background,
|
|
137
|
+
var(--kui-color-brand-fill-normal)
|
|
138
|
+
);
|
|
139
|
+
font-weight: 650;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.kui-list-item:focus-visible {
|
|
143
|
+
outline: var(--kui-focus-ring);
|
|
144
|
+
outline-offset: 1px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.kui-list-item__icon {
|
|
148
|
+
display: grid;
|
|
149
|
+
width: var(--kui-list-item-icon-size, 1.125rem);
|
|
150
|
+
height: var(--kui-list-item-icon-size, 1.125rem);
|
|
151
|
+
color: var(--kui-list-item-icon-color, currentColor);
|
|
152
|
+
place-items: center;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.kui-list-item__icon svg {
|
|
156
|
+
display: block;
|
|
157
|
+
width: var(--kui-list-item-icon-size, 1.125rem);
|
|
158
|
+
height: var(--kui-list-item-icon-size, 1.125rem);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.kui-list-item__label {
|
|
162
|
+
display: grid;
|
|
163
|
+
min-width: 0;
|
|
164
|
+
max-width: var(--kui-list-item-label-max-width, none);
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
font-weight: var(--kui-list-item-label-weight, inherit);
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* The label is a grid container, and `text-overflow` never reaches a grid
|
|
171
|
+
item's text, so each line of the stack clips and ellipsizes itself: a long
|
|
172
|
+
label ends in "…" before the trailing slot instead of being cut mid-glyph. */
|
|
173
|
+
.kui-list-item__primary-label,
|
|
174
|
+
.kui-list-item__description {
|
|
175
|
+
min-width: 0;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
text-overflow: ellipsis;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.kui-list-item__description {
|
|
181
|
+
color: var(--kui-color-neutral-on-quiet);
|
|
182
|
+
font-size: var(--kui-font-xs);
|
|
183
|
+
font-weight: 400;
|
|
184
|
+
line-height: 1.3;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.kui-list-item[data-multiline="true"] {
|
|
188
|
+
height: fit-content;
|
|
189
|
+
white-space: normal;
|
|
190
|
+
/* Size the single grid row to its content and center that track in the
|
|
191
|
+
44px minimum, instead of stretching it. The start-aligned icon then
|
|
192
|
+
measures its first-line offset from the same edge the centered label
|
|
193
|
+
starts at; a stretched track left a short label centered 1.4px below
|
|
194
|
+
the icon's first-line position. */
|
|
195
|
+
align-content: center;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.kui-list-item[data-multiline="true"] .kui-list-item__label {
|
|
199
|
+
overflow: visible;
|
|
200
|
+
white-space: normal;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* A multiline row shows its whole label, so a single word wider than the
|
|
204
|
+
column (a long component or file name) breaks onto the next line rather
|
|
205
|
+
than running under the trailing slot. */
|
|
206
|
+
.kui-list-item[data-multiline="true"]
|
|
207
|
+
:is(.kui-list-item__primary-label, .kui-list-item__description) {
|
|
208
|
+
overflow: visible;
|
|
209
|
+
overflow-wrap: anywhere;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.kui-list-item[data-multiline="true"] .kui-list-item__icon {
|
|
213
|
+
align-self: start;
|
|
214
|
+
margin-block-start: calc(
|
|
215
|
+
(1lh - var(--kui-list-item-icon-size, 1.125rem)) / 2
|
|
216
|
+
);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.kui-list-item[data-multiline="true"][data-icon-align="center"]
|
|
220
|
+
.kui-list-item__icon {
|
|
221
|
+
align-self: center;
|
|
222
|
+
margin-block-start: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.kui-list-item__trailing {
|
|
226
|
+
display: inline-flex;
|
|
227
|
+
min-width: 0;
|
|
228
|
+
color: var(--kui-list-item-trailing-color, inherit);
|
|
229
|
+
align-items: center;
|
|
230
|
+
justify-content: flex-end;
|
|
231
|
+
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.kui-list-item[data-state="drag-target"] {
|
|
235
|
+
outline: var(
|
|
236
|
+
--kui-list-item-drag-target-outline,
|
|
237
|
+
2px solid var(--kui-color-brand-border-normal)
|
|
238
|
+
);
|
|
239
|
+
outline-offset: var(--kui-list-item-drag-target-outline-offset, -2px);
|
|
240
|
+
background: var(
|
|
241
|
+
--kui-list-item-drag-target-background,
|
|
242
|
+
var(--kui-color-brand-fill-quiet)
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.kui-list-item__status {
|
|
247
|
+
color: var(--kui-color-neutral-on-quiet);
|
|
248
|
+
font-size: var(--kui-font-xs);
|
|
249
|
+
font-weight: 500;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.kui-list-item__trailing > svg {
|
|
253
|
+
width: 1rem;
|
|
254
|
+
height: 1rem;
|
|
255
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
.kui-value-table {
|
|
2
|
+
--kui-value-table-background: var(--kui-color-surface-lowered);
|
|
3
|
+
--kui-value-table-border: var(--kui-color-neutral-border-normal);
|
|
4
|
+
--_kui-value-table-icon-size: var(--kui-value-table-icon-size, 1.5rem);
|
|
5
|
+
display: grid;
|
|
6
|
+
margin-block: 0;
|
|
7
|
+
margin-inline: var(--kui-layout-inline-margin, 0.5rem);
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
border: 1px solid var(--kui-value-table-border);
|
|
10
|
+
border-radius: var(--kui-layout-rounded-radius, calc(1px + 0.6875rem));
|
|
11
|
+
background: var(--kui-value-table-background);
|
|
12
|
+
}
|
|
13
|
+
.kui-value-table__row {
|
|
14
|
+
--_kui-value-table-inline-padding: var(
|
|
15
|
+
--kui-layout-item-padding,
|
|
16
|
+
0.5rem
|
|
17
|
+
);
|
|
18
|
+
--_kui-value-table-separator-start: var(--_kui-value-table-inline-padding);
|
|
19
|
+
position: relative;
|
|
20
|
+
display: grid;
|
|
21
|
+
min-height: 2.55rem;
|
|
22
|
+
padding-block: var(
|
|
23
|
+
--kui-value-table-row-padding-block,
|
|
24
|
+
var(--_kui-value-table-density-padding-block, 0.5rem)
|
|
25
|
+
);
|
|
26
|
+
padding-inline: var(--_kui-value-table-inline-padding);
|
|
27
|
+
box-sizing: border-box;
|
|
28
|
+
/* Two content-sized tracks share the free space equally, and each stops
|
|
29
|
+
growing once its content fits. A short value keeps its whole width and a
|
|
30
|
+
long label takes the rest (ending a word that still does not fit in an
|
|
31
|
+
ellipsis); a short label keeps its width beside a long, wrapping value;
|
|
32
|
+
when both are long they split the row. A `1fr` value track would get
|
|
33
|
+
nothing until the label reached its full width, starving the value to 0px
|
|
34
|
+
beside a long single-word label. */
|
|
35
|
+
grid-template-columns: var(
|
|
36
|
+
--kui-value-table-row-columns,
|
|
37
|
+
minmax(0, auto) minmax(0, auto)
|
|
38
|
+
);
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: var(
|
|
41
|
+
--kui-value-table-row-gap,
|
|
42
|
+
var(--_kui-value-table-density-gap, var(--kui-layout-item-gap, 0.5rem))
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
.kui-value-table[data-density="compact"] .kui-value-table__row {
|
|
46
|
+
--_kui-value-table-density-padding-block: 0.25rem;
|
|
47
|
+
--_kui-value-table-density-gap: 0.25rem;
|
|
48
|
+
}
|
|
49
|
+
.kui-value-table__row[data-has-icon="true"] {
|
|
50
|
+
--_kui-value-table-separator-start: calc(
|
|
51
|
+
var(--_kui-value-table-inline-padding) + var(--_kui-value-table-icon-size) +
|
|
52
|
+
var(--kui-layout-item-gap, 0.5rem)
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
.kui-value-table__row + .kui-value-table__row::before {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 0;
|
|
58
|
+
right: var(--_kui-value-table-inline-padding);
|
|
59
|
+
left: var(--_kui-value-table-separator-start);
|
|
60
|
+
border-top: 1px solid var(--kui-value-table-border);
|
|
61
|
+
content: "";
|
|
62
|
+
}
|
|
63
|
+
.kui-value-table__row dt {
|
|
64
|
+
display: flex;
|
|
65
|
+
/* The label hugs its content (up to its column) rather than stretching, so
|
|
66
|
+
its box does not change with the value's width — a placeholder row keeps
|
|
67
|
+
the live row's label geometry beside its skeleton value. */
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
min-width: 0;
|
|
70
|
+
justify-self: start;
|
|
71
|
+
color: var(--kui-color-text-quiet);
|
|
72
|
+
align-items: center;
|
|
73
|
+
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
74
|
+
}
|
|
75
|
+
.kui-value-table__icon {
|
|
76
|
+
display: grid;
|
|
77
|
+
width: var(--_kui-value-table-icon-size);
|
|
78
|
+
height: var(--_kui-value-table-icon-size);
|
|
79
|
+
flex: none;
|
|
80
|
+
place-items: center;
|
|
81
|
+
}
|
|
82
|
+
.kui-value-table__icon svg {
|
|
83
|
+
width: 100%;
|
|
84
|
+
height: 100%;
|
|
85
|
+
}
|
|
86
|
+
.kui-value-table__label {
|
|
87
|
+
min-width: 0;
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
/* A multi-word label wraps at spaces; a single word wider than the label
|
|
90
|
+
column (a long component or file name) ends in an ellipsis instead of
|
|
91
|
+
running under the value. */
|
|
92
|
+
text-overflow: ellipsis;
|
|
93
|
+
}
|
|
94
|
+
.kui-value-table__row dd {
|
|
95
|
+
display: flex;
|
|
96
|
+
min-width: 0;
|
|
97
|
+
margin: 0;
|
|
98
|
+
overflow-wrap: anywhere;
|
|
99
|
+
color: var(--kui-color-text);
|
|
100
|
+
align-items: center;
|
|
101
|
+
justify-content: flex-end;
|
|
102
|
+
gap: var(--kui-space-2xs);
|
|
103
|
+
font-weight: var(--kui-font-weight-semibold);
|
|
104
|
+
text-align: end;
|
|
105
|
+
}
|