@starci/grammar 0.7.2 → 0.8.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/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
@@ -235,9 +235,8 @@ time. The stamp ships in the tarball.
235
235
  **Freshness check.** The root `npm run check` runs `scripts/checks/grammar-dist.mjs`. It fails when
236
236
  `dist/` is missing, has no stamp, was built from other source or another version, or was edited
237
237
  after the build. It also compares every `--*` custom property in each family's dist CSS with the
238
- source CSS, so a hand-edited token fails too. The brand check (`scripts/checks/brand.mjs`) and the
239
- grammar guard probe (`scripts/checks/code-patterns/grammar-guards.mjs`) run the same test before
240
- they read a grammar dist, and refuse a dist that fails it. Every refusal ends with the same fix:
238
+ source CSS, so a hand-edited token fails too. The brand check (`scripts/checks/brand.mjs`) runs the same test before
239
+ it reads a grammar dist, and refuses a dist that fails it. Every refusal ends with the same fix:
241
240
  `run npm run build in packages/grammar`. A registry install carries no `src/`, so it cannot be
242
241
  compared. It is reported as `unverifiable` and allowed, but if it carries a stamp, the version and
243
242
  built-file digest must still match.
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schema": "starci/grammar-build-stamp@1",
3
3
  "package": "@starci/grammar",
4
- "version": "0.7.2",
4
+ "version": "0.8.1",
5
5
  "algorithm": "starci/grammar-source-digest@1",
6
- "sourceDigest": "sha256:c477d5b99b82bcb818ca5b41987f2d01f020a6dc200daa0a550176856aa4fd94",
7
- "distDigest": "sha256:dea96c8a5f101cc7fb6187d231ec1d17916111601cedafd7511b515312bbb296",
8
- "builtAt": "2026-09-30T11:50:44.025Z"
6
+ "sourceDigest": "sha256:652c881137016e0e2c99d7b04e5248350c0a7dd566b87fb1a6b91562e287f935",
7
+ "distDigest": "sha256:0d627f029b8b4b2e15f0971a47513941c58b1de93dcba6f02d25b135ea219235",
8
+ "builtAt": "2026-10-01T11:31:20.667Z"
9
9
  }
@@ -682,7 +682,7 @@
682
682
  border-radius: 0.375rem;
683
683
  background: var(--surface-secondary, Canvas);
684
684
  color: var(--surface-foreground, CanvasText);
685
- font-family: var(--starci-font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
685
+ font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
686
686
  font-size: 0.75rem;
687
687
  font-weight: 500;
688
688
  line-height: 1;
@@ -85,7 +85,7 @@
85
85
  min-width: 0;
86
86
  background: var(--starci-core-canvas);
87
87
  color: var(--starci-core-foreground);
88
- font-family: var(--starci-font-sans, ui-sans-serif, system-ui, sans-serif);
88
+ font-family: var(--font-sans, ui-sans-serif, system-ui, sans-serif);
89
89
  }
90
90
 
91
91
  .grammar-common-root[data-grammar-family="core"][data-grammar-theme="dark"] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starci/grammar",
3
- "version": "0.7.2",
3
+ "version": "0.8.1",
4
4
  "description": "Reusable StarCi React components, compositions, and packaged visual DNA.",
5
5
  "keywords": [
6
6
  "starci",
@@ -93,7 +93,8 @@
93
93
  "playwright": "latest",
94
94
  "@testing-library/react": "^16",
95
95
  "react-dom": "^19.0.0",
96
- "@internationalized/date": "^3.12.4"
96
+ "@internationalized/date": "^3.12.4",
97
+ "vite": "^8.3.0"
97
98
  },
98
99
  "license": "MIT",
99
100
  "publishConfig": {