@appquality/unguess-design-system 3.1.91-beta-attachments → 3.1.91-highlight

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 (164) hide show
  1. package/CHANGELOG.md +481 -0
  2. package/build/index.d.ts +12 -10
  3. package/build/index.js +1980 -1022
  4. package/build/stories/accordions/index.stories.d.ts +5 -5
  5. package/build/stories/alerts/index.d.ts +9 -7
  6. package/build/stories/alerts/index.stories.d.ts +2 -2
  7. package/build/stories/avatar/InternalAvatar.d.ts +2 -0
  8. package/build/stories/avatar/index.stories.d.ts +4 -4
  9. package/build/stories/breadcrumbs/index.stories.d.ts +2 -2
  10. package/build/stories/buttons/anchor/index.stories.d.ts +4 -4
  11. package/build/stories/buttons/button/index.d.ts +11 -9
  12. package/build/stories/buttons/button/index.stories.d.ts +6 -6
  13. package/build/stories/buttons/button-group/index.stories.d.ts +4 -4
  14. package/build/stories/buttons/icon-button/index.stories.d.ts +5 -5
  15. package/build/stories/buttons/split-button/index.stories.d.ts +2 -2
  16. package/build/stories/buttons/utils.d.ts +96 -90
  17. package/build/stories/campaign-cards/index.stories.d.ts +3 -3
  18. package/build/stories/cards/container.stories.d.ts +2 -2
  19. package/build/stories/cards/index.stories.d.ts +3 -3
  20. package/build/stories/charts/bar/index.stories.d.ts +3 -3
  21. package/build/stories/charts/bullet/index.stories.d.ts +3 -3
  22. package/build/stories/charts/halfPie/index.stories.d.ts +2 -2
  23. package/build/stories/charts/pie/index.stories.d.ts +4 -4
  24. package/build/stories/charts/sentiment/index.stories.d.ts +3 -3
  25. package/build/stories/charts/sunburst/index.stories.d.ts +3 -3
  26. package/build/stories/charts/waffle/index.stories.d.ts +3 -3
  27. package/build/stories/chat/_types.d.ts +7 -4
  28. package/build/stories/chat/context/chatContext.d.ts +8 -6
  29. package/build/stories/chat/hooks/useMedia.d.ts +8 -0
  30. package/build/stories/chat/index.d.ts +6 -4
  31. package/build/stories/chat/index.stories.d.ts +9 -10
  32. package/build/stories/chat/parts/MediaLightbox.d.ts +14 -0
  33. package/build/stories/chat/parts/ThumbnailContainer/Thumbnail.d.ts +11 -0
  34. package/build/stories/chat/parts/ThumbnailContainer/index.d.ts +1 -8
  35. package/build/stories/chat/parts/comment.d.ts +2 -7
  36. package/build/stories/chat/parts/containers.d.ts +11 -7
  37. package/build/stories/chat/parts/header.d.ts +6 -4
  38. package/build/stories/color-swatch/index.stories.d.ts +3 -3
  39. package/build/stories/drawers/index.stories.d.ts +2 -2
  40. package/build/stories/dropdowns/autocomplete/index.stories.d.ts +3 -3
  41. package/build/stories/dropdowns/countermultiselect/index.stories.d.ts +2 -2
  42. package/build/stories/dropdowns/field/index.d.ts +8 -6
  43. package/build/stories/dropdowns/menu/index.stories.d.ts +3 -3
  44. package/build/stories/dropdowns/select/index.d.ts +6 -4
  45. package/build/stories/dropdowns/select/index.stories.d.ts +3 -3
  46. package/build/stories/editor/index.stories.d.ts +6 -6
  47. package/build/stories/editorWithHighlight/_data.d.ts +17 -0
  48. package/build/stories/editorWithHighlight/floatingMenu.d.ts +5 -0
  49. package/build/stories/editorWithHighlight/index.d.ts +32 -0
  50. package/build/stories/editorWithHighlight/index.stories.d.ts +7 -0
  51. package/build/stories/editorWithHighlight/nodes/active.d.ts +4 -0
  52. package/build/stories/editorWithHighlight/nodes/observation/Component.d.ts +6 -0
  53. package/build/stories/editorWithHighlight/nodes/observation/index.d.ts +2 -0
  54. package/build/stories/editorWithHighlight/nodes/paragraph/Component.d.ts +6 -0
  55. package/build/stories/editorWithHighlight/nodes/paragraph/index.d.ts +2 -0
  56. package/build/stories/editorWithHighlight/nodes/word.d.ts +2 -0
  57. package/build/stories/editorWithHighlight/search.d.ts +8 -0
  58. package/build/stories/editorWithHighlight/useEditor.d.ts +14 -0
  59. package/build/stories/forms/checkbox/cards/index.stories.d.ts +3 -3
  60. package/build/stories/forms/checkbox/index.stories.d.ts +2 -2
  61. package/build/stories/forms/input/index.d.ts +10 -8
  62. package/build/stories/forms/input/index.stories.d.ts +5 -5
  63. package/build/stories/forms/input-toggle/index.d.ts +6 -4
  64. package/build/stories/forms/input-toggle/index.stories.d.ts +6 -6
  65. package/build/stories/forms/mediaInput/index.stories.d.ts +5 -5
  66. package/build/stories/forms/radio/cards/index.stories.d.ts +3 -3
  67. package/build/stories/forms/radio/index.stories.d.ts +3 -3
  68. package/build/stories/forms/textarea/index.stories.d.ts +4 -4
  69. package/build/stories/forms/toggle/index.stories.d.ts +2 -2
  70. package/build/stories/grid/col/index.stories.d.ts +4 -4
  71. package/build/stories/grid/grid/index.stories.d.ts +4 -4
  72. package/build/stories/grid/row/index.stories.d.ts +2 -2
  73. package/build/stories/highlight/CreateObservationButton.d.ts +19 -0
  74. package/build/stories/highlight/_types.d.ts +39 -0
  75. package/build/stories/highlight/demo-parts/data.d.ts +55 -0
  76. package/build/stories/highlight/demo-parts/sentiment-tag.d.ts +7 -0
  77. package/build/stories/highlight/demo-parts/transcript-base.d.ts +5 -0
  78. package/build/stories/highlight/demo-parts/transcript-diarization.d.ts +5 -0
  79. package/build/stories/highlight/demo-parts/transcript-paragraph.d.ts +5 -0
  80. package/build/stories/highlight/demo-parts/transcript-sentiment.d.ts +5 -0
  81. package/build/stories/highlight/highlightContext.d.ts +10 -0
  82. package/build/stories/highlight/index.d.ts +10 -0
  83. package/build/stories/highlight/index.stories.d.ts +18 -0
  84. package/build/stories/highlight/searchable.d.ts +3 -0
  85. package/build/stories/icons/index.stories.d.ts +2 -2
  86. package/build/stories/info-cards/index.stories.d.ts +3 -3
  87. package/build/stories/label/index.d.ts +9 -7
  88. package/build/stories/label/index.stories.d.ts +3 -3
  89. package/build/stories/lightbox/index.stories.d.ts +2 -2
  90. package/build/stories/lightbox/parts/body.d.ts +18 -12
  91. package/build/stories/lightbox/parts/footer.d.ts +7 -5
  92. package/build/stories/loaders/dots/index.stories.d.ts +2 -2
  93. package/build/stories/loaders/progress/index.stories.d.ts +2 -2
  94. package/build/stories/loaders/skeleton/index.stories.d.ts +3 -3
  95. package/build/stories/loaders/spinner/index.stories.d.ts +2 -2
  96. package/build/stories/login-form/index.stories.d.ts +3 -3
  97. package/build/stories/logo/index.stories.d.ts +2 -2
  98. package/build/stories/modals/fullscreen/index.d.ts +40 -32
  99. package/build/stories/modals/fullscreen/index.stories.d.ts +2 -2
  100. package/build/stories/modals/index.d.ts +8 -6
  101. package/build/stories/modals/index.stories.d.ts +5 -5
  102. package/build/stories/multiselect/index.stories.d.ts +3 -3
  103. package/build/stories/navigation/app-header/index.stories.d.ts +3 -3
  104. package/build/stories/navigation/header/header-item/brandItem.d.ts +9 -7
  105. package/build/stories/navigation/nav/nav-item/accordionItem.d.ts +3 -1
  106. package/build/stories/navigation/page-header/index.d.ts +38 -26
  107. package/build/stories/navigation/page-header/index.stories.d.ts +5 -5
  108. package/build/stories/navigation/page-header/styled/main.d.ts +40 -28
  109. package/build/stories/notifications/index.stories.d.ts +3 -3
  110. package/build/stories/pagination/index.stories.d.ts +3 -3
  111. package/build/stories/player/_types.d.ts +38 -1
  112. package/build/stories/player/context/progressContext.d.ts +16 -0
  113. package/build/stories/player/hooks/usePictureInPicture.d.ts +4 -0
  114. package/build/stories/player/index.d.ts +7 -2
  115. package/build/stories/player/index.stories.d.ts +7 -5
  116. package/build/stories/player/parts/CutStart.d.ts +4 -0
  117. package/build/stories/player/parts/bookmark.d.ts +2 -0
  118. package/build/stories/player/parts/controlButton.d.ts +291 -0
  119. package/build/stories/player/parts/controls.d.ts +14 -6
  120. package/build/stories/player/parts/controlsCenterGroup.d.ts +2 -1
  121. package/build/stories/player/parts/cutterButton.d.ts +6 -0
  122. package/build/stories/player/parts/floatingControls.d.ts +1 -0
  123. package/build/stories/player/parts/progress.d.ts +11 -0
  124. package/build/stories/player/parts/timeLabel.d.ts +2 -2
  125. package/build/stories/product-cards/index.stories.d.ts +3 -3
  126. package/build/stories/profile-modal/components/menuItem.d.ts +6 -4
  127. package/build/stories/profile-modal/index.stories.d.ts +2 -2
  128. package/build/stories/service-cards/index.stories.d.ts +3 -3
  129. package/build/stories/slider/index.stories.d.ts +3 -3
  130. package/build/stories/slider/parts/container.d.ts +6 -4
  131. package/build/stories/special-cards/index.d.ts +42 -30
  132. package/build/stories/special-cards/index.stories.d.ts +2 -2
  133. package/build/stories/special-cards/styled/header.d.ts +33 -21
  134. package/build/stories/stepper/index.d.ts +27 -21
  135. package/build/stories/stepper/index.stories.d.ts +3 -3
  136. package/build/stories/table/index.stories.d.ts +11 -11
  137. package/build/stories/tabs/index.stories.d.ts +3 -3
  138. package/build/stories/tags/index.d.ts +24 -20
  139. package/build/stories/tags/index.stories.d.ts +6 -6
  140. package/build/stories/theme/palette.stories.d.ts +1 -1
  141. package/build/stories/tiles/index.stories.d.ts +4 -4
  142. package/build/stories/timeline/index.d.ts +11 -7
  143. package/build/stories/timeline/index.stories.d.ts +4 -4
  144. package/build/stories/title/index.stories.d.ts +2 -2
  145. package/build/stories/tooltip/_types.d.ts +1 -0
  146. package/build/stories/tooltip/index.d.ts +8 -5
  147. package/build/stories/tooltip/index.stories.d.ts +3 -2
  148. package/build/stories/tooltip-modal/index.stories.d.ts +2 -2
  149. package/build/stories/typography/block-quote/index.stories.d.ts +2 -2
  150. package/build/stories/typography/code/index.stories.d.ts +4 -4
  151. package/build/stories/typography/ellipsis/index.stories.d.ts +2 -2
  152. package/build/stories/typography/lists/ordered.stories.d.ts +2 -2
  153. package/build/stories/typography/lists/unordered.stories.d.ts +2 -2
  154. package/build/stories/typography/paragraph/index.stories.d.ts +2 -2
  155. package/build/stories/typography/span/index.stories.d.ts +2 -2
  156. package/build/stories/typography/typescale/anchortag/index.stories.d.ts +2 -2
  157. package/build/stories/typography/typescale/index.d.ts +26 -12
  158. package/build/stories/typography/typescale/index.stories.d.ts +2 -2
  159. package/package.json +20 -13
  160. package/yarn-error.log +13975 -0
  161. package/.vscode/settings.json +0 -3
  162. package/build/stories/chat/parts/ThumbnailContainer/ImageThumbnail.d.ts +0 -11
  163. package/build/stories/chat/parts/ThumbnailContainer/VideoThumbnail.d.ts +0 -11
  164. /package/build/stories/player/{parts/utils.d.ts → utils.d.ts} +0 -0
@@ -25,7 +25,7 @@ declare const Chat: {
25
25
  accessKey?: string | undefined;
26
26
  autoFocus?: boolean | undefined;
27
27
  className?: string | undefined;
28
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
28
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
29
29
  contextMenu?: string | undefined;
30
30
  dir?: string | undefined;
31
31
  draggable?: (boolean | "true" | "false") | undefined;
@@ -33,7 +33,6 @@ declare const Chat: {
33
33
  id?: string | undefined;
34
34
  lang?: string | undefined;
35
35
  nonce?: string | undefined;
36
- placeholder?: string | undefined;
37
36
  slot?: string | undefined;
38
37
  spellCheck?: (boolean | "true" | "false") | undefined;
39
38
  style?: import("react").CSSProperties | undefined;
@@ -70,14 +69,18 @@ declare const Chat: {
70
69
  "aria-activedescendant"?: string | undefined;
71
70
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
72
71
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
72
+ "aria-braillelabel"?: string | undefined;
73
+ "aria-brailleroledescription"?: string | undefined;
73
74
  "aria-busy"?: (boolean | "true" | "false") | undefined;
74
75
  "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
75
76
  "aria-colcount"?: number | undefined;
76
77
  "aria-colindex"?: number | undefined;
78
+ "aria-colindextext"?: string | undefined;
77
79
  "aria-colspan"?: number | undefined;
78
80
  "aria-controls"?: string | undefined;
79
81
  "aria-current"?: boolean | "time" | "date" | "step" | "true" | "false" | "page" | "location" | undefined;
80
82
  "aria-describedby"?: string | undefined;
83
+ "aria-description"?: string | undefined;
81
84
  "aria-details"?: string | undefined;
82
85
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
83
86
  "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -107,6 +110,7 @@ declare const Chat: {
107
110
  "aria-roledescription"?: string | undefined;
108
111
  "aria-rowcount"?: number | undefined;
109
112
  "aria-rowindex"?: number | undefined;
113
+ "aria-rowindextext"?: string | undefined;
110
114
  "aria-rowspan"?: number | undefined;
111
115
  "aria-selected"?: (boolean | "true" | "false") | undefined;
112
116
  "aria-setsize"?: number | undefined;
@@ -258,9 +262,7 @@ declare const Chat: {
258
262
  onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
259
263
  onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
260
264
  onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
261
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
262
265
  onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
263
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
264
266
  onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
265
267
  onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
266
268
  onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
@@ -1,7 +1,6 @@
1
1
  import { PlaceholderOptions } from "@tiptap/extension-placeholder";
2
2
  import { Editor as TipTapEditor } from "@tiptap/react";
3
- import { ChatEditorArgs, SuggestedUser } from "./_types";
4
- import { MediaType } from "./parts/comment";
3
+ import { ChatEditorArgs, CommentMedia, SuggestedUser } from "./_types";
5
4
  import { Data } from "./context/chatContext";
6
5
  interface EditorStoryArgs extends ChatEditorArgs {
7
6
  children?: any;
@@ -13,20 +12,20 @@ interface EditorStoryArgs extends ChatEditorArgs {
13
12
  };
14
13
  message: string;
15
14
  date: string;
16
- media?: MediaType[];
15
+ media?: CommentMedia[];
17
16
  }[];
18
17
  editorText?: string;
19
18
  background?: string;
20
19
  onSave: (editor: TipTapEditor, mentions: SuggestedUser[]) => void;
21
- onFileUpload?: (files: File[]) => Promise<Data>;
20
+ onFileUpload?: (files: (File & CommentMedia)[]) => Promise<Data>;
22
21
  placeholderOptions?: Partial<PlaceholderOptions>;
23
22
  }
24
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
25
- export declare const Placeholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
26
- export declare const Menus: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
27
- export declare const WithInternals: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
28
- export declare const CustomBackground: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
29
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./_types").ChatArgs & {
23
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
24
+ export declare const Placeholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
25
+ export declare const Menus: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
26
+ export declare const WithInternals: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
27
+ export declare const CustomBackground: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
28
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./_types").ChatArgs & {
30
29
  children?: import("react").ReactNode;
31
30
  }>;
32
31
  export default _default;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { CommentMedia } from "../_types";
3
+ interface MediaLightBoxProps {
4
+ isOpen: boolean;
5
+ header: React.ReactNode;
6
+ onClose: () => void;
7
+ slideChange: (index: number) => void;
8
+ selectedImageIndex: number;
9
+ thumbnails: CommentMedia[];
10
+ videoRefs: React.MutableRefObject<Array<HTMLVideoElement | null>>;
11
+ details?: React.ReactNode;
12
+ }
13
+ declare const MediaLightBox: ({ header, onClose, slideChange, selectedImageIndex, thumbnails, videoRefs, isOpen, details }: MediaLightBoxProps) => import("react/jsx-runtime").JSX.Element | null;
14
+ export default MediaLightBox;
@@ -0,0 +1,11 @@
1
+ interface Props {
2
+ src?: string;
3
+ type: string;
4
+ clickThumbnail?: () => void;
5
+ isLoadingMedia?: boolean;
6
+ removeThumbnail?: () => void;
7
+ showX?: boolean;
8
+ error?: string;
9
+ }
10
+ declare const Thumbnail: ({ src, type, removeThumbnail, clickThumbnail, showX, isLoadingMedia, error, }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export default Thumbnail;
@@ -1,12 +1,5 @@
1
- export interface FileElement {
2
- fileName: string;
3
- fileType: string;
4
- status: "success" | "failed" | "uploading";
5
- errorCode?: "FILE_TOO_BIG" | "INVALID_FILE_EXTENSION" | "GENERIC_ERROR";
6
- previewUrl: string;
7
- }
8
1
  interface Props {
9
- openLightbox: (file: File, index: number) => void;
2
+ openLightbox: (index: number) => void;
10
3
  }
11
4
  declare const ThumbnailContainer: ({ openLightbox }: Props) => import("react/jsx-runtime").JSX.Element | null;
12
5
  export default ThumbnailContainer;
@@ -1,15 +1,10 @@
1
1
  import { PropsWithChildren } from "react";
2
- import { Author } from "../_types";
3
- export type MediaType = {
4
- url: string;
5
- id: number;
6
- type: "image" | "video";
7
- };
2
+ import { Author, CommentMedia } from "../_types";
8
3
  export declare const Comment: ({ author, message, children, date, media, header, }: PropsWithChildren<{
9
4
  author: Author;
10
5
  message: string;
11
6
  date: string;
12
- media?: MediaType[] | undefined;
7
+ media?: CommentMedia[] | undefined;
13
8
  header: {
14
9
  title: string;
15
10
  message?: string | undefined;
@@ -10,7 +10,7 @@ export declare const ChatContainer: import("styled-components").IStyledComponent
10
10
  accessKey?: string | undefined;
11
11
  autoFocus?: boolean | undefined;
12
12
  className?: string | undefined;
13
- contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
13
+ contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
14
14
  contextMenu?: string | undefined;
15
15
  dir?: string | undefined;
16
16
  draggable?: (boolean | "false" | "true") | undefined;
@@ -18,7 +18,6 @@ export declare const ChatContainer: import("styled-components").IStyledComponent
18
18
  id?: string | undefined;
19
19
  lang?: string | undefined;
20
20
  nonce?: string | undefined;
21
- placeholder?: string | undefined;
22
21
  slot?: string | undefined;
23
22
  spellCheck?: (boolean | "false" | "true") | undefined;
24
23
  style?: import("react").CSSProperties | undefined;
@@ -55,14 +54,18 @@ export declare const ChatContainer: import("styled-components").IStyledComponent
55
54
  "aria-activedescendant"?: string | undefined;
56
55
  "aria-atomic"?: (boolean | "false" | "true") | undefined;
57
56
  "aria-autocomplete"?: "none" | "both" | "inline" | "list" | undefined;
57
+ "aria-braillelabel"?: string | undefined;
58
+ "aria-brailleroledescription"?: string | undefined;
58
59
  "aria-busy"?: (boolean | "false" | "true") | undefined;
59
60
  "aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
60
61
  "aria-colcount"?: number | undefined;
61
62
  "aria-colindex"?: number | undefined;
63
+ "aria-colindextext"?: string | undefined;
62
64
  "aria-colspan"?: number | undefined;
63
65
  "aria-controls"?: string | undefined;
64
66
  "aria-current"?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
65
67
  "aria-describedby"?: string | undefined;
68
+ "aria-description"?: string | undefined;
66
69
  "aria-details"?: string | undefined;
67
70
  "aria-disabled"?: (boolean | "false" | "true") | undefined;
68
71
  "aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
@@ -92,6 +95,7 @@ export declare const ChatContainer: import("styled-components").IStyledComponent
92
95
  "aria-roledescription"?: string | undefined;
93
96
  "aria-rowcount"?: number | undefined;
94
97
  "aria-rowindex"?: number | undefined;
98
+ "aria-rowindextext"?: string | undefined;
95
99
  "aria-rowspan"?: number | undefined;
96
100
  "aria-selected"?: (boolean | "false" | "true") | undefined;
97
101
  "aria-setsize"?: number | undefined;
@@ -243,9 +247,7 @@ export declare const ChatContainer: import("styled-components").IStyledComponent
243
247
  onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
244
248
  onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
245
249
  onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
246
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
247
250
  onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
248
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
249
251
  onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
250
252
  onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
251
253
  onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
@@ -268,15 +270,17 @@ export declare const ChatContainer: import("styled-components").IStyledComponent
268
270
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
269
271
  }> & ((props: import("../../cards/_types").CardProps) => import("react/jsx-runtime").JSX.Element);
270
272
  export declare const MessagesContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ChatArgs>>;
271
- export declare const EditorContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("@zendeskgarden/react-forms").IFauxInputProps & import("react").RefAttributes<HTMLDivElement>, {
273
+ export declare const EditorContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<Omit<import("@zendeskgarden/react-forms").IFauxInputProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
274
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
275
+ }, {
272
276
  editable: boolean;
273
277
  }>> & import("react").ForwardRefExoticComponent<import("@zendeskgarden/react-forms").IFauxInputProps & import("react").RefAttributes<HTMLDivElement>> & {
274
278
  EndIcon: {
275
- (props: import("@zendeskgarden/react-forms").IFauxInputStartIconProps): JSX.Element;
279
+ (props: import("@zendeskgarden/react-forms").IFauxInputStartIconProps): import("react").JSX.Element;
276
280
  displayName: string;
277
281
  };
278
282
  StartIcon: {
279
- (props: import("@zendeskgarden/react-forms").IFauxInputStartIconProps): JSX.Element;
283
+ (props: import("@zendeskgarden/react-forms").IFauxInputStartIconProps): import("react").JSX.Element;
280
284
  displayName: string;
281
285
  };
282
286
  };
@@ -8,7 +8,7 @@ export declare const ChatTitle: import("styled-components").IStyledComponent<"we
8
8
  accessKey?: string | undefined;
9
9
  autoFocus?: boolean | undefined;
10
10
  className?: string | undefined;
11
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
11
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
12
12
  contextMenu?: string | undefined;
13
13
  dir?: string | undefined;
14
14
  draggable?: (boolean | "true" | "false") | undefined;
@@ -16,7 +16,6 @@ export declare const ChatTitle: import("styled-components").IStyledComponent<"we
16
16
  id?: string | undefined;
17
17
  lang?: string | undefined;
18
18
  nonce?: string | undefined;
19
- placeholder?: string | undefined;
20
19
  slot?: string | undefined;
21
20
  spellCheck?: (boolean | "true" | "false") | undefined;
22
21
  style?: import("react").CSSProperties | undefined;
@@ -53,14 +52,18 @@ export declare const ChatTitle: import("styled-components").IStyledComponent<"we
53
52
  "aria-activedescendant"?: string | undefined;
54
53
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
55
54
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
55
+ "aria-braillelabel"?: string | undefined;
56
+ "aria-brailleroledescription"?: string | undefined;
56
57
  "aria-busy"?: (boolean | "true" | "false") | undefined;
57
58
  "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
58
59
  "aria-colcount"?: number | undefined;
59
60
  "aria-colindex"?: number | undefined;
61
+ "aria-colindextext"?: string | undefined;
60
62
  "aria-colspan"?: number | undefined;
61
63
  "aria-controls"?: string | undefined;
62
64
  "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
63
65
  "aria-describedby"?: string | undefined;
66
+ "aria-description"?: string | undefined;
64
67
  "aria-details"?: string | undefined;
65
68
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
66
69
  "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -90,6 +93,7 @@ export declare const ChatTitle: import("styled-components").IStyledComponent<"we
90
93
  "aria-roledescription"?: string | undefined;
91
94
  "aria-rowcount"?: number | undefined;
92
95
  "aria-rowindex"?: number | undefined;
96
+ "aria-rowindextext"?: string | undefined;
93
97
  "aria-rowspan"?: number | undefined;
94
98
  "aria-selected"?: (boolean | "true" | "false") | undefined;
95
99
  "aria-setsize"?: number | undefined;
@@ -241,9 +245,7 @@ export declare const ChatTitle: import("styled-components").IStyledComponent<"we
241
245
  onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
242
246
  onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
243
247
  onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
244
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
245
248
  onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
246
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
247
249
  onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
248
250
  onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
249
251
  onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ColorSwatchProps } from "./_types";
2
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ColorSwatchProps>;
3
- export declare const WithoutLabels: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ColorSwatchProps>;
4
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ColorSwatchProps>;
2
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, ColorSwatchProps>;
3
+ export declare const WithoutLabels: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, ColorSwatchProps>;
4
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, ColorSwatchProps>;
5
5
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { DrawerArgs } from "./_types";
2
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, DrawerArgs>;
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, DrawerArgs>;
2
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, DrawerArgs>;
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, DrawerArgs>;
4
4
  export default _default;
@@ -2,7 +2,7 @@ import { AutocompleteArgs } from "./_types";
2
2
  interface AutocompleteStoryArgs extends AutocompleteArgs {
3
3
  allowNew?: boolean;
4
4
  }
5
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AutocompleteStoryArgs>;
6
- export declare const WithMedia: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AutocompleteStoryArgs>;
7
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, AutocompleteArgs>;
5
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, AutocompleteStoryArgs>;
6
+ export declare const WithMedia: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, AutocompleteStoryArgs>;
7
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, AutocompleteArgs>;
8
8
  export default _default;
@@ -1,4 +1,4 @@
1
1
  import { CounterMultiselectArgs } from "./_types";
2
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CounterMultiselectArgs>;
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, CounterMultiselectArgs>;
2
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, CounterMultiselectArgs>;
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, CounterMultiselectArgs>;
4
4
  export default _default;
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  declare const Field: import("styled-components").IStyledComponent<"web", {
3
+ style?: import("react").CSSProperties | undefined;
3
4
  defaultChecked?: boolean | undefined;
4
5
  defaultValue?: string | number | readonly string[] | undefined;
5
6
  suppressContentEditableWarning?: boolean | undefined;
@@ -7,7 +8,7 @@ declare const Field: import("styled-components").IStyledComponent<"web", {
7
8
  accessKey?: string | undefined;
8
9
  autoFocus?: boolean | undefined;
9
10
  className?: string | undefined;
10
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
11
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
11
12
  contextMenu?: string | undefined;
12
13
  dir?: string | undefined;
13
14
  draggable?: (boolean | "true" | "false") | undefined;
@@ -15,10 +16,8 @@ declare const Field: import("styled-components").IStyledComponent<"web", {
15
16
  id?: string | undefined;
16
17
  lang?: string | undefined;
17
18
  nonce?: string | undefined;
18
- placeholder?: string | undefined;
19
19
  slot?: string | undefined;
20
20
  spellCheck?: (boolean | "true" | "false") | undefined;
21
- style?: import("react").CSSProperties | undefined;
22
21
  tabIndex?: number | undefined;
23
22
  title?: string | undefined;
24
23
  translate?: "yes" | "no" | undefined;
@@ -52,14 +51,18 @@ declare const Field: import("styled-components").IStyledComponent<"web", {
52
51
  "aria-activedescendant"?: string | undefined;
53
52
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
54
53
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
54
+ "aria-braillelabel"?: string | undefined;
55
+ "aria-brailleroledescription"?: string | undefined;
55
56
  "aria-busy"?: (boolean | "true" | "false") | undefined;
56
57
  "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
57
58
  "aria-colcount"?: number | undefined;
58
59
  "aria-colindex"?: number | undefined;
60
+ "aria-colindextext"?: string | undefined;
59
61
  "aria-colspan"?: number | undefined;
60
62
  "aria-controls"?: string | undefined;
61
63
  "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
62
64
  "aria-describedby"?: string | undefined;
65
+ "aria-description"?: string | undefined;
63
66
  "aria-details"?: string | undefined;
64
67
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
65
68
  "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -89,6 +92,7 @@ declare const Field: import("styled-components").IStyledComponent<"web", {
89
92
  "aria-roledescription"?: string | undefined;
90
93
  "aria-rowcount"?: number | undefined;
91
94
  "aria-rowindex"?: number | undefined;
95
+ "aria-rowindextext"?: string | undefined;
92
96
  "aria-rowspan"?: number | undefined;
93
97
  "aria-selected"?: (boolean | "true" | "false") | undefined;
94
98
  "aria-setsize"?: number | undefined;
@@ -240,9 +244,7 @@ declare const Field: import("styled-components").IStyledComponent<"web", {
240
244
  onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
241
245
  onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
242
246
  onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
243
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
244
247
  onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
245
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
246
248
  onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
247
249
  onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
248
250
  onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
@@ -263,7 +265,7 @@ declare const Field: import("styled-components").IStyledComponent<"web", {
263
265
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
264
266
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
265
267
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
266
- ref?: import("react").Ref<HTMLDivElement> | undefined;
267
268
  key?: import("react").Key | null | undefined;
269
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
268
270
  }> & import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
269
271
  export { Field };
@@ -1,4 +1,4 @@
1
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
2
- export declare const Nested: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, any>;
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./_types").MenuArgs>;
1
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, any>;
2
+ export declare const Nested: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, any>;
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("./_types").MenuArgs>;
4
4
  export default _default;
@@ -23,7 +23,7 @@ declare const Dropdown: {
23
23
  accessKey?: string | undefined;
24
24
  autoFocus?: boolean | undefined;
25
25
  className?: string | undefined;
26
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
26
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
27
27
  contextMenu?: string | undefined;
28
28
  dir?: string | undefined;
29
29
  draggable?: (boolean | "true" | "false") | undefined;
@@ -31,7 +31,6 @@ declare const Dropdown: {
31
31
  id?: string | undefined;
32
32
  lang?: string | undefined;
33
33
  nonce?: string | undefined;
34
- placeholder?: string | undefined;
35
34
  slot?: string | undefined;
36
35
  spellCheck?: (boolean | "true" | "false") | undefined;
37
36
  style?: import("react").CSSProperties | undefined;
@@ -68,14 +67,18 @@ declare const Dropdown: {
68
67
  "aria-activedescendant"?: string | undefined;
69
68
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
70
69
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
70
+ "aria-braillelabel"?: string | undefined;
71
+ "aria-brailleroledescription"?: string | undefined;
71
72
  "aria-busy"?: (boolean | "true" | "false") | undefined;
72
73
  "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
73
74
  "aria-colcount"?: number | undefined;
74
75
  "aria-colindex"?: number | undefined;
76
+ "aria-colindextext"?: string | undefined;
75
77
  "aria-colspan"?: number | undefined;
76
78
  "aria-controls"?: string | undefined;
77
79
  "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
78
80
  "aria-describedby"?: string | undefined;
81
+ "aria-description"?: string | undefined;
79
82
  "aria-details"?: string | undefined;
80
83
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
81
84
  "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
@@ -105,6 +108,7 @@ declare const Dropdown: {
105
108
  "aria-roledescription"?: string | undefined;
106
109
  "aria-rowcount"?: number | undefined;
107
110
  "aria-rowindex"?: number | undefined;
111
+ "aria-rowindextext"?: string | undefined;
108
112
  "aria-rowspan"?: number | undefined;
109
113
  "aria-selected"?: (boolean | "true" | "false") | undefined;
110
114
  "aria-setsize"?: number | undefined;
@@ -256,9 +260,7 @@ declare const Dropdown: {
256
260
  onPointerCancel?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
257
261
  onPointerCancelCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
258
262
  onPointerEnter?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
259
- onPointerEnterCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
260
263
  onPointerLeave?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
261
- onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
262
264
  onPointerOver?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
263
265
  onPointerOverCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
264
266
  onPointerOut?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
@@ -12,9 +12,9 @@ interface MenuStoryArgs {
12
12
  validation?: "success" | "warning" | "error";
13
13
  hasHelpText?: boolean;
14
14
  }
15
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, MenuStoryArgs>;
16
- export declare const Validation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, MenuStoryArgs>;
17
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, DropdownArgs & {
15
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, MenuStoryArgs>;
16
+ export declare const Validation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, MenuStoryArgs>;
17
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, DropdownArgs & {
18
18
  children?: import("react").ReactNode;
19
19
  }>;
20
20
  export default _default;
@@ -2,12 +2,12 @@ import { EditorArgs } from "./_types";
2
2
  interface EditorStoryArgs extends EditorArgs {
3
3
  children?: any;
4
4
  }
5
- export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
6
- export declare const Placeholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
7
- export declare const BubbleMenu: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
8
- export declare const ReadOnly: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
9
- export declare const Validation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
10
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, EditorArgs & {
5
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
6
+ export declare const Placeholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
7
+ export declare const BubbleMenu: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
8
+ export declare const ReadOnly: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
9
+ export declare const Validation: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, EditorStoryArgs>;
10
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, EditorArgs & {
11
11
  children?: import("react").ReactNode;
12
12
  }>;
13
13
  export default _default;
@@ -0,0 +1,17 @@
1
+ export declare const paragraphs: {
2
+ end: number;
3
+ text: string;
4
+ start: number;
5
+ words: {
6
+ end: number;
7
+ word: string;
8
+ start: number;
9
+ speaker: number;
10
+ }[];
11
+ speaker: number;
12
+ sentences: {
13
+ end: number;
14
+ text: string;
15
+ start: number;
16
+ }[];
17
+ }[];
@@ -0,0 +1,5 @@
1
+ import { Editor } from "@tiptap/react";
2
+ export declare const FloatingMenu: (props: {
3
+ editor: Editor;
4
+ onClick: (editor: Editor) => void;
5
+ }) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,32 @@
1
+ /// <reference types="react" />
2
+ import { Editor } from "@tiptap/react";
3
+ declare const EditorWithHighlight: {
4
+ ({ editor }: {
5
+ editor: Editor;
6
+ }): import("react/jsx-runtime").JSX.Element | null;
7
+ useEditor: ({ content, currentTime, onSetCurrentTime, }: {
8
+ content?: {
9
+ start: number;
10
+ end: number;
11
+ speaker: number;
12
+ words: {
13
+ start: number;
14
+ end: number;
15
+ word: string;
16
+ }[];
17
+ }[] | undefined;
18
+ currentTime?: number | undefined;
19
+ onSetCurrentTime?: ((time: number) => void) | undefined;
20
+ }, deps?: import("react").DependencyList | undefined) => Editor | null;
21
+ Search: {
22
+ ({ editor }: {
23
+ editor: Editor;
24
+ }): import("react/jsx-runtime").JSX.Element;
25
+ Style: import("styled-components").RuleSet<object>;
26
+ };
27
+ FloatingMenu: (props: {
28
+ editor: Editor;
29
+ onClick: (editor: Editor) => void;
30
+ }) => import("react/jsx-runtime").JSX.Element | null;
31
+ };
32
+ export { EditorWithHighlight };
@@ -0,0 +1,7 @@
1
+ type StoryArgs = {};
2
+ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, StoryArgs>;
3
+ export declare const Running: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, StoryArgs>;
4
+ export declare const FakeRunning: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, StoryArgs>;
5
+ export declare const WithSearch: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0fc72a6d").R, StoryArgs>;
6
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0fc72a6d").R, import("@storybook/types").Args>;
7
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Active: ({ onSetCurrentTime, }: {
3
+ onSetCurrentTime?: ((time: number) => void) | undefined;
4
+ }) => Node<any, any>;
@@ -0,0 +1,6 @@
1
+ import { Editor } from "@tiptap/react";
2
+ import { Node as PMNode } from "prosemirror-model";
3
+ export declare const Component: ({ node, editor, }: {
4
+ node: PMNode;
5
+ editor: Editor;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Observation: Node<any, any>;
@@ -0,0 +1,6 @@
1
+ import { Editor } from "@tiptap/react";
2
+ import { Node as PMNode } from "prosemirror-model";
3
+ export declare const Component: ({ node, editor, }: {
4
+ node: PMNode;
5
+ editor: Editor;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Paragraph: Node<any, any>;
@@ -0,0 +1,2 @@
1
+ import { Node } from "@tiptap/core";
2
+ export declare const Word: Node<any, any>;
@@ -0,0 +1,8 @@
1
+ import { Editor } from "@tiptap/react";
2
+ declare const Search: {
3
+ ({ editor }: {
4
+ editor: Editor;
5
+ }): import("react/jsx-runtime").JSX.Element;
6
+ Style: import("styled-components").RuleSet<object>;
7
+ };
8
+ export { Search };