uniskin 0.5.0 → 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/dist/conformance.d.ts +30 -0
- package/dist/conformance.d.ts.map +1 -0
- package/dist/conformance.js +38 -0
- package/dist/conformance.js.map +1 -0
- package/dist/coverage.d.ts +16 -1
- package/dist/coverage.d.ts.map +1 -1
- package/dist/coverage.js +53 -2
- package/dist/coverage.js.map +1 -1
- package/dist/default-theme.d.ts +747 -0
- package/dist/default-theme.d.ts.map +1 -1
- package/dist/default-theme.js +676 -1
- package/dist/default-theme.js.map +1 -1
- package/dist/merge.d.ts.map +1 -1
- package/dist/merge.js +3 -31
- package/dist/merge.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +16 -0
- package/dist/types.js.map +1 -1
- package/package.json +5 -1
package/dist/default-theme.d.ts
CHANGED
|
@@ -1078,6 +1078,699 @@ export declare const defaultAdapter: {
|
|
|
1078
1078
|
};
|
|
1079
1079
|
};
|
|
1080
1080
|
};
|
|
1081
|
+
readonly "tooltip-anchor": {
|
|
1082
|
+
readonly base: {
|
|
1083
|
+
readonly position: "relative";
|
|
1084
|
+
readonly display: "inline-block";
|
|
1085
|
+
readonly "&:hover > .ui-tooltip, &:focus-within > .ui-tooltip": {
|
|
1086
|
+
readonly visibility: "visible";
|
|
1087
|
+
readonly opacity: "1";
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
readonly tooltip: {
|
|
1092
|
+
readonly base: {
|
|
1093
|
+
readonly "--ui-c": "var(--ui-surface-fg)";
|
|
1094
|
+
readonly "--ui-c-text": "var(--ui-surface-fg)";
|
|
1095
|
+
readonly "--ui-on-c": "var(--ui-surface)";
|
|
1096
|
+
readonly "--ui-c-soft": "var(--ui-neutral-soft)";
|
|
1097
|
+
readonly "--ui-c-soft-fg": "var(--ui-neutral-soft-fg)";
|
|
1098
|
+
readonly position: "absolute";
|
|
1099
|
+
readonly "z-index": "20";
|
|
1100
|
+
readonly width: "max-content";
|
|
1101
|
+
readonly "max-width": "var(--ui-tooltip-max-w, 16rem)";
|
|
1102
|
+
readonly "box-sizing": "border-box";
|
|
1103
|
+
readonly padding: "var(--ui-tooltip-pad-y, 0.375rem) var(--ui-tooltip-pad-x, 0.625rem)";
|
|
1104
|
+
readonly "font-family": "var(--ui-font-sans)";
|
|
1105
|
+
readonly "font-size": "var(--ui-tooltip-fs, 0.8125rem)";
|
|
1106
|
+
readonly "font-weight": "500";
|
|
1107
|
+
readonly "line-height": "1.35";
|
|
1108
|
+
readonly "text-align": "start";
|
|
1109
|
+
readonly "border-radius": "calc(var(--ui-radius) * 0.75)";
|
|
1110
|
+
readonly border: "1px solid transparent";
|
|
1111
|
+
readonly "background-color": "var(--ui-tooltip-bg, var(--ui-c))";
|
|
1112
|
+
readonly color: "var(--ui-tooltip-fg, var(--ui-on-c))";
|
|
1113
|
+
readonly visibility: "hidden";
|
|
1114
|
+
readonly opacity: "0";
|
|
1115
|
+
readonly transition: "opacity 0.12s ease, visibility 0.12s";
|
|
1116
|
+
readonly bottom: "calc(100% + var(--ui-tooltip-gap, 0.5rem))";
|
|
1117
|
+
readonly left: "50%";
|
|
1118
|
+
readonly transform: "translateX(-50%)";
|
|
1119
|
+
readonly "&[hidden]": {
|
|
1120
|
+
readonly display: "none";
|
|
1121
|
+
};
|
|
1122
|
+
readonly "&::before": {
|
|
1123
|
+
readonly content: "\"\"";
|
|
1124
|
+
readonly position: "absolute";
|
|
1125
|
+
readonly inset: "calc(var(--ui-tooltip-gap, 0.5rem) * -1)";
|
|
1126
|
+
readonly "z-index": "-1";
|
|
1127
|
+
};
|
|
1128
|
+
readonly "&::after": {
|
|
1129
|
+
readonly content: "\"\"";
|
|
1130
|
+
readonly position: "absolute";
|
|
1131
|
+
readonly width: "var(--ui-tooltip-arrow, 0.5rem)";
|
|
1132
|
+
readonly height: "var(--ui-tooltip-arrow, 0.5rem)";
|
|
1133
|
+
readonly "background-color": "inherit";
|
|
1134
|
+
readonly "border-color": "inherit";
|
|
1135
|
+
readonly "border-style": "solid";
|
|
1136
|
+
readonly "border-width": "0";
|
|
1137
|
+
readonly transform: "rotate(45deg)";
|
|
1138
|
+
readonly bottom: "calc(var(--ui-tooltip-arrow, 0.5rem) / -2)";
|
|
1139
|
+
readonly left: "calc(50% - var(--ui-tooltip-arrow, 0.5rem) / 2)";
|
|
1140
|
+
};
|
|
1141
|
+
readonly '&[data-placement="bottom"]': {
|
|
1142
|
+
readonly bottom: "auto";
|
|
1143
|
+
readonly top: "calc(100% + var(--ui-tooltip-gap, 0.5rem))";
|
|
1144
|
+
};
|
|
1145
|
+
readonly '&[data-placement="bottom"]::after': {
|
|
1146
|
+
readonly bottom: "auto";
|
|
1147
|
+
readonly top: "calc(var(--ui-tooltip-arrow, 0.5rem) / -2)";
|
|
1148
|
+
};
|
|
1149
|
+
readonly '&[data-placement="start"]': {
|
|
1150
|
+
readonly bottom: "auto";
|
|
1151
|
+
readonly left: "auto";
|
|
1152
|
+
readonly top: "50%";
|
|
1153
|
+
readonly "inset-inline-end": "calc(100% + var(--ui-tooltip-gap, 0.5rem))";
|
|
1154
|
+
readonly transform: "translateY(-50%)";
|
|
1155
|
+
};
|
|
1156
|
+
readonly '&[data-placement="start"]::after': {
|
|
1157
|
+
readonly bottom: "auto";
|
|
1158
|
+
readonly left: "auto";
|
|
1159
|
+
readonly top: "calc(50% - var(--ui-tooltip-arrow, 0.5rem) / 2)";
|
|
1160
|
+
readonly "inset-inline-end": "calc(var(--ui-tooltip-arrow, 0.5rem) / -2)";
|
|
1161
|
+
};
|
|
1162
|
+
readonly '&[data-placement="end"]': {
|
|
1163
|
+
readonly bottom: "auto";
|
|
1164
|
+
readonly left: "auto";
|
|
1165
|
+
readonly top: "50%";
|
|
1166
|
+
readonly "inset-inline-start": "calc(100% + var(--ui-tooltip-gap, 0.5rem))";
|
|
1167
|
+
readonly transform: "translateY(-50%)";
|
|
1168
|
+
};
|
|
1169
|
+
readonly '&[data-placement="end"]::after': {
|
|
1170
|
+
readonly bottom: "auto";
|
|
1171
|
+
readonly left: "auto";
|
|
1172
|
+
readonly top: "calc(50% - var(--ui-tooltip-arrow, 0.5rem) / 2)";
|
|
1173
|
+
readonly "inset-inline-start": "calc(var(--ui-tooltip-arrow, 0.5rem) / -2)";
|
|
1174
|
+
};
|
|
1175
|
+
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1176
|
+
readonly transition: "none";
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
readonly intents: Record<"primary" | "secondary" | "success" | "warning" | "danger", CssRuleObject>;
|
|
1180
|
+
readonly styles: {
|
|
1181
|
+
readonly soft: {
|
|
1182
|
+
readonly "background-color": "var(--ui-tooltip-bg, var(--ui-c-soft))";
|
|
1183
|
+
readonly color: "var(--ui-tooltip-fg, var(--ui-c-soft-fg))";
|
|
1184
|
+
};
|
|
1185
|
+
readonly outline: {
|
|
1186
|
+
readonly "background-color": "var(--ui-tooltip-bg, var(--ui-surface))";
|
|
1187
|
+
readonly color: "var(--ui-tooltip-fg, var(--ui-surface-fg))";
|
|
1188
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
1189
|
+
readonly "&::after": {
|
|
1190
|
+
readonly "border-width": "0 1px 1px 0";
|
|
1191
|
+
};
|
|
1192
|
+
readonly '&[data-placement="bottom"]::after': {
|
|
1193
|
+
readonly "border-width": "1px 0 0 1px";
|
|
1194
|
+
};
|
|
1195
|
+
readonly '&[data-placement="start"]::after': {
|
|
1196
|
+
readonly "border-width": "1px 1px 0 0";
|
|
1197
|
+
};
|
|
1198
|
+
readonly '&[data-placement="end"]::after': {
|
|
1199
|
+
readonly "border-width": "0 0 1px 1px";
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
readonly sizes: {
|
|
1204
|
+
readonly sm: {
|
|
1205
|
+
readonly "--ui-tooltip-fs": "0.75rem";
|
|
1206
|
+
readonly "--ui-tooltip-pad-y": "0.25rem";
|
|
1207
|
+
readonly "--ui-tooltip-pad-x": "0.5rem";
|
|
1208
|
+
};
|
|
1209
|
+
readonly lg: {
|
|
1210
|
+
readonly "--ui-tooltip-fs": "0.9375rem";
|
|
1211
|
+
readonly "--ui-tooltip-pad-y": "0.5rem";
|
|
1212
|
+
readonly "--ui-tooltip-pad-x": "0.875rem";
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
readonly states: {
|
|
1216
|
+
readonly active: {
|
|
1217
|
+
readonly visibility: "visible";
|
|
1218
|
+
readonly opacity: "1";
|
|
1219
|
+
};
|
|
1220
|
+
};
|
|
1221
|
+
};
|
|
1222
|
+
readonly "toast-region": {
|
|
1223
|
+
readonly base: {
|
|
1224
|
+
readonly position: "fixed";
|
|
1225
|
+
readonly "z-index": "60";
|
|
1226
|
+
readonly display: "flex";
|
|
1227
|
+
readonly "flex-direction": "column";
|
|
1228
|
+
readonly gap: "var(--ui-toast-gap, 0.5rem)";
|
|
1229
|
+
readonly "box-sizing": "border-box";
|
|
1230
|
+
readonly width: "min(100%, calc(var(--ui-toast-w, 22rem) + 2 * var(--ui-toast-offset, 1rem)))";
|
|
1231
|
+
readonly padding: "calc(var(--ui-toast-offset, 1rem) + env(safe-area-inset-top, 0px)) calc(var(--ui-toast-offset, 1rem) + env(safe-area-inset-right, 0px)) calc(var(--ui-toast-offset, 1rem) + env(safe-area-inset-bottom, 0px)) calc(var(--ui-toast-offset, 1rem) + env(safe-area-inset-left, 0px))";
|
|
1232
|
+
readonly "pointer-events": "none";
|
|
1233
|
+
readonly "inset-block-end": "0";
|
|
1234
|
+
readonly "inset-inline-end": "0";
|
|
1235
|
+
readonly '&[data-placement^="top"]': {
|
|
1236
|
+
readonly "inset-block-start": "0";
|
|
1237
|
+
readonly "inset-block-end": "auto";
|
|
1238
|
+
};
|
|
1239
|
+
readonly '&[data-placement$="start"]': {
|
|
1240
|
+
readonly "inset-inline-start": "0";
|
|
1241
|
+
readonly "inset-inline-end": "auto";
|
|
1242
|
+
};
|
|
1243
|
+
readonly '&[data-placement$="center"]': {
|
|
1244
|
+
readonly left: "50%";
|
|
1245
|
+
readonly right: "auto";
|
|
1246
|
+
readonly "inset-inline-start": "50%";
|
|
1247
|
+
readonly "inset-inline-end": "auto";
|
|
1248
|
+
readonly transform: "translateX(-50%)";
|
|
1249
|
+
};
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
readonly toast: {
|
|
1253
|
+
readonly base: {
|
|
1254
|
+
readonly "--ui-c": "var(--ui-surface)";
|
|
1255
|
+
readonly "--ui-c-text": "var(--ui-surface-fg)";
|
|
1256
|
+
readonly "--ui-on-c": "var(--ui-surface-fg)";
|
|
1257
|
+
readonly "--ui-c-soft": "var(--ui-neutral-soft)";
|
|
1258
|
+
readonly "--ui-c-soft-fg": "var(--ui-neutral-soft-fg)";
|
|
1259
|
+
readonly "--ui-toast-edge": "var(--ui-border)";
|
|
1260
|
+
readonly display: "flex";
|
|
1261
|
+
readonly "align-items": "center";
|
|
1262
|
+
readonly "justify-content": "space-between";
|
|
1263
|
+
readonly gap: "0.75rem";
|
|
1264
|
+
readonly "box-sizing": "border-box";
|
|
1265
|
+
readonly width: "100%";
|
|
1266
|
+
readonly padding: "var(--ui-toast-pad-y, 0.75rem) var(--ui-toast-pad-x, 1rem)";
|
|
1267
|
+
readonly "font-family": "var(--ui-font-sans)";
|
|
1268
|
+
readonly "font-size": "var(--ui-toast-fs, 0.9375rem)";
|
|
1269
|
+
readonly "line-height": "1.4";
|
|
1270
|
+
readonly "border-radius": "var(--ui-radius)";
|
|
1271
|
+
readonly border: "1px solid var(--ui-toast-edge)";
|
|
1272
|
+
readonly "background-color": "var(--ui-c)";
|
|
1273
|
+
readonly "--ui-toast-fg": "var(--ui-on-c)";
|
|
1274
|
+
readonly color: "var(--ui-toast-fg)";
|
|
1275
|
+
readonly "box-shadow": "var(--ui-toast-shadow, 0 10px 24px -10px rgb(0 0 0 / 0.35))";
|
|
1276
|
+
readonly "pointer-events": "auto";
|
|
1277
|
+
readonly opacity: "1";
|
|
1278
|
+
readonly transform: "none";
|
|
1279
|
+
readonly transition: "opacity 0.2s ease, transform 0.2s ease";
|
|
1280
|
+
readonly "&[hidden]": {
|
|
1281
|
+
readonly display: "none";
|
|
1282
|
+
};
|
|
1283
|
+
readonly "& .ui-button": {
|
|
1284
|
+
readonly "--ui-c-text": "var(--ui-toast-fg)";
|
|
1285
|
+
readonly "--ui-c-soft": "color-mix(in oklab, var(--ui-toast-fg) 16%, transparent)";
|
|
1286
|
+
readonly "--ui-c-soft-fg": "var(--ui-toast-fg)";
|
|
1287
|
+
};
|
|
1288
|
+
readonly "& .ui-button.ui-ghost, & .ui-button.ui-ghost:hover": {
|
|
1289
|
+
readonly color: "var(--ui-toast-fg)";
|
|
1290
|
+
};
|
|
1291
|
+
readonly "& .ui-button.ui-ghost:hover": {
|
|
1292
|
+
readonly "background-color": "color-mix(in oklab, var(--ui-toast-fg) 16%, transparent)";
|
|
1293
|
+
};
|
|
1294
|
+
readonly "& .ui-button:focus-visible": {
|
|
1295
|
+
readonly "outline-color": "var(--ui-toast-fg)";
|
|
1296
|
+
};
|
|
1297
|
+
readonly "@starting-style": {
|
|
1298
|
+
readonly opacity: "0";
|
|
1299
|
+
readonly transform: "translateY(0.5rem)";
|
|
1300
|
+
};
|
|
1301
|
+
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1302
|
+
readonly transition: "none";
|
|
1303
|
+
};
|
|
1304
|
+
};
|
|
1305
|
+
readonly intents: Record<"primary" | "secondary" | "success" | "warning" | "danger", CssRuleObject>;
|
|
1306
|
+
readonly styles: {
|
|
1307
|
+
readonly soft: {
|
|
1308
|
+
readonly "background-color": "var(--ui-c-soft)";
|
|
1309
|
+
readonly "--ui-toast-fg": "var(--ui-c-soft-fg)";
|
|
1310
|
+
readonly "border-color": "color-mix(in oklab, var(--ui-c-border, var(--ui-c)) 28%, transparent)";
|
|
1311
|
+
};
|
|
1312
|
+
readonly outline: {
|
|
1313
|
+
readonly "background-color": "var(--ui-surface)";
|
|
1314
|
+
readonly "--ui-toast-fg": "var(--ui-surface-fg)";
|
|
1315
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
readonly sizes: {
|
|
1319
|
+
readonly sm: {
|
|
1320
|
+
readonly "--ui-toast-fs": "0.8125rem";
|
|
1321
|
+
readonly "--ui-toast-pad-y": "0.5rem";
|
|
1322
|
+
readonly "--ui-toast-pad-x": "0.75rem";
|
|
1323
|
+
};
|
|
1324
|
+
readonly lg: {
|
|
1325
|
+
readonly "--ui-toast-fs": "1.0625rem";
|
|
1326
|
+
readonly "--ui-toast-pad-y": "1rem";
|
|
1327
|
+
readonly "--ui-toast-pad-x": "1.25rem";
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
readonly states: {
|
|
1331
|
+
readonly loading: {
|
|
1332
|
+
readonly animation: "ui-pulse 1.2s ease-in-out infinite";
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
readonly dropdown: {
|
|
1337
|
+
readonly base: {
|
|
1338
|
+
readonly position: "relative";
|
|
1339
|
+
readonly display: "inline-block";
|
|
1340
|
+
readonly "& > .ui-menu": {
|
|
1341
|
+
readonly position: "absolute";
|
|
1342
|
+
readonly "z-index": "var(--ui-menu-z, 50)";
|
|
1343
|
+
readonly "inset-block-start": "calc(100% + var(--ui-menu-gap, 0.25rem))";
|
|
1344
|
+
readonly "inset-inline-start": "0";
|
|
1345
|
+
readonly visibility: "hidden";
|
|
1346
|
+
readonly opacity: "0";
|
|
1347
|
+
readonly transition: "opacity 0.12s ease, visibility 0s linear 0.12s";
|
|
1348
|
+
};
|
|
1349
|
+
readonly '&[data-placement^="top"] > .ui-menu': {
|
|
1350
|
+
readonly "inset-block-start": "auto";
|
|
1351
|
+
readonly "inset-block-end": "calc(100% + var(--ui-menu-gap, 0.25rem))";
|
|
1352
|
+
};
|
|
1353
|
+
readonly '&[data-placement$="end"] > .ui-menu': {
|
|
1354
|
+
readonly "inset-inline-start": "auto";
|
|
1355
|
+
readonly "inset-inline-end": "0";
|
|
1356
|
+
};
|
|
1357
|
+
readonly "&[open] > .ui-menu, &.ui-active > .ui-menu, &:has(> [aria-expanded=\"true\"]) > .ui-menu, & > .ui-menu:popover-open": {
|
|
1358
|
+
readonly visibility: "visible";
|
|
1359
|
+
readonly opacity: "1";
|
|
1360
|
+
readonly transition: "opacity 0.12s ease, visibility 0s";
|
|
1361
|
+
};
|
|
1362
|
+
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1363
|
+
readonly "& > .ui-menu": {
|
|
1364
|
+
readonly transition: "none";
|
|
1365
|
+
};
|
|
1366
|
+
};
|
|
1367
|
+
readonly "& > summary": {
|
|
1368
|
+
readonly "list-style": "none";
|
|
1369
|
+
readonly cursor: "pointer";
|
|
1370
|
+
};
|
|
1371
|
+
readonly "& > summary::-webkit-details-marker": {
|
|
1372
|
+
readonly display: "none";
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
};
|
|
1376
|
+
readonly menu: {
|
|
1377
|
+
readonly base: {
|
|
1378
|
+
readonly "--ui-menu-fs": "0.9375rem";
|
|
1379
|
+
readonly display: "flex";
|
|
1380
|
+
readonly "flex-direction": "column";
|
|
1381
|
+
readonly gap: "1px";
|
|
1382
|
+
readonly "box-sizing": "border-box";
|
|
1383
|
+
readonly "min-width": "var(--ui-menu-w, 10rem)";
|
|
1384
|
+
readonly "max-height": "var(--ui-menu-max-h, 20rem)";
|
|
1385
|
+
readonly "overflow-y": "auto";
|
|
1386
|
+
readonly margin: "0";
|
|
1387
|
+
readonly padding: "var(--ui-menu-pad, 0.25rem)";
|
|
1388
|
+
readonly "list-style": "none";
|
|
1389
|
+
readonly "font-family": "var(--ui-font-sans)";
|
|
1390
|
+
readonly "font-size": "var(--ui-menu-fs)";
|
|
1391
|
+
readonly color: "var(--ui-surface-fg)";
|
|
1392
|
+
readonly "background-color": "var(--ui-surface)";
|
|
1393
|
+
readonly border: "1px solid var(--ui-border)";
|
|
1394
|
+
readonly "border-radius": "var(--ui-radius)";
|
|
1395
|
+
readonly "box-shadow": "var(--ui-menu-shadow, 0 10px 24px -10px rgb(0 0 0 / 0.35))";
|
|
1396
|
+
readonly "&[hidden]": {
|
|
1397
|
+
readonly display: "none";
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
readonly styles: {
|
|
1401
|
+
readonly ghost: {
|
|
1402
|
+
readonly "background-color": "transparent";
|
|
1403
|
+
readonly "border-color": "transparent";
|
|
1404
|
+
readonly "box-shadow": "none";
|
|
1405
|
+
};
|
|
1406
|
+
readonly soft: {
|
|
1407
|
+
readonly "background-color": "var(--ui-neutral-soft)";
|
|
1408
|
+
};
|
|
1409
|
+
};
|
|
1410
|
+
readonly sizes: {
|
|
1411
|
+
readonly sm: {
|
|
1412
|
+
readonly "--ui-menu-fs": "0.8125rem";
|
|
1413
|
+
readonly "--ui-menu-item-py": "0.25rem";
|
|
1414
|
+
readonly "--ui-menu-item-px": "0.5rem";
|
|
1415
|
+
};
|
|
1416
|
+
readonly lg: {
|
|
1417
|
+
readonly "--ui-menu-fs": "1.0625rem";
|
|
1418
|
+
readonly "--ui-menu-item-py": "0.5rem";
|
|
1419
|
+
readonly "--ui-menu-item-px": "0.75rem";
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
readonly "menu-item": {
|
|
1424
|
+
readonly base: {
|
|
1425
|
+
readonly "--ui-c-text": "var(--ui-surface-fg)";
|
|
1426
|
+
readonly appearance: "none";
|
|
1427
|
+
readonly display: "flex";
|
|
1428
|
+
readonly "align-items": "center";
|
|
1429
|
+
readonly gap: "0.5rem";
|
|
1430
|
+
readonly "box-sizing": "border-box";
|
|
1431
|
+
readonly width: "100%";
|
|
1432
|
+
readonly margin: "0";
|
|
1433
|
+
readonly padding: "var(--ui-menu-item-py, 0.375rem) var(--ui-menu-item-px, 0.625rem)";
|
|
1434
|
+
readonly "font-family": "inherit";
|
|
1435
|
+
readonly "font-size": "var(--ui-menu-fs, 0.9375rem)";
|
|
1436
|
+
readonly "line-height": "1.3";
|
|
1437
|
+
readonly "text-align": "start";
|
|
1438
|
+
readonly "text-decoration": "none";
|
|
1439
|
+
readonly color: "var(--ui-c-text)";
|
|
1440
|
+
readonly "background-color": "transparent";
|
|
1441
|
+
readonly border: "0";
|
|
1442
|
+
readonly "border-radius": "calc(var(--ui-radius) * 0.75)";
|
|
1443
|
+
readonly cursor: "pointer";
|
|
1444
|
+
readonly transition: string;
|
|
1445
|
+
readonly "&:hover, &:focus-visible, &[data-highlighted]": {
|
|
1446
|
+
readonly "background-color": "var(--ui-menu-item-hover-bg, color-mix(in oklab, var(--ui-c-text) 9%, transparent))";
|
|
1447
|
+
readonly color: "var(--ui-menu-item-hover-fg, var(--ui-c-text))";
|
|
1448
|
+
};
|
|
1449
|
+
readonly "&:focus-visible": {
|
|
1450
|
+
readonly outline: "2px solid var(--ui-ring)";
|
|
1451
|
+
readonly "outline-offset": "-2px";
|
|
1452
|
+
};
|
|
1453
|
+
readonly '&[aria-checked="true"]::after': {
|
|
1454
|
+
readonly content: "\"\\2713\" / \"\"";
|
|
1455
|
+
readonly "margin-inline-start": "auto";
|
|
1456
|
+
};
|
|
1457
|
+
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1458
|
+
readonly transition: "none";
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
readonly intents: Record<"primary" | "secondary" | "success" | "warning" | "danger", CssRuleObject>;
|
|
1462
|
+
readonly sizes: {
|
|
1463
|
+
readonly sm: {
|
|
1464
|
+
readonly "--ui-menu-fs": "0.8125rem";
|
|
1465
|
+
readonly "--ui-menu-item-py": "0.25rem";
|
|
1466
|
+
readonly "--ui-menu-item-px": "0.5rem";
|
|
1467
|
+
};
|
|
1468
|
+
readonly lg: {
|
|
1469
|
+
readonly "--ui-menu-fs": "1.0625rem";
|
|
1470
|
+
readonly "--ui-menu-item-py": "0.5rem";
|
|
1471
|
+
readonly "--ui-menu-item-px": "0.75rem";
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
readonly states: {
|
|
1475
|
+
readonly disabled: {
|
|
1476
|
+
readonly opacity: "0.45";
|
|
1477
|
+
readonly cursor: "not-allowed";
|
|
1478
|
+
readonly "pointer-events": "none";
|
|
1479
|
+
};
|
|
1480
|
+
readonly active: {
|
|
1481
|
+
readonly "background-color": "color-mix(in oklab, var(--ui-c-text) 14%, transparent)";
|
|
1482
|
+
readonly "font-weight": "600";
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
};
|
|
1486
|
+
readonly "menu-label": {
|
|
1487
|
+
readonly base: {
|
|
1488
|
+
readonly padding: "var(--ui-menu-item-py, 0.375rem) var(--ui-menu-item-px, 0.625rem)";
|
|
1489
|
+
readonly "font-size": "0.75em";
|
|
1490
|
+
readonly "font-weight": "600";
|
|
1491
|
+
readonly "letter-spacing": "0.02em";
|
|
1492
|
+
readonly color: "color-mix(in oklab, var(--ui-surface-fg) 68%, transparent)";
|
|
1493
|
+
readonly cursor: "default";
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
readonly "menu-separator": {
|
|
1497
|
+
readonly base: {
|
|
1498
|
+
readonly height: "1px";
|
|
1499
|
+
readonly margin: "0.25rem 0";
|
|
1500
|
+
readonly padding: "0";
|
|
1501
|
+
readonly border: "0";
|
|
1502
|
+
readonly "background-color": "var(--ui-border)";
|
|
1503
|
+
readonly "align-self": "stretch";
|
|
1504
|
+
};
|
|
1505
|
+
};
|
|
1506
|
+
readonly avatar: {
|
|
1507
|
+
readonly base: {
|
|
1508
|
+
readonly "--ui-c": "var(--ui-neutral)";
|
|
1509
|
+
readonly "--ui-on-c": "var(--ui-neutral-fg)";
|
|
1510
|
+
readonly "--ui-c-text": "var(--ui-surface-fg)";
|
|
1511
|
+
readonly "--ui-c-soft": "var(--ui-neutral-soft)";
|
|
1512
|
+
readonly "--ui-c-soft-fg": "var(--ui-neutral-soft-fg)";
|
|
1513
|
+
readonly "--ui-avatar-size": "2.5rem";
|
|
1514
|
+
readonly display: "inline-flex";
|
|
1515
|
+
readonly "align-items": "center";
|
|
1516
|
+
readonly "justify-content": "center";
|
|
1517
|
+
readonly "flex-shrink": "0";
|
|
1518
|
+
readonly "box-sizing": "border-box";
|
|
1519
|
+
readonly width: "var(--ui-avatar-size)";
|
|
1520
|
+
readonly height: "var(--ui-avatar-size)";
|
|
1521
|
+
readonly overflow: "hidden";
|
|
1522
|
+
readonly "border-radius": "9999px";
|
|
1523
|
+
readonly border: "1px solid transparent";
|
|
1524
|
+
readonly "font-family": "var(--ui-font-sans)";
|
|
1525
|
+
readonly "font-size": "calc(var(--ui-avatar-size) * 0.4)";
|
|
1526
|
+
readonly "font-weight": "600";
|
|
1527
|
+
readonly "line-height": "1";
|
|
1528
|
+
readonly "text-transform": "uppercase";
|
|
1529
|
+
readonly "user-select": "none";
|
|
1530
|
+
readonly "background-color": "var(--ui-avatar-bg, var(--ui-c))";
|
|
1531
|
+
readonly color: "var(--ui-avatar-fg, var(--ui-on-c))";
|
|
1532
|
+
readonly "& > img": {
|
|
1533
|
+
readonly width: "100%";
|
|
1534
|
+
readonly height: "100%";
|
|
1535
|
+
readonly "object-fit": "cover";
|
|
1536
|
+
readonly display: "block";
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
readonly intents: Record<"primary" | "secondary" | "success" | "warning" | "danger", CssRuleObject>;
|
|
1540
|
+
readonly styles: {
|
|
1541
|
+
readonly soft: {
|
|
1542
|
+
readonly "background-color": "var(--ui-avatar-bg, var(--ui-c-soft))";
|
|
1543
|
+
readonly color: "var(--ui-avatar-fg, var(--ui-c-soft-fg))";
|
|
1544
|
+
};
|
|
1545
|
+
readonly outline: {
|
|
1546
|
+
readonly "background-color": "transparent";
|
|
1547
|
+
readonly color: "var(--ui-c-text)";
|
|
1548
|
+
readonly "border-color": "var(--ui-c-border, var(--ui-c))";
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
readonly sizes: {
|
|
1552
|
+
readonly sm: {
|
|
1553
|
+
readonly "--ui-avatar-size": "1.75rem";
|
|
1554
|
+
};
|
|
1555
|
+
readonly lg: {
|
|
1556
|
+
readonly "--ui-avatar-size": "3.5rem";
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
readonly skeleton: {
|
|
1561
|
+
readonly base: {
|
|
1562
|
+
readonly display: "block";
|
|
1563
|
+
readonly "box-sizing": "border-box";
|
|
1564
|
+
readonly width: "var(--ui-skeleton-w, 100%)";
|
|
1565
|
+
readonly height: "var(--ui-skeleton-h, 1rem)";
|
|
1566
|
+
readonly "border-radius": "calc(var(--ui-radius) * 0.75)";
|
|
1567
|
+
readonly "background-color": "var(--ui-skeleton-bg, color-mix(in oklab, var(--ui-surface-fg) 12%, transparent))";
|
|
1568
|
+
readonly animation: "ui-pulse 1.5s ease-in-out infinite";
|
|
1569
|
+
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1570
|
+
readonly animation: "none";
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
readonly separator: {
|
|
1575
|
+
readonly base: {
|
|
1576
|
+
readonly display: "block";
|
|
1577
|
+
readonly "box-sizing": "border-box";
|
|
1578
|
+
readonly width: "100%";
|
|
1579
|
+
readonly height: "1px";
|
|
1580
|
+
readonly margin: "var(--ui-separator-gap, 1rem) 0";
|
|
1581
|
+
readonly padding: "0";
|
|
1582
|
+
readonly border: "0";
|
|
1583
|
+
readonly "flex-shrink": "0";
|
|
1584
|
+
readonly "background-color": "var(--ui-separator-color, var(--ui-border))";
|
|
1585
|
+
readonly '&[aria-orientation="vertical"], &[data-orientation="vertical"]': {
|
|
1586
|
+
readonly display: "inline-block";
|
|
1587
|
+
readonly width: "1px";
|
|
1588
|
+
readonly height: "auto";
|
|
1589
|
+
readonly "align-self": "stretch";
|
|
1590
|
+
readonly "min-height": "1em";
|
|
1591
|
+
readonly margin: "0 var(--ui-separator-gap, 1rem)";
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
};
|
|
1595
|
+
readonly breadcrumb: {
|
|
1596
|
+
readonly base: {
|
|
1597
|
+
readonly "--ui-breadcrumb-fs": "0.9375rem";
|
|
1598
|
+
readonly display: "flex";
|
|
1599
|
+
readonly "flex-wrap": "wrap";
|
|
1600
|
+
readonly "align-items": "center";
|
|
1601
|
+
readonly gap: "0.25rem 0.5rem";
|
|
1602
|
+
readonly margin: "0";
|
|
1603
|
+
readonly padding: "0";
|
|
1604
|
+
readonly "list-style": "none";
|
|
1605
|
+
readonly "font-family": "var(--ui-font-sans)";
|
|
1606
|
+
readonly "font-size": "var(--ui-breadcrumb-fs)";
|
|
1607
|
+
readonly "line-height": "1.4";
|
|
1608
|
+
readonly color: "color-mix(in oklab, var(--ui-surface-fg) 68%, transparent)";
|
|
1609
|
+
readonly "& > li": {
|
|
1610
|
+
readonly display: "inline-flex";
|
|
1611
|
+
readonly "align-items": "center";
|
|
1612
|
+
readonly gap: "0.5rem";
|
|
1613
|
+
};
|
|
1614
|
+
readonly '& > li + li::before': {
|
|
1615
|
+
readonly content: "\"/\" / \"\"";
|
|
1616
|
+
readonly color: "var(--ui-breadcrumb-sep, color-mix(in oklab, var(--ui-surface-fg) 45%, transparent))";
|
|
1617
|
+
};
|
|
1618
|
+
readonly "& a": {
|
|
1619
|
+
readonly color: "inherit";
|
|
1620
|
+
readonly "text-decoration": "none";
|
|
1621
|
+
readonly "border-radius": "calc(var(--ui-radius) * 0.5)";
|
|
1622
|
+
readonly "&:hover": {
|
|
1623
|
+
readonly color: "var(--ui-surface-fg)";
|
|
1624
|
+
readonly "text-decoration": "underline";
|
|
1625
|
+
};
|
|
1626
|
+
readonly "&:focus-visible": {
|
|
1627
|
+
readonly outline: "2px solid var(--ui-ring)";
|
|
1628
|
+
readonly "outline-offset": "2px";
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
readonly '& [aria-current="page"]': {
|
|
1632
|
+
readonly color: "var(--ui-surface-fg)";
|
|
1633
|
+
readonly "font-weight": "600";
|
|
1634
|
+
};
|
|
1635
|
+
};
|
|
1636
|
+
readonly sizes: {
|
|
1637
|
+
readonly sm: {
|
|
1638
|
+
readonly "--ui-breadcrumb-fs": "0.8125rem";
|
|
1639
|
+
};
|
|
1640
|
+
readonly lg: {
|
|
1641
|
+
readonly "--ui-breadcrumb-fs": "1.0625rem";
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
readonly pagination: {
|
|
1646
|
+
readonly base: {
|
|
1647
|
+
readonly "--ui-c": "var(--ui-neutral)";
|
|
1648
|
+
readonly "--ui-on-c": "var(--ui-neutral-fg)";
|
|
1649
|
+
readonly "--ui-c-text": "var(--ui-surface-fg)";
|
|
1650
|
+
readonly "--ui-pagination-size": "2.25rem";
|
|
1651
|
+
readonly "--ui-pagination-fs": "0.9375rem";
|
|
1652
|
+
readonly display: "flex";
|
|
1653
|
+
readonly "flex-wrap": "wrap";
|
|
1654
|
+
readonly "align-items": "center";
|
|
1655
|
+
readonly gap: "0.25rem";
|
|
1656
|
+
readonly margin: "0";
|
|
1657
|
+
readonly padding: "0";
|
|
1658
|
+
readonly "list-style": "none";
|
|
1659
|
+
};
|
|
1660
|
+
readonly intents: Record<"primary" | "secondary" | "success" | "warning" | "danger", CssRuleObject>;
|
|
1661
|
+
readonly sizes: {
|
|
1662
|
+
readonly sm: {
|
|
1663
|
+
readonly "--ui-pagination-size": "1.75rem";
|
|
1664
|
+
readonly "--ui-pagination-fs": "0.8125rem";
|
|
1665
|
+
};
|
|
1666
|
+
readonly lg: {
|
|
1667
|
+
readonly "--ui-pagination-size": "2.75rem";
|
|
1668
|
+
readonly "--ui-pagination-fs": "1.0625rem";
|
|
1669
|
+
};
|
|
1670
|
+
};
|
|
1671
|
+
};
|
|
1672
|
+
readonly "pagination-item": {
|
|
1673
|
+
readonly base: {
|
|
1674
|
+
readonly appearance: "none";
|
|
1675
|
+
readonly display: "inline-flex";
|
|
1676
|
+
readonly "align-items": "center";
|
|
1677
|
+
readonly "justify-content": "center";
|
|
1678
|
+
readonly "box-sizing": "border-box";
|
|
1679
|
+
readonly "min-width": "var(--ui-pagination-size, 2.25rem)";
|
|
1680
|
+
readonly height: "var(--ui-pagination-size, 2.25rem)";
|
|
1681
|
+
readonly margin: "0";
|
|
1682
|
+
readonly padding: "0 0.5rem";
|
|
1683
|
+
readonly "font-family": "var(--ui-font-sans)";
|
|
1684
|
+
readonly "font-size": "var(--ui-pagination-fs, 0.9375rem)";
|
|
1685
|
+
readonly "font-weight": "500";
|
|
1686
|
+
readonly "line-height": "1";
|
|
1687
|
+
readonly "text-decoration": "none";
|
|
1688
|
+
readonly color: "var(--ui-surface-fg)";
|
|
1689
|
+
readonly "background-color": "transparent";
|
|
1690
|
+
readonly border: "1px solid var(--ui-border)";
|
|
1691
|
+
readonly "border-radius": "var(--ui-radius)";
|
|
1692
|
+
readonly cursor: "pointer";
|
|
1693
|
+
readonly transition: string;
|
|
1694
|
+
readonly "&:hover": {
|
|
1695
|
+
readonly "background-color": "color-mix(in oklab, var(--ui-surface-fg) 8%, transparent)";
|
|
1696
|
+
};
|
|
1697
|
+
readonly "&:focus-visible": {
|
|
1698
|
+
readonly outline: "2px solid var(--ui-ring)";
|
|
1699
|
+
readonly "outline-offset": "2px";
|
|
1700
|
+
};
|
|
1701
|
+
readonly '&[aria-current="page"], &[aria-current="page"]:hover': {
|
|
1702
|
+
readonly "background-color": "var(--ui-c)";
|
|
1703
|
+
readonly color: "var(--ui-on-c)";
|
|
1704
|
+
readonly "border-color": "var(--ui-c)";
|
|
1705
|
+
};
|
|
1706
|
+
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1707
|
+
readonly transition: "none";
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
readonly states: {
|
|
1711
|
+
readonly disabled: {
|
|
1712
|
+
readonly opacity: "0.45";
|
|
1713
|
+
readonly cursor: "not-allowed";
|
|
1714
|
+
readonly "pointer-events": "none";
|
|
1715
|
+
};
|
|
1716
|
+
readonly active: {
|
|
1717
|
+
readonly "background-color": "var(--ui-c)";
|
|
1718
|
+
readonly color: "var(--ui-on-c)";
|
|
1719
|
+
readonly "border-color": "var(--ui-c)";
|
|
1720
|
+
readonly "&:hover": {
|
|
1721
|
+
readonly "background-color": "var(--ui-c)";
|
|
1722
|
+
};
|
|
1723
|
+
};
|
|
1724
|
+
};
|
|
1725
|
+
};
|
|
1726
|
+
readonly slider: {
|
|
1727
|
+
readonly base: {
|
|
1728
|
+
readonly "--ui-c": "var(--ui-neutral)";
|
|
1729
|
+
readonly "--ui-c-text": "var(--ui-surface-fg)";
|
|
1730
|
+
readonly "--ui-on-c": "var(--ui-neutral-fg)";
|
|
1731
|
+
readonly "--ui-c-soft": "var(--ui-neutral-soft)";
|
|
1732
|
+
readonly "--ui-c-soft-fg": "var(--ui-neutral-soft-fg)";
|
|
1733
|
+
readonly appearance: "none";
|
|
1734
|
+
readonly "-webkit-appearance": "none";
|
|
1735
|
+
readonly display: "block";
|
|
1736
|
+
readonly width: "100%";
|
|
1737
|
+
readonly height: "var(--ui-slider-thumb, 1.25rem)";
|
|
1738
|
+
readonly margin: "0";
|
|
1739
|
+
readonly padding: "0";
|
|
1740
|
+
readonly "background-color": "transparent";
|
|
1741
|
+
readonly cursor: "pointer";
|
|
1742
|
+
readonly "&::-webkit-slider-runnable-track": CssRuleObject;
|
|
1743
|
+
readonly "&::-moz-range-track": CssRuleObject;
|
|
1744
|
+
readonly "&::-webkit-slider-thumb": {
|
|
1745
|
+
readonly "-webkit-appearance": "none";
|
|
1746
|
+
readonly appearance: "none";
|
|
1747
|
+
readonly "margin-top": "calc((var(--ui-slider-track, 0.375rem) - var(--ui-slider-thumb, 1.25rem)) / 2)";
|
|
1748
|
+
};
|
|
1749
|
+
readonly "&::-moz-range-thumb": CssRuleObject;
|
|
1750
|
+
readonly "&:focus-visible": {
|
|
1751
|
+
readonly outline: "2px solid var(--ui-ring)";
|
|
1752
|
+
readonly "outline-offset": "4px";
|
|
1753
|
+
readonly "border-radius": "9999px";
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
readonly intents: Record<"primary" | "secondary" | "success" | "warning" | "danger", CssRuleObject>;
|
|
1757
|
+
readonly sizes: {
|
|
1758
|
+
readonly sm: {
|
|
1759
|
+
readonly "--ui-slider-track": "0.25rem";
|
|
1760
|
+
readonly "--ui-slider-thumb": "1rem";
|
|
1761
|
+
};
|
|
1762
|
+
readonly lg: {
|
|
1763
|
+
readonly "--ui-slider-track": "0.5rem";
|
|
1764
|
+
readonly "--ui-slider-thumb": "1.5rem";
|
|
1765
|
+
};
|
|
1766
|
+
};
|
|
1767
|
+
readonly states: {
|
|
1768
|
+
readonly disabled: {
|
|
1769
|
+
readonly opacity: "0.45";
|
|
1770
|
+
readonly cursor: "not-allowed";
|
|
1771
|
+
};
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1081
1774
|
readonly modal: {
|
|
1082
1775
|
readonly base: {
|
|
1083
1776
|
readonly position: "fixed";
|
|
@@ -1108,8 +1801,62 @@ export declare const defaultAdapter: {
|
|
|
1108
1801
|
readonly "&::backdrop": {
|
|
1109
1802
|
readonly background: "transparent";
|
|
1110
1803
|
};
|
|
1804
|
+
readonly '&[data-placement="start"], &[data-placement="end"]': {
|
|
1805
|
+
readonly padding: "0";
|
|
1806
|
+
readonly "align-items": "stretch";
|
|
1807
|
+
readonly "justify-content": "flex-start";
|
|
1808
|
+
};
|
|
1809
|
+
readonly '&[data-placement="end"]': {
|
|
1810
|
+
readonly "justify-content": "flex-end";
|
|
1811
|
+
};
|
|
1812
|
+
readonly '&[data-placement="top"], &[data-placement="bottom"]': {
|
|
1813
|
+
readonly padding: "0";
|
|
1814
|
+
readonly "justify-content": "stretch";
|
|
1815
|
+
readonly "align-items": "flex-start";
|
|
1816
|
+
};
|
|
1817
|
+
readonly '&[data-placement="bottom"]': {
|
|
1818
|
+
readonly "align-items": "flex-end";
|
|
1819
|
+
};
|
|
1820
|
+
readonly '&[data-placement] > .ui-modal-box': {
|
|
1821
|
+
readonly "max-height": "none";
|
|
1822
|
+
readonly "border-radius": "0";
|
|
1823
|
+
readonly transition: "transform 0.25s ease";
|
|
1824
|
+
};
|
|
1825
|
+
readonly '&[data-placement="start"] > .ui-modal-box, &[data-placement="end"] > .ui-modal-box': {
|
|
1826
|
+
readonly width: "min(var(--ui-modal-w, 24rem), 100%)";
|
|
1827
|
+
readonly height: "100%";
|
|
1828
|
+
};
|
|
1829
|
+
readonly '&[data-placement="top"] > .ui-modal-box, &[data-placement="bottom"] > .ui-modal-box': {
|
|
1830
|
+
readonly width: "100%";
|
|
1831
|
+
readonly height: "auto";
|
|
1832
|
+
readonly "max-height": "var(--ui-drawer-h, 80%)";
|
|
1833
|
+
};
|
|
1834
|
+
readonly '&[data-placement="start"] > .ui-modal-box': {
|
|
1835
|
+
readonly transform: "translateX(-100%)";
|
|
1836
|
+
};
|
|
1837
|
+
readonly '&[data-placement="end"] > .ui-modal-box': {
|
|
1838
|
+
readonly transform: "translateX(100%)";
|
|
1839
|
+
};
|
|
1840
|
+
readonly '&[data-placement="start"]:dir(rtl) > .ui-modal-box': {
|
|
1841
|
+
readonly transform: "translateX(100%)";
|
|
1842
|
+
};
|
|
1843
|
+
readonly '&[data-placement="end"]:dir(rtl) > .ui-modal-box': {
|
|
1844
|
+
readonly transform: "translateX(-100%)";
|
|
1845
|
+
};
|
|
1846
|
+
readonly '&[data-placement="top"] > .ui-modal-box': {
|
|
1847
|
+
readonly transform: "translateY(-100%)";
|
|
1848
|
+
};
|
|
1849
|
+
readonly '&[data-placement="bottom"] > .ui-modal-box': {
|
|
1850
|
+
readonly transform: "translateY(100%)";
|
|
1851
|
+
};
|
|
1852
|
+
readonly "&[data-placement][open] > .ui-modal-box, &[data-placement]:target > .ui-modal-box, &[data-placement].ui-active > .ui-modal-box": {
|
|
1853
|
+
readonly transform: "none";
|
|
1854
|
+
};
|
|
1111
1855
|
readonly "@media (prefers-reduced-motion: reduce)": {
|
|
1112
1856
|
readonly transition: "none";
|
|
1857
|
+
readonly "&[data-placement] > .ui-modal-box": {
|
|
1858
|
+
readonly transition: "none";
|
|
1859
|
+
};
|
|
1113
1860
|
};
|
|
1114
1861
|
};
|
|
1115
1862
|
readonly styles: {
|