@zohodesk/components 1.0.0-alpha-221 → 1.0.0-alpha-225
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 +16 -0
- package/assets/Appearance/dark/mode/darkMode.module.css +356 -0
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +34 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +42 -0
- package/assets/Appearance/default/mode/defaultMode.module.css +356 -0
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css +42 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +34 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +42 -0
- package/es/Animation/docs/Animation__default.docs.js +2 -2
- package/es/Animation/docs/Animation__fadeIn.docs.js +2 -2
- package/es/Animation/docs/Animation__scaleIn.docs.js +2 -2
- package/es/Animation/docs/Animation__skewIn.docs.js +2 -2
- package/es/Animation/docs/Animation__slideDown.docs.js +2 -2
- package/es/Animation/docs/Animation__slideLeft.docs.js +2 -2
- package/es/Animation/docs/Animation__zoomIn.docs.js +2 -2
- package/es/AppContainer/AppContainer.js +6 -6
- package/es/AvatarTeam/docs/AvatarTeam__palette.docs.js +1 -1
- package/es/Card/Card.module.css +3 -3
- package/es/Card/docs/Card__Default.docs.js +4 -4
- package/es/Card/docs/Card__Scroll.docs.js +4 -4
- package/es/Layout/docs/Layout__Hidden.docs.js +1 -1
- package/es/Layout/docs/Layout__four_Column.docs.js +1 -1
- package/es/Layout/docs/Layout__three_Column.docs.js +1 -1
- package/es/MultiSelect/MultiSelect.js +8 -1
- package/es/PopOver/PopOver.module.css +1 -1
- package/es/Provider.js +22 -22
- package/es/RippleEffect/docs/RippleEffect__default.docs.js +8 -8
- package/es/Select/Select.js +14 -0
- package/es/Stencils/Stencils.module.css +4 -14
- package/es/Tab/Tabs.js +14 -2
- package/es/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +2 -2
- package/es/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +2 -2
- package/es/common/docStyle.module.css +9 -9
- package/lib/Accordion/Accordion.js +3 -3
- package/lib/Accordion/AccordionItem.js +3 -3
- package/lib/Accordion/docs/Accordion__Demo.docs.js +3 -3
- package/lib/Animation/Animation.js +3 -3
- package/lib/Animation/docs/Animation__default.docs.js +5 -5
- package/lib/Animation/docs/Animation__fadeIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__scaleIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__skewIn.docs.js +5 -5
- package/lib/Animation/docs/Animation__slideDown.docs.js +5 -5
- package/lib/Animation/docs/Animation__slideLeft.docs.js +5 -5
- package/lib/Animation/docs/Animation__zoomIn.docs.js +5 -5
- package/lib/AppContainer/AppContainer.js +9 -9
- package/lib/AppContainer/docs/AppContainer__default.docs.js +3 -3
- package/lib/Avatar/Avatar.js +3 -3
- package/lib/Avatar/docs/Avatar__custom.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__default.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__palette.docs.js +3 -3
- package/lib/Avatar/docs/Avatar__text.docs.js +3 -3
- package/lib/AvatarTeam/AvatarTeam.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__custom.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__default.docs.js +3 -3
- package/lib/AvatarTeam/docs/AvatarTeam__palette.docs.js +4 -4
- package/lib/AvatarTeam/docs/AvatarTeam__size.docs.js +3 -3
- package/lib/Button/Button.js +3 -3
- package/lib/Button/docs/Button__custom.docs.js +3 -3
- package/lib/Button/docs/Button__default.docs.js +3 -3
- package/lib/Buttongroup/Buttongroup.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__custom.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__footer.docs.js +3 -3
- package/lib/Buttongroup/docs/Buttongroup__header.docs.js +3 -3
- package/lib/Card/Card.js +3 -3
- package/lib/Card/Card.module.css +3 -3
- package/lib/Card/__tests__/Card.spec.js +1 -1
- package/lib/Card/docs/Card__Custom.docs.js +3 -3
- package/lib/Card/docs/Card__Default.docs.js +7 -7
- package/lib/Card/docs/Card__Scroll.docs.js +7 -7
- package/lib/Card/index.js +1 -1
- package/lib/CheckBox/CheckBox.js +3 -3
- package/lib/CheckBox/docs/CheckBox__custom.docs.js +3 -3
- package/lib/CheckBox/docs/CheckBox__default.docs.js +3 -3
- package/lib/DateTime/CalendarView.js +3 -3
- package/lib/DateTime/DateTime.js +3 -3
- package/lib/DateTime/DateTimePopupFooter.js +3 -3
- package/lib/DateTime/DateTimePopupHeader.js +3 -3
- package/lib/DateTime/DateWidget.js +3 -3
- package/lib/DateTime/DaysRow.js +3 -3
- package/lib/DateTime/Time.js +3 -3
- package/lib/DateTime/YearView.js +3 -3
- package/lib/DateTime/__tests__/CalendarView.spec.js +1 -1
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/docs/DateTime__default.docs.js +3 -3
- package/lib/DateTime/docs/DateWidget__default.docs.js +3 -3
- package/lib/DateTime/objectUtils.js +1 -1
- package/lib/DropBox/DropBox.js +3 -3
- package/lib/DropBox/docs/DropBox__custom.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__customOrder.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__fixedPosition.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__position.docs.js +3 -3
- package/lib/DropBox/docs/DropBox__size.docs.js +3 -3
- package/lib/DropDown/DropDown.js +3 -3
- package/lib/DropDown/DropDownHeading.js +3 -3
- package/lib/DropDown/DropDownItem.js +3 -3
- package/lib/DropDown/DropDownSearch.js +3 -3
- package/lib/DropDown/DropDownSeparator.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__custom.docs.js +3 -3
- package/lib/DropDown/docs/DropDownHeading__default.docs.js +3 -3
- package/lib/Label/Label.js +3 -3
- package/lib/Label/docs/Label__clipped.docs.js +3 -3
- package/lib/Label/docs/Label__custom.docs.js +3 -3
- package/lib/Label/docs/Label__palette.docs.js +3 -3
- package/lib/Label/docs/Label__size.docs.js +3 -3
- package/lib/Label/docs/Label__type.docs.js +3 -3
- package/lib/Layout/docs/Layout__Hidden.docs.js +4 -4
- package/lib/Layout/docs/Layout__default.docs.js +3 -3
- package/lib/Layout/docs/Layout__four_Column.docs.js +4 -4
- package/lib/Layout/docs/Layout__three_Column.docs.js +4 -4
- package/lib/Layout/docs/Layout__two_Column.docs.js +3 -3
- package/lib/LightNightMode/docs/AlternativeColors.docs.js +3 -3
- package/lib/ListItem/ListItem.js +3 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -3
- package/lib/ListItem/ListItemWithCheckBox.js +3 -3
- package/lib/ListItem/ListItemWithIcon.js +3 -3
- package/lib/ListItem/ListItemWithRadio.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithAvatar__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithCheckBox__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithIcon__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItemWithRadio__default.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__custom.docs.js +3 -3
- package/lib/ListItem/docs/ListItem__default.docs.js +3 -3
- package/lib/Modal/Modal.js +3 -3
- package/lib/Modal/__docs__/Modal__default.docs.js +3 -3
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -3
- package/lib/MultiSelect/AdvancedMultiSelect.js +3 -3
- package/lib/MultiSelect/EmptyState.js +3 -3
- package/lib/MultiSelect/MultiSelect.js +10 -4
- package/lib/MultiSelect/MultiSelectHeader.js +3 -3
- package/lib/MultiSelect/MultiSelectWithAvatar.js +3 -3
- package/lib/MultiSelect/SelectedOptions.js +3 -3
- package/lib/MultiSelect/Suggestions.js +5 -5
- package/lib/MultiSelect/docs/AdvancedGroupMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/AdvancedMultiSelect__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelectWithAvatar__default.docs.js +3 -3
- package/lib/MultiSelect/docs/MultiSelect__default.docs.js +3 -3
- package/lib/PopOver/PopOver.js +3 -3
- package/lib/PopOver/PopOver.module.css +1 -1
- package/lib/PopOver/docs/PopOver__default.docs.js +3 -3
- package/lib/Popup/Popup.js +3 -3
- package/lib/Popup/__tests__/Popup.spec.js +3 -3
- package/lib/Provider/LibraryContext.js +3 -3
- package/lib/Provider/NumberGenerator/NumberGenerator.js +1 -1
- package/lib/Provider/docs/Provider_Id__Class.docs.js +3 -3
- package/lib/Provider/docs/Provider_Zindex__Class.docs.js +3 -3
- package/lib/Provider.js +25 -25
- package/lib/Radio/Radio.js +3 -3
- package/lib/Radio/docs/Radio__custom.docs.js +3 -3
- package/lib/Radio/docs/Radio__default.docs.js +3 -3
- package/lib/Responsive/CustomResponsive.js +3 -3
- package/lib/Responsive/RefWrapper.js +1 -1
- package/lib/Responsive/ResizeComponent.js +3 -3
- package/lib/Responsive/ResizeObserver.js +1 -1
- package/lib/Responsive/Responsive.js +3 -3
- package/lib/Responsive/docs/Responsive__Custom.docs.js +3 -3
- package/lib/Responsive/docs/Responsive__default.docs.js +3 -3
- package/lib/Responsive/sizeObservers.js +3 -3
- package/lib/Responsive/utils/shallowCompare.js +1 -1
- package/lib/Ribbon/Ribbon.js +3 -3
- package/lib/Ribbon/docs/Ribbon__custom.docs.js +3 -3
- package/lib/Ribbon/docs/Ribbon__default.docs.js +3 -3
- package/lib/RippleEffect/docs/RippleEffect__default.docs.js +11 -11
- package/lib/Select/GroupSelect.js +3 -3
- package/lib/Select/Select.js +19 -5
- package/lib/Select/SelectWithAvatar.js +3 -3
- package/lib/Select/SelectWithIcon.js +3 -3
- package/lib/Select/docs/GroupSelect__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithAvatar__default.docs.js +3 -3
- package/lib/Select/docs/SelectWithIcon__default.docs.js +3 -3
- package/lib/Select/docs/Select__default.docs.js +3 -3
- package/lib/Stencils/Stencils.js +3 -3
- package/lib/Stencils/Stencils.module.css +4 -14
- package/lib/Stencils/docs/Stencils__custom.docs.js +3 -3
- package/lib/Stencils/docs/Stencils__default.docs.js +3 -3
- package/lib/Switch/Switch.js +3 -3
- package/lib/Switch/docs/Switch__custom.docs.js +3 -3
- package/lib/Switch/docs/Switch__default.docs.js +3 -3
- package/lib/Tab/Tab.js +1 -1
- package/lib/Tab/TabWrapper.js +1 -1
- package/lib/Tab/Tabs.js +16 -5
- package/lib/Tab/docs/Tab__default.docs.js +3 -3
- package/lib/Tag/Tag.js +3 -3
- package/lib/Tag/docs/Tag__custom.docs.js +3 -3
- package/lib/Tag/docs/Tag__default.docs.js +3 -3
- package/lib/TextBox/TextBox.js +3 -3
- package/lib/TextBox/docs/TextBox__custom.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__default.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__size.docs.js +3 -3
- package/lib/TextBox/docs/TextBox__variant.docs.js +3 -3
- package/lib/TextBoxIcon/TextBoxIcon.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__custom.docs.js +3 -3
- package/lib/TextBoxIcon/docs/TextBoxIcon__default.docs.js +3 -3
- package/lib/Textarea/Textarea.js +3 -3
- package/lib/Textarea/docs/Textarea__animated.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__custom.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__default.docs.js +3 -3
- package/lib/Textarea/docs/Textarea__disabled.docs.js +3 -3
- package/lib/Tooltip/Tooltip.js +3 -3
- package/lib/Tooltip/__tests__/Tooltip.spec.js +3 -3
- package/lib/Tooltip/docs/Tooltip__default.docs.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/VelocityAnimation.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimation/docs/VelocityAnimation__demo.docs.js +5 -5
- package/lib/VelocityAnimation/VelocityAnimationGroup/VelocityAnimationGroup.js +3 -3
- package/lib/VelocityAnimation/VelocityAnimationGroup/docs/VelocityAnimationGroup__demo.docs.js +5 -5
- package/lib/a11y/FocusScope/FocusScope.js +1 -1
- package/lib/a11y/FocusScope/docs/FocusScope__default.docs.js +3 -3
- package/lib/beta/FocusRing/FocusRing.js +3 -3
- package/lib/beta/FocusRing/docs/FocusRing__default.docs.js +3 -3
- package/lib/common/docStyle.module.css +9 -9
- package/lib/deprecated/PortalLayer/PortalLayer.js +3 -3
- package/lib/deprecated/PortalLayer/docs/PortalLayer__default.docs.js +3 -3
- package/lib/semantic/Button/Button.js +3 -3
- package/lib/semantic/Button/docs/Button__default.docs.js +3 -3
- package/lib/utils/datetime/common.js +1 -1
- package/lib/utils/dropDownUtils.js +1 -1
- package/lib/utils/shallowEqual.js +1 -1
- package/package.json +13 -9
- package/preprocess/componentAppearanceColors.js +67 -0
- package/preprocess/componentThemeColors.js +123 -0
- package/preprocess/ctaThemeColors.js +101 -0
- package/preprocess/index.js +3 -0
- package/preprocess/json/componentAppearanceVariableJson.js +1346 -0
- package/preprocess/json/componentThemeVariableJson.js +242 -0
- package/preprocess/json/ctaThemeVariableJson.js +203 -0
- package/es/Appearance/dark/mode/darkMode.module.css +0 -393
- package/es/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
- package/es/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
- package/es/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
- package/es/Appearance/default/mode/defaultMode.module.css +0 -395
- package/es/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
- package/es/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
- package/es/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/mode/darkMode.module.css +0 -393
- package/lib/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/green/greenDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/green/greenDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/red/redDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/red/redDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +0 -34
- package/lib/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css +0 -48
- package/lib/Appearance/default/mode/defaultMode.module.css +0 -395
- package/lib/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/green/greenDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/green/greenDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/red/redDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/red/redDefaultComponentTheme.module.css +0 -48
- package/lib/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +0 -34
- package/lib/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css +0 -48
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='orange'] {
|
|
2
|
+
/* stencil */
|
|
3
|
+
--zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
|
|
4
|
+
--zdt_stencil_dark_gradient_bg: linear-gradient(to left, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
|
|
5
|
+
|
|
6
|
+
/* dropbox */
|
|
7
|
+
--zdt_dropbox_dark_bg: #332e24;
|
|
8
|
+
|
|
9
|
+
/* listitem */
|
|
10
|
+
--zdt_listitem_dark_bg: #332e24;
|
|
11
|
+
--zdt_listitem_dark_text: #d0d0d4;
|
|
12
|
+
--zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
|
|
13
|
+
--zdt_listitem_dark_active_bg: #4b4335;
|
|
14
|
+
--zdt_listitem_dark_tickicon: #ff6363;
|
|
15
|
+
|
|
16
|
+
/* tag */
|
|
17
|
+
--zdt_tag_dark_text: #d0d0d4;
|
|
18
|
+
--zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
|
|
19
|
+
--zdt_tag_dark_hover_text: #d0d0d4;
|
|
20
|
+
--zdt_tag_dark_hover_bg: var(--dot_matterhorn);
|
|
21
|
+
--zdt_tag_dark_close_bg: #864654;
|
|
22
|
+
--zdt_tag_dark_close_text: var(--dot_brightRed);
|
|
23
|
+
|
|
24
|
+
/* multiselect */
|
|
25
|
+
--zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
|
|
26
|
+
--zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
|
|
27
|
+
--zdt_multiselect_darkmsg_text: #d0d0d4;
|
|
28
|
+
--zdt_multiselect_darkdelete_hover_text: var(--dot_white);
|
|
29
|
+
|
|
30
|
+
/* avatar */
|
|
31
|
+
--zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
|
|
32
|
+
--zdt_avatar_white_text: var(--dot_white);
|
|
33
|
+
|
|
34
|
+
/* label */
|
|
35
|
+
--zdt_label_dark_text: #d0d0d4;
|
|
36
|
+
|
|
37
|
+
/* textbox */
|
|
38
|
+
--zdt_textbox_light_text: var(--dot_white);
|
|
39
|
+
|
|
40
|
+
/* dropdown */
|
|
41
|
+
--zdt_dropdown_darkheading_text: var(--dot_white);
|
|
42
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='red'] {
|
|
2
|
+
--zdt_cta_primary_text: var(--dot_brightRed);
|
|
3
|
+
--zdt_cta_primary_hover_text: #ab1a18;
|
|
4
|
+
--zdt_cta_primary_bg: var(--dot_brightRed);
|
|
5
|
+
--zdt_cta_primary_hover_bg: #ab1a18;
|
|
6
|
+
--zdt_cta_primary_border: var(--dot_brightRed);
|
|
7
|
+
--zdt_cta_primary_hover_border: #ab1a18;
|
|
8
|
+
--zdt_cta_primary_box_shadow: rgba(222, 53, 53, 0.2);
|
|
9
|
+
--zdt_cta_primary_hover_box_shadow: rgba(171, 26, 24, 0.25);
|
|
10
|
+
--zdt_cta_primary_light_bg: #fdf3f3;
|
|
11
|
+
--zdt_cta_primary_light_hover_bg: #f8d7d7;
|
|
12
|
+
--zdt_cta_primary_light_border: #f8d7d7;
|
|
13
|
+
--zdt_cta_secondary_bg: var(--dot_brightRed);
|
|
14
|
+
--zdt_cta_secondary_text: var(--dot_white);
|
|
15
|
+
--zdt_cta_secondary_border: #e55d5d;
|
|
16
|
+
--zdt_cta_secondary_light_border: #f8d7d7;
|
|
17
|
+
--zdt_cta_alpha_text: var(--dot_brightRed);
|
|
18
|
+
--zdt_cta_alpha_hover_text: #ab1a18;
|
|
19
|
+
--zdt_cta_alpha_border: var(--dot_brightRed);
|
|
20
|
+
--zdt_cta_alpha_hover_border: #ab1a18;
|
|
21
|
+
--zdt_cta_alpha_bg: #f8d7d7;
|
|
22
|
+
--zdt_cta_beta_border: var(--dot_brightRed);
|
|
23
|
+
--zdt_cta_grey_10_bg: #f9f6f7;
|
|
24
|
+
--zdt_cta_grey_10_border: #f9f6f7;
|
|
25
|
+
--zdt_cta_grey_15_bg: #ede8e8;
|
|
26
|
+
--zdt_cta_grey_15_border: #ede8e8;
|
|
27
|
+
--zdt_cta_grey_20_bg: #eeeced;
|
|
28
|
+
--zdt_cta_grey_35_bg: #ded3d6;
|
|
29
|
+
--zdt_cta_grey_35_text: #ded3d6;
|
|
30
|
+
--zdt_cta_grey_35_border: #ded3d6;
|
|
31
|
+
--zdt_cta_grey_40_bg: #b9b2b4;
|
|
32
|
+
--zdt_cta_grey_40_text: #b9b2b4;
|
|
33
|
+
--zdt_cta_grey_40_border: #b9b2b4
|
|
34
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='red'] {
|
|
2
|
+
/* stencil */
|
|
3
|
+
--zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
|
|
4
|
+
--zdt_stencil_dark_gradient_bg: linear-gradient(to left, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
|
|
5
|
+
|
|
6
|
+
/* dropbox */
|
|
7
|
+
--zdt_dropbox_dark_bg: #34222d;
|
|
8
|
+
|
|
9
|
+
/* listitem */
|
|
10
|
+
--zdt_listitem_dark_bg: #34222d;
|
|
11
|
+
--zdt_listitem_dark_text: #d0d0d4;
|
|
12
|
+
--zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
|
|
13
|
+
--zdt_listitem_dark_active_bg: #4d3243;
|
|
14
|
+
--zdt_listitem_dark_tickicon: #e57717;
|
|
15
|
+
|
|
16
|
+
/* tag */
|
|
17
|
+
--zdt_tag_dark_text: #d0d0d4;
|
|
18
|
+
--zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
|
|
19
|
+
--zdt_tag_dark_hover_text: #d0d0d4;
|
|
20
|
+
--zdt_tag_dark_hover_bg: var(--dot_matterhorn);
|
|
21
|
+
--zdt_tag_dark_close_bg: #864654;
|
|
22
|
+
--zdt_tag_dark_close_text: var(--dot_brightRed);
|
|
23
|
+
|
|
24
|
+
/* multiselect */
|
|
25
|
+
--zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
|
|
26
|
+
--zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
|
|
27
|
+
--zdt_multiselect_darkmsg_text: #d0d0d4;
|
|
28
|
+
--zdt_multiselect_darkdelete_hover_text: var(--dot_white);
|
|
29
|
+
|
|
30
|
+
/* avatar */
|
|
31
|
+
--zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
|
|
32
|
+
--zdt_avatar_white_text: var(--dot_white);
|
|
33
|
+
|
|
34
|
+
/* label */
|
|
35
|
+
--zdt_label_dark_text: #d0d0d4;
|
|
36
|
+
|
|
37
|
+
/* textbox */
|
|
38
|
+
--zdt_textbox_light_text: var(--dot_white);
|
|
39
|
+
|
|
40
|
+
/* dropdown */
|
|
41
|
+
--zdt_dropdown_darkheading_text: var(--dot_white);
|
|
42
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='yellow'] {
|
|
2
|
+
--zdt_cta_primary_text: #b68c07;
|
|
3
|
+
--zdt_cta_primary_hover_text: #826800;
|
|
4
|
+
--zdt_cta_primary_bg: #e8b923;
|
|
5
|
+
--zdt_cta_primary_hover_bg: #b59100;
|
|
6
|
+
--zdt_cta_primary_border: #e8b923;
|
|
7
|
+
--zdt_cta_primary_hover_border: #b59100;
|
|
8
|
+
--zdt_cta_primary_box_shadow: rgba(232, 185, 35, 0.2);
|
|
9
|
+
--zdt_cta_primary_hover_box_shadow: rgba(181, 145, 0, 0.25);
|
|
10
|
+
--zdt_cta_primary_light_bg: #fdf8e9;
|
|
11
|
+
--zdt_cta_primary_light_hover_bg: #f8eabd;
|
|
12
|
+
--zdt_cta_primary_light_border: #f8eabd;
|
|
13
|
+
--zdt_cta_secondary_bg: #e8b923;
|
|
14
|
+
--zdt_cta_secondary_text: var(--dot_black);
|
|
15
|
+
--zdt_cta_secondary_border: rgba(255, 255, 255, 0.2);
|
|
16
|
+
--zdt_cta_secondary_light_border: #f6e3a7;
|
|
17
|
+
--zdt_cta_alpha_text: #b68c07;
|
|
18
|
+
--zdt_cta_alpha_hover_text: #826800;
|
|
19
|
+
--zdt_cta_alpha_border: #b68c07;
|
|
20
|
+
--zdt_cta_alpha_hover_border: #826800;
|
|
21
|
+
--zdt_cta_alpha_bg: #f8eabd;
|
|
22
|
+
--zdt_cta_beta_border: #b68c07;
|
|
23
|
+
--zdt_cta_grey_10_bg: #f8f8f6;
|
|
24
|
+
--zdt_cta_grey_10_border: #f8f8f6;
|
|
25
|
+
--zdt_cta_grey_15_bg: #edede3;
|
|
26
|
+
--zdt_cta_grey_15_border: #edede3;
|
|
27
|
+
--zdt_cta_grey_20_bg: #efefec;
|
|
28
|
+
--zdt_cta_grey_35_bg: #e0dbcc;
|
|
29
|
+
--zdt_cta_grey_35_text: #e0dbcc;
|
|
30
|
+
--zdt_cta_grey_35_border: #e0dbcc;
|
|
31
|
+
--zdt_cta_grey_40_bg: #ccc2a4;
|
|
32
|
+
--zdt_cta_grey_40_text: #ccc2a4;
|
|
33
|
+
--zdt_cta_grey_40_border: #ccc2a4
|
|
34
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[data-mode='default'][data-theme='yellow'] {
|
|
2
|
+
/* stencil */
|
|
3
|
+
--zdt_stencil_dark_bg: rgba(255, 255, 255, 0.07);
|
|
4
|
+
--zdt_stencil_dark_gradient_bg: linear-gradient(to left, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 33.33%, rgba(255, 255, 255, 0.03) 66.66%, rgba(255, 255, 255, 0.07) 100%);
|
|
5
|
+
|
|
6
|
+
/* dropbox */
|
|
7
|
+
--zdt_dropbox_dark_bg: #313323;
|
|
8
|
+
|
|
9
|
+
/* listitem */
|
|
10
|
+
--zdt_listitem_dark_bg: #313323;
|
|
11
|
+
--zdt_listitem_dark_text: #d0d0d4;
|
|
12
|
+
--zdt_listitem_dark_effect_bg: rgba(255, 255, 255, 0.12);
|
|
13
|
+
--zdt_listitem_dark_active_bg: #494c34;
|
|
14
|
+
--zdt_listitem_dark_tickicon: #e8b923;
|
|
15
|
+
|
|
16
|
+
/* tag */
|
|
17
|
+
--zdt_tag_dark_text: #d0d0d4;
|
|
18
|
+
--zdt_tag_dark_bg: rgba(255, 255, 255, 0.07);
|
|
19
|
+
--zdt_tag_dark_hover_text: #d0d0d4;
|
|
20
|
+
--zdt_tag_dark_hover_bg: var(--dot_matterhorn);
|
|
21
|
+
--zdt_tag_dark_close_bg: #864654;
|
|
22
|
+
--zdt_tag_dark_close_text: var(--dot_brightRed);
|
|
23
|
+
|
|
24
|
+
/* multiselect */
|
|
25
|
+
--zdt_multiselect_dark_border: rgba(255, 255, 255, 0.2);
|
|
26
|
+
--zdt_multiselect_darkmsg_bg: rgba(255, 255, 255, 0.02);
|
|
27
|
+
--zdt_multiselect_darkmsg_text: #d0d0d4;
|
|
28
|
+
--zdt_multiselect_darkdelete_hover_text: var(--dot_white);
|
|
29
|
+
|
|
30
|
+
/* avatar */
|
|
31
|
+
--zdt_avatar_white_border: rgba(255, 255, 255, 0.2);
|
|
32
|
+
--zdt_avatar_white_text: var(--dot_white);
|
|
33
|
+
|
|
34
|
+
/* label */
|
|
35
|
+
--zdt_label_dark_text: #d0d0d4;
|
|
36
|
+
|
|
37
|
+
/* textbox */
|
|
38
|
+
--zdt_textbox_light_text: var(--dot_white);
|
|
39
|
+
|
|
40
|
+
/* dropdown */
|
|
41
|
+
--zdt_dropdown_darkheading_text: var(--dot_white);
|
|
42
|
+
}
|
|
@@ -7,9 +7,9 @@ export default class Animation__default extends React.Component {
|
|
|
7
7
|
let styles = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__fadeIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__scaleIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__skewIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__slideDown extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__slideLeft extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -7,9 +7,9 @@ export default class Animation__zoomIn extends React.Component {
|
|
|
7
7
|
let style = {
|
|
8
8
|
width: '200px',
|
|
9
9
|
height: '100px',
|
|
10
|
-
background: 'var(--
|
|
10
|
+
background: 'var(--dot_black)',
|
|
11
11
|
textAlign: 'center',
|
|
12
|
-
color: 'var(--
|
|
12
|
+
color: 'var(--dot_white)',
|
|
13
13
|
lineHeight: '100px'
|
|
14
14
|
};
|
|
15
15
|
return /*#__PURE__*/React.createElement(Container, {
|
|
@@ -5,13 +5,13 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import { Container, Box } from '../Layout';
|
|
6
6
|
import Tooltip from '../Tooltip/Tooltip';
|
|
7
7
|
import '../common/basic.module.css';
|
|
8
|
-
import '@zohodesk/variables/
|
|
9
|
-
import '@zohodesk/variables/
|
|
10
|
-
import '@zohodesk/variables/
|
|
11
|
-
import '@zohodesk/variables/
|
|
8
|
+
import '@zohodesk/variables/assets/colorVariables.module.css';
|
|
9
|
+
import '@zohodesk/variables/assets/dotVariables.module.css';
|
|
10
|
+
import '@zohodesk/variables/assets/sizeVariables.module.css';
|
|
11
|
+
import '@zohodesk/variables/assets/fontsizeVariables.module.css';
|
|
12
12
|
import '@zohodesk/variables/lib/fontFamilyVariables.module.css';
|
|
13
|
-
import '@zohodesk/variables/
|
|
14
|
-
import '@zohodesk/variables/
|
|
13
|
+
import '@zohodesk/variables/assets/transitionVariables.module.css';
|
|
14
|
+
import '@zohodesk/variables/assets/no_transitionVariables.module.css';
|
|
15
15
|
import style from './AppContainer.module.css';
|
|
16
16
|
import { getLibraryConfig } from '../Provider/Config';
|
|
17
17
|
export default class AppContainer extends React.Component {
|
|
@@ -6,7 +6,7 @@ export default class AvatarTeam__palette extends React.Component {
|
|
|
6
6
|
render() {
|
|
7
7
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
8
8
|
style: {
|
|
9
|
-
background: 'var(--
|
|
9
|
+
background: 'var(--dot_black)',
|
|
10
10
|
display: 'inline-block'
|
|
11
11
|
}
|
|
12
12
|
}, /*#__PURE__*/React.createElement("span", {
|
package/es/Card/Card.module.css
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
position: relative;
|
|
3
3
|
}
|
|
4
4
|
.scroll {
|
|
5
|
-
/* background: var(--
|
|
5
|
+
/* background: var(--dot_white);
|
|
6
6
|
position: relative; */
|
|
7
7
|
}
|
|
8
|
-
/*
|
|
8
|
+
/*
|
|
9
9
|
.scroll::after {
|
|
10
|
-
box-shadow: 0 0 6px var(--
|
|
10
|
+
box-shadow: 0 0 6px var(--zd_dark10);
|
|
11
11
|
border-radius: 100px / 10px;
|
|
12
12
|
content: '';
|
|
13
13
|
left: var(--zd_size50);
|
|
@@ -12,15 +12,15 @@ export default class Card__Default extends Component {
|
|
|
12
12
|
isScrollAttribute: true
|
|
13
13
|
}, /*#__PURE__*/React.createElement(CardHeader, null, /*#__PURE__*/React.createElement(Box, {
|
|
14
14
|
style: {
|
|
15
|
-
color: 'var(--
|
|
16
|
-
background: 'var(--
|
|
15
|
+
color: 'var(--dot_white)',
|
|
16
|
+
background: 'var(--dot_black)'
|
|
17
17
|
}
|
|
18
18
|
}, "Header")), /*#__PURE__*/React.createElement(CardContent, {
|
|
19
19
|
isScrollAttribute: true
|
|
20
20
|
}, /*#__PURE__*/React.createElement(Box, null, "What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32. What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32. What is Lorem Ipsum? Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. Why do we use it? It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). Where does it come from? Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.")), /*#__PURE__*/React.createElement(CardFooter, null, /*#__PURE__*/React.createElement(Box, {
|
|
21
21
|
style: {
|
|
22
|
-
color: 'var(--
|
|
23
|
-
background: 'var(--
|
|
22
|
+
color: 'var(--dot_white)',
|
|
23
|
+
background: 'var(--dot_black)'
|
|
24
24
|
}
|
|
25
25
|
}, "Footer")))));
|
|
26
26
|
}
|
|
@@ -30,8 +30,8 @@ export default class Card__Scroll extends Component {
|
|
|
30
30
|
fetchData: this.fetchData
|
|
31
31
|
}, /*#__PURE__*/React.createElement(CardHeader, null, /*#__PURE__*/React.createElement(Box, {
|
|
32
32
|
style: {
|
|
33
|
-
color: 'var(--
|
|
34
|
-
background: 'var(--
|
|
33
|
+
color: 'var(--dot_white)',
|
|
34
|
+
background: 'var(--dot_black)'
|
|
35
35
|
}
|
|
36
36
|
}, "Header")), /*#__PURE__*/React.createElement(CardContent, null, data.map((val, index) => /*#__PURE__*/React.createElement("div", {
|
|
37
37
|
key: index,
|
|
@@ -41,8 +41,8 @@ export default class Card__Scroll extends Component {
|
|
|
41
41
|
}
|
|
42
42
|
}, val))), /*#__PURE__*/React.createElement(CardFooter, null, /*#__PURE__*/React.createElement(Box, {
|
|
43
43
|
style: {
|
|
44
|
-
color: 'var(--
|
|
45
|
-
background: 'var(--
|
|
44
|
+
color: 'var(--dot_white)',
|
|
45
|
+
background: 'var(--dot_black)'
|
|
46
46
|
}
|
|
47
47
|
}, "Footer"))));
|
|
48
48
|
}
|
|
@@ -40,7 +40,7 @@ export default class Layout__three_Column extends React.Component {
|
|
|
40
40
|
hidden: ['xs']
|
|
41
41
|
}, /*#__PURE__*/React.createElement("div", {
|
|
42
42
|
style: {
|
|
43
|
-
background: 'var(--
|
|
43
|
+
background: 'var(--dot_black)',
|
|
44
44
|
width: '220px',
|
|
45
45
|
height: '100%'
|
|
46
46
|
}
|
|
@@ -292,7 +292,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
292
292
|
} = this.props;
|
|
293
293
|
const highLightedSelectOptionsLen = highLightedSelectOptions.length;
|
|
294
294
|
|
|
295
|
-
if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27)) {
|
|
295
|
+
if (isPopupOpen && (keyCode === 38 || keyCode === 40 || keyCode === 13 || keyCode === 27 || keyCode === 9)) {
|
|
296
296
|
suggestions = this.handleFilterSuggestions();
|
|
297
297
|
}
|
|
298
298
|
|
|
@@ -420,6 +420,13 @@ export class MultiSelectComponent extends React.Component {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
} else if (keyCode === 27) {// this.handlePopupClose(e);
|
|
423
|
+
} else if (keyCode === 9) {
|
|
424
|
+
const selectedOption = suggestions[hoverOption] || {};
|
|
425
|
+
const {
|
|
426
|
+
id
|
|
427
|
+
} = selectedOption;
|
|
428
|
+
isPopupOpen && !getIsEmptyValue(id) && this.handleSelectOption(id, e);
|
|
429
|
+
this.handlePopupClose(e);
|
|
423
430
|
}
|
|
424
431
|
}
|
|
425
432
|
|
package/es/Provider.js
CHANGED
|
@@ -4,30 +4,30 @@ import { Container } from './Layout';
|
|
|
4
4
|
import Switch from './Switch/Switch';
|
|
5
5
|
/* default mode & theme css */
|
|
6
6
|
|
|
7
|
-
import '
|
|
8
|
-
import '
|
|
9
|
-
import '
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
14
|
-
import '
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
7
|
+
import '../assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css';
|
|
8
|
+
import '../assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css';
|
|
9
|
+
import '../assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css';
|
|
10
|
+
import '../assets/Appearance/default/themes/red/redDefaultCTATheme.module.css';
|
|
11
|
+
import '../assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css';
|
|
12
|
+
import '../assets/Appearance/default/themes/blue/blueDefaultComponentTheme.module.css';
|
|
13
|
+
import '../assets/Appearance/default/themes/green/greenDefaultComponentTheme.module.css';
|
|
14
|
+
import '../assets/Appearance/default/themes/orange/orangeDefaultComponentTheme.module.css';
|
|
15
|
+
import '../assets/Appearance/default/themes/red/redDefaultComponentTheme.module.css';
|
|
16
|
+
import '../assets/Appearance/default/themes/yellow/yellowDefaultComponentTheme.module.css';
|
|
17
|
+
import '../assets/Appearance/default/mode/defaultMode.module.css';
|
|
18
18
|
/* dark mode & theme css */
|
|
19
19
|
|
|
20
|
-
import '
|
|
21
|
-
import '
|
|
22
|
-
import '
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
27
|
-
import '
|
|
28
|
-
import '
|
|
29
|
-
import '
|
|
30
|
-
import '
|
|
20
|
+
import '../assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css';
|
|
21
|
+
import '../assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css';
|
|
22
|
+
import '../assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css';
|
|
23
|
+
import '../assets/Appearance/dark/themes/red/redDarkCTATheme.module.css';
|
|
24
|
+
import '../assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css';
|
|
25
|
+
import '../assets/Appearance/dark/themes/blue/blueDarkComponentTheme.module.css';
|
|
26
|
+
import '../assets/Appearance/dark/themes/green/greenDarkComponentTheme.module.css';
|
|
27
|
+
import '../assets/Appearance/dark/themes/orange/orangeDarkComponentTheme.module.css';
|
|
28
|
+
import '../assets/Appearance/dark/themes/red/redDarkComponentTheme.module.css';
|
|
29
|
+
import '../assets/Appearance/dark/themes/yellow/yellowDarkComponentTheme.module.css';
|
|
30
|
+
import '../assets/Appearance/dark/mode/darkMode.module.css';
|
|
31
31
|
import LibraryContext from './Provider/LibraryContextInit';
|
|
32
32
|
import { setGlobalIdPrefix } from './Provider/IdProvider';
|
|
33
33
|
export default class Provider extends React.Component {
|
|
@@ -86,7 +86,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
86
86
|
fontSize: '13px',
|
|
87
87
|
padding: '4px 9px 7px',
|
|
88
88
|
cursor: 'pointer',
|
|
89
|
-
color: 'var(--
|
|
89
|
+
color: 'var(--dot_strongGreen)'
|
|
90
90
|
}
|
|
91
91
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
92
92
|
style: {
|
|
@@ -100,7 +100,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
100
100
|
fontSize: '13px',
|
|
101
101
|
padding: '4px 9px 7px',
|
|
102
102
|
cursor: 'pointer',
|
|
103
|
-
color: 'var(--
|
|
103
|
+
color: 'var(--dot_brightRed)'
|
|
104
104
|
}
|
|
105
105
|
}, "Danger")))), /*#__PURE__*/React.createElement("div", {
|
|
106
106
|
style: boxStyle
|
|
@@ -162,7 +162,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
162
162
|
fontSize: '13px',
|
|
163
163
|
padding: '4px 9px 7px',
|
|
164
164
|
cursor: 'pointer',
|
|
165
|
-
color: 'var(--
|
|
165
|
+
color: 'var(--dot_strongGreen)'
|
|
166
166
|
}
|
|
167
167
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
168
168
|
style: {
|
|
@@ -177,7 +177,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
177
177
|
fontSize: '13px',
|
|
178
178
|
padding: '4px 9px 7px',
|
|
179
179
|
cursor: 'pointer',
|
|
180
|
-
color: 'var(--
|
|
180
|
+
color: 'var(--dot_brightRed)'
|
|
181
181
|
}
|
|
182
182
|
}, "Danger")))), /*#__PURE__*/React.createElement("div", {
|
|
183
183
|
style: boxStyle
|
|
@@ -223,7 +223,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
223
223
|
fontSize: '13px',
|
|
224
224
|
padding: '4px 9px 7px',
|
|
225
225
|
cursor: 'pointer',
|
|
226
|
-
color: 'var(--
|
|
226
|
+
color: 'var(--dot_strongGreen)'
|
|
227
227
|
}
|
|
228
228
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
229
229
|
style: {
|
|
@@ -238,7 +238,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
238
238
|
fontSize: '13px',
|
|
239
239
|
padding: '4px 9px 7px',
|
|
240
240
|
cursor: 'pointer',
|
|
241
|
-
color: 'var(--
|
|
241
|
+
color: 'var(--dot_brightRed)'
|
|
242
242
|
}
|
|
243
243
|
}, "Danger"))), /*#__PURE__*/React.createElement("div", {
|
|
244
244
|
style: {
|
|
@@ -328,7 +328,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
328
328
|
style: {
|
|
329
329
|
fontSize: '13px',
|
|
330
330
|
padding: '4px 9px 7px',
|
|
331
|
-
color: 'var(--
|
|
331
|
+
color: 'var(--dot_strongGreen)'
|
|
332
332
|
}
|
|
333
333
|
}, "Green")))), /*#__PURE__*/React.createElement("div", {
|
|
334
334
|
style: boxStyle
|
|
@@ -405,7 +405,7 @@ export default class RippleEffect__default extends React.Component {
|
|
|
405
405
|
fontSize: '13px',
|
|
406
406
|
padding: '4px 9px 7px',
|
|
407
407
|
cursor: 'pointer',
|
|
408
|
-
color: 'var(--
|
|
408
|
+
color: 'var(--dot_strongGreen)'
|
|
409
409
|
}
|
|
410
410
|
}, "Green"))), /*#__PURE__*/React.createElement("div", {
|
|
411
411
|
style: {
|
package/es/Select/Select.js
CHANGED
|
@@ -346,6 +346,20 @@ export class SelectComponent extends Component {
|
|
|
346
346
|
this.valueInput && this.valueInput.focus({
|
|
347
347
|
preventScroll: true
|
|
348
348
|
}); //this.handlePopupClose(e);
|
|
349
|
+
} else if (keyCode === 9) {
|
|
350
|
+
let option = options[hoverIndex];
|
|
351
|
+
let {
|
|
352
|
+
id
|
|
353
|
+
} = option || {};
|
|
354
|
+
|
|
355
|
+
if (isPopupOpen && !getIsEmptyValue(id)) {
|
|
356
|
+
onChange && onChange(id, optionsNormalize[id]);
|
|
357
|
+
needCloseOnSelect && this.handlePopupClose(e);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (!isPopupOpen && isPopupOpenOnEnter) {
|
|
361
|
+
this.togglePopup(e);
|
|
362
|
+
}
|
|
349
363
|
}
|
|
350
364
|
}
|
|
351
365
|
|
|
@@ -14,28 +14,18 @@
|
|
|
14
14
|
background-size: 800px 1px;
|
|
15
15
|
}
|
|
16
16
|
[dir=ltr] .stencil {
|
|
17
|
-
animation-
|
|
17
|
+
animation-name: placeHolderShimmer-ltr ;
|
|
18
18
|
animation-fill-mode: forwards;
|
|
19
19
|
animation-iteration-count: infinite;
|
|
20
|
-
animation-
|
|
20
|
+
animation-duration: var(--zd_transition10);
|
|
21
21
|
animation-timing-function: linear;
|
|
22
|
-
-webkit-animation-duration: var(--zd_transition10);
|
|
23
|
-
-webkit-animation-fill-mode: forwards;
|
|
24
|
-
-webkit-animation-iteration-count: infinite;
|
|
25
|
-
-webkit-animation-name: placeHolderShimmer-ltr ;
|
|
26
|
-
-webkit-animation-timing-function: linear;
|
|
27
22
|
}
|
|
28
23
|
[dir=rtl] .stencil {
|
|
29
|
-
animation-
|
|
24
|
+
animation-name: placeHolderShimmer-rtl ;
|
|
30
25
|
animation-fill-mode: forwards;
|
|
31
26
|
animation-iteration-count: infinite;
|
|
32
|
-
animation-
|
|
27
|
+
animation-duration: var(--zd_transition10);
|
|
33
28
|
animation-timing-function: linear;
|
|
34
|
-
-webkit-animation-duration: var(--zd_transition10);
|
|
35
|
-
-webkit-animation-fill-mode: forwards;
|
|
36
|
-
-webkit-animation-iteration-count: infinite;
|
|
37
|
-
-webkit-animation-name: placeHolderShimmer-rtl ;
|
|
38
|
-
-webkit-animation-timing-function: linear;
|
|
39
29
|
}
|
|
40
30
|
@keyframes placeHolderShimmer-ltr {
|
|
41
31
|
0% {
|