@starci/grammar 0.8.2 → 0.8.3
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 +2 -2
- package/dist/.build-stamp.json +4 -4
- package/dist/common/conformance.d.ts +1 -1
- package/dist/common/conformance.js +1 -1
- package/dist/common/rule-catalog.generated.js +1 -1
- package/dist/common/styles.css +1 -1
- package/dist/core/composite/TagGroup/index.d.ts +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -248,8 +248,8 @@ package's `prepare` in place, but it does not install this package's devDependen
|
|
|
248
248
|
`packages/grammar/node_modules` is absent. Where it is present, the script would wipe and rebuild
|
|
249
249
|
the shared `dist/` on every consumer install. Git dependencies are not a way in either: npm parses
|
|
250
250
|
the `#…::path:packages/grammar` suffix, but pacote ignores it, so a git dependency cannot select
|
|
251
|
-
this subdirectory. A linking consumer builds on purpose,
|
|
252
|
-
|
|
251
|
+
this subdirectory. A linking consumer builds on purpose, e.g. through a `prepare` of its own that runs
|
|
252
|
+
`npm run grammar:build`. After pulling a grammar change, run `npm run build` here. Publishing is
|
|
253
253
|
unaffected: `prepack` runs `typecheck` and `test`, and `test` builds first, so a tarball always
|
|
254
254
|
carries a fresh stamp.
|
|
255
255
|
|
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.8.
|
|
4
|
+
"version": "0.8.3",
|
|
5
5
|
"algorithm": "starci/grammar-source-digest@1",
|
|
6
|
-
"sourceDigest": "sha256:
|
|
7
|
-
"distDigest": "sha256:
|
|
8
|
-
"builtAt": "2026-10-
|
|
6
|
+
"sourceDigest": "sha256:eb9440aae29fe0cb62b1631ad438db3324427c6262f18fc90371e9d0be566a9e",
|
|
7
|
+
"distDigest": "sha256:5e1906981e16690277f3f9775389c92f309118fb27a5ee1edbe9ff784c069dc2",
|
|
8
|
+
"builtAt": "2026-10-05T21:51:07.896Z"
|
|
9
9
|
}
|
|
@@ -10,7 +10,7 @@ import { RULE_FAMILY_COUNTS } from "./rule-catalog.generated.js";
|
|
|
10
10
|
* conformance check went on passing against the wrong catalog, which is the worst outcome a check
|
|
11
11
|
* can have.
|
|
12
12
|
*
|
|
13
|
-
* Regenerate with `node scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
|
|
13
|
+
* Regenerate with `node packages/grammar/scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
|
|
14
14
|
*/
|
|
15
15
|
export { RULE_FAMILY_COUNTS };
|
|
16
16
|
/** Every canonical Common UI rule id, exactly as the knowledge tree spells it. */
|
|
@@ -10,7 +10,7 @@ import { CANONICAL_RULE_IDS, RULE_FAMILY_COUNTS } from "./rule-catalog.generated
|
|
|
10
10
|
* conformance check went on passing against the wrong catalog, which is the worst outcome a check
|
|
11
11
|
* can have.
|
|
12
12
|
*
|
|
13
|
-
* Regenerate with `node scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
|
|
13
|
+
* Regenerate with `node packages/grammar/scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
|
|
14
14
|
*/
|
|
15
15
|
export { RULE_FAMILY_COUNTS };
|
|
16
16
|
/** Every canonical Common UI rule id, exactly as the knowledge tree spells it. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* GENERATED FILE - do not edit by hand.
|
|
3
3
|
*
|
|
4
|
-
* Regenerate with `node scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
|
|
4
|
+
* Regenerate with `node packages/grammar/scripts/generate-rule-catalog.mjs [knowledgeDir]` from the package root.
|
|
5
5
|
* The source of truth is the knowledge tree's `ui/composition`, `ui/presentation`, `ui/proof`
|
|
6
6
|
* and `grammars/starci` topic files; a family that publishes no `PREFIX-n` heading contributes
|
|
7
7
|
* no rules and therefore does not appear here.
|
package/dist/common/styles.css
CHANGED
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
* --- Ink band (0.6.0): `SurfaceCard treatment="ink"`, the page's one signature overview moment. ---
|
|
853
853
|
*
|
|
854
854
|
* The ground is the family's brand ink: `--accent` (Core; a product whose accent is its ink, e.g.
|
|
855
|
-
*
|
|
855
|
+
* a deep navy #040d1c, gets that exact ink). Offset Pop re-binds the ground and its inks to its own ink and
|
|
856
856
|
* canvas. Everything painted inside re-reads the band's own tokens, so grammar children (SectionHeader,
|
|
857
857
|
* Text, IconTile, Badge, DescriptionList, Divider) keep their anatomy and stay AA on any accent:
|
|
858
858
|
* - foreground: white on a dark ink (lightness below 0.62), black on a light one - read from the ink
|
|
@@ -11,7 +11,7 @@ export type TagGroupItem = {
|
|
|
11
11
|
*/
|
|
12
12
|
readonly isOff?: boolean;
|
|
13
13
|
/**
|
|
14
|
-
* Localized state word for an off chip ("off", "
|
|
14
|
+
* Localized state word for an off chip ("off", "paused"), appended to its accessible name as
|
|
15
15
|
* visually hidden text. Omit it only when the visible `label` already says the chip is off.
|
|
16
16
|
*/
|
|
17
17
|
readonly offLabel?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@starci/grammar",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "Reusable StarCi React components, compositions, and packaged visual DNA.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"starci",
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
"@testing-library/react": "^16",
|
|
94
94
|
"react-dom": "^19.0.0",
|
|
95
95
|
"@internationalized/date": "^3.12.4",
|
|
96
|
-
"vite": "^8.3.0"
|
|
96
|
+
"vite": "^8.3.0",
|
|
97
|
+
"@types/node": "^22.0.0"
|
|
97
98
|
},
|
|
98
99
|
"license": "MIT",
|
|
99
100
|
"publishConfig": {
|