@zohodesk/components 1.6.20 → 1.6.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 -0
- package/es/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +16 -16
- package/es/Card/__tests__/__snapshots__/Card.spec.js.snap +17 -17
- package/es/Card/__tests__/__snapshots__/CardContent.spec.js.snap +12 -12
- package/es/Card/__tests__/__snapshots__/CardHeader.spec.js.snap +4 -4
- package/es/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +98 -121
- package/es/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +45 -45
- package/es/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +24 -24
- package/es/DateTime/__tests__/__snapshots__/CalendarView.spec.js.snap +49 -49
- package/es/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +87 -87
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupFooter.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +5 -5
- package/es/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +6 -6
- package/es/DateTime/__tests__/__snapshots__/DaysRow.spec.js.snap +1 -1
- package/es/DateTime/__tests__/__snapshots__/Time.spec.js.snap +25 -25
- package/es/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +2 -2
- package/es/Layout/Box.js +1 -115
- package/es/Layout/Container.js +1 -132
- package/es/Layout/props/defaultProps.js +1 -16
- package/es/Layout/props/propTypes.js +1 -46
- package/es/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/es/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +16 -16
- package/es/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +41 -41
- package/es/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +62 -69
- package/es/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +41 -41
- package/es/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +69 -69
- package/es/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +3 -3
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +6 -6
- package/es/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +50 -50
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +31 -31
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +6 -6
- package/es/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +8 -8
- package/es/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +4 -4
- package/es/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +47 -47
- package/es/Radio/__tests__/__snapshots__/Radio.spec.js.snap +130 -130
- package/es/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -1
- package/es/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +6 -6
- package/es/Select/__tests__/__snapshots__/Select.spec.js.snap +771 -749
- package/es/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/es/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +9 -9
- package/es/Switch/__tests__/__snapshots__/Switch.spec.js.snap +44 -44
- package/es/Tab/__tests__/__snapshots__/Tab.spec.js.snap +2 -2
- package/es/Tab/__tests__/__snapshots__/TabContent.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/TabContentWrapper.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +36 -36
- package/es/Tab/__tests__/__snapshots__/TabWrapper.spec.js.snap +1 -1
- package/es/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +4 -4
- package/es/Tag/__tests__/__snapshots__/Tag.spec.js.snap +46 -46
- package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +164 -164
- package/es/css.js +0 -1
- package/es/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
- package/es/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/lib/AppContainer/__tests__/__snapshots__/AppContainer.spec.js.snap +16 -16
- package/lib/Card/__tests__/__snapshots__/Card.spec.js.snap +17 -17
- package/lib/Card/__tests__/__snapshots__/CardContent.spec.js.snap +12 -12
- package/lib/Card/__tests__/__snapshots__/CardHeader.spec.js.snap +4 -4
- package/lib/CheckBox/__tests__/__snapshots__/CheckBox.spec.js.snap +98 -121
- package/lib/ColorSelect/__tests__/__snapshots__/ColorMultiSelect.spec.js.snap +45 -45
- package/lib/ColorSelect/__tests__/__snapshots__/ColorSingleSelect.spec.js.snap +24 -24
- package/lib/DateTime/__tests__/__snapshots__/CalendarView.spec.js.snap +49 -49
- package/lib/DateTime/__tests__/__snapshots__/DateTime.spec.js.snap +87 -87
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupFooter.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/DateTimePopupHeader.spec.js.snap +5 -5
- package/lib/DateTime/__tests__/__snapshots__/DateWidget.spec.js.snap +6 -6
- package/lib/DateTime/__tests__/__snapshots__/DaysRow.spec.js.snap +1 -1
- package/lib/DateTime/__tests__/__snapshots__/Time.spec.js.snap +25 -25
- package/lib/DropDown/__tests__/__snapshots__/DropDown.spec.js.snap +2 -2
- package/lib/Layout/Box.js +7 -120
- package/lib/Layout/Container.js +7 -137
- package/lib/Layout/props/defaultProps.js +14 -19
- package/lib/Layout/props/propTypes.js +13 -52
- package/lib/ListItem/__tests__/__snapshots__/ListContainer.spec.js.snap +2 -2
- package/lib/ListItem/__tests__/__snapshots__/ListItem.spec.js.snap +16 -16
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithAvatar.spec.js.snap +41 -41
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithCheckBox.spec.js.snap +62 -69
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithIcon.spec.js.snap +41 -41
- package/lib/ListItem/__tests__/__snapshots__/ListItemWithRadio.spec.js.snap +69 -69
- package/lib/MultiSelect/MobileHeader/__tests__/__snapshots__/MobileHeader.spec.js.snap +3 -3
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedGroupMultiSelect.spec.js.snap +6 -6
- package/lib/MultiSelect/__tests__/__snapshots__/AdvancedMultiSelect.spec.js.snap +50 -50
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelect.spec.js.snap +31 -31
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectHeader.spec.js.snap +6 -6
- package/lib/MultiSelect/__tests__/__snapshots__/MultiSelectWithAvatar.spec.js.snap +8 -8
- package/lib/MultiSelect/__tests__/__snapshots__/SelectedOptions.spec.js.snap +4 -4
- package/lib/MultiSelect/__tests__/__snapshots__/Suggestions.spec.js.snap +47 -47
- package/lib/Radio/__tests__/__snapshots__/Radio.spec.js.snap +130 -130
- package/lib/ResponsiveDropBox/__tests__/__snapshots__/ResponsiveDropBox.spec.js.snap +1 -1
- package/lib/Select/__tests__/__snapshots__/GroupSelect.spec.js.snap +6 -6
- package/lib/Select/__tests__/__snapshots__/Select.spec.js.snap +771 -749
- package/lib/Select/__tests__/__snapshots__/SelectWithAvatar.spec.js.snap +2 -2
- package/lib/Select/__tests__/__snapshots__/SelectWithIcon.spec.js.snap +9 -9
- package/lib/Switch/__tests__/__snapshots__/Switch.spec.js.snap +44 -44
- package/lib/Tab/__tests__/__snapshots__/Tab.spec.js.snap +2 -2
- package/lib/Tab/__tests__/__snapshots__/TabContent.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/TabContentWrapper.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/TabLayout.spec.js.snap +36 -36
- package/lib/Tab/__tests__/__snapshots__/TabWrapper.spec.js.snap +1 -1
- package/lib/Tab/__tests__/__snapshots__/Tabs.spec.js.snap +4 -4
- package/lib/Tag/__tests__/__snapshots__/Tag.spec.js.snap +46 -46
- package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +164 -164
- package/lib/css.js +0 -2
- package/lib/shared/ArrowIcon/__tests__/__snapshots__/ArrowIcon.spec.js.snap +10 -10
- package/lib/shared/InputFieldLine/__tests__/__snapshots__/InputFieldLine.spec.js.snap +19 -19
- package/package.json +5 -5
- package/es/Layout/Layout.module.css +0 -336
- package/es/Layout/__tests__/Box.spec.js +0 -11
- package/es/Layout/__tests__/Container.spec.js +0 -11
- package/es/Layout/__tests__/__snapshots__/Box.spec.js.snap +0 -16
- package/es/Layout/__tests__/__snapshots__/Container.spec.js.snap +0 -16
- package/es/Layout/utils.js +0 -29
- package/lib/Layout/Layout.module.css +0 -336
- package/lib/Layout/__tests__/Box.spec.js +0 -18
- package/lib/Layout/__tests__/Container.spec.js +0 -18
- package/lib/Layout/__tests__/__snapshots__/Box.spec.js.snap +0 -16
- package/lib/Layout/__tests__/__snapshots__/Container.spec.js.snap +0 -16
- package/lib/Layout/utils.js +0 -59
package/lib/css.js
CHANGED
|
@@ -4,7 +4,7 @@ exports[`ArrowIcon Should be render isActive is true 1`] = `
|
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
6
|
aria-hidden="true"
|
|
7
|
-
class="arrowIcon active
|
|
7
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon active"
|
|
8
8
|
data-id="undefined_downIcon"
|
|
9
9
|
data-selector-id="container"
|
|
10
10
|
data-test-id="undefined_downIcon"
|
|
@@ -25,7 +25,7 @@ exports[`ArrowIcon Should be render isDisabled is true 1`] = `
|
|
|
25
25
|
<DocumentFragment>
|
|
26
26
|
<div
|
|
27
27
|
aria-hidden="true"
|
|
28
|
-
class="arrowIcon disabled
|
|
28
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon disabled"
|
|
29
29
|
data-id="undefined_downIcon"
|
|
30
30
|
data-selector-id="container"
|
|
31
31
|
data-test-id="undefined_downIcon"
|
|
@@ -46,7 +46,7 @@ exports[`ArrowIcon Should be render isReadOnly is true 1`] = `
|
|
|
46
46
|
<DocumentFragment>
|
|
47
47
|
<div
|
|
48
48
|
aria-hidden="true"
|
|
49
|
-
class="arrowIcon readonly
|
|
49
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon readonly"
|
|
50
50
|
data-id="undefined_downIcon"
|
|
51
51
|
data-selector-id="container"
|
|
52
52
|
data-test-id="undefined_downIcon"
|
|
@@ -67,7 +67,7 @@ exports[`ArrowIcon Should be render isRotated is true 1`] = `
|
|
|
67
67
|
<DocumentFragment>
|
|
68
68
|
<div
|
|
69
69
|
aria-hidden="true"
|
|
70
|
-
class="arrowIcon rotated
|
|
70
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon rotated"
|
|
71
71
|
data-id="undefined_downIcon"
|
|
72
72
|
data-selector-id="container"
|
|
73
73
|
data-test-id="undefined_downIcon"
|
|
@@ -88,7 +88,7 @@ exports[`ArrowIcon Should be render with a11yAttributes 1`] = `
|
|
|
88
88
|
<DocumentFragment>
|
|
89
89
|
<div
|
|
90
90
|
aria-hidden="true"
|
|
91
|
-
class="
|
|
91
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon"
|
|
92
92
|
data-a11y-focus="true"
|
|
93
93
|
data-id="undefined_downIcon"
|
|
94
94
|
data-selector-id="container"
|
|
@@ -110,7 +110,7 @@ exports[`ArrowIcon Should be render with customClass 1`] = `
|
|
|
110
110
|
<DocumentFragment>
|
|
111
111
|
<div
|
|
112
112
|
aria-hidden="true"
|
|
113
|
-
class="arrowIcon arrowIcon_containerClass
|
|
113
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon arrowIcon_containerClass"
|
|
114
114
|
data-id="undefined_downIcon"
|
|
115
115
|
data-selector-id="container"
|
|
116
116
|
data-test-id="undefined_downIcon"
|
|
@@ -131,7 +131,7 @@ exports[`ArrowIcon Should be render with customProps 1`] = `
|
|
|
131
131
|
<DocumentFragment>
|
|
132
132
|
<div
|
|
133
133
|
aria-hidden="true"
|
|
134
|
-
class="
|
|
134
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon"
|
|
135
135
|
data-id="undefined_downIcon"
|
|
136
136
|
data-selector-id="container"
|
|
137
137
|
data-test-id="hereIsTestId"
|
|
@@ -152,7 +152,7 @@ exports[`ArrowIcon Should be render with dataId 1`] = `
|
|
|
152
152
|
<DocumentFragment>
|
|
153
153
|
<div
|
|
154
154
|
aria-hidden="true"
|
|
155
|
-
class="
|
|
155
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon"
|
|
156
156
|
data-id="ArrowIcon-test-dataId_downIcon"
|
|
157
157
|
data-selector-id="container"
|
|
158
158
|
data-test-id="ArrowIcon-test-dataId_downIcon"
|
|
@@ -181,7 +181,7 @@ exports[`ArrowIcon Should be render with tagAttributes 1`] = `
|
|
|
181
181
|
<DocumentFragment>
|
|
182
182
|
<div
|
|
183
183
|
aria-hidden="true"
|
|
184
|
-
class="
|
|
184
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon"
|
|
185
185
|
data-id="undefined_downIcon"
|
|
186
186
|
data-selector-id="container"
|
|
187
187
|
data-test-id="undefined_downIcon"
|
|
@@ -203,7 +203,7 @@ exports[`ArrowIcon rendering the defult props 1`] = `
|
|
|
203
203
|
<DocumentFragment>
|
|
204
204
|
<div
|
|
205
205
|
aria-hidden="true"
|
|
206
|
-
class="
|
|
206
|
+
class="inlineFlex column alignItems_center justifyContent_center arrowIcon"
|
|
207
207
|
data-id="undefined_downIcon"
|
|
208
208
|
data-selector-id="container"
|
|
209
209
|
data-test-id="undefined_downIcon"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`InputFieldLine Should be render hasEffect is false 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
5
|
<div
|
|
6
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
6
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
7
7
|
data-selector-id="container"
|
|
8
8
|
data-title=""
|
|
9
9
|
/>
|
|
@@ -13,7 +13,7 @@ exports[`InputFieldLine Should be render hasEffect is false 1`] = `
|
|
|
13
13
|
exports[`InputFieldLine Should be render hasPadding is true 1`] = `
|
|
14
14
|
<DocumentFragment>
|
|
15
15
|
<div
|
|
16
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
16
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
17
17
|
data-selector-id="container"
|
|
18
18
|
data-title=""
|
|
19
19
|
/>
|
|
@@ -23,7 +23,7 @@ exports[`InputFieldLine Should be render hasPadding is true 1`] = `
|
|
|
23
23
|
exports[`InputFieldLine Should be render isActive is true 1`] = `
|
|
24
24
|
<DocumentFragment>
|
|
25
25
|
<div
|
|
26
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder active
|
|
26
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder active"
|
|
27
27
|
data-selector-id="container"
|
|
28
28
|
data-title=""
|
|
29
29
|
/>
|
|
@@ -33,7 +33,7 @@ exports[`InputFieldLine Should be render isActive is true 1`] = `
|
|
|
33
33
|
exports[`InputFieldLine Should be render isDisabled is true 1`] = `
|
|
34
34
|
<DocumentFragment>
|
|
35
35
|
<div
|
|
36
|
-
class="varClass customContainer border_bottom disabled borderColor_default hasBorder
|
|
36
|
+
class="flex row varClass customContainer border_bottom disabled borderColor_default hasBorder"
|
|
37
37
|
data-selector-id="container"
|
|
38
38
|
data-title=""
|
|
39
39
|
/>
|
|
@@ -43,7 +43,7 @@ exports[`InputFieldLine Should be render isDisabled is true 1`] = `
|
|
|
43
43
|
exports[`InputFieldLine Should be render isReadOnly is true 1`] = `
|
|
44
44
|
<DocumentFragment>
|
|
45
45
|
<div
|
|
46
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
46
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
47
47
|
data-selector-id="container"
|
|
48
48
|
data-title=""
|
|
49
49
|
/>
|
|
@@ -53,7 +53,7 @@ exports[`InputFieldLine Should be render isReadOnly is true 1`] = `
|
|
|
53
53
|
exports[`InputFieldLine Should be render with title 1`] = `
|
|
54
54
|
<DocumentFragment>
|
|
55
55
|
<div
|
|
56
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
56
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
57
57
|
data-selector-id="container"
|
|
58
58
|
data-title="InputFieldLine Test Title"
|
|
59
59
|
/>
|
|
@@ -63,7 +63,7 @@ exports[`InputFieldLine Should be render with title 1`] = `
|
|
|
63
63
|
exports[`InputFieldLine Should render border - all 1`] = `
|
|
64
64
|
<DocumentFragment>
|
|
65
65
|
<div
|
|
66
|
-
class="varClass customContainer border_all effect borderColor_default hasBorder
|
|
66
|
+
class="flex row varClass customContainer border_all effect borderColor_default hasBorder"
|
|
67
67
|
data-selector-id="container"
|
|
68
68
|
data-title=""
|
|
69
69
|
/>
|
|
@@ -73,7 +73,7 @@ exports[`InputFieldLine Should render border - all 1`] = `
|
|
|
73
73
|
exports[`InputFieldLine Should render border - bottom 1`] = `
|
|
74
74
|
<DocumentFragment>
|
|
75
75
|
<div
|
|
76
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
76
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
77
77
|
data-selector-id="container"
|
|
78
78
|
data-title=""
|
|
79
79
|
/>
|
|
@@ -83,7 +83,7 @@ exports[`InputFieldLine Should render border - bottom 1`] = `
|
|
|
83
83
|
exports[`InputFieldLine Should render border - none 1`] = `
|
|
84
84
|
<DocumentFragment>
|
|
85
85
|
<div
|
|
86
|
-
class="varClass customContainer effect
|
|
86
|
+
class="flex row varClass customContainer effect"
|
|
87
87
|
data-selector-id="container"
|
|
88
88
|
data-title=""
|
|
89
89
|
/>
|
|
@@ -93,7 +93,7 @@ exports[`InputFieldLine Should render border - none 1`] = `
|
|
|
93
93
|
exports[`InputFieldLine Should render borderColor - dark 1`] = `
|
|
94
94
|
<DocumentFragment>
|
|
95
95
|
<div
|
|
96
|
-
class="varClass customContainer border_bottom effect borderColor_dark hasBorder
|
|
96
|
+
class="flex row varClass customContainer border_bottom effect borderColor_dark hasBorder"
|
|
97
97
|
data-selector-id="container"
|
|
98
98
|
data-title=""
|
|
99
99
|
/>
|
|
@@ -103,7 +103,7 @@ exports[`InputFieldLine Should render borderColor - dark 1`] = `
|
|
|
103
103
|
exports[`InputFieldLine Should render borderColor - default 1`] = `
|
|
104
104
|
<DocumentFragment>
|
|
105
105
|
<div
|
|
106
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
106
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
107
107
|
data-selector-id="container"
|
|
108
108
|
data-title=""
|
|
109
109
|
/>
|
|
@@ -113,7 +113,7 @@ exports[`InputFieldLine Should render borderColor - default 1`] = `
|
|
|
113
113
|
exports[`InputFieldLine Should render borderColor - error 1`] = `
|
|
114
114
|
<DocumentFragment>
|
|
115
115
|
<div
|
|
116
|
-
class="varClass customContainer border_bottom effect borderColor_error hasBorder
|
|
116
|
+
class="flex row varClass customContainer border_bottom effect borderColor_error hasBorder"
|
|
117
117
|
data-selector-id="container"
|
|
118
118
|
data-title=""
|
|
119
119
|
/>
|
|
@@ -123,7 +123,7 @@ exports[`InputFieldLine Should render borderColor - error 1`] = `
|
|
|
123
123
|
exports[`InputFieldLine Should render borderColor - transparent 1`] = `
|
|
124
124
|
<DocumentFragment>
|
|
125
125
|
<div
|
|
126
|
-
class="varClass customContainer border_bottom effect borderColor_transparent hasBorder
|
|
126
|
+
class="flex row varClass customContainer border_bottom effect borderColor_transparent hasBorder"
|
|
127
127
|
data-selector-id="container"
|
|
128
128
|
data-title=""
|
|
129
129
|
/>
|
|
@@ -133,7 +133,7 @@ exports[`InputFieldLine Should render borderColor - transparent 1`] = `
|
|
|
133
133
|
exports[`InputFieldLine Should render customClass 1`] = `
|
|
134
134
|
<DocumentFragment>
|
|
135
135
|
<div
|
|
136
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder inputFieldLine-custom-class
|
|
136
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder inputFieldLine-custom-class"
|
|
137
137
|
data-selector-id="container"
|
|
138
138
|
data-title=""
|
|
139
139
|
/>
|
|
@@ -143,7 +143,7 @@ exports[`InputFieldLine Should render customClass 1`] = `
|
|
|
143
143
|
exports[`InputFieldLine Should render customProps 1`] = `
|
|
144
144
|
<DocumentFragment>
|
|
145
145
|
<div
|
|
146
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
146
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
147
147
|
data-selector-id="container"
|
|
148
148
|
data-test="inputFieldLine-test"
|
|
149
149
|
data-title=""
|
|
@@ -154,7 +154,7 @@ exports[`InputFieldLine Should render customProps 1`] = `
|
|
|
154
154
|
exports[`InputFieldLine Should render dataId 1`] = `
|
|
155
155
|
<DocumentFragment>
|
|
156
156
|
<div
|
|
157
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
157
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
158
158
|
data-id="inputFieldLine-test-id"
|
|
159
159
|
data-selector-id="container"
|
|
160
160
|
data-test-id="inputFieldLine-test-id"
|
|
@@ -166,7 +166,7 @@ exports[`InputFieldLine Should render dataId 1`] = `
|
|
|
166
166
|
exports[`InputFieldLine Should render size - medium 1`] = `
|
|
167
167
|
<DocumentFragment>
|
|
168
168
|
<div
|
|
169
|
-
class="varClass customContainer medium padding_medium border_bottom effect borderColor_default hasBorder
|
|
169
|
+
class="flex row scroll_vertical varClass customContainer medium padding_medium border_bottom effect borderColor_default hasBorder"
|
|
170
170
|
data-selector-id="container"
|
|
171
171
|
data-title=""
|
|
172
172
|
/>
|
|
@@ -176,7 +176,7 @@ exports[`InputFieldLine Should render size - medium 1`] = `
|
|
|
176
176
|
exports[`InputFieldLine Should render size - xmedium 1`] = `
|
|
177
177
|
<DocumentFragment>
|
|
178
178
|
<div
|
|
179
|
-
class="varClass customContainer xmedium padding_xmedium border_bottom effect borderColor_default hasBorder
|
|
179
|
+
class="flex row scroll_vertical varClass customContainer xmedium padding_xmedium border_bottom effect borderColor_default hasBorder"
|
|
180
180
|
data-selector-id="container"
|
|
181
181
|
data-title=""
|
|
182
182
|
/>
|
|
@@ -186,7 +186,7 @@ exports[`InputFieldLine Should render size - xmedium 1`] = `
|
|
|
186
186
|
exports[`InputFieldLine rendering the defult props 1`] = `
|
|
187
187
|
<DocumentFragment>
|
|
188
188
|
<div
|
|
189
|
-
class="varClass customContainer border_bottom effect borderColor_default hasBorder
|
|
189
|
+
class="flex row varClass customContainer border_bottom effect borderColor_default hasBorder"
|
|
190
190
|
data-selector-id="container"
|
|
191
191
|
data-title=""
|
|
192
192
|
/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.21",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"private": false,
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
83
83
|
"@zohodesk/dotkit": "1.0.10",
|
|
84
84
|
"@zohodesk/hooks": "2.0.8",
|
|
85
|
-
"@zohodesk/icons": "1.3.
|
|
86
|
-
"@zohodesk/layout": "3.2.
|
|
85
|
+
"@zohodesk/icons": "1.3.9",
|
|
86
|
+
"@zohodesk/layout": "3.2.1",
|
|
87
87
|
"@zohodesk/svg": "1.3.8",
|
|
88
88
|
"@zohodesk/utils": "1.3.16",
|
|
89
89
|
"@zohodesk/variables": "1.3.2",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"selectn": "1.1.2"
|
|
104
104
|
},
|
|
105
105
|
"peerDependencies": {
|
|
106
|
-
"@zohodesk/icons": "1.3.
|
|
106
|
+
"@zohodesk/icons": "1.3.9",
|
|
107
107
|
"@zohodesk/variables": "1.3.2",
|
|
108
108
|
"@zohodesk/svg": "1.3.8",
|
|
109
109
|
"@zohodesk/virtualizer": "1.0.13",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@zohodesk/hooks": "2.0.8",
|
|
113
113
|
"@zohodesk/utils": "1.3.16",
|
|
114
114
|
"@zohodesk/a11y": "2.3.9",
|
|
115
|
-
"@zohodesk/layout": "3.2.
|
|
115
|
+
"@zohodesk/layout": "3.2.1",
|
|
116
116
|
"@zohodesk/dotkit": "1.0.10",
|
|
117
117
|
"color": "4.2.3",
|
|
118
118
|
"@dot-system/css-utility": "0.1.1"
|
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
.flex {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
|
-
display: flex;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.inflex {
|
|
8
|
-
display: inline-flex;
|
|
9
|
-
display: -webkit-inline-flex;
|
|
10
|
-
display: -ms-inline-flexbox;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.cover {
|
|
14
|
-
width: 100% ;
|
|
15
|
-
height: 100% ;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* .flex {
|
|
19
|
-
-webkit-box-flex: 0;
|
|
20
|
-
-ms-flex: 0 1 auto;
|
|
21
|
-
flex: 0 1 auto;
|
|
22
|
-
} */
|
|
23
|
-
|
|
24
|
-
.wrap {
|
|
25
|
-
-ms-flex-wrap: wrap;
|
|
26
|
-
flex-wrap: wrap;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.wrapReverse {
|
|
30
|
-
-ms-flex-wrap: wrap-reverse;
|
|
31
|
-
flex-wrap: wrap-reverse;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.coldir {
|
|
35
|
-
-webkit-box-orient: vertical;
|
|
36
|
-
-webkit-box-direction: normal;
|
|
37
|
-
-webkit-flex-direction: column;
|
|
38
|
-
-ms-flex-direction: column;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.rowdir {
|
|
43
|
-
-webkit-box-orient: horizontal;
|
|
44
|
-
-webkit-box-direction: normal;
|
|
45
|
-
-webkit-flex-direction: row;
|
|
46
|
-
-ms-flex-direction: row;
|
|
47
|
-
flex-direction: row;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.rowReverse {
|
|
51
|
-
-webkit-box-orient: horizontal;
|
|
52
|
-
-webkit-box-direction: reverse;
|
|
53
|
-
-webkit-flex-direction: row-reverse;
|
|
54
|
-
-ms-flex-direction: row-reverse;
|
|
55
|
-
flex-direction: row-reverse;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.colReverse {
|
|
59
|
-
-webkit-box-orient: vertical;
|
|
60
|
-
-webkit-box-direction: reverse;
|
|
61
|
-
-webkit-flex-direction: column-reverse;
|
|
62
|
-
-ms-flex-direction: column-reverse;
|
|
63
|
-
flex-direction: column-reverse;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.grow {
|
|
67
|
-
-webkit-box-flex: 1;
|
|
68
|
-
-ms-flex-positive: 1;
|
|
69
|
-
flex-grow: 1;
|
|
70
|
-
min-height: 0 ;
|
|
71
|
-
min-width: 0 ;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.shrinkOff {
|
|
75
|
-
flex-shrink: 0;
|
|
76
|
-
-moz-flex-shrink: 0;
|
|
77
|
-
-webkit-flex-shrink: 0;
|
|
78
|
-
-ms-flex-shrink: 0;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.shrinkOn {
|
|
82
|
-
flex-shrink: 1;
|
|
83
|
-
-moz-flex-shrink: 1;
|
|
84
|
-
-webkit-flex-shrink: 1;
|
|
85
|
-
-ms-flex-shrink: 1;
|
|
86
|
-
min-width: 0 ;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.basis {
|
|
90
|
-
flex-basis: 0% ;
|
|
91
|
-
-webkit-flex-basis: 0%;
|
|
92
|
-
-moz-flex-basis: 0%;
|
|
93
|
-
-ms-flex-basis: 0%;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.basisAuto {
|
|
97
|
-
flex-basis: auto ;
|
|
98
|
-
-webkit-flex-basis: auto;
|
|
99
|
-
-moz-flex-basis: auto;
|
|
100
|
-
-ms-flex-basis: auto;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.scrolly {
|
|
104
|
-
overflow-y: auto;
|
|
105
|
-
overflow-x: hidden;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.scrollx {
|
|
109
|
-
overflow-x: auto;
|
|
110
|
-
overflow-y: hidden;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.scrollnone {
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.scrollboth {
|
|
118
|
-
overflow: auto;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.preventScrollBubbleX {
|
|
122
|
-
overscroll-behavior-x: contain;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.preventScrollBubbleY {
|
|
126
|
-
overscroll-behavior-y: contain;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.preventScrollBubbleBoth {
|
|
130
|
-
overscroll-behavior: contain;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/*Column Specification*/
|
|
134
|
-
|
|
135
|
-
.col-1 {
|
|
136
|
-
-ms-flex-preferred-size: 8.33333333%;
|
|
137
|
-
flex-basis: 8.33333333%;
|
|
138
|
-
max-width: 8.33333333%;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.col-2 {
|
|
142
|
-
-ms-flex-preferred-size: 16.66666667%;
|
|
143
|
-
flex-basis: 16.66666667%;
|
|
144
|
-
max-width: 16.66666667%;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.col-3 {
|
|
148
|
-
-ms-flex-preferred-size: 25%;
|
|
149
|
-
flex-basis: 25% ;
|
|
150
|
-
max-width: 25% ;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.col-4 {
|
|
154
|
-
-ms-flex-preferred-size: 33.33333333%;
|
|
155
|
-
flex-basis: 33.33333333%;
|
|
156
|
-
max-width: 33.33333333%;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.col-5 {
|
|
160
|
-
-ms-flex-preferred-size: 41.66666667%;
|
|
161
|
-
flex-basis: 41.66666667%;
|
|
162
|
-
max-width: 41.66666667%;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.col-6 {
|
|
166
|
-
-ms-flex-preferred-size: 50%;
|
|
167
|
-
flex-basis: 50% ;
|
|
168
|
-
max-width: 50% ;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.col-7 {
|
|
172
|
-
-ms-flex-preferred-size: 58.33333333%;
|
|
173
|
-
flex-basis: 58.33333333%;
|
|
174
|
-
max-width: 58.33333333%;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.col-8 {
|
|
178
|
-
-ms-flex-preferred-size: 66.66666667%;
|
|
179
|
-
flex-basis: 66.66666667%;
|
|
180
|
-
max-width: 66.66666667%;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.col-9 {
|
|
184
|
-
-ms-flex-preferred-size: 75%;
|
|
185
|
-
flex-basis: 75% ;
|
|
186
|
-
max-width: 75% ;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.col-10 {
|
|
190
|
-
-ms-flex-preferred-size: 83.33333333%;
|
|
191
|
-
flex-basis: 83.33333333%;
|
|
192
|
-
max-width: 83.33333333%;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.col-11 {
|
|
196
|
-
-ms-flex-preferred-size: 91.66666667%;
|
|
197
|
-
flex-basis: 91.66666667%;
|
|
198
|
-
max-width: 91.66666667%;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.col-12 {
|
|
202
|
-
-ms-flex-preferred-size: 100%;
|
|
203
|
-
flex-basis: 100% ;
|
|
204
|
-
max-width: 100% ;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.hCenter {
|
|
208
|
-
-webkit-box-pack: center;
|
|
209
|
-
-ms-flex-pack: center;
|
|
210
|
-
justify-content: center;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.vCenter {
|
|
214
|
-
-webkit-box-align: center;
|
|
215
|
-
-ms-flex-align: center;
|
|
216
|
-
align-items: center;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.both {
|
|
220
|
-
composes: vCenter;
|
|
221
|
-
composes: hCenter;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
.top {
|
|
225
|
-
-webkit-box-align: start;
|
|
226
|
-
-ms-flex-align: start;
|
|
227
|
-
align-items: flex-start;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.bottom {
|
|
231
|
-
-webkit-box-align: end;
|
|
232
|
-
-ms-flex-align: end;
|
|
233
|
-
align-items: flex-end;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.left {
|
|
237
|
-
-webkit-box-pack: start;
|
|
238
|
-
-ms-flex-pack: start;
|
|
239
|
-
justify-content: flex-start;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.right {
|
|
243
|
-
-webkit-box-pack: end;
|
|
244
|
-
-ms-flex-pack: end;
|
|
245
|
-
justify-content: flex-end;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.around {
|
|
249
|
-
-ms-flex-pack: distribute;
|
|
250
|
-
justify-content: space-around;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.between {
|
|
254
|
-
-webkit-box-pack: justify;
|
|
255
|
-
-ms-flex-pack: justify;
|
|
256
|
-
justify-content: space-between;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.baseline {
|
|
260
|
-
-webkit-box-align: baseline;
|
|
261
|
-
-ms-flex-align: baseline;
|
|
262
|
-
align-items: baseline;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.alignStart {
|
|
266
|
-
align-content: flex-start;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.alignEnd {
|
|
270
|
-
align-content: flex-end;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
.alignCenter {
|
|
274
|
-
align-content: center;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.alignAround {
|
|
278
|
-
align-content: space-around;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.alignBetween {
|
|
282
|
-
align-content: space-between;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.first {
|
|
286
|
-
-ms-flex-order: -1;
|
|
287
|
-
order: -1;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.last {
|
|
291
|
-
-ms-flex-order: 1;
|
|
292
|
-
order: 1;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.selfStart {
|
|
296
|
-
align-self: flex-start;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.selfEnd {
|
|
300
|
-
align-self: flex-end;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
.selfCenter {
|
|
304
|
-
align-self: center;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/*Hidden Responsive*/
|
|
308
|
-
@media only screen and (max-width: 30em) {
|
|
309
|
-
.hidden-screen-xs {
|
|
310
|
-
display: none;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
@media only screen and (min-width: 30.063em) and (max-width: 48em) {
|
|
315
|
-
.hidden-screen-sm {
|
|
316
|
-
display: none;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
@media only screen and (min-width: 48.063em) and (max-width: 61.25em) {
|
|
321
|
-
.hidden-screen-md {
|
|
322
|
-
display: none;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
@media only screen and (min-width: 61.313em) and (max-width: 75em) {
|
|
327
|
-
.hidden-screen-lg {
|
|
328
|
-
display: none;
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
@media only screen and (min-width: 75.063em) {
|
|
333
|
-
.hidden-screen-xl {
|
|
334
|
-
display: none;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { render } from '@testing-library/react';
|
|
3
|
-
import Box from "../Box";
|
|
4
|
-
describe('Box', () => {
|
|
5
|
-
test('rendering the defult props', () => {
|
|
6
|
-
const {
|
|
7
|
-
asFragment
|
|
8
|
-
} = render( /*#__PURE__*/React.createElement(Box, null, /*#__PURE__*/React.createElement("div", null, "Test")));
|
|
9
|
-
expect(asFragment()).toMatchSnapshot();
|
|
10
|
-
});
|
|
11
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { render } from '@testing-library/react';
|
|
3
|
-
import Container from "../Container";
|
|
4
|
-
describe('Container', () => {
|
|
5
|
-
test('rendering the defult props', () => {
|
|
6
|
-
const {
|
|
7
|
-
asFragment
|
|
8
|
-
} = render( /*#__PURE__*/React.createElement(Container, null, /*#__PURE__*/React.createElement("div", null, "Test")));
|
|
9
|
-
expect(asFragment()).toMatchSnapshot();
|
|
10
|
-
});
|
|
11
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Box rendering the defult props 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
class="shrinkOff"
|
|
7
|
-
data-id="boxComponent"
|
|
8
|
-
data-selector-id="box"
|
|
9
|
-
data-test-id="boxComponent"
|
|
10
|
-
>
|
|
11
|
-
<div>
|
|
12
|
-
Test
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</DocumentFragment>
|
|
16
|
-
`;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`Container rendering the defult props 1`] = `
|
|
4
|
-
<DocumentFragment>
|
|
5
|
-
<div
|
|
6
|
-
class="flex cover coldir"
|
|
7
|
-
data-id="containerComponent"
|
|
8
|
-
data-selector-id="container"
|
|
9
|
-
data-test-id="containerComponent"
|
|
10
|
-
>
|
|
11
|
-
<div>
|
|
12
|
-
Test
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
</DocumentFragment>
|
|
16
|
-
`;
|