@zohodesk/components 1.0.0-alpha-218 → 1.0.0-alpha-222
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 +37 -20
- package/es/AppContainer/AppContainer.js +46 -5
- package/es/Appearance/dark/mode/darkMode.module.css +355 -392
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
- package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
- package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
- package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
- package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
- package/es/Appearance/default/mode/defaultMode.module.css +356 -395
- package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
- package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
- package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
- package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
- package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
- package/es/MultiSelect/MultiSelect.js +8 -1
- package/es/Provider/Config.js +2 -1
- package/es/Responsive/ResizeComponent.js +1 -1
- package/es/Select/Select.js +14 -0
- package/es/Tab/Tabs.js +14 -2
- package/es/common/animation.module.css +12 -0
- package/es/utils/ContextOptimizer.js +1 -1
- 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 +58 -9
- package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
- package/lib/Appearance/dark/mode/darkMode.module.css +355 -392
- package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +33 -33
- package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +41 -47
- package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +40 -46
- package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +40 -46
- package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +40 -46
- package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
- package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +40 -46
- package/lib/Appearance/default/mode/defaultMode.module.css +356 -395
- package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +33 -33
- package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +41 -47
- package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +40 -46
- package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +40 -46
- package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +40 -46
- package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
- package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +40 -46
- 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/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 +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 +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 +3 -3
- package/lib/MultiSelect/EmptyState.js +3 -3
- package/lib/MultiSelect/MultiSelect.js +10 -4
- 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 +5 -5
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/lib/Select/Select.js +19 -5
- 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 +3 -3
- package/lib/Stencils/Stencils.js +3 -3
- 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/docs/Tag__custom.docs.js +3 -3
- package/lib/Tag/docs/Tag__default.docs.js +3 -3
- package/lib/TextBox/TextBox.js +3 -3
- 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 +3 -3
- 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/ContextOptimizer.js +2 -2
- package/lib/utils/datetime/common.js +1 -1
- package/lib/utils/dropDownUtils.js +1 -1
- package/lib/utils/shallowEqual.js +41 -0
- package/package.json +6 -2
- 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,6 +32,23 @@ 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
|
+
|
|
35
52
|
# 1.0.0-alpha-218
|
|
36
53
|
|
|
37
54
|
- Select => Custom props undefined issue solved
|
|
@@ -65,7 +82,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
65
82
|
|
|
66
83
|
# 1.0.0-alpha-211
|
|
67
84
|
|
|
68
|
-
- Lato font reference changed from local to Zoho URL(
|
|
85
|
+
- Lato font reference changed from local to Zoho URL(web fonts)
|
|
69
86
|
|
|
70
87
|
# 1.0.0-alpha-210
|
|
71
88
|
|
|
@@ -109,7 +126,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
109
126
|
|
|
110
127
|
# 1.0.0-alpha-202
|
|
111
128
|
|
|
112
|
-
- MultiSelect -
|
|
129
|
+
- MultiSelect - scroll top issue fix
|
|
113
130
|
|
|
114
131
|
# 1.0.0-alpha-201
|
|
115
132
|
|
|
@@ -170,7 +187,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
170
187
|
|
|
171
188
|
# 1.0.0-alpha-188
|
|
172
189
|
|
|
173
|
-
- Popup => popup
|
|
190
|
+
- Popup => popup within popup open body click issue fixed
|
|
174
191
|
|
|
175
192
|
# 1.0.0-alpha-187
|
|
176
193
|
|
|
@@ -186,7 +203,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
186
203
|
|
|
187
204
|
# 1.0.0-alpha-184
|
|
188
205
|
|
|
189
|
-
- Palette
|
|
206
|
+
- Palette-Based Folder Structure Changed.
|
|
190
207
|
- data-theme changed to data-mode
|
|
191
208
|
- data-palette changed to data-theme
|
|
192
209
|
|
|
@@ -240,7 +257,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
240
257
|
|
|
241
258
|
# 1.0.0-alpha-173
|
|
242
259
|
|
|
243
|
-
- code
|
|
260
|
+
- code-based issue fixed ( const to let)
|
|
244
261
|
|
|
245
262
|
# 1.0.0-alpha-172
|
|
246
263
|
|
|
@@ -392,7 +409,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
392
409
|
# 1.0.0-alpha-144
|
|
393
410
|
|
|
394
411
|
- PortalLayer Moved to deprecated folder
|
|
395
|
-
- A11y Id Added For Select,MultiSelect Based Components
|
|
412
|
+
- A11y Id Added For Select, MultiSelect Based Components
|
|
396
413
|
- Semantic Button Default Font and Padding Resetted.
|
|
397
414
|
- LisItem - dataId setted default
|
|
398
415
|
|
|
@@ -455,7 +472,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
455
472
|
# 1.0.0-alpha-137
|
|
456
473
|
|
|
457
474
|
- ally Fixes
|
|
458
|
-
- htmlId prop added in select component
|
|
475
|
+
- htmlId prop added in the select component
|
|
459
476
|
- AdvancedGroupMultiSelect => scroll fetch issue fix
|
|
460
477
|
|
|
461
478
|
# 1.0.0-alpha-136
|
|
@@ -473,7 +490,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
473
490
|
|
|
474
491
|
# 1.0.0-alpha-134
|
|
475
492
|
|
|
476
|
-
- Reset Code
|
|
493
|
+
- Reset Code Splitting
|
|
477
494
|
|
|
478
495
|
# 1.0.0-alpha-133
|
|
479
496
|
|
|
@@ -508,7 +525,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
508
525
|
|
|
509
526
|
# 1.0.0-alpha-126
|
|
510
527
|
|
|
511
|
-
- AllY implementation for button, textbox
|
|
528
|
+
- AllY implementation for the button, textbox
|
|
512
529
|
- Semantic button added
|
|
513
530
|
|
|
514
531
|
# 1.0.0-alpha-125
|
|
@@ -675,7 +692,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
675
692
|
|
|
676
693
|
# 1.0.0-alpha-94
|
|
677
694
|
|
|
678
|
-
- Tab
|
|
695
|
+
- Tab Mapping Fix
|
|
679
696
|
|
|
680
697
|
# 1.0.0-alpha-93
|
|
681
698
|
|
|
@@ -684,7 +701,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
684
701
|
# 1.0.0-alpha-92
|
|
685
702
|
|
|
686
703
|
- Tab Custom Element Fix
|
|
687
|
-
- Avatar xlarge
|
|
704
|
+
- Avatar xlarge size changes
|
|
688
705
|
|
|
689
706
|
# 1.0.0-alpha-91
|
|
690
707
|
|
|
@@ -710,7 +727,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
710
727
|
# 1.0.0-alpha-87
|
|
711
728
|
|
|
712
729
|
- Date Component TimeZone Fix
|
|
713
|
-
- Unwanted
|
|
730
|
+
- Unwanted Functions Removed from utils/Common
|
|
714
731
|
|
|
715
732
|
# 1.0.0-alpha-86
|
|
716
733
|
|
|
@@ -740,7 +757,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
740
757
|
|
|
741
758
|
# 1.0.0-alpha-81
|
|
742
759
|
|
|
743
|
-
- variant - secondary type removed in Label component
|
|
760
|
+
- variant - secondary type removed in a Label component
|
|
744
761
|
- customClass Added For Label component
|
|
745
762
|
- Radio, CheckBox SVG Updated, and Palette Danger Added, isFilled Added For Transparent BG
|
|
746
763
|
- MultiSelect Avatar DataId Changes
|
|
@@ -751,7 +768,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
751
768
|
|
|
752
769
|
# 1.0.0-alpha-79
|
|
753
770
|
|
|
754
|
-
- Tag danger,default color changed to dot_bg_hawkesBlue
|
|
771
|
+
- Tag danger, default color changed to dot_bg_hawkesBlue
|
|
755
772
|
- MultiSelectWithAvatar size prop passed for tags Parent
|
|
756
773
|
|
|
757
774
|
# 1.0.0-alpha-78
|
|
@@ -816,7 +833,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
816
833
|
# 1.0.0-alpha-67
|
|
817
834
|
|
|
818
835
|
- Adding TourId and isAbsolutePositioningNeeded key in DropBox
|
|
819
|
-
- Adding TourId in Box, Container and Tab components
|
|
836
|
+
- Adding TourId in Box, Container, and Tab components
|
|
820
837
|
|
|
821
838
|
# 1.0.0-alpha-66
|
|
822
839
|
|
|
@@ -832,7 +849,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
832
849
|
|
|
833
850
|
- isDisabled Option added for List Item Based Atoms
|
|
834
851
|
- needBorder and disableAction Option added for MultiSelect
|
|
835
|
-
- Select BoxSize Added for
|
|
852
|
+
- Select BoxSize Added for DropBox
|
|
836
853
|
|
|
837
854
|
# 1.0.0-alpha-62
|
|
838
855
|
|
|
@@ -860,7 +877,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
860
877
|
# 1.0.0-alpha-57
|
|
861
878
|
|
|
862
879
|
- Base Font Version 3 Updated
|
|
863
|
-
- Advanced Group Multi
|
|
880
|
+
- Advanced Group Multi-Select Added
|
|
864
881
|
|
|
865
882
|
# 1.0.0-alpha-56
|
|
866
883
|
|
|
@@ -879,14 +896,14 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
879
896
|
|
|
880
897
|
# 1.0.0-alpha-53
|
|
881
898
|
|
|
882
|
-
- CustomScroll
|
|
899
|
+
- CustomScroll Make Optional
|
|
883
900
|
- Reset Code Implemented in Portal
|
|
884
901
|
- Icon Line-Height Remove
|
|
885
902
|
- New Reports Icons Added
|
|
886
903
|
|
|
887
904
|
# 1.0.0-alpha-52
|
|
888
905
|
|
|
889
|
-
- Advance Multi
|
|
906
|
+
- Advance Multi-Select Added
|
|
890
907
|
|
|
891
908
|
# 1.0.0-alpha-51
|
|
892
909
|
|
|
@@ -13,30 +13,71 @@ import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
|
|
|
13
13
|
import '@zohodesk/variables/lib/transitionVariables.module.css';
|
|
14
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, {
|