@zohodesk/components 1.0.0-temp-38 → 1.0.0-temp-42
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 +68 -20
- package/es/AppContainer/AppContainer.js +47 -6
- package/es/Appearance/dark/mode/darkMode.module.css +355 -402
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -30
- package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -29
- package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -29
- package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -29
- package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -29
- package/es/Appearance/default/mode/defaultMode.module.css +356 -403
- package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -30
- package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -29
- package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -29
- package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -29
- package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -29
- package/es/Button/Button.module.css +7 -7
- package/es/ListItem/ListItemWithAvatar.js +11 -3
- package/es/ListItem/ListItemWithIcon.js +12 -4
- package/es/MultiSelect/AdvancedMultiSelect.js +21 -9
- package/es/MultiSelect/MultiSelect.js +9 -2
- package/es/MultiSelect/Suggestions.js +11 -2
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +18 -3
- package/es/Provider/Config.js +2 -1
- package/es/Provider.js +8 -2
- package/es/Responsive/ResizeComponent.js +1 -1
- package/es/Select/GroupSelect.js +4 -4
- package/es/Select/Select.js +51 -10
- package/es/Select/docs/Select__default.docs.js +79 -0
- package/es/Stencils/Stencils.js +1 -1
- package/es/Tab/Tabs.js +14 -2
- package/es/Tag/Tag.module.css +1 -0
- package/es/TextBox/TextBox.js +7 -4
- package/es/TextBoxIcon/TextBoxIcon.js +13 -4
- package/es/common/animation.module.css +12 -0
- package/es/utils/Common.js +1 -1
- package/es/utils/ContextOptimizer.js +1 -1
- package/es/utils/dropDownUtils.js +12 -5
- package/es/utils/shallowEqual.js +32 -0
- package/lib/Accordion/Accordion.js +3 -3
- package/lib/Accordion/AccordionItem.js +3 -3
- package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
- package/lib/Animation/Animation.js +3 -3
- package/lib/Animation/docs/Animation__default.docs.js +3 -3
- package/lib/Animation/docs/Animation__fadeIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__scaleIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__skewIn.docs.js +3 -3
- package/lib/Animation/docs/Animation__slideDown.docs.js +3 -3
- package/lib/Animation/docs/Animation__slideLeft.docs.js +3 -3
- package/lib/Animation/docs/Animation__zoomIn.docs.js +3 -3
- package/lib/AppContainer/AppContainer.js +59 -10
- package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
- package/lib/Appearance/dark/mode/darkMode.module.css +355 -402
- package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
- package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -30
- package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -29
- package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -29
- package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -29
- package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -29
- package/lib/Appearance/default/mode/defaultMode.module.css +356 -403
- package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
- package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -30
- package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -29
- package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -29
- package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -29
- package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -29
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
- package/lib/Button/Button.js +3 -3
- package/lib/Button/Button.module.css +7 -7
- package/lib/Button/docs/Button__custom.docs.js +3 -3
- package/lib/Button/docs/Button__default.docs.js +3 -3
- package/lib/Buttongroup/Buttongroup.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
- package/lib/Card/Card.js +3 -3
- package/lib/Card/__tests__/Card.spec.js +1 -1
- package/lib/Card/docs/Card__Custom.docs.js +3 -3
- package/lib/Card/docs/Card__Default.docs.js +3 -3
- package/lib/Card/docs/Card__Scroll.docs.js +3 -3
- package/lib/Card/index.js +1 -1
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
- package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
- package/lib/DateTime/CalendarView.js +3 -3
- package/lib/DateTime/DateTime.js +3 -3
- package/lib/DateTime/DateTimePopupFooter.js +3 -3
- package/lib/DateTime/DateTimePopupHeader.js +3 -3
- package/lib/DateTime/DateWidget.js +3 -3
- package/lib/DateTime/DaysRow.js +3 -3
- package/lib/DateTime/Time.js +3 -3
- package/lib/DateTime/YearView.js +3 -3
- package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
- package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
- package/lib/DateTime/objectUtils.js +1 -1
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
- package/lib/DropDown/DropDown.js +3 -3
- package/lib/DropDown/DropDownHeading.js +3 -3
- package/lib/DropDown/DropDownItem.js +3 -3
- package/lib/DropDown/DropDownSearch.js +3 -3
- package/lib/DropDown/DropDownSeparator.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
- package/lib/Label/Label.js +3 -3
- package/lib/Label/docs/Label__clipped.docs.js +3 -3
- package/lib/Label/docs/Label__custom.docs.js +3 -3
- package/lib/Label/docs/Label__palette.docs.js +3 -3
- package/lib/Label/docs/Label__size.docs.js +3 -3
- package/lib/Label/docs/Label__type.docs.js +3 -3
- package/lib/Layout/docs/Layout__Hidden.docs.js +3 -3
- package/lib/Layout/docs/Layout__default.docs.js +3 -3
- package/lib/Layout/docs/Layout__four_Column.docs.js +3 -3
- package/lib/Layout/docs/Layout__three_Column.docs.js +3 -3
- package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +12 -6
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +14 -7
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -3
- package/lib/MultiSelect/AdvancedMultiSelect.js +23 -11
- package/lib/MultiSelect/EmptyState.js +3 -3
- package/lib/MultiSelect/MultiSelect.js +11 -5
- package/lib/MultiSelect/MultiSelectHeader.js +3 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -3
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +19 -5
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +21 -6
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
- package/lib/PopOver/PopOver.js +3 -3
- package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +3 -3
- package/lib/Provider/Config.js +2 -1
- package/lib/Provider/LibraryContext.js +3 -3
- package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
- package/lib/Provider.js +12 -5
- package/lib/Radio/Radio.js +3 -3
- package/lib/Radio/docs/Radio__custom.docs.js +3 -3
- package/lib/Radio/docs/Radio__default.docs.js +3 -3
- package/lib/Responsive/CustomResponsive.js +3 -3
- package/lib/Responsive/RefWrapper.js +1 -1
- package/lib/Responsive/ResizeComponent.js +4 -4
- package/lib/Responsive/ResizeObserver.js +1 -1
- package/lib/Responsive/Responsive.js +3 -3
- package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
- package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
- package/lib/Responsive/sizeObservers.js +4 -4
- package/lib/Responsive/utils/shallowCompare.js +1 -1
- package/lib/Ribbon/Ribbon.js +3 -3
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
- package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +3 -3
- package/lib/Select/GroupSelect.js +6 -6
- package/lib/Select/Select.js +57 -15
- package/lib/Select/SelectWithAvatar.js +3 -3
- package/lib/Select/SelectWithIcon.js +3 -3
- package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
- package/lib/Select/docs/Select__default.docs.js +82 -3
- package/lib/Stencils/Stencils.js +6 -6
- package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
- package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +3 -3
- package/lib/Switch/docs/Switch__default.docs.js +3 -3
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +16 -5
- package/lib/Tab/docs/Tab__default.docs.js +3 -3
- package/lib/Tag/Tag.js +3 -3
- package/lib/Tag/Tag.module.css +1 -0
- package/lib/Tag/docs/Tag__custom.docs.js +3 -3
- package/lib/Tag/docs/Tag__default.docs.js +3 -3
- package/lib/TextBox/TextBox.js +9 -7
- package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
- package/lib/TextBoxIcon/TextBoxIcon.js +15 -7
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
- package/lib/Tooltip/Tooltip.js +3 -3
- package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
- package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +3 -3
- package/lib/a11y/FocusScope/FocusScope.js +1 -1
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
- package/lib/beta/FocusRing/FocusRing.js +3 -3
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
- package/lib/common/animation.module.css +12 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
- package/lib/semantic/Button/Button.js +3 -3
- package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
- package/lib/utils/Common.js +1 -1
- package/lib/utils/ContextOptimizer.js +2 -2
- package/lib/utils/datetime/common.js +1 -1
- package/lib/utils/dropDownUtils.js +14 -5
- package/lib/utils/shallowEqual.js +41 -0
- package/package.json +9 -5
- package/preprocess/componentAppearanceColors.js +65 -0
- package/preprocess/componentThemeColors.js +119 -0
- package/preprocess/ctaThemeColors.js +95 -0
- package/preprocess/index.js +3 -0
- package/preprocess/json/componentAppearanceVariableJson.js +1515 -0
- package/preprocess/json/componentThemeVariableJson.js +259 -0
- package/preprocess/json/ctaThemeVariableJson.js +337 -0
- package/es/deprecated/Theme/darkTheme.module.css +0 -393
- package/es/deprecated/Theme/defaultTheme.module.css +0 -393
- package/es/deprecated/Theme/palette/darkCTAPalette.module.css +0 -116
- package/es/deprecated/Theme/palette/darkPalette.module.css +0 -155
- package/es/deprecated/Theme/palette/defaultCTAPalette.module.css +0 -116
- package/es/deprecated/Theme/palette/defaultPalette.module.css +0 -155
- package/es/deprecated/customscroll_Old.module.css +0 -46
- package/lib/deprecated/Theme/darkTheme.module.css +0 -393
- package/lib/deprecated/Theme/defaultTheme.module.css +0 -393
- package/lib/deprecated/Theme/palette/darkCTAPalette.module.css +0 -116
- package/lib/deprecated/Theme/palette/darkPalette.module.css +0 -155
- package/lib/deprecated/Theme/palette/defaultCTAPalette.module.css +0 -116
- package/lib/deprecated/Theme/palette/defaultPalette.module.css +0 -155
- package/lib/deprecated/customscroll_Old.module.css +0 -46
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DOT Style Guide
|
|
2
2
|
|
|
3
|
-
In this Package we Provide Some Basic Components to Build Web App
|
|
3
|
+
In this Package, we Provide Some Basic Components to Build Web App
|
|
4
4
|
|
|
5
5
|
- Avatar
|
|
6
6
|
- AvatarTeam
|
|
@@ -32,9 +32,57 @@ 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-222
|
|
36
|
+
|
|
37
|
+
- Tabs=> isResponsive condition handled properly
|
|
38
|
+
- Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
|
|
39
|
+
|
|
40
|
+
# 1.0.0-alpha-221
|
|
41
|
+
|
|
42
|
+
- blueDefaultTheme & blueDarkTheme class name added in Blue CTATheme & ComponentTheme files
|
|
43
|
+
|
|
44
|
+
# 1.0.0-alpha-220
|
|
45
|
+
|
|
46
|
+
- Tooltip Delay Controlled to Improve Perf
|
|
47
|
+
|
|
48
|
+
# 1.0.0-alpha-219
|
|
49
|
+
|
|
50
|
+
- ContextOptimizer => ShallowEqal function issue solved
|
|
51
|
+
|
|
52
|
+
# 1.0.0-alpha-218
|
|
53
|
+
|
|
54
|
+
- Select => Custom props undefined issue solved
|
|
55
|
+
|
|
56
|
+
# 1.0.0-alpha-217
|
|
57
|
+
|
|
58
|
+
- TextBox, Multiselect, Tag missing dark palette variables moved under Themes folder file
|
|
59
|
+
|
|
60
|
+
# 1.0.0-alpha-216
|
|
61
|
+
|
|
62
|
+
- Select component -> customProps added -> TextBoxProps ,DropdownSearchTextBoxProps, listItemProps added
|
|
63
|
+
- Suggestions component -> customProps added -> listItemProps
|
|
64
|
+
- TextBox component -> customProps added
|
|
65
|
+
- TextBoxIcon component -> customProps added -> TextBoxProps
|
|
66
|
+
|
|
67
|
+
# 1.0.0-alpha-215
|
|
68
|
+
|
|
69
|
+
- Select Search Regex Changed to Lowercase
|
|
70
|
+
|
|
71
|
+
# 1.0.0-alpha-214
|
|
72
|
+
|
|
73
|
+
- Avatar, Label, Tag, Dropdown, ListItem, Multiselect missing dark palette variables moved under Themes folder files
|
|
74
|
+
|
|
75
|
+
# 1.0.0-alpha-213
|
|
76
|
+
|
|
77
|
+
- AnimationVariable File import removed
|
|
78
|
+
|
|
79
|
+
# 1.0.0-alpha-212
|
|
80
|
+
|
|
81
|
+
- Stencils => Converted to Pure Component
|
|
82
|
+
|
|
35
83
|
# 1.0.0-alpha-211
|
|
36
84
|
|
|
37
|
-
- Lato font reference changed from local to Zoho URL(
|
|
85
|
+
- Lato font reference changed from local to Zoho URL(web fonts)
|
|
38
86
|
|
|
39
87
|
# 1.0.0-alpha-210
|
|
40
88
|
|
|
@@ -78,7 +126,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
78
126
|
|
|
79
127
|
# 1.0.0-alpha-202
|
|
80
128
|
|
|
81
|
-
- MultiSelect -
|
|
129
|
+
- MultiSelect - scroll top issue fix
|
|
82
130
|
|
|
83
131
|
# 1.0.0-alpha-201
|
|
84
132
|
|
|
@@ -139,7 +187,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
139
187
|
|
|
140
188
|
# 1.0.0-alpha-188
|
|
141
189
|
|
|
142
|
-
- Popup => popup
|
|
190
|
+
- Popup => popup within popup open body click issue fixed
|
|
143
191
|
|
|
144
192
|
# 1.0.0-alpha-187
|
|
145
193
|
|
|
@@ -155,7 +203,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
155
203
|
|
|
156
204
|
# 1.0.0-alpha-184
|
|
157
205
|
|
|
158
|
-
- Palette
|
|
206
|
+
- Palette-Based Folder Structure Changed.
|
|
159
207
|
- data-theme changed to data-mode
|
|
160
208
|
- data-palette changed to data-theme
|
|
161
209
|
|
|
@@ -209,7 +257,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
209
257
|
|
|
210
258
|
# 1.0.0-alpha-173
|
|
211
259
|
|
|
212
|
-
- code
|
|
260
|
+
- code-based issue fixed ( const to let)
|
|
213
261
|
|
|
214
262
|
# 1.0.0-alpha-172
|
|
215
263
|
|
|
@@ -361,7 +409,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
361
409
|
# 1.0.0-alpha-144
|
|
362
410
|
|
|
363
411
|
- PortalLayer Moved to deprecated folder
|
|
364
|
-
- A11y Id Added For Select,MultiSelect Based Components
|
|
412
|
+
- A11y Id Added For Select, MultiSelect Based Components
|
|
365
413
|
- Semantic Button Default Font and Padding Resetted.
|
|
366
414
|
- LisItem - dataId setted default
|
|
367
415
|
|
|
@@ -424,7 +472,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
424
472
|
# 1.0.0-alpha-137
|
|
425
473
|
|
|
426
474
|
- ally Fixes
|
|
427
|
-
- htmlId prop added in select component
|
|
475
|
+
- htmlId prop added in the select component
|
|
428
476
|
- AdvancedGroupMultiSelect => scroll fetch issue fix
|
|
429
477
|
|
|
430
478
|
# 1.0.0-alpha-136
|
|
@@ -442,7 +490,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
442
490
|
|
|
443
491
|
# 1.0.0-alpha-134
|
|
444
492
|
|
|
445
|
-
- Reset Code
|
|
493
|
+
- Reset Code Splitting
|
|
446
494
|
|
|
447
495
|
# 1.0.0-alpha-133
|
|
448
496
|
|
|
@@ -477,7 +525,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
477
525
|
|
|
478
526
|
# 1.0.0-alpha-126
|
|
479
527
|
|
|
480
|
-
- AllY implementation for button, textbox
|
|
528
|
+
- AllY implementation for the button, textbox
|
|
481
529
|
- Semantic button added
|
|
482
530
|
|
|
483
531
|
# 1.0.0-alpha-125
|
|
@@ -644,7 +692,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
644
692
|
|
|
645
693
|
# 1.0.0-alpha-94
|
|
646
694
|
|
|
647
|
-
- Tab
|
|
695
|
+
- Tab Mapping Fix
|
|
648
696
|
|
|
649
697
|
# 1.0.0-alpha-93
|
|
650
698
|
|
|
@@ -653,7 +701,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
653
701
|
# 1.0.0-alpha-92
|
|
654
702
|
|
|
655
703
|
- Tab Custom Element Fix
|
|
656
|
-
- Avatar xlarge
|
|
704
|
+
- Avatar xlarge size changes
|
|
657
705
|
|
|
658
706
|
# 1.0.0-alpha-91
|
|
659
707
|
|
|
@@ -679,7 +727,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
679
727
|
# 1.0.0-alpha-87
|
|
680
728
|
|
|
681
729
|
- Date Component TimeZone Fix
|
|
682
|
-
- Unwanted
|
|
730
|
+
- Unwanted Functions Removed from utils/Common
|
|
683
731
|
|
|
684
732
|
# 1.0.0-alpha-86
|
|
685
733
|
|
|
@@ -709,7 +757,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
709
757
|
|
|
710
758
|
# 1.0.0-alpha-81
|
|
711
759
|
|
|
712
|
-
- variant - secondary type removed in Label component
|
|
760
|
+
- variant - secondary type removed in a Label component
|
|
713
761
|
- customClass Added For Label component
|
|
714
762
|
- Radio, CheckBox SVG Updated, and Palette Danger Added, isFilled Added For Transparent BG
|
|
715
763
|
- MultiSelect Avatar DataId Changes
|
|
@@ -720,7 +768,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
720
768
|
|
|
721
769
|
# 1.0.0-alpha-79
|
|
722
770
|
|
|
723
|
-
- Tag danger,default color changed to dot_bg_hawkesBlue
|
|
771
|
+
- Tag danger, default color changed to dot_bg_hawkesBlue
|
|
724
772
|
- MultiSelectWithAvatar size prop passed for tags Parent
|
|
725
773
|
|
|
726
774
|
# 1.0.0-alpha-78
|
|
@@ -785,7 +833,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
785
833
|
# 1.0.0-alpha-67
|
|
786
834
|
|
|
787
835
|
- Adding TourId and isAbsolutePositioningNeeded key in DropBox
|
|
788
|
-
- Adding TourId in Box, Container and Tab components
|
|
836
|
+
- Adding TourId in Box, Container, and Tab components
|
|
789
837
|
|
|
790
838
|
# 1.0.0-alpha-66
|
|
791
839
|
|
|
@@ -801,7 +849,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
801
849
|
|
|
802
850
|
- isDisabled Option added for List Item Based Atoms
|
|
803
851
|
- needBorder and disableAction Option added for MultiSelect
|
|
804
|
-
- Select BoxSize Added for
|
|
852
|
+
- Select BoxSize Added for DropBox
|
|
805
853
|
|
|
806
854
|
# 1.0.0-alpha-62
|
|
807
855
|
|
|
@@ -829,7 +877,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
829
877
|
# 1.0.0-alpha-57
|
|
830
878
|
|
|
831
879
|
- Base Font Version 3 Updated
|
|
832
|
-
- Advanced Group Multi
|
|
880
|
+
- Advanced Group Multi-Select Added
|
|
833
881
|
|
|
834
882
|
# 1.0.0-alpha-56
|
|
835
883
|
|
|
@@ -848,14 +896,14 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
848
896
|
|
|
849
897
|
# 1.0.0-alpha-53
|
|
850
898
|
|
|
851
|
-
- CustomScroll
|
|
899
|
+
- CustomScroll Make Optional
|
|
852
900
|
- Reset Code Implemented in Portal
|
|
853
901
|
- Icon Line-Height Remove
|
|
854
902
|
- New Reports Icons Added
|
|
855
903
|
|
|
856
904
|
# 1.0.0-alpha-52
|
|
857
905
|
|
|
858
|
-
- Advance Multi
|
|
906
|
+
- Advance Multi-Select Added
|
|
859
907
|
|
|
860
908
|
# 1.0.0-alpha-51
|
|
861
909
|
|
|
@@ -11,32 +11,73 @@ import '@zohodesk/variables/lib/sizeVariables.module.css';
|
|
|
11
11
|
import '@zohodesk/variables/lib/fontsizeVariables.module.css';
|
|
12
12
|
import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
|
|
13
13
|
import '@zohodesk/variables/lib/transitionVariables.module.css';
|
|
14
|
-
import '@zohodesk/variables/lib/
|
|
14
|
+
import '@zohodesk/variables/lib/no_transitionVariables.module.css';
|
|
15
15
|
import style from './AppContainer.module.css';
|
|
16
|
+
import { getLibraryConfig } from '../Provider/Config';
|
|
16
17
|
export default class AppContainer extends React.Component {
|
|
17
18
|
constructor(props) {
|
|
18
19
|
super(props);
|
|
19
20
|
this.setTooltipRef = this.setTooltipRef.bind(this);
|
|
20
21
|
this.handleOver = this.handleOver.bind(this);
|
|
22
|
+
this.mouseOverDispatch = this.mouseOverDispatch.bind(this);
|
|
23
|
+
this.removeTimeout = this.removeTimeout.bind(this);
|
|
24
|
+
this.getContainerRef = this.getContainerRef.bind(this);
|
|
25
|
+
this.timer = null;
|
|
26
|
+
this.tooltipDebounce = getLibraryConfig('tooltipDebounce');
|
|
21
27
|
}
|
|
22
28
|
|
|
23
|
-
|
|
29
|
+
mouseOverDispatch(e) {
|
|
24
30
|
if (this.tooltipRef) {
|
|
25
31
|
this.tooltipRef.handleOver(e);
|
|
26
32
|
}
|
|
27
33
|
}
|
|
28
34
|
|
|
35
|
+
removeTimeout() {
|
|
36
|
+
if (this.timer) {
|
|
37
|
+
this.timer = clearTimeout(this.timer);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
handleOver(e) {
|
|
42
|
+
if (this.timer) {
|
|
43
|
+
this.timer = clearTimeout(this.timer);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
this.timer = setTimeout(() => this.mouseOverDispatch(e), this.tooltipDebounce);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
getContainerRef(ref) {
|
|
50
|
+
let {
|
|
51
|
+
eleRef
|
|
52
|
+
} = this.props;
|
|
53
|
+
this.containerElement = ref;
|
|
54
|
+
eleRef && eleRef(ref);
|
|
55
|
+
}
|
|
56
|
+
|
|
29
57
|
setTooltipRef(ref) {
|
|
30
58
|
this.tooltipRef = ref;
|
|
31
59
|
}
|
|
32
60
|
|
|
61
|
+
componentDidMount() {
|
|
62
|
+
if (this.containerElement) {
|
|
63
|
+
this.containerElement.addEventListener('mouseover', this.handleOver, false);
|
|
64
|
+
this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
componentWillUnmount() {
|
|
69
|
+
if (this.containerElement) {
|
|
70
|
+
this.containerElement.removeEventListener('mouseover', this.handleOver, false);
|
|
71
|
+
this.containerElement.addEventListener('mouseout', this.removeTimeout, false);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
33
75
|
render() {
|
|
34
76
|
let {
|
|
35
77
|
className,
|
|
36
78
|
children,
|
|
37
79
|
tagName,
|
|
38
80
|
dataId,
|
|
39
|
-
eleRef,
|
|
40
81
|
tooltipClass,
|
|
41
82
|
tooltipParentClass,
|
|
42
83
|
customProps
|
|
@@ -47,11 +88,11 @@ export default class AppContainer extends React.Component {
|
|
|
47
88
|
ExtraProps = {}
|
|
48
89
|
} = customProps;
|
|
49
90
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, _extends({
|
|
50
|
-
className: `${style.container} ${className}
|
|
51
|
-
|
|
91
|
+
className: `${style.container} ${className}` //onMouseOver={this.handleOver}
|
|
92
|
+
,
|
|
52
93
|
dataId: dataId,
|
|
53
94
|
tagName: tagName,
|
|
54
|
-
eleRef:
|
|
95
|
+
eleRef: this.getContainerRef
|
|
55
96
|
}, ContainerProps, ExtraProps), /*#__PURE__*/React.createElement(Box, {
|
|
56
97
|
flexible: true
|
|
57
98
|
}, children)), /*#__PURE__*/React.createElement("div", _extends({}, ExtraProps, {
|