@livechat/design-system-react-components 2.26.0 → 2.27.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.
@@ -29,6 +29,14 @@ export interface IAccordionGlobalProps extends ComponentCoreProps {
29
29
  * Set to control accordion state
30
30
  */
31
31
  isOpen?: boolean;
32
+ /**
33
+ * Set to display the accordion content with full width
34
+ */
35
+ fullWidthContent?: boolean;
36
+ /**
37
+ * Set to hide the chevron icon
38
+ */
39
+ hideChevron?: boolean;
32
40
  /**
33
41
  * Optional handler called on accordion close
34
42
  */
@@ -3,6 +3,7 @@ import { FloatingPortalProps, Placement, Strategy, UseClickProps, UseDismissProp
3
3
  import { VirtuosoProps } from 'react-virtuoso';
4
4
  import { Size } from '../../utils';
5
5
  import { ComponentCoreProps } from '../../utils/types';
6
+ import { AvatarType } from '../Avatar/types';
6
7
  import { IconSource } from '../Icon';
7
8
  import { TagProps } from '../Tag';
8
9
 
@@ -16,7 +17,14 @@ export interface IPickerListItem {
16
17
  groupHeader?: boolean;
17
18
  disabled?: boolean;
18
19
  icon?: IconSource;
20
+ /**
21
+ * @deprecated Use avatar object instead
22
+ */
19
23
  avatarSrc?: string;
24
+ avatar?: {
25
+ src?: string;
26
+ type: AvatarType;
27
+ } | null;
20
28
  secondaryText?: string;
21
29
  showCheckbox?: boolean;
22
30
  selectedTagOptions?: TagProps;
@@ -25,4 +25,8 @@ export interface IUserGuideBubbleStepProps {
25
25
  * Set to true to disable typing animations
26
26
  */
27
27
  disableTypingAnimations?: boolean;
28
+ /**
29
+ * Additional CSS class name to apply to the step container
30
+ */
31
+ className?: string;
28
32
  }
@@ -1,50 +1,26 @@
1
1
  export declare const DesignToken: {
2
- /** @deprecated */
3
- Background: string;
4
2
  Background01: string;
5
3
  Background02: string;
6
4
  Background03: string;
7
- /** @deprecated */
8
- SurfaceBasicDefault: string;
9
5
  SurfacePrimaryDefault: string;
10
- /** @deprecated */
11
- SurfaceBasicSubtle: string;
12
6
  SurfaceSecondaryDefault: string;
13
7
  SurfaceSecondaryHover: string;
14
8
  SurfaceSecondaryActive: string;
15
9
  SurfaceSecondaryDisabled: string;
16
- /** @deprecated */
17
- SurfacePrimaryHoverOpacity: string;
18
- /** @deprecated */
19
- SurfaceBasicHover: string;
20
10
  SurfacePrimaryHover: string;
21
- /** @deprecated */
22
- SurfaceBasicActive: string;
23
11
  SurfacePrimaryActive: string;
24
12
  SurfacePrimaryActiveColored: string;
25
- /** @deprecated */
26
- SurfaceBasicDisabled: string;
27
13
  SurfacePrimaryDisabled: string;
28
14
  SurfaceTertiaryDefault: string;
29
- /** @deprecated */
30
- SurfaceSecondarySubtle: string;
31
15
  SurfaceModerateDefault: string;
32
16
  SurfaceModerateHover: string;
33
17
  SurfaceModerateActive: string;
34
18
  SurfaceTertiaryHover: string;
35
19
  SurfaceTertiaryActive: string;
36
20
  SurfaceTertiaryDisabled: string;
37
- /** @deprecated */
38
- SurfaceFeedbackInfo: string;
39
21
  SurfaceAccentEmphasisLowInfo: string;
40
- /** @deprecated */
41
- SurfaceFeedbackNegative: string;
42
22
  SurfaceAccentEmphasisLowNegative: string;
43
- /** @deprecated */
44
- SurfaceFeedbackWarning: string;
45
23
  SurfaceAccentEmphasisLowWarning: string;
46
- /** @deprecated */
47
- SurfaceFeedbackPositive: string;
48
24
  SurfaceAccentEmphasisLowPositive: string;
49
25
  SurfaceAccentEmphasisLowPurple: string;
50
26
  SurfaceAccentEmphasisMinInfo: string;
@@ -64,11 +40,7 @@ export declare const DesignToken: {
64
40
  SurfaceAccentEmphasisSubtleWarning: string;
65
41
  SurfaceAccentEmphasisSubtleInfo: string;
66
42
  SurfaceAccentEmphasisSubtlePositive: string;
67
- /** @deprecated */
68
- SurfaceInvertDefault: string;
69
43
  SurfaceInvertPrimary: string;
70
- /** @deprecated */
71
- SurfaceInvertSubtle: string;
72
44
  SurfaceInvertSecondary: string;
73
45
  SurfaceInvertDisabled: string;
74
46
  SurfaceLockedDefault: string;
@@ -88,8 +60,6 @@ export declare const DesignToken: {
88
60
  SurfaceOpacityBasicActive: string;
89
61
  SurfaceOpacityInvertHover: string;
90
62
  SurfaceOpacityInvertActive: string;
91
- /** @deprecated */
92
- SurfaceOverlay: string;
93
63
  SurfaceGradient01: string;
94
64
  SurfaceGradient02: string;
95
65
  SurfaceGradient03: string;
@@ -108,19 +78,11 @@ export declare const DesignToken: {
108
78
  SurfaceOtherAgent: string;
109
79
  SurfaceOtherAgentHover: string;
110
80
  SurfaceOtherSkeleton: string;
111
- /** @deprecated */
112
- SurfaceOtherInternalNote: string;
113
81
  SurfaceOtherInternalNoteHover: string;
114
82
  SurfaceOtherVisitor: string;
115
83
  SurfaceOtherVisitorHover: string;
116
- /** @deprecated */
117
- ContentDefault: string;
118
84
  ContentBasicPrimary: string;
119
- /** @deprecated */
120
- ContentSubtle: string;
121
85
  ContentBasicSecondary: string;
122
- /** @deprecated */
123
- ContentDisabled: string;
124
86
  ContentBasicDisabled: string;
125
87
  ContentBasicNegative: string;
126
88
  ContentBasicWarning: string;
@@ -128,36 +90,20 @@ export declare const DesignToken: {
128
90
  ContentBasicInfo: string;
129
91
  ContentBasicPurple: string;
130
92
  ContentBasicGradient01: string;
131
- /** @deprecated */
132
- ContentWhiteLocked: string;
133
93
  ContentLockedWhite: string;
134
- /** @deprecated */
135
- ContentBlackLocked: string;
136
94
  ContentLockedBlack: string;
137
95
  ContentLockedDefault: string;
138
96
  ContentLockedHover: string;
139
97
  ContentLockedActive: string;
140
98
  ContentLockedDisabled: string;
141
- /** @deprecated */
142
- ContentInvertDefault: string;
143
99
  ContentInvertPrimary: string;
144
- /** @deprecated */
145
- ContentInvertSubtle: string;
146
100
  ContentInvertSecondary: string;
147
101
  ContentInvertDisabled: string;
148
102
  ContentInvertGradient01: string;
149
- /** @deprecated */
150
- BorderDefault: string;
151
103
  BorderBasicPrimary: string;
152
104
  BorderBasicSecondary: string;
153
- /** @deprecated */
154
- BorderSubtle: string;
155
105
  BorderBasicTertiary: string;
156
- /** @deprecated */
157
- BorderHover: string;
158
106
  BorderBasicHover: string;
159
- /** @deprecated */
160
- BorderDisabled: string;
161
107
  BorderBasicDisabled: string;
162
108
  BorderBasicNegative: string;
163
109
  BorderBasicWarning: string;
@@ -165,54 +111,24 @@ export declare const DesignToken: {
165
111
  BorderBasicInfo: string;
166
112
  BorderBasicPurple: string;
167
113
  BorderBasicContrast: string;
168
- /** @deprecated */
169
- BorderInvertDefault: string;
170
114
  BorderInvertPrimary: string;
171
- /** @deprecated */
172
- BorderInvertSubtle: string;
173
115
  BorderInvertSecondary: string;
174
116
  BorderInvertHover: string;
175
117
  BorderInvertDisabled: string;
176
- /** @deprecated */
177
- ColorActionActive: string;
178
118
  ActionPrimaryActive: string;
179
- /** @deprecated */
180
- ColorActionHover: string;
181
119
  ActionPrimaryHover: string;
182
- /** @deprecated */
183
- ColorActionDefault: string;
184
120
  ActionPrimaryDefault: string;
185
121
  ColorActionDefaultRgb: string;
186
- /** @deprecated */
187
- ColorActionDisabled: string;
188
122
  ActionPrimaryDisabled: string;
189
- /** @deprecated */
190
- ColorNegativeActive: string;
191
123
  ActionNegativeActive: string;
192
- /** @deprecated */
193
- ColorNegativeHover: string;
194
124
  ActionNegativeHover: string;
195
- /** @deprecated */
196
- ColorNegativeDefault: string;
197
125
  ActionNegativeDefault: string;
198
- /** @deprecated */
199
- ColorNegativeDisabled: string;
200
126
  ActionNegativeDisabled: string;
201
- /** @deprecated */
202
- ColorWarningDefault: string;
203
127
  ActionWarningDefault: string;
204
- /** @deprecated */
205
- ColorWarningHover: string;
206
128
  ActionWarningHover: string;
207
129
  ActionWarningDisabled: string;
208
- /** @deprecated */
209
- ColorPositiveDefault: string;
210
130
  ActionPositiveDefault: string;
211
- /** @deprecated */
212
- ColorPositiveHover: string;
213
131
  ActionPositiveHover: string;
214
- /** @deprecated */
215
- ColorPositiveDisabled: string;
216
132
  ActionPositiveDisabled: string;
217
133
  ActionNeutralDefault: string;
218
134
  ActionNeutralHover: string;
@@ -221,8 +137,6 @@ export declare const DesignToken: {
221
137
  ActionHighContrastHover: string;
222
138
  ActionHighContrastActive: string;
223
139
  ActionHighContrastDisabled: string;
224
- /** @deprecated */
225
- ColorBot: string;
226
140
  SurfaceOtherBot: string;
227
141
  SurfaceOtherBotHover: string;
228
142
  ColorBlack: string;