@indigoai/indigo-design-system 0.10.15 → 0.10.16
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/components/atom-quick-replies-input/atom-quick-replies-input.d.ts +4 -0
- package/dist/components/atom-quick-replies-input/atom-quick-replies-input.stories.d.ts +8 -0
- package/dist/components/atom-quick-replies-input/index.d.ts +2 -0
- package/dist/components/atom-quick-replies-input/types.d.ts +8 -0
- package/dist/components/blocks/upload-block/index.d.ts +2 -0
- package/dist/components/blocks/upload-block/types.d.ts +19 -0
- package/dist/components/blocks/upload-block/upload-block.d.ts +4 -0
- package/dist/components/blocks/upload-block/upload-block.stories.d.ts +8 -0
- package/dist/components/dropdown/document-dropdown/document-dropdown/types.d.ts +3 -3
- package/dist/index.d.ts +4 -0
- package/dist/indigo-design-system.js +7326 -7146
- package/dist/indigo-design-system.js.map +1 -1
- package/dist/indigo-design-system.umd.cjs +39 -39
- package/dist/indigo-design-system.umd.cjs.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { AtomQuickRepliesInput } from './atom-quick-replies-input';
|
|
3
|
+
import { AtomQuickRepliesInputProps } from './types';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('@storybook/csf').ComponentAnnotations<import('@storybook/react/dist/types-a5624094').R, AtomQuickRepliesInputProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type Story = StoryObj<typeof AtomQuickRepliesInput>;
|
|
8
|
+
export declare const Template: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BlockProps } from '../../block-builders/block/types';
|
|
2
|
+
import { SelectProps } from '../../input/select';
|
|
3
|
+
import { AiDropdownProps } from '../../dropdown/ai-dropdown/ai-dropdown';
|
|
4
|
+
|
|
5
|
+
export type UploadBlockProps = {
|
|
6
|
+
isCaption: boolean;
|
|
7
|
+
setIsCaption: (value: boolean) => void;
|
|
8
|
+
limitFileSize: boolean;
|
|
9
|
+
setLimitFileSize: (value: boolean) => void;
|
|
10
|
+
isMandatory: boolean;
|
|
11
|
+
setIsMandatory: (value: boolean) => void;
|
|
12
|
+
optionalMessageText: string;
|
|
13
|
+
setOptionalMessageText: (text: string) => void;
|
|
14
|
+
fileVariableNameSelectorProps: SelectProps;
|
|
15
|
+
skipButtonLabel: string;
|
|
16
|
+
setSkipButtonLabel: (label: string) => void;
|
|
17
|
+
skipButtonLabelMaxLength?: number;
|
|
18
|
+
skipButtonSelectorProps: AiDropdownProps;
|
|
19
|
+
} & BlockProps;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react';
|
|
2
|
+
import { UploadBlock } from './upload-block';
|
|
3
|
+
import { UploadBlockProps } from './types';
|
|
4
|
+
|
|
5
|
+
declare const _default: import('@storybook/csf').ComponentAnnotations<import('@storybook/react/dist/types-a5624094').R, Omit<UploadBlockProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type Story = StoryObj<typeof UploadBlock>;
|
|
8
|
+
export declare const Template: Story;
|
|
@@ -17,10 +17,10 @@ export type DocumentDropdownTriggerProps = {
|
|
|
17
17
|
};
|
|
18
18
|
export type DocumentDropdownContentProps = {
|
|
19
19
|
documentTags: DocumentDropDownItem[];
|
|
20
|
-
selectedTags: string[];
|
|
20
|
+
selectedTags: string[] | string;
|
|
21
21
|
variables: DocumentDropDownItem[];
|
|
22
|
-
selectedVariables: string[];
|
|
23
|
-
onConfirmSelection: (tags: string[], variables: string[]) => void;
|
|
22
|
+
selectedVariables: string[] | string;
|
|
23
|
+
onConfirmSelection: (tags: string[] | string, variables: string[] | string) => void;
|
|
24
24
|
variablesContainer?: ReactElement;
|
|
25
25
|
searchProps?: InputTextFieldProps;
|
|
26
26
|
closeDelay?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export { BuilderBlockToolbar, BuilderBlockToolbarContext } from './components/bu
|
|
|
25
25
|
export type { ToolbarSection, BuilderBlockToolbarProps, DraggedToolbarBlock, BlockNames, Blocks, ToolbarBlocks, } from './components/builder-block-toolbar';
|
|
26
26
|
export { Button } from './components/button';
|
|
27
27
|
export type { ButtonProps } from './components/button';
|
|
28
|
+
export { AtomQuickRepliesInput } from './components/atom-quick-replies-input';
|
|
29
|
+
export type { AtomQuickRepliesInputProps } from './components/atom-quick-replies-input';
|
|
28
30
|
export { Caption } from './components/caption';
|
|
29
31
|
export type { CaptionProps } from './components/caption';
|
|
30
32
|
export { ChatRoot, ChatContainer, ChatTrigger, ChatHeader, ChatContent } from './components/ai-chat';
|
|
@@ -50,6 +52,8 @@ export { Modal, ModalContent, ModalTrigger } from './components/modal';
|
|
|
50
52
|
export type { ModalContentProps } from './components/modal';
|
|
51
53
|
export { MailBlock } from './components/blocks/mail-block';
|
|
52
54
|
export type { MailBlockProps } from './components/blocks/mail-block';
|
|
55
|
+
export { UploadBlock } from './components/blocks/upload-block';
|
|
56
|
+
export type { UploadBlockProps } from './components/blocks/upload-block';
|
|
53
57
|
export { MultipleValues } from './components/input/multiple-values';
|
|
54
58
|
export type { MultipleValuesProps } from './components/input/multiple-values';
|
|
55
59
|
export { NotesBlock } from './components/blocks/notes-block';
|