@app-studio/web 0.1.16 → 0.2.0

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 (165) hide show
  1. package/dist/StyleGuideWrapper.d.ts +1 -1
  2. package/dist/components/Button/Button/Button.props.d.ts +1 -1
  3. package/dist/components/Button/examples/AutoFocusButton.d.ts +2 -2
  4. package/dist/components/Button/examples/BorderedButtons.d.ts +2 -2
  5. package/dist/components/Button/examples/ColoredButtons.d.ts +2 -2
  6. package/dist/components/Button/examples/DefaultButton.d.ts +2 -2
  7. package/dist/components/Button/examples/DisabledButton.d.ts +2 -2
  8. package/dist/components/Button/examples/IconButtons.d.ts +2 -2
  9. package/dist/components/Button/examples/LoaderButtons.d.ts +2 -0
  10. package/dist/components/Button/examples/ShadowButton.d.ts +2 -2
  11. package/dist/components/Button/examples/SizeButtons.d.ts +2 -2
  12. package/dist/components/Button/examples/VariantButtons.d.ts +2 -2
  13. package/dist/components/Button/examples/index.d.ts +1 -1
  14. package/dist/components/Form/Checkbox/examples/ColorScheme.d.ts +2 -2
  15. package/dist/components/Form/Checkbox/examples/Default.d.ts +2 -2
  16. package/dist/components/Form/Checkbox/examples/DisabledInput.d.ts +2 -2
  17. package/dist/components/Form/Checkbox/examples/ErrorCheckbox.d.ts +2 -2
  18. package/dist/components/Form/Checkbox/examples/FormCheckout.d.ts +2 -2
  19. package/dist/components/Form/Checkbox/examples/IconCheckbox.d.ts +2 -2
  20. package/dist/components/Form/Checkbox/examples/IndeterminateCheckbox.d.ts +2 -2
  21. package/dist/components/Form/Checkbox/examples/ReadOnlyInput.d.ts +2 -2
  22. package/dist/components/Form/Checkbox/examples/Shadow.d.ts +2 -2
  23. package/dist/components/Form/Checkbox/examples/SizeInput.d.ts +2 -2
  24. package/dist/components/Form/Checkbox/examples/StylesInput.d.ts +2 -2
  25. package/dist/components/Form/CountryPicker/examples/Color.d.ts +2 -2
  26. package/dist/components/Form/CountryPicker/examples/Default.d.ts +2 -2
  27. package/dist/components/Form/CountryPicker/examples/Disabled.d.ts +2 -2
  28. package/dist/components/Form/CountryPicker/examples/Error.d.ts +2 -2
  29. package/dist/components/Form/CountryPicker/examples/Form.d.ts +2 -2
  30. package/dist/components/Form/CountryPicker/examples/Formik.d.ts +2 -2
  31. package/dist/components/Form/CountryPicker/examples/HelperText.d.ts +2 -2
  32. package/dist/components/Form/CountryPicker/examples/ReadOnlyInput.d.ts +2 -2
  33. package/dist/components/Form/CountryPicker/examples/Shadow.d.ts +2 -2
  34. package/dist/components/Form/CountryPicker/examples/Shape.d.ts +2 -2
  35. package/dist/components/Form/CountryPicker/examples/SizeInput.d.ts +2 -2
  36. package/dist/components/Form/CountryPicker/examples/StylesInput.d.ts +2 -2
  37. package/dist/components/Form/CountryPicker/examples/Variant.d.ts +2 -2
  38. package/dist/components/Form/DatePicker/examples/ColorScheme.d.ts +2 -2
  39. package/dist/components/Form/DatePicker/examples/Default.d.ts +2 -2
  40. package/dist/components/Form/DatePicker/examples/DisabledInput.d.ts +2 -2
  41. package/dist/components/Form/DatePicker/examples/ErrorCheckbox.d.ts +2 -2
  42. package/dist/components/Form/DatePicker/examples/FormCheckout.d.ts +2 -2
  43. package/dist/components/Form/DatePicker/examples/Formik.d.ts +2 -2
  44. package/dist/components/Form/DatePicker/examples/ReadOnlyInput.d.ts +2 -2
  45. package/dist/components/Form/DatePicker/examples/Shadow.d.ts +2 -2
  46. package/dist/components/Form/DatePicker/examples/SizeInput.d.ts +2 -2
  47. package/dist/components/Form/DatePicker/examples/StylesInput.d.ts +2 -2
  48. package/dist/components/Form/DatePicker/examples/helperTextDatePicker.d.ts +2 -2
  49. package/dist/components/Form/Password/example/Default.d.ts +2 -2
  50. package/dist/components/Form/Password/example/DisabledInput.d.ts +2 -2
  51. package/dist/components/Form/Password/example/ErrorInput.d.ts +2 -2
  52. package/dist/components/Form/Password/example/FormikErrorInput.d.ts +2 -2
  53. package/dist/components/Form/Password/example/FormikHelperText.d.ts +2 -2
  54. package/dist/components/Form/Password/example/HelperText.d.ts +2 -2
  55. package/dist/components/Form/Select/examples/Color.d.ts +2 -2
  56. package/dist/components/Form/Select/examples/Default.d.ts +2 -2
  57. package/dist/components/Form/Select/examples/Disabled.d.ts +2 -2
  58. package/dist/components/Form/Select/examples/Error.d.ts +2 -2
  59. package/dist/components/Form/Select/examples/Form.d.ts +2 -2
  60. package/dist/components/Form/Select/examples/Formik.d.ts +2 -2
  61. package/dist/components/Form/Select/examples/HelperText.d.ts +2 -2
  62. package/dist/components/Form/Select/examples/Multiple.d.ts +2 -2
  63. package/dist/components/Form/Select/examples/ReadOnlyInput.d.ts +2 -2
  64. package/dist/components/Form/Select/examples/Shadow.d.ts +2 -2
  65. package/dist/components/Form/Select/examples/SizeInput.d.ts +2 -2
  66. package/dist/components/Form/Select/examples/StylesInput.d.ts +2 -2
  67. package/dist/components/Form/Switch/examples/ChildSwitch.d.ts +2 -2
  68. package/dist/components/Form/Switch/examples/ColorScheme.d.ts +2 -2
  69. package/dist/components/Form/Switch/examples/Default.d.ts +2 -2
  70. package/dist/components/Form/Switch/examples/DisabledInput.d.ts +2 -2
  71. package/dist/components/Form/Switch/examples/FormSwitch.d.ts +2 -2
  72. package/dist/components/Form/Switch/examples/Formik.d.ts +2 -2
  73. package/dist/components/Form/Switch/examples/ReadOnlyInput.d.ts +2 -2
  74. package/dist/components/Form/Switch/examples/Shadow.d.ts +2 -2
  75. package/dist/components/Form/Switch/examples/SizeInput.d.ts +2 -2
  76. package/dist/components/Form/Switch/examples/StylesInput.d.ts +2 -2
  77. package/dist/components/Form/TextArea/examples/ColorScheme.d.ts +2 -2
  78. package/dist/components/Form/TextArea/examples/Default.d.ts +2 -2
  79. package/dist/components/Form/TextArea/examples/DisabledInput.d.ts +2 -2
  80. package/dist/components/Form/TextArea/examples/ErrorInput.d.ts +2 -2
  81. package/dist/components/Form/TextArea/examples/FormikErrorInput.d.ts +2 -2
  82. package/dist/components/Form/TextArea/examples/FormikHelperText.d.ts +2 -2
  83. package/dist/components/Form/TextArea/examples/HelperText.d.ts +2 -2
  84. package/dist/components/Form/TextArea/examples/LabelInput.d.ts +2 -2
  85. package/dist/components/Form/TextArea/examples/MaxRowCol.d.ts +2 -2
  86. package/dist/components/Form/TextArea/examples/Placeholder.d.ts +2 -2
  87. package/dist/components/Form/TextArea/examples/ReadOnlyInput.d.ts +2 -2
  88. package/dist/components/Form/TextArea/examples/ShadowArea.d.ts +2 -2
  89. package/dist/components/Form/TextArea/examples/ShapeInput.d.ts +2 -2
  90. package/dist/components/Form/TextArea/examples/SizeInput.d.ts +2 -2
  91. package/dist/components/Form/TextArea/examples/StylesInput.d.ts +2 -2
  92. package/dist/components/Form/TextArea/examples/VariantsInputs.d.ts +2 -2
  93. package/dist/components/Form/TextField/examples/ClearInput.d.ts +2 -2
  94. package/dist/components/Form/TextField/examples/ColorScheme.d.ts +2 -2
  95. package/dist/components/Form/TextField/examples/Default.d.ts +2 -2
  96. package/dist/components/Form/TextField/examples/DisabledInput.d.ts +2 -2
  97. package/dist/components/Form/TextField/examples/ErrorInput.d.ts +2 -2
  98. package/dist/components/Form/TextField/examples/FormikErrorInput.d.ts +2 -2
  99. package/dist/components/Form/TextField/examples/FormikHelperText.d.ts +2 -2
  100. package/dist/components/Form/TextField/examples/HelperText.d.ts +2 -2
  101. package/dist/components/Form/TextField/examples/LabelInput.d.ts +2 -2
  102. package/dist/components/Form/TextField/examples/LeftChild.d.ts +2 -2
  103. package/dist/components/Form/TextField/examples/Placeholder.d.ts +2 -2
  104. package/dist/components/Form/TextField/examples/ReadOnlyInput.d.ts +2 -2
  105. package/dist/components/Form/TextField/examples/RightChild.d.ts +2 -2
  106. package/dist/components/Form/TextField/examples/ShapeInput.d.ts +2 -2
  107. package/dist/components/Form/TextField/examples/SizeInput.d.ts +2 -2
  108. package/dist/components/Form/TextField/examples/StylesInput.d.ts +2 -2
  109. package/dist/components/Form/TextField/examples/VariantsInputs.d.ts +2 -2
  110. package/dist/components/Layout/Horizontal/examples/Default.d.ts +2 -2
  111. package/dist/components/Layout/Horizontal/examples/Justify.d.ts +2 -2
  112. package/dist/components/Layout/Horizontal/examples/Reversed.d.ts +2 -2
  113. package/dist/components/Layout/Horizontal/examples/Wrap.d.ts +2 -2
  114. package/dist/components/Layout/Vertical/examples/Default.d.ts +2 -2
  115. package/dist/components/Layout/Vertical/examples/Justify.d.ts +2 -2
  116. package/dist/components/Layout/Vertical/examples/Reversed.d.ts +2 -2
  117. package/dist/components/Layout/Vertical/examples/Wrap.d.ts +2 -2
  118. package/dist/components/Link/examples/Default.d.ts +2 -2
  119. package/dist/components/Link/examples/IsExternal.d.ts +2 -2
  120. package/dist/components/Link/examples/Underline.d.ts +2 -2
  121. package/dist/components/Loader/Loader.d.ts +1 -1
  122. package/dist/components/Loader/examples/ColorLoader.d.ts +2 -2
  123. package/dist/components/Loader/examples/DefaultLoader.d.ts +2 -2
  124. package/dist/components/Loader/examples/PositionLoader.d.ts +2 -2
  125. package/dist/components/Loader/examples/SizeLoader.d.ts +2 -2
  126. package/dist/components/Loader/examples/SpeedLoader.d.ts +2 -2
  127. package/dist/components/Loader/examples/TextLoader.d.ts +2 -2
  128. package/dist/components/Loader/examples/VariantLoader.d.ts +2 -2
  129. package/dist/components/Modal/Examples/BlurModal.d.ts +2 -2
  130. package/dist/components/Modal/Examples/CloseButtonModal.d.ts +2 -2
  131. package/dist/components/Modal/Examples/DefaultModal.d.ts +2 -2
  132. package/dist/components/Modal/Examples/FullScreenModal.d.ts +2 -2
  133. package/dist/components/Modal/Examples/ModalPosition.d.ts +2 -2
  134. package/dist/components/Modal/Examples/PreventCloseModal.d.ts +2 -2
  135. package/dist/components/Modal/Examples/ScrollModal.d.ts +2 -2
  136. package/dist/components/Modal/Examples/ShadowModal.d.ts +2 -2
  137. package/dist/components/Modal/Examples/VariantModal.d.ts +2 -2
  138. package/dist/features.d.ts +2 -2
  139. package/dist/pages/button.page.d.ts +2 -2
  140. package/dist/pages/center.page.d.ts +2 -2
  141. package/dist/pages/checkbox.page.d.ts +2 -2
  142. package/dist/pages/components.page.d.ts +2 -2
  143. package/dist/pages/countryPicker.page.d.ts +2 -2
  144. package/dist/pages/datePicker.page.d.ts +2 -2
  145. package/dist/pages/home.page.d.ts +2 -2
  146. package/dist/pages/horizontal.page.d.ts +2 -2
  147. package/dist/pages/input.page.d.ts +2 -2
  148. package/dist/pages/link.page.d.ts +2 -2
  149. package/dist/pages/loader.page.d.ts +2 -2
  150. package/dist/pages/modal.page.d.ts +2 -2
  151. package/dist/pages/password.page.d.ts +2 -2
  152. package/dist/pages/select.page.d.ts +2 -2
  153. package/dist/pages/switch.page.d.ts +2 -2
  154. package/dist/pages/text.page.d.ts +2 -2
  155. package/dist/pages/textArea.page.d.ts +2 -2
  156. package/dist/pages/vertical.page.d.ts +2 -2
  157. package/dist/routes/routes.d.ts +2 -2
  158. package/dist/web.cjs.development.js +458 -458
  159. package/dist/web.cjs.development.js.map +1 -1
  160. package/dist/web.cjs.production.min.js +1 -1
  161. package/dist/web.cjs.production.min.js.map +1 -1
  162. package/dist/web.esm.js +459 -459
  163. package/dist/web.esm.js.map +1 -1
  164. package/package.json +1 -2
  165. package/dist/components/Button/examples/LoadingButtons.d.ts +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"web.cjs.production.min.js","sources":["../src/components/Link/Link/Link.state.ts","../src/components/Layout/Center/Center/Center.view.tsx","../src/components/Layout/Center/Center.tsx","../src/components/Svg/ArrowDown.tsx","../src/components/Svg/ArrowUp.tsx","../src/components/Svg/Check.tsx","../src/components/Svg/Close.tsx","../src/components/Svg/ExternalLink.tsx","../src/components/Svg/Indeterminate.tsx","../src/components/Link/Link/Link.style.ts","../src/components/Link/Link/Link.view.tsx","../src/components/Link/Link.tsx","../src/components/Button/Button/Button.style.ts","../src/components/Button/Button/Button.view.tsx","../src/components/Button/Button.tsx","../src/components/Button/Button/Button.state.ts","../src/components/Form/Label/Label/Label.style.ts","../src/components/Form/Label/Label/Label.view.tsx","../src/components/Form/Label/Label.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.style.ts","../src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx","../src/components/Layout/Vertical/Vertical/Vertical.view.tsx","../src/components/Layout/Vertical/Vertical.tsx","../src/components/Layout/Input/HelperText/HelperText.tsx","../src/components/Layout/Input/FieldContainer/FieldContainer.tsx","../src/components/Layout/configs/Input.style.ts","../src/components/Layout/Horizontal/Horizontal/Horizontal.view.tsx","../src/components/Layout/Horizontal/Horizontal.tsx","../src/components/Layout/Input/FieldContent/FieldContent.tsx","../src/components/Layout/Input/FieldIcons/FieldIcons.tsx","../src/components/Layout/Input/FieldLabel/FieldLabel.tsx","../src/components/Layout/Input/FieldWrapper/FieldWrapper.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.style.ts","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.view.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.view.tsx","../src/components/Form/Password/Password/Password.view.tsx","../src/components/Form/Select/Select/Select.style.ts","../src/components/Form/Select/Select/Select.view.tsx","../src/components/Form/Select/Select/Select.state.ts","../src/components/Form/Switch/Switch/Switch.style.ts","../src/components/Form/Switch/Switch/Switch.view.tsx","../src/components/Form/TextArea/TextArea/TextArea.view.tsx","../src/components/Form/TextField/TextField/TextField.view.tsx","../src/components/Form/TextField/TextField.tsx","../src/components/Form/TextField/TextField/TextField.state.ts","../src/components/Loader/Loader/Loader.style.ts","../src/components/Loader/Loader/Loader.view.tsx","../src/components/Modal/Modal/Modal.style.ts","../src/components/Modal/Modal.tsx","../src/components/Modal/Modal/Modal.view.tsx","../src/components/Text/Text/Text.style.ts","../src/components/Text/Text/Text.view.tsx","../src/components/Text/Text.tsx","../src/components/Form/Checkbox/Checkbox.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.state.ts","../src/components/Form/CountryPicker/CountryPicker.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.state.ts","../src/components/Form/DatePicker/DatePicker.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.state.ts","../src/components/Loader/Loader.tsx","../src/components/Form/Password/Password.tsx","../src/components/Form/Password/Password/Password.state.ts","../src/components/Form/Select/Select.tsx","../src/components/Form/Switch/Switch.tsx","../src/components/Form/Switch/Switch/Switch.state.ts","../src/components/Form/TextArea/TextArea.tsx","../src/components/Form/TextArea/TextArea/TextArea.state.ts"],"sourcesContent":["import { useState } from 'react';\n\nexport const useLinkState = () => {\n const [isHovered, setIsHovered] = useState(false);\n return { isHovered, setIsHovered };\n};\n","import React from 'react';\n\nimport { View } from '../../View/View';\n\nimport { CenterProps } from './Center.props';\n\nconst CenterView: React.FC<CenterProps> = ({ children, wrap, ...props }) => (\n <View display=\"flex\" justifyContent=\"center\" alignItems=\"center\" flexWrap={wrap} {...props}>\n {children}\n </View>\n);\n\nexport default CenterView;\n","import React from 'react';\n\nimport { CenterProps } from './Center/Center.props';\nimport CenterView from './Center/Center.view';\n\n/**\n * The Center component is a React functional component that provides a centered layout for its children using flexbox.\n */\nconst CenterComponent: React.FC<CenterProps> = (props) => <CenterView {...props} />;\n\nexport const Center = CenterComponent;\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ArrowDownSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg viewBox=\"0 -4.5 20 20\" version=\"1.1\" fill=\"#000000\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <title>arrow_down [#338]</title> <desc>Created with Sketch.</desc>\n <defs> </defs>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"Dribbble-Light-Preview\" transform=\"translate(-220.000000, -6684.000000)\" fill=\"#000000\">\n <g id=\"icons\" transform=\"translate(56.000000, 160.000000)\">\n <path\n d=\"M164.292308,6524.36583 L164.292308,6524.36583 C163.902564,6524.77071 163.902564,6525.42619 164.292308,6525.83004 L172.555873,6534.39267 C173.33636,6535.20244 174.602528,6535.20244 175.383014,6534.39267 L183.70754,6525.76791 C184.093286,6525.36716 184.098283,6524.71997 183.717533,6524.31405 C183.328789,6523.89985 182.68821,6523.89467 182.29347,6524.30266 L174.676479,6532.19636 C174.285736,6532.60124 173.653152,6532.60124 173.262409,6532.19636 L165.705379,6524.36583 C165.315635,6523.96094 164.683051,6523.96094 164.292308,6524.36583\"\n id=\"arrow_down-[#338]\"\n ></path>\n </g>\n </g>\n </g>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ArrowUpSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg width={`${size}px`} height={`${size}px`} viewBox=\"0 -4.5 20 20\" version=\"1.1\" fill=\"#000000\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <title>arrow_up [#337]</title> <desc>Created with Sketch.</desc>\n <defs> </defs>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"Dribbble-Light-Preview\" transform=\"translate(-260.000000, -6684.000000)\" fill=\"#000000\">\n <g id=\"icons\" transform=\"translate(56.000000, 160.000000)\">\n <path\n d=\"M223.707692,6534.63378 L223.707692,6534.63378 C224.097436,6534.22888 224.097436,6533.57338 223.707692,6533.16951 L215.444127,6524.60657 C214.66364,6523.79781 213.397472,6523.79781 212.616986,6524.60657 L204.29246,6533.23165 C203.906714,6533.6324 203.901717,6534.27962 204.282467,6534.68555 C204.671211,6535.10081 205.31179,6535.10495 205.70653,6534.69695 L213.323521,6526.80297 C213.714264,6526.39807 214.346848,6526.39807 214.737591,6526.80297 L222.294621,6534.63378 C222.684365,6535.03868 223.317949,6535.03868 223.707692,6534.63378\"\n id=\"arrow_up-[#337]\"\n ></path>\n </g>\n </g>\n </g>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const CheckSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\" />\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\" stroke=\"#CCCCCC\" strokeWidth=\"0.048\" />\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M17.0001 9L10 16L7 13\" stroke={color} strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const CloseSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 1024 1024\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"#000000\"\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path\n fill={color}\n d=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"\n ></path>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ExternalLinkSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n fill={color}\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 50 50\"\n xmlns=\"http://www.w3.org/2000/svg\"\n stroke={color}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M38.288 10.297l1.414 1.415-14.99 14.99-1.414-1.414z\"></path>\n <path d=\"M40 20h-2v-8h-8v-2h10z\"></path>\n <path d=\"M35 38H15c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h11v2H15c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h20c.6 0 1-.4 1-1V24h2v11c0 1.7-1.3 3-3 3z\"></path>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const IndeterminateSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M7 12L17 12\" stroke={color} strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></path>{' '}\n </g>\n </svg>\n </Center>\n);\n","import { Size } from './Link.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n '2xl': 24,\n '3xl': 30,\n '4xl': 36,\n '5xl': 48,\n '6xl': 64,\n};\n","import React from 'react';\nimport { Element } from 'app-studio';\nimport { Link as ReactRouterLink } from 'react-router-dom';\nimport { Horizontal } from '../..';\nimport { ExternalLinkSvg } from '../../Svg';\n\nimport { LinkViewProps } from './Link.props';\nimport { IconSizes } from './Link.style';\n\nconst LinkView: React.FC<LinkViewProps> = ({\n children,\n href = '/',\n iconSize = 'sm',\n underline = 'default',\n isHovered = false,\n isExternal = false,\n colorScheme = '#0072F5',\n styles = { icon: {}, text: {} },\n setIsHovered = () => {},\n ...props\n}) => {\n const handleHover = () => {\n if (underline === 'hover') setIsHovered(true);\n };\n return (\n <ReactRouterLink to={href} target={isExternal ? '_blank' : '_self'}>\n <Element\n color={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n textDecoration={isHovered || underline === 'underline' ? 'underline !important' : 'none'}\n {...styles.text}\n {...props}\n >\n <Horizontal gap={3} alignItems=\"center\" wrap=\"nowrap\">\n {children}\n {isExternal && <ExternalLinkSvg color={colorScheme} size={IconSizes[iconSize]} style={styles.icon} />}\n </Horizontal>\n </Element>\n </ReactRouterLink>\n );\n};\n\nexport default LinkView;\n","import React from 'react';\n\nimport { LinkProps } from './Link/Link.props';\nimport { useLinkState } from './Link/Link.state';\nimport LinkView from './Link/Link.view';\n\nconst LinkComponent: React.FC<LinkProps> = (props) => {\n const linkStates = useLinkState();\n return <LinkView {...linkStates} {...props} />;\n};\n\n/**\n * Link allows users to navigate from page to page. It have a similar appearance as the hyperlink.\n */\nexport const Link = LinkComponent;\n","import { CSSProperties } from 'react';\n\nimport { Shape, Size } from './Button.type';\n\nexport const ButtonSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 79,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 12,\n paddingRight: 12,\n fontWeight: 600,\n fontSize: 'xs',\n lineHeight: 16,\n letterSpacing: 1.25,\n },\n sm: {\n width: 128,\n paddingTop: 10,\n paddingBottom: 10,\n paddingLeft: 16,\n paddingRight: 16,\n fontWeight: 600,\n fontSize: 'sm',\n lineHeight: 20,\n letterSpacing: 1.25,\n },\n md: {\n width: 144,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 18,\n paddingRight: 18,\n fontWeight: 600,\n fontSize: 'md',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n lg: {\n width: 178,\n paddingTop: 14,\n paddingBottom: 14,\n paddingLeft: 22,\n paddingRight: 22,\n fontWeight: 600,\n fontSize: 'lg',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n xl: {\n width: 220,\n paddingTop: 16,\n paddingBottom: 16,\n paddingLeft: 26,\n paddingRight: 26,\n fontWeight: 600,\n fontSize: 'xl',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n};\n\nexport const ButtonShapes: Record<Shape, number | string> = {\n sharp: 0,\n rounded: 4,\n pillShaped: 24,\n};\n\nexport const IconSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 24,\n height: 24,\n padding: 12,\n },\n sm: {\n width: 24,\n height: 24,\n padding: 15,\n },\n md: {\n width: 36,\n height: 36,\n padding: 15,\n },\n lg: {\n width: 36,\n height: 36,\n padding: 18,\n },\n xl: {\n width: 36,\n height: 36,\n padding: 24,\n },\n};\n","import React, { CSSProperties } from 'react';\nimport { Element } from 'app-studio';\n\nimport { Link } from './../../Link/Link';\nimport { ButtonProps } from './Button.props';\nimport { ButtonShapes, ButtonSizes, IconSizes } from './Button.style';\nimport { Variant } from './Button.type';\n\nconst ButtonView: React.FC<ButtonProps> = ({\n icon,\n shadow,\n children,\n ariaLabel,\n externalHref,\n isAuto = false,\n isFilled = false,\n isIconRounded = false,\n isLoading = false,\n isDisabled = false,\n size = 'md',\n variant = 'filled',\n iconPosition = 'left',\n colorScheme = 'theme.primary',\n shape = 'rounded',\n onClick = () => {},\n ...props\n}) => {\n const isActive = !(isDisabled || isLoading);\n\n const defaultNativeProps = { disabled: !isActive };\n\n const buttonColor = isActive ? colorScheme : 'theme.disabled';\n\n const ButtonVariants: Record<Variant, CSSProperties> = {\n filled: {\n backgroundColor: buttonColor,\n color: 'color.white',\n },\n outline: {\n backgroundColor: 'transparent',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: colorScheme,\n color: buttonColor,\n },\n link: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n textDecorationLine: 'underline',\n },\n ghost: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n },\n };\n\n const buttonSizeStyles = ButtonSizes[size];\n\n const buttonVariant = ButtonVariants[variant];\n\n const scaleWidth = {\n width: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width,\n };\n\n const changePadding = {\n padding: isIconRounded ? IconSizes[size].padding : ButtonSizes[size].padding,\n };\n\n const content = (\n <>\n {icon && iconPosition === 'left' && !isLoading && icon}\n {children}\n {icon && iconPosition === 'right' && !isLoading && icon}\n </>\n );\n\n return (\n <Element\n gap={8}\n as=\"button\"\n role=\"button\"\n border=\"none\"\n color=\"color.white\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n ariaLabel={ariaLabel}\n backgroundColor={buttonColor}\n borderRadius={ButtonShapes[shape]}\n onClick={props.onClick ?? onClick}\n cursor={isActive ? 'pointer' : 'default'}\n {...defaultNativeProps} // set default native html button properties\n {...buttonSizeStyles} // set default width, paddings and fonts\n {...buttonVariant} // changes default background color, color and border\n {...scaleWidth} //changes the actual fixed width when isAuto or isFilled are true\n {...changePadding} // changes the actual padding when variant equals to circled\n {...shadow}\n {...props}\n >\n {variant === 'link' && externalHref ? (\n <Link href={externalHref} textDecorationColor={colorScheme} colorScheme={colorScheme} isExternal>\n {content}\n </Link>\n ) : (\n content\n )}\n </Element>\n );\n};\n\nexport default ButtonView;\n","import React from 'react';\n\nimport { ButtonProps } from './Button/Button.props';\nimport { useButtonState } from './Button/Button.state';\nimport ButtonView from './Button/Button.view';\n\nconst ButtonComponent: React.FC<ButtonProps> = (props) => {\n const { isHovered, setIsHovered } = useButtonState();\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <ButtonView\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n filter={isHovered ? 'brightness(0.85)' : 'brightness(1)'}\n {...props}\n />\n );\n};\n\n/**\n * Buttons allow us to trigger an event or an action with a single click.\n */\nexport const Button = ButtonComponent;\n","import React from 'react';\n\nexport const useButtonState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { Headings } from './Label.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { LabelProps } from './Label.props';\nimport { HeadingSizes } from './Label.style';\n\nconst LabelView: React.FC<LabelProps> = ({\n children,\n heading,\n isItalic = false,\n isUnderlined = false,\n isStriked = false,\n weight = 'normal',\n size = 'sm',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n return (\n <Element\n as=\"label\"\n width=\"100%\"\n fontSize={size}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...headingStyles}\n {...props}\n >\n {children}\n </Element>\n );\n};\n\nexport default LabelView;\n","import React from 'react';\n\nimport { LabelProps } from './Label/Label.props';\nimport LabelView from './Label/Label.view';\n\nconst LabelComponent: React.FC<LabelProps> = (props) => <LabelView {...props} />;\n\nexport const Label = LabelComponent;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Checkbox.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 8, width: 8 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n '2xl': { height: 36, width: 36 },\n '3xl': { height: 42, width: 42 },\n '4xl': { height: 48, width: 48 },\n '5xl': { height: 54, width: 54 },\n '6xl': { height: 60, width: 60 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 6,\n sm: 12,\n md: 18,\n lg: 24,\n xl: 30,\n '2xl': 36,\n '3xl': 42,\n '4xl': 48,\n '5xl': 54,\n '6xl': 60,\n};\n","import React from 'react';\nimport { Typography } from 'app-studio';\nimport { Center } from '../../..';\nimport { Label } from '../../../Form/Label/Label';\nimport { CheckSvg, IndeterminateSvg } from '../../../Svg';\n\nimport { CheckboxViewProps } from './Checkbox.props';\nimport { IconSizes, Sizes } from './Checkbox.style';\n\nconst CheckboxView: React.FC<CheckboxViewProps> = ({\n id,\n icon,\n name,\n label,\n isChecked,\n onChange,\n onValueChange,\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n error = false,\n isSelected = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isIndeterminate = false,\n defaultIsSelected = false,\n setIsSelected = () => {},\n setIsHovered = () => {},\n styles = { checkbox: {}, label: {} },\n ...props\n}) => {\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleChange = () => {\n if (!isReadOnly && !isDisabled) {\n if (isChecked === undefined) {\n setIsSelected(!isSelected);\n } else {\n if (onChange) onChange(!isChecked);\n if (onValueChange) onValueChange(!isChecked);\n }\n }\n };\n\n const checkboxStyle = {\n container: {\n gap: 10,\n display: 'flex',\n alignItems: 'center',\n height: 'fit-content',\n width: 'fit-content',\n color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer',\n ...styles['label'],\n },\n checkbox: {\n ...(isDisabled\n ? { backgroundColor: 'theme.disabled' }\n : ((isChecked || isSelected) && !isIndeterminate) || isIndeterminate\n ? { backgroundColor: colorScheme }\n : {\n borderWidth: 2,\n borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',\n borderStyle: 'solid',\n }),\n borderRadius: 3,\n filter: isHovered ? 'brightness(0.9)' : undefined,\n ...Sizes[size],\n ...shadow,\n ...styles['checkbox'],\n },\n };\n\n return (\n <Label\n htmlFor={id}\n as=\"div\"\n onClick={handleChange}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n size={Typography.fontSizes[size]}\n {...checkboxStyle.container}\n {...props}\n >\n <Center {...checkboxStyle.checkbox}>\n {isIndeterminate ? (\n <IndeterminateSvg />\n ) : (\n (isChecked || isSelected) && (icon ?? <CheckSvg size={IconSizes[size]} />)\n )}\n </Center>\n {label}\n </Label>\n );\n};\n\nexport default CheckboxView;\n","import React from 'react';\nimport { View } from 'app-studio';\n\nimport { VerticalProps } from './Vertical.props';\n\nconst VerticalView: React.FC<VerticalProps> = ({\n children,\n wrap = 'nowrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'column-reverse' : 'column'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\nexport default VerticalView;\n","import React from 'react';\n\nimport { VerticalProps } from './Vertical/Vertical.props';\nimport VerticalView from './Vertical/Vertical.view';\n\n/**\n * Vertical layout aligns all the elements in a container on the vertical axis.\n */\n\nconst VerticalComponent: React.FC<VerticalProps> = (props) => <VerticalView {...props} />;\n\nexport const Vertical = VerticalComponent;\n","import React from 'react';\nimport { Text } from '../../..';\n\nimport { HelperTextProps } from './HelperText.props';\n\nexport const HelperText: React.FC<HelperTextProps> = ({\n children,\n styles = { helperText: {} },\n error = false,\n ...props\n}) => (\n <Text\n size=\"xs\"\n marginVertical={0}\n marginHorizontal={0}\n color={error ? 'theme.error' : 'theme.text.dark'}\n {...(styles['helperText'] as any)}\n {...props}\n >\n {children}\n </Text>\n);\n","import React from 'react';\n\nimport { Vertical } from '../../Vertical/examples';\nimport { HelperText } from '../HelperText/HelperText';\n\nimport { ContainerProps } from './FieldContainer/FieldContainer.props';\n\nexport const FieldContainer: React.FC<ContainerProps> = ({ children, helperText, error = false, styles, ...props }) => (\n <Vertical gap={5} position=\"relative\" {...props}>\n {children}\n {helperText && (\n <HelperText error={error} {...styles}>\n {helperText}\n </HelperText>\n )}\n </Vertical>\n);\n","import { CSSProperties } from 'react';\n\nimport { Shape, Size, Variant } from './Input.type';\n\nexport const Shapes: Record<Shape, CSSProperties> = {\n default: { borderTopLeftRadius: 6, borderTopRightRadius: 6, borderBottomLeftRadius: 0, borderBottomRightRadius: 0 },\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n pillShaped: { borderRadius: 24 },\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const InputVariants: Record<Variant, CSSProperties> = {\n outline: {\n borderWidth: 1,\n },\n default: {\n borderWidth: 0,\n borderBottomWidth: 2,\n },\n unStyled: {\n border: 'none',\n backgroundColor: 'transparent',\n },\n};\n\nexport const PadddingWithLabel = {\n paddingTop: 16,\n paddingBottom: 0,\n paddingLeft: 16,\n paddingRight: 35,\n};\n\nexport const PaddingWithoutLabel = {\n paddingVertical: 8,\n paddingLeft: 16,\n paddingRight: 35,\n};\n","import React from 'react';\nimport { View } from '../../..';\n\nimport { HorizontalProps } from './Horizontal.props';\n\nconst HorizontalView: React.FC<HorizontalProps> = ({\n children,\n wrap = 'wrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'row-reverse' : 'row'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\n\nexport default HorizontalView;\n","import React from 'react';\n\nimport { HorizontalProps } from './Horizontal/Horizontal.props';\nimport HorizontalView from './Horizontal/Horizontal.view';\n\n/**\n * Horizontal layout aligns all the elements in a container on the horizontal axis.\n */\nconst HorizontalComponent: React.FC<HorizontalProps> = (props) => <HorizontalView {...props} />;\n\nexport const Horizontal = HorizontalComponent;\n","import React from 'react';\nimport { Typography } from 'app-studio';\n\nimport { InputVariants, PadddingWithLabel, PaddingWithoutLabel, Shapes } from '../../configs/Input.style';\nimport { Horizontal } from '../../Horizontal/Horizontal';\n\nimport { ContentProps } from './FieldContent/FieldContent.props';\n\nexport const FieldContent: React.FC<ContentProps> = ({\n label,\n shadow,\n children,\n value,\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n isWithLabel = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n colorScheme = 'theme.primary',\n styles = { pickerBox: {} },\n ...props\n}) => {\n const isInteractive = (isHovered || isFocused) && !isDisabled;\n const color = error ? 'error' : isInteractive ? colorScheme : 'midgray';\n\n return (\n <Horizontal\n gap={10}\n width=\"100%\"\n display=\"flex\"\n wrap=\"nowrap\"\n borderStyle=\"solid\"\n alignItems=\"center\"\n borderColor={color}\n backgroundColor=\"trueGray.50\"\n transition=\"padding 0.2s ease\"\n justifyContent=\"space-between\"\n fontSize={Typography.fontSizes[size]}\n filter={isHovered ? 'brightness(0.97)' : 'brightness(1)'}\n cursor={isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'}\n {...(isWithLabel ? PadddingWithLabel : PaddingWithoutLabel)}\n {...shadow}\n {...Shapes[shape]}\n {...InputVariants[variant]}\n {...styles['box']}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\nimport { Center } from '../../..';\n\nimport { FieldIconsProps } from './FieldIcons/FieldIcons.props';\n\nexport const FieldIcons: React.FC<FieldIconsProps> = ({ children, ...props }) => (\n <Center\n gap={10}\n top=\"50%\"\n right={16}\n zIndex={500}\n wrap=\"nowrap\"\n position=\"absolute\"\n transform=\"translateY(-50%)\"\n {...props}\n >\n {children}\n </Center>\n);\n","import React from 'react';\nimport { Label } from '../../../Form/Label/Label';\n\nimport { LabelSizes } from '../../configs/Input.style';\n\nimport { LabelProps } from './FieldLabel/FieldLabel.props';\n\nexport const FieldLabel: React.FC<LabelProps> = ({\n children,\n size = 'md',\n error = false,\n color = 'theme.primary',\n styles = { label: {} },\n ...props\n}) => (\n <Label\n top={4}\n zIndex={1000}\n lineHeight={15}\n letterSpacing={0.25}\n whiteSpace=\"noWrap\"\n position=\"absolute\"\n color={error ? 'error' : color}\n fontSize={LabelSizes[size]}\n {...styles['label']}\n {...props}\n >\n {children}\n </Label>\n);\n","import React from 'react';\n\nimport { Vertical } from '../../Vertical/Vertical';\n\nimport { WrapperFieldProps } from './FieldWrapper.props';\n\nexport const FieldWrapper: React.FC<WrapperFieldProps> = ({ children, ...props }) => (\n <Vertical width=\"100%\" {...props}>\n {children}\n </Vertical>\n);\n","import { Size } from './CountryPicker.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useEffect, useState } from 'react';\nimport { Element, Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldIcons, FieldLabel, FieldWrapper } from '../../../Layout/Input';\nimport { ArrowDownSvg } from '../../../Svg/ArrowDown';\nimport { ArrowUpSvg } from '../../../Svg/ArrowUp';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerViewProps, DropDownItemProps, DropDownProps } from './CountryPicker.props';\nimport { IconSizes } from './CountryPicker.style';\nimport { Country } from './CountryPicker.type';\n\nconst CountryList: React.FC<DropDownProps> = (props) => <Element as=\"ul\" {...props} />;\n\nconst CountrySelector: React.FC<any> = (props) => <Input type=\"country\" {...props} />;\n\nconst CountryItem: React.FC<DropDownItemProps> = (props) => <Element as=\"li\" {...props} />;\n\nexport const DropDownItem: React.FC<DropDownItemProps> = ({\n option,\n size = 'md',\n callback = () => {},\n styles = { text: {} },\n}) => {\n const [isHovered, setIsHovered] = useState(false);\n\n const handleOptionClick = (event: any) => {\n event.stopPropagation();\n callback(option);\n };\n const handleHover = () => setIsHovered(!isHovered);\n return (\n <CountryItem\n margin={0}\n role=\"DropDownItem\"\n listStyleType=\"none\"\n paddingVertical={6}\n paddingHorizontal={12}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n onClick={handleOptionClick}\n fontSize={Typography.fontSizes[size]}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...styles['text']}\n >\n {option}\n </CountryItem>\n );\n};\n\nexport const DropDown: React.FC<DropDownProps> = ({\n size,\n styles = { dropDown: {} },\n options,\n callback = () => {},\n}) => {\n const handleCallback = (option: string) => callback(option);\n return (\n <CountryList\n role=\"dropDown\"\n margin={0}\n padding={0}\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflow=\"auto\"\n maxHeight=\"300px\"\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n boxShadow=\"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px\"\n {...styles['dropDown']}\n >\n {options.map((option: Country) => (\n <DropDownItem\n key={option.code}\n size={size}\n option={option.name}\n callback={handleCallback}\n {...styles['text']}\n />\n ))}\n </CountryList>\n );\n};\n\nconst CountryPickerView: React.FC<CountryPickerViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isHovered = false,\n isFocused = false,\n isAutoFocus = false,\n isDisabled = false,\n isReadOnly = false,\n shadow = {},\n newOptions = [],\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n onChange,\n onBlur = () => {},\n setHide = () => {},\n setNewOptions = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n setSelected = () => {},\n styles = {\n text: {},\n icon: {},\n label: {},\n dropDown: {},\n helperText: {},\n box: {},\n },\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleCallback = (option: string) => {\n setHide(!hide);\n setSelected(option);\n };\n\n const handleClick = () => {\n if (!isDisabled && !isReadOnly) {\n setHide(!hide);\n }\n };\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const selectedCountry = event.target.value;\n const filteredCountries = countryList.filter((country) =>\n country.name.toLowerCase().startsWith(selectedCountry.toLowerCase())\n );\n if (hide) setHide(false);\n setSelected(event.target.value);\n setNewOptions(filteredCountries);\n if (onChange) onChange(event);\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n useEffect(() => {\n if (onChange) onChange(selected); // Call onChange when selectedCountry changes\n }, [onChange, selected]);\n\n const isWithLabel = !!(isFocused && label);\n\n const fieldStyles = {\n margin: 0,\n paddingVerical: 8,\n paddingHorizonatl: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: { focus: { outline: 'none' } },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles} onClick={handleClick}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <CountrySelector\n id={id}\n name={name}\n placeholder={placeholder}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n onBlur={handleBlur}\n onFocus={handleFocus}\n {...fieldStyles}\n {...props}\n value={selected}\n onChange={handleChange}\n />\n </FieldWrapper>\n <FieldIcons>\n {hide ? (\n <ArrowDownSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n ) : (\n <ArrowUpSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={newOptions} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default CountryPickerView;\n","import React from 'react';\nimport { Input, Typography } from 'app-studio';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\n\nimport { DatePickerViewProps } from './DatePicker.props';\n\nconst DatePickerContent = (props: any) => <Input type=\"date\" {...props} />;\n\nconst DatePickerView: React.FC<DatePickerViewProps> = ({\n id,\n icon,\n name,\n label,\n date,\n children,\n helperText,\n shadow = {},\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n styles = { box: {}, label: {}, helperText: {}, text: {}, field: {} },\n error = false,\n isHovered = false,\n isFocused = false,\n isDisabled = false,\n isReadOnly = false,\n setDate = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n onChange,\n onChangeText,\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleDateChange = (event: any) => {\n if (typeof event === 'string') {\n setDate(event);\n if (onChangeText) onChangeText(event);\n } else {\n setDate(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n backgroundColor: 'transparent',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={date}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <DatePickerContent\n id={id}\n name={name}\n value={date}\n onFocus={handleFocus}\n onChange={handleDateChange}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...fieldStyles}\n {...(onChangeText && { onChangeText: handleDateChange })}\n {...props}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default DatePickerView;\n","import React from 'react';\nimport { TextField, View } from '../../..';\n\nimport { PasswordViewProps } from './Password.props';\n\nconst PasswordView: React.FC<PasswordViewProps> = ({\n name,\n visibleIcon,\n hiddenIcon,\n isDisabled = false,\n isVisible = false,\n setIsVisible = () => {},\n ...props\n}) => (\n <TextField\n name={name}\n type={isVisible ? 'text' : 'password'}\n rightChild={\n <View\n onClick={() => {\n if (!isDisabled) setIsVisible(!isVisible);\n }}\n >\n {isVisible ? visibleIcon : hiddenIcon}\n </View>\n }\n isClearable={false}\n {...props}\n />\n);\n\nexport default PasswordView;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Select.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useCallback } from 'react';\nimport { Element } from 'app-studio';\nimport { Typography } from 'app-studio';\nimport { Horizontal, Text } from '../../..';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\nimport { ArrowDownSvg, ArrowUpSvg, CloseSvg } from '../../../Svg';\n\nimport {\n DropDownProps,\n HiddenSelectProps,\n ItemProps,\n MultiSelectProps,\n SelectBoxProps,\n SelectViewProps,\n} from './Select.props';\nimport { useItemState } from './Select.state';\nimport { IconSizes } from './Select.style';\n\nconst Item: React.FC<ItemProps> = ({ isHovered, setIsHovered, option, size = 'md', callback = () => {}, ...props }) => {\n const handleOptionClick = (option: string) => callback(option);\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Element\n as=\"li\"\n margin={0}\n paddingVertical={8}\n paddingHorizontal={12}\n listStyleType=\"none\"\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n fontSize={Typography.fontSizes[size]}\n onClick={() => handleOptionClick(option)}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...props}\n >\n {option}\n </Element>\n );\n};\n\nconst SelectBox: React.FC<SelectBoxProps> = ({\n size = 'md',\n styles = { field: {}, text: {} },\n selected,\n isDisabled,\n placeholder,\n removeOption = () => {},\n}) => {\n const fieldStyles = {\n margin: 0,\n width: '95%',\n heigth: '100%',\n border: 'none',\n paddingVertical: 8,\n paddingHorizontal: 0,\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n ...styles['text'],\n };\n\n return (\n <Text {...fieldStyles}>\n {(selected === '' || (selected && selected.length === 0)) && !!placeholder ? (\n placeholder\n ) : (\n <>\n {typeof selected === 'string'\n ? selected\n : selected &&\n selected.length > 0 && (\n <Horizontal gap={6}>\n {selected.map((option) => (\n <MultiSelect key={option} option={option} removeOption={removeOption} />\n ))}\n </Horizontal>\n )}\n </>\n )}\n </Text>\n );\n};\n\nconst HiddenSelect: React.FC<HiddenSelectProps> = ({\n id,\n name,\n selected,\n onChange,\n isMulti = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n ...props\n}) => {\n const handleChange = (event: any) => {\n if (onChange) onChange(event);\n };\n return (\n <Element\n id={id}\n name={name}\n as=\"select\"\n opacity={0}\n width={0}\n height={0}\n position=\"absolute\"\n value={selected}\n disabled={isDisabled}\n readOnly={isReadOnly}\n onChange={handleChange}\n multiple={isMulti}\n {...props}\n >\n {options.map((option) => {\n return (\n <option key={option} value={option}>\n {option}\n </option>\n );\n })}\n </Element>\n );\n};\n\nconst DropDown: React.FC<DropDownProps> = ({ size, styles = { dropDown: {} }, options, callback = () => {} }) => {\n const itemStates = useItemState();\n const handleCallback = (option: string) => callback(option);\n const shadow =\n typeof document !== undefined\n ? {\n boxShadow:\n 'rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px',\n }\n : {\n elevation: 2,\n shadowColor: 'rgba(0, 0, 0, 0.07)',\n shadowOffset: {\n width: 0,\n height: 1,\n },\n shadowOpacity: 1,\n shadowRadius: 1,\n };\n return (\n <Element\n as=\"ul\"\n role=\"dropdown\"\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflowY=\"auto\"\n marginTop={5}\n marginLeft={0}\n marginRight={0}\n marginBottom={0}\n padding={0}\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n justifyContent=\"space-evenly\"\n {...shadow}\n {...styles['dropDown']}\n >\n {options.map((option) => (\n <Item key={option} size={size} option={option} callback={handleCallback} {...itemStates} {...styles['text']} />\n ))}\n </Element>\n );\n};\n\nexport const MultiSelect: React.FC<MultiSelectProps> = ({ option, size = 'md', removeOption = () => {}, ...props }) => {\n const handleClick = () => removeOption(option);\n\n return (\n <Horizontal\n gap={10}\n padding={6}\n borderRadius={4}\n alignItems=\"center\"\n fontSize={Typography.fontSizes[size]}\n backgroundColor=\"trueGray.300\"\n onClick={(event: any) => event.stopPropagation()}\n {...props}\n >\n <Text size={size}>{option}</Text>\n <CloseSvg role=\"close-button\" color=\"inherit\" size={IconSizes[size]} onClick={handleClick} />\n </Horizontal>\n );\n};\n\nconst SelectView: React.FC<SelectViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isMulti = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n shape = 'default',\n variant = 'default',\n styles = {\n text: {},\n icon: {},\n dropDown: {},\n selectBox: {},\n label: {},\n helperText: {},\n },\n onChange = () => {},\n setHide = () => {},\n setSelected = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation();\n setHide(!hide);\n setIsFocused(!isFocused);\n };\n\n const handleCallback = useCallback(\n (option: string) => {\n setHide(!hide);\n if (isMulti && Array.isArray(selected)) {\n !selected.includes(option) && setSelected([...selected, option]);\n } else {\n setSelected(option);\n }\n },\n\n [hide, isMulti, selected]\n );\n\n const handleRemoveOption = (selectedOption: string) => {\n if (Array.isArray(selected) && selected.includes(selectedOption)) {\n const newSelected = selected.filter((option) => option !== selectedOption);\n setSelected(newSelected.length === 0 ? [] : newSelected);\n }\n };\n\n return (\n <FieldContainer\n role=\"SelectBox\"\n helperText={helperText}\n error={error}\n styles={styles}\n onClick={isDisabled || isReadOnly ? () => {} : handleClick}\n >\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <HiddenSelect\n id={id}\n name={name}\n options={options}\n onChange={onChange}\n selected={selected}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isMulti={isMulti}\n onFocus={handleFocus}\n {...props}\n />\n <SelectBox\n size={size}\n styles={styles}\n selected={selected}\n isDisabled={isDisabled}\n placeholder={placeholder}\n removeOption={handleRemoveOption}\n />\n </FieldWrapper>\n <FieldIcons>\n {!isReadOnly && !isDisabled && (\n <>\n {hide ? (\n <ArrowDownSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n ) : (\n <ArrowUpSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n )}\n </>\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={options} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default SelectView;\n","import React from 'react';\n\nimport { SelectProps } from './Select.props';\n\nexport const useSelectState = ({ placeholder, isMulti, options }: SelectProps) => {\n const defaultSelected = placeholder ? (isMulti ? [] : '') : options[0];\n\n const [hide, setHide] = React.useState(true);\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [selected, setSelected] = React.useState<string | Array<string>>(defaultSelected);\n return { selected, setSelected, hide, setHide, isHovered, setIsHovered, isFocused, setIsFocused };\n};\n\nexport const useItemState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Switch.type';\n\nexport const KnobSizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 9, width: 9 },\n md: { height: 12, width: 12 },\n lg: { height: 15, width: 15 },\n xl: { height: 18, width: 18 },\n '2xl': { height: 21, width: 21 },\n '3xl': { height: 24, width: 24 },\n '4xl': { height: 27, width: 27 },\n '5xl': { height: 30, width: 30 },\n '6xl': { height: 33, width: 33 },\n};\n\nexport const SliderSizes: Record<Size, CSSProperties> = {\n xs: {\n height: 16,\n width: 28,\n },\n sm: {\n height: 20,\n width: 36,\n },\n md: {\n height: 24,\n width: 44,\n },\n lg: {\n height: 28,\n width: 52,\n },\n xl: {\n height: 32,\n width: 60,\n },\n '2xl': {\n height: 36,\n width: 68,\n },\n '3xl': {\n height: 40,\n width: 76,\n },\n '4xl': {\n height: 44,\n width: 84,\n },\n '5xl': {\n height: 48,\n width: 92,\n },\n '6xl': {\n height: 52,\n width: 100,\n },\n};\n\nexport const SliderPadding: Record<Size, Record<string, number>> = {\n xs: { paddingVertical: 0, paddingHorizontal: 2 },\n sm: { paddingVertical: 0, paddingHorizontal: 3 },\n md: { paddingVertical: 0, paddingHorizontal: 5 },\n lg: { paddingVertical: 0, paddingHorizontal: 6 },\n xl: { paddingVertical: 0, paddingHorizontal: 8 },\n '2xl': { paddingVertical: 0, paddingHorizontal: 9 },\n '3xl': { paddingVertical: 0, paddingHorizontal: 10 },\n '4xl': { paddingVertical: 0, paddingHorizontal: 13 },\n '5xl': { paddingVertical: 0, paddingHorizontal: 15 },\n '6xl': { paddingVertical: 0, paddingHorizontal: 16 },\n};\n","import React from 'react';\nimport { Input } from 'app-studio';\nimport { Label } from '../../../Form/Label/Label';\nimport { View } from '../../../Layout/View/View';\n\nimport { SwitchViewProps } from './Switch.props';\nimport { KnobSizes, SliderPadding, SliderSizes } from './Switch.style';\n\nconst SwitchContent = (props: any) => <Input type=\"checkbox\" {...props} />;\n\nconst SwitchView: React.FC<SwitchViewProps> = ({\n id,\n name,\n inActiveChild,\n activeChild,\n shadow = {},\n size = 'sm',\n colorScheme = 'theme.primary',\n on = false,\n isHovered = false,\n isChecked = false,\n isDisabled = false,\n isReadOnly = false,\n onChange,\n onValueChange,\n setOn = () => {},\n setIsHovered = () => {},\n styles = { slider: {}, circle: {} },\n ...props\n}) => {\n const handleToggle = (event: any) => {\n if (!isReadOnly) {\n setOn(!on);\n if (onChange) onChange(event);\n }\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Label htmlFor={id} onMouseEnter={handleHover} onMouseLeave={handleHover}>\n <SwitchContent\n id={id}\n name={name}\n opacity={0}\n width={0}\n height={0}\n checked={on}\n onChange={handleToggle}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...(onValueChange && { onValueChange: handleToggle })}\n {...props}\n />\n {/* Slide */}\n <View\n display=\"flex\"\n cursor=\"pointer\"\n alignItems=\"center\"\n borderRadius={24}\n filter={isHovered && on ? 'brightness(0.9)' : 'brightness(1)'}\n transition=\"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"\n backgroundColor={isDisabled ? 'disabled' : on ? colorScheme : 'lightgray'}\n justifyContent={activeChild ? 'space-between' : on ? 'flex-end' : 'flex-start'}\n {...shadow}\n {...SliderPadding[size]}\n {...SliderSizes[size]}\n {...styles['slider']}\n >\n {activeChild && on && <View>{activeChild}</View>}\n <View borderRadius=\"50%\" backgroundColor=\"white\" {...KnobSizes[size]} {...styles['circle']} />\n {inActiveChild && !on && <View>{inActiveChild}</View>}\n </View>\n </Label>\n );\n};\n\nexport default SwitchView;\n","import React, { useMemo } from 'react';\nimport { Element, Typography } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldLabel, FieldWrapper } from '../../../Layout/Input';\n\nimport { TextAreaViewProps } from './TextArea.props';\n\nconst TextAreaView: React.FC<TextAreaViewProps> = ({\n id,\n name,\n hint,\n error,\n value,\n label,\n shadow,\n inputValue,\n helperText,\n placeholder,\n defaultValue,\n size = 'sm',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n isHovered = false,\n isFocused = false,\n isEditable = false,\n isReadOnly = false,\n isDisabled = false,\n isAutoFocus = false,\n isMultiline = false,\n maxRows = 3,\n maxCols = 30,\n onBlur = () => {},\n onChange,\n onFocus,\n onChangeText,\n setHint = () => {},\n setInputValue = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n styles = { box: {}, text: {}, label: {}, helperText: {}, field: {} },\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <Element\n as=\"textarea\"\n id={id}\n name={name}\n rows={maxRows}\n cols={maxCols}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n editable={isEditable}\n placeholder={hint}\n onBlur={handleBlur}\n onFocus={handleFocus}\n onChange={handleChange}\n multiline={isMultiline}\n {...fieldStyles}\n {...props}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextAreaView;\n","import React, { useMemo } from 'react';\nimport { Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\nimport { CloseSvg } from '../../../Svg';\n\nimport { TextFieldViewProps } from './TextField.props';\n\nconst TextFieldInput = (props: any) => <Input type=\"text\" {...props} />;\n\nconst TextFieldView: React.FC<TextFieldViewProps> = ({\n id,\n name,\n label,\n value,\n hint,\n inputValue,\n onChange,\n leftChild,\n rightChild,\n helperText,\n placeholder,\n onChangeText,\n shadow = {},\n styles = { box: {}, field: {}, label: {}, helperText: {}, text: {} },\n size = 'md',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n error = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isClearable = true,\n isAutoFocus = false,\n setHint = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n setInputValue = () => {},\n onClick = () => {},\n onFocus,\n onBlur = () => {},\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n padddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n //Web\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const handleClear = () => {\n setInputValue('');\n //Web\n if (onChange) {\n onBlur({ target: { name } });\n onChange({ target: { name, value: '' } });\n }\n //for ios and android\n if (typeof document === 'undefined' && onChangeText) onChangeText('');\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n {leftChild}\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <TextFieldInput\n id={id}\n name={name}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n placeholder={hint}\n onFocus={handleFocus}\n onBlur={handleBlur}\n autoComplete=\"off\"\n {...fieldStyles}\n {...props}\n onChange={handleChange}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n {(rightChild || (isClearable && inputValue)) && (\n <FieldIcons>\n {rightChild && <>{rightChild}</>}\n {isClearable && inputValue && !isReadOnly && !isDisabled && (\n <CloseSvg size={Typography.fontSizes[size]} color={IconColor} onClick={handleClear} />\n )}\n </FieldIcons>\n )}\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextFieldView;\n","import React from 'react';\n\nimport { TextFieldProps } from './TextField/TextField.props';\nimport { useTextFieldState } from './TextField/TextField.state';\nimport TextFieldView from './TextField/TextField.view';\n\nconst TextFieldComponent: React.FC<TextFieldProps> = (props: TextFieldProps) => {\n const textFieldStates = useTextFieldState(props);\n return <TextFieldView {...textFieldStates} {...props} />;\n};\n/**\n * TextField is used to capture text data from users.\n */\nexport const TextField = TextFieldComponent;\n","import { useState } from 'react';\n\nimport { TextFieldProps } from './TextField.props';\n\nexport const useTextFieldState = ({ label, placeholder, value }: TextFieldProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isFocused, setIsFocused] = useState(false);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || '');\n\n return {\n hint,\n setHint,\n isFocused,\n setIsFocused,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n };\n};\n","import { Size, Speed } from './Loader.type';\n\nexport const DefaultEllipsisSpeeds: Record<Speed, number> = {\n fast: 0.4,\n normal: 0.6,\n slow: 0.8,\n};\n\nexport const DefaultSizes: Record<Size, number> = {\n xs: 14,\n sm: 18,\n md: 22,\n lg: 26,\n xl: 30,\n '2xl': 40,\n '3xl': 50,\n '4xl': 60,\n '5xl': 70,\n '6xl': 80,\n};\nexport const DefaultSpeeds: Record<Speed, number> = {\n fast: 50,\n normal: 100,\n slow: 300,\n};\n","import React, { useEffect, useState } from 'react';\nimport { useTheme } from 'app-studio';\nimport { Center, View } from '../..';\n\nimport { DefaultSpinnerProps, DottedProps, LoaderProps, QuarterProps } from '../Loader/Loader.props';\n\nimport { DefaultSizes, DefaultSpeeds } from './Loader.style';\n\nconst DefaultSpinner: React.FC<DefaultSpinnerProps> = ({\n size = 'md',\n speed = 'normal',\n color = 'theme.loading',\n ...props\n}) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke={colorStyle}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M21 12a9 9 0 11-6.219-8.56\"></path>\n </g>\n </svg>\n );\n};\n\nconst Dotted: React.FC<DottedProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"10\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"25\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"40\" cy=\"25\" r=\"4\" fill={colorStyle} />\n </svg>\n );\n};\n\nconst Quarter: React.FC<QuarterProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke={colorStyle} strokeWidth=\"5\" strokeDasharray=\"1,10\" />\n </svg>\n );\n};\nconst LoaderView: React.FC<LoaderProps> = ({\n size,\n children,\n textColor,\n loaderColor,\n type = 'default',\n speed = 'normal',\n textPosition = 'right',\n ...props\n}) => {\n const style = { size, speed, color: loaderColor };\n\n const variants = {\n default: <DefaultSpinner {...style} />,\n dotted: <Dotted {...style} />,\n quarter: <Quarter {...style} />,\n };\n\n return (\n <Center gap={10} flexDirection={textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'} {...props}>\n {(textPosition === 'left' || textPosition === 'top') && children && <View color={textColor}>{children}</View>}\n {variants[type]}\n {(textPosition === 'right' || textPosition === 'bottom') && children && <View color={textColor}>{children}</View>}\n </Center>\n );\n};\n\nexport default LoaderView;\n","import { CSSProperties } from 'react';\n\nimport { Position, Shape, Size } from './Modal.type';\n\nexport const ContainerShapes: Record<Shape, CSSProperties> = {\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n};\nexport const OverlayAlignments: Record<Position, CSSProperties> = {\n center: { justifyContent: 'center', alignItems: 'center' },\n top: { justifyContent: 'center' },\n right: { justifyContent: 'flex-end', alignItems: 'center' },\n bottom: { justifyContent: 'center', alignItems: 'flex-end' },\n left: { alignItems: 'center' },\n};\n\nexport const HeaderIconSizes: Record<Size, number> = {\n xs: 12,\n sm: 16,\n md: 20,\n lg: 24,\n xl: 28,\n};\n","import React from 'react';\n\nimport { ModalType } from './Modal/Modal.props';\nimport { ModalBody, ModalContainer, ModalFooter, ModalHeader, ModalOverlay } from './Modal/Modal.view';\n\n/**\n * It is a custom content overlay that appears on top of the main screen.\n */\n// eslint-disable-next-line react/prop-types\nexport const Modal: ModalType = ({ children }) => <>{children}</>;\n\nModal.Overlay = ModalOverlay;\nModal.Container = ModalContainer;\nModal.Header = ModalHeader;\nModal.Body = ModalBody;\nModal.Footer = ModalFooter;\n\nexport default Modal;\n","import React, { useEffect } from 'react';\nimport { Center, Vertical } from '../..';\nimport { Horizontal } from '../..';\nimport { Button } from '../..';\nimport { View } from '../../Layout/View/View';\nimport { CloseSvg } from '../../Svg';\nimport { useModalStore } from 'src/store/useModalStore';\n\nimport { BodyProps, ContainerProps, FooterProps, HeaderProps, OverlayProps } from '../Modal/Modal.props';\nimport { ContainerShapes, OverlayAlignments } from '../Modal/Modal.style';\nimport { HeaderIconSizes } from '../Modal/Modal.style';\n\nexport const ModalOverlay: React.FC<OverlayProps> = ({\n children,\n blur,\n isOpen = false,\n isClosePrevented = false,\n onClose = () => {},\n position = 'center',\n ...props\n}) => {\n const setOpen = useModalStore((state: any) => state.setOpen);\n const setOnClose = useModalStore((state: any) => state.setOnClose);\n\n useEffect(() => {\n setOnClose(onClose);\n if (isOpen) setOpen();\n });\n\n if (!isOpen) return null;\n\n const handleClick = () => {\n if (!isClosePrevented) onClose();\n };\n\n return (\n <Center\n position=\"fixed\"\n top={0}\n left={0}\n width=\"100%\"\n height=\"100%\"\n zIndex={1000}\n onClick={handleClick}\n visibility={isOpen ? 'visible' : 'hidden'}\n >\n <View\n cursor=\"pointer\"\n position=\"absolute\"\n top={0}\n left={0}\n zIndex={1000}\n width=\"100vw\"\n height=\"100vh\"\n display=\"flex\"\n backgroundColor=\"blackAlpha.500\"\n backdropFilter={blur ? `blur(${blur}px)` : undefined}\n onClick={handleClick}\n {...OverlayAlignments[position]}\n {...props}\n >\n {children}\n </View>\n </Center>\n );\n};\n\nexport const ModalContainer: React.FC<ContainerProps> = ({\n children,\n shadow,\n isFullScreen = false,\n shape = 'rounded',\n ...props\n}) => {\n const defaultShadow =\n typeof document !== undefined\n ? {\n boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)',\n }\n : {\n elevation: 5,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 8,\n };\n\n const handleClick = (event: any) => event.stopPropagation();\n return (\n <Vertical\n cursor=\"default\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n width={isFullScreen ? '100%' : 600}\n height={isFullScreen ? '100%' : 'fit-content'}\n onClick={handleClick}\n {...(shadow ? shadow : defaultShadow)}\n {...ContainerShapes[shape]}\n {...props}\n >\n {children}\n </Vertical>\n );\n};\n\nexport const ModalHeader: React.FC<HeaderProps> = ({\n children,\n buttonColor = 'theme.primary',\n iconSize = 'md',\n buttonPosition = 'right',\n ...props\n}) => {\n const onClose = useModalStore((state: any) => state.onClose);\n\n const buttonIcon = (\n <Button\n onClick={onClose}\n colorScheme=\"transparent\"\n icon={<CloseSvg size={HeaderIconSizes[iconSize]} color={buttonColor} />}\n padding={0}\n margin={0}\n filter=\"none\"\n isAuto\n />\n );\n\n return (\n <Horizontal\n justifyContent={buttonPosition === 'none' ? 'center' : 'space-between'}\n alignItems=\"center\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {buttonPosition === 'left' && buttonIcon}\n {children}\n {buttonPosition === 'right' && buttonIcon}\n </Horizontal>\n );\n};\n\nexport const ModalBody: React.FC<BodyProps> = ({ children, ...props }) => {\n const defaultBorder = {\n borderBottomWidth: 2,\n borderTopWidth: 2,\n borderColor: 'rgba(250, 250, 250, 1)',\n borderStyle: 'solid',\n };\n return (\n <View overflowY=\"auto\" paddingVertical={15} paddingHorizontal={20} {...defaultBorder} {...props}>\n {children}\n </View>\n );\n};\n\nexport const ModalFooter: React.FC<FooterProps> = ({ children, ...props }) => {\n return (\n <Horizontal\n marginTop=\"auto\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import { Headings } from './Text.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { ContentProps, TextProps, TruncateTextProps } from './Text.props';\nimport { HeadingSizes } from './Text.style';\n\nconst TextContent: React.FC<ContentProps> = ({ children, isSub, isSup }) => (\n <>\n {typeof children === 'string' ? (\n <>\n {isSub && <sup>{children}</sup>}\n {isSup && <sup>{children}</sup>}\n {!isSub && !isSup && <>{children}</>}\n </>\n ) : (\n children\n )}\n </>\n);\n\nconst TruncateText: React.FC<TruncateTextProps> = ({ text, maxLines = 1 }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const [content, setContent] = useState(text);\n\n useEffect(() => {\n let textContent = content;\n const textNode = containerRef.current;\n\n if (textNode) {\n const contentHeight = textNode.offsetHeight;\n\n const comLineHeight = getComputedStyle(textNode).lineHeight;\n\n const lineHeight: number = comLineHeight !== 'normal' ? parseFloat(comLineHeight) : 20;\n\n const maxHeight = Math.ceil(lineHeight * maxLines);\n\n if (contentHeight > maxHeight) {\n textContent = textContent.slice(0, -1);\n } else if (contentHeight === maxHeight) {\n if (content.length !== text.length) {\n textContent = textContent.slice(0, -3) + '...';\n }\n }\n\n setContent(textContent);\n }\n }, [maxLines, text, containerRef, content]);\n\n return <div ref={containerRef}>{content}</div>;\n};\n\nconst TextView: React.FC<TextProps> = ({\n children,\n heading,\n maxLines,\n isItalic = false,\n isUnderlined = false,\n isSub = false,\n isSup = false,\n isStriked = false,\n isTruncated = false,\n weight = 'normal',\n size = 'md',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n const noLineBreak = isSub || isSup ? { display: 'inline' } : {};\n\n const fontSize = Typography.fontSizes[size];\n\n return (\n <Element\n role=\"text\"\n fontSize={fontSize}\n lineHeight={Typography.lineHeights[size]}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...noLineBreak}\n {...headingStyles}\n {...props}\n >\n {isTruncated && maxLines && typeof children === 'string' ? (\n <TruncateText text={children} maxLines={maxLines} />\n ) : (\n <TextContent isSub={isSub} isSup={isSup} {...props}>\n {children}\n </TextContent>\n )}\n </Element>\n );\n};\n\nexport default TextView;\n","import React from 'react';\n\nimport { TextProps } from './Text/Text.props';\nimport TextView from './Text/Text.view';\n\nconst TextComponent: React.FC<TextProps> = (props) => {\n return <TextView {...props} />;\n};\n\n/**\n * The Text component is a simple component that renders a text string or paragraphs as a DOM element in the UI. It is a <p> tag by default.\n */\nexport const Text = TextComponent;\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox/Checkbox.props';\nimport { useCheckboxState } from './Checkbox/Checkbox.state';\nimport CheckboxView from './Checkbox/Checkbox.view';\n\nconst CheckboxComponent: React.FC<CheckboxProps> = (props) => {\n const checkboxStates = useCheckboxState(props);\n return <CheckboxView {...checkboxStates} {...props} />;\n};\n\n/**\n * Checkbox allows users to select one or more options from a list of choices.\n */\nexport const Checkbox = CheckboxComponent;\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox.props';\n\nexport const useCheckboxState = ({ defaultIsSelected = false }: CheckboxProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isSelected, setIsSelected] = React.useState<boolean>(defaultIsSelected);\n\n return {\n isHovered,\n setIsHovered,\n isSelected,\n setIsSelected,\n };\n};\n","import React from 'react';\n\nimport { CountryPickerProps } from './CountryPicker/CountryPicker.props';\nimport { useCountryPickerState } from './CountryPicker/CountryPicker.state';\nimport CountryPickerView from './CountryPicker/CountryPicker.view';\n\nconst CountryPickerComponent: React.FC<CountryPickerProps> = (props) => {\n const countryPickerStates = useCountryPickerState(props);\n\n return <CountryPickerView {...countryPickerStates} {...props} />;\n};\n\n/**\n * Country picker allows users to select a country from a dropdown list or search field.\n */\nexport const CountryPicker = CountryPickerComponent;\n","import React from 'react';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerProps } from './CountryPicker.props';\nimport { Country } from './CountryPicker.type';\n\nexport const useCountryPickerState = ({ placeholder }: CountryPickerProps) => {\n const [newOptions, setNewOptions] = React.useState<Array<Country>>(countryList);\n const [selected, setSelected] = React.useState<string>(placeholder ?? countryList[0].name);\n\n const [hide, setHide] = React.useState(true);\n const [isFocused, setIsFocused] = React.useState(false);\n const [isHovered, setIsHovered] = React.useState(false);\n\n return {\n hide,\n setHide,\n newOptions,\n setNewOptions,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n selected,\n setSelected,\n };\n};\n","import React from 'react';\n\nimport { DatePickerProps } from './DatePicker/DatePicker.props';\nimport { useDatePickerState } from './DatePicker/DatePicker.state';\nimport DatePickerView from './DatePicker/DatePicker.view';\n\nconst DatePickerComponent: React.FC<DatePickerProps> = (props) => {\n const datePickerStates = useDatePickerState();\n return <DatePickerView {...datePickerStates} {...props} />;\n};\n\n/**\n * Date picker allows users to select a date from a calendar view.\n */\nexport const DatePicker = DatePickerComponent;\n","import React from 'react';\nimport format from 'date-fns/format';\n\nexport const useDatePickerState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [date, setDate] = React.useState(format(new Date(), 'yyyy-MM-dd'));\n\n return {\n date,\n setDate,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n };\n};\n","import React from 'react';\n\nimport { LoaderProps } from './Loader/Loader.props';\nimport LoaderView from './Loader/Loader.view';\n\nconst LoadingComponent: React.FC<LoaderProps> = (props) => <LoaderView {...props} />;\n\n/**\n * It gives the user an insight about an action being processed. It may have an undefined waiting time or display the process length.\n */\nexport const Loading = LoadingComponent;\n","import React from 'react';\n\nimport { PasswordProps } from './Password/Password.props';\nimport { usePasswordState } from './Password/Password.state';\nimport PasswordView from './Password/Password.view';\n\nconst PasswordComponent: React.FC<PasswordProps> = (props) => {\n const passwordState = usePasswordState();\n return <PasswordView {...passwordState} {...props} />;\n};\n\n/**\n * To allow users to securely enter sensitive information\n */\nexport const Password = PasswordComponent;\n","import { useState } from 'react';\n\nexport const usePasswordState = () => {\n const [isVisible, setIsVisible] = useState(false);\n return { isVisible, setIsVisible };\n};\n","import React from 'react';\n\nimport { SelectProps } from './Select/Select.props';\nimport { useSelectState } from './Select/Select.state';\nimport SelectView from './Select/Select.view';\n\nconst SelectComponent: React.FC<SelectProps> = (props) => {\n const selectStates = useSelectState(props);\n return <SelectView {...selectStates} {...props} />;\n};\n\n/**\n * Select provides a dropdown list of options for the user to choose from.\n */\n\nexport const Select = SelectComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch/Switch.props';\nimport { useSwitchState } from './Switch/Switch.state';\nimport SwitchView from './Switch/Switch.view';\n\nconst SwitchComponent: React.FC<SwitchProps> = (props) => {\n const switchStates = useSwitchState(props);\n return <SwitchView {...switchStates} {...props} />;\n};\n\nexport const Switch = SwitchComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch.props';\n\nexport const useSwitchState = ({ isDisabled, isChecked }: SwitchProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n const [on, setOn] = React.useState(isDisabled ? !isDisabled : isChecked);\n\n return { isHovered, setIsHovered, on, setOn };\n};\n","import React from 'react';\n\nimport { TextAreaProps } from './TextArea/TextArea.props';\nimport { useTextAreaState } from './TextArea/TextArea.state';\nimport TextAreaView from './TextArea/TextArea.view';\n\nconst TextAreaComponent: React.FC<TextAreaProps> = (props) => {\n const textAreaState = useTextAreaState(props);\n return <TextAreaView {...textAreaState} {...props} />;\n};\n\n/**\n * Text Area is an component used to create a multi-line input field.\n */\nexport const TextArea = TextAreaComponent;\n","import { useState } from 'react';\n\nimport { TextAreaProps } from './TextArea.props';\n\nexport const useTextAreaState = ({ label, placeholder, defaultValue, value }: TextAreaProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || defaultValue || '');\n const [isFocused, setIsFocused] = useState(false);\n\n return {\n hint,\n setHint,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n isFocused,\n setIsFocused,\n };\n};\n"],"names":["CenterView","_ref","children","wrap","props","_objectWithoutPropertiesLoose","_excluded","React","View","display","justifyContent","alignItems","flexWrap","Center","ArrowDownSvg","_ref$size","size","width","height","viewBox","version","fill","id","strokeWidth","strokeLinecap","strokeLinejoin","stroke","fillRule","transform","d","ArrowUpSvg","CheckSvg","_ref$color","color","xmlns","CloseSvg","ExternalLinkSvg","IndeterminateSvg","IconSizes","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","LinkView","_ref$href","href","_ref$iconSize","iconSize","_ref$underline","underline","_ref$isHovered","isHovered","_ref$isExternal","isExternal","_ref$colorScheme","colorScheme","_ref$styles","styles","icon","text","_ref$setIsHovered","setIsHovered","handleHover","ReactRouterLink","to","target","Element","onMouseEnter","onMouseLeave","textDecoration","Horizontal","gap","style","Link","_useState","linkStates","useState","ButtonSizes","paddingTop","paddingBottom","paddingLeft","paddingRight","fontWeight","fontSize","lineHeight","letterSpacing","ButtonShapes","sharp","rounded","pillShaped","padding","ButtonView","shadow","ariaLabel","externalHref","_ref$isAuto","isAuto","_ref$isFilled","isFilled","_ref$isIconRounded","isIconRounded","_ref$isLoading","isLoading","_ref$isDisabled","isDisabled","_ref$variant","variant","_ref$iconPosition","iconPosition","_ref$shape","shape","_ref$onClick","onClick","isActive","defaultNativeProps","disabled","buttonColor","buttonSizeStyles","buttonVariant","filled","backgroundColor","outline","borderWidth","borderStyle","borderColor","link","border","textDecorationLine","ghost","scaleWidth","changePadding","content","as","role","borderRadius","_props$onClick","cursor","textDecorationColor","Button","_React$useState","_useButtonState","filter","HeadingSizes","h1","h2","h3","h4","h5","h6","LabelView","heading","_ref$isItalic","isItalic","_ref$isUnderlined","isUnderlined","_ref$isStriked","isStriked","_ref$weight","weight","fontStyle","Typography","fontWeights","Label","Sizes","CheckboxView","name","label","isChecked","onChange","onValueChange","_ref$shadow","_ref$error","error","_ref$isSelected","isSelected","_ref$isReadOnly","isReadOnly","_ref$isIndeterminate","isIndeterminate","_ref$defaultIsSelecte","setIsSelected","_ref$setIsSelected","checkbox","checkboxStyle","container","Object","assign","undefined","htmlFor","fontSizes","VerticalView","_ref$wrap","_ref$justify","justify","_ref$isReversed","isReversed","flexDirection","Vertical","HelperText","helperText","Text","marginVertical","marginHorizontal","FieldContainer","position","Shapes","default","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","LabelSizes","InputVariants","borderBottomWidth","unStyled","PadddingWithLabel","PaddingWithoutLabel","paddingVertical","HorizontalView","FieldContent","value","_ref$isWithLabel","isWithLabel","_ref$isFocused","isFocused","pickerBox","transition","FieldIcons","top","right","zIndex","FieldLabel","whiteSpace","FieldWrapper","CountryList","CountrySelector","Input","type","CountryItem","DropDownItem","option","_ref$callback","callback","margin","listStyleType","paddingHorizontal","event","stopPropagation","DropDown","_ref2","_ref2$styles","dropDown","options","_ref2$callback","handleCallback","overflow","maxHeight","boxShadow","map","key","code","CountryPickerView","_ref3","selected","placeholder","_ref3$hide","hide","_ref3$error","_ref3$isHovered","_ref3$isFocused","_ref3$isAutoFocus","isAutoFocus","_ref3$isDisabled","_ref3$isReadOnly","_ref3$shadow","_ref3$newOptions","newOptions","_ref3$size","_ref3$variant","_ref3$shape","_ref3$colorScheme","_ref3$onBlur","onBlur","_ref3$setHide","setHide","_ref3$setNewOptions","setNewOptions","_ref3$setIsHovered","_ref3$setIsFocused","setIsFocused","_ref3$setSelected","setSelected","_ref3$styles","box","IconColor","getColor","useTheme","useEffect","fieldStyles","paddingVerical","paddingHorizonatl","heigth","on","focus","readOnly","autoFocus","onFocus","selectedCountry","filteredCountries","countryList","country","toLowerCase","startsWith","DatePickerContent","DatePickerView","date","field","_ref$setDate","setDate","_ref$setIsFocused","onChangeText","handleDateChange","PasswordView","visibleIcon","hiddenIcon","_ref$isVisible","isVisible","_ref$setIsVisible","setIsVisible","TextField","rightChild","isClearable","Item","handleOptionClick","SelectBox","_ref2$removeOption","removeOption","_ref2$size","length","MultiSelect","HiddenSelect","_ref3$isMulti","isMulti","_ref3$options","_excluded2","opacity","multiple","_ref4","_React$useState5","_ref4$styles","_ref4$callback","itemStates","document","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","overflowY","marginTop","marginLeft","marginRight","marginBottom","_ref5","_ref5$size","_ref5$removeOption","_excluded3","SelectView","_ref6","_ref6$hide","_ref6$error","_ref6$isMulti","_ref6$isFocused","_ref6$isHovered","_ref6$isDisabled","_ref6$isReadOnly","_ref6$options","_ref6$shadow","_ref6$size","_ref6$colorScheme","_ref6$shape","_ref6$variant","_ref6$styles","selectBox","_ref6$onChange","_ref6$setHide","_ref6$setSelected","_ref6$setIsHovered","_ref6$setIsFocused","_excluded4","useCallback","Array","isArray","includes","concat","selectedOption","newSelected","KnobSizes","SliderSizes","SliderPadding","SwitchContent","SwitchView","inActiveChild","activeChild","_ref$on","_ref$isChecked","_ref$setOn","setOn","slider","circle","handleToggle","checked","TextAreaView","hint","inputValue","defaultValue","_ref$isEditable","isEditable","_ref$isAutoFocus","_ref$isMultiline","isMultiline","_ref$maxRows","maxRows","_ref$maxCols","maxCols","_ref$onBlur","_ref$setHint","setHint","_ref$setInputValue","setInputValue","useMemo","handleChange","rows","cols","editable","multiline","TextFieldInput","TextFieldView","leftChild","_ref$isClearable","padddingHorizontal","autoComplete","_useState2","_useState3","_useState4","textFieldStates","DefaultSizes","DefaultSpeeds","fast","normal","slow","DefaultSpinner","_ref$speed","speed","colorStyle","sizeStyle","angle","setAngle","intervalId","setInterval","prevAngle","clearInterval","Dotted","_ref2$speed","_ref2$color","cx","cy","r","Quarter","_ref3$speed","_ref3$color","strokeDasharray","LoaderView","textColor","loaderColor","_ref4$type","_ref4$speed","_ref4$textPosition","textPosition","variants","dotted","quarter","ContainerShapes","OverlayAlignments","center","bottom","left","HeaderIconSizes","Modal","Overlay","blur","_ref$isOpen","isOpen","_ref$isClosePrevented","isClosePrevented","_ref$onClose","onClose","_ref$position","setOpen","useModalStore","state","setOnClose","handleClick","visibility","backdropFilter","Container","_ref2$isFullScreen","isFullScreen","_ref2$shape","defaultShadow","Header","_ref3$buttonColor","_ref3$iconSize","_ref3$buttonPosition","buttonPosition","buttonIcon","Body","borderTopWidth","Footer","_excluded5","TextContent","isSub","isSup","TruncateText","_ref2$maxLines","maxLines","containerRef","useRef","setContent","textContent","textNode","current","contentHeight","offsetHeight","comLineHeight","getComputedStyle","parseFloat","Math","ceil","slice","ref","TextView","_ref3$isItalic","_ref3$isUnderlined","_ref3$isSub","_ref3$isSup","_ref3$isStriked","_ref3$isTruncated","isTruncated","_ref3$weight","lineHeights","defaultIsSelected","_React$useState2","checkboxStates","_React$useState3","_React$useState4","countryPickerStates","datePickerStates","format","Date","passwordState","defaultSelected","selectStates","switchStates","textAreaState"],"mappings":"gwBAEO,0BCIDA,EAAoC,SAA1BC,GAAA,IAA6BC,EAAQD,EAARC,SAAUC,EAAIF,EAAJE,KAASC,EAAKC,EAAAJ,EAAAK,GAAA,OACnEC,gBAACC,sBAAKC,QAAQ,OAAOC,eAAe,SAASC,WAAW,SAASC,SAAUT,GAAUC,GAClFF,ICEQW,EAFkC,SAACT,GAAK,OAAKG,gBAACP,mBAAeI,wBCE7DU,EAAmC,SAAvBb,GAAA,IAAAc,EAAAd,EAA0Be,KAAAA,WAAID,EAAG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vB,WAPFuY,EAAkC9W,YAAS,OAQzCf,aAR4B6X,KAS5B5B,YARF6B,EAAoC/W,WAASgJ,GAASmM,GAAgB,QASpEc,cAT8Bc,KAU9B3N,WATF4N,EAAkChX,YAAS,OAUzCqN,aAV4B2J,ODA9B,OAAO3b,gBAAC2Z,oBAAiBwJ,EAAmBtjB"}
1
+ {"version":3,"file":"web.cjs.production.min.js","sources":["../src/components/Link/Link/Link.state.ts","../src/components/Layout/Horizontal/Horizontal/Horizontal.view.tsx","../src/components/Layout/Horizontal/Horizontal.tsx","../src/components/Layout/Center/Center/Center.view.tsx","../src/components/Layout/Center/Center.tsx","../src/components/Svg/ArrowDown.tsx","../src/components/Svg/ArrowUp.tsx","../src/components/Svg/Check.tsx","../src/components/Svg/Close.tsx","../src/components/Svg/ExternalLink.tsx","../src/components/Svg/Indeterminate.tsx","../src/components/Link/Link/Link.style.ts","../src/components/Link/Link/Link.view.tsx","../src/components/Link/Link.tsx","../src/components/Button/Button/Button.style.ts","../src/components/Button/Button/Button.view.tsx","../src/components/Button/Button.tsx","../src/components/Button/Button/Button.state.ts","../src/components/Form/Label/Label/Label.style.ts","../src/components/Form/Label/Label/Label.view.tsx","../src/components/Form/Label/Label.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.style.ts","../src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx","../src/components/Layout/Vertical/Vertical/Vertical.view.tsx","../src/components/Layout/Vertical/Vertical.tsx","../src/components/Text/Text/Text.style.ts","../src/components/Text/Text/Text.view.tsx","../src/components/Text/Text.tsx","../src/components/Layout/Input/HelperText/HelperText.tsx","../src/components/Layout/Input/FieldContainer/FieldContainer.tsx","../src/components/Layout/configs/Input.style.ts","../src/components/Layout/Input/FieldContent/FieldContent.tsx","../src/components/Layout/Input/FieldIcons/FieldIcons.tsx","../src/components/Layout/Input/FieldLabel/FieldLabel.tsx","../src/components/Layout/Input/FieldWrapper/FieldWrapper.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.style.ts","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.view.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.view.tsx","../src/components/Form/TextField/TextField/TextField.view.tsx","../src/components/Form/TextField/TextField.tsx","../src/components/Form/TextField/TextField/TextField.state.ts","../src/components/Form/Password/Password/Password.view.tsx","../src/components/Form/Select/Select/Select.style.ts","../src/components/Form/Select/Select/Select.view.tsx","../src/components/Form/Select/Select/Select.state.ts","../src/components/Form/Switch/Switch/Switch.style.ts","../src/components/Form/Switch/Switch/Switch.view.tsx","../src/components/Form/TextArea/TextArea/TextArea.view.tsx","../src/components/Loader/Loader/Loader.style.ts","../src/components/Loader/Loader/Loader.view.tsx","../src/components/Modal/Modal/Modal.style.ts","../src/components/Modal/Modal.tsx","../src/components/Modal/Modal/Modal.view.tsx","../src/components/Form/Checkbox/Checkbox.tsx","../src/components/Form/Checkbox/Checkbox/Checkbox.state.ts","../src/components/Form/CountryPicker/CountryPicker.tsx","../src/components/Form/CountryPicker/CountryPicker/CountryPicker.state.ts","../src/components/Form/DatePicker/DatePicker.tsx","../src/components/Form/DatePicker/DatePicker/DatePicker.state.ts","../src/components/Loader/Loader.tsx","../src/components/Form/Password/Password.tsx","../src/components/Form/Password/Password/Password.state.ts","../src/components/Form/Select/Select.tsx","../src/components/Form/Switch/Switch.tsx","../src/components/Form/Switch/Switch/Switch.state.ts","../src/components/Form/TextArea/TextArea.tsx","../src/components/Form/TextArea/TextArea/TextArea.state.ts"],"sourcesContent":["import { useState } from 'react';\n\nexport const useLinkState = () => {\n const [isHovered, setIsHovered] = useState(false);\n return { isHovered, setIsHovered };\n};\n","import React from 'react';\nimport { View } from '../../../Layout/View/View';\n\nimport { HorizontalProps } from './Horizontal.props';\n\nconst HorizontalView: React.FC<HorizontalProps> = ({\n children,\n wrap = 'wrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'row-reverse' : 'row'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\n\nexport default HorizontalView;\n","import React from 'react';\n\nimport { HorizontalProps } from './Horizontal/Horizontal.props';\nimport HorizontalView from './Horizontal/Horizontal.view';\n\n/**\n * Horizontal layout aligns all the elements in a container on the horizontal axis.\n */\nconst HorizontalComponent: React.FC<HorizontalProps> = (props) => <HorizontalView {...props} />;\n\nexport const Horizontal = HorizontalComponent;\n","import React from 'react';\n\nimport { View } from '../../View/View';\n\nimport { CenterProps } from './Center.props';\n\nconst CenterView: React.FC<CenterProps> = ({ children, wrap, ...props }) => (\n <View display=\"flex\" justifyContent=\"center\" alignItems=\"center\" flexWrap={wrap} {...props}>\n {children}\n </View>\n);\n\nexport default CenterView;\n","import React from 'react';\n\nimport { CenterProps } from './Center/Center.props';\nimport CenterView from './Center/Center.view';\n\n/**\n * The Center component is a React functional component that provides a centered layout for its children using flexbox.\n */\nconst CenterComponent: React.FC<CenterProps> = (props) => <CenterView {...props} />;\n\nexport const Center = CenterComponent;\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ArrowDownSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg viewBox=\"0 -4.5 20 20\" version=\"1.1\" fill=\"#000000\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <title>arrow_down [#338]</title> <desc>Created with Sketch.</desc>\n <defs> </defs>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"Dribbble-Light-Preview\" transform=\"translate(-220.000000, -6684.000000)\" fill=\"#000000\">\n <g id=\"icons\" transform=\"translate(56.000000, 160.000000)\">\n <path\n d=\"M164.292308,6524.36583 L164.292308,6524.36583 C163.902564,6524.77071 163.902564,6525.42619 164.292308,6525.83004 L172.555873,6534.39267 C173.33636,6535.20244 174.602528,6535.20244 175.383014,6534.39267 L183.70754,6525.76791 C184.093286,6525.36716 184.098283,6524.71997 183.717533,6524.31405 C183.328789,6523.89985 182.68821,6523.89467 182.29347,6524.30266 L174.676479,6532.19636 C174.285736,6532.60124 173.653152,6532.60124 173.262409,6532.19636 L165.705379,6524.36583 C165.315635,6523.96094 164.683051,6523.96094 164.292308,6524.36583\"\n id=\"arrow_down-[#338]\"\n ></path>\n </g>\n </g>\n </g>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ArrowUpSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg width={`${size}px`} height={`${size}px`} viewBox=\"0 -4.5 20 20\" version=\"1.1\" fill=\"#000000\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <title>arrow_up [#337]</title> <desc>Created with Sketch.</desc>\n <defs> </defs>\n <g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n <g id=\"Dribbble-Light-Preview\" transform=\"translate(-260.000000, -6684.000000)\" fill=\"#000000\">\n <g id=\"icons\" transform=\"translate(56.000000, 160.000000)\">\n <path\n d=\"M223.707692,6534.63378 L223.707692,6534.63378 C224.097436,6534.22888 224.097436,6533.57338 223.707692,6533.16951 L215.444127,6524.60657 C214.66364,6523.79781 213.397472,6523.79781 212.616986,6524.60657 L204.29246,6533.23165 C203.906714,6533.6324 203.901717,6534.27962 204.282467,6534.68555 C204.671211,6535.10081 205.31179,6535.10495 205.70653,6534.69695 L213.323521,6526.80297 C213.714264,6526.39807 214.346848,6526.39807 214.737591,6526.80297 L222.294621,6534.63378 C222.684365,6535.03868 223.317949,6535.03868 223.707692,6534.63378\"\n id=\"arrow_up-[#337]\"\n ></path>\n </g>\n </g>\n </g>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const CheckSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\" />\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\" stroke=\"#CCCCCC\" strokeWidth=\"0.048\" />\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M17.0001 9L10 16L7 13\" stroke={color} strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\" />\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const CloseSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 1024 1024\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"#000000\"\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path\n fill={color}\n d=\"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z\"\n ></path>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const ExternalLinkSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg\n fill={color}\n width={`${size}px`}\n height={`${size}px`}\n viewBox=\"0 0 50 50\"\n xmlns=\"http://www.w3.org/2000/svg\"\n stroke={color}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M38.288 10.297l1.414 1.415-14.99 14.99-1.414-1.414z\"></path>\n <path d=\"M40 20h-2v-8h-8v-2h10z\"></path>\n <path d=\"M35 38H15c-1.7 0-3-1.3-3-3V15c0-1.7 1.3-3 3-3h11v2H15c-.6 0-1 .4-1 1v20c0 .6.4 1 1 1h20c.6 0 1-.4 1-1V24h2v11c0 1.7-1.3 3-3 3z\"></path>\n </g>\n </svg>\n </Center>\n);\n","import React from 'react';\n\nimport { Center } from '../Layout/Center/Center';\n\ninterface SvgProps {\n size?: number;\n color?: string;\n [x: string]: any;\n}\n\nexport const IndeterminateSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (\n <Center width={`${size}px`} height={`${size}px`}>\n <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M7 12L17 12\" stroke={color} strokeWidth=\"1.5\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></path>{' '}\n </g>\n </svg>\n </Center>\n);\n","import { Size } from './Link.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 12,\n sm: 14,\n md: 16,\n lg: 18,\n xl: 20,\n '2xl': 24,\n '3xl': 30,\n '4xl': 36,\n '5xl': 48,\n '6xl': 64,\n};\n","import React from 'react';\nimport { Element } from 'app-studio';\nimport { Link as ReactRouterLink } from 'react-router-dom';\nimport { Horizontal } from '../../Layout/Horizontal/Horizontal';\nimport { ExternalLinkSvg } from '../../Svg';\n\nimport { LinkViewProps } from './Link.props';\nimport { IconSizes } from './Link.style';\n\nconst LinkView: React.FC<LinkViewProps> = ({\n children,\n href = '/',\n iconSize = 'sm',\n underline = 'default',\n isHovered = false,\n isExternal = false,\n colorScheme = '#0072F5',\n styles = { icon: {}, text: {} },\n setIsHovered = () => {},\n ...props\n}) => {\n const handleHover = () => {\n if (underline === 'hover') setIsHovered(true);\n };\n return (\n <ReactRouterLink to={href} target={isExternal ? '_blank' : '_self'}>\n <Element\n color={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n textDecoration={isHovered || underline === 'underline' ? 'underline !important' : 'none'}\n {...styles.text}\n {...props}\n >\n <Horizontal gap={3} alignItems=\"center\" wrap=\"nowrap\">\n {children}\n {isExternal && <ExternalLinkSvg color={colorScheme} size={IconSizes[iconSize]} style={styles.icon} />}\n </Horizontal>\n </Element>\n </ReactRouterLink>\n );\n};\n\nexport default LinkView;\n","import React from 'react';\n\nimport { LinkProps } from './Link/Link.props';\nimport { useLinkState } from './Link/Link.state';\nimport LinkView from './Link/Link.view';\n\nconst LinkComponent: React.FC<LinkProps> = (props) => {\n const linkStates = useLinkState();\n return <LinkView {...linkStates} {...props} />;\n};\n\n/**\n * Link allows users to navigate from page to page. It have a similar appearance as the hyperlink.\n */\nexport const Link = LinkComponent;\n","import { CSSProperties } from 'react';\n\nimport { Shape, Size } from './Button.type';\n\nexport const ButtonSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 79,\n paddingTop: 8,\n paddingBottom: 8,\n paddingLeft: 12,\n paddingRight: 12,\n fontWeight: 600,\n fontSize: 'xs',\n lineHeight: 16,\n letterSpacing: 1.25,\n },\n sm: {\n width: 128,\n paddingTop: 10,\n paddingBottom: 10,\n paddingLeft: 16,\n paddingRight: 16,\n fontWeight: 600,\n fontSize: 'sm',\n lineHeight: 20,\n letterSpacing: 1.25,\n },\n md: {\n width: 144,\n paddingTop: 12,\n paddingBottom: 12,\n paddingLeft: 18,\n paddingRight: 18,\n fontWeight: 600,\n fontSize: 'md',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n lg: {\n width: 178,\n paddingTop: 14,\n paddingBottom: 14,\n paddingLeft: 22,\n paddingRight: 22,\n fontWeight: 600,\n fontSize: 'lg',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n xl: {\n width: 220,\n paddingTop: 16,\n paddingBottom: 16,\n paddingLeft: 26,\n paddingRight: 26,\n fontWeight: 600,\n fontSize: 'xl',\n lineHeight: 24,\n letterSpacing: 1.25,\n },\n};\n\nexport const ButtonShapes: Record<Shape, number | string> = {\n sharp: 0,\n rounded: 4,\n pillShaped: 24,\n};\n\nexport const IconSizes: Record<Size, CSSProperties> = {\n xs: {\n width: 24,\n height: 24,\n padding: 12,\n },\n sm: {\n width: 24,\n height: 24,\n padding: 15,\n },\n md: {\n width: 36,\n height: 36,\n padding: 15,\n },\n lg: {\n width: 36,\n height: 36,\n padding: 18,\n },\n xl: {\n width: 36,\n height: 36,\n padding: 24,\n },\n};\n","import React, { CSSProperties } from 'react';\nimport { Element } from 'app-studio';\n\nimport { Link } from './../../Link/Link';\nimport { ButtonProps } from './Button.props';\nimport { ButtonShapes, ButtonSizes, IconSizes } from './Button.style';\nimport { Variant } from './Button.type';\n\nconst ButtonView: React.FC<ButtonProps> = ({\n icon,\n shadow,\n children,\n ariaLabel,\n externalHref,\n isAuto = false,\n isFilled = false,\n isIconRounded = false,\n isLoader = false,\n isDisabled = false,\n size = 'md',\n variant = 'filled',\n iconPosition = 'left',\n colorScheme = 'theme.primary',\n shape = 'rounded',\n onClick = () => {},\n ...props\n}) => {\n const isActive = !(isDisabled || isLoader);\n\n const defaultNativeProps = { disabled: !isActive };\n\n const buttonColor = isActive ? colorScheme : 'theme.disabled';\n\n const ButtonVariants: Record<Variant, CSSProperties> = {\n filled: {\n backgroundColor: buttonColor,\n color: 'color.white',\n },\n outline: {\n backgroundColor: 'transparent',\n borderWidth: 1,\n borderStyle: 'solid',\n borderColor: colorScheme,\n color: buttonColor,\n },\n link: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n textDecorationLine: 'underline',\n },\n ghost: {\n backgroundColor: 'transparent',\n border: 'none',\n color: buttonColor,\n },\n };\n\n const buttonSizeStyles = ButtonSizes[size];\n\n const buttonVariant = ButtonVariants[variant];\n\n const scaleWidth = {\n width: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width,\n };\n\n const changePadding = {\n padding: isIconRounded ? IconSizes[size].padding : ButtonSizes[size].padding,\n };\n\n const content = (\n <>\n {icon && iconPosition === 'left' && !isLoader && icon}\n {children}\n {icon && iconPosition === 'right' && !isLoader && icon}\n </>\n );\n\n return (\n <Element\n gap={8}\n as=\"button\"\n role=\"button\"\n border=\"none\"\n color=\"color.white\"\n display=\"flex\"\n alignItems=\"center\"\n justifyContent=\"center\"\n ariaLabel={ariaLabel}\n backgroundColor={buttonColor}\n borderRadius={ButtonShapes[shape]}\n onClick={props.onClick ?? onClick}\n cursor={isActive ? 'pointer' : 'default'}\n {...defaultNativeProps} // set default native html button properties\n {...buttonSizeStyles} // set default width, paddings and fonts\n {...buttonVariant} // changes default background color, color and border\n {...scaleWidth} //changes the actual fixed width when isAuto or isFilled are true\n {...changePadding} // changes the actual padding when variant equals to circled\n {...shadow}\n {...props}\n >\n {variant === 'link' && externalHref ? (\n <Link href={externalHref} textDecorationColor={colorScheme} colorScheme={colorScheme} isExternal>\n {content}\n </Link>\n ) : (\n content\n )}\n </Element>\n );\n};\n\nexport default ButtonView;\n","import React from 'react';\n\nimport { ButtonProps } from './Button/Button.props';\nimport { useButtonState } from './Button/Button.state';\nimport ButtonView from './Button/Button.view';\n\nconst ButtonComponent: React.FC<ButtonProps> = (props: any) => {\n const { isHovered, setIsHovered } = useButtonState();\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <ButtonView\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n filter={isHovered ? 'brightness(0.85)' : 'brightness(1)'}\n {...props}\n />\n );\n};\n\n/**\n * Buttons allow us to trigger an event or an action with a single click.\n */\nexport const Button = ButtonComponent;\n","import React from 'react';\n\nexport const useButtonState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { Headings } from './Label.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { LabelProps } from './Label.props';\nimport { HeadingSizes } from './Label.style';\n\nconst LabelView: React.FC<LabelProps> = ({\n children,\n heading,\n isItalic = false,\n isUnderlined = false,\n isStriked = false,\n weight = 'normal',\n size = 'sm',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n return (\n <Element\n as=\"label\"\n width=\"100%\"\n fontSize={size}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...headingStyles}\n {...props}\n >\n {children}\n </Element>\n );\n};\n\nexport default LabelView;\n","import React from 'react';\n\nimport { LabelProps } from './Label/Label.props';\nimport LabelView from './Label/Label.view';\n\nconst LabelComponent: React.FC<LabelProps> = (props) => <LabelView {...props} />;\n\nexport const Label = LabelComponent;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Checkbox.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 8, width: 8 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n '2xl': { height: 36, width: 36 },\n '3xl': { height: 42, width: 42 },\n '4xl': { height: 48, width: 48 },\n '5xl': { height: 54, width: 54 },\n '6xl': { height: 60, width: 60 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 6,\n sm: 12,\n md: 18,\n lg: 24,\n xl: 30,\n '2xl': 36,\n '3xl': 42,\n '4xl': 48,\n '5xl': 54,\n '6xl': 60,\n};\n","import React from 'react';\nimport { Typography } from 'app-studio';\nimport { Center } from '../../../Layout/Center/Center';\nimport { Label } from '../../../Form/Label/Label';\nimport { CheckSvg, IndeterminateSvg } from '../../../Svg';\n\nimport { CheckboxViewProps } from './Checkbox.props';\nimport { IconSizes, Sizes } from './Checkbox.style';\n\nconst CheckboxView: React.FC<CheckboxViewProps> = ({\n id,\n icon,\n name,\n label,\n isChecked,\n onChange,\n onValueChange,\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n error = false,\n isSelected = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isIndeterminate = false,\n defaultIsSelected = false,\n setIsSelected = () => {},\n setIsHovered = () => {},\n styles = { checkbox: {}, label: {} },\n ...props\n}) => {\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleChange = () => {\n if (!isReadOnly && !isDisabled) {\n if (isChecked === undefined) {\n setIsSelected(!isSelected);\n } else {\n if (onChange) onChange(!isChecked);\n if (onValueChange) onValueChange(!isChecked);\n }\n }\n };\n\n const checkboxStyle = {\n container: {\n gap: 10,\n display: 'flex',\n alignItems: 'center',\n height: 'fit-content',\n width: 'fit-content',\n color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer',\n ...styles['label'],\n },\n checkbox: {\n ...(isDisabled\n ? { backgroundColor: 'theme.disabled' }\n : ((isChecked || isSelected) && !isIndeterminate) || isIndeterminate\n ? { backgroundColor: colorScheme }\n : {\n borderWidth: 2,\n borderColor: error ? 'theme.error' : isHovered ? 'color.gray.500' : 'color.gray.300',\n borderStyle: 'solid',\n }),\n borderRadius: 3,\n filter: isHovered ? 'brightness(0.9)' : undefined,\n ...Sizes[size],\n ...shadow,\n ...styles['checkbox'],\n },\n };\n\n return (\n <Label\n htmlFor={id}\n as=\"div\"\n onClick={handleChange}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n size={Typography.fontSizes[size]}\n {...checkboxStyle.container}\n {...props}\n >\n <Center {...checkboxStyle.checkbox}>\n {isIndeterminate ? (\n <IndeterminateSvg />\n ) : (\n (isChecked || isSelected) && (icon ?? <CheckSvg size={IconSizes[size]} />)\n )}\n </Center>\n {label}\n </Label>\n );\n};\n\nexport default CheckboxView;\n","import React from 'react';\nimport { View } from 'app-studio';\n\nimport { VerticalProps } from './Vertical.props';\n\nconst VerticalView: React.FC<VerticalProps> = ({\n children,\n wrap = 'nowrap',\n justify = 'flex-start',\n isReversed = false,\n ...props\n}) => (\n <View\n display=\"flex\"\n flexWrap={wrap}\n flexDirection={isReversed ? 'column-reverse' : 'column'}\n justifyContent={justify}\n {...props}\n >\n {children}\n </View>\n);\nexport default VerticalView;\n","import React from 'react';\n\nimport { VerticalProps } from './Vertical/Vertical.props';\nimport VerticalView from './Vertical/Vertical.view';\n\n/**\n * Vertical layout aligns all the elements in a container on the vertical axis.\n */\n\nconst VerticalComponent: React.FC<VerticalProps> = (props) => <VerticalView {...props} />;\n\nexport const Vertical = VerticalComponent;\n","import { Headings } from './Text.type';\n\nexport const HeadingSizes: Record<Headings, Record<string, number | string>> = {\n h1: {\n fontSize: 96,\n lineHeight: 112,\n letterSpacing: -1.5,\n },\n h2: {\n fontSize: 60,\n lineHeight: 71,\n letterSpacing: -0.5,\n },\n h3: {\n fontSize: 48,\n lineHeight: 57,\n letterSpacing: 0,\n },\n h4: {\n fontSize: 34,\n lineHeight: 40,\n letterSpacing: 0.25,\n },\n h5: {\n fontSize: 24,\n lineHeight: 28,\n letterSpacing: 0,\n },\n h6: {\n fontSize: 20,\n lineHeight: 24,\n letterSpacing: 0.15,\n },\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport { Element, Typography } from 'app-studio';\n\nimport { ContentProps, TextProps, TruncateTextProps } from './Text.props';\nimport { HeadingSizes } from './Text.style';\n\nconst TextContent: React.FC<ContentProps> = ({ children, isSub, isSup }) => (\n <>\n {typeof children === 'string' ? (\n <>\n {isSub && <sup>{children}</sup>}\n {isSup && <sup>{children}</sup>}\n {!isSub && !isSup && <>{children}</>}\n </>\n ) : (\n children\n )}\n </>\n);\n\nconst TruncateText: React.FC<TruncateTextProps> = ({ text, maxLines = 1 }) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const [content, setContent] = useState(text);\n\n useEffect(() => {\n let textContent = content;\n const textNode = containerRef.current;\n\n if (textNode) {\n const contentHeight = textNode.offsetHeight;\n\n const comLineHeight = getComputedStyle(textNode).lineHeight;\n\n const lineHeight: number = comLineHeight !== 'normal' ? parseFloat(comLineHeight) : 20;\n\n const maxHeight = Math.ceil(lineHeight * maxLines);\n\n if (contentHeight > maxHeight) {\n textContent = textContent.slice(0, -1);\n } else if (contentHeight === maxHeight) {\n if (content.length !== text.length) {\n textContent = textContent.slice(0, -3) + '...';\n }\n }\n\n setContent(textContent);\n }\n }, [maxLines, text, containerRef, content]);\n\n return <div ref={containerRef}>{content}</div>;\n};\n\nconst TextView: React.FC<TextProps> = ({\n children,\n heading,\n maxLines,\n isItalic = false,\n isUnderlined = false,\n isSub = false,\n isSup = false,\n isStriked = false,\n isTruncated = false,\n weight = 'normal',\n size = 'md',\n ...props\n}) => {\n const headingStyles = heading ? HeadingSizes[heading] : {};\n\n const noLineBreak = isSub || isSup ? { display: 'inline' } : {};\n\n const fontSize = Typography.fontSizes[size];\n\n return (\n <Element\n role=\"text\"\n fontSize={fontSize}\n lineHeight={Typography.lineHeights[size]}\n fontStyle={isItalic ? 'italic' : 'normal'}\n fontWeight={Typography.fontWeights[weight]}\n textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}\n {...noLineBreak}\n {...headingStyles}\n {...props}\n >\n {isTruncated && maxLines && typeof children === 'string' ? (\n <TruncateText text={children} maxLines={maxLines} />\n ) : (\n <TextContent isSub={isSub} isSup={isSup} {...props}>\n {children}\n </TextContent>\n )}\n </Element>\n );\n};\n\nexport default TextView;\n","import React from 'react';\n\nimport { TextProps } from './Text/Text.props';\nimport TextView from './Text/Text.view';\n\nconst TextComponent: React.FC<TextProps> = (props) => {\n return <TextView {...props} />;\n};\n\n/**\n * The Text component is a simple component that renders a text string or paragraphs as a DOM element in the UI. It is a <p> tag by default.\n */\nexport const Text = TextComponent;\n","import React from 'react';\nimport { Text } from '../../../Text/Text';\n\nimport { HelperTextProps } from './HelperText.props';\n\nexport const HelperText: React.FC<HelperTextProps> = ({\n children,\n styles = { helperText: {} },\n error = false,\n ...props\n}) => (\n <Text\n size=\"xs\"\n marginVertical={0}\n marginHorizontal={0}\n color={error ? 'theme.error' : 'theme.text.dark'}\n {...(styles['helperText'] as any)}\n {...props}\n >\n {children}\n </Text>\n);\n","import React from 'react';\n\nimport { Vertical } from '../../Vertical/examples';\nimport { HelperText } from '../HelperText/HelperText';\n\nimport { ContainerProps } from './FieldContainer/FieldContainer.props';\n\nexport const FieldContainer: React.FC<ContainerProps> = ({ children, helperText, error = false, styles, ...props }) => (\n <Vertical gap={5} position=\"relative\" {...props}>\n {children}\n {helperText && (\n <HelperText error={error} {...styles}>\n {helperText}\n </HelperText>\n )}\n </Vertical>\n);\n","import { CSSProperties } from 'react';\n\nimport { Shape, Size, Variant } from './Input.type';\n\nexport const Shapes: Record<Shape, CSSProperties> = {\n default: { borderTopLeftRadius: 6, borderTopRightRadius: 6, borderBottomLeftRadius: 0, borderBottomRightRadius: 0 },\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n pillShaped: { borderRadius: 24 },\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const InputVariants: Record<Variant, CSSProperties> = {\n outline: {\n borderWidth: 1,\n },\n default: {\n borderWidth: 0,\n borderBottomWidth: 2,\n },\n unStyled: {\n border: 'none',\n backgroundColor: 'transparent',\n },\n};\n\nexport const PadddingWithLabel = {\n paddingTop: 16,\n paddingBottom: 0,\n paddingLeft: 16,\n paddingRight: 35,\n};\n\nexport const PaddingWithoutLabel = {\n paddingVertical: 8,\n paddingLeft: 16,\n paddingRight: 35,\n};\n","import React from 'react';\nimport { Typography } from 'app-studio';\n\nimport { InputVariants, PadddingWithLabel, PaddingWithoutLabel, Shapes } from '../../configs/Input.style';\nimport { Horizontal } from '../../Horizontal/Horizontal';\n\nimport { ContentProps } from './FieldContent/FieldContent.props';\n\nexport const FieldContent: React.FC<ContentProps> = ({\n label,\n shadow,\n children,\n value,\n size = 'md',\n shape = 'default',\n variant = 'default',\n error = false,\n isWithLabel = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n colorScheme = 'theme.primary',\n styles = { pickerBox: {} },\n ...props\n}) => {\n const isInteractive = (isHovered || isFocused) && !isDisabled;\n const color = error ? 'error' : isInteractive ? colorScheme : 'midgray';\n\n return (\n <Horizontal\n gap={10}\n width=\"100%\"\n display=\"flex\"\n wrap=\"nowrap\"\n borderStyle=\"solid\"\n alignItems=\"center\"\n borderColor={color}\n backgroundColor=\"trueGray.50\"\n transition=\"padding 0.2s ease\"\n justifyContent=\"space-between\"\n fontSize={Typography.fontSizes[size]}\n filter={isHovered ? 'brightness(0.97)' : 'brightness(1)'}\n cursor={isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer'}\n {...(isWithLabel ? PadddingWithLabel : PaddingWithoutLabel)}\n {...shadow}\n {...Shapes[shape]}\n {...InputVariants[variant]}\n {...styles['box']}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\nimport { Center } from '../../../Layout/Center/Center';\n\nimport { FieldIconsProps } from './FieldIcons/FieldIcons.props';\n\nexport const FieldIcons: React.FC<FieldIconsProps> = ({ children, ...props }) => (\n <Center\n gap={10}\n top=\"50%\"\n right={16}\n zIndex={500}\n wrap=\"nowrap\"\n position=\"absolute\"\n transform=\"translateY(-50%)\"\n {...props}\n >\n {children}\n </Center>\n);\n","import React from 'react';\nimport { Label } from '../../../Form/Label/Label';\n\nimport { LabelSizes } from '../../configs/Input.style';\n\nimport { LabelProps } from './FieldLabel/FieldLabel.props';\n\nexport const FieldLabel: React.FC<LabelProps> = ({\n children,\n size = 'md',\n error = false,\n color = 'theme.primary',\n styles = { label: {} },\n ...props\n}) => (\n <Label\n top={4}\n zIndex={1000}\n lineHeight={15}\n letterSpacing={0.25}\n whiteSpace=\"noWrap\"\n position=\"absolute\"\n color={error ? 'error' : color}\n fontSize={LabelSizes[size]}\n {...styles['label']}\n {...props}\n >\n {children}\n </Label>\n);\n","import React from 'react';\n\nimport { Vertical } from '../../Vertical/Vertical';\n\nimport { WrapperFieldProps } from './FieldWrapper.props';\n\nexport const FieldWrapper: React.FC<WrapperFieldProps> = ({ children, ...props }) => (\n <Vertical width=\"100%\" {...props}>\n {children}\n </Vertical>\n);\n","import { Size } from './CountryPicker.type';\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n\nexport const LabelSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useEffect, useState } from 'react';\nimport { Element, Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldIcons, FieldLabel, FieldWrapper } from '../../../Layout/Input';\nimport { ArrowDownSvg } from '../../../Svg/ArrowDown';\nimport { ArrowUpSvg } from '../../../Svg/ArrowUp';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerViewProps, DropDownItemProps, DropDownProps } from './CountryPicker.props';\nimport { IconSizes } from './CountryPicker.style';\nimport { Country } from './CountryPicker.type';\n\nconst CountryList: React.FC<DropDownProps> = (props) => <Element as=\"ul\" {...props} />;\n\nconst CountrySelector: React.FC<any> = (props) => <Input type=\"country\" {...props} />;\n\nconst CountryItem: React.FC<DropDownItemProps> = (props) => <Element as=\"li\" {...props} />;\n\nexport const DropDownItem: React.FC<DropDownItemProps> = ({\n option,\n size = 'md',\n callback = () => {},\n styles = { text: {} },\n}) => {\n const [isHovered, setIsHovered] = useState(false);\n\n const handleOptionClick = (event: any) => {\n event.stopPropagation();\n callback(option);\n };\n const handleHover = () => setIsHovered(!isHovered);\n return (\n <CountryItem\n margin={0}\n role=\"DropDownItem\"\n listStyleType=\"none\"\n paddingVertical={6}\n paddingHorizontal={12}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n onClick={handleOptionClick}\n fontSize={Typography.fontSizes[size]}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...styles['text']}\n >\n {option}\n </CountryItem>\n );\n};\n\nexport const DropDown: React.FC<DropDownProps> = ({\n size,\n styles = { dropDown: {} },\n options,\n callback = () => {},\n}) => {\n const handleCallback = (option: string) => callback(option);\n return (\n <CountryList\n role=\"dropDown\"\n margin={0}\n padding={0}\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflow=\"auto\"\n maxHeight=\"300px\"\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n boxShadow=\"rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px\"\n {...styles['dropDown']}\n >\n {options.map((option: Country) => (\n <DropDownItem\n key={option.code}\n size={size}\n option={option.name}\n callback={handleCallback}\n {...styles['text']}\n />\n ))}\n </CountryList>\n );\n};\n\nconst CountryPickerView: React.FC<CountryPickerViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isHovered = false,\n isFocused = false,\n isAutoFocus = false,\n isDisabled = false,\n isReadOnly = false,\n shadow = {},\n newOptions = [],\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n onChange,\n onBlur = () => {},\n setHide = () => {},\n setNewOptions = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n setSelected = () => {},\n styles = {\n text: {},\n icon: {},\n label: {},\n dropDown: {},\n helperText: {},\n box: {},\n },\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleCallback = (option: string) => {\n setHide(!hide);\n setSelected(option);\n };\n\n const handleClick = () => {\n if (!isDisabled && !isReadOnly) {\n setHide(!hide);\n }\n };\n const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n const selectedCountry = event.target.value;\n const filteredCountries = countryList.filter((country) =>\n country.name.toLowerCase().startsWith(selectedCountry.toLowerCase())\n );\n if (hide) setHide(false);\n setSelected(event.target.value);\n setNewOptions(filteredCountries);\n if (onChange) onChange(event);\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n useEffect(() => {\n if (onChange) onChange(selected); // Call onChange when selectedCountry changes\n }, [onChange, selected]);\n\n const isWithLabel = !!(isFocused && label);\n\n const fieldStyles = {\n margin: 0,\n paddingVerical: 8,\n paddingHorizonatl: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: { focus: { outline: 'none' } },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles} onClick={handleClick}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <CountrySelector\n id={id}\n name={name}\n placeholder={placeholder}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n onBlur={handleBlur}\n onFocus={handleFocus}\n {...fieldStyles}\n {...props}\n value={selected}\n onChange={handleChange}\n />\n </FieldWrapper>\n <FieldIcons>\n {hide ? (\n <ArrowDownSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n ) : (\n <ArrowUpSvg size={IconSizes[size]} color={IconColor} style={styles['icon']} />\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={newOptions} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default CountryPickerView;\n","import React from 'react';\nimport { Input, Typography } from 'app-studio';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\n\nimport { DatePickerViewProps } from './DatePicker.props';\n\nconst DatePickerContent = (props: any) => <Input type=\"date\" {...props} />;\n\nconst DatePickerView: React.FC<DatePickerViewProps> = ({\n id,\n icon,\n name,\n label,\n date,\n children,\n helperText,\n shadow = {},\n size = 'md',\n variant = 'default',\n shape = 'default',\n colorScheme = 'theme.primary',\n styles = { box: {}, label: {}, helperText: {}, text: {}, field: {} },\n error = false,\n isHovered = false,\n isFocused = false,\n isDisabled = false,\n isReadOnly = false,\n setDate = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n onChange,\n onChangeText,\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleDateChange = (event: any) => {\n if (typeof event === 'string') {\n setDate(event);\n if (onChangeText) onChangeText(event);\n } else {\n setDate(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n backgroundColor: 'transparent',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'auto' : 'pointer',\n ...styles['field'],\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={date}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <DatePickerContent\n id={id}\n name={name}\n value={date}\n onFocus={handleFocus}\n onChange={handleDateChange}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...fieldStyles}\n {...(onChangeText && { onChangeText: handleDateChange })}\n {...props}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default DatePickerView;\n","import React, { useMemo } from 'react';\nimport { Input, Typography, useTheme } from 'app-studio';\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\nimport { CloseSvg } from '../../../Svg';\n\nimport { TextFieldViewProps } from './TextField.props';\n\nconst TextFieldInput = (props: any) => <Input type=\"text\" {...props} />;\n\nconst TextFieldView: React.FC<TextFieldViewProps> = ({\n id,\n name,\n label,\n value,\n hint,\n inputValue,\n onChange,\n leftChild,\n rightChild,\n helperText,\n placeholder,\n onChangeText,\n shadow = {},\n styles = { box: {}, field: {}, label: {}, helperText: {}, text: {} },\n size = 'md',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n error = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n isClearable = true,\n isAutoFocus = false,\n setHint = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n setInputValue = () => {},\n onClick = () => {},\n onFocus,\n onBlur = () => {},\n ...props\n}) => {\n const { getColor } = useTheme();\n const IconColor = getColor('color.blueGray.700');\n\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n padddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'color.trueGray.600' : 'color.blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n //Web\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n const handleClear = () => {\n setInputValue('');\n //Web\n if (onChange) {\n onBlur({ target: { name } });\n onChange({ target: { name, value: '' } });\n }\n //for ios and android\n if (typeof document === 'undefined' && onChangeText) onChangeText('');\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n {leftChild}\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <TextFieldInput\n id={id}\n name={name}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n placeholder={hint}\n onFocus={handleFocus}\n onBlur={handleBlur}\n autoComplete=\"off\"\n {...fieldStyles}\n {...props}\n onChange={handleChange}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n {(rightChild || (isClearable && inputValue)) && (\n <FieldIcons>\n {rightChild && <>{rightChild}</>}\n {isClearable && inputValue && !isReadOnly && !isDisabled && (\n <CloseSvg size={Typography.fontSizes[size]} color={IconColor} onClick={handleClear} />\n )}\n </FieldIcons>\n )}\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextFieldView;\n","import React from 'react';\n\nimport { TextFieldProps } from './TextField/TextField.props';\nimport { useTextFieldState } from './TextField/TextField.state';\nimport TextFieldView from './TextField/TextField.view';\n\nconst TextFieldComponent: React.FC<TextFieldProps> = (props: TextFieldProps) => {\n const textFieldStates = useTextFieldState(props);\n return <TextFieldView {...textFieldStates} {...props} />;\n};\n/**\n * TextField is used to capture text data from users.\n */\nexport const TextField = TextFieldComponent;\n","import { useState } from 'react';\n\nimport { TextFieldProps } from './TextField.props';\n\nexport const useTextFieldState = ({ label, placeholder, value }: TextFieldProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isFocused, setIsFocused] = useState(false);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || '');\n\n return {\n hint,\n setHint,\n isFocused,\n setIsFocused,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n };\n};\n","import React from 'react';\nimport { TextField } from '../../../Form/TextField/TextField';\nimport { View } from '../../../Layout/View/View';\n\nimport { PasswordViewProps } from './Password.props';\n\nconst PasswordView: React.FC<PasswordViewProps> = ({\n name,\n visibleIcon,\n hiddenIcon,\n isDisabled = false,\n isVisible = false,\n setIsVisible = () => {},\n ...props\n}) => (\n <TextField\n name={name}\n type={isVisible ? 'text' : 'password'}\n rightChild={\n <View\n onClick={() => {\n if (!isDisabled) setIsVisible(!isVisible);\n }}\n >\n {isVisible ? visibleIcon : hiddenIcon}\n </View>\n }\n isClearable={false}\n {...props}\n />\n);\n\nexport default PasswordView;\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Select.type';\n\nexport const Sizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 12, width: 12 },\n md: { height: 18, width: 18 },\n lg: { height: 24, width: 24 },\n xl: { height: 30, width: 30 },\n};\n\nexport const IconSizes: Record<Size, number> = {\n xs: 8,\n sm: 10,\n md: 12,\n lg: 14,\n xl: 16,\n};\n","import React, { useCallback } from 'react';\nimport { Element } from 'app-studio';\nimport { Typography } from 'app-studio';\n\nimport { Horizontal } from '../../../Layout/Horizontal/Horizontal';\nimport { Text } from '../../../Text/Text';\n\nimport { FieldContainer } from '../../../Layout/Input/FieldContainer/FieldContainer';\nimport { FieldContent } from '../../../Layout/Input/FieldContent/FieldContent';\nimport { FieldIcons } from '../../../Layout/Input/FieldIcons/FieldIcons';\nimport { FieldLabel } from '../../../Layout/Input/FieldLabel/FieldLabel';\nimport { FieldWrapper } from '../../../Layout/Input/FieldWrapper/FieldWrapper';\nimport { ArrowDownSvg, ArrowUpSvg, CloseSvg } from '../../../Svg';\n\nimport {\n DropDownProps,\n HiddenSelectProps,\n ItemProps,\n MultiSelectProps,\n SelectBoxProps,\n SelectViewProps,\n} from './Select.props';\nimport { useItemState } from './Select.state';\nimport { IconSizes } from './Select.style';\n\nconst Item: React.FC<ItemProps> = ({ isHovered, setIsHovered, option, size = 'md', callback = () => {}, ...props }) => {\n const handleOptionClick = (option: string) => callback(option);\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Element\n as=\"li\"\n margin={0}\n paddingVertical={8}\n paddingHorizontal={12}\n listStyleType=\"none\"\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n fontSize={Typography.fontSizes[size]}\n onClick={() => handleOptionClick(option)}\n backgroundColor={isHovered ? 'trueGray.100' : 'transparent'}\n {...props}\n >\n {option}\n </Element>\n );\n};\n\nconst SelectBox: React.FC<SelectBoxProps> = ({\n size = 'md',\n styles = { field: {}, text: {} },\n selected,\n isDisabled,\n placeholder,\n removeOption = () => {},\n}) => {\n const fieldStyles = {\n margin: 0,\n width: '95%',\n heigth: '100%',\n border: 'none',\n paddingVertical: 8,\n paddingHorizontal: 0,\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n ...styles['text'],\n };\n\n return (\n <Text {...fieldStyles}>\n {(selected === '' || (selected && selected.length === 0)) && !!placeholder ? (\n placeholder\n ) : (\n <>\n {typeof selected === 'string'\n ? selected\n : selected &&\n selected.length > 0 && (\n <Horizontal gap={6}>\n {selected.map((option) => (\n <MultiSelect key={option} option={option} removeOption={removeOption} />\n ))}\n </Horizontal>\n )}\n </>\n )}\n </Text>\n );\n};\n\nconst HiddenSelect: React.FC<HiddenSelectProps> = ({\n id,\n name,\n selected,\n onChange,\n isMulti = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n ...props\n}) => {\n const handleChange = (event: any) => {\n if (onChange) onChange(event);\n };\n return (\n <Element\n id={id}\n name={name}\n as=\"select\"\n opacity={0}\n width={0}\n height={0}\n position=\"absolute\"\n value={selected}\n disabled={isDisabled}\n readOnly={isReadOnly}\n onChange={handleChange}\n multiple={isMulti}\n {...props}\n >\n {options.map((option) => {\n return (\n <option key={option} value={option}>\n {option}\n </option>\n );\n })}\n </Element>\n );\n};\n\nconst DropDown: React.FC<DropDownProps> = ({ size, styles = { dropDown: {} }, options, callback = () => {} }) => {\n const itemStates = useItemState();\n const handleCallback = (option: string) => callback(option);\n const shadow =\n typeof document !== undefined\n ? {\n boxShadow:\n 'rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px',\n }\n : {\n elevation: 2,\n shadowColor: 'rgba(0, 0, 0, 0.07)',\n shadowOffset: {\n width: 0,\n height: 1,\n },\n shadowOpacity: 1,\n shadowRadius: 1,\n };\n return (\n <Element\n as=\"ul\"\n role=\"dropdown\"\n top=\"100%\"\n width=\"100%\"\n display=\"flex\"\n zIndex={1000}\n overflowY=\"auto\"\n marginTop={5}\n marginLeft={0}\n marginRight={0}\n marginBottom={0}\n padding={0}\n borderRadius={4}\n position=\"absolute\"\n flexDirection=\"column\"\n backgroundColor=\"white\"\n justifyContent=\"space-evenly\"\n {...shadow}\n {...styles['dropDown']}\n >\n {options.map((option) => (\n <Item key={option} size={size} option={option} callback={handleCallback} {...itemStates} {...styles['text']} />\n ))}\n </Element>\n );\n};\n\nexport const MultiSelect: React.FC<MultiSelectProps> = ({ option, size = 'md', removeOption = () => {}, ...props }) => {\n const handleClick = () => removeOption(option);\n\n return (\n <Horizontal\n gap={10}\n padding={6}\n borderRadius={4}\n alignItems=\"center\"\n fontSize={Typography.fontSizes[size]}\n backgroundColor=\"trueGray.300\"\n onClick={(event: any) => event.stopPropagation()}\n {...props}\n >\n <Text size={size}>{option}</Text>\n <CloseSvg role=\"close-button\" color=\"inherit\" size={IconSizes[size]} onClick={handleClick} />\n </Horizontal>\n );\n};\n\nconst SelectView: React.FC<SelectViewProps> = ({\n id,\n name,\n label,\n selected,\n placeholder,\n helperText,\n hide = false,\n error = false,\n isMulti = false,\n isFocused = false,\n isHovered = false,\n isDisabled = false,\n isReadOnly = false,\n options = [],\n shadow = {},\n size = 'md',\n colorScheme = 'theme.primary',\n shape = 'default',\n variant = 'default',\n styles = {\n text: {},\n icon: {},\n dropDown: {},\n selectBox: {},\n label: {},\n helperText: {},\n },\n onChange = () => {},\n setHide = () => {},\n setSelected = () => {},\n setIsHovered = () => {},\n setIsFocused = () => {},\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => setIsFocused(true);\n\n const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {\n event.stopPropagation();\n setHide(!hide);\n setIsFocused(!isFocused);\n };\n\n const handleCallback = useCallback(\n (option: string) => {\n setHide(!hide);\n if (isMulti && Array.isArray(selected)) {\n !selected.includes(option) && setSelected([...selected, option]);\n } else {\n setSelected(option);\n }\n },\n\n [hide, isMulti, selected]\n );\n\n const handleRemoveOption = (selectedOption: string) => {\n if (Array.isArray(selected) && selected.includes(selectedOption)) {\n const newSelected = selected.filter((option) => option !== selectedOption);\n setSelected(newSelected.length === 0 ? [] : newSelected);\n }\n };\n\n return (\n <FieldContainer\n role=\"SelectBox\"\n helperText={helperText}\n error={error}\n styles={styles}\n onClick={isDisabled || isReadOnly ? () => {} : handleClick}\n >\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={selected}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <HiddenSelect\n id={id}\n name={name}\n options={options}\n onChange={onChange}\n selected={selected}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isMulti={isMulti}\n onFocus={handleFocus}\n {...props}\n />\n <SelectBox\n size={size}\n styles={styles}\n selected={selected}\n isDisabled={isDisabled}\n placeholder={placeholder}\n removeOption={handleRemoveOption}\n />\n </FieldWrapper>\n <FieldIcons>\n {!isReadOnly && !isDisabled && (\n <>\n {hide ? (\n <ArrowDownSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n ) : (\n <ArrowUpSvg color=\"inherit\" size={IconSizes[size]} style={styles.icon} />\n )}\n </>\n )}\n </FieldIcons>\n </FieldContent>\n {!hide && <DropDown size={size} styles={styles} options={options} callback={handleCallback} />}\n </FieldContainer>\n );\n};\n\nexport default SelectView;\n","import React from 'react';\n\nimport { SelectProps } from './Select.props';\n\nexport const useSelectState = ({ placeholder, isMulti, options }: SelectProps) => {\n const defaultSelected = placeholder ? (isMulti ? [] : '') : options[0];\n\n const [hide, setHide] = React.useState(true);\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [selected, setSelected] = React.useState<string | Array<string>>(defaultSelected);\n return { selected, setSelected, hide, setHide, isHovered, setIsHovered, isFocused, setIsFocused };\n};\n\nexport const useItemState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n return { isHovered, setIsHovered };\n};\n","import { CSSProperties } from 'react';\n\nimport { Size } from './Switch.type';\n\nexport const KnobSizes: Record<Size, CSSProperties> = {\n xs: { height: 6, width: 6 },\n sm: { height: 9, width: 9 },\n md: { height: 12, width: 12 },\n lg: { height: 15, width: 15 },\n xl: { height: 18, width: 18 },\n '2xl': { height: 21, width: 21 },\n '3xl': { height: 24, width: 24 },\n '4xl': { height: 27, width: 27 },\n '5xl': { height: 30, width: 30 },\n '6xl': { height: 33, width: 33 },\n};\n\nexport const SliderSizes: Record<Size, CSSProperties> = {\n xs: {\n height: 16,\n width: 28,\n },\n sm: {\n height: 20,\n width: 36,\n },\n md: {\n height: 24,\n width: 44,\n },\n lg: {\n height: 28,\n width: 52,\n },\n xl: {\n height: 32,\n width: 60,\n },\n '2xl': {\n height: 36,\n width: 68,\n },\n '3xl': {\n height: 40,\n width: 76,\n },\n '4xl': {\n height: 44,\n width: 84,\n },\n '5xl': {\n height: 48,\n width: 92,\n },\n '6xl': {\n height: 52,\n width: 100,\n },\n};\n\nexport const SliderPadding: Record<Size, Record<string, number>> = {\n xs: { paddingVertical: 0, paddingHorizontal: 2 },\n sm: { paddingVertical: 0, paddingHorizontal: 3 },\n md: { paddingVertical: 0, paddingHorizontal: 5 },\n lg: { paddingVertical: 0, paddingHorizontal: 6 },\n xl: { paddingVertical: 0, paddingHorizontal: 8 },\n '2xl': { paddingVertical: 0, paddingHorizontal: 9 },\n '3xl': { paddingVertical: 0, paddingHorizontal: 10 },\n '4xl': { paddingVertical: 0, paddingHorizontal: 13 },\n '5xl': { paddingVertical: 0, paddingHorizontal: 15 },\n '6xl': { paddingVertical: 0, paddingHorizontal: 16 },\n};\n","import React from 'react';\nimport { Input } from 'app-studio';\nimport { Label } from '../../../Form/Label/Label';\nimport { View } from '../../../Layout/View/View';\n\nimport { SwitchViewProps } from './Switch.props';\nimport { KnobSizes, SliderPadding, SliderSizes } from './Switch.style';\n\nconst SwitchContent = (props: any) => <Input type=\"checkbox\" {...props} />;\n\nconst SwitchView: React.FC<SwitchViewProps> = ({\n id,\n name,\n inActiveChild,\n activeChild,\n shadow = {},\n size = 'sm',\n colorScheme = 'theme.primary',\n on = false,\n isHovered = false,\n isChecked = false,\n isDisabled = false,\n isReadOnly = false,\n onChange,\n onValueChange,\n setOn = () => {},\n setIsHovered = () => {},\n styles = { slider: {}, circle: {} },\n ...props\n}) => {\n const handleToggle = (event: any) => {\n if (!isReadOnly) {\n setOn(!on);\n if (onChange) onChange(event);\n }\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n\n return (\n <Label htmlFor={id} onMouseEnter={handleHover} onMouseLeave={handleHover}>\n <SwitchContent\n id={id}\n name={name}\n opacity={0}\n width={0}\n height={0}\n checked={on}\n onChange={handleToggle}\n disabled={isDisabled}\n readOnly={isReadOnly}\n {...(onValueChange && { onValueChange: handleToggle })}\n {...props}\n />\n {/* Slide */}\n <View\n display=\"flex\"\n cursor=\"pointer\"\n alignItems=\"center\"\n borderRadius={24}\n filter={isHovered && on ? 'brightness(0.9)' : 'brightness(1)'}\n transition=\"justify-content 0.3s cubic-bezier(0.4, 0, 0.2, 1)\"\n backgroundColor={isDisabled ? 'disabled' : on ? colorScheme : 'lightgray'}\n justifyContent={activeChild ? 'space-between' : on ? 'flex-end' : 'flex-start'}\n {...shadow}\n {...SliderPadding[size]}\n {...SliderSizes[size]}\n {...styles['slider']}\n >\n {activeChild && on && <View>{activeChild}</View>}\n <View borderRadius=\"50%\" backgroundColor=\"white\" {...KnobSizes[size]} {...styles['circle']} />\n {inActiveChild && !on && <View>{inActiveChild}</View>}\n </View>\n </Label>\n );\n};\n\nexport default SwitchView;\n","import React, { useMemo } from 'react';\nimport { Element, Typography } from 'app-studio';\nimport { FieldContainer, FieldContent, FieldLabel, FieldWrapper } from '../../../Layout/Input';\n\nimport { TextAreaViewProps } from './TextArea.props';\n\nconst TextAreaView: React.FC<TextAreaViewProps> = ({\n id,\n name,\n hint,\n error,\n value,\n label,\n shadow,\n inputValue,\n helperText,\n placeholder,\n defaultValue,\n size = 'sm',\n shape = 'default',\n variant = 'default',\n colorScheme = 'theme.primary',\n isHovered = false,\n isFocused = false,\n isEditable = false,\n isReadOnly = false,\n isDisabled = false,\n isAutoFocus = false,\n isMultiline = false,\n maxRows = 3,\n maxCols = 30,\n onBlur = () => {},\n onChange,\n onFocus,\n onChangeText,\n setHint = () => {},\n setInputValue = () => {},\n setIsFocused = () => {},\n setIsHovered = () => {},\n styles = { box: {}, text: {}, label: {}, helperText: {}, field: {} },\n ...props\n}) => {\n const isWithLabel = !!(isFocused && label);\n\n useMemo(() => {\n setHint(isFocused && !inputValue ? placeholder ?? '' : label ?? placeholder);\n }, [inputValue, isFocused, label, placeholder]);\n\n const fieldStyles = {\n margin: 0,\n paddingVertical: 8,\n paddingHorizontal: 0,\n width: '100%',\n heigth: '100%',\n border: 'none',\n on: {\n focus: {\n outline: 'none',\n },\n },\n fontSize: Typography.fontSizes[size],\n backgroundColor: 'transparent',\n color: isDisabled ? 'trueGray.600' : 'blueGray.700',\n cursor: isDisabled ? 'not-allowed' : 'auto',\n ...styles['field'],\n };\n\n const handleHover = () => setIsHovered(!isHovered);\n const handleFocus = () => {\n setIsFocused(true);\n if (onFocus) onFocus();\n };\n\n const handleBlur = (event: any) => {\n onBlur(event);\n setIsFocused(false);\n };\n\n const handleChange = (event: React.ChangeEvent<HTMLInputElement> | string) => {\n if (typeof event === 'string') {\n //for ios and android\n setInputValue(event);\n if (onChangeText) onChangeText(event);\n } else {\n setInputValue(event.target.value);\n if (onChange) onChange(event);\n }\n };\n\n return (\n <FieldContainer helperText={helperText} error={error} styles={styles}>\n <FieldContent\n label={label}\n size={size}\n error={error}\n shape={shape}\n styles={styles}\n shadow={shadow}\n variant={variant}\n value={inputValue}\n color={colorScheme}\n isHovered={isHovered}\n isDisabled={isDisabled}\n isReadOnly={isReadOnly}\n isFocused={isFocused}\n isWithLabel={isWithLabel}\n colorScheme={colorScheme}\n onMouseEnter={handleHover}\n onMouseLeave={handleHover}\n >\n <FieldWrapper>\n {isWithLabel && (\n <FieldLabel htmlFor={id} color={colorScheme} error={error} {...styles}>\n {label}\n </FieldLabel>\n )}\n <Element\n as=\"textarea\"\n id={id}\n name={name}\n rows={maxRows}\n cols={maxCols}\n value={inputValue}\n readOnly={isReadOnly}\n disabled={isDisabled}\n autoFocus={isAutoFocus}\n editable={isEditable}\n placeholder={hint}\n onBlur={handleBlur}\n onFocus={handleFocus}\n onChange={handleChange}\n multiline={isMultiline}\n {...fieldStyles}\n {...props}\n {...(onChangeText && { onChangeText: handleChange })}\n />\n </FieldWrapper>\n </FieldContent>\n </FieldContainer>\n );\n};\n\nexport default TextAreaView;\n","import { Size, Speed } from './Loader.type';\n\nexport const DefaultEllipsisSpeeds: Record<Speed, number> = {\n fast: 0.4,\n normal: 0.6,\n slow: 0.8,\n};\n\nexport const DefaultSizes: Record<Size, number> = {\n xs: 14,\n sm: 18,\n md: 22,\n lg: 26,\n xl: 30,\n '2xl': 40,\n '3xl': 50,\n '4xl': 60,\n '5xl': 70,\n '6xl': 80,\n};\nexport const DefaultSpeeds: Record<Speed, number> = {\n fast: 50,\n normal: 100,\n slow: 300,\n};\n","import React, { useEffect, useState } from 'react';\nimport { useTheme } from 'app-studio';\nimport { Center } from '../../Layout/Center/Center';\nimport { View } from '../../Layout/View/View';\n\nimport { DefaultSpinnerProps, DottedProps, LoaderProps, QuarterProps } from '../Loader/Loader.props';\n\nimport { DefaultSizes, DefaultSpeeds } from './Loader.style';\n\nconst DefaultSpinner: React.FC<DefaultSpinnerProps> = ({\n size = 'md',\n speed = 'normal',\n color = 'theme.loading',\n ...props\n}) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke={colorStyle}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <g id=\"SVGRepo_bgCarrier\" strokeWidth=\"0\"></g>\n <g id=\"SVGRepo_tracerCarrier\" strokeLinecap=\"round\" strokeLinejoin=\"round\"></g>\n <g id=\"SVGRepo_iconCarrier\">\n <path d=\"M21 12a9 9 0 11-6.219-8.56\"></path>\n </g>\n </svg>\n );\n};\n\nconst Dotted: React.FC<DottedProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"10\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"25\" cy=\"25\" r=\"4\" fill={colorStyle} />\n <circle cx=\"40\" cy=\"25\" r=\"4\" fill={colorStyle} />\n </svg>\n );\n};\n\nconst Quarter: React.FC<QuarterProps> = ({ size = 'md', speed = 'normal', color = 'theme.loading', ...props }) => {\n const theme = useTheme();\n const colorStyle = theme.getColor(color);\n const sizeStyle = typeof size === 'number' ? size : DefaultSizes[size];\n\n const [angle, setAngle] = useState(0);\n\n useEffect(() => {\n const intervalId = setInterval(() => {\n setAngle((prevAngle) => prevAngle + 45);\n }, DefaultSpeeds[speed]);\n\n return () => clearInterval(intervalId);\n }, [speed]);\n\n return (\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n viewBox=\"0 0 50 50\"\n width={`${sizeStyle}px`}\n height={`${sizeStyle}px`}\n style={{ transform: `rotate(${angle}deg)` }}\n {...props}\n >\n <circle cx=\"25\" cy=\"25\" r=\"20\" fill=\"none\" stroke={colorStyle} strokeWidth=\"5\" strokeDasharray=\"1,10\" />\n </svg>\n );\n};\nconst LoaderView: React.FC<LoaderProps> = ({\n size,\n children,\n textColor,\n loaderColor,\n type = 'default',\n speed = 'normal',\n textPosition = 'right',\n ...props\n}) => {\n const style = { size, speed, color: loaderColor };\n\n const variants = {\n default: <DefaultSpinner {...style} />,\n dotted: <Dotted {...style} />,\n quarter: <Quarter {...style} />,\n };\n\n return (\n <Center gap={10} flexDirection={textPosition === 'top' || textPosition === 'bottom' ? 'column' : 'row'} {...props}>\n {(textPosition === 'left' || textPosition === 'top') && children && <View color={textColor}>{children}</View>}\n {variants[type]}\n {(textPosition === 'right' || textPosition === 'bottom') && children && <View color={textColor}>{children}</View>}\n </Center>\n );\n};\n\nexport default LoaderView;\n","import { CSSProperties } from 'react';\n\nimport { Position, Shape, Size } from './Modal.type';\n\nexport const ContainerShapes: Record<Shape, CSSProperties> = {\n sharp: { borderRadius: 0 },\n rounded: { borderRadius: 4 },\n};\nexport const OverlayAlignments: Record<Position, CSSProperties> = {\n center: { justifyContent: 'center', alignItems: 'center' },\n top: { justifyContent: 'center' },\n right: { justifyContent: 'flex-end', alignItems: 'center' },\n bottom: { justifyContent: 'center', alignItems: 'flex-end' },\n left: { alignItems: 'center' },\n};\n\nexport const HeaderIconSizes: Record<Size, number> = {\n xs: 12,\n sm: 16,\n md: 20,\n lg: 24,\n xl: 28,\n};\n","import React from 'react';\n\nimport { ModalType } from './Modal/Modal.props';\nimport { ModalBody, ModalContainer, ModalFooter, ModalHeader, ModalOverlay } from './Modal/Modal.view';\n\n/**\n * It is a custom content overlay that appears on top of the main screen.\n */\n// eslint-disable-next-line react/prop-types\nexport const Modal: ModalType = ({ children }) => <>{children}</>;\n\nModal.Overlay = ModalOverlay;\nModal.Container = ModalContainer;\nModal.Header = ModalHeader;\nModal.Body = ModalBody;\nModal.Footer = ModalFooter;\n\nexport default Modal;\n","import React, { useEffect } from 'react';\nimport { Center } from '../../Layout/Center/Center';\nimport { Vertical } from '../../Layout/Vertical/Vertical';\n\nimport { Horizontal } from '../../Layout/Horizontal/Horizontal';\nimport { Button } from '../../Button/Button';\nimport { View } from '../../Layout/View/View';\nimport { CloseSvg } from '../../Svg';\nimport { useModalStore } from 'src/store/useModalStore';\n\nimport { BodyProps, ContainerProps, FooterProps, HeaderProps, OverlayProps } from '../Modal/Modal.props';\nimport { ContainerShapes, OverlayAlignments } from '../Modal/Modal.style';\nimport { HeaderIconSizes } from '../Modal/Modal.style';\n\nexport const ModalOverlay: React.FC<OverlayProps> = ({\n children,\n blur,\n isOpen = false,\n isClosePrevented = false,\n onClose = () => {},\n position = 'center',\n ...props\n}) => {\n const setOpen = useModalStore((state: any) => state.setOpen);\n const setOnClose = useModalStore((state: any) => state.setOnClose);\n\n useEffect(() => {\n setOnClose(onClose);\n if (isOpen) setOpen();\n });\n\n if (!isOpen) return null;\n\n const handleClick = () => {\n if (!isClosePrevented) onClose();\n };\n\n return (\n <Center\n position=\"fixed\"\n top={0}\n left={0}\n width=\"100%\"\n height=\"100%\"\n zIndex={1000}\n onClick={handleClick}\n visibility={isOpen ? 'visible' : 'hidden'}\n >\n <View\n cursor=\"pointer\"\n position=\"absolute\"\n top={0}\n left={0}\n zIndex={1000}\n width=\"100vw\"\n height=\"100vh\"\n display=\"flex\"\n backgroundColor=\"blackAlpha.500\"\n backdropFilter={blur ? `blur(${blur}px)` : undefined}\n onClick={handleClick}\n {...OverlayAlignments[position]}\n {...props}\n >\n {children}\n </View>\n </Center>\n );\n};\n\nexport const ModalContainer: React.FC<ContainerProps> = ({\n children,\n shadow,\n isFullScreen = false,\n shape = 'rounded',\n ...props\n}) => {\n const defaultShadow =\n typeof document !== undefined\n ? {\n boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.3)',\n }\n : {\n elevation: 5,\n shadowColor: 'rgba(0, 0, 0, 0.3)',\n shadowOffset: { width: 0, height: 2 },\n shadowOpacity: 1,\n shadowRadius: 8,\n };\n\n const handleClick = (event: any) => event.stopPropagation();\n return (\n <Vertical\n cursor=\"default\"\n overflow=\"hidden\"\n backgroundColor=\"white\"\n width={isFullScreen ? '100%' : 600}\n height={isFullScreen ? '100%' : 'fit-content'}\n onClick={handleClick}\n {...(shadow ? shadow : defaultShadow)}\n {...ContainerShapes[shape]}\n {...props}\n >\n {children}\n </Vertical>\n );\n};\n\nexport const ModalHeader: React.FC<HeaderProps> = ({\n children,\n buttonColor = 'theme.primary',\n iconSize = 'md',\n buttonPosition = 'right',\n ...props\n}) => {\n const onClose = useModalStore((state: any) => state.onClose);\n\n const buttonIcon = (\n <Button\n onClick={onClose}\n colorScheme=\"transparent\"\n icon={<CloseSvg size={HeaderIconSizes[iconSize]} color={buttonColor} />}\n padding={0}\n margin={0}\n filter=\"none\"\n isAuto\n />\n );\n\n return (\n <Horizontal\n justifyContent={buttonPosition === 'none' ? 'center' : 'space-between'}\n alignItems=\"center\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {buttonPosition === 'left' && buttonIcon}\n {children}\n {buttonPosition === 'right' && buttonIcon}\n </Horizontal>\n );\n};\n\nexport const ModalBody: React.FC<BodyProps> = ({ children, ...props }) => {\n const defaultBorder = {\n borderBottomWidth: 2,\n borderTopWidth: 2,\n borderColor: 'rgba(250, 250, 250, 1)',\n borderStyle: 'solid',\n };\n return (\n <View overflowY=\"auto\" paddingVertical={15} paddingHorizontal={20} {...defaultBorder} {...props}>\n {children}\n </View>\n );\n};\n\nexport const ModalFooter: React.FC<FooterProps> = ({ children, ...props }) => {\n return (\n <Horizontal\n marginTop=\"auto\"\n alignItems=\"center\"\n justifyContent=\"flex-end\"\n paddingVertical={15}\n paddingHorizontal={20}\n {...props}\n >\n {children}\n </Horizontal>\n );\n};\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox/Checkbox.props';\nimport { useCheckboxState } from './Checkbox/Checkbox.state';\nimport CheckboxView from './Checkbox/Checkbox.view';\n\nconst CheckboxComponent: React.FC<CheckboxProps> = (props) => {\n const checkboxStates = useCheckboxState(props);\n return <CheckboxView {...checkboxStates} {...props} />;\n};\n\n/**\n * Checkbox allows users to select one or more options from a list of choices.\n */\nexport const Checkbox = CheckboxComponent;\n","import React from 'react';\n\nimport { CheckboxProps } from './Checkbox.props';\n\nexport const useCheckboxState = ({ defaultIsSelected = false }: CheckboxProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isSelected, setIsSelected] = React.useState<boolean>(defaultIsSelected);\n\n return {\n isHovered,\n setIsHovered,\n isSelected,\n setIsSelected,\n };\n};\n","import React from 'react';\n\nimport { CountryPickerProps } from './CountryPicker/CountryPicker.props';\nimport { useCountryPickerState } from './CountryPicker/CountryPicker.state';\nimport CountryPickerView from './CountryPicker/CountryPicker.view';\n\nconst CountryPickerComponent: React.FC<CountryPickerProps> = (props) => {\n const countryPickerStates = useCountryPickerState(props);\n\n return <CountryPickerView {...countryPickerStates} {...props} />;\n};\n\n/**\n * Country picker allows users to select a country from a dropdown list or search field.\n */\nexport const CountryPicker = CountryPickerComponent;\n","import React from 'react';\n\nimport countryList from '../countries.json';\n\nimport { CountryPickerProps } from './CountryPicker.props';\nimport { Country } from './CountryPicker.type';\n\nexport const useCountryPickerState = ({ placeholder }: CountryPickerProps) => {\n const [newOptions, setNewOptions] = React.useState<Array<Country>>(countryList);\n const [selected, setSelected] = React.useState<string>(placeholder ?? countryList[0].name);\n\n const [hide, setHide] = React.useState(true);\n const [isFocused, setIsFocused] = React.useState(false);\n const [isHovered, setIsHovered] = React.useState(false);\n\n return {\n hide,\n setHide,\n newOptions,\n setNewOptions,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n selected,\n setSelected,\n };\n};\n","import React from 'react';\n\nimport { DatePickerProps } from './DatePicker/DatePicker.props';\nimport { useDatePickerState } from './DatePicker/DatePicker.state';\nimport DatePickerView from './DatePicker/DatePicker.view';\n\nconst DatePickerComponent: React.FC<DatePickerProps> = (props) => {\n const datePickerStates = useDatePickerState();\n return <DatePickerView {...datePickerStates} {...props} />;\n};\n\n/**\n * Date picker allows users to select a date from a calendar view.\n */\nexport const DatePicker = DatePickerComponent;\n","import React from 'react';\nimport format from 'date-fns/format';\n\nexport const useDatePickerState = () => {\n const [isHovered, setIsHovered] = React.useState(false);\n const [isFocused, setIsFocused] = React.useState(false);\n const [date, setDate] = React.useState(format(new Date(), 'yyyy-MM-dd'));\n\n return {\n date,\n setDate,\n isHovered,\n setIsHovered,\n isFocused,\n setIsFocused,\n };\n};\n","import React from 'react';\n\nimport { LoaderProps } from './Loader/Loader.props';\nimport LoaderView from './Loader/Loader.view';\n\nconst LoaderComponent: React.FC<LoaderProps> = (props) => <LoaderView {...props} />;\n\n/**\n * It gives the user an insight about an action being processed. It may have an undefined waiting time or display the process length.\n */\nexport const Loader = LoaderComponent;\n","import React from 'react';\n\nimport { PasswordProps } from './Password/Password.props';\nimport { usePasswordState } from './Password/Password.state';\nimport PasswordView from './Password/Password.view';\n\nconst PasswordComponent: React.FC<PasswordProps> = (props) => {\n const passwordState = usePasswordState();\n return <PasswordView {...passwordState} {...props} />;\n};\n\n/**\n * To allow users to securely enter sensitive information\n */\nexport const Password = PasswordComponent;\n","import { useState } from 'react';\n\nexport const usePasswordState = () => {\n const [isVisible, setIsVisible] = useState(false);\n return { isVisible, setIsVisible };\n};\n","import React from 'react';\n\nimport { SelectProps } from './Select/Select.props';\nimport { useSelectState } from './Select/Select.state';\nimport SelectView from './Select/Select.view';\n\nconst SelectComponent: React.FC<SelectProps> = (props) => {\n const selectStates = useSelectState(props);\n return <SelectView {...selectStates} {...props} />;\n};\n\n/**\n * Select provides a dropdown list of options for the user to choose from.\n */\n\nexport const Select = SelectComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch/Switch.props';\nimport { useSwitchState } from './Switch/Switch.state';\nimport SwitchView from './Switch/Switch.view';\n\nconst SwitchComponent: React.FC<SwitchProps> = (props) => {\n const switchStates = useSwitchState(props);\n return <SwitchView {...switchStates} {...props} />;\n};\n\nexport const Switch = SwitchComponent;\n","import React from 'react';\n\nimport { SwitchProps } from './Switch.props';\n\nexport const useSwitchState = ({ isDisabled, isChecked }: SwitchProps) => {\n const [isHovered, setIsHovered] = React.useState(false);\n\n const [on, setOn] = React.useState(isDisabled ? !isDisabled : isChecked);\n\n return { isHovered, setIsHovered, on, setOn };\n};\n","import React from 'react';\n\nimport { TextAreaProps } from './TextArea/TextArea.props';\nimport { useTextAreaState } from './TextArea/TextArea.state';\nimport TextAreaView from './TextArea/TextArea.view';\n\nconst TextAreaComponent: React.FC<TextAreaProps> = (props) => {\n const textAreaState = useTextAreaState(props);\n return <TextAreaView {...textAreaState} {...props} />;\n};\n\n/**\n * Text Area is an component used to create a multi-line input field.\n */\nexport const TextArea = TextAreaComponent;\n","import { useState } from 'react';\n\nimport { TextAreaProps } from './TextArea.props';\n\nexport const useTextAreaState = ({ label, placeholder, defaultValue, value }: TextAreaProps) => {\n const [hint, setHint] = useState(label ?? placeholder);\n const [isHovered, setIsHovered] = useState(false);\n const [inputValue, setInputValue] = useState(value || defaultValue || '');\n const [isFocused, setIsFocused] = useState(false);\n\n return {\n hint,\n setHint,\n isHovered,\n setIsHovered,\n inputValue,\n setInputValue,\n isFocused,\n setIsFocused,\n };\n};\n"],"names":["HorizontalView","_ref","children","_ref$wrap","wrap","_ref$justify","justify","_ref$isReversed","isReversed","props","_objectWithoutPropertiesLoose","_excluded","React","View","display","flexWrap","flexDirection","justifyContent","Horizontal","CenterView","alignItems","Center","ArrowDownSvg","_ref$size","size","width","height","viewBox","version","fill","id","strokeWidth","strokeLinecap","strokeLinejoin","stroke","fillRule","transform","d","ArrowUpSvg","CheckSvg","_ref$color","color","xmlns","CloseSvg","ExternalLinkSvg","IndeterminateSvg","IconSizes","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","LinkView","_ref$href","href","_ref$iconSize","iconSize","_ref$underline","underline","_ref$isHovered","isHovered","_ref$isExternal","isExternal","_ref$colorScheme","colorScheme","_ref$styles","styles","icon","text","_ref$setIsHovered","setIsHovered","handleHover","ReactRouterLink","to","target","Element","onMouseEnter","onMouseLeave","textDecoration","gap","style","Link","_useState","linkStates","useState","ButtonSizes","paddingTop","paddingBottom","paddingLeft","paddingRight","fontWeight","fontSize","lineHeight","letterSpacing","ButtonShapes","sharp","rounded","pillShaped","padding","ButtonView","shadow","ariaLabel","externalHref","_ref$isAuto","isAuto","_ref$isFilled","isFilled","_ref$isIconRounded","isIconRounded","_ref$isLoader","isLoader","_ref$isDisabled","isDisabled","_ref$variant","variant","_ref$iconPosition","iconPosition","_ref$shape","shape","_ref$onClick","onClick","isActive","defaultNativeProps","disabled","buttonColor","buttonSizeStyles","buttonVariant","filled","backgroundColor","outline","borderWidth","borderStyle","borderColor","link","border","textDecorationLine","ghost","scaleWidth","changePadding","content","as","role","borderRadius","_props$onClick","cursor","textDecorationColor","Button","_React$useState","_useButtonState","filter","HeadingSizes","h1","h2","h3","h4","h5","h6","LabelView","heading","_ref$isItalic","isItalic","_ref$isUnderlined","isUnderlined","_ref$isStriked","isStriked","_ref$weight","weight","fontStyle","Typography","fontWeights","Label","Sizes","CheckboxView","name","label","isChecked","onChange","onValueChange","_ref$shadow","_ref$error","error","_ref$isSelected","isSelected","_ref$isReadOnly","isReadOnly","_ref$isIndeterminate","isIndeterminate","_ref$defaultIsSelecte","setIsSelected","_ref$setIsSelected","checkbox","checkboxStyle","container","Object","assign","undefined","htmlFor","fontSizes","VerticalView","Vertical","TextContent","isSub","isSup","TruncateText","_ref2","_ref2$maxLines","maxLines","containerRef","useRef","setContent","useEffect","textContent","textNode","current","contentHeight","offsetHeight","comLineHeight","getComputedStyle","parseFloat","maxHeight","Math","ceil","slice","length","ref","TextView","_ref3","_ref3$isItalic","_ref3$isUnderlined","_ref3$isSub","_ref3$isSup","_ref3$isStriked","_ref3$isTruncated","isTruncated","_ref3$weight","_ref3$size","lineHeights","Text","HelperText","helperText","marginVertical","marginHorizontal","FieldContainer","position","Shapes","default","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","LabelSizes","InputVariants","borderBottomWidth","unStyled","PadddingWithLabel","PaddingWithoutLabel","paddingVertical","FieldContent","value","_ref$isWithLabel","isWithLabel","_ref$isFocused","isFocused","pickerBox","transition","FieldIcons","top","right","zIndex","FieldLabel","whiteSpace","FieldWrapper","CountryList","CountrySelector","Input","type","CountryItem","DropDownItem","option","_ref$callback","callback","margin","listStyleType","paddingHorizontal","event","stopPropagation","DropDown","_ref2$styles","dropDown","options","_ref2$callback","handleCallback","overflow","boxShadow","map","key","code","CountryPickerView","selected","placeholder","_ref3$hide","hide","_ref3$error","_ref3$isHovered","_ref3$isFocused","_ref3$isAutoFocus","isAutoFocus","_ref3$isDisabled","_ref3$isReadOnly","_ref3$shadow","_ref3$newOptions","newOptions","_ref3$variant","_ref3$shape","_ref3$colorScheme","_ref3$onBlur","onBlur","_ref3$setHide","setHide","_ref3$setNewOptions","setNewOptions","_ref3$setIsHovered","_ref3$setIsFocused","setIsFocused","_ref3$setSelected","setSelected","_ref3$styles","box","IconColor","getColor","useTheme","fieldStyles","paddingVerical","paddingHorizonatl","heigth","on","focus","readOnly","autoFocus","onFocus","selectedCountry","filteredCountries","countryList","country","toLowerCase","startsWith","DatePickerContent","DatePickerView","date","field","_ref$setDate","setDate","_ref$setIsFocused","onChangeText","handleDateChange","TextFieldInput","TextFieldView","hint","inputValue","leftChild","rightChild","_ref$isClearable","isClearable","_ref$isAutoFocus","_ref$setHint","setHint","_ref$setInputValue","setInputValue","_ref$onBlur","useMemo","padddingHorizontal","handleChange","autoComplete","document","TextField","_useState2","_useState3","_useState4","textFieldStates","PasswordView","visibleIcon","hiddenIcon","_ref$isVisible","isVisible","_ref$setIsVisible","setIsVisible","Item","handleOptionClick","SelectBox","_ref2$removeOption","removeOption","_ref2$size","MultiSelect","HiddenSelect","_ref3$isMulti","isMulti","_ref3$options","_excluded2","opacity","multiple","_ref4","_React$useState5","_ref4$styles","_ref4$callback","itemStates","elevation","shadowColor","shadowOffset","shadowOpacity","shadowRadius","overflowY","marginTop","marginLeft","marginRight","marginBottom","_ref5","_ref5$size","_ref5$removeOption","_excluded3","SelectView","_ref6","_ref6$hide","_ref6$error","_ref6$isMulti","_ref6$isFocused","_ref6$isHovered","_ref6$isDisabled","_ref6$isReadOnly","_ref6$options","_ref6$shadow","_ref6$size","_ref6$colorScheme","_ref6$shape","_ref6$variant","_ref6$styles","selectBox","_ref6$onChange","_ref6$setHide","_ref6$setSelected","_ref6$setIsHovered","_ref6$setIsFocused","_excluded4","useCallback","Array","isArray","includes","concat","selectedOption","newSelected","KnobSizes","SliderSizes","SliderPadding","SwitchContent","SwitchView","inActiveChild","activeChild","_ref$on","_ref$isChecked","_ref$setOn","setOn","slider","circle","handleToggle","checked","TextAreaView","defaultValue","_ref$isEditable","isEditable","_ref$isMultiline","isMultiline","_ref$maxRows","maxRows","_ref$maxCols","maxCols","rows","cols","editable","multiline","DefaultSizes","DefaultSpeeds","fast","normal","slow","DefaultSpinner","_ref$speed","speed","colorStyle","sizeStyle","angle","setAngle","intervalId","setInterval","prevAngle","clearInterval","Dotted","_ref2$speed","_ref2$color","cx","cy","r","Quarter","_ref3$speed","_ref3$color","strokeDasharray","LoaderView","textColor","loaderColor","_ref4$type","_ref4$speed","_ref4$textPosition","textPosition","variants","dotted","quarter","ContainerShapes","OverlayAlignments","center","bottom","left","HeaderIconSizes","Modal","Overlay","blur","_ref$isOpen","isOpen","_ref$isClosePrevented","isClosePrevented","_ref$onClose","onClose","_ref$position","setOpen","useModalStore","state","setOnClose","handleClick","visibility","backdropFilter","Container","_ref2$isFullScreen","isFullScreen","_ref2$shape","defaultShadow","Header","_ref3$buttonColor","_ref3$iconSize","_ref3$buttonPosition","buttonPosition","buttonIcon","Body","borderTopWidth","Footer","_excluded5","defaultIsSelected","_React$useState2","checkboxStates","_React$useState3","_React$useState4","countryPickerStates","datePickerStates","format","Date","passwordState","defaultSelected","selectStates","switchStates","textAreaState"],"mappings":"gwBAEO,iDCGDA,EAA4C,SAA9BC,GAAA,IAClBC,EAAQD,EAARC,SAAQC,EAAAF,EACRG,KAAAA,WAAID,EAAG,OAAMA,EAAAE,EAAAJ,EACbK,QAAAA,WAAOD,EAAG,aAAYA,EAAAE,EAAAN,EACtBO,WAAAA,WAAUD,GAAQA,EACfE,EAAKC,EAAAT,EAAAU,GAAA,OAERC,gBAACC,sBACCC,QAAQ,OACRC,SAAUX,EACVY,cAAeR,EAAa,cAAgB,MAC5CS,eAAgBX,GACZG,GAEHP,ICTQgB,EAF0C,SAACT,GAAK,OAAKG,gBAACZ,mBAAmBS,2BCFhFU,EAAoC,SAA1BlB,GAAA,IAA6BC,EAAQD,EAARC,SAAUE,EAAIH,EAAJG,KAASK,EAAKC,EAAAT,EAAAU,GAAA,OACnEC,gBAACC,sBAAKC,QAAQ,OAAOG,eAAe,SAASG,WAAW,SAASL,SAAUX,GAAUK,GAClFP,ICEQmB,EAFkC,SAACZ,GAAK,OAAKG,gBAACO,mBAAeV,wBCE7Da,EAAmC,SAAvBrB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