@appquality/unguess-design-system 3.1.59 → 3.1.61

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/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ # v3.1.61 (Fri Dec 29 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Improve chat spacing and save behaviour [#288](https://github.com/AppQuality/unguess-design-system/pull/288) ([@cannarocks](https://github.com/cannarocks))
6
+ - Update-chat-spaces [#287](https://github.com/AppQuality/unguess-design-system/pull/287) ([@cannarocks](https://github.com/cannarocks))
7
+
8
+ #### Authors: 1
9
+
10
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
11
+
12
+ ---
13
+
14
+ # v3.1.60 (Fri Dec 29 2023)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - Improve chat comments readability [#286](https://github.com/AppQuality/unguess-design-system/pull/286) ([@iDome89](https://github.com/iDome89) [@cannarocks](https://github.com/cannarocks))
19
+ - Add date comments [#285](https://github.com/AppQuality/unguess-design-system/pull/285) ([@cannarocks](https://github.com/cannarocks) [@marcbon](https://github.com/marcbon) [@iDome89](https://github.com/iDome89))
20
+
21
+ #### Authors: 3
22
+
23
+ - [@iDome89](https://github.com/iDome89)
24
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
25
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
26
+
27
+ ---
28
+
1
29
  # v3.1.57 (Thu Dec 28 2023)
2
30
 
3
31
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -2302,19 +2302,20 @@ const useChatContext = () => {
2302
2302
  };
2303
2303
 
2304
2304
  const ChatContainer = styled__default["default"](Card) `
2305
- padding: ${({ theme }) => theme.space.md};
2305
+ padding: ${({ theme }) => `0 ${theme.space.base * 4}px`};
2306
2306
  &:hover {
2307
2307
  box-shadow: none;
2308
2308
  }
2309
2309
  cursor: default;
2310
2310
  `;
2311
2311
  const MessagesContainer = styled__default["default"].div `
2312
- padding: ${({ theme }) => theme.space.md};
2313
- margin: ${({ theme }) => `0 -${theme.space.md}`};
2312
+ padding: ${({ theme }) => `${theme.space.md} ${theme.space.sm}`};
2313
+ margin: ${({ theme }) => `0 -${theme.space.base * 4}px`};
2314
2314
  display: flex;
2315
2315
  flex-direction: column;
2316
- gap: ${({ theme }) => theme.space.sm};
2316
+ gap: ${({ theme }) => theme.space.xs};
2317
2317
  background: ${({ chatBkg }) => chatBkg !== null && chatBkg !== void 0 ? chatBkg : `#fff`};
2318
+ overflow-y: auto;
2318
2319
  `;
2319
2320
 
2320
2321
  /**
@@ -2325,7 +2326,7 @@ const Title$1 = (props) => jsxRuntime.jsx(reactNotifications.Title, Object.assig
2325
2326
  const ChatTitle = styled__default["default"](Title$1) `
2326
2327
  color: ${({ theme }) => theme.palette.blue[600]};
2327
2328
  margin: ${({ theme }) => `0 -${theme.space.md}`};
2328
- padding: ${({ theme }) => `0 ${theme.space.md} ${theme.space.sm}`};
2329
+ padding: ${({ theme }) => `${theme.space.sm} ${theme.space.md}`};
2329
2330
  border-bottom: ${({ theme }) => `1px solid ${theme.palette.grey[200]}`};
2330
2331
  `;
2331
2332
 
@@ -2746,13 +2747,13 @@ const FloatingMenu = (props) => {
2746
2747
  const ChatBoxContainer = styled__default["default"].div `
2747
2748
  display: flex;
2748
2749
  border-top: 1px solid ${({ theme }) => theme.palette.grey[200]};
2749
- margin: ${({ theme }) => `0 -${theme.space.md}`};
2750
- padding: ${({ theme }) => theme.space.md};
2750
+ margin: ${({ theme }) => `0 -${theme.space.base * 4}px`};
2751
+ padding: ${({ theme }) => `${theme.space.base * 4}px ${theme.space.sm} 0`};
2751
2752
  `;
2752
2753
  const EditorContainer$1 = styled__default["default"](reactForms.FauxInput) `
2753
2754
  margin-left: ${({ theme }) => theme.space.sm};
2755
+ padding: ${({ theme }) => `${theme.space.xxs} ${theme.space.xs}`};
2754
2756
  .ProseMirror {
2755
- padding: ${({ theme }) => `${theme.space.xxs} ${theme.space.xs}`};
2756
2757
  background-color: #fff;
2757
2758
  min-height: 36px;
2758
2759
  outline: none;
@@ -2778,10 +2779,11 @@ const CommentBox = (_a) => {
2778
2779
  var _b;
2779
2780
  var { placeholderOptions } = _a, props = __rest(_a, ["placeholderOptions"]);
2780
2781
  const { children, hasInlineMenu, bubbleOptions, author } = props;
2781
- const { setEditor, triggerSave } = useChatContext();
2782
+ const { editor, setEditor, triggerSave } = useChatContext();
2782
2783
  const onKeyDown = (event) => {
2783
2784
  if ((event.ctrlKey || event.metaKey) && event.key === "Enter") {
2784
2785
  triggerSave();
2786
+ editor === null || editor === void 0 ? void 0 : editor.commands.clearContent();
2785
2787
  }
2786
2788
  };
2787
2789
  const ed = react.useEditor(Object.assign({ extensions: [
@@ -2941,15 +2943,19 @@ const AuthorContainer = styled.styled.div `
2941
2943
  display: flex;
2942
2944
  gap: ${({ theme }) => theme.space.sm};
2943
2945
  `;
2946
+ const CommentDate = styled.styled.span `
2947
+ color: ${({ theme }) => theme.palette.grey[500]};
2948
+ font-weight: ${({ theme }) => theme.fontWeights.thin};
2949
+ `;
2944
2950
  const Footer$2 = styled.styled.div `
2945
2951
  display: flex;
2946
2952
  flex-direction: row;
2947
2953
  justify-content: flex-end;
2948
2954
  gap: ${({ theme }) => theme.space.xs};
2949
2955
  `;
2950
- const Comment = ({ author, message, children, }) => {
2956
+ const Comment = ({ author, message, children, date, }) => {
2951
2957
  var _a, _b;
2952
- return (jsxRuntime.jsxs(CommentCard, { children: [jsxRuntime.jsxs(AuthorContainer, { children: [jsxRuntime.jsx(Avatar, Object.assign({ avatarType: (_a = author.avatarType) !== null && _a !== void 0 ? _a : "text" }, { children: author.avatar })), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx(Title$1, { children: (_b = author.name) !== null && _b !== void 0 ? _b : "User" }), jsxRuntime.jsx(ReadOnly, { children: jsxRuntime.jsx(Editor, Object.assign({ editable: false }, { children: message })) })] })] }), jsxRuntime.jsx(Footer$2, { children: children })] }));
2958
+ return (jsxRuntime.jsxs(CommentCard, { children: [jsxRuntime.jsxs(AuthorContainer, { children: [jsxRuntime.jsx(Avatar, Object.assign({ avatarType: (_a = author.avatarType) !== null && _a !== void 0 ? _a : "text" }, { children: author.avatar })), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs(Title$1, { children: [(_b = author.name) !== null && _b !== void 0 ? _b : "User", jsxRuntime.jsx(CommentDate, { children: date })] }), jsxRuntime.jsx(ReadOnly, { children: jsxRuntime.jsx(Editor, Object.assign({ editable: false }, { children: message })) })] })] }), jsxRuntime.jsx(Footer$2, { children: children })] }));
2953
2959
  };
2954
2960
 
2955
2961
  /**
@@ -8,18 +8,18 @@ export declare const variants: readonly [{}, {
8
8
  readonly disabled: true;
9
9
  }];
10
10
  export declare const Row: import("styled-components").IStyledComponent<"web", {
11
- alignItems?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
12
- alignItemsXs?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
13
- alignItemsSm?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
14
- alignItemsMd?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
15
- alignItemsLg?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
16
- alignItemsXl?: "start" | "end" | "center" | "baseline" | "stretch" | undefined;
17
- justifyContent?: "start" | "end" | "center" | "between" | "around" | undefined;
18
- justifyContentXs?: "start" | "end" | "center" | "between" | "around" | undefined;
19
- justifyContentSm?: "start" | "end" | "center" | "between" | "around" | undefined;
20
- justifyContentMd?: "start" | "end" | "center" | "between" | "around" | undefined;
21
- justifyContentLg?: "start" | "end" | "center" | "between" | "around" | undefined;
22
- justifyContentXl?: "start" | "end" | "center" | "between" | "around" | undefined;
11
+ alignItems?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
12
+ alignItemsXs?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
13
+ alignItemsSm?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
14
+ alignItemsMd?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
15
+ alignItemsLg?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
16
+ alignItemsXl?: "center" | "start" | "end" | "baseline" | "stretch" | undefined;
17
+ justifyContent?: "center" | "start" | "end" | "between" | "around" | undefined;
18
+ justifyContentXs?: "center" | "start" | "end" | "between" | "around" | undefined;
19
+ justifyContentSm?: "center" | "start" | "end" | "between" | "around" | undefined;
20
+ justifyContentMd?: "center" | "start" | "end" | "between" | "around" | undefined;
21
+ justifyContentLg?: "center" | "start" | "end" | "between" | "around" | undefined;
22
+ justifyContentXl?: "center" | "start" | "end" | "between" | "around" | undefined;
23
23
  wrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
24
24
  wrapXs?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
25
25
  wrapSm?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
@@ -73,7 +73,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
73
73
  results?: number | undefined;
74
74
  security?: string | undefined;
75
75
  unselectable?: "on" | "off" | undefined;
76
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
76
+ inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
77
77
  is?: string | undefined;
78
78
  "aria-activedescendant"?: string | undefined;
79
79
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -84,7 +84,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
84
84
  "aria-colindex"?: number | undefined;
85
85
  "aria-colspan"?: number | undefined;
86
86
  "aria-controls"?: string | undefined;
87
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
87
+ "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
88
88
  "aria-describedby"?: string | undefined;
89
89
  "aria-details"?: string | undefined;
90
90
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -93,7 +93,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
93
93
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
94
94
  "aria-flowto"?: string | undefined;
95
95
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
96
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
96
+ "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
97
97
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
98
98
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
99
99
  "aria-keyshortcuts"?: string | undefined;
@@ -110,7 +110,7 @@ export declare const Row: import("styled-components").IStyledComponent<"web", {
110
110
  "aria-posinset"?: number | undefined;
111
111
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
112
112
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
113
- "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
113
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
114
114
  "aria-required"?: (boolean | "true" | "false") | undefined;
115
115
  "aria-roledescription"?: string | undefined;
116
116
  "aria-rowcount"?: number | undefined;
@@ -299,18 +299,18 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
299
299
  md?: string | number | boolean | undefined;
300
300
  lg?: string | number | boolean | undefined;
301
301
  xl?: string | number | boolean | undefined;
302
- alignSelf?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
303
- alignSelfXs?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
304
- alignSelfSm?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
305
- alignSelfMd?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
306
- alignSelfLg?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
307
- alignSelfXl?: "start" | "end" | "center" | "baseline" | "stretch" | "auto" | undefined;
308
- textAlign?: "start" | "end" | "center" | "justify" | undefined;
309
- textAlignXs?: "start" | "end" | "center" | "justify" | undefined;
310
- textAlignSm?: "start" | "end" | "center" | "justify" | undefined;
311
- textAlignMd?: "start" | "end" | "center" | "justify" | undefined;
312
- textAlignLg?: "start" | "end" | "center" | "justify" | undefined;
313
- textAlignXl?: "start" | "end" | "center" | "justify" | undefined;
302
+ alignSelf?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
303
+ alignSelfXs?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
304
+ alignSelfSm?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
305
+ alignSelfMd?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
306
+ alignSelfLg?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
307
+ alignSelfXl?: "center" | "start" | "end" | "baseline" | "stretch" | "auto" | undefined;
308
+ textAlign?: "center" | "start" | "end" | "justify" | undefined;
309
+ textAlignXs?: "center" | "start" | "end" | "justify" | undefined;
310
+ textAlignSm?: "center" | "start" | "end" | "justify" | undefined;
311
+ textAlignMd?: "center" | "start" | "end" | "justify" | undefined;
312
+ textAlignLg?: "center" | "start" | "end" | "justify" | undefined;
313
+ textAlignXl?: "center" | "start" | "end" | "justify" | undefined;
314
314
  offset?: string | number | undefined;
315
315
  offsetXs?: string | number | undefined;
316
316
  offsetSm?: string | number | undefined;
@@ -370,7 +370,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
370
370
  results?: number | undefined;
371
371
  security?: string | undefined;
372
372
  unselectable?: "on" | "off" | undefined;
373
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
373
+ inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
374
374
  is?: string | undefined;
375
375
  "aria-activedescendant"?: string | undefined;
376
376
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -381,7 +381,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
381
381
  "aria-colindex"?: number | undefined;
382
382
  "aria-colspan"?: number | undefined;
383
383
  "aria-controls"?: string | undefined;
384
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
384
+ "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
385
385
  "aria-describedby"?: string | undefined;
386
386
  "aria-details"?: string | undefined;
387
387
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -390,7 +390,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
390
390
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
391
391
  "aria-flowto"?: string | undefined;
392
392
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
393
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
393
+ "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
394
394
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
395
395
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
396
396
  "aria-keyshortcuts"?: string | undefined;
@@ -407,7 +407,7 @@ export declare const Col: import("styled-components").IStyledComponent<"web", {
407
407
  "aria-posinset"?: number | undefined;
408
408
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
409
409
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
410
- "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
410
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
411
411
  "aria-required"?: (boolean | "true" | "false") | undefined;
412
412
  "aria-roledescription"?: string | undefined;
413
413
  "aria-rowcount"?: number | undefined;
@@ -640,7 +640,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
640
640
  results?: number | undefined;
641
641
  security?: string | undefined;
642
642
  unselectable?: "on" | "off" | undefined;
643
- inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
643
+ inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
644
644
  is?: string | undefined;
645
645
  "aria-activedescendant"?: string | undefined;
646
646
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -651,7 +651,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
651
651
  "aria-colindex"?: number | undefined;
652
652
  "aria-colspan"?: number | undefined;
653
653
  "aria-controls"?: string | undefined;
654
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
654
+ "aria-current"?: boolean | "true" | "false" | "page" | "step" | "location" | "date" | "time" | undefined;
655
655
  "aria-describedby"?: string | undefined;
656
656
  "aria-details"?: string | undefined;
657
657
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -660,7 +660,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
660
660
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
661
661
  "aria-flowto"?: string | undefined;
662
662
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
663
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
663
+ "aria-haspopup"?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
664
664
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
665
665
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
666
666
  "aria-keyshortcuts"?: string | undefined;
@@ -677,7 +677,7 @@ export declare const MD: import("styled-components").IStyledComponent<"web", {
677
677
  "aria-posinset"?: number | undefined;
678
678
  "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
679
679
  "aria-readonly"?: (boolean | "true" | "false") | undefined;
680
- "aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
680
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
681
681
  "aria-required"?: (boolean | "true" | "false") | undefined;
682
682
  "aria-roledescription"?: string | undefined;
683
683
  "aria-rowcount"?: number | undefined;
@@ -76,7 +76,7 @@ declare const Chat: {
76
76
  "aria-colindex"?: number | undefined;
77
77
  "aria-colspan"?: number | undefined;
78
78
  "aria-controls"?: string | undefined;
79
- "aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
79
+ "aria-current"?: boolean | "time" | "date" | "step" | "true" | "false" | "page" | "location" | undefined;
80
80
  "aria-describedby"?: string | undefined;
81
81
  "aria-details"?: string | undefined;
82
82
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
@@ -1,6 +1,7 @@
1
- import { Editor as TipTapEditor } from "@tiptap/react";
2
- import { ChatArgs, ChatEditorArgs } from "./_types";
1
+ /// <reference types="react" />
3
2
  import { PlaceholderOptions } from "@tiptap/extension-placeholder";
3
+ import { Editor as TipTapEditor } from "@tiptap/react";
4
+ import { ChatEditorArgs } from "./_types";
4
5
  interface EditorStoryArgs extends ChatEditorArgs {
5
6
  children?: any;
6
7
  comments?: {
@@ -20,7 +21,7 @@ export declare const Default: import("@storybook/types").AnnotatedStoryFn<import
20
21
  export declare const Placeholder: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
21
22
  export declare const BubbleMenu: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
22
23
  export declare const CustomBackground: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, EditorStoryArgs>;
23
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, ChatArgs & {
24
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./_types").ChatArgs & {
24
25
  children?: import("react").ReactNode;
25
26
  }>;
26
27
  export default _default;
@@ -1,6 +1,7 @@
1
1
  import { PropsWithChildren } from "react";
2
2
  import { Author } from "../_types";
3
- export declare const Comment: ({ author, message, children, }: PropsWithChildren<{
3
+ export declare const Comment: ({ author, message, children, date, }: PropsWithChildren<{
4
4
  author: Author;
5
5
  message: string;
6
+ date: string;
6
7
  }>) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from "react";
1
+ /// <reference types="react" />
2
2
  export declare const ChatTitle: import("styled-components").IStyledComponent<"web", {
3
3
  isRegular?: boolean | undefined;
4
4
  defaultChecked?: boolean | undefined;
@@ -98,7 +98,7 @@ export declare const ChatTitle: import("styled-components").IStyledComponent<"we
98
98
  "aria-valuemin"?: number | undefined;
99
99
  "aria-valuenow"?: number | undefined;
100
100
  "aria-valuetext"?: string | undefined;
101
- children?: ReactNode;
101
+ children?: import("react").ReactNode;
102
102
  dangerouslySetInnerHTML?: {
103
103
  __html: string | TrustedHTML;
104
104
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.59",
3
+ "version": "3.1.61",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",