@zohodesk/components 1.6.22 → 1.6.23-exp-2
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 +4 -0
- package/es/Accordion/Accordion.js +2 -1
- package/es/Accordion/AccordionItem.js +3 -2
- package/es/AppContainer/AppContainer.js +2 -1
- package/es/AppContainer/AppContainer.module.css +9 -3
- package/es/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +6 -6
- package/es/Avatar/Avatar.js +5 -4
- package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +42 -42
- package/es/AvatarTeam/AvatarTeam.js +4 -3
- package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +73 -97
- package/es/Button/Button.js +5 -4
- package/es/Buttongroup/Buttongroup.js +4 -3
- package/es/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +8 -8
- package/es/CheckBox/CheckBox.js +8 -7
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +107 -181
- package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +32 -39
- package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +21 -21
- package/es/ColorSelect/_shared/ColorIndicator/ColorIndicator.js +2 -1
- 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 -1
- package/es/DateTime/DateTime.js +5 -4
- package/es/DateTime/DateTimePopupFooter.js +2 -1
- package/es/DateTime/DateWidget.js +4 -3
- package/es/DateTime/Time.js +2 -1
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +60 -60
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +4 -4
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +4 -4
- package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +12 -12
- package/es/DropBox/DropBox.js +3 -2
- package/es/DropBox/DropBoxElement/DropBoxElement.js +6 -5
- package/es/DropDown/DropDown.js +2 -1
- package/es/DropDown/DropDownHeading.js +2 -1
- package/es/DropDown/DropDownItem.js +6 -5
- package/es/DropDown/DropDownSearch.js +2 -1
- package/es/DropDown/DropDownSeparator.js +2 -1
- 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 +3 -2
- package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -48
- package/es/ListItem/ListItemWithAvatar.js +2 -1
- package/es/ListItem/ListItemWithCheckBox.js +2 -1
- package/es/ListItem/ListItemWithIcon.js +3 -2
- package/es/ListItem/ListItemWithRadio.js +2 -1
- package/es/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +4 -4
- package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +7 -7
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +21 -21
- package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +7 -7
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +21 -28
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +8 -7
- package/es/MultiSelect/AdvancedMultiSelect.js +4 -3
- package/es/MultiSelect/EmptyState.js +5 -4
- package/es/MultiSelect/MobileHeader/MobileHeader.js +2 -1
- package/es/MultiSelect/MultiSelect.js +6 -5
- package/es/MultiSelect/MultiSelectWithAvatar.js +3 -2
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +5 -6
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +20 -23
- package/es/MultiSelect/__tests__/__snapshots__/EmptyState.spec.js.snap +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +25 -31
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +2 -2
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +5 -6
- package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +3 -3
- package/es/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +10 -10
- package/es/PopOver/PopOver.js +3 -2
- package/es/Radio/Radio.js +4 -3
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +91 -171
- package/es/Ribbon/Ribbon.js +7 -6
- package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +21 -24
- package/es/Select/GroupSelect.js +5 -4
- package/es/Select/Select.js +4 -3
- package/es/Select/SelectWithAvatar.js +4 -3
- package/es/Select/SelectWithIcon.js +4 -3
- package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +4 -4
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +394 -416
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +3 -3
- package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +4 -4
- package/es/Stencils/Stencils.js +2 -1
- package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +12 -12
- package/es/Switch/Switch.js +3 -2
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +55 -67
- package/es/Tab/Tabs.js +4 -3
- package/es/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +4 -4
- package/es/Tag/Tag.js +5 -4
- package/es/Tag/__tests__/__snapshots__/Tag.spec.js.snap +196 -242
- package/es/TextBox/TextBox.js +2 -1
- package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +44 -44
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +81 -81
- package/es/Textarea/Textarea.js +2 -1
- package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
- package/es/Tooltip/Tooltip.js +5 -4
- package/es/Typography/__tests__/__snapshots__/Typography.spec.js.snap +3 -3
- package/es/common/basic.module.css +9 -8
- package/es/deprecated/Switch/Switch.js +3 -2
- package/es/semantic/Button/Button.js +2 -1
- package/es/semantic/Button/__tests__/__snapshots__/Button.spec.js.snap +1 -1
- package/es/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +14 -14
- package/es/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +17 -17
- package/es/v1/Button/Button.js +3 -1
- package/es/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +8 -8
- package/es/v1/Switch/Switch.js +4 -3
- package/es/v1/shared/Loader/Loader.js +4 -3
- package/es/v1/shared/Loader/__tests__/__snapshots__/Loader.spec.js.snap +1 -1
- package/es/v1/shared/SuccessTick/SuccessTick.js +2 -1
- package/es/v1/shared/SuccessTick/__tests__/__snapshots__/SuccessTick.spec.js.snap +1 -1
- package/lib/Accordion/Accordion.js +3 -1
- package/lib/Accordion/AccordionItem.js +4 -2
- package/lib/AppContainer/AppContainer.js +3 -1
- package/lib/AppContainer/AppContainer.module.css +9 -3
- package/lib/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +6 -6
- package/lib/Avatar/Avatar.js +6 -4
- package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +42 -42
- package/lib/AvatarTeam/AvatarTeam.js +4 -2
- package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +73 -97
- package/lib/Button/Button.js +6 -4
- package/lib/Buttongroup/Buttongroup.js +5 -3
- package/lib/Buttongroup/__tests__/__snapshots__/Buttongroup.spec.js.snap +8 -8
- package/lib/CheckBox/CheckBox.js +9 -7
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +107 -181
- package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +32 -39
- package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +21 -21
- package/lib/ColorSelect/_shared/ColorIndicator/ColorIndicator.js +3 -1
- 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 +3 -1
- package/lib/DateTime/DateTime.js +6 -4
- package/lib/DateTime/DateTimePopupFooter.js +3 -1
- package/lib/DateTime/DateWidget.js +5 -3
- package/lib/DateTime/Time.js +3 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +60 -60
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +4 -4
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +4 -4
- package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +12 -12
- package/lib/DropBox/DropBox.js +4 -2
- package/lib/DropBox/DropBoxElement/DropBoxElement.js +7 -5
- package/lib/DropDown/DropDown.js +3 -1
- package/lib/DropDown/DropDownHeading.js +3 -1
- package/lib/DropDown/DropDownItem.js +7 -5
- package/lib/DropDown/DropDownSearch.js +3 -1
- package/lib/DropDown/DropDownSeparator.js +3 -1
- 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 +3 -1
- package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +24 -48
- package/lib/ListItem/ListItemWithAvatar.js +3 -1
- package/lib/ListItem/ListItemWithCheckBox.js +3 -1
- package/lib/ListItem/ListItemWithIcon.js +4 -2
- package/lib/ListItem/ListItemWithRadio.js +3 -1
- package/lib/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +4 -4
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +7 -7
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +21 -21
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +7 -7
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +21 -28
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +8 -6
- package/lib/MultiSelect/AdvancedMultiSelect.js +4 -2
- package/lib/MultiSelect/EmptyState.js +6 -4
- package/lib/MultiSelect/MobileHeader/MobileHeader.js +3 -1
- package/lib/MultiSelect/MultiSelect.js +6 -4
- package/lib/MultiSelect/MultiSelectWithAvatar.js +4 -2
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +5 -6
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +20 -23
- package/lib/MultiSelect/__tests__/__snapshots__/EmptyState.spec.js.snap +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +25 -31
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +2 -2
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +5 -6
- package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +3 -3
- package/lib/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +10 -10
- package/lib/PopOver/PopOver.js +4 -2
- package/lib/Radio/Radio.js +5 -3
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +91 -171
- package/lib/Ribbon/Ribbon.js +7 -5
- package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +21 -24
- package/lib/Select/GroupSelect.js +6 -4
- package/lib/Select/Select.js +5 -3
- package/lib/Select/SelectWithAvatar.js +5 -3
- package/lib/Select/SelectWithIcon.js +5 -3
- package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +4 -4
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +394 -416
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +3 -3
- package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +4 -4
- package/lib/Stencils/Stencils.js +3 -1
- package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +12 -12
- package/lib/Switch/Switch.js +4 -2
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +55 -67
- package/lib/Tab/Tabs.js +5 -3
- package/lib/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +4 -4
- package/lib/Tag/Tag.js +6 -4
- package/lib/Tag/__tests__/__snapshots__/Tag.spec.js.snap +196 -242
- package/lib/TextBox/TextBox.js +3 -1
- package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +44 -44
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +81 -81
- package/lib/Textarea/Textarea.js +3 -1
- package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +46 -46
- package/lib/Tooltip/Tooltip.js +6 -4
- package/lib/Typography/__tests__/__snapshots__/Typography.spec.js.snap +3 -3
- package/lib/common/basic.module.css +9 -8
- package/lib/deprecated/Switch/Switch.js +4 -2
- package/lib/semantic/Button/Button.js +3 -1
- package/lib/semantic/Button/__tests__/__snapshots__/Button.spec.js.snap +1 -1
- package/lib/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +14 -14
- package/lib/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +17 -17
- package/lib/v1/Button/Button.js +3 -1
- package/lib/v1/Button/__tests__/__snapshots__/Button.spec.js.snap +8 -8
- package/lib/v1/Switch/Switch.js +5 -3
- package/lib/v1/shared/Loader/Loader.js +5 -3
- package/lib/v1/shared/Loader/__tests__/__snapshots__/Loader.spec.js.snap +1 -1
- package/lib/v1/shared/SuccessTick/SuccessTick.js +3 -1
- package/lib/v1/shared/SuccessTick/__tests__/__snapshots__/SuccessTick.spec.js.snap +1 -1
- package/package.json +9 -10
|
@@ -18,7 +18,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
18
18
|
data-test-id="boxComponent"
|
|
19
19
|
>
|
|
20
20
|
<div
|
|
21
|
-
class="container box_small
|
|
21
|
+
class="container box_small"
|
|
22
22
|
data-selector-id="select"
|
|
23
23
|
>
|
|
24
24
|
<div
|
|
@@ -27,7 +27,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
27
27
|
data-test-id="hourField"
|
|
28
28
|
>
|
|
29
29
|
<div
|
|
30
|
-
class="flex row varClass customContainer
|
|
30
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container input"
|
|
31
31
|
data-selector-id="textBoxIcon"
|
|
32
32
|
>
|
|
33
33
|
<div
|
|
@@ -44,7 +44,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
44
44
|
aria-owns="1"
|
|
45
45
|
aria-readonly="true"
|
|
46
46
|
autocomplete="off"
|
|
47
|
-
class="
|
|
47
|
+
class="pointer container xmedium primary effect borderColor_default inputDotted"
|
|
48
48
|
data-id="hourField_textBox"
|
|
49
49
|
data-selector-id="textBoxIcon"
|
|
50
50
|
data-test-id="hourField_textBox"
|
|
@@ -89,7 +89,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
89
89
|
>
|
|
90
90
|
<i
|
|
91
91
|
aria-hidden="true"
|
|
92
|
-
class="zd_font_icons
|
|
92
|
+
class="zd_font_icons basic icon-down"
|
|
93
93
|
data-id="fontIcon"
|
|
94
94
|
data-selector-id="fontIcon"
|
|
95
95
|
data-test-id="fontIcon"
|
|
@@ -111,7 +111,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
111
111
|
data-test-id="boxComponent"
|
|
112
112
|
>
|
|
113
113
|
<div
|
|
114
|
-
class="container box_small
|
|
114
|
+
class="container box_small"
|
|
115
115
|
data-selector-id="select"
|
|
116
116
|
>
|
|
117
117
|
<div
|
|
@@ -120,7 +120,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
120
120
|
data-test-id="minuteField"
|
|
121
121
|
>
|
|
122
122
|
<div
|
|
123
|
-
class="flex row varClass customContainer
|
|
123
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container input"
|
|
124
124
|
data-selector-id="textBoxIcon"
|
|
125
125
|
>
|
|
126
126
|
<div
|
|
@@ -137,7 +137,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
137
137
|
aria-owns="3"
|
|
138
138
|
aria-readonly="true"
|
|
139
139
|
autocomplete="off"
|
|
140
|
-
class="
|
|
140
|
+
class="pointer container xmedium primary effect borderColor_default inputDotted"
|
|
141
141
|
data-id="minuteField_textBox"
|
|
142
142
|
data-selector-id="textBoxIcon"
|
|
143
143
|
data-test-id="minuteField_textBox"
|
|
@@ -182,7 +182,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
182
182
|
>
|
|
183
183
|
<i
|
|
184
184
|
aria-hidden="true"
|
|
185
|
-
class="zd_font_icons
|
|
185
|
+
class="zd_font_icons basic icon-down"
|
|
186
186
|
data-id="fontIcon"
|
|
187
187
|
data-selector-id="fontIcon"
|
|
188
188
|
data-test-id="fontIcon"
|
|
@@ -204,7 +204,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
204
204
|
data-test-id="boxComponent"
|
|
205
205
|
>
|
|
206
206
|
<div
|
|
207
|
-
class="container box_small
|
|
207
|
+
class="container box_small"
|
|
208
208
|
data-selector-id="select"
|
|
209
209
|
>
|
|
210
210
|
<div
|
|
@@ -213,7 +213,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
213
213
|
data-test-id="ampmField"
|
|
214
214
|
>
|
|
215
215
|
<div
|
|
216
|
-
class="flex row varClass customContainer
|
|
216
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder container input"
|
|
217
217
|
data-selector-id="textBoxIcon"
|
|
218
218
|
>
|
|
219
219
|
<div
|
|
@@ -230,7 +230,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
230
230
|
aria-owns="5"
|
|
231
231
|
aria-readonly="true"
|
|
232
232
|
autocomplete="off"
|
|
233
|
-
class="
|
|
233
|
+
class="pointer container xmedium primary effect borderColor_default inputDotted"
|
|
234
234
|
data-id="ampmField_textBox"
|
|
235
235
|
data-selector-id="textBoxIcon"
|
|
236
236
|
data-test-id="ampmField_textBox"
|
|
@@ -275,7 +275,7 @@ exports[`Time rendering the defult props 1`] = `
|
|
|
275
275
|
>
|
|
276
276
|
<i
|
|
277
277
|
aria-hidden="true"
|
|
278
|
-
class="zd_font_icons
|
|
278
|
+
class="zd_font_icons basic icon-down"
|
|
279
279
|
data-id="fontIcon"
|
|
280
280
|
data-selector-id="fontIcon"
|
|
281
281
|
data-test-id="fontIcon"
|
package/lib/DropBox/DropBox.js
CHANGED
|
@@ -27,6 +27,8 @@ var _Common = require("./../utils/Common");
|
|
|
27
27
|
|
|
28
28
|
var _isMobilePopover = _interopRequireDefault(require("./utils/isMobilePopover"));
|
|
29
29
|
|
|
30
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
31
|
+
|
|
30
32
|
var _DropBoxModule = _interopRequireDefault(require("./css/DropBox.module.css"));
|
|
31
33
|
|
|
32
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -100,13 +102,13 @@ function DropBox(props) {
|
|
|
100
102
|
return isModel && isActive ? /*#__PURE__*/_react["default"].createElement(_Portal["default"], {
|
|
101
103
|
portalId: portalId
|
|
102
104
|
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
103
|
-
className: "".concat(_DropBoxModule["default"].freezeLayer, " ").concat(_DropBoxModule["default"].freeze),
|
|
105
|
+
className: (0, _cssUtility.cn)("".concat(_DropBoxModule["default"].freezeLayer, " ").concat(_DropBoxModule["default"].freeze)),
|
|
104
106
|
style: zIndexStyle,
|
|
105
107
|
onClick: _Common.stopPropagation
|
|
106
108
|
}), dropBoxEle)) : !isAbsolutePositioningNeeded && isActive ? /*#__PURE__*/_react["default"].createElement(_Portal["default"], {
|
|
107
109
|
portalId: portalId
|
|
108
110
|
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isRestrictScroll ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
109
|
-
className: _DropBoxModule["default"].freezeLayer,
|
|
111
|
+
className: (0, _cssUtility.cn)(_DropBoxModule["default"].freezeLayer),
|
|
110
112
|
style: zIndexStyle,
|
|
111
113
|
onClick: _Common.stopPropagation
|
|
112
114
|
}) : null, dropBoxEle)) : dropBoxEle;
|
|
@@ -21,6 +21,8 @@ var _propTypes = require("./props/propTypes");
|
|
|
21
21
|
|
|
22
22
|
var _utils = require("@zohodesk/utils");
|
|
23
23
|
|
|
24
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
25
|
+
|
|
24
26
|
var _DropBoxElementModule = _interopRequireDefault(require("./css/DropBoxElement.module.css"));
|
|
25
27
|
|
|
26
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -125,7 +127,7 @@ function DropBoxElement(props) {
|
|
|
125
127
|
inlineStyle = _cssJSLogic.inlineStyle;
|
|
126
128
|
|
|
127
129
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
128
|
-
className: boxClassName,
|
|
130
|
+
className: (0, _cssUtility.cn)(boxClassName),
|
|
129
131
|
"data-id": "".concat(dataId),
|
|
130
132
|
"data-test-id": "".concat(dataId),
|
|
131
133
|
"data-selector-id": dataSelectorId,
|
|
@@ -145,22 +147,22 @@ function DropBoxElement(props) {
|
|
|
145
147
|
"dot-ui-element": "dropbox"
|
|
146
148
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
147
149
|
tabIndex: "-1",
|
|
148
|
-
className: "".concat(subContainerClass, " ").concat(_DropBoxElementModule["default"]["".concat(palette, "Palette")]),
|
|
150
|
+
className: (0, _cssUtility.cn)("".concat(subContainerClass, " ").concat(_DropBoxElementModule["default"]["".concat(palette, "Palette")])),
|
|
149
151
|
onClick: onClick,
|
|
150
152
|
"data-id": "".concat(dataId, "_subcontainer"),
|
|
151
153
|
"data-test-id": "".concat(dataId, "_subcontainer"),
|
|
152
154
|
"data-selector-id": "".concat(dataSelectorId, "_subcontainer"),
|
|
153
155
|
ref: setSubContainerRef
|
|
154
156
|
}, isModel ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
-
className: _DropBoxElementModule["default"].closeBar
|
|
157
|
+
className: (0, _cssUtility.cn)(_DropBoxElementModule["default"].closeBar)
|
|
156
158
|
}) : null, isArrow && !isModel && /*#__PURE__*/_react["default"].createElement("div", {
|
|
157
|
-
className: _DropBoxElementModule["default"].arrowPosition,
|
|
159
|
+
className: (0, _cssUtility.cn)(_DropBoxElementModule["default"].arrowPosition),
|
|
158
160
|
style: arrowstyle,
|
|
159
161
|
"data-id": "".concat(dataId, "_arrow"),
|
|
160
162
|
"data-test-id": "".concat(dataId, "_arrow"),
|
|
161
163
|
"data-selector-id": "".concat(dataSelectorId, "_arrow")
|
|
162
164
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
163
|
-
className: _DropBoxElementModule["default"].arrowShape
|
|
165
|
+
className: (0, _cssUtility.cn)(_DropBoxElementModule["default"].arrowShape)
|
|
164
166
|
})), children));
|
|
165
167
|
}
|
|
166
168
|
|
package/lib/DropDown/DropDown.js
CHANGED
|
@@ -13,6 +13,8 @@ var _propTypes = require("./props/propTypes");
|
|
|
13
13
|
|
|
14
14
|
var _defaultProps = require("./props/defaultProps");
|
|
15
15
|
|
|
16
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
17
|
+
|
|
16
18
|
var _DropDownModule = _interopRequireDefault(require("./DropDown.module.css"));
|
|
17
19
|
|
|
18
20
|
var _PopOver = _interopRequireWildcard(require("../PopOver/PopOver"));
|
|
@@ -154,7 +156,7 @@ var DropDownItemContainer = /*#__PURE__*/function (_React$Component4) {
|
|
|
154
156
|
children = _this$props.children,
|
|
155
157
|
dataId = _this$props.dataId;
|
|
156
158
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
157
|
-
className: _DropDownModule["default"].listGroup,
|
|
159
|
+
className: (0, _cssUtility.cn)(_DropDownModule["default"].listGroup),
|
|
158
160
|
onScroll: this.onScroll,
|
|
159
161
|
ref: this.getRef,
|
|
160
162
|
"data-id": dataId,
|
|
@@ -13,6 +13,8 @@ var _propTypes = require("./props/propTypes");
|
|
|
13
13
|
|
|
14
14
|
var _defaultProps = require("./props/defaultProps");
|
|
15
15
|
|
|
16
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
17
|
+
|
|
16
18
|
var _DropDownHeadingModule = _interopRequireDefault(require("./DropDownHeading.module.css"));
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -66,7 +68,7 @@ var DropDownHeading = /*#__PURE__*/function (_React$Component) {
|
|
|
66
68
|
ariaLabelledby = a11y.ariaLabelledby,
|
|
67
69
|
ariaLabel = a11y.ariaLabel;
|
|
68
70
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
-
className: "".concat(_DropDownHeadingModule["default"][palette], " ").concat(customClass),
|
|
71
|
+
className: (0, _cssUtility.cn)("".concat(_DropDownHeadingModule["default"][palette], " ").concat(customClass)),
|
|
70
72
|
"data-title": title,
|
|
71
73
|
role: role,
|
|
72
74
|
"aria-labelledby": ariaLabelledby,
|
|
@@ -13,6 +13,8 @@ var _propTypes = require("./props/propTypes");
|
|
|
13
13
|
|
|
14
14
|
var _defaultProps = require("./props/defaultProps");
|
|
15
15
|
|
|
16
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
17
|
+
|
|
16
18
|
var _DropDownItemModule = _interopRequireDefault(require("./DropDownItem.module.css"));
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -101,20 +103,20 @@ var DropDownItem = /*#__PURE__*/function (_React$Component) {
|
|
|
101
103
|
_this$props4$customCl = _this$props4.customClass,
|
|
102
104
|
customClass = _this$props4$customCl === void 0 ? '' : _this$props4$customCl;
|
|
103
105
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
104
|
-
className: "".concat(_DropDownItemModule["default"].list, " ").concat(active ? _DropDownItemModule["default"].listActive : hightlight ? _DropDownItemModule["default"].listHover : '', " ").concat(children && children[1] ? _DropDownItemModule["default"].padding : '', " ").concat(customClass),
|
|
106
|
+
className: (0, _cssUtility.cn)("".concat(_DropDownItemModule["default"].list, " ").concat(active ? _DropDownItemModule["default"].listActive : hightlight ? _DropDownItemModule["default"].listHover : '', " ").concat(children && children[1] ? _DropDownItemModule["default"].padding : '', " ").concat(customClass)),
|
|
105
107
|
onClick: this.onClick,
|
|
106
108
|
onMouseOver: this.onHover,
|
|
107
109
|
ref: this.getRef,
|
|
108
110
|
"data-id": dataId,
|
|
109
111
|
"data-test-id": dataId
|
|
110
112
|
}, children && children[0] ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
111
|
-
className: _DropDownItemModule["default"].children
|
|
113
|
+
className: (0, _cssUtility.cn)(_DropDownItemModule["default"].children)
|
|
112
114
|
}, " ", children[0], " ") : children !== undefined ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
113
|
-
className: _DropDownItemModule["default"].children
|
|
115
|
+
className: (0, _cssUtility.cn)(_DropDownItemModule["default"].children)
|
|
114
116
|
}, " ", children, " ") : null, value ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
115
|
-
className: _DropDownItemModule["default"].value
|
|
117
|
+
className: (0, _cssUtility.cn)(_DropDownItemModule["default"].value)
|
|
116
118
|
}, value) : '', children && children[1] ? /*#__PURE__*/_react["default"].createElement("span", {
|
|
117
|
-
className: _DropDownItemModule["default"].user
|
|
119
|
+
className: (0, _cssUtility.cn)(_DropDownItemModule["default"].user)
|
|
118
120
|
}, " ", children[1], " ") : '');
|
|
119
121
|
}
|
|
120
122
|
}]);
|
|
@@ -15,6 +15,8 @@ var _defaultProps = require("./props/defaultProps");
|
|
|
15
15
|
|
|
16
16
|
var _TextBox = _interopRequireDefault(require("../TextBox/TextBox"));
|
|
17
17
|
|
|
18
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
19
|
+
|
|
18
20
|
var _DropDownSearchModule = _interopRequireDefault(require("./DropDownSearch.module.css"));
|
|
19
21
|
|
|
20
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -90,7 +92,7 @@ var DropDownSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
90
92
|
_customClass$customTe = customClass.customTextBox,
|
|
91
93
|
customTextBox = _customClass$customTe === void 0 ? '' : _customClass$customTe;
|
|
92
94
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
|
-
className: "".concat(_DropDownSearchModule["default"].search, " ").concat(_DropDownSearchModule["default"]["".concat(size, "Search")], " ").concat(searchClass),
|
|
95
|
+
className: (0, _cssUtility.cn)("".concat(_DropDownSearchModule["default"].search, " ").concat(_DropDownSearchModule["default"]["".concat(size, "Search")], " ").concat(searchClass)),
|
|
94
96
|
"data-id": dataId,
|
|
95
97
|
"data-test-id": dataId
|
|
96
98
|
}, /*#__PURE__*/_react["default"].createElement(_TextBox["default"], {
|
|
@@ -11,6 +11,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = require("./props/propTypes");
|
|
13
13
|
|
|
14
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
15
|
+
|
|
14
16
|
var _DropDownSeparatorModule = _interopRequireDefault(require("./DropDownSeparator.module.css"));
|
|
15
17
|
|
|
16
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -52,7 +54,7 @@ var DropDownSeparator = /*#__PURE__*/function (_React$Component) {
|
|
|
52
54
|
var _this$props$customCla = this.props.customClass,
|
|
53
55
|
customClass = _this$props$customCla === void 0 ? '' : _this$props$customCla;
|
|
54
56
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
55
|
-
className: "".concat(_DropDownSeparatorModule["default"].separator, " ").concat(customClass)
|
|
57
|
+
className: (0, _cssUtility.cn)("".concat(_DropDownSeparatorModule["default"].separator, " ").concat(customClass))
|
|
56
58
|
});
|
|
57
59
|
}
|
|
58
60
|
}]);
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
exports[`DropDownSearch rendering the defult props 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
|
-
class="search mediumSearch
|
|
6
|
+
class="search mediumSearch"
|
|
7
7
|
data-id="DropDownSearch"
|
|
8
8
|
data-test-id="DropDownSearch"
|
|
9
9
|
>
|
|
10
10
|
<input
|
|
11
|
-
class="
|
|
11
|
+
class="container medium default border effect borderColor_default"
|
|
12
12
|
data-id="textBox"
|
|
13
13
|
data-selector-id="textBox"
|
|
14
14
|
data-test-id="textBox"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`Heading Should render whiteSpace of Heading - break-spaces 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<h1
|
|
6
|
-
class="reset whiteSpace_breakSpaces
|
|
6
|
+
class="reset whiteSpace_breakSpaces"
|
|
7
7
|
data-title-wrap="break-spaces"
|
|
8
8
|
/>
|
|
9
9
|
</DocumentFragment>
|
|
@@ -12,7 +12,7 @@ exports[`Heading Should render whiteSpace of Heading - break-spaces 1`] = `
|
|
|
12
12
|
exports[`Heading Should render whiteSpace of Heading - normal 1`] = `
|
|
13
13
|
<DocumentFragment>
|
|
14
14
|
<h1
|
|
15
|
-
class="reset whiteSpace_normal
|
|
15
|
+
class="reset whiteSpace_normal"
|
|
16
16
|
data-title-wrap="normal"
|
|
17
17
|
/>
|
|
18
18
|
</DocumentFragment>
|
|
@@ -21,7 +21,7 @@ exports[`Heading Should render whiteSpace of Heading - normal 1`] = `
|
|
|
21
21
|
exports[`Heading Should render whiteSpace of Heading - nowrap 1`] = `
|
|
22
22
|
<DocumentFragment>
|
|
23
23
|
<h1
|
|
24
|
-
class="reset whiteSpace_nowrap
|
|
24
|
+
class="reset whiteSpace_nowrap"
|
|
25
25
|
data-title-wrap="nowrap"
|
|
26
26
|
/>
|
|
27
27
|
</DocumentFragment>
|
|
@@ -30,7 +30,7 @@ exports[`Heading Should render whiteSpace of Heading - nowrap 1`] = `
|
|
|
30
30
|
exports[`Heading Should render whiteSpace of Heading - pre 1`] = `
|
|
31
31
|
<DocumentFragment>
|
|
32
32
|
<h1
|
|
33
|
-
class="reset whiteSpace_pre
|
|
33
|
+
class="reset whiteSpace_pre"
|
|
34
34
|
data-title-wrap="pre"
|
|
35
35
|
/>
|
|
36
36
|
</DocumentFragment>
|
|
@@ -39,7 +39,7 @@ exports[`Heading Should render whiteSpace of Heading - pre 1`] = `
|
|
|
39
39
|
exports[`Heading Should render whiteSpace of Heading - pre-line 1`] = `
|
|
40
40
|
<DocumentFragment>
|
|
41
41
|
<h1
|
|
42
|
-
class="reset whiteSpace_preLine
|
|
42
|
+
class="reset whiteSpace_preLine"
|
|
43
43
|
data-title-wrap="pre-line"
|
|
44
44
|
/>
|
|
45
45
|
</DocumentFragment>
|
|
@@ -48,7 +48,7 @@ exports[`Heading Should render whiteSpace of Heading - pre-line 1`] = `
|
|
|
48
48
|
exports[`Heading Should render whiteSpace of Heading - pre-wrap 1`] = `
|
|
49
49
|
<DocumentFragment>
|
|
50
50
|
<h1
|
|
51
|
-
class="reset whiteSpace_preWrap
|
|
51
|
+
class="reset whiteSpace_preWrap"
|
|
52
52
|
data-title-wrap="pre-wrap"
|
|
53
53
|
/>
|
|
54
54
|
</DocumentFragment>
|
|
@@ -57,7 +57,7 @@ exports[`Heading Should render whiteSpace of Heading - pre-wrap 1`] = `
|
|
|
57
57
|
exports[`Heading rendering the defult props 1`] = `
|
|
58
58
|
<DocumentFragment>
|
|
59
59
|
<h1
|
|
60
|
-
class="reset
|
|
60
|
+
class="reset"
|
|
61
61
|
/>
|
|
62
62
|
</DocumentFragment>
|
|
63
63
|
`;
|
package/lib/Label/Label.js
CHANGED
|
@@ -17,6 +17,8 @@ var _Flex = _interopRequireDefault(require("@zohodesk/layout/es/Flex/Flex"));
|
|
|
17
17
|
|
|
18
18
|
var _utils = require("@zohodesk/utils");
|
|
19
19
|
|
|
20
|
+
var _cssUtility = require("@dot-system/css-utility");
|
|
21
|
+
|
|
20
22
|
var _LabelModule = _interopRequireDefault(require("./Label.module.css"));
|
|
21
23
|
|
|
22
24
|
var _LabelColorsModule = _interopRequireDefault(require("./LabelColors.module.css"));
|
|
@@ -82,7 +84,7 @@ var Label = /*#__PURE__*/function (_React$Component) {
|
|
|
82
84
|
var tabIndex = a11y.tabIndex;
|
|
83
85
|
|
|
84
86
|
var labelElement = /*#__PURE__*/_react["default"].createElement("label", {
|
|
85
|
-
className: "".concat(_LabelModule["default"].label, " ").concat(_LabelModule["default"][type], " ").concat(_LabelModule["default"][size], " ").concat(_LabelColorsModule["default"][palette], " ").concat(_LabelModule["default"]["font_".concat(variant)], "\n ").concat(clipped ? _LabelModule["default"].dotted : '', " ").concat(onClick ? _LabelModule["default"].pointer : _LabelModule["default"].cursor, " ").concat(customClass),
|
|
87
|
+
className: (0, _cssUtility.cn)("".concat(_LabelModule["default"].label, " ").concat(_LabelModule["default"][type], " ").concat(_LabelModule["default"][size], " ").concat(_LabelColorsModule["default"][palette], " ").concat(_LabelModule["default"]["font_".concat(variant)], "\n ").concat(clipped ? _LabelModule["default"].dotted : '', " ").concat(onClick ? _LabelModule["default"].pointer : _LabelModule["default"].cursor, " ").concat(customClass)),
|
|
86
88
|
htmlFor: htmlFor,
|
|
87
89
|
"data-title": title,
|
|
88
90
|
"data-id": dataId,
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
exports[`Label rendering the Id 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<label
|
|
6
|
-
class="label title medium default font_default
|
|
7
|
-
cursor "
|
|
6
|
+
class="label title medium default font_default cursor"
|
|
8
7
|
data-id="label"
|
|
9
8
|
data-selector-id="label"
|
|
10
9
|
data-test-id="label"
|
|
@@ -18,8 +17,7 @@ exports[`Label rendering the Id 1`] = `
|
|
|
18
17
|
exports[`Label rendering the clipped is true 1`] = `
|
|
19
18
|
<DocumentFragment>
|
|
20
19
|
<label
|
|
21
|
-
class="label title medium default font_default
|
|
22
|
-
dotted cursor "
|
|
20
|
+
class="label title medium default font_default dotted cursor"
|
|
23
21
|
data-id="label"
|
|
24
22
|
data-selector-id="label"
|
|
25
23
|
data-test-id="label"
|
|
@@ -32,8 +30,7 @@ exports[`Label rendering the clipped is true 1`] = `
|
|
|
32
30
|
exports[`Label rendering the customClass 1`] = `
|
|
33
31
|
<DocumentFragment>
|
|
34
32
|
<label
|
|
35
|
-
class="label title medium default font_default
|
|
36
|
-
cursor LabelCustomClass"
|
|
33
|
+
class="label title medium default font_default cursor LabelCustomClass"
|
|
37
34
|
data-id="label"
|
|
38
35
|
data-selector-id="label"
|
|
39
36
|
data-test-id="label"
|
|
@@ -46,8 +43,7 @@ exports[`Label rendering the customClass 1`] = `
|
|
|
46
43
|
exports[`Label rendering the defult props 1`] = `
|
|
47
44
|
<DocumentFragment>
|
|
48
45
|
<label
|
|
49
|
-
class="label title medium default font_default
|
|
50
|
-
cursor "
|
|
46
|
+
class="label title medium default font_default cursor"
|
|
51
47
|
data-id="label"
|
|
52
48
|
data-selector-id="label"
|
|
53
49
|
data-test-id="label"
|
|
@@ -60,8 +56,7 @@ exports[`Label rendering the defult props 1`] = `
|
|
|
60
56
|
exports[`Label rendering the htmlFor 1`] = `
|
|
61
57
|
<DocumentFragment>
|
|
62
58
|
<label
|
|
63
|
-
class="label title medium default font_default
|
|
64
|
-
cursor "
|
|
59
|
+
class="label title medium default font_default cursor"
|
|
65
60
|
data-id="label"
|
|
66
61
|
data-selector-id="label"
|
|
67
62
|
data-test-id="label"
|
|
@@ -75,8 +70,7 @@ exports[`Label rendering the htmlFor 1`] = `
|
|
|
75
70
|
exports[`Label rendering the onClick prop with asFragment and toMatchSnapshot 1`] = `
|
|
76
71
|
<DocumentFragment>
|
|
77
72
|
<label
|
|
78
|
-
class="label title medium default font_default
|
|
79
|
-
pointer "
|
|
73
|
+
class="label title medium default font_default pointer"
|
|
80
74
|
data-id="label"
|
|
81
75
|
data-selector-id="label"
|
|
82
76
|
data-test-id="label"
|
|
@@ -89,8 +83,7 @@ exports[`Label rendering the onClick prop with asFragment and toMatchSnapshot 1`
|
|
|
89
83
|
exports[`Label rendering the palette of- danger 1`] = `
|
|
90
84
|
<DocumentFragment>
|
|
91
85
|
<label
|
|
92
|
-
class="label title medium danger font_default
|
|
93
|
-
cursor "
|
|
86
|
+
class="label title medium danger font_default cursor"
|
|
94
87
|
data-id="label"
|
|
95
88
|
data-selector-id="label"
|
|
96
89
|
data-test-id="label"
|
|
@@ -103,8 +96,7 @@ exports[`Label rendering the palette of- danger 1`] = `
|
|
|
103
96
|
exports[`Label rendering the palette of- dark 1`] = `
|
|
104
97
|
<DocumentFragment>
|
|
105
98
|
<label
|
|
106
|
-
class="label title medium dark font_default
|
|
107
|
-
cursor "
|
|
99
|
+
class="label title medium dark font_default cursor"
|
|
108
100
|
data-id="label"
|
|
109
101
|
data-selector-id="label"
|
|
110
102
|
data-test-id="label"
|
|
@@ -117,8 +109,7 @@ exports[`Label rendering the palette of- dark 1`] = `
|
|
|
117
109
|
exports[`Label rendering the palette of- default 1`] = `
|
|
118
110
|
<DocumentFragment>
|
|
119
111
|
<label
|
|
120
|
-
class="label title medium default font_default
|
|
121
|
-
cursor "
|
|
112
|
+
class="label title medium default font_default cursor"
|
|
122
113
|
data-id="label"
|
|
123
114
|
data-selector-id="label"
|
|
124
115
|
data-test-id="label"
|
|
@@ -131,8 +122,7 @@ exports[`Label rendering the palette of- default 1`] = `
|
|
|
131
122
|
exports[`Label rendering the palette of- disable 1`] = `
|
|
132
123
|
<DocumentFragment>
|
|
133
124
|
<label
|
|
134
|
-
class="label title medium disable font_default
|
|
135
|
-
cursor "
|
|
125
|
+
class="label title medium disable font_default cursor"
|
|
136
126
|
data-id="label"
|
|
137
127
|
data-selector-id="label"
|
|
138
128
|
data-test-id="label"
|
|
@@ -145,8 +135,7 @@ exports[`Label rendering the palette of- disable 1`] = `
|
|
|
145
135
|
exports[`Label rendering the palette of- mandatory 1`] = `
|
|
146
136
|
<DocumentFragment>
|
|
147
137
|
<label
|
|
148
|
-
class="label title medium mandatory font_default
|
|
149
|
-
cursor "
|
|
138
|
+
class="label title medium mandatory font_default cursor"
|
|
150
139
|
data-id="label"
|
|
151
140
|
data-selector-id="label"
|
|
152
141
|
data-test-id="label"
|
|
@@ -159,8 +148,7 @@ exports[`Label rendering the palette of- mandatory 1`] = `
|
|
|
159
148
|
exports[`Label rendering the palette of- primary 1`] = `
|
|
160
149
|
<DocumentFragment>
|
|
161
150
|
<label
|
|
162
|
-
class="label title medium primary font_default
|
|
163
|
-
cursor "
|
|
151
|
+
class="label title medium primary font_default cursor"
|
|
164
152
|
data-id="label"
|
|
165
153
|
data-selector-id="label"
|
|
166
154
|
data-test-id="label"
|
|
@@ -173,8 +161,7 @@ exports[`Label rendering the palette of- primary 1`] = `
|
|
|
173
161
|
exports[`Label rendering the palette of- secondary 1`] = `
|
|
174
162
|
<DocumentFragment>
|
|
175
163
|
<label
|
|
176
|
-
class="label title medium secondary font_default
|
|
177
|
-
cursor "
|
|
164
|
+
class="label title medium secondary font_default cursor"
|
|
178
165
|
data-id="label"
|
|
179
166
|
data-selector-id="label"
|
|
180
167
|
data-test-id="label"
|
|
@@ -187,8 +174,7 @@ exports[`Label rendering the palette of- secondary 1`] = `
|
|
|
187
174
|
exports[`Label rendering the size of- large 1`] = `
|
|
188
175
|
<DocumentFragment>
|
|
189
176
|
<label
|
|
190
|
-
class="label title large default font_default
|
|
191
|
-
cursor "
|
|
177
|
+
class="label title large default font_default cursor"
|
|
192
178
|
data-id="label"
|
|
193
179
|
data-selector-id="label"
|
|
194
180
|
data-test-id="label"
|
|
@@ -201,8 +187,7 @@ exports[`Label rendering the size of- large 1`] = `
|
|
|
201
187
|
exports[`Label rendering the size of- medium 1`] = `
|
|
202
188
|
<DocumentFragment>
|
|
203
189
|
<label
|
|
204
|
-
class="label title medium default font_default
|
|
205
|
-
cursor "
|
|
190
|
+
class="label title medium default font_default cursor"
|
|
206
191
|
data-id="label"
|
|
207
192
|
data-selector-id="label"
|
|
208
193
|
data-test-id="label"
|
|
@@ -215,8 +200,7 @@ exports[`Label rendering the size of- medium 1`] = `
|
|
|
215
200
|
exports[`Label rendering the size of- small 1`] = `
|
|
216
201
|
<DocumentFragment>
|
|
217
202
|
<label
|
|
218
|
-
class="label title small default font_default
|
|
219
|
-
cursor "
|
|
203
|
+
class="label title small default font_default cursor"
|
|
220
204
|
data-id="label"
|
|
221
205
|
data-selector-id="label"
|
|
222
206
|
data-test-id="label"
|
|
@@ -229,8 +213,7 @@ exports[`Label rendering the size of- small 1`] = `
|
|
|
229
213
|
exports[`Label rendering the size of- xsmall 1`] = `
|
|
230
214
|
<DocumentFragment>
|
|
231
215
|
<label
|
|
232
|
-
class="label title xsmall default font_default
|
|
233
|
-
cursor "
|
|
216
|
+
class="label title xsmall default font_default cursor"
|
|
234
217
|
data-id="label"
|
|
235
218
|
data-selector-id="label"
|
|
236
219
|
data-test-id="label"
|
|
@@ -243,8 +226,7 @@ exports[`Label rendering the size of- xsmall 1`] = `
|
|
|
243
226
|
exports[`Label rendering the title 1`] = `
|
|
244
227
|
<DocumentFragment>
|
|
245
228
|
<label
|
|
246
|
-
class="label title medium default font_default
|
|
247
|
-
cursor "
|
|
229
|
+
class="label title medium default font_default cursor"
|
|
248
230
|
data-id="label"
|
|
249
231
|
data-selector-id="label"
|
|
250
232
|
data-test-id="label"
|
|
@@ -258,8 +240,7 @@ exports[`Label rendering the title 1`] = `
|
|
|
258
240
|
exports[`Label rendering the type of- subtitle 1`] = `
|
|
259
241
|
<DocumentFragment>
|
|
260
242
|
<label
|
|
261
|
-
class="label subtitle medium default font_default
|
|
262
|
-
cursor "
|
|
243
|
+
class="label subtitle medium default font_default cursor"
|
|
263
244
|
data-id="label"
|
|
264
245
|
data-selector-id="label"
|
|
265
246
|
data-test-id="label"
|
|
@@ -272,8 +253,7 @@ exports[`Label rendering the type of- subtitle 1`] = `
|
|
|
272
253
|
exports[`Label rendering the type of- title 1`] = `
|
|
273
254
|
<DocumentFragment>
|
|
274
255
|
<label
|
|
275
|
-
class="label title medium default font_default
|
|
276
|
-
cursor "
|
|
256
|
+
class="label title medium default font_default cursor"
|
|
277
257
|
data-id="label"
|
|
278
258
|
data-selector-id="label"
|
|
279
259
|
data-test-id="label"
|
|
@@ -286,8 +266,7 @@ exports[`Label rendering the type of- title 1`] = `
|
|
|
286
266
|
exports[`Label rendering the variant of- default 1`] = `
|
|
287
267
|
<DocumentFragment>
|
|
288
268
|
<label
|
|
289
|
-
class="label title medium default font_default
|
|
290
|
-
cursor "
|
|
269
|
+
class="label title medium default font_default cursor"
|
|
291
270
|
data-id="label"
|
|
292
271
|
data-selector-id="label"
|
|
293
272
|
data-test-id="label"
|
|
@@ -300,8 +279,7 @@ exports[`Label rendering the variant of- default 1`] = `
|
|
|
300
279
|
exports[`Label rendering the variant of- primary 1`] = `
|
|
301
280
|
<DocumentFragment>
|
|
302
281
|
<label
|
|
303
|
-
class="label title medium default font_primary
|
|
304
|
-
cursor "
|
|
282
|
+
class="label title medium default font_primary cursor"
|
|
305
283
|
data-id="label"
|
|
306
284
|
data-selector-id="label"
|
|
307
285
|
data-test-id="label"
|
|
@@ -320,8 +298,7 @@ exports[`Label rendering with customProps - containerProps & rightPlaceholderNod
|
|
|
320
298
|
style="gap: 6px;"
|
|
321
299
|
>
|
|
322
300
|
<label
|
|
323
|
-
class="label title large danger font_default
|
|
324
|
-
cursor "
|
|
301
|
+
class="label title large danger font_default cursor"
|
|
325
302
|
data-id="label"
|
|
326
303
|
data-selector-id="label"
|
|
327
304
|
data-test-id="label"
|
|
@@ -353,8 +330,7 @@ exports[`Label rendering with renderRightPlaceholderNode 1`] = `
|
|
|
353
330
|
data-test-id="flex"
|
|
354
331
|
>
|
|
355
332
|
<label
|
|
356
|
-
class="label title medium default font_default
|
|
357
|
-
cursor "
|
|
333
|
+
class="label title medium default font_default cursor"
|
|
358
334
|
data-id="label"
|
|
359
335
|
data-selector-id="label"
|
|
360
336
|
data-test-id="label"
|