@kerfjs/ui 5.0.0-beta.94 → 5.0.0-beta.96
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 +99 -57
- package/ai/component-catalog.json +1328 -94
- package/ai/component-composition-rules.json +11 -0
- package/ai/component-composition.d.ts +3 -0
- package/ai/component-composition.json +955 -23
- package/ai/component-composition.schema.json +4 -0
- package/ai/components/README.md +12 -0
- package/ai/components/badge.md +6 -2
- package/ai/components/choice-chips.md +80 -0
- package/ai/components/column-track.md +78 -0
- package/ai/components/combobox.md +88 -0
- package/ai/components/content-item.md +2 -0
- package/ai/components/content-swap.md +78 -0
- package/ai/components/corner-status.md +88 -0
- package/ai/components/document-baseline.md +3 -1
- package/ai/components/edge-activity-indicator.md +81 -0
- package/ai/components/file-picker.md +88 -0
- package/ai/components/foundation.md +1 -1
- package/ai/components/framed-list.md +80 -0
- package/ai/components/grid.md +2 -1
- package/ai/components/icon-button.md +82 -0
- package/ai/components/icon-toggle-button.md +80 -0
- package/ai/components/list-action-row.md +19 -7
- package/ai/components/list-item.md +16 -7
- package/ai/components/list.md +5 -2
- package/ai/components/nav-stack.md +2 -1
- package/ai/components/popup-menu.md +2 -2
- package/ai/components/row.md +1 -1
- package/ai/components/select.md +2 -1
- package/ai/components/split-button.md +80 -0
- package/ai/components/split-view.md +1 -1
- package/ai/components/state-banner.md +4 -2
- package/ai/components/summary-row.md +85 -0
- package/ai/components/sunken-panel.md +1 -1
- package/ai/components/surface-scaffold.md +8 -2
- package/ai/components/text.md +3 -0
- package/ai/components/toolbar-control-group.md +4 -2
- package/ai/components/toolbar-text.md +1 -0
- package/ai/components/toolbar.md +1 -0
- package/ai/components/value-table.md +9 -2
- package/ai/components/wa-button-group.md +2 -1
- package/ai/components/wa-button.md +5 -1
- package/ai/public-api-signatures-v1.md +1063 -52
- package/ai/skill.md +57 -53
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/dist/anchored-surface.d.ts +13 -2
- package/dist/anchored-surface.js +1 -1
- package/dist/app-tab.js +1 -1
- package/dist/badge.d.ts +31 -2
- package/dist/badge.js +2 -1
- package/dist/browser/choice-chips.js +3 -0
- package/dist/browser/column-track.js +3 -0
- package/dist/browser/combobox.js +3 -0
- package/dist/browser/content-swap.js +3 -0
- package/dist/browser/corner-status.js +3 -0
- package/dist/browser/edge-activity-indicator.js +3 -0
- package/dist/browser/file-picker.js +3 -0
- package/dist/browser/framed-list.js +3 -0
- package/dist/browser/icon-button.js +4 -0
- package/dist/browser/icon-toggle-button.js +4 -0
- package/dist/browser/list-action-row.js +1 -0
- package/dist/browser/split-button.js +5 -0
- package/dist/browser/summary-row.js +3 -0
- package/dist/catalog-resources.d.ts +1 -0
- package/dist/catalog.d.ts +1 -0
- package/dist/catalog.js +16 -13
- package/dist/catalog.js.map +1 -1
- package/dist/chip.d.ts +1 -0
- package/dist/choice-chips.d.ts +58 -0
- package/dist/choice-chips.js +3 -0
- package/dist/choice-chips.js.map +1 -0
- package/dist/chunk-2MSPNRWJ.js +82 -0
- package/dist/chunk-2MSPNRWJ.js.map +1 -0
- package/dist/{chunk-3PO7JEK7.js → chunk-36TL6BCR.js} +18 -4
- package/dist/chunk-36TL6BCR.js.map +1 -0
- package/dist/{chunk-MORVLMDG.js → chunk-44A6LP54.js} +3 -3
- package/dist/chunk-44A6LP54.js.map +1 -0
- package/dist/{chunk-7QQ3HE47.js → chunk-4LOK4634.js} +7 -3
- package/dist/chunk-4LOK4634.js.map +1 -0
- package/dist/chunk-4UB5Z3ZZ.js +68 -0
- package/dist/chunk-4UB5Z3ZZ.js.map +1 -0
- package/dist/{chunk-PGL6TXFW.js → chunk-6BRRUPJY.js} +6 -2
- package/dist/chunk-6BRRUPJY.js.map +1 -0
- package/dist/{chunk-KAJVVN7Q.js → chunk-6NOLL5KG.js} +2 -2
- package/dist/{chunk-KAJVVN7Q.js.map → chunk-6NOLL5KG.js.map} +1 -1
- package/dist/{chunk-IOS2NXW7.js → chunk-76PWEN5Y.js} +13 -2
- package/dist/chunk-76PWEN5Y.js.map +1 -0
- package/dist/{chunk-B3TROLC2.js → chunk-7IUEBNCO.js} +7 -3
- package/dist/chunk-7IUEBNCO.js.map +1 -0
- package/dist/{chunk-75YOTZ25.js → chunk-AYHC62OZ.js} +10 -6
- package/dist/chunk-AYHC62OZ.js.map +1 -0
- package/dist/{chunk-RZYQFGMM.js → chunk-BBU2SPRE.js} +4 -4
- package/dist/{chunk-RZYQFGMM.js.map → chunk-BBU2SPRE.js.map} +1 -1
- package/dist/{chunk-QCLLBMLA.js → chunk-BU23Z5HZ.js} +37 -12
- package/dist/chunk-BU23Z5HZ.js.map +1 -0
- package/dist/{chunk-BYHGRKC3.js → chunk-CMLPFIC5.js} +3 -1
- package/dist/chunk-CMLPFIC5.js.map +1 -0
- package/dist/{chunk-3XPGJUUQ.js → chunk-D5RGM3XA.js} +3 -2
- package/dist/chunk-D5RGM3XA.js.map +1 -0
- package/dist/chunk-EIET4QLK.js +51 -0
- package/dist/chunk-EIET4QLK.js.map +1 -0
- package/dist/chunk-ETCWQLJV.js +85 -0
- package/dist/chunk-ETCWQLJV.js.map +1 -0
- package/dist/chunk-FDZNYD4C.js +138 -0
- package/dist/chunk-FDZNYD4C.js.map +1 -0
- package/dist/{chunk-XKZPBRU7.js → chunk-FOQK4F3L.js} +25 -5
- package/dist/chunk-FOQK4F3L.js.map +1 -0
- package/dist/{chunk-FL6J644M.js → chunk-GJYQ27C2.js} +4 -2
- package/dist/chunk-GJYQ27C2.js.map +1 -0
- package/dist/{chunk-DL55BSQX.js → chunk-GZE2XVKC.js} +8 -1
- package/dist/chunk-GZE2XVKC.js.map +1 -0
- package/dist/{chunk-YP2G67S7.js → chunk-HO6FU3G7.js} +2 -2
- package/dist/{chunk-YP2G67S7.js.map → chunk-HO6FU3G7.js.map} +1 -1
- package/dist/{chunk-3DXHNLME.js → chunk-IGTWXPTN.js} +25 -8
- package/dist/chunk-IGTWXPTN.js.map +1 -0
- package/dist/chunk-IKS72C6P.js +53 -0
- package/dist/chunk-IKS72C6P.js.map +1 -0
- package/dist/chunk-JYD7G4RG.js +130 -0
- package/dist/chunk-JYD7G4RG.js.map +1 -0
- package/dist/{chunk-LAZLBC2Q.js → chunk-KH4KEMSP.js} +33 -2
- package/dist/chunk-KH4KEMSP.js.map +1 -0
- package/dist/chunk-LL45C7BB.js +122 -0
- package/dist/chunk-LL45C7BB.js.map +1 -0
- package/dist/chunk-M2NRCFRO.js +45 -0
- package/dist/chunk-M2NRCFRO.js.map +1 -0
- package/dist/chunk-MJ5RU6XT.js +173 -0
- package/dist/chunk-MJ5RU6XT.js.map +1 -0
- package/dist/{chunk-GIUOXAVL.js → chunk-P74VXMB6.js} +39 -19
- package/dist/chunk-P74VXMB6.js.map +1 -0
- package/dist/{chunk-TKDDTLG5.js → chunk-PBT3CPPY.js} +31 -3
- package/dist/chunk-PBT3CPPY.js.map +1 -0
- package/dist/chunk-PRG4CL3Q.js +88 -0
- package/dist/chunk-PRG4CL3Q.js.map +1 -0
- package/dist/chunk-QH5KOFNS.js +39 -0
- package/dist/chunk-QH5KOFNS.js.map +1 -0
- package/dist/{chunk-CD5TOO22.js → chunk-QIAPOWHH.js} +2 -2
- package/dist/{chunk-CD5TOO22.js.map → chunk-QIAPOWHH.js.map} +1 -1
- package/dist/chunk-QQ3TTWFH.js +29 -0
- package/dist/chunk-QQ3TTWFH.js.map +1 -0
- package/dist/chunk-QYMJHS4K.js +36 -0
- package/dist/chunk-QYMJHS4K.js.map +1 -0
- package/dist/chunk-R42D2BAO.js +44 -0
- package/dist/chunk-R42D2BAO.js.map +1 -0
- package/dist/chunk-S2XULQEK.js +52 -0
- package/dist/chunk-S2XULQEK.js.map +1 -0
- package/dist/{chunk-NMWDHZVM.js → chunk-S4Y3YTAI.js} +2 -2
- package/dist/{chunk-NMWDHZVM.js.map → chunk-S4Y3YTAI.js.map} +1 -1
- package/dist/{chunk-O27D24CA.js → chunk-TDMHA7C3.js} +3 -2
- package/dist/chunk-TDMHA7C3.js.map +1 -0
- package/dist/chunk-U6QYTMDB.js +85 -0
- package/dist/chunk-U6QYTMDB.js.map +1 -0
- package/dist/{chunk-QQICWWNX.js → chunk-V6W56V3N.js} +18 -7
- package/dist/chunk-V6W56V3N.js.map +1 -0
- package/dist/chunk-W4IK7AWD.js +73 -0
- package/dist/chunk-W4IK7AWD.js.map +1 -0
- package/dist/{chunk-TNG3XKHB.js → chunk-Y3LC7JQO.js} +26 -8
- package/dist/chunk-Y3LC7JQO.js.map +1 -0
- package/dist/chunk-YWQGSUF2.js +84 -0
- package/dist/chunk-YWQGSUF2.js.map +1 -0
- package/dist/{chunk-MTCTX25G.js → chunk-YXOMI7ES.js} +1 -1
- package/dist/chunk-YXOMI7ES.js.map +1 -0
- package/dist/chunk-ZKKO4MHC.js +25 -0
- package/dist/chunk-ZKKO4MHC.js.map +1 -0
- package/dist/collapsible-panel.d.ts +10 -3
- package/dist/collapsible-panel.js +8 -5
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/column-track.d.ts +41 -0
- package/dist/column-track.js +4 -0
- package/dist/column-track.js.map +1 -0
- package/dist/combobox.d.ts +40 -0
- package/dist/combobox.js +3 -0
- package/dist/combobox.js.map +1 -0
- package/dist/content-item.d.ts +21 -4
- package/dist/content-item.js +1 -1
- package/dist/content-swap.d.ts +34 -0
- package/dist/content-swap.js +3 -0
- package/dist/content-swap.js.map +1 -0
- package/dist/corner-status.d.ts +36 -0
- package/dist/corner-status.js +3 -0
- package/dist/corner-status.js.map +1 -0
- package/dist/edge-activity-indicator.d.ts +28 -0
- package/dist/edge-activity-indicator.js +3 -0
- package/dist/edge-activity-indicator.js.map +1 -0
- package/dist/extension-attributes-mu8MFUl0.d.ts +13 -0
- package/dist/file-picker.d.ts +47 -0
- package/dist/file-picker.js +3 -0
- package/dist/file-picker.js.map +1 -0
- package/dist/framed-list.d.ts +47 -0
- package/dist/framed-list.js +4 -0
- package/dist/framed-list.js.map +1 -0
- package/dist/grid.js +1 -1
- package/dist/help-tags-register.js +1 -1
- package/dist/icon-button.d.ts +46 -0
- package/dist/icon-button.js +6 -0
- package/dist/icon-button.js.map +1 -0
- package/dist/icon-toggle-button.d.ts +42 -0
- package/dist/icon-toggle-button.js +6 -0
- package/dist/icon-toggle-button.js.map +1 -0
- package/dist/index.d.ts +23 -6
- package/dist/index.js +44 -27
- package/dist/list-action-row.d.ts +47 -10
- package/dist/list-action-row.js +2 -1
- package/dist/list-header.js +1 -1
- package/dist/list-inset-text.js +1 -1
- package/dist/list-item.d.ts +10 -2
- package/dist/list-item.js +1 -1
- package/dist/list.d.ts +37 -5
- package/dist/list.js +1 -1
- package/dist/nav-stack.d.ts +1 -0
- package/dist/nav-stack.js +2 -1
- package/dist/pane.js +2 -1
- package/dist/popup-menu-register.js +18 -1
- package/dist/popup-menu-register.js.map +1 -1
- package/dist/popup-menu.d.ts +28 -3
- package/dist/popup-menu.js +1 -1
- package/dist/row.d.ts +6 -2
- package/dist/row.js +1 -1
- package/dist/select-register.js +1 -1
- package/dist/select.js +2 -1
- package/dist/split-button.d.ts +57 -0
- package/dist/split-button.js +7 -0
- package/dist/split-button.js.map +1 -0
- package/dist/split-view.d.ts +20 -2
- package/dist/split-view.js +22 -1
- package/dist/split-view.js.map +1 -1
- package/dist/state-banner.d.ts +17 -2
- package/dist/state-banner.js +2 -1
- package/dist/styles/badge.css +27 -0
- package/dist/styles/catalog/components/catalog-example.css +7 -3
- package/dist/styles/choice-chips.css +154 -0
- package/dist/styles/column-track.css +57 -0
- package/dist/styles/combobox.css +113 -0
- package/dist/styles/components/actions/icon-button/icon-button.css +22 -0
- package/dist/styles/components/actions/icon-toggle-button/icon-toggle-button.css +83 -0
- package/dist/styles/components/actions/popup-menu/popup-menu.css +69 -1
- package/dist/styles/components/actions/split-button/split-button.css +95 -0
- package/dist/styles/components/actions/toolbar/toolbar.css +16 -9
- package/dist/styles/components/actions/toolbar-control-group/toolbar-control-group.css +144 -48
- package/dist/styles/components/actions/toolbar-text/toolbar-text.css +23 -0
- package/dist/styles/components/collections/framed-list/framed-list.css +47 -0
- package/dist/styles/components/collections/list/list.css +44 -0
- package/dist/styles/components/collections/list-action-row/list-action-row.css +39 -0
- package/dist/styles/components/collections/list-item/list-item.css +45 -0
- package/dist/styles/components/collections/summary-row/summary-row.css +161 -0
- package/dist/styles/components/data-display/value-table/value-table.css +76 -0
- package/dist/styles/components/feedback/badge/badge.css +27 -0
- package/dist/styles/components/feedback/corner-status/corner-status.css +60 -0
- package/dist/styles/components/feedback/edge-activity-indicator/edge-activity-indicator.css +127 -0
- package/dist/styles/components/feedback/state-banner/state-banner.css +38 -0
- package/dist/styles/components/forms/choice-chips/choice-chips.css +154 -0
- package/dist/styles/components/forms/combobox/combobox.css +113 -0
- package/dist/styles/components/forms/file-picker/file-picker.css +81 -0
- package/dist/styles/components/forms/token-search-field/token-search-field.css +12 -1
- package/dist/styles/components/layout/column-track/column-track.css +57 -0
- package/dist/styles/components/layout/content-swap/content-swap.css +154 -0
- package/dist/styles/components/layout/pane/pane.css +2 -8
- package/dist/styles/components/layout/workbench/workbench.css +2 -8
- package/dist/styles/components/navigation/tab-navigator/tab-navigator.css +1 -4
- package/dist/styles/components/surfaces/content-item/content-item.css +18 -0
- package/dist/styles/components/surfaces/sunken-panel/sunken-panel.css +1 -4
- package/dist/styles/components/surfaces/surface-scaffold/surface-scaffold.css +119 -0
- package/dist/styles/components/typography/text/text.css +62 -0
- package/dist/styles/content-item.css +18 -0
- package/dist/styles/content-swap.css +154 -0
- package/dist/styles/corner-status.css +60 -0
- package/dist/styles/document.css +65 -0
- package/dist/styles/edge-activity-indicator.css +127 -0
- package/dist/styles/file-picker.css +81 -0
- package/dist/styles/foundation.css +8 -0
- package/dist/styles/framed-list.css +47 -0
- package/dist/styles/icon-button.css +22 -0
- package/dist/styles/icon-toggle-button.css +83 -0
- package/dist/styles/list-action-row.css +39 -0
- package/dist/styles/list-item.css +45 -0
- package/dist/styles/list.css +44 -0
- package/dist/styles/pane.css +2 -8
- package/dist/styles/popup-menu.css +69 -1
- package/dist/styles/split-button.css +95 -0
- package/dist/styles/state-banner.css +38 -0
- package/dist/styles/styles.css +12 -0
- package/dist/styles/summary-row.css +161 -0
- package/dist/styles/sunken-panel.css +1 -4
- package/dist/styles/surface-scaffold.css +119 -0
- package/dist/styles/tab-navigator.css +1 -4
- package/dist/styles/text.css +62 -0
- package/dist/styles/token-search-field.css +12 -1
- package/dist/styles/toolbar-control-group.css +144 -48
- package/dist/styles/toolbar-text.css +23 -0
- package/dist/styles/toolbar.css +16 -9
- package/dist/styles/value-table.css +76 -0
- package/dist/styles/webawesome.css +4 -4
- package/dist/styles/workbench.css +2 -8
- package/dist/summary-row.d.ts +56 -0
- package/dist/summary-row.js +4 -0
- package/dist/summary-row.js.map +1 -0
- package/dist/sunken-panel.d.ts +8 -1
- package/dist/sunken-panel.js +2 -1
- package/dist/surface-scaffold-register.js +7 -1
- package/dist/surface-scaffold-register.js.map +1 -1
- package/dist/surface-scaffold.d.ts +75 -2
- package/dist/surface-scaffold.js +2 -1
- package/dist/tab-navigator.js +4 -1
- package/dist/tab-navigator.js.map +1 -1
- package/dist/text.d.ts +39 -4
- package/dist/text.js +1 -1
- package/dist/toolbar-control-group.d.ts +8 -1
- package/dist/toolbar-control-group.js +1 -1
- package/dist/toolbar-text.d.ts +14 -1
- package/dist/toolbar-text.js +1 -1
- package/dist/toolbar.d.ts +14 -3
- package/dist/toolbar.js +1 -1
- package/dist/value-table.d.ts +20 -2
- package/dist/value-table.js +1 -1
- package/dist/wire-catalog.d.ts +1 -0
- package/dist/wire-comboboxes.d.ts +26 -0
- package/dist/wire-comboboxes.js +3 -0
- package/dist/wire-comboboxes.js.map +1 -0
- package/dist/wire-corner-status.d.ts +11 -0
- package/dist/wire-corner-status.js +3 -0
- package/dist/wire-corner-status.js.map +1 -0
- package/dist/wire-file-pickers.d.ts +26 -0
- package/dist/wire-file-pickers.js +3 -0
- package/dist/wire-file-pickers.js.map +1 -0
- package/dist/wire-list-reorder.d.ts +41 -0
- package/dist/wire-list-reorder.js +3 -0
- package/dist/wire-list-reorder.js.map +1 -0
- package/dist/wire-token-search-fields.js +1 -1
- package/dist/workbench.d.ts +1 -0
- package/dist/workbench.js +2 -1
- package/docs/accessibility.md +45 -2
- package/docs/anchored-surface.md +15 -7
- package/docs/app-layouts.md +2 -1
- package/docs/catalog.md +41 -0
- package/docs/component-contract.md +26 -6
- package/docs/component-selection.md +149 -13
- package/docs/design/templates/choice-chips/color-palette-dark.svg +1 -0
- package/docs/design/templates/choice-chips/color-palette.svg +1 -0
- package/docs/design/templates/choice-chips/compact-icons-dark.svg +1 -0
- package/docs/design/templates/choice-chips/compact-icons.svg +1 -0
- package/docs/design/templates/choice-chips-dark.svg +1 -0
- package/docs/design/templates/choice-chips.svg +1 -0
- package/docs/design/templates/list-action-row/trailing-menu-dark.svg +1 -0
- package/docs/design/templates/list-action-row/trailing-menu.svg +1 -0
- package/docs/design/templates/list-action-row-dark.svg +1 -1
- package/docs/design/templates/list-action-row.svg +1 -1
- package/docs/design/templates/state-banner/strip-dark.svg +1 -0
- package/docs/design/templates/state-banner/strip.svg +1 -0
- package/docs/design/templates/state-banner-dark.svg +1 -1
- package/docs/design/templates/state-banner.svg +1 -1
- package/docs/design/templates.md +1 -1
- package/docs/document-baseline.md +51 -0
- package/docs/layout.md +52 -1
- package/docs/split-view.md +20 -2
- package/docs/sunken-panel.md +13 -0
- package/docs/surface-scaffold.md +66 -1
- package/docs/ux-demo.md +1 -0
- package/docs/webawesome-theme.md +6 -2
- package/llms.txt +125 -16
- package/package.json +89 -1
- package/vite-ux-review.d.mts +39 -0
- package/vite-ux-review.mjs +75 -20
- package/dist/chunk-3DXHNLME.js.map +0 -1
- package/dist/chunk-3PO7JEK7.js.map +0 -1
- package/dist/chunk-3XPGJUUQ.js.map +0 -1
- package/dist/chunk-4Y4L5YEI.js +0 -66
- package/dist/chunk-4Y4L5YEI.js.map +0 -1
- package/dist/chunk-75YOTZ25.js.map +0 -1
- package/dist/chunk-7QQ3HE47.js.map +0 -1
- package/dist/chunk-A7DYEERU.js +0 -59
- package/dist/chunk-A7DYEERU.js.map +0 -1
- package/dist/chunk-B3TROLC2.js.map +0 -1
- package/dist/chunk-BYHGRKC3.js.map +0 -1
- package/dist/chunk-DL55BSQX.js.map +0 -1
- package/dist/chunk-FL6J644M.js.map +0 -1
- package/dist/chunk-GIUOXAVL.js.map +0 -1
- package/dist/chunk-IOS2NXW7.js.map +0 -1
- package/dist/chunk-J3AWE5I4.js +0 -50
- package/dist/chunk-J3AWE5I4.js.map +0 -1
- package/dist/chunk-LAZLBC2Q.js.map +0 -1
- package/dist/chunk-MORVLMDG.js.map +0 -1
- package/dist/chunk-MTCTX25G.js.map +0 -1
- package/dist/chunk-O27D24CA.js.map +0 -1
- package/dist/chunk-PGL6TXFW.js.map +0 -1
- package/dist/chunk-QCLLBMLA.js.map +0 -1
- package/dist/chunk-QQICWWNX.js.map +0 -1
- package/dist/chunk-TKDDTLG5.js.map +0 -1
- package/dist/chunk-TNG3XKHB.js.map +0 -1
- package/dist/chunk-XKZPBRU7.js.map +0 -1
package/dist/content-item.d.ts
CHANGED
|
@@ -2,8 +2,17 @@ import * as kerfjs from 'kerfjs';
|
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
3
|
import { S as SemanticTone } from './semantic-tone-CdW013KF.js';
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Base surface treatment, semantic status colors, or `brand-loud`: the solid
|
|
7
|
+
* brand fill with its on-loud foreground (a transcript's own messages).
|
|
8
|
+
*/
|
|
9
|
+
type ContentItemAppearance = 'transparent' | 'surface' | 'brand-loud' | SemanticTone;
|
|
10
|
+
/**
|
|
11
|
+
* A chat-bubble layout for transcripts: the item fits its content up to 80%
|
|
12
|
+
* of the row and sits at the `start` (other participants) or `end` (the
|
|
13
|
+
* person's own messages) of the line.
|
|
14
|
+
*/
|
|
15
|
+
type ContentItemBubble = 'start' | 'end';
|
|
7
16
|
/** Whether the item's always-reserved 1px border is transparent or visible. */
|
|
8
17
|
type ContentItemFrame = 'none' | 'framed';
|
|
9
18
|
/** Corner shape: the 12px rounded rectangle or the 22px pill. */
|
|
@@ -14,11 +23,13 @@ type ContentItemRootAttributes = Readonly<Record<`data-${string}`, string | unde
|
|
|
14
23
|
'data-component'?: never;
|
|
15
24
|
'data-appearance'?: never;
|
|
16
25
|
'data-outlined'?: never;
|
|
26
|
+
'data-bubble'?: never;
|
|
17
27
|
}>;
|
|
18
28
|
type ContentItemInteractiveRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
19
29
|
'data-component'?: never;
|
|
20
30
|
'data-appearance'?: never;
|
|
21
31
|
'data-outlined'?: never;
|
|
32
|
+
'data-bubble'?: never;
|
|
22
33
|
'data-action'?: never;
|
|
23
34
|
'data-item-id'?: never;
|
|
24
35
|
'data-interactive'?: never;
|
|
@@ -46,6 +57,12 @@ interface ContentItemBaseProps {
|
|
|
46
57
|
flush?: boolean;
|
|
47
58
|
/** Corner shape. Defaults to `rounded`. */
|
|
48
59
|
shape?: ContentItemShape;
|
|
60
|
+
/**
|
|
61
|
+
* Lay the item out as a chat bubble: content width up to 80% of the row,
|
|
62
|
+
* at the `start` or `end` of the line. Pair `end` with `brand-loud` for the
|
|
63
|
+
* person's own messages. Omit for an ordinary full-width item.
|
|
64
|
+
*/
|
|
65
|
+
bubble?: ContentItemBubble;
|
|
49
66
|
/** Native hover tooltip. */
|
|
50
67
|
title?: string;
|
|
51
68
|
/**
|
|
@@ -94,6 +111,6 @@ type ContentItemProps = ContentItemBaseProps & ({
|
|
|
94
111
|
* border (transparent unless `framed`), 8px padding, and a rounded or pill
|
|
95
112
|
* radius. It owns that whole geometry, so wrappers must not add more.
|
|
96
113
|
*/
|
|
97
|
-
declare function ContentItem({ appearance, children, frame, flush, shape, title, ariaLabel, focusTarget, outlined, tabIndex, interactive, action, itemId, selectionMode, selected, disabled, className, rootAttributes, slot, }: ContentItemProps): kerfjs.SafeHtml;
|
|
114
|
+
declare function ContentItem({ appearance, children, frame, flush, shape, bubble, title, ariaLabel, focusTarget, outlined, tabIndex, interactive, action, itemId, selectionMode, selected, disabled, className, rootAttributes, slot, }: ContentItemProps): kerfjs.SafeHtml;
|
|
98
115
|
|
|
99
|
-
export { ContentItem, type ContentItemAppearance, type ContentItemFrame, type ContentItemProps, type ContentItemSelectionMode, type ContentItemShape, SemanticTone };
|
|
116
|
+
export { ContentItem, type ContentItemAppearance, type ContentItemBubble, type ContentItemFrame, type ContentItemProps, type ContentItemSelectionMode, type ContentItemShape, SemanticTone };
|
package/dist/content-item.js
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
|
|
4
|
+
type ContentSwapSide = 'a' | 'b';
|
|
5
|
+
type ContentSwapTransition = 'none' | 'crossfade' | 'push';
|
|
6
|
+
/** `forward` pushes the incoming side in from the inline end; `backward` from the start. */
|
|
7
|
+
type ContentSwapDirection = 'forward' | 'backward';
|
|
8
|
+
interface ContentSwapProps {
|
|
9
|
+
/** Which side is shown. Changing it runs the transition. */
|
|
10
|
+
active: ContentSwapSide;
|
|
11
|
+
a: KerfUiContent;
|
|
12
|
+
b: KerfUiContent;
|
|
13
|
+
/** `push` (default) slides the sides, `crossfade` fades them, `none` swaps instantly. */
|
|
14
|
+
transition?: ContentSwapTransition;
|
|
15
|
+
/** Push direction; mirrors in right-to-left documents. Default `forward`. */
|
|
16
|
+
direction?: ContentSwapDirection;
|
|
17
|
+
/** Accessible name; when set, the swap is a named region. */
|
|
18
|
+
label?: string;
|
|
19
|
+
/** Span the full width of its slot (a dialog label or footer) instead of its content. */
|
|
20
|
+
fill?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Native named-slot assignment, such as a dialog's `label` or `footer`. */
|
|
23
|
+
slot?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Two content sides sharing one cell (a dialog body that steps to a second
|
|
27
|
+
* page, a footer whose actions change), with the swap animated in place.
|
|
28
|
+
* Kerf owns the motion, the reduced-motion fallback, and the inactive side's
|
|
29
|
+
* `inert`/`aria-hidden`. Use `NavStack` for full views with their own
|
|
30
|
+
* toolbars.
|
|
31
|
+
*/
|
|
32
|
+
declare function ContentSwap({ active, a, b, transition, direction, label, fill, className, slot, }: ContentSwapProps): kerfjs.SafeHtml;
|
|
33
|
+
|
|
34
|
+
export { ContentSwap, type ContentSwapDirection, type ContentSwapProps, type ContentSwapSide, type ContentSwapTransition };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"content-swap.js"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
|
|
4
|
+
/** The viewport corner a CornerStatus occupies, in logical (RTL-aware) terms. */
|
|
5
|
+
type CornerStatusPlacement = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
6
|
+
/** Where a CornerStatus appears: the top layer, or in flow. */
|
|
7
|
+
type CornerStatusPresentation = 'overlay' | 'embedded';
|
|
8
|
+
interface CornerStatusProps {
|
|
9
|
+
/** The root id: what a `popovertarget` control or `getElementById` names. */
|
|
10
|
+
id?: string;
|
|
11
|
+
/** One or more `StateBanner`s, typically `urgency="status"`; they stack. */
|
|
12
|
+
children: KerfUiContent;
|
|
13
|
+
/** Viewport corner; defaults to `bottom-end`. */
|
|
14
|
+
placement?: CornerStatusPlacement;
|
|
15
|
+
/**
|
|
16
|
+
* `overlay` (default) is a native `popover="manual"` host in the top layer,
|
|
17
|
+
* opened by `wireCornerStatus`: above fixed and z-indexed page chrome,
|
|
18
|
+
* never focused, and with no close button, light dismiss, or Escape.
|
|
19
|
+
* `embedded` renders the same stack in flow for a catalog or inline use.
|
|
20
|
+
*/
|
|
21
|
+
presentation?: CornerStatusPresentation;
|
|
22
|
+
className?: string;
|
|
23
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
24
|
+
slot?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A non-dismissible status surface pinned to a viewport corner — "Loading…",
|
|
28
|
+
* "Updating tickets… 3 of 12" — for app-level progress that has no better
|
|
29
|
+
* home beside the affected work. The application owns its lifetime: render it
|
|
30
|
+
* while the work runs and remove it when the work ends. It carries no role of
|
|
31
|
+
* its own; the composed `StateBanner` is the polite live region. Use a toast
|
|
32
|
+
* for transient, dismissible confirmation instead.
|
|
33
|
+
*/
|
|
34
|
+
declare function CornerStatus({ id, children, placement, presentation, className, slot, }: CornerStatusProps): kerfjs.SafeHtml;
|
|
35
|
+
|
|
36
|
+
export { CornerStatus, type CornerStatusPlacement, type CornerStatusPresentation, type CornerStatusProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"corner-status.js"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { S as SemanticTone } from './semantic-tone-CdW013KF.js';
|
|
3
|
+
|
|
4
|
+
interface EdgeActivityIndicatorProps {
|
|
5
|
+
/** Whether work is in progress; shows the strip and runs its wave. */
|
|
6
|
+
busy: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Optional status shown in a small pill hanging from the edge while busy.
|
|
9
|
+
* The pill is a polite live region; omit it for a purely decorative strip.
|
|
10
|
+
*/
|
|
11
|
+
message?: string;
|
|
12
|
+
/** Strip and pill color; defaults to `info`. */
|
|
13
|
+
tone?: SemanticTone;
|
|
14
|
+
/** Clear the device's top safe area (default) or sit at the very edge. */
|
|
15
|
+
inset?: 'safe-area' | 'none';
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* A layout-free activity strip pinned to the top edge of the viewport: a row
|
|
20
|
+
* of thin bars that ripple in a traveling wave while `busy`, plus an optional
|
|
21
|
+
* hanging status pill. It allocates no layout, ignores the pointer, and its
|
|
22
|
+
* bars are hidden from assistive technology; only the pill announces.
|
|
23
|
+
* Kerf owns the motion: it scales in from the edge and, under reduced motion,
|
|
24
|
+
* only fades.
|
|
25
|
+
*/
|
|
26
|
+
declare function EdgeActivityIndicator({ busy, message, tone, inset, className, }: EdgeActivityIndicatorProps): kerfjs.SafeHtml;
|
|
27
|
+
|
|
28
|
+
export { EdgeActivityIndicator, type EdgeActivityIndicatorProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"edge-activity-indicator.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Non-widget roles an application may give a layout root: landmarks, named
|
|
3
|
+
* regions, groups, and live regions. Widget roles (button, grid, listbox, …)
|
|
4
|
+
* promise keyboard behavior a layout primitive does not provide.
|
|
5
|
+
*/
|
|
6
|
+
declare const STRUCTURAL_ROOT_ROLES: readonly ["region", "group", "list", "feed", "log", "status", "note", "article", "navigation", "complementary", "search", "form", "presentation", "none"];
|
|
7
|
+
type StructuralRootRole = (typeof STRUCTURAL_ROOT_ROLES)[number];
|
|
8
|
+
/** Safe `data-*`, `aria-*`, and structural `role` metadata on a layout root. */
|
|
9
|
+
type StructuralRootAttributes = Readonly<Record<`data-${string}` | `aria-${string}`, string | undefined> & {
|
|
10
|
+
role?: StructuralRootRole;
|
|
11
|
+
}>;
|
|
12
|
+
|
|
13
|
+
export type { StructuralRootAttributes as S };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { SafeHtml } from 'kerfjs';
|
|
2
|
+
|
|
3
|
+
interface FileInputProps {
|
|
4
|
+
/** Accepted types, as the native `accept` attribute (`.png,image/*`). */
|
|
5
|
+
accept?: string;
|
|
6
|
+
/** Allow several files at once. */
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
/** Form field name of the native file input. */
|
|
9
|
+
name?: string;
|
|
10
|
+
/** Identifies this picker in `wireFilePickers` reports. */
|
|
11
|
+
pickerId?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
interface FilePickerTriggerProps extends FileInputProps {
|
|
16
|
+
/** Visible trigger text, such as "Add". */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Accessible name of the file input when it should say more than `label`. */
|
|
19
|
+
accessibleLabel?: string;
|
|
20
|
+
/** Optional decorative leading icon, normally an unsized LucideIcon. */
|
|
21
|
+
icon?: SafeHtml;
|
|
22
|
+
}
|
|
23
|
+
interface FileDropZoneProps extends FileInputProps {
|
|
24
|
+
/** Primary copy, such as "Drop attachments here or browse". */
|
|
25
|
+
title: string;
|
|
26
|
+
/** Optional secondary copy, such as accepted types or a size limit. */
|
|
27
|
+
detail?: string;
|
|
28
|
+
/** Optional decorative icon above the copy, normally an unsized LucideIcon. */
|
|
29
|
+
icon?: SafeHtml;
|
|
30
|
+
/** Accessible name of the file input when it should say more than `title`. */
|
|
31
|
+
accessibleLabel?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A compact, link-toned trigger that opens the native file chooser: a label
|
|
35
|
+
* around a visually hidden `<input type="file">`, so a click or keyboard
|
|
36
|
+
* activation reaches the input without script. Report choices with
|
|
37
|
+
* `wireFilePickers`.
|
|
38
|
+
*/
|
|
39
|
+
declare function FilePickerTrigger(props: FilePickerTriggerProps): SafeHtml;
|
|
40
|
+
/**
|
|
41
|
+
* A dashed drop target that also opens the file chooser when clicked. While
|
|
42
|
+
* files are dragged over it, `wireFilePickers` sets `data-dragging` and Kerf
|
|
43
|
+
* highlights it; dropped and chosen files are reported the same way.
|
|
44
|
+
*/
|
|
45
|
+
declare function FileDropZone(props: FileDropZoneProps): SafeHtml;
|
|
46
|
+
|
|
47
|
+
export { FileDropZone, type FileDropZoneProps, FilePickerTrigger, type FilePickerTriggerProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"file-picker.js"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
|
+
|
|
4
|
+
/** The frame's fill: the lowered surface (as `ValueTable`), or the page surface. */
|
|
5
|
+
type FramedListSurface = 'lowered' | 'base';
|
|
6
|
+
type FramedListRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
7
|
+
'data-component'?: never;
|
|
8
|
+
'data-surface'?: never;
|
|
9
|
+
}>;
|
|
10
|
+
type FramedListRowRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
11
|
+
'data-component'?: never;
|
|
12
|
+
'data-highlighted'?: never;
|
|
13
|
+
}>;
|
|
14
|
+
interface FramedListProps {
|
|
15
|
+
/** `FramedListRow` children. */
|
|
16
|
+
children: KerfUiContent;
|
|
17
|
+
/** Accessible name for the list, when no heading names it. */
|
|
18
|
+
label?: string;
|
|
19
|
+
/** Frame fill; defaults to `lowered`, matching `ValueTable`. */
|
|
20
|
+
surface?: FramedListSurface;
|
|
21
|
+
id?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
/** Safe `data-*` metadata; FramedList-owned markers stay protected. */
|
|
24
|
+
rootAttributes?: FramedListRootAttributes;
|
|
25
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
26
|
+
slot?: string;
|
|
27
|
+
}
|
|
28
|
+
interface FramedListRowProps {
|
|
29
|
+
/** Arbitrary row content: a `Row` of copy and controls, a keycap, … */
|
|
30
|
+
children: KerfUiContent;
|
|
31
|
+
/** Tint the row (the row being edited or the current item). */
|
|
32
|
+
highlighted?: boolean;
|
|
33
|
+
id?: string;
|
|
34
|
+
className?: string;
|
|
35
|
+
/** Safe `data-*` metadata; FramedListRow-owned markers stay protected. */
|
|
36
|
+
rootAttributes?: FramedListRowRootAttributes;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* An inset-grouped list (the settings-list pattern): one rounded, bordered
|
|
40
|
+
* frame with 1px dividers between rows of arbitrary content. `ValueTable` is
|
|
41
|
+
* the same frame for label/value facts; this one takes any row content.
|
|
42
|
+
*/
|
|
43
|
+
declare function FramedList({ children, label, surface, id, className, rootAttributes, slot, }: FramedListProps): kerfjs.SafeHtml;
|
|
44
|
+
/** One row of a `FramedList`; it owns the row inset and the divider above it. */
|
|
45
|
+
declare function FramedListRow({ children, highlighted, id, className, rootAttributes, }: FramedListRowProps): kerfjs.SafeHtml;
|
|
46
|
+
|
|
47
|
+
export { FramedList, type FramedListProps, FramedListRow, type FramedListRowProps, type FramedListSurface };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"framed-list.js"}
|
package/dist/grid.js
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { LucideNode } from './lucide-icon.js';
|
|
3
|
+
import 'lucide';
|
|
4
|
+
import './css-values.js';
|
|
5
|
+
|
|
6
|
+
type IconButtonAppearance = 'accent' | 'filled' | 'outlined' | 'filled-outlined' | 'plain';
|
|
7
|
+
type IconButtonVariant = 'neutral' | 'brand' | 'success' | 'warning' | 'danger';
|
|
8
|
+
type IconButtonSize = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
9
|
+
type IconButtonRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
10
|
+
'data-component'?: never;
|
|
11
|
+
'data-action'?: never;
|
|
12
|
+
}>;
|
|
13
|
+
interface IconButtonProps {
|
|
14
|
+
/** The Lucide-compatible icon node shown alone in the button. */
|
|
15
|
+
icon: LucideNode;
|
|
16
|
+
/** The icon's stable name, as `LucideIcon` takes it. */
|
|
17
|
+
iconName: string;
|
|
18
|
+
/** Accessible name; the button has no visible text, so it is required. */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Delegated `data-action` the application handles. */
|
|
21
|
+
action?: string;
|
|
22
|
+
/** Web Awesome appearance; defaults to Web Awesome's own. */
|
|
23
|
+
appearance?: IconButtonAppearance;
|
|
24
|
+
/** Web Awesome semantic variant; defaults to Web Awesome's own. */
|
|
25
|
+
variant?: IconButtonVariant;
|
|
26
|
+
/** Web Awesome control size; the square follows its control height. */
|
|
27
|
+
size?: IconButtonSize;
|
|
28
|
+
type?: 'button' | 'submit' | 'reset';
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
id?: string;
|
|
31
|
+
className?: string;
|
|
32
|
+
/** Safe `data-*` metadata; `data-component` and `data-action` stay owned. */
|
|
33
|
+
rootAttributes?: IconButtonRootAttributes;
|
|
34
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
35
|
+
slot?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* An icon-only Web Awesome button with a `LucideIcon`: square, one form
|
|
39
|
+
* control height on each side, so it matches an adjacent `wa-input` or
|
|
40
|
+
* `Select`. Web Awesome squares a button only for a lone `wa-icon`; this is
|
|
41
|
+
* the Kerf form for Lucide icons. Register `wa-button` once
|
|
42
|
+
* (`@awesome.me/webawesome/dist/components/button/button.js`).
|
|
43
|
+
*/
|
|
44
|
+
declare function IconButton({ icon, iconName, label, action, appearance, variant, size, type, disabled, id, className, rootAttributes, slot, }: IconButtonProps): kerfjs.SafeHtml;
|
|
45
|
+
|
|
46
|
+
export { IconButton, type IconButtonAppearance, type IconButtonProps, type IconButtonSize, type IconButtonVariant };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"icon-button.js"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as kerfjs from 'kerfjs';
|
|
2
|
+
import { LucideNode } from './lucide-icon.js';
|
|
3
|
+
import 'lucide';
|
|
4
|
+
import './css-values.js';
|
|
5
|
+
|
|
6
|
+
/** Corner shape: fully round `pill` (default) or a softer `rounded` square. */
|
|
7
|
+
type IconToggleButtonShape = 'pill' | 'rounded';
|
|
8
|
+
type IconToggleButtonRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
9
|
+
'data-component'?: never;
|
|
10
|
+
'data-action'?: never;
|
|
11
|
+
'data-shape'?: never;
|
|
12
|
+
}>;
|
|
13
|
+
interface IconToggleButtonProps {
|
|
14
|
+
/** The Lucide-compatible icon node. */
|
|
15
|
+
icon: LucideNode;
|
|
16
|
+
/** The icon's stable name, as `LucideIcon` takes it. */
|
|
17
|
+
iconName: string;
|
|
18
|
+
/** Accessible name and hover help tag; required because no text is shown. */
|
|
19
|
+
label: string;
|
|
20
|
+
/** Pressed state, exposed as `aria-pressed`; the application owns it. */
|
|
21
|
+
pressed: boolean;
|
|
22
|
+
/** Delegated `data-action` the application handles to flip `pressed`. */
|
|
23
|
+
action?: string;
|
|
24
|
+
shape?: IconToggleButtonShape;
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
id?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
/** Safe `data-*` metadata; IconToggleButton-owned markers stay protected. */
|
|
29
|
+
rootAttributes?: IconToggleButtonRootAttributes;
|
|
30
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
31
|
+
slot?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A standalone, icon-only toggle: a native `<button aria-pressed>` with the
|
|
35
|
+
* geometry and pressed chrome of a single contained `ToolbarControlGroup`
|
|
36
|
+
* (44px, a 2px-inset face that rises when pressed), for content and pane
|
|
37
|
+
* footers where no `Toolbar` belongs. Inside a toolbar, use a
|
|
38
|
+
* `ToolbarControlGroup` instead.
|
|
39
|
+
*/
|
|
40
|
+
declare function IconToggleButton({ icon, iconName, label, pressed, action, shape, disabled, id, className, rootAttributes, slot, }: IconToggleButtonProps): kerfjs.SafeHtml;
|
|
41
|
+
|
|
42
|
+
export { IconToggleButton, type IconToggleButtonProps, type IconToggleButtonShape };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"icon-toggle-button.js"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,27 +1,42 @@
|
|
|
1
1
|
export { FloatingToolbar, FloatingToolbarPosition, FloatingToolbarProps } from './floating-toolbar.js';
|
|
2
|
-
export {
|
|
2
|
+
export { IconButton, IconButtonAppearance, IconButtonProps, IconButtonSize, IconButtonVariant } from './icon-button.js';
|
|
3
|
+
export { IconToggleButton, IconToggleButtonProps, IconToggleButtonShape } from './icon-toggle-button.js';
|
|
4
|
+
export { PopupMenu, PopupMenuAnchor, PopupMenuDivider, PopupMenuElement, PopupMenuEntry, PopupMenuHeading, PopupMenuItem, PopupMenuPlacement, PopupMenuProps, closePopupMenu, openPopupMenu, openPopupMenuAt } from './popup-menu.js';
|
|
5
|
+
export { SplitButton, SplitButtonProps, SplitButtonTone } from './split-button.js';
|
|
3
6
|
export { Toolbar, ToolbarConfig, ToolbarPosition, ToolbarProps } from './toolbar.js';
|
|
4
7
|
export { ToolbarActionLink, ToolbarActionLinkProps, ToolbarControlGroup, ToolbarControlGroupAppearance, ToolbarControlGroupButtonAppearance, ToolbarControlGroupContent, ToolbarControlGroupDensity, ToolbarControlGroupExpandedOverflow, ToolbarControlGroupMenuInset, ToolbarControlGroupOverflow, ToolbarControlGroupProps, ToolbarControlGroupSelectedChrome, ToolbarControlGroupSelectedTone, ToolbarControlGroupShape, ToolbarControlGroupSize, ToolbarControlGroupTileTone, ToolbarControlGroupTone, ToolbarControlGroupVisibility } from './toolbar-control-group.js';
|
|
5
8
|
export { HeadingLevel, ToolbarText, ToolbarTextProps, ToolbarTextSize, ToolbarTextTone } from './toolbar-text.js';
|
|
6
|
-
export {
|
|
9
|
+
export { FramedList, FramedListProps, FramedListRow, FramedListRowProps, FramedListSurface } from './framed-list.js';
|
|
10
|
+
export { List, ListConfig, ListInset, ListProps, ListSurface } from './list.js';
|
|
7
11
|
export { ListActionRow, ListActionRowProps } from './list-action-row.js';
|
|
8
12
|
export { ListHeader, ListHeaderProps } from './list-header.js';
|
|
9
13
|
export { ListInsetControl, ListInsetControlProps } from './list-inset-control.js';
|
|
10
14
|
export { ListInsetText, ListInsetTextProps } from './list-inset-text.js';
|
|
11
15
|
export { ListItem, ListItemLink, ListItemLinkProps, ListItemProps } from './list-item.js';
|
|
12
|
-
export {
|
|
16
|
+
export { SummaryRow, SummaryRowListEdge, SummaryRowPresentation, SummaryRowProps } from './summary-row.js';
|
|
17
|
+
export { ValueTable, ValueTablePresentation, ValueTableProps, ValueTableRow, ValueTableRowProps, ValueTableStackBelow } from './value-table.js';
|
|
13
18
|
export { AnchoredSurfaceOptions, AnchoredSurfacePoint, openAnchoredSurface, openAnchoredSurfaceAt } from './anchored-surface.js';
|
|
14
19
|
export { Badge, BadgeAppearance, BadgeDotProps, BadgeProps, BadgeShape, BadgeSize, BadgeTextProps, BadgeTone } from './badge.js';
|
|
15
20
|
export { Chip, ChipProps } from './chip.js';
|
|
21
|
+
export { CornerStatus, CornerStatusPlacement, CornerStatusPresentation, CornerStatusProps } from './corner-status.js';
|
|
22
|
+
export { wireCornerStatus } from './wire-corner-status.js';
|
|
23
|
+
export { EdgeActivityIndicator, EdgeActivityIndicatorProps } from './edge-activity-indicator.js';
|
|
16
24
|
export { EmptyState, EmptyStateProps } from './empty-state.js';
|
|
17
25
|
export { LoadingSpinner, LoadingSpinnerProps } from './loading-spinner.js';
|
|
18
26
|
export { Skeleton, SkeletonProps } from './skeleton.js';
|
|
19
27
|
export { StateBanner, StateBannerProps, StateBannerTone, StateBannerUrgency } from './state-banner.js';
|
|
28
|
+
export { ChoiceChips, ChoiceChipsChoice, ChoiceChipsProps, ChoiceChipsSize, ChoiceChipsSwatch } from './choice-chips.js';
|
|
29
|
+
export { Combobox, ComboboxProps, ComboboxSuggestion } from './combobox.js';
|
|
30
|
+
export { ComboboxCommit, WireComboboxesOptions, wireComboboxes } from './wire-comboboxes.js';
|
|
20
31
|
export { FieldLabel, FieldLabelProps, Text, TextContent, TextFont, TextProps, TextSize, TextTone, TextVariant } from './text.js';
|
|
32
|
+
export { FileDropZone, FileDropZoneProps, FilePickerTrigger, FilePickerTriggerProps } from './file-picker.js';
|
|
33
|
+
export { FilePickerSelection, WireFilePickersOptions, fileMatchesAccept, wireFilePickers } from './wire-file-pickers.js';
|
|
21
34
|
export { SegmentedControl, SegmentedControlAppearance, SegmentedControlChoice, SegmentedControlLayout, SegmentedControlProps, SegmentedControlShape, SegmentedControlSize } from './segmented-control.js';
|
|
22
35
|
export { Select, SelectChoice, SelectFocusRingOwner, SelectPresentation, SelectProps, SelectSelectedPresentation, SelectSize } from './select.js';
|
|
23
36
|
export { T as TokenSearchEditorAttributes, a as TokenSearchField, b as TokenSearchFieldProps, c as TokenSearchFieldValue, d as TokenSearchModel, e as TokenSearchModelOptions, f as TokenSearchResolvedToken, g as TokenSearchRule, h as TokenSearchState, i as TokenSearchSuggestion, j as TokenSearchToken, k as TokenSearchTrailingAction, l as createTokenSearchModel, p as placeTokenSearchCaret, r as readTokenSearchField } from './token-search-model-DTcTXWMS.js';
|
|
24
37
|
export { TokenSearchCollapsibleOptions, TokenSearchEdit, TokenSearchFieldsHandle, TokenSearchSubmit, WireTokenSearchFieldsOptions, wireTokenSearchFields } from './wire-token-search-fields.js';
|
|
38
|
+
export { ColumnTrack, ColumnTrackLayout, ColumnTrackProps } from './column-track.js';
|
|
39
|
+
export { ContentSwap, ContentSwapDirection, ContentSwapProps, ContentSwapSide, ContentSwapTransition } from './content-swap.js';
|
|
25
40
|
export { Grid, GridProps } from './grid.js';
|
|
26
41
|
export { Pane, PaneAppearance, PaneChromeDividers, PaneChromePlacement, PaneConfig, PaneContentElement, PaneElement, PaneProps, PaneSeparatorSide } from './pane.js';
|
|
27
42
|
export { ResizableRegion, ResizableRegionAxis, ResizableRegionCollapseMotion, ResizableRegionContentOverflow, ResizableRegionEdge, ResizableRegionPresentation, ResizableRegionProps, ResizableRegionResponsiveFillAt, ResizableRegionRestorePosition, ResizableRegionSeparator, clampRegionSize, resizeRegionFromPointer } from './resizable-region.js';
|
|
@@ -33,17 +48,19 @@ export { AppTab, AppTabNameOverflow, AppTabPresentation, AppTabProps, AppTabSize
|
|
|
33
48
|
export { DisclosureArrow, DisclosureArrowProps, DisclosureDirection } from './disclosure-arrow.js';
|
|
34
49
|
export { TabActivation, TabBar, TabBarAllocation, TabBarPresentation, TabBarProps, TabBarTrailingPlacement } from './tab-bar.js';
|
|
35
50
|
export { TabDropPosition, TabReorder, TabReorderSource, WireTabBarsOptions, reorderTabs, wireTabBars } from './wire-tab-bars.js';
|
|
36
|
-
export { ContentItem, ContentItemAppearance, ContentItemFrame, ContentItemProps, ContentItemSelectionMode, ContentItemShape } from './content-item.js';
|
|
37
|
-
export { SunkenPanel, SunkenPanelProps, SunkenPanelShape } from './sunken-panel.js';
|
|
38
|
-
export { DialogSurface, DialogSurfaceMaxHeight, DialogSurfacePresentation, DialogSurfaceProps, DialogSurfaceSize, PopupSurface, PopupSurfaceInset, PopupSurfaceProps, SurfaceInset } from './surface-scaffold.js';
|
|
51
|
+
export { ContentItem, ContentItemAppearance, ContentItemBubble, ContentItemFrame, ContentItemProps, ContentItemSelectionMode, ContentItemShape } from './content-item.js';
|
|
52
|
+
export { SunkenPanel, SunkenPanelProps, SunkenPanelShape, ensureSunkenTexture } from './sunken-panel.js';
|
|
53
|
+
export { DialogSurface, DialogSurfaceBodyLayout, DialogSurfaceHeight, DialogSurfaceMaxHeight, DialogSurfacePresentation, DialogSurfaceProps, DialogSurfaceRootAttributes, DialogSurfaceSize, PopoverDialogSurface, PopoverDialogSurfaceDataAttributes, PopoverDialogSurfacePresentation, PopoverDialogSurfaceProps, PopupSurface, PopupSurfaceInset, PopupSurfaceProps, SurfaceInset } from './surface-scaffold.js';
|
|
39
54
|
export { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
40
55
|
export { CssColor, CssFlex, CssFlexBasis, CssFlexKeyword, CssForegroundColor, CssLength, CssLengthExpression, CssSize, CssSizeKeyword, CssValue, UiColor, UiColorName, UiForegroundColorName, UiSpaceName, calc, colorVar, em, flex, foregroundColor, foregroundColorVar, lengthVar, pct, plus, px, rem, space, uiColor } from './css-values.js';
|
|
56
|
+
export { ListDropPosition, ListReorder, ListReorderSource, ListReorderTarget, WireListReorderOptions, reorderListItems, wireListReorder } from './wire-list-reorder.js';
|
|
41
57
|
export { ScrollDividerTarget, WireScrollDividersOptions, wireScrollDividers } from './wire-scroll-dividers.js';
|
|
42
58
|
export { wireToolbarVisibility } from './wire-toolbar-visibility.js';
|
|
43
59
|
export { H as HorizontalAlignment, L as ListVerticalAlignment, V as VerticalAlignment } from './flex-alignment-4ms8ZbV8.js';
|
|
44
60
|
export { S as SemanticTone } from './semantic-tone-CdW013KF.js';
|
|
45
61
|
export { S as Sides } from './sides-BPSWde0A.js';
|
|
46
62
|
import 'kerfjs';
|
|
63
|
+
import './extension-attributes-mu8MFUl0.js';
|
|
47
64
|
import 'kerfjs/overlay';
|
|
48
65
|
import 'kerfjs/jsx-runtime';
|
|
49
66
|
import 'lucide';
|
package/dist/index.js
CHANGED
|
@@ -1,49 +1,66 @@
|
|
|
1
1
|
export { reorderTabs, wireTabBars } from './chunk-KQDU7Z7P.js';
|
|
2
|
-
export { wireTokenSearchFields } from './chunk-
|
|
2
|
+
export { wireTokenSearchFields } from './chunk-Y3LC7JQO.js';
|
|
3
3
|
export { wireToolbarVisibility } from './chunk-2GOCOLQL.js';
|
|
4
|
-
export {
|
|
4
|
+
export { wireCornerStatus } from './chunk-ZKKO4MHC.js';
|
|
5
|
+
export { fileMatchesAccept, wireFilePickers } from './chunk-2MSPNRWJ.js';
|
|
6
|
+
export { reorderListItems, wireListReorder } from './chunk-MJ5RU6XT.js';
|
|
5
7
|
export { wireResizableRegions } from './chunk-GS2QD3N7.js';
|
|
8
|
+
export { createTokenSearchModel } from './chunk-IM3GKYOG.js';
|
|
9
|
+
export { ValueTable, ValueTableRow } from './chunk-GZE2XVKC.js';
|
|
6
10
|
|
|
7
11
|
export { wireScrollDividers } from './chunk-6STQXRT4.js';
|
|
12
|
+
export { wireComboboxes } from './chunk-FDZNYD4C.js';
|
|
13
|
+
export { SummaryRow } from './chunk-4UB5Z3ZZ.js';
|
|
14
|
+
export { SunkenPanel } from './chunk-D5RGM3XA.js';
|
|
15
|
+
export { DialogSurface, PopoverDialogSurface, PopupSurface } from './chunk-JYD7G4RG.js';
|
|
8
16
|
export { TabBar } from './chunk-JOR5LGYE.js';
|
|
9
|
-
export { createTokenSearchModel } from './chunk-IM3GKYOG.js';
|
|
10
|
-
export { Select } from './chunk-YP2G67S7.js';
|
|
11
|
-
export { Spacer } from './chunk-MN3POJFN.js';
|
|
12
|
-
export { StateBanner } from './chunk-PGL6TXFW.js';
|
|
13
|
-
export { SunkenPanel } from './chunk-3XPGJUUQ.js';
|
|
14
|
-
export { DialogSurface, PopupSurface } from './chunk-A7DYEERU.js';
|
|
15
17
|
export { SegmentedControl } from './chunk-NS2TBYM4.js';
|
|
16
|
-
export {
|
|
18
|
+
export { Select } from './chunk-HO6FU3G7.js';
|
|
19
|
+
export { Spacer } from './chunk-MN3POJFN.js';
|
|
20
|
+
export { SplitButton } from './chunk-YWQGSUF2.js';
|
|
21
|
+
export { StateBanner } from './chunk-6BRRUPJY.js';
|
|
22
|
+
export { IconToggleButton } from './chunk-R42D2BAO.js';
|
|
23
|
+
export { ListActionRow } from './chunk-FOQK4F3L.js';
|
|
24
|
+
export { EdgeActivityIndicator } from './chunk-QH5KOFNS.js';
|
|
17
25
|
export { EmptyState } from './chunk-XK4E225T.js';
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
26
|
+
export { FileDropZone, FilePickerTrigger } from './chunk-W4IK7AWD.js';
|
|
27
|
+
export { FramedList, FramedListRow } from './chunk-S2XULQEK.js';
|
|
28
|
+
export { Grid } from './chunk-QIAPOWHH.js';
|
|
29
|
+
export { IconButton } from './chunk-M2NRCFRO.js';
|
|
30
|
+
export { ColumnTrack } from './chunk-QYMJHS4K.js';
|
|
31
|
+
export { Combobox } from './chunk-ETCWQLJV.js';
|
|
32
|
+
export { ContentItem } from './chunk-7IUEBNCO.js';
|
|
33
|
+
export { ContentSwap } from './chunk-EIET4QLK.js';
|
|
34
|
+
export { CornerStatus } from './chunk-QQ3TTWFH.js';
|
|
35
|
+
export { openAnchoredSurface, openAnchoredSurfaceAt } from './chunk-76PWEN5Y.js';
|
|
36
|
+
export { AppTab } from './chunk-6NOLL5KG.js';
|
|
21
37
|
export { TokenSearchField, placeTokenSearchCaret, readTokenSearchField } from './chunk-ROZLJULF.js';
|
|
22
|
-
export { ToolbarText } from './chunk-
|
|
23
|
-
export { PopupMenu, closePopupMenu, openPopupMenuAt } from './chunk-TKDDTLG5.js';
|
|
38
|
+
export { ToolbarText } from './chunk-IGTWXPTN.js';
|
|
24
39
|
export { ResizableRegion, clampRegionSize, resizeRegionFromPointer } from './chunk-Y6KT7ZTR.js';
|
|
25
|
-
export { Row } from './chunk-
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
40
|
+
export { Row } from './chunk-44A6LP54.js';
|
|
41
|
+
export { PopupMenu, closePopupMenu, openPopupMenu, openPopupMenuAt } from './chunk-PBT3CPPY.js';
|
|
42
|
+
export { ListHeader } from './chunk-BBU2SPRE.js';
|
|
43
|
+
export { FieldLabel, Text } from './chunk-LL45C7BB.js';
|
|
28
44
|
export { ListInsetControl } from './chunk-AN5IWMTM.js';
|
|
29
|
-
export { ListInsetText } from './chunk-
|
|
30
|
-
export { ListItem, ListItemLink } from './chunk-
|
|
45
|
+
export { ListInsetText } from './chunk-S4Y3YTAI.js';
|
|
46
|
+
export { ListItem, ListItemLink } from './chunk-36TL6BCR.js';
|
|
31
47
|
|
|
32
|
-
export { DisclosureArrow } from './chunk-HWY4BSLS.js';
|
|
33
48
|
export { FloatingToolbar } from './chunk-S3ECMF23.js';
|
|
49
|
+
export { DisclosureArrow } from './chunk-HWY4BSLS.js';
|
|
34
50
|
export { Skeleton } from './chunk-Y43B6DS3.js';
|
|
35
|
-
export { Badge } from './chunk-
|
|
51
|
+
export { Badge } from './chunk-U6QYTMDB.js';
|
|
36
52
|
export { Chip } from './chunk-DQDTZE4W.js';
|
|
37
|
-
export {
|
|
38
|
-
export {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
53
|
+
export { ChoiceChips } from './chunk-PRG4CL3Q.js';
|
|
54
|
+
export { ToolbarActionLink, ToolbarControlGroup } from './chunk-YXOMI7ES.js';
|
|
55
|
+
export { Toolbar } from './chunk-CMLPFIC5.js';
|
|
56
|
+
export { Pane } from './chunk-GJYQ27C2.js';
|
|
57
|
+
export { ensureSunkenTexture } from './chunk-IKS72C6P.js';
|
|
58
|
+
export { List } from './chunk-V6W56V3N.js';
|
|
41
59
|
|
|
42
|
-
export { LucideIcon } from './chunk-UKKRPP56.js';
|
|
43
60
|
export { LoadingSpinner } from './chunk-YOKEL75M.js';
|
|
44
61
|
|
|
62
|
+
export { LucideIcon } from './chunk-UKKRPP56.js';
|
|
45
63
|
export { calc, colorVar, em, flex, foregroundColor, foregroundColorVar, lengthVar, pct, plus, px, rem, space, uiColor } from './chunk-U657IHFB.js';
|
|
46
|
-
export { ContentItem } from './chunk-B3TROLC2.js';
|
|
47
64
|
|
|
48
65
|
|
|
49
66
|
//# sourceMappingURL=index.js.map
|