@webority/theme 0.139.2 → 0.139.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/theme",
3
- "version": "0.139.2",
3
+ "version": "0.139.4",
4
4
  "description": "Webority shared design system — Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
@@ -47,7 +47,7 @@
47
47
  "postcss": "^8.5.31"
48
48
  },
49
49
  "devDependencies": {
50
- "@webority/tokens": "0.139.2",
50
+ "@webority/tokens": "0.139.4",
51
51
  "bootstrap": "5.3.3",
52
52
  "country-flag-icons": "^1.6.20",
53
53
  "sass-embedded": "^1.97.0",
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.139.2 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.139.4 from its token source. Do not edit; run webority brand --library.
2
2
  $body-color: #252f4a !default;
3
3
  $body-secondary-color: #4b5675 !default;
4
4
  $body-tertiary-color: #626a82 !default;
@@ -1,4 +1,4 @@
1
- // Generated by @webority/tokens 0.139.2 from its token source. Do not edit; run webority brand --library.
1
+ // Generated by @webority/tokens 0.139.4 from its token source. Do not edit; run webority brand --library.
2
2
 
3
3
  :root {
4
4
  --wui-primary: #4F46E5;
@@ -51,8 +51,7 @@
51
51
  .wui-select-caret {
52
52
  flex-shrink: 0;
53
53
  color: var(--color-text-subtle);
54
- --wui-select-ease: ease;
55
- transition: transform var(--wui-duration-fast) var(--wui-select-ease);
54
+ transition: transform var(--wui-duration-fast) var(--wui-ease-ui);
56
55
  }
57
56
  .wui-select-caret path {
58
57
  stroke-width: 2px;
@@ -76,15 +75,13 @@
76
75
  .wui-select-sm .wui-select-control {
77
76
  height: var(--wui-control-sm);
78
77
  min-height: var(--wui-control-sm);
79
- --wui-select-font-size: 13px;
80
- font-size: var(--wui-select-font-size);
78
+ font-size: var(--wui-fs-xs);
81
79
  border-radius: var(--wui-radius-sm);
82
80
  }
83
81
  .wui-select-lg .wui-select-control {
84
82
  height: var(--wui-control-lg);
85
83
  min-height: var(--wui-control-lg);
86
- --wui-select-font-size: 16px;
87
- font-size: var(--wui-select-font-size);
84
+ font-size: var(--wui-fs-base);
88
85
  border-radius: var(--wui-radius-sm);
89
86
  }
90
87
  // Multi-select grows with its chips, so a size sets the FLOOR (min-height from the rule
@@ -107,15 +104,12 @@
107
104
  width: 20px;
108
105
  height: 20px;
109
106
  border-radius: 50%;
110
- --wui-select-reset-font-size: 12px;
111
- --wui-select-hover-duration: 0.12s;
112
- --wui-select-ease: ease;
113
- font-size: var(--wui-select-reset-font-size);
107
+ font-size: var(--wui-fs-xs);
114
108
  color: var(--color-text-subtle);
115
109
  cursor: pointer;
116
110
  transition:
117
- background var(--wui-select-hover-duration) var(--wui-select-ease),
118
- color var(--wui-select-hover-duration) var(--wui-select-ease);
111
+ background var(--wui-duration-fast) var(--wui-ease-ui),
112
+ color var(--wui-duration-fast) var(--wui-ease-ui);
119
113
  }
120
114
  .wui-select-reset:hover {
121
115
  background: var(--color-bg-muted);
@@ -128,8 +122,7 @@
128
122
  flex-shrink: 0;
129
123
  display: inline-flex;
130
124
  color: var(--color-text-muted);
131
- --wui-select-icon-size: 15px;
132
- font-size: var(--wui-select-icon-size);
125
+ font-size: var(--wui-fs-sm);
133
126
  }
134
127
  .wui-select-prefix {
135
128
  flex-shrink: 0;
@@ -204,12 +197,10 @@
204
197
  // Sits at the box's 12px right padding; a small negative margin nudges it
205
198
  // closer to the edge so it lines up with the field's own trailing controls.
206
199
  margin-right: calc(-1 * var(--wui-space-xs));
207
- --wui-select-clear-font-size: 20px;
208
- --wui-select-clear-line-height: 1;
209
- font-size: var(--wui-select-clear-font-size);
200
+ font-size: var(--wui-fs-lg);
210
201
  // Tight line box: at normal line-height the icon's box is taller than the
211
202
  // button, so bootstrap-icons' baseline offset drifts the glyph low.
212
- line-height: var(--wui-select-clear-line-height);
203
+ line-height: var(--wui-lh-display);
213
204
  cursor: pointer;
214
205
  color: var(--color-text-subtle);
215
206
  }
@@ -244,8 +235,7 @@
244
235
  width: 100%;
245
236
  text-align: left;
246
237
  padding: var(--wui-space-sm) var(--wui-space-md);
247
- --wui-select-option-line-height: 1.4;
248
- line-height: var(--wui-select-option-line-height);
238
+ line-height: var(--wui-lh-body);
249
239
  border: none;
250
240
  border-radius: var(--wui-radius-sm);
251
241
  corner-shape: squircle;
@@ -253,11 +243,9 @@
253
243
  font-size: var(--wui-fs-sm);
254
244
  color: var(--color-text-body);
255
245
  cursor: pointer;
256
- --wui-select-hover-duration: 0.12s;
257
- --wui-select-ease: ease;
258
246
  transition:
259
- background var(--wui-select-hover-duration) var(--wui-select-ease),
260
- color var(--wui-select-hover-duration) var(--wui-select-ease);
247
+ background var(--wui-duration-fast) var(--wui-ease-ui),
248
+ color var(--wui-duration-fast) var(--wui-ease-ui);
261
249
  }
262
250
  // The row under the pointer or the keyboard takes the muted fill, with no outline.
263
251
  .wui-select-option:hover,
@@ -272,10 +260,8 @@
272
260
  }
273
261
  .wui-select-empty,
274
262
  .wui-select-hint {
275
- --wui-select-note-padding-x: 10px;
276
- --wui-select-note-font-size: 13px;
277
- padding: var(--wui-space-md) var(--wui-select-note-padding-x);
278
- font-size: var(--wui-select-note-font-size);
263
+ padding: var(--wui-space-md) var(--wui-space-sm);
264
+ font-size: var(--wui-fs-xs);
279
265
  color: var(--color-text-subtle);
280
266
  text-align: center;
281
267
  }
@@ -385,8 +371,7 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
385
371
  }
386
372
  .wui-opt-hint {
387
373
  flex: none;
388
- --wui-select-hint-font-size: 0.75rem;
389
- font-size: var(--wui-select-hint-font-size);
374
+ font-size: var(--wui-fs-xs);
390
375
  color: var(--color-text-muted);
391
376
  }
392
377
  // A disabled row stays readable and reachable by the keyboard, but never looks choosable:
@@ -492,8 +477,7 @@ wui-select[density="compact"] .wui-select-control {
492
477
  font-weight: var(--wui-fw-semibold);
493
478
  }
494
479
  wui-select[density="compact"] .wui-select-caret {
495
- --wui-select-caret-font-size: 12px;
496
- font-size: var(--wui-select-caret-font-size);
480
+ font-size: var(--wui-fs-xs);
497
481
  }
498
482
  wui-select[density="compact"] .wui-select-sm .wui-select-control {
499
483
  height: var(--wui-control-sm);