@webority/theme 0.176.0 → 0.177.0

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 (85) hide show
  1. package/README.md +7 -7
  2. package/dist/purge-safelist.json +2 -4
  3. package/dist/webority-modes.css +1 -1
  4. package/dist/webority-theme.css +1 -1
  5. package/dist/webority-tokens.css +1 -1
  6. package/package.json +5 -5
  7. package/scss/_bootstrap.generated.scss +1 -1
  8. package/scss/_components.scss +16 -8
  9. package/scss/_flags.scss +1 -1
  10. package/scss/_marketing.scss +2 -0
  11. package/scss/_tokens-modes.generated.scss +1 -1
  12. package/scss/_tokens.generated.scss +6 -6
  13. package/scss/_variables.scss +1 -1
  14. package/scss/_wui-core.scss +1 -1
  15. package/scss/_wui-residual.scss +10 -0
  16. package/scss/wui/_auth-layout.scss +2 -1
  17. package/scss/wui/_calendar.scss +2 -1
  18. package/scss/wui/_card.scss +2 -0
  19. package/scss/wui/_carousel.scss +2 -1
  20. package/scss/wui/_chart.scss +8 -4
  21. package/scss/wui/_choice.scss +23 -10
  22. package/scss/wui/_code-block.scss +2 -1
  23. package/scss/wui/_command-palette.scss +4 -2
  24. package/scss/wui/_comment-thread.scss +8 -4
  25. package/scss/wui/_compare-table.scss +2 -1
  26. package/scss/wui/_consent-banner.scss +2 -1
  27. package/scss/wui/_controls.scss +64 -100
  28. package/scss/wui/_data.scss +16 -8
  29. package/scss/wui/_detail-pane.scss +2 -1
  30. package/scss/wui/_disclosure.scss +2 -1
  31. package/scss/wui/_display.scss +34 -22
  32. package/scss/wui/_dock.scss +2 -1
  33. package/scss/wui/_drawer.scss +5 -4
  34. package/scss/wui/_empty-state.scss +2 -1
  35. package/scss/wui/_field-busy.scss +3 -6
  36. package/scss/wui/_field-floor.scss +1 -3
  37. package/scss/wui/_field-sizes.scss +7 -4
  38. package/scss/wui/_file-tiles.scss +4 -2
  39. package/scss/wui/_file-viewer.scss +8 -4
  40. package/scss/wui/_filter-popover.scss +2 -1
  41. package/scss/wui/_flow.scss +10 -5
  42. package/scss/wui/_gantt.scss +4 -2
  43. package/scss/wui/_groups.scss +8 -1
  44. package/scss/wui/_hover-card.scss +2 -1
  45. package/scss/wui/_image-crop.scss +6 -3
  46. package/scss/wui/_inline-edit.scss +2 -1
  47. package/scss/wui/_interaction.scss +1 -1
  48. package/scss/wui/_kanban.scss +16 -8
  49. package/scss/wui/_lightbox.scss +4 -2
  50. package/scss/wui/_markdown.scss +2 -1
  51. package/scss/wui/_media.scss +22 -11
  52. package/scss/wui/_mention-input.scss +1 -1
  53. package/scss/wui/_modal-remote.scss +4 -2
  54. package/scss/wui/_nav-list.scss +2 -1
  55. package/scss/wui/_navigation-menu.scss +5 -3
  56. package/scss/wui/_navigation.scss +16 -8
  57. package/scss/wui/_notification-center.scss +4 -2
  58. package/scss/wui/_onboarding-checklist.scss +6 -3
  59. package/scss/wui/_org-tree.scss +2 -1
  60. package/scss/wui/_overlays.scss +9 -5
  61. package/scss/wui/_page-header-bar.scss +1 -0
  62. package/scss/wui/_pagination.scss +5 -4
  63. package/scss/wui/_rating.scss +2 -1
  64. package/scss/wui/_rich-text.scss +10 -4
  65. package/scss/wui/_score-scale.scss +2 -1
  66. package/scss/wui/_sections.scss +10 -5
  67. package/scss/wui/_select.scss +8 -4
  68. package/scss/wui/_shell-parts.scss +40 -6
  69. package/scss/wui/_shell.scss +12 -6
  70. package/scss/wui/_shortcuts.scss +5 -3
  71. package/scss/wui/_sortable.scss +2 -1
  72. package/scss/wui/_split-view.scss +4 -2
  73. package/scss/wui/_support.scss +12 -0
  74. package/scss/wui/_table-server.scss +2 -1
  75. package/scss/wui/_toolbar.scss +4 -2
  76. package/scss/wui/_tree-picker.scss +6 -3
  77. package/scss/wui/_tree.scss +2 -1
  78. package/scss/wui/_truncate.scss +2 -1
  79. package/scss/wui/_utilities.scss +15 -7
  80. package/scss/wui/_whats-new.scss +4 -2
  81. package/scss/wui/_workspace.scss +1 -1
  82. package/scss/wui/forced-colors/_controls.scss +2 -11
  83. package/scss/wui/print/_content.scss +2 -6
  84. package/scss/wui/tour/_base.scss +1 -1
  85. package/token-meanings.json +1 -0
@@ -10,17 +10,14 @@
10
10
  // here may be overridden by a later partial. Never reorder the imports.
11
11
 
12
12
  // ── Checkbox / radio / switch ──
13
- // Bootstrap `.form-check` + `.form-check-input` are the public selection skin
14
- // (AppCheckbox / AppRadio / AppSwitch). `.wui-check` / `.wui-radio` are aliases
15
- // for the same glyph (AppDataTable select column + legacy `.wui-control`
16
- // markup), never a second look. One 20px brand glyph language.
13
+ // Bootstrap `.form-check` + `.form-check-input` are the selection skin
14
+ // (AppCheckbox / AppRadio / AppSwitch / the table select column). One 20px brand
15
+ // glyph language.
17
16
  //
18
17
  // Layout wrappers:
19
- // .form-check / .form-check-label: App* path
20
- // .wui-control / .wui-control-label: optional compact label wrap (alias)
18
+ // .form-check / .form-check-label: the label wrap
21
19
 
22
- .form-check,
23
- .wui-control {
20
+ .form-check {
24
21
  display: flex;
25
22
  align-items: center;
26
23
  gap: 8px;
@@ -33,9 +30,6 @@
33
30
  color: var(--color-text);
34
31
  line-height: 1.4;
35
32
  }
36
- .wui-control {
37
- display: inline-flex;
38
- }
39
33
  .form-check-inline {
40
34
  display: inline-flex;
41
35
  margin-inline-end: 16px;
@@ -46,8 +40,7 @@
46
40
  align-items: center;
47
41
  gap: 8px 20px;
48
42
  }
49
- .form-check-label,
50
- .wui-control-label {
43
+ .form-check-label {
51
44
  // `min-width: 0` lets the label wrap inside its column instead of forcing
52
45
  // the track to overflow.
53
46
  min-width: 0;
@@ -130,7 +123,8 @@
130
123
  padding: 14px 16px;
131
124
  min-height: 56px;
132
125
  border: 1px solid var(--color-border);
133
- border-radius: var(--wui-radius-md);
126
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
127
+ corner-shape: squircle;
134
128
  background: var(--color-surface);
135
129
  transition:
136
130
  border-color var(--wui-duration-fast) var(--wui-ease-ui),
@@ -190,10 +184,8 @@
190
184
  margin-bottom: 0;
191
185
  }
192
186
 
193
- // Glyph: shared by BS form-check-input and the wui-check alias.
194
- .form-check-input,
195
- .wui-check,
196
- .wui-radio {
187
+ // Glyph for checkboxes and radios.
188
+ .form-check-input {
197
189
  box-sizing: border-box;
198
190
  flex: none;
199
191
  float: none;
@@ -220,26 +212,20 @@
220
212
  float: none;
221
213
  margin: 0;
222
214
  }
223
- .form-check-input[type="checkbox"],
224
- .wui-check {
215
+ .form-check-input[type="checkbox"] {
225
216
  border-radius: var(--wui-radius-sm);
226
217
  corner-shape: squircle;
227
218
  }
228
- .form-check-input[type="radio"],
229
- .wui-radio {
219
+ .form-check-input[type="radio"] {
230
220
  border-radius: 50%;
231
221
  }
232
- .form-check-input:hover:not(:disabled):not(:checked),
233
- .wui-check:hover:not(:disabled):not(:checked),
234
- .wui-radio:hover:not(:disabled):not(:checked) {
222
+ .form-check-input:hover:not(:disabled):not(:checked) {
235
223
  border-color: var(--color-primary);
236
224
  box-shadow: 0 0 0 2px var(--color-primary-soft);
237
225
  }
238
226
  // Keyboard focus draws the shared ring, never the soft hover glow (under 3:1 and identical to
239
227
  // hover). :focus-visible matches keyboard/AT focus only, never a plain mouse click.
240
- .form-check-input:focus-visible,
241
- .wui-check:focus-visible,
242
- .wui-radio:focus-visible {
228
+ .form-check-input:focus-visible {
243
229
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
244
230
  outline-offset: var(--wui-focus-ring-offset);
245
231
  border-color: var(--color-primary);
@@ -249,11 +235,7 @@
249
235
  // darkening; Bootstrap paints all of them on :focus/:active. Neutralise them for pointer
250
236
  // focus + active while the keyboard ring above stays, so a mouse click just toggles cleanly.
251
237
  .form-check-input:focus:not(:focus-visible),
252
- .wui-check:focus:not(:focus-visible),
253
- .wui-radio:focus:not(:focus-visible),
254
- .form-check-input:active,
255
- .wui-check:active,
256
- .wui-radio:active {
238
+ .form-check-input:active {
257
239
  outline: none;
258
240
  box-shadow: none;
259
241
  filter: none;
@@ -262,30 +244,23 @@
262
244
  .form-check-input:focus:not(:focus-visible):not(:checked):not([type="checkbox"]:indeterminate):not(.form-switch .form-check-input) {
263
245
  border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
264
246
  }
265
- .form-check-input:checked,
266
- .wui-check:checked,
267
- .wui-radio:checked {
247
+ .form-check-input:checked {
268
248
  border-color: var(--color-primary);
269
249
  background-color: var(--color-primary);
270
250
  }
271
- .form-check-input[type="checkbox"]:checked,
272
- .wui-check:checked {
251
+ .form-check-input[type="checkbox"]:checked {
273
252
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
274
253
  }
275
- .form-check-input[type="checkbox"]:indeterminate,
276
- .wui-check:indeterminate {
254
+ .form-check-input[type="checkbox"]:indeterminate {
277
255
  border-color: var(--color-primary);
278
256
  background-color: var(--color-primary);
279
257
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
280
258
  }
281
- .form-check-input[type="radio"]:checked,
282
- .wui-radio:checked {
259
+ .form-check-input[type="radio"]:checked {
283
260
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5.5' fill='white'/%3E%3C/svg%3E");
284
261
  background-size: 20px 20px;
285
262
  }
286
- .form-check-input:disabled,
287
- .wui-check:disabled,
288
- .wui-radio:disabled {
263
+ .form-check-input:disabled {
289
264
  cursor: not-allowed;
290
265
  opacity: var(--wui-disabled-opacity);
291
266
  box-shadow: none;
@@ -293,21 +268,18 @@
293
268
  // A disabled box that is ticked keeps its primary fill, only dimmed; the muted fill is for an
294
269
  // empty one. :where keeps this at the :disabled specificity so the switch track still wins.
295
270
  // A radio in a group with nothing chosen also matches :indeterminate, hence the type test.
296
- .form-check-input:disabled:where(:not(:checked, [type="checkbox"]:indeterminate)),
297
- .wui-check:disabled:where(:not(:checked, :indeterminate)),
298
- .wui-radio:disabled:where(:not(:checked)) {
271
+ .form-check-input:disabled:where(:not(:checked, [type="checkbox"]:indeterminate)) {
299
272
  background-color: var(--color-bg-muted);
300
273
  border-color: var(--color-border);
301
274
  }
302
275
  .form-check-input:disabled ~ .form-check-label,
303
- .wui-control:has(:disabled) {
276
+ .form-check:has(:disabled) {
304
277
  cursor: not-allowed;
305
278
  color: var(--color-text-subtle);
306
279
  }
307
280
 
308
281
  // Compact row-select: ONLY inside the select column (AppDataTable / Razor
309
282
  // data-table → `.wui-select-cell`). Scope is load-bearing.
310
- .wui-select-cell .wui-check,
311
283
  .wui-select-cell .form-check-input {
312
284
  width: 16px;
313
285
  height: 16px;
@@ -391,17 +363,14 @@
391
363
  }
392
364
 
393
365
  @media (prefers-reduced-motion: reduce) {
394
- .form-check-input,
395
- .wui-check,
396
- .wui-radio {
366
+ .form-check-input {
397
367
  transition: none;
398
368
  }
399
369
  }
400
370
 
401
371
  // ── Field / Input ──
402
- // Bootstrap `.form-control` / `.form-select` are the field skin. `.input` /
403
- // `.select` / `.textarea` are aliases (and App* size/shell hooks) that MUST
404
- // share the same chrome; never a second look. The only WUI
372
+ // Bootstrap `.form-control` / `.form-select` are the field skin. `.input` is an App*
373
+ // size/shell hook that MUST share the same chrome; never a second look. The only WUI
405
374
  // deltas on top of Bootstrap's $input-* vars: shared control height, hover
406
375
  // fill, brand-border focus (no glow), soft invalid border.
407
376
  //
@@ -414,14 +383,13 @@
414
383
  // structure, not a parallel visual system.
415
384
  .form-control,
416
385
  .form-select,
417
- .input,
418
- .select,
419
- .textarea {
386
+ .input {
420
387
  box-sizing: border-box;
421
388
  width: 100%;
422
389
  height: var(--wui-control-md);
423
390
  padding: 6px 12px;
424
391
  border-radius: var(--wui-field-md-radius);
392
+ corner-shape: squircle;
425
393
  border: 1px solid var(--color-field-border);
426
394
  background: var(--color-field-bg);
427
395
  font-size: var(--wui-fs-xs);
@@ -441,6 +409,7 @@
441
409
  padding: 5px 10px;
442
410
  font-size: 13px;
443
411
  border-radius: var(--wui-field-sm-radius);
412
+ corner-shape: squircle;
444
413
  }
445
414
  .form-control-lg,
446
415
  .wui-input-lg {
@@ -448,6 +417,7 @@
448
417
  padding: 9px 16px;
449
418
  font-size: 16px;
450
419
  border-radius: var(--wui-field-lg-radius);
420
+ corner-shape: squircle;
451
421
  }
452
422
  .form-control-xl,
453
423
  .wui-input-xl {
@@ -455,8 +425,8 @@
455
425
  padding: var(--wui-space-sm) var(--wui-space-lg);
456
426
  font-size: var(--wui-fs-lg);
457
427
  border-radius: var(--wui-field-xl-radius);
428
+ corner-shape: squircle;
458
429
  }
459
- .textarea,
460
430
  textarea.form-control {
461
431
  height: auto;
462
432
  padding: 12px 15px 16px;
@@ -465,7 +435,6 @@ textarea.form-control {
465
435
  }
466
436
  // Auto-grow: JS drives the height to fit the content (Razor: data-app-autosize;
467
437
  // React: autoGrow). Manual grabber and scrollbar off so they can't fight measure.
468
- .textarea.autosize,
469
438
  textarea.form-control.autosize {
470
439
  resize: none;
471
440
  overflow: hidden;
@@ -482,17 +451,13 @@ textarea.form-control.autosize {
482
451
  .form-select:hover:not(:focus):not(:disabled):not([aria-invalid="true"]):not(.is-invalid):not(.error),
483
452
  .input:hover:not(:focus):not(:disabled):not([readonly]):not([aria-invalid="true"]):not(.is-invalid):not(.error):not(.open):not([aria-expanded="true"]):not(
484
453
  .phone-input-wrap > .input
485
- ):not([aria-disabled="true"]),
486
- .select:hover:not(:focus):not(:disabled):not([aria-invalid="true"]):not(.is-invalid):not(.error),
487
- .textarea:hover:not(:focus):not(:disabled):not([readonly]):not([aria-invalid="true"]):not(.is-invalid):not(.error) {
454
+ ):not([aria-disabled="true"]) {
488
455
  background-color: var(--color-field-bg);
489
456
  border-color: var(--color-field-border-hover);
490
457
  }
491
458
  .form-control:focus,
492
459
  .form-select:focus,
493
- .input:focus,
494
- .select:focus,
495
- .textarea:focus {
460
+ .input:focus {
496
461
  outline: none;
497
462
  // Lift off the muted resting fill onto a clean white surface while active.
498
463
  background-color: var(--color-surface);
@@ -502,8 +467,7 @@ textarea.form-control.autosize {
502
467
  box-shadow: none;
503
468
  }
504
469
  .form-control::placeholder,
505
- .input::placeholder,
506
- .textarea::placeholder {
470
+ .input::placeholder {
507
471
  color: var(--color-text-subtle);
508
472
  }
509
473
  // Borderless variant: no border/background, inherits the container's chrome
@@ -637,9 +601,7 @@ textarea.form-control.autosize {
637
601
  .form-control:-webkit-autofill,
638
602
  .form-control:-webkit-autofill:hover,
639
603
  .input:-webkit-autofill,
640
- .input:-webkit-autofill:hover,
641
- .textarea:-webkit-autofill,
642
- .textarea:-webkit-autofill:hover {
604
+ .input:-webkit-autofill:hover {
643
605
  -webkit-box-shadow: 0 0 0 1000px var(--color-field-bg) inset;
644
606
  box-shadow: 0 0 0 1000px var(--color-field-bg) inset;
645
607
  -webkit-text-fill-color: var(--color-text);
@@ -648,8 +610,7 @@ textarea.form-control.autosize {
648
610
  }
649
611
  // Focus lifts the autofilled field onto the clean surface, matching the typed-value focus state.
650
612
  .form-control:-webkit-autofill:focus,
651
- .input:-webkit-autofill:focus,
652
- .textarea:-webkit-autofill:focus {
613
+ .input:-webkit-autofill:focus {
653
614
  -webkit-box-shadow: 0 0 0 1000px var(--color-surface) inset;
654
615
  box-shadow: 0 0 0 1000px var(--color-surface) inset;
655
616
  -webkit-text-fill-color: var(--color-text);
@@ -658,9 +619,7 @@ textarea.form-control.autosize {
658
619
  }
659
620
  .form-control:disabled,
660
621
  .form-select:disabled,
661
- .input:disabled,
662
- .select:disabled,
663
- .textarea:disabled {
622
+ .input:disabled {
664
623
  // A touch deeper than the resting fill so a disabled field stays distinct now that
665
624
  // the resting state is itself filled (--color-border = #EBEDF3, per the reference).
666
625
  background: var(--color-border);
@@ -676,8 +635,7 @@ textarea.form-control.autosize {
676
635
  // (--color-text-muted = #4B5675) so it stays legible against the deeper disabled fill.
677
636
  .form-control:disabled::placeholder,
678
637
  .form-select:disabled::placeholder,
679
- .input:disabled::placeholder,
680
- .textarea:disabled::placeholder {
638
+ .input:disabled::placeholder {
681
639
  color: var(--color-text-muted);
682
640
  }
683
641
 
@@ -686,9 +644,7 @@ textarea.form-control.autosize {
686
644
  // disabled and non-editable controls).
687
645
  .form-control[readonly],
688
646
  .form-select[readonly],
689
- .input[readonly],
690
- .select[readonly],
691
- .textarea[readonly] {
647
+ .input[readonly] {
692
648
  background: var(--color-bg-subtle);
693
649
  color: var(--color-text-muted);
694
650
  cursor: default;
@@ -700,29 +656,19 @@ textarea.form-control.autosize {
700
656
  .form-control.is-invalid,
701
657
  .form-select.is-invalid,
702
658
  .input.is-invalid,
703
- .select.is-invalid,
704
- .textarea.is-invalid,
705
659
  .form-control.is-invalid:focus,
706
660
  .form-select.is-invalid:focus,
707
661
  .input.is-invalid:focus,
708
- .select.is-invalid:focus,
709
- .textarea.is-invalid:focus,
710
662
  .form-control[aria-invalid="true"],
711
663
  .form-select[aria-invalid="true"],
712
664
  .input[aria-invalid="true"],
713
- .select[aria-invalid="true"],
714
- .textarea[aria-invalid="true"],
715
665
  .form-control[aria-invalid="true"]:focus,
716
666
  .form-select[aria-invalid="true"]:focus,
717
667
  .input[aria-invalid="true"]:focus,
718
- .select[aria-invalid="true"]:focus,
719
- .textarea[aria-invalid="true"]:focus,
720
668
  .form-control.error,
721
669
  .input.error,
722
- .textarea.error,
723
670
  .form-control.error:focus,
724
- .input.error:focus,
725
- .textarea.error:focus {
671
+ .input.error:focus {
726
672
  background: var(--color-surface);
727
673
  // Soft danger border (danger at 30%, mirroring the primary-30 focus border). No ring,
728
674
  // so the field reads as a quiet error, not a solid alarm box.
@@ -812,8 +758,8 @@ form .wui-field-message:empty {
812
758
  }
813
759
  }
814
760
 
815
- // Native select with a rounded squircle, custom chevron, off-surface fill.
816
- .select {
761
+ // The pager's native select: a rounded squircle, custom chevron, off-surface fill.
762
+ .tpg-select {
817
763
  appearance: none;
818
764
  -webkit-appearance: none;
819
765
  padding-inline-end: 40px;
@@ -823,7 +769,7 @@ form .wui-field-message:empty {
823
769
  background-size: 16px;
824
770
  cursor: pointer;
825
771
  }
826
- .select:dir(rtl) {
772
+ .tpg-select:dir(rtl) {
827
773
  background-position: left 14px center;
828
774
  }
829
775
 
@@ -1106,7 +1052,8 @@ form .wui-field-message:empty {
1106
1052
  border: none;
1107
1053
  background: transparent;
1108
1054
  color: var(--color-text-subtle);
1109
- border-radius: var(--wui-radius-md);
1055
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
1056
+ corner-shape: squircle;
1110
1057
  cursor: pointer;
1111
1058
  transition:
1112
1059
  color var(--wui-duration-fast) var(--wui-ease-ui),
@@ -1177,6 +1124,7 @@ form .wui-field-message:empty {
1177
1124
  width: 100%;
1178
1125
  border: 1px solid var(--color-field-border);
1179
1126
  border-radius: var(--wui-field-md-radius);
1127
+ corner-shape: squircle;
1180
1128
  // Soft-filled at rest, white on focus; one shared fill for the whole control so the
1181
1129
  // prefix/suffix and the input body are always the SAME colour combination as the field.
1182
1130
  background: var(--color-field-bg);
@@ -1230,10 +1178,12 @@ form .wui-field-message:empty {
1230
1178
  .input-affixed .affix-pre {
1231
1179
  border-inline-end: 1px solid var(--color-border);
1232
1180
  border-radius: var(--wui-field-md-radius) 0 0 var(--wui-field-md-radius);
1181
+ corner-shape: squircle;
1233
1182
  }
1234
1183
  .input-affixed .affix-suf {
1235
1184
  border-inline-start: 1px solid var(--color-border);
1236
1185
  border-radius: 0 var(--wui-field-md-radius) var(--wui-field-md-radius) 0;
1186
+ corner-shape: squircle;
1237
1187
  }
1238
1188
 
1239
1189
  // Floating label: the label starts centred as the placeholder, then slides up and shrinks
@@ -1253,7 +1203,8 @@ form .wui-field-message:empty {
1253
1203
  padding: 0 6px;
1254
1204
  // Rounded so the background mask reads as a soft pill sitting on the border, not a sharp
1255
1205
  // rectangle. Invisible at rest (label fill == field fill); only shows once it floats up.
1256
- border-radius: var(--wui-radius-sm);
1206
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
1207
+ corner-shape: squircle;
1257
1208
  max-width: calc(100% - 24px);
1258
1209
  overflow: hidden;
1259
1210
  text-overflow: ellipsis;
@@ -1446,6 +1397,12 @@ wui-date-time {
1446
1397
  display: block;
1447
1398
  width: 100%;
1448
1399
  }
1400
+ // The time picker keeps its own width, but never runs past a narrow field: an inline host has no
1401
+ // width for the inner max-width to measure against.
1402
+ wui-timepicker {
1403
+ display: block;
1404
+ max-width: 100%;
1405
+ }
1449
1406
  .field > wui-select,
1450
1407
  .field > wui-phone,
1451
1408
  .field > wui-datepicker,
@@ -1485,7 +1442,8 @@ wui-date-time {
1485
1442
  // red border around a non-input group (e.g. a structure-form card row)
1486
1443
  .group-invalid {
1487
1444
  border: 1px solid var(--color-danger);
1488
- border-radius: var(--wui-radius-md);
1445
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
1446
+ corner-shape: squircle;
1489
1447
  padding: 8px;
1490
1448
  }
1491
1449
 
@@ -1496,6 +1454,7 @@ wui-date-time {
1496
1454
  align-items: stretch;
1497
1455
  border: 1px solid var(--color-field-border);
1498
1456
  border-radius: var(--wui-field-md-radius);
1457
+ corner-shape: squircle;
1499
1458
  // Soft-filled at rest, white on focus; the numeric input and its unit pill share the
1500
1459
  // one wrapper fill, same colour combination as every other field.
1501
1460
  background: var(--color-field-bg);
@@ -1568,8 +1527,9 @@ wui-date-time {
1568
1527
  display: flex;
1569
1528
  align-items: stretch;
1570
1529
  border: 1px solid var(--color-field-border);
1571
- // Field radius ladder (matches AppInput): md 18px; sm/lg step below.
1530
+ // Field radius ladder (matches AppInput); sm/lg step below.
1572
1531
  border-radius: var(--wui-field-md-radius);
1532
+ corner-shape: squircle;
1573
1533
  // Match AppInput exactly: muted resting fill that lifts to a clean surface on focus.
1574
1534
  background: var(--color-field-bg);
1575
1535
  transition:
@@ -1675,6 +1635,7 @@ wui-date-time {
1675
1635
  // cells to match. Default (md) uses the control-height cell above.
1676
1636
  .wui-num-wrap-sm {
1677
1637
  border-radius: var(--wui-field-sm-radius);
1638
+ corner-shape: squircle;
1678
1639
  }
1679
1640
  .wui-num-wrap-sm .num-btn {
1680
1641
  flex-basis: var(--wui-control-sm);
@@ -1684,6 +1645,7 @@ wui-date-time {
1684
1645
  }
1685
1646
  .wui-num-wrap-lg {
1686
1647
  border-radius: var(--wui-field-lg-radius);
1648
+ corner-shape: squircle;
1687
1649
  }
1688
1650
  .wui-num-wrap-lg .num-btn {
1689
1651
  flex-basis: var(--wui-control-lg);
@@ -1693,6 +1655,7 @@ wui-date-time {
1693
1655
  }
1694
1656
  .wui-num-wrap-xl {
1695
1657
  border-radius: var(--wui-field-xl-radius);
1658
+ corner-shape: squircle;
1696
1659
  }
1697
1660
  .wui-num-wrap-xl .num-btn {
1698
1661
  flex-basis: var(--wui-control-xl);
@@ -2008,6 +1971,7 @@ wui-otp {
2008
1971
  // field radius. State rules below mirror AppInput's hover/focus/invalid/disabled.
2009
1972
  border: 1px solid var(--color-field-border);
2010
1973
  border-radius: var(--wui-field-md-radius);
1974
+ corner-shape: squircle;
2011
1975
  background: var(--color-field-bg);
2012
1976
  font-size: 18px;
2013
1977
  font-weight: 600;
@@ -130,7 +130,8 @@
130
130
  height: 28px;
131
131
  padding: 0;
132
132
  border: none;
133
- border-radius: var(--wui-radius-sm, 6px);
133
+ border-radius: calc(var(--wui-radius-sm, 6px) * var(--wui-squircle-scale));
134
+ corner-shape: squircle;
134
135
  background: transparent;
135
136
  color: var(--color-text-subtle);
136
137
  cursor: pointer;
@@ -204,11 +205,13 @@
204
205
  }
205
206
  .table-ledger thead th:first-child {
206
207
  padding-inline-start: 20px;
207
- border-radius: var(--wui-radius-sm) 0 0 var(--wui-radius-sm);
208
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale)) 0 0 calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
209
+ corner-shape: squircle;
208
210
  }
209
211
  .table-ledger thead th:last-child {
210
212
  padding-inline-end: 20px;
211
- border-radius: 0 var(--wui-radius-sm) var(--wui-radius-sm) 0;
213
+ border-radius: 0 calc(var(--wui-radius-sm) * var(--wui-squircle-scale)) calc(var(--wui-radius-sm) * var(--wui-squircle-scale)) 0;
214
+ corner-shape: squircle;
212
215
  }
213
216
  .table-ledger tbody td,
214
217
  .table-ledger tbody th.wui-row-header {
@@ -419,7 +422,8 @@
419
422
  min-height: 40px;
420
423
  padding-block: var(--wui-space-xs);
421
424
  padding-inline: var(--wui-space-lg) var(--wui-space-sm);
422
- border-radius: var(--wui-radius-md);
425
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
426
+ corner-shape: squircle;
423
427
  background: var(--color-primary-soft);
424
428
  }
425
429
  .wui-table-toolbar-count {
@@ -560,7 +564,8 @@
560
564
  padding: 12px;
561
565
  background: var(--color-surface);
562
566
  border: 1px solid var(--color-border);
563
- border-radius: var(--wui-radius-xl);
567
+ border-radius: calc(var(--wui-radius-xl) * var(--wui-squircle-scale));
568
+ corner-shape: squircle;
564
569
  box-shadow: var(--wui-shadow-popover);
565
570
  }
566
571
  .wui-filter-more-panel.wui-filter-more-panel-end {
@@ -598,7 +603,8 @@
598
603
  overflow-y: auto;
599
604
  padding: 16px 20px 24px;
600
605
  border-width: 1px 0 0;
601
- border-radius: var(--wui-radius-xl) var(--wui-radius-xl) 0 0;
606
+ border-radius: calc(var(--wui-radius-xl) * var(--wui-squircle-scale)) calc(var(--wui-radius-xl) * var(--wui-squircle-scale)) 0 0;
607
+ corner-shape: squircle;
602
608
  }
603
609
  .wui-filter-more[open] > summary::before {
604
610
  content: "";
@@ -888,7 +894,8 @@
888
894
  margin-bottom: 12px;
889
895
  padding: 12px 16px;
890
896
  border: 1px solid var(--color-border);
891
- border-radius: var(--wui-radius-lg, 12px);
897
+ border-radius: calc(var(--wui-radius-lg, 12px) * var(--wui-squircle-scale));
898
+ corner-shape: squircle;
892
899
  }
893
900
  // No wrap: the label always sits beside its value, so a column lays out the same on every card whatever the value's length.
894
901
  .table-ledger.wui-table-stack > tbody > tr > td,
@@ -1612,7 +1619,8 @@ wui-data-table {
1612
1619
  padding-block: var(--wui-space-xs);
1613
1620
  padding-inline: var(--wui-space-xs) var(--wui-space-sm);
1614
1621
  border: none;
1615
- border-radius: var(--wui-radius-sm, 6px);
1622
+ border-radius: calc(var(--wui-radius-sm, 6px) * var(--wui-squircle-scale));
1623
+ corner-shape: squircle;
1616
1624
  background: transparent;
1617
1625
  color: inherit;
1618
1626
  font: inherit;
@@ -15,7 +15,8 @@
15
15
  .wui-detail-pane > .wui-modal {
16
16
  max-width: none;
17
17
  border: 1px solid var(--color-border);
18
- border-radius: var(--wui-radius-lg);
18
+ border-radius: var(--wui-radius-2xl);
19
+ corner-shape: squircle;
19
20
  box-shadow: none;
20
21
  background: var(--color-surface);
21
22
  }
@@ -29,7 +29,8 @@
29
29
  background: var(--color-surface);
30
30
  overflow: hidden;
31
31
  transition: border-color var(--wui-duration-fast) var(--wui-ease-ui);
32
- border-radius: var(--wui-field-md-radius);
32
+ border-radius: var(--wui-radius-2xl);
33
+ corner-shape: squircle;
33
34
  }
34
35
  .wui-accordion-item:hover:not(.open) {
35
36
  border-color: var(--color-border-strong);