@akad/design-system 0.2.0-beta.8 → 1.0.0-alpha.1

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 (370) hide show
  1. package/css/core.css +1 -0
  2. package/css/package.json +9 -1
  3. package/css/theme-aon.css +1 -0
  4. package/css/theme-bees.css +1 -0
  5. package/css/theme-bmc.css +1 -0
  6. package/css/theme-default.css +1 -0
  7. package/css/theme-linker.css +1 -0
  8. package/css/theme-oggi.css +1 -0
  9. package/css/theme-streetgo.css +1 -0
  10. package/package.json +1 -1
  11. package/react/package.json +1 -1
  12. package/react/react-lib.js +2794 -2792
  13. package/react/react-lib.umd.cjs +5 -5
  14. package/react/src/components/atoms/Button/Button.config.d.ts +106 -0
  15. package/react/{components → src/components}/atoms/Button/Button.d.ts +11 -7
  16. package/react/{components → src/components}/atoms/Button/Button.stories.d.ts +2 -2
  17. package/react/src/components/atoms/Button/index.d.ts +4 -0
  18. package/react/src/components/atoms/Caption/Caption.config.d.ts +6 -0
  19. package/react/src/components/atoms/Caption/index.d.ts +4 -0
  20. package/react/src/components/atoms/Card/Card.config.d.ts +92 -0
  21. package/react/{components → src/components}/atoms/Card/Card.d.ts +8 -4
  22. package/react/src/components/atoms/Card/index.d.ts +4 -0
  23. package/react/{components → src/components}/atoms/Checkbox/Checkbox.config.d.ts +18 -18
  24. package/react/src/components/atoms/Checkbox/index.d.ts +4 -0
  25. package/react/src/components/atoms/Heading/Heading.config.d.ts +22 -0
  26. package/react/src/components/atoms/Heading/index.d.ts +4 -0
  27. package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +30 -0
  28. package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.d.ts +2 -2
  29. package/react/src/components/atoms/HorizontalRule/index.d.ts +4 -0
  30. package/react/src/components/atoms/Icon/Icon.config.d.ts +125 -0
  31. package/react/{components → src/components}/atoms/Icon/Icon.d.ts +3 -3
  32. package/react/{components → src/components}/atoms/Icon/Icon.stories.d.ts +3 -3
  33. package/react/src/components/atoms/Icon/index.d.ts +4 -0
  34. package/react/src/components/atoms/Input/Input.config.d.ts +146 -0
  35. package/react/{components → src/components}/atoms/Input/Input.stories.d.ts +2 -2
  36. package/react/src/components/atoms/Input/index.d.ts +4 -0
  37. package/react/src/components/atoms/Loading/Loading.config.d.ts +52 -0
  38. package/react/{components → src/components}/atoms/Loading/Loading.d.ts +1 -1
  39. package/react/src/components/atoms/Loading/index.d.ts +4 -0
  40. package/react/src/components/atoms/Option/Option.config.d.ts +53 -0
  41. package/react/src/components/atoms/Option/index.d.ts +4 -0
  42. package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +19 -0
  43. package/react/src/components/atoms/Paragraph/index.d.ts +4 -0
  44. package/react/src/components/atoms/Progress/Progress.config.d.ts +30 -0
  45. package/react/src/components/atoms/Progress/index.d.ts +4 -0
  46. package/react/src/components/atoms/Select/Select.config.d.ts +121 -0
  47. package/react/{components → src/components}/atoms/Select/Select.stories.d.ts +4 -4
  48. package/react/src/components/atoms/Select/index.d.ts +4 -0
  49. package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +18 -0
  50. package/react/src/components/atoms/Subtitle/index.d.ts +4 -0
  51. package/react/src/components/atoms/TextArea/TextArea.config.d.ts +128 -0
  52. package/react/{components → src/components}/atoms/TextArea/TextArea.d.ts +0 -1
  53. package/react/{components → src/components}/atoms/TextArea/TextArea.stories.d.ts +2 -2
  54. package/react/src/components/atoms/TextArea/index.d.ts +4 -0
  55. package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +41 -0
  56. package/react/{components → src/components}/atoms/Tooltip/Tooltip.d.ts +3 -1
  57. package/react/{components → src/components}/atoms/Tooltip/Tooltip.stories.d.ts +6 -6
  58. package/react/src/components/atoms/Tooltip/index.d.ts +4 -0
  59. package/react/src/components/bosons/Container/Container.config.d.ts +18 -0
  60. package/react/src/components/bosons/Container/index.d.ts +4 -0
  61. package/react/{components → src/components}/bosons/FlexLayout/FlexElement.config.d.ts +2 -2
  62. package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +95 -0
  63. package/react/src/components/bosons/FlexLayout/index.d.ts +8 -0
  64. package/react/{components → src/components}/bosons/GridLayout/GridElement.config.d.ts +2 -2
  65. package/react/{components → src/components}/bosons/GridLayout/GridElement.d.ts +6 -1
  66. package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +80 -0
  67. package/react/{components → src/components}/bosons/GridLayout/GridLayout.d.ts +3 -3
  68. package/react/src/components/bosons/GridLayout/index.d.ts +8 -0
  69. package/react/src/components/bosons/Spacer/Spacer.config.d.ts +24 -0
  70. package/react/{components → src/components}/bosons/Spacer/Spacer.stories.d.ts +2 -2
  71. package/react/src/components/bosons/Spacer/index.d.ts +4 -0
  72. package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +27 -0
  73. package/react/src/components/bosons/Wrapper/index.d.ts +4 -0
  74. package/react/src/components/index.d.ts +37 -0
  75. package/react/src/components/molecules/Accordion/Accordion.config.d.ts +31 -0
  76. package/react/{components → src/components}/molecules/Accordion/Accordion.d.ts +2 -2
  77. package/react/{components → src/components}/molecules/Accordion/Accordion.stories.d.ts +1 -1
  78. package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +28 -0
  79. package/react/{components → src/components}/molecules/Accordion/AccordionItem.d.ts +7 -1
  80. package/react/src/components/molecules/Accordion/index.d.ts +8 -0
  81. package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.config.d.ts +2 -2
  82. package/react/src/components/molecules/ActiveTags/index.d.ts +4 -0
  83. package/react/src/components/molecules/Carousel/Carousel.config.d.ts +7 -0
  84. package/react/src/components/molecules/Carousel/Carousel.d.ts +31 -0
  85. package/react/src/components/molecules/Carousel/index.d.ts +4 -0
  86. package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +104 -0
  87. package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.d.ts +2 -2
  88. package/react/src/components/molecules/EditableSelect/index.d.ts +4 -0
  89. package/react/{components → src/components}/molecules/Indicator/Indicator.config.d.ts +3 -3
  90. package/react/src/components/molecules/Indicator/index.d.ts +4 -0
  91. package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.config.d.ts +3 -3
  92. package/react/src/components/molecules/InlineEditable/index.d.ts +4 -0
  93. package/react/src/components/molecules/Modal/Modal.config.d.ts +44 -0
  94. package/react/{components → src/components}/molecules/Modal/Modal.d.ts +2 -2
  95. package/react/{components → src/components}/molecules/Modal/Modal.stories.d.ts +2 -2
  96. package/react/src/components/molecules/Modal/Modal.test.d.ts +1 -0
  97. package/react/src/components/molecules/Modal/index.d.ts +4 -0
  98. package/react/{components → src/components}/molecules/Notification/Notification.config.d.ts +13 -32
  99. package/react/src/components/molecules/Notification/Notification.d.ts +22 -0
  100. package/react/{components → src/components}/molecules/Notification/Notification.stories.d.ts +1 -1
  101. package/react/src/components/molecules/Notification/index.d.ts +4 -0
  102. package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +32 -0
  103. package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +1 -1
  104. package/react/src/components/molecules/PasswordConfirmation/index.d.ts +4 -0
  105. package/react/{components → src/components}/molecules/Stepper/Stepper.config.d.ts +2 -2
  106. package/react/{components → src/components}/molecules/Stepper/Stepper.d.ts +7 -2
  107. package/react/src/components/molecules/Stepper/index.d.ts +4 -0
  108. package/react/{components/molecules/Table/Table.types.d.ts → src/components/molecules/Table/Table.config.d.ts} +23 -0
  109. package/react/{components → src/components}/molecules/Table/Table.d.ts +1 -1
  110. package/react/{components → src/components}/molecules/Table/Table.stories.d.ts +3 -3
  111. package/react/{components → src/components}/molecules/Table/TableRow.d.ts +1 -1
  112. package/react/{components → src/components}/molecules/Table/dataTable.mock.d.ts +1 -1
  113. package/react/src/components/molecules/Table/index.d.ts +4 -0
  114. package/react/{components → src/components}/molecules/Tabs/Tab.d.ts +1 -1
  115. package/react/src/components/molecules/Tabs/Tabs.config.d.ts +44 -0
  116. package/react/{components → src/components}/molecules/Tabs/Tabs.d.ts +11 -1
  117. package/react/{components → src/components}/molecules/Tabs/Tabs.stories.d.ts +1 -1
  118. package/react/src/components/molecules/Tabs/index.d.ts +4 -0
  119. package/react/src/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +28 -0
  120. package/react/src/components/organisms/NotificationList/NotificationList.config.d.ts +32 -0
  121. package/react/{components → src/components}/organisms/NotificationList/NotificationList.d.ts +1 -1
  122. package/react/{components → src/components}/organisms/NotificationList/NotificationList.stories.d.ts +1 -1
  123. package/react/src/components/organisms/NotificationList/index.d.ts +4 -0
  124. package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +7 -0
  125. package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +9 -0
  126. package/react/src/components/templates/SplitLayout/index.d.ts +5 -0
  127. package/react/{components → src/components}/templates/TwoColumns/TwoColumns.config.d.ts +2 -2
  128. package/react/src/components/templates/TwoColumns/index.d.ts +4 -0
  129. package/react/src/enum/colorProps.d.ts +30 -0
  130. package/scss/core/base/index.scss +3 -0
  131. package/scss/core/base/reset.scss +27 -0
  132. package/scss/core/base/typography.scss +18 -0
  133. package/scss/core/components/atoms/button.scss +816 -0
  134. package/scss/core/components/atoms/caption.scss +13 -0
  135. package/scss/core/components/atoms/card.scss +24 -0
  136. package/scss/core/components/atoms/checkbox.scss +61 -0
  137. package/scss/core/components/atoms/heading.scss +69 -0
  138. package/scss/core/components/atoms/horizontal-rule.scss +27 -0
  139. package/scss/core/components/atoms/icon.scss +49 -0
  140. package/scss/core/components/atoms/input.scss +333 -0
  141. package/scss/core/components/atoms/loading.scss +120 -0
  142. package/scss/core/components/atoms/option.scss +78 -0
  143. package/scss/core/components/atoms/paragraph.scss +44 -0
  144. package/scss/core/components/atoms/progress.scss +32 -0
  145. package/scss/core/components/atoms/select.scss +253 -0
  146. package/scss/core/components/atoms/subtitle.scss +21 -0
  147. package/scss/core/components/atoms/textarea.scss +340 -0
  148. package/scss/core/components/atoms/tooltip.scss +197 -0
  149. package/scss/core/components/bosons/container.scss +5 -0
  150. package/scss/core/components/bosons/flex-layout.scss +45 -0
  151. package/scss/core/components/bosons/grid-layout.scss +76 -0
  152. package/scss/core/components/bosons/grid.scss +79 -0
  153. package/scss/core/components/bosons/spacer.scss +45 -0
  154. package/scss/core/components/bosons/wrapper.scss +32 -0
  155. package/scss/core/components/index.scss +49 -0
  156. package/scss/core/components/molecules/accordion.scss +93 -0
  157. package/scss/core/components/molecules/active-tags.scss +58 -0
  158. package/scss/core/components/molecules/carousel.scss +67 -0
  159. package/scss/core/components/molecules/editable-select.scss +141 -0
  160. package/scss/core/components/molecules/indicator.scss +37 -0
  161. package/scss/core/components/molecules/inline-editable.scss +23 -0
  162. package/scss/core/components/molecules/modal.scss +70 -0
  163. package/scss/core/components/molecules/notification.scss +109 -0
  164. package/scss/core/components/molecules/password-confirmation.scss +16 -0
  165. package/scss/core/components/molecules/stepper.scss +84 -0
  166. package/scss/core/components/molecules/table.scss +95 -0
  167. package/scss/core/components/molecules/tabs.scss +114 -0
  168. package/scss/core/components/molecules/theme-provider.scss +6 -0
  169. package/scss/core/components/organisms/notification-list.scss +77 -0
  170. package/scss/core/components/templates/split-layout.scss +51 -0
  171. package/scss/core/components/templates/two-columns.scss +30 -0
  172. package/scss/core/functions/breakpoints.scss +35 -0
  173. package/scss/core/functions/fonts.scss +17 -0
  174. package/scss/core/functions/index.scss +5 -0
  175. package/scss/core/functions/spacings.scss +8 -0
  176. package/scss/core/functions/tokens.scss +14 -0
  177. package/scss/core/helpers/borders.scss +87 -0
  178. package/scss/core/helpers/colors.scss +167 -0
  179. package/scss/core/helpers/display.scss +177 -0
  180. package/scss/core/helpers/elevation.scss +16 -0
  181. package/scss/core/helpers/index.scss +6 -0
  182. package/scss/core/helpers/order.scss +20 -0
  183. package/scss/core/index.scss +18 -0
  184. package/scss/core/mixins/breakpoints.scss +90 -0
  185. package/scss/core/mixins/grid.scss +8 -0
  186. package/scss/core/mixins/index.scss +5 -0
  187. package/scss/core/tokens/borders.scss +12 -0
  188. package/scss/core/tokens/breakpoints.scss +20 -0
  189. package/scss/core/tokens/icons.scss +2 -0
  190. package/scss/core/tokens/index.scss +8 -0
  191. package/scss/core/tokens/opacity.scss +6 -0
  192. package/scss/core/tokens/shadows.scss +15 -0
  193. package/scss/core/tokens/spacings.scss +41 -0
  194. package/scss/core/tokens/typography.scss +20 -0
  195. package/scss/themes/aon/colors.scss +83 -0
  196. package/scss/themes/aon/index.scss +54 -0
  197. package/scss/themes/aon/typography.scss +7 -0
  198. package/scss/themes/bees/colors.scss +32 -0
  199. package/scss/themes/bees/index.scss +51 -0
  200. package/scss/themes/bees/typography.scss +6 -0
  201. package/scss/themes/bmc/colors.scss +81 -0
  202. package/scss/themes/bmc/index.scss +54 -0
  203. package/scss/themes/bmc/typography.scss +5 -0
  204. package/scss/themes/default/colors.scss +109 -0
  205. package/scss/themes/default/index.scss +80 -0
  206. package/scss/themes/default/typography.scss +7 -0
  207. package/scss/themes/linker/colors.scss +35 -0
  208. package/scss/themes/linker/index.scss +30 -0
  209. package/scss/themes/linker/typography.scss +6 -0
  210. package/scss/themes/oggi/colors.scss +81 -0
  211. package/scss/themes/oggi/index.scss +54 -0
  212. package/scss/themes/oggi/typography.scss +5 -0
  213. package/scss/themes/streetgo/colors.scss +81 -0
  214. package/scss/themes/streetgo/index.scss +54 -0
  215. package/scss/themes/streetgo/typography.scss +5 -0
  216. package/css/aon-theme.css +0 -1
  217. package/css/bees-theme.css +0 -1
  218. package/css/bmc-theme.css +0 -1
  219. package/css/default-theme.css +0 -1
  220. package/css/linker-theme.css +0 -1
  221. package/css/oggi-theme.css +0 -1
  222. package/css/streetgo-theme.css +0 -1
  223. package/react/components/atoms/Button/Button.config.d.ts +0 -94
  224. package/react/components/atoms/Button/index.d.ts +0 -4
  225. package/react/components/atoms/Caption/Caption.config.d.ts +0 -6
  226. package/react/components/atoms/Caption/index.d.ts +0 -4
  227. package/react/components/atoms/Card/Card.config.d.ts +0 -76
  228. package/react/components/atoms/Card/index.d.ts +0 -4
  229. package/react/components/atoms/Checkbox/index.d.ts +0 -5
  230. package/react/components/atoms/Heading/Heading.config.d.ts +0 -23
  231. package/react/components/atoms/Heading/index.d.ts +0 -4
  232. package/react/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +0 -32
  233. package/react/components/atoms/HorizontalRule/index.d.ts +0 -4
  234. package/react/components/atoms/Icon/Icon.config.d.ts +0 -129
  235. package/react/components/atoms/Icon/index.d.ts +0 -4
  236. package/react/components/atoms/Input/Input.config.d.ts +0 -151
  237. package/react/components/atoms/Input/index.d.ts +0 -4
  238. package/react/components/atoms/Loading/Loading.config.d.ts +0 -54
  239. package/react/components/atoms/Loading/index.d.ts +0 -4
  240. package/react/components/atoms/Option/Option.config.d.ts +0 -53
  241. package/react/components/atoms/Option/index.d.ts +0 -4
  242. package/react/components/atoms/Paragraph/Paragraph.config.d.ts +0 -20
  243. package/react/components/atoms/Paragraph/index.d.ts +0 -4
  244. package/react/components/atoms/Progress/Progress.config.d.ts +0 -31
  245. package/react/components/atoms/Progress/index.d.ts +0 -4
  246. package/react/components/atoms/Select/Select.config.d.ts +0 -125
  247. package/react/components/atoms/Select/index.d.ts +0 -4
  248. package/react/components/atoms/Subtitle/Subtitle.config.d.ts +0 -19
  249. package/react/components/atoms/Subtitle/index.d.ts +0 -4
  250. package/react/components/atoms/TextArea/TextArea.config.d.ts +0 -132
  251. package/react/components/atoms/TextArea/index.d.ts +0 -4
  252. package/react/components/atoms/Tooltip/Tooltip.config.d.ts +0 -38
  253. package/react/components/atoms/Tooltip/index.d.ts +0 -4
  254. package/react/components/bosons/Container/Container.config.d.ts +0 -18
  255. package/react/components/bosons/Container/index.d.ts +0 -4
  256. package/react/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -100
  257. package/react/components/bosons/FlexLayout/index.d.ts +0 -5
  258. package/react/components/bosons/GridLayout/GridLayout.config.d.ts +0 -82
  259. package/react/components/bosons/GridLayout/index.d.ts +0 -5
  260. package/react/components/bosons/Spacer/Spacer.config.d.ts +0 -25
  261. package/react/components/bosons/Spacer/index.d.ts +0 -4
  262. package/react/components/bosons/Wrapper/Wrapper.config.d.ts +0 -28
  263. package/react/components/bosons/Wrapper/index.d.ts +0 -4
  264. package/react/components/index.d.ts +0 -37
  265. package/react/components/molecules/Accordion/Accordion.config.d.ts +0 -25
  266. package/react/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
  267. package/react/components/molecules/Accordion/index.d.ts +0 -5
  268. package/react/components/molecules/ActiveTags/index.d.ts +0 -4
  269. package/react/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -105
  270. package/react/components/molecules/EditableSelect/index.d.ts +0 -4
  271. package/react/components/molecules/Indicator/index.d.ts +0 -4
  272. package/react/components/molecules/InlineEditable/index.d.ts +0 -4
  273. package/react/components/molecules/Modal/Modal.config.d.ts +0 -41
  274. package/react/components/molecules/Modal/index.d.ts +0 -4
  275. package/react/components/molecules/Notification/Notification.d.ts +0 -7
  276. package/react/components/molecules/Notification/index.d.ts +0 -5
  277. package/react/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +0 -32
  278. package/react/components/molecules/PasswordConfirmation/index.d.ts +0 -4
  279. package/react/components/molecules/Stepper/index.d.ts +0 -4
  280. package/react/components/molecules/Table/Table.config.d.ts +0 -23
  281. package/react/components/molecules/Table/index.d.ts +0 -5
  282. package/react/components/molecules/Tabs/Tabs.config.d.ts +0 -45
  283. package/react/components/molecules/Tabs/index.d.ts +0 -6
  284. package/react/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +0 -30
  285. package/react/components/organisms/NotificationList/NotificationList.config.d.ts +0 -33
  286. package/react/components/organisms/NotificationList/index.d.ts +0 -4
  287. package/react/components/templates/TwoColumns/index.d.ts +0 -5
  288. package/react/decorators/storybook.d.ts +0 -3
  289. package/react/types/hooks/types.d.ts +0 -99
  290. package/react/types/types.d.ts +0 -43
  291. /package/react/{components → src/components}/atoms/Button/Button.test.d.ts +0 -0
  292. /package/react/{components → src/components}/atoms/Caption/Caption.d.ts +0 -0
  293. /package/react/{components → src/components}/atoms/Caption/Caption.stories.d.ts +0 -0
  294. /package/react/{components → src/components}/atoms/Caption/Caption.test.d.ts +0 -0
  295. /package/react/{components → src/components}/atoms/Card/Card.stories.d.ts +0 -0
  296. /package/react/{components → src/components}/atoms/Card/Card.test.d.ts +0 -0
  297. /package/react/{components → src/components}/atoms/Checkbox/Checkbox.d.ts +0 -0
  298. /package/react/{components → src/components}/atoms/Checkbox/Checkbox.stories.d.ts +0 -0
  299. /package/react/{components → src/components}/atoms/Checkbox/Checkbox.test.d.ts +0 -0
  300. /package/react/{components → src/components}/atoms/Heading/Heading.d.ts +0 -0
  301. /package/react/{components → src/components}/atoms/Heading/Heading.stories.d.ts +0 -0
  302. /package/react/{components → src/components}/atoms/Heading/Heading.test.d.ts +0 -0
  303. /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.stories.d.ts +0 -0
  304. /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.test.d.ts +0 -0
  305. /package/react/{components → src/components}/atoms/Icon/Icon.test.d.ts +0 -0
  306. /package/react/{components → src/components}/atoms/Input/Input.d.ts +0 -0
  307. /package/react/{components → src/components}/atoms/Input/Input.test.d.ts +0 -0
  308. /package/react/{components → src/components}/atoms/Input/mask.d.ts +0 -0
  309. /package/react/{components → src/components}/atoms/Loading/Loading.stories.d.ts +0 -0
  310. /package/react/{components → src/components}/atoms/Loading/Loading.test.d.ts +0 -0
  311. /package/react/{components → src/components}/atoms/Option/Option.d.ts +0 -0
  312. /package/react/{components → src/components}/atoms/Option/Option.stories.d.ts +0 -0
  313. /package/react/{components → src/components}/atoms/Option/Option.test.d.ts +0 -0
  314. /package/react/{components → src/components}/atoms/Paragraph/Paragraph.d.ts +0 -0
  315. /package/react/{components → src/components}/atoms/Paragraph/Paragraph.stories.d.ts +0 -0
  316. /package/react/{components → src/components}/atoms/Paragraph/Paragraph.test.d.ts +0 -0
  317. /package/react/{components → src/components}/atoms/Progress/Progress.d.ts +0 -0
  318. /package/react/{components → src/components}/atoms/Progress/Progress.stories.d.ts +0 -0
  319. /package/react/{components → src/components}/atoms/Progress/Progress.test.d.ts +0 -0
  320. /package/react/{components → src/components}/atoms/Select/Select.d.ts +0 -0
  321. /package/react/{components → src/components}/atoms/Select/Select.test.d.ts +0 -0
  322. /package/react/{components → src/components}/atoms/Subtitle/Subtitle.d.ts +0 -0
  323. /package/react/{components → src/components}/atoms/Subtitle/Subtitle.stories.d.ts +0 -0
  324. /package/react/{components → src/components}/atoms/Subtitle/Subtitle.test.d.ts +0 -0
  325. /package/react/{components → src/components}/atoms/TextArea/TextArea.test.d.ts +0 -0
  326. /package/react/{components → src/components}/atoms/Tooltip/Tooltip.test.d.ts +0 -0
  327. /package/react/{components → src/components}/bosons/Container/Container.d.ts +0 -0
  328. /package/react/{components → src/components}/bosons/Container/Container.stories.d.ts +0 -0
  329. /package/react/{components → src/components}/bosons/Container/Container.test.d.ts +0 -0
  330. /package/react/{components → src/components}/bosons/FlexLayout/FlexElement.d.ts +0 -0
  331. /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.d.ts +0 -0
  332. /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -0
  333. /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.test.d.ts +0 -0
  334. /package/react/{components → src/components}/bosons/GridLayout/GridElement.test.d.ts +0 -0
  335. /package/react/{components → src/components}/bosons/GridLayout/GridLayout.stories.d.ts +0 -0
  336. /package/react/{components → src/components}/bosons/GridLayout/GridLayout.test.d.ts +0 -0
  337. /package/react/{components → src/components}/bosons/Spacer/Spacer.d.ts +0 -0
  338. /package/react/{components → src/components}/bosons/Spacer/Spacer.test.d.ts +0 -0
  339. /package/react/{components → src/components}/bosons/Wrapper/Wrapper.d.ts +0 -0
  340. /package/react/{components → src/components}/bosons/Wrapper/Wrapper.stories.d.ts +0 -0
  341. /package/react/{components → src/components}/bosons/Wrapper/Wrapper.test.d.ts +0 -0
  342. /package/react/{components → src/components}/molecules/Accordion/Accordion.test.d.ts +0 -0
  343. /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.d.ts +0 -0
  344. /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.stories.d.ts +0 -0
  345. /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.test.d.ts +0 -0
  346. /package/react/{components/molecules/Modal/Modal.test.d.ts → src/components/molecules/Carousel/Carousel.test.d.ts} +0 -0
  347. /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -0
  348. /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.test.d.ts +0 -0
  349. /package/react/{components → src/components}/molecules/Indicator/Indicator.d.ts +0 -0
  350. /package/react/{components → src/components}/molecules/Indicator/Indicator.stories.d.ts +0 -0
  351. /package/react/{components → src/components}/molecules/Indicator/Indicator.test.d.ts +0 -0
  352. /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.d.ts +0 -0
  353. /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.stories.d.ts +0 -0
  354. /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.test.d.ts +0 -0
  355. /package/react/{components → src/components}/molecules/Notification/Notification.test.d.ts +0 -0
  356. /package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmartion.test.d.ts +0 -0
  357. /package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +0 -0
  358. /package/react/{components → src/components}/molecules/Stepper/Stepper.stories.d.ts +0 -0
  359. /package/react/{components → src/components}/molecules/Stepper/Stepper.test.d.ts +0 -0
  360. /package/react/{components → src/components}/molecules/Table/Table.test.d.ts +0 -0
  361. /package/react/{components → src/components}/molecules/Tabs/Tab.test.d.ts +0 -0
  362. /package/react/{components → src/components}/molecules/Tabs/Tabs.test.d.ts +0 -0
  363. /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.d.ts +0 -0
  364. /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.test.d.ts +0 -0
  365. /package/react/{components → src/components}/molecules/ThemeProvider/index.d.ts +0 -0
  366. /package/react/{components → src/components}/organisms/NotificationList/NotificationList.test.d.ts +0 -0
  367. /package/react/{components/templates/TwoColumns/TwoColumns.test.d.ts → src/components/templates/SplitLayout/SplitLayout.test.d.ts} +0 -0
  368. /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.d.ts +0 -0
  369. /package/react/{decorators/storybook.test.d.ts → src/components/templates/TwoColumns/TwoColumns.test.d.ts} +0 -0
  370. /package/react/{main.d.ts → src/main.d.ts} +0 -0
@@ -1,37 +0,0 @@
1
- import { DsTwoColumns } from './templates/TwoColumns';
2
- import { DsNotificationList } from './organisms/NotificationList';
3
- import { ThemeProvider } from './molecules/ThemeProvider';
4
- import { DsTabs } from './molecules/Tabs';
5
- import { DsTable } from './molecules/Table';
6
- import { DsStepper } from './molecules/Stepper';
7
- import { DsPasswordConfirmation } from './molecules/PasswordConfirmation';
8
- import { DsNotification } from './molecules/Notification';
9
- import { DsModal } from './molecules/Modal';
10
- import { DsInlineEditable } from './molecules/InlineEditable';
11
- import { DsIndicator } from './molecules/Indicator';
12
- import { DsEditableSelect } from './molecules/EditableSelect';
13
- import { DsActiveTags } from './molecules/ActiveTags';
14
- import { DsAccordion } from './molecules/Accordion';
15
- import { DsWrapper } from './bosons/Wrapper';
16
- import { DsSpacer } from './bosons/Spacer';
17
- import { DsGridElement, DsGridLayout } from './bosons/GridLayout';
18
- import { DsFlexLayout, DsFlexElement } from './bosons/FlexLayout';
19
- import { DsContainer } from './bosons/Container';
20
- import { DsTooltip } from './atoms/Tooltip';
21
- import { DsTextArea } from './atoms/TextArea';
22
- import { DsSubtitle } from './atoms/Subtitle';
23
- import { DsSelect } from './atoms/Select';
24
- import { DsProgress } from './atoms/Progress';
25
- import { DsParagraph } from './atoms/Paragraph';
26
- import { DsOption } from './atoms/Option';
27
- import { DsLoading } from './atoms/Loading';
28
- import { DsInput } from './atoms/Input';
29
- import { DsIcon } from './atoms/Icon';
30
- import { DsHR } from './atoms/HorizontalRule';
31
- import { DsHeading } from './atoms/Heading';
32
- import { DsCheckbox } from './atoms/Checkbox';
33
- import { DsCard } from './atoms/Card';
34
- import { DsCaption } from './atoms/Caption';
35
- import { DsButton } from './atoms/Button';
36
-
37
- export { DsAccordion, DsButton, DsCaption, DsCard, DsCheckbox, DsContainer, DsFlexElement, DsFlexLayout, DsGridElement, DsGridLayout, DsHeading, DsHR, DsIcon, DsIndicator, DsInlineEditable, DsInput, DsLoading, DsModal, DsNotification, DsNotificationList, DsOption, DsParagraph, DsSelect, DsSpacer, DsStepper, DsSubtitle, DsTable, DsTabs, DsTextArea, DsTooltip, DsTwoColumns, DsWrapper, DsProgress, DsPasswordConfirmation, DsEditableSelect, DsActiveTags, ThemeProvider, };
@@ -1,25 +0,0 @@
1
- import { DsAccordionItems } from '../../../types/types';
2
-
3
- export interface OpenItemListIndexProps {
4
- type: BooleanConstructor;
5
- default: boolean;
6
- }
7
- export interface ItemsProps {
8
- type: ArrayConstructor;
9
- default: DsAccordionItems[];
10
- }
11
- export interface ActiveItemProps {
12
- type: NumberConstructor;
13
- default: number;
14
- }
15
- export interface AccordionConfig {
16
- name: string;
17
- class: string;
18
- props: {
19
- openItemListIndex: OpenItemListIndexProps;
20
- items: ItemsProps;
21
- activeItem: ActiveItemProps;
22
- };
23
- }
24
- declare const AccordionConfig: AccordionConfig;
25
- export default AccordionConfig;
@@ -1,28 +0,0 @@
1
- export interface TitleProps {
2
- type: StringConstructor;
3
- default: string;
4
- }
5
- export interface ContentProps {
6
- type: StringConstructor;
7
- default: string;
8
- }
9
- export interface DisabledProps {
10
- type: BooleanConstructor;
11
- default: boolean;
12
- }
13
- export interface ActiveProps {
14
- type: BooleanConstructor;
15
- default: boolean;
16
- }
17
- export interface AccordionItemConfig {
18
- name: string;
19
- class: string;
20
- props: {
21
- title: TitleProps;
22
- content: ContentProps;
23
- disabled: DisabledProps;
24
- active: ActiveProps;
25
- };
26
- }
27
- declare const AccordionItemConfig: AccordionItemConfig;
28
- export default AccordionItemConfig;
@@ -1,5 +0,0 @@
1
- import { DsAccordionItemProps } from '../../../types/types';
2
- import { default as DsAccordion } from './Accordion';
3
-
4
- export { DsAccordion };
5
- export type { DsAccordionItemProps };
@@ -1,4 +0,0 @@
1
- import { default as DsActiveTags, DsActiveTagsProps } from './ActiveTags';
2
-
3
- export { DsActiveTags };
4
- export type { DsActiveTagsProps };
@@ -1,105 +0,0 @@
1
- export declare const Size: {
2
- readonly Small: "small";
3
- readonly Medium: "medium";
4
- readonly Large: "large";
5
- };
6
- export type Size = (typeof Size)[keyof typeof Size];
7
- export interface Option {
8
- label: string;
9
- value?: string | number;
10
- name?: string;
11
- id?: string | number;
12
- }
13
- export interface TestIdProps {
14
- type: StringConstructor;
15
- default: string;
16
- }
17
- export interface LabelProps {
18
- type: StringConstructor;
19
- default: string;
20
- }
21
- export interface DisabledProps {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- }
25
- export interface LoadingProps {
26
- type: BooleanConstructor;
27
- }
28
- export interface AnimatedProps {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- }
32
- export interface PlaceholderProps {
33
- type: StringConstructor;
34
- default: string;
35
- }
36
- export interface IconProps {
37
- type: StringConstructor;
38
- default: undefined;
39
- }
40
- export interface NameProps {
41
- type: StringConstructor;
42
- default: string;
43
- }
44
- export interface NoOptionsMessageProps {
45
- type: StringConstructor;
46
- default: string;
47
- }
48
- export interface OptionsProps {
49
- type: ArrayConstructor;
50
- default: never[];
51
- }
52
- export interface StatusProps {
53
- type: StringConstructor;
54
- default: string;
55
- }
56
- export interface ValueProps {
57
- type: StringConstructor;
58
- default: string;
59
- }
60
- export interface SizeProps {
61
- type: StringConstructor;
62
- options: Size[];
63
- default: Size;
64
- }
65
- export interface OnChangeHandlerProps {
66
- type: FunctionConstructor;
67
- default: () => void;
68
- }
69
- export interface OnBlurHandlerProps {
70
- type: FunctionConstructor;
71
- default: () => void;
72
- }
73
- export interface OnFocusHandlerProps {
74
- type: FunctionConstructor;
75
- default: () => void;
76
- }
77
- export interface OnSelectHandlerProps {
78
- type: FunctionConstructor;
79
- default: () => void;
80
- }
81
- export interface EditableSelectConfig {
82
- name: string;
83
- class: string;
84
- props: {
85
- label: LabelProps;
86
- testId: TestIdProps;
87
- animated: AnimatedProps;
88
- loading: LoadingProps;
89
- disabled: DisabledProps;
90
- icon: IconProps;
91
- name: NameProps;
92
- noOptionsMessage: NoOptionsMessageProps;
93
- options: OptionsProps;
94
- status: StatusProps;
95
- value: ValueProps;
96
- size: SizeProps;
97
- onChangeHandler: OnChangeHandlerProps;
98
- onBlurHandler: OnBlurHandlerProps;
99
- onFocusHandler: OnFocusHandlerProps;
100
- onSelectHandler: OnSelectHandlerProps;
101
- placeholder: PlaceholderProps;
102
- };
103
- }
104
- declare const EditableSelectConfig: EditableSelectConfig;
105
- export default EditableSelectConfig;
@@ -1,4 +0,0 @@
1
- import { default as DsEditableSelect, DsEditableSelectProps } from './EditableSelect';
2
-
3
- export { DsEditableSelect };
4
- export type { DsEditableSelectProps };
@@ -1,4 +0,0 @@
1
- import { default as DsIndicator, DsIndicatorProps } from './Indicator';
2
-
3
- export { DsIndicator };
4
- export type { DsIndicatorProps };
@@ -1,4 +0,0 @@
1
- import { default as DsInlineEditable, DsInlineEditableProps } from './InlineEditable';
2
-
3
- export { DsInlineEditable };
4
- export type { DsInlineEditableProps };
@@ -1,41 +0,0 @@
1
- export declare const Elevation: readonly [1, 2, 3, 4];
2
- export type Elevation = (typeof Elevation)[number];
3
- export interface ElevationProps {
4
- type: NumberConstructor;
5
- options: readonly Elevation[];
6
- }
7
- export declare const Variant: {
8
- readonly Squared: "squared";
9
- readonly Rounded: "rounded";
10
- };
11
- export type Variant = (typeof Variant)[keyof typeof Variant];
12
- export interface VariantProps {
13
- type: StringConstructor;
14
- default: Variant;
15
- options: Variant[];
16
- }
17
- export interface CancelBtnTextProps {
18
- type: StringConstructor;
19
- default: string;
20
- }
21
- export interface ConfirmBtnTextProps {
22
- type: StringConstructor;
23
- default: string;
24
- }
25
- export interface IsModalOpenProps {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- }
29
- export interface ModalConfig {
30
- name: string;
31
- class: string;
32
- props: {
33
- elevation: ElevationProps;
34
- variant: VariantProps;
35
- cancelBtnText: CancelBtnTextProps;
36
- confirmBtnText: ConfirmBtnTextProps;
37
- isModalOpen: IsModalOpenProps;
38
- };
39
- }
40
- declare const ModalConfig: ModalConfig;
41
- export default ModalConfig;
@@ -1,4 +0,0 @@
1
- import { default as DsModal, DsModalProps } from './Modal';
2
-
3
- export { DsModal };
4
- export type { DsModalProps };
@@ -1,7 +0,0 @@
1
- import { DsNotificationProps } from './Notification.config';
2
-
3
- declare const DsNotification: {
4
- ({ className, type, variant, id, children, message, autoClose, autoCloseTimer, dismissible, elevation, progressBar, handleClose, testId, }: DsNotificationProps): import("react/jsx-runtime").JSX.Element | null;
5
- displayName: string;
6
- };
7
- export default DsNotification;
@@ -1,5 +0,0 @@
1
- import { DsNotificationProps } from './Notification.config';
2
- import { default as DsNotification } from './Notification';
3
-
4
- export { DsNotification };
5
- export type { DsNotificationProps };
@@ -1,32 +0,0 @@
1
- export interface ValidationItem {
2
- title: string;
3
- rule: (_password: string) => boolean;
4
- }
5
- export interface OnChangeProps {
6
- type: FunctionConstructor;
7
- default: () => void;
8
- }
9
- export interface ValidationListProps {
10
- type: ArrayConstructor;
11
- default: ValidationItem[];
12
- }
13
- export interface InstructionLabelProps {
14
- type: StringConstructor;
15
- default: string;
16
- }
17
- export interface TestIdProps {
18
- type: StringConstructor;
19
- default: string;
20
- }
21
- export interface PasswordConfirmationConfig {
22
- name: string;
23
- class: string;
24
- props: {
25
- onChange: OnChangeProps;
26
- validationList: ValidationListProps;
27
- instructionLabel: InstructionLabelProps;
28
- testId: TestIdProps;
29
- };
30
- }
31
- declare const DsPasswordConfirmationConfig: PasswordConfirmationConfig;
32
- export default DsPasswordConfirmationConfig;
@@ -1,4 +0,0 @@
1
- import { default as DsPasswordConfirmation, DsPasswordConfirmationProps } from './PasswordConfirmation';
2
-
3
- export { DsPasswordConfirmation };
4
- export type { DsPasswordConfirmationProps };
@@ -1,4 +0,0 @@
1
- import { default as DsStepper, DsStepperProps } from './Stepper';
2
-
3
- export { DsStepper };
4
- export type { DsStepperProps };
@@ -1,23 +0,0 @@
1
- export interface HeaderProps {
2
- type: ArrayConstructor;
3
- default: unknown[];
4
- }
5
- export interface ItemsProps {
6
- type: ArrayConstructor;
7
- default: unknown[];
8
- }
9
- export interface ColumnsProps {
10
- type: ArrayConstructor;
11
- default: unknown[];
12
- }
13
- export interface TableConfig {
14
- name: string;
15
- class: string;
16
- props: {
17
- header: HeaderProps;
18
- items: ItemsProps;
19
- columns: ColumnsProps;
20
- };
21
- }
22
- declare const TableConfig: TableConfig;
23
- export default TableConfig;
@@ -1,5 +0,0 @@
1
- import { DsTableProps } from './Table.types';
2
- import { default as DsTable } from './Table';
3
-
4
- export { DsTable };
5
- export type { DsTableProps };
@@ -1,45 +0,0 @@
1
- export declare const Color: {
2
- readonly None: "";
3
- readonly Primary: "primary";
4
- readonly Secondary: "secondary";
5
- readonly Neutral: "neutral";
6
- readonly Success: "success";
7
- readonly Warning: "warning";
8
- readonly Danger: "danger";
9
- readonly Info: "info";
10
- };
11
- export type Color = (typeof Color)[keyof typeof Color];
12
- export interface TabsProps {
13
- type: ArrayConstructor;
14
- required: boolean;
15
- }
16
- export interface SelectedTabProps {
17
- type: NumberConstructor;
18
- default: number;
19
- }
20
- export interface ColorProps {
21
- type: StringConstructor;
22
- default: Color;
23
- options: Color[];
24
- }
25
- export interface ClassNameProps {
26
- type: StringConstructor;
27
- default: string;
28
- }
29
- export interface OnChangeProps {
30
- type: FunctionConstructor;
31
- default: () => void;
32
- }
33
- export interface DsTabsConfig {
34
- name: string;
35
- class: string;
36
- props: {
37
- tabs: TabsProps;
38
- selectedTab: SelectedTabProps;
39
- color: ColorProps;
40
- className: ClassNameProps;
41
- onChange: OnChangeProps;
42
- };
43
- }
44
- declare const DsTabsConfig: DsTabsConfig;
45
- export default DsTabsConfig;
@@ -1,6 +0,0 @@
1
- import { DsTabProps } from '../../../types/types';
2
- import { default as DsTabs, DsTabsProps } from './Tabs';
3
- import { default as DsTab } from './Tab';
4
-
5
- export { DsTab, DsTabs };
6
- export type { DsTabProps, DsTabsProps };
@@ -1,30 +0,0 @@
1
- export declare const Theme: {
2
- readonly Light: "light";
3
- readonly Dark: "dark";
4
- };
5
- export type Theme = (typeof Theme)[keyof typeof Theme];
6
- export declare const Library: {
7
- readonly Core: "core";
8
- readonly Marketing: "mkt";
9
- };
10
- export type Library = (typeof Library)[keyof typeof Library];
11
- export interface ThemeProps {
12
- type: StringConstructor;
13
- default: Theme;
14
- options: Theme[];
15
- }
16
- export interface LibraryProps {
17
- type: StringConstructor;
18
- default: Library;
19
- options: Library[];
20
- }
21
- export interface ThemeProviderConfig {
22
- name: string;
23
- class: string;
24
- props: {
25
- theme: ThemeProps;
26
- library: LibraryProps;
27
- };
28
- }
29
- declare const ThemeProviderConfig: ThemeProviderConfig;
30
- export default ThemeProviderConfig;
@@ -1,33 +0,0 @@
1
- export declare const Position: {
2
- readonly TopLeft: "top-left";
3
- readonly TopCenter: "top-center";
4
- readonly TopRight: "top-right";
5
- readonly BottomLeft: "bottom-left";
6
- readonly BottomCenter: "bottom-center";
7
- readonly BottomRight: "bottom-right";
8
- };
9
- export type Position = (typeof Position)[keyof typeof Position];
10
- export interface PositionProps {
11
- type: StringConstructor;
12
- default: Position;
13
- options: Position[];
14
- }
15
- export interface FluidProps {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- }
19
- export interface ClassNameProps {
20
- type: StringConstructor;
21
- default: string;
22
- }
23
- export interface DsNotificationListConfig {
24
- name: string;
25
- class: string;
26
- props: {
27
- position: PositionProps;
28
- fluid: FluidProps;
29
- className: ClassNameProps;
30
- };
31
- }
32
- declare const DsNotificationListConfig: DsNotificationListConfig;
33
- export default DsNotificationListConfig;
@@ -1,4 +0,0 @@
1
- import { default as DsNotificationList, DsNotificationListProps } from './NotificationList';
2
-
3
- export { DsNotificationList };
4
- export type { DsNotificationListProps };
@@ -1,5 +0,0 @@
1
- import { default as DsTwoColumns, DsTwoColumnsProps } from './TwoColumns';
2
-
3
- export { DsTwoColumns };
4
- export type { DsTwoColumnsProps };
5
- export default DsTwoColumns;
@@ -1,3 +0,0 @@
1
- import { StoryFn } from '@storybook/react';
2
-
3
- export declare const centralizeBoxDecorator: ((Story: StoryFn) => import("react/jsx-runtime").JSX.Element)[];
@@ -1,99 +0,0 @@
1
- import { default as React } from 'react';
2
- import { JSONSchemaType } from 'ajv';
3
-
4
- export interface EventData {
5
- [key: string]: React.ChangeEvent<HTMLInputElement>;
6
- }
7
- export type TestSchema = JSONSchemaType<{
8
- $id: string;
9
- type: 'object';
10
- schemas?: {
11
- mainSchema: {
12
- $id: string;
13
- type: 'object';
14
- required: string[];
15
- properties: {
16
- effectiveDate: {
17
- $ref: string;
18
- };
19
- };
20
- };
21
- definitions?: Record<string, FormSchema>;
22
- };
23
- definitions?: Record<string, FormSchema>;
24
- }>;
25
- export interface FormSchema {
26
- $id?: string;
27
- properties?: {
28
- [key: string]: InputValidator;
29
- };
30
- dependentRequired?: DependentRequired;
31
- required?: Array<string>;
32
- definitions?: Record<string, FormSchema>;
33
- type?: string;
34
- formatMinimum?: string;
35
- formatMaximum?: string;
36
- format?: string;
37
- schemas?: {
38
- definitions?: Record<string, FormSchema>;
39
- };
40
- items?: Record<string, FormSchema>;
41
- 'x-label'?: string;
42
- 'x-placeholder'?: string;
43
- 'x-tooltip'?: string;
44
- 'x-mask'?: string;
45
- 'x-options'?: Array<SelectOption>;
46
- }
47
- export interface InputValidator {
48
- $id?: string;
49
- type?: string;
50
- pattern?: string;
51
- format?: string;
52
- contains: FormSchema;
53
- }
54
- export interface DependentRequired {
55
- [key: string]: Array<string>;
56
- }
57
- export interface FormValidated {
58
- status: boolean | undefined;
59
- fields: InputValidated;
60
- }
61
- export interface InputValidated {
62
- [key: string]: {
63
- status: string | boolean;
64
- touched?: boolean | undefined;
65
- message?: string | undefined;
66
- };
67
- }
68
- export interface FormDataParsed {
69
- [key: string]: string | number | boolean | undefined | Array<object> | object;
70
- toJson?: () => string;
71
- }
72
- export type SelectOption = {
73
- value: string;
74
- label: string;
75
- } | object;
76
- export interface FormField {
77
- name: string;
78
- feedback: string | undefined;
79
- tooltip?: string;
80
- label?: string;
81
- placeholder?: string;
82
- onBlurHandler?: () => void;
83
- onChangeHandler?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
84
- onFocusHandler?: () => void;
85
- onChange?: () => void;
86
- status?: string;
87
- animated: boolean;
88
- type?: string;
89
- mask?: string;
90
- min?: string;
91
- max?: string;
92
- value?: string | number | boolean | object | undefined;
93
- checked?: boolean;
94
- options?: Array<SelectOption>;
95
- ref: (inputRef: HTMLInputElement) => void;
96
- }
97
- export interface FieldsElementDictionary {
98
- [key: string]: HTMLInputElement;
99
- }
@@ -1,43 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- export interface DsAccordionItemProps {
4
- index?: number;
5
- title: React.ReactNode;
6
- content: React.ReactNode;
7
- className?: string;
8
- onToggle: React.MouseEventHandler<HTMLButtonElement>;
9
- active: boolean;
10
- disabled: boolean;
11
- }
12
- export interface DsAccordionItems {
13
- index?: number;
14
- title: React.ReactNode;
15
- content: React.ReactNode;
16
- className?: string;
17
- disabled: boolean;
18
- active: boolean;
19
- }
20
- export interface DsGridElementProps {
21
- row: string;
22
- col: string;
23
- mobileRow?: string;
24
- mobileCol?: string;
25
- }
26
- export interface DsStepProps {
27
- index?: number;
28
- disabled?: boolean;
29
- icon: string;
30
- label: string;
31
- name: string;
32
- }
33
- export interface DsTabProps {
34
- active?: boolean;
35
- className?: string;
36
- color?: string;
37
- content: React.ReactNode | string;
38
- disabled?: boolean;
39
- name?: string;
40
- index: number;
41
- title: React.ReactNode | string;
42
- onClick?: (index: number) => void;
43
- }