@ostack.tech/ui 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{en-Czf-_HZt.js → en-MXAz48KY.js} +2 -1
- package/dist/chunks/{en-Czf-_HZt.js.map → en-MXAz48KY.js.map} +1 -1
- package/dist/locales/en-GB.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/fr-FR.js +1 -0
- package/dist/locales/fr-FR.js.map +1 -1
- package/dist/locales/pt-PT.js +1 -0
- package/dist/locales/pt-PT.js.map +1 -1
- package/dist/ostack-ui.css +88 -83
- package/dist/ostack-ui.js +1120 -1022
- package/dist/ostack-ui.js.map +1 -1
- package/package.json +1 -1
- package/scss/components/Calendar/_Calendar-variables.scss +1 -1
- package/scss/components/Calendar/_Calendar.scss +15 -16
- package/scss/components/ControlAddon/_ControlAddon.scss +3 -5
- package/scss/components/DataTable/_DataTable.scss +7 -2
- package/scss/components/DropdownMenu/_DropdownMenu.scss +1 -1
- package/scss/components/Feedback/_Feedback.scss +2 -0
- package/scss/components/Field/_Field.scss +0 -1
- package/scss/components/HelperText/_HelperText.scss +2 -1
- package/scss/components/Input/_Input.scss +1 -1
- package/scss/components/Label/_Label.scss +1 -0
- package/scss/components/Link/_Link.scss +1 -1
- package/scss/components/Root/_Root.scss +1 -1
- package/scss/components/Stack/_Stack.scss +1 -1
- package/scss/components/Table/_Table.scss +23 -9
- package/scss/components/Tabs/_Tabs.scss +2 -2
- package/scss/scss/helpers/_margin-utils.scss +13 -11
- package/scss/scss/helpers/_padding-utils.scss +13 -11
- package/scss/scss/helpers/_sizing-utils.scss +19 -17
- package/scss/scss/helpers/_text-utils.scss +19 -17
- package/scss/scss/helpers/_visually-hidden.scss +1 -1
- package/scss/scss/utils/_button-reset.scss +1 -1
- package/types/components/Form/FormError.d.ts +1 -1
- package/types/components/Keybinds/KeyPress.d.ts +3 -3
- package/types/components/Keybinds/Keybind.d.ts +2 -2
- package/types/components/Keybinds/Keybinds.d.ts +1 -1
- package/types/components/Printer/Printer.d.ts +1 -1
- package/types/components/Printer/PrinterContentContext.d.ts +4 -16
- package/types/components/Printer/PrinterContext.d.ts +1 -2
- package/types/components/Printer/index.d.ts +1 -1
- package/types/components/Printer/usePrintClassNames.d.ts +6 -2
- package/types/components/Table/TableContext.d.ts +2 -0
- package/types/components/Table/columnUtils.d.ts +4 -0
- package/types/index.d.ts +1 -0
- package/types/utils/useIntersectionObserver.d.ts +6 -2
- package/types/utils/useResizeObserver.d.ts +6 -0
package/dist/ostack-ui.css
CHANGED
|
@@ -193,19 +193,16 @@
|
|
|
193
193
|
--o-ui-ml: var(--o-ui-ml-xxl);
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
[data-has-mt] {
|
|
196
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-mt] {
|
|
197
197
|
margin-top: var(--o-ui-mt);
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
[data-has-mr] {
|
|
199
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-mr] {
|
|
201
200
|
margin-right: var(--o-ui-mr);
|
|
202
201
|
}
|
|
203
|
-
|
|
204
|
-
[data-has-mb] {
|
|
202
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-mb] {
|
|
205
203
|
margin-bottom: var(--o-ui-mb);
|
|
206
204
|
}
|
|
207
|
-
|
|
208
|
-
[data-has-ml] {
|
|
205
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-ml] {
|
|
209
206
|
margin-left: var(--o-ui-ml);
|
|
210
207
|
}
|
|
211
208
|
|
|
@@ -311,19 +308,16 @@
|
|
|
311
308
|
--o-ui-pl: var(--o-ui-pl-xxl);
|
|
312
309
|
}
|
|
313
310
|
}
|
|
314
|
-
[data-has-pt] {
|
|
311
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-pt] {
|
|
315
312
|
padding-top: var(--o-ui-pt);
|
|
316
313
|
}
|
|
317
|
-
|
|
318
|
-
[data-has-pr] {
|
|
314
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-pr] {
|
|
319
315
|
padding-right: var(--o-ui-pr);
|
|
320
316
|
}
|
|
321
|
-
|
|
322
|
-
[data-has-pb] {
|
|
317
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-pb] {
|
|
323
318
|
padding-bottom: var(--o-ui-pb);
|
|
324
319
|
}
|
|
325
|
-
|
|
326
|
-
[data-has-pl] {
|
|
320
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-pl] {
|
|
327
321
|
padding-left: var(--o-ui-pl);
|
|
328
322
|
}
|
|
329
323
|
|
|
@@ -485,27 +479,22 @@
|
|
|
485
479
|
--o-ui-max-h: var(--o-ui-max-h-xxl);
|
|
486
480
|
}
|
|
487
481
|
}
|
|
488
|
-
[data-has-w] {
|
|
482
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-w] {
|
|
489
483
|
width: var(--o-ui-w);
|
|
490
484
|
}
|
|
491
|
-
|
|
492
|
-
[data-has-min-w] {
|
|
485
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-min-w] {
|
|
493
486
|
min-width: var(--o-ui-min-w);
|
|
494
487
|
}
|
|
495
|
-
|
|
496
|
-
[data-has-max-w] {
|
|
488
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-max-w] {
|
|
497
489
|
max-width: var(--o-ui-max-w);
|
|
498
490
|
}
|
|
499
|
-
|
|
500
|
-
[data-has-h] {
|
|
491
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-h] {
|
|
501
492
|
height: var(--o-ui-h);
|
|
502
493
|
}
|
|
503
|
-
|
|
504
|
-
[data-has-min-h] {
|
|
494
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-min-h] {
|
|
505
495
|
min-height: var(--o-ui-min-h);
|
|
506
496
|
}
|
|
507
|
-
|
|
508
|
-
[data-has-max-h] {
|
|
497
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-max-h] {
|
|
509
498
|
max-height: var(--o-ui-max-h);
|
|
510
499
|
}
|
|
511
500
|
|
|
@@ -634,31 +623,27 @@
|
|
|
634
623
|
--o-ui-text-wrap: var(--o-ui-text-wrap-xxl);
|
|
635
624
|
}
|
|
636
625
|
}
|
|
637
|
-
[data-text-truncate] {
|
|
626
|
+
:is(.o-ui-root, .o-ui-root *)[data-text-truncate] {
|
|
638
627
|
text-overflow: ellipsis;
|
|
639
628
|
white-space: nowrap;
|
|
640
629
|
overflow: hidden;
|
|
641
630
|
}
|
|
642
|
-
|
|
643
|
-
[data-has-text-size] {
|
|
631
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-text-size] {
|
|
644
632
|
font-size: var(--o-ui-font-size);
|
|
645
633
|
line-height: var(--o-ui-line-height);
|
|
646
634
|
}
|
|
647
|
-
|
|
648
|
-
[data-has-text-align] {
|
|
635
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-text-align] {
|
|
649
636
|
text-align: var(--o-ui-text-align);
|
|
650
637
|
}
|
|
651
|
-
|
|
652
|
-
[data-has-font-weight] {
|
|
638
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-font-weight] {
|
|
653
639
|
font-weight: var(--o-ui-font-weight);
|
|
654
640
|
}
|
|
655
|
-
|
|
656
|
-
[data-has-text-wrap] {
|
|
641
|
+
:is(.o-ui-root, .o-ui-root *)[data-has-text-wrap] {
|
|
657
642
|
text-wrap: var(--o-ui-text-wrap);
|
|
658
643
|
}
|
|
659
644
|
|
|
660
645
|
.o-ui-visually-hidden,
|
|
661
|
-
.o-ui-visually-hidden-focusable:not(:focus
|
|
646
|
+
.o-ui-visually-hidden-focusable:not(:focus, :focus-within) {
|
|
662
647
|
width: 1px !important;
|
|
663
648
|
height: 1px !important;
|
|
664
649
|
padding: 0 !important;
|
|
@@ -669,7 +654,7 @@
|
|
|
669
654
|
border: 0 !important;
|
|
670
655
|
}
|
|
671
656
|
.o-ui-visually-hidden *,
|
|
672
|
-
.o-ui-visually-hidden-focusable:not(:focus
|
|
657
|
+
.o-ui-visually-hidden-focusable:not(:focus, :focus-within) * {
|
|
673
658
|
overflow: hidden !important;
|
|
674
659
|
}
|
|
675
660
|
|
|
@@ -1082,7 +1067,7 @@
|
|
|
1082
1067
|
background-color: transparent;
|
|
1083
1068
|
outline-color: rgba(255, 255, 255, 0.3);
|
|
1084
1069
|
}
|
|
1085
|
-
.o-ui-calendar .o-ui-calendar__navigation-button:is(:hover, :focus):not(:active
|
|
1070
|
+
.o-ui-calendar .o-ui-calendar__navigation-button:is(:hover, :focus):not(:active, :disabled) {
|
|
1086
1071
|
background-color: rgba(0, 0, 0, 0.1) !important;
|
|
1087
1072
|
}
|
|
1088
1073
|
.o-ui-calendar .o-ui-calendar__navigation-button:active:not(:disabled) {
|
|
@@ -1092,7 +1077,7 @@
|
|
|
1092
1077
|
width: auto;
|
|
1093
1078
|
font-size: inherit;
|
|
1094
1079
|
line-height: inherit;
|
|
1095
|
-
--o-ui-control-padding-x: calc(var(--o-ui-space) * 2
|
|
1080
|
+
--o-ui-control-padding-x: calc(var(--o-ui-space) * 2) !important;
|
|
1096
1081
|
}
|
|
1097
1082
|
.o-ui-calendar .o-ui-input__container {
|
|
1098
1083
|
border: 0;
|
|
@@ -1104,7 +1089,7 @@
|
|
|
1104
1089
|
.o-ui-calendar .o-ui-input__container[data-focused]:not([data-disabled]) {
|
|
1105
1090
|
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
|
|
1106
1091
|
}
|
|
1107
|
-
.o-ui-calendar .o-ui-input__container:is(:hover, [data-focused]):not([data-disabled]
|
|
1092
|
+
.o-ui-calendar .o-ui-input__container:is(:hover, [data-focused]):not([data-disabled], [data-state=open]) {
|
|
1108
1093
|
background-color: rgba(0, 0, 0, 0.1) !important;
|
|
1109
1094
|
}
|
|
1110
1095
|
.o-ui-calendar .o-ui-input__container[data-state=open] {
|
|
@@ -1168,16 +1153,16 @@
|
|
|
1168
1153
|
-webkit-user-select: none;
|
|
1169
1154
|
user-select: none;
|
|
1170
1155
|
}
|
|
1171
|
-
.o-ui-calendar__day-inner:is(button):not(:disabled
|
|
1156
|
+
.o-ui-calendar__day-inner:is(button):not(:disabled, [data-disabled]) {
|
|
1172
1157
|
cursor: pointer;
|
|
1173
1158
|
}
|
|
1174
1159
|
.o-ui-calendar__day-inner:is(button):is(:disabled, [data-disabled]) {
|
|
1175
1160
|
cursor: not-allowed;
|
|
1176
1161
|
}
|
|
1177
|
-
.o-ui-calendar__day:not(.o-ui-calendar__day--outside
|
|
1162
|
+
.o-ui-calendar__day:not(.o-ui-calendar__day--outside, .o-ui-calendar__day--selected:not(.o-ui-calendar__day--range-middle), .o-ui-calendar__day--disabled) .o-ui-calendar__day-inner:is(button):is(:hover, :focus) {
|
|
1178
1163
|
background-color: var(--o-ui-neutral-3);
|
|
1179
1164
|
}
|
|
1180
|
-
.o-ui-calendar__day:not(.o-ui-calendar__day--outside
|
|
1165
|
+
.o-ui-calendar__day:not(.o-ui-calendar__day--outside, .o-ui-calendar__day--selected:not(.o-ui-calendar__day--range-middle), .o-ui-calendar__day--disabled) .o-ui-calendar__day-inner:is(button):active {
|
|
1181
1166
|
background-color: var(--o-ui-neutral-4);
|
|
1182
1167
|
}
|
|
1183
1168
|
.o-ui-calendar__day-inner:focus-visible {
|
|
@@ -1187,18 +1172,18 @@
|
|
|
1187
1172
|
.o-ui-calendar__day--disabled:not(.o-ui-calendar__day--outside) .o-ui-calendar__day-content {
|
|
1188
1173
|
opacity: 0.5;
|
|
1189
1174
|
}
|
|
1190
|
-
.o-ui-calendar__day--selected:not(.o-ui-calendar__day--outside
|
|
1175
|
+
.o-ui-calendar__day--selected:not(.o-ui-calendar__day--outside, .o-ui-calendar__day--range-middle) .o-ui-calendar__day-inner {
|
|
1191
1176
|
background-color: var(--o-ui-primary-9);
|
|
1192
1177
|
color: var(--o-ui-primary-contrast);
|
|
1193
1178
|
}
|
|
1194
|
-
.o-ui-calendar__day--selected:not(.o-ui-calendar__day--outside
|
|
1179
|
+
.o-ui-calendar__day--selected:not(.o-ui-calendar__day--outside, .o-ui-calendar__day--range-middle) .o-ui-calendar__day-inner:focus-visible {
|
|
1195
1180
|
outline-color: var(--o-ui-primary-8);
|
|
1196
1181
|
outline-offset: 2px;
|
|
1197
1182
|
}
|
|
1198
|
-
.o-ui-calendar__day--selected:not(.o-ui-calendar__day--outside
|
|
1183
|
+
.o-ui-calendar__day--selected:not(.o-ui-calendar__day--outside, .o-ui-calendar__day--range-middle) .o-ui-calendar__day-inner:active {
|
|
1199
1184
|
background-color: var(--o-ui-primary-10);
|
|
1200
1185
|
}
|
|
1201
|
-
.o-ui-calendar__day--today:not(.o-ui-calendar__day--outside
|
|
1186
|
+
.o-ui-calendar__day--today:not(.o-ui-calendar__day--outside, .o-ui-calendar__day--selected:not(.o-ui-calendar__day--range-middle)) .o-ui-calendar__day-inner:not(:focus-visible) {
|
|
1202
1187
|
border: 1px solid var(--o-ui-neutral-10);
|
|
1203
1188
|
}
|
|
1204
1189
|
.o-ui-calendar__day--outside .o-ui-calendar__day-inner {
|
|
@@ -1218,10 +1203,10 @@
|
|
|
1218
1203
|
:is(.o-ui-calendar__day--range-start:not(.o-ui-calendar__day--range-end), .o-ui-calendar__day--range-middle, .o-ui-calendar__day--range-end:not(.o-ui-calendar__day--range-start)):not(.o-ui-calendar__day--outside) .o-ui-calendar__day-inner::before {
|
|
1219
1204
|
background-color: var(--o-ui-neutral-3);
|
|
1220
1205
|
}
|
|
1221
|
-
.o-ui-calendar__day--range-start:not(.o-ui-calendar__day--range-end
|
|
1206
|
+
.o-ui-calendar__day--range-start:not(.o-ui-calendar__day--range-end, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner::before {
|
|
1222
1207
|
left: 16px;
|
|
1223
1208
|
}
|
|
1224
|
-
.o-ui-calendar__day--range-end:not(.o-ui-calendar__day--range-start
|
|
1209
|
+
.o-ui-calendar__day--range-end:not(.o-ui-calendar__day--range-start, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner::before {
|
|
1225
1210
|
right: 16px;
|
|
1226
1211
|
}
|
|
1227
1212
|
:is(.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--focused-range-end), .o-ui-calendar__day--focused-range-middle, .o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--focused-range-start)):not(.o-ui-calendar__day--outside) .o-ui-calendar__day-inner::after {
|
|
@@ -1234,20 +1219,20 @@
|
|
|
1234
1219
|
border-image-source: repeating-linear-gradient(to right, var(--o-ui-neutral-7) 0, var(--o-ui-neutral-7) 3px, var(--o-ui-background-color) 3px, var(--o-ui-background-color) 6px);
|
|
1235
1220
|
border-image-slice: 1 1%;
|
|
1236
1221
|
}
|
|
1237
|
-
.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--focused-range-end
|
|
1222
|
+
.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--focused-range-end, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner::after {
|
|
1238
1223
|
left: 16px;
|
|
1239
1224
|
}
|
|
1240
|
-
.o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--focused-range-start
|
|
1225
|
+
.o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--focused-range-start, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner::after {
|
|
1241
1226
|
right: 16px;
|
|
1242
1227
|
}
|
|
1243
|
-
:is(.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--range-start), .o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--range-end)):not(.o-ui-calendar__day--disabled
|
|
1228
|
+
:is(.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--range-start), .o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--range-end)):not(.o-ui-calendar__day--disabled, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner {
|
|
1244
1229
|
border: 1px dashed var(--o-ui-neutral-7);
|
|
1245
1230
|
background-color: var(--o-ui-neutral-3);
|
|
1246
1231
|
}
|
|
1247
|
-
.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--range-start
|
|
1232
|
+
.o-ui-calendar__day--focused-range-start:not(.o-ui-calendar__day--range-start, .o-ui-calendar__day--today, .o-ui-calendar__day--disabled, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner {
|
|
1248
1233
|
border-right-color: transparent;
|
|
1249
1234
|
}
|
|
1250
|
-
.o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--range-end
|
|
1235
|
+
.o-ui-calendar__day--focused-range-end:not(.o-ui-calendar__day--range-end, .o-ui-calendar__day--today, .o-ui-calendar__day--disabled, .o-ui-calendar__day--outside) .o-ui-calendar__day-inner {
|
|
1251
1236
|
border-left-color: transparent;
|
|
1252
1237
|
}
|
|
1253
1238
|
|
|
@@ -2212,7 +2197,7 @@ a > .o-ui-code {
|
|
|
2212
2197
|
cursor: not-allowed;
|
|
2213
2198
|
opacity: 0.5;
|
|
2214
2199
|
}
|
|
2215
|
-
.o-ui-control-addon[data-muted]:not(button
|
|
2200
|
+
.o-ui-control-addon[data-muted]:not(button, :any-link) {
|
|
2216
2201
|
opacity: 0.5;
|
|
2217
2202
|
}
|
|
2218
2203
|
.o-ui-control-addon > .o-ui-icon {
|
|
@@ -2231,16 +2216,16 @@ a > .o-ui-code {
|
|
|
2231
2216
|
--o-ui-control-addon-color: var(--o-ui-accent-a11);
|
|
2232
2217
|
--o-ui-control-addon-outline-color: var(--o-ui-accent-8);
|
|
2233
2218
|
}
|
|
2234
|
-
.o-ui-control-addon[data-variant=default]:is(:any-link, button):hover:not(:disabled
|
|
2219
|
+
.o-ui-control-addon[data-variant=default]:is(:any-link, button):hover:not(:disabled, [data-disabled], :active, [data-active], [data-state=open]) {
|
|
2235
2220
|
--o-ui-control-addon-background-color: var(--o-ui-neutral-a3);
|
|
2236
2221
|
}
|
|
2237
|
-
.o-ui-control-addon[data-variant=default]:is(:any-link, button):hover:not(:disabled
|
|
2222
|
+
.o-ui-control-addon[data-variant=default]:is(:any-link, button):hover:not(:disabled, [data-disabled], :active, [data-active], [data-state=open])[data-status] {
|
|
2238
2223
|
--o-ui-control-addon-background-color: var(--o-ui-accent-a3);
|
|
2239
2224
|
}
|
|
2240
|
-
.o-ui-control-addon[data-variant=default]:is(:any-link, button):is(:active, [data-active]):not(:disabled
|
|
2225
|
+
.o-ui-control-addon[data-variant=default]:is(:any-link, button):is(:active, [data-active]):not(:disabled, [data-disabled]), .o-ui-control-addon[data-variant=default]:is(:any-link, button)[data-state=open] {
|
|
2241
2226
|
--o-ui-control-addon-background-color: var(--o-ui-neutral-a4);
|
|
2242
2227
|
}
|
|
2243
|
-
.o-ui-control-addon[data-variant=default]:is(:any-link, button):is(:active, [data-active]):not(:disabled
|
|
2228
|
+
.o-ui-control-addon[data-variant=default]:is(:any-link, button):is(:active, [data-active]):not(:disabled, [data-disabled])[data-status], .o-ui-control-addon[data-variant=default]:is(:any-link, button)[data-state=open][data-status] {
|
|
2244
2229
|
--o-ui-control-addon-background-color: var(--o-ui-accent-a4);
|
|
2245
2230
|
}
|
|
2246
2231
|
.o-ui-control-addon[data-variant=cell] {
|
|
@@ -2256,16 +2241,16 @@ a > .o-ui-code {
|
|
|
2256
2241
|
--o-ui-control-addon-color: var(--o-ui-accent-a11);
|
|
2257
2242
|
--o-ui-control-addon-outline-color: var(--o-ui-accent-8);
|
|
2258
2243
|
}
|
|
2259
|
-
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):hover:not(:disabled
|
|
2244
|
+
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):hover:not(:disabled, [data-disabled], :active, [data-active], [data-state=open]) {
|
|
2260
2245
|
--o-ui-control-addon-background-color: var(--o-ui-neutral-a3);
|
|
2261
2246
|
}
|
|
2262
|
-
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):hover:not(:disabled
|
|
2247
|
+
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):hover:not(:disabled, [data-disabled], :active, [data-active], [data-state=open])[data-status] {
|
|
2263
2248
|
--o-ui-control-addon-background-color: var(--o-ui-accent-a3);
|
|
2264
2249
|
}
|
|
2265
|
-
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):is(:active, [data-active]):not(:disabled
|
|
2250
|
+
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):is(:active, [data-active]):not(:disabled, [data-disabled]), .o-ui-control-addon[data-variant=cell]:is(:any-link, button)[data-state=open] {
|
|
2266
2251
|
--o-ui-control-addon-background-color: var(--o-ui-neutral-a4);
|
|
2267
2252
|
}
|
|
2268
|
-
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):is(:active, [data-active]):not(:disabled
|
|
2253
|
+
.o-ui-control-addon[data-variant=cell]:is(:any-link, button):is(:active, [data-active]):not(:disabled, [data-disabled])[data-status], .o-ui-control-addon[data-variant=cell]:is(:any-link, button)[data-state=open][data-status] {
|
|
2269
2254
|
--o-ui-control-addon-background-color: var(--o-ui-accent-a4);
|
|
2270
2255
|
}
|
|
2271
2256
|
.o-ui-control-code {
|
|
@@ -2321,11 +2306,16 @@ a > .o-ui-code {
|
|
|
2321
2306
|
flex-wrap: wrap;
|
|
2322
2307
|
align-items: center;
|
|
2323
2308
|
}
|
|
2309
|
+
@media print {
|
|
2310
|
+
.o-ui-data-table {
|
|
2311
|
+
display: block;
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2324
2314
|
.o-ui-data-table__empty-message {
|
|
2325
2315
|
color: var(--o-ui-neutral-10);
|
|
2326
2316
|
}
|
|
2327
2317
|
.o-ui-data-table__row[data-last-row] > .o-ui-data-table__cell {
|
|
2328
|
-
border-bottom-width:
|
|
2318
|
+
--o-ui-table-cell-border-bottom-width: 0px !important;
|
|
2329
2319
|
}
|
|
2330
2320
|
.o-ui-data-table__cell[data-loading] {
|
|
2331
2321
|
padding: calc(var(--o-ui-space) * 2.5) calc(var(--o-ui-space) * 3) !important;
|
|
@@ -2372,7 +2362,7 @@ a > .o-ui-code {
|
|
|
2372
2362
|
margin-top: var(--o-ui-mt, var(--o-ui-space));
|
|
2373
2363
|
margin-bottom: var(--o-ui-mb, 0);
|
|
2374
2364
|
}
|
|
2375
|
-
.o-ui-data-table > *:not(.o-ui-data-table__content-container
|
|
2365
|
+
.o-ui-data-table > *:not(.o-ui-data-table__content-container, :first-child) {
|
|
2376
2366
|
margin-left: var(--o-ui-ml, calc(var(--o-ui-space) * 2));
|
|
2377
2367
|
}
|
|
2378
2368
|
.o-ui-data-table > .o-ui-data-table__content-container + * {
|
|
@@ -2739,13 +2729,14 @@ a > .o-ui-code {
|
|
|
2739
2729
|
max-width: min(var(--o-ui-max-w, 100dvw), var(--radix-dropdown-menu-content-available-width));
|
|
2740
2730
|
max-height: min(var(--o-ui-max-h, 100dvh), var(--radix-dropdown-menu-content-available-height));
|
|
2741
2731
|
}
|
|
2742
|
-
:is(.o-ui-dropdown-menu__item, .o-ui-dropdown-menu__checkbox-item, .o-ui-dropdown-menu__radio-item) .o-ui-menu-list__item-action:not(a
|
|
2732
|
+
:is(.o-ui-dropdown-menu__item, .o-ui-dropdown-menu__checkbox-item, .o-ui-dropdown-menu__radio-item) .o-ui-menu-list__item-action:not(a, :disabled, [data-disabled]) {
|
|
2743
2733
|
cursor: pointer;
|
|
2744
2734
|
}
|
|
2745
2735
|
.o-ui-feedback {
|
|
2746
2736
|
font-size: var(--o-ui-font-size, var(--o-ui-font-size-xs));
|
|
2747
2737
|
line-height: var(--o-ui-line-height, var(--o-ui-line-height-xs));
|
|
2748
2738
|
color: var(--o-ui-accent-11);
|
|
2739
|
+
break-before: avoid;
|
|
2749
2740
|
}
|
|
2750
2741
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
2751
2742
|
.o-ui-feedback {
|
|
@@ -2771,6 +2762,7 @@ a > .o-ui-code {
|
|
|
2771
2762
|
margin-top: var(--o-ui-mt, 0);
|
|
2772
2763
|
margin-bottom: var(--o-ui-mb, 0);
|
|
2773
2764
|
padding: 0;
|
|
2765
|
+
break-before: avoid;
|
|
2774
2766
|
}
|
|
2775
2767
|
.o-ui-feedback__list:empty {
|
|
2776
2768
|
display: none;
|
|
@@ -2801,7 +2793,6 @@ a > .o-ui-code {
|
|
|
2801
2793
|
|
|
2802
2794
|
.o-ui-field {
|
|
2803
2795
|
width: var(--o-ui-w, 100%);
|
|
2804
|
-
break-inside: avoid;
|
|
2805
2796
|
}
|
|
2806
2797
|
.o-ui-field > :is(.o-ui-control-code, .o-ui-label__container) {
|
|
2807
2798
|
margin-bottom: var(--o-ui-mb, var(--o-ui-space));
|
|
@@ -3201,6 +3192,7 @@ a > .o-ui-code {
|
|
|
3201
3192
|
font-size: var(--o-ui-font-size, var(--o-ui-font-size-xs));
|
|
3202
3193
|
line-height: var(--o-ui-line-height, var(--o-ui-line-height-xs));
|
|
3203
3194
|
color: var(--o-ui-neutral-10);
|
|
3195
|
+
break-before: avoid;
|
|
3204
3196
|
}
|
|
3205
3197
|
.o-ui-helper-text:not(:first-child) {
|
|
3206
3198
|
margin-top: var(--o-ui-mt, var(--o-ui-space)) !important;
|
|
@@ -3278,7 +3270,7 @@ a > .o-ui-code {
|
|
|
3278
3270
|
text-align: start;
|
|
3279
3271
|
line-height: calc(var(--o-ui-control-min-height) - var(--o-ui-control-border-width, 0px) * 2 - var(--o-ui-control-padding-y) * 2);
|
|
3280
3272
|
}
|
|
3281
|
-
.o-ui-input[type=file i]:not(:disabled
|
|
3273
|
+
.o-ui-input[type=file i]:not(:disabled, [readonly]) {
|
|
3282
3274
|
cursor: pointer;
|
|
3283
3275
|
}
|
|
3284
3276
|
.o-ui-input[type=file i]::file-selector-button {
|
|
@@ -3386,6 +3378,7 @@ a > .o-ui-code {
|
|
|
3386
3378
|
min-width: 0;
|
|
3387
3379
|
display: inline-flex;
|
|
3388
3380
|
align-items: center;
|
|
3381
|
+
break-after: avoid;
|
|
3389
3382
|
}
|
|
3390
3383
|
.o-ui-label__required-icon-container {
|
|
3391
3384
|
white-space: nowrap;
|
|
@@ -3432,7 +3425,7 @@ a > .o-ui-code {
|
|
|
3432
3425
|
-webkit-user-select: none;
|
|
3433
3426
|
user-select: none;
|
|
3434
3427
|
}
|
|
3435
|
-
.o-ui-link:is(button):not(:disabled
|
|
3428
|
+
.o-ui-link:is(button):not(:disabled, [data-disabled]) {
|
|
3436
3429
|
cursor: pointer;
|
|
3437
3430
|
}
|
|
3438
3431
|
.o-ui-link:is(button):is(:disabled, [data-disabled]) {
|
|
@@ -3773,7 +3766,7 @@ a > .o-ui-code {
|
|
|
3773
3766
|
.o-ui-root :is(p, ul, ol):not([class]):not(:first-child) {
|
|
3774
3767
|
margin-top: 0.5em;
|
|
3775
3768
|
}
|
|
3776
|
-
.o-ui-root li:not([class]
|
|
3769
|
+
.o-ui-root li:not([class], :first-child) {
|
|
3777
3770
|
margin-top: 0.25em;
|
|
3778
3771
|
}
|
|
3779
3772
|
|
|
@@ -4242,7 +4235,7 @@ a > .o-ui-code {
|
|
|
4242
4235
|
--o-ui-stack-wrap: var(--o-ui-stack-wrap-xxl);
|
|
4243
4236
|
}
|
|
4244
4237
|
}
|
|
4245
|
-
.o-ui-stack > :not(style) + :not(style
|
|
4238
|
+
.o-ui-stack > :not(style) + :not(style, .o-ui-stack) {
|
|
4246
4239
|
margin: calc(var(--o-ui-mt, 0px) + var(--o-ui-stack-child-mt)) calc(var(--o-ui-mr, 0px) + var(--o-ui-stack-child-mr)) calc(var(--o-ui-mb, 0px) + var(--o-ui-stack-child-mb)) calc(var(--o-ui-ml, 0px) + var(--o-ui-stack-child-ml));
|
|
4247
4240
|
}
|
|
4248
4241
|
.o-ui-stack > :not(style) + .o-ui-stack {
|
|
@@ -4473,6 +4466,11 @@ a > .o-ui-code {
|
|
|
4473
4466
|
flex-direction: column;
|
|
4474
4467
|
align-items: center;
|
|
4475
4468
|
}
|
|
4469
|
+
@media print {
|
|
4470
|
+
.o-ui-table__container {
|
|
4471
|
+
display: block;
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4476
4474
|
.o-ui-table__caption {
|
|
4477
4475
|
font-size: var(--o-ui-font-size-sm);
|
|
4478
4476
|
line-height: var(--o-ui-line-height-sm);
|
|
@@ -4492,7 +4490,8 @@ a > .o-ui-code {
|
|
|
4492
4490
|
}
|
|
4493
4491
|
@media print {
|
|
4494
4492
|
.o-ui-table__scrollable {
|
|
4495
|
-
|
|
4493
|
+
display: block;
|
|
4494
|
+
overflow: clip;
|
|
4496
4495
|
min-width: 100%;
|
|
4497
4496
|
width: min-content;
|
|
4498
4497
|
}
|
|
@@ -4617,11 +4616,13 @@ a > .o-ui-code {
|
|
|
4617
4616
|
.o-ui-table > .o-ui-table__row:last-child > .o-ui-table__cell:last-child, .o-ui-table > :last-child > .o-ui-table__row:last-child > .o-ui-table__cell:last-child {
|
|
4618
4617
|
border-bottom-right-radius: var(--o-ui-table-border-radius);
|
|
4619
4618
|
}
|
|
4620
|
-
.o-ui-
|
|
4621
|
-
border-bottom-width: 1px;
|
|
4619
|
+
.o-ui-table__row:not(:last-child) > .o-ui-table__cell {
|
|
4620
|
+
--o-ui-table-cell-border-bottom-width: 1px;
|
|
4622
4621
|
}
|
|
4623
4622
|
.o-ui-table > .o-ui-table__head > .o-ui-table__row > .o-ui-table__cell {
|
|
4624
|
-
|
|
4623
|
+
--o-ui-table-cell-border-bottom-width: var(--o-ui-table-head-border-width);
|
|
4624
|
+
border-bottom-style: solid;
|
|
4625
|
+
border-bottom-color: var(--o-ui-table-head-border-color, var(--o-ui-table-cell-border-color));
|
|
4625
4626
|
}
|
|
4626
4627
|
.o-ui-table > .o-ui-table__foot > .o-ui-table__row:first-child > .o-ui-table__cell {
|
|
4627
4628
|
border-top: var(--o-ui-table-foot-border-width) solid var(--o-ui-table-foot-border-color, var(--o-ui-table-cell-border-color));
|
|
@@ -4634,8 +4635,12 @@ a > .o-ui-code {
|
|
|
4634
4635
|
text-align: var(--o-ui-table-cell-align, left);
|
|
4635
4636
|
font-weight: var(--o-ui-table-cell-font-weight);
|
|
4636
4637
|
text-transform: var(--o-ui-table-cell-text-transform);
|
|
4638
|
+
--o-ui-table-cell-border-bottom-width: 0px;
|
|
4637
4639
|
--o-ui-table-cell-border-color: var(--o-ui-neutral-5);
|
|
4638
|
-
border: 0
|
|
4640
|
+
border-width: 0;
|
|
4641
|
+
border-bottom-width: var(--o-ui-table-cell-border-bottom-width, 0px);
|
|
4642
|
+
border-style: var(--o-ui-table-cell-border-style, solid);
|
|
4643
|
+
border-color: var(--o-ui-table-cell-border-color);
|
|
4639
4644
|
background-color: var(--o-ui-table-cell-background-color, var(--o-ui-background-color));
|
|
4640
4645
|
color: var(--o-ui-table-cell-color);
|
|
4641
4646
|
}
|
|
@@ -4650,7 +4655,7 @@ a > .o-ui-code {
|
|
|
4650
4655
|
background-image: repeating-linear-gradient(-45deg, var(--o-ui-neutral-a3) 0, var(--o-ui-neutral-a3) 1px, var(--o-ui-neutral-a2) 0, var(--o-ui-neutral-a2) 50%) !important;
|
|
4651
4656
|
background-size: 10px 10px !important;
|
|
4652
4657
|
}
|
|
4653
|
-
.o-ui-table__head .o-ui-table__cell[data-framed]:not([data-left-most-column]
|
|
4658
|
+
.o-ui-table__head .o-ui-table__cell[data-framed]:not([data-left-most-column], :first-child), .o-ui-table > .o-ui-table__row > .o-ui-table__cell[data-framed]:not(:first-child), .o-ui-table > .o-ui-table__body > .o-ui-table__row > .o-ui-table__cell[data-framed]:not(:first-child) {
|
|
4654
4659
|
border-left-width: 1px;
|
|
4655
4660
|
}
|
|
4656
4661
|
.o-ui-table__head .o-ui-table__cell[data-framed]:not([data-right-most-column]), .o-ui-table > .o-ui-table__row > .o-ui-table__cell[data-framed]:not(:last-child), .o-ui-table > .o-ui-table__body > .o-ui-table__row > .o-ui-table__cell[data-framed]:not(:last-child), .o-ui-table > .o-ui-table__foot > .o-ui-table__row > .o-ui-table__cell[data-framed]:not(:last-child) {
|
|
@@ -4672,7 +4677,7 @@ a > .o-ui-code {
|
|
|
4672
4677
|
position: absolute;
|
|
4673
4678
|
top: 0;
|
|
4674
4679
|
width: 8px;
|
|
4675
|
-
height: calc(100% +
|
|
4680
|
+
height: calc(100% + var(--o-ui-table-cell-border-bottom-width));
|
|
4676
4681
|
}
|
|
4677
4682
|
.o-ui-table__cell[data-sticky=left] {
|
|
4678
4683
|
left: var(--o-ui-table-cell-sticky-offset, 0);
|
|
@@ -4826,7 +4831,7 @@ a > .o-ui-code {
|
|
|
4826
4831
|
-webkit-user-select: none;
|
|
4827
4832
|
user-select: none;
|
|
4828
4833
|
}
|
|
4829
|
-
.o-ui-tabs__tab:not(:disabled
|
|
4834
|
+
.o-ui-tabs__tab:not(:disabled, [data-disabled]) {
|
|
4830
4835
|
cursor: pointer;
|
|
4831
4836
|
}
|
|
4832
4837
|
.o-ui-tabs__tab:is(:disabled, [data-disabled]) {
|
|
@@ -4865,10 +4870,10 @@ a > .o-ui-code {
|
|
|
4865
4870
|
--o-ui-tabs-tab-inner-color: var(--o-ui-accent-a11);
|
|
4866
4871
|
--o-ui-tabs-tab-inner-focus-outline-color: var(--o-ui-accent-8);
|
|
4867
4872
|
}
|
|
4868
|
-
.o-ui-tabs__tab--default:hover:not(:disabled
|
|
4873
|
+
.o-ui-tabs__tab--default:hover:not(:disabled, :active, [data-state=active]) {
|
|
4869
4874
|
--o-ui-tabs-tab-inner-background-color: var(--o-ui-neutral-a3);
|
|
4870
4875
|
}
|
|
4871
|
-
.o-ui-tabs__tab--default:hover:not(:disabled
|
|
4876
|
+
.o-ui-tabs__tab--default:hover:not(:disabled, :active, [data-state=active])[data-status] {
|
|
4872
4877
|
--o-ui-tabs-tab-inner-background-color: var(--o-ui-accent-a3);
|
|
4873
4878
|
}
|
|
4874
4879
|
.o-ui-tabs__tab--default {
|
|
@@ -4882,10 +4887,10 @@ a > .o-ui-code {
|
|
|
4882
4887
|
--o-ui-tabs-tab-box-shadow: inset 0 -2px 0 0 var(--o-ui-accent-9);
|
|
4883
4888
|
--o-ui-tabs-tab-inner-color: var(--o-ui-accent-a12);
|
|
4884
4889
|
}
|
|
4885
|
-
.o-ui-tabs__tab--default[data-state=active]:hover:not(:disabled
|
|
4890
|
+
.o-ui-tabs__tab--default[data-state=active]:hover:not(:disabled, :active) {
|
|
4886
4891
|
--o-ui-tabs-tab-inner-background-color: var(--o-ui-neutral-a3);
|
|
4887
4892
|
}
|
|
4888
|
-
.o-ui-tabs__tab--default[data-state=active]:hover:not(:disabled
|
|
4893
|
+
.o-ui-tabs__tab--default[data-state=active]:hover:not(:disabled, :active)[data-status] {
|
|
4889
4894
|
--o-ui-tabs-tab-inner-background-color: var(--o-ui-accent-a3);
|
|
4890
4895
|
}
|
|
4891
4896
|
.o-ui-tabs__tab--default:active:not(:disabled) {
|
|
@@ -4911,7 +4916,7 @@ a > .o-ui-code {
|
|
|
4911
4916
|
.o-ui-tabs__tab--annexes[data-status] {
|
|
4912
4917
|
--o-ui-tabs-tab-inner-box-shadow: inset 0 3px 0 0 var(--o-ui-accent-9);
|
|
4913
4918
|
}
|
|
4914
|
-
.o-ui-tabs__tab--annexes:hover:not(:disabled
|
|
4919
|
+
.o-ui-tabs__tab--annexes:hover:not(:disabled, :active, [data-state=active]) {
|
|
4915
4920
|
--o-ui-tabs-tab-inner-background-color: var(--o-ui-neutral-a4);
|
|
4916
4921
|
}
|
|
4917
4922
|
.o-ui-tabs__tab--annexes[data-state=active] {
|