Skip to content

Commit e512e02

Browse files
committed
Merge branch 'main' into feature/2268-combobox-directive
2 parents 00ea448 + 8ca3a20 commit e512e02

File tree

105 files changed

+173626
-166460
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+173626
-166460
lines changed

.changeset/tall-carrots-win.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
'@sl-design-system/bingel-dc': minor
3+
'@sl-design-system/bingel-int': minor
4+
'@sl-design-system/clickedu': minor
5+
'@sl-design-system/editorial-suite': minor
6+
'@sl-design-system/itslearning': minor
7+
'@sl-design-system/kampus': minor
8+
'@sl-design-system/magister': minor
9+
'@sl-design-system/max': minor
10+
'@sl-design-system/my-digital-book': minor
11+
'@sl-design-system/neon': minor
12+
'@sl-design-system/sanoma-learning': minor
13+
'@sl-design-system/teas': minor
14+
'@sl-design-system/tig': minor
15+
---
16+
17+
First release since move to Tokens Studio

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"extract-i18n": "lit-localize extract",
3232
"dist": "wireit",
3333
"import-icons": "wireit",
34+
"import-tokens": "yarn workspace @sl-design-system/scripts import-tokens",
3435
"lint": "wireit",
3536
"postinstall": "husky || true",
3637
"release": "wireit",
@@ -183,9 +184,6 @@
183184
"build:themes:styles": {
184185
"command": "node scripts/build-themes.js --studio",
185186
"clean": "if-file-deleted",
186-
"dependencies": [
187-
"./scripts:import-tokens"
188-
],
189187
"files": [
190188
"scripts/build-themes.js",
191189
"packages/tokens/src/**/*.json"
@@ -297,9 +295,6 @@
297295
"dist:themes": {
298296
"command": "node scripts/build-themes.js --studio --production",
299297
"clean": "if-file-deleted",
300-
"dependencies": [
301-
"./scripts:import-tokens"
302-
],
303298
"output": [
304299
"packages/themes/**/*.{css,scss}",
305300
"!packages/themes/*/fonts.css",

packages/tokens/src/$metadata.json

Lines changed: 0 additions & 69 deletions
This file was deleted.

packages/tokens/src/$themes.json

Lines changed: 0 additions & 18962 deletions
This file was deleted.
Lines changed: 236 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,236 @@
1+
{
2+
"I": {
3+
"icon": {
4+
"typeset": {
5+
"fontWeight": {
6+
"solid": {
7+
"$type": "fontWeights",
8+
"$value": "{icon.typeset.fontWeight.icon-solid}"
9+
},
10+
"regular": {
11+
"$type": "fontWeights",
12+
"$value": "{icon.typeset.fontWeight.icon-regular}"
13+
}
14+
}
15+
}
16+
},
17+
"size": {
18+
"icon": {
19+
"font": {
20+
"lg": {
21+
"$type": "fontSizes",
22+
"$value": "{I-A.size.icon.font.lg}"
23+
},
24+
"md": {
25+
"$type": "fontSizes",
26+
"$value": "{I-A.size.icon.font.md}"
27+
},
28+
"sm": {
29+
"$type": "fontSizes",
30+
"$value": "{I-A.size.icon.font.sm}"
31+
},
32+
"xl": {
33+
"$type": "fontSizes",
34+
"$value": "{I-A.size.icon.font.xl}"
35+
},
36+
"xs": {
37+
"$type": "fontSizes",
38+
"$value": "{I-A.size.icon.font.xs}"
39+
},
40+
"2xl": {
41+
"$type": "fontSizes",
42+
"$value": "{I-A.size.icon.font.2xl}"
43+
},
44+
"3xl": {
45+
"$type": "fontSizes",
46+
"$value": "{I-A.size.icon.font.3xl}"
47+
},
48+
"4xl": {
49+
"$type": "fontSizes",
50+
"$value": "{I-A.size.icon.font.4xl}"
51+
}
52+
}
53+
},
54+
"text-new": {
55+
"body": {
56+
"lg": {
57+
"$type": "fontSizes",
58+
"$value": "{I-A.size.text-new.body.lg}"
59+
},
60+
"md": {
61+
"$type": "fontSizes",
62+
"$value": "{I-A.size.text-new.body.md}",
63+
"$description": "default text size for body"
64+
},
65+
"sm": {
66+
"$type": "fontSizes",
67+
"$value": "{I-A.size.text-new.body.sm}"
68+
}
69+
},
70+
"heading": {
71+
"lg": {
72+
"$type": "fontSizes",
73+
"$value": "{I-A.size.text-new.heading.lg}"
74+
},
75+
"md": {
76+
"$type": "fontSizes",
77+
"$value": "{I-A.size.text-new.heading.md}"
78+
},
79+
"sm": {
80+
"$type": "fontSizes",
81+
"$value": "{I-A.size.text-new.heading.sm}"
82+
},
83+
"xl": {
84+
"$type": "fontSizes",
85+
"$value": "{I-A.size.text-new.heading.xl}"
86+
},
87+
"2xl": {
88+
"$type": "fontSizes",
89+
"$value": "{I-A.size.text-new.heading.2xl}"
90+
}
91+
}
92+
},
93+
"borderWidth": {
94+
"action": {
95+
"$type": "borderWidth",
96+
"$value": "{I-A.size.borderWidth.action}",
97+
"$description": "Sets the standard border width for action components."
98+
},
99+
"default": {
100+
"$type": "borderWidth",
101+
"$value": "{I-A.size.borderWidth.default}",
102+
"$description": "Sets the standard border width for UI elements."
103+
}
104+
},
105+
"borderRadius": {
106+
"full": {
107+
"$type": "borderRadius",
108+
"$value": "{I-A.size.borderRadius.full}",
109+
"$description": "Use for pill-shaped elements like badges, and circular rounding for components with equal width and height, such as icon buttons and avatars."
110+
},
111+
"child": {
112+
"$type": "borderRadius",
113+
"$value": "{I-A.size.borderRadius.child}",
114+
"$description": "The standard border radius for most components. Use for elements that need subtle rounding without emphasizing their shape."
115+
},
116+
"default": {
117+
"$type": "borderRadius",
118+
"$value": "{I-A.size.borderRadius.default}",
119+
"$description": "The standard border radius for most components. Use for elements that need subtle rounding without emphasizing their shape."
120+
},
121+
"focusRing": {
122+
"inside": {
123+
"$type": "borderRadius",
124+
"$value": "{I-A.size.borderRadius.focusRing.inside}",
125+
"$description": "Use for focusring inside of component when outside focus ring is not possible"
126+
},
127+
"outside": {
128+
"$type": "borderRadius",
129+
"$value": "{I-A.size.borderRadius.focusRing.outside}",
130+
"$description": "Use for focusring outside of component"
131+
}
132+
}
133+
},
134+
"outlineWidth": {
135+
"default": {
136+
"$type": "borderWidth",
137+
"$value": "{I-A.size.outlineWidth.default}",
138+
"$description": "Sets the standard outline width for UI elements."
139+
}
140+
}
141+
},
142+
"space": {
143+
"offset": {
144+
"default": {
145+
"$type": "spacing",
146+
"$value": "{I-A.space.offset.default}",
147+
"$description": "Defines the standard spacing offset."
148+
}
149+
}
150+
},
151+
"text-new": {
152+
"body": {
153+
"lg": {
154+
"$type": "typography",
155+
"$value": "{I-A.text-new.body.lg}"
156+
},
157+
"md": {
158+
"$type": "typography",
159+
"$value": "{I-A.text-new.body.md}"
160+
},
161+
"sm": {
162+
"$type": "typography",
163+
"$value": "{I-A.text-new.body.sm}"
164+
}
165+
},
166+
"icon": {
167+
"solid": {
168+
"$type": "typography",
169+
"$value": "{I-A.text-new.icon.solid}"
170+
},
171+
"outline": {
172+
"$type": "typography",
173+
"$value": "{I-A.text-new.icon.outline}"
174+
}
175+
},
176+
"input": {
177+
"lg": {
178+
"$type": "typography",
179+
"$value": "{I-A.text-new.input.lg}"
180+
},
181+
"md": {
182+
"$type": "typography",
183+
"$value": "{I-A.text-new.input.md}"
184+
}
185+
},
186+
"heading": {
187+
"lg": {
188+
"$type": "typography",
189+
"$value": "{I-A.text-new.heading.lg}"
190+
},
191+
"md": {
192+
"$type": "typography",
193+
"$value": "{I-A.text-new.heading.md}"
194+
},
195+
"sm": {
196+
"$type": "typography",
197+
"$value": "{I-A.text-new.heading.sm}"
198+
},
199+
"xl": {
200+
"$type": "typography",
201+
"$value": "{I-A.text-new.heading.xl}"
202+
},
203+
"2xl": {
204+
"$type": "typography",
205+
"$value": "{I-A.text-new.heading.2xl}"
206+
}
207+
},
208+
"typeset": {
209+
"fontFamily": {
210+
"body": {
211+
"$type": "fontFamilies",
212+
"$value": "{I-A.text-new.typeset.fontFamily.body}"
213+
},
214+
"icon": {
215+
"$type": "fontFamilies",
216+
"$value": "{I-A.text-new.typeset.fontFamily.icon}"
217+
},
218+
"heading": {
219+
"$type": "fontFamilies",
220+
"$value": "{I-A.text-new.typeset.fontFamily.heading}"
221+
}
222+
},
223+
"fontWeight": {
224+
"regular": {
225+
"$type": "fontWeights",
226+
"$value": "{I-A.text-new.typeset.fontWeight.regular}"
227+
},
228+
"semiBold": {
229+
"$type": "fontWeights",
230+
"$value": "{I-A.text-new.typeset.fontWeight.semiBold}"
231+
}
232+
}
233+
}
234+
}
235+
}
236+
}

0 commit comments

Comments
 (0)