@copilotz/chat-ui 0.1.6 → 0.1.8

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/styles.css CHANGED
@@ -253,6 +253,9 @@
253
253
  .pointer-events-none {
254
254
  pointer-events: none;
255
255
  }
256
+ .visible {
257
+ visibility: visible;
258
+ }
256
259
  .sr-only {
257
260
  position: absolute;
258
261
  width: 1px;
@@ -992,9 +995,6 @@
992
995
  margin-bottom: 0;
993
996
  }
994
997
  }
995
- .-mt-2 {
996
- margin-top: calc(var(--spacing) * -2);
997
- }
998
998
  .mt-0 {
999
999
  margin-top: calc(var(--spacing) * 0);
1000
1000
  }
@@ -1049,6 +1049,9 @@
1049
1049
  .-ml-1 {
1050
1050
  margin-left: calc(var(--spacing) * -1);
1051
1051
  }
1052
+ .ml-0\.5 {
1053
+ margin-left: calc(var(--spacing) * 0.5);
1054
+ }
1052
1055
  .ml-1 {
1053
1056
  margin-left: calc(var(--spacing) * 1);
1054
1057
  }
@@ -1288,6 +1291,9 @@
1288
1291
  .w-\[85\%\] {
1289
1292
  width: 85%;
1290
1293
  }
1294
+ .w-\[260px\] {
1295
+ width: 260px;
1296
+ }
1291
1297
  .w-\[280px\] {
1292
1298
  width: 280px;
1293
1299
  }
@@ -1327,6 +1333,9 @@
1327
1333
  .max-w-\[calc\(100\%-2rem\)\] {
1328
1334
  max-width: calc(100% - 2rem);
1329
1335
  }
1336
+ .max-w-full {
1337
+ max-width: 100%;
1338
+ }
1330
1339
  .max-w-lg {
1331
1340
  max-width: var(--container-lg);
1332
1341
  }
@@ -1520,13 +1529,6 @@
1520
1529
  .gap-6 {
1521
1530
  gap: calc(var(--spacing) * 6);
1522
1531
  }
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
- }
1530
1532
  .space-y-2 {
1531
1533
  :where(& > :not(:last-child)) {
1532
1534
  --tw-space-y-reverse: 0;
@@ -1555,6 +1557,13 @@
1555
1557
  margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
1556
1558
  }
1557
1559
  }
1560
+ .-space-x-1\.5 {
1561
+ :where(& > :not(:last-child)) {
1562
+ --tw-space-x-reverse: 0;
1563
+ margin-inline-start: calc(calc(var(--spacing) * -1.5) * var(--tw-space-x-reverse));
1564
+ margin-inline-end: calc(calc(var(--spacing) * -1.5) * calc(1 - var(--tw-space-x-reverse)));
1565
+ }
1566
+ }
1558
1567
  .self-start {
1559
1568
  align-self: flex-start;
1560
1569
  }
@@ -1653,6 +1662,9 @@
1653
1662
  --tw-border-style: dashed;
1654
1663
  border-style: dashed;
1655
1664
  }
1665
+ .border-background {
1666
+ border-color: var(--color-background);
1667
+ }
1656
1668
  .border-border {
1657
1669
  border-color: var(--color-border);
1658
1670
  }
@@ -1899,6 +1911,15 @@
1899
1911
  .pt-0 {
1900
1912
  padding-top: calc(var(--spacing) * 0);
1901
1913
  }
1914
+ .pt-2 {
1915
+ padding-top: calc(var(--spacing) * 2);
1916
+ }
1917
+ .pt-4 {
1918
+ padding-top: calc(var(--spacing) * 4);
1919
+ }
1920
+ .pr-1 {
1921
+ padding-right: calc(var(--spacing) * 1);
1922
+ }
1902
1923
  .pr-2 {
1903
1924
  padding-right: calc(var(--spacing) * 2);
1904
1925
  }
@@ -1962,6 +1983,9 @@
1962
1983
  font-size: var(--text-xs);
1963
1984
  line-height: var(--tw-leading, var(--text-xs--line-height));
1964
1985
  }
1986
+ .text-\[8px\] {
1987
+ font-size: 8px;
1988
+ }
1965
1989
  .text-\[10px\] {
1966
1990
  font-size: 10px;
1967
1991
  }
@@ -2573,6 +2597,16 @@
2573
2597
  }
2574
2598
  }
2575
2599
  }
2600
+ .hover\:bg-destructive\/20 {
2601
+ &:hover {
2602
+ @media (hover: hover) {
2603
+ background-color: color-mix(in srgb, hsl(var(--destructive)) 20%, transparent);
2604
+ @supports (color: color-mix(in lab, red, red)) {
2605
+ background-color: color-mix(in oklab, var(--color-destructive) 20%, transparent);
2606
+ }
2607
+ }
2608
+ }
2609
+ }
2576
2610
  .hover\:bg-destructive\/90 {
2577
2611
  &:hover {
2578
2612
  @media (hover: hover) {
@@ -3417,6 +3451,11 @@
3417
3451
  }
3418
3452
  }
3419
3453
  }
3454
+ .\[\&_\*\]\:text-right {
3455
+ & * {
3456
+ text-align: right;
3457
+ }
3458
+ }
3420
3459
  .\[\&_svg\]\:pointer-events-none {
3421
3460
  & svg {
3422
3461
  pointer-events: none;
@@ -3947,6 +3986,11 @@ code.hljs {
3947
3986
  * {
3948
3987
  border-color: var(--color-border);
3949
3988
  }
3989
+ html, body {
3990
+ height: 100%;
3991
+ overflow: hidden;
3992
+ overscroll-behavior: none;
3993
+ }
3950
3994
  body {
3951
3995
  background-color: var(--color-background);
3952
3996
  color: var(--color-foreground);
@@ -4006,6 +4050,11 @@ code.hljs {
4006
4050
  inherits: false;
4007
4051
  initial-value: 0;
4008
4052
  }
4053
+ @property --tw-space-x-reverse {
4054
+ syntax: "*";
4055
+ inherits: false;
4056
+ initial-value: 0;
4057
+ }
4009
4058
  @property --tw-border-style {
4010
4059
  syntax: "*";
4011
4060
  inherits: false;
@@ -4319,6 +4368,7 @@ code.hljs {
4319
4368
  --tw-skew-x: initial;
4320
4369
  --tw-skew-y: initial;
4321
4370
  --tw-space-y-reverse: 0;
4371
+ --tw-space-x-reverse: 0;
4322
4372
  --tw-border-style: solid;
4323
4373
  --tw-gradient-position: initial;
4324
4374
  --tw-gradient-from: #0000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotz/chat-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Copilotz chat UI components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -41,12 +41,13 @@
41
41
  "@radix-ui/react-dialog": "^1.1.15",
42
42
  "@radix-ui/react-dropdown-menu": "^2.1.16",
43
43
  "@radix-ui/react-progress": "^1.1.7",
44
- "@radix-ui/react-select": "^2.1.7",
45
44
  "@radix-ui/react-scroll-area": "^1.2.10",
45
+ "@radix-ui/react-select": "^2.1.7",
46
46
  "@radix-ui/react-separator": "^1.1.7",
47
47
  "@radix-ui/react-slot": "^1.2.3",
48
48
  "@radix-ui/react-tooltip": "^1.2.8",
49
49
  "@tailwindcss/typography": "^0.5.16",
50
+ "@tanstack/react-virtual": "^3.13.19",
50
51
  "class-variance-authority": "^0.7.1",
51
52
  "clsx": "^2.1.1",
52
53
  "highlight.js": "^11.9.0",
@@ -59,12 +60,12 @@
59
60
  "tw-animate-css": "^1.3.7"
60
61
  },
61
62
  "devDependencies": {
63
+ "@tailwindcss/cli": "^4.1.12",
62
64
  "@types/react": "^19.1.10",
63
65
  "@types/react-dom": "^19.1.7",
64
66
  "tailwindcss": "^4.1.12",
65
67
  "tsup": "^8.3.5",
66
- "typescript": "~5.8.2",
67
- "@tailwindcss/cli": "^4.1.12"
68
+ "typescript": "~5.8.2"
68
69
  },
69
70
  "license": "MIT",
70
71
  "repository": {