@getvitops/generator 0.1.0 → 0.2.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/assets/css/patterns/carousel.css +3 -3
- package/assets/css/patterns/code.css +2 -2
- package/assets/css/patterns/combobox.css +3 -3
- package/assets/css/patterns/comment.css +1 -1
- package/assets/css/patterns/copy.css +3 -3
- package/assets/css/patterns/dialog.css +2 -2
- package/assets/css/patterns/drawer.css +2 -2
- package/assets/css/patterns/forms.css +10 -10
- package/assets/css/patterns/icon.css +2 -2
- package/assets/css/patterns/list.css +6 -6
- package/assets/css/patterns/media.css +1 -1
- package/assets/css/patterns/nav.css +5 -5
- package/assets/css/patterns/notification.css +3 -3
- package/assets/css/patterns/scroll-based.css +1 -1
- package/assets/css/patterns/scroll-target.css +3 -3
- package/assets/css/patterns/sitenav.css +14 -14
- package/assets/css/patterns/split-link.css +4 -4
- package/assets/css/patterns/tag.css +1 -1
- package/assets/css/patterns/text-effects.css +1 -1
- package/assets/css/patterns/tooltip.css +2 -2
- package/assets/css/patterns/tree.css +3 -3
- package/assets/js/elements.js +10 -10
- package/dist/index.d.mts +34 -88
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +446 -286
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -3
- package/schema.json +59 -93
- package/site.schema.json +2454 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getvitops/generator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.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": [
|
|
@@ -25,9 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"lightningcss": "^1.32.0",
|
|
28
|
-
"zod": "^4.1.13"
|
|
28
|
+
"zod": "^4.1.13",
|
|
29
|
+
"@getvitops/utils": "0.2.0"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
|
-
"
|
|
32
|
+
"vitest": "^4.1.9",
|
|
33
|
+
"@getvitops/core": "0.2.0"
|
|
32
34
|
}
|
|
33
35
|
}
|
package/schema.json
CHANGED
|
@@ -15,31 +15,66 @@
|
|
|
15
15
|
"type": "string"
|
|
16
16
|
},
|
|
17
17
|
"additionalProperties": {
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
18
|
+
"anyOf": [
|
|
19
|
+
{
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"seed": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"anchors": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"propertyNames": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"additionalProperties": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"seed"
|
|
37
|
+
],
|
|
38
|
+
"additionalProperties": false
|
|
37
39
|
},
|
|
38
|
-
|
|
39
|
-
"type": "
|
|
40
|
+
{
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"tones": {
|
|
44
|
+
"anyOf": [
|
|
45
|
+
{
|
|
46
|
+
"type": "array",
|
|
47
|
+
"items": {
|
|
48
|
+
"type": "string"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"propertyNames": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"additionalProperties": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"tones"
|
|
65
|
+
],
|
|
66
|
+
"additionalProperties": false
|
|
40
67
|
}
|
|
41
|
-
|
|
42
|
-
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"roles": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"propertyNames": {
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
"additionalProperties": {
|
|
77
|
+
"type": "string"
|
|
43
78
|
}
|
|
44
79
|
},
|
|
45
80
|
"utilities": {
|
|
@@ -55,80 +90,11 @@
|
|
|
55
90
|
"stroke"
|
|
56
91
|
]
|
|
57
92
|
}
|
|
58
|
-
},
|
|
59
|
-
"schemes": {
|
|
60
|
-
"type": "object",
|
|
61
|
-
"propertyNames": {
|
|
62
|
-
"type": "string"
|
|
63
|
-
},
|
|
64
|
-
"additionalProperties": {
|
|
65
|
-
"type": "object",
|
|
66
|
-
"properties": {
|
|
67
|
-
"appearance": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"enum": [
|
|
70
|
-
"light",
|
|
71
|
-
"dark"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"semantic": {
|
|
75
|
-
"type": "object",
|
|
76
|
-
"propertyNames": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
"additionalProperties": {
|
|
80
|
-
"anyOf": [
|
|
81
|
-
{
|
|
82
|
-
"type": "string"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"type": "object",
|
|
86
|
-
"properties": {
|
|
87
|
-
"ramp": {
|
|
88
|
-
"type": "string"
|
|
89
|
-
},
|
|
90
|
-
"invert": {
|
|
91
|
-
"type": "boolean"
|
|
92
|
-
},
|
|
93
|
-
"shift": {
|
|
94
|
-
"type": "number"
|
|
95
|
-
},
|
|
96
|
-
"steps": {
|
|
97
|
-
"type": "object",
|
|
98
|
-
"propertyNames": {
|
|
99
|
-
"type": "string"
|
|
100
|
-
},
|
|
101
|
-
"additionalProperties": {
|
|
102
|
-
"type": "string"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"value": {
|
|
106
|
-
"type": "object",
|
|
107
|
-
"propertyNames": {
|
|
108
|
-
"type": "string"
|
|
109
|
-
},
|
|
110
|
-
"additionalProperties": {
|
|
111
|
-
"type": "string"
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"additionalProperties": false
|
|
116
|
-
}
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"required": [
|
|
122
|
-
"appearance",
|
|
123
|
-
"semantic"
|
|
124
|
-
],
|
|
125
|
-
"additionalProperties": false
|
|
126
|
-
}
|
|
127
93
|
}
|
|
128
94
|
},
|
|
129
95
|
"required": [
|
|
130
96
|
"palette",
|
|
131
|
-
"
|
|
97
|
+
"roles"
|
|
132
98
|
],
|
|
133
99
|
"additionalProperties": false
|
|
134
100
|
},
|