@vertekum/schema-atlassian 0.1.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/LICENSE +21 -0
- package/README.md +91 -0
- package/atlassian.json +5534 -0
- package/border.json +46 -0
- package/color.json +3929 -0
- package/elevation.json +179 -0
- package/font.json +251 -0
- package/motion.json +841 -0
- package/opacity.json +37 -0
- package/package.json +44 -0
- package/radius.json +85 -0
- package/space.json +214 -0
- package/src/vocabulary.json +581 -0
- package/utility.json +47 -0
package/opacity.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "vertekum://schema-atlassian/opacity.json",
|
|
4
|
+
"title": "Atlassian Design System — opacity",
|
|
5
|
+
"description": "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"opacity": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"disabled": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {},
|
|
14
|
+
"patternProperties": {
|
|
15
|
+
"^\\$": true
|
|
16
|
+
},
|
|
17
|
+
"unevaluatedProperties": false
|
|
18
|
+
},
|
|
19
|
+
"loading": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {},
|
|
22
|
+
"patternProperties": {
|
|
23
|
+
"^\\$": true
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"patternProperties": {
|
|
29
|
+
"^\\$": true
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"patternProperties": {
|
|
35
|
+
"^\\$": true
|
|
36
|
+
}
|
|
37
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vertekum/schema-atlassian",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The Atlassian Design System token vocabulary as JSON Schema files",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"design-tokens",
|
|
8
|
+
"dtcg",
|
|
9
|
+
"schema",
|
|
10
|
+
"atlassian"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/moros-oxus/vertekum.git",
|
|
15
|
+
"directory": "packages/schemas/atlassian"
|
|
16
|
+
},
|
|
17
|
+
"homepage": "https://github.com/moros-oxus/vertekum",
|
|
18
|
+
"bugs": "https://github.com/moros-oxus/vertekum/issues",
|
|
19
|
+
"files": [
|
|
20
|
+
"CHANGELOG.md",
|
|
21
|
+
"*.json",
|
|
22
|
+
"!package.json",
|
|
23
|
+
"!tsconfig.json",
|
|
24
|
+
"src/vocabulary.json"
|
|
25
|
+
],
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"type": "module",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": "./atlassian.json",
|
|
32
|
+
"./*": "./*"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@atlaskit/tokens": "^16.5.0",
|
|
36
|
+
"ajv": "^8.20.0",
|
|
37
|
+
"tsx": "^4.22.5",
|
|
38
|
+
"vitest": "^3.0.5"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"derive": "tsx scripts/derive.ts",
|
|
42
|
+
"test": "vitest run"
|
|
43
|
+
}
|
|
44
|
+
}
|
package/radius.json
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "vertekum://schema-atlassian/radius.json",
|
|
4
|
+
"title": "Atlassian Design System — radius",
|
|
5
|
+
"description": "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"radius": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"full": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {},
|
|
14
|
+
"patternProperties": {
|
|
15
|
+
"^\\$": true
|
|
16
|
+
},
|
|
17
|
+
"unevaluatedProperties": false
|
|
18
|
+
},
|
|
19
|
+
"large": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {},
|
|
22
|
+
"patternProperties": {
|
|
23
|
+
"^\\$": true
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false
|
|
26
|
+
},
|
|
27
|
+
"medium": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {},
|
|
30
|
+
"patternProperties": {
|
|
31
|
+
"^\\$": true
|
|
32
|
+
},
|
|
33
|
+
"unevaluatedProperties": false
|
|
34
|
+
},
|
|
35
|
+
"small": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {},
|
|
38
|
+
"patternProperties": {
|
|
39
|
+
"^\\$": true
|
|
40
|
+
},
|
|
41
|
+
"unevaluatedProperties": false
|
|
42
|
+
},
|
|
43
|
+
"tile": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {},
|
|
46
|
+
"patternProperties": {
|
|
47
|
+
"^\\$": true
|
|
48
|
+
},
|
|
49
|
+
"unevaluatedProperties": false
|
|
50
|
+
},
|
|
51
|
+
"xlarge": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {},
|
|
54
|
+
"patternProperties": {
|
|
55
|
+
"^\\$": true
|
|
56
|
+
},
|
|
57
|
+
"unevaluatedProperties": false
|
|
58
|
+
},
|
|
59
|
+
"xsmall": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {},
|
|
62
|
+
"patternProperties": {
|
|
63
|
+
"^\\$": true
|
|
64
|
+
},
|
|
65
|
+
"unevaluatedProperties": false
|
|
66
|
+
},
|
|
67
|
+
"xxlarge": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {},
|
|
70
|
+
"patternProperties": {
|
|
71
|
+
"^\\$": true
|
|
72
|
+
},
|
|
73
|
+
"unevaluatedProperties": false
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"patternProperties": {
|
|
77
|
+
"^\\$": true
|
|
78
|
+
},
|
|
79
|
+
"unevaluatedProperties": false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"patternProperties": {
|
|
83
|
+
"^\\$": true
|
|
84
|
+
}
|
|
85
|
+
}
|
package/space.json
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "vertekum://schema-atlassian/space.json",
|
|
4
|
+
"title": "Atlassian Design System — space",
|
|
5
|
+
"description": "Token path vocabulary: which names may appear, in what order, and where the order ends. What a granted name IS — group, token, base value — belongs to the token author and the DTCG format schema.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"space": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"0": {
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {},
|
|
14
|
+
"patternProperties": {
|
|
15
|
+
"^\\$": true
|
|
16
|
+
},
|
|
17
|
+
"unevaluatedProperties": false
|
|
18
|
+
},
|
|
19
|
+
"100": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {},
|
|
22
|
+
"patternProperties": {
|
|
23
|
+
"^\\$": true
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false
|
|
26
|
+
},
|
|
27
|
+
"150": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {},
|
|
30
|
+
"patternProperties": {
|
|
31
|
+
"^\\$": true
|
|
32
|
+
},
|
|
33
|
+
"unevaluatedProperties": false
|
|
34
|
+
},
|
|
35
|
+
"200": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {},
|
|
38
|
+
"patternProperties": {
|
|
39
|
+
"^\\$": true
|
|
40
|
+
},
|
|
41
|
+
"unevaluatedProperties": false
|
|
42
|
+
},
|
|
43
|
+
"250": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {},
|
|
46
|
+
"patternProperties": {
|
|
47
|
+
"^\\$": true
|
|
48
|
+
},
|
|
49
|
+
"unevaluatedProperties": false
|
|
50
|
+
},
|
|
51
|
+
"300": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {},
|
|
54
|
+
"patternProperties": {
|
|
55
|
+
"^\\$": true
|
|
56
|
+
},
|
|
57
|
+
"unevaluatedProperties": false
|
|
58
|
+
},
|
|
59
|
+
"400": {
|
|
60
|
+
"type": "object",
|
|
61
|
+
"properties": {},
|
|
62
|
+
"patternProperties": {
|
|
63
|
+
"^\\$": true
|
|
64
|
+
},
|
|
65
|
+
"unevaluatedProperties": false
|
|
66
|
+
},
|
|
67
|
+
"500": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {},
|
|
70
|
+
"patternProperties": {
|
|
71
|
+
"^\\$": true
|
|
72
|
+
},
|
|
73
|
+
"unevaluatedProperties": false
|
|
74
|
+
},
|
|
75
|
+
"600": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"properties": {},
|
|
78
|
+
"patternProperties": {
|
|
79
|
+
"^\\$": true
|
|
80
|
+
},
|
|
81
|
+
"unevaluatedProperties": false
|
|
82
|
+
},
|
|
83
|
+
"800": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {},
|
|
86
|
+
"patternProperties": {
|
|
87
|
+
"^\\$": true
|
|
88
|
+
},
|
|
89
|
+
"unevaluatedProperties": false
|
|
90
|
+
},
|
|
91
|
+
"1000": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {},
|
|
94
|
+
"patternProperties": {
|
|
95
|
+
"^\\$": true
|
|
96
|
+
},
|
|
97
|
+
"unevaluatedProperties": false
|
|
98
|
+
},
|
|
99
|
+
"025": {
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {},
|
|
102
|
+
"patternProperties": {
|
|
103
|
+
"^\\$": true
|
|
104
|
+
},
|
|
105
|
+
"unevaluatedProperties": false
|
|
106
|
+
},
|
|
107
|
+
"050": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {},
|
|
110
|
+
"patternProperties": {
|
|
111
|
+
"^\\$": true
|
|
112
|
+
},
|
|
113
|
+
"unevaluatedProperties": false
|
|
114
|
+
},
|
|
115
|
+
"075": {
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {},
|
|
118
|
+
"patternProperties": {
|
|
119
|
+
"^\\$": true
|
|
120
|
+
},
|
|
121
|
+
"unevaluatedProperties": false
|
|
122
|
+
},
|
|
123
|
+
"negative": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"properties": {
|
|
126
|
+
"100": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"properties": {},
|
|
129
|
+
"patternProperties": {
|
|
130
|
+
"^\\$": true
|
|
131
|
+
},
|
|
132
|
+
"unevaluatedProperties": false
|
|
133
|
+
},
|
|
134
|
+
"150": {
|
|
135
|
+
"type": "object",
|
|
136
|
+
"properties": {},
|
|
137
|
+
"patternProperties": {
|
|
138
|
+
"^\\$": true
|
|
139
|
+
},
|
|
140
|
+
"unevaluatedProperties": false
|
|
141
|
+
},
|
|
142
|
+
"200": {
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {},
|
|
145
|
+
"patternProperties": {
|
|
146
|
+
"^\\$": true
|
|
147
|
+
},
|
|
148
|
+
"unevaluatedProperties": false
|
|
149
|
+
},
|
|
150
|
+
"250": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"properties": {},
|
|
153
|
+
"patternProperties": {
|
|
154
|
+
"^\\$": true
|
|
155
|
+
},
|
|
156
|
+
"unevaluatedProperties": false
|
|
157
|
+
},
|
|
158
|
+
"300": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {},
|
|
161
|
+
"patternProperties": {
|
|
162
|
+
"^\\$": true
|
|
163
|
+
},
|
|
164
|
+
"unevaluatedProperties": false
|
|
165
|
+
},
|
|
166
|
+
"400": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"properties": {},
|
|
169
|
+
"patternProperties": {
|
|
170
|
+
"^\\$": true
|
|
171
|
+
},
|
|
172
|
+
"unevaluatedProperties": false
|
|
173
|
+
},
|
|
174
|
+
"025": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {},
|
|
177
|
+
"patternProperties": {
|
|
178
|
+
"^\\$": true
|
|
179
|
+
},
|
|
180
|
+
"unevaluatedProperties": false
|
|
181
|
+
},
|
|
182
|
+
"050": {
|
|
183
|
+
"type": "object",
|
|
184
|
+
"properties": {},
|
|
185
|
+
"patternProperties": {
|
|
186
|
+
"^\\$": true
|
|
187
|
+
},
|
|
188
|
+
"unevaluatedProperties": false
|
|
189
|
+
},
|
|
190
|
+
"075": {
|
|
191
|
+
"type": "object",
|
|
192
|
+
"properties": {},
|
|
193
|
+
"patternProperties": {
|
|
194
|
+
"^\\$": true
|
|
195
|
+
},
|
|
196
|
+
"unevaluatedProperties": false
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"patternProperties": {
|
|
200
|
+
"^\\$": true
|
|
201
|
+
},
|
|
202
|
+
"unevaluatedProperties": false
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"patternProperties": {
|
|
206
|
+
"^\\$": true
|
|
207
|
+
},
|
|
208
|
+
"unevaluatedProperties": false
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"patternProperties": {
|
|
212
|
+
"^\\$": true
|
|
213
|
+
}
|
|
214
|
+
}
|