@starci/grammar 0.18.0 → 0.19.1
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 +1 -1
- package/dist/.build-stamp.json +4 -4
- package/dist/common/components-navigation.css +117 -5
- package/dist/common/registry.d.ts +4 -3
- package/dist/common/registry.d.ts.map +1 -1
- package/dist/common/registry.js +2 -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 +2 -1
- package/dist/common/renderers.d.ts.map +1 -1
- package/dist/common/renderers.js +1 -0
- package/dist/common/renderers.js.map +1 -1
- package/dist/common/styles.css +20 -1
- 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/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/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/package.json +1 -1
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ Each group below matches a Storybook group. Run `npm run storybook`: every story
|
|
|
214
214
|
the family and theme chosen in the toolbar. It shows the default, disabled, invalid, pending and
|
|
215
215
|
selected/current states where they apply. Overlay stories open by default.
|
|
216
216
|
|
|
217
|
-
**Primitives (
|
|
217
|
+
**Primitives (29).** Avatar, Badge, Button, CloseButton, ConnectionStatus, Divider, GrammarRoot, Heading, Icon,
|
|
218
218
|
IconButton, IconTile, Image, IncludedMark, Kbd, Label, LeadingNumber, Link, Mascot, Meter, PlainPressable,
|
|
219
219
|
Progress, ProgressCircle, RankArtwork, RelativeTime, Skeleton, Spinner, StateMark, Text, TextAction.
|
|
220
220
|
|
package/dist/.build-stamp.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "starci/grammar-build-stamp@1",
|
|
3
3
|
"package": "@starci/grammar",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.19.1",
|
|
5
5
|
"algorithm": "starci/grammar-source-digest@1",
|
|
6
|
-
"sourceDigest": "sha256:
|
|
7
|
-
"distDigest": "sha256:
|
|
8
|
-
"builtAt": "2026-10-
|
|
6
|
+
"sourceDigest": "sha256:cbb2fa9919a6912261ffbebc3a6f3e5efe7aaa8110f1d928768d787c1d6d7ef1",
|
|
7
|
+
"distDigest": "sha256:6da9e874645d92ab40db8717793e26a5fa08aef70c7e9163716bafb2c95b9f36",
|
|
8
|
+
"builtAt": "2026-10-31T17:54:56.019Z"
|
|
9
9
|
}
|
|
@@ -303,6 +303,26 @@
|
|
|
303
303
|
color: var(--danger-soft-foreground, var(--danger, CanvasText));
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
+
/* A paused step: a dashed circle in the warning ink, so the state is a form as well as a colour. */
|
|
307
|
+
.starci-core-step[data-grammar-step-state="paused"] .starci-core-step-marker {
|
|
308
|
+
border-style: dashed;
|
|
309
|
+
border-color: var(--warning, Mark);
|
|
310
|
+
color: var(--warning-soft-foreground, var(--warning, CanvasText));
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* Dense (a list row): a 20px marker, 12px type, no copy padding, and the connector re-aimed at the smaller circle. */
|
|
314
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"] .starci-core-step-body { padding: 0; gap: var(--grammar-identity-gap, 0.25rem); }
|
|
315
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"] .starci-core-step-marker { width: 1.25rem; height: 1.25rem; border-width: 1.5px; font-size: 0.75rem; }
|
|
316
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"] .starci-core-step-copy { padding-block-start: 0; gap: 0; }
|
|
317
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"] .starci-core-step-label { font-size: 0.75rem; }
|
|
318
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"] .starci-core-step-description { font-size: 0.75rem; }
|
|
319
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"][data-grammar-stepper-orientation="horizontal"] .starci-core-step:not(:last-child)::after {
|
|
320
|
+
inset-block-start: calc(0.625rem - 1px);
|
|
321
|
+
inset-inline-start: calc(50% + 1rem);
|
|
322
|
+
inset-inline-end: calc(-50% + 1rem);
|
|
323
|
+
}
|
|
324
|
+
.starci-core-stepper[data-grammar-stepper-size="dense"] .starci-core-step-control { min-block-size: 0; }
|
|
325
|
+
|
|
306
326
|
/* Loading stepper (knowledge STATE-8): a static Skeleton circle for the mark, labels stay real. */
|
|
307
327
|
.starci-core-step-skeleton-marker { border: 0; background: transparent; }
|
|
308
328
|
.starci-core-step-skeleton-label { display: block; inline-size: 5rem; }
|
|
@@ -1819,13 +1839,104 @@
|
|
|
1819
1839
|
|
|
1820
1840
|
.starci-core-flow-graph-node[data-size="sm"] { padding: var(--grammar-identity-gap, 0.25rem) var(--grammar-inset-nested, 0.5rem); font-size: 0.75rem; }
|
|
1821
1841
|
.starci-core-flow-graph-node[data-size="lg"] { padding: var(--grammar-inset, 0.75rem) var(--grammar-section-gap, 1.5rem); font-size: 1rem; font-weight: 600; }
|
|
1822
|
-
|
|
1823
|
-
.starci-core-flow-graph-node[data-tone="
|
|
1824
|
-
.starci-core-flow-graph-node[data-tone="
|
|
1825
|
-
.starci-core-flow-graph-node[data-tone="
|
|
1826
|
-
.starci-core-flow-graph-node[data-tone="
|
|
1842
|
+
/* A tone gives four values: its tint, its ink over the tint, its full colour (`base`) and the ink over the full colour. */
|
|
1843
|
+
.starci-core-flow-graph-node[data-tone="neutral"] { --starci-flow-base: var(--muted, GrayText); --starci-flow-on-base: var(--surface, Canvas); }
|
|
1844
|
+
.starci-core-flow-graph-node[data-tone="accent"] { --starci-flow-tint: var(--accent-soft, transparent); --starci-flow-ink: var(--accent-soft-foreground, CanvasText); --starci-flow-base: var(--accent, Highlight); --starci-flow-on-base: var(--accent-foreground, HighlightText); }
|
|
1845
|
+
.starci-core-flow-graph-node[data-tone="success"] { --starci-flow-tint: var(--success-soft, transparent); --starci-flow-ink: var(--success-soft-foreground, CanvasText); --starci-flow-base: var(--success, CanvasText); --starci-flow-on-base: var(--success-foreground, Canvas); }
|
|
1846
|
+
.starci-core-flow-graph-node[data-tone="warning"] { --starci-flow-tint: var(--warning-soft, transparent); --starci-flow-ink: var(--warning-soft-foreground, CanvasText); --starci-flow-base: var(--warning, CanvasText); --starci-flow-on-base: var(--warning-foreground, Canvas); }
|
|
1847
|
+
.starci-core-flow-graph-node[data-tone="danger"] { --starci-flow-tint: var(--danger-soft, transparent); --starci-flow-ink: var(--danger-soft-foreground, CanvasText); --starci-flow-base: var(--danger, CanvasText); --starci-flow-on-base: var(--danger-foreground, Canvas); }
|
|
1848
|
+
.starci-core-flow-graph-node[data-tone="info"] { --starci-flow-tint: color-mix(in oklab, var(--info, CanvasText) 15%, transparent); --starci-flow-ink: color-mix(in oklab, var(--info, CanvasText) 70%, var(--foreground, CanvasText) 30%); --starci-flow-base: var(--info, CanvasText); --starci-flow-on-base: var(--info-foreground, Canvas); }
|
|
1849
|
+
.starci-core-flow-graph-node[data-tone="muted"] { --starci-flow-tint: transparent; --starci-flow-ink: var(--muted, GrayText); --starci-flow-base: color-mix(in oklab, var(--muted, GrayText) 55%, transparent); --starci-flow-on-base: var(--surface, Canvas); }
|
|
1827
1850
|
.starci-core-flow-graph-node[data-placeholder="true"] { border-style: dashed; }
|
|
1828
1851
|
|
|
1852
|
+
/*
|
|
1853
|
+
* Bubbles (`form="bubble"`): a disc whose width is the node's `diameter`, carrying a short mark and a caption; its name
|
|
1854
|
+
* shows in the tip. The text keeps one screen size: it is the 12px floor divided by the viewport zoom, which the figure
|
|
1855
|
+
* publishes as `--starci-flow-zoom`, and it drops out when the zoom leaves no room for it (caption under 0.42, mark under 0.5).
|
|
1856
|
+
*/
|
|
1857
|
+
.starci-core-flow-graph-node[data-form="bubble"] {
|
|
1858
|
+
box-sizing: border-box;
|
|
1859
|
+
inline-size: var(--starci-flow-diameter, 3rem);
|
|
1860
|
+
block-size: var(--starci-flow-diameter, 3rem);
|
|
1861
|
+
max-inline-size: none;
|
|
1862
|
+
padding: 0;
|
|
1863
|
+
justify-content: center;
|
|
1864
|
+
border: 2px solid var(--starci-flow-base, var(--separator, CanvasText));
|
|
1865
|
+
border-radius: 50%;
|
|
1866
|
+
background-image: linear-gradient(var(--starci-flow-tint), var(--starci-flow-tint));
|
|
1867
|
+
color: var(--starci-flow-ink);
|
|
1868
|
+
font-variant-numeric: tabular-nums;
|
|
1869
|
+
transition: opacity 0.2s ease;
|
|
1870
|
+
}
|
|
1871
|
+
.starci-core-flow-graph-disc {
|
|
1872
|
+
position: absolute;
|
|
1873
|
+
inset: 0;
|
|
1874
|
+
display: grid;
|
|
1875
|
+
place-items: center;
|
|
1876
|
+
align-content: center;
|
|
1877
|
+
border-radius: 50%;
|
|
1878
|
+
overflow: hidden;
|
|
1879
|
+
text-align: center;
|
|
1880
|
+
font-size: calc(0.75rem / var(--starci-flow-zoom, 1));
|
|
1881
|
+
font-weight: 600;
|
|
1882
|
+
line-height: 1.2;
|
|
1883
|
+
}
|
|
1884
|
+
.starci-core-flow-graph-mark,
|
|
1885
|
+
.starci-core-flow-graph-caption { display: block; max-inline-size: 100%; overflow: hidden; text-overflow: clip; white-space: nowrap; }
|
|
1886
|
+
.starci-core-flow-graph-caption { font-weight: 500; }
|
|
1887
|
+
.starci-core-flow-graph[data-grammar-flow-mark="off"] .starci-core-flow-graph-mark,
|
|
1888
|
+
.starci-core-flow-graph[data-grammar-flow-caption="off"] .starci-core-flow-graph-caption { display: none; }
|
|
1889
|
+
.starci-core-flow-graph-node[data-form="bubble"][data-root="true"] { --starci-flow-base: var(--foreground, CanvasText); --starci-flow-on-base: var(--surface, Canvas); }
|
|
1890
|
+
|
|
1891
|
+
/* A status never rests on colour alone: the fill is its form. */
|
|
1892
|
+
.starci-core-flow-graph-node[data-fill="solid"] { background-color: var(--starci-flow-base, var(--foreground, CanvasText)); background-image: none; color: var(--starci-flow-on-base, var(--surface, Canvas)); }
|
|
1893
|
+
.starci-core-flow-graph-node[data-fill="half"] { background-image: linear-gradient(to top, color-mix(in oklab, var(--starci-flow-base, var(--foreground, CanvasText)) 42%, transparent) 50%, var(--starci-flow-tint) 50%); }
|
|
1894
|
+
.starci-core-flow-graph-node[data-fill="outline"] { border-style: dashed; background-image: none; color: var(--starci-flow-base, var(--foreground, CanvasText)); }
|
|
1895
|
+
.starci-core-flow-graph-node[data-fill="hatched"] { border-style: dotted; background-image: repeating-linear-gradient(135deg, var(--starci-flow-tint) 0 3px, transparent 3px 6px); }
|
|
1896
|
+
|
|
1897
|
+
/* A status ring: the conic arcs fill the disc and the inner disc, on the surface, leaves a band of them. */
|
|
1898
|
+
.starci-core-flow-graph-node[data-ring="true"] { border-color: transparent; background-color: transparent; background-image: var(--starci-flow-ring); }
|
|
1899
|
+
.starci-core-flow-graph-node[data-ring="true"] > .starci-core-flow-graph-disc,
|
|
1900
|
+
.starci-core-flow-graph-node[data-ring="true"] > .starci-core-flow-graph-link > .starci-core-flow-graph-disc {
|
|
1901
|
+
inset: 7px;
|
|
1902
|
+
background: var(--surface, Canvas);
|
|
1903
|
+
color: var(--foreground, CanvasText);
|
|
1904
|
+
box-shadow: var(--surface-shadow, none);
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
/* A filtered-out node stays in place and in the tab order. */
|
|
1908
|
+
.starci-core-flow-graph-node[data-dimmed="true"] { opacity: 0.16; }
|
|
1909
|
+
.starci-core-flow-graph .starci-core-flow-graph-edge-dimmed { opacity: 0.2; }
|
|
1910
|
+
.starci-core-flow-graph .starci-core-flow-graph-edge-strong .react-flow__edge-path { stroke: var(--foreground, CanvasText); stroke-width: 2; }
|
|
1911
|
+
.starci-core-flow-graph-node[data-form="bubble"][data-grammar-selected="true"] { outline: 3px solid var(--accent, Highlight); outline-offset: 3px; }
|
|
1912
|
+
.starci-core-flow-graph-node[data-expandable="true"] { cursor: pointer; }
|
|
1913
|
+
|
|
1914
|
+
/* The orbit's dashed ring guides sit under the nodes and take no pointer. */
|
|
1915
|
+
.starci-core-flow-graph .starci-core-flow-graph-guide-node { pointer-events: none; }
|
|
1916
|
+
.starci-core-flow-graph-guide { display: block; pointer-events: none; }
|
|
1917
|
+
.starci-core-flow-graph-guide circle { fill: none; stroke: var(--separator, CanvasText); stroke-width: 1; stroke-dasharray: 2 6; }
|
|
1918
|
+
|
|
1919
|
+
/* The tip names a bubble on hover and focus, painted from the Tooltip's tokens. */
|
|
1920
|
+
.starci-core-flow-graph-tip {
|
|
1921
|
+
position: absolute;
|
|
1922
|
+
z-index: 8;
|
|
1923
|
+
display: flex;
|
|
1924
|
+
flex-direction: column;
|
|
1925
|
+
max-inline-size: 16rem;
|
|
1926
|
+
padding: var(--grammar-inset-nested, 0.5rem);
|
|
1927
|
+
border-radius: min(32px, var(--radius-xl, 1rem));
|
|
1928
|
+
background: var(--overlay, Canvas);
|
|
1929
|
+
box-shadow: var(--overlay-shadow, none);
|
|
1930
|
+
color: var(--overlay-foreground, CanvasText);
|
|
1931
|
+
font-size: 0.75rem;
|
|
1932
|
+
line-height: 1.4;
|
|
1933
|
+
pointer-events: none;
|
|
1934
|
+
transform: translate(-50%, calc(-100% - var(--grammar-inline-gap, 0.5rem)));
|
|
1935
|
+
}
|
|
1936
|
+
.starci-core-flow-graph-tip[data-placement="bottom"] { transform: translate(-50%, var(--grammar-inline-gap, 0.5rem)); }
|
|
1937
|
+
.starci-core-flow-graph-tip-label { font-weight: 600; }
|
|
1938
|
+
.starci-core-flow-graph-tip-description { color: var(--muted, GrayText); }
|
|
1939
|
+
|
|
1829
1940
|
/*
|
|
1830
1941
|
* Node shapes (the flowchart outlines). `stadium` is the default pill above. A diamond cannot carry a CSS border, so
|
|
1831
1942
|
* its outline and fill are two clipped layers behind the copy: the outer layer in the separator colour, the inner one
|
|
@@ -1945,6 +2056,7 @@
|
|
|
1945
2056
|
|
|
1946
2057
|
@media (prefers-reduced-motion: reduce) {
|
|
1947
2058
|
.starci-core-flow-graph .react-flow__edge.animated path { animation: none; }
|
|
2059
|
+
.starci-core-flow-graph-node[data-form="bubble"] { transition: none; }
|
|
1948
2060
|
}
|
|
1949
2061
|
|
|
1950
2062
|
@media (forced-colors: active) {
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
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,MAAM,MAAM,CAAC,GAAG,KAAK;CAAE,CAAA;AAEtF,eAAO,MAAM,yBAAyB
|
|
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;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AM,EAAE,mBAAmB,CAAC,QAAQ,CAAC,CAAA;IAC9C,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,OAAO,yBAAyB,GAAG,UAAU,CAAC,CAAA;IAC5E,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC;QAAE,qBAAqB,EAAE,QAAQ,CAAA;KAAE,CAAC,CAAA;CACrE,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,mBAAmB,GAC5B,KAAK,CAAC,QAAQ,SAAS,MAAM,EAC7B,KAAK,CAAC,YAAY,SAAS,sBAAsB,CAAC,OAAO,yBAAyB,CAAC,EACnF,KAAK,CAAC,UAAU,SAAS,uBAAuB,EAClD,YAAY;IACV,QAAQ,CAAC,EAAE,EAAE,QAAQ,CAAA;IACrB,QAAQ,CAAC,MAAM,EAAE,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,10 +1,10 @@
|
|
|
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, Stack, Cluster, Grid, 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,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/common/registry.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EACH,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/common/registry.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EACH,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,SAAS,EAAE,WAAW,EACrK,OAAO,EAAE,sBAAsB,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,EAChF,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,EAAE,UAAU,EACtG,oBAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,EAAE,iBAAiB,EAChI,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EACvH,KAAK,EAAE,OAAO,EAAE,IAAI,EACpB,oBAAoB,EAAE,WAAW,EAAE,gBAAgB,EAAE,eAAe,EAAE,IAAI,EAAE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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"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;;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,w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O,EAAE,MAAM,EAAE,cAAc,EAAwE,MAAM,mCAAmC,CAAA;AAChJ,OAAO,EAAE,KAAK,EAA+E,MAAM,kCAAkC,CAAA;AACrI,OAAO,EAAE,IAAI,EAAiC,MAAM,iCAAiC,CAAA;AACrF,OAAO,EAAE,MAAM,EAAoB,MAAM,mCAAmC,CAAA;AAC5E,OAAO,EAAE,KAAK,EAA4C,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";
|
|
@@ -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,EAAE,MAAM,2CAA2C,CAAA;AACpG,OAAO,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,YAAY,EAAE,KAAK,gBAAgB,EAAE,MAAM,oCAAoC,CAAA;AAC/H,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,KAAK,gBAAgB,EAAE,MAAM,wCAAwC,CAAA;AACnH,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAA;AAChG,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAA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EAAE,KAAK,yBAAyB,EAAE,MAAM,iDAAiD,CAAA;AACtH,OAAO,EAAE,WAAW,EAAE,KAAK,oBAAoB,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,qCAAqC,CAAA;AACzI,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AACpH,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,qBAAqB,EAAE,MAAM,yCAAyC,CAAA;AAChI,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,kBAAkB,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE,KAAK,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AAClM,OAAO,EAAE,oBAAoB,EAAE,KAAK,wBAAwB,EAAE,KAAK,yBAAyB,EAAE,MAAM,8CAA8C,CAAA;AAClJ,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACnE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,EAAE,IAAI,EAAE,KAAK,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,8BAA8B,CAAA;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";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.js","sourceRoot":"","sources":["../../src/common/renderers.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAAyB,MAAM,wCAAwC,CAAA;AAC3F,OAAO,EAAE,aAAa,EAA2B,MAAM,0CAA0C,CAAA;AACjG,OAAO,EAAE,KAAK,EAAmC,MAAM,kCAAkC,CAAA;AACzF,OAAO,EAAE,MAAM,EAA0E,MAAM,mCAAmC,CAAA;AAElI,OAAO,EAAE,cAAc,EAA4B,MAAM,2CAA2C,CAAA;AACpG,OAAO,EAAE,WAAW,EAAyB,MAAM,wCAAwC,CAAA;AAC3F,OAAO,EAAE,cAAc,EAA4B,MAAM,2CAA2C,CAAA;AACpG,OAAO,EAAE,OAAO,EAAqE,MAAM,oCAAoC,CAAA;AAC/H,OAAO,EAAE,WAAW,EAAiD,MAAM,wCAAwC,CAAA;AACnH,OAAO,EAAE,MAAM,EAAwC,MAAM,mCAAmC,CAAA;AAChG,OAAO,EAAE,IAAI,EAAkB,MAAM,iCAAiC,CAAA;AACtE,OAAO,EAAE,QAAQ,EAAsB,MAAM,qCAAqC,CAAA;AAClF,OAAO,EAAE,OAAO,EAA2D,MAAM,oCAAoC,CAAA;AACrH,OAAO,EAAE,IAAI,EAAyE,MAAM,iCAAiC,CAAA;AAC7H,OAAO,EAAE,QAAQ,EAA4D,MAAM,qCAAqC,CAAA;AACxH,OAAO,EAAE,UAAU,EAAgD,MAAM,uCAAuC,CAAA;AAChH,OAAO,EAAE,KAAK,E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AA;AACjF,OAAO,EAAE,OAAO,EAA4C,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/styles.css
CHANGED
|
@@ -3708,7 +3708,13 @@
|
|
|
3708
3708
|
transition: background-color var(--starci-core-motion-duration, 150ms) cubic-bezier(0.4, 0, 0.2, 1);
|
|
3709
3709
|
}
|
|
3710
3710
|
|
|
3711
|
-
.starci-core-progress-step[data-grammar-progress-step="done"] { background: var(--accent, Highlight); }
|
|
3711
|
+
.starci-core-progress-step[data-grammar-progress-step="done"] { background: var(--starci-progress-fill, var(--accent, Highlight)); }
|
|
3712
|
+
|
|
3713
|
+
/* The tone of the fill: the bar's fill variable (the vendor reads it) and the steps' done colour. */
|
|
3714
|
+
.starci-core-progress[data-grammar-progress-tone="success"] { --progress-bar-fill: var(--success, CanvasText); --starci-progress-fill: var(--success, CanvasText); }
|
|
3715
|
+
.starci-core-progress[data-grammar-progress-tone="warning"] { --progress-bar-fill: var(--warning, CanvasText); --starci-progress-fill: var(--warning, CanvasText); }
|
|
3716
|
+
.starci-core-progress[data-grammar-progress-tone="danger"] { --progress-bar-fill: var(--danger, CanvasText); --starci-progress-fill: var(--danger, CanvasText); }
|
|
3717
|
+
.starci-core-progress[data-grammar-progress-tone="info"] { --progress-bar-fill: var(--info, CanvasText); --starci-progress-fill: var(--info, CanvasText); }
|
|
3712
3718
|
|
|
3713
3719
|
@media (prefers-reduced-motion: reduce) {
|
|
3714
3720
|
.starci-core-progress-step { transition: none; }
|
|
@@ -4152,6 +4158,19 @@
|
|
|
4152
4158
|
margin-inline-end: var(--grammar-identity-gap, 0.25rem);
|
|
4153
4159
|
}
|
|
4154
4160
|
|
|
4161
|
+
/* ConnectionStatus: the dot and its words on one line, in the muted small type of a row annotation. */
|
|
4162
|
+
.starci-core-connection-status {
|
|
4163
|
+
display: inline-flex;
|
|
4164
|
+
align-items: center;
|
|
4165
|
+
gap: var(--grammar-inline-gap, 0.5rem);
|
|
4166
|
+
color: var(--muted, GrayText);
|
|
4167
|
+
font-size: 0.75rem;
|
|
4168
|
+
line-height: 1.25;
|
|
4169
|
+
white-space: nowrap;
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
.starci-core-connection-status[data-grammar-connection-state="lost"] { color: var(--danger-soft-foreground, var(--danger, CanvasText)); }
|
|
4173
|
+
|
|
4155
4174
|
.starci-core-status-dot-label {
|
|
4156
4175
|
display: inline-block;
|
|
4157
4176
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { FlowGraphDirection, FlowGraphEdge, FlowGraphHeight, FlowGraphLayerHeader, FlowGraphLayout, FlowGraphNode } from "./types.js";
|
|
2
|
-
export { layeredPositions, radialPositions } from "./layout.js";
|
|
3
|
-
export type { FlowGraphDirection, FlowGraphEdge, FlowGraphHeight, FlowGraphLayerHeader, FlowGraphLayout, FlowGraphNode, FlowGraphNodeShape, FlowGraphNodeSize, FlowGraphTone } from "./types.js";
|
|
2
|
+
export { flowGraphDiameter, layeredPositions, orbitLayout, radialPositions } from "./layout.js";
|
|
3
|
+
export type { FlowGraphDirection, FlowGraphEdge, FlowGraphFill, FlowGraphHeight, FlowGraphLayerHeader, FlowGraphLayout, FlowGraphNode, FlowGraphNodeForm, FlowGraphNodeShape, FlowGraphNodeSize, FlowGraphRingPart, FlowGraphTone } from "./types.js";
|
|
4
4
|
export type FlowGraphProps = {
|
|
5
5
|
/** Names the graph for assistive technology, e.g. "Second brain". */
|
|
6
6
|
readonly label: string;
|
|
@@ -8,7 +8,8 @@ export type FlowGraphProps = {
|
|
|
8
8
|
readonly edges: ReadonlyArray<FlowGraphEdge>;
|
|
9
9
|
/**
|
|
10
10
|
* The selected node. Pass it (with `onSelect`) to control selection; leave it out and the graph keeps its own. The node stamps
|
|
11
|
-
* `data-grammar-selected` and the screen-reader list reports it
|
|
11
|
+
* `data-grammar-selected` and the screen-reader list reports it. A bubble draws a selected outline, and in `orbit` the edges
|
|
12
|
+
* from the root to the selected node draw strong; HeroUI has no graph node, so a pill draws none.
|
|
12
13
|
*/
|
|
13
14
|
readonly selectedId?: string | null;
|
|
14
15
|
/** Fires with the node id on click, Enter or Space, and with `null` when the empty canvas is clicked or Escape is pressed. */
|
|
@@ -30,9 +31,20 @@ export type FlowGraphProps = {
|
|
|
30
31
|
readonly showControls?: boolean;
|
|
31
32
|
/**
|
|
32
33
|
* `radial` places the nodes on rings round the root; `layered` puts a DAG in layers along `direction`; `manual` uses each
|
|
33
|
-
* node's `position
|
|
34
|
+
* node's `position`; `orbit` is the value-sized map of bubbles (see `expandedIds`). Defaults to `radial`, or to `layered`
|
|
35
|
+
* when a `direction` is given.
|
|
34
36
|
*/
|
|
35
37
|
readonly layout?: FlowGraphLayout;
|
|
38
|
+
/**
|
|
39
|
+
* `orbit` only: the ring-three nodes that are open. A node's children past ring three show only while it is open, on ring
|
|
40
|
+
* four. Pass it (with `onExpandedChange`) to control it; leave it out and the graph keeps its own, from `defaultExpandedIds`.
|
|
41
|
+
*/
|
|
42
|
+
readonly expandedIds?: ReadonlyArray<string>;
|
|
43
|
+
readonly defaultExpandedIds?: ReadonlyArray<string>;
|
|
44
|
+
/** Fires with the open ids when a node opens or closes: on click, or on Enter or Space, of a node that holds more. */
|
|
45
|
+
readonly onExpandedChange?: (ids: ReadonlyArray<string>) => void;
|
|
46
|
+
/** `orbit` only: the most nodes one open fan draws (default 30). The rest fold into a `+n` bubble that selects the parent. */
|
|
47
|
+
readonly fanLimit?: number;
|
|
36
48
|
/**
|
|
37
49
|
* The way edges run, `TB` (top to bottom) or `LR` (left to right). It places the target handle on the entering side and the
|
|
38
50
|
* source handle on the leaving side so edges follow the layout. Leave it out for the radial layout (both handles on top).
|
|
@@ -48,9 +60,11 @@ export type FlowGraphProps = {
|
|
|
48
60
|
};
|
|
49
61
|
/**
|
|
50
62
|
* A node-and-edge map drawn with React Flow (`@xyflow/react`, a peer dependency) in grammar tokens. The radial layout
|
|
51
|
-
* puts the root in the centre with its children on a ring and their children on an outer ring around them.
|
|
52
|
-
*
|
|
63
|
+
* puts the root in the centre with its children on a ring and their children on an outer ring around them. The orbit layout
|
|
64
|
+
* draws a value-sized map: bubbles (`form="bubble"`) on rings, with the nodes below ring three shown while their parent is
|
|
65
|
+
* open. Nodes are keyboard focusable (Tab) and selectable with Enter or Space, which also opens or closes a node that holds
|
|
66
|
+
* more; a visually hidden list repeats the nodes for screen readers.
|
|
53
67
|
* Contract: focus FOCUS-2, selection STATE-1, empty STATE-3.
|
|
54
68
|
*/
|
|
55
|
-
export declare const FlowGraph: ({ label, nodes, edges, selectedId, onSelect, height, fit, isInteractive, showControls, layout: layoutProp, direction, headers, emptyLabel, isLoading, className, }: FlowGraphProps) => import("react").JSX.Element;
|
|
69
|
+
export declare const FlowGraph: ({ label, nodes, edges, selectedId, onSelect, expandedIds, defaultExpandedIds, onExpandedChange, fanLimit, height, fit, isInteractive, showControls, layout: layoutProp, direction, headers, emptyLabel, isLoading, className, }: FlowGraphProps) => import("react").JSX.Element;
|
|
56
70
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/branch/FlowGraph/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/branch/FlowGraph/index.tsx"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAiB,eAAe,EAAE,oBAAoB,EAAE,eAAe,EAAE,aAAa,EAAoC,MAAM,YAAY,CAAA;AAE3L,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,WAAW,EAAE,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