@botpress/webchat 1.0.27 → 1.0.28
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/client/MessagingClient/adapters/Card.d.ts +18 -18
- package/dist/client/MessagingClient/adapters/Carousel.d.ts +19 -19
- package/dist/client/MessagingClient/adapters/Choice.d.ts +5 -5
- package/dist/client/MessagingClient/adapters/Dropdown.d.ts +5 -5
- package/dist/client/MessagingClient/adapters/File.d.ts +3 -3
- package/dist/client/MessagingClient/adapters/Message.d.ts +42 -42
- package/dist/components/Avatar.d.ts +9 -6
- package/dist/components/Block.d.ts +1 -1
- package/dist/index.js +23288 -23187
- package/dist/index.umd.cjs +337 -337
- package/dist/schemas/theme.d.ts +382 -18
- package/dist/utils/withBaseTheme.d.ts +37 -3
- package/package.json +1 -1
package/dist/schemas/theme.d.ts
CHANGED
|
@@ -11,6 +11,64 @@ declare const StyleOptionSchema: z.ZodObject<{
|
|
|
11
11
|
className?: string | undefined;
|
|
12
12
|
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
13
13
|
}>;
|
|
14
|
+
export declare const AvatarSchema: z.ZodObject<{
|
|
15
|
+
container: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
17
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
className?: string | undefined;
|
|
20
|
+
style?: CSSProperties | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
className?: string | undefined;
|
|
23
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24
|
+
}>>;
|
|
25
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
27
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
className?: string | undefined;
|
|
30
|
+
style?: CSSProperties | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
className?: string | undefined;
|
|
33
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
34
|
+
}>>;
|
|
35
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
37
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
className?: string | undefined;
|
|
40
|
+
style?: CSSProperties | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
className?: string | undefined;
|
|
43
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
44
|
+
}>>;
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
|
+
container?: {
|
|
47
|
+
className?: string | undefined;
|
|
48
|
+
style?: CSSProperties | undefined;
|
|
49
|
+
} | undefined;
|
|
50
|
+
image?: {
|
|
51
|
+
className?: string | undefined;
|
|
52
|
+
style?: CSSProperties | undefined;
|
|
53
|
+
} | undefined;
|
|
54
|
+
fallback?: {
|
|
55
|
+
className?: string | undefined;
|
|
56
|
+
style?: CSSProperties | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
container?: {
|
|
60
|
+
className?: string | undefined;
|
|
61
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
62
|
+
} | undefined;
|
|
63
|
+
image?: {
|
|
64
|
+
className?: string | undefined;
|
|
65
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
fallback?: {
|
|
68
|
+
className?: string | undefined;
|
|
69
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
}>;
|
|
14
72
|
export declare const BlocksSchema: z.ZodObject<{
|
|
15
73
|
button: z.ZodOptional<z.ZodObject<{
|
|
16
74
|
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
@@ -465,7 +523,7 @@ export declare const BlocksSchema: z.ZodObject<{
|
|
|
465
523
|
} | undefined;
|
|
466
524
|
}>>;
|
|
467
525
|
}, "strip", z.ZodTypeAny, {
|
|
468
|
-
text: Partial<Record<"
|
|
526
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
469
527
|
className?: string | undefined;
|
|
470
528
|
style?: CSSProperties | undefined;
|
|
471
529
|
} | undefined>>;
|
|
@@ -576,7 +634,7 @@ export declare const BlocksSchema: z.ZodObject<{
|
|
|
576
634
|
} | undefined;
|
|
577
635
|
} | undefined;
|
|
578
636
|
}, {
|
|
579
|
-
text: Partial<Record<"
|
|
637
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
580
638
|
className?: string | undefined;
|
|
581
639
|
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
582
640
|
} | undefined>>;
|
|
@@ -1776,14 +1834,252 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
1776
1834
|
} | undefined;
|
|
1777
1835
|
}>>;
|
|
1778
1836
|
messageList: z.ZodOptional<z.ZodObject<{
|
|
1779
|
-
|
|
1780
|
-
|
|
1837
|
+
container: z.ZodOptional<z.ZodObject<{
|
|
1838
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1839
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1840
|
+
}, "strip", z.ZodTypeAny, {
|
|
1841
|
+
className?: string | undefined;
|
|
1842
|
+
style?: CSSProperties | undefined;
|
|
1843
|
+
}, {
|
|
1844
|
+
className?: string | undefined;
|
|
1845
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1846
|
+
}>>;
|
|
1847
|
+
marquee: z.ZodOptional<z.ZodObject<{
|
|
1848
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1849
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1850
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1851
|
+
}, "strip", z.ZodTypeAny, {
|
|
1852
|
+
className?: string | undefined;
|
|
1853
|
+
style?: CSSProperties | undefined;
|
|
1854
|
+
}, {
|
|
1855
|
+
className?: string | undefined;
|
|
1856
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1857
|
+
}>>;
|
|
1858
|
+
title: z.ZodOptional<z.ZodObject<{
|
|
1859
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1860
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1861
|
+
}, "strip", z.ZodTypeAny, {
|
|
1862
|
+
className?: string | undefined;
|
|
1863
|
+
style?: CSSProperties | undefined;
|
|
1864
|
+
}, {
|
|
1865
|
+
className?: string | undefined;
|
|
1866
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1867
|
+
}>>;
|
|
1868
|
+
description: z.ZodOptional<z.ZodObject<{
|
|
1869
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1870
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1871
|
+
}, "strip", z.ZodTypeAny, {
|
|
1872
|
+
className?: string | undefined;
|
|
1873
|
+
style?: CSSProperties | undefined;
|
|
1874
|
+
}, {
|
|
1875
|
+
className?: string | undefined;
|
|
1876
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1877
|
+
}>>;
|
|
1878
|
+
avatar: z.ZodOptional<z.ZodObject<{
|
|
1879
|
+
container: z.ZodOptional<z.ZodObject<{
|
|
1880
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1881
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1882
|
+
}, "strip", z.ZodTypeAny, {
|
|
1883
|
+
className?: string | undefined;
|
|
1884
|
+
style?: CSSProperties | undefined;
|
|
1885
|
+
}, {
|
|
1886
|
+
className?: string | undefined;
|
|
1887
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1888
|
+
}>>;
|
|
1889
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1890
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1891
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1892
|
+
}, "strip", z.ZodTypeAny, {
|
|
1893
|
+
className?: string | undefined;
|
|
1894
|
+
style?: CSSProperties | undefined;
|
|
1895
|
+
}, {
|
|
1896
|
+
className?: string | undefined;
|
|
1897
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1898
|
+
}>>;
|
|
1899
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
1900
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1901
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1902
|
+
}, "strip", z.ZodTypeAny, {
|
|
1903
|
+
className?: string | undefined;
|
|
1904
|
+
style?: CSSProperties | undefined;
|
|
1905
|
+
}, {
|
|
1906
|
+
className?: string | undefined;
|
|
1907
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1908
|
+
}>>;
|
|
1909
|
+
}, "strip", z.ZodTypeAny, {
|
|
1910
|
+
container?: {
|
|
1911
|
+
className?: string | undefined;
|
|
1912
|
+
style?: CSSProperties | undefined;
|
|
1913
|
+
} | undefined;
|
|
1914
|
+
image?: {
|
|
1915
|
+
className?: string | undefined;
|
|
1916
|
+
style?: CSSProperties | undefined;
|
|
1917
|
+
} | undefined;
|
|
1918
|
+
fallback?: {
|
|
1919
|
+
className?: string | undefined;
|
|
1920
|
+
style?: CSSProperties | undefined;
|
|
1921
|
+
} | undefined;
|
|
1922
|
+
}, {
|
|
1923
|
+
container?: {
|
|
1924
|
+
className?: string | undefined;
|
|
1925
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1926
|
+
} | undefined;
|
|
1927
|
+
image?: {
|
|
1928
|
+
className?: string | undefined;
|
|
1929
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1930
|
+
} | undefined;
|
|
1931
|
+
fallback?: {
|
|
1932
|
+
className?: string | undefined;
|
|
1933
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1934
|
+
} | undefined;
|
|
1935
|
+
}>>;
|
|
1936
|
+
container: z.ZodOptional<z.ZodObject<{
|
|
1937
|
+
className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
1938
|
+
style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
|
|
1939
|
+
}, "strip", z.ZodTypeAny, {
|
|
1940
|
+
className?: string | undefined;
|
|
1941
|
+
style?: CSSProperties | undefined;
|
|
1942
|
+
}, {
|
|
1943
|
+
className?: string | undefined;
|
|
1944
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1945
|
+
}>>;
|
|
1946
|
+
}, "strip", z.ZodTypeAny, {
|
|
1947
|
+
content?: {
|
|
1948
|
+
className?: string | undefined;
|
|
1949
|
+
style?: CSSProperties | undefined;
|
|
1950
|
+
} | undefined;
|
|
1951
|
+
title?: {
|
|
1952
|
+
className?: string | undefined;
|
|
1953
|
+
style?: CSSProperties | undefined;
|
|
1954
|
+
} | undefined;
|
|
1955
|
+
description?: {
|
|
1956
|
+
className?: string | undefined;
|
|
1957
|
+
style?: CSSProperties | undefined;
|
|
1958
|
+
} | undefined;
|
|
1959
|
+
avatar?: {
|
|
1960
|
+
container?: {
|
|
1961
|
+
className?: string | undefined;
|
|
1962
|
+
style?: CSSProperties | undefined;
|
|
1963
|
+
} | undefined;
|
|
1964
|
+
image?: {
|
|
1965
|
+
className?: string | undefined;
|
|
1966
|
+
style?: CSSProperties | undefined;
|
|
1967
|
+
} | undefined;
|
|
1968
|
+
fallback?: {
|
|
1969
|
+
className?: string | undefined;
|
|
1970
|
+
style?: CSSProperties | undefined;
|
|
1971
|
+
} | undefined;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
container?: {
|
|
1974
|
+
className?: string | undefined;
|
|
1975
|
+
style?: CSSProperties | undefined;
|
|
1976
|
+
} | undefined;
|
|
1977
|
+
}, {
|
|
1978
|
+
content?: {
|
|
1979
|
+
className?: string | undefined;
|
|
1980
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1981
|
+
} | undefined;
|
|
1982
|
+
title?: {
|
|
1983
|
+
className?: string | undefined;
|
|
1984
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1985
|
+
} | undefined;
|
|
1986
|
+
description?: {
|
|
1987
|
+
className?: string | undefined;
|
|
1988
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1989
|
+
} | undefined;
|
|
1990
|
+
avatar?: {
|
|
1991
|
+
container?: {
|
|
1992
|
+
className?: string | undefined;
|
|
1993
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1994
|
+
} | undefined;
|
|
1995
|
+
image?: {
|
|
1996
|
+
className?: string | undefined;
|
|
1997
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1998
|
+
} | undefined;
|
|
1999
|
+
fallback?: {
|
|
2000
|
+
className?: string | undefined;
|
|
2001
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
} | undefined;
|
|
2004
|
+
container?: {
|
|
2005
|
+
className?: string | undefined;
|
|
2006
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2007
|
+
} | undefined;
|
|
2008
|
+
}>>;
|
|
1781
2009
|
}, "strip", z.ZodTypeAny, {
|
|
1782
|
-
|
|
1783
|
-
|
|
2010
|
+
container?: {
|
|
2011
|
+
className?: string | undefined;
|
|
2012
|
+
style?: CSSProperties | undefined;
|
|
2013
|
+
} | undefined;
|
|
2014
|
+
marquee?: {
|
|
2015
|
+
content?: {
|
|
2016
|
+
className?: string | undefined;
|
|
2017
|
+
style?: CSSProperties | undefined;
|
|
2018
|
+
} | undefined;
|
|
2019
|
+
title?: {
|
|
2020
|
+
className?: string | undefined;
|
|
2021
|
+
style?: CSSProperties | undefined;
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
description?: {
|
|
2024
|
+
className?: string | undefined;
|
|
2025
|
+
style?: CSSProperties | undefined;
|
|
2026
|
+
} | undefined;
|
|
2027
|
+
avatar?: {
|
|
2028
|
+
container?: {
|
|
2029
|
+
className?: string | undefined;
|
|
2030
|
+
style?: CSSProperties | undefined;
|
|
2031
|
+
} | undefined;
|
|
2032
|
+
image?: {
|
|
2033
|
+
className?: string | undefined;
|
|
2034
|
+
style?: CSSProperties | undefined;
|
|
2035
|
+
} | undefined;
|
|
2036
|
+
fallback?: {
|
|
2037
|
+
className?: string | undefined;
|
|
2038
|
+
style?: CSSProperties | undefined;
|
|
2039
|
+
} | undefined;
|
|
2040
|
+
} | undefined;
|
|
2041
|
+
container?: {
|
|
2042
|
+
className?: string | undefined;
|
|
2043
|
+
style?: CSSProperties | undefined;
|
|
2044
|
+
} | undefined;
|
|
2045
|
+
} | undefined;
|
|
1784
2046
|
}, {
|
|
1785
|
-
|
|
1786
|
-
|
|
2047
|
+
container?: {
|
|
2048
|
+
className?: string | undefined;
|
|
2049
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2050
|
+
} | undefined;
|
|
2051
|
+
marquee?: {
|
|
2052
|
+
content?: {
|
|
2053
|
+
className?: string | undefined;
|
|
2054
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2055
|
+
} | undefined;
|
|
2056
|
+
title?: {
|
|
2057
|
+
className?: string | undefined;
|
|
2058
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2059
|
+
} | undefined;
|
|
2060
|
+
description?: {
|
|
2061
|
+
className?: string | undefined;
|
|
2062
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2063
|
+
} | undefined;
|
|
2064
|
+
avatar?: {
|
|
2065
|
+
container?: {
|
|
2066
|
+
className?: string | undefined;
|
|
2067
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2068
|
+
} | undefined;
|
|
2069
|
+
image?: {
|
|
2070
|
+
className?: string | undefined;
|
|
2071
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2072
|
+
} | undefined;
|
|
2073
|
+
fallback?: {
|
|
2074
|
+
className?: string | undefined;
|
|
2075
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2076
|
+
} | undefined;
|
|
2077
|
+
} | undefined;
|
|
2078
|
+
container?: {
|
|
2079
|
+
className?: string | undefined;
|
|
2080
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2081
|
+
} | undefined;
|
|
2082
|
+
} | undefined;
|
|
1787
2083
|
}>>;
|
|
1788
2084
|
message: z.ZodOptional<z.ZodObject<{
|
|
1789
2085
|
container: z.ZodOptional<z.ZodObject<{
|
|
@@ -2308,7 +2604,7 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
2308
2604
|
} | undefined;
|
|
2309
2605
|
}>>;
|
|
2310
2606
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
-
text: Partial<Record<"
|
|
2607
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
2312
2608
|
className?: string | undefined;
|
|
2313
2609
|
style?: CSSProperties | undefined;
|
|
2314
2610
|
} | undefined>>;
|
|
@@ -2419,7 +2715,7 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
2419
2715
|
} | undefined;
|
|
2420
2716
|
} | undefined;
|
|
2421
2717
|
}, {
|
|
2422
|
-
text: Partial<Record<"
|
|
2718
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
2423
2719
|
className?: string | undefined;
|
|
2424
2720
|
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2425
2721
|
} | undefined>>;
|
|
@@ -2550,7 +2846,7 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
2550
2846
|
} | undefined;
|
|
2551
2847
|
} | undefined;
|
|
2552
2848
|
blocks?: {
|
|
2553
|
-
text: Partial<Record<"
|
|
2849
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
2554
2850
|
className?: string | undefined;
|
|
2555
2851
|
style?: CSSProperties | undefined;
|
|
2556
2852
|
} | undefined>>;
|
|
@@ -2681,7 +2977,7 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
2681
2977
|
} | undefined;
|
|
2682
2978
|
} | undefined;
|
|
2683
2979
|
blocks?: {
|
|
2684
|
-
text: Partial<Record<"
|
|
2980
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
2685
2981
|
className?: string | undefined;
|
|
2686
2982
|
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2687
2983
|
} | undefined>>;
|
|
@@ -3011,8 +3307,42 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
3011
3307
|
} | undefined;
|
|
3012
3308
|
} | undefined;
|
|
3013
3309
|
messageList?: {
|
|
3014
|
-
|
|
3015
|
-
|
|
3310
|
+
container?: {
|
|
3311
|
+
className?: string | undefined;
|
|
3312
|
+
style?: CSSProperties | undefined;
|
|
3313
|
+
} | undefined;
|
|
3314
|
+
marquee?: {
|
|
3315
|
+
content?: {
|
|
3316
|
+
className?: string | undefined;
|
|
3317
|
+
style?: CSSProperties | undefined;
|
|
3318
|
+
} | undefined;
|
|
3319
|
+
title?: {
|
|
3320
|
+
className?: string | undefined;
|
|
3321
|
+
style?: CSSProperties | undefined;
|
|
3322
|
+
} | undefined;
|
|
3323
|
+
description?: {
|
|
3324
|
+
className?: string | undefined;
|
|
3325
|
+
style?: CSSProperties | undefined;
|
|
3326
|
+
} | undefined;
|
|
3327
|
+
avatar?: {
|
|
3328
|
+
container?: {
|
|
3329
|
+
className?: string | undefined;
|
|
3330
|
+
style?: CSSProperties | undefined;
|
|
3331
|
+
} | undefined;
|
|
3332
|
+
image?: {
|
|
3333
|
+
className?: string | undefined;
|
|
3334
|
+
style?: CSSProperties | undefined;
|
|
3335
|
+
} | undefined;
|
|
3336
|
+
fallback?: {
|
|
3337
|
+
className?: string | undefined;
|
|
3338
|
+
style?: CSSProperties | undefined;
|
|
3339
|
+
} | undefined;
|
|
3340
|
+
} | undefined;
|
|
3341
|
+
container?: {
|
|
3342
|
+
className?: string | undefined;
|
|
3343
|
+
style?: CSSProperties | undefined;
|
|
3344
|
+
} | undefined;
|
|
3345
|
+
} | undefined;
|
|
3016
3346
|
} | undefined;
|
|
3017
3347
|
message?: {
|
|
3018
3348
|
container?: {
|
|
@@ -3034,7 +3364,7 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
3034
3364
|
} | undefined;
|
|
3035
3365
|
} | undefined;
|
|
3036
3366
|
blocks?: {
|
|
3037
|
-
text: Partial<Record<"
|
|
3367
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
3038
3368
|
className?: string | undefined;
|
|
3039
3369
|
style?: CSSProperties | undefined;
|
|
3040
3370
|
} | undefined>>;
|
|
@@ -3334,8 +3664,42 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
3334
3664
|
} | undefined;
|
|
3335
3665
|
} | undefined;
|
|
3336
3666
|
messageList?: {
|
|
3337
|
-
|
|
3338
|
-
|
|
3667
|
+
container?: {
|
|
3668
|
+
className?: string | undefined;
|
|
3669
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3670
|
+
} | undefined;
|
|
3671
|
+
marquee?: {
|
|
3672
|
+
content?: {
|
|
3673
|
+
className?: string | undefined;
|
|
3674
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3675
|
+
} | undefined;
|
|
3676
|
+
title?: {
|
|
3677
|
+
className?: string | undefined;
|
|
3678
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3679
|
+
} | undefined;
|
|
3680
|
+
description?: {
|
|
3681
|
+
className?: string | undefined;
|
|
3682
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3683
|
+
} | undefined;
|
|
3684
|
+
avatar?: {
|
|
3685
|
+
container?: {
|
|
3686
|
+
className?: string | undefined;
|
|
3687
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3688
|
+
} | undefined;
|
|
3689
|
+
image?: {
|
|
3690
|
+
className?: string | undefined;
|
|
3691
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3692
|
+
} | undefined;
|
|
3693
|
+
fallback?: {
|
|
3694
|
+
className?: string | undefined;
|
|
3695
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3696
|
+
} | undefined;
|
|
3697
|
+
} | undefined;
|
|
3698
|
+
container?: {
|
|
3699
|
+
className?: string | undefined;
|
|
3700
|
+
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3701
|
+
} | undefined;
|
|
3702
|
+
} | undefined;
|
|
3339
3703
|
} | undefined;
|
|
3340
3704
|
message?: {
|
|
3341
3705
|
container?: {
|
|
@@ -3357,7 +3721,7 @@ export declare const ThemeSchema: z.ZodObject<{
|
|
|
3357
3721
|
} | undefined;
|
|
3358
3722
|
} | undefined;
|
|
3359
3723
|
blocks?: {
|
|
3360
|
-
text: Partial<Record<"
|
|
3724
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
3361
3725
|
className?: string | undefined;
|
|
3362
3726
|
style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
3363
3727
|
} | undefined>>;
|
|
@@ -178,8 +178,42 @@ export declare function withBaseTheme(theme: Theme): {
|
|
|
178
178
|
} | undefined;
|
|
179
179
|
} | undefined;
|
|
180
180
|
messageList?: {
|
|
181
|
-
|
|
182
|
-
|
|
181
|
+
container?: {
|
|
182
|
+
className?: string | undefined;
|
|
183
|
+
style?: import("react").CSSProperties | undefined;
|
|
184
|
+
} | undefined;
|
|
185
|
+
marquee?: {
|
|
186
|
+
content?: {
|
|
187
|
+
className?: string | undefined;
|
|
188
|
+
style?: import("react").CSSProperties | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
title?: {
|
|
191
|
+
className?: string | undefined;
|
|
192
|
+
style?: import("react").CSSProperties | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
description?: {
|
|
195
|
+
className?: string | undefined;
|
|
196
|
+
style?: import("react").CSSProperties | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
avatar?: {
|
|
199
|
+
container?: {
|
|
200
|
+
className?: string | undefined;
|
|
201
|
+
style?: import("react").CSSProperties | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
image?: {
|
|
204
|
+
className?: string | undefined;
|
|
205
|
+
style?: import("react").CSSProperties | undefined;
|
|
206
|
+
} | undefined;
|
|
207
|
+
fallback?: {
|
|
208
|
+
className?: string | undefined;
|
|
209
|
+
style?: import("react").CSSProperties | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
container?: {
|
|
213
|
+
className?: string | undefined;
|
|
214
|
+
style?: import("react").CSSProperties | undefined;
|
|
215
|
+
} | undefined;
|
|
216
|
+
} | undefined;
|
|
183
217
|
} | undefined;
|
|
184
218
|
message?: {
|
|
185
219
|
container?: {
|
|
@@ -201,7 +235,7 @@ export declare function withBaseTheme(theme: Theme): {
|
|
|
201
235
|
} | undefined;
|
|
202
236
|
} | undefined;
|
|
203
237
|
blocks?: {
|
|
204
|
-
text: Partial<Record<"
|
|
238
|
+
text: Partial<Record<"text" | "heading1" | "heading2" | "heading3" | "horizontalRule" | "link" | "italic" | "bold" | "orderedList" | "unorderedList" | "listItem" | "lineBreak" | "pre", {
|
|
205
239
|
className?: string | undefined;
|
|
206
240
|
style?: import("react").CSSProperties | undefined;
|
|
207
241
|
} | undefined>>;
|