@webority/theme 0.168.0 → 0.169.1
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
|
@@ -61,7 +61,7 @@ wui-navigation-menu {
|
|
|
61
61
|
}
|
|
62
62
|
.wui-nav-menu-trigger > .wui-nav-menu-chevron {
|
|
63
63
|
flex: none;
|
|
64
|
-
margin-
|
|
64
|
+
margin-inline-start: auto;
|
|
65
65
|
transition: rotate var(--wui-duration-fast) var(--wui-ease-out);
|
|
66
66
|
}
|
|
67
67
|
.wui-nav-menu-trigger[aria-expanded="true"] > .wui-nav-menu-chevron {
|
|
@@ -72,7 +72,8 @@ wui-navigation-menu {
|
|
|
72
72
|
display: none;
|
|
73
73
|
inset: auto;
|
|
74
74
|
margin: 0;
|
|
75
|
-
padding:
|
|
75
|
+
padding-block: var(--wui-space-xs);
|
|
76
|
+
padding-inline: 12px 0;
|
|
76
77
|
|
|
77
78
|
&:popover-open {
|
|
78
79
|
display: block;
|
|
@@ -142,7 +143,7 @@ wui-navigation-menu {
|
|
|
142
143
|
width: auto;
|
|
143
144
|
}
|
|
144
145
|
.wui-nav-menu-trigger > .wui-nav-menu-chevron {
|
|
145
|
-
margin-
|
|
146
|
+
margin-inline-start: 0;
|
|
146
147
|
}
|
|
147
148
|
.wui-nav-menu-panel {
|
|
148
149
|
width: max-content;
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
.drawer {
|
|
11
11
|
position: fixed;
|
|
12
12
|
top: 0;
|
|
13
|
-
|
|
13
|
+
inset-inline-end: 0;
|
|
14
14
|
width: 420px;
|
|
15
15
|
max-width: 100vw;
|
|
16
16
|
height: 100vh;
|
|
17
17
|
background: var(--color-surface);
|
|
18
|
-
border-
|
|
18
|
+
border-inline-start: 1px solid var(--color-border);
|
|
19
19
|
// Same rung as the mobile sidebar drawer — the highest shell-chrome rung below
|
|
20
20
|
// the modal ladder, so this panel is never trapped under sticky/fixed shell chrome.
|
|
21
21
|
z-index: var(--wui-z-shell-drawer);
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
}
|
|
27
|
+
.drawer:dir(rtl) {
|
|
28
|
+
transform: translateX(-100%);
|
|
29
|
+
}
|
|
27
30
|
.drawer.open {
|
|
28
31
|
transform: translateX(0);
|
|
29
32
|
}
|
|
@@ -416,26 +419,26 @@
|
|
|
416
419
|
flex-direction: column;
|
|
417
420
|
align-items: stretch;
|
|
418
421
|
border-bottom: 0;
|
|
419
|
-
border-
|
|
422
|
+
border-inline-start: 1px solid var(--color-border);
|
|
420
423
|
overflow-x: visible;
|
|
421
424
|
overflow-y: auto;
|
|
422
425
|
}
|
|
423
426
|
.app-tabs-vertical .app-tab {
|
|
424
427
|
justify-content: flex-start;
|
|
425
428
|
border-bottom: 0;
|
|
426
|
-
border-
|
|
429
|
+
border-inline-start: 2px solid transparent;
|
|
427
430
|
margin-bottom: 0;
|
|
428
|
-
margin-
|
|
431
|
+
margin-inline-start: -1px;
|
|
429
432
|
}
|
|
430
433
|
.app-tabs-vertical .app-tab.active {
|
|
431
|
-
border-
|
|
434
|
+
border-inline-start-color: var(--color-primary);
|
|
432
435
|
border-bottom-color: transparent;
|
|
433
436
|
}
|
|
434
437
|
.app-tabs-vertical[data-wui-tabs] .app-tab.active {
|
|
435
|
-
border-
|
|
438
|
+
border-inline-start-color: transparent;
|
|
436
439
|
}
|
|
437
440
|
.app-tabs-vertical .app-tab-indicator {
|
|
438
|
-
|
|
441
|
+
inset-inline-start: -1px;
|
|
439
442
|
top: 0;
|
|
440
443
|
bottom: auto;
|
|
441
444
|
width: 2px;
|
|
@@ -448,7 +451,7 @@
|
|
|
448
451
|
}
|
|
449
452
|
// Vertical pills: the moving pill fills the row width.
|
|
450
453
|
.app-tabs-vertical.app-tabs-pills .app-tab-indicator {
|
|
451
|
-
|
|
454
|
+
inset-inline-start: 0;
|
|
452
455
|
width: 100%;
|
|
453
456
|
}
|
|
454
457
|
|
|
@@ -535,6 +538,7 @@
|
|
|
535
538
|
width: 6px;
|
|
536
539
|
height: 6px;
|
|
537
540
|
margin-top: -3px;
|
|
541
|
+
// Stays physical: a non-directional chevron, and a logical border would point it left under RTL.
|
|
538
542
|
border-right: 1.5px solid currentColor;
|
|
539
543
|
border-bottom: 1.5px solid currentColor;
|
|
540
544
|
transform: rotate(45deg);
|
|
@@ -570,7 +574,7 @@
|
|
|
570
574
|
color: var(--color-text);
|
|
571
575
|
font-family: inherit;
|
|
572
576
|
font-size: 14px;
|
|
573
|
-
text-align:
|
|
577
|
+
text-align: start;
|
|
574
578
|
white-space: nowrap;
|
|
575
579
|
overflow: hidden;
|
|
576
580
|
text-overflow: ellipsis;
|
|
@@ -617,7 +621,7 @@
|
|
|
617
621
|
}
|
|
618
622
|
.search-wrap > .search-icon {
|
|
619
623
|
position: absolute;
|
|
620
|
-
|
|
624
|
+
inset-inline-start: 13px;
|
|
621
625
|
top: 50%;
|
|
622
626
|
transform: translateY(-50%);
|
|
623
627
|
display: grid;
|
|
@@ -632,12 +636,12 @@
|
|
|
632
636
|
.search-field,
|
|
633
637
|
.search-input {
|
|
634
638
|
width: 100%;
|
|
635
|
-
padding-
|
|
636
|
-
padding-
|
|
639
|
+
padding-inline-start: calc(13px + var(--wui-search-icon-size, 18px) + 9px);
|
|
640
|
+
padding-inline-end: 36px;
|
|
637
641
|
}
|
|
638
642
|
.search-clear {
|
|
639
643
|
position: absolute;
|
|
640
|
-
|
|
644
|
+
inset-inline-end: 8px;
|
|
641
645
|
top: 50%;
|
|
642
646
|
transform: translateY(-50%);
|
|
643
647
|
display: grid;
|
|
@@ -731,40 +735,40 @@
|
|
|
731
735
|
// track the height so they stay centred and clear of the text.
|
|
732
736
|
.search-wrap.wui-search-sm .search-input {
|
|
733
737
|
height: var(--wui-control-sm);
|
|
734
|
-
padding-
|
|
735
|
-
padding-
|
|
738
|
+
padding-inline-start: calc(13px + var(--wui-search-icon-size, 12px) + 9px);
|
|
739
|
+
padding-inline-end: 32px;
|
|
736
740
|
font-size: 13px;
|
|
737
741
|
}
|
|
738
742
|
.search-wrap.wui-search-sm > .search-icon,
|
|
739
743
|
.search-wrap.wui-search-sm .search-spinner {
|
|
740
|
-
|
|
744
|
+
inset-inline-start: 11px;
|
|
741
745
|
}
|
|
742
746
|
.search-wrap.wui-search-sm .search-clear {
|
|
743
747
|
width: 22px;
|
|
744
748
|
height: 22px;
|
|
745
|
-
|
|
749
|
+
inset-inline-end: 6px;
|
|
746
750
|
}
|
|
747
751
|
.search-wrap.wui-search-lg .search-input,
|
|
748
752
|
.search-wrap.wui-search-xl .search-input {
|
|
749
753
|
height: var(--wui-control-lg);
|
|
750
|
-
padding-
|
|
751
|
-
padding-
|
|
754
|
+
padding-inline-start: calc(13px + var(--wui-search-icon-size, 24px) + 9px);
|
|
755
|
+
padding-inline-end: 40px;
|
|
752
756
|
font-size: 16px;
|
|
753
757
|
}
|
|
754
758
|
.search-wrap.wui-search-lg > .search-icon,
|
|
755
759
|
.search-wrap.wui-search-lg .search-spinner {
|
|
756
|
-
|
|
760
|
+
inset-inline-start: 16px;
|
|
757
761
|
}
|
|
758
762
|
.search-wrap.wui-search-xl .search-input {
|
|
759
763
|
// Room kept clear for the clear button at the right; a layout constant, not a spacing step.
|
|
760
764
|
--wui-search-clear-room: 44px;
|
|
761
765
|
height: var(--wui-control-xl);
|
|
762
|
-
padding-
|
|
766
|
+
padding-inline-end: var(--wui-search-clear-room);
|
|
763
767
|
font-size: var(--wui-fs-lg);
|
|
764
768
|
}
|
|
765
769
|
.search-wrap.wui-search-xl > .search-icon,
|
|
766
770
|
.search-wrap.wui-search-xl .search-spinner {
|
|
767
|
-
|
|
771
|
+
inset-inline-start: var(--wui-space-lg);
|
|
768
772
|
}
|
|
769
773
|
// Loading — a spinner replaces the leading glyph while a search is in flight.
|
|
770
774
|
.search-wrap.is-loading > .search-icon {
|
|
@@ -772,7 +776,7 @@
|
|
|
772
776
|
}
|
|
773
777
|
.search-spinner {
|
|
774
778
|
position: absolute;
|
|
775
|
-
|
|
779
|
+
inset-inline-start: 13px;
|
|
776
780
|
top: 50%;
|
|
777
781
|
margin-top: -9px;
|
|
778
782
|
width: 18px;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
.wui-notification-center-count {
|
|
21
21
|
position: absolute;
|
|
22
22
|
top: -2px;
|
|
23
|
-
|
|
23
|
+
inset-inline-end: -2px;
|
|
24
24
|
box-sizing: border-box;
|
|
25
25
|
min-width: 18px;
|
|
26
26
|
height: 18px;
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
background: transparent;
|
|
154
154
|
color: var(--color-text-body);
|
|
155
155
|
font: inherit;
|
|
156
|
-
text-align:
|
|
156
|
+
text-align: start;
|
|
157
157
|
text-decoration: none;
|
|
158
158
|
cursor: pointer;
|
|
159
159
|
}
|
|
@@ -74,6 +74,9 @@
|
|
|
74
74
|
.wui-onboarding-toggle[aria-expanded="false"] .wui-onboarding-chevron {
|
|
75
75
|
transform: rotate(-90deg);
|
|
76
76
|
}
|
|
77
|
+
.wui-onboarding-toggle[aria-expanded="false"]:dir(rtl) .wui-onboarding-chevron {
|
|
78
|
+
transform: rotate(90deg);
|
|
79
|
+
}
|
|
77
80
|
.wui-onboarding-dismiss {
|
|
78
81
|
flex: none;
|
|
79
82
|
}
|
package/scss/wui/_org-tree.scss
CHANGED
|
@@ -67,9 +67,9 @@ wui-org-tree {
|
|
|
67
67
|
}
|
|
68
68
|
.wui-org-tree-children > .wui-org-tree-item::before {
|
|
69
69
|
top: 0;
|
|
70
|
-
|
|
70
|
+
inset-inline-start: 50%;
|
|
71
71
|
height: calc(var(--wui-space-lg) / 2);
|
|
72
|
-
border-
|
|
72
|
+
border-inline-start: 1px solid var(--color-border);
|
|
73
73
|
}
|
|
74
74
|
.wui-org-tree-children > .wui-org-tree-item::after {
|
|
75
75
|
top: calc(var(--wui-space-lg) / 2);
|
|
@@ -78,10 +78,10 @@ wui-org-tree {
|
|
|
78
78
|
border-top: 1px solid var(--color-border);
|
|
79
79
|
}
|
|
80
80
|
.wui-org-tree-children > .wui-org-tree-item:first-child::after {
|
|
81
|
-
|
|
81
|
+
inset-inline-start: 50%;
|
|
82
82
|
}
|
|
83
83
|
.wui-org-tree-children > .wui-org-tree-item:last-child::after {
|
|
84
|
-
|
|
84
|
+
inset-inline-end: 50%;
|
|
85
85
|
}
|
|
86
86
|
.wui-org-tree-children > .wui-org-tree-item:only-child::after {
|
|
87
87
|
display: none;
|
|
@@ -97,9 +97,9 @@ wui-org-tree {
|
|
|
97
97
|
content: "";
|
|
98
98
|
position: absolute;
|
|
99
99
|
top: 0;
|
|
100
|
-
|
|
100
|
+
inset-inline-start: 50%;
|
|
101
101
|
height: calc(var(--wui-space-lg) / 2);
|
|
102
|
-
border-
|
|
102
|
+
border-inline-start: 1px solid var(--color-border);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// ── Node card ──
|
|
@@ -217,6 +217,9 @@ wui-org-tree {
|
|
|
217
217
|
transform: scale(var(--wui-org-tree-print-scale, 1));
|
|
218
218
|
transform-origin: top left;
|
|
219
219
|
}
|
|
220
|
+
.wui-org-tree:dir(rtl) {
|
|
221
|
+
transform-origin: top right;
|
|
222
|
+
}
|
|
220
223
|
.wui-org-tree-item {
|
|
221
224
|
break-inside: avoid;
|
|
222
225
|
}
|
package/scss/wui/_overlays.scss
CHANGED
|
@@ -281,7 +281,7 @@ dialog.wui-modal-shell[open] {
|
|
|
281
281
|
// the same control.
|
|
282
282
|
.wui-modal-close,
|
|
283
283
|
.wui-drawer-close {
|
|
284
|
-
margin-
|
|
284
|
+
margin-inline-start: auto;
|
|
285
285
|
display: grid;
|
|
286
286
|
place-items: center;
|
|
287
287
|
flex: none;
|
|
@@ -553,7 +553,7 @@ dialog.wui-modal-shell[open] {
|
|
|
553
553
|
// so a size-* class or a custom var resizes the tip without touching this rule.
|
|
554
554
|
font-weight: 500;
|
|
555
555
|
line-height: 1.4;
|
|
556
|
-
text-align:
|
|
556
|
+
text-align: start;
|
|
557
557
|
border: 1px solid var(--wui-tooltip-border);
|
|
558
558
|
box-shadow: var(--wui-tooltip-shadow);
|
|
559
559
|
}
|
|
@@ -758,13 +758,13 @@ dialog.wui-modal-shell[open] {
|
|
|
758
758
|
// Bootstrap's .end-0 utility, which is itself !important.
|
|
759
759
|
@include media-breakpoint-up(md) {
|
|
760
760
|
body:has(.wui-drawer[open]:not([side="start"])) .wui-toast-container.end-0 {
|
|
761
|
-
|
|
761
|
+
inset-inline-end: min(480px, 100%) !important;
|
|
762
762
|
}
|
|
763
763
|
body:has(.wui-drawer[open][size="sm"]:not([side="start"])) .wui-toast-container.end-0 {
|
|
764
|
-
|
|
764
|
+
inset-inline-end: min(360px, 100%) !important;
|
|
765
765
|
}
|
|
766
766
|
body:has(.wui-drawer[open][size="lg"]:not([side="start"])) .wui-toast-container.end-0 {
|
|
767
|
-
|
|
767
|
+
inset-inline-end: min(640px, 100%) !important;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
770
|
|
|
@@ -906,7 +906,8 @@ dialog.wui-modal-shell[open] {
|
|
|
906
906
|
background: none;
|
|
907
907
|
border: 0;
|
|
908
908
|
padding: 3px 8px;
|
|
909
|
-
margin: -1px
|
|
909
|
+
margin-block: -1px -3px;
|
|
910
|
+
margin-inline: calc(var(--wui-space-sm) * -1) 0;
|
|
910
911
|
border-radius: 6px;
|
|
911
912
|
cursor: pointer;
|
|
912
913
|
color: var(--color-text);
|
|
@@ -957,7 +958,7 @@ dialog.wui-modal-shell[open] {
|
|
|
957
958
|
// reads as pressure).
|
|
958
959
|
.wui-toast-progress {
|
|
959
960
|
position: absolute;
|
|
960
|
-
|
|
961
|
+
inset-inline-start: 0;
|
|
961
962
|
bottom: 0;
|
|
962
963
|
height: 0;
|
|
963
964
|
width: 100%;
|
|
@@ -966,6 +967,9 @@ dialog.wui-modal-shell[open] {
|
|
|
966
967
|
animation-timing-function: var(--wui-ease-linear);
|
|
967
968
|
animation-fill-mode: forwards;
|
|
968
969
|
}
|
|
970
|
+
.wui-toast-progress:dir(rtl) {
|
|
971
|
+
transform-origin: right center;
|
|
972
|
+
}
|
|
969
973
|
.wui-toast:hover .wui-toast-progress,
|
|
970
974
|
.wui-toast:focus-within .wui-toast-progress {
|
|
971
975
|
animation-play-state: paused;
|
|
@@ -32,13 +32,17 @@
|
|
|
32
32
|
min-width: 64px;
|
|
33
33
|
height: var(--wui-control-sm);
|
|
34
34
|
min-height: var(--wui-control-sm);
|
|
35
|
-
padding: 0
|
|
35
|
+
padding-block: 0;
|
|
36
|
+
padding-inline: var(--wui-space-md) var(--wui-space-2xl);
|
|
36
37
|
font-size: var(--wui-fs-xs);
|
|
37
38
|
font-weight: var(--wui-fw-semibold);
|
|
38
39
|
border-radius: var(--wui-radius-md);
|
|
39
40
|
background-position: right 8px center;
|
|
40
41
|
background-size: 14px;
|
|
41
42
|
}
|
|
43
|
+
.select.tpg-select:dir(rtl) {
|
|
44
|
+
background-position: left 8px center;
|
|
45
|
+
}
|
|
42
46
|
.tpg-range {
|
|
43
47
|
font-variant-numeric: tabular-nums;
|
|
44
48
|
white-space: nowrap;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@use "../config" as *;
|
|
2
|
+
|
|
3
|
+
// The rule panel of AppQueryBuilder, drawn inside an AppPopover: this partial sizes the panel and lays out
|
|
4
|
+
// a condition row; every colour and space is an existing token.
|
|
5
|
+
|
|
6
|
+
.wui-query-panel {
|
|
7
|
+
--bs-popover-max-width: min(640px, calc(100vw - 1rem));
|
|
8
|
+
width: min(640px, calc(100vw - 1rem));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.wui-query-panel > .popover-body {
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.wui-query-panel-body {
|
|
16
|
+
max-height: min(60vh, 480px);
|
|
17
|
+
overflow-y: auto;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.wui-query-row {
|
|
21
|
+
display: grid;
|
|
22
|
+
grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) minmax(190px, 1.7fr) 32px;
|
|
23
|
+
gap: var(--wui-space-sm);
|
|
24
|
+
align-items: start;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.wui-query-row > * {
|
|
28
|
+
min-width: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// The between pair: two inputs in a row that stacks when the value cell is narrow.
|
|
32
|
+
.wui-query-range {
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
gap: var(--wui-space-sm);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.wui-query-range > * {
|
|
38
|
+
flex: 1 1 calc(var(--wui-space-4xl) * 2);
|
|
39
|
+
min-width: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.wui-query-range > span {
|
|
43
|
+
flex: 0 0 auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// A grid or flex parent sizes its child to the child's content by default, and a chip label never wraps, so
|
|
47
|
+
// without this the root keeps the longest chip's width and the bar overruns a narrow screen.
|
|
48
|
+
.wui-query-builder {
|
|
49
|
+
min-width: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.wui-query-bar {
|
|
53
|
+
flex-wrap: wrap;
|
|
54
|
+
min-width: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Applied chips: the label truncates and the remove cross stays visible.
|
|
58
|
+
.wui-query-chip {
|
|
59
|
+
min-width: 0;
|
|
60
|
+
max-width: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.wui-query-chip > .chip-label {
|
|
64
|
+
min-width: 0;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
text-overflow: ellipsis;
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.wui-query-chip > .chip-remove {
|
|
71
|
+
flex: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.wui-query-empty {
|
|
75
|
+
border-style: dashed;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media (max-width: 575.98px) {
|
|
79
|
+
.wui-query-row {
|
|
80
|
+
grid-template-columns: minmax(0, 1fr) 32px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.wui-query-row > * {
|
|
84
|
+
grid-column: 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.wui-query-row > :last-child {
|
|
88
|
+
grid-column: 2;
|
|
89
|
+
grid-row: 1;
|
|
90
|
+
}
|
|
91
|
+
}
|
package/scss/wui/_rating.scss
CHANGED
package/scss/wui/_rich-text.scss
CHANGED
|
@@ -82,8 +82,8 @@ wui-rich-text[readonly] .wui-rich-text-toolbar {
|
|
|
82
82
|
gap: 2px;
|
|
83
83
|
}
|
|
84
84
|
.wui-rich-text-group + .wui-rich-text-group {
|
|
85
|
-
padding-
|
|
86
|
-
border-
|
|
85
|
+
padding-inline-start: 8px;
|
|
86
|
+
border-inline-start: 1px solid var(--color-border);
|
|
87
87
|
}
|
|
88
88
|
.wui-rich-text-button {
|
|
89
89
|
display: inline-flex;
|
|
@@ -258,15 +258,15 @@ wui-rich-text[readonly] .wui-rich-text-prose {
|
|
|
258
258
|
.wui-rich-text-prose ul,
|
|
259
259
|
.wui-rich-text-prose ol {
|
|
260
260
|
margin: 0 0 0.75em;
|
|
261
|
-
padding-
|
|
261
|
+
padding-inline-start: 1.5em;
|
|
262
262
|
}
|
|
263
263
|
.wui-rich-text-prose li > p {
|
|
264
264
|
margin-bottom: 0.25em;
|
|
265
265
|
}
|
|
266
266
|
.wui-rich-text-prose blockquote {
|
|
267
267
|
margin: 0 0 0.75em;
|
|
268
|
-
padding-
|
|
269
|
-
border-
|
|
268
|
+
padding-inline-start: 12px;
|
|
269
|
+
border-inline-start: 3px solid var(--color-border-strong);
|
|
270
270
|
color: var(--color-text-muted);
|
|
271
271
|
}
|
|
272
272
|
.wui-rich-text-prose a {
|
|
@@ -295,7 +295,7 @@ wui-rich-text[readonly] .wui-rich-text-prose {
|
|
|
295
295
|
// The engine marks the empty first paragraph; the placeholder text is its data attribute.
|
|
296
296
|
.wui-rich-text-prose p.wui-rich-text-empty:first-child::before {
|
|
297
297
|
content: attr(data-placeholder);
|
|
298
|
-
float:
|
|
298
|
+
float: inline-start;
|
|
299
299
|
height: 0;
|
|
300
300
|
color: var(--color-text-subtle);
|
|
301
301
|
pointer-events: none;
|
package/scss/wui/_select.scss
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
padding: 0 var(--wui-space-md);
|
|
16
16
|
border-radius: var(--wui-radius-sm);
|
|
17
17
|
color: var(--color-text-body);
|
|
18
|
-
text-align:
|
|
18
|
+
text-align: start;
|
|
19
19
|
cursor: pointer;
|
|
20
20
|
width: 100%;
|
|
21
21
|
min-width: 0;
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
padding: 0;
|
|
208
208
|
// Sits at the box's 12px right padding; a small negative margin nudges it
|
|
209
209
|
// closer to the edge so it lines up with the field's own trailing controls.
|
|
210
|
-
margin-
|
|
210
|
+
margin-inline-end: calc(-1 * var(--wui-space-xs));
|
|
211
211
|
font-size: var(--wui-fs-lg);
|
|
212
212
|
// Tight line box: at normal line-height the icon's box is taller than the
|
|
213
213
|
// button, so bootstrap-icons' baseline offset drifts the glyph low.
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
justify-content: space-between;
|
|
246
246
|
gap: var(--wui-space-sm);
|
|
247
247
|
width: 100%;
|
|
248
|
-
text-align:
|
|
248
|
+
text-align: start;
|
|
249
249
|
padding: var(--wui-space-sm) var(--wui-space-md);
|
|
250
250
|
line-height: var(--wui-lh-body);
|
|
251
251
|
border: none;
|
|
@@ -349,7 +349,7 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
|
|
|
349
349
|
min-width: 0;
|
|
350
350
|
overflow: hidden;
|
|
351
351
|
text-overflow: ellipsis;
|
|
352
|
-
text-align:
|
|
352
|
+
text-align: start;
|
|
353
353
|
}
|
|
354
354
|
.wui-select-multi .wui-select-option {
|
|
355
355
|
display: flex;
|
|
@@ -447,7 +447,7 @@ wui-select[mode="multiple"][collapse-chips] .wui-select-chips {
|
|
|
447
447
|
.field-float.wui-float-above:has(.wui-select-menu:popover-open) .float-label,
|
|
448
448
|
.field-float.wui-float-above:has([data-label]:not(.wui-select-placeholder)) .float-label {
|
|
449
449
|
top: 0;
|
|
450
|
-
|
|
450
|
+
inset-inline-start: 0;
|
|
451
451
|
padding: 0;
|
|
452
452
|
transform: scale(0.86);
|
|
453
453
|
font-weight: var(--wui-fw-medium);
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
.wui-tabbar-badge {
|
|
115
115
|
position: absolute;
|
|
116
116
|
top: 6px;
|
|
117
|
-
|
|
117
|
+
inset-inline-start: calc(50% + 6px);
|
|
118
118
|
min-width: 18px;
|
|
119
119
|
height: 18px;
|
|
120
120
|
padding: 0 5px;
|
|
@@ -153,8 +153,8 @@
|
|
|
153
153
|
.wui-usermenu-menu,
|
|
154
154
|
.wui-bell-menu {
|
|
155
155
|
top: calc(100% + 8px);
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
inset-inline-end: 0;
|
|
157
|
+
inset-inline-start: auto;
|
|
158
158
|
max-width: calc(100vw - 24px);
|
|
159
159
|
border: 1px solid var(--color-border);
|
|
160
160
|
border-radius: var(--wui-radius-lg);
|
|
@@ -184,7 +184,8 @@
|
|
|
184
184
|
align-items: center;
|
|
185
185
|
gap: 10px;
|
|
186
186
|
min-height: 44px;
|
|
187
|
-
padding: 4px
|
|
187
|
+
padding-block: 4px 4px;
|
|
188
|
+
padding-inline: 4px 8px;
|
|
188
189
|
border: 0;
|
|
189
190
|
border-radius: 999px;
|
|
190
191
|
background: transparent;
|
|
@@ -207,7 +208,7 @@
|
|
|
207
208
|
display: flex;
|
|
208
209
|
flex-direction: column;
|
|
209
210
|
line-height: 1.2;
|
|
210
|
-
text-align:
|
|
211
|
+
text-align: start;
|
|
211
212
|
}
|
|
212
213
|
.wui-usermenu-name {
|
|
213
214
|
font-size: 14px;
|
|
@@ -295,7 +296,7 @@
|
|
|
295
296
|
width: 100%;
|
|
296
297
|
border: 0;
|
|
297
298
|
background: transparent;
|
|
298
|
-
text-align:
|
|
299
|
+
text-align: start;
|
|
299
300
|
}
|
|
300
301
|
|
|
301
302
|
// ── Notification bell ───────────────────────────────────────────────────────────────────────
|
|
@@ -307,7 +308,7 @@
|
|
|
307
308
|
.wui-bell-count {
|
|
308
309
|
position: absolute;
|
|
309
310
|
top: -2px;
|
|
310
|
-
|
|
311
|
+
inset-inline-end: -2px;
|
|
311
312
|
box-sizing: border-box;
|
|
312
313
|
min-width: 18px;
|
|
313
314
|
height: 18px;
|
|
@@ -568,7 +569,7 @@ a.wui-bell-item:focus-visible {
|
|
|
568
569
|
@include media-breakpoint-down(md) {
|
|
569
570
|
.wui-topsearch {
|
|
570
571
|
width: auto;
|
|
571
|
-
margin-
|
|
572
|
+
margin-inline-start: auto;
|
|
572
573
|
}
|
|
573
574
|
.wui-topsearch-open {
|
|
574
575
|
display: inline-flex;
|