@app-studio/web 0.1.4 → 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 (300) hide show
  1. package/dist/components/Button/examples/index.d.ts +9 -9
  2. package/dist/components/Form/Checkbox/examples/index.d.ts +11 -11
  3. package/dist/components/Form/CountryPicker/examples/index.d.ts +12 -12
  4. package/dist/components/Form/DatePicker/examples/index.d.ts +11 -11
  5. package/dist/components/Form/Password/Password/Password.props.d.ts +1 -1
  6. package/dist/components/Form/TextArea/examples/index.d.ts +15 -15
  7. package/dist/components/Form/TextField/examples/index.d.ts +17 -17
  8. package/dist/components/Layout/Horizontal/examples/index.d.ts +4 -4
  9. package/dist/components/Layout/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
  10. package/dist/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -1
  11. package/dist/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
  12. package/dist/components/Layout/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
  13. package/dist/components/Layout/Input/HelperText/HelperText.props.d.ts +1 -1
  14. package/dist/components/Layout/Input/index.d.ts +7 -7
  15. package/dist/components/Loader/examples/index.d.ts +7 -7
  16. package/dist/components/Modal/Examples/index.d.ts +9 -9
  17. package/dist/components/index.d.ts +18 -18
  18. package/package.json +6 -7
  19. package/src/components/Button/Button/Button.props.ts +0 -79
  20. package/src/components/Button/Button/Button.state.ts +0 -7
  21. package/src/components/Button/Button/Button.style.ts +0 -95
  22. package/src/components/Button/Button/Button.type.d.ts +0 -11
  23. package/src/components/Button/Button/Button.view.tsx +0 -113
  24. package/src/components/Button/Button.md +0 -165
  25. package/src/components/Button/Button.tsx +0 -24
  26. package/src/components/Button/examples/AutoFocusButton.tsx +0 -13
  27. package/src/components/Button/examples/BorderedButtons.tsx +0 -14
  28. package/src/components/Button/examples/ColoredButtons.tsx +0 -12
  29. package/src/components/Button/examples/DefaultButton.tsx +0 -4
  30. package/src/components/Button/examples/DisabledButton.tsx +0 -13
  31. package/src/components/Button/examples/IconButtons.tsx +0 -23
  32. package/src/components/Button/examples/LoadingButtons.tsx +0 -32
  33. package/src/components/Button/examples/ShadowButton.tsx +0 -6
  34. package/src/components/Button/examples/SizeButtons.tsx +0 -16
  35. package/src/components/Button/examples/VariantButtons.tsx +0 -20
  36. package/src/components/Button/examples/index.ts +0 -9
  37. package/src/components/Form/Checkbox/Checkbox/Checkbox.props.ts +0 -118
  38. package/src/components/Form/Checkbox/Checkbox/Checkbox.state.ts +0 -15
  39. package/src/components/Form/Checkbox/Checkbox/Checkbox.style.ts +0 -29
  40. package/src/components/Form/Checkbox/Checkbox/Checkbox.type.d.ts +0 -8
  41. package/src/components/Form/Checkbox/Checkbox/Checkbox.view.tsx +0 -98
  42. package/src/components/Form/Checkbox/Checkbox.md +0 -128
  43. package/src/components/Form/Checkbox/Checkbox.tsx +0 -15
  44. package/src/components/Form/Checkbox/examples/ColorScheme.tsx +0 -12
  45. package/src/components/Form/Checkbox/examples/Default.tsx +0 -5
  46. package/src/components/Form/Checkbox/examples/DisabledInput.tsx +0 -5
  47. package/src/components/Form/Checkbox/examples/ErrorCheckbox.tsx +0 -5
  48. package/src/components/Form/Checkbox/examples/FormCheckout.tsx +0 -46
  49. package/src/components/Form/Checkbox/examples/IconCheckbox.tsx +0 -8
  50. package/src/components/Form/Checkbox/examples/IndeterminateCheckbox.tsx +0 -5
  51. package/src/components/Form/Checkbox/examples/ReadOnlyInput.tsx +0 -5
  52. package/src/components/Form/Checkbox/examples/Shadow.tsx +0 -11
  53. package/src/components/Form/Checkbox/examples/SizeInput.tsx +0 -18
  54. package/src/components/Form/Checkbox/examples/StylesInput.tsx +0 -22
  55. package/src/components/Form/Checkbox/examples/index.ts +0 -11
  56. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.props.ts +0 -187
  57. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.state.ts +0 -28
  58. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.style.ts +0 -17
  59. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.type.d.ts +0 -22
  60. package/src/components/Form/CountryPicker/CountryPicker/CountryPicker.view.tsx +0 -234
  61. package/src/components/Form/CountryPicker/CountryPicker.md +0 -206
  62. package/src/components/Form/CountryPicker/CountryPicker.tsx +0 -16
  63. package/src/components/Form/CountryPicker/countries.json +0 -1453
  64. package/src/components/Form/CountryPicker/examples/Color.tsx +0 -12
  65. package/src/components/Form/CountryPicker/examples/Default.tsx +0 -4
  66. package/src/components/Form/CountryPicker/examples/Disabled.tsx +0 -5
  67. package/src/components/Form/CountryPicker/examples/Error.tsx +0 -4
  68. package/src/components/Form/CountryPicker/examples/Form.tsx +0 -23
  69. package/src/components/Form/CountryPicker/examples/Formik.tsx +0 -39
  70. package/src/components/Form/CountryPicker/examples/HelperText.tsx +0 -5
  71. package/src/components/Form/CountryPicker/examples/ReadOnlyInput.tsx +0 -5
  72. package/src/components/Form/CountryPicker/examples/Shadow.tsx +0 -4
  73. package/src/components/Form/CountryPicker/examples/Shape.tsx +0 -13
  74. package/src/components/Form/CountryPicker/examples/SizeInput.tsx +0 -16
  75. package/src/components/Form/CountryPicker/examples/StylesInput.tsx +0 -17
  76. package/src/components/Form/CountryPicker/examples/Variant.tsx +0 -13
  77. package/src/components/Form/CountryPicker/examples/index.ts +0 -12
  78. package/src/components/Form/CountryPicker/styles.css +0 -7
  79. package/src/components/Form/DatePicker/DatePicker/DatePicker.props.ts +0 -113
  80. package/src/components/Form/DatePicker/DatePicker/DatePicker.state.ts +0 -17
  81. package/src/components/Form/DatePicker/DatePicker/DatePicker.style.ts +0 -17
  82. package/src/components/Form/DatePicker/DatePicker/DatePicker.type.d.ts +0 -15
  83. package/src/components/Form/DatePicker/DatePicker/DatePicker.view.tsx +0 -118
  84. package/src/components/Form/DatePicker/DatePicker.md +0 -115
  85. package/src/components/Form/DatePicker/DatePicker.tsx +0 -15
  86. package/src/components/Form/DatePicker/examples/ColorScheme.tsx +0 -12
  87. package/src/components/Form/DatePicker/examples/Default.tsx +0 -4
  88. package/src/components/Form/DatePicker/examples/DisabledInput.tsx +0 -5
  89. package/src/components/Form/DatePicker/examples/ErrorCheckbox.tsx +0 -4
  90. package/src/components/Form/DatePicker/examples/FormCheckout.tsx +0 -23
  91. package/src/components/Form/DatePicker/examples/Formik.tsx +0 -35
  92. package/src/components/Form/DatePicker/examples/ReadOnlyInput.tsx +0 -5
  93. package/src/components/Form/DatePicker/examples/Shadow.tsx +0 -10
  94. package/src/components/Form/DatePicker/examples/SizeInput.tsx +0 -16
  95. package/src/components/Form/DatePicker/examples/StylesInput.tsx +0 -14
  96. package/src/components/Form/DatePicker/examples/helperTextDatePicker.tsx +0 -6
  97. package/src/components/Form/DatePicker/examples/index.ts +0 -11
  98. package/src/components/Form/Label/Label/Label.props.ts +0 -36
  99. package/src/components/Form/Label/Label/Label.style.ts +0 -34
  100. package/src/components/Form/Label/Label/Label.type.ts +0 -14
  101. package/src/components/Form/Label/Label/Label.view.tsx +0 -35
  102. package/src/components/Form/Label/Label.tsx +0 -8
  103. package/src/components/Form/Password/Password/Password.props.ts +0 -36
  104. package/src/components/Form/Password/Password/Password.state.ts +0 -6
  105. package/src/components/Form/Password/Password/Password.type.d.ts +0 -14
  106. package/src/components/Form/Password/Password/Password.view.tsx +0 -32
  107. package/src/components/Form/Password/Password.md +0 -108
  108. package/src/components/Form/Password/Password.tsx +0 -15
  109. package/src/components/Form/Password/example/Default.tsx +0 -9
  110. package/src/components/Form/Password/example/DisabledInput.tsx +0 -17
  111. package/src/components/Form/Password/example/ErrorInput.tsx +0 -66
  112. package/src/components/Form/Password/example/FormikErrorInput.tsx +0 -67
  113. package/src/components/Form/Password/example/FormikHelperText.tsx +0 -65
  114. package/src/components/Form/Password/example/HelperText.tsx +0 -65
  115. package/src/components/Form/Select/Select/Select.props.ts +0 -262
  116. package/src/components/Form/Select/Select/Select.state.ts +0 -19
  117. package/src/components/Form/Select/Select/Select.style.ts +0 -19
  118. package/src/components/Form/Select/Select/Select.type.d.ts +0 -15
  119. package/src/components/Form/Select/Select/Select.view.tsx +0 -337
  120. package/src/components/Form/Select/Select.md +0 -165
  121. package/src/components/Form/Select/Select.tsx +0 -16
  122. package/src/components/Form/Select/examples/Color.tsx +0 -12
  123. package/src/components/Form/Select/examples/Default.tsx +0 -4
  124. package/src/components/Form/Select/examples/Disabled.tsx +0 -5
  125. package/src/components/Form/Select/examples/Error.tsx +0 -4
  126. package/src/components/Form/Select/examples/Form.tsx +0 -23
  127. package/src/components/Form/Select/examples/Formik.tsx +0 -41
  128. package/src/components/Form/Select/examples/HelperText.tsx +0 -7
  129. package/src/components/Form/Select/examples/Multiple.tsx +0 -6
  130. package/src/components/Form/Select/examples/ReadOnlyInput.tsx +0 -5
  131. package/src/components/Form/Select/examples/Shadow.tsx +0 -11
  132. package/src/components/Form/Select/examples/SizeInput.tsx +0 -16
  133. package/src/components/Form/Select/examples/StylesInput.tsx +0 -15
  134. package/src/components/Form/Switch/Switch/Switch.props.ts +0 -91
  135. package/src/components/Form/Switch/Switch/Switch.state.ts +0 -11
  136. package/src/components/Form/Switch/Switch/Switch.style.ts +0 -72
  137. package/src/components/Form/Switch/Switch/Switch.type.d.ts +0 -6
  138. package/src/components/Form/Switch/Switch/Switch.view.tsx +0 -78
  139. package/src/components/Form/Switch/Switch.md +0 -148
  140. package/src/components/Form/Switch/Switch.tsx +0 -12
  141. package/src/components/Form/Switch/examples/ChildSwitch.tsx +0 -20
  142. package/src/components/Form/Switch/examples/ColorScheme.tsx +0 -5
  143. package/src/components/Form/Switch/examples/Default.tsx +0 -4
  144. package/src/components/Form/Switch/examples/DisabledInput.tsx +0 -7
  145. package/src/components/Form/Switch/examples/FormSwitch.tsx +0 -22
  146. package/src/components/Form/Switch/examples/Formik.tsx +0 -30
  147. package/src/components/Form/Switch/examples/ReadOnlyInput.tsx +0 -7
  148. package/src/components/Form/Switch/examples/Shadow.tsx +0 -11
  149. package/src/components/Form/Switch/examples/SizeInput.tsx +0 -21
  150. package/src/components/Form/Switch/examples/StylesInput.tsx +0 -32
  151. package/src/components/Form/TextArea/TextArea/TextArea.props.ts +0 -154
  152. package/src/components/Form/TextArea/TextArea/TextArea.state.ts +0 -21
  153. package/src/components/Form/TextArea/TextArea/TextArea.type.ts +0 -15
  154. package/src/components/Form/TextArea/TextArea/TextArea.view.tsx +0 -143
  155. package/src/components/Form/TextArea/TextArea.md +0 -169
  156. package/src/components/Form/TextArea/TextArea.tsx +0 -15
  157. package/src/components/Form/TextArea/examples/ColorScheme.tsx +0 -13
  158. package/src/components/Form/TextArea/examples/Default.tsx +0 -5
  159. package/src/components/Form/TextArea/examples/DisabledInput.tsx +0 -7
  160. package/src/components/Form/TextArea/examples/ErrorInput.tsx +0 -50
  161. package/src/components/Form/TextArea/examples/FormikErrorInput.tsx +0 -52
  162. package/src/components/Form/TextArea/examples/FormikHelperText.tsx +0 -51
  163. package/src/components/Form/TextArea/examples/HelperText.tsx +0 -49
  164. package/src/components/Form/TextArea/examples/LabelInput.tsx +0 -23
  165. package/src/components/Form/TextArea/examples/MaxRowCol.tsx +0 -7
  166. package/src/components/Form/TextArea/examples/Placeholder.tsx +0 -23
  167. package/src/components/Form/TextArea/examples/ReadOnlyInput.tsx +0 -7
  168. package/src/components/Form/TextArea/examples/ShadowArea.tsx +0 -28
  169. package/src/components/Form/TextArea/examples/ShapeInput.tsx +0 -15
  170. package/src/components/Form/TextArea/examples/SizeInput.tsx +0 -16
  171. package/src/components/Form/TextArea/examples/StylesInput.tsx +0 -32
  172. package/src/components/Form/TextArea/examples/VariantsInputs.tsx +0 -15
  173. package/src/components/Form/TextArea/examples/index.ts +0 -15
  174. package/src/components/Form/TextArea/styles.css +0 -7
  175. package/src/components/Form/TextField/TextField/TextField.props.ts +0 -134
  176. package/src/components/Form/TextField/TextField/TextField.state.ts +0 -21
  177. package/src/components/Form/TextField/TextField/TextField.type.d.ts +0 -15
  178. package/src/components/Form/TextField/TextField/TextField.view.tsx +0 -170
  179. package/src/components/Form/TextField/TextField.md +0 -193
  180. package/src/components/Form/TextField/TextField.tsx +0 -14
  181. package/src/components/Form/TextField/examples/ClearInput.tsx +0 -13
  182. package/src/components/Form/TextField/examples/ColorScheme.tsx +0 -13
  183. package/src/components/Form/TextField/examples/Default.tsx +0 -23
  184. package/src/components/Form/TextField/examples/DisabledInput.tsx +0 -7
  185. package/src/components/Form/TextField/examples/ErrorInput.tsx +0 -74
  186. package/src/components/Form/TextField/examples/FormikErrorInput.tsx +0 -76
  187. package/src/components/Form/TextField/examples/FormikHelperText.tsx +0 -62
  188. package/src/components/Form/TextField/examples/HelperText.tsx +0 -60
  189. package/src/components/Form/TextField/examples/LabelInput.tsx +0 -23
  190. package/src/components/Form/TextField/examples/LeftChild.tsx +0 -8
  191. package/src/components/Form/TextField/examples/Placeholder.tsx +0 -23
  192. package/src/components/Form/TextField/examples/ReadOnlyInput.tsx +0 -7
  193. package/src/components/Form/TextField/examples/RightChild.tsx +0 -8
  194. package/src/components/Form/TextField/examples/ShapeInput.tsx +0 -15
  195. package/src/components/Form/TextField/examples/SizeInput.tsx +0 -16
  196. package/src/components/Form/TextField/examples/StylesInput.tsx +0 -33
  197. package/src/components/Form/TextField/examples/VariantsInputs.tsx +0 -15
  198. package/src/components/Form/TextField/examples/index.ts +0 -17
  199. package/src/components/Form/TextField/styles.css +0 -7
  200. package/src/components/Layout/Center/Center/Center.props.ts +0 -18
  201. package/src/components/Layout/Center/Center/Center.view.tsx +0 -12
  202. package/src/components/Layout/Center/Center.md +0 -17
  203. package/src/components/Layout/Center/Center.tsx +0 -11
  204. package/src/components/Layout/Horizontal/Horizontal/Horizontal.props.ts +0 -26
  205. package/src/components/Layout/Horizontal/Horizontal/Horizontal.view.tsx +0 -24
  206. package/src/components/Layout/Horizontal/Horizontal.md +0 -107
  207. package/src/components/Layout/Horizontal/Horizontal.tsx +0 -11
  208. package/src/components/Layout/Horizontal/examples/Default.tsx +0 -11
  209. package/src/components/Layout/Horizontal/examples/Justify.tsx +0 -25
  210. package/src/components/Layout/Horizontal/examples/Reversed.tsx +0 -11
  211. package/src/components/Layout/Horizontal/examples/Wrap.tsx +0 -29
  212. package/src/components/Layout/Horizontal/examples/index.ts +0 -4
  213. package/src/components/Layout/Input/FieldContainer/FieldContainer/FieldContainer.props.ts +0 -25
  214. package/src/components/Layout/Input/FieldContainer/FieldContainer.tsx +0 -17
  215. package/src/components/Layout/Input/FieldContent/FieldContent/FieldContent.props.ts +0 -75
  216. package/src/components/Layout/Input/FieldContent/FieldContent.tsx +0 -55
  217. package/src/components/Layout/Input/FieldIcons/FieldIcons/FieldIcons.props.ts +0 -12
  218. package/src/components/Layout/Input/FieldIcons/FieldIcons.tsx +0 -19
  219. package/src/components/Layout/Input/FieldLabel/FieldLabel/FieldLabel.props.ts +0 -31
  220. package/src/components/Layout/Input/FieldLabel/FieldLabel.tsx +0 -30
  221. package/src/components/Layout/Input/FieldLayout/FieldLayout/FieldLayout.props.ts +0 -29
  222. package/src/components/Layout/Input/FieldLayout/FieldLayout.tsx +0 -33
  223. package/src/components/Layout/Input/FieldWrapper/FieldWrapper.props.ts +0 -12
  224. package/src/components/Layout/Input/FieldWrapper/FieldWrapper.tsx +0 -11
  225. package/src/components/Layout/Input/HelperText/HelperText.props.ts +0 -21
  226. package/src/components/Layout/Input/HelperText/HelperText.tsx +0 -22
  227. package/src/components/Layout/Input/index.ts +0 -7
  228. package/src/components/Layout/Vertical/Vertical/Vertical.props.ts +0 -26
  229. package/src/components/Layout/Vertical/Vertical/Vertical.type.ts +0 -3
  230. package/src/components/Layout/Vertical/Vertical/Vertical.view.tsx +0 -23
  231. package/src/components/Layout/Vertical/Vertical.md +0 -120
  232. package/src/components/Layout/Vertical/Vertical.tsx +0 -12
  233. package/src/components/Layout/Vertical/examples/Default.tsx +0 -11
  234. package/src/components/Layout/Vertical/examples/Justify.tsx +0 -26
  235. package/src/components/Layout/Vertical/examples/Reversed.tsx +0 -11
  236. package/src/components/Layout/Vertical/examples/Wrap.tsx +0 -30
  237. package/src/components/Layout/Vertical/examples/index.tsx +0 -5
  238. package/src/components/Layout/View/View.tsx +0 -2
  239. package/src/components/Layout/configs/Input.style.ts +0 -45
  240. package/src/components/Layout/configs/Input.type.ts +0 -18
  241. package/src/components/Link/Link/Link.props.ts +0 -50
  242. package/src/components/Link/Link/Link.state.ts +0 -6
  243. package/src/components/Link/Link/Link.style.ts +0 -14
  244. package/src/components/Link/Link/Link.type.d.ts +0 -8
  245. package/src/components/Link/Link/Link.view.tsx +0 -44
  246. package/src/components/Link/Link.md +0 -61
  247. package/src/components/Link/Link.tsx +0 -15
  248. package/src/components/Link/examples/Default.tsx +0 -5
  249. package/src/components/Link/examples/IsExternal.tsx +0 -10
  250. package/src/components/Link/examples/Underline.tsx +0 -23
  251. package/src/components/Loader/Loader/Loader.props.ts +0 -105
  252. package/src/components/Loader/Loader/Loader.style.ts +0 -25
  253. package/src/components/Loader/Loader/Loader.type.d.ts +0 -4
  254. package/src/components/Loader/Loader/Loader.view.tsx +0 -138
  255. package/src/components/Loader/Loader.md +0 -111
  256. package/src/components/Loader/Loader.tsx +0 -11
  257. package/src/components/Loader/examples/ColorLoader.tsx +0 -13
  258. package/src/components/Loader/examples/DefaultLoader.tsx +0 -4
  259. package/src/components/Loader/examples/PositionLoader.tsx +0 -19
  260. package/src/components/Loader/examples/SizeLoader.tsx +0 -12
  261. package/src/components/Loader/examples/SpeedLoader.tsx +0 -12
  262. package/src/components/Loader/examples/TextLoader.tsx +0 -8
  263. package/src/components/Loader/examples/VariantLoader.tsx +0 -12
  264. package/src/components/Loader/examples/index.ts +0 -7
  265. package/src/components/Modal/Examples/BlurModal.tsx +0 -38
  266. package/src/components/Modal/Examples/CloseButtonModal.tsx +0 -44
  267. package/src/components/Modal/Examples/DefaultModal.tsx +0 -38
  268. package/src/components/Modal/Examples/FullScreenModal.tsx +0 -28
  269. package/src/components/Modal/Examples/ModalPosition.tsx +0 -61
  270. package/src/components/Modal/Examples/PreventCloseModal.tsx +0 -27
  271. package/src/components/Modal/Examples/ScrollModal.tsx +0 -41
  272. package/src/components/Modal/Examples/ShadowModal.tsx +0 -29
  273. package/src/components/Modal/Examples/VariantModal.tsx +0 -48
  274. package/src/components/Modal/Examples/index.ts +0 -9
  275. package/src/components/Modal/Modal/Modal.props.ts +0 -202
  276. package/src/components/Modal/Modal/Modal.style.ts +0 -23
  277. package/src/components/Modal/Modal/Modal.type.d.ts +0 -7
  278. package/src/components/Modal/Modal/Modal.view.tsx +0 -169
  279. package/src/components/Modal/Modal.md +0 -509
  280. package/src/components/Modal/Modal.tsx +0 -18
  281. package/src/components/Svg/ArrowDown.tsx +0 -32
  282. package/src/components/Svg/ArrowUp.tsx +0 -32
  283. package/src/components/Svg/Check.tsx +0 -28
  284. package/src/components/Svg/Close.tsx +0 -31
  285. package/src/components/Svg/CloseEye.tsx +0 -26
  286. package/src/components/Svg/DustBin.tsx +0 -29
  287. package/src/components/Svg/Edit.tsx +0 -34
  288. package/src/components/Svg/ExternalLink.tsx +0 -31
  289. package/src/components/Svg/Indeterminate.tsx +0 -21
  290. package/src/components/Svg/OpenEye.tsx +0 -26
  291. package/src/components/Svg/Profile.tsx +0 -40
  292. package/src/components/Svg/RightArrow.tsx +0 -44
  293. package/src/components/Svg/index.tsx +0 -12
  294. package/src/components/Text/Text/Text.props.ts +0 -84
  295. package/src/components/Text/Text/Text.style.ts +0 -34
  296. package/src/components/Text/Text/Text.type.d.ts +0 -14
  297. package/src/components/Text/Text/Text.view.tsx +0 -96
  298. package/src/components/Text/Text.md +0 -163
  299. package/src/components/Text/Text.tsx +0 -13
  300. package/src/components/index.tsx +0 -18
@@ -1,9 +1,9 @@
1
- export * from '../../../components/Button/examples/BorderedButtons';
2
- export * from '../../../components/Button/examples/ColoredButtons';
3
- export * from '../../../components/Button/examples/DefaultButton';
4
- export * from '../../../components/Button/examples/DisabledButton';
5
- export * from '../../../components/Button/examples/IconButtons';
6
- export * from '../../../components/Button/examples/LoadingButtons';
7
- export * from '../../../components/Button/examples/ShadowButton';
8
- export * from '../../../components/Button/examples/SizeButtons';
9
- export * from '../../../components/Button/examples/VariantButtons';
1
+ export * from '../../Button/examples/BorderedButtons';
2
+ export * from '../../Button/examples/ColoredButtons';
3
+ export * from '../../Button/examples/DefaultButton';
4
+ export * from '../../Button/examples/DisabledButton';
5
+ export * from '../../Button/examples/IconButtons';
6
+ export * from '../../Button/examples/LoadingButtons';
7
+ export * from '../../Button/examples/ShadowButton';
8
+ export * from '../../Button/examples/SizeButtons';
9
+ export * from '../../Button/examples/VariantButtons';
@@ -1,11 +1,11 @@
1
- export * from '../../../../components/Form/Checkbox/examples/ColorScheme';
2
- export * from '../../../../components/Form/Checkbox/examples/Default';
3
- export * from '../../../../components/Form/Checkbox/examples/DisabledInput';
4
- export * from '../../../../components/Form/Checkbox/examples/ErrorCheckbox';
5
- export * from '../../../../components/Form/Checkbox/examples/FormCheckout';
6
- export * from '../../../../components/Form/Checkbox/examples/IconCheckbox';
7
- export * from '../../../../components/Form/Checkbox/examples/IndeterminateCheckbox';
8
- export * from '../../../../components/Form/Checkbox/examples/ReadOnlyInput';
9
- export * from '../../../../components/Form/Checkbox/examples/Shadow';
10
- export * from '../../../../components/Form/Checkbox/examples/SizeInput';
11
- export * from '../../../../components/Form/Checkbox/examples/StylesInput';
1
+ export * from '../../../Form/Checkbox/examples/ColorScheme';
2
+ export * from '../../../Form/Checkbox/examples/Default';
3
+ export * from '../../../Form/Checkbox/examples/DisabledInput';
4
+ export * from '../../../Form/Checkbox/examples/ErrorCheckbox';
5
+ export * from '../../../Form/Checkbox/examples/FormCheckout';
6
+ export * from '../../../Form/Checkbox/examples/IconCheckbox';
7
+ export * from '../../../Form/Checkbox/examples/IndeterminateCheckbox';
8
+ export * from '../../../Form/Checkbox/examples/ReadOnlyInput';
9
+ export * from '../../../Form/Checkbox/examples/Shadow';
10
+ export * from '../../../Form/Checkbox/examples/SizeInput';
11
+ export * from '../../../Form/Checkbox/examples/StylesInput';
@@ -1,12 +1,12 @@
1
- export * from '../../../../components/Form/CountryPicker/examples/Color';
2
- export * from '../../../../components/Form/CountryPicker/examples/Default';
3
- export * from '../../../../components/Form/CountryPicker/examples/Disabled';
4
- export * from '../../../../components/Form/CountryPicker/examples/Error';
5
- export * from '../../../../components/Form/CountryPicker/examples/Form';
6
- export * from '../../../../components/Form/CountryPicker/examples/HelperText';
7
- export * from '../../../../components/Form/CountryPicker/examples/ReadOnlyInput';
8
- export * from '../../../../components/Form/CountryPicker/examples/Shadow';
9
- export * from '../../../../components/Form/CountryPicker/examples/Shape';
10
- export * from '../../../../components/Form/CountryPicker/examples/SizeInput';
11
- export * from '../../../../components/Form/CountryPicker/examples/StylesInput';
12
- export * from '../../../../components/Form/CountryPicker/examples/Variant';
1
+ export * from '../../../Form/CountryPicker/examples/Color';
2
+ export * from '../../../Form/CountryPicker/examples/Default';
3
+ export * from '../../../Form/CountryPicker/examples/Disabled';
4
+ export * from '../../../Form/CountryPicker/examples/Error';
5
+ export * from '../../../Form/CountryPicker/examples/Form';
6
+ export * from '../../../Form/CountryPicker/examples/HelperText';
7
+ export * from '../../../Form/CountryPicker/examples/ReadOnlyInput';
8
+ export * from '../../../Form/CountryPicker/examples/Shadow';
9
+ export * from '../../../Form/CountryPicker/examples/Shape';
10
+ export * from '../../../Form/CountryPicker/examples/SizeInput';
11
+ export * from '../../../Form/CountryPicker/examples/StylesInput';
12
+ export * from '../../../Form/CountryPicker/examples/Variant';
@@ -1,11 +1,11 @@
1
- export * from '../../../../components/Form/DatePicker/examples/ColorScheme';
2
- export * from '../../../../components/Form/DatePicker/examples/Default';
3
- export * from '../../../../components/Form/DatePicker/examples/DisabledInput';
4
- export * from '../../../../components/Form/DatePicker/examples/ErrorCheckbox';
5
- export * from '../../../../components/Form/DatePicker/examples/FormCheckout';
6
- export * from '../../../../components/Form/DatePicker/examples/Formik';
7
- export * from '../../../../components/Form/DatePicker/examples/helperTextDatePicker';
8
- export * from '../../../../components/Form/DatePicker/examples/ReadOnlyInput';
9
- export * from '../../../../components/Form/DatePicker/examples/Shadow';
10
- export * from '../../../../components/Form/DatePicker/examples/SizeInput';
11
- export * from '../../../../components/Form/DatePicker/examples/StylesInput';
1
+ export * from '../../../Form/DatePicker/examples/ColorScheme';
2
+ export * from '../../../Form/DatePicker/examples/Default';
3
+ export * from '../../../Form/DatePicker/examples/DisabledInput';
4
+ export * from '../../../Form/DatePicker/examples/ErrorCheckbox';
5
+ export * from '../../../Form/DatePicker/examples/FormCheckout';
6
+ export * from '../../../Form/DatePicker/examples/Formik';
7
+ export * from '../../../Form/DatePicker/examples/helperTextDatePicker';
8
+ export * from '../../../Form/DatePicker/examples/ReadOnlyInput';
9
+ export * from '../../../Form/DatePicker/examples/Shadow';
10
+ export * from '../../../Form/DatePicker/examples/SizeInput';
11
+ export * from '../../../Form/DatePicker/examples/StylesInput';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TextFieldProps } from '../../../../components/Form/TextField/TextField/TextField.props';
2
+ import { TextFieldProps } from '../../../Form/TextField/TextField/TextField.props';
3
3
  export interface PasswordProps extends TextFieldProps {
4
4
  /**
5
5
  * The name of the input field
@@ -1,15 +1,15 @@
1
- export { ColorArea } from '../../../../components/Form/TextArea/examples/ColorScheme';
2
- export { DefaultArea } from '../../../../components/Form/TextArea/examples/Default';
3
- export { DisabledArea } from '../../../../components/Form/TextArea/examples/DisabledInput';
4
- export { ErrorArea } from '../../../../components/Form/TextArea/examples/ErrorInput';
5
- export { FormikErrorArea } from '../../../../components/Form/TextArea/examples/FormikErrorInput';
6
- export { FormikHelperTextArea } from '../../../../components/Form/TextArea/examples/FormikHelperText';
7
- export { HelperTextArea } from '../../../../components/Form/TextArea/examples/HelperText';
8
- export { LabelArea } from '../../../../components/Form/TextArea/examples/LabelInput';
9
- export { MaxArea } from '../../../../components/Form/TextArea/examples/MaxRowCol';
10
- export { PlaceholderArea } from '../../../../components/Form/TextArea/examples/Placeholder';
11
- export { ReadOnlyArea } from '../../../../components/Form/TextArea/examples/ReadOnlyInput';
12
- export { ShapesArea } from '../../../../components/Form/TextArea/examples/ShapeInput';
13
- export { SizeArea } from '../../../../components/Form/TextArea/examples/SizeInput';
14
- export { StyledArea } from '../../../../components/Form/TextArea/examples/StylesInput';
15
- export { VariantsArea } from '../../../../components/Form/TextArea/examples/VariantsInputs';
1
+ export { ColorArea } from '../../../Form/TextArea/examples/ColorScheme';
2
+ export { DefaultArea } from '../../../Form/TextArea/examples/Default';
3
+ export { DisabledArea } from '../../../Form/TextArea/examples/DisabledInput';
4
+ export { ErrorArea } from '../../../Form/TextArea/examples/ErrorInput';
5
+ export { FormikErrorArea } from '../../../Form/TextArea/examples/FormikErrorInput';
6
+ export { FormikHelperTextArea } from '../../../Form/TextArea/examples/FormikHelperText';
7
+ export { HelperTextArea } from '../../../Form/TextArea/examples/HelperText';
8
+ export { LabelArea } from '../../../Form/TextArea/examples/LabelInput';
9
+ export { MaxArea } from '../../../Form/TextArea/examples/MaxRowCol';
10
+ export { PlaceholderArea } from '../../../Form/TextArea/examples/Placeholder';
11
+ export { ReadOnlyArea } from '../../../Form/TextArea/examples/ReadOnlyInput';
12
+ export { ShapesArea } from '../../../Form/TextArea/examples/ShapeInput';
13
+ export { SizeArea } from '../../../Form/TextArea/examples/SizeInput';
14
+ export { StyledArea } from '../../../Form/TextArea/examples/StylesInput';
15
+ export { VariantsArea } from '../../../Form/TextArea/examples/VariantsInputs';
@@ -1,17 +1,17 @@
1
- export * from '../../../../components/Form/TextField/examples/ClearInput';
2
- export * from '../../../../components/Form/TextField/examples/ColorScheme';
3
- export * from '../../../../components/Form/TextField/examples/Default';
4
- export * from '../../../../components/Form/TextField/examples/DisabledInput';
5
- export * from '../../../../components/Form/TextField/examples/ErrorInput';
6
- export * from '../../../../components/Form/TextField/examples/FormikErrorInput';
7
- export * from '../../../../components/Form/TextField/examples/FormikHelperText';
8
- export * from '../../../../components/Form/TextField/examples/HelperText';
9
- export * from '../../../../components/Form/TextField/examples/LabelInput';
10
- export * from '../../../../components/Form/TextField/examples/LeftChild';
11
- export * from '../../../../components/Form/TextField/examples/Placeholder';
12
- export * from '../../../../components/Form/TextField/examples/ReadOnlyInput';
13
- export * from '../../../../components/Form/TextField/examples/RightChild';
14
- export * from '../../../../components/Form/TextField/examples/ShapeInput';
15
- export * from '../../../../components/Form/TextField/examples/SizeInput';
16
- export * from '../../../../components/Form/TextField/examples/StylesInput';
17
- export * from '../../../../components/Form/TextField/examples/VariantsInputs';
1
+ export * from '../../../Form/TextField/examples/ClearInput';
2
+ export * from '../../../Form/TextField/examples/ColorScheme';
3
+ export * from '../../../Form/TextField/examples/Default';
4
+ export * from '../../../Form/TextField/examples/DisabledInput';
5
+ export * from '../../../Form/TextField/examples/ErrorInput';
6
+ export * from '../../../Form/TextField/examples/FormikErrorInput';
7
+ export * from '../../../Form/TextField/examples/FormikHelperText';
8
+ export * from '../../../Form/TextField/examples/HelperText';
9
+ export * from '../../../Form/TextField/examples/LabelInput';
10
+ export * from '../../../Form/TextField/examples/LeftChild';
11
+ export * from '../../../Form/TextField/examples/Placeholder';
12
+ export * from '../../../Form/TextField/examples/ReadOnlyInput';
13
+ export * from '../../../Form/TextField/examples/RightChild';
14
+ export * from '../../../Form/TextField/examples/ShapeInput';
15
+ export * from '../../../Form/TextField/examples/SizeInput';
16
+ export * from '../../../Form/TextField/examples/StylesInput';
17
+ export * from '../../../Form/TextField/examples/VariantsInputs';
@@ -1,4 +1,4 @@
1
- export * from '../../../../components/Layout/Horizontal/examples/Default';
2
- export * from '../../../../components/Layout/Horizontal/examples/Justify';
3
- export * from '../../../../components/Layout/Horizontal/examples/Reversed';
4
- export * from '../../../../components/Layout/Horizontal/examples/Wrap';
1
+ export * from '../../../Layout/Horizontal/examples/Default';
2
+ export * from '../../../Layout/Horizontal/examples/Justify';
3
+ export * from '../../../Layout/Horizontal/examples/Reversed';
4
+ export * from '../../../Layout/Horizontal/examples/Wrap';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TextFieldStyles } from '../../../../../components/Layout/configs/Input.type';
2
+ import { TextFieldStyles } from '../../../../Layout/configs/Input.type';
3
3
  export interface ContainerProps {
4
4
  /**
5
5
  * The content to be rendered inside the container.
@@ -1,5 +1,5 @@
1
1
  import React, { CSSProperties } from 'react';
2
- import { Shape, Size, TextFieldStyles, Variant } from '../../../../../components/Layout/configs/Input.type';
2
+ import { Shape, Size, TextFieldStyles, Variant } from '../../../../Layout/configs/Input.type';
3
3
  import { Elevation } from 'src/utils/elevation';
4
4
  import { Shadow } from 'app-studio';
5
5
  export interface ContentProps {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Size } from '../../../../../components/Layout/configs/Input.type';
2
+ import { Size } from '../../../../Layout/configs/Input.type';
3
3
  export interface LabelProps {
4
4
  /**
5
5
  * The content to be rendered inside the Label.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Size, TextFieldStyles } from '../../../../../components/Layout/configs/Input.type';
2
+ import { Size, TextFieldStyles } from '../../../../Layout/configs/Input.type';
3
3
  export interface FieldProps {
4
4
  /**
5
5
  * The content to be rendered inside the Field.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { TextFieldStyles } from '../../../../components/Layout/configs/Input.type';
2
+ import { TextFieldStyles } from '../../../Layout/configs/Input.type';
3
3
  export interface HelperTextProps {
4
4
  /**
5
5
  * The content to be rendered inside the HelperText.
@@ -1,7 +1,7 @@
1
- export * from '../../../components/Layout/Input/FieldContainer/FieldContainer';
2
- export * from '../../../components/Layout/Input/FieldContent/FieldContent';
3
- export * from '../../../components/Layout/Input/FieldIcons/FieldIcons';
4
- export * from '../../../components/Layout/Input/FieldLabel/FieldLabel';
5
- export * from '../../../components/Layout/Input/FieldLayout/FieldLayout';
6
- export * from '../../../components/Layout/Input/FieldWrapper/FieldWrapper';
7
- export * from '../../../components/Layout/Input/HelperText/HelperText';
1
+ export * from '../../Layout/Input/FieldContainer/FieldContainer';
2
+ export * from '../../Layout/Input/FieldContent/FieldContent';
3
+ export * from '../../Layout/Input/FieldIcons/FieldIcons';
4
+ export * from '../../Layout/Input/FieldLabel/FieldLabel';
5
+ export * from '../../Layout/Input/FieldLayout/FieldLayout';
6
+ export * from '../../Layout/Input/FieldWrapper/FieldWrapper';
7
+ export * from '../../Layout/Input/HelperText/HelperText';
@@ -1,7 +1,7 @@
1
- export { StyleLoader } from '../../../components/Loader/examples/ColorLoader';
2
- export { DefaultLoader } from '../../../components/Loader/examples/DefaultLoader';
3
- export { PositionLoader } from '../../../components/Loader/examples/PositionLoader';
4
- export { SizeLoader } from '../../../components/Loader/examples/SizeLoader';
5
- export { SpeedLoader } from '../../../components/Loader/examples/SpeedLoader';
6
- export { TextLoader } from '../../../components/Loader/examples/TextLoader';
7
- export { TypeLoader } from '../../../components/Loader/examples/VariantLoader';
1
+ export { StyleLoader } from '../../Loader/examples/ColorLoader';
2
+ export { DefaultLoader } from '../../Loader/examples/DefaultLoader';
3
+ export { PositionLoader } from '../../Loader/examples/PositionLoader';
4
+ export { SizeLoader } from '../../Loader/examples/SizeLoader';
5
+ export { SpeedLoader } from '../../Loader/examples/SpeedLoader';
6
+ export { TextLoader } from '../../Loader/examples/TextLoader';
7
+ export { TypeLoader } from '../../Loader/examples/VariantLoader';
@@ -1,9 +1,9 @@
1
- export * from '../../../components/Modal/Examples/BlurModal';
2
- export * from '../../../components/Modal/Examples/CloseButtonModal';
3
- export * from '../../../components/Modal/Examples/DefaultModal';
4
- export * from '../../../components/Modal/Examples/FullScreenModal';
5
- export * from '../../../components/Modal/Examples/ModalPosition';
6
- export * from '../../../components/Modal/Examples/PreventCloseModal';
7
- export * from '../../../components/Modal/Examples/ScrollModal';
8
- export * from '../../../components/Modal/Examples/ShadowModal';
9
- export * from '../../../components/Modal/Examples/VariantModal';
1
+ export * from '../../Modal/Examples/BlurModal';
2
+ export * from '../../Modal/Examples/CloseButtonModal';
3
+ export * from '../../Modal/Examples/DefaultModal';
4
+ export * from '../../Modal/Examples/FullScreenModal';
5
+ export * from '../../Modal/Examples/ModalPosition';
6
+ export * from '../../Modal/Examples/PreventCloseModal';
7
+ export * from '../../Modal/Examples/ScrollModal';
8
+ export * from '../../Modal/Examples/ShadowModal';
9
+ export * from '../../Modal/Examples/VariantModal';
@@ -1,18 +1,18 @@
1
- export * from '../components/Button/Button';
2
- export * from '../components/Form/Checkbox/Checkbox';
3
- export * from '../components/Form/CountryPicker/CountryPicker';
4
- export * from '../components/Form/DatePicker/DatePicker';
5
- export * from '../components/Form/Password/Password';
6
- export * from '../components/Form/Select/Select';
7
- export * from '../components/Form/Switch/Switch';
8
- export * from '../components/Form/Switch/Switch';
9
- export * from '../components/Form/TextArea/TextArea';
10
- export * from '../components/Form/TextField/TextField';
11
- export * from '../components/Layout/Center/Center';
12
- export * from '../components/Layout/Horizontal/Horizontal';
13
- export * from '../components/Layout/Vertical/Vertical';
14
- export * from '../components/Layout/View/View';
15
- export * from '../components/Link/Link';
16
- export * from '../components/Loader/Loader';
17
- export * from '../components/Modal/Modal';
18
- export * from '../components/Text/Text';
1
+ export * from './Button/Button';
2
+ export * from './Form/Checkbox/Checkbox';
3
+ export * from './Form/CountryPicker/CountryPicker';
4
+ export * from './Form/DatePicker/DatePicker';
5
+ export * from './Form/Password/Password';
6
+ export * from './Form/Select/Select';
7
+ export * from './Form/Switch/Switch';
8
+ export * from './Form/Switch/Switch';
9
+ export * from './Form/TextArea/TextArea';
10
+ export * from './Form/TextField/TextField';
11
+ export * from './Layout/Center/Center';
12
+ export * from './Layout/Horizontal/Horizontal';
13
+ export * from './Layout/Vertical/Vertical';
14
+ export * from './Layout/View/View';
15
+ export * from './Link/Link';
16
+ export * from './Loader/Loader';
17
+ export * from './Modal/Modal';
18
+ export * from './Text/Text';
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "@app-studio/web",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [
7
- "dist",
8
- "src/components"
7
+ "dist"
9
8
  ],
10
9
  "dependencies": {
11
10
  "app-studio": "^0.1.16",
@@ -143,12 +142,12 @@
143
142
  },
144
143
  "size-limit": [
145
144
  {
146
- "path": "dist/web.esm.cjs.production.min.js",
147
- "limit": "10 KB"
145
+ "path": "dist/web.cjs.production.min.js",
146
+ "limit": "100 KB"
148
147
  },
149
148
  {
150
- "path": "dist/web.esm.esm.js",
151
- "limit": "10 KB"
149
+ "path": "dist/web.esm.js",
150
+ "limit": "100 KB"
152
151
  }
153
152
  ],
154
153
  "module": "dist/web.esm.js"
@@ -1,79 +0,0 @@
1
- import React, { CSSProperties } from 'react';
2
- import { Shadow } from 'app-studio';
3
- import { Elevation } from 'src/utils/elevation';
4
-
5
- import { IconPosition, Shape, Size, Variant } from './Button.type';
6
-
7
- /**
8
- * Represents the properties for the Button component.
9
- */
10
- export interface ButtonProps {
11
- /**
12
- * The content to be rendered inside the button.
13
- */
14
- children?: React.ReactNode;
15
- /**
16
- * Sets the background color of the button.
17
- */
18
- colorScheme?: string;
19
- /**
20
- * Specifies the external URL used when the variant is set to "link".
21
- */
22
- externalHref?: string;
23
- /**
24
- * Indicates whether the button is in a loading state.
25
- */
26
- isLoading?: boolean;
27
- /**
28
- * The icon component rendered within the button.
29
- */
30
- icon?: React.ReactNode;
31
- /**
32
- * Specifies the position of the icon within the button.
33
- */
34
- iconPosition?: IconPosition;
35
- /**
36
- * Disables the button if set to true.
37
- */
38
- isDisabled?: boolean;
39
- /**
40
- * Adjusts the width of the button to take available space.
41
- */
42
- isFilled?: boolean;
43
- /**
44
- * Adjusts the width of the button based on content size.
45
- */
46
- isAuto?: boolean;
47
- /**
48
- * Makes the icon container shape rounded if set to true.
49
- */
50
- isIconRounded?: boolean;
51
- /**
52
- * The event handler called when the button is clicked or pressed.
53
- */
54
- onClick?: Function;
55
- /**
56
- * Specifies the size of the button's text and padding.
57
- */
58
- size?: Size;
59
- /**
60
- * Sets a shadow effect applied to the button.
61
- */
62
- shadow?: Shadow | Elevation | CSSProperties;
63
- /**
64
- * Specifies the shape of the button's corners.
65
- */
66
- shape?: Shape;
67
- /**
68
- * Descriptive label for accessibility (ARIA) purposes.
69
- */
70
- ariaLabel?: string;
71
- /**
72
- * Specifies the style variant of the button.
73
- */
74
- variant?: Variant;
75
- /**
76
- * Additional properties for the button component.
77
- */
78
- [x: string]: any;
79
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
-
3
- export const useButtonState = () => {
4
- const [isHovered, setIsHovered] = React.useState(false);
5
-
6
- return { isHovered, setIsHovered };
7
- };
@@ -1,95 +0,0 @@
1
- import { CSSProperties } from 'react';
2
-
3
- import { Shape, Size } from './Button.type';
4
-
5
- export const ButtonSizes: Record<Size, CSSProperties> = {
6
- xs: {
7
- width: 79,
8
- paddingTop: 8,
9
- paddingBottom: 8,
10
- paddingLeft: 12,
11
- paddingRight: 12,
12
- fontWeight: 600,
13
- fontSize: 'xs',
14
- lineHeight: 16,
15
- letterSpacing: 1.25,
16
- },
17
- sm: {
18
- width: 128,
19
- paddingTop: 10,
20
- paddingBottom: 10,
21
- paddingLeft: 16,
22
- paddingRight: 16,
23
- fontWeight: 600,
24
- fontSize: 'sm',
25
- lineHeight: 20,
26
- letterSpacing: 1.25,
27
- },
28
- md: {
29
- width: 144,
30
- paddingTop: 12,
31
- paddingBottom: 12,
32
- paddingLeft: 18,
33
- paddingRight: 18,
34
- fontWeight: 600,
35
- fontSize: 'md',
36
- lineHeight: 24,
37
- letterSpacing: 1.25,
38
- },
39
- lg: {
40
- width: 178,
41
- paddingTop: 14,
42
- paddingBottom: 14,
43
- paddingLeft: 22,
44
- paddingRight: 22,
45
- fontWeight: 600,
46
- fontSize: 'lg',
47
- lineHeight: 24,
48
- letterSpacing: 1.25,
49
- },
50
- xl: {
51
- width: 220,
52
- paddingTop: 16,
53
- paddingBottom: 16,
54
- paddingLeft: 26,
55
- paddingRight: 26,
56
- fontWeight: 600,
57
- fontSize: 'xl',
58
- lineHeight: 24,
59
- letterSpacing: 1.25,
60
- },
61
- };
62
-
63
- export const ButtonShapes: Record<Shape, number | string> = {
64
- sharp: 0,
65
- rounded: 4,
66
- pillShaped: 24,
67
- };
68
-
69
- export const IconSizes: Record<Size, CSSProperties> = {
70
- xs: {
71
- width: 24,
72
- height: 24,
73
- padding: 12,
74
- },
75
- sm: {
76
- width: 24,
77
- height: 24,
78
- padding: 15,
79
- },
80
- md: {
81
- width: 36,
82
- height: 36,
83
- padding: 15,
84
- },
85
- lg: {
86
- width: 36,
87
- height: 36,
88
- padding: 18,
89
- },
90
- xl: {
91
- width: 36,
92
- height: 36,
93
- padding: 24,
94
- },
95
- };
@@ -1,11 +0,0 @@
1
- export type BorderWeights = 'light' | 'normal' | 'bold' | 'extrabold' | 'black';
2
-
3
- export type Shape = 'sharp' | 'rounded' | 'pillShaped';
4
-
5
- export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
6
-
7
- export type Loaders = 'spinner' | 'points' | 'points-opacity';
8
-
9
- export type IconPosition = 'left' | 'right';
10
-
11
- export type Variant = 'filled' | 'outline' | 'link' | 'ghost';