@webority/theme 0.68.0 → 0.68.2

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.68.0",
3
+ "version": "0.68.2",
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": {
@@ -1221,7 +1221,10 @@ wui-select[compact] {
1221
1221
  border: none;
1222
1222
  border-radius: 0;
1223
1223
  background: transparent;
1224
- min-width: 0;
1224
+ // Room for four digits however narrow the field: with a unit beside it, a min-width of 0 let the value
1225
+ // shrink to about 20px and vanish. The stepper buttons give way first (flex-shrink below).
1226
+ min-width: calc(4ch + 8px);
1227
+ padding-inline: 4px;
1225
1228
  text-align: center;
1226
1229
  font-weight: 600;
1227
1230
  color: var(--color-text);
@@ -1237,7 +1240,10 @@ wui-select[compact] {
1237
1240
  .num-btn {
1238
1241
  display: grid;
1239
1242
  place-items: center;
1240
- width: 44px;
1243
+ // A 44px cell that shrinks before the value does in a narrow field.
1244
+ flex: 0 1 44px;
1245
+ min-width: 0;
1246
+ overflow: hidden;
1241
1247
  // Fill the field height and centre the glyph. `height: 100%` resolved to auto
1242
1248
  // against the wrap's content-based height and left the button icon-tall, pinned
1243
1249
  // to the top; align-self:stretch fills the full field so place-items centres it.
@@ -1250,7 +1256,6 @@ wui-select[compact] {
1250
1256
  transition:
1251
1257
  color 0.12s ease,
1252
1258
  background 0.12s ease;
1253
- flex: none;
1254
1259
  }
1255
1260
  .num-btn:hover:not(:disabled) {
1256
1261
  color: var(--color-primary-ink);
@@ -1286,7 +1291,7 @@ wui-select[compact] {
1286
1291
  border-radius: var(--wui-field-radius-sm);
1287
1292
  }
1288
1293
  .num-wrap-sm .num-btn {
1289
- width: 36px;
1294
+ flex-basis: 36px;
1290
1295
  }
1291
1296
  .num-wrap-sm .num-input {
1292
1297
  font-size: 13px;
@@ -1295,7 +1300,7 @@ wui-select[compact] {
1295
1300
  border-radius: var(--wui-field-radius-lg);
1296
1301
  }
1297
1302
  .num-wrap-lg .num-btn {
1298
- width: 52px;
1303
+ flex-basis: 52px;
1299
1304
  }
1300
1305
  .num-wrap-lg .num-input {
1301
1306
  font-size: 16px;