@evoke-platform/ui-components 1.0.0-dev.1.10.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 (449) hide show
  1. package/README.md +15 -0
  2. package/dist/published/components/Test/Test.d.ts +3 -0
  3. package/dist/published/components/Test/Test.js +8 -0
  4. package/dist/published/components/Test/Test.test.d.ts +1 -0
  5. package/dist/published/components/Test/Test.test.js +11 -0
  6. package/dist/published/components/Test/index.d.ts +3 -0
  7. package/dist/published/components/Test/index.js +3 -0
  8. package/dist/published/components/core/Accordion/Accordion.d.ts +4 -0
  9. package/dist/published/components/core/Accordion/Accordion.js +8 -0
  10. package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.d.ts +4 -0
  11. package/dist/published/components/core/Accordion/AccordionActions/AccordionActions.js +8 -0
  12. package/dist/published/components/core/Accordion/AccordionActions/index.d.ts +2 -0
  13. package/dist/published/components/core/Accordion/AccordionActions/index.js +2 -0
  14. package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.d.ts +4 -0
  15. package/dist/published/components/core/Accordion/AccordionDetails/AccordionDetails.js +8 -0
  16. package/dist/published/components/core/Accordion/AccordionDetails/index.d.ts +2 -0
  17. package/dist/published/components/core/Accordion/AccordionDetails/index.js +2 -0
  18. package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.d.ts +4 -0
  19. package/dist/published/components/core/Accordion/AccordionSummary/AccordionSummary.js +8 -0
  20. package/dist/published/components/core/Accordion/AccordionSummary/index.d.ts +2 -0
  21. package/dist/published/components/core/Accordion/AccordionSummary/index.js +2 -0
  22. package/dist/published/components/core/Accordion/index.d.ts +5 -0
  23. package/dist/published/components/core/Accordion/index.js +5 -0
  24. package/dist/published/components/core/Alert/Alert.d.ts +4 -0
  25. package/dist/published/components/core/Alert/Alert.js +8 -0
  26. package/dist/published/components/core/Alert/index.d.ts +2 -0
  27. package/dist/published/components/core/Alert/index.js +2 -0
  28. package/dist/published/components/core/AppBar/AppBar.d.ts +4 -0
  29. package/dist/published/components/core/AppBar/AppBar.js +8 -0
  30. package/dist/published/components/core/AppBar/index.d.ts +2 -0
  31. package/dist/published/components/core/AppBar/index.js +2 -0
  32. package/dist/published/components/core/Autocomplete/Autocomplete.d.ts +19 -0
  33. package/dist/published/components/core/Autocomplete/Autocomplete.js +48 -0
  34. package/dist/published/components/core/Autocomplete/index.d.ts +3 -0
  35. package/dist/published/components/core/Autocomplete/index.js +3 -0
  36. package/dist/published/components/core/Avatar/Avatar.d.ts +8 -0
  37. package/dist/published/components/core/Avatar/Avatar.js +12 -0
  38. package/dist/published/components/core/Avatar/index.d.ts +3 -0
  39. package/dist/published/components/core/Avatar/index.js +3 -0
  40. package/dist/published/components/core/Backdrop/Backdrop.d.ts +4 -0
  41. package/dist/published/components/core/Backdrop/Backdrop.js +8 -0
  42. package/dist/published/components/core/Backdrop/index.d.ts +3 -0
  43. package/dist/published/components/core/Backdrop/index.js +3 -0
  44. package/dist/published/components/core/Badge/Badge.d.ts +4 -0
  45. package/dist/published/components/core/Badge/Badge.js +8 -0
  46. package/dist/published/components/core/Badge/index.d.ts +3 -0
  47. package/dist/published/components/core/Badge/index.js +3 -0
  48. package/dist/published/components/core/Breadcrumbs/Breadcrumbs.d.ts +4 -0
  49. package/dist/published/components/core/Breadcrumbs/Breadcrumbs.js +8 -0
  50. package/dist/published/components/core/Breadcrumbs/index.d.ts +3 -0
  51. package/dist/published/components/core/Breadcrumbs/index.js +3 -0
  52. package/dist/published/components/core/Button/Button.d.ts +4 -0
  53. package/dist/published/components/core/Button/Button.js +8 -0
  54. package/dist/published/components/core/Button/index.d.ts +3 -0
  55. package/dist/published/components/core/Button/index.js +3 -0
  56. package/dist/published/components/core/ButtonGroup/ButtonGroup.d.ts +4 -0
  57. package/dist/published/components/core/ButtonGroup/ButtonGroup.js +8 -0
  58. package/dist/published/components/core/ButtonGroup/index.d.ts +3 -0
  59. package/dist/published/components/core/ButtonGroup/index.js +3 -0
  60. package/dist/published/components/core/Card/Card.d.ts +4 -0
  61. package/dist/published/components/core/Card/Card.js +8 -0
  62. package/dist/published/components/core/Card/index.d.ts +3 -0
  63. package/dist/published/components/core/Card/index.js +3 -0
  64. package/dist/published/components/core/Checkbox/Checkbox.d.ts +4 -0
  65. package/dist/published/components/core/Checkbox/Checkbox.js +8 -0
  66. package/dist/published/components/core/Checkbox/index.d.ts +3 -0
  67. package/dist/published/components/core/Checkbox/index.js +3 -0
  68. package/dist/published/components/core/Chip/Chip.d.ts +4 -0
  69. package/dist/published/components/core/Chip/Chip.js +8 -0
  70. package/dist/published/components/core/Chip/index.d.ts +3 -0
  71. package/dist/published/components/core/Chip/index.js +3 -0
  72. package/dist/published/components/core/CircularProgress/CircularProgress.d.ts +4 -0
  73. package/dist/published/components/core/CircularProgress/CircularProgress.js +8 -0
  74. package/dist/published/components/core/CircularProgress/index.d.ts +3 -0
  75. package/dist/published/components/core/CircularProgress/index.js +3 -0
  76. package/dist/published/components/core/Collapse/Collapse.d.ts +4 -0
  77. package/dist/published/components/core/Collapse/Collapse.js +8 -0
  78. package/dist/published/components/core/Collapse/index.d.ts +3 -0
  79. package/dist/published/components/core/Collapse/index.js +3 -0
  80. package/dist/published/components/core/DatePicker/DatePicker.d.ts +8 -0
  81. package/dist/published/components/core/DatePicker/DatePicker.js +41 -0
  82. package/dist/published/components/core/DatePicker/index.d.ts +2 -0
  83. package/dist/published/components/core/DatePicker/index.js +2 -0
  84. package/dist/published/components/core/Dialog/Dialog.d.ts +4 -0
  85. package/dist/published/components/core/Dialog/Dialog.js +8 -0
  86. package/dist/published/components/core/Dialog/DialogActions/DialogActions.d.ts +12 -0
  87. package/dist/published/components/core/Dialog/DialogActions/DialogActions.js +38 -0
  88. package/dist/published/components/core/Dialog/DialogActions/index.d.ts +2 -0
  89. package/dist/published/components/core/Dialog/DialogActions/index.js +2 -0
  90. package/dist/published/components/core/Dialog/DialogContent/DialogContent.d.ts +4 -0
  91. package/dist/published/components/core/Dialog/DialogContent/DialogContent.js +8 -0
  92. package/dist/published/components/core/Dialog/DialogContent/index.d.ts +2 -0
  93. package/dist/published/components/core/Dialog/DialogContent/index.js +2 -0
  94. package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.d.ts +4 -0
  95. package/dist/published/components/core/Dialog/DialogContentText/DialogContentText.js +8 -0
  96. package/dist/published/components/core/Dialog/DialogContentText/index.d.ts +2 -0
  97. package/dist/published/components/core/Dialog/DialogContentText/index.js +2 -0
  98. package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.d.ts +4 -0
  99. package/dist/published/components/core/Dialog/DialogTitle/DialogTitle.js +8 -0
  100. package/dist/published/components/core/Dialog/DialogTitle/index.d.ts +2 -0
  101. package/dist/published/components/core/Dialog/DialogTitle/index.js +2 -0
  102. package/dist/published/components/core/Dialog/index.d.ts +6 -0
  103. package/dist/published/components/core/Dialog/index.js +6 -0
  104. package/dist/published/components/core/Divider/Divider.d.ts +4 -0
  105. package/dist/published/components/core/Divider/Divider.js +8 -0
  106. package/dist/published/components/core/Divider/index.d.ts +3 -0
  107. package/dist/published/components/core/Divider/index.js +3 -0
  108. package/dist/published/components/core/Drawer/Drawer.d.ts +4 -0
  109. package/dist/published/components/core/Drawer/Drawer.js +8 -0
  110. package/dist/published/components/core/Drawer/index.d.ts +3 -0
  111. package/dist/published/components/core/Drawer/index.js +3 -0
  112. package/dist/published/components/core/FieldError/FieldError.d.ts +7 -0
  113. package/dist/published/components/core/FieldError/FieldError.js +11 -0
  114. package/dist/published/components/core/FieldError/index.d.ts +3 -0
  115. package/dist/published/components/core/FieldError/index.js +3 -0
  116. package/dist/published/components/core/FormElements/FormControl/FormControl.d.ts +4 -0
  117. package/dist/published/components/core/FormElements/FormControl/FormControl.js +8 -0
  118. package/dist/published/components/core/FormElements/FormControl/index.d.ts +2 -0
  119. package/dist/published/components/core/FormElements/FormControl/index.js +2 -0
  120. package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.d.ts +4 -0
  121. package/dist/published/components/core/FormElements/FormControlLabel/FormControlLabel.js +8 -0
  122. package/dist/published/components/core/FormElements/FormControlLabel/index.d.ts +2 -0
  123. package/dist/published/components/core/FormElements/FormControlLabel/index.js +2 -0
  124. package/dist/published/components/core/FormElements/FormGroup/FormGroup.d.ts +4 -0
  125. package/dist/published/components/core/FormElements/FormGroup/FormGroup.js +8 -0
  126. package/dist/published/components/core/FormElements/FormGroup/index.d.ts +2 -0
  127. package/dist/published/components/core/FormElements/FormGroup/index.js +2 -0
  128. package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.d.ts +4 -0
  129. package/dist/published/components/core/FormElements/FormHelperText/FormHelperText.js +8 -0
  130. package/dist/published/components/core/FormElements/FormHelperText/index.d.ts +2 -0
  131. package/dist/published/components/core/FormElements/FormHelperText/index.js +2 -0
  132. package/dist/published/components/core/FormElements/FormLabel/FormLabel.d.ts +4 -0
  133. package/dist/published/components/core/FormElements/FormLabel/FormLabel.js +8 -0
  134. package/dist/published/components/core/FormElements/FormLabel/index.d.ts +2 -0
  135. package/dist/published/components/core/FormElements/FormLabel/index.js +2 -0
  136. package/dist/published/components/core/FormElements/index.d.ts +6 -0
  137. package/dist/published/components/core/FormElements/index.js +6 -0
  138. package/dist/published/components/core/IconButton/IconButton.d.ts +4 -0
  139. package/dist/published/components/core/IconButton/IconButton.js +8 -0
  140. package/dist/published/components/core/IconButton/index.d.ts +3 -0
  141. package/dist/published/components/core/IconButton/index.js +3 -0
  142. package/dist/published/components/core/LinearProgress/LinearProgress.d.ts +4 -0
  143. package/dist/published/components/core/LinearProgress/LinearProgress.js +8 -0
  144. package/dist/published/components/core/LinearProgress/index.d.ts +3 -0
  145. package/dist/published/components/core/LinearProgress/index.js +3 -0
  146. package/dist/published/components/core/Link/Link.d.ts +4 -0
  147. package/dist/published/components/core/Link/Link.js +8 -0
  148. package/dist/published/components/core/Link/index.d.ts +3 -0
  149. package/dist/published/components/core/Link/index.js +3 -0
  150. package/dist/published/components/core/List/List.d.ts +4 -0
  151. package/dist/published/components/core/List/List.js +8 -0
  152. package/dist/published/components/core/List/ListItemText/ListItemText.d.ts +4 -0
  153. package/dist/published/components/core/List/ListItemText/ListItemText.js +8 -0
  154. package/dist/published/components/core/List/ListItemText/index.d.ts +3 -0
  155. package/dist/published/components/core/List/ListItemText/index.js +3 -0
  156. package/dist/published/components/core/List/index.d.ts +3 -0
  157. package/dist/published/components/core/List/index.js +3 -0
  158. package/dist/published/components/core/LocalizationProvider/LocalizationProvider.d.ts +5 -0
  159. package/dist/published/components/core/LocalizationProvider/LocalizationProvider.js +115 -0
  160. package/dist/published/components/core/LocalizationProvider/index.d.ts +2 -0
  161. package/dist/published/components/core/LocalizationProvider/index.js +2 -0
  162. package/dist/published/components/core/Menu/Menu.d.ts +4 -0
  163. package/dist/published/components/core/Menu/Menu.js +8 -0
  164. package/dist/published/components/core/Menu/MenuItem/MenuItem.d.ts +4 -0
  165. package/dist/published/components/core/Menu/MenuItem/MenuItem.js +8 -0
  166. package/dist/published/components/core/Menu/MenuItem/index.d.ts +3 -0
  167. package/dist/published/components/core/Menu/MenuItem/index.js +3 -0
  168. package/dist/published/components/core/Menu/index.d.ts +4 -0
  169. package/dist/published/components/core/Menu/index.js +4 -0
  170. package/dist/published/components/core/Paper/Paper.d.ts +4 -0
  171. package/dist/published/components/core/Paper/Paper.js +8 -0
  172. package/dist/published/components/core/Paper/index.d.ts +3 -0
  173. package/dist/published/components/core/Paper/index.js +3 -0
  174. package/dist/published/components/core/Popover/Popover.d.ts +4 -0
  175. package/dist/published/components/core/Popover/Popover.js +8 -0
  176. package/dist/published/components/core/Popover/index.d.ts +3 -0
  177. package/dist/published/components/core/Popover/index.js +3 -0
  178. package/dist/published/components/core/RadioGroup/Radio.d.ts +4 -0
  179. package/dist/published/components/core/RadioGroup/Radio.js +8 -0
  180. package/dist/published/components/core/RadioGroup/RadioGroup.d.ts +4 -0
  181. package/dist/published/components/core/RadioGroup/RadioGroup.js +8 -0
  182. package/dist/published/components/core/RadioGroup/index.d.ts +4 -0
  183. package/dist/published/components/core/RadioGroup/index.js +4 -0
  184. package/dist/published/components/core/Select/Select.d.ts +5 -0
  185. package/dist/published/components/core/Select/Select.js +10 -0
  186. package/dist/published/components/core/Select/index.d.ts +3 -0
  187. package/dist/published/components/core/Select/index.js +3 -0
  188. package/dist/published/components/core/Skeleton/Skeleton.d.ts +4 -0
  189. package/dist/published/components/core/Skeleton/Skeleton.js +8 -0
  190. package/dist/published/components/core/Skeleton/index.d.ts +3 -0
  191. package/dist/published/components/core/Skeleton/index.js +3 -0
  192. package/dist/published/components/core/Snackbar/Snackbar.d.ts +8 -0
  193. package/dist/published/components/core/Snackbar/Snackbar.js +40 -0
  194. package/dist/published/components/core/Snackbar/index.d.ts +3 -0
  195. package/dist/published/components/core/Snackbar/index.js +3 -0
  196. package/dist/published/components/core/StaticDatePicker/StaticDatePicker.d.ts +8 -0
  197. package/dist/published/components/core/StaticDatePicker/StaticDatePicker.js +41 -0
  198. package/dist/published/components/core/StaticDatePicker/index.d.ts +2 -0
  199. package/dist/published/components/core/StaticDatePicker/index.js +2 -0
  200. package/dist/published/components/core/Stepper/Step/Step.d.ts +4 -0
  201. package/dist/published/components/core/Stepper/Step/Step.js +8 -0
  202. package/dist/published/components/core/Stepper/Step/index.d.ts +2 -0
  203. package/dist/published/components/core/Stepper/Step/index.js +2 -0
  204. package/dist/published/components/core/Stepper/StepButton/StepButton.d.ts +4 -0
  205. package/dist/published/components/core/Stepper/StepButton/StepButton.js +8 -0
  206. package/dist/published/components/core/Stepper/StepButton/index.d.ts +2 -0
  207. package/dist/published/components/core/Stepper/StepButton/index.js +2 -0
  208. package/dist/published/components/core/Stepper/StepConnector/StepConnector.d.ts +4 -0
  209. package/dist/published/components/core/Stepper/StepConnector/StepConnector.js +8 -0
  210. package/dist/published/components/core/Stepper/StepConnector/index.d.ts +2 -0
  211. package/dist/published/components/core/Stepper/StepConnector/index.js +2 -0
  212. package/dist/published/components/core/Stepper/StepContent/StepContent.d.ts +4 -0
  213. package/dist/published/components/core/Stepper/StepContent/StepContent.js +8 -0
  214. package/dist/published/components/core/Stepper/StepContent/index.d.ts +2 -0
  215. package/dist/published/components/core/Stepper/StepContent/index.js +2 -0
  216. package/dist/published/components/core/Stepper/StepIcon/StepIcon.d.ts +4 -0
  217. package/dist/published/components/core/Stepper/StepIcon/StepIcon.js +8 -0
  218. package/dist/published/components/core/Stepper/StepIcon/index.d.ts +2 -0
  219. package/dist/published/components/core/Stepper/StepIcon/index.js +2 -0
  220. package/dist/published/components/core/Stepper/StepLabel/StepLabel.d.ts +4 -0
  221. package/dist/published/components/core/Stepper/StepLabel/StepLabel.js +8 -0
  222. package/dist/published/components/core/Stepper/StepLabel/index.d.ts +2 -0
  223. package/dist/published/components/core/Stepper/StepLabel/index.js +2 -0
  224. package/dist/published/components/core/Stepper/Stepper.d.ts +4 -0
  225. package/dist/published/components/core/Stepper/Stepper.js +8 -0
  226. package/dist/published/components/core/Stepper/index.d.ts +8 -0
  227. package/dist/published/components/core/Stepper/index.js +8 -0
  228. package/dist/published/components/core/Switch/Switch.d.ts +4 -0
  229. package/dist/published/components/core/Switch/Switch.js +8 -0
  230. package/dist/published/components/core/Switch/index.d.ts +3 -0
  231. package/dist/published/components/core/Switch/index.js +3 -0
  232. package/dist/published/components/core/Table/Table.d.ts +4 -0
  233. package/dist/published/components/core/Table/Table.js +8 -0
  234. package/dist/published/components/core/Table/index.d.ts +3 -0
  235. package/dist/published/components/core/Table/index.js +3 -0
  236. package/dist/published/components/core/Tabs/Tab/Tab.d.ts +4 -0
  237. package/dist/published/components/core/Tabs/Tab/Tab.js +8 -0
  238. package/dist/published/components/core/Tabs/Tab/index.d.ts +2 -0
  239. package/dist/published/components/core/Tabs/Tab/index.js +2 -0
  240. package/dist/published/components/core/Tabs/Tabs.d.ts +4 -0
  241. package/dist/published/components/core/Tabs/Tabs.js +8 -0
  242. package/dist/published/components/core/Tabs/index.d.ts +3 -0
  243. package/dist/published/components/core/Tabs/index.js +3 -0
  244. package/dist/published/components/core/TextField/TextField.d.ts +10 -0
  245. package/dist/published/components/core/TextField/TextField.js +36 -0
  246. package/dist/published/components/core/TextField/TextField.test.d.ts +1 -0
  247. package/dist/published/components/core/TextField/TextField.test.js +20 -0
  248. package/dist/published/components/core/TextField/index.d.ts +3 -0
  249. package/dist/published/components/core/TextField/index.js +3 -0
  250. package/dist/published/components/core/ToggleButton/ToggleButton.d.ts +4 -0
  251. package/dist/published/components/core/ToggleButton/ToggleButton.js +8 -0
  252. package/dist/published/components/core/ToggleButton/index.d.ts +3 -0
  253. package/dist/published/components/core/ToggleButton/index.js +3 -0
  254. package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.d.ts +4 -0
  255. package/dist/published/components/core/ToggleButtonGroup/ToggleButtonGroup.js +8 -0
  256. package/dist/published/components/core/ToggleButtonGroup/index.d.ts +3 -0
  257. package/dist/published/components/core/ToggleButtonGroup/index.js +3 -0
  258. package/dist/published/components/core/Tooltip/Tooltip.d.ts +4 -0
  259. package/dist/published/components/core/Tooltip/Tooltip.js +8 -0
  260. package/dist/published/components/core/Tooltip/index.d.ts +3 -0
  261. package/dist/published/components/core/Tooltip/index.js +3 -0
  262. package/dist/published/components/core/Typography/index.d.ts +4 -0
  263. package/dist/published/components/core/Typography/index.js +9 -0
  264. package/dist/published/components/core/index.d.ts +45 -0
  265. package/dist/published/components/core/index.js +46 -0
  266. package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.d.ts +27 -0
  267. package/dist/published/components/custom/CriteriaBuilder/CriteriaBuilder.js +232 -0
  268. package/dist/published/components/custom/CriteriaBuilder/index.d.ts +3 -0
  269. package/dist/published/components/custom/CriteriaBuilder/index.js +3 -0
  270. package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.d.ts +4 -0
  271. package/dist/published/components/custom/FormField/BooleanSelect/BooleanSelect.js +27 -0
  272. package/dist/published/components/custom/FormField/BooleanSelect/index.d.ts +1 -0
  273. package/dist/published/components/custom/FormField/BooleanSelect/index.js +1 -0
  274. package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.d.ts +4 -0
  275. package/dist/published/components/custom/FormField/DatePickerSelect/DatePickerSelect.js +42 -0
  276. package/dist/published/components/custom/FormField/DatePickerSelect/index.d.ts +1 -0
  277. package/dist/published/components/custom/FormField/DatePickerSelect/index.js +1 -0
  278. package/dist/published/components/custom/FormField/FileUpload/FileUpload.d.ts +4 -0
  279. package/dist/published/components/custom/FormField/FileUpload/FileUpload.js +65 -0
  280. package/dist/published/components/custom/FormField/FileUpload/index.d.ts +1 -0
  281. package/dist/published/components/custom/FormField/FileUpload/index.js +1 -0
  282. package/dist/published/components/custom/FormField/FormField.d.ts +24 -0
  283. package/dist/published/components/custom/FormField/FormField.js +45 -0
  284. package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.d.ts +4 -0
  285. package/dist/published/components/custom/FormField/InputFieldComponent/InputFieldComponent.js +76 -0
  286. package/dist/published/components/custom/FormField/InputFieldComponent/index.d.ts +1 -0
  287. package/dist/published/components/custom/FormField/InputFieldComponent/index.js +1 -0
  288. package/dist/published/components/custom/FormField/Select/Select.d.ts +4 -0
  289. package/dist/published/components/custom/FormField/Select/Select.js +32 -0
  290. package/dist/published/components/custom/FormField/Select/index.d.ts +1 -0
  291. package/dist/published/components/custom/FormField/Select/index.js +1 -0
  292. package/dist/published/components/custom/FormField/index.d.ts +3 -0
  293. package/dist/published/components/custom/FormField/index.js +3 -0
  294. package/dist/published/components/custom/Menubar/Menubar.d.ts +12 -0
  295. package/dist/published/components/custom/Menubar/Menubar.js +25 -0
  296. package/dist/published/components/custom/Menubar/Menubar.test.d.ts +1 -0
  297. package/dist/published/components/custom/Menubar/Menubar.test.js +12 -0
  298. package/dist/published/components/custom/Menubar/index.d.ts +3 -0
  299. package/dist/published/components/custom/Menubar/index.js +3 -0
  300. package/dist/published/components/custom/MultiSelect/MultiSelect.d.ts +14 -0
  301. package/dist/published/components/custom/MultiSelect/MultiSelect.js +144 -0
  302. package/dist/published/components/custom/MultiSelect/SortableItem.d.ts +2 -0
  303. package/dist/published/components/custom/MultiSelect/SortableItem.js +13 -0
  304. package/dist/published/components/custom/MultiSelect/index.d.ts +3 -0
  305. package/dist/published/components/custom/MultiSelect/index.js +3 -0
  306. package/dist/published/components/custom/RepeatableField/RepeatableField.d.ts +15 -0
  307. package/dist/published/components/custom/RepeatableField/RepeatableField.js +111 -0
  308. package/dist/published/components/custom/RepeatableField/index.d.ts +3 -0
  309. package/dist/published/components/custom/RepeatableField/index.js +3 -0
  310. package/dist/published/components/custom/index.d.ts +5 -0
  311. package/dist/published/components/custom/index.js +5 -0
  312. package/dist/published/components/layout/Box/Box.d.ts +8 -0
  313. package/dist/published/components/layout/Box/Box.js +8 -0
  314. package/dist/published/components/layout/Box/index.d.ts +3 -0
  315. package/dist/published/components/layout/Box/index.js +3 -0
  316. package/dist/published/components/layout/Container/Container.d.ts +4 -0
  317. package/dist/published/components/layout/Container/Container.js +8 -0
  318. package/dist/published/components/layout/Container/index.d.ts +3 -0
  319. package/dist/published/components/layout/Container/index.js +3 -0
  320. package/dist/published/components/layout/Grid/Grid.d.ts +4 -0
  321. package/dist/published/components/layout/Grid/Grid.js +8 -0
  322. package/dist/published/components/layout/Grid/index.d.ts +3 -0
  323. package/dist/published/components/layout/Grid/index.js +3 -0
  324. package/dist/published/components/layout/Stack/Stack.d.ts +4 -0
  325. package/dist/published/components/layout/Stack/Stack.js +8 -0
  326. package/dist/published/components/layout/Stack/index.d.ts +3 -0
  327. package/dist/published/components/layout/Stack/index.js +3 -0
  328. package/dist/published/components/layout/index.d.ts +4 -0
  329. package/dist/published/components/layout/index.js +4 -0
  330. package/dist/published/icons/index.d.ts +1 -0
  331. package/dist/published/icons/index.js +1 -0
  332. package/dist/published/index.d.ts +6 -0
  333. package/dist/published/index.js +6 -0
  334. package/dist/published/stories/Accordion.stories.d.ts +5 -0
  335. package/dist/published/stories/Accordion.stories.js +21 -0
  336. package/dist/published/stories/Alert.stories.d.ts +5 -0
  337. package/dist/published/stories/Alert.stories.js +8 -0
  338. package/dist/published/stories/Appbar.stories.d.ts +5 -0
  339. package/dist/published/stories/Appbar.stories.js +15 -0
  340. package/dist/published/stories/Autocomplete.stories.d.ts +23 -0
  341. package/dist/published/stories/Autocomplete.stories.js +413 -0
  342. package/dist/published/stories/Avatar.stories.d.ts +39 -0
  343. package/dist/published/stories/Avatar.stories.js +8 -0
  344. package/dist/published/stories/Backdrop.stories.d.ts +5 -0
  345. package/dist/published/stories/Backdrop.stories.js +20 -0
  346. package/dist/published/stories/Badge.stories.d.ts +5 -0
  347. package/dist/published/stories/Badge.stories.js +10 -0
  348. package/dist/published/stories/Box.stories.d.ts +25 -0
  349. package/dist/published/stories/Box.stories.js +18 -0
  350. package/dist/published/stories/Breadcrumbs.stories.d.ts +5 -0
  351. package/dist/published/stories/Breadcrumbs.stories.js +11 -0
  352. package/dist/published/stories/Button.stories.d.ts +5 -0
  353. package/dist/published/stories/Button.stories.js +8 -0
  354. package/dist/published/stories/ButtonGroup.stories.d.ts +5 -0
  355. package/dist/published/stories/ButtonGroup.stories.js +11 -0
  356. package/dist/published/stories/Card.stories.d.ts +5 -0
  357. package/dist/published/stories/Card.stories.js +15 -0
  358. package/dist/published/stories/Checkbox.stories.d.ts +5 -0
  359. package/dist/published/stories/Checkbox.stories.js +8 -0
  360. package/dist/published/stories/Chip.stories.d.ts +5 -0
  361. package/dist/published/stories/Chip.stories.js +8 -0
  362. package/dist/published/stories/CircularProgress.stories.d.ts +5 -0
  363. package/dist/published/stories/CircularProgress.stories.js +8 -0
  364. package/dist/published/stories/Collapse.stories.d.ts +5 -0
  365. package/dist/published/stories/Collapse.stories.js +26 -0
  366. package/dist/published/stories/Container.stories.d.ts +5 -0
  367. package/dist/published/stories/Container.stories.js +12 -0
  368. package/dist/published/stories/CriteriaBuilder.stories.d.ts +21 -0
  369. package/dist/published/stories/CriteriaBuilder.stories.js +206 -0
  370. package/dist/published/stories/DatePicker.stories.d.ts +6 -0
  371. package/dist/published/stories/DatePicker.stories.js +35 -0
  372. package/dist/published/stories/Dialog.stories.d.ts +5 -0
  373. package/dist/published/stories/Dialog.stories.js +24 -0
  374. package/dist/published/stories/Divider.stories.d.ts +5 -0
  375. package/dist/published/stories/Divider.stories.js +8 -0
  376. package/dist/published/stories/Drawer.stories.d.ts +5 -0
  377. package/dist/published/stories/Drawer.stories.js +27 -0
  378. package/dist/published/stories/FormControl.stories.d.ts +5 -0
  379. package/dist/published/stories/FormControl.stories.js +14 -0
  380. package/dist/published/stories/FormControlLabel.stories.d.ts +5 -0
  381. package/dist/published/stories/FormControlLabel.stories.js +8 -0
  382. package/dist/published/stories/FormField.stories.d.ts +9 -0
  383. package/dist/published/stories/FormField.stories.js +128 -0
  384. package/dist/published/stories/FormGroup.stories.d.ts +5 -0
  385. package/dist/published/stories/FormGroup.stories.js +10 -0
  386. package/dist/published/stories/FormHelperText.stories.d.ts +5 -0
  387. package/dist/published/stories/FormHelperText.stories.js +10 -0
  388. package/dist/published/stories/FormLabel.stories.d.ts +5 -0
  389. package/dist/published/stories/FormLabel.stories.js +13 -0
  390. package/dist/published/stories/Grid.stories.d.ts +5 -0
  391. package/dist/published/stories/Grid.stories.js +8 -0
  392. package/dist/published/stories/IconButton.stories.d.ts +5 -0
  393. package/dist/published/stories/IconButton.stories.js +17 -0
  394. package/dist/published/stories/LinearProgress.stories.d.ts +5 -0
  395. package/dist/published/stories/LinearProgress.stories.js +8 -0
  396. package/dist/published/stories/Link.stories.d.ts +5 -0
  397. package/dist/published/stories/Link.stories.js +16 -0
  398. package/dist/published/stories/List.stories.d.ts +5 -0
  399. package/dist/published/stories/List.stories.js +31 -0
  400. package/dist/published/stories/Menu.stories.d.ts +5 -0
  401. package/dist/published/stories/Menu.stories.js +25 -0
  402. package/dist/published/stories/MenuBar.stories.d.ts +5 -0
  403. package/dist/published/stories/MenuBar.stories.js +24 -0
  404. package/dist/published/stories/MultiSelect.stories.d.ts +5 -0
  405. package/dist/published/stories/MultiSelect.stories.js +26 -0
  406. package/dist/published/stories/Palette.stories.d.ts +25 -0
  407. package/dist/published/stories/Palette.stories.js +89 -0
  408. package/dist/published/stories/Paper.stories.d.ts +5 -0
  409. package/dist/published/stories/Paper.stories.js +15 -0
  410. package/dist/published/stories/RadioGroup.stories.d.ts +5 -0
  411. package/dist/published/stories/RadioGroup.stories.js +13 -0
  412. package/dist/published/stories/RepeatableField.stories.d.ts +5 -0
  413. package/dist/published/stories/RepeatableField.stories.js +36 -0
  414. package/dist/published/stories/Skeleton.stories.d.ts +5 -0
  415. package/dist/published/stories/Skeleton.stories.js +8 -0
  416. package/dist/published/stories/Snackbar.stories.d.ts +5 -0
  417. package/dist/published/stories/Snackbar.stories.js +22 -0
  418. package/dist/published/stories/Stack.stories.d.ts +5 -0
  419. package/dist/published/stories/Stack.stories.js +40 -0
  420. package/dist/published/stories/StaticDatePicker.stories.d.ts +7 -0
  421. package/dist/published/stories/StaticDatePicker.stories.js +42 -0
  422. package/dist/published/stories/Stepper.stories.d.ts +9 -0
  423. package/dist/published/stories/Stepper.stories.js +72 -0
  424. package/dist/published/stories/Switch.stories.d.ts +5 -0
  425. package/dist/published/stories/Switch.stories.js +8 -0
  426. package/dist/published/stories/Table.stories.d.ts +5 -0
  427. package/dist/published/stories/Table.stories.js +51 -0
  428. package/dist/published/stories/Tabs.stories.d.ts +5 -0
  429. package/dist/published/stories/Tabs.stories.js +45 -0
  430. package/dist/published/stories/TextField.stories.d.ts +21 -0
  431. package/dist/published/stories/TextField.stories.js +80 -0
  432. package/dist/published/stories/TimePicker.stories.d.ts +9 -0
  433. package/dist/published/stories/TimePicker.stories.js +34 -0
  434. package/dist/published/stories/ToggleButton.stories.d.ts +5 -0
  435. package/dist/published/stories/ToggleButton.stories.js +23 -0
  436. package/dist/published/stories/Typogrpahy.stories.d.ts +5 -0
  437. package/dist/published/stories/Typogrpahy.stories.js +21 -0
  438. package/dist/published/theme/UIThemeProvider.d.ts +7 -0
  439. package/dist/published/theme/UIThemeProvider.js +10 -0
  440. package/dist/published/theme/defaultTheme.d.ts +1 -0
  441. package/dist/published/theme/defaultTheme.js +104 -0
  442. package/dist/published/theme/index.d.ts +2 -0
  443. package/dist/published/theme/index.js +2 -0
  444. package/dist/published/util/date.d.ts +23 -0
  445. package/dist/published/util/date.js +47 -0
  446. package/dist/published/util/index.d.ts +1 -0
  447. package/dist/published/util/index.js +1 -0
  448. package/icons.ts +1 -0
  449. package/package.json +85 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Skeleton as CustomSkeleton } from '../index';
3
+ export default {
4
+ title: 'Data Display/Skeleton',
5
+ component: CustomSkeleton,
6
+ };
7
+ const SkeletonTemplate = (args) => React.createElement(CustomSkeleton, Object.assign({}, args));
8
+ export const Skeleton = SkeletonTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("../components/core/Snackbar/Snackbar").SnackbarAlertProps) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Snackbar: ComponentStory<(props: import("../components/core/Snackbar/Snackbar").SnackbarAlertProps) => JSX.Element>;
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import { Snackbar as CustomSnackbar, Button } from '../index';
3
+ export default {
4
+ title: 'Data Display/Snackbar',
5
+ component: CustomSnackbar,
6
+ };
7
+ const SnackbarTemplate = (args) => {
8
+ const [open, setOpen] = React.useState(false);
9
+ const handleClick = () => {
10
+ setOpen(true);
11
+ };
12
+ const handleClose = (event, reason) => {
13
+ if (reason === 'clickaway') {
14
+ return;
15
+ }
16
+ setOpen(false);
17
+ };
18
+ return (React.createElement("div", null,
19
+ React.createElement(Button, { onClick: handleClick }, "Open simple snackbar"),
20
+ React.createElement(CustomSnackbar, Object.assign({ open: open, autoHideDuration: 6000, handleClose: handleClose, message: "Note archived. You are good to go.", error: false }, args))));
21
+ };
22
+ export const Snackbar = SnackbarTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").StackProps<"div", {}>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Stack: ComponentStory<(props: import("@mui/material").StackProps<"div", {}>) => JSX.Element>;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import { Stack as CustomStack } from '../index';
3
+ export default {
4
+ title: 'Layout/Stack',
5
+ component: CustomStack,
6
+ argTypes: {
7
+ children: {
8
+ description: 'The content of the component.',
9
+ },
10
+ component: {
11
+ type: 'string',
12
+ description: 'The component used for the root node. Either a string to use a HTML element or a component',
13
+ },
14
+ direction: {
15
+ control: 'select',
16
+ options: ['column-reverse', 'column', 'row-reverse', 'row'],
17
+ defaultValue: 'column',
18
+ description: 'Defines the flex-direction style property. It is applied for all screen sizes',
19
+ },
20
+ divider: {
21
+ description: 'Add an element between each child.',
22
+ },
23
+ spacing: {
24
+ type: 'number',
25
+ defaultValue: 4,
26
+ description: 'Defines the space between immediate children',
27
+ },
28
+ sx: {
29
+ control: 'object',
30
+ description: 'The system prop that allows defining system overrides as well as additional CSS',
31
+ },
32
+ },
33
+ };
34
+ const StackTemplate = (args) => {
35
+ return (React.createElement(CustomStack, Object.assign({}, args),
36
+ React.createElement("div", null, "Item1 "),
37
+ React.createElement("div", null, "Item2 "),
38
+ React.createElement("div", null, "Item3 ")));
39
+ };
40
+ export const Stack = StackTemplate.bind({});
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ import { StaticDatePickerProps } from '../index';
4
+ declare const _default: ComponentMeta<(props: StaticDatePickerProps) => JSX.Element>;
5
+ export default _default;
6
+ export declare const Desktop: ComponentStory<(props: StaticDatePickerProps) => JSX.Element>;
7
+ export declare const Mobile: ComponentStory<(props: StaticDatePickerProps) => JSX.Element>;
@@ -0,0 +1,42 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { useState } from 'react';
13
+ import { StaticDatePicker as CustomStaticDatePicker, LocalizationProvider, } from '../index';
14
+ export default {
15
+ title: 'Input/StaticDatePicker',
16
+ component: CustomStaticDatePicker,
17
+ argTypes: {
18
+ value: {
19
+ type: {
20
+ name: 'string',
21
+ },
22
+ },
23
+ },
24
+ };
25
+ const StaticDatePickerTemplate = (args) => {
26
+ const { value: initialValue, onChange } = args, rest = __rest(args, ["value", "onChange"]);
27
+ const [value, setValue] = useState(initialValue !== null && initialValue !== void 0 ? initialValue : null);
28
+ const handleChange = (newValue, input) => {
29
+ onChange(newValue, input);
30
+ setValue(newValue);
31
+ };
32
+ return (React.createElement(LocalizationProvider, null,
33
+ React.createElement(CustomStaticDatePicker, Object.assign({}, rest, { value: value, onChange: handleChange }))));
34
+ };
35
+ export const Desktop = StaticDatePickerTemplate.bind({});
36
+ Desktop.args = {
37
+ displayStaticWrapperAs: 'desktop',
38
+ };
39
+ export const Mobile = StaticDatePickerTemplate.bind({});
40
+ Mobile.args = {
41
+ displayStaticWrapperAs: 'mobile',
42
+ };
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").StepperProps<"div", {
4
+ component?: React.ElementType<any> | undefined;
5
+ }>) => JSX.Element>;
6
+ export default _default;
7
+ export declare const Stepper: ComponentStory<(props: import("@mui/material").StepperProps<"div", {
8
+ component?: React.ElementType<any> | undefined;
9
+ }>) => JSX.Element>;
@@ -0,0 +1,72 @@
1
+ import React from 'react';
2
+ import { Stepper as CustomStepper, Step, StepLabel, Box, Typography, Button } from '../index';
3
+ export default {
4
+ title: 'Navigation/Stepper',
5
+ component: CustomStepper,
6
+ };
7
+ const StepperTemplate = (args) => {
8
+ const steps = ['Select campaign settings', 'Create an ad group', 'Create an ad'];
9
+ const [activeStep, setActiveStep] = React.useState(0);
10
+ const [skipped, setSkipped] = React.useState(new Set());
11
+ const isStepOptional = (step) => {
12
+ return step === 1;
13
+ };
14
+ const isStepSkipped = (step) => {
15
+ return skipped.has(step);
16
+ };
17
+ const handleNext = () => {
18
+ let newSkipped = skipped;
19
+ if (isStepSkipped(activeStep)) {
20
+ newSkipped = new Set(newSkipped.values());
21
+ newSkipped.delete(activeStep);
22
+ }
23
+ setActiveStep((prevActiveStep) => prevActiveStep + 1);
24
+ setSkipped(newSkipped);
25
+ };
26
+ const handleBack = () => {
27
+ setActiveStep((prevActiveStep) => prevActiveStep - 1);
28
+ };
29
+ const handleSkip = () => {
30
+ if (!isStepOptional(activeStep)) {
31
+ // You probably want to guard against something like this,
32
+ // it should never occur unless someone's actively trying to break something.
33
+ throw new Error("You can't skip a step that isn't optional.");
34
+ }
35
+ setActiveStep((prevActiveStep) => prevActiveStep + 1);
36
+ setSkipped((prevSkipped) => {
37
+ const newSkipped = new Set(prevSkipped.values());
38
+ newSkipped.add(activeStep);
39
+ return newSkipped;
40
+ });
41
+ };
42
+ const handleReset = () => {
43
+ setActiveStep(0);
44
+ };
45
+ return (React.createElement(Box, { sx: { width: '100%' } },
46
+ React.createElement(CustomStepper, Object.assign({ activeStep: activeStep }, args), steps.map((label, index) => {
47
+ const stepProps = {};
48
+ const labelProps = {};
49
+ if (isStepOptional(index)) {
50
+ labelProps.optional = React.createElement(Typography, { variant: "caption" }, "Optional");
51
+ }
52
+ if (isStepSkipped(index)) {
53
+ stepProps.completed = false;
54
+ }
55
+ return (React.createElement(Step, Object.assign({ key: label }, stepProps),
56
+ React.createElement(StepLabel, Object.assign({}, labelProps), label)));
57
+ })),
58
+ activeStep === steps.length ? (React.createElement(React.Fragment, null,
59
+ React.createElement(Typography, { sx: { mt: 2, mb: 1 } }, "All steps completed - you're finished"),
60
+ React.createElement(Box, { sx: { display: 'flex', flexDirection: 'row', pt: 2 } },
61
+ React.createElement(Box, { sx: { flex: '1 1 auto' } }),
62
+ React.createElement(Button, { onClick: handleReset }, "Reset")))) : (React.createElement(React.Fragment, null,
63
+ React.createElement(Typography, { sx: { mt: 2, mb: 1 } },
64
+ "Step ",
65
+ activeStep + 1),
66
+ React.createElement(Box, { sx: { display: 'flex', flexDirection: 'row', pt: 2 } },
67
+ React.createElement(Button, { color: "inherit", disabled: activeStep === 0, onClick: handleBack, sx: { mr: 1 } }, "Back"),
68
+ React.createElement(Box, { sx: { flex: '1 1 auto' } }),
69
+ isStepOptional(activeStep) && (React.createElement(Button, { color: "inherit", onClick: handleSkip, sx: { mr: 1 } }, "Skip")),
70
+ React.createElement(Button, { onClick: handleNext }, activeStep === steps.length - 1 ? 'Finish' : 'Next'))))));
71
+ };
72
+ export const Stepper = StepperTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").SwitchProps) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Switch: ComponentStory<(props: import("@mui/material").SwitchProps) => JSX.Element>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Switch as CustomSwitch } from '../index';
3
+ export default {
4
+ title: 'Input/Switch',
5
+ component: CustomSwitch,
6
+ };
7
+ const SwitchTemplate = (args) => React.createElement(CustomSwitch, Object.assign({}, args));
8
+ export const Switch = SwitchTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").TableProps<"table", {}>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Table: ComponentStory<(props: import("@mui/material").TableProps<"table", {}>) => JSX.Element>;
@@ -0,0 +1,51 @@
1
+ import React, { useState } from 'react';
2
+ import { Table as CustomTable, TableContainer, TableHead, TableRow, TableCell, TableBody, TablePagination, Paper, } from '../index';
3
+ export default {
4
+ title: 'Data Display/Table',
5
+ component: CustomTable,
6
+ };
7
+ function createData(name, calories, fat, carbs, protein) {
8
+ return { name, calories, fat, carbs, protein };
9
+ }
10
+ const rows = [
11
+ createData('Frozen yoghurt', 159, 6.0, 24, 4.0),
12
+ createData('Ice cream sandwich', 237, 9.0, 37, 4.3),
13
+ createData('Eclair', 262, 16.0, 24, 6.0),
14
+ createData('Cupcake', 305, 3.7, 67, 4.3),
15
+ createData('Gingerbread', 356, 16.0, 49, 3.9),
16
+ createData('Ice cream sandwich', 237, 9.0, 37, 4.3),
17
+ createData('Jelly Bean', 375, 0.0, 94, 0.0),
18
+ createData('KitKat', 518, 26.0, 65, 7.0),
19
+ createData('Lollipop', 392, 0.2, 98, 0.0),
20
+ createData('Marshmallow', 318, 0, 81, 2.0),
21
+ createData('Nougat', 360, 19.0, 9, 37.0),
22
+ ];
23
+ const TableTemplate = (args) => {
24
+ const [page, setPage] = useState(0);
25
+ const [rowsPerPage, setRowsPerPage] = useState(5);
26
+ console.log('🚀 ~ file: Table.stories.tsx ~ line 40 ~ rowsPerPage', rowsPerPage);
27
+ const handleChangePage = (event, newPage) => {
28
+ setPage(newPage);
29
+ };
30
+ const handleChangeRowsPerPage = (event) => {
31
+ setRowsPerPage(parseInt(event.target.value, 10));
32
+ setPage(0);
33
+ };
34
+ return (React.createElement(TableContainer, { component: Paper },
35
+ React.createElement(CustomTable, Object.assign({ sx: { minWidth: 650 }, "aria-label": "simple table" }, args),
36
+ React.createElement(TableHead, null,
37
+ React.createElement(TableRow, null,
38
+ React.createElement(TableCell, null, "Dessert (100g serving)"),
39
+ React.createElement(TableCell, { align: "right" }, "Calories"),
40
+ React.createElement(TableCell, { align: "right" }, "Fat\u00A0(g)"),
41
+ React.createElement(TableCell, { align: "right" }, "Carbs\u00A0(g)"),
42
+ React.createElement(TableCell, { align: "right" }, "Protein\u00A0(g)"))),
43
+ React.createElement(TableBody, null, rows === null || rows === void 0 ? void 0 : rows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage).map((row) => (React.createElement(TableRow, { key: row.name, sx: { '&:last-child td, &:last-child th': { border: 0 } } },
44
+ React.createElement(TableCell, { component: "th", scope: "row" }, row.name),
45
+ React.createElement(TableCell, { align: "right" }, row.calories),
46
+ React.createElement(TableCell, { align: "right" }, row.fat),
47
+ React.createElement(TableCell, { align: "right" }, row.carbs),
48
+ React.createElement(TableCell, { align: "right" }, row.protein)))))),
49
+ React.createElement(TablePagination, { rowsPerPageOptions: [5, 10, 25], component: "div", count: rows.length, rowsPerPage: rowsPerPage, page: page, onPageChange: handleChangePage, onRowsPerPageChange: handleChangeRowsPerPage })));
50
+ };
51
+ export const Table = TableTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").TabsProps<import("@mui/material").ExtendButtonBase<import("@mui/material").ButtonBaseTypeMap<{}, "button">>, {}>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Tabs: ComponentStory<(props: import("@mui/material").TabsProps<import("@mui/material").ExtendButtonBase<import("@mui/material").ButtonBaseTypeMap<{}, "button">>, {}>) => JSX.Element>;
@@ -0,0 +1,45 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { useState } from 'react';
13
+ import { Box, Tabs as CustomTabs, Tab, Typography } from '../index';
14
+ export default {
15
+ title: 'Data Display/Tabs',
16
+ component: CustomTabs,
17
+ };
18
+ function TabPanel(props) {
19
+ const { children, value, index } = props, other = __rest(props, ["children", "value", "index"]);
20
+ return (React.createElement("div", Object.assign({ role: "tabpanel", hidden: value !== index, id: `simple-tabpanel-${index}`, "aria-labelledby": `simple-tab-${index}` }, other), value === index && (React.createElement(Box, { sx: { p: 3 } },
21
+ React.createElement(Typography, null, children)))));
22
+ }
23
+ function a11yProps(index) {
24
+ return {
25
+ id: `simple-tab-${index}`,
26
+ 'aria-controls': `simple-tabpanel-${index}`,
27
+ };
28
+ }
29
+ const TabsTemplate = (args) => {
30
+ const [value, setValue] = useState(0);
31
+ const handleChange = (event, newValue) => {
32
+ event.preventDefault();
33
+ setValue(newValue);
34
+ };
35
+ return (React.createElement(Box, { sx: { width: '100%' } },
36
+ React.createElement(Box, { sx: { borderBottom: 1, borderColor: 'divider' } },
37
+ React.createElement(CustomTabs, Object.assign({}, args, { value: value, onChange: handleChange, "aria-label": "basic tabs example" }),
38
+ React.createElement(Tab, Object.assign({ label: "Item One" }, a11yProps(0))),
39
+ React.createElement(Tab, Object.assign({ label: "Item Two" }, a11yProps(1))),
40
+ React.createElement(Tab, Object.assign({ label: "Item Three" }, a11yProps(2))))),
41
+ React.createElement(TabPanel, { value: value, index: 0 }, "Item One"),
42
+ React.createElement(TabPanel, { value: value, index: 1 }, "Item Two"),
43
+ React.createElement(TabPanel, { value: value, index: 2 }, "Item Three")));
44
+ };
45
+ export const Tabs = TabsTemplate.bind({});
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").TextFieldProps & {
4
+ labelPlacement?: string | undefined;
5
+ readOnly?: boolean | undefined;
6
+ instructionText?: string | undefined;
7
+ errorMessage?: string | undefined;
8
+ }) => JSX.Element>;
9
+ export default _default;
10
+ export declare const TextField: ComponentStory<(props: import("@mui/material").TextFieldProps & {
11
+ labelPlacement?: string | undefined;
12
+ readOnly?: boolean | undefined;
13
+ instructionText?: string | undefined;
14
+ errorMessage?: string | undefined;
15
+ }) => JSX.Element>;
16
+ export declare const TextFieldReadOnly: ComponentStory<(props: import("@mui/material").TextFieldProps & {
17
+ labelPlacement?: string | undefined;
18
+ readOnly?: boolean | undefined;
19
+ instructionText?: string | undefined;
20
+ errorMessage?: string | undefined;
21
+ }) => JSX.Element>;
@@ -0,0 +1,80 @@
1
+ import React from 'react';
2
+ import { TextField as CustomTextField } from '../index';
3
+ export default {
4
+ title: 'Input/TextField',
5
+ component: CustomTextField,
6
+ };
7
+ const TextFieldTemplate = (args) => React.createElement(CustomTextField, Object.assign({}, args));
8
+ export const TextField = TextFieldTemplate.bind({});
9
+ TextField.argTypes = {
10
+ variant: {
11
+ control: 'select',
12
+ options: ['outlined', 'standard', 'filled'],
13
+ defaultValue: 'outlined',
14
+ description: 'The variant to use.',
15
+ },
16
+ labelPlacement: {
17
+ type: 'string',
18
+ defaultValue: 'outside-top',
19
+ description: 'outside-top | undefined',
20
+ },
21
+ label: {
22
+ type: 'string',
23
+ description: 'The label content.',
24
+ defaultValue: 'Sample Label',
25
+ },
26
+ size: {
27
+ type: 'string',
28
+ description: 'Size of the input field.',
29
+ defaultValue: 'small',
30
+ },
31
+ placeholder: {
32
+ type: 'string',
33
+ defaultValue: 'This is placeholder text.',
34
+ },
35
+ margin: {
36
+ control: 'select',
37
+ options: ['none', 'dense', 'normal'],
38
+ defaultValue: 'dense',
39
+ },
40
+ 'aria-label': {
41
+ defaultValue: 'Some label',
42
+ },
43
+ required: {
44
+ type: 'boolean',
45
+ defaultValue: false
46
+ },
47
+ instructionText: {
48
+ type: 'string',
49
+ description: 'The instruction text content.',
50
+ defaultValue: undefined,
51
+ },
52
+ };
53
+ export const TextFieldReadOnly = TextFieldTemplate.bind({});
54
+ TextFieldReadOnly.argTypes = {
55
+ variant: {
56
+ defaultValue: 'outlined',
57
+ },
58
+ size: {
59
+ type: 'string',
60
+ description: 'Size of the input field.',
61
+ defaultValue: 'small',
62
+ },
63
+ placeholder: {
64
+ type: 'string',
65
+ defaultValue: 'This is placeholder text.',
66
+ },
67
+ margin: {
68
+ control: 'select',
69
+ options: ['none', 'dense', 'normal'],
70
+ defaultValue: 'dense',
71
+ },
72
+ readOnly: {
73
+ type: 'boolean',
74
+ defaultValue: true,
75
+ },
76
+ value: {
77
+ type: 'string',
78
+ defaultValue: 'SomeText',
79
+ },
80
+ };
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(<TInputDate, TDate = TInputDate>(props: import("@mui/x-date-pickers").TimePickerProps<TInputDate, TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ }>;
6
+ export default _default;
7
+ export declare const DatePicker: ComponentStory<(<TInputDate, TDate = TInputDate>(props: import("@mui/x-date-pickers").TimePickerProps<TInputDate, TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
8
+ propTypes?: any;
9
+ }>;
@@ -0,0 +1,34 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import React, { useState } from 'react';
13
+ import { TimePicker, LocalizationProvider, TextField } from '../index';
14
+ export default {
15
+ title: 'Input/TimePicker',
16
+ component: TimePicker,
17
+ argTypes: {
18
+ value: {
19
+ type: {
20
+ name: 'string',
21
+ },
22
+ },
23
+ },
24
+ };
25
+ const TimePickerTemplate = (args) => {
26
+ const { value: initialValue, onChange } = args, rest = __rest(args, ["value", "onChange"]);
27
+ const [value, setValue] = useState(initialValue !== null && initialValue !== void 0 ? initialValue : null);
28
+ const handleChange = (newValue, input) => {
29
+ setValue(newValue);
30
+ };
31
+ return (React.createElement(LocalizationProvider, null,
32
+ React.createElement(TimePicker, Object.assign({}, rest, { value: value, onChange: handleChange, renderInput: (params) => (React.createElement(TextField, Object.assign({}, params, { fullWidth: true, size: 'small' }))) }))));
33
+ };
34
+ export const DatePicker = TimePickerTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: import("@mui/material").ToggleButtonProps<"button", {}>) => JSX.Element>;
4
+ export default _default;
5
+ export declare const ToggleButton: ComponentStory<(props: import("@mui/material").ToggleButtonProps<"button", {}>) => JSX.Element>;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { ToggleButton as CustomToggleButton, ToggleButtonGroup } from '../index';
3
+ import { FormatAlignLeft, FormatAlignCenter, FormatAlignRight, FormatAlignJustify } from '@mui/icons-material';
4
+ export default {
5
+ title: 'Data Display/ToggleButton',
6
+ component: CustomToggleButton,
7
+ };
8
+ const ToggleButtonTemplate = (args) => {
9
+ const [alignment, setAlignment] = React.useState('left');
10
+ const handleAlignment = (event, newAlignment) => {
11
+ setAlignment(newAlignment);
12
+ };
13
+ return (React.createElement(ToggleButtonGroup, { value: alignment, exclusive: true, onChange: handleAlignment, "aria-label": "text alignment" },
14
+ React.createElement(CustomToggleButton, Object.assign({ value: "left", "aria-label": "left aligned" }, args),
15
+ React.createElement(FormatAlignLeft, null)),
16
+ React.createElement(CustomToggleButton, Object.assign({ value: "center", "aria-label": "centered" }, args),
17
+ React.createElement(FormatAlignCenter, null)),
18
+ React.createElement(CustomToggleButton, Object.assign({ value: "right", "aria-label": "right aligned" }, args),
19
+ React.createElement(FormatAlignRight, null)),
20
+ React.createElement(CustomToggleButton, Object.assign({ value: "justify", "aria-label": "justified", disabled: true }, args),
21
+ React.createElement(FormatAlignJustify, null))));
22
+ };
23
+ export const ToggleButton = ToggleButtonTemplate.bind({});
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ComponentStory, ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<(props: any) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Typography: ComponentStory<(props: any) => JSX.Element>;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { Typography as CustomTypography, Box } from '../index';
3
+ export default {
4
+ title: 'Theme/Typography',
5
+ component: CustomTypography,
6
+ };
7
+ const TypographyTemplate = (args) => (React.createElement(Box, null,
8
+ React.createElement(CustomTypography, { variant: "h1", component: "div", gutterBottom: true }, "h1. Heading"),
9
+ React.createElement(CustomTypography, { variant: "h2", gutterBottom: true, component: "div" }, "h2. Heading"),
10
+ React.createElement(CustomTypography, { variant: "h3", gutterBottom: true, component: "div" }, "h3. Heading"),
11
+ React.createElement(CustomTypography, { variant: "h4", gutterBottom: true, component: "div" }, "h4. Heading"),
12
+ React.createElement(CustomTypography, { variant: "h5", gutterBottom: true, component: "div" }, "h5. Heading"),
13
+ React.createElement(CustomTypography, { variant: "h6", gutterBottom: true, component: "div" }, "h6. Heading"),
14
+ React.createElement(CustomTypography, { variant: "subtitle1", gutterBottom: true, component: "div" }, "subtitle1. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur"),
15
+ React.createElement(CustomTypography, { variant: "subtitle2", gutterBottom: true, component: "div" }, "subtitle2. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur"),
16
+ React.createElement(CustomTypography, { variant: "body1", gutterBottom: true }, "body1. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur"),
17
+ React.createElement(CustomTypography, { variant: "body2", gutterBottom: true }, "body2. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos blanditiis tenetur"),
18
+ React.createElement(CustomTypography, { variant: "button", display: "block", gutterBottom: true }, "button text"),
19
+ React.createElement(CustomTypography, { variant: "caption", display: "block", gutterBottom: true }, "caption text"),
20
+ React.createElement(CustomTypography, { variant: "overline", display: "block", gutterBottom: true }, "overline text")));
21
+ export const Typography = TypographyTemplate.bind({});
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare type ThemeProviderPropType = {
3
+ args?: any;
4
+ children: React.ReactNode | string;
5
+ };
6
+ declare function UIThemeProvider(props: ThemeProviderPropType): JSX.Element;
7
+ export default UIThemeProvider;
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ import { createTheme, ThemeProvider } from '@mui/material';
3
+ import { defaultTheme } from './defaultTheme';
4
+ function UIThemeProvider(props) {
5
+ var _a, _b, _c;
6
+ const { args, children } = props;
7
+ const theme = !!((_c = (_b = (_a = args === null || args === void 0 ? void 0 : args.theme) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0 ? void 0 : _b.primary) === null || _c === void 0 ? void 0 : _c.main) ? createTheme(args === null || args === void 0 ? void 0 : args.theme) : defaultTheme;
8
+ return React.createElement(ThemeProvider, { theme: theme }, children);
9
+ }
10
+ export default UIThemeProvider;
@@ -0,0 +1 @@
1
+ export declare const defaultTheme: import("@mui/material").Theme;