@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
@@ -44,7 +44,8 @@
44
44
  height: var(--wui-splash-size, 56px);
45
45
  display: inline-grid;
46
46
  place-items: center;
47
- border-radius: var(--wui-radius-lg);
47
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
48
+ corner-shape: squircle;
48
49
  background: var(--color-primary);
49
50
  color: var(--color-on-primary);
50
51
  font-size: calc(var(--wui-splash-size, 56px) * 0.39);
@@ -347,7 +348,8 @@
347
348
  min-width: 0;
348
349
  color: inherit;
349
350
  text-decoration: none;
350
- border-radius: var(--wui-radius-md);
351
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
352
+ corner-shape: squircle;
351
353
  }
352
354
  .wui-brand-link:hover {
353
355
  color: inherit;
@@ -458,7 +460,8 @@
458
460
  margin: 0;
459
461
  padding: 6px 14px;
460
462
  border: 0;
461
- border-radius: var(--wui-radius-sm);
463
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
464
+ corner-shape: squircle;
462
465
  background: transparent;
463
466
  font-family: inherit;
464
467
  font-size: 12px;
@@ -803,7 +806,8 @@
803
806
  padding: 0;
804
807
  width: 32px;
805
808
  height: 32px;
806
- border-radius: var(--wui-radius-sm, 6px);
809
+ border-radius: calc(var(--wui-radius-sm, 6px) * var(--wui-squircle-scale));
810
+ corner-shape: squircle;
807
811
  cursor: pointer;
808
812
  }
809
813
  .wui-nav-split-toggle:hover {
@@ -845,7 +849,8 @@
845
849
  top: 50%;
846
850
  z-index: 40;
847
851
  padding: 5px 10px;
848
- border-radius: var(--wui-radius-lg);
852
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
853
+ corner-shape: squircle;
849
854
  background: var(--color-text);
850
855
  color: var(--color-surface);
851
856
  font-size: 12px;
@@ -1036,7 +1041,8 @@
1036
1041
  clip-path: inset(50%);
1037
1042
  white-space: nowrap;
1038
1043
  padding: 8px 12px;
1039
- border-radius: var(--wui-radius-md);
1044
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
1045
+ corner-shape: squircle;
1040
1046
  background: var(--color-surface);
1041
1047
  color: var(--color-text);
1042
1048
  }
@@ -16,7 +16,8 @@
16
16
  height: 20px;
17
17
  padding: 0 5px;
18
18
  border: 1px solid var(--color-border);
19
- border-radius: var(--wui-radius-sm);
19
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
20
+ corner-shape: squircle;
20
21
  background: var(--color-bg-muted);
21
22
  color: var(--color-text);
22
23
  font-family: inherit;
@@ -89,7 +90,7 @@
89
90
  margin: 0;
90
91
  width: min(320px, calc(100vw - 32px));
91
92
  border: 1px solid var(--color-border);
92
- border-radius: var(--wui-radius-md);
93
+ border-radius: var(--wui-radius-2xl);
93
94
  corner-shape: squircle;
94
95
  background: var(--color-surface);
95
96
  color: var(--color-text);
@@ -117,7 +118,8 @@
117
118
  height: 32px;
118
119
  padding: 0;
119
120
  border: 0;
120
- border-radius: var(--wui-radius-sm);
121
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
122
+ corner-shape: squircle;
121
123
  background: transparent;
122
124
  color: var(--color-text-muted);
123
125
  }
@@ -59,7 +59,8 @@ wui-sortable[borderless] .wui-sortable-item {
59
59
  height: 44px;
60
60
  padding: 0;
61
61
  border: none;
62
- border-radius: var(--wui-radius-sm);
62
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
63
+ corner-shape: squircle;
63
64
  background: transparent;
64
65
  color: var(--color-text-subtle);
65
66
  cursor: grab;
@@ -93,7 +93,8 @@
93
93
  min-height: 36px;
94
94
  padding-block: var(--wui-space-xxs);
95
95
  padding-inline: var(--wui-space-md) var(--wui-space-sm);
96
- border-radius: var(--wui-radius-md);
96
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
97
+ corner-shape: squircle;
97
98
  background: var(--color-primary-soft);
98
99
  }
99
100
  .wui-split-head-main[hidden],
@@ -252,7 +253,8 @@
252
253
  .wui-split-skeleton-meta {
253
254
  display: block;
254
255
  height: 12px;
255
- border-radius: 6px;
256
+ border-radius: calc(6px * var(--wui-squircle-scale));
257
+ corner-shape: squircle;
256
258
  }
257
259
  .wui-split-skeleton-title {
258
260
  width: 60%;
@@ -31,6 +31,18 @@
31
31
  }
32
32
  }
33
33
 
34
+ // The ticket list card is a size container, so the table answers to its own width, not the
35
+ // window's: beside a sidebar the card is far narrower than the window. Below 840px of card the
36
+ // Messages column goes, so Last update stays clear of the pinned Actions column.
37
+ .wui-support-list {
38
+ container-type: inline-size;
39
+ }
40
+ @container (max-width: 840px) {
41
+ .wui-support-list .wui-support-messages {
42
+ display: none;
43
+ }
44
+ }
45
+
34
46
  // Subject cell: a link that wraps to five lines inside the column, cut there by AppTruncate, the ticket number and category below.
35
47
  .wui-support-subject {
36
48
  display: flex;
@@ -23,7 +23,8 @@
23
23
  .wui-skeleton-cell {
24
24
  display: block;
25
25
  height: 0.9rem;
26
- border-radius: 0.25rem;
26
+ border-radius: calc(0.25rem * var(--wui-squircle-scale));
27
+ corner-shape: squircle;
27
28
  }
28
29
 
29
30
  // A failed fetch shows its message and Retry in the state block; the stale rows of the previous
@@ -28,7 +28,8 @@
28
28
  align-items: center;
29
29
  height: 36px;
30
30
  padding-inline: 9px;
31
- border-radius: var(--wui-radius-md);
31
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
32
+ corner-shape: squircle;
32
33
  color: var(--color-text-muted);
33
34
  cursor: pointer;
34
35
  margin-bottom: 0;
@@ -110,7 +111,8 @@
110
111
  height: 36px;
111
112
  padding: 0;
112
113
  border: none;
113
- border-radius: var(--wui-radius-md);
114
+ border-radius: calc(var(--wui-radius-md) * var(--wui-squircle-scale));
115
+ corner-shape: squircle;
114
116
  background: transparent;
115
117
  color: var(--color-text-muted);
116
118
  cursor: pointer;
@@ -20,7 +20,8 @@ wui-tree-picker {
20
20
  display: grid;
21
21
  grid-template-columns: 1fr;
22
22
  border: 1px solid var(--color-border);
23
- border-radius: var(--wui-radius-sm);
23
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
24
+ corner-shape: squircle;
24
25
  background: var(--color-surface);
25
26
  overflow: hidden;
26
27
  }
@@ -78,7 +79,8 @@ wui-tree-picker {
78
79
  min-height: 36px;
79
80
  padding: var(--wui-space-xs) var(--wui-space-sm);
80
81
  padding-inline-start: calc(var(--wui-space-sm) + var(--wui-tree-picker-level, 0) * (var(--wui-space-lg) + var(--wui-space-xs)));
81
- border-radius: var(--wui-radius-sm);
82
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
83
+ corner-shape: squircle;
82
84
  color: var(--color-text);
83
85
  cursor: pointer;
84
86
  user-select: none;
@@ -204,7 +206,8 @@ wui-tree-picker {
204
206
  height: 28px;
205
207
  padding: 0;
206
208
  border: 0;
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: transparent;
209
212
  color: var(--color-text-muted);
210
213
  cursor: pointer;
@@ -31,7 +31,8 @@ wui-tree {
31
31
  min-height: 36px;
32
32
  padding: 4px 8px;
33
33
  padding-inline-start: calc(8px + var(--wui-tree-level, 0) * 20px);
34
- border-radius: var(--wui-radius-sm);
34
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
35
+ corner-shape: squircle;
35
36
  color: var(--color-text);
36
37
  cursor: pointer;
37
38
  user-select: none;
@@ -30,5 +30,6 @@
30
30
  .wui-truncate[tabindex]:focus-visible {
31
31
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
32
32
  outline-offset: var(--wui-focus-ring-offset);
33
- border-radius: 4px;
33
+ border-radius: calc(4px * var(--wui-squircle-scale));
34
+ corner-shape: squircle;
34
35
  }
@@ -118,7 +118,8 @@
118
118
  padding: 12px 14px;
119
119
  background: var(--color-surface);
120
120
  border: none;
121
- border-radius: var(--wui-radius-lg);
121
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
122
+ corner-shape: squircle;
122
123
  box-shadow: var(--wui-shadow-popover);
123
124
  text-align: start;
124
125
  white-space: normal;
@@ -472,7 +473,8 @@
472
473
  .wui-dropdown-trigger:focus-visible {
473
474
  outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
474
475
  outline-offset: var(--wui-focus-ring-offset);
475
- border-radius: var(--wui-radius-sm);
476
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
477
+ corner-shape: squircle;
476
478
  }
477
479
  // AppDropdown toggleVariant="neutral": a custom trigger that keeps the surrounding font and colour, with a muted
478
480
  // surface on hover and while open. The negative start margin keeps its text aligned with the text above it.
@@ -480,7 +482,8 @@
480
482
  gap: var(--wui-space-xs);
481
483
  margin-inline-start: calc(-1 * var(--wui-space-xs));
482
484
  padding: var(--wui-space-xxs) var(--wui-space-xs);
483
- border-radius: var(--wui-radius-sm);
485
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
486
+ corner-shape: squircle;
484
487
  transition: background var(--wui-duration-fast) var(--wui-ease-ui);
485
488
  }
486
489
  .wui-dropdown-trigger-neutral:hover,
@@ -513,6 +516,8 @@
513
516
  // Bootstrap compiles the title colour from $headings-color, a fixed light-mode value; the token keeps it readable in dark mode.
514
517
  .popover {
515
518
  --bs-popover-header-color: var(--color-text);
519
+ --bs-popover-border-radius: var(--wui-radius-2xl);
520
+ corner-shape: squircle;
516
521
  }
517
522
 
518
523
  // The popover title is a div, not a heading, so it keeps the heading weight and line height here.
@@ -666,7 +671,8 @@
666
671
  color: inherit;
667
672
  cursor: pointer;
668
673
  opacity: 0.7;
669
- border-radius: var(--wui-radius-sm);
674
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
675
+ corner-shape: squircle;
670
676
  }
671
677
  .wui-banner-dismiss:hover {
672
678
  opacity: 1;
@@ -832,7 +838,8 @@
832
838
  overflow: hidden;
833
839
  display: block;
834
840
  background: var(--color-border-strong);
835
- border-radius: var(--wui-radius-sm);
841
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
842
+ corner-shape: squircle;
836
843
  }
837
844
  .skeleton::after {
838
845
  content: "";
@@ -889,8 +896,9 @@
889
896
  --alert-title-size: 14px;
890
897
  --alert-title-leading: 1.3;
891
898
  --alert-badge-size: 24px;
892
- --bs-alert-border-radius: 8px;
893
- border-radius: 8px;
899
+ --bs-alert-border-radius: var(--wui-radius-2xl);
900
+ border-radius: var(--wui-radius-2xl);
901
+ corner-shape: squircle;
894
902
  padding: 16px 18px;
895
903
  border-width: 1px;
896
904
  }
@@ -75,7 +75,8 @@
75
75
  overflow-y: auto;
76
76
  overscroll-behavior: contain;
77
77
  border: 1px solid var(--color-border);
78
- border-radius: var(--wui-radius-lg);
78
+ border-radius: var(--wui-radius-2xl);
79
+ corner-shape: squircle;
79
80
  background: var(--color-surface);
80
81
  box-shadow: var(--wui-shadow-popover);
81
82
  color: var(--color-text-body);
@@ -143,7 +144,8 @@
143
144
  height: auto;
144
145
  margin-top: 10px;
145
146
  border: 1px solid var(--color-border-subtle);
146
- border-radius: var(--wui-radius-sm);
147
+ border-radius: calc(var(--wui-radius-sm) * var(--wui-squircle-scale));
148
+ corner-shape: squircle;
147
149
  }
148
150
  .wui-whats-new-link {
149
151
  display: inline-block;
@@ -170,7 +170,7 @@
170
170
  padding: 5px;
171
171
  background: var(--color-surface);
172
172
  border: 1px solid var(--color-border-subtle);
173
- border-radius: var(--wui-radius-lg);
173
+ border-radius: var(--wui-radius-2xl);
174
174
  corner-shape: squircle;
175
175
  box-shadow: var(--wui-shadow-popover);
176
176
  }
@@ -4,8 +4,6 @@
4
4
  .form-control:focus-visible,
5
5
  .form-select:focus-visible,
6
6
  .input:focus-visible,
7
- .select:focus-visible,
8
- .textarea:focus-visible,
9
7
  .input-bare:focus-visible,
10
8
  .otp-field:focus-visible {
11
9
  outline: var(--wui-focus-ring-width) solid Highlight;
@@ -22,19 +20,13 @@
22
20
 
23
21
  // FC5: the native drawing of a checkbox, radio and select replaces the baked white mark.
24
22
  .form-check-input,
25
- .wui-check,
26
- .wui-radio,
27
- .select,
28
23
  .form-select {
29
24
  appearance: auto;
30
25
  background-image: none;
31
26
  }
32
27
  .form-check-input[type="checkbox"]:checked,
33
- .wui-check:checked,
34
28
  .form-check-input[type="radio"]:checked,
35
- .wui-radio:checked,
36
- .form-check-input[type="checkbox"]:indeterminate,
37
- .wui-check:indeterminate {
29
+ .form-check-input[type="checkbox"]:indeterminate {
38
30
  appearance: auto;
39
31
  background-image: none;
40
32
  }
@@ -82,9 +74,8 @@
82
74
 
83
75
  // Forced colours drop the busy spinner's gradients, so a busy field shows a dashed edge instead.
84
76
  .input.wui-field-busy,
85
- .textarea.wui-field-busy,
86
77
  .form-control.wui-field-busy,
87
- .select.wui-field-busy {
78
+ .tpg-select.wui-field-busy {
88
79
  outline: 2px dashed CanvasText;
89
80
  outline-offset: -2px;
90
81
  }
@@ -36,18 +36,14 @@ pre {
36
36
 
37
37
  .form-control,
38
38
  .form-select,
39
- .input,
40
- .select,
41
- .textarea {
39
+ .input {
42
40
  border: 1px solid var(--color-border-strong) !important;
43
41
  background: none !important;
44
42
  }
45
43
 
46
44
  .form-control::placeholder,
47
45
  .form-select::placeholder,
48
- .input::placeholder,
49
- .select::placeholder,
50
- .textarea::placeholder {
46
+ .input::placeholder {
51
47
  color: transparent !important;
52
48
  }
53
49
 
@@ -52,7 +52,7 @@ wui-tour-step {
52
52
  background: var(--color-surface);
53
53
  color: var(--color-text);
54
54
  border: 1px solid var(--color-border);
55
- border-radius: var(--wui-radius-lg);
55
+ border-radius: var(--wui-radius-2xl);
56
56
  corner-shape: squircle;
57
57
  box-shadow: var(--wui-shadow-popover);
58
58
  &:focus {
@@ -272,6 +272,7 @@
272
272
  "--wui-space-xl": "Extra-large step of the spacing scale.",
273
273
  "--wui-space-xs": "Extra-small step of the spacing scale.",
274
274
  "--wui-space-xxs": "Hairline step of the spacing scale.",
275
+ "--wui-squircle-scale": "Multiplier on a squircle corner's radius: 2 where the browser draws squircles, 1 where it keeps a round corner.",
275
276
  "--wui-step-tile-size": "Width and height of the numbered circle in a step tile.",
276
277
  "--wui-success": "Vivid success fill for badges, dots and success buttons.",
277
278
  "--wui-success-10": "Success tint 10, the soft background of success alerts and badges.",