@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 +112 -0
- package/build/index.js +47 -50
- package/build/stories/buttons/button/index.stories.d.ts +0 -1
- package/build/stories/buttons/utils.d.ts +27 -27
- package/build/stories/chat/_types.d.ts +1 -1
- package/build/stories/chat/index.stories.d.ts +0 -1
- package/build/stories/chat/parts/ThumbnailContainer/Thumbnail.d.ts +2 -2
- package/build/stories/chat/parts/ThumbnailContainer/index.d.ts +8 -0
- package/build/stories/dropdowns/select/index.stories.d.ts +0 -1
- package/build/stories/editor/index.stories.d.ts +0 -1
- package/build/stories/highlight/index.stories.d.ts +0 -1
- package/build/stories/player/index.stories.d.ts +0 -1
- package/package.json +1 -1
- package/yarn-error.log +0 -17994
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
|
-
|
|
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 (
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
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
|
-
|
|
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]}
|
|
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
|
-
|
|
3448
|
+
opacity: 0.3;
|
|
3436
3449
|
}
|
|
3437
3450
|
}
|
|
3438
|
-
|
|
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
|
-
|
|
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,
|
|
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.
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
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,
|
|
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?: "
|
|
12
|
-
alignItemsXs?: "
|
|
13
|
-
alignItemsSm?: "
|
|
14
|
-
alignItemsMd?: "
|
|
15
|
-
alignItemsLg?: "
|
|
16
|
-
alignItemsXl?: "
|
|
17
|
-
justifyContent?: "
|
|
18
|
-
justifyContentXs?: "
|
|
19
|
-
justifyContentSm?: "
|
|
20
|
-
justifyContentMd?: "
|
|
21
|
-
justifyContentLg?: "
|
|
22
|
-
justifyContentXl?: "
|
|
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" |
|
|
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?: "
|
|
303
|
-
alignSelfXs?: "
|
|
304
|
-
alignSelfSm?: "
|
|
305
|
-
alignSelfMd?: "
|
|
306
|
-
alignSelfLg?: "
|
|
307
|
-
alignSelfXl?: "
|
|
308
|
-
textAlign?: "
|
|
309
|
-
textAlignXs?: "
|
|
310
|
-
textAlignSm?: "
|
|
311
|
-
textAlignMd?: "
|
|
312
|
-
textAlignLg?: "
|
|
313
|
-
textAlignXl?: "
|
|
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" |
|
|
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" |
|
|
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;
|
|
@@ -5,7 +5,7 @@ interface Props {
|
|
|
5
5
|
isLoadingMedia?: boolean;
|
|
6
6
|
removeThumbnail?: () => void;
|
|
7
7
|
showX?: boolean;
|
|
8
|
-
|
|
8
|
+
isError?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const Thumbnail: ({ src, type, removeThumbnail, clickThumbnail, showX, isLoadingMedia,
|
|
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
|
}
|