@zohodesk/components 1.0.0-temp-107 → 1.0.0-test-252
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/css_error.log +0 -0
- package/es/Avatar/Avatar.js +1 -3
- package/es/Avatar/Avatar.module.css +23 -11
- 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.module.css +17 -11
- package/es/DateTime/CalendarView.js +2 -4
- package/es/DateTime/DateTime.js +1 -1
- package/es/DateTime/DateTime.module.css +44 -13
- package/es/DateTime/DateTimePopupHeader.js +9 -24
- package/es/DateTime/DateWidget.js +2 -4
- package/es/DateTime/DateWidget.module.css +9 -5
- package/es/DateTime/DaysRow.js +2 -5
- package/es/DateTime/YearView.js +4 -12
- package/es/DateTime/YearView.module.css +18 -23
- package/es/DropBox/DropBox.module.css +47 -11
- package/es/DropDown/DropDownHeading.js +1 -3
- package/es/DropDown/DropDownHeading.module.css +7 -3
- package/es/DropDown/DropDownItem.module.css +32 -6
- package/es/DropDown/props/propTypes.js +1 -2
- package/es/Label/Label.js +2 -4
- package/es/ListItem/ListContainer.js +2 -4
- package/es/ListItem/ListItem.js +1 -2
- package/es/ListItem/ListItem.module.css +57 -25
- package/es/MultiSelect/MultiSelect.js +2 -4
- package/es/MultiSelect/MultiSelect.module.css +28 -11
- package/es/MultiSelect/SelectedOptions.module.css +8 -2
- package/es/MultiSelect/Suggestions.js +1 -2
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Radio/Radio.module.css +10 -4
- package/es/Ribbon/Ribbon.module.css +93 -28
- package/es/RippleEffect/RippleEffect.module.css +9 -27
- package/es/Select/Select.js +4 -7
- package/es/Select/Select.module.css +12 -2
- package/es/Select/SelectWithIcon.js +1 -2
- package/es/Stencils/Stencils.module.css +21 -3
- package/es/Switch/Switch.module.css +6 -7
- package/es/Tab/Tab.js +1 -2
- package/es/Tab/Tab.module.css +16 -7
- package/es/Tab/Tabs.js +3 -7
- package/es/Tab/Tabs.module.css +42 -8
- package/es/Tag/Tag.module.css +36 -14
- package/es/TextBox/TextBox.module.css +7 -11
- package/es/TextBoxIcon/TextBoxIcon.module.css +12 -5
- package/es/Textarea/Textarea.module.css +6 -7
- package/es/Tooltip/Tooltip.module.css +9 -8
- package/es/common/animation.module.css +219 -21
- package/es/common/basicReset.module.css +2 -12
- package/es/common/common.module.css +64 -18
- package/es/common/customscroll.module.css +17 -21
- package/es/common/transition.module.css +50 -10
- package/es/deprecated/AdvancedMultiSelect.module.css +22 -8
- package/es/index.js +107 -106
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/lib/Accordion/Accordion.js +102 -0
- package/lib/Accordion/AccordionItem.js +84 -0
- package/lib/Accordion/__tests__/Accordion.spec.js +82 -0
- package/lib/Accordion/index.js +20 -0
- package/lib/Accordion/props/defaultProps.js +16 -0
- package/lib/Accordion/props/propTypes.js +39 -0
- package/lib/Animation/Animation.js +161 -0
- package/lib/Animation/__tests__/Animation.spec.js +19 -0
- package/lib/Animation/props/defaultProps.js +14 -0
- package/lib/Animation/props/propTypes.js +20 -0
- package/lib/AppContainer/AppContainer.js +156 -0
- package/lib/AppContainer/AppContainer.module.css +18 -0
- package/lib/AppContainer/props/defaultProps.js +15 -0
- package/lib/AppContainer/props/propTypes.js +23 -0
- package/lib/Avatar/Avatar.js +199 -0
- package/lib/Avatar/Avatar.module.css +135 -0
- package/lib/Avatar/__tests__/Avatar.spec.js +164 -0
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -0
- package/lib/Avatar/props/defaultProps.js +21 -0
- package/lib/Avatar/props/propTypes.js +31 -0
- package/lib/AvatarTeam/AvatarTeam.js +99 -0
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -0
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +79 -0
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -0
- package/lib/AvatarTeam/props/defaultProps.js +20 -0
- package/lib/AvatarTeam/props/propTypes.js +31 -0
- package/lib/Button/Button.js +90 -0
- package/lib/Button/Button.module.css +522 -0
- package/lib/Button/__tests__/Button.spec.js +193 -0
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -0
- package/lib/Button/props/defaultProps.js +22 -0
- package/lib/Button/props/propTypes.js +30 -0
- package/lib/Buttongroup/Buttongroup.js +70 -0
- package/lib/Buttongroup/Buttongroup.module.css +89 -0
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +76 -0
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -0
- package/lib/Buttongroup/props/defaultProps.js +11 -0
- package/lib/Buttongroup/props/propTypes.js +15 -0
- package/lib/Card/Card.js +301 -0
- package/lib/Card/Card.module.css +20 -0
- package/lib/Card/__tests__/Card.spec.js +47 -0
- package/lib/Card/index.js +33 -0
- package/lib/Card/props/defaultProps.js +23 -0
- package/lib/Card/props/propTypes.js +54 -0
- package/lib/CheckBox/CheckBox.js +183 -0
- package/lib/CheckBox/CheckBox.module.css +157 -0
- package/lib/CheckBox/__tests__/CheckBox.spec.js +15 -0
- package/lib/CheckBox/props/defaultProps.js +25 -0
- package/lib/CheckBox/props/propTypes.js +49 -0
- package/lib/DateTime/CalendarView.js +228 -0
- package/lib/DateTime/DateTime.js +779 -0
- package/lib/DateTime/DateTime.module.css +233 -0
- package/lib/DateTime/DateTimePopupFooter.js +65 -0
- package/lib/DateTime/DateTimePopupHeader.js +117 -0
- package/lib/DateTime/DateWidget.js +1015 -0
- package/lib/DateTime/DateWidget.module.css +38 -0
- package/lib/DateTime/DaysRow.js +52 -0
- package/lib/DateTime/Time.js +205 -0
- package/lib/DateTime/YearView.js +267 -0
- package/lib/DateTime/YearView.module.css +81 -0
- package/lib/DateTime/__tests__/CalendarView.spec.js +37 -0
- package/lib/DateTime/__tests__/DateTime.spec.js +113 -0
- package/lib/DateTime/__tests__/DateWidget.spec.js +79 -0
- package/lib/DateTime/common.js +30 -0
- package/lib/DateTime/constants.js +76 -0
- package/lib/DateTime/dateFormatUtils/dateFormat.js +551 -0
- package/lib/DateTime/dateFormatUtils/dayChange.js +74 -0
- package/lib/DateTime/dateFormatUtils/index.js +225 -0
- package/lib/DateTime/dateFormatUtils/monthChange.js +84 -0
- package/lib/DateTime/dateFormatUtils/timeChange.js +208 -0
- package/lib/DateTime/dateFormatUtils/yearChange.js +108 -0
- package/lib/DateTime/index.js +13 -0
- package/lib/DateTime/objectUtils.js +72 -0
- package/lib/DateTime/props/defaultProps.js +61 -0
- package/lib/DateTime/props/propTypes.js +144 -0
- package/lib/DateTime/typeChecker.js +22 -0
- package/lib/DateTime/validator.js +290 -0
- package/lib/DropBox/DropBox.js +266 -0
- package/lib/DropBox/DropBox.module.css +406 -0
- package/lib/DropBox/DropBoxPositionMapping.json +145 -0
- package/lib/DropBox/__tests__/DropBox.spec.js +83 -0
- package/lib/DropBox/props/defaultProps.js +27 -0
- package/lib/DropBox/props/propTypes.js +55 -0
- package/lib/DropDown/DropDown.js +128 -0
- package/lib/DropDown/DropDown.module.css +5 -0
- package/lib/DropDown/DropDownHeading.js +64 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -0
- package/lib/DropDown/DropDownItem.js +102 -0
- package/lib/DropDown/DropDownItem.module.css +94 -0
- package/lib/DropDown/DropDownSearch.js +89 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -0
- package/lib/DropDown/DropDownSeparator.js +42 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -0
- package/lib/DropDown/__tests__/DropDown.spec.js +44 -0
- package/lib/DropDown/__tests__/DropDownItem.spec.js +46 -0
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +14 -0
- package/lib/DropDown/props/defaultProps.js +28 -0
- package/lib/DropDown/props/propTypes.js +89 -0
- package/lib/Heading/Heading.js +64 -0
- package/lib/Heading/Heading.module.css +5 -0
- package/lib/Heading/props/defaultProps.js +12 -0
- package/lib/Heading/props/propTypes.js +19 -0
- package/lib/Label/Label.js +65 -0
- package/lib/Label/Label.module.css +52 -0
- package/lib/Label/LabelColors.module.css +21 -0
- package/lib/Label/__tests__/Label.spec.js +124 -0
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -0
- package/lib/Label/props/defaultProps.js +17 -0
- package/lib/Label/props/propTypes.js +22 -0
- package/lib/Layout/Box.js +104 -0
- package/lib/Layout/Container.js +122 -0
- package/lib/Layout/Layout.module.css +336 -0
- package/lib/Layout/__tests__/Box.spec.js +105 -0
- package/lib/Layout/__tests__/Container.spec.js +110 -0
- package/lib/Layout/index.js +30 -0
- package/lib/Layout/props/defaultProps.js +20 -0
- package/lib/Layout/props/propTypes.js +51 -0
- package/lib/Layout/utils.js +45 -0
- package/lib/ListItem/ListContainer.js +93 -0
- package/lib/ListItem/ListItem.js +153 -0
- package/lib/ListItem/ListItem.module.css +209 -0
- package/lib/ListItem/ListItemWithAvatar.js +175 -0
- package/lib/ListItem/ListItemWithCheckBox.js +141 -0
- package/lib/ListItem/ListItemWithIcon.js +158 -0
- package/lib/ListItem/ListItemWithRadio.js +143 -0
- package/lib/ListItem/props/defaultProps.js +97 -0
- package/lib/ListItem/props/propTypes.js +176 -0
- package/lib/Modal/Modal.js +174 -0
- package/lib/Modal/props/defaultProps.js +10 -0
- package/lib/Modal/props/propTypes.js +14 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1032 -0
- package/lib/MultiSelect/AdvancedMultiSelect.js +552 -0
- package/lib/MultiSelect/EmptyState.js +85 -0
- package/lib/MultiSelect/MultiSelect.js +1044 -0
- package/lib/MultiSelect/MultiSelect.module.css +206 -0
- package/lib/MultiSelect/MultiSelectHeader.js +55 -0
- package/lib/MultiSelect/MultiSelectWithAvatar.js +304 -0
- package/lib/MultiSelect/SelectedOptions.js +98 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -0
- package/lib/MultiSelect/Suggestions.js +158 -0
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +159 -0
- package/lib/MultiSelect/props/defaultProps.js +158 -0
- package/lib/MultiSelect/props/propTypes.js +377 -0
- package/lib/PopOver/PopOver.js +252 -0
- package/lib/PopOver/PopOver.module.css +8 -0
- package/lib/PopOver/__tests__/PopOver.spec.js +17 -0
- package/lib/PopOver/props/defaultProps.js +15 -0
- package/lib/PopOver/props/propTypes.js +63 -0
- package/lib/Popup/Popup.js +640 -0
- package/lib/Popup/PositionMapping.json +74 -0
- package/lib/Popup/__tests__/Popup.spec.js +155 -0
- package/lib/Popup/viewPort.js +354 -0
- package/lib/Provider/AvatarSize.js +19 -0
- package/lib/Provider/Config.js +25 -0
- package/lib/Provider/CssProvider.js +23 -0
- package/lib/Provider/IdProvider.js +68 -0
- package/lib/Provider/LibraryContext.js +54 -0
- package/lib/Provider/LibraryContextInit.js +11 -0
- package/lib/Provider/NumberGenerator/NumberGenerator.js +145 -0
- package/lib/Provider/ZindexProvider.js +57 -0
- package/lib/Radio/Radio.js +146 -0
- package/lib/Radio/Radio.module.css +112 -0
- package/lib/Radio/__tests__/Radiospec.js +25 -0
- package/lib/Radio/props/defaultProps.js +21 -0
- package/lib/Radio/props/propTypes.js +40 -0
- package/lib/Responsive/CustomResponsive.js +192 -0
- package/lib/Responsive/RefWrapper.js +47 -0
- package/lib/Responsive/ResizeComponent.js +237 -0
- package/lib/Responsive/ResizeObserver.js +151 -0
- package/lib/Responsive/Responsive.js +222 -0
- package/lib/Responsive/index.js +28 -0
- package/lib/Responsive/props/defaultProps.js +23 -0
- package/lib/Responsive/props/propTypes.js +36 -0
- package/lib/Responsive/sizeObservers.js +176 -0
- package/lib/Responsive/utils/index.js +62 -0
- package/lib/Responsive/utils/shallowCompare.js +29 -0
- package/lib/Responsive/windowResizeObserver.js +55 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.js +94 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -0
- package/lib/ResponsiveDropBox/props/defaultProps.js +11 -0
- package/lib/ResponsiveDropBox/props/propTypes.js +15 -0
- package/lib/Ribbon/Ribbon.js +71 -0
- package/lib/Ribbon/Ribbon.module.css +377 -0
- package/lib/Ribbon/__tests__/Ribbon.spec.js +171 -0
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -0
- package/lib/Ribbon/props/defaultProps.js +15 -0
- package/lib/Ribbon/props/propTypes.js +18 -0
- package/lib/RippleEffect/RippleEffect.js +35 -0
- package/lib/RippleEffect/RippleEffect.module.css +92 -0
- package/lib/RippleEffect/props/defaultProps.js +16 -0
- package/lib/RippleEffect/props/propTypes.js +19 -0
- package/lib/Select/GroupSelect.js +771 -0
- package/lib/Select/Select.js +910 -0
- package/lib/Select/Select.module.css +109 -0
- package/lib/Select/SelectWithAvatar.js +340 -0
- package/lib/Select/SelectWithIcon.js +530 -0
- package/lib/Select/__tests__/Select.spec.js +341 -0
- package/lib/Select/props/defaultProps.js +112 -0
- package/lib/Select/props/propTypes.js +280 -0
- package/lib/Stencils/Stencils.js +57 -0
- package/lib/Stencils/Stencils.module.css +96 -0
- package/lib/Stencils/__tests__/Stencils.spec.js +72 -0
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -0
- package/lib/Stencils/props/defaultProps.js +13 -0
- package/lib/Stencils/props/propTypes.js +15 -0
- package/lib/Switch/Switch.js +123 -0
- package/lib/Switch/Switch.module.css +111 -0
- package/lib/Switch/props/defaultProps.js +17 -0
- package/lib/Switch/props/propTypes.js +35 -0
- package/lib/Tab/Tab.js +116 -0
- package/lib/Tab/Tab.module.css +101 -0
- package/lib/Tab/TabContent.js +33 -0
- package/lib/Tab/TabContent.module.css +4 -0
- package/lib/Tab/TabContentWrapper.js +33 -0
- package/lib/Tab/TabWrapper.js +69 -0
- package/lib/Tab/Tabs.js +581 -0
- package/lib/Tab/Tabs.module.css +141 -0
- package/lib/Tab/__tests__/Tab.spec.js +119 -0
- package/lib/Tab/__tests__/TabContent.spec.js +18 -0
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +51 -0
- package/lib/Tab/__tests__/TabWrapper.spec.js +88 -0
- package/lib/Tab/__tests__/Tabs.spec.js +109 -0
- package/lib/Tab/index.js +41 -0
- package/lib/Tab/props/defaultProps.js +50 -0
- package/lib/Tab/props/propTypes.js +114 -0
- package/lib/Tag/Tag.js +177 -0
- package/lib/Tag/Tag.module.css +255 -0
- package/lib/Tag/__tests__/Tag.spec.js +29 -0
- package/lib/Tag/props/defaultProps.js +20 -0
- package/lib/Tag/props/propTypes.js +42 -0
- package/lib/TextBox/TextBox.js +193 -0
- package/lib/TextBox/TextBox.module.css +157 -0
- package/lib/TextBox/__tests__/TextBox.spec.js +195 -0
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -0
- package/lib/TextBox/props/defaultProps.js +26 -0
- package/lib/TextBox/props/propTypes.js +57 -0
- package/lib/TextBoxIcon/TextBoxIcon.js +188 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -0
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +219 -0
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -0
- package/lib/TextBoxIcon/props/defaultProps.js +28 -0
- package/lib/TextBoxIcon/props/propTypes.js +57 -0
- package/lib/Textarea/Textarea.js +130 -0
- package/lib/Textarea/Textarea.module.css +139 -0
- package/lib/Textarea/__tests__/Textarea.spec.js +174 -0
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -0
- package/lib/Textarea/props/defaultProps.js +23 -0
- package/lib/Textarea/props/propTypes.js +39 -0
- package/lib/Tooltip/Tooltip.js +519 -0
- package/lib/Tooltip/Tooltip.module.css +109 -0
- package/lib/Tooltip/__tests__/Tooltip.spec.js +75 -0
- package/lib/Tooltip/props/defaultProps.js +11 -0
- package/lib/Tooltip/props/propTypes.js +16 -0
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +100 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/defaultProps.js +14 -0
- package/lib/VelocityAnimation/VelocityAnimation/props/propTypes.js +20 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +131 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/defaultProps.js +22 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/props/propTypes.js +27 -0
- package/lib/common/animation.module.css +624 -0
- package/lib/common/avatarsizes.module.css +45 -0
- package/lib/common/basic.module.css +33 -0
- package/lib/common/basicReset.module.css +40 -0
- package/lib/common/common.module.css +525 -0
- package/lib/common/customscroll.module.css +89 -0
- package/lib/common/reset.module.css +12 -0
- package/lib/common/transition.module.css +146 -0
- package/lib/css.js +42 -0
- package/lib/deprecated/AdvancedMultiSelect.module.css +127 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +126 -0
- package/lib/deprecated/PortalLayer/props/defaultProps.js +12 -0
- package/lib/deprecated/PortalLayer/props/propTypes.js +19 -0
- package/lib/deprecated/advancedMultiSelectVariableJson.js +82 -0
- package/lib/index.js +404 -0
- package/lib/semantic/Button/Button.js +81 -0
- package/lib/semantic/Button/props/defaultProps.js +19 -0
- package/lib/semantic/Button/props/propTypes.js +34 -0
- package/lib/semantic/Button/semanticButton.module.css +9 -0
- package/lib/utils/Common.js +391 -0
- package/lib/utils/ContextOptimizer.js +43 -0
- package/lib/utils/__tests__/constructFullName.spec.js +11 -0
- package/lib/utils/__tests__/debounce.spec.js +39 -0
- package/lib/utils/__tests__/getInitial.spec.js +25 -0
- package/lib/utils/constant.js +10 -0
- package/lib/utils/constructFullName.js +25 -0
- package/lib/utils/datetime/common.js +206 -0
- package/lib/utils/debounce.js +25 -0
- package/lib/utils/dropDownUtils.js +491 -0
- package/lib/utils/dummyFunction.js +8 -0
- package/lib/utils/getHTMLFontSize.js +10 -0
- package/lib/utils/getInitial.js +27 -0
- package/lib/utils/scrollTo.js +20 -0
- package/lib/utils/shallowEqual.js +33 -0
- package/package.json +1 -1
- package/es/Accordion/docs/Accordion__Demo.docs.js +0 -78
- package/es/Animation/docs/Animation__default.docs.js +0 -32
- package/es/Animation/docs/Animation__fadeIn.docs.js +0 -32
- package/es/Animation/docs/Animation__scaleIn.docs.js +0 -32
- package/es/Animation/docs/Animation__skewIn.docs.js +0 -32
- package/es/Animation/docs/Animation__slideDown.docs.js +0 -32
- package/es/Animation/docs/Animation__slideLeft.docs.js +0 -32
- package/es/Animation/docs/Animation__zoomIn.docs.js +0 -32
- package/es/AppContainer/docs/AppContainer__default.docs.js +0 -18
- package/es/Avatar/docs/Avatar__custom.docs.js +0 -27
- package/es/Avatar/docs/Avatar__default.docs.js +0 -27
- package/es/Avatar/docs/Avatar__palette.docs.js +0 -47
- package/es/Avatar/docs/Avatar__text.docs.js +0 -26
- package/es/AvatarTeam/docs/AvatarTeam__custom.docs.js +0 -71
- package/es/AvatarTeam/docs/AvatarTeam__default.docs.js +0 -29
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +0 -48
- package/es/AvatarTeam/docs/AvatarTeam__size.docs.js +0 -47
- package/es/Button/docs/Button__custom.docs.js +0 -769
- package/es/Button/docs/Button__default.docs.js +0 -534
- package/es/Buttongroup/docs/Buttongroup__custom.docs.js +0 -35
- package/es/Buttongroup/docs/Buttongroup__footer.docs.js +0 -31
- package/es/Buttongroup/docs/Buttongroup__header.docs.js +0 -40
- package/es/Card/docs/Card__Custom.docs.js +0 -32
- package/es/Card/docs/Card__Default.docs.js +0 -35
- package/es/Card/docs/Card__Scroll.docs.js +0 -56
- package/es/CheckBox/docs/CheckBox__custom.docs.js +0 -289
- package/es/CheckBox/docs/CheckBox__default.docs.js +0 -215
- package/es/DateTime/docs/DateTime__default.docs.js +0 -88
- package/es/DateTime/docs/DateWidget__default.docs.js +0 -178
- package/es/DateTime/docs/timezonedata.json +0 -1
- package/es/DropBox/docs/DropBox__custom.docs.js +0 -64
- package/es/DropBox/docs/DropBox__customOrder.docs.js +0 -85
- package/es/DropBox/docs/DropBox__fixedPosition.docs.js +0 -84
- package/es/DropBox/docs/DropBox__position.docs.js +0 -85
- package/es/DropBox/docs/DropBox__size.docs.js +0 -59
- package/es/DropDown/docs/DropDownHeading__custom.docs.js +0 -21
- package/es/DropDown/docs/DropDownHeading__default.docs.js +0 -19
- package/es/FramerAnimation/FramerAnimation.js +0 -206
- package/es/FramerAnimation/docs/FramerAnimation__default.docs.js +0 -123
- package/es/Heading/docs/Heading__default.docs.js +0 -19
- package/es/Label/docs/Label__clipped.docs.js +0 -25
- package/es/Label/docs/Label__custom.docs.js +0 -28
- package/es/Label/docs/Label__palette.docs.js +0 -40
- package/es/Label/docs/Label__size.docs.js +0 -27
- package/es/Label/docs/Label__type.docs.js +0 -35
- package/es/Layout/docs/Layout__Hidden.docs.js +0 -76
- package/es/Layout/docs/Layout__default.docs.js +0 -48
- package/es/Layout/docs/Layout__four_Column.docs.js +0 -78
- package/es/Layout/docs/Layout__three_Column.docs.js +0 -75
- package/es/Layout/docs/Layout__two_Column.docs.js +0 -68
- package/es/LightNightMode/Colors.json +0 -497
- package/es/LightNightMode/docs/AlternativeColors.docs.js +0 -92
- package/es/ListItem/docs/ListItemWithAvatar__custom.docs.js +0 -153
- package/es/ListItem/docs/ListItemWithAvatar__default.docs.js +0 -110
- package/es/ListItem/docs/ListItemWithCheckBox__custom.docs.js +0 -89
- package/es/ListItem/docs/ListItemWithCheckBox__default.docs.js +0 -63
- package/es/ListItem/docs/ListItemWithIcon__custom.docs.js +0 -66
- package/es/ListItem/docs/ListItemWithIcon__default.docs.js +0 -60
- package/es/ListItem/docs/ListItemWithRadio__custom.docs.js +0 -89
- package/es/ListItem/docs/ListItemWithRadio__default.docs.js +0 -63
- package/es/ListItem/docs/ListItem__custom.docs.js +0 -112
- package/es/ListItem/docs/ListItem__default.docs.js +0 -80
- package/es/Modal/__docs__/Modal__default.docs.js +0 -42
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +0 -118
- package/es/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +0 -108
- package/es/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +0 -137
- package/es/MultiSelect/docs/MultiSelect__default.docs.js +0 -156
- package/es/PopOver/docs/PopOver__default.docs.js +0 -30
- package/es/Provider/docs/Provider_Id__Class.docs.js +0 -28
- package/es/Provider/docs/Provider_Id__Function.docs.js +0 -17
- package/es/Provider/docs/Provider_Zindex__Class.docs.js +0 -31
- package/es/Provider/docs/Provider_Zindex__Function.docs.js +0 -22
- package/es/Provider.js +0 -91
- package/es/Radio/docs/Radio__custom.docs.js +0 -241
- package/es/Radio/docs/Radio__default.docs.js +0 -165
- package/es/Responsive/docs/Responsive__Custom.docs.js +0 -214
- package/es/Responsive/docs/Responsive__default.docs.js +0 -95
- package/es/Responsive/docs/style.module.css +0 -47
- package/es/Ribbon/docs/Ribbon__custom.docs.js +0 -385
- package/es/Ribbon/docs/Ribbon__default.docs.js +0 -341
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +0 -433
- package/es/Select/docs/GroupSelect__default.docs.js +0 -144
- package/es/Select/docs/SelectWithAvatar__default.docs.js +0 -93
- package/es/Select/docs/SelectWithIcon__default.docs.js +0 -134
- package/es/Select/docs/Select__default.docs.js +0 -283
- package/es/Stencils/docs/Stencils__custom.docs.js +0 -43
- package/es/Stencils/docs/Stencils__default.docs.js +0 -48
- package/es/Switch/docs/Switch__custom.docs.js +0 -151
- package/es/Switch/docs/Switch__default.docs.js +0 -105
- package/es/Tab/docs/Tab__default.docs.js +0 -253
- package/es/Tab/docs/tabdocs.module.css +0 -29
- package/es/Tag/docs/Tag__custom.docs.js +0 -366
- package/es/Tag/docs/Tag__default.docs.js +0 -321
- package/es/TextBox/docs/TextBox__custom.docs.js +0 -41
- package/es/TextBox/docs/TextBox__default.docs.js +0 -38
- package/es/TextBox/docs/TextBox__size.docs.js +0 -36
- package/es/TextBox/docs/TextBox__variant.docs.js +0 -36
- package/es/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +0 -87
- package/es/TextBoxIcon/docs/TextBoxIcon__default.docs.js +0 -59
- package/es/Textarea/docs/Textarea__animated.docs.js +0 -39
- package/es/Textarea/docs/Textarea__custom.docs.js +0 -80
- package/es/Textarea/docs/Textarea__default.docs.js +0 -74
- package/es/Textarea/docs/Textarea__disabled.docs.js +0 -27
- package/es/Tooltip/docs/Tooltip__default.docs.js +0 -367
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +0 -92
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +0 -139
- package/es/common/docStyle.module.css +0 -719
- package/es/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +0 -65
- package/es/semantic/Button/docs/Button__default.docs.js +0 -17
|
@@ -2,25 +2,30 @@
|
|
|
2
2
|
font-family: var(--zd_semibold);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.boxPadding {
|
|
5
|
+
[dir=ltr] .boxPadding {
|
|
6
6
|
padding-right: var(--zd_size19);
|
|
7
7
|
padding-left: var(--zd_size19);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
[dir=rtl] .boxPadding {
|
|
11
|
+
padding-left: var(--zd_size19);
|
|
12
|
+
padding-right: var(--zd_size19);
|
|
13
|
+
}
|
|
14
|
+
|
|
10
15
|
.container {
|
|
11
|
-
border-radius: 3px;
|
|
12
|
-
background-color: var(--zdt_datetime_default_bg);
|
|
13
16
|
font-size: var(--zd_font_size16);
|
|
14
17
|
composes: offSelection from '../common/common.module.css';
|
|
18
|
+
border-radius: 3px;
|
|
19
|
+
background-color: var(--zdt_datetime_default_bg);
|
|
15
20
|
}
|
|
16
21
|
|
|
17
22
|
.header {
|
|
18
23
|
min-height: var(--zd_size36);
|
|
24
|
+
composes: boxPadding;
|
|
19
25
|
text-align: center;
|
|
20
26
|
background-color: var(--zdt_datetime_header_bg);
|
|
21
27
|
border-radius: 0 0 2px 2px;
|
|
22
28
|
border-bottom: 1px solid var(--zdt_datetime_header_border);
|
|
23
|
-
composes: boxPadding;
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
.datesStr {
|
|
@@ -41,25 +46,34 @@
|
|
|
41
46
|
.datesStr {
|
|
42
47
|
font-size: var(--zd_font_size13);
|
|
43
48
|
color: var(--zdt_datetime_datestr_text);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.thArrow, .datesStr {
|
|
44
52
|
cursor: pointer;
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
.thArrow:hover,
|
|
48
56
|
.datesStr:hover {
|
|
49
57
|
color: var(--zdt_datetime_datestr_text);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.thArrow:hover, .datesStr:hover {
|
|
50
61
|
background: var(--zdt_datetime_datestr_hover_bg);
|
|
51
62
|
}
|
|
52
63
|
|
|
53
|
-
.navigation {
|
|
64
|
+
[dir=ltr] .navigation {
|
|
54
65
|
margin-left: var(--zd_size2);
|
|
55
66
|
}
|
|
56
67
|
|
|
68
|
+
[dir=rtl] .navigation {
|
|
69
|
+
margin-right: var(--zd_size2);
|
|
70
|
+
}
|
|
71
|
+
|
|
57
72
|
.thMonYear {
|
|
58
73
|
font-size: var(--zd_font_size13);
|
|
59
74
|
line-height: var(--zd_size24);
|
|
60
75
|
color: var(--zdt_datetime_datestr_text);
|
|
61
76
|
composes: semibold;
|
|
62
|
-
display: initial
|
|
63
77
|
}
|
|
64
78
|
|
|
65
79
|
.dateContainer {
|
|
@@ -73,9 +87,9 @@
|
|
|
73
87
|
|
|
74
88
|
.days {
|
|
75
89
|
min-height: var(--zd_size36);
|
|
76
|
-
padding-top: var(--zd_size7);
|
|
77
90
|
composes: boxPadding;
|
|
78
91
|
composes: alignBetween from '../common/common.module.css';
|
|
92
|
+
padding-top: var(--zd_size7);
|
|
79
93
|
}
|
|
80
94
|
|
|
81
95
|
.daysStr {
|
|
@@ -87,8 +101,8 @@
|
|
|
87
101
|
|
|
88
102
|
.dateRow {
|
|
89
103
|
height: var(--zd_size28);
|
|
90
|
-
margin: var(--zd_size1) 0 var(--zd_size5);
|
|
91
104
|
composes: alignBetween from '../common/common.module.css';
|
|
105
|
+
margin: var(--zd_size1) 0 var(--zd_size5);
|
|
92
106
|
}
|
|
93
107
|
|
|
94
108
|
.dateRow:last-child {
|
|
@@ -113,8 +127,11 @@
|
|
|
113
127
|
.active:hover,
|
|
114
128
|
.active.today,
|
|
115
129
|
.active:hover.today:hover {
|
|
116
|
-
background-color: var(--zdt_datetime_selected_bg);
|
|
117
130
|
color: var(--zdt_datetime_today_text);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.active, .active:hover, .active.today, .active:hover.today:hover {
|
|
134
|
+
background-color: var(--zdt_datetime_selected_bg);
|
|
118
135
|
border-radius: 50%;
|
|
119
136
|
}
|
|
120
137
|
|
|
@@ -140,8 +157,8 @@
|
|
|
140
157
|
.dropDown {
|
|
141
158
|
width: var(--zd_size60);
|
|
142
159
|
display: inline-block;
|
|
143
|
-
margin: 0 var(--zd_size4);
|
|
144
160
|
position: relative;
|
|
161
|
+
margin: 0 var(--zd_size4);
|
|
145
162
|
}
|
|
146
163
|
|
|
147
164
|
.footer {
|
|
@@ -160,10 +177,17 @@
|
|
|
160
177
|
}
|
|
161
178
|
|
|
162
179
|
.downArrow {
|
|
163
|
-
margin-left: var(--zd_size2);
|
|
164
180
|
color: var(--zdt_datetime_daystr_text);
|
|
165
181
|
}
|
|
166
182
|
|
|
183
|
+
[dir=ltr] .downArrow {
|
|
184
|
+
margin-left: var(--zd_size2);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
[dir=rtl] .downArrow {
|
|
188
|
+
margin-right: var(--zd_size2);
|
|
189
|
+
}
|
|
190
|
+
|
|
167
191
|
.dateText {
|
|
168
192
|
cursor: pointer;
|
|
169
193
|
}
|
|
@@ -177,19 +201,26 @@
|
|
|
177
201
|
font-size: var(--zd_font_size11);
|
|
178
202
|
text-transform: uppercase;
|
|
179
203
|
color: var(--zdt_datetime_text);
|
|
180
|
-
margin-top: var(--zd_size14);
|
|
181
204
|
composes: semibold;
|
|
182
205
|
display: block;
|
|
206
|
+
margin-top: var(--zd_size14);
|
|
183
207
|
}
|
|
184
208
|
|
|
185
209
|
.yearContainer {
|
|
186
210
|
position: absolute;
|
|
187
211
|
top: 0;
|
|
188
|
-
left: 0;
|
|
189
212
|
width: 100%;
|
|
190
213
|
height: 100%;
|
|
191
214
|
}
|
|
192
215
|
|
|
216
|
+
[dir=ltr] .yearContainer {
|
|
217
|
+
left: 0;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
[dir=rtl] .yearContainer {
|
|
221
|
+
right: 0;
|
|
222
|
+
}
|
|
223
|
+
|
|
193
224
|
.subContainer {
|
|
194
225
|
position: relative;
|
|
195
226
|
}
|
|
@@ -6,7 +6,6 @@ import React, { PureComponent } from 'react';
|
|
|
6
6
|
/** ** Components *** */
|
|
7
7
|
import { Container, Box } from '../Layout';
|
|
8
8
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
9
|
-
import Heading from '../Heading/Heading';
|
|
10
9
|
|
|
11
10
|
/** ** CSS *** */
|
|
12
11
|
import style from './DateTime.module.css';
|
|
@@ -27,16 +26,13 @@ class Span extends React.PureComponent {
|
|
|
27
26
|
dataTitle,
|
|
28
27
|
children,
|
|
29
28
|
dataId,
|
|
30
|
-
className = ''
|
|
31
|
-
ariaLabel
|
|
29
|
+
className = ''
|
|
32
30
|
} = this.props;
|
|
33
31
|
return /*#__PURE__*/React.createElement(Box, {
|
|
34
32
|
"data-title": dataTitle,
|
|
35
33
|
dataId: dataId,
|
|
36
34
|
className: `${style.thArrow} ${style.grid} ${className}`,
|
|
37
|
-
onClick: this.modifyCalendarChild
|
|
38
|
-
"aria-label": ariaLabel,
|
|
39
|
-
tabindex: "0"
|
|
35
|
+
onClick: this.modifyCalendarChild
|
|
40
36
|
}, children);
|
|
41
37
|
}
|
|
42
38
|
}
|
|
@@ -48,9 +44,7 @@ export default class DateTimePopupHeader extends PureComponent {
|
|
|
48
44
|
isYearView,
|
|
49
45
|
prevMonthTitleText,
|
|
50
46
|
nextMonthTitleText,
|
|
51
|
-
onModifyCalendar
|
|
52
|
-
a11y,
|
|
53
|
-
ariaLabel
|
|
47
|
+
onModifyCalendar
|
|
54
48
|
} = this.props;
|
|
55
49
|
return /*#__PURE__*/React.createElement(Container, {
|
|
56
50
|
alignBox: "row",
|
|
@@ -60,26 +54,19 @@ export default class DateTimePopupHeader extends PureComponent {
|
|
|
60
54
|
className: style.dateText,
|
|
61
55
|
dataId: "selectYear",
|
|
62
56
|
onClick: onOpenYearView
|
|
63
|
-
}, /*#__PURE__*/React.createElement(
|
|
64
|
-
className: style.thMonYear
|
|
65
|
-
|
|
66
|
-
tagName: "h2",
|
|
67
|
-
a11y: {
|
|
68
|
-
tabindex: '0'
|
|
69
|
-
}
|
|
70
|
-
}), /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Icon, {
|
|
57
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
58
|
+
className: style.thMonYear
|
|
59
|
+
}, showMonthTxt), /*#__PURE__*/React.createElement(Icon, {
|
|
71
60
|
name: "ZD-GN-dropdown",
|
|
72
61
|
size: "12",
|
|
73
62
|
iconClass: style.downArrow
|
|
74
|
-
}))
|
|
63
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
75
64
|
flexible: true
|
|
76
65
|
}), !isYearView ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Span, {
|
|
77
66
|
dataTitle: prevMonthTitleText,
|
|
78
67
|
dataId: "prevMonth",
|
|
79
68
|
modifyCalendar: onModifyCalendar,
|
|
80
|
-
type: "previousMonth"
|
|
81
|
-
ariaLabel: "prevMonth",
|
|
82
|
-
tabindex: "0"
|
|
69
|
+
type: "previousMonth"
|
|
83
70
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
84
71
|
name: "ZD-arrowLeft3",
|
|
85
72
|
isBold: true
|
|
@@ -88,9 +75,7 @@ export default class DateTimePopupHeader extends PureComponent {
|
|
|
88
75
|
dataId: "nextMonth",
|
|
89
76
|
modifyCalendar: onModifyCalendar,
|
|
90
77
|
type: "nextMonth",
|
|
91
|
-
className: style.navigation
|
|
92
|
-
ariaLabel: "nextMonth",
|
|
93
|
-
tabindex: "0"
|
|
78
|
+
className: style.navigation
|
|
94
79
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
95
80
|
name: "ZD-arrowRight3",
|
|
96
81
|
isBold: true
|
|
@@ -919,8 +919,7 @@ class DateWidgetComponent extends React.Component {
|
|
|
919
919
|
positionsOffset,
|
|
920
920
|
targetOffset,
|
|
921
921
|
isRestrictScroll,
|
|
922
|
-
dropBoxPortalId
|
|
923
|
-
a11y
|
|
922
|
+
dropBoxPortalId
|
|
924
923
|
} = this.props;
|
|
925
924
|
const {
|
|
926
925
|
selected: value = '',
|
|
@@ -970,8 +969,7 @@ class DateWidgetComponent extends React.Component {
|
|
|
970
969
|
},
|
|
971
970
|
iconOnHover: iconOnHover,
|
|
972
971
|
isFocus: isPopupReady,
|
|
973
|
-
autoComplete: false
|
|
974
|
-
a11y: a11y
|
|
972
|
+
autoComplete: false
|
|
975
973
|
}, /*#__PURE__*/React.createElement(Container, {
|
|
976
974
|
align: "both",
|
|
977
975
|
onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
position: relative;
|
|
4
4
|
composes: offSelection from '../common/common.module.css';
|
|
5
5
|
}
|
|
6
|
-
.readOnly,
|
|
7
|
-
.readOnly > input,
|
|
8
|
-
.disabled {
|
|
6
|
+
.readOnly, .readOnly > input, .disabled {
|
|
9
7
|
cursor: not-allowed;
|
|
10
8
|
}
|
|
11
9
|
.enabled {
|
|
@@ -17,10 +15,16 @@
|
|
|
17
15
|
.inputLine {
|
|
18
16
|
position: absolute;
|
|
19
17
|
bottom: 0;
|
|
18
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
19
|
+
border-bottom: 1px solid var(--zdt_datewidget_input_border);
|
|
20
|
+
}
|
|
21
|
+
[dir=ltr] .inputLine {
|
|
20
22
|
left: 0;
|
|
21
23
|
right: 0;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
}
|
|
25
|
+
[dir=rtl] .inputLine {
|
|
26
|
+
right: 0;
|
|
27
|
+
left: 0;
|
|
24
28
|
}
|
|
25
29
|
.enabled:hover .inputLine {
|
|
26
30
|
border-bottom-color: var(--zdt_datewidget_enabled_border);
|
package/es/DateTime/DaysRow.js
CHANGED
|
@@ -11,9 +11,7 @@ export default class DaysRow extends PureComponent {
|
|
|
11
11
|
render() {
|
|
12
12
|
const {
|
|
13
13
|
dayNames,
|
|
14
|
-
dayNamesShort
|
|
15
|
-
a11y,
|
|
16
|
-
ariaLabel
|
|
14
|
+
dayNamesShort
|
|
17
15
|
} = this.props;
|
|
18
16
|
return /*#__PURE__*/React.createElement(Container, {
|
|
19
17
|
alignBox: "row",
|
|
@@ -22,8 +20,7 @@ export default class DaysRow extends PureComponent {
|
|
|
22
20
|
}, dayNames.map((dayName, index) => /*#__PURE__*/React.createElement(Box, {
|
|
23
21
|
key: dayName,
|
|
24
22
|
className: `${style.daysStr} ${style.grid} ${index === 0 ? style.sunday : ''}`,
|
|
25
|
-
"data-title": dayName
|
|
26
|
-
"aria-label": dayName
|
|
23
|
+
"data-title": dayName
|
|
27
24
|
}, dayNamesShort[index])));
|
|
28
25
|
}
|
|
29
26
|
}
|
package/es/DateTime/YearView.js
CHANGED
|
@@ -7,7 +7,6 @@ import { YearView_defaultProps } from './props/defaultProps';
|
|
|
7
7
|
import { Virtualizer } from '@zohodesk/virtualizer';
|
|
8
8
|
import { Container, Box } from '../Layout';
|
|
9
9
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
10
|
-
import Heading from '../Heading/Heading';
|
|
11
10
|
/**** CSS ****/
|
|
12
11
|
import style from './YearView.module.css';
|
|
13
12
|
|
|
@@ -51,15 +50,9 @@ class Year extends React.PureComponent {
|
|
|
51
50
|
alignBox: "row",
|
|
52
51
|
align: "vertical"
|
|
53
52
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
54
|
-
flexible: true
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
title: year,
|
|
58
|
-
a11y: {
|
|
59
|
-
tabindex: '0'
|
|
60
|
-
},
|
|
61
|
-
tagName: "h4"
|
|
62
|
-
})), /*#__PURE__*/React.createElement(Icon, {
|
|
53
|
+
flexible: true,
|
|
54
|
+
className: style.yearText
|
|
55
|
+
}, year), /*#__PURE__*/React.createElement(Icon, {
|
|
63
56
|
name: "ZD-arrowDownSingle",
|
|
64
57
|
size: "7",
|
|
65
58
|
isBold: true,
|
|
@@ -92,8 +85,7 @@ class Month extends React.PureComponent {
|
|
|
92
85
|
dataId: `month_${month}`,
|
|
93
86
|
className: `${style.month} ${isActive ? style.currentMonth : ''}`,
|
|
94
87
|
onClick: this.handleClick,
|
|
95
|
-
"data-title": hoverText
|
|
96
|
-
"aria-label": month
|
|
88
|
+
"data-title": hoverText
|
|
97
89
|
}, displayText);
|
|
98
90
|
}
|
|
99
91
|
}
|
|
@@ -1,70 +1,67 @@
|
|
|
1
|
-
.boxPadding {
|
|
1
|
+
[dir=ltr] .boxPadding {
|
|
2
2
|
padding-right: var(--zd_size19);
|
|
3
3
|
padding-left: var(--zd_size19);
|
|
4
|
+
}[dir=rtl] .boxPadding {
|
|
5
|
+
padding-left: var(--zd_size19);
|
|
6
|
+
padding-right: var(--zd_size19);
|
|
4
7
|
}
|
|
5
|
-
|
|
6
8
|
.month {
|
|
7
9
|
width: 30.333%;
|
|
10
|
+
font-size: var(--zd_font_size12);
|
|
11
|
+
line-height: var(--zd_size26);
|
|
12
|
+
height: var(--zd_size26);
|
|
13
|
+
color: var(--zdt_yearview_month_text);
|
|
8
14
|
text-align: center;
|
|
9
15
|
margin: 0 0 var(--zd_size1);
|
|
10
16
|
cursor: pointer;
|
|
11
17
|
background-color: var(--zdt_yearview_month_bg);
|
|
12
18
|
border-radius: 20px;
|
|
13
|
-
font-size: var(--zd_font_size12);
|
|
14
|
-
line-height: var(--zd_size26);
|
|
15
|
-
height: var(--zd_size26);
|
|
16
|
-
color: var(--zdt_yearview_month_text);
|
|
17
19
|
}
|
|
18
|
-
|
|
19
20
|
.month:hover {
|
|
20
21
|
background-color: var(--zdt_yearview_month_hover_bg);
|
|
21
22
|
}
|
|
22
|
-
|
|
23
23
|
.currentMonth,
|
|
24
24
|
.currentMonth:hover {
|
|
25
|
-
background-color: var(--zdt_yearview_currentmonth_bg);
|
|
26
25
|
color: var(--zdt_yearview_currentmonth_text);
|
|
27
26
|
}
|
|
28
|
-
|
|
27
|
+
.currentMonth, .currentMonth:hover {
|
|
28
|
+
background-color: var(--zdt_yearview_currentmonth_bg);
|
|
29
|
+
}
|
|
29
30
|
.yearBox {
|
|
30
31
|
border-bottom: 1px dotted var(--zdt_yearview_yearbox_border);
|
|
31
32
|
}
|
|
32
|
-
|
|
33
33
|
.year {
|
|
34
34
|
padding: var(--zd_size7) 0;
|
|
35
35
|
cursor: pointer;
|
|
36
36
|
}
|
|
37
|
-
|
|
38
37
|
.year:hover .yearText,
|
|
39
38
|
.year:hover .arrow {
|
|
40
39
|
color: var(--zdt_yearview_year_hover_text);
|
|
41
40
|
}
|
|
42
|
-
|
|
43
41
|
.yearText {
|
|
44
42
|
color: var(--zdt_yearview_yeartext_text);
|
|
45
43
|
font-size: var(--zd_font_size11);
|
|
46
44
|
}
|
|
47
|
-
|
|
48
45
|
.arrow {
|
|
49
46
|
color: var(--zdt_yearview_yeartext_text);
|
|
50
47
|
transition: transform var(--zd_transition1);
|
|
51
48
|
}
|
|
52
|
-
|
|
53
49
|
.isActive {
|
|
54
50
|
cursor: default;
|
|
55
51
|
}
|
|
56
|
-
|
|
57
52
|
.isActive .yearText {
|
|
58
53
|
font-family: var(--zd_semibold);
|
|
59
54
|
color: var(--zdt_yearview_year_hover_text);
|
|
60
|
-
font-size: var(--zd_font_size11);
|
|
61
55
|
}
|
|
62
|
-
|
|
63
56
|
.arrowActive {
|
|
64
|
-
transform: rotate(180deg);
|
|
65
57
|
color: var(--zdt_yearview_year_hover_text);
|
|
66
58
|
}
|
|
67
|
-
|
|
59
|
+
[dir=ltr] .arrowActive {
|
|
60
|
+
transform: rotate(180deg);
|
|
61
|
+
}
|
|
62
|
+
[dir=rtl] .arrowActive {
|
|
63
|
+
transform: rotate(-180deg);
|
|
64
|
+
}
|
|
68
65
|
.container {
|
|
69
66
|
height: 100%;
|
|
70
67
|
overflow-y: auto;
|
|
@@ -72,15 +69,13 @@
|
|
|
72
69
|
composes: boxPadding;
|
|
73
70
|
background-color: var(--zdt_yearview_default_bg);
|
|
74
71
|
}
|
|
75
|
-
|
|
76
72
|
.yearContainer {
|
|
77
73
|
height: var(--zd_size135);
|
|
78
74
|
overflow: hidden;
|
|
79
75
|
transition: height var(--zd_transition1);
|
|
80
76
|
padding-bottom: var(--zd_size5);
|
|
81
77
|
}
|
|
82
|
-
|
|
83
78
|
.toggleYear {
|
|
84
79
|
height: 0;
|
|
85
80
|
padding: 0;
|
|
86
|
-
}
|
|
81
|
+
}
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
padding: var(--dropbox_padding);
|
|
29
29
|
box-shadow: var(--dropbox_box_shadow);
|
|
30
30
|
}
|
|
31
|
-
.defaultPalette,
|
|
32
|
-
.darkPalette {
|
|
31
|
+
.defaultPalette, .darkPalette {
|
|
33
32
|
background-color: var(--dropbox_bg_color);
|
|
34
33
|
}
|
|
35
34
|
.radius {
|
|
@@ -84,11 +83,13 @@
|
|
|
84
83
|
.bottom_shadow {
|
|
85
84
|
--dropbox_box_shadow: 0 3px 30px var(--zdt_dropbox_default_box_shadow);
|
|
86
85
|
}
|
|
87
|
-
.defaultShadow {
|
|
86
|
+
[dir=ltr] .defaultShadow {
|
|
88
87
|
box-shadow: 4px 3px 30px var(--zdt_dropbox_default_box_shadow);
|
|
89
88
|
}
|
|
89
|
+
[dir=rtl] .defaultShadow {
|
|
90
|
+
box-shadow: -4px 3px 30px var(--zdt_dropbox_default_box_shadow);
|
|
91
|
+
}
|
|
90
92
|
/* box direction styles */
|
|
91
|
-
/*rtl:begin:ignore*/
|
|
92
93
|
.topStart {
|
|
93
94
|
bottom: 100%;
|
|
94
95
|
right: 0;
|
|
@@ -272,7 +273,6 @@
|
|
|
272
273
|
bottom: var(--zd_size28);
|
|
273
274
|
transform: rotate(-90deg) translateX(-50%);
|
|
274
275
|
}
|
|
275
|
-
/*rtl:end:ignore*/
|
|
276
276
|
.hidden {
|
|
277
277
|
visibility: hidden;
|
|
278
278
|
opacity: 0;
|
|
@@ -282,7 +282,10 @@
|
|
|
282
282
|
.hidden .subContainer {
|
|
283
283
|
box-shadow: none;
|
|
284
284
|
}
|
|
285
|
-
.animationBasic {
|
|
285
|
+
[dir=ltr] .animationBasic {
|
|
286
|
+
animation-duration: var(--zd_transition2);
|
|
287
|
+
}
|
|
288
|
+
[dir=rtl] .animationBasic {
|
|
286
289
|
animation-duration: var(--zd_transition2);
|
|
287
290
|
}
|
|
288
291
|
.fadeIn {
|
|
@@ -291,11 +294,24 @@
|
|
|
291
294
|
}
|
|
292
295
|
.bounce {
|
|
293
296
|
composes: animationBasic;
|
|
297
|
+
}
|
|
298
|
+
[dir=ltr] .bounce {
|
|
299
|
+
animation-name: animation;
|
|
300
|
+
animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
|
|
301
|
+
}
|
|
302
|
+
[dir=rtl] .bounce {
|
|
294
303
|
animation-name: animation;
|
|
295
304
|
animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1.1);
|
|
296
305
|
}
|
|
297
306
|
.slideUp {
|
|
298
307
|
composes: modeForward from '../common/animation.module.css';
|
|
308
|
+
}
|
|
309
|
+
[dir=ltr] .slideUp {
|
|
310
|
+
animation-duration: var(--zd_transition3);
|
|
311
|
+
animation-name: slideUp;
|
|
312
|
+
animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1);
|
|
313
|
+
}
|
|
314
|
+
[dir=rtl] .slideUp {
|
|
299
315
|
animation-duration: var(--zd_transition3);
|
|
300
316
|
animation-name: slideUp;
|
|
301
317
|
animation-timing-function: cubic-bezier(0.4, 1, 0.65, 1);
|
|
@@ -325,16 +341,23 @@
|
|
|
325
341
|
.responsive {
|
|
326
342
|
position: absolute;
|
|
327
343
|
bottom: 0;
|
|
328
|
-
left: 0;
|
|
329
344
|
width: 100%;
|
|
330
345
|
max-height: 90%;
|
|
331
346
|
}
|
|
332
347
|
|
|
348
|
+
[dir=ltr] .responsive {
|
|
349
|
+
left: 0;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
[dir=rtl] .responsive {
|
|
353
|
+
right: 0;
|
|
354
|
+
}
|
|
355
|
+
|
|
333
356
|
.closeBar {
|
|
334
357
|
height: 6px;
|
|
358
|
+
width: 20%;
|
|
335
359
|
border-radius: 5px;
|
|
336
360
|
background-color: var(--dropbox_mob_close_bg_color);
|
|
337
|
-
width: 20%;
|
|
338
361
|
cursor: pointer;
|
|
339
362
|
margin: 0 auto var(--zd_size10);
|
|
340
363
|
}
|
|
@@ -346,19 +369,32 @@
|
|
|
346
369
|
}
|
|
347
370
|
.activateInDelay {
|
|
348
371
|
composes: modeForward from '../common/animation.module.css';
|
|
372
|
+
pointer-events: none;
|
|
373
|
+
}
|
|
374
|
+
[dir=ltr] .activateInDelay {
|
|
375
|
+
animation-duration: var(--zd_transition1);
|
|
376
|
+
animation-delay: var(--zd_transition2);
|
|
377
|
+
animation-name: activateInDelay;
|
|
378
|
+
}
|
|
379
|
+
[dir=rtl] .activateInDelay {
|
|
349
380
|
animation-duration: var(--zd_transition1);
|
|
350
381
|
animation-delay: var(--zd_transition2);
|
|
351
|
-
pointer-events: none;
|
|
352
382
|
animation-name: activateInDelay;
|
|
353
383
|
}
|
|
354
384
|
.freezeLayer {
|
|
355
385
|
position: absolute;
|
|
356
386
|
top: 0;
|
|
357
|
-
left: 0;
|
|
358
387
|
bottom: 0;
|
|
359
|
-
right: 0;
|
|
360
388
|
composes: activateInDelay;
|
|
361
389
|
}
|
|
390
|
+
[dir=ltr] .freezeLayer {
|
|
391
|
+
left: 0;
|
|
392
|
+
right: 0;
|
|
393
|
+
}
|
|
394
|
+
[dir=rtl] .freezeLayer {
|
|
395
|
+
right: 0;
|
|
396
|
+
left: 0;
|
|
397
|
+
}
|
|
362
398
|
.freeze {
|
|
363
399
|
composes: varClass;
|
|
364
400
|
background: var(--dropbox_mob_bg_color);
|
|
@@ -15,15 +15,13 @@ export default class DropDownHeading extends React.Component {
|
|
|
15
15
|
} = this.props;
|
|
16
16
|
let {
|
|
17
17
|
role,
|
|
18
|
-
ariaLabelledby
|
|
19
|
-
ariaLabel
|
|
18
|
+
ariaLabelledby
|
|
20
19
|
} = a11y;
|
|
21
20
|
return /*#__PURE__*/React.createElement("div", {
|
|
22
21
|
className: `${style[palette]} ${customClass}`,
|
|
23
22
|
"data-title": title,
|
|
24
23
|
role: role,
|
|
25
24
|
"aria-labelledby": ariaLabelledby,
|
|
26
|
-
"aria-label": ariaLabel,
|
|
27
25
|
id: htmlId
|
|
28
26
|
// tabindex='0'
|
|
29
27
|
}, text, children);
|
|
@@ -33,11 +33,15 @@
|
|
|
33
33
|
.light {
|
|
34
34
|
composes: default;
|
|
35
35
|
}
|
|
36
|
-
.light::after,
|
|
37
|
-
.dark::after {
|
|
38
|
-
left: var(--dropdownheading_underline_left);
|
|
36
|
+
.light::after, .dark::after {
|
|
39
37
|
background-color: var(--dropdownheading_underline_bg_color);
|
|
40
38
|
}
|
|
39
|
+
[dir=ltr] .light::after, [dir=ltr] .dark::after {
|
|
40
|
+
left: var(--dropdownheading_underline_left);
|
|
41
|
+
}
|
|
42
|
+
[dir=rtl] .light::after, [dir=rtl] .dark::after {
|
|
43
|
+
right: var(--dropdownheading_underline_left);
|
|
44
|
+
}
|
|
41
45
|
|
|
42
46
|
.dark {
|
|
43
47
|
composes: default;
|
|
@@ -6,24 +6,32 @@
|
|
|
6
6
|
|
|
7
7
|
/* dropdownitem user default variables */
|
|
8
8
|
--dropdownitem-user-width: var(--zd_size42);
|
|
9
|
-
--dropdownitem-user-border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
|
|
10
9
|
--dropdownitem-user-border-style: solid;
|
|
11
10
|
--dropdownitem-user-border-color: var(--zdt_dropdown_user_default_border);
|
|
12
11
|
--dropdownitem-user-cursor: pointer;
|
|
12
|
+
}[dir=ltr] .varClass {
|
|
13
|
+
--dropdownitem-user-border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
|
|
14
|
+
}[dir=rtl] .varClass {
|
|
15
|
+
--dropdownitem-user-border-width: 0 1px 0 0;
|
|
13
16
|
}
|
|
14
17
|
.list {
|
|
15
18
|
composes: varClass;
|
|
16
19
|
composes: dflex alignVertical from '../common/common.module.css';
|
|
17
20
|
position: relative;
|
|
18
|
-
padding: var(--dropdownitem-padding);
|
|
19
21
|
color: var(--zdt_dropdown_default_text);
|
|
20
22
|
font-size: var(--zd_font_size13);
|
|
21
|
-
|
|
23
|
+
padding: var(--dropdownitem-padding);
|
|
22
24
|
border-style: solid;
|
|
23
25
|
border-color: var(--dropdownitem-border-color);
|
|
24
26
|
cursor: pointer;
|
|
25
27
|
background-color: var(--dropdownitem-bg-color);
|
|
26
28
|
}
|
|
29
|
+
[dir=ltr] .list {
|
|
30
|
+
border-width: 0 0 0 1px/*rtl: 0 1px 0 0*/;
|
|
31
|
+
}
|
|
32
|
+
[dir=rtl] .list {
|
|
33
|
+
border-width: 0 1px 0 0;
|
|
34
|
+
}
|
|
27
35
|
|
|
28
36
|
.listActive {
|
|
29
37
|
--dropdownitem-border-color: var(--zdt_dropdown_listactive_border);
|
|
@@ -33,16 +41,27 @@
|
|
|
33
41
|
--dropdownitem-bg-color: var(--zdt_dropdown_listhover_bg);
|
|
34
42
|
}
|
|
35
43
|
|
|
36
|
-
.padding {
|
|
44
|
+
[dir=ltr] .padding {
|
|
37
45
|
--dropdownitem-padding: 0 var(--zd_size50) 0 0/*rtl: 0 0 0 var(--zd_size50)*/;
|
|
38
46
|
}
|
|
39
47
|
|
|
48
|
+
[dir=rtl] .padding {
|
|
49
|
+
--dropdownitem-padding: 0 0 0 var(--zd_size50);
|
|
50
|
+
}
|
|
51
|
+
|
|
40
52
|
.children {
|
|
41
|
-
margin-right: var(--zd_size10);
|
|
42
53
|
display: inline-block;
|
|
43
54
|
font-size: 0;
|
|
44
55
|
}
|
|
45
56
|
|
|
57
|
+
[dir=ltr] .children {
|
|
58
|
+
margin-right: var(--zd_size10);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[dir=rtl] .children {
|
|
62
|
+
margin-left: var(--zd_size10);
|
|
63
|
+
}
|
|
64
|
+
|
|
46
65
|
.value {
|
|
47
66
|
composes: dotted flexgrow from '../common/common.module.css';
|
|
48
67
|
}
|
|
@@ -51,7 +70,6 @@
|
|
|
51
70
|
composes: dflex alignVertical alignHorizontal from '../common/common.module.css';
|
|
52
71
|
position: absolute;
|
|
53
72
|
top: 0;
|
|
54
|
-
right: 0;
|
|
55
73
|
bottom: 0;
|
|
56
74
|
opacity: 0;
|
|
57
75
|
visibility: hidden;
|
|
@@ -62,6 +80,14 @@
|
|
|
62
80
|
cursor: var(--dropdownitem-user-cursor);
|
|
63
81
|
}
|
|
64
82
|
|
|
83
|
+
[dir=ltr] .user {
|
|
84
|
+
right: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[dir=rtl] .user {
|
|
88
|
+
left: 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
65
91
|
.list:hover .user {
|
|
66
92
|
opacity: 1;
|
|
67
93
|
visibility: visible;
|