@zohodesk/dot 1.0.0-temp-200.8 → 1.0.0-temp-214
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/propValidation_report.html +1 -1
- package/README.md +12 -0
- package/es/ActionButton/ActionButton.module.css +2 -2
- package/es/AlphabeticList/AlphabeticList.module.css +2 -2
- package/es/Attachment/Attachment.module.css +1 -1
- package/es/AttachmentViewer/Attachment.js +96 -41
- package/es/AttachmentViewer/AttachmentViewer.js +8 -8
- package/es/AttachmentViewer/AttachmentViewer.module.css +9 -9
- package/es/AttachmentViewer/utils.js +19 -1
- package/es/ChannelIcon/ChannelIcon.module.css +2 -2
- package/es/DotProvider/hooks/useDotProvider.js +2 -2
- package/es/Drawer/Drawer.module.css +1 -1
- package/es/FormAction/FormAction.module.css +1 -1
- package/es/IconButton/IconButton.module.css +2 -2
- package/es/Message/Message.js +1 -1
- package/es/Message/Message.module.css +1 -1
- package/es/MessageBanner/MessageBanner.module.css +1 -1
- package/es/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +3 -3
- package/es/Onboarding/css/Onboarding.module.css +2 -2
- package/es/PlusIcon/PlusIcon.module.css +1 -1
- package/es/TagWithIcon/TagWithIcon.module.css +2 -2
- package/es/ToastMessage/ToastMessage.module.css +8 -8
- package/es/Upload/Upload.module.css +1 -1
- package/es/avatar/AvatarClose/AvatarClose.module.css +3 -3
- package/es/avatar/AvatarCollision/AvatarCollision.module.css +3 -3
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +1 -1
- package/es/avatar/AvatarStatus/AvatarStatus.module.css +2 -2
- package/es/avatar/AvatarThread/AvatarThread.module.css +2 -2
- package/es/avatar/AvatarUser/AvatarUser.module.css +3 -3
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/es/deprecated/SelectDropdown/SelectDropdown.module.css +2 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -1
- package/es/errorstate/EmptyStates.module.css +1 -1
- package/es/errorstate/WillBack/WillBack.module.css +1 -1
- package/es/form/fields/CheckBoxField/CheckBoxField.js +7 -9
- package/es/form/fields/CurrencyField/CurrencyField.js +5 -5
- package/es/form/fields/DateField/DateField.js +7 -8
- package/es/form/fields/Fields.module.css +12 -9
- package/es/form/fields/MultiSelectField/MultiSelectField.js +5 -6
- package/es/form/fields/RadioField/RadioField.js +1 -1
- package/es/form/fields/SelectField/SelectField.js +5 -6
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +2 -2
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +6 -8
- package/es/form/fields/TextBoxField/TextBoxField.js +7 -7
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +1 -1
- package/es/form/fields/TextareaField/TextareaField.js +6 -6
- package/es/form/layout/Section/ModuleFormSection.module.css +1 -1
- package/es/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/es/layout/SubtabLayout/SubtabLayout.module.css +1 -1
- package/es/list/DotNew/DotNew.module.css +1 -1
- package/es/list/ListStencils/ListStencils.module.css +3 -3
- package/es/list/SecondaryText/SecondaryText.module.css +4 -4
- package/es/list/SecondryPanel/SecondryPanel.module.css +1 -1
- package/es/list/Subject/Subject.module.css +2 -2
- package/es/list/TagNew/TagNew.module.css +1 -1
- package/es/list/Thread/Thread.module.css +1 -1
- package/es/list/listCommon.module.css +3 -3
- package/es/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/list/status/StatusDropdown/StatusDropdown.module.css +1 -1
- package/es/list/status/StatusListItem/StatusListItem.module.css +2 -2
- package/es/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
- package/es/lookup/Lookup/Lookup.js +2 -1
- package/es/lookup/Lookup/Lookup.module.css +6 -1
- package/es/lookup/Lookup/props/propTypes.js +1 -0
- package/es/lookup/Section/LookupSection.module.css +1 -1
- package/es/lookup/header/Title/LookupTitle.module.css +1 -1
- package/es/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -4
- package/es/lookup/header/lookupHeaderCommon.module.css +1 -1
- package/es/setup/header/Link/HeaderLink.module.css +2 -2
- package/es/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
- package/es/setup/table/Text/TableText.module.css +4 -4
- package/es/version2/GlobalNotification/GlobalNotification.module.css +2 -2
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/es/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -4
- package/es/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/es/version2/notification/DesktopNotification/DesktopNotification.module.css +6 -6
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/lib/ActionButton/ActionButton.module.css +2 -2
- package/lib/AlphabeticList/AlphabeticList.module.css +2 -2
- package/lib/Attachment/Attachment.module.css +1 -1
- package/lib/AttachmentViewer/Attachment.js +93 -45
- package/lib/AttachmentViewer/AttachmentViewer.js +8 -14
- package/lib/AttachmentViewer/AttachmentViewer.module.css +9 -9
- package/lib/AttachmentViewer/utils.js +21 -4
- package/lib/ChannelIcon/ChannelIcon.module.css +2 -2
- package/lib/DotProvider/hooks/useDotProvider.js +2 -2
- package/lib/Drawer/Drawer.module.css +1 -1
- package/lib/FormAction/FormAction.module.css +1 -1
- package/lib/IconButton/IconButton.module.css +2 -2
- package/lib/Message/Message.js +2 -2
- package/lib/Message/Message.module.css +1 -1
- package/lib/MessageBanner/MessageBanner.module.css +1 -1
- package/lib/Onboarding/CarouselDots/CarouselDot/css/CarouselDot.module.css +3 -3
- package/lib/Onboarding/css/Onboarding.module.css +2 -2
- package/lib/PlusIcon/PlusIcon.module.css +1 -1
- package/lib/TagWithIcon/TagWithIcon.module.css +2 -2
- package/lib/ToastMessage/ToastMessage.module.css +8 -8
- package/lib/Upload/Upload.module.css +1 -1
- package/lib/avatar/AvatarClose/AvatarClose.module.css +3 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.module.css +3 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +1 -1
- package/lib/avatar/AvatarStatus/AvatarStatus.module.css +2 -2
- package/lib/avatar/AvatarThread/AvatarThread.module.css +2 -2
- package/lib/avatar/AvatarUser/AvatarUser.module.css +3 -3
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.module.css +1 -1
- package/lib/deprecated/SelectDropdown/SelectDropdown.module.css +2 -2
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +1 -1
- package/lib/errorstate/EmptyStates.module.css +1 -1
- package/lib/errorstate/WillBack/WillBack.module.css +1 -1
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +7 -10
- package/lib/form/fields/CurrencyField/CurrencyField.js +4 -5
- package/lib/form/fields/DateField/DateField.js +6 -9
- package/lib/form/fields/Fields.module.css +12 -9
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +5 -7
- package/lib/form/fields/RadioField/RadioField.js +1 -1
- package/lib/form/fields/SelectField/SelectField.js +5 -7
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.module.css +2 -2
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +5 -8
- package/lib/form/fields/TextBoxField/TextBoxField.js +6 -8
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +2 -2
- package/lib/form/fields/TextareaField/TextareaField.js +5 -6
- package/lib/form/layout/Section/ModuleFormSection.module.css +1 -1
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.module.css +4 -4
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +1 -1
- package/lib/list/DotNew/DotNew.module.css +1 -1
- package/lib/list/ListStencils/ListStencils.module.css +3 -3
- package/lib/list/SecondaryText/SecondaryText.module.css +4 -4
- package/lib/list/SecondryPanel/SecondryPanel.module.css +1 -1
- package/lib/list/Subject/Subject.module.css +2 -2
- package/lib/list/TagNew/TagNew.module.css +1 -1
- package/lib/list/Thread/Thread.module.css +1 -1
- package/lib/list/listCommon.module.css +3 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.module.css +1 -1
- package/lib/list/status/StatusListItem/StatusListItem.module.css +2 -2
- package/lib/lookup/EmptyPage/LookupEmptyPage.module.css +1 -1
- package/lib/lookup/Lookup/Lookup.js +2 -1
- package/lib/lookup/Lookup/Lookup.module.css +6 -1
- package/lib/lookup/Lookup/props/propTypes.js +1 -0
- package/lib/lookup/Section/LookupSection.module.css +1 -1
- package/lib/lookup/header/Title/LookupTitle.module.css +1 -1
- package/lib/lookup/header/ViewDropDown/ViewDropDown.module.css +4 -4
- package/lib/lookup/header/lookupHeaderCommon.module.css +1 -1
- package/lib/setup/header/Link/HeaderLink.module.css +2 -2
- package/lib/setup/helptips/Title/HelpTipsTitle.module.css +1 -1
- package/lib/setup/table/Text/TableText.module.css +4 -4
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +2 -2
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +1 -1
- package/lib/version2/lookup/AlertLookup/AlertLookupNew.module.css +4 -4
- package/lib/version2/lookup/alertLookupCommonNew.module.css +1 -1
- package/lib/version2/notification/DesktopNotification/DesktopNotification.module.css +6 -6
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +2 -2
- package/package.json +17 -15
- package/result.json +1 -1
- package/unittest/index.html +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.dotted {
|
|
13
|
-
composes: dotted from '~@zohodesk/components/
|
|
13
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.font_regular {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
.font_semibold,
|
|
29
29
|
.font_bold {
|
|
30
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
30
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.cursorPointer {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
font-size: var(--zd_font_size13) ;
|
|
5
5
|
color: var(--zdt_tagnew_default_text);
|
|
6
6
|
composes: inlineFlex from '../listCommon.module.css';
|
|
7
|
-
composes: alignHorizontal from '~@zohodesk/components/
|
|
7
|
+
composes: alignHorizontal from '~@zohodesk/components/es/common/common.module.css';
|
|
8
8
|
transition: all var(--zd_transition2) ease 0s;
|
|
9
9
|
opacity: 0;
|
|
10
10
|
visibility: hidden;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
right: var(--zd_size8) ;
|
|
28
28
|
}
|
|
29
29
|
.align_right {
|
|
30
|
-
composes: dInflex alignFend from '~@zohodesk/components/
|
|
30
|
+
composes: dInflex alignFend from '~@zohodesk/components/es/common/common.module.css';
|
|
31
31
|
}
|
|
32
32
|
.align_right .count {
|
|
33
33
|
position: relative;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.inlineFlex {
|
|
7
|
-
composes: dInflex alignVertical from '~@zohodesk/components/
|
|
7
|
+
composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[dir=ltr] .avatarMargin {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.subject {
|
|
19
|
-
composes: dotted from '~@zohodesk/components/
|
|
19
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
20
20
|
font-size: var(--zd_font_size16) ;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* css:lineheight-validation:ignore */
|
|
24
24
|
.secondaryPanel {
|
|
25
25
|
line-height: var(--zd_size18);
|
|
26
|
-
composes: dflex alignVertical flexwrap from '~@zohodesk/components/
|
|
26
|
+
composes: dflex alignVertical flexwrap from '~@zohodesk/components/es/common/common.module.css';
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.statusColumn {
|
|
@@ -10,7 +10,7 @@ import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
|
10
10
|
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
11
11
|
import CommonEmptyState from "../../../emptystate/CommonEmptyState/CommonEmptyState";
|
|
12
12
|
import StatusListItem from "../StatusListItem/StatusListItem";
|
|
13
|
-
import commonStyle from '@zohodesk/components/
|
|
13
|
+
import commonStyle from '@zohodesk/components/es/common/common.module.css';
|
|
14
14
|
import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
|
|
15
15
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
16
16
|
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
@@ -52,7 +52,7 @@ export class StatusDropdown extends React.Component {
|
|
|
52
52
|
togglePopup(e, boxPosition);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
56
56
|
if (nextProps.options.length != this.props.options.length) {
|
|
57
57
|
this.setState({
|
|
58
58
|
options: nextProps.options
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
visibility: visible;
|
|
41
41
|
}
|
|
42
42
|
.value {
|
|
43
|
-
composes: dotted from '~@zohodesk/components/
|
|
43
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
44
44
|
}
|
|
45
45
|
.search {
|
|
46
46
|
padding: var(--zd_size6) var(--zd_size20) 0 ;
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
line-height: 1.5385;
|
|
35
35
|
}
|
|
36
36
|
.value {
|
|
37
|
-
composes: dotted from '~@zohodesk/components/
|
|
37
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
38
38
|
}
|
|
39
39
|
.multiLineValue{
|
|
40
40
|
word-break: break-word;
|
|
41
|
-
composes: clamp from '~@zohodesk/components/
|
|
41
|
+
composes: clamp from '~@zohodesk/components/es/common/common.module.css';
|
|
42
42
|
}
|
|
43
43
|
[dir=ltr] .withBorder.active {
|
|
44
44
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
.contentDiv {
|
|
8
8
|
font-size: var(--zd_font_size20) ;
|
|
9
9
|
font-family: var(--zd_semibold);
|
|
10
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
10
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
11
11
|
margin-top: var(--zd_size15) ;
|
|
12
12
|
}
|
|
@@ -56,6 +56,7 @@ export default class Lookup extends Component {
|
|
|
56
56
|
needFocusScope,
|
|
57
57
|
customProps,
|
|
58
58
|
isMinHeight,
|
|
59
|
+
containerClass,
|
|
59
60
|
lookupClass
|
|
60
61
|
} = this.props;
|
|
61
62
|
const {
|
|
@@ -93,7 +94,7 @@ export default class Lookup extends Component {
|
|
|
93
94
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
94
95
|
"data-drag-container": "true",
|
|
95
96
|
isCover: false,
|
|
96
|
-
className: isMinHeight ?
|
|
97
|
+
className: `${isMinHeight ? style.wrapper : style.coverwrap} ${style.containerWidth} ${containerClass}`
|
|
97
98
|
}, children));
|
|
98
99
|
return /*#__PURE__*/React.createElement(FreezeLayer, {
|
|
99
100
|
align: "horizontal",
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
margin: auto ;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
.containerWidth {
|
|
23
|
+
width: 100% ;
|
|
24
|
+
}
|
|
25
|
+
|
|
22
26
|
/* Size */
|
|
23
27
|
.smallSize {
|
|
24
28
|
max-width: var(--zd_size470) ;
|
|
@@ -35,10 +39,11 @@
|
|
|
35
39
|
.largeSize {
|
|
36
40
|
max-width: 70% ;
|
|
37
41
|
}
|
|
42
|
+
|
|
38
43
|
.xlargeSize {
|
|
39
44
|
max-width: 80% ;
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
.fullSize {
|
|
43
48
|
max-width: 90% ;
|
|
44
|
-
}
|
|
49
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* max-height: 80%; */
|
|
3
3
|
/* min-height: 390px; */
|
|
4
4
|
/* height: auto; */
|
|
5
|
-
composes: flexgrow from '~@zohodesk/components/
|
|
5
|
+
composes: flexgrow from '~@zohodesk/components/es/common/common.module.css';
|
|
6
6
|
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
7
7
|
background-color: var(--zdt_lookupsection_bg);
|
|
8
8
|
box-shadow: var(--zd_bs_lookupsection_shadow)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.title {
|
|
2
2
|
font-size: var(--zd_font_size16) ;
|
|
3
3
|
font-family: var(--zd_semibold);
|
|
4
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
4
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
5
5
|
vertical-align: middle;
|
|
6
6
|
word-break: break-all;
|
|
7
7
|
cursor: initial;
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
font-size: var(--zd_font_size14) ;
|
|
12
12
|
color: var(--zdt_viewdropdown_empty_text);
|
|
13
13
|
font-family: var(--zd_semibold);
|
|
14
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
14
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
15
15
|
padding: var(--zd_size12) var(--zd_size15) ;
|
|
16
16
|
}
|
|
17
17
|
.hide {
|
|
18
|
-
composes: vishidden from '~@zohodesk/components/
|
|
18
|
+
composes: vishidden from '~@zohodesk/components/es/common/common.module.css';
|
|
19
19
|
}
|
|
20
20
|
.container {
|
|
21
21
|
position: relative;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
/* Label Style */
|
|
27
27
|
.labelCnt {
|
|
28
|
-
composes: dInflex alignVertical from '~@zohodesk/components/
|
|
28
|
+
composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
|
|
29
29
|
line-height: 1.6667;
|
|
30
30
|
color: var(--zdt_viewdropdown_label_text);
|
|
31
31
|
cursor: pointer;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
.labelText {
|
|
34
34
|
font-size: var(--zd_font_size12) ;
|
|
35
35
|
max-width: var(--zd_size180) ;
|
|
36
|
-
composes: dotted from '~@zohodesk/components/
|
|
36
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
37
37
|
}
|
|
38
38
|
[dir=ltr] .labelText {
|
|
39
39
|
margin-right: var(--zd_size5) ;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
/* position: absolute;
|
|
28
28
|
right: 30px;
|
|
29
29
|
top: 50%;
|
|
30
|
-
composes: middleY from '~@zohodesk/components/
|
|
30
|
+
composes: middleY from '~@zohodesk/components/es/common/common.module.css'; */
|
|
31
31
|
}
|
|
32
32
|
.para {
|
|
33
33
|
font-size: var(--zd_font_size12) ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.container {
|
|
2
|
-
composes: dInflex alignVertical from '~@zohodesk/components/
|
|
2
|
+
composes: dInflex alignVertical from '~@zohodesk/components/es/common/common.module.css';
|
|
3
3
|
color: var(--zdt_headerlink_text);
|
|
4
4
|
font-size: var(--zd_font_size12) ;
|
|
5
5
|
}[dir=ltr] .container {
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
border-bottom: 1px solid var(--zdt_headerlink_hover_text);
|
|
18
18
|
}
|
|
19
19
|
.text {
|
|
20
|
-
composes: dotted from '~@zohodesk/components/
|
|
20
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
21
21
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.bold {
|
|
2
|
-
composes: bold from '~@zohodesk/components/
|
|
2
|
+
composes: bold from '~@zohodesk/components/es/common/common.module.css';
|
|
3
3
|
}
|
|
4
4
|
.semiBold {
|
|
5
|
-
composes: semibold from '~@zohodesk/components/
|
|
5
|
+
composes: semibold from '~@zohodesk/components/es/common/common.module.css';
|
|
6
6
|
}
|
|
7
7
|
.primaryColor {
|
|
8
8
|
color: var(--zdt_tabletext_primary_text);
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
.small {
|
|
20
20
|
font-size: var(--zd_font_size13) ;
|
|
21
21
|
max-width: 100% ;
|
|
22
|
-
composes: dotted from '~@zohodesk/components/
|
|
22
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
23
23
|
}
|
|
24
24
|
.medium {
|
|
25
25
|
font-size: var(--zd_font_size14) ;
|
|
26
26
|
max-width: 100% ;
|
|
27
|
-
composes: dotted from '~@zohodesk/components/
|
|
27
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
28
28
|
}
|
|
29
29
|
.heading {
|
|
30
30
|
text-transform: uppercase;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
pointer-events: initial;
|
|
80
80
|
color: var(--globalnotification_text_color);
|
|
81
81
|
z-index: 1;
|
|
82
|
-
composes: wbreak from '~@zohodesk/components/
|
|
82
|
+
composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
|
|
83
83
|
width: 100% ;
|
|
84
84
|
box-shadow: var(--zd_bs_globalnotification_container);
|
|
85
85
|
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
.text {
|
|
150
150
|
font-size: var(--zd_font_size14) ;
|
|
151
151
|
font-family: var(--zd_semibold);
|
|
152
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
152
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
153
153
|
line-height: 1.4286;
|
|
154
154
|
overflow: hidden;
|
|
155
155
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
font-size: var(--zd_font_size18) ;
|
|
54
54
|
line-height: 1.2222;
|
|
55
55
|
font-family: var(--zd_bold);
|
|
56
|
-
composes: ftsmooth wbreak from '~@zohodesk/components/
|
|
56
|
+
composes: ftsmooth wbreak from '~@zohodesk/components/es/common/common.module.css';
|
|
57
57
|
vertical-align: middle;
|
|
58
58
|
cursor: default;
|
|
59
59
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
color: var(--zdt_alertlookupnew_text);
|
|
7
7
|
font-size: var(--zd_font_size14) ;
|
|
8
8
|
line-height: 1.428;
|
|
9
|
-
composes: wbreak from '~@zohodesk/components/
|
|
9
|
+
composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
|
|
10
10
|
padding: var(--zd_size17) var(--zd_size30) var(--zd_size30) ;
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
height: 100% ;
|
|
35
35
|
}
|
|
36
36
|
.horizontalScroll {
|
|
37
|
-
composes: oflowx from '~@zohodesk/components/
|
|
37
|
+
composes: oflowx from '~@zohodesk/components/es/common/common.module.css';
|
|
38
38
|
}
|
|
39
39
|
.verticalScroll {
|
|
40
|
-
composes: oflowy from '~@zohodesk/components/
|
|
40
|
+
composes: oflowy from '~@zohodesk/components/es/common/common.module.css';
|
|
41
41
|
}
|
|
42
42
|
.bothScroll {
|
|
43
|
-
composes: oflowA from '~@zohodesk/components/
|
|
43
|
+
composes: oflowA from '~@zohodesk/components/es/common/common.module.css';
|
|
44
44
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
.noteTitle {
|
|
16
16
|
font-size: var(--zd_font_size13) ;
|
|
17
17
|
font-family: var(--zd_semibold);
|
|
18
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
18
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.noteUl {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.animation {
|
|
52
|
-
composes: modeForward from '~@zohodesk/components/
|
|
52
|
+
composes: modeForward from '~@zohodesk/components/es/common/animation.module.css';
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[dir=ltr] .animation {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.leftanimate {
|
|
66
|
-
composes: slideLeft from '~@zohodesk/components/
|
|
66
|
+
composes: slideLeft from '~@zohodesk/components/es/common/animation.module.css';
|
|
67
67
|
composes: animation;
|
|
68
68
|
}
|
|
69
69
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.rightanimate {
|
|
76
|
-
composes: slideRight from '~@zohodesk/components/
|
|
76
|
+
composes: slideRight from '~@zohodesk/components/es/common/animation.module.css';
|
|
77
77
|
composes: animation;
|
|
78
78
|
composes: closeAnimation;
|
|
79
79
|
}
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
position: relative;
|
|
84
84
|
color: var(--zdt_desktopnotification_message_text);
|
|
85
85
|
font-size: var(--zd_font_size11) ;
|
|
86
|
-
composes: dotted textCap from '~@zohodesk/components/
|
|
86
|
+
composes: dotted textCap from '~@zohodesk/components/es/common/common.module.css';
|
|
87
87
|
height: var(--zd_size33) ;
|
|
88
88
|
transition: padding var(--zd_transition3), height var(--zd_transition3);
|
|
89
89
|
border-top: 1px solid var(--zdt_desktopnotification_message_border);
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
font-size: var(--zd_font_size15) ;
|
|
111
111
|
line-height: 1.3333;
|
|
112
112
|
font-family: var(--zd_semibold);
|
|
113
|
-
composes: ftsmooth wbreak from '~@zohodesk/components/
|
|
113
|
+
composes: ftsmooth wbreak from '~@zohodesk/components/es/common/common.module.css';
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.subTitleMargin {
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
.infoText {
|
|
121
121
|
font-size: var(--zd_font_size14) ;
|
|
122
122
|
line-height: 1.43;
|
|
123
|
-
composes: wbreak from '~@zohodesk/components/
|
|
123
|
+
composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.secondaryInfo {
|
package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.title {
|
|
17
|
-
composes: ftsmooth from '~@zohodesk/components/
|
|
17
|
+
composes: ftsmooth from '~@zohodesk/components/es/common/common.module.css';
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[dir=ltr] .title {
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
/* Secondary Header */
|
|
91
91
|
.secondary_header {
|
|
92
|
-
composes: wbreak from '~@zohodesk/components/
|
|
92
|
+
composes: wbreak from '~@zohodesk/components/es/common/common.module.css';
|
|
93
93
|
border-radius: 0 0 var(--zd_size10) var(--zd_size10);
|
|
94
94
|
}
|
|
95
95
|
[dir=ltr] .secondary_header {
|
|
@@ -114,14 +114,14 @@
|
|
|
114
114
|
|
|
115
115
|
.txt,
|
|
116
116
|
.subTxt {
|
|
117
|
-
composes: dotted from '~@zohodesk/components/
|
|
117
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
118
118
|
/* css:theme-validation:ignore */
|
|
119
119
|
color: var(--buttonText);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.arrowWrapper {
|
|
123
123
|
position: relative;
|
|
124
|
-
composes: offSelection from '~@zohodesk/components/
|
|
124
|
+
composes: offSelection from '~@zohodesk/components/es/common/common.module.css';
|
|
125
125
|
cursor: pointer;
|
|
126
126
|
}
|
|
127
127
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
}
|
|
6
6
|
.container {
|
|
7
7
|
composes: varClass;
|
|
8
|
-
composes: h100 from '~@zohodesk/components/
|
|
8
|
+
composes: h100 from '~@zohodesk/components/es/common/common.module.css';
|
|
9
9
|
list-style: none;
|
|
10
10
|
pointer-events: initial;
|
|
11
11
|
margin: 0 ;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
padding: var(--zd_size3) 0 ;
|
|
28
28
|
}
|
|
29
29
|
.heading {
|
|
30
|
-
composes: dotted from '~@zohodesk/components/
|
|
30
|
+
composes: dotted from '~@zohodesk/components/es/common/common.module.css';
|
|
31
31
|
max-width: 100% ;
|
|
32
32
|
}
|
|
33
33
|
.list {
|
|
@@ -10,7 +10,9 @@ exports.isBrowserSupportedFile = isBrowserSupportedFile;
|
|
|
10
10
|
|
|
11
11
|
var _General = require("../utils/General");
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _utils = require("./utils");
|
|
14
|
+
|
|
15
|
+
// const UNASSIGNED = 'Unassigned';
|
|
14
16
|
var BROWSER_SUPPORTED_FILES = ['pdf', 'text', 'txt', 'css', 'jpg', 'jpeg', 'gif', 'png', 'bmp', 'ico', 'sh', 'mp3', 'wav', 'ogg'];
|
|
15
17
|
|
|
16
18
|
function isAudioFile(fileName) {
|
|
@@ -32,55 +34,101 @@ function isBrowserSupportedFile(fileName) {
|
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
function getAttachmentIconDetails(fileName) {
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
if (
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
37
|
+
var extension = (getExtensionFromFileName(fileName) || '').toLowerCase();
|
|
38
|
+
|
|
39
|
+
if (!extension) {
|
|
40
|
+
return 'ZD-GN-fileUnknown';
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
var image = _utils.SUPPORTED_FILE_EXTENSIONS.image,
|
|
44
|
+
doc = _utils.SUPPORTED_FILE_EXTENSIONS.doc,
|
|
45
|
+
pdf = _utils.SUPPORTED_FILE_EXTENSIONS.pdf,
|
|
46
|
+
html = _utils.SUPPORTED_FILE_EXTENSIONS.html,
|
|
47
|
+
ppt = _utils.SUPPORTED_FILE_EXTENSIONS.ppt,
|
|
48
|
+
zip = _utils.SUPPORTED_FILE_EXTENSIONS.zip,
|
|
49
|
+
word = _utils.SUPPORTED_FILE_EXTENSIONS.word,
|
|
50
|
+
xml = _utils.SUPPORTED_FILE_EXTENSIONS.xml,
|
|
51
|
+
sheet = _utils.SUPPORTED_FILE_EXTENSIONS.sheet,
|
|
52
|
+
audio = _utils.SUPPORTED_FILE_EXTENSIONS.audio,
|
|
53
|
+
video = _utils.SUPPORTED_FILE_EXTENSIONS.video,
|
|
54
|
+
mail = _utils.SUPPORTED_FILE_EXTENSIONS.mail,
|
|
55
|
+
linux = _utils.SUPPORTED_FILE_EXTENSIONS.linux,
|
|
56
|
+
css = _utils.SUPPORTED_FILE_EXTENSIONS.css,
|
|
57
|
+
exe = _utils.SUPPORTED_FILE_EXTENSIONS.exe,
|
|
58
|
+
event = _utils.SUPPORTED_FILE_EXTENSIONS.event;
|
|
59
|
+
|
|
60
|
+
if (image.includes(extension)) {
|
|
61
|
+
return 'ZD-EF-fileImage';
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (doc.includes(extension)) {
|
|
65
|
+
return 'ZD-GN-fileDoc';
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (pdf.includes(extension)) {
|
|
69
|
+
return 'ZD-EF-filePdf';
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (ppt.includes(extension)) {
|
|
73
|
+
return 'ZD-GN-filePpt';
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (zip.includes(extension)) {
|
|
77
|
+
return 'ZD-EF-fileZip';
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
if (word.includes(extension)) {
|
|
81
|
+
var OSName = (navigator.platform || '').toLowerCase();
|
|
65
82
|
return OSName.includes('mac') || OSName.includes('linux') ? 'ZD-EF-fileOffice' : 'ZD-EF-fileWord';
|
|
66
83
|
}
|
|
67
84
|
|
|
68
|
-
if (
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if (
|
|
85
|
+
if (xml.includes(extension)) {
|
|
86
|
+
return 'ZD-EF-fileXml';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (sheet.includes(extension)) {
|
|
90
|
+
return 'ZD-GN-fileSheet';
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
if (audio.includes(extension)) {
|
|
94
|
+
return 'ZD-EF-fileMp3';
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (video.includes(extension)) {
|
|
98
|
+
return 'ZD-EF-fileMp4';
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
if (mail.includes(extension)) {
|
|
102
|
+
return 'ZD-GN-fileMail';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (linux.includes(extension)) {
|
|
106
|
+
return 'ZD-EF-linux';
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (css.includes(extension)) {
|
|
110
|
+
return 'ZD-EF-clrCss';
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
if (exe.includes(extension)) {
|
|
114
|
+
return 'ZD-EF-exe';
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (event.includes(extension)) {
|
|
118
|
+
return 'ZD-TK-event';
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if (html.includes(extension)) {
|
|
122
|
+
var browser = ((0, _General.getBrowserWithVersion)() || '').toLowerCase();
|
|
123
|
+
|
|
124
|
+
if (browser.includes('chrome') || browser.includes('safari')) {
|
|
125
|
+
return 'ZD-EF-fileXml';
|
|
126
|
+
}
|
|
77
127
|
|
|
78
|
-
|
|
79
|
-
|
|
128
|
+
if (browser.includes('ie') || browser.includes('edge')) {
|
|
129
|
+
return 'ZD-EF-explorer';
|
|
130
|
+
}
|
|
80
131
|
|
|
81
|
-
var browser = ((_getBrowserWithVersio = (0, _General.getBrowserWithVersion)()) === null || _getBrowserWithVersio === void 0 ? void 0 : _getBrowserWithVersio.toLowerCase()) || '';
|
|
82
|
-
if (browser.includes('chrome') || browser.includes('safari')) return 'ZD-EF-fileXml';
|
|
83
|
-
if (browser.includes('ie') || browser.includes('edge')) return 'ZD-EF-explorer';
|
|
84
132
|
return 'ZD-EF-firebox';
|
|
85
133
|
}
|
|
86
134
|
|