@landtrustinc/design-system 1.2.6 → 1.2.8-beta.0
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/index.d.ts +24 -2
- package/dist/index.js +530 -371
- package/dist/index.js.map +1 -1
- package/dist/styles.ts +3 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare const media: {
|
|
|
24
24
|
lg: string;
|
|
25
25
|
xl: string;
|
|
26
26
|
};
|
|
27
|
+
declare const breakpoints: string[];
|
|
27
28
|
declare const colors: {
|
|
28
29
|
gray: {
|
|
29
30
|
100: string;
|
|
@@ -269,6 +270,7 @@ declare const ThemeTokens: {
|
|
|
269
270
|
lg: string;
|
|
270
271
|
xl: string;
|
|
271
272
|
};
|
|
273
|
+
breakpoints: string[];
|
|
272
274
|
colors: {
|
|
273
275
|
gray: {
|
|
274
276
|
100: string;
|
|
@@ -506,6 +508,7 @@ declare const ThemeTokens: {
|
|
|
506
508
|
declare const styles_ThemeTokens: typeof ThemeTokens;
|
|
507
509
|
declare const styles_borderRadius: typeof borderRadius;
|
|
508
510
|
declare const styles_boxShadow: typeof boxShadow;
|
|
511
|
+
declare const styles_breakpoints: typeof breakpoints;
|
|
509
512
|
declare const styles_colors: typeof colors;
|
|
510
513
|
declare const styles_fontSizes: typeof fontSizes;
|
|
511
514
|
declare const styles_fontWeights: typeof fontWeights;
|
|
@@ -521,7 +524,7 @@ declare const styles_textShadow: typeof textShadow;
|
|
|
521
524
|
declare const styles_transition: typeof transition;
|
|
522
525
|
declare const styles_zIndex: typeof zIndex;
|
|
523
526
|
declare namespace styles {
|
|
524
|
-
export { styles_ThemeTokens as ThemeTokens, styles_borderRadius as borderRadius, styles_boxShadow as boxShadow, styles_colors as colors, styles_fontSizes as fontSizes, styles_fontWeights as fontWeights, styles_fonts as fonts, styles_headingSizes as headingSizes, styles_lineHeights as lineHeights, styles_media as media, styles_opacity as opacity, styles_screens as screens, styles_sizes as sizes, styles_space as space, styles_textShadow as textShadow, styles_transition as transition, styles_zIndex as zIndex };
|
|
527
|
+
export { styles_ThemeTokens as ThemeTokens, styles_borderRadius as borderRadius, styles_boxShadow as boxShadow, styles_breakpoints as breakpoints, styles_colors as colors, styles_fontSizes as fontSizes, styles_fontWeights as fontWeights, styles_fonts as fonts, styles_headingSizes as headingSizes, styles_lineHeights as lineHeights, styles_media as media, styles_opacity as opacity, styles_screens as screens, styles_sizes as sizes, styles_space as space, styles_textShadow as textShadow, styles_transition as transition, styles_zIndex as zIndex };
|
|
525
528
|
}
|
|
526
529
|
|
|
527
530
|
type TopMatchingFieldNoteProps = {
|
|
@@ -1278,6 +1281,11 @@ type ChatWidgetProps = {
|
|
|
1278
1281
|
* Whether to show thinking indicator
|
|
1279
1282
|
*/
|
|
1280
1283
|
isThinking?: boolean;
|
|
1284
|
+
/**
|
|
1285
|
+
* Text to display in thinking state
|
|
1286
|
+
* @default "Thinking..."
|
|
1287
|
+
*/
|
|
1288
|
+
thinkingText?: string;
|
|
1281
1289
|
/**
|
|
1282
1290
|
* Messages to show when chat is empty
|
|
1283
1291
|
*/
|
|
@@ -1299,8 +1307,17 @@ type ChatWidgetProps = {
|
|
|
1299
1307
|
* @default "Other Helpful Topics"
|
|
1300
1308
|
*/
|
|
1301
1309
|
suggestedPromptsTitle?: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* Number to display in notification badge on trigger button
|
|
1312
|
+
*/
|
|
1313
|
+
notificationCount?: number;
|
|
1314
|
+
/**
|
|
1315
|
+
* Whether to close the widget when clicking outside
|
|
1316
|
+
* @default true
|
|
1317
|
+
*/
|
|
1318
|
+
closeOnClickOutside?: boolean;
|
|
1302
1319
|
};
|
|
1303
|
-
declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking, emptyState, containerProps, suggestedPrompts, onPromptClick, suggestedPromptsTitle, }: ChatWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1320
|
+
declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking, thinkingText, emptyState, containerProps, suggestedPrompts, onPromptClick, suggestedPromptsTitle, notificationCount, closeOnClickOutside, }: ChatWidgetProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1304
1321
|
|
|
1305
1322
|
type DividerProps = React__default.HTMLAttributes<HTMLHRElement> & SpaceProps & {
|
|
1306
1323
|
/**
|
|
@@ -2163,6 +2180,11 @@ type WidgetProps = {
|
|
|
2163
2180
|
* Additional props for the container
|
|
2164
2181
|
*/
|
|
2165
2182
|
containerProps?: BoxProps;
|
|
2183
|
+
/**
|
|
2184
|
+
* Whether to close the widget when clicking outside
|
|
2185
|
+
* @default true
|
|
2186
|
+
*/
|
|
2187
|
+
closeOnClickOutside?: boolean;
|
|
2166
2188
|
};
|
|
2167
2189
|
type WidgetTriggerProps = {
|
|
2168
2190
|
/**
|