@zohodesk/components 1.0.0-temp-162 → 1.0.0-temp-164
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 +1212 -1212
- package/assets/Appearance/dark/mode/{darkMode.module.css → Component_DarkMode.module.css} +4 -4
- package/assets/Appearance/dark/themes/blue/{blueDarkCTAModifyCategory.module.css → blue_CTA_DarkModifyCategory.module.css} +1 -1
- package/assets/Appearance/dark/themes/blue/{blueDarkCTATheme.module.css → blue_CTA_DarkTheme.module.css} +3 -2
- package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +45 -0
- package/assets/Appearance/dark/themes/green/{greenDarkCTATheme.module.css → green_CTA_DarkTheme.module.css} +2 -1
- package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +45 -0
- package/assets/Appearance/dark/themes/orange/{orangeDarkCTATheme.module.css → orange_CTA_DarkTheme.module.css} +2 -1
- package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +45 -0
- package/assets/Appearance/dark/themes/red/{redDarkCTATheme.module.css → red_CTA_DarkTheme.module.css} +2 -1
- package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +45 -0
- package/assets/Appearance/dark/themes/yellow/{yellowDarkCTATheme.module.css → yellow_CTA_DarkTheme.module.css} +2 -1
- package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +45 -0
- package/assets/Appearance/{default/mode/defaultMode.module.css → light/mode/Component_LightMode.module.css} +155 -155
- package/assets/Appearance/{default/themes/blue/blueDefaultCTAModifyCategory.module.css → light/themes/blue/blue_CTA_LightModifyCategory.module.css} +451 -451
- package/assets/Appearance/light/themes/blue/blue_CTA_LightTheme.module.css +35 -0
- package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +45 -0
- package/assets/Appearance/{default/themes/green/greenDefaultCTAModifyCategory.module.css → light/themes/green/green_CTA_LightModifyCategory.module.css} +451 -451
- package/assets/Appearance/light/themes/green/green_CTA_LightTheme.module.css +35 -0
- package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +45 -0
- package/assets/Appearance/{default/themes/orange/orangeDefaultCTAModifyCategory.module.css → light/themes/orange/orange_CTA_LightModifyCategory.module.css} +451 -451
- package/assets/Appearance/light/themes/orange/orange_CTA_LightTheme.module.css +35 -0
- package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +45 -0
- package/assets/Appearance/{default/themes/red/redDefaultCTAModifyCategory.module.css → light/themes/red/red_CTA_LightModifyCategory.module.css} +451 -451
- package/assets/Appearance/light/themes/red/red_CTA_LightTheme.module.css +35 -0
- package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +45 -0
- package/assets/Appearance/{default/themes/yellow/yellowDefaultCTAModifyCategory.module.css → light/themes/yellow/yellow_CTA_LightModifyCategory.module.css} +451 -451
- package/assets/Appearance/light/themes/yellow/yellow_CTA_LightTheme.module.css +35 -0
- package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +45 -0
- package/assets/Appearance/pureDark/mode/{pureDarkMode.module.css → Component_PureDarkMode.module.css} +3 -3
- package/assets/Appearance/pureDark/themes/blue/{bluePureDarkCTAModifyCategory.module.css → blue_CTA_PureDarkModifyCategory.module.css} +1 -1
- package/assets/Appearance/pureDark/themes/blue/{bluePureDarkCTATheme.module.css → blue_CTA_PureDarkTheme.module.css} +3 -2
- package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +45 -0
- package/assets/Appearance/pureDark/themes/green/{greenPureDarkCTATheme.module.css → green_CTA_PureDarkTheme.module.css} +2 -1
- package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +45 -0
- package/assets/Appearance/pureDark/themes/orange/{orangePureDarkCTATheme.module.css → orange_CTA_PureDarkTheme.module.css} +2 -1
- package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +45 -0
- package/assets/Appearance/pureDark/themes/red/{redPureDarkCTATheme.module.css → red_CTA_PureDarkTheme.module.css} +2 -1
- package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +45 -0
- package/assets/Appearance/pureDark/themes/yellow/{yellowPureDarkCTATheme.module.css → yellow_CTA_PureDarkTheme.module.css} +2 -1
- package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +45 -0
- package/assets/Contrast/lightContrastLightness.module.css +39 -0
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +12 -16
- package/es/Avatar/Avatar.module.css +175 -175
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/es/AvatarTeam/AvatarTeam.js +7 -7
- package/es/AvatarTeam/AvatarTeam.module.css +189 -189
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/es/Button/Button.js +4 -4
- package/es/Button/css/Button.module.css +525 -525
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +106 -106
- package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/es/Card/Card.js +4 -4
- package/es/Card/Card.module.css +20 -20
- package/es/CheckBox/CheckBox.js +0 -0
- package/es/CheckBox/CheckBox.module.css +157 -157
- package/es/DateTime/CalendarView.js +1 -4
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +236 -236
- package/es/DateTime/DateTimePopupHeader.js +7 -4
- package/es/DateTime/DateWidget.js +0 -0
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/DaysRow.js +2 -5
- package/es/DateTime/Time.js +2 -5
- package/es/DateTime/YearView.js +9 -9
- package/es/DateTime/YearView.module.css +99 -96
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +0 -0
- package/es/DropBox/DropBoxElement/css/DropBoxElement.module.css +428 -428
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- package/es/DropBox/css/DropBox.module.css +58 -58
- package/es/DropDown/DropDown.js +0 -0
- package/es/DropDown/DropDown.module.css +5 -5
- package/es/DropDown/DropDownHeading.js +0 -0
- package/es/DropDown/DropDownHeading.module.css +53 -53
- package/es/DropDown/DropDownItem.js +0 -0
- package/es/DropDown/DropDownItem.module.css +94 -94
- package/es/DropDown/DropDownSearch.js +0 -0
- package/es/DropDown/DropDownSearch.module.css +14 -14
- package/es/DropDown/DropDownSeparator.js +0 -0
- package/es/DropDown/DropDownSeparator.module.css +7 -7
- package/es/Heading/Heading.js +7 -7
- package/es/Heading/Heading.module.css +5 -72
- package/es/Heading/props/defaultProps.js +1 -3
- package/es/Heading/props/propTypes.js +3 -4
- package/es/Label/Label.js +5 -8
- package/es/Label/Label.module.css +52 -52
- package/es/Label/LabelColors.module.css +20 -20
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/es/Layout/Box.js +0 -0
- package/es/Layout/Container.js +0 -0
- package/es/Layout/Layout.module.css +335 -335
- package/es/Layout/utils.js +0 -0
- package/es/ListItem/ListItem.js +3 -7
- package/es/ListItem/ListItem.module.css +216 -215
- package/es/ListItem/ListItemWithAvatar.js +3 -7
- package/es/ListItem/ListItemWithCheckBox.js +3 -7
- package/es/ListItem/ListItemWithIcon.js +2 -6
- package/es/ListItem/ListItemWithRadio.js +3 -7
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +206 -206
- package/es/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/es/MultiSelect/SelectedOptions.module.css +15 -15
- package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/es/PopOver/PopOver.module.css +8 -8
- package/es/Popup/Popup.js +0 -0
- package/es/Popup/PositionMapping.json +73 -73
- package/es/Radio/Radio.js +0 -0
- package/es/Radio/Radio.module.css +112 -112
- package/es/Responsive/CustomResponsive.js +0 -0
- package/es/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/es/Ribbon/Ribbon.js +0 -0
- package/es/Ribbon/Ribbon.module.css +456 -456
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/es/RippleEffect/RippleEffect.module.css +92 -92
- package/es/Select/GroupSelect.js +0 -0
- package/es/Select/Select.js +0 -0
- package/es/Select/Select.module.css +108 -108
- package/es/Select/SelectWithAvatar.js +0 -0
- package/es/Select/SelectWithIcon.js +0 -0
- package/es/Select/__tests__/Select.spec.js +0 -0
- package/es/Stencils/Stencils.js +0 -0
- package/es/Stencils/Stencils.module.css +96 -96
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/es/Switch/Switch.js +0 -0
- package/es/Switch/Switch.module.css +127 -127
- package/es/Tab/Tab.js +2 -4
- package/es/Tab/Tab.module.css +100 -100
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tab/Tabs.module.css +154 -154
- package/es/Tag/Tag.js +11 -16
- package/es/Tag/Tag.module.css +254 -254
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +158 -158
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/es/TextBoxIcon/TextBoxIcon.js +0 -0
- package/es/TextBoxIcon/TextBoxIcon.module.css +79 -79
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/es/Textarea/Textarea.js +0 -0
- package/es/Textarea/Textarea.module.css +139 -139
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/es/Tooltip/Tooltip.module.css +140 -140
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +48 -48
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +33 -33
- package/es/common/common.module.css +524 -524
- package/es/common/customscroll.module.css +91 -91
- package/es/common/reset.module.css +13 -13
- package/es/common/transition.module.css +146 -146
- package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
- package/es/index.js +1 -3
- package/es/semantic/Button/semanticButton.module.css +9 -9
- package/es/utils/Common.js +0 -0
- package/es/utils/dropDownUtils.js +0 -0
- package/install.md +10 -10
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +12 -16
- package/lib/Avatar/Avatar.module.css +175 -175
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/lib/AvatarTeam/AvatarTeam.js +7 -7
- package/lib/AvatarTeam/AvatarTeam.module.css +189 -189
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/lib/Button/Button.js +4 -4
- package/lib/Button/css/Button.module.css +525 -525
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/Buttongroup.module.css +106 -106
- package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +146 -146
- package/lib/Card/Card.js +4 -4
- package/lib/Card/Card.module.css +20 -20
- package/lib/CheckBox/CheckBox.js +0 -0
- package/lib/CheckBox/CheckBox.module.css +157 -157
- package/lib/DateTime/CalendarView.js +1 -4
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateTime.module.css +236 -236
- package/lib/DateTime/DateTimePopupHeader.js +7 -4
- package/lib/DateTime/DateWidget.js +0 -0
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/DaysRow.js +2 -5
- package/lib/DateTime/Time.js +2 -5
- package/lib/DateTime/YearView.js +9 -9
- package/lib/DateTime/YearView.module.css +99 -96
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +0 -0
- package/lib/DropBox/DropBoxElement/css/DropBoxElement.module.css +428 -428
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- package/lib/DropBox/css/DropBox.module.css +58 -58
- package/lib/DropDown/DropDown.js +0 -0
- package/lib/DropDown/DropDown.module.css +5 -5
- package/lib/DropDown/DropDownHeading.js +0 -0
- package/lib/DropDown/DropDownHeading.module.css +53 -53
- package/lib/DropDown/DropDownItem.js +0 -0
- package/lib/DropDown/DropDownItem.module.css +94 -94
- package/lib/DropDown/DropDownSearch.js +0 -0
- package/lib/DropDown/DropDownSearch.module.css +14 -14
- package/lib/DropDown/DropDownSeparator.js +0 -0
- package/lib/DropDown/DropDownSeparator.module.css +7 -7
- package/lib/Heading/Heading.js +8 -7
- package/lib/Heading/Heading.module.css +5 -72
- package/lib/Heading/props/defaultProps.js +1 -3
- package/lib/Heading/props/propTypes.js +3 -4
- package/lib/Label/Label.js +2 -5
- package/lib/Label/Label.module.css +52 -52
- package/lib/Label/LabelColors.module.css +20 -20
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +101 -101
- package/lib/Layout/Box.js +0 -0
- package/lib/Layout/Container.js +0 -0
- package/lib/Layout/Layout.module.css +335 -335
- package/lib/Layout/utils.js +0 -0
- package/lib/ListItem/ListItem.js +3 -7
- package/lib/ListItem/ListItem.module.css +216 -215
- package/lib/ListItem/ListItemWithAvatar.js +3 -7
- package/lib/ListItem/ListItemWithCheckBox.js +3 -7
- package/lib/ListItem/ListItemWithIcon.js +2 -6
- package/lib/ListItem/ListItemWithRadio.js +3 -7
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.module.css +206 -206
- package/lib/MultiSelect/MultiSelectWithAvatar.js +0 -0
- package/lib/MultiSelect/SelectedOptions.module.css +15 -15
- package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -0
- package/lib/PopOver/PopOver.module.css +8 -8
- package/lib/Popup/Popup.js +0 -0
- package/lib/Popup/PositionMapping.json +73 -73
- package/lib/Radio/Radio.js +0 -0
- package/lib/Radio/Radio.module.css +112 -112
- package/lib/Responsive/CustomResponsive.js +0 -0
- package/lib/ResponsiveDropBox/ResponsiveDropBox.module.css +6 -6
- package/lib/Ribbon/Ribbon.js +0 -0
- package/lib/Ribbon/Ribbon.module.css +456 -456
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +163 -163
- package/lib/RippleEffect/RippleEffect.module.css +92 -92
- package/lib/Select/GroupSelect.js +0 -0
- package/lib/Select/Select.js +0 -0
- package/lib/Select/Select.module.css +108 -108
- package/lib/Select/SelectWithAvatar.js +0 -0
- package/lib/Select/SelectWithIcon.js +0 -0
- package/lib/Select/__tests__/Select.spec.js +0 -0
- package/lib/Stencils/Stencils.js +0 -0
- package/lib/Stencils/Stencils.module.css +96 -96
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +49 -49
- package/lib/Switch/Switch.js +0 -0
- package/lib/Switch/Switch.module.css +127 -127
- package/lib/Tab/Tab.js +2 -4
- package/lib/Tab/Tab.module.css +100 -100
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tab/Tabs.module.css +154 -154
- package/lib/Tag/Tag.js +11 -16
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +158 -158
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +79 -79
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +334 -334
- package/lib/Textarea/Textarea.js +0 -0
- package/lib/Textarea/Textarea.module.css +139 -139
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +97 -97
- package/lib/Tooltip/Tooltip.module.css +140 -140
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +48 -48
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +33 -33
- package/lib/common/common.module.css +524 -524
- package/lib/common/customscroll.module.css +91 -91
- package/lib/common/reset.module.css +13 -13
- package/lib/common/transition.module.css +146 -146
- package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
- package/lib/index.js +1 -17
- package/lib/semantic/Button/semanticButton.module.css +9 -9
- package/lib/utils/Common.js +0 -0
- package/lib/utils/dropDownUtils.js +0 -0
- package/package.json +123 -122
- package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
- package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -45
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
- package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -45
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
- package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -45
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
- package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -45
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
- package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -45
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/pureDark/themes/green/greenPureDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/pureDark/themes/red/redPureDarkComponentTheme.module.css +0 -45
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkComponentTheme.module.css +0 -45
- package/assets/Contrast/defaultContrastLightness.module.css +0 -39
- package/es/Text/Text.js +0 -27
- package/es/Text/Text.module.css +0 -72
- package/es/Text/props/defaultProps.js +0 -7
- package/es/Text/props/propTypes.js +0 -12
- package/es/Typography/Typography.js +0 -28
- package/es/Typography/Typography.module.css +0 -72
- package/es/Typography/props/defaultProps.js +0 -8
- package/es/Typography/props/propTypes.js +0 -12
- package/lib/Text/Text.js +0 -58
- package/lib/Text/Text.module.css +0 -72
- package/lib/Text/props/defaultProps.js +0 -14
- package/lib/Text/props/propTypes.js +0 -20
- package/lib/Typography/Typography.js +0 -59
- package/lib/Typography/Typography.module.css +0 -72
- package/lib/Typography/props/defaultProps.js +0 -15
- package/lib/Typography/props/propTypes.js +0 -20
- /package/assets/Appearance/dark/themes/green/{greenDarkCTAModifyCategory.module.css → green_CTA_DarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/dark/themes/orange/{orangeDarkCTAModifyCategory.module.css → orange_CTA_DarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/dark/themes/red/{redDarkCTAModifyCategory.module.css → red_CTA_DarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/dark/themes/yellow/{yellowDarkCTAModifyCategory.module.css → yellow_CTA_DarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/pureDark/themes/green/{greenPureDarkCTAModifyCategory.module.css → green_CTA_PureDarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/pureDark/themes/orange/{orangePureDarkCTAModifyCategory.module.css → orange_CTA_PureDarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/pureDark/themes/red/{redPureDarkCTAModifyCategory.module.css → red_CTA_PureDarkModifyCategory.module.css} +0 -0
- /package/assets/Appearance/pureDark/themes/yellow/{yellowPureDarkCTAModifyCategory.module.css → yellow_CTA_PureDarkModifyCategory.module.css} +0 -0
|
@@ -1,236 +1,236 @@
|
|
|
1
|
-
.semibold {
|
|
2
|
-
font-family: var(--zd_semibold);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
[dir=ltr] .boxPadding {
|
|
6
|
-
padding-right: 19px;
|
|
7
|
-
padding-left: 19px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
[dir=rtl] .boxPadding {
|
|
11
|
-
padding-left: 19px;
|
|
12
|
-
padding-right: 19px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.container {
|
|
16
|
-
font-size: 16px;
|
|
17
|
-
composes: offSelection from '../common/common.module.css';
|
|
18
|
-
border-radius: 3px;
|
|
19
|
-
background-color: var(--zdt_datetime_default_bg);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.header {
|
|
23
|
-
min-height: 36px;
|
|
24
|
-
composes: boxPadding;
|
|
25
|
-
text-align: center;
|
|
26
|
-
background-color: var(--zdt_datetime_header_bg);
|
|
27
|
-
border-radius: 0 0 2px 2px;
|
|
28
|
-
border-bottom: 1px solid var(--zdt_datetime_header_border);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.datesStr {
|
|
32
|
-
font-family: var(--zd_regular);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.grid {
|
|
36
|
-
width: 28px;
|
|
37
|
-
height: 28px;
|
|
38
|
-
line-height: var(--zd_size18);
|
|
39
|
-
text-align: center;
|
|
40
|
-
padding: 4px 0;
|
|
41
|
-
border-radius: 50%;
|
|
42
|
-
border: 1px solid transparent;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.thArrow,
|
|
46
|
-
.datesStr {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
.sunday,
|
|
115
|
-
.sunday:hover
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
border:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
.active,
|
|
139
|
-
.active
|
|
140
|
-
.active.today
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
padding-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
.
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
text-transform: uppercase;
|
|
206
|
-
color: var(--zdt_datetime_text);
|
|
207
|
-
composes: semibold;
|
|
208
|
-
display: block;
|
|
209
|
-
margin-top: 14px;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.yearContainer {
|
|
213
|
-
position: absolute;
|
|
214
|
-
top: 0;
|
|
215
|
-
width: 100%;
|
|
216
|
-
height: 100%;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
[dir=ltr] .yearContainer {
|
|
220
|
-
left: 0;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
[dir=rtl] .yearContainer {
|
|
224
|
-
right: 0;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.subContainer {
|
|
228
|
-
position: relative;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.dropBox {
|
|
232
|
-
width: 100%;
|
|
233
|
-
border-radius: 3px;
|
|
234
|
-
box-shadow: var(--zd_bs_dropbox_bottom);
|
|
235
|
-
background-color: var(--zdt_dropbox_default_bg);
|
|
236
|
-
}
|
|
1
|
+
.semibold {
|
|
2
|
+
font-family: var(--zd_semibold);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
[dir=ltr] .boxPadding {
|
|
6
|
+
padding-right: 19px;
|
|
7
|
+
padding-left: 19px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
[dir=rtl] .boxPadding {
|
|
11
|
+
padding-left: 19px;
|
|
12
|
+
padding-right: 19px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.container {
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
composes: offSelection from '../common/common.module.css';
|
|
18
|
+
border-radius: 3px;
|
|
19
|
+
background-color: var(--zdt_datetime_default_bg);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.header {
|
|
23
|
+
min-height: 36px;
|
|
24
|
+
composes: boxPadding;
|
|
25
|
+
text-align: center;
|
|
26
|
+
background-color: var(--zdt_datetime_header_bg);
|
|
27
|
+
border-radius: 0 0 2px 2px;
|
|
28
|
+
border-bottom: 1px solid var(--zdt_datetime_header_border);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.datesStr {
|
|
32
|
+
font-family: var(--zd_regular);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.grid {
|
|
36
|
+
width: 28px;
|
|
37
|
+
height: 28px;
|
|
38
|
+
line-height: var(--zd_size18);
|
|
39
|
+
text-align: center;
|
|
40
|
+
padding: 4px 0;
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
border: 1px solid transparent;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.thArrow,
|
|
46
|
+
.datesStr {
|
|
47
|
+
font-size: 13px;
|
|
48
|
+
color: var(--zdt_datetime_datestr_text);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.thArrow, .datesStr {
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.thArrow:hover,
|
|
56
|
+
.datesStr:hover {
|
|
57
|
+
color: var(--zdt_datetime_datestr_text);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.thArrow:hover, .datesStr:hover {
|
|
61
|
+
background: var(--zdt_datetime_datestr_hover_bg);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[dir=ltr] .navigation {
|
|
65
|
+
margin-left: 2px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[dir=rtl] .navigation {
|
|
69
|
+
margin-right: 2px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.thMonYear {
|
|
73
|
+
font-size: 13px;
|
|
74
|
+
line-height: var(--zd_size24);
|
|
75
|
+
color: var(--zdt_datetime_datestr_text);
|
|
76
|
+
composes: semibold;
|
|
77
|
+
display: initial
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.dateContainer {
|
|
81
|
+
margin: 0 19px 0 19px;
|
|
82
|
+
padding: 6px 0 10px 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.separator {
|
|
86
|
+
border-bottom: 1px dotted var(--zdt_datetime_separator_border);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.days {
|
|
90
|
+
min-height: 36px;
|
|
91
|
+
composes: boxPadding;
|
|
92
|
+
composes: alignBetween from '../common/common.module.css';
|
|
93
|
+
padding-top: 7px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.daysStr {
|
|
97
|
+
font-size: 10px;
|
|
98
|
+
color: var(--zdt_datetime_daystr_text);
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
composes: semibold;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.dateRow {
|
|
104
|
+
height: 28px;
|
|
105
|
+
composes: alignBetween from '../common/common.module.css';
|
|
106
|
+
margin: 1px 0 5px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.dateRow:last-child {
|
|
110
|
+
margin-bottom: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.sunday,
|
|
114
|
+
.sunday:hover,
|
|
115
|
+
.invalidDate.sunday:hover {
|
|
116
|
+
color: var(--zdt_datetime_invalid_hover_text);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.invalidDate {
|
|
120
|
+
color: var(--zdt_datetime_invalid_text);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.invalidDate.sunday {
|
|
124
|
+
color: var(--zdt_datetime_invaliddate_text);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.today {
|
|
128
|
+
border: 1px solid var(--zdt_datetime_today_border);
|
|
129
|
+
border-radius: 50%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.today:hover {
|
|
133
|
+
border: 1px solid var(--zdt_datetime_today_border);
|
|
134
|
+
background-color: var(--zdt_datetime_datestr_hover_bg);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.active,
|
|
138
|
+
.active:hover,
|
|
139
|
+
.active.today,
|
|
140
|
+
.active:hover.today:hover {
|
|
141
|
+
color: var(--zdt_datetime_today_text);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.active, .active:hover, .active.today, .active:hover.today:hover {
|
|
145
|
+
background-color: var(--zdt_datetime_selected_bg);
|
|
146
|
+
border-radius: 50%;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
.timesection {
|
|
152
|
+
padding-top: 5px;
|
|
153
|
+
padding-bottom: 10px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.dropDownContainer {
|
|
157
|
+
padding: 0 5px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.dropDown {
|
|
161
|
+
width: 60px;
|
|
162
|
+
display: inline-block;
|
|
163
|
+
position: relative;
|
|
164
|
+
margin: 0 4px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.footer {
|
|
168
|
+
margin-top: 10px;
|
|
169
|
+
padding-bottom: 12px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.timesection,
|
|
173
|
+
.footer {
|
|
174
|
+
composes: boxPadding;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.space {
|
|
178
|
+
display: inline-block;
|
|
179
|
+
width: 15px;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.downArrow {
|
|
183
|
+
color: var(--zdt_datetime_daystr_text);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
[dir=ltr] .downArrow {
|
|
187
|
+
margin-left: 2px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
[dir=rtl] .downArrow {
|
|
191
|
+
margin-right: 2px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.dateText {
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.dateText:hover .downArrow {
|
|
199
|
+
color: var(--zdt_datetime_datestr_text);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.text {
|
|
203
|
+
composes: boxPadding;
|
|
204
|
+
font-size: 11px;
|
|
205
|
+
text-transform: uppercase;
|
|
206
|
+
color: var(--zdt_datetime_text);
|
|
207
|
+
composes: semibold;
|
|
208
|
+
display: block;
|
|
209
|
+
margin-top: 14px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.yearContainer {
|
|
213
|
+
position: absolute;
|
|
214
|
+
top: 0;
|
|
215
|
+
width: 100%;
|
|
216
|
+
height: 100%;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[dir=ltr] .yearContainer {
|
|
220
|
+
left: 0;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
[dir=rtl] .yearContainer {
|
|
224
|
+
right: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.subContainer {
|
|
228
|
+
position: relative;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.dropBox {
|
|
232
|
+
width: 100%;
|
|
233
|
+
border-radius: 3px;
|
|
234
|
+
box-shadow: var(--zd_bs_dropbox_bottom);
|
|
235
|
+
background-color: var(--zdt_dropbox_default_bg);
|
|
236
|
+
}
|
|
@@ -8,7 +8,7 @@ exports["default"] = void 0;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _Layout = require("../Layout");
|
|
10
10
|
var _icons = require("@zohodesk/icons");
|
|
11
|
-
var
|
|
11
|
+
var _Heading = _interopRequireDefault(require("../Heading/Heading"));
|
|
12
12
|
var _DateTimeModule = _interopRequireDefault(require("./DateTime.module.css"));
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
14
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -90,11 +90,14 @@ var DateTimePopupHeader = /*#__PURE__*/function (_PureComponent) {
|
|
|
90
90
|
className: _DateTimeModule["default"].dateText,
|
|
91
91
|
dataId: "selectYear",
|
|
92
92
|
onClick: onOpenYearView
|
|
93
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
|
|
94
94
|
className: _DateTimeModule["default"].thMonYear,
|
|
95
|
+
title: showMonthTxt,
|
|
95
96
|
tagName: "h2",
|
|
96
|
-
|
|
97
|
-
|
|
97
|
+
a11y: {
|
|
98
|
+
tabindex: '0'
|
|
99
|
+
}
|
|
100
|
+
}), /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
98
101
|
name: "ZD-GN-dropdown",
|
|
99
102
|
size: "12",
|
|
100
103
|
iconClass: _DateTimeModule["default"].downArrow
|
|
File without changes
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
/* $Id */
|
|
2
|
-
.container {
|
|
3
|
-
position: relative;
|
|
4
|
-
composes: offSelection from '../common/common.module.css';
|
|
5
|
-
}
|
|
6
|
-
.readOnly, .readOnly > input, .disabled {
|
|
7
|
-
cursor: not-allowed;
|
|
8
|
-
}
|
|
9
|
-
.enabled {
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
}
|
|
12
|
-
.textBox {
|
|
13
|
-
position: relative;
|
|
14
|
-
}
|
|
15
|
-
.inputLine {
|
|
16
|
-
position: absolute;
|
|
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 {
|
|
22
|
-
left: 0;
|
|
23
|
-
right: 0;
|
|
24
|
-
}
|
|
25
|
-
[dir=rtl] .inputLine {
|
|
26
|
-
right: 0;
|
|
27
|
-
left: 0;
|
|
28
|
-
}
|
|
29
|
-
.enabled:hover .inputLine {
|
|
30
|
-
border-bottom-color: var(--zdt_datewidget_enabled_border);
|
|
31
|
-
}
|
|
32
|
-
.textBoxFocus .inputLine {
|
|
33
|
-
border-bottom-color: var(--zdt_datewidget_textboxfocus_border);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.placeHolder input {
|
|
37
|
-
color: var(--zdt_datewidget_placeholder_text);
|
|
38
|
-
}
|
|
1
|
+
/* $Id */
|
|
2
|
+
.container {
|
|
3
|
+
position: relative;
|
|
4
|
+
composes: offSelection from '../common/common.module.css';
|
|
5
|
+
}
|
|
6
|
+
.readOnly, .readOnly > input, .disabled {
|
|
7
|
+
cursor: not-allowed;
|
|
8
|
+
}
|
|
9
|
+
.enabled {
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
}
|
|
12
|
+
.textBox {
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
.inputLine {
|
|
16
|
+
position: absolute;
|
|
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 {
|
|
22
|
+
left: 0;
|
|
23
|
+
right: 0;
|
|
24
|
+
}
|
|
25
|
+
[dir=rtl] .inputLine {
|
|
26
|
+
right: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
}
|
|
29
|
+
.enabled:hover .inputLine {
|
|
30
|
+
border-bottom-color: var(--zdt_datewidget_enabled_border);
|
|
31
|
+
}
|
|
32
|
+
.textBoxFocus .inputLine {
|
|
33
|
+
border-bottom-color: var(--zdt_datewidget_textboxfocus_border);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.placeHolder input {
|
|
37
|
+
color: var(--zdt_datewidget_placeholder_text);
|
|
38
|
+
}
|
package/lib/DateTime/DaysRow.js
CHANGED
|
@@ -8,7 +8,6 @@ exports["default"] = void 0;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _DateTimeModule = _interopRequireDefault(require("./DateTime.module.css"));
|
|
10
10
|
var _Layout = require("../Layout");
|
|
11
|
-
var _Typography = _interopRequireDefault(require("../Typography/Typography"));
|
|
12
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -44,12 +43,10 @@ var DaysRow = /*#__PURE__*/function (_PureComponent) {
|
|
|
44
43
|
}, dayNames.map(function (dayName, index) {
|
|
45
44
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
46
45
|
key: dayName,
|
|
46
|
+
className: "".concat(_DateTimeModule["default"].daysStr, " ").concat(_DateTimeModule["default"].grid, " ").concat(index === 0 ? _DateTimeModule["default"].sunday : ''),
|
|
47
47
|
"data-title": dayName,
|
|
48
48
|
"aria-label": dayName
|
|
49
|
-
},
|
|
50
|
-
className: "".concat(_DateTimeModule["default"].daysStr, " ").concat(_DateTimeModule["default"].grid, " ").concat(index === 0 ? _DateTimeModule["default"].sunday : ''),
|
|
51
|
-
size: "10"
|
|
52
|
-
}, " ", dayNamesShort[index]));
|
|
49
|
+
}, dayNamesShort[index]);
|
|
53
50
|
}));
|
|
54
51
|
}
|
|
55
52
|
}]);
|
package/lib/DateTime/Time.js
CHANGED
|
@@ -8,7 +8,6 @@ exports["default"] = void 0;
|
|
|
8
8
|
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
var _Layout = require("../Layout");
|
|
10
10
|
var _Select = _interopRequireDefault(require("../Select/Select"));
|
|
11
|
-
var _Typography = _interopRequireDefault(require("../Typography/Typography"));
|
|
12
11
|
var _DateTimeModule = _interopRequireDefault(require("./DateTime.module.css"));
|
|
13
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -51,10 +50,8 @@ var Time = /*#__PURE__*/function (_PureComponent) {
|
|
|
51
50
|
onAmPmSelect = _this$props.onAmPmSelect,
|
|
52
51
|
amPm = _this$props.amPm,
|
|
53
52
|
is24Hour = _this$props.is24Hour;
|
|
54
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(
|
|
55
|
-
className: _DateTimeModule["default"].text
|
|
56
|
-
tagName: "span",
|
|
57
|
-
size: "11"
|
|
53
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
54
|
+
className: _DateTimeModule["default"].text
|
|
58
55
|
}, timeText), /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
59
56
|
alignBox: "row",
|
|
60
57
|
align: "vertical",
|
package/lib/DateTime/YearView.js
CHANGED
|
@@ -11,7 +11,7 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
11
11
|
var _virtualizer = require("@zohodesk/virtualizer");
|
|
12
12
|
var _Layout = require("../Layout");
|
|
13
13
|
var _icons = require("@zohodesk/icons");
|
|
14
|
-
var
|
|
14
|
+
var _Heading = _interopRequireDefault(require("../Heading/Heading"));
|
|
15
15
|
var _YearViewModule = _interopRequireDefault(require("./YearView.module.css"));
|
|
16
16
|
var _dateFormatUtils = require("./dateFormatUtils");
|
|
17
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -72,12 +72,14 @@ var Year = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
72
72
|
align: "vertical"
|
|
73
73
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
74
74
|
flexible: true
|
|
75
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement(_Heading["default"], {
|
|
76
76
|
className: _YearViewModule["default"].yearText,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
title: year,
|
|
78
|
+
a11y: {
|
|
79
|
+
tabindex: '0'
|
|
80
|
+
},
|
|
81
|
+
tagName: "h4"
|
|
82
|
+
})), /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
81
83
|
name: "ZD-arrowDownSingle",
|
|
82
84
|
size: "7",
|
|
83
85
|
isBold: true,
|
|
@@ -121,9 +123,7 @@ var Month = /*#__PURE__*/function (_React$PureComponent2) {
|
|
|
121
123
|
onClick: this.handleClick,
|
|
122
124
|
"data-title": hoverText,
|
|
123
125
|
"aria-label": month
|
|
124
|
-
},
|
|
125
|
-
size: "12"
|
|
126
|
-
}, displayText));
|
|
126
|
+
}, displayText);
|
|
127
127
|
}
|
|
128
128
|
}]);
|
|
129
129
|
return Month;
|