@zohodesk/components 1.1.1 → 1.2.1
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/.cli/MissedPropType_Keys.html +101 -0
- package/.cli/PropLessFiles.html +101 -0
- package/.cli/PropValidationExcludeFilesArray.js +3 -0
- package/.cli/propValidation_report.html +160 -0
- package/README.md +1281 -1270
- package/coverage/Button/Button.js.html +301 -0
- package/coverage/Button/css/Button.module.css.html +1441 -0
- package/coverage/Button/css/cssJSLogic.js.html +214 -0
- package/coverage/Button/css/index.html +131 -0
- package/coverage/Button/index.html +116 -0
- package/coverage/Button/props/defaultProps.js.html +139 -0
- package/coverage/Button/props/index.html +131 -0
- package/coverage/Button/props/propTypes.js.html +202 -0
- package/coverage/Buttongroup/Buttongroup.js.html +220 -0
- package/coverage/Buttongroup/Buttongroup.module.css.html +298 -0
- package/coverage/Buttongroup/index.html +131 -0
- package/coverage/Buttongroup/props/defaultProps.js.html +103 -0
- package/coverage/Buttongroup/props/index.html +131 -0
- package/coverage/Buttongroup/props/propTypes.js.html +115 -0
- package/coverage/base.css +224 -0
- package/coverage/block-navigation.js +87 -0
- package/coverage/coverage-final.json +11 -0
- package/coverage/coverage-summary.json +12 -0
- package/coverage/favicon.png +0 -0
- package/coverage/index.html +191 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +196 -0
- package/coverage/utils/dummyFunction.js.html +88 -0
- package/coverage/utils/index.html +116 -0
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +9 -9
- package/es/Avatar/Avatar.module.css +175 -175
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +189 -189
- package/es/Button/Button.js +5 -5
- package/es/Button/__tests__/Button.spec.js +122 -61
- package/es/Button/css/Button.module.css +525 -525
- package/es/Button/css/cssJSLogic.js +1 -1
- package/es/Button/props/propTypes.js +0 -1
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +105 -105
- package/es/Buttongroup/__tests__/Buttongroup.spec.js +37 -0
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -0
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/Card/props/propTypes.js +9 -4
- package/es/CheckBox/CheckBox.js +0 -0
- package/es/CheckBox/CheckBox.module.css +157 -157
- package/es/CheckBox/props/propTypes.js +0 -2
- package/es/DateTime/CalendarView.js +0 -0
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +235 -235
- package/es/DateTime/DateTimePopupFooter.js +5 -1
- package/es/DateTime/DateTimePopupHeader.js +3 -1
- package/es/DateTime/DateWidget.js +2 -2
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/DaysRow.js +3 -1
- package/es/DateTime/Time.js +4 -0
- package/es/DateTime/YearView.js +0 -1
- package/es/DateTime/YearView.module.css +98 -98
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/props/defaultProps.js +6 -0
- package/es/DateTime/props/propTypes.js +58 -6
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +0 -0
- package/es/DropBox/DropBoxElement/DropBoxElement.js +1 -1
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +434 -434
- package/es/DropBox/DropBoxElement/css/cssJSLogic.js +1 -1
- package/es/DropBox/DropBoxElement/props/propTypes.js +7 -1
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropBox/css/DropBox.module.css +58 -58
- package/es/DropBox/props/propTypes.js +2 -1
- package/es/DropDown/DropDown.js +1 -7
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownHeading.js +0 -0
- package/es/DropDown/DropDownHeading.module.css +53 -53
- package/es/DropDown/DropDownItem.js +0 -0
- package/es/DropDown/DropDownItem.module.css +94 -94
- package/es/DropDown/DropDownSearch.js +0 -0
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.js +0 -0
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/DropDown/props/propTypes.js +5 -18
- package/es/Heading/Heading.module.css +4 -4
- package/es/Label/Label.js +2 -2
- package/es/Label/Label.module.css +52 -52
- package/es/Label/LabelColors.module.css +20 -20
- package/es/Label/props/propTypes.js +2 -1
- package/es/Layout/Box.js +2 -1
- package/es/Layout/Container.js +2 -1
- package/es/Layout/Layout.module.css +335 -335
- package/es/Layout/utils.js +0 -0
- package/es/ListItem/ListItem.js +0 -0
- package/es/ListItem/ListItem.module.css +216 -216
- package/es/ListItem/props/propTypes.js +9 -4
- package/es/Modal/props/propTypes.js +2 -1
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +10 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +2 -1
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +206 -206
- package/es/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/props/propTypes.js +15 -31
- package/es/PopOver/PopOver.js +1 -9
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/Popup/Popup.js +0 -0
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Radio/Radio.js +1 -6
- package/es/Radio/Radio.module.css +112 -112
- package/es/Radio/props/propTypes.js +3 -2
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/Responsive/RefWrapper.js +2 -1
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/ResponsiveDropBox/props/propTypes.js +2 -1
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +454 -454
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/GroupSelect.js +1 -0
- package/es/Select/Select.js +0 -0
- package/es/Select/Select.module.css +108 -108
- package/es/Select/SelectWithAvatar.js +2 -1
- package/es/Select/SelectWithIcon.js +5 -2
- package/es/Select/props/propTypes.js +17 -6
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Switch/Switch.js +0 -0
- package/es/Switch/Switch.module.css +127 -127
- package/es/Tab/Tab.module.css +100 -100
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tab/Tabs.module.css +136 -136
- package/es/Tab/props/propTypes.js +0 -1
- package/es/Tag/Tag.js +8 -8
- package/es/Tag/Tag.module.css +254 -254
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +158 -158
- package/es/TextBox/props/propTypes.js +2 -1
- package/es/TextBoxIcon/TextBoxIcon.js +0 -0
- package/es/TextBoxIcon/TextBoxIcon.module.css +79 -79
- package/es/TextBoxIcon/props/propTypes.js +2 -1
- package/es/Textarea/Textarea.js +0 -0
- package/es/Textarea/Textarea.module.css +139 -139
- package/es/Textarea/props/propTypes.js +0 -1
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/Tooltip/props/propTypes.js +0 -3
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/customscroll.module.css +91 -91
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/deprecated/PortalLayer/PortalLayer.js +3 -2
- package/es/deprecated/PortalLayer/props/propTypes.js +7 -0
- package/es/semantic/Button/props/propTypes.js +1 -5
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/utils/Common.js +0 -0
- package/es/utils/dropDownUtils.js +0 -0
- package/es/utils/index.js +0 -2
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +9 -9
- package/lib/Avatar/Avatar.module.css +175 -175
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/AvatarTeam.module.css +189 -189
- package/lib/Button/Button.js +5 -5
- package/lib/Button/__tests__/Button.spec.js +129 -62
- package/lib/Button/css/Button.module.css +525 -525
- package/lib/Button/css/cssJSLogic.js +1 -1
- package/lib/Button/props/propTypes.js +0 -1
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/Buttongroup.module.css +105 -105
- package/lib/Buttongroup/__tests__/Buttongroup.spec.js +44 -0
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -0
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/Card/props/propTypes.js +9 -4
- package/lib/CheckBox/CheckBox.js +0 -0
- package/lib/CheckBox/CheckBox.module.css +157 -157
- package/lib/CheckBox/props/propTypes.js +0 -2
- package/lib/DateTime/CalendarView.js +0 -0
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateTime.module.css +235 -235
- package/lib/DateTime/DateTimePopupFooter.js +7 -1
- package/lib/DateTime/DateTimePopupHeader.js +4 -1
- package/lib/DateTime/DateWidget.js +2 -2
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/DaysRow.js +4 -1
- package/lib/DateTime/Time.js +6 -0
- package/lib/DateTime/YearView.js +0 -1
- package/lib/DateTime/YearView.module.css +98 -98
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/props/defaultProps.js +10 -2
- package/lib/DateTime/props/propTypes.js +64 -8
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +0 -0
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +1 -1
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +434 -434
- package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +1 -1
- package/lib/DropBox/DropBoxElement/props/propTypes.js +7 -1
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropBox/css/DropBox.module.css +58 -58
- package/lib/DropBox/props/propTypes.js +2 -1
- package/lib/DropDown/DropDown.js +1 -6
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +0 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.js +0 -0
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/DropDown/DropDownSearch.js +0 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.js +0 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/DropDown/props/propTypes.js +11 -19
- package/lib/Heading/Heading.module.css +4 -4
- package/lib/Label/Label.js +0 -0
- package/lib/Label/Label.module.css +52 -52
- package/lib/Label/LabelColors.module.css +20 -20
- package/lib/Label/props/propTypes.js +2 -1
- package/lib/Layout/Box.js +0 -1
- package/lib/Layout/Container.js +0 -1
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/Layout/utils.js +0 -0
- package/lib/ListItem/ListItem.js +0 -0
- package/lib/ListItem/ListItem.module.css +216 -216
- package/lib/ListItem/props/propTypes.js +9 -4
- package/lib/Modal/props/propTypes.js +2 -1
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +10 -8
- package/lib/MultiSelect/AdvancedMultiSelect.js +2 -1
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.module.css +206 -206
- package/lib/MultiSelect/MultiSelectWithAvatar.js +2 -1
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/props/propTypes.js +15 -31
- package/lib/PopOver/PopOver.js +1 -8
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/Popup/Popup.js +0 -0
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Radio/Radio.js +1 -6
- package/lib/Radio/Radio.module.css +112 -112
- package/lib/Radio/props/propTypes.js +3 -2
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/Responsive/RefWrapper.js +2 -1
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/ResponsiveDropBox/props/propTypes.js +11 -2
- package/lib/Ribbon/Ribbon.js +0 -0
- package/lib/Ribbon/Ribbon.module.css +454 -454
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/GroupSelect.js +1 -0
- package/lib/Select/Select.js +0 -0
- package/lib/Select/Select.module.css +108 -108
- package/lib/Select/SelectWithAvatar.js +2 -1
- package/lib/Select/SelectWithIcon.js +5 -3
- package/lib/Select/props/propTypes.js +17 -6
- package/lib/Stencils/Stencils.js +0 -0
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Switch/Switch.js +0 -0
- package/lib/Switch/Switch.module.css +127 -127
- package/lib/Tab/Tab.module.css +100 -100
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tab/Tabs.module.css +136 -136
- package/lib/Tab/props/propTypes.js +0 -1
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +158 -158
- package/lib/TextBox/props/propTypes.js +1 -1
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +79 -79
- package/lib/TextBoxIcon/props/propTypes.js +11 -2
- package/lib/Textarea/Textarea.js +0 -0
- package/lib/Textarea/Textarea.module.css +139 -139
- package/lib/Textarea/props/propTypes.js +0 -1
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/Tooltip/props/propTypes.js +0 -3
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/customscroll.module.css +91 -91
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -1
- package/lib/deprecated/PortalLayer/props/propTypes.js +10 -2
- package/lib/semantic/Button/props/propTypes.js +1 -5
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/utils/Common.js +0 -0
- package/lib/utils/dropDownUtils.js +0 -0
- package/lib/utils/index.js +1 -19
- package/package.json +92 -121
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/react-cli.config.js +24 -0
- package/result.json +1 -1
- package/unittest/index.html +37 -0
- package/es/deprecated/AdvancedMultiSelect.module.css +0 -127
- package/es/deprecated/advancedMultiSelectVariableJson.js +0 -80
- package/es/utils/css/compileClassNames.js +0 -28
- package/es/utils/css/mergeStyle.js +0 -57
- package/es/utils/css/utils.js +0 -24
- package/lib/deprecated/AdvancedMultiSelect.module.css +0 -127
- package/lib/deprecated/advancedMultiSelectVariableJson.js +0 -82
- package/lib/utils/css/compileClassNames.js +0 -37
- package/lib/utils/css/mergeStyle.js +0 -69
- package/lib/utils/css/utils.js +0 -41
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
.effect {
|
|
2
|
-
position: relative;
|
|
3
|
-
border-radius: var(--zd_size4);
|
|
4
|
-
}
|
|
5
|
-
.border {
|
|
6
|
-
border: solid 1px var(--zdt_rippleeffect_default_border);
|
|
7
|
-
}
|
|
8
|
-
.default.defaultHover {
|
|
9
|
-
border-color: var(--zdt_rippleeffect_hover_border);
|
|
10
|
-
}
|
|
11
|
-
.hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
|
|
12
|
-
/* .hoverEffect:focus.primary.borderHover */
|
|
13
|
-
{
|
|
14
|
-
border-color: var(--zdt_rippleeffect_primary_border);
|
|
15
|
-
}
|
|
16
|
-
.primary.defaultHover, .hoverEffect:hover.primary.active.border
|
|
17
|
-
/* .hoverEffect:focus.primary.active.border */
|
|
18
|
-
{
|
|
19
|
-
border-color: var(--zdt_rippleeffect_primary_active_border);
|
|
20
|
-
}
|
|
21
|
-
.primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
|
|
22
|
-
/* .hoverEffect:focus.primaryLight.borderHover */
|
|
23
|
-
{
|
|
24
|
-
border-color: var(--zdt_rippleeffect_primary_light_border);
|
|
25
|
-
}
|
|
26
|
-
.green.defaultHover, .hoverEffect:hover.green.borderHover
|
|
27
|
-
/* .hoverEffect:focus.green.borderHover */
|
|
28
|
-
{
|
|
29
|
-
border-color: var(--zdt_rippleeffect_green_border);
|
|
30
|
-
}
|
|
31
|
-
.hoverEffect:hover.default.defaultHover
|
|
32
|
-
/* .hoverEffect:focus.default.defaultHover */
|
|
33
|
-
{
|
|
34
|
-
border-color: var(--zdt_rippleeffect_slate_border);
|
|
35
|
-
}
|
|
36
|
-
.hoverEffect:hover.default.borderHover
|
|
37
|
-
/* .hoverEffect:focus.default.borderHover */
|
|
38
|
-
{
|
|
39
|
-
border-color: var(--zdt_rippleeffect_navy_border);
|
|
40
|
-
}
|
|
41
|
-
.hoverEffect:hover.default.bgHover
|
|
42
|
-
/* .hoverEffect:focus.default.bgHover */
|
|
43
|
-
{
|
|
44
|
-
background-color: var(--zdt_rippleeffect_hover_bg);
|
|
45
|
-
}
|
|
46
|
-
.hoverEffect:hover.primaryLight.bgHover
|
|
47
|
-
/* .hoverEffect:focus.primaryLight.bgHover */
|
|
48
|
-
{
|
|
49
|
-
background-color: var(--zdt_rippleeffect_primary_light_bg);
|
|
50
|
-
}
|
|
51
|
-
.primaryFilled {
|
|
52
|
-
background-color: var(--zdt_rippleeffect_primary_bg);
|
|
53
|
-
}
|
|
54
|
-
.hoverEffect:hover.primaryFilled, .primaryFilled.active {
|
|
55
|
-
background-color: var(--zdt_rippleeffect_primaryfilled_bg);
|
|
56
|
-
}
|
|
57
|
-
.hoverEffect:hover.green.bgHover
|
|
58
|
-
/* .hoverEffect:focus.green.bgHover */
|
|
59
|
-
{
|
|
60
|
-
background-color: var(--zdt_rippleeffect_green_bg);
|
|
61
|
-
}
|
|
62
|
-
.default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
|
|
63
|
-
background-color: var(--zdt_rippleeffect_primary_light_bg);
|
|
64
|
-
}
|
|
65
|
-
.default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
|
|
66
|
-
border-color: var(--zdt_rippleeffect_primary_light_border);
|
|
67
|
-
}
|
|
68
|
-
.green.active {
|
|
69
|
-
background-color: var(--zdt_rippleeffect_green_bg);
|
|
70
|
-
}
|
|
71
|
-
.green.active.border {
|
|
72
|
-
border-color: var(--zdt_rippleeffect_green_border);
|
|
73
|
-
}
|
|
74
|
-
.primary.active {
|
|
75
|
-
background-color: var(--zdt_rippleeffect_primary_bg);
|
|
76
|
-
}
|
|
77
|
-
.danger.defaultHover, .hoverEffect:hover.danger.borderHover
|
|
78
|
-
/* .hoverEffect:focus.danger.borderHover */
|
|
79
|
-
{
|
|
80
|
-
border-color: var(--zdt_rippleeffect_danger_border);
|
|
81
|
-
}
|
|
82
|
-
.hoverEffect:hover.danger.bgHover, .danger.active {
|
|
83
|
-
background-color: var(--zdt_rippleeffect_danger_bg);
|
|
84
|
-
}
|
|
85
|
-
.hoverEffect:hover.primaryDark.bgHover
|
|
86
|
-
/* .hoverEffect:focus.primaryDark.bgHover */
|
|
87
|
-
{
|
|
88
|
-
background-color: var(--zdt_rippleeffect_primary_dark_bg);
|
|
89
|
-
}
|
|
90
|
-
.notAllowed {
|
|
91
|
-
cursor: not-allowed;
|
|
92
|
-
}
|
|
1
|
+
.effect {
|
|
2
|
+
position: relative;
|
|
3
|
+
border-radius: var(--zd_size4);
|
|
4
|
+
}
|
|
5
|
+
.border {
|
|
6
|
+
border: solid 1px var(--zdt_rippleeffect_default_border);
|
|
7
|
+
}
|
|
8
|
+
.default.defaultHover {
|
|
9
|
+
border-color: var(--zdt_rippleeffect_hover_border);
|
|
10
|
+
}
|
|
11
|
+
.hoverEffect:hover.primary.defaultHover, .hoverEffect:hover.primary.borderHover
|
|
12
|
+
/* .hoverEffect:focus.primary.borderHover */
|
|
13
|
+
{
|
|
14
|
+
border-color: var(--zdt_rippleeffect_primary_border);
|
|
15
|
+
}
|
|
16
|
+
.primary.defaultHover, .hoverEffect:hover.primary.active.border
|
|
17
|
+
/* .hoverEffect:focus.primary.active.border */
|
|
18
|
+
{
|
|
19
|
+
border-color: var(--zdt_rippleeffect_primary_active_border);
|
|
20
|
+
}
|
|
21
|
+
.primaryLight.defaultHover, .hoverEffect:hover.primaryLight.borderHover
|
|
22
|
+
/* .hoverEffect:focus.primaryLight.borderHover */
|
|
23
|
+
{
|
|
24
|
+
border-color: var(--zdt_rippleeffect_primary_light_border);
|
|
25
|
+
}
|
|
26
|
+
.green.defaultHover, .hoverEffect:hover.green.borderHover
|
|
27
|
+
/* .hoverEffect:focus.green.borderHover */
|
|
28
|
+
{
|
|
29
|
+
border-color: var(--zdt_rippleeffect_green_border);
|
|
30
|
+
}
|
|
31
|
+
.hoverEffect:hover.default.defaultHover
|
|
32
|
+
/* .hoverEffect:focus.default.defaultHover */
|
|
33
|
+
{
|
|
34
|
+
border-color: var(--zdt_rippleeffect_slate_border);
|
|
35
|
+
}
|
|
36
|
+
.hoverEffect:hover.default.borderHover
|
|
37
|
+
/* .hoverEffect:focus.default.borderHover */
|
|
38
|
+
{
|
|
39
|
+
border-color: var(--zdt_rippleeffect_navy_border);
|
|
40
|
+
}
|
|
41
|
+
.hoverEffect:hover.default.bgHover
|
|
42
|
+
/* .hoverEffect:focus.default.bgHover */
|
|
43
|
+
{
|
|
44
|
+
background-color: var(--zdt_rippleeffect_hover_bg);
|
|
45
|
+
}
|
|
46
|
+
.hoverEffect:hover.primaryLight.bgHover
|
|
47
|
+
/* .hoverEffect:focus.primaryLight.bgHover */
|
|
48
|
+
{
|
|
49
|
+
background-color: var(--zdt_rippleeffect_primary_light_bg);
|
|
50
|
+
}
|
|
51
|
+
.primaryFilled {
|
|
52
|
+
background-color: var(--zdt_rippleeffect_primary_bg);
|
|
53
|
+
}
|
|
54
|
+
.hoverEffect:hover.primaryFilled, .primaryFilled.active {
|
|
55
|
+
background-color: var(--zdt_rippleeffect_primaryfilled_bg);
|
|
56
|
+
}
|
|
57
|
+
.hoverEffect:hover.green.bgHover
|
|
58
|
+
/* .hoverEffect:focus.green.bgHover */
|
|
59
|
+
{
|
|
60
|
+
background-color: var(--zdt_rippleeffect_green_bg);
|
|
61
|
+
}
|
|
62
|
+
.default.active, .hoverEffect:hover.default.active, .primaryLight.active, .primaryDark.active {
|
|
63
|
+
background-color: var(--zdt_rippleeffect_primary_light_bg);
|
|
64
|
+
}
|
|
65
|
+
.default.active.border, .hoverEffect:hover.default.active.border, .primaryLight.active.border, .primaryDark.active.border {
|
|
66
|
+
border-color: var(--zdt_rippleeffect_primary_light_border);
|
|
67
|
+
}
|
|
68
|
+
.green.active {
|
|
69
|
+
background-color: var(--zdt_rippleeffect_green_bg);
|
|
70
|
+
}
|
|
71
|
+
.green.active.border {
|
|
72
|
+
border-color: var(--zdt_rippleeffect_green_border);
|
|
73
|
+
}
|
|
74
|
+
.primary.active {
|
|
75
|
+
background-color: var(--zdt_rippleeffect_primary_bg);
|
|
76
|
+
}
|
|
77
|
+
.danger.defaultHover, .hoverEffect:hover.danger.borderHover
|
|
78
|
+
/* .hoverEffect:focus.danger.borderHover */
|
|
79
|
+
{
|
|
80
|
+
border-color: var(--zdt_rippleeffect_danger_border);
|
|
81
|
+
}
|
|
82
|
+
.hoverEffect:hover.danger.bgHover, .danger.active {
|
|
83
|
+
background-color: var(--zdt_rippleeffect_danger_bg);
|
|
84
|
+
}
|
|
85
|
+
.hoverEffect:hover.primaryDark.bgHover
|
|
86
|
+
/* .hoverEffect:focus.primaryDark.bgHover */
|
|
87
|
+
{
|
|
88
|
+
background-color: var(--zdt_rippleeffect_primary_dark_bg);
|
|
89
|
+
}
|
|
90
|
+
.notAllowed {
|
|
91
|
+
cursor: not-allowed;
|
|
92
|
+
}
|
|
@@ -862,6 +862,7 @@ GroupSelectComponent.defaultProps = _defaultProps.GroupSelect_defaultProps;
|
|
|
862
862
|
GroupSelectComponent.displayName = 'GroupSelect';
|
|
863
863
|
var GroupSelect = (0, _Popup["default"])(GroupSelectComponent);
|
|
864
864
|
GroupSelect.defaultProps = GroupSelectComponent.defaultProps;
|
|
865
|
+
GroupSelect.propTypes = GroupSelectComponent.propTypes;
|
|
865
866
|
var _default = GroupSelect; // if (__DOCS__) {
|
|
866
867
|
// GroupSelect.docs = {
|
|
867
868
|
// componentGroup: 'Form Elements',
|
package/lib/Select/Select.js
CHANGED
|
File without changes
|
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
.input {
|
|
2
|
-
cursor: pointer;
|
|
3
|
-
}
|
|
4
|
-
.small {
|
|
5
|
-
max-height: var(--zd_size200) ;
|
|
6
|
-
}
|
|
7
|
-
.medium {
|
|
8
|
-
max-height: var(--zd_size350) ;
|
|
9
|
-
}
|
|
10
|
-
.large {
|
|
11
|
-
max-height: var(--zd_size400) ;
|
|
12
|
-
}
|
|
13
|
-
.emptyState {
|
|
14
|
-
font-size: var(--zd_font_size14) ;
|
|
15
|
-
color: var(--zdt_select_emptystate_text);
|
|
16
|
-
composes: semibold from '../common/common.module.css';
|
|
17
|
-
}
|
|
18
|
-
.box_small .emptyState {
|
|
19
|
-
padding: var(--zd_size12) var(--zd_size6) ;
|
|
20
|
-
}
|
|
21
|
-
.box_medium .emptyState {
|
|
22
|
-
padding: var(--zd_size12) var(--zd_size15) ;
|
|
23
|
-
}
|
|
24
|
-
.hide {
|
|
25
|
-
composes: vishidden from '../common/common.module.css';
|
|
26
|
-
}
|
|
27
|
-
.container {
|
|
28
|
-
position: relative;
|
|
29
|
-
}
|
|
30
|
-
.arrowIcon {
|
|
31
|
-
height: var(--zd_size8) ;
|
|
32
|
-
line-height: var(--zd_size8);
|
|
33
|
-
}
|
|
34
|
-
.small.search {
|
|
35
|
-
padding: 0 var(--zd_size5) ;
|
|
36
|
-
}
|
|
37
|
-
.medium.search {
|
|
38
|
-
padding: var(--zd_size3) var(--zd_size20) 0 ;
|
|
39
|
-
}
|
|
40
|
-
.title {
|
|
41
|
-
margin-bottom: var(--zd_size6) ;
|
|
42
|
-
}
|
|
43
|
-
.groupTitle {
|
|
44
|
-
margin: var(--zd_size6) 0 ;
|
|
45
|
-
}
|
|
46
|
-
.listItemContainer {
|
|
47
|
-
padding: var(--zd_size10) 0 ;
|
|
48
|
-
}
|
|
49
|
-
.responsivelistItemContainer {
|
|
50
|
-
padding: var(--zd_size10) 0 0 ;
|
|
51
|
-
}
|
|
52
|
-
.readonly {
|
|
53
|
-
--textboxicon_icon_cursor: not-allowed;
|
|
54
|
-
}
|
|
55
|
-
.transparentContainer .arrowIcon {
|
|
56
|
-
opacity: 0;
|
|
57
|
-
visibility: hidden;
|
|
58
|
-
}
|
|
59
|
-
.transparentContainer:hover .arrowIcon {
|
|
60
|
-
opacity: 1;
|
|
61
|
-
visibility: visible;
|
|
62
|
-
}
|
|
63
|
-
.disable {
|
|
64
|
-
color: var(--zdt_select_disable_text);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.leftIcon {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0 ;
|
|
70
|
-
bottom: 0 ;
|
|
71
|
-
width: var(--zd_size30) ;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
[dir=ltr] .leftIcon {
|
|
75
|
-
left: 0 ;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
[dir=rtl] .leftIcon {
|
|
79
|
-
right: 0 ;
|
|
80
|
-
}
|
|
81
|
-
[dir=ltr] .iconSelect {
|
|
82
|
-
padding-left: var(--zd_size30) ;
|
|
83
|
-
}
|
|
84
|
-
[dir=rtl] .iconSelect {
|
|
85
|
-
padding-right: var(--zd_size30) ;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.dropBoxList {
|
|
89
|
-
padding: var(--zd_size10) 0 ;
|
|
90
|
-
}
|
|
91
|
-
.responsivedropBoxList{
|
|
92
|
-
padding: var(--zd_size10) 0 0 0 ;
|
|
93
|
-
}
|
|
94
|
-
.rotate {
|
|
95
|
-
transform: rotateX(180deg);
|
|
96
|
-
}
|
|
97
|
-
.iconOnHoverStyle .arrowIcon,
|
|
98
|
-
.iconOnHoverReadonly .arrowIcon,
|
|
99
|
-
.iconOnHoverReadonly:hover .arrowIcon {
|
|
100
|
-
opacity: 0;
|
|
101
|
-
visibility: hidden;
|
|
102
|
-
}
|
|
103
|
-
.iconOnHoverStyle:hover .arrowIcon {
|
|
104
|
-
opacity: 1;
|
|
105
|
-
visibility: visible;
|
|
106
|
-
}
|
|
107
|
-
.loader {
|
|
108
|
-
padding: var(--zd_size10) ;
|
|
1
|
+
.input {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
}
|
|
4
|
+
.small {
|
|
5
|
+
max-height: var(--zd_size200) ;
|
|
6
|
+
}
|
|
7
|
+
.medium {
|
|
8
|
+
max-height: var(--zd_size350) ;
|
|
9
|
+
}
|
|
10
|
+
.large {
|
|
11
|
+
max-height: var(--zd_size400) ;
|
|
12
|
+
}
|
|
13
|
+
.emptyState {
|
|
14
|
+
font-size: var(--zd_font_size14) ;
|
|
15
|
+
color: var(--zdt_select_emptystate_text);
|
|
16
|
+
composes: semibold from '../common/common.module.css';
|
|
17
|
+
}
|
|
18
|
+
.box_small .emptyState {
|
|
19
|
+
padding: var(--zd_size12) var(--zd_size6) ;
|
|
20
|
+
}
|
|
21
|
+
.box_medium .emptyState {
|
|
22
|
+
padding: var(--zd_size12) var(--zd_size15) ;
|
|
23
|
+
}
|
|
24
|
+
.hide {
|
|
25
|
+
composes: vishidden from '../common/common.module.css';
|
|
26
|
+
}
|
|
27
|
+
.container {
|
|
28
|
+
position: relative;
|
|
29
|
+
}
|
|
30
|
+
.arrowIcon {
|
|
31
|
+
height: var(--zd_size8) ;
|
|
32
|
+
line-height: var(--zd_size8);
|
|
33
|
+
}
|
|
34
|
+
.small.search {
|
|
35
|
+
padding: 0 var(--zd_size5) ;
|
|
36
|
+
}
|
|
37
|
+
.medium.search {
|
|
38
|
+
padding: var(--zd_size3) var(--zd_size20) 0 ;
|
|
39
|
+
}
|
|
40
|
+
.title {
|
|
41
|
+
margin-bottom: var(--zd_size6) ;
|
|
42
|
+
}
|
|
43
|
+
.groupTitle {
|
|
44
|
+
margin: var(--zd_size6) 0 ;
|
|
45
|
+
}
|
|
46
|
+
.listItemContainer {
|
|
47
|
+
padding: var(--zd_size10) 0 ;
|
|
48
|
+
}
|
|
49
|
+
.responsivelistItemContainer {
|
|
50
|
+
padding: var(--zd_size10) 0 0 ;
|
|
51
|
+
}
|
|
52
|
+
.readonly {
|
|
53
|
+
--textboxicon_icon_cursor: not-allowed;
|
|
54
|
+
}
|
|
55
|
+
.transparentContainer .arrowIcon {
|
|
56
|
+
opacity: 0;
|
|
57
|
+
visibility: hidden;
|
|
58
|
+
}
|
|
59
|
+
.transparentContainer:hover .arrowIcon {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
visibility: visible;
|
|
62
|
+
}
|
|
63
|
+
.disable {
|
|
64
|
+
color: var(--zdt_select_disable_text);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.leftIcon {
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 0 ;
|
|
70
|
+
bottom: 0 ;
|
|
71
|
+
width: var(--zd_size30) ;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
[dir=ltr] .leftIcon {
|
|
75
|
+
left: 0 ;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[dir=rtl] .leftIcon {
|
|
79
|
+
right: 0 ;
|
|
80
|
+
}
|
|
81
|
+
[dir=ltr] .iconSelect {
|
|
82
|
+
padding-left: var(--zd_size30) ;
|
|
83
|
+
}
|
|
84
|
+
[dir=rtl] .iconSelect {
|
|
85
|
+
padding-right: var(--zd_size30) ;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.dropBoxList {
|
|
89
|
+
padding: var(--zd_size10) 0 ;
|
|
90
|
+
}
|
|
91
|
+
.responsivedropBoxList{
|
|
92
|
+
padding: var(--zd_size10) 0 0 0 ;
|
|
93
|
+
}
|
|
94
|
+
.rotate {
|
|
95
|
+
transform: rotateX(180deg);
|
|
96
|
+
}
|
|
97
|
+
.iconOnHoverStyle .arrowIcon,
|
|
98
|
+
.iconOnHoverReadonly .arrowIcon,
|
|
99
|
+
.iconOnHoverReadonly:hover .arrowIcon {
|
|
100
|
+
opacity: 0;
|
|
101
|
+
visibility: hidden;
|
|
102
|
+
}
|
|
103
|
+
.iconOnHoverStyle:hover .arrowIcon {
|
|
104
|
+
opacity: 1;
|
|
105
|
+
visibility: visible;
|
|
106
|
+
}
|
|
107
|
+
.loader {
|
|
108
|
+
padding: var(--zd_size10) ;
|
|
109
109
|
}
|
|
@@ -380,7 +380,8 @@ SelectWithAvatarComponent.propTypes = _propTypes.SelectWithAvatar_propTypes;
|
|
|
380
380
|
SelectWithAvatarComponent.defaultProps = _defaultProps.SelectWithAvatar_defaultProps;
|
|
381
381
|
SelectWithAvatarComponent.displayName = 'SelectWithAvatar';
|
|
382
382
|
var SelectWithAvatar = (0, _Popup["default"])(SelectWithAvatarComponent);
|
|
383
|
-
SelectWithAvatar.defaultProps = SelectWithAvatarComponent.defaultProps;
|
|
383
|
+
SelectWithAvatar.defaultProps = SelectWithAvatarComponent.defaultProps;
|
|
384
|
+
SelectWithAvatar.propTypes = SelectWithAvatarComponent.propTypes; // if (__DOCS__) {
|
|
384
385
|
// SelectWithAvatar.docs = {
|
|
385
386
|
// componentGroup: 'Form Elements',
|
|
386
387
|
// folderName: 'Style Guide'
|
|
@@ -581,13 +581,15 @@ var SelectWithIcon = /*#__PURE__*/function (_Component) {
|
|
|
581
581
|
}(_react.Component);
|
|
582
582
|
|
|
583
583
|
SelectWithIcon.propTypes = _propTypes.SelectWithIcon_propTypes;
|
|
584
|
-
SelectWithIcon.defaultProps = _defaultProps.SelectWithIcon_defaultProps;
|
|
584
|
+
SelectWithIcon.defaultProps = _defaultProps.SelectWithIcon_defaultProps;
|
|
585
|
+
var SelectWithIconComponent = (0, _Popup["default"])(SelectWithIcon);
|
|
586
|
+
SelectWithIconComponent.defaultProps = SelectWithIcon.defaultProps;
|
|
587
|
+
SelectWithIconComponent.propTypes = SelectWithIcon.propTypes; // if (__DOCS__) {
|
|
585
588
|
// SelectWithIcon.docs = {
|
|
586
589
|
// componentGroup: 'Form Elements',
|
|
587
590
|
// folderName: 'Style Guide'
|
|
588
591
|
// };
|
|
589
592
|
// }
|
|
590
593
|
|
|
591
|
-
var _default =
|
|
592
|
-
|
|
594
|
+
var _default = SelectWithIconComponent;
|
|
593
595
|
exports["default"] = _default;
|
|
@@ -96,7 +96,13 @@ var Select_propTypes = {
|
|
|
96
96
|
}),
|
|
97
97
|
isLoading: _propTypes["default"].bool,
|
|
98
98
|
dataSelectorId: _propTypes["default"].string,
|
|
99
|
-
isAbsolutePositioningNeeded: _propTypes["default"].bool
|
|
99
|
+
isAbsolutePositioningNeeded: _propTypes["default"].bool,
|
|
100
|
+
openPopupOnly: _propTypes["default"].bool,
|
|
101
|
+
ariaLabelledby: _propTypes["default"].string,
|
|
102
|
+
positionsOffset: _propTypes["default"].array,
|
|
103
|
+
targetOffset: _propTypes["default"].array,
|
|
104
|
+
isRestrictScroll: _propTypes["default"].bool,
|
|
105
|
+
dropBoxPortalId: _propTypes["default"].string
|
|
100
106
|
};
|
|
101
107
|
exports.Select_propTypes = Select_propTypes;
|
|
102
108
|
var GroupSelect_propTypes = {
|
|
@@ -143,12 +149,9 @@ var GroupSelect_propTypes = {
|
|
|
143
149
|
animationStyle: _propTypes["default"].string,
|
|
144
150
|
dropBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'large']),
|
|
145
151
|
defaultDropBoxPosition: _propTypes["default"].oneOf(['bottom', 'top', 'left', 'right']),
|
|
146
|
-
isAnimate: _propTypes["default"].bool,
|
|
147
|
-
onFocus: _propTypes["default"].func,
|
|
148
152
|
size: _propTypes["default"].oneOf(['medium', 'xmedium']),
|
|
149
153
|
textBoxSize: _propTypes["default"].oneOf(['small', 'medium', 'xmedium']),
|
|
150
154
|
title: _propTypes["default"].string,
|
|
151
|
-
variant: _propTypes["default"].string,
|
|
152
155
|
needResponsive: _propTypes["default"].bool,
|
|
153
156
|
className: _propTypes["default"].string,
|
|
154
157
|
textBoxVariant: _propTypes["default"].string,
|
|
@@ -176,7 +179,8 @@ var GroupSelect_propTypes = {
|
|
|
176
179
|
searchEmptyText: _propTypes["default"].string
|
|
177
180
|
}),
|
|
178
181
|
isLoading: _propTypes["default"].bool,
|
|
179
|
-
dataSelectorId: _propTypes["default"].string
|
|
182
|
+
dataSelectorId: _propTypes["default"].string,
|
|
183
|
+
isDefaultSelectValue: _propTypes["default"].bool
|
|
180
184
|
};
|
|
181
185
|
exports.GroupSelect_propTypes = GroupSelect_propTypes;
|
|
182
186
|
var SelectWithAvatar_propTypes = {
|
|
@@ -284,6 +288,13 @@ var SelectWithIcon_propTypes = {
|
|
|
284
288
|
valueKey: _propTypes["default"].string,
|
|
285
289
|
htmlId: _propTypes["default"].string,
|
|
286
290
|
isLoading: _propTypes["default"].bool,
|
|
287
|
-
dataSelectorId: _propTypes["default"].string
|
|
291
|
+
dataSelectorId: _propTypes["default"].string,
|
|
292
|
+
title: _propTypes["default"].string,
|
|
293
|
+
className: _propTypes["default"].string,
|
|
294
|
+
needBorder: _propTypes["default"].bool,
|
|
295
|
+
searchBoxSize: _propTypes["default"].string,
|
|
296
|
+
needResponsive: _propTypes["default"].bool,
|
|
297
|
+
boxSize: _propTypes["default"].string,
|
|
298
|
+
emptyMessage: _propTypes["default"].string
|
|
288
299
|
};
|
|
289
300
|
exports.SelectWithIcon_propTypes = SelectWithIcon_propTypes;
|
package/lib/Stencils/Stencils.js
CHANGED
|
File without changes
|