@zohodesk/components 1.0.0-temp-256.1 → 1.0.0-temp-257.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -19
- package/assets/Appearance/dark/mode/Component_DarkMode.module.css +0 -2
- package/assets/Appearance/dark/mode/Component_v1_DarkMode.module.css +5 -20
- package/assets/Appearance/dark/themes/blue/blue_componentsCTA_DarkModifyCategory.module.css +0 -1
- package/assets/Appearance/dark/themes/green/green_componentsCTA_DarkModifyCategory.module.css +0 -1
- package/assets/Appearance/dark/themes/orange/orange_componentsCTA_DarkModifyCategory.module.css +0 -1
- package/assets/Appearance/dark/themes/red/red_componentsCTA_DarkModifyCategory.module.css +0 -1
- package/assets/Appearance/dark/themes/yellow/yellow_componentsCTA_DarkModifyCategory.module.css +0 -1
- package/assets/Appearance/light/mode/Component_LightMode.module.css +0 -2
- package/assets/Appearance/light/mode/Component_v1_LightMode.module.css +5 -20
- package/assets/Appearance/light/themes/blue/blue_componentsCTA_LightModifyCategory.module.css +0 -1
- package/assets/Appearance/light/themes/green/green_componentsCTA_LightModifyCategory.module.css +0 -1
- package/assets/Appearance/light/themes/orange/orange_componentsCTA_LightModifyCategory.module.css +0 -1
- package/assets/Appearance/light/themes/red/red_componentsCTA_LightModifyCategory.module.css +0 -1
- package/assets/Appearance/light/themes/yellow/yellow_componentsCTA_LightModifyCategory.module.css +0 -1
- package/assets/Appearance/pureDark/mode/Component_PureDarkMode.module.css +0 -2
- package/assets/Appearance/pureDark/mode/Component_v1_PureDarkMode.module.css +5 -20
- package/assets/Appearance/pureDark/themes/blue/blue_componentsCTA_PureDarkModifyCategory.module.css +0 -1
- package/assets/Appearance/pureDark/themes/green/green_componentsCTA_PureDarkModifyCategory.module.css +0 -1
- package/assets/Appearance/pureDark/themes/orange/orange_componentsCTA_PureDarkModifyCategory.module.css +0 -1
- package/assets/Appearance/pureDark/themes/red/red_componentsCTA_PureDarkModifyCategory.module.css +0 -1
- package/assets/Appearance/pureDark/themes/yellow/yellow_componentsCTA_PureDarkModifyCategory.module.css +0 -1
- package/es/ListItem/ListItem.js +1 -2
- package/es/ListItem/ListItemWithAvatar.js +3 -9
- package/es/ListItem/ListItemWithCheckBox.js +3 -9
- package/es/ListItem/ListItemWithIcon.js +2 -8
- package/es/ListItem/ListItemWithRadio.js +3 -9
- package/es/ListItem/__tests__/ListItemWithAvatar.spec.js +0 -19
- package/es/ListItem/__tests__/ListItemWithCheckBox.spec.js +0 -19
- package/es/ListItem/__tests__/ListItemWithIcon.spec.js +0 -17
- package/es/ListItem/__tests__/ListItemWithRadio.spec.js +0 -19
- package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +0 -108
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +0 -212
- package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +0 -108
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +0 -210
- package/es/ListItem/props/defaultProps.js +0 -1
- package/es/ListItem/props/propTypes.js +3 -12
- package/es/Tab/Tab.js +13 -56
- package/es/Tab/Tab.module.css +4 -72
- package/es/Tab/TabWrapper.js +2 -6
- package/es/Tab/Tabs.js +14 -60
- package/es/Tab/Tabs.module.css +15 -84
- package/es/Tab/__tests__/Tab.spec.js +0 -87
- package/es/Tab/__tests__/Tabs.spec.js +0 -11
- package/es/Tab/__tests__/__snapshots__/Tab.spec.js.snap +0 -287
- package/es/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +0 -32
- package/es/Tab/props/defaultProps.js +3 -10
- package/es/Tab/props/propTypes.js +4 -26
- package/es/Tab/utils/tabConfigs.js +0 -11
- package/es/v1/Button/Button.js +163 -106
- package/es/v1/Button/css/Button_v1.module.css +28 -16
- package/es/v1/Button/css/cssJSLogic.js +18 -3
- package/es/v1/Button/props/propTypes.js +14 -3
- package/es/v1/helpers/colorHelpers/background/backgroundColor.module.css +35 -35
- package/es/v1/helpers/colorHelpers/border/borderColor.module.css +20 -20
- package/es/v1/helpers/colorHelpers/text/textColor.module.css +35 -35
- package/lib/ListItem/ListItem.js +1 -3
- package/lib/ListItem/ListItemWithAvatar.js +3 -11
- package/lib/ListItem/ListItemWithCheckBox.js +3 -11
- package/lib/ListItem/ListItemWithIcon.js +2 -8
- package/lib/ListItem/ListItemWithRadio.js +3 -11
- package/lib/ListItem/__tests__/ListItemWithAvatar.spec.js +0 -23
- package/lib/ListItem/__tests__/ListItemWithCheckBox.spec.js +0 -23
- package/lib/ListItem/__tests__/ListItemWithIcon.spec.js +0 -21
- package/lib/ListItem/__tests__/ListItemWithRadio.spec.js +0 -23
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +0 -108
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +0 -212
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +0 -108
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +0 -210
- package/lib/ListItem/props/defaultProps.js +0 -1
- package/lib/ListItem/props/propTypes.js +4 -12
- package/lib/Tab/Tab.js +11 -59
- package/lib/Tab/Tab.module.css +4 -72
- package/lib/Tab/TabWrapper.js +2 -6
- package/lib/Tab/Tabs.js +11 -57
- package/lib/Tab/Tabs.module.css +15 -84
- package/lib/Tab/__tests__/Tab.spec.js +0 -88
- package/lib/Tab/__tests__/Tabs.spec.js +0 -12
- package/lib/Tab/__tests__/__snapshots__/Tab.spec.js.snap +0 -287
- package/lib/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +0 -32
- package/lib/Tab/props/defaultProps.js +3 -10
- package/lib/Tab/props/propTypes.js +4 -28
- package/lib/Tab/utils/tabConfigs.js +2 -15
- package/lib/v1/Button/Button.js +182 -118
- package/lib/v1/Button/css/Button_v1.module.css +28 -16
- package/lib/v1/Button/css/cssJSLogic.js +19 -7
- package/lib/v1/Button/props/propTypes.js +14 -3
- package/lib/v1/helpers/colorHelpers/background/backgroundColor.module.css +35 -35
- package/lib/v1/helpers/colorHelpers/border/borderColor.module.css +20 -20
- package/lib/v1/helpers/colorHelpers/text/textColor.module.css +35 -35
- package/package.json +7 -7
|
@@ -73,27 +73,4 @@ describe('ListItemWithCheckBox', function () {
|
|
|
73
73
|
|
|
74
74
|
expect(asFragment()).toMatchSnapshot();
|
|
75
75
|
});
|
|
76
|
-
test('ListItemWithCheckBox with renderLeftValuePlaceholderNode', function () {
|
|
77
|
-
var _render8 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithCheckBox["default"], {
|
|
78
|
-
renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
|
|
79
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
|
|
80
|
-
}
|
|
81
|
-
})),
|
|
82
|
-
asFragment = _render8.asFragment;
|
|
83
|
-
|
|
84
|
-
expect(asFragment()).toMatchSnapshot();
|
|
85
|
-
});
|
|
86
|
-
test('ListItemWithCheckBox with renderLeftValuePlaceholderNode & it\'s custom class', function () {
|
|
87
|
-
var _render9 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithCheckBox["default"], {
|
|
88
|
-
renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
|
|
89
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
|
|
90
|
-
},
|
|
91
|
-
customClass: {
|
|
92
|
-
customLeftValuePlaceholder: "customLeftValuePlaceholderClass"
|
|
93
|
-
}
|
|
94
|
-
})),
|
|
95
|
-
asFragment = _render9.asFragment;
|
|
96
|
-
|
|
97
|
-
expect(asFragment()).toMatchSnapshot();
|
|
98
|
-
});
|
|
99
76
|
});
|
|
@@ -71,25 +71,4 @@ describe('ListItemWithIcon', function () {
|
|
|
71
71
|
|
|
72
72
|
expect(asFragment()).toMatchSnapshot();
|
|
73
73
|
});
|
|
74
|
-
test('ListItemWithIcon with renderLeftValuePlaceholderNode', function () {
|
|
75
|
-
var _render8 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], {
|
|
76
|
-
renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
|
|
77
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
|
|
78
|
-
}
|
|
79
|
-
})),
|
|
80
|
-
asFragment = _render8.asFragment;
|
|
81
|
-
|
|
82
|
-
expect(asFragment()).toMatchSnapshot();
|
|
83
|
-
});
|
|
84
|
-
test('ListItemWithIcon with renderLeftValuePlaceholderNode & it\'s custom class', function () {
|
|
85
|
-
var _render9 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithIcon["default"], {
|
|
86
|
-
renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
|
|
87
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
|
|
88
|
-
},
|
|
89
|
-
customLeftValuePlaceholderClass: "customLeftValuePlaceholderClass"
|
|
90
|
-
})),
|
|
91
|
-
asFragment = _render9.asFragment;
|
|
92
|
-
|
|
93
|
-
expect(asFragment()).toMatchSnapshot();
|
|
94
|
-
});
|
|
95
74
|
});
|
|
@@ -73,27 +73,4 @@ describe('ListItemWithRadio', function () {
|
|
|
73
73
|
|
|
74
74
|
expect(asFragment()).toMatchSnapshot();
|
|
75
75
|
});
|
|
76
|
-
test('ListItemWithRadio with renderLeftValuePlaceholderNode', function () {
|
|
77
|
-
var _render8 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithRadio["default"], {
|
|
78
|
-
renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
|
|
79
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
|
|
80
|
-
}
|
|
81
|
-
})),
|
|
82
|
-
asFragment = _render8.asFragment;
|
|
83
|
-
|
|
84
|
-
expect(asFragment()).toMatchSnapshot();
|
|
85
|
-
});
|
|
86
|
-
test('ListItemWithRadio with renderLeftValuePlaceholderNode & it\'s custom class', function () {
|
|
87
|
-
var _render9 = (0, _react2.render)( /*#__PURE__*/_react["default"].createElement(_ListItemWithRadio["default"], {
|
|
88
|
-
renderLeftValuePlaceholderNode: function renderLeftValuePlaceholderNode() {
|
|
89
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, "Left Placeholder");
|
|
90
|
-
},
|
|
91
|
-
customClass: {
|
|
92
|
-
customLeftValuePlaceholder: "customLeftValuePlaceholderClass"
|
|
93
|
-
}
|
|
94
|
-
})),
|
|
95
|
-
asFragment = _render9.asFragment;
|
|
96
|
-
|
|
97
|
-
expect(asFragment()).toMatchSnapshot();
|
|
98
|
-
});
|
|
99
76
|
});
|
|
@@ -1,113 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`ListItemWithAvatar ListItemWithAvatar with renderLeftValuePlaceholderNode & it's custom class 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<li
|
|
6
|
-
class="flex row alignItems_center list medium default withBorder"
|
|
7
|
-
data-a11y-inset-focus="true"
|
|
8
|
-
data-id="List_ListItemWithAvatar"
|
|
9
|
-
data-selector-id="listItemWithAvatar"
|
|
10
|
-
data-test-id="List_ListItemWithAvatar"
|
|
11
|
-
role="option"
|
|
12
|
-
tabindex="0"
|
|
13
|
-
>
|
|
14
|
-
<div
|
|
15
|
-
class="noShrink contentWrapper"
|
|
16
|
-
data-id="boxComponent"
|
|
17
|
-
data-selector-id="box"
|
|
18
|
-
data-test-id="boxComponent"
|
|
19
|
-
>
|
|
20
|
-
<div
|
|
21
|
-
class="flexible basis_zero noShrink leftBox selfAlign_center"
|
|
22
|
-
data-id="boxComponent"
|
|
23
|
-
data-selector-id="box"
|
|
24
|
-
data-test-id="boxComponent"
|
|
25
|
-
>
|
|
26
|
-
<div
|
|
27
|
-
class="noShrink titleBox"
|
|
28
|
-
data-id="boxComponent"
|
|
29
|
-
data-selector-id="box"
|
|
30
|
-
data-test-id="boxComponent"
|
|
31
|
-
>
|
|
32
|
-
<div
|
|
33
|
-
class="basis_auto noShrink customLeftValuePlaceholderClass"
|
|
34
|
-
data-id="boxComponent"
|
|
35
|
-
data-selector-id="box"
|
|
36
|
-
data-test-id="boxComponent"
|
|
37
|
-
>
|
|
38
|
-
<div>
|
|
39
|
-
Left Placeholder
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div
|
|
43
|
-
class="basis_auto shrink value"
|
|
44
|
-
data-id="boxComponent"
|
|
45
|
-
data-selector-id="box"
|
|
46
|
-
data-test-id="boxComponent"
|
|
47
|
-
>
|
|
48
|
-
List
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</li>
|
|
54
|
-
</DocumentFragment>
|
|
55
|
-
`;
|
|
56
|
-
|
|
57
|
-
exports[`ListItemWithAvatar ListItemWithAvatar with renderLeftValuePlaceholderNode 1`] = `
|
|
58
|
-
<DocumentFragment>
|
|
59
|
-
<li
|
|
60
|
-
class="flex row alignItems_center list medium default withBorder"
|
|
61
|
-
data-a11y-inset-focus="true"
|
|
62
|
-
data-id="List_ListItemWithAvatar"
|
|
63
|
-
data-selector-id="listItemWithAvatar"
|
|
64
|
-
data-test-id="List_ListItemWithAvatar"
|
|
65
|
-
role="option"
|
|
66
|
-
tabindex="0"
|
|
67
|
-
>
|
|
68
|
-
<div
|
|
69
|
-
class="noShrink contentWrapper"
|
|
70
|
-
data-id="boxComponent"
|
|
71
|
-
data-selector-id="box"
|
|
72
|
-
data-test-id="boxComponent"
|
|
73
|
-
>
|
|
74
|
-
<div
|
|
75
|
-
class="flexible basis_zero noShrink leftBox selfAlign_center"
|
|
76
|
-
data-id="boxComponent"
|
|
77
|
-
data-selector-id="box"
|
|
78
|
-
data-test-id="boxComponent"
|
|
79
|
-
>
|
|
80
|
-
<div
|
|
81
|
-
class="noShrink titleBox"
|
|
82
|
-
data-id="boxComponent"
|
|
83
|
-
data-selector-id="box"
|
|
84
|
-
data-test-id="boxComponent"
|
|
85
|
-
>
|
|
86
|
-
<div
|
|
87
|
-
class="basis_auto noShrink"
|
|
88
|
-
data-id="boxComponent"
|
|
89
|
-
data-selector-id="box"
|
|
90
|
-
data-test-id="boxComponent"
|
|
91
|
-
>
|
|
92
|
-
<div>
|
|
93
|
-
Left Placeholder
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<div
|
|
97
|
-
class="basis_auto shrink value"
|
|
98
|
-
data-id="boxComponent"
|
|
99
|
-
data-selector-id="box"
|
|
100
|
-
data-test-id="boxComponent"
|
|
101
|
-
>
|
|
102
|
-
List
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</li>
|
|
108
|
-
</DocumentFragment>
|
|
109
|
-
`;
|
|
110
|
-
|
|
111
3
|
exports[`ListItemWithAvatar ListItemWithAvatar with renderValueRightPlaceholderNode & it's custom class 1`] = `
|
|
112
4
|
<DocumentFragment>
|
|
113
5
|
<li
|
|
@@ -1,217 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`ListItemWithCheckBox ListItemWithCheckBox with renderLeftValuePlaceholderNode & it's custom class 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<li
|
|
6
|
-
class="flex row alignItems_center list medium default withBorder"
|
|
7
|
-
data-a11y-inset-focus="true"
|
|
8
|
-
data-id="List_ListItemWithCheckBox"
|
|
9
|
-
data-selector-id="listItemWithCheckBox"
|
|
10
|
-
data-test-id="List_ListItemWithCheckBox"
|
|
11
|
-
role="option"
|
|
12
|
-
tabindex="0"
|
|
13
|
-
>
|
|
14
|
-
<div
|
|
15
|
-
class="noShrink contentWrapper"
|
|
16
|
-
data-id="boxComponent"
|
|
17
|
-
data-selector-id="box"
|
|
18
|
-
data-test-id="boxComponent"
|
|
19
|
-
>
|
|
20
|
-
<div
|
|
21
|
-
class="iconBox lhsJustifyContent_center"
|
|
22
|
-
data-id="List_checkBox"
|
|
23
|
-
data-test-id="List_checkBox"
|
|
24
|
-
>
|
|
25
|
-
<div
|
|
26
|
-
class="noShrink alignSelf_start lhsBoxInner"
|
|
27
|
-
data-id="boxComponent"
|
|
28
|
-
data-selector-id="box"
|
|
29
|
-
data-test-id="boxComponent"
|
|
30
|
-
>
|
|
31
|
-
<div
|
|
32
|
-
aria-checked="false"
|
|
33
|
-
aria-hidden="true"
|
|
34
|
-
class="inlineFlex row alignItems_center container pointer primary"
|
|
35
|
-
data-id="checkBox"
|
|
36
|
-
data-selector-id="container"
|
|
37
|
-
data-test-id="checkBox"
|
|
38
|
-
role="checkbox"
|
|
39
|
-
tabindex="-1"
|
|
40
|
-
>
|
|
41
|
-
<div
|
|
42
|
-
class="noShrink boxContainer medium filled"
|
|
43
|
-
data-id="boxComponent"
|
|
44
|
-
data-selector-id="box"
|
|
45
|
-
data-test-id="boxComponent"
|
|
46
|
-
>
|
|
47
|
-
<input
|
|
48
|
-
type="hidden"
|
|
49
|
-
/>
|
|
50
|
-
<label
|
|
51
|
-
class="checkbox pointer medium"
|
|
52
|
-
>
|
|
53
|
-
<svg
|
|
54
|
-
viewBox="0 0 40 40"
|
|
55
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
56
|
-
>
|
|
57
|
-
<rect
|
|
58
|
-
class="cbBox"
|
|
59
|
-
height="38"
|
|
60
|
-
rx="4"
|
|
61
|
-
width="38"
|
|
62
|
-
x="1"
|
|
63
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
64
|
-
y="1"
|
|
65
|
-
/>
|
|
66
|
-
</svg>
|
|
67
|
-
</label>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
<div
|
|
73
|
-
class="flexible basis_zero noShrink leftBox selfAlign_center"
|
|
74
|
-
data-id="boxComponent"
|
|
75
|
-
data-selector-id="box"
|
|
76
|
-
data-test-id="boxComponent"
|
|
77
|
-
>
|
|
78
|
-
<div
|
|
79
|
-
class="noShrink titleBox"
|
|
80
|
-
data-id="boxComponent"
|
|
81
|
-
data-selector-id="box"
|
|
82
|
-
data-test-id="boxComponent"
|
|
83
|
-
>
|
|
84
|
-
<div
|
|
85
|
-
class="basis_auto noShrink customLeftValuePlaceholderClass"
|
|
86
|
-
data-id="boxComponent"
|
|
87
|
-
data-selector-id="box"
|
|
88
|
-
data-test-id="boxComponent"
|
|
89
|
-
>
|
|
90
|
-
<div>
|
|
91
|
-
Left Placeholder
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
<div
|
|
95
|
-
class="basis_auto shrink value"
|
|
96
|
-
data-id="boxComponent"
|
|
97
|
-
data-selector-id="box"
|
|
98
|
-
data-test-id="boxComponent"
|
|
99
|
-
>
|
|
100
|
-
List
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
</li>
|
|
106
|
-
</DocumentFragment>
|
|
107
|
-
`;
|
|
108
|
-
|
|
109
|
-
exports[`ListItemWithCheckBox ListItemWithCheckBox with renderLeftValuePlaceholderNode 1`] = `
|
|
110
|
-
<DocumentFragment>
|
|
111
|
-
<li
|
|
112
|
-
class="flex row alignItems_center list medium default withBorder"
|
|
113
|
-
data-a11y-inset-focus="true"
|
|
114
|
-
data-id="List_ListItemWithCheckBox"
|
|
115
|
-
data-selector-id="listItemWithCheckBox"
|
|
116
|
-
data-test-id="List_ListItemWithCheckBox"
|
|
117
|
-
role="option"
|
|
118
|
-
tabindex="0"
|
|
119
|
-
>
|
|
120
|
-
<div
|
|
121
|
-
class="noShrink contentWrapper"
|
|
122
|
-
data-id="boxComponent"
|
|
123
|
-
data-selector-id="box"
|
|
124
|
-
data-test-id="boxComponent"
|
|
125
|
-
>
|
|
126
|
-
<div
|
|
127
|
-
class="iconBox lhsJustifyContent_center"
|
|
128
|
-
data-id="List_checkBox"
|
|
129
|
-
data-test-id="List_checkBox"
|
|
130
|
-
>
|
|
131
|
-
<div
|
|
132
|
-
class="noShrink alignSelf_start lhsBoxInner"
|
|
133
|
-
data-id="boxComponent"
|
|
134
|
-
data-selector-id="box"
|
|
135
|
-
data-test-id="boxComponent"
|
|
136
|
-
>
|
|
137
|
-
<div
|
|
138
|
-
aria-checked="false"
|
|
139
|
-
aria-hidden="true"
|
|
140
|
-
class="inlineFlex row alignItems_center container pointer primary"
|
|
141
|
-
data-id="checkBox"
|
|
142
|
-
data-selector-id="container"
|
|
143
|
-
data-test-id="checkBox"
|
|
144
|
-
role="checkbox"
|
|
145
|
-
tabindex="-1"
|
|
146
|
-
>
|
|
147
|
-
<div
|
|
148
|
-
class="noShrink boxContainer medium filled"
|
|
149
|
-
data-id="boxComponent"
|
|
150
|
-
data-selector-id="box"
|
|
151
|
-
data-test-id="boxComponent"
|
|
152
|
-
>
|
|
153
|
-
<input
|
|
154
|
-
type="hidden"
|
|
155
|
-
/>
|
|
156
|
-
<label
|
|
157
|
-
class="checkbox pointer medium"
|
|
158
|
-
>
|
|
159
|
-
<svg
|
|
160
|
-
viewBox="0 0 40 40"
|
|
161
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
162
|
-
>
|
|
163
|
-
<rect
|
|
164
|
-
class="cbBox"
|
|
165
|
-
height="38"
|
|
166
|
-
rx="4"
|
|
167
|
-
width="38"
|
|
168
|
-
x="1"
|
|
169
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
170
|
-
y="1"
|
|
171
|
-
/>
|
|
172
|
-
</svg>
|
|
173
|
-
</label>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
<div
|
|
179
|
-
class="flexible basis_zero noShrink leftBox selfAlign_center"
|
|
180
|
-
data-id="boxComponent"
|
|
181
|
-
data-selector-id="box"
|
|
182
|
-
data-test-id="boxComponent"
|
|
183
|
-
>
|
|
184
|
-
<div
|
|
185
|
-
class="noShrink titleBox"
|
|
186
|
-
data-id="boxComponent"
|
|
187
|
-
data-selector-id="box"
|
|
188
|
-
data-test-id="boxComponent"
|
|
189
|
-
>
|
|
190
|
-
<div
|
|
191
|
-
class="basis_auto noShrink"
|
|
192
|
-
data-id="boxComponent"
|
|
193
|
-
data-selector-id="box"
|
|
194
|
-
data-test-id="boxComponent"
|
|
195
|
-
>
|
|
196
|
-
<div>
|
|
197
|
-
Left Placeholder
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
<div
|
|
201
|
-
class="basis_auto shrink value"
|
|
202
|
-
data-id="boxComponent"
|
|
203
|
-
data-selector-id="box"
|
|
204
|
-
data-test-id="boxComponent"
|
|
205
|
-
>
|
|
206
|
-
List
|
|
207
|
-
</div>
|
|
208
|
-
</div>
|
|
209
|
-
</div>
|
|
210
|
-
</div>
|
|
211
|
-
</li>
|
|
212
|
-
</DocumentFragment>
|
|
213
|
-
`;
|
|
214
|
-
|
|
215
3
|
exports[`ListItemWithCheckBox ListItemWithCheckBox with renderValueRightPlaceholderNode & it's custom class 1`] = `
|
|
216
4
|
<DocumentFragment>
|
|
217
5
|
<li
|
|
@@ -1,113 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
2
2
|
|
|
3
|
-
exports[`ListItemWithIcon ListItemWithIcon with renderLeftValuePlaceholderNode & it's custom class 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<li
|
|
6
|
-
class="flex row alignItems_center list medium default withBorder"
|
|
7
|
-
data-a11y-inset-focus="true"
|
|
8
|
-
data-id="list"
|
|
9
|
-
data-selector-id="listItemWithIcon"
|
|
10
|
-
data-test-id="list"
|
|
11
|
-
role="option"
|
|
12
|
-
tabindex="0"
|
|
13
|
-
>
|
|
14
|
-
<div
|
|
15
|
-
class="noShrink contentWrapper"
|
|
16
|
-
data-id="boxComponent"
|
|
17
|
-
data-selector-id="box"
|
|
18
|
-
data-test-id="boxComponent"
|
|
19
|
-
>
|
|
20
|
-
<div
|
|
21
|
-
class="flexible basis_zero noShrink leftBox selfAlign_center"
|
|
22
|
-
data-id="boxComponent"
|
|
23
|
-
data-selector-id="box"
|
|
24
|
-
data-test-id="boxComponent"
|
|
25
|
-
>
|
|
26
|
-
<div
|
|
27
|
-
class="noShrink titleBox"
|
|
28
|
-
data-id="boxComponent"
|
|
29
|
-
data-selector-id="box"
|
|
30
|
-
data-test-id="boxComponent"
|
|
31
|
-
>
|
|
32
|
-
<div
|
|
33
|
-
class="basis_auto noShrink customLeftValuePlaceholderClass"
|
|
34
|
-
data-id="boxComponent"
|
|
35
|
-
data-selector-id="box"
|
|
36
|
-
data-test-id="boxComponent"
|
|
37
|
-
>
|
|
38
|
-
<div>
|
|
39
|
-
Left Placeholder
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div
|
|
43
|
-
class="basis_auto shrink value"
|
|
44
|
-
data-id="list_Text"
|
|
45
|
-
data-selector-id="box"
|
|
46
|
-
data-test-id="list_Text"
|
|
47
|
-
>
|
|
48
|
-
List
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
</li>
|
|
54
|
-
</DocumentFragment>
|
|
55
|
-
`;
|
|
56
|
-
|
|
57
|
-
exports[`ListItemWithIcon ListItemWithIcon with renderLeftValuePlaceholderNode 1`] = `
|
|
58
|
-
<DocumentFragment>
|
|
59
|
-
<li
|
|
60
|
-
class="flex row alignItems_center list medium default withBorder"
|
|
61
|
-
data-a11y-inset-focus="true"
|
|
62
|
-
data-id="list"
|
|
63
|
-
data-selector-id="listItemWithIcon"
|
|
64
|
-
data-test-id="list"
|
|
65
|
-
role="option"
|
|
66
|
-
tabindex="0"
|
|
67
|
-
>
|
|
68
|
-
<div
|
|
69
|
-
class="noShrink contentWrapper"
|
|
70
|
-
data-id="boxComponent"
|
|
71
|
-
data-selector-id="box"
|
|
72
|
-
data-test-id="boxComponent"
|
|
73
|
-
>
|
|
74
|
-
<div
|
|
75
|
-
class="flexible basis_zero noShrink leftBox selfAlign_center"
|
|
76
|
-
data-id="boxComponent"
|
|
77
|
-
data-selector-id="box"
|
|
78
|
-
data-test-id="boxComponent"
|
|
79
|
-
>
|
|
80
|
-
<div
|
|
81
|
-
class="noShrink titleBox"
|
|
82
|
-
data-id="boxComponent"
|
|
83
|
-
data-selector-id="box"
|
|
84
|
-
data-test-id="boxComponent"
|
|
85
|
-
>
|
|
86
|
-
<div
|
|
87
|
-
class="basis_auto noShrink"
|
|
88
|
-
data-id="boxComponent"
|
|
89
|
-
data-selector-id="box"
|
|
90
|
-
data-test-id="boxComponent"
|
|
91
|
-
>
|
|
92
|
-
<div>
|
|
93
|
-
Left Placeholder
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
<div
|
|
97
|
-
class="basis_auto shrink value"
|
|
98
|
-
data-id="list_Text"
|
|
99
|
-
data-selector-id="box"
|
|
100
|
-
data-test-id="list_Text"
|
|
101
|
-
>
|
|
102
|
-
List
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</li>
|
|
108
|
-
</DocumentFragment>
|
|
109
|
-
`;
|
|
110
|
-
|
|
111
3
|
exports[`ListItemWithIcon ListItemWithIcon with renderValueRightPlaceholderNode & it's custom class 1`] = `
|
|
112
4
|
<DocumentFragment>
|
|
113
5
|
<li
|