storybook-addon-sdc 0.1.7 → 0.1.9
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/dist/uiPatternsSchema.yml +85 -0
- package/package.json +15 -15
|
@@ -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.
|
|
3
|
+
"version": "0.1.9",
|
|
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\"",
|
|
@@ -36,29 +36,28 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"json-schema-faker": "^0.5.6",
|
|
39
|
-
"lightningcss": "^1.27.0",
|
|
40
39
|
"vite-plugin-twig-drupal": "^1.4.2"
|
|
41
40
|
},
|
|
42
41
|
"devDependencies": {
|
|
43
|
-
"@storybook/addon-essentials": "^8.
|
|
44
|
-
"@storybook/addon-interactions": "^8.
|
|
45
|
-
"@storybook/addon-links": "^8.
|
|
46
|
-
"@storybook/html-vite": "^8.
|
|
47
|
-
"@storybook/test": "^8.
|
|
48
|
-
"@storybook/types": "^8.
|
|
49
|
-
"@types/node": "^
|
|
50
|
-
"auto": "^11.
|
|
51
|
-
"boxen": "^
|
|
42
|
+
"@storybook/addon-essentials": "^8.4.1",
|
|
43
|
+
"@storybook/addon-interactions": "^8.4.1",
|
|
44
|
+
"@storybook/addon-links": "^8.4.1",
|
|
45
|
+
"@storybook/html-vite": "^8.4.1",
|
|
46
|
+
"@storybook/test": "^8.4.1",
|
|
47
|
+
"@storybook/types": "^8.4.1",
|
|
48
|
+
"@types/node": "^22.8.7",
|
|
49
|
+
"auto": "^11.3.0",
|
|
50
|
+
"boxen": "^8.0.1",
|
|
52
51
|
"dedent": "^1.5.1",
|
|
53
52
|
"prettier": "^3.3.3",
|
|
54
53
|
"prompts": "^2.4.2",
|
|
55
54
|
"react": "^18.2.0",
|
|
56
55
|
"react-dom": "^18.2.0",
|
|
57
|
-
"storybook": "^8.
|
|
56
|
+
"storybook": "^8.4.1",
|
|
58
57
|
"tsup": "^8.2.4",
|
|
59
58
|
"typescript": "^5.5.4",
|
|
60
59
|
"vite": "^5.3.5",
|
|
61
|
-
"zx": "^
|
|
60
|
+
"zx": "^8.2.0"
|
|
62
61
|
},
|
|
63
62
|
"publishConfig": {
|
|
64
63
|
"access": "public"
|
|
@@ -74,5 +73,6 @@
|
|
|
74
73
|
"html"
|
|
75
74
|
],
|
|
76
75
|
"icon": "https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png"
|
|
77
|
-
}
|
|
76
|
+
},
|
|
77
|
+
"packageManager": "pnpm@9.12.3+sha512.cce0f9de9c5a7c95bef944169cc5dfe8741abfb145078c0d508b868056848a87c81e626246cb60967cbd7fd29a6c062ef73ff840d96b3c86c40ac92cf4a813ee"
|
|
78
78
|
}
|