@zohodesk/components 1.0.0-alpha-238 → 1.0.0-alpha-241
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 +21 -6
- package/assets/Appearance/dark/mode/darkMode.module.css +0 -2
- package/assets/Appearance/default/mode/defaultMode.module.css +1 -3
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +10 -12
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +2 -2
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +2 -2
- package/docs/external/active-line.js +72 -0
- package/docs/external/autorefresh.js +47 -0
- package/docs/external/codemirror.js +9681 -0
- package/docs/external/css/hopscotch.css +576 -0
- package/docs/external/css/styleGuide.css +1100 -0
- package/docs/external/css.js +466 -0
- package/docs/external/designTokens.js +1 -0
- package/docs/external/foldcode.js +152 -0
- package/docs/external/format.js +129 -0
- package/docs/external/htmlmixed.js +84 -0
- package/docs/external/images/bottom.png +0 -0
- package/docs/external/images/bottombg.jpg +0 -0
- package/docs/external/images/desk.png +0 -0
- package/docs/external/images/desklogo.png +0 -0
- package/docs/external/images/menu.png +0 -0
- package/docs/external/index.html +127 -0
- package/docs/external/javascript.js +422 -0
- package/docs/external/jsx.js +148 -0
- package/docs/external/matchbrackets.js +145 -0
- package/docs/external/xml.js +322 -0
- package/docs/package.json +41 -0
- package/docs/src/index.js +1311 -0
- package/es/Accordion/docs/Accordion__Demo.docs.js +80 -0
- package/es/Animation/docs/Animation__default.docs.js +34 -0
- package/es/Animation/docs/Animation__fadeIn.docs.js +34 -0
- package/es/Animation/docs/Animation__scaleIn.docs.js +34 -0
- package/es/Animation/docs/Animation__skewIn.docs.js +34 -0
- package/es/Animation/docs/Animation__slideDown.docs.js +34 -0
- package/es/Animation/docs/Animation__slideLeft.docs.js +34 -0
- package/es/Animation/docs/Animation__zoomIn.docs.js +34 -0
- package/es/AppContainer/docs/AppContainer__default.docs.js +20 -0
- package/es/Avatar/docs/Avatar__custom.docs.js +29 -0
- package/es/Avatar/docs/Avatar__default.docs.js +29 -0
- package/es/Avatar/docs/Avatar__palette.docs.js +49 -0
- package/es/Avatar/docs/Avatar__text.docs.js +28 -0
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +73 -0
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +31 -0
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +50 -0
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +49 -0
- package/es/Button/docs/Button__custom.docs.js +771 -0
- package/es/Button/docs/Button__default.docs.js +536 -0
- package/es/Buttongroup/docs/Buttongroup__custom.docs.js +37 -0
- package/es/Buttongroup/docs/Buttongroup__footer.docs.js +33 -0
- package/es/Buttongroup/docs/Buttongroup__header.docs.js +42 -0
- package/es/Card/docs/Card__Custom.docs.js +34 -0
- package/es/Card/docs/Card__Default.docs.js +37 -0
- package/es/Card/docs/Card__Scroll.docs.js +59 -0
- package/es/CheckBox/docs/CheckBox__custom.docs.js +293 -0
- package/es/CheckBox/docs/CheckBox__default.docs.js +219 -0
- package/es/DateTime/DateTime.js +46 -19
- package/es/DateTime/DateWidget.js +10 -2
- package/es/DateTime/DateWidget.module.css +0 -4
- package/es/DateTime/docs/DateTime__default.docs.js +91 -0
- package/es/DateTime/docs/DateWidget__default.docs.js +183 -0
- package/es/DateTime/docs/timezonedata.json +1 -0
- package/es/DropBox/docs/DropBox__custom.docs.js +66 -0
- package/es/DropBox/docs/DropBox__customOrder.docs.js +92 -0
- package/es/DropBox/docs/DropBox__fixedPosition.docs.js +91 -0
- package/es/DropBox/docs/DropBox__position.docs.js +87 -0
- package/es/DropBox/docs/DropBox__size.docs.js +61 -0
- package/es/DropDown/docs/DropDownHeading__custom.docs.js +23 -0
- package/es/DropDown/docs/DropDownHeading__default.docs.js +21 -0
- package/es/Label/docs/Label__clipped.docs.js +27 -0
- package/es/Label/docs/Label__custom.docs.js +30 -0
- package/es/Label/docs/Label__palette.docs.js +42 -0
- package/es/Label/docs/Label__size.docs.js +29 -0
- package/es/Label/docs/Label__type.docs.js +37 -0
- package/es/Layout/docs/Layout__Hidden.docs.js +77 -0
- package/es/Layout/docs/Layout__default.docs.js +49 -0
- package/es/Layout/docs/Layout__four_Column.docs.js +85 -0
- package/es/Layout/docs/Layout__three_Column.docs.js +76 -0
- package/es/Layout/docs/Layout__two_Column.docs.js +69 -0
- package/es/LightNightMode/docs/AlternativeColors.docs.js +74 -0
- package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +155 -0
- package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +112 -0
- package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +91 -0
- package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +65 -0
- package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +68 -0
- package/es/ListItem/docs/ListItemWithIcon__default.docs.js +62 -0
- package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +91 -0
- package/es/ListItem/docs/ListItemWithRadio__default.docs.js +65 -0
- package/es/ListItem/docs/ListItem__custom.docs.js +114 -0
- package/es/ListItem/docs/ListItem__default.docs.js +82 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +100 -75
- package/es/MultiSelect/AdvancedMultiSelect.js +75 -49
- package/es/MultiSelect/MultiSelect.js +80 -55
- package/es/MultiSelect/MultiSelect.module.css +6 -1
- package/es/MultiSelect/MultiSelectWithAvatar.js +77 -52
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +125 -0
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +114 -0
- package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +141 -0
- package/es/MultiSelect/docs/MultiSelect__default.docs.js +161 -0
- package/es/PopOver/PopOver.js +10 -4
- package/es/PopOver/docs/PopOver__default.docs.js +32 -0
- package/es/Provider/docs/Provider_Id__Class.docs.js +29 -0
- package/es/Provider/docs/Provider_Id__Function.docs.js +18 -0
- package/es/Provider/docs/Provider_Zindex__Class.docs.js +32 -0
- package/es/Provider/docs/Provider_Zindex__Function.docs.js +23 -0
- package/es/Provider.js +5 -105
- package/es/Radio/docs/Radio__custom.docs.js +245 -0
- package/es/Radio/docs/Radio__default.docs.js +169 -0
- package/es/Responsive/docs/Responsive__Custom.docs.js +206 -0
- package/es/Responsive/docs/Responsive__default.docs.js +97 -0
- package/es/Responsive/docs/style.module.css +56 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +74 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/es/Ribbon/docs/Ribbon__custom.docs.js +386 -0
- package/es/Ribbon/docs/Ribbon__default.docs.js +342 -0
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +435 -0
- package/es/Select/GroupSelect.js +99 -74
- package/es/Select/Select.js +95 -68
- package/es/Select/Select.module.css +6 -0
- package/es/Select/SelectWithAvatar.js +91 -66
- package/es/Select/SelectWithIcon.js +99 -74
- package/es/Select/docs/GroupSelect__default.docs.js +149 -0
- package/es/Select/docs/SelectWithAvatar__default.docs.js +97 -0
- package/es/Select/docs/SelectWithIcon__default.docs.js +138 -0
- package/es/Select/docs/Select__default.docs.js +288 -0
- package/es/Stencils/docs/Stencils__custom.docs.js +45 -0
- package/es/Stencils/docs/Stencils__default.docs.js +50 -0
- package/es/Switch/docs/Switch__custom.docs.js +153 -0
- package/es/Switch/docs/Switch__default.docs.js +107 -0
- package/es/Tab/Tabs.js +68 -43
- package/es/Tab/Tabs.module.css +2 -1
- package/es/Tab/docs/Tab__default.docs.js +258 -0
- package/es/Tab/docs/tabdocs.module.css +29 -0
- package/es/Tag/docs/Tag__custom.docs.js +368 -0
- package/es/Tag/docs/Tag__default.docs.js +323 -0
- package/es/TextBox/docs/TextBox__custom.docs.js +43 -0
- package/es/TextBox/docs/TextBox__default.docs.js +40 -0
- package/es/TextBox/docs/TextBox__size.docs.js +38 -0
- package/es/TextBox/docs/TextBox__variant.docs.js +38 -0
- package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +89 -0
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +61 -0
- package/es/Textarea/docs/Textarea__animated.docs.js +41 -0
- package/es/Textarea/docs/Textarea__custom.docs.js +82 -0
- package/es/Textarea/docs/Textarea__default.docs.js +76 -0
- package/es/Textarea/docs/Textarea__disabled.docs.js +29 -0
- package/es/Tooltip/Tooltip.js +1 -1
- package/es/Tooltip/docs/Tooltip__default.docs.js +371 -0
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +97 -0
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +150 -0
- package/es/a11y/FocusScope/docs/FocusScope__default.docs.js +139 -0
- package/es/beta/FocusRing/docs/FocusRing__default.docs.js +48 -0
- package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +72 -0
- package/es/index.js +2 -1
- package/es/semantic/Button/docs/Button__default.docs.js +20 -0
- package/lib/Accordion/docs/Accordion__Demo.docs.js +126 -0
- package/lib/Animation/docs/Animation__default.docs.js +85 -0
- package/lib/Animation/docs/Animation__fadeIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__scaleIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__skewIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__slideDown.docs.js +85 -0
- package/lib/Animation/docs/Animation__slideLeft.docs.js +85 -0
- package/lib/Animation/docs/Animation__zoomIn.docs.js +85 -0
- package/lib/AppContainer/docs/AppContainer__default.docs.js +70 -0
- package/lib/Avatar/docs/Avatar__custom.docs.js +87 -0
- package/lib/Avatar/docs/Avatar__default.docs.js +83 -0
- package/lib/Avatar/docs/Avatar__palette.docs.js +107 -0
- package/lib/Avatar/docs/Avatar__text.docs.js +86 -0
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +124 -0
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +82 -0
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +101 -0
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +100 -0
- package/lib/Button/docs/Button__custom.docs.js +826 -0
- package/lib/Button/docs/Button__default.docs.js +590 -0
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +89 -0
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +85 -0
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +98 -0
- package/lib/Card/docs/Card__Custom.docs.js +90 -0
- package/lib/Card/docs/Card__Default.docs.js +92 -0
- package/lib/Card/docs/Card__Scroll.docs.js +114 -0
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +348 -0
- package/lib/CheckBox/docs/CheckBox__default.docs.js +273 -0
- package/lib/DateTime/DateTime.js +46 -20
- package/lib/DateTime/DateWidget.js +10 -2
- package/lib/DateTime/DateWidget.module.css +0 -4
- package/lib/DateTime/docs/DateTime__default.docs.js +142 -0
- package/lib/DateTime/docs/DateWidget__default.docs.js +240 -0
- package/lib/DateTime/docs/timezonedata.json +1 -0
- package/lib/DropBox/docs/DropBox__custom.docs.js +122 -0
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +141 -0
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +140 -0
- package/lib/DropBox/docs/DropBox__position.docs.js +142 -0
- package/lib/DropBox/docs/DropBox__size.docs.js +116 -0
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +73 -0
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +70 -0
- package/lib/Label/docs/Label__clipped.docs.js +81 -0
- package/lib/Label/docs/Label__custom.docs.js +85 -0
- package/lib/Label/docs/Label__palette.docs.js +96 -0
- package/lib/Label/docs/Label__size.docs.js +83 -0
- package/lib/Label/docs/Label__type.docs.js +91 -0
- package/lib/Layout/docs/Layout__Hidden.docs.js +127 -0
- package/lib/Layout/docs/Layout__default.docs.js +98 -0
- package/lib/Layout/docs/Layout__four_Column.docs.js +135 -0
- package/lib/Layout/docs/Layout__three_Column.docs.js +126 -0
- package/lib/Layout/docs/Layout__two_Column.docs.js +119 -0
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +131 -0
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +206 -0
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +162 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +142 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +115 -0
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +119 -0
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +112 -0
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +142 -0
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +115 -0
- package/lib/ListItem/docs/ListItem__custom.docs.js +164 -0
- package/lib/ListItem/docs/ListItem__default.docs.js +131 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +99 -77
- package/lib/MultiSelect/AdvancedMultiSelect.js +76 -50
- package/lib/MultiSelect/MultiSelect.js +81 -56
- package/lib/MultiSelect/MultiSelect.module.css +6 -1
- package/lib/MultiSelect/MultiSelectWithAvatar.js +78 -53
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +177 -0
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +165 -0
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +191 -0
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +214 -0
- package/lib/PopOver/PopOver.js +11 -4
- package/lib/PopOver/docs/PopOver__default.docs.js +86 -0
- package/lib/Provider/docs/Provider_Id__Class.docs.js +77 -0
- package/lib/Provider/docs/Provider_Id__Function.docs.js +29 -0
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +80 -0
- package/lib/Provider/docs/Provider_Zindex__Function.docs.js +34 -0
- package/lib/Provider.js +6 -123
- package/lib/Radio/docs/Radio__custom.docs.js +299 -0
- package/lib/Radio/docs/Radio__default.docs.js +222 -0
- package/lib/Responsive/docs/Responsive__Custom.docs.js +272 -0
- package/lib/Responsive/docs/Responsive__default.docs.js +142 -0
- package/lib/Responsive/docs/style.module.css +56 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +437 -0
- package/lib/Ribbon/docs/Ribbon__default.docs.js +392 -0
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +484 -0
- package/lib/Select/GroupSelect.js +99 -76
- package/lib/Select/Select.js +102 -75
- package/lib/Select/Select.module.css +6 -0
- package/lib/Select/SelectWithAvatar.js +96 -71
- package/lib/Select/SelectWithIcon.js +97 -74
- package/lib/Select/docs/GroupSelect__default.docs.js +199 -0
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +152 -0
- package/lib/Select/docs/SelectWithIcon__default.docs.js +190 -0
- package/lib/Select/docs/Select__default.docs.js +340 -0
- package/lib/Stencils/docs/Stencils__custom.docs.js +96 -0
- package/lib/Stencils/docs/Stencils__default.docs.js +101 -0
- package/lib/Switch/docs/Switch__custom.docs.js +203 -0
- package/lib/Switch/docs/Switch__default.docs.js +156 -0
- package/lib/Tab/Tabs.js +67 -44
- package/lib/Tab/Tabs.module.css +2 -1
- package/lib/Tab/docs/Tab__default.docs.js +308 -0
- package/lib/Tab/docs/tabdocs.module.css +29 -0
- package/lib/Tag/docs/Tag__custom.docs.js +423 -0
- package/lib/Tag/docs/Tag__default.docs.js +377 -0
- package/lib/TextBox/docs/TextBox__custom.docs.js +98 -0
- package/lib/TextBox/docs/TextBox__default.docs.js +95 -0
- package/lib/TextBox/docs/TextBox__size.docs.js +93 -0
- package/lib/TextBox/docs/TextBox__variant.docs.js +93 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +145 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +117 -0
- package/lib/Textarea/docs/Textarea__animated.docs.js +95 -0
- package/lib/Textarea/docs/Textarea__custom.docs.js +137 -0
- package/lib/Textarea/docs/Textarea__default.docs.js +130 -0
- package/lib/Textarea/docs/Textarea__disabled.docs.js +83 -0
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/Tooltip/docs/Tooltip__default.docs.js +430 -0
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +150 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +206 -0
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +191 -0
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +101 -0
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +145 -0
- package/lib/index.js +10 -1
- package/lib/semantic/Button/docs/Button__default.docs.js +66 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -32,6 +32,20 @@ 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-241
|
|
36
|
+
|
|
37
|
+
- Added unobserve element condition for Tooltip.
|
|
38
|
+
|
|
39
|
+
# 1.0.0-alpha-240
|
|
40
|
+
|
|
41
|
+
- DateWidget input selection color variable removed
|
|
42
|
+
- ResponsiveDropBox Implemented for all DropBox
|
|
43
|
+
|
|
44
|
+
# 1.0.0-alpha-239
|
|
45
|
+
|
|
46
|
+
- #999 instead of #a8b0bd color value in PureDark mode
|
|
47
|
+
- DateTime, DateWidget => DropBox Fixed position prop support.(positionsOffset , targetOffset ,isRestrictScroll added)
|
|
48
|
+
|
|
35
49
|
# 1.0.0-alpha-238
|
|
36
50
|
|
|
37
51
|
- Tooltip optimizaion - container client rect calc is cached and only calc when resized.
|
|
@@ -49,9 +63,9 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
49
63
|
|
|
50
64
|
# 1.0.0-alpha-235
|
|
51
65
|
|
|
52
|
-
-Tooltip
|
|
53
|
-
|
|
54
|
-
|
|
66
|
+
-Tooltip
|
|
67
|
+
=> data-title-wrap prop added
|
|
68
|
+
=> tooltip calculation based on root or window case added
|
|
55
69
|
|
|
56
70
|
# 1.0.0-alpha-234
|
|
57
71
|
|
|
@@ -64,6 +78,7 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
64
78
|
# 1.0.0-alpha-232
|
|
65
79
|
|
|
66
80
|
- ListContainer => Mobile Responsive Implemented
|
|
81
|
+
|
|
67
82
|
# 1.0.0-alpha-231
|
|
68
83
|
|
|
69
84
|
- DropBox - Position Undefined Issue Solved
|
|
@@ -71,7 +86,7 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
71
86
|
# 1.0.0-alpha-230
|
|
72
87
|
|
|
73
88
|
- Avatar, AdvancedGroupMultiSelect, AdvancedMultiSelect, MultiSelect, MultiSelectWithAvatar, GroupSelect, Select, SelectWithAvatar, SelectWithIcon, TextBoxIcon => Tooltip undefined case solved
|
|
74
|
-
- Select
|
|
89
|
+
- Select , MultiSelect => boxSize prop added
|
|
75
90
|
|
|
76
91
|
# 1.0.0-alpha-229
|
|
77
92
|
|
|
@@ -79,7 +94,7 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
79
94
|
|
|
80
95
|
# 1.0.0-alpha-228
|
|
81
96
|
|
|
82
|
-
- Button =>
|
|
97
|
+
- Button => danger, primary loader color issue solved
|
|
83
98
|
|
|
84
99
|
# 1.0.0-alpha-227
|
|
85
100
|
|
|
@@ -114,7 +129,7 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
114
129
|
# 1.0.0-alpha-222
|
|
115
130
|
|
|
116
131
|
- Tabs=> isResponsive condition handled properly
|
|
117
|
-
- Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
|
|
132
|
+
- Select, MultiSelect => on press tab, choose selected value then move focus to next focuable element flow implemented
|
|
118
133
|
|
|
119
134
|
# 1.0.0-alpha-221
|
|
120
135
|
|
|
@@ -327,8 +327,6 @@
|
|
|
327
327
|
--zdt_datewidget_enabled_border: var(--dot_inputLineHover);
|
|
328
328
|
--zdt_datewidget_textboxfocus_border: var(--dot_inputLineFocus);
|
|
329
329
|
--zdt_datewidget_placeholder_text: var(--dot_inputPlaceholder);
|
|
330
|
-
--zdt_datewidget_placeholder_selection_text: var(--dot_platinum);
|
|
331
|
-
--zdt_datewidget_placeholder_selection_bg: #b4d5fe;
|
|
332
330
|
|
|
333
331
|
/* tab */
|
|
334
332
|
--zdt_tab_default_border: var(--dot_mirror);
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
/* stencils */
|
|
208
208
|
--zdt_stencil_primary_bg: var(--zdt_cta_grey_10_bg);
|
|
209
|
-
--zdt_stencil_primary_gradient_bg: linear-gradient(to left, var(--
|
|
209
|
+
--zdt_stencil_primary_gradient_bg: linear-gradient(to left, var(--zdt_cta_grey_10_bg) 0%, var(--zdt_cta_grey_20_bg) 33.33%, var(--zdt_cta_grey_10_bg) 66.66%, var(--zdt_cta_grey_10_bg) 100%);
|
|
210
210
|
--zdt_stencil_secondary_bg: var(--zdt_cta_grey_15_bg);
|
|
211
211
|
--zdt_stencil_secondary_gradient_bg: linear-gradient(to left, var(--dot_solitude) 0%, var(--dot_paleBlue) 33.33%, var(--dot_solitude) 66.66%, var(--dot_solitude) 100%);
|
|
212
212
|
|
|
@@ -327,8 +327,6 @@
|
|
|
327
327
|
--zdt_datewidget_enabled_border: var(--dot_inputLineHover);
|
|
328
328
|
--zdt_datewidget_textboxfocus_border: var(--dot_inputLineFocus);
|
|
329
329
|
--zdt_datewidget_placeholder_text: var(--dot_inputPlaceholder);
|
|
330
|
-
--zdt_datewidget_placeholder_selection_text: var(--dot_black);
|
|
331
|
-
--zdt_datewidget_placeholder_selection_bg: #b4d5fe;
|
|
332
330
|
|
|
333
331
|
/* tab */
|
|
334
332
|
--zdt_tab_default_border: var(--dot_mirror);
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
--zdt_button_primary_hover_border: var(--zdt_cta_alpha_hover_border);
|
|
40
40
|
--zdt_button_primary_box_shadow: var(--zdt_cta_primary_box_shadow);
|
|
41
41
|
--zdt_button_plainprimary_hover_text: var(--zdt_cta_primary_hover_text);
|
|
42
|
-
--zdt_button_secondary_text:
|
|
43
|
-
--zdt_button_secondary_hover_text:
|
|
42
|
+
--zdt_button_secondary_text: #999;
|
|
43
|
+
--zdt_button_secondary_hover_text: #999;
|
|
44
44
|
--zdt_button_secondary_border: var(--zdt_cta_grey_35_border);
|
|
45
45
|
--zdt_button_secondary_hover_border: var(--dot_oslogrey);
|
|
46
46
|
--zdt_button_danger_border: var(--dot_bittersweet);
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
--zdt_button_successfill_bg: var(--dot_darkmint);
|
|
61
61
|
--zdt_button_successfill_hover_border: var(--dot_irishgreen);
|
|
62
62
|
--zdt_button_successfill_hover_bg: var(--dot_irishgreen);
|
|
63
|
-
--zdt_button_tertiaryfill_bg:
|
|
63
|
+
--zdt_button_tertiaryfill_bg: #999;
|
|
64
64
|
--zdt_button_tertiaryfill_hover_bg: var(--dot_oslogrey);
|
|
65
65
|
--zdt_button_success_default_border: var(--dot_white);
|
|
66
66
|
--zdt_button_tick_primary_border: var(--zdt_cta_secondary_text);
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
/* label */
|
|
93
93
|
--zdt_label_default_text: var(--dot_platinum);
|
|
94
94
|
--zdt_label_primary_text: var(--dot_oslogrey);
|
|
95
|
-
--zdt_label_secondary_text:
|
|
95
|
+
--zdt_label_secondary_text: #999;
|
|
96
96
|
--zdt_label_danger_text: var(--dot_brightOrange);
|
|
97
97
|
--zdt_label_mandatory_text: var(--dot_bittersweet);
|
|
98
98
|
--zdt_label_disable_text: var(--dot_inputDisable);
|
|
@@ -131,12 +131,12 @@
|
|
|
131
131
|
--zdt_textbox_transparent_border: var(--dot_mirror);
|
|
132
132
|
--zdt_textbox_effect_hover_border: var(--dot_inputLineHover);
|
|
133
133
|
--zdt_textbox_effect_focus_border: var(--dot_inputLineFocus);
|
|
134
|
-
--zdt_textbox_secondary_text:
|
|
134
|
+
--zdt_textbox_secondary_text: #999;
|
|
135
135
|
|
|
136
136
|
/* dropdown */
|
|
137
137
|
--zdt_dropdown_default_text: var(--dot_platinum);
|
|
138
138
|
--zdt_dropdown_default_border: var(--dot_mirror);
|
|
139
|
-
--zdt_dropdown_default_bg:
|
|
139
|
+
--zdt_dropdown_default_bg: #999;
|
|
140
140
|
--zdt_dropdown_darkheading_bg: var(--dot_unknown2);
|
|
141
141
|
--zdt_dropdown_darkheading_underline_bg: var(--dot_oslogrey);
|
|
142
142
|
--zdt_dropdown_mirror_bg: var(--dot_mirror);
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
--zdt_tooltip_default_box_shadow: rgba(0, 0, 0, 0.35);
|
|
243
243
|
|
|
244
244
|
/* select */
|
|
245
|
-
--zdt_select_emptystate_text:
|
|
245
|
+
--zdt_select_emptystate_text: #999;
|
|
246
246
|
--zdt_select_disable_text: var(--dot_inputDisable);
|
|
247
247
|
|
|
248
248
|
/* multiselect */
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
--zdt_multiselect_default_active_border: var(--dot_inputLineFocus);
|
|
255
255
|
--zdt_multiselect_transparent_active_border: var(--dot_inputLineFocus);
|
|
256
256
|
--zdt_multiselect_dark_active_border: var(--dot_stardust);
|
|
257
|
-
--zdt_multiselect_delete_text:
|
|
257
|
+
--zdt_multiselect_delete_text: #999;
|
|
258
258
|
--zdt_multiselect_delete_bg: var(--dot_mirror);
|
|
259
259
|
--zdt_multiselect_delete_hover_text: var(--dot_platinum);
|
|
260
260
|
--zdt_multiselect_darkdelete_text: var(--dot_santagrey);
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
--zdt_advancedmultiselect_default_active_border: var(--dot_inputLineFocus);
|
|
273
273
|
--zdt_advancedmultiselect_transparent_active_border: var(--dot_inputLineFocus);
|
|
274
274
|
--zdt_advancedmultiselect_dark_active_border: var(--dot_stardust);
|
|
275
|
-
--zdt_advancedmultiselect_delete_text:
|
|
275
|
+
--zdt_advancedmultiselect_delete_text: #999;
|
|
276
276
|
--zdt_advancedmultiselect_delete_hover_text: var(--dot_platinum);
|
|
277
277
|
--zdt_advancedmultiselect_delete_bg: var(--dot_mirror);
|
|
278
278
|
--zdt_advancedmultiselect_box_bg: #212121;
|
|
@@ -327,12 +327,10 @@
|
|
|
327
327
|
--zdt_datewidget_enabled_border: var(--dot_inputLineHover);
|
|
328
328
|
--zdt_datewidget_textboxfocus_border: var(--dot_inputLineFocus);
|
|
329
329
|
--zdt_datewidget_placeholder_text: var(--dot_inputPlaceholder);
|
|
330
|
-
--zdt_datewidget_placeholder_selection_text: var(--dot_platinum);
|
|
331
|
-
--zdt_datewidget_placeholder_selection_bg: #b4d5fe;
|
|
332
330
|
|
|
333
331
|
/* tab */
|
|
334
332
|
--zdt_tab_default_border: var(--dot_mirror);
|
|
335
|
-
--zdt_tab_alpha_text:
|
|
333
|
+
--zdt_tab_alpha_text: #999;
|
|
336
334
|
--zdt_tab_alpha_hover_text: var(--dot_platinum);
|
|
337
335
|
--zdt_tab_alpha_hover_bg: var(--zdt_cta_grey_10_bg);
|
|
338
336
|
--zdt_tab_alpha_active_text: var(--zdt_cta_primary_text);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--zdt_multiselect_darkdelete_hover_text: var(--dot_platinum);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
|
-
--zdt_avatar_white_border:
|
|
31
|
+
--zdt_avatar_white_border: #999;
|
|
32
32
|
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text:
|
|
41
|
+
--zdt_dropdown_darkheading_text: #999;
|
|
42
42
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--zdt_multiselect_darkdelete_hover_text: var(--dot_platinum);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
|
-
--zdt_avatar_white_border:
|
|
31
|
+
--zdt_avatar_white_border: #999;
|
|
32
32
|
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text:
|
|
41
|
+
--zdt_dropdown_darkheading_text: #999;
|
|
42
42
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--zdt_multiselect_darkdelete_hover_text: var(--dot_platinum);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
|
-
--zdt_avatar_white_border:
|
|
31
|
+
--zdt_avatar_white_border: #999;
|
|
32
32
|
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text:
|
|
41
|
+
--zdt_dropdown_darkheading_text: #999;
|
|
42
42
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--zdt_multiselect_darkdelete_hover_text: var(--dot_platinum);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
|
-
--zdt_avatar_white_border:
|
|
31
|
+
--zdt_avatar_white_border: #999;
|
|
32
32
|
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text:
|
|
41
|
+
--zdt_dropdown_darkheading_text: #999;
|
|
42
42
|
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
--zdt_multiselect_darkdelete_hover_text: var(--dot_platinum);
|
|
29
29
|
|
|
30
30
|
/* avatar */
|
|
31
|
-
--zdt_avatar_white_border:
|
|
31
|
+
--zdt_avatar_white_border: #999;
|
|
32
32
|
--zdt_avatar_white_text: var(--dot_white);
|
|
33
33
|
|
|
34
34
|
/* label */
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
--zdt_textbox_light_text: var(--dot_white);
|
|
39
39
|
|
|
40
40
|
/* dropdown */
|
|
41
|
-
--zdt_dropdown_darkheading_text:
|
|
41
|
+
--zdt_dropdown_darkheading_text: #999;
|
|
42
42
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: http://codemirror.net/LICENSE
|
|
3
|
+
|
|
4
|
+
(function(mod) {
|
|
5
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
6
|
+
mod(require("../../lib/codemirror"));
|
|
7
|
+
else if (typeof define == "function" && define.amd) // AMD
|
|
8
|
+
define(["../../lib/codemirror"], mod);
|
|
9
|
+
else // Plain browser env
|
|
10
|
+
mod(CodeMirror);
|
|
11
|
+
})(function(CodeMirror) {
|
|
12
|
+
"use strict";
|
|
13
|
+
var WRAP_CLASS = "CodeMirror-activeline";
|
|
14
|
+
var BACK_CLASS = "CodeMirror-activeline-background";
|
|
15
|
+
var GUTT_CLASS = "CodeMirror-activeline-gutter";
|
|
16
|
+
|
|
17
|
+
CodeMirror.defineOption("styleActiveLine", false, function(cm, val, old) {
|
|
18
|
+
var prev = old == CodeMirror.Init ? false : old;
|
|
19
|
+
if (val == prev) return
|
|
20
|
+
if (prev) {
|
|
21
|
+
cm.off("beforeSelectionChange", selectionChange);
|
|
22
|
+
clearActiveLines(cm);
|
|
23
|
+
delete cm.state.activeLines;
|
|
24
|
+
}
|
|
25
|
+
if (val) {
|
|
26
|
+
cm.state.activeLines = [];
|
|
27
|
+
updateActiveLines(cm, cm.listSelections());
|
|
28
|
+
cm.on("beforeSelectionChange", selectionChange);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
function clearActiveLines(cm) {
|
|
33
|
+
for (var i = 0; i < cm.state.activeLines.length; i++) {
|
|
34
|
+
cm.removeLineClass(cm.state.activeLines[i], "wrap", WRAP_CLASS);
|
|
35
|
+
cm.removeLineClass(cm.state.activeLines[i], "background", BACK_CLASS);
|
|
36
|
+
cm.removeLineClass(cm.state.activeLines[i], "gutter", GUTT_CLASS);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function sameArray(a, b) {
|
|
41
|
+
if (a.length != b.length) return false;
|
|
42
|
+
for (var i = 0; i < a.length; i++)
|
|
43
|
+
if (a[i] != b[i]) return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function updateActiveLines(cm, ranges) {
|
|
48
|
+
var active = [];
|
|
49
|
+
for (var i = 0; i < ranges.length; i++) {
|
|
50
|
+
var range = ranges[i];
|
|
51
|
+
var option = cm.getOption("styleActiveLine");
|
|
52
|
+
if (typeof option == "object" && option.nonEmpty ? range.anchor.line != range.head.line : !range.empty())
|
|
53
|
+
continue
|
|
54
|
+
var line = cm.getLineHandleVisualStart(range.head.line);
|
|
55
|
+
if (active[active.length - 1] != line) active.push(line);
|
|
56
|
+
}
|
|
57
|
+
if (sameArray(cm.state.activeLines, active)) return;
|
|
58
|
+
cm.operation(function() {
|
|
59
|
+
clearActiveLines(cm);
|
|
60
|
+
for (var i = 0; i < active.length; i++) {
|
|
61
|
+
cm.addLineClass(active[i], "wrap", WRAP_CLASS);
|
|
62
|
+
cm.addLineClass(active[i], "background", BACK_CLASS);
|
|
63
|
+
cm.addLineClass(active[i], "gutter", GUTT_CLASS);
|
|
64
|
+
}
|
|
65
|
+
cm.state.activeLines = active;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
function selectionChange(cm, sel) {
|
|
70
|
+
updateActiveLines(cm, sel.ranges);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
2
|
+
// Distributed under an MIT license: https://codemirror.net/LICENSE
|
|
3
|
+
|
|
4
|
+
(function(mod) {
|
|
5
|
+
if (typeof exports == "object" && typeof module == "object") // CommonJS
|
|
6
|
+
mod(require("../../lib/codemirror"))
|
|
7
|
+
else if (typeof define == "function" && define.amd) // AMD
|
|
8
|
+
define(["../../lib/codemirror"], mod)
|
|
9
|
+
else // Plain browser env
|
|
10
|
+
mod(CodeMirror)
|
|
11
|
+
})(function(CodeMirror) {
|
|
12
|
+
"use strict"
|
|
13
|
+
|
|
14
|
+
CodeMirror.defineOption("autoRefresh", false, function(cm, val) {
|
|
15
|
+
if (cm.state.autoRefresh) {
|
|
16
|
+
stopListening(cm, cm.state.autoRefresh)
|
|
17
|
+
cm.state.autoRefresh = null
|
|
18
|
+
}
|
|
19
|
+
if (val && cm.display.wrapper.offsetHeight == 0)
|
|
20
|
+
startListening(cm, cm.state.autoRefresh = {delay: val.delay || 250})
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
function startListening(cm, state) {
|
|
24
|
+
function check() {
|
|
25
|
+
if (cm.display.wrapper.offsetHeight) {
|
|
26
|
+
stopListening(cm, state)
|
|
27
|
+
if (cm.display.lastWrapHeight != cm.display.wrapper.clientHeight)
|
|
28
|
+
cm.refresh()
|
|
29
|
+
} else {
|
|
30
|
+
state.timeout = setTimeout(check, state.delay)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
state.timeout = setTimeout(check, state.delay)
|
|
34
|
+
state.hurry = function() {
|
|
35
|
+
clearTimeout(state.timeout)
|
|
36
|
+
state.timeout = setTimeout(check, 50)
|
|
37
|
+
}
|
|
38
|
+
CodeMirror.on(window, "mouseup", state.hurry)
|
|
39
|
+
CodeMirror.on(window, "keyup", state.hurry)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function stopListening(_cm, state) {
|
|
43
|
+
clearTimeout(state.timeout)
|
|
44
|
+
CodeMirror.off(window, "mouseup", state.hurry)
|
|
45
|
+
CodeMirror.off(window, "keyup", state.hurry)
|
|
46
|
+
}
|
|
47
|
+
});
|