@zohodesk/components 1.0.0-temp-120 → 1.0.0-temp-122
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 +1132 -1130
- package/assets/Appearance/dark/mode/darkMode.module.css +195 -195
- package/assets/Appearance/dark/themes/blue/blueDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/dark/themes/blue/blueDarkCTATheme.module.css +32 -32
- package/assets/Appearance/dark/themes/green/greenDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/dark/themes/green/greenDarkCTATheme.module.css +32 -32
- package/assets/Appearance/dark/themes/orange/orangeDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/dark/themes/orange/orangeDarkCTATheme.module.css +32 -32
- package/assets/Appearance/dark/themes/red/redDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/dark/themes/red/redDarkCTATheme.module.css +32 -32
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/dark/themes/yellow/yellowDarkCTATheme.module.css +32 -32
- package/assets/Appearance/default/mode/defaultMode.module.css +191 -191
- package/assets/Appearance/default/themes/blue/blueDefaultCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/default/themes/blue/blueDefaultCTATheme.module.css +32 -32
- package/assets/Appearance/default/themes/green/greenDefaultCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/default/themes/green/greenDefaultCTATheme.module.css +32 -32
- package/assets/Appearance/default/themes/orange/orangeDefaultCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/default/themes/orange/orangeDefaultCTATheme.module.css +32 -32
- package/assets/Appearance/default/themes/red/redDefaultCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/default/themes/red/redDefaultCTATheme.module.css +32 -32
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/default/themes/yellow/yellowDefaultCTATheme.module.css +32 -32
- package/assets/Appearance/pureDark/mode/pureDarkMode.module.css +197 -197
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/pureDark/themes/blue/bluePureDarkCTATheme.module.css +32 -32
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/pureDark/themes/green/greenPureDarkCTATheme.module.css +32 -32
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/pureDark/themes/orange/orangePureDarkCTATheme.module.css +32 -32
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/pureDark/themes/red/redPureDarkCTATheme.module.css +32 -32
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTAModifyCategory.module.css +68 -0
- package/assets/Appearance/pureDark/themes/yellow/yellowPureDarkCTATheme.module.css +32 -32
- package/assets/Contrast/darkContrastLightness.module.css +27 -0
- package/assets/Contrast/defaultContrastLightness.module.css +27 -0
- package/assets/Contrast/pureDarkContrastLightness.module.css +27 -0
- package/css_error.log +5 -0
- package/docs/external/active-line.js +72 -72
- package/docs/external/autorefresh.js +47 -47
- package/docs/external/codemirror.js +9681 -9681
- package/docs/external/css/hopscotch.css +576 -576
- package/docs/external/css/styleGuide.css +1100 -1100
- package/docs/external/css.js +466 -466
- package/docs/external/designTokens.js +1 -1
- package/docs/external/foldcode.js +151 -151
- package/docs/external/format.js +129 -129
- package/docs/external/htmlmixed.js +84 -84
- package/docs/external/index.html +127 -127
- package/docs/external/javascript.js +422 -422
- package/docs/external/jsx.js +147 -147
- package/docs/external/matchbrackets.js +145 -145
- package/docs/external/xml.js +322 -322
- package/docs/package.json +41 -41
- package/docs/src/index.js +1311 -1311
- package/es/AppContainer/AppContainer.js +1 -0
- package/es/AppContainer/AppContainer.module.css +18 -18
- package/es/Avatar/Avatar.js +16 -19
- package/es/Avatar/Avatar.module.css +168 -138
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/es/Avatar/props/defaultProps.js +1 -3
- package/es/Avatar/props/propTypes.js +1 -3
- package/es/AvatarTeam/AvatarTeam.js +9 -15
- package/es/AvatarTeam/AvatarTeam.module.css +161 -170
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/es/AvatarTeam/props/defaultProps.js +1 -4
- package/es/AvatarTeam/props/propTypes.js +0 -3
- package/es/Button/Button.js +4 -4
- package/es/Button/Button.module.css +543 -525
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/es/Buttongroup/Buttongroup.js +1 -1
- package/es/Buttongroup/Buttongroup.module.css +107 -89
- 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 +0 -0
- package/es/DateTime/DateTime.js +0 -0
- package/es/DateTime/DateTime.module.css +235 -235
- package/es/DateTime/DateWidget.js +6 -2
- package/es/DateTime/DateWidget.module.css +38 -38
- package/es/DateTime/YearView.js +0 -0
- package/es/DateTime/YearView.module.css +98 -98
- package/es/DateTime/common.js +0 -0
- package/es/DateTime/index.js +0 -0
- package/es/DateTime/objectUtils.js +0 -0
- package/es/DateTime/props/propTypes.js +3 -1
- package/es/DateTime/typeChecker.js +0 -0
- package/es/DateTime/validator.js +0 -0
- package/es/DropBox/DropBox.js +0 -0
- package/es/DropBox/DropBox.module.css +489 -406
- package/es/DropBox/DropBoxPositionMapping.json +144 -144
- 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.module.css +4 -4
- package/es/Label/Label.js +2 -2
- 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 +0 -0
- package/es/ListItem/ListItem.module.css +209 -209
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.js +5 -5
- package/es/MultiSelect/MultiSelect.module.css +205 -205
- 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 +454 -376
- 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 -110
- package/es/Tab/Tab.module.css +101 -101
- package/es/Tab/TabContent.module.css +4 -4
- package/es/Tab/Tabs.js +17 -17
- package/es/Tab/Tabs.module.css +144 -140
- package/es/Tag/Tag.js +8 -8
- package/es/Tag/Tag.module.css +254 -254
- package/es/TextBox/TextBox.js +0 -0
- package/es/TextBox/TextBox.module.css +157 -157
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/es/TextBoxIcon/TextBoxIcon.js +0 -0
- package/es/TextBoxIcon/TextBoxIcon.module.css +78 -78
- 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 +134 -109
- package/es/common/a11y.module.css +3 -3
- package/es/common/animation.module.css +624 -624
- package/es/common/avatarsizes.module.css +44 -44
- package/es/common/basic.module.css +33 -33
- package/es/common/basicReset.module.css +40 -40
- package/es/common/boxShadow.module.css +77 -0
- package/es/common/common.module.css +524 -524
- package/es/common/customscroll.module.css +89 -89
- package/es/common/reset.module.css +12 -12
- package/es/common/transition.module.css +146 -146
- package/es/deprecated/AdvancedMultiSelect.module.css +126 -126
- 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.js +1 -0
- package/lib/AppContainer/AppContainer.module.css +18 -18
- package/lib/Avatar/Avatar.js +16 -19
- package/lib/Avatar/Avatar.module.css +168 -138
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +288 -288
- package/lib/Avatar/props/defaultProps.js +1 -3
- package/lib/Avatar/props/propTypes.js +1 -3
- package/lib/AvatarTeam/AvatarTeam.js +9 -15
- package/lib/AvatarTeam/AvatarTeam.module.css +161 -170
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +226 -226
- package/lib/AvatarTeam/props/defaultProps.js +1 -4
- package/lib/AvatarTeam/props/propTypes.js +0 -3
- package/lib/Button/Button.js +4 -4
- package/lib/Button/Button.module.css +543 -525
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +191 -191
- package/lib/Buttongroup/Buttongroup.js +1 -1
- package/lib/Buttongroup/Buttongroup.module.css +107 -89
- 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 +0 -0
- package/lib/DateTime/DateTime.js +0 -0
- package/lib/DateTime/DateTime.module.css +235 -235
- package/lib/DateTime/DateWidget.js +6 -2
- package/lib/DateTime/DateWidget.module.css +38 -38
- package/lib/DateTime/YearView.js +0 -0
- package/lib/DateTime/YearView.module.css +98 -98
- package/lib/DateTime/common.js +0 -0
- package/lib/DateTime/index.js +0 -0
- package/lib/DateTime/objectUtils.js +0 -0
- package/lib/DateTime/props/propTypes.js +3 -1
- package/lib/DateTime/typeChecker.js +0 -0
- package/lib/DateTime/validator.js +0 -0
- package/lib/DropBox/DropBox.js +0 -0
- package/lib/DropBox/DropBox.module.css +489 -406
- package/lib/DropBox/DropBoxPositionMapping.json +144 -144
- 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.module.css +4 -4
- package/lib/Label/Label.js +0 -0
- 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 +0 -0
- package/lib/ListItem/ListItem.module.css +209 -209
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.js +5 -5
- package/lib/MultiSelect/MultiSelect.module.css +205 -205
- 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 +454 -376
- 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 -110
- package/lib/Tab/Tab.module.css +101 -101
- package/lib/Tab/TabContent.module.css +4 -4
- package/lib/Tab/Tabs.js +11 -11
- package/lib/Tab/Tabs.module.css +144 -140
- package/lib/Tag/Tag.js +8 -8
- package/lib/Tag/Tag.module.css +254 -254
- package/lib/TextBox/TextBox.js +0 -0
- package/lib/TextBox/TextBox.module.css +157 -157
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +127 -127
- package/lib/TextBoxIcon/TextBoxIcon.js +0 -0
- package/lib/TextBoxIcon/TextBoxIcon.module.css +78 -78
- 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 +134 -109
- package/lib/common/a11y.module.css +3 -3
- package/lib/common/animation.module.css +624 -624
- package/lib/common/avatarsizes.module.css +44 -44
- package/lib/common/basic.module.css +33 -33
- package/lib/common/basicReset.module.css +40 -40
- package/lib/common/boxShadow.module.css +77 -0
- package/lib/common/common.module.css +524 -524
- package/lib/common/customscroll.module.css +89 -89
- package/lib/common/reset.module.css +12 -12
- package/lib/common/transition.module.css +146 -146
- package/lib/deprecated/AdvancedMultiSelect.module.css +126 -126
- 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 +102 -102
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
.wrapper {
|
|
2
|
-
position: relative;
|
|
3
|
-
}
|
|
4
|
-
.disabled, .readOnly {
|
|
5
|
-
cursor: not-allowed;
|
|
6
|
-
}
|
|
7
|
-
.container {
|
|
8
|
-
max-height: var(--zd_size120);
|
|
9
|
-
composes: oflowy from '../common/common.module.css';
|
|
10
|
-
}
|
|
11
|
-
.hasBorder {
|
|
12
|
-
transition: border var(--zd_transition2) linear 0s;
|
|
13
|
-
border-bottom-style: solid;
|
|
14
|
-
border-bottom-width: 1px;
|
|
15
|
-
}
|
|
16
|
-
.borderColor_transparent {
|
|
17
|
-
border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
|
|
18
|
-
}
|
|
19
|
-
.effect .borderColor_transparent:hover {
|
|
20
|
-
border-bottom-color: var(--zdt_advancedmultiselect_transparent_hover_border);
|
|
21
|
-
}
|
|
22
|
-
.effect .borderColor_transparent.active {
|
|
23
|
-
border-bottom-color: var(--zdt_advancedmultiselect_transparent_active_border);
|
|
24
|
-
}
|
|
25
|
-
.borderColor_default {
|
|
26
|
-
border-bottom-color: var(--zdt_advancedmultiselect_default_border);
|
|
27
|
-
}
|
|
28
|
-
.effect .borderColor_default:hover {
|
|
29
|
-
border-bottom-color: var(--zdt_advancedmultiselect_default_hover_border);
|
|
30
|
-
}
|
|
31
|
-
.effect .borderColor_default.active {
|
|
32
|
-
border-bottom-color: var(--zdt_advancedmultiselect_default_active_border);
|
|
33
|
-
}
|
|
34
|
-
.borderColor_dark {
|
|
35
|
-
border-bottom-color: var(--zdt_advancedmultiselect_dark_border);
|
|
36
|
-
}
|
|
37
|
-
.effect .borderColor_dark:hover {
|
|
38
|
-
border-bottom-color: var(--zdt_advancedmultiselect_dark_hover_border);
|
|
39
|
-
}
|
|
40
|
-
.effect .borderColor_dark.active {
|
|
41
|
-
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
42
|
-
}
|
|
43
|
-
[dir=ltr] .container.medium {
|
|
44
|
-
padding: 0 var(--zd_size34) var(--zd_size7) 0;
|
|
45
|
-
}
|
|
46
|
-
[dir=rtl] .container.medium {
|
|
47
|
-
padding: 0 0 var(--zd_size7) var(--zd_size34);
|
|
48
|
-
}
|
|
49
|
-
.container.xmedium {
|
|
50
|
-
min-height: var(--zd_size30);
|
|
51
|
-
}
|
|
52
|
-
[dir=ltr] .container.xmedium {
|
|
53
|
-
padding: 0 var(--zd_size34) var(--zd_size1) 0;
|
|
54
|
-
}
|
|
55
|
-
[dir=rtl] .container.xmedium {
|
|
56
|
-
padding: 0 0 var(--zd_size1) var(--zd_size34);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.delete {
|
|
60
|
-
position: absolute;
|
|
61
|
-
bottom: 0;
|
|
62
|
-
color: var(--zdt_advancedmultiselect_delete_text);
|
|
63
|
-
padding-bottom: var(--zd_size10);
|
|
64
|
-
cursor: pointer;
|
|
65
|
-
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
66
|
-
border: 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
[dir=ltr] .delete {
|
|
70
|
-
right: var(--zd_size15);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
[dir=rtl] .delete {
|
|
74
|
-
left: var(--zd_size15);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.delete:hover {
|
|
78
|
-
color: var(--zdt_advancedmultiselect_delete_hover_text);
|
|
79
|
-
}
|
|
80
|
-
.transparentContainer .delete {
|
|
81
|
-
opacity: 0;
|
|
82
|
-
visibility: hidden;
|
|
83
|
-
}
|
|
84
|
-
.transparentContainer:hover .delete {
|
|
85
|
-
opacity: 1;
|
|
86
|
-
visibility: visible;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.box {
|
|
90
|
-
background: var(--zdt_advancedmultiselect_box_bg);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.small {
|
|
94
|
-
max-height: var(--zd_size200);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.medium {
|
|
98
|
-
max-height: var(--zd_size350);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.large {
|
|
102
|
-
max-height: var(--zd_size400);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.dropContainer {
|
|
106
|
-
display: inline-block;
|
|
107
|
-
max-width: 100%;
|
|
108
|
-
margin-bottom: var(--zd_size5);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.dropPopup {
|
|
112
|
-
font-size: var(--zd_font_size13);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.dropPopup :global .toggleDropIcon {
|
|
116
|
-
color: var(--zdt_advancedmultiselect_droppopup_text);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.more {
|
|
120
|
-
font-size: var(--zd_font_size14);
|
|
121
|
-
color: var(--zdt_advancedmultiselect_more_text);
|
|
122
|
-
font-family: inherit;
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
margin-top: var(--zd_size5);
|
|
125
|
-
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
126
|
-
border: 0;
|
|
1
|
+
.wrapper {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.disabled, .readOnly {
|
|
5
|
+
cursor: not-allowed;
|
|
6
|
+
}
|
|
7
|
+
.container {
|
|
8
|
+
max-height: var(--zd_size120);
|
|
9
|
+
composes: oflowy from '../common/common.module.css';
|
|
10
|
+
}
|
|
11
|
+
.hasBorder {
|
|
12
|
+
transition: border var(--zd_transition2) linear 0s;
|
|
13
|
+
border-bottom-style: solid;
|
|
14
|
+
border-bottom-width: 1px;
|
|
15
|
+
}
|
|
16
|
+
.borderColor_transparent {
|
|
17
|
+
border-bottom-color: var(--zdt_advancedmultiselect_transparent_border);
|
|
18
|
+
}
|
|
19
|
+
.effect .borderColor_transparent:hover {
|
|
20
|
+
border-bottom-color: var(--zdt_advancedmultiselect_transparent_hover_border);
|
|
21
|
+
}
|
|
22
|
+
.effect .borderColor_transparent.active {
|
|
23
|
+
border-bottom-color: var(--zdt_advancedmultiselect_transparent_active_border);
|
|
24
|
+
}
|
|
25
|
+
.borderColor_default {
|
|
26
|
+
border-bottom-color: var(--zdt_advancedmultiselect_default_border);
|
|
27
|
+
}
|
|
28
|
+
.effect .borderColor_default:hover {
|
|
29
|
+
border-bottom-color: var(--zdt_advancedmultiselect_default_hover_border);
|
|
30
|
+
}
|
|
31
|
+
.effect .borderColor_default.active {
|
|
32
|
+
border-bottom-color: var(--zdt_advancedmultiselect_default_active_border);
|
|
33
|
+
}
|
|
34
|
+
.borderColor_dark {
|
|
35
|
+
border-bottom-color: var(--zdt_advancedmultiselect_dark_border);
|
|
36
|
+
}
|
|
37
|
+
.effect .borderColor_dark:hover {
|
|
38
|
+
border-bottom-color: var(--zdt_advancedmultiselect_dark_hover_border);
|
|
39
|
+
}
|
|
40
|
+
.effect .borderColor_dark.active {
|
|
41
|
+
border-bottom-color: var(--zdt_advancedmultiselect_dark_active_border);
|
|
42
|
+
}
|
|
43
|
+
[dir=ltr] .container.medium {
|
|
44
|
+
padding: 0 var(--zd_size34) var(--zd_size7) 0;
|
|
45
|
+
}
|
|
46
|
+
[dir=rtl] .container.medium {
|
|
47
|
+
padding: 0 0 var(--zd_size7) var(--zd_size34);
|
|
48
|
+
}
|
|
49
|
+
.container.xmedium {
|
|
50
|
+
min-height: var(--zd_size30);
|
|
51
|
+
}
|
|
52
|
+
[dir=ltr] .container.xmedium {
|
|
53
|
+
padding: 0 var(--zd_size34) var(--zd_size1) 0;
|
|
54
|
+
}
|
|
55
|
+
[dir=rtl] .container.xmedium {
|
|
56
|
+
padding: 0 0 var(--zd_size1) var(--zd_size34);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.delete {
|
|
60
|
+
position: absolute;
|
|
61
|
+
bottom: 0;
|
|
62
|
+
color: var(--zdt_advancedmultiselect_delete_text);
|
|
63
|
+
padding-bottom: var(--zd_size10);
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
66
|
+
border: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[dir=ltr] .delete {
|
|
70
|
+
right: var(--zd_size15);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[dir=rtl] .delete {
|
|
74
|
+
left: var(--zd_size15);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.delete:hover {
|
|
78
|
+
color: var(--zdt_advancedmultiselect_delete_hover_text);
|
|
79
|
+
}
|
|
80
|
+
.transparentContainer .delete {
|
|
81
|
+
opacity: 0;
|
|
82
|
+
visibility: hidden;
|
|
83
|
+
}
|
|
84
|
+
.transparentContainer:hover .delete {
|
|
85
|
+
opacity: 1;
|
|
86
|
+
visibility: visible;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.box {
|
|
90
|
+
background: var(--zdt_advancedmultiselect_box_bg);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.small {
|
|
94
|
+
max-height: var(--zd_size200);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.medium {
|
|
98
|
+
max-height: var(--zd_size350);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.large {
|
|
102
|
+
max-height: var(--zd_size400);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.dropContainer {
|
|
106
|
+
display: inline-block;
|
|
107
|
+
max-width: 100%;
|
|
108
|
+
margin-bottom: var(--zd_size5);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.dropPopup {
|
|
112
|
+
font-size: var(--zd_font_size13);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.dropPopup :global .toggleDropIcon {
|
|
116
|
+
color: var(--zdt_advancedmultiselect_droppopup_text);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.more {
|
|
120
|
+
font-size: var(--zd_font_size14);
|
|
121
|
+
color: var(--zdt_advancedmultiselect_more_text);
|
|
122
|
+
font-family: inherit;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
margin-top: var(--zd_size5);
|
|
125
|
+
background-color: var(--zdt_advancedmultiselect_delete_bg);
|
|
126
|
+
border: 0;
|
|
127
127
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.buttonReset {
|
|
2
|
-
outline: 0;
|
|
3
|
-
font: inherit;
|
|
4
|
-
color: inherit;
|
|
5
|
-
border: inherit;
|
|
6
|
-
background-color: inherit;
|
|
7
|
-
padding: 0;
|
|
8
|
-
text-align: inherit;
|
|
9
|
-
}
|
|
1
|
+
.buttonReset {
|
|
2
|
+
outline: 0;
|
|
3
|
+
font: inherit;
|
|
4
|
+
color: inherit;
|
|
5
|
+
border: inherit;
|
|
6
|
+
background-color: inherit;
|
|
7
|
+
padding: 0;
|
|
8
|
+
text-align: inherit;
|
|
9
|
+
}
|
package/es/utils/Common.js
CHANGED
|
File without changes
|
|
File without changes
|
package/install.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
- For New :
|
|
2
|
-
|
|
3
|
-
# npm i
|
|
4
|
-
# npm run common_package_build
|
|
5
|
-
|
|
6
|
-
For Update:
|
|
7
|
-
|
|
8
|
-
# npm run download
|
|
9
|
-
# npm run common_package_build
|
|
10
|
-
|
|
1
|
+
- For New :
|
|
2
|
+
|
|
3
|
+
# npm i
|
|
4
|
+
# npm run common_package_build
|
|
5
|
+
|
|
6
|
+
For Update:
|
|
7
|
+
|
|
8
|
+
# npm run download
|
|
9
|
+
# npm run common_package_build
|
|
10
|
+
|
|
@@ -19,6 +19,7 @@ require("@zohodesk/variables/lib/fontFamilyVariables.module.css");
|
|
|
19
19
|
require("@zohodesk/variables/assets/transitionVariables.module.css");
|
|
20
20
|
require("@zohodesk/variables/assets/no_transitionVariables.module.css");
|
|
21
21
|
require("../common/a11y.module.css");
|
|
22
|
+
require("../common/boxShadow.module.css");
|
|
22
23
|
var _AppContainerModule = _interopRequireDefault(require("./AppContainer.module.css"));
|
|
23
24
|
var _Config = require("../Provider/Config");
|
|
24
25
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.container,
|
|
2
|
-
.container *,
|
|
3
|
-
.container ::after,
|
|
4
|
-
.container ::before {
|
|
5
|
-
outline: 0;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
-webkit-box-sizing: border-box;
|
|
8
|
-
-moz-box-sizing: border-box;
|
|
9
|
-
-ms-box-sizing: border-box;
|
|
10
|
-
}
|
|
11
|
-
.container {
|
|
12
|
-
font-family: var(--zd_regular);
|
|
13
|
-
}
|
|
14
|
-
.tooltip {
|
|
15
|
-
height: 0;
|
|
16
|
-
font-size: 0;
|
|
17
|
-
/* contain:strict */
|
|
18
|
-
}
|
|
1
|
+
.container,
|
|
2
|
+
.container *,
|
|
3
|
+
.container ::after,
|
|
4
|
+
.container ::before {
|
|
5
|
+
outline: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
-webkit-box-sizing: border-box;
|
|
8
|
+
-moz-box-sizing: border-box;
|
|
9
|
+
-ms-box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
.container {
|
|
12
|
+
font-family: var(--zd_regular);
|
|
13
|
+
}
|
|
14
|
+
.tooltip {
|
|
15
|
+
height: 0;
|
|
16
|
+
font-size: 0;
|
|
17
|
+
/* contain:strict */
|
|
18
|
+
}
|
package/lib/Avatar/Avatar.js
CHANGED
|
@@ -29,16 +29,16 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) ===
|
|
|
29
29
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
30
30
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
31
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
32
|
-
/*
|
|
33
|
-
1. need to change name into firstName lastName
|
|
34
|
-
2. pattern support via context as well as props
|
|
35
|
-
3. prop high priority to arrange firstName lastName
|
|
36
|
-
4. team pass name as lastName and pass pattern via prop
|
|
32
|
+
/*
|
|
33
|
+
1. need to change name into firstName lastName
|
|
34
|
+
2. pattern support via context as well as props
|
|
35
|
+
3. prop high priority to arrange firstName lastName
|
|
36
|
+
4. team pass name as lastName and pass pattern via prop
|
|
37
37
|
*/
|
|
38
|
-
/*
|
|
39
|
-
eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
|
|
40
|
-
'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
|
|
41
|
-
"info","default"] }]
|
|
38
|
+
/*
|
|
39
|
+
eslint css-modules/no-unused-class: [2, { markAsUsed: ['circle', 'square',
|
|
40
|
+
'small','medium','xmedium',"xsmall", "large", "xlarge", "primary", "secondary",
|
|
41
|
+
"info","default"] }]
|
|
42
42
|
*/
|
|
43
43
|
var Avatar = /*#__PURE__*/function (_React$Component) {
|
|
44
44
|
_inherits(Avatar, _React$Component);
|
|
@@ -150,9 +150,7 @@ var Avatar = /*#__PURE__*/function (_React$Component) {
|
|
|
150
150
|
customClass = _this$props2.customClass,
|
|
151
151
|
alternateSrc = _this$props2.alternateSrc,
|
|
152
152
|
isAnimate = _this$props2.isAnimate,
|
|
153
|
-
customProps = _this$props2.customProps
|
|
154
|
-
needInnerborder = _this$props2.needInnerborder,
|
|
155
|
-
needDefaultBorder = _this$props2.needDefaultBorder;
|
|
153
|
+
customProps = _this$props2.customProps;
|
|
156
154
|
var _customProps$AvatarPr = customProps.AvatarProps,
|
|
157
155
|
AvatarProps = _customProps$AvatarPr === void 0 ? {} : _customProps$AvatarPr;
|
|
158
156
|
var textStyle = textPalette ? _AvatarModule["default"][textPalette] : palette === 'secondary' ? _AvatarModule["default"].white : _AvatarModule["default"].black;
|
|
@@ -164,8 +162,7 @@ var Avatar = /*#__PURE__*/function (_React$Component) {
|
|
|
164
162
|
var showInitial = !showAvatar || showAvatar && isInvalidImageList;
|
|
165
163
|
var showAlternateAvatar = alternateSrc ? showInitial : false;
|
|
166
164
|
var border = borderOnHover || onClick;
|
|
167
|
-
var
|
|
168
|
-
var borderStyle = (!src || !showAvatar || showInitial || showDefaultBorder) && needBorder ? "".concat(_AvatarModule["default"].border, " ").concat(borderOnActive ? _AvatarModule["default"].borderOnActive : border ? _AvatarModule["default"].borderOnHover : '', " ") : '';
|
|
165
|
+
var borderStyle = (!src || !showAvatar || showInitial) && needBorder ? "".concat(_AvatarModule["default"].border, " ").concat(borderOnActive ? _AvatarModule["default"].borderOnActive : border ? _AvatarModule["default"].borderOnHover : '', " ") : '';
|
|
169
166
|
borderStyle = showAlternateAvatar ? '' : borderStyle;
|
|
170
167
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
171
168
|
className: "".concat(_AvatarModule["default"].avatar, " ").concat(_AvatarModule["default"][size], " ").concat((0, _AvatarSize["default"])(size), " ").concat(_AvatarModule["default"][shapeStyle], " ").concat(_AvatarModule["default"][palette], " ").concat(textStyle, " ").concat(borderStyle, " ").concat(customClass ? customClass : ''),
|
|
@@ -175,17 +172,17 @@ var Avatar = /*#__PURE__*/function (_React$Component) {
|
|
|
175
172
|
}, AvatarProps), showInitial && !showAlternateAvatar && /*#__PURE__*/_react["default"].createElement("span", {
|
|
176
173
|
className: "".concat(_AvatarModule["default"].initial),
|
|
177
174
|
"data-id": "".concat(dataId, "_AvatarInitial")
|
|
178
|
-
}, initial), (showAvatar || showAlternateAvatar) && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("
|
|
179
|
-
className: "".concat(_AvatarModule["default"].
|
|
180
|
-
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
181
|
-
className: "".concat(_AvatarModule["default"].image, " ").concat(isAnimate ? _AvatarModule["default"].animate : '', " ").concat(needInnerborder ? _AvatarModule["default"].innerBorder : ''),
|
|
175
|
+
}, initial), (showAvatar || showAlternateAvatar) && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
176
|
+
className: "".concat(_AvatarModule["default"].image, " ").concat(isAnimate ? _AvatarModule["default"].animate : ''),
|
|
182
177
|
"data-id": "".concat(dataId, "_AvatarImg"),
|
|
183
178
|
name: name,
|
|
184
179
|
onError: this.putInvalidImageURLJSON,
|
|
185
180
|
onLoad: this.putValidImageURLJSON,
|
|
186
181
|
src: showAlternateAvatar ? alternateSrc : src,
|
|
187
182
|
alt: name
|
|
188
|
-
})
|
|
183
|
+
}), !isValidImageList && !showAlternateAvatar ? null : /*#__PURE__*/_react["default"].createElement("span", {
|
|
184
|
+
className: "".concat(_AvatarModule["default"].shadow, " ").concat(textStyle, " ")
|
|
185
|
+
})));
|
|
189
186
|
}
|
|
190
187
|
}]);
|
|
191
188
|
return Avatar;
|