@umbraco-cms/backoffice 16.0.0-rc3 → 16.0.0-rc4

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 (100) hide show
  1. package/dist-cms/apps/backoffice/backoffice.context.js +5 -1
  2. package/dist-cms/apps/backoffice/components/backoffice-main.element.js +3 -1
  3. package/dist-cms/css/uui-css.css +438 -108
  4. package/dist-cms/custom-elements.json +20 -15
  5. package/dist-cms/external/uui/index.js +370 -336
  6. package/dist-cms/libs/context-api/consume/context-consumer.js +1 -2
  7. package/dist-cms/libs/controller-api/controller-host.mixin.js +2 -2
  8. package/dist-cms/packages/block/block/context/block-entry.context.js +10 -3
  9. package/dist-cms/packages/block/block/workspace/views/edit/block-workspace-view-edit.element.js +1 -0
  10. package/dist-cms/packages/block/block-list/components/block-list-entry/block-list-entry.element.js +2 -1
  11. package/dist-cms/packages/content/content/components/property-type-based-property/index.d.ts +2 -0
  12. package/dist-cms/packages/content/content/components/property-type-based-property/index.js +2 -0
  13. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context-token.d.ts +8 -0
  14. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context-token.js +7 -0
  15. package/dist-cms/packages/content/content/{content-property.context.d.ts → components/property-type-based-property/property-type-based-property.context.d.ts} +6 -1
  16. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.context.js +19 -0
  17. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.element.d.ts +1 -1
  18. package/dist-cms/packages/content/content/components/property-type-based-property/property-type-based-property.element.js +8 -7
  19. package/dist-cms/packages/content/content/global-components/content-workspace-property.element.d.ts +26 -0
  20. package/dist-cms/packages/content/content/global-components/content-workspace-property.element.js +104 -0
  21. package/dist-cms/packages/content/content/global-components/index.d.ts +1 -0
  22. package/dist-cms/packages/content/content/global-components/index.js +1 -0
  23. package/dist-cms/packages/content/content/index.d.ts +1 -2
  24. package/dist-cms/packages/content/content/index.js +1 -2
  25. package/dist-cms/packages/content/content/workspace/content-detail-workspace-base.js +2 -1
  26. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-properties.element.d.ts +1 -3
  27. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-properties.element.js +8 -48
  28. package/dist-cms/packages/content/content/workspace/views/edit/content-editor.element.js +1 -0
  29. package/dist-cms/packages/content/content-type/structure/content-type-property-structure-helper.class.d.ts +1 -0
  30. package/dist-cms/packages/content/content-type/structure/content-type-property-structure-helper.class.js +1 -0
  31. package/dist-cms/packages/content/content-type/structure/content-type-structure-manager.class.d.ts +1 -0
  32. package/dist-cms/packages/content/content-type/structure/content-type-structure-manager.class.js +3 -3
  33. package/dist-cms/packages/content/content-type/workspace/views/design/content-type-design-editor.element.js +11 -7
  34. package/dist-cms/packages/content/property-type/workspace/property-type-workspace.context.js +5 -1
  35. package/dist-cms/packages/core/collection/collection-view.manager.js +4 -4
  36. package/dist-cms/packages/core/components/input-number-range/input-number-range.element.d.ts +4 -1
  37. package/dist-cms/packages/core/components/input-number-range/input-number-range.element.js +27 -3
  38. package/dist-cms/packages/core/components/input-with-alias/input-with-alias.element.js +0 -2
  39. package/dist-cms/packages/core/repository/detail/detail-repository-base.js +6 -7
  40. package/dist-cms/packages/core/repository/item/item-repository-base.d.ts +1 -1
  41. package/dist-cms/packages/core/repository/item/item-repository-base.js +25 -9
  42. package/dist-cms/packages/core/repository/item/item-repository.interface.d.ts +1 -1
  43. package/dist-cms/packages/core/router/router-slot/model.d.ts +1 -0
  44. package/dist-cms/packages/core/router/router-slot/router-slot.d.ts +1 -0
  45. package/dist-cms/packages/core/router/router-slot/router-slot.js +30 -0
  46. package/dist-cms/packages/core/tree/data/tree-repository-base.d.ts +5 -1
  47. package/dist-cms/packages/core/tree/data/tree-repository-base.js +27 -13
  48. package/dist-cms/packages/core/tree/tree-item/tree-item.element.js +1 -1
  49. package/dist-cms/packages/core/validation/controllers/validation.controller.js +1 -1
  50. package/dist-cms/packages/core/workspace/components/workspace-action/common/save/save.action.js +3 -1
  51. package/dist-cms/packages/core/workspace/components/workspace-split-view/workspace-split-view-variant-selector.element.js +2 -2
  52. package/dist-cms/packages/core/workspace/controllers/workspace-is-new-redirect.controller.d.ts +7 -0
  53. package/dist-cms/packages/core/workspace/controllers/workspace-is-new-redirect.controller.js +31 -10
  54. package/dist-cms/packages/core/workspace/controllers/workspace-route-manager.controller.js +5 -5
  55. package/dist-cms/packages/core/workspace/entity-detail/entity-detail-workspace-base.js +1 -1
  56. package/dist-cms/packages/core/workspace/submittable/submittable-workspace-context-base.d.ts +1 -0
  57. package/dist-cms/packages/core/workspace/submittable/submittable-workspace-context-base.js +10 -0
  58. package/dist-cms/packages/data-type/collection/repository/data-type-collection.repository.js +6 -1
  59. package/dist-cms/packages/data-type/repository/detail/data-type-detail.repository.js +6 -1
  60. package/dist-cms/packages/documents/document-blueprints/workspace/document-blueprint-workspace-editor.element.js +5 -4
  61. package/dist-cms/packages/documents/documents/publishing/workspace-context/document-publishing.workspace-context.js +12 -2
  62. package/dist-cms/packages/documents/documents/types.d.ts +1 -0
  63. package/dist-cms/packages/documents/documents/url/index.d.ts +1 -0
  64. package/dist-cms/packages/documents/documents/url/index.js +1 -0
  65. package/dist-cms/packages/documents/documents/url/types.d.ts +1 -0
  66. package/dist-cms/packages/documents/documents/url/types.js +1 -0
  67. package/dist-cms/packages/documents/documents/user-permissions/document/conditions/document-user-permission.condition.js +3 -1
  68. package/dist-cms/packages/documents/documents/workspace/actions/save.action.js +4 -2
  69. package/dist-cms/packages/documents/documents/workspace/document-workspace-editor.element.js +13 -7
  70. package/dist-cms/packages/media/media/dashboard/media-dashboard.element.js +1 -0
  71. package/dist-cms/packages/media/media/workspace/media-workspace-editor.element.js +1 -0
  72. package/dist-cms/packages/members/member/repository/member-repository-base.d.ts +8 -8
  73. package/dist-cms/packages/members/member/repository/member-repository-base.js +13 -12
  74. package/dist-cms/packages/members/member/workspace/member/member-workspace-editor.element.js +1 -0
  75. package/dist-cms/packages/packages/package-section/views/created/created-packages-section-view.element.js +1 -0
  76. package/dist-cms/packages/segment/package.json +8 -0
  77. package/dist-cms/packages/settings/package.json +8 -0
  78. package/dist-cms/packages/settings/vite.config.d.ts +2 -0
  79. package/dist-cms/packages/settings/vite.config.js +11 -0
  80. package/dist-cms/packages/translation/package.json +8 -0
  81. package/dist-cms/packages/user/current-user/current-user.context.js +4 -1
  82. package/dist-cms/packages/user/current-user/repository/current-user.repository.d.ts +2 -2
  83. package/dist-cms/packages/user/current-user/repository/current-user.repository.js +8 -5
  84. package/dist-cms/packages/user/user/repository/user-repository-base.d.ts +7 -7
  85. package/dist-cms/packages/user/user/repository/user-repository-base.js +13 -12
  86. package/dist-cms/packages/user/user-group/collection/repository/user-group-collection.repository.js +4 -1
  87. package/dist-cms/packages/webhook/webhook-event/repository/webhook-event.repository.d.ts +4 -0
  88. package/dist-cms/packages/webhook/webhook-event/repository/webhook-event.repository.js +7 -1
  89. package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
  90. package/dist-cms/umbraco-package.json +1 -1
  91. package/dist-cms/vscode-html-custom-data.json +14 -8
  92. package/examples/modal-routed/dashboard.element.ts +1 -0
  93. package/examples/modal-routed/modal/example-modal.element.ts +1 -0
  94. package/examples/validation-context/validation-context-dashboard.ts +12 -12
  95. package/package.json +7 -7
  96. package/dist-cms/packages/content/content/content-property.context-token.d.ts +0 -3
  97. package/dist-cms/packages/content/content/content-property.context-token.js +0 -2
  98. package/dist-cms/packages/content/content/content-property.context.js +0 -14
  99. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-property.element.d.ts +0 -21
  100. package/dist-cms/packages/content/content/workspace/views/edit/content-editor-property.element.js +0 -63
@@ -56,7 +56,11 @@ export class UmbBackofficeContext extends UmbContextBase {
56
56
  this.#activeSectionAlias.setValue(alias);
57
57
  }
58
58
  async serverUpgradeCheck() {
59
- const version = await this.observe(this.version).asPromise();
59
+ const version = await this.observe(this.version)
60
+ .asPromise()
61
+ .catch(() => null);
62
+ if (!version)
63
+ return null;
60
64
  const repository = new UmbSysinfoRepository(this);
61
65
  return repository.serverUpgradeCheck(version);
62
66
  }
@@ -47,8 +47,10 @@ let UmbBackofficeMainElement = class UmbBackofficeMainElement extends UmbLitElem
47
47
  });
48
48
  if (newRoutes.length > 0) {
49
49
  newRoutes.push({
50
+ path: '',
51
+ pathMatch: 'full',
52
+ awaitStability: true,
50
53
  redirectTo: newRoutes[0].path,
51
- path: ``,
52
54
  });
53
55
  newRoutes.push({
54
56
  path: `**`,
@@ -79,132 +79,426 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
79
79
  /* Color Properties */
80
80
  :root {
81
81
  --uui-palette-deep-saffron: #f79c37;
82
- --uui-palette-deep-saffron-light: rgb(249, 181, 103);
83
- --uui-palette-deep-saffron-dark: rgb(222, 145, 56);
84
- --uui-palette-deep-saffron-dimmed: rgb(166, 150, 133);
82
+ --uui-palette-deep-saffron-light: rgb(
83
+ 249,
84
+ 181,
85
+ 103
86
+ ); /* color($deep-saffron lightness(+ 10%)) */
87
+ --uui-palette-deep-saffron-dark: rgb(
88
+ 222,
89
+ 145,
90
+ 56
91
+ ); /* color($deep-saffron blackness(+ 10%)); */
92
+ --uui-palette-deep-saffron-dimmed: rgb(
93
+ 166,
94
+ 150,
95
+ 133
96
+ ); /* color(
97
+ $deep-saffron saturation(- 74%) blackness(+ 1%)
98
+ ); */
85
99
  --uui-palette-sunglow: #fad634;
86
- --uui-palette-sunglow-light: rgb(251, 224, 101);
87
- --uui-palette-sunglow-dark: rgb(224, 193, 51);
88
- --uui-palette-sunglow-dimmed: rgb(166, 160, 133);
100
+ --uui-palette-sunglow-light: rgb(
101
+ 251,
102
+ 224,
103
+ 101
104
+ ); /* color($sunglow lightness(+ 10%)); */
105
+ --uui-palette-sunglow-dark: rgb(
106
+ 224,
107
+ 193,
108
+ 51
109
+ ); /* color($sunglow blackness(+ 10%)); */
110
+ --uui-palette-sunglow-dimmed: rgb(
111
+ 166,
112
+ 160,
113
+ 133
114
+ ); /* color(
115
+ $sunglow saturation(- 78%) blackness(+ 1%)
116
+ ); */
89
117
  --uui-palette-spanish-pink: #f5c1bc;
90
- --uui-palette-spanish-pink-light: rgb(248, 214, 211);
91
- --uui-palette-spanish-pink-dark: rgb(232, 192, 189);
92
- --uui-palette-spanish-pink-dimmed: rgb(219, 212, 212);
118
+ --uui-palette-spanish-pink-light: rgb(
119
+ 248,
120
+ 214,
121
+ 211
122
+ ); /* color($spanish-pink lightness(+ 5%)); */
123
+ --uui-palette-spanish-pink-dark: rgb(
124
+ 232,
125
+ 192,
126
+ 189
127
+ ); /* color($spanish-pink blackness(+ 5%)); */
128
+ --uui-palette-spanish-pink-dimmed: rgb(
129
+ 219,
130
+ 212,
131
+ 212
132
+ ); /* color(
133
+ $spanish-pink saturation(- 60%) blackness(+ 1%)
134
+ ); */
93
135
  --uui-palette-gunmetal: #162335;
94
- --uui-palette-gunmetal-light: rgb(35, 55, 83);
95
- --uui-palette-gunmetal-dark: rgb(23, 27, 33);
96
- --uui-palette-gunmetal-dimmed: rgb(54, 54, 54);
136
+ --uui-palette-gunmetal-light: rgb(
137
+ 35,
138
+ 55,
139
+ 83
140
+ ); /* color($gunmetal lightness(+ 8%)); */
141
+ --uui-palette-gunmetal-dark: rgb(
142
+ 23,
143
+ 27,
144
+ 33
145
+ ); /* color($gunmetal blackness(+ 8%)); */
146
+ --uui-palette-gunmetal-dimmed: rgb(
147
+ 54,
148
+ 54,
149
+ 54
150
+ ); /* color(
151
+ $gunmetal saturation(- 50%) lightness(+ 6%)
152
+ ); */
97
153
  --uui-palette-space-cadet: #1b264f;
98
- --uui-palette-space-cadet-light: rgb(38, 53, 110);
99
- --uui-palette-space-cadet-dark: rgb(28, 35, 59);
100
- --uui-palette-space-cadet-dimmed: rgb(106, 117, 154);
154
+ --uui-palette-space-cadet-light: rgb(
155
+ 38,
156
+ 53,
157
+ 110
158
+ ); /* color($space-cadet lightness(+ 8%)); */
159
+ --uui-palette-space-cadet-dark: rgb(
160
+ 28,
161
+ 35,
162
+ 59
163
+ ); /* color($space-cadet blackness(+ 8%)); */
164
+ --uui-palette-space-cadet-dimmed: rgb(
165
+ 106,
166
+ 117,
167
+ 154
168
+ ); /* color(
169
+ $space-cadet saturation(- 30%) lightness(+ 30%)
170
+ ); */
101
171
  --uui-palette-violet-blue: #3544b1;
102
- --uui-palette-violet-blue-light: rgb(70, 86, 200);
103
- --uui-palette-violet-blue-dark: rgb(54, 65, 156);
104
- --uui-palette-violet-blue-dimmed: rgb(87, 87, 87);
105
-
106
- /*
107
- // not used jet.
108
- $matisse: #2152a3;
109
- --uui-palette-matisse: $matisse;
110
- --uui-palette-matisse-light: color($matisse lightness(+ 8%));
111
- --uui-palette-matisse-dark: color($matisse blackness(+ 8%));
112
- --uui-palette-matisse-dimmed: color(
113
- $matisse saturation(- 30%) blackness(+ 22%)
114
- );
115
- */
172
+ --uui-palette-violet-blue-light: rgb(
173
+ 70,
174
+ 86,
175
+ 200
176
+ ); /* color($violet-blue lightness(+ 8%)); */
177
+ --uui-palette-violet-blue-dark: rgb(
178
+ 54,
179
+ 65,
180
+ 156
181
+ ); /* color($violet-blue blackness(+ 8%)); */
182
+ --uui-palette-violet-blue-dimmed: rgb(
183
+ 87,
184
+ 87,
185
+ 87
186
+ ); /* color(
187
+ $violet-blue saturation(- 30%) blackness(+ 22%)
188
+ ); */
116
189
  --uui-palette-malibu: #3879ff;
117
- --uui-palette-malibu-light: rgb(97, 150, 255);
118
- --uui-palette-malibu-dark: rgb(56, 116, 235);
119
- --uui-palette-malibu-dimmed: rgb(115, 120, 130);
120
- /*
121
- $outline-blue: #3879ff;
122
- --uui-palette-outline-blue: $outline-blue;
123
- --uui-palette-outline-blue-light: color($outline-blue lightness(+ 8%));
124
- --uui-palette-outline-blue-dark: color($outline-blue blackness(+ 8%));
125
- --uui-palette-outline-blue-dimmed: color(
126
- $outline-blue saturation(- 60%) blackness(+ 26%)
127
- );
128
- */
190
+ --uui-palette-malibu-light: rgb(
191
+ 97,
192
+ 150,
193
+ 255
194
+ ); /* color($malibu lightness(+ 8%)); */
195
+ --uui-palette-malibu-dark: rgb(
196
+ 56,
197
+ 116,
198
+ 235
199
+ ); /* color($malibu blackness(+ 8%)); */
200
+ --uui-palette-malibu-dimmed: rgb(
201
+ 115,
202
+ 120,
203
+ 130
204
+ ); /* color(
205
+ $malibu saturation(- 60%) blackness(+ 26%)
206
+ ); */
129
207
  --uui-palette-maroon-flush: #d42054;
130
- --uui-palette-maroon-flush-light: rgb(226, 60, 107);
131
- --uui-palette-maroon-flush-dark: rgb(191, 33, 78);
132
- --uui-palette-maroon-flush-dimmed: rgb(133, 107, 114);
208
+ --uui-palette-maroon-flush-light: rgb(
209
+ 226,
210
+ 60,
211
+ 107
212
+ ); /* color($maroon-flush lightness(+ 8%)); */
213
+ --uui-palette-maroon-flush-dark: rgb(
214
+ 191,
215
+ 33,
216
+ 78
217
+ ); /* color($maroon-flush blackness(+ 8%)); */
218
+ --uui-palette-maroon-flush-dimmed: rgb(
219
+ 133,
220
+ 107,
221
+ 114
222
+ ); /* color(
223
+ $maroon-flush saturation(- 62%) blackness(+ 2%)
224
+ ); */
133
225
  --uui-palette-jungle-green: #2bc37c;
134
- --uui-palette-jungle-green-light: rgb(58, 212, 140);
135
- --uui-palette-jungle-green-dark: rgb(43, 179, 115);
136
- --uui-palette-jungle-green-dimmed: rgb(102, 135, 120);
226
+ --uui-palette-jungle-green-light: rgb(
227
+ 58,
228
+ 212,
229
+ 140
230
+ ); /* color($jungle-green lightness(+ 6%)); */
231
+ --uui-palette-jungle-green-dark: rgb(
232
+ 43,
233
+ 179,
234
+ 115
235
+ ); /* color($jungle-green blackness(+ 6%)); */
236
+ --uui-palette-jungle-green-dimmed: rgb(
237
+ 102,
238
+ 135,
239
+ 120
240
+ ); /* color(
241
+ $jungle-green saturation(- 50%) blackness(+ 1%)
242
+ ); */
137
243
  --uui-palette-forest-green: #0b8152;
138
- --uui-palette-forest-green-light: rgb(13, 155, 98);
139
- --uui-palette-forest-green-dark: rgb(10, 115, 73);
140
- --uui-palette-forest-green-dimmed: rgb(46, 89, 72);
244
+ --uui-palette-forest-green-light: rgb(
245
+ 13,
246
+ 155,
247
+ 98
248
+ ); /* color($forest-green lightness(+ 6%)); */
249
+ --uui-palette-forest-green-dark: rgb(
250
+ 10,
251
+ 115,
252
+ 73
253
+ ); /* color($forest-green blackness(+ 6%)); */
254
+ --uui-palette-forest-green-dimmed: rgb(
255
+ 46,
256
+ 89,
257
+ 72
258
+ ); /* color(
259
+ $forest-green saturation(- 50%) blackness(+ 1%)
260
+ ); */
141
261
  --uui-palette-cocoa-black: #191715;
142
- --uui-palette-cocoa-black-light: rgb(39, 36, 32);
143
- --uui-palette-cocoa-black-dark: rgb(20, 20, 20);
144
- --uui-palette-cocoa-black-dimmed: rgb(48, 48, 48);
262
+ --uui-palette-cocoa-black-light: rgb(
263
+ 39,
264
+ 36,
265
+ 32
266
+ ); /* color($cocoa-black lightness(+ 5%)); */
267
+ --uui-palette-cocoa-black-dark: rgb(
268
+ 20,
269
+ 20,
270
+ 20
271
+ ); /* color($cocoa-black blackness(+ 5%)); */
272
+ --uui-palette-cocoa-black-dimmed: rgb(
273
+ 48,
274
+ 48,
275
+ 48
276
+ ); /* color(
277
+ $cocoa-black saturation(- 20%) lightness(+ 10%)
278
+ ); */
145
279
  --uui-palette-dune-black: #2e2b29;
146
- --uui-palette-dune-black-light: rgb(57, 53, 50);
147
- --uui-palette-dune-black-dark: rgb(38, 38, 38);
148
- --uui-palette-dune-black-dimmed: rgb(64, 64, 64);
280
+ --uui-palette-dune-black-light: rgb(
281
+ 57,
282
+ 53,
283
+ 50
284
+ ); /* color($dune-black lightness(+ 4%)); */
285
+ --uui-palette-dune-black-dark: rgb(
286
+ 38,
287
+ 38,
288
+ 38
289
+ ); /* color($dune-black blackness(+ 10%)); */
290
+ --uui-palette-dune-black-dimmed: rgb(
291
+ 64,
292
+ 64,
293
+ 64
294
+ ); /* color(
295
+ $dune-black saturation(- 30%) lightness(+ 8%)
296
+ ); */
149
297
  --uui-palette-cocoa-brown: #332a24;
150
- --uui-palette-cocoa-brown-light: rgb(66, 54, 47);
151
- --uui-palette-cocoa-brown-dark: rgb(38, 37, 36);
152
- --uui-palette-cocoa-brown-dimmed: rgb(43, 43, 43);
298
+ --uui-palette-cocoa-brown-light: rgb(
299
+ 66,
300
+ 54,
301
+ 47
302
+ ); /* color($cocoa-brown lightness(+ 5%)); */
303
+ --uui-palette-cocoa-brown-dark: rgb(
304
+ 38,
305
+ 37,
306
+ 36
307
+ ); /* color($cocoa-brown blackness(+ 5%)); */
308
+ --uui-palette-cocoa-brown-dimmed: rgb(
309
+ 43,
310
+ 43,
311
+ 43
312
+ ); /* color(
313
+ $cocoa-brown saturation(- 40%) blackness(+ 2%)
314
+ ); */
153
315
  --uui-palette-chamoisee: #9d8057;
154
- --uui-palette-chamoisee-light: rgb(175, 148, 110);
155
- --uui-palette-chamoisee-dark: rgb(138, 116, 87);
156
- --uui-palette-chamoisee-dimmed: rgb(115, 113, 110);
316
+ --uui-palette-chamoisee-light: rgb(
317
+ 175,
318
+ 148,
319
+ 110
320
+ ); /* color($chamoisee lightness(+ 8%)); */
321
+ --uui-palette-chamoisee-dark: rgb(
322
+ 138,
323
+ 116,
324
+ 87
325
+ ); /* color($chamoisee blackness(+ 8%)); */
326
+ --uui-palette-chamoisee-dimmed: rgb(
327
+ 115,
328
+ 113,
329
+ 110
330
+ ); /* color(
331
+ $chamoisee saturation(- 18%) blackness(+ 8%)
332
+ ); */
157
333
  --uui-palette-timberwolf: #e2dad4;
158
- --uui-palette-timberwolf-light: rgb(243, 239, 237);
159
- --uui-palette-timberwolf-dark: rgb(208, 208, 208);
160
- --uui-palette-timberwolf-dimmed: rgb(207, 207, 207);
334
+ --uui-palette-timberwolf-light: rgb(
335
+ 243,
336
+ 239,
337
+ 237
338
+ ); /* color($timberwolf lightness(+ 8%)); */
339
+ --uui-palette-timberwolf-dark: rgb(
340
+ 208,
341
+ 208,
342
+ 208
343
+ ); /* color($timberwolf blackness(+ 8%)); */
344
+ --uui-palette-timberwolf-dimmed: rgb(
345
+ 207,
346
+ 207,
347
+ 207
348
+ ); /* color(
349
+ $timberwolf saturation(- 82%) blackness(+ 6%)
350
+ ); */
161
351
  --uui-palette-gravel: #d8d7d9;
162
- --uui-palette-gravel-light: rgb(237, 237, 238);
163
- --uui-palette-gravel-dark: rgb(200, 200, 200);
164
- --uui-palette-gravel-dimmed: rgb(204, 204, 204);
352
+ --uui-palette-gravel-light: rgb(
353
+ 237,
354
+ 237,
355
+ 238
356
+ ); /* color($gravel lightness(+ 8%)); */
357
+ --uui-palette-gravel-dark: rgb(
358
+ 200,
359
+ 200,
360
+ 200
361
+ ); /* color($gravel blackness(+ 8%)); */
362
+ --uui-palette-gravel-dimmed: rgb(
363
+ 204,
364
+ 204,
365
+ 204
366
+ ); /* color($gravel saturation(- 82%) blackness(+ 6%)); */
165
367
  --uui-palette-sand: #f3f3f5;
166
- --uui-palette-sand-light: rgb(255, 255, 255);
167
- --uui-palette-sand-dark: rgb(226, 226, 226);
168
- --uui-palette-sand-dimmed: rgb(231, 231, 231);
368
+ --uui-palette-sand-light: rgb(
369
+ 255,
370
+ 255,
371
+ 255
372
+ ); /* color($sand lightness(+ 8%)); */
373
+ --uui-palette-sand-dark: rgb(
374
+ 226,
375
+ 226,
376
+ 226
377
+ ); /* color($sand blackness(+ 8%)); */
378
+ --uui-palette-sand-dimmed: rgb(
379
+ 231,
380
+ 231,
381
+ 231
382
+ ); /* color($sand saturation(- 82%) blackness(+ 6%)); */
169
383
  --uui-palette-white: #fefefe;
170
- --uui-palette-white-light: rgb(255, 255, 255);
171
- --uui-palette-white-dark: rgb(250, 250, 250);
172
- --uui-palette-white-dimmed: rgb(228, 228, 228);
384
+ --uui-palette-white-light: rgb(
385
+ 255,
386
+ 255,
387
+ 255
388
+ ); /* color($white lightness(+ 2%)); */
389
+ --uui-palette-white-dark: rgb(
390
+ 250,
391
+ 250,
392
+ 250
393
+ ); /* color($white blackness(+ 2%)); */
394
+ --uui-palette-white-dimmed: rgb(
395
+ 228,
396
+ 228,
397
+ 228
398
+ ); /* color($white saturation(- 100%) blackness(+ 12%)); */
173
399
  --uui-palette-black: #060606;
174
- --uui-palette-black-light: rgb(26, 26, 26);
175
- --uui-palette-black-dark: rgb(5, 5, 5);
176
- --uui-palette-black-dimmed: rgb(36, 36, 36);
400
+ --uui-palette-black-light: rgb(
401
+ 26,
402
+ 26,
403
+ 26
404
+ ); /* color($black lightness(+ 8%)); */
405
+ --uui-palette-black-dark: rgb(5, 5, 5); /* color($black blackness(+ 8%)); */
406
+ --uui-palette-black-dimmed: rgb(
407
+ 36,
408
+ 36,
409
+ 36
410
+ ); /* color($black saturation(- 100%) lightness(+ 12%)); */
177
411
  --uui-palette-grey: #c4c4c4;
178
- --uui-palette-grey-light: rgb(222, 222, 222);
179
- --uui-palette-grey-dark: rgb(179, 179, 179);
180
- --uui-palette-grey-dimmed: rgb(189, 189, 189);
412
+ --uui-palette-grey-light: rgb(
413
+ 222,
414
+ 222,
415
+ 222
416
+ ); /* color($grey lightness(+ 10%)); */
417
+ --uui-palette-grey-dark: rgb(
418
+ 179,
419
+ 179,
420
+ 179
421
+ ); /* color($grey blackness(+ 10%)); */
422
+ --uui-palette-grey-dimmed: rgb(
423
+ 189,
424
+ 189,
425
+ 189
426
+ ); /* color($grey saturation(- 100%) blackness(+ 4%)); */
181
427
 
182
428
  /** not begin used currently. */
183
429
  --uui-palette-dusty-grey: #9b9b9b;
184
- --uui-palette-dusty-grey-light: rgb(176, 176, 176);
185
- --uui-palette-dusty-grey-dark: rgb(141, 141, 141);
186
- --uui-palette-dusty-grey-dimmed: rgb(186, 186, 186);
430
+ --uui-palette-dusty-grey-light: rgb(
431
+ 176,
432
+ 176,
433
+ 176
434
+ ); /* color($dusty-grey lightness(+ 8%)); */
435
+ --uui-palette-dusty-grey-dark: rgb(
436
+ 141,
437
+ 141,
438
+ 141
439
+ ); /* color($dusty-grey blackness(+ 10%)); */
440
+ --uui-palette-dusty-grey-dimmed: rgb(
441
+ 186,
442
+ 186,
443
+ 186
444
+ ); /* color(
445
+ $dusty-grey saturation(- 100%) lightness(+ 12%)
446
+ ); */
187
447
  --uui-palette-mine-grey: #3e3e3e;
188
- --uui-palette-mine-grey-light: rgb(82, 82, 82);
189
- --uui-palette-mine-grey-dark: rgb(56, 56, 56);
190
- --uui-palette-mine-grey-dimmed: rgb(87, 87, 87);
448
+ --uui-palette-mine-grey-light: rgb(
449
+ 82,
450
+ 82,
451
+ 82
452
+ ); /* color($mine-grey lightness(+ 8%)); */
453
+ --uui-palette-mine-grey-dark: rgb(
454
+ 56,
455
+ 56,
456
+ 56
457
+ ); /* color($mine-grey blackness(+ 10%)); */
458
+ --uui-palette-mine-grey-dimmed: rgb(
459
+ 87,
460
+ 87,
461
+ 87
462
+ ); /* color(
463
+ $mine-grey saturation(- 100%) lightness(+ 10%)
464
+ ); */
191
465
  }
192
466
  :root {
193
467
  font-family: 'Roboto', sans-serif;
194
468
 
195
469
  /* ----- STATES ----- */
196
470
  --uui-color-selected: var(--uui-palette-violet-blue,#3544b1);
197
- --uui-color-selected-emphasis: var(--uui-palette-violet-blue-light,rgb(70, 86, 200));
198
- --uui-color-selected-standalone: var(--uui-palette-violet-blue-dark,rgb(54, 65, 156));
471
+ --uui-color-selected-emphasis: var(--uui-palette-violet-blue-light,rgb(
472
+ 70,
473
+ 86,
474
+ 200
475
+ ));
476
+ --uui-color-selected-standalone: var(--uui-palette-violet-blue-dark,rgb(
477
+ 54,
478
+ 65,
479
+ 156
480
+ ));
199
481
  --uui-color-selected-contrast: #fff;
200
482
 
201
483
  --uui-color-current: var(--uui-palette-spanish-pink,#f5c1bc);
202
- --uui-color-current-emphasis: var(--uui-palette-spanish-pink-light,rgb(248, 214, 211));
203
- --uui-color-current-standalone: var(--uui-palette-spanish-pink-dark,rgb(232, 192, 189));
484
+ --uui-color-current-emphasis: var(--uui-palette-spanish-pink-light,rgb(
485
+ 248,
486
+ 214,
487
+ 211
488
+ ));
489
+ --uui-color-current-standalone: var(--uui-palette-spanish-pink-dark,rgb(
490
+ 232,
491
+ 192,
492
+ 189
493
+ ));
204
494
  --uui-color-current-contrast: var(--uui-palette-space-cadet,#1b264f);
205
495
 
206
496
  --uui-color-disabled: var(--uui-palette-sand,#f3f3f5);
207
- --uui-color-disabled-standalone: var(--uui-palette-sand-dark,rgb(226, 226, 226));
497
+ --uui-color-disabled-standalone: var(--uui-palette-sand-dark,rgb(
498
+ 226,
499
+ 226,
500
+ 226
501
+ ));
208
502
  --uui-color-disabled-contrast: var(--uui-palette-grey,#c4c4c4);
209
503
 
210
504
  /* ----- UNIVERSAL ----- */
@@ -217,7 +511,11 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
217
511
  /* ----- SURFACE ----- */
218
512
  --uui-color-surface: #fff;
219
513
  --uui-color-surface-alt: var(--uui-palette-sand,#f3f3f5);
220
- --uui-color-surface-emphasis: var(--uui-palette-white-dark,rgb(250, 250, 250));
514
+ --uui-color-surface-emphasis: var(--uui-palette-white-dark,rgb(
515
+ 250,
516
+ 250,
517
+ 250
518
+ ));
221
519
 
222
520
  --uui-color-background: var(--uui-palette-sand,#f3f3f5);
223
521
 
@@ -238,29 +536,61 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
238
536
  /* ----- COLORS ----- */
239
537
  --uui-color-default: var(--uui-palette-space-cadet,#1b264f);
240
538
  --uui-color-default-emphasis: var(--uui-palette-violet-blue,#3544b1);
241
- --uui-color-default-standalone: var(--uui-palette-space-cadet-dark,rgb(28, 35, 59));
539
+ --uui-color-default-standalone: var(--uui-palette-space-cadet-dark,rgb(
540
+ 28,
541
+ 35,
542
+ 59
543
+ ));
242
544
  --uui-color-default-contrast: #fff;
243
545
 
244
546
  --uui-color-warning: #fbd142;
245
- --uui-color-warning-emphasis: var(--uui-palette-sunglow-light,rgb(251, 224, 101));
547
+ --uui-color-warning-emphasis: var(--uui-palette-sunglow-light,rgb(
548
+ 251,
549
+ 224,
550
+ 101
551
+ ));
246
552
  --uui-color-warning-standalone: #a17700;
247
553
  --uui-color-warning-contrast: #000;
248
554
  /* --uui-color-warning: var(--uui-palette-sunglow); Contrast not high enough */
249
555
  /* --uui-color-warning-standalone: var(--uui-palette-sunglow-dark); Contrast not high enough */
250
556
 
251
557
  --uui-color-danger: var(--uui-palette-maroon-flush,#d42054);
252
- --uui-color-danger-emphasis: var(--uui-palette-maroon-flush-light,rgb(226, 60, 107));
253
- --uui-color-danger-standalone: var(--uui-palette-maroon-flush-dark,rgb(191, 33, 78));
558
+ --uui-color-danger-emphasis: var(--uui-palette-maroon-flush-light,rgb(
559
+ 226,
560
+ 60,
561
+ 107
562
+ ));
563
+ --uui-color-danger-standalone: var(--uui-palette-maroon-flush-dark,rgb(
564
+ 191,
565
+ 33,
566
+ 78
567
+ ));
254
568
  --uui-color-danger-contrast: white;
255
569
 
256
570
  --uui-color-invalid: var(--uui-palette-maroon-flush,#d42054);
257
- --uui-color-invalid-emphasis: var(--uui-palette-maroon-flush-light,rgb(226, 60, 107));
258
- --uui-color-invalid-standalone: var(--uui-palette-maroon-flush-dark,rgb(191, 33, 78));
571
+ --uui-color-invalid-emphasis: var(--uui-palette-maroon-flush-light,rgb(
572
+ 226,
573
+ 60,
574
+ 107
575
+ ));
576
+ --uui-color-invalid-standalone: var(--uui-palette-maroon-flush-dark,rgb(
577
+ 191,
578
+ 33,
579
+ 78
580
+ ));
259
581
  --uui-color-invalid-contrast: white;
260
582
 
261
583
  --uui-color-positive: var(--uui-palette-forest-green,#0b8152);
262
- --uui-color-positive-emphasis: var(--uui-palette-forest-green-light,rgb(13, 155, 98));
263
- --uui-color-positive-standalone: var(--uui-palette-forest-green-dark,rgb(10, 115, 73));
584
+ --uui-color-positive-emphasis: var(--uui-palette-forest-green-light,rgb(
585
+ 13,
586
+ 155,
587
+ 98
588
+ ));
589
+ --uui-color-positive-standalone: var(--uui-palette-forest-green-dark,rgb(
590
+ 10,
591
+ 115,
592
+ 73
593
+ ));
264
594
  --uui-color-positive-contrast: #fff;
265
595
  }
266
596
  :root[data-theme='dark'] {
@@ -340,7 +670,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
340
670
  @font-face {
341
671
  font-family: 'Lato';
342
672
  src: local('LatoLatin Black'), local('LatoLatin-Black'),
343
- url('../assets/fonts/lato/LatoLatin-Black.woff2') format('woff2');
673
+ url('../../assets/fonts/lato/LatoLatin-Black.woff2') format('woff2');
344
674
  font-style: normal;
345
675
  font-display: swap;
346
676
  font-weight: 900;
@@ -350,7 +680,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
350
680
  @font-face {
351
681
  font-family: 'Lato';
352
682
  src: local('LatoLatin BlackItalic'), local('LatoLatin-BlackItalic'),
353
- url('../assets/fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2');
683
+ url('../../assets/fonts/lato/LatoLatin-BlackItalic.woff2') format('woff2');
354
684
  font-style: italic;
355
685
  font-weight: 900;
356
686
  font-display: swap;
@@ -360,7 +690,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
360
690
  @font-face {
361
691
  font-family: 'Lato';
362
692
  src: local('LatoLatin Bold'), local('LatoLatin-Bold'),
363
- url('../assets/fonts/lato/LatoLatin-Bold.woff2') format('woff2');
693
+ url('../../assets/fonts/lato/LatoLatin-Bold.woff2') format('woff2');
364
694
  font-style: normal;
365
695
  font-weight: 700;
366
696
  font-display: swap;
@@ -370,7 +700,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
370
700
  @font-face {
371
701
  font-family: 'Lato';
372
702
  src: local('LatoLatin BoldItalic'), local('LatoLatin-BoldItalic'),
373
- url('../assets/fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2');
703
+ url('../../assets/fonts/lato/LatoLatin-BoldItalic.woff2') format('woff2');
374
704
  font-style: italic;
375
705
  font-weight: 700;
376
706
  font-display: swap;
@@ -380,7 +710,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
380
710
  @font-face {
381
711
  font-family: 'Lato';
382
712
  src: local('LatoLatin Italic'), local('LatoLatin-Italic'),
383
- url('../assets/fonts/lato/LatoLatin-Italic.woff2') format('woff2');
713
+ url('../../assets/fonts/lato/LatoLatin-Italic.woff2') format('woff2');
384
714
  font-style: italic;
385
715
  font-weight: 400;
386
716
  font-display: swap;
@@ -390,7 +720,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
390
720
  @font-face {
391
721
  font-family: 'Lato';
392
722
  src: local('LatoLatin Regular'), local('LatoLatin-Regular'),
393
- url('../assets/fonts/lato/LatoLatin-Regular.woff2') format('woff2');
723
+ url('../../assets/fonts/lato/LatoLatin-Regular.woff2') format('woff2');
394
724
  font-style: normal;
395
725
  font-weight: 400;
396
726
  font-display: swap;
@@ -400,7 +730,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
400
730
  @font-face {
401
731
  font-family: 'Lato';
402
732
  src: local('LatoLatin Light'), local('LatoLatin-Light'),
403
- url('../assets/fonts/lato/LatoLatin-Light.woff2') format('woff2');
733
+ url('../../assets/fonts/lato/LatoLatin-Light.woff2') format('woff2');
404
734
  font-style: normal;
405
735
  font-weight: 300;
406
736
  font-display: swap;
@@ -410,7 +740,7 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
410
740
  @font-face {
411
741
  font-family: 'Lato';
412
742
  src: local('LatoLatin LightItalic'), local('LatoLatin-LightItalic'),
413
- url('../assets/fonts/lato/LatoLatin-LightItalic.woff2') format('woff2');
743
+ url('../../assets/fonts/lato/LatoLatin-LightItalic.woff2') format('woff2');
414
744
  font-style: italic;
415
745
  font-weight: 300;
416
746
  font-display: swap;