@starci/grammar 0.12.14 → 0.13.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.
Files changed (35) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +8 -31
  3. package/dist/.build-stamp.json +4 -4
  4. package/dist/common/components-forms.css +1 -1
  5. package/dist/common/conformance.d.ts +3 -8
  6. package/dist/common/conformance.d.ts.map +1 -1
  7. package/dist/common/conformance.js +4 -9
  8. package/dist/common/conformance.js.map +1 -1
  9. package/dist/common/{rule-catalog.generated.d.ts → rule-catalog.d.ts} +1 -1
  10. package/dist/common/rule-catalog.d.ts.map +1 -0
  11. package/dist/common/{rule-catalog.generated.js → rule-catalog.js} +2 -4
  12. package/dist/common/rule-catalog.js.map +1 -0
  13. package/dist/common/styles.css +7 -2
  14. package/dist/core/buttonIntent.d.ts.map +1 -1
  15. package/dist/core/buttonIntent.js +1 -2
  16. package/dist/core/buttonIntent.js.map +1 -1
  17. package/dist/core/collectionItem.d.ts.map +1 -1
  18. package/dist/core/collectionItem.js +1 -2
  19. package/dist/core/collectionItem.js.map +1 -1
  20. package/dist/core/dna.d.ts +1 -1
  21. package/dist/core/dna.js +1 -1
  22. package/dist/core/dna.js.map +1 -1
  23. package/dist/core/styles.css +1 -1
  24. package/package.json +7 -12
  25. package/dist/common/rule-catalog.generated.d.ts.map +0 -1
  26. package/dist/common/rule-catalog.generated.js.map +0 -1
  27. package/dist/heritage/dna.d.ts +0 -63
  28. package/dist/heritage/dna.d.ts.map +0 -1
  29. package/dist/heritage/dna.js +0 -37
  30. package/dist/heritage/dna.js.map +0 -1
  31. package/dist/heritage/index.d.ts +0 -27
  32. package/dist/heritage/index.d.ts.map +0 -1
  33. package/dist/heritage/index.js +0 -46
  34. package/dist/heritage/index.js.map +0 -1
  35. package/dist/heritage/styles.css +0 -187
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 StarCi
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 StarCi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  `@starci/grammar` splits a UI kit into one shared contract and several visual families. The
4
4
  contract has no business logic. Common owns the typed props, semantics, renderer anatomy, universal
5
- states and scales, and the family registry. Core, Heritage and Offset Pop are sibling families.
5
+ states and scales, and the family registry. Core and Offset Pop are sibling families.
6
6
  Each one implements the same contract with its own scoped visual DNA. The package contains no
7
7
  routes, domain entities, product decisions or feature-named shells.
8
8
 
@@ -13,8 +13,6 @@ only: props, DOM, ARIA and keyboard behaviour stay the same.
13
13
 
14
14
  ```sh
15
15
  npm install @starci/grammar @heroui/react react react-dom
16
- # while developing inside this repository:
17
- npm install ./.claude/packages/grammar
18
16
  ```
19
17
 
20
18
  The package needs Node.js 22 or newer. Its peer dependencies are React 18+, `@xyflow/react` 12 (for `FlowGraph`) and `@heroui/react`
@@ -25,14 +23,10 @@ exactly one Grammar family stylesheet. Each family sheet already imports Common
25
23
  | --- | --- | --- |
26
24
  | `@starci/grammar/common` | `GrammarRoot` (neutral) | `@starci/grammar/common/styles.css` (`common.css`) |
27
25
  | `@starci/grammar/core` | `CoreGrammarRoot` | `@starci/grammar/core/styles.css` (`core.css`) |
28
- | `@starci/grammar/heritage` | `HeritageGrammarRoot` | `@starci/grammar/heritage/styles.css` (`heritage.css`) |
29
26
  | `@starci/grammar/offset-pop` | `OffsetPopGrammarRoot` | `@starci/grammar/offset-pop/styles.css` (`offset-pop.css`) |
30
27
 
31
28
  The Core and Offset Pop entry points re-export all of Common, so an app imports its components and
32
- its root from one place. Heritage does not re-export Common. It exports `heritageGrammar`,
33
- `HeritageGrammarRoot`, its `Brand` extension (`HeritageBrand`), the `HeritageButton` and
34
- `HeritageHeading` aliases and its conformance, so import the other renderers from
35
- `@starci/grammar/common`.
29
+ its root from one place.
36
30
 
37
31
  ## Usage
38
32
 
@@ -57,7 +51,7 @@ the complete placement mapping in light and dark, including destination, pending
57
51
 
58
52
  ### App shell
59
53
 
60
- The [app-shell canon](../../knowledge/ui/composition/app-shell.yaml) owns `FE-APP-SHELL-1` through `FE-APP-SHELL-7`.
54
+ The [app-shell canon](../../contexts/ui/composition.md) owns `FE-APP-SHELL-1` through `FE-APP-SHELL-7`.
61
55
  The `Compositions/App shell` stories show the fixed shell, grouped sidebar, icon rail and mobile drawer.
62
56
 
63
57
  - `size="control"` is available on `Button`, `IconButton`, `TextAction`, `PlainPressable`, `IdentityLockup`, `Input` and `SearchField`, alongside `Switch`, `Avatar` and `AvatarButton`.
@@ -127,23 +121,6 @@ export const ProductSurface = () => (
127
121
  Core's DNA declares a shadow without a border at top surface depth, and a border without a shadow
128
122
  at nested depth.
129
123
 
130
- ### Heritage
131
-
132
- ```tsx
133
- import { TopBar } from "@starci/grammar/common"
134
- import { HeritageBrand, HeritageGrammarRoot } from "@starci/grammar/heritage"
135
- import "@starci/grammar/heritage/styles.css"
136
-
137
- export const Masthead = () => (
138
- <HeritageGrammarRoot>
139
- <TopBar brand={<a href="/"><HeritageBrand name="…" descriptor="…" logo={{ src: "/logo.svg", width: 40, height: 40 }} /></a>} />
140
- </HeritageGrammarRoot>
141
- )
142
- ```
143
-
144
- Heritage replaces only the root. It adds one extension, `Brand`, which is non-interactive brand
145
- content for a destination the consumer owns.
146
-
147
124
  ### Offset Pop
148
125
 
149
126
  ```tsx
@@ -171,7 +148,7 @@ offset shadow and a pink decision accent. Text that uses the accent is drawn in
171
148
 
172
149
  A family paints only inside its root. Each family stylesheet is scoped to
173
150
  `.grammar-common-root[data-grammar-family="<id>"]` inside its own cascade layer:
174
- `starci-grammar-common` comes first, then `-core`, `-heritage` and `-offset-pop`. No family sheet
151
+ `starci-grammar-common` comes first, then `-core` and `-offset-pop`. No family sheet
175
152
  imports a sibling family's sheet. So two families can share a page, each inside its own root, and
176
153
  nested roots resolve to the innermost one.
177
154
 
@@ -246,7 +223,7 @@ className and no size. An item takes `id`, `label`, `description`, `descriptionL
246
223
  `size-4`, which is example content and not a component default, so 20px is StarCi's icon rule and not a vendor override.
247
224
  - `mark`: a decorative node instead of `iconSource`, e.g. an identity mark (`<Avatar size="sm" shape="rounded" isDecorative />`). The public type rejects both props together.
248
225
  - `tone: "danger"`: HeroUI's `danger` variant, which colours the label and the glyph. Sign out, delete, remove, leave workspace
249
- and revoke are destructive; the lint rule `starci-grammar/destructive-menu-entry-needs-danger-tone` of `@starci/eslint-grammar-starci` refuses such an entry without it.
226
+ and revoke are destructive; the lint rule `starci-grammar/destructive-menu-entry-needs-danger-tone` of `@starci/eslint-grammar-core` refuses such an entry without it.
250
227
 
251
228
  A section takes `label` and optionally `selection` (`mode: "single" | "multiple"`, `selectedIds`, `onChange`). Between two
252
229
  adjacent entries, when either is a section, Grammar always inserts HeroUI's own `Separator`: the app cannot forget one. The selection
@@ -267,7 +244,7 @@ an item with a submenu).
267
244
  ```
268
245
 
269
246
  **HeroUI parity.** Grammar is a wrapper of HeroUI, so a wrapper keeps HeroUI's anatomy and defaults. The vendor reference
270
- (`knowledge/vendor/heroui/<component>.yaml` in the StarCi runtime) is measured from the installed `@heroui/react` and
247
+ (`contexts/vendor/` of the StarCi harness) is measured from the installed `@heroui/react` and
271
248
  `@heroui/styles`; the gate `GRAMMAR_VENDOR_PARITY` fails a wrapper that renders a part HeroUI does not have, omits one it
272
249
  requires, restyles what the vendor decides, or replaces a vendor default, unless an owner-pinned override declares it. `ListBox`
273
250
  and `Select` are HeroUI's own list-box items (a `Label`, a `Description`, the item indicator at the end of the row).
@@ -430,8 +407,8 @@ person uses Avatar. The default `layout="row"` keeps the overlapping member row
430
407
 
431
408
  ## Theming
432
409
 
433
- - **Tokens.** Each family writes its DNA as CSS custom properties on its root: `--starci-core-*`,
434
- `--heritage-*` or `--offset-pop-*`. It feeds those into the Common semantic variables that
410
+ - **Tokens.** Each family writes its DNA as CSS custom properties on its root: `--starci-core-*`
411
+ or `--offset-pop-*`. It feeds those into the Common semantic variables that
435
412
  renderers read: `--accent`, `--accent-foreground`, `--focus`, `--background`, `--surface`,
436
413
  `--surface-secondary`, `--foreground`, `--muted`, `--border`, `--separator`, the status
437
414
  colours and their foregrounds, radii and shadow. Core also publishes a tertiary face under its own
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schema": "starci/grammar-build-stamp@1",
3
3
  "package": "@starci/grammar",
4
- "version": "0.12.14",
4
+ "version": "0.13.0",
5
5
  "algorithm": "starci/grammar-source-digest@1",
6
- "sourceDigest": "sha256:d0f747302686e5391934ba97b7fb91f582e15260a9b8e0eb4a25f365163bfdde",
7
- "distDigest": "sha256:291edd4443f66c843492626af0a8d95c55549f58db0520c2d4d16273fb0b85d6",
8
- "builtAt": "2026-10-26T21:41:52.449Z"
6
+ "sourceDigest": "sha256:8a06b89d40ec531120f934a25402aa13182983037e8727b1f8973a3fb24332e4",
7
+ "distDigest": "sha256:1ef67bc0b8b06f2fb022946ab6b449a7df3a9850e552f4a694b746ee11854136",
8
+ "builtAt": "2026-10-27T15:45:07.025Z"
9
9
  }
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * Only structure, rhythm and the touch floor live here. Paint resolves through the semantic
8
8
  * variables every family binds (`--field-*`, `--accent`, `--danger`, `--muted`, `--focus`,
9
- * `--border`), so Core, Heritage and Offset Pop each get their own look without a Common colour.
9
+ * `--border`), so Core and Offset Pop each get their own look without a Common colour.
10
10
  * Spacing uses the Common 4px scale (0.25 / 0.5 / 0.75 / 1 / 1.5rem).
11
11
  *
12
12
  * `!important` appears only on the few declarations the vendor's field roots also set (display and
@@ -1,13 +1,8 @@
1
1
  /**
2
- * The catalog is GENERATED, not transcribed.
3
- *
4
- * A hand-typed copy of the knowledge tree's family list is only correct on the day it is typed, and
5
- * a conformance check against a wrong catalog keeps passing, which is the worst outcome a check
6
- * can have, so the table is read from the tree.
7
- *
8
- * Regenerate with `node packages/grammar/scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
2
+ * The rule catalog the conformance tables are audited against: `rule-catalog.ts`, committed source of this package.
3
+ * It changes in the same commit as the rule families it counts.
9
4
  */
10
- export { RULE_FAMILY_COUNTS } from "./rule-catalog.generated.js";
5
+ export { RULE_FAMILY_COUNTS } from "./rule-catalog.js";
11
6
  /** Every canonical Common UI rule id, exactly as the knowledge tree spells it. */
12
7
  export declare const COMMON_UI_RULE_IDS: readonly string[];
13
8
  export type GrammarRuleConformance = {
@@ -1 +1 @@
1
- {"version":3,"file":"conformance.d.ts","sourceRoot":"","sources":["../../src/common/conformance.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEhE,kFAAkF;AAClF,eAAO,MAAM,kBAAkB,mBAAqB,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,oBAAoB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IACpD,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;CAC3E,CAAA;AAED,wFAAwF;AACxF,eAAO,MAAM,4BAA4B,GAAI,YAAY,sBAAsB;;;;;;EAa9E,CAAA"}
1
+ {"version":3,"file":"conformance.d.ts","sourceRoot":"","sources":["../../src/common/conformance.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtD,kFAAkF;AAClF,eAAO,MAAM,kBAAkB,mBAAqB,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,oBAAoB,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IACpD,QAAQ,CAAC,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;CAC3E,CAAA;AAED,wFAAwF;AACxF,eAAO,MAAM,4BAA4B,GAAI,YAAY,sBAAsB;;;;;;EAa9E,CAAA"}
@@ -1,14 +1,9 @@
1
- import { CANONICAL_RULE_IDS } from "./rule-catalog.generated.js";
1
+ import { CANONICAL_RULE_IDS } from "./rule-catalog.js";
2
2
  /**
3
- * The catalog is GENERATED, not transcribed.
4
- *
5
- * A hand-typed copy of the knowledge tree's family list is only correct on the day it is typed, and
6
- * a conformance check against a wrong catalog keeps passing, which is the worst outcome a check
7
- * can have, so the table is read from the tree.
8
- *
9
- * Regenerate with `node packages/grammar/scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
3
+ * The rule catalog the conformance tables are audited against: `rule-catalog.ts`, committed source of this package.
4
+ * It changes in the same commit as the rule families it counts.
10
5
  */
11
- export { RULE_FAMILY_COUNTS } from "./rule-catalog.generated.js";
6
+ export { RULE_FAMILY_COUNTS } from "./rule-catalog.js";
12
7
  /** Every canonical Common UI rule id, exactly as the knowledge tree spells it. */
13
8
  export const COMMON_UI_RULE_IDS = CANONICAL_RULE_IDS;
14
9
  /** Machine-checkable family coverage against the canonical knowledge/ui X-n catalog. */
@@ -1 +1 @@
1
- {"version":3,"file":"conformance.js","sourceRoot":"","sources":["../../src/common/conformance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEhE;;;;;;;;GAQG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEhE,kFAAkF;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAA;AAQpD,wFAAwF;AACxF,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,UAAkC,EAAE,EAAE;IAC/E,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,oBAAoB,CAAC,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declare const RULE_FAMILY_COUNTS: Readonly<{
36
36
  }>;
37
37
  /** Every declared canonical rule id, preserving each topic's authored order. */
38
38
  export declare const CANONICAL_RULE_IDS: ReadonlyArray<string>;
39
- //# sourceMappingURL=rule-catalog.generated.d.ts.map
39
+ //# sourceMappingURL=rule-catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-catalog.d.ts","sourceRoot":"","sources":["../../src/common/rule-catalog.ts"],"names":[],"mappings":"AAMA,qFAAqF;AACrF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCpB,CAAA;AAEX,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAAC,MAAM,CAoNnD,CAAA"}
@@ -1,7 +1,5 @@
1
1
  /*
2
- * GENERATED FILE - do not edit by hand.
3
- * Regenerate with node packages/grammar/scripts/generate-rule-catalog.mjs [knowledgeDir].
4
- * Canonical declarations are rules[].id in the YAML knowledge topics.
2
+ * The catalog of canonical UI rule ids, by family. It changes in the same commit as the rule families it counts.
5
3
  * References, scale rows, cases and closed addresses contribute no additional rules.
6
4
  * 33 families, 178 rules.
7
5
  */
@@ -255,4 +253,4 @@ export const CANONICAL_RULE_IDS = Object.freeze([
255
253
  "UX-11",
256
254
  "UX-12",
257
255
  ]);
258
- //# sourceMappingURL=rule-catalog.generated.js.map
256
+ //# sourceMappingURL=rule-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-catalog.js","sourceRoot":"","sources":["../../src/common/rule-catalog.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,qFAAqF;AACrF,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC5C,MAAM,EAAE,CAAC,EAAE,8BAA8B;IACzC,QAAQ,EAAE,CAAC,EAAE,6BAA6B;IAC1C,QAAQ,EAAE,CAAC,EAAE,6BAA6B;IAC1C,SAAS,EAAE,CAAC,EAAE,+BAA+B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AS;IACT,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,aAAa;IACb,UAAU;IACV,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,SAAS;IACT,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,SAAS;IACT,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,aAAa;IACb,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,UAAU;IACV,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;CACV,CAAC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /* Common owns only universal structure/scales. Families supply material DNA. */
2
- @layer starci-grammar-common, starci-grammar-core, starci-grammar-heritage, starci-grammar-offset-pop;
2
+ @layer starci-grammar-common, starci-grammar-core, starci-grammar-offset-pop;
3
3
  @import "./components-forms.css";
4
4
  @import "./components-surface-controls.css";
5
5
  @import "./components-overlays.css";
@@ -2764,8 +2764,13 @@
2764
2764
  width: min(100%, var(--starci-core-form-compact-measure, 28rem)) !important;
2765
2765
  }
2766
2766
 
2767
+ /*
2768
+ * The vendor Card.Header pads the label row; the zero beats it from either side of `@heroui/styles`. A family that
2769
+ * insets the label sets `--starci-core-surface-label-padding` instead of a padding of its own: an important
2770
+ * declaration in this earlier layer outranks every normal or important padding a family layer could write.
2771
+ */
2767
2772
  .starci-core-surface-label {
2768
- padding: 0 !important;
2773
+ padding: var(--starci-core-surface-label-padding, 0) !important;
2769
2774
  }
2770
2775
 
2771
2776
  .starci-core-surface {
@@ -1 +1 @@
1
- {"version":3,"file":"buttonIntent.d.ts","sourceRoot":"","sources":["../../src/core/buttonIntent.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAA;AAC3F,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,CAAA;AACjD,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,CAAA;AAE5D,2FAA2F;AAC3F,MAAM,MAAM,iBAAiB,GACvB;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC;IAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAA;CAAE,GACjF;IAAE,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,eAAe,CAAA;CAAE,CA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AI,CAAC,EAAE,eAAe,CAAA;CAAE,CAAA;AAgBzE,sGAAsG;AACtG,eAAO,MAAM,0BAA0B,GAAI,sBAAsB;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAItI,CAAA;AAED,0FAA0F;AAC1F,eAAO,MAAM,uBAAuB,GAAI,iCAAyC;IAAE,QAAQ,CAAC,SAAS,EAAE,eAAe,CAAC;IAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAEhL,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,sBAAsB,GAAI,QAAQ,YAAY,GAAG,SAAS,EAAE,MAAM,eAAe,GAAG,SAAS,EAAE,SAAS,QAAQ,GAAG,YAAY,KAAG,aAAa,GAAG,SAU9J,CAAA"}
@@ -3,11 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { createContext, useContext } from "react";
4
4
  import { STARCI_CORE_DNA } from "./dna.js";
5
5
  import { OFFSET_POP_DNA } from "../offset-pop/dna.js";
6
- import { HERITAGE_DNA } from "../heritage/dna.js";
7
6
  const FamilyContext = createContext(STARCI_CORE_DNA.intent);
8
7
  const PlacementContext = createContext({ placement: "decision", navbar: false });
9
8
  /** Grammar roots select their own declared DNA mapping; nested roots start a fresh decision scope. */
10
- export const ButtonIntentFamilyProvider = ({ family, children }) => (_jsx(FamilyContext.Provider, { value: family === "heritage" ? HERITAGE_DNA.intent : family === "offset-pop" ? OFFSET_POP_DNA.intent : STARCI_CORE_DNA.intent, children: _jsx(ButtonPlacementProvider, { placement: "decision", children: children }) }));
9
+ export const ButtonIntentFamilyProvider = ({ family, children }) => (_jsx(FamilyContext.Provider, { value: family === "offset-pop" ? OFFSET_POP_DNA.intent : STARCI_CORE_DNA.intent, children: _jsx(ButtonPlacementProvider, { placement: "decision", children: children }) }));
11
10
  /** Placement belongs to the Grammar composition, never to a Button's appearance props. */
12
11
  export const ButtonPlacementProvider = ({ placement, navbar = false, children }) => (_jsx(PlacementContext.Provider, { value: { placement, navbar }, children: children }));
13
12
  /** Resolve a command's facts through the active family's visual mapping. */
@@ -1 +1 @@
1
- {"version":3,"file":"buttonIntent.js","sourceRoot":"","sources":["../../src/core/buttonIntent.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAuBjD,MAAM,aAAa,GAAG,aAAa,CAAgB,eAAe,CAAC,MAAM,CAAC,CAAA;AAC1E,MAAM,gBAAgB,GAAG,aAAa,CAAoE,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAA;AAEnJ,sGAAsG;AACtG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,EAA0E,EAAE,EAAE,CAAC,CACxI,KAAC,aAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,KAAK,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe,CAAC,MAAM,YACjJ,KAAC,uBAAuB,IAAC,SAAS,EAAC,UAAU,YAAE,QAAQ,GAA2B,GAC7D,CAC5B,CAAA;AAED,0FAA0F;AAC1F,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EAAE,SAAS,EAAE,MAAM,GAAG,KAAK,EAAE,QAAQ,EAAoG,EAAE,EAAE,CAAC,CAClL,KA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,SAAS,CAAC;YAC3D,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;IACvC,IAAI,MAAM,KAAK,aAAa;QAAE,OAAO,OAAO,CAAC,WAAW,CAAC,IAAI,IAAI,OAAO,CAAC,CAAA;IACzE,OAAO,OAAO,CAAC,MAAM,CAAC,CAAA;AAC1B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"collectionItem.d.ts","sourceRoot":"","sources":["../../src/core/collectionItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjE,iGAAiG;AACjG,MAAM,MAAM,oBAAoB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAE5C,KAAK,0BAA0B,GAAG;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAA;IAC/C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAChC,CAAA;AAID,qGAAqG;AACrG,eAAO,MAAM,4BAA4B,GAAI,sBAAsB;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAIxI,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,6BAA6B,QAAO,0BAA+D,CAAA"}
1
+ {"version":3,"file":"collectionItem.d.ts","sourceRoot":"","sources":["../../src/core/collectionItem.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjE,iGAAiG;AACjG,MAAM,MAAM,oBAAoB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAE5C,KAAK,0BAA0B,GAAG;IAC9B,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAA;IAC/C,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAChC,CAAA;AAID,qGAAqG;AACrG,eAAO,MAAM,4BAA4B,GAAI,sBAAsB;IAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAIxI,CAAA;AAED,mGAAmG;AACnG,eAAO,MAAM,6BAA6B,QAAO,0BAA+D,CAAA"}
@@ -2,11 +2,10 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { createContext, useContext } from "react";
4
4
  import { STARCI_CORE_DNA } from "./dna.js";
5
- import { HERITAGE_DNA } from "../heritage/dna.js";
6
5
  import { OFFSET_POP_DNA } from "../offset-pop/dna.js";
7
6
  const CollectionItemContext = createContext(STARCI_CORE_DNA.collectionItem);
8
7
  /** Each Grammar root selects its family's item typography, including inside nested family scopes. */
9
- export const CollectionItemFamilyProvider = ({ family, children }) => (_jsx(CollectionItemContext.Provider, { value: family === "heritage" ? HERITAGE_DNA.collectionItem : family === "offset-pop" ? OFFSET_POP_DNA.collectionItem : STARCI_CORE_DNA.collectionItem, children: children }));
8
+ export const CollectionItemFamilyProvider = ({ family, children }) => (_jsx(CollectionItemContext.Provider, { value: family === "offset-pop" ? OFFSET_POP_DNA.collectionItem : STARCI_CORE_DNA.collectionItem, children: children }));
10
9
  /** Shared collection renderers read their preview limits and unread weight from the active DNA. */
11
10
  export const useCollectionItemPresentation = () => useContext(CollectionItemContext);
12
11
  //# sourceMappingURL=collectionItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collectionItem.js","sourceRoot":"","sources":["../../src/core/collectionItem.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,aAAa,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAUrD,MAAM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C,CAAA"}
@@ -14,7 +14,7 @@
14
14
  * selected/soft tint that `accentText` and `muted` both stay AA on.
15
15
  */
16
16
  export declare const STARCI_CORE_DNA: Readonly<{
17
- readonly id: "starci-core";
17
+ readonly id: "core";
18
18
  readonly version: 1;
19
19
  readonly paths: readonly string[];
20
20
  readonly vendor: Readonly<{
package/dist/core/dna.js CHANGED
@@ -14,7 +14,7 @@
14
14
  * selected/soft tint that `accentText` and `muted` both stay AA on.
15
15
  */
16
16
  export const STARCI_CORE_DNA = Object.freeze({
17
- id: "starci-core",
17
+ id: "core",
18
18
  version: 1,
19
19
  paths: Object.freeze(["common/", "core/"]),
20
20
  vendor: Object.freeze({ name: "heroui", parity: "strict" }),
@@ -1 +1 @@
1
- {"version":3,"file":"dna.js","sourceRoot":"","sources":["../../src/core/dna.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;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,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IAC3D,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC;QACvB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC;YACzB,OAAO,EAAE,QAAQ;YACjB,wBAAwB,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;YAC7E,uBAAuB,EAAE,KAAK;YAC9B,kBAAkB,EAAE,KAAK;SAC5B,CAAC;QACF,UAAU,EAAE,kBAAkB;QAC9B,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,OAAO,EAAE,QAAQ;YACjB,kCAAkC,E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,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;IAC1E,2BAA2B,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU;IAClE,2BAA2B,EAAE,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU;CACJ,CAAC,CAAA"}
@@ -136,7 +136,7 @@
136
136
  .grammar-common-root[data-grammar-family="core"]
137
137
  .starci-core-surface-card[data-grammar-surface-labelled="true"][data-grammar-frame="bounded"]
138
138
  > [data-grammar-surface-label] {
139
- padding: var(--starci-core-surface-inset, 1rem) var(--starci-core-surface-inset, 1rem) 0;
139
+ --starci-core-surface-label-padding: var(--starci-core-surface-inset, 1rem) var(--starci-core-surface-inset, 1rem) 0;
140
140
  }
141
141
 
142
142
  .grammar-common-root[data-grammar-family="core"]
package/package.json CHANGED
@@ -1,22 +1,24 @@
1
1
  {
2
2
  "name": "@starci/grammar",
3
- "version": "0.12.14",
3
+ "version": "0.13.0",
4
4
  "description": "Reusable StarCi React components, compositions, and packaged visual DNA.",
5
5
  "keywords": [
6
6
  "starci",
7
7
  "design-system",
8
8
  "grammar"
9
9
  ],
10
+ "type": "module",
11
+ "license": "MIT",
12
+ "author": "starci183",
13
+ "homepage": "https://github.com/starci183/starci-harness/tree/main/packages/grammar#readme",
10
14
  "repository": {
11
15
  "type": "git",
12
- "url": "git+https://github.com/starci183/starci-skills.git",
16
+ "url": "git+https://github.com/starci183/starci-harness.git",
13
17
  "directory": "packages/grammar"
14
18
  },
15
19
  "bugs": {
16
- "url": "https://github.com/starci183/starci-skills/issues"
20
+ "url": "https://github.com/starci183/starci-harness/issues"
17
21
  },
18
- "homepage": "https://github.com/starci183/starci-skills/tree/main/packages/grammar#readme",
19
- "type": "module",
20
22
  "sideEffects": [
21
23
  "./dist/**/*.css"
22
24
  ],
@@ -40,12 +42,6 @@
40
42
  },
41
43
  "./core.css": "./dist/core/styles.css",
42
44
  "./core/styles.css": "./dist/core/styles.css",
43
- "./heritage": {
44
- "types": "./dist/heritage/index.d.ts",
45
- "import": "./dist/heritage/index.js"
46
- },
47
- "./heritage.css": "./dist/heritage/styles.css",
48
- "./heritage/styles.css": "./dist/heritage/styles.css",
49
45
  "./offset-pop": {
50
46
  "types": "./dist/offset-pop/index.d.ts",
51
47
  "import": "./dist/offset-pop/index.js"
@@ -97,7 +93,6 @@
97
93
  "@starci/tsconfig": "2.0.7",
98
94
  "aria-query": "5.3.0"
99
95
  },
100
- "license": "MIT",
101
96
  "publishConfig": {
102
97
  "access": "public"
103
98
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"rule-catalog.generated.d.ts","sourceRoot":"","sources":["../../src/common/rule-catalog.generated.ts"],"names":[],"mappings":"AAQA,qFAAqF;AACrF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCpB,CAAA;AAEX,gFAAgF;AAChF,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAAC,MAAM,CAoNnD,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rule-catalog.generated.js","sourceRoot":"","sources":["../../src/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S;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;CACV,CAAC,CAAA"}
@@ -1,63 +0,0 @@
1
- /** HeroUI parity and the Common arrangement retained by the Heritage family skin. */
2
- export declare const HERITAGE_DNA: Readonly<{
3
- readonly id: "heritage";
4
- readonly version: 1;
5
- readonly paths: readonly string[];
6
- readonly vendor: Readonly<{
7
- name: "heroui";
8
- parity: "custom";
9
- }>;
10
- readonly arrangement: Readonly<{
11
- indicatorSide: Readonly<{
12
- default: "vendor";
13
- "Dropdown.ItemIndicator": Readonly<{
14
- default: "start";
15
- submenu: "end";
16
- }>;
17
- "ListBox.ItemIndicator": "end";
18
- "Select.Indicator": "end";
19
- }>;
20
- separators: "between-sections";
21
- iconSize: Readonly<{
22
- default: "vendor";
23
- "Dropdown.Item:leading-glyph-size": "20px";
24
- "Switch.Icon:glyph-size": Readonly<{
25
- md: "16px";
26
- lg: "20px";
27
- control: "20px";
28
- }>;
29
- }>;
30
- density: "vendor";
31
- }>;
32
- readonly collectionItem: Readonly<{
33
- descriptionLines: 1;
34
- unreadWeight: 600;
35
- }>;
36
- readonly intent: Readonly<{
37
- commit: Readonly<{
38
- decision: "primary";
39
- item: "secondary";
40
- chrome: "primary";
41
- }>;
42
- alternative: "secondary";
43
- dismiss: "tertiary";
44
- neutral: Readonly<{
45
- button: Readonly<{
46
- decision: "outline";
47
- item: "ghost";
48
- chrome: "ghost";
49
- }>;
50
- iconButton: Readonly<{
51
- decision: "outline";
52
- item: "ghost";
53
- chrome: "ghost";
54
- navbar: "tertiary";
55
- }>;
56
- }>;
57
- destructive: Readonly<{
58
- entry: "danger-soft";
59
- confirm: "danger";
60
- }>;
61
- }>;
62
- }>;
63
- //# sourceMappingURL=dna.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dna.d.ts","sourceRoot":"","sources":["../../src/heritage/dna.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCd,CAAA"}
@@ -1,37 +0,0 @@
1
- /** HeroUI parity and the Common arrangement retained by the Heritage family skin. */
2
- export const HERITAGE_DNA = Object.freeze({
3
- id: "heritage",
4
- version: 1,
5
- paths: Object.freeze(["heritage/"]),
6
- vendor: Object.freeze({ name: "heroui", parity: "custom" }),
7
- arrangement: Object.freeze({
8
- indicatorSide: Object.freeze({
9
- default: "vendor",
10
- "Dropdown.ItemIndicator": Object.freeze({ default: "start", submenu: "end" }),
11
- "ListBox.ItemIndicator": "end",
12
- "Select.Indicator": "end",
13
- }),
14
- separators: "between-sections",
15
- iconSize: Object.freeze({
16
- default: "vendor",
17
- "Dropdown.Item:leading-glyph-size": "20px",
18
- "Switch.Icon:glyph-size": Object.freeze({ md: "16px", lg: "20px", control: "20px" }),
19
- }),
20
- density: "vendor",
21
- }),
22
- collectionItem: Object.freeze({
23
- descriptionLines: 1,
24
- unreadWeight: 600,
25
- }),
26
- intent: Object.freeze({
27
- commit: Object.freeze({ decision: "primary", item: "secondary", chrome: "primary" }),
28
- alternative: "secondary",
29
- dismiss: "tertiary",
30
- neutral: Object.freeze({
31
- button: Object.freeze({ decision: "outline", item: "ghost", chrome: "ghost" }),
32
- iconButton: Object.freeze({ decision: "outline", item: "ghost", chrome: "ghost", navbar: "tertiary" }),
33
- }),
34
- destructive: Object.freeze({ entry: "danger-soft", confirm: "danger" }),
35
- }),
36
- });
37
- //# sourceMappingURL=dna.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dna.js","sourceRoot":"","sources":["../../src/heritage/dna.ts"],"names":[],"mappings":"AAAA,qFAAqF;AACrF,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CA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S,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;YAC9E,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC;SACzG,CAAC;QACF,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;KAC1E,CAAC;CACI,CAAC,CAAA"}
@@ -1,27 +0,0 @@
1
- import { type GrammarRootProps } from "../common/index.js";
2
- /** Resolved institutional identity; destination behavior remains with the consumer. */
3
- export type HeritageBrandProps = {
4
- readonly name: string;
5
- readonly descriptor: string;
6
- readonly logo: {
7
- readonly src: string;
8
- readonly width: number;
9
- readonly height: number;
10
- };
11
- };
12
- /** Official product-neutral Heritage family contract. */
13
- export declare const heritageGrammar: import("../common/registry.js").GrammarFamilyContract<"heritage", {
14
- readonly Brand: import("react").FunctionComponent<HeritageBrandProps>;
15
- }>;
16
- export declare const heritageRuleConformance: Readonly<{
17
- familyId: string;
18
- inheritedCommonRules: readonly string[];
19
- familyEvidence: Readonly<{
20
- [x: string]: readonly string[];
21
- }>;
22
- }>;
23
- export declare const HeritageGrammarRoot: ({ className, theme, ...props }: GrammarRootProps) => import("react").JSX.Element;
24
- export declare const HeritageButton: (props: import("../common/renderers.js").ButtonProps) => import("react").JSX.Element;
25
- export declare const HeritageHeading: ({ children, level, scale, isSkeleton, isVisuallyHidden, }: import("../common/renderers.js").HeadingProps) => import("react").JSX.Element;
26
- export declare const HeritageBrand: import("react").FunctionComponent<HeritageBrandProps>;
27
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/heritage/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAMH,KAAK,gBAAgB,EACxB,MAAM,oBAAoB,CAAA;AAG3B,uFAAuF;AACvF,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAA;IAC3B,QAAQ,CAAC,IAAI,EAAE;QACX,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;QACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;QACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;KAC1B,CAAA;CACJ,CAAA;AAuBD,yDAAyD;AACzD,eAAO,MAAM,eAAe;;EAc1B,CAAA;AAUF,eAAO,MAAM,uBAAuB;;;;;;EAIlC,CAAA;AAEF,eAAO,MAAM,mBAAmB,mFAAyC,CAAA;AACzE,eAAO,MAAM,cAAc,sFAAoC,CAAA;AAC/D,eAAO,MAAM,eAAe,2IAAqC,CAAA;AACjE,eAAO,MAAM,aAAa,uDAAmC,CAAA"}
@@ -1,46 +0,0 @@
1
- "use client";
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { COMMON_GRAMMAR_COMPONENTS, COMMON_UI_RULE_IDS, defineGrammarFamily, defineGrammarRuleConformance, } from "../common/index.js";
4
- import { createElement } from "react";
5
- const HeritageGrammarRootRenderer = (props) => {
6
- const CommonGrammarRoot = COMMON_GRAMMAR_COMPONENTS.GrammarRoot;
7
- return createElement(CommonGrammarRoot, { ...props, "data-grammar-family": "heritage" });
8
- };
9
- /**
10
- * Family extension for non-interactive brand content inside a consumer-owned destination.
11
- * Brand receives approved logo identity; asset generation remains outside Grammar.
12
- */
13
- const HeritageBrandRenderer = ({ name, descriptor, logo }) => (_jsxs("span", { "data-family-component": "Brand", children: [_jsx("span", { "data-family-part": "brand-mark", "aria-hidden": "true", children: _jsx("img", { src: logo.src, alt: "", width: logo.width, height: logo.height }) }), _jsxs("span", { "data-family-part": "brand-copy", children: [_jsx("strong", { children: name }), _jsx("span", { children: descriptor })] })] }));
14
- /** Official product-neutral Heritage family contract. */
15
- export const heritageGrammar = defineGrammarFamily({
16
- id: "heritage",
17
- styles: {
18
- entrypoint: "@starci/grammar/heritage/styles.css",
19
- scope: { attribute: "data-grammar-family", value: "heritage" },
20
- },
21
- components: {
22
- replacements: {
23
- GrammarRoot: HeritageGrammarRootRenderer,
24
- },
25
- extensions: {
26
- Brand: HeritageBrandRenderer,
27
- },
28
- },
29
- });
30
- const HERITAGE_FAMILY_EVIDENCE = {
31
- "A11Y-4": ["Brand is non-interactive and its supplied image is decorative."],
32
- "BOUNDARY-1": ["Heritage surfaces bind material only through emitted Common surface hooks."],
33
- "COLOR-5": ["Heritage owns scoped light, dark, system, and forced-color variables."],
34
- "FOCUS-1": ["Heritage binds the shared visible focus variable without replacing focus ownership."],
35
- "GAP-2": ["Brand anatomy uses the invariant Common spacing tokens."],
36
- };
37
- export const heritageRuleConformance = defineGrammarRuleConformance({
38
- familyId: "heritage",
39
- inheritedCommonRules: COMMON_UI_RULE_IDS.filter((rule) => !(rule in HERITAGE_FAMILY_EVIDENCE)),
40
- familyEvidence: HERITAGE_FAMILY_EVIDENCE,
41
- });
42
- export const HeritageGrammarRoot = heritageGrammar.components.GrammarRoot;
43
- export const HeritageButton = heritageGrammar.components.Button;
44
- export const HeritageHeading = heritageGrammar.components.Heading;
45
- export const HeritageBrand = heritageGrammar.components.Brand;
46
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/heritage/index.tsx"],"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;AAarC,MAAM,2BAA2B,GAA+C,CAAC,KAAK,EAAE,EAAE;IACtF,MAAM,iBAAiB,GAAG,yBAAyB,CAAC,WAAW,CAAA;IAC/D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AAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,wBAAwB,CAAC,CAAC;IAC9F,cAAc,EAAE,wBAAwB;CAC3C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC,UAAU,CAAC,WAAW,CAAA;AACzE,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC,UAAU,CAAC,MAAM,CAAA;AAC/D,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC,UAAU,CAAC,OAAO,CAAA;AACjE,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC,UAAU,CAAC,KAAK,CAAA"}
@@ -1,187 +0,0 @@
1
- @import "../common/styles.css";
2
-
3
- @layer starci-grammar-heritage {
4
- .grammar-common-root[data-grammar-family="heritage"] {
5
- color-scheme: light;
6
-
7
- --heritage-green-900: oklch(29% 0.085 147);
8
- --heritage-green-700: oklch(42% 0.12 147);
9
- --heritage-ink: oklch(18% 0.018 145);
10
- --heritage-muted: oklch(49% 0.018 145);
11
- --heritage-ivory: oklch(97.5% 0.014 96);
12
- --heritage-paper: oklch(99.3% 0.005 96);
13
- --heritage-line: oklch(88% 0.012 110);
14
- --heritage-danger: oklch(53% 0.18 28);
15
- /* Text on a fill: white on the deep light-theme fills, the night ink on the pale dark-theme ones. */
16
- --heritage-on-accent: white;
17
- --heritage-on-danger: white;
18
- --heritage-on-pale: oklch(18% 0.018 145);
19
- --heritage-display: Georgia, "Times New Roman", serif;
20
- --heritage-sans: "Segoe UI", Arial, ui-sans-serif, system-ui, sans-serif;
21
-
22
- --accent: var(--heritage-green-700);
23
- --accent-foreground: var(--heritage-on-accent);
24
- --focus: var(--heritage-green-700);
25
- --background: var(--heritage-ivory);
26
- --foreground: var(--heritage-ink);
27
- --surface: var(--heritage-paper);
28
- --surface-foreground: var(--heritage-ink);
29
- --surface-secondary: var(--heritage-ivory);
30
- --surface-secondary-foreground: var(--heritage-ink);
31
- --muted: var(--heritage-muted);
32
- --border: var(--heritage-line);
33
- --separator: var(--heritage-line);
34
- --success: var(--heritage-green-700);
35
- --success-foreground: var(--heritage-on-accent);
36
- --warning: oklch(76% 0.13 82);
37
- --warning-foreground: var(--heritage-on-pale);
38
- --danger: var(--heritage-danger);
39
- --danger-foreground: var(--heritage-on-danger);
40
- --info: oklch(70% 0.09 235);
41
- --info-foreground: var(--heritage-on-pale);
42
- --field-background: var(--heritage-paper);
43
- --field-border: var(--heritage-line);
44
- --field-foreground: var(--heritage-ink);
45
- --field-placeholder: var(--heritage-muted);
46
- --radius: 0;
47
- --field-radius: 0;
48
- --shadow-surface: 0 1.5rem 4rem rgb(16 68 37 / 12%);
49
-
50
- color: var(--foreground);
51
- background: var(--background);
52
- font-family: var(--heritage-sans);
53
- }
54
-
55
- .grammar-common-root[data-grammar-family="heritage"][data-grammar-theme="dark"] {
56
- color-scheme: dark;
57
-
58
- --heritage-green-900: oklch(88% 0.08 147);
59
- --heritage-green-700: oklch(74% 0.12 147);
60
- --heritage-ink: oklch(96% 0.01 96);
61
- --heritage-muted: oklch(75% 0.018 110);
62
- --heritage-ivory: oklch(16% 0.018 145);
63
- --heritage-paper: oklch(21% 0.018 145);
64
- --heritage-line: oklch(38% 0.025 145);
65
- --heritage-danger: oklch(72% 0.15 28);
66
- --heritage-on-accent: oklch(16% 0.018 145);
67
- --heritage-on-danger: oklch(16% 0.018 145);
68
- }
69
-
70
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface-card][data-slot="card"] {
71
- border: 0;
72
- background: transparent;
73
- box-shadow: none;
74
- }
75
-
76
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface-card][data-slot="card"] [data-grammar-frame="bounded"][data-slot="card-content"],
77
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface] {
78
- border: 1px solid var(--border);
79
- border-radius: var(--radius);
80
- background: var(--surface);
81
- box-shadow: var(--shadow-surface);
82
- color: var(--surface-foreground);
83
- }
84
-
85
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface-card][data-slot="card"] [data-grammar-frame="bounded"][data-slot="card-content"][data-grammar-surface-depth="nested"],
86
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface][data-grammar-surface-depth="nested"] {
87
- background: var(--surface-secondary);
88
- box-shadow: none;
89
- }
90
-
91
- /* The ink band (SurfaceCard treatment="ink", 0.6.0) keeps its ink ground over the family's paper surface. */
92
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface-card][data-slot="card"] [data-grammar-frame="bounded"][data-slot="card-content"][data-grammar-surface-treatment="ink"] {
93
- border-color: var(--grammar-ink-band);
94
- background: var(--grammar-ink-band);
95
- color: var(--grammar-ink-band-foreground);
96
- }
97
-
98
- .grammar-common-root[data-grammar-family="heritage"] [data-grammar-surface-label] {
99
- color: var(--heritage-green-900);
100
- font-family: var(--heritage-display);
101
- }
102
-
103
- .grammar-common-root[data-grammar-family="heritage"] [data-family-component="Brand"] {
104
- display: inline-flex;
105
- min-height: 3.5rem;
106
- align-items: center;
107
- gap: var(--grammar-row-gap);
108
- text-align: start;
109
- }
110
-
111
- .grammar-common-root[data-grammar-family="heritage"] [data-family-part="brand-mark"] {
112
- display: grid;
113
- inline-size: 3.5rem;
114
- block-size: 3.5rem;
115
- overflow: hidden;
116
- flex: 0 0 auto;
117
- place-items: center;
118
- border-radius: 50%;
119
- background: white;
120
- }
121
-
122
- .grammar-common-root[data-grammar-family="heritage"] [data-family-part="brand-mark"] img {
123
- inline-size: 100%;
124
- block-size: 100%;
125
- object-fit: cover;
126
- }
127
-
128
- .grammar-common-root[data-grammar-family="heritage"] [data-family-part="brand-copy"] {
129
- display: grid;
130
- gap: 0.125rem;
131
- }
132
-
133
- .grammar-common-root[data-grammar-family="heritage"] [data-family-part="brand-copy"] strong {
134
- color: var(--heritage-green-900);
135
- font-family: var(--heritage-display);
136
- font-size: 1rem;
137
- font-weight: 800;
138
- letter-spacing: .125em;
139
- }
140
-
141
- .grammar-common-root[data-grammar-family="heritage"] [data-family-part="brand-copy"] span {
142
- color: var(--heritage-muted);
143
- font-size: .75rem;
144
- font-weight: 650;
145
- letter-spacing: .0625em;
146
- text-transform: uppercase;
147
- }
148
-
149
- @media (prefers-color-scheme: dark) {
150
- .grammar-common-root[data-grammar-family="heritage"][data-grammar-theme="system"] {
151
- color-scheme: dark;
152
-
153
- --heritage-green-900: oklch(88% 0.08 147);
154
- --heritage-green-700: oklch(74% 0.12 147);
155
- --heritage-ink: oklch(96% 0.01 96);
156
- --heritage-muted: oklch(75% 0.018 110);
157
- --heritage-ivory: oklch(16% 0.018 145);
158
- --heritage-paper: oklch(21% 0.018 145);
159
- --heritage-line: oklch(38% 0.025 145);
160
- --heritage-danger: oklch(72% 0.15 28);
161
- --heritage-on-accent: oklch(16% 0.018 145);
162
- --heritage-on-danger: oklch(16% 0.018 145);
163
- }
164
- }
165
-
166
- @media (forced-colors: active) {
167
- .grammar-common-root[data-grammar-family="heritage"] {
168
- --heritage-green-900: CanvasText;
169
- --heritage-green-700: Highlight;
170
- --heritage-ink: CanvasText;
171
- --heritage-muted: GrayText;
172
- --heritage-ivory: Canvas;
173
- --heritage-paper: Canvas;
174
- --heritage-line: CanvasText;
175
- --heritage-danger: CanvasText;
176
- --heritage-on-accent: HighlightText;
177
- --heritage-on-danger: Canvas;
178
- --heritage-on-pale: Canvas;
179
- --shadow-surface: none;
180
- }
181
-
182
- .grammar-common-root[data-grammar-family="heritage"] [data-family-part="brand-mark"] {
183
- border: 1px solid CanvasText;
184
- background: Canvas;
185
- }
186
- }
187
- }