@kerfjs/ui 5.0.0-beta.49 → 5.0.0-beta.51
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 +69 -15
- package/ai/catalog-authoring.json +12 -1
- package/ai/catalog-authoring.schema.json +49 -1
- package/ai/compile-time-contracts-v1.json +19 -2
- package/ai/compile-time-contracts-v1.schema.json +1 -0
- package/ai/component-catalog-v2-overrides.json +7 -0
- package/ai/component-catalog-v2.d.ts +19 -1
- package/ai/component-catalog-v2.json +920 -149
- package/ai/component-catalog-v2.schema.json +33 -1
- package/ai/component-catalog.json +689 -153
- package/ai/component-catalog.schema.json +21 -1
- package/ai/public-api-signatures-v1.md +404 -184
- package/ai/skill.md +31 -14
- package/ai/webawesome-jsx-signatures-v1.md +1 -1
- package/analyzer/index.mjs +105 -35
- package/dist/app-tab.d.ts +3 -1
- package/dist/app-tab.js +1 -1
- package/dist/badge.d.ts +24 -0
- package/dist/badge.js +3 -0
- package/dist/badge.js.map +1 -0
- package/dist/browser/badge.js +3 -0
- package/dist/browser/list-header.js +1 -0
- package/dist/browser/state-banner.js +1 -0
- package/dist/catalog-resources.d.ts +2 -2
- package/dist/catalog.d.ts +47 -125
- package/dist/catalog.js +429 -262
- package/dist/catalog.js.map +1 -1
- package/dist/{chunk-W2FK7ZNY.js → chunk-4R777DUZ.js} +10 -2
- package/dist/chunk-4R777DUZ.js.map +1 -0
- package/dist/{chunk-OMSRSL3B.js → chunk-5FZZMIMD.js} +6 -4
- package/dist/chunk-5FZZMIMD.js.map +1 -0
- package/dist/{chunk-AQFWBG23.js → chunk-5PMGQDG7.js} +5 -3
- package/dist/chunk-5PMGQDG7.js.map +1 -0
- package/dist/{chunk-SOK5EUF7.js → chunk-6ZXOQEAN.js} +4 -2
- package/dist/chunk-6ZXOQEAN.js.map +1 -0
- package/dist/{chunk-I4V3UDSA.js → chunk-7GUQYHKA.js} +25 -6
- package/dist/chunk-7GUQYHKA.js.map +1 -0
- package/dist/{chunk-XKFRMGMW.js → chunk-7IUSV4XG.js} +3 -1
- package/dist/chunk-7IUSV4XG.js.map +1 -0
- package/dist/{chunk-IU4QUY5I.js → chunk-AEPXGCNF.js} +20 -3
- package/dist/chunk-AEPXGCNF.js.map +1 -0
- package/dist/{chunk-VDUJZF5G.js → chunk-CMUIXJZM.js} +2 -2
- package/dist/{chunk-VDUJZF5G.js.map → chunk-CMUIXJZM.js.map} +1 -1
- package/dist/{chunk-DAO2VFTT.js → chunk-D547PH4L.js} +7 -5
- package/dist/chunk-D547PH4L.js.map +1 -0
- package/dist/{chunk-2TYUFZUC.js → chunk-D7GWXIAS.js} +4 -2
- package/dist/chunk-D7GWXIAS.js.map +1 -0
- package/dist/{chunk-E34TE2ZI.js → chunk-DVZCMMB3.js} +6 -4
- package/dist/chunk-DVZCMMB3.js.map +1 -0
- package/dist/{chunk-6NDBE2OK.js → chunk-E36EVCKG.js} +5 -3
- package/dist/chunk-E36EVCKG.js.map +1 -0
- package/dist/chunk-EKYZCRCX.js +256 -0
- package/dist/chunk-EKYZCRCX.js.map +1 -0
- package/dist/{chunk-TIGSG6BX.js → chunk-HJKRCKDR.js} +7 -3
- package/dist/chunk-HJKRCKDR.js.map +1 -0
- package/dist/{chunk-Y6LYKFXY.js → chunk-HMQ2ZDGG.js} +5 -3
- package/dist/chunk-HMQ2ZDGG.js.map +1 -0
- package/dist/{chunk-UDHHKZWO.js → chunk-JM53SMVF.js} +9 -5
- package/dist/chunk-JM53SMVF.js.map +1 -0
- package/dist/{chunk-OGTJNHRG.js → chunk-JMGKM7RK.js} +6 -4
- package/dist/chunk-JMGKM7RK.js.map +1 -0
- package/dist/{chunk-GYGM363P.js → chunk-KX7DP2GO.js} +17 -7
- package/dist/chunk-KX7DP2GO.js.map +1 -0
- package/dist/{chunk-OL4TC3U2.js → chunk-MO56ZZLG.js} +6 -2
- package/dist/chunk-MO56ZZLG.js.map +1 -0
- package/dist/{chunk-VXFGMDA7.js → chunk-MTM43SJO.js} +16 -2
- package/dist/chunk-MTM43SJO.js.map +1 -0
- package/dist/{chunk-ZPWZIVI6.js → chunk-N3GKMPDW.js} +7 -3
- package/dist/chunk-N3GKMPDW.js.map +1 -0
- package/dist/{chunk-DYBPI5O2.js → chunk-NDUGJ4TU.js} +4 -2
- package/dist/chunk-NDUGJ4TU.js.map +1 -0
- package/dist/{chunk-I45QO2IZ.js → chunk-NMGTHYW3.js} +7 -5
- package/dist/chunk-NMGTHYW3.js.map +1 -0
- package/dist/{chunk-WSXUPSID.js → chunk-NN6GYOA2.js} +7 -3
- package/dist/chunk-NN6GYOA2.js.map +1 -0
- package/dist/{chunk-OGNE3OFT.js → chunk-NZXWU4R5.js} +24 -3
- package/dist/chunk-NZXWU4R5.js.map +1 -0
- package/dist/{chunk-V6GQKOX2.js → chunk-O3RCCSQJ.js} +6 -4
- package/dist/chunk-O3RCCSQJ.js.map +1 -0
- package/dist/{chunk-WVLMZ5SG.js → chunk-S4QRSBFI.js} +25 -3
- package/dist/chunk-S4QRSBFI.js.map +1 -0
- package/dist/{chunk-CK6P5AUK.js → chunk-UBH743HV.js} +10 -7
- package/dist/chunk-UBH743HV.js.map +1 -0
- package/dist/{chunk-T7DOWS6T.js → chunk-ULCDZTWL.js} +7 -4
- package/dist/chunk-ULCDZTWL.js.map +1 -0
- package/dist/{chunk-V6HCTCVD.js → chunk-UPZ6EEJN.js} +9 -5
- package/dist/chunk-UPZ6EEJN.js.map +1 -0
- package/dist/{chunk-CAB6NQ2T.js → chunk-VOCPXGQN.js} +3 -1
- package/dist/chunk-VOCPXGQN.js.map +1 -0
- package/dist/chunk-XD7DWYXG.js +34 -0
- package/dist/chunk-XD7DWYXG.js.map +1 -0
- package/dist/{chunk-B6JYRX3P.js → chunk-ZIYOJFZD.js} +43 -4
- package/dist/chunk-ZIYOJFZD.js.map +1 -0
- package/dist/{chunk-EYALJQQD.js → chunk-ZK5EGVFP.js} +4 -2
- package/dist/chunk-ZK5EGVFP.js.map +1 -0
- package/dist/{chunk-6WTETUZ6.js → chunk-ZLWQZUGF.js} +8 -2
- package/dist/chunk-ZLWQZUGF.js.map +1 -0
- package/dist/collapsible-panel.d.ts +4 -2
- package/dist/collapsible-panel.js +4 -2
- package/dist/collapsible-panel.js.map +1 -1
- package/dist/css-values.d.ts +39 -3
- package/dist/css-values.js +1 -1
- package/dist/disclosure-arrow.d.ts +3 -1
- package/dist/disclosure-arrow.js +1 -1
- package/dist/empty-state.d.ts +3 -1
- package/dist/empty-state.js +1 -1
- package/dist/floating-toolbar.d.ts +3 -1
- package/dist/floating-toolbar.js +1 -1
- package/dist/grid.d.ts +17 -1
- package/dist/grid.js +2 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.js +34 -33
- package/dist/list-action-row.d.ts +3 -1
- package/dist/list-action-row.js +1 -1
- package/dist/list-header.d.ts +6 -1
- package/dist/list-header.js +2 -1
- package/dist/list-inset-control.d.ts +3 -1
- package/dist/list-inset-control.js +1 -1
- package/dist/list-inset-text.d.ts +3 -1
- package/dist/list-inset-text.js +1 -1
- package/dist/list-item.d.ts +3 -1
- package/dist/list-item.js +1 -1
- package/dist/list.d.ts +23 -2
- package/dist/list.js +2 -1
- package/dist/loading-spinner.d.ts +3 -1
- package/dist/loading-spinner.js +1 -1
- package/dist/lucide-icon.d.ts +3 -1
- package/dist/lucide-icon.js +1 -1
- package/dist/nav-stack.d.ts +3 -1
- package/dist/nav-stack.js +1 -1
- package/dist/pane.d.ts +19 -2
- package/dist/pane.js +1 -1
- package/dist/resizable-region.d.ts +5 -2
- package/dist/resizable-region.js +1 -1
- package/dist/row.d.ts +21 -1
- package/dist/row.js +2 -1
- package/dist/segmented-control.d.ts +3 -1
- package/dist/segmented-control.js +1 -1
- package/dist/select.d.ts +16 -4
- package/dist/select.js +1 -1
- package/dist/skeleton.d.ts +3 -1
- package/dist/skeleton.js +1 -1
- package/dist/spacer.d.ts +3 -1
- package/dist/spacer.js +1 -1
- package/dist/split-view.d.ts +3 -1
- package/dist/split-view.js +24 -5
- package/dist/split-view.js.map +1 -1
- package/dist/state-banner.d.ts +3 -1
- package/dist/state-banner.js +2 -1
- package/dist/styles/badge.css +86 -0
- package/dist/styles/catalog/components/catalog-detail.css +35 -0
- package/dist/styles/catalog/components/catalog-example-stack.css +9 -0
- package/dist/styles/catalog/components/catalog-example.css +180 -0
- package/dist/styles/catalog/components/catalog-resource-footer.css +37 -0
- package/dist/styles/catalog/components/catalog-secondary-sections.css +38 -0
- package/dist/styles/catalog/components/catalog-section-list.css +22 -0
- package/dist/styles/catalog/components/catalog-sidebar.css +82 -0
- package/dist/styles/catalog/components/catalog-stage.css +60 -0
- package/dist/styles/catalog/components/catalog.css +22 -0
- package/dist/styles/catalog.css +10 -587
- package/dist/styles/collapsible-panel.css +132 -4
- package/dist/styles/document.css +23 -0
- package/dist/styles/foundation.css +21 -7
- package/dist/styles/grid.css +10 -0
- package/dist/styles/list-header.css +49 -60
- package/dist/styles/list-inset-control.css +8 -1
- package/dist/styles/list-item.css +6 -0
- package/dist/styles/list.css +11 -0
- package/dist/styles/nav-stack.css +89 -2
- package/dist/styles/pane.css +86 -1
- package/dist/styles/resizable-region.css +117 -5
- package/dist/styles/row.css +10 -0
- package/dist/styles/select.css +39 -7
- package/dist/styles/split-view.css +108 -2
- package/dist/styles/state-banner.css +0 -27
- package/dist/styles/styles.css +1 -0
- package/dist/styles/tab-bar.css +6 -1
- package/dist/styles/tab-scaffold.css +64 -1
- package/dist/styles/text.css +10 -0
- package/dist/styles/token-search-field.css +5 -40
- package/dist/styles/toolbar-control-group.css +198 -25
- package/dist/styles/toolbar-text.css +8 -1
- package/dist/styles/toolbar.css +169 -5
- package/dist/styles/webawesome.css +70 -9
- package/dist/styles/workbench.css +136 -4
- package/dist/sunken-panel.d.ts +3 -1
- package/dist/sunken-panel.js +1 -1
- package/dist/surface-scaffold.d.ts +6 -2
- package/dist/surface-scaffold.js +1 -1
- package/dist/tab-bar.d.ts +8 -1
- package/dist/tab-bar.js +1 -1
- package/dist/tab-scaffold.d.ts +3 -1
- package/dist/tab-scaffold.js +3 -1
- package/dist/tab-scaffold.js.map +1 -1
- package/dist/text.d.ts +9 -5
- package/dist/text.js +1 -1
- package/dist/token-search-field.d.ts +5 -1
- package/dist/token-search-field.js +1 -1
- package/dist/toolbar-control-group.d.ts +33 -3
- package/dist/toolbar-control-group.js +1 -1
- package/dist/toolbar-text.d.ts +3 -1
- package/dist/toolbar-text.js +1 -1
- package/dist/toolbar.d.ts +30 -1
- package/dist/toolbar.js +1 -1
- package/dist/types-CEsieBZi.d.ts +69 -0
- package/dist/value-table.d.ts +6 -2
- package/dist/value-table.js +1 -1
- package/dist/wire-resizable-regions.js +1 -1
- package/dist/wire-sidebar.d.ts +18 -3
- package/dist/wire-sidebar.js +95 -14
- package/dist/wire-sidebar.js.map +1 -1
- package/dist/wire-token-search-fields.js +1 -1
- package/dist/workbench.d.ts +3 -1
- package/dist/workbench.js +3 -1
- package/dist/workbench.js.map +1 -1
- package/docs/accessibility.md +56 -9
- package/docs/app-layouts.md +73 -0
- package/docs/catalog.md +48 -9
- package/docs/collapsible-panel.md +81 -8
- package/docs/component-contract.md +96 -28
- package/docs/component-integration.md +9 -4
- package/docs/component-selection.md +36 -15
- 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/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/state-banner/info-badge-dark.svg +1 -1
- package/docs/design/templates/state-banner/info-badge.svg +1 -1
- package/docs/design/templates/state-banner-dark.svg +1 -1
- package/docs/design/templates/state-banner.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/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-philosophy.md +6 -5
- package/docs/document-baseline.md +31 -0
- package/docs/layout.md +86 -21
- package/docs/nav-stack.md +8 -0
- package/docs/recipes.md +78 -43
- package/docs/split-view.md +8 -0
- package/docs/tab-scaffold.md +4 -2
- package/docs/type-contracts.md +21 -16
- package/docs/ui-analyzer.md +19 -0
- package/docs/ui-evaluator.md +17 -0
- package/docs/ux-demo.md +8 -8
- package/docs/webawesome-theme.md +25 -6
- package/docs/workbench.md +20 -1
- package/evaluator/index.mjs +73 -8
- package/llms.txt +61 -23
- package/package.json +12 -3
- package/ux-demo/recipes/app-shell.tsx +244 -184
- package/ux-demo/recipes/collapsible-sidebar.tsx +175 -116
- package/ux-demo/recipes/compact-toolbar.tsx +119 -102
- package/ux-demo/recipes/composer-form.tsx +79 -69
- package/ux-demo/recipes/list-detail-dialog.tsx +120 -136
- package/ux-demo/recipes/list-workspace-states.tsx +85 -79
- package/ux-demo/recipes/loaders.ts +5 -2
- package/ux-demo/recipes/loading-inspector.tsx +151 -134
- package/ux-demo/recipes/navigation-sidebar.tsx +93 -80
- package/ux-demo/recipes/navigation-stack.tsx +33 -22
- package/ux-demo/recipes/types.ts +14 -0
- package/ux-demo/recipes/workspace-header.tsx +73 -57
- package/dist/chunk-2TYUFZUC.js.map +0 -1
- package/dist/chunk-6NDBE2OK.js.map +0 -1
- package/dist/chunk-6WTETUZ6.js.map +0 -1
- package/dist/chunk-AQFWBG23.js.map +0 -1
- package/dist/chunk-B6JYRX3P.js.map +0 -1
- package/dist/chunk-CAB6NQ2T.js.map +0 -1
- package/dist/chunk-CK6P5AUK.js.map +0 -1
- package/dist/chunk-DAO2VFTT.js.map +0 -1
- package/dist/chunk-DYBPI5O2.js.map +0 -1
- package/dist/chunk-E34TE2ZI.js.map +0 -1
- package/dist/chunk-EYALJQQD.js.map +0 -1
- package/dist/chunk-GYGM363P.js.map +0 -1
- package/dist/chunk-I45QO2IZ.js.map +0 -1
- package/dist/chunk-I4V3UDSA.js.map +0 -1
- package/dist/chunk-IU4QUY5I.js.map +0 -1
- package/dist/chunk-OGNE3OFT.js.map +0 -1
- package/dist/chunk-OGTJNHRG.js.map +0 -1
- package/dist/chunk-OL4TC3U2.js.map +0 -1
- package/dist/chunk-OMSRSL3B.js.map +0 -1
- package/dist/chunk-SOK5EUF7.js.map +0 -1
- package/dist/chunk-T7DOWS6T.js.map +0 -1
- package/dist/chunk-TIGSG6BX.js.map +0 -1
- package/dist/chunk-UDHHKZWO.js.map +0 -1
- package/dist/chunk-V6GQKOX2.js.map +0 -1
- package/dist/chunk-V6HCTCVD.js.map +0 -1
- package/dist/chunk-VXFGMDA7.js.map +0 -1
- package/dist/chunk-W2FK7ZNY.js.map +0 -1
- package/dist/chunk-WN52USHV.js +0 -115
- package/dist/chunk-WN52USHV.js.map +0 -1
- package/dist/chunk-WSXUPSID.js.map +0 -1
- package/dist/chunk-WVLMZ5SG.js.map +0 -1
- package/dist/chunk-XKFRMGMW.js.map +0 -1
- package/dist/chunk-Y6LYKFXY.js.map +0 -1
- package/dist/chunk-ZPWZIVI6.js.map +0 -1
- package/ux-demo/recipes/recipes.css +0 -453
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { AppTab, AppTabPresentation, AppTabProps, AppTabSize } from './app-tab.js';
|
|
2
|
-
export {
|
|
2
|
+
export { Badge, BadgeAppearance, BadgeProps, BadgeShape, BadgeSize, BadgeTone } from './badge.js';
|
|
3
|
+
export { CssColor, CssFlex, CssFlexBasis, CssFlexKeyword, CssForegroundColor, CssLength, CssLengthExpression, CssSize, CssSizeKeyword, CssValue, UiColor, UiColorName, UiForegroundColorName, UiSpaceName, calc, colorVar, em, flex, foregroundColorVar, lengthVar, pct, plus, px, rem, space, uiColor } from './css-values.js';
|
|
3
4
|
export { DisclosureArrow, DisclosureArrowProps, DisclosureDirection } from './disclosure-arrow.js';
|
|
4
5
|
export { EmptyState, EmptyStateProps } from './empty-state.js';
|
|
5
6
|
export { FloatingToolbar, FloatingToolbarPosition, FloatingToolbarProps } from './floating-toolbar.js';
|
|
@@ -13,7 +14,7 @@ export { ListItem, ListItemProps } from './list-item.js';
|
|
|
13
14
|
export { LoadingSpinner, LoadingSpinnerProps } from './loading-spinner.js';
|
|
14
15
|
export { LucideIcon, LucideIconProps, LucideNode } from './lucide-icon.js';
|
|
15
16
|
export { Pane, PaneContentElement, PaneElement, PaneProps, PaneSeparatorSide } from './pane.js';
|
|
16
|
-
export { ResizableRegion, ResizableRegionAxis, ResizableRegionCollapseMotion, ResizableRegionContentOverflow, ResizableRegionEdge, ResizableRegionPresentation, ResizableRegionProps, ResizableRegionRestorePosition, ResizableRegionSeparator, clampRegionSize, resizeRegionFromPointer } from './resizable-region.js';
|
|
17
|
+
export { ResizableRegion, ResizableRegionAxis, ResizableRegionCollapseMotion, ResizableRegionContentOverflow, ResizableRegionEdge, ResizableRegionPresentation, ResizableRegionProps, ResizableRegionResponsiveFillAt, ResizableRegionRestorePosition, ResizableRegionSeparator, clampRegionSize, resizeRegionFromPointer } from './resizable-region.js';
|
|
17
18
|
export { Row, RowProps } from './row.js';
|
|
18
19
|
export { SegmentedControl, SegmentedControlAppearance, SegmentedControlChoice, SegmentedControlLayout, SegmentedControlProps, SegmentedControlShape, SegmentedControlSize } from './segmented-control.js';
|
|
19
20
|
export { Select, SelectChoice, SelectFocusRingOwner, SelectPresentation, SelectProps, SelectSelectedPresentation, SelectSize } from './select.js';
|
|
@@ -27,7 +28,7 @@ export { TabActivation, TabBar, TabBarAllocation, TabBarPresentation, TabBarProp
|
|
|
27
28
|
export { Text, TextContent, TextFont, TextProps, TextSize, TextTone, TextVariant } from './text.js';
|
|
28
29
|
export { TokenSearchEditorAttributes, TokenSearchField, TokenSearchFieldProps, TokenSearchFieldValue, TokenSearchToken, placeTokenSearchCaret, readTokenSearchField } from './token-search-field.js';
|
|
29
30
|
export { Toolbar, ToolbarProps } from './toolbar.js';
|
|
30
|
-
export { ToolbarControlGroup, ToolbarControlGroupAppearance, ToolbarControlGroupButtonAppearance, ToolbarControlGroupContent, ToolbarControlGroupDensity, ToolbarControlGroupProps, ToolbarControlGroupSelectedChrome, ToolbarControlGroupSelectedTone, ToolbarControlGroupShape, ToolbarControlGroupSize, ToolbarControlGroupTone } from './toolbar-control-group.js';
|
|
31
|
+
export { ToolbarActionLink, ToolbarActionLinkProps, ToolbarControlGroup, ToolbarControlGroupAppearance, ToolbarControlGroupButtonAppearance, ToolbarControlGroupContent, ToolbarControlGroupDensity, ToolbarControlGroupMenuInset, ToolbarControlGroupOverflow, ToolbarControlGroupProps, ToolbarControlGroupSelectedChrome, ToolbarControlGroupSelectedTone, ToolbarControlGroupShape, ToolbarControlGroupSize, ToolbarControlGroupTone, ToolbarControlGroupVisibility } from './toolbar-control-group.js';
|
|
31
32
|
export { HeadingLevel, ToolbarText, ToolbarTextProps, ToolbarTextSize } from './toolbar-text.js';
|
|
32
33
|
export { ValueTable, ValueTableProps, ValueTableRow, ValueTableRowProps } from './value-table.js';
|
|
33
34
|
export { ResizeCommit, WireResizableRegionsOptions, wireResizableRegions } from './wire-resizable-regions.js';
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { wireTokenSearchFields } from './chunk-CMUIXJZM.js';
|
|
2
|
+
export { ValueTable, ValueTableRow } from './chunk-UPZ6EEJN.js';
|
|
3
|
+
export { wireResizableRegions } from './chunk-EKYZCRCX.js';
|
|
2
4
|
export { reorderTabs, wireTabBars } from './chunk-UKKSMZYT.js';
|
|
3
|
-
export {
|
|
4
|
-
export { TabBar } from './chunk-
|
|
5
|
-
export { TokenSearchField, placeTokenSearchCaret, readTokenSearchField } from './chunk-
|
|
6
|
-
export {
|
|
7
|
-
export { Select } from './chunk-
|
|
8
|
-
export { Spacer } from './chunk-
|
|
9
|
-
export { StateBanner } from './chunk-
|
|
10
|
-
export { SunkenPanel } from './chunk-
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export { Pane } from './chunk-
|
|
5
|
+
export { DialogSurface, PopupSurface } from './chunk-NN6GYOA2.js';
|
|
6
|
+
export { TabBar } from './chunk-N3GKMPDW.js';
|
|
7
|
+
export { TokenSearchField, placeTokenSearchCaret, readTokenSearchField } from './chunk-HJKRCKDR.js';
|
|
8
|
+
export { SegmentedControl } from './chunk-DVZCMMB3.js';
|
|
9
|
+
export { Select } from './chunk-UBH743HV.js';
|
|
10
|
+
export { Spacer } from './chunk-JMGKM7RK.js';
|
|
11
|
+
export { StateBanner } from './chunk-JM53SMVF.js';
|
|
12
|
+
export { SunkenPanel } from './chunk-6ZXOQEAN.js';
|
|
13
|
+
export { ResizableRegion, clampRegionSize, resizeRegionFromPointer } from './chunk-VOCPXGQN.js';
|
|
14
|
+
export { Row } from './chunk-NZXWU4R5.js';
|
|
15
|
+
export { EmptyState } from './chunk-E36EVCKG.js';
|
|
16
|
+
export { FloatingToolbar } from './chunk-NDUGJ4TU.js';
|
|
17
|
+
export { Grid } from './chunk-AEPXGCNF.js';
|
|
18
|
+
export { ListActionRow } from './chunk-D547PH4L.js';
|
|
19
|
+
export { ListInsetControl } from './chunk-D7GWXIAS.js';
|
|
20
|
+
export { ListInsetText } from './chunk-ZK5EGVFP.js';
|
|
21
|
+
export { AppTab } from './chunk-5FZZMIMD.js';
|
|
22
|
+
export { ToolbarActionLink, ToolbarControlGroup } from './chunk-ZIYOJFZD.js';
|
|
23
|
+
export { Toolbar } from './chunk-MTM43SJO.js';
|
|
24
|
+
export { ListItem } from './chunk-NMGTHYW3.js';
|
|
25
|
+
export { List } from './chunk-S4QRSBFI.js';
|
|
26
|
+
export { ToolbarText } from './chunk-O3RCCSQJ.js';
|
|
27
|
+
export { Pane } from './chunk-7GUQYHKA.js';
|
|
26
28
|
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
29
|
+
export { LoadingSpinner } from './chunk-ZLWQZUGF.js';
|
|
30
|
+
export { ListHeader } from './chunk-KX7DP2GO.js';
|
|
31
|
+
export { Text } from './chunk-7IUSV4XG.js';
|
|
32
|
+
export { Skeleton } from './chunk-ULCDZTWL.js';
|
|
30
33
|
|
|
31
|
-
export {
|
|
32
|
-
export { calc, colorVar, em, flex, lengthVar, pct, plus, px, rem, space, uiColor } from './chunk-
|
|
33
|
-
export { DisclosureArrow } from './chunk-
|
|
34
|
-
export { LucideIcon } from './chunk-
|
|
35
|
-
export { EmptyState } from './chunk-6NDBE2OK.js';
|
|
36
|
-
export { LoadingSpinner } from './chunk-6WTETUZ6.js';
|
|
34
|
+
export { Badge } from './chunk-XD7DWYXG.js';
|
|
35
|
+
export { calc, colorVar, em, flex, foregroundColorVar, lengthVar, pct, plus, px, rem, space, uiColor } from './chunk-MO56ZZLG.js';
|
|
36
|
+
export { DisclosureArrow } from './chunk-HMQ2ZDGG.js';
|
|
37
|
+
export { LucideIcon } from './chunk-4R777DUZ.js';
|
|
37
38
|
|
|
38
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -55,7 +55,9 @@ interface ListActionRowProps {
|
|
|
55
55
|
className?: string;
|
|
56
56
|
rootAttributes?: ListActionRowRootAttributes;
|
|
57
57
|
trailingActionAttributes?: ListActionRowTrailingAttributes;
|
|
58
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
59
|
+
slot?: string;
|
|
58
60
|
}
|
|
59
|
-
declare function ListActionRow({ label, description, status, busy, density, divider, icon, action, itemId, selected, pressed, accessibleLabel, title, multiline, state, disabled, tabIndex, placeholder, trailingAction, trailingActionLabel, trailingActionIcon, trailingActionDisabled, trailingActionTitle, trailingActionVisibility, className, rootAttributes, trailingActionAttributes, }: ListActionRowProps): SafeHtml;
|
|
61
|
+
declare function ListActionRow({ label, description, status, busy, density, divider, icon, action, itemId, selected, pressed, accessibleLabel, title, multiline, state, disabled, tabIndex, placeholder, trailingAction, trailingActionLabel, trailingActionIcon, trailingActionDisabled, trailingActionTitle, trailingActionVisibility, className, rootAttributes, trailingActionAttributes, slot, }: ListActionRowProps): SafeHtml;
|
|
60
62
|
|
|
61
63
|
export { ListActionRow, type ListActionRowProps };
|
package/dist/list-action-row.js
CHANGED
package/dist/list-header.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ type ListHeaderRootAttributes = Readonly<Record<`data-${string}`, string | undef
|
|
|
8
8
|
'data-density'?: never;
|
|
9
9
|
'data-divider'?: never;
|
|
10
10
|
'data-inline'?: never;
|
|
11
|
+
'data-width'?: never;
|
|
11
12
|
'data-indicator-tone'?: never;
|
|
12
13
|
'data-toggle'?: never;
|
|
13
14
|
}>;
|
|
@@ -24,11 +25,15 @@ interface ListHeaderBaseProps {
|
|
|
24
25
|
divider?: 'none' | 'before' | 'after' | 'both';
|
|
25
26
|
/** Shrink-wrap the header without its default outer margin, border, or padding. */
|
|
26
27
|
inline?: boolean;
|
|
28
|
+
/** Fill the available row or shrink-wrap while retaining normal header geometry. */
|
|
29
|
+
width?: 'fill' | 'content';
|
|
27
30
|
indicatorTone?: 'neutral' | 'accent' | 'pop' | 'danger';
|
|
28
31
|
/** Render as an unanimated loading skeleton: keep the label and action affordance, disable interaction. */
|
|
29
32
|
placeholder?: boolean;
|
|
30
33
|
rootAttributes?: ListHeaderRootAttributes;
|
|
31
34
|
triggerAttributes?: ListHeaderTriggerAttributes;
|
|
35
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
36
|
+
slot?: string;
|
|
32
37
|
}
|
|
33
38
|
type ListHeaderModeProps = {
|
|
34
39
|
/** Render the title as a controlled disclosure trigger. */
|
|
@@ -75,6 +80,6 @@ type ListHeaderIndicatorProps = {
|
|
|
75
80
|
status?: SafeHtml;
|
|
76
81
|
};
|
|
77
82
|
type ListHeaderProps = ListHeaderBaseProps & ListHeaderIndicatorProps & ListHeaderModeProps;
|
|
78
|
-
declare function ListHeader({ label, count, countLabel, badge, status, density, divider, inline, indicatorTone, action, actionLabel, actionIcon, actionDisabled, disabledReason, expanded, toggle, placeholder, rootAttributes, triggerAttributes, }: ListHeaderProps): SafeHtml;
|
|
83
|
+
declare function ListHeader({ label, count, countLabel, badge, status, density, divider, inline, width, indicatorTone, action, actionLabel, actionIcon, actionDisabled, disabledReason, expanded, toggle, placeholder, rootAttributes, triggerAttributes, slot, }: ListHeaderProps): SafeHtml;
|
|
79
84
|
|
|
80
85
|
export { ListHeader, type ListHeaderProps };
|
package/dist/list-header.js
CHANGED
|
@@ -8,6 +8,8 @@ interface ListInsetControlProps {
|
|
|
8
8
|
/** Physical inset sides in canonical top/right/bottom/left order. Defaults to all sides. */
|
|
9
9
|
sides?: Sides;
|
|
10
10
|
className?: string;
|
|
11
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
12
|
+
slot?: string;
|
|
11
13
|
}
|
|
12
14
|
/**
|
|
13
15
|
* Insets a control into a pane/list content region: an 8px inline margin (so its
|
|
@@ -15,6 +17,6 @@ interface ListInsetControlProps {
|
|
|
15
17
|
* Use it for controls that carry their own border and padding but no outer margin
|
|
16
18
|
* — the wrapper adds only the alignment margin and layout, not a second inset.
|
|
17
19
|
*/
|
|
18
|
-
declare function ListInsetControl({ children, sides, className, }: ListInsetControlProps): kerfjs.SafeHtml;
|
|
20
|
+
declare function ListInsetControl({ children, sides, className, slot, }: ListInsetControlProps): kerfjs.SafeHtml;
|
|
19
21
|
|
|
20
22
|
export { ListInsetControl, type ListInsetControlProps, Sides };
|
|
@@ -15,6 +15,8 @@ interface ListInsetTextProps {
|
|
|
15
15
|
*/
|
|
16
16
|
horizontalOnly?: boolean;
|
|
17
17
|
className?: string;
|
|
18
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
19
|
+
slot?: string;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Gives bare text the content-item geometry — an 8px inline margin, a 1px
|
|
@@ -24,6 +26,6 @@ interface ListInsetTextProps {
|
|
|
24
26
|
* Pass `horizontalOnly` to keep the horizontal inset but drop the vertical box
|
|
25
27
|
* space for tight text layout.
|
|
26
28
|
*/
|
|
27
|
-
declare function ListInsetText({ children, sides, horizontalOnly, className, }: ListInsetTextProps): kerfjs.SafeHtml;
|
|
29
|
+
declare function ListInsetText({ children, sides, horizontalOnly, className, slot, }: ListInsetTextProps): kerfjs.SafeHtml;
|
|
28
30
|
|
|
29
31
|
export { ListInsetText, type ListInsetTextProps, Sides };
|
package/dist/list-inset-text.js
CHANGED
package/dist/list-item.d.ts
CHANGED
|
@@ -39,7 +39,9 @@ interface ListItemProps {
|
|
|
39
39
|
/** Render the row as an unanimated loading skeleton, disabling its action. */
|
|
40
40
|
placeholder?: boolean;
|
|
41
41
|
rootAttributes?: ListItemRootAttributes;
|
|
42
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
43
|
+
slot?: string;
|
|
42
44
|
}
|
|
43
|
-
declare function ListItem({ label, description, icon, trailing, status, busy, density, divider, selected, action, itemId, className, pressed, accessibleLabel, title, multiline, state, disabled, tabIndex, placeholder, rootAttributes, }: ListItemProps): SafeHtml;
|
|
45
|
+
declare function ListItem({ label, description, icon, trailing, status, busy, density, divider, selected, action, itemId, className, pressed, accessibleLabel, title, multiline, state, disabled, tabIndex, placeholder, rootAttributes, slot, }: ListItemProps): SafeHtml;
|
|
44
46
|
|
|
45
47
|
export { ListItem, type ListItemProps };
|
package/dist/list-item.js
CHANGED
package/dist/list.d.ts
CHANGED
|
@@ -5,12 +5,29 @@ import { H as HorizontalAlignment, L as ListVerticalAlignment } from './flex-ali
|
|
|
5
5
|
export { V as VerticalAlignment } from './flex-alignment-4ms8ZbV8.js';
|
|
6
6
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
7
7
|
|
|
8
|
+
type ListRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
9
|
+
'data-component'?: never;
|
|
10
|
+
'data-gap'?: never;
|
|
11
|
+
'data-flex'?: never;
|
|
12
|
+
'data-fill'?: never;
|
|
13
|
+
'data-h-align'?: never;
|
|
14
|
+
'data-v-align'?: never;
|
|
15
|
+
'data-scrollable'?: never;
|
|
16
|
+
'data-text-insets'?: never;
|
|
17
|
+
'data-control-insets'?: never;
|
|
18
|
+
}>;
|
|
8
19
|
interface ListProps {
|
|
9
20
|
children?: KerfUiContent;
|
|
10
21
|
/** Use the standard item gap, a named UI spacing token, or a typed CSS length. Defaults to no gap. */
|
|
11
22
|
gap?: boolean | UiSpaceName | CssLength;
|
|
12
23
|
/** Allow this list to grow/shrink, use a keyword, or supply a typed CSS flex shorthand. */
|
|
13
24
|
flex?: boolean | CssFlexKeyword | CssFlex;
|
|
25
|
+
/**
|
|
26
|
+
* Fill the height of a parent with a definite height, such as an app root or
|
|
27
|
+
* a fixed-height frame, when this list is that parent's layout root. Inside a
|
|
28
|
+
* flex layout use `flex` instead. Defaults to false.
|
|
29
|
+
*/
|
|
30
|
+
fill?: boolean;
|
|
14
31
|
/** Horizontal alignment. Defaults to full to preserve stretch-aligned list children. */
|
|
15
32
|
hAlign?: HorizontalAlignment;
|
|
16
33
|
/** Vertical distribution. Defaults to top. */
|
|
@@ -24,8 +41,12 @@ interface ListProps {
|
|
|
24
41
|
/** Physical sides that receive the standard 8px control inset. Text insets win on overlap. */
|
|
25
42
|
controlInsets?: Sides;
|
|
26
43
|
className?: string;
|
|
44
|
+
/** Safe `data-*` metadata; List-owned structural attributes remain protected. */
|
|
45
|
+
rootAttributes?: ListRootAttributes;
|
|
46
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
47
|
+
slot?: string;
|
|
27
48
|
}
|
|
28
|
-
/** A stretch-aligned vertical stack with optional gap, flex, scroll, and dividers. */
|
|
29
|
-
declare function List({ children, gap, flex, hAlign, vAlign, scrollable, dividerSides, textInsets, controlInsets, className, }: ListProps): kerfjs.SafeHtml;
|
|
49
|
+
/** A stretch-aligned vertical stack with optional gap, flex, fill, scroll, and dividers. */
|
|
50
|
+
declare function List({ children, gap, flex, fill, hAlign, vAlign, scrollable, dividerSides, textInsets, controlInsets, className, rootAttributes, slot, }: ListProps): kerfjs.SafeHtml;
|
|
30
51
|
|
|
31
52
|
export { CssFlex, CssFlexKeyword, CssLength, DividerSides, HorizontalAlignment, List, type ListProps, ListVerticalAlignment, Sides, UiSpaceName };
|
package/dist/list.js
CHANGED
|
@@ -3,8 +3,10 @@ import * as kerfjs from 'kerfjs';
|
|
|
3
3
|
interface LoadingSpinnerProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
label?: string;
|
|
6
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
7
|
+
slot?: string;
|
|
6
8
|
}
|
|
7
9
|
/** Stable viewBox-centered progress ring based on svg-spinners' MIT-licensed 180-ring. */
|
|
8
|
-
declare function LoadingSpinner({ className, label }: LoadingSpinnerProps): kerfjs.SafeHtml;
|
|
10
|
+
declare function LoadingSpinner({ className, label, slot, }: LoadingSpinnerProps): kerfjs.SafeHtml;
|
|
9
11
|
|
|
10
12
|
export { LoadingSpinner, type LoadingSpinnerProps };
|
package/dist/loading-spinner.js
CHANGED
package/dist/lucide-icon.d.ts
CHANGED
|
@@ -7,8 +7,10 @@ interface LucideIconProps {
|
|
|
7
7
|
name: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
label?: string;
|
|
10
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
11
|
+
slot?: string;
|
|
10
12
|
}
|
|
11
13
|
/** Render a Lucide-compatible icon node without copying icon SVG strings. */
|
|
12
|
-
declare function LucideIcon({ icon, name, className, label }: LucideIconProps): kerfjs.SafeHtml;
|
|
14
|
+
declare function LucideIcon({ icon, name, className, label, slot, }: LucideIconProps): kerfjs.SafeHtml;
|
|
13
15
|
|
|
14
16
|
export { LucideIcon, type LucideIconProps, type LucideNode };
|
package/dist/lucide-icon.js
CHANGED
package/dist/nav-stack.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ interface NavStackProps {
|
|
|
29
29
|
/** Optional persistent bottom toolbar used when the active view does not provide one. */
|
|
30
30
|
bottomToolbar?: KerfUiContent;
|
|
31
31
|
className?: string;
|
|
32
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
33
|
+
slot?: string;
|
|
32
34
|
}
|
|
33
35
|
/**
|
|
34
36
|
* A navigation stack (iOS-style push/pop). Renders every entry stacked, the last
|
|
@@ -36,6 +38,6 @@ interface NavStackProps {
|
|
|
36
38
|
* cross-fades the chrome across a change. A single-pane layout is a `NavStack`
|
|
37
39
|
* with one entry. See `docs/23-app-layouts.md` §3.1.
|
|
38
40
|
*/
|
|
39
|
-
declare function NavStack({ id, label, views, backLabel, hideToolbar, bottomToolbar, className, }: NavStackProps): kerfjs.SafeHtml;
|
|
41
|
+
declare function NavStack({ id, label, views, backLabel, hideToolbar, bottomToolbar, className, slot, }: NavStackProps): kerfjs.SafeHtml;
|
|
40
42
|
|
|
41
43
|
export { NavStack, type NavStackProps, type NavStackView };
|
package/dist/nav-stack.js
CHANGED
package/dist/pane.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as kerfjs from 'kerfjs';
|
|
2
2
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Logical pane sides: where a {@link Pane} can show a separator and where it can
|
|
6
|
+
* compensate for a device safe-area inset.
|
|
7
|
+
*/
|
|
5
8
|
type PaneSeparatorSide = 'block-start' | 'block-end' | 'inline-start' | 'inline-end';
|
|
6
9
|
/** Semantic root elements supported by {@link Pane}. */
|
|
7
10
|
type PaneElement = 'article' | 'aside' | 'div' | 'main' | 'section';
|
|
@@ -13,6 +16,10 @@ type PaneRootAttributes = Readonly<Record<`data-${string}`, string | undefined>
|
|
|
13
16
|
'data-separator-block-end'?: never;
|
|
14
17
|
'data-separator-inline-start'?: never;
|
|
15
18
|
'data-separator-inline-end'?: never;
|
|
19
|
+
'data-safe-area-block-start'?: never;
|
|
20
|
+
'data-safe-area-block-end'?: never;
|
|
21
|
+
'data-safe-area-inline-start'?: never;
|
|
22
|
+
'data-safe-area-inline-end'?: never;
|
|
16
23
|
}>;
|
|
17
24
|
interface PaneProps {
|
|
18
25
|
/** Optional fixed chrome above the scrolling content, arranged vertically. */
|
|
@@ -27,6 +34,14 @@ interface PaneProps {
|
|
|
27
34
|
contentElement?: PaneContentElement;
|
|
28
35
|
/** Independent logical-edge separator lines. Defaults to none. */
|
|
29
36
|
separators?: readonly PaneSeparatorSide[];
|
|
37
|
+
/**
|
|
38
|
+
* Sides on which the pane may compensate for a device safe-area inset.
|
|
39
|
+
* Defaults to every side: the pane pads its slots for each side that still
|
|
40
|
+
* reaches an unsafe screen edge, as its surrounding layout reports, while its
|
|
41
|
+
* background and separators paint through. List only the sides an app-owned
|
|
42
|
+
* layout places at a screen edge, or pass `[]` to opt out.
|
|
43
|
+
*/
|
|
44
|
+
safeAreaEdges?: readonly PaneSeparatorSide[];
|
|
30
45
|
id?: string;
|
|
31
46
|
/** Accessible name for a landmark root such as `aside` or `main`. */
|
|
32
47
|
label?: string;
|
|
@@ -38,6 +53,8 @@ interface PaneProps {
|
|
|
38
53
|
footerClassName?: string;
|
|
39
54
|
/** Safe `data-*` metadata; Pane-owned structural attributes remain protected. */
|
|
40
55
|
rootAttributes?: PaneRootAttributes;
|
|
56
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
57
|
+
slot?: string;
|
|
41
58
|
}
|
|
42
59
|
/**
|
|
43
60
|
* An unpadded application column with optional fixed header/footer slots and one
|
|
@@ -45,6 +62,6 @@ interface PaneProps {
|
|
|
45
62
|
* each logical edge, so the same component works as a sidebar, main area,
|
|
46
63
|
* inspector, or dialog column.
|
|
47
64
|
*/
|
|
48
|
-
declare function Pane({ header, children, footer, element, contentElement, separators, id, label, contentLabel, className, headerClassName, contentClassName, footerClassName, rootAttributes, }: PaneProps): kerfjs.SafeHtml;
|
|
65
|
+
declare function Pane({ header, children, footer, element, contentElement, separators, safeAreaEdges, id, label, contentLabel, className, headerClassName, contentClassName, footerClassName, rootAttributes, slot, }: PaneProps): kerfjs.SafeHtml;
|
|
49
66
|
|
|
50
67
|
export { Pane, type PaneContentElement, type PaneElement, type PaneProps, type PaneSeparatorSide };
|
package/dist/pane.js
CHANGED
|
@@ -8,6 +8,7 @@ type ResizableRegionCollapseMotion = 'none' | 'slide' | 'fade-slide';
|
|
|
8
8
|
type ResizableRegionContentOverflow = 'clip' | 'auto' | 'visible';
|
|
9
9
|
type ResizableRegionPresentation = 'inline' | 'overlay' | 'hidden';
|
|
10
10
|
type ResizableRegionRestorePosition = 'bottom-start' | 'bottom-end';
|
|
11
|
+
type ResizableRegionResponsiveFillAt = 'compact' | 'narrow';
|
|
11
12
|
interface ResizableRegionProps {
|
|
12
13
|
id: string;
|
|
13
14
|
label: string;
|
|
@@ -30,12 +31,14 @@ interface ResizableRegionProps {
|
|
|
30
31
|
restoreControl?: SafeHtml;
|
|
31
32
|
/** Safe-area-aware viewport corner for `restoreControl`. */
|
|
32
33
|
restorePosition?: ResizableRegionRestorePosition;
|
|
34
|
+
/** Fill the available inline track and hide the separator below a container breakpoint. */
|
|
35
|
+
responsiveFillAt?: ResizableRegionResponsiveFillAt;
|
|
33
36
|
/** Decorative dormant content for the separator handle. Must not contain interactive descendants. */
|
|
34
37
|
handleIcon?: SafeHtml;
|
|
35
38
|
children: KerfUiContent;
|
|
36
39
|
}
|
|
37
40
|
declare const clampRegionSize: (size: number, min: number, max: number) => number;
|
|
38
41
|
declare const resizeRegionFromPointer: (startSize: number, delta: number, edge: ResizableRegionEdge) => number;
|
|
39
|
-
declare function ResizableRegion({ id, label, size, min, max, axis, edge, collapsed, transitioning, separator, collapseMotion, contentOverflow, presentation, restoreControl, restorePosition, handleIcon, children, }: ResizableRegionProps): SafeHtml;
|
|
42
|
+
declare function ResizableRegion({ id, label, size, min, max, axis, edge, collapsed, transitioning, separator, collapseMotion, contentOverflow, presentation, restoreControl, restorePosition, responsiveFillAt, handleIcon, children, }: ResizableRegionProps): SafeHtml;
|
|
40
43
|
|
|
41
|
-
export { ResizableRegion, type ResizableRegionAxis, type ResizableRegionCollapseMotion, type ResizableRegionContentOverflow, type ResizableRegionEdge, type ResizableRegionPresentation, type ResizableRegionProps, type ResizableRegionRestorePosition, type ResizableRegionSeparator, clampRegionSize, resizeRegionFromPointer };
|
|
44
|
+
export { ResizableRegion, type ResizableRegionAxis, type ResizableRegionCollapseMotion, type ResizableRegionContentOverflow, type ResizableRegionEdge, type ResizableRegionPresentation, type ResizableRegionProps, type ResizableRegionResponsiveFillAt, type ResizableRegionRestorePosition, type ResizableRegionSeparator, clampRegionSize, resizeRegionFromPointer };
|
package/dist/resizable-region.js
CHANGED
package/dist/row.d.ts
CHANGED
|
@@ -4,6 +4,16 @@ import { S as Sides } from './divider-sides-BzB6rphT.js';
|
|
|
4
4
|
import { H as HorizontalAlignment, V as VerticalAlignment } from './flex-alignment-4ms8ZbV8.js';
|
|
5
5
|
import { K as KerfUiContent } from './semantic-content-BbzjvSu9.js';
|
|
6
6
|
|
|
7
|
+
type RowRootAttributes = Readonly<Record<`data-${string}`, string | undefined> & {
|
|
8
|
+
'data-component'?: never;
|
|
9
|
+
'data-h-align'?: never;
|
|
10
|
+
'data-v-align'?: never;
|
|
11
|
+
'data-flex'?: never;
|
|
12
|
+
'data-fill'?: never;
|
|
13
|
+
'data-wrap'?: never;
|
|
14
|
+
'data-text-insets'?: never;
|
|
15
|
+
'data-control-insets'?: never;
|
|
16
|
+
}>;
|
|
7
17
|
interface RowProps {
|
|
8
18
|
children?: KerfUiContent;
|
|
9
19
|
/** Horizontal distribution. Defaults to left. */
|
|
@@ -14,6 +24,12 @@ interface RowProps {
|
|
|
14
24
|
gap?: UiSpaceName | CssLength;
|
|
15
25
|
/** Allow this row to grow/shrink, use a keyword, or supply a typed CSS flex shorthand. */
|
|
16
26
|
flex?: boolean | CssFlexKeyword | CssFlex;
|
|
27
|
+
/**
|
|
28
|
+
* Fill the height of a parent with a definite height, such as an app root or
|
|
29
|
+
* a fixed-height frame, when this row is that parent's layout root. Inside a
|
|
30
|
+
* flex layout use `flex` instead. Defaults to false.
|
|
31
|
+
*/
|
|
32
|
+
fill?: boolean;
|
|
17
33
|
/** Allow children to wrap onto additional lines. */
|
|
18
34
|
wrap?: boolean;
|
|
19
35
|
/** Physical sides that receive the standard 17px text inset. */
|
|
@@ -21,8 +37,12 @@ interface RowProps {
|
|
|
21
37
|
/** Physical sides that receive the standard 8px control inset. Text insets win on overlap. */
|
|
22
38
|
controlInsets?: Sides;
|
|
23
39
|
className?: string;
|
|
40
|
+
/** Safe `data-*` metadata; Row-owned structural attributes remain protected. */
|
|
41
|
+
rootAttributes?: RowRootAttributes;
|
|
42
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
43
|
+
slot?: string;
|
|
24
44
|
}
|
|
25
45
|
/** A horizontal flex row with explicit physical-axis alignment and spacing. */
|
|
26
|
-
declare function Row({ children, hAlign, vAlign, gap, flex, wrap, textInsets, controlInsets, className, }: RowProps): kerfjs.SafeHtml;
|
|
46
|
+
declare function Row({ children, hAlign, vAlign, gap, flex, fill, wrap, textInsets, controlInsets, className, rootAttributes, slot, }: RowProps): kerfjs.SafeHtml;
|
|
27
47
|
|
|
28
48
|
export { CssFlex, CssFlexKeyword, CssLength, HorizontalAlignment, Row, type RowProps, Sides, UiSpaceName, VerticalAlignment };
|
package/dist/row.js
CHANGED
|
@@ -25,7 +25,9 @@ interface SegmentedControlProps<Value extends string = string> {
|
|
|
25
25
|
className?: string;
|
|
26
26
|
/** Render as an unanimated loading skeleton, disabling every segment. */
|
|
27
27
|
placeholder?: boolean;
|
|
28
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
29
|
+
slot?: string;
|
|
28
30
|
}
|
|
29
|
-
declare function SegmentedControl<Value extends string>({ id, label, value, choices, action, appearance, shape, size, layout, className, placeholder, }: SegmentedControlProps<Value>): kerfjs.SafeHtml;
|
|
31
|
+
declare function SegmentedControl<Value extends string>({ id, label, value, choices, action, appearance, shape, size, layout, className, placeholder, slot, }: SegmentedControlProps<Value>): kerfjs.SafeHtml;
|
|
30
32
|
|
|
31
33
|
export { SegmentedControl, type SegmentedControlAppearance, type SegmentedControlChoice, type SegmentedControlLayout, type SegmentedControlProps, type SegmentedControlShape, type SegmentedControlSize };
|
package/dist/select.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SafeHtml } from 'kerfjs';
|
|
2
|
-
import {
|
|
2
|
+
import { CssForegroundColor } from './css-values.js';
|
|
3
3
|
import { LucideNode } from './lucide-icon.js';
|
|
4
4
|
import 'lucide';
|
|
5
5
|
|
|
@@ -8,9 +8,19 @@ interface SelectChoice<Value extends string = string> {
|
|
|
8
8
|
label: string;
|
|
9
9
|
icon?: LucideNode;
|
|
10
10
|
iconName?: string;
|
|
11
|
-
/**
|
|
12
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Foreground color for the optional icon: a semantic foreground token such
|
|
13
|
+
* as `uiColor('success-on-quiet')`, or an application-owned
|
|
14
|
+
* `foregroundColorVar('--app-icon-color')`. Fill tokens such as
|
|
15
|
+
* `uiColor('success')` are pale background tints and do not type-check.
|
|
16
|
+
*/
|
|
17
|
+
color?: CssForegroundColor;
|
|
13
18
|
group?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Draw a divider between this choice and the previous choice in the same
|
|
21
|
+
* list. A group boundary is already a separator, so the first choice of a
|
|
22
|
+
* group (or of the whole menu) never draws a second one.
|
|
23
|
+
*/
|
|
14
24
|
separatorBefore?: boolean;
|
|
15
25
|
}
|
|
16
26
|
type SelectAccessibleName = {
|
|
@@ -47,8 +57,10 @@ interface SelectBaseProps<Value extends string = string> {
|
|
|
47
57
|
focusRingOwner?: SelectFocusRingOwner;
|
|
48
58
|
/** Maximum closed-control label width in CSS pixels before ellipsis. */
|
|
49
59
|
labelMaxWidth?: number;
|
|
60
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
61
|
+
slot?: string;
|
|
50
62
|
}
|
|
51
63
|
type SelectProps<Value extends string = string> = SelectBaseProps<Value> & SelectAccessibleName;
|
|
52
|
-
declare function Select<Value extends string>({ name, value, label, ariaLabel, choices, className, placeholderText, hint, disabled, fitMenu, renderSelected, placeholder, presentation, size, selectedPresentation, focusRingOwner, labelMaxWidth, }: SelectProps<Value>): SafeHtml;
|
|
64
|
+
declare function Select<Value extends string>({ name, value, label, ariaLabel, choices, className, placeholderText, hint, disabled, fitMenu, renderSelected, placeholder, presentation, size, selectedPresentation, focusRingOwner, labelMaxWidth, slot, }: SelectProps<Value>): SafeHtml;
|
|
53
65
|
|
|
54
66
|
export { Select, type SelectChoice, type SelectFocusRingOwner, type SelectPresentation, type SelectProps, type SelectSelectedPresentation, type SelectSize };
|
package/dist/select.js
CHANGED
package/dist/skeleton.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ interface SkeletonProps {
|
|
|
13
13
|
/** Accessible label. Omit to keep the block decorative (`aria-hidden`). */
|
|
14
14
|
label?: string;
|
|
15
15
|
className?: string;
|
|
16
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
17
|
+
slot?: string;
|
|
16
18
|
}
|
|
17
19
|
/**
|
|
18
20
|
* A subtle, deliberately **unanimated** loading placeholder block. Use it for a
|
|
@@ -20,6 +22,6 @@ interface SkeletonProps {
|
|
|
20
22
|
* `placeholder` prop. Decorative by default (`aria-hidden`); pass `label` to
|
|
21
23
|
* announce it. Sizes to its slot unless `width`/`height` are given.
|
|
22
24
|
*/
|
|
23
|
-
declare function Skeleton({ width, height, radius, lines, label, className, }: SkeletonProps): kerfjs.SafeHtml;
|
|
25
|
+
declare function Skeleton({ width, height, radius, lines, label, className, slot, }: SkeletonProps): kerfjs.SafeHtml;
|
|
24
26
|
|
|
25
27
|
export { Skeleton, type SkeletonProps };
|
package/dist/skeleton.js
CHANGED
package/dist/spacer.d.ts
CHANGED
|
@@ -9,8 +9,10 @@ interface SpacerProps {
|
|
|
9
9
|
/** A named UI spacing token or typed physical height. */
|
|
10
10
|
height?: UiSpaceName | CssLength;
|
|
11
11
|
className?: string;
|
|
12
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
13
|
+
slot?: string;
|
|
12
14
|
}
|
|
13
15
|
/** A decorative fixed-size or flexible gap for Row, List, and other flex layouts. */
|
|
14
|
-
declare function Spacer({ flex, width, height, className, }: SpacerProps): kerfjs.SafeHtml;
|
|
16
|
+
declare function Spacer({ flex, width, height, className, slot, }: SpacerProps): kerfjs.SafeHtml;
|
|
15
17
|
|
|
16
18
|
export { CssLength, Spacer, type SpacerProps, UiSpaceName };
|
package/dist/spacer.js
CHANGED
package/dist/split-view.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ interface SplitViewProps {
|
|
|
30
30
|
/** A resizable separator on roomy classes (min/max px). Omit for a fixed split. */
|
|
31
31
|
resizable?: SplitViewResizable;
|
|
32
32
|
className?: string;
|
|
33
|
+
/** Native named-slot assignment when composed inside a web component. */
|
|
34
|
+
slot?: string;
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* A list-detail split. On roomy classes it shows both panes side
|
|
@@ -38,6 +40,6 @@ interface SplitViewProps {
|
|
|
38
40
|
* resizable wiring with `wireResizableRegions` and the compact back with
|
|
39
41
|
* `wireNavStack`.
|
|
40
42
|
*/
|
|
41
|
-
declare function SplitView({ id, label, list, detail, compact, detailActive, listTitle, detailTitle, backLabel, resizable, className, }: SplitViewProps): kerfjs.SafeHtml;
|
|
43
|
+
declare function SplitView({ id, label, list, detail, compact, detailActive, listTitle, detailTitle, backLabel, resizable, className, slot, }: SplitViewProps): kerfjs.SafeHtml;
|
|
42
44
|
|
|
43
45
|
export { SplitView, type SplitViewProps, type SplitViewResizable };
|