@webority/theme 0.179.0 → 0.180.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 (50) hide show
  1. package/dist/published-theme.json +4 -0
  2. package/dist/purge-safelist.json +162 -18
  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 +3 -3
  7. package/scss/_bootstrap.generated.scss +1 -1
  8. package/scss/_components.scss +26 -13
  9. package/scss/_tokens-modes.generated.scss +2 -1
  10. package/scss/_tokens.generated.scss +23 -17
  11. package/scss/_wui-components.scss +10 -0
  12. package/scss/_wui-core.scss +10 -0
  13. package/scss/wui/_app-agenda.scss +75 -0
  14. package/scss/wui/_calendar-views.scss +46 -0
  15. package/scss/wui/_calendar.scss +31 -0
  16. package/scss/wui/_card.scss +1 -0
  17. package/scss/wui/_cell.scss +1 -0
  18. package/scss/wui/_change-list.scss +37 -0
  19. package/scss/wui/_chart-card.scss +49 -0
  20. package/scss/wui/_choice.scss +2 -1
  21. package/scss/wui/_command-palette.scss +68 -0
  22. package/scss/wui/_controls.scss +157 -13
  23. package/scss/wui/_dashboard-header.scss +42 -0
  24. package/scss/wui/_data.scss +86 -6
  25. package/scss/wui/_display.scss +52 -2
  26. package/scss/wui/_drawer.scss +1 -0
  27. package/scss/wui/_entry-grid.scss +9 -0
  28. package/scss/wui/_file-viewer.scss +4 -0
  29. package/scss/wui/_flow.scss +119 -3
  30. package/scss/wui/_gantt.scss +89 -0
  31. package/scss/wui/_interaction.scss +0 -3
  32. package/scss/wui/_kanban.scss +52 -0
  33. package/scss/wui/_list-card.scss +11 -0
  34. package/scss/wui/_media.scss +0 -1
  35. package/scss/wui/_mini-calendar.scss +120 -0
  36. package/scss/wui/_navigation-menu.scss +1 -0
  37. package/scss/wui/_navigation.scss +10 -0
  38. package/scss/wui/_notification-center.scss +51 -0
  39. package/scss/wui/_offline-banner.scss +52 -0
  40. package/scss/wui/_overlays.scss +1 -1
  41. package/scss/wui/_queue-bundle.scss +71 -0
  42. package/scss/wui/_result-block.scss +117 -0
  43. package/scss/wui/_setting-row.scss +106 -0
  44. package/scss/wui/_setting-section.scss +36 -0
  45. package/scss/wui/_shell-parts.scss +3 -164
  46. package/scss/wui/_shell.scss +12 -2
  47. package/scss/wui/_split-view.scss +6 -2
  48. package/scss/wui/_utilities.scss +43 -5
  49. package/scss/wui/forced-colors/_navigation.scss +1 -3
  50. package/token-meanings.json +1 -0
@@ -0,0 +1,120 @@
1
+ @use "../config" as *;
2
+
3
+ // Mini calendar: the month navigator that AppMiniCalendar and <app-mini-calendar> draw. Every day is a
4
+ // button, so focus and the states below are the same on both surfaces.
5
+
6
+ .wui-mini-calendar {
7
+ display: block;
8
+ min-width: 0;
9
+ font-size: var(--wui-fs-sm);
10
+ color: var(--color-text-body);
11
+ }
12
+
13
+ .wui-mini-calendar-head {
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: space-between;
17
+ gap: var(--wui-space-sm);
18
+ margin-block-end: var(--wui-space-sm);
19
+ }
20
+
21
+ .wui-mini-calendar-title {
22
+ font-weight: var(--wui-fw-semibold);
23
+ color: var(--color-text);
24
+ }
25
+
26
+ .wui-mini-calendar-nav {
27
+ min-inline-size: 2.5rem;
28
+ min-block-size: 2.5rem;
29
+ border: 0;
30
+ border-radius: var(--wui-radius-md);
31
+ background: transparent;
32
+ color: var(--color-text-body);
33
+ cursor: pointer;
34
+
35
+ &:hover {
36
+ background: var(--color-bg-muted);
37
+ }
38
+
39
+ &:focus-visible {
40
+ outline: 2px solid var(--color-primary);
41
+ outline-offset: 2px;
42
+ }
43
+ }
44
+
45
+ .wui-mini-calendar-weekdays,
46
+ .wui-mini-calendar-grid {
47
+ display: grid;
48
+ grid-template-columns: repeat(7, minmax(0, 1fr));
49
+ text-align: center;
50
+ }
51
+
52
+ .wui-mini-calendar-weekdays {
53
+ color: var(--color-text-muted);
54
+ font-size: var(--wui-fs-xs);
55
+ margin-block-end: var(--wui-space-xs);
56
+ }
57
+
58
+ .wui-mini-calendar-day {
59
+ position: relative;
60
+ display: flex;
61
+ flex-direction: column;
62
+ align-items: center;
63
+ justify-content: center;
64
+ min-block-size: 2.5rem;
65
+ border: 0;
66
+ border-radius: var(--wui-radius-md);
67
+ background: transparent;
68
+ color: var(--color-text);
69
+ cursor: pointer;
70
+
71
+ &:hover {
72
+ background: var(--color-bg-muted);
73
+ }
74
+
75
+ &:focus-visible {
76
+ outline: 2px solid var(--color-primary);
77
+ outline-offset: 1px;
78
+ }
79
+
80
+ &.wui-mini-calendar-day--weekend {
81
+ color: var(--color-text-muted);
82
+ }
83
+
84
+ &.is-outside {
85
+ color: var(--color-text-subtle);
86
+ }
87
+
88
+ &.wui-mini-calendar-day--in-range {
89
+ background: var(--color-primary-soft);
90
+ }
91
+
92
+ &.is-today .wui-mini-calendar-day-number {
93
+ font-weight: var(--wui-fw-bold);
94
+ color: var(--color-primary);
95
+ }
96
+
97
+ &.is-selected {
98
+ background: var(--color-primary);
99
+ color: var(--color-surface);
100
+ }
101
+ }
102
+
103
+ .wui-mini-calendar-marker {
104
+ display: block;
105
+ inline-size: 0.375rem;
106
+ block-size: 0.375rem;
107
+ margin-block-start: var(--wui-space-xxs);
108
+ border-radius: var(--wui-radius-pill);
109
+ background: var(--color-text-muted);
110
+
111
+ &.wui-mini-calendar-marker--neutral {
112
+ background: var(--color-text-muted);
113
+ }
114
+
115
+ &.wui-mini-calendar-marker--warning {
116
+ inline-size: 0.625rem;
117
+ block-size: 0.625rem;
118
+ background: var(--color-warning);
119
+ }
120
+ }
@@ -26,6 +26,7 @@ wui-navigation-menu {
26
26
 
27
27
  .wui-nav-menu-trigger,
28
28
  .wui-nav-menu-toplink {
29
+ --wui-nav-menu-current-bg: transparent;
29
30
  display: flex;
30
31
  align-items: center;
31
32
  gap: 6px;
@@ -111,6 +111,16 @@
111
111
  max-width: 100%;
112
112
  }
113
113
 
114
+ // Sticky strip (`sticky`): pinned under the layers above it, whose heights the sticky-layer coordinator
115
+ // writes as --wui-sticky-stack-height. The wrapper sticks when there is one; a vertical strip sticks itself.
116
+ .app-tabs-wrap.wui-tabs-sticky,
117
+ .app-tabs.wui-tabs-sticky {
118
+ position: sticky;
119
+ top: calc(var(--wui-shell-topbar-height, 0px) + var(--wui-sticky-stack-height, 0px));
120
+ z-index: 19;
121
+ background: var(--color-surface);
122
+ }
123
+
114
124
  .app-tabs {
115
125
  position: relative;
116
126
  display: flex;
@@ -217,6 +217,57 @@
217
217
  color: var(--color-text-muted);
218
218
  text-align: center;
219
219
  }
220
+ .wui-notification-center-loading,
221
+ .wui-notification-center-error {
222
+ margin: 0;
223
+ padding: var(--wui-space-xl) var(--wui-space-lg);
224
+ font-size: var(--wui-fs-sm);
225
+ color: var(--color-text-muted);
226
+ text-align: center;
227
+ }
228
+ .wui-notification-center-error {
229
+ display: grid;
230
+ justify-items: center;
231
+ gap: var(--wui-space-md);
232
+ }
233
+ .wui-notification-center-error-text {
234
+ margin: 0;
235
+ }
236
+ .wui-notification-center-retry {
237
+ min-height: 44px;
238
+ padding: 0 var(--wui-space-lg);
239
+ border: 1px solid var(--color-border);
240
+ border-radius: var(--wui-radius-md);
241
+ background: transparent;
242
+ color: var(--color-primary-text);
243
+ font: inherit;
244
+ font-weight: var(--wui-fw-medium);
245
+ cursor: pointer;
246
+ }
247
+ .wui-notification-center-retry:hover {
248
+ background: var(--color-bg-muted);
249
+ }
250
+ .wui-notification-center-retry:focus-visible,
251
+ .wui-notification-center-earlier:focus-visible {
252
+ outline: var(--wui-focus-ring-width) solid var(--color-focus-ring);
253
+ outline-offset: var(--wui-focus-ring-inset);
254
+ }
255
+ .wui-notification-center-earlier {
256
+ display: flex;
257
+ align-items: center;
258
+ justify-content: center;
259
+ min-height: 44px;
260
+ color: var(--color-primary-text);
261
+ font-size: var(--wui-fs-sm);
262
+ font-weight: var(--wui-fw-medium);
263
+ text-decoration: none;
264
+ }
265
+ .wui-notification-center-earlier[hidden] {
266
+ display: none;
267
+ }
268
+ .wui-notification-center-earlier:hover {
269
+ background: var(--color-bg-muted);
270
+ }
220
271
  .wui-notification-center-foot {
221
272
  display: flex;
222
273
  align-items: center;
@@ -0,0 +1,52 @@
1
+ @use "../config" as *;
2
+
3
+ // ── Offline banner ──
4
+ // AppOfflineBanner / <app-offline-banner> / <wui-offline-banner>: a strip fixed under the shell top
5
+ // bar while the browser is offline, and for a moment after it returns. The element sets data-state
6
+ // ("offline" or "back") and unhides itself; the content below keeps its full contrast.
7
+ //
8
+ // Part of the wui-components layer: see _wui-components.scss for load order.
9
+
10
+ .wui-offline-banner {
11
+ position: fixed;
12
+ top: var(--wui-shell-topbar-height, 0px);
13
+ inset-inline-start: 0;
14
+ inset-inline-end: 0;
15
+ z-index: var(--wui-z-fixed);
16
+ display: flex;
17
+ flex-wrap: wrap;
18
+ align-items: center;
19
+ gap: var(--wui-space-md);
20
+ padding: var(--wui-space-md) var(--wui-space-lg);
21
+ font-size: var(--wui-fs-sm);
22
+ line-height: var(--wui-lh-body);
23
+ background: var(--color-warning-soft);
24
+ color: var(--color-warning-text);
25
+
26
+ &[hidden] {
27
+ display: none;
28
+ }
29
+ &[data-state="back"] {
30
+ background: var(--color-success-soft);
31
+ color: var(--color-success-text);
32
+ }
33
+ &[data-state="back"] .wui-offline-banner-offline,
34
+ &:not([data-state="back"]) .wui-offline-banner-back {
35
+ display: none;
36
+ }
37
+ }
38
+ .wui-offline-banner-icon {
39
+ flex: none;
40
+ display: inline-flex;
41
+ align-items: center;
42
+ }
43
+ .wui-offline-banner-body {
44
+ flex: 1 1 auto;
45
+ min-width: 0;
46
+ }
47
+ .wui-offline-banner-action {
48
+ flex: none;
49
+ display: inline-flex;
50
+ align-items: center;
51
+ gap: var(--wui-space-sm);
52
+ }
@@ -466,7 +466,7 @@ dialog.wui-modal-shell[open] {
466
466
 
467
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.
468
468
  .modal.wui-modal-shell.wui-modal-wide .wui-modal {
469
- max-width: min(var(--wui-modal-max-width), 90vw);
469
+ max-width: min(var(--wui-modal-max-width, 1080px), 90vw);
470
470
  }
471
471
 
472
472
  // Phone size: below 576px the shell takes wui-modal-phone-<value> in place of its size class. A preset
@@ -0,0 +1,71 @@
1
+ // Queue bundle: a server-marked safe group approved with one button.
2
+ .wui-queue-bundle {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: var(--wui-space-sm);
6
+ padding: var(--wui-space-md);
7
+ border: 1px solid var(--color-border);
8
+ border-radius: var(--wui-radius-lg);
9
+ background: var(--color-surface);
10
+ }
11
+
12
+ .wui-queue-bundle-title {
13
+ margin: 0;
14
+ font-size: var(--wui-fs-base);
15
+ font-weight: var(--wui-fw-semibold);
16
+ color: var(--color-text);
17
+ }
18
+
19
+ .wui-queue-bundle-reason,
20
+ .wui-queue-bundle-done {
21
+ margin: 0;
22
+ font-size: var(--wui-fs-sm);
23
+ color: var(--color-text-muted);
24
+ }
25
+
26
+ .wui-queue-bundle-rows {
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: var(--wui-space-xs);
30
+ margin: 0;
31
+ padding: 0;
32
+ list-style: none;
33
+ }
34
+
35
+ .wui-queue-bundle-row {
36
+ display: flex;
37
+ align-items: center;
38
+ flex-wrap: wrap;
39
+ gap: var(--wui-space-xs);
40
+ }
41
+
42
+ .wui-queue-bundle-text {
43
+ display: flex;
44
+ flex-direction: column;
45
+ min-width: 0;
46
+ }
47
+
48
+ .wui-queue-bundle-primary {
49
+ font-weight: var(--wui-fw-medium);
50
+ color: var(--color-text);
51
+ }
52
+
53
+ .wui-queue-bundle-secondary,
54
+ .wui-queue-bundle-trailing {
55
+ font-size: var(--wui-fs-xs);
56
+ color: var(--color-text-muted);
57
+ }
58
+
59
+ .wui-queue-bundle-trailing {
60
+ margin-inline-start: auto;
61
+ }
62
+
63
+ .wui-queue-bundle-status {
64
+ font-size: var(--wui-fs-xs);
65
+ font-weight: var(--wui-fw-semibold);
66
+ color: var(--color-text-muted);
67
+ }
68
+
69
+ .wui-queue-bundle-status-failed {
70
+ color: var(--color-text);
71
+ }
@@ -0,0 +1,117 @@
1
+ // The left-aligned failure block (AppResultBlock): an icon tile beside a heading, one sentence,
2
+ // an optional field, actions and a reference row. Below the sm tier the icon stacks above the text.
3
+ .wui-result-block {
4
+ display: flex;
5
+ align-items: flex-start;
6
+ gap: var(--wui-space-md);
7
+ text-align: start;
8
+ color: var(--color-text);
9
+ }
10
+
11
+ @media (max-width: 575.98px) {
12
+ .wui-result-block {
13
+ flex-direction: column;
14
+ }
15
+ }
16
+
17
+ .wui-result-block-icon {
18
+ flex: none;
19
+ width: 40px;
20
+ height: 40px;
21
+ display: inline-flex;
22
+ align-items: center;
23
+ justify-content: center;
24
+ border-radius: calc(var(--wui-radius-lg) * var(--wui-squircle-scale));
25
+ corner-shape: squircle;
26
+ }
27
+
28
+ .wui-result-block-body {
29
+ flex: 1 1 auto;
30
+ min-width: 0;
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: var(--wui-space-sm);
34
+ }
35
+
36
+ .wui-result-block-title {
37
+ margin: 0;
38
+ font-size: var(--wui-fs-lg);
39
+ font-weight: var(--wui-fw-semibold);
40
+ line-height: var(--wui-lh-heading);
41
+ color: var(--color-text);
42
+ }
43
+
44
+ .wui-result-block-sentence,
45
+ .wui-result-block-reference {
46
+ font-size: var(--wui-fs-sm);
47
+ color: var(--color-text-muted);
48
+ }
49
+
50
+ .wui-result-block-facts {
51
+ display: grid;
52
+ grid-template-columns: auto 1fr;
53
+ gap: var(--wui-space-xs) var(--wui-space-md);
54
+ margin: 0;
55
+ font-size: var(--wui-fs-sm);
56
+ }
57
+
58
+ .wui-result-block-fact {
59
+ display: contents;
60
+ }
61
+
62
+ .wui-result-block-facts dt {
63
+ font-weight: var(--wui-fw-semibold);
64
+ color: var(--color-text-muted);
65
+ }
66
+
67
+ .wui-result-block-facts dd {
68
+ margin: 0;
69
+ color: var(--color-text);
70
+ }
71
+
72
+ .wui-result-block-field {
73
+ color: var(--color-text);
74
+ }
75
+
76
+ .wui-result-block-reference-text {
77
+ color: var(--color-text-muted);
78
+ }
79
+
80
+ .wui-result-block-actions {
81
+ display: flex;
82
+ flex-wrap: wrap;
83
+ align-items: center;
84
+ gap: var(--wui-space-sm);
85
+ }
86
+
87
+ .wui-result-block-reference {
88
+ display: flex;
89
+ flex-wrap: wrap;
90
+ align-items: center;
91
+ gap: var(--wui-space-sm);
92
+ }
93
+
94
+ .wui-result-block-code {
95
+ font-family: var(--wui-font-mono);
96
+ color: var(--color-text);
97
+ }
98
+
99
+ .wui-result-block-danger .wui-result-block-icon {
100
+ background: var(--color-danger-soft);
101
+ color: var(--color-danger-text);
102
+ }
103
+
104
+ .wui-result-block-warning .wui-result-block-icon {
105
+ background: var(--color-warning-soft);
106
+ color: var(--color-warning-text);
107
+ }
108
+
109
+ .wui-result-block-info .wui-result-block-icon {
110
+ background: var(--color-info-soft);
111
+ color: var(--color-info-text);
112
+ }
113
+
114
+ .wui-result-block-secondary .wui-result-block-icon {
115
+ background: transparent;
116
+ color: var(--color-text-muted);
117
+ }
@@ -0,0 +1,106 @@
1
+ @use "../config" as *;
2
+
3
+ // One setting in a list: name and help at the left, value at the right, a hairline between rows.
4
+ .wui-setting-row {
5
+ display: flex;
6
+ align-items: flex-start;
7
+ justify-content: space-between;
8
+ gap: var(--wui-space-lg);
9
+ padding: var(--wui-space-md) 0;
10
+ border-bottom: 1px solid var(--color-border);
11
+ }
12
+ .wui-setting-row-main {
13
+ display: flex;
14
+ flex: 1 1 auto;
15
+ flex-direction: column;
16
+ gap: var(--wui-space-sm);
17
+ min-width: 0;
18
+ }
19
+ .wui-setting-row-head {
20
+ display: flex;
21
+ flex-direction: column;
22
+ gap: var(--wui-space-xxs);
23
+ }
24
+ .wui-setting-row-label {
25
+ display: flex;
26
+ align-items: center;
27
+ flex-wrap: wrap;
28
+ gap: var(--wui-space-sm);
29
+ font-weight: var(--wui-fw-semibold);
30
+ color: var(--color-text);
31
+ }
32
+ .wui-setting-row-desc {
33
+ margin: 0;
34
+ font-size: var(--wui-fs-sm);
35
+ color: var(--color-text-muted);
36
+ }
37
+ .wui-setting-row-badge {
38
+ padding: var(--wui-space-xxs) var(--wui-space-sm);
39
+ border-radius: var(--wui-radius-pill);
40
+ background: var(--color-warning-soft);
41
+ font-size: var(--wui-fs-xs);
42
+ font-weight: var(--wui-fw-medium);
43
+ color: var(--color-text);
44
+ }
45
+ .wui-setting-row-edit-body {
46
+ display: flex;
47
+ flex-direction: column;
48
+ gap: var(--wui-space-sm);
49
+ }
50
+ .wui-setting-row-read {
51
+ display: flex;
52
+ flex: 0 0 auto;
53
+ align-items: center;
54
+ gap: var(--wui-space-md);
55
+ }
56
+ .wui-setting-row-value {
57
+ color: var(--color-text);
58
+ }
59
+ .wui-setting-row-control {
60
+ display: flex;
61
+ flex-direction: column;
62
+ gap: var(--wui-space-sm);
63
+ }
64
+ .wui-setting-row-was {
65
+ margin: 0;
66
+ font-size: var(--wui-fs-sm);
67
+ color: var(--color-text-muted);
68
+ }
69
+ .wui-setting-row-actions {
70
+ display: flex;
71
+ justify-content: flex-end;
72
+ gap: var(--wui-space-sm);
73
+ }
74
+ .wui-setting-row-confirm {
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: var(--wui-space-sm);
78
+ padding: var(--wui-space-md);
79
+ border: 1px solid var(--color-warning);
80
+ border-radius: var(--wui-radius-md);
81
+ background: var(--color-surface);
82
+ }
83
+ .wui-setting-row-confirm-title {
84
+ margin: 0;
85
+ font-weight: var(--wui-fw-semibold);
86
+ color: var(--color-text);
87
+ }
88
+ .wui-setting-row-effect {
89
+ margin: 0;
90
+ font-size: var(--wui-fs-sm);
91
+ color: var(--color-text-muted);
92
+ }
93
+
94
+ @include media-breakpoint-down(sm) {
95
+ .wui-setting-row {
96
+ flex-direction: column;
97
+ }
98
+ .wui-setting-row-read {
99
+ justify-content: space-between;
100
+ width: 100%;
101
+ }
102
+ .wui-setting-row-edit {
103
+ min-height: 44px;
104
+ color: var(--color-text);
105
+ }
106
+ }
@@ -0,0 +1,36 @@
1
+ // A titled group of setting rows: the title and its help, an optional action at the right, then the rows.
2
+ .wui-setting-section {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: var(--wui-space-sm);
6
+ }
7
+ .wui-setting-section-head {
8
+ display: flex;
9
+ align-items: flex-start;
10
+ justify-content: space-between;
11
+ gap: var(--wui-space-md);
12
+ }
13
+ .wui-setting-section-titles {
14
+ display: flex;
15
+ flex-direction: column;
16
+ gap: var(--wui-space-xxs);
17
+ min-width: 0;
18
+ }
19
+ .wui-setting-section-title {
20
+ margin: 0;
21
+ font-size: var(--wui-fs-lg);
22
+ font-weight: var(--wui-fw-semibold);
23
+ color: var(--color-text);
24
+ }
25
+ .wui-setting-section-desc {
26
+ margin: 0;
27
+ font-size: var(--wui-fs-sm);
28
+ color: var(--color-text-muted);
29
+ }
30
+ .wui-setting-section-action {
31
+ flex: 0 0 auto;
32
+ }
33
+ .wui-setting-section-rows {
34
+ display: flex;
35
+ flex-direction: column;
36
+ }