@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.
Files changed (73) hide show
  1. package/README.md +12 -1
  2. package/dist/postcss/rtl-mirror.d.mts +10 -0
  3. package/dist/postcss/rtl-mirror.mjs +1 -0
  4. package/dist/purge-safelist.json +49 -1
  5. package/dist/webority-modes.css +1 -1
  6. package/dist/webority-theme.css +1 -1
  7. package/dist/webority-tokens.css +1 -1
  8. package/package.json +8 -4
  9. package/scss/_bootstrap-css.scss +1 -0
  10. package/scss/_bootstrap.generated.scss +1 -1
  11. package/scss/_components.scss +28 -7
  12. package/scss/_config.scss +22 -0
  13. package/scss/_marketing.scss +7 -0
  14. package/scss/_modes.scss +1 -0
  15. package/scss/_tokens-modes.generated.scss +1 -1
  16. package/scss/_tokens.generated.scss +2 -2
  17. package/scss/_wui-components.scss +4 -0
  18. package/scss/_wui-core.scss +2 -0
  19. package/scss/wui/_avatar-picker.scss +1 -1
  20. package/scss/wui/_calendar.scss +2 -2
  21. package/scss/wui/_card.scss +3 -3
  22. package/scss/wui/_cell.scss +1 -1
  23. package/scss/wui/_chart.scss +6 -5
  24. package/scss/wui/_choice.scss +56 -24
  25. package/scss/wui/_code-block.scss +2 -1
  26. package/scss/wui/_compare-table.scss +8 -5
  27. package/scss/wui/_consent-banner.scss +4 -1
  28. package/scss/wui/_controls.scss +66 -39
  29. package/scss/wui/_data.scss +58 -45
  30. package/scss/wui/_disclosure.scss +11 -5
  31. package/scss/wui/_display.scss +67 -39
  32. package/scss/wui/_drawer.scss +9 -3
  33. package/scss/wui/_due-date.scss +1 -1
  34. package/scss/wui/_empty-state.scss +1 -1
  35. package/scss/wui/_entry-grid.scss +23 -0
  36. package/scss/wui/_field-busy.scss +6 -0
  37. package/scss/wui/_file-viewer.scss +4 -4
  38. package/scss/wui/_flow.scss +26 -22
  39. package/scss/wui/_gantt.scss +498 -0
  40. package/scss/wui/_kanban.scss +1 -1
  41. package/scss/wui/_lightbox.scss +2 -2
  42. package/scss/wui/_markdown.scss +3 -3
  43. package/scss/wui/_media.scss +13 -13
  44. package/scss/wui/_menu-motion.scss +3 -0
  45. package/scss/wui/_metric-strip.scss +1 -1
  46. package/scss/wui/_modal-remote.scss +8 -1
  47. package/scss/wui/_native-overlay.scss +12 -0
  48. package/scss/wui/_navigation-menu.scss +4 -3
  49. package/scss/wui/_navigation.scss +28 -24
  50. package/scss/wui/_notification-center.scss +2 -2
  51. package/scss/wui/_onboarding-checklist.scss +3 -0
  52. package/scss/wui/_org-tree.scss +9 -6
  53. package/scss/wui/_overlays.scss +11 -7
  54. package/scss/wui/_pagination.scss +5 -1
  55. package/scss/wui/_query-builder.scss +91 -0
  56. package/scss/wui/_rating.scss +1 -1
  57. package/scss/wui/_record-pager.scss +1 -1
  58. package/scss/wui/_rich-text.scss +6 -6
  59. package/scss/wui/_select.scss +5 -5
  60. package/scss/wui/_shell-parts.scss +9 -8
  61. package/scss/wui/_shell.scss +34 -10
  62. package/scss/wui/_shortcuts.scss +5 -4
  63. package/scss/wui/_sortable.scss +2 -1
  64. package/scss/wui/_split-view.scss +11 -9
  65. package/scss/wui/_toolbar.scss +2 -2
  66. package/scss/wui/_transfer-list.scss +24 -0
  67. package/scss/wui/_tree-picker.scss +219 -0
  68. package/scss/wui/_typography.scss +5 -4
  69. package/scss/wui/_utilities.scss +38 -18
  70. package/scss/wui/_whats-new.scss +7 -1
  71. package/scss/wui/_workspace.scss +3 -3
  72. package/scss/wui/modes/_gantt.scss +44 -0
  73. package/scss/wui/tour/_advance.scss +12 -0
@@ -26,7 +26,7 @@
26
26
  gap: 8px;
27
27
  min-height: 0;
28
28
  margin-bottom: 0;
29
- padding-left: 0;
29
+ padding-inline-start: 0;
30
30
  cursor: pointer;
31
31
  user-select: none;
32
32
  font-size: 14px;
@@ -38,7 +38,7 @@
38
38
  }
39
39
  .form-check-inline {
40
40
  display: inline-flex;
41
- margin-right: 16px;
41
+ margin-inline-end: 16px;
42
42
  }
43
43
  .wui-control-group {
44
44
  display: flex;
@@ -320,7 +320,7 @@
320
320
  // truly circular ends: the switch is a type="checkbox", which carries the checkbox's
321
321
  // `corner-shape: squircle`, so it is reset to `round` here.
322
322
  .form-switch {
323
- padding-left: 0;
323
+ padding-inline-start: 0;
324
324
  }
325
325
  .form-switch .form-check-input {
326
326
  width: 40px;
@@ -344,6 +344,12 @@
344
344
  // Re-assert the knob. The checkbox :checked tick has equal specificity.
345
345
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='7' fill='white'/%3E%3C/svg%3E");
346
346
  }
347
+ .form-switch .form-check-input:dir(rtl) {
348
+ background-position: right center;
349
+ }
350
+ .form-switch .form-check-input:checked:dir(rtl) {
351
+ background-position: left center;
352
+ }
347
353
  // On a mouse click the switch's track border reverts to its resting transparent; Bootstrap's
348
354
  // :focus otherwise tints it brand-blue, leaving a coloured outline after the click. The shared
349
355
  // :focus:not(:focus-visible) rule already dropped the glow; this drops the border tint too.
@@ -364,6 +370,10 @@
364
370
  .form-switch-circle .form-check-input:checked {
365
371
  background-position: center;
366
372
  }
373
+ .form-switch-circle .form-check-input:dir(rtl),
374
+ .form-switch-circle .form-check-input:checked:dir(rtl) {
375
+ background-position: center;
376
+ }
367
377
 
368
378
  // Squircle-pill variant (shape="pill"): the same sliding pill with superellipse ends, the
369
379
  // checkbox's own corner shape. Only the corner shape changes; size, knob and slide are the
@@ -527,7 +537,7 @@ textarea.form-control.autosize {
527
537
  border-radius: 0;
528
538
  }
529
539
  .input.wui-input-underline {
530
- padding-left: 0;
540
+ padding-inline-start: 0;
531
541
  }
532
542
  .input-with-unit:has(> .wui-input-underline),
533
543
  .input-affixed:has(> .wui-input-underline) {
@@ -555,7 +565,7 @@ textarea.form-control.autosize {
555
565
  border-right: 0;
556
566
  }
557
567
  .input-affixed:has(> .wui-input-underline) .affix-pre {
558
- padding-left: 0;
568
+ padding-inline-start: 0;
559
569
  }
560
570
  // Icons sit on the line's own edges, so a leading glyph starts where the label does and a trailing
561
571
  // glyph ends where the line does. The leading slot shrinks to the glyph; each trailing button keeps
@@ -573,19 +583,19 @@ textarea.form-control.autosize {
573
583
  --wui-underline-clear-room: 28px;
574
584
  }
575
585
  :is(.input-wrap, .input-icon):has(> .wui-input-underline) > .pw-toggle {
576
- right: calc(-1 * var(--wui-underline-toggle-inset));
586
+ inset-inline-end: calc(-1 * var(--wui-underline-toggle-inset));
577
587
  }
578
588
  :is(.input-wrap, .input-icon):has(> .wui-input-underline) > .input-clear {
579
- right: calc(-1 * var(--wui-underline-clear-inset));
589
+ inset-inline-end: calc(-1 * var(--wui-underline-clear-inset));
580
590
  }
581
591
  :is(.input-wrap, .input-icon):has(> .wui-input-underline) > .input-affix {
582
- right: 0;
592
+ inset-inline-end: 0;
583
593
  }
584
594
  :is(.input-wrap, .input-icon):has(> .pw-toggle) > .input.wui-input-underline {
585
- padding-right: var(--wui-underline-toggle-room);
595
+ padding-inline-end: var(--wui-underline-toggle-room);
586
596
  }
587
597
  .input.wui-input-underline.has-clear {
588
- padding-right: var(--wui-underline-clear-room);
598
+ padding-inline-end: var(--wui-underline-clear-room);
589
599
  }
590
600
  // The trailing buttons' hit areas pass the line's end, so a pressed or hovered one shows only its
591
601
  // glyph colour: any fill or tap highlight would spill past the line.
@@ -608,7 +618,7 @@ textarea.form-control.autosize {
608
618
  --color-surface: transparent;
609
619
  }
610
620
  .field-float:has(.wui-input-underline) .float-label {
611
- left: 0;
621
+ inset-inline-start: 0;
612
622
  padding-left: 0;
613
623
  padding-right: 0;
614
624
  }
@@ -723,7 +733,7 @@ textarea.form-control.autosize {
723
733
  }
724
734
  .form-control.is-invalid,
725
735
  .form-select.is-invalid {
726
- padding-right: 0.875rem;
736
+ padding-inline-end: 0.875rem;
727
737
  }
728
738
  .field-error {
729
739
  font-size: var(--wui-label-fs);
@@ -746,6 +756,9 @@ textarea.form-control.autosize {
746
756
  // .wui-form-inline opts out and changes nothing else, for a field and button on one row.
747
757
  .wui-field-message {
748
758
  display: grid;
759
+ grid-column: var(--wui-field-message-grid-column, auto);
760
+ width: var(--wui-field-message-width, auto);
761
+ min-width: var(--wui-field-message-min-width, auto);
749
762
  margin-top: -2px;
750
763
  font-size: 12px;
751
764
  line-height: 16px;
@@ -803,13 +816,16 @@ form .wui-field-message:empty {
803
816
  .select {
804
817
  appearance: none;
805
818
  -webkit-appearance: none;
806
- padding-right: 40px;
819
+ padding-inline-end: 40px;
807
820
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95' fill='none' stroke='%234B5675' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10'/%3E%3C/svg%3E");
808
821
  background-repeat: no-repeat;
809
822
  background-position: right 14px center;
810
823
  background-size: 16px;
811
824
  cursor: pointer;
812
825
  }
826
+ .select:dir(rtl) {
827
+ background-position: left 14px center;
828
+ }
813
829
 
814
830
  // Date inputs: a brand calendar glyph that fills the field so a click
815
831
  // anywhere opens the native picker; muted text until a value is chosen.
@@ -831,7 +847,7 @@ form .wui-field-message:empty {
831
847
  opacity: 0;
832
848
  }
833
849
  .input[type="date"]::-webkit-datetime-edit {
834
- padding-right: 28px;
850
+ padding-inline-end: 28px;
835
851
  }
836
852
  .input-date-wrap {
837
853
  position: relative;
@@ -858,12 +874,12 @@ form .wui-field-message:empty {
858
874
  }
859
875
  .num-stepper .input {
860
876
  width: 100%;
861
- padding-right: 36px;
877
+ padding-inline-end: 36px;
862
878
  }
863
879
  .num-stepper-btns {
864
880
  position: absolute;
865
881
  top: 50%;
866
- right: 8px;
882
+ inset-inline-end: 8px;
867
883
  transform: translateY(-50%);
868
884
  display: flex;
869
885
  flex-direction: column;
@@ -887,11 +903,11 @@ form .wui-field-message:empty {
887
903
  color: var(--color-primary-text);
888
904
  }
889
905
  .input-date-wrap > .input {
890
- padding-right: 38px;
906
+ padding-inline-end: 38px;
891
907
  }
892
908
  .input-date-icon {
893
909
  position: absolute;
894
- right: 12px;
910
+ inset-inline-end: 12px;
895
911
  top: 50%;
896
912
  transform: translateY(-50%);
897
913
  color: var(--color-text-muted);
@@ -907,12 +923,20 @@ form .wui-field-message:empty {
907
923
  .field > .input.error,
908
924
  .field > .input.is-invalid,
909
925
  .field > .input[aria-invalid="true"] {
910
- padding-right: 41px;
926
+ padding-inline-end: 41px;
911
927
  background-image: $wui-field-error-glyph;
912
928
  background-repeat: no-repeat;
913
929
  background-position: right 14px center;
914
930
  background-size: 18px;
915
931
  }
932
+ .field > .form-control.error:dir(rtl),
933
+ .field > .form-control.is-invalid:dir(rtl),
934
+ .field > .form-control[aria-invalid="true"]:dir(rtl),
935
+ .field > .input.error:dir(rtl),
936
+ .field > .input.is-invalid:dir(rtl),
937
+ .field > .input[aria-invalid="true"]:dir(rtl) {
938
+ background-position: left 14px center;
939
+ }
916
940
  // Dark mode: keep the value in an errored field legible.
917
941
  :root[data-bs-theme="dark"] .form-control.error,
918
942
  :root[data-bs-theme="dark"] .form-control.error:focus,
@@ -945,7 +969,7 @@ form .wui-field-message:empty {
945
969
  }
946
970
  .input-affix {
947
971
  position: absolute;
948
- right: 14px;
972
+ inset-inline-end: 14px;
949
973
  top: 22.5px;
950
974
  transform: translateY(-50%);
951
975
  display: grid;
@@ -979,7 +1003,7 @@ form .wui-field-message:empty {
979
1003
  }
980
1004
  .input-icon > .ic {
981
1005
  position: absolute;
982
- left: 0;
1006
+ inset-inline-start: 0;
983
1007
  top: 0;
984
1008
  bottom: 0;
985
1009
  width: var(--wui-input-icon-slot);
@@ -997,7 +1021,7 @@ form .wui-field-message:empty {
997
1021
  .input-icon::after {
998
1022
  content: "";
999
1023
  position: absolute;
1000
- left: var(--wui-input-icon-slot);
1024
+ inset-inline-start: var(--wui-input-icon-slot);
1001
1025
  top: 1px;
1002
1026
  bottom: 1px;
1003
1027
  width: 1px;
@@ -1005,7 +1029,7 @@ form .wui-field-message:empty {
1005
1029
  pointer-events: none;
1006
1030
  }
1007
1031
  .input-icon .input {
1008
- padding-left: calc(var(--wui-input-icon-slot) + var(--wui-input-icon-gap));
1032
+ padding-inline-start: calc(var(--wui-input-icon-slot) + var(--wui-input-icon-gap));
1009
1033
  }
1010
1034
  .input-icon:focus-within > .ic {
1011
1035
  color: var(--color-primary-text);
@@ -1034,7 +1058,7 @@ form .wui-field-message:empty {
1034
1058
  // Password reveal toggle (place inside .input-wrap).
1035
1059
  .input.pw,
1036
1060
  :is(.input-wrap, .input-icon):has(> .pw-toggle) > .input {
1037
- padding-right: 44px;
1061
+ padding-inline-end: 44px;
1038
1062
  }
1039
1063
  .input.pw[type="password"]::placeholder {
1040
1064
  letter-spacing: normal;
@@ -1042,7 +1066,7 @@ form .wui-field-message:empty {
1042
1066
  }
1043
1067
  .pw-toggle {
1044
1068
  position: absolute;
1045
- right: 7px;
1069
+ inset-inline-end: 7px;
1046
1070
  top: 50%;
1047
1071
  transform: translateY(-50%);
1048
1072
  display: grid;
@@ -1079,11 +1103,11 @@ form .wui-field-message:empty {
1079
1103
  // Clearable ✕: a trailing reset button, placed inside .input-wrap / .input-icon. It only
1080
1104
  // renders while the field has a value; .has-clear reserves the room so text never sits under it.
1081
1105
  .input.has-clear {
1082
- padding-right: 40px;
1106
+ padding-inline-end: 40px;
1083
1107
  }
1084
1108
  .input-clear {
1085
1109
  position: absolute;
1086
- right: 8px;
1110
+ inset-inline-end: 8px;
1087
1111
  top: 50%;
1088
1112
  transform: translateY(-50%);
1089
1113
  display: grid;
@@ -1174,11 +1198,11 @@ form .wui-field-message:empty {
1174
1198
  white-space: nowrap;
1175
1199
  }
1176
1200
  .input-affixed .affix-pre {
1177
- border-right: 1px solid var(--color-border);
1201
+ border-inline-end: 1px solid var(--color-border);
1178
1202
  border-radius: var(--wui-field-md-radius) 0 0 var(--wui-field-md-radius);
1179
1203
  }
1180
1204
  .input-affixed .affix-suf {
1181
- border-left: 1px solid var(--color-border);
1205
+ border-inline-start: 1px solid var(--color-border);
1182
1206
  border-radius: 0 var(--wui-field-md-radius) var(--wui-field-md-radius) 0;
1183
1207
  }
1184
1208
 
@@ -1191,7 +1215,7 @@ form .wui-field-message:empty {
1191
1215
  }
1192
1216
  .field-float .float-label {
1193
1217
  position: absolute;
1194
- left: 12px;
1218
+ inset-inline-start: 12px;
1195
1219
  top: 50%;
1196
1220
  transform: translateY(-50%);
1197
1221
  transform-origin: left center;
@@ -1218,6 +1242,9 @@ form .wui-field-message:empty {
1218
1242
  color var(--wui-duration-fast) var(--wui-ease-ui),
1219
1243
  background-color var(--wui-duration-fast) var(--wui-ease-ui);
1220
1244
  }
1245
+ .field-float .float-label:dir(rtl) {
1246
+ transform-origin: right center;
1247
+ }
1221
1248
  .field-float .input:focus ~ .float-label,
1222
1249
  .field-float .input:not(:placeholder-shown) ~ .float-label {
1223
1250
  top: 0;
@@ -1250,7 +1277,7 @@ form .wui-field-message:empty {
1250
1277
  background: transparent;
1251
1278
  transition:
1252
1279
  top var(--wui-duration-fast) var(--wui-ease-ui),
1253
- left var(--wui-duration-fast) var(--wui-ease-ui),
1280
+ inset-inline-start var(--wui-duration-fast) var(--wui-ease-ui),
1254
1281
  padding var(--wui-duration-fast) var(--wui-ease-ui),
1255
1282
  transform var(--wui-duration-fast) var(--wui-ease-ui),
1256
1283
  color var(--wui-duration-fast) var(--wui-ease-ui);
@@ -1258,7 +1285,7 @@ form .wui-field-message:empty {
1258
1285
  .field-float.wui-float-above .input:focus ~ .float-label,
1259
1286
  .field-float.wui-float-above .input:not(:placeholder-shown) ~ .float-label {
1260
1287
  top: 0;
1261
- left: 0;
1288
+ inset-inline-start: 0;
1262
1289
  padding: 0;
1263
1290
  transform: scale(0.86);
1264
1291
  font-weight: 500;
@@ -1290,7 +1317,7 @@ form .wui-field-message:empty {
1290
1317
  margin-top: -2px;
1291
1318
  font-size: 12px;
1292
1319
  line-height: normal;
1293
- text-align: right;
1320
+ text-align: end;
1294
1321
  color: var(--color-text-subtle);
1295
1322
  }
1296
1323
  .field-count.at-limit {
@@ -1314,7 +1341,7 @@ form .wui-field-message:empty {
1314
1341
  .label-hint {
1315
1342
  color: var(--color-text-subtle);
1316
1343
  font-weight: 400;
1317
- margin-left: 6px;
1344
+ margin-inline-start: 6px;
1318
1345
  font-size: 12px;
1319
1346
  }
1320
1347
  .label-optional {
@@ -1487,7 +1514,7 @@ wui-date-range {
1487
1514
  // Transparent so the pill inherits the wrapper fill; one continuous surface.
1488
1515
  background: transparent;
1489
1516
  border: none;
1490
- border-left: 1px solid var(--color-border);
1517
+ border-inline-start: 1px solid var(--color-border);
1491
1518
  padding: 9px 14px;
1492
1519
  font-size: 14px;
1493
1520
  // Tight line box so the pill's intrinsic height never exceeds the (now shortened)
@@ -1605,10 +1632,10 @@ wui-date-range {
1605
1632
  // cell is bounded on both sides. (DOM order is minus, input, [unit], plus on both
1606
1633
  // surfaces, so :first-child / :last-child land on the two buttons.)
1607
1634
  .num-btn:first-child {
1608
- border-right: 1px solid var(--color-border);
1635
+ border-inline-end: 1px solid var(--color-border);
1609
1636
  }
1610
1637
  .num-btn:last-child {
1611
- border-left: 1px solid var(--color-border);
1638
+ border-inline-start: 1px solid var(--color-border);
1612
1639
  }
1613
1640
 
1614
1641
  // ── Size variants ── the inner input carries .wui-input-sm / .wui-input-lg (height +
@@ -1646,7 +1673,7 @@ wui-date-range {
1646
1673
  .num-wrap .affix {
1647
1674
  background: var(--color-field-bg);
1648
1675
  border: none;
1649
- border-left: 1px solid var(--color-border);
1676
+ border-inline-start: 1px solid var(--color-border);
1650
1677
  padding: 9px 14px;
1651
1678
  font-size: 14px;
1652
1679
  font-weight: 500;
@@ -1874,7 +1901,7 @@ wui-date-range {
1874
1901
  display: inline-block;
1875
1902
  width: 3px;
1876
1903
  height: 12px;
1877
- margin-right: 9px;
1904
+ margin-inline-end: 9px;
1878
1905
  border-radius: 2px;
1879
1906
  background: var(--color-primary);
1880
1907
  vertical-align: middle;
@@ -75,7 +75,7 @@
75
75
  }
76
76
  // A header's info tip sits inline after the label, with the shared xs gap.
77
77
  :where(.table) > thead > tr > th > .infotip {
78
- margin-left: var(--wui-space-xs);
78
+ margin-inline-start: var(--wui-space-xs);
79
79
  }
80
80
  :where(.table) > tbody > tr > td,
81
81
  :where(.table) > tbody > tr > th.wui-row-header {
@@ -102,14 +102,14 @@
102
102
  // Numeric / action columns align to the trailing edge.
103
103
  .table .cell-end,
104
104
  .table thead th.cell-end {
105
- text-align: right;
105
+ text-align: end;
106
106
  }
107
107
 
108
108
  // ── Table ──
109
109
  // DataTable cell helpers. End-aligned cells use tabular digits so the figures in a column line up.
110
110
  .table-ledger .wui-cell-end,
111
111
  .table-ledger thead th.wui-cell-end {
112
- text-align: right;
112
+ text-align: end;
113
113
  font-variant-numeric: tabular-nums;
114
114
  }
115
115
 
@@ -118,7 +118,8 @@
118
118
  .table-ledger .wui-expand-cell,
119
119
  .table-ledger thead th.wui-expand-cell {
120
120
  width: 40px;
121
- padding: 0 4px 0 12px;
121
+ padding-block: 0;
122
+ padding-inline: var(--wui-space-md) var(--wui-space-xs);
122
123
  text-align: center;
123
124
  }
124
125
  .wui-expand-toggle {
@@ -202,11 +203,11 @@
202
203
  vertical-align: middle;
203
204
  }
204
205
  .table-ledger thead th:first-child {
205
- padding-left: 20px;
206
+ padding-inline-start: 20px;
206
207
  border-radius: var(--wui-radius-sm) 0 0 var(--wui-radius-sm);
207
208
  }
208
209
  .table-ledger thead th:last-child {
209
- padding-right: 20px;
210
+ padding-inline-end: 20px;
210
211
  border-radius: 0 var(--wui-radius-sm) var(--wui-radius-sm) 0;
211
212
  }
212
213
  .table-ledger tbody td,
@@ -226,11 +227,11 @@
226
227
  }
227
228
  .table-ledger tbody td:first-child,
228
229
  .table-ledger tbody th.wui-row-header:first-child {
229
- padding-left: 20px;
230
+ padding-inline-start: 20px;
230
231
  }
231
232
  .table-ledger tbody td:last-child,
232
233
  .table-ledger tbody th.wui-row-header:last-child {
233
- padding-right: 20px;
234
+ padding-inline-end: 20px;
234
235
  }
235
236
  // A loading bar follows its column's alignment: a block bar ignores text-align, so auto margins place it.
236
237
  .table-ledger td.text-center > .skeleton,
@@ -380,7 +381,7 @@
380
381
  gap: 12px;
381
382
  }
382
383
  .wui-table-toolbar-actions {
383
- margin-left: auto;
384
+ margin-inline-start: auto;
384
385
  gap: 8px;
385
386
  }
386
387
  // A filter control wider than a phone (a four-option segmented strip) scrolls inside the toolbar
@@ -405,18 +406,19 @@
405
406
  .wui-table-toolbar-bulk {
406
407
  gap: 8px;
407
408
  min-height: 40px;
408
- padding: 4px 8px 4px 16px;
409
+ padding-block: var(--wui-space-xs);
410
+ padding-inline: var(--wui-space-lg) var(--wui-space-sm);
409
411
  border-radius: var(--wui-radius-md);
410
412
  background: var(--color-primary-soft);
411
413
  }
412
414
  .wui-table-toolbar-count {
413
- margin-right: 8px;
415
+ margin-inline-end: var(--wui-space-sm);
414
416
  font-size: 13px;
415
417
  font-weight: 600;
416
418
  color: var(--color-text);
417
419
  }
418
420
  .wui-table-toolbar-clear {
419
- margin-left: auto;
421
+ margin-inline-start: auto;
420
422
  }
421
423
  // "Select all 1,28,400 matching" stays one line when the bulk bar wraps.
422
424
  .wui-table-toolbar-all {
@@ -540,7 +542,7 @@
540
542
  .wui-filter-more > .wui-filter-more-panel {
541
543
  position: absolute;
542
544
  top: calc(100% + 4px);
543
- left: 0;
545
+ inset-inline-start: 0;
544
546
  z-index: var(--wui-z-popover);
545
547
  width: 320px;
546
548
  max-width: calc(100vw - 2 * var(--wui-space-sm));
@@ -551,8 +553,8 @@
551
553
  box-shadow: var(--wui-shadow-popover);
552
554
  }
553
555
  .wui-filter-more-panel.wui-filter-more-panel-end {
554
- left: auto;
555
- right: 0;
556
+ inset-inline-start: auto;
557
+ inset-inline-end: 0;
556
558
  }
557
559
  .wui-filter-more:not([open]) > .wui-filter-more-panel {
558
560
  display: none;
@@ -614,7 +616,7 @@
614
616
  // clipping and widened the page. Pin it to the corner of that containing block instead.
615
617
  .table-wrap .visually-hidden:not(.visually-hidden-focusable) {
616
618
  top: 0;
617
- left: 0;
619
+ inset-inline-start: 0;
618
620
  }
619
621
  .table-wrap::-webkit-scrollbar {
620
622
  height: 6px;
@@ -696,12 +698,12 @@
696
698
  // Row-selection checkbox column.
697
699
  .table-ledger th.wui-select-cell,
698
700
  .table-ledger td.wui-select-cell {
699
- width: 44px;
700
- min-width: 44px;
701
- max-width: 44px;
701
+ width: var(--wui-select-cell-width, 44px);
702
+ min-width: var(--wui-select-cell-width, 44px);
703
+ max-width: var(--wui-select-cell-width, 44px);
702
704
  text-align: center;
703
- padding-left: 12px;
704
- padding-right: 0;
705
+ padding-inline-start: var(--wui-select-cell-padding-start, var(--wui-space-md));
706
+ padding-inline-end: 0;
705
707
  }
706
708
  // Row state goes through Bootstrap's own --bs-table-bg-state, NOT `background`.
707
709
  // Bootstrap 5.3 paints cell state with `box-shadow: inset 0 0 0 9999px
@@ -892,7 +894,7 @@
892
894
  font-size: 12px;
893
895
  font-weight: 500;
894
896
  color: var(--color-text-subtle);
895
- text-align: left;
897
+ text-align: start;
896
898
  }
897
899
  // A value takes the space beside its label and wraps inside the card rather than running past
898
900
  // its edge (a long email under an avatar did).
@@ -911,8 +913,9 @@
911
913
  .table-ledger.wui-table-stack > * > tr > th.wui-row-header:not(.wui-select-cell, .wui-expand-cell):is(:first-child, .wui-select-cell + *, .wui-expand-cell + *) {
912
914
  display: block;
913
915
  justify-content: flex-start;
914
- padding: 0 32px 6px 0;
915
- text-align: left;
916
+ padding-block: 0 6px;
917
+ padding-inline: 0 var(--wui-space-2xl);
918
+ text-align: start;
916
919
  }
917
920
  .table-ledger.wui-table-stack > * > tr > td:not(.wui-select-cell, .wui-expand-cell):is(:first-child, .wui-select-cell + td, .wui-expand-cell + td) .u-meta,
918
921
  .table-ledger.wui-table-stack > * > tr > th.wui-row-header:not(.wui-select-cell, .wui-expand-cell):is(:first-child, .wui-select-cell + *, .wui-expand-cell + *) .u-meta {
@@ -960,8 +963,8 @@
960
963
  // `right` would stretch the cell across the card.
961
964
  position: absolute !important;
962
965
  top: 12px;
963
- left: auto !important;
964
- right: 12px;
966
+ inset-inline-start: auto !important;
967
+ inset-inline-end: 12px;
965
968
  width: auto;
966
969
  min-width: 0;
967
970
  max-width: none;
@@ -980,7 +983,7 @@
980
983
  }
981
984
  // The status bar becomes the card's left edge.
982
985
  .table-ledger.wui-table-stack > tbody > tr[data-status] {
983
- border-left: 3px solid var(--wui-row-status);
986
+ border-inline-start: 3px solid var(--wui-row-status);
984
987
  }
985
988
  .table-ledger.wui-table-stack > tbody > tr[data-status] > td:first-child,
986
989
  .table-ledger.wui-table-stack > tbody > tr[data-status] > th.wui-row-header:first-child {
@@ -999,10 +1002,10 @@
999
1002
  font-variant-numeric: tabular-nums;
1000
1003
  }
1001
1004
  .table-ledger tfoot td:first-child {
1002
- padding-left: 20px;
1005
+ padding-inline-start: 20px;
1003
1006
  }
1004
1007
  .table-ledger tfoot td:last-child {
1005
- padding-right: 20px;
1008
+ padding-inline-end: 20px;
1006
1009
  }
1007
1010
 
1008
1011
  // Pinned header (`maxHeight`): the wrap becomes the scroll box and the header sticks to its top.
@@ -1048,7 +1051,7 @@
1048
1051
  position: sticky;
1049
1052
  // The offset is a custom property so the per-layout rules below can set it without having to
1050
1053
  // out-rank this selector's specificity.
1051
- left: var(--wui-sticky-left, 0);
1054
+ inset-inline-start: var(--wui-sticky-left, 0);
1052
1055
  z-index: 1;
1053
1056
  }
1054
1057
  .table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :is(.wui-expand-cell, .wui-select-cell),
@@ -1076,7 +1079,7 @@
1076
1079
  // cells. Same surface colour and stacking as the pinned first column.
1077
1080
  .table-ledger.wui-table-sticky-actions > * > tr:not(.wui-row-expanded) > :last-child {
1078
1081
  position: sticky;
1079
- right: 0;
1082
+ inset-inline-end: 0;
1080
1083
  z-index: 1;
1081
1084
  }
1082
1085
  .table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child {
@@ -1112,11 +1115,11 @@
1112
1115
  background: var(--color-surface);
1113
1116
  }
1114
1117
  .table-wrap[data-wui-overflow-start] > .table-ledger.wui-table-sticky-first > * > tr:not(.wui-row-expanded) > :first-child::after {
1115
- right: 100%;
1118
+ inset-inline-end: 100%;
1116
1119
  width: var(--wui-scroll-pad-start, 0);
1117
1120
  }
1118
1121
  .table-wrap[data-wui-overflow-end] > .table-ledger.wui-table-sticky-actions > * > tr:not(.wui-row-expanded) > :last-child::after {
1119
- left: 100%;
1122
+ inset-inline-start: 100%;
1120
1123
  width: var(--wui-scroll-pad-end, 0);
1121
1124
  }
1122
1125
 
@@ -1130,6 +1133,15 @@
1130
1133
  // Action cells never wrap, so a labelled action stays on one line.
1131
1134
  white-space: nowrap;
1132
1135
  }
1136
+ // The action cell's nowrap must not reach the menu, or a long item label is clipped at the phone edge.
1137
+ .u-row-actions .wui-row-actions-menu .dropdown-menu {
1138
+ max-width: calc(100vw - 2rem);
1139
+ white-space: normal;
1140
+ }
1141
+ .u-row-actions .wui-row-actions-menu .dropdown-item {
1142
+ white-space: normal;
1143
+ overflow-wrap: anywhere;
1144
+ }
1133
1145
  // Below sm the menu is the only control; from sm up the menu shows only when it holds a row of its own.
1134
1146
  @include media-breakpoint-down(sm) {
1135
1147
  .u-row-actions > .wui-row-action-inline {
@@ -1320,7 +1332,7 @@
1320
1332
  display: inline-block;
1321
1333
  vertical-align: middle;
1322
1334
  width: 12px;
1323
- margin-left: 6px;
1335
+ margin-inline-start: 6px;
1324
1336
  color: var(--color-text-subtle);
1325
1337
  opacity: 0;
1326
1338
  transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
@@ -1328,8 +1340,8 @@
1328
1340
  // On a right-aligned (numeric) header the arrow leads the label, so the label ends flush with
1329
1341
  // the values under it.
1330
1342
  .table th.sortable .wui-sort-lead {
1331
- margin-left: 0;
1332
- margin-right: 6px;
1343
+ margin-inline-start: 0;
1344
+ margin-inline-end: 6px;
1333
1345
  }
1334
1346
  .table th.sortable:hover .sort-icon {
1335
1347
  opacity: 0.6;
@@ -1351,7 +1363,7 @@
1351
1363
  // and a total sits directly under the values it sums.
1352
1364
  .table th.num,
1353
1365
  .table td.num {
1354
- text-align: right;
1366
+ text-align: end;
1355
1367
  font-variant-numeric: tabular-nums;
1356
1368
  }
1357
1369
 
@@ -1490,13 +1502,13 @@ wui-data-table {
1490
1502
 
1491
1503
  // Group header rows: a full-width band with a collapse toggle, the group's value and its row count.
1492
1504
  .table-ledger > tbody > tr.wui-group-row > th.wui-group-cell {
1493
- padding: 8px 12px 8px 20px;
1494
- border-bottom: 1px solid var(--color-border);
1495
- background-color: var(--color-bg-muted);
1496
- --bs-table-bg: var(--color-bg-muted);
1497
- font-size: 13px;
1498
- font-weight: 600;
1499
- color: var(--color-text);
1505
+ padding: var(--wui-group-cell-padding, 8px 12px 8px 20px);
1506
+ border-bottom: var(--wui-group-cell-border-bottom, 1px solid var(--color-border));
1507
+ background-color: var(--wui-group-cell-bg, var(--color-bg-muted));
1508
+ --bs-table-bg: var(--wui-group-cell-bg, var(--color-bg-muted));
1509
+ font-size: var(--wui-group-cell-font-size, 13px);
1510
+ font-weight: var(--wui-group-cell-font-weight, 600);
1511
+ color: var(--wui-group-cell-color, var(--color-text));
1500
1512
  text-align: start;
1501
1513
  }
1502
1514
  .table-ledger > tbody > tr.wui-group-row:hover {
@@ -1507,7 +1519,8 @@ wui-data-table {
1507
1519
  align-items: center;
1508
1520
  gap: 8px;
1509
1521
  max-width: 100%;
1510
- padding: 4px 8px 4px 4px;
1522
+ padding-block: var(--wui-space-xs);
1523
+ padding-inline: var(--wui-space-xs) var(--wui-space-sm);
1511
1524
  border: none;
1512
1525
  border-radius: var(--wui-radius-sm, 6px);
1513
1526
  background: transparent;