kui-basic 1.1.55 → 1.1.56

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 (211) hide show
  1. package/dist/Accordion/cjs/index.js +8 -0
  2. package/dist/Accordion/cjs/index.js.map +1 -0
  3. package/dist/Accordion/cjs/package.json +7 -0
  4. package/dist/Accordion/index.d.ts +15 -15
  5. package/dist/Accordion/index.js +2 -2
  6. package/dist/Accordion/index.js.map +1 -1
  7. package/dist/AccordionDetails/cjs/index.js +2 -0
  8. package/dist/AccordionDetails/cjs/index.js.map +1 -0
  9. package/dist/AccordionDetails/cjs/package.json +7 -0
  10. package/dist/AccordionSummary/cjs/index.js +21 -0
  11. package/dist/AccordionSummary/cjs/index.js.map +1 -0
  12. package/dist/AccordionSummary/cjs/package.json +7 -0
  13. package/dist/AccordionSummary/index.d.ts +18 -18
  14. package/dist/AccordionSummary/index.js +4 -4
  15. package/dist/AccordionSummary/index.js.map +1 -1
  16. package/dist/AppBar/cjs/index.js +21 -0
  17. package/dist/AppBar/cjs/index.js.map +1 -0
  18. package/dist/AppBar/cjs/package.json +7 -0
  19. package/dist/Box/cjs/index.js +15 -0
  20. package/dist/Box/cjs/index.js.map +1 -0
  21. package/dist/Box/cjs/package.json +7 -0
  22. package/dist/Box/index.js +2 -2
  23. package/dist/Box/index.js.map +1 -1
  24. package/dist/Button/cjs/index.js +21 -0
  25. package/dist/Button/cjs/index.js.map +1 -0
  26. package/dist/Button/cjs/package.json +7 -0
  27. package/dist/Button/index.d.ts +56 -56
  28. package/dist/Button/index.js +4 -4
  29. package/dist/Button/index.js.map +1 -1
  30. package/dist/Caption/cjs/index.js +21 -0
  31. package/dist/Caption/cjs/index.js.map +1 -0
  32. package/dist/Caption/cjs/package.json +7 -0
  33. package/dist/Caption/index.d.ts +71 -71
  34. package/dist/Caption/index.js +4 -4
  35. package/dist/Caption/index.js.map +1 -1
  36. package/dist/Checkbox/cjs/index.js +21 -0
  37. package/dist/Checkbox/cjs/index.js.map +1 -0
  38. package/dist/Checkbox/cjs/package.json +7 -0
  39. package/dist/Checkbox/index.js +4 -4
  40. package/dist/Checkbox/index.js.map +1 -1
  41. package/dist/CircularProgress/cjs/index.js +8 -0
  42. package/dist/CircularProgress/cjs/index.js.map +1 -0
  43. package/dist/CircularProgress/cjs/package.json +7 -0
  44. package/dist/CircularProgress/index.js +2 -2
  45. package/dist/CircularProgress/index.js.map +1 -1
  46. package/dist/Container/cjs/index.js +8 -0
  47. package/dist/Container/cjs/index.js.map +1 -0
  48. package/dist/Container/cjs/package.json +7 -0
  49. package/dist/Container/index.js +2 -2
  50. package/dist/Container/index.js.map +1 -1
  51. package/dist/Divider/cjs/index.js +21 -0
  52. package/dist/Divider/cjs/index.js.map +1 -0
  53. package/dist/Divider/cjs/package.json +7 -0
  54. package/dist/Divider/index.js +3 -3
  55. package/dist/Divider/index.js.map +1 -1
  56. package/dist/ErrorComponent/cjs/index.js +21 -0
  57. package/dist/ErrorComponent/cjs/index.js.map +1 -0
  58. package/dist/ErrorComponent/cjs/package.json +7 -0
  59. package/dist/ErrorComponent/index.d.ts +10 -10
  60. package/dist/ErrorComponent/index.js +4 -4
  61. package/dist/ErrorComponent/index.js.map +1 -1
  62. package/dist/Grid/cjs/index.js +21 -0
  63. package/dist/Grid/cjs/index.js.map +1 -0
  64. package/dist/Grid/cjs/package.json +7 -0
  65. package/dist/Grid/index.d.ts +46 -46
  66. package/dist/Grid/index.js +4 -4
  67. package/dist/Grid/index.js.map +1 -1
  68. package/dist/Heading/cjs/index.js +21 -0
  69. package/dist/Heading/cjs/index.js.map +1 -0
  70. package/dist/Heading/cjs/package.json +7 -0
  71. package/dist/Heading/index.d.ts +67 -67
  72. package/dist/Heading/index.js +3 -3
  73. package/dist/Heading/index.js.map +1 -1
  74. package/dist/IconButton/cjs/index.js +8 -0
  75. package/dist/IconButton/cjs/index.js.map +1 -0
  76. package/dist/IconButton/cjs/package.json +7 -0
  77. package/dist/Input/cjs/index.js +21 -0
  78. package/dist/Input/cjs/index.js.map +1 -0
  79. package/dist/Input/cjs/package.json +7 -0
  80. package/dist/Input/index.d.ts +23 -23
  81. package/dist/Input/index.js +4 -4
  82. package/dist/Input/index.js.map +1 -1
  83. package/dist/InputFile/cjs/index.js +21 -0
  84. package/dist/InputFile/cjs/index.js.map +1 -0
  85. package/dist/InputFile/cjs/package.json +7 -0
  86. package/dist/InputFile/index.js +4 -4
  87. package/dist/InputFile/index.js.map +1 -1
  88. package/dist/InputMessage/cjs/index.js +21 -0
  89. package/dist/InputMessage/cjs/index.js.map +1 -0
  90. package/dist/InputMessage/cjs/package.json +7 -0
  91. package/dist/InputMessage/index.js +4 -4
  92. package/dist/InputMessage/index.js.map +1 -1
  93. package/dist/InputWithAdornments/cjs/index.js +21 -0
  94. package/dist/InputWithAdornments/cjs/index.js.map +1 -0
  95. package/dist/InputWithAdornments/cjs/package.json +7 -0
  96. package/dist/InputWithAdornments/index.d.ts +19 -19
  97. package/dist/InputWithAdornments/index.js +4 -4
  98. package/dist/InputWithAdornments/index.js.map +1 -1
  99. package/dist/InputWithCountryDropdown/cjs/index.js +21 -0
  100. package/dist/InputWithCountryDropdown/cjs/index.js.map +1 -0
  101. package/dist/InputWithCountryDropdown/cjs/package.json +7 -0
  102. package/dist/InputWithCountryDropdown/index.d.ts +19 -19
  103. package/dist/InputWithCountryDropdown/index.js +4 -4
  104. package/dist/InputWithCountryDropdown/index.js.map +1 -1
  105. package/dist/InputWithMask/cjs/index.js +13 -0
  106. package/dist/InputWithMask/cjs/index.js.map +1 -0
  107. package/dist/InputWithMask/cjs/package.json +7 -0
  108. package/dist/InputWithMask/index.d.ts +28 -28
  109. package/dist/InputWithMask/index.js +3 -3
  110. package/dist/InputWithMask/index.js.map +1 -1
  111. package/dist/LinearProgress/cjs/index.js +8 -0
  112. package/dist/LinearProgress/cjs/index.js.map +1 -0
  113. package/dist/LinearProgress/cjs/package.json +7 -0
  114. package/dist/LinearProgress/index.js +2 -2
  115. package/dist/LinearProgress/index.js.map +1 -1
  116. package/dist/MenuPanel/cjs/index.js +21 -0
  117. package/dist/MenuPanel/cjs/index.js.map +1 -0
  118. package/dist/MenuPanel/cjs/package.json +7 -0
  119. package/dist/MenuPanel/index.js +4 -4
  120. package/dist/MenuPanel/index.js.map +1 -1
  121. package/dist/Modal/cjs/index.js +21 -0
  122. package/dist/Modal/cjs/index.js.map +1 -0
  123. package/dist/Modal/cjs/package.json +7 -0
  124. package/dist/Modal/index.d.ts +18 -18
  125. package/dist/Modal/index.js +4 -4
  126. package/dist/Modal/index.js.map +1 -1
  127. package/dist/Popper/cjs/index.js +8 -0
  128. package/dist/Popper/cjs/index.js.map +1 -0
  129. package/dist/Popper/cjs/package.json +7 -0
  130. package/dist/Popper/index.d.ts +26 -25
  131. package/dist/Popper/index.js +2 -2
  132. package/dist/Popper/index.js.map +1 -1
  133. package/dist/PopperBase/cjs/index.js +8 -0
  134. package/dist/PopperBase/cjs/index.js.map +1 -0
  135. package/dist/PopperBase/cjs/package.json +7 -0
  136. package/dist/PopperBase/index.d.ts +35 -34
  137. package/dist/PopperBase/index.js +2 -2
  138. package/dist/PopperBase/index.js.map +1 -1
  139. package/dist/PopperWithPortal/cjs/index.js +8 -0
  140. package/dist/PopperWithPortal/cjs/index.js.map +1 -0
  141. package/dist/PopperWithPortal/cjs/package.json +7 -0
  142. package/dist/PopperWithPortal/index.d.ts +17 -16
  143. package/dist/PopperWithPortal/index.js +2 -2
  144. package/dist/PopperWithPortal/index.js.map +1 -1
  145. package/dist/Radio/cjs/index.js +15 -0
  146. package/dist/Radio/cjs/index.js.map +1 -0
  147. package/dist/Radio/cjs/package.json +7 -0
  148. package/dist/Radio/index.js +3 -3
  149. package/dist/Radio/index.js.map +1 -1
  150. package/dist/ScrollTab/cjs/index.js +22 -0
  151. package/dist/ScrollTab/cjs/index.js.map +1 -0
  152. package/dist/ScrollTab/cjs/package.json +7 -0
  153. package/dist/ScrollTab/index.js +4 -4
  154. package/dist/ScrollTab/index.js.map +1 -1
  155. package/dist/Skeleton/cjs/index.js +8 -0
  156. package/dist/Skeleton/cjs/index.js.map +1 -0
  157. package/dist/Skeleton/cjs/package.json +7 -0
  158. package/dist/StaticPopper/cjs/index.js +8 -0
  159. package/dist/StaticPopper/cjs/index.js.map +1 -0
  160. package/dist/StaticPopper/cjs/package.json +7 -0
  161. package/dist/StaticPopper/index.d.ts +17 -16
  162. package/dist/StaticPopper/index.js +2 -2
  163. package/dist/StaticPopper/index.js.map +1 -1
  164. package/dist/Switch/cjs/index.js +21 -0
  165. package/dist/Switch/cjs/index.js.map +1 -0
  166. package/dist/Switch/cjs/package.json +7 -0
  167. package/dist/Switch/index.js +4 -4
  168. package/dist/Switch/index.js.map +1 -1
  169. package/dist/Tab/cjs/index.js +21 -0
  170. package/dist/Tab/cjs/index.js.map +1 -0
  171. package/dist/Tab/cjs/package.json +7 -0
  172. package/dist/Tab/index.d.ts +2 -2
  173. package/dist/Tab/index.js +4 -4
  174. package/dist/Tab/index.js.map +1 -1
  175. package/dist/Tabs/cjs/index.js +21 -0
  176. package/dist/Tabs/cjs/index.js.map +1 -0
  177. package/dist/Tabs/cjs/package.json +7 -0
  178. package/dist/Tabs/index.js +4 -4
  179. package/dist/Tabs/index.js.map +1 -1
  180. package/dist/TabsPanel/cjs/index.js +21 -0
  181. package/dist/TabsPanel/cjs/index.js.map +1 -0
  182. package/dist/TabsPanel/cjs/package.json +7 -0
  183. package/dist/TabsPanel/index.d.ts +3 -3
  184. package/dist/TabsPanel/index.js +4 -4
  185. package/dist/TabsPanel/index.js.map +1 -1
  186. package/dist/Text/cjs/index.js +21 -0
  187. package/dist/Text/cjs/index.js.map +1 -0
  188. package/dist/Text/cjs/package.json +7 -0
  189. package/dist/Text/index.js +4 -4
  190. package/dist/Text/index.js.map +1 -1
  191. package/dist/ToolBar/cjs/index.js +8 -0
  192. package/dist/ToolBar/cjs/index.js.map +1 -0
  193. package/dist/ToolBar/cjs/package.json +7 -0
  194. package/dist/ToolBar/index.js +2 -2
  195. package/dist/ToolBar/index.js.map +1 -1
  196. package/dist/Tooltip/cjs/index.js +8 -0
  197. package/dist/Tooltip/cjs/index.js.map +1 -0
  198. package/dist/Tooltip/cjs/package.json +7 -0
  199. package/dist/Tooltip/index.d.ts +31 -26
  200. package/dist/Tooltip/index.js +2 -2
  201. package/dist/Tooltip/index.js.map +1 -1
  202. package/dist/cjs/index.js +4 -4
  203. package/dist/cjs/index.js.map +1 -1
  204. package/dist/cjs/package.json +7 -0
  205. package/dist/index.d.ts +78 -79
  206. package/dist/index.js +4 -4
  207. package/dist/index.js.map +1 -1
  208. package/dist/package.json +7 -0
  209. package/package.json +1 -1
  210. package/dist/index.es.js +0 -2
  211. package/dist/index.es.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","sources":["../src/theme/colors/index.js","../src/theme/shadows/index.js","../src/theme/breakpoints/index.js","../src/theme/settings/index.js","../src/theme/index.js","../src/components/Heading/variants.js","../src/components/Heading/index.js","../src/components/Caption/variants.js","../src/components/Caption/index.js","../src/components/Text/variants.js","../src/components/Text/index.js","../src/components/Button/variants.js","../src/components/Button/index.js","../src/icons/ErrorIcon.js","../src/icons/WarningIcon.js","../src/icons/SuccessIcon.js","../src/components/InputMessage/variants.js","../src/components/InputMessage/index.js","../src/icons/TextareaGrabIcon.js","../src/components/Input/index.js","../src/components/InputWithAdornments/index.js","../src/components/InputWithMask/index.js","../src/components/InputWithCountryDropdown/Dropdown/CountryItem/index.js","../src/icons/SearchIcon.js","../src/components/InputWithCountryDropdown/Dropdown/index.js","../src/icons/HalfArrowIcon.js","../src/components/InputWithCountryDropdown/index.js","../src/components/Checkbox/index.js","../src/icons/CloseIcon.js","../src/components/Modal/index.js","../src/components/Switch/variants.js","../src/components/Switch/index.js","../src/components/Radio/index.js","../src/icons/FileIcon.js","../src/components/InputFile/index.js","../src/components/Divider/index.js","../src/components/Container/index.js","../src/components/Grid/index.js","../src/components/Box/index.js","../src/components/Accordion/index.js","../src/components/AccordionSummary/index.js","../src/components/AccordionDetails/index.js","../src/components/Skeleton/index.js","../src/components/AppBar/index.js","../src/components/ToolBar/index.js","../src/components/CircularProgress/index.js","../src/components/LinearProgress/index.js","../src/components/Tabs/index.js","../src/components/Tab/index.js","../src/components/TabsPanel/index.js","../src/components/ScrollTab/index.js","../src/components/MenuPanel/index.js","../src/components/IconButton/index.js","../src/components/PopperBase/index.js","../src/components/PopperWithPortal/placements.js","../src/components/StaticPopper/index.js","../src/components/Popper/index.js","../src/components/Tooltip/index.js","../src/components/ErrorComponent/index.js"],"sourcesContent":["const colors = {\r\n primary: {\r\n main: \"#ED713C\",\r\n pressed: \"#D24C13\",\r\n hover: \"#EA5A1D\",\r\n light: \"#FCEAE2\",\r\n light2: \"#FEF7F3\",\r\n },\r\n secondary: {\r\n main: \"#18191F\",\r\n gray60: \"#474A57\",\r\n gray50: \"#7F8285\",\r\n gray40: \"#949494\",\r\n gray30: \"#BFBFBF\",\r\n gray15: \"#EAECEF\",\r\n white: \"#FFFFFF\",\r\n light: \"#C4C4C4\",\r\n disabled: \"#A6AEBC\",\r\n },\r\n background: {\r\n main: \"#FBFBFD\",\r\n light2: \"#F7F8F9\",\r\n light3: \"#F2F3F5\",\r\n },\r\n success: {\r\n green70: \"#259E58\",\r\n green60: \"#23A65A\",\r\n main: \"#27AE60\",\r\n green10: \"#EAFCF7\",\r\n green5: \"#F0FDF9\",\r\n },\r\n error: {\r\n red70: \"#D03C1A\",\r\n red60: \"#DA421F\",\r\n main: \"#EB4620\",\r\n red10: \"#FCE3DE\",\r\n red5: \"#FDF0ED\",\r\n },\r\n info: {\r\n blue70: \"#0098B6\",\r\n blue60: \"#009CBB\",\r\n main: \"#00ABCD\",\r\n blue10: \"#D9F2F8\",\r\n blue5: \"#E5F7FA\",\r\n },\r\n purple: {\r\n purple70: \"#914BD2\",\r\n purple60: \"#974EDB\",\r\n main: \"#9B51E0\",\r\n purple10: \"#F0E5FA\",\r\n purple5: \"#F7F1FD\",\r\n },\r\n}\r\n\r\nexport default colors\r\n","const shadows = {\r\n shadow1: \"0px 5px 16px rgba(0, 0, 0, 0.1)\",\r\n shadow2: \"0px 12px 16px rgba(0, 0, 0, 0.08)\",\r\n shadow3: \"0px 26px 34px rgba(0, 0, 0, 0.1)\",\r\n shadow4: \"0px 10px 20px rgba(0, 0, 0, 0.1)\",\r\n}\r\n\r\nexport default shadows\r\n","const breakpoints = {\n xxs: 375,\n xs: 600,\n sm: 900,\n md: 1200,\n lg: 1440,\n xl: 1536,\n}\n\nexport default breakpoints\n","const settings = {\r\n spacing: 8,\r\n columns: 12,\r\n}\r\n\r\nexport default settings\r\n","import colors from \"./colors\"\nimport shadows from \"./shadows\"\nimport breakpoints from \"./breakpoints\"\nimport settings from \"./settings\"\n\nconst palette = {\n brand: {\n ...colors.primary,\n background: colors.primary.light2,\n },\n grey: {\n seventy: colors.secondary.main,\n sixty: colors.secondary.gray60,\n fiftyP: colors.secondary.gray50,\n fourty: colors.secondary.gray40,\n thirty: colors.secondary.gray30,\n fifteenB: colors.secondary.gray15,\n zero: colors.secondary.white,\n },\n background: {\n ...colors.background,\n light1: colors.background.main,\n light4: \"#C5C6C7\",\n },\n green: {\n fiftyP: colors.success.main,\n seventy: colors.success.green70,\n sixty: colors.success.green60,\n ten: colors.success.green10,\n five: colors.success.green5,\n },\n red: {\n fiftyP: colors.error.main,\n seventy: colors.error.red70,\n sixty: colors.error.red60,\n ten: colors.error.red10,\n five: colors.error.red5,\n },\n blue: {\n fiftyP: colors.info.main,\n seventy: colors.info.blue70,\n sixty: colors.info.blue60,\n ten: colors.info.blue10,\n five: colors.info.blue5,\n },\n purple: {\n fiftyP: colors.purple.main,\n seventy: colors.purple.purple70,\n sixty: colors.purple.purple60,\n ten: colors.purple.purple10,\n five: colors.purple.purple5,\n },\n}\n\nconst themeOld = {\n palette: colors,\n breakpoints,\n shadows,\n settings,\n}\n\nconst theme = {\n palette,\n breakpoints,\n shadows,\n settings,\n}\n\nexport { themeOld, theme }\n","const headingSizes = {\r\n hero: \"h1\",\r\n h1: \"h1\",\r\n h2: \"h2\",\r\n h3: \"h3\",\r\n h4: \"h4\",\r\n}\r\n\r\nconst headingVariants = {\r\n hero: {\r\n size: 56,\r\n height: 72,\r\n mobSize: 32,\r\n mobHeight: 48,\r\n },\r\n h1: {\r\n size: 32,\r\n height: 48,\r\n mobSize: 24,\r\n mobHeight: 32,\r\n },\r\n h2: {\r\n size: 24,\r\n height: 32,\r\n mobSize: 18,\r\n mobHeight: 24,\r\n },\r\n h3: {\r\n size: 18,\r\n height: 24,\r\n mobSize: 16,\r\n mobHeight: 24,\r\n },\r\n h4: {\r\n size: 16,\r\n height: 24,\r\n mobSize: 14,\r\n mobHeight: 24,\r\n },\r\n}\r\n\r\nexport { headingVariants, headingSizes }\r\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\nimport { headingSizes, headingVariants } from \"./variants\"\n\nconst { breakpoints, palette } = theme\n\nfunction Heading(props) {\n const { size, children, className, ...otherProps } = props\n\n return (\n <StyledHeading\n as={headingSizes[size]}\n size={headingVariants[size]}\n className={classNames(\"KUI-Heading\", className)}\n {...otherProps}\n >\n {children}\n </StyledHeading>\n )\n}\n\nHeading.defaultProps = {\n size: \"h1\",\n color: \"seventy\",\n colorGroup: \"grey\",\n disableUserSelect: false,\n weight: 700,\n}\n\nHeading.propTypes = {\n size: PropTypes.oneOf([\"hero\", \"h1\", \"h2\", \"h3\", \"h4\"]),\n disableUserSelect: PropTypes.bool,\n weight: PropTypes.number,\n}\n\nexport default Heading\n\nconst headingSettingsCSS = (props) => css`\n font-size: ${props.size.size}px;\n line-height: ${props.size.height}px;\n text-align: ${props.align};\n color: ${palette[props.colorGroup][props.color]\n ? palette[props.colorGroup][props.color]\n : palette.grey.seventy};\n font-weight: ${props.weight};\n ${props.disableUserSelect && \"user-select: none\"};\n @media (max-width: ${breakpoints.sm}px) {\n font-size: ${props.size.mobSize}px;\n line-height: ${props.size.mobHeight}px;\n }\n`\n\nconst StyledHeading = styled.h1`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n text-transform: none;\n margin: 0;\n font-weight: 700;\n ${headingSettingsCSS};\n`\n","const captionSizes = {\n xs: {\n size: 12,\n height: 14,\n },\n sm: {\n size: 13,\n height: 14,\n high: 20,\n },\n s: {\n size: 14,\n height: 18,\n high: 22,\n },\n m: {\n size: 16,\n height: 24,\n },\n l: {\n size: 18,\n height: 28,\n },\n}\n\nexport default captionSizes\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport captionSizes from \"./variants\"\nimport { theme } from \"../../theme\"\n\nfunction Caption(props) {\n const { children, size, className, ...otherProps } = props\n\n return (\n <StyledCaption\n size={captionSizes[size]}\n className={classNames(\"KUI-Caption\", className)}\n {...otherProps}\n >\n {children}\n </StyledCaption>\n )\n}\n\nCaption.defaultProps = {\n size: \"m\",\n weight: 400,\n color: \"seventy\",\n colorGroup: \"grey\",\n disableUserSelect: false,\n variant: \"default\",\n}\n\nCaption.displayName = \"Caption\"\n\nCaption.propTypes = {\n size: PropTypes.oneOf([\"xs\", \"sm\", \"s\", \"m\", \"l\"]),\n weight: PropTypes.oneOf([400, 500, 600, 700]),\n disableUserSelect: PropTypes.bool,\n variant: PropTypes.oneOf([\"default\", \"high\"]),\n}\n\nexport default Caption\n\nconst captionSettingsCSS = ({\n size,\n weight,\n align,\n color,\n colorGroup,\n disSelect,\n variant,\n}) => css`\n font-size: ${size.size}px;\n line-height: ${variant === \"high\" ? size.high || size.height : size.height}px;\n font-weight: ${weight};\n text-align: ${align};\n ${disSelect && \"user-select: none\"};\n color: ${theme.palette[colorGroup][color]\n ? theme.palette[colorGroup][color]\n : theme.palette.grey.seventy};\n`\n\nconst StyledCaption = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n text-transform: none;\n margin: 0;\n ${captionSettingsCSS};\n`\n","const textVariants = {\r\n xs: {\r\n size: 13,\r\n height: 20,\r\n },\r\n s: {\r\n size: 14,\r\n height: 22,\r\n },\r\n m: {\r\n size: 18,\r\n height: 28,\r\n },\r\n}\r\n\r\nexport default textVariants\r\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport { css } from \"@emotion/react\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\nimport textVariants from \"./variants\"\n\nfunction Text(props) {\n const { children, size, className, ...otherProps } = props\n\n return (\n <StyledText\n size={textVariants[size]}\n className={classNames(\"KUI-Text\", className)}\n {...otherProps}\n >\n {children}\n </StyledText>\n )\n}\n\nText.defaultProps = {\n size: \"s\",\n color: \"main\",\n disableUserSelect: false,\n weight: 400,\n}\n\nText.propTypes = {\n size: PropTypes.oneOf([\"xs\", \"s\", \"m\"]),\n weight: PropTypes.oneOf([400, 500, 600]),\n color: PropTypes.oneOf([\n \"main\",\n \"gray60\",\n \"gray50\",\n \"gray40\",\n \"white\",\n \"brand\",\n ]),\n disableUserSelect: PropTypes.bool,\n}\n\nexport default Text\n\nconst textSettingsCSS = ({ size, weight, color, disSelect }) => css`\n font-size: ${size.size}px;\n line-height: ${size.height}px;\n font-weight: ${weight};\n ${disSelect && \"user-select: none\"};\n color: ${theme.palette.grey[color]\n ? theme.palette.grey[color]\n : theme.palette.brand.main};\n`\n\nconst StyledText = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n text-transform: none;\n margin: 0;\n ${textSettingsCSS};\n`\n","import { theme } from \"../../theme\"\n\nconst palette = theme.palette\n\nconst buttonSizes = {\n xs: 32,\n s: 40,\n m: 48,\n l: 56,\n}\n\nconst buttonBorders = {\n brand: palette.brand.main,\n lightGray: palette.grey.fifteenB,\n lightOrange: palette.brand.light,\n}\n\nconst buttonVariants = {\n primary: {\n background: palette.brand.main,\n color: palette.grey.zero,\n hover: palette.brand.hover,\n active: palette.brand.pressed,\n },\n orange: {\n background: palette.brand.light,\n color: palette.brand.main,\n hover: palette.brand.hover,\n active: palette.brand.pressed,\n hoverColor: palette.grey.zero,\n },\n white: {\n background: palette.grey.zero,\n color: palette.grey.seventy,\n hover: palette.background.light1,\n active: palette.grey.fifteenB,\n border: palette.grey.fifteenB,\n },\n whiteWithOrangeHover: {\n color: palette.grey.sixty,\n hover: palette.brand.light,\n active: palette.brand.light,\n hoverColor: palette.brand.main,\n },\n whiteWithGray: {\n background: palette.grey.zero,\n color: palette.grey.fiftyP,\n hover: palette.background.light1,\n active: palette.grey.fifteenB,\n hoverColor: palette.grey.seventy,\n border: palette.background.light3,\n },\n whiteWithBrand: {\n background: palette.grey.zero,\n color: palette.brand.main,\n },\n grayLightWithBorder: {\n background: palette.background.light1,\n color: palette.grey.fiftyP,\n border: palette.grey.fifteenB,\n hover: palette.background.light2,\n hoverColor: palette.grey.seventy,\n active: palette.grey.fifteenB,\n },\n grayLight: {\n background: palette.background.light2,\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n active: palette.grey.fifteenB,\n },\n grayDark: {\n background: palette.grey.fiftyP,\n color: palette.grey.zero,\n hover: palette.grey.sixty,\n hoverColor: palette.grey.zero,\n pressed: palette.grey.sixty,\n },\n backgroundLight: {\n background: palette.background.light2,\n color: palette.grey.fiftyP,\n hover: palette.background.light1,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n },\n backgroundWithBorder: {\n background: palette.background.light1,\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.fifteenB,\n },\n blur: {\n background: \"rgba(0, 0, 0, 0.6)\",\n color: palette.grey.zero,\n hover: \"rgba(0, 0, 0, 0.7)\",\n active: \"rgba(0, 0, 0, 0.8)\",\n backdrop: \"blur(4px)\",\n },\n blurDark: {\n background: \"rgba(0, 0, 0, 0.6)\",\n color: palette.grey.zero,\n hover: \"rgba(0, 0, 0, 0.8)\",\n hoverColor: palette.grey.zero,\n pressed: \"rgba(0, 0, 0, 1)\",\n },\n green: {\n background: palette.green.fiftyP,\n color: palette.grey.zero,\n hover: palette.green.sixty,\n active: palette.green.seventy,\n },\n red: {\n background: palette.red.fiftyP,\n color: palette.grey.zero,\n hover: palette.red.sixty,\n active: palette.red.seventy,\n },\n error: {\n background: palette.red.five,\n color: palette.red.fiftyP,\n hover: palette.red.ten,\n hoverColor: palette.red.fiftyP,\n pressed: palette.red.ten,\n },\n transparent: {\n withoutShadow: true,\n },\n orangeWithHoverLight: {\n background: palette.brand.background,\n color: palette.brand.main,\n hover: palette.brand.background,\n hoverColor: palette.brand.main,\n pressed: palette.brand.background,\n },\n orangeWithBorder: {\n background: palette.brand.light,\n color: palette.brand.main,\n hover: palette.brand.background,\n hoverColor: palette.brand.main,\n pressed: palette.brand.background,\n border: palette.brand.main,\n },\n transparentLight: {\n color: palette.grey.thirty,\n hoverColor: palette.grey.fiftyP,\n pressed: palette.grey.fifteenB,\n withoutShadow: true,\n },\n transparentWithBorder: {\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.fifteenB,\n },\n transparentWithDarkBorder: {\n color: palette.grey.fiftyP,\n hover: palette.background.light3,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.fiftyP,\n },\n transparentWithBoldBorder: {\n color: palette.grey.thirty,\n hover: palette.background.light1,\n hoverColor: palette.grey.seventy,\n pressed: palette.grey.fifteenB,\n border: palette.grey.thirty,\n },\n}\n\nexport { buttonSizes, buttonBorders, buttonVariants }\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport { css } from \"@emotion/react\"\nimport styled from \"@emotion/styled\"\nimport Caption from \"../Caption\"\nimport { buttonSizes, buttonBorders, buttonVariants } from \"./variants\"\nimport { theme } from \"../../theme\"\n\nconst Button = forwardRef((props, ref) => {\n const {\n children,\n variant,\n size,\n className,\n fullWidth,\n isCircle,\n captionSize,\n disabledStyle,\n border,\n startIcon,\n endIcon,\n captionWeight,\n withoutChildrenWrapper,\n ...buttonProps\n } = props\n\n return (\n <StyledButton\n ref={ref}\n size={size}\n variant={variant}\n border={border}\n fullWidth={fullWidth}\n isCircle={isCircle}\n className={classNames(\n \"KUI-Button\",\n buttonProps.disabled && \"KUI-Button_disabled\",\n buttonProps.disabled && disabledStyle,\n className\n )}\n {...buttonProps}\n >\n {isCircle ? (\n <StyledCircleButtonContainer className=\"KUI-Button_circle-container\">\n {children}\n </StyledCircleButtonContainer>\n ) : (\n <StyledContentContainer\n withIcon={startIcon || endIcon}\n className={classNames(\n (startIcon || endIcon) && \"KUI-Button_icon-container\"\n )}\n >\n {startIcon && (\n <StyledStartIcon className=\"KUI-Button_start-icon\">\n {startIcon}\n </StyledStartIcon>\n )}\n\n {withoutChildrenWrapper ? (\n children\n ) : (\n <Caption\n size={captionSize}\n weight={captionWeight}\n className=\"KUI-Button-text\"\n >\n {children}\n </Caption>\n )}\n\n {endIcon && (\n <StyledEndIcon className=\"KUI-Button_end-icon\">\n {endIcon}\n </StyledEndIcon>\n )}\n </StyledContentContainer>\n )}\n </StyledButton>\n )\n})\n\nButton.defaultProps = {\n variant: \"primary\",\n size: \"m\",\n fullWidth: false,\n endIcon: null,\n startIcon: null,\n disabled: false,\n isCircle: false,\n captionSize: \"s\",\n border: null,\n captionWeight: 600,\n}\n\nButton.propTypes = {\n size: PropTypes.oneOf([\"xs\", \"s\", \"m\", \"l\"]),\n fullWidth: PropTypes.bool,\n endIcon: PropTypes.element,\n startIcon: PropTypes.element,\n disabled: PropTypes.bool,\n isCircle: PropTypes.bool,\n captionSize: PropTypes.oneOf([\"xs\", \"sm\", \"s\", \"m\", \"l\"]),\n border: PropTypes.oneOf([\"brand\", \"lightGray\", \"lightOrange\"]),\n}\n\nButton.displayName = \"Button\"\n\nexport default Button\n\nconst buttonVariantCSS = (variant) => css`\n background-color: ${variant.background ? variant.background : \"transparent\"};\n & .KUI-Button-text {\n ${variant.color && `color: ${variant.color}`};\n }\n svg path {\n ${variant.color && `fill: ${variant.color}`};\n }\n border: 1px solid ${variant.border ? variant.border : \"transparent\"};\n ${variant.backdrop && `backdrop-filter: ${variant.backdrop}`};\n @media (hover: hover) {\n &:hover {\n box-shadow: ${variant.withoutShadow ? \"none\" : theme.shadows.shadow1};\n ${variant.hover && `background-color: ${variant.hover}`};\n & .KUI-Button-text {\n ${variant.hoverColor && `color: ${variant.hoverColor}`};\n }\n svg path {\n ${variant.hoverColor && `fill: ${variant.hoverColor}`};\n }\n }\n &:active {\n ${variant.active && `background-color: ${variant.active}`};\n }\n }\n`\n\nconst circleButtonCSS = ({ isCircle, size }) =>\n isCircle &&\n css`\n padding: 0;\n border-radius: 50%;\n display: inline-flex;\n width: ${buttonSizes[size]}px;\n `\n\nconst buttonSettingsCSS = (props) => css`\n width: ${props.fullWidth ? \"100%\" : \"max-content\"};\n height: ${buttonSizes[props.size]}px;\n ${buttonVariantCSS(buttonVariants[props.variant])};\n ${props.border && `border-color: ${buttonBorders[props.border]}`};\n`\n\nconst StyledButton = styled.button`\n position: relative;\n border-radius: 66px;\n padding: 0 16px;\n transition: all linear 0.3s;\n width: max-content;\n text-align: center;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n ${buttonSettingsCSS};\n ${circleButtonCSS};\n & .KUI-Button-text,\n svg path {\n transition: all linear 0.3s;\n }\n &:disabled,\n &:disabled:hover,\n &:disabled:active {\n cursor: default;\n background-color: ${theme.palette.background.light3};\n box-shadow: none;\n & .KUI-Button-text {\n color: #a6aebc;\n }\n svg path {\n fill: #a6aebc;\n }\n }\n`\n\nconst StyledCircleButtonContainer = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: inherit;\n`\n\nconst iconContainerCSS = ({ withIcon }) =>\n withIcon &&\n css`\n display: flex;\n justify-content: center;\n align-items: center;\n `\n\nconst StyledContentContainer = styled.div`\n ${iconContainerCSS};\n`\n\nconst StyledStartIcon = styled.span`\n margin-right: 8px;\n display: flex;\n`\n\nconst StyledEndIcon = styled.span`\n margin-left: 8px;\n display: flex;\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst ErrorIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-label=\"error\"\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M7.99935 15.3334C12.0494 15.3334 15.3327 12.0502 15.3327 8.00008C15.3327 3.94999 12.0494 0.666748 7.99935 0.666748C3.94926 0.666748 0.666016 3.94999 0.666016 8.00008C0.666016 12.0502 3.94926 15.3334 7.99935 15.3334ZM7.99935 13.3334C10.9449 13.3334 13.3327 10.9456 13.3327 8.00008C13.3327 5.05456 10.9449 2.66675 7.99935 2.66675C5.05383 2.66675 2.66602 5.05456 2.66602 8.00008C2.66602 10.9456 5.05383 13.3334 7.99935 13.3334ZM9.52795 5.52868C9.78829 5.26833 10.2104 5.26833 10.4708 5.52868C10.7311 5.78903 10.7311 6.21114 10.4708 6.47149L8.94216 8.00008L10.4708 9.52868C10.7311 9.78903 10.7311 10.2111 10.4708 10.4715C10.2104 10.7318 9.78829 10.7318 9.52795 10.4715L7.99935 8.94289L6.47075 10.4715C6.2104 10.7318 5.78829 10.7318 5.52794 10.4715C5.2676 10.2111 5.2676 9.78903 5.52794 9.52868L7.05654 8.00008L5.52794 6.47149C5.2676 6.21114 5.2676 5.78903 5.52794 5.52868C5.78829 5.26833 6.2104 5.26833 6.47075 5.52868L7.99935 7.05727L9.52795 5.52868Z\"\r\n fill=\"#EB5757\"\r\n />\r\n </svg>\r\n)\r\n\r\nErrorIcon.defaultProps = {\r\n width: 16,\r\n height: 16,\r\n}\r\n\r\nErrorIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default ErrorIcon\r\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst WarningIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-label=\"warning\"\r\n >\r\n <path\r\n d=\"M6.99999 0.142883C10.7871 0.142883 13.8571 3.21293 13.8571 7.00002C13.8571 10.7871 10.7871 13.8572 6.99999 13.8572C3.2129 13.8572 0.142853 10.7871 0.142853 7.00002C0.142853 3.21293 3.2129 0.142883 6.99999 0.142883ZM6.99999 1.28574C3.84408 1.28574 1.28571 3.84411 1.28571 7.00002C1.28571 10.1559 3.84408 12.7143 6.99999 12.7143C10.1559 12.7143 12.7143 10.1559 12.7143 7.00002C12.7143 3.84411 10.1559 1.28574 6.99999 1.28574ZM6.99999 9.05717C7.44182 9.05717 7.79999 9.41534 7.79999 9.85717C7.79999 10.299 7.44182 10.6572 6.99999 10.6572C6.55817 10.6572 6.2 10.299 6.2 9.85717C6.2 9.41534 6.55817 9.05717 6.99999 9.05717ZM7.04206 3.57145C7.17783 3.57145 7.26306 3.59267 7.33756 3.63251C7.41206 3.67235 7.47052 3.73082 7.51036 3.80532C7.55021 3.87982 7.57142 3.96504 7.57142 4.10081V7.61352C7.57142 7.74929 7.55021 7.83452 7.51036 7.90902C7.47052 7.98352 7.41206 8.04198 7.33756 8.08182C7.26306 8.12166 7.17783 8.14288 7.04206 8.14288H6.95793C6.82215 8.14288 6.73693 8.12166 6.66243 8.08182C6.58793 8.04198 6.52947 7.98352 6.48962 7.90902C6.44978 7.83452 6.42857 7.74929 6.42857 7.61352V4.10081C6.42857 3.96504 6.44978 3.87982 6.48962 3.80532C6.52947 3.73082 6.58793 3.67235 6.66243 3.63251C6.73693 3.59267 6.82215 3.57145 6.95793 3.57145H7.04206Z\"\r\n fill=\"#ED713C\"\r\n />\r\n </svg>\r\n)\r\n\r\nWarningIcon.defaultProps = {\r\n width: 16,\r\n height: 16,\r\n}\r\n\r\nWarningIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default WarningIcon\r\n","import PropTypes from \"prop-types\"\r\nimport React from \"react\"\r\n\r\nconst SuccessIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-label=\"success\"\r\n >\r\n <path\r\n d=\"M6.99999 0.142883C10.7871 0.142883 13.8571 3.21293 13.8571 7.00002C13.8571 10.7871 10.7871 13.8572 6.99999 13.8572C3.2129 13.8572 0.142853 10.7871 0.142853 7.00002C0.142853 3.21293 3.2129 0.142883 6.99999 0.142883ZM6.99999 1.28574C3.84408 1.28574 1.28571 3.84411 1.28571 7.00002C1.28571 10.1559 3.84408 12.7143 6.99999 12.7143C10.1559 12.7143 12.7143 10.1559 12.7143 7.00002C12.7143 3.84411 10.1559 1.28574 6.99999 1.28574ZM9.45142 4.88003C9.67458 4.65687 10.0397 4.65687 10.2629 4.88003C10.486 5.10318 10.486 5.4683 10.2629 5.69145L6.2612 9.6898C6.03804 9.91296 5.67623 9.91296 5.45308 9.6898L3.45308 7.6898C3.22992 7.46664 3.22992 7.10484 3.45308 6.88168C3.67623 6.65852 4.03804 6.65852 4.2612 6.88168L5.85714 8.47762L9.45142 4.88003Z\"\r\n fill=\"#27AE60\"\r\n />\r\n </svg>\r\n)\r\n\r\nSuccessIcon.defaultProps = {\r\n width: 16,\r\n height: 16,\r\n}\r\n\r\nSuccessIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default SuccessIcon\r\n","import React from \"react\"\nimport ErrorIcon from \"../../icons/ErrorIcon\"\nimport WarningIcon from \"../../icons/WarningIcon\"\nimport SuccessIcon from \"../../icons/SuccessIcon\"\nimport { theme } from \"../../theme\"\n\nconst messageVariants = {\n error: {\n background: theme.palette.red.five,\n color: theme.palette.red.fiftyP,\n icon: <ErrorIcon />,\n },\n warning: {\n background: theme.palette.purple.ten,\n color: theme.palette.purple.seventy,\n icon: <WarningIcon />,\n },\n success: {\n background: theme.palette.green.five,\n color: theme.palette.green.fiftyP,\n icon: <SuccessIcon />,\n },\n}\n\nexport default messageVariants\n","import React, { useEffect, useRef, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Caption from \"../Caption\"\nimport messageVariants from \"./variants\"\n\nfunction InputMessage(props) {\n const { msg, variant, className, ...otherProps } = props\n const messageRef = useRef(null)\n const [messageRefHeight, setMessageRefHeight] = useState(32)\n\n useEffect(() => {\n setMessageRefHeight(messageRef?.current?.clientHeight)\n }, [messageRef?.current?.clientHeight])\n\n return (\n <StyledMessage\n ref={messageRef}\n variant={messageVariants[variant]}\n className={classNames(\n \"KUI-InputMessage\",\n `KUI-InputMessage_${variant}`,\n className\n )}\n style={{ bottom: `-${messageRefHeight}px` }}\n {...otherProps}\n >\n <StyledIconWrapper className=\"KUI-InputMessage_icon\">\n {messageVariants[variant].icon}\n </StyledIconWrapper>\n <StyledTitle className=\"KUI-InputMessage_title\" size=\"xs\" weight={600}>\n {msg}\n </StyledTitle>\n </StyledMessage>\n )\n}\n\nInputMessage.defaultProps = {\n msg: \"\",\n className: \"\",\n variant: \"error\",\n}\n\nInputMessage.propTypes = {\n msg: PropTypes.string,\n className: PropTypes.string,\n variant: PropTypes.oneOf([\"error\", \"warning\", \"success\"]),\n}\n\nexport default InputMessage\n\nconst StyledTitle = styled(Caption)`\n padding-left: 8px;\n`\n\nconst messageVariantCSS = ({ variant }) => css`\n background-color: ${variant.background};\n svg {\n path {\n fill: ${variant.color};\n }\n }\n .KUI-InputMessage_title {\n color: ${variant.color};\n }\n`\n\nconst StyledMessage = styled.div`\n z-index: 5;\n position: absolute;\n left: 0px;\n bottom: 0;\n padding: 8px 15px;\n width: 100%;\n box-sizing: border-box;\n border-radius: 0 0 8px 8px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-shadow: 0px 0px 1px rgba(10, 31, 68, 0.08),\n 0px 3px 4px rgba(10, 31, 68, 0.1);\n ${messageVariantCSS};\n`\n\nconst StyledIconWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: center;\n`\n","import React from \"react\"\r\n\r\nconst TextareaGrabIcon = (props) => (\r\n <svg\r\n width=\"9\"\r\n height=\"8\"\r\n viewBox=\"0 0 9 8\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n {...props}\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M0.21967 7.80474C0.512563 8.06509 0.987437 8.06509 1.28033 7.80474L8.78033 1.13807C9.07322 0.877722 9.07322 0.455612 8.78033 0.195262C8.48744 -0.0650874 8.01256 -0.0650874 7.71967 0.195262L0.21967 6.86193C-0.0732233 7.12228 -0.0732233 7.54439 0.21967 7.80474ZM3.96957 7.80441C4.26246 8.06476 4.73734 8.06476 5.03023 7.80441L8.78021 4.47108C9.0731 4.21073 9.0731 3.78862 8.78021 3.52827C8.48732 3.26792 8.01245 3.26792 7.71956 3.52827L3.96957 6.8616C3.67668 7.12195 3.67668 7.54406 3.96957 7.80441Z\"\r\n fill=\"#EAECEF\"\r\n />\r\n </svg>\r\n)\r\n\r\nexport default TextareaGrabIcon\r\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Caption from \"../Caption\"\nimport InputMessage from \"../InputMessage\"\nimport TextareaGrabIcon from \"../../icons/TextareaGrabIcon\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst Input = forwardRef((props, ref) => {\n const {\n isTextArea,\n inputRef: inputRefProp,\n className,\n inputStyles,\n labelStyles,\n label,\n startIcon,\n endIcon,\n messageClassName,\n labelInlineStyles,\n message,\n messageVariant,\n value: inputValue,\n type,\n rows,\n placeholder,\n ...inputProps\n } = props\n const [isFilled, setIsFilled] = useState(false)\n const inputRef = useRef(null)\n const isInvalid = !!message && messageVariant !== \"success\"\n\n const forwardedRef = (elem) => {\n if (inputRefProp) {\n inputRefProp.current = elem\n }\n if (ref) {\n if (typeof ref === \"function\") {\n ref(elem)\n } else {\n ref.current = elem\n }\n }\n inputRef.current = elem\n }\n\n useEffect(() => {\n if (inputRef.current?.value) {\n setIsFilled(true)\n } else {\n setIsFilled(false)\n }\n }, [inputRef])\n\n useEffect(() => {\n if (!inputValue) {\n setIsFilled(false)\n } else {\n setIsFilled(true)\n }\n }, [inputValue])\n\n const handleChange = (e) => {\n if (e.target.value) {\n setIsFilled(true)\n } else {\n setIsFilled(false)\n }\n if (inputProps.onInput) {\n inputProps.onInput(e)\n }\n }\n\n const commonProps = {\n ref: forwardedRef,\n value: inputValue,\n onInput: handleChange,\n withMessage: !!message,\n messageVariant: messageVariant || \"error\",\n withLabel: !!label,\n placeholder,\n ...inputProps,\n }\n\n return (\n <StyledContainer\n className={classNames(\n \"KUI-Input_container\",\n !isTextArea && \"KUI-Input_InputContainer\",\n className\n )}\n >\n {startIcon && startIcon}\n {isTextArea ? (\n <StyledTextarea\n rows={rows}\n className={classNames(\n \"KUI-Input\",\n \"KUI-Textarea\",\n inputStyles,\n isInvalid && \"KUI-Input_invalid\"\n )}\n {...commonProps}\n />\n ) : (\n <StyledInput\n type={type}\n className={classNames(\n \"KUI-Input\",\n inputStyles,\n isInvalid && \"KUI-Input_invalid\"\n )}\n {...commonProps}\n />\n )}\n <StyledInputLabel\n size=\"s\"\n color=\"fiftyP\"\n active={isFilled || placeholder}\n className={classNames(\n \"KUI-Input_label\",\n isFilled && \"KUI-Input_label-active\",\n labelStyles\n )}\n style={labelInlineStyles}\n >\n {label}\n </StyledInputLabel>\n {isTextArea && <StyledTextareaIcon className=\"KUI-Textarea_icon\" />}\n {endIcon && endIcon}\n {!!message && (\n <InputMessage\n variant={messageVariant || \"error\"}\n msg={message}\n className={messageClassName}\n />\n )}\n </StyledContainer>\n )\n})\n\nInput.defaultProps = {\n disabled: false,\n isTextArea: false,\n label: \"\",\n rows: 4,\n type: \"text\",\n}\n\nInput.propTypes = {\n disabled: PropTypes.bool,\n isTextArea: PropTypes.bool,\n label: PropTypes.string,\n message: PropTypes.string,\n rows: PropTypes.number,\n type: PropTypes.oneOf([\n \"text\",\n \"number\",\n \"password\",\n \"phone\",\n \"email\",\n \"phone\",\n ]),\n}\n\nInput.displayName = \"Input\"\n\nexport default Input\n\nconst StyledContainer = styled.div`\n position: relative;\n &.KUI-Input_InputContainer {\n height: 56px;\n }\n`\n\nconst StyledTextareaIcon = styled(TextareaGrabIcon)`\n display: block;\n width: 9px;\n height: 8px;\n position: absolute;\n right: 4px;\n bottom: calc(15% * (14 / 16) + 8px);\n pointer-events: none;\n cursor: none;\n`\n\nconst labelActiveCSS = css`\n font-size: 12px;\n top: 10px;\n`\n\nconst StyledInputLabel = styled(Caption)`\n position: absolute;\n top: 19px;\n left: 16px;\n transition: top ease-out 0.2s, font-size ease-out 0.2s;\n user-select: none;\n pointer-events: none;\n ${({ active }) => active && labelActiveCSS};\n`\n\nconst inputStates = {\n error: palette.red.fiftyP,\n warning: palette.purple.seventy,\n success: palette.green.fiftyP,\n}\n\nconst inputStateCSS = (messageVariant) => css`\n border-radius: 8px 8px 0px 0px;\n border-color: ${inputStates[messageVariant]} !important;\n color: ${inputStates[messageVariant]};\n`\n\nconst inputCSS = ({ withMessage, messageVariant, withLabel }) => css`\n box-sizing: border-box;\n border: 1.5px solid ${palette.grey.fifteenB};\n border-radius: 8px;\n background-color: ${palette.grey.zero};\n caret-color: ${palette.brand.main};\n color: ${palette.grey.seventy};\n font-weight: 500;\n padding: ${withLabel ? \"27px 8px 10px 17px\" : \"16px 8px 16px 17px\"};\n font-family: \"Inter\", sans-serif;\n -moz-appearance: textfield;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n font-size: 16px;\n transform: scale(calc(14 / 16));\n transform-origin: left top;\n width: calc(100% * (16 / 14));\n margin-right: -14%;\n &:-webkit-autofill {\n box-shadow: inset 0 0 0 1000px #fff;\n }\n &::-webkit-outer-spin-button {\n -webkit-appearance: none;\n }\n &::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n &:focus {\n outline: none;\n border-color: ${palette.brand.main};\n & + .KUI-Input_label {\n ${labelActiveCSS}\n }\n }\n ${withMessage && inputStateCSS(messageVariant)};\n &:disabled {\n background-color: ${palette.background.light1};\n }\n`\n\nconst StyledInput = styled.input`\n height: 64px;\n ${inputCSS};\n`\n\nconst StyledTextarea = styled.textarea`\n resize: vertical;\n max-height: 168px;\n min-height: 64px;\n height: auto;\n &::-webkit-resizer {\n display: none;\n }\n ${inputCSS};\n`\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Input from \"../Input\"\nimport Caption from \"../Caption\"\n\nconst InputWithAdornments = forwardRef((props, ref) => {\n const { cornerLabel, startIcon, endIcon, ...inputProps } = props\n\n const startIconRef = useRef(null)\n const endIconRef = useRef(null)\n const [startIconWidth, setStartIconWidth] = useState(0)\n const [endIconWidth, setEndIconWidth] = useState(0)\n\n const inputStyle = {\n paddingLeft: startIconWidth > 0 ? (startIconWidth + 20) * (16 / 14) : 16,\n paddingRight: endIconWidth > 0 ? endIconWidth + 24 : 8,\n }\n\n const labelStyle = {\n left: startIconWidth > 0 ? startIconWidth + 22 : 16,\n }\n\n useEffect(() => {\n setStartIconWidth(startIconRef?.current?.clientWidth)\n }, [startIconRef?.current?.clientWidth])\n\n useEffect(() => {\n setEndIconWidth(endIconRef?.current?.clientWidth)\n }, [endIconRef?.current?.clientWidth])\n\n return (\n <Input\n ref={ref}\n startIcon={\n startIcon && (\n <StyledStartIcon\n ref={startIconRef}\n className=\"KUI-InputAdornment_start-icon\"\n >\n {startIcon}\n </StyledStartIcon>\n )\n }\n endIcon={\n (endIcon || cornerLabel) && (\n <StyledEndIcon\n ref={endIconRef}\n isCornerLabel={!!cornerLabel}\n className={classNames(\n \"KUI-InputAdornment_end-icon\",\n cornerLabel && \"KUI-InputAdornment_corner-label\"\n )}\n >\n {cornerLabel ? (\n <Caption size=\"s\" weight={500} color=\"fiftyP\">\n {cornerLabel}\n </Caption>\n ) : (\n endIcon\n )}\n </StyledEndIcon>\n )\n }\n style={inputStyle}\n labelInlineStyles={labelStyle}\n {...inputProps}\n />\n )\n})\n\nInputWithAdornments.defaultProps = {\n cornerLabel: null,\n startIcon: null,\n endIcon: null,\n}\n\nInputWithAdornments.propTypes = {\n label: PropTypes.string,\n errorMessage: PropTypes.string,\n cornerLabel: PropTypes.string,\n disabled: PropTypes.bool,\n startIcon: PropTypes.element,\n endIcon: PropTypes.element,\n type: PropTypes.oneOf([\"text\", \"number\", \"password\"]),\n}\n\nInputWithAdornments.displayName = \"InputWithAdornments\"\n\nexport default InputWithAdornments\n\nconst cornerLabelCSS = css`\n align-items: flex-end;\n bottom: 12px;\n right: 12px;\n`\n\nconst StyledIcon = styled.div`\n position: absolute;\n top: 8px;\n bottom: 8px;\n display: flex;\n align-items: center;\n z-index: 1;\n`\n\nconst StyledStartIcon = styled(StyledIcon)`\n left: 8px;\n`\n\nconst StyledEndIcon = styled(StyledIcon)`\n right: 8px;\n z-index: 0;\n ${({ isCornerLabel }) => isCornerLabel && cornerLabelCSS};\n`\n","import InputMask from \"react-input-mask\"\nimport React, { forwardRef, useEffect, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport InputWithAdornments from \"../InputWithAdornments\"\n\nconst InputWithMask = forwardRef((props, ref) => {\n const { mask, value: valueProp, onChange, onBlur, disabled, ...other } = props\n const [value, setValue] = useState(valueProp)\n\n const handleChange = (e) => {\n if (e.target.value?.match(/[0-9]/)) {\n setValue(e.target.value)\n } else {\n setValue(\"\")\n }\n if (onChange) {\n onChange(e)\n }\n }\n\n useEffect(() => {\n setValue(valueProp)\n }, [valueProp])\n\n return (\n <InputMask\n maskPlaceholder={null}\n mask={mask}\n alwaysShowMask={false}\n disabled={disabled}\n onChange={handleChange}\n onBlur={onBlur}\n value={value}\n >\n {() => (\n <InputWithAdornments\n disabled={disabled}\n value={value}\n ref={ref}\n {...other}\n />\n )}\n </InputMask>\n )\n})\n\nInputWithMask.displayName = \"InputWithMask\"\n\nInputWithMask.propTypes = {\n label: PropTypes.string,\n errorMessage: PropTypes.string,\n cornerLabel: PropTypes.string,\n disabled: PropTypes.bool,\n startIcon: PropTypes.element,\n endIcon: PropTypes.element,\n mask: PropTypes.string,\n}\n\nexport default InputWithMask\n","import React, { useMemo } from \"react\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../../../theme\"\n\nconst { palette } = theme\n\nfunction CountryItem({ item, selectCountryIndex }) {\n const countryIcon = useMemo(\n () =>\n item.nameCode\n .toUpperCase()\n .replace(/./g, (char) =>\n String.fromCodePoint(char.charCodeAt(0) + 127397)\n ),\n [item.nameCode]\n )\n\n const handleClick = () => {\n selectCountryIndex(item)\n }\n\n return (\n <StyledCountry className=\"KUI-Country\" onClick={handleClick}>\n <StyledTitle className=\"KUI-Country_title\">\n <StyledIcon className=\"KUI-Country_icon\">{countryIcon}</StyledIcon>\n <StyledCountryName className=\"KUI-Country_name\">\n {item.nameRus}\n </StyledCountryName>\n </StyledTitle>\n <div>\n <StyledCountryPhone className=\"KUI-Country_phone\">\n +{item.phoneCode}\n </StyledCountryPhone>\n </div>\n </StyledCountry>\n )\n}\n\nexport default CountryItem\n\nconst StyledCountry = styled.div`\n border-radius: 12px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px 11px;\n cursor: pointer;\n box-sizing: border-box;\n &:hover {\n background-color: ${palette.background.light2};\n }\n`\n\nconst StyledTitle = styled.div`\n display: flex;\n align-items: center;\n`\n\nconst StyledIcon = styled.span`\n padding-bottom: 1px;\n width: 28px;\n`\n\nconst StyledCountryName = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n margin: 0;\n padding-top: 3px;\n font-size: 14px;\n line-height: 18px;\n font-weight: 600;\n`\n\nconst StyledCountryPhone = styled.p`\n font-family: \"Inter\", sans-serif;\n letter-spacing: normal;\n margin: 0;\n font-size: 12px;\n line-height: 14px;\n font-weight: 500;\n color: ${palette.grey.fiftyP};\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst SearchIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.15016 0.333008C7.81034 0.333008 9.96683 2.4895 9.96683 5.14967C9.96683 6.27563 9.58049 7.31135 8.93313 8.13151L11.5009 10.699C11.7222 10.9203 11.7222 11.2791 11.5009 11.5004C11.2796 11.7217 10.9208 11.7217 10.6995 11.5004L8.132 8.93264C7.31184 9.58 6.27612 9.96634 5.15016 9.96634C2.48999 9.96634 0.333496 7.80985 0.333496 5.14967C0.333496 2.4895 2.48999 0.333008 5.15016 0.333008ZM5.15016 1.46634C3.11591 1.46634 1.46683 3.11543 1.46683 5.14967C1.46683 7.18392 3.11591 8.83301 5.15016 8.83301C7.18441 8.83301 8.8335 7.18392 8.8335 5.14967C8.8335 3.11543 7.18441 1.46634 5.15016 1.46634Z\"\r\n fill=\"#7F8285\"\r\n />\r\n </svg>\r\n)\r\n\r\nSearchIcon.defaultProps = {\r\n width: 12,\r\n height: 12,\r\n}\r\n\r\nSearchIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default SearchIcon\r\n","import React, { useEffect, useRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport countries from \"../../../utils/countries.json\"\nimport CountryItem from \"./CountryItem\"\nimport SearchIcon from \"../../../icons/SearchIcon\"\nimport { theme } from \"../../../theme\"\n\nconst { palette } = theme\n\nfunction Dropdown({\n isOpen,\n selectCountryIndex,\n setIsOpenDropDown,\n buttonRef,\n}) {\n const [filteredCountries, setFilteredCountries] = useState(countries)\n const dropdownRef = useRef()\n\n const closePopUp = (e) => {\n if (dropdownRef.current && buttonRef.current) {\n if (\n !dropdownRef.current.contains(e.target) &&\n !buttonRef.current.contains(e.target)\n ) {\n setIsOpenDropDown(false)\n }\n }\n }\n\n useEffect(() => {\n document.addEventListener(\"click\", closePopUp)\n return () => {\n document.removeEventListener(\"click\", closePopUp)\n }\n }, [])\n\n if (!isOpen) {\n return null\n }\n\n const filterCountries = (e) => {\n const query = e.target.value\n\n if (query.length > 0) {\n setFilteredCountries(\n countries.filter(\n (item) =>\n item.nameRus.toLowerCase().indexOf(query.toLowerCase()) !== -1\n )\n )\n } else {\n setFilteredCountries(countries)\n }\n }\n\n return (\n <StyledContainer\n isOpen={isOpen}\n className={classNames(\n \"KUI-DropdownContainer\",\n isOpen && \"KUI-Dropdown_open\"\n )}\n ref={dropdownRef}\n >\n <StyledSearchWrapper className=\"KUI-SearchWrapper\">\n <StyledSearch className=\"KUI-Search\">\n <StyledSearchInput\n type=\"text\"\n placeholder=\"Поиск...\"\n onChange={filterCountries}\n className=\"KUI-SearchInput\"\n />\n <span>\n <SearchIcon />\n </span>\n </StyledSearch>\n </StyledSearchWrapper>\n <StyledDropdown className=\"KUI-Dropdown\">\n {filteredCountries.map((item, key) => (\n <CountryItem\n key={key}\n item={item}\n selectCountryIndex={selectCountryIndex}\n />\n ))}\n </StyledDropdown>\n </StyledContainer>\n )\n}\n\nexport default Dropdown\n\nconst StyledContainer = styled.div`\n width: 100%;\n max-height: 275px;\n display: ${({ isOpen }) => (isOpen ? \"block\" : \"none\")};\n position: absolute;\n background-color: ${palette.grey.zero};\n z-index: 100;\n border: 1px solid ${palette.grey.fifteenB};\n top: 64px;\n box-shadow: ${theme.shadows.shadow4};\n border-radius: 8px;\n overflow: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n overflow-y: scroll;\n user-select: none;\n &::-webkit-scrollbar {\n width: 0;\n }\n`\n\nconst StyledSearchWrapper = styled.div`\n padding: 8px;\n position: sticky;\n top: 0;\n background-color: ${palette.grey.zero};\n border-radius: 8px;\n`\n\nconst StyledSearch = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n height: 40px;\n background-color: ${palette.background.light2};\n padding: 0 12px;\n border-radius: 8px;\n`\n\nconst StyledSearchInput = styled.input`\n border: none;\n width: calc(100% - 18px);\n background-color: transparent;\n height: 100%;\n outline: none;\n`\n\nconst StyledDropdown = styled.div`\n width: 100%;\n padding: 0 8px;\n box-sizing: border-box;\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst HalfArrowIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n fillRule=\"evenodd\"\r\n clipRule=\"evenodd\"\r\n d=\"M6.86193 0.195262L4 3.05719L1.13807 0.195262C0.877722 -0.0650874 0.455612 -0.0650874 0.195262 0.195262C-0.0650874 0.455612 -0.0650874 0.877722 0.195262 1.13807L3.5286 4.4714C3.78895 4.73175 4.21105 4.73175 4.4714 4.4714L7.80474 1.13807C8.06509 0.877722 8.06509 0.455612 7.80474 0.195262C7.54439 -0.0650874 7.12228 -0.0650874 6.86193 0.195262Z\"\r\n fill=\"#8A94A6\"\r\n />\r\n </svg>\r\n)\r\n\r\nHalfArrowIcon.defaultProps = {\r\n width: 8,\r\n height: 5,\r\n}\r\n\r\nHalfArrowIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default HalfArrowIcon\r\n","import React, { forwardRef, useRef, useState } from \"react\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport InputWithMask from \"../InputWithMask\"\nimport countries from \"../../utils/countries.json\"\nimport Caption from \"../Caption\"\nimport Dropdown from \"./Dropdown\"\nimport HalfArrowIcon from \"../../icons/HalfArrowIcon\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst InputWithCountryDropdown = forwardRef(\n ({ onSelectCountry, hiddenInputProps, ...inputProps }, ref) => {\n const selectedCountryCode = hiddenInputProps?.value\n ? String(hiddenInputProps.value)\n : \"7\"\n const selectedCountryIndex = countries.findIndex(\n (country) => country.phoneCode === selectedCountryCode\n )\n const [selectedCountry, setSelectedCountry] = useState(\n selectedCountryIndex < 0 ? 168 : selectedCountryIndex\n )\n const [isOpenDropdown, setIsOpenDropDown] = useState(false)\n const buttonRef = useRef()\n\n const selectCountryIndex = (item) => {\n setSelectedCountry(\n countries.reduce(\n (acc, country, index) => (country.name === item.name ? index : acc),\n 0\n )\n )\n setIsOpenDropDown(false)\n if (onSelectCountry) {\n onSelectCountry(item)\n }\n }\n\n const handleClick = () => {\n setIsOpenDropDown(!isOpenDropdown)\n }\n\n return (\n <StyledDropdownWrapper className=\"KUI-InputDropdown_wrapper\">\n <InputWithMask\n ref={ref}\n label=\"Номер телефона\"\n mask={countries[selectedCountry].mask}\n startIcon={\n <StyledPhoneCodeButton\n type=\"button\"\n className=\"KUI-InputDropdown_button-phone-code\"\n onClick={handleClick}\n ref={buttonRef}\n >\n <Caption size=\"s\" weight={500}>\n +{countries[selectedCountry].phoneCode}\n </Caption>\n <StyledPhoneCodeIcon isReverse={isOpenDropdown}>\n <HalfArrowIcon />\n </StyledPhoneCodeIcon>\n </StyledPhoneCodeButton>\n }\n {...inputProps}\n />\n <Dropdown\n isOpen={isOpenDropdown}\n selectCountryIndex={selectCountryIndex}\n setIsOpenDropDown={setIsOpenDropDown}\n buttonRef={buttonRef}\n />\n <input\n style={{ display: \"none\" }}\n readOnly\n aria-label=\"phone_code\"\n {...hiddenInputProps}\n value={countries[selectedCountry].phoneCode}\n />\n </StyledDropdownWrapper>\n )\n }\n)\n\nInputWithCountryDropdown.displayName = \"InputWithCountryDropdown\"\n\nInputWithCountryDropdown.propTypes = {\n label: PropTypes.string,\n errorMessage: PropTypes.string,\n disabled: PropTypes.bool,\n}\n\nexport default InputWithCountryDropdown\n\nconst StyledDropdownWrapper = styled.div`\n position: relative;\n`\n\nconst StyledPhoneCodeButton = styled.button`\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 80px;\n height: 40px;\n box-sizing: border-box;\n background: ${palette.background.light2};\n border-radius: 8px;\n border: none;\n margin: 0;\n box-shadow: none;\n cursor: pointer;\n padding: 8px 14px 8px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n user-select: none;\n`\n\nconst StyledPhoneCodeIcon = styled.span`\n display: flex;\n justify-content: center;\n align-items: center;\n svg {\n transition: all linear 0.2s;\n transform: ${({ isReverse }) => (isReverse ? \"rotate(180deg)\" : \"none\")};\n }\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\n\nconst palette = theme.palette\n\nconst Checkbox = forwardRef((props, ref) => {\n const { className, label, error, inputRef, ...checkboxProps } = props\n\n return (\n <StyledLabel\n htmlFor={`KUI-checkbox_${checkboxProps.name}`}\n className=\"KUI-Checkbox_label\"\n >\n <StyledCheckbox\n id={`KUI-checkbox_${checkboxProps.name}`}\n ref={inputRef}\n type=\"checkbox\"\n className=\"KUI-Checkbox\"\n {...checkboxProps}\n />\n <StyledCustomCheckbox\n error={!!error}\n className={classNames(\n \"KUI-Checkbox_custom\",\n className,\n !!error && \"KUI-Checkbox_error\"\n )}\n />\n {!!label && (\n <StyledCheckboxLabel className=\"KUI-Label_checkbox\">\n {label}\n </StyledCheckboxLabel>\n )}\n </StyledLabel>\n )\n})\n\nCheckbox.defaultProps = {\n label: \"\",\n}\n\nCheckbox.propTypes = {\n label: PropTypes.any,\n error: PropTypes.bool,\n disabled: PropTypes.bool,\n}\n\nCheckbox.displayName = \"Checkbox\"\n\nexport default Checkbox\n\nconst errorCSS = ({ error }) =>\n error &&\n css`\n border-color: ${palette.red.fiftyP};\n `\n\nconst StyledCustomCheckbox = styled.span`\n border-radius: 6px;\n padding: 1px;\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 1px solid ${palette.grey.fifteenB};\n transition: all linear 0.3s;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n ${errorCSS};\n &:before {\n content: \"\";\n display: block;\n width: 16px;\n height: 16px;\n border-radius: 4px;\n background-color: ${palette.grey.zero};\n transition: all linear 0.2s;\n }\n`\n\nconst StyledCheckbox = styled.input`\n opacity: 0;\n position: absolute;\n top: 0;\n left: 0;\n width: 16px;\n height: 16px;\n cursor: pointer;\n &:checked + .KUI-Checkbox_custom:before {\n background-color: ${palette.brand.main};\n background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z\" fill=\"%23fff\"/%3E%3C/svg%3E');\n }\n &:disabled + .KUI-Checkbox_custom {\n background-color: ${palette.background.light2};\n border-color: ${palette.background.light2};\n &:before {\n background-color: ${palette.background.light2};\n }\n }\n &:disabled:checked + .KUI-Checkbox_custom:before {\n background-color: ${palette.grey.fifteenB};\n }\n`\n\nconst StyledLabel = styled.label`\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n position: relative;\n &:hover {\n .KUI-Checkbox:not(:disabled):not(:checked) + .KUI-Checkbox_custom {\n border-color: ${palette.brand.main};\n }\n .KUI-Checkbox:not(:disabled):checked + .KUI-Checkbox_custom {\n border-color: ${palette.brand.light};\n }\n }\n`\n\nconst StyledCheckboxLabel = styled.span`\n margin-left: 14px;\n`\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nconst CloseIcon = ({ width, height }) => (\n <svg\n width={width}\n height={height}\n viewBox=\"0 0 26 26\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M6.93909 6.93909C7.27382 6.60435 7.81654 6.60435 8.15127 6.93909L13 11.7878L17.8487 6.93909C18.1835 6.60435 18.7262 6.60435 19.0609 6.93909C19.3957 7.27382 19.3957 7.81653 19.0609 8.15127L14.2122 13L19.0609 17.8487C19.3957 18.1835 19.3957 18.7262 19.0609 19.0609C18.7262 19.3956 18.1835 19.3956 17.8487 19.0609L13 14.2122L8.15127 19.0609C7.81654 19.3956 7.27382 19.3956 6.93909 19.0609C6.60435 18.7262 6.60435 18.1835 6.93909 17.8487L11.7878 13L6.93909 8.15127C6.60435 7.81653 6.60435 7.27382 6.93909 6.93909Z\"\n fill=\"#7F8285\"\n />\n </svg>\n)\n\nCloseIcon.defaultProps = {\n width: 26,\n height: 26,\n}\n\nCloseIcon.propTypes = {\n width: PropTypes.number,\n height: PropTypes.number,\n}\n\nexport default CloseIcon\n","import React, { useEffect, useRef } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css, Global } from \"@emotion/react\"\nimport { createPortal } from \"react-dom\"\nimport Heading from \"../Heading\"\nimport CloseIcon from \"../../icons/CloseIcon\"\nimport { theme } from \"../../theme\"\nimport Caption from \"../Caption\"\nimport Button from \"../Button\"\n\nconst { breakpoints, palette } = theme\n\nfunction Modal(props) {\n const {\n isOpen,\n handleClose,\n isScrollable,\n title,\n description,\n children,\n isHasHeader,\n className,\n size,\n icon,\n ...otherProps\n } = props\n const modalRef = useRef(null)\n\n useEffect(() => {\n if (isOpen) {\n document.body.classList.add(\"KUI-Modal_body\")\n } else {\n document.body.classList.remove(\"KUI-Modal_body\")\n }\n }, [isOpen])\n\n useEffect(\n () => () => {\n document.body.classList.remove(\"KUI-Modal_body\")\n },\n []\n )\n\n const closeModal = (e) => {\n if (modalRef.current && !modalRef.current.contains(e.target)) {\n handleClose()\n }\n }\n\n if (!isOpen) {\n return null\n }\n\n return createPortal(\n <StyledContainer\n className=\"KUI-Modal_container\"\n onClick={closeModal}\n {...otherProps}\n >\n <Global\n styles={css`\n .KUI-Modal_body {\n overflow: hidden;\n padding-right: 17px;\n }\n `}\n />\n <StyledModal\n ref={modalRef}\n isOpen={isOpen}\n size={size}\n className={classNames(\n \"KUI-Modal\",\n isOpen && \"KUI-Modal_open\",\n isScrollable && \"KUI-Modal_scrollable\",\n className\n )}\n >\n <StyledHeaderWrapper className=\"KUI-Modal_header\">\n {title && (\n <StyledModalTitle className=\"KUI-Modal_title\">\n {title}\n </StyledModalTitle>\n )}\n {description && (\n <StyledDescriptionWrapper>\n <StyledDescription size=\"s\" color=\"fiftyP\">\n {description}\n </StyledDescription>\n </StyledDescriptionWrapper>\n )}\n <StyledHeadingIconsWrapper>\n <div>{icon}</div>\n <Button\n className=\"KUI-Modal_close-button\"\n isCircle\n size=\"xxs\"\n variant=\"transparent\"\n onClick={handleClose}\n >\n <CloseIcon />\n </Button>\n </StyledHeadingIconsWrapper>\n </StyledHeaderWrapper>\n {children}\n </StyledModal>\n </StyledContainer>,\n document.body\n )\n}\n\nModal.defaultProps = {\n isOpen: false,\n handleClose: null,\n title: \"\",\n size: \"small\",\n}\n\nModal.propTypes = {\n isOpen: PropTypes.bool,\n handleClose: PropTypes.func,\n title: PropTypes.string,\n size: PropTypes.oneOf([\"small\", \"large\"]),\n}\n\nexport default Modal\n\nconst StyledContainer = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.5);\n backdrop-filter: blur(4px);\n z-index: 1500;\n display: flex;\n justify-content: center;\n align-items: center;\n transition: all linear 0.2s;\n`\n\nconst StyledModal = styled.div`\n border-radius: 12px;\n overflow: visible;\n overflow-y: visible;\n box-shadow: 0px 11px 15px -7px rgb(0 0 0 / 20%),\n 0px 24px 38px 3px rgb(0 0 0 / 14%), 0px 9px 46px 8px rgb(0 0 0 / 12%);\n -ms-overflow-style: none;\n scrollbar-width: none;\n background-color: ${palette.grey.zero};\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n max-height: 720px;\n width: ${({ size }) => (size === \"small\" ? 480 : 720)}px;\n display: ${({ isOpen }) => (isOpen ? \"block\" : \"none\")};\n &::-webkit-scrollbar {\n width: 0;\n }\n @media (max-width: 720px) {\n max-height: 90vh;\n }\n @media (max-width: ${breakpoints.xs}px) {\n position: absolute;\n bottom: 0;\n width: 100vw;\n border-radius: 12px 12px 0 0;\n }\n .KUI-Modal_scrollable {\n overflow: auto;\n overflow-y: auto;\n }\n`\n\nconst StyledHeaderWrapper = styled.div`\n top: 0;\n width: 100%;\n background: ${theme.palette.grey.zero};\n z-index: 5;\n border-radius: 12px 12px 0 0;\n position: sticky;\n box-sizing: border-box;\n text-align: center;\n @media (max-width: 600px) {\n padding: 0 16px;\n }\n`\n\nconst StyledModalTitle = styled(Heading)`\n font-weight: 700;\n padding: 36px 40px 8px;\n @media (max-width: 661px) {\n padding: 40px 24px 13px;\n font-size: 18px;\n line-height: 24px;\n }\n`\n\nconst StyledDescriptionWrapper = styled.div`\n padding: 0 40px;\n @media (max-width: 900px) {\n padding: 0 24px;\n }\n`\n\nconst StyledDescription = styled(Caption)`\n @media (max-width: 600px) {\n font-size: 13px;\n line-height: 20px;\n }\n`\n\nconst StyledHeadingIconsWrapper = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n cursor: pointer;\n padding: 16px;\n z-index: 5;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n box-sizing: border-box;\n`\n","const switchVariants = {\r\n s: {\r\n width: 40,\r\n height: 22,\r\n before: 14,\r\n },\r\n m: {\r\n width: 36,\r\n height: 26,\r\n before: 18,\r\n },\r\n l: {\r\n width: 56,\r\n height: 34,\r\n before: 26,\r\n },\r\n}\r\n\r\nexport default switchVariants\r\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\nimport switchVariants from \"./variants\"\n\nconst { palette } = theme\n\nconst Switch = forwardRef((props, ref) => {\n const { size, className, label, error, inputRef, ...switchProps } = props\n\n return (\n <StyledLabel className=\"KUI-Switch_label\">\n <StyledSwitch\n variant={switchVariants[size]}\n ref={inputRef}\n type=\"checkbox\"\n className=\"KUI-Switch\"\n {...switchProps}\n />\n <StyledCustomSwitch\n variant={switchVariants[size]}\n error={!!error}\n className={classNames(\n \"KUI-Switch_custom\",\n !!error && \"KUI-Switch_error\"\n )}\n />\n {!!label && (\n <StyledSwitchLabel className=\"KUI-Label_switch\">\n {label}\n </StyledSwitchLabel>\n )}\n </StyledLabel>\n )\n})\n\nSwitch.defaultProps = {\n label: \"\",\n className: \"\",\n name: \"check\",\n size: \"s\",\n}\n\nSwitch.propTypes = {\n label: PropTypes.string,\n size: PropTypes.oneOf([\"s\", \"m\", \"l\"]),\n disabled: PropTypes.bool,\n error: PropTypes.bool,\n}\n\nSwitch.displayName = \"Switch\"\n\nexport default Switch\n\nconst switchVariantCSS = ({ variant }) => css`\n width: ${variant.width}px;\n height: ${variant.height}px;\n &::before {\n width: ${variant.before}px;\n }\n`\n\nconst switchErrorCSS = ({ error }) =>\n error &&\n css`\n border-color: ${palette.red.fiftyP};\n background-color: ${palette.red.five};\n `\n\nconst StyledCustomSwitch = styled.span`\n background: #c9ced6;\n border-radius: 24px;\n padding: 3px;\n box-sizing: border-box;\n border: 1px solid transparent;\n transition: all linear 0.3s;\n display: flex;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &:before {\n content: \"\";\n background: ${palette.grey.zero};\n border-radius: 50%;\n height: 100%;\n transition: all ease-out 0.3s;\n margin-left: 0;\n }\n ${switchVariantCSS};\n ${switchErrorCSS};\n`\n\nconst StyledSwitch = styled.input`\n opacity: 0;\n position: absolute;\n z-index: -1;\n &:checked + .KUI-Switch_custom {\n background-color: ${palette.brand.main};\n &:before {\n margin-left: calc(100% - ${({ variant }) => `${variant.before}px`});\n }\n }\n &:disabled + .KUI-Switch_custom {\n background-color: ${palette.grey.zero};\n border-color: ${palette.grey.fifteenB};\n &:before {\n background-color: ${palette.grey.fifteenB};\n }\n }\n`\n\nconst StyledLabel = styled.label`\n display: inline-flex;\n align-items: center;\n cursor: pointer;\n`\n\nconst StyledSwitchLabel = styled.span`\n margin-left: 14px;\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst Radio = forwardRef((props, ref) => {\n const { label, value, inputRef, ...radioProps } = props\n\n return (\n <StyledLabel className=\"KUI-Radio_label\">\n <StyledRadio\n ref={inputRef}\n value={value}\n type=\"radio\"\n className=\"KUI-Radio\"\n {...radioProps}\n />\n <StyledCustomRadio className=\"KUI-Radio_custom\" />\n {!!label && (\n <StyledRadioLabel className=\"KUI-Label_radio\">{label}</StyledRadioLabel>\n )}\n </StyledLabel>\n )\n})\n\nRadio.defaultProps = {\n label: \"\",\n value: \"\",\n name: \"radio\",\n}\n\nRadio.propTypes = {\n label: PropTypes.string,\n disabled: PropTypes.bool,\n}\n\nRadio.displayName = \"Radio\"\n\nexport default Radio\n\nconst StyledCustomRadio = styled.span`\n border-radius: 50%;\n padding: 1px;\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 1px solid ${palette.grey.fifteenB};\n transition: all linear 0.3s;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n &:before {\n content: \"\";\n display: block;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background-color: ${palette.grey.zero};\n transition: all linear 0.2s;\n }\n`\n\nconst StyledRadio = styled.input`\n opacity: 0;\n position: absolute;\n z-index: -1;\n &:checked + .KUI-Radio_custom:before {\n background-color: ${palette.brand.main};\n background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z\" fill=\"%23fff\"/%3E%3C/svg%3E');\n }\n &:disabled + .KUI-Radio_custom {\n background-color: ${palette.background.light2};\n border-color: ${palette.background.light2};\n &:before {\n background-color: ${palette.background.light2};\n }\n }\n &:disabled:checked + .KUI-Radio_custom:before {\n background-color: ${palette.grey.fifteenB};\n }\n`\n\nconst StyledLabel = styled.label`\n display: flex;\n align-items: center;\n cursor: pointer;\n &:hover {\n .KUI-Radio:not(:disabled):not(:checked) + .KUI-Radio_custom {\n border-color: ${palette.brand.main};\n }\n .KUI-Radio:not(:disabled):checked + .KUI-Radio_custom {\n border-color: ${palette.brand.light};\n }\n }\n`\n\nconst StyledRadioLabel = styled.span`\n margin-left: 14px;\n`\n","import React from \"react\"\r\nimport PropTypes from \"prop-types\"\r\n\r\nconst FileIcon = ({ width, height }) => (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox={`0 0 ${width} ${height}`}\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M6.10782 5.22682C6.33097 5.00366 6.69278 5.00366 6.91594 5.22682C7.13909 5.44998 7.13909 5.81179 6.91594 6.03494L4.53198 8.4189C4.20799 8.74289 4.18918 9.28829 4.53198 9.63109C4.87477 9.97388 5.42017 9.95507 5.74416 9.63109L10.1888 5.18642C11.104 4.2712 11.054 2.81907 10.1888 1.95393C9.32369 1.08879 7.87156 1.03871 6.95634 1.95393L2.51167 6.3986C1.05411 7.85616 1.08129 10.221 2.51167 11.6514C3.94205 13.0818 6.3069 13.109 7.76447 11.6514L10.1484 9.26743C10.3716 9.04427 10.7334 9.04427 10.9565 9.26743C11.1797 9.49059 11.1797 9.8524 10.9565 10.0756L8.57259 12.4595C6.6645 14.3676 3.57614 14.3321 1.70355 12.4595C-0.169037 10.5869 -0.204535 7.49856 1.70355 5.59048L6.14822 1.14581C7.52269 -0.228658 9.69748 -0.153665 10.997 1.14581C12.2964 2.44528 12.3714 4.62007 10.997 5.99454L6.55228 10.4392C5.79396 11.1975 4.5259 11.2413 3.72386 10.4392C2.92181 9.63716 2.96554 8.3691 3.72386 7.61078L6.10782 5.22682Z\"\r\n fill=\"#7F8285\"\r\n />\r\n </svg>\r\n)\r\n\r\nFileIcon.defaultProps = {\r\n width: 12,\r\n height: 14,\r\n}\r\n\r\nFileIcon.propTypes = {\r\n width: PropTypes.number,\r\n height: PropTypes.number,\r\n}\r\n\r\nexport default FileIcon\r\n","import React, { forwardRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Text from \"../Text\"\nimport FileIcon from \"../../icons/FileIcon\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst InputFile = forwardRef((props, ref) => {\n const { className, label, name, ...inputProps } = props\n const [value, setValue] = useState(label)\n const inputId = inputProps.id ? inputProps.id : name\n\n const setFileName = (e) => {\n if (e.target.files[0]) {\n setValue(e.target.files[0].name)\n } else {\n setValue(label)\n }\n }\n\n return (\n <StyledWrapper className={classNames(\"KUI-InputFile_wrapper\", className)}>\n <StyledInput\n type=\"file\"\n id={inputId}\n className=\"KUI-InputFile\"\n onInput={setFileName}\n {...inputProps}\n />\n <StyledLabel htmlFor={inputId} className=\"KUI-InputFile_label\">\n <StyledTitle\n active={value !== label}\n size=\"s\"\n className={classNames(\n \"KUI-InputFile_title\",\n value !== label && \"KUI-InputFile_value\"\n )}\n >\n {value}\n </StyledTitle>\n <FileIcon />\n </StyledLabel>\n </StyledWrapper>\n )\n})\n\nInputFile.displayName = \"InputFile\"\n\nInputFile.propTypes = {\n label: PropTypes.string,\n}\n\nexport default InputFile\n\nconst StyledWrapper = styled.div`\n background-color: ${palette.grey.zero};\n border: 1px solid ${palette.grey.fifteenB};\n height: 56px;\n box-sizing: border-box;\n border-radius: 8px;\n padding: 0 16px;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n`\n\nconst StyledInput = styled.input`\n display: none;\n`\n\nconst StyledLabel = styled.label`\n display: flex;\n cursor: pointer;\n justify-content: space-between;\n align-items: center;\n height: 100%;\n`\nconst titleActiveCSS = css`\n color: ${palette.grey.seventy};\n font-weight: 500;\n`\n\nconst StyledTitle = styled(Text)`\n color: ${palette.grey.fiftyP};\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n max-width: calc(100% - 20px);\n ${({ active }) => active && titleActiveCSS};\n`\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nfunction Divider({ className }) {\n return <StyledDivider className={classNames(\"KUI-Divider\", className)} />\n}\n\nDivider.defaultProps = {\n className: \"\",\n}\n\nDivider.propTypes = {\n className: PropTypes.string,\n}\n\nexport default Divider\n\nconst StyledDivider = styled.hr`\n height: 1px;\n border: none;\n background-color: ${theme.palette.grey.fifteenB};\n margin: 0;\n`\n","import React, { forwardRef } from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst breakpoints = theme.breakpoints\n\nconst Container = forwardRef(({ className, ...props }, ref) => (\n <StyledContainer\n ref={ref}\n className={classNames(\"KUI-Container\", className)}\n {...props}\n />\n))\n\nContainer.displayName = \"Container\"\n\nexport default Container\n\nconst StyledContainer = styled.div`\n margin: 0 auto;\n box-sizing: border-box;\n padding: 0 16px;\n width: 100%;\n @media (min-width: 1280px) {\n max-width: 1280px;\n }\n @media (min-width: ${breakpoints.xs}px) {\n padding: 0 24px;\n }\n`\n","import React, { forwardRef } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\n\nconst breakpoints = theme.breakpoints\n\nconst Grid = forwardRef(\n ({ item, container, className, ...otherProps }, ref) => (\n <StyledGrid\n ref={ref}\n item={item}\n container={container}\n className={classNames(\n item && \"KUI-Grid_Item\",\n container && \"KUI-Grid_Container\",\n className\n )}\n {...otherProps}\n />\n )\n)\n\nGrid.displayName = \"Grid\"\n\nGrid.propTypes = {\n spacing: PropTypes.number,\n justify: PropTypes.oneOf([\n \"center\",\n \"flex-start\",\n \"flex-end\",\n \"space-between\",\n ]),\n alignItems: PropTypes.oneOf([\"center\", \"flex-start\", \"flex-end\"]),\n alignContent: PropTypes.oneOf([\"center\", \"flex-start\", \"flex-end\"]),\n direction: PropTypes.oneOf([\"column\", \"row\"]),\n}\n\nexport default Grid\n\nconst containerSpacingCSS = (spacing) => css`\n width: calc(100% + (${theme.settings.spacing} * ${spacing}px));\n margin-top: calc(0px - ((${theme.settings.spacing} * ${spacing}px)));\n margin-left: calc(0px - ((${theme.settings.spacing} * ${spacing}px)));\n & > .KUI-Grid_Item {\n padding-left: calc((${theme.settings.spacing} * ${spacing}px));\n padding-top: calc((${theme.settings.spacing} * ${spacing}px));\n }\n`\n\nconst containerCSS = (props) => css`\n display: flex;\n flex-wrap: ${props.wrap || \"wrap\"};\n box-sizing: border-box;\n width: 100%;\n justify-content: ${props.justify || \"unset\"};\n align-items: ${props.alignItems || \"unset\"};\n align-content: ${props.alignContent || \"unset\"};\n flex-direction: ${props.direction || \"unset\"};\n ${props.spacing && containerSpacingCSS(props.spacing)}\n`\n\nconst itemSizeCSS = (size) =>\n size &&\n css`\n max-width: ${size === \"auto\"\n ? \"auto\"\n : `calc(100% / (${theme.settings.columns} / ${size}))`};\n flex-basis: ${size === \"auto\"\n ? \"auto\"\n : `calc(100% / (${theme.settings.columns} / ${size}))`};\n `\n\nconst itemCSS = (props) => css`\n margin: 0;\n box-sizing: border-box;\n flex-grow: 0;\n @media (min-width: 0px) {\n ${itemSizeCSS(props.xs)};\n }\n @media (min-width: ${breakpoints.xs + 1}px) {\n ${itemSizeCSS(props.sm)};\n }\n @media (min-width: ${breakpoints.sm + 1}px) {\n ${itemSizeCSS(props.md)};\n }\n @media (min-width: ${breakpoints.md + 1}px) {\n ${itemSizeCSS(props.lg)};\n }\n @media (min-width: ${breakpoints.xl}px) {\n ${itemSizeCSS(props.xl)};\n }\n`\n\nconst StyledGrid = styled.div`\n ${({ item, ...other }) => item && itemCSS(other)}\n ${({ container, ...other }) => container && containerCSS(other)}\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst { spacing } = theme.settings\nconst Box = forwardRef((props, ref) => <StyledBox ref={ref} {...props} />)\n\nBox.propTypes = {\n pt: PropTypes.number,\n pb: PropTypes.number,\n pr: PropTypes.number,\n pl: PropTypes.number,\n mt: PropTypes.number,\n mb: PropTypes.number,\n mr: PropTypes.number,\n ml: PropTypes.number,\n}\n\nBox.displayName = \"Box\"\n\nexport default Box\n\nconst StyledBox = styled.div`\n ${({ mt }) => mt && `margin-top: ${mt * spacing}px`};\n ${({ mb }) => mb && `margin-bottom: ${mb * spacing}px`};\n ${({ mr }) => mr && `margin-right: ${mr * spacing}px`};\n ${({ ml }) => ml && `margin-left: ${ml * spacing}px`};\n\n ${({ pt }) => pt && `padding-top: ${pt * spacing}px`};\n ${({ pb }) => pb && `padding-bottom: ${pb * spacing}px`};\n ${({ pr }) => pr && `padding-right: ${pr * spacing}px`};\n ${({ pl }) => pl && `padding-left: ${pl * spacing}px`};\n`\n","import React, { useRef } from \"react\"\nimport styled from \"@emotion/styled\"\nimport classNames from \"classnames\"\n\nfunction Accordion(props) {\n const { children, onChange, expanded, className, disabled, ...otherProps } =\n props\n const detailsBlock = useRef(null)\n const [summary, ...otherChildren] = React.Children.toArray(children)\n\n const handleTransitionEnd = () => {\n if (detailsBlock.current.style.height !== \"0px\") {\n detailsBlock.current.style.height = \"auto\"\n }\n }\n\n return (\n <StyledAccordion\n className={classNames(\"KUI-Accordion\", className)}\n {...otherProps}\n >\n <div>\n {React.cloneElement(summary, {\n detailsBlock,\n onChange,\n expanded,\n disabled,\n })}\n </div>\n <StyledCollapse\n className=\"KUI-Collapse\"\n onTransitionEnd={handleTransitionEnd}\n ref={detailsBlock}\n >\n {otherChildren}\n </StyledCollapse>\n </StyledAccordion>\n )\n}\n\nexport default Accordion\n\nconst StyledAccordion = styled.div`\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n`\n\nconst StyledCollapse = styled.div`\n height: 0;\n overflow: hidden;\n transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n`\n","import React, { useEffect, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\n\nfunction AccordionSummary({\n detailsBlock,\n expanded: defaultExpanded,\n onChange,\n className,\n children,\n expandIcon,\n contentStyles,\n expandedStyles,\n iconStyles,\n disabled,\n ...otherProps\n}) {\n const [expanded, setExpanded] = useState(!!defaultExpanded)\n\n const handleClick = () => {\n setExpanded((prev) => !prev)\n }\n\n useEffect(() => {\n setExpanded(defaultExpanded)\n }, [defaultExpanded])\n\n useEffect(() => {\n if (detailsBlock) {\n if (expanded) {\n detailsBlock.current.style.height = `${detailsBlock.current?.scrollHeight}px`\n } else {\n detailsBlock.current.style.height = `${detailsBlock.current?.scrollHeight}px`\n window\n .getComputedStyle(detailsBlock.current, null)\n .getPropertyValue(\"height\")\n detailsBlock.current.style.height = \"0\"\n }\n }\n if (onChange) {\n onChange(expanded)\n }\n }, [expanded])\n\n return (\n <StyledAccordionSummary\n onClick={handleClick}\n className={classNames(\n \"KUI-Accordion_Summary\",\n disabled && \"KUI-Accordion_Summary-disabled\",\n className\n )}\n {...otherProps}\n >\n <StyledSummaryContent\n className={classNames(\n \"KUI-Accordion_Summary-Content\",\n expanded && \"KUI-Accordion_expanded\",\n expanded && expandedStyles,\n contentStyles\n )}\n expanded={expanded}\n >\n {children}\n </StyledSummaryContent>\n <StyledSummaryIcon\n expanded={expanded}\n className={classNames(\n \"KUI-Accordion_Summary-Icon\",\n expanded && \"KUI-Accordion_expanded\",\n expanded && expandedStyles,\n iconStyles\n )}\n >\n {expandIcon}\n </StyledSummaryIcon>\n </StyledAccordionSummary>\n )\n}\n\nAccordionSummary.propTypes = {\n expandIcon: PropTypes.element,\n children: PropTypes.oneOfType([PropTypes.element, PropTypes.string]),\n}\n\nexport default AccordionSummary\n\nconst StyledAccordionSummary = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n`\n\nconst StyledSummaryContent = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"expanded\",\n})`\n margin: 12px 0;\n display: flex;\n width: 100%;\n transition: margin 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n .KUI-Accordion_Summary-disabled {\n pointer-events: none;\n }\n`\n\nconst StyledSummaryIcon = styled(\"div\", {\n shouldForwardProp: (prop) => prop !== \"expanded\",\n})`\n transform: ${({ expanded }) =>\n expanded ? \"rotate(180deg)\" : \"rotate(0deg)\"};\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n`\n","import React from \"react\"\r\n\r\nfunction AccordionDetails(props) {\r\n return <div {...props} />\r\n}\r\n\r\nexport default AccordionDetails\r\n","import React from \"react\"\r\nimport classNames from \"classnames\"\r\nimport { keyframes } from \"@emotion/react\"\r\nimport styled from \"@emotion/styled\"\r\n\r\nfunction Skeleton({ className, ...otherProps }) {\r\n return (\r\n <StyledSkeleton\r\n className={classNames(\"KUI-Skeleton\", className)}\r\n {...otherProps}\r\n />\r\n )\r\n}\r\n\r\nexport default Skeleton\r\n\r\nconst waveAnim = keyframes`\r\n 0% {\r\n transform: translateX(-100%);\r\n }\r\n 50% {\r\n transform: translateX(100%);\r\n }\r\n 100% {\r\n transform: translateX(100%);\r\n }\r\n`\r\n\r\nconst StyledSkeleton = styled.span`\r\n overflow: hidden;\r\n position: relative;\r\n display: block;\r\n background-color: rgba(0, 0, 0, 0.11);\r\n height: 1.2em;\r\n &::before {\r\n content: \"\";\r\n display: block;\r\n padding-top: 100%;\r\n }\r\n &::after {\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n content: \"\";\r\n position: absolute;\r\n animation: ${waveAnim} 1.6s linear 0.5s infinite;\r\n transform: translateX(-100%);\r\n background: linear-gradient(\r\n 90deg,\r\n transparent,\r\n rgba(0, 0, 0, 0.04),\r\n transparent\r\n );\r\n }\r\n`\r\n","import React from \"react\"\r\nimport classNames from \"classnames\"\r\nimport PropTypes from \"prop-types\"\r\nimport styled from \"@emotion/styled\"\r\nimport { css } from \"@emotion/react\"\r\n\r\nfunction AppBar({ className, isFixed, ...otherProps }) {\r\n return (\r\n <StyledAppBar\r\n isFixed={isFixed}\r\n className={classNames(\r\n \"KUI-AppBar\",\r\n isFixed && \"KUI-AppBar_fixed\",\r\n className\r\n )}\r\n {...otherProps}\r\n />\r\n )\r\n}\r\n\r\nAppBar.propTypes = {\r\n isFixed: PropTypes.bool,\r\n}\r\n\r\nAppBar.defaultProps = {\r\n isFixed: true,\r\n}\r\n\r\nexport default AppBar\r\n\r\nconst fixesBarCSS = ({ isFixed }) =>\r\n isFixed &&\r\n css`\r\n top: 0;\r\n left: auto;\r\n right: 0;\r\n position: fixed;\r\n `\r\n\r\nconst StyledAppBar = styled.header`\r\n width: 100%;\r\n display: flex;\r\n z-index: 1100;\r\n box-sizing: border-box;\r\n flex-shrink: 0;\r\n background: #fff;\r\n ${fixesBarCSS};\r\n`\r\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst { breakpoints } = theme\n\nfunction ToolBar({ className, ...otherProps }) {\n return (\n <StyledTollBar\n className={classNames(\"KUI-ToolBar\", className)}\n {...otherProps}\n />\n )\n}\n\nexport default ToolBar\n\nconst StyledTollBar = styled.div`\n display: flex;\n position: relative;\n align-items: center;\n padding: 0px;\n min-height: 64px;\n @media (max-width: ${breakpoints.xs}px) {\n min-height: 48px;\n }\n`\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport { keyframes } from \"@emotion/react\"\nimport styled from \"@emotion/styled\"\nimport { theme } from \"../../theme\"\n\nconst palette = theme.palette\n\nfunction CircularProgress({\n className,\n svgStyles,\n circleStyles,\n ...otherProps\n}) {\n return (\n <StyledProgress\n className={classNames(\"KUI-CircularProgress\", className)}\n {...otherProps}\n >\n <StyledSVG\n className={classNames(\"KUI-CircularProgress_svg\", svgStyles)}\n viewBox=\"22 22 44 44\"\n >\n <StyledCircle\n className={classNames(\"KUI-CircularProgress_circle\", circleStyles)}\n cx=\"44\"\n cy=\"44\"\n r=\"20.2\"\n fill=\"none\"\n strokeWidth=\"3.6\"\n />\n </StyledSVG>\n </StyledProgress>\n )\n}\n\nexport default CircularProgress\n\nconst rotateAnimate = keyframes`\n 0% {\n transform-origin: 50% 50%;\n }\n 100% {\n transform: rotate(360deg);\n }\n`\n\nconst circleAnimate = keyframes`\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0px;\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n`\n\nconst StyledProgress = styled.div`\n color: ${palette.brand.main};\n width: 40px;\n height: 40px;\n display: inline-block;\n animation: ${rotateAnimate} 1.4s linear infinite;\n`\n\nconst StyledSVG = styled.svg`\n display: block;\n`\n\nconst StyledCircle = styled.circle`\n stroke: currentColor;\n animation: ${circleAnimate} 1.4s ease-in-out infinite;\n stroke-dasharray: 80px, 200px;\n stroke-dashoffset: 0px;\n`\n","import React from \"react\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\n\nfunction LinearProgress({\n className,\n progressBarStyles,\n value,\n ...otherProps\n}) {\n let newValue = value\n\n if (value > 100) {\n newValue = 100\n }\n\n return (\n <StyledLinearProgress\n className={classNames(\"KUI-LinearProgress\", className)}\n aria-valuenow={newValue}\n {...otherProps}\n >\n <StyledLinearProgressBar\n className={classNames(\"KUI-LinearProgress_bar\", progressBarStyles)}\n style={{ transform: `translateX(${newValue - 100}%)` }}\n />\n </StyledLinearProgress>\n )\n}\n\nLinearProgress.defaultProps = {\n value: 0,\n}\n\nexport default LinearProgress\n\nconst StyledLinearProgress = styled.div`\n overflow: hidden;\n position: relative;\n backdrop-filter: blur(4px);\n background-color: rgba(255, 255, 255, 0.55);\n border-radius: 66px;\n height: 6px;\n`\n\nconst StyledLinearProgressBar = styled.div`\n top: 0;\n left: 0;\n width: 100%;\n bottom: 0;\n position: absolute;\n transition: transform 0.4s linear;\n transform-origin: left;\n opacity: 0.9;\n border-radius: 66px;\n background-color: white;\n`\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport classNames from \"classnames\"\nimport PropTypes from \"prop-types\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport { theme } from \"../../theme\"\n\nconst { palette } = theme\n\nconst nextItem = (list, item) => {\n if (list === item) {\n return list.firstChild\n }\n if (item && item.nextElementSibling) {\n return item.nextElementSibling\n }\n return list.firstChild\n}\n\nconst previousItem = (list, item) => {\n if (list === item) {\n return list.lastChild\n }\n if (item && item.previousElementSibling) {\n return item.previousElementSibling\n }\n return list.lastChild\n}\n\nconst moveFocus = (list, currentFocus, traversalFunction) => {\n const nextFocus = traversalFunction(list, currentFocus)\n\n nextFocus.focus()\n}\n\nconst Tabs = forwardRef((props, ref) => {\n const {\n value,\n onChange,\n className,\n indicatorPos,\n indicatorHidden,\n children: childrenProp,\n ...otherProps\n } = props\n const tabListRef = useRef(null)\n const [indicatorStyles, setIndicatorStyles] = useState({})\n\n const handleKeyDown = (e) => {\n const list = tabListRef.current\n const currFocus = list.ownerDocument.activeElement\n switch (e.key) {\n case \"ArrowLeft\":\n e.preventDefault()\n moveFocus(list, currFocus, previousItem)\n break\n case \"ArrowRight\":\n e.preventDefault()\n moveFocus(list, currFocus, nextItem)\n break\n case \"Home\":\n e.preventDefault()\n moveFocus(list, currFocus, nextItem)\n break\n case \"End\":\n e.preventDefault()\n moveFocus(list, currFocus, previousItem)\n break\n default:\n break\n }\n }\n\n const children = React.Children.map(childrenProp, (child, childIndex) => {\n if (!React.isValidElement(child)) {\n return null\n }\n\n const childValue =\n child.props.value === undefined ? childIndex : child.props.value\n const selected = childValue === value\n\n return React.cloneElement(child, {\n selected,\n onChange,\n value: childValue,\n })\n })\n\n useEffect(() => {\n const selectedTab = tabListRef.current?.children[value]\n setIndicatorStyles({\n width: selectedTab?.clientWidth,\n // transform: `translateX(${selectedTab?.offsetLeft})`,\n left: selectedTab?.offsetLeft,\n })\n }, [value])\n\n return (\n <StyledTabs ref={ref} className=\"KUI-Tabs\" {...otherProps}>\n <StyledTabList\n tabIndex={0}\n role=\"tablist\"\n className={classNames(\"KUI-TabList\", className)}\n ref={tabListRef}\n onKeyDown={handleKeyDown}\n >\n {children}\n </StyledTabList>\n <StyledTabsIndicator\n hidden={indicatorHidden}\n position={indicatorPos}\n className={classNames(\n \"KUI-Tabs_indicator\",\n indicatorHidden && \"KUI-Tabs_hidden\"\n )}\n style={indicatorStyles}\n />\n </StyledTabs>\n )\n})\n\nTabs.propTypes = {\n indicatorPos: PropTypes.oneOf([\"bottom\", \"top\"]),\n}\n\nTabs.defaultProps = {\n indicatorPos: \"bottom\",\n}\n\nexport default Tabs\n\nconst indicatorPositionsCSS = {\n top: css`\n top: 0;\n border-radius: 0 0 8px 8px;\n `,\n bottom: css`\n bottom: 0;\n border-radius: 8px 8px 0px 0px;\n `,\n}\n\nconst StyledTabs = styled.div`\n position: relative;\n`\n\nconst StyledTabList = styled.div`\n overflow: hidden;\n display: flex;\n`\n\nconst StyledTabsIndicator = styled.span`\n position: absolute;\n background-color: ${palette.brand.main};\n transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,\n left 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n height: 2px;\n will-change: left;\n opacity: ${({ hidden }) => (hidden ? 0 : 1)};\n ${({ position }) => indicatorPositionsCSS[position]};\n`\n","import React, { forwardRef } from \"react\"\nimport PropTypes from \"prop-types\"\nimport classNames from \"classnames\"\nimport styled from \"@emotion/styled\"\nimport Caption from \"../Caption\"\n\nconst Tab = forwardRef((props, ref) => {\n const { selected, value, className, onChange, onClick, ...other } = props\n\n const handleClick = (e) => {\n if (!selected && onChange) {\n onChange(e, value)\n }\n\n if (onClick) {\n onClick(e)\n }\n }\n\n return (\n <StyledTab\n className={classNames(\n \"KUI-Tab\",\n selected && \"KUI-Tab_selected\",\n className\n )}\n type=\"button\"\n role=\"tab\"\n aria-selected={selected}\n tabIndex={selected ? 0 : -1}\n aria-controls={`tabpanel-${value}`}\n id={`tab-${value}`}\n ref={ref}\n onClick={handleClick}\n {...other}\n >\n <Caption weight={600} size=\"sm\" color=\"white\">\n {other.label}\n </Caption>\n </StyledTab>\n )\n})\n\nTab.propTypes = {\n label: PropTypes.string,\n}\n\nexport default Tab\n\nconst StyledTab = styled.button`\n height: 64px;\n border: none;\n background: transparent;\n cursor: pointer;\n margin-right: 24px;\n padding: 0;\n &:last-child {\n margin-right: 0;\n }\n`\n","import React, { forwardRef, useEffect } from \"react\"\nimport PropTypes from \"prop-types\"\nimport Tabs from \"../Tabs\"\nimport Tab from \"../Tab\"\n\nconst TabsPanel = forwardRef((props, ref) => {\n const {\n tabs,\n tabPanels,\n paths,\n activeTab,\n onChange,\n indicatorPos,\n ...other\n } = props\n const [value, setValue] = React.useState(Number(activeTab))\n\n const handleChange = (event, newValue) => {\n setValue(newValue)\n if (paths && paths.length > 0) {\n window.history.pushState({ route: paths[newValue] }, \"\", paths[newValue])\n }\n if (onChange) {\n onChange(event, newValue)\n }\n }\n\n useEffect(() => {\n setValue(Number(activeTab))\n }, [activeTab])\n\n return (\n <div ref={ref} {...other}>\n <div className=\"KUI-TabsWrapper\">\n <Tabs value={value} onChange={handleChange} indicatorPos={indicatorPos}>\n {tabs.map((item) => (\n <Tab label={item} key={item} />\n ))}\n </Tabs>\n </div>\n {tabPanels.map((item, index) => (\n <div\n key={index}\n role=\"tabpanel\"\n hidden={value !== index}\n id={`tabpanel-${index}`}\n aria-labelledby={`tab-${index}`}\n >\n {value === index && item}\n </div>\n ))}\n </div>\n )\n})\n\nTabsPanel.propTypes = {\n indicatorPos: PropTypes.oneOf([\"bottom\", \"top\"]),\n}\n\nexport default TabsPanel\n","import React, { useEffect, useRef } from \"react\"\r\nimport { Link, scroller, Events } from \"react-scroll\"\r\nimport styled from \"@emotion/styled\"\r\nimport Caption from \"../Caption\"\r\n\r\nconst ScrollTab = ({\r\n selected,\r\n value,\r\n label,\r\n name,\r\n onChange,\r\n offset,\r\n isScrolling,\r\n setIsScrolling,\r\n setIsIndicatorHidden,\r\n isActive,\r\n setIsActive,\r\n}) => {\r\n const activeRef = useRef(true)\r\n const scrollingRef = useRef(isScrolling)\r\n\r\n const handleSelect = (e) => {\r\n setTimeout(() => {\r\n setIsIndicatorHidden(false)\r\n setIsActive(true)\r\n })\r\n if (!isScrolling && onChange) {\r\n onChange(e, value)\r\n }\r\n }\r\n\r\n const handleInactive = () => {\r\n setIsActive(false)\r\n setTimeout(() => {\r\n if (!activeRef.current && !scrollingRef.current) {\r\n setIsIndicatorHidden(true)\r\n }\r\n }, 10)\r\n }\r\n\r\n useEffect(() => {\r\n activeRef.current = isActive\r\n }, [isActive])\r\n\r\n useEffect(() => {\r\n scrollingRef.current = isScrolling\r\n }, [isScrolling])\r\n\r\n const handleKeyDown = (e) => {\r\n switch (e.key) {\r\n case \"Enter\":\r\n handleSelect(e)\r\n scroller.scrollTo(name, { offset })\r\n break\r\n case \"Space\":\r\n handleSelect(e)\r\n scroller.scrollTo(name, { offset })\r\n break\r\n default:\r\n break\r\n }\r\n }\r\n\r\n const startScrolling = () => {\r\n setIsScrolling(true)\r\n }\r\n\r\n const endScrolling = () => {\r\n setIsScrolling(false)\r\n }\r\n\r\n useEffect(() => {\r\n if (selected) {\r\n scroller.scrollTo(name, { offset })\r\n }\r\n\r\n Events.scrollEvent.register(\"begin\", (to, element) => {\r\n startScrolling()\r\n })\r\n\r\n Events.scrollEvent.register(\"end\", (to, element) => {\r\n setTimeout(endScrolling)\r\n })\r\n\r\n return () => {\r\n Events.scrollEvent.remove(\"begin\")\r\n Events.scrollEvent.remove(\"end\")\r\n }\r\n }, [])\r\n\r\n const handleClick = (e) => {\r\n if (!selected && onChange) {\r\n onChange(e, value)\r\n }\r\n }\r\n\r\n return (\r\n <StyledScrollTab\r\n to={name}\r\n spy\r\n smooth\r\n duration={600}\r\n offset={offset}\r\n onSetActive={handleSelect}\r\n onSetInactive={handleInactive}\r\n className=\"KUI-ScrollTab\"\r\n role=\"tab\"\r\n aria-selected={selected}\r\n tabIndex={selected ? 0 : -1}\r\n aria-controls={`tabpanel-${value}`}\r\n id={`tab-${value}`}\r\n onKeyDown={handleKeyDown}\r\n onClick={handleClick}\r\n >\r\n <Caption weight={600} size=\"sm\" color=\"white\">\r\n {label}\r\n </Caption>\r\n </StyledScrollTab>\r\n )\r\n}\r\n\r\nexport default ScrollTab\r\n\r\nconst StyledScrollTab = styled(Link)`\r\n margin-right: 24px;\r\n height: 64px;\r\n border: none;\r\n background: transparent;\r\n cursor: pointer;\r\n padding: 0;\r\n display: flex;\r\n align-items: center;\r\n &:last-child {\r\n margin-right: 0;\r\n }\r\n`\r\n","import React, { forwardRef, useEffect, useState } from \"react\"\r\nimport PropTypes from \"prop-types\"\r\nimport Tabs from \"../Tabs\"\r\nimport ScrollTab from \"../ScrollTab\"\r\n\r\nconst MenuPanel = forwardRef((props, ref) => {\r\n const { tabs, tabsId, activeTab, onChange, indicatorPos, offset, ...other } =\r\n props\r\n const [value, setValue] = React.useState(Number(activeTab))\r\n const [isIndicatorHidden, setIsIndicatorHidden] = useState(false)\r\n const [isScrolling, setIsScrolling] = useState(false)\r\n const [isActive, setIsActive] = useState(true)\r\n\r\n const handleChange = (event, newValue) => {\r\n setValue(newValue)\r\n if (onChange) {\r\n onChange(event, newValue)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n setValue(Number(activeTab))\r\n }, [activeTab])\r\n\r\n return (\r\n <Tabs\r\n ref={ref}\r\n value={value}\r\n onChange={handleChange}\r\n indicatorPos={indicatorPos}\r\n indicatorHidden={isIndicatorHidden}\r\n {...other}\r\n >\r\n {tabs.map((item, index) => (\r\n <ScrollTab\r\n isScrolling={isScrolling}\r\n setIsScrolling={setIsScrolling}\r\n offset={offset}\r\n label={item}\r\n name={(tabsId && tabsId[index]) || item}\r\n key={item}\r\n setIsIndicatorHidden={setIsIndicatorHidden}\r\n isActive={isActive}\r\n setIsActive={setIsActive}\r\n />\r\n ))}\r\n </Tabs>\r\n )\r\n})\r\n\r\nMenuPanel.propTypes = {\r\n indicatorPos: PropTypes.oneOf([\"bottom\", \"top\"]),\r\n}\r\n\r\nexport default MenuPanel\r\n","import React, { forwardRef } from \"react\"\r\nimport classNames from \"classnames\"\r\nimport styled from \"@emotion/styled\"\r\n\r\nconst IconButton = forwardRef(({ className, ...props }, ref) => (\r\n <StyledButton\r\n className={classNames(\"KUI-IconButton\", className)}\r\n ref={ref}\r\n {...props}\r\n />\r\n))\r\n\r\nexport default IconButton\r\n\r\nconst StyledButton = styled.button`\r\n border: none;\r\n background: transparent;\r\n cursor: pointer;\r\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\r\n padding: 0;\r\n margin: 0;\r\n`\r\n","import React, { forwardRef } from \"react\"\nimport styled from \"@emotion/styled\"\nimport classNames from \"classnames\"\n\nconst PopperBase = forwardRef((props, ref) => {\n const { placement, open, children, spacing, className, style, ...other } =\n props\n\n return (\n <StyledPopperWrapper\n ref={ref}\n className={classNames(\"KUI-Popper\", open && \"KUI-Popper_open\", className)}\n spacing={spacing}\n style={style}\n >\n <StyledPopper open={!!open} {...other}>\n {children}\n </StyledPopper>\n </StyledPopperWrapper>\n )\n})\n\nexport default PopperBase\n\nconst StyledPopperWrapper = styled.div`\n position: absolute;\n max-width: 215px;\n width: max-content;\n padding: ${({ spacing }) => spacing || 0};\n z-index: -1;\n display: none;\n &.KUI-Popper_open {\n z-index: 10;\n display: block;\n }\n @media (max-width: 600px) {\n position: fixed;\n bottom: 24px;\n top: auto !important;\n left: 16px !important;\n width: calc(100vw - 32px);\n max-width: unset;\n }\n`\n\nconst StyledPopper = styled.div`\n padding: 16px;\n border-radius: 12px;\n background: white;\n box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);\n transition: opacity 0.3s ease-out;\n`\n","const placementsPositions = {\n bottomStart: {\n bottom: 1,\n offset: 0,\n },\n bottomMiddle: {\n bottom: 1,\n offset: 0.5,\n },\n bottomEnd: {\n bottom: 1,\n offset: 1,\n },\n topStart: {\n top: 1,\n offset: 0,\n },\n topMiddle: {\n top: 1,\n offset: 0.5,\n },\n topEnd: {\n top: 1,\n offset: 1,\n },\n}\n\nexport default placementsPositions\n","import React, { forwardRef, useEffect, useRef, useState } from \"react\"\nimport PopperBase from \"../PopperBase\"\nimport placementsPositions from \"../PopperWithPortal/placements\"\n\nconst StaticPopper = forwardRef((props, ref) => {\n const { placement, contentRef, ...other } = props\n const popperRef = useRef(null)\n const [contentSize, setContentSize] = useState(null)\n const [popperSize, setPopperSize] = useState(null)\n let position = {}\n\n useEffect(() => {\n if (contentRef.current && popperRef.current) {\n setContentSize({\n width: contentRef.current.clientWidth,\n height: contentRef.current.clientHeight,\n })\n\n setPopperSize({\n width: popperRef.current.clientWidth,\n height: popperRef.current.clientHeight,\n })\n }\n }, [])\n\n if (contentSize && popperSize) {\n const placementPositions =\n // @ts-ignore\n placementsPositions[placement ?? \"bottomMiddle\"]\n position = {\n top: placementPositions.top\n ? 0 - popperSize.height\n : 0 + contentSize.height,\n left: Math.max(\n contentSize.width * placementPositions.offset -\n popperSize.width * placementPositions.offset,\n 0\n ),\n }\n }\n\n const forwardedRef = (elem) => {\n if (ref) {\n // @ts-ignore\n ref.current = elem\n }\n // @ts-ignore\n popperRef.current = elem\n }\n\n return <PopperBase ref={forwardedRef} style={position} {...other} />\n})\n\nexport default StaticPopper\n","import * as React from \"react\"\nimport { forwardRef } from \"react\"\nimport StaticPopper from \"../StaticPopper\"\n\nconst Popper = forwardRef((props, ref) => {\n const { contentRef, ...other } = props\n\n return <StaticPopper ref={ref} contentRef={contentRef} {...other} />\n})\n\nexport default Popper\n","import * as React from \"react\"\nimport { forwardRef, useEffect, useRef, useState } from \"react\"\nimport styled from \"@emotion/styled\"\nimport { css } from \"@emotion/react\"\nimport Popper from \"../Popper\"\n\nconst Tooltip = forwardRef((props, ref) => {\n const { content, onOpen, onClose, open, children, cursor, ...popper } = props\n const [isOpen, setOpen] = useState(open)\n const elemRef = useRef(null)\n\n const handleOpen = () => {\n setOpen(true)\n if (onOpen) {\n onOpen()\n }\n }\n\n const handleClose = () => {\n setOpen(false)\n if (onClose) {\n onClose()\n }\n }\n\n useEffect(() => {\n setOpen(open)\n }, [open])\n\n return (\n <StyledWrapper onMouseLeave={handleClose} ref={ref}>\n <StyledContentWrapper\n onMouseEnter={handleOpen}\n onTouchEnd={handleOpen}\n ref={elemRef}\n cursor={cursor}\n >\n <StyledContent>{children}</StyledContent>\n </StyledContentWrapper>\n <Popper open={isOpen} {...popper} contentRef={elemRef}>\n {content}\n </Popper>\n </StyledWrapper>\n )\n})\n\nexport default Tooltip\n\nconst containerCSS = css`\n display: inline-flex;\n width: fit-content;\n height: fit-content;\n`\n\nconst StyledWrapper = styled.div`\n ${containerCSS};\n position: relative;\n`\n\nconst StyledContentWrapper = styled.div`\n ${containerCSS};\n cursor: ${({ cursor }) => cursor};\n z-index: 1;\n`\n\nconst StyledContent = styled.div`\n ${containerCSS};\n z-index: -1;\n`\n","import React from \"react\"\nimport styled from \"@emotion/styled\"\nimport Container from \"../Container\"\nimport Caption from \"../Caption\"\nimport { theme } from \"../../theme\"\n\nconst ErrorComponent = ({ message, icon, ...otherProps }) => (\n <Container {...otherProps}>\n <StyledTitle>{message}</StyledTitle>\n <StyledIconWrapper>{icon}</StyledIconWrapper>\n </Container>\n)\n\nexport default ErrorComponent\n\nconst StyledTitle = styled(Caption)`\n font-size: 24px;\n line-height: 32px;\n margin: 104px auto 16px;\n text-align: center;\n max-width: 530px;\n @media (max-width: ${theme.breakpoints.sm}px) {\n font-size: 16px;\n line-height: 24px;\n }\n`\n\nconst StyledIconWrapper = styled.div`\n svg {\n width: 100%;\n height: auto;\n min-height: 200px;\n max-height: calc(100vh - 200px);\n }\n`\n"],"names":["colors","primary","main","pressed","hover","light","light2","secondary","gray60","gray50","gray40","gray30","gray15","white","disabled","background","light3","success","green70","green60","green10","green5","error","red70","red60","red10","red5","info","blue70","blue60","blue10","blue5","purple","purple70","purple60","purple10","purple5","shadows","shadow1","shadow2","shadow3","shadow4","breakpoints","xxs","xs","sm","md","lg","xl","settings","spacing","columns","themeOld","palette","theme","brand","_objectSpread","grey","seventy","sixty","fiftyP","fourty","thirty","fifteenB","zero","light1","light4","green","ten","five","red","blue","headingSizes","hero","h1","h2","h3","h4","headingVariants","size","height","mobSize","mobHeight","Heading","props","children","className","otherProps","_excluded","_jsx","StyledHeading","as","classNames","defaultProps","color","colorGroup","disableUserSelect","weight","propTypes","PropTypes","oneOf","bool","number","headingSettingsCSS","css","align","process","env","NODE_ENV","_styled","target","label","captionSizes","high","s","m","l","Caption","StyledCaption","variant","displayName","captionSettingsCSS","_ref","disSelect","textVariants","Text","StyledText","textSettingsCSS","buttonSizes","buttonBorders","lightGray","lightOrange","buttonVariants","active","orange","hoverColor","border","whiteWithOrangeHover","whiteWithGray","whiteWithBrand","grayLightWithBorder","grayLight","grayDark","backgroundLight","backgroundWithBorder","blur","backdrop","blurDark","transparent","withoutShadow","orangeWithHoverLight","orangeWithBorder","transparentLight","transparentWithBorder","transparentWithDarkBorder","transparentWithBoldBorder","Button","forwardRef","ref","fullWidth","isCircle","captionSize","disabledStyle","startIcon","endIcon","captionWeight","withoutChildrenWrapper","buttonProps","StyledButton","StyledCircleButtonContainer","_jsxs","StyledContentContainer","withIcon","StyledStartIcon","StyledEndIcon","element","circleButtonCSS","_ref2","buttonSettingsCSS","buttonVariantCSS","concat","name","styles","map","toString","_EMOTION_STRINGIFIED_CSS_ERROR__","iconContainerCSS","_ref3","ErrorIcon","width","viewBox","fill","xmlns","fillRule","clipRule","d","WarningIcon","SuccessIcon","messageVariants","icon","warning","InputMessage","_messageRef$current2","msg","messageRef","useRef","_useState2","_slicedToArray","useState","messageRefHeight","setMessageRefHeight","useEffect","_messageRef$current","current","clientHeight","StyledMessage","style","bottom","StyledIconWrapper","StyledTitle","string","messageVariantCSS","TextareaGrabIcon","Input","isTextArea","inputRefProp","inputRef","inputStyles","labelStyles","messageClassName","labelInlineStyles","message","messageVariant","inputValue","value","type","rows","placeholder","inputProps","isFilled","setIsFilled","isInvalid","_inputRef$current","commonProps","elem","onInput","e","withMessage","withLabel","StyledContainer","StyledTextarea","StyledInput","StyledInputLabel","StyledTextareaIcon","labelActiveCSS","inputStates","inputCSS","inputStateCSS","InputWithAdornments","_startIconRef$current2","_endIconRef$current2","cornerLabel","startIconRef","endIconRef","startIconWidth","setStartIconWidth","_useState4","endIconWidth","setEndIconWidth","inputStyle","paddingLeft","paddingRight","labelStyle","left","_startIconRef$current","clientWidth","_endIconRef$current","isCornerLabel","errorMessage","cornerLabelCSS","StyledIcon","InputWithMask","mask","valueProp","onChange","onBlur","other","setValue","InputMask","maskPlaceholder","alwaysShowMask","_e$target$value","match","CountryItem","item","selectCountryIndex","countryIcon","useMemo","nameCode","toUpperCase","replace","char","String","fromCodePoint","charCodeAt","StyledCountry","onClick","StyledCountryName","nameRus","StyledCountryPhone","phoneCode","SearchIcon","Dropdown","isOpen","setIsOpenDropDown","buttonRef","countries","filteredCountries","setFilteredCountries","dropdownRef","closePopUp","contains","document","addEventListener","removeEventListener","StyledSearchWrapper","StyledSearch","StyledSearchInput","query","length","filter","toLowerCase","indexOf","StyledDropdown","key","HalfArrowIcon","InputWithCountryDropdown","onSelectCountry","hiddenInputProps","_objectWithoutProperties","selectedCountryCode","selectedCountryIndex","findIndex","country","selectedCountry","setSelectedCountry","isOpenDropdown","StyledDropdownWrapper","StyledPhoneCodeButton","StyledPhoneCodeIcon","isReverse","reduce","acc","index","display","readOnly","Checkbox","checkboxProps","StyledLabel","htmlFor","StyledCheckbox","id","StyledCustomCheckbox","StyledCheckboxLabel","any","errorCSS","CloseIcon","Modal","handleClose","isScrollable","title","description","isHasHeader","modalRef","body","classList","add","remove","createPortal","Global","StyledModal","StyledHeaderWrapper","StyledModalTitle","StyledDescriptionWrapper","StyledDescription","StyledHeadingIconsWrapper","func","switchVariants","before","Switch","switchProps","StyledSwitch","StyledCustomSwitch","StyledSwitchLabel","switchVariantCSS","switchErrorCSS","Radio","radioProps","StyledRadio","StyledCustomRadio","StyledRadioLabel","FileIcon","InputFile","inputId","StyledWrapper","files","titleActiveCSS","Divider","StyledDivider","Container","Grid","container","StyledGrid","justify","alignItems","alignContent","direction","containerCSS","wrap","containerSpacingCSS","itemSizeCSS","_excluded2","_excluded3","Box","StyledBox","pt","pb","pr","pl","mt","mb","mr","ml","_ref4","_ref5","_ref6","_ref7","_ref8","Accordion","expanded","detailsBlock","_React$Children$toArr2","_toArray","React","Children","toArray","summary","otherChildren","slice","StyledAccordion","cloneElement","StyledCollapse","onTransitionEnd","AccordionSummary","defaultExpanded","expandIcon","contentStyles","expandedStyles","iconStyles","setExpanded","_detailsBlock$current","_detailsBlock$current2","scrollHeight","window","getComputedStyle","getPropertyValue","StyledAccordionSummary","prev","StyledSummaryContent","StyledSummaryIcon","oneOfType","shouldForwardProp","prop","AccordionDetails","Skeleton","StyledSkeleton","waveAnim","keyframes","_templateObject","_taggedTemplateLiteral","AppBar","isFixed","StyledAppBar","fixesBarCSS","ToolBar","StyledTollBar","CircularProgress","svgStyles","circleStyles","StyledProgress","StyledSVG","StyledCircle","cx","cy","r","strokeWidth","rotateAnimate","circleAnimate","_templateObject2","LinearProgress","progressBarStyles","newValue","StyledLinearProgress","StyledLinearProgressBar","transform","nextItem","list","firstChild","nextElementSibling","previousItem","lastChild","previousElementSibling","moveFocus","currentFocus","traversalFunction","focus","Tabs","indicatorPos","indicatorHidden","childrenProp","tabListRef","indicatorStyles","setIndicatorStyles","child","childIndex","isValidElement","childValue","undefined","selected","_tabListRef$current","selectedTab","offsetLeft","StyledTabs","StyledTabList","tabIndex","role","onKeyDown","currFocus","ownerDocument","activeElement","preventDefault","StyledTabsIndicator","hidden","position","indicatorPositionsCSS","top","Tab","StyledTab","TabsPanel","tabs","tabPanels","paths","activeTab","_React$useState2","Number","event","history","pushState","route","ScrollTab","offset","isScrolling","setIsScrolling","setIsIndicatorHidden","isActive","setIsActive","activeRef","scrollingRef","handleSelect","setTimeout","endScrolling","scroller","scrollTo","Events","scrollEvent","register","to","StyledScrollTab","spy","smooth","duration","onSetActive","onSetInactive","Link","MenuPanel","tabsId","isIndicatorHidden","_useState6","IconButton","PopperBase","placement","open","StyledPopperWrapper","StyledPopper","placementsPositions","bottomStart","bottomMiddle","bottomEnd","topStart","topMiddle","topEnd","StaticPopper","contentRef","popperRef","contentSize","setContentSize","popperSize","setPopperSize","placementPositions","Math","max","Popper","Tooltip","content","onOpen","onClose","cursor","popper","setOpen","elemRef","handleOpen","onMouseLeave","StyledContentWrapper","onMouseEnter","onTouchEnd","StyledContent","ErrorComponent"],"mappings":"yrFAAA,IAAMA,EAAS,CACbC,QAAS,CACPC,KAAM,UACNC,QAAS,UACTC,MAAO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