@zohodesk/dot 1.0.0-temp-67 → 1.0.0-temp-70
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/README.md +9 -0
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +521 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkDotTheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkDotTheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkDotTheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkDotTheme.module.css +10 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkDotTheme.module.css +10 -0
- package/es/Provider.js +88 -35
- package/es/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -4
- package/es/form/fields/TextEditor/TextEditor.module.css +13 -3
- package/lib/Provider.js +107 -37
- package/lib/form/fields/CurrencyField/CurrencyField.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +7 -4
- package/lib/form/fields/TextEditor/TextEditor.module.css +13 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,10 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.217
|
|
6
|
+
|
|
7
|
+
- TagsMultiSelect => boxSize prop added.
|
|
8
|
+
|
|
9
|
+
# 1.0.0-beta.216
|
|
10
|
+
|
|
11
|
+
- CurrencyField => formatCurrency call if check fixed (vavlue will formatted when isActive is false)
|
|
12
|
+
|
|
5
13
|
# 1.0.0-beta.215
|
|
6
14
|
|
|
7
15
|
- CheckBoxField, CurrencyField, DateField, MultiSelectField, PhoneField, RadioField, SelectField, TextBoxField, TextareaField, setup/header/Views/Views => Tooltip undefined case solved
|
|
8
16
|
- StatusDropdown => Enter, Down Arrow Shortcut issue solved
|
|
17
|
+
- TextEditor => editor focus issue fix
|
|
9
18
|
|
|
10
19
|
# 1.0.0-beta.214
|
|
11
20
|
|
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
[data-mode='pureDark'], :global(.blueDarkTheme) [data-desk-theme="blue"] {
|
|
2
|
+
/* action button */
|
|
3
|
+
--zdt_actionButton_primaryFilled_bg: var(--zdt_cta_primary_bg);
|
|
4
|
+
--zdt_actionButton_primaryFilled_hover_bg: var(--zdt_cta_primary_hover_bg);
|
|
5
|
+
--zdt_actionButton_primary_border: var(--zdt_cta_primary_border);
|
|
6
|
+
--zdt_actionButton_primary_hover_border: var(--zdt_cta_primary_hover_border);
|
|
7
|
+
--zdt_actionButton_separator_border: var(--zdt_cta_secondary_border);
|
|
8
|
+
--zdt_actionButton_separator_hover_border: var(--zdt_cta_primary_border);
|
|
9
|
+
--zdt_actionButton_primaryFilled_text: var(--zdt_cta_secondary_text);
|
|
10
|
+
--zdt_actionButton_primary_text: var(--zdt_cta_primary_text);
|
|
11
|
+
--zdt_actionButton_primary_hover_text: var(--zdt_cta_primary_text);
|
|
12
|
+
|
|
13
|
+
/* alert header */
|
|
14
|
+
--zdt_alertheader_default_bg: var(--zd_smoke45);
|
|
15
|
+
--zdt_alertheader_default_text: var(--dot_platinum);
|
|
16
|
+
--zdt_alertheader_primary_bg: #edfbfe;
|
|
17
|
+
--zdt_alertheader_primary_text: var(--zd_primary19);
|
|
18
|
+
--zdt_alertheader_danger_bg: var(--zd_danger5);
|
|
19
|
+
--zdt_alertheader_danger_text: var(--dot_bittersweet);
|
|
20
|
+
|
|
21
|
+
/* alert lookup */
|
|
22
|
+
--zdt_alertlookup_innersection_text: var(--dot_platinum);
|
|
23
|
+
|
|
24
|
+
/* alphabetic list */
|
|
25
|
+
--zdt_alphabeticList_text: var(--dot_oslogrey);
|
|
26
|
+
--zdt_alphabeticList_hover_text: var(--zdt_cta_primary_text);
|
|
27
|
+
|
|
28
|
+
/* attachment */
|
|
29
|
+
--zdt_attachment_default_bg: #212121;
|
|
30
|
+
--zdt_attachment_default_border: var(--zdt_cta_grey_40_border);
|
|
31
|
+
--zdt_attachment_default_hover_border: var(--dot_oslogrey);
|
|
32
|
+
--zdt_attachment_hover_text: var(--dot_platinum);
|
|
33
|
+
--zdt_attachment_transparent_bg: var(--dot_mirror);
|
|
34
|
+
--zdt_attachment_size_text: var(--dot_cadetblue);
|
|
35
|
+
--zdt_attachment_download_bg: var(--zdt_cta_grey_20_bg);
|
|
36
|
+
--zdt_attachment_download_hover_bg: var(--dot_oslogrey);
|
|
37
|
+
--zdt_attachment_download_hover_text: #212121;
|
|
38
|
+
|
|
39
|
+
/* avatar close */
|
|
40
|
+
--zdt_avatarclose_pop_bg: var(--zd_dark9);
|
|
41
|
+
--zdt_avatarclose_pop_text: var(--zd_smoke24);
|
|
42
|
+
|
|
43
|
+
/* avatar collision */
|
|
44
|
+
--zdt_avatarcollision_on_border: var(--zdt_cta_primary_border);
|
|
45
|
+
--zdt_avatarcollision_off_border: var(--zdt_cta_grey_35_border);
|
|
46
|
+
--zdt_avatarcollision_off_after_border: #212121;
|
|
47
|
+
--zdt_avatarcollision_off_after_bg: var(--zdt_cta_grey_35_bg);
|
|
48
|
+
--zdt_avatarcollision_pop_bg: var(--zd_dark9);
|
|
49
|
+
--zdt_avatarcollision_pop_text: var(--zd_smoke24);
|
|
50
|
+
--zdt_avatarcollision_icon_text: var(--dot_platinum);
|
|
51
|
+
|
|
52
|
+
/* avatar icon */
|
|
53
|
+
--zdt_avatarIcon_dark_icon: var(--dot_platinum);
|
|
54
|
+
--zdt_avatarIcon_danger_icon: var(--dot_bittersweet);
|
|
55
|
+
--zdt_avatarIcon_primary_icon: var(--dot_butterflyblue);
|
|
56
|
+
--zdt_avatarIcon_grey_icon: var(--dot_cadetblue);
|
|
57
|
+
--zdt_avatarIcon_success_icon: var(--dot_darkmint);
|
|
58
|
+
--zdt_avatarIcon_smoke_icon: var(--zd_smoke18);
|
|
59
|
+
--zdt_avatarIcon_default_border: var(--zdt_cta_grey_40_border);
|
|
60
|
+
--zdt_avatarIcon_default_hover_border: var(--dot_oslogrey);
|
|
61
|
+
--zdt_avatarIcon_primary_border: var(--dot_butterflyblue);
|
|
62
|
+
--zdt_avatarIcon_primary_hover_border: var(--dot_blueeyes);
|
|
63
|
+
--zdt_avatarIcon_secondary_border: var(--zd_primarytrans);
|
|
64
|
+
--zdt_avatarIcon_secondary_hover_border: var(--zd_primarytrans);
|
|
65
|
+
--zdt_avatarIcon_success_border: var(--dot_darkmint);
|
|
66
|
+
--zdt_avatarIcon_success_hover_border: var(--dot_irishgreen);
|
|
67
|
+
--zdt_avatarIcon_danger_border: var(--dot_bittersweet);
|
|
68
|
+
--zdt_avatarIcon_danger_hover_border: #cc302d;
|
|
69
|
+
|
|
70
|
+
/* avatar status */
|
|
71
|
+
--zdt_avatarstatus_size_border: var(--dot_platinum);
|
|
72
|
+
--zdt_avatarstatus_online_bg: var(--dot_darkmint);
|
|
73
|
+
--zdt_avatarstatus_offline_bg: var(--dot_riverbed);
|
|
74
|
+
--zdt_avatarstatus_idle_bg: var(--dot_cadmiumorange);
|
|
75
|
+
|
|
76
|
+
/* avatar thread */
|
|
77
|
+
--zdt_avatarthread_bg: var(--dot_mirage);
|
|
78
|
+
--zdt_avatarthread_default_border: var(--zdt_cta_grey_35_border);
|
|
79
|
+
--zdt_avatarthread_default_text: var(--dot_cadetblue);
|
|
80
|
+
--zdt_avatarthread_primary_border: var(--dot_butterflyblue);
|
|
81
|
+
--zdt_avatarthread_primary_text: var(--dot_butterflyblue);
|
|
82
|
+
--zdt_avatarthread_success_border: var(--dot_darkmint);
|
|
83
|
+
--zdt_avatarthread_success_text: var(--dot_darkmint);
|
|
84
|
+
--zdt_avatarthread_danger_border: var(--dot_bittersweet);
|
|
85
|
+
--zdt_avatarthread_danger_text: var(--dot_bittersweet);
|
|
86
|
+
|
|
87
|
+
/* avatar user */
|
|
88
|
+
--zdt_avataruser_default_bg: #212121;
|
|
89
|
+
--zdt_avataruser_delete_bg: var(--zd_dark9);
|
|
90
|
+
--zdt_avataruser_delete_text: #212121;
|
|
91
|
+
|
|
92
|
+
/* avatar with team */
|
|
93
|
+
--zdt_avatarteam_default_bg: #212121;
|
|
94
|
+
|
|
95
|
+
/* channel icon */
|
|
96
|
+
--zdt_channelIcon_icon: var(--dot_platinum);
|
|
97
|
+
--zdt_channelIcon_topIcon_bg: #212121;
|
|
98
|
+
--zdt_channelIcon_topIcon_iconGreen: var(--dot_darkmint);
|
|
99
|
+
--zdt_channelIcon_topIcon_iconYellow: var(--dot_bittersweet);
|
|
100
|
+
--zdt_channelIcon_topIcon_border: var(--zdt_cta_grey_35_border);
|
|
101
|
+
|
|
102
|
+
/* drawer */
|
|
103
|
+
--zdt_drawer_default_box_shadow: rgba(0, 0, 0, 0.4);
|
|
104
|
+
--zdt_drawer_default_bg: #212121;
|
|
105
|
+
--zdt_drawer_header_bg: var(--zdt_cta_grey_10_bg);
|
|
106
|
+
--zdt_drawer_header_border: var(--zdt_cta_grey_35_border);
|
|
107
|
+
--zdt_drawer_title_text: var(--dot_platinum);
|
|
108
|
+
|
|
109
|
+
/* toggle dropdown */
|
|
110
|
+
--zdt_toggledropdown_line_border: var(--zdt_cta_grey_15_border);
|
|
111
|
+
|
|
112
|
+
/* common empty state */
|
|
113
|
+
--zdt_commonEmptyState_default_title: var(--dot_platinum);
|
|
114
|
+
--zdt_commonEmptyState_default_description: var(--dot_cadetblue);
|
|
115
|
+
--zdt_commonEmptyState_default_link: var(--zdt_cta_primary_text);
|
|
116
|
+
--zdt_commonEmptyState_default_link_hover: var(--zdt_cta_primary_hover_text);
|
|
117
|
+
|
|
118
|
+
/* edition page */
|
|
119
|
+
--zdt_editionpage_footer_text: var(--zd_smoke5);
|
|
120
|
+
--zdt_editionpage_primary_text: var(--zdt_cta_primary_text);
|
|
121
|
+
|
|
122
|
+
/* error state empty */
|
|
123
|
+
--zdt_emptystate_default_bg: #212121;
|
|
124
|
+
--zdt_emptystate_title_text: var(--dot_platinum);
|
|
125
|
+
|
|
126
|
+
/* link text */
|
|
127
|
+
--zdt_linktext_default_text: var(--zdt_cta_primary_text);
|
|
128
|
+
|
|
129
|
+
/* permission play */
|
|
130
|
+
--zdt_permissionplay_title_text: var(--zd_dark3);
|
|
131
|
+
|
|
132
|
+
/* will back */
|
|
133
|
+
--zdt_willback_title_text: var(--zd_dark20);
|
|
134
|
+
|
|
135
|
+
/* flip card */
|
|
136
|
+
--zdt_flipcard_default_bg: var(--dot_mirror);
|
|
137
|
+
--zdt_flipcard_default_text: var(--zd_smoke21);
|
|
138
|
+
|
|
139
|
+
/* form fields */
|
|
140
|
+
--zdt_fields_phoneicon_icon: var(--dot_platinum);
|
|
141
|
+
--zdt_fields_phoneicon_hover_icon: var(--dot_darkmint);
|
|
142
|
+
--zdt_fields_lockicon_icon: var(--dot_cadetblue);
|
|
143
|
+
--zdt_fields_lockicon_hover_icon: var(--dot_bittersweet);
|
|
144
|
+
--zdt_fields_phitag_text: var(--dot_irishgreen);
|
|
145
|
+
--zdt_fields_phitag_bg: #212121;
|
|
146
|
+
--zdt_fields_phitag_border: rgba(38, 169, 66, 0.2);
|
|
147
|
+
--zdt_fields_newtabicon_icon: var(--dot_platinum);
|
|
148
|
+
--zdt_fields_newtabicon_hover_icon: var(--zdt_cta_primary_text);
|
|
149
|
+
|
|
150
|
+
/* form action */
|
|
151
|
+
--zdt_formAction_bg: #2b2b2b;
|
|
152
|
+
--zdt_formAction_border: #585858;
|
|
153
|
+
|
|
154
|
+
/* freezelayer */
|
|
155
|
+
--zdt_freezelayer_default_bg: rgba(0, 0, 0, 0.8);
|
|
156
|
+
--zdt_freezelayer_dark_bg: rgba(0, 0, 0, 0.8);
|
|
157
|
+
--zdt_freezelayer_plain_bg: var(--dot_mirror);
|
|
158
|
+
--zdt_freezelayer_snow_bg: rgba(44, 51, 77, 0.75);
|
|
159
|
+
|
|
160
|
+
/* icon button */
|
|
161
|
+
--zdt_iconButton_icon_black: var(--dot_platinum);
|
|
162
|
+
--zdt_iconButton_icon_primary: var(--zdt_cta_alpha_text);
|
|
163
|
+
--zdt_iconButton_icon_primaryHover: var(--zdt_cta_alpha_hover_text);
|
|
164
|
+
--zdt_iconButton_icon_primaryActive: var(--dot_white);
|
|
165
|
+
|
|
166
|
+
/* important notes */
|
|
167
|
+
--zdt_importantnotes_bg: var(--zd_orangetrans);
|
|
168
|
+
--zdt_importantnotes_title_text: var(--dot_platinum);
|
|
169
|
+
--zdt_importantnotes_icon: var(--dot_platinum);
|
|
170
|
+
|
|
171
|
+
/* setup detail layout */
|
|
172
|
+
--zdt_setupdetail_header_border: var(--zd_smoke59);
|
|
173
|
+
--zdt_setupdetail_backicon: var(--zd_dark4);
|
|
174
|
+
--zdt_setupdetail_hover_backicon_bg: var(--zd_smoke64);
|
|
175
|
+
--zdt_setupdetail_helpinfo: var(--zd_smoke29);
|
|
176
|
+
--zdt_setupdetail_helpinfo_text: var(--zd_dark6);
|
|
177
|
+
--zdt_setupdetail_popup_border: var(--zd_smoke71);
|
|
178
|
+
--zdt_setupdetail_popup_bg: #212121;
|
|
179
|
+
--zdt_setupdetail_infoheader_bg: var(--zd_primarytrans11);
|
|
180
|
+
--zdt_setupdetail_infoheader_text: var(--zd_primary1);
|
|
181
|
+
--zdt_setupdetail_infoicon_border: var(--zd_primary1);
|
|
182
|
+
--zdt_setupdetail_infoclose: var(--zd_smoke20);
|
|
183
|
+
|
|
184
|
+
/* subtab layout */
|
|
185
|
+
--zdt_subtablayout_border: var(--zdt_cta_grey_15_border);
|
|
186
|
+
--zdt_subtablayout_tabhead_bg: #212121;
|
|
187
|
+
--zdt_subtablayout_plusicon_bg: var(--zd_smoke3);
|
|
188
|
+
--zdt_subtablayout_primary_border: var(--zd_smoke5);
|
|
189
|
+
--zdt_subtablayout_shadowstyle_box_shadow: var(--zd_graytrans5);
|
|
190
|
+
--zdt_subtablayout_title_text: var(--zdt_cta_primary_text);
|
|
191
|
+
--zdt_subtablayout_label_text: var(--zd_smoke18);
|
|
192
|
+
|
|
193
|
+
/* avatar flip */
|
|
194
|
+
--zdt_avatarflip_default_text: var(--dot_platinum);
|
|
195
|
+
|
|
196
|
+
/* comment icon */
|
|
197
|
+
--zdt_comment_iconText: var(--dot_cadetblue);
|
|
198
|
+
--zdt_comment_hover_iconText: var(--dot_white);
|
|
199
|
+
|
|
200
|
+
/* department dropdown */
|
|
201
|
+
--zdt_departmentdropdown_default_text: var(--dot_oslogrey);
|
|
202
|
+
--zdt_departmentdropdown_default_hover_text: var(--dot_platinum);
|
|
203
|
+
|
|
204
|
+
/* dot */
|
|
205
|
+
--zdt_dot_text: var(--zdt_cta_grey_40_text);
|
|
206
|
+
|
|
207
|
+
/* dot new */
|
|
208
|
+
--zdt_dotnew_default_bg: var(--zdt_cta_primary_bg);
|
|
209
|
+
--zdt_dotnew_default_box_shadow: rgba(10, 115, 235, 0.6);
|
|
210
|
+
--zdt_dotnew_animate_box_shadow: var(--dot_mirror);
|
|
211
|
+
--zdt_dotnew_animate_to_box_shadow: rgba(255, 255, 255, 0);
|
|
212
|
+
|
|
213
|
+
/* grid stencils */
|
|
214
|
+
--zdt_gridstencils_default_bg: #212121;
|
|
215
|
+
--zdt_gridstencils_default_border: #161515;
|
|
216
|
+
--zdt_gridstencils_after_bg: #2b2b2b;
|
|
217
|
+
--zdt_gridstencils_listbar_bg: #2b2b2b;
|
|
218
|
+
--zdt_gridstencils_listbar_gradient_bg: linear-gradient(to left, #383f55 0, #414961 20%, #414961 40%, #383f55 100%);
|
|
219
|
+
|
|
220
|
+
/* icons */
|
|
221
|
+
--zdt_icons_default: var(--dot_cadetblue);
|
|
222
|
+
--zdt_icons_hover_blue: var(--zdt_cta_primary_text);
|
|
223
|
+
--zdt_icons_hover_red: var(--dot_bittersweet);
|
|
224
|
+
|
|
225
|
+
/* list layout */
|
|
226
|
+
--zdt_listLayout_border: var(--zdt_cta_grey_15_border);
|
|
227
|
+
--zdt_listLayout_hover_bg: var(--dot_listItemHover);
|
|
228
|
+
--zdt_listLayout_active_bg: var(--dot_listItemActive);
|
|
229
|
+
--zdt_listLayout_active_border: var(--zdt_cta_primary_border);
|
|
230
|
+
--zdt_listLayout_keyboard_active_border: var(--dot_oslogrey);
|
|
231
|
+
|
|
232
|
+
/* list stencils */
|
|
233
|
+
--zdt_liststencils_innercontainer_border: var(--zdt_cta_grey_15_border);
|
|
234
|
+
|
|
235
|
+
/* secondary text */
|
|
236
|
+
--zdt_secondaryText_gray_text: var(--dot_cadetblue);
|
|
237
|
+
--zdt_secondaryText_orage_text: var(--dot_cadmiumorange);
|
|
238
|
+
--zdt_secondaryText_green_text: var(--dot_darkmint);
|
|
239
|
+
--zdt_secondaryText_red_text: var(--dot_bittersweet);
|
|
240
|
+
--zdt_secondaryText_blue_text: var(--zdt_cta_primary_text);
|
|
241
|
+
--zdt_secondaryText_blue_hover_text: var(--zdt_cta_primary_hover_text);
|
|
242
|
+
--zdt_secondaryText_black_text: var(--dot_platinum);
|
|
243
|
+
--zdt_secondaryText_secondaryText_text: var(--dot_cadetblue);
|
|
244
|
+
|
|
245
|
+
/* status dropdown */
|
|
246
|
+
--zdt_statusdropdown_line_border: var(--zdt_cta_grey_15_border);
|
|
247
|
+
|
|
248
|
+
/* status listitem */
|
|
249
|
+
--zdt_statuslistitem_list_text: var(--dot_platinum);
|
|
250
|
+
--zdt_statuslistitem_default_border: var(--dot_mirror);
|
|
251
|
+
--zdt_statuslistitem_default_active_border: var(--zdt_cta_primary_border);
|
|
252
|
+
--zdt_statuslistitem_default_effect_bg: rgba(44, 59, 77, 0.45);
|
|
253
|
+
--zdt_statuslistitem_primary_efffect_bg: var(--dot_listItemActive);
|
|
254
|
+
--zdt_statuslistitem_secondary_effect_bg: var(--zdt_cta_primary_bg);
|
|
255
|
+
--zdt_statuslistitem_secondary_effect_text: #212121;
|
|
256
|
+
--zdt_statuslistitem_tickicon: var(--zdt_cta_primary_text);
|
|
257
|
+
--zdt_statuslistitem_black_bg: var(--dot_platinum);
|
|
258
|
+
--zdt_statuslistitem_orange_bg: var(--dot_cadmiumorange);
|
|
259
|
+
--zdt_statuslistitem_green_bg: var(--dot_darkmint);
|
|
260
|
+
|
|
261
|
+
/* subject */
|
|
262
|
+
--zdt_subject_text: var(--dot_platinum);
|
|
263
|
+
|
|
264
|
+
/* tag new */
|
|
265
|
+
--zdt_tagnew_default_bg: var(--zdt_cta_primary_bg);
|
|
266
|
+
--zdt_tagnew_default_box_shadow: var(--zdt_cta_primary_box_shadow);
|
|
267
|
+
--zdt_tagnew_default_text: var(--zdt_cta_secondary_text);
|
|
268
|
+
|
|
269
|
+
/* thread */
|
|
270
|
+
--zdt_thread_iconText: var(--dot_cadetblue);
|
|
271
|
+
--zdt_thread_hover_iconText: var(--dot_white);
|
|
272
|
+
|
|
273
|
+
/* usertime */
|
|
274
|
+
--zdt_usertime_timeText: var(--dot_cadetblue);
|
|
275
|
+
--zdt_usertime_icon_red: var(--dot_bittersweet);
|
|
276
|
+
--zdt_usertime_icon_green: var(--dot_darkmint);
|
|
277
|
+
--zdt_usertime_icon_orange: var(--dot_cadmiumorange);
|
|
278
|
+
--zdt_usertime_icon_gray: var(--dot_cadetblue);
|
|
279
|
+
|
|
280
|
+
/* loader */
|
|
281
|
+
--zdt_loader_gradient_bg: linear-gradient(to right, rgb(206, 34, 50) 0%, rgb(96, 128, 64) 20%, rgb(144, 178, 71) 40%, rgb(249, 221, 75) 60%, rgb(9, 116, 176) 80%, rgb(206, 34, 50) 100%);
|
|
282
|
+
|
|
283
|
+
/* lookup header common */
|
|
284
|
+
--zdt_lookupheader_default_bg: var(--zdt_cta_grey_10_bg);
|
|
285
|
+
--zdt_lookupheader_default_border: var(--zdt_cta_grey_35_border);
|
|
286
|
+
--zdt_lookupheader_para_text: var(--dot_cadetblue);
|
|
287
|
+
--zdt_lookupheader_input_border: var(--zd_smoke33);
|
|
288
|
+
|
|
289
|
+
/* lookup close */
|
|
290
|
+
--zdt_lookupclose_default_text: var(--zd_dark5);
|
|
291
|
+
--zdt_lookupclose_default_hover_bg: var(--zd_smoke5);
|
|
292
|
+
--zdt_lookupclose_default_hover_text: var(--dot_platinum);
|
|
293
|
+
|
|
294
|
+
/* lookup search */
|
|
295
|
+
--zdt_lookupsearch_boxstyle_border: var(--zdt_cta_grey_35_border);
|
|
296
|
+
--zdt_lookupsearch_boxstyle_hover_border: var(--dot_oslogrey);
|
|
297
|
+
--zdt_lookupsearch_boxstyle_activer_border: var(--dot_inputLineFocus);
|
|
298
|
+
|
|
299
|
+
/* lookup ticket header */
|
|
300
|
+
--zdt_lookupticketheader_border: var(--zd_smoke33);
|
|
301
|
+
|
|
302
|
+
/* lookup title */
|
|
303
|
+
--zdt_lookuptitle_default_text: var(--dot_platinum);
|
|
304
|
+
--zdt_lookuptitle_primary_text: var(--dot_butterflyblue);
|
|
305
|
+
--zdt_lookuptitle_danger_text: var(--dot_bittersweet);
|
|
306
|
+
|
|
307
|
+
/* view dropdown */
|
|
308
|
+
--zdt_viewdropdown_empty_text: var(--dot_oslogrey);
|
|
309
|
+
--zdt_viewdropdown_label_text: var(--dot_cadetblue);
|
|
310
|
+
--zdt_viewdropdown_hover_label_text: var(--dot_platinum);
|
|
311
|
+
|
|
312
|
+
/* lookup section */
|
|
313
|
+
--zdt_lookupsection_bg: #2b2b2b;
|
|
314
|
+
--zdt_lookupsection_box_shadow: rgba(0, 0, 0, 0.4);
|
|
315
|
+
|
|
316
|
+
/* message */
|
|
317
|
+
--zdt_message_default_box_shadow: rgba(0, 0, 0, 0.15);
|
|
318
|
+
--zdt_message_default_bg: #212121;
|
|
319
|
+
--zdt_message_success_bg: var(--dot_darkmint);
|
|
320
|
+
--zdt_message_alert_bg: var(--dot_bittersweet);
|
|
321
|
+
--zdt_message_info_bg: var(--zd_primary5);
|
|
322
|
+
--zdt_message_tickicon: #212121;
|
|
323
|
+
--zdt_message_close_text: var(--zd_dark6);
|
|
324
|
+
|
|
325
|
+
/* message banner */
|
|
326
|
+
--zdt_messagebanner_text: var(--dot_platinum);
|
|
327
|
+
--zdt_messagebanner_link_text: var(--zdt_cta_primary_text);
|
|
328
|
+
--zdt_messagebanner_close_text: var(--zd_smoke18);
|
|
329
|
+
--zdt_messagebanner_close_hover_bg: #ececc6;
|
|
330
|
+
--zdt_messagebanner_close_hover_text: var(--zd_smoke51);
|
|
331
|
+
--zdt_messagebanner_default_bg: #feffdd;
|
|
332
|
+
--zdt_messagebanner_blue_bg: #eaf4fe;
|
|
333
|
+
--zdt_messagebanner_white_text: #212121;
|
|
334
|
+
|
|
335
|
+
/* new star */
|
|
336
|
+
--zdt_newstar_green_text: var(--dot_darkmint);
|
|
337
|
+
--zdt_newstar_yellow_text: var(--zd_goldyellow);
|
|
338
|
+
--zdt_newstar_blue_text: var(--dot_butterflyblue);
|
|
339
|
+
|
|
340
|
+
/* plus icon */
|
|
341
|
+
--zdt_plusicon_box_shadow: var(--zdt_cta_primary_box_shadow);
|
|
342
|
+
--zdt_plusicon_bg: var(--zdt_cta_primary_light_bg);
|
|
343
|
+
--zdt_plusicon_border: var(--zdt_cta_primary_light_border);
|
|
344
|
+
--zdt_plusicon_hover_border: var(--zdt_cta_primary_light_border);
|
|
345
|
+
--zdt_plusicon_text: var(--zdt_cta_primary_text);
|
|
346
|
+
|
|
347
|
+
/* header link */
|
|
348
|
+
--zdt_headerlink_text: var(--zdt_cta_primary_text);
|
|
349
|
+
--zdt_headerlink_hover_text: var(--zdt_cta_primary_border);
|
|
350
|
+
|
|
351
|
+
/* search */
|
|
352
|
+
--zdt_search_input_border: var(--zd_dark6);
|
|
353
|
+
--zdt_search_input_text: var(--zd_dark4);
|
|
354
|
+
--zdt_search_input_bg: #212121;
|
|
355
|
+
--zdt_search_input_focus_border: var(--zdt_cta_primary_border);
|
|
356
|
+
--zdt_search_icon: var(--zd_dark6);
|
|
357
|
+
--zdt_search_hover_icon: var(--zd_dark5);
|
|
358
|
+
--zdt_search_placeholder_text: var(--zd_smoke12);
|
|
359
|
+
|
|
360
|
+
/* views */
|
|
361
|
+
--zdt_views_icon: var(--zd_dark6);
|
|
362
|
+
--zdt_views_border: var(--zd_smoke29);
|
|
363
|
+
--zdt_views_hover_icon: var(--zd_dark5);
|
|
364
|
+
--zdt_views_active_icon: var(--zdt_cta_primary_text);
|
|
365
|
+
|
|
366
|
+
/* help tips description */
|
|
367
|
+
--zdt_helptips_text: var(--zd_dark5);
|
|
368
|
+
|
|
369
|
+
/* help tips link */
|
|
370
|
+
--zdt_helptipslink_text: var(--zdt_cta_primary_text);
|
|
371
|
+
|
|
372
|
+
/* list group */
|
|
373
|
+
--zdt_listgroup_text: var(--zd_dark5);
|
|
374
|
+
|
|
375
|
+
/* help tips title */
|
|
376
|
+
--zdt_helptipstitle_text: var(--zd_dark4);
|
|
377
|
+
|
|
378
|
+
/* setup table head */
|
|
379
|
+
--zdt_setuptablehead_border: var(--zd_smoke59);
|
|
380
|
+
|
|
381
|
+
/* setup table row */
|
|
382
|
+
--zdt_setuptablerow_border: var(--zd_alabaster);
|
|
383
|
+
--zdt_setuptablerow_hover_bg: var(--zd_snow);
|
|
384
|
+
|
|
385
|
+
/* table text */
|
|
386
|
+
--zdt_tabletext_primary_text: var(--zdt_cta_primary_text);
|
|
387
|
+
--zdt_tabletext_default_text: var(--dot_platinum);
|
|
388
|
+
--zdt_tabletext_green_text: var(--zd_olive10);
|
|
389
|
+
--zdt_tabletext_danger_text: var(--dot_bittersweet);
|
|
390
|
+
--zdt_tabletext_heading_text: var(--zd_dark5);
|
|
391
|
+
|
|
392
|
+
/* toast message */
|
|
393
|
+
--zdt_toastmessage_default_box_shadow: rgba(0, 0, 0, 0.3);
|
|
394
|
+
--zdt_toastmessage_default_bg: #212121;
|
|
395
|
+
--zdt_toastmessage_alert_border: #585858;
|
|
396
|
+
--zdt_toastmessage_alert_text: var(--dot_platinum);
|
|
397
|
+
--zdt_toastmessage_alerttitle_text: var(--dot_white);
|
|
398
|
+
--zdt_toastmessage_popbutton_text: var(--dot_platinum);
|
|
399
|
+
--zdt_toastmessage_submit_border: #585858;
|
|
400
|
+
--zdt_toastmessage_primary_text: var(--zdt_cta_primary_text);
|
|
401
|
+
--zdt_toastmessage_primary_hover_bg: var(--zdt_cta_primary_bg);
|
|
402
|
+
--zdt_toastmessage_primary_hover_text: var(--dot_white);
|
|
403
|
+
--zdt_toastmessage_danger_text: var(--dot_bittersweet);
|
|
404
|
+
--zdt_toastmessage_danger_hover_bg: var(--dot_bittersweet);
|
|
405
|
+
--zdt_toastmessage_danger_text_shadow: rgb(227, 74, 76);
|
|
406
|
+
--zdt_toastmessage_success_text: var(--zd_olive8);
|
|
407
|
+
--zdt_toastmessage_success_hover_bg: var(--zd_olive8);
|
|
408
|
+
--zdt_toastmessage_successfill_bg: var(--zd_olive6);
|
|
409
|
+
--zdt_toastmessage_successplain_text: var(--zd_olive6);
|
|
410
|
+
--zdt_toastmessage_cancel_hover_text: var(--dot_platinum);
|
|
411
|
+
--zdt_toastmessage_closeicon: var(--dot_oslogrey);
|
|
412
|
+
--zdt_toastmessage_closeicon_hover_bg: var(--zdt_cta_primary_hover_bg);
|
|
413
|
+
--zdt_toastmessage_closeicon_hover_text: var(--dot_oslogrey);
|
|
414
|
+
--zdt_toastmessage_dropdown_bg: #2b2b2b;
|
|
415
|
+
--zdt_toastmessage_dropdown_text: var(--zd_dark5);
|
|
416
|
+
--zdt_toastmessage_message_border: #585858;
|
|
417
|
+
|
|
418
|
+
/* upload */
|
|
419
|
+
--zdt_upload_default_bg: var(--dot_catskillWhite);
|
|
420
|
+
--zdt_upload_overlay_bg: var(--zd_graytrans6);
|
|
421
|
+
--zdt_upload_loader_default_bg: var(--zd_dark13);
|
|
422
|
+
--zdt_upload_attachsize_default_text: var(--dot_slateGrey);
|
|
423
|
+
--zdt_upload_uploadclose_default_bg: var(--dot_slateGrey);
|
|
424
|
+
--zdt_upload_uploadclose_default_text: var(--dot_white);
|
|
425
|
+
--zdt_upload_uploadclose_default_hover_text: var(--zd_graytrans7);
|
|
426
|
+
--zdt_upload_night_bg: #585858;
|
|
427
|
+
--zdt_upload_loader_night_bg: var(--dot_platinum);
|
|
428
|
+
--zdt_upload_attachsize_night_text: var(--dot_oslogrey);
|
|
429
|
+
--zdt_upload_uploadclose_night_bg: #585858;
|
|
430
|
+
--zdt_upload_uploadclose_night_text: var(--dot_oslogrey);
|
|
431
|
+
--zdt_upload_uploadclose_night_hover_text: #28373f;
|
|
432
|
+
|
|
433
|
+
/* common alerts */
|
|
434
|
+
--zdt_commonalert_default_border: var(--dot_bittersweet);
|
|
435
|
+
--zdt_commonalert_success_border: var(--dot_darkmint);
|
|
436
|
+
--zdt_commonalert_info_border: var(--zdt_cta_primary_border);
|
|
437
|
+
--zdt_commonalert_danger_border: var(--dot_bittersweet);
|
|
438
|
+
--zdt_commonalert_error_border: var(--dot_bittersweet);
|
|
439
|
+
--zdt_commonalert_warning_border: var(--dot_cadmiumorange);
|
|
440
|
+
--zdt_commonalert_close_icon: var(--dot_platinum);
|
|
441
|
+
--zdt_commonalert_close_light_icon: var(--dot_platinum);
|
|
442
|
+
--zdt_commonalert_close_hover_bg: #583a45;
|
|
443
|
+
--zdt_commonalert_success_hover_bg: #2c4e42;
|
|
444
|
+
--zdt_commonalert_info_hover_bg: var(--zdt_cta_primary_light_bg);
|
|
445
|
+
--zdt_commonalert_plaininfo_hover_bg: var(--dot_unknown1);
|
|
446
|
+
--zdt_commonalert_danger_hover_bg: #583a45;
|
|
447
|
+
--zdt_commonalert_error_hover_bg: #583a45;
|
|
448
|
+
--zdt_commonalert_warning_hover_bg: #583c2c;
|
|
449
|
+
--zdt_commonalert_light_hover_bg: #585858;
|
|
450
|
+
--zdt_commonalert_secondlayer_bg: #2e3642;
|
|
451
|
+
--zdt_commonalert_default_icon: var(--dot_bittersweet);
|
|
452
|
+
--zdt_commonalert_success_icon: var(--dot_darkmint);
|
|
453
|
+
--zdt_commonalert_info_icon: var(--zdt_cta_primary_border);
|
|
454
|
+
--zdt_commonalert_danger_icon: var(--dot_bittersweet);
|
|
455
|
+
--zdt_commonalert_error_icon: var(--dot_bittersweet);
|
|
456
|
+
--zdt_commonalert_warning_icon: var(--dot_cadmiumorange);
|
|
457
|
+
|
|
458
|
+
/* alert icons */
|
|
459
|
+
--zdt_alerticons_green_fill: var(--dot_darkmint);
|
|
460
|
+
--zdt_alerticons_primary_fill: var(--dot_butterflyblue);
|
|
461
|
+
--zdt_alerticons_orange_fill: var(--dot_cadmiumorange);
|
|
462
|
+
|
|
463
|
+
/* global notification */
|
|
464
|
+
--zdt_globalnotification_default_bg: #31323f;
|
|
465
|
+
--zdt_globalnotification_default_text: var(--dot_platinum);
|
|
466
|
+
--zdt_globalnotification_success_bg: #28373f;
|
|
467
|
+
--zdt_globalnotification_success_text: var(--dot_platinum);
|
|
468
|
+
--zdt_globalnotification_info_bg: var(--zdt_cta_primary_light_bg);
|
|
469
|
+
--zdt_globalnotification_info_text: var(--dot_platinum);
|
|
470
|
+
--zdt_globalnotification_danger_bg: #31323f;
|
|
471
|
+
--zdt_globalnotification_danger_text: var(--dot_platinum);
|
|
472
|
+
--zdt_globalnotification_error_bg: #31323f;
|
|
473
|
+
--zdt_globalnotification_error_text: var(--dot_platinum);
|
|
474
|
+
--zdt_globalnotification_warning_bg: #31333c;
|
|
475
|
+
--zdt_globalnotification_warning_text: var(--dot_platinum);
|
|
476
|
+
--zdt_globalnotification_default_box_shadow: rgba(0, 0, 0, 0.3);
|
|
477
|
+
|
|
478
|
+
/* alert lookup */
|
|
479
|
+
--zdt_alertlookup_bg: #2b2b2b;
|
|
480
|
+
--zdt_alertlookup_border: var(--zdt_cta_grey_15_border);
|
|
481
|
+
--zdt_alertlookuop_text: var(--dot_platinum);
|
|
482
|
+
|
|
483
|
+
/* alert lookup new */
|
|
484
|
+
--zdt_alertlookupnew_text: var(--dot_platinum);
|
|
485
|
+
|
|
486
|
+
/* tagsmultiselect */
|
|
487
|
+
--zdt_tagsmultiselect_labelt_text: var(--dot_cadetblue);
|
|
488
|
+
--zdt_tagsmultiselect_default_border: var(--dot_inputLine);
|
|
489
|
+
--zdt_tagsmultiselect_transparent_border: var(--dot_mirror);
|
|
490
|
+
--zdt_tagsmultiselect_dark_border: var(--dot_mulledwine);
|
|
491
|
+
--zdt_tagsmultiselect_default_hover_border: var(--dot_inputLineHover);
|
|
492
|
+
--zdt_tagsmultiselect_transparent_hover_border: var(--dot_inputLineHover);
|
|
493
|
+
--zdt_tagsmultiselect_dark_hover_border: var(--dot_stardust);
|
|
494
|
+
--zdt_tagsmultiselect_default_active_border: var(--dot_inputLineFocus);
|
|
495
|
+
--zdt_tagsmultiselect_transparent_active_border: var(--dot_inputLineFocus);
|
|
496
|
+
--zdt_tagsmultiselect_dark_active_border: var(--dot_stardust);
|
|
497
|
+
--zdt_tagsmultiselect_more_text: var(--zdt_cta_primary_text);
|
|
498
|
+
--zdt_tagsmultiselect_more_hover_text: var(--zdt_cta_primary_hover_text);
|
|
499
|
+
|
|
500
|
+
/* text editor */
|
|
501
|
+
--zdt_texteditor_menu_bg: var(--dot_catskillWhite);
|
|
502
|
+
--zdt_texteditor_default_bg: var(--dot_white);
|
|
503
|
+
--zdt_texteditor_default_border: var(--dot_paleBlue);
|
|
504
|
+
--zdt_texteditor_menu_li_bg: var(--dot_hawkesBlue);
|
|
505
|
+
--zdt_texteditor_default_text: var(--dot_black);
|
|
506
|
+
--zdt_texteditor_more_icon_fill: var(--dot_slateGrey);
|
|
507
|
+
--zdt_texteditor_menu_after_box_shadow: rgba(0, 0, 0, 0.08);
|
|
508
|
+
--zdt_texteditor_menu_after_bg: var(--dot_white);
|
|
509
|
+
--zdt_texteditor_input_placeholder_text: var(--zd_smoke14);
|
|
510
|
+
--zdt_texteditor_dropdown_box_shadow: rgba(0, 0, 0, 0.2);
|
|
511
|
+
--zdt_texteditor_night_bg: #212121;
|
|
512
|
+
--zdt_texteditor_night_text: var(--dot_platinum);
|
|
513
|
+
|
|
514
|
+
/* desktop notification */
|
|
515
|
+
--zdt_desktopnotification_bg: #2b2b2b;
|
|
516
|
+
--zdt_desktopnotification_text: var(--dot_platinum);
|
|
517
|
+
--zdt_desktopnotification_box_shadow: rgba(0, 0, 0, 0.4);
|
|
518
|
+
|
|
519
|
+
/* tagsmultiselect field */
|
|
520
|
+
--zdt_tagsmultiselectField_count_text: var(--dot_cadetblue);
|
|
521
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='blue'], :global(.bluePureDarkTheme) [data-desk-theme="blue"] {
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg: rgba(16, 16, 16, 0.9);
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_white);
|
|
8
|
+
--zdt_commonEmptyState_dark_link: var(--dot_butterflyblue);
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: #2469ff;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='green'] {
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg: rgba(16, 16, 16, 0.9);
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_white);
|
|
8
|
+
--zdt_commonEmptyState_dark_link: #45a159;
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: #0e7c1c;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='orange'] {
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg: rgba(16, 16, 16, 0.9);
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_white);
|
|
8
|
+
--zdt_commonEmptyState_dark_link: var(--dot_cadmiumorange);
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: #a85100;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='red'] {
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg: rgba(16, 16, 16, 0.9);
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_white);
|
|
8
|
+
--zdt_commonEmptyState_dark_link: #e94f4f;
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: #a81111;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[data-mode='pureDark'][data-theme='yellow'] {
|
|
2
|
+
/* freezelayer */
|
|
3
|
+
--zdt_freezelayer_darklight_bg: rgba(16, 16, 16, 0.9);
|
|
4
|
+
|
|
5
|
+
/* common empty state */
|
|
6
|
+
--zdt_commonEmptyState_dark_title: var(--dot_white);
|
|
7
|
+
--zdt_commonEmptyState_dark_description: var(--dot_white);
|
|
8
|
+
--zdt_commonEmptyState_dark_link: #d79835;
|
|
9
|
+
--zdt_commonEmptyState_dark_link_hover: #9b6808;
|
|
10
|
+
}
|
package/es/Provider.js
CHANGED
|
@@ -31,6 +31,19 @@ import '@zohodesk/components/assets/Appearance/dark/themes/orange/orangeDarkComp
|
|
|
31
31
|
import '@zohodesk/components/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css';
|
|
32
32
|
import '@zohodesk/components/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css';
|
|
33
33
|
import '@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css';
|
|
34
|
+
/* component pkg - pure dark mode & themes */
|
|
35
|
+
|
|
36
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css';
|
|
37
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css';
|
|
38
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css';
|
|
39
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css';
|
|
40
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css';
|
|
41
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css';
|
|
42
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css';
|
|
43
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css';
|
|
44
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css';
|
|
45
|
+
import '@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css';
|
|
46
|
+
import '@zohodesk/components/assets/Appearance/pureDark/mode/pureDarkMode.module.css';
|
|
34
47
|
/* svg pkg - default mode & themes */
|
|
35
48
|
|
|
36
49
|
import '@zohodesk/svg/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css';
|
|
@@ -47,9 +60,16 @@ import '@zohodesk/svg/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.mo
|
|
|
47
60
|
import '@zohodesk/svg/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css';
|
|
48
61
|
import '@zohodesk/svg/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css';
|
|
49
62
|
import '@zohodesk/svg/assets/Appearance/dark/mode/darkEmptyStates.module.css';
|
|
63
|
+
/* svg pkg - pure dark mode & themes */
|
|
64
|
+
|
|
65
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css';
|
|
66
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css';
|
|
67
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css';
|
|
68
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css';
|
|
69
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css';
|
|
70
|
+
import '@zohodesk/svg/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css';
|
|
50
71
|
import { setGlobalIdPrefix } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
51
72
|
import { setInitialZIndex } from '@zohodesk/components/lib/Provider/ZindexProvider';
|
|
52
|
-
import Switch from '@zohodesk/components/lib/Switch/Switch';
|
|
53
73
|
/* dot pkg - default mode & themes */
|
|
54
74
|
|
|
55
75
|
import '../assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css';
|
|
@@ -66,6 +86,14 @@ import '../assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css';
|
|
|
66
86
|
import '../assets/Appearance/dark/themes/red/redDarkDotTheme.module.css';
|
|
67
87
|
import '../assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css';
|
|
68
88
|
import '../assets/Appearance/dark/mode/dotDarkMode.module.css';
|
|
89
|
+
/* dot pkg - pure dark mode & themes */
|
|
90
|
+
// import '../assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css';
|
|
91
|
+
// import '../assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css';
|
|
92
|
+
// import '../assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css';
|
|
93
|
+
// import '../assets/Appearance/dark/themes/red/redDarkDotTheme.module.css';
|
|
94
|
+
// import '../assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css';
|
|
95
|
+
// import '../assets/Appearance/dark/mode/dotDarkMode.module.css';
|
|
96
|
+
|
|
69
97
|
datetime.tz.set({
|
|
70
98
|
timezone: 'Asia/Kolkata',
|
|
71
99
|
_packed: '-5R.s -5R.k -5l.a -5u -6u|01234343|-4Fg5R.s BKo0.8 1rDcw.a 1r2LP.a 1un0 HB0 7zX0|15e6',
|
|
@@ -80,22 +108,13 @@ export default class Provider extends React.Component {
|
|
|
80
108
|
appearanceName: 'default',
|
|
81
109
|
themeName: 'blue'
|
|
82
110
|
};
|
|
83
|
-
this.switchMode = this.switchMode.bind(this);
|
|
84
111
|
this.setTheme = this.setTheme.bind(this);
|
|
85
112
|
}
|
|
86
113
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
this.setState({
|
|
92
|
-
appearanceName: 'dark'
|
|
93
|
-
});
|
|
94
|
-
} else {
|
|
95
|
-
this.setState({
|
|
96
|
-
appearanceName: 'default'
|
|
97
|
-
});
|
|
98
|
-
}
|
|
114
|
+
setAppearance(mode) {
|
|
115
|
+
this.setState({
|
|
116
|
+
appearanceName: mode
|
|
117
|
+
});
|
|
99
118
|
}
|
|
100
119
|
|
|
101
120
|
setTheme(theme) {
|
|
@@ -131,6 +150,29 @@ export default class Provider extends React.Component {
|
|
|
131
150
|
let yellow = {
|
|
132
151
|
backgroundColor: '#e8b923'
|
|
133
152
|
};
|
|
153
|
+
let light = {
|
|
154
|
+
backgroundColor: '#fff'
|
|
155
|
+
};
|
|
156
|
+
let night = {
|
|
157
|
+
backgroundColor: '#232b38'
|
|
158
|
+
};
|
|
159
|
+
let dark = {
|
|
160
|
+
backgroundColor: '#212121'
|
|
161
|
+
};
|
|
162
|
+
let fixedPosition = {
|
|
163
|
+
position: 'fixed',
|
|
164
|
+
bottom: '0',
|
|
165
|
+
backgroundColor: '#272727',
|
|
166
|
+
padding: '10px',
|
|
167
|
+
borderRadius: '15px 15px 0 0',
|
|
168
|
+
minWidth: '100px',
|
|
169
|
+
textAlign: 'center',
|
|
170
|
+
boxShadow: '0 0 3px #000',
|
|
171
|
+
fontSize: '12px',
|
|
172
|
+
zIndex: '3',
|
|
173
|
+
display: 'flex',
|
|
174
|
+
alignItems: 'center'
|
|
175
|
+
};
|
|
134
176
|
return /*#__PURE__*/React.createElement(I18NProvider, {
|
|
135
177
|
i18n: i18n,
|
|
136
178
|
timeZone: "Asia/Kolkata",
|
|
@@ -153,29 +195,40 @@ export default class Provider extends React.Component {
|
|
|
153
195
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
154
196
|
scroll: "vertical"
|
|
155
197
|
}, this.props.children), /*#__PURE__*/React.createElement("div", {
|
|
198
|
+
style: Object.assign({}, fixedPosition, {
|
|
199
|
+
left: '20%',
|
|
200
|
+
transform: 'translate(-20%)'
|
|
201
|
+
})
|
|
202
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
203
|
+
style: {
|
|
204
|
+
color: '#fff'
|
|
205
|
+
}
|
|
206
|
+
}, "Appearance:"), /*#__PURE__*/React.createElement("div", {
|
|
207
|
+
style: {
|
|
208
|
+
display: 'flex'
|
|
209
|
+
}
|
|
210
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
211
|
+
title: "Light Mode",
|
|
212
|
+
style: Object.assign({}, themeClass, light),
|
|
213
|
+
onClick: () => this.setAppearance('default')
|
|
214
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
215
|
+
title: "Night Mode",
|
|
216
|
+
style: Object.assign({}, themeClass, night),
|
|
217
|
+
onClick: () => this.setAppearance('dark')
|
|
218
|
+
}), /*#__PURE__*/React.createElement("span", {
|
|
219
|
+
title: "Dark Mode",
|
|
220
|
+
style: Object.assign({}, themeClass, dark),
|
|
221
|
+
onClick: () => this.setAppearance('pureDark')
|
|
222
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
223
|
+
style: Object.assign({}, fixedPosition, {
|
|
224
|
+
left: '80%',
|
|
225
|
+
transform: 'translate(-80%)'
|
|
226
|
+
})
|
|
227
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
156
228
|
style: {
|
|
157
|
-
|
|
158
|
-
bottom: '0',
|
|
159
|
-
backgroundColor: '#272727',
|
|
160
|
-
padding: '10px',
|
|
161
|
-
borderRadius: '15px 15px 0 0',
|
|
162
|
-
minWidth: '100px',
|
|
163
|
-
textAlign: 'center',
|
|
164
|
-
left: '50%',
|
|
165
|
-
transform: 'translate(-50%)',
|
|
166
|
-
boxShadow: '0 0 3px #000',
|
|
167
|
-
fontSize: '12px',
|
|
168
|
-
zIndex: '1000',
|
|
169
|
-
display: 'flex',
|
|
170
|
-
alignItems: 'center'
|
|
229
|
+
color: '#fff'
|
|
171
230
|
}
|
|
172
|
-
},
|
|
173
|
-
id: "switchMode",
|
|
174
|
-
text: "Light/Night Mode",
|
|
175
|
-
labelSize: "small",
|
|
176
|
-
onChange: this.switchMode,
|
|
177
|
-
checked: appearanceName == 'dark'
|
|
178
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
231
|
+
}, "Themes:"), /*#__PURE__*/React.createElement("div", {
|
|
179
232
|
style: {
|
|
180
233
|
display: 'flex'
|
|
181
234
|
}
|
|
@@ -112,7 +112,7 @@ export default class CurrencyField extends PureComponent {
|
|
|
112
112
|
} = this.state;
|
|
113
113
|
let formatValue = value;
|
|
114
114
|
|
|
115
|
-
if (!isActive
|
|
115
|
+
if (!isActive) {
|
|
116
116
|
formatValue = formatCurrency(value, userCurrencyType);
|
|
117
117
|
} else {
|
|
118
118
|
formatValue = value;
|
|
@@ -117,7 +117,8 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
117
117
|
needBorder,
|
|
118
118
|
borderColor,
|
|
119
119
|
getTextBoxChildren,
|
|
120
|
-
htmlId
|
|
120
|
+
htmlId,
|
|
121
|
+
boxSize
|
|
121
122
|
} = this.props;
|
|
122
123
|
let {
|
|
123
124
|
showAll
|
|
@@ -185,7 +186,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
185
186
|
isArrow: false,
|
|
186
187
|
getRef: getContainerRef,
|
|
187
188
|
isBoxPaddingNeed: true,
|
|
188
|
-
size:
|
|
189
|
+
size: boxSize,
|
|
189
190
|
boxPosition: boxPosition,
|
|
190
191
|
isPadding: false,
|
|
191
192
|
customClass: {
|
|
@@ -279,7 +280,8 @@ TagsMultiSelect.propTypes = {
|
|
|
279
280
|
borderColor: PropTypes.oneOf(['transparent', 'default', 'dark']),
|
|
280
281
|
needBorder: PropTypes.bool,
|
|
281
282
|
getTextBoxChildren: PropTypes.func,
|
|
282
|
-
htmlId: PropTypes.string
|
|
283
|
+
htmlId: PropTypes.string,
|
|
284
|
+
boxSize: PropTypes.string
|
|
283
285
|
};
|
|
284
286
|
TagsMultiSelect.defaultProps = {
|
|
285
287
|
className: '',
|
|
@@ -287,7 +289,8 @@ TagsMultiSelect.defaultProps = {
|
|
|
287
289
|
chipNeedToShow: '5',
|
|
288
290
|
borderColor: 'default',
|
|
289
291
|
needBorder: true,
|
|
290
|
-
dataId: ''
|
|
292
|
+
dataId: '',
|
|
293
|
+
boxSize: 'default'
|
|
291
294
|
};
|
|
292
295
|
|
|
293
296
|
if (false) {
|
|
@@ -649,8 +649,18 @@
|
|
|
649
649
|
right: 0;
|
|
650
650
|
left: 0;
|
|
651
651
|
}
|
|
652
|
-
.readOnly :global .KB_Editor_menus
|
|
652
|
+
.readOnly :global .KB_Editor_menus {
|
|
653
|
+
display: none !important;
|
|
654
|
+
}
|
|
653
655
|
.editorHide :global .KB_Editor {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
+
position: absolute !important;
|
|
657
|
+
top: 0;
|
|
658
|
+
opacity: 0;
|
|
659
|
+
visibility: hidden;
|
|
660
|
+
}
|
|
661
|
+
[dir=ltr] .editorHide :global .KB_Editor {
|
|
662
|
+
left: 0;
|
|
663
|
+
}
|
|
664
|
+
[dir=rtl] .editorHide :global .KB_Editor {
|
|
665
|
+
right: 0;
|
|
656
666
|
}
|
package/lib/Provider.js
CHANGED
|
@@ -65,6 +65,28 @@ require("@zohodesk/components/assets/Appearance/dark/themes/yellow/yellowDarkCom
|
|
|
65
65
|
|
|
66
66
|
require("@zohodesk/components/assets/Appearance/dark/mode/darkMode.module.css");
|
|
67
67
|
|
|
68
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css");
|
|
69
|
+
|
|
70
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css");
|
|
71
|
+
|
|
72
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css");
|
|
73
|
+
|
|
74
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css");
|
|
75
|
+
|
|
76
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css");
|
|
77
|
+
|
|
78
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css");
|
|
79
|
+
|
|
80
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css");
|
|
81
|
+
|
|
82
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css");
|
|
83
|
+
|
|
84
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css");
|
|
85
|
+
|
|
86
|
+
require("@zohodesk/components/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css");
|
|
87
|
+
|
|
88
|
+
require("@zohodesk/components/assets/Appearance/pureDark/mode/pureDarkMode.module.css");
|
|
89
|
+
|
|
68
90
|
require("@zohodesk/svg/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css");
|
|
69
91
|
|
|
70
92
|
require("@zohodesk/svg/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css");
|
|
@@ -89,12 +111,22 @@ require("@zohodesk/svg/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.m
|
|
|
89
111
|
|
|
90
112
|
require("@zohodesk/svg/assets/Appearance/dark/mode/darkEmptyStates.module.css");
|
|
91
113
|
|
|
114
|
+
require("@zohodesk/svg/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css");
|
|
115
|
+
|
|
116
|
+
require("@zohodesk/svg/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css");
|
|
117
|
+
|
|
118
|
+
require("@zohodesk/svg/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css");
|
|
119
|
+
|
|
120
|
+
require("@zohodesk/svg/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css");
|
|
121
|
+
|
|
122
|
+
require("@zohodesk/svg/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css");
|
|
123
|
+
|
|
124
|
+
require("@zohodesk/svg/assets/Appearance/pureDark/mode/pureDarkEmptyStates.module.css");
|
|
125
|
+
|
|
92
126
|
var _IdProvider = require("@zohodesk/components/lib/Provider/IdProvider");
|
|
93
127
|
|
|
94
128
|
var _ZindexProvider = require("@zohodesk/components/lib/Provider/ZindexProvider");
|
|
95
129
|
|
|
96
|
-
var _Switch = _interopRequireDefault(require("@zohodesk/components/lib/Switch/Switch"));
|
|
97
|
-
|
|
98
130
|
require("../assets/Appearance/default/themes/blue/blueDefaultDotTheme.module.css");
|
|
99
131
|
|
|
100
132
|
require("../assets/Appearance/default/themes/green/greenDefaultDotTheme.module.css");
|
|
@@ -141,6 +173,13 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
141
173
|
|
|
142
174
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
143
175
|
|
|
176
|
+
/* dot pkg - pure dark mode & themes */
|
|
177
|
+
// import '../assets/Appearance/dark/themes/blue/blueDarkDotTheme.module.css';
|
|
178
|
+
// import '../assets/Appearance/dark/themes/green/greenDarkDotTheme.module.css';
|
|
179
|
+
// import '../assets/Appearance/dark/themes/orange/orangeDarkDotTheme.module.css';
|
|
180
|
+
// import '../assets/Appearance/dark/themes/red/redDarkDotTheme.module.css';
|
|
181
|
+
// import '../assets/Appearance/dark/themes/yellow/yellowDarkDotTheme.module.css';
|
|
182
|
+
// import '../assets/Appearance/dark/mode/dotDarkMode.module.css';
|
|
144
183
|
_datetimejs["default"].tz.set({
|
|
145
184
|
timezone: 'Asia/Kolkata',
|
|
146
185
|
_packed: '-5R.s -5R.k -5l.a -5u -6u|01234343|-4Fg5R.s BKo0.8 1rDcw.a 1r2LP.a 1un0 HB0 7zX0|15e6',
|
|
@@ -164,25 +203,16 @@ var Provider = /*#__PURE__*/function (_React$Component) {
|
|
|
164
203
|
appearanceName: 'default',
|
|
165
204
|
themeName: 'blue'
|
|
166
205
|
};
|
|
167
|
-
_this.switchMode = _this.switchMode.bind(_assertThisInitialized(_this));
|
|
168
206
|
_this.setTheme = _this.setTheme.bind(_assertThisInitialized(_this));
|
|
169
207
|
return _this;
|
|
170
208
|
}
|
|
171
209
|
|
|
172
210
|
_createClass(Provider, [{
|
|
173
|
-
key: "
|
|
174
|
-
value: function
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
this.setState({
|
|
179
|
-
appearanceName: 'dark'
|
|
180
|
-
});
|
|
181
|
-
} else {
|
|
182
|
-
this.setState({
|
|
183
|
-
appearanceName: 'default'
|
|
184
|
-
});
|
|
185
|
-
}
|
|
211
|
+
key: "setAppearance",
|
|
212
|
+
value: function setAppearance(mode) {
|
|
213
|
+
this.setState({
|
|
214
|
+
appearanceName: mode
|
|
215
|
+
});
|
|
186
216
|
}
|
|
187
217
|
}, {
|
|
188
218
|
key: "setTheme",
|
|
@@ -221,6 +251,29 @@ var Provider = /*#__PURE__*/function (_React$Component) {
|
|
|
221
251
|
var yellow = {
|
|
222
252
|
backgroundColor: '#e8b923'
|
|
223
253
|
};
|
|
254
|
+
var light = {
|
|
255
|
+
backgroundColor: '#fff'
|
|
256
|
+
};
|
|
257
|
+
var night = {
|
|
258
|
+
backgroundColor: '#232b38'
|
|
259
|
+
};
|
|
260
|
+
var dark = {
|
|
261
|
+
backgroundColor: '#212121'
|
|
262
|
+
};
|
|
263
|
+
var fixedPosition = {
|
|
264
|
+
position: 'fixed',
|
|
265
|
+
bottom: '0',
|
|
266
|
+
backgroundColor: '#272727',
|
|
267
|
+
padding: '10px',
|
|
268
|
+
borderRadius: '15px 15px 0 0',
|
|
269
|
+
minWidth: '100px',
|
|
270
|
+
textAlign: 'center',
|
|
271
|
+
boxShadow: '0 0 3px #000',
|
|
272
|
+
fontSize: '12px',
|
|
273
|
+
zIndex: '3',
|
|
274
|
+
display: 'flex',
|
|
275
|
+
alignItems: 'center'
|
|
276
|
+
};
|
|
224
277
|
return /*#__PURE__*/_react["default"].createElement(_i18n.I18NProvider, {
|
|
225
278
|
i18n: _i18n2["default"],
|
|
226
279
|
timeZone: "Asia/Kolkata",
|
|
@@ -243,29 +296,46 @@ var Provider = /*#__PURE__*/function (_React$Component) {
|
|
|
243
296
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
244
297
|
scroll: "vertical"
|
|
245
298
|
}, this.props.children), /*#__PURE__*/_react["default"].createElement("div", {
|
|
299
|
+
style: Object.assign({}, fixedPosition, {
|
|
300
|
+
left: '20%',
|
|
301
|
+
transform: 'translate(-20%)'
|
|
302
|
+
})
|
|
303
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
304
|
+
style: {
|
|
305
|
+
color: '#fff'
|
|
306
|
+
}
|
|
307
|
+
}, "Appearance:"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
308
|
+
style: {
|
|
309
|
+
display: 'flex'
|
|
310
|
+
}
|
|
311
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
312
|
+
title: "Light Mode",
|
|
313
|
+
style: Object.assign({}, themeClass, light),
|
|
314
|
+
onClick: function onClick() {
|
|
315
|
+
return _this2.setAppearance('default');
|
|
316
|
+
}
|
|
317
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
318
|
+
title: "Night Mode",
|
|
319
|
+
style: Object.assign({}, themeClass, night),
|
|
320
|
+
onClick: function onClick() {
|
|
321
|
+
return _this2.setAppearance('dark');
|
|
322
|
+
}
|
|
323
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
324
|
+
title: "Dark Mode",
|
|
325
|
+
style: Object.assign({}, themeClass, dark),
|
|
326
|
+
onClick: function onClick() {
|
|
327
|
+
return _this2.setAppearance('pureDark');
|
|
328
|
+
}
|
|
329
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
|
330
|
+
style: Object.assign({}, fixedPosition, {
|
|
331
|
+
left: '80%',
|
|
332
|
+
transform: 'translate(-80%)'
|
|
333
|
+
})
|
|
334
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
246
335
|
style: {
|
|
247
|
-
|
|
248
|
-
bottom: '0',
|
|
249
|
-
backgroundColor: '#272727',
|
|
250
|
-
padding: '10px',
|
|
251
|
-
borderRadius: '15px 15px 0 0',
|
|
252
|
-
minWidth: '100px',
|
|
253
|
-
textAlign: 'center',
|
|
254
|
-
left: '50%',
|
|
255
|
-
transform: 'translate(-50%)',
|
|
256
|
-
boxShadow: '0 0 3px #000',
|
|
257
|
-
fontSize: '12px',
|
|
258
|
-
zIndex: '1000',
|
|
259
|
-
display: 'flex',
|
|
260
|
-
alignItems: 'center'
|
|
336
|
+
color: '#fff'
|
|
261
337
|
}
|
|
262
|
-
},
|
|
263
|
-
id: "switchMode",
|
|
264
|
-
text: "Light/Night Mode",
|
|
265
|
-
labelSize: "small",
|
|
266
|
-
onChange: this.switchMode,
|
|
267
|
-
checked: appearanceName == 'dark'
|
|
268
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
338
|
+
}, "Themes:"), /*#__PURE__*/_react["default"].createElement("div", {
|
|
269
339
|
style: {
|
|
270
340
|
display: 'flex'
|
|
271
341
|
}
|
|
@@ -156,7 +156,7 @@ var CurrencyField = /*#__PURE__*/function (_PureComponent) {
|
|
|
156
156
|
var isActive = this.state.isActive;
|
|
157
157
|
var formatValue = value;
|
|
158
158
|
|
|
159
|
-
if (!isActive
|
|
159
|
+
if (!isActive) {
|
|
160
160
|
formatValue = formatCurrency(value, userCurrencyType);
|
|
161
161
|
} else {
|
|
162
162
|
formatValue = value;
|
|
@@ -177,7 +177,8 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
177
177
|
needBorder = _this$props3.needBorder,
|
|
178
178
|
borderColor = _this$props3.borderColor,
|
|
179
179
|
getTextBoxChildren = _this$props3.getTextBoxChildren,
|
|
180
|
-
htmlId = _this$props3.htmlId
|
|
180
|
+
htmlId = _this$props3.htmlId,
|
|
181
|
+
boxSize = _this$props3.boxSize;
|
|
181
182
|
var showAll = this.state.showAll;
|
|
182
183
|
var chipLimit = !isPopupReady ? showAll ? tagsList.length : chipNeedToShow : tagsList.length;
|
|
183
184
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -239,7 +240,7 @@ var TagsMultiSelect = /*#__PURE__*/function (_React$Component) {
|
|
|
239
240
|
isArrow: false,
|
|
240
241
|
getRef: getContainerRef,
|
|
241
242
|
isBoxPaddingNeed: true,
|
|
242
|
-
size:
|
|
243
|
+
size: boxSize,
|
|
243
244
|
boxPosition: boxPosition,
|
|
244
245
|
isPadding: false,
|
|
245
246
|
customClass: {
|
|
@@ -335,7 +336,8 @@ TagsMultiSelect.propTypes = {
|
|
|
335
336
|
borderColor: _propTypes["default"].oneOf(['transparent', 'default', 'dark']),
|
|
336
337
|
needBorder: _propTypes["default"].bool,
|
|
337
338
|
getTextBoxChildren: _propTypes["default"].func,
|
|
338
|
-
htmlId: _propTypes["default"].string
|
|
339
|
+
htmlId: _propTypes["default"].string,
|
|
340
|
+
boxSize: _propTypes["default"].string
|
|
339
341
|
};
|
|
340
342
|
TagsMultiSelect.defaultProps = {
|
|
341
343
|
className: '',
|
|
@@ -343,7 +345,8 @@ TagsMultiSelect.defaultProps = {
|
|
|
343
345
|
chipNeedToShow: '5',
|
|
344
346
|
borderColor: 'default',
|
|
345
347
|
needBorder: true,
|
|
346
|
-
dataId: ''
|
|
348
|
+
dataId: '',
|
|
349
|
+
boxSize: 'default'
|
|
347
350
|
};
|
|
348
351
|
|
|
349
352
|
if (false) {
|
|
@@ -649,8 +649,18 @@
|
|
|
649
649
|
right: 0;
|
|
650
650
|
left: 0;
|
|
651
651
|
}
|
|
652
|
-
.readOnly :global .KB_Editor_menus
|
|
652
|
+
.readOnly :global .KB_Editor_menus {
|
|
653
|
+
display: none !important;
|
|
654
|
+
}
|
|
653
655
|
.editorHide :global .KB_Editor {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
+
position: absolute !important;
|
|
657
|
+
top: 0;
|
|
658
|
+
opacity: 0;
|
|
659
|
+
visibility: hidden;
|
|
660
|
+
}
|
|
661
|
+
[dir=ltr] .editorHide :global .KB_Editor {
|
|
662
|
+
left: 0;
|
|
663
|
+
}
|
|
664
|
+
[dir=rtl] .editorHide :global .KB_Editor {
|
|
665
|
+
right: 0;
|
|
656
666
|
}
|