@xaypay/tui 0.0.80 → 0.0.82

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/index.es.js +220 -146
  2. package/dist/index.js +220 -146
  3. package/package.json +1 -1
  4. package/src/assets/attach.svg +4 -0
  5. package/src/assets/delete.svg +4 -0
  6. package/src/assets/down-arrow.svg +4 -0
  7. package/src/assets/minus.svg +4 -0
  8. package/src/assets/plus.svg +4 -0
  9. package/src/assets/up-arrow.svg +4 -0
  10. package/src/components/icon/Arrow.js +2 -2
  11. package/src/components/icon/CaptchaArrowDown.js +2 -2
  12. package/src/components/icon/CaptchaArrowUp.js +2 -2
  13. package/src/components/icon/CheckboxChecked.js +2 -2
  14. package/src/components/icon/CheckboxUnchecked.js +2 -2
  15. package/src/components/icon/Close.js +2 -2
  16. package/src/components/icon/CloseIcon.js +2 -2
  17. package/src/components/icon/CloseSlide.js +2 -2
  18. package/src/components/icon/DeleteComponent.js +2 -2
  19. package/src/components/icon/Dots.js +2 -2
  20. package/src/components/icon/HeartFilled.js +2 -2
  21. package/src/components/icon/HeartOutline.js +2 -2
  22. package/src/components/icon/ListItemDelete.js +2 -2
  23. package/src/components/icon/ListItemJpeg.js +2 -2
  24. package/src/components/icon/ListItemJpg.js +2 -2
  25. package/src/components/icon/ListItemPdf.js +2 -2
  26. package/src/components/icon/ListItemPng.js +2 -2
  27. package/src/components/icon/Next.js +2 -2
  28. package/src/components/icon/Nextarrow.js +2 -2
  29. package/src/components/icon/PDF.js +2 -2
  30. package/src/components/icon/Prev.js +2 -2
  31. package/src/components/icon/RangeArrowDefault.js +2 -2
  32. package/src/components/icon/RangeArrowError.js +2 -2
  33. package/src/components/icon/RangeArrowSuccess.js +2 -2
  34. package/src/components/icon/RemoveFile.js +2 -2
  35. package/src/components/icon/ToasterClose.js +2 -2
  36. package/src/components/icon/ToasterError.js +2 -2
  37. package/src/components/icon/ToasterInfo.js +2 -2
  38. package/src/components/icon/ToasterSuccess.js +2 -2
  39. package/src/components/icon/ToasterWarning.js +2 -2
  40. package/src/components/icon/Tooltip.js +2 -2
  41. package/src/components/icon/Upload.js +2 -2
  42. package/src/components/input/index.js +11 -21
  43. package/src/components/modal/index.js +28 -20
  44. package/src/components/modal/modal.stories.js +1 -1
  45. package/src/components/newAutocomplete/index.js +9 -5
  46. package/src/components/newFile/index.js +4 -3
  47. package/src/components/select/index.js +9 -2
  48. package/src/components/singleCheckbox/index.js +27 -5
  49. package/src/components/table/index.js +70 -97
  50. package/src/components/table/table.module.css +28 -0
  51. package/src/components/table/table.stories.js +391 -172
  52. package/src/components/table/td.js +133 -0
  53. package/src/components/table/th.js +55 -0
  54. package/src/components/textarea/index.js +21 -15
  55. package/src/components/textarea/textarea.stories.js +4 -0
  56. package/src/stories/configuration.stories.mdx +17 -5
  57. package/tui.config.js +18 -7
package/dist/index.js CHANGED
@@ -53,6 +53,7 @@ function _extends() {
53
53
  const SvgPdf = ({
54
54
  title,
55
55
  titleId,
56
+ fillColor,
56
57
  ...props
57
58
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
58
59
  width: "40",
@@ -65,7 +66,7 @@ const SvgPdf = ({
65
66
  id: titleId
66
67
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
67
68
  d: "M39.1304 13.1106V36.2849V36.2853C39.394 36.4388 39.6133 36.6599 39.7659 36.9263C39.9189 37.1931 39.9992 37.4956 40 37.8037V47.5932C39.9984 48.7614 39.54 49.8816 38.7252 50.7079C37.91 51.5337 36.8048 51.9984 35.6522 52H4.34783C3.19523 51.9984 2.09005 51.5338 1.27483 50.7079C0.460015 49.8816 0.0015528 48.7614 0 47.5932V34.7817C0.000775155 34.4736 0.0815204 34.1714 0.234087 33.9051C0.386643 33.6383 0.605983 33.4176 0.869565 33.2641V3.52545C0.869565 2.5906 1.23602 1.69387 1.8882 1.03245C2.54072 0.371431 3.42547 0 4.34783 0H26.1953L39.1304 13.1106ZM13.872 45.3893C14.6037 45.4385 15.3293 45.2261 15.9225 44.7893C16.4303 44.3463 16.7036 43.6872 16.6605 43.0096C16.671 42.6272 16.598 42.2471 16.4478 41.8965C16.3154 41.6026 16.1136 41.3464 15.8597 41.1509C15.5976 40.9542 15.2991 40.8137 14.9816 40.7385C14.6225 40.6512 14.2541 40.6083 13.8849 40.6115H11.0258V48.4741H12.6849V45.3893H13.872ZM22.6954 47.4563C23.0149 47.1041 23.2498 46.6815 23.3814 46.2224C23.5347 45.6809 23.6084 45.1195 23.5999 44.5564C23.6065 44.008 23.5362 43.4614 23.3918 42.933C23.2672 42.477 23.0475 42.0532 22.7474 41.6904C22.4465 41.3379 22.0669 41.064 21.6398 40.8917C21.1305 40.6934 20.5882 40.5982 20.0432 40.6116H17.506V48.4821H20.0642C21.0475 48.5494 22.0103 48.1743 22.6954 47.4563ZM26.1252 42.05H29.4956L29.4956 40.6115H24.4661V48.4804L26.1287 48.4808V45.1068L28.6505 45.0962L28.64 43.6577H26.1252V42.05ZM18.3352 36.0407H37.3911L37.3908 14.3567H28.4428C27.5205 14.3567 26.6358 13.9852 25.9836 13.3238C25.331 12.6628 24.9646 11.7661 24.9646 10.8312V1.76186H4.34743C3.88625 1.76186 3.4437 1.94758 3.11762 2.27808C2.79153 2.60859 2.6083 3.05715 2.6083 3.52458V33.0185H14.9392C15.4408 33.0185 15.9179 33.238 16.2482 33.6205L18.3352 36.0407ZM6.08594 13.7151C6.08594 13.2283 6.48054 12.8337 6.9673 12.8337H20.6043C21.0911 12.8337 21.4857 13.2283 21.4857 13.7151C21.4857 14.2019 21.0911 14.5965 20.6043 14.5965H6.9673C6.48054 14.5965 6.08594 14.2019 6.08594 13.7151ZM18.5137 25.3369C18.5137 24.8502 18.9083 24.4556 19.395 24.4556H33.0321C33.5188 24.4556 33.9134 24.8502 33.9134 25.3369C33.9134 25.8237 33.5188 26.2183 33.0321 26.2183H19.395C18.9083 26.2183 18.5137 25.8237 18.5137 25.3369ZM6.9673 16.7056C6.48054 16.7056 6.08594 17.1002 6.08594 17.5869C6.08594 18.0737 6.48054 18.4683 6.9673 18.4683H33.0307C33.5174 18.4683 33.912 18.0737 33.912 17.5869C33.912 17.1002 33.5174 16.7056 33.0307 16.7056H6.9673ZM6.08594 21.4618C6.08594 20.975 6.48054 20.5804 6.9673 20.5804H33.0307C33.5174 20.5804 33.912 20.975 33.912 21.4618C33.912 21.9486 33.5174 22.3432 33.0307 22.3432H6.9673C6.48054 22.3432 6.08594 21.9486 6.08594 21.4618ZM21.4704 42.6691C21.1241 42.239 20.5919 42.0085 20.0457 42.0521H19.166V47.0441H20.0251C20.352 47.0567 20.6773 46.9886 20.9727 46.8469C21.213 46.7226 21.4156 46.5345 21.5589 46.3032C21.7076 46.0577 21.8089 45.7862 21.8582 45.5029C21.9164 45.1846 21.9455 44.8615 21.9451 44.5377C21.951 44.1698 21.9106 43.8023 21.8252 43.4446C21.758 43.1653 21.6373 42.9016 21.4704 42.6691ZM13.7445 42.0508C14.085 42.0213 14.4258 42.1008 14.7193 42.2782C14.8136 42.3518 14.8858 42.4501 14.9282 42.5627C14.9825 42.7134 15.0077 42.8731 15.0019 43.0333C15.0093 43.1969 14.9728 43.3594 14.8967 43.5039C14.8311 43.6211 14.7352 43.7175 14.6195 43.7832C14.4961 43.8525 14.361 43.8981 14.2212 43.9182C14.0636 43.9426 13.9041 43.9548 13.7445 43.9544H12.6855V42.0508H13.7445Z",
68
- fill: "#00236A"
69
+ fill: fillColor ? fillColor : '#00236A'
69
70
  }));
70
71
 
71
72
  function styleInject(css, ref) {
@@ -95,9 +96,9 @@ function styleInject(css, ref) {
95
96
  }
96
97
  }
97
98
 
98
- 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)}";
99
+ 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)}";
99
100
  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"};
100
- styleInject(css_248z$d);
101
+ styleInject(css_248z$e);
101
102
 
102
103
  const File = ({
103
104
  name,
@@ -219,6 +220,87 @@ File.defaultProps = {
219
220
  fileExtensions: ['jpg', 'jpeg', 'png', 'pdf']
220
221
  };
221
222
 
223
+ const SvgCheckboxUnchecked = ({
224
+ title,
225
+ titleId,
226
+ fillColor,
227
+ ...props
228
+ }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
229
+ width: "16",
230
+ height: "16",
231
+ viewBox: "0 0 16 16",
232
+ fill: "none",
233
+ xmlns: "http://www.w3.org/2000/svg",
234
+ "aria-labelledby": titleId
235
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
236
+ id: titleId
237
+ }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
238
+ fillRule: "evenodd",
239
+ clipRule: "evenodd",
240
+ d: "M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z",
241
+ fill: fillColor ? fillColor : '#D1D1D1'
242
+ }));
243
+
244
+ const SvgCheckboxChecked = ({
245
+ title,
246
+ titleId,
247
+ fillColor,
248
+ ...props
249
+ }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
250
+ width: "16",
251
+ height: "16",
252
+ viewBox: "0 0 16 16",
253
+ fill: "none",
254
+ xmlns: "http://www.w3.org/2000/svg",
255
+ "aria-labelledby": titleId
256
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
257
+ id: titleId
258
+ }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
259
+ fillRule: "evenodd",
260
+ clipRule: "evenodd",
261
+ d: "M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z",
262
+ fill: fillColor ? fillColor : '#00236A'
263
+ }));
264
+
265
+ const SingleCheckbox = ({
266
+ id,
267
+ float,
268
+ checked,
269
+ onClick,
270
+ content,
271
+ disabled,
272
+ checkedColor,
273
+ unCheckedColor
274
+ }) => {
275
+ const [innerCheckd, setInnerChecked] = React.useState(false);
276
+ React.useEffect(() => {
277
+ setInnerChecked(checked);
278
+ }, [checked]);
279
+ return /*#__PURE__*/React__default["default"].createElement("div", {
280
+ style: {
281
+ width: '16px',
282
+ height: '16px',
283
+ marginRight: '9px',
284
+ display: 'inline-block',
285
+ float: float ? float : '',
286
+ cursor: !disabled && onClick ? 'pointer' : 'normal'
287
+ }
288
+ }, innerCheckd ? /*#__PURE__*/React__default["default"].createElement(SvgCheckboxChecked, {
289
+ onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
290
+ fillColor: checkedColor ? checkedColor : ''
291
+ }) : /*#__PURE__*/React__default["default"].createElement(SvgCheckboxUnchecked, {
292
+ onClick: !disabled && onClick ? e => onClick(e, content, id) : _ => _,
293
+ fillColor: unCheckedColor ? unCheckedColor : ''
294
+ }));
295
+ };
296
+ SingleCheckbox.propTypes = {
297
+ disabled: PropTypes__default["default"].bool,
298
+ checked: PropTypes__default["default"].bool.isRequired
299
+ };
300
+
301
+ var css_248z$d = ".table-module_sorting-arrows__BaN-G:after{content:\"▲\";font-size:11px;position:absolute;right:0;top:calc(50% - 12px)}.table-module_sorting-arrows__BaN-G:before{bottom:calc(50% - 12px);content:\"▼\";font-size:11px;position:absolute;right:0}.table-module_td-span__XHo6k{cursor:pointer;display:inline-block;position:relative}.table-module_td-span__XHo6k>svg{left:0;position:absolute;top:0;z-index:-1}";
302
+ styleInject(css_248z$d);
303
+
222
304
  const _ = require('lodash');
223
305
  const compereConfigs = () => {
224
306
  let projectConfig = {};
@@ -243,8 +325,8 @@ const compereConfigs = () => {
243
325
  };
244
326
 
245
327
  ({
246
- tableHeadItems: PropTypes__default["default"].array,
247
- tableBodyItems: PropTypes__default["default"].array,
328
+ dataBody: PropTypes__default["default"].array,
329
+ dataHeader: PropTypes__default["default"].array,
248
330
  tHeadColor: PropTypes__default["default"].string,
249
331
  tHeadFamily: PropTypes__default["default"].string,
250
332
  tHeadPadding: PropTypes__default["default"].string,
@@ -258,7 +340,10 @@ const compereConfigs = () => {
258
340
  tBodyFontWeight: PropTypes__default["default"].string,
259
341
  tBodyFontFamily: PropTypes__default["default"].string,
260
342
  tBodyRowBorder: PropTypes__default["default"].string,
261
- tBodyMarginTop: PropTypes__default["default"].string
343
+ handleCheckedBody: PropTypes__default["default"].func,
344
+ handleCheckedHeader: PropTypes__default["default"].func,
345
+ handleHeaderItemClick: PropTypes__default["default"].func,
346
+ handleBodyActionClick: PropTypes__default["default"].func
262
347
  });
263
348
 
264
349
  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)}}";
@@ -268,6 +353,7 @@ styleInject(css_248z$c);
268
353
  const SvgNext = ({
269
354
  title,
270
355
  titleId,
356
+ fillColor,
271
357
  ...props
272
358
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
273
359
  width: "24",
@@ -282,12 +368,13 @@ const SvgNext = ({
282
368
  fillRule: "evenodd",
283
369
  clipRule: "evenodd",
284
370
  d: "M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm3.4-11.443a.854.854 0 0 0 .198-.548.855.855 0 0 0-.146-.539l-4.137-5.134a.857.857 0 0 0-1.251-.12.856.856 0 0 0-.129 1.207l3.701 4.586-3.838 4.587a.856.856 0 0 0 .739 1.4.858.858 0 0 0 .58-.305l4.284-5.134Z",
285
- fill: "#fff"
371
+ fill: fillColor ? fillColor : '#fff'
286
372
  }));
287
373
 
288
374
  const SvgPrev = ({
289
375
  title,
290
376
  titleId,
377
+ fillColor,
291
378
  ...props
292
379
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
293
380
  width: "24",
@@ -302,12 +389,13 @@ const SvgPrev = ({
302
389
  fillRule: "evenodd",
303
390
  clipRule: "evenodd",
304
391
  d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0ZM8.6 11.443a.855.855 0 0 0-.198.548c-.013.19.038.38.146.539l4.137 5.133a.857.857 0 0 0 1.251.12.856.856 0 0 0 .129-1.206l-3.701-4.586 3.838-4.587a.856.856 0 0 0-.739-1.4.858.858 0 0 0-.58.305l-4.284 5.134Z",
305
- fill: "#fff"
392
+ fill: fillColor ? fillColor : '#fff'
306
393
  }));
307
394
 
308
395
  const SvgCloseIcon = ({
309
396
  title,
310
397
  titleId,
398
+ fillColor,
311
399
  ...props
312
400
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
313
401
  width: "14",
@@ -320,12 +408,13 @@ const SvgCloseIcon = ({
320
408
  id: titleId
321
409
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
322
410
  d: "m12.425.241.006-.005a.95.95 0 0 1 1.34 1.34l-.005.006-5.38 5.38 5.38 5.38.005.007a.95.95 0 0 1-1.34 1.34l-.006-.005-5.38-5.38-5.378 5.37a.951.951 0 1 1-1.34-1.341l5.377-5.37-5.38-5.388-.005-.006a.95.95 0 0 1 1.34-1.34l.006.005 5.38 5.387 5.38-5.38Z",
323
- fill: "#3C393E"
411
+ fill: fillColor ? fillColor : '#3C393E'
324
412
  }));
325
413
 
326
414
  const SvgCloseSlide = ({
327
415
  title,
328
416
  titleId,
417
+ fillColor,
329
418
  ...props
330
419
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
331
420
  width: "18",
@@ -338,13 +427,15 @@ const SvgCloseSlide = ({
338
427
  id: titleId
339
428
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
340
429
  d: "m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z",
341
- fill: "#fff"
430
+ fill: fillColor ? fillColor : '#3C393E'
342
431
  }));
343
432
 
344
433
  const Modal = ({
345
434
  type,
346
435
  data,
436
+ width,
347
437
  radius,
438
+ height,
348
439
  padding,
349
440
  setShow,
350
441
  selected,
@@ -352,13 +443,18 @@ const Modal = ({
352
443
  minWidth,
353
444
  minHeight,
354
445
  className,
446
+ mMaxWidth,
447
+ alignItems,
448
+ mMaxHeight,
355
449
  headerText,
356
450
  imageWidth,
357
451
  headerSize,
358
452
  imageHeight,
359
453
  headerColor,
454
+ outsideClose,
360
455
  headerWeight,
361
456
  headerHeight,
457
+ justifyContent,
362
458
  backgroundColor,
363
459
  layerBackgroundColor
364
460
  }) => {
@@ -372,8 +468,7 @@ const Modal = ({
372
468
  const handleStopClosing = e => {
373
469
  e.stopPropagation();
374
470
  };
375
- const handleGoTo = e => {
376
- const goTo = e.target.getAttribute('data-go');
471
+ const handleGoTo = goTo => {
377
472
  if (goTo === 'next') {
378
473
  if (select >= data.length - 1) {
379
474
  setSelect(0);
@@ -419,7 +514,7 @@ const Modal = ({
419
514
  };
420
515
  }, []);
421
516
  return /*#__PURE__*/React__default["default"].createElement("div", {
422
- onClick: handleCloseModal,
517
+ onClick: outsideClose || configStyles.MODAL.outsideClose ? handleCloseModal : _ => _,
423
518
  style: {
424
519
  top: '0px',
425
520
  left: '0px',
@@ -432,30 +527,27 @@ const Modal = ({
432
527
  }, /*#__PURE__*/React__default["default"].createElement("div", {
433
528
  style: {
434
529
  position: 'relative',
530
+ display: 'flex',
435
531
  width: '100%',
436
- height: '100vh'
532
+ height: '100vh',
533
+ alignItems: alignItems ? alignItems : configStyles.MODAL.alignItems,
534
+ justifyContent: justifyContent ? justifyContent : configStyles.MODAL.justifyContent
437
535
  }
438
536
  }, /*#__PURE__*/React__default["default"].createElement("div", {
439
537
  className: `${classProps} ${styles$a['animation__modal']}`,
440
538
  onClick: handleStopClosing,
441
539
  style: {
442
- top: '0px',
443
- left: '0px',
444
- right: '0px',
445
- bottom: '0px',
446
- margin: 'auto',
447
- maxWidth: '95%',
448
540
  overflow: 'auto',
449
- maxHeight: '95vh',
450
- position: 'absolute',
451
- width: 'fit-content',
452
- height: 'fit-content',
453
541
  boxSizing: 'border-box',
542
+ width: width ? width : configStyles.MODAL.width,
543
+ height: height ? height : configStyles.MODAL.height,
454
544
  borderRadius: radius ? radius : configStyles.MODAL.radius,
455
- minWidth: type === 'content' ? minWidth ? minWidth : '' : '',
456
- minHeight: type === 'content' ? minHeight ? minHeight : '' : '',
545
+ maxWidth: mMaxWidth ? mMaxWidth : configStyles.MODAL.mMaxWidth,
546
+ maxHeight: mMaxHeight ? mMaxHeight : configStyles.MODAL.mMaxHeight,
547
+ minWidth: type === 'content' ? minWidth ? minWidth : configStyles.MODAL.minWidth : '',
457
548
  padding: type === 'content' ? padding ? padding : configStyles.MODAL.padding : '10px',
458
- backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor
549
+ backgroundColor: backgroundColor ? backgroundColor : configStyles.MODAL.backgroundColor,
550
+ minHeight: type === 'content' ? minHeight ? minHeight : configStyles.MODAL.minHeight : ''
459
551
  }
460
552
  }, /*#__PURE__*/React__default["default"].createElement("div", {
461
553
  style: {
@@ -535,8 +627,7 @@ const Modal = ({
535
627
  }
536
628
  }
537
629
  }), innerData && innerData.length > 1 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("button", {
538
- onClick: handleGoTo,
539
- "data-go": "prev",
630
+ onClick: _ => handleGoTo('prev'),
540
631
  style: {
541
632
  position: 'absolute',
542
633
  left: '14px',
@@ -550,8 +641,7 @@ const Modal = ({
550
641
  backgroundColor: 'transparent'
551
642
  }
552
643
  }, /*#__PURE__*/React__default["default"].createElement(SvgPrev, null)), /*#__PURE__*/React__default["default"].createElement("button", {
553
- onClick: handleGoTo,
554
- "data-go": "next",
644
+ onClick: _ => handleGoTo('next'),
555
645
  style: {
556
646
  position: 'absolute',
557
647
  width: '24px',
@@ -570,19 +660,26 @@ Modal.propTypes = {
570
660
  data: PropTypes__default["default"].array,
571
661
  type: PropTypes__default["default"].string,
572
662
  setShow: PropTypes__default["default"].func,
663
+ width: PropTypes__default["default"].string,
573
664
  radius: PropTypes__default["default"].string,
665
+ height: PropTypes__default["default"].string,
574
666
  padding: PropTypes__default["default"].string,
575
667
  selected: PropTypes__default["default"].number,
576
668
  minWidth: PropTypes__default["default"].string,
669
+ mMaxWidth: PropTypes__default["default"].string,
577
670
  minHeight: PropTypes__default["default"].string,
578
671
  className: PropTypes__default["default"].string,
672
+ alignItems: PropTypes__default["default"].string,
673
+ mMaxHeight: PropTypes__default["default"].string,
579
674
  headerText: PropTypes__default["default"].string,
580
675
  imageWidth: PropTypes__default["default"].string,
581
676
  headerSize: PropTypes__default["default"].string,
677
+ outsideClose: PropTypes__default["default"].bool,
582
678
  headerColor: PropTypes__default["default"].string,
583
679
  imageHeight: PropTypes__default["default"].string,
584
680
  headerWeight: PropTypes__default["default"].string,
585
681
  headerHeight: PropTypes__default["default"].string,
682
+ justifyContent: PropTypes__default["default"].string,
586
683
  backgroundColor: PropTypes__default["default"].string,
587
684
  layerBackgroundColor: PropTypes__default["default"].string
588
685
  };
@@ -599,7 +696,7 @@ const InputTypes = {
599
696
  TEXT: "text",
600
697
  PASSWORD: "password"
601
698
  };
602
- const P = styled__default["default"].p`
699
+ const P = styled__default["default"].span`
603
700
  animation: ${props => props.errorAnimation ? props.animation : 'none'};
604
701
  `;
605
702
  const Input = ({
@@ -619,6 +716,7 @@ const Input = ({
619
716
  leftIcon,
620
717
  required,
621
718
  disabled,
719
+ marginTop,
622
720
  transform,
623
721
  iconWidth,
624
722
  rightIcon,
@@ -634,7 +732,6 @@ const Input = ({
634
732
  borderRight,
635
733
  placeholder,
636
734
  errorZindex,
637
- errorBottom,
638
735
  labelWeight,
639
736
  phoneDisplay,
640
737
  errorMessage,
@@ -689,10 +786,6 @@ const Input = ({
689
786
  if (!phoneNumberRegex.test(currentValue)) {
690
787
  if (currentValue === '') {
691
788
  setInnerErrorMessage('');
692
- setInnerValue('');
693
- if (change) {
694
- change('');
695
- }
696
789
  } else {
697
790
  telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
698
791
  setInnerValue(prevValue);
@@ -707,11 +800,6 @@ const Input = ({
707
800
  if (change) {
708
801
  change(currentValue.substr(0, 8));
709
802
  }
710
- } else {
711
- setInnerValue(currentValue);
712
- if (change) {
713
- change(currentValue);
714
- }
715
803
  }
716
804
  }
717
805
  }
@@ -752,13 +840,11 @@ const Input = ({
752
840
  } else {
753
841
  telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
754
842
  }
755
- setInnerValue('');
756
843
  } else {
757
- setInnerErrorMessage('');
758
- if (value.length > 8) {
844
+ if (value.length < 8) {
845
+ telErrorMessage ? setInnerErrorMessage(telErrorMessage) : setInnerErrorMessage(configStyles.INPUT.telErrorMessage);
846
+ } else if (value.length > 8) {
759
847
  setInnerValue(value.substr(0, 8));
760
- } else {
761
- setInnerValue(value);
762
848
  }
763
849
  }
764
850
  }
@@ -846,8 +932,8 @@ const Input = ({
846
932
  padding: padding ? padding : configStyles.INPUT.padding,
847
933
  borderRadius: radius ? radius : configStyles.INPUT.radius,
848
934
  boxSizing: boxSizing ? boxSizing : configStyles.INPUT.boxSizing,
849
- backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor,
850
- color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color
935
+ color: innerErrorMessage && errorColor ? errorColor : color ? color : configStyles.INPUT.color,
936
+ backgroundColor: disabled ? '#FBFBFB' : backgroundColor ? backgroundColor : configStyles.INPUT.backgroundColor
851
937
  }
852
938
  })), rightIcon && rightIcon.length > 0 ? /*#__PURE__*/React__default["default"].createElement("div", {
853
939
  onMouseUp: type === 'password' ? _ => setShow(false) : _ => _,
@@ -868,13 +954,14 @@ const Input = ({
868
954
  animation: animation,
869
955
  style: {
870
956
  margin: '0px',
957
+ position: 'absolute',
958
+ width: width ? width : configStyles.INPUT.width,
871
959
  left: errorLeft ? errorLeft : configStyles.INPUT.errorLeft,
872
960
  color: errorColor ? errorColor : configStyles.INPUT.errorColor,
873
961
  fontSize: errorSize ? errorSize : configStyles.INPUT.errorSize,
874
- bottom: errorBottom ? errorBottom : configStyles.INPUT.errorBottom,
875
962
  zIndex: errorZindex ? errorZindex : configStyles.INPUT.errorZindex,
876
- position: errorPosition ? errorPosition : configStyles.INPUT.errorPosition,
877
963
  lineHeight: errorLineHeight ? errorLineHeight : configStyles.INPUT.errorLineHeight,
964
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
878
965
  transform: !errorAnimation ? 'scale3d(1,1,1)' : transform ? transform : configStyles.INPUT.transform
879
966
  },
880
967
  className: errorClassName ? errorClassName : configStyles.INPUT.errorClassName
@@ -893,6 +980,7 @@ Input.propTypes = {
893
980
  padding: PropTypes__default["default"].string,
894
981
  fontSize: PropTypes__default["default"].string,
895
982
  tooltip: PropTypes__default["default"].element,
983
+ marginTop: PropTypes__default["default"].string,
896
984
  transform: PropTypes__default["default"].string,
897
985
  className: PropTypes__default["default"].string,
898
986
  iconWidth: PropTypes__default["default"].string,
@@ -907,7 +995,6 @@ Input.propTypes = {
907
995
  borderRight: PropTypes__default["default"].string,
908
996
  placeholder: PropTypes__default["default"].string,
909
997
  errorZindex: PropTypes__default["default"].string,
910
- errorBottom: PropTypes__default["default"].string,
911
998
  labelWeight: PropTypes__default["default"].string,
912
999
  errorMessage: PropTypes__default["default"].string,
913
1000
  phoneDisplay: PropTypes__default["default"].string,
@@ -1091,62 +1178,10 @@ Button.propTypes = {
1091
1178
  disabledBackgroundColor: PropTypes__default["default"].string
1092
1179
  };
1093
1180
 
1094
- const SvgCheckboxUnchecked = ({
1095
- title,
1096
- titleId,
1097
- ...props
1098
- }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1099
- width: "16",
1100
- height: "16",
1101
- viewBox: "0 0 16 16",
1102
- fill: "none",
1103
- xmlns: "http://www.w3.org/2000/svg",
1104
- "aria-labelledby": titleId
1105
- }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1106
- id: titleId
1107
- }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1108
- fillRule: "evenodd",
1109
- clipRule: "evenodd",
1110
- d: "M3.2 0h9.6A3.2 3.2 0 0 1 16 3.2v9.6a3.2 3.2 0 0 1-3.2 3.2H3.2A3.2 3.2 0 0 1 0 12.8V3.2A3.2 3.2 0 0 1 3.2 0Zm0 1.6a1.6 1.6 0 0 0-1.6 1.6v9.6a1.6 1.6 0 0 0 1.6 1.6h9.6a1.6 1.6 0 0 0 1.6-1.6V3.2a1.6 1.6 0 0 0-1.6-1.6H3.2Z",
1111
- fill: "#D1D1D1"
1112
- }));
1113
-
1114
- const SvgCheckboxChecked = ({
1115
- title,
1116
- titleId,
1117
- ...props
1118
- }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1119
- width: "16",
1120
- height: "16",
1121
- viewBox: "0 0 16 16",
1122
- fill: "none",
1123
- xmlns: "http://www.w3.org/2000/svg",
1124
- "aria-labelledby": titleId
1125
- }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
1126
- id: titleId
1127
- }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1128
- fillRule: "evenodd",
1129
- clipRule: "evenodd",
1130
- d: "M12.8 0H3.2A3.2 3.2 0 0 0 0 3.2v9.6A3.2 3.2 0 0 0 3.2 16h9.6a3.2 3.2 0 0 0 3.2-3.2V3.2A3.2 3.2 0 0 0 12.8 0ZM6.85 10.966c.068.023.14.034.218.034.078 0 .151-.011.219-.034a.515.515 0 0 0 .19-.114l5.363-4.94A.496.496 0 0 0 13 5.53a.496.496 0 0 0-.16-.382.589.589 0 0 0-.415-.148.59.59 0 0 0-.416.148l-4.94 4.55-2.085-1.92a.579.579 0 0 0-.408-.147.579.579 0 0 0-.408.148A.52.52 0 0 0 4 8.16a.476.476 0 0 0 .154.383l2.506 2.308a.515.515 0 0 0 .19.114Z",
1131
- fill: "#00236A"
1132
- }));
1133
-
1134
- const SingleCheckbox = ({
1135
- checked
1136
- }) => {
1137
- return /*#__PURE__*/React__default["default"].createElement("div", {
1138
- style: {
1139
- marginRight: '9px'
1140
- }
1141
- }, checked ? /*#__PURE__*/React__default["default"].createElement(SvgCheckboxChecked, null) : /*#__PURE__*/React__default["default"].createElement(SvgCheckboxUnchecked, null));
1142
- };
1143
- SingleCheckbox.propTypes = {
1144
- checked: PropTypes__default["default"].bool
1145
- };
1146
-
1147
1181
  const SvgArrow = ({
1148
1182
  title,
1149
1183
  titleId,
1184
+ fillColor,
1150
1185
  ...props
1151
1186
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1152
1187
  width: "15",
@@ -1159,7 +1194,7 @@ const SvgArrow = ({
1159
1194
  id: titleId
1160
1195
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1161
1196
  d: "M7.988 8a.997.997 0 0 1-.64-.23l-5.989-5a1.002 1.002 0 0 1 .548-1.767.998.998 0 0 1 .73.227l5.35 4.48 5.351-4.32a.997.997 0 0 1 1.408.15 1 1 0 0 1-.14 1.46l-5.99 4.83a.997.997 0 0 1-.628.17Z",
1162
- fill: "#3C393E"
1197
+ fill: fillColor ? fillColor : '#3C393E'
1163
1198
  }));
1164
1199
 
1165
1200
  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}}";
@@ -1175,8 +1210,10 @@ const Select = ({
1175
1210
  keyNames,
1176
1211
  selected,
1177
1212
  className,
1213
+ marginTop,
1178
1214
  arrowIcon,
1179
1215
  closeIcon,
1216
+ errorZindex,
1180
1217
  errorMessage,
1181
1218
  defaultOption,
1182
1219
  multipleCheckbox,
@@ -1326,7 +1363,10 @@ const Select = ({
1326
1363
  }
1327
1364
  }, [options, multiple, selected, selected?.length]);
1328
1365
  return /*#__PURE__*/React__default["default"].createElement("div", {
1329
- className: classProps
1366
+ className: classProps,
1367
+ style: {
1368
+ position: 'relative'
1369
+ }
1330
1370
  }, label ? /*#__PURE__*/React__default["default"].createElement("label", {
1331
1371
  style: {
1332
1372
  color: labelColor ? labelColor : configStyles.SELECT.labelColor,
@@ -1424,8 +1464,11 @@ const Select = ({
1424
1464
  }) : '', option[keyNames.name]);
1425
1465
  }))) : null)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
1426
1466
  style: {
1467
+ position: 'absolute',
1427
1468
  color: errorColor ? errorColor : configStyles.SELECT.errorColor,
1428
- fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize
1469
+ fontSize: errorSize ? errorSize : configStyles.SELECT.errorSize,
1470
+ zIndex: errorZindex ? errorZindex : configStyles.SELECT.errorZindex,
1471
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`
1429
1472
  }
1430
1473
  }, errorMessage) : '');
1431
1474
  };
@@ -1437,9 +1480,11 @@ Select.propTypes = {
1437
1480
  disabled: PropTypes__default["default"].bool,
1438
1481
  selected: PropTypes__default["default"].array,
1439
1482
  keyNames: PropTypes__default["default"].object,
1483
+ marginTop: PropTypes__default["default"].string,
1440
1484
  className: PropTypes__default["default"].string,
1441
1485
  arrowIcon: PropTypes__default["default"].element,
1442
1486
  closeIcon: PropTypes__default["default"].element,
1487
+ errorZindex: PropTypes__default["default"].number,
1443
1488
  errorMessage: PropTypes__default["default"].string,
1444
1489
  defaultOption: PropTypes__default["default"].string,
1445
1490
  multipleCheckbox: PropTypes__default["default"].bool,
@@ -1486,6 +1531,7 @@ Select.propTypes = {
1486
1531
  const SvgToasterInfo = ({
1487
1532
  title,
1488
1533
  titleId,
1534
+ fillColor,
1489
1535
  ...props
1490
1536
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1491
1537
  width: "24",
@@ -1498,12 +1544,13 @@ const SvgToasterInfo = ({
1498
1544
  id: titleId
1499
1545
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1500
1546
  d: "M12 18c.34 0 .625-.115.856-.346.23-.23.345-.515.344-.854v-4.83c0-.34-.115-.62-.346-.84A1.19 1.19 0 0 0 12 10.8c-.34 0-.625.115-.856.346-.23.23-.345.515-.344.854v4.83c0 .34.115.62.346.84.23.22.515.33.854.33Zm0-9.6c.34 0 .625-.115.856-.346.23-.23.345-.515.344-.854 0-.34-.115-.625-.346-.856A1.157 1.157 0 0 0 12 6c-.34 0-.625.115-.856.346-.23.23-.345.515-.344.854 0 .34.115.625.346.856.23.23.515.345.854.344ZM12 24c-1.66 0-3.22-.315-4.68-.946a12.137 12.137 0 0 1-3.81-2.564 12.11 12.11 0 0 1-2.564-3.81C.316 15.22 0 13.66 0 12c0-1.66.315-3.22.946-4.68.63-1.46 1.485-2.73 2.564-3.81A12.11 12.11 0 0 1 7.32.946C8.78.316 10.34 0 12 0c1.66 0 3.22.315 4.68.946 1.46.63 2.73 1.485 3.81 2.564a12.127 12.127 0 0 1 2.566 3.81c.63 1.46.945 3.02.944 4.68 0 1.66-.315 3.22-.946 4.68a12.137 12.137 0 0 1-2.564 3.81 12.127 12.127 0 0 1-3.81 2.566c-1.46.63-3.02.945-4.68.944Z",
1501
- fill: "#00236A"
1547
+ fill: fillColor ? fillColor : '#00236A'
1502
1548
  }));
1503
1549
 
1504
1550
  const SvgToasterError = ({
1505
1551
  title,
1506
1552
  titleId,
1553
+ fillColor,
1507
1554
  ...props
1508
1555
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1509
1556
  width: "24",
@@ -1516,12 +1563,13 @@ const SvgToasterError = ({
1516
1563
  id: titleId
1517
1564
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1518
1565
  d: "M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm0 16a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Zm0-11a1 1 0 0 0-.984.82L11 6v7l.016.18a1 1 0 0 0 1.968 0L13 13V6l-.016-.18A1 1 0 0 0 12 5Z",
1519
- fill: "#E00"
1566
+ fill: fillColor ? fillColor : '#E00'
1520
1567
  }));
1521
1568
 
1522
1569
  const SvgToasterClose = ({
1523
1570
  title,
1524
1571
  titleId,
1572
+ fillColor,
1525
1573
  ...props
1526
1574
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1527
1575
  width: "18",
@@ -1534,12 +1582,13 @@ const SvgToasterClose = ({
1534
1582
  id: titleId
1535
1583
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1536
1584
  d: "m10.47 8.95 7.29-7.29A1 1 0 0 0 16.35.25L9.06 7.54 1.77.24A1 1 0 0 0 .36 1.65l7.29 7.3-7.3 7.29a.999.999 0 1 0 1.41 1.41l7.3-7.29 7.29 7.29a1 1 0 0 0 1.41-1.41l-7.29-7.29Z",
1537
- fill: "#D1D1D1"
1585
+ fill: fillColor ? fillColor : '#D1D1D1'
1538
1586
  }));
1539
1587
 
1540
1588
  const SvgToasterWarning = ({
1541
1589
  title,
1542
1590
  titleId,
1591
+ fillColor,
1543
1592
  ...props
1544
1593
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1545
1594
  width: "24",
@@ -1552,12 +1601,13 @@ const SvgToasterWarning = ({
1552
1601
  id: titleId
1553
1602
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1554
1603
  d: "M1.156 21a1.143 1.143 0 0 1-.994-.583 1.285 1.285 0 0 1-.16-.57c-.01-.204.043-.403.16-.597L10.978.583c.117-.194.268-.34.454-.437C11.616.049 11.806 0 12 0c.194 0 .384.049.57.146.185.097.336.243.452.437L23.838 19.25c.116.194.17.394.161.599a1.26 1.26 0 0 1-.161.568 1.14 1.14 0 0 1-.41.423 1.09 1.09 0 0 1-.584.16H1.156ZM12 17.5c.331 0 .61-.112.834-.336.224-.224.336-.5.335-.83 0-.331-.112-.608-.337-.832a1.128 1.128 0 0 0-.832-.335c-.331 0-.609.112-.834.336-.224.224-.336.5-.335.83 0 .33.112.608.337.832.224.224.502.336.832.335Zm0-3.5c.331 0 .61-.112.834-.336.224-.224.336-.5.335-.83v-3.5c0-.331-.112-.608-.337-.832A1.128 1.128 0 0 0 12 8.166c-.331 0-.609.112-.834.336-.224.224-.336.5-.335.83v3.5c0 .33.112.608.337.832.224.224.502.336.832.335Z",
1555
- fill: "#FF8A00"
1604
+ fill: fillColor ? fillColor : '#FF8A00'
1556
1605
  }));
1557
1606
 
1558
1607
  const SvgToasterSuccess = ({
1559
1608
  title,
1560
1609
  titleId,
1610
+ fillColor,
1561
1611
  ...props
1562
1612
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1563
1613
  width: "24",
@@ -1570,7 +1620,7 @@ const SvgToasterSuccess = ({
1570
1620
  id: titleId
1571
1621
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1572
1622
  d: "M12 0a12 12 0 1 1 0 24 12 12 0 0 1 0-24Zm-1.495 14.367L7.84 11.7a1.028 1.028 0 1 0-1.455 1.455l3.394 3.395a1.024 1.024 0 0 0 1.456 0l7.028-7.03a1.03 1.03 0 1 0-1.453-1.456l-6.304 6.303Z",
1573
- fill: "#0DA574"
1623
+ fill: fillColor ? fillColor : '#0DA574'
1574
1624
  }));
1575
1625
 
1576
1626
  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}}";
@@ -1832,6 +1882,7 @@ const Toaster = () => {
1832
1882
  const SvgTooltip = ({
1833
1883
  title,
1834
1884
  titleId,
1885
+ fillColor,
1835
1886
  ...props
1836
1887
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1837
1888
  width: "16",
@@ -1844,7 +1895,7 @@ const SvgTooltip = ({
1844
1895
  id: titleId
1845
1896
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1846
1897
  d: "M8 0a8 8 0 1 0 .001 16.001A8 8 0 0 0 8 0Zm.571 11.857A.143.143 0 0 1 8.43 12H7.57a.143.143 0 0 1-.142-.143V7c0-.079.064-.143.142-.143h.858c.078 0 .142.064.142.143v4.857ZM8 5.714A.857.857 0 0 1 8 4a.857.857 0 0 1 0 1.714Z",
1847
- fill: "#D1D1D1"
1898
+ fill: fillColor ? fillColor : '#D1D1D1'
1848
1899
  }));
1849
1900
 
1850
1901
  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}";
@@ -1946,6 +1997,7 @@ Tooltip.defaultProps = {
1946
1997
  const SvgCaptchaArrowUp = ({
1947
1998
  title,
1948
1999
  titleId,
2000
+ fillColor,
1949
2001
  ...props
1950
2002
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1951
2003
  width: "12",
@@ -1958,12 +2010,13 @@ const SvgCaptchaArrowUp = ({
1958
2010
  id: titleId
1959
2011
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1960
2012
  d: "M6 14.9988C6.22729 14.9988 6.44527 14.9066 6.60598 14.7425C6.7667 14.5785 6.85699 14.3559 6.85699 14.1239L6.85699 3.98726L10.5352 7.74409C10.6149 7.82543 10.7095 7.88996 10.8136 7.93398C10.9177 7.97801 11.0292 8.00067 11.1419 8.00067C11.2546 8.00067 11.3662 7.97801 11.4703 7.93398C11.5744 7.88996 11.669 7.82543 11.7487 7.74409C11.8284 7.66274 11.8916 7.56617 11.9347 7.45989C11.9778 7.35361 12 7.2397 12 7.12466C12 7.00962 11.9778 6.89571 11.9347 6.78943C11.8916 6.68314 11.8284 6.58657 11.7487 6.50523L6.60675 1.25581C6.52714 1.17434 6.43257 1.1097 6.32845 1.06559C6.22434 1.02148 6.11272 0.998779 6 0.998779C5.88728 0.998779 5.77566 1.02148 5.67154 1.06559C5.56743 1.1097 5.47286 1.17434 5.39325 1.25581L0.251323 6.50523C0.0904038 6.66951 0 6.89233 0 7.12466C0 7.35699 0.0904038 7.57981 0.251323 7.74409C0.412243 7.90837 0.630497 8.00067 0.858071 8.00067C1.08565 8.00067 1.3039 7.90837 1.46482 7.74409L5.14301 3.98726L5.14301 14.1239C5.14301 14.3559 5.2333 14.5785 5.39402 14.7425C5.55473 14.9066 5.77271 14.9988 6 14.9988Z",
1961
- fill: "#00236A"
2013
+ fill: fillColor ? fillColor : '#00236A'
1962
2014
  }));
1963
2015
 
1964
2016
  const SvgCaptchaArrowDown = ({
1965
2017
  title,
1966
2018
  titleId,
2019
+ fillColor,
1967
2020
  ...props
1968
2021
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
1969
2022
  width: "12",
@@ -1976,7 +2029,7 @@ const SvgCaptchaArrowDown = ({
1976
2029
  id: titleId
1977
2030
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
1978
2031
  d: "M6 0.00146537C5.77271 0.00146539 5.55473 0.0936418 5.39402 0.257718C5.2333 0.421795 5.14301 0.64433 5.14301 0.876368L5.14301 11.013L1.46482 7.25615C1.38514 7.17481 1.29055 7.11028 1.18644 7.06626C1.08233 7.02224 0.970753 6.99958 0.85807 6.99958C0.745386 6.99958 0.633807 7.02224 0.529701 7.06626C0.425595 7.11028 0.331002 7.17481 0.251322 7.25616C0.171643 7.3375 0.108438 7.43407 0.0653156 7.54035C0.0221934 7.64663 -5.45598e-07 7.76055 -5.35541e-07 7.87559C-5.25484e-07 7.99063 0.0221934 8.10454 0.0653157 8.21082C0.108438 8.3171 0.171643 8.41367 0.251322 8.49502L5.39325 13.7444C5.47286 13.8259 5.56743 13.8905 5.67155 13.9347C5.77566 13.9788 5.88728 14.0015 6 14.0015C6.11272 14.0015 6.22434 13.9788 6.32846 13.9347C6.43257 13.8905 6.52714 13.8259 6.60675 13.7444L11.7487 8.49502C11.9096 8.33073 12 8.10792 12 7.87559C12 7.64325 11.9096 7.42044 11.7487 7.25615C11.5878 7.09187 11.3695 6.99958 11.1419 6.99958C10.9144 6.99958 10.6961 7.09187 10.5352 7.25615L6.85699 11.013L6.85699 0.876368C6.85699 0.64433 6.7667 0.421794 6.60598 0.257718C6.44526 0.0936418 6.22729 0.00146535 6 0.00146537Z",
1979
- fill: "#00236A"
2032
+ fill: fillColor ? fillColor : '#00236A'
1980
2033
  }));
1981
2034
 
1982
2035
  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}";
@@ -2213,6 +2266,7 @@ function v4(options, buf, offset) {
2213
2266
  const SvgListItemPdf = ({
2214
2267
  title,
2215
2268
  titleId,
2269
+ fillColor,
2216
2270
  ...props
2217
2271
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2218
2272
  width: "32",
@@ -2227,12 +2281,13 @@ const SvgListItemPdf = ({
2227
2281
  fillRule: "evenodd",
2228
2282
  clipRule: "evenodd",
2229
2283
  d: "M31.862 10.64c.007.01.015.02.022.027l.116.108v28.328c0 .768-.306 1.505-.852 2.049a2.917 2.917 0 0 1-2.057.848H2.909a2.917 2.917 0 0 1-2.057-.848A2.891 2.891 0 0 1 0 39.103V2.897C0 2.128.306 1.392.852.848A2.917 2.917 0 0 1 2.909 0h18.27l.108.116.03.025.028.026.025.02.026.023L31.79 10.558c.02.018.037.037.052.058l.02.025Zm-1.743 29.486a1.45 1.45 0 0 0 .427-1.022v-8.77H13.95a.716.716 0 0 1-.546-.246l-1.963-2.238H1.455v11.254c.001.383.155.751.427 1.022.273.272.642.425 1.027.426h26.182a1.463 1.463 0 0 0 1.027-.426ZM4.364 17.633c0 .4.324.724.724.724h21.825a.724.724 0 1 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm23.273 3.186c0-.4-.325-.724-.724-.724H15.48a.724.724 0 0 0 0 1.448h11.432c.4 0 .724-.324.724-.724Zm-.724-5.641a.724.724 0 1 0 0-1.449H5.088a.724.724 0 1 0 0 1.449h21.825Zm-22.55-3.91c0 .4.325.723.725.723H16.52a.724.724 0 0 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm17.672-1.345c.272.27.642.423 1.027.425h6.458l-7.913-7.879V8.9c.002.384.155.752.428 1.024ZM10.43 36.013H9.103v2.385H8V32h2.43c.495 0 .916.088 1.261.264.349.172.614.413.796.72.181.305.272.654.272 1.046 0 .413-.09.768-.272 1.064a1.754 1.754 0 0 1-.796.68c-.345.16-.766.238-1.26.238Zm-1.327-3.134v2.259h1.327c.29 0 .525-.047.703-.14a.877.877 0 0 0 .391-.388c.085-.167.128-.357.128-.57 0-.203-.043-.392-.128-.568a.971.971 0 0 0-.39-.43c-.18-.109-.414-.163-.704-.163H9.103Zm6.504 5.52h-1.859V32H15.646c.425 0 .813.072 1.165.215.352.141.655.345.91.611.258.267.455.586.593.958.138.372.206.788.206 1.248v.339c0 .46-.068.876-.206 1.248a2.714 2.714 0 0 1-.593.958 2.662 2.662 0 0 1-.923.61c-.355.141-.752.211-1.191.211Zm0-.875h-.756v-4.645h.795c.285 0 .535.047.752.14.22.094.404.232.554.414a1.8 1.8 0 0 1 .342.672c.08.267.12.573.12.918v.348c0 .445-.07.829-.208 1.151-.134.322-.336.57-.606.743-.267.172-.598.259-.993.259Zm5.124-2.725v-1.92h2.975V32h-4.078v6.398h1.103v-2.724h2.61v-.875h-2.61Z",
2230
- fill: "#051942"
2284
+ fill: fillColor ? fillColor : '#051942'
2231
2285
  }));
2232
2286
 
2233
2287
  const SvgListItemJpg = ({
2234
2288
  title,
2235
2289
  titleId,
2290
+ fillColor,
2236
2291
  ...props
2237
2292
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2238
2293
  width: "32",
@@ -2247,12 +2302,13 @@ const SvgListItemJpg = ({
2247
2302
  fillRule: "evenodd",
2248
2303
  clipRule: "evenodd",
2249
2304
  d: "M31.862 10.64c.007.01.015.02.022.027l.116.108v28.328c0 .768-.306 1.505-.852 2.049a2.917 2.917 0 0 1-2.057.848H2.909a2.917 2.917 0 0 1-2.057-.848A2.891 2.891 0 0 1 0 39.103V2.897C0 2.128.306 1.392.852.848A2.917 2.917 0 0 1 2.909 0h18.27l.108.116.03.025.028.026.025.02.026.023L31.79 10.558c.02.018.037.037.052.058l.02.025Zm-1.743 29.486a1.45 1.45 0 0 0 .427-1.022v-8.77H13.95a.716.716 0 0 1-.546-.246l-1.963-2.238H1.455v11.254c.001.383.155.751.427 1.022.273.272.642.425 1.027.426h26.182a1.463 1.463 0 0 0 1.027-.426ZM4.364 17.633c0 .4.324.724.724.724h21.825a.724.724 0 1 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm23.273 3.186c0-.4-.325-.724-.724-.724H15.48a.724.724 0 0 0 0 1.448h11.432c.4 0 .724-.324.724-.724Zm-.724-5.641a.724.724 0 1 0 0-1.449H5.088a.724.724 0 1 0 0 1.449h21.825Zm-22.55-3.91c0 .4.325.723.725.723H16.52a.724.724 0 0 0 0-1.448H5.088c-.4 0-.724.324-.724.724Zm17.672-1.345c.272.27.642.423 1.027.425h6.458l-7.913-7.879V8.9c.002.384.155.752.428 1.024Zm2.071 27.737v-2.443h-2.43v.822h1.331v1.27a1.19 1.19 0 0 1-.224.175c-.094.059-.221.11-.382.154a2.579 2.579 0 0 1-.62.062c-.258 0-.489-.047-.694-.14a1.408 1.408 0 0 1-.523-.427 2.062 2.062 0 0 1-.325-.69 3.614 3.614 0 0 1-.11-.936v-.453c0-.346.032-.653.097-.923.064-.27.16-.498.285-.685.13-.188.29-.33.484-.426.193-.097.417-.146.672-.146.296 0 .536.052.72.154.188.1.332.238.431.413.103.176.172.375.207.598h1.081a2.633 2.633 0 0 0-.356-1.055 1.913 1.913 0 0 0-.8-.72c-.343-.176-.776-.264-1.3-.264-.41 0-.778.069-1.104.206a2.204 2.204 0 0 0-.826.598 2.742 2.742 0 0 0-.527.967c-.12.378-.18.809-.18 1.292v.444c0 .486.066.92.197 1.3.132.378.318.7.559.963.243.264.531.464.865.602.334.135.702.202 1.103.202.472 0 .866-.051 1.182-.154.317-.102.57-.224.76-.364a2.13 2.13 0 0 0 .427-.396Zm-13.03-1.094v-4.478h1.099v4.478c0 .425-.091.786-.273 1.085-.181.3-.429.528-.742.686-.314.158-.67.237-1.068.237-.407 0-.77-.069-1.086-.206a1.622 1.622 0 0 1-.738-.633C8.09 37.45 8 37.09 8 36.654h1.107c0 .252.04.455.12.61a.755.755 0 0 0 .342.335c.15.067.324.1.523.1a.99.99 0 0 0 .505-.127.909.909 0 0 0 .352-.382c.085-.17.127-.378.127-.624Zm4.799-.466h-1.327v2.386h-1.103v-6.398h2.43c.495 0 .916.088 1.261.264.349.172.614.413.796.72.181.305.272.654.272 1.046 0 .413-.09.768-.272 1.064a1.753 1.753 0 0 1-.796.68c-.345.159-.766.238-1.261.238Zm-1.327-3.133v2.259h1.327c.29 0 .524-.047.703-.141a.876.876 0 0 0 .391-.387c.085-.167.128-.357.128-.571 0-.202-.043-.391-.128-.567a.97.97 0 0 0-.39-.43c-.18-.109-.414-.163-.704-.163h-1.327Z",
2250
- fill: "#051942"
2305
+ fill: fillColor ? fillColor : '#051942'
2251
2306
  }));
2252
2307
 
2253
2308
  const SvgListItemPng = ({
2254
2309
  title,
2255
2310
  titleId,
2311
+ fillColor,
2256
2312
  ...props
2257
2313
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2258
2314
  width: "32",
@@ -2267,12 +2323,13 @@ const SvgListItemPng = ({
2267
2323
  fillRule: "evenodd",
2268
2324
  clipRule: "evenodd",
2269
2325
  d: "m31.873 10.655-.011-.014c-.007-.01-.014-.018-.021-.025a.356.356 0 0 0-.052-.058L21.396.21 21.37.188l-.025-.021a.476.476 0 0 0-.029-.025l-.029-.026L21.178 0H2.91C2.138 0 1.398.305.852.848A2.891 2.891 0 0 0 0 2.897v36.206c0 .768.306 1.505.852 2.049A2.917 2.917 0 0 0 2.909 42h26.182c.771 0 1.511-.305 2.057-.848.546-.544.852-1.28.852-2.049V10.775l-.116-.108a.21.21 0 0 1-.01-.012Zm-1.327 28.449a1.45 1.45 0 0 1-.427 1.022 1.463 1.463 0 0 1-1.028.426H2.91a1.463 1.463 0 0 1-1.027-.426 1.45 1.45 0 0 1-.427-1.022V27.85h9.986l1.963 2.238a.716.716 0 0 0 .546.246h16.596v8.77ZM5.088 18.357a.724.724 0 1 1 0-1.448h21.825a.724.724 0 1 1 0 1.448H5.088Zm21.825 1.738a.724.724 0 0 1 0 1.448H15.48a.724.724 0 0 1 0-1.448h11.432Zm.724-5.641c0 .4-.325.724-.724.724H5.088a.724.724 0 1 1 0-1.449h21.825c.4 0 .724.325.724.725ZM5.088 11.99a.724.724 0 1 1 0-1.448H16.52a.724.724 0 0 1 0 1.449H5.088Zm17.974-1.643A1.451 1.451 0 0 1 21.607 8.9V2.47l7.913 7.878h-6.458ZM9.103 36.012h1.327c.495 0 .916-.079 1.261-.237.349-.158.614-.385.796-.681.181-.296.272-.65.272-1.064 0-.392-.09-.74-.272-1.046a1.85 1.85 0 0 0-.796-.72c-.345-.176-.766-.264-1.26-.264H8v6.398h1.103v-2.386Zm0-.874v-2.26h1.327c.29 0 .525.055.703.163.179.109.31.253.391.431.085.176.128.365.128.567 0 .214-.043.404-.128.571a.877.877 0 0 1-.39.387c-.18.094-.414.14-.704.14H9.103ZM13.7 32h1.09l3.292 5.106a63.566 63.566 0 0 1-.044-1.379V32h.956v6.398h-1.1l-3.303-4.9.002.044c.012.134.02.279.027.435l.018.468c.006.163.009.327.009.49v3.463H13.7V32Zm11.393 5.66v-2.443h-2.43v.822h1.332v1.27a1.19 1.19 0 0 1-.225.175c-.093.059-.22.11-.382.154a2.578 2.578 0 0 1-.62.062c-.257 0-.489-.047-.694-.14a1.408 1.408 0 0 1-.523-.427 2.062 2.062 0 0 1-.325-.69 3.614 3.614 0 0 1-.11-.936v-.453c0-.346.032-.653.097-.923.064-.27.16-.498.285-.685.13-.188.29-.33.484-.426.193-.097.417-.146.672-.146.296 0 .536.052.721.154.188.1.331.238.43.413a1.7 1.7 0 0 1 .207.598h1.081a2.633 2.633 0 0 0-.356-1.055 1.913 1.913 0 0 0-.8-.72c-.342-.176-.776-.264-1.3-.264-.41 0-.778.069-1.103.206a2.204 2.204 0 0 0-.826.598 2.742 2.742 0 0 0-.528.967c-.12.378-.18.809-.18 1.292v.444c0 .486.066.92.198 1.3.132.378.318.7.558.963.243.264.532.464.866.602.334.135.701.202 1.103.202.471 0 .865-.051 1.182-.154.316-.102.57-.224.76-.364.193-.144.335-.276.426-.396Z",
2270
- fill: "#051942"
2326
+ fill: fillColor ? fillColor : '#051942'
2271
2327
  }));
2272
2328
 
2273
2329
  const SvgListItemJpeg = ({
2274
2330
  title,
2275
2331
  titleId,
2332
+ fillColor,
2276
2333
  ...props
2277
2334
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2278
2335
  width: "33",
@@ -2287,12 +2344,13 @@ const SvgListItemJpeg = ({
2287
2344
  fillRule: "evenodd",
2288
2345
  clipRule: "evenodd",
2289
2346
  d: "m32.384 10.667-.022-.026-.021-.025a.356.356 0 0 0-.052-.058L21.896.21 21.87.188l-.025-.021-.029-.026a.477.477 0 0 1-.029-.025L21.678 0H3.41c-.771 0-1.511.305-2.057.848A2.891 2.891 0 0 0 .5 2.897v36.206c0 .768.306 1.505.852 2.049A2.917 2.917 0 0 0 3.409 42h26.182c.771 0 1.511-.305 2.057-.848.546-.544.852-1.28.852-2.049V10.775l-.116-.108Zm-1.338 28.437a1.45 1.45 0 0 1-.427 1.022 1.463 1.463 0 0 1-1.028.426H3.41a1.463 1.463 0 0 1-1.027-.426 1.45 1.45 0 0 1-.427-1.022V27.85h9.986l1.963 2.238a.716.716 0 0 0 .546.246h16.596v8.77ZM5.588 18.357a.724.724 0 1 1 0-1.448h21.825a.724.724 0 1 1 0 1.448H5.588Zm21.825 1.738a.724.724 0 0 1 0 1.448H15.98a.724.724 0 0 1 0-1.448h11.432Zm.724-5.641c0 .4-.325.724-.724.724H5.588a.724.724 0 1 1 0-1.449h21.825c.4 0 .724.325.724.725ZM5.588 11.99a.724.724 0 1 1 0-1.448H17.02a.724.724 0 0 1 0 1.449H5.588Zm17.974-1.643A1.451 1.451 0 0 1 22.107 8.9V2.47l7.913 7.878h-6.458ZM8.576 32.088v4.478c0 .246-.042.454-.127.624a.91.91 0 0 1-.352.382.99.99 0 0 1-.505.128c-.2 0-.374-.034-.523-.101a.755.755 0 0 1-.343-.334c-.079-.156-.119-.36-.119-.611H5.5c0 .436.09.797.268 1.08.179.285.425.496.738.634.317.137.679.206 1.086.206.398 0 .754-.079 1.068-.237.313-.158.56-.387.742-.686.182-.299.273-.66.273-1.085v-4.478H8.576Zm3.472 4.012h1.327c.495 0 .915-.079 1.261-.237.349-.158.614-.386.796-.681.181-.296.272-.65.272-1.064 0-.392-.09-.741-.272-1.046a1.849 1.849 0 0 0-.796-.72c-.345-.176-.766-.264-1.261-.264h-2.43v6.398h1.103V36.1Zm0-.874v-2.26h1.327c.29 0 .524.055.703.163a.97.97 0 0 1 .391.431c.085.176.128.365.128.567 0 .214-.043.404-.128.571a.876.876 0 0 1-.39.387c-.18.094-.414.14-.704.14h-1.327Zm14.545.087v2.444c-.09.12-.233.252-.426.395-.19.141-.444.263-.76.365-.317.103-.71.154-1.182.154-.402 0-.77-.068-1.103-.202a2.415 2.415 0 0 1-.866-.602 2.755 2.755 0 0 1-.558-.963 3.964 3.964 0 0 1-.198-1.3v-.444c0-.484.06-.914.18-1.292.123-.381.299-.703.527-.967.229-.264.504-.463.827-.598a2.805 2.805 0 0 1 1.103-.206c.524 0 .958.088 1.3.263.346.173.613.413.8.721.188.308.307.66.356 1.055h-1.08a1.7 1.7 0 0 0-.207-.598 1.046 1.046 0 0 0-.431-.413c-.185-.102-.425-.154-.72-.154-.256 0-.48.049-.673.145a1.271 1.271 0 0 0-.483.426 2.093 2.093 0 0 0-.286.686c-.065.27-.097.577-.097.923v.452c0 .352.037.664.11.937.076.272.185.502.325.69.144.187.318.33.523.426.205.093.437.14.695.14.252 0 .458-.02.62-.061.16-.044.288-.095.381-.154.097-.062.172-.12.225-.176v-1.27h-1.332v-.822h2.43ZM16.7 32.085h3.791v.884h-2.78v1.754h2.618v.875H17.71v2.033h2.781v.884h-3.79v-6.43Z",
2290
- fill: "#051942"
2347
+ fill: fillColor ? fillColor : '#051942'
2291
2348
  }));
2292
2349
 
2293
2350
  const SvgListItemDelete = ({
2294
2351
  title,
2295
2352
  titleId,
2353
+ fillColor,
2296
2354
  ...props
2297
2355
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2298
2356
  width: "22",
@@ -2305,7 +2363,7 @@ const SvgListItemDelete = ({
2305
2363
  id: titleId
2306
2364
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
2307
2365
  d: "M7.071 3.144V.786A.786.786 0 0 1 7.857 0h6.286a.786.786 0 0 1 .786.786v2.358h6.285a.786.786 0 0 1 0 1.572H.786a.786.786 0 1 1 0-1.572H7.07Zm1.572 0h4.714V1.573H8.643v1.571ZM3.143 22a.786.786 0 0 1-.786-.786V4.716h17.286v16.498a.786.786 0 0 1-.786.786H3.143Zm5.5-4.714a.786.786 0 0 0 .786-.786V8.644a.786.786 0 0 0-1.572 0V16.5a.785.785 0 0 0 .786.786Zm4.714 0a.785.785 0 0 0 .786-.786V8.644a.785.785 0 0 0-1.572 0V16.5a.785.785 0 0 0 .786.786Z",
2308
- fill: "#051942"
2366
+ fill: fillColor ? fillColor : '#051942'
2309
2367
  }));
2310
2368
 
2311
2369
  const FileItem = /*#__PURE__*/React__default["default"].memo(({
@@ -2465,6 +2523,7 @@ const FileItem = /*#__PURE__*/React__default["default"].memo(({
2465
2523
  const SvgUpload = ({
2466
2524
  title,
2467
2525
  titleId,
2526
+ fillColor,
2468
2527
  ...props
2469
2528
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2470
2529
  width: "51",
@@ -2482,12 +2541,13 @@ const SvgUpload = ({
2482
2541
  fillRule: "evenodd",
2483
2542
  clipRule: "evenodd",
2484
2543
  d: "M41.822 17.245c-4.864 0-8.822 3.982-8.822 8.878C33 31.018 36.958 35 41.822 35c4.864 0 8.822-3.982 8.822-8.877 0-4.896-3.959-8.878-8.822-8.878Zm-.536 13.005v-6.689l-3.067 3.22a.69.69 0 0 1-1.01 0 .777.777 0 0 1 0-1.06l4.286-4.5A.71.71 0 0 1 42 21a.684.684 0 0 1 .505.22l4.286 4.5a.777.777 0 0 1 0 1.06.69.69 0 0 1-1.01 0l-3.067-3.22v6.69c0 .414-.32.75-.714.75-.395 0-.714-.336-.714-.75Z",
2485
- fill: "#0DA574"
2544
+ fill: fillColor ? fillColor : '#0DA574'
2486
2545
  }));
2487
2546
 
2488
2547
  const SvgRemoveFile = ({
2489
2548
  title,
2490
2549
  titleId,
2550
+ fillColor,
2491
2551
  ...props
2492
2552
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2493
2553
  width: "26",
@@ -2505,12 +2565,13 @@ const SvgRemoveFile = ({
2505
2565
  fill: "#FBFBFB"
2506
2566
  }), /*#__PURE__*/React__namespace.createElement("path", {
2507
2567
  d: "M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z",
2508
- fill: "#00236A"
2568
+ fill: fillColor ? fillColor : '#00236A'
2509
2569
  }));
2510
2570
 
2511
2571
  const SvgDeleteComponent = ({
2512
2572
  title,
2513
2573
  titleId,
2574
+ fillColor,
2514
2575
  ...props
2515
2576
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
2516
2577
  width: "26",
@@ -2530,7 +2591,7 @@ const SvgDeleteComponent = ({
2530
2591
  stroke: "#D1D1D1"
2531
2592
  }), /*#__PURE__*/React__namespace.createElement("path", {
2532
2593
  d: "M13 4c.822 0 1.611.296 2.206.826s.95 1.255.99 2.024l.005.15h4c.204 0 .4.073.548.205.148.13.238.31.25.501a.72.72 0 0 1-.185.525.817.817 0 0 1-.52.264l-.093.005h-.68l-.943 10.915a2.75 2.75 0 0 1-.957 1.84 3.114 3.114 0 0 1-2.034.745h-5.173c-.754 0-1.48-.266-2.034-.745a2.75 2.75 0 0 1-.957-1.84L6.478 8.5H5.8a.831.831 0 0 1-.531-.19.736.736 0 0 1-.263-.472L5 7.75c0-.184.072-.361.202-.498a.818.818 0 0 1 .504-.247L5.8 7h4c0-.796.337-1.559.938-2.121A3.312 3.312 0 0 1 13 4Zm-1.8 6.938a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.006.076v6l.006.076c.02.135.09.258.2.348.11.09.25.138.394.138.145 0 .285-.049.395-.138.109-.09.18-.213.2-.348l.005-.076v-6l-.005-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139Zm3.6 0a.623.623 0 0 0-.394.138.553.553 0 0 0-.2.348l-.005.076v6l.005.076c.02.135.091.258.2.348.11.09.25.138.394.138.145 0 .286-.049.395-.138.11-.09.18-.213.2-.348l.006-.076v-6l-.006-.076a.553.553 0 0 0-.2-.348.624.624 0 0 0-.395-.139ZM13 5.5a1.66 1.66 0 0 0-1.088.4c-.296.257-.477.61-.508.987L11.4 7h3.2l-.003-.112a1.465 1.465 0 0 0-.508-.988A1.66 1.66 0 0 0 13 5.5Z",
2533
- fill: "#E00"
2594
+ fill: fillColor ? fillColor : '#E00'
2534
2595
  }));
2535
2596
 
2536
2597
  const NewFile = ({
@@ -2539,7 +2600,6 @@ const NewFile = ({
2539
2600
  name,
2540
2601
  color,
2541
2602
  label,
2542
- width,
2543
2603
  weight,
2544
2604
  height,
2545
2605
  radius,
@@ -2547,6 +2607,7 @@ const NewFile = ({
2547
2607
  border,
2548
2608
  upload,
2549
2609
  maxSize,
2610
+ maxWidth,
2550
2611
  disabled,
2551
2612
  multiple,
2552
2613
  required,
@@ -2731,7 +2792,8 @@ const NewFile = ({
2731
2792
  return /*#__PURE__*/React__default["default"].createElement("div", {
2732
2793
  ref: ref,
2733
2794
  style: {
2734
- width: width ? width : configStyles.File.width
2795
+ width: '100%',
2796
+ maxWidth: maxWidth ? maxWidth : configStyles.File.maxWidth
2735
2797
  }
2736
2798
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2737
2799
  style: {
@@ -2882,7 +2944,6 @@ NewFile.propTypes = {
2882
2944
  or: PropTypes__default["default"].string,
2883
2945
  size: PropTypes__default["default"].string,
2884
2946
  label: PropTypes__default["default"].string,
2885
- width: PropTypes__default["default"].string,
2886
2947
  color: PropTypes__default["default"].string,
2887
2948
  height: PropTypes__default["default"].string,
2888
2949
  disabled: PropTypes__default["default"].bool,
@@ -2892,6 +2953,7 @@ NewFile.propTypes = {
2892
2953
  upload: PropTypes__default["default"].string,
2893
2954
  weight: PropTypes__default["default"].number,
2894
2955
  maxSize: PropTypes__default["default"].number,
2956
+ maxWidth: PropTypes__default["default"].string,
2895
2957
  removeFile: PropTypes__default["default"].func,
2896
2958
  errorSize: PropTypes__default["default"].string,
2897
2959
  labelSize: PropTypes__default["default"].string,
@@ -3033,29 +3095,30 @@ const Textarea = ({
3033
3095
  value,
3034
3096
  height,
3035
3097
  resize,
3036
- border,
3037
3098
  radius,
3038
3099
  padding,
3039
3100
  required,
3040
3101
  onChange,
3041
3102
  minWidth,
3042
3103
  maxWidth,
3104
+ boxShadow,
3043
3105
  minHeight,
3044
3106
  maxHeight,
3045
3107
  boxSizing,
3046
3108
  maxLength,
3047
3109
  labelSize,
3048
3110
  errorSize,
3111
+ marginTop,
3049
3112
  labelColor,
3050
3113
  errorColor,
3051
- borderColor,
3052
3114
  labelWeight,
3053
3115
  placeholder,
3054
3116
  labelDisplay,
3055
- errorMesaage,
3117
+ errorMessage,
3056
3118
  backgroundColor,
3057
3119
  borderFocusColor,
3058
3120
  borderHoverColor,
3121
+ labelMarginBottom,
3059
3122
  showCharacterCount,
3060
3123
  labelRequiredColor
3061
3124
  }) => {
@@ -3105,12 +3168,12 @@ const Textarea = ({
3105
3168
  setInnerValue(value);
3106
3169
  }, [value, onChange]);
3107
3170
  React.useEffect(() => {
3108
- if (errorMesaage) {
3109
- setError(errorMesaage);
3171
+ if (errorMessage) {
3172
+ setError(errorMessage);
3110
3173
  } else {
3111
3174
  setError('');
3112
3175
  }
3113
- }, [errorMesaage]);
3176
+ }, [errorMessage]);
3114
3177
  return /*#__PURE__*/React__default["default"].createElement("div", {
3115
3178
  style: {
3116
3179
  width: width ? width : configStyles.TEXTAREA.width
@@ -3119,7 +3182,8 @@ const Textarea = ({
3119
3182
  style: {
3120
3183
  display: 'flex',
3121
3184
  alignItems: 'center',
3122
- justifyContent: label ? 'space-between' : 'flex-end'
3185
+ justifyContent: label ? 'space-between' : 'flex-end',
3186
+ marginBottom: labelMarginBottom ? labelMarginBottom : configStyles.TEXTAREA.labelMarginBottom
3123
3187
  }
3124
3188
  }, label ? /*#__PURE__*/React__default["default"].createElement("label", {
3125
3189
  style: {
@@ -3140,11 +3204,11 @@ const Textarea = ({
3140
3204
  }, maxLength - value.length, " \u0576\u056B\u0577")), /*#__PURE__*/React__default["default"].createElement("textarea", {
3141
3205
  style: {
3142
3206
  width: '100%',
3207
+ border: 'none',
3143
3208
  outline: 'none',
3144
3209
  overflow: 'auto',
3145
3210
  fontSize: size ? size : configStyles.TEXTAREA.size,
3146
3211
  height: height ? height : configStyles.TEXTAREA.height,
3147
- border: border ? border : configStyles.TEXTAREA.border,
3148
3212
  padding: padding ? padding : configStyles.TEXTAREA.padding,
3149
3213
  borderRadius: radius ? radius : configStyles.TEXTAREA.radius,
3150
3214
  minWidth: minWidth ? minWidth : configStyles.TEXTAREA.minWidth,
@@ -3153,7 +3217,7 @@ const Textarea = ({
3153
3217
  maxHeight: maxHeight ? maxHeight : configStyles.TEXTAREA.maxHeight,
3154
3218
  boxSizing: boxSizing ? boxSizing : configStyles.TEXTAREA.boxSizing,
3155
3219
  backgroundColor: backgroundColor ? backgroundColor : configStyles.TEXTAREA.backgroundColor,
3156
- borderColor: error ? errorColor ? errorColor : configStyles.TEXTAREA.errorColor : isFocus ? borderFocusColor ? borderFocusColor : configStyles.TEXTAREA.borderFocusColor : isHover ? borderHoverColor ? borderHoverColor : configStyles.TEXTAREA.borderHoverColor : borderColor ? borderColor : configStyles.TEXTAREA.borderColor,
3220
+ boxShadow: error ? errorColor ? `0 0 0 2px ${errorColor}` : `0 0 0 2px ${configStyles.TEXTAREA.errorColor}` : isFocus ? borderFocusColor ? `0 0 0 2px ${borderFocusColor}` : `0 0 0 2px ${configStyles.TEXTAREA.borderFocusColor}` : isHover ? borderHoverColor ? `0 0 0 2px ${borderHoverColor}` : `0 0 0 2px ${configStyles.TEXTAREA.borderHoverColor}` : boxShadow ? boxShadow : configStyles.INPUT.boxShadow,
3157
3221
  resize: resize ? resize : configStyles.TEXTAREA.resize
3158
3222
  },
3159
3223
  value: innerValue,
@@ -3165,10 +3229,10 @@ const Textarea = ({
3165
3229
  onMouseLeave: handleMouseLeave
3166
3230
  }), error ? /*#__PURE__*/React__default["default"].createElement("span", {
3167
3231
  style: {
3168
- marginTop: '6px',
3169
3232
  display: 'inline-block',
3170
3233
  fontSize: errorSize ? errorSize : configStyles.TEXTAREA.errorSize,
3171
- color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor
3234
+ color: errorColor ? errorColor : configStyles.TEXTAREA.errorColor,
3235
+ marginTop: marginTop ? marginTop : configStyles.TEXTAREA.marginTop
3172
3236
  }
3173
3237
  }, error) : '');
3174
3238
  };
@@ -3178,27 +3242,31 @@ Textarea.propTypes = {
3178
3242
  width: PropTypes__default["default"].string,
3179
3243
  height: PropTypes__default["default"].string,
3180
3244
  resize: PropTypes__default["default"].string,
3181
- border: PropTypes__default["default"].string,
3182
3245
  radius: PropTypes__default["default"].string,
3183
3246
  required: PropTypes__default["default"].bool,
3184
3247
  padding: PropTypes__default["default"].string,
3185
3248
  minWidth: PropTypes__default["default"].string,
3186
3249
  maxWidth: PropTypes__default["default"].string,
3250
+ boxShadow: PropTypes__default["default"].string,
3251
+ marginTop: PropTypes__default["default"].string,
3187
3252
  boxSizing: PropTypes__default["default"].string,
3188
3253
  minHeight: PropTypes__default["default"].string,
3189
3254
  maxHeight: PropTypes__default["default"].string,
3190
3255
  maxLength: PropTypes__default["default"].number,
3191
3256
  labelSize: PropTypes__default["default"].string,
3257
+ errorSize: PropTypes__default["default"].string,
3192
3258
  labelColor: PropTypes__default["default"].string,
3259
+ errorColor: PropTypes__default["default"].string,
3193
3260
  labelWeight: PropTypes__default["default"].string,
3194
- borderColor: PropTypes__default["default"].string,
3195
3261
  placeholder: PropTypes__default["default"].string,
3262
+ errorMessage: PropTypes__default["default"].string,
3196
3263
  labelDisplay: PropTypes__default["default"].string,
3197
3264
  backgroundColor: PropTypes__default["default"].string,
3198
3265
  showCharacterCount: PropTypes__default["default"].bool,
3199
3266
  value: PropTypes__default["default"].string.isRequired,
3200
3267
  borderFocusColor: PropTypes__default["default"].string,
3201
3268
  borderHoverColor: PropTypes__default["default"].string,
3269
+ labelMarginBottom: PropTypes__default["default"].string,
3202
3270
  onChange: PropTypes__default["default"].func.isRequired,
3203
3271
  labelRequiredColor: PropTypes__default["default"].string
3204
3272
  };
@@ -3357,6 +3425,7 @@ const PaginationRange = ({
3357
3425
  const SvgDots = ({
3358
3426
  title,
3359
3427
  titleId,
3428
+ fillColor,
3360
3429
  ...props
3361
3430
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
3362
3431
  width: "11",
@@ -3369,12 +3438,13 @@ const SvgDots = ({
3369
3438
  id: titleId
3370
3439
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
3371
3440
  d: "M.23 1.136C.23.742.326.464.518.304c.192-.16.421-.24.688-.24.277 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256C.326 1.798.23 1.52.23 1.136Zm4.281 0c0-.394.096-.672.288-.832.192-.16.422-.24.688-.24.278 0 .512.08.704.24.203.16.304.438.304.832 0 .384-.101.662-.304.832-.192.17-.426.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Zm4.282 0c0-.394.096-.672.288-.832.192-.16.421-.24.688-.24.277 0 .512.08.704.24.202.16.304.438.304.832 0 .384-.102.662-.304.832-.192.17-.427.256-.704.256a1 1 0 0 1-.688-.256c-.192-.17-.288-.448-.288-.832Z",
3372
- fill: "#3C393E"
3441
+ fill: fillColor ? fillColor : '#3C393E'
3373
3442
  }));
3374
3443
 
3375
3444
  const SvgNextarrow = ({
3376
3445
  title,
3377
3446
  titleId,
3447
+ fillColor,
3378
3448
  ...props
3379
3449
  }) => /*#__PURE__*/React__namespace.createElement("svg", _extends({
3380
3450
  width: "6",
@@ -3387,7 +3457,7 @@ const SvgNextarrow = ({
3387
3457
  id: titleId
3388
3458
  }, title) : null, /*#__PURE__*/React__namespace.createElement("path", {
3389
3459
  d: "M.851 11.998a.847.847 0 0 1-.847-.776.86.86 0 0 1 .193-.626l3.808-4.584L.333 1.419A.857.857 0 0 1 .46.213a.849.849 0 0 1 1.241.128l4.106 5.132a.859.859 0 0 1 0 1.086l-4.25 5.132a.85.85 0 0 1-.706.307Z",
3390
- fill: "#3C393E"
3460
+ fill: fillColor ? fillColor : '#3C393E'
3391
3461
  }));
3392
3462
 
3393
3463
  const Pagination = ({
@@ -3701,6 +3771,7 @@ const NewAutocomplete = ({
3701
3771
  selected,
3702
3772
  errorSize,
3703
3773
  labelSize,
3774
+ marginTop,
3704
3775
  errorColor,
3705
3776
  labelColor,
3706
3777
  labelWeight,
@@ -3858,11 +3929,12 @@ const NewAutocomplete = ({
3858
3929
  backgroundColor: contentBottomRowBackgroundColor ? contentBottomRowBackgroundColor : configStyles.NEWAUTOCOMPLETE.contentBottomRowBackgroundColor
3859
3930
  }
3860
3931
  }, item.name);
3861
- }))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default["default"].createElement("p", {
3932
+ }))) : innerOptions.length <= 0 ? /*#__PURE__*/React__default["default"].createElement("span", {
3862
3933
  style: {
3863
- margin: '0px',
3934
+ position: 'absolute',
3864
3935
  color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
3865
3936
  fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
3937
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
3866
3938
  height: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
3867
3939
  padding: contentBottomRowPadding ? contentBottomRowPadding : configStyles.NEWAUTOCOMPLETE.contentBottomRowPadding,
3868
3940
  lineHeight: contentBottomRowHeight ? contentBottomRowHeight : configStyles.NEWAUTOCOMPLETE.contentBottomRowHeight,
@@ -3948,10 +4020,11 @@ const NewAutocomplete = ({
3948
4020
  }
3949
4021
  }, props)), errorMessage ? /*#__PURE__*/React__default["default"].createElement("span", {
3950
4022
  style: {
3951
- margin: '0px',
3952
- display: 'inline-block',
4023
+ left: '0px',
4024
+ position: 'absolute',
3953
4025
  color: errorColor ? errorColor : configStyles.NEWAUTOCOMPLETE.errorColor,
3954
4026
  fontSize: errorSize ? errorSize : configStyles.NEWAUTOCOMPLETE.errorSize,
4027
+ top: marginTop ? `calc(100% + ${marginTop})` : `calc(100% + ${configStyles.INPUT.marginTop})`,
3955
4028
  maxWidth: contentTopMaxWidth ? contentTopMaxWidth : configStyles.NEWAUTOCOMPLETE.contentTopMaxWidth
3956
4029
  }
3957
4030
  }, errorMessage) : '', optionList));
@@ -3962,6 +4035,7 @@ NewAutocomplete.propTypes = {
3962
4035
  disabled: PropTypes__default["default"].bool,
3963
4036
  selected: PropTypes__default["default"].string,
3964
4037
  errorSize: PropTypes__default["default"].string,
4038
+ marginTop: PropTypes__default["default"].string,
3965
4039
  labelSize: PropTypes__default["default"].string,
3966
4040
  errorColor: PropTypes__default["default"].string,
3967
4041
  labelColor: PropTypes__default["default"].string,