pn-design-assets 3.2.0 → 3.2.1

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.
Files changed (48) hide show
  1. package/package.json +1 -1
  2. package/pn-assets/flags.d.ts +88 -88
  3. package/pn-assets/flags.d.ts.map +1 -1
  4. package/pn-assets/flags.js +88 -88
  5. package/pn-assets/flags.ts +88 -88
  6. package/pn-assets/flagsCamel.d.ts +88 -88
  7. package/pn-assets/flagsCamel.d.ts.map +1 -1
  8. package/pn-assets/flagsCamel.js +88 -88
  9. package/pn-assets/flagsCamel.ts +88 -88
  10. package/pn-assets/icons.d.ts +74 -74
  11. package/pn-assets/icons.d.ts.map +1 -1
  12. package/pn-assets/icons.js +74 -74
  13. package/pn-assets/icons.ts +74 -74
  14. package/pn-assets/iconsCamel.d.ts +74 -74
  15. package/pn-assets/iconsCamel.d.ts.map +1 -1
  16. package/pn-assets/iconsCamel.js +74 -74
  17. package/pn-assets/iconsCamel.ts +74 -74
  18. package/pn-assets/illustrations.d.ts +45 -45
  19. package/pn-assets/illustrations.d.ts.map +1 -1
  20. package/pn-assets/illustrations.js +45 -45
  21. package/pn-assets/illustrations.ts +45 -45
  22. package/pn-assets/illustrationsCamel.d.ts +45 -45
  23. package/pn-assets/illustrationsCamel.d.ts.map +1 -1
  24. package/pn-assets/illustrationsCamel.js +45 -45
  25. package/pn-assets/illustrationsCamel.ts +45 -45
  26. package/pn-assets/styles/postnord/dark/index.css +19 -10
  27. package/pn-assets/styles/postnord/dark/index.scss +19 -10
  28. package/pn-assets/styles/postnord/dark/theme.css +565 -12
  29. package/pn-assets/styles/postnord/dark/theme.scss +19 -10
  30. package/pn-assets/styles/postnord/light/index.css +16 -7
  31. package/pn-assets/styles/postnord/light/index.scss +16 -7
  32. package/pn-assets/styles/postnord/light/theme.css +560 -7
  33. package/pn-assets/styles/postnord/light/theme.scss +16 -7
  34. package/pn-assets/styles/str/303/245lfors/dark/index.css +17 -8
  35. package/pn-assets/styles/str/303/245lfors/dark/index.scss +17 -8
  36. package/pn-assets/styles/str/303/245lfors/dark/theme.css +563 -10
  37. package/pn-assets/styles/str/303/245lfors/dark/theme.scss +17 -8
  38. package/pn-assets/styles/str/303/245lfors/light/index.css +14 -5
  39. package/pn-assets/styles/str/303/245lfors/light/index.scss +14 -5
  40. package/pn-assets/styles/str/303/245lfors/light/theme.css +558 -5
  41. package/pn-assets/styles/str/303/245lfors/light/theme.scss +14 -5
  42. package/pn-assets/tokens/Color scheme/PostNord/Dark/Component tokens.json +4 -4
  43. package/pn-assets/tokens/Color scheme/PostNord/Dark/Semantic tokens.json +98 -16
  44. package/pn-assets/tokens/Color scheme/PostNord/Light/Semantic tokens.json +55 -9
  45. package/pn-assets/tokens/Color scheme/Str/303/245lfors/Dark/Component tokens.json" +4 -4
  46. package/pn-assets/tokens/Color scheme/Str/303/245lfors/Dark/Semantic tokens.json" +100 -18
  47. package/pn-assets/tokens/Color scheme/Str/303/245lfors/Light/Component tokens.json" +2 -2
  48. package/pn-assets/tokens/Color scheme/Str/303/245lfors/Light/Semantic tokens.json" +72 -17
@@ -740,11 +740,11 @@
740
740
  "disabled": {
741
741
  "active": {
742
742
  "$type": "color",
743
- "$value": "{color.surface.disabled.default}"
743
+ "$value": "{color.surface.disabled.strong}"
744
744
  },
745
745
  "inactive": {
746
746
  "$type": "color",
747
- "$value": "{color.surface.disabled.default}"
747
+ "$value": "{color.surface.disabled.strong}"
748
748
  }
749
749
  }
750
750
  },
@@ -753,7 +753,7 @@
753
753
  "active": {
754
754
  "resting": {
755
755
  "hovered": {
756
- "value": "{color.background.accent.primary.hovered}",
756
+ "value": "{color.surface.accent}",
757
757
  "type": "color"
758
758
  },
759
759
  "$type": "color",
@@ -761,7 +761,7 @@
761
761
  },
762
762
  "hovered": {
763
763
  "hovered": {
764
- "value": "{color.background.accent.primary.hovered}",
764
+ "value": "{color.blue.100}",
765
765
  "type": "color"
766
766
  },
767
767
  "$type": "color",
@@ -21,32 +21,65 @@
21
21
  "$type": "color",
22
22
  "$value": "{color.blue.150}"
23
23
  },
24
- "info": {
25
- "$type": "color",
26
- "$value": "{color.blue.750}"
27
- },
28
24
  "highlight": {
29
25
  "$type": "color",
30
26
  "$value": "{color.blue.750}"
31
27
  },
32
- "warning": {
33
- "subtle": {
28
+ "info": {
29
+ "strong": {
34
30
  "$type": "color",
35
- "$value": "{color.orange.750}"
31
+ "$value": "{color.blue.250}"
36
32
  },
33
+ "subtle": {
34
+ "$extensions": {
35
+ "studio.tokens": {
36
+ "modify": {
37
+ "type": "alpha",
38
+ "value": "{opacity.08}",
39
+ "space": "lch"
40
+ }
41
+ }
42
+ },
43
+ "$type": "color",
44
+ "$value": "{color.neutral.white}"
45
+ }
46
+ },
47
+ "warning": {
37
48
  "strong": {
38
49
  "$type": "color",
39
- "$value": "{color.orange.300}"
50
+ "$value": "{color.orange.250}"
51
+ },
52
+ "subtle": {
53
+ "$extensions": {
54
+ "studio.tokens": {
55
+ "modify": {
56
+ "type": "alpha",
57
+ "value": "{opacity.08}",
58
+ "space": "lch"
59
+ }
60
+ }
61
+ },
62
+ "$type": "color",
63
+ "$value": "{color.neutral.white}"
40
64
  }
41
65
  },
42
66
  "success": {
43
- "subtle": {
67
+ "strong": {
44
68
  "$type": "color",
45
- "$value": "{color.green.750}"
69
+ "$value": "{color.green.250}"
46
70
  },
47
- "strong": {
71
+ "subtle": {
72
+ "$extensions": {
73
+ "studio.tokens": {
74
+ "modify": {
75
+ "type": "alpha",
76
+ "value": "{opacity.08}",
77
+ "space": "lch"
78
+ }
79
+ }
80
+ },
48
81
  "$type": "color",
49
- "$value": "{color.green.300}"
82
+ "$value": "{color.neutral.white}"
50
83
  }
51
84
  },
52
85
  "status": {
@@ -90,7 +123,7 @@
90
123
  }
91
124
  },
92
125
  "disabled": {
93
- "default": {
126
+ "strong": {
94
127
  "$type": "color",
95
128
  "$value": "{color.neutral.400}"
96
129
  },
@@ -111,11 +144,20 @@
111
144
  "error": {
112
145
  "strong": {
113
146
  "$type": "color",
114
- "$value": "{color.red.600}"
147
+ "$value": "{color.red.300}"
115
148
  },
116
149
  "subtle": {
150
+ "$extensions": {
151
+ "studio.tokens": {
152
+ "modify": {
153
+ "type": "alpha",
154
+ "value": "{opacity.08}",
155
+ "space": "lch"
156
+ }
157
+ }
158
+ },
117
159
  "$type": "color",
118
- "$value": "{color.red.750}"
160
+ "$value": "{color.neutral.white}"
119
161
  }
120
162
  }
121
163
  },
@@ -172,7 +214,7 @@
172
214
  "on-error": {
173
215
  "strong": {
174
216
  "$type": "color",
175
- "$value": "{color.neutral.25}"
217
+ "$value": "{color.neutral.850}"
176
218
  },
177
219
  "subtle": {
178
220
  "$type": "color",
@@ -222,6 +264,46 @@
222
264
  "$type": "color",
223
265
  "$value": "{color.neutral.150}"
224
266
  }
267
+ },
268
+ "on-info": {
269
+ "strong": {
270
+ "$type": "color",
271
+ "$value": "{color.neutral.850}"
272
+ },
273
+ "subtle": {
274
+ "$type": "color",
275
+ "$value": "{color.content.info}"
276
+ }
277
+ },
278
+ "on-warning": {
279
+ "strong": {
280
+ "$type": "color",
281
+ "$value": "{color.neutral.850}"
282
+ },
283
+ "subtle": {
284
+ "$type": "color",
285
+ "$value": "{color.content.warning}"
286
+ }
287
+ },
288
+ "on-success": {
289
+ "strong": {
290
+ "$type": "color",
291
+ "$value": "{color.neutral.850}"
292
+ },
293
+ "subtle": {
294
+ "$type": "color",
295
+ "$value": "{color.content.success}"
296
+ }
297
+ },
298
+ "on-disabled": {
299
+ "strong": {
300
+ "$type": "color",
301
+ "$value": "{color.neutral.400}"
302
+ },
303
+ "subtle": {
304
+ "$type": "color",
305
+ "$value": "{color.neutral.450}"
306
+ }
225
307
  }
226
308
  },
227
309
  "border": {
@@ -26,15 +26,21 @@
26
26
  "$value": "{color.blue.750}",
27
27
  "$description": "A dark/inverse surface used in certain specific instances where visual emphasis needs to be given. This is largely a stylistic choice."
28
28
  },
29
- "info": {
30
- "$type": "color",
31
- "$value": "{color.blue.50}"
32
- },
33
29
  "highlight": {
34
30
  "$type": "color",
35
31
  "$value": "{color.blue.25}",
36
32
  "$description": "A surface whose purpose is to draw attention to particular content without necessarily indicating an interaction or feedback state."
37
33
  },
34
+ "info": {
35
+ "subtle": {
36
+ "$type": "color",
37
+ "$value": "{color.blue.50}"
38
+ },
39
+ "strong": {
40
+ "$type": "color",
41
+ "$value": "{color.blue.450}"
42
+ }
43
+ },
38
44
  "warning": {
39
45
  "subtle": {
40
46
  "$type": "color",
@@ -42,7 +48,7 @@
42
48
  },
43
49
  "strong": {
44
50
  "$type": "color",
45
- "$value": "{color.orange.350}"
51
+ "$value": "{color.orange.400}"
46
52
  }
47
53
  },
48
54
  "success": {
@@ -52,7 +58,7 @@
52
58
  },
53
59
  "strong": {
54
60
  "$type": "color",
55
- "$value": "{color.green.400}"
61
+ "$value": "{color.green.500}"
56
62
  }
57
63
  },
58
64
  "error": {
@@ -62,7 +68,7 @@
62
68
  },
63
69
  "strong": {
64
70
  "$type": "color",
65
- "$value": "{color.red.500}"
71
+ "$value": "{color.red.450}"
66
72
  }
67
73
  },
68
74
  "status": {
@@ -124,7 +130,7 @@
124
130
  }
125
131
  },
126
132
  "disabled": {
127
- "default": {
133
+ "strong": {
128
134
  "$type": "color",
129
135
  "$value": "{color.neutral.250}"
130
136
  },
@@ -208,7 +214,7 @@
208
214
  },
209
215
  "subtle": {
210
216
  "$type": "color",
211
- "$value": "{color.red.500}"
217
+ "$value": "{color.red.450}"
212
218
  }
213
219
  },
214
220
  "status": {
@@ -236,6 +242,46 @@
236
242
  "$type": "color",
237
243
  "$value": "{color.neutral.500}"
238
244
  }
245
+ },
246
+ "on-info": {
247
+ "strong": {
248
+ "$type": "color",
249
+ "$value": "{color.neutral.white}"
250
+ },
251
+ "subtle": {
252
+ "$type": "color",
253
+ "$value": "{color.content.info}"
254
+ }
255
+ },
256
+ "on-warning": {
257
+ "strong": {
258
+ "$type": "color",
259
+ "$value": "{color.neutral.white}"
260
+ },
261
+ "subtle": {
262
+ "$type": "color",
263
+ "$value": "{color.content.warning}"
264
+ }
265
+ },
266
+ "on-success": {
267
+ "strong": {
268
+ "$type": "color",
269
+ "$value": "{color.neutral.white}"
270
+ },
271
+ "subtle": {
272
+ "$type": "color",
273
+ "$value": "{color.content.success}"
274
+ }
275
+ },
276
+ "on-disabled": {
277
+ "strong": {
278
+ "$type": "color",
279
+ "$value": "{color.neutral.250}"
280
+ },
281
+ "subtle": {
282
+ "$type": "color",
283
+ "$value": "{color.neutral.250}"
284
+ }
239
285
  }
240
286
  },
241
287
  "border": {
@@ -812,11 +812,11 @@
812
812
  "disabled": {
813
813
  "active": {
814
814
  "$type": "color",
815
- "$value": "{color.surface.disabled.default}"
815
+ "$value": "{color.surface.disabled.strong}"
816
816
  },
817
817
  "inactive": {
818
818
  "$type": "color",
819
- "$value": "{color.surface.disabled.default}"
819
+ "$value": "{color.surface.disabled.strong}"
820
820
  }
821
821
  }
822
822
  },
@@ -825,7 +825,7 @@
825
825
  "active": {
826
826
  "resting": {
827
827
  "hovered": {
828
- "value": "{color.background.accent.primary}",
828
+ "value": "{color.surface.accent}",
829
829
  "type": "color"
830
830
  },
831
831
  "$type": "color",
@@ -833,7 +833,7 @@
833
833
  },
834
834
  "hovered": {
835
835
  "hovered": {
836
- "value": "{color.background.accent.primary}",
836
+ "value": "{color.blue.100}",
837
837
  "type": "color"
838
838
  },
839
839
  "$type": "color",
@@ -21,33 +21,66 @@
21
21
  "$type": "color",
22
22
  "$value": "{color.brand.primary.default}"
23
23
  },
24
+ "highlight": {
25
+ "$type": "color",
26
+ "$value": "{color.blue.750}"
27
+ },
24
28
  "warning": {
25
- "subtle": {
26
- "$type": "color",
27
- "$value": "{color.orange.750}"
28
- },
29
29
  "strong": {
30
30
  "$type": "color",
31
31
  "$value": "{color.orange.300}"
32
+ },
33
+ "subtle": {
34
+ "$extensions": {
35
+ "studio.tokens": {
36
+ "modify": {
37
+ "type": "alpha",
38
+ "value": "{opacity.08}",
39
+ "space": "lch"
40
+ }
41
+ }
42
+ },
43
+ "$type": "color",
44
+ "$value": "{color.sf-neutral.white}"
32
45
  }
33
46
  },
34
47
  "success": {
35
- "subtle": {
36
- "$type": "color",
37
- "$value": "{color.green.750}"
38
- },
39
48
  "strong": {
40
49
  "$type": "color",
41
50
  "$value": "{color.green.300}"
51
+ },
52
+ "subtle": {
53
+ "$extensions": {
54
+ "studio.tokens": {
55
+ "modify": {
56
+ "type": "alpha",
57
+ "value": "{opacity.08}",
58
+ "space": "lch"
59
+ }
60
+ }
61
+ },
62
+ "$type": "color",
63
+ "$value": "{color.sf-neutral.white}"
42
64
  }
43
65
  },
44
66
  "info": {
45
- "$type": "color",
46
- "$value": "{color.blue.750}"
47
- },
48
- "highlight": {
49
- "$type": "color",
50
- "$value": "{color.blue.750}"
67
+ "strong": {
68
+ "$type": "color",
69
+ "$value": "{color.blue.250}"
70
+ },
71
+ "subtle": {
72
+ "$extensions": {
73
+ "studio.tokens": {
74
+ "modify": {
75
+ "type": "alpha",
76
+ "value": "{opacity.08}",
77
+ "space": "lch"
78
+ }
79
+ }
80
+ },
81
+ "$type": "color",
82
+ "$value": "{color.sf-neutral.white}"
83
+ }
51
84
  },
52
85
  "status": {
53
86
  "on-its-way": {
@@ -90,7 +123,7 @@
90
123
  }
91
124
  },
92
125
  "disabled": {
93
- "default": {
126
+ "strong": {
94
127
  "$extensions": {
95
128
  "studio.tokens": {
96
129
  "modify": {
@@ -123,8 +156,17 @@
123
156
  "$value": "{color.red.400}"
124
157
  },
125
158
  "subtle": {
159
+ "$extensions": {
160
+ "studio.tokens": {
161
+ "modify": {
162
+ "type": "alpha",
163
+ "value": "{opacity.08}",
164
+ "space": "lch"
165
+ }
166
+ }
167
+ },
126
168
  "$type": "color",
127
- "$value": "{color.red.750}"
169
+ "$value": "{color.neutral.white}"
128
170
  }
129
171
  }
130
172
  },
@@ -181,11 +223,11 @@
181
223
  "on-error": {
182
224
  "subtle": {
183
225
  "$type": "color",
184
- "$value": "{color.red.350}"
226
+ "$value": "{color.sf-neutral.850}"
185
227
  },
186
228
  "strong": {
187
229
  "$type": "color",
188
- "$value": "{color.red.750}"
230
+ "$value": "{color.red.350}"
189
231
  }
190
232
  },
191
233
  "status": {
@@ -231,6 +273,46 @@
231
273
  "$type": "color",
232
274
  "$value": "{color.sf-neutral.150}"
233
275
  }
276
+ },
277
+ "on-info": {
278
+ "strong": {
279
+ "$type": "color",
280
+ "$value": "{color.sf-neutral.850}"
281
+ },
282
+ "subtle": {
283
+ "$type": "color",
284
+ "$value": "{color.content.info}"
285
+ }
286
+ },
287
+ "on-warning": {
288
+ "strong": {
289
+ "$type": "color",
290
+ "$value": "{color.sf-neutral.850}"
291
+ },
292
+ "subtle": {
293
+ "$type": "color",
294
+ "$value": "{color.content.warning}"
295
+ }
296
+ },
297
+ "on-success": {
298
+ "strong": {
299
+ "$type": "color",
300
+ "$value": "{color.sf-neutral.850}"
301
+ },
302
+ "subtle": {
303
+ "$type": "color",
304
+ "$value": "{color.content.success}"
305
+ }
306
+ },
307
+ "on-disabled": {
308
+ "strong": {
309
+ "$type": "color",
310
+ "$value": "{color.sf-neutral.450}"
311
+ },
312
+ "subtle": {
313
+ "$type": "color",
314
+ "$value": "{color.sf-neutral.550}"
315
+ }
234
316
  }
235
317
  },
236
318
  "border": {
@@ -807,7 +807,7 @@
807
807
  "active": {
808
808
  "resting": {
809
809
  "hovered": {
810
- "value": "{color.background.accent.primary}",
810
+ "value": "{color.surface.accent}",
811
811
  "type": "color"
812
812
  },
813
813
  "$type": "color",
@@ -815,7 +815,7 @@
815
815
  },
816
816
  "hovered": {
817
817
  "hovered": {
818
- "value": "{color.background.accent.primary}",
818
+ "value": "{color.blue.500}",
819
819
  "type": "color"
820
820
  },
821
821
  "$type": "color",
@@ -21,34 +21,30 @@
21
21
  "$type": "color",
22
22
  "$value": "{color.brand.primary.default}"
23
23
  },
24
+ "highlight": {
25
+ "$type": "color",
26
+ "$value": "{color.blue.50}"
27
+ },
24
28
  "warning": {
25
- "subtle": {
26
- "$type": "color",
27
- "$value": "{color.orange.50}"
28
- },
29
29
  "strong": {
30
30
  "$type": "color",
31
31
  "$value": "{color.orange.350}"
32
+ },
33
+ "subtle": {
34
+ "$type": "color",
35
+ "$value": "{color.orange.50}"
32
36
  }
33
37
  },
34
38
  "success": {
35
- "subtle": {
36
- "$type": "color",
37
- "$value": "{color.green.50}"
38
- },
39
39
  "strong": {
40
40
  "$type": "color",
41
41
  "$value": "{color.green.400}"
42
+ },
43
+ "subtle": {
44
+ "$type": "color",
45
+ "$value": "{color.green.50}"
42
46
  }
43
47
  },
44
- "info": {
45
- "$type": "color",
46
- "$value": "{color.blue.50}"
47
- },
48
- "highlight": {
49
- "$type": "color",
50
- "$value": "{color.blue.50}"
51
- },
52
48
  "error": {
53
49
  "strong": {
54
50
  "$type": "color",
@@ -118,7 +114,7 @@
118
114
  }
119
115
  },
120
116
  "disabled": {
121
- "default": {
117
+ "strong": {
122
118
  "$extensions": {
123
119
  "studio.tokens": {
124
120
  "modify": {
@@ -144,6 +140,16 @@
144
140
  "$type": "color",
145
141
  "$value": "{color.sf-neutral.black}"
146
142
  }
143
+ },
144
+ "info": {
145
+ "strong": {
146
+ "$type": "color",
147
+ "$value": "{color.blue.450}"
148
+ },
149
+ "subtle": {
150
+ "$type": "color",
151
+ "$value": "{color.blue.50}"
152
+ }
147
153
  }
148
154
  },
149
155
  "content": {
@@ -231,6 +237,55 @@
231
237
  "$type": "color",
232
238
  "$value": "{color.sf-neutral.500}"
233
239
  }
240
+ },
241
+ "on-info": {
242
+ "strong": {
243
+ "$type": "color",
244
+ "$value": "{color.neutral.white}"
245
+ },
246
+ "subtle": {
247
+ "$type": "color",
248
+ "$value": "{color.content.info}"
249
+ }
250
+ },
251
+ "on-warning": {
252
+ "strong": {
253
+ "$type": "color",
254
+ "$value": "{color.neutral.white}"
255
+ },
256
+ "subtle": {
257
+ "$type": "color",
258
+ "$value": "{color.content.warning}"
259
+ }
260
+ },
261
+ "on-success": {
262
+ "strong": {
263
+ "$type": "color",
264
+ "$value": "{color.neutral.white}"
265
+ },
266
+ "subtle": {
267
+ "$type": "color",
268
+ "$value": "{color.content.success}"
269
+ }
270
+ },
271
+ "on-disabled": {
272
+ "strong": {
273
+ "$type": "color",
274
+ "$value": "{color.sf-neutral.250}"
275
+ },
276
+ "subtle": {
277
+ "$extensions": {
278
+ "studio.tokens": {
279
+ "modify": {
280
+ "type": "alpha",
281
+ "value": "{opacity.08}",
282
+ "space": "lch"
283
+ }
284
+ }
285
+ },
286
+ "$type": "color",
287
+ "$value": "{color.sf-neutral.850}"
288
+ }
234
289
  }
235
290
  },
236
291
  "border": {