@zohodesk/components 1.1.0 → 1.1.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.
Files changed (114) hide show
  1. package/README.md +5 -1
  2. package/assets/Appearance/dark/themes/blue/blue_ComponentTheme_DarkTheme.module.css +24 -24
  3. package/assets/Appearance/dark/themes/green/green_ComponentTheme_DarkTheme.module.css +24 -24
  4. package/assets/Appearance/dark/themes/orange/orange_ComponentTheme_DarkTheme.module.css +24 -24
  5. package/assets/Appearance/dark/themes/red/red_ComponentTheme_DarkTheme.module.css +24 -24
  6. package/assets/Appearance/dark/themes/yellow/yellow_ComponentTheme_DarkTheme.module.css +24 -24
  7. package/assets/Appearance/light/themes/blue/blue_ComponentTheme_LightTheme.module.css +24 -24
  8. package/assets/Appearance/light/themes/green/green_ComponentTheme_LightTheme.module.css +24 -24
  9. package/assets/Appearance/light/themes/orange/orange_ComponentTheme_LightTheme.module.css +24 -24
  10. package/assets/Appearance/light/themes/red/red_ComponentTheme_LightTheme.module.css +24 -24
  11. package/assets/Appearance/light/themes/yellow/yellow_ComponentTheme_LightTheme.module.css +24 -24
  12. package/assets/Appearance/pureDark/themes/blue/blue_ComponentTheme_PureDarkTheme.module.css +24 -24
  13. package/assets/Appearance/pureDark/themes/green/green_ComponentTheme_PureDarkTheme.module.css +24 -24
  14. package/assets/Appearance/pureDark/themes/orange/orange_ComponentTheme_PureDarkTheme.module.css +24 -24
  15. package/assets/Appearance/pureDark/themes/red/red_ComponentTheme_PureDarkTheme.module.css +24 -24
  16. package/assets/Appearance/pureDark/themes/yellow/yellow_ComponentTheme_PureDarkTheme.module.css +24 -24
  17. package/es/Button/__tests__/Button.spec.js +61 -0
  18. package/es/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -0
  19. package/lib/Button/__tests__/Button.spec.js +62 -0
  20. package/lib/Button/__tests__/__snapshots__/Button.spec.js.snap +440 -0
  21. package/package.json +12 -7
  22. package/result.json +1 -0
  23. package/es/Accordion/__tests__/Accordion.spec.js +0 -79
  24. package/es/Animation/__tests__/Animation.spec.js +0 -17
  25. package/es/Avatar/__tests__/Avatar.spec.js +0 -161
  26. package/es/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
  27. package/es/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -76
  28. package/es/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
  29. package/es/Buttongroup/__test__/Buttongroup.spec.js +0 -73
  30. package/es/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
  31. package/es/Card/__tests__/Card.spec.js +0 -36
  32. package/es/CheckBox/__tests__/CheckBox.spec.js +0 -12
  33. package/es/DateTime/__tests__/CalendarView.spec.js +0 -33
  34. package/es/DateTime/__tests__/DateTime.spec.js +0 -115
  35. package/es/DateTime/__tests__/DateWidget.spec.js +0 -75
  36. package/es/DropBox/__tests__/DropBox.spec.js +0 -81
  37. package/es/DropDown/__tests__/DropDown.spec.js +0 -44
  38. package/es/DropDown/__tests__/DropDownItem.spec.js +0 -45
  39. package/es/DropDown/__tests__/DropDownSearch.spec.js +0 -11
  40. package/es/Label/__tests__/Label.spec.js +0 -120
  41. package/es/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
  42. package/es/Layout/__tests__/Box.spec.js +0 -114
  43. package/es/Layout/__tests__/Container.spec.js +0 -120
  44. package/es/MultiSelect/__tests__/MultiSelect.spec.js +0 -160
  45. package/es/PopOver/__tests__/PopOver.spec.js +0 -14
  46. package/es/Popup/__tests__/Popup.spec.js +0 -134
  47. package/es/Radio/__tests__/Radiospec.js +0 -23
  48. package/es/Ribbon/__tests__/Ribbon.spec.js +0 -168
  49. package/es/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
  50. package/es/Select/__tests__/Select.spec.js +0 -345
  51. package/es/Stencils/__tests__/Stencils.spec.js +0 -69
  52. package/es/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
  53. package/es/Tab/__tests__/Tab.spec.js +0 -117
  54. package/es/Tab/__tests__/TabContent.spec.js +0 -16
  55. package/es/Tab/__tests__/TabContentWrapper.spec.js +0 -50
  56. package/es/Tab/__tests__/TabWrapper.spec.js +0 -86
  57. package/es/Tab/__tests__/Tabs.spec.js +0 -115
  58. package/es/Tag/__tests__/Tag.spec.js +0 -28
  59. package/es/TextBox/__tests__/TextBox.spec.js +0 -189
  60. package/es/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
  61. package/es/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -212
  62. package/es/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
  63. package/es/Textarea/__tests__/Textarea.spec.js +0 -171
  64. package/es/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
  65. package/es/Tooltip/__tests__/Tooltip.spec.js +0 -52
  66. package/es/utils/__tests__/constructFullName.spec.js +0 -9
  67. package/es/utils/__tests__/debounce.spec.js +0 -37
  68. package/es/utils/__tests__/getInitial.spec.js +0 -23
  69. package/lib/Accordion/__tests__/Accordion.spec.js +0 -85
  70. package/lib/Animation/__tests__/Animation.spec.js +0 -23
  71. package/lib/Avatar/__tests__/Avatar.spec.js +0 -208
  72. package/lib/Avatar/__tests__/__snapshots__/Avatar.spec.js.snap +0 -288
  73. package/lib/AvatarTeam/__tests__/AvatarTeam.spec.js +0 -92
  74. package/lib/AvatarTeam/__tests__/__snapshots__/AvatarTeam.spec.js.snap +0 -226
  75. package/lib/Buttongroup/__test__/Buttongroup.spec.js +0 -86
  76. package/lib/Buttongroup/__test__/__snapshots__/Buttongroup.spec.js.snap +0 -146
  77. package/lib/Card/__tests__/Card.spec.js +0 -56
  78. package/lib/CheckBox/__tests__/CheckBox.spec.js +0 -18
  79. package/lib/DateTime/__tests__/CalendarView.spec.js +0 -45
  80. package/lib/DateTime/__tests__/DateTime.spec.js +0 -127
  81. package/lib/DateTime/__tests__/DateWidget.spec.js +0 -81
  82. package/lib/DropBox/__tests__/DropBox.spec.js +0 -87
  83. package/lib/DropDown/__tests__/DropDown.spec.js +0 -50
  84. package/lib/DropDown/__tests__/DropDownItem.spec.js +0 -51
  85. package/lib/DropDown/__tests__/DropDownSearch.spec.js +0 -17
  86. package/lib/Label/__tests__/Label.spec.js +0 -137
  87. package/lib/Label/__tests__/__snapshots__/Label.spec.js.snap +0 -101
  88. package/lib/Layout/__tests__/Box.spec.js +0 -121
  89. package/lib/Layout/__tests__/Container.spec.js +0 -127
  90. package/lib/MultiSelect/__tests__/MultiSelect.spec.js +0 -170
  91. package/lib/PopOver/__tests__/PopOver.spec.js +0 -20
  92. package/lib/Popup/__tests__/Popup.spec.js +0 -192
  93. package/lib/Radio/__tests__/Radiospec.js +0 -29
  94. package/lib/Ribbon/__tests__/Ribbon.spec.js +0 -193
  95. package/lib/Ribbon/__tests__/__snapshots__/Ribbon.spec.js.snap +0 -163
  96. package/lib/Select/__tests__/Select.spec.js +0 -383
  97. package/lib/Stencils/__tests__/Stencils.spec.js +0 -84
  98. package/lib/Stencils/__tests__/__snapshots__/Stencils.spec.js.snap +0 -49
  99. package/lib/Tab/__tests__/Tab.spec.js +0 -123
  100. package/lib/Tab/__tests__/TabContent.spec.js +0 -22
  101. package/lib/Tab/__tests__/TabContentWrapper.spec.js +0 -59
  102. package/lib/Tab/__tests__/TabWrapper.spec.js +0 -100
  103. package/lib/Tab/__tests__/Tabs.spec.js +0 -123
  104. package/lib/Tag/__tests__/Tag.spec.js +0 -35
  105. package/lib/TextBox/__tests__/TextBox.spec.js +0 -205
  106. package/lib/TextBox/__tests__/__snapshots__/TextBox.spec.js.snap +0 -127
  107. package/lib/TextBoxIcon/__tests__/TextBoxIcon.spec.js +0 -228
  108. package/lib/TextBoxIcon/__tests__/__snapshots__/TextBoxIcon.spec.js.snap +0 -334
  109. package/lib/Textarea/__tests__/Textarea.spec.js +0 -186
  110. package/lib/Textarea/__tests__/__snapshots__/Textarea.spec.js.snap +0 -97
  111. package/lib/Tooltip/__tests__/Tooltip.spec.js +0 -98
  112. package/lib/utils/__tests__/constructFullName.spec.js +0 -12
  113. package/lib/utils/__tests__/debounce.spec.js +0 -40
  114. package/lib/utils/__tests__/getInitial.spec.js +0 -26
@@ -1,127 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`TextBox component should display size medium - primary 1`] = `
4
- <input
5
- className=" container medium primary border effect borderColor_default"
6
- data-id="textBox"
7
- maxLength="100"
8
- onBlur={[Function]}
9
- onChange={[Function]}
10
- onFocus={[Function]}
11
- placeholder="Text Area"
12
- type="text"
13
- value=""
14
- />
15
- `;
16
-
17
- exports[`TextBox component should display size medium - secondary 1`] = `
18
- <input
19
- className=" container medium secondary border effect borderColor_default"
20
- data-id="textBox"
21
- maxLength="100"
22
- onBlur={[Function]}
23
- onChange={[Function]}
24
- onFocus={[Function]}
25
- placeholder="Text Area"
26
- type="text"
27
- value=""
28
- />
29
- `;
30
-
31
- exports[`TextBox component should display size medium 1`] = `
32
- <input
33
- className=" container medium default border effect borderColor_default"
34
- data-id="textBox"
35
- maxLength="100"
36
- onBlur={[Function]}
37
- onChange={[Function]}
38
- onFocus={[Function]}
39
- placeholder="Text Area"
40
- type="text"
41
- value=""
42
- />
43
- `;
44
-
45
- exports[`TextBox component should display size small - primary 1`] = `
46
- <input
47
- className=" container small primary border effect borderColor_default"
48
- data-id="textBox"
49
- maxLength="100"
50
- onBlur={[Function]}
51
- onChange={[Function]}
52
- onFocus={[Function]}
53
- placeholder="Text Area"
54
- type="text"
55
- value=""
56
- />
57
- `;
58
-
59
- exports[`TextBox component should display size small - secondary 1`] = `
60
- <input
61
- className=" container small secondary border effect borderColor_default"
62
- data-id="textBox"
63
- maxLength="100"
64
- onBlur={[Function]}
65
- onChange={[Function]}
66
- onFocus={[Function]}
67
- placeholder="Text Area"
68
- type="text"
69
- value=""
70
- />
71
- `;
72
-
73
- exports[`TextBox component should display size small 1`] = `
74
- <input
75
- className=" container small default border effect borderColor_default"
76
- data-id="textBox"
77
- maxLength="100"
78
- onBlur={[Function]}
79
- onChange={[Function]}
80
- onFocus={[Function]}
81
- placeholder="Text Area"
82
- type="text"
83
- value=""
84
- />
85
- `;
86
-
87
- exports[`TextBox component should display size xmedium - primary 1`] = `
88
- <input
89
- className=" container xmedium primary border effect borderColor_default"
90
- data-id="textBox"
91
- maxLength="100"
92
- onBlur={[Function]}
93
- onChange={[Function]}
94
- onFocus={[Function]}
95
- placeholder="Text Area"
96
- type="text"
97
- value=""
98
- />
99
- `;
100
-
101
- exports[`TextBox component should display size xmedium - secondary 1`] = `
102
- <input
103
- className=" container xmedium secondary border effect borderColor_default"
104
- data-id="textBox"
105
- maxLength="100"
106
- onBlur={[Function]}
107
- onChange={[Function]}
108
- onFocus={[Function]}
109
- placeholder="Text Area"
110
- type="text"
111
- value=""
112
- />
113
- `;
114
-
115
- exports[`TextBox component should display size xmedium 1`] = `
116
- <input
117
- className=" container xmedium default border effect borderColor_default"
118
- data-id="textBox"
119
- maxLength="100"
120
- onBlur={[Function]}
121
- onChange={[Function]}
122
- onFocus={[Function]}
123
- placeholder="Text Area"
124
- type="text"
125
- value=""
126
- />
127
- `;
@@ -1,212 +0,0 @@
1
- import React from 'react';
2
- import TextBoxIcon from '../TextBoxIcon';
3
- import renderer from 'react-test-renderer'; // children: PropTypes.node,
4
- // disabled: PropTypes.bool,
5
- // iconRotated: PropTypes.bool,
6
- // id: PropTypes.string,
7
- // inputRef: PropTypes.func,
8
- // isClear: PropTypes.bool,
9
- // maxLength: PropTypes.string,
10
- // name: PropTypes.string,
11
- // needBorder: PropTypes.bool,
12
- // onBlur: PropTypes.func,
13
- // onChange: PropTypes.func,
14
- // onClear: PropTypes.func,
15
- // onClick: PropTypes.func,
16
- // onFocus: PropTypes.func,
17
- // onKeyDown: PropTypes.func,
18
- // onKeyUp: PropTypes.func,
19
- // placeHolder: PropTypes.string,
20
- // readOnly: PropTypes.bool,
21
- // size: PropTypes.oneOf(['small', 'medium', 'xmedium']),
22
- // title: PropTypes.func,
23
- // type: PropTypes.oneOf(['text', 'password', 'number']),
24
- // value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
25
- // variant: PropTypes.oneOf(['primary', 'secondary', 'default'])
26
-
27
- describe('TextBoxIcon component', () => {
28
- it('should display size small', () => {
29
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
30
- maxLength: "100",
31
- placeHolder: "Text Box Icon",
32
- size: "small",
33
- variant: "default"
34
- }));
35
- let tree = ele.toJSON();
36
- expect(tree).toMatchSnapshot();
37
- });
38
- it('should display size medium', () => {
39
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
40
- maxLength: "100",
41
- placeHolder: "Text Area",
42
- size: "medium",
43
- variant: "default"
44
- }));
45
- let tree = ele.toJSON();
46
- expect(tree).toMatchSnapshot();
47
- });
48
- it('should display size xmedium', () => {
49
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
50
- maxLength: "100",
51
- placeHolder: "Text Area",
52
- size: "xmedium",
53
- variant: "default"
54
- }));
55
- let tree = ele.toJSON();
56
- expect(tree).toMatchSnapshot();
57
- });
58
- it('should display size small - primary', () => {
59
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
60
- maxLength: "100",
61
- placeHolder: "Text Area",
62
- size: "small",
63
- variant: "primary"
64
- }));
65
- let tree = ele.toJSON();
66
- expect(tree).toMatchSnapshot();
67
- });
68
- it('should display size medium - primary', () => {
69
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
70
- maxLength: "100",
71
- placeHolder: "Text Area",
72
- size: "medium",
73
- variant: "primary"
74
- }));
75
- let tree = ele.toJSON();
76
- expect(tree).toMatchSnapshot();
77
- });
78
- it('should display size xmedium - primary', () => {
79
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
80
- maxLength: "100",
81
- placeHolder: "Text Area",
82
- size: "xmedium",
83
- variant: "primary"
84
- }));
85
- let tree = ele.toJSON();
86
- expect(tree).toMatchSnapshot();
87
- });
88
- it('should display size small - secondary', () => {
89
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
90
- maxLength: "100",
91
- placeHolder: "Text Area",
92
- size: "small",
93
- variant: "secondary"
94
- }));
95
- let tree = ele.toJSON();
96
- expect(tree).toMatchSnapshot();
97
- });
98
- it('should display size medium - secondary', () => {
99
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
100
- maxLength: "100",
101
- placeHolder: "Text Area",
102
- size: "medium",
103
- variant: "secondary"
104
- }));
105
- let tree = ele.toJSON();
106
- expect(tree).toMatchSnapshot();
107
- });
108
- it('should display size xmedium - secondary', () => {
109
- let ele = renderer.create( /*#__PURE__*/React.createElement(TextBoxIcon, {
110
- maxLength: "100",
111
- placeHolder: "Text Area",
112
- size: "xmedium",
113
- variant: "secondary"
114
- }));
115
- let tree = ele.toJSON();
116
- expect(tree).toMatchSnapshot();
117
- });
118
- it('should text propertly entered', () => {
119
- let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
120
- maxLength: "100",
121
- placeHolder: "Text Box",
122
- size: "medium",
123
- variant: "primary",
124
- value: "Text Box Working"
125
- }));
126
- expect(TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon').value.contains('Text Box Working')).toBe(true);
127
- });
128
- it('should placeHolder propertly entered', () => {
129
- let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
130
- maxLength: "100",
131
- placeHolder: "Text Box",
132
- size: "medium",
133
- variant: "primary",
134
- text: "Text Box Working"
135
- }));
136
- expect(TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon').getAttribute('placeholder')).toMatch(/Text Box/);
137
- }); // it('Check disabled works', () => {
138
- // let renderedDOM = TestUtils.renderIntoDocument(
139
- // <TextBoxIcon maxLength='100' placeHolder='Text Box' size='medium' variant='primary' value='Text Box Working' disabled />
140
- // );
141
- // let pass = false;
142
- // let classNames = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBox').classList;
143
- // Object.keys(classNames)
144
- // .map(className => {
145
- // if (classNames[className] == 'disabled') {
146
- // pass = true;
147
- // }
148
- // });
149
- // expect(
150
- // pass
151
- // ).toBe(true);
152
- // });
153
- // it('Check readOnly works', () => {
154
- // let renderedDOM = TestUtils.renderIntoDocument(
155
- // <TextBoxIcon maxLength='100' placeHolder='Text Box' size='medium' variant='primary' value='Text Box Working' readOnly />
156
- // );
157
- // let pass = false;
158
- // let classNames = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBox').classList;
159
- // Object.keys(classNames)
160
- // .map(className => {
161
- // if (classNames[className] == 'pointer') {
162
- // pass = true;
163
- // }
164
- // });
165
- // expect(
166
- // pass
167
- // ).toBe(true);
168
- // });
169
-
170
- it('Check onchange works', () => {
171
- let mockfn = jest.fn();
172
- let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
173
- maxLength: "100",
174
- placeHolder: "Text Box",
175
- size: "medium",
176
- variant: "primary",
177
- value: "Text Box Working",
178
- onChange: mockfn
179
- }));
180
- let onChangeEle = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon');
181
- TestUtils.Simulate.change(onChangeEle);
182
- expect(mockfn.mock.calls.length).toBe(1);
183
- });
184
- it('Check onBlur works', () => {
185
- let mockfn = jest.fn();
186
- let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
187
- maxLength: "100",
188
- placeHolder: "Text Box",
189
- size: "medium",
190
- variant: "primary",
191
- value: "Text Box Working",
192
- onBlur: mockfn
193
- }));
194
- let onBlurEle = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon');
195
- TestUtils.Simulate.blur(onBlurEle);
196
- expect(mockfn.mock.calls.length).toBe(1);
197
- });
198
- it('Check onFocus works', () => {
199
- let mockfn = jest.fn();
200
- let renderedDOM = TestUtils.renderIntoDocument( /*#__PURE__*/React.createElement(TextBoxIcon, {
201
- maxLength: "100",
202
- placeHolder: "Text Box",
203
- size: "medium",
204
- variant: "primary",
205
- value: "Text Box Working",
206
- onFocus: mockfn
207
- }));
208
- let onFocusEle = TestUtils.findRenderedComponentsWithTestid(renderedDOM, 'textBoxIcon');
209
- TestUtils.Simulate.focus(onFocusEle);
210
- expect(mockfn.mock.calls.length).toBe(1);
211
- });
212
- });
@@ -1,334 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`TextBoxIcon component should display size medium - primary 1`] = `
4
- <div
5
- className="container effect flex rowdir"
6
- data-id="containerComponent"
7
- data-title=""
8
- >
9
- <div
10
- className="grow basis shrinkOff"
11
- data-id="boxComponent"
12
- >
13
- <input
14
- className=" container medium primary effect borderColor_default"
15
- data-id="textBoxIcon"
16
- maxLength="100"
17
- onBlur={[Function]}
18
- onChange={[Function]}
19
- onFocus={[Function]}
20
- placeholder="Text Area"
21
- type="text"
22
- value=""
23
- />
24
- </div>
25
- <div
26
- className="iconContainer shrinkOff"
27
- data-id="boxComponent"
28
- >
29
- <div
30
- className="flex cover rowdir vCenter"
31
- data-id="containerComponent"
32
- />
33
- </div>
34
- <div
35
- className="line borderColor_default"
36
- />
37
- </div>
38
- `;
39
-
40
- exports[`TextBoxIcon component should display size medium - secondary 1`] = `
41
- <div
42
- className="container effect flex rowdir"
43
- data-id="containerComponent"
44
- data-title=""
45
- >
46
- <div
47
- className="grow basis shrinkOff"
48
- data-id="boxComponent"
49
- >
50
- <input
51
- className=" container medium secondary effect borderColor_default"
52
- data-id="textBoxIcon"
53
- maxLength="100"
54
- onBlur={[Function]}
55
- onChange={[Function]}
56
- onFocus={[Function]}
57
- placeholder="Text Area"
58
- type="text"
59
- value=""
60
- />
61
- </div>
62
- <div
63
- className="iconContainer shrinkOff"
64
- data-id="boxComponent"
65
- >
66
- <div
67
- className="flex cover rowdir vCenter"
68
- data-id="containerComponent"
69
- />
70
- </div>
71
- <div
72
- className="line borderColor_default"
73
- />
74
- </div>
75
- `;
76
-
77
- exports[`TextBoxIcon component should display size medium 1`] = `
78
- <div
79
- className="container effect flex rowdir"
80
- data-id="containerComponent"
81
- data-title=""
82
- >
83
- <div
84
- className="grow basis shrinkOff"
85
- data-id="boxComponent"
86
- >
87
- <input
88
- className=" container medium default effect borderColor_default"
89
- data-id="textBoxIcon"
90
- maxLength="100"
91
- onBlur={[Function]}
92
- onChange={[Function]}
93
- onFocus={[Function]}
94
- placeholder="Text Area"
95
- type="text"
96
- value=""
97
- />
98
- </div>
99
- <div
100
- className="iconContainer shrinkOff"
101
- data-id="boxComponent"
102
- >
103
- <div
104
- className="flex cover rowdir vCenter"
105
- data-id="containerComponent"
106
- />
107
- </div>
108
- <div
109
- className="line borderColor_default"
110
- />
111
- </div>
112
- `;
113
-
114
- exports[`TextBoxIcon component should display size small - primary 1`] = `
115
- <div
116
- className="container effect flex rowdir"
117
- data-id="containerComponent"
118
- data-title=""
119
- >
120
- <div
121
- className="grow basis shrinkOff"
122
- data-id="boxComponent"
123
- >
124
- <input
125
- className=" container small primary effect borderColor_default"
126
- data-id="textBoxIcon"
127
- maxLength="100"
128
- onBlur={[Function]}
129
- onChange={[Function]}
130
- onFocus={[Function]}
131
- placeholder="Text Area"
132
- type="text"
133
- value=""
134
- />
135
- </div>
136
- <div
137
- className="iconContainer shrinkOff"
138
- data-id="boxComponent"
139
- >
140
- <div
141
- className="flex cover rowdir vCenter"
142
- data-id="containerComponent"
143
- />
144
- </div>
145
- <div
146
- className="line borderColor_default"
147
- />
148
- </div>
149
- `;
150
-
151
- exports[`TextBoxIcon component should display size small - secondary 1`] = `
152
- <div
153
- className="container effect flex rowdir"
154
- data-id="containerComponent"
155
- data-title=""
156
- >
157
- <div
158
- className="grow basis shrinkOff"
159
- data-id="boxComponent"
160
- >
161
- <input
162
- className=" container small secondary effect borderColor_default"
163
- data-id="textBoxIcon"
164
- maxLength="100"
165
- onBlur={[Function]}
166
- onChange={[Function]}
167
- onFocus={[Function]}
168
- placeholder="Text Area"
169
- type="text"
170
- value=""
171
- />
172
- </div>
173
- <div
174
- className="iconContainer shrinkOff"
175
- data-id="boxComponent"
176
- >
177
- <div
178
- className="flex cover rowdir vCenter"
179
- data-id="containerComponent"
180
- />
181
- </div>
182
- <div
183
- className="line borderColor_default"
184
- />
185
- </div>
186
- `;
187
-
188
- exports[`TextBoxIcon component should display size small 1`] = `
189
- <div
190
- className="container effect flex rowdir"
191
- data-id="containerComponent"
192
- data-title=""
193
- >
194
- <div
195
- className="grow basis shrinkOff"
196
- data-id="boxComponent"
197
- >
198
- <input
199
- className=" container small default effect borderColor_default"
200
- data-id="textBoxIcon"
201
- maxLength="100"
202
- onBlur={[Function]}
203
- onChange={[Function]}
204
- onFocus={[Function]}
205
- placeholder="Text Box Icon"
206
- type="text"
207
- value=""
208
- />
209
- </div>
210
- <div
211
- className="iconContainer shrinkOff"
212
- data-id="boxComponent"
213
- >
214
- <div
215
- className="flex cover rowdir vCenter"
216
- data-id="containerComponent"
217
- />
218
- </div>
219
- <div
220
- className="line borderColor_default"
221
- />
222
- </div>
223
- `;
224
-
225
- exports[`TextBoxIcon component should display size xmedium - primary 1`] = `
226
- <div
227
- className="container effect flex rowdir"
228
- data-id="containerComponent"
229
- data-title=""
230
- >
231
- <div
232
- className="grow basis shrinkOff"
233
- data-id="boxComponent"
234
- >
235
- <input
236
- className=" container xmedium primary effect borderColor_default"
237
- data-id="textBoxIcon"
238
- maxLength="100"
239
- onBlur={[Function]}
240
- onChange={[Function]}
241
- onFocus={[Function]}
242
- placeholder="Text Area"
243
- type="text"
244
- value=""
245
- />
246
- </div>
247
- <div
248
- className="iconContainer shrinkOff"
249
- data-id="boxComponent"
250
- >
251
- <div
252
- className="flex cover rowdir vCenter"
253
- data-id="containerComponent"
254
- />
255
- </div>
256
- <div
257
- className="line borderColor_default"
258
- />
259
- </div>
260
- `;
261
-
262
- exports[`TextBoxIcon component should display size xmedium - secondary 1`] = `
263
- <div
264
- className="container effect flex rowdir"
265
- data-id="containerComponent"
266
- data-title=""
267
- >
268
- <div
269
- className="grow basis shrinkOff"
270
- data-id="boxComponent"
271
- >
272
- <input
273
- className=" container xmedium secondary effect borderColor_default"
274
- data-id="textBoxIcon"
275
- maxLength="100"
276
- onBlur={[Function]}
277
- onChange={[Function]}
278
- onFocus={[Function]}
279
- placeholder="Text Area"
280
- type="text"
281
- value=""
282
- />
283
- </div>
284
- <div
285
- className="iconContainer shrinkOff"
286
- data-id="boxComponent"
287
- >
288
- <div
289
- className="flex cover rowdir vCenter"
290
- data-id="containerComponent"
291
- />
292
- </div>
293
- <div
294
- className="line borderColor_default"
295
- />
296
- </div>
297
- `;
298
-
299
- exports[`TextBoxIcon component should display size xmedium 1`] = `
300
- <div
301
- className="container effect flex rowdir"
302
- data-id="containerComponent"
303
- data-title=""
304
- >
305
- <div
306
- className="grow basis shrinkOff"
307
- data-id="boxComponent"
308
- >
309
- <input
310
- className=" container xmedium default effect borderColor_default"
311
- data-id="textBoxIcon"
312
- maxLength="100"
313
- onBlur={[Function]}
314
- onChange={[Function]}
315
- onFocus={[Function]}
316
- placeholder="Text Area"
317
- type="text"
318
- value=""
319
- />
320
- </div>
321
- <div
322
- className="iconContainer shrinkOff"
323
- data-id="boxComponent"
324
- >
325
- <div
326
- className="flex cover rowdir vCenter"
327
- data-id="containerComponent"
328
- />
329
- </div>
330
- <div
331
- className="line borderColor_default"
332
- />
333
- </div>
334
- `;