@xaypay/tui 0.0.76 → 0.0.78

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/dist/index.es.js CHANGED
@@ -65,9 +65,9 @@ function styleInject(css, ref) {
65
65
  }
66
66
  }
67
67
 
68
- var css_248z$e = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:190px;justify-content:space-between;overflow:hidden;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00!important}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;max-height:190px;overflow:hidden;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;height:auto;max-height:95%;object-fit:contain;width:27.8rem}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
69
- var styles$c = {"file-form-wrap":"file-module_file-form-wrap__qY--B","file-form":"file-module_file-form__l13d5","active":"file-module_active__L1gPt","delete-upload-icon":"file-module_delete-upload-icon__PWN66","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
70
- styleInject(css_248z$e);
68
+ var css_248z$d = ".file-module_file-form__l13d5{align-items:center;background:#fbfbfb;border:2px dashed;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;height:190px;justify-content:space-between;overflow:hidden;padding:4px 0;position:relative;width:100%}.file-module_file-form-wrap__qY--B:before{background:rgba(60,57,62,.4);border-radius:6px;content:\"\";height:100%;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .24s;width:100%;z-index:1}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover:before{opacity:1;pointer-events:unset}.file-module_file-form-wrap__qY--B.file-module_active__L1gPt:hover .file-module_delete-upload-icon__PWN66{opacity:1}.file-module_file-form-inner-upload__tq3Dn{align-items:center;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:16px;padding-top:48px}.file-module_file-form-inner-upload__tq3Dn>img{display:block;margin-bottom:14px}.file-module_upload-info__a8GFs{margin-bottom:40px;max-width:150px;text-align:center}.file-module_upload-info-txt__l11uN{color:#0da574}.file-module_file-form__l13d5.file-module_default__t7KU0{border-color:#d1d1d1}.file-module_file-form__l13d5.file-module_error__H-M4Z{border-color:#e00!important}.file-module_file-form__l13d5.file-module_accept__WTW6V{border-color:#00236a}.file-module_delete-upload-icon__PWN66{align-items:center;background:#fff;border-radius:6px;cursor:pointer;display:flex;height:26px;justify-content:center;opacity:0;position:absolute;right:10px;top:10px;transition:opacity .24s;width:26px;z-index:11}.file-module_delete-upload-icon__PWN66>i{color:#00236a;font-size:16px}.file-module_upload-file-content__QHMjn{align-items:center;display:flex;height:100%;justify-content:center;max-height:190px;overflow:hidden;position:relative;width:100%}.file-module_upload-file-content__QHMjn>img{display:block;height:auto;max-height:95%;object-fit:contain;width:27.8rem}.file-module_file-form-title__zWTSB{margin-bottom:10px;max-width:390px;word-break:break-all}.file-module_file-form-wrap__qY--B{position:relative;transform:translateZ(0)}";
69
+ var styles$b = {"file-form-wrap":"file-module_file-form-wrap__qY--B","file-form":"file-module_file-form__l13d5","active":"file-module_active__L1gPt","delete-upload-icon":"file-module_delete-upload-icon__PWN66","file-form-inner-upload":"file-module_file-form-inner-upload__tq3Dn","upload-info":"file-module_upload-info__a8GFs","upload-info-txt":"file-module_upload-info-txt__l11uN","default":"file-module_default__t7KU0","error":"file-module_error__H-M4Z","accept":"file-module_accept__WTW6V","upload-file-content":"file-module_upload-file-content__QHMjn","file-form-title":"file-module_file-form-title__zWTSB"};
70
+ styleInject(css_248z$d);
71
71
 
72
72
  const File = ({
73
73
  name,
@@ -129,15 +129,15 @@ const File = ({
129
129
  document.querySelector(`.${name}`).value = "";
130
130
  };
131
131
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("p", {
132
- className: `${styles$c['file-form-title']} ile-form-title-rem`
132
+ className: `${styles$b['file-form-title']} ile-form-title-rem`
133
133
  }, label, " ", required && /*#__PURE__*/React__default.createElement("sup", {
134
134
  style: {
135
135
  color: "#ee0000"
136
136
  }
137
137
  }, "*")), /*#__PURE__*/React__default.createElement("div", {
138
- className: classnames(`${styles$c['file-form-wrap']} file-form-wrap-rem`, image ? styles$c['active'] : '')
138
+ className: classnames(`${styles$b['file-form-wrap']} file-form-wrap-rem`, image ? styles$b['active'] : '')
139
139
  }, /*#__PURE__*/React__default.createElement("div", {
140
- className: `${styles$c['file-form']} file-form-rem ${error || errorMessage ? styles$c['error'] : ''}`,
140
+ className: `${styles$b['file-form']} file-form-rem ${error || errorMessage ? styles$b['error'] : ''}`,
141
141
  onClick: () => document.querySelector(`.${name}`).click()
142
142
  }, /*#__PURE__*/React__default.createElement("input", {
143
143
  hidden: true,
@@ -146,23 +146,23 @@ const File = ({
146
146
  disabled: disabled,
147
147
  onChange: e => handleCheckFile(e)
148
148
  }), image ? /*#__PURE__*/React__default.createElement("div", {
149
- className: `${styles$c['upload-file-content']} upload-file-content-rem`
149
+ className: `${styles$b['upload-file-content']} upload-file-content-rem`
150
150
  }, image === 'pdf' ? /*#__PURE__*/React__default.createElement(SvgPdf, null) : /*#__PURE__*/React__default.createElement("img", {
151
151
  src: image,
152
152
  alt: fileName
153
153
  })) : /*#__PURE__*/React__default.createElement("div", {
154
- className: `${styles$c['file-form-inner-upload']} ile-form-inner-upload-rem`
154
+ className: `${styles$b['file-form-inner-upload']} ile-form-inner-upload-rem`
155
155
  }, /*#__PURE__*/React__default.createElement("img", {
156
156
  src: "../../assets/upload.svg",
157
157
  alt: ""
158
158
  }), /*#__PURE__*/React__default.createElement("span", {
159
- className: `${styles$c['upload-info']} upload-info-rem`
159
+ className: `${styles$b['upload-info']} upload-info-rem`
160
160
  }, /*#__PURE__*/React__default.createElement("span", {
161
- className: `${styles$c['upload-info-txt']} upload-info-txt-rem`
161
+ className: `${styles$b['upload-info-txt']} upload-info-txt-rem`
162
162
  }, "\u0532\u0565\u057C\u0576\u0565\u056C")), /*#__PURE__*/React__default.createElement("span", {
163
- className: `${styles$c['upload-info-size']} upload-info-size-rem`
163
+ className: `${styles$b['upload-info-size']} upload-info-size-rem`
164
164
  }, "\u0531\u057C\u0561\u057E\u0565\u056C\u0561\u0563\u0578\u0582\u0575\u0576\u0568 ", maxSize, "\u0544\u0532 ( ", fileExtensions.toString().split(',').join(', '), " )"))), !disabled && /*#__PURE__*/React__default.createElement("div", {
165
- className: `${styles$c['delete-upload-icon']} delete-upload-icon-rem`,
165
+ className: `${styles$b['delete-upload-icon']} delete-upload-icon-rem`,
166
166
  onClick: handleRemoveFile
167
167
  }, /*#__PURE__*/React__default.createElement("i", {
168
168
  className: "icon-delete"
@@ -189,212 +189,38 @@ File.defaultProps = {
189
189
  fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
190
190
  };
191
191
 
192
- var css_248z$d = ".table-module_table-wrap__KKAnM{background:#fff;border-radius:14px 14px 0 0;box-shadow:0 10px 30px rgba(0,35,106,.06);overflow:hidden;width:100%}.table-module_table-wrap__KKAnM:not(:first-child){margin-top:30px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:first-child,.table-module_table-top__tfEKM .table-module_table-items__UpFg2:first-child{flex:0 0 auto;width:60px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(2),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(2){flex:0 0 auto;width:120px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(3),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(3){flex:0 0 auto;width:170px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(4),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(4){flex:0 0 auto;width:126px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(5),.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(6),.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:nth-child(8),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(5),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(6),.table-module_table-top__tfEKM .table-module_table-items__UpFg2:nth-child(8){flex:0 0 auto;width:100px}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:last-child,.table-module_table-top__tfEKM .table-module_table-items__UpFg2:last-child{flex:0 0 auto;width:104px}.table-module_table-top__tfEKM{background:#00236a;height:44px;width:100%}.table-module_table-top__tfEKM .table-module_table-items__UpFg2{align-items:center;color:#fff;display:flex;flex:1 1;font-size:15px;justify-content:center;line-height:17px;text-align:center}.table-module_table-bottom-inner__0Pus0{background:#fff;min-height:40px;width:100%}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2{align-items:center;border-bottom:1px solid #eee;display:flex;flex:1 1;font-size:14px;justify-content:center;line-height:16px;padding:4px;text-align:center}.table-module_table-bottom-inner__0Pus0 .table-module_table-items__UpFg2:not(:last-child){border-right:1px solid #eee}";
193
- var styles$b = {"table-wrap":"table-module_table-wrap__KKAnM","table-bottom-inner":"table-module_table-bottom-inner__0Pus0","table-items":"table-module_table-items__UpFg2","table-top":"table-module_table-top__tfEKM"};
194
- styleInject(css_248z$d);
195
-
196
- var css_248z$c = ".checkbox-module_checkbox-wrap__Xrg-m{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.checkbox-module_checkbox-wrap__Xrg-m>input{height:0;opacity:0;position:absolute;width:0}.checkbox-module_checkbox-wrap__Xrg-m .checkbox-module_checkmark__M8DY6{border:1px solid #d9d9d9;border-radius:3px;bottom:0;display:inline-block;height:14px;left:0;margin:auto 4px auto auto;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.checkbox-module_checkbox-wrap__Xrg-m>.checkbox-module_checkmark__M8DY6:after{border:solid #1890ff;border-width:0 2px 2px 0;content:\"\";display:block;height:8px;left:4px;opacity:0;position:absolute;top:1px;transform:rotate(45deg);transition:opacity .24s;width:4px}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6:after{opacity:1}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6,.checkbox-module_checkbox-wrap__Xrg-m:hover input~.checkbox-module_checkmark__M8DY6{border-color:#1890ff}";
197
- var styles$a = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
198
- styleInject(css_248z$c);
199
-
200
- const Checkbox = ({
201
- disabled,
202
- required,
203
- className,
204
- name,
205
- value,
206
- jsonData,
207
- onChange,
208
- label,
209
- keyNames,
210
- onClick,
211
- ...props
212
- }) => {
213
- const classProps = classnames(styles$a.checkbox, className, 'checkbox-input-rem');
214
- const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
215
- const [data, setData] = useState(parseData);
216
- useEffect(() => {
217
- const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
218
- setData(parseData);
219
- }, [jsonData]);
220
- useEffect(() => {
221
- onChange ? onChange(data.filter(d => d.checked)) : '';
222
- }, [data]);
223
- const handleChange = e => {
224
- let id;
225
- data.forEach((value, key) => {
226
- if (value[keyNames.value] === e.target.value) {
227
- id = key;
228
- }
229
- });
230
- let items = [...data];
231
- let item = {
232
- ...items[id]
233
- };
234
- item.checked = !item.checked;
235
- items[id] = item;
236
- setData(items);
237
- };
238
- !keyNames ? keyNames = {
239
- id: 'id',
240
- name: 'name',
241
- value: 'value',
242
- label: 'label'
243
- } : '';
244
- return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, data.map(element => {
245
- return /*#__PURE__*/React__default.createElement("label", {
246
- className: `${styles$a["checkbox-wrap"]} checkbox-wrap-rem`,
247
- key: element.value
248
- }, /*#__PURE__*/React__default.createElement("input", _extends({
249
- type: "checkbox",
250
- className: classProps,
251
- disabled: disabled,
252
- required: required,
253
- value: keyNames.value ? element[keyNames.value] : '',
254
- name: keyNames.name ? element[keyNames.name] : '',
255
- id: keyNames.id ? element[keyNames.id] : '',
256
- onChange: handleChange,
257
- onClick: onClick ? onClick : () => {},
258
- defaultChecked: element.checked
259
- }, props)), /*#__PURE__*/React__default.createElement("span", {
260
- className: `${styles$a["checkmark"]} checkmark-rem`
261
- }), element[keyNames.label] ? /*#__PURE__*/React__default.createElement("label", {
262
- className: styles$a.labelCheckbox,
263
- for: element[keyNames.id]
264
- }, element[keyNames.label]) : "");
265
- }));
266
- };
267
- Checkbox.propTypes = {
268
- className: PropTypes.string,
269
- onChange: PropTypes.func,
270
- onClick: PropTypes.func,
271
- required: PropTypes.bool,
272
- disabled: PropTypes.bool,
273
- name: PropTypes.string,
274
- value: PropTypes.string,
275
- jsonData: PropTypes.string,
276
- label: PropTypes.string,
277
- keyNames: PropTypes.object
278
- };
279
- Checkbox.defaultProps = {
280
- onChange: undefined,
281
- jsonData: '[{"value":"email", "name":"contact1", "label":"Email", "id":"contactChoice1"}, {"value":"phone", "name":"contact2", "label":"Phone", "id":"contactChoice2"}]'
282
- };
283
-
284
- const Table = ({
285
- className,
286
- onChange,
287
- config,
288
- jsonData,
289
- hearderData,
290
- keyNames,
291
- actions,
292
- ...props
293
- }) => {
294
- classnames(className);
295
- let tbodyData = jsonData.length ? JSON.parse(jsonData) : [];
296
- useEffect(() => {
297
- tbodyData = jsonData.length ? JSON.parse(jsonData) : [];
298
- }, [jsonData]);
299
- const [checked, setChecked] = useState(config.isCheckbox && config.isCheckbox.checked ? config.isCheckbox.checked : []);
300
- config.isCheckbox && config.isCheckbox.showCheckbox == undefined ? config.isCheckbox.showCheckbox = () => {
301
- return true;
302
- } : "";
303
- return /*#__PURE__*/React__default.createElement("div", {
304
- className: `${styles$b["table-wrap"]} table-wrap-rem`
305
- }, config.isHeader && hearderData.map((header, key) => {
306
- return /*#__PURE__*/React__default.createElement("div", {
307
- className: `${styles$b["table-top"]} table-top-rem`,
308
- key: key
309
- }, /*#__PURE__*/React__default.createElement("div", {
310
- className: `${styles$b["table-items"]} table-items-rem`
311
- }, header));
312
- }), /*#__PURE__*/React__default.createElement("div", {
313
- className: `${styles$b["table-bottom"]} table-bottom-rem`
314
- }, tbodyData.map((item, key) => {
315
- return /*#__PURE__*/React__default.createElement("div", {
316
- className: `${styles$b["table-bottom-inner"]} table-bottom-inner-rem`,
317
- key: key
318
- }, keyNames.map((keyName, keyNameKey) => {
319
- return /*#__PURE__*/React__default.createElement("div", {
320
- className: `${styles$b["table-items"]} table-items-rem`,
321
- key: keyNameKey
322
- }, config.isCheckbox && config.isCheckbox.showCheckbox && config.isCheckbox.showCheckbox(item) && keyNameKey == 0 && /*#__PURE__*/React__default.createElement(Checkbox, {
323
- onClick: e => {
324
- const id = e.target.id;
325
- const checkedValue = e.target.checked;
326
- let ch = [...checked];
327
- checkedValue ? ch.push(Number(id)) : ch.splice(ch.indexOf(id), 1);
328
- setChecked(ch);
329
- config.isCheckbox.onChange(ch);
330
- },
331
- jsonData: `[{"value":"", "name":"", "label":"", "id":${item.id}, "checked":${checked.indexOf(item.id) > -1 ? true : false}}]`
332
- }), typeof keyName === "string" ? item[keyName] : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("i", {
333
- className: keyName.icon
334
- }), item[keyName.name]));
335
- }), actions && /*#__PURE__*/React__default.createElement("div", {
336
- className: `${styles$b["table-items"]} table-items-rem`
337
- }, actions.filter(a => a.show && a.show(item) || a.show === undefined).map((action, key) => {
338
- return /*#__PURE__*/React__default.createElement("div", {
339
- key: key
340
- }, /*#__PURE__*/React__default.createElement("i", {
341
- className: action.icon,
342
- onClick: action.click ? action.click : () => {}
343
- }, action.icon));
344
- })));
345
- })));
346
- };
347
- Table.propTypes = {
348
- className: PropTypes.string,
349
- onChange: PropTypes.func,
350
- config: PropTypes.object,
351
- actions: PropTypes.arrayOf(PropTypes.object),
352
- jsonData: PropTypes.string,
353
- keyNames: PropTypes.arrayOf(PropTypes.oneOf([PropTypes.string, PropTypes.object])),
354
- hearderData: PropTypes.array
355
- };
356
- Table.defaultProps = {
357
- className: "",
358
- onChange: undefined,
359
- errorMessage: "",
360
- config: {
361
- isHeader: true,
362
- isCheckbox: {
363
- checked: []
364
- }
365
- },
366
- actions: [],
367
- jsonData: "",
368
- keyNames: [],
369
- hearderData: []
370
- };
371
-
372
192
  const _ = require('lodash');
373
193
  const compereConfigs = () => {
374
194
  let projectConfig = {};
375
- let packageConfig = {};
376
- try {
377
- packageConfig = require('../tui.config.js');
378
- } catch (e) {
379
- try {
380
- packageConfig = require('../../tui.config.js');
381
- } catch (err) {
382
- packageConfig = {};
383
- }
384
- }
195
+ let packageConfig = require(process.env.STORYBOOK_PATH);
385
196
  try {
386
- projectConfig = require('../../../../tui.config.js');
387
- } catch (error) {
388
- projectConfig = {};
389
- // console.log(error, 'Project: if you want to use custom styles, create tui.config.js file in your project root');
390
- }
391
-
197
+ projectConfig = require(`${process.env.STORYBOOK_CONFIG_PATH}`);
198
+ } catch (e) {}
392
199
  return _.merge(packageConfig, projectConfig);
393
200
  };
394
201
 
395
- var css_248z$b = ".modal-module_animation__modal__3mt48{animation:modal-module_show-popup__WrH7a .15s;-webkit-animation:modal-module_show-popup__WrH7a .15s}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-50%,0);-webkit-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-ms-transform:translate3d(0,-50%,0);-o-transform:translate3d(0,-50%,0)}to{opacity:1;transform:translateZ(0);-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}}";
396
- var styles$9 = {"animation__modal":"modal-module_animation__modal__3mt48","show-popup":"modal-module_show-popup__WrH7a"};
397
- styleInject(css_248z$b);
202
+ ({
203
+ tableHeadItems: PropTypes.array,
204
+ tableBodyItems: PropTypes.array,
205
+ tHeadColor: PropTypes.string,
206
+ tHeadFamily: PropTypes.string,
207
+ tHeadPadding: PropTypes.string,
208
+ tHeadFontWeight: PropTypes.number,
209
+ tHeadBorderRadius: PropTypes.string,
210
+ tHeadBackgroundColor: PropTypes.string,
211
+ tBodyColor: PropTypes.string,
212
+ tBodyPadding: PropTypes.string,
213
+ tBodyFontSize: PropTypes.string,
214
+ tBodyTextAlign: PropTypes.string,
215
+ tBodyFontWeight: PropTypes.string,
216
+ tBodyFontFamily: PropTypes.string,
217
+ tBodyRowBorder: PropTypes.string,
218
+ tBodyMarginTop: PropTypes.string
219
+ });
220
+
221
+ var css_248z$c = ".modal-module_animation__modal__3mt48{animation:modal-module_show-popup__WrH7a .15s;-webkit-animation:modal-module_show-popup__WrH7a .15s}@keyframes modal-module_show-popup__WrH7a{0%{transform:translate3d(0,-50%,0);-webkit-transform:translate3d(0,-50%,0);-moz-transform:translate3d(0,-50%,0);-ms-transform:translate3d(0,-50%,0);-o-transform:translate3d(0,-50%,0)}to{opacity:1;transform:translateZ(0);-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0)}}";
222
+ var styles$a = {"animation__modal":"modal-module_animation__modal__3mt48","show-popup":"modal-module_show-popup__WrH7a"};
223
+ styleInject(css_248z$c);
398
224
 
399
225
  const SvgNext = ({
400
226
  title,
@@ -567,7 +393,7 @@ const Modal = ({
567
393
  height: '100vh'
568
394
  }
569
395
  }, /*#__PURE__*/React__default.createElement("div", {
570
- className: `${classProps} ${styles$9['animation__modal']}`,
396
+ className: `${classProps} ${styles$a['animation__modal']}`,
571
397
  onClick: handleStopClosing,
572
398
  style: {
573
399
  top: '0px',
@@ -721,9 +547,9 @@ Modal.defaultProps = {
721
547
  type: 'content'
722
548
  };
723
549
 
724
- var css_248z$a = ".input-module_input-wrap__NunrE{position:relative;width:100%}.input-module_input-content__kP7lZ{display:flex;width:100%}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{background-color:inherit!important}.input-module_error-message-show__OrVSo{animation-fill-mode:forwards;animation-name:input-module_error-show__9MP6k}@keyframes input-module_error-show__9MP6k{to{bottom:-20px;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1)}}";
725
- var styles$8 = {"input-wrap":"input-module_input-wrap__NunrE","input-content":"input-module_input-content__kP7lZ","error-message-show":"input-module_error-message-show__OrVSo","error-show":"input-module_error-show__9MP6k"};
726
- styleInject(css_248z$a);
550
+ var css_248z$b = ".input-module_input-wrap__NunrE{position:relative;width:100%}.input-module_input-content__kP7lZ{display:flex;width:100%}input:-webkit-autofill,input:-webkit-autofill:active,input:-webkit-autofill:focus,input:-webkit-autofill:hover{background-color:inherit!important}.input-module_error-message-show__OrVSo{animation-fill-mode:forwards;animation-name:input-module_error-show__9MP6k}@keyframes input-module_error-show__9MP6k{to{bottom:-20px;transform:scaleX(1);-webkit-transform:scaleX(1);-moz-transform:scaleX(1);-ms-transform:scaleX(1);-o-transform:scaleX(1)}}";
551
+ var styles$9 = {"input-wrap":"input-module_input-wrap__NunrE","input-content":"input-module_input-content__kP7lZ","error-message-show":"input-module_error-message-show__OrVSo","error-show":"input-module_error-show__9MP6k"};
552
+ styleInject(css_248z$b);
727
553
 
728
554
  const InputTypes = {
729
555
  TEL: 'tel',
@@ -762,6 +588,7 @@ const Input = ({
762
588
  maxLength,
763
589
  labelColor,
764
590
  errorColor,
591
+ borderRight,
765
592
  placeholder,
766
593
  errorZindex,
767
594
  errorBottom,
@@ -779,9 +606,11 @@ const Input = ({
779
606
  labelLineHeight,
780
607
  backgroundColor,
781
608
  telErrorMessage,
609
+ borderRightColor,
782
610
  labelMarginBottom,
783
611
  regexpErrorMessage,
784
612
  phoneJustifyContent,
613
+ borderRightColorHover,
785
614
  errorAnimationDuration,
786
615
  ...props
787
616
  }) => {
@@ -808,14 +637,26 @@ const Input = ({
808
637
  `;
809
638
  const handleChange = event => {
810
639
  const currentValue = event.target.value;
640
+ let prevValue = innerValue;
811
641
  setInnerValue(currentValue);
812
642
  if (change) {
813
643
  change(currentValue);
814
644
  }
815
645
  if (type === 'tel') {
816
646
  if (!phoneNumberRegex.test(currentValue)) {
817
- telErrorMessage && setInnerErrorMessage(telErrorMessage);
818
- setInnerValue('');
647
+ if (currentValue === '') {
648
+ setInnerErrorMessage('');
649
+ setInnerValue('');
650
+ if (change) {
651
+ change('');
652
+ }
653
+ } else {
654
+ telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
655
+ setInnerValue(prevValue);
656
+ if (change) {
657
+ change(prevValue);
658
+ }
659
+ }
819
660
  } else {
820
661
  setInnerErrorMessage('');
821
662
  if (currentValue.length > 8) {
@@ -863,7 +704,11 @@ const Input = ({
863
704
  setInnerValue(value);
864
705
  if (type === 'tel') {
865
706
  if (!phoneNumberRegex.test(value)) {
866
- telErrorMessage && setInnerErrorMessage(telErrorMessage);
707
+ if (value === '') {
708
+ setInnerErrorMessage('');
709
+ } else {
710
+ telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
711
+ }
867
712
  setInnerValue('');
868
713
  } else {
869
714
  setInnerErrorMessage('');
@@ -882,11 +727,11 @@ const Input = ({
882
727
  }
883
728
  }
884
729
  }
885
- }, [type, value, regexp, maxLength, errorMessage, regexpErrorMessage]);
730
+ }, [type, value, regexp, maxLength, errorMessage, regexpErrorMessage, telErrorMessage]);
886
731
  return /*#__PURE__*/React__default.createElement("div", {
887
- className: `${styles$8["input-wrap"]}`
732
+ className: `${styles$9["input-wrap"]}`
888
733
  }, label ? /*#__PURE__*/React__default.createElement("label", {
889
- className: `${styles$8["input-title"]}`,
734
+ className: `${styles$9["input-title"]}`,
890
735
  style: {
891
736
  color: labelColor ? labelColor : configStyles.INPUT.labelColor,
892
737
  fontSize: labelSize ? labelSize : configStyles.INPUT.labelSize,
@@ -900,7 +745,7 @@ const Input = ({
900
745
  color: errorColor ? errorColor : "#ee0000"
901
746
  }
902
747
  }, "*")) : '', /*#__PURE__*/React__default.createElement("div", {
903
- className: `${styles$8["input-content"]}`,
748
+ className: `${styles$9["input-content"]}`,
904
749
  style: {
905
750
  width: width ? width : configStyles.INPUT.width,
906
751
  borderRadius: radius ? radius : configStyles.INPUT.radius,
@@ -932,7 +777,9 @@ const Input = ({
932
777
  borderTopLeftRadius: radius ? radius : configStyles.INPUT.radius,
933
778
  borderBottomLeftRadius: radius ? radius : configStyles.INPUT.radius,
934
779
  display: phoneDisplay ? phoneDisplay : configStyles.INPUT.phoneDisplay,
780
+ borderRight: borderRight ? borderRight : configStyles.INPUT.borderRight,
935
781
  alignItems: phoneAlignItems ? phoneAlignItems : configStyles.INPUT.phoneAlignItems,
782
+ borderColor: innerErrorMessage ? errorColor ? errorColor : configStyles.INPUT.errorColor : isHover ? borderRightColorHover ? borderRightColorHover : configStyles.INPUT.borderRightColorHover : borderRightColor ? borderRightColor : configStyles.INPUT.borderRightColor,
936
783
  color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color,
937
784
  justifyContent: phoneJustifyContent ? phoneJustifyContent : configStyles.INPUT.phoneJustifyContent,
938
785
  backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor
@@ -1014,6 +861,7 @@ Input.propTypes = {
1014
861
  maxLength: PropTypes.number,
1015
862
  errorColor: PropTypes.string,
1016
863
  labelColor: PropTypes.string,
864
+ borderRight: PropTypes.string,
1017
865
  placeholder: PropTypes.string,
1018
866
  errorZindex: PropTypes.string,
1019
867
  errorBottom: PropTypes.string,
@@ -1031,10 +879,12 @@ Input.propTypes = {
1031
879
  phoneAlignItems: PropTypes.string,
1032
880
  errorLineHeight: PropTypes.string,
1033
881
  labelLineHeight: PropTypes.string,
882
+ borderRightColor: PropTypes.string,
1034
883
  labelMarginBottom: PropTypes.string,
1035
884
  regexpErrorMessage: PropTypes.string,
1036
885
  regexp: PropTypes.instanceOf(RegExp),
1037
886
  phoneJustifyContent: PropTypes.string,
887
+ borderRightColorHover: PropTypes.string,
1038
888
  errorAnimationDuration: PropTypes.string,
1039
889
  leftIcon: PropTypes.arrayOf(PropTypes.element),
1040
890
  rightIcon: PropTypes.arrayOf(PropTypes.element),
@@ -1045,9 +895,9 @@ Input.defaultProps = {
1045
895
  type: "text"
1046
896
  };
1047
897
 
1048
- var css_248z$9 = ".radio-module_radio-wrap__-lO7V{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.radio-module_radio-wrap__-lO7V>input{height:0;opacity:0;position:absolute;width:0}.radio-module_radio-wrap__-lO7V .radio-module_radio-checkmark__Kvol0{border:1px solid #d9d9d9;border-radius:50%;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.radio-module_radio-wrap__-lO7V>.radio-module_radio-checkmark__Kvol0:after{background-color:#d9d9d9;border-radius:50%;bottom:0;content:\"\";height:8px;left:0;margin:auto;opacity:0;position:absolute;right:0;top:0;transition:opacity .24s,background-color .24s;width:8px}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0:after{background-color:#1890ff;opacity:1}.radio-module_radio-wrap__-lO7V:hover input~.radio-module_radio-checkmark__Kvol0:after{opacity:1}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0{border-color:#1890ff}";
1049
- var styles$7 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
1050
- styleInject(css_248z$9);
898
+ var css_248z$a = ".radio-module_radio-wrap__-lO7V{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.radio-module_radio-wrap__-lO7V>input{height:0;opacity:0;position:absolute;width:0}.radio-module_radio-wrap__-lO7V .radio-module_radio-checkmark__Kvol0{border:1px solid #d9d9d9;border-radius:50%;display:inline-block;height:14px;left:0;margin-right:4px;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.radio-module_radio-wrap__-lO7V>.radio-module_radio-checkmark__Kvol0:after{background-color:#d9d9d9;border-radius:50%;bottom:0;content:\"\";height:8px;left:0;margin:auto;opacity:0;position:absolute;right:0;top:0;transition:opacity .24s,background-color .24s;width:8px}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0:after{background-color:#1890ff;opacity:1}.radio-module_radio-wrap__-lO7V:hover input~.radio-module_radio-checkmark__Kvol0:after{opacity:1}.radio-module_radio-wrap__-lO7V input:checked~.radio-module_radio-checkmark__Kvol0{border-color:#1890ff}";
899
+ var styles$8 = {"radio-wrap":"radio-module_radio-wrap__-lO7V","radio-checkmark":"radio-module_radio-checkmark__Kvol0"};
900
+ styleInject(css_248z$a);
1051
901
 
1052
902
  const Radio = ({
1053
903
  disabled,
@@ -1061,11 +911,11 @@ const Radio = ({
1061
911
  keyNames,
1062
912
  ...props
1063
913
  }) => {
1064
- const classProps = classnames(styles$7.checkbox, className);
914
+ const classProps = classnames(styles$8.checkbox, className);
1065
915
  const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
1066
916
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, parseData.map((element, id) => {
1067
917
  return /*#__PURE__*/React__default.createElement("label", {
1068
- className: `${styles$7["radio-wrap"]} radio-wrap-rem`,
918
+ className: `${styles$8["radio-wrap"]} radio-wrap-rem`,
1069
919
  key: element.value
1070
920
  }, /*#__PURE__*/React__default.createElement("input", _extends({
1071
921
  type: "radio",
@@ -1076,9 +926,9 @@ const Radio = ({
1076
926
  value: value ? value : element.value,
1077
927
  name: name ? name : element.name
1078
928
  }, props)), /*#__PURE__*/React__default.createElement("span", {
1079
- className: `${styles$7["radio-checkmark"]} radio-checkmark-rem`
929
+ className: `${styles$8["radio-checkmark"]} radio-checkmark-rem`
1080
930
  }), element.label ? /*#__PURE__*/React__default.createElement("span", {
1081
- className: styles$7.labelRadio
931
+ className: styles$8.labelRadio
1082
932
  }, label ? label : element.label) : "");
1083
933
  }));
1084
934
  };
@@ -1100,6 +950,7 @@ Radio.defaultProps = {
1100
950
  };
1101
951
 
1102
952
  const Button = ({
953
+ icon,
1103
954
  size,
1104
955
  type,
1105
956
  font,
@@ -1128,8 +979,8 @@ const Button = ({
1128
979
  }) => {
1129
980
  const [isHover, setIsHover] = useState(false);
1130
981
  useEffect(() => {
1131
- if (!label) {
1132
- alert('Button component: label prop is required, please add it!!!');
982
+ if (!label && !icon) {
983
+ alert('Add icon or label props on Button component');
1133
984
  }
1134
985
  }, []);
1135
986
  const configStyles = compereConfigs();
@@ -1142,11 +993,14 @@ const Button = ({
1142
993
  };
1143
994
  return /*#__PURE__*/React__default.createElement("button", _extends({
1144
995
  style: {
996
+ display: 'flex',
997
+ alignItems: 'center',
1145
998
  fontSize: size ? size : configStyles.BUTTON.size,
1146
999
  fontFamily: font ? font : configStyles.BUTTON.font,
1147
1000
  height: height ? height : configStyles.BUTTON.height,
1148
1001
  fontWeight: weight ? weight : configStyles.BUTTON.weight,
1149
1002
  padding: padding ? padding : configStyles.BUTTON.padding,
1003
+ justifyContent: icon && label ? 'space-between' : 'center',
1150
1004
  borderRadius: radius ? radius : configStyles.BUTTON.radius,
1151
1005
  boxSizing: boxSizing ? boxSizing : configStyles.BUTTON.boxSizing,
1152
1006
  transition: transition ? transition : configStyles.BUTTON.transition,
@@ -1164,16 +1018,18 @@ const Button = ({
1164
1018
  onMouseEnter: handleMouseEnter,
1165
1019
  onMouseLeave: handleMouseLeave,
1166
1020
  className: classProps
1167
- }, props), label);
1021
+ }, props), icon && icon, " ", label && label, " ", !icon && !label && 'Add icon or label prop on Button component');
1168
1022
  };
1169
1023
  Button.propTypes = {
1170
1024
  type: PropTypes.string,
1171
1025
  size: PropTypes.string,
1172
1026
  font: PropTypes.string,
1027
+ icon: PropTypes.element,
1173
1028
  color: PropTypes.string,
1174
1029
  width: PropTypes.string,
1175
1030
  outline: PropTypes.bool,
1176
1031
  onClick: PropTypes.func,
1032
+ label: PropTypes.string,
1177
1033
  weight: PropTypes.string,
1178
1034
  height: PropTypes.string,
1179
1035
  cursor: PropTypes.string,
@@ -1188,7 +1044,6 @@ Button.propTypes = {
1188
1044
  textTransform: PropTypes.string,
1189
1045
  disabledColor: PropTypes.string,
1190
1046
  backgroundColor: PropTypes.string,
1191
- label: PropTypes.string.isRequired,
1192
1047
  disabledLineColor: PropTypes.string,
1193
1048
  disabledBackgroundColor: PropTypes.string
1194
1049
  };
@@ -1264,9 +1119,9 @@ const SvgArrow = ({
1264
1119
  fill: "#3C393E"
1265
1120
  }));
1266
1121
 
1267
- var css_248z$8 = ".select-module_select-content__GCMDX{display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.select-module_select-content-bottom__ueZCR{animation:select-module_select-show__391hQ .64s linear forwards;-webkit-animation:select-module_select-show__391hQ .64s linear forwards;left:0;max-height:0;overflow:hidden;position:absolute;width:100%;z-index:1}.select-module_select-content-bottom-inner__NWy2X{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}.select-module_select-content-top-icon__MBrGK{align-items:center;box-sizing:border-box;display:flex;flex:0 0 auto;padding:0 5px 0 20px}.select-module_select-content-top-icon__MBrGK>div{align-items:center;display:flex;height:14px;justify-content:center;width:14px}.select-module_close-icon__SFNaJ{border-right:1px solid #eee;box-sizing:content-box;padding-right:9px}.select-module_arrow-icon__rjHt-{margin-left:9px;transform-origin:center;transition:all .64s ease;-webkit-transition:all .64s ease;-moz-transition:all .64s ease;-ms-transition:all .64s ease;-o-transition:all .64s ease}.select-module_select-content-bottom-row__eKq5L{align-items:center;display:flex;transition:background-color .24s,color .24s;-webkit-transition:background-color .24s,color .24s;-moz-transition:background-color .24s,color .24s;-ms-transition:background-color .24s,color .24s;-o-transition:background-color .24s,color .24s}.select-module_select-content-bottom-row__eKq5L:last-child{margin-bottom:0}@keyframes select-module_select-show__391hQ{to{max-height:234px}}";
1268
- var styles$6 = {"select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","close-icon":"select-module_close-icon__SFNaJ","arrow-icon":"select-module_arrow-icon__rjHt-","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L"};
1269
- styleInject(css_248z$8);
1122
+ var css_248z$9 = ".select-module_select-content__GCMDX{display:flex;flex-direction:column;position:relative}.select-module_select-content-top__Aw-fB{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.select-module_select-content-bottom__ueZCR{animation:select-module_select-show__391hQ .64s linear forwards;-webkit-animation:select-module_select-show__391hQ .64s linear forwards;left:0;max-height:0;overflow:hidden;position:absolute;width:100%;z-index:9}.select-module_select-content-bottom-inner__NWy2X{display:flex;flex-direction:column;max-height:234px;overflow-x:hidden;overflow-y:auto}.select-module_select-content-top-icon__MBrGK{align-items:center;box-sizing:border-box;display:flex;flex:0 0 auto;padding:0 5px 0 20px}.select-module_select-content-top-icon__MBrGK>div{align-items:center;display:flex;height:14px;justify-content:center;width:14px}.select-module_close-icon__SFNaJ{border-right:1px solid #eee;box-sizing:content-box;padding-right:9px}.select-module_arrow-icon__rjHt-{margin-left:9px;transform-origin:center;transition:all .64s ease;-webkit-transition:all .64s ease;-moz-transition:all .64s ease;-ms-transition:all .64s ease;-o-transition:all .64s ease}.select-module_select-content-bottom-row__eKq5L{align-items:center;display:flex;transition:background-color .24s,color .24s;-webkit-transition:background-color .24s,color .24s;-moz-transition:background-color .24s,color .24s;-ms-transition:background-color .24s,color .24s;-o-transition:background-color .24s,color .24s}.select-module_select-content-bottom-row__eKq5L:last-child{margin-bottom:0}@keyframes select-module_select-show__391hQ{to{max-height:234px}}";
1123
+ var styles$7 = {"select-content":"select-module_select-content__GCMDX","select-content-top":"select-module_select-content-top__Aw-fB","select-content-bottom":"select-module_select-content-bottom__ueZCR","select-show":"select-module_select-show__391hQ","select-content-bottom-inner":"select-module_select-content-bottom-inner__NWy2X","select-content-top-icon":"select-module_select-content-top-icon__MBrGK","close-icon":"select-module_close-icon__SFNaJ","arrow-icon":"select-module_arrow-icon__rjHt-","select-content-bottom-row":"select-module_select-content-bottom-row__eKq5L"};
1124
+ styleInject(css_248z$9);
1270
1125
 
1271
1126
  const Select = ({
1272
1127
  options,
@@ -1296,7 +1151,6 @@ const Select = ({
1296
1151
  selectedColor,
1297
1152
  selectedRadius,
1298
1153
  selectedMinHeight,
1299
- selectedBorder,
1300
1154
  selectedPadding,
1301
1155
  selectedFontSize,
1302
1156
  selectedBoxSizing,
@@ -1304,7 +1158,6 @@ const Select = ({
1304
1158
  selectedLineHeight,
1305
1159
  selectedHoverColor,
1306
1160
  selectedTransition,
1307
- selectedBorderColor,
1308
1161
  optionsBoxShadow,
1309
1162
  optionsBorderRadius,
1310
1163
  optionsBackgroundColor,
@@ -1319,7 +1172,9 @@ const Select = ({
1319
1172
  optionItemColorHover,
1320
1173
  optionItemMarginBottom,
1321
1174
  optionItemBackgroudColor,
1322
- optionItemBackgroudColorHover
1175
+ optionItemBackgroudColorHover,
1176
+ boxShadow,
1177
+ boxShadowHover
1323
1178
  }) => {
1324
1179
  const ref = useRef();
1325
1180
  const [opened, setOpened] = useState(false);
@@ -1446,12 +1301,11 @@ const Select = ({
1446
1301
  }, "*")) : "", /*#__PURE__*/React__default.createElement("div", {
1447
1302
  ref: ref
1448
1303
  }, /*#__PURE__*/React__default.createElement("div", {
1449
- className: styles$6['select-content']
1304
+ className: styles$7['select-content']
1450
1305
  }, /*#__PURE__*/React__default.createElement("div", {
1451
1306
  style: {
1452
1307
  cursor: disabled ? 'not-allowed' : cursor ? cursor : configStyles.SELECT.cursor,
1453
1308
  minHeight: selectedMinHeight ? selectedMinHeight : configStyles.SELECT.selectedMinHeight,
1454
- border: selectedBorder ? selectedBorder : configStyles.SELECT.selectedBorder,
1455
1309
  padding: selectedPadding ? selectedPadding : configStyles.SELECT.selectedPadding,
1456
1310
  borderRadius: selectedRadius ? selectedRadius : configStyles.SELECT.selectedRadius,
1457
1311
  fontSize: selectedFontSize ? selectedFontSize : configStyles.SELECT.selectedFontSize,
@@ -1459,14 +1313,14 @@ const Select = ({
1459
1313
  fontWeight: selectedFontWeight ? selectedFontWeight : configStyles.SELECT.selectedFontWeight,
1460
1314
  lineHeight: selectedLineHeight ? selectedLineHeight : configStyles.SELECT.selectedLineHeight,
1461
1315
  transition: selectedTransition ? selectedTransition : configStyles.SELECT.selectedTransition,
1462
- borderColor: errorMessage ? errorColor ? errorColor : configStyles.SELECT.errorColor : selectedBorderColor ? selectedBorderColor : configStyles.SELECT.selectedBorderColor
1316
+ boxShadow: errorMessage ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.SELECT.errorColor}` : isHover ? boxShadowHover ? boxShadowHover : configStyles.SELECT.boxShadowHover : boxShadow ? boxShadow : configStyles.SELECT.boxShadow
1463
1317
  },
1464
1318
  onClick: disabled ? _ => _ : _ => handleOpenClose(),
1465
1319
  onMouseEnter: disabled ? _ => _ : _ => handleMouseEnter(),
1466
1320
  onMouseLeave: disabled ? _ => _ : _ => handleMouseLeave(),
1467
- className: `${styles$6['select-content-top']}`
1321
+ className: `${styles$7['select-content-top']}`
1468
1322
  }, /*#__PURE__*/React__default.createElement("div", {
1469
- className: `${styles$6['select-content-top-text']}`,
1323
+ className: `${styles$7['select-content-top-text']}`,
1470
1324
  style: {
1471
1325
  color: errorMessage ? errorColor ? errorColor : configStyles.SELECT.errorColor : isHover ? selectedHoverColor ? selectedHoverColor : configStyles.SELECT.selectedHoverColor : selectedColor ? selectedColor : configStyles.SELECT.selectedColor
1472
1326
  }
@@ -1479,9 +1333,9 @@ const Select = ({
1479
1333
  }
1480
1334
  }
1481
1335
  }) : defaultOption ? defaultOption : ''), /*#__PURE__*/React__default.createElement("div", {
1482
- className: `${styles$6['select-content-top-icon']}`
1336
+ className: `${styles$7['select-content-top-icon']}`
1483
1337
  }, !disabled && multiple && newSelected.length > 1 && /*#__PURE__*/React__default.createElement("span", null, newSelected.length), !disabled && newSelected && newSelected.length > 0 && /*#__PURE__*/React__default.createElement("div", {
1484
- className: `${styles$6['close-icon']}`,
1338
+ className: `${styles$7['close-icon']}`,
1485
1339
  onClick: disabled ? _ => _ : handleClearSelect,
1486
1340
  style: {
1487
1341
  marginLeft: multiple && newSelected.length > 1 ? '17px' : '0px'
@@ -1490,7 +1344,7 @@ const Select = ({
1490
1344
  style: {
1491
1345
  transform: opened ? 'rotate(180deg)' : 'rotate(0deg)'
1492
1346
  },
1493
- className: `${styles$6['arrow-icon']}`
1347
+ className: `${styles$7['arrow-icon']}`
1494
1348
  }, arrowIcon ? arrowIcon : /*#__PURE__*/React__default.createElement(SvgArrow, null)) : '')), opened && !disabled ? /*#__PURE__*/React__default.createElement("div", {
1495
1349
  style: {
1496
1350
  boxShadow: optionsBoxShadow ? optionsBoxShadow : configStyles.SELECT.optionsBoxShadow,
@@ -1498,9 +1352,9 @@ const Select = ({
1498
1352
  backgroundColor: optionsBackgroundColor ? optionsBackgroundColor : configStyles.SELECT.optionsBackgroundColor,
1499
1353
  top: selectedMinHeight ? selectedMinHeight.includes('rem') ? parseFloat(selectedMinHeight.substr(0, selectedMinHeight.length - 3)) + 0.6 + 'rem' : parseFloat(selectedMinHeight.substr(0, selectedMinHeight.length - 2)) + 6 + 'px' : configStyles.SELECT.selectedMinHeight.includes('rem') ? parseFloat(configStyles.SELECT.selectedMinHeight.substr(0, configStyles.SELECT.selectedMinHeight.length - 3)) + 0.6 + 'rem' : parseFloat(configStyles.SELECT.selectedMinHeight.substr(0, configStyles.SELECT.selectedMinHeight.length - 2)) + 6 + 'px'
1500
1354
  },
1501
- className: `${styles$6['select-content-bottom']}`
1355
+ className: `${styles$7['select-content-bottom']}`
1502
1356
  }, /*#__PURE__*/React__default.createElement("div", {
1503
- className: `${styles$6['select-content-bottom-inner']}`
1357
+ className: `${styles$7['select-content-bottom-inner']}`
1504
1358
  }, existOptions && existOptions.length > 0 && existOptions.map((option, i) => {
1505
1359
  return /*#__PURE__*/React__default.createElement("div", {
1506
1360
  key: i,
@@ -1509,7 +1363,7 @@ const Select = ({
1509
1363
  onClick: disabled ? _ => _ : _ => handleSelectItem(option),
1510
1364
  onMouseEnter: disabled ? _ => _ : e => handleMouseEnterOption(e),
1511
1365
  onMouseLeave: disabled ? _ => _ : e => handleMouseLeaveOption(e),
1512
- className: `${styles$6['select-content-bottom-row']}`,
1366
+ className: `${styles$7['select-content-bottom-row']}`,
1513
1367
  style: {
1514
1368
  color: optionItemColor ? optionItemColor : configStyles.SELECT.optionItemColor,
1515
1369
  cursor: optionItemCursor ? optionItemCursor : configStyles.SELECT.optionItemCursor,
@@ -1558,7 +1412,6 @@ Select.propTypes = {
1558
1412
  errorSize: PropTypes.string,
1559
1413
  errorColor: PropTypes.string,
1560
1414
  selectedColor: PropTypes.string,
1561
- selectedBorder: PropTypes.string,
1562
1415
  selectedRadius: PropTypes.string,
1563
1416
  selectedMinHeight: PropTypes.string,
1564
1417
  selectedPadding: PropTypes.string,
@@ -1568,7 +1421,6 @@ Select.propTypes = {
1568
1421
  selectedFontWeight: PropTypes.string,
1569
1422
  selectedLineHeight: PropTypes.string,
1570
1423
  selectedTransition: PropTypes.string,
1571
- selectedBorderColor: PropTypes.string,
1572
1424
  optionsBoxShadow: PropTypes.string,
1573
1425
  optionsBorderRadius: PropTypes.string,
1574
1426
  optionsBackgroundColor: PropTypes.string,
@@ -1583,7 +1435,9 @@ Select.propTypes = {
1583
1435
  optionItemLineHeight: PropTypes.string,
1584
1436
  optionItemMarginBottom: PropTypes.string,
1585
1437
  optionItemBackgroudColor: PropTypes.string,
1586
- optionItemBackgroudColorHover: PropTypes.string
1438
+ optionItemBackgroudColorHover: PropTypes.string,
1439
+ boxShadow: PropTypes.string,
1440
+ boxShadowHover: PropTypes.string
1587
1441
  };
1588
1442
 
1589
1443
  const SvgToasterInfo = ({
@@ -1676,9 +1530,9 @@ const SvgToasterSuccess = ({
1676
1530
  fill: "#0DA574"
1677
1531
  }));
1678
1532
 
1679
- var css_248z$7 = "#toaster-module_top-left__q0LcN{left:0;top:1em}#toaster-module_top-right__f-AFL{right:0;top:1em}#toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}#toaster-module_bottom-left__b-YHI{bottom:1em;left:0}#toaster-module_bottom-right__g9ACP{bottom:1em;right:0}#toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_top-left__q0LcN{left:0;top:1em}.toaster-module_top-right__f-AFL{right:0;top:1em}.toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_bottom-left__b-YHI{bottom:1em;left:0}.toaster-module_bottom-right__g9ACP{bottom:1em;right:0}.toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_notify-block__pRnEB{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.toaster-module_bounce-in-right__shR2D{-webkit-animation-name:toaster-module_bounceInRight__rSk5p;animation-name:toaster-module_bounceInRight__rSk5p}.toaster-module_bounce-out-right__48pyA{-webkit-animation-name:toaster-module_bounceOutRight__bmFGS;animation-name:toaster-module_bounceOutRight__bmFGS}@keyframes toaster-module_bounceInRight__rSk5p{0%{opacity:0;right:-100%}60%{opacity:1;right:40px}75%{right:0}90%{right:30px}to{right:20px}}@keyframes toaster-module_bounceOutRight__bmFGS{0%{opacity:1;right:20px}60%{opacity:1;right:60px}to{opacity:0;right:-100%}}.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeft__to59v;animation-name:toaster-module_bounceInLeft__to59v}.toaster-module_bounce-out-left__fDOZw{-webkit-animation-name:toaster-module_bounceOutLeft__k5QgO;animation-name:toaster-module_bounceOutLeft__k5QgO}@keyframes toaster-module_bounceInLeft__to59v{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:20px}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}";
1680
- var styles$5 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO"};
1681
- styleInject(css_248z$7);
1533
+ var css_248z$8 = "#toaster-module_top-left__q0LcN{left:0;top:1em}#toaster-module_top-right__f-AFL{right:0;top:1em}#toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}#toaster-module_bottom-left__b-YHI{bottom:1em;left:0}#toaster-module_bottom-right__g9ACP{bottom:1em;right:0}#toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_top-left__q0LcN{left:0;top:1em}.toaster-module_top-right__f-AFL{right:0;top:1em}.toaster-module_top-center__eVRbc{left:50%;top:1em;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_bottom-left__b-YHI{bottom:1em;left:0}.toaster-module_bottom-right__g9ACP{bottom:1em;right:0}.toaster-module_bottom-center__4KcFe{bottom:1em;left:50%;transform:translateX(-50%);-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%)}.toaster-module_notify-block__pRnEB{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.toaster-module_bounce-in-right__shR2D{-webkit-animation-name:toaster-module_bounceInRight__rSk5p;animation-name:toaster-module_bounceInRight__rSk5p}.toaster-module_bounce-out-right__48pyA{-webkit-animation-name:toaster-module_bounceOutRight__bmFGS;animation-name:toaster-module_bounceOutRight__bmFGS}@keyframes toaster-module_bounceInRight__rSk5p{0%{opacity:0;right:-100%}60%{opacity:1;right:40px}75%{right:0}90%{right:30px}to{right:20px}}@keyframes toaster-module_bounceOutRight__bmFGS{0%{opacity:1;right:20px}60%{opacity:1;right:60px}to{opacity:0;right:-100%}}.toaster-module_bounce-in-left__xoF-M{-webkit-animation-name:toaster-module_bounceInLeft__to59v;animation-name:toaster-module_bounceInLeft__to59v}.toaster-module_bounce-out-left__fDOZw{-webkit-animation-name:toaster-module_bounceOutLeft__k5QgO;animation-name:toaster-module_bounceOutLeft__k5QgO}@keyframes toaster-module_bounceInLeft__to59v{0%{left:-100%;opacity:0}60%{left:40px;opacity:1}75%{left:0}90%{left:30px}to{left:20px}}@keyframes toaster-module_bounceOutLeft__k5QgO{0%{left:20px;opacity:1}60%{left:60px;opacity:1}to{left:-100%;opacity:0}}";
1534
+ var styles$6 = {"top-left":"toaster-module_top-left__q0LcN","top-right":"toaster-module_top-right__f-AFL","top-center":"toaster-module_top-center__eVRbc","bottom-left":"toaster-module_bottom-left__b-YHI","bottom-right":"toaster-module_bottom-right__g9ACP","bottom-center":"toaster-module_bottom-center__4KcFe","notify-block":"toaster-module_notify-block__pRnEB","bounce-in-right":"toaster-module_bounce-in-right__shR2D","bounceInRight":"toaster-module_bounceInRight__rSk5p","bounce-out-right":"toaster-module_bounce-out-right__48pyA","bounceOutRight":"toaster-module_bounceOutRight__bmFGS","bounce-in-left":"toaster-module_bounce-in-left__xoF-M","bounceInLeft":"toaster-module_bounceInLeft__to59v","bounce-out-left":"toaster-module_bounce-out-left__fDOZw","bounceOutLeft":"toaster-module_bounceOutLeft__k5QgO"};
1535
+ styleInject(css_248z$8);
1682
1536
 
1683
1537
  const ToasterType = {
1684
1538
  info: 'info',
@@ -1743,8 +1597,8 @@ const Toast = ({
1743
1597
  justifyContent: 'space-between'
1744
1598
  },
1745
1599
  className: `
1746
- ${styles$5['notify-block']}
1747
- ${position === 'top-left' ? showToaster ? styles$5['bounce-in-left'] : styles$5['bounce-out-left'] : position === 'top-right' ? showToaster ? styles$5['bounce-in-right'] : styles$5['bounce-out-right'] : position === 'top-center' ? showToaster ? styles$5['bounce-in-left'] : styles$5['bounce-out-left'] : position === 'bottom-left' ? showToaster ? styles$5['bounce-in-left'] : styles$5['bounce-out-left'] : position === 'bottom-right' ? showToaster ? styles$5['bounce-in-right'] : styles$5['bounce-out-right'] : position === 'bottom-center' ? showToaster ? styles$5['bounce-in-left'] : styles$5['bounce-out-left'] : ''}
1600
+ ${styles$6['notify-block']}
1601
+ ${position === 'top-left' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : position === 'top-right' ? showToaster ? styles$6['bounce-in-right'] : styles$6['bounce-out-right'] : position === 'top-center' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : position === 'bottom-left' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : position === 'bottom-right' ? showToaster ? styles$6['bounce-in-right'] : styles$6['bounce-out-right'] : position === 'bottom-center' ? showToaster ? styles$6['bounce-in-left'] : styles$6['bounce-out-left'] : ''}
1748
1602
  `
1749
1603
  }, /*#__PURE__*/React__default.createElement("div", {
1750
1604
  style: {
@@ -1840,17 +1694,17 @@ const createToast = ({
1840
1694
  description
1841
1695
  });
1842
1696
  ReactDOM.render(newElem, toastBlock);
1843
- if (!document.getElementById(styles$5[position]) || document.getElementById(styles$5[position]) == null) {
1697
+ if (!document.getElementById(styles$6[position]) || document.getElementById(styles$6[position]) == null) {
1844
1698
  toastParentBlock = document.createElement('div');
1845
1699
  toastParentBlock.style.position = 'fixed';
1846
1700
  toastParentBlock.style.display = 'flex';
1847
1701
  toastParentBlock.style.zIndex = 99999;
1848
1702
  toastParentBlock.style.flexDirection = position === 'top-left' || position === 'top-right' || position === 'top-center' ? 'column-reverse' : 'column';
1849
- toastParentBlock.setAttribute('id', styles$5[position]);
1703
+ toastParentBlock.setAttribute('id', styles$6[position]);
1850
1704
  toastParentBlock.appendChild(toastBlock);
1851
1705
  toastify.appendChild(toastParentBlock);
1852
1706
  } else {
1853
- document.getElementById(styles$5[position]).appendChild(toastBlock);
1707
+ document.getElementById(styles$6[position]).appendChild(toastBlock);
1854
1708
  }
1855
1709
  };
1856
1710
  const toast = {
@@ -1950,9 +1804,9 @@ const SvgTooltip = ({
1950
1804
  fill: "#D1D1D1"
1951
1805
  }));
1952
1806
 
1953
- var css_248z$6 = ".tooltip-module_tooltip-block__v8U9u{align-items:center;display:flex;justify-content:center;position:relative}.tooltip-module_tooltip__emM6A{padding:10px;position:absolute;z-index:1}.tooltip-module_tooltip-rel__to9gq{align-items:center;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;display:flex;height:auto;justify-content:center;min-height:10px;min-width:30px;position:relative;width:auto}.tooltip-module_tooltip-decor__qvt7t{border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;height:10px;position:absolute;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);width:10px;z-index:-1}";
1954
- var styles$4 = {"tooltip-block":"tooltip-module_tooltip-block__v8U9u","tooltip":"tooltip-module_tooltip__emM6A","tooltip-rel":"tooltip-module_tooltip-rel__to9gq","tooltip-decor":"tooltip-module_tooltip-decor__qvt7t"};
1955
- styleInject(css_248z$6);
1807
+ var css_248z$7 = ".tooltip-module_tooltip-block__v8U9u{align-items:center;display:flex;justify-content:center;position:relative}.tooltip-module_tooltip__emM6A{padding:10px;position:absolute;z-index:1}.tooltip-module_tooltip-rel__to9gq{align-items:center;border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;display:flex;height:auto;justify-content:center;min-height:10px;min-width:30px;position:relative;width:auto}.tooltip-module_tooltip-decor__qvt7t{border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;height:10px;position:absolute;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);width:10px;z-index:-1}";
1808
+ var styles$5 = {"tooltip-block":"tooltip-module_tooltip-block__v8U9u","tooltip":"tooltip-module_tooltip__emM6A","tooltip-rel":"tooltip-module_tooltip-rel__to9gq","tooltip-decor":"tooltip-module_tooltip-decor__qvt7t"};
1809
+ styleInject(css_248z$7);
1956
1810
 
1957
1811
  const Tooltip = ({
1958
1812
  type,
@@ -1975,7 +1829,7 @@ const Tooltip = ({
1975
1829
  const [checkTooltipHeight, setCheckTooltipHeight] = useState(0);
1976
1830
  const [showTooltip, setShowTooltip] = useState(false);
1977
1831
  const configStyles = compereConfigs();
1978
- const classProps = classnames(styles$4['tooltip'], className);
1832
+ const classProps = classnames(styles$5['tooltip'], className);
1979
1833
  const handleShow = () => {
1980
1834
  setShowTooltip(!showTooltip);
1981
1835
  };
@@ -1987,7 +1841,7 @@ const Tooltip = ({
1987
1841
  tooltipRef.current && tooltipRef.current.clientHeight && tooltipRef.current.clientHeight > 0 && setCheckTooltipHeight(tooltipRef.current.clientHeight);
1988
1842
  }, [text, tooltipRef, checkTooltipWidth, checkTooltipHeight]);
1989
1843
  return /*#__PURE__*/React__default.createElement("div", {
1990
- className: `${styles$4['tooltip-block']}`,
1844
+ className: `${styles$5['tooltip-block']}`,
1991
1845
  style: {
1992
1846
  width: width ? width : configStyles.TOOLTIP.width,
1993
1847
  height: height ? height : configStyles.TOOLTIP.height,
@@ -2005,9 +1859,9 @@ const Tooltip = ({
2005
1859
  left: type === 'top' || type === 'bottom' ? `calc(50% - ${checkTooltipWidth / 2}px)` : type === 'left' ? `-${checkTooltipWidth + 7}px` : type === 'right' ? 'calc(100% + 7px)' : '0px'
2006
1860
  }
2007
1861
  }, /*#__PURE__*/React__default.createElement("div", {
2008
- className: `${styles$4['tooltip-rel']}`
1862
+ className: `${styles$5['tooltip-rel']}`
2009
1863
  }, /*#__PURE__*/React__default.createElement("div", {
2010
- className: `${styles$4['tooltip-decor']}`,
1864
+ className: `${styles$5['tooltip-decor']}`,
2011
1865
  style: {
2012
1866
  backgroundColor: tooltipBackgroundColor ? tooltipBackgroundColor : configStyles.TOOLTIP.tooltipBackgroundColor,
2013
1867
  left: type === 'top' || type === 'bottom' ? 'calc(50% - 5px)' : type === 'right' ? '-15px' : type === 'left' ? 'calc(100% + 5px)' : '0px',
@@ -2082,9 +1936,9 @@ const SvgCaptchaArrowDown = ({
2082
1936
  fill: "#00236A"
2083
1937
  }));
2084
1938
 
2085
- var css_248z$5 = ".captcha-module_start-point__LkOqy:after{background-color:#d1d1d1;border:2px solid #fff;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;content:\"\";height:10px;left:0;position:absolute;top:7.5px;width:10px;z-index:-1}.captcha-module_range__k24I2{-webkit-appearance:none;margin:0}.captcha-module_range__k24I2::-webkit-slider-runnable-track{-webkit-appearance:none;width:100%}.captcha-module_range-default__-O0QD::-webkit-slider-thumb{background-image:url(../../assets/range-arrow-default.svg)}.captcha-module_range-default__-O0QD::-webkit-slider-thumb,.captcha-module_range-error__FKMfG::-webkit-slider-thumb{-webkit-appearance:none;background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}.captcha-module_range-error__FKMfG::-webkit-slider-thumb{background-image:url(../../assets/range-arrow-error.svg)}.captcha-module_range-success__VzLPq::-webkit-slider-thumb{-webkit-appearance:none;background-image:url(../../assets/range-arrow-success.svg);background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}";
2086
- var styles$3 = {"start-point":"captcha-module_start-point__LkOqy","range":"captcha-module_range__k24I2","range-default":"captcha-module_range-default__-O0QD","range-error":"captcha-module_range-error__FKMfG","range-success":"captcha-module_range-success__VzLPq"};
2087
- styleInject(css_248z$5);
1939
+ var css_248z$6 = ".captcha-module_start-point__LkOqy:after{background-color:#d1d1d1;border:2px solid #fff;border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;content:\"\";height:10px;left:0;position:absolute;top:7.5px;width:10px;z-index:-1}.captcha-module_range__k24I2{-webkit-appearance:none;margin:0}.captcha-module_range__k24I2::-webkit-slider-runnable-track{-webkit-appearance:none;width:100%}.captcha-module_range-default__-O0QD::-webkit-slider-thumb{background-image:url(../../assets/range-arrow-default.svg)}.captcha-module_range-default__-O0QD::-webkit-slider-thumb,.captcha-module_range-error__FKMfG::-webkit-slider-thumb{-webkit-appearance:none;background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}.captcha-module_range-error__FKMfG::-webkit-slider-thumb{background-image:url(../../assets/range-arrow-error.svg)}.captcha-module_range-success__VzLPq::-webkit-slider-thumb{-webkit-appearance:none;background-image:url(../../assets/range-arrow-success.svg);background-position:-5px;background-repeat:no-repeat;background-size:46px 46px;border-radius:17px;-webkit-border-radius:17px;-moz-border-radius:17px;-ms-border-radius:17px;-o-border-radius:17px;cursor:ew-resize;height:34px;width:34px}";
1940
+ var styles$4 = {"start-point":"captcha-module_start-point__LkOqy","range":"captcha-module_range__k24I2","range-default":"captcha-module_range-default__-O0QD","range-error":"captcha-module_range-error__FKMfG","range-success":"captcha-module_range-success__VzLPq"};
1941
+ styleInject(css_248z$6);
2088
1942
 
2089
1943
  const Captcha = ({
2090
1944
  size,
@@ -2147,7 +2001,7 @@ const Captcha = ({
2147
2001
  alignItems: 'center',
2148
2002
  zIndex: 1
2149
2003
  },
2150
- className: styles$3['start-point']
2004
+ className: styles$4['start-point']
2151
2005
  }, /*#__PURE__*/React__default.createElement("div", {
2152
2006
  style: {
2153
2007
  position: 'absolute',
@@ -2174,8 +2028,8 @@ const Captcha = ({
2174
2028
  backgroundColor: 'transparent'
2175
2029
  },
2176
2030
  className: `
2177
- ${styles$3['range']}
2178
- ${+rangeProgress === rangeNumber ? styles$3['range-success'] : +rangeProgress !== rangeNumber && +rangeProgress > 0 ? styles$3['range-error'] : styles$3['range-default']}
2031
+ ${styles$4['range']}
2032
+ ${+rangeProgress === rangeNumber ? styles$4['range-success'] : +rangeProgress !== rangeNumber && +rangeProgress > 0 ? styles$4['range-error'] : styles$4['range-default']}
2179
2033
  `,
2180
2034
  onInput: handleRange
2181
2035
  }), /*#__PURE__*/React__default.createElement("div", {
@@ -2206,9 +2060,9 @@ Captcha.propTypes = {
2206
2060
  getRange: PropTypes.func.isRequired
2207
2061
  };
2208
2062
 
2209
- var css_248z$4 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;cursor:pointer;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
2210
- var styles$2 = {"stepper-container":"stepper-module_stepper-container__-OVGy","bigRing":"stepper-module_bigRing__5GBm0","activeRing":"stepper-module_activeRing__Lzvh1","smallRing":"stepper-module_smallRing__u-5a8","smallActiveRing":"stepper-module_smallActiveRing__im-XG"};
2211
- styleInject(css_248z$4);
2063
+ var css_248z$5 = ".stepper-module_stepper-container__-OVGy>div:last-child:before{display:none}.stepper-module_activeRing__Lzvh1,.stepper-module_bigRing__5GBm0{border-radius:50%;cursor:pointer;height:36px;margin-bottom:36px;position:relative;width:36px}.stepper-module_bigRing__5GBm0{box-shadow:0 0 0 2px #d1d1d1}.stepper-module_bigRing__5GBm0:before{background:#d1d1d1}.stepper-module_activeRing__Lzvh1{box-shadow:0 0 0 2px #00236a}.stepper-module_activeRing__Lzvh1:before{background:#00236a}.stepper-module_activeRing__Lzvh1:before,.stepper-module_bigRing__5GBm0:before{border-radius:20px;bottom:-32px;content:\"\";height:28px;left:0;margin:auto;overflow:hidden;position:absolute;right:0;width:2px}.stepper-module_smallActiveRing__im-XG,.stepper-module_smallRing__u-5a8{border-radius:50%;bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.stepper-module_smallRing__u-5a8{background-color:#d1d1d1;height:14px;width:14px}.stepper-module_smallActiveRing__im-XG{align-items:center;background-color:#00236a;color:#fff;display:flex;height:28px;justify-content:center;width:28px}";
2064
+ var styles$3 = {"stepper-container":"stepper-module_stepper-container__-OVGy","bigRing":"stepper-module_bigRing__5GBm0","activeRing":"stepper-module_activeRing__Lzvh1","smallRing":"stepper-module_smallRing__u-5a8","smallActiveRing":"stepper-module_smallActiveRing__im-XG"};
2065
+ styleInject(css_248z$5);
2212
2066
 
2213
2067
  const Stepper = ({
2214
2068
  className,
@@ -2218,15 +2072,15 @@ const Stepper = ({
2218
2072
  }) => {
2219
2073
  classnames(className, 'stepper-inner-rem');
2220
2074
  return /*#__PURE__*/React__default.createElement("div", {
2221
- className: `${styles$2['stepper-container']} stepper-container-rem`
2075
+ className: `${styles$3['stepper-container']} stepper-container-rem`
2222
2076
  }, (() => {
2223
2077
  let steppers = [];
2224
2078
  for (let step = 1; step <= stepLength; step++) {
2225
2079
  steppers.push( /*#__PURE__*/React__default.createElement("div", {
2226
- className: classnames(`${step <= activeSteps ? styles$2.activeRing : styles$2.bigRing}`),
2080
+ className: classnames(`${step <= activeSteps ? styles$3.activeRing : styles$3.bigRing}`),
2227
2081
  key: step
2228
2082
  }, /*#__PURE__*/React__default.createElement("div", {
2229
- className: classnames(`${step <= activeSteps ? styles$2.smallActiveRing : styles$2.smallRing}`)
2083
+ className: classnames(`${step <= activeSteps ? styles$3.smallActiveRing : styles$3.smallRing}`)
2230
2084
  }, step <= activeSteps ? step : "")));
2231
2085
  }
2232
2086
  return steppers;
@@ -2705,7 +2559,7 @@ const NewFile = ({
2705
2559
  };
2706
2560
  const handleRemoveFile = () => {
2707
2561
  setImage(null);
2708
- removeFile(singleFile);
2562
+ removeFile && removeFile(singleFile);
2709
2563
  };
2710
2564
  const handleChange = e => {
2711
2565
  const file = e.target.files;
@@ -2813,7 +2667,10 @@ const NewFile = ({
2813
2667
  if (multiple) {
2814
2668
  setSingleFile(null);
2815
2669
  }
2816
- }, [multiple, filesArray && filesArray.length, defaultData]);
2670
+ if (multiple && !removeFile) {
2671
+ alert('Please add removeFile prop on NewFile component, it is a require in multiple mode');
2672
+ }
2673
+ }, [multiple, removeFile, filesArray && filesArray.length, defaultData]);
2817
2674
  useEffect(() => {
2818
2675
  if (errorMessage) {
2819
2676
  setError(errorMessage);
@@ -2825,10 +2682,7 @@ const NewFile = ({
2825
2682
  if (!change) {
2826
2683
  alert('Please add change prop on File component');
2827
2684
  }
2828
- if (!removeFile) {
2829
- alert('Please add removeFile prop on File component');
2830
- }
2831
- }, [change, removeFile]);
2685
+ }, [change]);
2832
2686
  return /*#__PURE__*/React__default.createElement("div", {
2833
2687
  ref: ref,
2834
2688
  style: {
@@ -2961,7 +2815,7 @@ const NewFile = ({
2961
2815
  status: item.status,
2962
2816
  size: item.file.size,
2963
2817
  name: item.file.name,
2964
- removeFile: removeFile,
2818
+ removeFile: removeFile ? removeFile : _ => _,
2965
2819
  radius: radius ? radius : configStyles.File.radius,
2966
2820
  fileFormat: item.file.type.split('/')[1].toLowerCase(),
2967
2821
  progressColor: progressColor ? progressColor : configStyles.File.progressColor,
@@ -2993,6 +2847,7 @@ NewFile.propTypes = {
2993
2847
  upload: PropTypes.string,
2994
2848
  weight: PropTypes.number,
2995
2849
  maxSize: PropTypes.number,
2850
+ removeFile: PropTypes.func,
2996
2851
  errorSize: PropTypes.string,
2997
2852
  labelSize: PropTypes.string,
2998
2853
  labelColor: PropTypes.string,
@@ -3019,7 +2874,6 @@ NewFile.propTypes = {
3019
2874
  progressTrackColor: PropTypes.string,
3020
2875
  fileAreaImageWidth: PropTypes.string,
3021
2876
  listItemErrorColor: PropTypes.string,
3022
- removeFile: PropTypes.func.isRequired,
3023
2877
  fileAreaImageHeight: PropTypes.string,
3024
2878
  progressFailedColor: PropTypes.string,
3025
2879
  progressSuccessColor: PropTypes.string,
@@ -3032,10 +2886,98 @@ NewFile.propTypes = {
3032
2886
  fileExtensions: PropTypes.arrayOf(PropTypes.string)
3033
2887
  };
3034
2888
  NewFile.defaultProps = {
3035
- maxSize: 50,
2889
+ maxSize: 10,
3036
2890
  fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
3037
2891
  };
3038
2892
 
2893
+ var css_248z$4 = ".checkbox-module_checkbox-wrap__Xrg-m{align-items:center;cursor:pointer;display:inline-flex;flex-direction:row;flex-wrap:nowrap;margin:0 6px;padding-left:24px;position:relative}.checkbox-module_checkbox-wrap__Xrg-m>input{height:0;opacity:0;position:absolute;width:0}.checkbox-module_checkbox-wrap__Xrg-m .checkbox-module_checkmark__M8DY6{border:1px solid #d9d9d9;border-radius:3px;bottom:0;display:inline-block;height:14px;left:0;margin:auto 4px auto auto;position:absolute;top:0;transition:border-color .24s;vertical-align:top;width:14px}.checkbox-module_checkbox-wrap__Xrg-m>.checkbox-module_checkmark__M8DY6:after{border:solid #1890ff;border-width:0 2px 2px 0;content:\"\";display:block;height:8px;left:4px;opacity:0;position:absolute;top:1px;transform:rotate(45deg);transition:opacity .24s;width:4px}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6:after{opacity:1}.checkbox-module_checkbox-wrap__Xrg-m input:checked~.checkbox-module_checkmark__M8DY6,.checkbox-module_checkbox-wrap__Xrg-m:hover input~.checkbox-module_checkmark__M8DY6{border-color:#1890ff}";
2894
+ var styles$2 = {"checkbox-wrap":"checkbox-module_checkbox-wrap__Xrg-m","checkmark":"checkbox-module_checkmark__M8DY6"};
2895
+ styleInject(css_248z$4);
2896
+
2897
+ const Checkbox = ({
2898
+ disabled,
2899
+ required,
2900
+ className,
2901
+ name,
2902
+ value,
2903
+ jsonData,
2904
+ onChange,
2905
+ label,
2906
+ keyNames,
2907
+ onClick,
2908
+ ...props
2909
+ }) => {
2910
+ const classProps = classnames(styles$2.checkbox, className, 'checkbox-input-rem');
2911
+ const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
2912
+ const [data, setData] = useState(parseData);
2913
+ useEffect(() => {
2914
+ const parseData = jsonData.length !== 0 ? JSON.parse(jsonData) : [];
2915
+ setData(parseData);
2916
+ }, [jsonData]);
2917
+ useEffect(() => {
2918
+ onChange ? onChange(data.filter(d => d.checked)) : '';
2919
+ }, [data]);
2920
+ const handleChange = e => {
2921
+ let id;
2922
+ data.forEach((value, key) => {
2923
+ if (value[keyNames.value] === e.target.value) {
2924
+ id = key;
2925
+ }
2926
+ });
2927
+ let items = [...data];
2928
+ let item = {
2929
+ ...items[id]
2930
+ };
2931
+ item.checked = !item.checked;
2932
+ items[id] = item;
2933
+ setData(items);
2934
+ };
2935
+ !keyNames ? keyNames = {
2936
+ id: 'id',
2937
+ name: 'name',
2938
+ value: 'value',
2939
+ label: 'label'
2940
+ } : '';
2941
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, data.map(element => {
2942
+ return /*#__PURE__*/React__default.createElement("label", {
2943
+ className: `${styles$2["checkbox-wrap"]} checkbox-wrap-rem`,
2944
+ key: element.value
2945
+ }, /*#__PURE__*/React__default.createElement("input", _extends({
2946
+ type: "checkbox",
2947
+ className: classProps,
2948
+ disabled: disabled,
2949
+ required: required,
2950
+ value: keyNames.value ? element[keyNames.value] : '',
2951
+ name: keyNames.name ? element[keyNames.name] : '',
2952
+ id: keyNames.id ? element[keyNames.id] : '',
2953
+ onChange: handleChange,
2954
+ onClick: onClick ? onClick : () => {},
2955
+ defaultChecked: element.checked
2956
+ }, props)), /*#__PURE__*/React__default.createElement("span", {
2957
+ className: `${styles$2["checkmark"]} checkmark-rem`
2958
+ }), element[keyNames.label] ? /*#__PURE__*/React__default.createElement("label", {
2959
+ className: styles$2.labelCheckbox,
2960
+ for: element[keyNames.id]
2961
+ }, element[keyNames.label]) : "");
2962
+ }));
2963
+ };
2964
+ Checkbox.propTypes = {
2965
+ className: PropTypes.string,
2966
+ onChange: PropTypes.func,
2967
+ onClick: PropTypes.func,
2968
+ required: PropTypes.bool,
2969
+ disabled: PropTypes.bool,
2970
+ name: PropTypes.string,
2971
+ value: PropTypes.string,
2972
+ jsonData: PropTypes.string,
2973
+ label: PropTypes.string,
2974
+ keyNames: PropTypes.object
2975
+ };
2976
+ Checkbox.defaultProps = {
2977
+ onChange: undefined,
2978
+ jsonData: '[{"value":"email", "name":"contact1", "label":"Email", "id":"contactChoice1"}, {"value":"phone", "name":"contact2", "label":"Phone", "id":"contactChoice2"}]'
2979
+ };
2980
+
3039
2981
  var css_248z$3 = "textarea::-webkit-scrollbar{width:6px}textarea::-webkit-scrollbar-track{background:#eee}textarea::-webkit-scrollbar-thumb,textarea::-webkit-scrollbar-track{border-radius:3px;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px}textarea::-webkit-scrollbar-thumb{background:#d1d1d1}";
3040
2982
  styleInject(css_248z$3);
3041
2983
 
@@ -3746,7 +3688,6 @@ const NewAutocomplete = ({
3746
3688
  contentTopDirection,
3747
3689
  contentTopBoxSizing,
3748
3690
  contentTopLineHeight,
3749
- contentTopBorderColor,
3750
3691
  contentBottomMaxWidth,
3751
3692
  contentBottomOverflow,
3752
3693
  contentBottomPosition,
@@ -3765,8 +3706,8 @@ const NewAutocomplete = ({
3765
3706
  contentBottomRowAlignItems,
3766
3707
  contentBottomRowTransition,
3767
3708
  contentBottomRowHoverColor,
3768
- contentTopBorderHoverColor,
3769
- contentTopBorderActiveColor,
3709
+ contentTopBorderHover,
3710
+ contentTopBorderActive,
3770
3711
  contentBottomInnerOverflowY,
3771
3712
  contentBottomInnerOverflowX,
3772
3713
  contentBottomInnerMaxHeight,
@@ -3943,13 +3884,14 @@ const NewAutocomplete = ({
3943
3884
  placeholder: placeHolder ? placeHolder : '',
3944
3885
  autoComplete: autoComplete ? autoComplete : configStyles.NEWAUTOCOMPLETE.autoComplete,
3945
3886
  style: {
3887
+ border: 'none',
3888
+ outline: 'none',
3946
3889
  maxWidth: '100%',
3947
3890
  transition: 'all 240ms',
3948
3891
  cursor: disabled ? 'not-allowed' : 'auto',
3949
3892
  color: contentTopColor ? contentTopColor : configStyles.NEWAUTOCOMPLETE.contentTopColor,
3950
3893
  fontSize: contentTopSize ? contentTopSize : configStyles.NEWAUTOCOMPLETE.contentTopSize,
3951
3894
  height: contentTopHeight ? contentTopHeight : configStyles.NEWAUTOCOMPLETE.contentTopHeight,
3952
- border: contentTopBorder ? contentTopBorder : configStyles.NEWAUTOCOMPLETE.contentTopBorder,
3953
3895
  padding: contentTopPadding ? contentTopPadding : configStyles.NEWAUTOCOMPLETE.contentTopPadding,
3954
3896
  display: contentTopDisplay ? contentTopDisplay : configStyles.NEWAUTOCOMPLETE.contentTopDisplay,
3955
3897
  fontWeight: contentTopWeight ? contentTopWeight : configStyles.NEWAUTOCOMPLETE.contentTopWeight,
@@ -3957,7 +3899,7 @@ const NewAutocomplete = ({
3957
3899
  boxSizing: contentTopBoxSizing ? contentTopBoxSizing : configStyles.NEWAUTOCOMPLETE.contentTopBoxSizing,
3958
3900
  lineHeight: contentTopLineHeight ? contentTopLineHeight : configStyles.NEWAUTOCOMPLETE.contentTopLineHeight,
3959
3901
  flexDirection: contentTopDirection ? contentTopDirection : configStyles.NEWAUTOCOMPLETE.contentTopDirection,
3960
- borderColor: errorMessage ? errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor : isFocus ? contentTopBorderActiveColor ? contentTopBorderActiveColor : configStyles.NEWAUTOCOMPLETE.contentTopBorderActiveColor : isHover ? contentTopBorderHoverColor ? contentTopBorderHoverColor : configStyles.NEWAUTOCOMPLETE.contentTopBorderHoverColor : contentTopBorderColor ? contentTopBorderColor : configStyles.NEWAUTOCOMPLETE.contentTopBorderColor
3902
+ boxShadow: errorMessage ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.NEWAUTOCOMPLETE.errorColor}` : isFocus ? contentTopBorderActive ? contentTopBorderActive : configStyles.NEWAUTOCOMPLETE.contentTopBorderActive : isHover ? contentTopBorderHover ? contentTopBorderHover : configStyles.NEWAUTOCOMPLETE.contentTopBorderHover : contentTopBorder ? contentTopBorder : configStyles.NEWAUTOCOMPLETE.contentTopBorder
3961
3903
  }
3962
3904
  }, props)), errorMessage ? /*#__PURE__*/React__default.createElement("span", {
3963
3905
  style: {
@@ -4011,7 +3953,7 @@ NewAutocomplete.propTypes = {
4011
3953
  contentBottomZindex: PropTypes.number,
4012
3954
  contentBottomRadius: PropTypes.string,
4013
3955
  contentTopLineHeight: PropTypes.string,
4014
- contentTopBorderColor: PropTypes.string,
3956
+ contentTopBorderHover: PropTypes.string,
4015
3957
  contentBottomRowColor: PropTypes.string,
4016
3958
  contentBottomMaxWidth: PropTypes.string,
4017
3959
  contentBottomOverflow: PropTypes.string,
@@ -4020,6 +3962,7 @@ NewAutocomplete.propTypes = {
4020
3962
  contentBottomBoxShadow: PropTypes.string,
4021
3963
  contentBottomRowHeight: PropTypes.string,
4022
3964
  contentBottomRowCursor: PropTypes.string,
3965
+ contentTopBorderActive: PropTypes.string,
4023
3966
  contentBottomRowDisplay: PropTypes.string,
4024
3967
  contentBottomRowPadding: PropTypes.string,
4025
3968
  contentBottomRowFontSize: PropTypes.string,
@@ -4030,8 +3973,6 @@ NewAutocomplete.propTypes = {
4030
3973
  contentBottomRowAlignItems: PropTypes.string,
4031
3974
  contentBottomRowTransition: PropTypes.string,
4032
3975
  contentBottomRowHoverColor: PropTypes.string,
4033
- contentTopBorderHoverColor: PropTypes.string,
4034
- contentTopBorderActiveColor: PropTypes.string,
4035
3976
  contentBottomInnerOverflowY: PropTypes.string,
4036
3977
  contentBottomInnerOverflowX: PropTypes.string,
4037
3978
  contentBottomInnerMaxHeight: PropTypes.string,
@@ -4046,4 +3987,4 @@ NewAutocomplete.defaultProps = {
4046
3987
  disabled: false
4047
3988
  };
4048
3989
 
4049
- export { Autocomplate, Button, Captcha, Checkbox, File, Input, InputTypes, Modal, NewAutocomplete, NewFile, Pagination, Radio, Select, SingleCheckbox, Stepper, Table, Textarea, Toaster, Tooltip, Typography, TypographyType, toast };
3990
+ export { Autocomplate, Button, Captcha, Checkbox, File, Input, InputTypes, Modal, NewAutocomplete, NewFile, Pagination, Radio, Select, SingleCheckbox, Stepper, Textarea, Toaster, Tooltip, Typography, TypographyType, toast };