mimir-ui-kit 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. package/README.md +62 -62
  2. package/dist/DatePickerModal-DUUCHAWF.js +204 -0
  3. package/dist/{NavigationButtons-B8tMfqrg.js → NavigationButtons-DuOoqaPo.js} +20 -20
  4. package/dist/assets/Button.css +1 -1
  5. package/dist/assets/DatePickerModal.css +1 -0
  6. package/dist/assets/Drawer.css +1 -0
  7. package/dist/assets/Input.css +1 -1
  8. package/dist/assets/MergedButton.css +1 -1
  9. package/dist/assets/OtpInput.css +1 -1
  10. package/dist/assets/RadioGroup.css +1 -1
  11. package/dist/assets/SelectSearch.css +1 -0
  12. package/dist/assets/Slider.css +1 -1
  13. package/dist/assets/Switch.css +1 -0
  14. package/dist/assets/Tag.css +1 -0
  15. package/dist/assets/Timer.css +1 -0
  16. package/dist/assets/index.css +1 -1
  17. package/dist/components/Button/Button.d.ts +0 -1
  18. package/dist/components/Button/Button.js +25 -25
  19. package/dist/components/DatePicker/DatePicker.d.ts +44 -0
  20. package/dist/components/DatePicker/DatePicker.js +69 -0
  21. package/dist/components/DatePicker/DatePickerModal.d.ts +8 -0
  22. package/dist/components/DatePicker/DatePickerModal.js +9 -0
  23. package/dist/components/DatePicker/constants.d.ts +6 -0
  24. package/dist/components/DatePicker/constants.js +11 -0
  25. package/dist/components/DatePicker/index.d.ts +2 -0
  26. package/dist/components/DatePicker/index.js +4 -0
  27. package/dist/components/Drawer/Drawer.d.ts +38 -0
  28. package/dist/components/Drawer/Drawer.js +144 -0
  29. package/dist/components/Drawer/constants.d.ts +5 -0
  30. package/dist/components/Drawer/constants.js +9 -0
  31. package/dist/components/Drawer/index.d.ts +2 -0
  32. package/dist/components/Drawer/index.js +6 -0
  33. package/dist/components/Input/Input.d.ts +2 -2
  34. package/dist/components/Input/Input.js +17 -16
  35. package/dist/components/InputPassword/InputPassword.js +2 -2
  36. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  37. package/dist/components/MergedButton/MergedButton.d.ts +1 -1
  38. package/dist/components/MergedButton/MergedButton.js +17 -19
  39. package/dist/components/OtpInput/OtpInput.js +6 -6
  40. package/dist/components/Portal/Portal.d.ts +7 -0
  41. package/dist/components/Portal/Portal.js +10 -0
  42. package/dist/components/Portal/index.d.ts +1 -0
  43. package/dist/components/Portal/index.js +4 -0
  44. package/dist/components/RadioGroup/RadioGroup.d.ts +18 -2
  45. package/dist/components/RadioGroup/RadioGroup.js +127 -1061
  46. package/dist/components/RadioGroup/index.d.ts +1 -1
  47. package/dist/components/SelectSearch/SelectSearch.d.ts +15 -0
  48. package/dist/components/SelectSearch/SelectSearch.js +3961 -0
  49. package/dist/components/SelectSearch/constants.d.ts +4 -0
  50. package/dist/components/SelectSearch/constants.js +8 -0
  51. package/dist/components/SelectSearch/index.d.ts +2 -0
  52. package/dist/components/SelectSearch/index.js +6 -0
  53. package/dist/components/Slider/NavigationButtons/NavigationButtons.js +1 -1
  54. package/dist/components/Slider/NavigationButtons/index.js +1 -1
  55. package/dist/components/Slider/Slider.js +10 -10
  56. package/dist/components/Switch/Switch.d.ts +294 -0
  57. package/dist/components/Switch/Switch.js +57 -0
  58. package/dist/components/Switch/index.d.ts +2 -0
  59. package/dist/components/Switch/index.js +4 -0
  60. package/dist/components/Tag/Tag.d.ts +19 -57
  61. package/dist/components/Tag/Tag.js +39 -84
  62. package/dist/components/Tag/constants.d.ts +5 -37
  63. package/dist/components/Tag/constants.js +13 -53
  64. package/dist/components/Tag/index.d.ts +2 -3
  65. package/dist/components/Tag/index.js +5 -6
  66. package/dist/components/Tag/types.d.ts +0 -6
  67. package/dist/components/Timer/Timer.d.ts +24 -0
  68. package/dist/components/Timer/Timer.js +29 -0
  69. package/dist/components/Timer/index.d.ts +1 -0
  70. package/dist/components/Timer/index.js +4 -0
  71. package/dist/components/index.d.ts +11 -1
  72. package/dist/components/index.js +19 -0
  73. package/dist/focus-management-CFDo6ZSc.js +91 -0
  74. package/dist/hooks/index.d.ts +3 -0
  75. package/dist/hooks/index.js +7 -1
  76. package/dist/hooks/useClickOutside/index.d.ts +1 -0
  77. package/dist/hooks/useClickOutside/index.js +4 -0
  78. package/dist/hooks/useClickOutside/useClickOutside.d.ts +7 -0
  79. package/dist/hooks/useClickOutside/useClickOutside.js +25 -0
  80. package/dist/hooks/useInterval/index.d.ts +1 -0
  81. package/dist/hooks/useInterval/index.js +4 -0
  82. package/dist/hooks/useInterval/useInterval.d.ts +1 -0
  83. package/dist/hooks/useInterval/useInterval.js +17 -0
  84. package/dist/hooks/useLockBodyScroll/index.d.ts +1 -0
  85. package/dist/hooks/useLockBodyScroll/index.js +4 -0
  86. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.d.ts +6 -0
  87. package/dist/hooks/useLockBodyScroll/useLockBodyScroll.js +20 -0
  88. package/dist/hooks/useTimer/index.d.ts +18 -0
  89. package/dist/hooks/useTimer/index.js +83 -0
  90. package/dist/hooks/useTimer/useTimer.d.ts +18 -0
  91. package/dist/hooks/useTimer/useTimer.js +87 -0
  92. package/dist/hooks/useTimer/utils.d.ts +24 -0
  93. package/dist/hooks/useTimer/utils.js +88 -0
  94. package/dist/index.d.ts +1 -0
  95. package/dist/index.js +28 -1
  96. package/dist/label-BXAcSLy0.js +913 -0
  97. package/dist/use-active-press-9MCrfRZk.js +31 -0
  98. package/dist/utils/formating/Date.d.ts +1 -0
  99. package/dist/utils/formating/Date.js +26 -0
  100. package/dist/utils/formating/Month.d.ts +8 -0
  101. package/dist/utils/formating/Month.js +80 -0
  102. package/dist/utils/formating/Numbers.d.ts +6 -0
  103. package/dist/utils/formating/Numbers.js +8 -0
  104. package/dist/utils/index.d.ts +9 -0
  105. package/dist/utils/index.js +11 -0
  106. package/package.json +128 -128
@@ -1 +1 @@
1
- @font-face{font-weight:400;font-family:Montserrat;font-style:normal;src:url(./fonts/585d10920d676fcd.woff2) format("woff2"),url(./fonts/3b9f59412b17ff93.woff) format("woff")}@font-face{font-weight:700;font-family:Montserrat;font-style:normal;src:url(./fonts/f4d681a788c6d497.woff2) format("woff2"),url(./fonts/43b748f250df0f08.woff) format("woff")}@font-face{font-weight:300;font-family:Montserrat;font-style:normal;src:url(./fonts/ee3db32f0aadef5d.woff2) format("woff2"),url(./fonts/1a738bfdbc1e4d9d.woff) format("woff")}@font-face{font-weight:500;font-family:Montserrat;font-style:normal;src:url(./fonts/e51d2feb30084bc2.woff2) format("woff2"),url(./fonts/badaa6d1837432de.woff) format("woff")}@font-face{font-weight:600;font-family:Montserrat;font-style:normal;src:url(./fonts/63611593e008a77c.woff2) format("woff2"),url(./fonts/3cdd7fabbe89d2b9.woff) format("woff")}@font-face{font-weight:400;font-family:Inter;font-style:normal;src:url(./fonts/d080ae18fd04e52c.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:700;font-family:Inter;font-style:normal;src:url(./fonts/11d5bc9f0cad36d1.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:500;font-family:Inter;font-style:normal;src:url(./fonts/242d04bef81519ae.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:600;font-family:Inter;font-style:normal;src:url(./fonts/cac2ba46e8c8adc9.woff2) format("woff2");font-variant-numeric:slashed-zero}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}:root{font-feature-settings:"zero"}*{margin:0;padding:0;border:0;outline:none}*,:after,:before{box-sizing:border-box}:active,:focus{outline:0}a,a:visited,a:hover{-webkit-text-decoration:none;text-decoration:none}a:active,a:focus{outline:0}aside,footer,header,nav{display:block}body,html{width:100%;height:100%;font-size:100%;line-height:1}button,input,textarea,select{font-family:inherit}input::-ms-clear{display:none}button{background-color:transparent;cursor:pointer}button::-moz-focus-inner{padding:0;border:0}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6{font-weight:inherit;font-size:inherit}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--color-typo-brand);-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s}:root{--sapphire-100: #2355d7;--sapphire-90: #3564df;--sapphire-80: #4b75e2;--sapphire-70: #6186e6;--sapphire-60: #7797e9;--sapphire-50: #8da7ed;--sapphire-40: #9fb7f4;--sapphire-30: #b9caf4;--sapphire-20: #cfdaf7;--sapphire-10: #e5ebfb;--citrine-100: #ff7900;--citrine-90: #ff861a;--citrine-80: #ff9433;--citrine-70: #ffa14d;--citrine-60: #ffaf66;--citrine-50: #ffbc80;--citrine-40: #ffc999;--citrine-30: #ffd7b2;--citrine-20: #ffe4cc;--citrine-10: #fff2e5;--magenta-100: #bc2251;--magenta-90: #d8275d;--magenta-80: #dc3d6d;--magenta-70: #e15781;--magenta-60: #e46c91;--magenta-50: #e986a4;--magenta-40: #ed9cb4;--magenta-30: #f2b6c8;--magenta-20: #f6cbd8;--magenta-10: #fae5ec;--black-100: #000;--black-95: #0d0d0d;--black-90: #1a1a1a;--black-85: #262626;--black-80: #333;--black-75: #404040;--black-70: #4d4d4d;--black-65: #595959;--black-60: #666;--black-55: #737373;--black-50: #808080;--black-45: #8c8c8c;--black-40: #999;--black-35: #a6a6a6;--black-30: #b3b3b3;--black-25: #bfbfbf;--black-20: #ccc;--black-15: #d9d9d9;--black-10: #e6e6e6;--black-5: #f2f2f2;--white: #fff;--dark-blue: #0a38af;--blue-40: #a7bbef;--blue-20: #d3ddf7;--green: #1b770c;--red-tag: #f01406;--success-normal: #23b413;--success-bg-hover: #d5fbe2;--success-bg-active: #ebfdf1;--alarm-normal: #fdc023;--alarm-bg-hover: #fff0c7;--alarm-bg-active: #fff6de;--error-normal: #e64646;--error-bg-hover: #fadbdb;--error-bg-active: #fbe3e3;--disabled: #b3b3b3;--disabled-color: #b2b2b2;--light-text: var(--white);--dark-text: var(--black-100);--sapphire-normal: var(--sapphire-100);--sapphire-hover: #1b41a3;--sapphire-active: #122c70;--citrine-normal: var(--citrine-100);--citrine-hover: #e56d00;--citrine-active: #cc6100;--asphalt-border: var(--black-30);--asphalt-normal: var(--black-80);--asphalt-hover: var(--black-90);--asphalt-active: var(--black-100);--gray-normal: var(--black-5);--gray-hover: var(--black-10);--gray-active: var(--black-80);--white-normal: var(--white);--white-hover: var(--black-5);--white-transparent: rgba(255, 255, 255, .4);--white-active: var(--black-80);--red-normal: var(--error-normal);--red-hover: #e33030;--red-active: #dc1e1e;--green-normal: var(--green);--green-hover: #16610a;--green-active: #114a08;--counter-text: #ffa066;--button-height-xs: 24px;--button-height-s: 32px;--button-height-m: 40px;--button-height-l: 48px;--button-height-xl: 56px;--button-height-xxl: 64px;--control-default: var(--sapphire-20);--control-hover: var(--sapphire-40);--control-selected: var(--sapphire-100);--control-disabled: var(--black-10);--font-inter: "Inter", sans-serif;--font-montserrat: "Montserrat", sans-serif;--font-weight-text-regular: 400;--font-weight-text-medium: 500;--font-weight-text-semibold: 600;--font-weight-text-bold: 700;--font-weight-text-extrabold: 800;--font-weight-text-black: 900;--size-text-xs2: 8px;--size-text-xs: 10px;--size-text-s: 12px;--size-text-m: 14px;--size-text-l: 16px;--size-text-xl: 20px;--size-text-xl2: 24px;--size-text-2xl: 28px;--size-text-xl3: 32px;--size-text-xl4: 48px;--size-text-xl5: 72px;--size-text-xl6: 96px;--line-height-text-2xs: 1em;--line-height-text-xs: 1.1em;--line-height-text-s: 1.2em;--line-height-text-s1: 1.25em;--line-height-text-m: 1.3em;--line-height-text-m1: 1.35em;--line-height-text-l: 1.4em;--line-height-text-l1: 1.45em;--line-height-text-xl: 1.5em;--line-height-text-xl1: 1.5em;--control-radius-s: 4px;--control-radius: 6px;--control-radius-l: 24px;--control-input-radius: 12px;--control-border-width: 1px;--control-height-xl: 60px;--control-height-xxl: 60px;--control-height-l: var(--space-4xl);--control-height-m: var(--space-3xl);--control-height-s: var(--space-2xl);--control-height-xs: var(--space-xl);--control-box-size-s: var(--space-s);--control-box-size-m: var(--space-m);--control-box-size-l: var(--space-l);--control-space-xxl: var(--space-xl);--control-space-l: var(--space-xl);--control-space-m: var(--space-l);--control-space-s: var(--space-m);--control-space-xs: var(--space-s);--control-text-size-2xl: var(--size-text-xl);--control-text-size-xl: var(--size-text-xl3);--control-text-size-l: var(--size-text-l);--control-text-size-m: var(--size-text-m);--control-text-size-s: var(--size-text-s);--control-text-size-xs: var(--size-text-xs);--space-3xs: 2px;--space-2xs: 4px;--space-1xs: 6px;--space-xs: 8px;--space-s: 12px;--space-m: 16px;--space-l: 20px;--space-xl: 24px;--space-2xl: 32px;--space-xxl: 40px;--space-3xl: 44px;--space-4xl: 48px;--space-4xxl: 64px;--space-5xl: 72px;--space-6xl: 96px;--box-shadow-active: 0 0 2px var(--sapphire-normal);--box-shadow-focus: 0px 0px 10px 2px #1389cc}@supports (font-variation-settings: normal){:root{font-family:Inter,sans-serif}}:root{font-feature-settings:"zero";font-variant-numeric:slashed-zero}body{font-family:Inter,sans-serif;font-feature-settings:"zero";font-variant-numeric:slashed-zero;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
1
+ @font-face{font-weight:400;font-family:Montserrat;font-style:normal;src:url(./fonts/585d10920d676fcd.woff2) format("woff2"),url(./fonts/3b9f59412b17ff93.woff) format("woff")}@font-face{font-weight:700;font-family:Montserrat;font-style:normal;src:url(./fonts/f4d681a788c6d497.woff2) format("woff2"),url(./fonts/43b748f250df0f08.woff) format("woff")}@font-face{font-weight:300;font-family:Montserrat;font-style:normal;src:url(./fonts/ee3db32f0aadef5d.woff2) format("woff2"),url(./fonts/1a738bfdbc1e4d9d.woff) format("woff")}@font-face{font-weight:500;font-family:Montserrat;font-style:normal;src:url(./fonts/e51d2feb30084bc2.woff2) format("woff2"),url(./fonts/badaa6d1837432de.woff) format("woff")}@font-face{font-weight:600;font-family:Montserrat;font-style:normal;src:url(./fonts/63611593e008a77c.woff2) format("woff2"),url(./fonts/3cdd7fabbe89d2b9.woff) format("woff")}@font-face{font-weight:400;font-family:Inter;font-style:normal;src:url(./fonts/d080ae18fd04e52c.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:700;font-family:Inter;font-style:normal;src:url(./fonts/11d5bc9f0cad36d1.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:500;font-family:Inter;font-style:normal;src:url(./fonts/242d04bef81519ae.woff2) format("woff2");font-variant-numeric:slashed-zero}@font-face{font-weight:600;font-family:Inter;font-style:normal;src:url(./fonts/cac2ba46e8c8adc9.woff2) format("woff2");font-variant-numeric:slashed-zero}@supports (font-variation-settings: normal){:root{font-family:InterVariable,sans-serif}}:root{font-feature-settings:"zero"}*{margin:0;padding:0;border:0;outline:none}*,:after,:before{box-sizing:border-box}:active,:focus{outline:0}a,a:visited,a:hover{-webkit-text-decoration:none;text-decoration:none}a:active,a:focus{outline:0}aside,footer,header,nav{display:block}body,html{width:100%;height:100%;font-size:100%;line-height:1}button,input,textarea,select{font-family:inherit}input::-ms-clear{display:none}button{background-color:transparent;cursor:pointer}button::-moz-focus-inner{padding:0;border:0}ul li{list-style:none}img{vertical-align:top}h1,h2,h3,h4,h5,h6{font-weight:inherit;font-size:inherit}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--color-typo-brand);-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s}:root{--sapphire-100: #2355d7;--sapphire-90: #3564df;--sapphire-80: #4b75e2;--sapphire-70: #6186e6;--sapphire-60: #7797e9;--sapphire-50: #8da7ed;--sapphire-40: #9fb7f4;--sapphire-30: #b9caf4;--sapphire-20: #cfdaf7;--sapphire-10: #e5ebfb;--citrine-100: #ff7900;--citrine-90: #ff861a;--citrine-80: #ff9433;--citrine-70: #ffa14d;--citrine-60: #ffaf66;--citrine-50: #ffbc80;--citrine-40: #ffc999;--citrine-30: #ffd7b2;--citrine-20: #ffe4cc;--citrine-10: #fff2e5;--magenta-100: #bc2251;--magenta-90: #d8275d;--magenta-80: #dc3d6d;--magenta-70: #e15781;--magenta-60: #e46c91;--magenta-50: #e986a4;--magenta-40: #ed9cb4;--magenta-30: #f2b6c8;--magenta-20: #f6cbd8;--magenta-10: #fae5ec;--black-100: #000;--black-95: #0d0d0d;--black-90: #1a1a1a;--black-85: #262626;--black-80: #333;--black-75: #404040;--black-70: #4d4d4d;--black-65: #595959;--black-60: #666;--black-55: #737373;--black-50: #808080;--black-45: #8c8c8c;--black-40: #999;--black-35: #a6a6a6;--black-30: #b3b3b3;--black-25: #bfbfbf;--black-20: #ccc;--black-15: #d9d9d9;--black-10: #e6e6e6;--black-5: #f2f2f2;--white: #fff;--dark-blue: #0a38af;--blue-40: #a7bbef;--blue-20: #d3ddf7;--green: #1b770c;--red-tag: #f01406;--success-normal: #23b413;--success-bg-hover: #d5fbe2;--success-bg-active: #ebfdf1;--alarm-normal: #fdc023;--alarm-bg-hover: #fff0c7;--alarm-bg-active: #fff6de;--error-normal: #e64646;--error-bg-hover: #fadbdb;--error-bg-active: #fbe3e3;--disabled: #b3b3b3;--disabled-color: #b2b2b2;--light-text: var(--white);--dark-text: var(--black-100);--sapphire-normal: var(--sapphire-100);--sapphire-hover: #1b41a3;--sapphire-active: #122c70;--citrine-normal: var(--citrine-100);--citrine-hover: #e56d00;--citrine-active: #cc6100;--asphalt-border: var(--black-30);--asphalt-normal: var(--black-80);--asphalt-hover: var(--black-90);--asphalt-active: var(--black-100);--gray-normal: var(--black-5);--gray-hover: var(--black-10);--gray-active: var(--black-80);--white-normal: var(--white);--white-hover: var(--black-5);--white-transparent: rgba(255, 255, 255, .4);--white-active: var(--black-80);--red-normal: var(--error-normal);--red-hover: #e33030;--red-active: #dc1e1e;--green-normal: var(--green);--green-hover: #16610a;--green-active: #114a08;--counter-text: #ffa066;--button-height-xs: 24px;--button-height-s: 32px;--button-height-m: 40px;--button-height-l: 48px;--button-height-xl: 56px;--button-height-xxl: 64px;--select-search-height-l: 48px;--select-search-height-xxl: 64px;--select-search-options-height-desktop: 320px;--select-search-options-height-mobile: 264px;--control-default: var(--sapphire-20);--control-hover: var(--sapphire-40);--control-selected: var(--sapphire-100);--control-disabled: var(--black-10);--font-inter: "Inter", sans-serif;--font-montserrat: "Montserrat", sans-serif;--font-weight-text-regular: 400;--font-weight-text-medium: 500;--font-weight-text-semibold: 600;--font-weight-text-bold: 700;--font-weight-text-extrabold: 800;--font-weight-text-black: 900;--size-text-xs2: 8px;--size-text-xs: 10px;--size-text-s: 12px;--size-text-m: 14px;--size-text-l: 16px;--size-text-xl: 20px;--size-text-xl2: 24px;--size-text-2xl: 28px;--size-text-xl3: 32px;--size-text-xl4: 48px;--size-text-xl5: 72px;--size-text-xl6: 96px;--line-height-text-2xs: 1em;--line-height-text-xs: 1.1em;--line-height-text-s: 1.2em;--line-height-text-s1: 1.25em;--line-height-text-m: 1.3em;--line-height-text-m1: 1.35em;--line-height-text-l: 1.4em;--line-height-text-l1: 1.45em;--line-height-text-xl: 1.5em;--line-height-text-xl1: 1.5em;--control-radius-xs: 4px;--control-radius: 6px;--control-radius-s: 8px;--control-radius-m: 20px;--control-radius-l: 24px;--control-radius-xl: 32px;--control-radius-xxl: 40px;--control-input-radius: 12px;--control-border-width: 1px;--control-height-xl: 60px;--control-height-xxl: 60px;--control-height-l: var(--space-4xl);--control-height-m: var(--space-3xl);--control-height-s: var(--space-2xl);--control-height-xs: var(--space-xl);--control-box-size-s: var(--space-s);--control-box-size-m: var(--space-m);--control-box-size-l: var(--space-l);--control-space-xxl: var(--space-xl);--control-space-l: var(--space-xl);--control-space-m: var(--space-l);--control-space-s: var(--space-m);--control-space-xs: var(--space-s);--control-text-size-2xl: var(--size-text-xl);--control-text-size-xl: var(--size-text-xl3);--control-text-size-l: var(--size-text-l);--control-text-size-m: var(--size-text-m);--control-text-size-s: var(--size-text-s);--control-text-size-xs: var(--size-text-xs);--space-3xs: 2px;--space-2xs: 4px;--space-1xs: 6px;--space-xs: 8px;--space-xss: 10px;--space-s: 12px;--space-2s: 14px;--space-m: 16px;--space-2m: 18px;--space-l: 20px;--space-2l: 22px;--space-xl: 24px;--space-2xl: 32px;--space-xxl: 40px;--space-3xl: 44px;--space-4xl: 48px;--space-4xxl: 64px;--space-5xl: 72px;--space-6xl: 96px;--box-shadow-active: 0 0 2px var(--sapphire-normal);--box-shadow-focus: 0px 0px 10px 2px #1389cc;--box-shadow-select-search: 0 3px 15px 0 rgba(31, 32, 35, .15);--select-search-input-top-l: -15%;--select-search-input-top-xxl: -35%;--container-width-xs: 375px;--container-width-s: 767px;--container-width-m: 960px;--container-width-l: 1280px;--container-width-xl: 1440px;--container-width-xxl: 1920px;--zindex-fixed: 1030;--sidebar-width-collapsed: 64px;--sidebar-width-expanded: 256px;--header-height: 64px;--sidebar-form-width-tablet: 369px;--sidebar-form-width-mobile: 309px}@supports (font-variation-settings: normal){:root{font-family:Inter,sans-serif}}:root{font-feature-settings:"zero";font-variant-numeric:slashed-zero}body{font-family:Inter,sans-serif;font-feature-settings:"zero";font-variant-numeric:slashed-zero;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
@@ -26,7 +26,6 @@ export type TProps = TCommonButtonProps & ComponentProps<'button'> & {
26
26
  };
27
27
  /**
28
28
  * Компонент кнопки, который можно настраивать с различными темами и размерами.
29
-
30
29
  */
31
30
  export declare const Button: import('react').ForwardRefExoticComponent<(Omit<import('./types').TButtonDefaultFormProps & {
32
31
  isIconButton: true;
@@ -1,21 +1,21 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { forwardRef } from "react";
3
2
  import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import { forwardRef } from "react";
4
4
  import { EButtonVariantDefault, EButtonForm } from "./constants.js";
5
5
  import { Icon } from "../../icons/Icon.js";
6
- import '../../assets/Button.css';const button = "_button_1hqwa_2";
7
- const clear = "_clear_1hqwa_41";
8
- const xs = "_xs_1hqwa_53";
9
- const s = "_s_1hqwa_61";
10
- const m = "_m_1hqwa_69";
11
- const l = "_l_1hqwa_77";
12
- const xl = "_xl_1hqwa_85";
13
- const xxl = "_xxl_1hqwa_94";
14
- const black = "_black_1hqwa_165";
15
- const gray = "_gray_1hqwa_174";
16
- const white = "_white_1hqwa_183";
17
- const full = "_full_1hqwa_193";
18
- const disabled = "_disabled_1hqwa_198";
6
+ import '../../assets/Button.css';const button = "_button_1wajr_2";
7
+ const clear = "_clear_1wajr_41";
8
+ const xs = "_xs_1wajr_53";
9
+ const s = "_s_1wajr_61";
10
+ const m = "_m_1wajr_69";
11
+ const l = "_l_1wajr_77";
12
+ const xl = "_xl_1wajr_85";
13
+ const xxl = "_xxl_1wajr_94";
14
+ const black = "_black_1wajr_168";
15
+ const gray = "_gray_1wajr_177";
16
+ const white = "_white_1wajr_186";
17
+ const full = "_full_1wajr_196";
18
+ const disabled = "_disabled_1wajr_202";
19
19
  const cls = {
20
20
  button,
21
21
  clear,
@@ -25,20 +25,20 @@ const cls = {
25
25
  l,
26
26
  xl,
27
27
  xxl,
28
- "default-button": "_default-button_1hqwa_103",
29
- "primary-sapphire": "_primary-sapphire_1hqwa_103",
30
- "primary-citrine": "_primary-citrine_1hqwa_112",
31
- "secondary-asphalt": "_secondary-asphalt_1hqwa_121",
32
- "secondary-gray": "_secondary-gray_1hqwa_130",
33
- "secondary-white": "_secondary-white_1hqwa_139",
34
- "secondary-red": "_secondary-red_1hqwa_148",
35
- "round-button": "_round-button_1hqwa_158",
28
+ "default-button": "_default-button_1wajr_103",
29
+ "primary-sapphire": "_primary-sapphire_1wajr_106",
30
+ "primary-citrine": "_primary-citrine_1wajr_115",
31
+ "secondary-asphalt": "_secondary-asphalt_1wajr_124",
32
+ "secondary-gray": "_secondary-gray_1wajr_133",
33
+ "secondary-white": "_secondary-white_1wajr_142",
34
+ "secondary-red": "_secondary-red_1wajr_151",
35
+ "round-button": "_round-button_1wajr_161",
36
36
  black,
37
37
  gray,
38
38
  white,
39
39
  full,
40
40
  disabled,
41
- "icon-button": "_icon-button_1hqwa_209"
41
+ "icon-button": "_icon-button_1wajr_213"
42
42
  };
43
43
  const Button = forwardRef(
44
44
  (props, ref) => {
@@ -68,9 +68,9 @@ const Button = forwardRef(
68
68
  };
69
69
  const buttonClassNames = classNames(
70
70
  cls.button,
71
+ className,
71
72
  mods,
72
- clear2 ? [] : [cls[form ?? ""], cls[size]],
73
- className
73
+ clear2 ? [] : [cls[form ?? ""], cls[size]]
74
74
  );
75
75
  return /* @__PURE__ */ jsxs(
76
76
  "button",
@@ -0,0 +1,44 @@
1
+ import { TInputProps } from '../Input';
2
+
3
+ export type DatePicker = {
4
+ /**
5
+ * функция=callback, которая вызывается при изменении значения и передает имя и новое значение для обновления стейта (data),
6
+ */
7
+ onChangeValue?: (e: TDatePickerValue) => void;
8
+ /**
9
+ * функция ограничения выбора даты
10
+ (до какой даты выбор не доступен)
11
+ */
12
+ before?: Date | string;
13
+ /**
14
+ * значение из стейта (data)
15
+ */
16
+ value?: string;
17
+ } & TInputProps;
18
+ export type TDatePickerValue = {
19
+ value?: Date;
20
+ name?: string;
21
+ };
22
+ export declare const DatePicker: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<{
23
+ /**
24
+ * функция=callback, которая вызывается при изменении значения и передает имя и новое значение для обновления стейта (data),
25
+ */
26
+ onChangeValue?: (e: TDatePickerValue) => void;
27
+ /**
28
+ * функция ограничения выбора даты
29
+ (до какой даты выбор не доступен)
30
+ */
31
+ before?: Date | string;
32
+ /**
33
+ * значение из стейта (data)
34
+ */
35
+ value?: string;
36
+ } & import('../Input/types').TInputProps & {
37
+ size?: import('../Input').TSize;
38
+ variant?: import('../Input').TVariant;
39
+ className?: string;
40
+ wrapperClassName?: string;
41
+ label?: import('react').ReactNode;
42
+ autofocus?: boolean;
43
+ readonly?: boolean;
44
+ } & import('react').RefAttributes<HTMLInputElement>>>;
@@ -0,0 +1,69 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import { memo, forwardRef, useState } from "react";
4
+ import { c as cls, D as DatePickerModal } from "../../DatePickerModal-DUUCHAWF.js";
5
+ import { useClickOutside } from "../../hooks/useClickOutside/useClickOutside.js";
6
+ import { formating } from "../../utils/index.js";
7
+ import { Button } from "../Button/Button.js";
8
+ import { Input } from "../Input/Input.js";
9
+ const DatePicker = memo(
10
+ forwardRef(
11
+ ({ size, value, onChangeValue, name, before, ...props }, ref) => {
12
+ const [isActive, setActive] = useState(false);
13
+ const [date, setDate] = useState(
14
+ value ? new Date(value) : /* @__PURE__ */ new Date()
15
+ );
16
+ useClickOutside({
17
+ isActive,
18
+ setActive,
19
+ className: cls["calendar-block"]
20
+ });
21
+ const onOpen = () => {
22
+ setActive(true);
23
+ };
24
+ const onDate = (d) => {
25
+ setDate(d);
26
+ onChangeValue == null ? void 0 : onChangeValue({ value: d, name });
27
+ };
28
+ const wrapperClassNames = classNames(cls.wrapper, isActive && cls.active);
29
+ return /* @__PURE__ */ jsxs("div", { className: wrapperClassNames, children: [
30
+ /* @__PURE__ */ jsx("div", { className: cls["date-wrapper"], onClick: onOpen, children: /* @__PURE__ */ jsx(
31
+ Input,
32
+ {
33
+ ref,
34
+ className: cls.input,
35
+ wrapperClassName: cls["input-wrapper"],
36
+ size,
37
+ type: "text",
38
+ value: formating.Date(date, "dd.mm.yy"),
39
+ ...props
40
+ }
41
+ ) }),
42
+ /* @__PURE__ */ jsx("div", { className: cls["button-wrapper"], children: /* @__PURE__ */ jsx(
43
+ Button,
44
+ {
45
+ isIconButton: true,
46
+ clear: true,
47
+ type: "button",
48
+ className: cls.button,
49
+ onClick: onOpen,
50
+ iconName: isActive ? "DropdownArrowUp16px" : "DropdownArrowBottom16px"
51
+ }
52
+ ) }),
53
+ isActive && /* @__PURE__ */ jsx(
54
+ DatePickerModal,
55
+ {
56
+ onChangeValue: onDate,
57
+ date,
58
+ setActive,
59
+ before: typeof before === "string" ? new Date(before) : before
60
+ }
61
+ )
62
+ ] });
63
+ }
64
+ )
65
+ );
66
+ DatePicker.displayName = "DatePicker";
67
+ export {
68
+ DatePicker
69
+ };
@@ -0,0 +1,8 @@
1
+ type DatePickerModal = {
2
+ date: Date;
3
+ onChangeValue: (d: Date) => void;
4
+ setActive: (s: boolean) => void;
5
+ before?: Date;
6
+ };
7
+ export declare function DatePickerModal({ date, onChangeValue, setActive, before }: DatePickerModal): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "./constants.js";
4
+ import { D } from "../../DatePickerModal-DUUCHAWF.js";
5
+ import "../../utils/index.js";
6
+ import "../Button/Button.js";
7
+ export {
8
+ D as DatePickerModal
9
+ };
@@ -0,0 +1,6 @@
1
+ export declare enum EDatePickerBeforeDate {
2
+ CurrentDate1 = "2024-08-01",
3
+ CurrentDate2 = "2024-07-01",
4
+ CurrentDate3 = "2024-07-11"
5
+ }
6
+ export declare const week: string[];
@@ -0,0 +1,11 @@
1
+ var EDatePickerBeforeDate = /* @__PURE__ */ ((EDatePickerBeforeDate2) => {
2
+ EDatePickerBeforeDate2["CurrentDate1"] = "2024-08-01";
3
+ EDatePickerBeforeDate2["CurrentDate2"] = "2024-07-01";
4
+ EDatePickerBeforeDate2["CurrentDate3"] = "2024-07-11";
5
+ return EDatePickerBeforeDate2;
6
+ })(EDatePickerBeforeDate || {});
7
+ const week = ["пн", "вт", "ср", "чт", "пт", "сб", "вс"];
8
+ export {
9
+ EDatePickerBeforeDate,
10
+ week
11
+ };
@@ -0,0 +1,2 @@
1
+ export { DatePicker } from './DatePicker';
2
+ export type { DatePicker as TDatePickerProps, TDatePickerValue } from './DatePicker';
@@ -0,0 +1,4 @@
1
+ import { DatePicker } from "./DatePicker.js";
2
+ export {
3
+ DatePicker
4
+ };
@@ -0,0 +1,38 @@
1
+ import { PropsWithChildren, ReactNode } from 'react';
2
+ import { EDrawerPosition } from './constants';
3
+
4
+ type TProps = {
5
+ /**
6
+ * Обязательный заголовок.
7
+ */
8
+ title: string;
9
+ /**
10
+ * Флаг отвечачающий за показ/скрытие.
11
+ */
12
+ isOpen?: boolean;
13
+ /**
14
+ * Настраиваемый паддинг для body, что бы избежать скачка контента при overflow: hidden
15
+ */
16
+ paddingRight?: number;
17
+ /**
18
+ * Функция закрытия шторки
19
+ */
20
+ onClose?: VoidFunction;
21
+ /**
22
+ * Дополнительный класс для родительской обертки.
23
+ */
24
+ className?: string;
25
+ /**
26
+ * Позиция шторки.
27
+ */
28
+ position?: `${EDrawerPosition}` | EDrawerPosition;
29
+ /**
30
+ * Кастомный footer. По дефолту в нем расположена кнопка для закрытия.
31
+ */
32
+ footer?: ReactNode;
33
+ };
34
+ /**
35
+ * Компонент шторки, который может выезжать слева, справа или внизу.
36
+ */
37
+ export declare const Drawer: ({ isOpen, onClose, title, className, position, paddingRight, footer, children }: PropsWithChildren<TProps>) => import("react/jsx-runtime").JSX.Element | null;
38
+ export {};
@@ -0,0 +1,144 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import { useState, useRef, useCallback, useEffect } from "react";
4
+ import { EDrawerPosition } from "./constants.js";
5
+ import { useMediaQuery } from "../../hooks/useMediaQuery/useMediaQuery.js";
6
+ import { EMediaQuery } from "../../hooks/useMediaQuery/constants.js";
7
+ import { useLockBodyScroll } from "../../hooks/useLockBodyScroll/useLockBodyScroll.js";
8
+ import { Button } from "../Button/Button.js";
9
+ import { EButtonVariantDefault, EButtonSize } from "../Button/constants.js";
10
+ import { Portal } from "../Portal/Portal.js";
11
+ import '../../assets/Drawer.css';const drawer = "_drawer_vy4rv_3";
12
+ const content = "_content_vy4rv_17";
13
+ const header = "_header_vy4rv_32";
14
+ const title = "_title_vy4rv_40";
15
+ const space = "_space_vy4rv_54";
16
+ const inner = "_inner_vy4rv_65";
17
+ const button = "_button_vy4rv_68";
18
+ const footer = "_footer_vy4rv_73";
19
+ const left = "_left_vy4rv_86";
20
+ const right = "_right_vy4rv_90";
21
+ const bottom = "_bottom_vy4rv_94";
22
+ const opened = "_opened_vy4rv_103";
23
+ const overlay = "_overlay_vy4rv_151";
24
+ const cls = {
25
+ drawer,
26
+ content,
27
+ header,
28
+ title,
29
+ space,
30
+ inner,
31
+ button,
32
+ footer,
33
+ "footer-button": "_footer-button_vy4rv_82",
34
+ left,
35
+ right,
36
+ bottom,
37
+ opened,
38
+ "is-closing": "_is-closing_vy4rv_118",
39
+ overlay
40
+ };
41
+ const ANIMATION_DELAY = 300;
42
+ const Drawer = ({
43
+ isOpen,
44
+ onClose,
45
+ title: title2,
46
+ className,
47
+ position = EDrawerPosition.RIGHT,
48
+ paddingRight = 8,
49
+ footer: footer2,
50
+ children
51
+ }) => {
52
+ const [isClosing, setIsClosing] = useState(false);
53
+ const [isMounted, setIsMounted] = useState(false);
54
+ const [isBodyScrollLocked, setIsBodyScrollLocked] = useState(false);
55
+ const timerRef = useRef();
56
+ const contentRef = useRef(null);
57
+ const isBottomPosition = position === EDrawerPosition.BOTTOM;
58
+ const isMobile = useMediaQuery(EMediaQuery.XS1);
59
+ useLockBodyScroll({
60
+ on: isBodyScrollLocked,
61
+ paddingRight
62
+ });
63
+ const handleClose = useCallback(() => {
64
+ if (onClose) {
65
+ setIsClosing(true);
66
+ setIsBodyScrollLocked(false);
67
+ timerRef.current = setTimeout(() => {
68
+ onClose();
69
+ setIsClosing(false);
70
+ }, ANIMATION_DELAY);
71
+ }
72
+ }, [onClose]);
73
+ const handleKeyDown = useCallback(
74
+ (event) => {
75
+ if (event.key === "Escape") {
76
+ handleClose();
77
+ }
78
+ },
79
+ [handleClose]
80
+ );
81
+ useEffect(() => {
82
+ if (isOpen) {
83
+ setIsBodyScrollLocked(true);
84
+ setIsMounted(true);
85
+ window.addEventListener("keydown", handleKeyDown);
86
+ }
87
+ return () => {
88
+ setIsMounted(false);
89
+ clearTimeout(timerRef.current);
90
+ window.removeEventListener("keydown", handleKeyDown);
91
+ };
92
+ }, [isOpen, handleKeyDown]);
93
+ const mods = {
94
+ [cls.opened]: isMounted,
95
+ [cls["is-closing"]]: isClosing
96
+ };
97
+ if (!isOpen) {
98
+ return null;
99
+ }
100
+ return /* @__PURE__ */ jsxs(Portal, { children: [
101
+ /* @__PURE__ */ jsx(
102
+ "div",
103
+ {
104
+ "aria-hidden": isOpen,
105
+ role: "dialog",
106
+ style: {
107
+ minHeight: isBottomPosition && contentRef.current ? contentRef.current.offsetHeight : void 0
108
+ },
109
+ className: classNames(cls.drawer, cls[position], mods, className),
110
+ children: /* @__PURE__ */ jsxs("section", { className: classNames(cls.content, cls[position]), children: [
111
+ /* @__PURE__ */ jsxs("header", { className: cls.header, children: [
112
+ /* @__PURE__ */ jsx("h2", { className: cls.title, children: title2 }),
113
+ /* @__PURE__ */ jsx("div", { className: cls.space, children: /* @__PURE__ */ jsx(
114
+ Button,
115
+ {
116
+ variant: EButtonVariantDefault.SecondaryWhite,
117
+ isIconButton: true,
118
+ size: isMobile ? EButtonSize.S : EButtonSize.M,
119
+ iconName: "Close16px",
120
+ onClick: handleClose,
121
+ className: cls.button
122
+ }
123
+ ) })
124
+ ] }),
125
+ /* @__PURE__ */ jsx("div", { ref: contentRef, className: cls.inner, children }),
126
+ /* @__PURE__ */ jsx("footer", { className: cls.footer, children: footer2 || /* @__PURE__ */ jsx(
127
+ Button,
128
+ {
129
+ size: isMobile ? EButtonSize.M : EButtonSize.XXL,
130
+ full: isMobile,
131
+ onClick: handleClose,
132
+ className: cls["footer-button"],
133
+ children: "Закрыть"
134
+ }
135
+ ) })
136
+ ] })
137
+ }
138
+ ),
139
+ /* @__PURE__ */ jsx("div", { className: classNames(cls.overlay, mods), onClick: handleClose })
140
+ ] });
141
+ };
142
+ export {
143
+ Drawer
144
+ };
@@ -0,0 +1,5 @@
1
+ export declare enum EDrawerPosition {
2
+ LEFT = "left",
3
+ RIGHT = "right",
4
+ BOTTOM = "bottom"
5
+ }
@@ -0,0 +1,9 @@
1
+ var EDrawerPosition = /* @__PURE__ */ ((EDrawerPosition2) => {
2
+ EDrawerPosition2["LEFT"] = "left";
3
+ EDrawerPosition2["RIGHT"] = "right";
4
+ EDrawerPosition2["BOTTOM"] = "bottom";
5
+ return EDrawerPosition2;
6
+ })(EDrawerPosition || {});
7
+ export {
8
+ EDrawerPosition
9
+ };
@@ -0,0 +1,2 @@
1
+ export { Drawer } from './Drawer';
2
+ export { EDrawerPosition } from './constants';
@@ -0,0 +1,6 @@
1
+ import { Drawer } from "./Drawer.js";
2
+ import { EDrawerPosition } from "./constants.js";
3
+ export {
4
+ Drawer,
5
+ EDrawerPosition
6
+ };
@@ -7,7 +7,7 @@ export type TProps = TInputProps & {
7
7
  */
8
8
  size?: TSize;
9
9
  /**
10
- * `Варинты отображения ввода. Может быть 'alert', 'success', 'default', 'default-gray', 'default-white'.`
10
+ * `Варианты отображения ввода. Может быть 'alert', 'success', 'default', 'default-gray', 'default-white'.`
11
11
  */
12
12
  variant?: TVariant;
13
13
  /**
@@ -37,7 +37,7 @@ export declare const Input: import('react').MemoExoticComponent<import('react').
37
37
  */
38
38
  size?: TSize;
39
39
  /**
40
- * `Варинты отображения ввода. Может быть 'alert', 'success', 'default', 'default-gray', 'default-white'.`
40
+ * `Варианты отображения ввода. Может быть 'alert', 'success', 'default', 'default-gray', 'default-white'.`
41
41
  */
42
42
  variant?: TVariant;
43
43
  /**
@@ -1,31 +1,31 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import { memo, forwardRef, useState, useEffect } from "react";
3
2
  import { c as classNames } from "../../index-CweZ_OcN.js";
3
+ import { memo, forwardRef, useState, useEffect } from "react";
4
4
  import { EInputVariant } from "./constants.js";
5
- import '../../assets/Input.css';const label = "_label_1wv6m_5";
6
- const input = "_input_1wv6m_2";
7
- const s = "_s_1wv6m_61";
8
- const m = "_m_1wv6m_73";
9
- const l = "_l_1wv6m_5";
10
- const success = "_success_1wv6m_124";
11
- const alarm = "_alarm_1wv6m_142";
12
- const error = "_error_1wv6m_160";
13
- const disabled = "_disabled_1wv6m_178";
5
+ import '../../assets/Input.css';const label = "_label_1sn09_5";
6
+ const input = "_input_1sn09_2";
7
+ const s = "_s_1sn09_61";
8
+ const m = "_m_1sn09_73";
9
+ const l = "_l_1sn09_5";
10
+ const success = "_success_1sn09_124";
11
+ const alarm = "_alarm_1sn09_142";
12
+ const error = "_error_1sn09_160";
13
+ const disabled = "_disabled_1sn09_178";
14
14
  const cls = {
15
- "input-wrapper": "_input-wrapper_1wv6m_2",
15
+ "input-wrapper": "_input-wrapper_1sn09_2",
16
16
  label,
17
- "active-label": "_active-label_1wv6m_18",
17
+ "active-label": "_active-label_1sn09_18",
18
18
  input,
19
19
  s,
20
20
  m,
21
21
  l,
22
- "default-gray": "_default-gray_1wv6m_97",
23
- "default-white": "_default-white_1wv6m_109",
22
+ "default-gray": "_default-gray_1sn09_97",
23
+ "default-white": "_default-white_1sn09_109",
24
24
  success,
25
25
  alarm,
26
26
  error,
27
27
  disabled,
28
- "has-label": "_has-label_1wv6m_196"
28
+ "has-label": "_has-label_1sn09_198"
29
29
  };
30
30
  const Input = memo(
31
31
  forwardRef(
@@ -76,7 +76,8 @@ const Input = memo(
76
76
  const labelClassNames = classNames(
77
77
  cls.label,
78
78
  {
79
- [cls["active-label"]]: isFocused || value
79
+ [cls["active-label"]]: isFocused || value,
80
+ [cls.disabled]: disabled2 || readonly
80
81
  },
81
82
  className,
82
83
  cls[size]
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { memo, forwardRef, useState } from "react";
3
- import { Input } from "../Input/Input.js";
4
- import { Button } from "../Button/Button.js";
5
3
  import { Icon } from "../../icons/Icon.js";
4
+ import { Button } from "../Button/Button.js";
5
+ import { Input } from "../Input/Input.js";
6
6
  import '../../assets/InputPassword.css';const input = "_input_mam1g_2";
7
7
  const wrapper = "_wrapper_mam1g_6";
8
8
  const button = "_button_mam1g_17";
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { memo, forwardRef, useState, useCallback, useImperativeHandle } from "react";
3
- import { Input } from "../Input/Input.js";
4
3
  import { getMaskedInputPhoneValue, getUnmaskedInputValue } from "./utils.js";
4
+ import { Input } from "../Input/Input.js";
5
5
  const InputPhoneNumber = memo(
6
6
  forwardRef(
7
7
  ({ value = "", onChange, ...props }, ref) => {
@@ -1,5 +1,5 @@
1
- import { TButtonProps } from '../Button';
2
1
  import { EMergedButtonVariantRound } from './constants';
2
+ import { TButtonProps } from '../Button';
3
3
 
4
4
  export type TButtonPropsWithoutStyles = Omit<TButtonProps, 'clear' | 'variant' | 'form'> & {
5
5
  variant?: `${EMergedButtonVariantRound}` | EMergedButtonVariantRound;