@kerfjs/ui 5.0.0-beta.74 → 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 +54 -16
- package/ai/component-composition.json +18 -6
- 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/list.md +3 -2
- package/ai/components/lucide-icon.md +20 -1
- package/ai/components/select.md +5 -4
- package/ai/public-api-signatures-v1.md +101 -61
- package/ai/skill.md +35 -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-I6FTU27I.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-VZOFZPSO.js → chunk-5D3WDMIK.js} +4 -4
- package/dist/chunk-5D3WDMIK.js.map +1 -0
- package/dist/{chunk-IJNYCPAU.js → chunk-5PAVAR4B.js} +3 -3
- package/dist/chunk-5PAVAR4B.js.map +1 -0
- package/dist/{chunk-2IGHGE3M.js → chunk-72LLWYP2.js} +6 -6
- package/dist/chunk-72LLWYP2.js.map +1 -0
- package/dist/{chunk-KZRR7NNV.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-33EOFAUN.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-RT5WKYX3.js → chunk-ARZ4RSQO.js} +5 -6
- package/dist/chunk-ARZ4RSQO.js.map +1 -0
- package/dist/{chunk-ZSJOLL3S.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-TT5ROTQK.js → chunk-EFDCALR3.js} +2 -2
- package/dist/chunk-EFDCALR3.js.map +1 -0
- package/dist/{chunk-RVERAFFY.js → chunk-G4VKQP7B.js} +2 -2
- package/dist/chunk-G4VKQP7B.js.map +1 -0
- package/dist/{chunk-BGD7EHUE.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-KFJSNWO4.js → chunk-H7ZJEI3H.js} +3 -3
- package/dist/chunk-H7ZJEI3H.js.map +1 -0
- package/dist/{chunk-7KHKLG5C.js → chunk-HFLGWMG3.js} +4 -4
- package/dist/chunk-HFLGWMG3.js.map +1 -0
- package/dist/{chunk-6LAQWWEX.js → chunk-HFQDSSED.js} +6 -6
- package/dist/chunk-HFQDSSED.js.map +1 -0
- package/dist/{chunk-2RMDP7HQ.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-G4S2QU6V.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-RU2EMR56.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-2G2ZJQYK.js → chunk-LRAIS3YB.js} +9 -3
- 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-W2AC6Q2A.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-WTSNV5RG.js → chunk-PQQQXJGV.js} +9 -3
- 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-L67OYMGE.js → chunk-SJY7KC45.js} +5 -5
- package/dist/chunk-SJY7KC45.js.map +1 -0
- package/dist/{chunk-DB5ADJKF.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-B2ZMR7NY.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-3DOHW3K4.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.d.ts +6 -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 -1
- package/dist/loading-spinner.js +1 -1
- package/dist/lucide-icon.d.ts +6 -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 +19 -5
- 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/type-contracts.md +17 -17
- 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 +20 -3
- package/package.json +3 -2
- package/dist/chunk-2G2ZJQYK.js.map +0 -1
- package/dist/chunk-2IGHGE3M.js.map +0 -1
- package/dist/chunk-2RMDP7HQ.js.map +0 -1
- package/dist/chunk-33EOFAUN.js.map +0 -1
- package/dist/chunk-3BYFWTP3.js.map +0 -1
- package/dist/chunk-3DOHW3K4.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-6DFDTWGG.js.map +0 -1
- package/dist/chunk-6LAQWWEX.js.map +0 -1
- package/dist/chunk-7KHKLG5C.js.map +0 -1
- package/dist/chunk-ALGYHYXP.js.map +0 -1
- package/dist/chunk-AYUHMAI6.js.map +0 -1
- package/dist/chunk-B2ZMR7NY.js.map +0 -1
- package/dist/chunk-BFPBS5Y4.js.map +0 -1
- package/dist/chunk-BGD7EHUE.js.map +0 -1
- package/dist/chunk-DB5ADJKF.js.map +0 -1
- package/dist/chunk-DG6G5EPF.js.map +0 -1
- package/dist/chunk-DPAUKNB6.js.map +0 -1
- package/dist/chunk-G4S2QU6V.js.map +0 -1
- package/dist/chunk-I3Q7KKYM.js.map +0 -1
- package/dist/chunk-I6FTU27I.js.map +0 -1
- package/dist/chunk-IJNYCPAU.js.map +0 -1
- package/dist/chunk-K47P7QZC.js.map +0 -1
- package/dist/chunk-KFJSNWO4.js.map +0 -1
- package/dist/chunk-KZRR7NNV.js.map +0 -1
- package/dist/chunk-L67OYMGE.js.map +0 -1
- package/dist/chunk-NCSWXG7G.js.map +0 -1
- package/dist/chunk-NN6GYOA2.js.map +0 -1
- package/dist/chunk-OXO2QJWV.js.map +0 -1
- package/dist/chunk-PSHUSWQH.js.map +0 -1
- package/dist/chunk-RGS4WX2M.js.map +0 -1
- package/dist/chunk-RT5WKYX3.js.map +0 -1
- package/dist/chunk-RU2EMR56.js.map +0 -1
- package/dist/chunk-RVERAFFY.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-TDN5EE3S.js.map +0 -1
- package/dist/chunk-TT5ROTQK.js.map +0 -1
- package/dist/chunk-V4WLBOVJ.js.map +0 -1
- package/dist/chunk-VZOFZPSO.js.map +0 -1
- package/dist/chunk-W2AC6Q2A.js.map +0 -1
- package/dist/chunk-WF75U3V4.js.map +0 -1
- package/dist/chunk-WTSNV5RG.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/chunk-ZSJOLL3S.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,15 @@
|
|
|
1
|
+
[data-lucide] {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 1em;
|
|
4
|
+
height: 1em;
|
|
5
|
+
flex: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[data-lucide][data-inline="true"] {
|
|
9
|
+
display: inline-block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
[data-lucide][data-size] {
|
|
13
|
+
width: var(--_kui-lucide-size);
|
|
14
|
+
height: var(--_kui-lucide-size);
|
|
15
|
+
}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
.kui-app-tab {
|
|
2
|
+
--kui-app-tab-color: var(--kui-color-neutral-on-quiet);
|
|
3
|
+
--kui-app-tab-hover-background: color-mix(
|
|
4
|
+
in srgb,
|
|
5
|
+
var(--kui-color-surface) 72%,
|
|
6
|
+
transparent
|
|
7
|
+
);
|
|
8
|
+
--kui-app-tab-selected-color: var(--kui-color-brand-on-quiet);
|
|
9
|
+
--kui-app-tab-selected-background: var(--kui-color-surface);
|
|
10
|
+
--kui-app-tab-selected-border: color-mix(
|
|
11
|
+
in srgb,
|
|
12
|
+
var(--kui-color-neutral-border-normal) 80%,
|
|
13
|
+
transparent
|
|
14
|
+
);
|
|
15
|
+
--kui-app-tab-drop-indicator: var(--kui-color-brand-border-normal);
|
|
16
|
+
--kui-app-tab-drop-target-background: var(--kui-color-brand-fill-quiet);
|
|
17
|
+
--kui-app-tab-drop-target-ring: var(--kui-color-brand-border-normal);
|
|
18
|
+
--kui-app-tab-drop-target-color: var(--kui-color-brand-on-quiet);
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
width: max-content;
|
|
22
|
+
min-width: max-content;
|
|
23
|
+
height: 2.5rem;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
border: 1px solid transparent;
|
|
26
|
+
border-radius: var(--kui-layout-pill-radius, calc(1px + 1.3125rem));
|
|
27
|
+
color: var(--kui-app-tab-color);
|
|
28
|
+
background: transparent;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex: none;
|
|
31
|
+
}
|
|
32
|
+
.kui-app-tab[data-pinned="true"] {
|
|
33
|
+
position: sticky;
|
|
34
|
+
z-index: 1;
|
|
35
|
+
inset-inline-start: 0;
|
|
36
|
+
background: var(
|
|
37
|
+
--kui-app-tab-pinned-background,
|
|
38
|
+
var(--_kui-app-tab-pinned-default-background, var(--kui-color-surface))
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
.kui-tab-bar__tabs[data-snap-tabs="true"]
|
|
42
|
+
> .kui-app-tab:not([data-pinned="true"]) {
|
|
43
|
+
scroll-snap-align: start;
|
|
44
|
+
}
|
|
45
|
+
.kui-app-tab[data-pinned="true"]::before {
|
|
46
|
+
content: "";
|
|
47
|
+
position: absolute;
|
|
48
|
+
z-index: -1;
|
|
49
|
+
inset-block: 0;
|
|
50
|
+
inset-inline-start: calc(
|
|
51
|
+
-1 *
|
|
52
|
+
(
|
|
53
|
+
var(--kui-tab-bar-strip-padding, 1px) +
|
|
54
|
+
var(--kui-tab-bar-strip-border-width, 1px)
|
|
55
|
+
)
|
|
56
|
+
);
|
|
57
|
+
inset-inline-end: 0;
|
|
58
|
+
/* Keep the opaque scroll backing inside the tab's pill silhouette so it
|
|
59
|
+
cannot square off a selected tab's trailing corner and shadow. */
|
|
60
|
+
border-radius: inherit;
|
|
61
|
+
background: var(
|
|
62
|
+
--kui-app-tab-pinned-background,
|
|
63
|
+
var(--_kui-app-tab-pinned-default-background, var(--kui-color-surface))
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
/* The leading overflow line belongs after the pinned tab, where its scrolling
|
|
67
|
+
peers disappear. Reuse the opaque backing so drag indicators can still use
|
|
68
|
+
::after. */
|
|
69
|
+
.kui-tab-bar__tabs:dir(ltr)[data-scroll-overflow*="l"]
|
|
70
|
+
> .kui-app-tab[data-pinned="true"]::before,
|
|
71
|
+
.kui-tab-bar__tabs:dir(rtl)[data-scroll-overflow*="r"]
|
|
72
|
+
> .kui-app-tab[data-pinned="true"]::before {
|
|
73
|
+
inset-inline-end: -1px;
|
|
74
|
+
border-inline-end: 1px solid
|
|
75
|
+
var(--kui-tab-bar-divider-color, var(--kui-color-neutral-border-normal));
|
|
76
|
+
}
|
|
77
|
+
.kui-tab-bar[data-presentation="segmented"] .kui-app-tab[data-pinned="true"],
|
|
78
|
+
.kui-tab-bar[data-presentation="inspector"] .kui-app-tab[data-pinned="true"] {
|
|
79
|
+
--_kui-app-tab-pinned-default-background: var(
|
|
80
|
+
--kui-tab-bar-strip-background,
|
|
81
|
+
var(--kui-color-neutral-fill-quiet)
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
.kui-app-tab[data-pinned="true"]:not([data-selected="true"]):hover {
|
|
85
|
+
background: var(
|
|
86
|
+
--kui-app-tab-pinned-hover-background,
|
|
87
|
+
var(--kui-color-neutral-fill-quiet)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
.kui-app-tab[data-size="compact"] {
|
|
91
|
+
height: 2rem;
|
|
92
|
+
}
|
|
93
|
+
.kui-app-tab[data-presentation="segmented"] {
|
|
94
|
+
border-radius: var(--kui-radius-s);
|
|
95
|
+
box-shadow: none;
|
|
96
|
+
}
|
|
97
|
+
.kui-app-tab:hover {
|
|
98
|
+
border-color: var(--kui-color-neutral-border-normal);
|
|
99
|
+
background: var(--kui-app-tab-hover-background);
|
|
100
|
+
}
|
|
101
|
+
.kui-app-tab[data-selected="true"] {
|
|
102
|
+
border-color: var(--kui-app-tab-selected-border);
|
|
103
|
+
color: var(--kui-app-tab-selected-color);
|
|
104
|
+
background: var(--kui-app-tab-selected-background);
|
|
105
|
+
box-shadow: var(--kui-shadow-s);
|
|
106
|
+
}
|
|
107
|
+
.kui-app-tab[data-drop-target="true"] {
|
|
108
|
+
color: var(--kui-app-tab-drop-target-color);
|
|
109
|
+
background: var(--kui-app-tab-drop-target-background);
|
|
110
|
+
box-shadow: inset 0 0 0 2px var(--kui-app-tab-drop-target-ring);
|
|
111
|
+
}
|
|
112
|
+
.kui-app-tab[data-tab-dragging="true"] {
|
|
113
|
+
opacity: 0.55;
|
|
114
|
+
}
|
|
115
|
+
.kui-app-tab[data-tab-drop-position]::after {
|
|
116
|
+
position: absolute;
|
|
117
|
+
z-index: 2;
|
|
118
|
+
top: 0.2rem;
|
|
119
|
+
bottom: 0.2rem;
|
|
120
|
+
width: 2px;
|
|
121
|
+
border-radius: var(--kui-radius-pill);
|
|
122
|
+
background: var(--kui-app-tab-drop-indicator);
|
|
123
|
+
content: "";
|
|
124
|
+
pointer-events: none;
|
|
125
|
+
}
|
|
126
|
+
.kui-app-tab[data-tab-drop-position="before"]::after {
|
|
127
|
+
inset-inline-start: calc(var(--kui-space-2xs) * -1);
|
|
128
|
+
}
|
|
129
|
+
.kui-app-tab[data-tab-drop-position="after"]::after {
|
|
130
|
+
inset-inline-end: calc(var(--kui-space-2xs) * -1);
|
|
131
|
+
}
|
|
132
|
+
.kui-app-tab__select {
|
|
133
|
+
display: flex;
|
|
134
|
+
min-width: 0;
|
|
135
|
+
height: 100%;
|
|
136
|
+
padding: 0 var(--kui-layout-item-padding, 0.5rem);
|
|
137
|
+
border: 0;
|
|
138
|
+
appearance: none;
|
|
139
|
+
color: inherit;
|
|
140
|
+
background: transparent;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
font: inherit;
|
|
143
|
+
align-items: center;
|
|
144
|
+
gap: var(--kui-layout-item-gap, 0.5rem);
|
|
145
|
+
text-align: start;
|
|
146
|
+
}
|
|
147
|
+
.kui-app-tab:has(.kui-app-tab__close) .kui-app-tab__select {
|
|
148
|
+
padding-inline-start: var(--kui-layout-item-padding, 0.5rem);
|
|
149
|
+
}
|
|
150
|
+
.kui-app-tab:has(.kui-app-tab__select:focus-visible) {
|
|
151
|
+
outline: var(--kui-focus-ring);
|
|
152
|
+
outline-offset: -2px;
|
|
153
|
+
}
|
|
154
|
+
.kui-app-tab__select:focus-visible {
|
|
155
|
+
outline: none;
|
|
156
|
+
}
|
|
157
|
+
.kui-app-tab__close:focus-visible {
|
|
158
|
+
border-radius: var(--kui-radius-pill);
|
|
159
|
+
outline: var(--kui-focus-ring);
|
|
160
|
+
outline-offset: -2px;
|
|
161
|
+
}
|
|
162
|
+
.kui-app-tab__select > svg {
|
|
163
|
+
width: 1rem;
|
|
164
|
+
height: 1rem;
|
|
165
|
+
flex: none;
|
|
166
|
+
}
|
|
167
|
+
.kui-app-tab__name {
|
|
168
|
+
max-width: var(--kui-app-tab-label-max-width, none);
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
font-size: var(--kui-font-xs);
|
|
171
|
+
font-weight: 650;
|
|
172
|
+
text-overflow: ellipsis;
|
|
173
|
+
white-space: nowrap;
|
|
174
|
+
}
|
|
175
|
+
.kui-app-tab[data-name-overflow="visible"] .kui-app-tab__name {
|
|
176
|
+
max-width: none;
|
|
177
|
+
overflow: visible;
|
|
178
|
+
text-overflow: clip;
|
|
179
|
+
}
|
|
180
|
+
.kui-app-tab[data-attention="true"] .kui-app-tab__name {
|
|
181
|
+
color: var(--kui-app-tab-attention-color, var(--kui-color-warning-on-quiet));
|
|
182
|
+
}
|
|
183
|
+
.kui-app-tab[data-presentation="icon-only"] .kui-app-tab__select {
|
|
184
|
+
width: 100%;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
}
|
|
187
|
+
.kui-app-tab[data-presentation="icon-only"] .kui-app-tab__name {
|
|
188
|
+
position: absolute;
|
|
189
|
+
width: 1px;
|
|
190
|
+
height: 1px;
|
|
191
|
+
padding: 0;
|
|
192
|
+
overflow: hidden;
|
|
193
|
+
clip: rect(0, 0, 0, 0);
|
|
194
|
+
white-space: nowrap;
|
|
195
|
+
clip-path: inset(50%);
|
|
196
|
+
}
|
|
197
|
+
.kui-app-tab[data-presentation="icon-only"] {
|
|
198
|
+
width: 2rem;
|
|
199
|
+
min-width: 2rem;
|
|
200
|
+
}
|
|
201
|
+
/* TabBar owns the tablist width query; AppTab owns its own responsive
|
|
202
|
+
geometry and visually hidden name. The name remains in the accessibility
|
|
203
|
+
tree, so the tab keeps its accessible name without a rerender. */
|
|
204
|
+
@container kui-tab-bar-tabs (max-width: 52rem) {
|
|
205
|
+
.kui-tab-bar[data-icon-only-at="wide"]
|
|
206
|
+
.kui-tab-bar__tabs
|
|
207
|
+
> .kui-app-tab[data-presentation="segmented"] {
|
|
208
|
+
width: 2rem;
|
|
209
|
+
min-width: 2rem;
|
|
210
|
+
flex: none;
|
|
211
|
+
}
|
|
212
|
+
.kui-tab-bar[data-icon-only-at="wide"]
|
|
213
|
+
.kui-app-tab[data-presentation="segmented"]
|
|
214
|
+
.kui-app-tab__select {
|
|
215
|
+
width: 100%;
|
|
216
|
+
justify-content: center;
|
|
217
|
+
}
|
|
218
|
+
.kui-tab-bar[data-icon-only-at="wide"]
|
|
219
|
+
.kui-app-tab[data-presentation="segmented"]
|
|
220
|
+
.kui-app-tab__name {
|
|
221
|
+
position: absolute;
|
|
222
|
+
width: 1px;
|
|
223
|
+
height: 1px;
|
|
224
|
+
padding: 0;
|
|
225
|
+
overflow: hidden;
|
|
226
|
+
clip: rect(0, 0, 0, 0);
|
|
227
|
+
white-space: nowrap;
|
|
228
|
+
clip-path: inset(50%);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
@container kui-tab-bar-tabs (max-width: 44rem) {
|
|
232
|
+
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
233
|
+
.kui-tab-bar__tabs
|
|
234
|
+
> .kui-app-tab[data-presentation="segmented"] {
|
|
235
|
+
width: 2rem;
|
|
236
|
+
min-width: 2rem;
|
|
237
|
+
flex: none;
|
|
238
|
+
}
|
|
239
|
+
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
240
|
+
.kui-app-tab[data-presentation="segmented"]
|
|
241
|
+
.kui-app-tab__select {
|
|
242
|
+
width: 100%;
|
|
243
|
+
justify-content: center;
|
|
244
|
+
}
|
|
245
|
+
.kui-tab-bar[data-icon-only-at="narrow"]
|
|
246
|
+
.kui-app-tab[data-presentation="segmented"]
|
|
247
|
+
.kui-app-tab__name {
|
|
248
|
+
position: absolute;
|
|
249
|
+
width: 1px;
|
|
250
|
+
height: 1px;
|
|
251
|
+
padding: 0;
|
|
252
|
+
overflow: hidden;
|
|
253
|
+
clip: rect(0, 0, 0, 0);
|
|
254
|
+
white-space: nowrap;
|
|
255
|
+
clip-path: inset(50%);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
@container kui-tab-bar-tabs (max-width: 28rem) {
|
|
259
|
+
.kui-tab-bar[data-icon-only-at="compact"]
|
|
260
|
+
.kui-tab-bar__tabs
|
|
261
|
+
> .kui-app-tab[data-presentation="segmented"] {
|
|
262
|
+
width: 2rem;
|
|
263
|
+
min-width: 2rem;
|
|
264
|
+
flex: none;
|
|
265
|
+
}
|
|
266
|
+
.kui-tab-bar[data-icon-only-at="compact"]
|
|
267
|
+
.kui-app-tab[data-presentation="segmented"]
|
|
268
|
+
.kui-app-tab__select {
|
|
269
|
+
width: 100%;
|
|
270
|
+
justify-content: center;
|
|
271
|
+
}
|
|
272
|
+
.kui-tab-bar[data-icon-only-at="compact"]
|
|
273
|
+
.kui-app-tab[data-presentation="segmented"]
|
|
274
|
+
.kui-app-tab__name {
|
|
275
|
+
position: absolute;
|
|
276
|
+
width: 1px;
|
|
277
|
+
height: 1px;
|
|
278
|
+
padding: 0;
|
|
279
|
+
overflow: hidden;
|
|
280
|
+
clip: rect(0, 0, 0, 0);
|
|
281
|
+
white-space: nowrap;
|
|
282
|
+
clip-path: inset(50%);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
/* In a TabBar, the tab styles itself in the context of its parent strip. A
|
|
286
|
+
segmented strip's outer ends follow the pill track: the first tab's leading
|
|
287
|
+
corners, and a filled strip's last tab's trailing corners, are pill-rounded
|
|
288
|
+
so each end is concentric with the track (TabBar insets a compact strip's
|
|
289
|
+
tabs to match). Only fill allocation carries the last tab to the track's
|
|
290
|
+
trailing end; an intrinsic strip's last tab stops short of it and keeps the
|
|
291
|
+
segment radius, as do the corners between tabs. */
|
|
292
|
+
.kui-tab-bar[data-presentation="segmented"]
|
|
293
|
+
.kui-tab-bar__tabs
|
|
294
|
+
> .kui-app-tab:first-child {
|
|
295
|
+
border-start-start-radius: var(--kui-radius-pill);
|
|
296
|
+
border-end-start-radius: var(--kui-radius-pill);
|
|
297
|
+
}
|
|
298
|
+
.kui-tab-bar[data-presentation="segmented"][data-allocation="fill"]
|
|
299
|
+
.kui-tab-bar__tabs
|
|
300
|
+
> .kui-app-tab:last-child {
|
|
301
|
+
border-start-end-radius: var(--kui-radius-pill);
|
|
302
|
+
border-end-end-radius: var(--kui-radius-pill);
|
|
303
|
+
}
|
|
304
|
+
/* Fill allocation shares the strip equally and centers each tab's content. */
|
|
305
|
+
.kui-tab-bar[data-allocation="fill"] .kui-tab-bar__tabs > .kui-app-tab {
|
|
306
|
+
min-width: 0;
|
|
307
|
+
flex: 1 1 0;
|
|
308
|
+
}
|
|
309
|
+
.kui-tab-bar[data-allocation="fill"]
|
|
310
|
+
.kui-tab-bar__tabs
|
|
311
|
+
> .kui-app-tab
|
|
312
|
+
> .kui-app-tab__select {
|
|
313
|
+
width: 100%;
|
|
314
|
+
justify-content: center;
|
|
315
|
+
}
|
|
316
|
+
.kui-app-tab__trailing {
|
|
317
|
+
display: grid;
|
|
318
|
+
min-width: 1.275rem;
|
|
319
|
+
min-height: 1.275rem;
|
|
320
|
+
flex: none;
|
|
321
|
+
place-items: center;
|
|
322
|
+
}
|
|
323
|
+
.kui-app-tab__close {
|
|
324
|
+
display: grid;
|
|
325
|
+
width: 1.275rem;
|
|
326
|
+
height: 1.275rem;
|
|
327
|
+
margin-inline-start: var(--kui-space-xs);
|
|
328
|
+
padding: 0;
|
|
329
|
+
border: 0;
|
|
330
|
+
appearance: none;
|
|
331
|
+
color: var(--kui-color-neutral-on-quiet);
|
|
332
|
+
background: transparent;
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
flex: none;
|
|
335
|
+
place-items: center;
|
|
336
|
+
}
|
|
337
|
+
.kui-app-tab__close:hover {
|
|
338
|
+
color: var(--kui-color-text);
|
|
339
|
+
}
|
|
340
|
+
/* A dormant tab keeps its close button's space, so it matches the live tab's
|
|
341
|
+
geometry, but never shows a control it has disabled. */
|
|
342
|
+
.kui-app-tab:is([data-placeholder="true"], [data-pending="true"])
|
|
343
|
+
.kui-app-tab__close {
|
|
344
|
+
visibility: hidden;
|
|
345
|
+
}
|
|
346
|
+
.kui-app-tab[data-pending="true"] .kui-app-tab__name {
|
|
347
|
+
color: var(--kui-color-text-quiet);
|
|
348
|
+
}
|
|
349
|
+
.kui-app-tab__close-icon {
|
|
350
|
+
display: grid;
|
|
351
|
+
width: 0.6375rem;
|
|
352
|
+
height: 0.6375rem;
|
|
353
|
+
pointer-events: none;
|
|
354
|
+
place-items: center;
|
|
355
|
+
}
|
|
356
|
+
.kui-app-tab__close-icon > svg {
|
|
357
|
+
width: 100%;
|
|
358
|
+
height: 100%;
|
|
359
|
+
}
|
|
360
|
+
@media (hover: hover) and (pointer: fine) {
|
|
361
|
+
.kui-app-tab__close {
|
|
362
|
+
opacity: 0;
|
|
363
|
+
pointer-events: none;
|
|
364
|
+
transition: opacity 0.12s ease;
|
|
365
|
+
}
|
|
366
|
+
.kui-app-tab:hover .kui-app-tab__close,
|
|
367
|
+
.kui-app-tab:focus-within .kui-app-tab__close {
|
|
368
|
+
opacity: 1;
|
|
369
|
+
pointer-events: auto;
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
@media (prefers-reduced-motion: reduce) {
|
|
373
|
+
.kui-app-tab__close {
|
|
374
|
+
transition: none;
|
|
375
|
+
}
|
|
376
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.kui-disclosure-arrow {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
width: var(--kui-disclosure-arrow-size, 1.125rem);
|
|
4
|
+
height: var(--kui-disclosure-arrow-size, 1.125rem);
|
|
5
|
+
flex: none;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
transform: rotate(var(--_kui-disclosure-arrow-rotation, 0deg));
|
|
9
|
+
transform-origin: center;
|
|
10
|
+
transition: transform var(--kui-disclosure-arrow-duration, 0.2s) ease;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.kui-disclosure-arrow svg {
|
|
14
|
+
display: block;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20
|
+
.kui-disclosure-arrow {
|
|
21
|
+
transition-duration: 0s;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
.kui-nav-stack {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
min-width: 0;
|
|
5
|
+
min-height: 0;
|
|
6
|
+
height: 100%;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
background: var(--kui-color-surface);
|
|
10
|
+
/* Safe areas: the stack's surfaces paint through unsafe areas; its chrome,
|
|
11
|
+
bottom toolbar, and each view compensate for the edges the stack still
|
|
12
|
+
touches (see pane.css for the `--kui-edge-inset-*` edge context). */
|
|
13
|
+
--_kui-nav-stack-safe-block-start: var(
|
|
14
|
+
--kui-edge-inset-block-start,
|
|
15
|
+
var(--kui-safe-area-block-start, env(safe-area-inset-top, 0px))
|
|
16
|
+
);
|
|
17
|
+
--_kui-nav-stack-safe-block-end: var(
|
|
18
|
+
--kui-edge-inset-block-end,
|
|
19
|
+
var(--kui-safe-area-block-end, env(safe-area-inset-bottom, 0px))
|
|
20
|
+
);
|
|
21
|
+
--_kui-nav-stack-safe-inline-start: var(
|
|
22
|
+
--kui-edge-inset-inline-start,
|
|
23
|
+
var(--kui-safe-area-inline-start, env(safe-area-inset-left, 0px))
|
|
24
|
+
);
|
|
25
|
+
--_kui-nav-stack-safe-inline-end: var(
|
|
26
|
+
--kui-edge-inset-inline-end,
|
|
27
|
+
var(--kui-safe-area-inline-end, env(safe-area-inset-right, 0px))
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.kui-nav-stack__chrome,
|
|
32
|
+
.kui-nav-stack__bottom {
|
|
33
|
+
--kui-edge-inset-block-start: 0px;
|
|
34
|
+
--kui-edge-inset-block-end: 0px;
|
|
35
|
+
--kui-edge-inset-inline-start: 0px;
|
|
36
|
+
--kui-edge-inset-inline-end: 0px;
|
|
37
|
+
transition: opacity var(--kui-nav-stack-transition-duration, 200ms) ease;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.kui-nav-stack__chrome--entering {
|
|
41
|
+
opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.kui-nav-stack__chrome-copy {
|
|
45
|
+
position: absolute;
|
|
46
|
+
z-index: 2;
|
|
47
|
+
inset-block-start: 0;
|
|
48
|
+
inset-inline: 0;
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
transition: opacity var(--kui-nav-stack-transition-duration, 200ms) ease;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.kui-nav-stack__chrome-copy--bottom {
|
|
54
|
+
inset-block: auto 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.kui-nav-stack__chrome-copy--exiting {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* The chrome hosts the stack's real top Toolbar. It hands that toolbar the
|
|
62
|
+
edges the stack still touches through the edge context (never the bottom,
|
|
63
|
+
which the viewport owns); the toolbar pads for the sides it claims with
|
|
64
|
+
`safeAreaEdges` while its box paints through them. */
|
|
65
|
+
.kui-nav-stack__chrome {
|
|
66
|
+
--kui-edge-inset-block-start: var(--_kui-nav-stack-safe-block-start);
|
|
67
|
+
--kui-edge-inset-inline-start: var(--_kui-nav-stack-safe-inline-start);
|
|
68
|
+
--kui-edge-inset-inline-end: var(--_kui-nav-stack-safe-inline-end);
|
|
69
|
+
background: var(--kui-color-surface);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.kui-nav-stack__header {
|
|
73
|
+
min-width: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.kui-nav-stack__viewport {
|
|
77
|
+
--kui-edge-inset-block-start: var(--_kui-nav-stack-safe-block-start);
|
|
78
|
+
--kui-edge-inset-block-end: var(--_kui-nav-stack-safe-block-end);
|
|
79
|
+
--kui-edge-inset-inline-start: var(--_kui-nav-stack-safe-inline-start);
|
|
80
|
+
--kui-edge-inset-inline-end: var(--_kui-nav-stack-safe-inline-end);
|
|
81
|
+
position: relative;
|
|
82
|
+
flex: 1;
|
|
83
|
+
min-height: 0;
|
|
84
|
+
overflow: hidden;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* The top chrome and the bottom toolbar own their edges; transient chrome
|
|
88
|
+
copies from a transition do not. */
|
|
89
|
+
.kui-nav-stack__chrome ~ .kui-nav-stack__viewport {
|
|
90
|
+
--kui-edge-inset-block-start: 0px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.kui-nav-stack__viewport:has(
|
|
94
|
+
~ .kui-nav-stack__bottom:not(.kui-nav-stack__chrome-copy)
|
|
95
|
+
) {
|
|
96
|
+
--kui-edge-inset-block-end: 0px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.kui-nav-stack__view {
|
|
100
|
+
position: absolute;
|
|
101
|
+
overflow: auto;
|
|
102
|
+
background: var(--kui-color-surface);
|
|
103
|
+
transition: transform var(--kui-nav-stack-transition-duration, 200ms) ease;
|
|
104
|
+
inset: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.kui-nav-stack__view[data-appearance="sunken"] {
|
|
108
|
+
background: var(
|
|
109
|
+
--kui-sunken-panel-background,
|
|
110
|
+
var(--kui-color-surface-lowered)
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Each view is its region's scroll owner: block insets become padding inside
|
|
115
|
+
the scroller so content scrolls under an unsafe edge but can always be
|
|
116
|
+
scrolled clear. A view whose only child is a Pane or layout lets that child
|
|
117
|
+
own the insets instead. */
|
|
118
|
+
.kui-nav-stack__view:not(
|
|
119
|
+
:has(
|
|
120
|
+
> :is(
|
|
121
|
+
[data-component="pane"],
|
|
122
|
+
[data-component="nav-stack"],
|
|
123
|
+
[data-component="split-view"],
|
|
124
|
+
[data-component="workbench"],
|
|
125
|
+
[data-component="tab-scaffold"]
|
|
126
|
+
):only-child
|
|
127
|
+
)
|
|
128
|
+
) {
|
|
129
|
+
padding-block: var(--kui-edge-inset-block-start)
|
|
130
|
+
var(--kui-edge-inset-block-end);
|
|
131
|
+
padding-inline: var(--kui-edge-inset-inline-start)
|
|
132
|
+
var(--kui-edge-inset-inline-end);
|
|
133
|
+
scroll-padding-block: var(--kui-edge-inset-block-start)
|
|
134
|
+
var(--kui-edge-inset-block-end);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.kui-nav-stack__view
|
|
138
|
+
> :not(
|
|
139
|
+
:is(
|
|
140
|
+
[data-component="pane"],
|
|
141
|
+
[data-component="nav-stack"],
|
|
142
|
+
[data-component="split-view"],
|
|
143
|
+
[data-component="workbench"],
|
|
144
|
+
[data-component="tab-scaffold"]
|
|
145
|
+
):only-child
|
|
146
|
+
) {
|
|
147
|
+
--kui-edge-inset-block-start: 0px;
|
|
148
|
+
--kui-edge-inset-block-end: 0px;
|
|
149
|
+
--kui-edge-inset-inline-start: 0px;
|
|
150
|
+
--kui-edge-inset-inline-end: 0px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Only the active view (and any view mid-exit) is shown; lower entries stay
|
|
154
|
+
mounted for state/focus but hidden behind it. */
|
|
155
|
+
.kui-nav-stack__view[data-nav-active="false"] {
|
|
156
|
+
visibility: hidden;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.kui-nav-stack__view[data-nav-exiting="true"] {
|
|
160
|
+
z-index: 1;
|
|
161
|
+
visibility: visible;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Push: the incoming view starts off the trailing edge and slides to rest.
|
|
165
|
+
Pop: the outgoing view starts at rest and slides off the trailing edge. */
|
|
166
|
+
.kui-nav-stack__view--entering,
|
|
167
|
+
.kui-nav-stack__view--exiting {
|
|
168
|
+
transform: translateX(100%);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.kui-nav-stack__bottom {
|
|
172
|
+
padding-block-end: var(--_kui-nav-stack-safe-block-end);
|
|
173
|
+
padding-inline: var(--_kui-nav-stack-safe-inline-start)
|
|
174
|
+
var(--_kui-nav-stack-safe-inline-end);
|
|
175
|
+
border-block-start: 1px solid
|
|
176
|
+
var(--_kui-nav-stack-bottom-divider, transparent);
|
|
177
|
+
background: var(--kui-color-surface);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* The live chrome is the containing block of its scroll divider; a
|
|
181
|
+
cross-fading copy stays absolutely positioned. */
|
|
182
|
+
.kui-nav-stack__chrome:not(.kui-nav-stack__chrome-copy) {
|
|
183
|
+
position: relative;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Chrome dividers: with `chromeDividers="scroll"` (the default, no
|
|
187
|
+
attribute) the top chrome draws a line along its bottom edge while the
|
|
188
|
+
active view's content is scrolled beneath it, and the bottom toolbar
|
|
189
|
+
colors its 1px top border while more content lies below it — never when
|
|
190
|
+
the content fits. `wireScrollDividers` reports that state through
|
|
191
|
+
`data-scroll-divider`; `always` draws both lines without it, and `none`
|
|
192
|
+
neither, whatever it reports. The chrome's line is an overlaid 1px pseudo-element
|
|
193
|
+
(whatever the chrome holds never covers it) and the bottom's border is
|
|
194
|
+
always there, so showing either never moves the chrome, the toolbar, or
|
|
195
|
+
the content. A cross-fading chrome copy keeps the line its snapshot had. */
|
|
196
|
+
.kui-nav-stack:not([data-chrome-dividers])
|
|
197
|
+
> .kui-nav-stack__chrome[data-scroll-divider*="b"]::after,
|
|
198
|
+
.kui-nav-stack[data-chrome-dividers="always"] > .kui-nav-stack__chrome::after {
|
|
199
|
+
position: absolute;
|
|
200
|
+
block-size: 1px;
|
|
201
|
+
background: var(--kui-color-neutral-border-normal);
|
|
202
|
+
content: "";
|
|
203
|
+
inset-block-end: 0;
|
|
204
|
+
inset-inline: 0;
|
|
205
|
+
pointer-events: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.kui-nav-stack:not([data-chrome-dividers])
|
|
209
|
+
> .kui-nav-stack__bottom[data-scroll-divider*="t"],
|
|
210
|
+
.kui-nav-stack[data-chrome-dividers="always"] > .kui-nav-stack__bottom {
|
|
211
|
+
--_kui-nav-stack-bottom-divider: var(--kui-color-neutral-border-normal);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@media (prefers-reduced-motion: reduce) {
|
|
215
|
+
.kui-nav-stack__view,
|
|
216
|
+
.kui-nav-stack__chrome,
|
|
217
|
+
.kui-nav-stack__bottom,
|
|
218
|
+
.kui-nav-stack__chrome-copy {
|
|
219
|
+
transition: none;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/* As the only child of a Workbench region (its main area or a panel's
|
|
224
|
+
content, which the Workbench marks with `data-workbench-main` /
|
|
225
|
+
`data-workbench-panel-content`), a NavStack fills the region, so a
|
|
226
|
+
composed toolbar's footer (or the app's own) sits at the region's bottom
|
|
227
|
+
edge rather than under short content. */
|
|
228
|
+
:is([data-workbench-main], [data-workbench-panel-content])
|
|
229
|
+
> [data-component="nav-stack"]:only-child {
|
|
230
|
+
height: 100%;
|
|
231
|
+
--kui-edge-inset-block-start: var(--_kui-workbench-content-edge-block-start);
|
|
232
|
+
--kui-edge-inset-block-end: var(--_kui-workbench-content-edge-block-end);
|
|
233
|
+
--kui-edge-inset-inline-start: var(
|
|
234
|
+
--_kui-workbench-content-edge-inline-start
|
|
235
|
+
);
|
|
236
|
+
--kui-edge-inset-inline-end: var(--_kui-workbench-content-edge-inline-end);
|
|
237
|
+
}
|