@zohodesk/components 1.0.0-temp-248.1 → 1.0.0-temp-199.21
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 +6 -8
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +2 -0
- package/assets/Appearance/light/mode/Component_LightMode.module.css +2 -0
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +2 -0
- package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +5 -5
- package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +6 -6
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +3 -3
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +3 -3
- package/es/ListItem/ListItem.module.css +30 -20
- package/es/ListItem/ListItemWithAvatar.js +4 -2
- package/es/ListItem/ListItemWithCheckBox.js +4 -2
- package/es/ListItem/ListItemWithIcon.js +4 -2
- package/es/ListItem/ListItemWithRadio.js +4 -2
- package/es/ListItem/props/propTypes.js +3 -3
- package/es/Modal/Portal/Portal.js +11 -10
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +6 -2
- package/es/MultiSelect/MultiSelect.js +2 -2
- package/es/MultiSelect/Suggestions.js +7 -2
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +1 -1
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +3 -3
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +3 -3
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +1 -1
- package/es/MultiSelect/props/defaultProps.js +2 -0
- package/es/MultiSelect/props/propTypes.js +11 -3
- package/es/Select/GroupSelect.js +1 -1
- package/es/Select/Select.js +3 -5
- package/es/Select/SelectWithAvatar.js +3 -3
- package/es/Select/SelectWithIcon.js +10 -3
- package/es/Select/__tests__/Select.spec.js +0 -5
- package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +1 -1
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +75 -75
- package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +1 -1
- package/es/Select/props/defaultProps.js +4 -2
- package/es/Select/props/propTypes.js +12 -5
- package/es/TextBoxIcon/TextBoxIcon.js +1 -0
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +39 -39
- package/es/common/common.module.css +1 -1
- package/es/shared/InputFieldLine/InputFieldLine.js +1 -2
- package/es/shared/InputFieldLine/InputFieldLine.module.css +7 -13
- package/es/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/es/shared/InputFieldLine/props/defaultProps.js +1 -0
- package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +5 -5
- package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +6 -6
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +3 -3
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +3 -3
- package/lib/ListItem/ListItem.module.css +30 -20
- package/lib/ListItem/ListItemWithAvatar.js +5 -3
- package/lib/ListItem/ListItemWithCheckBox.js +4 -2
- package/lib/ListItem/ListItemWithIcon.js +5 -3
- package/lib/ListItem/ListItemWithRadio.js +4 -2
- package/lib/ListItem/props/propTypes.js +3 -3
- package/lib/Modal/Portal/Portal.js +17 -10
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +8 -3
- package/lib/MultiSelect/MultiSelect.js +2 -2
- package/lib/MultiSelect/Suggestions.js +6 -2
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +1 -1
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +3 -3
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +3 -3
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +1 -1
- package/lib/MultiSelect/props/defaultProps.js +2 -0
- package/lib/MultiSelect/props/propTypes.js +13 -5
- package/lib/Select/GroupSelect.js +2 -1
- package/lib/Select/Select.js +5 -8
- package/lib/Select/SelectWithAvatar.js +4 -3
- package/lib/Select/SelectWithIcon.js +10 -3
- package/lib/Select/__tests__/Select.spec.js +0 -5
- package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +1 -1
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +75 -75
- package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +1 -1
- package/lib/Select/props/defaultProps.js +5 -3
- package/lib/Select/props/propTypes.js +12 -5
- package/lib/TextBoxIcon/TextBoxIcon.js +1 -0
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +39 -39
- package/lib/common/common.module.css +1 -1
- package/lib/shared/InputFieldLine/InputFieldLine.js +1 -2
- package/lib/shared/InputFieldLine/InputFieldLine.module.css +7 -13
- package/lib/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/lib/shared/InputFieldLine/props/defaultProps.js +1 -0
- package/package.json +7 -5
|
@@ -30,7 +30,7 @@ exports[`SelectWithIcon rendering the defult props 1`] = `
|
|
|
30
30
|
data-test-id="boxComponent"
|
|
31
31
|
>
|
|
32
32
|
<div
|
|
33
|
-
class="varClass customContainer
|
|
33
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container input iconSelect flex rowdir"
|
|
34
34
|
data-selector-id="textBoxIcon"
|
|
35
35
|
>
|
|
36
36
|
<div
|
|
@@ -91,7 +91,8 @@ var GroupSelect_defaultProps = {
|
|
|
91
91
|
allowValueFallback: true
|
|
92
92
|
};
|
|
93
93
|
exports.GroupSelect_defaultProps = GroupSelect_defaultProps;
|
|
94
|
-
|
|
94
|
+
|
|
95
|
+
var SelectWithAvatar_defaultProps = _defineProperty({
|
|
95
96
|
animationStyle: 'bounce',
|
|
96
97
|
defaultDropBoxPosition: 'bottom',
|
|
97
98
|
dropBoxSize: 'small',
|
|
@@ -117,7 +118,8 @@ var SelectWithAvatar_defaultProps = {
|
|
|
117
118
|
customProps: {},
|
|
118
119
|
needEffect: true,
|
|
119
120
|
isLoading: false
|
|
120
|
-
};
|
|
121
|
+
}, "customProps", {});
|
|
122
|
+
|
|
121
123
|
exports.SelectWithAvatar_defaultProps = SelectWithAvatar_defaultProps;
|
|
122
124
|
var SelectWithIcon_defaultProps = (_SelectWithIcon_defau = {
|
|
123
125
|
isReadOnly: false,
|
|
@@ -128,5 +130,5 @@ var SelectWithIcon_defaultProps = (_SelectWithIcon_defau = {
|
|
|
128
130
|
needListBorder: false,
|
|
129
131
|
needSearch: false,
|
|
130
132
|
boxSize: 'default'
|
|
131
|
-
}, _defineProperty(_SelectWithIcon_defau, "needListBorder", false), _defineProperty(_SelectWithIcon_defau, "needCloseOnSelect", true), _defineProperty(_SelectWithIcon_defau, "borderColor", 'default'), _defineProperty(_SelectWithIcon_defau, "needTick", true), _defineProperty(_SelectWithIcon_defau, "searchBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "size", 'medium'), _defineProperty(_SelectWithIcon_defau, "searchFields", []), _defineProperty(_SelectWithIcon_defau, "textBoxSize", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxVariant", 'default'), _defineProperty(_SelectWithIcon_defau, "dataId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dataSelectorId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dropBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "needIcon", true), _defineProperty(_SelectWithIcon_defau, "iconSize", '14'), _defineProperty(_SelectWithIcon_defau, "i18nKeys", {}), _defineProperty(_SelectWithIcon_defau, "isLoading", false), _defineProperty(_SelectWithIcon_defau, "isAbsolutePositioningNeeded", true), _defineProperty(_SelectWithIcon_defau, "isRestrictScroll", false), _defineProperty(_SelectWithIcon_defau, "customProps", {}), _SelectWithIcon_defau);
|
|
133
|
+
}, _defineProperty(_SelectWithIcon_defau, "needListBorder", false), _defineProperty(_SelectWithIcon_defau, "needCloseOnSelect", true), _defineProperty(_SelectWithIcon_defau, "borderColor", 'default'), _defineProperty(_SelectWithIcon_defau, "needTick", true), _defineProperty(_SelectWithIcon_defau, "searchBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "size", 'medium'), _defineProperty(_SelectWithIcon_defau, "searchFields", []), _defineProperty(_SelectWithIcon_defau, "textBoxSize", 'medium'), _defineProperty(_SelectWithIcon_defau, "textBoxVariant", 'default'), _defineProperty(_SelectWithIcon_defau, "dataId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dataSelectorId", 'selectWithIcon'), _defineProperty(_SelectWithIcon_defau, "dropBoxSize", 'small'), _defineProperty(_SelectWithIcon_defau, "needIcon", true), _defineProperty(_SelectWithIcon_defau, "iconSize", '14'), _defineProperty(_SelectWithIcon_defau, "i18nKeys", {}), _defineProperty(_SelectWithIcon_defau, "isLoading", false), _defineProperty(_SelectWithIcon_defau, "isAbsolutePositioningNeeded", true), _defineProperty(_SelectWithIcon_defau, "isRestrictScroll", false), _defineProperty(_SelectWithIcon_defau, "customProps", {}), _defineProperty(_SelectWithIcon_defau, "customClass", {}), _SelectWithIcon_defau);
|
|
132
134
|
exports.SelectWithIcon_defaultProps = SelectWithIcon_defaultProps;
|
|
@@ -103,8 +103,7 @@ var Select_propTypes = {
|
|
|
103
103
|
TextBoxIconProps: _propTypes["default"].object,
|
|
104
104
|
DropdownSearchTextBoxProps: _propTypes["default"].object,
|
|
105
105
|
listItemProps: _propTypes["default"].object,
|
|
106
|
-
SuggestionsProps: _propTypes["default"].object
|
|
107
|
-
InputFieldLineProps: _propTypes["default"].object
|
|
106
|
+
SuggestionsProps: _propTypes["default"].object
|
|
108
107
|
}),
|
|
109
108
|
isLoading: _propTypes["default"].bool,
|
|
110
109
|
dataSelectorId: _propTypes["default"].string,
|
|
@@ -204,7 +203,8 @@ var GroupSelect_propTypes = {
|
|
|
204
203
|
isDefaultSelectValue: _propTypes["default"].bool,
|
|
205
204
|
customProps: _propTypes["default"].shape({
|
|
206
205
|
TextBoxProps: _propTypes["default"].object,
|
|
207
|
-
TextBoxIconProps: _propTypes["default"].object
|
|
206
|
+
TextBoxIconProps: _propTypes["default"].object,
|
|
207
|
+
SuggestionsProps: _propTypes["default"].object
|
|
208
208
|
}),
|
|
209
209
|
allowValueFallback: _propTypes["default"].bool
|
|
210
210
|
};
|
|
@@ -269,7 +269,10 @@ var SelectWithAvatar_propTypes = _objectSpread(_objectSpread({}, Select_propType
|
|
|
269
269
|
htmlId: _propTypes["default"].string,
|
|
270
270
|
needEffect: _propTypes["default"].bool,
|
|
271
271
|
isLoading: _propTypes["default"].bool,
|
|
272
|
-
dataSelectorId: _propTypes["default"].string
|
|
272
|
+
dataSelectorId: _propTypes["default"].string,
|
|
273
|
+
customProps: _propTypes["default"].shape({
|
|
274
|
+
SuggestionsProps: _propTypes["default"].object
|
|
275
|
+
})
|
|
273
276
|
});
|
|
274
277
|
|
|
275
278
|
exports.SelectWithAvatar_propTypes = SelectWithAvatar_propTypes;
|
|
@@ -336,7 +339,11 @@ var SelectWithIcon_propTypes = {
|
|
|
336
339
|
TextBoxProps: _propTypes["default"].object,
|
|
337
340
|
DropdownSearchTextBoxProps: _propTypes["default"].object,
|
|
338
341
|
SuggestionsProps: _propTypes["default"].object,
|
|
339
|
-
TextBoxIconProps: _propTypes["default"].object
|
|
342
|
+
TextBoxIconProps: _propTypes["default"].object,
|
|
343
|
+
ListItemProps: _propTypes["default"].object
|
|
344
|
+
}),
|
|
345
|
+
customClass: _propTypes["default"].shape({
|
|
346
|
+
dropBoxClass: _propTypes["default"].string
|
|
340
347
|
})
|
|
341
348
|
};
|
|
342
349
|
exports.SelectWithIcon_propTypes = SelectWithIcon_propTypes;
|
|
@@ -176,6 +176,7 @@ var TextBoxIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
176
176
|
return /*#__PURE__*/_react["default"].createElement(_InputFieldLine["default"], {
|
|
177
177
|
isActive: isActive || isFocus,
|
|
178
178
|
border: needBorder ? 'bottom' : 'none',
|
|
179
|
+
size: size,
|
|
179
180
|
borderColor: borderColor,
|
|
180
181
|
hasEffect: needEffect,
|
|
181
182
|
isDisabled: isDisabled,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`TextBoxIcon component Should be render children 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
|
-
class="varClass customContainer
|
|
6
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
7
7
|
data-selector-id="textBoxIcon"
|
|
8
8
|
>
|
|
9
9
|
<div
|
|
@@ -55,7 +55,7 @@ exports[`TextBoxIcon component Should be render children 1`] = `
|
|
|
55
55
|
exports[`TextBoxIcon component Should be render htmlId 1`] = `
|
|
56
56
|
<DocumentFragment>
|
|
57
57
|
<div
|
|
58
|
-
class="varClass customContainer
|
|
58
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
59
59
|
data-selector-id="textBoxIcon"
|
|
60
60
|
>
|
|
61
61
|
<div
|
|
@@ -95,7 +95,7 @@ exports[`TextBoxIcon component Should be render htmlId 1`] = `
|
|
|
95
95
|
exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHover, isDisabled is false 1`] = `
|
|
96
96
|
<DocumentFragment>
|
|
97
97
|
<div
|
|
98
|
-
class="varClass customContainer
|
|
98
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container iconOnHoverStyle flex rowdir"
|
|
99
99
|
data-selector-id="textBoxIcon"
|
|
100
100
|
>
|
|
101
101
|
<div
|
|
@@ -134,7 +134,7 @@ exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHove
|
|
|
134
134
|
exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHover, isDisabled is true 1`] = `
|
|
135
135
|
<DocumentFragment>
|
|
136
136
|
<div
|
|
137
|
-
class="varClass customContainer
|
|
137
|
+
class="varClass customContainer border_bottom disabled borderColor_default hasBorder container iconOnHoverReadonly flex rowdir"
|
|
138
138
|
data-selector-id="textBoxIcon"
|
|
139
139
|
data-title=""
|
|
140
140
|
>
|
|
@@ -176,7 +176,7 @@ exports[`TextBoxIcon component Should be render iconOnHover is true , iconOnHove
|
|
|
176
176
|
exports[`TextBoxIcon component Should be render iconRotated is true 1`] = `
|
|
177
177
|
<DocumentFragment>
|
|
178
178
|
<div
|
|
179
|
-
class="varClass customContainer
|
|
179
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
180
180
|
data-selector-id="textBoxIcon"
|
|
181
181
|
>
|
|
182
182
|
<div
|
|
@@ -228,7 +228,7 @@ exports[`TextBoxIcon component Should be render iconRotated is true 1`] = `
|
|
|
228
228
|
exports[`TextBoxIcon component Should be render id 1`] = `
|
|
229
229
|
<DocumentFragment>
|
|
230
230
|
<div
|
|
231
|
-
class="varClass customContainer
|
|
231
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
232
232
|
data-selector-id="textBoxIcon"
|
|
233
233
|
>
|
|
234
234
|
<div
|
|
@@ -268,7 +268,7 @@ exports[`TextBoxIcon component Should be render id 1`] = `
|
|
|
268
268
|
exports[`TextBoxIcon component Should be render isClickable is true 1`] = `
|
|
269
269
|
<DocumentFragment>
|
|
270
270
|
<div
|
|
271
|
-
class="varClass customContainer
|
|
271
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
272
272
|
data-selector-id="textBoxIcon"
|
|
273
273
|
>
|
|
274
274
|
<div
|
|
@@ -307,7 +307,7 @@ exports[`TextBoxIcon component Should be render isClickable is true 1`] = `
|
|
|
307
307
|
exports[`TextBoxIcon component Should be render isDisabled is true 1`] = `
|
|
308
308
|
<DocumentFragment>
|
|
309
309
|
<div
|
|
310
|
-
class="varClass customContainer
|
|
310
|
+
class="varClass customContainer border_bottom disabled borderColor_default hasBorder container flex rowdir"
|
|
311
311
|
data-selector-id="textBoxIcon"
|
|
312
312
|
data-title=""
|
|
313
313
|
>
|
|
@@ -348,7 +348,7 @@ exports[`TextBoxIcon component Should be render isDisabled is true 1`] = `
|
|
|
348
348
|
exports[`TextBoxIcon component Should be render isFocus is true 1`] = `
|
|
349
349
|
<DocumentFragment>
|
|
350
350
|
<div
|
|
351
|
-
class="varClass customContainer
|
|
351
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder active container flex rowdir"
|
|
352
352
|
data-selector-id="textBoxIcon"
|
|
353
353
|
>
|
|
354
354
|
<div
|
|
@@ -387,7 +387,7 @@ exports[`TextBoxIcon component Should be render isFocus is true 1`] = `
|
|
|
387
387
|
exports[`TextBoxIcon component Should be render isReadOnly is true , needEffect is false 1`] = `
|
|
388
388
|
<DocumentFragment>
|
|
389
389
|
<div
|
|
390
|
-
class="varClass customContainer
|
|
390
|
+
class="varClass customContainer border_bottom readonly borderColor_default hasBorder container flex rowdir"
|
|
391
391
|
data-selector-id="textBoxIcon"
|
|
392
392
|
>
|
|
393
393
|
<div
|
|
@@ -427,7 +427,7 @@ exports[`TextBoxIcon component Should be render isReadOnly is true , needEffect
|
|
|
427
427
|
exports[`TextBoxIcon component Should be render isReadOnly is true 1`] = `
|
|
428
428
|
<DocumentFragment>
|
|
429
429
|
<div
|
|
430
|
-
class="varClass customContainer
|
|
430
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
431
431
|
data-selector-id="textBoxIcon"
|
|
432
432
|
>
|
|
433
433
|
<div
|
|
@@ -467,7 +467,7 @@ exports[`TextBoxIcon component Should be render isReadOnly is true 1`] = `
|
|
|
467
467
|
exports[`TextBoxIcon component Should be render name 1`] = `
|
|
468
468
|
<DocumentFragment>
|
|
469
469
|
<div
|
|
470
|
-
class="varClass customContainer
|
|
470
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
471
471
|
data-selector-id="textBoxIcon"
|
|
472
472
|
>
|
|
473
473
|
<div
|
|
@@ -507,7 +507,7 @@ exports[`TextBoxIcon component Should be render name 1`] = `
|
|
|
507
507
|
exports[`TextBoxIcon component Should be render needBorder is false 1`] = `
|
|
508
508
|
<DocumentFragment>
|
|
509
509
|
<div
|
|
510
|
-
class="varClass customContainer
|
|
510
|
+
class="varClass customContainer effect container flex rowdir"
|
|
511
511
|
data-selector-id="textBoxIcon"
|
|
512
512
|
>
|
|
513
513
|
<div
|
|
@@ -546,7 +546,7 @@ exports[`TextBoxIcon component Should be render needBorder is false 1`] = `
|
|
|
546
546
|
exports[`TextBoxIcon component Should be render needEffect is false 1`] = `
|
|
547
547
|
<DocumentFragment>
|
|
548
548
|
<div
|
|
549
|
-
class="varClass customContainer
|
|
549
|
+
class="varClass customContainer border_bottom readonly borderColor_default hasBorder container flex rowdir"
|
|
550
550
|
data-selector-id="textBoxIcon"
|
|
551
551
|
>
|
|
552
552
|
<div
|
|
@@ -586,7 +586,7 @@ exports[`TextBoxIcon component Should be render needEffect is false 1`] = `
|
|
|
586
586
|
exports[`TextBoxIcon component Should be render needReadOnlyStyle is false 1`] = `
|
|
587
587
|
<DocumentFragment>
|
|
588
588
|
<div
|
|
589
|
-
class="varClass customContainer
|
|
589
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
590
590
|
data-selector-id="textBoxIcon"
|
|
591
591
|
>
|
|
592
592
|
<div
|
|
@@ -625,7 +625,7 @@ exports[`TextBoxIcon component Should be render needReadOnlyStyle is false 1`] =
|
|
|
625
625
|
exports[`TextBoxIcon component Should be render placeholder 1`] = `
|
|
626
626
|
<DocumentFragment>
|
|
627
627
|
<div
|
|
628
|
-
class="varClass customContainer
|
|
628
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
629
629
|
data-selector-id="textBoxIcon"
|
|
630
630
|
>
|
|
631
631
|
<div
|
|
@@ -665,7 +665,7 @@ exports[`TextBoxIcon component Should be render placeholder 1`] = `
|
|
|
665
665
|
exports[`TextBoxIcon component Should be render showClearIcon is true 1`] = `
|
|
666
666
|
<DocumentFragment>
|
|
667
667
|
<div
|
|
668
|
-
class="varClass customContainer
|
|
668
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
669
669
|
data-selector-id="textBoxIcon"
|
|
670
670
|
>
|
|
671
671
|
<div
|
|
@@ -729,7 +729,7 @@ exports[`TextBoxIcon component Should be render showClearIcon is true 1`] = `
|
|
|
729
729
|
exports[`TextBoxIcon component Should be render title 1`] = `
|
|
730
730
|
<DocumentFragment>
|
|
731
731
|
<div
|
|
732
|
-
class="varClass customContainer
|
|
732
|
+
class="varClass customContainer border_bottom disabled borderColor_default hasBorder container flex rowdir"
|
|
733
733
|
data-selector-id="textBoxIcon"
|
|
734
734
|
data-title="TextBoxIconTitle"
|
|
735
735
|
>
|
|
@@ -770,7 +770,7 @@ exports[`TextBoxIcon component Should be render title 1`] = `
|
|
|
770
770
|
exports[`TextBoxIcon component Should be render value is number 1`] = `
|
|
771
771
|
<DocumentFragment>
|
|
772
772
|
<div
|
|
773
|
-
class="varClass customContainer
|
|
773
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
774
774
|
data-selector-id="textBoxIcon"
|
|
775
775
|
>
|
|
776
776
|
<div
|
|
@@ -809,7 +809,7 @@ exports[`TextBoxIcon component Should be render value is number 1`] = `
|
|
|
809
809
|
exports[`TextBoxIcon component Should be render value is string and length greater than 1 1`] = `
|
|
810
810
|
<DocumentFragment>
|
|
811
811
|
<div
|
|
812
|
-
class="varClass customContainer
|
|
812
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
813
813
|
data-selector-id="textBoxIcon"
|
|
814
814
|
>
|
|
815
815
|
<div
|
|
@@ -873,7 +873,7 @@ exports[`TextBoxIcon component Should be render value is string and length great
|
|
|
873
873
|
exports[`TextBoxIcon component Should be render value is string and length less than 1 1`] = `
|
|
874
874
|
<DocumentFragment>
|
|
875
875
|
<div
|
|
876
|
-
class="varClass customContainer
|
|
876
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
877
877
|
data-selector-id="textBoxIcon"
|
|
878
878
|
>
|
|
879
879
|
<div
|
|
@@ -912,7 +912,7 @@ exports[`TextBoxIcon component Should be render value is string and length less
|
|
|
912
912
|
exports[`TextBoxIcon component Should be render with dataSelectorId 1`] = `
|
|
913
913
|
<DocumentFragment>
|
|
914
914
|
<div
|
|
915
|
-
class="varClass customContainer
|
|
915
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
916
916
|
data-selector-id="textBoxIcon_data_selector_id"
|
|
917
917
|
>
|
|
918
918
|
<div
|
|
@@ -951,7 +951,7 @@ exports[`TextBoxIcon component Should be render with dataSelectorId 1`] = `
|
|
|
951
951
|
exports[`TextBoxIcon component Should be render with the basic set of default props 1`] = `
|
|
952
952
|
<DocumentFragment>
|
|
953
953
|
<div
|
|
954
|
-
class="varClass customContainer
|
|
954
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
955
955
|
data-selector-id="textBoxIcon"
|
|
956
956
|
>
|
|
957
957
|
<div
|
|
@@ -990,7 +990,7 @@ exports[`TextBoxIcon component Should be render with the basic set of default pr
|
|
|
990
990
|
exports[`TextBoxIcon component Should render Varient - default 1`] = `
|
|
991
991
|
<DocumentFragment>
|
|
992
992
|
<div
|
|
993
|
-
class="varClass customContainer
|
|
993
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
994
994
|
data-selector-id="textBoxIcon"
|
|
995
995
|
>
|
|
996
996
|
<div
|
|
@@ -1029,7 +1029,7 @@ exports[`TextBoxIcon component Should render Varient - default 1`] = `
|
|
|
1029
1029
|
exports[`TextBoxIcon component Should render Varient - primary 1`] = `
|
|
1030
1030
|
<DocumentFragment>
|
|
1031
1031
|
<div
|
|
1032
|
-
class="varClass customContainer
|
|
1032
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1033
1033
|
data-selector-id="textBoxIcon"
|
|
1034
1034
|
>
|
|
1035
1035
|
<div
|
|
@@ -1068,7 +1068,7 @@ exports[`TextBoxIcon component Should render Varient - primary 1`] = `
|
|
|
1068
1068
|
exports[`TextBoxIcon component Should render Varient - secondary 1`] = `
|
|
1069
1069
|
<DocumentFragment>
|
|
1070
1070
|
<div
|
|
1071
|
-
class="varClass customContainer
|
|
1071
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1072
1072
|
data-selector-id="textBoxIcon"
|
|
1073
1073
|
>
|
|
1074
1074
|
<div
|
|
@@ -1107,7 +1107,7 @@ exports[`TextBoxIcon component Should render Varient - secondary 1`] = `
|
|
|
1107
1107
|
exports[`TextBoxIcon component Should render borderColor - default 1`] = `
|
|
1108
1108
|
<DocumentFragment>
|
|
1109
1109
|
<div
|
|
1110
|
-
class="varClass customContainer
|
|
1110
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1111
1111
|
data-selector-id="textBoxIcon"
|
|
1112
1112
|
>
|
|
1113
1113
|
<div
|
|
@@ -1146,7 +1146,7 @@ exports[`TextBoxIcon component Should render borderColor - default 1`] = `
|
|
|
1146
1146
|
exports[`TextBoxIcon component Should render borderColor - error 1`] = `
|
|
1147
1147
|
<DocumentFragment>
|
|
1148
1148
|
<div
|
|
1149
|
-
class="varClass customContainer
|
|
1149
|
+
class="varClass customContainer border_bottom effect borderColor_error hasBorder container flex rowdir"
|
|
1150
1150
|
data-selector-id="textBoxIcon"
|
|
1151
1151
|
>
|
|
1152
1152
|
<div
|
|
@@ -1185,7 +1185,7 @@ exports[`TextBoxIcon component Should render borderColor - error 1`] = `
|
|
|
1185
1185
|
exports[`TextBoxIcon component Should render borderColor - transparent 1`] = `
|
|
1186
1186
|
<DocumentFragment>
|
|
1187
1187
|
<div
|
|
1188
|
-
class="varClass customContainer
|
|
1188
|
+
class="varClass customContainer border_bottom effect borderColor_transparent hasBorder container flex rowdir"
|
|
1189
1189
|
data-selector-id="textBoxIcon"
|
|
1190
1190
|
>
|
|
1191
1191
|
<div
|
|
@@ -1224,7 +1224,7 @@ exports[`TextBoxIcon component Should render borderColor - transparent 1`] = `
|
|
|
1224
1224
|
exports[`TextBoxIcon component Should render size - medium 1`] = `
|
|
1225
1225
|
<DocumentFragment>
|
|
1226
1226
|
<div
|
|
1227
|
-
class="varClass customContainer
|
|
1227
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1228
1228
|
data-selector-id="textBoxIcon"
|
|
1229
1229
|
>
|
|
1230
1230
|
<div
|
|
@@ -1263,7 +1263,7 @@ exports[`TextBoxIcon component Should render size - medium 1`] = `
|
|
|
1263
1263
|
exports[`TextBoxIcon component Should render size - small 1`] = `
|
|
1264
1264
|
<DocumentFragment>
|
|
1265
1265
|
<div
|
|
1266
|
-
class="varClass customContainer
|
|
1266
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1267
1267
|
data-selector-id="textBoxIcon"
|
|
1268
1268
|
>
|
|
1269
1269
|
<div
|
|
@@ -1302,7 +1302,7 @@ exports[`TextBoxIcon component Should render size - small 1`] = `
|
|
|
1302
1302
|
exports[`TextBoxIcon component Should render size - xmedium 1`] = `
|
|
1303
1303
|
<DocumentFragment>
|
|
1304
1304
|
<div
|
|
1305
|
-
class="varClass customContainer
|
|
1305
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1306
1306
|
data-selector-id="textBoxIcon"
|
|
1307
1307
|
>
|
|
1308
1308
|
<div
|
|
@@ -1341,7 +1341,7 @@ exports[`TextBoxIcon component Should render size - xmedium 1`] = `
|
|
|
1341
1341
|
exports[`TextBoxIcon component Should render size - xsmall 1`] = `
|
|
1342
1342
|
<DocumentFragment>
|
|
1343
1343
|
<div
|
|
1344
|
-
class="varClass customContainer
|
|
1344
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1345
1345
|
data-selector-id="textBoxIcon"
|
|
1346
1346
|
>
|
|
1347
1347
|
<div
|
|
@@ -1380,7 +1380,7 @@ exports[`TextBoxIcon component Should render size - xsmall 1`] = `
|
|
|
1380
1380
|
exports[`TextBoxIcon component Should render type - number 1`] = `
|
|
1381
1381
|
<DocumentFragment>
|
|
1382
1382
|
<div
|
|
1383
|
-
class="varClass customContainer
|
|
1383
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1384
1384
|
data-selector-id="textBoxIcon"
|
|
1385
1385
|
>
|
|
1386
1386
|
<div
|
|
@@ -1419,7 +1419,7 @@ exports[`TextBoxIcon component Should render type - number 1`] = `
|
|
|
1419
1419
|
exports[`TextBoxIcon component Should render type - password 1`] = `
|
|
1420
1420
|
<DocumentFragment>
|
|
1421
1421
|
<div
|
|
1422
|
-
class="varClass customContainer
|
|
1422
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1423
1423
|
data-selector-id="textBoxIcon"
|
|
1424
1424
|
>
|
|
1425
1425
|
<div
|
|
@@ -1458,7 +1458,7 @@ exports[`TextBoxIcon component Should render type - password 1`] = `
|
|
|
1458
1458
|
exports[`TextBoxIcon component Should render type - text 1`] = `
|
|
1459
1459
|
<DocumentFragment>
|
|
1460
1460
|
<div
|
|
1461
|
-
class="varClass customContainer
|
|
1461
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1462
1462
|
data-selector-id="textBoxIcon"
|
|
1463
1463
|
>
|
|
1464
1464
|
<div
|
|
@@ -1497,7 +1497,7 @@ exports[`TextBoxIcon component Should render type - text 1`] = `
|
|
|
1497
1497
|
exports[`TextBoxIcon component rendering the Custom Props 1`] = `
|
|
1498
1498
|
<DocumentFragment>
|
|
1499
1499
|
<div
|
|
1500
|
-
class="varClass customContainer
|
|
1500
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1501
1501
|
data-selector-id="textBoxIcon"
|
|
1502
1502
|
>
|
|
1503
1503
|
<div
|
|
@@ -1537,7 +1537,7 @@ exports[`TextBoxIcon component rendering the Custom Props 1`] = `
|
|
|
1537
1537
|
exports[`TextBoxIcon component rendering the Custom class 1`] = `
|
|
1538
1538
|
<DocumentFragment>
|
|
1539
1539
|
<div
|
|
1540
|
-
class="varClass customContainer
|
|
1540
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container customTBoxWrapTextBoxIcon flex rowdir"
|
|
1541
1541
|
data-selector-id="textBoxIcon"
|
|
1542
1542
|
>
|
|
1543
1543
|
<div
|
|
@@ -1576,7 +1576,7 @@ exports[`TextBoxIcon component rendering the Custom class 1`] = `
|
|
|
1576
1576
|
exports[`TextBoxIcon component rendering the i18n value 1`] = `
|
|
1577
1577
|
<DocumentFragment>
|
|
1578
1578
|
<div
|
|
1579
|
-
class="varClass customContainer
|
|
1579
|
+
class="varClass customContainer border_bottom effect borderColor_default hasBorder container flex rowdir"
|
|
1580
1580
|
data-selector-id="textBoxIcon"
|
|
1581
1581
|
>
|
|
1582
1582
|
<div
|
|
@@ -47,8 +47,7 @@ function InputFieldLine(props) {
|
|
|
47
47
|
dataId: dataId,
|
|
48
48
|
onClick: onClick,
|
|
49
49
|
onKeyDown: onKeyDown,
|
|
50
|
-
|
|
51
|
-
className: "".concat(_InputFieldLineModule["default"].varClass, " ").concat(_InputFieldLineModule["default"].customContainer, " ").concat(!!size ? _InputFieldLineModule["default"][size] : '', " ").concat(hasPadding && !!size ? _InputFieldLineModule["default"]["padding_".concat(size)] : '', " ").concat(borderClass, " ").concat(isDisabled ? _InputFieldLineModule["default"].disabled : isReadOnly ? hasEffect ? _InputFieldLineModule["default"].effect : _InputFieldLineModule["default"].readonly : _InputFieldLineModule["default"].effect, " ").concat(border !== 'none' ? "".concat(borderColorClass, " ").concat(_InputFieldLineModule["default"].hasBorder) : '', " ").concat(isActive && !(isDisabled || isReadOnly) ? _InputFieldLineModule["default"].active : '', " ").concat(customClass)
|
|
50
|
+
className: "".concat(_InputFieldLineModule["default"].varClass, " ").concat(_InputFieldLineModule["default"].customContainer, " ").concat(hasPadding ? _InputFieldLineModule["default"][size] : '', " ").concat(borderClass, " ").concat(isDisabled ? _InputFieldLineModule["default"].disabled : isReadOnly ? hasEffect ? _InputFieldLineModule["default"].effect : _InputFieldLineModule["default"].readonly : _InputFieldLineModule["default"].effect, " ").concat(border !== 'none' ? "".concat(borderColorClass, " ").concat(_InputFieldLineModule["default"].hasBorder) : '', " ").concat(isActive && !(isDisabled || isReadOnly) ? _InputFieldLineModule["default"].active : '', " ").concat(customClass)
|
|
52
51
|
}), children);
|
|
53
52
|
}
|
|
54
53
|
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.customContainer {
|
|
9
|
+
composes: oflowy from '../../common/common.module.css';
|
|
9
10
|
cursor: var(--local_cursor);
|
|
10
11
|
border-color: var(--local_inputFieldLine_border_color);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
.disabled
|
|
14
|
-
.readonly {
|
|
14
|
+
.disabled,.readonly {
|
|
15
15
|
--local_cursor: not-allowed;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -57,34 +57,28 @@
|
|
|
57
57
|
border-style: solid;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.padding_small,
|
|
61
|
-
.padding_xmedium {
|
|
62
|
-
--local_padding: var(--zd_size3);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.padding_medium,
|
|
66
|
-
.padding_large {
|
|
67
|
-
--local_padding: var(--zd_size8);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
60
|
.xmedium {
|
|
71
61
|
min-height: var(--zd_size30) ;
|
|
62
|
+
--local_padding: var(--zd_size3);
|
|
72
63
|
}
|
|
73
64
|
|
|
74
65
|
.small {
|
|
75
66
|
max-height: var(--zd_size200) ;
|
|
67
|
+
--local_padding: var(--zd_size3);
|
|
76
68
|
}
|
|
77
69
|
|
|
78
70
|
.medium {
|
|
79
71
|
max-height: var(--zd_size350) ;
|
|
72
|
+
--local_padding: var(--zd_size8);
|
|
80
73
|
}
|
|
81
74
|
|
|
82
75
|
.large {
|
|
83
76
|
max-height: var(--zd_size400) ;
|
|
77
|
+
--local_padding: var(--zd_size8);
|
|
84
78
|
}
|
|
85
79
|
|
|
86
80
|
.border_bottom {
|
|
87
|
-
border-width:
|
|
81
|
+
border-width: 0 0 var(--local_inputFieldLine_border_width) 0;
|
|
88
82
|
padding-bottom: var(--local_padding);
|
|
89
83
|
}
|
|
90
84
|
|