@botpress/webchat 1.3.6 → 1.3.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.
@@ -1371,6 +1371,16 @@ export declare const themeSchema: z.ZodObject<{
1371
1371
  className?: string | undefined;
1372
1372
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1373
1373
  }>>;
1374
+ group: z.ZodOptional<z.ZodObject<{
1375
+ className: z.ZodOptional<z.ZodString>;
1376
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ className?: string | undefined;
1379
+ style?: CSSProperties | undefined;
1380
+ }, {
1381
+ className?: string | undefined;
1382
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1383
+ }>>;
1374
1384
  descriptionItems: z.ZodOptional<z.ZodObject<{
1375
1385
  container: z.ZodOptional<z.ZodObject<{
1376
1386
  className: z.ZodOptional<z.ZodString>;
@@ -1412,6 +1422,16 @@ export declare const themeSchema: z.ZodObject<{
1412
1422
  className?: string | undefined;
1413
1423
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1414
1424
  }>>;
1425
+ poweredBy: z.ZodOptional<z.ZodObject<{
1426
+ className: z.ZodOptional<z.ZodString>;
1427
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ className?: string | undefined;
1430
+ style?: CSSProperties | undefined;
1431
+ }, {
1432
+ className?: string | undefined;
1433
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1434
+ }>>;
1415
1435
  }, "strip", z.ZodTypeAny, {
1416
1436
  container?: {
1417
1437
  className?: string | undefined;
@@ -1429,6 +1449,10 @@ export declare const themeSchema: z.ZodObject<{
1429
1449
  className?: string | undefined;
1430
1450
  style?: CSSProperties | undefined;
1431
1451
  } | undefined;
1452
+ poweredBy?: {
1453
+ className?: string | undefined;
1454
+ style?: CSSProperties | undefined;
1455
+ } | undefined;
1432
1456
  }, {
1433
1457
  container?: {
1434
1458
  className?: string | undefined;
@@ -1446,12 +1470,20 @@ export declare const themeSchema: z.ZodObject<{
1446
1470
  className?: string | undefined;
1447
1471
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1448
1472
  } | undefined;
1473
+ poweredBy?: {
1474
+ className?: string | undefined;
1475
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1476
+ } | undefined;
1449
1477
  }>>;
1450
1478
  }, "strip", z.ZodTypeAny, {
1451
1479
  container?: {
1452
1480
  className?: string | undefined;
1453
1481
  style?: CSSProperties | undefined;
1454
1482
  } | undefined;
1483
+ group?: {
1484
+ className?: string | undefined;
1485
+ style?: CSSProperties | undefined;
1486
+ } | undefined;
1455
1487
  descriptionItems?: {
1456
1488
  container?: {
1457
1489
  className?: string | undefined;
@@ -1469,12 +1501,20 @@ export declare const themeSchema: z.ZodObject<{
1469
1501
  className?: string | undefined;
1470
1502
  style?: CSSProperties | undefined;
1471
1503
  } | undefined;
1504
+ poweredBy?: {
1505
+ className?: string | undefined;
1506
+ style?: CSSProperties | undefined;
1507
+ } | undefined;
1472
1508
  } | undefined;
1473
1509
  }, {
1474
1510
  container?: {
1475
1511
  className?: string | undefined;
1476
1512
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1477
1513
  } | undefined;
1514
+ group?: {
1515
+ className?: string | undefined;
1516
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1517
+ } | undefined;
1478
1518
  descriptionItems?: {
1479
1519
  container?: {
1480
1520
  className?: string | undefined;
@@ -1492,6 +1532,10 @@ export declare const themeSchema: z.ZodObject<{
1492
1532
  className?: string | undefined;
1493
1533
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1494
1534
  } | undefined;
1535
+ poweredBy?: {
1536
+ className?: string | undefined;
1537
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1538
+ } | undefined;
1495
1539
  } | undefined;
1496
1540
  }>>;
1497
1541
  description: z.ZodOptional<z.ZodObject<{
@@ -1610,6 +1654,10 @@ export declare const themeSchema: z.ZodObject<{
1610
1654
  className?: string | undefined;
1611
1655
  style?: CSSProperties | undefined;
1612
1656
  } | undefined;
1657
+ group?: {
1658
+ className?: string | undefined;
1659
+ style?: CSSProperties | undefined;
1660
+ } | undefined;
1613
1661
  descriptionItems?: {
1614
1662
  container?: {
1615
1663
  className?: string | undefined;
@@ -1627,6 +1675,10 @@ export declare const themeSchema: z.ZodObject<{
1627
1675
  className?: string | undefined;
1628
1676
  style?: CSSProperties | undefined;
1629
1677
  } | undefined;
1678
+ poweredBy?: {
1679
+ className?: string | undefined;
1680
+ style?: CSSProperties | undefined;
1681
+ } | undefined;
1630
1682
  } | undefined;
1631
1683
  } | undefined;
1632
1684
  description?: {
@@ -1695,6 +1747,10 @@ export declare const themeSchema: z.ZodObject<{
1695
1747
  className?: string | undefined;
1696
1748
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1697
1749
  } | undefined;
1750
+ group?: {
1751
+ className?: string | undefined;
1752
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1753
+ } | undefined;
1698
1754
  descriptionItems?: {
1699
1755
  container?: {
1700
1756
  className?: string | undefined;
@@ -1712,6 +1768,10 @@ export declare const themeSchema: z.ZodObject<{
1712
1768
  className?: string | undefined;
1713
1769
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1714
1770
  } | undefined;
1771
+ poweredBy?: {
1772
+ className?: string | undefined;
1773
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1774
+ } | undefined;
1715
1775
  } | undefined;
1716
1776
  } | undefined;
1717
1777
  description?: {
@@ -1874,6 +1934,100 @@ export declare const themeSchema: z.ZodObject<{
1874
1934
  } | undefined;
1875
1935
  }>>;
1876
1936
  messageList: z.ZodOptional<z.ZodObject<{
1937
+ scrollbar: z.ZodOptional<z.ZodObject<{
1938
+ container: z.ZodOptional<z.ZodObject<{
1939
+ className: z.ZodOptional<z.ZodString>;
1940
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1941
+ }, "strip", z.ZodTypeAny, {
1942
+ className?: string | undefined;
1943
+ style?: CSSProperties | undefined;
1944
+ }, {
1945
+ className?: string | undefined;
1946
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1947
+ }>>;
1948
+ viewport: z.ZodOptional<z.ZodObject<{
1949
+ className: z.ZodOptional<z.ZodString>;
1950
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1951
+ }, "strip", z.ZodTypeAny, {
1952
+ className?: string | undefined;
1953
+ style?: CSSProperties | undefined;
1954
+ }, {
1955
+ className?: string | undefined;
1956
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1957
+ }>>;
1958
+ thumb: z.ZodOptional<z.ZodObject<{
1959
+ className: z.ZodOptional<z.ZodString>;
1960
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1961
+ }, "strip", z.ZodTypeAny, {
1962
+ className?: string | undefined;
1963
+ style?: CSSProperties | undefined;
1964
+ }, {
1965
+ className?: string | undefined;
1966
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1967
+ }>>;
1968
+ corner: z.ZodOptional<z.ZodObject<{
1969
+ className: z.ZodOptional<z.ZodString>;
1970
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1971
+ }, "strip", z.ZodTypeAny, {
1972
+ className?: string | undefined;
1973
+ style?: CSSProperties | undefined;
1974
+ }, {
1975
+ className?: string | undefined;
1976
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1977
+ }>>;
1978
+ background: z.ZodOptional<z.ZodObject<{
1979
+ className: z.ZodOptional<z.ZodString>;
1980
+ style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ className?: string | undefined;
1983
+ style?: CSSProperties | undefined;
1984
+ }, {
1985
+ className?: string | undefined;
1986
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
1987
+ }>>;
1988
+ }, "strip", z.ZodTypeAny, {
1989
+ container?: {
1990
+ className?: string | undefined;
1991
+ style?: CSSProperties | undefined;
1992
+ } | undefined;
1993
+ viewport?: {
1994
+ className?: string | undefined;
1995
+ style?: CSSProperties | undefined;
1996
+ } | undefined;
1997
+ thumb?: {
1998
+ className?: string | undefined;
1999
+ style?: CSSProperties | undefined;
2000
+ } | undefined;
2001
+ corner?: {
2002
+ className?: string | undefined;
2003
+ style?: CSSProperties | undefined;
2004
+ } | undefined;
2005
+ background?: {
2006
+ className?: string | undefined;
2007
+ style?: CSSProperties | undefined;
2008
+ } | undefined;
2009
+ }, {
2010
+ container?: {
2011
+ className?: string | undefined;
2012
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2013
+ } | undefined;
2014
+ viewport?: {
2015
+ className?: string | undefined;
2016
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2017
+ } | undefined;
2018
+ thumb?: {
2019
+ className?: string | undefined;
2020
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2021
+ } | undefined;
2022
+ corner?: {
2023
+ className?: string | undefined;
2024
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2025
+ } | undefined;
2026
+ background?: {
2027
+ className?: string | undefined;
2028
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2029
+ } | undefined;
2030
+ }>>;
1877
2031
  container: z.ZodOptional<z.ZodObject<{
1878
2032
  className: z.ZodOptional<z.ZodString>;
1879
2033
  style: z.ZodOptional<z.ZodEffects<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, CSSProperties, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
@@ -2105,6 +2259,28 @@ export declare const themeSchema: z.ZodObject<{
2105
2259
  } | undefined;
2106
2260
  }>>;
2107
2261
  }, "strip", z.ZodTypeAny, {
2262
+ scrollbar?: {
2263
+ container?: {
2264
+ className?: string | undefined;
2265
+ style?: CSSProperties | undefined;
2266
+ } | undefined;
2267
+ viewport?: {
2268
+ className?: string | undefined;
2269
+ style?: CSSProperties | undefined;
2270
+ } | undefined;
2271
+ thumb?: {
2272
+ className?: string | undefined;
2273
+ style?: CSSProperties | undefined;
2274
+ } | undefined;
2275
+ corner?: {
2276
+ className?: string | undefined;
2277
+ style?: CSSProperties | undefined;
2278
+ } | undefined;
2279
+ background?: {
2280
+ className?: string | undefined;
2281
+ style?: CSSProperties | undefined;
2282
+ } | undefined;
2283
+ } | undefined;
2108
2284
  container?: {
2109
2285
  className?: string | undefined;
2110
2286
  style?: CSSProperties | undefined;
@@ -2156,6 +2332,28 @@ export declare const themeSchema: z.ZodObject<{
2156
2332
  } | undefined;
2157
2333
  } | undefined;
2158
2334
  }, {
2335
+ scrollbar?: {
2336
+ container?: {
2337
+ className?: string | undefined;
2338
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2339
+ } | undefined;
2340
+ viewport?: {
2341
+ className?: string | undefined;
2342
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2343
+ } | undefined;
2344
+ thumb?: {
2345
+ className?: string | undefined;
2346
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2347
+ } | undefined;
2348
+ corner?: {
2349
+ className?: string | undefined;
2350
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2351
+ } | undefined;
2352
+ background?: {
2353
+ className?: string | undefined;
2354
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
2355
+ } | undefined;
2356
+ } | undefined;
2159
2357
  container?: {
2160
2358
  className?: string | undefined;
2161
2359
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
@@ -3374,6 +3572,10 @@ export declare const themeSchema: z.ZodObject<{
3374
3572
  className?: string | undefined;
3375
3573
  style?: CSSProperties | undefined;
3376
3574
  } | undefined;
3575
+ group?: {
3576
+ className?: string | undefined;
3577
+ style?: CSSProperties | undefined;
3578
+ } | undefined;
3377
3579
  descriptionItems?: {
3378
3580
  container?: {
3379
3581
  className?: string | undefined;
@@ -3391,6 +3593,10 @@ export declare const themeSchema: z.ZodObject<{
3391
3593
  className?: string | undefined;
3392
3594
  style?: CSSProperties | undefined;
3393
3595
  } | undefined;
3596
+ poweredBy?: {
3597
+ className?: string | undefined;
3598
+ style?: CSSProperties | undefined;
3599
+ } | undefined;
3394
3600
  } | undefined;
3395
3601
  } | undefined;
3396
3602
  description?: {
@@ -3443,6 +3649,28 @@ export declare const themeSchema: z.ZodObject<{
3443
3649
  } | undefined;
3444
3650
  } | undefined;
3445
3651
  messageList?: {
3652
+ scrollbar?: {
3653
+ container?: {
3654
+ className?: string | undefined;
3655
+ style?: CSSProperties | undefined;
3656
+ } | undefined;
3657
+ viewport?: {
3658
+ className?: string | undefined;
3659
+ style?: CSSProperties | undefined;
3660
+ } | undefined;
3661
+ thumb?: {
3662
+ className?: string | undefined;
3663
+ style?: CSSProperties | undefined;
3664
+ } | undefined;
3665
+ corner?: {
3666
+ className?: string | undefined;
3667
+ style?: CSSProperties | undefined;
3668
+ } | undefined;
3669
+ background?: {
3670
+ className?: string | undefined;
3671
+ style?: CSSProperties | undefined;
3672
+ } | undefined;
3673
+ } | undefined;
3446
3674
  container?: {
3447
3675
  className?: string | undefined;
3448
3676
  style?: CSSProperties | undefined;
@@ -3755,6 +3983,10 @@ export declare const themeSchema: z.ZodObject<{
3755
3983
  className?: string | undefined;
3756
3984
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3757
3985
  } | undefined;
3986
+ group?: {
3987
+ className?: string | undefined;
3988
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3989
+ } | undefined;
3758
3990
  descriptionItems?: {
3759
3991
  container?: {
3760
3992
  className?: string | undefined;
@@ -3772,6 +4004,10 @@ export declare const themeSchema: z.ZodObject<{
3772
4004
  className?: string | undefined;
3773
4005
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3774
4006
  } | undefined;
4007
+ poweredBy?: {
4008
+ className?: string | undefined;
4009
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
4010
+ } | undefined;
3775
4011
  } | undefined;
3776
4012
  } | undefined;
3777
4013
  description?: {
@@ -3824,6 +4060,28 @@ export declare const themeSchema: z.ZodObject<{
3824
4060
  } | undefined;
3825
4061
  } | undefined;
3826
4062
  messageList?: {
4063
+ scrollbar?: {
4064
+ container?: {
4065
+ className?: string | undefined;
4066
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
4067
+ } | undefined;
4068
+ viewport?: {
4069
+ className?: string | undefined;
4070
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
4071
+ } | undefined;
4072
+ thumb?: {
4073
+ className?: string | undefined;
4074
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
4075
+ } | undefined;
4076
+ corner?: {
4077
+ className?: string | undefined;
4078
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
4079
+ } | undefined;
4080
+ background?: {
4081
+ className?: string | undefined;
4082
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
4083
+ } | undefined;
4084
+ } | undefined;
3827
4085
  container?: {
3828
4086
  className?: string | undefined;
3829
4087
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/webchat",
3
- "version": "1.3.6",
3
+ "version": "1.3.8",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.cjs",
@@ -26,6 +26,7 @@
26
26
  "@radix-ui/react-avatar": "^1.0.3",
27
27
  "@radix-ui/react-collapsible": "^1.0.3",
28
28
  "@radix-ui/react-dialog": "^1.0.4",
29
+ "@radix-ui/react-scroll-area": "^1.0.5",
29
30
  "@types/qs": "^6.9.8",
30
31
  "axios": "1.2.5",
31
32
  "clsx": "^2.0.0",