@getvitops/generator 0.5.0 → 0.7.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.
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@getvitops/generator",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Generate design-system outputs (Bricks, standalone CSS, Tailwind v4) from a design-system.json.",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist",
8
8
  "assets",
9
9
  "schema.json",
10
- "site.schema.json"
10
+ "site.schema.json",
11
+ "CHANGELOG.md"
11
12
  ],
12
13
  "type": "module",
13
14
  "types": "./dist/index.d.mts",
@@ -26,10 +27,10 @@
26
27
  "dependencies": {
27
28
  "lightningcss": "^1.32.0",
28
29
  "zod": "^4.1.13",
29
- "@getvitops/utils": "0.5.0"
30
+ "@getvitops/utils": "0.7.0"
30
31
  },
31
32
  "devDependencies": {
32
33
  "vitest": "^4.1.9",
33
- "@getvitops/core": "0.5.0"
34
+ "@getvitops/core": "0.7.0"
34
35
  }
35
36
  }
package/schema.json CHANGED
@@ -331,9 +331,13 @@
331
331
  "type": "string"
332
332
  },
333
333
  "class": {
334
- "description": "Class name to emit (defaults to the pattern's key).",
334
+ "description": "Class name to emit (defaults to the pattern's key when no `element` is set). Combined with `element`, the pattern emits one zero-specificity `:where(<element>, .<class>)` rule so the class works on any tag and any explicit class overrides it.",
335
335
  "type": "string"
336
336
  },
337
+ "fill": {
338
+ "description": "Whether this pattern is colour-filled (states/roles drive `background-color` + `on-solid` text) or text-coloured (they drive `color`). Defaults to true when `base` declares a background.",
339
+ "type": "boolean"
340
+ },
337
341
  "default_role": {
338
342
  "description": "Semantic colour role applied to the bare/default variant.",
339
343
  "type": "string"
package/site.schema.json CHANGED
@@ -1122,9 +1122,13 @@
1122
1122
  "type": "string"
1123
1123
  },
1124
1124
  "class": {
1125
- "description": "Class name to emit (defaults to the pattern's key).",
1125
+ "description": "Class name to emit (defaults to the pattern's key when no `element` is set). Combined with `element`, the pattern emits one zero-specificity `:where(<element>, .<class>)` rule so the class works on any tag and any explicit class overrides it.",
1126
1126
  "type": "string"
1127
1127
  },
1128
+ "fill": {
1129
+ "description": "Whether this pattern is colour-filled (states/roles drive `background-color` + `on-solid` text) or text-coloured (they drive `color`). Defaults to true when `base` declares a background.",
1130
+ "type": "boolean"
1131
+ },
1128
1132
  "default_role": {
1129
1133
  "description": "Semantic colour role applied to the bare/default variant.",
1130
1134
  "type": "string"