@citrusworx/juiceui 0.9.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 +12 -7
- package/dist/index.css +240 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +208 -2
- package/dist/js/juice.d.ts +2 -0
- package/dist/js/src/pagination/pagination-runtime.d.ts +79 -0
- package/dist/themes/aquaflux.css +93 -0
- package/dist/themes/citrusmint.css +87 -0
- package/dist/themes/kiwipress.css +93 -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 +92 -0
- package/package.json +92 -2
package/dist/themes/tide.css
CHANGED
|
@@ -417,6 +417,30 @@
|
|
|
417
417
|
--juice-progress-fill: var(--tide-progress-fill);
|
|
418
418
|
--juice-progress-ink: var(--tide-progress-ink);
|
|
419
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);
|
|
420
444
|
min-height: 100vh;
|
|
421
445
|
background-color: var(--tide-page);
|
|
422
446
|
background-image: var(--tide-page-background);
|
|
@@ -1305,4 +1329,72 @@
|
|
|
1305
1329
|
[theme=tide] [progress]:focus-visible {
|
|
1306
1330
|
outline: 2px solid var(--juice-progress-focus-ring);
|
|
1307
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;
|
|
1308
1400
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citrusworx/juiceui",
|
|
3
|
-
"version": "0.9.
|
|
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"
|