@demos-europe/demosplan-ui 0.3.21 → 0.3.24

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 (54) hide show
  1. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_26_07_2024_16_29_[Changes]/shelved.patch +30800 -0
  2. package/.idea/shelf/Uncommitted_changes_before_Checkout_at_26_07_2024_16_29__Changes_.xml +4 -0
  3. package/.idea/workspace.xml +129 -46
  4. package/.yarn/install-state.gz +0 -0
  5. package/CHANGELOG.md +21 -0
  6. package/dist/demosplan-ui.umd.js +1 -1
  7. package/package.json +19 -6
  8. package/scripts/buildTokens.js +118 -0
  9. package/scripts/utils/transformTokens.js +249 -0
  10. package/src/components/DpDataTable/DpDataTable.vue +6 -2
  11. package/src/components/DpDataTable/DpTableHeader.vue +6 -2
  12. package/src/components/DpEditor/libs/editorCustomLink.js +3 -0
  13. package/src/lib/DpApi.js +2 -2
  14. package/tailwind.config.js +20 -50
  15. package/tokens/dist/js/boxShadow.js +10 -10
  16. package/tokens/dist/js/breakpoints.js +1 -1
  17. package/tokens/dist/js/color.brand.js +1 -1
  18. package/tokens/dist/js/color.data.js +1 -1
  19. package/tokens/dist/js/color.palette.js +1 -1
  20. package/tokens/dist/js/color.ui-tailwind.js +1 -1
  21. package/tokens/dist/js/color.ui.js +68 -68
  22. package/tokens/dist/js/fontSize.js +86 -98
  23. package/tokens/dist/js/rounded.js +1 -1
  24. package/tokens/dist/js/space.js +1 -1
  25. package/tokens/dist/js/zIndex.js +18 -18
  26. package/tokens/dist/scss/_boxShadow.scss +1 -1
  27. package/tokens/dist/scss/_breakpoints.scss +1 -1
  28. package/tokens/dist/scss/_color.brand.scss +1 -1
  29. package/tokens/dist/scss/_color.data.scss +1 -1
  30. package/tokens/dist/scss/_color.palette.scss +1 -1
  31. package/tokens/dist/scss/_color.ui.scss +1 -1
  32. package/tokens/dist/scss/_fontSize.scss +13 -7
  33. package/tokens/dist/scss/_rounded.scss +1 -1
  34. package/tokens/dist/scss/_space.scss +1 -1
  35. package/tokens/dist/scss/_zIndex.scss +1 -1
  36. package/tokens/dist/tailwind/backgroundColor.js +22 -22
  37. package/tokens/dist/tailwind/borderColor.js +7 -7
  38. package/tokens/dist/tailwind/boxShadow.js +6 -0
  39. package/tokens/dist/tailwind/breakpoints.js +6 -0
  40. package/tokens/dist/tailwind/color.js +37 -3
  41. package/tokens/dist/tailwind/fontSize.js +16 -0
  42. package/tokens/dist/tailwind/rounded.js +8 -0
  43. package/tokens/dist/tailwind/space.js +20 -0
  44. package/tokens/dist/tailwind/textColor.js +35 -35
  45. package/tokens/dist/tailwind/zIndex.js +10 -0
  46. package/tokens/src/boxShadow.json +5 -5
  47. package/tokens/src/color/color.ui.json +397 -0
  48. package/tokens/src/fontSize.json +47 -23
  49. package/tokens/src/zIndex.json +1 -1
  50. package/yarn-error.log +13974 -0
  51. package/.idea/shelf/Uncommitted_changes_before_Update_at_17_07_2024_15_21_[Changes]/shelved.patch +0 -36
  52. package/.idea/shelf/Uncommitted_changes_before_Update_at_17_07_2024_15_21__Changes_.xml +0 -4
  53. package/buildTokens.js +0 -240
  54. package/tokens/src/color/color.ui-tailwind.json +0 -401
@@ -1,401 +0,0 @@
1
- {
2
- "color": {
3
- "ui-tailwind": {
4
- "$description": "Tokens that are transformed to be applied to distinct Tailwind corePlugins.",
5
- "color": {
6
- "$description": "Tokens that are allowed to be used with any corePlugin.",
7
- "interactive": {
8
- "DEFAULT": {
9
- "$description": "Color for default state of interactive elements.",
10
- "value": "{color.palette.blue.base}",
11
- "themeable": true,
12
- "$type": "color"
13
- },
14
- "hover": {
15
- "$description": "Color for hover state of interactive elements.",
16
- "value": "{color.palette.blue.dark-1}",
17
- "themeable": true,
18
- "$type": "color"
19
- },
20
- "active": {
21
- "$description": "Color for active state of interactive elements.",
22
- "value": "{color.palette.blue.dark-2}",
23
- "themeable": true,
24
- "$type": "color"
25
- }
26
- }
27
- },
28
- "textColor": {
29
- "default": {
30
- "$description": "Default color for text that should be readable.",
31
- "value": "{color.palette.neutral.dark-2}",
32
- "$type": "color"
33
- },
34
- "muted": {
35
- "$description": "Color for text that should stand out a little less. Has sufficient contrast on white.",
36
- "value": "{color.palette.neutral.base}",
37
- "$type": "color"
38
- },
39
- "on-dark": {
40
- "$description": "Color for text that has sufficient contrast on dark backgrounds.",
41
- "value": "{color.palette.white}",
42
- "$type": "color"
43
- },
44
- "marked": {
45
- "$description": "Color for highlighting portions of text. To be used together with bg-text-marked",
46
- "value": "{color.palette.blue.dark-2}",
47
- "$type": "color"
48
- },
49
- "message": {
50
- "info": {
51
- "DEFAULT": {
52
- "$description": "Text color to communicate uncritical information within system feedback components.",
53
- "value": "{color.palette.blue.dark-2}",
54
- "$type": "color"
55
- },
56
- "icon": {
57
- "$description": "Icon color to communicate uncritical information within system feedback components.",
58
- "value": "{color.palette.blue.dark-1}",
59
- "$type": "color"
60
- },
61
- "interactive": {
62
- "$description": "Color for interactive text to communicate uncritical information within system feedback components.",
63
- "value": "{color.palette.blue.base}",
64
- "$type": "color"
65
- }
66
- },
67
- "warning": {
68
- "DEFAULT": {
69
- "$description": "Text color to noticeably communicate uncritical information within system feedback components.",
70
- "value": "{color.palette.yellow.dark-2}",
71
- "$type": "color"
72
- },
73
- "icon": {
74
- "$description": "Icon color to noticeably communicate uncritical information within system feedback components.",
75
- "value": "{color.palette.yellow.dark-2}",
76
- "$type": "color"
77
- },
78
- "interactive": {
79
- "$description": "Color for interactive text to noticeably communicate uncritical information within system feedback components.",
80
- "value": "{color.palette.yellow.dark-2}",
81
- "$type": "color"
82
- }
83
- },
84
- "severe": {
85
- "DEFAULT": {
86
- "$description": "Text color to communicate importance, danger, and immediate action within system feedback components.",
87
- "value": "{color.palette.red.dark-2}",
88
- "$type": "color"
89
- },
90
- "icon": {
91
- "$description": "Icon color to communicate importance, danger, and immediate action within system feedback components.",
92
- "value": "{color.palette.red.dark-1}",
93
- "$type": "color"
94
- },
95
- "interactive": {
96
- "$description": "Color for interactive text to communicate importance, danger, and immediate action within system feedback components.",
97
- "value": "{color.palette.red.dark-1}",
98
- "$type": "color"
99
- }
100
- },
101
- "success": {
102
- "DEFAULT": {
103
- "$description": "Text color to communicate successful state change within system feedback components.",
104
- "value": "{color.palette.green.dark-2}",
105
- "$type": "color"
106
- },
107
- "icon": {
108
- "$description": "Icon color to communicate successful state change within system feedback components.",
109
- "value": "{color.palette.green.dark-1}",
110
- "$type": "color"
111
- },
112
- "interactive": {
113
- "$description": "Color for interactive text to communicate successful state change within system feedback components.",
114
- "value": "{color.palette.green.base}",
115
- "$type": "color"
116
- }
117
- },
118
- "debug": {
119
- "DEFAULT": {
120
- "$description": "Text color to communicate information for debugging purposes within system feedback components.",
121
- "value": "{color.palette.purple.dark-2}",
122
- "$type": "color"
123
- },
124
- "icon": {
125
- "$description": "Icon color to communicate information for debugging purposes within system feedback components.",
126
- "value": "{color.palette.purple.dark-1}",
127
- "$type": "color"
128
- },
129
- "interactive": {
130
- "$description": "Color for interactive text to communicate information for debugging purposes within system feedback components.",
131
- "value": "{color.palette.purple.dark-1}",
132
- "$type": "color"
133
- }
134
- }
135
- },
136
- "selected": {
137
- "$description": "Color used to visualize selected elements (ex: selection-text).",
138
- "value": "{color.palette.blue.dark-1}",
139
- "$type": "color"
140
- },
141
- "status": {
142
- "progress": {
143
- "DEFAULT": {
144
- "$description": "Text color to communicate that something is in progress.",
145
- "value": "{color.palette.blue.dark-1}",
146
- "$type": "color"
147
- },
148
- "fill": {
149
- "$description": "Fill color to communicate that something is in progress. Use for charts.",
150
- "value": "{color.palette.blue.base}",
151
- "$type": "color"
152
- },
153
- "icon": {
154
- "$description": "Icon color to communicate that something is in progress.",
155
- "value": "{color.palette.blue.base}",
156
- "$type": "color"
157
- }
158
- },
159
- "changed": {
160
- "DEFAULT": {
161
- "$description": "Text color to communicate something has moved or changed.",
162
- "value": "{color.palette.yellow.dark-2}",
163
- "$type": "color"
164
- },
165
- "fill": {
166
- "$description": "Fill color to communicate something has moved or changed. Use for charts.",
167
- "value": "{color.palette.yellow.base}",
168
- "$type": "color"
169
- },
170
- "icon": {
171
- "$description": "Icon color to communicate something has moved or changed.",
172
- "value": "{color.palette.yellow.dark-1}",
173
- "$type": "color"
174
- }
175
- },
176
- "failed": {
177
- "DEFAULT": {
178
- "$description": "Text color to communicate that an action or validation has failed on an item.",
179
- "value": "{color.palette.red.dark-1}",
180
- "$type": "color"
181
- },
182
- "fill": {
183
- "$description": "Fill color to communicate that an action or validation has failed on an item. Use for charts.",
184
- "value": "{color.palette.red.base}",
185
- "$type": "color"
186
- },
187
- "icon": {
188
- "$description": "Icon color to communicate that an action or validation has failed on an item.",
189
- "value": "{color.palette.red.base}",
190
- "$type": "color"
191
- }
192
- },
193
- "complete": {
194
- "DEFAULT": {
195
- "$description": "Text color to communicate that an action has completed, or something has been added.",
196
- "value": "{color.palette.green.dark-1}",
197
- "$type": "color"
198
- },
199
- "fill": {
200
- "$description": "Fill color to communicate that an action has completed, or something has been added. Use for charts.",
201
- "value": "{color.palette.green.base}",
202
- "$type": "color"
203
- },
204
- "icon": {
205
- "$description": "Icon color to communicate that an action has completed, or something has been added.",
206
- "value": "{color.palette.green.base}",
207
- "$type": "color"
208
- }
209
- },
210
- "neutral": {
211
- "DEFAULT": {
212
- "$description": "Text color to communicate neutral or unknown status.",
213
- "value": "{color.palette.neutral.dark-1}",
214
- "$type": "color"
215
- },
216
- "fill": {
217
- "$description": "Fill color to communicate neutral or unknown status. Use for charts.",
218
- "value": "{color.palette.neutral.base}",
219
- "$type": "color"
220
- },
221
- "icon": {
222
- "$description": "Icon color to communicate neutral or unknown status.",
223
- "value": "{color.palette.neutral.base}",
224
- "$type": "color"
225
- }
226
- }
227
- }
228
- },
229
- "backgroundColor": {
230
- "$description": "Tokens that are meant to be used with the backgroundColor corePlugin.",
231
- "interactive": {
232
- "subtle-hover": {
233
- "$description": "Background color for hover state of bigger areas or subtle buttons.",
234
- "value": "{color.palette.neutral.light-4}",
235
- "$type": "color"
236
- },
237
- "subtle-active": {
238
- "$description": "Background color for active state of bigger areas or subtle buttons.",
239
- "value": "{color.palette.neutral.light-3}",
240
- "$type": "color"
241
- },
242
- "muted": {
243
- "$description": "Background color for interactive elements that reveal their base state on:hover of a parent element, eg. in a table row. Note that this is not to be conflated with the disabled state, which is communicated via opacity.",
244
- "value": "{color.palette.neutral.light-1}",
245
- "$type": "color"
246
- }
247
- },
248
- "message": {
249
- "info": {
250
- "$description": "Background color to communicate uncritical information within system feedback components.",
251
- "value": "{color.palette.blue.light-3}",
252
- "$type": "color"
253
- },
254
- "warning": {
255
- "$description": "Background color to noticeably communicate uncritical information within system feedback components.",
256
- "value": "{color.palette.yellow.light-3}",
257
- "$type": "color"
258
- },
259
- "severe": {
260
- "$description": "Background color to communicate importance, danger, and immediate action within system feedback components.",
261
- "value": "{color.palette.red.light-3}",
262
- "$type": "color"
263
- },
264
- "success": {
265
- "$description": "Background color to communicate successful state change within system feedback components.",
266
- "value": "{color.palette.green.light-3}",
267
- "$type": "color"
268
- },
269
- "debug": {
270
- "$description": "Background color to communicate information for debugging purposes within system feedback components.",
271
- "value": "{color.palette.purple.light-3}",
272
- "$type": "color"
273
- }
274
- },
275
- "selected": {
276
- "$description": "Background Color used to visualize selected elements (ex: selection-bg).",
277
- "value": "{color.palette.blue.light-3}",
278
- "$type": "color"
279
- },
280
- "status": {
281
- "progress": {
282
- "$description": "Background color to communicate that something is in progress (ex: status-progress-text).",
283
- "value": "{color.palette.blue.base}",
284
- "$type": "color"
285
- },
286
- "changed": {
287
- "$description": "Background color to communicate something has moved or changed.",
288
- "value": "{color.palette.yellow.base}",
289
- "$type": "color"
290
- },
291
- "failed": {
292
- "$description": "Background color to communicate that an action or validation has failed on an item.",
293
- "value": "{color.palette.red.base}",
294
- "$type": "color"
295
- },
296
- "complete": {
297
- "$description": "Background color to communicate that an action has completed, or something has been added.",
298
- "value": "{color.palette.green.base}",
299
- "$type": "color"
300
- },
301
- "neutral": {
302
- "DEFAULT": {
303
- "$description": "Text color to communicate neutral or unknown status.",
304
- "value": "{color.palette.neutral.dark-1}",
305
- "$type": "color"
306
- }
307
- }
308
- },
309
- "surface": {
310
- "$description": "Colors to apply to the main interface areas of the application",
311
- "DEFAULT": {
312
- "$description": "Default color used for backgrounds.",
313
- "value": "{color.palette.white}",
314
- "themeable": true,
315
- "$type": "color"
316
- },
317
- "light": {
318
- "$description": "Lightest background color that is discernible on normal monitors.",
319
- "value": "{color.palette.neutral.light-4}",
320
- "themeable": true,
321
- "$type": "color"
322
- },
323
- "medium": {
324
- "$description": "Medium background color for boxes etc.",
325
- "value": "{color.palette.neutral.light-3}",
326
- "themeable": true,
327
- "$type": "color"
328
- }
329
- },
330
- "text": {
331
- "deleted": {
332
- "$description": "Background color for deleted (del) text.",
333
- "value": "{color.palette.yellow.light-2}",
334
- "$type": "color"
335
- },
336
- "deleted-muted": {
337
- "$description": "Background color for deleted (del) areas of text.",
338
- "value": "{color.palette.yellow.light-3}",
339
- "$type": "color"
340
- },
341
- "inserted": {
342
- "$description": "Background color for inserted (ins) text.",
343
- "value": "{color.palette.blue.light-3}",
344
- "$type": "color"
345
- },
346
- "inserted-muted": {
347
- "$description": "Background color for highlighting portions of text, that is discernible from 'bg-text-marked'",
348
- "value": "{color.palette.blue.light-4}",
349
- "$type": "color"
350
- },
351
- "marked": {
352
- "$description": "Background color for highlighting portions of text.",
353
- "value": "{color.palette.blue.light-3}",
354
- "$type": "color"
355
- }
356
- }
357
- },
358
- "borderColor": {
359
- "message": {
360
- "info": {
361
- "$description": "Border color to communicate uncritical information within system feedback components.",
362
- "value": "{color.palette.blue.light-1}",
363
- "$type": "color"
364
- },
365
- "warning": {
366
- "$description": "Border color to noticeably communicate uncritical information within system feedback components.",
367
- "value": "{color.palette.yellow.base}",
368
- "$type": "color"
369
- },
370
- "severe": {
371
- "$description": "Border color to communicate importance, danger, and immediate action within system feedback components.",
372
- "value": "{color.palette.red.light-1}",
373
- "$type": "color"
374
- },
375
- "success": {
376
- "$description": "Border color to communicate successful state change within system feedback components.",
377
- "value": "{color.palette.green.light-1}",
378
- "$type": "color"
379
- },
380
- "debug": {
381
- "$description": "Border color to communicate information for debugging purposes within system feedback components.",
382
- "value": "{color.palette.purple.light-1}",
383
- "$type": "color"
384
- }
385
- },
386
- "neutral": {
387
- "$description": "Default color used for borders within the application.",
388
- "value": "{color.palette.neutral.light-2}",
389
- "$type": "color"
390
- },
391
- "status": {
392
- "failed": {
393
- "$description": "Border color to communicate that an action or validation has failed on an item.",
394
- "value": "{color.palette.red.base}",
395
- "$type": "color"
396
- }
397
- }
398
- }
399
- }
400
- }
401
- }