@webority/theme 0.167.0 → 0.169.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.
- package/README.md +12 -1
- package/dist/postcss/rtl-mirror.d.mts +10 -0
- package/dist/postcss/rtl-mirror.mjs +1 -0
- package/dist/purge-safelist.json +49 -1
- package/dist/webority-modes.css +1 -1
- package/dist/webority-theme.css +1 -1
- package/dist/webority-tokens.css +1 -1
- package/package.json +8 -4
- package/scss/_bootstrap-css.scss +1 -0
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_components.scss +28 -7
- package/scss/_config.scss +22 -0
- package/scss/_marketing.scss +7 -0
- package/scss/_modes.scss +1 -0
- package/scss/_tokens-modes.generated.scss +1 -1
- package/scss/_tokens.generated.scss +2 -2
- package/scss/_wui-components.scss +4 -0
- package/scss/_wui-core.scss +2 -0
- package/scss/wui/_avatar-picker.scss +1 -1
- package/scss/wui/_calendar.scss +2 -2
- package/scss/wui/_card.scss +3 -3
- package/scss/wui/_cell.scss +1 -1
- package/scss/wui/_chart.scss +6 -5
- package/scss/wui/_choice.scss +56 -24
- package/scss/wui/_code-block.scss +2 -1
- package/scss/wui/_compare-table.scss +8 -5
- package/scss/wui/_consent-banner.scss +4 -1
- package/scss/wui/_controls.scss +66 -39
- package/scss/wui/_data.scss +58 -45
- package/scss/wui/_disclosure.scss +11 -5
- package/scss/wui/_display.scss +67 -39
- package/scss/wui/_drawer.scss +9 -3
- package/scss/wui/_due-date.scss +1 -1
- package/scss/wui/_empty-state.scss +1 -1
- package/scss/wui/_entry-grid.scss +23 -0
- package/scss/wui/_field-busy.scss +6 -0
- package/scss/wui/_file-viewer.scss +4 -4
- package/scss/wui/_flow.scss +26 -22
- package/scss/wui/_gantt.scss +498 -0
- package/scss/wui/_kanban.scss +1 -1
- package/scss/wui/_lightbox.scss +2 -2
- package/scss/wui/_markdown.scss +3 -3
- package/scss/wui/_media.scss +13 -13
- package/scss/wui/_menu-motion.scss +3 -0
- package/scss/wui/_metric-strip.scss +1 -1
- package/scss/wui/_modal-remote.scss +8 -1
- package/scss/wui/_native-overlay.scss +12 -0
- package/scss/wui/_navigation-menu.scss +4 -3
- package/scss/wui/_navigation.scss +28 -24
- package/scss/wui/_notification-center.scss +2 -2
- package/scss/wui/_onboarding-checklist.scss +3 -0
- package/scss/wui/_org-tree.scss +9 -6
- package/scss/wui/_overlays.scss +11 -7
- package/scss/wui/_pagination.scss +5 -1
- package/scss/wui/_query-builder.scss +91 -0
- package/scss/wui/_rating.scss +1 -1
- package/scss/wui/_record-pager.scss +1 -1
- package/scss/wui/_rich-text.scss +6 -6
- package/scss/wui/_select.scss +5 -5
- package/scss/wui/_shell-parts.scss +9 -8
- package/scss/wui/_shell.scss +34 -10
- package/scss/wui/_shortcuts.scss +5 -4
- package/scss/wui/_sortable.scss +2 -1
- package/scss/wui/_split-view.scss +11 -9
- package/scss/wui/_toolbar.scss +2 -2
- package/scss/wui/_transfer-list.scss +24 -0
- package/scss/wui/_tree-picker.scss +219 -0
- package/scss/wui/_typography.scss +5 -4
- package/scss/wui/_utilities.scss +38 -18
- package/scss/wui/_whats-new.scss +7 -1
- package/scss/wui/_workspace.scss +3 -3
- package/scss/wui/modes/_gantt.scss +44 -0
- package/scss/wui/tour/_advance.scss +12 -0
package/scss/wui/_utilities.scss
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
flex-shrink: 0;
|
|
19
19
|
vertical-align: -.125em;
|
|
20
20
|
}
|
|
21
|
+
// scale, not transform: some glyphs carry a transform of their own (a rotation or a mirror).
|
|
22
|
+
.wui-icon:dir(rtl):is([data-icon="chevron-left"], [data-icon="chevron-right"], [data-icon="chevrons-left"], [data-icon="chevrons-right"], [data-icon="arrow-left"], [data-icon="arrow-right"], [data-icon="arrow-up-right"], [data-icon="back"], [data-icon="undo"], [data-icon="redo"]) { scale: -1 1; }
|
|
21
23
|
// Zero specificity: a rule that colours an icon itself, such as .wui-select-caret, keeps winning.
|
|
22
24
|
:where(.wui-icon) {
|
|
23
25
|
color: var(--wui-icon-color, currentColor);
|
|
@@ -76,7 +78,7 @@
|
|
|
76
78
|
position: relative;
|
|
77
79
|
display: inline-flex;
|
|
78
80
|
vertical-align: middle;
|
|
79
|
-
margin-
|
|
81
|
+
margin-inline-start: 5px;
|
|
80
82
|
}
|
|
81
83
|
.infotip-btn {
|
|
82
84
|
display: inline-flex;
|
|
@@ -118,7 +120,7 @@
|
|
|
118
120
|
border: none;
|
|
119
121
|
border-radius: var(--wui-radius-lg);
|
|
120
122
|
box-shadow: var(--wui-shadow-popover);
|
|
121
|
-
text-align:
|
|
123
|
+
text-align: start;
|
|
122
124
|
white-space: normal;
|
|
123
125
|
cursor: default;
|
|
124
126
|
}
|
|
@@ -347,13 +349,14 @@
|
|
|
347
349
|
padding-bottom: 16px;
|
|
348
350
|
}
|
|
349
351
|
|
|
350
|
-
// ── Sticky ── (`sticky`): pins the masthead
|
|
352
|
+
// ── Sticky ── (`sticky`): pins the masthead below the shell's top bar inside `.app-shell`,
|
|
353
|
+
// and at the top of its scroll container outside one.
|
|
351
354
|
.page-header-sticky {
|
|
352
355
|
position: sticky;
|
|
353
|
-
top:
|
|
356
|
+
top: var(--wui-shell-topbar-height, 0px);
|
|
354
357
|
z-index: 20;
|
|
355
358
|
background: var(--color-surface);
|
|
356
|
-
padding-top:
|
|
359
|
+
padding-top: var(--wui-space-md);
|
|
357
360
|
}
|
|
358
361
|
|
|
359
362
|
// Tablet and below: the masthead stops being a single row — the title block and
|
|
@@ -387,7 +390,7 @@
|
|
|
387
390
|
// ── Row-action / icon buttons ──
|
|
388
391
|
.btn-icon {
|
|
389
392
|
min-height: 0;
|
|
390
|
-
padding:
|
|
393
|
+
padding: var(--wui-space-sm);
|
|
391
394
|
border-radius: 999px;
|
|
392
395
|
corner-shape: round;
|
|
393
396
|
// The base .btn flex/centring rule excludes .btn-icon, so without this an icon
|
|
@@ -444,7 +447,7 @@
|
|
|
444
447
|
content: "";
|
|
445
448
|
position: absolute;
|
|
446
449
|
top: 9px;
|
|
447
|
-
|
|
450
|
+
inset-inline-end: 9px;
|
|
448
451
|
width: 8px;
|
|
449
452
|
height: 8px;
|
|
450
453
|
border-radius: 999px;
|
|
@@ -656,7 +659,7 @@
|
|
|
656
659
|
display: inline-flex;
|
|
657
660
|
align-items: center;
|
|
658
661
|
justify-content: center;
|
|
659
|
-
padding:
|
|
662
|
+
padding: var(--wui-space-xs);
|
|
660
663
|
border: none;
|
|
661
664
|
background: transparent;
|
|
662
665
|
color: inherit;
|
|
@@ -768,16 +771,16 @@
|
|
|
768
771
|
}
|
|
769
772
|
@keyframes wui-progress-indeterminate {
|
|
770
773
|
0% {
|
|
771
|
-
margin-
|
|
774
|
+
margin-inline-start: -40%;
|
|
772
775
|
}
|
|
773
776
|
100% {
|
|
774
|
-
margin-
|
|
777
|
+
margin-inline-start: 100%;
|
|
775
778
|
}
|
|
776
779
|
}
|
|
777
780
|
@media (prefers-reduced-motion: reduce) {
|
|
778
781
|
// No sweep for reduced-motion users — settle to a static full bar.
|
|
779
782
|
.wui-progress-indeterminate {
|
|
780
|
-
margin-
|
|
783
|
+
margin-inline-start: 0;
|
|
781
784
|
width: 100%;
|
|
782
785
|
animation: none;
|
|
783
786
|
}
|
|
@@ -838,11 +841,20 @@
|
|
|
838
841
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
|
|
839
842
|
animation: skeleton-shimmer calc(var(--wui-duration-slow) * 4) var(--wui-ease-in-out) infinite;
|
|
840
843
|
}
|
|
844
|
+
.skeleton:dir(rtl)::after {
|
|
845
|
+
transform: translateX(100%);
|
|
846
|
+
animation-name: skeleton-shimmer-rtl;
|
|
847
|
+
}
|
|
841
848
|
@keyframes skeleton-shimmer {
|
|
842
849
|
100% {
|
|
843
850
|
transform: translateX(100%);
|
|
844
851
|
}
|
|
845
852
|
}
|
|
853
|
+
@keyframes skeleton-shimmer-rtl {
|
|
854
|
+
100% {
|
|
855
|
+
transform: translateX(-100%);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
846
858
|
:root[data-bs-theme="dark"] .skeleton::after {
|
|
847
859
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
|
|
848
860
|
}
|
|
@@ -850,6 +862,9 @@
|
|
|
850
862
|
.skeleton::after {
|
|
851
863
|
animation: none;
|
|
852
864
|
}
|
|
865
|
+
.skeleton:dir(rtl)::after {
|
|
866
|
+
animation-name: none;
|
|
867
|
+
}
|
|
853
868
|
}
|
|
854
869
|
.wui-skeleton-lines {
|
|
855
870
|
display: flex;
|
|
@@ -941,6 +956,7 @@
|
|
|
941
956
|
}
|
|
942
957
|
.wui-error-summary-list {
|
|
943
958
|
margin: 0;
|
|
959
|
+
// Stays physical: Bootstrap's reboot sets `ul` padding-left, and a logical side here would leave that 2rem on the end side under RTL.
|
|
944
960
|
padding-left: 20px;
|
|
945
961
|
}
|
|
946
962
|
.wui-error-summary-list li + li {
|
|
@@ -974,7 +990,8 @@
|
|
|
974
990
|
box-shadow:
|
|
975
991
|
inset 4px 0 0 var(--alert-accent),
|
|
976
992
|
inset 0 0 0 1px var(--alert-ring);
|
|
977
|
-
padding: 17px
|
|
993
|
+
padding-block: 17px 17px;
|
|
994
|
+
padding-inline: 22px 19px;
|
|
978
995
|
}
|
|
979
996
|
// `bordered={false}`: only the ring goes; the edge stays.
|
|
980
997
|
.alert-accent.alert-borderless {
|
|
@@ -1049,7 +1066,7 @@
|
|
|
1049
1066
|
}
|
|
1050
1067
|
.alert-action {
|
|
1051
1068
|
flex: none;
|
|
1052
|
-
margin-
|
|
1069
|
+
margin-inline-start: auto;
|
|
1053
1070
|
}
|
|
1054
1071
|
}
|
|
1055
1072
|
|
|
@@ -1170,10 +1187,12 @@
|
|
|
1170
1187
|
// The accent's padding per size: the size's own padding + the 1px the border no longer takes,
|
|
1171
1188
|
// + the 4px edge on the left. Two-class selectors, so they beat the size blocks above.
|
|
1172
1189
|
.alert-accent.alert-sm {
|
|
1173
|
-
padding: 10px
|
|
1190
|
+
padding-block: 10px 10px;
|
|
1191
|
+
padding-inline: 18px 15px;
|
|
1174
1192
|
}
|
|
1175
1193
|
.alert-accent.alert-lg {
|
|
1176
|
-
padding: 21px
|
|
1194
|
+
padding-block: 21px 21px;
|
|
1195
|
+
padding-inline: 26px 23px;
|
|
1177
1196
|
}
|
|
1178
1197
|
|
|
1179
1198
|
// The body's trailing paragraph shouldn't add space below the alert.
|
|
@@ -1185,11 +1204,11 @@
|
|
|
1185
1204
|
// base `.alert` padding overrides Bootstrap's own `.alert-dismissible` padding-right, so
|
|
1186
1205
|
// without this the body text runs under the × (the button is ~48px wide at right:0).
|
|
1187
1206
|
.alert-dismissible {
|
|
1188
|
-
padding-
|
|
1207
|
+
padding-inline-end: 52px;
|
|
1189
1208
|
}
|
|
1190
1209
|
// An accent alert has no 1px border, so it takes the missing pixel back on the right.
|
|
1191
1210
|
.alert-accent.alert-dismissible {
|
|
1192
|
-
padding-
|
|
1211
|
+
padding-inline-end: 53px;
|
|
1193
1212
|
}
|
|
1194
1213
|
// The dismiss × is a 32px rounded square like the modal close, centred vertically rather
|
|
1195
1214
|
// than pinned to the top corner. Its 8px glyph takes the variant's text colour: Bootstrap's
|
|
@@ -1198,6 +1217,7 @@
|
|
|
1198
1217
|
// transparent wash of the variant. Both colours come from tokens the dark theme remaps, so
|
|
1199
1218
|
// the close filter is not needed here. A variant without its own tokens falls back to ink.
|
|
1200
1219
|
.alert-dismissible .btn-close {
|
|
1220
|
+
// Stays physical: Bootstrap's .alert-dismissible .btn-close sets right: 0, and a logical offset would lose to it under RTL.
|
|
1201
1221
|
top: 50%;
|
|
1202
1222
|
right: 10px;
|
|
1203
1223
|
display: grid;
|
|
@@ -1245,7 +1265,7 @@
|
|
|
1245
1265
|
|
|
1246
1266
|
.tip-icon {
|
|
1247
1267
|
display: inline-flex;
|
|
1248
|
-
margin-
|
|
1268
|
+
margin-inline-start: 4px;
|
|
1249
1269
|
vertical-align: middle;
|
|
1250
1270
|
color: var(--color-text-subtle);
|
|
1251
1271
|
// `help` rather than `pointer`: the glyph explains, it does not navigate.
|
package/scss/wui/_whats-new.scss
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
.wui-whats-new-dot {
|
|
38
38
|
position: absolute;
|
|
39
39
|
top: 6px;
|
|
40
|
-
|
|
40
|
+
inset-inline-end: 6px;
|
|
41
41
|
box-sizing: content-box;
|
|
42
42
|
width: 8px;
|
|
43
43
|
height: 8px;
|
|
@@ -83,6 +83,9 @@
|
|
|
83
83
|
outline: none;
|
|
84
84
|
transform-origin: top right;
|
|
85
85
|
}
|
|
86
|
+
.wui-whats-new-panel:dir(rtl) {
|
|
87
|
+
transform-origin: top left;
|
|
88
|
+
}
|
|
86
89
|
.wui-whats-new-panel:popover-open {
|
|
87
90
|
animation: var(--wui-menu-anim) var(--wui-menu-anim-duration) var(--wui-menu-anim-ease);
|
|
88
91
|
}
|
|
@@ -91,6 +94,9 @@
|
|
|
91
94
|
|
|
92
95
|
transform-origin: bottom right;
|
|
93
96
|
}
|
|
97
|
+
.wui-whats-new-panel.drop-up:dir(rtl) {
|
|
98
|
+
transform-origin: bottom left;
|
|
99
|
+
}
|
|
94
100
|
.wui-whats-new-title {
|
|
95
101
|
margin: 0;
|
|
96
102
|
padding: 14px 16px 10px;
|
package/scss/wui/_workspace.scss
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
border: 1px solid var(--color-border);
|
|
35
35
|
border-radius: 999px;
|
|
36
36
|
color: var(--color-text);
|
|
37
|
-
text-align:
|
|
37
|
+
text-align: start;
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
transition:
|
|
40
40
|
border-color var(--wui-duration-fast) var(--wui-ease-ui),
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
color: var(--color-text);
|
|
236
236
|
font-size: 13px;
|
|
237
237
|
font-weight: 500;
|
|
238
|
-
text-align:
|
|
238
|
+
text-align: start;
|
|
239
239
|
text-decoration: none;
|
|
240
240
|
cursor: pointer;
|
|
241
241
|
}
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
color: var(--color-primary-text);
|
|
342
342
|
font-size: 13px;
|
|
343
343
|
font-weight: 600;
|
|
344
|
-
text-align:
|
|
344
|
+
text-align: start;
|
|
345
345
|
text-decoration: none;
|
|
346
346
|
cursor: pointer;
|
|
347
347
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Print and forced-colours rules for this on-demand widget: two blocks, @media (forced-colors: active) then @media print.
|
|
2
|
+
|
|
3
|
+
@media (forced-colors: active) {
|
|
4
|
+
.wui-gantt-bar,
|
|
5
|
+
.wui-gantt-milestone {
|
|
6
|
+
outline: 1px solid CanvasText;
|
|
7
|
+
outline-offset: -1px;
|
|
8
|
+
}
|
|
9
|
+
.wui-gantt-today {
|
|
10
|
+
background: CanvasText;
|
|
11
|
+
}
|
|
12
|
+
.wui-gantt-milestone {
|
|
13
|
+
forced-color-adjust: none;
|
|
14
|
+
background: CanvasText;
|
|
15
|
+
}
|
|
16
|
+
.wui-gantt[data-layout="table"] .wui-gantt-bar-progress {
|
|
17
|
+
background: CanvasText;
|
|
18
|
+
}
|
|
19
|
+
.wui-gantt-bar:focus-visible,
|
|
20
|
+
.wui-gantt-milestone:focus-visible,
|
|
21
|
+
.wui-gantt-group-toggle:focus-visible {
|
|
22
|
+
outline: var(--wui-focus-ring-width) solid Highlight;
|
|
23
|
+
outline-offset: calc(-1 * var(--wui-focus-ring-width));
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@media print {
|
|
28
|
+
.wui-gantt-bar,
|
|
29
|
+
.wui-gantt-milestone {
|
|
30
|
+
print-color-adjust: exact;
|
|
31
|
+
}
|
|
32
|
+
.wui-gantt-toolbar {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
.wui-gantt-scroller {
|
|
36
|
+
overflow: visible;
|
|
37
|
+
}
|
|
38
|
+
.wui-gantt-head {
|
|
39
|
+
position: static;
|
|
40
|
+
}
|
|
41
|
+
.wui-gantt-table {
|
|
42
|
+
position: static;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -103,6 +103,15 @@
|
|
|
103
103
|
85% { opacity: 1; transform: translate(0, 0) scale(1); }
|
|
104
104
|
100% { opacity: 0; transform: translate(0, 0) scale(1); }
|
|
105
105
|
}
|
|
106
|
+
@keyframes wui-tour-tap-rtl {
|
|
107
|
+
0% { opacity: 0; transform: translate(-56px, 44px) scale(1); }
|
|
108
|
+
10% { opacity: 1; transform: translate(-56px, 44px) scale(1); }
|
|
109
|
+
45% { transform: translate(0, 0) scale(1); }
|
|
110
|
+
52% { transform: translate(0, 0) scale(0.86); }
|
|
111
|
+
60% { transform: translate(0, 0) scale(1); }
|
|
112
|
+
85% { opacity: 1; transform: translate(0, 0) scale(1); }
|
|
113
|
+
100% { opacity: 0; transform: translate(0, 0) scale(1); }
|
|
114
|
+
}
|
|
106
115
|
@keyframes wui-tour-ripple {
|
|
107
116
|
0%, 50% { opacity: 0; transform: scale(0.2); }
|
|
108
117
|
52% { opacity: 0.35; transform: scale(0.2); }
|
|
@@ -114,6 +123,9 @@
|
|
|
114
123
|
.wui-tour-pointer {
|
|
115
124
|
opacity: 0;
|
|
116
125
|
animation: wui-tour-tap calc(var(--wui-duration-slow) * 6) var(--wui-ease-out) var(--wui-tour-spot-duration) infinite;
|
|
126
|
+
&:dir(rtl) {
|
|
127
|
+
animation-name: wui-tour-tap-rtl;
|
|
128
|
+
}
|
|
117
129
|
&::after {
|
|
118
130
|
display: block;
|
|
119
131
|
animation: wui-tour-ripple calc(var(--wui-duration-slow) * 6) var(--wui-ease-out) var(--wui-tour-spot-duration)
|