@zohodesk/components 1.6.20 → 1.6.22-exp-1
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 +10 -0
- package/es/AppContainer/AppContainer.module.css +9 -3
- package/es/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +22 -22
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +42 -42
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +73 -97
- package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
- package/es/Button/css/cssJSLogic.js +6 -6
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +8 -8
- package/es/Card/__tests__/__snapshots__/Card.spec.js.snap +17 -17
- package/es/Card/__tests__/__snapshots__/CardContent.spec.js.snap +12 -12
- package/es/Card/__tests__/__snapshots__/CardHeader.spec.js.snap +4 -4
- package/es/CheckBox/CheckBox.js +2 -2
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +153 -250
- package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +67 -76
- package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +45 -45
- package/es/ColorSelect/_shared/ColorIndicator/__tests__/__snapshots__/ColorIndicator.spec.js.snap +9 -9
- package/es/ColorSelect/_shared/ColoredTag/__tests__/__snapshots__/ColoredTag.spec.js.snap +5 -5
- package/es/DateTime/CalendarView.js +2 -2
- package/es/DateTime/DateWidget.js +2 -2
- package/es/DateTime/__tests__/__snapshots__/CalendarView.spec.js.snap +49 -49
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +102 -102
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupFooter.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +9 -9
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +9 -9
- package/es/DateTime/__tests__/__snapshots__/DaysRow.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +34 -34
- package/es/DropBox/DropBoxElement/css/cssJSLogic.js +6 -6
- package/es/DropDown/DropDownItem.js +1 -1
- package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +2 -2
- package/es/DropDown/__tests__/__snapshots__/DropDownHeading.spec.js.snap +1 -1
- package/es/DropDown/__tests__/__snapshots__/DropDownItem.spec.js.snap +1 -1
- package/es/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -2
- package/es/DropDown/__tests__/__snapshots__/DropDownSeparator.spec.js.snap +1 -1
- package/es/Heading/__tests__/__snapshots__/Heading.spec.js.snap +7 -7
- package/es/Label/Label.js +1 -1
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -48
- package/es/Layout/Box.js +1 -115
- package/es/Layout/Container.js +1 -132
- package/es/Layout/props/defaultProps.js +1 -16
- package/es/Layout/props/propTypes.js +1 -46
- package/es/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +16 -16
- package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +41 -41
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +69 -76
- package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +41 -41
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +62 -69
- package/es/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +4 -4
- package/es/MultiSelect/MultiSelect.js +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +9 -10
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +59 -62
- package/es/MultiSelect/__tests__/__snapshots__/EmptyState.spec.js.snap +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +50 -59
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +7 -7
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +11 -12
- package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +7 -7
- package/es/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +47 -47
- package/es/Radio/Radio.js +1 -1
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +117 -197
- package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -1
- package/es/Ribbon/Ribbon.js +3 -16
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +21 -24
- package/es/Select/SelectWithAvatar.js +1 -1
- package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +9 -9
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +1015 -1015
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +4 -4
- package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +12 -12
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +12 -12
- package/es/Switch/Switch.js +1 -1
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +98 -110
- package/es/Tab/__tests__/__snapshots__/Tab.spec.js.snap +2 -2
- package/es/Tab/__tests__/__snapshots__/TabContent.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/TabContentWrapper.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +40 -40
- package/es/Tab/__tests__/__snapshots__/TabWrapper.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +4 -4
- package/es/Tag/Tag.js +1 -2
- package/es/Tag/__tests__/__snapshots__/Tag.spec.js.snap +242 -334
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +44 -44
- package/es/TextBoxIcon/TextBoxIcon.js +1 -1
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +206 -206
- package/es/Textarea/Textarea.js +1 -1
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
- package/es/Tooltip/Tooltip.js +1 -1
- package/es/Typography/__tests__/__snapshots__/Typography.spec.js.snap +3 -3
- package/es/Typography/css/cssJSLogic.js +2 -2
- package/es/common/basic.module.css +9 -8
- package/es/css.js +0 -1
- package/es/deprecated/Switch/Switch.js +1 -1
- package/es/semantic/Button/__tests__/__snapshots__/Button.spec.js.snap +1 -1
- package/es/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +20 -20
- package/es/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/es/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +8 -8
- package/es/v1/shared/Loader/__tests__/__snapshots__/Loader.spec.js.snap +1 -1
- package/es/v1/shared/SuccessTick/__tests__/__snapshots__/SuccessTick.spec.js.snap +1 -1
- package/lib/AppContainer/AppContainer.module.css +9 -3
- package/lib/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +22 -22
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +42 -42
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +73 -97
- package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +3 -3
- package/lib/Button/css/cssJSLogic.js +3 -3
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +8 -8
- package/lib/Card/__tests__/__snapshots__/Card.spec.js.snap +17 -17
- package/lib/Card/__tests__/__snapshots__/CardContent.spec.js.snap +12 -12
- package/lib/Card/__tests__/__snapshots__/CardHeader.spec.js.snap +4 -4
- package/lib/CheckBox/CheckBox.js +2 -2
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +153 -250
- package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +67 -76
- package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +45 -45
- package/lib/ColorSelect/_shared/ColorIndicator/__tests__/__snapshots__/ColorIndicator.spec.js.snap +9 -9
- package/lib/ColorSelect/_shared/ColoredTag/__tests__/__snapshots__/ColoredTag.spec.js.snap +5 -5
- package/lib/DateTime/CalendarView.js +2 -2
- package/lib/DateTime/DateWidget.js +2 -2
- package/lib/DateTime/__tests__/__snapshots__/CalendarView.spec.js.snap +49 -49
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +102 -102
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupFooter.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +9 -9
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +9 -9
- package/lib/DateTime/__tests__/__snapshots__/DaysRow.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +34 -34
- package/lib/DropBox/DropBoxElement/css/cssJSLogic.js +2 -2
- package/lib/DropDown/DropDownItem.js +1 -1
- package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +2 -2
- package/lib/DropDown/__tests__/__snapshots__/DropDownHeading.spec.js.snap +1 -1
- package/lib/DropDown/__tests__/__snapshots__/DropDownItem.spec.js.snap +1 -1
- package/lib/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +2 -2
- package/lib/DropDown/__tests__/__snapshots__/DropDownSeparator.spec.js.snap +1 -1
- package/lib/Heading/__tests__/__snapshots__/Heading.spec.js.snap +7 -7
- package/lib/Label/Label.js +1 -1
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -48
- package/lib/Layout/Box.js +7 -120
- package/lib/Layout/Container.js +7 -137
- package/lib/Layout/props/defaultProps.js +14 -19
- package/lib/Layout/props/propTypes.js +13 -52
- package/lib/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +16 -16
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +41 -41
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +69 -76
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +41 -41
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +62 -69
- package/lib/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +4 -4
- package/lib/MultiSelect/MultiSelect.js +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +9 -10
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +59 -62
- package/lib/MultiSelect/__tests__/__snapshots__/EmptyState.spec.js.snap +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +50 -59
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +7 -7
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +11 -12
- package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +7 -7
- package/lib/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +47 -47
- package/lib/Radio/Radio.js +1 -1
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +117 -197
- package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -1
- package/lib/Ribbon/Ribbon.js +2 -15
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +21 -24
- package/lib/Select/SelectWithAvatar.js +1 -1
- package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +9 -9
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +1015 -1015
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +4 -4
- package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +12 -12
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +12 -12
- package/lib/Switch/Switch.js +1 -1
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +98 -110
- package/lib/Tab/__tests__/__snapshots__/Tab.spec.js.snap +2 -2
- package/lib/Tab/__tests__/__snapshots__/TabContent.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/TabContentWrapper.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +40 -40
- package/lib/Tab/__tests__/__snapshots__/TabWrapper.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +4 -4
- package/lib/Tag/Tag.js +1 -1
- package/lib/Tag/__tests__/__snapshots__/Tag.spec.js.snap +242 -334
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +44 -44
- package/lib/TextBoxIcon/TextBoxIcon.js +1 -1
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +206 -206
- package/lib/Textarea/Textarea.js +1 -1
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
- package/lib/Tooltip/Tooltip.js +1 -1
- package/lib/Typography/__tests__/__snapshots__/Typography.spec.js.snap +3 -3
- package/lib/Typography/css/cssJSLogic.js +1 -1
- package/lib/common/basic.module.css +9 -8
- package/lib/css.js +0 -2
- package/lib/deprecated/Switch/Switch.js +1 -1
- package/lib/semantic/Button/__tests__/__snapshots__/Button.spec.js.snap +1 -1
- package/lib/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +20 -20
- package/lib/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/lib/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +8 -8
- package/lib/v1/shared/Loader/__tests__/__snapshots__/Loader.spec.js.snap +1 -1
- package/lib/v1/shared/SuccessTick/__tests__/__snapshots__/SuccessTick.spec.js.snap +1 -1
- package/package.json +13 -14
- package/es/Layout/Layout.module.css +0 -336
- package/es/Layout/__tests__/Box.spec.js +0 -11
- package/es/Layout/__tests__/Container.spec.js +0 -11
- package/es/Layout/__tests__/__snapshots__/Box.spec.js.snap +0 -16
- package/es/Layout/__tests__/__snapshots__/Container.spec.js.snap +0 -16
- package/es/Layout/utils.js +0 -29
- package/lib/Layout/Layout.module.css +0 -336
- package/lib/Layout/__tests__/Box.spec.js +0 -18
- package/lib/Layout/__tests__/Container.spec.js +0 -18
- package/lib/Layout/__tests__/__snapshots__/Box.spec.js.snap +0 -16
- package/lib/Layout/__tests__/__snapshots__/Container.spec.js.snap +0 -16
- package/lib/Layout/utils.js +0 -59
package/lib/Textarea/Textarea.js
CHANGED
|
@@ -133,7 +133,7 @@ var Textarea = /*#__PURE__*/function (_React$Component) {
|
|
|
133
133
|
return /*#__PURE__*/_react["default"].createElement("textarea", _extends({
|
|
134
134
|
"aria-label": ariaLabel,
|
|
135
135
|
"aria-labelledby": ariaLabelledby,
|
|
136
|
-
className: "".concat(
|
|
136
|
+
className: "".concat(isReadOnly && needReadOnlyStyle ? _TextareaModule["default"].readonly : '', " ").concat(classList, " ").concat(_TextareaModule["default"]["borderColor_".concat(borderColor)], " ").concat(customClass, " "),
|
|
137
137
|
placeholder: placeHolder
|
|
138
138
|
}, options, {
|
|
139
139
|
"data-id": dataId,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`Textarea component Should be render cols only 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<textarea
|
|
6
|
-
class="
|
|
6
|
+
class="container defaultHeight default needBorder noresize effect borderColor_default"
|
|
7
7
|
cols="3"
|
|
8
8
|
data-id="TextareaComp"
|
|
9
9
|
data-selector-id="textarea"
|
|
@@ -15,7 +15,7 @@ exports[`Textarea component Should be render cols only 1`] = `
|
|
|
15
15
|
exports[`Textarea component Should be render autofocus true 1`] = `
|
|
16
16
|
<DocumentFragment>
|
|
17
17
|
<textarea
|
|
18
|
-
class="
|
|
18
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
19
19
|
data-id="TextareaComp"
|
|
20
20
|
data-selector-id="textarea"
|
|
21
21
|
data-test-id="TextareaComp"
|
|
@@ -26,7 +26,7 @@ exports[`Textarea component Should be render autofocus true 1`] = `
|
|
|
26
26
|
exports[`Textarea component Should be render custom Attributes 1`] = `
|
|
27
27
|
<DocumentFragment>
|
|
28
28
|
<textarea
|
|
29
|
-
class="
|
|
29
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
30
30
|
data-id="TextareaComp"
|
|
31
31
|
data-selector-id="textarea"
|
|
32
32
|
data-test-id="TextareaComp"
|
|
@@ -38,7 +38,7 @@ exports[`Textarea component Should be render custom Attributes 1`] = `
|
|
|
38
38
|
exports[`Textarea component Should be render customClass 1`] = `
|
|
39
39
|
<DocumentFragment>
|
|
40
40
|
<textarea
|
|
41
|
-
class="
|
|
41
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default textAreaCustomClass"
|
|
42
42
|
data-id="TextareaComp"
|
|
43
43
|
data-selector-id="textarea"
|
|
44
44
|
data-test-id="TextareaComp"
|
|
@@ -49,7 +49,7 @@ exports[`Textarea component Should be render customClass 1`] = `
|
|
|
49
49
|
exports[`Textarea component Should be render htmlId 1`] = `
|
|
50
50
|
<DocumentFragment>
|
|
51
51
|
<textarea
|
|
52
|
-
class="
|
|
52
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
53
53
|
data-id="TextareaComp"
|
|
54
54
|
data-selector-id="textarea"
|
|
55
55
|
data-test-id="TextareaComp"
|
|
@@ -61,7 +61,7 @@ exports[`Textarea component Should be render htmlId 1`] = `
|
|
|
61
61
|
exports[`Textarea component Should be render isDisabled is false and needEffect is false 1`] = `
|
|
62
62
|
<DocumentFragment>
|
|
63
63
|
<textarea
|
|
64
|
-
class="
|
|
64
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
65
65
|
data-id="TextareaComp"
|
|
66
66
|
data-selector-id="textarea"
|
|
67
67
|
data-test-id="TextareaComp"
|
|
@@ -72,7 +72,7 @@ exports[`Textarea component Should be render isDisabled is false and needEffect
|
|
|
72
72
|
exports[`Textarea component Should be render isDisabled is true 1`] = `
|
|
73
73
|
<DocumentFragment>
|
|
74
74
|
<textarea
|
|
75
|
-
class="
|
|
75
|
+
class="container small defaultWidth default needBorder noresize borderColor_default"
|
|
76
76
|
data-id="TextareaComp"
|
|
77
77
|
data-selector-id="textarea"
|
|
78
78
|
data-test-id="TextareaComp"
|
|
@@ -84,7 +84,7 @@ exports[`Textarea component Should be render isDisabled is true 1`] = `
|
|
|
84
84
|
exports[`Textarea component Should be render isDisabled is true and needEffect is false 1`] = `
|
|
85
85
|
<DocumentFragment>
|
|
86
86
|
<textarea
|
|
87
|
-
class="
|
|
87
|
+
class="container small defaultWidth default needBorder noresize borderColor_default"
|
|
88
88
|
data-id="TextareaComp"
|
|
89
89
|
data-selector-id="textarea"
|
|
90
90
|
data-test-id="TextareaComp"
|
|
@@ -96,7 +96,7 @@ exports[`Textarea component Should be render isDisabled is true and needEffect i
|
|
|
96
96
|
exports[`Textarea component Should be render isDisabled is true and needEffect is true 1`] = `
|
|
97
97
|
<DocumentFragment>
|
|
98
98
|
<textarea
|
|
99
|
-
class="
|
|
99
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
100
100
|
data-id="TextareaComp"
|
|
101
101
|
data-selector-id="textarea"
|
|
102
102
|
data-test-id="TextareaComp"
|
|
@@ -108,7 +108,7 @@ exports[`Textarea component Should be render isDisabled is true and needEffect i
|
|
|
108
108
|
exports[`Textarea component Should be render isReadOnly is false and needEffect is false 1`] = `
|
|
109
109
|
<DocumentFragment>
|
|
110
110
|
<textarea
|
|
111
|
-
class="
|
|
111
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
112
112
|
data-id="TextareaComp"
|
|
113
113
|
data-selector-id="textarea"
|
|
114
114
|
data-test-id="TextareaComp"
|
|
@@ -119,7 +119,7 @@ exports[`Textarea component Should be render isReadOnly is false and needEffect
|
|
|
119
119
|
exports[`Textarea component Should be render isReadOnly is true and needEffect is false 1`] = `
|
|
120
120
|
<DocumentFragment>
|
|
121
121
|
<textarea
|
|
122
|
-
class="
|
|
122
|
+
class="readonly container small defaultWidth default needBorder noresize borderColor_default"
|
|
123
123
|
data-id="TextareaComp"
|
|
124
124
|
data-selector-id="textarea"
|
|
125
125
|
data-test-id="TextareaComp"
|
|
@@ -131,7 +131,7 @@ exports[`Textarea component Should be render isReadOnly is true and needEffect i
|
|
|
131
131
|
exports[`Textarea component Should be render isReadOnly is true and needEffect is true 1`] = `
|
|
132
132
|
<DocumentFragment>
|
|
133
133
|
<textarea
|
|
134
|
-
class="
|
|
134
|
+
class="readonly container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
135
135
|
data-id="TextareaComp"
|
|
136
136
|
data-selector-id="textarea"
|
|
137
137
|
data-test-id="TextareaComp"
|
|
@@ -143,7 +143,7 @@ exports[`Textarea component Should be render isReadOnly is true and needEffect i
|
|
|
143
143
|
exports[`Textarea component Should be render maxLength in number 1`] = `
|
|
144
144
|
<DocumentFragment>
|
|
145
145
|
<textarea
|
|
146
|
-
class="
|
|
146
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
147
147
|
data-id="TextareaComp"
|
|
148
148
|
data-selector-id="textarea"
|
|
149
149
|
data-test-id="TextareaComp"
|
|
@@ -155,7 +155,7 @@ exports[`Textarea component Should be render maxLength in number 1`] = `
|
|
|
155
155
|
exports[`Textarea component Should be render maxLength in string 1`] = `
|
|
156
156
|
<DocumentFragment>
|
|
157
157
|
<textarea
|
|
158
|
-
class="
|
|
158
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
159
159
|
data-id="TextareaComp"
|
|
160
160
|
data-selector-id="textarea"
|
|
161
161
|
data-test-id="TextareaComp"
|
|
@@ -167,7 +167,7 @@ exports[`Textarea component Should be render maxLength in string 1`] = `
|
|
|
167
167
|
exports[`Textarea component Should be render needAppearance is false 1`] = `
|
|
168
168
|
<DocumentFragment>
|
|
169
169
|
<textarea
|
|
170
|
-
class="
|
|
170
|
+
class="basic borderColor_default"
|
|
171
171
|
data-id="TextareaComp"
|
|
172
172
|
data-selector-id="textarea"
|
|
173
173
|
data-test-id="TextareaComp"
|
|
@@ -178,7 +178,7 @@ exports[`Textarea component Should be render needAppearance is false 1`] = `
|
|
|
178
178
|
exports[`Textarea component Should be render needBorder is false 1`] = `
|
|
179
179
|
<DocumentFragment>
|
|
180
180
|
<textarea
|
|
181
|
-
class="
|
|
181
|
+
class="container small defaultWidth default noBorder noresize effect borderColor_default"
|
|
182
182
|
data-id="TextareaComp"
|
|
183
183
|
data-selector-id="textarea"
|
|
184
184
|
data-test-id="TextareaComp"
|
|
@@ -189,7 +189,7 @@ exports[`Textarea component Should be render needBorder is false 1`] = `
|
|
|
189
189
|
exports[`Textarea component Should be render needReadOnlyStyle is false 1`] = `
|
|
190
190
|
<DocumentFragment>
|
|
191
191
|
<textarea
|
|
192
|
-
class="
|
|
192
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
193
193
|
data-id="TextareaComp"
|
|
194
194
|
data-selector-id="textarea"
|
|
195
195
|
data-test-id="TextareaComp"
|
|
@@ -200,7 +200,7 @@ exports[`Textarea component Should be render needReadOnlyStyle is false 1`] = `
|
|
|
200
200
|
exports[`Textarea component Should be render placeholder 1`] = `
|
|
201
201
|
<DocumentFragment>
|
|
202
202
|
<textarea
|
|
203
|
-
class="
|
|
203
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
204
204
|
data-id="TextareaComp"
|
|
205
205
|
data-selector-id="textarea"
|
|
206
206
|
data-test-id="TextareaComp"
|
|
@@ -212,7 +212,7 @@ exports[`Textarea component Should be render placeholder 1`] = `
|
|
|
212
212
|
exports[`Textarea component Should be render rows and cols 1`] = `
|
|
213
213
|
<DocumentFragment>
|
|
214
214
|
<textarea
|
|
215
|
-
class="
|
|
215
|
+
class="container default needBorder noresize effect borderColor_default"
|
|
216
216
|
cols="3"
|
|
217
217
|
data-id="TextareaComp"
|
|
218
218
|
data-selector-id="textarea"
|
|
@@ -225,7 +225,7 @@ exports[`Textarea component Should be render rows and cols 1`] = `
|
|
|
225
225
|
exports[`Textarea component Should be render rows only 1`] = `
|
|
226
226
|
<DocumentFragment>
|
|
227
227
|
<textarea
|
|
228
|
-
class="
|
|
228
|
+
class="container defaultWidth default needBorder noresize effect borderColor_default"
|
|
229
229
|
data-id="TextareaComp"
|
|
230
230
|
data-selector-id="textarea"
|
|
231
231
|
data-test-id="TextareaComp"
|
|
@@ -237,7 +237,7 @@ exports[`Textarea component Should be render rows only 1`] = `
|
|
|
237
237
|
exports[`Textarea component Should be render text 1`] = `
|
|
238
238
|
<DocumentFragment>
|
|
239
239
|
<textarea
|
|
240
|
-
class="
|
|
240
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
241
241
|
data-id="TextareaComp"
|
|
242
242
|
data-selector-id="textarea"
|
|
243
243
|
data-test-id="TextareaComp"
|
|
@@ -250,7 +250,7 @@ exports[`Textarea component Should be render text 1`] = `
|
|
|
250
250
|
exports[`Textarea component Should be render with the basic set of default props 1`] = `
|
|
251
251
|
<DocumentFragment>
|
|
252
252
|
<textarea
|
|
253
|
-
class="
|
|
253
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
254
254
|
data-id="TextareaComp"
|
|
255
255
|
data-selector-id="textarea"
|
|
256
256
|
data-test-id="TextareaComp"
|
|
@@ -261,7 +261,7 @@ exports[`Textarea component Should be render with the basic set of default props
|
|
|
261
261
|
exports[`Textarea component Should render Varient - default 1`] = `
|
|
262
262
|
<DocumentFragment>
|
|
263
263
|
<textarea
|
|
264
|
-
class="
|
|
264
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
265
265
|
data-id="TextareaComp"
|
|
266
266
|
data-selector-id="textarea"
|
|
267
267
|
data-test-id="TextareaComp"
|
|
@@ -272,7 +272,7 @@ exports[`Textarea component Should render Varient - default 1`] = `
|
|
|
272
272
|
exports[`Textarea component Should render Varient - primary 1`] = `
|
|
273
273
|
<DocumentFragment>
|
|
274
274
|
<textarea
|
|
275
|
-
class="
|
|
275
|
+
class="container small defaultWidth primary needBorder noresize effect borderColor_default"
|
|
276
276
|
data-id="TextareaComp"
|
|
277
277
|
data-selector-id="textarea"
|
|
278
278
|
data-test-id="TextareaComp"
|
|
@@ -283,7 +283,7 @@ exports[`Textarea component Should render Varient - primary 1`] = `
|
|
|
283
283
|
exports[`Textarea component Should render animated is false - large 1`] = `
|
|
284
284
|
<DocumentFragment>
|
|
285
285
|
<textarea
|
|
286
|
-
class="
|
|
286
|
+
class="container large defaultWidth default needBorder noresize effect borderColor_default"
|
|
287
287
|
data-id="TextareaComp"
|
|
288
288
|
data-selector-id="textarea"
|
|
289
289
|
data-test-id="TextareaComp"
|
|
@@ -294,7 +294,7 @@ exports[`Textarea component Should render animated is false - large 1`] = `
|
|
|
294
294
|
exports[`Textarea component Should render animated is false - medium 1`] = `
|
|
295
295
|
<DocumentFragment>
|
|
296
296
|
<textarea
|
|
297
|
-
class="
|
|
297
|
+
class="container medium defaultWidth default needBorder noresize effect borderColor_default"
|
|
298
298
|
data-id="TextareaComp"
|
|
299
299
|
data-selector-id="textarea"
|
|
300
300
|
data-test-id="TextareaComp"
|
|
@@ -305,7 +305,7 @@ exports[`Textarea component Should render animated is false - medium 1`] = `
|
|
|
305
305
|
exports[`Textarea component Should render animated is false - small 1`] = `
|
|
306
306
|
<DocumentFragment>
|
|
307
307
|
<textarea
|
|
308
|
-
class="
|
|
308
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
309
309
|
data-id="TextareaComp"
|
|
310
310
|
data-selector-id="textarea"
|
|
311
311
|
data-test-id="TextareaComp"
|
|
@@ -316,7 +316,7 @@ exports[`Textarea component Should render animated is false - small 1`] = `
|
|
|
316
316
|
exports[`Textarea component Should render animated is false - xmedium 1`] = `
|
|
317
317
|
<DocumentFragment>
|
|
318
318
|
<textarea
|
|
319
|
-
class="
|
|
319
|
+
class="container xmedium defaultWidth default needBorder noresize effect borderColor_default"
|
|
320
320
|
data-id="TextareaComp"
|
|
321
321
|
data-selector-id="textarea"
|
|
322
322
|
data-test-id="TextareaComp"
|
|
@@ -327,7 +327,7 @@ exports[`Textarea component Should render animated is false - xmedium 1`] = `
|
|
|
327
327
|
exports[`Textarea component Should render animated is false - xsmall 1`] = `
|
|
328
328
|
<DocumentFragment>
|
|
329
329
|
<textarea
|
|
330
|
-
class="
|
|
330
|
+
class="container xsmall defaultWidth default needBorder noresize effect borderColor_default"
|
|
331
331
|
data-id="TextareaComp"
|
|
332
332
|
data-selector-id="textarea"
|
|
333
333
|
data-test-id="TextareaComp"
|
|
@@ -338,7 +338,7 @@ exports[`Textarea component Should render animated is false - xsmall 1`] = `
|
|
|
338
338
|
exports[`Textarea component Should render animated is true - large 1`] = `
|
|
339
339
|
<DocumentFragment>
|
|
340
340
|
<textarea
|
|
341
|
-
class="
|
|
341
|
+
class="container large defaultWidth default needBorder noresize largeanimated effect borderColor_default"
|
|
342
342
|
data-id="TextareaComp"
|
|
343
343
|
data-selector-id="textarea"
|
|
344
344
|
data-test-id="TextareaComp"
|
|
@@ -349,7 +349,7 @@ exports[`Textarea component Should render animated is true - large 1`] = `
|
|
|
349
349
|
exports[`Textarea component Should render animated is true - medium 1`] = `
|
|
350
350
|
<DocumentFragment>
|
|
351
351
|
<textarea
|
|
352
|
-
class="
|
|
352
|
+
class="container medium defaultWidth default needBorder noresize effect borderColor_default"
|
|
353
353
|
data-id="TextareaComp"
|
|
354
354
|
data-selector-id="textarea"
|
|
355
355
|
data-test-id="TextareaComp"
|
|
@@ -360,7 +360,7 @@ exports[`Textarea component Should render animated is true - medium 1`] = `
|
|
|
360
360
|
exports[`Textarea component Should render animated is true - small 1`] = `
|
|
361
361
|
<DocumentFragment>
|
|
362
362
|
<textarea
|
|
363
|
-
class="
|
|
363
|
+
class="container small defaultWidth default needBorder noresize smallanimated effect borderColor_default"
|
|
364
364
|
data-id="TextareaComp"
|
|
365
365
|
data-selector-id="textarea"
|
|
366
366
|
data-test-id="TextareaComp"
|
|
@@ -371,7 +371,7 @@ exports[`Textarea component Should render animated is true - small 1`] = `
|
|
|
371
371
|
exports[`Textarea component Should render animated is true - xmedium 1`] = `
|
|
372
372
|
<DocumentFragment>
|
|
373
373
|
<textarea
|
|
374
|
-
class="
|
|
374
|
+
class="container xmedium defaultWidth default needBorder noresize xmediumanimated effect borderColor_default"
|
|
375
375
|
data-id="TextareaComp"
|
|
376
376
|
data-selector-id="textarea"
|
|
377
377
|
data-test-id="TextareaComp"
|
|
@@ -382,7 +382,7 @@ exports[`Textarea component Should render animated is true - xmedium 1`] = `
|
|
|
382
382
|
exports[`Textarea component Should render animated is true - xsmall 1`] = `
|
|
383
383
|
<DocumentFragment>
|
|
384
384
|
<textarea
|
|
385
|
-
class="
|
|
385
|
+
class="container xsmall defaultWidth default needBorder noresize xsmallanimated effect borderColor_default"
|
|
386
386
|
data-id="TextareaComp"
|
|
387
387
|
data-selector-id="textarea"
|
|
388
388
|
data-test-id="TextareaComp"
|
|
@@ -393,7 +393,7 @@ exports[`Textarea component Should render animated is true - xsmall 1`] = `
|
|
|
393
393
|
exports[`Textarea component Should render borderColor - default 1`] = `
|
|
394
394
|
<DocumentFragment>
|
|
395
395
|
<textarea
|
|
396
|
-
class="
|
|
396
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
397
397
|
data-id="TextareaComp"
|
|
398
398
|
data-selector-id="textarea"
|
|
399
399
|
data-test-id="TextareaComp"
|
|
@@ -404,7 +404,7 @@ exports[`Textarea component Should render borderColor - default 1`] = `
|
|
|
404
404
|
exports[`Textarea component Should render borderColor - transparent 1`] = `
|
|
405
405
|
<DocumentFragment>
|
|
406
406
|
<textarea
|
|
407
|
-
class="
|
|
407
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_transparent"
|
|
408
408
|
data-id="TextareaComp"
|
|
409
409
|
data-selector-id="textarea"
|
|
410
410
|
data-test-id="TextareaComp"
|
|
@@ -415,7 +415,7 @@ exports[`Textarea component Should render borderColor - transparent 1`] = `
|
|
|
415
415
|
exports[`Textarea component Should render resize - both 1`] = `
|
|
416
416
|
<DocumentFragment>
|
|
417
417
|
<textarea
|
|
418
|
-
class="
|
|
418
|
+
class="container small defaultWidth default needBorder resizeboth effect borderColor_default"
|
|
419
419
|
data-id="TextareaComp"
|
|
420
420
|
data-selector-id="textarea"
|
|
421
421
|
data-test-id="TextareaComp"
|
|
@@ -426,7 +426,7 @@ exports[`Textarea component Should render resize - both 1`] = `
|
|
|
426
426
|
exports[`Textarea component Should render resize - horizontal 1`] = `
|
|
427
427
|
<DocumentFragment>
|
|
428
428
|
<textarea
|
|
429
|
-
class="
|
|
429
|
+
class="container small defaultWidth default needBorder resizeX effect borderColor_default"
|
|
430
430
|
data-id="TextareaComp"
|
|
431
431
|
data-selector-id="textarea"
|
|
432
432
|
data-test-id="TextareaComp"
|
|
@@ -437,7 +437,7 @@ exports[`Textarea component Should render resize - horizontal 1`] = `
|
|
|
437
437
|
exports[`Textarea component Should render resize - none 1`] = `
|
|
438
438
|
<DocumentFragment>
|
|
439
439
|
<textarea
|
|
440
|
-
class="
|
|
440
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
441
441
|
data-id="TextareaComp"
|
|
442
442
|
data-selector-id="textarea"
|
|
443
443
|
data-test-id="TextareaComp"
|
|
@@ -448,7 +448,7 @@ exports[`Textarea component Should render resize - none 1`] = `
|
|
|
448
448
|
exports[`Textarea component Should render resize - vertical 1`] = `
|
|
449
449
|
<DocumentFragment>
|
|
450
450
|
<textarea
|
|
451
|
-
class="
|
|
451
|
+
class="container small defaultWidth default needBorder resizeY effect borderColor_default"
|
|
452
452
|
data-id="TextareaComp"
|
|
453
453
|
data-selector-id="textarea"
|
|
454
454
|
data-test-id="TextareaComp"
|
|
@@ -459,7 +459,7 @@ exports[`Textarea component Should render resize - vertical 1`] = `
|
|
|
459
459
|
exports[`Textarea component Should render size - large 1`] = `
|
|
460
460
|
<DocumentFragment>
|
|
461
461
|
<textarea
|
|
462
|
-
class="
|
|
462
|
+
class="container large defaultWidth default needBorder noresize largeanimated effect borderColor_default"
|
|
463
463
|
data-id="TextareaComp"
|
|
464
464
|
data-selector-id="textarea"
|
|
465
465
|
data-test-id="TextareaComp"
|
|
@@ -470,7 +470,7 @@ exports[`Textarea component Should render size - large 1`] = `
|
|
|
470
470
|
exports[`Textarea component Should render size - medium 1`] = `
|
|
471
471
|
<DocumentFragment>
|
|
472
472
|
<textarea
|
|
473
|
-
class="
|
|
473
|
+
class="container medium defaultWidth default needBorder noresize effect borderColor_default"
|
|
474
474
|
data-id="TextareaComp"
|
|
475
475
|
data-selector-id="textarea"
|
|
476
476
|
data-test-id="TextareaComp"
|
|
@@ -481,7 +481,7 @@ exports[`Textarea component Should render size - medium 1`] = `
|
|
|
481
481
|
exports[`Textarea component Should render size - small 1`] = `
|
|
482
482
|
<DocumentFragment>
|
|
483
483
|
<textarea
|
|
484
|
-
class="
|
|
484
|
+
class="container small defaultWidth default needBorder noresize smallanimated effect borderColor_default"
|
|
485
485
|
data-id="TextareaComp"
|
|
486
486
|
data-selector-id="textarea"
|
|
487
487
|
data-test-id="TextareaComp"
|
|
@@ -492,7 +492,7 @@ exports[`Textarea component Should render size - small 1`] = `
|
|
|
492
492
|
exports[`Textarea component Should render size - xmedium 1`] = `
|
|
493
493
|
<DocumentFragment>
|
|
494
494
|
<textarea
|
|
495
|
-
class="
|
|
495
|
+
class="container xmedium defaultWidth default needBorder noresize xmediumanimated effect borderColor_default"
|
|
496
496
|
data-id="TextareaComp"
|
|
497
497
|
data-selector-id="textarea"
|
|
498
498
|
data-test-id="TextareaComp"
|
|
@@ -503,7 +503,7 @@ exports[`Textarea component Should render size - xmedium 1`] = `
|
|
|
503
503
|
exports[`Textarea component Should render size - xsmall 1`] = `
|
|
504
504
|
<DocumentFragment>
|
|
505
505
|
<textarea
|
|
506
|
-
class="
|
|
506
|
+
class="container xsmall defaultWidth default needBorder noresize xsmallanimated effect borderColor_default"
|
|
507
507
|
data-id="TextareaComp"
|
|
508
508
|
data-selector-id="textarea"
|
|
509
509
|
data-test-id="TextareaComp"
|
|
@@ -516,7 +516,7 @@ exports[`Textarea component rendering ally clearLabel 1`] = `
|
|
|
516
516
|
<textarea
|
|
517
517
|
aria-label="TextAreaAriaLabel"
|
|
518
518
|
aria-labelledby="TexareaAriaLabelledby"
|
|
519
|
-
class="
|
|
519
|
+
class="container small defaultWidth default needBorder noresize effect borderColor_default"
|
|
520
520
|
data-id="TextareaComp"
|
|
521
521
|
data-selector-id="textarea"
|
|
522
522
|
data-test-id="TextareaComp"
|
package/lib/Tooltip/Tooltip.js
CHANGED
|
@@ -558,7 +558,7 @@ var Tooltip = /*#__PURE__*/function (_React$Component) {
|
|
|
558
558
|
|
|
559
559
|
var tooltipCss = "".concat(_TooltipModule["default"].tooltipcont, " ").concat(_cssUtils.whiteSpaceClassMapping[tooltipWhiteSpaceModification]);
|
|
560
560
|
return title ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
561
|
-
className: "".concat(
|
|
561
|
+
className: "".concat(_TooltipModule["default"].tooltiptext, " ").concat(customClass),
|
|
562
562
|
style: {
|
|
563
563
|
left: left,
|
|
564
564
|
top: top,
|
|
@@ -2438,7 +2438,7 @@ exports[`Typography with highlight should render customised render the highlight
|
|
|
2438
2438
|
The
|
|
2439
2439
|
<div
|
|
2440
2440
|
aria-labelledby="1"
|
|
2441
|
-
class="container effect
|
|
2441
|
+
class="container effect medium lgRadius default"
|
|
2442
2442
|
data-id="tag_Tag"
|
|
2443
2443
|
data-selector-id="tag"
|
|
2444
2444
|
data-test-id="tag_Tag"
|
|
@@ -2698,7 +2698,7 @@ exports[`Typography with highlight should render separate customised render the
|
|
|
2698
2698
|
The
|
|
2699
2699
|
<div
|
|
2700
2700
|
aria-labelledby="2"
|
|
2701
|
-
class="container effect
|
|
2701
|
+
class="container effect medium lgRadius default"
|
|
2702
2702
|
data-id="tag_Tag"
|
|
2703
2703
|
data-selector-id="tag"
|
|
2704
2704
|
data-test-id="tag_Tag"
|
|
@@ -2716,7 +2716,7 @@ exports[`Typography with highlight should render separate customised render the
|
|
|
2716
2716
|
and
|
|
2717
2717
|
<div
|
|
2718
2718
|
aria-labelledby="3"
|
|
2719
|
-
class="container effect
|
|
2719
|
+
class="container effect medium lgRadius default"
|
|
2720
2720
|
data-id="tag_Tag"
|
|
2721
2721
|
data-selector-id="tag"
|
|
2722
2722
|
data-test-id="tag_Tag"
|
|
@@ -73,7 +73,7 @@ function cssJSLogic(_ref) {
|
|
|
73
73
|
finalLineHeight = _utils2.lineheightMapping[finalLineHeight];
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
var typographyClass = (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, style.reset, finalReset), _defineProperty(_compileClassNames, style.dotted, finalDotted), _defineProperty(_compileClassNames, style["size".concat(finalSize)], !!finalSize), _defineProperty(_compileClassNames, style["lineclamp_".concat(finalLineClamp)], !!finalLineClamp), _defineProperty(_compileClassNames, style["lineheight_".concat(finalLineHeight)], !!finalLineHeight), _defineProperty(_compileClassNames, style["display_".concat(finalDisplay)], !!finalDisplay), _defineProperty(_compileClassNames, style["font_".concat(finalWeight)], !!finalWeight), _defineProperty(_compileClassNames, style["fontStyles_".concat(finalTypeFace)], !!finalTypeFace), _defineProperty(_compileClassNames, style["textalign_".concat(finalTextAlign)], !!finalTextAlign), _defineProperty(_compileClassNames, style["letterspacing_".concat(finalLetterSpacing)], !!finalLetterSpacing), _defineProperty(_compileClassNames, style["transform_".concat(finalTransform)], !!finalTransform), _defineProperty(_compileClassNames, style["decoration_".concat(finalDecoration)], !!finalDecoration), _defineProperty(_compileClassNames,
|
|
76
|
+
var typographyClass = (0, _utils.compileClassNames)((_compileClassNames = {}, _defineProperty(_compileClassNames, style.reset, finalReset), _defineProperty(_compileClassNames, style.dotted, finalDotted), _defineProperty(_compileClassNames, style["size".concat(finalSize)], !!finalSize), _defineProperty(_compileClassNames, style["lineclamp_".concat(finalLineClamp)], !!finalLineClamp), _defineProperty(_compileClassNames, style["lineheight_".concat(finalLineHeight)], !!finalLineHeight), _defineProperty(_compileClassNames, style["display_".concat(finalDisplay)], !!finalDisplay), _defineProperty(_compileClassNames, style["font_".concat(finalWeight)], !!finalWeight), _defineProperty(_compileClassNames, style["fontStyles_".concat(finalTypeFace)], !!finalTypeFace), _defineProperty(_compileClassNames, style["textalign_".concat(finalTextAlign)], !!finalTextAlign), _defineProperty(_compileClassNames, style["letterspacing_".concat(finalLetterSpacing)], !!finalLetterSpacing), _defineProperty(_compileClassNames, style["transform_".concat(finalTransform)], !!finalTransform), _defineProperty(_compileClassNames, style["decoration_".concat(finalDecoration)], !!finalDecoration), _defineProperty(_compileClassNames, style["wordBreak_".concat(finalWordBreak)], !!finalWordBreak), _defineProperty(_compileClassNames, style["wordWrap_".concat(finalWordWrap)], !!finalWordWrap), _defineProperty(_compileClassNames, style["whiteSpace_".concat(finalWhiteSpace)], !!finalWhiteSpace), _defineProperty(_compileClassNames, finalClassName, !!finalClassName), _compileClassNames));
|
|
77
77
|
return {
|
|
78
78
|
typographyClass: typographyClass
|
|
79
79
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/*For editor's legacy content*/
|
|
1
2
|
@font-face {
|
|
2
|
-
font-family:
|
|
3
|
+
font-family: Regular;
|
|
3
4
|
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
4
5
|
font-weight: 300;
|
|
5
6
|
font-style: normal;
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
@font-face {
|
|
18
|
-
font-family:
|
|
19
|
+
font-family: Regular;
|
|
19
20
|
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
20
21
|
font-weight: 600;
|
|
21
22
|
font-style: normal;
|
|
@@ -23,16 +24,16 @@
|
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
@font-face {
|
|
26
|
-
font-family:
|
|
27
|
+
font-family: Regular;
|
|
27
28
|
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
28
29
|
font-weight: 700;
|
|
29
30
|
font-style: normal;
|
|
30
31
|
font-display: swap;
|
|
31
32
|
}
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
/* For font-weight */
|
|
34
35
|
@font-face {
|
|
35
|
-
font-family:
|
|
36
|
+
font-family: Lato;
|
|
36
37
|
src: url('https://static.zohocdn.com/webfonts/lato2light/font.woff2') format('woff2');
|
|
37
38
|
font-weight: 100 300;
|
|
38
39
|
font-style: normal;
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
@font-face {
|
|
43
|
-
font-family:
|
|
44
|
+
font-family: Lato;
|
|
44
45
|
src: url('https://static.zohocdn.com/webfonts/lato2regular/font.woff2') format('woff2');
|
|
45
46
|
font-weight: 400;
|
|
46
47
|
font-style: normal;
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
@font-face {
|
|
51
|
-
font-family:
|
|
52
|
+
font-family: Lato;
|
|
52
53
|
src: url('https://static.zohocdn.com/webfonts/lato2semibold/font.woff2') format('woff2');
|
|
53
54
|
font-weight: 500 600;
|
|
54
55
|
font-style: normal;
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
@font-face {
|
|
59
|
-
font-family:
|
|
60
|
+
font-family: Lato;
|
|
60
61
|
src: url('https://static.zohocdn.com/webfonts/lato2bold/font.woff2') format('woff2');
|
|
61
62
|
font-weight: 700 900;
|
|
62
63
|
font-style: normal;
|
package/lib/css.js
CHANGED
|
@@ -62,7 +62,7 @@ var Switch = function Switch(props) {
|
|
|
62
62
|
isCover: false,
|
|
63
63
|
alignBox: "row",
|
|
64
64
|
isInline: true,
|
|
65
|
-
className: "".concat(_SwitchModule["default"].container, " ").concat(
|
|
65
|
+
className: "".concat(_SwitchModule["default"].container, " ").concat(disabled ? _SwitchModule["default"].disabled : isReadOnly ? _SwitchModule["default"].readonly : _SwitchModule["default"].effect, " ").concat(customSwitchWrap, " "),
|
|
66
66
|
"data-title": disabled ? disableTitle : title,
|
|
67
67
|
"aria-checked": checked,
|
|
68
68
|
role: "switch",
|