@app-studio/web 0.1.5 → 0.1.6

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 (283) hide show
  1. package/package.json +2 -3
  2. package/src/components/Button/Button/Button.props.ts +0 -79
  3. package/src/components/Button/Button/Button.state.ts +0 -7
  4. package/src/components/Button/Button/Button.style.ts +0 -95
  5. package/src/components/Button/Button/Button.type.d.ts +0 -11
  6. package/src/components/Button/Button/Button.view.tsx +0 -113
  7. package/src/components/Button/Button.md +0 -165
  8. package/src/components/Button/Button.tsx +0 -24
  9. package/src/components/Button/examples/AutoFocusButton.tsx +0 -13
  10. package/src/components/Button/examples/BorderedButtons.tsx +0 -14
  11. package/src/components/Button/examples/ColoredButtons.tsx +0 -12
  12. package/src/components/Button/examples/DefaultButton.tsx +0 -4
  13. package/src/components/Button/examples/DisabledButton.tsx +0 -13
  14. package/src/components/Button/examples/IconButtons.tsx +0 -23
  15. package/src/components/Button/examples/LoadingButtons.tsx +0 -32
  16. package/src/components/Button/examples/ShadowButton.tsx +0 -6
  17. package/src/components/Button/examples/SizeButtons.tsx +0 -16
  18. package/src/components/Button/examples/VariantButtons.tsx +0 -20
  19. package/src/components/Button/examples/index.ts +0 -9
  20. package/src/components/Form/Checkbox/Checkbox/Checkbox.props.ts +0 -118
  21. package/src/components/Form/Checkbox/Checkbox/Checkbox.state.ts +0 -15
  22. package/src/components/Form/Checkbox/Checkbox/Checkbox.style.ts +0 -29
  23. package/src/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +0 -8
  24. package/src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx +0 -98
  25. package/src/components/Form/Checkbox/Checkbox.md +0 -128
  26. package/src/components/Form/Checkbox/Checkbox.tsx +0 -15
  27. package/src/components/Form/Checkbox/examples/ColorScheme.tsx +0 -12
  28. package/src/components/Form/Checkbox/examples/Default.tsx +0 -5
  29. package/src/components/Form/Checkbox/examples/DisabledInput.tsx +0 -5
  30. package/src/components/Form/Checkbox/examples/ErrorCheckbox.tsx +0 -5
  31. package/src/components/Form/Checkbox/examples/FormCheckout.tsx +0 -46
  32. package/src/components/Form/Checkbox/examples/IconCheckbox.tsx +0 -8
  33. package/src/components/Form/Checkbox/examples/IndeterminateCheckbox.tsx +0 -5
  34. package/src/components/Form/Checkbox/examples/ReadOnlyInput.tsx +0 -5
  35. package/src/components/Form/Checkbox/examples/Shadow.tsx +0 -11
  36. package/src/components/Form/Checkbox/examples/SizeInput.tsx +0 -18
  37. package/src/components/Form/Checkbox/examples/StylesInput.tsx +0 -22
  38. package/src/components/Form/Checkbox/examples/index.ts +0 -11
  39. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.props.ts +0 -187
  40. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.state.ts +0 -28
  41. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.style.ts +0 -17
  42. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +0 -22
  43. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.view.tsx +0 -234
  44. package/src/components/Form/CountryPicker/CountryPicker.md +0 -206
  45. package/src/components/Form/CountryPicker/CountryPicker.tsx +0 -16
  46. package/src/components/Form/CountryPicker/countries.json +0 -1453
  47. package/src/components/Form/CountryPicker/examples/Color.tsx +0 -12
  48. package/src/components/Form/CountryPicker/examples/Default.tsx +0 -4
  49. package/src/components/Form/CountryPicker/examples/Disabled.tsx +0 -5
  50. package/src/components/Form/CountryPicker/examples/Error.tsx +0 -4
  51. package/src/components/Form/CountryPicker/examples/Form.tsx +0 -23
  52. package/src/components/Form/CountryPicker/examples/Formik.tsx +0 -39
  53. package/src/components/Form/CountryPicker/examples/HelperText.tsx +0 -5
  54. package/src/components/Form/CountryPicker/examples/ReadOnlyInput.tsx +0 -5
  55. package/src/components/Form/CountryPicker/examples/Shadow.tsx +0 -4
  56. package/src/components/Form/CountryPicker/examples/Shape.tsx +0 -13
  57. package/src/components/Form/CountryPicker/examples/SizeInput.tsx +0 -16
  58. package/src/components/Form/CountryPicker/examples/StylesInput.tsx +0 -17
  59. package/src/components/Form/CountryPicker/examples/Variant.tsx +0 -13
  60. package/src/components/Form/CountryPicker/examples/index.ts +0 -12
  61. package/src/components/Form/CountryPicker/styles.css +0 -7
  62. package/src/components/Form/DatePicker/DatePicker/DatePicker.props.ts +0 -113
  63. package/src/components/Form/DatePicker/DatePicker/DatePicker.state.ts +0 -17
  64. package/src/components/Form/DatePicker/DatePicker/DatePicker.style.ts +0 -17
  65. package/src/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +0 -15
  66. package/src/components/Form/DatePicker/DatePicker/DatePicker.view.tsx +0 -118
  67. package/src/components/Form/DatePicker/DatePicker.md +0 -115
  68. package/src/components/Form/DatePicker/DatePicker.tsx +0 -15
  69. package/src/components/Form/DatePicker/examples/ColorScheme.tsx +0 -12
  70. package/src/components/Form/DatePicker/examples/Default.tsx +0 -4
  71. package/src/components/Form/DatePicker/examples/DisabledInput.tsx +0 -5
  72. package/src/components/Form/DatePicker/examples/ErrorCheckbox.tsx +0 -4
  73. package/src/components/Form/DatePicker/examples/FormCheckout.tsx +0 -23
  74. package/src/components/Form/DatePicker/examples/Formik.tsx +0 -35
  75. package/src/components/Form/DatePicker/examples/ReadOnlyInput.tsx +0 -5
  76. package/src/components/Form/DatePicker/examples/Shadow.tsx +0 -10
  77. package/src/components/Form/DatePicker/examples/SizeInput.tsx +0 -16
  78. package/src/components/Form/DatePicker/examples/StylesInput.tsx +0 -14
  79. package/src/components/Form/DatePicker/examples/helperTextDatePicker.tsx +0 -6
  80. package/src/components/Form/DatePicker/examples/index.ts +0 -11
  81. package/src/components/Form/Label/Label/Label.props.ts +0 -36
  82. package/src/components/Form/Label/Label/Label.style.ts +0 -34
  83. package/src/components/Form/Label/Label/Label.type.ts +0 -14
  84. package/src/components/Form/Label/Label/Label.view.tsx +0 -35
  85. package/src/components/Form/Label/Label.tsx +0 -8
  86. package/src/components/Form/Password/Password/Password.props.ts +0 -36
  87. package/src/components/Form/Password/Password/Password.state.ts +0 -6
  88. package/src/components/Form/Password/Password/Password.type.d.ts +0 -14
  89. package/src/components/Form/Password/Password/Password.view.tsx +0 -32
  90. package/src/components/Form/Password/Password.md +0 -108
  91. package/src/components/Form/Password/Password.tsx +0 -15
  92. package/src/components/Form/Password/example/Default.tsx +0 -9
  93. package/src/components/Form/Password/example/DisabledInput.tsx +0 -17
  94. package/src/components/Form/Password/example/ErrorInput.tsx +0 -66
  95. package/src/components/Form/Password/example/FormikErrorInput.tsx +0 -67
  96. package/src/components/Form/Password/example/FormikHelperText.tsx +0 -65
  97. package/src/components/Form/Password/example/HelperText.tsx +0 -65
  98. package/src/components/Form/Select/Select/Select.props.ts +0 -262
  99. package/src/components/Form/Select/Select/Select.state.ts +0 -19
  100. package/src/components/Form/Select/Select/Select.style.ts +0 -19
  101. package/src/components/Form/Select/Select/Select.type.d.ts +0 -15
  102. package/src/components/Form/Select/Select/Select.view.tsx +0 -337
  103. package/src/components/Form/Select/Select.md +0 -165
  104. package/src/components/Form/Select/Select.tsx +0 -16
  105. package/src/components/Form/Select/examples/Color.tsx +0 -12
  106. package/src/components/Form/Select/examples/Default.tsx +0 -4
  107. package/src/components/Form/Select/examples/Disabled.tsx +0 -5
  108. package/src/components/Form/Select/examples/Error.tsx +0 -4
  109. package/src/components/Form/Select/examples/Form.tsx +0 -23
  110. package/src/components/Form/Select/examples/Formik.tsx +0 -41
  111. package/src/components/Form/Select/examples/HelperText.tsx +0 -7
  112. package/src/components/Form/Select/examples/Multiple.tsx +0 -6
  113. package/src/components/Form/Select/examples/ReadOnlyInput.tsx +0 -5
  114. package/src/components/Form/Select/examples/Shadow.tsx +0 -11
  115. package/src/components/Form/Select/examples/SizeInput.tsx +0 -16
  116. package/src/components/Form/Select/examples/StylesInput.tsx +0 -15
  117. package/src/components/Form/Switch/Switch/Switch.props.ts +0 -91
  118. package/src/components/Form/Switch/Switch/Switch.state.ts +0 -11
  119. package/src/components/Form/Switch/Switch/Switch.style.ts +0 -72
  120. package/src/components/Form/Switch/Switch/Switch.type.d.ts +0 -6
  121. package/src/components/Form/Switch/Switch/Switch.view.tsx +0 -78
  122. package/src/components/Form/Switch/Switch.md +0 -148
  123. package/src/components/Form/Switch/Switch.tsx +0 -12
  124. package/src/components/Form/Switch/examples/ChildSwitch.tsx +0 -20
  125. package/src/components/Form/Switch/examples/ColorScheme.tsx +0 -5
  126. package/src/components/Form/Switch/examples/Default.tsx +0 -4
  127. package/src/components/Form/Switch/examples/DisabledInput.tsx +0 -7
  128. package/src/components/Form/Switch/examples/FormSwitch.tsx +0 -22
  129. package/src/components/Form/Switch/examples/Formik.tsx +0 -30
  130. package/src/components/Form/Switch/examples/ReadOnlyInput.tsx +0 -7
  131. package/src/components/Form/Switch/examples/Shadow.tsx +0 -11
  132. package/src/components/Form/Switch/examples/SizeInput.tsx +0 -21
  133. package/src/components/Form/Switch/examples/StylesInput.tsx +0 -32
  134. package/src/components/Form/TextArea/TextArea/TextArea.props.ts +0 -154
  135. package/src/components/Form/TextArea/TextArea/TextArea.state.ts +0 -21
  136. package/src/components/Form/TextArea/TextArea/TextArea.type.ts +0 -15
  137. package/src/components/Form/TextArea/TextArea/TextArea.view.tsx +0 -143
  138. package/src/components/Form/TextArea/TextArea.md +0 -169
  139. package/src/components/Form/TextArea/TextArea.tsx +0 -15
  140. package/src/components/Form/TextArea/examples/ColorScheme.tsx +0 -13
  141. package/src/components/Form/TextArea/examples/Default.tsx +0 -5
  142. package/src/components/Form/TextArea/examples/DisabledInput.tsx +0 -7
  143. package/src/components/Form/TextArea/examples/ErrorInput.tsx +0 -50
  144. package/src/components/Form/TextArea/examples/FormikErrorInput.tsx +0 -52
  145. package/src/components/Form/TextArea/examples/FormikHelperText.tsx +0 -51
  146. package/src/components/Form/TextArea/examples/HelperText.tsx +0 -49
  147. package/src/components/Form/TextArea/examples/LabelInput.tsx +0 -23
  148. package/src/components/Form/TextArea/examples/MaxRowCol.tsx +0 -7
  149. package/src/components/Form/TextArea/examples/Placeholder.tsx +0 -23
  150. package/src/components/Form/TextArea/examples/ReadOnlyInput.tsx +0 -7
  151. package/src/components/Form/TextArea/examples/ShadowArea.tsx +0 -28
  152. package/src/components/Form/TextArea/examples/ShapeInput.tsx +0 -15
  153. package/src/components/Form/TextArea/examples/SizeInput.tsx +0 -16
  154. package/src/components/Form/TextArea/examples/StylesInput.tsx +0 -32
  155. package/src/components/Form/TextArea/examples/VariantsInputs.tsx +0 -15
  156. package/src/components/Form/TextArea/examples/index.ts +0 -15
  157. package/src/components/Form/TextArea/styles.css +0 -7
  158. package/src/components/Form/TextField/TextField/TextField.props.ts +0 -134
  159. package/src/components/Form/TextField/TextField/TextField.state.ts +0 -21
  160. package/src/components/Form/TextField/TextField/TextField.type.d.ts +0 -15
  161. package/src/components/Form/TextField/TextField/TextField.view.tsx +0 -170
  162. package/src/components/Form/TextField/TextField.md +0 -193
  163. package/src/components/Form/TextField/TextField.tsx +0 -14
  164. package/src/components/Form/TextField/examples/ClearInput.tsx +0 -13
  165. package/src/components/Form/TextField/examples/ColorScheme.tsx +0 -13
  166. package/src/components/Form/TextField/examples/Default.tsx +0 -23
  167. package/src/components/Form/TextField/examples/DisabledInput.tsx +0 -7
  168. package/src/components/Form/TextField/examples/ErrorInput.tsx +0 -74
  169. package/src/components/Form/TextField/examples/FormikErrorInput.tsx +0 -76
  170. package/src/components/Form/TextField/examples/FormikHelperText.tsx +0 -62
  171. package/src/components/Form/TextField/examples/HelperText.tsx +0 -60
  172. package/src/components/Form/TextField/examples/LabelInput.tsx +0 -23
  173. package/src/components/Form/TextField/examples/LeftChild.tsx +0 -8
  174. package/src/components/Form/TextField/examples/Placeholder.tsx +0 -23
  175. package/src/components/Form/TextField/examples/ReadOnlyInput.tsx +0 -7
  176. package/src/components/Form/TextField/examples/RightChild.tsx +0 -8
  177. package/src/components/Form/TextField/examples/ShapeInput.tsx +0 -15
  178. package/src/components/Form/TextField/examples/SizeInput.tsx +0 -16
  179. package/src/components/Form/TextField/examples/StylesInput.tsx +0 -33
  180. package/src/components/Form/TextField/examples/VariantsInputs.tsx +0 -15
  181. package/src/components/Form/TextField/examples/index.ts +0 -17
  182. package/src/components/Form/TextField/styles.css +0 -7
  183. package/src/components/Layout/Center/Center/Center.props.ts +0 -18
  184. package/src/components/Layout/Center/Center/Center.view.tsx +0 -12
  185. package/src/components/Layout/Center/Center.md +0 -17
  186. package/src/components/Layout/Center/Center.tsx +0 -11
  187. package/src/components/Layout/Horizontal/Horizontal/Horizontal.props.ts +0 -26
  188. package/src/components/Layout/Horizontal/Horizontal/Horizontal.view.tsx +0 -24
  189. package/src/components/Layout/Horizontal/Horizontal.md +0 -107
  190. package/src/components/Layout/Horizontal/Horizontal.tsx +0 -11
  191. package/src/components/Layout/Horizontal/examples/Default.tsx +0 -11
  192. package/src/components/Layout/Horizontal/examples/Justify.tsx +0 -25
  193. package/src/components/Layout/Horizontal/examples/Reversed.tsx +0 -11
  194. package/src/components/Layout/Horizontal/examples/Wrap.tsx +0 -29
  195. package/src/components/Layout/Horizontal/examples/index.ts +0 -4
  196. package/src/components/Layout/Input/FieldContainer/FieldContainer/FieldContainer.props.ts +0 -25
  197. package/src/components/Layout/Input/FieldContainer/FieldContainer.tsx +0 -17
  198. package/src/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.ts +0 -75
  199. package/src/components/Layout/Input/FieldContent/FieldContent.tsx +0 -55
  200. package/src/components/Layout/Input/FieldIcons/FieldIcons/FieldIcons.props.ts +0 -12
  201. package/src/components/Layout/Input/FieldIcons/FieldIcons.tsx +0 -19
  202. package/src/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.ts +0 -31
  203. package/src/components/Layout/Input/FieldLabel/FieldLabel.tsx +0 -30
  204. package/src/components/Layout/Input/FieldLayout/FieldLayout/FieldLayout.props.ts +0 -29
  205. package/src/components/Layout/Input/FieldLayout/FieldLayout.tsx +0 -33
  206. package/src/components/Layout/Input/FieldWrapper/FieldWrapper.props.ts +0 -12
  207. package/src/components/Layout/Input/FieldWrapper/FieldWrapper.tsx +0 -11
  208. package/src/components/Layout/Input/HelperText/HelperText.props.ts +0 -21
  209. package/src/components/Layout/Input/HelperText/HelperText.tsx +0 -22
  210. package/src/components/Layout/Input/index.ts +0 -7
  211. package/src/components/Layout/Vertical/Vertical/Vertical.props.ts +0 -26
  212. package/src/components/Layout/Vertical/Vertical/Vertical.type.ts +0 -3
  213. package/src/components/Layout/Vertical/Vertical/Vertical.view.tsx +0 -23
  214. package/src/components/Layout/Vertical/Vertical.md +0 -120
  215. package/src/components/Layout/Vertical/Vertical.tsx +0 -12
  216. package/src/components/Layout/Vertical/examples/Default.tsx +0 -11
  217. package/src/components/Layout/Vertical/examples/Justify.tsx +0 -26
  218. package/src/components/Layout/Vertical/examples/Reversed.tsx +0 -11
  219. package/src/components/Layout/Vertical/examples/Wrap.tsx +0 -30
  220. package/src/components/Layout/Vertical/examples/index.tsx +0 -5
  221. package/src/components/Layout/View/View.tsx +0 -2
  222. package/src/components/Layout/configs/Input.style.ts +0 -45
  223. package/src/components/Layout/configs/Input.type.ts +0 -18
  224. package/src/components/Link/Link/Link.props.ts +0 -50
  225. package/src/components/Link/Link/Link.state.ts +0 -6
  226. package/src/components/Link/Link/Link.style.ts +0 -14
  227. package/src/components/Link/Link/Link.type.d.ts +0 -8
  228. package/src/components/Link/Link/Link.view.tsx +0 -44
  229. package/src/components/Link/Link.md +0 -61
  230. package/src/components/Link/Link.tsx +0 -15
  231. package/src/components/Link/examples/Default.tsx +0 -5
  232. package/src/components/Link/examples/IsExternal.tsx +0 -10
  233. package/src/components/Link/examples/Underline.tsx +0 -23
  234. package/src/components/Loader/Loader/Loader.props.ts +0 -105
  235. package/src/components/Loader/Loader/Loader.style.ts +0 -25
  236. package/src/components/Loader/Loader/Loader.type.d.ts +0 -4
  237. package/src/components/Loader/Loader/Loader.view.tsx +0 -138
  238. package/src/components/Loader/Loader.md +0 -111
  239. package/src/components/Loader/Loader.tsx +0 -11
  240. package/src/components/Loader/examples/ColorLoader.tsx +0 -13
  241. package/src/components/Loader/examples/DefaultLoader.tsx +0 -4
  242. package/src/components/Loader/examples/PositionLoader.tsx +0 -19
  243. package/src/components/Loader/examples/SizeLoader.tsx +0 -12
  244. package/src/components/Loader/examples/SpeedLoader.tsx +0 -12
  245. package/src/components/Loader/examples/TextLoader.tsx +0 -8
  246. package/src/components/Loader/examples/VariantLoader.tsx +0 -12
  247. package/src/components/Loader/examples/index.ts +0 -7
  248. package/src/components/Modal/Examples/BlurModal.tsx +0 -38
  249. package/src/components/Modal/Examples/CloseButtonModal.tsx +0 -44
  250. package/src/components/Modal/Examples/DefaultModal.tsx +0 -38
  251. package/src/components/Modal/Examples/FullScreenModal.tsx +0 -28
  252. package/src/components/Modal/Examples/ModalPosition.tsx +0 -61
  253. package/src/components/Modal/Examples/PreventCloseModal.tsx +0 -27
  254. package/src/components/Modal/Examples/ScrollModal.tsx +0 -41
  255. package/src/components/Modal/Examples/ShadowModal.tsx +0 -29
  256. package/src/components/Modal/Examples/VariantModal.tsx +0 -48
  257. package/src/components/Modal/Examples/index.ts +0 -9
  258. package/src/components/Modal/Modal/Modal.props.ts +0 -202
  259. package/src/components/Modal/Modal/Modal.style.ts +0 -23
  260. package/src/components/Modal/Modal/Modal.type.d.ts +0 -7
  261. package/src/components/Modal/Modal/Modal.view.tsx +0 -169
  262. package/src/components/Modal/Modal.md +0 -509
  263. package/src/components/Modal/Modal.tsx +0 -18
  264. package/src/components/Svg/ArrowDown.tsx +0 -32
  265. package/src/components/Svg/ArrowUp.tsx +0 -32
  266. package/src/components/Svg/Check.tsx +0 -28
  267. package/src/components/Svg/Close.tsx +0 -31
  268. package/src/components/Svg/CloseEye.tsx +0 -26
  269. package/src/components/Svg/DustBin.tsx +0 -29
  270. package/src/components/Svg/Edit.tsx +0 -34
  271. package/src/components/Svg/ExternalLink.tsx +0 -31
  272. package/src/components/Svg/Indeterminate.tsx +0 -21
  273. package/src/components/Svg/OpenEye.tsx +0 -26
  274. package/src/components/Svg/Profile.tsx +0 -40
  275. package/src/components/Svg/RightArrow.tsx +0 -44
  276. package/src/components/Svg/index.tsx +0 -12
  277. package/src/components/Text/Text/Text.props.ts +0 -84
  278. package/src/components/Text/Text/Text.style.ts +0 -34
  279. package/src/components/Text/Text/Text.type.d.ts +0 -14
  280. package/src/components/Text/Text/Text.view.tsx +0 -96
  281. package/src/components/Text/Text.md +0 -163
  282. package/src/components/Text/Text.tsx +0 -13
  283. package/src/components/index.tsx +0 -18
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- [x: string]: any;
8
- }
9
-
10
- export const DustBinSvg: React.FC<SvgProps> = ({ size = 64, ...props }) => (
11
- <Center width={`${size}px`} height={`${size}px`}>
12
- <svg
13
- fill="#ffffff"
14
- width={`${size}px`}
15
- height={`${size}px`}
16
- version="1.1"
17
- id="Capa_1"
18
- xmlns="http://www.w3.org/2000/svg"
19
- viewBox="0 0 197.516 197.516"
20
- {...props}
21
- >
22
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
23
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
24
- <g id="SVGRepo_iconCarrier">
25
- <path d="M68.758,170.083V72.649h15v97.434H68.758z M128.758,72.649h-15v97.434h15V72.649z M140.539,0v12.631h34.885v47.746h-10.525 v137.139H32.617V60.377H22.092V12.631h34.883V0H140.539z M149.898,60.377H47.617v122.139h102.281V60.377z M125.539,27.631V15H71.975 v12.631H37.092v17.585h123.332V27.631H125.539z"></path>
26
- </g>
27
- </svg>
28
- </Center>
29
- );
@@ -1,34 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- color?: string;
8
- [x: string]: any;
9
- }
10
-
11
- export const EditSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (
12
- <Center width={`${size}px`} height={`${size}px`}>
13
- <svg
14
- width={`${size}px`}
15
- height={`${size}px`}
16
- viewBox="0 0 24 24"
17
- fill="none"
18
- xmlns="http://www.w3.org/2000/svg"
19
- {...props}
20
- >
21
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
22
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
23
- <g id="SVGRepo_iconCarrier">
24
- <path
25
- d="M18.3785 8.44975L8.9636 17.8648C8.6844 18.144 8.3288 18.3343 7.94161 18.4117L4.99988 19.0001L5.58823 16.0583C5.66566 15.6711 5.85597 15.3155 6.13517 15.0363L15.5501 5.62132M18.3785 8.44975L19.7927 7.03553C20.1832 6.64501 20.1832 6.01184 19.7927 5.62132L18.3785 4.20711C17.988 3.81658 17.3548 3.81658 16.9643 4.20711L15.5501 5.62132M18.3785 8.44975L15.5501 5.62132"
26
- stroke={color}
27
- strokeWidth="2"
28
- strokeLinecap="round"
29
- strokeLinejoin="round"
30
- ></path>
31
- </g>
32
- </svg>
33
- </Center>
34
- );
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- color?: string;
8
- [x: string]: any;
9
- }
10
-
11
- export const ExternalLinkSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (
12
- <Center width={`${size}px`} height={`${size}px`}>
13
- <svg
14
- fill={color}
15
- width={`${size}px`}
16
- height={`${size}px`}
17
- viewBox="0 0 50 50"
18
- xmlns="http://www.w3.org/2000/svg"
19
- stroke={color}
20
- {...props}
21
- >
22
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
23
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
24
- <g id="SVGRepo_iconCarrier">
25
- <path d="M38.288 10.297l1.414 1.415-14.99 14.99-1.414-1.414z"></path>
26
- <path d="M40 20h-2v-8h-8v-2h10z"></path>
27
- <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>
28
- </g>
29
- </svg>
30
- </Center>
31
- );
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- color?: string;
8
- [x: string]: any;
9
- }
10
-
11
- export const IndeterminateSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (
12
- <Center width={`${size}px`} height={`${size}px`}>
13
- <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
14
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
15
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
16
- <g id="SVGRepo_iconCarrier">
17
- <path d="M7 12L17 12" stroke={color} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"></path>{' '}
18
- </g>
19
- </svg>
20
- </Center>
21
- );
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- color?: string;
8
- [x: string]: any;
9
- }
10
-
11
- export const OpenEyeSvg: React.FC<SvgProps> = ({ size = 64, color = '#2F4858', ...props }) => (
12
- <Center width={`${size}px`} height={`${size}px`}>
13
- <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
14
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
15
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
16
- <g id="SVGRepo_iconCarrier">
17
- <path
18
- fillRule="evenodd"
19
- clipRule="evenodd"
20
- d="M6.30147 15.5771C4.77832 14.2684 3.6904 12.7726 3.18002 12C3.6904 11.2274 4.77832 9.73158 6.30147 8.42294C7.87402 7.07185 9.81574 6 12 6C14.1843 6 16.1261 7.07185 17.6986 8.42294C19.2218 9.73158 20.3097 11.2274 20.8201 12C20.3097 12.7726 19.2218 14.2684 17.6986 15.5771C16.1261 16.9282 14.1843 18 12 18C9.81574 18 7.87402 16.9282 6.30147 15.5771ZM12 4C9.14754 4 6.75717 5.39462 4.99812 6.90595C3.23268 8.42276 2.00757 10.1376 1.46387 10.9698C1.05306 11.5985 1.05306 12.4015 1.46387 13.0302C2.00757 13.8624 3.23268 15.5772 4.99812 17.0941C6.75717 18.6054 9.14754 20 12 20C14.8525 20 17.2429 18.6054 19.002 17.0941C20.7674 15.5772 21.9925 13.8624 22.5362 13.0302C22.947 12.4015 22.947 11.5985 22.5362 10.9698C21.9925 10.1376 20.7674 8.42276 19.002 6.90595C17.2429 5.39462 14.8525 4 12 4ZM10 12C10 10.8954 10.8955 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8955 14 10 13.1046 10 12ZM12 8C9.7909 8 8.00004 9.79086 8.00004 12C8.00004 14.2091 9.7909 16 12 16C14.2092 16 16 14.2091 16 12C16 9.79086 14.2092 8 12 8Z"
21
- fill={color}
22
- ></path>
23
- </g>
24
- </svg>
25
- </Center>
26
- );
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- color?: string;
8
- [x: string]: any;
9
- }
10
-
11
- export const ProfileSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (
12
- <Center width={`${size}px`} height={`${size}px`}>
13
- <svg
14
- width={`${size}px`}
15
- height={`${size}px`}
16
- viewBox="0 0 20 20"
17
- version="1.1"
18
- xmlns="http://www.w3.org/2000/svg"
19
- fill="#000000"
20
- {...props}
21
- >
22
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
23
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
24
- <g id="SVGRepo_iconCarrier">
25
- <title>profile_round [#1342]</title> <desc>Created with Sketch.</desc>
26
- <defs> </defs>
27
- <g id="Page-1" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
28
- <g id="Dribbble-Light-Preview" transform="translate(-140.000000, -2159.000000)" fill={color}>
29
- <g id="icons" transform="translate(56.000000, 160.000000)">
30
- <path
31
- d="M100.562548,2016.99998 L87.4381713,2016.99998 C86.7317804,2016.99998 86.2101535,2016.30298 86.4765813,2015.66198 C87.7127655,2012.69798 90.6169306,2010.99998 93.9998492,2010.99998 C97.3837885,2010.99998 100.287954,2012.69798 101.524138,2015.66198 C101.790566,2016.30298 101.268939,2016.99998 100.562548,2016.99998 M89.9166645,2004.99998 C89.9166645,2002.79398 91.7489936,2000.99998 93.9998492,2000.99998 C96.2517256,2000.99998 98.0830339,2002.79398 98.0830339,2004.99998 C98.0830339,2007.20598 96.2517256,2008.99998 93.9998492,2008.99998 C91.7489936,2008.99998 89.9166645,2007.20598 89.9166645,2004.99998 M103.955674,2016.63598 C103.213556,2013.27698 100.892265,2010.79798 97.837022,2009.67298 C99.4560048,2008.39598 100.400241,2006.33098 100.053171,2004.06998 C99.6509769,2001.44698 97.4235996,1999.34798 94.7348224,1999.04198 C91.0232075,1998.61898 87.8750721,2001.44898 87.8750721,2004.99998 C87.8750721,2006.88998 88.7692896,2008.57398 90.1636971,2009.67298 C87.1074334,2010.79798 84.7871636,2013.27698 84.044024,2016.63598 C83.7745338,2017.85698 84.7789973,2018.99998 86.0539717,2018.99998 L101.945727,2018.99998 C103.221722,2018.99998 104.226185,2017.85698 103.955674,2016.63598"
32
- id="profile_round-[#1342]"
33
- ></path>
34
- </g>
35
- </g>
36
- </g>
37
- </g>
38
- </svg>
39
- </Center>
40
- );
@@ -1,44 +0,0 @@
1
- import React from 'react';
2
-
3
- import { Center } from '../Layout/Center/Center';
4
-
5
- interface SvgProps {
6
- size?: number;
7
- color?: string;
8
- [x: string]: any;
9
- }
10
-
11
- export const RightArrowSvg: React.FC<SvgProps> = ({ size = 64, color = 'white', ...props }) => (
12
- <Center width={`${size}px`} height={`${size}px`}>
13
- <svg
14
- width={`${size}px`}
15
- height={`${size}px`}
16
- viewBox="0 -6.5 36 36"
17
- version="1.1"
18
- xmlns="http://www.w3.org/2000/svg"
19
- fill="#000000"
20
- {...props}
21
- >
22
- <g id="SVGRepo_bgCarrier" strokeWidth="0"></g>
23
- <g id="SVGRepo_tracerCarrier" strokeLinecap="round" strokeLinejoin="round"></g>
24
- <g id="SVGRepo_iconCarrier">
25
- <title>right-arrow</title> <desc>Created with Sketch.</desc>
26
- <g id="icons" stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
27
- <g
28
- id="ui-gambling-website-lined-icnos-casinoshunter"
29
- transform="translate(-212.000000, -159.000000)"
30
- fill={color}
31
- fillRule="nonzero"
32
- >
33
- <g id="square-filled" transform="translate(50.000000, 120.000000)">
34
- <path
35
- d="M187.108012,39.2902857 L197.649804,49.7417043 L197.708994,49.7959169 C197.889141,49.9745543 197.986143,50.2044182 198,50.4382227 L198,50.5617773 C197.986143,50.7955818 197.889141,51.0254457 197.708994,51.2040831 L197.6571,51.2479803 L187.108012,61.7097143 C186.717694,62.0967619 186.084865,62.0967619 185.694547,61.7097143 C185.30423,61.3226668 185.30423,60.6951387 185.694547,60.3080911 L194.702666,51.3738496 L162.99947,51.3746291 C162.447478,51.3746291 162,50.9308997 162,50.3835318 C162,49.8361639 162.447478,49.3924345 162.99947,49.3924345 L194.46779,49.3916551 L185.694547,40.6919089 C185.30423,40.3048613 185.30423,39.6773332 185.694547,39.2902857 C186.084865,38.9032381 186.717694,38.9032381 187.108012,39.2902857 Z M197.115357,50.382693 L186.401279,61.0089027 L197.002151,50.5002046 L197.002252,50.4963719 L196.943142,50.442585 L196.882737,50.382693 L197.115357,50.382693 Z"
36
- id="right-arrow"
37
- ></path>
38
- </g>
39
- </g>
40
- </g>
41
- </g>
42
- </svg>
43
- </Center>
44
- );
@@ -1,12 +0,0 @@
1
- export * from './ArrowDown';
2
- export * from './ArrowUp';
3
- export * from './Check';
4
- export * from './Close';
5
- export * from './CloseEye';
6
- export * from './DustBin';
7
- export * from './Edit';
8
- export * from './ExternalLink';
9
- export * from './Indeterminate';
10
- export * from './OpenEye';
11
- export * from './Profile';
12
- export * from './RightArrow';
@@ -1,84 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import type { TextProps as TextAppProps } from 'app-studio';
3
-
4
- import { Headings, Size, TextWeights } from './Text.type';
5
-
6
- export interface TextProps extends Omit<TextAppProps, 'children' | 'style' | 'pointerEvents'>, CSSProperties {
7
- /**
8
- * The content of the text.
9
- */
10
- children: React.ReactNode;
11
- /**
12
- * Specifies the HTML heading tag to use.
13
- */
14
- heading?: Headings;
15
- /**
16
- * Determines whether the text should be displayed in italic style.
17
- */
18
- isItalic?: boolean;
19
- /**
20
- * Indicates that the text is no longer valid by applying a strikethrough style.
21
- */
22
- isStriked?: boolean;
23
- /**
24
- * Adds an underline to the text.
25
- */
26
- isUnderlined?: boolean;
27
- /**
28
- * Truncates the text and adds an ellipsis at the end if it exceeds the available space.
29
- */
30
- isTruncated?: boolean;
31
- /**
32
- * Displays the text slightly below the baseline of the surrounding text.
33
- */
34
- isSub?: boolean;
35
- /**
36
- * Displays the text slightly above the surrounding text.
37
- */
38
- isSup?: boolean;
39
- /**
40
- * The maximum number of lines to display when using text truncation.
41
- */
42
- maxLines?: number;
43
- /**
44
- * Adjusts the size of the text. Can be a predefined size or a custom number.
45
- */
46
- size?: Size;
47
- /**
48
- * Specifies the font weight of the text.
49
- */
50
- weight?: TextWeights;
51
- /**
52
- * Additional properties for customization and extension.
53
- */
54
- [x: string]: any;
55
- }
56
-
57
- export interface ContentProps {
58
- /**
59
- * The content to be rendered within the component.
60
- */
61
- children: React.ReactNode | string;
62
-
63
- /**
64
- * Optional prop indicating if the content should be displayed as a subtext.
65
- */
66
- isSub?: boolean;
67
-
68
- /**
69
- * Optional prop indicating if the content should be displayed as a supertext.
70
- */
71
- isSup?: boolean;
72
- }
73
-
74
- export interface TruncateTextProps {
75
- /**
76
- * The text to be truncated.
77
- */
78
- text: string;
79
-
80
- /**
81
- * The maximum number of lines to display before truncating the text.
82
- */
83
- maxLines?: number;
84
- }
@@ -1,34 +0,0 @@
1
- import { Headings } from './Text.type';
2
-
3
- export const HeadingSizes: Record<Headings, Record<string, number | string>> = {
4
- h1: {
5
- fontSize: 96,
6
- lineHeight: 112,
7
- letterSpacing: -1.5,
8
- },
9
- h2: {
10
- fontSize: 60,
11
- lineHeight: 71,
12
- letterSpacing: -0.5,
13
- },
14
- h3: {
15
- fontSize: 48,
16
- lineHeight: 57,
17
- letterSpacing: 0,
18
- },
19
- h4: {
20
- fontSize: 34,
21
- lineHeight: 40,
22
- letterSpacing: 0.25,
23
- },
24
- h5: {
25
- fontSize: 24,
26
- lineHeight: 28,
27
- letterSpacing: 0,
28
- },
29
- h6: {
30
- fontSize: 20,
31
- lineHeight: 24,
32
- letterSpacing: 0.15,
33
- },
34
- };
@@ -1,14 +0,0 @@
1
- export type TextWeights =
2
- | 'hairline'
3
- | 'thin'
4
- | 'light'
5
- | 'normal'
6
- | 'medium'
7
- | 'semiBold'
8
- | 'bold'
9
- | 'extraBold'
10
- | 'black';
11
-
12
- export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl';
13
-
14
- export type Headings = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
@@ -1,96 +0,0 @@
1
- import React, { useEffect, useRef, useState } from 'react';
2
- import { Element, Typography } from 'app-studio';
3
-
4
- import { ContentProps, TextProps, TruncateTextProps } from './Text.props';
5
- import { HeadingSizes } from './Text.style';
6
-
7
- const TextContent: React.FC<ContentProps> = ({ children, isSub, isSup }) => (
8
- <>
9
- {typeof children === 'string' ? (
10
- <>
11
- {isSub && <sup>{children}</sup>}
12
- {isSup && <sup>{children}</sup>}
13
- {!isSub && !isSup && <>{children}</>}
14
- </>
15
- ) : (
16
- children
17
- )}
18
- </>
19
- );
20
-
21
- const TruncateText: React.FC<TruncateTextProps> = ({ text, maxLines = 1 }) => {
22
- const containerRef = useRef<HTMLDivElement>(null);
23
- const [content, setContent] = useState(text);
24
-
25
- useEffect(() => {
26
- let textContent = content;
27
- const textNode = containerRef.current;
28
-
29
- if (textNode) {
30
- const contentHeight = textNode.offsetHeight;
31
-
32
- const comLineHeight = getComputedStyle(textNode).lineHeight;
33
-
34
- const lineHeight: number = comLineHeight !== 'normal' ? parseFloat(comLineHeight) : 20;
35
-
36
- const maxHeight = Math.ceil(lineHeight * maxLines);
37
-
38
- if (contentHeight > maxHeight) {
39
- textContent = textContent.slice(0, -1);
40
- } else if (contentHeight === maxHeight) {
41
- if (content.length !== text.length) {
42
- textContent = textContent.slice(0, -3) + '...';
43
- }
44
- }
45
-
46
- setContent(textContent);
47
- }
48
- }, [maxLines, text, containerRef, content]);
49
-
50
- return <div ref={containerRef}>{content}</div>;
51
- };
52
-
53
- const TextView: React.FC<TextProps> = ({
54
- children,
55
- heading,
56
- maxLines,
57
- isItalic = false,
58
- isUnderlined = false,
59
- isSub = false,
60
- isSup = false,
61
- isStriked = false,
62
- isTruncated = false,
63
- weight = 'normal',
64
- size = 'md',
65
- ...props
66
- }) => {
67
- const headingStyles = heading ? HeadingSizes[heading] : {};
68
-
69
- const noLineBreak = isSub || isSup ? { display: 'inline' } : {};
70
-
71
- const fontSize = Typography.fontSizes[size];
72
-
73
- return (
74
- <Element
75
- role="text"
76
- fontSize={fontSize}
77
- lineHeight={Typography.lineHeights[size]}
78
- fontStyle={isItalic ? 'italic' : 'normal'}
79
- fontWeight={Typography.fontWeights[weight]}
80
- textDecoration={isStriked ? 'line-through' : isUnderlined ? 'underline' : 'none'}
81
- {...noLineBreak}
82
- {...headingStyles}
83
- {...props}
84
- >
85
- {isTruncated && maxLines && typeof children === 'string' ? (
86
- <TruncateText text={children} maxLines={maxLines} />
87
- ) : (
88
- <TextContent isSub={isSub} isSup={isSup} {...props}>
89
- {children}
90
- </TextContent>
91
- )}
92
- </Element>
93
- );
94
- };
95
-
96
- export default TextView;
@@ -1,163 +0,0 @@
1
- ### **Import**
2
-
3
- ```tsx static
4
- import { Text } from "app-studio";
5
- ```
6
-
7
- ### **Default**
8
-
9
- ```tsx
10
- <Text>Some text here</Text>
11
- ```
12
-
13
- ### **Sizes**
14
-
15
- “**_size_**” changes the text-size. It has a type "Sizes" with default value “md”.
16
-
17
- ```tsx
18
- import { Vertical } from "../Layout/Vertical/Vertical";
19
-
20
- <Vertical gap={5} alignItems="center">
21
- {["xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl"].map(
22
- (size, index) => (
23
- <Text key={index} size={size}>
24
- {size}
25
- </Text>
26
- )
27
- )}
28
- </Vertical>;
29
- ```
30
-
31
- ### **Headings**
32
-
33
- “**_heading_**” renders a specific heading html tag. “h1” indicates the most important heading and “h6” the least important heading.
34
-
35
- ```tsx
36
- import { Vertical } from "../Layout/Vertical/Vertical";
37
- <Vertical gap={2}>
38
- <Text heading="h1">Heading 1</Text>
39
- <Text heading="h2">Heading 2</Text>
40
- <Text heading="h3">Heading 3</Text>
41
- <Text heading="h4">Heading 4</Text>
42
- <Text heading="h5">Heading 5</Text>
43
- <Text heading="h6">Heading 6</Text>
44
- </Vertical>;
45
- ```
46
-
47
- ### **Strike**
48
-
49
- “**_isStriked_**” marks up a text to indicate that it is no longer valid.
50
-
51
- ```tsx
52
- <Text color="theme.secondary" isStriked>
53
- Some text here
54
- </Text>
55
- ```
56
-
57
- ### **Subscript**
58
-
59
- “**_isSub_**” makes text appears slightly below the baseline of the surrounding text.
60
-
61
- ```tsx
62
- <Text>
63
- H<Text isSub>2</Text>0
64
- </Text>
65
- ```
66
-
67
- ### **Superscript**
68
-
69
- “isSup” makes text appears slightly above the surrounding text.
70
-
71
- ```tsx
72
- <Text>
73
- H<Text isSup>2</Text>0
74
- </Text>
75
- ```
76
-
77
- ### **Weights**
78
-
79
- “**_weight_**” changes the font weight of the text. It have a default value of “medium”.
80
-
81
- ```tsx
82
- import { Vertical } from "../Layout/Vertical/Vertical";
83
-
84
- <Vertical gap={5} alignItems="center">
85
- {[
86
- "hairline",
87
- "thin",
88
- "light",
89
- "normal",
90
- "medium",
91
- "semiBold",
92
- "bold",
93
- "extraBold",
94
- "black",
95
- ].map((weight, index) => (
96
- <Text key={index} weight={weight}>
97
- {weight}
98
- </Text>
99
- ))}
100
- </Vertical>;
101
- ```
102
-
103
- ### **Truncate**
104
-
105
- “**_isTruncated_**” removes a part of the text and add an ellipsis to the end.
106
-
107
- ```tsx
108
- import { Center } from "../Layout/Center/Center";
109
-
110
- <Center>
111
- <Text maxLines={3} width="200px" isTruncated>
112
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames
113
- ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget,
114
- tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
115
- ultricies mi vitae est.
116
- </Text>
117
- </Center>;
118
- ```
119
-
120
- ### **Italic**
121
-
122
- “**_isItalic_**” styles the text in italic.
123
-
124
- ```tsx
125
- <Text isItalic>Some text here</Text>
126
- ```
127
-
128
- ### **Underline**
129
-
130
- “**_isUnderlined_**” underlines the text.
131
-
132
- ```tsx
133
- <Text isUnderlined>Some text here</Text>
134
- ```
135
-
136
- ## **Types**
137
-
138
- ```tsx static
139
- export type Sizes =
140
- | "xs"
141
- | "sm"
142
- | "md"
143
- | "lg"
144
- | "xl"
145
- | "2xl"
146
- | "3xl"
147
- | "4xl"
148
- | "5xl"
149
- | "6xl";
150
- ```
151
-
152
- ```tsx static
153
- type TextWeights =
154
- | "hairline"
155
- | "thin"
156
- | "light"
157
- | "normal"
158
- | "medium"
159
- | "semibold"
160
- | "bold"
161
- | "extrabold"
162
- | "black";
163
- ```
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
-
3
- import { TextProps } from './Text/Text.props';
4
- import TextView from './Text/Text.view';
5
-
6
- const TextComponent: React.FC<TextProps> = (props) => {
7
- return <TextView {...props} />;
8
- };
9
-
10
- /**
11
- * 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.
12
- */
13
- export const Text = TextComponent;
@@ -1,18 +0,0 @@
1
- export * from 'src/components/Button/Button';
2
- export * from 'src/components/Form/Checkbox/Checkbox';
3
- export * from 'src/components/Form/CountryPicker/CountryPicker';
4
- export * from 'src/components/Form/DatePicker/DatePicker';
5
- export * from 'src/components/Form/Password/Password';
6
- export * from 'src/components/Form/Select/Select';
7
- export * from 'src/components/Form/Switch/Switch';
8
- export * from 'src/components/Form/Switch/Switch';
9
- export * from 'src/components/Form/TextArea/TextArea';
10
- export * from 'src/components/Form/TextField/TextField';
11
- export * from 'src/components/Layout/Center/Center';
12
- export * from 'src/components/Layout/Horizontal/Horizontal';
13
- export * from 'src/components/Layout/Vertical/Vertical';
14
- export * from 'src/components/Layout/View/View';
15
- export * from 'src/components/Link/Link';
16
- export * from 'src/components/Loader/Loader';
17
- export * from 'src/components/Modal/Modal';
18
- export * from 'src/components/Text/Text';