@starci/grammar 0.4.4 → 0.4.5
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/dist/common/renderers.d.ts +2 -2
- package/dist/common/renderers.d.ts.map +1 -1
- package/dist/common/renderers.js.map +1 -1
- package/dist/common/styles.css +100 -7
- package/dist/core/branch/SurfaceListCard/index.d.ts +11 -0
- package/dist/core/branch/SurfaceListCard/index.d.ts.map +1 -1
- package/dist/core/branch/SurfaceListCard/index.js.map +1 -1
- package/dist/core/composite/StaticStateRow/index.d.ts +11 -0
- package/dist/core/composite/StaticStateRow/index.d.ts.map +1 -1
- package/dist/core/composite/StaticStateRow/index.js +1 -1
- package/dist/core/composite/StaticStateRow/index.js.map +1 -1
- package/dist/core/dna.d.ts +27 -0
- package/dist/core/dna.d.ts.map +1 -1
- package/dist/core/dna.js +26 -0
- package/dist/core/dna.js.map +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -26,12 +26,12 @@ export { ChatWorkspace, type ChatWorkspaceProps } from "../core/composition/Chat
|
|
|
26
26
|
export { StateMark, type StateMarkProps } from "../core/StateMark.js";
|
|
27
27
|
export { LeadingNumber, type LeadingNumberProps } from "../core/LeadingNumber.js";
|
|
28
28
|
export { OtpInput, type OtpInputProps } from "../core/OtpInput.js";
|
|
29
|
-
export { StaticStateRow, type StaticStateRowData, type StaticStateRowProps } from "../core/composite/StaticStateRow/index.js";
|
|
29
|
+
export { StaticStateRow, type RowVerdict, type StaticStateRowData, type StaticStateRowProps } from "../core/composite/StaticStateRow/index.js";
|
|
30
30
|
export { EmptyNotice, type EmptyNoticeProps } from "../core/composite/EmptyNotice/index.js";
|
|
31
31
|
export { HorizontalScrollRegion, type HorizontalScrollRegionProps } from "../core/composite/HorizontalScrollRegion/index.js";
|
|
32
32
|
export { VerticalScrollRegion, type VerticalScrollRegionProps } from "../core/composite/VerticalScrollRegion/index.js";
|
|
33
33
|
export { SurfaceCard, type SurfaceCardProps, type WholeCardAction } from "../core/branch/SurfaceCard/index.js";
|
|
34
|
-
export { SurfaceListCard, type SurfaceListCardProps } from "../core/branch/SurfaceListCard/index.js";
|
|
34
|
+
export { SurfaceListCard, type SurfaceListCardProps, type SurfaceListRowVerdict } from "../core/branch/SurfaceListCard/index.js";
|
|
35
35
|
export { FencedCodeBlock, MarkdownArticle, MarkdownTableFrame, type FencedCodeBlockProps, type MarkdownArticleProps, type MarkdownTableFrameProps } from "../core/branch/MarkdownArticle/index.js";
|
|
36
36
|
export { SurfaceAccordionCard, type SurfaceAccordionCardItem, type SurfaceAccordionCardProps } from "../core/branch/SurfaceAccordionCard/index.js";
|
|
37
37
|
export { Rail, type RailProps } from "../core/branch/Rail/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../src/common/renderers.ts"],"names":[],"mappings":"AAGA,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,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAA;AAC/E,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAA;AACrH,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,KAAK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AAA;AACnG,OAAO,EAAE,SAAS,EAAuB,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,aAAa,EAA2B,MAAM,0BAA0B,CAAA;AACjF,OAAO,EAAE,QAAQ,EAAsB,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAsE,MAAM,2CAA2C,CAAA;AAC9I,OAAO,EAAE,WAAW,EAAyB,MAAM,wCAAwC,CAAA;AAC3F,OAAO,EAAE,sBAAsB,EAAoC,MAAM,mDAAmD,CAAA;AAC5H,OAAO,EAAE,oBAAoB,EAAkC,MAAM,iDAAiD,CAAA;AACtH,OAAO,EAAE,WAAW,EAA+C,MAAM,qCAAqC,CAAA;AAC9G,OAAO,EAAE,eAAe,EAAyD,MAAM,yCAAyC,CAAA;AAChI,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,kBAAkB,EAAsF,MAAM,yCAAyC,CAAA;AAClM,OAAO,EAAE,oBAAoB,EAAiE,MAAM,8CAA8C,CAAA;AAClJ,OAAO,EAAE,IAAI,EAAkB,MAAM,8BAA8B,CAAA;AACnE,OAAO,EAAE,MAAM,EAAoB,MAAM,gCAAgC,CAAA;AACzE,OAAO,EAAE,IAAI,EAAgC,MAAM,8BAA8B,CAAA;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"}
|
package/dist/common/styles.css
CHANGED
|
@@ -640,6 +640,50 @@
|
|
|
640
640
|
border-radius: 0 !important;
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
+
/*
|
|
644
|
+
* THE VERDICT EDGE IS SHIPPED.
|
|
645
|
+
*
|
|
646
|
+
* A row in a verdict collection reports an outcome, and the outcome is drawn as a 2px edge on
|
|
647
|
+
* the row's leading side. The collection already squares its corners for exactly these rows;
|
|
648
|
+
* this is the paint the squaring was preparing for, and without it an application had to reach
|
|
649
|
+
* across the Grammar boundary with its own inset shadow to get it.
|
|
650
|
+
*
|
|
651
|
+
* It is an INSET SHADOW, not a border and not a padded rule, because the rows of a verdict
|
|
652
|
+
* collection are usually the consumer's own children: a border would move their content two
|
|
653
|
+
* pixels and a padding would fight the inset they already own, while a shadow paints inside the
|
|
654
|
+
* box that is already there. The row is addressed by `data-verdict`, which is the slot contract
|
|
655
|
+
* `SurfaceListCard` documents for its collection, so a Grammar row and an application row draw
|
|
656
|
+
* the same edge from the same attribute.
|
|
657
|
+
*
|
|
658
|
+
* The offset is physical because `box-shadow` has no logical form; under `dir="rtl"` the edge
|
|
659
|
+
* stays on the left. No shipped object mirrors yet, so this is consistent rather than a new gap.
|
|
660
|
+
*/
|
|
661
|
+
.starci-core-owned-collection[data-grammar-collection="verdict"] [data-verdict="success"],
|
|
662
|
+
.starci-core-static-row[data-verdict="success"] {
|
|
663
|
+
--starci-core-verdict-edge: inset 2px 0 0 0 var(--success, var(--starci-core-success, #15803d));
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
.starci-core-owned-collection[data-grammar-collection="verdict"] [data-verdict="danger"],
|
|
667
|
+
.starci-core-static-row[data-verdict="danger"] {
|
|
668
|
+
--starci-core-verdict-edge: inset 2px 0 0 0 var(--danger, var(--starci-core-danger, #b91c1c));
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
/*
|
|
672
|
+
* The edge is painted from that one property, including under hover.
|
|
673
|
+
*
|
|
674
|
+
* A hover-invariant list clears every row shadow below, which is right for decoration and wrong
|
|
675
|
+
* for a verdict: an outcome that disappears while the pointer rests on its row is a worse row
|
|
676
|
+
* than one that never drew it. Reading the same property in both places keeps one value.
|
|
677
|
+
*/
|
|
678
|
+
.starci-core-owned-collection[data-grammar-collection="verdict"] [data-verdict="success"],
|
|
679
|
+
.starci-core-owned-collection[data-grammar-collection="verdict"] [data-verdict="danger"],
|
|
680
|
+
.starci-core-static-row[data-verdict="success"],
|
|
681
|
+
.starci-core-static-row[data-verdict="danger"],
|
|
682
|
+
.starci-core-list-shell[data-grammar-hover="invariant"] .starci-core-static-row[data-verdict="success"]:hover,
|
|
683
|
+
.starci-core-list-shell[data-grammar-hover="invariant"] .starci-core-static-row[data-verdict="danger"]:hover {
|
|
684
|
+
box-shadow: var(--starci-core-verdict-edge, none);
|
|
685
|
+
}
|
|
686
|
+
|
|
643
687
|
.starci-core-surface-footer {
|
|
644
688
|
display: flex;
|
|
645
689
|
min-width: 0;
|
|
@@ -1043,17 +1087,25 @@
|
|
|
1043
1087
|
max-width: var(--starci-core-rail-wide, 24rem);
|
|
1044
1088
|
}
|
|
1045
1089
|
|
|
1090
|
+
/*
|
|
1091
|
+
* A sticky rail starts where the band stops.
|
|
1092
|
+
*
|
|
1093
|
+
* `--starci-core-rail-offset` is still the one a consumer sets; when it does not, the rail reads
|
|
1094
|
+
* the offset the sticky band publishes about itself, and only when there is no band at all does
|
|
1095
|
+
* it fall back to the 5.5rem it always used. So `mode="sticky"` under a Grammar band needs no
|
|
1096
|
+
* `calc()` at the call site, and a rail with no band above it is unchanged.
|
|
1097
|
+
*/
|
|
1046
1098
|
.starci-core-rail-frame {
|
|
1047
1099
|
display: flex;
|
|
1048
1100
|
min-width: 0;
|
|
1049
|
-
max-height: calc(100dvh - var(--starci-core-rail-offset, 5.5rem) - 1.5rem);
|
|
1101
|
+
max-height: calc(100dvh - var(--starci-core-rail-offset, var(--starci-core-band-offset, 5.5rem)) - 1.5rem);
|
|
1050
1102
|
flex-direction: column;
|
|
1051
1103
|
gap: var(--starci-core-rail-gap, 1rem);
|
|
1052
1104
|
}
|
|
1053
1105
|
|
|
1054
1106
|
.starci-core-rail[data-grammar-rail-mode="sticky"] .starci-core-rail-frame {
|
|
1055
1107
|
position: sticky;
|
|
1056
|
-
top: var(--starci-core-rail-offset, 5.5rem);
|
|
1108
|
+
top: var(--starci-core-rail-offset, var(--starci-core-band-offset, 5.5rem));
|
|
1057
1109
|
}
|
|
1058
1110
|
|
|
1059
1111
|
.starci-core-rail-body {
|
|
@@ -1163,6 +1215,40 @@
|
|
|
1163
1215
|
top: 0;
|
|
1164
1216
|
}
|
|
1165
1217
|
|
|
1218
|
+
/*
|
|
1219
|
+
* THE BAND PUBLISHES ITS OWN HEIGHT.
|
|
1220
|
+
*
|
|
1221
|
+
* A page under a sticky band needs exactly one number - where the band stops - to pin a rail
|
|
1222
|
+
* beneath it, and until now every consumer RESTATED that number: `calc(4rem + 1px)` for the
|
|
1223
|
+
* primary row and its separator, `calc(4rem + 2rem + 1px)` once a feature layer is stacked.
|
|
1224
|
+
* Restated geometry is wrong the moment the band changes, so the band publishes it instead.
|
|
1225
|
+
*
|
|
1226
|
+
* It is published with `:has()` on the Grammar root, not measured in JS, because presence and
|
|
1227
|
+
* stacking are already spelled by the data attributes these compositions emit, and a custom
|
|
1228
|
+
* property set on the root inherits to every page inside it. The root - not `:root` - keeps the
|
|
1229
|
+
* package inside its own boundary, which is the same reason no rule here touches the document.
|
|
1230
|
+
*
|
|
1231
|
+
* NOTHING is defined when no sticky band is present, so `var(--starci-core-band-offset, X)`
|
|
1232
|
+
* still resolves to a consumer's own X exactly as it did before this property existed.
|
|
1233
|
+
*/
|
|
1234
|
+
.grammar-common-root:has(.starci-core-navigation-feature-nav[data-grammar-navigation-feature-nav-position="sticky"]),
|
|
1235
|
+
.grammar-common-root:has(.starci-core-subnav[data-grammar-subnav-position="sticky"]) {
|
|
1236
|
+
--starci-core-band-offset: calc(var(--starci-core-band-height, 0rem) + var(--starci-core-band-subnav-height, 0rem));
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
.grammar-common-root:has(.starci-core-navigation-feature-nav[data-grammar-navigation-feature-nav-position="sticky"]) {
|
|
1240
|
+
--starci-core-band-height: calc(4rem + 1px);
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
.grammar-common-root:has(.starci-core-navigation-feature-nav[data-grammar-navigation-feature-nav-position="sticky"][data-grammar-navigation-feature-nav-layers="two"]) {
|
|
1244
|
+
--starci-core-band-height: calc(4rem + 2rem + 1px);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
/* A sticky Subnav stacks under the band, so it adds its own height and separator to the offset. */
|
|
1248
|
+
.grammar-common-root:has(.starci-core-subnav[data-grammar-subnav-position="sticky"]) {
|
|
1249
|
+
--starci-core-band-subnav-height: calc(3.25rem + 1px);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1166
1252
|
.starci-core-navigation-feature-nav-primary {
|
|
1167
1253
|
display: grid !important;
|
|
1168
1254
|
min-height: 4rem;
|
|
@@ -1265,7 +1351,8 @@
|
|
|
1265
1351
|
.starci-core-subnav[data-grammar-subnav-position="sticky"] {
|
|
1266
1352
|
position: sticky;
|
|
1267
1353
|
z-index: var(--starci-core-subnav-z, 40);
|
|
1268
|
-
|
|
1354
|
+
/* The band's own published height, so a stacked Subnav no longer needs a consumer's calc. */
|
|
1355
|
+
top: var(--starci-core-subnav-offset, var(--starci-core-band-height, 4rem));
|
|
1269
1356
|
backface-visibility: hidden;
|
|
1270
1357
|
transform: translateZ(0);
|
|
1271
1358
|
will-change: transform;
|
|
@@ -1296,13 +1383,14 @@
|
|
|
1296
1383
|
/*
|
|
1297
1384
|
* The toggle is a HeroUI `Button`, whose own fill, corner and shadow live in the vendor's
|
|
1298
1385
|
* `components` layer - declared after `starci-grammar-common`, so it wins every normal
|
|
1299
|
-
* declaration here regardless of specificity. These
|
|
1300
|
-
*
|
|
1386
|
+
* declaration here regardless of specificity. These are the ones the utilities used to carry,
|
|
1387
|
+
* so they are the ones that have to be important - the 2.75rem target included, because the
|
|
1388
|
+
* vendor sizes its own button and a consumer was re-forcing `size-11` to get the target back.
|
|
1301
1389
|
*/
|
|
1302
1390
|
.starci-core-subnav-toggle {
|
|
1303
1391
|
display: inline-flex;
|
|
1304
|
-
width: 2.75rem;
|
|
1305
|
-
height: 2.75rem;
|
|
1392
|
+
width: 2.75rem !important;
|
|
1393
|
+
height: 2.75rem !important;
|
|
1306
1394
|
align-items: center;
|
|
1307
1395
|
justify-content: center;
|
|
1308
1396
|
border-radius: 0 !important;
|
|
@@ -1339,6 +1427,11 @@
|
|
|
1339
1427
|
.starci-core-subnav[data-grammar-subnav-visibility="compact"] {
|
|
1340
1428
|
display: none;
|
|
1341
1429
|
}
|
|
1430
|
+
|
|
1431
|
+
/* A compact Subnav is not on screen here, so it contributes no height to the band offset. */
|
|
1432
|
+
.grammar-common-root:has(.starci-core-subnav[data-grammar-subnav-position="sticky"][data-grammar-subnav-visibility="compact"]) {
|
|
1433
|
+
--starci-core-band-subnav-height: 0rem;
|
|
1434
|
+
}
|
|
1342
1435
|
}
|
|
1343
1436
|
|
|
1344
1437
|
.starci-core-workspace-shell {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
+
import type { RowVerdict } from "../../composite/StaticStateRow/index.js";
|
|
2
3
|
type LabelledSurfaceList = {
|
|
3
4
|
readonly label: string;
|
|
4
5
|
readonly ariaLabel?: string;
|
|
@@ -14,9 +15,19 @@ type SurfaceListFrameProps = (LabelledSurfaceList | SelfNamedSurfaceList) & {
|
|
|
14
15
|
readonly footer?: ReactNode;
|
|
15
16
|
readonly depth?: "top" | "nested";
|
|
16
17
|
readonly isLoading?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The collection reports outcomes: it squares its corners and paints each row's verdict edge.
|
|
20
|
+
*
|
|
21
|
+
* A row opts into that edge by carrying `data-verdict="success" | "danger"` - the slot contract
|
|
22
|
+
* this card publishes for its collection. `StaticStateRow` takes a `verdict` prop that emits it;
|
|
23
|
+
* an application-owned row spells the attribute itself and gets exactly the same shipped edge,
|
|
24
|
+
* because rows here are the caller's children and no prop of this card can reach them.
|
|
25
|
+
*/
|
|
17
26
|
readonly isVerdict?: boolean;
|
|
18
27
|
readonly isScrollable?: boolean;
|
|
19
28
|
};
|
|
29
|
+
/** The value a row in a verdict collection puts in `data-verdict`. */
|
|
30
|
+
export type SurfaceListRowVerdict = RowVerdict;
|
|
20
31
|
export type SurfaceListCardProps = SurfaceListFrameProps & {
|
|
21
32
|
readonly children: ReactNode;
|
|
22
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/branch/SurfaceListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/branch/SurfaceListCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAA;AAKzE,KAAK,mBAAmB,GAAG;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAC9B,CAAA;AAED,KAAK,oBAAoB,GAAG;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,CAAA;IAC1B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED,KAAK,qBAAqB,GAAG,CAAC,mBAAmB,GAAG,oBAAoB,CAAC,GAAG;IACxE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,CAAA;IAC3B,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IACjC,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B;;;;;;;OAOG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAA;IAC5B,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAClC,CAAA;AAED,sEAAsE;AACtE,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAA;AAE9C,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACvD,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,gCAgE1D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/branch/SurfaceListCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAkB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/branch/SurfaceListCard/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAkB,MAAM,OAAO,CAAA;AAE7C,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAA;AACpF,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAA;AACtD,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAsCpK,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,KAA2B,EAAE,EAAE;IAC3D,MAAM,EACF,KAAK,EACL,SAAS,EACT,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,WAAW,GAAG,KAAK,EACnB,MAAM,EACN,KAAK,GAAG,KAAK,EACb,SAAS,GAAG,KAAK,EACjB,SAAS,GAAG,KAAK,EACjB,YAAY,GAAG,KAAK,GACvB,GAAG,KAAK,CAAA;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,CAAA;IACzB,MAAM,cAAc,GAAG,SAAS,IAAI,KAAK,CAAA;IAEzC,OAAO,CACH,mBACI,SAAS,EAAE,o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M,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC3B,cAAK,SAAS,EAAE,sBAAsB,iCAA8B,MAAM,YAAE,MAAM,GAAO,CAC5F,IACK,CACb,CAAA;AACL,CAAC,CAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { type PresentationState } from "../../state.js";
|
|
2
|
+
/**
|
|
3
|
+
* The outcome a row in a verdict collection reports.
|
|
4
|
+
*
|
|
5
|
+
* This is not `PresentationState`: a state describes how the row itself is doing, while a verdict
|
|
6
|
+
* describes the direction of what the row REPORTS - a movement up or down a board - and it is drawn
|
|
7
|
+
* as the collection's leading edge rather than as the row's own treatment. The same union is the
|
|
8
|
+
* slot contract `SurfaceListCard` documents for an application-owned row.
|
|
9
|
+
*/
|
|
10
|
+
export type RowVerdict = "success" | "danger";
|
|
2
11
|
export type StaticStateRowData = {
|
|
3
12
|
readonly id: string;
|
|
4
13
|
readonly label: string;
|
|
5
14
|
readonly description?: string;
|
|
6
15
|
readonly state?: PresentationState;
|
|
16
|
+
/** Draws the collection's 2px leading verdict edge on this row. */
|
|
17
|
+
readonly verdict?: RowVerdict;
|
|
7
18
|
};
|
|
8
19
|
export type StaticStateRowProps = {
|
|
9
20
|
readonly item: StaticStateRowData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/composite/StaticStateRow/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGrE,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/composite/StaticStateRow/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAGrE;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE7C,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,iBAAiB,CAAA;IAClC,mEAAmE;IACnE,QAAQ,CAAC,OAAO,CAAC,EAAE,UAAU,CAAA;CAChC,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAA;CACpC,CAAA;AAED,kFAAkF;AAClF,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,gCAqBxD,CAAA"}
|
|
@@ -7,6 +7,6 @@ export const StaticStateRow = (props) => {
|
|
|
7
7
|
const item = props.item;
|
|
8
8
|
const state = item.state ?? "neutral";
|
|
9
9
|
const treatment = treatmentFor(state);
|
|
10
|
-
return (_jsxs("li", { className: staticRowClassName, "data-grammar-row": "true", "data-grammar-state": state, "data-grammar-treatment": treatment.tone, "data-contract": "GAP-3 PADDING-4 BOUNDARY-3", children: [_jsx(StateMark, { state: state }), _jsxs("span", { className: staticRowCopyClassName, "data-contract": "GAP-1", children: [_jsx("span", { children: item.label }), item.description === undefined ? null : _jsx("span", { children: item.description })] })] }));
|
|
10
|
+
return (_jsxs("li", { className: staticRowClassName, "data-grammar-row": "true", "data-grammar-state": state, "data-grammar-treatment": treatment.tone, "data-verdict": item.verdict, "data-contract": "GAP-3 PADDING-4 BOUNDARY-3", children: [_jsx(StateMark, { state: state }), _jsxs("span", { className: staticRowCopyClassName, "data-contract": "GAP-1", children: [_jsx("span", { children: item.label }), item.description === undefined ? null : _jsx("span", { children: item.description })] })] }));
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/composite/StaticStateRow/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAA0B,MAAM,gBAAgB,CAAA;AACrE,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/composite/StaticStateRow/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAA0B,MAAM,gBAAgB,CAAA;AACrE,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAyBhF,kFAAkF;AAClF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACzD,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAA;IACvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,SAAS,CAAA;IACrC,MAAM,SAAS,GAAG,YAAY,CAAC,KAAK,CAAC,CAAA;IAErC,OAAO,CACH,cACI,SAAS,EAAE,kBAAkB,sBACZ,MAAM,wBACH,KAAK,4BACD,SAAS,CAAC,IAAI,kBACxB,IAAI,CAAC,OAAO,mBACZ,4BAA4B,aAE1C,KAAC,SAAS,IAAC,KAAK,EAAE,KAAK,GAAI,EAC3B,gBAAM,SAAS,EAAE,sBAAsB,mBAAgB,OAAO,aAC1D,yBAAO,IAAI,CAAC,KAAK,GAAQ,EACxB,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,yBAAO,IAAI,CAAC,WAAW,GAAQ,IACrE,IACN,CACR,CAAA;AACL,CAAC,CAAA"}
|
package/dist/core/dna.d.ts
CHANGED
|
@@ -122,6 +122,33 @@ export declare const STARCI_CORE_TOKEN_NAMES: Readonly<{
|
|
|
122
122
|
readonly motionDuration: "--starci-core-motion-duration";
|
|
123
123
|
readonly motionEasing: "--starci-core-motion-easing";
|
|
124
124
|
}>;
|
|
125
|
+
/**
|
|
126
|
+
* Sticky-band geometry the package PUBLISHES rather than expects.
|
|
127
|
+
*
|
|
128
|
+
* These are not theme tokens and they are deliberately absent from `STARCI_CORE_TOKEN_NAMES`: a
|
|
129
|
+
* theme token has one default the family always defines, while each of these is either derived from
|
|
130
|
+
* what is actually on the page or supplied by a host that wants to override that. A consumer reads
|
|
131
|
+
* them; only `railOffset` and `subnavOffset` are meant to be written.
|
|
132
|
+
*
|
|
133
|
+
* - `bandOffset` - where the sticky band stack stops. Defined only while a sticky
|
|
134
|
+
* `NavigationFeatureNav` or `Subnav` is present, so `var(--starci-core-band-offset, X)` keeps
|
|
135
|
+
* falling back to a page's own X when there is no band. A page pins to it with
|
|
136
|
+
* `top: var(--starci-core-band-offset)` and bounds itself with
|
|
137
|
+
* `max-height: calc(100dvh - var(--starci-core-band-offset))`.
|
|
138
|
+
* - `bandHeight` - the navigation band alone: 4rem plus its separator, plus 2rem when a feature
|
|
139
|
+
* layer is stacked on it.
|
|
140
|
+
* - `bandSubnavHeight` - a stacked sticky `Subnav`, which contributes nothing once a compact one is
|
|
141
|
+
* hidden at 70rem.
|
|
142
|
+
* - `railOffset` / `subnavOffset` - the host overrides. Unset, each reads the published band.
|
|
143
|
+
*/
|
|
144
|
+
export declare const STARCI_CORE_BAND_TOKEN_NAMES: Readonly<{
|
|
145
|
+
readonly bandOffset: "--starci-core-band-offset";
|
|
146
|
+
readonly bandHeight: "--starci-core-band-height";
|
|
147
|
+
readonly bandSubnavHeight: "--starci-core-band-subnav-height";
|
|
148
|
+
readonly railOffset: "--starci-core-rail-offset";
|
|
149
|
+
readonly subnavOffset: "--starci-core-subnav-offset";
|
|
150
|
+
}>;
|
|
151
|
+
export type StarCiCoreBandTokenName = (typeof STARCI_CORE_BAND_TOKEN_NAMES)[keyof typeof STARCI_CORE_BAND_TOKEN_NAMES];
|
|
125
152
|
export type StarCiCoreDna = typeof STARCI_CORE_DNA;
|
|
126
153
|
export type StarCiCoreTokenName = (typeof STARCI_CORE_TOKEN_NAMES)[keyof typeof STARCI_CORE_TOKEN_NAMES];
|
|
127
154
|
/** Portable light/default values keyed by the public CSS custom-property contract. */
|
package/dist/core/dna.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dna.d.ts","sourceRoot":"","sources":["../../src/core/dna.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DjB,CAAA;AAEX,kFAAkF;AAClF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAe3B,CAAA;AAEX,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,yBAAyB,CAAA;AAC1E,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,qBAAqB,CAAC,CAAA;AAE9F,mFAAmF;AACnF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCzB,CAAA;AAEX,MAAM,MAAM,aAAa,GAAG,OAAO,eAAe,CAAA;AAClD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAA;AAExG,sFAAsF;AACtF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCmB,CAAA;AAE1D,mFAAmF;AACnF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAgBuB,CAAA;AAEnE,MAAM,MAAM,uBAAuB,GAAG,OAAO,0BAA0B,CAAA"}
|
|
1
|
+
{"version":3,"file":"dna.d.ts","sourceRoot":"","sources":["../../src/core/dna.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DjB,CAAA;AAEX,kFAAkF;AAClF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;EAe3B,CAAA;AAEX,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,yBAAyB,CAAA;AAC1E,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC,qBAAqB,CAAC,CAAA;AAE9F,mFAAmF;AACnF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCzB,CAAA;AAEX;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,4BAA4B;;;;;;EAM9B,CAAA;AAEX,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAA;AAEtH,MAAM,MAAM,aAAa,GAAG,OAAO,eAAe,CAAA;AAClD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAA;AAExG,sFAAsF;AACtF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCmB,CAAA;AAE1D,mFAAmF;AACnF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;EAgBuB,CAAA;AAEnE,MAAM,MAAM,uBAAuB,GAAG,OAAO,0BAA0B,CAAA"}
|
package/dist/core/dna.js
CHANGED
|
@@ -120,6 +120,32 @@ export const STARCI_CORE_TOKEN_NAMES = Object.freeze({
|
|
|
120
120
|
motionDuration: "--starci-core-motion-duration",
|
|
121
121
|
motionEasing: "--starci-core-motion-easing",
|
|
122
122
|
});
|
|
123
|
+
/**
|
|
124
|
+
* Sticky-band geometry the package PUBLISHES rather than expects.
|
|
125
|
+
*
|
|
126
|
+
* These are not theme tokens and they are deliberately absent from `STARCI_CORE_TOKEN_NAMES`: a
|
|
127
|
+
* theme token has one default the family always defines, while each of these is either derived from
|
|
128
|
+
* what is actually on the page or supplied by a host that wants to override that. A consumer reads
|
|
129
|
+
* them; only `railOffset` and `subnavOffset` are meant to be written.
|
|
130
|
+
*
|
|
131
|
+
* - `bandOffset` - where the sticky band stack stops. Defined only while a sticky
|
|
132
|
+
* `NavigationFeatureNav` or `Subnav` is present, so `var(--starci-core-band-offset, X)` keeps
|
|
133
|
+
* falling back to a page's own X when there is no band. A page pins to it with
|
|
134
|
+
* `top: var(--starci-core-band-offset)` and bounds itself with
|
|
135
|
+
* `max-height: calc(100dvh - var(--starci-core-band-offset))`.
|
|
136
|
+
* - `bandHeight` - the navigation band alone: 4rem plus its separator, plus 2rem when a feature
|
|
137
|
+
* layer is stacked on it.
|
|
138
|
+
* - `bandSubnavHeight` - a stacked sticky `Subnav`, which contributes nothing once a compact one is
|
|
139
|
+
* hidden at 70rem.
|
|
140
|
+
* - `railOffset` / `subnavOffset` - the host overrides. Unset, each reads the published band.
|
|
141
|
+
*/
|
|
142
|
+
export const STARCI_CORE_BAND_TOKEN_NAMES = Object.freeze({
|
|
143
|
+
bandOffset: "--starci-core-band-offset",
|
|
144
|
+
bandHeight: "--starci-core-band-height",
|
|
145
|
+
bandSubnavHeight: "--starci-core-band-subnav-height",
|
|
146
|
+
railOffset: "--starci-core-rail-offset",
|
|
147
|
+
subnavOffset: "--starci-core-subnav-offset",
|
|
148
|
+
});
|
|
123
149
|
/** Portable light/default values keyed by the public CSS custom-property contract. */
|
|
124
150
|
export const STARCI_CORE_TOKEN_DEFAULTS = Object.freeze({
|
|
125
151
|
"--starci-core-accent": STARCI_CORE_DNA.color.accent,
|
package/dist/core/dna.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dna.js","sourceRoot":"","sources":["../../src/core/dna.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,aAAa;IACjB,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;QACjB,MAAM,EAAE,SAAS;QACjB,gBAAgB,EAAE,iBAAiB;QACnC,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC;YACjB,MAAM,EAAE,6BAA6B;YACrC,OAAO,EAAE,2BAA2B;YACpC,gBAAgB,EAAE,6BAA6B;YAC/C,UAAU,EAAE,6BAA6B;YACzC,KAAK,EAAE,4BAA4B;YACnC,MAAM,EAAE,0BAA0B;YAClC,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,6BAA6B;YACtC,iBAAiB,EAAE,6BAA6B;YAChD,OAAO,EAAE,2BAA2B;YACpC,iBAAiB,EAAE,4BAA4B;YAC/C,MAAM,EAAE,4BAA4B;YACpC,gBAAgB,EAAE,mBAAmB;YACrC,IAAI,EAAE,qBAAqB;YAC3B,cAAc,EAAE,0BAA0B;SAC7C,CAAC;QACF,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;YAChB,MAAM,EAAE,0BAA0B;YAClC,OAAO,EAAE,4BAA4B;YACrC,gBAAgB,EAAE,4BAA4B;YAC9C,UAAU,EAAE,6BAA6B;YACzC,KAAK,EAAE,2BAA2B;YAClC,MAAM,EAAE,0BAA0B;YAClC,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,6BAA6B;YACtC,iBAAiB,EAAE,6BAA6B;YAChD,OAAO,EAAE,4BAA4B;YACrC,iBAAiB,EAAE,4BAA4B;YAC/C,MAAM,EAAE,2BAA2B;YACnC,gBAAgB,EAAE,mB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D,sBAAsB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM;IACzD,uBAAuB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;IAC3D,iCAAiC,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB;IAC9E,0BAA0B,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU;IACjE,qBAAqB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK;IACvD,sBAAsB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM;IACzD,yBAAyB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS;IAC/D,uBAAuB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;IAC3D,kCAAkC,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB;IAChF,uBAAuB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;IAC3D,kCAAkC,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,iBAAiB;IAChF,sBAAsB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM;IACzD,iCAAiC,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB;IAC9E,oBAAoB,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI;IACrD,+BAA+B,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,cAAc;CACZ,CAAC,CAAA"}
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineGrammarFamily, type GrammarRootProps } from "../common/index.js";
|
|
2
2
|
export * from "../common/index.js";
|
|
3
3
|
export type { PresentationState } from "./state.js";
|
|
4
|
-
export { STARCI_CORE_DARK_TOKEN_DEFAULTS, STARCI_CORE_DNA, STARCI_CORE_SPACING_SCALE, STARCI_CORE_TOKEN_DEFAULTS, STARCI_CORE_TOKEN_NAMES, type StarCiCoreDna, type StarCiCoreSpacingStep, type StarCiCoreSpacingValue, type StarCiCoreTokenDefaults, type StarCiCoreTokenName, } from "./dna.js";
|
|
4
|
+
export { STARCI_CORE_BAND_TOKEN_NAMES, STARCI_CORE_DARK_TOKEN_DEFAULTS, STARCI_CORE_DNA, STARCI_CORE_SPACING_SCALE, STARCI_CORE_TOKEN_DEFAULTS, STARCI_CORE_TOKEN_NAMES, type StarCiCoreBandTokenName, type StarCiCoreDna, type StarCiCoreSpacingStep, type StarCiCoreSpacingValue, type StarCiCoreTokenDefaults, type StarCiCoreTokenName, } from "./dna.js";
|
|
5
5
|
/** @deprecated Use COMMON_GRAMMAR_COMPONENTS from `@starci/grammar/common`. */
|
|
6
6
|
export declare const CORE_GRAMMAR_COMPONENTS: Readonly<{
|
|
7
7
|
readonly Badge: ({ children, startContent, tone, isSkeleton }: import("./index.js").BadgeProps) => import("react").JSX.Element;
|
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,mBAAmB,EAGnB,KAAK,gBAAgB,EACxB,MAAM,oBAAoB,CAAA;AAM3B,cAAc,oBAAoB,CAAA;AAElC,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EACH,+BAA+B,EAC/B,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GAC3B,MAAM,UAAU,CAAA;AAEjB,+EAA+E;AAC/E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAEhE,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,uBAAuB,CAAA;AAQ3E,eAAO,MAAM,WAAW,wDAOtB,CAAA;AAEF,eAAO,MAAM,eAAe,mFAAqC,CAAA;AAEjE,eAAO,MAAM,mBAAmB;;;;;;EAI9B,CAAA;AAGF,OAAO,EAAE,mBAAmB,EAAE,CAAA;AAC9B,YAAY,EACR,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,GACtB,MAAM,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAGH,mBAAmB,EAGnB,KAAK,gBAAgB,EACxB,MAAM,oBAAoB,CAAA;AAM3B,cAAc,oBAAoB,CAAA;AAElC,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AACnD,OAAO,EACH,4BAA4B,EAC5B,+BAA+B,EAC/B,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GAC3B,MAAM,UAAU,CAAA;AAEjB,+EAA+E;AAC/E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAEhE,MAAM,MAAM,wBAAwB,GAAG,MAAM,OAAO,uBAAuB,CAAA;AAQ3E,eAAO,MAAM,WAAW,wDAOtB,CAAA;AAEF,eAAO,MAAM,eAAe,mFAAqC,CAAA;AAEjE,eAAO,MAAM,mBAAmB;;;;;;EAI9B,CAAA;AAGF,OAAO,EAAE,mBAAmB,EAAE,CAAA;AAC9B,YAAY,EACR,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,GACtB,MAAM,oBAAoB,CAAA"}
|
package/dist/core/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createElement } from "react";
|
|
|
5
5
|
// DNA, conformance) win over the same names below. A consumer may import renderers from this entry or from
|
|
6
6
|
// @starci/grammar/common; both name the same Common components.
|
|
7
7
|
export * from "../common/index.js";
|
|
8
|
-
export { STARCI_CORE_DARK_TOKEN_DEFAULTS, STARCI_CORE_DNA, STARCI_CORE_SPACING_SCALE, STARCI_CORE_TOKEN_DEFAULTS, STARCI_CORE_TOKEN_NAMES, } from "./dna.js";
|
|
8
|
+
export { STARCI_CORE_BAND_TOKEN_NAMES, STARCI_CORE_DARK_TOKEN_DEFAULTS, STARCI_CORE_DNA, STARCI_CORE_SPACING_SCALE, STARCI_CORE_TOKEN_DEFAULTS, STARCI_CORE_TOKEN_NAMES, } from "./dna.js";
|
|
9
9
|
/** @deprecated Use COMMON_GRAMMAR_COMPONENTS from `@starci/grammar/common`. */
|
|
10
10
|
export const CORE_GRAMMAR_COMPONENTS = COMMON_GRAMMAR_COMPONENTS;
|
|
11
11
|
/** StarCi Core is one visual family implementing the Common contract. */
|
package/dist/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EACH,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,GAG/B,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,4GAA4G;AAC5G,2GAA2G;AAC3G,gEAAgE;AAChE,cAAc,oBAAoB,CAAA;AAGlC,OAAO,EACH,+BAA+B,EAC/B,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,EACH,yBAAyB,EACzB,kBAAkB,EAClB,mBAAmB,EACnB,4BAA4B,GAG/B,MAAM,oBAAoB,CAA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