@xapp/form-widget 1.84.3 → 1.85.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.
Files changed (121) hide show
  1. package/dist/api/__test__/stentor-api.test.d.ts +4 -0
  2. package/dist/api/stentor-api.d.ts +0 -0
  3. package/dist/components/Form/Form.d.ts +0 -0
  4. package/dist/components/FormDisplay/FormDisplay.d.ts +0 -0
  5. package/dist/components/FormResponse/FormResponse.d.ts +0 -0
  6. package/dist/components/FormStepDisplay/FormStepDisplay.d.ts +0 -0
  7. package/dist/components/FormWidget/FormWidget.d.ts +0 -0
  8. package/dist/components/ResponseDisplay/ResponseDisplay.d.ts +0 -0
  9. package/dist/config/index.d.ts +0 -0
  10. package/dist/index.es.js +36 -36
  11. package/dist/index.es.js.map +1 -1
  12. package/dist/services/EventTrackingService.d.ts +0 -0
  13. package/dist/services/index.d.ts +1 -0
  14. package/dist/types/events.d.ts +0 -0
  15. package/dist/types.d.ts +0 -0
  16. package/dist/xapp-form-widget.css +137 -22
  17. package/dist/xapp-form-widget.js +5 -5
  18. package/package.json +6 -6
  19. package/dist/components/Button/Button.stories.d.ts +0 -7
  20. package/dist/components/Card/Card.stories.d.ts +0 -9
  21. package/dist/components/Cards/Cards.stories.d.ts +0 -7
  22. package/dist/components/Carousel/Carousel.stories.d.ts +0 -8
  23. package/dist/components/ChatButton/ChatButton.d.ts +0 -0
  24. package/dist/components/ChatButton/ChatButton.stories.d.ts +0 -6
  25. package/dist/components/ChatButton/index.d.ts +0 -0
  26. package/dist/components/Form/Form.stories.d.ts +0 -16
  27. package/dist/components/FormDisplay/FormDisplay.stories.d.ts +0 -10
  28. package/dist/components/FormFieldCard/FormFieldCard.stories.d.ts +0 -8
  29. package/dist/components/FormFieldChips/FormFieldChips.stories.d.ts +0 -9
  30. package/dist/components/FormFieldChips/FormFieldSelect.stories.d.ts +0 -9
  31. package/dist/components/FormFieldDate/FormFieldDate.stories.d.ts +0 -7
  32. package/dist/components/FormFieldDropdown/FormFieldDropdown.stories.d.ts +0 -12
  33. package/dist/components/FormResponse/FormResponse.stories.d.ts +0 -15
  34. package/dist/components/FormStepDisplay/FormStepDisplay.stories.d.ts +0 -11
  35. package/dist/components/FormWidget/FormWidget.stories.d.ts +0 -6
  36. package/dist/components/IconLabel/IconLabel.stories.d.ts +0 -5
  37. package/dist/components/LinkButton/LinkButton.stories.d.ts +0 -6
  38. package/dist/components/ModalDialog/ModalDialog.stories.d.ts +0 -6
  39. package/dist/components/SearchInput/SearchInput.d.ts +0 -15
  40. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -6
  41. package/dist/components/SearchInput/SearchInputContainer.d.ts +0 -12
  42. package/dist/components/SearchInput/index.d.ts +0 -2
  43. package/dist/components/SearchResponse/SearchResponse.d.ts +0 -0
  44. package/dist/components/SearchResponse/SearchResponse.stories.d.ts +0 -13
  45. package/dist/components/SearchResponse/index.d.ts +0 -0
  46. package/dist/components/SearchResponseAudio/SearchResponseAudio.stories.d.ts +0 -5
  47. package/dist/components/SearchResponseBubble/SearchResponseBubble.stories.d.ts +0 -5
  48. package/dist/components/SearchResponseCarouselDisplay/SearchResponseCarouselDisplay.stories.d.ts +0 -5
  49. package/dist/components/SearchResponseDisplay/SearchResponseDisplay.d.ts +0 -0
  50. package/dist/components/SearchResponseDisplay/index.d.ts +0 -0
  51. package/dist/components/SearchResponseFormDisplay/SearchResponseFormDisplay.d.ts +0 -0
  52. package/dist/components/SearchResponseFormDisplay/index.d.ts +0 -0
  53. package/dist/components/SearchResponseFormDisplay/model.d.ts +0 -0
  54. package/dist/components/SearchResponseHtml/SearchResponseHtml.stories.d.ts +0 -5
  55. package/dist/components/SearchResponseListDisplay/SearchResponseListDisplay.stories.d.ts +0 -6
  56. package/dist/components/SearchResponseOutputSpeech/SearchResponseOutputSpeech.stories.d.ts +0 -8
  57. package/dist/components/SearchResponsePart/SearchResponsePart.d.ts +0 -0
  58. package/dist/components/SearchResponsePart/index.d.ts +0 -0
  59. package/dist/components/SearchResponseText/SearchResponseText.stories.d.ts +0 -5
  60. package/dist/components/SearchResult/SearchResult.d.ts +0 -11
  61. package/dist/components/SearchResult/SearchResult.stories.d.ts +0 -5
  62. package/dist/components/SearchResult/index.d.ts +0 -1
  63. package/dist/components/SuggestedAction/SuggestedAction.stories.d.ts +0 -7
  64. package/dist/components/SuggestedActions/SuggestedActions.stories.d.ts +0 -5
  65. package/dist/components/icons/Icon.stories.d.ts +0 -5
  66. package/dist/config/theme.d.ts +0 -0
  67. package/dist/index.css +0 -615
  68. package/dist/index.es.css +0 -615
  69. package/dist/index.js +0 -67096
  70. package/dist/index.js.map +0 -1
  71. package/dist/setupTests.d.ts +0 -1
  72. package/dist/stories/ThemeBuilder/ThemeBuilderSection/ThemeBuilderSection.d.ts +0 -8
  73. package/dist/stories/ThemeBuilder/ThemeBuilderSection/index.d.ts +0 -1
  74. package/dist/stories/ThemeBuilder/ThemeBuilderSectionLine/ThemeBuilderSectionLine.d.ts +0 -7
  75. package/dist/stories/ThemeBuilder/ThemeBuilderSectionLine/index.d.ts +0 -1
  76. package/dist/stories/ThemeBuilder/WidgetBackgroundThemeBuilder/WidgetBackgroundThemeBuilder.d.ts +0 -11
  77. package/dist/stories/ThemeBuilder/WidgetBackgroundThemeBuilder/index.d.ts +0 -1
  78. package/dist/stories/ThemeBuilder/WidgetBorderRadiusPicker/WidgetBorderRadiusPicker.d.ts +0 -9
  79. package/dist/stories/ThemeBuilder/WidgetBorderRadiusPicker/index.d.ts +0 -1
  80. package/dist/stories/ThemeBuilder/WidgetBorderThemeBuilder/WidgetBorderThemeBuilder.d.ts +0 -11
  81. package/dist/stories/ThemeBuilder/WidgetBorderThemeBuilder/index.d.ts +0 -1
  82. package/dist/stories/ThemeBuilder/WidgetBorderWidthPicker/WidgetBorderWidthPicker.d.ts +0 -9
  83. package/dist/stories/ThemeBuilder/WidgetBorderWidthPicker/index.d.ts +0 -1
  84. package/dist/stories/ThemeBuilder/WidgetCardThemeBuilder/WidgetCardThemeBuilder.d.ts +0 -10
  85. package/dist/stories/ThemeBuilder/WidgetCardThemeBuilder/index.d.ts +0 -1
  86. package/dist/stories/ThemeBuilder/WidgetCarouselThemeBuilder/WidgetCarouselThemeBuilder.d.ts +0 -10
  87. package/dist/stories/ThemeBuilder/WidgetCarouselThemeBuilder/index.d.ts +0 -1
  88. package/dist/stories/ThemeBuilder/WidgetColorPicker/WidgetColorPicker.d.ts +0 -12
  89. package/dist/stories/ThemeBuilder/WidgetColorPicker/index.d.ts +0 -1
  90. package/dist/stories/ThemeBuilder/WidgetFontFamilyPicker/WidgetFontFamilyPicker.d.ts +0 -12
  91. package/dist/stories/ThemeBuilder/WidgetFontFamilyPicker/index.d.ts +0 -1
  92. package/dist/stories/ThemeBuilder/WidgetFontSizePicker/WidgetFontSizePicker.d.ts +0 -9
  93. package/dist/stories/ThemeBuilder/WidgetFontSizePicker/index.d.ts +0 -1
  94. package/dist/stories/ThemeBuilder/WidgetFontStylePicker/WidgetFontStylePicker.d.ts +0 -12
  95. package/dist/stories/ThemeBuilder/WidgetFontStylePicker/index.d.ts +0 -1
  96. package/dist/stories/ThemeBuilder/WidgetFontWeightPicker/WidgetFontWeightPicker.d.ts +0 -12
  97. package/dist/stories/ThemeBuilder/WidgetFontWeightPicker/index.d.ts +0 -1
  98. package/dist/stories/ThemeBuilder/WidgetLengthPicker/WidgetLengthPicker.d.ts +0 -11
  99. package/dist/stories/ThemeBuilder/WidgetLengthPicker/index.d.ts +0 -1
  100. package/dist/stories/ThemeBuilder/WidgetLengthPickerLine/WidgetLengthPickerLine.d.ts +0 -10
  101. package/dist/stories/ThemeBuilder/WidgetLengthPickerLine/index.d.ts +0 -1
  102. package/dist/stories/ThemeBuilder/WidgetLinkBlockThemeBuilder/WidgetLinkBlockThemeBuilder.d.ts +0 -10
  103. package/dist/stories/ThemeBuilder/WidgetLinkBlockThemeBuilder/index.d.ts +0 -1
  104. package/dist/stories/ThemeBuilder/WidgetLinkThemeBuilder/WidgetLinkThemeBuilder.d.ts +0 -10
  105. package/dist/stories/ThemeBuilder/WidgetLinkThemeBuilder/index.d.ts +0 -1
  106. package/dist/stories/ThemeBuilder/WidgetListThemeBuilder/WidgetListThemeBuilder.d.ts +0 -10
  107. package/dist/stories/ThemeBuilder/WidgetListThemeBuilder/index.d.ts +0 -1
  108. package/dist/stories/ThemeBuilder/WidgetMarginPicker/WidgetMarginPicker.d.ts +0 -10
  109. package/dist/stories/ThemeBuilder/WidgetMarginPicker/index.d.ts +0 -1
  110. package/dist/stories/ThemeBuilder/WidgetPaddingPicker/WidgetPaddingPicker.d.ts +0 -10
  111. package/dist/stories/ThemeBuilder/WidgetPaddingPicker/index.d.ts +0 -1
  112. package/dist/stories/ThemeBuilder/WidgetTextBlockThemeBuilder/WidgetTextBlockThemeBuilder.d.ts +0 -10
  113. package/dist/stories/ThemeBuilder/WidgetTextBlockThemeBuilder/index.d.ts +0 -1
  114. package/dist/stories/ThemeBuilder/WidgetTextThemeBuilder/WidgetTextThemeBuilder.d.ts +0 -10
  115. package/dist/stories/ThemeBuilder/WidgetTextThemeBuilder/index.d.ts +0 -1
  116. package/dist/stories/ThemeBuilder/WidgetThemeBuilder/WidgetThemeBuilder.d.ts +0 -8
  117. package/dist/stories/ThemeBuilder/WidgetThemeBuilder/index.d.ts +0 -1
  118. package/dist/stories/ThemeBuilder/WidgetValuePicker/WidgetValuePicker.d.ts +0 -16
  119. package/dist/stories/ThemeBuilder/WidgetValuePicker/index.d.ts +0 -1
  120. package/dist/xapp-form-widget.js.map +0 -1
  121. /package/dist/{components/SearchResult/SearchResult.test.d.ts → services/__test__/EventTrackingService.test.d.ts} +0 -0
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@xapp/form-widget",
3
- "version": "1.84.3",
3
+ "version": "1.85.0",
4
4
  "description": "Form Widget",
5
5
  "scripts": {
6
6
  "clean": "rm -rf ./lib/* && rm -rf ./dist/*",
7
7
  "lint": "eslint src/**/* --ext .ts,.tsx --fix --no-error-on-unmatched-pattern",
8
- "test": "jest --maxWorkers=50%",
8
+ "test": "jest",
9
9
  "types": "tsc",
10
10
  "build": "rollup -c --bundleConfigAsCjs",
11
11
  "start": "rollup -c -w && npm run prettier-watch",
@@ -91,7 +91,7 @@
91
91
  "rollup-plugin-visualizer": "5.14.0",
92
92
  "sass": "1.97.1",
93
93
  "sass-loader": "10.5.2",
94
- "stentor-models": "1.67.0",
94
+ "stentor-models": "1.68.6",
95
95
  "storybook": "8.6.15",
96
96
  "ts-jest": "29.4.6",
97
97
  "typescript": "5.9.3"
@@ -111,12 +111,12 @@
111
111
  "@mui/icons-material": "7.3.7",
112
112
  "@mui/material": "7.3.7",
113
113
  "@mui/x-date-pickers": "7.29.4",
114
- "@xapp/stentor-form-widget-channel": "1.82.1",
114
+ "@xapp/stentor-form-widget-channel": "1.85.0",
115
115
  "autosuggest-highlight": "3.3.4",
116
116
  "dayjs": "1.11.19",
117
117
  "lodash.template": "4.5.0",
118
- "stentor-guards": "1.67.0",
118
+ "stentor-guards": "1.68.6",
119
119
  "tslib": "2.8.1"
120
120
  },
121
- "gitHead": "525bca458ad74a5f7af4544065d63aa49e0d2c67"
121
+ "gitHead": "7e88fa85fbd4c05a32caffe37099e72a0534b86c"
122
122
  }
@@ -1,7 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- import { Button } from "./Button";
4
- declare const meta: Meta<typeof Button>;
5
- export default meta;
6
- export declare const Default: FC;
7
- export declare const Expand: FC;
@@ -1,9 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Desktop: FC;
6
- export declare const Tablet: FC;
7
- export declare const Mobile: FC;
8
- export declare const Styled: FC;
9
- export declare const BingStyle: FC;
@@ -1,7 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Desktop: FC;
6
- export declare const Tablet: FC;
7
- export declare const Mobile: FC;
@@ -1,8 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Desktop: FC;
6
- export declare const Tablet: FC;
7
- export declare const Mobile: FC;
8
- export declare const BingStyle: FC;
@@ -1,6 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
6
- export declare const WithBorder: FC;
@@ -1,16 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC, FC } from "react";
3
- import { FormWidgetTheme } from "@xapp/stentor-form-widget-channel";
4
- declare const _default: Meta;
5
- export default _default;
6
- export declare const Default: FC;
7
- export declare const DefaultBlank: FC;
8
- export declare const Dropdown: FC;
9
- export declare const Styled: FC;
10
- export declare const AutoOpened: FC;
11
- export declare const WithIframe: FC;
12
- export declare const WithCustomFont: FC;
13
- export declare const WithCustomFontAndOverride: FC;
14
- export declare function buildDefaultTheme(_opts: {
15
- fontFamily?: string;
16
- }): FormWidgetTheme;
@@ -1,10 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Default: any;
5
- export declare const DefaultWithConsent: any;
6
- export declare const WithFormServiceOptions: any;
7
- export declare const WithFormServiceOptionsZipCodeServiceArea: any;
8
- export declare const WithMandatoryDropdown: any;
9
- export declare const WithWarnBeforeUnload: any;
10
- export declare const WithWarnBeforeUnloadNoMessage: any;
@@ -1,8 +0,0 @@
1
- import { Meta, StoryFn } from "@storybook/react";
2
- import { FormCardProps } from "./FormFieldCard";
3
- declare const _default: Meta;
4
- export default _default;
5
- type Story = StoryFn<FormCardProps>;
6
- export declare const Default: any;
7
- export declare const Customized: any;
8
- export declare const WithVariants: Story;
@@ -1,9 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Default: any;
5
- export declare const Radio: any;
6
- export declare const RadioWithTitle: any;
7
- export declare const WithTitle: any;
8
- export declare const WithURL: any;
9
- export declare const WithMixedItems: any;
@@ -1,9 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Default: any;
5
- export declare const WithTitle: any;
6
- export declare const WithError: any;
7
- export declare const ManyOptions: any;
8
- export declare const WithLongLabels: any;
9
- export declare const RequiredMembership: any;
@@ -1,7 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Default: any;
5
- export declare const WithDefaultBusyDays: any;
6
- export declare const WithDefaultBusyDaysTwo: any;
7
- export declare const Loading: any;
@@ -1,12 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Default: any;
5
- export declare const WithManyOptions: any;
6
- export declare const NoTitle: any;
7
- export declare const WithFreeFormInput: any;
8
- export declare const MultipleFreeFormOptions: any;
9
- export declare const WithCustomFieldName: any;
10
- export declare const WithDefaultMessageField: any;
11
- export declare const MandatoryDropdown: any;
12
- export declare const MandatoryWithCustomError: any;
@@ -1,15 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC, FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const DisplayFormResponse: FC;
6
- export declare const DisplayFormResponseLoading: FC;
7
- export declare const TextResponse: FC;
8
- export declare const HtmlResponse: FC;
9
- export declare const SuggestionsResponse: FC;
10
- export declare const ListResponse: FC;
11
- export declare const ListPartialImagesResponse: FC;
12
- export declare const ListNoImagesResponse: FC;
13
- export declare const CarouselResponse: FC;
14
- export declare const CarouselPartialImagesResponse: FC;
15
- export declare const CarouselNoImagesResponse: FC;
@@ -1,11 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- declare const _default: Meta;
3
- export default _default;
4
- export declare const Default: any;
5
- export declare const WithDropdown: any;
6
- export declare const WithDropdownFreeForm: any;
7
- export declare const WithDate: any;
8
- export declare const WithMandatoryGroup: any;
9
- export declare const WithOptionalEmail: any;
10
- export declare const WithManyInputs: any;
11
- export declare const WithIFrameStep: any;
@@ -1,6 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
6
- export declare const InModal: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,6 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
6
- export declare const Expand: FC;
@@ -1,6 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
6
- export declare const WithoutBackdrop: FC;
@@ -1,15 +0,0 @@
1
- import { RichTextValue } from "@xapp/chat-widget-core";
2
- import { FC } from "react";
3
- export interface SearchInputProps {
4
- readonly value: RichTextValue;
5
- readonly autoFocus?: boolean;
6
- readonly audioOn: boolean;
7
- onSearch?(value: RichTextValue): void;
8
- onChange(value: RichTextValue): void;
9
- onPrev(): void;
10
- onNext(): void;
11
- onSubmit(value: RichTextValue): void;
12
- onCancel?(): void;
13
- onFocus?(): void;
14
- }
15
- export declare const SearchInput: FC<SearchInputProps>;
@@ -1,6 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
6
- export declare const Rich: FC;
@@ -1,12 +0,0 @@
1
- import { FC } from "react";
2
- import { SearchInputProps } from "./SearchInput";
3
- export type SearchInputContainerProps = Omit<SearchInputProps, "value" | "onChange">;
4
- /**
5
- * Ability to take in raw text input.
6
- *
7
- * This is used when a auto greeting or intentId is not provided.
8
- *
9
- * @param props
10
- * @returns
11
- */
12
- export declare const SearchInputContainer: FC<SearchInputContainerProps>;
@@ -1,2 +0,0 @@
1
- export { SearchInput, SearchInputProps } from "./SearchInput";
2
- export { SearchInputContainer, SearchInputContainerProps } from "./SearchInputContainer";
@@ -1,13 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const TextResponse: FC;
6
- export declare const HtmlResponse: FC;
7
- export declare const SuggestionsResponse: FC;
8
- export declare const ListResponse: FC;
9
- export declare const ListPartialImagesResponse: FC;
10
- export declare const ListNoImagesResponse: FC;
11
- export declare const CarouselResponse: FC;
12
- export declare const CarouselPartialImagesResponse: FC;
13
- export declare const CarouselNoImagesResponse: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,6 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
6
- export declare const WithTitle: FC;
@@ -1,8 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const TextResponse: FC;
6
- export declare const HtmlResponse: FC;
7
- export declare const TextAndHtmlResponse: FC;
8
- export declare const Styled: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,11 +0,0 @@
1
- import { SuggestionsGroupData, SuggestionsItemData } from "@xapp/chat-widget-core";
2
- import { FC, FC } from "react";
3
- export interface SearchResultProps {
4
- readonly result: readonly SuggestionsGroupData[];
5
- readonly index: number;
6
- readonly className?: string;
7
- onItemClick(data: SuggestionsItemData): void;
8
- onItemUse(data: SuggestionsItemData): void;
9
- }
10
- export declare const SearchResult: FC<SearchResultProps>;
11
- export declare const SuggestionsItemActions: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1 +0,0 @@
1
- export { SearchResult, SearchResultProps } from "./SearchResult";
@@ -1,7 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const TextAction: FC;
6
- export declare const LinkAction: FC;
7
- export declare const ObjAction: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
@@ -1,5 +0,0 @@
1
- import { Meta } from "@storybook/react";
2
- import { FC } from "react";
3
- declare const _default: Meta;
4
- export default _default;
5
- export declare const Default: FC;
Binary file