@copilotz/chat-ui 0.1.0 → 0.1.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 +405 -13
- package/dist/index.cjs +861 -567
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -1
- package/dist/index.d.ts +39 -1
- package/dist/index.js +775 -478
- package/dist/index.js.map +1 -1
- package/dist/styles.css +246 -18
- package/package.json +6 -2
package/dist/styles.css
CHANGED
|
@@ -53,11 +53,13 @@
|
|
|
53
53
|
--tracking-wider: 0.05em;
|
|
54
54
|
--tracking-widest: 0.1em;
|
|
55
55
|
--leading-tight: 1.25;
|
|
56
|
+
--leading-snug: 1.375;
|
|
56
57
|
--radius-xs: 0.125rem;
|
|
57
58
|
--radius-sm: 0.25rem;
|
|
58
59
|
--radius-md: 0.375rem;
|
|
59
60
|
--radius-lg: 0.5rem;
|
|
60
61
|
--radius-xl: 0.75rem;
|
|
62
|
+
--radius-2xl: 1rem;
|
|
61
63
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
62
64
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
63
65
|
--animate-spin: spin 1s linear infinite;
|
|
@@ -310,6 +312,9 @@
|
|
|
310
312
|
.right-1 {
|
|
311
313
|
right: calc(var(--spacing) * 1);
|
|
312
314
|
}
|
|
315
|
+
.right-2 {
|
|
316
|
+
right: calc(var(--spacing) * 2);
|
|
317
|
+
}
|
|
313
318
|
.right-3 {
|
|
314
319
|
right: calc(var(--spacing) * 3);
|
|
315
320
|
}
|
|
@@ -987,6 +992,9 @@
|
|
|
987
992
|
margin-bottom: 0;
|
|
988
993
|
}
|
|
989
994
|
}
|
|
995
|
+
.-mt-2 {
|
|
996
|
+
margin-top: calc(var(--spacing) * -2);
|
|
997
|
+
}
|
|
990
998
|
.mt-0 {
|
|
991
999
|
margin-top: calc(var(--spacing) * 0);
|
|
992
1000
|
}
|
|
@@ -1002,8 +1010,8 @@
|
|
|
1002
1010
|
.mt-3 {
|
|
1003
1011
|
margin-top: calc(var(--spacing) * 3);
|
|
1004
1012
|
}
|
|
1005
|
-
.mt-
|
|
1006
|
-
margin-top: calc(var(--spacing) *
|
|
1013
|
+
.mt-4 {
|
|
1014
|
+
margin-top: calc(var(--spacing) * 4);
|
|
1007
1015
|
}
|
|
1008
1016
|
.mt-auto {
|
|
1009
1017
|
margin-top: auto;
|
|
@@ -1014,6 +1022,12 @@
|
|
|
1014
1022
|
.mr-2 {
|
|
1015
1023
|
margin-right: calc(var(--spacing) * 2);
|
|
1016
1024
|
}
|
|
1025
|
+
.mr-9 {
|
|
1026
|
+
margin-right: calc(var(--spacing) * 9);
|
|
1027
|
+
}
|
|
1028
|
+
.mr-11 {
|
|
1029
|
+
margin-right: calc(var(--spacing) * 11);
|
|
1030
|
+
}
|
|
1017
1031
|
.mb-0\.5 {
|
|
1018
1032
|
margin-bottom: calc(var(--spacing) * 0.5);
|
|
1019
1033
|
}
|
|
@@ -1029,8 +1043,8 @@
|
|
|
1029
1043
|
.mb-4 {
|
|
1030
1044
|
margin-bottom: calc(var(--spacing) * 4);
|
|
1031
1045
|
}
|
|
1032
|
-
.mb-
|
|
1033
|
-
margin-bottom: calc(var(--spacing) *
|
|
1046
|
+
.mb-8 {
|
|
1047
|
+
margin-bottom: calc(var(--spacing) * 8);
|
|
1034
1048
|
}
|
|
1035
1049
|
.-ml-1 {
|
|
1036
1050
|
margin-left: calc(var(--spacing) * -1);
|
|
@@ -1038,9 +1052,24 @@
|
|
|
1038
1052
|
.ml-1 {
|
|
1039
1053
|
margin-left: calc(var(--spacing) * 1);
|
|
1040
1054
|
}
|
|
1055
|
+
.ml-2 {
|
|
1056
|
+
margin-left: calc(var(--spacing) * 2);
|
|
1057
|
+
}
|
|
1058
|
+
.ml-9 {
|
|
1059
|
+
margin-left: calc(var(--spacing) * 9);
|
|
1060
|
+
}
|
|
1061
|
+
.ml-11 {
|
|
1062
|
+
margin-left: calc(var(--spacing) * 11);
|
|
1063
|
+
}
|
|
1041
1064
|
.ml-auto {
|
|
1042
1065
|
margin-left: auto;
|
|
1043
1066
|
}
|
|
1067
|
+
.line-clamp-2 {
|
|
1068
|
+
overflow: hidden;
|
|
1069
|
+
display: -webkit-box;
|
|
1070
|
+
-webkit-box-orient: vertical;
|
|
1071
|
+
-webkit-line-clamp: 2;
|
|
1072
|
+
}
|
|
1044
1073
|
.\!inline {
|
|
1045
1074
|
display: inline !important;
|
|
1046
1075
|
}
|
|
@@ -1139,8 +1168,8 @@
|
|
|
1139
1168
|
.h-12 {
|
|
1140
1169
|
height: calc(var(--spacing) * 12);
|
|
1141
1170
|
}
|
|
1142
|
-
.h-
|
|
1143
|
-
height: calc(var(--spacing) *
|
|
1171
|
+
.h-14 {
|
|
1172
|
+
height: calc(var(--spacing) * 14);
|
|
1144
1173
|
}
|
|
1145
1174
|
.h-20 {
|
|
1146
1175
|
height: calc(var(--spacing) * 20);
|
|
@@ -1154,6 +1183,9 @@
|
|
|
1154
1183
|
.h-\[calc\(100vh-280px\)\] {
|
|
1155
1184
|
height: calc(100vh - 280px);
|
|
1156
1185
|
}
|
|
1186
|
+
.h-\[var\(--radix-select-trigger-height\)\] {
|
|
1187
|
+
height: var(--radix-select-trigger-height);
|
|
1188
|
+
}
|
|
1157
1189
|
.h-auto {
|
|
1158
1190
|
height: auto;
|
|
1159
1191
|
}
|
|
@@ -1181,6 +1213,9 @@
|
|
|
1181
1213
|
.min-h-\[60px\] {
|
|
1182
1214
|
min-height: 60px;
|
|
1183
1215
|
}
|
|
1216
|
+
.min-h-\[60vh\] {
|
|
1217
|
+
min-height: 60vh;
|
|
1218
|
+
}
|
|
1184
1219
|
.min-h-\[100px\] {
|
|
1185
1220
|
min-height: 100px;
|
|
1186
1221
|
}
|
|
@@ -1229,8 +1264,8 @@
|
|
|
1229
1264
|
.w-12 {
|
|
1230
1265
|
width: calc(var(--spacing) * 12);
|
|
1231
1266
|
}
|
|
1232
|
-
.w-
|
|
1233
|
-
width: calc(var(--spacing) *
|
|
1267
|
+
.w-14 {
|
|
1268
|
+
width: calc(var(--spacing) * 14);
|
|
1234
1269
|
}
|
|
1235
1270
|
.w-24 {
|
|
1236
1271
|
width: calc(var(--spacing) * 24);
|
|
@@ -1244,6 +1279,18 @@
|
|
|
1244
1279
|
.w-\[--radix-dropdown-menu-trigger-width\] {
|
|
1245
1280
|
width: --radix-dropdown-menu-trigger-width;
|
|
1246
1281
|
}
|
|
1282
|
+
.w-\[70\%\] {
|
|
1283
|
+
width: 70%;
|
|
1284
|
+
}
|
|
1285
|
+
.w-\[75\%\] {
|
|
1286
|
+
width: 75%;
|
|
1287
|
+
}
|
|
1288
|
+
.w-\[85\%\] {
|
|
1289
|
+
width: 85%;
|
|
1290
|
+
}
|
|
1291
|
+
.w-\[280px\] {
|
|
1292
|
+
width: 280px;
|
|
1293
|
+
}
|
|
1247
1294
|
.w-auto {
|
|
1248
1295
|
width: auto;
|
|
1249
1296
|
}
|
|
@@ -1271,6 +1318,9 @@
|
|
|
1271
1318
|
.max-w-\[150px\] {
|
|
1272
1319
|
max-width: 150px;
|
|
1273
1320
|
}
|
|
1321
|
+
.max-w-\[200px\] {
|
|
1322
|
+
max-width: 200px;
|
|
1323
|
+
}
|
|
1274
1324
|
.max-w-\[800px\] {
|
|
1275
1325
|
max-width: 800px;
|
|
1276
1326
|
}
|
|
@@ -1304,6 +1354,9 @@
|
|
|
1304
1354
|
.min-w-\[8rem\] {
|
|
1305
1355
|
min-width: 8rem;
|
|
1306
1356
|
}
|
|
1357
|
+
.min-w-\[var\(--radix-select-trigger-width\)\] {
|
|
1358
|
+
min-width: var(--radix-select-trigger-width);
|
|
1359
|
+
}
|
|
1307
1360
|
.flex-1 {
|
|
1308
1361
|
flex: 1;
|
|
1309
1362
|
}
|
|
@@ -1350,6 +1403,10 @@
|
|
|
1350
1403
|
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
1351
1404
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1352
1405
|
}
|
|
1406
|
+
.translate-y-1 {
|
|
1407
|
+
--tw-translate-y: calc(var(--spacing) * 1);
|
|
1408
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1409
|
+
}
|
|
1353
1410
|
.translate-y-\[-50\%\] {
|
|
1354
1411
|
--tw-translate-y: -50%;
|
|
1355
1412
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -1418,6 +1475,9 @@
|
|
|
1418
1475
|
.flex-row-reverse {
|
|
1419
1476
|
flex-direction: row-reverse;
|
|
1420
1477
|
}
|
|
1478
|
+
.flex-wrap {
|
|
1479
|
+
flex-wrap: wrap;
|
|
1480
|
+
}
|
|
1421
1481
|
.items-center {
|
|
1422
1482
|
align-items: center;
|
|
1423
1483
|
}
|
|
@@ -1460,6 +1520,13 @@
|
|
|
1460
1520
|
.gap-6 {
|
|
1461
1521
|
gap: calc(var(--spacing) * 6);
|
|
1462
1522
|
}
|
|
1523
|
+
.space-y-1 {
|
|
1524
|
+
:where(& > :not(:last-child)) {
|
|
1525
|
+
--tw-space-y-reverse: 0;
|
|
1526
|
+
margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
|
|
1527
|
+
margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1463
1530
|
.space-y-2 {
|
|
1464
1531
|
:where(& > :not(:last-child)) {
|
|
1465
1532
|
--tw-space-y-reverse: 0;
|
|
@@ -1520,6 +1587,9 @@
|
|
|
1520
1587
|
.rounded {
|
|
1521
1588
|
border-radius: 0.25rem;
|
|
1522
1589
|
}
|
|
1590
|
+
.rounded-2xl {
|
|
1591
|
+
border-radius: var(--radius-2xl);
|
|
1592
|
+
}
|
|
1523
1593
|
.rounded-\[2px\] {
|
|
1524
1594
|
border-radius: 2px;
|
|
1525
1595
|
}
|
|
@@ -1583,6 +1653,9 @@
|
|
|
1583
1653
|
--tw-border-style: dashed;
|
|
1584
1654
|
border-style: dashed;
|
|
1585
1655
|
}
|
|
1656
|
+
.border-border {
|
|
1657
|
+
border-color: var(--color-border);
|
|
1658
|
+
}
|
|
1586
1659
|
.border-input {
|
|
1587
1660
|
border-color: var(--color-input);
|
|
1588
1661
|
}
|
|
@@ -1727,6 +1800,24 @@
|
|
|
1727
1800
|
.bg-transparent {
|
|
1728
1801
|
background-color: transparent;
|
|
1729
1802
|
}
|
|
1803
|
+
.bg-gradient-to-br {
|
|
1804
|
+
--tw-gradient-position: to bottom right in oklab;
|
|
1805
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1806
|
+
}
|
|
1807
|
+
.from-primary\/20 {
|
|
1808
|
+
--tw-gradient-from: color-mix(in srgb, hsl(var(--primary)) 20%, transparent);
|
|
1809
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1810
|
+
--tw-gradient-from: color-mix(in oklab, var(--color-primary) 20%, transparent);
|
|
1811
|
+
}
|
|
1812
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1813
|
+
}
|
|
1814
|
+
.to-primary\/5 {
|
|
1815
|
+
--tw-gradient-to: color-mix(in srgb, hsl(var(--primary)) 5%, transparent);
|
|
1816
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1817
|
+
--tw-gradient-to: color-mix(in oklab, var(--color-primary) 5%, transparent);
|
|
1818
|
+
}
|
|
1819
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1820
|
+
}
|
|
1730
1821
|
.fill-current {
|
|
1731
1822
|
fill: currentcolor;
|
|
1732
1823
|
}
|
|
@@ -1793,6 +1884,9 @@
|
|
|
1793
1884
|
.py-2 {
|
|
1794
1885
|
padding-block: calc(var(--spacing) * 2);
|
|
1795
1886
|
}
|
|
1887
|
+
.py-3 {
|
|
1888
|
+
padding-block: calc(var(--spacing) * 3);
|
|
1889
|
+
}
|
|
1796
1890
|
.py-4 {
|
|
1797
1891
|
padding-block: calc(var(--spacing) * 4);
|
|
1798
1892
|
}
|
|
@@ -1808,6 +1902,12 @@
|
|
|
1808
1902
|
.pr-2 {
|
|
1809
1903
|
padding-right: calc(var(--spacing) * 2);
|
|
1810
1904
|
}
|
|
1905
|
+
.pr-6 {
|
|
1906
|
+
padding-right: calc(var(--spacing) * 6);
|
|
1907
|
+
}
|
|
1908
|
+
.pr-8 {
|
|
1909
|
+
padding-right: calc(var(--spacing) * 8);
|
|
1910
|
+
}
|
|
1811
1911
|
.pb-1 {
|
|
1812
1912
|
padding-bottom: calc(var(--spacing) * 1);
|
|
1813
1913
|
}
|
|
@@ -1820,6 +1920,9 @@
|
|
|
1820
1920
|
.pb-\[env\(safe-area-inset-bottom\)\] {
|
|
1821
1921
|
padding-bottom: env(safe-area-inset-bottom);
|
|
1822
1922
|
}
|
|
1923
|
+
.pl-2 {
|
|
1924
|
+
padding-left: calc(var(--spacing) * 2);
|
|
1925
|
+
}
|
|
1823
1926
|
.pl-8 {
|
|
1824
1927
|
padding-left: calc(var(--spacing) * 8);
|
|
1825
1928
|
}
|
|
@@ -1866,6 +1969,10 @@
|
|
|
1866
1969
|
--tw-leading: 1;
|
|
1867
1970
|
line-height: 1;
|
|
1868
1971
|
}
|
|
1972
|
+
.leading-snug {
|
|
1973
|
+
--tw-leading: var(--leading-snug);
|
|
1974
|
+
line-height: var(--leading-snug);
|
|
1975
|
+
}
|
|
1869
1976
|
.leading-tight {
|
|
1870
1977
|
--tw-leading: var(--leading-tight);
|
|
1871
1978
|
line-height: var(--leading-tight);
|
|
@@ -1921,6 +2028,12 @@
|
|
|
1921
2028
|
.text-foreground {
|
|
1922
2029
|
color: var(--color-foreground);
|
|
1923
2030
|
}
|
|
2031
|
+
.text-foreground\/80 {
|
|
2032
|
+
color: color-mix(in srgb, hsl(var(--foreground)) 80%, transparent);
|
|
2033
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2034
|
+
color: color-mix(in oklab, var(--color-foreground) 80%, transparent);
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
1924
2037
|
.text-green-500 {
|
|
1925
2038
|
color: var(--color-green-500);
|
|
1926
2039
|
}
|
|
@@ -2091,6 +2204,10 @@
|
|
|
2091
2204
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2092
2205
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2093
2206
|
}
|
|
2207
|
+
.duration-150 {
|
|
2208
|
+
--tw-duration: 150ms;
|
|
2209
|
+
transition-duration: 150ms;
|
|
2210
|
+
}
|
|
2094
2211
|
.duration-200 {
|
|
2095
2212
|
--tw-duration: 200ms;
|
|
2096
2213
|
transition-duration: 200ms;
|
|
@@ -2138,6 +2255,16 @@
|
|
|
2138
2255
|
opacity: 100%;
|
|
2139
2256
|
}
|
|
2140
2257
|
}
|
|
2258
|
+
.group-hover\:bg-primary\/15 {
|
|
2259
|
+
&:is(:where(.group):hover *) {
|
|
2260
|
+
@media (hover: hover) {
|
|
2261
|
+
background-color: color-mix(in srgb, hsl(var(--primary)) 15%, transparent);
|
|
2262
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2263
|
+
background-color: color-mix(in oklab, var(--color-primary) 15%, transparent);
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2141
2268
|
.group-hover\:opacity-100 {
|
|
2142
2269
|
&:is(:where(.group):hover *) {
|
|
2143
2270
|
@media (hover: hover) {
|
|
@@ -2412,6 +2539,23 @@
|
|
|
2412
2539
|
}
|
|
2413
2540
|
}
|
|
2414
2541
|
}
|
|
2542
|
+
.hover\:border-accent {
|
|
2543
|
+
&:hover {
|
|
2544
|
+
@media (hover: hover) {
|
|
2545
|
+
border-color: var(--color-accent);
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
.hover\:border-accent-foreground\/20 {
|
|
2550
|
+
&:hover {
|
|
2551
|
+
@media (hover: hover) {
|
|
2552
|
+
border-color: color-mix(in srgb, hsl(var(--accent-foreground)) 20%, transparent);
|
|
2553
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2554
|
+
border-color: color-mix(in oklab, var(--color-accent-foreground) 20%, transparent);
|
|
2555
|
+
}
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2415
2559
|
.hover\:bg-accent {
|
|
2416
2560
|
&:hover {
|
|
2417
2561
|
@media (hover: hover) {
|
|
@@ -2419,6 +2563,16 @@
|
|
|
2419
2563
|
}
|
|
2420
2564
|
}
|
|
2421
2565
|
}
|
|
2566
|
+
.hover\:bg-accent\/50 {
|
|
2567
|
+
&:hover {
|
|
2568
|
+
@media (hover: hover) {
|
|
2569
|
+
background-color: color-mix(in srgb, hsl(var(--accent)) 50%, transparent);
|
|
2570
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2571
|
+
background-color: color-mix(in oklab, var(--color-accent) 50%, transparent);
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2422
2576
|
.hover\:bg-destructive\/90 {
|
|
2423
2577
|
&:hover {
|
|
2424
2578
|
@media (hover: hover) {
|
|
@@ -2473,6 +2627,13 @@
|
|
|
2473
2627
|
}
|
|
2474
2628
|
}
|
|
2475
2629
|
}
|
|
2630
|
+
.hover\:text-foreground {
|
|
2631
|
+
&:hover {
|
|
2632
|
+
@media (hover: hover) {
|
|
2633
|
+
color: var(--color-foreground);
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
}
|
|
2476
2637
|
.hover\:text-sidebar-accent-foreground {
|
|
2477
2638
|
&:hover {
|
|
2478
2639
|
@media (hover: hover) {
|
|
@@ -2510,6 +2671,14 @@
|
|
|
2510
2671
|
}
|
|
2511
2672
|
}
|
|
2512
2673
|
}
|
|
2674
|
+
.hover\:shadow-sm {
|
|
2675
|
+
&:hover {
|
|
2676
|
+
@media (hover: hover) {
|
|
2677
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
2678
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2513
2682
|
.hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar {
|
|
2514
2683
|
&:hover {
|
|
2515
2684
|
@media (hover: hover) {
|
|
@@ -2558,6 +2727,14 @@
|
|
|
2558
2727
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2559
2728
|
}
|
|
2560
2729
|
}
|
|
2730
|
+
.focus\:ring-primary\/40 {
|
|
2731
|
+
&:focus {
|
|
2732
|
+
--tw-ring-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent);
|
|
2733
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2734
|
+
--tw-ring-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
}
|
|
2561
2738
|
.focus\:ring-ring {
|
|
2562
2739
|
&:focus {
|
|
2563
2740
|
--tw-ring-color: var(--color-ring);
|
|
@@ -2795,6 +2972,11 @@
|
|
|
2795
2972
|
--tw-enter-translate-y: calc(2*var(--spacing));
|
|
2796
2973
|
}
|
|
2797
2974
|
}
|
|
2975
|
+
.data-\[state\=closed\]\:pointer-events-none {
|
|
2976
|
+
&[data-state="closed"] {
|
|
2977
|
+
pointer-events: none;
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2798
2980
|
.data-\[state\=closed\]\:animate-accordion-up {
|
|
2799
2981
|
&[data-state="closed"] {
|
|
2800
2982
|
animation: accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
@@ -2994,6 +3176,11 @@
|
|
|
2994
3176
|
max-width: var(--container-sm);
|
|
2995
3177
|
}
|
|
2996
3178
|
}
|
|
3179
|
+
.sm\:grid-cols-2 {
|
|
3180
|
+
@media (width >= 40rem) {
|
|
3181
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
2997
3184
|
.sm\:flex-row {
|
|
2998
3185
|
@media (width >= 40rem) {
|
|
2999
3186
|
flex-direction: row;
|
|
@@ -3019,11 +3206,6 @@
|
|
|
3019
3206
|
display: flex;
|
|
3020
3207
|
}
|
|
3021
3208
|
}
|
|
3022
|
-
.md\:hidden {
|
|
3023
|
-
@media (width >= 48rem) {
|
|
3024
|
-
display: none;
|
|
3025
|
-
}
|
|
3026
|
-
}
|
|
3027
3209
|
.md\:h-screen {
|
|
3028
3210
|
@media (width >= 48rem) {
|
|
3029
3211
|
height: 100vh;
|
|
@@ -3034,11 +3216,6 @@
|
|
|
3034
3216
|
min-width: var(--container-3xl);
|
|
3035
3217
|
}
|
|
3036
3218
|
}
|
|
3037
|
-
.md\:grid-cols-2 {
|
|
3038
|
-
@media (width >= 48rem) {
|
|
3039
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3040
|
-
}
|
|
3041
|
-
}
|
|
3042
3219
|
.md\:p-2 {
|
|
3043
3220
|
@media (width >= 48rem) {
|
|
3044
3221
|
padding: calc(var(--spacing) * 2);
|
|
@@ -3834,6 +4011,48 @@ code.hljs {
|
|
|
3834
4011
|
inherits: false;
|
|
3835
4012
|
initial-value: solid;
|
|
3836
4013
|
}
|
|
4014
|
+
@property --tw-gradient-position {
|
|
4015
|
+
syntax: "*";
|
|
4016
|
+
inherits: false;
|
|
4017
|
+
}
|
|
4018
|
+
@property --tw-gradient-from {
|
|
4019
|
+
syntax: "<color>";
|
|
4020
|
+
inherits: false;
|
|
4021
|
+
initial-value: #0000;
|
|
4022
|
+
}
|
|
4023
|
+
@property --tw-gradient-via {
|
|
4024
|
+
syntax: "<color>";
|
|
4025
|
+
inherits: false;
|
|
4026
|
+
initial-value: #0000;
|
|
4027
|
+
}
|
|
4028
|
+
@property --tw-gradient-to {
|
|
4029
|
+
syntax: "<color>";
|
|
4030
|
+
inherits: false;
|
|
4031
|
+
initial-value: #0000;
|
|
4032
|
+
}
|
|
4033
|
+
@property --tw-gradient-stops {
|
|
4034
|
+
syntax: "*";
|
|
4035
|
+
inherits: false;
|
|
4036
|
+
}
|
|
4037
|
+
@property --tw-gradient-via-stops {
|
|
4038
|
+
syntax: "*";
|
|
4039
|
+
inherits: false;
|
|
4040
|
+
}
|
|
4041
|
+
@property --tw-gradient-from-position {
|
|
4042
|
+
syntax: "<length-percentage>";
|
|
4043
|
+
inherits: false;
|
|
4044
|
+
initial-value: 0%;
|
|
4045
|
+
}
|
|
4046
|
+
@property --tw-gradient-via-position {
|
|
4047
|
+
syntax: "<length-percentage>";
|
|
4048
|
+
inherits: false;
|
|
4049
|
+
initial-value: 50%;
|
|
4050
|
+
}
|
|
4051
|
+
@property --tw-gradient-to-position {
|
|
4052
|
+
syntax: "<length-percentage>";
|
|
4053
|
+
inherits: false;
|
|
4054
|
+
initial-value: 100%;
|
|
4055
|
+
}
|
|
3837
4056
|
@property --tw-leading {
|
|
3838
4057
|
syntax: "*";
|
|
3839
4058
|
inherits: false;
|
|
@@ -4101,6 +4320,15 @@ code.hljs {
|
|
|
4101
4320
|
--tw-skew-y: initial;
|
|
4102
4321
|
--tw-space-y-reverse: 0;
|
|
4103
4322
|
--tw-border-style: solid;
|
|
4323
|
+
--tw-gradient-position: initial;
|
|
4324
|
+
--tw-gradient-from: #0000;
|
|
4325
|
+
--tw-gradient-via: #0000;
|
|
4326
|
+
--tw-gradient-to: #0000;
|
|
4327
|
+
--tw-gradient-stops: initial;
|
|
4328
|
+
--tw-gradient-via-stops: initial;
|
|
4329
|
+
--tw-gradient-from-position: 0%;
|
|
4330
|
+
--tw-gradient-via-position: 50%;
|
|
4331
|
+
--tw-gradient-to-position: 100%;
|
|
4104
4332
|
--tw-leading: initial;
|
|
4105
4333
|
--tw-font-weight: initial;
|
|
4106
4334
|
--tw-tracking: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotz/chat-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Copilotz chat UI components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -21,8 +21,11 @@
|
|
|
21
21
|
"**/*.css"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"build": "tsup",
|
|
24
|
+
"build": "tsup && npm run build:css",
|
|
25
25
|
"build:css": "tailwindcss -c tailwind.config.ts -i ./src/styles.css -o ./dist/styles.css",
|
|
26
|
+
"build:watch": "tsup --watch",
|
|
27
|
+
"build:css:watch": "tailwindcss -c tailwind.config.ts -i ./src/styles.css -o ./dist/styles.css --watch",
|
|
28
|
+
"dev": "npm run build:watch & npm run build:css:watch",
|
|
26
29
|
"prepack": "npm run build && npm run build:css"
|
|
27
30
|
},
|
|
28
31
|
"peerDependencies": {
|
|
@@ -38,6 +41,7 @@
|
|
|
38
41
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
39
42
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
40
43
|
"@radix-ui/react-progress": "^1.1.7",
|
|
44
|
+
"@radix-ui/react-select": "^2.1.7",
|
|
41
45
|
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
42
46
|
"@radix-ui/react-separator": "^1.1.7",
|
|
43
47
|
"@radix-ui/react-slot": "^1.2.3",
|