@occmundial/occ-atomic 2.0.0 → 3.0.0-beta.2

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.
@@ -15,9 +15,9 @@ var _reactTextMask = _interopRequireDefault(require("react-text-mask"));
15
15
 
16
16
  var _Icon = _interopRequireDefault(require("../Icon"));
17
17
 
18
- var _colors = _interopRequireDefault(require("../subatomic/colors"));
18
+ var _Button = _interopRequireDefault(require("../Button"));
19
19
 
20
- var _iconSizes = _interopRequireDefault(require("../subatomic/iconSizes"));
20
+ var _colors = _interopRequireDefault(require("../tokens/colors.json"));
21
21
 
22
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
23
 
@@ -222,12 +222,9 @@ var TextField = /*#__PURE__*/function (_React$Component) {
222
222
  type = _this$props7.type,
223
223
  inputClassName = _this$props7.inputClassName,
224
224
  alignRight = _this$props7.alignRight,
225
- hjWhitelist = _this$props7.hjWhitelist,
226
- searchField = _this$props7.searchField;
225
+ hjWhitelist = _this$props7.hjWhitelist;
227
226
  var className = classes.input;
228
- if (searchField) className += " ".concat(classes.searchField);
229
227
  if (iconName) className += " ".concat(classes.hasIcon);
230
- if (searchField && iconName) className += " ".concat(classes.searchFieldHasIcon);
231
228
  if (clear) className += " ".concat(classes.hasClear);
232
229
  if (alignRight) className += " ".concat(classes.alignRight);
233
230
  if (type == 'select') className += " ".concat(classes.select);
@@ -240,65 +237,54 @@ var TextField = /*#__PURE__*/function (_React$Component) {
240
237
  }, {
241
238
  key: "setIconColor",
242
239
  value: function setIconColor() {
243
- var _this$state = this.state,
244
- status = _this$state.status,
245
- value = _this$state.value,
246
- touched = _this$state.touched;
247
- var _this$props8 = this.props,
248
- disabled = _this$props8.disabled,
249
- searchField = _this$props8.searchField,
250
- error = _this$props8.error,
251
- allowError = _this$props8.allowError;
252
- if (disabled) return _colors["default"].grey500;
253
- if (status === 'focus' && searchField) return _colors["default"].prim;
254
- if (error && (allowError || touched)) return _colors["default"].error;
255
- if (status !== 'focus' && searchField && value) return _colors["default"].grey900;
256
- return _colors["default"].grey500;
240
+ var status = this.state.status;
241
+ var disabled = this.props.disabled;
242
+ if (disabled) return _colors["default"].icon["default"].disabled;
243
+ if (status === 'focus') return _colors["default"].icon.brand.bold;
244
+ return _colors["default"].icon["default"]["default"];
257
245
  }
258
246
  }, {
259
247
  key: "render",
260
248
  value: function render() {
261
249
  var _this2 = this;
262
250
 
263
- var _this$state2 = this.state,
264
- status = _this$state2.status,
265
- value = _this$state2.value,
266
- touched = _this$state2.touched,
267
- showPass = _this$state2.showPass,
268
- passIconBeingClicked = _this$state2.passIconBeingClicked;
269
- var _this$props9 = this.props,
270
- classes = _this$props9.classes,
271
- input = _this$props9.input,
272
- meta = _this$props9.meta,
273
- label = _this$props9.label,
274
- placeholder = _this$props9.placeholder,
275
- counter = _this$props9.counter,
276
- maxLength = _this$props9.maxLength,
277
- type = _this$props9.type,
278
- name = _this$props9.name,
279
- options = _this$props9.options,
280
- id = _this$props9.id,
281
- style = _this$props9.style,
282
- disabled = _this$props9.disabled,
283
- autoFocus = _this$props9.autoFocus,
284
- error = _this$props9.error,
285
- assistiveText = _this$props9.assistiveText,
286
- clear = _this$props9.clear,
287
- iconName = _this$props9.iconName,
288
- allowError = _this$props9.allowError,
289
- lockHeight = _this$props9.lockHeight,
290
- required = _this$props9.required,
291
- mask = _this$props9.mask,
292
- guide = _this$props9.guide,
293
- inputMode = _this$props9.inputMode,
294
- disableAutoComplete = _this$props9.disableAutoComplete,
295
- pattern = _this$props9.pattern,
296
- searchField = _this$props9.searchField,
297
- testId = _this$props9.testId;
251
+ var _this$state = this.state,
252
+ status = _this$state.status,
253
+ value = _this$state.value,
254
+ touched = _this$state.touched,
255
+ showPass = _this$state.showPass,
256
+ passIconBeingClicked = _this$state.passIconBeingClicked;
257
+ var _this$props8 = this.props,
258
+ classes = _this$props8.classes,
259
+ input = _this$props8.input,
260
+ meta = _this$props8.meta,
261
+ label = _this$props8.label,
262
+ placeholder = _this$props8.placeholder,
263
+ counter = _this$props8.counter,
264
+ maxLength = _this$props8.maxLength,
265
+ type = _this$props8.type,
266
+ name = _this$props8.name,
267
+ options = _this$props8.options,
268
+ id = _this$props8.id,
269
+ style = _this$props8.style,
270
+ disabled = _this$props8.disabled,
271
+ autoFocus = _this$props8.autoFocus,
272
+ error = _this$props8.error,
273
+ assistiveText = _this$props8.assistiveText,
274
+ clear = _this$props8.clear,
275
+ iconName = _this$props8.iconName,
276
+ allowError = _this$props8.allowError,
277
+ required = _this$props8.required,
278
+ mask = _this$props8.mask,
279
+ guide = _this$props8.guide,
280
+ inputMode = _this$props8.inputMode,
281
+ disableAutoComplete = _this$props8.disableAutoComplete,
282
+ pattern = _this$props8.pattern,
283
+ testId = _this$props8.testId;
298
284
  var realStatus = status;
299
285
  var InputType = type == 'select' ? 'select' : type == 'textarea' ? 'textarea' : 'input';
300
286
  var errorStatus = meta && meta.error && (meta.touched || allowError) || error && (touched || allowError) && !passIconBeingClicked;
301
- if (disabled) realStatus = 'disabled';else if (status != 'focus' && errorStatus) realStatus = 'error';else if (status !== 'focus' && searchField && value) realStatus = 'filled';
287
+ if (disabled) realStatus = 'disabled';else if (status != 'focus' && errorStatus) realStatus = 'error';
302
288
  var element, passIcon;
303
289
  var commonProps = {
304
290
  name: name,
@@ -344,14 +330,13 @@ var TextField = /*#__PURE__*/function (_React$Component) {
344
330
  }, input && input.value ? input.value : value ? value : placeholder));
345
331
  }
346
332
 
347
- passIcon = /*#__PURE__*/_react["default"].createElement("div", {
348
- className: classes.passIcon
349
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
350
- iconName: "eyeClosed",
351
- width: _iconSizes["default"].small,
352
- height: _iconSizes["default"].small,
353
- colors: [_colors["default"].grey200]
354
- }));
333
+ passIcon = /*#__PURE__*/_react["default"].createElement(_Button["default"], {
334
+ theme: "ghostGrey",
335
+ icon: "eye",
336
+ size: "md",
337
+ disabled: true,
338
+ className: classes.rightButton
339
+ });
355
340
  } else if (type == 'select') {
356
341
  element = /*#__PURE__*/_react["default"].createElement(InputType, commonProps, /*#__PURE__*/_react["default"].createElement("option", {
357
342
  value: "",
@@ -369,7 +354,7 @@ var TextField = /*#__PURE__*/function (_React$Component) {
369
354
  value: option.value,
370
355
  disabled: option.disabled
371
356
  }, testId && {
372
- 'data-testid': "".concat(testId, "__item-").concat(item.value)
357
+ 'data-testid': "".concat(testId, "__item-").concat(option.value)
373
358
  }), option.label);
374
359
  }));
375
360
  } else {
@@ -399,61 +384,55 @@ var TextField = /*#__PURE__*/function (_React$Component) {
399
384
  }, disableAutoComplete && {
400
385
  autoComplete: 'off'
401
386
  }));
402
- passIcon = /*#__PURE__*/_react["default"].createElement("div", {
387
+ passIcon = /*#__PURE__*/_react["default"].createElement(_Button["default"], {
388
+ theme: "ghostGrey",
389
+ icon: showPass ? 'eye' : 'eye-slash',
390
+ size: "md",
391
+ className: classes.rightButton,
403
392
  onMouseDown: this.togglePass,
404
393
  onMouseUp: this.focusInput,
405
- onMouseOut: this.outOfPassIcon,
406
- className: classes.passIcon
407
- }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
408
- iconName: showPass ? 'eye' : 'eyeClosed',
409
- width: _iconSizes["default"].small,
410
- height: _iconSizes["default"].small,
411
- colors: showPass ? [_colors["default"].grey900] : [_colors["default"].grey400]
412
- }));
394
+ onMouseOut: this.outOfPassIcon
395
+ });
413
396
  }
414
397
 
415
398
  return /*#__PURE__*/_react["default"].createElement("div", {
416
399
  className: this.setClassName(realStatus),
417
400
  style: style
418
- }, (label || lockHeight) && /*#__PURE__*/_react["default"].createElement("div", {
401
+ }, label && /*#__PURE__*/_react["default"].createElement("div", {
419
402
  className: classes.top
420
403
  }, label && /*#__PURE__*/_react["default"].createElement("label", {
421
- className: "".concat(classes.label, " ").concat(classes.left)
404
+ className: classes.label
422
405
  }, label)), /*#__PURE__*/_react["default"].createElement("div", {
423
406
  className: classes.inputWrap
424
407
  }, iconName && /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
425
408
  iconName: iconName,
426
- width: _iconSizes["default"].small,
427
- height: _iconSizes["default"].small,
409
+ width: 24,
410
+ height: 24,
428
411
  className: classes.icon,
429
412
  colors: [this.setIconColor()]
430
413
  }), type == 'select' && /*#__PURE__*/_react["default"].createElement("div", {
431
414
  className: classes.selectIcon
432
415
  }, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
433
- iconName: "arrowDown",
434
- width: _iconSizes["default"].small,
435
- height: _iconSizes["default"].small,
436
- colors: disabled ? [_colors["default"].grey200] : [_colors["default"].grey900]
437
- })), type == 'password' && passIcon, value && clear && /*#__PURE__*/_react["default"].createElement("div", _extends({
438
- onClick: this.onClear,
439
- className: classes.clear
416
+ iconName: "chevron-down",
417
+ width: 24,
418
+ height: 24,
419
+ colors: disabled ? [_colors["default"].icon["default"].disabled] : [_colors["default"].icon["default"]["default"]]
420
+ })), element, type == 'password' && passIcon, value && clear && /*#__PURE__*/_react["default"].createElement(_Button["default"], _extends({
421
+ icon: "x",
422
+ theme: "ghostGrey",
423
+ size: "md",
424
+ className: classes.rightButton,
425
+ onClick: this.onClear
440
426
  }, testId && {
441
427
  'data-testid': "".concat(testId, "__container-close-icon")
442
- }), /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
443
- iconName: "close",
444
- width: _iconSizes["default"].small,
445
- height: _iconSizes["default"].small
446
- })), element), (assistiveText || counter && maxLength || lockHeight) && /*#__PURE__*/_react["default"].createElement("div", {
428
+ }))), (assistiveText || counter && maxLength) && /*#__PURE__*/_react["default"].createElement("div", {
447
429
  className: classes.bottom
430
+ }, /*#__PURE__*/_react["default"].createElement("span", {
431
+ className: classes.assistiveTextWrap
448
432
  }, assistiveText && /*#__PURE__*/_react["default"].createElement("label", {
449
- className: "".concat(classes.label, " ").concat(classes.left, " ").concat(realStatus == 'error' ? classes.errorAssistiveText : classes.assistiveText)
450
- }, realStatus == 'error' ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
451
- iconName: "warningSolid",
452
- width: _iconSizes["default"].tiny,
453
- height: _iconSizes["default"].tiny,
454
- className: classes.errorIcon
455
- }) : null, ' ', assistiveText), counter && maxLength && /*#__PURE__*/_react["default"].createElement("label", {
456
- className: "".concat(classes.label, " ").concat(classes.right, " ").concat(classes.counter)
433
+ className: "".concat(classes.assistiveText, " ").concat(realStatus == 'error' ? classes.assistiveError : null)
434
+ }, assistiveText)), counter && maxLength && /*#__PURE__*/_react["default"].createElement("label", {
435
+ className: "".concat(classes.counter)
457
436
  }, value.length, " / ", maxLength)));
458
437
  }
459
438
  }]);
@@ -511,9 +490,6 @@ TextField.propTypes = {
511
490
  /** It allows the component to display the error messages even if it hasn't been touched. */
512
491
  allowError: _propTypes["default"].bool,
513
492
 
514
- /** By default the TextField container would be smaller without a label or an assistive text. lockHeight will maintain the same height as if it had both, label and assistive text. */
515
- lockHeight: _propTypes["default"].bool,
516
-
517
493
  /** Use as a default value. */
518
494
  valueProp: _propTypes["default"].node,
519
495
 
@@ -583,9 +559,6 @@ TextField.propTypes = {
583
559
  /** Regular expression to validate the input content. */
584
560
  pattern: _propTypes["default"].string,
585
561
 
586
- /** Size of the TextField. */
587
- searchField: _propTypes["default"].bool,
588
-
589
562
  /** The testId property adds the data attribute data-testid to the main element and should be used for testing only. */
590
563
  testId: _propTypes["default"].string
591
564
  };
@@ -105,13 +105,13 @@ describe("TextField", function () {
105
105
  classes: classes,
106
106
  clear: true
107
107
  }));
108
- expect(wrapper.find('.clear').length).toBe(0);
108
+ expect(wrapper.find('.rightButton').length).toBe(0);
109
109
  wrapper.setState({
110
110
  value: 'Value'
111
111
  });
112
- expect(wrapper.find('.clear').length).toBe(1);
113
- wrapper.find('.clear').simulate('click');
114
- expect(wrapper.find('.clear').length).toBe(0);
112
+ expect(wrapper.find('.rightButton').length).toBe(1);
113
+ wrapper.find('.rightButton').simulate('click');
114
+ expect(wrapper.find('.rightButton').length).toBe(0);
115
115
  expect(wrapper.state('value')).toBe('');
116
116
  });
117
117
  it('shows the TextField with an error', function () {
@@ -121,12 +121,12 @@ describe("TextField", function () {
121
121
  error: true
122
122
  }));
123
123
  expect(wrapper.find('.error').length).toBe(0);
124
- expect(wrapper.find('.errorAssistiveText').length).toBe(0);
124
+ expect(wrapper.find('.assistiveError').length).toBe(0);
125
125
  wrapper.setState({
126
126
  touched: true
127
127
  });
128
128
  expect(wrapper.find('.error').length).toBe(1);
129
- expect(wrapper.find('.errorAssistiveText').length).toBe(1);
129
+ expect(wrapper.find('.assistiveError').length).toBe(1);
130
130
  expect(wrapper.find('.error').at(0).hasClass('container')).toBe(true);
131
131
  });
132
132
  it('sets a default value', function () {
@@ -179,7 +179,7 @@ describe("TextField", function () {
179
179
  onClear: onClear,
180
180
  valueProp: "Value"
181
181
  }));
182
- wrapper.find('.clear').simulate('click');
182
+ wrapper.find('.rightButton').simulate('click');
183
183
  expect(onClear.mock.calls.length).toBe(1);
184
184
  });
185
185
  it('calls the onRef function', function () {
@@ -228,14 +228,6 @@ describe("TextField", function () {
228
228
  });
229
229
  expect(wrapper.state('value')).toBe('123abc');
230
230
  });
231
- it('renders as a SearchField', function () {
232
- var wrapper = (0, _enzyme.shallow)( /*#__PURE__*/_react["default"].createElement(_TextField["default"], {
233
- searchField: true,
234
- classes: classes
235
- }));
236
- var input = wrapper.find('input');
237
- expect(input.hasClass('searchField')).toBe(true);
238
- });
239
231
  });
240
232
  describe("TextFieldJSS", function () {
241
233
  it('matches the snapshot', function () {
@@ -7,108 +7,59 @@ Object {
7
7
  "alignRight": Object {
8
8
  "textAlign": "right",
9
9
  },
10
+ "assistiveError": Object {
11
+ "color": "#8b1313",
12
+ },
10
13
  "assistiveText": Object {
11
- "color": "#aaaaaa",
12
- "fontSize": 12,
13
- "fontWeight": 300,
14
+ "color": "#5A5D7B",
15
+ "font": "400 14px/1.5 'OccText', sans-serif",
14
16
  },
15
- "bottom": Object {
16
- "height": 20,
17
- "marginTop": 4,
17
+ "assistiveTextWrap": Object {
18
+ "display": "flex",
18
19
  },
19
- "clear": Object {
20
- "background": "none",
21
- "border": 0,
22
- "cursor": "pointer",
23
- "height": 24,
24
- "margin": 0,
25
- "outline": 0,
26
- "padding": 3,
27
- "position": "absolute",
28
- "right": 12,
29
- "top": "50%",
30
- "transform": "translateY(-50%)",
31
- "width": 24,
32
- "zIndex": 1,
20
+ "bottom": Object {
21
+ "display": "flex",
22
+ "justifyContent": "space-between",
23
+ "marginTop": "8px",
33
24
  },
34
25
  "container": Object {
35
- "marginBottom": 8,
36
26
  "position": "relative",
37
27
  },
38
28
  "counter": Object {
39
- "color": "#aaaaaa",
29
+ "color": "#5A5D7B",
30
+ "font": "400 14px/1.5 'OccText', sans-serif",
40
31
  },
41
32
  "default": Object {},
42
33
  "disabled": Object {
43
34
  "& $input": Object {
44
- "borderColor": "#dddddd",
45
- "color": "#dddddd",
46
- "paddingTop": 9,
47
- },
48
- "& $label": Object {
49
- "color": "#dddddd",
50
- },
51
- "& $passIcon": Object {
52
- "cursor": "auto",
35
+ "background": "#EDEDF1",
36
+ "color": "#878A9F",
53
37
  },
54
38
  },
55
39
  "error": Object {
56
40
  "& $input": Object {
57
- "background": "rgba(219, 55, 55, 0.04)",
58
- "borderColor": "#db3737",
59
- "color": "#db3737",
60
- },
61
- "& $searchField": Object {
62
- "borderWidth": 2,
63
- "color": "#222222",
64
- "paddingLeft": 7,
65
- },
66
- "& $searchFieldHasIcon": Object {
67
- "paddingLeft": 41,
68
- },
69
- },
70
- "errorAssistiveText": Object {
71
- "color": "#db3737",
72
- },
73
- "errorIcon": Object {
74
- "marginBottom": -2,
75
- },
76
- "filled": Object {
77
- "& $input": Object {
78
- "borderColor": "#222222",
79
- "borderWidth": 2,
80
- "paddingLeft": 7,
81
- },
82
- "& $searchFieldHasIcon": Object {
83
- "paddingLeft": 41,
41
+ "boxShadow": "inset 0 0 0 1px #e82020",
84
42
  },
85
43
  },
86
44
  "focus": Object {
87
45
  "& $input": Object {
88
- "borderColor": "#083cae",
89
- },
90
- "& $searchField": Object {
91
- "borderWidth": 2,
92
- "paddingLeft": 7,
93
- },
94
- "& $searchFieldHasIcon": Object {
95
- "paddingLeft": 41,
46
+ "boxShadow": "inset 0 0 0 2px #0059CD, 0 0 0 8px rgba(0,110,255,0.3) !important",
96
47
  },
97
48
  },
98
49
  "hasClear": Object {
99
- "paddingRight": 42,
50
+ "paddingRight": "48px",
100
51
  },
101
52
  "hasIcon": Object {
102
- "paddingLeft": 42,
53
+ "paddingLeft": "48px",
103
54
  },
104
55
  "hasPass": Object {
105
- "paddingRight": 42,
56
+ "paddingRight": "48px",
106
57
  },
107
58
  "hasRightIcon": Object {
108
- "marginRight": 16,
59
+ "marginRight": "48px",
109
60
  },
110
61
  "icon": Object {
111
- "left": 16,
62
+ "left": "16px",
112
63
  "position": "absolute",
113
64
  "top": "50%",
114
65
  "transform": "translateY(-50%)",
@@ -123,7 +74,10 @@ Object {
123
74
  "margin": 0,
124
75
  },
125
76
  "&::placeholder": Object {
126
- "color": "#aaaaaa",
77
+ "color": "#5A5D7B",
78
+ },
79
+ "&:hover": Object {
80
+ "boxShadow": "inset 0 0 0 1px #6C6F89",
127
81
  },
128
82
  "&[type=number]": Object {
129
83
  "-moz-appearance": "textfield",
@@ -131,25 +85,22 @@ Object {
131
85
  "-webkit-appearance": "none",
132
86
  "alignItems": "center",
133
87
  "appearance": "none",
134
- "background": "#ffffff",
135
- "border": "1px solid #dddddd",
136
- "borderRadius": 4,
137
- "boxShadow": "none",
88
+ "background": "#fff",
89
+ "border": "none",
90
+ "borderRadius": "4px",
91
+ "boxShadow": "inset 0 0 0 1px #D3D4DC",
138
92
  "boxSizing": "border-box",
139
- "caretColor": "#083cae",
140
- "color": "#222222",
93
+ "caretColor": "#083CAE",
94
+ "color": "#080D39",
141
95
  "display": "flex",
142
- "fontFamily": "'OccText', sans-serif",
143
- "fontSize": 16,
144
- "fontWeight": 300,
145
- "height": 40,
146
- "lineHeight": 1.5,
96
+ "font": "400 16px/1.5 'OccText', sans-serif",
97
+ "height": 48,
147
98
  "outline": "none",
148
99
  "padding": Array [
149
- 8,
150
- 16,
100
+ "4px",
101
+ "16px",
151
102
  ],
152
- "transition": "0.3s all",
103
+ "transition": "all cubic-bezier(0.25,0.46,0.45,0.94) 0.2s",
153
104
  "width": "100%",
154
105
  },
155
106
  "inputDisabled": Object {
@@ -161,88 +112,50 @@ Object {
161
112
  "position": "relative",
162
113
  },
163
114
  "label": Object {
164
- "& a": Object {
165
- "color": "#1476fb",
166
- "outline": "none",
167
- "textDecoration": "none",
168
- },
169
- "color": "#222222",
170
- "fontFamily": "'OccText', sans-serif",
171
- "fontSize": 14,
172
- "fontWeight": 300,
173
- "lineHeight": 1.5,
174
- "transition": "0.3s all",
175
- },
176
- "left": Object {
177
- "float": "left",
115
+ "color": "#080D39",
116
+ "font": "400 14px/1.5 'OccText', sans-serif",
178
117
  },
179
- "passIcon": Object {
180
- "background": "none",
181
- "border": 0,
182
- "cursor": "pointer",
183
- "height": 24,
184
- "margin": 0,
185
- "outline": 0,
186
- "padding": 3,
118
+ "rightButton": Object {
187
119
  "position": "absolute",
188
- "right": 12,
189
- "top": 8,
190
- "width": 24,
120
+ "right": "4px",
121
+ "top": "50%",
122
+ "transform": "translateY(-50%)",
191
123
  "zIndex": 1,
192
124
  },
193
- "right": Object {
194
- "float": "right",
195
- },
196
- "searchField": Object {
197
- "background": Array [
198
- "#ffffff",
199
- "!important",
200
- ],
201
- "borderColor": "#777777",
202
- "borderRadius": 24,
203
- "height": 48,
204
- },
205
- "searchFieldHasIcon": Object {},
206
125
  "select": Object {
207
126
  "& optgroup": Object {
208
- "color": "#777777",
209
- "fontSize": 14,
210
- "fontWeight": "normal",
211
- "lineHeight": 1.5,
127
+ "color": "#5A5D7B",
128
+ "font": "400 14px/1.5 'OccText', sans-serif",
212
129
  },
213
130
  "& option": Object {
214
131
  "&:disabled": Object {
215
- "color": "#aaaaaa",
132
+ "color": "#878A9F",
216
133
  },
217
- "color": "#222222",
218
- "fontSize": 16,
219
- "lineHeight": 1.5,
134
+ "color": "#080D39",
135
+ "font": "400 16px/1.5 'OccText', sans-serif",
220
136
  },
221
137
  "&::-ms-expand": Object {
222
138
  "display": "none",
223
139
  },
224
140
  "&:invalid, & option[value=\\"\\"]": Object {
225
- "color": "#aaaaaa",
141
+ "color": "#878A9F",
226
142
  },
227
- "paddingRight": 32,
143
+ "paddingRight": "48px",
228
144
  },
229
145
  "selectIcon": Object {
230
- "background": "none",
231
- "border": 0,
232
- "height": 24,
233
- "margin": 0,
234
- "outline": 0,
235
- "padding": "3px 0",
236
146
  "pointerEvents": "none",
237
147
  "position": "absolute",
238
- "right": 12,
239
- "top": 8,
240
- "width": 18,
241
- "zIndex": 1,
148
+ "right": "16px",
149
+ "top": "50%",
150
+ "transform": "translateY(-50%)",
242
151
  },
243
152
  "textarea": Object {
244
153
  "alignItems": "flex-start",
245
154
  "height": 120,
155
+ "paddingg": Array [
156
+ "12px",
157
+ "16px",
158
+ ],
246
159
  "resize": "none",
247
160
  },
248
161
  "top": Object {
@@ -250,7 +163,8 @@ Object {
250
163
  "clear": "both",
251
164
  "content": "\\"\\"",
252
165
  },
253
- "height": 24,
166
+ "display": "flex",
167
+ "marginBottom": "8px",
254
168
  },
255
169
  }
256
170
  `;