storybook-addon-sdc 0.1.8 → 0.1.10

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.
@@ -0,0 +1,85 @@
1
+ ui-patterns://attributes:
2
+ type: object
3
+ properties:
4
+ id:
5
+ type: string
6
+ class:
7
+ type: array
8
+ items:
9
+ type: string
10
+ additionalProperties: true
11
+
12
+ ui-patterns://boolean:
13
+ type: boolean
14
+
15
+ ui-patterns://enum_list:
16
+ type: array
17
+ items:
18
+ type:
19
+ - string
20
+ - number
21
+ - integer
22
+ enum: []
23
+
24
+ ui-patterns://enum:
25
+ type:
26
+ - string
27
+ - number
28
+ - integer
29
+ enum: []
30
+
31
+ ui-patterns://identifier:
32
+ type: string
33
+ pattern: '(?:--|-?[A-Za-z_\x{00A0}-\x{10FFFF}])[A-Za-z0-9-_\x{00A0}-\x{10FFFF}\.]*'
34
+
35
+ ui-patterns://links:
36
+ type: array
37
+ items:
38
+ type: object
39
+ properties:
40
+ title:
41
+ type: string
42
+ description: 'The title of the link.'
43
+ url:
44
+ $ref: 'ui-patterns://url'
45
+ attributes:
46
+ $ref: 'ui-patterns://attributes'
47
+ link_attributes:
48
+ $ref: 'ui-patterns://attributes'
49
+ below:
50
+ type: array
51
+ items:
52
+ type: object
53
+ required:
54
+ - url
55
+ - title
56
+
57
+ ui-patterns://list:
58
+ type: array
59
+ items:
60
+ type:
61
+ - string
62
+ - number
63
+ - integer
64
+
65
+ ui-patterns://number:
66
+ type:
67
+ - number
68
+ - integer
69
+
70
+ ui-patterns://url:
71
+ type: string
72
+ format: iri-reference
73
+
74
+ ui-patterns://slot:
75
+ title: Slot
76
+
77
+ ui-patterns://string:
78
+ type: string
79
+
80
+ ui-patterns://unknown:
81
+ title: Unknown
82
+
83
+ ui-patterns://variant:
84
+ type: string
85
+ enum: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-addon-sdc",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Drupal Single Directory Components as stories",
5
5
  "keywords": [
6
6
  "SDC",
@@ -25,7 +25,7 @@
25
25
  "*.d.ts"
26
26
  ],
27
27
  "scripts": {
28
- "build": "tsup",
28
+ "build": "tsup && zx scripts/copyFiles.js",
29
29
  "build:watch": "npm run build -- --watch",
30
30
  "test": "echo \"Error: no test specified\" && exit 1",
31
31
  "start": "run-p build:watch \"storybook --quiet\"",