@zohodesk/components 1.0.0-alpha-219 → 1.0.0-alpha-223
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/Animation/docs/Animation__default.docs.js +2 -2
- package/es/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/es/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/es/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/es/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/es/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/es/Animation/docs/Animation__zoomIn.docs.js +2 -2
- 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/AvatarTeam/docs/AvatarTeam__palette.docs.js +1 -1
- package/es/Card/Card.module.css +3 -3
- package/es/Card/docs/Card__Default.docs.js +4 -4
- package/es/Card/docs/Card__Scroll.docs.js +4 -4
- package/es/Layout/docs/Layout__Hidden.docs.js +1 -1
- package/es/Layout/docs/Layout__four_Column.docs.js +1 -1
- package/es/Layout/docs/Layout__three_Column.docs.js +1 -1
- package/es/MultiSelect/MultiSelect.js +8 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Provider/Config.js +2 -1
- package/es/Responsive/ResizeComponent.js +1 -1
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +8 -8
- package/es/Select/Select.js +14 -0
- package/es/Tab/Tabs.js +14 -2
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/es/common/docStyle.module.css +9 -9
- 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 +5 -5
- package/lib/Animation/docs/Animation__fadeIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__scaleIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__skewIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__slideDown.docs.js +5 -5
- package/lib/Animation/docs/Animation__slideLeft.docs.js +5 -5
- package/lib/Animation/docs/Animation__zoomIn.docs.js +5 -5
- 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 +4 -4
- 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/Card.module.css +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 +7 -7
- package/lib/Card/docs/Card__Scroll.docs.js +7 -7
- 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 +4 -4
- package/lib/Layout/docs/Layout__default.docs.js +3 -3
- package/lib/Layout/docs/Layout__four_Column.docs.js +4 -4
- package/lib/Layout/docs/Layout__three_Column.docs.js +4 -4
- 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/PopOver.module.css +1 -1
- 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 +11 -11
- 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 +5 -5
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +5 -5
- 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/docStyle.module.css +9 -9
- 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/datetime/common.js +1 -1
- package/lib/utils/dropDownUtils.js +1 -1
- package/lib/utils/shallowEqual.js +1 -1
- package/package.json +8 -4
- 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/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,26 @@ 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-223
|
|
36
|
+
|
|
37
|
+
- bg,shadow,text,border based variables removed and renamed.
|
|
38
|
+
# 1.0.0-alpha-222
|
|
39
|
+
|
|
40
|
+
- Tabs=> isResponsive condition handled properly
|
|
41
|
+
- Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
|
|
42
|
+
|
|
43
|
+
# 1.0.0-alpha-221
|
|
44
|
+
|
|
45
|
+
- blueDefaultTheme & blueDarkTheme class name added in Blue CTATheme & ComponentTheme files
|
|
46
|
+
|
|
47
|
+
# 1.0.0-alpha-220
|
|
48
|
+
|
|
49
|
+
- Tooltip Delay Controlled to Improve Perf
|
|
50
|
+
|
|
35
51
|
# 1.0.0-alpha-219
|
|
36
52
|
|
|
37
53
|
- ContextOptimizer => ShallowEqal function issue solved
|
|
54
|
+
|
|
38
55
|
# 1.0.0-alpha-218
|
|
39
56
|
|
|
40
57
|
- Select => Custom props undefined issue solved
|
|
@@ -68,7 +85,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
68
85
|
|
|
69
86
|
# 1.0.0-alpha-211
|
|
70
87
|
|
|
71
|
-
- Lato font reference changed from local to Zoho URL(
|
|
88
|
+
- Lato font reference changed from local to Zoho URL(web fonts)
|
|
72
89
|
|
|
73
90
|
# 1.0.0-alpha-210
|
|
74
91
|
|
|
@@ -112,7 +129,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
112
129
|
|
|
113
130
|
# 1.0.0-alpha-202
|
|
114
131
|
|
|
115
|
-
- MultiSelect -
|
|
132
|
+
- MultiSelect - scroll top issue fix
|
|
116
133
|
|
|
117
134
|
# 1.0.0-alpha-201
|
|
118
135
|
|
|
@@ -173,7 +190,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
173
190
|
|
|
174
191
|
# 1.0.0-alpha-188
|
|
175
192
|
|
|
176
|
-
- Popup => popup
|
|
193
|
+
- Popup => popup within popup open body click issue fixed
|
|
177
194
|
|
|
178
195
|
# 1.0.0-alpha-187
|
|
179
196
|
|
|
@@ -189,7 +206,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
189
206
|
|
|
190
207
|
# 1.0.0-alpha-184
|
|
191
208
|
|
|
192
|
-
- Palette
|
|
209
|
+
- Palette-Based Folder Structure Changed.
|
|
193
210
|
- data-theme changed to data-mode
|
|
194
211
|
- data-palette changed to data-theme
|
|
195
212
|
|
|
@@ -243,7 +260,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
243
260
|
|
|
244
261
|
# 1.0.0-alpha-173
|
|
245
262
|
|
|
246
|
-
- code
|
|
263
|
+
- code-based issue fixed ( const to let)
|
|
247
264
|
|
|
248
265
|
# 1.0.0-alpha-172
|
|
249
266
|
|
|
@@ -395,7 +412,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
395
412
|
# 1.0.0-alpha-144
|
|
396
413
|
|
|
397
414
|
- PortalLayer Moved to deprecated folder
|
|
398
|
-
- A11y Id Added For Select,MultiSelect Based Components
|
|
415
|
+
- A11y Id Added For Select, MultiSelect Based Components
|
|
399
416
|
- Semantic Button Default Font and Padding Resetted.
|
|
400
417
|
- LisItem - dataId setted default
|
|
401
418
|
|
|
@@ -458,7 +475,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
458
475
|
# 1.0.0-alpha-137
|
|
459
476
|
|
|
460
477
|
- ally Fixes
|
|
461
|
-
- htmlId prop added in select component
|
|
478
|
+
- htmlId prop added in the select component
|
|
462
479
|
- AdvancedGroupMultiSelect => scroll fetch issue fix
|
|
463
480
|
|
|
464
481
|
# 1.0.0-alpha-136
|
|
@@ -476,7 +493,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
476
493
|
|
|
477
494
|
# 1.0.0-alpha-134
|
|
478
495
|
|
|
479
|
-
- Reset Code
|
|
496
|
+
- Reset Code Splitting
|
|
480
497
|
|
|
481
498
|
# 1.0.0-alpha-133
|
|
482
499
|
|
|
@@ -511,7 +528,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
511
528
|
|
|
512
529
|
# 1.0.0-alpha-126
|
|
513
530
|
|
|
514
|
-
- AllY implementation for button, textbox
|
|
531
|
+
- AllY implementation for the button, textbox
|
|
515
532
|
- Semantic button added
|
|
516
533
|
|
|
517
534
|
# 1.0.0-alpha-125
|
|
@@ -678,7 +695,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
678
695
|
|
|
679
696
|
# 1.0.0-alpha-94
|
|
680
697
|
|
|
681
|
-
- Tab
|
|
698
|
+
- Tab Mapping Fix
|
|
682
699
|
|
|
683
700
|
# 1.0.0-alpha-93
|
|
684
701
|
|
|
@@ -687,7 +704,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
687
704
|
# 1.0.0-alpha-92
|
|
688
705
|
|
|
689
706
|
- Tab Custom Element Fix
|
|
690
|
-
- Avatar xlarge
|
|
707
|
+
- Avatar xlarge size changes
|
|
691
708
|
|
|
692
709
|
# 1.0.0-alpha-91
|
|
693
710
|
|
|
@@ -713,7 +730,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
713
730
|
# 1.0.0-alpha-87
|
|
714
731
|
|
|
715
732
|
- Date Component TimeZone Fix
|
|
716
|
-
- Unwanted
|
|
733
|
+
- Unwanted Functions Removed from utils/Common
|
|
717
734
|
|
|
718
735
|
# 1.0.0-alpha-86
|
|
719
736
|
|
|
@@ -743,7 +760,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
743
760
|
|
|
744
761
|
# 1.0.0-alpha-81
|
|
745
762
|
|
|
746
|
-
- variant - secondary type removed in Label component
|
|
763
|
+
- variant - secondary type removed in a Label component
|
|
747
764
|
- customClass Added For Label component
|
|
748
765
|
- Radio, CheckBox SVG Updated, and Palette Danger Added, isFilled Added For Transparent BG
|
|
749
766
|
- MultiSelect Avatar DataId Changes
|
|
@@ -754,7 +771,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
754
771
|
|
|
755
772
|
# 1.0.0-alpha-79
|
|
756
773
|
|
|
757
|
-
- Tag danger,default color changed to dot_bg_hawkesBlue
|
|
774
|
+
- Tag danger, default color changed to dot_bg_hawkesBlue
|
|
758
775
|
- MultiSelectWithAvatar size prop passed for tags Parent
|
|
759
776
|
|
|
760
777
|
# 1.0.0-alpha-78
|
|
@@ -819,7 +836,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
819
836
|
# 1.0.0-alpha-67
|
|
820
837
|
|
|
821
838
|
- Adding TourId and isAbsolutePositioningNeeded key in DropBox
|
|
822
|
-
- Adding TourId in Box, Container and Tab components
|
|
839
|
+
- Adding TourId in Box, Container, and Tab components
|
|
823
840
|
|
|
824
841
|
# 1.0.0-alpha-66
|
|
825
842
|
|
|
@@ -835,7 +852,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
835
852
|
|
|
836
853
|
- isDisabled Option added for List Item Based Atoms
|
|
837
854
|
- needBorder and disableAction Option added for MultiSelect
|
|
838
|
-
- Select BoxSize Added for
|
|
855
|
+
- Select BoxSize Added for DropBox
|
|
839
856
|
|
|
840
857
|
# 1.0.0-alpha-62
|
|
841
858
|
|
|
@@ -863,7 +880,7 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
863
880
|
# 1.0.0-alpha-57
|
|
864
881
|
|
|
865
882
|
- Base Font Version 3 Updated
|
|
866
|
-
- Advanced Group Multi
|
|
883
|
+
- Advanced Group Multi-Select Added
|
|
867
884
|
|
|
868
885
|
# 1.0.0-alpha-56
|
|
869
886
|
|
|
@@ -882,14 +899,14 @@ In this Package we Provide Some Basic Components to Build Web App
|
|
|
882
899
|
|
|
883
900
|
# 1.0.0-alpha-53
|
|
884
901
|
|
|
885
|
-
- CustomScroll
|
|
902
|
+
- CustomScroll Make Optional
|
|
886
903
|
- Reset Code Implemented in Portal
|
|
887
904
|
- Icon Line-Height Remove
|
|
888
905
|
- New Reports Icons Added
|
|
889
906
|
|
|
890
907
|
# 1.0.0-alpha-52
|
|
891
908
|
|
|
892
|
-
- Advance Multi
|
|
909
|
+
- Advance Multi-Select Added
|
|
893
910
|
|
|
894
911
|
# 1.0.0-alpha-51
|
|
895
912
|
|
|
@@ -7,9 +7,9 @@ export default class Animation__default extends React.Component {
|
|
|
7
7
|
let styles = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__fadeIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__scaleIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__skewIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__slideDown extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__slideLeft extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__zoomIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -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, {
|