@starci/grammar 0.17.1 → 0.19.0
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 +26 -8
- package/dist/.build-stamp.json +4 -4
- package/dist/common/components-forms.css +8 -8
- package/dist/common/components-navigation.css +146 -34
- package/dist/common/components-overlays.css +13 -15
- package/dist/common/components-spacing.css +97 -0
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/registry.d.ts +15 -3
- package/dist/common/registry.d.ts.map +1 -1
- package/dist/common/registry.js +3 -2
- package/dist/common/registry.js.map +1 -1
- package/dist/common/renderers-navigation.d.ts +4 -4
- package/dist/common/renderers-navigation.d.ts.map +1 -1
- package/dist/common/renderers-navigation.js +1 -1
- package/dist/common/renderers-navigation.js.map +1 -1
- package/dist/common/renderers.d.ts +5 -1
- package/dist/common/renderers.d.ts.map +1 -1
- package/dist/common/renderers.js +4 -0
- package/dist/common/renderers.js.map +1 -1
- package/dist/common/spacing.d.ts +32 -2
- package/dist/common/spacing.d.ts.map +1 -1
- package/dist/common/spacing.js +29 -2
- package/dist/common/spacing.js.map +1 -1
- package/dist/common/styles.css +226 -79
- package/dist/core/branch/FlowGraph/index.d.ts +21 -7
- package/dist/core/branch/FlowGraph/index.d.ts.map +1 -1
- package/dist/core/branch/FlowGraph/index.js +236 -42
- package/dist/core/branch/FlowGraph/index.js.map +1 -1
- package/dist/core/branch/FlowGraph/layout.d.ts +58 -0
- package/dist/core/branch/FlowGraph/layout.d.ts.map +1 -1
- package/dist/core/branch/FlowGraph/layout.js +198 -0
- package/dist/core/branch/FlowGraph/layout.js.map +1 -1
- package/dist/core/branch/FlowGraph/types.d.ts +33 -3
- package/dist/core/branch/FlowGraph/types.d.ts.map +1 -1
- package/dist/core/branch/Rail/index.d.ts +1 -1
- package/dist/core/branch/Rail/index.d.ts.map +1 -1
- package/dist/core/branch/Rail/index.js +1 -1
- package/dist/core/branch/Rail/index.js.map +1 -1
- package/dist/core/branch/Tabs/index.d.ts +4 -4
- package/dist/core/branch/Tabs/index.d.ts.map +1 -1
- package/dist/core/branch/Tabs/index.js +1 -3
- package/dist/core/branch/Tabs/index.js.map +1 -1
- package/dist/core/composite/Stepper/index.d.ts +7 -2
- package/dist/core/composite/Stepper/index.d.ts.map +1 -1
- package/dist/core/composite/Stepper/index.js +1 -1
- package/dist/core/composite/Stepper/index.js.map +1 -1
- package/dist/core/composition/Cluster/index.d.ts +23 -0
- package/dist/core/composition/Cluster/index.d.ts.map +1 -0
- package/dist/core/composition/Cluster/index.js +8 -0
- package/dist/core/composition/Cluster/index.js.map +1 -0
- package/dist/core/composition/Grid/index.d.ts +32 -0
- package/dist/core/composition/Grid/index.d.ts.map +1 -0
- package/dist/core/composition/Grid/index.js +19 -0
- package/dist/core/composition/Grid/index.js.map +1 -0
- package/dist/core/composition/Page/index.js +1 -1
- package/dist/core/composition/Page/index.js.map +1 -1
- package/dist/core/composition/Stack/index.d.ts +30 -0
- package/dist/core/composition/Stack/index.d.ts.map +1 -0
- package/dist/core/composition/Stack/index.js +23 -0
- package/dist/core/composition/Stack/index.js.map +1 -0
- package/dist/core/dna.d.ts +7 -30
- package/dist/core/dna.d.ts.map +1 -1
- package/dist/core/dna.js +3 -17
- package/dist/core/dna.js.map +1 -1
- package/dist/core/primitive/Button/index.js +7 -2
- package/dist/core/primitive/Button/index.js.map +1 -1
- package/dist/core/primitive/ConnectionStatus/index.d.ts +15 -0
- package/dist/core/primitive/ConnectionStatus/index.d.ts.map +1 -0
- package/dist/core/primitive/ConnectionStatus/index.js +15 -0
- package/dist/core/primitive/ConnectionStatus/index.js.map +1 -0
- package/dist/core/primitive/Progress/index.d.ts +9 -2
- package/dist/core/primitive/Progress/index.d.ts.map +1 -1
- package/dist/core/primitive/Progress/index.js +3 -3
- package/dist/core/primitive/Progress/index.js.map +1 -1
- package/dist/core/styles.css +1 -1
- package/dist/offset-pop/components-navigation.css +1 -1
- package/dist/offset-pop/dna.d.ts +7 -53
- package/dist/offset-pop/dna.d.ts.map +1 -1
- package/dist/offset-pop/dna.js +3 -17
- package/dist/offset-pop/dna.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* VENDOR PART SPACING ON THE SCALE.
|
|
3
|
+
*
|
|
4
|
+
* HeroUI's parts carry their own padding and gap (`p-6` on a dialog, `px-4` on a button, `py-1.5` on a list option,
|
|
5
|
+
* `py-2.5` on a table column, a 3px body offset). The Grammar's scale is 0 4 8 12 24 32 (common/spacing.ts), so each
|
|
6
|
+
* part below takes the step its role names. These rules sit in the vendor's own `components` layer: there a compound
|
|
7
|
+
* selector of the Grammar class outranks the vendor's single class by specificity, whichever sheet loads first, so no
|
|
8
|
+
* declaration needs `!important`. The overrides are recorded in contexts/vendor/wrappers.yaml (ruling spacing-roles).
|
|
9
|
+
*/
|
|
10
|
+
@layer components {
|
|
11
|
+
/* Dialog and drawer: one inset on every side; header, body and footer are spaced by the dialog's row gap alone. */
|
|
12
|
+
.starci-core-overlay-backdrop > .starci-core-dialog-container {
|
|
13
|
+
padding: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.starci-core-dialog-container > .starci-core-dialog,
|
|
17
|
+
.starci-core-drawer-content .starci-core-drawer {
|
|
18
|
+
padding: var(--grammar-overlay-inset, 0.75rem);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:is(.starci-core-dialog, .starci-core-drawer) > .starci-core-overlay-header ~ .starci-core-overlay-body,
|
|
22
|
+
:is(.starci-core-dialog, .starci-core-drawer) > .starci-core-overlay-header ~ .starci-core-overlay-footer {
|
|
23
|
+
margin-block: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* The body is the scroll owner: it keeps the identity step inline as focus clearance, drawn back over the inset. */
|
|
27
|
+
:is(.starci-core-dialog, .starci-core-drawer) > .starci-core-overlay-header ~ .starci-core-overlay-body {
|
|
28
|
+
margin-inline: calc(-1 * var(--grammar-identity-gap, 0.25rem));
|
|
29
|
+
padding: 0 var(--grammar-identity-gap, 0.25rem);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Buttons: the inline padding of the size step, one step less on the side a glyph stands on. */
|
|
33
|
+
.starci-core-button[data-size="sm"] {
|
|
34
|
+
padding-inline: var(--grammar-control-padding-inline-sm, 0.5rem);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.starci-core-button:is([data-size="md"], [data-size="control"]) {
|
|
38
|
+
padding-inline: var(--grammar-control-padding-inline-md, 0.75rem);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.starci-core-button[data-size="lg"] {
|
|
42
|
+
padding-inline: var(--grammar-control-padding-inline-lg, 1.5rem);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.starci-core-button[data-size="sm"][data-grammar-button-start="glyph"] {
|
|
46
|
+
padding-inline-start: var(--grammar-control-padding-glyph-sm, 0.25rem);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.starci-core-button[data-size="sm"][data-grammar-button-end="glyph"] {
|
|
50
|
+
padding-inline-end: var(--grammar-control-padding-glyph-sm, 0.25rem);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.starci-core-button:is([data-size="md"], [data-size="control"])[data-grammar-button-start="glyph"] {
|
|
54
|
+
padding-inline-start: var(--grammar-control-padding-glyph-md, 0.5rem);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.starci-core-button:is([data-size="md"], [data-size="control"])[data-grammar-button-end="glyph"] {
|
|
58
|
+
padding-inline-end: var(--grammar-control-padding-glyph-md, 0.5rem);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.starci-core-button[data-size="lg"][data-grammar-button-start="glyph"] {
|
|
62
|
+
padding-inline-start: var(--grammar-control-padding-glyph-lg, 0.75rem);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.starci-core-button[data-size="lg"][data-grammar-button-end="glyph"] {
|
|
66
|
+
padding-inline-end: var(--grammar-control-padding-glyph-lg, 0.75rem);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Alert and toast: a box inside a surface, the container inset on every side, glyph and copy an inline pair. */
|
|
70
|
+
.starci-core-alert[data-component="Alert"],
|
|
71
|
+
.starci-core-toast[data-component="Toast"] {
|
|
72
|
+
gap: var(--grammar-inline-gap, 0.5rem);
|
|
73
|
+
padding: var(--grammar-inset, 0.75rem);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* An alert inside a card is one level in: the nested step on every side. */
|
|
77
|
+
.starci-core-surface-content .starci-core-alert[data-component="Alert"] {
|
|
78
|
+
padding: var(--grammar-inset-nested, 0.5rem);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* The toast's end side holds its close action, which carries its own room: the nested step. */
|
|
82
|
+
.starci-core-toast[data-component="Toast"] {
|
|
83
|
+
padding-inline-end: var(--grammar-inset-nested, 0.5rem);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/* List option: the nested inset on every side (a one-line row is 8 + 24 + 8 = 40), the avatar a row step from the text. */
|
|
87
|
+
.starci-core-list-box .starci-core-list-box-item {
|
|
88
|
+
gap: var(--grammar-row-gap, 0.75rem);
|
|
89
|
+
padding: var(--grammar-inset-nested, 0.5rem);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Table: the container inset inline, the nested step in the block axis (a 40px row). */
|
|
93
|
+
.starci-core-data-table .starci-core-data-table-column,
|
|
94
|
+
.starci-core-data-table .starci-core-data-table-cell {
|
|
95
|
+
padding: var(--grammar-inset-nested, 0.5rem) var(--grammar-inset, 0.75rem);
|
|
96
|
+
}
|
|
97
|
+
}
|
package/dist/common/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PRESENTATION_STATES, assertPresentationState, isPresentationState, type PresentationState } from "./state.js";
|
|
2
|
-
export { COMMON_SPACING_SCALE, COMMON_SPACING_TOKENS, type CommonSpacingStep, type CommonSpacingValue } from "./spacing.js";
|
|
2
|
+
export { COMMON_GAP_ROLES, COMMON_SPACING_SCALE, COMMON_SPACING_TOKENS, type CommonGapRole, type CommonSpacingStep, type CommonSpacingValue, type GapRole } from "./spacing.js";
|
|
3
3
|
export { COMMON_UI_RULE_IDS, defineGrammarRuleConformance, type GrammarRuleConformance } from "./conformance.js";
|
|
4
4
|
export * from "./renderers.js";
|
|
5
5
|
export { COMMON_GRAMMAR_COMPONENTS, defineGrammarFamily, type CommonGrammarComponentName, type GrammarComponentRenderer, type GrammarFamilyContract, type GrammarFamilyStyles, } from "./registry.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACtH,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACtH,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAA;AAC/K,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAChH,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EACH,yBAAyB,EACzB,mBAAmB,EACnB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,GAC3B,MAAM,eAAe,CAAA"}
|
package/dist/common/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PRESENTATION_STATES, assertPresentationState, isPresentationState } from "./state.js";
|
|
2
|
-
export { COMMON_SPACING_SCALE, COMMON_SPACING_TOKENS } from "./spacing.js";
|
|
2
|
+
export { COMMON_GAP_ROLES, COMMON_SPACING_SCALE, COMMON_SPACING_TOKENS } from "./spacing.js";
|
|
3
3
|
export { COMMON_UI_RULE_IDS, defineGrammarRuleConformance } from "./conformance.js";
|
|
4
4
|
export * from "./renderers.js";
|
|
5
5
|
export { COMMON_GRAMMAR_COMPONENTS, defineGrammarFamily, } from "./registry.js";
|
package/dist/common/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,mBAAmB,EAA0B,MAAM,YAAY,CAAA;AACtH,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,mBAAmB,EAA0B,MAAM,YAAY,CAAA;AACtH,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,qBAAqB,EAAqF,MAAM,cAAc,CAAA;AAC/K,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAA+B,MAAM,kBAAkB,CAAA;AAChH,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EACH,yBAAyB,EACzB,mBAAmB,GAKtB,MAAM,eAAe,CAAA"}
|
|
@@ -19,7 +19,7 @@ export declare const COMMON_GRAMMAR_COMPONENTS: Readonly<{
|
|
|
19
19
|
readonly DescriptionList: (props: import("./renderers-navigation.js").DescriptionListProps) => import("react").JSX.Element;
|
|
20
20
|
readonly Disclosure: ({ title, children, summary, isExpanded, defaultExpanded, onExpandedChange, isDisabled, headingLevel, className, }: import("./renderers-navigation.js").DisclosureProps) => import("react").JSX.Element;
|
|
21
21
|
readonly DragItem: ({ children, isDisabled, onDragStart, onDragEnd, isSelected, isInvalid, isDashed, leadingColor }: import("./renderers-navigation.js").DragItemProps) => import("react").JSX.Element;
|
|
22
|
-
readonly FlowGraph: ({ label, nodes, edges, selectedId, onSelect, height, fit, isInteractive, showControls, layout: layoutProp, direction, headers, emptyLabel, isLoading, className, }: import("./renderers-navigation.js").FlowGraphProps) => import("react").JSX.Element;
|
|
22
|
+
readonly FlowGraph: ({ label, nodes, edges, selectedId, onSelect, expandedIds, defaultExpandedIds, onExpandedChange, fanLimit, height, fit, isInteractive, showControls, layout: layoutProp, direction, headers, emptyLabel, isLoading, className, }: import("./renderers-navigation.js").FlowGraphProps) => import("react").JSX.Element;
|
|
23
23
|
readonly Footer: ({ label, brand, groups, legal, externalHint, children, className }: import("./renderers-navigation.js").FooterProps) => import("react").JSX.Element;
|
|
24
24
|
readonly IdentityLockup: ({ title, subtitle, logoSrc, markShape, size, onPress, isDisabled }: import("./renderers-navigation.js").IdentityLockupProps) => import("react").JSX.Element;
|
|
25
25
|
readonly Image: ({ src, alt, aspect, fit, fallback, loading, srcSet, sizes, width, height, onLoadStateChange, plate, className, ...assetSlot }: import("./renderers-navigation.js").ImageProps) => import("react").JSX.Element;
|
|
@@ -29,7 +29,7 @@ export declare const COMMON_GRAMMAR_COMPONENTS: Readonly<{
|
|
|
29
29
|
readonly Pagination: ({ label, page, pageCount, onPageChange, siblingCount, previousLabel, nextLabel, pageLabel, summary, className, }: import("./renderers-navigation.js").PaginationProps) => import("react").JSX.Element;
|
|
30
30
|
readonly PlainPressable: ({ children, "aria-label": ariaLabel, onPress, isDisabled, shape, size, className }: import("./renderers-navigation.js").PlainPressableProps) => import("react").JSX.Element;
|
|
31
31
|
readonly Rating: ({ label, value, defaultValue, onChange, max, isReadOnly, isDisabled, valueLabel, icon, name, className, }: import("./renderers-navigation.js").RatingProps) => import("react").JSX.Element;
|
|
32
|
-
readonly Stepper: ({ label, steps, currentStepId, orientation, onStepSelect, stateLabel, renderMarker, className, isLoading, }: import("./renderers-navigation.js").StepperProps) => import("react").JSX.Element;
|
|
32
|
+
readonly Stepper: ({ label, steps, currentStepId, orientation, size, onStepSelect, stateLabel, renderMarker, className, isLoading, }: import("./renderers-navigation.js").StepperProps) => import("react").JSX.Element;
|
|
33
33
|
readonly TagGroup: (props: import("./renderers-navigation.js").TagGroupProps) => import("react").JSX.Element;
|
|
34
34
|
readonly Timeline: ({ label, items, className, isLoading, loadingRows }: import("./renderers-navigation.js").TimelineProps) => import("react").JSX.Element;
|
|
35
35
|
readonly TopBar: ({ brand, navigation, actions, menu, position, className, ...headerProps }: import("./renderers-navigation.js").TopBarProps) => import("react").JSX.Element;
|
|
@@ -74,6 +74,7 @@ export declare const COMMON_GRAMMAR_COMPONENTS: Readonly<{
|
|
|
74
74
|
readonly Badge: ({ children, startContent, tone, isDot, isSkeleton }: import("./renderers.js").BadgeProps) => import("react").JSX.Element;
|
|
75
75
|
readonly Button: (props: import("./renderers.js").ButtonProps) => import("react").JSX.Element;
|
|
76
76
|
readonly Code: ({ children, isSkeleton }: import("./renderers.js").CodeProps) => import("react").JSX.Element;
|
|
77
|
+
readonly ConnectionStatus: ({ state, label }: import("./renderers.js").ConnectionStatusProps) => import("react").JSX.Element;
|
|
77
78
|
readonly ChatBubble: ({ children, side, author, avatar, meta, status, actions, footer, isHighlight, id, isSkeleton, }: import("./renderers.js").ChatBubbleProps) => import("react").JSX.Element;
|
|
78
79
|
readonly PaneGrid: (props: import("./renderers.js").PaneGridProps) => import("react").JSX.Element;
|
|
79
80
|
readonly Pane: (props: import("./renderers.js").PaneProps) => import("react").JSX.Element;
|
|
@@ -117,7 +118,7 @@ export declare const COMMON_GRAMMAR_COMPONENTS: Readonly<{
|
|
|
117
118
|
readonly PinnedActionBar: (props: import("./renderers.js").PinnedActionBarProps) => import("react").JSX.Element;
|
|
118
119
|
readonly PressableField: ({ label, placeholder, source, shortcut, variant: requestedVariant, isDisabled, onPress }: import("./renderers.js").PressableFieldProps) => import("react").JSX.Element;
|
|
119
120
|
readonly PrimaryRailLayout: ({ primary, rail, railWidth, align, collapsedOrder, railPosition, className, }: import("./renderers.js").PrimaryRailLayoutProps) => import("react").JSX.Element;
|
|
120
|
-
readonly Progress: ({ label, value, isSkeleton, steps, valueText }: import("./renderers.js").ProgressProps) => import("react").JSX.Element;
|
|
121
|
+
readonly Progress: ({ label, value, isSkeleton, steps, valueText, tone }: import("./renderers.js").ProgressProps) => import("react").JSX.Element;
|
|
121
122
|
readonly Rail: (props: import("./renderers.js").RailProps) => import("react").JSX.Element;
|
|
122
123
|
readonly RankArtwork: ({ className, kind, label, ...props }: import("./renderers.js").RankArtworkProps) => import("react").JSX.Element;
|
|
123
124
|
readonly Region: (props: import("./renderers.js").RegionProps) => import("react").JSX.Element;
|
|
@@ -128,6 +129,17 @@ export declare const COMMON_GRAMMAR_COMPONENTS: Readonly<{
|
|
|
128
129
|
readonly StaticStateRow: (props: import("./renderers.js").StaticStateRowProps) => import("react").JSX.Element;
|
|
129
130
|
readonly StatusDot: (props: import("./renderers.js").StatusDotProps) => import("react").JSX.Element;
|
|
130
131
|
readonly Subnav: ({ label, title, leading, menuIcon, openMenuLabel, closeMenuLabel, isMenuOpen, onMenuOpenChange, position, visibility, className, ...navProps }: import("./renderers.js").SubnavProps) => import("react").JSX.Element;
|
|
132
|
+
readonly Stack: ({ children, gap, align, measure, as }: import("./renderers.js").StackProps) => import("react").DetailedReactHTMLElement<{
|
|
133
|
+
className: string;
|
|
134
|
+
"data-component": string;
|
|
135
|
+
"data-tier": string;
|
|
136
|
+
"data-grammar-gap": import("./spacing.js").GapRole;
|
|
137
|
+
"data-grammar-align": import("./renderers.js").StackAlign;
|
|
138
|
+
"data-grammar-measure": import("./renderers.js").StackMeasure;
|
|
139
|
+
"data-contract": string;
|
|
140
|
+
}, HTMLElement>;
|
|
141
|
+
readonly Cluster: ({ children, gap, wrap, align, justify }: import("./renderers.js").ClusterProps) => import("react").JSX.Element;
|
|
142
|
+
readonly Grid: (props: import("./renderers.js").GridProps) => import("react").JSX.Element;
|
|
131
143
|
readonly SurfaceAccordionCard: <Summary, Body>(props: import("./renderers.js").SurfaceAccordionCardProps<Summary, Body>) => import("react").JSX.Element;
|
|
132
144
|
readonly SurfaceCard: (props: import("./renderers.js").SurfaceCardProps) => import("react").JSX.Element;
|
|
133
145
|
readonly SurfaceCopyGroup: ({ className, density, ...props }: import("./renderers.js").SurfaceCopyGroupProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/common/registry.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/common/registry.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAEvE,MAAM,MAAM,wBAAwB,CAAC,KAAK,IAAI,aAAa,CAAC,KAAK,CAAC,CAAA;AAClE,KAAK,uBAAuB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAA;AACpE,KAAK,sBAAsB,CAAC,MAAM,SAAS,uBAAuB,IAAI;IAClE,QAAQ,EAAE,IAAI,IAAI,MAAM,MAAM,CAAC,CAAC,EAAE,wBAAwB,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;CAC3F,CAAA;AACD,KAAK,gCAAgC,CAAC,MAAM,SAAS,uBAAuB,EAAE,UAAU,SAAS,uBAAuB,IACpH,UAAU,GAAG;IAAE,QAAQ,EAAE,IAAI,IAAI,OAAO,CAAC,MAAM,UAAU,EAAE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E,mBAAmB,CAAC,QAAQ,CAAC,CAAA;IAC9C,QAAQ,CAAC,UAAU,EAAE;QACjB,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAA;QACnC,QAAQ,CAAC,UAAU,EAAE,gCAAgC,CAAC,OAAO,yBAAyB,EAAE,UAAU,CAAC,CAAA;KACtG,CAAA;CACJ,KAAG,qBAAqB,CAAC,QAAQ,EAAE,UAAU,CAuB7C,CAAA"}
|
package/dist/common/registry.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Backdrop, Badge, Button, Code, ChatBubble, PaneGrid, Pane, PaneSection, Divider, EmptyNotice, FencedCodeBlock, FillViewport, Freestyle, GrammarRoot, Heading, HorizontalScrollRegion, Icon, IconButton, IconTile, IncludedMark, Input, Label, LeadingNumber, List, ListItem, ListRow, MarkdownArticle, MarkdownTableFrame, Mascot, MediaFrame, NavigationFeatureNav, NavLandmark, OtpInput, Page, PageContainer, PageHeader, PinnedActionBar, PressableField, PrimaryRailLayout, Progress, Rail, RankArtwork, Region, RelativeTime, SectionHeader, Sidebar, StateMark, StaticStateRow, StatusDot, Subnav, SurfaceAccordionCard, SurfaceCard, SurfaceCopyGroup, SurfaceListCard, Tabs, Terminal, Text, TextAction, Tooltip, VerticalScrollRegion, WorkspaceShell, } from "./renderers.js";
|
|
2
|
+
import { Backdrop, Badge, Button, Code, ConnectionStatus, ChatBubble, PaneGrid, Pane, PaneSection, Divider, EmptyNotice, FencedCodeBlock, FillViewport, Freestyle, GrammarRoot, Heading, HorizontalScrollRegion, Icon, IconButton, IconTile, IncludedMark, Input, Label, LeadingNumber, List, ListItem, ListRow, MarkdownArticle, MarkdownTableFrame, Mascot, MediaFrame, NavigationFeatureNav, NavLandmark, OtpInput, Page, PageContainer, PageHeader, PinnedActionBar, PressableField, PrimaryRailLayout, Progress, Rail, RankArtwork, Region, RelativeTime, SectionHeader, Sidebar, StateMark, StaticStateRow, StatusDot, Subnav, Stack, Cluster, Grid, SurfaceAccordionCard, SurfaceCard, SurfaceCopyGroup, SurfaceListCard, Tabs, Terminal, Text, TextAction, Tooltip, VerticalScrollRegion, WorkspaceShell, } from "./renderers.js";
|
|
3
3
|
import { COMMON_FORMS_COMPONENTS } from "./renderers-forms.js";
|
|
4
4
|
import { COMMON_OVERLAYS_COMPONENTS } from "./renderers-overlays.js";
|
|
5
5
|
import { COMMON_NAVIGATION_COMPONENTS } from "./renderers-navigation.js";
|
|
6
6
|
export const COMMON_GRAMMAR_COMPONENTS = Object.freeze({
|
|
7
|
-
Backdrop, Badge, Button, Code, ChatBubble, PaneGrid, Pane, PaneSection, Divider, EmptyNotice, FencedCodeBlock, FillViewport, Freestyle, GrammarRoot,
|
|
7
|
+
Backdrop, Badge, Button, Code, ConnectionStatus, ChatBubble, PaneGrid, Pane, PaneSection, Divider, EmptyNotice, FencedCodeBlock, FillViewport, Freestyle, GrammarRoot,
|
|
8
8
|
Heading, HorizontalScrollRegion, Icon, IconButton, IconTile, IncludedMark, Input,
|
|
9
9
|
Label, LeadingNumber, List, ListItem, ListRow, MarkdownArticle, MarkdownTableFrame, Mascot, MediaFrame,
|
|
10
10
|
NavigationFeatureNav, NavLandmark, OtpInput, Page, PageContainer, PageHeader, PinnedActionBar, PressableField, PrimaryRailLayout,
|
|
11
11
|
Progress, Rail, RankArtwork, Region, RelativeTime, SectionHeader, Sidebar, StateMark, StaticStateRow, StatusDot, Subnav,
|
|
12
|
+
Stack, Cluster, Grid,
|
|
12
13
|
SurfaceAccordionCard, SurfaceCard, SurfaceCopyGroup, SurfaceListCard, Tabs, Terminal, Text,
|
|
13
14
|
TextAction, Tooltip, VerticalScrollRegion, WorkspaceShell,
|
|
14
15
|
...COMMON_FORMS_COMPONENTS,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/common/registry.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EACH,QAAQ,EAAE,KAA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AI,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC;QACjE,IAAI,CAAC,CAAC,IAAI,IAAI,yBAAyB,CAAC;YAAE,MAAM,IAAI,SAAS,CAAC,4CAA4C,IAAI,EAAE,CAAC,CAAA;IACrH,CAAC;IACD,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC/D,IAAI,IAAI,IAAI,yBAAyB;YAAE,MAAM,IAAI,SAAS,CAAC,qDAAqD,IAAI,EAAE,CAAC,CAAA;IAC3H,CAAC;IACD,MAAM,gBAAgB,GAAgC,EAAE,CAAA;IACxD,MAAM,CAAC,MAAM,CACT,gBAAgB,EAChB,yBAAyB,EACzB,UAAU,CAAC,UAAU,CAAC,YAAY,EAClC,UAAU,CAAC,UAAU,CAAC,UAAU,CACnC,CAAA;IACD,OAAO,MAAM,CAAC,MAAM,CAAC;QACjB,EAAE,EAAE,UAAU,CAAC,EAAE;QACjB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,UAAU,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;QACzH,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAuE;QACjH,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,qBAAqB,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC;KACtE,CAAC,CAAA;AACN,CAAC,CAAA"}
|
|
@@ -3,7 +3,7 @@ export { Calendar, type CalendarProps } from "../core/branch/Calendar/index.js";
|
|
|
3
3
|
export { DataTable, type DataTableCellInteraction, type DataTableColumn, type DataTableProps, type DataTableRow, type DataTableSort } from "../core/branch/DataTable/index.js";
|
|
4
4
|
export { DragItem, type DragItemProps } from "../core/branch/DragItem/index.js";
|
|
5
5
|
export { Disclosure, type DisclosureProps } from "../core/branch/Disclosure/index.js";
|
|
6
|
-
export { FlowGraph, layeredPositions, radialPositions, type FlowGraphDirection, type FlowGraphEdge, type FlowGraphHeight, type FlowGraphLayerHeader, type FlowGraphLayout, type FlowGraphNode, type FlowGraphNodeShape, type FlowGraphNodeSize, type FlowGraphProps, type FlowGraphTone } from "../core/branch/FlowGraph/index.js";
|
|
6
|
+
export { FlowGraph, flowGraphDiameter, layeredPositions, orbitLayout, radialPositions, type FlowGraphDirection, type FlowGraphEdge, type FlowGraphFill, type FlowGraphHeight, type FlowGraphLayerHeader, type FlowGraphLayout, type FlowGraphNode, type FlowGraphNodeForm, type FlowGraphNodeShape, type FlowGraphNodeSize, type FlowGraphProps, type FlowGraphRingPart, type FlowGraphTone } from "../core/branch/FlowGraph/index.js";
|
|
7
7
|
export { MermaidDiagram, type MermaidDiagramHeight, type MermaidDiagramProps } from "../core/branch/MermaidDiagram/index.js";
|
|
8
8
|
export { ListBox, type ListBoxItem, type ListBoxSection, type ListBoxProps, type ListBoxSize } from "../core/branch/ListBox/index.js";
|
|
9
9
|
export type { ItemDescriptionLines } from "../core/collectionItem.js";
|
|
@@ -14,7 +14,7 @@ export { AvatarGroup, type AvatarGroupItem, type AvatarGroupProps } from "../cor
|
|
|
14
14
|
export { Breadcrumbs, type BreadcrumbItem, type BreadcrumbsProps } from "../core/composite/Breadcrumbs/index.js";
|
|
15
15
|
export { DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, type DescriptionListStatItem } from "../core/composite/DescriptionList/index.js";
|
|
16
16
|
export { Pagination, paginationTokens, type PaginationProps, type PaginationToken } from "../core/composite/Pagination/index.js";
|
|
17
|
-
export { Stepper, stepStateFor, type StepperProps, type StepperStep, type StepperStepState } from "../core/composite/Stepper/index.js";
|
|
17
|
+
export { Stepper, stepStateFor, type StepperProps, type StepperSize, type StepperStep, type StepperStepState } from "../core/composite/Stepper/index.js";
|
|
18
18
|
export { TagGroup, type TagGroupItem, type TagGroupProps } from "../core/composite/TagGroup/index.js";
|
|
19
19
|
export { Timeline, type TimelineItem, type TimelineProps } from "../core/composite/Timeline/index.js";
|
|
20
20
|
export { BottomNav, type BottomNavItem, type BottomNavProps } from "../core/composition/BottomNav/index.js";
|
|
@@ -38,7 +38,7 @@ export declare const COMMON_NAVIGATION_COMPONENTS: Readonly<{
|
|
|
38
38
|
readonly DescriptionList: (props: import("./renderers-navigation.js").DescriptionListProps) => import("react").JSX.Element;
|
|
39
39
|
readonly Disclosure: ({ title, children, summary, isExpanded, defaultExpanded, onExpandedChange, isDisabled, headingLevel, className, }: import("./renderers-navigation.js").DisclosureProps) => import("react").JSX.Element;
|
|
40
40
|
readonly DragItem: ({ children, isDisabled, onDragStart, onDragEnd, isSelected, isInvalid, isDashed, leadingColor }: import("./renderers-navigation.js").DragItemProps) => import("react").JSX.Element;
|
|
41
|
-
readonly FlowGraph: ({ label, nodes, edges, selectedId, onSelect, height, fit, isInteractive, showControls, layout: layoutProp, direction, headers, emptyLabel, isLoading, className, }: import("./renderers-navigation.js").FlowGraphProps) => import("react").JSX.Element;
|
|
41
|
+
readonly FlowGraph: ({ label, nodes, edges, selectedId, onSelect, expandedIds, defaultExpandedIds, onExpandedChange, fanLimit, height, fit, isInteractive, showControls, layout: layoutProp, direction, headers, emptyLabel, isLoading, className, }: import("./renderers-navigation.js").FlowGraphProps) => import("react").JSX.Element;
|
|
42
42
|
readonly Footer: ({ label, brand, groups, legal, externalHint, children, className }: import("./renderers-navigation.js").FooterProps) => import("react").JSX.Element;
|
|
43
43
|
readonly IdentityLockup: ({ title, subtitle, logoSrc, markShape, size, onPress, isDisabled }: import("./renderers-navigation.js").IdentityLockupProps) => import("react").JSX.Element;
|
|
44
44
|
readonly Image: ({ src, alt, aspect, fit, fallback, loading, srcSet, sizes, width, height, onLoadStateChange, plate, className, ...assetSlot }: import("./renderers-navigation.js").ImageProps) => import("react").JSX.Element;
|
|
@@ -48,7 +48,7 @@ export declare const COMMON_NAVIGATION_COMPONENTS: Readonly<{
|
|
|
48
48
|
readonly Pagination: ({ label, page, pageCount, onPageChange, siblingCount, previousLabel, nextLabel, pageLabel, summary, className, }: import("./renderers-navigation.js").PaginationProps) => import("react").JSX.Element;
|
|
49
49
|
readonly PlainPressable: ({ children, "aria-label": ariaLabel, onPress, isDisabled, shape, size, className }: import("./renderers-navigation.js").PlainPressableProps) => import("react").JSX.Element;
|
|
50
50
|
readonly Rating: ({ label, value, defaultValue, onChange, max, isReadOnly, isDisabled, valueLabel, icon, name, className, }: import("./renderers-navigation.js").RatingProps) => import("react").JSX.Element;
|
|
51
|
-
readonly Stepper: ({ label, steps, currentStepId, orientation, onStepSelect, stateLabel, renderMarker, className, isLoading, }: import("./renderers-navigation.js").StepperProps) => import("react").JSX.Element;
|
|
51
|
+
readonly Stepper: ({ label, steps, currentStepId, orientation, size, onStepSelect, stateLabel, renderMarker, className, isLoading, }: import("./renderers-navigation.js").StepperProps) => import("react").JSX.Element;
|
|
52
52
|
readonly TagGroup: (props: import("./renderers-navigation.js").TagGroupProps) => import("react").JSX.Element;
|
|
53
53
|
readonly Timeline: ({ label, items, className, isLoading, loadingRows }: import("./renderers-navigation.js").TimelineProps) => import("react").JSX.Element;
|
|
54
54
|
readonly TopBar: ({ brand, navigation, actions, menu, position, className, ...headerProps }: import("./renderers-navigation.js").TopBarProps) => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers-navigation.d.ts","sourceRoot":"","sources":["../../src/common/renderers-navigation.ts"],"names":[],"mappings":"AA6BA,OAAO,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,mCAAmC,CAAA;AACtG,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,kCAAkC,CAAA;AAC/E,OAAO,EAAE,SAAS,EAAE,KAAK,wBAAwB,EAAE,KAAK,eAAe,EA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YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACrG,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAA;AACrG,OAAO,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,wCAAwC,CAAA;AAC3G,OAAO,EAAE,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,MAAM,qCAAqC,CAAA;AACrH,OAAO,EAAE,MAAM,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,qCAAqC,CAAA;AAC/F,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAChJ,OAAO,EAAE,KAAK,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAA;AACrI,OAAO,EAAE,IAAI,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,iCAAiC,CAAA;AACrF,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAC5E,OAAO,EAAE,KAAK,EAAE,KAAK,kBAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAA;AAElG,gFAAgF;AAChF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG9B,CAAA"}
|
|
@@ -31,7 +31,7 @@ export { Calendar } from "../core/branch/Calendar/index.js";
|
|
|
31
31
|
export { DataTable } from "../core/branch/DataTable/index.js";
|
|
32
32
|
export { DragItem } from "../core/branch/DragItem/index.js";
|
|
33
33
|
export { Disclosure } from "../core/branch/Disclosure/index.js";
|
|
34
|
-
export { FlowGraph, layeredPositions, radialPositions } from "../core/branch/FlowGraph/index.js";
|
|
34
|
+
export { FlowGraph, flowGraphDiameter, layeredPositions, orbitLayout, radialPositions } from "../core/branch/FlowGraph/index.js";
|
|
35
35
|
export { MermaidDiagram } from "../core/branch/MermaidDiagram/index.js";
|
|
36
36
|
export { ListBox } from "../core/branch/ListBox/index.js";
|
|
37
37
|
export { AvatarButton } from "../core/composite/AvatarButton/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers-navigation.js","sourceRoot":"","sources":["../../src/common/renderers-navigation.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,8EAA8E;AAC9E,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAA;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAA;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAA;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAA;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAA;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAA;AAC9D,OAAO,EAAE,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A4C,MAAM,kCAAkC,CAAA;AAElG,gFAAgF;AAChF,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC,MAAM,CAAC;IACtD,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,eAAe;IAC1G,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK;CACvK,CAAC,CAAA"}
|
|
@@ -18,7 +18,8 @@ export { IconButton, type IconButtonProps, type IconButtonVariant } from "../cor
|
|
|
18
18
|
export { Label, type LabelProps, type SurfaceHeadingLevel } from "../core/primitive/Label/index.js";
|
|
19
19
|
export { Input, type InputKind, type InputProps, type InputVariant } from "../core/primitive/Input/index.js";
|
|
20
20
|
export { PressableField, type PressableFieldProps } from "../core/primitive/PressableField/index.js";
|
|
21
|
-
export { Progress, type ProgressProps } from "../core/primitive/Progress/index.js";
|
|
21
|
+
export { Progress, type ProgressProps, type ProgressTone } from "../core/primitive/Progress/index.js";
|
|
22
|
+
export { ConnectionStatus, type ConnectionState, type ConnectionStatusProps } from "../core/primitive/ConnectionStatus/index.js";
|
|
22
23
|
export { StatusDot, type StatusDotProps, type StatusDotSize, type StatusDotTone } from "../core/primitive/StatusDot/index.js";
|
|
23
24
|
export { Code, type CodeProps } from "../core/primitive/Code/index.js";
|
|
24
25
|
export { Terminal, type TerminalProps } from "../core/primitive/Terminal/index.js";
|
|
@@ -40,6 +41,9 @@ export { Sidebar, type SidebarGroup, type SidebarItem, type SidebarProps } from
|
|
|
40
41
|
export { WorkspaceShell, type WorkspaceShellHeaderLandmark, type WorkspaceShellNavigationDrawer, type WorkspaceShellProps } from "../core/composition/WorkspaceShell/index.js";
|
|
41
42
|
export { PaneGrid, Pane, type PaneGridProps, type PaneInset, type PaneProps, type PaneTrack } from "../core/composition/PaneGrid/index.js";
|
|
42
43
|
export { PaneSection, type PaneSectionProps } from "../core/composition/PaneSection/index.js";
|
|
44
|
+
export { Stack, type StackAlign, type StackMeasure, type StackProps } from "../core/composition/Stack/index.js";
|
|
45
|
+
export { Cluster, type ClusterAlign, type ClusterGap, type ClusterJustify, type ClusterProps } from "../core/composition/Cluster/index.js";
|
|
46
|
+
export { Grid, type GridCardColumns, type GridKind, type GridProps } from "../core/composition/Grid/index.js";
|
|
43
47
|
export { StateMark, type StateMarkProps } from "../core/StateMark.js";
|
|
44
48
|
export { LeadingNumber, type LeadingNumberProps } from "../core/LeadingNumber.js";
|
|
45
49
|
export { OtpInput, type OtpInputProps } from "../core/OtpInput.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../src/common/renderers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC3F,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,0CAA0C,CAAA;AACjG,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,kCAAkC,CAAA;AACzF,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAClI,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AAC/F,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,2CAA2C,CAAA;AACpG,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AAC3F,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,E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AA;AACjF,OAAO,EAAE,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAA;AACnG,OAAO,EAAE,2BAA2B,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,8BAA8B,EAAE,2BAA2B,EAAE,oBAAoB,EAAE,+BAA+B,EAAE,MAAM,uBAAuB,CAAA;AAC9N,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA"}
|
package/dist/common/renderers.js
CHANGED
|
@@ -20,6 +20,7 @@ export { Label } from "../core/primitive/Label/index.js";
|
|
|
20
20
|
export { Input } from "../core/primitive/Input/index.js";
|
|
21
21
|
export { PressableField } from "../core/primitive/PressableField/index.js";
|
|
22
22
|
export { Progress } from "../core/primitive/Progress/index.js";
|
|
23
|
+
export { ConnectionStatus } from "../core/primitive/ConnectionStatus/index.js";
|
|
23
24
|
export { StatusDot } from "../core/primitive/StatusDot/index.js";
|
|
24
25
|
export { Code } from "../core/primitive/Code/index.js";
|
|
25
26
|
export { Terminal } from "../core/primitive/Terminal/index.js";
|
|
@@ -41,6 +42,9 @@ export { Sidebar } from "../core/composition/Sidebar/index.js";
|
|
|
41
42
|
export { WorkspaceShell } from "../core/composition/WorkspaceShell/index.js";
|
|
42
43
|
export { PaneGrid, Pane } from "../core/composition/PaneGrid/index.js";
|
|
43
44
|
export { PaneSection } from "../core/composition/PaneSection/index.js";
|
|
45
|
+
export { Stack } from "../core/composition/Stack/index.js";
|
|
46
|
+
export { Cluster } from "../core/composition/Cluster/index.js";
|
|
47
|
+
export { Grid } from "../core/composition/Grid/index.js";
|
|
44
48
|
export { StateMark } from "../core/StateMark.js";
|
|
45
49
|
export { LeadingNumber } from "../core/LeadingNumber.js";
|
|
46
50
|
export { OtpInput } from "../core/OtpInput.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.js","sourceRoot":"","sources":["../../src/common/renderers.ts"],"names":[],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
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* The one spacing scale of every visual family: 0 4 8 12 24 32 (px at a 16px rem). There is no other spacing value,
|
|
3
|
+
* and no 16: a container holds its content one row step in, and separation beyond it is the parent's gap.
|
|
4
|
+
*/
|
|
2
5
|
export declare const COMMON_SPACING_SCALE: Readonly<{
|
|
3
6
|
readonly 0: "0";
|
|
4
7
|
readonly 1: "0.25rem";
|
|
5
8
|
readonly 2: "0.5rem";
|
|
6
9
|
readonly 3: "0.75rem";
|
|
7
|
-
readonly 4: "1rem";
|
|
8
10
|
readonly 6: "1.5rem";
|
|
9
11
|
readonly 8: "2rem";
|
|
10
12
|
}>;
|
|
11
13
|
export type CommonSpacingStep = keyof typeof COMMON_SPACING_SCALE;
|
|
12
14
|
export type CommonSpacingValue = (typeof COMMON_SPACING_SCALE)[CommonSpacingStep];
|
|
15
|
+
/**
|
|
16
|
+
* The gap roles, by the relation between two siblings, each one step of the scale, strictly increasing:
|
|
17
|
+
* seam (a line already divides them), identity (one reading cluster), inline (companions in one unit), row (peers in a
|
|
18
|
+
* row or group), section (blocks under one heading), region (regions with their own heading).
|
|
19
|
+
*/
|
|
20
|
+
export declare const COMMON_GAP_ROLES: Readonly<{
|
|
21
|
+
readonly seam: 0;
|
|
22
|
+
readonly identity: 1;
|
|
23
|
+
readonly inline: 2;
|
|
24
|
+
readonly row: 3;
|
|
25
|
+
readonly section: 6;
|
|
26
|
+
readonly region: 8;
|
|
27
|
+
}>;
|
|
28
|
+
export type CommonGapRole = keyof typeof COMMON_GAP_ROLES;
|
|
29
|
+
/** The gap roles an app names on a layout primitive (`Stack`, `Cluster`); `seam` belongs to dividers and joined faces. */
|
|
30
|
+
export type GapRole = Exclude<CommonGapRole, "seam">;
|
|
31
|
+
/** The root custom properties that carry the scale, by role. A value is read from here, never written twice. */
|
|
13
32
|
export declare const COMMON_SPACING_TOKENS: Readonly<{
|
|
33
|
+
readonly identity: "--grammar-identity-gap";
|
|
14
34
|
readonly inline: "--grammar-inline-gap";
|
|
15
35
|
readonly row: "--grammar-row-gap";
|
|
16
36
|
readonly section: "--grammar-section-gap";
|
|
17
37
|
readonly region: "--grammar-region-gap";
|
|
38
|
+
readonly inset: "--grammar-inset";
|
|
39
|
+
readonly insetNested: "--grammar-inset-nested";
|
|
40
|
+
readonly insetOpen: "--grammar-inset-open";
|
|
18
41
|
readonly pageInset: "--grammar-page-inset";
|
|
42
|
+
readonly cardPaddingInline: "--grammar-card-padding-inline";
|
|
43
|
+
readonly cardPaddingBlock: "--grammar-card-padding-block";
|
|
44
|
+
readonly overlayInset: "--grammar-overlay-inset";
|
|
45
|
+
readonly paneInsetInline: "--grammar-pane-inset-inline";
|
|
46
|
+
readonly paneInsetBlockStart: "--grammar-pane-inset-block-start";
|
|
47
|
+
readonly paneInsetBlockEndOuter: "--grammar-pane-inset-block-end-outer";
|
|
48
|
+
readonly paneInsetBlockEndDivider: "--grammar-pane-inset-block-end-divider";
|
|
19
49
|
}>;
|
|
20
50
|
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/common/spacing.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/common/spacing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;;;;;;EAOtB,CAAA;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,oBAAoB,CAAA;AACjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,iBAAiB,CAAC,CAAA;AAEjF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;;;;;;EAOoC,CAAA;AAEjE,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,gBAAgB,CAAA;AACzD,0HAA0H;AAC1H,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA;AAEpD,gHAAgH;AAChH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAiBvB,CAAA"}
|
package/dist/common/spacing.js
CHANGED
|
@@ -1,18 +1,45 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/**
|
|
2
|
+
* The one spacing scale of every visual family: 0 4 8 12 24 32 (px at a 16px rem). There is no other spacing value,
|
|
3
|
+
* and no 16: a container holds its content one row step in, and separation beyond it is the parent's gap.
|
|
4
|
+
*/
|
|
2
5
|
export const COMMON_SPACING_SCALE = Object.freeze({
|
|
3
6
|
0: "0",
|
|
4
7
|
1: "0.25rem",
|
|
5
8
|
2: "0.5rem",
|
|
6
9
|
3: "0.75rem",
|
|
7
|
-
4: "1rem",
|
|
8
10
|
6: "1.5rem",
|
|
9
11
|
8: "2rem",
|
|
10
12
|
});
|
|
13
|
+
/**
|
|
14
|
+
* The gap roles, by the relation between two siblings, each one step of the scale, strictly increasing:
|
|
15
|
+
* seam (a line already divides them), identity (one reading cluster), inline (companions in one unit), row (peers in a
|
|
16
|
+
* row or group), section (blocks under one heading), region (regions with their own heading).
|
|
17
|
+
*/
|
|
18
|
+
export const COMMON_GAP_ROLES = Object.freeze({
|
|
19
|
+
seam: 0,
|
|
20
|
+
identity: 1,
|
|
21
|
+
inline: 2,
|
|
22
|
+
row: 3,
|
|
23
|
+
section: 6,
|
|
24
|
+
region: 8,
|
|
25
|
+
});
|
|
26
|
+
/** The root custom properties that carry the scale, by role. A value is read from here, never written twice. */
|
|
11
27
|
export const COMMON_SPACING_TOKENS = Object.freeze({
|
|
28
|
+
identity: "--grammar-identity-gap",
|
|
12
29
|
inline: "--grammar-inline-gap",
|
|
13
30
|
row: "--grammar-row-gap",
|
|
14
31
|
section: "--grammar-section-gap",
|
|
15
32
|
region: "--grammar-region-gap",
|
|
33
|
+
inset: "--grammar-inset",
|
|
34
|
+
insetNested: "--grammar-inset-nested",
|
|
35
|
+
insetOpen: "--grammar-inset-open",
|
|
16
36
|
pageInset: "--grammar-page-inset",
|
|
37
|
+
cardPaddingInline: "--grammar-card-padding-inline",
|
|
38
|
+
cardPaddingBlock: "--grammar-card-padding-block",
|
|
39
|
+
overlayInset: "--grammar-overlay-inset",
|
|
40
|
+
paneInsetInline: "--grammar-pane-inset-inline",
|
|
41
|
+
paneInsetBlockStart: "--grammar-pane-inset-block-start",
|
|
42
|
+
paneInsetBlockEndOuter: "--grammar-pane-inset-block-end-outer",
|
|
43
|
+
paneInsetBlockEndDivider: "--grammar-pane-inset-block-end-divider",
|
|
17
44
|
});
|
|
18
45
|
//# sourceMappingURL=spacing.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacing.js","sourceRoot":"","sources":["../../src/common/spacing.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"spacing.js","sourceRoot":"","sources":["../../src/common/spacing.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,SAAS;IACZ,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,MAAM;CACH,CAAC,CAAA;AAKX;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,CAAC;IACX,MAAM,EAAE,CAAC;IACT,GAAG,EAAE,CAAC;IACN,OAAO,EAAE,CAAC;IACV,MAAM,EAAE,CAAC;CACmD,CAAC,CAAA;AAMjE,gHAAgH;AAChH,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC/C,QAAQ,EAAE,wBAAwB;IAClC,MAAM,EAAE,sBAAsB;IAC9B,GAAG,EAAE,mBAAmB;IACxB,OAAO,EAAE,uBAAuB;IAChC,MAAM,EAAE,sBAAsB;IAC9B,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,wBAAwB;IACrC,SAAS,EAAE,sBAAsB;IACjC,SAAS,EAAE,sBAAsB;IACjC,iBAAiB,EAAE,+BAA+B;IAClD,gBAAgB,EAAE,8BAA8B;IAChD,YAAY,EAAE,yBAAyB;IACvC,eAAe,EAAE,6BAA6B;IAC9C,mBAAmB,EAAE,kCAAkC;IACvD,sBAAsB,EAAE,sCAAsC;IAC9D,wBAAwB,EAAE,wCAAwC;CAC5D,CAAC,CAAA"}
|