@zohodesk/components 1.0.0-alpha-211 → 1.0.0-alpha-215
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 +14 -0
- package/es/AppContainer/AppContainer.js +1 -0
- package/es/Appearance/dark/mode/darkMode.module.css +0 -8
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +12 -0
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +12 -0
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +12 -0
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +12 -0
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +12 -0
- package/es/Appearance/default/mode/defaultMode.module.css +0 -8
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +12 -0
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +12 -0
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +12 -0
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +12 -0
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +12 -0
- package/es/Avatar/Avatar.js +2 -1
- package/es/Avatar/Avatar.module.css +11 -9
- package/es/Avatar/__tests__/Avatar.spec.js +0 -1
- package/es/AvatarTeam/AvatarTeam.module.css +21 -7
- package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -1
- package/es/Button/Button.module.css +97 -24
- package/es/Button/__tests__/Button.spec.js +0 -1
- package/es/Buttongroup/Buttongroup.module.css +37 -8
- package/es/Buttongroup/__test__/Buttongroup.spec.js +0 -1
- package/es/CheckBox/CheckBox.module.css +17 -11
- package/es/DateTime/DateTime.js +6 -3
- package/es/DateTime/DateTime.module.css +39 -12
- package/es/DateTime/DateWidget.js +5 -2
- package/es/DateTime/DateWidget.module.css +9 -5
- package/es/DateTime/YearView.js +6 -5
- package/es/DateTime/YearView.module.css +16 -6
- package/es/DateTime/common.js +9 -2
- package/es/DateTime/dateFormatUtils/dateFormat.js +76 -57
- package/es/DateTime/dateFormatUtils/index.js +12 -7
- package/es/DateTime/dateFormatUtils/timeChange.js +4 -3
- package/es/DateTime/dateFormatUtils/yearChange.js +4 -3
- package/es/DateTime/validator.js +0 -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/Label/__tests__/Label.spec.js +0 -2
- package/es/Layout/utils.js +2 -1
- package/es/ListItem/ListItem.js +0 -2
- package/es/ListItem/ListItem.module.css +56 -24
- package/es/ListItem/ListItemWithIcon.js +0 -2
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +11 -3
- package/es/MultiSelect/AdvancedMultiSelect.js +5 -5
- package/es/MultiSelect/AdvancedMultiSelect.module.css +21 -6
- package/es/MultiSelect/MultiSelect.js +12 -6
- package/es/MultiSelect/MultiSelect.module.css +26 -8
- package/es/MultiSelect/SelectedOptions.module.css +8 -2
- package/es/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +2 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Popup/Popup.js +14 -8
- package/es/Popup/viewPort.js +14 -9
- package/es/Provider/IdProvider.js +5 -4
- package/es/Provider/LibraryContext.js +6 -5
- package/es/Provider/NumberGenerator/NumberGenerator.js +17 -15
- package/es/Provider/ZindexProvider.js +5 -4
- package/es/Provider.js +8 -2
- package/es/Radio/Radio.module.css +9 -3
- package/es/Responsive/CustomResponsive.js +11 -8
- package/es/Responsive/ResizeComponent.js +3 -1
- package/es/Responsive/Responsive.js +12 -9
- package/es/Responsive/docs/Responsive__Custom.docs.js +49 -44
- package/es/Responsive/docs/Responsive__default.docs.js +77 -74
- package/es/Responsive/docs/style.module.css +17 -8
- package/es/Responsive/sizeObservers.js +5 -1
- package/es/Ribbon/Ribbon.module.css +93 -28
- package/es/Ribbon/__tests__/Ribbon.spec.js +0 -1
- package/es/RippleEffect/RippleEffect.module.css +15 -44
- package/es/Select/GroupSelect.js +6 -7
- package/es/Select/Select.js +2 -1
- package/es/Select/Select.module.css +12 -2
- package/es/Select/docs/Select__default.docs.js +2 -1
- package/es/Stencils/Stencils.js +1 -1
- package/es/Stencils/Stencils.module.css +27 -4
- package/es/Stencils/__tests__/Stencils.spec.js +0 -1
- package/es/Switch/Switch.module.css +6 -7
- package/es/Tab/Tab.js +27 -26
- package/es/Tab/Tab.module.css +16 -7
- package/es/Tab/TabContent.js +17 -14
- package/es/Tab/TabContentWrapper.js +17 -14
- package/es/Tab/TabWrapper.js +15 -14
- package/es/Tab/Tabs.js +2 -1
- package/es/Tab/Tabs.module.css +41 -8
- package/es/Tab/docs/Tab__default.docs.js +0 -1
- package/es/Tab/docs/tabdocs.module.css +1 -1
- package/es/Tag/Tag.module.css +36 -14
- package/es/TextBox/TextBox.module.css +7 -11
- package/es/TextBox/__tests__/TextBox.spec.js +0 -1
- package/es/TextBoxIcon/TextBoxIcon.module.css +10 -5
- package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -1
- package/es/Textarea/Textarea.module.css +6 -7
- package/es/Textarea/__tests__/Textarea.spec.js +0 -1
- package/es/Tooltip/Tooltip.js +0 -1
- package/es/Tooltip/Tooltip.module.css +9 -8
- package/es/a11y/FocusScope/FocusScope.js +10 -4
- package/es/beta/FocusRing/FocusRing.js +4 -1
- package/es/beta/FocusRing/FocusRing.module.css +51 -26
- package/es/common/animation.module.css +212 -20
- 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 +78 -31
- package/es/common/transition.module.css +50 -10
- package/es/deprecated/customscroll_Old.module.css +1 -1
- package/es/semantic/Button/semanticButton.module.css +3 -3
- package/es/utils/Common.js +32 -12
- package/es/utils/datetime/common.js +6 -3
- package/es/utils/dropDownUtils.js +9 -8
- package/es/utils/getInitial.js +3 -1
- package/lib/Accordion/Accordion.js +146 -0
- package/lib/Accordion/AccordionItem.js +124 -0
- package/lib/Accordion/__tests__/Accordion.spec.js +85 -0
- package/lib/Accordion/docs/Accordion__Demo.docs.js +126 -0
- package/lib/Accordion/index.js +23 -0
- package/lib/Animation/Animation.js +207 -0
- package/lib/Animation/__tests__/Animation.spec.js +23 -0
- package/lib/Animation/docs/Animation__default.docs.js +85 -0
- package/lib/Animation/docs/Animation__fadeIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__scaleIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__skewIn.docs.js +85 -0
- package/lib/Animation/docs/Animation__slideDown.docs.js +85 -0
- package/lib/Animation/docs/Animation__slideLeft.docs.js +85 -0
- package/lib/Animation/docs/Animation__zoomIn.docs.js +85 -0
- package/lib/AppContainer/AppContainer.js +156 -0
- package/lib/AppContainer/AppContainer.module.css +18 -0
- package/lib/AppContainer/docs/AppContainer__default.docs.js +70 -0
- package/lib/Appearance/dark/mode/darkMode.module.css +395 -0
- package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
- package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +43 -0
- package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +34 -0
- package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +43 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +34 -0
- package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +43 -0
- package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +34 -0
- package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +43 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +34 -0
- package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +43 -0
- package/lib/Appearance/default/mode/defaultMode.module.css +395 -0
- package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +34 -0
- package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +43 -0
- package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +34 -0
- package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +43 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +34 -0
- package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +43 -0
- package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +34 -0
- package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +43 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +34 -0
- package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +43 -0
- package/lib/Avatar/Avatar.js +280 -0
- package/lib/Avatar/Avatar.module.css +117 -0
- package/lib/Avatar/__tests__/Avatar.spec.js +208 -0
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -0
- package/lib/Avatar/docs/Avatar__custom.docs.js +87 -0
- package/lib/Avatar/docs/Avatar__default.docs.js +83 -0
- package/lib/Avatar/docs/Avatar__palette.docs.js +107 -0
- package/lib/Avatar/docs/Avatar__text.docs.js +86 -0
- package/lib/AvatarTeam/AvatarTeam.js +157 -0
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -0
- package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +92 -0
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -0
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +124 -0
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +82 -0
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +101 -0
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +100 -0
- package/lib/Button/Button.js +159 -0
- package/lib/Button/Button.module.css +518 -0
- package/lib/Button/__tests__/Button.spec.js +233 -0
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -0
- package/lib/Button/docs/Button__custom.docs.js +826 -0
- package/lib/Button/docs/Button__default.docs.js +590 -0
- package/lib/Buttongroup/Buttongroup.js +101 -0
- package/lib/Buttongroup/Buttongroup.module.css +89 -0
- package/lib/Buttongroup/__test__/Buttongroup.spec.js +86 -0
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -0
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +89 -0
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +85 -0
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +98 -0
- package/lib/Card/Card.js +410 -0
- package/lib/Card/Card.module.css +20 -0
- package/lib/Card/__tests__/Card.spec.js +56 -0
- package/lib/Card/docs/Card__Custom.docs.js +90 -0
- package/lib/Card/docs/Card__Default.docs.js +92 -0
- package/lib/Card/docs/Card__Scroll.docs.js +114 -0
- package/lib/Card/index.js +37 -0
- package/lib/CheckBox/CheckBox.js +265 -0
- package/lib/CheckBox/CheckBox.module.css +153 -0
- package/lib/CheckBox/__tests__/CheckBox.spec.js +18 -0
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +348 -0
- package/lib/CheckBox/docs/CheckBox__default.docs.js +273 -0
- package/lib/DateTime/CalendarView.js +285 -0
- package/lib/DateTime/DateTime.js +889 -0
- package/lib/DateTime/DateTime.module.css +188 -0
- package/lib/DateTime/DateTimePopupFooter.js +90 -0
- package/lib/DateTime/DateTimePopupHeader.js +149 -0
- package/lib/DateTime/DateWidget.js +1189 -0
- package/lib/DateTime/DateWidget.module.css +46 -0
- package/lib/DateTime/DaysRow.js +76 -0
- package/lib/DateTime/Time.js +248 -0
- package/lib/DateTime/YearView.js +324 -0
- package/lib/DateTime/YearView.module.css +80 -0
- package/lib/DateTime/__tests__/CalendarView.spec.js +45 -0
- package/lib/DateTime/__tests__/DateTime.spec.js +127 -0
- package/lib/DateTime/__tests__/DateWidget.spec.js +81 -0
- package/lib/DateTime/common.js +36 -0
- package/lib/DateTime/constants.js +77 -0
- package/lib/DateTime/dateFormatUtils/dateFormat.js +613 -0
- package/lib/DateTime/dateFormatUtils/dayChange.js +81 -0
- package/lib/DateTime/dateFormatUtils/index.js +274 -0
- package/lib/DateTime/dateFormatUtils/monthChange.js +94 -0
- package/lib/DateTime/dateFormatUtils/timeChange.js +240 -0
- package/lib/DateTime/dateFormatUtils/yearChange.js +119 -0
- package/lib/DateTime/docs/DateTime__default.docs.js +142 -0
- package/lib/DateTime/docs/DateWidget__default.docs.js +240 -0
- package/lib/DateTime/docs/timezonedata.json +1 -0
- package/lib/DateTime/index.js +15 -0
- package/lib/DateTime/objectUtils.js +76 -0
- package/lib/DateTime/typeChecker.js +26 -0
- package/lib/DateTime/validator.js +353 -0
- package/lib/DropBox/DropBox.js +389 -0
- package/lib/DropBox/DropBox.module.css +406 -0
- package/lib/DropBox/DropBoxPositionMapping.json +145 -0
- package/lib/DropBox/__tests__/DropBox.spec.js +87 -0
- package/lib/DropBox/docs/DropBox__custom.docs.js +122 -0
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +141 -0
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +140 -0
- package/lib/DropBox/docs/DropBox__position.docs.js +142 -0
- package/lib/DropBox/docs/DropBox__size.docs.js +116 -0
- package/lib/DropDown/DropDown.js +203 -0
- package/lib/DropDown/DropDown.module.css +5 -0
- package/lib/DropDown/DropDownHeading.js +102 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -0
- package/lib/DropDown/DropDownItem.js +139 -0
- package/lib/DropDown/DropDownItem.module.css +94 -0
- package/lib/DropDown/DropDownSearch.js +132 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -0
- package/lib/DropDown/DropDownSeparator.js +66 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -0
- package/lib/DropDown/__tests__/DropDown.spec.js +50 -0
- package/lib/DropDown/__tests__/DropDownItem.spec.js +51 -0
- package/lib/DropDown/__tests__/DropDownSearch.spec.js +17 -0
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +73 -0
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +70 -0
- package/lib/Label/Label.js +109 -0
- package/lib/Label/Label.module.css +52 -0
- package/lib/Label/LabelColors.module.css +21 -0
- package/lib/Label/__tests__/Label.spec.js +137 -0
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -0
- package/lib/Label/docs/Label__clipped.docs.js +81 -0
- package/lib/Label/docs/Label__custom.docs.js +85 -0
- package/lib/Label/docs/Label__palette.docs.js +96 -0
- package/lib/Label/docs/Label__size.docs.js +83 -0
- package/lib/Label/docs/Label__type.docs.js +91 -0
- package/lib/Layout/Box.js +138 -0
- package/lib/Layout/Container.js +152 -0
- package/lib/Layout/Layout.module.css +324 -0
- package/lib/Layout/__tests__/Box.spec.js +121 -0
- package/lib/Layout/__tests__/Container.spec.js +127 -0
- package/lib/Layout/docs/Layout__Hidden.docs.js +127 -0
- package/lib/Layout/docs/Layout__default.docs.js +98 -0
- package/lib/Layout/docs/Layout__four_Column.docs.js +135 -0
- package/lib/Layout/docs/Layout__three_Column.docs.js +126 -0
- package/lib/Layout/docs/Layout__two_Column.docs.js +119 -0
- package/lib/Layout/index.js +34 -0
- package/lib/Layout/utils.js +55 -0
- package/lib/LightNightMode/Colors.json +398 -0
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +131 -0
- package/lib/ListItem/ListItem.js +234 -0
- package/lib/ListItem/ListItem.module.css +200 -0
- package/lib/ListItem/ListItemWithAvatar.js +236 -0
- package/lib/ListItem/ListItemWithCheckBox.js +208 -0
- package/lib/ListItem/ListItemWithIcon.js +221 -0
- package/lib/ListItem/ListItemWithRadio.js +209 -0
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +206 -0
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +162 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +142 -0
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +115 -0
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +119 -0
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +112 -0
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +142 -0
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +115 -0
- package/lib/ListItem/docs/ListItem__custom.docs.js +164 -0
- package/lib/ListItem/docs/ListItem__default.docs.js +131 -0
- package/lib/Modal/Modal.js +218 -0
- package/lib/Modal/__docs__/Modal__default.docs.js +88 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +1215 -0
- package/lib/MultiSelect/AdvancedMultiSelect.js +669 -0
- package/lib/MultiSelect/AdvancedMultiSelect.module.css +127 -0
- package/lib/MultiSelect/EmptyState.js +132 -0
- package/lib/MultiSelect/MultiSelect.js +1217 -0
- package/lib/MultiSelect/MultiSelect.module.css +198 -0
- package/lib/MultiSelect/MultiSelectHeader.js +86 -0
- package/lib/MultiSelect/MultiSelectWithAvatar.js +407 -0
- package/lib/MultiSelect/SelectedOptions.js +139 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -0
- package/lib/MultiSelect/Suggestions.js +205 -0
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +170 -0
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +177 -0
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +150 -0
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +191 -0
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +214 -0
- package/lib/PopOver/PopOver.js +366 -0
- package/lib/PopOver/PopOver.module.css +8 -0
- package/lib/PopOver/__tests__/PopOver.spec.js +20 -0
- package/lib/PopOver/docs/PopOver__default.docs.js +86 -0
- package/lib/Popup/Popup.js +716 -0
- package/lib/Popup/PositionMapping.json +74 -0
- package/lib/Popup/__tests__/Popup.spec.js +192 -0
- package/lib/Popup/viewPort.js +368 -0
- package/lib/Provider/AvatarSize.js +23 -0
- package/lib/Provider/Config.js +24 -0
- package/lib/Provider/CssProvider.js +27 -0
- package/lib/Provider/IdProvider.js +82 -0
- package/lib/Provider/LibraryContext.js +76 -0
- package/lib/Provider/LibraryContextInit.js +15 -0
- package/lib/Provider/NumberGenerator/NumberGenerator.js +174 -0
- package/lib/Provider/ZindexProvider.js +69 -0
- package/lib/Provider/docs/Provider_Id__Class.docs.js +77 -0
- package/lib/Provider/docs/Provider_Id__Function.docs.js +29 -0
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +80 -0
- package/lib/Provider/docs/Provider_Zindex__Function.docs.js +34 -0
- package/lib/Provider.js +241 -0
- package/lib/Radio/Radio.js +216 -0
- package/lib/Radio/Radio.module.css +110 -0
- package/lib/Radio/__tests__/Radiospec.js +29 -0
- package/lib/Radio/docs/Radio__custom.docs.js +299 -0
- package/lib/Radio/docs/Radio__default.docs.js +222 -0
- package/lib/Responsive/CustomResponsive.js +246 -0
- package/lib/Responsive/RefWrapper.js +55 -0
- package/lib/Responsive/ResizeComponent.js +268 -0
- package/lib/Responsive/ResizeObserver.js +168 -0
- package/lib/Responsive/Responsive.js +281 -0
- package/lib/Responsive/docs/Responsive__Custom.docs.js +272 -0
- package/lib/Responsive/docs/Responsive__default.docs.js +142 -0
- package/lib/Responsive/docs/style.module.css +56 -0
- package/lib/Responsive/index.js +30 -0
- package/lib/Responsive/sizeObservers.js +207 -0
- package/lib/Responsive/utils/index.js +70 -0
- package/lib/Responsive/utils/shallowCompare.js +38 -0
- package/lib/Responsive/windowResizeObserver.js +63 -0
- package/lib/Ribbon/Ribbon.js +115 -0
- package/lib/Ribbon/Ribbon.module.css +377 -0
- package/lib/Ribbon/__tests__/Ribbon.spec.js +193 -0
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -0
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +437 -0
- package/lib/Ribbon/docs/Ribbon__default.docs.js +392 -0
- package/lib/RippleEffect/RippleEffect.js +58 -0
- package/lib/RippleEffect/RippleEffect.module.css +67 -0
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +484 -0
- package/lib/Select/GroupSelect.js +944 -0
- package/lib/Select/Select.js +1036 -0
- package/lib/Select/Select.module.css +100 -0
- package/lib/Select/SelectWithAvatar.js +430 -0
- package/lib/Select/SelectWithIcon.js +556 -0
- package/lib/Select/__tests__/Select.spec.js +383 -0
- package/lib/Select/docs/GroupSelect__default.docs.js +199 -0
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +152 -0
- package/lib/Select/docs/SelectWithIcon__default.docs.js +190 -0
- package/lib/Select/docs/Select__default.docs.js +261 -0
- package/lib/Stencils/Stencils.js +94 -0
- package/lib/Stencils/Stencils.module.css +106 -0
- package/lib/Stencils/__tests__/Stencils.spec.js +84 -0
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -0
- package/lib/Stencils/docs/Stencils__custom.docs.js +96 -0
- package/lib/Stencils/docs/Stencils__default.docs.js +101 -0
- package/lib/Switch/Switch.js +183 -0
- package/lib/Switch/Switch.module.css +110 -0
- package/lib/Switch/docs/Switch__custom.docs.js +203 -0
- package/lib/Switch/docs/Switch__default.docs.js +156 -0
- package/lib/Tab/Tab.js +158 -0
- package/lib/Tab/Tab.module.css +101 -0
- package/lib/Tab/TabContent.js +45 -0
- package/lib/Tab/TabContent.module.css +4 -0
- package/lib/Tab/TabContentWrapper.js +47 -0
- package/lib/Tab/TabWrapper.js +109 -0
- package/lib/Tab/Tabs.js +685 -0
- package/lib/Tab/Tabs.module.css +140 -0
- package/lib/Tab/__tests__/Tab.spec.js +130 -0
- package/lib/Tab/__tests__/TabContent.spec.js +22 -0
- package/lib/Tab/__tests__/TabContentWrapper.spec.js +59 -0
- package/lib/Tab/__tests__/TabWrapper.spec.js +100 -0
- package/lib/Tab/__tests__/Tabs.spec.js +123 -0
- package/lib/Tab/docs/Tab__default.docs.js +308 -0
- package/lib/Tab/docs/tabdocs.module.css +29 -0
- package/lib/Tab/index.js +47 -0
- package/lib/Tag/Tag.js +246 -0
- package/lib/Tag/Tag.module.css +247 -0
- package/lib/Tag/__tests__/Tag.spec.js +35 -0
- package/lib/Tag/docs/Tag__custom.docs.js +423 -0
- package/lib/Tag/docs/Tag__default.docs.js +307 -0
- package/lib/TextBox/TextBox.js +287 -0
- package/lib/TextBox/TextBox.module.css +157 -0
- package/lib/TextBox/__tests__/TextBox.spec.js +205 -0
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -0
- package/lib/TextBox/docs/TextBox__custom.docs.js +98 -0
- package/lib/TextBox/docs/TextBox__default.docs.js +95 -0
- package/lib/TextBox/docs/TextBox__size.docs.js +93 -0
- package/lib/TextBox/docs/TextBox__variant.docs.js +93 -0
- package/lib/TextBoxIcon/TextBoxIcon.js +276 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +75 -0
- package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +228 -0
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +145 -0
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +117 -0
- package/lib/Textarea/Textarea.js +202 -0
- package/lib/Textarea/Textarea.module.css +139 -0
- package/lib/Textarea/__tests__/Textarea.spec.js +186 -0
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -0
- package/lib/Textarea/docs/Textarea__animated.docs.js +95 -0
- package/lib/Textarea/docs/Textarea__custom.docs.js +137 -0
- package/lib/Textarea/docs/Textarea__default.docs.js +130 -0
- package/lib/Textarea/docs/Textarea__disabled.docs.js +83 -0
- package/lib/Tooltip/Tooltip.js +538 -0
- package/lib/Tooltip/Tooltip.module.css +104 -0
- package/lib/Tooltip/__tests__/Tooltip.spec.js +98 -0
- package/lib/Tooltip/docs/Tooltip__default.docs.js +391 -0
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +144 -0
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +150 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +188 -0
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +206 -0
- package/lib/a11y/FocusScope/FocusScope.js +443 -0
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +191 -0
- package/lib/beta/FocusRing/FocusRing.js +338 -0
- package/lib/beta/FocusRing/FocusRing.module.css +152 -0
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +101 -0
- package/lib/common/animation.module.css +612 -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 +502 -0
- package/lib/common/customscroll.module.css +89 -0
- package/lib/common/docStyle.module.css +762 -0
- package/lib/common/reset.module.css +12 -0
- package/lib/common/transition.module.css +146 -0
- package/lib/css.js +83 -0
- package/lib/deprecated/PortalLayer/PortalLayer.js +165 -0
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +145 -0
- package/lib/deprecated/Theme/darkTheme.module.css +393 -0
- package/lib/deprecated/Theme/defaultTheme.module.css +393 -0
- package/lib/deprecated/Theme/palette/darkCTAPalette.module.css +116 -0
- package/lib/deprecated/Theme/palette/darkPalette.module.css +155 -0
- package/lib/deprecated/Theme/palette/defaultCTAPalette.module.css +116 -0
- package/lib/deprecated/Theme/palette/defaultPalette.module.css +155 -0
- package/lib/deprecated/customscroll_Old.module.css +46 -0
- package/lib/index.js +1412 -0
- package/lib/semantic/Button/Button.js +138 -0
- package/lib/semantic/Button/docs/Button__default.docs.js +66 -0
- package/lib/semantic/Button/semanticButton.module.css +9 -0
- package/lib/utils/Common.js +457 -0
- package/lib/utils/ContextOptimizer.js +49 -0
- package/lib/utils/__tests__/constructFullName.spec.js +12 -0
- package/lib/utils/__tests__/debounce.spec.js +40 -0
- package/lib/utils/__tests__/getInitial.spec.js +26 -0
- package/lib/utils/constant.js +10 -0
- package/lib/utils/constructFullName.js +34 -0
- package/lib/utils/datetime/common.js +233 -0
- package/lib/utils/debounce.js +30 -0
- package/lib/utils/dropDownUtils.js +556 -0
- package/lib/utils/dummyFunction.js +10 -0
- package/lib/utils/getHTMLFontSize.js +11 -0
- package/lib/utils/getInitial.js +33 -0
- package/lib/utils/scrollTo.js +22 -0
- package/package.json +4 -4
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
|
|
39
39
|
.cboth::after {
|
|
40
40
|
content: '.';
|
|
41
|
-
clear: both;
|
|
42
41
|
display: block;
|
|
43
42
|
font-size: 0;
|
|
44
43
|
height: 0;
|
|
45
44
|
line-height: 0;
|
|
46
45
|
visibility: hidden;
|
|
46
|
+
clear: both;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.blockEvent {
|
|
@@ -65,33 +65,44 @@
|
|
|
65
65
|
.disabled::after,
|
|
66
66
|
.readonly::after {
|
|
67
67
|
position: absolute;
|
|
68
|
-
left: 0;
|
|
69
68
|
top: 0;
|
|
70
|
-
right: 0;
|
|
71
69
|
bottom: 0;
|
|
72
70
|
z-index: 2;
|
|
73
71
|
content: '';
|
|
74
72
|
user-select: none;
|
|
75
73
|
}
|
|
74
|
+
[dir=ltr] .disable::after, [dir=ltr] .disabled::after, [dir=ltr] .readonly::after {
|
|
75
|
+
left: 0;
|
|
76
|
+
right: 0;
|
|
77
|
+
}
|
|
78
|
+
[dir=rtl] .disable::after, [dir=rtl] .disabled::after, [dir=rtl] .readonly::after {
|
|
79
|
+
right: 0;
|
|
80
|
+
left: 0;
|
|
81
|
+
}
|
|
76
82
|
|
|
77
|
-
.disabled,
|
|
78
|
-
.readonly {
|
|
83
|
+
.disabled, .readonly {
|
|
79
84
|
cursor: not-allowed;
|
|
80
85
|
}
|
|
81
|
-
.disabled::after,
|
|
82
|
-
.readonly::after {
|
|
86
|
+
.disabled::after, .readonly::after {
|
|
83
87
|
cursor: not-allowed;
|
|
84
88
|
}
|
|
85
89
|
|
|
86
90
|
/* --Float Props-- */
|
|
87
|
-
.fleft {
|
|
91
|
+
[dir=ltr] .fleft {
|
|
88
92
|
float: left;
|
|
89
93
|
}
|
|
94
|
+
[dir=rtl] .fleft {
|
|
95
|
+
float: right;
|
|
96
|
+
}
|
|
90
97
|
|
|
91
|
-
.fright {
|
|
98
|
+
[dir=ltr] .fright {
|
|
92
99
|
float: right;
|
|
93
100
|
}
|
|
94
101
|
|
|
102
|
+
[dir=rtl] .fright {
|
|
103
|
+
float: left;
|
|
104
|
+
}
|
|
105
|
+
|
|
95
106
|
.fnone {
|
|
96
107
|
float: none;
|
|
97
108
|
}
|
|
@@ -308,10 +319,10 @@
|
|
|
308
319
|
}
|
|
309
320
|
|
|
310
321
|
.rounded {
|
|
311
|
-
border-radius: 50%;
|
|
312
322
|
-moz-border-radius: 50%;
|
|
313
323
|
-webkit-border-radius: 50%;
|
|
314
324
|
-ms-border-radius: 50%;
|
|
325
|
+
border-radius: 50%;
|
|
315
326
|
}
|
|
316
327
|
|
|
317
328
|
.noradius {
|
|
@@ -322,14 +333,22 @@
|
|
|
322
333
|
text-align: center;
|
|
323
334
|
}
|
|
324
335
|
|
|
325
|
-
.tleft {
|
|
336
|
+
[dir=ltr] .tleft {
|
|
326
337
|
text-align: left;
|
|
327
338
|
}
|
|
328
339
|
|
|
329
|
-
.
|
|
340
|
+
[dir=rtl] .tleft {
|
|
330
341
|
text-align: right;
|
|
331
342
|
}
|
|
332
343
|
|
|
344
|
+
[dir=ltr] .tright {
|
|
345
|
+
text-align: right;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
[dir=rtl] .tright {
|
|
349
|
+
text-align: left;
|
|
350
|
+
}
|
|
351
|
+
|
|
333
352
|
.textCap {
|
|
334
353
|
text-transform: uppercase;
|
|
335
354
|
}
|
|
@@ -342,28 +361,46 @@
|
|
|
342
361
|
top: 50%;
|
|
343
362
|
}
|
|
344
363
|
|
|
345
|
-
.l50 {
|
|
364
|
+
[dir=ltr] .l50 {
|
|
346
365
|
left: 50%;
|
|
347
366
|
}
|
|
348
367
|
|
|
349
|
-
.
|
|
368
|
+
[dir=rtl] .l50 {
|
|
369
|
+
right: 50%;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
[dir=ltr] .middle {
|
|
350
373
|
transform: translate(-50%, -50%) translateZ(0);
|
|
351
374
|
-webkit-transform: translate(-50%, -50%) translateZ(0);
|
|
352
375
|
-moz-transform: translate(-50%, -50%) translateZ(0);
|
|
353
376
|
-ms-transform: translate(-50%, -50%) translateZ(0);
|
|
354
377
|
}
|
|
355
378
|
|
|
379
|
+
[dir=rtl] .middle {
|
|
380
|
+
transform: translate(50%, -50%) translateZ(0);
|
|
381
|
+
-webkit-transform: translate(50%, -50%) translateZ(0);
|
|
382
|
+
-moz-transform: translate(50%, -50%) translateZ(0);
|
|
383
|
+
-ms-transform: translate(50%, -50%) translateZ(0);
|
|
384
|
+
}
|
|
385
|
+
|
|
356
386
|
.middleBoth {
|
|
357
387
|
composes: middle;
|
|
358
388
|
top: 50%;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
[dir=ltr] .middleBoth {
|
|
359
392
|
left: 50%;
|
|
360
393
|
}
|
|
361
394
|
|
|
395
|
+
[dir=rtl] .middleBoth {
|
|
396
|
+
right: 50%;
|
|
397
|
+
}
|
|
398
|
+
|
|
362
399
|
.middleY {
|
|
363
|
-
transform: translateY(-50%);
|
|
364
400
|
-webkit-transform: translateY(-50%);
|
|
365
401
|
-moz-transform: translateY(-50%);
|
|
366
402
|
-ms-transform: translateY(-50%);
|
|
403
|
+
transform: translateY(-50%);
|
|
367
404
|
}
|
|
368
405
|
|
|
369
406
|
.yMiddle {
|
|
@@ -371,23 +408,30 @@
|
|
|
371
408
|
composes: t50;
|
|
372
409
|
}
|
|
373
410
|
|
|
374
|
-
.middleX {
|
|
411
|
+
[dir=ltr] .middleX {
|
|
375
412
|
transform: translateX(-50%);
|
|
376
413
|
-webkit-transform: translateX(-50%);
|
|
377
414
|
-moz-transform: translateX(-50%);
|
|
378
415
|
-ms-transform: translateX(-50%);
|
|
379
416
|
}
|
|
380
417
|
|
|
418
|
+
[dir=rtl] .middleX {
|
|
419
|
+
transform: translateX(50%);
|
|
420
|
+
-webkit-transform: translateX(50%);
|
|
421
|
+
-moz-transform: translateX(50%);
|
|
422
|
+
-ms-transform: translateX(50%);
|
|
423
|
+
}
|
|
424
|
+
|
|
381
425
|
.xMiddle {
|
|
382
426
|
composes: middleX;
|
|
383
427
|
composes: l50;
|
|
384
428
|
}
|
|
385
429
|
|
|
386
430
|
.transZ {
|
|
387
|
-
transform: translateZ(0);
|
|
388
431
|
-moz-transform: translateZ(0);
|
|
389
432
|
-webkit-transform: translateZ(0);
|
|
390
433
|
-ms-transform: translateZ(0);
|
|
434
|
+
transform: translateZ(0);
|
|
391
435
|
}
|
|
392
436
|
|
|
393
437
|
.vishidden {
|
|
@@ -411,9 +455,9 @@
|
|
|
411
455
|
|
|
412
456
|
.notrans {
|
|
413
457
|
transition: none;
|
|
414
|
-
-webkit-transition: none;
|
|
415
458
|
-moz-transition: none;
|
|
416
459
|
-ms-transition: none;
|
|
460
|
+
-webkit-transition: none;
|
|
417
461
|
}
|
|
418
462
|
|
|
419
463
|
.dotted {
|
|
@@ -21,12 +21,10 @@
|
|
|
21
21
|
-ms-scrollbar-highlight-color: var(--zd-scroll-bg);
|
|
22
22
|
-ms-scrollbar-face-color: var(--zd-scroll-thump);
|
|
23
23
|
}
|
|
24
|
-
.scroll::-webkit-scrollbar,
|
|
25
|
-
.scroll ::-webkit-scrollbar {
|
|
24
|
+
.scroll::-webkit-scrollbar, .scroll ::-webkit-scrollbar {
|
|
26
25
|
background: var(--zd-scroll-corner-bg);
|
|
27
26
|
}
|
|
28
|
-
.scroll::-webkit-scrollbar:hover,
|
|
29
|
-
.scroll ::-webkit-scrollbar:hover {
|
|
27
|
+
.scroll::-webkit-scrollbar:hover, .scroll ::-webkit-scrollbar:hover {
|
|
30
28
|
background: var(--zd-scroll-bg);
|
|
31
29
|
}
|
|
32
30
|
.scroll::-webkit-scrollbar:horizontal,
|
|
@@ -43,38 +41,38 @@
|
|
|
43
41
|
width: 0;
|
|
44
42
|
height: 0;
|
|
45
43
|
}
|
|
46
|
-
.scroll::-webkit-scrollbar-track:vertical,
|
|
47
|
-
.scroll ::-webkit-scrollbar-track:vertical {
|
|
44
|
+
[dir=ltr] .scroll::-webkit-scrollbar-track:vertical, [dir=ltr] .scroll ::-webkit-scrollbar-track:vertical {
|
|
48
45
|
border-left: 1px solid transparent;
|
|
49
46
|
border-right: 1px solid transparent;
|
|
50
47
|
}
|
|
51
|
-
.scroll::-webkit-scrollbar-track:vertical:
|
|
52
|
-
|
|
48
|
+
[dir=rtl] .scroll::-webkit-scrollbar-track:vertical, [dir=rtl] .scroll ::-webkit-scrollbar-track:vertical {
|
|
49
|
+
border-right: 1px solid transparent;
|
|
50
|
+
border-left: 1px solid transparent;
|
|
51
|
+
}
|
|
52
|
+
.scroll::-webkit-scrollbar-track:vertical:hover, .scroll ::-webkit-scrollbar-track:vertical:hover {
|
|
53
53
|
border-color: var(--zd-scroll-border);
|
|
54
54
|
}
|
|
55
|
-
.scroll::-webkit-scrollbar-track:horizontal,
|
|
56
|
-
.scroll ::-webkit-scrollbar-track:horizontal {
|
|
55
|
+
.scroll::-webkit-scrollbar-track:horizontal, .scroll ::-webkit-scrollbar-track:horizontal {
|
|
57
56
|
border-top: 1px solid transparent;
|
|
58
57
|
border-bottom: 1px solid transparent;
|
|
59
58
|
}
|
|
60
|
-
.scroll::-webkit-scrollbar-track:horizontal:hover,
|
|
61
|
-
.scroll ::-webkit-scrollbar-track:horizontal:hover {
|
|
59
|
+
.scroll::-webkit-scrollbar-track:horizontal:hover, .scroll ::-webkit-scrollbar-track:horizontal:hover {
|
|
62
60
|
border-color: var(--zd-scroll-border);
|
|
63
61
|
}
|
|
64
|
-
.scroll::-webkit-scrollbar-track-piece,
|
|
65
|
-
.scroll ::-webkit-scrollbar-track-piece {
|
|
62
|
+
.scroll::-webkit-scrollbar-track-piece, .scroll ::-webkit-scrollbar-track-piece {
|
|
66
63
|
background: inherit;
|
|
67
64
|
}
|
|
68
65
|
.scroll::-webkit-scrollbar-thumb,
|
|
69
66
|
.scroll ::-webkit-scrollbar-thumb {
|
|
67
|
+
/* display: none; */
|
|
68
|
+
}
|
|
69
|
+
.scroll::-webkit-scrollbar-thumb, .scroll ::-webkit-scrollbar-thumb {
|
|
70
70
|
border-radius: 10px;
|
|
71
71
|
background: var(--zd-scroll-thump);
|
|
72
72
|
background-clip: padding-box;
|
|
73
73
|
border: 3px solid transparent;
|
|
74
|
-
/* display: none; */
|
|
75
74
|
}
|
|
76
|
-
.scroll::-webkit-scrollbar-thumb:hover,
|
|
77
|
-
.scroll ::-webkit-scrollbar-thumb:hover {
|
|
75
|
+
.scroll::-webkit-scrollbar-thumb:hover, .scroll ::-webkit-scrollbar-thumb:hover {
|
|
78
76
|
background: var(--zd-scroll-thump-hoverbg);
|
|
79
77
|
background-clip: padding-box;
|
|
80
78
|
border: 3px solid transparent;
|
|
@@ -83,11 +81,9 @@
|
|
|
83
81
|
.scroll *:hover > ::-webkit-scrollbar-thumb {
|
|
84
82
|
display: block;
|
|
85
83
|
} */
|
|
86
|
-
.scroll::-webkit-scrollbar-corner,
|
|
87
|
-
.scroll ::-webkit-scrollbar-corner {
|
|
84
|
+
.scroll::-webkit-scrollbar-corner, .scroll ::-webkit-scrollbar-corner {
|
|
88
85
|
background: var(--zd-scroll-corner-bg);
|
|
89
86
|
}
|
|
90
|
-
.scroll::-webkit-resizer,
|
|
91
|
-
.scroll ::-webkit-resizer {
|
|
87
|
+
.scroll::-webkit-resizer, .scroll ::-webkit-resizer {
|
|
92
88
|
background: inherit;
|
|
93
89
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.cboth::after {
|
|
2
2
|
content: '.';
|
|
3
|
-
clear: both;
|
|
4
3
|
display: block;
|
|
5
4
|
font-size: 0;
|
|
6
5
|
height: 0;
|
|
7
6
|
line-height: 0;
|
|
8
7
|
visibility: hidden;
|
|
8
|
+
clear: both;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.m10 {
|
|
@@ -16,10 +16,14 @@
|
|
|
16
16
|
margin: 50px;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.pl10 {
|
|
19
|
+
[dir=ltr] .pl10 {
|
|
20
20
|
padding-left: 10px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
[dir=rtl] .pl10 {
|
|
24
|
+
padding-right: 10px;
|
|
25
|
+
}
|
|
26
|
+
|
|
23
27
|
.p10 {
|
|
24
28
|
padding: 10px;
|
|
25
29
|
}
|
|
@@ -61,10 +65,14 @@
|
|
|
61
65
|
margin-bottom: 20px;
|
|
62
66
|
}
|
|
63
67
|
|
|
64
|
-
.mr20 {
|
|
68
|
+
[dir=ltr] .mr20 {
|
|
65
69
|
margin-right: 20px;
|
|
66
70
|
}
|
|
67
71
|
|
|
72
|
+
[dir=rtl] .mr20 {
|
|
73
|
+
margin-left: 20px;
|
|
74
|
+
}
|
|
75
|
+
|
|
68
76
|
.w60 {
|
|
69
77
|
width: 60%;
|
|
70
78
|
}
|
|
@@ -90,22 +98,25 @@
|
|
|
90
98
|
}
|
|
91
99
|
|
|
92
100
|
.dark {
|
|
93
|
-
background-color: var(--dot_bg_black);
|
|
94
101
|
composes: p10;
|
|
102
|
+
background-color: var(--dot_bg_black);
|
|
95
103
|
}
|
|
96
104
|
|
|
97
105
|
.table {
|
|
98
|
-
border: 1px solid var(--zd_border_smoke84);
|
|
99
|
-
border-radius: 3px;
|
|
100
106
|
composes: p10;
|
|
101
107
|
composes: cboth;
|
|
108
|
+
border: 1px solid var(--zd_border_smoke84);
|
|
109
|
+
border-radius: 3px;
|
|
102
110
|
}
|
|
103
111
|
|
|
104
|
-
.table .w60,
|
|
105
|
-
.table .w40 {
|
|
112
|
+
[dir=ltr] .table .w60, [dir=ltr] .table .w40 {
|
|
106
113
|
float: left;
|
|
107
114
|
}
|
|
108
115
|
|
|
116
|
+
[dir=rtl] .table .w60, [dir=rtl] .table .w40 {
|
|
117
|
+
float: right;
|
|
118
|
+
}
|
|
119
|
+
|
|
109
120
|
.tableheading {
|
|
110
121
|
composes: blue;
|
|
111
122
|
background: var(--zd_bg_smoke1);
|
|
@@ -117,10 +128,10 @@
|
|
|
117
128
|
composes: p10;
|
|
118
129
|
composes: m10;
|
|
119
130
|
width: 200px;
|
|
120
|
-
border: 1px solid var(--zd_border_smoke83);
|
|
121
|
-
border-radius: 3px;
|
|
122
131
|
composes: tcenter;
|
|
123
132
|
font-weight: bold;
|
|
133
|
+
border: 1px solid var(--zd_border_smoke83);
|
|
134
|
+
border-radius: 3px;
|
|
124
135
|
}
|
|
125
136
|
|
|
126
137
|
.palette .palettecard {
|
|
@@ -136,10 +147,10 @@
|
|
|
136
147
|
|
|
137
148
|
.fontlist {
|
|
138
149
|
composes: tcenter;
|
|
139
|
-
border: 1px solid var(--zd_border_smoke83);
|
|
140
|
-
border-radius: 3px;
|
|
141
150
|
composes: p10;
|
|
142
151
|
composes: m10;
|
|
152
|
+
border: 1px solid var(--zd_border_smoke83);
|
|
153
|
+
border-radius: 3px;
|
|
143
154
|
}
|
|
144
155
|
|
|
145
156
|
.fontlist span {
|
|
@@ -148,9 +159,9 @@
|
|
|
148
159
|
}
|
|
149
160
|
|
|
150
161
|
.cover {
|
|
151
|
-
border: 1px solid var(--zd_border_smoke1);
|
|
152
162
|
composes: p10;
|
|
153
163
|
composes: m10;
|
|
164
|
+
border: 1px solid var(--zd_border_smoke1);
|
|
154
165
|
border-radius: 5px;
|
|
155
166
|
}
|
|
156
167
|
|
|
@@ -194,8 +205,7 @@
|
|
|
194
205
|
background-color: #e2e4e6;
|
|
195
206
|
padding: 5px;
|
|
196
207
|
}
|
|
197
|
-
.content,
|
|
198
|
-
.trow {
|
|
208
|
+
.content, .trow {
|
|
199
209
|
padding: 5px;
|
|
200
210
|
}
|
|
201
211
|
.trow {
|
|
@@ -205,14 +215,19 @@
|
|
|
205
215
|
background-color: #f6f6f6;
|
|
206
216
|
}
|
|
207
217
|
.colorvalue {
|
|
218
|
+
font-size: 13px;
|
|
219
|
+
color: #000;
|
|
208
220
|
background-color: #e2e4e6;
|
|
209
221
|
padding: 3px;
|
|
210
|
-
margin-right: 3px;
|
|
211
222
|
border-radius: 5px;
|
|
212
|
-
font-size: 13px;
|
|
213
|
-
color: #000;
|
|
214
223
|
cursor: pointer;
|
|
215
224
|
}
|
|
225
|
+
[dir=ltr] .colorvalue {
|
|
226
|
+
margin-right: 3px;
|
|
227
|
+
}
|
|
228
|
+
[dir=rtl] .colorvalue {
|
|
229
|
+
margin-left: 3px;
|
|
230
|
+
}
|
|
216
231
|
.rect {
|
|
217
232
|
width: 40px;
|
|
218
233
|
height: 40px;
|
|
@@ -228,20 +243,25 @@
|
|
|
228
243
|
flex-direction: column;
|
|
229
244
|
border: 1px dotted #ccc;
|
|
230
245
|
padding: 4px 6px;
|
|
246
|
+
}
|
|
247
|
+
[dir=ltr] .nestedDiv {
|
|
231
248
|
margin-right: 5px;
|
|
232
249
|
}
|
|
250
|
+
[dir=rtl] .nestedDiv {
|
|
251
|
+
margin-left: 5px;
|
|
252
|
+
}
|
|
233
253
|
.para {
|
|
234
254
|
font-size: 13px;
|
|
235
255
|
margin-bottom: 5px;
|
|
236
256
|
}
|
|
237
257
|
|
|
238
258
|
[data-mode='default'] {
|
|
239
|
-
background: #fff;
|
|
240
259
|
color: #000;
|
|
260
|
+
background: #fff;
|
|
241
261
|
}
|
|
242
262
|
[data-mode='dark'] {
|
|
243
|
-
background: #232B38;
|
|
244
263
|
color: #E2E4E6;
|
|
264
|
+
background: #232B38;
|
|
245
265
|
}
|
|
246
266
|
|
|
247
267
|
.baseHue {
|
|
@@ -255,8 +275,13 @@
|
|
|
255
275
|
--avatar_bg_color: hsl(var(--hue), 100%, 90%);
|
|
256
276
|
--avatar_border_color: hsl(var(--hue), 100%, 60%);
|
|
257
277
|
--avatar_text_color: hsl(var(--hue), 100%, 40%);
|
|
278
|
+
}
|
|
279
|
+
[dir=ltr] .customAvatar {
|
|
258
280
|
--avatar_border_radius: 0 12px/*rtl: 12px 0*/;
|
|
259
281
|
}
|
|
282
|
+
[dir=rtl] .customAvatar {
|
|
283
|
+
--avatar_border_radius: 12px 0;
|
|
284
|
+
}
|
|
260
285
|
.customAvatar:hover {
|
|
261
286
|
--avatar_border_width: 2px;
|
|
262
287
|
--avatar_bg_color: hsl(var(--hue), 100%, 85%);
|
|
@@ -391,10 +416,15 @@
|
|
|
391
416
|
.customDropbox {
|
|
392
417
|
composes: baseHue;
|
|
393
418
|
--dropbox_bg_color: hsl(var(--hue), 100%, 98%);
|
|
394
|
-
--dropbox_border_radius: 30px 0/*rtl:0 30px*/;
|
|
395
419
|
--dropbox_box_shadow: 0 0 10px hsl(var(--hue), 100%, 90%);
|
|
396
420
|
--dropbox_arrow_box_shadow_color: hsl(var(--hue), 100%, 90%);
|
|
397
421
|
}
|
|
422
|
+
[dir=ltr] .customDropbox {
|
|
423
|
+
--dropbox_border_radius: 30px 0/*rtl:0 30px*/;
|
|
424
|
+
}
|
|
425
|
+
[dir=rtl] .customDropbox {
|
|
426
|
+
--dropbox_border_radius: 0 30px;
|
|
427
|
+
}
|
|
398
428
|
.customDropbox:hover {
|
|
399
429
|
--dropbox_box_shadow: 0 0 10px hsl(var(--hue), 100%, 80%);
|
|
400
430
|
--dropbox_arrow_box_shadow_color: hsl(var(--hue), 100%, 80%);
|
|
@@ -598,24 +628,39 @@
|
|
|
598
628
|
}
|
|
599
629
|
.flagRibbon {
|
|
600
630
|
composes: ribbon;
|
|
631
|
+
}
|
|
632
|
+
[dir=ltr] .flagRibbon {
|
|
601
633
|
--ribbon_padding: 10px 20px/*rtl: 10px 20px*/;
|
|
602
634
|
--ribbon_flag_border_width: 20px 10px 20px 0/*rtl: 20px 0 20px 10px*/;
|
|
603
635
|
}
|
|
636
|
+
[dir=rtl] .flagRibbon {
|
|
637
|
+
--ribbon_padding: 10px 20px;
|
|
638
|
+
--ribbon_flag_border_width: 20px 0 20px 10px;
|
|
639
|
+
}
|
|
604
640
|
.tagRibbon {
|
|
605
641
|
composes: ribbon;
|
|
606
|
-
border-width: 2px 2px 2px 0/*rtl: 2px 0 2px 2px*/;
|
|
607
|
-
border-color: hsl(var(--hue), 100%, 50%);
|
|
608
|
-
border-radius: 0 6px 6px 0/*rtl: 6px 0 0 6px*/;
|
|
609
|
-
margin-left: 30px;
|
|
610
|
-
padding: 18px 30px/*rtl: 18px 30px*/;
|
|
611
642
|
height: 56px;
|
|
612
643
|
--ribbon_tag_before_width: 40px;
|
|
613
644
|
--ribbon_tag_before_height: 40px;
|
|
614
|
-
--ribbon_tag_before_border_width: 2px 0 0 2px/*rtl: 2px 2px 0 0*/;
|
|
615
645
|
--ribbon_tag_before_border_color: hsl(var(--hue), 100%, 50%);
|
|
616
646
|
--ribbon_tag_before_left: -20px;
|
|
617
647
|
--ribbon_tag_before_top: 6px;
|
|
618
648
|
--ribbon_tag_before_border_radius: 0;
|
|
649
|
+
border-color: hsl(var(--hue), 100%, 50%);
|
|
650
|
+
}
|
|
651
|
+
[dir=ltr] .tagRibbon {
|
|
652
|
+
border-width: 2px 2px 2px 0/*rtl: 2px 0 2px 2px*/;
|
|
653
|
+
border-radius: 0 6px 6px 0/*rtl: 6px 0 0 6px*/;
|
|
654
|
+
margin-left: 30px;
|
|
655
|
+
padding: 18px 30px/*rtl: 18px 30px*/;
|
|
656
|
+
--ribbon_tag_before_border_width: 2px 0 0 2px/*rtl: 2px 2px 0 0*/;
|
|
657
|
+
}
|
|
658
|
+
[dir=rtl] .tagRibbon {
|
|
659
|
+
border-width: 2px 0 2px 2px;
|
|
660
|
+
border-radius: 6px 0 0 6px;
|
|
661
|
+
margin-right: 30px;
|
|
662
|
+
padding: 18px 30px;
|
|
663
|
+
--ribbon_tag_before_border_width: 2px 2px 0 0;
|
|
619
664
|
}
|
|
620
665
|
.boxRibbon {
|
|
621
666
|
composes: ribbon;
|
|
@@ -650,10 +695,10 @@
|
|
|
650
695
|
/* custom textboxicon css */
|
|
651
696
|
.customTboxwrap {
|
|
652
697
|
composes: baseHue;
|
|
653
|
-
background-color: hsl(var(--hue), 100%, 90%);
|
|
654
|
-
margin: 5px 0;
|
|
655
698
|
--textboxicon_icon_margin: 4px 10px;
|
|
656
699
|
--textboxicon_icon_color: hsl(var(--hue), 100%, 50%);
|
|
700
|
+
background-color: hsl(var(--hue), 100%, 90%);
|
|
701
|
+
margin: 5px 0;
|
|
657
702
|
}
|
|
658
703
|
.customTbox {
|
|
659
704
|
--textbox_text_color: hsl(var(--hue), 100%, 50%);
|
|
@@ -680,6 +725,8 @@
|
|
|
680
725
|
.tBoxIconRead,
|
|
681
726
|
.tBoxIconDisable {
|
|
682
727
|
composes: baseHue;
|
|
728
|
+
}
|
|
729
|
+
.tBoxIconRead, .tBoxIconDisable {
|
|
683
730
|
background-color: hsl(var(--hue), 100%, 90%);
|
|
684
731
|
margin: 5px 0;
|
|
685
732
|
}
|
|
@@ -693,11 +740,11 @@
|
|
|
693
740
|
/* custom textarea css */
|
|
694
741
|
.customTextarea {
|
|
695
742
|
composes: baseHue;
|
|
696
|
-
background-color: hsl(var(--hue), 100%, 97%);
|
|
697
743
|
--textarea_border_width: 1px;
|
|
698
744
|
--textarea_border_color: hsl(var(--hue), 100%, 50%);
|
|
699
745
|
--textarea_text_color: hsl(var(--hue), 100%, 50%);
|
|
700
746
|
--textarea_padding: 2px 10px;
|
|
747
|
+
background-color: hsl(var(--hue), 100%, 97%);
|
|
701
748
|
}
|
|
702
749
|
.customTextarea:hover {
|
|
703
750
|
--textarea_border_color: hsl(var(--hue), 100%, 40%);
|
|
@@ -707,9 +754,9 @@
|
|
|
707
754
|
}
|
|
708
755
|
.disabledTarea {
|
|
709
756
|
composes: baseHue;
|
|
710
|
-
background-color: hsl(var(--hue), 100%, 97%);
|
|
711
757
|
--textarea_border_width: 1px;
|
|
712
758
|
--textarea_border_color: hsl(var(--hue), 100%, 80%);
|
|
713
759
|
--textarea_text_color: hsl(var(--hue), 100%, 80%);
|
|
714
760
|
--textarea_padding: 2px 10px;
|
|
761
|
+
background-color: hsl(var(--hue), 100%, 97%);
|
|
715
762
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.zoomInEnter,
|
|
2
2
|
.zoomInLeave.zoomInLeaveActive {
|
|
3
3
|
opacity: 0;
|
|
4
|
+
}.zoomInEnter, .zoomInLeave.zoomInLeaveActive {
|
|
4
5
|
transform: perspective(1px) scale(1.5) translateZ(0);
|
|
5
6
|
transition-duration: var(--zd_transition3);
|
|
6
7
|
transition-property: all;
|
|
@@ -8,6 +9,8 @@
|
|
|
8
9
|
.zoomInEnter.zoomInEnterActive,
|
|
9
10
|
.zoomInLeave {
|
|
10
11
|
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
.zoomInEnter.zoomInEnterActive, .zoomInLeave {
|
|
11
14
|
transform: perspective(1px) scale(1) translateZ(0);
|
|
12
15
|
transition-duration: var(--zd_transition3);
|
|
13
16
|
transition-property: all;
|
|
@@ -15,15 +18,20 @@
|
|
|
15
18
|
|
|
16
19
|
.scaleInEnter,
|
|
17
20
|
.scaleInLeave.scaleInLeaveActive {
|
|
18
|
-
transform: scale(0);
|
|
19
21
|
opacity: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.scaleInEnter, .scaleInLeave.scaleInLeaveActive {
|
|
25
|
+
transform: scale(0);
|
|
20
26
|
transition-duration: var(--zd_transition3);
|
|
21
27
|
transition-property: all;
|
|
22
28
|
}
|
|
23
29
|
.scaleInEnter.scaleInEnterActive,
|
|
24
30
|
.scaleInLeave {
|
|
25
|
-
transform: scale(1);
|
|
26
31
|
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
.scaleInEnter.scaleInEnterActive, .scaleInLeave {
|
|
34
|
+
transform: scale(1);
|
|
27
35
|
transition-duration: var(--zd_transition3);
|
|
28
36
|
transition-property: all;
|
|
29
37
|
}
|
|
@@ -31,6 +39,9 @@
|
|
|
31
39
|
.fadeInEnter,
|
|
32
40
|
.fadeInLeave.fadeInLeaveActive {
|
|
33
41
|
opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.fadeInEnter, .fadeInLeave.fadeInLeaveActive {
|
|
34
45
|
transition-duration: var(--zd_transition3);
|
|
35
46
|
transition-property: all;
|
|
36
47
|
}
|
|
@@ -38,6 +49,9 @@
|
|
|
38
49
|
.fadeInEnter.fadeInEnterActive,
|
|
39
50
|
.fadeInLeave {
|
|
40
51
|
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.fadeInEnter.fadeInEnterActive, .fadeInLeave {
|
|
41
55
|
transition-duration: var(--zd_transition3);
|
|
42
56
|
transition-property: all;
|
|
43
57
|
}
|
|
@@ -45,14 +59,27 @@
|
|
|
45
59
|
.slideLeftEnter,
|
|
46
60
|
.slideLeftLeave.slideLeftLeaveActive {
|
|
47
61
|
opacity: 0;
|
|
48
|
-
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.slideLeftEnter, .slideLeftLeave.slideLeftLeaveActive {
|
|
49
65
|
transition-duration: var(--zd_transition3);
|
|
50
66
|
transition-property: all;
|
|
51
67
|
}
|
|
52
68
|
|
|
69
|
+
[dir=ltr] .slideLeftEnter, [dir=ltr] .slideLeftLeave.slideLeftLeaveActive {
|
|
70
|
+
transform: translateX(110%);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[dir=rtl] .slideLeftEnter, [dir=rtl] .slideLeftLeave.slideLeftLeaveActive {
|
|
74
|
+
transform: translateX(-110%);
|
|
75
|
+
}
|
|
76
|
+
|
|
53
77
|
.slideLeftEnter.slideLeftEnterActive,
|
|
54
78
|
.slideLeftLeave {
|
|
55
79
|
opacity: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.slideLeftEnter.slideLeftEnterActive, .slideLeftLeave {
|
|
56
83
|
transform: translateX(0%);
|
|
57
84
|
transition-duration: var(--zd_transition3);
|
|
58
85
|
transition-property: all;
|
|
@@ -61,6 +88,9 @@
|
|
|
61
88
|
.slideDownEnter,
|
|
62
89
|
.slideDownLeave.slideDownLeaveActive {
|
|
63
90
|
opacity: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.slideDownEnter, .slideDownLeave.slideDownLeaveActive {
|
|
64
94
|
transform: translateY(-100%);
|
|
65
95
|
transition-duration: var(--zd_transition3);
|
|
66
96
|
transition-property: all;
|
|
@@ -69,6 +99,9 @@
|
|
|
69
99
|
.slideDownEnter.slideDownEnterActive,
|
|
70
100
|
.slideDownLeave {
|
|
71
101
|
opacity: 1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.slideDownEnter.slideDownEnterActive, .slideDownLeave {
|
|
72
105
|
transform: translateY(0%);
|
|
73
106
|
transition-duration: var(--zd_transition3);
|
|
74
107
|
transition-property: all;
|
|
@@ -77,14 +110,27 @@
|
|
|
77
110
|
.skewInEnter,
|
|
78
111
|
.skewInLeave.skewInLeaveActive {
|
|
79
112
|
opacity: 0;
|
|
80
|
-
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.skewInEnter, .skewInLeave.skewInLeaveActive {
|
|
81
116
|
transition-duration: var(--zd_transition3);
|
|
82
117
|
transition-property: all;
|
|
83
118
|
}
|
|
84
119
|
|
|
120
|
+
[dir=ltr] .skewInEnter, [dir=ltr] .skewInLeave.skewInLeaveActive {
|
|
121
|
+
transform: translate(100%, 100%) skew(72deg) scale(0) perspective(221px);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[dir=rtl] .skewInEnter, [dir=rtl] .skewInLeave.skewInLeaveActive {
|
|
125
|
+
transform: translate(-100%, 100%) skew(-72deg) scale(0) perspective(221px);
|
|
126
|
+
}
|
|
127
|
+
|
|
85
128
|
.skewInEnter.skewInEnterActive,
|
|
86
129
|
.skewInLeave {
|
|
87
130
|
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.skewInEnter.skewInEnterActive, .skewInLeave {
|
|
88
134
|
transform: translate(0, 0) skew(0deg) scale(1) perspective(221px);
|
|
89
135
|
transition-duration: var(--zd_transition3);
|
|
90
136
|
transition-property: all;
|
|
@@ -98,9 +144,3 @@
|
|
|
98
144
|
.defaultLeave {
|
|
99
145
|
display: block;
|
|
100
146
|
}
|
|
101
|
-
|
|
102
|
-
.noneEnter,
|
|
103
|
-
.noneEnter.noneEnterActive,
|
|
104
|
-
.noneLeave,
|
|
105
|
-
.noneLeave.noneLeaveActive {
|
|
106
|
-
}
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.customscroll ::-webkit-scrollbar-thumb {
|
|
33
|
+
min-height: var(--zd_size28);
|
|
33
34
|
background-color: rgba(0, 0, 0, 0.2);
|
|
34
35
|
background-clip: padding-box;
|
|
35
36
|
border: solid transparent;
|
|
36
|
-
min-height: var(--zd_size28);
|
|
37
37
|
border-radius: var(--zd_size10);
|
|
38
38
|
}
|
|
39
39
|
|