@process.co/ui 0.0.9 → 0.0.11
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 +365 -282
- package/css/ui.css +176 -7
- package/dist/components/dev/index.cjs +486 -0
- package/dist/components/dev/index.cjs.map +1 -0
- package/dist/components/dev/index.d.cts +88 -0
- package/dist/components/dev/index.d.ts +88 -0
- package/dist/components/dev/index.js +474 -0
- package/dist/components/dev/index.js.map +1 -0
- package/dist/components/fields/index.cjs +452 -78
- package/dist/components/fields/index.cjs.map +1 -1
- package/dist/components/fields/index.d.cts +1 -1
- package/dist/components/fields/index.d.ts +1 -1
- package/dist/components/fields/index.js +435 -68
- package/dist/components/fields/index.js.map +1 -1
- package/dist/{index-nu_JyZnb.d.cts → index-B-kAG1RW.d.cts} +204 -18
- package/dist/{index-nu_JyZnb.d.ts → index-B-kAG1RW.d.ts} +204 -18
- package/dist/index.cjs +413 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +414 -26
- package/dist/index.js.map +1 -1
- package/package.json +11 -1
package/css/ui.css
CHANGED
|
@@ -23,13 +23,6 @@
|
|
|
23
23
|
--uii-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
24
24
|
--uii-default-font-family: Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
25
25
|
--uii-default-mono-font-family: var(--uii-font-mono);
|
|
26
|
-
--uii-color-adam-test-0: #0b0d33;
|
|
27
|
-
--uii-color-adam-test-50: #ebf2ff;
|
|
28
|
-
--uii-color-adam-test-100: #dae8ff;
|
|
29
|
-
--uii-color-adam-test-200: #bdd3ff;
|
|
30
|
-
--uii-color-adam-test-300: #95b5ff;
|
|
31
|
-
--uii-color-adam-test-400: #6b8bff;
|
|
32
|
-
--uii-color-adam-test-500: #4961ff;
|
|
33
26
|
--uii-color-hero-bg: #0b0d33;
|
|
34
27
|
}
|
|
35
28
|
}
|
|
@@ -1066,9 +1059,15 @@
|
|
|
1066
1059
|
.uii\:mt-2 {
|
|
1067
1060
|
margin-top: calc(var(--uii-spacing) * 2);
|
|
1068
1061
|
}
|
|
1062
|
+
.uii\:mt-3 {
|
|
1063
|
+
margin-top: calc(var(--uii-spacing) * 3);
|
|
1064
|
+
}
|
|
1069
1065
|
.uii\:mr-1 {
|
|
1070
1066
|
margin-right: calc(var(--uii-spacing) * 1);
|
|
1071
1067
|
}
|
|
1068
|
+
.uii\:mb-1 {
|
|
1069
|
+
margin-bottom: calc(var(--uii-spacing) * 1);
|
|
1070
|
+
}
|
|
1072
1071
|
.uii\:mb-2 {
|
|
1073
1072
|
margin-bottom: calc(var(--uii-spacing) * 2);
|
|
1074
1073
|
}
|
|
@@ -1099,9 +1098,19 @@
|
|
|
1099
1098
|
width: calc(var(--uii-spacing) * 4);
|
|
1100
1099
|
height: calc(var(--uii-spacing) * 4);
|
|
1101
1100
|
}
|
|
1101
|
+
.uii\:size-9 {
|
|
1102
|
+
width: calc(var(--uii-spacing) * 9);
|
|
1103
|
+
height: calc(var(--uii-spacing) * 9);
|
|
1104
|
+
}
|
|
1105
|
+
.uii\:h-8 {
|
|
1106
|
+
height: calc(var(--uii-spacing) * 8);
|
|
1107
|
+
}
|
|
1102
1108
|
.uii\:h-9 {
|
|
1103
1109
|
height: calc(var(--uii-spacing) * 9);
|
|
1104
1110
|
}
|
|
1111
|
+
.uii\:h-10 {
|
|
1112
|
+
height: calc(var(--uii-spacing) * 10);
|
|
1113
|
+
}
|
|
1105
1114
|
.uii\:h-\[var\(--radix-select-trigger-height\)\] {
|
|
1106
1115
|
height: var(--radix-select-trigger-height);
|
|
1107
1116
|
}
|
|
@@ -1111,6 +1120,12 @@
|
|
|
1111
1120
|
.uii\:h-px {
|
|
1112
1121
|
height: 1px;
|
|
1113
1122
|
}
|
|
1123
|
+
.uii\:max-h-24 {
|
|
1124
|
+
max-height: calc(var(--uii-spacing) * 24);
|
|
1125
|
+
}
|
|
1126
|
+
.uii\:max-h-48 {
|
|
1127
|
+
max-height: calc(var(--uii-spacing) * 48);
|
|
1128
|
+
}
|
|
1114
1129
|
.uii\:max-h-64 {
|
|
1115
1130
|
max-height: calc(var(--uii-spacing) * 64);
|
|
1116
1131
|
}
|
|
@@ -1126,18 +1141,30 @@
|
|
|
1126
1141
|
.uii\:w-full {
|
|
1127
1142
|
width: 100%;
|
|
1128
1143
|
}
|
|
1144
|
+
.uii\:max-w-\[300px\] {
|
|
1145
|
+
max-width: 300px;
|
|
1146
|
+
}
|
|
1129
1147
|
.uii\:min-w-0 {
|
|
1130
1148
|
min-width: calc(var(--uii-spacing) * 0);
|
|
1131
1149
|
}
|
|
1132
1150
|
.uii\:min-w-\[8rem\] {
|
|
1133
1151
|
min-width: 8rem;
|
|
1134
1152
|
}
|
|
1153
|
+
.uii\:min-w-\[150px\] {
|
|
1154
|
+
min-width: 150px;
|
|
1155
|
+
}
|
|
1156
|
+
.uii\:min-w-\[200px\] {
|
|
1157
|
+
min-width: 200px;
|
|
1158
|
+
}
|
|
1135
1159
|
.uii\:min-w-\[var\(--radix-select-trigger-width\)\] {
|
|
1136
1160
|
min-width: var(--radix-select-trigger-width);
|
|
1137
1161
|
}
|
|
1138
1162
|
.uii\:flex-1 {
|
|
1139
1163
|
flex: 1;
|
|
1140
1164
|
}
|
|
1165
|
+
.uii\:shrink-0 {
|
|
1166
|
+
flex-shrink: 0;
|
|
1167
|
+
}
|
|
1141
1168
|
.uii\:animate-spin {
|
|
1142
1169
|
animation: spin var(--default-animation-duration, 1s) var(--default-animation-timing-function, linear) var(--default-animation-delay, 0s) infinite;
|
|
1143
1170
|
}
|
|
@@ -1171,9 +1198,22 @@
|
|
|
1171
1198
|
.uii\:gap-1 {
|
|
1172
1199
|
gap: calc(var(--uii-spacing) * 1);
|
|
1173
1200
|
}
|
|
1201
|
+
.uii\:gap-1\.5 {
|
|
1202
|
+
gap: calc(var(--uii-spacing) * 1.5);
|
|
1203
|
+
}
|
|
1174
1204
|
.uii\:gap-2 {
|
|
1175
1205
|
gap: calc(var(--uii-spacing) * 2);
|
|
1176
1206
|
}
|
|
1207
|
+
.uii\:gap-4 {
|
|
1208
|
+
gap: calc(var(--uii-spacing) * 4);
|
|
1209
|
+
}
|
|
1210
|
+
.uii\:space-y-1 {
|
|
1211
|
+
:where(& > :not(:last-child)) {
|
|
1212
|
+
--tw-space-y-reverse: 0;
|
|
1213
|
+
margin-block-start: calc(calc(var(--uii-spacing) * 1) * var(--tw-space-y-reverse));
|
|
1214
|
+
margin-block-end: calc(calc(var(--uii-spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1177
1217
|
.uii\:space-y-2 {
|
|
1178
1218
|
:where(& > :not(:last-child)) {
|
|
1179
1219
|
--tw-space-y-reverse: 0;
|
|
@@ -1209,6 +1249,9 @@
|
|
|
1209
1249
|
.uii\:rounded {
|
|
1210
1250
|
border-radius: 0.25rem;
|
|
1211
1251
|
}
|
|
1252
|
+
.uii\:rounded-lg {
|
|
1253
|
+
border-radius: var(--radius);
|
|
1254
|
+
}
|
|
1212
1255
|
.uii\:rounded-md {
|
|
1213
1256
|
border-radius: calc(var(--radius) - 2px);
|
|
1214
1257
|
}
|
|
@@ -1327,18 +1370,27 @@
|
|
|
1327
1370
|
.uii\:bg-popover {
|
|
1328
1371
|
background-color: var(--popover);
|
|
1329
1372
|
}
|
|
1373
|
+
.uii\:bg-primary {
|
|
1374
|
+
background-color: var(--primary);
|
|
1375
|
+
}
|
|
1330
1376
|
.uii\:bg-purple-50 {
|
|
1331
1377
|
background-color: oklch(97.7% 0.014 308.299);
|
|
1332
1378
|
}
|
|
1333
1379
|
.uii\:bg-purple-100 {
|
|
1334
1380
|
background-color: oklch(94.6% 0.033 307.174);
|
|
1335
1381
|
}
|
|
1382
|
+
.uii\:bg-purple-500 {
|
|
1383
|
+
background-color: oklch(62.7% 0.265 303.9);
|
|
1384
|
+
}
|
|
1336
1385
|
.uii\:bg-red-50 {
|
|
1337
1386
|
background-color: oklch(97.1% 0.013 17.38);
|
|
1338
1387
|
}
|
|
1339
1388
|
.uii\:bg-red-100 {
|
|
1340
1389
|
background-color: oklch(93.6% 0.032 17.717);
|
|
1341
1390
|
}
|
|
1391
|
+
.uii\:bg-secondary {
|
|
1392
|
+
background-color: var(--secondary);
|
|
1393
|
+
}
|
|
1342
1394
|
.uii\:bg-transparent {
|
|
1343
1395
|
background-color: transparent;
|
|
1344
1396
|
}
|
|
@@ -1360,6 +1412,9 @@
|
|
|
1360
1412
|
.uii\:p-3 {
|
|
1361
1413
|
padding: calc(var(--uii-spacing) * 3);
|
|
1362
1414
|
}
|
|
1415
|
+
.uii\:p-4 {
|
|
1416
|
+
padding: calc(var(--uii-spacing) * 4);
|
|
1417
|
+
}
|
|
1363
1418
|
.uii\:px-1 {
|
|
1364
1419
|
padding-inline: calc(var(--uii-spacing) * 1);
|
|
1365
1420
|
}
|
|
@@ -1372,6 +1427,12 @@
|
|
|
1372
1427
|
.uii\:px-3 {
|
|
1373
1428
|
padding-inline: calc(var(--uii-spacing) * 3);
|
|
1374
1429
|
}
|
|
1430
|
+
.uii\:px-4 {
|
|
1431
|
+
padding-inline: calc(var(--uii-spacing) * 4);
|
|
1432
|
+
}
|
|
1433
|
+
.uii\:px-6 {
|
|
1434
|
+
padding-inline: calc(var(--uii-spacing) * 6);
|
|
1435
|
+
}
|
|
1375
1436
|
.uii\:py-0\.5 {
|
|
1376
1437
|
padding-block: calc(var(--uii-spacing) * 0.5);
|
|
1377
1438
|
}
|
|
@@ -1505,24 +1566,45 @@
|
|
|
1505
1566
|
.uii\:text-popover-foreground {
|
|
1506
1567
|
color: var(--popover-foreground);
|
|
1507
1568
|
}
|
|
1569
|
+
.uii\:text-primary {
|
|
1570
|
+
color: var(--primary);
|
|
1571
|
+
}
|
|
1572
|
+
.uii\:text-primary-foreground {
|
|
1573
|
+
color: var(--primary-foreground);
|
|
1574
|
+
}
|
|
1508
1575
|
.uii\:text-purple-600 {
|
|
1509
1576
|
color: oklch(55.8% 0.288 302.321);
|
|
1510
1577
|
}
|
|
1578
|
+
.uii\:text-purple-700 {
|
|
1579
|
+
color: oklch(49.6% 0.265 301.924);
|
|
1580
|
+
}
|
|
1511
1581
|
.uii\:text-purple-800 {
|
|
1512
1582
|
color: oklch(43.8% 0.218 303.724);
|
|
1513
1583
|
}
|
|
1584
|
+
.uii\:text-red-500 {
|
|
1585
|
+
color: oklch(63.7% 0.237 25.331);
|
|
1586
|
+
}
|
|
1514
1587
|
.uii\:text-red-600 {
|
|
1515
1588
|
color: oklch(57.7% 0.245 27.325);
|
|
1516
1589
|
}
|
|
1590
|
+
.uii\:text-red-700 {
|
|
1591
|
+
color: oklch(50.5% 0.213 27.518);
|
|
1592
|
+
}
|
|
1517
1593
|
.uii\:text-red-800 {
|
|
1518
1594
|
color: oklch(44.4% 0.177 26.899);
|
|
1519
1595
|
}
|
|
1596
|
+
.uii\:text-secondary-foreground {
|
|
1597
|
+
color: var(--secondary-foreground);
|
|
1598
|
+
}
|
|
1520
1599
|
.uii\:text-white {
|
|
1521
1600
|
color: #fff;
|
|
1522
1601
|
}
|
|
1523
1602
|
.uii\:text-yellow-600 {
|
|
1524
1603
|
color: oklch(68.1% 0.162 75.834);
|
|
1525
1604
|
}
|
|
1605
|
+
.uii\:text-yellow-700 {
|
|
1606
|
+
color: oklch(55.4% 0.135 66.442);
|
|
1607
|
+
}
|
|
1526
1608
|
.uii\:text-yellow-800 {
|
|
1527
1609
|
color: oklch(47.6% 0.114 61.907);
|
|
1528
1610
|
}
|
|
@@ -1532,6 +1614,9 @@
|
|
|
1532
1614
|
.uii\:italic {
|
|
1533
1615
|
font-style: italic;
|
|
1534
1616
|
}
|
|
1617
|
+
.uii\:underline-offset-4 {
|
|
1618
|
+
text-underline-offset: 4px;
|
|
1619
|
+
}
|
|
1535
1620
|
.uii\:opacity-50 {
|
|
1536
1621
|
opacity: 50%;
|
|
1537
1622
|
}
|
|
@@ -1648,6 +1733,23 @@
|
|
|
1648
1733
|
color: var(--muted-foreground);
|
|
1649
1734
|
}
|
|
1650
1735
|
}
|
|
1736
|
+
.uii\:hover\:bg-accent {
|
|
1737
|
+
&:hover {
|
|
1738
|
+
@media (hover: hover) {
|
|
1739
|
+
background-color: var(--accent);
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
.uii\:hover\:bg-destructive\/90 {
|
|
1744
|
+
&:hover {
|
|
1745
|
+
@media (hover: hover) {
|
|
1746
|
+
background-color: var(--destructive);
|
|
1747
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1748
|
+
background-color: color-mix(in oklab, var(--destructive) 90%, transparent);
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1651
1753
|
.uii\:hover\:bg-muted\/50 {
|
|
1652
1754
|
&:hover {
|
|
1653
1755
|
@media (hover: hover) {
|
|
@@ -1658,6 +1760,40 @@
|
|
|
1658
1760
|
}
|
|
1659
1761
|
}
|
|
1660
1762
|
}
|
|
1763
|
+
.uii\:hover\:bg-primary\/90 {
|
|
1764
|
+
&:hover {
|
|
1765
|
+
@media (hover: hover) {
|
|
1766
|
+
background-color: var(--primary);
|
|
1767
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1768
|
+
background-color: color-mix(in oklab, var(--primary) 90%, transparent);
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
.uii\:hover\:bg-secondary\/80 {
|
|
1774
|
+
&:hover {
|
|
1775
|
+
@media (hover: hover) {
|
|
1776
|
+
background-color: var(--secondary);
|
|
1777
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1778
|
+
background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
.uii\:hover\:text-accent-foreground {
|
|
1784
|
+
&:hover {
|
|
1785
|
+
@media (hover: hover) {
|
|
1786
|
+
color: var(--accent-foreground);
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
.uii\:hover\:underline {
|
|
1791
|
+
&:hover {
|
|
1792
|
+
@media (hover: hover) {
|
|
1793
|
+
text-decoration-line: underline;
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1661
1797
|
.uii\:focus\:bg-accent {
|
|
1662
1798
|
&:focus {
|
|
1663
1799
|
background-color: var(--accent);
|
|
@@ -1679,6 +1815,14 @@
|
|
|
1679
1815
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1680
1816
|
}
|
|
1681
1817
|
}
|
|
1818
|
+
.uii\:focus-visible\:ring-destructive\/20 {
|
|
1819
|
+
&:focus-visible {
|
|
1820
|
+
--tw-ring-color: var(--destructive);
|
|
1821
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1822
|
+
--tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1682
1826
|
.uii\:focus-visible\:ring-ring\/50 {
|
|
1683
1827
|
&:focus-visible {
|
|
1684
1828
|
--tw-ring-color: var(--ring);
|
|
@@ -1702,6 +1846,21 @@
|
|
|
1702
1846
|
opacity: 50%;
|
|
1703
1847
|
}
|
|
1704
1848
|
}
|
|
1849
|
+
.uii\:has-\[\>svg\]\:px-2\.5 {
|
|
1850
|
+
&:has(>svg) {
|
|
1851
|
+
padding-inline: calc(var(--uii-spacing) * 2.5);
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
.uii\:has-\[\>svg\]\:px-3 {
|
|
1855
|
+
&:has(>svg) {
|
|
1856
|
+
padding-inline: calc(var(--uii-spacing) * 3);
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
.uii\:has-\[\>svg\]\:px-4 {
|
|
1860
|
+
&:has(>svg) {
|
|
1861
|
+
padding-inline: calc(var(--uii-spacing) * 4);
|
|
1862
|
+
}
|
|
1863
|
+
}
|
|
1705
1864
|
.uii\:aria-invalid\:border-destructive {
|
|
1706
1865
|
&[aria-invalid="true"] {
|
|
1707
1866
|
border-color: var(--destructive);
|
|
@@ -1952,6 +2111,16 @@
|
|
|
1952
2111
|
line-height: var(--tw-leading, var(--uii-text-sm--line-height));
|
|
1953
2112
|
}
|
|
1954
2113
|
}
|
|
2114
|
+
.uii\:dark\:focus-visible\:ring-destructive\/40 {
|
|
2115
|
+
&:is(.dark *) {
|
|
2116
|
+
&:focus-visible {
|
|
2117
|
+
--tw-ring-color: var(--destructive);
|
|
2118
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2119
|
+
--tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
1955
2124
|
.uii\:dark\:aria-invalid\:ring-destructive\/40 {
|
|
1956
2125
|
&:is(.dark *) {
|
|
1957
2126
|
&[aria-invalid="true"] {
|