create-kerf-component 5.0.0-beta.29 → 5.0.0-beta.31

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.
@@ -45,6 +45,14 @@
45
45
  "required": ["id", "accepts", "cardinality", "exclusiveWith"],
46
46
  "properties": {
47
47
  "id": { "type": "string", "minLength": 1 },
48
+ "jsx": {
49
+ "type": "object",
50
+ "required": ["prop"],
51
+ "properties": {
52
+ "prop": { "type": "string", "minLength": 1 }
53
+ },
54
+ "additionalProperties": false
55
+ },
48
56
  "accepts": { "$ref": "#/$defs/stringList" },
49
57
  "cardinality": { "$ref": "#/$defs/cardinality" },
50
58
  "exclusiveWith": { "$ref": "#/$defs/stringList" }
@@ -211,6 +219,10 @@
211
219
  "properties": { "obligations": { "$ref": "#/$defs/stringList" } },
212
220
  "additionalProperties": false
213
221
  },
222
+ "cssValueProps": {
223
+ "type": "array",
224
+ "items": { "$ref": "#/$defs/cssValueProp" }
225
+ },
214
226
  "boundaries": {
215
227
  "type": "object",
216
228
  "required": ["rootClass", "publicClasses", "publicTokens"],
@@ -242,6 +254,45 @@
242
254
  }
243
255
  },
244
256
  "additionalProperties": false
257
+ },
258
+ "cssValueProp": {
259
+ "type": "object",
260
+ "required": [
261
+ "path",
262
+ "grammar",
263
+ "helpers",
264
+ "shorthands",
265
+ "canonicalShorthands",
266
+ "exceptionalShorthands",
267
+ "rawPolicy",
268
+ "examples"
269
+ ],
270
+ "properties": {
271
+ "path": {
272
+ "type": "string",
273
+ "pattern": "^[A-Za-z][A-Za-z0-9]*(?:\\[\\]\\.[A-Za-z][A-Za-z0-9]*)?$"
274
+ },
275
+ "grammar": {
276
+ "enum": [
277
+ "length",
278
+ "size",
279
+ "flex",
280
+ "color",
281
+ "declarations",
282
+ "media-query",
283
+ "pixels"
284
+ ]
285
+ },
286
+ "helpers": { "$ref": "#/$defs/stringList" },
287
+ "nonStandaloneHelpers": { "$ref": "#/$defs/stringList" },
288
+ "shorthands": { "$ref": "#/$defs/stringList" },
289
+ "canonicalShorthands": { "$ref": "#/$defs/stringList" },
290
+ "exceptionalShorthands": { "$ref": "#/$defs/stringList" },
291
+ "rawPolicy": { "enum": ["forbid", "allow", "unsafe-only"] },
292
+ "unsafeHelper": { "type": "string", "minLength": 1 },
293
+ "examples": { "$ref": "#/$defs/stringList" }
294
+ },
295
+ "additionalProperties": false
245
296
  }
246
297
  }
247
298
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-kerf-component",
3
- "version": "5.0.0-beta.29",
3
+ "version": "5.0.0-beta.31",
4
4
  "description": "Scaffold a publishable kerf component package that already follows kerf's hard packaging rules.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -36,7 +36,7 @@
36
36
  "kerfjs": "^5.0.0-0"
37
37
  },
38
38
  "devDependencies": {
39
- "kerfjs": "^5.0.0-beta.29",
39
+ "kerfjs": "^5.0.0-beta.31",
40
40
  "tsup": "^8",
41
41
  "typescript": "^5 || ^6"
42
42
  }