@webority/theme 0.176.0 → 0.178.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 +3 -5
  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 +65 -104
  28. package/scss/wui/_data.scss +19 -9
  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 -5
  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 +10 -6
  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 +21 -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 +63 -34
  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
@@ -78,10 +78,12 @@
78
78
 
79
79
  // ── Shape ── (`shape`): the disc is the default; rounded/square are card-like.
80
80
  .avatar-rounded {
81
- border-radius: 25%;
81
+ border-radius: calc(25% * var(--wui-squircle-scale));
82
+ corner-shape: squircle;
82
83
  }
83
84
  .avatar-square {
84
- border-radius: 12%;
85
+ border-radius: calc(12% * var(--wui-squircle-scale));
86
+ corner-shape: squircle;
85
87
  }
86
88
 
87
89
  // ── Tone ── (`tone`): the initials fill. `auto` derives a stable hue from the name.
@@ -204,7 +206,8 @@
204
206
  left: 50%;
205
207
  transform: translateX(-50%) translateY(4px);
206
208
  padding: 4px 8px;
207
- border-radius: var(--wui-radius-sm);
209
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
210
+ corner-shape: squircle;
208
211
  background: var(--color-text);
209
212
  color: var(--color-surface);
210
213
  font-size: 12px;
@@ -307,7 +310,8 @@
307
310
  gap: 12px;
308
311
  padding: 12px 14px;
309
312
  border: 1px dashed var(--color-border);
310
- border-radius: var(--wui-radius-lg);
313
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
314
+ corner-shape: squircle;
311
315
  background: var(--color-surface);
312
316
  cursor: pointer;
313
317
  transition:
@@ -382,7 +386,8 @@
382
386
  .attach-preview {
383
387
  width: 100%;
384
388
  border: 1px solid var(--color-border);
385
- border-radius: var(--wui-radius-lg);
389
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
390
+ corner-shape: squircle;
386
391
  background: var(--color-surface);
387
392
  overflow: hidden;
388
393
  }
@@ -478,7 +483,8 @@
478
483
  gap: 12px;
479
484
  padding: 8px 12px;
480
485
  border: 1px solid var(--color-border);
481
- border-radius: var(--wui-radius-lg);
486
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
487
+ corner-shape: squircle;
482
488
  background: var(--color-surface);
483
489
  min-width: 0;
484
490
  }
@@ -489,7 +495,8 @@
489
495
  display: inline-flex;
490
496
  align-items: center;
491
497
  justify-content: center;
492
- border-radius: var(--wui-radius-md);
498
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
499
+ corner-shape: squircle;
493
500
  overflow: hidden;
494
501
  background: var(--color-bg-muted);
495
502
  color: var(--color-primary-text);
@@ -1239,13 +1246,15 @@
1239
1246
  .wui-image-picker-rounded .wui-image-picker-img,
1240
1247
  .wui-image-picker-rounded .wui-image-picker-logo,
1241
1248
  .wui-image-picker-rounded .wui-image-picker-overlay {
1242
- border-radius: 18px;
1249
+ border-radius: calc(18px * var(--wui-squircle-scale));
1250
+ corner-shape: squircle;
1243
1251
  }
1244
1252
  .wui-image-picker-square .wui-image-picker-ring,
1245
1253
  .wui-image-picker-square .wui-image-picker-img,
1246
1254
  .wui-image-picker-square .wui-image-picker-logo,
1247
1255
  .wui-image-picker-square .wui-image-picker-overlay {
1248
- border-radius: 8px;
1256
+ border-radius: calc(8px * var(--wui-squircle-scale));
1257
+ corner-shape: squircle;
1249
1258
  }
1250
1259
 
1251
1260
  // Minimals-style rounded logo dropzone (workspace branding form).
@@ -1260,7 +1269,8 @@
1260
1269
  width: 104px;
1261
1270
  height: 104px;
1262
1271
  flex: none;
1263
- border-radius: var(--wui-radius-lg);
1272
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
1273
+ corner-shape: squircle;
1264
1274
  border: 1.5px dashed var(--color-border-strong);
1265
1275
  background: var(--color-bg-subtle);
1266
1276
  display: grid;
@@ -1294,7 +1304,8 @@
1294
1304
  max-width: 100%;
1295
1305
  max-height: 100%;
1296
1306
  object-fit: contain;
1297
- border-radius: var(--wui-radius-md);
1307
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
1308
+ corner-shape: squircle;
1298
1309
  }
1299
1310
  // hover overlay (camera + label), like the Minimals avatar uploader
1300
1311
  .logo-dropzone-overlay {
@@ -28,7 +28,7 @@
28
28
  padding: 4px;
29
29
  background: var(--color-surface);
30
30
  border: 1px solid var(--color-border);
31
- border-radius: var(--wui-radius-lg);
31
+ border-radius: var(--wui-radius-2xl);
32
32
  corner-shape: squircle;
33
33
  box-shadow: var(--wui-shadow-popover);
34
34
  }
@@ -15,7 +15,8 @@
15
15
  }
16
16
  .wui-modal-skeleton {
17
17
  height: 14px;
18
- border-radius: var(--wui-radius-sm);
18
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
19
+ corner-shape: squircle;
19
20
  }
20
21
  .wui-modal-skeleton--short {
21
22
  width: 60%;
@@ -121,7 +122,8 @@ dialog.wui-modal-shell.wui-remote-drawer[open] .modal-dialog.wui-remote-drawer-d
121
122
  .modal.wui-remote-drawer .wui-remote-drawer-dialog .wui-modal {
122
123
  height: auto;
123
124
  max-height: 90dvh;
124
- border-radius: var(--wui-radius-lg) var(--wui-radius-lg) 0 0;
125
+ border-radius: var(--wui-radius-2xl) var(--wui-radius-2xl) 0 0;
126
+ corner-shape: squircle;
125
127
  }
126
128
  .modal.wui-remote-drawer .wui-remote-drawer-dialog .wui-modal::before {
127
129
  content: "";
@@ -19,7 +19,8 @@
19
19
  min-height: 40px;
20
20
  padding: var(--wui-space-xs) var(--wui-space-sm);
21
21
  border: 0;
22
- border-radius: var(--wui-radius-lg);
22
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
23
+ corner-shape: squircle;
23
24
  background: none;
24
25
  color: var(--color-text);
25
26
  font: inherit;
@@ -32,7 +32,8 @@ wui-navigation-menu {
32
32
  width: 100%;
33
33
  padding: 8px 12px;
34
34
  border: 0;
35
- border-radius: var(--wui-radius-sm);
35
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
36
+ corner-shape: squircle;
36
37
  background: var(--wui-nav-menu-item-bg, transparent);
37
38
  color: var(--color-text);
38
39
  font: inherit;
@@ -110,7 +111,8 @@ wui-navigation-menu {
110
111
  align-items: flex-start;
111
112
  gap: 10px;
112
113
  padding: 8px 10px;
113
- border-radius: var(--wui-radius-sm);
114
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
115
+ corner-shape: squircle;
114
116
  color: var(--color-text);
115
117
  text-decoration: none;
116
118
 
@@ -165,7 +167,7 @@ wui-navigation-menu {
165
167
  max-width: min(36rem, calc(100vw - 16px));
166
168
  padding: 8px;
167
169
  border: 1px solid var(--color-border);
168
- border-radius: var(--wui-radius-md);
170
+ border-radius: var(--wui-radius-2xl);
169
171
  corner-shape: squircle;
170
172
  background: var(--color-surface);
171
173
  box-shadow: var(--wui-shadow-popover);
@@ -187,7 +187,8 @@
187
187
  width: 18px;
188
188
  height: 18px;
189
189
  object-fit: cover;
190
- border-radius: var(--wui-radius-sm);
190
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
191
+ corner-shape: squircle;
191
192
  }
192
193
  .app-tab:hover:not(:disabled):not(.disabled):not(.active) {
193
194
  color: var(--color-text);
@@ -243,7 +244,8 @@
243
244
  .app-tab:focus-visible {
244
245
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
245
246
  outline-offset: var(--wui-focus-ring-inset);
246
- border-radius: var(--wui-radius-sm);
247
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
248
+ corner-shape: squircle;
247
249
  }
248
250
  // A destructive tab reads as destructive whether or not it is the active one.
249
251
  .app-tab.danger {
@@ -333,6 +335,11 @@
333
335
  background: color-mix(in srgb, var(--color-info) 16%, transparent);
334
336
  color: var(--color-info-text);
335
337
  }
338
+ // A count the page fills in later: a still skeleton pill two digits wide until then.
339
+ .app-tab .app-tab-count:empty {
340
+ width: calc(2ch + 12px);
341
+ background: var(--color-border-strong);
342
+ }
336
343
 
337
344
  // ── Sizes ──
338
345
  .app-tabs-sm .app-tab {
@@ -391,7 +398,8 @@
391
398
  .app-tabs-pills .app-tab {
392
399
  border-bottom: 0;
393
400
  margin-bottom: 0;
394
- border-radius: var(--wui-radius-md);
401
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
402
+ corner-shape: squircle;
395
403
  }
396
404
  // Fallback fill until the moving pill is wired.
397
405
  .app-tabs-pills .app-tab.active {
@@ -408,7 +416,8 @@
408
416
  // The pill fills the whole tab — no underline inset.
409
417
  --wui-tab-underline-inset: 0px;
410
418
  background: var(--color-primary-soft);
411
- border-radius: var(--wui-radius-md);
419
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
420
+ corner-shape: squircle;
412
421
  }
413
422
  .app-tabs-pills[data-active-danger] .app-tab-indicator {
414
423
  background: var(--color-danger-soft);
@@ -560,7 +569,8 @@
560
569
  max-width: min(320px, calc(100vw - 8px));
561
570
  padding: 4px;
562
571
  border: 1px solid var(--color-border);
563
- border-radius: var(--wui-radius-md);
572
+ border-radius: var(--wui-radius-2xl);
573
+ corner-shape: squircle;
564
574
  background: var(--color-surface);
565
575
  box-shadow: var(--wui-shadow-popover);
566
576
  }
@@ -569,7 +579,8 @@
569
579
  width: 100%;
570
580
  padding: 8px 10px;
571
581
  border: 0;
572
- border-radius: var(--wui-radius-sm);
582
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
583
+ corner-shape: squircle;
573
584
  background: transparent;
574
585
  color: var(--color-text);
575
586
  font-family: inherit;
@@ -690,7 +701,8 @@
690
701
  height: 36px;
691
702
  padding: 0;
692
703
  border: 0;
693
- border-radius: var(--wui-field-md-radius);
704
+ border-radius: var(--wui-radius-2xl);
705
+ corner-shape: squircle;
694
706
  background: transparent;
695
707
  color: var(--color-text-muted);
696
708
  cursor: pointer;
@@ -841,7 +853,8 @@
841
853
  align-items: center;
842
854
  padding: 0 var(--wui-space-xs);
843
855
  border: 0;
844
- border-radius: var(--wui-radius-sm);
856
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
857
+ corner-shape: squircle;
845
858
  background: transparent;
846
859
  color: var(--color-text-muted);
847
860
  line-height: inherit;
@@ -61,7 +61,8 @@
61
61
  max-width: calc(100vw - 24px);
62
62
  overflow: hidden;
63
63
  border: 1px solid var(--color-border);
64
- border-radius: var(--wui-radius-lg);
64
+ border-radius: var(--wui-radius-2xl);
65
+ corner-shape: squircle;
65
66
  background: var(--color-surface);
66
67
  box-shadow: var(--wui-shadow-popover);
67
68
  // Focus lands on the panel itself when it opens; the controls inside carry the visible focus.
@@ -101,7 +102,8 @@
101
102
  min-height: 44px;
102
103
  padding: 0 4px;
103
104
  border: 0;
104
- border-radius: var(--wui-radius-sm);
105
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
106
+ corner-shape: squircle;
105
107
  background: none;
106
108
  color: var(--color-primary-text);
107
109
  font: inherit;
@@ -43,7 +43,8 @@
43
43
  margin-inline: -8px;
44
44
  padding: 4px 8px;
45
45
  border: 0;
46
- border-radius: var(--wui-radius-sm);
46
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
47
+ corner-shape: squircle;
47
48
  background: transparent;
48
49
  color: inherit;
49
50
  font: inherit;
@@ -177,7 +178,8 @@ a.wui-onboarding-label:focus-visible {
177
178
  a.wui-onboarding-label:focus-visible::after {
178
179
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
179
180
  outline-offset: -2px;
180
- border-radius: var(--wui-radius-sm);
181
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
182
+ corner-shape: squircle;
181
183
  }
182
184
  .wui-onboarding-step.is-current .wui-onboarding-label {
183
185
  font-weight: 600;
@@ -201,7 +203,8 @@ a.wui-onboarding-label:focus-visible::after {
201
203
  min-height: 44px;
202
204
  padding: 6px 14px;
203
205
  border: 1px solid var(--color-border);
204
- border-radius: var(--wui-radius-sm);
206
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
207
+ corner-shape: squircle;
205
208
  background: var(--color-surface);
206
209
  color: var(--color-text);
207
210
  font: inherit;
@@ -112,7 +112,8 @@ wui-org-tree {
112
112
  width: 176px;
113
113
  padding: var(--wui-space-sm);
114
114
  border: 1px solid var(--color-border);
115
- border-radius: var(--wui-radius-md);
115
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
116
+ corner-shape: squircle;
116
117
  background: var(--color-surface);
117
118
  color: var(--color-text);
118
119
  text-align: start;
@@ -72,7 +72,7 @@ dialog.wui-modal-shell[open] {
72
72
  // it on `.modal-dialog`, so the same `maxWidth="800"` produced two different dialogs.
73
73
  .wui-modal {
74
74
  background: var(--color-surface);
75
- border-radius: var(--wui-radius-xl);
75
+ border-radius: var(--wui-radius-2xl);
76
76
  corner-shape: squircle;
77
77
  border: none;
78
78
  width: 100%;
@@ -430,41 +430,66 @@ dialog.wui-modal-shell[open] {
430
430
  // they pad past a notch or home indicator. `100dvh` follows the phone's collapsing toolbar.
431
431
  // 100vw, not the shell's 100%: the document reserves a stable scrollbar gutter, which a fixed box's
432
432
  // 100% leaves uncovered, so a fullscreen card would stop short of the right edge.
433
- .modal.wui-modal-shell.wui-modal-fullscreen {
434
- width: 100vw;
435
- padding: 0;
436
- }
437
- .modal.wui-modal-shell.wui-modal-fullscreen .modal-dialog.wui-rb-dialog {
438
- width: 100%;
439
- height: 100%;
440
- align-items: stretch;
441
- }
442
- .wui-modal-fullscreen .wui-modal {
443
- width: 100vw;
444
- max-width: none;
445
- height: 100dvh;
446
- max-height: none;
447
- border-radius: 0;
448
- }
449
- .wui-modal-fullscreen .wui-modal-header {
450
- padding-top: max(16px, env(safe-area-inset-top));
451
- padding-left: max(20px, env(safe-area-inset-left));
452
- padding-right: max(20px, env(safe-area-inset-right));
453
- }
454
- .wui-modal-fullscreen .wui-modal-body {
455
- padding-left: max(22px, env(safe-area-inset-left));
456
- padding-right: max(22px, env(safe-area-inset-right));
457
- }
458
- .wui-modal-fullscreen .wui-modal-footer {
459
- padding-bottom: max(16px, env(safe-area-inset-bottom));
460
- padding-left: max(22px, env(safe-area-inset-left));
461
- padding-right: max(22px, env(safe-area-inset-right));
433
+ @mixin wui-modal-fullscreen-sheet($shell) {
434
+ .modal.wui-modal-shell.#{$shell} {
435
+ width: 100vw;
436
+ padding: 0;
437
+ }
438
+ .modal.wui-modal-shell.#{$shell} .modal-dialog.wui-rb-dialog {
439
+ width: 100%;
440
+ height: 100%;
441
+ align-items: stretch;
442
+ }
443
+ .#{$shell} .wui-modal {
444
+ width: 100vw;
445
+ max-width: none;
446
+ height: 100dvh;
447
+ max-height: none;
448
+ border-radius: 0;
449
+ }
450
+ .#{$shell} .wui-modal-header {
451
+ padding-top: max(16px, env(safe-area-inset-top));
452
+ padding-left: max(20px, env(safe-area-inset-left));
453
+ padding-right: max(20px, env(safe-area-inset-right));
454
+ }
455
+ .#{$shell} .wui-modal-body {
456
+ padding-left: max(22px, env(safe-area-inset-left));
457
+ padding-right: max(22px, env(safe-area-inset-right));
458
+ }
459
+ .#{$shell} .wui-modal-footer {
460
+ padding-bottom: max(16px, env(safe-area-inset-bottom));
461
+ padding-left: max(22px, env(safe-area-inset-left));
462
+ padding-right: max(22px, env(safe-area-inset-right));
463
+ }
462
464
  }
465
+ @include wui-modal-fullscreen-sheet(wui-modal-fullscreen);
463
466
 
464
467
  // Wide size: a 1080px card capped at 90vw whose fields sit in two columns from md up. Both surfaces put wui-modal-wide on the shell.
465
468
  .modal.wui-modal-shell.wui-modal-wide .wui-modal {
466
469
  max-width: min(var(--wui-modal-max-width), 90vw);
467
470
  }
471
+
472
+ // Phone size: below 576px the shell takes wui-modal-phone-<value> in place of its size class. A preset
473
+ // sets the card's own --wui-modal-max-width, because the inline value on the shell would win over a rule on the shell.
474
+ @media (max-width: 575.98px) {
475
+ .modal.wui-modal-shell.wui-modal-phone-sm .wui-modal {
476
+ --wui-modal-max-width: 380px;
477
+ }
478
+ .modal.wui-modal-shell.wui-modal-phone-md .wui-modal {
479
+ --wui-modal-max-width: 440px;
480
+ }
481
+ .modal.wui-modal-shell.wui-modal-phone-lg .wui-modal {
482
+ --wui-modal-max-width: 640px;
483
+ }
484
+ .modal.wui-modal-shell.wui-modal-phone-xl .wui-modal {
485
+ --wui-modal-max-width: 880px;
486
+ }
487
+ .modal.wui-modal-shell.wui-modal-phone-wide .wui-modal {
488
+ --wui-modal-max-width: 1080px;
489
+ max-width: min(var(--wui-modal-max-width), 90vw);
490
+ }
491
+ @include wui-modal-fullscreen-sheet(wui-modal-phone-fullscreen);
492
+ }
468
493
  // The form inside a wide body is the field grid; the body stays in block flow, so the scroll hint fades take no room.
469
494
  @include media-breakpoint-up(md) {
470
495
  .wui-modal-wide .wui-modal-body > form,
@@ -622,7 +647,7 @@ dialog.wui-modal-shell[open] {
622
647
  --bs-tooltip-bg: var(--wui-tooltip-bg);
623
648
  --bs-tooltip-color: var(--wui-tooltip-color);
624
649
  --bs-tooltip-max-width: var(--wui-tooltip-max-width);
625
- --bs-tooltip-border-radius: var(--wui-tooltip-radius);
650
+ --bs-tooltip-border-radius: calc(var(--wui-tooltip-radius) * var(--wui-squircle-scale));
626
651
  --bs-tooltip-font-size: var(--wui-tooltip-font-size);
627
652
  --bs-tooltip-padding-y: var(--wui-tooltip-padding-y);
628
653
  --bs-tooltip-padding-x: var(--wui-tooltip-padding-x);
@@ -637,6 +662,7 @@ dialog.wui-modal-shell[open] {
637
662
  font-weight: 500;
638
663
  line-height: 1.4;
639
664
  text-align: start;
665
+ corner-shape: squircle;
640
666
  border: 1px solid var(--wui-tooltip-border);
641
667
  box-shadow: var(--wui-tooltip-shadow);
642
668
  }
@@ -871,7 +897,8 @@ dialog.wui-modal-shell[open] {
871
897
  // The full-strength border, not border-light: on a white page the surface-on-white
872
898
  // card otherwise merges into the background (the overlay shadow alone is too soft).
873
899
  border: 1px solid var(--color-border);
874
- border-radius: var(--wui-radius-lg, 12px);
900
+ border-radius: var(--wui-radius-2xl);
901
+ corner-shape: squircle;
875
902
  box-shadow: var(--wui-shadow-popover);
876
903
  overflow: hidden;
877
904
  touch-action: pan-y;
@@ -992,7 +1019,8 @@ dialog.wui-modal-shell[open] {
992
1019
  padding: 3px 8px;
993
1020
  margin-block: -1px -3px;
994
1021
  margin-inline: calc(var(--wui-space-sm) * -1) 0;
995
- border-radius: 6px;
1022
+ border-radius: calc(6px * var(--wui-squircle-scale));
1023
+ corner-shape: squircle;
996
1024
  cursor: pointer;
997
1025
  color: var(--color-text);
998
1026
  font-family: inherit;
@@ -1215,7 +1243,8 @@ dialog.wui-modal-shell[open] {
1215
1243
  margin-top: 0;
1216
1244
  }
1217
1245
  .wui-toast--shape-sharp {
1218
- border-radius: 4px;
1246
+ border-radius: calc(4px * var(--wui-squircle-scale));
1247
+ corner-shape: squircle;
1219
1248
  }
1220
1249
 
1221
1250
  @media (prefers-reduced-motion: reduce) {
@@ -71,6 +71,7 @@
71
71
  height: var(--wui-control-sm);
72
72
  padding: 0 var(--wui-space-md);
73
73
  border-radius: var(--wui-button-sm-radius);
74
+ corner-shape: squircle;
74
75
  color: var(--color-text);
75
76
  }
76
77
  .page-header-bar-views {
@@ -27,7 +27,7 @@
27
27
  white-space: nowrap;
28
28
  font-variant-numeric: tabular-nums;
29
29
  }
30
- .select.tpg-select {
30
+ .form-select.tpg-select {
31
31
  width: auto;
32
32
  min-width: 64px;
33
33
  height: var(--wui-control-sm);
@@ -36,11 +36,12 @@
36
36
  padding-inline: var(--wui-space-md) var(--wui-space-2xl);
37
37
  font-size: var(--wui-fs-xs);
38
38
  font-weight: var(--wui-fw-semibold);
39
- border-radius: var(--wui-radius-md);
39
+ border-radius: var(--wui-field-sm-radius);
40
+ corner-shape: squircle;
40
41
  background-position: right 8px center;
41
42
  background-size: 14px;
42
43
  }
43
- .select.tpg-select:dir(rtl) {
44
+ .form-select.tpg-select:dir(rtl) {
44
45
  background-position: left 8px center;
45
46
  }
46
47
  .tpg-range {
@@ -140,7 +141,7 @@
140
141
  flex-basis: 100%;
141
142
  justify-content: center;
142
143
  }
143
- .select.tpg-select {
144
+ .form-select.tpg-select {
144
145
  height: var(--wui-control-md);
145
146
  min-height: var(--wui-control-md);
146
147
  }
@@ -60,7 +60,8 @@
60
60
 
61
61
  .wui-rating-input .wui-rating-star {
62
62
  cursor: pointer;
63
- border-radius: var(--wui-radius-sm);
63
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
64
+ corner-shape: squircle;
64
65
  }
65
66
  .wui-rating-input .wui-rating-star:has(input:focus-visible) {
66
67
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
@@ -30,6 +30,7 @@ wui-rich-text:not(:defined) > textarea {
30
30
  width: 100%;
31
31
  border: 1px solid var(--color-field-border);
32
32
  border-radius: var(--wui-field-md-radius);
33
+ corner-shape: squircle;
33
34
  background: var(--color-field-bg);
34
35
  color: var(--color-text);
35
36
  font-size: 14px;
@@ -93,7 +94,8 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
93
94
  height: 32px;
94
95
  padding: 0 6px;
95
96
  border: 0;
96
- border-radius: var(--wui-radius-md);
97
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
98
+ corner-shape: squircle;
97
99
  background: transparent;
98
100
  color: var(--color-text-muted);
99
101
  font: inherit;
@@ -154,6 +156,7 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
154
156
  padding: 0 10px;
155
157
  border: 1px solid var(--color-border);
156
158
  border-radius: var(--wui-field-sm-radius);
159
+ corner-shape: squircle;
157
160
  background: var(--color-surface);
158
161
  color: var(--color-text);
159
162
  font: inherit;
@@ -178,7 +181,8 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
178
181
  height: 32px;
179
182
  padding: 0 10px;
180
183
  border: 0;
181
- border-radius: var(--wui-radius-md);
184
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
185
+ corner-shape: squircle;
182
186
  background: transparent;
183
187
  color: var(--color-text-muted);
184
188
  font: inherit;
@@ -276,14 +280,16 @@ wui-rich-text[readonly] .wui-rich-text-prose {
276
280
  }
277
281
  .wui-rich-text-prose code {
278
282
  padding: 0.1em 0.35em;
279
- border-radius: var(--wui-radius-sm);
283
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
284
+ corner-shape: squircle;
280
285
  background: var(--color-bg-muted);
281
286
  font-size: 0.9em;
282
287
  }
283
288
  .wui-rich-text-prose pre {
284
289
  margin: 0 0 0.75em;
285
290
  padding: 10px 12px;
286
- border-radius: var(--wui-radius-md);
291
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
292
+ corner-shape: squircle;
287
293
  background: var(--color-bg-muted);
288
294
  overflow-x: auto;
289
295
  }
@@ -21,7 +21,8 @@
21
21
  margin: 0;
22
22
  padding: 0 6px;
23
23
  border: 1px solid var(--color-border);
24
- border-radius: var(--wui-radius-sm);
24
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
25
+ corner-shape: squircle;
25
26
  background: var(--color-surface);
26
27
  color: var(--color-text);
27
28
  font-variant-numeric: tabular-nums;
@@ -129,7 +129,8 @@
129
129
  display: block;
130
130
  width: 100%;
131
131
  height: auto;
132
- border-radius: var(--wui-radius-xl);
132
+ border-radius: calc(var(--wui-radius-xl) * var(--wui-squircle-scale));
133
+ corner-shape: squircle;
133
134
  }
134
135
 
135
136
  // ── Hero ──
@@ -184,7 +185,8 @@
184
185
  width: 3rem;
185
186
  height: 3rem;
186
187
  margin-bottom: 0.5rem;
187
- border-radius: var(--wui-radius-lg);
188
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
189
+ corner-shape: squircle;
188
190
  background: var(--color-primary-soft);
189
191
  color: var(--color-primary-text);
190
192
  }
@@ -257,7 +259,8 @@
257
259
  }
258
260
  .wui-section-logo a {
259
261
  display: inline-flex;
260
- border-radius: var(--wui-radius-sm);
262
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
263
+ corner-shape: squircle;
261
264
  }
262
265
  .wui-section-logo a:focus-visible {
263
266
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
@@ -325,7 +328,8 @@
325
328
  margin: 0;
326
329
  padding: 1.75rem;
327
330
  border: 1px solid var(--color-border);
328
- border-radius: var(--wui-radius-xl);
331
+ border-radius: calc(var(--wui-radius-xl) * var(--wui-squircle-scale));
332
+ corner-shape: squircle;
329
333
  background: var(--color-surface);
330
334
  }
331
335
  .wui-section-testimonial-quote {
@@ -438,7 +442,8 @@
438
442
  width: 100%;
439
443
  max-width: none;
440
444
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
441
- border-radius: var(--wui-radius-xl);
445
+ border-radius: calc(var(--wui-radius-xl) * var(--wui-squircle-scale));
446
+ corner-shape: squircle;
442
447
  background: var(--color-primary-soft);
443
448
  }
444
449
  .wui-section-call-to-action .wui-section-subtitle {