@zohodesk/components 1.0.0-temp-200 → 1.0.0-temp-200.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/.cli/propValidation_report.html +1 -1
- package/README.md +5 -0
- package/es/DateTime/DateWidget.js +2 -1
- package/es/DateTime/__tests__/DateTime.spec.js +1 -1
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
- package/es/DropDown/DropDownSearch.js +2 -4
- package/es/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +0 -1
- package/es/DropDown/props/defaultProps.js +1 -2
- package/es/DropDown/props/propTypes.js +1 -2
- package/es/ListItem/ListItemWithCheckBox.js +1 -2
- package/es/ListItem/ListItemWithRadio.js +1 -2
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -0
- package/es/MultiSelect/AdvancedGroupMultiSelect.js +3 -6
- package/es/MultiSelect/AdvancedMultiSelect.js +2 -5
- package/es/MultiSelect/MultiSelect.js +1 -2
- package/es/MultiSelect/MultiSelectWithAvatar.js +1 -2
- package/es/MultiSelect/SelectedOptions.js +5 -10
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
- package/es/MultiSelect/props/defaultProps.js +1 -2
- package/es/MultiSelect/props/propTypes.js +1 -2
- package/es/Select/SelectWithAvatar.js +2 -5
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/es/Tab/Tabs.js +2 -4
- package/es/v1/DateTime/DateWidget.js +2 -1
- package/es/v1/DropDown/DropDownSearch.js +2 -4
- package/es/v1/DropDown/props/defaultProps.js +1 -2
- package/es/v1/DropDown/props/propTypes.js +1 -2
- package/es/v1/ListItem/ListItemWithCheckBox.js +1 -2
- package/es/v1/ListItem/ListItemWithRadio.js +1 -2
- package/es/v1/MultiSelect/AdvancedGroupMultiSelect.js +3 -6
- package/es/v1/MultiSelect/AdvancedMultiSelect.js +1 -5
- package/es/v1/MultiSelect/MultiSelect.js +1 -2
- package/es/v1/MultiSelect/MultiSelectWithAvatar.js +1 -2
- package/es/v1/MultiSelect/SelectedOptions.js +2 -4
- package/es/v1/MultiSelect/props/defaultProps.js +1 -2
- package/es/v1/MultiSelect/props/propTypes.js +1 -2
- package/es/v1/Select/SelectWithAvatar.js +2 -5
- package/es/v1/Tab/Tabs.js +2 -4
- package/lib/DateTime/DateWidget.js +2 -1
- package/lib/DateTime/__tests__/DateTime.spec.js +1 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +93 -93
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +2 -2
- package/lib/DropDown/DropDownSearch.js +2 -4
- package/lib/DropDown/__tests__/__snapshots__/DropDownSearch.spec.js.snap +0 -1
- package/lib/DropDown/props/defaultProps.js +1 -2
- package/lib/DropDown/props/propTypes.js +1 -1
- package/lib/ListItem/ListItemWithCheckBox.js +1 -2
- package/lib/ListItem/ListItemWithRadio.js +1 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +2 -0
- package/lib/MultiSelect/AdvancedGroupMultiSelect.js +3 -6
- package/lib/MultiSelect/AdvancedMultiSelect.js +3 -6
- package/lib/MultiSelect/MultiSelect.js +1 -2
- package/lib/MultiSelect/MultiSelectWithAvatar.js +1 -2
- package/lib/MultiSelect/SelectedOptions.js +5 -10
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +2 -2
- package/lib/MultiSelect/props/defaultProps.js +1 -2
- package/lib/MultiSelect/props/propTypes.js +1 -2
- package/lib/Select/SelectWithAvatar.js +2 -5
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/lib/Tab/Tabs.js +2 -4
- package/lib/v1/DateTime/DateWidget.js +2 -1
- package/lib/v1/DropDown/DropDownSearch.js +2 -4
- package/lib/v1/DropDown/props/defaultProps.js +1 -2
- package/lib/v1/DropDown/props/propTypes.js +1 -1
- package/lib/v1/ListItem/ListItemWithCheckBox.js +1 -2
- package/lib/v1/ListItem/ListItemWithRadio.js +1 -2
- package/lib/v1/MultiSelect/AdvancedGroupMultiSelect.js +3 -6
- package/lib/v1/MultiSelect/AdvancedMultiSelect.js +3 -7
- package/lib/v1/MultiSelect/MultiSelect.js +1 -2
- package/lib/v1/MultiSelect/MultiSelectWithAvatar.js +1 -2
- package/lib/v1/MultiSelect/SelectedOptions.js +2 -4
- package/lib/v1/MultiSelect/props/defaultProps.js +1 -2
- package/lib/v1/MultiSelect/props/propTypes.js +1 -2
- package/lib/v1/Select/SelectWithAvatar.js +2 -5
- package/lib/v1/Tab/Tabs.js +2 -4
- package/package.json +1 -1
- package/result.json +1 -1
|
@@ -16,8 +16,7 @@ export default function DropDownSearch(props) {
|
|
|
16
16
|
textBoxSize,
|
|
17
17
|
placeHolder,
|
|
18
18
|
customClass,
|
|
19
|
-
getRef
|
|
20
|
-
dataId
|
|
19
|
+
getRef
|
|
21
20
|
} = props;
|
|
22
21
|
let {
|
|
23
22
|
searchClass = '',
|
|
@@ -49,8 +48,7 @@ export default function DropDownSearch(props) {
|
|
|
49
48
|
size: textBoxSize,
|
|
50
49
|
value: value,
|
|
51
50
|
placeHolder: placeHolder,
|
|
52
|
-
customClass: customTextBox
|
|
53
|
-
dataId: dataId
|
|
51
|
+
customClass: customTextBox
|
|
54
52
|
}));
|
|
55
53
|
}
|
|
56
54
|
DropDownSearch.defaultProps = DropDownSearch_defaultProps;
|
|
@@ -58,8 +58,7 @@ export const DropDownSearch_propTypes = {
|
|
|
58
58
|
customClass: PropTypes.shape({
|
|
59
59
|
searchClass: PropTypes.string,
|
|
60
60
|
customTextBox: PropTypes.string
|
|
61
|
-
})
|
|
62
|
-
dataId: PropTypes.string
|
|
61
|
+
})
|
|
63
62
|
};
|
|
64
63
|
export const DropDownSeparator_propTypes = {
|
|
65
64
|
customClass: PropTypes.string
|
|
@@ -925,8 +925,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
925
925
|
getRef: this.selectedOptionRef,
|
|
926
926
|
onRemove: this.handleRemoveOption,
|
|
927
927
|
onSelect: this.handleClickSelectedOption,
|
|
928
|
-
isGroupSelect: true
|
|
929
|
-
dataId: `${dataId}_selectedOptions`
|
|
928
|
+
isGroupSelect: true
|
|
930
929
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
931
930
|
flexible: true,
|
|
932
931
|
className: style.wrapper,
|
|
@@ -1000,8 +999,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
1000
999
|
role: 'listbox',
|
|
1001
1000
|
ariaMultiselectable: true
|
|
1002
1001
|
},
|
|
1003
|
-
alignBox: "row"
|
|
1004
|
-
dataId: `${dataId}_dropbox`
|
|
1002
|
+
alignBox: "row"
|
|
1005
1003
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
1006
1004
|
flexible: true
|
|
1007
1005
|
}, /*#__PURE__*/React.createElement(Card, {
|
|
@@ -1045,8 +1043,7 @@ class AdvancedGroupMultiSelect extends React.Component {
|
|
|
1045
1043
|
listItemSize: listItemSize,
|
|
1046
1044
|
a11y: {
|
|
1047
1045
|
role: 'option'
|
|
1048
|
-
}
|
|
1049
|
-
dataId: `${dataId}_Options`
|
|
1046
|
+
}
|
|
1050
1047
|
}));
|
|
1051
1048
|
}) : /*#__PURE__*/React.createElement(EmptyState, {
|
|
1052
1049
|
options: revampedGroups,
|
|
@@ -429,8 +429,7 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
429
429
|
isReadOnly: isReadOnly,
|
|
430
430
|
getRef: this.selectedOptionRef,
|
|
431
431
|
onRemove: this.handleRemoveOption,
|
|
432
|
-
onSelect: this.handleClickSelectedOption
|
|
433
|
-
dataId: `${dataId}_selectedOptions`
|
|
432
|
+
onSelect: this.handleClickSelectedOption
|
|
434
433
|
}), moreCount > 0 ? /*#__PURE__*/React.createElement(Box, {
|
|
435
434
|
className: style.more,
|
|
436
435
|
onClick: this.handleMoreClick,
|
|
@@ -456,7 +455,6 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
456
455
|
size: textBoxSize,
|
|
457
456
|
value: searchStr,
|
|
458
457
|
variant: variant,
|
|
459
|
-
dataId: `${dataId}_textBox`,
|
|
460
458
|
isReadOnly: isReadOnly,
|
|
461
459
|
tabindex: isDisabled && '-1',
|
|
462
460
|
customClass: {
|
|
@@ -507,7 +505,6 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
507
505
|
role: 'listbox',
|
|
508
506
|
ariaMultiselectable: true
|
|
509
507
|
},
|
|
510
|
-
dataId: `${dataId}_dropbox`,
|
|
511
508
|
...DropBoxProps,
|
|
512
509
|
alignBox: "row",
|
|
513
510
|
isResponsivePadding: getFooter ? false : true
|
|
@@ -540,7 +537,6 @@ export class AdvancedMultiSelectComponent extends MultiSelectComponent {
|
|
|
540
537
|
a11y: {
|
|
541
538
|
role: 'option'
|
|
542
539
|
},
|
|
543
|
-
dataId: `${dataId}_Options`,
|
|
544
540
|
...SuggestionsProps
|
|
545
541
|
}) : /*#__PURE__*/React.createElement(EmptyState, {
|
|
546
542
|
isLoading: isFetchingOptions,
|
|
@@ -901,8 +901,7 @@ export class MultiSelectComponent extends React.Component {
|
|
|
901
901
|
onRemove: this.handleRemoveOption,
|
|
902
902
|
onSelect: this.handleClickSelectedOption,
|
|
903
903
|
size: size,
|
|
904
|
-
palette: palette
|
|
905
|
-
dataId: `${dataId}_selectedOptions`
|
|
904
|
+
palette: palette
|
|
906
905
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
907
906
|
flexible: true,
|
|
908
907
|
className: style.wrapper,
|
|
@@ -134,8 +134,7 @@ class MultiSelectWithAvatarComponent extends MultiSelectComponent {
|
|
|
134
134
|
role: 'listbox'
|
|
135
135
|
},
|
|
136
136
|
isResponsivePadding: true,
|
|
137
|
-
alignBox: "row"
|
|
138
|
-
dataId: `${dataId}_dropbox`
|
|
137
|
+
alignBox: "row"
|
|
139
138
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
140
139
|
flexible: true
|
|
141
140
|
}, /*#__PURE__*/React.createElement(Card, {
|
|
@@ -21,8 +21,7 @@ export default class SelectedOptions extends React.PureComponent {
|
|
|
21
21
|
onRemove,
|
|
22
22
|
onSelect,
|
|
23
23
|
size,
|
|
24
|
-
palette
|
|
25
|
-
dataId
|
|
24
|
+
palette
|
|
26
25
|
} = this.props;
|
|
27
26
|
const isDarkPalette = palette === 'dark' ? 'dark' : 'danger';
|
|
28
27
|
return /*#__PURE__*/React.createElement(React.Fragment, null, selectedOptions.map(option => {
|
|
@@ -44,8 +43,7 @@ export default class SelectedOptions extends React.PureComponent {
|
|
|
44
43
|
getRef: getRef,
|
|
45
44
|
initial: value,
|
|
46
45
|
id: id,
|
|
47
|
-
isReadOnly: isReadOnly
|
|
48
|
-
dataId: dataId
|
|
46
|
+
isReadOnly: isReadOnly
|
|
49
47
|
};
|
|
50
48
|
|
|
51
49
|
if (optionType === 'avatar') {
|
|
@@ -149,8 +149,7 @@ export const MultiSelectWithAvatar_defaultProps = {
|
|
|
149
149
|
needResponsive: true
|
|
150
150
|
};
|
|
151
151
|
export const SelectedOptions_defaultProps = {
|
|
152
|
-
size: 'medium'
|
|
153
|
-
dataId: 'selectedOptions'
|
|
152
|
+
size: 'medium'
|
|
154
153
|
};
|
|
155
154
|
export const Suggestions_defaultProps = {
|
|
156
155
|
a11y: {}
|
|
@@ -139,8 +139,7 @@ export const SelectedOptions_propTypes = {
|
|
|
139
139
|
optionType: PropTypes.string
|
|
140
140
|
})),
|
|
141
141
|
size: PropTypes.oneOf(['medium', 'xmedium']),
|
|
142
|
-
palette: PropTypes.string
|
|
143
|
-
dataId: PropTypes.string
|
|
142
|
+
palette: PropTypes.string
|
|
144
143
|
};
|
|
145
144
|
export const Suggestions_propTypes = {
|
|
146
145
|
a11y: PropTypes.shape({
|
|
@@ -238,8 +238,7 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
238
238
|
isClickable: isReadOnly || isDisabled ? false : true,
|
|
239
239
|
borderColor: borderColor,
|
|
240
240
|
htmlId: htmlId,
|
|
241
|
-
autoComplete: false
|
|
242
|
-
dataId: `${dataId}_textBox`
|
|
241
|
+
autoComplete: false
|
|
243
242
|
}))), !isReadOnly && !isDisabled && isPopupOpen ? /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
244
243
|
query: this.responsiveFunc,
|
|
245
244
|
responsiveId: "Helmet"
|
|
@@ -258,8 +257,7 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
258
257
|
needResponsive: needResponsive,
|
|
259
258
|
isPadding: false,
|
|
260
259
|
isResponsivePadding: true,
|
|
261
|
-
alignBox: "row"
|
|
262
|
-
dataId: `${dataId}_dropbox`
|
|
260
|
+
alignBox: "row"
|
|
263
261
|
}, isLoading ? /*#__PURE__*/React.createElement(Container, {
|
|
264
262
|
align: "both",
|
|
265
263
|
className: style.loader
|
|
@@ -297,7 +295,6 @@ class SelectWithAvatarComponent extends SelectComponent {
|
|
|
297
295
|
role: 'heading'
|
|
298
296
|
}
|
|
299
297
|
})) : null, suggestions.length ? /*#__PURE__*/React.createElement(Suggestions, {
|
|
300
|
-
dataId: `${dataId}_Options`,
|
|
301
298
|
activeId: selectedId,
|
|
302
299
|
suggestions: suggestions,
|
|
303
300
|
getRef: this.suggestionItemRef,
|
package/es/v1/Tab/Tabs.js
CHANGED
|
@@ -443,15 +443,13 @@ const Tabs = props => {
|
|
|
443
443
|
...DropBoxProps,
|
|
444
444
|
isResponsivePadding: true,
|
|
445
445
|
needFocusScope: true,
|
|
446
|
-
onClose: togglePopupLocal
|
|
447
|
-
dataId: `${dataId}_dropbox`
|
|
446
|
+
onClose: togglePopupLocal
|
|
448
447
|
}, getCustomDropBoxHeaderPlaceHolder && getCustomDropBoxHeaderPlaceHolder(props), /*#__PURE__*/React.createElement(Box, {
|
|
449
448
|
flexible: true,
|
|
450
449
|
shrink: true,
|
|
451
450
|
scroll: "vertical",
|
|
452
451
|
className: `${tabletMode ? '' : tabsStyle.menuBox} ${moreBoxClass}`,
|
|
453
|
-
onScroll: onScrollLocal
|
|
454
|
-
dataId: `${dataId}_Tabs`
|
|
452
|
+
onScroll: onScrollLocal
|
|
455
453
|
}, React.Children.map(moreTabs, child => {
|
|
456
454
|
if (!child) {
|
|
457
455
|
return null;
|
|
@@ -1091,7 +1091,8 @@ var DateWidgetComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
1091
1091
|
customProps: TextBoxProps
|
|
1092
1092
|
}, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
1093
1093
|
align: "both",
|
|
1094
|
-
onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick
|
|
1094
|
+
onClick: isDisabled || isReadOnly ? null : this.handleDateIconClick,
|
|
1095
|
+
dataId: "".concat(dataId, "_datePicker")
|
|
1095
1096
|
}, /*#__PURE__*/_react["default"].createElement(_icons.Icon, {
|
|
1096
1097
|
name: "ZD-datepicker",
|
|
1097
1098
|
size: "12"
|
|
@@ -19,7 +19,7 @@ describe('DateTime', function () {
|
|
|
19
19
|
var _render2 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_DateTime["default"], {
|
|
20
20
|
isActive: true,
|
|
21
21
|
isDefaultPosition: true,
|
|
22
|
-
value: "
|
|
22
|
+
value: "2023-07-29T20:20:20.000"
|
|
23
23
|
})),
|
|
24
24
|
asFragment = _render2.asFragment;
|
|
25
25
|
|
|
@@ -28,10 +28,10 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
28
28
|
>
|
|
29
29
|
<h2
|
|
30
30
|
class="reset thMonYear"
|
|
31
|
-
data-title="July
|
|
31
|
+
data-title="July 2023"
|
|
32
32
|
tabindex="0"
|
|
33
33
|
>
|
|
34
|
-
July
|
|
34
|
+
July 2023
|
|
35
35
|
</h2>
|
|
36
36
|
<span>
|
|
37
37
|
<i
|
|
@@ -177,11 +177,56 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
177
177
|
data-test-id="containerComponent"
|
|
178
178
|
>
|
|
179
179
|
<div
|
|
180
|
-
aria-label="
|
|
180
|
+
aria-label="25"
|
|
181
181
|
class="datesStr grid sunday invalidDate shrinkOff"
|
|
182
182
|
data-id="dateTime_invalidDate"
|
|
183
183
|
data-selector-id="box"
|
|
184
184
|
data-test-id="dateTime_invalidDate"
|
|
185
|
+
>
|
|
186
|
+
25
|
|
187
|
+
</div>
|
|
188
|
+
<div
|
|
189
|
+
aria-label="26"
|
|
190
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
191
|
+
data-id="dateTime_invalidDate"
|
|
192
|
+
data-selector-id="box"
|
|
193
|
+
data-test-id="dateTime_invalidDate"
|
|
194
|
+
>
|
|
195
|
+
26
|
|
196
|
+
</div>
|
|
197
|
+
<div
|
|
198
|
+
aria-label="27"
|
|
199
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
200
|
+
data-id="dateTime_invalidDate"
|
|
201
|
+
data-selector-id="box"
|
|
202
|
+
data-test-id="dateTime_invalidDate"
|
|
203
|
+
>
|
|
204
|
+
27
|
|
205
|
+
</div>
|
|
206
|
+
<div
|
|
207
|
+
aria-label="28"
|
|
208
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
209
|
+
data-id="dateTime_invalidDate"
|
|
210
|
+
data-selector-id="box"
|
|
211
|
+
data-test-id="dateTime_invalidDate"
|
|
212
|
+
>
|
|
213
|
+
28
|
|
214
|
+
</div>
|
|
215
|
+
<div
|
|
216
|
+
aria-label="29"
|
|
217
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
218
|
+
data-id="dateTime_invalidDate"
|
|
219
|
+
data-selector-id="box"
|
|
220
|
+
data-test-id="dateTime_invalidDate"
|
|
221
|
+
>
|
|
222
|
+
29
|
|
223
|
+
</div>
|
|
224
|
+
<div
|
|
225
|
+
aria-label="30"
|
|
226
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
227
|
+
data-id="dateTime_invalidDate"
|
|
228
|
+
data-selector-id="box"
|
|
229
|
+
data-test-id="dateTime_invalidDate"
|
|
185
230
|
>
|
|
186
231
|
30
|
|
187
232
|
</div>
|
|
@@ -194,9 +239,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
194
239
|
>
|
|
195
240
|
1
|
|
196
241
|
</div>
|
|
242
|
+
</div>
|
|
243
|
+
<div
|
|
244
|
+
class="dateRow flex rowdir"
|
|
245
|
+
data-id="containerComponent"
|
|
246
|
+
data-selector-id="container"
|
|
247
|
+
data-test-id="containerComponent"
|
|
248
|
+
>
|
|
197
249
|
<div
|
|
198
250
|
aria-label="2"
|
|
199
|
-
class="datesStr grid shrinkOff"
|
|
251
|
+
class="datesStr grid sunday shrinkOff"
|
|
200
252
|
data-id="dateTime_date"
|
|
201
253
|
data-selector-id="box"
|
|
202
254
|
data-test-id="dateTime_date"
|
|
@@ -239,16 +291,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
239
291
|
>
|
|
240
292
|
6
|
|
241
293
|
</div>
|
|
242
|
-
</div>
|
|
243
|
-
<div
|
|
244
|
-
class="dateRow flex rowdir"
|
|
245
|
-
data-id="containerComponent"
|
|
246
|
-
data-selector-id="container"
|
|
247
|
-
data-test-id="containerComponent"
|
|
248
|
-
>
|
|
249
294
|
<div
|
|
250
295
|
aria-label="7"
|
|
251
|
-
class="datesStr grid
|
|
296
|
+
class="datesStr grid shrinkOff"
|
|
252
297
|
data-id="dateTime_date"
|
|
253
298
|
data-selector-id="box"
|
|
254
299
|
data-test-id="dateTime_date"
|
|
@@ -264,9 +309,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
264
309
|
>
|
|
265
310
|
8
|
|
266
311
|
</div>
|
|
312
|
+
</div>
|
|
313
|
+
<div
|
|
314
|
+
class="dateRow flex rowdir"
|
|
315
|
+
data-id="containerComponent"
|
|
316
|
+
data-selector-id="container"
|
|
317
|
+
data-test-id="containerComponent"
|
|
318
|
+
>
|
|
267
319
|
<div
|
|
268
320
|
aria-label="9"
|
|
269
|
-
class="datesStr grid shrinkOff"
|
|
321
|
+
class="datesStr grid sunday shrinkOff"
|
|
270
322
|
data-id="dateTime_date"
|
|
271
323
|
data-selector-id="box"
|
|
272
324
|
data-test-id="dateTime_date"
|
|
@@ -309,16 +361,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
309
361
|
>
|
|
310
362
|
13
|
|
311
363
|
</div>
|
|
312
|
-
</div>
|
|
313
|
-
<div
|
|
314
|
-
class="dateRow flex rowdir"
|
|
315
|
-
data-id="containerComponent"
|
|
316
|
-
data-selector-id="container"
|
|
317
|
-
data-test-id="containerComponent"
|
|
318
|
-
>
|
|
319
364
|
<div
|
|
320
365
|
aria-label="14"
|
|
321
|
-
class="datesStr grid
|
|
366
|
+
class="datesStr grid shrinkOff"
|
|
322
367
|
data-id="dateTime_date"
|
|
323
368
|
data-selector-id="box"
|
|
324
369
|
data-test-id="dateTime_date"
|
|
@@ -334,9 +379,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
334
379
|
>
|
|
335
380
|
15
|
|
336
381
|
</div>
|
|
382
|
+
</div>
|
|
383
|
+
<div
|
|
384
|
+
class="dateRow flex rowdir"
|
|
385
|
+
data-id="containerComponent"
|
|
386
|
+
data-selector-id="container"
|
|
387
|
+
data-test-id="containerComponent"
|
|
388
|
+
>
|
|
337
389
|
<div
|
|
338
390
|
aria-label="16"
|
|
339
|
-
class="datesStr grid shrinkOff"
|
|
391
|
+
class="datesStr grid sunday shrinkOff"
|
|
340
392
|
data-id="dateTime_date"
|
|
341
393
|
data-selector-id="box"
|
|
342
394
|
data-test-id="dateTime_date"
|
|
@@ -379,16 +431,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
379
431
|
>
|
|
380
432
|
20
|
|
381
433
|
</div>
|
|
382
|
-
</div>
|
|
383
|
-
<div
|
|
384
|
-
class="dateRow flex rowdir"
|
|
385
|
-
data-id="containerComponent"
|
|
386
|
-
data-selector-id="container"
|
|
387
|
-
data-test-id="containerComponent"
|
|
388
|
-
>
|
|
389
434
|
<div
|
|
390
435
|
aria-label="21"
|
|
391
|
-
class="datesStr grid
|
|
436
|
+
class="datesStr grid shrinkOff"
|
|
392
437
|
data-id="dateTime_date"
|
|
393
438
|
data-selector-id="box"
|
|
394
439
|
data-test-id="dateTime_date"
|
|
@@ -404,9 +449,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
404
449
|
>
|
|
405
450
|
22
|
|
406
451
|
</div>
|
|
452
|
+
</div>
|
|
453
|
+
<div
|
|
454
|
+
class="dateRow flex rowdir"
|
|
455
|
+
data-id="containerComponent"
|
|
456
|
+
data-selector-id="container"
|
|
457
|
+
data-test-id="containerComponent"
|
|
458
|
+
>
|
|
407
459
|
<div
|
|
408
460
|
aria-label="23"
|
|
409
|
-
class="datesStr grid shrinkOff"
|
|
461
|
+
class="datesStr grid sunday shrinkOff"
|
|
410
462
|
data-id="dateTime_date"
|
|
411
463
|
data-selector-id="box"
|
|
412
464
|
data-test-id="dateTime_date"
|
|
@@ -449,16 +501,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
449
501
|
>
|
|
450
502
|
27
|
|
451
503
|
</div>
|
|
452
|
-
</div>
|
|
453
|
-
<div
|
|
454
|
-
class="dateRow flex rowdir"
|
|
455
|
-
data-id="containerComponent"
|
|
456
|
-
data-selector-id="container"
|
|
457
|
-
data-test-id="containerComponent"
|
|
458
|
-
>
|
|
459
504
|
<div
|
|
460
505
|
aria-label="28"
|
|
461
|
-
class="datesStr grid
|
|
506
|
+
class="datesStr grid shrinkOff"
|
|
462
507
|
data-id="dateTime_date"
|
|
463
508
|
data-selector-id="box"
|
|
464
509
|
data-test-id="dateTime_date"
|
|
@@ -474,9 +519,16 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
474
519
|
>
|
|
475
520
|
29
|
|
476
521
|
</div>
|
|
522
|
+
</div>
|
|
523
|
+
<div
|
|
524
|
+
class="dateRow flex rowdir"
|
|
525
|
+
data-id="containerComponent"
|
|
526
|
+
data-selector-id="container"
|
|
527
|
+
data-test-id="containerComponent"
|
|
528
|
+
>
|
|
477
529
|
<div
|
|
478
530
|
aria-label="30"
|
|
479
|
-
class="datesStr grid
|
|
531
|
+
class="datesStr grid sunday shrinkOff"
|
|
480
532
|
data-id="dateTime_date"
|
|
481
533
|
data-selector-id="box"
|
|
482
534
|
data-test-id="dateTime_date"
|
|
@@ -519,16 +571,9 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
519
571
|
>
|
|
520
572
|
3
|
|
521
573
|
</div>
|
|
522
|
-
</div>
|
|
523
|
-
<div
|
|
524
|
-
class="dateRow flex rowdir"
|
|
525
|
-
data-id="containerComponent"
|
|
526
|
-
data-selector-id="container"
|
|
527
|
-
data-test-id="containerComponent"
|
|
528
|
-
>
|
|
529
574
|
<div
|
|
530
575
|
aria-label="4"
|
|
531
|
-
class="datesStr grid
|
|
576
|
+
class="datesStr grid invalidDate shrinkOff"
|
|
532
577
|
data-id="dateTime_invalidDate"
|
|
533
578
|
data-selector-id="box"
|
|
534
579
|
data-test-id="dateTime_invalidDate"
|
|
@@ -544,51 +589,6 @@ exports[`DateTime rendering the isActive is true and isDefaultPosition is true 1
|
|
|
544
589
|
>
|
|
545
590
|
5
|
|
546
591
|
</div>
|
|
547
|
-
<div
|
|
548
|
-
aria-label="6"
|
|
549
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
550
|
-
data-id="dateTime_invalidDate"
|
|
551
|
-
data-selector-id="box"
|
|
552
|
-
data-test-id="dateTime_invalidDate"
|
|
553
|
-
>
|
|
554
|
-
6
|
|
555
|
-
</div>
|
|
556
|
-
<div
|
|
557
|
-
aria-label="7"
|
|
558
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
559
|
-
data-id="dateTime_invalidDate"
|
|
560
|
-
data-selector-id="box"
|
|
561
|
-
data-test-id="dateTime_invalidDate"
|
|
562
|
-
>
|
|
563
|
-
7
|
|
564
|
-
</div>
|
|
565
|
-
<div
|
|
566
|
-
aria-label="8"
|
|
567
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
568
|
-
data-id="dateTime_invalidDate"
|
|
569
|
-
data-selector-id="box"
|
|
570
|
-
data-test-id="dateTime_invalidDate"
|
|
571
|
-
>
|
|
572
|
-
8
|
|
573
|
-
</div>
|
|
574
|
-
<div
|
|
575
|
-
aria-label="9"
|
|
576
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
577
|
-
data-id="dateTime_invalidDate"
|
|
578
|
-
data-selector-id="box"
|
|
579
|
-
data-test-id="dateTime_invalidDate"
|
|
580
|
-
>
|
|
581
|
-
9
|
|
582
|
-
</div>
|
|
583
|
-
<div
|
|
584
|
-
aria-label="10"
|
|
585
|
-
class="datesStr grid invalidDate shrinkOff"
|
|
586
|
-
data-id="dateTime_invalidDate"
|
|
587
|
-
data-selector-id="box"
|
|
588
|
-
data-test-id="dateTime_invalidDate"
|
|
589
|
-
>
|
|
590
|
-
10
|
|
591
|
-
</div>
|
|
592
592
|
</div>
|
|
593
593
|
</div>
|
|
594
594
|
<span
|
|
@@ -53,9 +53,9 @@ exports[`DateWidget rendering the defult props 1`] = `
|
|
|
53
53
|
>
|
|
54
54
|
<div
|
|
55
55
|
class="flex cover coldir both"
|
|
56
|
-
data-id="
|
|
56
|
+
data-id="dateWidget_datePicker"
|
|
57
57
|
data-selector-id="container"
|
|
58
|
-
data-test-id="
|
|
58
|
+
data-test-id="dateWidget_datePicker"
|
|
59
59
|
>
|
|
60
60
|
<i
|
|
61
61
|
aria-hidden="true"
|
|
@@ -83,15 +83,13 @@ var DropDownSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
83
83
|
size = _this$props.size,
|
|
84
84
|
textBoxSize = _this$props.textBoxSize,
|
|
85
85
|
placeHolder = _this$props.placeHolder,
|
|
86
|
-
customClass = _this$props.customClass
|
|
87
|
-
dataId = _this$props.dataId;
|
|
86
|
+
customClass = _this$props.customClass;
|
|
88
87
|
var _customClass$searchCl = customClass.searchClass,
|
|
89
88
|
searchClass = _customClass$searchCl === void 0 ? '' : _customClass$searchCl,
|
|
90
89
|
_customClass$customTe = customClass.customTextBox,
|
|
91
90
|
customTextBox = _customClass$customTe === void 0 ? '' : _customClass$customTe;
|
|
92
91
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
93
|
-
className: "".concat(_DropDownSearchModule["default"].search, " ").concat(_DropDownSearchModule["default"]["".concat(size, "Search")], " ").concat(searchClass)
|
|
94
|
-
dataId: dataId
|
|
92
|
+
className: "".concat(_DropDownSearchModule["default"].search, " ").concat(_DropDownSearchModule["default"]["".concat(size, "Search")], " ").concat(searchClass)
|
|
95
93
|
}, /*#__PURE__*/_react["default"].createElement(_TextBox["default"], {
|
|
96
94
|
id: id,
|
|
97
95
|
inputRef: this.getRef,
|
|
@@ -25,7 +25,6 @@ exports.DropDownItem_defaultProps = DropDownItem_defaultProps;
|
|
|
25
25
|
var DropDownSearch_defaultProps = {
|
|
26
26
|
size: 'medium',
|
|
27
27
|
textBoxSize: 'medium',
|
|
28
|
-
customClass: {}
|
|
29
|
-
dataId: 'DropDownSearch'
|
|
28
|
+
customClass: {}
|
|
30
29
|
};
|
|
31
30
|
exports.DropDownSearch_defaultProps = DropDownSearch_defaultProps;
|
|
@@ -79,7 +79,7 @@ var DropDownSearch_propTypes = (_DropDownSearch_propT = {
|
|
|
79
79
|
}, _defineProperty(_DropDownSearch_propT, "placeHolder", _propTypes["default"].string), _defineProperty(_DropDownSearch_propT, "size", _propTypes["default"].oneOf(['small', 'medium'])), _defineProperty(_DropDownSearch_propT, "textBoxSize", _propTypes["default"].string), _defineProperty(_DropDownSearch_propT, "value", _propTypes["default"].string), _defineProperty(_DropDownSearch_propT, "customClass", _propTypes["default"].shape({
|
|
80
80
|
searchClass: _propTypes["default"].string,
|
|
81
81
|
customTextBox: _propTypes["default"].string
|
|
82
|
-
})),
|
|
82
|
+
})), _DropDownSearch_propT);
|
|
83
83
|
exports.DropDownSearch_propTypes = DropDownSearch_propTypes;
|
|
84
84
|
var DropDownSeparator_propTypes = {
|
|
85
85
|
customClass: _propTypes["default"].string
|
|
@@ -150,8 +150,7 @@ var ListItemWithCheckBox = /*#__PURE__*/function (_React$Component) {
|
|
|
150
150
|
title: null,
|
|
151
151
|
customProps: ListItemProps
|
|
152
152
|
}, ContainerProps), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
153
|
-
className: _ListItemModule["default"].iconBox
|
|
154
|
-
dataId: dataId ? "".concat(dataId, "_checkBox") : ''
|
|
153
|
+
className: _ListItemModule["default"].iconBox
|
|
155
154
|
}, /*#__PURE__*/_react["default"].createElement(_CheckBox["default"], {
|
|
156
155
|
checked: checked,
|
|
157
156
|
a11y: {
|
|
@@ -161,8 +161,7 @@ var ListItemWithRadio = /*#__PURE__*/function (_React$Component) {
|
|
|
161
161
|
customClass: {
|
|
162
162
|
customRadio: customRadio,
|
|
163
163
|
customRadioWrap: customRadioWrap
|
|
164
|
-
}
|
|
165
|
-
dataId: "".concat(dataId, "_radio")
|
|
164
|
+
}
|
|
166
165
|
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
167
166
|
flexible: true,
|
|
168
167
|
shrink: true,
|