@citrusworx/juiceui 0.9.0 → 0.9.2
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 +42 -7
- package/dist/index.css +1383 -114
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2174 -913
- package/dist/js/juice.d.ts +16 -0
- package/dist/js/src/disclosure/disclosure-runtime.d.ts +51 -0
- package/dist/js/src/drawer/drawer-runtime.d.ts +6 -0
- package/dist/js/src/field/field-runtime.d.ts +53 -0
- package/dist/js/src/input/input-runtime.d.ts +55 -0
- package/dist/js/src/modal/modal-runtime.d.ts +6 -0
- package/dist/js/src/pagination/pagination-runtime.d.ts +79 -0
- package/dist/js/src/popover/popover-runtime.d.ts +5 -0
- package/dist/js/src/select/select-runtime.d.ts +52 -0
- package/dist/js/src/shared/motion.d.ts +48 -0
- package/dist/js/src/spinner/spinner-runtime.d.ts +51 -0
- package/dist/js/src/textarea/textarea-runtime.d.ts +51 -0
- package/dist/js/src/toast/toast-runtime.d.ts +5 -0
- package/dist/themes/aquaflux.css +411 -0
- package/dist/themes/citrusmint.css +404 -0
- package/dist/themes/kiwipress.css +410 -0
- package/dist/themes/retro-afterburn.css +2019 -0
- package/dist/themes/retro-arcade-glow.css +2019 -0
- package/dist/themes/retro-boardwalk.css +2082 -0
- package/dist/themes/retro-denim-dial.css +1871 -0
- package/dist/themes/retro-forest-radio.css +1871 -0
- package/dist/themes/retro-orchard-club.css +1871 -0
- package/dist/themes/retro-poolside-pop.css +1871 -0
- package/dist/themes/retro-signal-garden.css +1871 -0
- package/dist/themes/retro-sunset-motel.css +1871 -0
- package/dist/themes/retro-violet-parlor.css +1871 -0
- package/dist/themes/tide.css +403 -0
- package/package.json +92 -2
package/dist/themes/tide.css
CHANGED
|
@@ -417,6 +417,114 @@
|
|
|
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);
|
|
444
|
+
/* Disclosure chrome — dark panel and dark trigger, not the page
|
|
445
|
+
and not a CTA. One trigger and one panel. Distinct from [accordion]. */
|
|
446
|
+
--tide-disclosure-surface: var(--tide-surface);
|
|
447
|
+
--tide-disclosure-border: var(--tide-border);
|
|
448
|
+
--tide-disclosure-trigger: var(--tide-surface-strong);
|
|
449
|
+
--tide-disclosure-trigger-hover: var(--tide-surface-muted);
|
|
450
|
+
--tide-disclosure-trigger-open: var(--tide-surface-muted);
|
|
451
|
+
--tide-disclosure-ink: var(--tide-text);
|
|
452
|
+
--tide-disclosure-chevron: var(--tide-accent);
|
|
453
|
+
--tide-disclosure-focus-ring: var(--tide-accent);
|
|
454
|
+
--juice-disclosure-surface: var(--tide-disclosure-surface);
|
|
455
|
+
--juice-disclosure-border: var(--tide-disclosure-border);
|
|
456
|
+
--juice-disclosure-trigger: var(--tide-disclosure-trigger);
|
|
457
|
+
--juice-disclosure-trigger-hover: var(--tide-disclosure-trigger-hover);
|
|
458
|
+
--juice-disclosure-trigger-open: var(--tide-disclosure-trigger-open);
|
|
459
|
+
--juice-disclosure-ink: var(--tide-disclosure-ink);
|
|
460
|
+
--juice-disclosure-chevron: var(--tide-disclosure-chevron);
|
|
461
|
+
--juice-disclosure-focus-ring: var(--tide-disclosure-focus-ring);
|
|
462
|
+
/* Spinner chrome — dark ring from the border token, not the page.
|
|
463
|
+
Indicator stays accent. Distinct from progress. Inline status —
|
|
464
|
+
no overlay. CSS owns the spin. Runtime is later. */
|
|
465
|
+
--tide-spinner-track: var(--tide-border);
|
|
466
|
+
--tide-spinner-indicator: var(--tide-accent);
|
|
467
|
+
--tide-spinner-ink: var(--tide-text);
|
|
468
|
+
--tide-spinner-focus-ring: var(--tide-accent);
|
|
469
|
+
--juice-spinner-track: var(--tide-spinner-track);
|
|
470
|
+
--juice-spinner-indicator: var(--tide-spinner-indicator);
|
|
471
|
+
--juice-spinner-ink: var(--tide-spinner-ink);
|
|
472
|
+
--juice-spinner-focus-ring: var(--tide-spinner-focus-ring);
|
|
473
|
+
/* Select chrome — dark field from the surface token, not the page.
|
|
474
|
+
Chevron stays accent. Distinct from combobox. The platform popup
|
|
475
|
+
stays native. Runtime is later. */
|
|
476
|
+
--tide-select-surface: var(--tide-surface-strong);
|
|
477
|
+
--tide-select-border: var(--tide-border);
|
|
478
|
+
--tide-select-ink: var(--tide-text);
|
|
479
|
+
--tide-select-chevron: var(--tide-accent);
|
|
480
|
+
--tide-select-focus-ring: var(--tide-accent);
|
|
481
|
+
--juice-select-surface: var(--tide-select-surface);
|
|
482
|
+
--juice-select-border: var(--tide-select-border);
|
|
483
|
+
--juice-select-ink: var(--tide-select-ink);
|
|
484
|
+
--juice-select-chevron: var(--tide-select-chevron);
|
|
485
|
+
--juice-select-focus-ring: var(--tide-select-focus-ring);
|
|
486
|
+
/* Input chrome — dark field from the surface token, not the page.
|
|
487
|
+
Placeholder stays muted text. Distinct from combobox and select.
|
|
488
|
+
Text-like types only. Runtime is later. */
|
|
489
|
+
--tide-input-surface: var(--tide-surface-strong);
|
|
490
|
+
--tide-input-border: var(--tide-border);
|
|
491
|
+
--tide-input-ink: var(--tide-text);
|
|
492
|
+
--tide-input-placeholder: var(--tide-text-muted);
|
|
493
|
+
--tide-input-focus-ring: var(--tide-accent);
|
|
494
|
+
--juice-input-surface: var(--tide-input-surface);
|
|
495
|
+
--juice-input-border: var(--tide-input-border);
|
|
496
|
+
--juice-input-ink: var(--tide-input-ink);
|
|
497
|
+
--juice-input-placeholder: var(--tide-input-placeholder);
|
|
498
|
+
--juice-input-focus-ring: var(--tide-input-focus-ring);
|
|
499
|
+
/* Textarea chrome — dark field from the surface token, not the page.
|
|
500
|
+
Placeholder stays muted text. Distinct from input and select.
|
|
501
|
+
Runtime is later. */
|
|
502
|
+
--tide-textarea-surface: var(--tide-surface-strong);
|
|
503
|
+
--tide-textarea-border: var(--tide-border);
|
|
504
|
+
--tide-textarea-ink: var(--tide-text);
|
|
505
|
+
--tide-textarea-placeholder: var(--tide-text-muted);
|
|
506
|
+
--tide-textarea-focus-ring: var(--tide-accent);
|
|
507
|
+
--juice-textarea-surface: var(--tide-textarea-surface);
|
|
508
|
+
--juice-textarea-border: var(--tide-textarea-border);
|
|
509
|
+
--juice-textarea-ink: var(--tide-textarea-ink);
|
|
510
|
+
--juice-textarea-placeholder: var(--tide-textarea-placeholder);
|
|
511
|
+
--juice-textarea-focus-ring: var(--tide-textarea-focus-ring);
|
|
512
|
+
/* Field chrome — dark wrapper from the surface token, not the page.
|
|
513
|
+
Label is text. Help stays muted. Error ink and the invalid border
|
|
514
|
+
reuse banner error. Not an input, not a textarea, and not a select.
|
|
515
|
+
Runtime is later. */
|
|
516
|
+
--tide-field-surface: var(--tide-surface-strong);
|
|
517
|
+
--tide-field-gap: 0.5rem;
|
|
518
|
+
--tide-field-label-ink: var(--tide-text);
|
|
519
|
+
--tide-field-help-ink: var(--tide-text-muted);
|
|
520
|
+
--tide-field-error-ink: var(--tide-banner-error);
|
|
521
|
+
--tide-field-invalid-border: var(--tide-banner-error);
|
|
522
|
+
--juice-field-surface: var(--tide-field-surface);
|
|
523
|
+
--juice-field-gap: var(--tide-field-gap);
|
|
524
|
+
--juice-field-label-ink: var(--tide-field-label-ink);
|
|
525
|
+
--juice-field-help-ink: var(--tide-field-help-ink);
|
|
526
|
+
--juice-field-error-ink: var(--tide-field-error-ink);
|
|
527
|
+
--juice-field-invalid-border: var(--tide-field-invalid-border);
|
|
420
528
|
min-height: 100vh;
|
|
421
529
|
background-color: var(--tide-page);
|
|
422
530
|
background-image: var(--tide-page-background);
|
|
@@ -1305,4 +1413,299 @@
|
|
|
1305
1413
|
[theme=tide] [progress]:focus-visible {
|
|
1306
1414
|
outline: 2px solid var(--juice-progress-focus-ring);
|
|
1307
1415
|
outline-offset: 2px;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
/* Pagination chrome. Dark chips, not a light bar and not a CTA.
|
|
1419
|
+
The trail stays inline. Runtime is later. */
|
|
1420
|
+
[theme=tide] [pagination],
|
|
1421
|
+
[theme=tide] nav[pagination] {
|
|
1422
|
+
background-image: none;
|
|
1423
|
+
background-color: transparent;
|
|
1424
|
+
border: none;
|
|
1425
|
+
box-shadow: none;
|
|
1426
|
+
-webkit-backdrop-filter: none;
|
|
1427
|
+
backdrop-filter: none;
|
|
1428
|
+
color: var(--juice-pagination-ink);
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
[theme=tide] [pagination] a,
|
|
1432
|
+
[theme=tide] [pagination-link],
|
|
1433
|
+
[theme=tide] a[pagination-link],
|
|
1434
|
+
[theme=tide] button[pagination-link],
|
|
1435
|
+
[theme=tide] button[pagination-prev],
|
|
1436
|
+
[theme=tide] button[pagination-next] {
|
|
1437
|
+
background-image: none;
|
|
1438
|
+
background-color: var(--juice-pagination-surface);
|
|
1439
|
+
border-color: var(--juice-pagination-border);
|
|
1440
|
+
color: var(--juice-pagination-ink);
|
|
1441
|
+
box-shadow: none;
|
|
1442
|
+
transform: none;
|
|
1443
|
+
text-decoration: none;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
[theme=tide] [pagination] a:hover,
|
|
1447
|
+
[theme=tide] [pagination-link]:hover,
|
|
1448
|
+
[theme=tide] button[pagination-link]:hover,
|
|
1449
|
+
[theme=tide] button[pagination-prev]:hover,
|
|
1450
|
+
[theme=tide] button[pagination-next]:hover {
|
|
1451
|
+
background-image: none;
|
|
1452
|
+
background-color: var(--juice-pagination-surface-hover);
|
|
1453
|
+
color: var(--juice-pagination-ink-hover);
|
|
1454
|
+
box-shadow: none;
|
|
1455
|
+
transform: none;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
[theme=tide] [pagination] [aria-current=page],
|
|
1459
|
+
[theme=tide] [pagination] [aria-current=page] :is(a, button, [pagination-link]),
|
|
1460
|
+
[theme=tide] [pagination-link][aria-current=page] {
|
|
1461
|
+
background-image: none;
|
|
1462
|
+
background-color: var(--juice-pagination-surface-current);
|
|
1463
|
+
color: var(--juice-pagination-ink-current);
|
|
1464
|
+
box-shadow: none;
|
|
1465
|
+
transform: none;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
[theme=tide] [pagination] :is(a, button, [pagination-link]):is(:disabled, [disabled], [aria-disabled=true]),
|
|
1469
|
+
[theme=tide] [pagination] [aria-disabled=true] :is(a, button, [pagination-link]) {
|
|
1470
|
+
background-image: none;
|
|
1471
|
+
background-color: var(--juice-pagination-surface);
|
|
1472
|
+
color: var(--juice-pagination-ink-disabled);
|
|
1473
|
+
box-shadow: none;
|
|
1474
|
+
transform: none;
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
[theme=tide] [pagination] a:focus-visible,
|
|
1478
|
+
[theme=tide] [pagination-link]:focus-visible,
|
|
1479
|
+
[theme=tide] button[pagination-link]:focus-visible,
|
|
1480
|
+
[theme=tide] button[pagination-prev]:focus-visible,
|
|
1481
|
+
[theme=tide] button[pagination-next]:focus-visible {
|
|
1482
|
+
outline: 2px solid var(--juice-pagination-focus-ring);
|
|
1483
|
+
outline-offset: 2px;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/* Disclosure chrome. Dark panel, not a light card and not a CTA.
|
|
1487
|
+
Not an accordion. Runtime is later. */
|
|
1488
|
+
[theme=tide] [disclosure] {
|
|
1489
|
+
background-image: none;
|
|
1490
|
+
background-color: transparent;
|
|
1491
|
+
border-color: var(--juice-disclosure-border);
|
|
1492
|
+
box-shadow: none;
|
|
1493
|
+
color: var(--juice-disclosure-ink);
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
[theme=tide] button[disclosure-trigger],
|
|
1497
|
+
[theme=tide] a[disclosure-trigger],
|
|
1498
|
+
[theme=tide] [disclosure-trigger] {
|
|
1499
|
+
background-image: none;
|
|
1500
|
+
background-color: var(--juice-disclosure-trigger);
|
|
1501
|
+
color: var(--juice-disclosure-ink);
|
|
1502
|
+
box-shadow: none;
|
|
1503
|
+
transform: none;
|
|
1504
|
+
text-decoration: none;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
[theme=tide] button[disclosure-trigger]:hover,
|
|
1508
|
+
[theme=tide] a[disclosure-trigger]:hover,
|
|
1509
|
+
[theme=tide] [disclosure-trigger]:hover {
|
|
1510
|
+
background-image: none;
|
|
1511
|
+
background-color: var(--juice-disclosure-trigger-hover);
|
|
1512
|
+
color: var(--juice-disclosure-ink);
|
|
1513
|
+
box-shadow: none;
|
|
1514
|
+
transform: none;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
[theme=tide] button[disclosure-trigger][aria-expanded=true],
|
|
1518
|
+
[theme=tide] a[disclosure-trigger][aria-expanded=true],
|
|
1519
|
+
[theme=tide] [disclosure-trigger][aria-expanded=true] {
|
|
1520
|
+
background-image: none;
|
|
1521
|
+
background-color: var(--juice-disclosure-trigger-open);
|
|
1522
|
+
color: var(--juice-disclosure-ink);
|
|
1523
|
+
box-shadow: none;
|
|
1524
|
+
transform: none;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
[theme=tide] [disclosure-trigger]::after {
|
|
1528
|
+
border-color: var(--juice-disclosure-chevron);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
[theme=tide] button[disclosure-trigger]:focus-visible,
|
|
1532
|
+
[theme=tide] a[disclosure-trigger]:focus-visible,
|
|
1533
|
+
[theme=tide] [disclosure-trigger]:focus-visible {
|
|
1534
|
+
outline: 2px solid var(--juice-disclosure-focus-ring);
|
|
1535
|
+
outline-offset: 2px;
|
|
1536
|
+
box-shadow: none;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
[theme=tide] [disclosure-panel],
|
|
1540
|
+
[theme=tide] [disclosure] > [disclosure-trigger] + :not([disclosure-trigger]) {
|
|
1541
|
+
background-image: none;
|
|
1542
|
+
background-color: var(--juice-disclosure-surface);
|
|
1543
|
+
border-color: var(--juice-disclosure-border);
|
|
1544
|
+
color: var(--juice-disclosure-ink);
|
|
1545
|
+
box-shadow: none;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/* Spinner chrome. Beat generic div fills.
|
|
1549
|
+
Dark ring, not the page and not a CTA. Not a progress bar.
|
|
1550
|
+
CSS owns the spin. Runtime is later. */
|
|
1551
|
+
[theme=tide] [spinner] {
|
|
1552
|
+
background-image: none;
|
|
1553
|
+
background-color: transparent;
|
|
1554
|
+
border: none;
|
|
1555
|
+
box-shadow: none;
|
|
1556
|
+
color: var(--juice-spinner-ink);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
[theme=tide] [spinner]::before {
|
|
1560
|
+
background-image: none;
|
|
1561
|
+
background-color: transparent;
|
|
1562
|
+
border-color: var(--juice-spinner-track);
|
|
1563
|
+
border-top-color: var(--juice-spinner-indicator);
|
|
1564
|
+
box-shadow: none;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
[theme=tide] [spinner-label] {
|
|
1568
|
+
background-image: none;
|
|
1569
|
+
background-color: transparent;
|
|
1570
|
+
color: var(--juice-spinner-ink);
|
|
1571
|
+
box-shadow: none;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
[theme=tide] [spinner]:focus-visible {
|
|
1575
|
+
outline: 2px solid var(--juice-spinner-focus-ring);
|
|
1576
|
+
outline-offset: 2px;
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/* Select chrome. Beat [theme] :where(select) defaults.
|
|
1580
|
+
Styled native dropdown, not a combobox and not a CTA.
|
|
1581
|
+
Chevron stays a background so the control still opens.
|
|
1582
|
+
Runtime is later. */
|
|
1583
|
+
[theme=tide] select[select] {
|
|
1584
|
+
background-color: var(--juice-select-surface);
|
|
1585
|
+
border-color: var(--juice-select-border);
|
|
1586
|
+
color: var(--juice-select-ink);
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
[theme=tide] select[select]:focus-visible {
|
|
1590
|
+
outline: 2px solid var(--juice-select-focus-ring);
|
|
1591
|
+
outline-offset: 2px;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
[theme=tide] [select-label] {
|
|
1595
|
+
background-image: none;
|
|
1596
|
+
background-color: transparent;
|
|
1597
|
+
color: var(--juice-select-ink);
|
|
1598
|
+
box-shadow: none;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/* Input chrome. Beat [theme] :where(input) defaults.
|
|
1602
|
+
Styled native text field, not a combobox, not a select, and not a CTA.
|
|
1603
|
+
Text-like types only. Border color only, so KiwiPress keeps its 2px
|
|
1604
|
+
control border. Runtime is later. */
|
|
1605
|
+
[theme=tide] input[input]:is(:not([type]),
|
|
1606
|
+
[type=""],
|
|
1607
|
+
[type=text i],
|
|
1608
|
+
[type=email i],
|
|
1609
|
+
[type=password i],
|
|
1610
|
+
[type=search i],
|
|
1611
|
+
[type=tel i],
|
|
1612
|
+
[type=url i],
|
|
1613
|
+
[type=number i]):not([combobox-input]) {
|
|
1614
|
+
background-color: var(--juice-input-surface);
|
|
1615
|
+
border-color: var(--juice-input-border);
|
|
1616
|
+
color: var(--juice-input-ink);
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
[theme=tide] input[input]:is(:not([type]),
|
|
1620
|
+
[type=""],
|
|
1621
|
+
[type=text i],
|
|
1622
|
+
[type=email i],
|
|
1623
|
+
[type=password i],
|
|
1624
|
+
[type=search i],
|
|
1625
|
+
[type=tel i],
|
|
1626
|
+
[type=url i],
|
|
1627
|
+
[type=number i]):not([combobox-input])::placeholder {
|
|
1628
|
+
color: var(--juice-input-placeholder);
|
|
1629
|
+
opacity: 1;
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
[theme=tide] input[input]:is(:not([type]),
|
|
1633
|
+
[type=""],
|
|
1634
|
+
[type=text i],
|
|
1635
|
+
[type=email i],
|
|
1636
|
+
[type=password i],
|
|
1637
|
+
[type=search i],
|
|
1638
|
+
[type=tel i],
|
|
1639
|
+
[type=url i],
|
|
1640
|
+
[type=number i]):not([combobox-input]):focus-visible {
|
|
1641
|
+
outline: 2px solid var(--juice-input-focus-ring);
|
|
1642
|
+
outline-offset: 2px;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
[theme=tide] [input-label] {
|
|
1646
|
+
background-image: none;
|
|
1647
|
+
background-color: transparent;
|
|
1648
|
+
color: var(--juice-input-ink);
|
|
1649
|
+
box-shadow: none;
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
/* Textarea chrome. Beat [theme] :where(textarea) defaults.
|
|
1653
|
+
Styled native multi-line field, not an input, not a select, and not a
|
|
1654
|
+
combobox. Border color only, so KiwiPress keeps its 2px control border.
|
|
1655
|
+
Runtime is later. */
|
|
1656
|
+
[theme=tide] textarea[textarea] {
|
|
1657
|
+
background-color: var(--juice-textarea-surface);
|
|
1658
|
+
border-color: var(--juice-textarea-border);
|
|
1659
|
+
color: var(--juice-textarea-ink);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
[theme=tide] textarea[textarea]::placeholder {
|
|
1663
|
+
color: var(--juice-textarea-placeholder);
|
|
1664
|
+
opacity: 1;
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
[theme=tide] textarea[textarea]:focus-visible {
|
|
1668
|
+
outline: 2px solid var(--juice-textarea-focus-ring);
|
|
1669
|
+
outline-offset: 2px;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
[theme=tide] [textarea-label] {
|
|
1673
|
+
background-image: none;
|
|
1674
|
+
background-color: transparent;
|
|
1675
|
+
color: var(--juice-textarea-ink);
|
|
1676
|
+
box-shadow: none;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/* Field chrome. Wrapper around a control — label, help, error, invalid.
|
|
1680
|
+
Not an input, not a textarea, not a select, and not the legacy form
|
|
1681
|
+
layout. Paint is surface, gap, ink, and the invalid border, so nested
|
|
1682
|
+
controls keep their own chrome. Runtime is later. */
|
|
1683
|
+
[theme=tide] [field] {
|
|
1684
|
+
background-color: var(--juice-field-surface);
|
|
1685
|
+
gap: var(--juice-field-gap);
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
[theme=tide] [field][invalid] {
|
|
1689
|
+
border-color: var(--juice-field-invalid-border);
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
[theme=tide] [field-label] {
|
|
1693
|
+
background-image: none;
|
|
1694
|
+
background-color: transparent;
|
|
1695
|
+
color: var(--juice-field-label-ink);
|
|
1696
|
+
box-shadow: none;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
[theme=tide] [field-help] {
|
|
1700
|
+
background-image: none;
|
|
1701
|
+
background-color: transparent;
|
|
1702
|
+
color: var(--juice-field-help-ink);
|
|
1703
|
+
box-shadow: none;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
[theme=tide] [field-error] {
|
|
1707
|
+
background-image: none;
|
|
1708
|
+
background-color: transparent;
|
|
1709
|
+
color: var(--juice-field-error-ink);
|
|
1710
|
+
box-shadow: none;
|
|
1308
1711
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citrusworx/juiceui",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
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"
|