@zohodesk/dot 1.0.0-temp-198.3.3 → 1.0.0-temp-187.1
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/.cli/UnValidatedFiles.html +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +28 -0
- package/assets/Appearance/dark/mode/Dot_DarkMode.module.css +1 -0
- package/assets/Appearance/light/mode/Dot_LightMode.module.css +1 -0
- package/assets/Appearance/pureDark/mode/Dot_PureDarkMode.module.css +1 -0
- package/es/ActionButton/ActionButton.module.css +192 -192
- package/es/AlphabeticList/AlphabeticList.module.css +57 -57
- package/es/AttachmentViewer/AttachmentImage.js +68 -32
- package/es/AttachmentViewer/AttachmentViewer.js +120 -41
- package/es/AttachmentViewer/AttachmentViewer.module.css +364 -352
- package/es/AttachmentViewer/__tests__/AttachmentImage.spec.js +63 -13
- package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentImage.spec.js.snap +9 -5
- package/es/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +16 -117
- package/es/AttachmentViewer/props/defaultProps.js +5 -1
- package/es/AttachmentViewer/props/propTypes.js +7 -3
- package/es/AttachmentViewer/utils.js +49 -0
- package/es/ChannelIcon/ChannelIcon.module.css +225 -225
- package/es/FormAction/FormAction.module.css +100 -100
- package/es/IconButton/IconButton.module.css +22 -22
- package/es/Image/Image.js +6 -2
- package/es/Image/props/propTypes.js +3 -1
- package/es/TagWithIcon/TagWithIcon.module.css +66 -66
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/es/common/dot_boxShadow.module.css +2 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -2
- package/es/form/fields/TextEditor/TextEditor.js +64 -64
- package/es/form/fields/TextEditor/TextEditor.module.css +73 -61
- package/es/form/fields/TextEditor/__tests__/__snapshots__/TextEditor.spec.js.snap +1 -1
- package/es/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/es/form/fields/TextEditor/props/propTypes.js +10 -3
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/es/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/es/list/Comment/Comment.module.css +29 -29
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +7 -2
- package/es/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/es/list/DepartmentDropDown/props/propTypes.js +2 -1
- package/es/list/Dot/Dot.module.css +15 -15
- package/es/list/ListLayout/ListLayout.module.css +79 -79
- package/es/list/Subject/Subject.module.css +34 -34
- package/es/list/Thread/Thread.module.css +42 -42
- package/es/list/status/StatusListItem/StatusListItem.module.css +35 -5
- package/es/utils/editorUtils.js +6 -6
- package/es/v1/AttachmentViewer/AttachmentImage.js +44 -23
- package/es/v1/AttachmentViewer/AttachmentViewer.js +120 -41
- package/es/v1/AttachmentViewer/props/propTypes.js +7 -3
- package/es/v1/Image/Image.js +6 -2
- package/es/v1/Image/props/propTypes.js +3 -1
- package/es/v1/form/fields/TextEditor/TextEditor.js +63 -64
- package/es/v1/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/es/v1/form/fields/TextEditor/props/propTypes.js +10 -3
- package/es/v1/utils/editorUtils.js +6 -6
- package/es/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/lib/ActionButton/ActionButton.module.css +192 -192
- package/lib/AlphabeticList/AlphabeticList.module.css +57 -57
- package/lib/AttachmentViewer/AttachmentImage.js +74 -36
- package/lib/AttachmentViewer/AttachmentViewer.js +151 -70
- package/lib/AttachmentViewer/AttachmentViewer.module.css +364 -352
- package/lib/AttachmentViewer/__tests__/AttachmentImage.spec.js +64 -13
- package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentImage.spec.js.snap +9 -5
- package/lib/AttachmentViewer/__tests__/__snapshots__/AttachmentViewer.spec.js.snap +16 -117
- package/lib/AttachmentViewer/props/defaultProps.js +5 -1
- package/lib/AttachmentViewer/props/propTypes.js +7 -3
- package/lib/AttachmentViewer/utils.js +60 -1
- package/lib/ChannelIcon/ChannelIcon.module.css +225 -225
- package/lib/FormAction/FormAction.module.css +100 -100
- package/lib/IconButton/IconButton.module.css +22 -22
- package/lib/Image/Image.js +6 -2
- package/lib/Image/props/propTypes.js +3 -1
- package/lib/TagWithIcon/TagWithIcon.module.css +66 -66
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +58 -58
- package/lib/common/dot_boxShadow.module.css +2 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +92 -92
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -3
- package/lib/form/fields/TextEditor/TextEditor.js +74 -74
- package/lib/form/fields/TextEditor/TextEditor.module.css +73 -61
- package/lib/form/fields/TextEditor/__tests__/__snapshots__/TextEditor.spec.js.snap +1 -1
- package/lib/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/lib/form/fields/TextEditor/props/propTypes.js +10 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +27 -27
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +164 -164
- package/lib/list/Comment/Comment.module.css +29 -29
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +8 -3
- package/lib/list/DepartmentDropDown/props/defaultProps.js +2 -1
- package/lib/list/DepartmentDropDown/props/propTypes.js +1 -1
- package/lib/list/Dot/Dot.module.css +15 -15
- package/lib/list/ListLayout/ListLayout.module.css +79 -79
- package/lib/list/Subject/Subject.module.css +34 -34
- package/lib/list/Thread/Thread.module.css +42 -42
- package/lib/list/status/StatusListItem/StatusListItem.module.css +35 -5
- package/lib/utils/editorUtils.js +6 -5
- package/lib/v1/AttachmentViewer/AttachmentImage.js +52 -24
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +151 -70
- package/lib/v1/AttachmentViewer/props/propTypes.js +7 -3
- package/lib/v1/Image/Image.js +6 -2
- package/lib/v1/Image/props/propTypes.js +3 -1
- package/lib/v1/form/fields/TextEditor/TextEditor.js +73 -74
- package/lib/v1/form/fields/TextEditor/props/defaultProps.js +4 -1
- package/lib/v1/form/fields/TextEditor/props/propTypes.js +10 -3
- package/lib/v1/utils/editorUtils.js +6 -5
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +177 -177
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +87 -87
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +132 -132
- package/package.json +3 -3
- package/result.json +1 -1
- package/unittest/index.html +1 -1
- package/es/DotProvider/DotProvider.js +0 -60
- package/es/DotProvider/hooks/useDotProvider.js +0 -55
- package/es/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +0 -97
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -3
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -1
- package/es/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -1
- package/es/DotProvider/props/defaultProps.js +0 -11
- package/es/DotProvider/props/propTypes.js +0 -16
- package/es/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +0 -4
- package/es/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +0 -28
- package/es/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +0 -29
- package/es/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +0 -4
- package/es/DotProvider/utils/constants.js +0 -14
- package/es/DotProvider/utils/errorValidation.js +0 -17
- package/es/DotProvider/utils/getAssetsImportPromises.js +0 -17
- package/es/DotProvider/utils/sizeAssetsConfig.js +0 -12
- package/es/DotProvider/utils/themeAppearanceAssetsConfig.js +0 -47
- package/es/DotProvider/utils/themeColorAssetsConfig.js +0 -221
- package/lib/DotProvider/DotProvider.js +0 -88
- package/lib/DotProvider/hooks/useDotProvider.js +0 -83
- package/lib/DotProvider/hooks/useDownloadAssetsAndSetAttr.js +0 -119
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/blue/Blue_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/green/Green_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/orange/Orange_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/red/Red_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Dark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_Light_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/component/yellow/Yellow_PureDark_Component.js +0 -7
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/blue/Blue_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/green/Green_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/orange/Orange_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/red/Red_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Dark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_Light_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/blue/Blue_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/green/Green_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/orange/Orange_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/red/Red_PureDark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Dark_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_Light_SVG.js +0 -3
- package/lib/DotProvider/libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG.js +0 -3
- package/lib/DotProvider/props/defaultProps.js +0 -20
- package/lib/DotProvider/props/propTypes.js +0 -28
- package/lib/DotProvider/utils/assetPromiseHandlers/fontSizeAssetPromise.js +0 -12
- package/lib/DotProvider/utils/assetPromiseHandlers/themeAppearanceAssetPromise.js +0 -39
- package/lib/DotProvider/utils/assetPromiseHandlers/themeColorAssetPromise.js +0 -40
- package/lib/DotProvider/utils/assetPromiseHandlers/zoomSizeAssetPromise.js +0 -12
- package/lib/DotProvider/utils/constants.js +0 -34
- package/lib/DotProvider/utils/errorValidation.js +0 -25
- package/lib/DotProvider/utils/getAssetsImportPromises.js +0 -22
- package/lib/DotProvider/utils/sizeAssetsConfig.js +0 -31
- package/lib/DotProvider/utils/themeAppearanceAssetsConfig.js +0 -69
- package/lib/DotProvider/utils/themeColorAssetsConfig.js +0 -249
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--listBorder: var(--zdt_listLayout_border)
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.container {
|
|
6
|
-
position: relative;
|
|
7
|
-
composes: varClass;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
11
|
-
background-color: var(--zdt_listLayout_hover_bg);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.active, .active:hover {
|
|
15
|
-
background-color: var(--zdt_listLayout_active_bg);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.cursorPointer {
|
|
19
|
-
cursor: pointer
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* View */
|
|
23
|
-
.classic .innerContainer {
|
|
24
|
-
min-height: var(--zd_size70) ;
|
|
25
|
-
padding: var(--zd_size13) 0 ;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.compact .innerContainer {
|
|
29
|
-
min-height: var(--zd_size41) ;
|
|
30
|
-
padding: var(--zd_size5) 0 ;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.superCompact .innerContainer {
|
|
34
|
-
min-height: var(--zd_size35) ;
|
|
35
|
-
padding: var(--zd_size2) 0 ;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.compact .innerContainer,
|
|
39
|
-
.classic .innerContainer,
|
|
40
|
-
.superCompact .innerContainer {
|
|
41
|
-
/* css:theme-validation:ignore */
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
45
|
-
border-bottom: 1px dotted var(--listBorder);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
49
|
-
border-left: var(--zd_size2) solid transparent;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
53
|
-
border-right: var(--zd_size2) solid transparent;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
57
|
-
border-top-left-radius: var(--zd_size5);
|
|
58
|
-
border-bottom-left-radius: var(--zd_size5);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
62
|
-
border-top-right-radius: var(--zd_size5);
|
|
63
|
-
border-bottom-right-radius: var(--zd_size5);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
[dir=ltr] .keyboardActive {
|
|
67
|
-
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
[dir=rtl] .keyboardActive {
|
|
71
|
-
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
[dir=ltr] .active {
|
|
75
|
-
border-left-color: var(--zdt_listLayout_active_border);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[dir=rtl] .active {
|
|
79
|
-
border-right-color: var(--zdt_listLayout_active_border);
|
|
1
|
+
.varClass {
|
|
2
|
+
--listBorder: var(--zdt_listLayout_border)
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.container {
|
|
6
|
+
position: relative;
|
|
7
|
+
composes: varClass;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.listHover:hover, .hoveredStyle, .listHover:focus-within, .hoveredStyle:focus-within {
|
|
11
|
+
background-color: var(--zdt_listLayout_hover_bg);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.active, .active:hover {
|
|
15
|
+
background-color: var(--zdt_listLayout_active_bg);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.cursorPointer {
|
|
19
|
+
cursor: pointer
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* View */
|
|
23
|
+
.classic .innerContainer {
|
|
24
|
+
min-height: var(--zd_size70) ;
|
|
25
|
+
padding: var(--zd_size13) 0 ;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.compact .innerContainer {
|
|
29
|
+
min-height: var(--zd_size41) ;
|
|
30
|
+
padding: var(--zd_size5) 0 ;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.superCompact .innerContainer {
|
|
34
|
+
min-height: var(--zd_size35) ;
|
|
35
|
+
padding: var(--zd_size2) 0 ;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.compact .innerContainer,
|
|
39
|
+
.classic .innerContainer,
|
|
40
|
+
.superCompact .innerContainer {
|
|
41
|
+
/* css:theme-validation:ignore */
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.compact .innerContainer, .classic .innerContainer, .superCompact .innerContainer {
|
|
45
|
+
border-bottom: 1px dotted var(--listBorder);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
49
|
+
border-left: var(--zd_size2) solid transparent;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[dir=rtl] .compact, [dir=rtl] .classic, [dir=rtl] .superCompact {
|
|
53
|
+
border-right: var(--zd_size2) solid transparent;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[dir=ltr] .keyboardActive, [dir=ltr] .active {
|
|
57
|
+
border-top-left-radius: var(--zd_size5);
|
|
58
|
+
border-bottom-left-radius: var(--zd_size5);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[dir=rtl] .keyboardActive, [dir=rtl] .active {
|
|
62
|
+
border-top-right-radius: var(--zd_size5);
|
|
63
|
+
border-bottom-right-radius: var(--zd_size5);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[dir=ltr] .keyboardActive {
|
|
67
|
+
border-left-color: var(--zdt_listLayout_keyboard_active_border);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[dir=rtl] .keyboardActive {
|
|
71
|
+
border-right-color: var(--zdt_listLayout_keyboard_active_border);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[dir=ltr] .active {
|
|
75
|
+
border-left-color: var(--zdt_listLayout_active_border);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[dir=rtl] .active {
|
|
79
|
+
border-right-color: var(--zdt_listLayout_active_border);
|
|
80
80
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--subject_text: var(--zdt_subject_text);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.subject {
|
|
6
|
-
composes: varClass;
|
|
7
|
-
/* css:theme-validation:ignore */
|
|
8
|
-
color: var(--subject_text);
|
|
9
|
-
display: block;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.dotted {
|
|
13
|
-
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.font_regular {
|
|
17
|
-
font-family: var(--zd_regular);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.font_semibold {
|
|
21
|
-
font-family: var(--zd_semibold);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.font_bold {
|
|
25
|
-
font-family: var(--zd_bold);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.font_semibold,
|
|
29
|
-
.font_bold {
|
|
30
|
-
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.cursorPointer {
|
|
34
|
-
cursor: pointer;
|
|
1
|
+
.varClass {
|
|
2
|
+
--subject_text: var(--zdt_subject_text);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.subject {
|
|
6
|
+
composes: varClass;
|
|
7
|
+
/* css:theme-validation:ignore */
|
|
8
|
+
color: var(--subject_text);
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.dotted {
|
|
13
|
+
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.font_regular {
|
|
17
|
+
font-family: var(--zd_regular);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.font_semibold {
|
|
21
|
+
font-family: var(--zd_semibold);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.font_bold {
|
|
25
|
+
font-family: var(--zd_bold);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.font_semibold,
|
|
29
|
+
.font_bold {
|
|
30
|
+
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cursorPointer {
|
|
34
|
+
cursor: pointer;
|
|
35
35
|
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
.varClass {
|
|
2
|
-
--icon_color: var(--zdt_thread_iconText);
|
|
3
|
-
}
|
|
4
|
-
.container {
|
|
5
|
-
composes: varClass;
|
|
6
|
-
position: relative;
|
|
7
|
-
color: var(--icon_color);
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
}
|
|
10
|
-
.container:hover {
|
|
11
|
-
--icon_color: var(--zdt_thread_hover_iconText);
|
|
12
|
-
}
|
|
13
|
-
.count {
|
|
14
|
-
font-size: var(--zd_font_size9) ;
|
|
15
|
-
}
|
|
16
|
-
.align_left .count {
|
|
17
|
-
position: absolute;
|
|
18
|
-
line-height: normal;
|
|
19
|
-
top: var(--zd_size3) ;
|
|
20
|
-
}
|
|
21
|
-
[dir=ltr] .align_left .count {
|
|
22
|
-
text-align: left;
|
|
23
|
-
left: var(--zd_size8) ;
|
|
24
|
-
}
|
|
25
|
-
[dir=rtl] .align_left .count {
|
|
26
|
-
text-align: right;
|
|
27
|
-
right: var(--zd_size8) ;
|
|
28
|
-
}
|
|
29
|
-
.align_right {
|
|
30
|
-
composes: dInflex alignFend from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
-
}
|
|
32
|
-
.align_right .count {
|
|
33
|
-
position: relative;
|
|
34
|
-
bottom: var(--zd_size2) ;
|
|
35
|
-
}
|
|
36
|
-
[dir=ltr] .align_right .count {
|
|
37
|
-
right: var(--zd_size5) ;
|
|
38
|
-
float: right;
|
|
39
|
-
}
|
|
40
|
-
[dir=rtl] .align_right .count {
|
|
41
|
-
left: var(--zd_size5) ;
|
|
42
|
-
float: left;
|
|
1
|
+
.varClass {
|
|
2
|
+
--icon_color: var(--zdt_thread_iconText);
|
|
3
|
+
}
|
|
4
|
+
.container {
|
|
5
|
+
composes: varClass;
|
|
6
|
+
position: relative;
|
|
7
|
+
color: var(--icon_color);
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
.container:hover {
|
|
11
|
+
--icon_color: var(--zdt_thread_hover_iconText);
|
|
12
|
+
}
|
|
13
|
+
.count {
|
|
14
|
+
font-size: var(--zd_font_size9) ;
|
|
15
|
+
}
|
|
16
|
+
.align_left .count {
|
|
17
|
+
position: absolute;
|
|
18
|
+
line-height: normal;
|
|
19
|
+
top: var(--zd_size3) ;
|
|
20
|
+
}
|
|
21
|
+
[dir=ltr] .align_left .count {
|
|
22
|
+
text-align: left;
|
|
23
|
+
left: var(--zd_size8) ;
|
|
24
|
+
}
|
|
25
|
+
[dir=rtl] .align_left .count {
|
|
26
|
+
text-align: right;
|
|
27
|
+
right: var(--zd_size8) ;
|
|
28
|
+
}
|
|
29
|
+
.align_right {
|
|
30
|
+
composes: dInflex alignFend from '~@zohodesk/components/lib/common/common.module.css';
|
|
31
|
+
}
|
|
32
|
+
.align_right .count {
|
|
33
|
+
position: relative;
|
|
34
|
+
bottom: var(--zd_size2) ;
|
|
35
|
+
}
|
|
36
|
+
[dir=ltr] .align_right .count {
|
|
37
|
+
right: var(--zd_size5) ;
|
|
38
|
+
float: right;
|
|
39
|
+
}
|
|
40
|
+
[dir=rtl] .align_right .count {
|
|
41
|
+
left: var(--zd_size5) ;
|
|
42
|
+
float: left;
|
|
43
43
|
}
|
|
@@ -6,43 +6,58 @@
|
|
|
6
6
|
min-height: var(--zd_size35) ;
|
|
7
7
|
cursor: pointer;
|
|
8
8
|
}
|
|
9
|
+
|
|
9
10
|
[dir=ltr] .withBorder {
|
|
10
11
|
border-left: 1px solid var(--zdt_statuslistitem_default_border);
|
|
11
12
|
}
|
|
13
|
+
|
|
12
14
|
[dir=rtl] .withBorder {
|
|
13
15
|
border-right: 1px solid var(--zdt_statuslistitem_default_border);
|
|
14
16
|
}
|
|
17
|
+
|
|
15
18
|
[dir=ltr] .small {
|
|
16
19
|
padding: var(--zd_size7) var(--zd_size3) var(--zd_size7) var(--zd_size5) ;
|
|
17
20
|
}
|
|
21
|
+
|
|
18
22
|
[dir=rtl] .small {
|
|
19
23
|
padding: var(--zd_size7) var(--zd_size5) var(--zd_size7) var(--zd_size3) ;
|
|
20
24
|
}
|
|
25
|
+
|
|
21
26
|
.medium {
|
|
22
27
|
padding: var(--zd_size7) var(--zd_size20) ;
|
|
23
28
|
}
|
|
29
|
+
|
|
24
30
|
.large {
|
|
25
31
|
height: var(--zd_size48) ;
|
|
26
32
|
}
|
|
33
|
+
|
|
27
34
|
[dir=ltr] .large {
|
|
28
35
|
padding: var(--zd_size10) var(--zd_size3) var(--zd_size10) var(--zd_size25) ;
|
|
29
36
|
}
|
|
37
|
+
|
|
30
38
|
[dir=rtl] .large {
|
|
31
39
|
padding: var(--zd_size10) var(--zd_size25) var(--zd_size10) var(--zd_size3) ;
|
|
32
40
|
}
|
|
33
|
-
|
|
41
|
+
|
|
42
|
+
.value,
|
|
43
|
+
.multiLineValue {
|
|
34
44
|
line-height: 1.5385;
|
|
35
45
|
}
|
|
46
|
+
|
|
36
47
|
.value {
|
|
37
48
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
38
49
|
}
|
|
39
|
-
|
|
50
|
+
|
|
51
|
+
.multiLineValue {
|
|
40
52
|
word-break: break-word;
|
|
53
|
+
-webkit-line-clamp: 2;
|
|
41
54
|
composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
42
55
|
}
|
|
56
|
+
|
|
43
57
|
[dir=ltr] .withBorder.active {
|
|
44
58
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
45
59
|
}
|
|
60
|
+
|
|
46
61
|
[dir=rtl] .withBorder.active {
|
|
47
62
|
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
48
63
|
}
|
|
@@ -50,44 +65,56 @@
|
|
|
50
65
|
.default.hover, .default.effect:hover {
|
|
51
66
|
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
52
67
|
}
|
|
68
|
+
|
|
53
69
|
.primary.hover, .primary.effect:hover, .selected {
|
|
54
70
|
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
55
71
|
}
|
|
72
|
+
|
|
56
73
|
.secondary.hover, .secondary.effect:hover {
|
|
57
74
|
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
58
75
|
}
|
|
76
|
+
|
|
59
77
|
.list.active.default, .list.active.primary {
|
|
60
78
|
background-color: var(--zdt_statuslistitem_primary_efffect_bg);
|
|
61
79
|
}
|
|
80
|
+
|
|
62
81
|
.list.active.secondary {
|
|
63
82
|
background-color: var(--zdt_statuslistitem_secondary_effect_bg);
|
|
64
83
|
}
|
|
84
|
+
|
|
65
85
|
.secondary.hover,
|
|
66
86
|
.secondary.effect:hover,
|
|
67
87
|
.list.active.secondary {
|
|
68
88
|
color: var(--zdt_statuslistitem_secondary_effect_text);
|
|
69
89
|
}
|
|
90
|
+
|
|
70
91
|
.tickIcon {
|
|
71
92
|
color: var(--zdt_statuslistitem_tickicon);
|
|
72
93
|
position: absolute;
|
|
73
|
-
top:50% ;
|
|
94
|
+
top: 50% ;
|
|
74
95
|
transform: translateY(-50%);
|
|
75
96
|
}
|
|
97
|
+
|
|
76
98
|
[dir=ltr] .tickIcon {
|
|
77
99
|
right: var(--zd_size20) ;
|
|
78
100
|
}
|
|
101
|
+
|
|
79
102
|
[dir=rtl] .tickIcon {
|
|
80
103
|
left: var(--zd_size20) ;
|
|
81
104
|
}
|
|
82
|
-
|
|
105
|
+
|
|
106
|
+
.tickIcon>i {
|
|
83
107
|
display: block;
|
|
84
108
|
}
|
|
109
|
+
|
|
85
110
|
[dir=ltr] .active.withTick {
|
|
86
111
|
padding-right: var(--zd_size39) ;
|
|
87
112
|
}
|
|
113
|
+
|
|
88
114
|
[dir=rtl] .active.withTick {
|
|
89
115
|
padding-left: var(--zd_size39) ;
|
|
90
116
|
}
|
|
117
|
+
|
|
91
118
|
/* Status Type */
|
|
92
119
|
.statusType {
|
|
93
120
|
width: var(--zd_size8) ;
|
|
@@ -100,12 +127,15 @@
|
|
|
100
127
|
[dir=rtl] .statusType {
|
|
101
128
|
margin-left: var(--zd_size13) ;
|
|
102
129
|
}
|
|
130
|
+
|
|
103
131
|
.black {
|
|
104
132
|
background-color: var(--zdt_statuslistitem_black_bg);
|
|
105
133
|
}
|
|
134
|
+
|
|
106
135
|
.orange {
|
|
107
136
|
background-color: var(--zdt_statuslistitem_orange_bg);
|
|
108
137
|
}
|
|
138
|
+
|
|
109
139
|
.green {
|
|
110
140
|
background-color: var(--zdt_statuslistitem_green_bg);
|
|
111
|
-
}
|
|
141
|
+
}
|
package/lib/utils/editorUtils.js
CHANGED
|
@@ -15,8 +15,8 @@ exports.isImageFormat = isImageFormat;
|
|
|
15
15
|
exports.loadResource = loadResource;
|
|
16
16
|
exports.triggerKeyup = triggerKeyup;
|
|
17
17
|
exports.validateEditorContentOnInsertHtml = validateEditorContentOnInsertHtml;
|
|
18
|
-
var ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
19
18
|
|
|
19
|
+
// editorUtils
|
|
20
20
|
function editorContentValidate(editorObj) {
|
|
21
21
|
var content = editorObj && editorObj.getContent && editorObj.getContent() || '';
|
|
22
22
|
|
|
@@ -67,13 +67,14 @@ function encodeForHtml(str) {
|
|
|
67
67
|
} // attachment
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
function isFileNameSizeInvalid(fileName) {
|
|
71
|
-
return fileName.length >
|
|
70
|
+
function isFileNameSizeInvalid(fileName, fileNameMaxCharacters) {
|
|
71
|
+
return fileName.length > fileNameMaxCharacters;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
function isImageFormat(fileName) {
|
|
74
|
+
function isImageFormat(fileName, allowedFileExtensions) {
|
|
75
75
|
var extension = getExtensionFromFileName(fileName);
|
|
76
|
-
|
|
76
|
+
var isValidExtension = allowedFileExtensions.includes(extension);
|
|
77
|
+
return isValidExtension;
|
|
77
78
|
}
|
|
78
79
|
|
|
79
80
|
function getExtensionFromFileName(fileName) {
|
|
@@ -9,10 +9,16 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _hooks = require("@zohodesk/hooks");
|
|
13
|
+
|
|
14
|
+
var _Layout = require("@zohodesk/components/es/Layout");
|
|
15
|
+
|
|
12
16
|
var _defaultProps = require("./props/defaultProps");
|
|
13
17
|
|
|
14
18
|
var _propTypes = require("./props/propTypes");
|
|
15
19
|
|
|
20
|
+
var _utils = require("../../AttachmentViewer/utils");
|
|
21
|
+
|
|
16
22
|
var _Image = _interopRequireDefault(require("../Image/Image"));
|
|
17
23
|
|
|
18
24
|
var _AttachmentViewerModule = _interopRequireDefault(require("../../AttachmentViewer/AttachmentViewer.module.css"));
|
|
@@ -36,51 +42,73 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
36
42
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
37
43
|
|
|
38
44
|
var AttachmentImage = function AttachmentImage(props) {
|
|
39
|
-
var
|
|
40
|
-
|
|
45
|
+
var onLoad = props.onLoad,
|
|
46
|
+
onError = props.onError,
|
|
41
47
|
src = props.src,
|
|
42
48
|
onClick = props.onClick,
|
|
43
49
|
alt = props.alt,
|
|
44
50
|
dataId = props.dataId,
|
|
45
51
|
id = props.id,
|
|
46
|
-
|
|
47
|
-
isCover = props.isCover
|
|
48
|
-
|
|
52
|
+
customClass = props.customClass,
|
|
53
|
+
isCover = props.isCover,
|
|
54
|
+
children = props.children;
|
|
55
|
+
var _customClass$customIm = customClass.customImageClass,
|
|
56
|
+
customImageClass = _customClass$customIm === void 0 ? '' : _customClass$customIm,
|
|
57
|
+
_customClass$customCh = customClass.customChildrenClass,
|
|
58
|
+
customChildrenClass = _customClass$customCh === void 0 ? '' : _customClass$customCh;
|
|
49
59
|
|
|
50
60
|
var _useState = (0, _react.useState)(true),
|
|
51
61
|
_useState2 = _slicedToArray(_useState, 2),
|
|
52
62
|
isLoading = _useState2[0],
|
|
53
63
|
setLoading = _useState2[1];
|
|
54
64
|
|
|
55
|
-
var
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
var _useState3 = (0, _react.useState)(false),
|
|
66
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
67
|
+
isImageValid = _useState4[0],
|
|
68
|
+
setImageValidity = _useState4[1];
|
|
59
69
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
image.addEventListener('load', imgLoad);
|
|
64
|
-
} else {
|
|
70
|
+
function handleImageValidation() {
|
|
71
|
+
(0, _utils.checkImageValidity)(src).then(function (isValid) {
|
|
72
|
+
setImageValidity(isValid);
|
|
65
73
|
setLoading(false);
|
|
66
|
-
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
(0, _react.useEffect)(function () {
|
|
78
|
+
handleImageValidation();
|
|
67
79
|
}, []);
|
|
80
|
+
(0, _hooks.useEffectCallOnlyAfterState)(function () {
|
|
81
|
+
setLoading(true);
|
|
82
|
+
handleImageValidation();
|
|
83
|
+
}, [src]);
|
|
84
|
+
|
|
85
|
+
function renderImage() {
|
|
86
|
+
return /*#__PURE__*/_react["default"].createElement(_Image["default"], {
|
|
87
|
+
htmlId: id,
|
|
88
|
+
dataId: isImageValid ? dataId : "".concat(dataId, "_alt"),
|
|
89
|
+
src: src,
|
|
90
|
+
onClick: onClick,
|
|
91
|
+
className: customImageClass,
|
|
92
|
+
alt: alt,
|
|
93
|
+
isCover: isCover,
|
|
94
|
+
onLoad: onLoad,
|
|
95
|
+
onError: onError
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
|
|
68
99
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isLoading ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
100
|
className: "".concat(_AttachmentViewerModule["default"].spinLoad),
|
|
70
101
|
"data-id": "".concat(dataId, "_loader"),
|
|
71
102
|
"data-test-id": "".concat(dataId, "_loader")
|
|
72
103
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
73
104
|
className: _AttachmentViewerModule["default"].loader
|
|
74
|
-
})) :
|
|
105
|
+
})) : isImageValid ? renderImage() : children ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
106
|
+
align: "both",
|
|
75
107
|
htmlId: id,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
className: "".concat(isLoading ? _AttachmentViewerModule["default"].hide : '', " ").concat(className),
|
|
81
|
-
alt: alt,
|
|
82
|
-
isCover: isCover
|
|
83
|
-
}));
|
|
108
|
+
dataId: "".concat(dataId, "_custom"),
|
|
109
|
+
className: customChildrenClass
|
|
110
|
+
}, children) : renderImage() //alt ui
|
|
111
|
+
);
|
|
84
112
|
};
|
|
85
113
|
|
|
86
114
|
AttachmentImage.propTypes = _propTypes.AttachmentImage_propTypes;
|