@zohodesk/components 1.0.0-temp-180 → 1.0.0-temp-181
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/PropLessFiles.html +1 -1
- package/.cli/PropUnificationExcludeFilesArray.js +230 -230
- package/.cli/PropValidationExcludeFilesArray.js +1 -1
- package/.cli/propValidation_report.html +1 -1
- package/README.md +1363 -1363
- package/css_error.log +1 -1
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +10 -11
- package/es/Avatar/Avatar.module.css +187 -187
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +191 -191
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +704 -705
- package/es/Button/Button.js +4 -4
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -440
- package/es/Button/css/Button.module.css +533 -533
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +107 -106
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/CheckBox/CheckBox.js +0 -0
- package/es/CheckBox/CheckBox.module.css +159 -159
- package/es/DateTime/CalendarView.js +0 -0
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +249 -249
- package/es/DateTime/DateWidget.js +0 -0
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/YearView.js +0 -0
- 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/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +0 -0
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +441 -438
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropBox/css/DropBox.module.css +59 -59
- package/es/DropDown/DropDown.js +0 -0
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownHeading.js +0 -0
- package/es/DropDown/DropDownHeading.module.css +59 -59
- package/es/DropDown/DropDownItem.js +0 -0
- package/es/DropDown/DropDownItem.module.css +97 -97
- 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/Heading/Heading.module.css +4 -4
- package/es/Label/Label.js +2 -2
- package/es/Label/Label.module.css +53 -53
- package/es/Label/LabelColors.module.css +20 -20
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/es/Layout/Box.js +0 -0
- package/es/Layout/Container.js +0 -0
- package/es/Layout/Layout.module.css +335 -335
- package/es/Layout/utils.js +0 -0
- package/es/ListItem/ListContainer.js +1 -1
- package/es/ListItem/ListItem.js +0 -0
- package/es/ListItem/ListItem.module.css +237 -226
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/MultiSelect/MobileHeader/MobileHeader.module.css +16 -16
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +204 -204
- package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/Suggestions.js +1 -2
- package/es/PopOver/PopOver.module.css +9 -9
- package/es/Popup/Popup.js +0 -0
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Radio/Radio.js +0 -0
- package/es/Radio/Radio.module.css +113 -113
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +1837 -1837
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +458 -457
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/RippleEffect/__tests__/__snapshots__/RippleEffect.spec.js.snap +171 -171
- package/es/Select/GroupSelect.js +0 -0
- package/es/Select/Select.js +2 -3
- package/es/Select/Select.module.css +108 -108
- package/es/Select/SelectWithAvatar.js +0 -0
- package/es/Select/SelectWithIcon.js +0 -0
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/es/Switch/Switch.js +2 -2
- package/es/Switch/Switch.module.css +129 -129
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- 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/Tag/Tag.js +8 -8
- package/es/Tag/Tag.module.css +260 -259
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +178 -178
- package/es/TextBoxIcon/TextBoxIcon.js +0 -0
- package/es/TextBoxIcon/TextBoxIcon.module.css +84 -84
- package/es/Textarea/Textarea.js +0 -0
- package/es/Textarea/Textarea.module.css +145 -145
- package/es/Tooltip/Tooltip.module.css +144 -144
- 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 +128 -128
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- 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/v1/Avatar/Avatar.js +6 -7
- package/es/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/es/v1/Button/Button.js +4 -4
- package/es/v1/Card/Card.js +4 -4
- package/es/v1/CheckBox/CheckBox.js +0 -0
- package/es/v1/DateTime/DateTime.js +0 -0
- package/es/v1/DateTime/DateWidget.js +0 -0
- package/es/v1/DateTime/YearView.js +0 -0
- package/es/v1/DateTime/index.js +0 -0
- package/es/v1/DropBox/DropBox.js +0 -0
- package/es/v1/DropDown/DropDown.js +0 -0
- package/es/v1/DropDown/DropDownHeading.js +0 -0
- package/es/v1/DropDown/DropDownItem.js +0 -0
- package/es/v1/DropDown/DropDownSearch.js +0 -0
- package/es/v1/DropDown/DropDownSeparator.js +0 -0
- package/es/v1/Layout/Box.js +0 -0
- package/es/v1/Layout/Container.js +0 -0
- package/es/v1/ListItem/ListContainer.js +1 -1
- package/es/v1/ListItem/ListItem.js +0 -0
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/v1/MultiSelect/MultiSelect.js +5 -5
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/es/v1/MultiSelect/Suggestions.js +1 -2
- package/es/v1/Radio/Radio.js +0 -0
- package/es/v1/Responsive/CustomResponsive.js +0 -0
- package/es/v1/Select/GroupSelect.js +0 -0
- package/es/v1/Select/Select.js +2 -3
- package/es/v1/Select/SelectWithAvatar.js +0 -0
- package/es/v1/Select/SelectWithIcon.js +0 -0
- package/es/v1/Switch/Switch.js +2 -2
- package/es/v1/Tab/Tabs.js +17 -17
- package/es/v1/Tag/Tag.js +8 -8
- package/es/v1/TextBox/TextBox.js +0 -0
- package/es/v1/Typography/css/Typography.module.css +380 -380
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +10 -11
- package/lib/Avatar/Avatar.module.css +187 -187
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +591 -591
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/AvatarTeam.module.css +191 -191
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +704 -705
- package/lib/Button/Button.js +4 -4
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -440
- package/lib/Button/css/Button.module.css +533 -533
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/Buttongroup.module.css +107 -106
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +191 -191
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/CheckBox/CheckBox.js +0 -0
- package/lib/CheckBox/CheckBox.module.css +159 -159
- package/lib/DateTime/CalendarView.js +0 -0
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateTime.module.css +249 -249
- package/lib/DateTime/DateWidget.js +0 -0
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/YearView.js +0 -0
- 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/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +0 -0
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +441 -438
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropBox/css/DropBox.module.css +59 -59
- package/lib/DropDown/DropDown.js +0 -0
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +0 -0
- package/lib/DropDown/DropDownHeading.module.css +59 -59
- package/lib/DropDown/DropDownItem.js +0 -0
- package/lib/DropDown/DropDownItem.module.css +97 -97
- 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/Heading/Heading.module.css +4 -4
- package/lib/Label/Label.js +0 -0
- package/lib/Label/Label.module.css +53 -53
- package/lib/Label/LabelColors.module.css +20 -20
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +312 -312
- package/lib/Layout/Box.js +0 -0
- package/lib/Layout/Container.js +0 -0
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/Layout/utils.js +0 -0
- package/lib/ListItem/ListContainer.js +1 -1
- package/lib/ListItem/ListItem.js +0 -0
- package/lib/ListItem/ListItem.module.css +237 -226
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/MultiSelect/MobileHeader/MobileHeader.module.css +16 -16
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.module.css +204 -204
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/Suggestions.js +1 -2
- package/lib/PopOver/PopOver.module.css +9 -9
- package/lib/Popup/Popup.js +0 -0
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Radio/Radio.js +0 -0
- package/lib/Radio/Radio.module.css +113 -113
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +1837 -1837
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/Ribbon.js +0 -0
- package/lib/Ribbon/Ribbon.module.css +458 -457
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +374 -374
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/RippleEffect/__tests__/__snapshots__/RippleEffect.spec.js.snap +171 -171
- package/lib/Select/GroupSelect.js +0 -0
- package/lib/Select/Select.js +2 -3
- package/lib/Select/Select.module.css +108 -108
- package/lib/Select/SelectWithAvatar.js +0 -0
- package/lib/Select/SelectWithIcon.js +0 -0
- package/lib/Stencils/Stencils.js +0 -0
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +89 -89
- package/lib/Switch/Switch.js +2 -2
- package/lib/Switch/Switch.module.css +129 -129
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +831 -831
- 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/Tag/Tag.js +8 -8
- package/lib/Tag/Tag.module.css +260 -259
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +178 -178
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +84 -84
- package/lib/Textarea/Textarea.js +0 -0
- package/lib/Textarea/Textarea.module.css +145 -145
- package/lib/Tooltip/Tooltip.module.css +144 -144
- 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 +128 -128
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- 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/v1/Avatar/Avatar.js +6 -7
- package/lib/v1/AvatarTeam/AvatarTeam.js +4 -4
- package/lib/v1/Button/Button.js +4 -4
- package/lib/v1/Card/Card.js +4 -4
- package/lib/v1/CheckBox/CheckBox.js +0 -0
- package/lib/v1/DateTime/DateTime.js +0 -0
- package/lib/v1/DateTime/DateWidget.js +0 -0
- package/lib/v1/DateTime/YearView.js +0 -0
- package/lib/v1/DateTime/index.js +0 -0
- package/lib/v1/DropBox/DropBox.js +0 -0
- package/lib/v1/DropDown/DropDown.js +0 -0
- package/lib/v1/DropDown/DropDownHeading.js +0 -0
- package/lib/v1/DropDown/DropDownItem.js +0 -0
- package/lib/v1/DropDown/DropDownSearch.js +0 -0
- package/lib/v1/DropDown/DropDownSeparator.js +0 -0
- package/lib/v1/Layout/Box.js +0 -0
- package/lib/v1/Layout/Container.js +0 -0
- package/lib/v1/ListItem/ListContainer.js +1 -1
- package/lib/v1/ListItem/ListItem.js +0 -0
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/v1/MultiSelect/MultiSelect.js +5 -5
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/lib/v1/MultiSelect/Suggestions.js +1 -2
- package/lib/v1/Radio/Radio.js +0 -0
- package/lib/v1/Responsive/CustomResponsive.js +0 -0
- package/lib/v1/Select/GroupSelect.js +0 -0
- package/lib/v1/Select/Select.js +2 -3
- package/lib/v1/Select/SelectWithAvatar.js +0 -0
- package/lib/v1/Select/SelectWithIcon.js +0 -0
- package/lib/v1/Switch/Switch.js +2 -2
- package/lib/v1/Tab/Tabs.js +11 -11
- package/lib/v1/Tag/Tag.js +8 -8
- package/lib/v1/TextBox/TextBox.js +0 -0
- package/lib/v1/Typography/css/Typography.module.css +380 -380
- package/package.json +95 -95
- package/postPublish.js +8 -8
- package/prePublish.js +70 -70
- package/propValidationArg.json +7 -7
- package/react-cli.config.js +23 -23
- package/result.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -1,171 +1,171 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`RippleEffect rendering hoverType of- bg 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
class=" effect default border bgHover hoverEffect "
|
|
7
|
-
>
|
|
8
|
-
RippleEffect
|
|
9
|
-
</div>
|
|
10
|
-
</DocumentFragment>
|
|
11
|
-
`;
|
|
12
|
-
|
|
13
|
-
exports[`RippleEffect rendering hoverType of- border 1`] = `
|
|
14
|
-
<DocumentFragment>
|
|
15
|
-
<div
|
|
16
|
-
class=" effect default border borderHover hoverEffect "
|
|
17
|
-
>
|
|
18
|
-
RippleEffect
|
|
19
|
-
</div>
|
|
20
|
-
</DocumentFragment>
|
|
21
|
-
`;
|
|
22
|
-
|
|
23
|
-
exports[`RippleEffect rendering hoverType of- default 1`] = `
|
|
24
|
-
<DocumentFragment>
|
|
25
|
-
<div
|
|
26
|
-
class=" effect default border defaultHover hoverEffect "
|
|
27
|
-
>
|
|
28
|
-
RippleEffect
|
|
29
|
-
</div>
|
|
30
|
-
</DocumentFragment>
|
|
31
|
-
`;
|
|
32
|
-
|
|
33
|
-
exports[`RippleEffect rendering hoverType of- test 1`] = `
|
|
34
|
-
<DocumentFragment>
|
|
35
|
-
<div
|
|
36
|
-
class=" effect default border hoverEffect "
|
|
37
|
-
>
|
|
38
|
-
RippleEffect
|
|
39
|
-
</div>
|
|
40
|
-
</DocumentFragment>
|
|
41
|
-
`;
|
|
42
|
-
|
|
43
|
-
exports[`RippleEffect rendering isActive is true 1`] = `
|
|
44
|
-
<DocumentFragment>
|
|
45
|
-
<div
|
|
46
|
-
class=" effect default border defaultHover active hoverEffect "
|
|
47
|
-
>
|
|
48
|
-
RippleEffect
|
|
49
|
-
</div>
|
|
50
|
-
</DocumentFragment>
|
|
51
|
-
`;
|
|
52
|
-
|
|
53
|
-
exports[`RippleEffect rendering isCopyTextEnabled is false 1`] = `
|
|
54
|
-
<DocumentFragment>
|
|
55
|
-
<div
|
|
56
|
-
class=" effect default border defaultHover hoverEffect notAllowed"
|
|
57
|
-
>
|
|
58
|
-
RippleEffect
|
|
59
|
-
</div>
|
|
60
|
-
</DocumentFragment>
|
|
61
|
-
`;
|
|
62
|
-
|
|
63
|
-
exports[`RippleEffect rendering isDisabled is true 1`] = `
|
|
64
|
-
<DocumentFragment>
|
|
65
|
-
<div
|
|
66
|
-
class=" effect default border defaultHover disabled"
|
|
67
|
-
>
|
|
68
|
-
RippleEffect
|
|
69
|
-
</div>
|
|
70
|
-
</DocumentFragment>
|
|
71
|
-
`;
|
|
72
|
-
|
|
73
|
-
exports[`RippleEffect rendering isNeedEffect is false 1`] = `
|
|
74
|
-
<DocumentFragment>
|
|
75
|
-
<div
|
|
76
|
-
class=" "
|
|
77
|
-
>
|
|
78
|
-
RippleEffect
|
|
79
|
-
</div>
|
|
80
|
-
</DocumentFragment>
|
|
81
|
-
`;
|
|
82
|
-
|
|
83
|
-
exports[`RippleEffect rendering needBorder is false 1`] = `
|
|
84
|
-
<DocumentFragment>
|
|
85
|
-
<div
|
|
86
|
-
class=" effect default defaultHover hoverEffect "
|
|
87
|
-
>
|
|
88
|
-
RippleEffect
|
|
89
|
-
</div>
|
|
90
|
-
</DocumentFragment>
|
|
91
|
-
`;
|
|
92
|
-
|
|
93
|
-
exports[`RippleEffect rendering the defult props 1`] = `
|
|
94
|
-
<DocumentFragment>
|
|
95
|
-
<div
|
|
96
|
-
class=" effect default border defaultHover hoverEffect "
|
|
97
|
-
>
|
|
98
|
-
RippleEffect
|
|
99
|
-
</div>
|
|
100
|
-
</DocumentFragment>
|
|
101
|
-
`;
|
|
102
|
-
|
|
103
|
-
exports[`RippleEffect rendering the palette of- danger 1`] = `
|
|
104
|
-
<DocumentFragment>
|
|
105
|
-
<div
|
|
106
|
-
class=" effect danger border defaultHover hoverEffect "
|
|
107
|
-
>
|
|
108
|
-
RippleEffect
|
|
109
|
-
</div>
|
|
110
|
-
</DocumentFragment>
|
|
111
|
-
`;
|
|
112
|
-
|
|
113
|
-
exports[`RippleEffect rendering the palette of- default 1`] = `
|
|
114
|
-
<DocumentFragment>
|
|
115
|
-
<div
|
|
116
|
-
class=" effect default border defaultHover hoverEffect "
|
|
117
|
-
>
|
|
118
|
-
RippleEffect
|
|
119
|
-
</div>
|
|
120
|
-
</DocumentFragment>
|
|
121
|
-
`;
|
|
122
|
-
|
|
123
|
-
exports[`RippleEffect rendering the palette of- green 1`] = `
|
|
124
|
-
<DocumentFragment>
|
|
125
|
-
<div
|
|
126
|
-
class=" effect green border defaultHover hoverEffect "
|
|
127
|
-
>
|
|
128
|
-
RippleEffect
|
|
129
|
-
</div>
|
|
130
|
-
</DocumentFragment>
|
|
131
|
-
`;
|
|
132
|
-
|
|
133
|
-
exports[`RippleEffect rendering the palette of- primary 1`] = `
|
|
134
|
-
<DocumentFragment>
|
|
135
|
-
<div
|
|
136
|
-
class=" effect primary border defaultHover hoverEffect "
|
|
137
|
-
>
|
|
138
|
-
RippleEffect
|
|
139
|
-
</div>
|
|
140
|
-
</DocumentFragment>
|
|
141
|
-
`;
|
|
142
|
-
|
|
143
|
-
exports[`RippleEffect rendering the palette of- primaryDark 1`] = `
|
|
144
|
-
<DocumentFragment>
|
|
145
|
-
<div
|
|
146
|
-
class=" effect primaryDark border defaultHover hoverEffect "
|
|
147
|
-
>
|
|
148
|
-
RippleEffect
|
|
149
|
-
</div>
|
|
150
|
-
</DocumentFragment>
|
|
151
|
-
`;
|
|
152
|
-
|
|
153
|
-
exports[`RippleEffect rendering the palette of- primaryFilled 1`] = `
|
|
154
|
-
<DocumentFragment>
|
|
155
|
-
<div
|
|
156
|
-
class=" effect primaryFilled border defaultHover hoverEffect "
|
|
157
|
-
>
|
|
158
|
-
RippleEffect
|
|
159
|
-
</div>
|
|
160
|
-
</DocumentFragment>
|
|
161
|
-
`;
|
|
162
|
-
|
|
163
|
-
exports[`RippleEffect rendering the palette of- primaryLight 1`] = `
|
|
164
|
-
<DocumentFragment>
|
|
165
|
-
<div
|
|
166
|
-
class=" effect primaryLight border defaultHover hoverEffect "
|
|
167
|
-
>
|
|
168
|
-
RippleEffect
|
|
169
|
-
</div>
|
|
170
|
-
</DocumentFragment>
|
|
171
|
-
`;
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`RippleEffect rendering hoverType of- bg 1`] = `
|
|
4
|
+
<DocumentFragment>
|
|
5
|
+
<div
|
|
6
|
+
class=" effect default border bgHover hoverEffect "
|
|
7
|
+
>
|
|
8
|
+
RippleEffect
|
|
9
|
+
</div>
|
|
10
|
+
</DocumentFragment>
|
|
11
|
+
`;
|
|
12
|
+
|
|
13
|
+
exports[`RippleEffect rendering hoverType of- border 1`] = `
|
|
14
|
+
<DocumentFragment>
|
|
15
|
+
<div
|
|
16
|
+
class=" effect default border borderHover hoverEffect "
|
|
17
|
+
>
|
|
18
|
+
RippleEffect
|
|
19
|
+
</div>
|
|
20
|
+
</DocumentFragment>
|
|
21
|
+
`;
|
|
22
|
+
|
|
23
|
+
exports[`RippleEffect rendering hoverType of- default 1`] = `
|
|
24
|
+
<DocumentFragment>
|
|
25
|
+
<div
|
|
26
|
+
class=" effect default border defaultHover hoverEffect "
|
|
27
|
+
>
|
|
28
|
+
RippleEffect
|
|
29
|
+
</div>
|
|
30
|
+
</DocumentFragment>
|
|
31
|
+
`;
|
|
32
|
+
|
|
33
|
+
exports[`RippleEffect rendering hoverType of- test 1`] = `
|
|
34
|
+
<DocumentFragment>
|
|
35
|
+
<div
|
|
36
|
+
class=" effect default border hoverEffect "
|
|
37
|
+
>
|
|
38
|
+
RippleEffect
|
|
39
|
+
</div>
|
|
40
|
+
</DocumentFragment>
|
|
41
|
+
`;
|
|
42
|
+
|
|
43
|
+
exports[`RippleEffect rendering isActive is true 1`] = `
|
|
44
|
+
<DocumentFragment>
|
|
45
|
+
<div
|
|
46
|
+
class=" effect default border defaultHover active hoverEffect "
|
|
47
|
+
>
|
|
48
|
+
RippleEffect
|
|
49
|
+
</div>
|
|
50
|
+
</DocumentFragment>
|
|
51
|
+
`;
|
|
52
|
+
|
|
53
|
+
exports[`RippleEffect rendering isCopyTextEnabled is false 1`] = `
|
|
54
|
+
<DocumentFragment>
|
|
55
|
+
<div
|
|
56
|
+
class=" effect default border defaultHover hoverEffect notAllowed"
|
|
57
|
+
>
|
|
58
|
+
RippleEffect
|
|
59
|
+
</div>
|
|
60
|
+
</DocumentFragment>
|
|
61
|
+
`;
|
|
62
|
+
|
|
63
|
+
exports[`RippleEffect rendering isDisabled is true 1`] = `
|
|
64
|
+
<DocumentFragment>
|
|
65
|
+
<div
|
|
66
|
+
class=" effect default border defaultHover disabled"
|
|
67
|
+
>
|
|
68
|
+
RippleEffect
|
|
69
|
+
</div>
|
|
70
|
+
</DocumentFragment>
|
|
71
|
+
`;
|
|
72
|
+
|
|
73
|
+
exports[`RippleEffect rendering isNeedEffect is false 1`] = `
|
|
74
|
+
<DocumentFragment>
|
|
75
|
+
<div
|
|
76
|
+
class=" "
|
|
77
|
+
>
|
|
78
|
+
RippleEffect
|
|
79
|
+
</div>
|
|
80
|
+
</DocumentFragment>
|
|
81
|
+
`;
|
|
82
|
+
|
|
83
|
+
exports[`RippleEffect rendering needBorder is false 1`] = `
|
|
84
|
+
<DocumentFragment>
|
|
85
|
+
<div
|
|
86
|
+
class=" effect default defaultHover hoverEffect "
|
|
87
|
+
>
|
|
88
|
+
RippleEffect
|
|
89
|
+
</div>
|
|
90
|
+
</DocumentFragment>
|
|
91
|
+
`;
|
|
92
|
+
|
|
93
|
+
exports[`RippleEffect rendering the defult props 1`] = `
|
|
94
|
+
<DocumentFragment>
|
|
95
|
+
<div
|
|
96
|
+
class=" effect default border defaultHover hoverEffect "
|
|
97
|
+
>
|
|
98
|
+
RippleEffect
|
|
99
|
+
</div>
|
|
100
|
+
</DocumentFragment>
|
|
101
|
+
`;
|
|
102
|
+
|
|
103
|
+
exports[`RippleEffect rendering the palette of- danger 1`] = `
|
|
104
|
+
<DocumentFragment>
|
|
105
|
+
<div
|
|
106
|
+
class=" effect danger border defaultHover hoverEffect "
|
|
107
|
+
>
|
|
108
|
+
RippleEffect
|
|
109
|
+
</div>
|
|
110
|
+
</DocumentFragment>
|
|
111
|
+
`;
|
|
112
|
+
|
|
113
|
+
exports[`RippleEffect rendering the palette of- default 1`] = `
|
|
114
|
+
<DocumentFragment>
|
|
115
|
+
<div
|
|
116
|
+
class=" effect default border defaultHover hoverEffect "
|
|
117
|
+
>
|
|
118
|
+
RippleEffect
|
|
119
|
+
</div>
|
|
120
|
+
</DocumentFragment>
|
|
121
|
+
`;
|
|
122
|
+
|
|
123
|
+
exports[`RippleEffect rendering the palette of- green 1`] = `
|
|
124
|
+
<DocumentFragment>
|
|
125
|
+
<div
|
|
126
|
+
class=" effect green border defaultHover hoverEffect "
|
|
127
|
+
>
|
|
128
|
+
RippleEffect
|
|
129
|
+
</div>
|
|
130
|
+
</DocumentFragment>
|
|
131
|
+
`;
|
|
132
|
+
|
|
133
|
+
exports[`RippleEffect rendering the palette of- primary 1`] = `
|
|
134
|
+
<DocumentFragment>
|
|
135
|
+
<div
|
|
136
|
+
class=" effect primary border defaultHover hoverEffect "
|
|
137
|
+
>
|
|
138
|
+
RippleEffect
|
|
139
|
+
</div>
|
|
140
|
+
</DocumentFragment>
|
|
141
|
+
`;
|
|
142
|
+
|
|
143
|
+
exports[`RippleEffect rendering the palette of- primaryDark 1`] = `
|
|
144
|
+
<DocumentFragment>
|
|
145
|
+
<div
|
|
146
|
+
class=" effect primaryDark border defaultHover hoverEffect "
|
|
147
|
+
>
|
|
148
|
+
RippleEffect
|
|
149
|
+
</div>
|
|
150
|
+
</DocumentFragment>
|
|
151
|
+
`;
|
|
152
|
+
|
|
153
|
+
exports[`RippleEffect rendering the palette of- primaryFilled 1`] = `
|
|
154
|
+
<DocumentFragment>
|
|
155
|
+
<div
|
|
156
|
+
class=" effect primaryFilled border defaultHover hoverEffect "
|
|
157
|
+
>
|
|
158
|
+
RippleEffect
|
|
159
|
+
</div>
|
|
160
|
+
</DocumentFragment>
|
|
161
|
+
`;
|
|
162
|
+
|
|
163
|
+
exports[`RippleEffect rendering the palette of- primaryLight 1`] = `
|
|
164
|
+
<DocumentFragment>
|
|
165
|
+
<div
|
|
166
|
+
class=" effect primaryLight border defaultHover hoverEffect "
|
|
167
|
+
>
|
|
168
|
+
RippleEffect
|
|
169
|
+
</div>
|
|
170
|
+
</DocumentFragment>
|
|
171
|
+
`;
|
package/es/Select/GroupSelect.js
CHANGED
|
File without changes
|
package/es/Select/Select.js
CHANGED
|
@@ -298,8 +298,7 @@ export class SelectComponent extends Component {
|
|
|
298
298
|
isPopupOpen,
|
|
299
299
|
onKeyDown,
|
|
300
300
|
isPopupOpenOnEnter,
|
|
301
|
-
needCloseOnSelect
|
|
302
|
-
isPopupReady
|
|
301
|
+
needCloseOnSelect
|
|
303
302
|
} = this.props;
|
|
304
303
|
let {
|
|
305
304
|
hoverIndex,
|
|
@@ -350,7 +349,7 @@ export class SelectComponent extends Component {
|
|
|
350
349
|
id
|
|
351
350
|
} = option || {};
|
|
352
351
|
|
|
353
|
-
if (
|
|
352
|
+
if (isPopupOpen && !getIsEmptyValue(id) && onChange) {
|
|
354
353
|
onChange(id, optionsNormalize[id]);
|
|
355
354
|
needCloseOnSelect && this.handlePopupClose(e);
|
|
356
355
|
}
|