@zohodesk/components 1.0.0-alpha-241 → 1.0.0-alpha-244
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 +13 -0
- package/assets/Appearance/dark/mode/darkMode.module.css +5 -18
- package/assets/Appearance/default/mode/defaultMode.module.css +4 -17
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +5 -18
- package/es/AppContainer/AppContainer.js +1 -1
- package/es/Avatar/Avatar.js +1 -1
- package/es/AvatarTeam/AvatarTeam.js +1 -1
- package/es/CheckBox/CheckBox.js +1 -1
- package/es/DateTime/DateTime.js +4 -2
- package/es/DateTime/DateTime.module.css +1 -1
- package/es/DateTime/DateWidget.js +4 -2
- package/es/DateTime/YearView.module.css +1 -0
- package/es/DropBox/DropBox.js +1 -1
- package/es/ListItem/ListContainer.js +1 -1
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItemWithAvatar.js +1 -1
- package/es/ListItem/ListItemWithCheckBox.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/ListItemWithRadio.js +1 -1
- package/es/Modal/Modal.js +1 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +14 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +20 -8
- package/es/MultiSelect/MultiSelect.module.css +9 -1
- package/es/MultiSelect/SelectedOptions.js +1 -1
- package/es/MultiSelect/Suggestions.js +1 -1
- package/es/Popup/Popup.js +1 -1
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/es/Select/Select.js +1 -1
- package/es/Switch/Switch.js +1 -1
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/TabWrapper.js +1 -1
- package/es/Tab/Tabs.js +1 -1
- package/es/Tag/Tag.js +1 -1
- package/es/Tag/Tag.module.css +6 -2
- package/es/TextBox/TextBox.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/Textarea/Textarea.js +1 -1
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/css.js +0 -1
- package/es/{MultiSelect → deprecated}/AdvancedMultiSelect.module.css +1 -1
- package/es/deprecated/advancedMultiSelectVariableJson.js +80 -0
- package/lib/Accordion/Accordion.js +2 -2
- package/lib/Accordion/AccordionItem.js +2 -2
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Animation/Animation.js +2 -2
- package/lib/Animation/docs/Animation__default.docs.js +2 -2
- package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/lib/AppContainer/AppContainer.js +3 -3
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
- package/lib/Button/Button.js +2 -2
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Buttongroup/Buttongroup.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
- package/lib/Card/Card.js +2 -2
- package/lib/Card/docs/Card__Custom.docs.js +2 -2
- package/lib/Card/docs/Card__Default.docs.js +2 -2
- package/lib/Card/docs/Card__Scroll.docs.js +2 -2
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateTime.js +6 -4
- package/lib/DateTime/DateTime.module.css +1 -1
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +6 -4
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +2 -2
- package/lib/DateTime/YearView.module.css +1 -0
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
- package/lib/DropDown/DropDown.js +2 -2
- package/lib/DropDown/DropDownHeading.js +2 -2
- package/lib/DropDown/DropDownItem.js +2 -2
- package/lib/DropDown/DropDownSearch.js +2 -2
- package/lib/DropDown/DropDownSeparator.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/Label/Label.js +2 -2
- package/lib/Label/docs/Label__clipped.docs.js +2 -2
- package/lib/Label/docs/Label__custom.docs.js +2 -2
- package/lib/Label/docs/Label__palette.docs.js +2 -2
- package/lib/Label/docs/Label__size.docs.js +2 -2
- package/lib/Label/docs/Label__type.docs.js +2 -2
- package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
- package/lib/Layout/docs/Layout__default.docs.js +2 -2
- package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +2 -2
- package/lib/ListItem/ListContainer.js +1 -1
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +15 -9
- package/lib/MultiSelect/AdvancedMultiSelect.js +26 -15
- package/lib/MultiSelect/EmptyState.js +2 -2
- package/lib/MultiSelect/MultiSelect.js +2 -2
- package/lib/MultiSelect/MultiSelect.module.css +9 -1
- package/lib/MultiSelect/MultiSelectHeader.js +2 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -2
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +3 -3
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
- package/lib/PopOver/PopOver.js +2 -2
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +2 -2
- package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
- package/lib/Provider.js +2 -2
- package/lib/Radio/Radio.js +2 -2
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +2 -2
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +3 -3
- package/lib/Ribbon/Ribbon.js +2 -2
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/Select/GroupSelect.js +2 -2
- package/lib/Select/Select.js +3 -3
- package/lib/Select/SelectWithAvatar.js +2 -2
- package/lib/Select/SelectWithIcon.js +2 -2
- package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
- package/lib/Select/docs/Select__default.docs.js +2 -2
- package/lib/Stencils/Stencils.js +2 -2
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +3 -3
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tag/Tag.js +3 -3
- package/lib/Tag/Tag.module.css +6 -2
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
- package/lib/Tooltip/Tooltip.js +2 -2
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
- package/lib/css.js +0 -2
- package/lib/{MultiSelect → deprecated}/AdvancedMultiSelect.module.css +1 -1
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/lib/semantic/Button/Button.js +2 -2
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,19 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
32
32
|
- TextBoxIcon
|
|
33
33
|
- Tooltip
|
|
34
34
|
|
|
35
|
+
# 1.0.0-alpha-244
|
|
36
|
+
|
|
37
|
+
- AdvancedGroupMultiSelect , AdvancedMultiSelect => textbox flexible ui fix and duplicate css removed
|
|
38
|
+
|
|
39
|
+
# 1.0.0-alpha-243
|
|
40
|
+
|
|
41
|
+
- DateTime, DateWidget => Portal Id support for fixed position.
|
|
42
|
+
- YearView => Theme Variable support for month text.
|
|
43
|
+
|
|
44
|
+
# 1.0.0-alpha-242
|
|
45
|
+
|
|
46
|
+
- Tag -> defaultLink palette added
|
|
47
|
+
|
|
35
48
|
# 1.0.0-alpha-241
|
|
36
49
|
|
|
37
50
|
- Added unobserve element condition for Tooltip.
|
|
@@ -121,6 +121,8 @@
|
|
|
121
121
|
--zdt_tag_pure_hover_bg: var(--zd_smoke6);
|
|
122
122
|
--zdt_tag_pure_hover_border: var(--zd_dark6);
|
|
123
123
|
--zdt_tag_dark_close_hover_bg: var(--dot_brightRed);
|
|
124
|
+
--zdt_tag_defaultLink_hover_bg: var(--zdt_cta_alpha_bg);
|
|
125
|
+
--zdt_tag_defaultLink_hover_text: var(--zdt_cta_primary_text);
|
|
124
126
|
|
|
125
127
|
/* textbox */
|
|
126
128
|
--zdt_textbox_default_text: var(--dot_platinum);
|
|
@@ -261,23 +263,7 @@
|
|
|
261
263
|
--zdt_multiselect_box_bg: var(--dot_ebonyclay);
|
|
262
264
|
--zdt_multiselect_selectall_text: var(--zdt_cta_primary_text);
|
|
263
265
|
--zdt_multiselect_message_text: var(--dot_oslogrey);
|
|
264
|
-
|
|
265
|
-
/* advanced multiselect */
|
|
266
|
-
--zdt_advancedmultiselect_default_border: var(--dot_inputLine);
|
|
267
|
-
--zdt_advancedmultiselect_transparent_border: var(--dot_mirror);
|
|
268
|
-
--zdt_advancedmultiselect_dark_border: var(--dot_mulledwine);
|
|
269
|
-
--zdt_advancedmultiselect_default_hover_border: var(--dot_inputLineHover);
|
|
270
|
-
--zdt_advancedmultiselect_transparent_hover_border: var(--dot_inputLineHover);
|
|
271
|
-
--zdt_advancedmultiselect_dark_hover_border: var(--dot_stardust);
|
|
272
|
-
--zdt_advancedmultiselect_default_active_border: var(--dot_inputLineFocus);
|
|
273
|
-
--zdt_advancedmultiselect_transparent_active_border: var(--dot_inputLineFocus);
|
|
274
|
-
--zdt_advancedmultiselect_dark_active_border: var(--dot_stardust);
|
|
275
|
-
--zdt_advancedmultiselect_delete_text: var(--dot_cadetblue);
|
|
276
|
-
--zdt_advancedmultiselect_delete_hover_text: var(--dot_platinum);
|
|
277
|
-
--zdt_advancedmultiselect_delete_bg: var(--dot_mirror);
|
|
278
|
-
--zdt_advancedmultiselect_box_bg: var(--dot_ebonyclay);
|
|
279
|
-
--zdt_advancedmultiselect_droppopup_text: var(--dot_oslogrey);
|
|
280
|
-
--zdt_advancedmultiselect_more_text: var(--zdt_cta_primary_text);
|
|
266
|
+
--zdt_multiselect_more_text: var(--zdt_cta_primary_text);
|
|
281
267
|
|
|
282
268
|
/* ripple effect */
|
|
283
269
|
--zdt_rippleeffect_default_border: var(--dot_mirror);
|
|
@@ -305,7 +291,7 @@
|
|
|
305
291
|
--zdt_datetime_datestr_hover_bg: var(--dot_tuna);
|
|
306
292
|
--zdt_datetime_separator_border: var(--dot_tuna);
|
|
307
293
|
--zdt_datetime_daystr_text: var(--dot_oslogrey);
|
|
308
|
-
--zdt_datetime_invalid_text: var(--
|
|
294
|
+
--zdt_datetime_invalid_text: var(--dot_riverbed);
|
|
309
295
|
--zdt_datetime_invalid_hover_text: var(--dot_bittersweet);
|
|
310
296
|
--zdt_datetime_invaliddate_text: rgba(222, 53, 53, 0.3);
|
|
311
297
|
--zdt_datetime_today_bg: var(--zdt_cta_primary_bg);
|
|
@@ -321,6 +307,7 @@
|
|
|
321
307
|
--zdt_yearview_yearbox_border: #384157;
|
|
322
308
|
--zdt_yearview_year_hover_text: var(--dot_platinum);
|
|
323
309
|
--zdt_yearview_yeartext_text: var(--dot_oslogrey);
|
|
310
|
+
--zdt_yearview_month_text: var(--dot_platinum);
|
|
324
311
|
|
|
325
312
|
/* date widget */
|
|
326
313
|
--zdt_datewidget_input_border: var(--dot_inputLine);
|
|
@@ -121,6 +121,8 @@
|
|
|
121
121
|
--zdt_tag_pure_hover_bg: var(--zd_smoke6);
|
|
122
122
|
--zdt_tag_pure_hover_border: var(--zd_dark6);
|
|
123
123
|
--zdt_tag_dark_close_hover_bg: var(--dot_brightRed);
|
|
124
|
+
--zdt_tag_defaultLink_hover_bg: var(--zdt_cta_alpha_bg);
|
|
125
|
+
--zdt_tag_defaultLink_hover_text: var(--zdt_cta_primary_text);
|
|
124
126
|
|
|
125
127
|
/* textbox */
|
|
126
128
|
--zdt_textbox_default_text: var(--dot_black);
|
|
@@ -261,23 +263,7 @@
|
|
|
261
263
|
--zdt_multiselect_box_bg: var(--dot_white);
|
|
262
264
|
--zdt_multiselect_selectall_text: var(--zdt_cta_primary_text);
|
|
263
265
|
--zdt_multiselect_message_text: var(--dot_slateGrey);
|
|
264
|
-
|
|
265
|
-
/* advanced multiselect */
|
|
266
|
-
--zdt_advancedmultiselect_default_border: var(--dot_inputLine);
|
|
267
|
-
--zdt_advancedmultiselect_transparent_border: var(--dot_mirror);
|
|
268
|
-
--zdt_advancedmultiselect_dark_border: var(--dot_mulledwine);
|
|
269
|
-
--zdt_advancedmultiselect_default_hover_border: var(--dot_inputLineHover);
|
|
270
|
-
--zdt_advancedmultiselect_transparent_hover_border: var(--dot_inputLineHover);
|
|
271
|
-
--zdt_advancedmultiselect_dark_hover_border: var(--dot_stardust);
|
|
272
|
-
--zdt_advancedmultiselect_default_active_border: var(--dot_inputLineFocus);
|
|
273
|
-
--zdt_advancedmultiselect_transparent_active_border: var(--dot_inputLineFocus);
|
|
274
|
-
--zdt_advancedmultiselect_dark_active_border: var(--dot_stardust);
|
|
275
|
-
--zdt_advancedmultiselect_delete_text: var(--dot_shuttleGrey);
|
|
276
|
-
--zdt_advancedmultiselect_delete_hover_text: var(--dot_black);
|
|
277
|
-
--zdt_advancedmultiselect_delete_bg: var(--dot_mirror);
|
|
278
|
-
--zdt_advancedmultiselect_box_bg: var(--dot_white);
|
|
279
|
-
--zdt_advancedmultiselect_droppopup_text: var(--dot_slateGrey);
|
|
280
|
-
--zdt_advancedmultiselect_more_text: var(--zdt_cta_primary_text);
|
|
266
|
+
--zdt_multiselect_more_text: var(--zdt_cta_primary_text);
|
|
281
267
|
|
|
282
268
|
/* ripple effect */
|
|
283
269
|
--zdt_rippleeffect_default_border: var(--dot_mirror);
|
|
@@ -321,6 +307,7 @@
|
|
|
321
307
|
--zdt_yearview_yearbox_border: var(--dot_paleBlue);
|
|
322
308
|
--zdt_yearview_year_hover_text: var(--dot_black);
|
|
323
309
|
--zdt_yearview_yeartext_text: var(--dot_slateGrey);
|
|
310
|
+
--zdt_yearview_month_text: var(--dot_black);
|
|
324
311
|
|
|
325
312
|
/* date widget */
|
|
326
313
|
--zdt_datewidget_input_border: var(--dot_inputLine);
|
|
@@ -121,6 +121,8 @@
|
|
|
121
121
|
--zdt_tag_pure_hover_bg: var(--zd_smoke6);
|
|
122
122
|
--zdt_tag_pure_hover_border: var(--zd_dark6);
|
|
123
123
|
--zdt_tag_dark_close_hover_bg: var(--dot_brightRed);
|
|
124
|
+
--zdt_tag_defaultLink_hover_bg: var(--zdt_cta_alpha_bg);
|
|
125
|
+
--zdt_tag_defaultLink_hover_text: var(--zdt_cta_primary_text);
|
|
124
126
|
|
|
125
127
|
/* textbox */
|
|
126
128
|
--zdt_textbox_default_text: var(--dot_platinum);
|
|
@@ -261,23 +263,7 @@
|
|
|
261
263
|
--zdt_multiselect_box_bg: #212121;
|
|
262
264
|
--zdt_multiselect_selectall_text: var(--zdt_cta_primary_text);
|
|
263
265
|
--zdt_multiselect_message_text: var(--dot_oslogrey);
|
|
264
|
-
|
|
265
|
-
/* advanced multiselect */
|
|
266
|
-
--zdt_advancedmultiselect_default_border: var(--dot_inputLine);
|
|
267
|
-
--zdt_advancedmultiselect_transparent_border: var(--dot_mirror);
|
|
268
|
-
--zdt_advancedmultiselect_dark_border: var(--dot_mulledwine);
|
|
269
|
-
--zdt_advancedmultiselect_default_hover_border: var(--dot_inputLineHover);
|
|
270
|
-
--zdt_advancedmultiselect_transparent_hover_border: var(--dot_inputLineHover);
|
|
271
|
-
--zdt_advancedmultiselect_dark_hover_border: var(--dot_stardust);
|
|
272
|
-
--zdt_advancedmultiselect_default_active_border: var(--dot_inputLineFocus);
|
|
273
|
-
--zdt_advancedmultiselect_transparent_active_border: var(--dot_inputLineFocus);
|
|
274
|
-
--zdt_advancedmultiselect_dark_active_border: var(--dot_stardust);
|
|
275
|
-
--zdt_advancedmultiselect_delete_text: #999;
|
|
276
|
-
--zdt_advancedmultiselect_delete_hover_text: var(--dot_platinum);
|
|
277
|
-
--zdt_advancedmultiselect_delete_bg: var(--dot_mirror);
|
|
278
|
-
--zdt_advancedmultiselect_box_bg: #212121;
|
|
279
|
-
--zdt_advancedmultiselect_droppopup_text: var(--dot_oslogrey);
|
|
280
|
-
--zdt_advancedmultiselect_more_text: var(--zdt_cta_primary_text);
|
|
266
|
+
--zdt_multiselect_more_text: var(--zdt_cta_primary_text);
|
|
281
267
|
|
|
282
268
|
/* ripple effect */
|
|
283
269
|
--zdt_rippleeffect_default_border: var(--dot_mirror);
|
|
@@ -305,7 +291,7 @@
|
|
|
305
291
|
--zdt_datetime_datestr_hover_bg: #161515;
|
|
306
292
|
--zdt_datetime_separator_border: #161515;
|
|
307
293
|
--zdt_datetime_daystr_text: #828994;
|
|
308
|
-
--zdt_datetime_invalid_text: var(--
|
|
294
|
+
--zdt_datetime_invalid_text: var(--dot_riverbed);
|
|
309
295
|
--zdt_datetime_invalid_hover_text: var(--dot_bittersweet);
|
|
310
296
|
--zdt_datetime_invaliddate_text: rgba(222, 53, 53, 0.3);
|
|
311
297
|
--zdt_datetime_today_bg: var(--zdt_cta_primary_bg);
|
|
@@ -321,6 +307,7 @@
|
|
|
321
307
|
--zdt_yearview_yearbox_border: #161515;
|
|
322
308
|
--zdt_yearview_year_hover_text: var(--dot_platinum);
|
|
323
309
|
--zdt_yearview_yeartext_text: #828994;
|
|
310
|
+
--zdt_yearview_month_text: var(--dot_platinum);
|
|
324
311
|
|
|
325
312
|
/* date widget */
|
|
326
313
|
--zdt_datewidget_input_border: var(--dot_inputLine);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Avatar/Avatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/CheckBox/CheckBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/DateTime/DateTime.js
CHANGED
|
@@ -664,7 +664,8 @@ export default class DateTime extends React.PureComponent {
|
|
|
664
664
|
isDefaultPosition,
|
|
665
665
|
positionsOffset,
|
|
666
666
|
targetOffset,
|
|
667
|
-
isRestrictScroll
|
|
667
|
+
isRestrictScroll,
|
|
668
|
+
dropBoxPortalId
|
|
668
669
|
} = this.props;
|
|
669
670
|
const {
|
|
670
671
|
timeText = 'Time',
|
|
@@ -763,7 +764,8 @@ export default class DateTime extends React.PureComponent {
|
|
|
763
764
|
isPadding: isPadding,
|
|
764
765
|
positionsOffset: positionsOffset,
|
|
765
766
|
targetOffset: targetOffset,
|
|
766
|
-
isRestrictScroll: isRestrictScroll
|
|
767
|
+
isRestrictScroll: isRestrictScroll,
|
|
768
|
+
portalId: dropBoxPortalId
|
|
767
769
|
}, /*#__PURE__*/React.createElement(Box, null, childEle));
|
|
768
770
|
}) : null;
|
|
769
771
|
}
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.datesStr {
|
|
28
|
-
color: var(--zdt_datetime_datestr_text);
|
|
29
28
|
font-family: var(--zd_regular);
|
|
30
29
|
}
|
|
31
30
|
.grid {
|
|
@@ -39,6 +38,7 @@
|
|
|
39
38
|
.thArrow,
|
|
40
39
|
.datesStr {
|
|
41
40
|
font-size: var(--zd_font_size13);
|
|
41
|
+
color: var(--zdt_datetime_datestr_text);
|
|
42
42
|
}
|
|
43
43
|
.thArrow, .datesStr {
|
|
44
44
|
cursor: pointer;
|
|
@@ -982,7 +982,8 @@ class DateWidgetComponent extends React.Component {
|
|
|
982
982
|
isAbsolutePositioningNeeded,
|
|
983
983
|
positionsOffset,
|
|
984
984
|
targetOffset,
|
|
985
|
-
isRestrictScroll
|
|
985
|
+
isRestrictScroll,
|
|
986
|
+
dropBoxPortalId
|
|
986
987
|
} = this.props;
|
|
987
988
|
const {
|
|
988
989
|
selected: value = '',
|
|
@@ -1066,7 +1067,8 @@ class DateWidgetComponent extends React.Component {
|
|
|
1066
1067
|
isAbsolute: isAbsolutePositioningNeeded,
|
|
1067
1068
|
positionsOffset: positionsOffset,
|
|
1068
1069
|
targetOffset: targetOffset,
|
|
1069
|
-
isRestrictScroll: isRestrictScroll
|
|
1070
|
+
isRestrictScroll: isRestrictScroll,
|
|
1071
|
+
dropBoxPortalId: dropBoxPortalId
|
|
1070
1072
|
}));
|
|
1071
1073
|
}
|
|
1072
1074
|
|
package/es/DropBox/DropBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { Fragment } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { useCallback } from 'react';
|
package/es/ListItem/ListItem.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Modal/Modal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
|
|
5
5
|
import Loader from '@zohodesk/svg/lib/svg/Loader';
|
|
6
6
|
import Popup from '../Popup/Popup';
|
|
7
|
-
import
|
|
7
|
+
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
8
8
|
import { Container, Box } from '../Layout';
|
|
9
9
|
import DropDownHeading from '../DropDown/DropDownHeading';
|
|
10
10
|
import MultiSelectHeader from '../MultiSelect/MultiSelectHeader';
|
|
@@ -897,6 +897,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
897
897
|
} = this.handleFilterSuggestions();
|
|
898
898
|
let setAriaId = this.getNextAriaId();
|
|
899
899
|
let ariaErrorId = this.getNextAriaId();
|
|
900
|
+
const isShowClearIcon = !isReadOnly && !isDisabled && selectedGroupOptions.length > 1;
|
|
900
901
|
return /*#__PURE__*/React.createElement("div", {
|
|
901
902
|
className: `${style.wrapper} ${isDisabled ? style.disabled : ''} ${needEffect && !(isDisabled || isReadOnly) ? style.effect : ''}`,
|
|
902
903
|
"data-id": `${isDisabled ? `${dataId}_disabled` : isReadOnly ? `${dataId}_readOnly` : dataId}`,
|
|
@@ -927,8 +928,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
927
928
|
adjust: true,
|
|
928
929
|
shrink: true
|
|
929
930
|
}, /*#__PURE__*/React.createElement("span", {
|
|
930
|
-
className: ` ${style.custmSpan} ${textBoxSize
|
|
931
|
-
|
|
931
|
+
className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
|
|
932
|
+
`
|
|
933
|
+
}, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
932
934
|
isDisabled: isDisabled,
|
|
933
935
|
inputRef: this.searchInputRef,
|
|
934
936
|
needBorder: false,
|
|
@@ -943,7 +945,9 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
943
945
|
variant: variant,
|
|
944
946
|
dataId: `${dataId}_textBox`,
|
|
945
947
|
isReadOnly: isReadOnly,
|
|
946
|
-
customClass:
|
|
948
|
+
customClass: {
|
|
949
|
+
customTBoxWrap: style.custmInputWrapper
|
|
950
|
+
},
|
|
947
951
|
tabindex: isDisabled && '-1',
|
|
948
952
|
htmlId: htmlId,
|
|
949
953
|
a11y: {
|
|
@@ -955,8 +959,11 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
955
959
|
ariaDescribedby: ariaErrorId
|
|
956
960
|
},
|
|
957
961
|
autoComplete: autoComplete
|
|
958
|
-
}
|
|
959
|
-
|
|
962
|
+
}, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
|
|
963
|
+
alignBox: "row",
|
|
964
|
+
align: "vertical"
|
|
965
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
966
|
+
className: `${style.delete} ${style[`${palette}Delete`]}`,
|
|
960
967
|
dataId: `${dataId}_clearIcon`,
|
|
961
968
|
"data-title": clearText,
|
|
962
969
|
onClick: this.handleDeselectAll,
|
|
@@ -965,7 +972,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
965
972
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
966
973
|
name: "ZD-delete",
|
|
967
974
|
size: "15"
|
|
968
|
-
})) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
975
|
+
}))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
969
976
|
query: this.responsiveFunc,
|
|
970
977
|
responsiveId: "Helmet"
|
|
971
978
|
}, _ref2 => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -11,7 +11,7 @@ import Suggestions from './Suggestions';
|
|
|
11
11
|
import EmptyState from './EmptyState';
|
|
12
12
|
import MultiSelectHeader from './MultiSelectHeader';
|
|
13
13
|
import Popup from '../Popup/Popup';
|
|
14
|
-
import
|
|
14
|
+
import TextBoxIcon from '../TextBoxIcon/TextBoxIcon';
|
|
15
15
|
import { Container, Box } from '../Layout';
|
|
16
16
|
import Card, { CardContent, CardHeader, CardFooter } from '../Card/Card';
|
|
17
17
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
@@ -20,7 +20,7 @@ import ResponsiveDropBox from '../ResponsiveDropBox/ResponsiveDropBox';
|
|
|
20
20
|
import { ResponsiveReceiver } from '../Responsive/CustomResponsive';
|
|
21
21
|
/**** CSS ****/
|
|
22
22
|
|
|
23
|
-
import style from './
|
|
23
|
+
import style from './MultiSelect.module.css';
|
|
24
24
|
/**** Methods ****/
|
|
25
25
|
|
|
26
26
|
import { getIsEmptyValue, getSearchString } from '../utils/Common.js';
|
|
@@ -428,8 +428,14 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
428
428
|
onClick: this.handleMoreClick,
|
|
429
429
|
tagName: "button"
|
|
430
430
|
}, `+ ${moreCount} More`) : null, /*#__PURE__*/React.createElement(Box, {
|
|
431
|
-
flexible: true
|
|
432
|
-
|
|
431
|
+
flexible: true,
|
|
432
|
+
className: style.wrapper,
|
|
433
|
+
adjust: true,
|
|
434
|
+
shrink: true
|
|
435
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
436
|
+
className: ` ${style.custmSpan} ${textBoxSize === 'xmedium' ? style.custmSpanXmedium : style.custmSpanMedium} ${isShowClearIcon ? style.clearIconSpace : ''}
|
|
437
|
+
`
|
|
438
|
+
}, searchStr), /*#__PURE__*/React.createElement(TextBoxIcon, {
|
|
433
439
|
isDisabled: isDisabled,
|
|
434
440
|
inputRef: this.searchInputRef,
|
|
435
441
|
needBorder: false,
|
|
@@ -444,6 +450,9 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
444
450
|
variant: variant,
|
|
445
451
|
isReadOnly: isReadOnly,
|
|
446
452
|
tabindex: isDisabled && '-1',
|
|
453
|
+
customClass: {
|
|
454
|
+
customTBoxWrap: style.custmInputWrapper
|
|
455
|
+
},
|
|
447
456
|
htmlId: htmlId,
|
|
448
457
|
a11y: {
|
|
449
458
|
role: 'combobox',
|
|
@@ -454,8 +463,11 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
454
463
|
ariaDescribedby: ariaErrorId
|
|
455
464
|
},
|
|
456
465
|
autoComplete: false
|
|
457
|
-
}
|
|
458
|
-
|
|
466
|
+
}, isShowClearIcon ? /*#__PURE__*/React.createElement(Container, {
|
|
467
|
+
alignBox: "row",
|
|
468
|
+
align: "vertical"
|
|
469
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
470
|
+
className: `${style.delete}`,
|
|
459
471
|
dataId: dataIdClearIcon,
|
|
460
472
|
"data-title": clearText,
|
|
461
473
|
onClick: this.handleDeselectAll,
|
|
@@ -464,7 +476,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
464
476
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
465
477
|
name: "ZD-delete",
|
|
466
478
|
size: "15"
|
|
467
|
-
})) : null), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
479
|
+
}))) : null))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
468
480
|
query: this.responsiveFunc,
|
|
469
481
|
responsiveId: "Helmet"
|
|
470
482
|
}, _ref2 => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
.wrapper {
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
|
-
|
|
5
4
|
.disabled, .readOnly {
|
|
6
5
|
cursor: not-allowed;
|
|
7
6
|
}
|
|
@@ -195,4 +194,13 @@
|
|
|
195
194
|
}
|
|
196
195
|
.search{
|
|
197
196
|
padding: 0px 20px;
|
|
197
|
+
}
|
|
198
|
+
.more {
|
|
199
|
+
font-size: var(--zd_font_size14);
|
|
200
|
+
color: var(--zdt_multiselect_more_text);
|
|
201
|
+
font-family: inherit;
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
margin-top: var(--zd_size5);
|
|
204
|
+
background-color: var(--zdt_multiselect_delete_bg);
|
|
205
|
+
border: 0;
|
|
198
206
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
package/es/Popup/Popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Select/Select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/**** Libraries ****/
|
|
4
4
|
import React, { Component } from 'react';
|
package/es/Switch/Switch.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { PropTypes } from 'prop-types';
|
package/es/Tab/Tab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/* eslint-disable react/forbid-component-props */
|
|
4
4
|
|
package/es/Tab/TabWrapper.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React, { useState, useCallback } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Tab/Tabs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
/* eslint-disable react/forbid-component-props */
|
|
4
4
|
|
package/es/Tag/Tag.js
CHANGED
|
@@ -170,7 +170,7 @@ Tag.propTypes = {
|
|
|
170
170
|
initial: PropTypes.string,
|
|
171
171
|
onRemove: PropTypes.func,
|
|
172
172
|
onSelectTag: PropTypes.func,
|
|
173
|
-
palette: PropTypes.oneOf(['default', 'danger', 'secondary', 'pureDotted', 'primaryDotted', 'dark', 'pureDarkDotted', 'darkPrimaryDotted']),
|
|
173
|
+
palette: PropTypes.oneOf(['default', 'danger', 'secondary', 'pureDotted', 'primaryDotted', 'dark', 'pureDarkDotted', 'darkPrimaryDotted', 'defaultLink']),
|
|
174
174
|
rounded: PropTypes.bool,
|
|
175
175
|
size: PropTypes.oneOf(['small', 'medium']),
|
|
176
176
|
text: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
package/es/Tag/Tag.module.css
CHANGED
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
--tag_closeicon_bg_color: var(--zdt_tag_closeprimary_bg);
|
|
159
159
|
}
|
|
160
160
|
.default,
|
|
161
|
-
.danger {
|
|
161
|
+
.danger,.defaultLink {
|
|
162
162
|
--tag_bg_color: var(--zdt_tag_default_danger_bg);
|
|
163
163
|
}
|
|
164
164
|
.effect.default:hover {
|
|
@@ -184,7 +184,6 @@
|
|
|
184
184
|
.activedangerClose:hover {
|
|
185
185
|
--tag_closeicon_bg_color: var(--zdt_tag_danger_bg);
|
|
186
186
|
}
|
|
187
|
-
|
|
188
187
|
.secondary {
|
|
189
188
|
--tag_bg_color: var(--zdt_tag_secondary_bg);
|
|
190
189
|
--tag_text_color: var(--zdt_tag_secondary_text);
|
|
@@ -193,6 +192,11 @@
|
|
|
193
192
|
.effect.secondary:hover {
|
|
194
193
|
--tag_bg_color: var(--zdt_tag_secondary_hover_bg);
|
|
195
194
|
}
|
|
195
|
+
.activedefaultLink,
|
|
196
|
+
.effect.defaultLink:hover{
|
|
197
|
+
--tag_bg_color: var(--zdt_tag_defaultLink_hover_bg);
|
|
198
|
+
--tag_text_color: var(--zdt_tag_defaultLink_hover_text);
|
|
199
|
+
};
|
|
196
200
|
|
|
197
201
|
.pureDotted {
|
|
198
202
|
--tag_bg_color: var(--zdt_tag_pure_bg);
|
package/es/TextBox/TextBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Textarea/Textarea.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|