@copilotz/chat-ui 0.1.0 → 0.1.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 +405 -13
- package/dist/index.cjs +369 -110
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +38 -1
- package/dist/index.d.ts +38 -1
- package/dist/index.js +413 -151
- package/dist/index.js.map +1 -1
- package/dist/styles.css +237 -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,9 @@
|
|
|
1244
1279
|
.w-\[--radix-dropdown-menu-trigger-width\] {
|
|
1245
1280
|
width: --radix-dropdown-menu-trigger-width;
|
|
1246
1281
|
}
|
|
1282
|
+
.w-\[280px\] {
|
|
1283
|
+
width: 280px;
|
|
1284
|
+
}
|
|
1247
1285
|
.w-auto {
|
|
1248
1286
|
width: auto;
|
|
1249
1287
|
}
|
|
@@ -1271,6 +1309,9 @@
|
|
|
1271
1309
|
.max-w-\[150px\] {
|
|
1272
1310
|
max-width: 150px;
|
|
1273
1311
|
}
|
|
1312
|
+
.max-w-\[200px\] {
|
|
1313
|
+
max-width: 200px;
|
|
1314
|
+
}
|
|
1274
1315
|
.max-w-\[800px\] {
|
|
1275
1316
|
max-width: 800px;
|
|
1276
1317
|
}
|
|
@@ -1304,6 +1345,9 @@
|
|
|
1304
1345
|
.min-w-\[8rem\] {
|
|
1305
1346
|
min-width: 8rem;
|
|
1306
1347
|
}
|
|
1348
|
+
.min-w-\[var\(--radix-select-trigger-width\)\] {
|
|
1349
|
+
min-width: var(--radix-select-trigger-width);
|
|
1350
|
+
}
|
|
1307
1351
|
.flex-1 {
|
|
1308
1352
|
flex: 1;
|
|
1309
1353
|
}
|
|
@@ -1350,6 +1394,10 @@
|
|
|
1350
1394
|
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
1351
1395
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1352
1396
|
}
|
|
1397
|
+
.translate-y-1 {
|
|
1398
|
+
--tw-translate-y: calc(var(--spacing) * 1);
|
|
1399
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1400
|
+
}
|
|
1353
1401
|
.translate-y-\[-50\%\] {
|
|
1354
1402
|
--tw-translate-y: -50%;
|
|
1355
1403
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -1418,6 +1466,9 @@
|
|
|
1418
1466
|
.flex-row-reverse {
|
|
1419
1467
|
flex-direction: row-reverse;
|
|
1420
1468
|
}
|
|
1469
|
+
.flex-wrap {
|
|
1470
|
+
flex-wrap: wrap;
|
|
1471
|
+
}
|
|
1421
1472
|
.items-center {
|
|
1422
1473
|
align-items: center;
|
|
1423
1474
|
}
|
|
@@ -1460,6 +1511,13 @@
|
|
|
1460
1511
|
.gap-6 {
|
|
1461
1512
|
gap: calc(var(--spacing) * 6);
|
|
1462
1513
|
}
|
|
1514
|
+
.space-y-1 {
|
|
1515
|
+
:where(& > :not(:last-child)) {
|
|
1516
|
+
--tw-space-y-reverse: 0;
|
|
1517
|
+
margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
|
|
1518
|
+
margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1463
1521
|
.space-y-2 {
|
|
1464
1522
|
:where(& > :not(:last-child)) {
|
|
1465
1523
|
--tw-space-y-reverse: 0;
|
|
@@ -1520,6 +1578,9 @@
|
|
|
1520
1578
|
.rounded {
|
|
1521
1579
|
border-radius: 0.25rem;
|
|
1522
1580
|
}
|
|
1581
|
+
.rounded-2xl {
|
|
1582
|
+
border-radius: var(--radius-2xl);
|
|
1583
|
+
}
|
|
1523
1584
|
.rounded-\[2px\] {
|
|
1524
1585
|
border-radius: 2px;
|
|
1525
1586
|
}
|
|
@@ -1583,6 +1644,9 @@
|
|
|
1583
1644
|
--tw-border-style: dashed;
|
|
1584
1645
|
border-style: dashed;
|
|
1585
1646
|
}
|
|
1647
|
+
.border-border {
|
|
1648
|
+
border-color: var(--color-border);
|
|
1649
|
+
}
|
|
1586
1650
|
.border-input {
|
|
1587
1651
|
border-color: var(--color-input);
|
|
1588
1652
|
}
|
|
@@ -1727,6 +1791,24 @@
|
|
|
1727
1791
|
.bg-transparent {
|
|
1728
1792
|
background-color: transparent;
|
|
1729
1793
|
}
|
|
1794
|
+
.bg-gradient-to-br {
|
|
1795
|
+
--tw-gradient-position: to bottom right in oklab;
|
|
1796
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1797
|
+
}
|
|
1798
|
+
.from-primary\/20 {
|
|
1799
|
+
--tw-gradient-from: color-mix(in srgb, hsl(var(--primary)) 20%, transparent);
|
|
1800
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1801
|
+
--tw-gradient-from: color-mix(in oklab, var(--color-primary) 20%, transparent);
|
|
1802
|
+
}
|
|
1803
|
+
--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));
|
|
1804
|
+
}
|
|
1805
|
+
.to-primary\/5 {
|
|
1806
|
+
--tw-gradient-to: color-mix(in srgb, hsl(var(--primary)) 5%, transparent);
|
|
1807
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1808
|
+
--tw-gradient-to: color-mix(in oklab, var(--color-primary) 5%, transparent);
|
|
1809
|
+
}
|
|
1810
|
+
--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));
|
|
1811
|
+
}
|
|
1730
1812
|
.fill-current {
|
|
1731
1813
|
fill: currentcolor;
|
|
1732
1814
|
}
|
|
@@ -1793,6 +1875,9 @@
|
|
|
1793
1875
|
.py-2 {
|
|
1794
1876
|
padding-block: calc(var(--spacing) * 2);
|
|
1795
1877
|
}
|
|
1878
|
+
.py-3 {
|
|
1879
|
+
padding-block: calc(var(--spacing) * 3);
|
|
1880
|
+
}
|
|
1796
1881
|
.py-4 {
|
|
1797
1882
|
padding-block: calc(var(--spacing) * 4);
|
|
1798
1883
|
}
|
|
@@ -1808,6 +1893,12 @@
|
|
|
1808
1893
|
.pr-2 {
|
|
1809
1894
|
padding-right: calc(var(--spacing) * 2);
|
|
1810
1895
|
}
|
|
1896
|
+
.pr-6 {
|
|
1897
|
+
padding-right: calc(var(--spacing) * 6);
|
|
1898
|
+
}
|
|
1899
|
+
.pr-8 {
|
|
1900
|
+
padding-right: calc(var(--spacing) * 8);
|
|
1901
|
+
}
|
|
1811
1902
|
.pb-1 {
|
|
1812
1903
|
padding-bottom: calc(var(--spacing) * 1);
|
|
1813
1904
|
}
|
|
@@ -1820,6 +1911,9 @@
|
|
|
1820
1911
|
.pb-\[env\(safe-area-inset-bottom\)\] {
|
|
1821
1912
|
padding-bottom: env(safe-area-inset-bottom);
|
|
1822
1913
|
}
|
|
1914
|
+
.pl-2 {
|
|
1915
|
+
padding-left: calc(var(--spacing) * 2);
|
|
1916
|
+
}
|
|
1823
1917
|
.pl-8 {
|
|
1824
1918
|
padding-left: calc(var(--spacing) * 8);
|
|
1825
1919
|
}
|
|
@@ -1866,6 +1960,10 @@
|
|
|
1866
1960
|
--tw-leading: 1;
|
|
1867
1961
|
line-height: 1;
|
|
1868
1962
|
}
|
|
1963
|
+
.leading-snug {
|
|
1964
|
+
--tw-leading: var(--leading-snug);
|
|
1965
|
+
line-height: var(--leading-snug);
|
|
1966
|
+
}
|
|
1869
1967
|
.leading-tight {
|
|
1870
1968
|
--tw-leading: var(--leading-tight);
|
|
1871
1969
|
line-height: var(--leading-tight);
|
|
@@ -1921,6 +2019,12 @@
|
|
|
1921
2019
|
.text-foreground {
|
|
1922
2020
|
color: var(--color-foreground);
|
|
1923
2021
|
}
|
|
2022
|
+
.text-foreground\/80 {
|
|
2023
|
+
color: color-mix(in srgb, hsl(var(--foreground)) 80%, transparent);
|
|
2024
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2025
|
+
color: color-mix(in oklab, var(--color-foreground) 80%, transparent);
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
1924
2028
|
.text-green-500 {
|
|
1925
2029
|
color: var(--color-green-500);
|
|
1926
2030
|
}
|
|
@@ -2091,6 +2195,10 @@
|
|
|
2091
2195
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2092
2196
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2093
2197
|
}
|
|
2198
|
+
.duration-150 {
|
|
2199
|
+
--tw-duration: 150ms;
|
|
2200
|
+
transition-duration: 150ms;
|
|
2201
|
+
}
|
|
2094
2202
|
.duration-200 {
|
|
2095
2203
|
--tw-duration: 200ms;
|
|
2096
2204
|
transition-duration: 200ms;
|
|
@@ -2138,6 +2246,16 @@
|
|
|
2138
2246
|
opacity: 100%;
|
|
2139
2247
|
}
|
|
2140
2248
|
}
|
|
2249
|
+
.group-hover\:bg-primary\/15 {
|
|
2250
|
+
&:is(:where(.group):hover *) {
|
|
2251
|
+
@media (hover: hover) {
|
|
2252
|
+
background-color: color-mix(in srgb, hsl(var(--primary)) 15%, transparent);
|
|
2253
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2254
|
+
background-color: color-mix(in oklab, var(--color-primary) 15%, transparent);
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2141
2259
|
.group-hover\:opacity-100 {
|
|
2142
2260
|
&:is(:where(.group):hover *) {
|
|
2143
2261
|
@media (hover: hover) {
|
|
@@ -2412,6 +2530,23 @@
|
|
|
2412
2530
|
}
|
|
2413
2531
|
}
|
|
2414
2532
|
}
|
|
2533
|
+
.hover\:border-accent {
|
|
2534
|
+
&:hover {
|
|
2535
|
+
@media (hover: hover) {
|
|
2536
|
+
border-color: var(--color-accent);
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
}
|
|
2540
|
+
.hover\:border-accent-foreground\/20 {
|
|
2541
|
+
&:hover {
|
|
2542
|
+
@media (hover: hover) {
|
|
2543
|
+
border-color: color-mix(in srgb, hsl(var(--accent-foreground)) 20%, transparent);
|
|
2544
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2545
|
+
border-color: color-mix(in oklab, var(--color-accent-foreground) 20%, transparent);
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2415
2550
|
.hover\:bg-accent {
|
|
2416
2551
|
&:hover {
|
|
2417
2552
|
@media (hover: hover) {
|
|
@@ -2419,6 +2554,16 @@
|
|
|
2419
2554
|
}
|
|
2420
2555
|
}
|
|
2421
2556
|
}
|
|
2557
|
+
.hover\:bg-accent\/50 {
|
|
2558
|
+
&:hover {
|
|
2559
|
+
@media (hover: hover) {
|
|
2560
|
+
background-color: color-mix(in srgb, hsl(var(--accent)) 50%, transparent);
|
|
2561
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2562
|
+
background-color: color-mix(in oklab, var(--color-accent) 50%, transparent);
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2422
2567
|
.hover\:bg-destructive\/90 {
|
|
2423
2568
|
&:hover {
|
|
2424
2569
|
@media (hover: hover) {
|
|
@@ -2473,6 +2618,13 @@
|
|
|
2473
2618
|
}
|
|
2474
2619
|
}
|
|
2475
2620
|
}
|
|
2621
|
+
.hover\:text-foreground {
|
|
2622
|
+
&:hover {
|
|
2623
|
+
@media (hover: hover) {
|
|
2624
|
+
color: var(--color-foreground);
|
|
2625
|
+
}
|
|
2626
|
+
}
|
|
2627
|
+
}
|
|
2476
2628
|
.hover\:text-sidebar-accent-foreground {
|
|
2477
2629
|
&:hover {
|
|
2478
2630
|
@media (hover: hover) {
|
|
@@ -2510,6 +2662,14 @@
|
|
|
2510
2662
|
}
|
|
2511
2663
|
}
|
|
2512
2664
|
}
|
|
2665
|
+
.hover\:shadow-sm {
|
|
2666
|
+
&:hover {
|
|
2667
|
+
@media (hover: hover) {
|
|
2668
|
+
--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));
|
|
2669
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
}
|
|
2513
2673
|
.hover\:group-data-\[collapsible\=offcanvas\]\:bg-sidebar {
|
|
2514
2674
|
&:hover {
|
|
2515
2675
|
@media (hover: hover) {
|
|
@@ -2558,6 +2718,14 @@
|
|
|
2558
2718
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
2559
2719
|
}
|
|
2560
2720
|
}
|
|
2721
|
+
.focus\:ring-primary\/40 {
|
|
2722
|
+
&:focus {
|
|
2723
|
+
--tw-ring-color: color-mix(in srgb, hsl(var(--primary)) 40%, transparent);
|
|
2724
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2725
|
+
--tw-ring-color: color-mix(in oklab, var(--color-primary) 40%, transparent);
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
}
|
|
2561
2729
|
.focus\:ring-ring {
|
|
2562
2730
|
&:focus {
|
|
2563
2731
|
--tw-ring-color: var(--color-ring);
|
|
@@ -2795,6 +2963,11 @@
|
|
|
2795
2963
|
--tw-enter-translate-y: calc(2*var(--spacing));
|
|
2796
2964
|
}
|
|
2797
2965
|
}
|
|
2966
|
+
.data-\[state\=closed\]\:pointer-events-none {
|
|
2967
|
+
&[data-state="closed"] {
|
|
2968
|
+
pointer-events: none;
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2798
2971
|
.data-\[state\=closed\]\:animate-accordion-up {
|
|
2799
2972
|
&[data-state="closed"] {
|
|
2800
2973
|
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 +3167,11 @@
|
|
|
2994
3167
|
max-width: var(--container-sm);
|
|
2995
3168
|
}
|
|
2996
3169
|
}
|
|
3170
|
+
.sm\:grid-cols-2 {
|
|
3171
|
+
@media (width >= 40rem) {
|
|
3172
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3173
|
+
}
|
|
3174
|
+
}
|
|
2997
3175
|
.sm\:flex-row {
|
|
2998
3176
|
@media (width >= 40rem) {
|
|
2999
3177
|
flex-direction: row;
|
|
@@ -3019,11 +3197,6 @@
|
|
|
3019
3197
|
display: flex;
|
|
3020
3198
|
}
|
|
3021
3199
|
}
|
|
3022
|
-
.md\:hidden {
|
|
3023
|
-
@media (width >= 48rem) {
|
|
3024
|
-
display: none;
|
|
3025
|
-
}
|
|
3026
|
-
}
|
|
3027
3200
|
.md\:h-screen {
|
|
3028
3201
|
@media (width >= 48rem) {
|
|
3029
3202
|
height: 100vh;
|
|
@@ -3034,11 +3207,6 @@
|
|
|
3034
3207
|
min-width: var(--container-3xl);
|
|
3035
3208
|
}
|
|
3036
3209
|
}
|
|
3037
|
-
.md\:grid-cols-2 {
|
|
3038
|
-
@media (width >= 48rem) {
|
|
3039
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3040
|
-
}
|
|
3041
|
-
}
|
|
3042
3210
|
.md\:p-2 {
|
|
3043
3211
|
@media (width >= 48rem) {
|
|
3044
3212
|
padding: calc(var(--spacing) * 2);
|
|
@@ -3834,6 +4002,48 @@ code.hljs {
|
|
|
3834
4002
|
inherits: false;
|
|
3835
4003
|
initial-value: solid;
|
|
3836
4004
|
}
|
|
4005
|
+
@property --tw-gradient-position {
|
|
4006
|
+
syntax: "*";
|
|
4007
|
+
inherits: false;
|
|
4008
|
+
}
|
|
4009
|
+
@property --tw-gradient-from {
|
|
4010
|
+
syntax: "<color>";
|
|
4011
|
+
inherits: false;
|
|
4012
|
+
initial-value: #0000;
|
|
4013
|
+
}
|
|
4014
|
+
@property --tw-gradient-via {
|
|
4015
|
+
syntax: "<color>";
|
|
4016
|
+
inherits: false;
|
|
4017
|
+
initial-value: #0000;
|
|
4018
|
+
}
|
|
4019
|
+
@property --tw-gradient-to {
|
|
4020
|
+
syntax: "<color>";
|
|
4021
|
+
inherits: false;
|
|
4022
|
+
initial-value: #0000;
|
|
4023
|
+
}
|
|
4024
|
+
@property --tw-gradient-stops {
|
|
4025
|
+
syntax: "*";
|
|
4026
|
+
inherits: false;
|
|
4027
|
+
}
|
|
4028
|
+
@property --tw-gradient-via-stops {
|
|
4029
|
+
syntax: "*";
|
|
4030
|
+
inherits: false;
|
|
4031
|
+
}
|
|
4032
|
+
@property --tw-gradient-from-position {
|
|
4033
|
+
syntax: "<length-percentage>";
|
|
4034
|
+
inherits: false;
|
|
4035
|
+
initial-value: 0%;
|
|
4036
|
+
}
|
|
4037
|
+
@property --tw-gradient-via-position {
|
|
4038
|
+
syntax: "<length-percentage>";
|
|
4039
|
+
inherits: false;
|
|
4040
|
+
initial-value: 50%;
|
|
4041
|
+
}
|
|
4042
|
+
@property --tw-gradient-to-position {
|
|
4043
|
+
syntax: "<length-percentage>";
|
|
4044
|
+
inherits: false;
|
|
4045
|
+
initial-value: 100%;
|
|
4046
|
+
}
|
|
3837
4047
|
@property --tw-leading {
|
|
3838
4048
|
syntax: "*";
|
|
3839
4049
|
inherits: false;
|
|
@@ -4101,6 +4311,15 @@ code.hljs {
|
|
|
4101
4311
|
--tw-skew-y: initial;
|
|
4102
4312
|
--tw-space-y-reverse: 0;
|
|
4103
4313
|
--tw-border-style: solid;
|
|
4314
|
+
--tw-gradient-position: initial;
|
|
4315
|
+
--tw-gradient-from: #0000;
|
|
4316
|
+
--tw-gradient-via: #0000;
|
|
4317
|
+
--tw-gradient-to: #0000;
|
|
4318
|
+
--tw-gradient-stops: initial;
|
|
4319
|
+
--tw-gradient-via-stops: initial;
|
|
4320
|
+
--tw-gradient-from-position: 0%;
|
|
4321
|
+
--tw-gradient-via-position: 50%;
|
|
4322
|
+
--tw-gradient-to-position: 100%;
|
|
4104
4323
|
--tw-leading: initial;
|
|
4105
4324
|
--tw-font-weight: initial;
|
|
4106
4325
|
--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.1",
|
|
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",
|