@optimum-intelligence/opti-ui 0.9.2 → 1.0.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/CHANGELOG.md +92 -0
- package/README.md +5 -1
- package/dist/components/app-shell/AppShell.d.ts +30 -1
- package/dist/components/app-shell/AppShell.js +387 -236
- package/dist/components/app-shell/AppShell.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +1 -1
- package/dist/components/avatar/Avatar.js +64 -52
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/calendar/Calendar.js +6 -4
- package/dist/components/calendar/Calendar.js.map +1 -1
- package/dist/components/calendar/date-utils.js +1 -1
- package/dist/components/calendar/date-utils.js.map +1 -1
- package/dist/components/card/Card.d.ts +24 -5
- package/dist/components/card/Card.js +36 -23
- package/dist/components/card/Card.js.map +1 -1
- package/dist/components/collapsible/Collapsible.d.ts +8 -1
- package/dist/components/collapsible/Collapsible.js +32 -25
- package/dist/components/collapsible/Collapsible.js.map +1 -1
- package/dist/components/data-table/DataTable.d.ts +21 -4
- package/dist/components/data-table/DataTable.js +310 -100
- package/dist/components/data-table/DataTable.js.map +1 -1
- package/dist/components/data-table/DataTableContent.d.ts +1 -7
- package/dist/components/data-table/DataTableContent.js +209 -243
- package/dist/components/data-table/DataTableContent.js.map +1 -1
- package/dist/components/data-table/DataTableFilters.js +47 -57
- package/dist/components/data-table/DataTableFilters.js.map +1 -1
- package/dist/components/data-table/DataTableRow.js +105 -90
- package/dist/components/data-table/DataTableRow.js.map +1 -1
- package/dist/components/data-table/layout.d.ts +0 -5
- package/dist/components/data-table/layout.js +1 -23
- package/dist/components/data-table/layout.js.map +1 -1
- package/dist/components/data-table/types.d.ts +5 -2
- package/dist/components/data-table/useDataTable.js +249 -221
- package/dist/components/data-table/useDataTable.js.map +1 -1
- package/dist/components/date-picker/DateRangePicker.js +1 -0
- package/dist/components/date-picker/DateRangePicker.js.map +1 -1
- package/dist/components/date-picker/PickerField.js +98 -101
- package/dist/components/date-picker/PickerField.js.map +1 -1
- package/dist/components/description-list/DescriptionList.d.ts +3 -1
- package/dist/components/description-list/DescriptionList.js +3 -1
- package/dist/components/description-list/DescriptionList.js.map +1 -1
- package/dist/components/drawer/Drawer.d.ts +1 -1
- package/dist/components/drawer/Drawer.js +173 -87
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/file-upload/FileUpload.js +7 -0
- package/dist/components/file-upload/FileUpload.js.map +1 -1
- package/dist/components/link/Link.d.ts +1 -1
- package/dist/components/link/Link.js +57 -74
- package/dist/components/link/Link.js.map +1 -1
- package/dist/components/map/Map.d.ts +14 -2
- package/dist/components/map/Map.js +194 -153
- package/dist/components/map/Map.js.map +1 -1
- package/dist/components/pagination/Pagination.js +2 -0
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/scroll-area/ScrollArea.d.ts +18 -2
- package/dist/components/scroll-area/ScrollArea.js +89 -61
- package/dist/components/scroll-area/ScrollArea.js.map +1 -1
- package/dist/components/spinner/Spinner.js +34 -26
- package/dist/components/spinner/Spinner.js.map +1 -1
- package/dist/components/stat-card/StatCard.js +36 -22
- package/dist/components/stat-card/StatCard.js.map +1 -1
- package/dist/components/table/Table.d.ts +9 -2
- package/dist/components/table/Table.js +87 -63
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/tag/Tag.js +79 -103
- package/dist/components/tag/Tag.js.map +1 -1
- package/dist/components/toolbar/Toolbar.d.ts +2 -1
- package/dist/components/toolbar/Toolbar.js +23 -15
- package/dist/components/toolbar/Toolbar.js.map +1 -1
- package/dist/components/typography/Typography.d.ts +7 -1
- package/dist/components/typography/Typography.js +21 -18
- package/dist/components/typography/Typography.js.map +1 -1
- package/dist/components.json +134 -26
- package/dist/fonts/Montserrat-OFL.txt +93 -0
- package/dist/fonts/Poppins-OFL.txt +93 -0
- package/dist/fonts/montserrat-latin-ext.woff2 +0 -0
- package/dist/fonts/montserrat-latin.woff2 +0 -0
- package/dist/fonts/poppins-latin-400.woff2 +0 -0
- package/dist/fonts/poppins-latin-500.woff2 +0 -0
- package/dist/fonts/poppins-latin-600.woff2 +0 -0
- package/dist/fonts/poppins-latin-700.woff2 +0 -0
- package/dist/fonts/poppins-latin-ext-400.woff2 +0 -0
- package/dist/fonts/poppins-latin-ext-500.woff2 +0 -0
- package/dist/fonts/poppins-latin-ext-600.woff2 +0 -0
- package/dist/fonts/poppins-latin-ext-700.woff2 +0 -0
- package/dist/fonts.css +104 -4
- package/dist/index.js +2 -2
- package/dist/labels/Labels.d.ts +12 -0
- package/dist/labels/Labels.js +6 -0
- package/dist/labels/Labels.js.map +1 -1
- package/dist/labels/hu.js +9 -3
- package/dist/labels/hu.js.map +1 -1
- package/dist/llms-full.txt +103 -20
- package/dist/llms.txt +15 -10
- package/dist/opti-ui.css +566 -197
- package/dist/reset.css +33 -0
- package/dist/utils/focus.d.ts +8 -0
- package/dist/utils/focus.js +39 -0
- package/dist/utils/focus.js.map +1 -0
- package/package.json +2 -1
package/dist/opti-ui.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
@layer maplibre, oui.tokens, oui.base, oui.components;
|
|
2
|
+
@layer oui-reset, maplibre, oui.tokens, oui.base, oui.components;
|
|
3
3
|
@layer oui.tokens {
|
|
4
4
|
:root {
|
|
5
5
|
--oui-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
@@ -131,6 +131,7 @@
|
|
|
131
131
|
--oui-color-border-control-hover: var(--oui-color-accent);
|
|
132
132
|
--oui-color-border-hover: color-mix(in srgb, var(--oui-color-accent) 45%, transparent);
|
|
133
133
|
--oui-color-border-focus: color-mix(in srgb, var(--oui-color-accent) 75%, transparent);
|
|
134
|
+
--oui-scrollbar-thumb: var(--oui-color-border-hover);
|
|
134
135
|
--oui-color-info: var(--oui-color-accent);
|
|
135
136
|
--oui-color-info-text: var(--oui-color-accent-text);
|
|
136
137
|
--oui-color-info-subtle: color-mix(in srgb, var(--oui-color-info) 10%, transparent);
|
|
@@ -293,6 +294,13 @@
|
|
|
293
294
|
--oui-color-hover-shade: white;
|
|
294
295
|
}
|
|
295
296
|
}
|
|
297
|
+
@media (prefers-contrast: more) {
|
|
298
|
+
:root,
|
|
299
|
+
.oui-theme,
|
|
300
|
+
[data-oui-theme] {
|
|
301
|
+
--oui-scrollbar-thumb: var(--oui-color-text-muted);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
296
304
|
}
|
|
297
305
|
@layer oui.base {
|
|
298
306
|
.oui-root {
|
|
@@ -315,7 +323,7 @@
|
|
|
315
323
|
.oui-root,
|
|
316
324
|
.oui-theme {
|
|
317
325
|
accent-color: var(--oui-color-accent);
|
|
318
|
-
scrollbar-color: var(--oui-
|
|
326
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
319
327
|
}
|
|
320
328
|
.oui-root ::selection,
|
|
321
329
|
.oui-theme ::selection {
|
|
@@ -395,8 +403,10 @@
|
|
|
395
403
|
outline: var(--oui-focus-outline);
|
|
396
404
|
outline-offset: -2px;
|
|
397
405
|
}
|
|
398
|
-
|
|
399
|
-
|
|
406
|
+
@media (hover: hover) {
|
|
407
|
+
.oui-accordion__trigger:hover .oui-accordion__chevron {
|
|
408
|
+
color: var(--oui-color-text-strong);
|
|
409
|
+
}
|
|
400
410
|
}
|
|
401
411
|
.oui-accordion__chevron {
|
|
402
412
|
flex-shrink: 0;
|
|
@@ -531,6 +541,14 @@
|
|
|
531
541
|
--_border: var(--oui-color-inverse-border);
|
|
532
542
|
--_icon-bg: color-mix(in srgb, var(--oui-color-on-inverse) 12%, transparent);
|
|
533
543
|
--_focus: var(--oui-color-on-inverse);
|
|
544
|
+
--_scrollbar-thumb: var(--_border);
|
|
545
|
+
}
|
|
546
|
+
@media (prefers-contrast: more) {
|
|
547
|
+
.oui-navbar {
|
|
548
|
+
--_scrollbar-thumb: var(--_fg-muted);
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
.oui-navbar {
|
|
534
552
|
--_motion: var(--oui-duration-slow) var(--oui-ease-out);
|
|
535
553
|
position: relative;
|
|
536
554
|
display: flex;
|
|
@@ -542,7 +560,7 @@
|
|
|
542
560
|
overflow-x: hidden;
|
|
543
561
|
overflow-y: auto;
|
|
544
562
|
scrollbar-width: thin;
|
|
545
|
-
scrollbar-color: var(--
|
|
563
|
+
scrollbar-color: var(--_scrollbar-thumb) transparent;
|
|
546
564
|
interpolate-size: allow-keywords;
|
|
547
565
|
transition: width var(--_motion), padding var(--_motion), box-shadow var(--_motion);
|
|
548
566
|
background: var(--oui-navbar-bg, var(--oui-color-inverse));
|
|
@@ -664,9 +682,11 @@
|
|
|
664
682
|
cursor: pointer;
|
|
665
683
|
transition: background-color var(--oui-duration-normal) var(--oui-ease), color var(--oui-duration-normal) var(--oui-ease);
|
|
666
684
|
}
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
685
|
+
@media (hover: hover) {
|
|
686
|
+
.oui-navbar__item:hover {
|
|
687
|
+
background: var(--_hover);
|
|
688
|
+
color: var(--_fg);
|
|
689
|
+
}
|
|
670
690
|
}
|
|
671
691
|
.oui-navbar__item:focus-visible {
|
|
672
692
|
outline: 2px solid var(--_focus);
|
|
@@ -786,9 +806,11 @@
|
|
|
786
806
|
.oui-navbar__toggle svg {
|
|
787
807
|
transition: transform var(--_motion);
|
|
788
808
|
}
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
809
|
+
@media (hover: hover) {
|
|
810
|
+
.oui-navbar__toggle:hover {
|
|
811
|
+
background: var(--_hover);
|
|
812
|
+
color: var(--_fg);
|
|
813
|
+
}
|
|
792
814
|
}
|
|
793
815
|
.oui-navbar__toggle:focus-visible {
|
|
794
816
|
outline: 2px solid var(--_focus);
|
|
@@ -800,9 +822,11 @@
|
|
|
800
822
|
.oui-navbar .oui-toggle-group[data-variant=segmented] > .oui-toggle {
|
|
801
823
|
color: var(--_fg-muted);
|
|
802
824
|
}
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
825
|
+
@media (hover: hover) {
|
|
826
|
+
.oui-navbar .oui-toggle-group[data-variant=segmented] > .oui-toggle:hover:not([data-disabled], [data-pressed]) {
|
|
827
|
+
background: var(--_hover);
|
|
828
|
+
color: var(--_fg);
|
|
829
|
+
}
|
|
806
830
|
}
|
|
807
831
|
.oui-navbar .oui-toggle-group[data-variant=segmented] > .oui-toggle[data-pressed] {
|
|
808
832
|
background: color-mix(in srgb, var(--_fg) 18%, transparent);
|
|
@@ -889,6 +913,31 @@
|
|
|
889
913
|
overflow: hidden;
|
|
890
914
|
color: var(--oui-color-text);
|
|
891
915
|
}
|
|
916
|
+
.oui-app-shell__skip {
|
|
917
|
+
position: fixed;
|
|
918
|
+
top: var(--oui-space-4);
|
|
919
|
+
left: var(--oui-space-4);
|
|
920
|
+
z-index: var(--oui-z-toast);
|
|
921
|
+
padding: var(--oui-space-4) var(--oui-space-8);
|
|
922
|
+
border-radius: var(--oui-radius-control);
|
|
923
|
+
background: var(--oui-color-surface);
|
|
924
|
+
box-shadow: var(--oui-shadow-overlay);
|
|
925
|
+
color: var(--oui-color-text-strong);
|
|
926
|
+
font-weight: var(--oui-font-weight-semibold);
|
|
927
|
+
text-decoration: none;
|
|
928
|
+
}
|
|
929
|
+
.oui-app-shell__skip:focus-visible {
|
|
930
|
+
outline: var(--oui-focus-outline);
|
|
931
|
+
outline-offset: var(--oui-focus-outline-offset);
|
|
932
|
+
}
|
|
933
|
+
.oui-app-shell__skip:not(:focus) {
|
|
934
|
+
clip-path: inset(50%);
|
|
935
|
+
width: 1px;
|
|
936
|
+
height: 1px;
|
|
937
|
+
padding: 0;
|
|
938
|
+
overflow: hidden;
|
|
939
|
+
white-space: nowrap;
|
|
940
|
+
}
|
|
892
941
|
.oui-app-shell__navbar {
|
|
893
942
|
position: relative;
|
|
894
943
|
width: var(--oui-navbar-width, 260px);
|
|
@@ -916,15 +965,17 @@
|
|
|
916
965
|
min-height: 0;
|
|
917
966
|
overflow-x: clip;
|
|
918
967
|
overflow-y: auto;
|
|
968
|
+
scrollbar-gutter: stable;
|
|
919
969
|
background: var(--oui-app-shell-bg, var(--oui-color-bg));
|
|
970
|
+
outline: none;
|
|
920
971
|
}
|
|
921
972
|
.oui-app-shell__mobile-bar,
|
|
922
973
|
.oui-app-shell__tabbar {
|
|
923
974
|
display: none;
|
|
924
975
|
}
|
|
925
976
|
.oui-app-shell__tabbar {
|
|
926
|
-
gap: 0.
|
|
927
|
-
padding: 0.3rem 0.
|
|
977
|
+
gap: 0.1rem;
|
|
978
|
+
padding: 0.3rem 0.25rem calc(0.3rem + env(safe-area-inset-bottom));
|
|
928
979
|
border-top: 1px solid var(--oui-color-inverse-border);
|
|
929
980
|
background: var(--oui-navbar-bg, var(--oui-color-inverse));
|
|
930
981
|
color: var(--oui-color-on-inverse-muted);
|
|
@@ -947,7 +998,7 @@
|
|
|
947
998
|
justify-content: center;
|
|
948
999
|
gap: 0.2rem;
|
|
949
1000
|
min-width: 0;
|
|
950
|
-
padding: 0.3rem 0.
|
|
1001
|
+
padding: 0.3rem 0.1rem;
|
|
951
1002
|
border: 0;
|
|
952
1003
|
border-radius: var(--oui-radius-control);
|
|
953
1004
|
background: transparent;
|
|
@@ -958,9 +1009,11 @@
|
|
|
958
1009
|
cursor: pointer;
|
|
959
1010
|
transition: background-color var(--oui-duration-fast) var(--oui-ease), color var(--oui-duration-fast) var(--oui-ease);
|
|
960
1011
|
}
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
1012
|
+
@media (hover: hover) {
|
|
1013
|
+
.oui-app-shell__tab:hover {
|
|
1014
|
+
background: var(--oui-color-inverse-hover);
|
|
1015
|
+
color: var(--oui-color-on-inverse);
|
|
1016
|
+
}
|
|
964
1017
|
}
|
|
965
1018
|
.oui-app-shell__tab:focus-visible {
|
|
966
1019
|
outline: 2px solid currentColor;
|
|
@@ -1034,9 +1087,11 @@
|
|
|
1034
1087
|
width: 1.25rem;
|
|
1035
1088
|
height: 1.25rem;
|
|
1036
1089
|
}
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1090
|
+
@media (hover: hover) {
|
|
1091
|
+
.oui-app-shell__menu-button:hover,
|
|
1092
|
+
.oui-app-shell__drawer-close:hover {
|
|
1093
|
+
background: var(--oui-color-inverse-hover);
|
|
1094
|
+
}
|
|
1040
1095
|
}
|
|
1041
1096
|
.oui-app-shell__menu-button:focus-visible,
|
|
1042
1097
|
.oui-app-shell__drawer-close:focus-visible {
|
|
@@ -1084,8 +1139,48 @@
|
|
|
1084
1139
|
.oui-app-shell__mobile-brand {
|
|
1085
1140
|
flex: 1;
|
|
1086
1141
|
min-width: 0;
|
|
1142
|
+
overflow: hidden;
|
|
1087
1143
|
font-family: var(--oui-font-heading);
|
|
1088
1144
|
font-weight: var(--oui-font-weight-bold);
|
|
1145
|
+
text-overflow: ellipsis;
|
|
1146
|
+
white-space: nowrap;
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
.oui-page {
|
|
1150
|
+
box-sizing: border-box;
|
|
1151
|
+
margin: 0;
|
|
1152
|
+
font-family: var(--oui-font-body);
|
|
1153
|
+
-webkit-font-smoothing: antialiased;
|
|
1154
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1155
|
+
--_padding: var(--oui-space-12);
|
|
1156
|
+
--_gap: var(--oui-space-10);
|
|
1157
|
+
display: flex;
|
|
1158
|
+
flex-direction: column;
|
|
1159
|
+
gap: var(--oui-page-gap, var(--_gap));
|
|
1160
|
+
width: 100%;
|
|
1161
|
+
max-width: var(--oui-page-max-width, 80rem);
|
|
1162
|
+
min-height: 100%;
|
|
1163
|
+
margin-inline: auto;
|
|
1164
|
+
padding: var(--oui-page-padding, var(--_padding));
|
|
1165
|
+
}
|
|
1166
|
+
@media (max-width: 640px) {
|
|
1167
|
+
.oui-page {
|
|
1168
|
+
--_padding: var(--oui-space-8);
|
|
1169
|
+
--_gap: var(--oui-space-8);
|
|
1170
|
+
}
|
|
1171
|
+
}
|
|
1172
|
+
.oui-page[data-fill] {
|
|
1173
|
+
height: 100%;
|
|
1174
|
+
min-height: 0;
|
|
1175
|
+
}
|
|
1176
|
+
@media (max-width: 900px), (max-height: 640px) {
|
|
1177
|
+
.oui-page[data-fill] {
|
|
1178
|
+
height: auto;
|
|
1179
|
+
min-height: 100%;
|
|
1180
|
+
}
|
|
1181
|
+
.oui-page[data-fill] :is(.oui-card, .oui-data-table)[data-fill]:not(.oui-card[data-fill] *) {
|
|
1182
|
+
flex: none;
|
|
1183
|
+
height: var(--oui-page-fill-height, 32rem);
|
|
1089
1184
|
}
|
|
1090
1185
|
}
|
|
1091
1186
|
.oui-page-header {
|
|
@@ -1117,7 +1212,7 @@
|
|
|
1117
1212
|
margin: 0;
|
|
1118
1213
|
color: var(--oui-color-text-strong);
|
|
1119
1214
|
font-family: var(--oui-font-heading);
|
|
1120
|
-
font-size: clamp(1.5rem,
|
|
1215
|
+
font-size: clamp(1.5rem, 1rem + 1vw, 2rem);
|
|
1121
1216
|
font-weight: var(--oui-font-weight-bold);
|
|
1122
1217
|
line-height: 1.15;
|
|
1123
1218
|
letter-spacing: -0.015em;
|
|
@@ -1136,6 +1231,15 @@
|
|
|
1136
1231
|
flex-wrap: wrap;
|
|
1137
1232
|
gap: var(--oui-space-4);
|
|
1138
1233
|
}
|
|
1234
|
+
@media (max-width: 640px) {
|
|
1235
|
+
.oui-page-header__heading {
|
|
1236
|
+
display: contents;
|
|
1237
|
+
}
|
|
1238
|
+
.oui-page-header__actions {
|
|
1239
|
+
order: 1;
|
|
1240
|
+
margin-top: var(--oui-space-4);
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1139
1243
|
.oui-grid {
|
|
1140
1244
|
--_cols: 3;
|
|
1141
1245
|
--_half: 2;
|
|
@@ -1252,7 +1356,7 @@
|
|
|
1252
1356
|
box-shadow: 0 0 0 2px var(--oui-color-surface);
|
|
1253
1357
|
}
|
|
1254
1358
|
.oui-avatar-group > .oui-avatar + .oui-avatar {
|
|
1255
|
-
margin-left: calc(var(--oui-avatar-size, var(--_size, 2.5rem)) * -0.
|
|
1359
|
+
margin-left: calc(var(--oui-avatar-size, var(--_size, 2.5rem)) * -0.2);
|
|
1256
1360
|
}
|
|
1257
1361
|
}
|
|
1258
1362
|
@layer oui.components {
|
|
@@ -1342,7 +1446,7 @@
|
|
|
1342
1446
|
display: inline-flex;
|
|
1343
1447
|
align-items: center;
|
|
1344
1448
|
gap: 0.35rem;
|
|
1345
|
-
height: 1.5rem;
|
|
1449
|
+
min-height: 1.5rem;
|
|
1346
1450
|
padding: 0 0.6rem;
|
|
1347
1451
|
border: 1px solid transparent;
|
|
1348
1452
|
border-radius: var(--oui-badge-radius, var(--oui-radius-pill));
|
|
@@ -1360,7 +1464,7 @@
|
|
|
1360
1464
|
height: 0.85rem;
|
|
1361
1465
|
}
|
|
1362
1466
|
.oui-badge[data-size=sm] {
|
|
1363
|
-
height: 1.25rem;
|
|
1467
|
+
min-height: 1.25rem;
|
|
1364
1468
|
padding: 0 0.45rem;
|
|
1365
1469
|
font-size: var(--oui-font-size-2xs);
|
|
1366
1470
|
}
|
|
@@ -1431,14 +1535,26 @@
|
|
|
1431
1535
|
width: 1rem;
|
|
1432
1536
|
height: 1rem;
|
|
1433
1537
|
}
|
|
1538
|
+
@media (pointer: coarse) {
|
|
1539
|
+
.oui-breadcrumbs__link {
|
|
1540
|
+
position: relative;
|
|
1541
|
+
}
|
|
1542
|
+
.oui-breadcrumbs__link::before {
|
|
1543
|
+
content: "";
|
|
1544
|
+
position: absolute;
|
|
1545
|
+
inset: -0.7rem -0.2rem;
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1434
1548
|
.oui-breadcrumbs__link:focus-visible {
|
|
1435
1549
|
outline: var(--oui-focus-outline);
|
|
1436
1550
|
outline-offset: var(--oui-focus-outline-offset);
|
|
1437
1551
|
}
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1552
|
+
@media (hover: hover) {
|
|
1553
|
+
.oui-breadcrumbs__link:hover:not([data-current]) {
|
|
1554
|
+
color: var(--oui-color-text-strong);
|
|
1555
|
+
text-decoration: underline;
|
|
1556
|
+
text-underline-offset: 0.2em;
|
|
1557
|
+
}
|
|
1442
1558
|
}
|
|
1443
1559
|
.oui-breadcrumbs__link[data-current] {
|
|
1444
1560
|
color: var(--oui-color-text-strong);
|
|
@@ -1665,9 +1781,9 @@
|
|
|
1665
1781
|
height: 1.1em;
|
|
1666
1782
|
}
|
|
1667
1783
|
.oui-icon-button {
|
|
1668
|
-
--_px: 0;
|
|
1669
1784
|
--_radius: var(--oui-radius-control);
|
|
1670
1785
|
width: var(--oui-button-height, var(--_height));
|
|
1786
|
+
padding-inline: 0;
|
|
1671
1787
|
}
|
|
1672
1788
|
.oui-icon-button[data-shape=circle] {
|
|
1673
1789
|
--_radius: var(--oui-radius-pill);
|
|
@@ -1737,8 +1853,10 @@
|
|
|
1737
1853
|
outline: var(--oui-focus-outline);
|
|
1738
1854
|
outline-offset: var(--oui-focus-outline-offset);
|
|
1739
1855
|
}
|
|
1740
|
-
|
|
1741
|
-
|
|
1856
|
+
@media (hover: hover) {
|
|
1857
|
+
.oui-calendar__title-button:hover {
|
|
1858
|
+
background: var(--oui-color-accent-subtle);
|
|
1859
|
+
}
|
|
1742
1860
|
}
|
|
1743
1861
|
.oui-calendar__nav {
|
|
1744
1862
|
display: inline-flex;
|
|
@@ -1767,9 +1885,11 @@
|
|
|
1767
1885
|
cursor: not-allowed;
|
|
1768
1886
|
opacity: var(--oui-control-disabled-opacity);
|
|
1769
1887
|
}
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1888
|
+
@media (hover: hover) {
|
|
1889
|
+
.oui-calendar__nav:hover:not(:disabled, [data-disabled]) {
|
|
1890
|
+
background: var(--oui-color-accent-subtle);
|
|
1891
|
+
color: var(--oui-color-text-strong);
|
|
1892
|
+
}
|
|
1773
1893
|
}
|
|
1774
1894
|
.oui-calendar__nav-spacer {
|
|
1775
1895
|
width: 2rem;
|
|
@@ -1826,9 +1946,11 @@
|
|
|
1826
1946
|
outline: var(--oui-focus-outline);
|
|
1827
1947
|
outline-offset: var(--oui-focus-outline-offset);
|
|
1828
1948
|
}
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1949
|
+
@media (hover: hover) {
|
|
1950
|
+
.oui-calendar__day:hover:not([data-disabled], [data-selected]),
|
|
1951
|
+
.oui-calendar__choice:hover:not([data-disabled], [data-selected]) {
|
|
1952
|
+
background: var(--oui-color-accent-subtle);
|
|
1953
|
+
}
|
|
1832
1954
|
}
|
|
1833
1955
|
.oui-calendar__day[data-outside],
|
|
1834
1956
|
.oui-calendar__choice[data-outside] {
|
|
@@ -1843,9 +1965,11 @@
|
|
|
1843
1965
|
.oui-calendar__choice[data-in-range] {
|
|
1844
1966
|
background: var(--oui-color-accent-subtle);
|
|
1845
1967
|
}
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1968
|
+
@media (hover: hover) {
|
|
1969
|
+
.oui-calendar__day[data-in-range]:hover:not([data-disabled], [data-selected]),
|
|
1970
|
+
.oui-calendar__choice[data-in-range]:hover:not([data-disabled], [data-selected]) {
|
|
1971
|
+
background: var(--oui-color-accent-muted);
|
|
1972
|
+
}
|
|
1849
1973
|
}
|
|
1850
1974
|
.oui-calendar__day[data-selected],
|
|
1851
1975
|
.oui-calendar__choice[data-selected] {
|
|
@@ -1907,6 +2031,18 @@
|
|
|
1907
2031
|
border-color: transparent;
|
|
1908
2032
|
background: var(--oui-card-bg, var(--oui-color-surface-muted));
|
|
1909
2033
|
}
|
|
2034
|
+
.oui-card[data-fill] {
|
|
2035
|
+
flex: 1 1 0;
|
|
2036
|
+
min-height: var(--oui-card-fill-min-height, 24rem);
|
|
2037
|
+
}
|
|
2038
|
+
.oui-card[data-fill] > .oui-card__content {
|
|
2039
|
+
display: flex;
|
|
2040
|
+
flex-direction: column;
|
|
2041
|
+
}
|
|
2042
|
+
.oui-card[data-fill] > .oui-card__content > [data-fill] {
|
|
2043
|
+
flex: 1;
|
|
2044
|
+
min-height: 0;
|
|
2045
|
+
}
|
|
1910
2046
|
.oui-card[data-variant=ghost] {
|
|
1911
2047
|
border-color: transparent;
|
|
1912
2048
|
background: transparent;
|
|
@@ -1940,9 +2076,9 @@
|
|
|
1940
2076
|
gap: 0.5rem 0.75rem;
|
|
1941
2077
|
min-width: 0;
|
|
1942
2078
|
}
|
|
1943
|
-
.oui-card__header > :not(.oui-card__actions) {
|
|
1944
|
-
flex: 1 1
|
|
1945
|
-
min-width:
|
|
2079
|
+
.oui-card__header > :first-child:not(.oui-card__actions) {
|
|
2080
|
+
flex: 1 1 0;
|
|
2081
|
+
min-width: min(8rem, 100%);
|
|
1946
2082
|
}
|
|
1947
2083
|
.oui-card__title {
|
|
1948
2084
|
margin: 0;
|
|
@@ -1963,7 +2099,8 @@
|
|
|
1963
2099
|
flex-wrap: wrap;
|
|
1964
2100
|
align-items: center;
|
|
1965
2101
|
gap: 0.15rem;
|
|
1966
|
-
margin:
|
|
2102
|
+
margin: min(0px, (1.35rem - var(--oui-control-height-sm)) / 2) -0.35rem;
|
|
2103
|
+
margin-left: auto;
|
|
1967
2104
|
}
|
|
1968
2105
|
.oui-card__content {
|
|
1969
2106
|
flex: 1;
|
|
@@ -2150,6 +2287,20 @@
|
|
|
2150
2287
|
outline: var(--oui-focus-outline);
|
|
2151
2288
|
outline-offset: var(--oui-focus-outline-offset);
|
|
2152
2289
|
}
|
|
2290
|
+
@media (pointer: coarse) {
|
|
2291
|
+
.oui-switch {
|
|
2292
|
+
position: relative;
|
|
2293
|
+
}
|
|
2294
|
+
.oui-switch::before {
|
|
2295
|
+
content: "";
|
|
2296
|
+
position: absolute;
|
|
2297
|
+
top: 50%;
|
|
2298
|
+
left: 50%;
|
|
2299
|
+
width: max(100%, 2.5rem);
|
|
2300
|
+
height: max(100%, 2.5rem);
|
|
2301
|
+
translate: -50% -50%;
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2153
2304
|
.oui-switch[data-size=sm] {
|
|
2154
2305
|
--_w: var(--oui-switch-width, 2rem);
|
|
2155
2306
|
--_h: var(--oui-switch-height, 1.15rem);
|
|
@@ -2255,6 +2406,12 @@
|
|
|
2255
2406
|
font-size: var(--oui-font-size-md);
|
|
2256
2407
|
line-height: 1.6;
|
|
2257
2408
|
}
|
|
2409
|
+
.oui-collapsible__content[data-plain] {
|
|
2410
|
+
padding: 0;
|
|
2411
|
+
color: inherit;
|
|
2412
|
+
font-size: inherit;
|
|
2413
|
+
line-height: inherit;
|
|
2414
|
+
}
|
|
2258
2415
|
}
|
|
2259
2416
|
@layer oui.components {
|
|
2260
2417
|
.oui-combobox__group {
|
|
@@ -2279,6 +2436,9 @@
|
|
|
2279
2436
|
.oui-combobox__group[data-invalid] {
|
|
2280
2437
|
border-color: var(--oui-color-danger);
|
|
2281
2438
|
}
|
|
2439
|
+
.oui-combobox__group:is(:disabled, [data-disabled]) {
|
|
2440
|
+
background: var(--oui-color-surface-muted);
|
|
2441
|
+
}
|
|
2282
2442
|
.oui-combobox__group {
|
|
2283
2443
|
--_height: var(--oui-control-height-md);
|
|
2284
2444
|
display: flex;
|
|
@@ -2302,6 +2462,11 @@
|
|
|
2302
2462
|
.oui-combobox__group[data-size=lg] {
|
|
2303
2463
|
--_height: var(--oui-control-height-lg);
|
|
2304
2464
|
}
|
|
2465
|
+
@media (pointer: coarse) {
|
|
2466
|
+
.oui-combobox__group:not([data-size=lg]) {
|
|
2467
|
+
font-size: max(16px, var(--oui-font-size-md));
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2305
2470
|
.oui-combobox__group[data-multiple] {
|
|
2306
2471
|
padding-block: max(0px, (var(--oui-input-height, var(--_height)) - 2 * var(--oui-control-border-width) - 1.5rem) / 2);
|
|
2307
2472
|
padding-left: 0.35rem;
|
|
@@ -2365,9 +2530,11 @@
|
|
|
2365
2530
|
outline: var(--oui-focus-outline);
|
|
2366
2531
|
outline-offset: var(--oui-focus-outline-offset);
|
|
2367
2532
|
}
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2533
|
+
@media (hover: hover) {
|
|
2534
|
+
.oui-combobox__action:hover {
|
|
2535
|
+
background: var(--oui-color-accent-subtle);
|
|
2536
|
+
color: var(--oui-color-text-strong);
|
|
2537
|
+
}
|
|
2371
2538
|
}
|
|
2372
2539
|
.oui-combobox__action svg {
|
|
2373
2540
|
transition: transform var(--oui-duration-normal) var(--oui-ease-out);
|
|
@@ -2386,6 +2553,9 @@
|
|
|
2386
2553
|
.oui-combobox__chips[data-collapse] {
|
|
2387
2554
|
flex-wrap: nowrap;
|
|
2388
2555
|
}
|
|
2556
|
+
.oui-combobox__chips > .oui-combobox__input {
|
|
2557
|
+
min-width: 2.5rem;
|
|
2558
|
+
}
|
|
2389
2559
|
.oui-combobox__chip {
|
|
2390
2560
|
display: inline-flex;
|
|
2391
2561
|
align-items: center;
|
|
@@ -2417,6 +2587,7 @@
|
|
|
2417
2587
|
}
|
|
2418
2588
|
.oui-combobox__chip-remove {
|
|
2419
2589
|
display: inline-flex;
|
|
2590
|
+
flex-shrink: 0;
|
|
2420
2591
|
align-items: center;
|
|
2421
2592
|
justify-content: center;
|
|
2422
2593
|
width: 1.25rem;
|
|
@@ -2452,8 +2623,10 @@
|
|
|
2452
2623
|
translate: -50% -50%;
|
|
2453
2624
|
}
|
|
2454
2625
|
}
|
|
2455
|
-
|
|
2456
|
-
|
|
2626
|
+
@media (hover: hover) {
|
|
2627
|
+
.oui-combobox__chip-remove:hover {
|
|
2628
|
+
background: var(--oui-color-accent-strong);
|
|
2629
|
+
}
|
|
2457
2630
|
}
|
|
2458
2631
|
.oui-combobox__positioner {
|
|
2459
2632
|
z-index: var(--oui-z-dropdown);
|
|
@@ -2474,7 +2647,7 @@
|
|
|
2474
2647
|
font-size: var(--oui-font-size-md);
|
|
2475
2648
|
outline: none;
|
|
2476
2649
|
scrollbar-width: thin;
|
|
2477
|
-
scrollbar-color: var(--oui-
|
|
2650
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
2478
2651
|
transform-origin: var(--transform-origin);
|
|
2479
2652
|
transition: opacity var(--oui-duration-fast) var(--oui-ease), transform var(--oui-duration-fast) var(--oui-ease-out);
|
|
2480
2653
|
}
|
|
@@ -2579,7 +2752,7 @@
|
|
|
2579
2752
|
z-index: var(--oui-z-dialog);
|
|
2580
2753
|
display: flex;
|
|
2581
2754
|
flex-direction: column;
|
|
2582
|
-
width: min(var(--oui-command-width, 36rem),
|
|
2755
|
+
width: min(var(--oui-command-width, 36rem), 100% - 2rem);
|
|
2583
2756
|
max-height: min(var(--oui-command-max-height, 28rem), 100dvh - 4rem);
|
|
2584
2757
|
overflow: hidden;
|
|
2585
2758
|
border: 1px solid var(--oui-color-border);
|
|
@@ -2647,7 +2820,7 @@
|
|
|
2647
2820
|
overscroll-behavior: contain;
|
|
2648
2821
|
scroll-padding-block: 0.4rem;
|
|
2649
2822
|
scrollbar-width: thin;
|
|
2650
|
-
scrollbar-color: var(--oui-
|
|
2823
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
2651
2824
|
}
|
|
2652
2825
|
.oui-command__group-label {
|
|
2653
2826
|
color: var(--oui-color-text-muted);
|
|
@@ -2791,16 +2964,23 @@
|
|
|
2791
2964
|
flex: 1 1 14rem;
|
|
2792
2965
|
max-width: 22rem;
|
|
2793
2966
|
}
|
|
2794
|
-
.oui-data-table__toolbar:has(> .oui-data-table__controls) {
|
|
2795
|
-
|
|
2796
|
-
|
|
2967
|
+
.oui-data-table__toolbar:has(> :is(.oui-data-table__controls, .oui-data-table__selection-bar)) {
|
|
2968
|
+
display: grid;
|
|
2969
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2970
|
+
align-items: start;
|
|
2971
|
+
}
|
|
2972
|
+
.oui-data-table__toolbar:has(> :is(.oui-data-table__controls, .oui-data-table__selection-bar)) > :is(.oui-data-table__controls, .oui-data-table__selection-bar) {
|
|
2973
|
+
grid-area: 1/1;
|
|
2974
|
+
}
|
|
2975
|
+
.oui-data-table__toolbar:has(> :is(.oui-data-table__controls, .oui-data-table__selection-bar)) > .oui-data-table__actions {
|
|
2976
|
+
grid-area: 1/2;
|
|
2797
2977
|
}
|
|
2798
|
-
.oui-data-table__toolbar > .oui-data-table__controls + .oui-data-table__actions {
|
|
2978
|
+
.oui-data-table__toolbar > :is(.oui-data-table__controls, .oui-data-table__selection-bar) + .oui-data-table__actions {
|
|
2799
2979
|
flex: none;
|
|
2800
2980
|
flex-wrap: nowrap;
|
|
2801
2981
|
min-height: var(--oui-control-height-md);
|
|
2802
2982
|
}
|
|
2803
|
-
.oui-data-table__toolbar[data-size=sm] > .oui-data-table__controls + .oui-data-table__actions {
|
|
2983
|
+
.oui-data-table__toolbar[data-size=sm] > :is(.oui-data-table__controls, .oui-data-table__selection-bar) + .oui-data-table__actions {
|
|
2804
2984
|
min-height: var(--oui-control-height-sm);
|
|
2805
2985
|
}
|
|
2806
2986
|
.oui-data-table__controls {
|
|
@@ -2823,55 +3003,23 @@
|
|
|
2823
3003
|
min-width: 0;
|
|
2824
3004
|
max-width: none;
|
|
2825
3005
|
}
|
|
2826
|
-
.oui-data-table__toolbar[data-layout=narrow] > :first-child:not(.oui-input-group) {
|
|
3006
|
+
.oui-data-table__toolbar[data-layout=narrow] > :first-child:not(.oui-input-group, .oui-data-table__selection-bar) {
|
|
2827
3007
|
margin-left: auto;
|
|
2828
3008
|
}
|
|
2829
|
-
.oui-data-
|
|
2830
|
-
|
|
2831
|
-
background: linear-gradient(var(--_row-tint), var(--_row-tint)), var(--oui-color-surface);
|
|
2832
|
-
}
|
|
2833
|
-
.oui-data-table .oui-table__head.oui-data-table__selection-head {
|
|
2834
|
-
box-sizing: border-box;
|
|
2835
|
-
padding-block: 0;
|
|
2836
|
-
color: var(--oui-color-text);
|
|
2837
|
-
font-size: var(--oui-font-size-sm);
|
|
2838
|
-
font-weight: var(--oui-font-weight-regular);
|
|
2839
|
-
letter-spacing: normal;
|
|
2840
|
-
text-transform: none;
|
|
3009
|
+
.oui-data-table__controls[inert] {
|
|
3010
|
+
visibility: hidden;
|
|
2841
3011
|
}
|
|
2842
3012
|
.oui-data-table__selection-bar {
|
|
2843
|
-
position: sticky;
|
|
2844
|
-
left: var(--oui-space-4);
|
|
2845
3013
|
display: flex;
|
|
3014
|
+
flex: 1 1 0;
|
|
3015
|
+
flex-wrap: wrap;
|
|
2846
3016
|
align-items: center;
|
|
2847
3017
|
gap: var(--oui-space-4);
|
|
2848
|
-
width:
|
|
2849
|
-
|
|
2850
|
-
}
|
|
2851
|
-
.oui-data-table__selection-bar .oui-button {
|
|
2852
|
-
--oui-button-height: 1.5rem;
|
|
2853
|
-
--oui-button-padding-x: 0.65rem;
|
|
2854
|
-
--oui-button-font-size: var(--oui-font-size-xs);
|
|
2855
|
-
}
|
|
2856
|
-
@media (pointer: coarse) {
|
|
2857
|
-
.oui-data-table__selection-bar .oui-button {
|
|
2858
|
-
position: relative;
|
|
2859
|
-
}
|
|
2860
|
-
.oui-data-table__selection-bar .oui-button::before {
|
|
2861
|
-
content: "";
|
|
2862
|
-
position: absolute;
|
|
2863
|
-
top: 50%;
|
|
2864
|
-
left: 50%;
|
|
2865
|
-
width: max(100%, 2.5rem);
|
|
2866
|
-
height: max(100%, 2.5rem);
|
|
2867
|
-
translate: -50% -50%;
|
|
2868
|
-
}
|
|
2869
|
-
}
|
|
2870
|
-
.oui-data-table__selection-bar .oui-icon-button {
|
|
2871
|
-
--oui-button-padding-x: 0;
|
|
3018
|
+
min-width: 0;
|
|
3019
|
+
min-height: var(--oui-control-height-md);
|
|
2872
3020
|
}
|
|
2873
|
-
.oui-data-
|
|
2874
|
-
|
|
3021
|
+
.oui-data-table__toolbar[data-size=sm] > .oui-data-table__selection-bar {
|
|
3022
|
+
min-height: var(--oui-control-height-sm);
|
|
2875
3023
|
}
|
|
2876
3024
|
.oui-data-table__selection-count {
|
|
2877
3025
|
color: var(--oui-color-text-strong);
|
|
@@ -3135,24 +3283,18 @@
|
|
|
3135
3283
|
.oui-data-table .oui-table__row[data-clickable] {
|
|
3136
3284
|
cursor: pointer;
|
|
3137
3285
|
}
|
|
3138
|
-
|
|
3139
|
-
|
|
3286
|
+
@media (hover: hover) {
|
|
3287
|
+
.oui-data-table .oui-table__row[data-clickable][data-clickable]:hover:not([data-selected], [data-editing]) {
|
|
3288
|
+
background: var(--oui-color-accent-subtle);
|
|
3289
|
+
}
|
|
3140
3290
|
}
|
|
3141
3291
|
.oui-data-table .oui-table__row[data-clickable]:focus-visible {
|
|
3142
3292
|
outline: 2px solid var(--oui-color-border-focus);
|
|
3143
3293
|
outline-offset: -2px;
|
|
3144
3294
|
}
|
|
3145
|
-
.oui-data-table .oui-table__cell[data-mono] {
|
|
3146
|
-
font-family: var(--oui-font-mono);
|
|
3147
|
-
font-size: 0.92em;
|
|
3148
|
-
}
|
|
3149
3295
|
.oui-data-table .oui-table__cell[data-muted] {
|
|
3150
3296
|
color: var(--oui-color-text-muted);
|
|
3151
3297
|
}
|
|
3152
|
-
.oui-data-table .oui-table :is(.oui-table__cell, .oui-table__head)[data-nowrap] {
|
|
3153
|
-
overflow-wrap: normal;
|
|
3154
|
-
white-space: nowrap;
|
|
3155
|
-
}
|
|
3156
3298
|
.oui-data-table .oui-table[data-sticky-column] {
|
|
3157
3299
|
--_check-width: 2.25rem;
|
|
3158
3300
|
}
|
|
@@ -3174,32 +3316,34 @@
|
|
|
3174
3316
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__header .oui-table__row > :is(:first-child, .oui-data-table__check + *) {
|
|
3175
3317
|
z-index: 2;
|
|
3176
3318
|
}
|
|
3177
|
-
.oui-data-table .oui-table[data-sticky-column] .oui-table__header .oui-table__row > .oui-data-table__selection-head {
|
|
3178
|
-
left: auto;
|
|
3179
|
-
z-index: 1;
|
|
3180
|
-
}
|
|
3181
3319
|
.oui-data-table .oui-table[data-sticky-column][data-striped] .oui-table__body .oui-table__row:nth-child(even) {
|
|
3182
3320
|
--_row-tint: var(--oui-color-surface-muted);
|
|
3183
3321
|
}
|
|
3184
|
-
|
|
3185
|
-
|
|
3322
|
+
@media (hover: hover) {
|
|
3323
|
+
.oui-data-table .oui-table[data-sticky-column][data-hoverable] .oui-table__body .oui-table__row:hover {
|
|
3324
|
+
--_row-tint: var(--oui-color-surface-hover);
|
|
3325
|
+
}
|
|
3186
3326
|
}
|
|
3187
3327
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-tone-style~=fill]:not([data-selected]) {
|
|
3188
3328
|
--_row-tint: var(--_tone-subtle);
|
|
3189
3329
|
}
|
|
3190
|
-
|
|
3191
|
-
|
|
3330
|
+
@media (hover: hover) {
|
|
3331
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-tone-style~=fill]:not([data-selected]):hover {
|
|
3332
|
+
--_row-tint: var(--_tone-hover);
|
|
3333
|
+
}
|
|
3192
3334
|
}
|
|
3193
3335
|
.oui-data-table .oui-table[data-sticky-column] .oui-table__row:is([data-selected], [data-editing]) {
|
|
3194
3336
|
--_row-tint: var(--oui-color-accent-subtle);
|
|
3195
3337
|
}
|
|
3196
|
-
|
|
3197
|
-
|
|
3338
|
+
@media (hover: hover) {
|
|
3339
|
+
.oui-data-table .oui-table[data-sticky-column] .oui-table__row[data-clickable][data-clickable]:hover:not([data-selected], [data-editing], [data-tone-style~=fill]) {
|
|
3340
|
+
--_row-tint: var(--oui-color-accent-subtle);
|
|
3341
|
+
}
|
|
3198
3342
|
}
|
|
3199
3343
|
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] {
|
|
3200
3344
|
mask-image: none;
|
|
3201
3345
|
}
|
|
3202
|
-
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] .oui-table__row > :is(:first-child:not(.oui-data-table__check), .oui-data-table__check + *)
|
|
3346
|
+
.oui-data-table .oui-table-wrap:has(> .oui-table[data-sticky-column])[data-fade-start] .oui-table__row > :is(:first-child:not(.oui-data-table__check), .oui-data-table__check + *)::after {
|
|
3203
3347
|
content: "";
|
|
3204
3348
|
position: absolute;
|
|
3205
3349
|
top: 0;
|
|
@@ -3283,8 +3427,10 @@
|
|
|
3283
3427
|
.oui-data-table .oui-table__row[data-tone][data-tone-style~=fill]:not([data-selected]) {
|
|
3284
3428
|
background: var(--_tone-subtle);
|
|
3285
3429
|
}
|
|
3286
|
-
|
|
3287
|
-
|
|
3430
|
+
@media (hover: hover) {
|
|
3431
|
+
.oui-data-table .oui-table__row[data-tone][data-tone-style~=fill]:not([data-selected]):hover {
|
|
3432
|
+
background: var(--_tone-hover);
|
|
3433
|
+
}
|
|
3288
3434
|
}
|
|
3289
3435
|
.oui-data-table .oui-table__row[data-tone][data-tone-style~=bar] > :first-child {
|
|
3290
3436
|
box-shadow: inset 3px 0 0 var(--_tone);
|
|
@@ -3302,9 +3448,11 @@
|
|
|
3302
3448
|
gap: 0.125rem;
|
|
3303
3449
|
vertical-align: middle;
|
|
3304
3450
|
}
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3451
|
+
@media (hover: hover) {
|
|
3452
|
+
.oui-data-table .oui-data-table__action[data-danger]:hover:not([data-disabled]) {
|
|
3453
|
+
background: var(--oui-color-danger-subtle);
|
|
3454
|
+
color: var(--oui-color-danger-text);
|
|
3455
|
+
}
|
|
3308
3456
|
}
|
|
3309
3457
|
.oui-data-table .oui-table__row[data-editing] {
|
|
3310
3458
|
background: var(--oui-color-accent-subtle);
|
|
@@ -3406,6 +3554,9 @@
|
|
|
3406
3554
|
.oui-date-picker__trigger[data-invalid] {
|
|
3407
3555
|
border-color: var(--oui-color-danger);
|
|
3408
3556
|
}
|
|
3557
|
+
.oui-date-picker__trigger:is(:disabled, [data-disabled]) {
|
|
3558
|
+
background: var(--oui-color-surface-muted);
|
|
3559
|
+
}
|
|
3409
3560
|
.oui-date-picker__trigger {
|
|
3410
3561
|
--_height: var(--oui-control-height-md);
|
|
3411
3562
|
display: inline-flex;
|
|
@@ -3556,9 +3707,11 @@
|
|
|
3556
3707
|
outline: var(--oui-focus-outline);
|
|
3557
3708
|
outline-offset: var(--oui-focus-outline-offset);
|
|
3558
3709
|
}
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3710
|
+
@media (hover: hover) {
|
|
3711
|
+
.oui-date-range-picker__preset:hover:not(:disabled) {
|
|
3712
|
+
background: var(--oui-color-accent-subtle);
|
|
3713
|
+
color: var(--oui-color-text-strong);
|
|
3714
|
+
}
|
|
3562
3715
|
}
|
|
3563
3716
|
.oui-date-range-picker__preset[data-active] {
|
|
3564
3717
|
background: var(--oui-color-accent-muted);
|
|
@@ -3576,6 +3729,7 @@
|
|
|
3576
3729
|
font-family: var(--oui-font-body);
|
|
3577
3730
|
-webkit-font-smoothing: antialiased;
|
|
3578
3731
|
-moz-osx-font-smoothing: grayscale;
|
|
3732
|
+
container-type: inline-size;
|
|
3579
3733
|
font-size: var(--oui-font-size-md);
|
|
3580
3734
|
}
|
|
3581
3735
|
.oui-description-list[data-layout=rows] > .oui-description-list__item {
|
|
@@ -3595,11 +3749,10 @@
|
|
|
3595
3749
|
gap: var(--oui-space-6) var(--oui-space-12);
|
|
3596
3750
|
}
|
|
3597
3751
|
.oui-description-list[data-layout=grid] .oui-description-list__label {
|
|
3598
|
-
color: var(--oui-color-text-muted);
|
|
3599
3752
|
font-size: var(--oui-font-size-sm);
|
|
3600
3753
|
}
|
|
3601
3754
|
.oui-description-list__label {
|
|
3602
|
-
color: var(--oui-color-text-
|
|
3755
|
+
color: var(--oui-color-text-muted);
|
|
3603
3756
|
}
|
|
3604
3757
|
.oui-description-list__value {
|
|
3605
3758
|
margin: 0;
|
|
@@ -3612,7 +3765,7 @@
|
|
|
3612
3765
|
column-gap: var(--oui-space-8);
|
|
3613
3766
|
}
|
|
3614
3767
|
}
|
|
3615
|
-
@
|
|
3768
|
+
@container (max-width: 27.5rem) {
|
|
3616
3769
|
.oui-description-list[data-layout=rows] > .oui-description-list__item {
|
|
3617
3770
|
grid-template-columns: 1fr;
|
|
3618
3771
|
gap: var(--oui-space-3);
|
|
@@ -3663,7 +3816,7 @@
|
|
|
3663
3816
|
flex-direction: column;
|
|
3664
3817
|
gap: var(--oui-space-8);
|
|
3665
3818
|
box-sizing: border-box;
|
|
3666
|
-
width: min(var(--oui-dialog-width, var(--_width)),
|
|
3819
|
+
width: min(var(--oui-dialog-width, var(--_width)), 100% - 2rem);
|
|
3667
3820
|
max-height: calc(100dvh - 2rem);
|
|
3668
3821
|
padding: var(--oui-dialog-padding, var(--_padding));
|
|
3669
3822
|
overflow-y: auto;
|
|
@@ -3675,7 +3828,7 @@
|
|
|
3675
3828
|
outline: none;
|
|
3676
3829
|
overscroll-behavior: contain;
|
|
3677
3830
|
scrollbar-width: thin;
|
|
3678
|
-
scrollbar-color: var(--oui-
|
|
3831
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
3679
3832
|
transition: opacity var(--oui-duration-normal) var(--oui-ease), transform var(--oui-duration-slow) var(--oui-ease-out), scale var(--oui-duration-normal) var(--oui-ease);
|
|
3680
3833
|
}
|
|
3681
3834
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -3695,7 +3848,7 @@
|
|
|
3695
3848
|
--_width: 60rem;
|
|
3696
3849
|
}
|
|
3697
3850
|
.oui-dialog[data-size=full] {
|
|
3698
|
-
--_width: calc(
|
|
3851
|
+
--_width: calc(100% - 2rem);
|
|
3699
3852
|
height: calc(100dvh - 2rem);
|
|
3700
3853
|
}
|
|
3701
3854
|
.oui-dialog[data-placement=center] {
|
|
@@ -3716,7 +3869,7 @@
|
|
|
3716
3869
|
bottom: 0;
|
|
3717
3870
|
max-height: none;
|
|
3718
3871
|
height: 100dvh;
|
|
3719
|
-
width: min(var(--oui-dialog-width, var(--_width)),
|
|
3872
|
+
width: min(var(--oui-dialog-width, var(--_width)), 100%);
|
|
3720
3873
|
border-radius: 0;
|
|
3721
3874
|
border-block: 0;
|
|
3722
3875
|
}
|
|
@@ -3822,9 +3975,11 @@
|
|
|
3822
3975
|
outline: var(--oui-focus-outline);
|
|
3823
3976
|
outline-offset: var(--oui-focus-outline-offset);
|
|
3824
3977
|
}
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3978
|
+
@media (hover: hover) {
|
|
3979
|
+
.oui-dialog__close:hover {
|
|
3980
|
+
background: var(--oui-color-accent-subtle);
|
|
3981
|
+
color: var(--oui-color-text-strong);
|
|
3982
|
+
}
|
|
3828
3983
|
}
|
|
3829
3984
|
}
|
|
3830
3985
|
@layer oui.components {
|
|
@@ -3843,7 +3998,7 @@
|
|
|
3843
3998
|
display: flex;
|
|
3844
3999
|
flex-direction: column;
|
|
3845
4000
|
box-sizing: border-box;
|
|
3846
|
-
width: min(var(--oui-drawer-width, var(--_width)),
|
|
4001
|
+
width: min(var(--oui-drawer-width, var(--_width)), 100%);
|
|
3847
4002
|
height: 100dvh;
|
|
3848
4003
|
overflow: hidden;
|
|
3849
4004
|
border: 0 solid var(--oui-color-border);
|
|
@@ -3907,6 +4062,27 @@
|
|
|
3907
4062
|
.oui-drawer[data-side=bottom] > .oui-drawer__footer {
|
|
3908
4063
|
padding-bottom: calc(var(--oui-space-6) + env(safe-area-inset-bottom, 0px));
|
|
3909
4064
|
}
|
|
4065
|
+
.oui-drawer[data-swipeable] {
|
|
4066
|
+
transition: opacity var(--oui-duration-normal) var(--oui-ease), transform var(--oui-duration-slow) var(--oui-ease-out), translate var(--oui-duration-normal) var(--oui-ease-out);
|
|
4067
|
+
}
|
|
4068
|
+
.oui-drawer[data-swipeable]::before {
|
|
4069
|
+
content: "";
|
|
4070
|
+
position: absolute;
|
|
4071
|
+
top: 0.4rem;
|
|
4072
|
+
left: 50%;
|
|
4073
|
+
width: 2.25rem;
|
|
4074
|
+
height: 4px;
|
|
4075
|
+
translate: -50% 0;
|
|
4076
|
+
border-radius: var(--oui-radius-pill);
|
|
4077
|
+
background: var(--oui-color-border);
|
|
4078
|
+
}
|
|
4079
|
+
.oui-drawer[data-swipeable] > .oui-drawer__header {
|
|
4080
|
+
touch-action: none;
|
|
4081
|
+
}
|
|
4082
|
+
.oui-drawer[data-swipeable][data-dragging] {
|
|
4083
|
+
transition: none;
|
|
4084
|
+
user-select: none;
|
|
4085
|
+
}
|
|
3910
4086
|
@media (max-width: 640px) {
|
|
3911
4087
|
.oui-drawer {
|
|
3912
4088
|
--_padding: var(--oui-space-8);
|
|
@@ -3966,7 +4142,7 @@
|
|
|
3966
4142
|
overflow-y: auto;
|
|
3967
4143
|
overscroll-behavior: contain;
|
|
3968
4144
|
scrollbar-width: thin;
|
|
3969
|
-
scrollbar-color: var(--oui-
|
|
4145
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
3970
4146
|
background: var(--oui-drawer-body-bg, var(--oui-color-bg));
|
|
3971
4147
|
font-size: var(--oui-font-size-md);
|
|
3972
4148
|
line-height: 1.55;
|
|
@@ -4021,6 +4197,7 @@
|
|
|
4021
4197
|
font-family: var(--oui-font-heading);
|
|
4022
4198
|
font-size: 1.15rem;
|
|
4023
4199
|
font-weight: var(--oui-font-weight-bold);
|
|
4200
|
+
text-wrap: balance;
|
|
4024
4201
|
}
|
|
4025
4202
|
.oui-empty__description {
|
|
4026
4203
|
max-width: 36rem;
|
|
@@ -4028,6 +4205,7 @@
|
|
|
4028
4205
|
color: var(--oui-color-text-muted);
|
|
4029
4206
|
font-size: var(--oui-font-size-md);
|
|
4030
4207
|
line-height: 1.6;
|
|
4208
|
+
text-wrap: pretty;
|
|
4031
4209
|
}
|
|
4032
4210
|
.oui-empty__actions {
|
|
4033
4211
|
display: flex;
|
|
@@ -4296,6 +4474,9 @@
|
|
|
4296
4474
|
.oui-input[data-invalid] {
|
|
4297
4475
|
border-color: var(--oui-color-danger);
|
|
4298
4476
|
}
|
|
4477
|
+
.oui-input:is(:disabled, [data-disabled]) {
|
|
4478
|
+
background: var(--oui-color-surface-muted);
|
|
4479
|
+
}
|
|
4299
4480
|
.oui-input::placeholder {
|
|
4300
4481
|
color: var(--oui-color-text-subtle);
|
|
4301
4482
|
opacity: 1;
|
|
@@ -4332,6 +4513,11 @@
|
|
|
4332
4513
|
padding: 0 1rem;
|
|
4333
4514
|
font-size: var(--oui-font-size-lg);
|
|
4334
4515
|
}
|
|
4516
|
+
@media (pointer: coarse) {
|
|
4517
|
+
.oui-input:not([data-size=lg]) {
|
|
4518
|
+
font-size: max(16px, var(--oui-font-size-md));
|
|
4519
|
+
}
|
|
4520
|
+
}
|
|
4335
4521
|
.oui-input[data-grouped] {
|
|
4336
4522
|
height: 100%;
|
|
4337
4523
|
padding: 0;
|
|
@@ -4377,6 +4563,9 @@
|
|
|
4377
4563
|
.oui-input-group[data-invalid] {
|
|
4378
4564
|
border-color: var(--oui-color-danger);
|
|
4379
4565
|
}
|
|
4566
|
+
.oui-input-group:is(:disabled, [data-disabled]) {
|
|
4567
|
+
background: var(--oui-color-surface-muted);
|
|
4568
|
+
}
|
|
4380
4569
|
.oui-input-group {
|
|
4381
4570
|
--_height: var(--oui-control-height-md);
|
|
4382
4571
|
display: inline-flex;
|
|
@@ -4486,6 +4675,7 @@
|
|
|
4486
4675
|
background: var(--oui-color-surface-muted);
|
|
4487
4676
|
color: var(--oui-color-text);
|
|
4488
4677
|
isolation: isolate;
|
|
4678
|
+
container-type: inline-size;
|
|
4489
4679
|
}
|
|
4490
4680
|
.oui-map .maplibregl-map {
|
|
4491
4681
|
font: inherit;
|
|
@@ -4548,6 +4738,7 @@
|
|
|
4548
4738
|
color: inherit;
|
|
4549
4739
|
}
|
|
4550
4740
|
.oui-map .maplibregl-ctrl-attrib.maplibregl-compact-show {
|
|
4741
|
+
max-width: 60cqi;
|
|
4551
4742
|
padding-block: 2px;
|
|
4552
4743
|
}
|
|
4553
4744
|
.oui-map .maplibregl-ctrl-attrib-button {
|
|
@@ -4573,7 +4764,7 @@
|
|
|
4573
4764
|
font-size: var(--oui-font-size-md);
|
|
4574
4765
|
outline: none;
|
|
4575
4766
|
scrollbar-width: thin;
|
|
4576
|
-
scrollbar-color: var(--oui-
|
|
4767
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
4577
4768
|
transform-origin: var(--transform-origin);
|
|
4578
4769
|
transition: opacity var(--oui-duration-fast) var(--oui-ease), transform var(--oui-duration-fast) var(--oui-ease-out);
|
|
4579
4770
|
}
|
|
@@ -4692,8 +4883,14 @@
|
|
|
4692
4883
|
--_pin-size: 0.75rem;
|
|
4693
4884
|
}
|
|
4694
4885
|
.oui-map__marker[data-interactive] {
|
|
4886
|
+
padding: 0;
|
|
4887
|
+
font-family: inherit;
|
|
4695
4888
|
cursor: pointer;
|
|
4696
4889
|
}
|
|
4890
|
+
.oui-map__marker[data-interactive]:focus-visible {
|
|
4891
|
+
outline: var(--oui-focus-outline);
|
|
4892
|
+
outline-offset: var(--oui-focus-outline-offset);
|
|
4893
|
+
}
|
|
4697
4894
|
.oui-map__marker[data-selected] {
|
|
4698
4895
|
transform: scale(1.2);
|
|
4699
4896
|
outline: 2px solid var(--_pin-color);
|
|
@@ -4796,13 +4993,73 @@
|
|
|
4796
4993
|
height: 1.35rem;
|
|
4797
4994
|
font-size: 0.8rem;
|
|
4798
4995
|
}
|
|
4996
|
+
.oui-map-legend[data-collapsed] {
|
|
4997
|
+
min-width: 0;
|
|
4998
|
+
}
|
|
4999
|
+
.oui-map-legend__header {
|
|
5000
|
+
display: flex;
|
|
5001
|
+
align-items: center;
|
|
5002
|
+
gap: var(--oui-space-4);
|
|
5003
|
+
}
|
|
5004
|
+
.oui-map-legend__collapse {
|
|
5005
|
+
box-sizing: border-box;
|
|
5006
|
+
margin: 0;
|
|
5007
|
+
font-family: var(--oui-font-body);
|
|
5008
|
+
-webkit-font-smoothing: antialiased;
|
|
5009
|
+
-moz-osx-font-smoothing: grayscale;
|
|
5010
|
+
display: inline-flex;
|
|
5011
|
+
align-items: center;
|
|
5012
|
+
gap: var(--oui-space-2);
|
|
5013
|
+
padding: var(--oui-space-1) var(--oui-space-3) var(--oui-space-1) var(--oui-space-1);
|
|
5014
|
+
border: 0;
|
|
5015
|
+
border-radius: var(--oui-radius-xs);
|
|
5016
|
+
background: none;
|
|
5017
|
+
color: var(--oui-color-text-strong);
|
|
5018
|
+
font-size: inherit;
|
|
5019
|
+
font-weight: var(--oui-font-weight-semibold);
|
|
5020
|
+
cursor: pointer;
|
|
5021
|
+
}
|
|
5022
|
+
.oui-map-legend__collapse svg {
|
|
5023
|
+
flex-shrink: 0;
|
|
5024
|
+
width: 1em;
|
|
5025
|
+
height: 1em;
|
|
5026
|
+
}
|
|
5027
|
+
.oui-map-legend__collapse:focus-visible {
|
|
5028
|
+
outline: var(--oui-focus-outline);
|
|
5029
|
+
outline-offset: var(--oui-focus-outline-offset);
|
|
5030
|
+
}
|
|
5031
|
+
@media (pointer: coarse) {
|
|
5032
|
+
.oui-map-legend__collapse {
|
|
5033
|
+
position: relative;
|
|
5034
|
+
}
|
|
5035
|
+
.oui-map-legend__collapse::before {
|
|
5036
|
+
content: "";
|
|
5037
|
+
position: absolute;
|
|
5038
|
+
top: 50%;
|
|
5039
|
+
left: 50%;
|
|
5040
|
+
width: max(100%, 2.5rem);
|
|
5041
|
+
height: max(100%, 2.5rem);
|
|
5042
|
+
translate: -50% -50%;
|
|
5043
|
+
}
|
|
5044
|
+
}
|
|
5045
|
+
.oui-map-legend__collapse svg {
|
|
5046
|
+
transition: rotate var(--oui-duration-normal) var(--oui-ease-out);
|
|
5047
|
+
}
|
|
5048
|
+
.oui-map-legend__collapse[aria-expanded=false] svg {
|
|
5049
|
+
rotate: -90deg;
|
|
5050
|
+
}
|
|
5051
|
+
@media (hover: hover) {
|
|
5052
|
+
.oui-map-legend__collapse:hover {
|
|
5053
|
+
background: var(--oui-color-surface-hover);
|
|
5054
|
+
}
|
|
5055
|
+
}
|
|
4799
5056
|
.oui-map-legend__toggle-all {
|
|
4800
5057
|
box-sizing: border-box;
|
|
4801
5058
|
margin: 0;
|
|
4802
5059
|
font-family: var(--oui-font-body);
|
|
4803
5060
|
-webkit-font-smoothing: antialiased;
|
|
4804
5061
|
-moz-osx-font-smoothing: grayscale;
|
|
4805
|
-
|
|
5062
|
+
margin-left: auto;
|
|
4806
5063
|
padding: var(--oui-space-1) var(--oui-space-3);
|
|
4807
5064
|
border: 0;
|
|
4808
5065
|
border-radius: var(--oui-radius-xs);
|
|
@@ -4833,7 +5090,10 @@
|
|
|
4833
5090
|
overscroll-behavior: contain;
|
|
4834
5091
|
list-style: none;
|
|
4835
5092
|
scrollbar-width: thin;
|
|
4836
|
-
scrollbar-color: var(--oui-
|
|
5093
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
5094
|
+
}
|
|
5095
|
+
.oui-map-legend__list[hidden] {
|
|
5096
|
+
display: none;
|
|
4837
5097
|
}
|
|
4838
5098
|
.oui-map-legend__item {
|
|
4839
5099
|
display: flex;
|
|
@@ -4923,6 +5183,12 @@
|
|
|
4923
5183
|
outline: var(--oui-focus-outline);
|
|
4924
5184
|
outline-offset: -2px;
|
|
4925
5185
|
}
|
|
5186
|
+
@media (pointer: coarse) {
|
|
5187
|
+
.oui-map-legend__visibility {
|
|
5188
|
+
min-width: 2.75rem;
|
|
5189
|
+
min-height: 2.75rem;
|
|
5190
|
+
}
|
|
5191
|
+
}
|
|
4926
5192
|
@media (hover: hover) {
|
|
4927
5193
|
.oui-map-legend__visibility:hover {
|
|
4928
5194
|
background: var(--oui-color-surface-hover);
|
|
@@ -4954,7 +5220,7 @@
|
|
|
4954
5220
|
font-size: var(--oui-font-size-md);
|
|
4955
5221
|
outline: none;
|
|
4956
5222
|
scrollbar-width: thin;
|
|
4957
|
-
scrollbar-color: var(--oui-
|
|
5223
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
4958
5224
|
transform-origin: var(--transform-origin);
|
|
4959
5225
|
transition: opacity var(--oui-duration-fast) var(--oui-ease), transform var(--oui-duration-fast) var(--oui-ease-out);
|
|
4960
5226
|
}
|
|
@@ -5120,6 +5386,9 @@
|
|
|
5120
5386
|
.oui-number-field__group[data-invalid] {
|
|
5121
5387
|
border-color: var(--oui-color-danger);
|
|
5122
5388
|
}
|
|
5389
|
+
.oui-number-field__group:is(:disabled, [data-disabled]) {
|
|
5390
|
+
background: var(--oui-color-surface-muted);
|
|
5391
|
+
}
|
|
5123
5392
|
.oui-number-field__group {
|
|
5124
5393
|
--_height: var(--oui-control-height-md);
|
|
5125
5394
|
display: flex;
|
|
@@ -5140,6 +5409,11 @@
|
|
|
5140
5409
|
.oui-number-field__group[data-size=lg] {
|
|
5141
5410
|
--_height: var(--oui-control-height-lg);
|
|
5142
5411
|
}
|
|
5412
|
+
@media (pointer: coarse) {
|
|
5413
|
+
.oui-number-field__group:not([data-size=lg]) {
|
|
5414
|
+
font-size: max(16px, var(--oui-font-size-md));
|
|
5415
|
+
}
|
|
5416
|
+
}
|
|
5143
5417
|
.oui-number-field__group[data-disabled] {
|
|
5144
5418
|
cursor: not-allowed;
|
|
5145
5419
|
opacity: var(--oui-control-disabled-opacity);
|
|
@@ -5180,9 +5454,11 @@
|
|
|
5180
5454
|
width: 0.95rem;
|
|
5181
5455
|
height: 0.95rem;
|
|
5182
5456
|
}
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5457
|
+
@media (hover: hover) {
|
|
5458
|
+
.oui-number-field__step:hover:not([data-disabled]) {
|
|
5459
|
+
background: var(--oui-color-accent-subtle);
|
|
5460
|
+
color: var(--oui-color-text-strong);
|
|
5461
|
+
}
|
|
5186
5462
|
}
|
|
5187
5463
|
.oui-number-field__step[data-disabled] {
|
|
5188
5464
|
cursor: not-allowed;
|
|
@@ -5237,7 +5513,7 @@
|
|
|
5237
5513
|
.oui-pagination__page {
|
|
5238
5514
|
box-sizing: border-box;
|
|
5239
5515
|
min-width: var(--oui-control-height-sm);
|
|
5240
|
-
height: var(--oui-control-height-sm);
|
|
5516
|
+
min-height: var(--oui-control-height-sm);
|
|
5241
5517
|
padding: 0 0.4rem;
|
|
5242
5518
|
border: 0;
|
|
5243
5519
|
border-radius: var(--oui-radius-control);
|
|
@@ -5253,8 +5529,10 @@
|
|
|
5253
5529
|
outline: var(--oui-focus-outline);
|
|
5254
5530
|
outline-offset: var(--oui-focus-outline-offset);
|
|
5255
5531
|
}
|
|
5256
|
-
|
|
5257
|
-
|
|
5532
|
+
@media (hover: hover) {
|
|
5533
|
+
.oui-pagination__page:hover {
|
|
5534
|
+
background: var(--oui-color-accent-subtle);
|
|
5535
|
+
}
|
|
5258
5536
|
}
|
|
5259
5537
|
.oui-pagination__page[aria-current=page] {
|
|
5260
5538
|
background: var(--oui-color-primary);
|
|
@@ -5286,7 +5564,7 @@
|
|
|
5286
5564
|
font-size: var(--oui-font-size-md);
|
|
5287
5565
|
outline: none;
|
|
5288
5566
|
scrollbar-width: thin;
|
|
5289
|
-
scrollbar-color: var(--oui-
|
|
5567
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
5290
5568
|
transform-origin: var(--transform-origin);
|
|
5291
5569
|
transition: opacity var(--oui-duration-fast) var(--oui-ease), transform var(--oui-duration-fast) var(--oui-ease-out);
|
|
5292
5570
|
}
|
|
@@ -5414,7 +5692,7 @@
|
|
|
5414
5692
|
font-size: var(--oui-font-size-md);
|
|
5415
5693
|
outline: none;
|
|
5416
5694
|
scrollbar-width: thin;
|
|
5417
|
-
scrollbar-color: var(--oui-
|
|
5695
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
5418
5696
|
transform-origin: var(--transform-origin);
|
|
5419
5697
|
transition: opacity var(--oui-duration-fast) var(--oui-ease), transform var(--oui-duration-fast) var(--oui-ease-out);
|
|
5420
5698
|
}
|
|
@@ -5554,6 +5832,19 @@
|
|
|
5554
5832
|
outline: var(--oui-focus-outline);
|
|
5555
5833
|
outline-offset: -2px;
|
|
5556
5834
|
}
|
|
5835
|
+
.oui-scroll-area[data-fade] > .oui-scroll-area__viewport {
|
|
5836
|
+
scroll-padding-inline: 1.5rem;
|
|
5837
|
+
--_fade: 1.5rem;
|
|
5838
|
+
}
|
|
5839
|
+
.oui-scroll-area[data-fade] > .oui-scroll-area__viewport[data-fade-start] {
|
|
5840
|
+
mask-image: linear-gradient(to right, transparent, #000 var(--_fade));
|
|
5841
|
+
}
|
|
5842
|
+
.oui-scroll-area[data-fade] > .oui-scroll-area__viewport[data-fade-end] {
|
|
5843
|
+
mask-image: linear-gradient(to left, transparent, #000 var(--_fade));
|
|
5844
|
+
}
|
|
5845
|
+
.oui-scroll-area[data-fade] > .oui-scroll-area__viewport[data-fade-start][data-fade-end] {
|
|
5846
|
+
mask-image: linear-gradient(to right, transparent, #000 var(--_fade), #000 calc(100% - var(--_fade)), transparent);
|
|
5847
|
+
}
|
|
5557
5848
|
.oui-scroll-area__scrollbar {
|
|
5558
5849
|
display: flex;
|
|
5559
5850
|
padding: 2px;
|
|
@@ -5576,8 +5867,10 @@
|
|
|
5576
5867
|
border-radius: var(--oui-radius-pill);
|
|
5577
5868
|
background: color-mix(in srgb, var(--oui-color-text-muted) 40%, transparent);
|
|
5578
5869
|
}
|
|
5579
|
-
|
|
5580
|
-
|
|
5870
|
+
@media (hover: hover) {
|
|
5871
|
+
.oui-scroll-area__thumb:hover {
|
|
5872
|
+
background: color-mix(in srgb, var(--oui-color-text-muted) 60%, transparent);
|
|
5873
|
+
}
|
|
5581
5874
|
}
|
|
5582
5875
|
}
|
|
5583
5876
|
@layer oui.components {
|
|
@@ -5603,6 +5896,9 @@
|
|
|
5603
5896
|
.oui-select__trigger[data-invalid] {
|
|
5604
5897
|
border-color: var(--oui-color-danger);
|
|
5605
5898
|
}
|
|
5899
|
+
.oui-select__trigger:is(:disabled, [data-disabled]) {
|
|
5900
|
+
background: var(--oui-color-surface-muted);
|
|
5901
|
+
}
|
|
5606
5902
|
.oui-select__trigger {
|
|
5607
5903
|
--_height: var(--oui-control-height-md);
|
|
5608
5904
|
display: inline-flex;
|
|
@@ -5686,7 +5982,7 @@
|
|
|
5686
5982
|
font-size: var(--oui-font-size-md);
|
|
5687
5983
|
outline: none;
|
|
5688
5984
|
scrollbar-width: thin;
|
|
5689
|
-
scrollbar-color: var(--oui-
|
|
5985
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
5690
5986
|
transform-origin: var(--transform-origin);
|
|
5691
5987
|
transition: opacity var(--oui-duration-fast) var(--oui-ease), transform var(--oui-duration-fast) var(--oui-ease-out);
|
|
5692
5988
|
}
|
|
@@ -5722,7 +6018,7 @@
|
|
|
5722
6018
|
overscroll-behavior: contain;
|
|
5723
6019
|
scroll-padding-block: 0.3rem;
|
|
5724
6020
|
scrollbar-width: thin;
|
|
5725
|
-
scrollbar-color: var(--oui-
|
|
6021
|
+
scrollbar-color: var(--oui-scrollbar-thumb) transparent;
|
|
5726
6022
|
}
|
|
5727
6023
|
.oui-select__item {
|
|
5728
6024
|
box-sizing: border-box;
|
|
@@ -6058,7 +6354,7 @@
|
|
|
6058
6354
|
margin: 0;
|
|
6059
6355
|
color: var(--oui-color-text-strong);
|
|
6060
6356
|
font-family: var(--oui-font-heading);
|
|
6061
|
-
font-size: var(--oui-stat-value-size, clamp(1.5rem,
|
|
6357
|
+
font-size: var(--oui-stat-value-size, clamp(1.5rem, 1rem + 1vw, 2rem));
|
|
6062
6358
|
font-weight: var(--oui-font-weight-bold);
|
|
6063
6359
|
line-height: 1.1;
|
|
6064
6360
|
letter-spacing: -0.02em;
|
|
@@ -6154,7 +6450,7 @@
|
|
|
6154
6450
|
.oui-stepper__step {
|
|
6155
6451
|
position: relative;
|
|
6156
6452
|
display: flex;
|
|
6157
|
-
flex: 1;
|
|
6453
|
+
flex: 1 1 auto;
|
|
6158
6454
|
gap: var(--oui-stepper-gap, var(--_gap));
|
|
6159
6455
|
min-width: 0;
|
|
6160
6456
|
color: var(--oui-color-text-muted);
|
|
@@ -6335,6 +6631,7 @@
|
|
|
6335
6631
|
.oui-table-wrap {
|
|
6336
6632
|
width: 100%;
|
|
6337
6633
|
min-width: 0;
|
|
6634
|
+
container: oui-table/inline-size;
|
|
6338
6635
|
overflow-x: auto;
|
|
6339
6636
|
overscroll-behavior-x: contain;
|
|
6340
6637
|
--_fade: 2rem;
|
|
@@ -6377,13 +6674,17 @@
|
|
|
6377
6674
|
.oui-table[data-striped] .oui-table__body .oui-table__row:nth-child(even) {
|
|
6378
6675
|
background: var(--oui-color-surface-muted);
|
|
6379
6676
|
}
|
|
6380
|
-
|
|
6381
|
-
|
|
6677
|
+
@media (hover: hover) {
|
|
6678
|
+
.oui-table[data-hoverable] .oui-table__body .oui-table__row:hover {
|
|
6679
|
+
background: var(--oui-color-surface-hover);
|
|
6680
|
+
}
|
|
6382
6681
|
}
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6682
|
+
@media (hover: hover) {
|
|
6683
|
+
.oui-table .oui-table__cell a:not(.oui-button, .oui-link):hover {
|
|
6684
|
+
color: var(--oui-color-accent-text);
|
|
6685
|
+
text-decoration: underline;
|
|
6686
|
+
text-underline-offset: 0.2em;
|
|
6687
|
+
}
|
|
6387
6688
|
}
|
|
6388
6689
|
.oui-table[data-sticky-header] .oui-table__head {
|
|
6389
6690
|
position: sticky;
|
|
@@ -6417,6 +6718,15 @@
|
|
|
6417
6718
|
.oui-table__cell[data-numeric] {
|
|
6418
6719
|
font-variant-numeric: tabular-nums;
|
|
6419
6720
|
}
|
|
6721
|
+
.oui-table__cell[data-mono] {
|
|
6722
|
+
font-family: var(--oui-font-mono);
|
|
6723
|
+
font-size: 0.92em;
|
|
6724
|
+
white-space: nowrap;
|
|
6725
|
+
}
|
|
6726
|
+
.oui-table :is(.oui-table__cell, .oui-table__head)[data-nowrap] {
|
|
6727
|
+
overflow-wrap: normal;
|
|
6728
|
+
white-space: nowrap;
|
|
6729
|
+
}
|
|
6420
6730
|
.oui-table__row {
|
|
6421
6731
|
transition: background-color var(--oui-duration-fast) var(--oui-ease);
|
|
6422
6732
|
}
|
|
@@ -6467,12 +6777,20 @@
|
|
|
6467
6777
|
opacity: 0.5;
|
|
6468
6778
|
transition: opacity var(--oui-duration-fast) var(--oui-ease);
|
|
6469
6779
|
}
|
|
6470
|
-
.oui-table__sort
|
|
6780
|
+
.oui-table__sort[data-active] {
|
|
6471
6781
|
color: var(--oui-color-text-strong);
|
|
6472
6782
|
}
|
|
6473
|
-
.oui-table__sort
|
|
6783
|
+
.oui-table__sort[data-active] svg {
|
|
6474
6784
|
opacity: 1;
|
|
6475
6785
|
}
|
|
6786
|
+
@media (hover: hover) {
|
|
6787
|
+
.oui-table__sort:hover {
|
|
6788
|
+
color: var(--oui-color-text-strong);
|
|
6789
|
+
}
|
|
6790
|
+
.oui-table__sort:hover svg {
|
|
6791
|
+
opacity: 1;
|
|
6792
|
+
}
|
|
6793
|
+
}
|
|
6476
6794
|
@media (pointer: coarse) {
|
|
6477
6795
|
.oui-table__sort {
|
|
6478
6796
|
position: relative;
|
|
@@ -6483,6 +6801,11 @@
|
|
|
6483
6801
|
inset: -0.75rem -0.5rem;
|
|
6484
6802
|
}
|
|
6485
6803
|
}
|
|
6804
|
+
@container oui-table (max-width: 40rem) {
|
|
6805
|
+
.oui-table:not(.oui-data-table *) .oui-table__cell {
|
|
6806
|
+
white-space: nowrap;
|
|
6807
|
+
}
|
|
6808
|
+
}
|
|
6486
6809
|
}
|
|
6487
6810
|
@layer oui.components {
|
|
6488
6811
|
.oui-tabs {
|
|
@@ -6526,6 +6849,7 @@
|
|
|
6526
6849
|
}
|
|
6527
6850
|
.oui-tabs__list[data-orientation=vertical] {
|
|
6528
6851
|
flex-direction: column;
|
|
6852
|
+
flex-shrink: 0;
|
|
6529
6853
|
align-items: stretch;
|
|
6530
6854
|
}
|
|
6531
6855
|
.oui-tabs__tab {
|
|
@@ -6540,7 +6864,7 @@
|
|
|
6540
6864
|
align-items: center;
|
|
6541
6865
|
justify-content: center;
|
|
6542
6866
|
gap: 0.45rem;
|
|
6543
|
-
height: 2.5rem;
|
|
6867
|
+
min-height: 2.5rem;
|
|
6544
6868
|
padding: 0 0.9rem;
|
|
6545
6869
|
border: 0;
|
|
6546
6870
|
border-radius: var(--oui-radius-control);
|
|
@@ -6566,20 +6890,22 @@
|
|
|
6566
6890
|
outline: var(--oui-focus-outline);
|
|
6567
6891
|
outline-offset: -2px;
|
|
6568
6892
|
}
|
|
6569
|
-
|
|
6570
|
-
|
|
6893
|
+
@media (hover: hover) {
|
|
6894
|
+
.oui-tabs__tab:hover:not([data-disabled]) {
|
|
6895
|
+
color: var(--oui-color-text-strong);
|
|
6896
|
+
}
|
|
6571
6897
|
}
|
|
6572
6898
|
.oui-tabs__tab[data-active] {
|
|
6573
6899
|
color: var(--oui-color-text-strong);
|
|
6574
6900
|
}
|
|
6575
6901
|
[data-size=sm] > .oui-tabs__tab {
|
|
6576
|
-
height: 2rem;
|
|
6902
|
+
min-height: 2rem;
|
|
6577
6903
|
padding: 0 0.7rem;
|
|
6578
6904
|
font-size: var(--oui-font-size-sm);
|
|
6579
6905
|
}
|
|
6580
6906
|
@media (pointer: coarse) {
|
|
6581
6907
|
[data-size=sm] > .oui-tabs__tab {
|
|
6582
|
-
height: 2.5rem;
|
|
6908
|
+
min-height: 2.5rem;
|
|
6583
6909
|
}
|
|
6584
6910
|
}
|
|
6585
6911
|
.oui-tabs__indicator {
|
|
@@ -6634,10 +6960,10 @@
|
|
|
6634
6960
|
background: color-mix(in srgb, var(--oui-color-accent) 8%, var(--oui-color-surface-muted));
|
|
6635
6961
|
}
|
|
6636
6962
|
.oui-tabs__list[data-variant=segmented] .oui-tabs__tab {
|
|
6637
|
-
height: 2.1rem;
|
|
6963
|
+
min-height: 2.1rem;
|
|
6638
6964
|
}
|
|
6639
6965
|
.oui-tabs__list[data-variant=segmented][data-size=sm] .oui-tabs__tab {
|
|
6640
|
-
height: 1.65rem;
|
|
6966
|
+
min-height: 1.65rem;
|
|
6641
6967
|
}
|
|
6642
6968
|
.oui-tabs__list[data-variant=segmented] .oui-tabs__indicator {
|
|
6643
6969
|
top: var(--active-tab-top);
|
|
@@ -6821,8 +7147,10 @@
|
|
|
6821
7147
|
translate: -50% -50%;
|
|
6822
7148
|
}
|
|
6823
7149
|
}
|
|
6824
|
-
|
|
6825
|
-
|
|
7150
|
+
@media (hover: hover) {
|
|
7151
|
+
.oui-tag__remove:hover:not(:disabled) {
|
|
7152
|
+
background: color-mix(in srgb, currentColor 14%, transparent);
|
|
7153
|
+
}
|
|
6826
7154
|
}
|
|
6827
7155
|
.oui-tag__remove:disabled {
|
|
6828
7156
|
cursor: not-allowed;
|
|
@@ -6832,7 +7160,7 @@
|
|
|
6832
7160
|
.oui-toast-viewport {
|
|
6833
7161
|
position: fixed;
|
|
6834
7162
|
z-index: var(--oui-z-toast);
|
|
6835
|
-
width: min(var(--oui-toast-width, 23rem),
|
|
7163
|
+
width: min(var(--oui-toast-width, 23rem), 100% - 2rem);
|
|
6836
7164
|
margin: 0;
|
|
6837
7165
|
}
|
|
6838
7166
|
.oui-toast-viewport[data-placement^=bottom] {
|
|
@@ -7019,9 +7347,11 @@
|
|
|
7019
7347
|
outline: var(--oui-focus-outline);
|
|
7020
7348
|
outline-offset: var(--oui-focus-outline-offset);
|
|
7021
7349
|
}
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7350
|
+
@media (hover: hover) {
|
|
7351
|
+
.oui-toast__action:hover {
|
|
7352
|
+
border-color: var(--oui-color-text-muted);
|
|
7353
|
+
background: var(--oui-color-surface-muted);
|
|
7354
|
+
}
|
|
7025
7355
|
}
|
|
7026
7356
|
.oui-toast__close {
|
|
7027
7357
|
display: inline-flex;
|
|
@@ -7048,9 +7378,11 @@
|
|
|
7048
7378
|
outline: var(--oui-focus-outline);
|
|
7049
7379
|
outline-offset: var(--oui-focus-outline-offset);
|
|
7050
7380
|
}
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7381
|
+
@media (hover: hover) {
|
|
7382
|
+
.oui-toast__close:hover {
|
|
7383
|
+
background: var(--oui-color-accent-subtle);
|
|
7384
|
+
color: var(--oui-color-text-strong);
|
|
7385
|
+
}
|
|
7054
7386
|
}
|
|
7055
7387
|
}
|
|
7056
7388
|
@layer oui.components {
|
|
@@ -7065,7 +7397,7 @@
|
|
|
7065
7397
|
align-items: center;
|
|
7066
7398
|
justify-content: center;
|
|
7067
7399
|
gap: 0.4rem;
|
|
7068
|
-
height: var(--oui-control-height-md);
|
|
7400
|
+
min-height: var(--oui-control-height-md);
|
|
7069
7401
|
min-width: var(--oui-control-height-md);
|
|
7070
7402
|
padding: 0 0.85rem;
|
|
7071
7403
|
border: 1.5px solid var(--oui-color-border-control);
|
|
@@ -7093,7 +7425,7 @@
|
|
|
7093
7425
|
opacity: var(--oui-control-disabled-opacity);
|
|
7094
7426
|
}
|
|
7095
7427
|
.oui-toggle[data-size=sm] {
|
|
7096
|
-
height: var(--oui-control-height-sm);
|
|
7428
|
+
min-height: var(--oui-control-height-sm);
|
|
7097
7429
|
min-width: var(--oui-control-height-sm);
|
|
7098
7430
|
padding: 0 0.6rem;
|
|
7099
7431
|
font-size: var(--oui-font-size-xs);
|
|
@@ -7171,9 +7503,30 @@
|
|
|
7171
7503
|
gap: 0.2rem;
|
|
7172
7504
|
max-width: 100%;
|
|
7173
7505
|
padding: var(--oui-toolbar-padding, 0.25rem);
|
|
7506
|
+
overflow-x: auto;
|
|
7507
|
+
overflow-y: hidden;
|
|
7508
|
+
overscroll-behavior-x: contain;
|
|
7509
|
+
scroll-padding-inline: 1.5rem;
|
|
7174
7510
|
border: 1px solid var(--oui-color-border);
|
|
7175
7511
|
border-radius: var(--oui-toolbar-radius, var(--oui-radius-md));
|
|
7176
7512
|
background: var(--oui-color-surface);
|
|
7513
|
+
scrollbar-width: none;
|
|
7514
|
+
--_fade: 1.5rem;
|
|
7515
|
+
}
|
|
7516
|
+
.oui-toolbar[data-fade-start] {
|
|
7517
|
+
mask-image: linear-gradient(to right, transparent, #000 var(--_fade));
|
|
7518
|
+
}
|
|
7519
|
+
.oui-toolbar[data-fade-end] {
|
|
7520
|
+
mask-image: linear-gradient(to left, transparent, #000 var(--_fade));
|
|
7521
|
+
}
|
|
7522
|
+
.oui-toolbar[data-fade-start][data-fade-end] {
|
|
7523
|
+
mask-image: linear-gradient(to right, transparent, #000 var(--_fade), #000 calc(100% - var(--_fade)), transparent);
|
|
7524
|
+
}
|
|
7525
|
+
.oui-toolbar::-webkit-scrollbar {
|
|
7526
|
+
display: none;
|
|
7527
|
+
}
|
|
7528
|
+
.oui-toolbar > * {
|
|
7529
|
+
flex-shrink: 0;
|
|
7177
7530
|
}
|
|
7178
7531
|
.oui-toolbar[data-orientation=vertical] {
|
|
7179
7532
|
flex-direction: column;
|
|
@@ -7188,10 +7541,12 @@
|
|
|
7188
7541
|
height: 1px;
|
|
7189
7542
|
margin: 0.15rem 0.25rem;
|
|
7190
7543
|
}
|
|
7191
|
-
.oui-toolbar__group {
|
|
7544
|
+
.oui-toolbar > .oui-toolbar__group {
|
|
7192
7545
|
display: inline-flex;
|
|
7546
|
+
flex-wrap: nowrap;
|
|
7193
7547
|
align-items: center;
|
|
7194
7548
|
gap: 0.2rem;
|
|
7549
|
+
max-width: none;
|
|
7195
7550
|
}
|
|
7196
7551
|
.oui-toolbar__button {
|
|
7197
7552
|
box-sizing: border-box;
|
|
@@ -7254,10 +7609,12 @@
|
|
|
7254
7609
|
outline: var(--oui-focus-outline);
|
|
7255
7610
|
outline-offset: var(--oui-focus-outline-offset);
|
|
7256
7611
|
}
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7612
|
+
@media (hover: hover) {
|
|
7613
|
+
.oui-toolbar__link:hover {
|
|
7614
|
+
color: var(--oui-color-text-strong);
|
|
7615
|
+
text-decoration: underline;
|
|
7616
|
+
text-underline-offset: 0.2em;
|
|
7617
|
+
}
|
|
7261
7618
|
}
|
|
7262
7619
|
.oui-toolbar__separator {
|
|
7263
7620
|
flex-shrink: 0;
|
|
@@ -7272,6 +7629,11 @@
|
|
|
7272
7629
|
height: var(--oui-control-height-sm);
|
|
7273
7630
|
font-size: var(--oui-font-size-sm);
|
|
7274
7631
|
}
|
|
7632
|
+
@media (pointer: coarse) {
|
|
7633
|
+
.oui-toolbar .oui-toolbar__input {
|
|
7634
|
+
font-size: max(16px, var(--oui-font-size-md));
|
|
7635
|
+
}
|
|
7636
|
+
}
|
|
7275
7637
|
}
|
|
7276
7638
|
@layer oui.components {
|
|
7277
7639
|
.oui-tooltip__positioner {
|
|
@@ -7338,7 +7700,7 @@
|
|
|
7338
7700
|
font-family: var(--oui-font-heading);
|
|
7339
7701
|
font-weight: var(--oui-font-weight-bold);
|
|
7340
7702
|
line-height: 1.2;
|
|
7341
|
-
text-wrap: balance;
|
|
7703
|
+
text-wrap-style: balance;
|
|
7342
7704
|
}
|
|
7343
7705
|
.oui-heading[data-size=xs] {
|
|
7344
7706
|
font-family: var(--oui-font-body);
|
|
@@ -7348,19 +7710,19 @@
|
|
|
7348
7710
|
font-size: 1.05rem;
|
|
7349
7711
|
}
|
|
7350
7712
|
.oui-heading[data-size=md] {
|
|
7351
|
-
font-size: clamp(1.1rem,
|
|
7713
|
+
font-size: clamp(1.1rem, 0.8rem + 0.6vw, 1.4rem);
|
|
7352
7714
|
}
|
|
7353
7715
|
.oui-heading[data-size=lg] {
|
|
7354
|
-
font-size: clamp(1.5rem,
|
|
7716
|
+
font-size: clamp(1.5rem, 1rem + 1vw, 2rem);
|
|
7355
7717
|
letter-spacing: -0.015em;
|
|
7356
7718
|
}
|
|
7357
7719
|
.oui-heading[data-size=xl] {
|
|
7358
|
-
font-size: clamp(1.9rem,
|
|
7720
|
+
font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.6rem);
|
|
7359
7721
|
line-height: 1.1;
|
|
7360
7722
|
letter-spacing: -0.02em;
|
|
7361
7723
|
}
|
|
7362
7724
|
.oui-heading[data-size="2xl"] {
|
|
7363
|
-
font-size: clamp(2.3rem,
|
|
7725
|
+
font-size: clamp(2.3rem, 1.2rem + 2.2vw, 3.4rem);
|
|
7364
7726
|
font-weight: 800;
|
|
7365
7727
|
line-height: 1.05;
|
|
7366
7728
|
letter-spacing: -0.025em;
|
|
@@ -7370,7 +7732,7 @@
|
|
|
7370
7732
|
color: var(--oui-color-text);
|
|
7371
7733
|
font-family: var(--oui-font-body);
|
|
7372
7734
|
line-height: 1.55;
|
|
7373
|
-
text-wrap: pretty;
|
|
7735
|
+
text-wrap-style: pretty;
|
|
7374
7736
|
}
|
|
7375
7737
|
.oui-text[data-size=xs] {
|
|
7376
7738
|
font-size: var(--oui-font-size-xs);
|
|
@@ -7417,6 +7779,13 @@
|
|
|
7417
7779
|
.oui-text[data-weight=bold] {
|
|
7418
7780
|
font-weight: var(--oui-font-weight-bold);
|
|
7419
7781
|
}
|
|
7782
|
+
.oui-text[data-truncate] {
|
|
7783
|
+
display: block;
|
|
7784
|
+
min-width: 0;
|
|
7785
|
+
overflow: hidden;
|
|
7786
|
+
text-overflow: ellipsis;
|
|
7787
|
+
white-space: nowrap;
|
|
7788
|
+
}
|
|
7420
7789
|
.oui-eyebrow {
|
|
7421
7790
|
display: inline-block;
|
|
7422
7791
|
font-family: var(--oui-font-body);
|