@zohodesk/dot 1.4.12 → 1.4.14
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 +13 -0
- package/coverage/ExternalLink/ExternalLink.js.html +1 -1
- package/coverage/ExternalLink/ExternalLink.module.css.html +1 -1
- package/coverage/ExternalLink/index.html +1 -1
- package/coverage/ExternalLink/props/defaultProps.js.html +1 -1
- package/coverage/ExternalLink/props/index.html +1 -1
- package/coverage/ExternalLink/props/propTypes.js.html +1 -1
- package/coverage/IconButton/IconButton.js.html +1 -1
- package/coverage/IconButton/IconButton.module.css.html +2 -5
- package/coverage/IconButton/index.html +1 -1
- package/coverage/IconButton/props/defaultProps.js.html +1 -1
- package/coverage/IconButton/props/index.html +1 -1
- package/coverage/IconButton/props/propTypes.js.html +1 -1
- package/coverage/Image/Image.js.html +1 -1
- package/coverage/Image/Image.module.css.html +1 -1
- package/coverage/Image/index.html +1 -1
- package/coverage/Image/props/defaultProps.js.html +1 -1
- package/coverage/Image/props/index.html +1 -1
- package/coverage/Image/props/propTypes.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/AvatarWithTeam.module.css.html +1 -1
- package/coverage/avatar/AvatarWithTeam/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/defaultProps.js.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/index.html +1 -1
- package/coverage/avatar/AvatarWithTeam/props/propTypes.js.html +1 -1
- package/coverage/index.html +1 -1
- package/es/ActionButton/ActionButton.module.css +51 -4
- package/es/AlphabeticList/AlphabeticList.module.css +0 -2
- package/es/AttachmentViewer/AttachmentViewer.module.css +0 -2
- package/es/ChannelIcon/ChannelIcon.module.css +9 -4
- package/es/Drawer/Drawer.js +4 -5
- package/es/ExternalLink/ExternalLink.js +4 -5
- package/es/FlipCard/FlipCard.js +14 -12
- package/es/FormAction/FormAction.module.css +18 -1
- package/es/FreezeLayer/FreezeLayer.js +1 -1
- package/es/IconButton/IconButton.js +4 -5
- package/es/IconButton/IconButton.module.css +0 -1
- package/es/Link/Link.js +8 -10
- package/es/Message/Message.js +4 -5
- package/es/TagWithIcon/TagWithIcon.module.css +0 -3
- package/es/ToastMessage/ToastMessage.js +2 -4
- package/es/actions/AutoClose.js +2 -1
- package/es/alert/AlertLookup/AlertLookup.js +14 -12
- package/es/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/avatar/AvatarIcon/AvatarIcon.js +4 -5
- package/es/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
- package/es/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +36 -24
- package/es/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/es/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/es/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
- package/es/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/form/fields/CurrencyField/CurrencyField.js +14 -12
- package/es/form/fields/DateField/DateField.js +14 -14
- package/es/form/fields/MultiSelectField/MultiSelectField.js +13 -12
- package/es/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/form/fields/RadioField/RadioField.js +21 -15
- package/es/form/fields/SelectField/SelectField.js +14 -14
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +13 -10
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/form/fields/TextBoxField/TextBoxField.js +14 -14
- package/es/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/form/fields/TextareaField/TextareaField.js +16 -13
- package/es/form/fields/TextareaField/props/propTypes.js +1 -0
- package/es/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
- package/es/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/layout/SubtabLayout/SubtabLayout.module.css +0 -2
- package/es/list/Comment/Comment.module.css +0 -1
- package/es/list/Dot/Dot.module.css +0 -1
- package/es/list/ListLayout/ListLayout.js +4 -5
- package/es/list/ListLayout/ListLayout.module.css +0 -6
- package/es/list/SecondaryText/AccountName.js +12 -12
- package/es/list/SecondaryText/ContactName.js +8 -9
- package/es/list/SecondaryText/Email.js +8 -8
- package/es/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/list/SecondaryText/SecondaryText.js +4 -5
- package/es/list/SecondaryText/TicketId.js +7 -7
- package/es/list/Subject/Subject.js +7 -7
- package/es/list/Subject/Subject.module.css +8 -1
- package/es/list/Thread/Thread.module.css +0 -1
- package/es/list/status/StatusListItem/StatusListItem.js +5 -5
- package/es/lookup/Lookup/Lookup.js +7 -7
- package/es/lookup/Lookup/Lookup.module.css +4 -1
- package/es/lookup/Lookup/props/propTypes.js +3 -2
- package/es/lookup/header/Search/Search.js +5 -3
- package/es/lookup/header/TicketHeader/TicketHeader.js +88 -73
- package/es/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/es/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/v1/ActionButton/ActionButton.js +1 -1
- package/es/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/es/v1/Drawer/Drawer.js +6 -7
- package/es/v1/ExternalLink/ExternalLink.js +4 -5
- package/es/v1/FlipCard/FlipCard.js +15 -13
- package/es/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/es/v1/GlobalNotification/GlobalNotification.js +6 -7
- package/es/v1/IconButton/IconButton.js +4 -5
- package/es/v1/Link/Link.js +8 -10
- package/es/v1/Loader/Loader.js +1 -1
- package/es/v1/Message/Message.js +4 -5
- package/es/v1/ToastMessage/ToastMessage.js +4 -6
- package/es/v1/actions/AutoClose.js +2 -1
- package/es/v1/alert/AlertLookup/AlertLookup.js +16 -16
- package/es/v1/avatar/AvatarClose/AvatarClose.js +7 -7
- package/es/v1/avatar/AvatarCollision/AvatarCollision.js +7 -7
- package/es/v1/avatar/AvatarIcon/AvatarIcon.js +5 -6
- package/es/v1/avatar/AvatarStatus/AvatarStatus.js +7 -8
- package/es/v1/avatar/AvatarThread/AvatarThread.js +7 -7
- package/es/v1/avatar/AvatarUser/AvatarUser.js +10 -9
- package/es/v1/avatar/AvatarWithTeam/AvatarWithTeam.js +17 -14
- package/es/v1/dropdown/ToggleDropDown/ToggleDropDown.js +39 -27
- package/es/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/es/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/es/v1/form/fields/CheckBoxField/CheckBoxField.js +15 -13
- package/es/v1/form/fields/CurrencyField/CurrencyField.js +15 -13
- package/es/v1/form/fields/DateField/DateField.js +15 -15
- package/es/v1/form/fields/MultiSelectField/MultiSelectField.js +14 -13
- package/es/v1/form/fields/PhoneField/PhoneField.js +7 -7
- package/es/v1/form/fields/RadioField/RadioField.js +21 -16
- package/es/v1/form/fields/SelectField/SelectField.js +15 -15
- package/es/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +14 -11
- package/es/v1/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +11 -11
- package/es/v1/form/fields/TextBoxField/TextBoxField.js +15 -15
- package/es/v1/form/fields/TextEditorField/TextEditorField.js +11 -10
- package/es/v1/form/fields/TextEditorWrapper/TextEditorWrapper.js +11 -10
- package/es/v1/form/fields/TextareaField/TextareaField.js +17 -14
- package/es/v1/form/fields/TextareaField/props/propTypes.js +1 -0
- package/es/v1/layout/SubtabLayout/SubtabLayout.js +4 -6
- package/es/v1/list/ListLayout/ListLayout.js +4 -5
- package/es/v1/list/SecondaryText/AccountName.js +12 -12
- package/es/v1/list/SecondaryText/ContactName.js +8 -9
- package/es/v1/list/SecondaryText/Email.js +8 -8
- package/es/v1/list/SecondaryText/PhoneNumber.js +8 -8
- package/es/v1/list/SecondaryText/SecondaryText.js +4 -5
- package/es/v1/list/SecondaryText/TicketId.js +7 -7
- package/es/v1/list/Subject/Subject.js +7 -7
- package/es/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/es/v1/list/status/StatusListItem/StatusListItem.js +6 -6
- package/es/v1/lookup/Lookup/Lookup.js +7 -7
- package/es/v1/lookup/Lookup/props/propTypes.js +3 -2
- package/es/v1/lookup/header/Search/Search.js +5 -3
- package/es/v1/lookup/header/TicketHeader/TicketHeader.js +30 -12
- package/es/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/es/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/es/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/v1/notification/DesktopNotification/DesktopNotification.js +7 -8
- package/es/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/es/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +6 -7
- package/es/version2/GlobalNotification/GlobalNotification.module.css +0 -4
- package/es/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +0 -1
- package/es/version2/lookup/AlertLookup/AlertLookup.js +15 -15
- package/es/version2/notification/DesktopNotification/DesktopNotification.js +6 -7
- package/es/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -2
- package/lib/ActionButton/ActionButton.module.css +51 -4
- package/lib/AlphabeticList/AlphabeticList.module.css +0 -2
- package/lib/AttachmentViewer/AttachmentViewer.module.css +0 -2
- package/lib/ChannelIcon/ChannelIcon.module.css +9 -4
- package/lib/FormAction/FormAction.module.css +18 -1
- package/lib/FreezeLayer/FreezeLayer.js +1 -1
- package/lib/IconButton/IconButton.module.css +0 -1
- package/lib/TagWithIcon/TagWithIcon.module.css +0 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.module.css +0 -6
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +8 -0
- package/lib/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/lib/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.module.css +0 -4
- package/lib/form/fields/RadioField/RadioField.js +3 -0
- package/lib/form/fields/TextareaField/TextareaField.js +2 -0
- package/lib/form/fields/TextareaField/props/propTypes.js +1 -0
- package/lib/form/fields/ValidationMessage/ValidationMessage.module.css +0 -1
- package/lib/layout/SubtabLayout/SubtabLayout.module.css +0 -2
- package/lib/list/Comment/Comment.module.css +0 -1
- package/lib/list/Dot/Dot.module.css +0 -1
- package/lib/list/ListLayout/ListLayout.module.css +0 -6
- package/lib/list/Subject/Subject.module.css +8 -1
- package/lib/list/Thread/Thread.module.css +0 -1
- package/lib/lookup/Lookup/Lookup.js +3 -2
- package/lib/lookup/Lookup/Lookup.module.css +4 -1
- package/lib/lookup/Lookup/props/propTypes.js +3 -2
- package/lib/lookup/header/TicketHeader/TicketHeader.js +93 -106
- package/lib/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/lib/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/v1/ActionButton/ActionButton.js +1 -1
- package/lib/v1/AttachmentViewer/AttachmentViewer.js +2 -2
- package/lib/v1/Drawer/Drawer.js +2 -2
- package/lib/v1/FlipCard/FlipCard.js +1 -1
- package/lib/v1/FreezeLayer/FreezeLayer.js +2 -2
- package/lib/v1/Loader/Loader.js +1 -1
- package/lib/v1/ToastMessage/ToastMessage.js +2 -2
- package/lib/v1/alert/AlertLookup/AlertLookup.js +1 -1
- package/lib/v1/avatar/AvatarIcon/AvatarIcon.js +1 -1
- package/lib/v1/dropdown/ToggleDropDown/ToggleDropDown.js +11 -3
- package/lib/v1/dropdown/ToggleDropDown/props/defaultProps.js +2 -0
- package/lib/v1/dropdown/ToggleDropDown/props/propTypes.js +4 -0
- package/lib/v1/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/v1/form/fields/DateField/DateField.js +1 -1
- package/lib/v1/form/fields/MultiSelectField/MultiSelectField.js +1 -1
- package/lib/v1/form/fields/RadioField/RadioField.js +3 -0
- package/lib/v1/form/fields/SelectField/SelectField.js +1 -1
- package/lib/v1/form/fields/TagsMultiSelect/TagsMultiSelect.js +1 -1
- package/lib/v1/form/fields/TextBoxField/TextBoxField.js +1 -1
- package/lib/v1/form/fields/TextareaField/TextareaField.js +3 -1
- package/lib/v1/form/fields/TextareaField/props/propTypes.js +1 -0
- package/lib/v1/list/status/StatusDropdown/StatusDropdown.js +2 -2
- package/lib/v1/list/status/StatusListItem/StatusListItem.js +1 -1
- package/lib/v1/lookup/Lookup/Lookup.js +3 -2
- package/lib/v1/lookup/Lookup/props/propTypes.js +3 -2
- package/lib/v1/lookup/header/TicketHeader/TicketHeader.js +37 -12
- package/lib/v1/lookup/header/TicketHeader/props/defaultProps.js +7 -1
- package/lib/v1/lookup/header/TicketHeader/props/propTypes.js +2 -1
- package/lib/v1/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/v1/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/v1/notification/DesktopNotification/props/defaultProps.js +1 -1
- package/lib/v1/notification/DesktopNotificationHeader/props/defaultProps.js +1 -1
- package/lib/version2/GlobalNotification/GlobalNotification.module.css +0 -4
- package/lib/version2/lookup/AlertHeader/css/AlertHeaderNew.module.css +0 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.module.css +0 -2
- package/package.json +11 -11
- package/result.json +1 -1
- package/es/v1/Provider/Config.js +0 -20
- package/lib/v1/Provider/Config.js +0 -29
- /package/es/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
- /package/lib/{FreezeLayer → Hooks}/useFreezeLayer.js +0 -0
|
@@ -3,121 +3,163 @@
|
|
|
3
3
|
--buttonBorder: var(--zdt_actionButton_primary_border);
|
|
4
4
|
--buttonSeparatorBorder: var(--zdt_actionButton_separator_border);
|
|
5
5
|
}
|
|
6
|
+
|
|
6
7
|
.container {
|
|
7
8
|
composes: varClass;
|
|
8
9
|
}
|
|
10
|
+
|
|
9
11
|
.container:hover {
|
|
10
12
|
--buttonSeparatorBorder: var(--zdt_actionButton_separator_hover_border);
|
|
11
13
|
}
|
|
14
|
+
|
|
12
15
|
.primaryFilledBox {
|
|
13
16
|
--buttonText: var(--zdt_actionButton_primaryFilled_text);
|
|
14
17
|
}
|
|
15
|
-
|
|
18
|
+
|
|
19
|
+
.primaryFilledBtn,
|
|
20
|
+
.primaryFilledArw {
|
|
16
21
|
/* css:theme-validation:ignore */
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.primaryFilledBtn, .primaryFilledArw {
|
|
17
25
|
background-color: var(--buttonBg);
|
|
18
26
|
}
|
|
27
|
+
|
|
19
28
|
.primaryBox {
|
|
20
29
|
--buttonText: var(--zdt_actionButton_primary_text);
|
|
21
30
|
}
|
|
22
|
-
|
|
31
|
+
|
|
32
|
+
.primaryBtn,
|
|
33
|
+
.primaryArw {
|
|
23
34
|
/* css:theme-validation:ignore */
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.primaryBtn, .primaryArw {
|
|
24
38
|
border: 1px solid var(--buttonBorder);
|
|
25
39
|
}
|
|
40
|
+
|
|
26
41
|
[dir=ltr] .primaryBtn {
|
|
27
42
|
border-right: none;
|
|
28
43
|
}
|
|
44
|
+
|
|
29
45
|
[dir=rtl] .primaryBtn {
|
|
30
46
|
border-left: none;
|
|
31
47
|
}
|
|
48
|
+
|
|
32
49
|
.contentBox,
|
|
33
50
|
.arrowWrapper {
|
|
34
51
|
transition: width var(--zd_transition3), padding var(--zd_transition3), background-color var(--zd_transition2), border-color var(--zd_transition2);
|
|
35
52
|
}
|
|
53
|
+
|
|
36
54
|
.contentBox, .arrowWrapper {
|
|
37
55
|
margin: 0 ;
|
|
38
56
|
}
|
|
57
|
+
|
|
39
58
|
.clickable {
|
|
40
59
|
cursor: pointer;
|
|
41
60
|
}
|
|
61
|
+
|
|
42
62
|
[dir=ltr] .contentBoxBdr {
|
|
43
63
|
border-radius: var(--zd_size4) 0 0 var(--zd_size4);
|
|
44
64
|
}
|
|
65
|
+
|
|
45
66
|
[dir=rtl] .contentBoxBdr {
|
|
46
67
|
border-radius: 0 var(--zd_size4) var(--zd_size4) 0;
|
|
47
68
|
}
|
|
69
|
+
|
|
48
70
|
.contentBoxBdrRds {
|
|
49
71
|
border-radius: var(--zd_size4);
|
|
50
72
|
}
|
|
73
|
+
|
|
51
74
|
.small {
|
|
52
75
|
height: var(--zd_size28) ;
|
|
53
76
|
}
|
|
77
|
+
|
|
54
78
|
.medium,
|
|
55
79
|
.large {
|
|
56
80
|
height: var(--zd_size30) ;
|
|
57
81
|
}
|
|
82
|
+
|
|
58
83
|
.medium {
|
|
59
84
|
min-width: var(--zd_size115) ;
|
|
60
85
|
}
|
|
86
|
+
|
|
61
87
|
.large {
|
|
62
88
|
min-width: var(--zd_size135) ;
|
|
63
89
|
}
|
|
90
|
+
|
|
64
91
|
.small_btnBox {
|
|
65
92
|
padding: 0 var(--zd_size8) ;
|
|
66
93
|
}
|
|
94
|
+
|
|
67
95
|
.medium_btnBox, .large_btnBox {
|
|
68
96
|
padding: 0 var(--zd_size10) ;
|
|
69
97
|
}
|
|
98
|
+
|
|
70
99
|
.txt {
|
|
71
100
|
font-size: var(--zd_font_size13) ;
|
|
72
101
|
font-family: var(--zd_semibold);
|
|
73
102
|
text-transform: capitalize;
|
|
74
103
|
}
|
|
104
|
+
|
|
75
105
|
.subTxt {
|
|
76
106
|
font-size: var(--zd_font_size10) ;
|
|
77
107
|
}
|
|
108
|
+
|
|
78
109
|
.contentwrapper,
|
|
79
110
|
.txt,
|
|
80
111
|
.subTxt {
|
|
81
112
|
max-width: 100% ;
|
|
82
113
|
}
|
|
114
|
+
|
|
83
115
|
.txt,
|
|
84
116
|
.subTxt {
|
|
85
117
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
86
118
|
/* css:theme-validation:ignore */
|
|
87
119
|
color: var(--buttonText);
|
|
88
120
|
}
|
|
121
|
+
|
|
89
122
|
.arrowWrapper {
|
|
90
123
|
position: relative;
|
|
91
124
|
composes: offSelection from '~@zohodesk/components/lib/common/common.module.css';
|
|
92
125
|
cursor: pointer;
|
|
93
126
|
}
|
|
127
|
+
|
|
94
128
|
[dir=ltr] .arrowWrapper {
|
|
95
129
|
border-radius: 0 var(--zd_size4) var(--zd_size4) 0;
|
|
96
130
|
}
|
|
131
|
+
|
|
97
132
|
[dir=rtl] .arrowWrapper {
|
|
98
133
|
border-radius: var(--zd_size4) 0 0 var(--zd_size4);
|
|
99
134
|
}
|
|
135
|
+
|
|
100
136
|
.primaryFilledArw {
|
|
101
137
|
/* css:theme-validation:ignore */
|
|
102
138
|
}
|
|
139
|
+
|
|
103
140
|
[dir=ltr] .primaryFilledArw {
|
|
104
141
|
border-left: 1px solid var(--buttonSeparatorBorder);
|
|
105
142
|
}
|
|
143
|
+
|
|
106
144
|
[dir=rtl] .primaryFilledArw {
|
|
107
|
-
|
|
145
|
+
border-right: 1px solid var(--buttonSeparatorBorder);
|
|
108
146
|
}
|
|
147
|
+
|
|
109
148
|
.small_arrowBox {
|
|
110
149
|
width: var(--zd_size20) ;
|
|
111
150
|
}
|
|
151
|
+
|
|
112
152
|
.medium_arrowBox {
|
|
113
153
|
width: var(--zd_size26) ;
|
|
114
154
|
}
|
|
155
|
+
|
|
115
156
|
.primaryFilledArw:hover,
|
|
116
157
|
.primaryFilledArw.arrowActive,
|
|
117
158
|
.clickable.primaryFilledBtn:hover,
|
|
118
159
|
.wholeDiv.primaryFilledBox:hover {
|
|
119
160
|
--buttonBg: var(--zdt_actionButton_primaryFilled_hover_bg);
|
|
120
161
|
}
|
|
162
|
+
|
|
121
163
|
.primaryArw:hover,
|
|
122
164
|
.primaryArw.arrowActive,
|
|
123
165
|
.clickable.primaryBtn:hover,
|
|
@@ -125,22 +167,27 @@
|
|
|
125
167
|
--buttonBorder: var(--zdt_actionButton_primary_hover_border);
|
|
126
168
|
--buttonText: var(--zdt_actionButton_primary_hover_text);
|
|
127
169
|
}
|
|
170
|
+
|
|
128
171
|
.btn {
|
|
129
172
|
height: 100% ;
|
|
130
173
|
width: 100% ;
|
|
131
174
|
}
|
|
175
|
+
|
|
132
176
|
.popupWrapper {
|
|
133
177
|
padding: var(--zd_size10) 0 ;
|
|
134
178
|
margin: var(--zd_size5) 0 ;
|
|
135
179
|
}
|
|
180
|
+
|
|
136
181
|
.arrow,
|
|
137
182
|
.iconClr {
|
|
138
183
|
/* css:theme-validation:ignore */
|
|
139
184
|
color: var(--buttonText);
|
|
140
185
|
}
|
|
186
|
+
|
|
141
187
|
[dir=ltr] .iconMrgn {
|
|
142
188
|
margin-right: var(--zd_size6) ;
|
|
143
189
|
}
|
|
190
|
+
|
|
144
191
|
[dir=rtl] .iconMrgn {
|
|
145
192
|
margin-left: var(--zd_size6) ;
|
|
146
|
-
}
|
|
193
|
+
}
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
.list {
|
|
34
34
|
font-size: var(--zd_font_size11) ;
|
|
35
35
|
flex-basis: var(--zd_size12) ;
|
|
36
|
-
/* css:theme-validation:ignore */
|
|
37
36
|
color: var(--textColor);
|
|
38
37
|
text-align: center;
|
|
39
38
|
cursor: pointer;
|
|
@@ -50,7 +49,6 @@
|
|
|
50
49
|
}
|
|
51
50
|
.list :hover,
|
|
52
51
|
.selected {
|
|
53
|
-
/* css:theme-validation:ignore */
|
|
54
52
|
color: var(--textHoverColor);
|
|
55
53
|
}
|
|
56
54
|
.title {
|
|
@@ -154,7 +154,6 @@
|
|
|
154
154
|
.imgItem {
|
|
155
155
|
height: var(--zd_size60) ;
|
|
156
156
|
min-width: var(--zd_size40) ;
|
|
157
|
-
/* css:theme-validation:ignore */
|
|
158
157
|
position: relative;
|
|
159
158
|
transition: border var(--zd_transition3);
|
|
160
159
|
border-width: 2px;
|
|
@@ -346,7 +345,6 @@
|
|
|
346
345
|
}
|
|
347
346
|
|
|
348
347
|
.btn {
|
|
349
|
-
/* css:theme-validation:ignore */
|
|
350
348
|
height: 100% ;
|
|
351
349
|
width: 100% ;
|
|
352
350
|
background-color: var(--dot_mirror);
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
--topIconColor: var(--zdt_channelIcon_topIcon_iconGreen);
|
|
5
5
|
--topIconBorderColor: var(--zdt_channelIcon_topIcon_border);
|
|
6
6
|
}
|
|
7
|
+
|
|
7
8
|
.container {
|
|
8
9
|
position: relative;
|
|
9
10
|
composes: dInflex from '~@zohodesk/components/lib/common/common.module.css';
|
|
10
11
|
vertical-align: middle;
|
|
11
12
|
composes: varClass;
|
|
12
13
|
}
|
|
14
|
+
|
|
13
15
|
.thread {
|
|
14
16
|
composes: dflex alignVertical alignHorizontal rounded from '~@zohodesk/components/lib/common/common.module.css';
|
|
15
17
|
position: absolute;
|
|
@@ -19,19 +21,21 @@
|
|
|
19
21
|
/* css:theme-validation:ignore */
|
|
20
22
|
background-color: var(--topIconBg);
|
|
21
23
|
}
|
|
24
|
+
|
|
22
25
|
[dir=ltr] .thread {
|
|
23
26
|
right: calc( var(--zd_size1) * -1 ) ;
|
|
24
27
|
}
|
|
28
|
+
|
|
25
29
|
[dir=rtl] .thread {
|
|
26
30
|
left: calc( var(--zd_size1) * -1 ) ;
|
|
27
31
|
}
|
|
32
|
+
|
|
28
33
|
.threadBorder {
|
|
29
|
-
/* css:theme-validation:ignore */
|
|
30
34
|
border: 1px solid var(--topIconBorderColor);
|
|
31
35
|
}
|
|
36
|
+
|
|
32
37
|
.iconStyle {
|
|
33
38
|
position: relative;
|
|
34
|
-
/* css:theme-validation:ignore */
|
|
35
39
|
color: var(--iconColor);
|
|
36
40
|
}
|
|
37
41
|
|
|
@@ -212,10 +216,11 @@
|
|
|
212
216
|
.topic_olive {
|
|
213
217
|
--topIconColor: var(--zdt_channelIcon_topIcon_iconGreen);
|
|
214
218
|
}
|
|
219
|
+
|
|
215
220
|
.topic_yellow3 {
|
|
216
221
|
--topIconColor: var(--zdt_channelIcon_topIcon_iconYellow);
|
|
217
222
|
}
|
|
223
|
+
|
|
218
224
|
.topicIcon {
|
|
219
|
-
/* css:theme-validation:ignore */
|
|
220
225
|
color: var(--topIconColor);
|
|
221
|
-
}
|
|
226
|
+
}
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
--footerBg: var(--zdt_formAction_bg);
|
|
3
3
|
--footerBorder: var(--zdt_formAction_border);
|
|
4
4
|
}
|
|
5
|
+
|
|
5
6
|
.wrapperDiv {
|
|
6
7
|
position: relative;
|
|
7
8
|
z-index: 1;
|
|
8
9
|
composes: varClass;
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
.footerParent {
|
|
11
13
|
position: relative;
|
|
12
14
|
/* css:theme-validation:ignore */
|
|
@@ -14,14 +16,17 @@
|
|
|
14
16
|
background-color: var(--footerBg);
|
|
15
17
|
border-top: solid 1px var(--footerBorder);
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
.largeFooter {
|
|
18
21
|
padding-top: var(--zd_size24) ;
|
|
19
22
|
padding-bottom: var(--zd_size24) ;
|
|
20
23
|
}
|
|
24
|
+
|
|
21
25
|
.mediumFooter {
|
|
22
26
|
padding-top: var(--zd_size20) ;
|
|
23
27
|
padding-bottom: var(--zd_size20) ;
|
|
24
28
|
}
|
|
29
|
+
|
|
25
30
|
.smallFooter {
|
|
26
31
|
padding-top: var(--zd_size10) ;
|
|
27
32
|
padding-bottom: var(--zd_size10) ;
|
|
@@ -34,27 +39,35 @@
|
|
|
34
39
|
[dir=rtl] .largePadding {
|
|
35
40
|
padding-right: var(--zd_size60) ;
|
|
36
41
|
}
|
|
42
|
+
|
|
37
43
|
[dir=ltr] .mediumPadding {
|
|
38
44
|
padding-left: var(--zd_size50) ;
|
|
39
45
|
}
|
|
46
|
+
|
|
40
47
|
[dir=rtl] .mediumPadding {
|
|
41
48
|
padding-right: var(--zd_size50) ;
|
|
42
49
|
}
|
|
50
|
+
|
|
43
51
|
[dir=ltr] .xmediumPadding {
|
|
44
52
|
padding-left: var(--zd_size30) ;
|
|
45
53
|
}
|
|
54
|
+
|
|
46
55
|
[dir=rtl] .xmediumPadding {
|
|
47
56
|
padding-right: var(--zd_size30) ;
|
|
48
57
|
}
|
|
58
|
+
|
|
49
59
|
[dir=ltr] .smallPadding {
|
|
50
60
|
padding-left: var(--zd_size25) ;
|
|
51
61
|
}
|
|
62
|
+
|
|
52
63
|
[dir=rtl] .smallPadding {
|
|
53
64
|
padding-right: var(--zd_size25) ;
|
|
54
65
|
}
|
|
66
|
+
|
|
55
67
|
[dir=ltr] .xsmallPadding {
|
|
56
68
|
padding-left: var(--zd_size20) ;
|
|
57
69
|
}
|
|
70
|
+
|
|
58
71
|
[dir=rtl] .xsmallPadding {
|
|
59
72
|
padding-right: var(--zd_size20) ;
|
|
60
73
|
}
|
|
@@ -62,15 +75,19 @@
|
|
|
62
75
|
.marginRight {
|
|
63
76
|
composes: dinblk from '~@zohodesk/components/lib/common/common.module.css';
|
|
64
77
|
}
|
|
78
|
+
|
|
65
79
|
[dir=ltr] .largeFooter .marginRight, [dir=ltr] .mediumFooter .marginRight {
|
|
66
80
|
margin-right: var(--zd_size15) ;
|
|
67
81
|
}
|
|
82
|
+
|
|
68
83
|
[dir=rtl] .largeFooter .marginRight, [dir=rtl] .mediumFooter .marginRight {
|
|
69
84
|
margin-left: var(--zd_size15) ;
|
|
70
85
|
}
|
|
86
|
+
|
|
71
87
|
[dir=ltr] .smallFooter .marginRight {
|
|
72
88
|
margin-right: var(--zd_size12) ;
|
|
73
89
|
}
|
|
90
|
+
|
|
74
91
|
[dir=rtl] .smallFooter .marginRight {
|
|
75
92
|
margin-left: var(--zd_size12) ;
|
|
76
93
|
}
|
|
@@ -81,4 +98,4 @@
|
|
|
81
98
|
|
|
82
99
|
[dir=rtl] .marginRight:last-child {
|
|
83
100
|
margin-left: 0 ;
|
|
84
|
-
}
|
|
101
|
+
}
|
|
@@ -21,7 +21,7 @@ var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider"
|
|
|
21
21
|
|
|
22
22
|
var _cssJSLogic2 = _interopRequireDefault(require("./css/cssJSLogic"));
|
|
23
23
|
|
|
24
|
-
var _useFreezeLayer2 = _interopRequireDefault(require("
|
|
24
|
+
var _useFreezeLayer2 = _interopRequireDefault(require("../Hooks/useFreezeLayer"));
|
|
25
25
|
|
|
26
26
|
var _FreezeLayerModule = _interopRequireDefault(require("./css/FreezeLayer.module.css"));
|
|
27
27
|
|
|
@@ -8,15 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
.wrapper {
|
|
10
10
|
composes: varClass;
|
|
11
|
-
/* css:theme-validation:ignore */
|
|
12
|
-
/* css:theme-validation:ignore */
|
|
13
11
|
color: var(--tag_text_color);
|
|
14
12
|
background-color: var(--tag_bg_color);
|
|
15
13
|
}
|
|
16
14
|
|
|
17
15
|
.small,
|
|
18
16
|
.large {
|
|
19
|
-
/* css:theme-validation:ignore */
|
|
20
17
|
max-width: 100% ;
|
|
21
18
|
height: var(--zd_size18) ;
|
|
22
19
|
}
|
|
@@ -6,16 +6,11 @@
|
|
|
6
6
|
.container {
|
|
7
7
|
vertical-align: middle;
|
|
8
8
|
composes: varClass;
|
|
9
|
-
/* css:theme-validation:ignore */
|
|
10
9
|
border-width: 1px;
|
|
11
10
|
border-style: solid;
|
|
12
11
|
border-radius: 50%;
|
|
13
12
|
border-color: var(--border_color)
|
|
14
13
|
}
|
|
15
|
-
.borderOnHover:hover,
|
|
16
|
-
.borderOnActive {
|
|
17
|
-
/* css:theme-validation:ignore */
|
|
18
|
-
}
|
|
19
14
|
.borderOnHover:hover, .borderOnActive {
|
|
20
15
|
border-color: var(--border_hoverColor)
|
|
21
16
|
}
|
|
@@ -40,7 +35,6 @@
|
|
|
40
35
|
--border_hoverColor: var(--zdt_avatarIcon_danger_hover_border);
|
|
41
36
|
}
|
|
42
37
|
.iconColor {
|
|
43
|
-
/* css:theme-validation:ignore */
|
|
44
38
|
color: var(--icon_color);
|
|
45
39
|
}
|
|
46
40
|
.icon_danger {
|
|
@@ -590,6 +590,10 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
590
590
|
getFooter = _this$props9.getFooter,
|
|
591
591
|
customProps = _this$props9.customProps,
|
|
592
592
|
needMultiLineText = _this$props9.needMultiLineText,
|
|
593
|
+
isAbsolutePositioningNeeded = _this$props9.isAbsolutePositioningNeeded,
|
|
594
|
+
positionsOffset = _this$props9.positionsOffset,
|
|
595
|
+
targetOffset = _this$props9.targetOffset,
|
|
596
|
+
isRestrictScroll = _this$props9.isRestrictScroll,
|
|
593
597
|
customClass = _this$props9.customClass;
|
|
594
598
|
var _customProps$ToggleDr = customProps.ToggleDropDownProps,
|
|
595
599
|
ToggleDropDownProps = _customProps$ToggleDr === void 0 ? {} : _customProps$ToggleDr,
|
|
@@ -691,6 +695,10 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
691
695
|
palette: palette,
|
|
692
696
|
isResponsivePadding: true,
|
|
693
697
|
needFocusScope: true,
|
|
698
|
+
isAbsolutePositioningNeeded: isAbsolutePositioningNeeded,
|
|
699
|
+
positionsOffset: positionsOffset,
|
|
700
|
+
targetOffset: targetOffset,
|
|
701
|
+
isRestrictScroll: isRestrictScroll,
|
|
694
702
|
customProps: {
|
|
695
703
|
focusScopeProps: {
|
|
696
704
|
loadNextOptions: _this5.handleGetNextOptions,
|
|
@@ -84,6 +84,10 @@ var propTypes = {
|
|
|
84
84
|
customListBox: _propTypes["default"].string
|
|
85
85
|
}),
|
|
86
86
|
onSelectLabel: _propTypes["default"].func,
|
|
87
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
88
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
89
|
+
positionsOffset: _propTypes["default"].object,
|
|
90
|
+
targetOffset: _propTypes["default"].object,
|
|
87
91
|
from: _propTypes["default"].string,
|
|
88
92
|
top: _propTypes["default"].number
|
|
89
93
|
};
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
}
|
|
22
22
|
.title {
|
|
23
23
|
font-family: var(--zd_semibold);
|
|
24
|
-
/* css:theme-validation:ignore */
|
|
25
24
|
color: var(--titleColor);
|
|
26
25
|
word-wrap: break-word;
|
|
27
26
|
}
|
|
@@ -33,7 +32,6 @@
|
|
|
33
32
|
}
|
|
34
33
|
.linkWrapper,
|
|
35
34
|
.linkDescWrapper {
|
|
36
|
-
/* css:theme-validation:ignore */
|
|
37
35
|
color: var(--descriptionColor);
|
|
38
36
|
}
|
|
39
37
|
.small .linkWrapper,
|
|
@@ -69,13 +67,11 @@
|
|
|
69
67
|
line-height: 1.358;
|
|
70
68
|
}
|
|
71
69
|
.link {
|
|
72
|
-
/* css:theme-validation:ignore */
|
|
73
70
|
color: var(--linkColor);
|
|
74
71
|
display: inline-block;
|
|
75
72
|
cursor: pointer;
|
|
76
73
|
}
|
|
77
74
|
.link:hover {
|
|
78
|
-
/* css:theme-validation:ignore */
|
|
79
75
|
color: var(--linkHoverColor);
|
|
80
76
|
}
|
|
81
77
|
.children {
|
|
@@ -129,6 +129,7 @@ var RadioField = /*#__PURE__*/function (_PureComponent) {
|
|
|
129
129
|
value = option.value,
|
|
130
130
|
_option$disabled = option.disabled,
|
|
131
131
|
disabled = _option$disabled === void 0 ? false : _option$disabled,
|
|
132
|
+
tooltip = option.tooltip,
|
|
132
133
|
infoTooltip = option.infoTooltip;
|
|
133
134
|
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
134
135
|
key: index,
|
|
@@ -142,6 +143,8 @@ var RadioField = /*#__PURE__*/function (_PureComponent) {
|
|
|
142
143
|
labelSize: labelSize,
|
|
143
144
|
active: isActive,
|
|
144
145
|
disabled: disabled || isDisabled,
|
|
146
|
+
disabledTitle: tooltip,
|
|
147
|
+
title: tooltip,
|
|
145
148
|
onChange: _this2.handleChange,
|
|
146
149
|
size: size,
|
|
147
150
|
checked: selectedValue == value,
|
|
@@ -126,6 +126,7 @@ var TextareaField = /*#__PURE__*/function (_PureComponent) {
|
|
|
126
126
|
dataSelectorId = _this$props4.dataSelectorId,
|
|
127
127
|
validationRuleMessage = _this$props4.validationRuleMessage,
|
|
128
128
|
validationRulePalette = _this$props4.validationRulePalette,
|
|
129
|
+
onFocus = _this$props4.onFocus,
|
|
129
130
|
infoText = _this$props4.infoText,
|
|
130
131
|
borderColor = _this$props4.borderColor,
|
|
131
132
|
fieldSize = _this$props4.fieldSize,
|
|
@@ -176,6 +177,7 @@ var TextareaField = /*#__PURE__*/function (_PureComponent) {
|
|
|
176
177
|
text: value,
|
|
177
178
|
placeHolder: placeHolder,
|
|
178
179
|
dataId: "property(".concat(dataId, ")"),
|
|
180
|
+
onFocus: onFocus,
|
|
179
181
|
onBlur: this.handleBlur,
|
|
180
182
|
borderColor: borderColor,
|
|
181
183
|
needEffect: isReadOnly || isDisabled ? false : true,
|
|
@@ -29,6 +29,7 @@ var propTypes = _objectSpread({
|
|
|
29
29
|
labelName: _propTypes["default"].string,
|
|
30
30
|
labelPalette: _propTypes["default"].string,
|
|
31
31
|
maxLength: _propTypes["default"].number,
|
|
32
|
+
onFocus: _propTypes["default"].func,
|
|
32
33
|
onBlur: _propTypes["default"].func,
|
|
33
34
|
onChange: _propTypes["default"].func,
|
|
34
35
|
placeHolder: _propTypes["default"].string,
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.tertiary_borderStyle {
|
|
51
|
-
/* css:theme-validation:ignore */
|
|
52
51
|
border-bottom: 1px solid var(--borderColor);
|
|
53
52
|
}
|
|
54
53
|
|
|
@@ -150,7 +149,6 @@
|
|
|
150
149
|
|
|
151
150
|
.footer {
|
|
152
151
|
composes: varClass;
|
|
153
|
-
/* css:theme-validation:ignore */
|
|
154
152
|
border-top: 1px solid var(--borderColor);
|
|
155
153
|
}
|
|
156
154
|
|
|
@@ -45,12 +45,6 @@
|
|
|
45
45
|
border-bottom: 1px dotted var(--listBorder);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.compact,
|
|
49
|
-
.classic,
|
|
50
|
-
.superCompact {
|
|
51
|
-
/* css:theme-validation:ignore */
|
|
52
|
-
}
|
|
53
|
-
|
|
54
48
|
[dir=ltr] .compact, [dir=ltr] .classic, [dir=ltr] .superCompact {
|
|
55
49
|
border-left: var(--zd_size2) solid transparent;
|
|
56
50
|
}
|
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
.varClass {
|
|
2
2
|
--subject_text: var(--zdt_subject_text);
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.subject {
|
|
5
6
|
composes: varClass;
|
|
6
7
|
/* css:theme-validation:ignore */
|
|
7
8
|
color: var(--subject_text);
|
|
8
9
|
display: block;
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
.dotted {
|
|
11
13
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
12
14
|
}
|
|
15
|
+
|
|
13
16
|
.font_regular {
|
|
14
17
|
font-family: var(--zd_regular);
|
|
15
18
|
}
|
|
19
|
+
|
|
16
20
|
.font_semibold {
|
|
17
21
|
font-family: var(--zd_semibold);
|
|
18
22
|
}
|
|
23
|
+
|
|
19
24
|
.font_bold {
|
|
20
25
|
font-family: var(--zd_bold);
|
|
21
26
|
}
|
|
27
|
+
|
|
22
28
|
.font_semibold,
|
|
23
29
|
.font_bold {
|
|
24
30
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
25
31
|
}
|
|
32
|
+
|
|
26
33
|
.cursorPointer {
|
|
27
34
|
cursor: pointer;
|
|
28
|
-
}
|
|
35
|
+
}
|
|
@@ -109,7 +109,8 @@ var Lookup = /*#__PURE__*/function (_Component) {
|
|
|
109
109
|
onClose = _this$props.onClose,
|
|
110
110
|
needFocusScope = _this$props.needFocusScope,
|
|
111
111
|
customProps = _this$props.customProps,
|
|
112
|
-
isMinHeight = _this$props.isMinHeight
|
|
112
|
+
isMinHeight = _this$props.isMinHeight,
|
|
113
|
+
lookupClass = _this$props.lookupClass;
|
|
113
114
|
|
|
114
115
|
var _a11y$role = a11y.role,
|
|
115
116
|
role = _a11y$role === void 0 ? 'dialog' : _a11y$role,
|
|
@@ -143,7 +144,7 @@ var Lookup = /*#__PURE__*/function (_Component) {
|
|
|
143
144
|
"aria-label": ariaLabel,
|
|
144
145
|
"aria-modal": ariaModal,
|
|
145
146
|
id: htmlId,
|
|
146
|
-
className: "".concat(_LookupModule["default"].box, " ").concat(_LookupModule["default"]["".concat(size, "Size")]),
|
|
147
|
+
className: "".concat(_LookupModule["default"].box, " ").concat(_LookupModule["default"]["".concat(size, "Size")], " ").concat(lookupClass ? lookupClass : ''),
|
|
147
148
|
"data-id": dataId,
|
|
148
149
|
"data-test-id": dataId
|
|
149
150
|
}, a11yAttributes), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|