@citrusworx/juiceui 0.8.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -5
- package/dist/index.css +2600 -75
- package/dist/index.d.ts +14 -0
- package/dist/index.js +1192 -196
- package/dist/js/juice.d.ts +14 -0
- package/dist/js/src/breadcrumb/breadcrumb-runtime.d.ts +64 -0
- package/dist/js/src/checkbox/checkbox-runtime.d.ts +51 -0
- package/dist/js/src/pagination/pagination-runtime.d.ts +79 -0
- package/dist/js/src/progress/progress-runtime.d.ts +51 -0
- package/dist/js/src/radio/radio-runtime.d.ts +52 -0
- package/dist/js/src/slider/slider-runtime.d.ts +55 -0
- package/dist/js/src/switch/switch-runtime.d.ts +50 -0
- package/dist/themes/aquaflux.css +391 -0
- package/dist/themes/citrusmint.css +347 -0
- package/dist/themes/kiwipress.css +406 -0
- package/dist/themes/retro-afterburn.css +1701 -0
- package/dist/themes/retro-arcade-glow.css +1701 -0
- package/dist/themes/retro-boardwalk.css +1553 -0
- package/dist/themes/retro-denim-dial.css +1553 -0
- package/dist/themes/retro-forest-radio.css +1553 -0
- package/dist/themes/retro-orchard-club.css +1553 -0
- package/dist/themes/retro-poolside-pop.css +1553 -0
- package/dist/themes/retro-signal-garden.css +1553 -0
- package/dist/themes/retro-sunset-motel.css +1553 -0
- package/dist/themes/retro-violet-parlor.css +1553 -0
- package/dist/themes/tide.css +393 -0
- package/package.json +92 -2
package/dist/themes/tide.css
CHANGED
|
@@ -330,6 +330,117 @@
|
|
|
330
330
|
--juice-menu-focus-ring: var(--tide-menu-focus-ring);
|
|
331
331
|
--juice-menu-opener: var(--tide-menu-opener);
|
|
332
332
|
--juice-menu-opener-ink: var(--tide-menu-opener-ink);
|
|
333
|
+
/* Switch chrome — dark track, not a white pill. The host is a
|
|
334
|
+
surface control, not a CTA. Distinct from checkbox / menuitemcheckbox. */
|
|
335
|
+
--tide-switch-track: var(--tide-surface-muted);
|
|
336
|
+
--tide-switch-track-checked: var(--tide-accent);
|
|
337
|
+
--tide-switch-thumb: var(--tide-heading);
|
|
338
|
+
--tide-switch-thumb-checked: var(--tide-heading);
|
|
339
|
+
--tide-switch-focus-ring: var(--tide-accent);
|
|
340
|
+
--juice-switch-track: var(--tide-switch-track);
|
|
341
|
+
--juice-switch-track-checked: var(--tide-switch-track-checked);
|
|
342
|
+
--juice-switch-thumb: var(--tide-switch-thumb);
|
|
343
|
+
--juice-switch-thumb-checked: var(--tide-switch-thumb-checked);
|
|
344
|
+
--juice-switch-focus-ring: var(--tide-switch-focus-ring);
|
|
345
|
+
/* Slider chrome — dark track, not a white groove. Horizontal only.
|
|
346
|
+
The thumb is a surface control, not a CTA. Distinct from range
|
|
347
|
+
input, progress, and scrollbar. */
|
|
348
|
+
--tide-slider-track: var(--tide-surface-muted);
|
|
349
|
+
--tide-slider-track-border: var(--tide-border);
|
|
350
|
+
--tide-slider-fill: var(--tide-accent);
|
|
351
|
+
--tide-slider-thumb: var(--tide-heading);
|
|
352
|
+
--tide-slider-thumb-border: var(--tide-border);
|
|
353
|
+
--tide-slider-thumb-shadow: 0 1px 2px var(--tide-shadow);
|
|
354
|
+
--tide-slider-focus-ring: var(--tide-accent);
|
|
355
|
+
--juice-slider-track: var(--tide-slider-track);
|
|
356
|
+
--juice-slider-track-border: var(--tide-slider-track-border);
|
|
357
|
+
--juice-slider-fill: var(--tide-slider-fill);
|
|
358
|
+
--juice-slider-thumb: var(--tide-slider-thumb);
|
|
359
|
+
--juice-slider-thumb-border: var(--tide-slider-thumb-border);
|
|
360
|
+
--juice-slider-thumb-shadow: var(--tide-slider-thumb-shadow);
|
|
361
|
+
--juice-slider-focus-ring: var(--tide-slider-focus-ring);
|
|
362
|
+
/* Checkbox chrome — dark box, not a white square. The host is a
|
|
363
|
+
surface control, not a CTA. Binary only. Distinct from switch
|
|
364
|
+
and menuitemcheckbox. */
|
|
365
|
+
--tide-checkbox-control: var(--tide-surface-strong);
|
|
366
|
+
--tide-checkbox-control-checked: var(--tide-accent);
|
|
367
|
+
--tide-checkbox-border: var(--tide-border);
|
|
368
|
+
--tide-checkbox-border-checked: var(--tide-accent);
|
|
369
|
+
--tide-checkbox-mark: var(--tide-heading);
|
|
370
|
+
--tide-checkbox-focus-ring: var(--tide-accent);
|
|
371
|
+
--juice-checkbox-control: var(--tide-checkbox-control);
|
|
372
|
+
--juice-checkbox-control-checked: var(--tide-checkbox-control-checked);
|
|
373
|
+
--juice-checkbox-border: var(--tide-checkbox-border);
|
|
374
|
+
--juice-checkbox-border-checked: var(--tide-checkbox-border-checked);
|
|
375
|
+
--juice-checkbox-mark: var(--tide-checkbox-mark);
|
|
376
|
+
--juice-checkbox-focus-ring: var(--tide-checkbox-focus-ring);
|
|
377
|
+
/* Radio chrome — dark disc, not a white ring. The host is a surface
|
|
378
|
+
control, not a CTA. The group is layout-only. Distinct from switch
|
|
379
|
+
and checkbox. */
|
|
380
|
+
--tide-radio-control: var(--tide-surface-strong);
|
|
381
|
+
--tide-radio-control-checked: var(--tide-surface-strong);
|
|
382
|
+
--tide-radio-border: var(--tide-border);
|
|
383
|
+
--tide-radio-border-checked: var(--tide-accent);
|
|
384
|
+
--tide-radio-mark: var(--tide-accent);
|
|
385
|
+
--tide-radio-focus-ring: var(--tide-accent);
|
|
386
|
+
--juice-radio-control: var(--tide-radio-control);
|
|
387
|
+
--juice-radio-control-checked: var(--tide-radio-control-checked);
|
|
388
|
+
--juice-radio-border: var(--tide-radio-border);
|
|
389
|
+
--juice-radio-border-checked: var(--tide-radio-border-checked);
|
|
390
|
+
--juice-radio-mark: var(--tide-radio-mark);
|
|
391
|
+
--juice-radio-focus-ring: var(--tide-radio-focus-ring);
|
|
392
|
+
/* Breadcrumb chrome — dark trail, not a light bar. Inline, not a site
|
|
393
|
+
nav and not a CTA. Surface stays transparent unless a bar is wanted.
|
|
394
|
+
Distinct from tabs, wizard steps, and pagination. */
|
|
395
|
+
--tide-breadcrumb-ink: var(--tide-text-muted);
|
|
396
|
+
--tide-breadcrumb-ink-current: var(--tide-heading);
|
|
397
|
+
--tide-breadcrumb-ink-hover: var(--tide-accent);
|
|
398
|
+
--tide-breadcrumb-separator: var(--tide-border);
|
|
399
|
+
--tide-breadcrumb-focus-ring: var(--tide-accent);
|
|
400
|
+
--tide-breadcrumb-surface: transparent;
|
|
401
|
+
--juice-breadcrumb-ink: var(--tide-breadcrumb-ink);
|
|
402
|
+
--juice-breadcrumb-ink-current: var(--tide-breadcrumb-ink-current);
|
|
403
|
+
--juice-breadcrumb-ink-hover: var(--tide-breadcrumb-ink-hover);
|
|
404
|
+
--juice-breadcrumb-separator: var(--tide-breadcrumb-separator);
|
|
405
|
+
--juice-breadcrumb-focus-ring: var(--tide-breadcrumb-focus-ring);
|
|
406
|
+
--juice-breadcrumb-surface: var(--tide-breadcrumb-surface);
|
|
407
|
+
/* Progress chrome — dark track, not a white groove. Fill stays
|
|
408
|
+
accent. Distinct from slider, spinner, and a native <progress>
|
|
409
|
+
restyle. Inline status — no overlay. */
|
|
410
|
+
--tide-progress-track: var(--tide-surface-muted);
|
|
411
|
+
--tide-progress-track-border: var(--tide-border);
|
|
412
|
+
--tide-progress-fill: var(--tide-accent);
|
|
413
|
+
--tide-progress-ink: var(--tide-text);
|
|
414
|
+
--tide-progress-focus-ring: var(--tide-accent);
|
|
415
|
+
--juice-progress-track: var(--tide-progress-track);
|
|
416
|
+
--juice-progress-track-border: var(--tide-progress-track-border);
|
|
417
|
+
--juice-progress-fill: var(--tide-progress-fill);
|
|
418
|
+
--juice-progress-ink: var(--tide-progress-ink);
|
|
419
|
+
--juice-progress-focus-ring: var(--tide-progress-focus-ring);
|
|
420
|
+
/* Pagination chrome — dark chips, not a light bar and not a CTA.
|
|
421
|
+
Current fill stays accent; ink on that fill is heading, not the
|
|
422
|
+
page color. The trail stays transparent. Distinct from breadcrumb,
|
|
423
|
+
nav[type="pagination"], tabs, and wizard steps. */
|
|
424
|
+
--tide-pagination-surface: var(--tide-surface-strong);
|
|
425
|
+
--tide-pagination-surface-hover: var(--tide-surface-muted);
|
|
426
|
+
--tide-pagination-surface-current: var(--tide-accent);
|
|
427
|
+
--tide-pagination-ink: var(--tide-text);
|
|
428
|
+
--tide-pagination-ink-hover: var(--tide-accent);
|
|
429
|
+
--tide-pagination-ink-current: var(--tide-heading);
|
|
430
|
+
--tide-pagination-ink-disabled: var(--tide-text-muted);
|
|
431
|
+
--tide-pagination-border: var(--tide-border);
|
|
432
|
+
--tide-pagination-focus-ring: var(--tide-accent);
|
|
433
|
+
--tide-pagination-ellipsis: var(--tide-text-muted);
|
|
434
|
+
--juice-pagination-surface: var(--tide-pagination-surface);
|
|
435
|
+
--juice-pagination-surface-hover: var(--tide-pagination-surface-hover);
|
|
436
|
+
--juice-pagination-surface-current: var(--tide-pagination-surface-current);
|
|
437
|
+
--juice-pagination-ink: var(--tide-pagination-ink);
|
|
438
|
+
--juice-pagination-ink-hover: var(--tide-pagination-ink-hover);
|
|
439
|
+
--juice-pagination-ink-current: var(--tide-pagination-ink-current);
|
|
440
|
+
--juice-pagination-ink-disabled: var(--tide-pagination-ink-disabled);
|
|
441
|
+
--juice-pagination-border: var(--tide-pagination-border);
|
|
442
|
+
--juice-pagination-focus-ring: var(--tide-pagination-focus-ring);
|
|
443
|
+
--juice-pagination-ellipsis: var(--tide-pagination-ellipsis);
|
|
333
444
|
min-height: 100vh;
|
|
334
445
|
background-color: var(--tide-page);
|
|
335
446
|
background-image: var(--tide-page-background);
|
|
@@ -1004,4 +1115,286 @@
|
|
|
1004
1115
|
|
|
1005
1116
|
[theme=tide] [menu-label] {
|
|
1006
1117
|
color: var(--juice-menu-ink);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/* Switch chrome. Beat [theme] :where(button) CTA defaults.
|
|
1121
|
+
Track stays dark. The host is a surface control, not a CTA.
|
|
1122
|
+
Runtime is later. */
|
|
1123
|
+
[theme=tide] button[switch],
|
|
1124
|
+
[theme=tide] [switch] {
|
|
1125
|
+
background-image: none;
|
|
1126
|
+
background-color: var(--juice-switch-track);
|
|
1127
|
+
box-shadow: none;
|
|
1128
|
+
transform: none;
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
[theme=tide] button[switch][aria-checked=true],
|
|
1132
|
+
[theme=tide] [switch][aria-checked=true],
|
|
1133
|
+
[theme=tide] [switch]:checked {
|
|
1134
|
+
background-image: none;
|
|
1135
|
+
background-color: var(--juice-switch-track-checked);
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
[theme=tide] button[switch]:hover,
|
|
1139
|
+
[theme=tide] [switch]:hover,
|
|
1140
|
+
[theme=tide] button[switch]:focus-visible,
|
|
1141
|
+
[theme=tide] [switch]:focus-visible {
|
|
1142
|
+
box-shadow: none;
|
|
1143
|
+
transform: none;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
[theme=tide] button[switch]:focus-visible,
|
|
1147
|
+
[theme=tide] [switch]:focus-visible {
|
|
1148
|
+
outline: 2px solid var(--juice-switch-focus-ring);
|
|
1149
|
+
outline-offset: 2px;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
/* Slider chrome. Beat [theme] :where(button) CTA defaults.
|
|
1153
|
+
Track stays dark. The thumb is a surface control, not a CTA.
|
|
1154
|
+
Horizontal only. Runtime is later. */
|
|
1155
|
+
[theme=tide] button[slider]:not([slider=vertical]),
|
|
1156
|
+
[theme=tide] [slider]:not([slider=vertical]) {
|
|
1157
|
+
background-image: none;
|
|
1158
|
+
background-color: transparent;
|
|
1159
|
+
box-shadow: none;
|
|
1160
|
+
transform: none;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
[theme=tide] button[slider-thumb],
|
|
1164
|
+
[theme=tide] [slider-thumb] {
|
|
1165
|
+
background-image: none;
|
|
1166
|
+
background-color: var(--juice-slider-thumb);
|
|
1167
|
+
border-color: var(--juice-slider-thumb-border);
|
|
1168
|
+
box-shadow: var(--juice-slider-thumb-shadow);
|
|
1169
|
+
transform: translate(-50%, -50%);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
[theme=tide] button[slider-thumb]:hover,
|
|
1173
|
+
[theme=tide] [slider-thumb]:hover,
|
|
1174
|
+
[theme=tide] button[slider-thumb]:focus-visible,
|
|
1175
|
+
[theme=tide] [slider-thumb]:focus-visible {
|
|
1176
|
+
background-image: none;
|
|
1177
|
+
background-color: var(--juice-slider-thumb);
|
|
1178
|
+
box-shadow: var(--juice-slider-thumb-shadow);
|
|
1179
|
+
transform: translate(-50%, -50%);
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
[theme=tide] button[slider-thumb]:focus-visible,
|
|
1183
|
+
[theme=tide] [slider-thumb]:focus-visible {
|
|
1184
|
+
outline: 2px solid var(--juice-slider-focus-ring);
|
|
1185
|
+
outline-offset: 2px;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/* Checkbox chrome. Beat [theme] :where(button) CTA defaults.
|
|
1189
|
+
The box stays dark. The host is a surface control, not a CTA.
|
|
1190
|
+
Binary only. Runtime is later. */
|
|
1191
|
+
[theme=tide] button[checkbox],
|
|
1192
|
+
[theme=tide] [checkbox] {
|
|
1193
|
+
background-image: none;
|
|
1194
|
+
background-color: var(--juice-checkbox-control);
|
|
1195
|
+
border-color: var(--juice-checkbox-border);
|
|
1196
|
+
box-shadow: none;
|
|
1197
|
+
transform: none;
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
[theme=tide] button[checkbox][aria-checked=true],
|
|
1201
|
+
[theme=tide] [checkbox][aria-checked=true],
|
|
1202
|
+
[theme=tide] [checkbox]:checked {
|
|
1203
|
+
background-image: none;
|
|
1204
|
+
background-color: var(--juice-checkbox-control-checked);
|
|
1205
|
+
border-color: var(--juice-checkbox-border-checked);
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
[theme=tide] button[checkbox]:hover,
|
|
1209
|
+
[theme=tide] [checkbox]:hover,
|
|
1210
|
+
[theme=tide] button[checkbox]:focus-visible,
|
|
1211
|
+
[theme=tide] [checkbox]:focus-visible {
|
|
1212
|
+
box-shadow: none;
|
|
1213
|
+
transform: none;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
[theme=tide] button[checkbox]:focus-visible,
|
|
1217
|
+
[theme=tide] [checkbox]:focus-visible {
|
|
1218
|
+
outline: 2px solid var(--juice-checkbox-focus-ring);
|
|
1219
|
+
outline-offset: 2px;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
/* Radio chrome. Beat [theme] :where(button) CTA defaults.
|
|
1223
|
+
The disc stays dark. The host is a surface control, not a CTA.
|
|
1224
|
+
Group layout is author-owned. Runtime is later. */
|
|
1225
|
+
[theme=tide] button[radio],
|
|
1226
|
+
[theme=tide] [radio] {
|
|
1227
|
+
background-image: none;
|
|
1228
|
+
background-color: var(--juice-radio-control);
|
|
1229
|
+
border-color: var(--juice-radio-border);
|
|
1230
|
+
box-shadow: none;
|
|
1231
|
+
transform: none;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
[theme=tide] button[radio][aria-checked=true],
|
|
1235
|
+
[theme=tide] [radio][aria-checked=true],
|
|
1236
|
+
[theme=tide] [radio]:checked {
|
|
1237
|
+
background-image: none;
|
|
1238
|
+
background-color: var(--juice-radio-control-checked);
|
|
1239
|
+
border-color: var(--juice-radio-border-checked);
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
[theme=tide] button[radio]:hover,
|
|
1243
|
+
[theme=tide] [radio]:hover,
|
|
1244
|
+
[theme=tide] button[radio]:focus-visible,
|
|
1245
|
+
[theme=tide] [radio]:focus-visible {
|
|
1246
|
+
box-shadow: none;
|
|
1247
|
+
transform: none;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
[theme=tide] button[radio]:focus-visible,
|
|
1251
|
+
[theme=tide] [radio]:focus-visible {
|
|
1252
|
+
outline: 2px solid var(--juice-radio-focus-ring);
|
|
1253
|
+
outline-offset: 2px;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/* Breadcrumb chrome. Beat [theme] :where(nav) bars and :where(a) link color.
|
|
1257
|
+
Inline trail on the dark page, not a light bar and not a CTA.
|
|
1258
|
+
Runtime is later. */
|
|
1259
|
+
[theme=tide] [breadcrumb],
|
|
1260
|
+
[theme=tide] nav[breadcrumb] {
|
|
1261
|
+
background-image: none;
|
|
1262
|
+
background-color: var(--juice-breadcrumb-surface);
|
|
1263
|
+
border: none;
|
|
1264
|
+
box-shadow: none;
|
|
1265
|
+
-webkit-backdrop-filter: none;
|
|
1266
|
+
backdrop-filter: none;
|
|
1267
|
+
color: var(--juice-breadcrumb-ink);
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
[theme=tide] [breadcrumb] a,
|
|
1271
|
+
[theme=tide] [breadcrumb-link],
|
|
1272
|
+
[theme=tide] a[breadcrumb-link],
|
|
1273
|
+
[theme=tide] button[breadcrumb-link] {
|
|
1274
|
+
background-image: none;
|
|
1275
|
+
background-color: transparent;
|
|
1276
|
+
color: var(--juice-breadcrumb-ink);
|
|
1277
|
+
box-shadow: none;
|
|
1278
|
+
transform: none;
|
|
1279
|
+
text-decoration: none;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
[theme=tide] [breadcrumb] a:hover,
|
|
1283
|
+
[theme=tide] [breadcrumb-link]:hover,
|
|
1284
|
+
[theme=tide] a[breadcrumb-link]:hover,
|
|
1285
|
+
[theme=tide] button[breadcrumb-link]:hover {
|
|
1286
|
+
background-image: none;
|
|
1287
|
+
background-color: transparent;
|
|
1288
|
+
color: var(--juice-breadcrumb-ink-hover);
|
|
1289
|
+
box-shadow: none;
|
|
1290
|
+
transform: none;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
[theme=tide] [breadcrumb] [aria-current=page],
|
|
1294
|
+
[theme=tide] [breadcrumb] [aria-current=page] :is(a, [breadcrumb-link]),
|
|
1295
|
+
[theme=tide] [breadcrumb-link][aria-current=page] {
|
|
1296
|
+
color: var(--juice-breadcrumb-ink-current);
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
[theme=tide] [breadcrumb] a:focus-visible,
|
|
1300
|
+
[theme=tide] [breadcrumb-link]:focus-visible,
|
|
1301
|
+
[theme=tide] button[breadcrumb-link]:focus-visible {
|
|
1302
|
+
outline: 2px solid var(--juice-breadcrumb-focus-ring);
|
|
1303
|
+
outline-offset: 2px;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
/* Progress chrome. Dark track, not a white groove and not a CTA.
|
|
1307
|
+
Runtime is later. */
|
|
1308
|
+
[theme=tide] [progress] {
|
|
1309
|
+
background-image: none;
|
|
1310
|
+
background-color: transparent;
|
|
1311
|
+
border: none;
|
|
1312
|
+
box-shadow: none;
|
|
1313
|
+
color: var(--juice-progress-ink);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
[theme=tide] [progress-fill] {
|
|
1317
|
+
background-image: none;
|
|
1318
|
+
background-color: var(--juice-progress-fill);
|
|
1319
|
+
box-shadow: none;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
[theme=tide] [progress-label] {
|
|
1323
|
+
background-image: none;
|
|
1324
|
+
background-color: transparent;
|
|
1325
|
+
color: var(--juice-progress-ink);
|
|
1326
|
+
box-shadow: none;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
[theme=tide] [progress]:focus-visible {
|
|
1330
|
+
outline: 2px solid var(--juice-progress-focus-ring);
|
|
1331
|
+
outline-offset: 2px;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/* Pagination chrome. Dark chips, not a light bar and not a CTA.
|
|
1335
|
+
The trail stays inline. Runtime is later. */
|
|
1336
|
+
[theme=tide] [pagination],
|
|
1337
|
+
[theme=tide] nav[pagination] {
|
|
1338
|
+
background-image: none;
|
|
1339
|
+
background-color: transparent;
|
|
1340
|
+
border: none;
|
|
1341
|
+
box-shadow: none;
|
|
1342
|
+
-webkit-backdrop-filter: none;
|
|
1343
|
+
backdrop-filter: none;
|
|
1344
|
+
color: var(--juice-pagination-ink);
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
[theme=tide] [pagination] a,
|
|
1348
|
+
[theme=tide] [pagination-link],
|
|
1349
|
+
[theme=tide] a[pagination-link],
|
|
1350
|
+
[theme=tide] button[pagination-link],
|
|
1351
|
+
[theme=tide] button[pagination-prev],
|
|
1352
|
+
[theme=tide] button[pagination-next] {
|
|
1353
|
+
background-image: none;
|
|
1354
|
+
background-color: var(--juice-pagination-surface);
|
|
1355
|
+
border-color: var(--juice-pagination-border);
|
|
1356
|
+
color: var(--juice-pagination-ink);
|
|
1357
|
+
box-shadow: none;
|
|
1358
|
+
transform: none;
|
|
1359
|
+
text-decoration: none;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
[theme=tide] [pagination] a:hover,
|
|
1363
|
+
[theme=tide] [pagination-link]:hover,
|
|
1364
|
+
[theme=tide] button[pagination-link]:hover,
|
|
1365
|
+
[theme=tide] button[pagination-prev]:hover,
|
|
1366
|
+
[theme=tide] button[pagination-next]:hover {
|
|
1367
|
+
background-image: none;
|
|
1368
|
+
background-color: var(--juice-pagination-surface-hover);
|
|
1369
|
+
color: var(--juice-pagination-ink-hover);
|
|
1370
|
+
box-shadow: none;
|
|
1371
|
+
transform: none;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
[theme=tide] [pagination] [aria-current=page],
|
|
1375
|
+
[theme=tide] [pagination] [aria-current=page] :is(a, button, [pagination-link]),
|
|
1376
|
+
[theme=tide] [pagination-link][aria-current=page] {
|
|
1377
|
+
background-image: none;
|
|
1378
|
+
background-color: var(--juice-pagination-surface-current);
|
|
1379
|
+
color: var(--juice-pagination-ink-current);
|
|
1380
|
+
box-shadow: none;
|
|
1381
|
+
transform: none;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
[theme=tide] [pagination] :is(a, button, [pagination-link]):is(:disabled, [disabled], [aria-disabled=true]),
|
|
1385
|
+
[theme=tide] [pagination] [aria-disabled=true] :is(a, button, [pagination-link]) {
|
|
1386
|
+
background-image: none;
|
|
1387
|
+
background-color: var(--juice-pagination-surface);
|
|
1388
|
+
color: var(--juice-pagination-ink-disabled);
|
|
1389
|
+
box-shadow: none;
|
|
1390
|
+
transform: none;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
[theme=tide] [pagination] a:focus-visible,
|
|
1394
|
+
[theme=tide] [pagination-link]:focus-visible,
|
|
1395
|
+
[theme=tide] button[pagination-link]:focus-visible,
|
|
1396
|
+
[theme=tide] button[pagination-prev]:focus-visible,
|
|
1397
|
+
[theme=tide] button[pagination-next]:focus-visible {
|
|
1398
|
+
outline: 2px solid var(--juice-pagination-focus-ring);
|
|
1399
|
+
outline-offset: 2px;
|
|
1007
1400
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citrusworx/juiceui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -38,6 +38,46 @@
|
|
|
38
38
|
"types": "./dist/themes/index.d.ts",
|
|
39
39
|
"default": "./dist/themes/tide.css"
|
|
40
40
|
},
|
|
41
|
+
"./themes/retro-afterburn.css": {
|
|
42
|
+
"types": "./dist/themes/index.d.ts",
|
|
43
|
+
"default": "./dist/themes/retro-afterburn.css"
|
|
44
|
+
},
|
|
45
|
+
"./themes/retro-arcade-glow.css": {
|
|
46
|
+
"types": "./dist/themes/index.d.ts",
|
|
47
|
+
"default": "./dist/themes/retro-arcade-glow.css"
|
|
48
|
+
},
|
|
49
|
+
"./themes/retro-boardwalk.css": {
|
|
50
|
+
"types": "./dist/themes/index.d.ts",
|
|
51
|
+
"default": "./dist/themes/retro-boardwalk.css"
|
|
52
|
+
},
|
|
53
|
+
"./themes/retro-denim-dial.css": {
|
|
54
|
+
"types": "./dist/themes/index.d.ts",
|
|
55
|
+
"default": "./dist/themes/retro-denim-dial.css"
|
|
56
|
+
},
|
|
57
|
+
"./themes/retro-forest-radio.css": {
|
|
58
|
+
"types": "./dist/themes/index.d.ts",
|
|
59
|
+
"default": "./dist/themes/retro-forest-radio.css"
|
|
60
|
+
},
|
|
61
|
+
"./themes/retro-orchard-club.css": {
|
|
62
|
+
"types": "./dist/themes/index.d.ts",
|
|
63
|
+
"default": "./dist/themes/retro-orchard-club.css"
|
|
64
|
+
},
|
|
65
|
+
"./themes/retro-poolside-pop.css": {
|
|
66
|
+
"types": "./dist/themes/index.d.ts",
|
|
67
|
+
"default": "./dist/themes/retro-poolside-pop.css"
|
|
68
|
+
},
|
|
69
|
+
"./themes/retro-signal-garden.css": {
|
|
70
|
+
"types": "./dist/themes/index.d.ts",
|
|
71
|
+
"default": "./dist/themes/retro-signal-garden.css"
|
|
72
|
+
},
|
|
73
|
+
"./themes/retro-sunset-motel.css": {
|
|
74
|
+
"types": "./dist/themes/index.d.ts",
|
|
75
|
+
"default": "./dist/themes/retro-sunset-motel.css"
|
|
76
|
+
},
|
|
77
|
+
"./themes/retro-violet-parlor.css": {
|
|
78
|
+
"types": "./dist/themes/index.d.ts",
|
|
79
|
+
"default": "./dist/themes/retro-violet-parlor.css"
|
|
80
|
+
},
|
|
41
81
|
"./styles/themes/aquaflux": {
|
|
42
82
|
"types": "./dist/themes/index.d.ts",
|
|
43
83
|
"default": "./dist/themes/aquaflux.css"
|
|
@@ -54,6 +94,46 @@
|
|
|
54
94
|
"types": "./dist/themes/index.d.ts",
|
|
55
95
|
"default": "./dist/themes/tide.css"
|
|
56
96
|
},
|
|
97
|
+
"./styles/themes/retro-afterburn": {
|
|
98
|
+
"types": "./dist/themes/index.d.ts",
|
|
99
|
+
"default": "./dist/themes/retro-afterburn.css"
|
|
100
|
+
},
|
|
101
|
+
"./styles/themes/retro-arcade-glow": {
|
|
102
|
+
"types": "./dist/themes/index.d.ts",
|
|
103
|
+
"default": "./dist/themes/retro-arcade-glow.css"
|
|
104
|
+
},
|
|
105
|
+
"./styles/themes/retro-boardwalk": {
|
|
106
|
+
"types": "./dist/themes/index.d.ts",
|
|
107
|
+
"default": "./dist/themes/retro-boardwalk.css"
|
|
108
|
+
},
|
|
109
|
+
"./styles/themes/retro-denim-dial": {
|
|
110
|
+
"types": "./dist/themes/index.d.ts",
|
|
111
|
+
"default": "./dist/themes/retro-denim-dial.css"
|
|
112
|
+
},
|
|
113
|
+
"./styles/themes/retro-forest-radio": {
|
|
114
|
+
"types": "./dist/themes/index.d.ts",
|
|
115
|
+
"default": "./dist/themes/retro-forest-radio.css"
|
|
116
|
+
},
|
|
117
|
+
"./styles/themes/retro-orchard-club": {
|
|
118
|
+
"types": "./dist/themes/index.d.ts",
|
|
119
|
+
"default": "./dist/themes/retro-orchard-club.css"
|
|
120
|
+
},
|
|
121
|
+
"./styles/themes/retro-poolside-pop": {
|
|
122
|
+
"types": "./dist/themes/index.d.ts",
|
|
123
|
+
"default": "./dist/themes/retro-poolside-pop.css"
|
|
124
|
+
},
|
|
125
|
+
"./styles/themes/retro-signal-garden": {
|
|
126
|
+
"types": "./dist/themes/index.d.ts",
|
|
127
|
+
"default": "./dist/themes/retro-signal-garden.css"
|
|
128
|
+
},
|
|
129
|
+
"./styles/themes/retro-sunset-motel": {
|
|
130
|
+
"types": "./dist/themes/index.d.ts",
|
|
131
|
+
"default": "./dist/themes/retro-sunset-motel.css"
|
|
132
|
+
},
|
|
133
|
+
"./styles/themes/retro-violet-parlor": {
|
|
134
|
+
"types": "./dist/themes/index.d.ts",
|
|
135
|
+
"default": "./dist/themes/retro-violet-parlor.css"
|
|
136
|
+
},
|
|
57
137
|
"./styles/themes/*": {
|
|
58
138
|
"types": "./dist/themes/index.d.ts",
|
|
59
139
|
"default": "./dist/themes/*.css"
|
|
@@ -78,7 +158,17 @@
|
|
|
78
158
|
"./dist/themes/aquaflux.css",
|
|
79
159
|
"./dist/themes/kiwipress.css",
|
|
80
160
|
"./dist/themes/citrusmint.css",
|
|
81
|
-
"./dist/themes/tide.css"
|
|
161
|
+
"./dist/themes/tide.css",
|
|
162
|
+
"./dist/themes/retro-afterburn.css",
|
|
163
|
+
"./dist/themes/retro-arcade-glow.css",
|
|
164
|
+
"./dist/themes/retro-boardwalk.css",
|
|
165
|
+
"./dist/themes/retro-denim-dial.css",
|
|
166
|
+
"./dist/themes/retro-forest-radio.css",
|
|
167
|
+
"./dist/themes/retro-orchard-club.css",
|
|
168
|
+
"./dist/themes/retro-poolside-pop.css",
|
|
169
|
+
"./dist/themes/retro-signal-garden.css",
|
|
170
|
+
"./dist/themes/retro-sunset-motel.css",
|
|
171
|
+
"./dist/themes/retro-violet-parlor.css"
|
|
82
172
|
],
|
|
83
173
|
"publishConfig": {
|
|
84
174
|
"access": "public"
|