@appquality/unguess-design-system 3.1.98-test-error-management → 3.1.98

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,115 @@
1
+ # v3.1.98 (Tue May 28 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - "Refactor highlight components and add support for multiple observations in transcript" [#380](https://github.com/AppQuality/unguess-design-system/pull/380) ([@marcbon](https://github.com/marcbon) [@cannarocks](https://github.com/cannarocks))
6
+ - Multiple-obs-support-transcript [#379](https://github.com/AppQuality/unguess-design-system/pull/379) ([@marcbon](https://github.com/marcbon) [@cannarocks](https://github.com/cannarocks))
7
+ - 🔨 refactor(highlight): remove unnecessary padding in ActiveWord styled component [#378](https://github.com/AppQuality/unguess-design-system/pull/378) ([@marcbon](https://github.com/marcbon))
8
+
9
+ #### Authors: 2
10
+
11
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
12
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
13
+
14
+ ---
15
+
16
+ # v3.1.97 (Tue May 28 2024)
17
+
18
+ #### 🐛 Bug Fix
19
+
20
+ - Add highlight support to unselectable [#377](https://github.com/AppQuality/unguess-design-system/pull/377) ([@cannarocks](https://github.com/cannarocks))
21
+ - "Improve styling and functionality for transcript diarization in highlight component" [#376](https://github.com/AppQuality/unguess-design-system/pull/376) ([@cannarocks](https://github.com/cannarocks))
22
+ - Fix obs player [#375](https://github.com/AppQuality/unguess-design-system/pull/375) ([@marcbon](https://github.com/marcbon))
23
+ - 🎨 style(bookmark.tsx): improve styling for active bookmarks in player parts [#374](https://github.com/AppQuality/unguess-design-system/pull/374) ([@marcbon](https://github.com/marcbon))
24
+
25
+ #### Authors: 2
26
+
27
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
28
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
29
+
30
+ ---
31
+
32
+ # v3.1.96 (Mon May 27 2024)
33
+
34
+ #### 🐛 Bug Fix
35
+
36
+ - Tagging tool improvements [#373](https://github.com/AppQuality/unguess-design-system/pull/373) ([@marcbon](https://github.com/marcbon) [@sinatragianpaolo](https://github.com/sinatragianpaolo))
37
+ - 🎨 style(bookmark.tsx): add z-index property to hovered bookmark for better layering [#369](https://github.com/AppQuality/unguess-design-system/pull/369) ([@marcbon](https://github.com/marcbon) [@sinatragianpaolo](https://github.com/sinatragianpaolo))
38
+ - ✨ feat(highlight): add font-weight style to StyledWord in highlight component [#370](https://github.com/AppQuality/unguess-design-system/pull/370) ([@marcbon](https://github.com/marcbon))
39
+ - feat: add random hue to new observation label in index.stories.tsx [#372](https://github.com/AppQuality/unguess-design-system/pull/372) ([@sinatragianpaolo](https://github.com/sinatragianpaolo))
40
+ - 🔨 refactor(highlight/index.tsx): improve logic to find closest observation to word [#368](https://github.com/AppQuality/unguess-design-system/pull/368) ([@marcbon](https://github.com/marcbon) [@sinatragianpaolo](https://github.com/sinatragianpaolo))
41
+ - 🔧 fix(player): update end time for second bookmark in index.stories.tsx [#371](https://github.com/AppQuality/unguess-design-system/pull/371) ([@marcbon](https://github.com/marcbon))
42
+
43
+ #### Authors: 2
44
+
45
+ - Gianpaolo Sinatra ([@sinatragianpaolo](https://github.com/sinatragianpaolo))
46
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
47
+
48
+ ---
49
+
50
+ # v3.1.95 (Fri May 24 2024)
51
+
52
+ #### 🐛 Bug Fix
53
+
54
+ - Fix highlight [#367](https://github.com/AppQuality/unguess-design-system/pull/367) ([@marcbon](https://github.com/marcbon))
55
+ - 🔧 refactor(highlight/index.tsx): remove unnecessary spread operator in Word component [#366](https://github.com/AppQuality/unguess-design-system/pull/366) ([@marcbon](https://github.com/marcbon))
56
+
57
+ #### Authors: 1
58
+
59
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
60
+
61
+ ---
62
+
63
+ # v3.1.94 (Tue May 21 2024)
64
+
65
+ #### 🐛 Bug Fix
66
+
67
+ - Fix player types [#365](https://github.com/AppQuality/unguess-design-system/pull/365) ([@marcbon](https://github.com/marcbon))
68
+ - 🔨 refactor(player): make tags property optional in IBookmark interface [#364](https://github.com/AppQuality/unguess-design-system/pull/364) ([@marcbon](https://github.com/marcbon))
69
+ - Update observation severity colors [#363](https://github.com/AppQuality/unguess-design-system/pull/363) ([@marcbon](https://github.com/marcbon) [@cannarocks](https://github.com/cannarocks))
70
+ - Player-colors [#362](https://github.com/AppQuality/unguess-design-system/pull/362) ([@marcbon](https://github.com/marcbon))
71
+
72
+ #### Authors: 2
73
+
74
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
75
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
76
+
77
+ ---
78
+
79
+ # v3.1.93 (Tue May 21 2024)
80
+
81
+ #### 🐛 Bug Fix
82
+
83
+ - Improve video cutting and add debounce to bookmark update [#361](https://github.com/AppQuality/unguess-design-system/pull/361) ([@cannarocks](https://github.com/cannarocks) [@marcbon](https://github.com/marcbon))
84
+ - Add useDebounce hook for bookmark updates in player controls [#360](https://github.com/AppQuality/unguess-design-system/pull/360) ([@cannarocks](https://github.com/cannarocks))
85
+ - 🚀 feat(player): add PlusIcon component for starting observation in CutterButton [#359](https://github.com/AppQuality/unguess-design-system/pull/359) ([@marcbon](https://github.com/marcbon))
86
+ - Add sentiment data to DemoTranscript [#358](https://github.com/AppQuality/unguess-design-system/pull/358) ([@cannarocks](https://github.com/cannarocks))
87
+
88
+ #### Authors: 2
89
+
90
+ - Luca Cannarozzo ([@cannarocks](https://github.com/cannarocks))
91
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
92
+
93
+ ---
94
+
95
+ # v3.1.92 (Fri May 17 2024)
96
+
97
+ #### 🐛 Bug Fix
98
+
99
+ - Update auto version to 11.x.x [#356](https://github.com/AppQuality/unguess-design-system/pull/356) ([@marcbon](https://github.com/marcbon))
100
+ - ⬆️ chore(package.json): update auto dependency to version 11.1.1 [#355](https://github.com/AppQuality/unguess-design-system/pull/355) ([@marcbon](https://github.com/marcbon))
101
+ - Update auto version [#354](https://github.com/AppQuality/unguess-design-system/pull/354) ([@marcbon](https://github.com/marcbon))
102
+ - ⬆️ chore(package.json): update auto package to version 10.29.2 [#353](https://github.com/AppQuality/unguess-design-system/pull/353) ([@marcbon](https://github.com/marcbon))
103
+ - bookmark-tooltip-fix [#352](https://github.com/AppQuality/unguess-design-system/pull/352) ([@iDome89](https://github.com/iDome89) [@marcbon](https://github.com/marcbon))
104
+ - Bookmark tooltip changes [#351](https://github.com/AppQuality/unguess-design-system/pull/351) ([@iDome89](https://github.com/iDome89))
105
+
106
+ #### Authors: 2
107
+
108
+ - [@iDome89](https://github.com/iDome89)
109
+ - Marco Bonomo ([@marcbon](https://github.com/marcbon))
110
+
111
+ ---
112
+
1
113
  # v3.1.91 (Fri May 17 2024)
2
114
 
3
115
  #### 🐛 Bug Fix
package/build/index.js CHANGED
@@ -2337,26 +2337,40 @@ const ChatContextProvider = ({ onSave, onFileUpload, onDeleteThumbnail, setMenti
2337
2337
  setEditor,
2338
2338
  thumbnails,
2339
2339
  setThumbnails,
2340
- afterUploadCallback: (failed) => { },
2341
- addThumbnails: ({ files }) => __awaiter(void 0, void 0, void 0, function* () {
2340
+ afterUploadCallback: (failed) => {
2341
+ setThumbnails(thumbnails.map((file) => {
2342
+ if (failed.includes(file.id)) {
2343
+ file.isLoadingMedia = false;
2344
+ //file.isError = true;
2345
+ }
2346
+ else {
2347
+ file.isLoadingMedia = false;
2348
+ //file.isError = false
2349
+ }
2350
+ return file;
2351
+ }));
2352
+ },
2353
+ addThumbnails: ({ files }) => {
2342
2354
  setThumbnails((prev) => [...prev, ...files]);
2343
- if (!onFileUpload)
2344
- return;
2345
- try {
2346
- const data = yield onFileUpload(files);
2347
- setThumbnails((prev) => {
2348
- return prev.map(file => {
2349
- var _a, _b;
2350
- file.isLoadingMedia = false;
2351
- file.error = (_b = (_a = data.failed) === null || _a === void 0 ? void 0 : _a.find(f => f.name === file.name)) === null || _b === void 0 ? void 0 : _b.errorCode;
2352
- return file;
2355
+ if (onFileUpload) {
2356
+ onFileUpload(files).then((data) => {
2357
+ var _a;
2358
+ const failed = (_a = data.failed) === null || _a === void 0 ? void 0 : _a.map((f) => f.name);
2359
+ setThumbnails((prev) => {
2360
+ return prev.map((file) => {
2361
+ file.isLoadingMedia = false;
2362
+ if ((failed === null || failed === void 0 ? void 0 : failed.length) && failed.includes(file.id)) {
2363
+ file.isError = true;
2364
+ }
2365
+ else {
2366
+ file.isError = false;
2367
+ }
2368
+ return file;
2369
+ });
2353
2370
  });
2354
2371
  });
2355
2372
  }
2356
- catch (e) {
2357
- console.log("Error uploading files", e);
2358
- }
2359
- }),
2373
+ },
2360
2374
  clearInput: () => {
2361
2375
  if (editor && !editor.isEmpty) {
2362
2376
  editor.commands.clearContent();
@@ -3384,7 +3398,6 @@ const StyledDeleteThumbnailX = styled__default["default"].div `
3384
3398
  opacity: 0;
3385
3399
  transition: opacity 0.2s;
3386
3400
  z-index: 2;
3387
- color: ${({ theme }) => theme.palette.grey[800]};
3388
3401
  `;
3389
3402
  const DeleteThumbnailX = ({ deleteThumbnail }) => {
3390
3403
  return (jsxRuntime.jsx(StyledDeleteThumbnailX, Object.assign({ className: "deleteThumbnail" }, { children: jsxRuntime.jsx(SvgRemoveMediaIcon, { onClick: (e) => deleteThumbnail(e) }) })));
@@ -3412,19 +3425,19 @@ const ImageCard = styled__default["default"](SpecialCard) `
3412
3425
  padding: 0;
3413
3426
  position: relative;
3414
3427
  overflow: hidden;
3415
- width: 90px;
3428
+ min-width: 90px;
3416
3429
 
3417
3430
  &:before {
3418
3431
  content: "";
3419
- font-size: ${({ theme }) => theme.fontSizes.xs};
3420
3432
  position: absolute;
3421
- padding: ${({ theme }) => theme.space.xs};
3422
3433
  top: 0;
3423
3434
  left: 0;
3424
3435
  width: 100%;
3425
3436
  height: 100%;
3426
- background-color: ${({ theme }) => theme.palette.grey[800]}00; // 0% opacity
3437
+ background-color: ${({ theme }) => theme.palette.grey[800]};
3438
+ opacity: 0;
3427
3439
  transition: opacity 0.2s;
3440
+ z-index: 1;
3428
3441
  }
3429
3442
 
3430
3443
  &:hover {
@@ -3432,26 +3445,12 @@ const ImageCard = styled__default["default"](SpecialCard) `
3432
3445
  opacity: 1;
3433
3446
  }
3434
3447
  &:before {
3435
- background-color: ${({ theme }) => theme.palette.grey[800]}4d; // 30% opacity
3448
+ opacity: 0.3;
3436
3449
  }
3437
3450
  }
3438
- ${(p) => p.error &&
3439
- `
3440
- &:before{
3441
- content: "Error: ${p.error}";
3442
- color: ${p.theme.palette.white};
3443
- background-color: ${p.theme.palette.grey[800]}b3; // 0.7 opacity
3444
- }
3445
- `}
3446
- ${(p) => p.isLoading &&
3447
- `
3448
- &:before{
3449
- background-color: ${p.theme.palette.grey[800]}b3; // 0.7 opacity
3450
- }
3451
- `}
3451
+
3452
3452
  &.video {
3453
3453
  svg {
3454
- color: ${({ theme }) => theme.palette.grey[800]};
3455
3454
  position: absolute;
3456
3455
  top: 50%;
3457
3456
  left: 50%;
@@ -3468,9 +3467,8 @@ const Preview = styled__default["default"].div `
3468
3467
  align-items: center;
3469
3468
  height: 100px;
3470
3469
  width: 100%;
3471
- color: ${({ theme }) => theme.palette.white};
3472
-
3473
- ${p => p.url &&
3470
+
3471
+ ${(p) => p.url &&
3474
3472
  `
3475
3473
  background-image: url(${p.url});
3476
3474
  background-color: ${p.theme.palette.grey[100]};
@@ -3484,19 +3482,19 @@ const Preview = styled__default["default"].div `
3484
3482
  height: 100%;
3485
3483
  }
3486
3484
  `;
3487
- const Thumbnail = ({ src, type, removeThumbnail, clickThumbnail, showX, isLoadingMedia, error = "", }) => {
3485
+ const Thumbnail = ({ src, type, removeThumbnail, clickThumbnail, showX, isLoadingMedia = true, isError = false, }) => {
3488
3486
  const handleCancel = (e) => {
3489
3487
  e.stopPropagation();
3490
3488
  if (removeThumbnail)
3491
3489
  removeThumbnail();
3492
3490
  };
3493
- return (jsxRuntime.jsx(ImageCard, Object.assign({ onClick: clickThumbnail, className: type.includes("video") ? "video" : "image", error: error, isLoading: isLoadingMedia }, { children: isLoadingMedia ? (jsxRuntime.jsx(Preview, Object.assign({ url: src }, { children: jsxRuntime.jsx(reactLoaders.Spinner, { style: {
3494
- display: "flex",
3495
- position: "absolute",
3496
- color: "white",
3497
- alignItems: "center",
3498
- justifyContent: "center",
3499
- }, size: "large" }) }))) : (jsxRuntime.jsxs(Preview, Object.assign({ url: src }, { children: [showX && (jsxRuntime.jsx(DeleteThumbnailX, { deleteThumbnail: (e) => handleCancel(e) })), type.includes("video") && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("video", Object.assign({ src: src }, { children: jsxRuntime.jsx("track", { kind: "captions" }) })), jsxRuntime.jsx(SvgVideoPlayIcon, { opacity: error ? "0.3" : "1" })] }))] }))) })));
3491
+ return (jsxRuntime.jsxs(ImageCard, Object.assign({ onClick: clickThumbnail, className: type.includes("video") ? "video" : "image" }, { children: [isError && (
3492
+ // todo: add error icon
3493
+ jsxRuntime.jsx("span", { children: "error uploading media" })), isLoadingMedia ? (jsxRuntime.jsx(Preview, { children: jsxRuntime.jsx(reactLoaders.Spinner, { style: {
3494
+ display: "flex",
3495
+ alignItems: "center",
3496
+ justifyContent: "center",
3497
+ }, size: "large" }) })) : (jsxRuntime.jsxs(Preview, Object.assign({ url: src }, { children: [showX && (jsxRuntime.jsx(DeleteThumbnailX, { deleteThumbnail: (e) => handleCancel(e) })), type.includes("video") && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("video", Object.assign({ src: src }, { children: jsxRuntime.jsx("track", { kind: "captions" }) })), jsxRuntime.jsx(SvgVideoPlayIcon, {})] }))] })))] })));
3500
3498
  };
3501
3499
 
3502
3500
  const FlexContainer = styled.styled.div `
@@ -3513,13 +3511,12 @@ const ThumbnailContainer = ({ openLightbox }) => {
3513
3511
  previewUrl: file.url,
3514
3512
  id: file.id,
3515
3513
  isLoadingMedia: file.isLoadingMedia,
3516
- error: file.error,
3517
3514
  }));
3518
3515
  }, [thumbnails]);
3519
3516
  if (!mediaFiles || mediaFiles.length === 0) {
3520
3517
  return null;
3521
3518
  }
3522
- return (jsxRuntime.jsx(FlexContainer, { children: mediaFiles.map((file, index) => (jsxRuntime.jsx(Thumbnail, { src: file.previewUrl, showX: true, type: file.fileType, isLoadingMedia: file.isLoadingMedia, error: file.error, removeThumbnail: () => {
3519
+ return (jsxRuntime.jsx(FlexContainer, { children: mediaFiles.map((file, index) => (jsxRuntime.jsx(Thumbnail, { src: file.previewUrl, showX: true, type: file.fileType, isLoadingMedia: file.isLoadingMedia, removeThumbnail: () => {
3523
3520
  removeThumbnail(index);
3524
3521
  onDeleteThumbnail(file.id);
3525
3522
  }, clickThumbnail: () => {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonArgs } from "./_types";
3
2
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
4
3
  export declare const Basic: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, ButtonArgs>;
@@ -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?: "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;
11
+ alignItems?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
12
+ alignItemsXs?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
13
+ alignItemsSm?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
14
+ alignItemsMd?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
15
+ alignItemsLg?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
16
+ alignItemsXl?: "start" | "center" | "end" | "baseline" | "stretch" | undefined;
17
+ justifyContent?: "start" | "center" | "end" | "between" | "around" | undefined;
18
+ justifyContentXs?: "start" | "center" | "end" | "between" | "around" | undefined;
19
+ justifyContentSm?: "start" | "center" | "end" | "between" | "around" | undefined;
20
+ justifyContentMd?: "start" | "center" | "end" | "between" | "around" | undefined;
21
+ justifyContentLg?: "start" | "center" | "end" | "between" | "around" | undefined;
22
+ justifyContentXl?: "start" | "center" | "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?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
76
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
77
77
  is?: string | undefined;
78
78
  "aria-activedescendant"?: string | undefined;
79
79
  "aria-atomic"?: (boolean | "true" | "false") | 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?: "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;
302
+ alignSelf?: "start" | "center" | "end" | "baseline" | "stretch" | "auto" | undefined;
303
+ alignSelfXs?: "start" | "center" | "end" | "baseline" | "stretch" | "auto" | undefined;
304
+ alignSelfSm?: "start" | "center" | "end" | "baseline" | "stretch" | "auto" | undefined;
305
+ alignSelfMd?: "start" | "center" | "end" | "baseline" | "stretch" | "auto" | undefined;
306
+ alignSelfLg?: "start" | "center" | "end" | "baseline" | "stretch" | "auto" | undefined;
307
+ alignSelfXl?: "start" | "center" | "end" | "baseline" | "stretch" | "auto" | undefined;
308
+ textAlign?: "start" | "center" | "end" | "justify" | undefined;
309
+ textAlignXs?: "start" | "center" | "end" | "justify" | undefined;
310
+ textAlignSm?: "start" | "center" | "end" | "justify" | undefined;
311
+ textAlignMd?: "start" | "center" | "end" | "justify" | undefined;
312
+ textAlignLg?: "start" | "center" | "end" | "justify" | undefined;
313
+ textAlignXl?: "start" | "center" | "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?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
373
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
374
374
  is?: string | undefined;
375
375
  "aria-activedescendant"?: string | undefined;
376
376
  "aria-atomic"?: (boolean | "true" | "false") | 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?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
643
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
644
644
  is?: string | undefined;
645
645
  "aria-activedescendant"?: string | undefined;
646
646
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
@@ -42,7 +42,7 @@ export interface CommentMedia {
42
42
  type: string;
43
43
  name?: string;
44
44
  isLoadingMedia?: boolean;
45
- error?: string;
45
+ isError?: boolean;
46
46
  url?: string;
47
47
  }
48
48
  export interface FloatingMenuArgs extends Partial<BubbleMenuProps> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PlaceholderOptions } from "@tiptap/extension-placeholder";
3
2
  import { Editor as TipTapEditor } from "@tiptap/react";
4
3
  import { ChatEditorArgs, CommentMedia, SuggestedUser } from "./_types";
@@ -5,7 +5,7 @@ interface Props {
5
5
  isLoadingMedia?: boolean;
6
6
  removeThumbnail?: () => void;
7
7
  showX?: boolean;
8
- error?: string;
8
+ isError?: boolean;
9
9
  }
10
- declare const Thumbnail: ({ src, type, removeThumbnail, clickThumbnail, showX, isLoadingMedia, error, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ declare const Thumbnail: ({ src, type, removeThumbnail, clickThumbnail, showX, isLoadingMedia, isError, }: Props) => import("react/jsx-runtime").JSX.Element;
11
11
  export default Thumbnail;
@@ -1,3 +1,11 @@
1
+ export interface FileElement {
2
+ fileName: string;
3
+ fileType: string;
4
+ errorCode?: "FILE_TOO_BIG" | "INVALID_FILE_EXTENSION" | "GENERIC_ERROR";
5
+ previewUrl: string;
6
+ internal_id: string;
7
+ isLoadingMedia: boolean;
8
+ }
1
9
  interface Props {
2
10
  openLightbox: (index: number) => void;
3
11
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownArgs, SelectArgs } from "./_types";
3
2
  import { MenuArgs } from "../menu/_types";
4
3
  interface IItem {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditorArgs } from "./_types";
3
2
  interface EditorStoryArgs extends EditorArgs {
4
3
  children?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { HighlightArgs, WordProps } from "./_types";
3
2
  export interface StoryArgs extends HighlightArgs {
4
3
  words: Array<WordProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PlayerArgs } from "./_types";
3
2
  interface PlayerStoryArgs extends PlayerArgs {
4
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.1.98-test-error-management",
3
+ "version": "3.1.98",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",