@landtrustinc/design-system 1.2.5-beta.2 → 1.2.5
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 +7 -25
- package/dist/index.js +374 -506
- package/dist/index.js.map +1 -1
- package/dist/styles.ts +0 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ declare const media: {
|
|
|
24
24
|
lg: string;
|
|
25
25
|
xl: string;
|
|
26
26
|
};
|
|
27
|
-
declare const breakpoints: string[];
|
|
28
27
|
declare const colors: {
|
|
29
28
|
gray: {
|
|
30
29
|
100: string;
|
|
@@ -270,7 +269,6 @@ declare const ThemeTokens: {
|
|
|
270
269
|
lg: string;
|
|
271
270
|
xl: string;
|
|
272
271
|
};
|
|
273
|
-
breakpoints: string[];
|
|
274
272
|
colors: {
|
|
275
273
|
gray: {
|
|
276
274
|
100: string;
|
|
@@ -508,7 +506,6 @@ declare const ThemeTokens: {
|
|
|
508
506
|
declare const styles_ThemeTokens: typeof ThemeTokens;
|
|
509
507
|
declare const styles_borderRadius: typeof borderRadius;
|
|
510
508
|
declare const styles_boxShadow: typeof boxShadow;
|
|
511
|
-
declare const styles_breakpoints: typeof breakpoints;
|
|
512
509
|
declare const styles_colors: typeof colors;
|
|
513
510
|
declare const styles_fontSizes: typeof fontSizes;
|
|
514
511
|
declare const styles_fontWeights: typeof fontWeights;
|
|
@@ -524,7 +521,7 @@ declare const styles_textShadow: typeof textShadow;
|
|
|
524
521
|
declare const styles_transition: typeof transition;
|
|
525
522
|
declare const styles_zIndex: typeof zIndex;
|
|
526
523
|
declare namespace styles {
|
|
527
|
-
export { styles_ThemeTokens as ThemeTokens, styles_borderRadius as borderRadius, styles_boxShadow as boxShadow,
|
|
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 };
|
|
528
525
|
}
|
|
529
526
|
|
|
530
527
|
type TopMatchingFieldNoteProps = {
|
|
@@ -1277,11 +1274,6 @@ type ChatWidgetProps = {
|
|
|
1277
1274
|
* Whether to show thinking indicator
|
|
1278
1275
|
*/
|
|
1279
1276
|
isThinking?: boolean;
|
|
1280
|
-
/**
|
|
1281
|
-
* Text to display in thinking state
|
|
1282
|
-
* @default "Thinking..."
|
|
1283
|
-
*/
|
|
1284
|
-
thinkingText?: string;
|
|
1285
1277
|
/**
|
|
1286
1278
|
* Messages to show when chat is empty
|
|
1287
1279
|
*/
|
|
@@ -1303,17 +1295,8 @@ type ChatWidgetProps = {
|
|
|
1303
1295
|
* @default "Other Helpful Topics"
|
|
1304
1296
|
*/
|
|
1305
1297
|
suggestedPromptsTitle?: string;
|
|
1306
|
-
/**
|
|
1307
|
-
* Number to display in notification badge on trigger button
|
|
1308
|
-
*/
|
|
1309
|
-
notificationCount?: number;
|
|
1310
|
-
/**
|
|
1311
|
-
* Whether to close the widget when clicking outside
|
|
1312
|
-
* @default true
|
|
1313
|
-
*/
|
|
1314
|
-
closeOnClickOutside?: boolean;
|
|
1315
1298
|
};
|
|
1316
|
-
declare const ChatWidget: ({ title, messages, onSubmit, placeholder, disabled, className, ariaLabel, panelWidth, expanded, defaultExpanded, onExpandedChange, isThinking,
|
|
1299
|
+
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;
|
|
1317
1300
|
|
|
1318
1301
|
type DividerProps = React__default.HTMLAttributes<HTMLHRElement> & SpaceProps & {
|
|
1319
1302
|
/**
|
|
@@ -1327,7 +1310,7 @@ type FeatureListItemProps = {
|
|
|
1327
1310
|
/**
|
|
1328
1311
|
* Icon variant to display
|
|
1329
1312
|
*/
|
|
1330
|
-
iconVariant
|
|
1313
|
+
iconVariant?: IconVariantTypes$1;
|
|
1331
1314
|
/**
|
|
1332
1315
|
* Size of the icon
|
|
1333
1316
|
*/
|
|
@@ -1352,6 +1335,10 @@ type FeatureListItemProps = {
|
|
|
1352
1335
|
* Additional CSS class names
|
|
1353
1336
|
*/
|
|
1354
1337
|
className?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Whether the feature list item should be displayed inline
|
|
1340
|
+
*/
|
|
1341
|
+
isInline?: boolean;
|
|
1355
1342
|
};
|
|
1356
1343
|
|
|
1357
1344
|
type FeatureItem = Omit<FeatureListItemProps, 'className'>;
|
|
@@ -2168,11 +2155,6 @@ type WidgetProps = {
|
|
|
2168
2155
|
* Additional props for the container
|
|
2169
2156
|
*/
|
|
2170
2157
|
containerProps?: BoxProps;
|
|
2171
|
-
/**
|
|
2172
|
-
* Whether to close the widget when clicking outside
|
|
2173
|
-
* @default true
|
|
2174
|
-
*/
|
|
2175
|
-
closeOnClickOutside?: boolean;
|
|
2176
2158
|
};
|
|
2177
2159
|
type WidgetTriggerProps = {
|
|
2178
2160
|
/**
|