@jbpark/ui-kit 2.2.2 → 2.3.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/Menu.d.mts +1 -1
- package/dist/Menu.mjs +1 -1
- package/dist/Reveals.d.mts +1 -1
- package/dist/Typography.d.mts +1 -1
- package/dist/{index-BQHdyc27.d.mts → index-CKq4NOxI.d.mts} +10 -10
- package/dist/{index-BbwB0IAD.d.mts → index-CXT7Z-4F.d.mts} +4 -4
- package/dist/{index-D2igfkiF.d.mts → index-DrfCF4Ya.d.mts} +2 -2
- package/dist/index.d.mts +120 -70
- package/dist/index.mjs +1 -1
- package/dist/output.css +256 -0
- package/dist/{src-DZ7IYc6G.mjs → src-MBsIpDyP.mjs} +276 -41
- package/package.json +1 -1
package/dist/output.css
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
--text-5xl--line-height: 1;
|
|
34
34
|
--text-6xl: 3.75rem;
|
|
35
35
|
--text-6xl--line-height: 1;
|
|
36
|
+
--font-weight-normal: 400;
|
|
36
37
|
--font-weight-medium: 500;
|
|
37
38
|
--font-weight-semibold: 600;
|
|
38
39
|
--font-weight-bold: 700;
|
|
@@ -196,6 +197,10 @@
|
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
199
|
@layer utilities {
|
|
200
|
+
.\@container\/field-group {
|
|
201
|
+
container-type: inline-size;
|
|
202
|
+
container-name: field-group;
|
|
203
|
+
}
|
|
199
204
|
.pointer-events-none {
|
|
200
205
|
pointer-events: none;
|
|
201
206
|
}
|
|
@@ -321,6 +326,9 @@
|
|
|
321
326
|
.mx-auto {
|
|
322
327
|
margin-inline: auto;
|
|
323
328
|
}
|
|
329
|
+
.-my-2 {
|
|
330
|
+
margin-block: calc(var(--spacing) * -2);
|
|
331
|
+
}
|
|
324
332
|
.my-1 {
|
|
325
333
|
margin-block: calc(var(--spacing) * 1);
|
|
326
334
|
}
|
|
@@ -336,9 +344,15 @@
|
|
|
336
344
|
.mt-auto {
|
|
337
345
|
margin-top: auto;
|
|
338
346
|
}
|
|
347
|
+
.mb-3 {
|
|
348
|
+
margin-bottom: calc(var(--spacing) * 3);
|
|
349
|
+
}
|
|
339
350
|
.mb-4 {
|
|
340
351
|
margin-bottom: calc(var(--spacing) * 4);
|
|
341
352
|
}
|
|
353
|
+
.ml-4 {
|
|
354
|
+
margin-left: calc(var(--spacing) * 4);
|
|
355
|
+
}
|
|
342
356
|
.box-content {
|
|
343
357
|
box-sizing: content-box;
|
|
344
358
|
}
|
|
@@ -403,6 +417,9 @@
|
|
|
403
417
|
.h-4 {
|
|
404
418
|
height: calc(var(--spacing) * 4);
|
|
405
419
|
}
|
|
420
|
+
.h-5 {
|
|
421
|
+
height: calc(var(--spacing) * 5);
|
|
422
|
+
}
|
|
406
423
|
.h-6 {
|
|
407
424
|
height: calc(var(--spacing) * 6);
|
|
408
425
|
}
|
|
@@ -585,6 +602,9 @@
|
|
|
585
602
|
.cursor-no-drop {
|
|
586
603
|
cursor: no-drop;
|
|
587
604
|
}
|
|
605
|
+
.cursor-not-allowed {
|
|
606
|
+
cursor: not-allowed;
|
|
607
|
+
}
|
|
588
608
|
.cursor-pointer {
|
|
589
609
|
cursor: pointer;
|
|
590
610
|
}
|
|
@@ -594,6 +614,9 @@
|
|
|
594
614
|
.scroll-my-1 {
|
|
595
615
|
scroll-margin-block: calc(var(--spacing) * 1);
|
|
596
616
|
}
|
|
617
|
+
.list-disc {
|
|
618
|
+
list-style-type: disc;
|
|
619
|
+
}
|
|
597
620
|
.grid-cols-5 {
|
|
598
621
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
599
622
|
}
|
|
@@ -663,6 +686,12 @@
|
|
|
663
686
|
.gap-5 {
|
|
664
687
|
gap: calc(var(--spacing) * 5);
|
|
665
688
|
}
|
|
689
|
+
.gap-6 {
|
|
690
|
+
gap: calc(var(--spacing) * 6);
|
|
691
|
+
}
|
|
692
|
+
.gap-7 {
|
|
693
|
+
gap: calc(var(--spacing) * 7);
|
|
694
|
+
}
|
|
666
695
|
.space-y-2 {
|
|
667
696
|
:where(& > :not(:last-child)) {
|
|
668
697
|
--tw-space-y-reverse: 0;
|
|
@@ -995,6 +1024,10 @@
|
|
|
995
1024
|
--tw-font-weight: var(--font-weight-medium);
|
|
996
1025
|
font-weight: var(--font-weight-medium);
|
|
997
1026
|
}
|
|
1027
|
+
.font-normal {
|
|
1028
|
+
--tw-font-weight: var(--font-weight-normal);
|
|
1029
|
+
font-weight: var(--font-weight-normal);
|
|
1030
|
+
}
|
|
998
1031
|
.font-semibold {
|
|
999
1032
|
--tw-font-weight: var(--font-weight-semibold);
|
|
1000
1033
|
font-weight: var(--font-weight-semibold);
|
|
@@ -1023,6 +1056,9 @@
|
|
|
1023
1056
|
.text-current {
|
|
1024
1057
|
color: currentcolor;
|
|
1025
1058
|
}
|
|
1059
|
+
.text-destructive {
|
|
1060
|
+
color: var(--destructive);
|
|
1061
|
+
}
|
|
1026
1062
|
.text-foreground {
|
|
1027
1063
|
color: var(--foreground);
|
|
1028
1064
|
}
|
|
@@ -1166,6 +1202,11 @@
|
|
|
1166
1202
|
}
|
|
1167
1203
|
}
|
|
1168
1204
|
}
|
|
1205
|
+
.group-has-\[\[data-orientation\=horizontal\]\]\/field\:text-balance {
|
|
1206
|
+
&:is(:where(.group\/field):has(*:is([data-orientation=horizontal])) *) {
|
|
1207
|
+
text-wrap: balance;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1169
1210
|
.group-data-\[disabled\=true\]\:pointer-events-none {
|
|
1170
1211
|
&:is(:where(.group)[data-disabled="true"] *) {
|
|
1171
1212
|
pointer-events: none;
|
|
@@ -1176,6 +1217,11 @@
|
|
|
1176
1217
|
opacity: 50%;
|
|
1177
1218
|
}
|
|
1178
1219
|
}
|
|
1220
|
+
.group-data-\[disabled\=true\]\/field\:opacity-50 {
|
|
1221
|
+
&:is(:where(.group\/field)[data-disabled="true"] *) {
|
|
1222
|
+
opacity: 50%;
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1179
1225
|
.group-data-\[size\=default\]\/switch\:size-4 {
|
|
1180
1226
|
&:is(:where(.group\/switch)[data-size="default"] *) {
|
|
1181
1227
|
width: calc(var(--spacing) * 4);
|
|
@@ -1188,6 +1234,11 @@
|
|
|
1188
1234
|
height: calc(var(--spacing) * 3);
|
|
1189
1235
|
}
|
|
1190
1236
|
}
|
|
1237
|
+
.group-data-\[variant\=outline\]\/field-group\:-mb-2 {
|
|
1238
|
+
&:is(:where(.group\/field-group)[data-variant="outline"] *) {
|
|
1239
|
+
margin-bottom: calc(var(--spacing) * -2);
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1191
1242
|
.group-data-\[vaul-drawer-direction\=bottom\]\/drawer-content\:block {
|
|
1192
1243
|
&:is(:where(.group\/drawer-content)[data-vaul-drawer-direction="bottom"] *) {
|
|
1193
1244
|
display: block;
|
|
@@ -1596,6 +1647,11 @@
|
|
|
1596
1647
|
content: var(--tw-content);
|
|
1597
1648
|
}
|
|
1598
1649
|
}
|
|
1650
|
+
.last\:mt-0 {
|
|
1651
|
+
&:last-child {
|
|
1652
|
+
margin-top: calc(var(--spacing) * 0);
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1599
1655
|
.last\:border-b-0 {
|
|
1600
1656
|
&:last-child {
|
|
1601
1657
|
border-bottom-style: var(--tw-border-style);
|
|
@@ -1799,6 +1855,55 @@
|
|
|
1799
1855
|
opacity: 50%;
|
|
1800
1856
|
}
|
|
1801
1857
|
}
|
|
1858
|
+
.has-data-\[state\=checked\]\:border-primary {
|
|
1859
|
+
&:has(*[data-state="checked"]) {
|
|
1860
|
+
border-color: var(--primary);
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
.has-data-\[state\=checked\]\:bg-primary\/5 {
|
|
1864
|
+
&:has(*[data-state="checked"]) {
|
|
1865
|
+
background-color: var(--primary);
|
|
1866
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1867
|
+
background-color: color-mix(in oklab, var(--primary) 5%, transparent);
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
.has-\[\>\[data-slot\=checkbox-group\]\]\:gap-3 {
|
|
1872
|
+
&:has(>[data-slot=checkbox-group]) {
|
|
1873
|
+
gap: calc(var(--spacing) * 3);
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
.has-\[\>\[data-slot\=field-content\]\]\:items-start {
|
|
1877
|
+
&:has(>[data-slot=field-content]) {
|
|
1878
|
+
align-items: flex-start;
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
.has-\[\>\[data-slot\=field\]\]\:w-full {
|
|
1882
|
+
&:has(>[data-slot=field]) {
|
|
1883
|
+
width: 100%;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
.has-\[\>\[data-slot\=field\]\]\:flex-col {
|
|
1887
|
+
&:has(>[data-slot=field]) {
|
|
1888
|
+
flex-direction: column;
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
.has-\[\>\[data-slot\=field\]\]\:rounded-md {
|
|
1892
|
+
&:has(>[data-slot=field]) {
|
|
1893
|
+
border-radius: calc(var(--radius) - 2px);
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
.has-\[\>\[data-slot\=field\]\]\:border {
|
|
1897
|
+
&:has(>[data-slot=field]) {
|
|
1898
|
+
border-style: var(--tw-border-style);
|
|
1899
|
+
border-width: 1px;
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
.has-\[\>\[data-slot\=radio-group\]\]\:gap-3 {
|
|
1903
|
+
&:has(>[data-slot=radio-group]) {
|
|
1904
|
+
gap: calc(var(--spacing) * 3);
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1802
1907
|
.has-\[\>svg\]\:px-1\.5 {
|
|
1803
1908
|
&:has(>svg) {
|
|
1804
1909
|
padding-inline: calc(var(--spacing) * 1.5);
|
|
@@ -1842,6 +1947,31 @@
|
|
|
1842
1947
|
opacity: 50%;
|
|
1843
1948
|
}
|
|
1844
1949
|
}
|
|
1950
|
+
.data-\[invalid\=true\]\:text-destructive {
|
|
1951
|
+
&[data-invalid="true"] {
|
|
1952
|
+
color: var(--destructive);
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
.data-\[orientation\=horizontal\]\:h-px {
|
|
1956
|
+
&[data-orientation="horizontal"] {
|
|
1957
|
+
height: 1px;
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
.data-\[orientation\=horizontal\]\:w-full {
|
|
1961
|
+
&[data-orientation="horizontal"] {
|
|
1962
|
+
width: 100%;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
.data-\[orientation\=vertical\]\:h-full {
|
|
1966
|
+
&[data-orientation="vertical"] {
|
|
1967
|
+
height: 100%;
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
.data-\[orientation\=vertical\]\:w-px {
|
|
1971
|
+
&[data-orientation="vertical"] {
|
|
1972
|
+
width: 1px;
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1845
1975
|
.data-\[placeholder\]\:text-muted-foreground {
|
|
1846
1976
|
&[data-placeholder] {
|
|
1847
1977
|
color: var(--muted-foreground);
|
|
@@ -1921,6 +2051,11 @@
|
|
|
1921
2051
|
width: calc(var(--spacing) * 6);
|
|
1922
2052
|
}
|
|
1923
2053
|
}
|
|
2054
|
+
.data-\[slot\=checkbox-group\]\:gap-3 {
|
|
2055
|
+
&[data-slot="checkbox-group"] {
|
|
2056
|
+
gap: calc(var(--spacing) * 3);
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
1924
2059
|
.\*\:data-\[slot\=select-value\]\:line-clamp-1 {
|
|
1925
2060
|
:is(& > *) {
|
|
1926
2061
|
&[data-slot="select-value"] {
|
|
@@ -2050,6 +2185,18 @@
|
|
|
2050
2185
|
background-color: var(--input);
|
|
2051
2186
|
}
|
|
2052
2187
|
}
|
|
2188
|
+
.data-\[variant\=label\]\:text-sm {
|
|
2189
|
+
&[data-variant="label"] {
|
|
2190
|
+
font-size: var(--text-sm);
|
|
2191
|
+
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
.data-\[variant\=legend\]\:text-base {
|
|
2195
|
+
&[data-variant="legend"] {
|
|
2196
|
+
font-size: var(--text-base);
|
|
2197
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2053
2200
|
.data-\[vaul-drawer-direction\=bottom\]\:inset-x-0 {
|
|
2054
2201
|
&[data-vaul-drawer-direction="bottom"] {
|
|
2055
2202
|
inset-inline: calc(var(--spacing) * 0);
|
|
@@ -2156,6 +2303,11 @@
|
|
|
2156
2303
|
border-bottom-width: 1px;
|
|
2157
2304
|
}
|
|
2158
2305
|
}
|
|
2306
|
+
.nth-last-2\:-mt-1 {
|
|
2307
|
+
&:nth-last-child(2) {
|
|
2308
|
+
margin-top: calc(var(--spacing) * -1);
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2159
2311
|
.max-sm\:max-w-\[80\%\] {
|
|
2160
2312
|
@media (width < 40rem) {
|
|
2161
2313
|
max-width: 80%;
|
|
@@ -2211,6 +2363,23 @@
|
|
|
2211
2363
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
2212
2364
|
}
|
|
2213
2365
|
}
|
|
2366
|
+
.\@md\/field-group\:flex-row {
|
|
2367
|
+
@container field-group (width >= 28rem) {
|
|
2368
|
+
flex-direction: row;
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
.\@md\/field-group\:items-center {
|
|
2372
|
+
@container field-group (width >= 28rem) {
|
|
2373
|
+
align-items: center;
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:items-start {
|
|
2377
|
+
@container field-group (width >= 28rem) {
|
|
2378
|
+
&:has(>[data-slot=field-content]) {
|
|
2379
|
+
align-items: flex-start;
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2214
2383
|
.dark\:border-input {
|
|
2215
2384
|
&:is(.dark *) {
|
|
2216
2385
|
border-color: var(--input);
|
|
@@ -2266,6 +2435,16 @@
|
|
|
2266
2435
|
}
|
|
2267
2436
|
}
|
|
2268
2437
|
}
|
|
2438
|
+
.dark\:has-data-\[state\=checked\]\:bg-primary\/10 {
|
|
2439
|
+
&:is(.dark *) {
|
|
2440
|
+
&:has(*[data-state="checked"]) {
|
|
2441
|
+
background-color: var(--primary);
|
|
2442
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2443
|
+
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2269
2448
|
.dark\:aria-invalid\:ring-destructive\/40 {
|
|
2270
2449
|
&:is(.dark *) {
|
|
2271
2450
|
&[aria-invalid="true"] {
|
|
@@ -2371,11 +2550,88 @@
|
|
|
2371
2550
|
}
|
|
2372
2551
|
}
|
|
2373
2552
|
}
|
|
2553
|
+
.\[\&\>\*\]\:w-full {
|
|
2554
|
+
&>* {
|
|
2555
|
+
width: 100%;
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
.\[\&\>\*\]\:data-\[slot\=field\]\:p-4 {
|
|
2559
|
+
&>* {
|
|
2560
|
+
&[data-slot="field"] {
|
|
2561
|
+
padding: calc(var(--spacing) * 4);
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
.\@md\/field-group\:\[\&\>\*\]\:w-auto {
|
|
2566
|
+
@container field-group (width >= 28rem) {
|
|
2567
|
+
&>* {
|
|
2568
|
+
width: auto;
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
.\[\&\>\.sr-only\]\:w-auto {
|
|
2573
|
+
&>.sr-only {
|
|
2574
|
+
width: auto;
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
.\[\&\>\[data-slot\=field-group\]\]\:gap-4 {
|
|
2578
|
+
&>[data-slot=field-group] {
|
|
2579
|
+
gap: calc(var(--spacing) * 4);
|
|
2580
|
+
}
|
|
2581
|
+
}
|
|
2582
|
+
.\[\&\>\[data-slot\=field-label\]\]\:flex-auto {
|
|
2583
|
+
&>[data-slot=field-label] {
|
|
2584
|
+
flex: auto;
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
.\@md\/field-group\:\[\&\>\[data-slot\=field-label\]\]\:flex-auto {
|
|
2588
|
+
@container field-group (width >= 28rem) {
|
|
2589
|
+
&>[data-slot=field-label] {
|
|
2590
|
+
flex: auto;
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px {
|
|
2595
|
+
&:has(>[data-slot=field-content]) {
|
|
2596
|
+
&>[role=checkbox],[role=radio] {
|
|
2597
|
+
margin-top: 1px;
|
|
2598
|
+
}
|
|
2599
|
+
}
|
|
2600
|
+
}
|
|
2601
|
+
.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px {
|
|
2602
|
+
@container field-group (width >= 28rem) {
|
|
2603
|
+
&:has(>[data-slot=field-content]) {
|
|
2604
|
+
&>[role=checkbox],[role=radio] {
|
|
2605
|
+
margin-top: 1px;
|
|
2606
|
+
}
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
}
|
|
2610
|
+
.\[\&\>a\]\:underline {
|
|
2611
|
+
&>a {
|
|
2612
|
+
text-decoration-line: underline;
|
|
2613
|
+
}
|
|
2614
|
+
}
|
|
2615
|
+
.\[\&\>a\]\:underline-offset-4 {
|
|
2616
|
+
&>a {
|
|
2617
|
+
text-underline-offset: 4px;
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
.\[\&\>a\:hover\]\:text-primary {
|
|
2621
|
+
&>a:hover {
|
|
2622
|
+
color: var(--primary);
|
|
2623
|
+
}
|
|
2624
|
+
}
|
|
2374
2625
|
.\[\&\[data-state\=open\]\>svg\]\:rotate-180 {
|
|
2375
2626
|
&[data-state=open]>svg {
|
|
2376
2627
|
rotate: 180deg;
|
|
2377
2628
|
}
|
|
2378
2629
|
}
|
|
2630
|
+
.\[\[data-variant\=legend\]\+\&\]\:-mt-1\.5 {
|
|
2631
|
+
[data-variant=legend]+& {
|
|
2632
|
+
margin-top: calc(var(--spacing) * -1.5);
|
|
2633
|
+
}
|
|
2634
|
+
}
|
|
2379
2635
|
}
|
|
2380
2636
|
@property --tw-animation-delay {
|
|
2381
2637
|
syntax: "*";
|