@zohodesk/components 1.0.0-temp-666 → 1.0.0-temp-667
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 +3 -0
- package/es/AppContainer/AppContainer.js +1 -1
- package/es/Avatar/Avatar.js +1 -1
- package/es/Avatar/Avatar.module.css +11 -9
- package/es/AvatarTeam/AvatarTeam.js +1 -1
- package/es/AvatarTeam/AvatarTeam.module.css +21 -7
- package/es/Button/Button.module.css +97 -24
- package/es/Buttongroup/Buttongroup.module.css +37 -8
- package/es/CheckBox/CheckBox.js +1 -1
- package/es/CheckBox/CheckBox.module.css +29 -19
- package/es/DateTime/DateTime.module.css +39 -12
- package/es/DateTime/DateWidget.module.css +9 -5
- package/es/DateTime/YearView.module.css +17 -7
- package/es/DropBox/DropBox.js +1 -1
- package/es/DropBox/DropBox.module.css +47 -11
- package/es/DropDown/DropDownHeading.module.css +7 -3
- package/es/DropDown/DropDownItem.module.css +32 -6
- package/es/ListItem/ListContainer.js +1 -1
- package/es/ListItem/ListItem.js +1 -1
- package/es/ListItem/ListItem.module.css +69 -33
- package/es/ListItem/ListItemWithAvatar.js +1 -1
- package/es/ListItem/ListItemWithCheckBox.js +1 -1
- package/es/ListItem/ListItemWithIcon.js +1 -1
- package/es/ListItem/ListItemWithRadio.js +1 -1
- package/es/Modal/Modal.js +1 -1
- package/es/MultiSelect/AdvancedMultiSelect.js +1 -1
- package/es/MultiSelect/MultiSelect.module.css +28 -11
- package/es/MultiSelect/SelectedOptions.js +1 -1
- package/es/MultiSelect/SelectedOptions.module.css +8 -2
- package/es/MultiSelect/Suggestions.js +1 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Popup/Popup.js +1 -1
- package/es/Radio/Radio.module.css +18 -10
- package/es/Responsive/ResizeComponent.js +15 -82
- package/es/Responsive/ResizeObserver.js +2 -6
- package/es/Responsive/docs/style.module.css +17 -8
- package/es/ResponsiveDropBox/ResponsiveDropBox.js +1 -1
- package/es/Ribbon/Ribbon.module.css +93 -28
- package/es/RippleEffect/RippleEffect.module.css +37 -44
- package/es/Select/Select.js +30 -8
- package/es/Select/Select.module.css +12 -2
- package/es/Select/docs/Select__default.docs.js +1 -1
- package/es/Stencils/Stencils.module.css +21 -3
- package/es/Switch/Switch.js +1 -1
- package/es/Switch/Switch.module.css +9 -9
- package/es/Tab/Tab.js +1 -1
- package/es/Tab/Tab.module.css +16 -7
- package/es/Tab/TabWrapper.js +1 -1
- package/es/Tab/Tabs.js +1 -1
- package/es/Tab/Tabs.module.css +42 -8
- package/es/Tab/docs/tabdocs.module.css +1 -1
- package/es/Tag/Tag.module.css +36 -14
- package/es/TextBox/TextBox.js +1 -1
- package/es/TextBox/TextBox.module.css +7 -11
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
- package/es/Textarea/Textarea.js +1 -1
- package/es/Textarea/Textarea.module.css +6 -7
- package/es/Tooltip/Tooltip.module.css +9 -8
- package/es/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +1 -1
- package/es/beta/FocusRing/FocusRing.module.css +51 -26
- package/es/common/animation.module.css +219 -21
- package/es/common/basicReset.module.css +2 -12
- package/es/common/common.module.css +62 -18
- package/es/common/customscroll.module.css +17 -21
- package/es/common/docStyle.module.css +79 -32
- package/es/common/transition.module.css +50 -10
- package/es/deprecated/AdvancedMultiSelect.module.css +22 -8
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/Accordion/Accordion.js +2 -2
- package/lib/Accordion/AccordionItem.js +2 -2
- package/lib/Accordion/docs/Accordion__Demo.docs.js +2 -2
- package/lib/Animation/Animation.js +2 -2
- package/lib/Animation/docs/Animation__default.docs.js +2 -2
- package/lib/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/lib/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/lib/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/lib/AppContainer/AppContainer.js +11 -4
- package/lib/AppContainer/docs/AppContainer__default.docs.js +2 -2
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__default.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__palette.docs.js +2 -2
- package/lib/Avatar/docs/Avatar__text.docs.js +2 -2
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +2 -2
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +2 -2
- package/lib/Button/Button.js +2 -2
- package/lib/Button/docs/Button__custom.docs.js +2 -2
- package/lib/Button/docs/Button__default.docs.js +2 -2
- package/lib/Buttongroup/Buttongroup.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +2 -2
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +2 -2
- package/lib/Card/Card.js +2 -2
- package/lib/Card/docs/Card__Custom.docs.js +2 -2
- package/lib/Card/docs/Card__Default.docs.js +2 -2
- package/lib/Card/docs/Card__Scroll.docs.js +2 -2
- package/lib/CheckBox/CheckBox.js +5 -4
- package/lib/CheckBox/CheckBox.module.css +12 -8
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +2 -2
- package/lib/CheckBox/docs/CheckBox__default.docs.js +2 -2
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateTime.js +50 -22
- package/lib/DateTime/DateTime.module.css +1 -1
- package/lib/DateTime/DateTimePopupFooter.js +2 -2
- package/lib/DateTime/DateTimePopupHeader.js +2 -2
- package/lib/DateTime/DateWidget.js +14 -4
- package/lib/DateTime/DateWidget.module.css +0 -4
- package/lib/DateTime/DaysRow.js +2 -2
- package/lib/DateTime/Time.js +2 -2
- package/lib/DateTime/YearView.js +2 -2
- package/lib/DateTime/YearView.module.css +1 -0
- package/lib/DateTime/docs/DateTime__default.docs.js +2 -2
- package/lib/DateTime/docs/DateWidget__default.docs.js +2 -2
- package/lib/DropBox/DropBox.js +4 -4
- package/lib/DropBox/docs/DropBox__custom.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__position.docs.js +2 -2
- package/lib/DropBox/docs/DropBox__size.docs.js +2 -2
- package/lib/DropDown/DropDown.js +2 -2
- package/lib/DropDown/DropDownHeading.js +2 -2
- package/lib/DropDown/DropDownItem.js +2 -2
- package/lib/DropDown/DropDownSearch.js +2 -2
- package/lib/DropDown/DropDownSeparator.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +2 -2
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +2 -2
- package/lib/Label/Label.js +2 -2
- package/lib/Label/docs/Label__clipped.docs.js +2 -2
- package/lib/Label/docs/Label__custom.docs.js +2 -2
- package/lib/Label/docs/Label__palette.docs.js +2 -2
- package/lib/Label/docs/Label__size.docs.js +2 -2
- package/lib/Label/docs/Label__type.docs.js +2 -2
- package/lib/Layout/docs/Layout__Hidden.docs.js +2 -2
- package/lib/Layout/docs/Layout__default.docs.js +2 -2
- package/lib/Layout/docs/Layout__four_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__three_Column.docs.js +2 -2
- package/lib/Layout/docs/Layout__two_Column.docs.js +2 -2
- package/lib/LightNightMode/Colors.json +496 -397
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +25 -3
- package/lib/ListItem/ListContainer.js +8 -5
- package/lib/ListItem/ListItem.js +4 -4
- package/lib/ListItem/ListItem.module.css +18 -19
- package/lib/ListItem/ListItemWithAvatar.js +4 -4
- package/lib/ListItem/ListItemWithCheckBox.js +4 -4
- package/lib/ListItem/ListItemWithIcon.js +4 -4
- package/lib/ListItem/ListItemWithRadio.js +4 -4
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__custom.docs.js +2 -2
- package/lib/ListItem/docs/ListItem__default.docs.js +2 -2
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +2 -2
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +120 -88
- package/lib/MultiSelect/AdvancedMultiSelect.js +99 -62
- package/lib/MultiSelect/EmptyState.js +2 -2
- package/lib/MultiSelect/MultiSelect.js +90 -64
- package/lib/MultiSelect/MultiSelect.module.css +15 -2
- package/lib/MultiSelect/MultiSelectHeader.js +2 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +80 -55
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +3 -3
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +2 -2
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +2 -2
- package/lib/PopOver/PopOver.js +13 -6
- package/lib/PopOver/docs/PopOver__default.docs.js +2 -2
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +2 -2
- package/lib/Provider/Config.js +3 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +2 -2
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +2 -2
- package/lib/Provider.js +34 -100
- package/lib/Radio/Radio.js +2 -2
- package/lib/Radio/Radio.module.css +8 -6
- package/lib/Radio/docs/Radio__custom.docs.js +2 -2
- package/lib/Radio/docs/Radio__default.docs.js +2 -2
- package/lib/Responsive/ResizeComponent.js +2 -2
- package/lib/Responsive/Responsive.js +2 -2
- package/lib/Responsive/docs/Responsive__Custom.docs.js +2 -2
- package/lib/Responsive/docs/Responsive__default.docs.js +2 -2
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +130 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/Ribbon/Ribbon.js +2 -2
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +2 -2
- package/lib/Ribbon/docs/Ribbon__default.docs.js +2 -2
- package/lib/RippleEffect/RippleEffect.module.css +37 -15
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +2 -2
- package/lib/Select/GroupSelect.js +102 -79
- package/lib/Select/Select.js +142 -87
- package/lib/Select/Select.module.css +6 -0
- package/lib/Select/SelectWithAvatar.js +98 -73
- package/lib/Select/SelectWithIcon.js +99 -76
- package/lib/Select/docs/GroupSelect__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +2 -2
- package/lib/Select/docs/SelectWithIcon__default.docs.js +2 -2
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +2 -2
- package/lib/Stencils/docs/Stencils__custom.docs.js +2 -2
- package/lib/Stencils/docs/Stencils__default.docs.js +2 -2
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/Switch.module.css +3 -2
- package/lib/Switch/docs/Switch__custom.docs.js +2 -2
- package/lib/Switch/docs/Switch__default.docs.js +2 -2
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +70 -47
- package/lib/Tab/Tabs.module.css +2 -1
- package/lib/Tab/docs/Tab__default.docs.js +2 -2
- package/lib/Tag/Tag.js +3 -3
- package/lib/Tag/Tag.module.css +6 -2
- package/lib/Tag/docs/Tag__custom.docs.js +2 -2
- package/lib/Tag/docs/Tag__default.docs.js +2 -2
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__default.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__size.docs.js +2 -2
- package/lib/TextBox/docs/TextBox__variant.docs.js +2 -2
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +2 -2
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +2 -2
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__custom.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__default.docs.js +2 -2
- package/lib/Textarea/docs/Textarea__disabled.docs.js +2 -2
- package/lib/Tooltip/Tooltip.js +62 -10
- package/lib/Tooltip/Tooltip.module.css +6 -1
- package/lib/Tooltip/__tests__/Tooltip.spec.js +2 -2
- package/lib/Tooltip/docs/Tooltip__default.docs.js +52 -13
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +2 -2
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +2 -2
- package/lib/common/docStyle.module.css +6 -2
- package/lib/css.js +0 -2
- package/lib/{MultiSelect → deprecated}/AdvancedMultiSelect.module.css +1 -1
- package/lib/deprecated/PortalLayer/PortalLayer.js +2 -2
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +2 -2
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/lib/index.js +10 -1
- package/lib/semantic/Button/Button.js +2 -2
- package/lib/semantic/Button/docs/Button__default.docs.js +2 -2
- package/package.json +3 -3
- package/es/MultiSelect/AdvancedMultiSelect.module.css +0 -113
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/es/Avatar/Avatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -17,19 +17,17 @@
|
|
|
17
17
|
composes: dInflex alignVertical alignHorizontal from '../common/common.module.css';
|
|
18
18
|
vertical-align: middle;
|
|
19
19
|
font-size: var(--avatar_font_size);
|
|
20
|
+
color: var(--avatar_text_color);
|
|
20
21
|
border-width: var(--avatar_border_width);
|
|
21
22
|
border-style: var(--avatar_border_style);
|
|
22
|
-
color: var(--avatar_text_color);
|
|
23
23
|
}
|
|
24
24
|
.border {
|
|
25
25
|
border-color: var(--avatar_border_color);
|
|
26
26
|
}
|
|
27
|
-
.borderOnHover:hover,
|
|
28
|
-
.borderOnActive {
|
|
27
|
+
.borderOnHover:hover, .borderOnActive {
|
|
29
28
|
border-color: var(--avatar_border_hoverColor);
|
|
30
29
|
}
|
|
31
|
-
.avatar,
|
|
32
|
-
.primary {
|
|
30
|
+
.avatar, .primary {
|
|
33
31
|
background-color: var(--avatar_bg_color);
|
|
34
32
|
}
|
|
35
33
|
.shadow {
|
|
@@ -37,27 +35,31 @@
|
|
|
37
35
|
height: 100%;
|
|
38
36
|
width: 100%;
|
|
39
37
|
top: 0;
|
|
40
|
-
left: 0;
|
|
41
38
|
pointer-events: none;
|
|
42
39
|
border-radius: var(--avatar_border_radius);
|
|
43
40
|
}
|
|
41
|
+
[dir=ltr] .shadow {
|
|
42
|
+
left: 0;
|
|
43
|
+
}
|
|
44
|
+
[dir=rtl] .shadow {
|
|
45
|
+
right: 0;
|
|
46
|
+
}
|
|
44
47
|
.shadow.black {
|
|
45
48
|
box-shadow: inset 0px 0px 5px var(--avatar_boxshadow);
|
|
46
49
|
}
|
|
47
50
|
.shadow.white {
|
|
48
51
|
box-shadow: inset 0px 0px 11px var(--avatar_boxshadow);
|
|
49
52
|
}
|
|
50
|
-
.avatar,
|
|
51
|
-
.circle {
|
|
53
|
+
.avatar, .circle {
|
|
52
54
|
border-radius: var(--avatar_border_radius);
|
|
53
55
|
}
|
|
54
56
|
.border {
|
|
55
57
|
--avatar_border_width: 1px;
|
|
56
58
|
}
|
|
57
59
|
.image {
|
|
58
|
-
border-radius: var(--avatar_border_radius);
|
|
59
60
|
width: 100%;
|
|
60
61
|
height: 100%;
|
|
62
|
+
border-radius: var(--avatar_border_radius);
|
|
61
63
|
}
|
|
62
64
|
.square_small {
|
|
63
65
|
--avatar_border_radius: 4px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -20,17 +20,23 @@
|
|
|
20
20
|
.team {
|
|
21
21
|
composes: varClass;
|
|
22
22
|
composes: posab from '../common/common.module.css';
|
|
23
|
-
transform: translate(-50%, -50%);
|
|
24
|
-
left: 50%;
|
|
25
23
|
top: var(--avatarteam_top_top);
|
|
24
|
+
width: var(--avatarteam_width);
|
|
25
|
+
height: var(--avatarteam_height);
|
|
26
26
|
border-width: var(--avatarteam_border_width);
|
|
27
27
|
border-style: var(--avatarteam_border_style);
|
|
28
28
|
border-color: var(--avatarteam_border_color);
|
|
29
29
|
background-color: var(--avatarteam_bg_color);
|
|
30
|
-
width: var(--avatarteam_width);
|
|
31
|
-
height: var(--avatarteam_height);
|
|
32
30
|
border-radius: var(--avatarteam_border_radius);
|
|
33
31
|
}
|
|
32
|
+
[dir=ltr] .team {
|
|
33
|
+
transform: translate(-50%, -50%);
|
|
34
|
+
left: 50%;
|
|
35
|
+
}
|
|
36
|
+
[dir=rtl] .team {
|
|
37
|
+
transform: translate(50%, -50%);
|
|
38
|
+
right: 50%;
|
|
39
|
+
}
|
|
34
40
|
.nofill {
|
|
35
41
|
--avatarteam_border_color: var(--zdt_avatarteam_nofill_border);
|
|
36
42
|
}
|
|
@@ -55,16 +61,24 @@
|
|
|
55
61
|
.team:before {
|
|
56
62
|
position: absolute;
|
|
57
63
|
content: '';
|
|
64
|
+
height: inherit;
|
|
65
|
+
width: inherit;
|
|
66
|
+
top: var(--avatarteam_bottom_top);
|
|
67
|
+
}
|
|
68
|
+
.team:after, .team:before {
|
|
58
69
|
border: inherit;
|
|
59
70
|
background-color: inherit;
|
|
60
71
|
border-radius: inherit;
|
|
61
|
-
height: inherit;
|
|
62
|
-
width: inherit;
|
|
63
72
|
box-shadow: inherit;
|
|
64
|
-
|
|
73
|
+
}
|
|
74
|
+
[dir=ltr] .team:after, [dir=ltr] .team:before {
|
|
65
75
|
left: var(--avatarteam_bottom_left);
|
|
66
76
|
right: var(--avatarteam_bottom_right);
|
|
67
77
|
}
|
|
78
|
+
[dir=rtl] .team:after, [dir=rtl] .team:before {
|
|
79
|
+
right: var(--avatarteam_bottom_left);
|
|
80
|
+
left: var(--avatarteam_bottom_right);
|
|
81
|
+
}
|
|
68
82
|
.smallteam,
|
|
69
83
|
.xsmallteam {
|
|
70
84
|
--avatarteam_height: var(--zd_size3);
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
.default {
|
|
28
28
|
composes: varClass;
|
|
29
29
|
transition: all var(--zd_transition2) ease 0s;
|
|
30
|
-
border: 0;
|
|
31
30
|
letter-spacing: var(--button_letter_spacing);
|
|
32
|
-
cursor: var(--button_cursor);
|
|
33
31
|
opacity: var(--button_opacity);
|
|
32
|
+
border: 0;
|
|
33
|
+
cursor: var(--button_cursor);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.default:disabled {
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
color: var(--button_text_color);
|
|
48
48
|
font-family: var(--button_font_family);
|
|
49
49
|
text-transform: var(--button_text_transform);
|
|
50
|
+
min-width: var(--button_min_width);
|
|
51
|
+
height: var(--button_height);
|
|
50
52
|
background-color: var(--button_bg_color);
|
|
51
53
|
border-radius: var(--button_border_radius);
|
|
52
|
-
min-width: var(--button_min_width);
|
|
53
54
|
border-width: var(--button_border_width);
|
|
54
55
|
border-style: var(--button_border_style);
|
|
55
56
|
border-color: var(--button_border_color);
|
|
56
57
|
padding: var(--button_padding);
|
|
57
|
-
height: var(--button_height);
|
|
58
58
|
box-shadow: var(--button_box_shadow);
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -90,17 +90,17 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.mediumBtn {
|
|
93
|
-
text-align: center;
|
|
94
93
|
--button_height: var(--zd_size42);
|
|
95
94
|
--button_min_width: var(--zd_size42);
|
|
96
95
|
--button_font_size: var(--zd_font_size10);
|
|
96
|
+
text-align: center;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.smallBtn {
|
|
100
|
-
text-align: center;
|
|
101
100
|
--button_height: var(--zd_size22);
|
|
102
101
|
--button_min_width: var(--zd_size22);
|
|
103
102
|
--button_font_size: var(--zd_font_size13);
|
|
103
|
+
text-align: center;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
.smallBtnprimary,
|
|
@@ -230,40 +230,70 @@
|
|
|
230
230
|
.overlay {
|
|
231
231
|
position: absolute;
|
|
232
232
|
top: 0;
|
|
233
|
-
left: 0;
|
|
234
|
-
right: 0;
|
|
235
233
|
bottom: 0;
|
|
236
234
|
background: inherit;
|
|
237
235
|
border-radius: inherit;
|
|
238
236
|
}
|
|
239
237
|
|
|
238
|
+
[dir=ltr] .overlay {
|
|
239
|
+
left: 0;
|
|
240
|
+
right: 0;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
[dir=rtl] .overlay {
|
|
244
|
+
right: 0;
|
|
245
|
+
left: 0;
|
|
246
|
+
}
|
|
247
|
+
|
|
240
248
|
.loading {
|
|
241
249
|
position: absolute;
|
|
242
|
-
left: 50%;
|
|
243
250
|
top: 50%;
|
|
251
|
+
width: var(--zd_size20);
|
|
252
|
+
height: var(--zd_size20);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
[dir=ltr] .loading {
|
|
256
|
+
left: 50%;
|
|
244
257
|
transform: translate(-50%, -50%);
|
|
245
258
|
-moz-transform: translate(-50%, -50%);
|
|
246
259
|
-webkit-transform: translate(-50%, -50%);
|
|
247
|
-
|
|
248
|
-
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
[dir=rtl] .loading {
|
|
263
|
+
right: 50%;
|
|
264
|
+
transform: translate(50%, -50%);
|
|
265
|
+
-moz-transform: translate(50%, -50%);
|
|
266
|
+
-webkit-transform: translate(50%, -50%);
|
|
249
267
|
}
|
|
250
268
|
|
|
251
269
|
.loadingelement {
|
|
252
|
-
animation: crlrotate var(--zd_no_transition8) linear infinite;
|
|
253
|
-
-moz-animation: crlrotate var(--zd_no_transition8) linear infinite;
|
|
254
|
-
-webkit-animation: crlrotate var(--zd_no_transition8) linear infinite;
|
|
255
|
-
border-radius: 50%;
|
|
256
270
|
height: inherit;
|
|
257
271
|
width: inherit;
|
|
258
272
|
position: relative;
|
|
259
273
|
display: inline-block;
|
|
274
|
+
border-radius: 50%;
|
|
260
275
|
transform-origin: 50%;
|
|
261
276
|
}
|
|
262
277
|
|
|
278
|
+
[dir=ltr] .loadingelement {
|
|
279
|
+
animation: crlrotate-ltr var(--zd_no_transition8) linear infinite;
|
|
280
|
+
-moz-animation: crlrotate-ltr var(--zd_no_transition8) linear infinite;
|
|
281
|
+
-webkit-animation: crlrotate-ltr var(--zd_no_transition8) linear infinite;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
[dir=rtl] .loadingelement {
|
|
285
|
+
animation: crlrotate-rtl var(--zd_no_transition8) linear infinite;
|
|
286
|
+
-moz-animation: crlrotate-rtl var(--zd_no_transition8) linear infinite;
|
|
287
|
+
-webkit-animation: crlrotate-rtl var(--zd_no_transition8) linear infinite;
|
|
288
|
+
}
|
|
289
|
+
|
|
263
290
|
.loadingelement:before,
|
|
264
291
|
.loadingelement:after {
|
|
265
292
|
content: '';
|
|
266
293
|
position: absolute;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.loadingelement:before, .loadingelement:after {
|
|
267
297
|
background-color: var(--button_loading_bg_color);
|
|
268
298
|
border-radius: var(--button_loading_border_radius);
|
|
269
299
|
}
|
|
@@ -277,10 +307,18 @@
|
|
|
277
307
|
.loadingelement:after {
|
|
278
308
|
top: var(--zd_size1);
|
|
279
309
|
bottom: var(--zd_size1);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
[dir=ltr] .loadingelement:after {
|
|
280
313
|
left: var(--zd_size1);
|
|
281
314
|
right: var(--zd_size1);
|
|
282
315
|
}
|
|
283
316
|
|
|
317
|
+
[dir=rtl] .loadingelement:after {
|
|
318
|
+
right: var(--zd_size1);
|
|
319
|
+
left: var(--zd_size1);
|
|
320
|
+
}
|
|
321
|
+
|
|
284
322
|
.loadingelement {
|
|
285
323
|
--button_loading_bg_color: var(--zdt_button_primaryfill_bg);
|
|
286
324
|
}
|
|
@@ -305,25 +343,33 @@
|
|
|
305
343
|
}
|
|
306
344
|
|
|
307
345
|
.loadingelement:before {
|
|
346
|
+
top: calc(var(--zd_size1) * -1);
|
|
347
|
+
bottom: calc(var(--zd_size1) * -1);
|
|
308
348
|
background: var(--zdt_button_loading_linear_gradient);
|
|
309
349
|
background-repeat: no-repeat;
|
|
310
350
|
background-size: 50% 50%;
|
|
311
|
-
|
|
312
|
-
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
[dir=ltr] .loadingelement:before {
|
|
313
354
|
left: calc(var(--zd_size1) * -1);
|
|
314
355
|
right: calc(var(--zd_size1) * -1);
|
|
315
356
|
}
|
|
316
357
|
|
|
358
|
+
[dir=rtl] .loadingelement:before {
|
|
359
|
+
right: calc(var(--zd_size1) * -1);
|
|
360
|
+
left: calc(var(--zd_size1) * -1);
|
|
361
|
+
}
|
|
362
|
+
|
|
317
363
|
.primaryelement:before {
|
|
318
364
|
--button_loading_bg_color: var(--zdt_button_primaryfill_bg);
|
|
319
|
-
transform: rotateX(180deg);
|
|
320
365
|
--zdt_button_loading_linear_gradient:var(--zdt_button_loading_primary_linear_gradient);
|
|
366
|
+
transform: rotateX(180deg);
|
|
321
367
|
}
|
|
322
368
|
|
|
323
369
|
.dangerelement:before {
|
|
324
370
|
--button_loading_bg_color: var(--zdt_button_dangerfill_bg);
|
|
325
|
-
transform: rotateX(180deg);
|
|
326
371
|
--zdt_button_loading_linear_gradient:var(--zdt_button_loading_danger_linear_gradient);
|
|
372
|
+
transform: rotateX(180deg);
|
|
327
373
|
}
|
|
328
374
|
|
|
329
375
|
.primarysuccess {
|
|
@@ -338,7 +384,7 @@
|
|
|
338
384
|
--button_success_border_color: var(--zdt_button_danger_border);
|
|
339
385
|
}
|
|
340
386
|
|
|
341
|
-
@keyframes crlrotate {
|
|
387
|
+
@keyframes crlrotate-ltr {
|
|
342
388
|
0% {
|
|
343
389
|
transform: scaleX(-1) rotate(0deg);
|
|
344
390
|
}
|
|
@@ -348,7 +394,17 @@
|
|
|
348
394
|
}
|
|
349
395
|
}
|
|
350
396
|
|
|
351
|
-
|
|
397
|
+
@keyframes crlrotate-rtl {
|
|
398
|
+
0% {
|
|
399
|
+
transform: scaleX(-1) rotate(0deg);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
100% {
|
|
403
|
+
transform: scaleX(-1) rotate(360deg);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
@-moz-keyframes crlrotate-ltr {
|
|
352
408
|
0% {
|
|
353
409
|
-moz-transform: scaleX(-1) rotate(0deg);
|
|
354
410
|
}
|
|
@@ -358,7 +414,17 @@
|
|
|
358
414
|
}
|
|
359
415
|
}
|
|
360
416
|
|
|
361
|
-
@-
|
|
417
|
+
@-moz-keyframes crlrotate-rtl {
|
|
418
|
+
0% {
|
|
419
|
+
-moz-transform: scaleX(-1) rotate(0deg);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
100% {
|
|
423
|
+
-moz-transform: scaleX(-1) rotate(360deg);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
@-webkit-keyframes crlrotate-ltr {
|
|
362
428
|
0% {
|
|
363
429
|
-webkit-transform: scaleX(-1) rotate(0deg);
|
|
364
430
|
}
|
|
@@ -368,7 +434,15 @@
|
|
|
368
434
|
}
|
|
369
435
|
}
|
|
370
436
|
|
|
371
|
-
|
|
437
|
+
@-webkit-keyframes crlrotate-rtl {
|
|
438
|
+
0% {
|
|
439
|
+
-webkit-transform: scaleX(-1) rotate(0deg);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
100% {
|
|
443
|
+
-webkit-transform: scaleX(-1) rotate(360deg);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
372
446
|
.success {
|
|
373
447
|
position: absolute;
|
|
374
448
|
top: 50%;
|
|
@@ -444,6 +518,5 @@
|
|
|
444
518
|
width: var(--zd_size6);
|
|
445
519
|
}
|
|
446
520
|
}
|
|
447
|
-
/*rtl:end:ignore*/
|
|
448
521
|
|
|
449
522
|
.loader{color:var(--dot_mirror)}
|
|
@@ -19,19 +19,32 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.footer {
|
|
22
|
-
--buttongroup_padding: var(--zd_size20) 0 var(--zd_size20) var(--zd_size60)/*rtl: var(--zd_size20) var(--zd_size60) var(--zd_size20) 0*/;
|
|
23
22
|
--buttongroup_box_shadow: 0 -4px 5px -3px var(--zdt_buttongroup_footer_box_shadow);
|
|
24
23
|
}
|
|
24
|
+
|
|
25
|
+
[dir=ltr] .footer {
|
|
26
|
+
--buttongroup_padding: var(--zd_size20) 0 var(--zd_size20) var(--zd_size60)/*rtl: var(--zd_size20) var(--zd_size60) var(--zd_size20) 0*/;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[dir=rtl] .footer {
|
|
30
|
+
--buttongroup_padding: var(--zd_size20) var(--zd_size60) var(--zd_size20) 0;
|
|
31
|
+
}
|
|
25
32
|
.header {
|
|
26
33
|
--buttongroup_padding: var(--zd_size12) var(--zd_size20);
|
|
27
34
|
--buttongroup_border_width: 0 0 1px 0;
|
|
28
35
|
}
|
|
29
|
-
.tab > div button:first-child {
|
|
36
|
+
[dir=ltr] .tab > div button:first-child {
|
|
30
37
|
border-radius: 5px 0 0 5px;
|
|
31
38
|
}
|
|
32
|
-
.tab > div button:
|
|
39
|
+
[dir=rtl] .tab > div button:first-child {
|
|
33
40
|
border-radius: 0 5px 5px 0;
|
|
34
41
|
}
|
|
42
|
+
[dir=ltr] .tab > div button:last-child {
|
|
43
|
+
border-radius: 0 5px 5px 0;
|
|
44
|
+
}
|
|
45
|
+
[dir=rtl] .tab > div button:last-child {
|
|
46
|
+
border-radius: 5px 0 0 5px;
|
|
47
|
+
}
|
|
35
48
|
|
|
36
49
|
.alignleft {
|
|
37
50
|
composes: fleft from '../common/common.module.css';
|
|
@@ -42,19 +55,35 @@
|
|
|
42
55
|
.aligncenter {
|
|
43
56
|
composes: tcenter from '../common/common.module.css';
|
|
44
57
|
}
|
|
45
|
-
.alignleft > button:first-child {
|
|
58
|
+
[dir=ltr] .alignleft > button:first-child {
|
|
46
59
|
margin-left: 0;
|
|
47
60
|
}
|
|
48
|
-
.alignleft > button {
|
|
61
|
+
[dir=rtl] .alignleft > button:first-child {
|
|
62
|
+
margin-right: 0;
|
|
63
|
+
}
|
|
64
|
+
[dir=ltr] .alignleft > button {
|
|
49
65
|
margin-left: var(--zd_size15);
|
|
50
66
|
}
|
|
67
|
+
[dir=rtl] .alignleft > button {
|
|
68
|
+
margin-right: var(--zd_size15);
|
|
69
|
+
}
|
|
51
70
|
|
|
52
|
-
.alignright > button:last-child {
|
|
71
|
+
[dir=ltr] .alignright > button:last-child {
|
|
53
72
|
margin-right: 0;
|
|
54
73
|
}
|
|
55
|
-
|
|
74
|
+
|
|
75
|
+
[dir=rtl] .alignright > button:last-child {
|
|
76
|
+
margin-left: 0;
|
|
77
|
+
}
|
|
78
|
+
[dir=ltr] .alignright > button {
|
|
56
79
|
margin-right: var(--zd_size15);
|
|
57
80
|
}
|
|
58
|
-
.
|
|
81
|
+
[dir=rtl] .alignright > button {
|
|
82
|
+
margin-left: var(--zd_size15);
|
|
83
|
+
}
|
|
84
|
+
[dir=ltr] .aligncenter > button {
|
|
59
85
|
margin-right: var(--zd_size15);
|
|
60
86
|
}
|
|
87
|
+
[dir=rtl] .aligncenter > button {
|
|
88
|
+
margin-left: var(--zd_size15);
|
|
89
|
+
}
|
package/es/CheckBox/CheckBox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
composes: varClass;
|
|
14
14
|
stroke: var(--checkbox_stroke_color);
|
|
15
15
|
}
|
|
16
|
-
.container,
|
|
17
|
-
.pointer,
|
|
18
|
-
.readonly {
|
|
16
|
+
.container, .pointer, .readonly {
|
|
19
17
|
cursor: var(--checkbox_cursor);
|
|
20
18
|
}
|
|
21
19
|
.pointer {
|
|
@@ -56,51 +54,64 @@
|
|
|
56
54
|
font-size: 0;
|
|
57
55
|
display: block;
|
|
58
56
|
}
|
|
59
|
-
/*rtl:begin:ignore*/
|
|
60
57
|
.tick {
|
|
61
58
|
position: absolute;
|
|
62
59
|
left: 0;
|
|
63
60
|
}
|
|
64
|
-
/*rtl:end:ignore*/
|
|
65
61
|
.mediumtick {
|
|
66
62
|
top: calc(var(--zd_size2) * -1);
|
|
67
63
|
height: var(--zd_size20);
|
|
68
64
|
width: var(--zd_size20);
|
|
69
65
|
}
|
|
70
|
-
/*rtl:begin:ignore*/
|
|
71
66
|
.smalltick {
|
|
72
67
|
top: calc(var(--zd_size3) * -1);
|
|
73
68
|
height: var(--zd_size18);
|
|
74
69
|
width: var(--zd_size18);
|
|
75
70
|
left: calc(var(--zd_size1) * -1);
|
|
76
71
|
}
|
|
77
|
-
/*rtl:end:ignore*/
|
|
78
72
|
|
|
79
73
|
.checkedtickPath {
|
|
80
74
|
stroke-dashoffset: 40;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[dir=ltr] .checkedtickPath {
|
|
78
|
+
animation: tickAnimate var(--zd_transition3) ease forwards;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[dir=rtl] .checkedtickPath {
|
|
81
82
|
animation: tickAnimate var(--zd_transition3) ease forwards;
|
|
82
83
|
}
|
|
83
84
|
.linePath {
|
|
84
85
|
transform-origin: center;
|
|
86
|
+
}
|
|
87
|
+
[dir=ltr] .linePath {
|
|
88
|
+
animation: lineAnimate var(--zd_transition3) ease forwards;
|
|
89
|
+
}
|
|
90
|
+
[dir=rtl] .linePath {
|
|
85
91
|
animation: lineAnimate var(--zd_transition3) ease forwards;
|
|
86
92
|
}
|
|
87
|
-
.text {
|
|
93
|
+
[dir=ltr] .text {
|
|
88
94
|
margin-left: var(--zd_size6);
|
|
89
95
|
}
|
|
96
|
+
[dir=rtl] .text {
|
|
97
|
+
margin-right: var(--zd_size6);
|
|
98
|
+
}
|
|
90
99
|
|
|
91
100
|
.checkedprimary,
|
|
92
101
|
.checkeddanger {
|
|
93
102
|
stroke: var(--checkbox_checked_stroke_color);
|
|
94
103
|
}
|
|
95
|
-
.primary:hover
|
|
96
|
-
.primary:focus
|
|
104
|
+
.primary:hover
|
|
105
|
+
/* .primary:focus */
|
|
106
|
+
{
|
|
97
107
|
--checkbox_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
98
108
|
}
|
|
99
109
|
.checkedprimary {
|
|
100
110
|
--checkbox_checked_stroke_color: var(--zdt_checkbox_primary_stroke_border);
|
|
101
111
|
}
|
|
102
|
-
.danger:hover
|
|
103
|
-
.danger:focus
|
|
112
|
+
.danger:hover
|
|
113
|
+
/* .danger:focus */
|
|
114
|
+
{
|
|
104
115
|
--checkbox_stroke_color: var(--zdt_checkbox_danger_stroke_border);
|
|
105
116
|
}
|
|
106
117
|
.checkeddanger {
|
|
@@ -111,22 +122,22 @@
|
|
|
111
122
|
.checkeddangerLabel {
|
|
112
123
|
color: var(--checkbox_checked_active_color);
|
|
113
124
|
}
|
|
114
|
-
.activeprimaryLabel:hover
|
|
115
|
-
.activeprimaryLabel:focus
|
|
125
|
+
.activeprimaryLabel:hover
|
|
126
|
+
/* .activeprimaryLabel:focus */
|
|
127
|
+
{
|
|
116
128
|
--label_text_color: var(--zdt_checkbox_label_primary_text);
|
|
117
129
|
}
|
|
118
130
|
.checkedprimaryLabel {
|
|
119
131
|
--checkbox_checked_active_color: var(--zdt_checkbox_primary_stroke_border);
|
|
120
132
|
}
|
|
121
|
-
.activedangerLabel:hover
|
|
122
|
-
.activedangerLabel:focus
|
|
133
|
+
.activedangerLabel:hover
|
|
134
|
+
/* .activedangerLabel:focus */
|
|
135
|
+
{
|
|
123
136
|
--label_text_color: var(--zdt_checkbox_label_danger_text);
|
|
124
137
|
}
|
|
125
138
|
.checkeddangerLabel {
|
|
126
139
|
--checkbox_checked_active_color: var(--zdt_checkbox_danger_stroke_border);
|
|
127
140
|
}
|
|
128
|
-
|
|
129
|
-
/*rtl:begin:ignore*/
|
|
130
141
|
@keyframes tickAnimate {
|
|
131
142
|
0% {
|
|
132
143
|
stroke-dashoffset: 40;
|
|
@@ -144,4 +155,3 @@
|
|
|
144
155
|
transform: scaleX(1);
|
|
145
156
|
}
|
|
146
157
|
}
|
|
147
|
-
/*rtl:end:ignore*/
|