@clement_lores/admin-design-system 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (858) hide show
  1. package/.babelrc.cjs +23 -0
  2. package/.eslintrc +50 -0
  3. package/.firebaserc +17 -0
  4. package/.prettierrc +6 -0
  5. package/.releaserc +36 -0
  6. package/.storybook/main.mjs +103 -0
  7. package/.storybook/manager.mjs +49 -0
  8. package/.storybook/preview-head.html +4 -0
  9. package/.storybook/preview.mjs +53 -0
  10. package/.storybook/theme-decorator.js +27 -0
  11. package/README.md +132 -0
  12. package/build/atoms/avatar/avatar.js +44 -0
  13. package/build/atoms/avatar/avatar.stories.js +19 -0
  14. package/build/atoms/avatar/index.js +1 -0
  15. package/build/atoms/badge/badge-props.doc.md +10 -0
  16. package/build/atoms/badge/badge.doc.md +90 -0
  17. package/build/atoms/badge/badge.js +86 -0
  18. package/build/atoms/badge/badge.stories.js +91 -0
  19. package/build/atoms/badge/index.js +1 -0
  20. package/build/atoms/box/box-props.doc.md +16 -0
  21. package/build/atoms/box/box.doc.md +75 -0
  22. package/build/atoms/box/box.js +97 -0
  23. package/build/atoms/box/box.stories.js +41 -0
  24. package/build/atoms/box/index.js +1 -0
  25. package/build/atoms/button/button-css.js +193 -0
  26. package/build/atoms/button/button-props.doc.md +4 -0
  27. package/build/atoms/button/button-props.js +1 -0
  28. package/build/atoms/button/button.doc.md +103 -0
  29. package/build/atoms/button/button.js +37 -0
  30. package/build/atoms/button/button.stories.js +111 -0
  31. package/build/atoms/button/index.js +3 -0
  32. package/build/atoms/check-box/check-box.js +177 -0
  33. package/build/atoms/check-box/check-box.stories.js +54 -0
  34. package/build/atoms/check-box/index.js +1 -0
  35. package/build/atoms/currency-input/currency-input.js +63 -0
  36. package/build/atoms/currency-input/currency-input.stories.js +103 -0
  37. package/build/atoms/currency-input/index.js +1 -0
  38. package/build/atoms/icon/icon.js +134 -0
  39. package/build/atoms/icon/icon.stories.js +69 -0
  40. package/build/atoms/icon/index.js +1 -0
  41. package/build/atoms/illustration/illustration.js +71 -0
  42. package/build/atoms/illustration/illustration.stories.js +55 -0
  43. package/build/atoms/illustration/index.js +1 -0
  44. package/build/atoms/illustrations/accept.js +48 -0
  45. package/build/atoms/illustrations/adminjs-logo.js +52 -0
  46. package/build/atoms/illustrations/astronaut.js +58 -0
  47. package/build/atoms/illustrations/bag.js +90 -0
  48. package/build/atoms/illustrations/beware.js +57 -0
  49. package/build/atoms/illustrations/box.js +95 -0
  50. package/build/atoms/illustrations/calendar.js +97 -0
  51. package/build/atoms/illustrations/cancel.js +48 -0
  52. package/build/atoms/illustrations/cards.js +65 -0
  53. package/build/atoms/illustrations/clip.js +107 -0
  54. package/build/atoms/illustrations/cloud.js +58 -0
  55. package/build/atoms/illustrations/cup.js +60 -0
  56. package/build/atoms/illustrations/details.js +84 -0
  57. package/build/atoms/illustrations/docs.js +77 -0
  58. package/build/atoms/illustrations/document-check.js +66 -0
  59. package/build/atoms/illustrations/document-search.js +69 -0
  60. package/build/atoms/illustrations/drawer.js +84 -0
  61. package/build/atoms/illustrations/file-search.js +37 -0
  62. package/build/atoms/illustrations/flag-in-cog.js +97 -0
  63. package/build/atoms/illustrations/folder.js +73 -0
  64. package/build/atoms/illustrations/folders.js +74 -0
  65. package/build/atoms/illustrations/github-logo.js +26 -0
  66. package/build/atoms/illustrations/identity-card.js +93 -0
  67. package/build/atoms/illustrations/index.js +35 -0
  68. package/build/atoms/illustrations/launch.js +75 -0
  69. package/build/atoms/illustrations/moon.js +135 -0
  70. package/build/atoms/illustrations/not-found.js +80 -0
  71. package/build/atoms/illustrations/notebook.js +132 -0
  72. package/build/atoms/illustrations/padlock.js +79 -0
  73. package/build/atoms/illustrations/photos.js +65 -0
  74. package/build/atoms/illustrations/planet.js +110 -0
  75. package/build/atoms/illustrations/plug.js +80 -0
  76. package/build/atoms/illustrations/props.type.js +1 -0
  77. package/build/atoms/illustrations/rocket-new.js +113 -0
  78. package/build/atoms/illustrations/rocket.js +343 -0
  79. package/build/atoms/illustrations/slack-logo.js +52 -0
  80. package/build/atoms/illustrations/tags.js +62 -0
  81. package/build/atoms/index.js +23 -0
  82. package/build/atoms/input/index.js +1 -0
  83. package/build/atoms/input/input.js +164 -0
  84. package/build/atoms/input/input.stories.js +109 -0
  85. package/build/atoms/label/index.js +1 -0
  86. package/build/atoms/label/label.js +144 -0
  87. package/build/atoms/label/label.stories.js +61 -0
  88. package/build/atoms/link/index.js +1 -0
  89. package/build/atoms/link/link.js +118 -0
  90. package/build/atoms/link/link.stories.js +52 -0
  91. package/build/atoms/loader/index.js +1 -0
  92. package/build/atoms/loader/loader.js +83 -0
  93. package/build/atoms/loader/loader.stories.js +7 -0
  94. package/build/atoms/overlay/index.js +1 -0
  95. package/build/atoms/overlay/overlay.js +19 -0
  96. package/build/atoms/overlay/overlay.stories.js +7 -0
  97. package/build/atoms/phone-input/index.js +1 -0
  98. package/build/atoms/phone-input/phone-input.js +69 -0
  99. package/build/atoms/phone-input/phone-input.stories.js +59 -0
  100. package/build/atoms/placeholder/index.js +1 -0
  101. package/build/atoms/placeholder/placeholder.js +110 -0
  102. package/build/atoms/placeholder/placeholder.stories.js +17 -0
  103. package/build/atoms/radio/index.js +1 -0
  104. package/build/atoms/radio/radio.js +146 -0
  105. package/build/atoms/radio/radio.stories.js +42 -0
  106. package/build/atoms/section/index.js +1 -0
  107. package/build/atoms/section/section.js +45 -0
  108. package/build/atoms/section/section.stories.js +24 -0
  109. package/build/atoms/table/index.js +6 -0
  110. package/build/atoms/table/table-body.js +15 -0
  111. package/build/atoms/table/table-caption.js +39 -0
  112. package/build/atoms/table/table-cell.js +38 -0
  113. package/build/atoms/table/table-head.js +33 -0
  114. package/build/atoms/table/table-row.js +24 -0
  115. package/build/atoms/table/table.js +114 -0
  116. package/build/atoms/table/table.stories.js +46 -0
  117. package/build/atoms/tabs/index.js +2 -0
  118. package/build/atoms/tabs/tab.js +29 -0
  119. package/build/atoms/tabs/tabs.js +118 -0
  120. package/build/atoms/tabs/tabs.stories.js +26 -0
  121. package/build/atoms/text/index.js +1 -0
  122. package/build/atoms/text/text.js +77 -0
  123. package/build/atoms/text-area/index.js +1 -0
  124. package/build/atoms/text-area/text-area.js +58 -0
  125. package/build/atoms/text-area/text-area.stories.js +26 -0
  126. package/build/atoms/tooltip/index.js +5 -0
  127. package/build/atoms/tooltip/tooltip-content.js +10 -0
  128. package/build/atoms/tooltip/tooltip-control.js +102 -0
  129. package/build/atoms/tooltip/tooltip-props.js +1 -0
  130. package/build/atoms/tooltip/tooltip-styled.js +129 -0
  131. package/build/atoms/tooltip/tooltip.doc.md +61 -0
  132. package/build/atoms/tooltip/tooltip.js +65 -0
  133. package/build/atoms/tooltip/tooltip.stories.js +47 -0
  134. package/build/atoms/typography/caption-shared.js +10 -0
  135. package/build/atoms/typography/caption.js +10 -0
  136. package/build/atoms/typography/card-title.js +14 -0
  137. package/build/atoms/typography/header.doc.md +38 -0
  138. package/build/atoms/typography/header.js +128 -0
  139. package/build/atoms/typography/index.js +5 -0
  140. package/build/atoms/typography/small-text.js +10 -0
  141. package/build/atoms/typography/title.js +10 -0
  142. package/build/atoms/typography/typography.stories.js +80 -0
  143. package/build/constants.js +2 -0
  144. package/build/global.js +53 -0
  145. package/build/hooks/use-window-size.js +28 -0
  146. package/build/index.doc.md +133 -0
  147. package/build/index.js +16 -0
  148. package/build/molecules/date-picker/date-picker.js +326 -0
  149. package/build/molecules/date-picker/date-picker.stories.js +49 -0
  150. package/build/molecules/date-picker/index.js +2 -0
  151. package/build/molecules/date-picker/useDatePicker.js +37 -0
  152. package/build/molecules/drawer/drawer-content.js +22 -0
  153. package/build/molecules/drawer/drawer-footer.js +21 -0
  154. package/build/molecules/drawer/drawer.js +120 -0
  155. package/build/molecules/drawer/drawer.stories.js +39 -0
  156. package/build/molecules/drawer/index.js +3 -0
  157. package/build/molecules/drop-down/drop-down-item-action.js +19 -0
  158. package/build/molecules/drop-down/drop-down-item.js +95 -0
  159. package/build/molecules/drop-down/drop-down-menu.js +45 -0
  160. package/build/molecules/drop-down/drop-down-trigger.js +11 -0
  161. package/build/molecules/drop-down/drop-down.doc.md +74 -0
  162. package/build/molecules/drop-down/drop-down.js +85 -0
  163. package/build/molecules/drop-down/drop-down.stories.js +66 -0
  164. package/build/molecules/drop-down/index.js +5 -0
  165. package/build/molecules/drop-zone/drop-zone-image.js +46 -0
  166. package/build/molecules/drop-zone/drop-zone-item.js +128 -0
  167. package/build/molecules/drop-zone/drop-zone.js +318 -0
  168. package/build/molecules/drop-zone/drop-zone.stories.js +111 -0
  169. package/build/molecules/drop-zone/index.js +2 -0
  170. package/build/molecules/form-group/form-group.js +184 -0
  171. package/build/molecules/form-group/form-group.stories.js +35 -0
  172. package/build/molecules/form-group/form-message.js +23 -0
  173. package/build/molecules/form-group/index.js +3 -0
  174. package/build/molecules/form-group/input-group.js +68 -0
  175. package/build/molecules/index.js +15 -0
  176. package/build/molecules/info-box/index.js +1 -0
  177. package/build/molecules/info-box/info-box.js +70 -0
  178. package/build/molecules/info-box/info-box.stories.js +17 -0
  179. package/build/molecules/message-box/index.js +1 -0
  180. package/build/molecules/message-box/message-box.js +173 -0
  181. package/build/molecules/message-box/message-box.stories.js +43 -0
  182. package/build/molecules/modal/index.js +4 -0
  183. package/build/molecules/modal/modal-inline.js +63 -0
  184. package/build/molecules/modal/modal-props.js +1 -0
  185. package/build/molecules/modal/modal-styled.js +52 -0
  186. package/build/molecules/modal/modal-wrapper.js +33 -0
  187. package/build/molecules/modal/modal.doc.md +138 -0
  188. package/build/molecules/modal/modal.js +17 -0
  189. package/build/molecules/modal/modal.stories.js +79 -0
  190. package/build/molecules/navigation-element/index.js +3 -0
  191. package/build/molecules/navigation-element/navigation-element-props.js +1 -0
  192. package/build/molecules/navigation-element/navigation-element-styled.js +66 -0
  193. package/build/molecules/navigation-element/navigation-element.doc.md +69 -0
  194. package/build/molecules/navigation-element/navigation-element.js +61 -0
  195. package/build/molecules/navigation-element/navigation-element.stories.js +53 -0
  196. package/build/molecules/pagination/index.js +1 -0
  197. package/build/molecules/pagination/pagination.js +141 -0
  198. package/build/molecules/pagination/pagination.stories.js +22 -0
  199. package/build/molecules/rich-text-editor/components/heading-select.js +29 -0
  200. package/build/molecules/rich-text-editor/components/image-button.js +45 -0
  201. package/build/molecules/rich-text-editor/components/menu-bar.js +32 -0
  202. package/build/molecules/rich-text-editor/components/menu-button.js +37 -0
  203. package/build/molecules/rich-text-editor/icons/align-center.js +12 -0
  204. package/build/molecules/rich-text-editor/icons/align-justify.js +12 -0
  205. package/build/molecules/rich-text-editor/icons/align-left.js +12 -0
  206. package/build/molecules/rich-text-editor/icons/align-right.js +12 -0
  207. package/build/molecules/rich-text-editor/icons/bold.js +12 -0
  208. package/build/molecules/rich-text-editor/icons/bullet-list.js +12 -0
  209. package/build/molecules/rich-text-editor/icons/clear.js +12 -0
  210. package/build/molecules/rich-text-editor/icons/code.js +18 -0
  211. package/build/molecules/rich-text-editor/icons/font-size.js +12 -0
  212. package/build/molecules/rich-text-editor/icons/image.js +18 -0
  213. package/build/molecules/rich-text-editor/icons/index.js +20 -0
  214. package/build/molecules/rich-text-editor/icons/italic.js +12 -0
  215. package/build/molecules/rich-text-editor/icons/link.js +15 -0
  216. package/build/molecules/rich-text-editor/icons/ordered-list.js +12 -0
  217. package/build/molecules/rich-text-editor/icons/pagebreak.js +12 -0
  218. package/build/molecules/rich-text-editor/icons/paragraph.js +12 -0
  219. package/build/molecules/rich-text-editor/icons/quote.js +12 -0
  220. package/build/molecules/rich-text-editor/icons/redo.js +12 -0
  221. package/build/molecules/rich-text-editor/icons/strikethrough.js +12 -0
  222. package/build/molecules/rich-text-editor/icons/undo.js +12 -0
  223. package/build/molecules/rich-text-editor/index.js +2 -0
  224. package/build/molecules/rich-text-editor/rich-text-editor-props.js +1 -0
  225. package/build/molecules/rich-text-editor/rich-text-editor.js +60 -0
  226. package/build/molecules/rich-text-editor/rich-text-editor.stories.js +85 -0
  227. package/build/molecules/rich-text-editor/rich-text-editor.styled.js +46 -0
  228. package/build/molecules/rich-text-editor/useTiptapCommands.js +15 -0
  229. package/build/molecules/select/index.js +2 -0
  230. package/build/molecules/select/select-async.js +43 -0
  231. package/build/molecules/select/select-theme.js +36 -0
  232. package/build/molecules/select/select.js +45 -0
  233. package/build/molecules/select/select.stories.js +80 -0
  234. package/build/molecules/stepper/index.js +2 -0
  235. package/build/molecules/stepper/step.js +141 -0
  236. package/build/molecules/stepper/stepper.js +115 -0
  237. package/build/molecules/stepper/stepper.stories.js +54 -0
  238. package/build/molecules/tinymce-editor/index.js +1 -0
  239. package/build/molecules/tinymce-editor/tinymce-editor.js +89 -0
  240. package/build/molecules/tinymce-editor/tinymce-editor.styled.js +15 -0
  241. package/build/molecules/value-group/index.js +2 -0
  242. package/build/molecules/value-group/value-group-props.js +1 -0
  243. package/build/molecules/value-group/value-group.doc.md +67 -0
  244. package/build/molecules/value-group/value-group.js +28 -0
  245. package/build/molecules/value-group/value-group.stories.js +41 -0
  246. package/build/organisms/button-group/button-group.doc.md +92 -0
  247. package/build/organisms/button-group/button-group.js +34 -0
  248. package/build/organisms/button-group/button-group.stories.js +103 -0
  249. package/build/organisms/button-group/button-group.styled.js +54 -0
  250. package/build/organisms/button-group/button-group.types.js +1 -0
  251. package/build/organisms/button-group/button-in-group.js +25 -0
  252. package/build/organisms/button-group/drop-down-item-with-buttons.js +45 -0
  253. package/build/organisms/button-group/index.js +6 -0
  254. package/build/organisms/button-group/single-button-in-group.js +39 -0
  255. package/build/organisms/current-user-nav/current-user-nav-props.js +1 -0
  256. package/build/organisms/current-user-nav/current-user-nav-styled.js +27 -0
  257. package/build/organisms/current-user-nav/current-user-nav.doc.md +72 -0
  258. package/build/organisms/current-user-nav/current-user-nav.js +68 -0
  259. package/build/organisms/current-user-nav/current-user-nav.stories.js +74 -0
  260. package/build/organisms/current-user-nav/index.js +3 -0
  261. package/build/organisms/index.js +4 -0
  262. package/build/organisms/made-with-love/index.js +1 -0
  263. package/build/organisms/made-with-love/made-with-love.js +43 -0
  264. package/build/organisms/made-with-love/made-with-love.stories.js +7 -0
  265. package/build/organisms/navigation/index.js +4 -0
  266. package/build/organisms/navigation/navigation-element-wrapper.js +14 -0
  267. package/build/organisms/navigation/navigation-props.js +1 -0
  268. package/build/organisms/navigation/navigation-styled.js +14 -0
  269. package/build/organisms/navigation/navigation.doc.md +126 -0
  270. package/build/organisms/navigation/navigation.js +34 -0
  271. package/build/organisms/navigation/navigation.stories.js +110 -0
  272. package/build/templates/blog.js +0 -0
  273. package/build/templates/blog.stories.js +52 -0
  274. package/build/theme.doc.md +111 -0
  275. package/build/theme.js +532 -0
  276. package/build/utils/assert.js +7 -0
  277. package/build/utils/color-props.js +1 -0
  278. package/build/utils/combine-styles.js +28 -0
  279. package/build/utils/content-styles.js +268 -0
  280. package/build/utils/css-class.js +35 -0
  281. package/build/utils/date-utils.js +50 -0
  282. package/build/utils/datepicker.styles.js +788 -0
  283. package/build/utils/default-theme.interface.js +1 -0
  284. package/build/utils/direction-props.js +1 -0
  285. package/build/utils/focus-shadow.style.js +6 -0
  286. package/build/utils/generate-id.js +8 -0
  287. package/build/utils/human-file-size.js +23 -0
  288. package/build/utils/index.js +13 -0
  289. package/build/utils/non-nullish-partial-record.type.js +1 -0
  290. package/build/utils/phone-input.styles.js +1168 -0
  291. package/build/utils/portal-utils.js +31 -0
  292. package/build/utils/reset.styles.js +94 -0
  293. package/build/utils/select-styles.js +47 -0
  294. package/build/utils/story-wrapper.js +22 -0
  295. package/build/utils/styled.js +6 -0
  296. package/build/utils/theme-get.js +51 -0
  297. package/commitlint.config.cjs +5 -0
  298. package/config/rollup.js +70 -0
  299. package/entry.js +11 -0
  300. package/firebase.json +17 -0
  301. package/package.json +171 -0
  302. package/src/atoms/avatar/avatar.stories.tsx +28 -0
  303. package/src/atoms/avatar/avatar.tsx +44 -0
  304. package/src/atoms/avatar/index.ts +1 -0
  305. package/src/atoms/badge/badge-props.doc.md +10 -0
  306. package/src/atoms/badge/badge.doc.md +90 -0
  307. package/src/atoms/badge/badge.stories.tsx +90 -0
  308. package/src/atoms/badge/badge.tsx +99 -0
  309. package/src/atoms/badge/index.ts +1 -0
  310. package/src/atoms/box/box-props.doc.md +16 -0
  311. package/src/atoms/box/box.doc.md +75 -0
  312. package/src/atoms/box/box.stories.tsx +47 -0
  313. package/src/atoms/box/box.tsx +131 -0
  314. package/src/atoms/box/index.ts +1 -0
  315. package/src/atoms/button/button-css.tsx +196 -0
  316. package/src/atoms/button/button-props.doc.md +4 -0
  317. package/src/atoms/button/button-props.ts +43 -0
  318. package/src/atoms/button/button.doc.md +103 -0
  319. package/src/atoms/button/button.stories.tsx +113 -0
  320. package/src/atoms/button/button.tsx +39 -0
  321. package/src/atoms/button/index.ts +3 -0
  322. package/src/atoms/check-box/check-box.stories.tsx +46 -0
  323. package/src/atoms/check-box/check-box.tsx +169 -0
  324. package/src/atoms/check-box/index.ts +1 -0
  325. package/src/atoms/currency-input/currency-input.stories.tsx +77 -0
  326. package/src/atoms/currency-input/currency-input.tsx +74 -0
  327. package/src/atoms/currency-input/index.ts +1 -0
  328. package/src/atoms/icon/icon.stories.tsx +46 -0
  329. package/src/atoms/icon/icon.tsx +155 -0
  330. package/src/atoms/icon/index.ts +1 -0
  331. package/src/atoms/illustration/illustration.stories.tsx +39 -0
  332. package/src/atoms/illustration/illustration.tsx +84 -0
  333. package/src/atoms/illustration/index.ts +1 -0
  334. package/src/atoms/illustrations/accept.tsx +17 -0
  335. package/src/atoms/illustrations/adminjs-logo.tsx +37 -0
  336. package/src/atoms/illustrations/astronaut.tsx +22 -0
  337. package/src/atoms/illustrations/bag.tsx +25 -0
  338. package/src/atoms/illustrations/beware.tsx +18 -0
  339. package/src/atoms/illustrations/box.tsx +25 -0
  340. package/src/atoms/illustrations/calendar.tsx +24 -0
  341. package/src/atoms/illustrations/cancel.tsx +17 -0
  342. package/src/atoms/illustrations/cards.tsx +20 -0
  343. package/src/atoms/illustrations/clip.tsx +28 -0
  344. package/src/atoms/illustrations/cloud.tsx +22 -0
  345. package/src/atoms/illustrations/cup.tsx +20 -0
  346. package/src/atoms/illustrations/details.tsx +24 -0
  347. package/src/atoms/illustrations/docs.tsx +25 -0
  348. package/src/atoms/illustrations/document-check.tsx +22 -0
  349. package/src/atoms/illustrations/document-search.tsx +22 -0
  350. package/src/atoms/illustrations/drawer.tsx +26 -0
  351. package/src/atoms/illustrations/file-search.tsx +18 -0
  352. package/src/atoms/illustrations/flag-in-cog.tsx +26 -0
  353. package/src/atoms/illustrations/folder.tsx +24 -0
  354. package/src/atoms/illustrations/folders.tsx +22 -0
  355. package/src/atoms/illustrations/github-logo.tsx +15 -0
  356. package/src/atoms/illustrations/identity-card.tsx +28 -0
  357. package/src/atoms/illustrations/index.ts +35 -0
  358. package/src/atoms/illustrations/launch.tsx +24 -0
  359. package/src/atoms/illustrations/moon.tsx +42 -0
  360. package/src/atoms/illustrations/not-found.tsx +24 -0
  361. package/src/atoms/illustrations/notebook.tsx +32 -0
  362. package/src/atoms/illustrations/padlock.tsx +24 -0
  363. package/src/atoms/illustrations/photos.tsx +19 -0
  364. package/src/atoms/illustrations/planet.tsx +28 -0
  365. package/src/atoms/illustrations/plug.tsx +23 -0
  366. package/src/atoms/illustrations/props.type.ts +7 -0
  367. package/src/atoms/illustrations/rocket-new.tsx +30 -0
  368. package/src/atoms/illustrations/rocket.tsx +90 -0
  369. package/src/atoms/illustrations/slack-logo.tsx +29 -0
  370. package/src/atoms/illustrations/tags.tsx +20 -0
  371. package/src/atoms/index.ts +23 -0
  372. package/src/atoms/input/index.ts +1 -0
  373. package/src/atoms/input/input.stories.tsx +77 -0
  374. package/src/atoms/input/input.tsx +146 -0
  375. package/src/atoms/label/index.ts +1 -0
  376. package/src/atoms/label/label.stories.tsx +42 -0
  377. package/src/atoms/label/label.tsx +163 -0
  378. package/src/atoms/link/index.ts +1 -0
  379. package/src/atoms/link/link.stories.tsx +45 -0
  380. package/src/atoms/link/link.tsx +128 -0
  381. package/src/atoms/loader/index.ts +1 -0
  382. package/src/atoms/loader/loader.stories.tsx +12 -0
  383. package/src/atoms/loader/loader.tsx +91 -0
  384. package/src/atoms/overlay/index.ts +1 -0
  385. package/src/atoms/overlay/overlay.stories.tsx +12 -0
  386. package/src/atoms/overlay/overlay.tsx +24 -0
  387. package/src/atoms/phone-input/index.ts +1 -0
  388. package/src/atoms/phone-input/phone-input.stories.tsx +47 -0
  389. package/src/atoms/phone-input/phone-input.tsx +79 -0
  390. package/src/atoms/placeholder/index.ts +1 -0
  391. package/src/atoms/placeholder/placeholder.stories.tsx +25 -0
  392. package/src/atoms/placeholder/placeholder.tsx +105 -0
  393. package/src/atoms/radio/index.ts +1 -0
  394. package/src/atoms/radio/radio.stories.tsx +35 -0
  395. package/src/atoms/radio/radio.tsx +142 -0
  396. package/src/atoms/section/index.ts +1 -0
  397. package/src/atoms/section/section.stories.tsx +35 -0
  398. package/src/atoms/section/section.tsx +47 -0
  399. package/src/atoms/table/index.ts +6 -0
  400. package/src/atoms/table/table-body.tsx +19 -0
  401. package/src/atoms/table/table-caption.tsx +43 -0
  402. package/src/atoms/table/table-cell.tsx +35 -0
  403. package/src/atoms/table/table-head.tsx +31 -0
  404. package/src/atoms/table/table-row.tsx +26 -0
  405. package/src/atoms/table/table.stories.tsx +76 -0
  406. package/src/atoms/table/table.tsx +110 -0
  407. package/src/atoms/tabs/index.ts +2 -0
  408. package/src/atoms/tabs/tab.tsx +38 -0
  409. package/src/atoms/tabs/tabs.stories.tsx +30 -0
  410. package/src/atoms/tabs/tabs.tsx +165 -0
  411. package/src/atoms/text/index.ts +1 -0
  412. package/src/atoms/text/text.tsx +98 -0
  413. package/src/atoms/text-area/index.ts +1 -0
  414. package/src/atoms/text-area/text-area.stories.tsx +24 -0
  415. package/src/atoms/text-area/text-area.tsx +63 -0
  416. package/src/atoms/tooltip/index.ts +5 -0
  417. package/src/atoms/tooltip/tooltip-content.tsx +13 -0
  418. package/src/atoms/tooltip/tooltip-control.tsx +118 -0
  419. package/src/atoms/tooltip/tooltip-props.ts +30 -0
  420. package/src/atoms/tooltip/tooltip-styled.tsx +138 -0
  421. package/src/atoms/tooltip/tooltip.doc.md +61 -0
  422. package/src/atoms/tooltip/tooltip.stories.tsx +53 -0
  423. package/src/atoms/tooltip/tooltip.tsx +77 -0
  424. package/src/atoms/typography/caption-shared.ts +13 -0
  425. package/src/atoms/typography/caption.ts +15 -0
  426. package/src/atoms/typography/card-title.ts +19 -0
  427. package/src/atoms/typography/header.doc.md +38 -0
  428. package/src/atoms/typography/header.tsx +128 -0
  429. package/src/atoms/typography/index.ts +5 -0
  430. package/src/atoms/typography/small-text.ts +15 -0
  431. package/src/atoms/typography/title.ts +15 -0
  432. package/src/atoms/typography/typography.stories.tsx +259 -0
  433. package/src/constants.ts +2 -0
  434. package/src/global.ts +53 -0
  435. package/src/hooks/use-window-size.ts +36 -0
  436. package/src/index.doc.md +133 -0
  437. package/src/index.ts +20 -0
  438. package/src/molecules/date-picker/date-picker.stories.tsx +48 -0
  439. package/src/molecules/date-picker/date-picker.tsx +329 -0
  440. package/src/molecules/date-picker/index.ts +2 -0
  441. package/src/molecules/date-picker/useDatePicker.ts +45 -0
  442. package/src/molecules/drawer/drawer-content.tsx +18 -0
  443. package/src/molecules/drawer/drawer-footer.tsx +19 -0
  444. package/src/molecules/drawer/drawer.stories.tsx +55 -0
  445. package/src/molecules/drawer/drawer.tsx +127 -0
  446. package/src/molecules/drawer/index.ts +3 -0
  447. package/src/molecules/drop-down/drop-down-item-action.tsx +20 -0
  448. package/src/molecules/drop-down/drop-down-item.tsx +95 -0
  449. package/src/molecules/drop-down/drop-down-menu.tsx +45 -0
  450. package/src/molecules/drop-down/drop-down-trigger.tsx +12 -0
  451. package/src/molecules/drop-down/drop-down.doc.md +74 -0
  452. package/src/molecules/drop-down/drop-down.stories.tsx +82 -0
  453. package/src/molecules/drop-down/drop-down.tsx +99 -0
  454. package/src/molecules/drop-down/index.ts +5 -0
  455. package/src/molecules/drop-zone/drop-zone-image.tsx +15 -0
  456. package/src/molecules/drop-zone/drop-zone-item.tsx +126 -0
  457. package/src/molecules/drop-zone/drop-zone.stories.tsx +94 -0
  458. package/src/molecules/drop-zone/drop-zone.tsx +374 -0
  459. package/src/molecules/drop-zone/index.ts +2 -0
  460. package/src/molecules/form-group/form-group.stories.tsx +62 -0
  461. package/src/molecules/form-group/form-group.tsx +170 -0
  462. package/src/molecules/form-group/form-message.tsx +20 -0
  463. package/src/molecules/form-group/index.ts +3 -0
  464. package/src/molecules/form-group/input-group.tsx +59 -0
  465. package/src/molecules/index.ts +15 -0
  466. package/src/molecules/info-box/index.ts +1 -0
  467. package/src/molecules/info-box/info-box.stories.tsx +23 -0
  468. package/src/molecules/info-box/info-box.tsx +78 -0
  469. package/src/molecules/message-box/index.ts +1 -0
  470. package/src/molecules/message-box/message-box.stories.tsx +35 -0
  471. package/src/molecules/message-box/message-box.tsx +185 -0
  472. package/src/molecules/modal/index.ts +4 -0
  473. package/src/molecules/modal/modal-inline.tsx +53 -0
  474. package/src/molecules/modal/modal-props.ts +43 -0
  475. package/src/molecules/modal/modal-styled.tsx +60 -0
  476. package/src/molecules/modal/modal-wrapper.tsx +37 -0
  477. package/src/molecules/modal/modal.doc.md +138 -0
  478. package/src/molecules/modal/modal.stories.tsx +67 -0
  479. package/src/molecules/modal/modal.tsx +24 -0
  480. package/src/molecules/navigation-element/index.ts +3 -0
  481. package/src/molecules/navigation-element/navigation-element-props.ts +43 -0
  482. package/src/molecules/navigation-element/navigation-element-styled.ts +57 -0
  483. package/src/molecules/navigation-element/navigation-element.doc.md +69 -0
  484. package/src/molecules/navigation-element/navigation-element.stories.tsx +42 -0
  485. package/src/molecules/navigation-element/navigation-element.tsx +65 -0
  486. package/src/molecules/pagination/index.ts +1 -0
  487. package/src/molecules/pagination/pagination.stories.tsx +25 -0
  488. package/src/molecules/pagination/pagination.tsx +182 -0
  489. package/src/molecules/rich-text-editor/components/heading-select.tsx +42 -0
  490. package/src/molecules/rich-text-editor/components/image-button.tsx +49 -0
  491. package/src/molecules/rich-text-editor/components/menu-bar.tsx +31 -0
  492. package/src/molecules/rich-text-editor/components/menu-button.tsx +44 -0
  493. package/src/molecules/rich-text-editor/icons/align-center.tsx +17 -0
  494. package/src/molecules/rich-text-editor/icons/align-justify.tsx +17 -0
  495. package/src/molecules/rich-text-editor/icons/align-left.tsx +17 -0
  496. package/src/molecules/rich-text-editor/icons/align-right.tsx +17 -0
  497. package/src/molecules/rich-text-editor/icons/bold.tsx +17 -0
  498. package/src/molecules/rich-text-editor/icons/bullet-list.tsx +17 -0
  499. package/src/molecules/rich-text-editor/icons/clear.tsx +17 -0
  500. package/src/molecules/rich-text-editor/icons/code.tsx +16 -0
  501. package/src/molecules/rich-text-editor/icons/font-size.tsx +14 -0
  502. package/src/molecules/rich-text-editor/icons/image.tsx +22 -0
  503. package/src/molecules/rich-text-editor/icons/index.ts +20 -0
  504. package/src/molecules/rich-text-editor/icons/italic.tsx +14 -0
  505. package/src/molecules/rich-text-editor/icons/link.tsx +21 -0
  506. package/src/molecules/rich-text-editor/icons/ordered-list.tsx +17 -0
  507. package/src/molecules/rich-text-editor/icons/pagebreak.tsx +17 -0
  508. package/src/molecules/rich-text-editor/icons/paragraph.tsx +14 -0
  509. package/src/molecules/rich-text-editor/icons/quote.tsx +17 -0
  510. package/src/molecules/rich-text-editor/icons/redo.tsx +17 -0
  511. package/src/molecules/rich-text-editor/icons/strikethrough.tsx +17 -0
  512. package/src/molecules/rich-text-editor/icons/undo.tsx +17 -0
  513. package/src/molecules/rich-text-editor/index.ts +2 -0
  514. package/src/molecules/rich-text-editor/rich-text-editor-props.ts +1 -0
  515. package/src/molecules/rich-text-editor/rich-text-editor.stories.tsx +88 -0
  516. package/src/molecules/rich-text-editor/rich-text-editor.styled.tsx +52 -0
  517. package/src/molecules/rich-text-editor/rich-text-editor.tsx +81 -0
  518. package/src/molecules/rich-text-editor/useTiptapCommands.ts +50 -0
  519. package/src/molecules/select/index.ts +2 -0
  520. package/src/molecules/select/select-async.tsx +51 -0
  521. package/src/molecules/select/select-theme.ts +41 -0
  522. package/src/molecules/select/select.stories.tsx +77 -0
  523. package/src/molecules/select/select.tsx +51 -0
  524. package/src/molecules/stepper/index.ts +2 -0
  525. package/src/molecules/stepper/step.tsx +162 -0
  526. package/src/molecules/stepper/stepper.stories.tsx +76 -0
  527. package/src/molecules/stepper/stepper.tsx +118 -0
  528. package/src/molecules/tinymce-editor/index.ts +1 -0
  529. package/src/molecules/tinymce-editor/tinymce-editor.styled.tsx +22 -0
  530. package/src/molecules/tinymce-editor/tinymce-editor.tsx +110 -0
  531. package/src/molecules/value-group/index.ts +2 -0
  532. package/src/molecules/value-group/value-group-props.ts +16 -0
  533. package/src/molecules/value-group/value-group.doc.md +67 -0
  534. package/src/molecules/value-group/value-group.stories.tsx +48 -0
  535. package/src/molecules/value-group/value-group.tsx +32 -0
  536. package/src/organisms/button-group/button-group.doc.md +92 -0
  537. package/src/organisms/button-group/button-group.stories.tsx +112 -0
  538. package/src/organisms/button-group/button-group.styled.tsx +61 -0
  539. package/src/organisms/button-group/button-group.tsx +41 -0
  540. package/src/organisms/button-group/button-group.types.ts +61 -0
  541. package/src/organisms/button-group/button-in-group.tsx +38 -0
  542. package/src/organisms/button-group/drop-down-item-with-buttons.tsx +56 -0
  543. package/src/organisms/button-group/index.ts +6 -0
  544. package/src/organisms/button-group/single-button-in-group.tsx +42 -0
  545. package/src/organisms/current-user-nav/current-user-nav-props.ts +39 -0
  546. package/src/organisms/current-user-nav/current-user-nav-styled.ts +31 -0
  547. package/src/organisms/current-user-nav/current-user-nav.doc.md +72 -0
  548. package/src/organisms/current-user-nav/current-user-nav.stories.tsx +53 -0
  549. package/src/organisms/current-user-nav/current-user-nav.tsx +72 -0
  550. package/src/organisms/current-user-nav/index.ts +3 -0
  551. package/src/organisms/index.ts +4 -0
  552. package/src/organisms/made-with-love/index.ts +1 -0
  553. package/src/organisms/made-with-love/made-with-love.stories.tsx +12 -0
  554. package/src/organisms/made-with-love/made-with-love.tsx +50 -0
  555. package/src/organisms/navigation/index.ts +4 -0
  556. package/src/organisms/navigation/navigation-element-wrapper.tsx +27 -0
  557. package/src/organisms/navigation/navigation-props.ts +26 -0
  558. package/src/organisms/navigation/navigation-styled.tsx +17 -0
  559. package/src/organisms/navigation/navigation.doc.md +126 -0
  560. package/src/organisms/navigation/navigation.stories.tsx +124 -0
  561. package/src/organisms/navigation/navigation.tsx +34 -0
  562. package/src/templates/blog.stories.tsx +69 -0
  563. package/src/templates/blog.tsx +0 -0
  564. package/src/theme.doc.md +111 -0
  565. package/src/theme.ts +554 -0
  566. package/src/utils/assert.ts +8 -0
  567. package/src/utils/color-props.ts +7 -0
  568. package/src/utils/combine-styles.ts +35 -0
  569. package/src/utils/content-styles.ts +268 -0
  570. package/src/utils/css-class.ts +37 -0
  571. package/src/utils/date-utils.ts +60 -0
  572. package/src/utils/datepicker.styles.ts +790 -0
  573. package/src/utils/default-theme.interface.ts +30 -0
  574. package/src/utils/direction-props.ts +1 -0
  575. package/src/utils/focus-shadow.style.ts +8 -0
  576. package/src/utils/generate-id.ts +10 -0
  577. package/src/utils/human-file-size.ts +30 -0
  578. package/src/utils/index.ts +14 -0
  579. package/src/utils/non-nullish-partial-record.type.ts +13 -0
  580. package/src/utils/phone-input.styles.ts +1170 -0
  581. package/src/utils/portal-utils.tsx +45 -0
  582. package/src/utils/reset.styles.ts +98 -0
  583. package/src/utils/select-styles.ts +52 -0
  584. package/src/utils/story-wrapper.tsx +23 -0
  585. package/src/utils/styled.ts +7 -0
  586. package/src/utils/theme-get.ts +57 -0
  587. package/tsconfig.json +36 -0
  588. package/types/src/atoms/avatar/avatar.d.ts +10 -0
  589. package/types/src/atoms/avatar/avatar.stories.d.ts +6 -0
  590. package/types/src/atoms/avatar/index.d.ts +1 -0
  591. package/types/src/atoms/badge/badge.d.ts +51 -0
  592. package/types/src/atoms/badge/badge.stories.d.ts +6 -0
  593. package/types/src/atoms/badge/index.d.ts +1 -0
  594. package/types/src/atoms/box/box.d.ts +47 -0
  595. package/types/src/atoms/box/box.stories.d.ts +7 -0
  596. package/types/src/atoms/box/index.d.ts +1 -0
  597. package/types/src/atoms/button/button-css.d.ts +18 -0
  598. package/types/src/atoms/button/button-props.d.ts +38 -0
  599. package/types/src/atoms/button/button.d.ts +25 -0
  600. package/types/src/atoms/button/button.stories.d.ts +6 -0
  601. package/types/src/atoms/button/index.d.ts +3 -0
  602. package/types/src/atoms/check-box/check-box.d.ts +39 -0
  603. package/types/src/atoms/check-box/check-box.stories.d.ts +6 -0
  604. package/types/src/atoms/check-box/index.d.ts +1 -0
  605. package/types/src/atoms/currency-input/currency-input.d.ts +74 -0
  606. package/types/src/atoms/currency-input/currency-input.stories.d.ts +6 -0
  607. package/types/src/atoms/currency-input/index.d.ts +1 -0
  608. package/types/src/atoms/icon/icon.d.ts +93 -0
  609. package/types/src/atoms/icon/icon.stories.d.ts +6 -0
  610. package/types/src/atoms/icon/index.d.ts +1 -0
  611. package/types/src/atoms/illustration/illustration.d.ts +52 -0
  612. package/types/src/atoms/illustration/illustration.stories.d.ts +6 -0
  613. package/types/src/atoms/illustration/index.d.ts +1 -0
  614. package/types/src/atoms/illustrations/accept.d.ts +4 -0
  615. package/types/src/atoms/illustrations/adminjs-logo.d.ts +4 -0
  616. package/types/src/atoms/illustrations/astronaut.d.ts +4 -0
  617. package/types/src/atoms/illustrations/bag.d.ts +4 -0
  618. package/types/src/atoms/illustrations/beware.d.ts +4 -0
  619. package/types/src/atoms/illustrations/box.d.ts +4 -0
  620. package/types/src/atoms/illustrations/calendar.d.ts +4 -0
  621. package/types/src/atoms/illustrations/cancel.d.ts +4 -0
  622. package/types/src/atoms/illustrations/cards.d.ts +4 -0
  623. package/types/src/atoms/illustrations/clip.d.ts +4 -0
  624. package/types/src/atoms/illustrations/cloud.d.ts +4 -0
  625. package/types/src/atoms/illustrations/cup.d.ts +4 -0
  626. package/types/src/atoms/illustrations/details.d.ts +4 -0
  627. package/types/src/atoms/illustrations/docs.d.ts +4 -0
  628. package/types/src/atoms/illustrations/document-check.d.ts +4 -0
  629. package/types/src/atoms/illustrations/document-search.d.ts +4 -0
  630. package/types/src/atoms/illustrations/drawer.d.ts +4 -0
  631. package/types/src/atoms/illustrations/file-search.d.ts +4 -0
  632. package/types/src/atoms/illustrations/flag-in-cog.d.ts +4 -0
  633. package/types/src/atoms/illustrations/folder.d.ts +4 -0
  634. package/types/src/atoms/illustrations/folders.d.ts +4 -0
  635. package/types/src/atoms/illustrations/github-logo.d.ts +4 -0
  636. package/types/src/atoms/illustrations/identity-card.d.ts +4 -0
  637. package/types/src/atoms/illustrations/index.d.ts +35 -0
  638. package/types/src/atoms/illustrations/launch.d.ts +4 -0
  639. package/types/src/atoms/illustrations/moon.d.ts +4 -0
  640. package/types/src/atoms/illustrations/not-found.d.ts +4 -0
  641. package/types/src/atoms/illustrations/notebook.d.ts +4 -0
  642. package/types/src/atoms/illustrations/padlock.d.ts +4 -0
  643. package/types/src/atoms/illustrations/photos.d.ts +4 -0
  644. package/types/src/atoms/illustrations/planet.d.ts +4 -0
  645. package/types/src/atoms/illustrations/plug.d.ts +4 -0
  646. package/types/src/atoms/illustrations/props.type.d.ts +6 -0
  647. package/types/src/atoms/illustrations/rocket-new.d.ts +4 -0
  648. package/types/src/atoms/illustrations/rocket.d.ts +4 -0
  649. package/types/src/atoms/illustrations/slack-logo.d.ts +4 -0
  650. package/types/src/atoms/illustrations/tags.d.ts +4 -0
  651. package/types/src/atoms/index.d.ts +23 -0
  652. package/types/src/atoms/input/index.d.ts +1 -0
  653. package/types/src/atoms/input/input.d.ts +63 -0
  654. package/types/src/atoms/input/input.stories.d.ts +6 -0
  655. package/types/src/atoms/label/index.d.ts +1 -0
  656. package/types/src/atoms/label/label.d.ts +79 -0
  657. package/types/src/atoms/label/label.stories.d.ts +5 -0
  658. package/types/src/atoms/link/index.d.ts +1 -0
  659. package/types/src/atoms/link/link.d.ts +74 -0
  660. package/types/src/atoms/link/link.stories.d.ts +5 -0
  661. package/types/src/atoms/loader/index.d.ts +1 -0
  662. package/types/src/atoms/loader/loader.d.ts +27 -0
  663. package/types/src/atoms/loader/loader.stories.d.ts +5 -0
  664. package/types/src/atoms/overlay/index.d.ts +1 -0
  665. package/types/src/atoms/overlay/overlay.d.ts +3 -0
  666. package/types/src/atoms/overlay/overlay.stories.d.ts +5 -0
  667. package/types/src/atoms/phone-input/index.d.ts +1 -0
  668. package/types/src/atoms/phone-input/phone-input.d.ts +47 -0
  669. package/types/src/atoms/phone-input/phone-input.stories.d.ts +6 -0
  670. package/types/src/atoms/placeholder/index.d.ts +1 -0
  671. package/types/src/atoms/placeholder/placeholder.d.ts +52 -0
  672. package/types/src/atoms/placeholder/placeholder.stories.d.ts +6 -0
  673. package/types/src/atoms/radio/index.d.ts +1 -0
  674. package/types/src/atoms/radio/radio.d.ts +40 -0
  675. package/types/src/atoms/radio/radio.stories.d.ts +5 -0
  676. package/types/src/atoms/section/index.d.ts +1 -0
  677. package/types/src/atoms/section/section.d.ts +31 -0
  678. package/types/src/atoms/section/section.stories.d.ts +5 -0
  679. package/types/src/atoms/table/index.d.ts +6 -0
  680. package/types/src/atoms/table/table-body.d.ts +6 -0
  681. package/types/src/atoms/table/table-caption.d.ts +6 -0
  682. package/types/src/atoms/table/table-cell.d.ts +9 -0
  683. package/types/src/atoms/table/table-head.d.ts +6 -0
  684. package/types/src/atoms/table/table-row.d.ts +6 -0
  685. package/types/src/atoms/table/table.d.ts +90 -0
  686. package/types/src/atoms/table/table.stories.d.ts +7 -0
  687. package/types/src/atoms/tabs/index.d.ts +2 -0
  688. package/types/src/atoms/tabs/tab.d.ts +17 -0
  689. package/types/src/atoms/tabs/tabs.d.ts +49 -0
  690. package/types/src/atoms/tabs/tabs.stories.d.ts +5 -0
  691. package/types/src/atoms/text/index.d.ts +1 -0
  692. package/types/src/atoms/text/text.d.ts +62 -0
  693. package/types/src/atoms/text-area/index.d.ts +1 -0
  694. package/types/src/atoms/text-area/text-area.d.ts +46 -0
  695. package/types/src/atoms/text-area/text-area.stories.d.ts +5 -0
  696. package/types/src/atoms/tooltip/index.d.ts +5 -0
  697. package/types/src/atoms/tooltip/tooltip-content.d.ts +16 -0
  698. package/types/src/atoms/tooltip/tooltip-control.d.ts +9 -0
  699. package/types/src/atoms/tooltip/tooltip-props.d.ts +25 -0
  700. package/types/src/atoms/tooltip/tooltip-styled.d.ts +3 -0
  701. package/types/src/atoms/tooltip/tooltip.d.ts +12 -0
  702. package/types/src/atoms/tooltip/tooltip.stories.d.ts +5 -0
  703. package/types/src/atoms/typography/caption-shared.d.ts +3 -0
  704. package/types/src/atoms/typography/caption.d.ts +3 -0
  705. package/types/src/atoms/typography/card-title.d.ts +3 -0
  706. package/types/src/atoms/typography/header.d.ts +29 -0
  707. package/types/src/atoms/typography/index.d.ts +5 -0
  708. package/types/src/atoms/typography/small-text.d.ts +3 -0
  709. package/types/src/atoms/typography/title.d.ts +3 -0
  710. package/types/src/atoms/typography/typography.stories.d.ts +9 -0
  711. package/types/src/constants.d.ts +1 -0
  712. package/types/src/global.d.ts +1 -0
  713. package/types/src/hooks/use-window-size.d.ts +6 -0
  714. package/types/src/index.d.ts +16 -0
  715. package/types/src/molecules/date-picker/date-picker.d.ts +78 -0
  716. package/types/src/molecules/date-picker/date-picker.stories.d.ts +5 -0
  717. package/types/src/molecules/date-picker/index.d.ts +2 -0
  718. package/types/src/molecules/date-picker/useDatePicker.d.ts +14 -0
  719. package/types/src/molecules/drawer/drawer-content.d.ts +7 -0
  720. package/types/src/molecules/drawer/drawer-footer.d.ts +7 -0
  721. package/types/src/molecules/drawer/drawer.d.ts +88 -0
  722. package/types/src/molecules/drawer/drawer.stories.d.ts +5 -0
  723. package/types/src/molecules/drawer/index.d.ts +3 -0
  724. package/types/src/molecules/drop-down/drop-down-item-action.d.ts +12 -0
  725. package/types/src/molecules/drop-down/drop-down-item.d.ts +32 -0
  726. package/types/src/molecules/drop-down/drop-down-menu.d.ts +31 -0
  727. package/types/src/molecules/drop-down/drop-down-trigger.d.ts +6 -0
  728. package/types/src/molecules/drop-down/drop-down.d.ts +30 -0
  729. package/types/src/molecules/drop-down/drop-down.stories.d.ts +10 -0
  730. package/types/src/molecules/drop-down/index.d.ts +5 -0
  731. package/types/src/molecules/drop-zone/drop-zone-image.d.ts +3 -0
  732. package/types/src/molecules/drop-zone/drop-zone-item.d.ts +55 -0
  733. package/types/src/molecules/drop-zone/drop-zone.d.ts +148 -0
  734. package/types/src/molecules/drop-zone/drop-zone.stories.d.ts +8 -0
  735. package/types/src/molecules/drop-zone/index.d.ts +2 -0
  736. package/types/src/molecules/form-group/form-group.d.ts +119 -0
  737. package/types/src/molecules/form-group/form-group.stories.d.ts +6 -0
  738. package/types/src/molecules/form-group/form-message.d.ts +11 -0
  739. package/types/src/molecules/form-group/index.d.ts +3 -0
  740. package/types/src/molecules/form-group/input-group.d.ts +6 -0
  741. package/types/src/molecules/index.d.ts +15 -0
  742. package/types/src/molecules/info-box/index.d.ts +1 -0
  743. package/types/src/molecules/info-box/info-box.d.ts +53 -0
  744. package/types/src/molecules/info-box/info-box.stories.d.ts +5 -0
  745. package/types/src/molecules/message-box/index.d.ts +1 -0
  746. package/types/src/molecules/message-box/message-box.d.ts +94 -0
  747. package/types/src/molecules/message-box/message-box.stories.d.ts +7 -0
  748. package/types/src/molecules/modal/index.d.ts +4 -0
  749. package/types/src/molecules/modal/modal-inline.d.ts +14 -0
  750. package/types/src/molecules/modal/modal-props.d.ts +38 -0
  751. package/types/src/molecules/modal/modal-styled.d.ts +12 -0
  752. package/types/src/molecules/modal/modal-wrapper.d.ts +4 -0
  753. package/types/src/molecules/modal/modal.d.ts +12 -0
  754. package/types/src/molecules/modal/modal.stories.d.ts +5 -0
  755. package/types/src/molecules/navigation-element/index.d.ts +3 -0
  756. package/types/src/molecules/navigation-element/navigation-element-props.d.ts +38 -0
  757. package/types/src/molecules/navigation-element/navigation-element-styled.d.ts +3 -0
  758. package/types/src/molecules/navigation-element/navigation-element.d.ts +14 -0
  759. package/types/src/molecules/navigation-element/navigation-element.stories.d.ts +5 -0
  760. package/types/src/molecules/pagination/index.d.ts +1 -0
  761. package/types/src/molecules/pagination/pagination.d.ts +64 -0
  762. package/types/src/molecules/pagination/pagination.stories.d.ts +5 -0
  763. package/types/src/molecules/rich-text-editor/components/heading-select.d.ts +7 -0
  764. package/types/src/molecules/rich-text-editor/components/image-button.d.ts +7 -0
  765. package/types/src/molecules/rich-text-editor/components/menu-bar.d.ts +7 -0
  766. package/types/src/molecules/rich-text-editor/components/menu-button.d.ts +12 -0
  767. package/types/src/molecules/rich-text-editor/icons/align-center.d.ts +3 -0
  768. package/types/src/molecules/rich-text-editor/icons/align-justify.d.ts +3 -0
  769. package/types/src/molecules/rich-text-editor/icons/align-left.d.ts +3 -0
  770. package/types/src/molecules/rich-text-editor/icons/align-right.d.ts +3 -0
  771. package/types/src/molecules/rich-text-editor/icons/bold.d.ts +3 -0
  772. package/types/src/molecules/rich-text-editor/icons/bullet-list.d.ts +3 -0
  773. package/types/src/molecules/rich-text-editor/icons/clear.d.ts +3 -0
  774. package/types/src/molecules/rich-text-editor/icons/code.d.ts +3 -0
  775. package/types/src/molecules/rich-text-editor/icons/font-size.d.ts +3 -0
  776. package/types/src/molecules/rich-text-editor/icons/image.d.ts +3 -0
  777. package/types/src/molecules/rich-text-editor/icons/index.d.ts +19 -0
  778. package/types/src/molecules/rich-text-editor/icons/italic.d.ts +3 -0
  779. package/types/src/molecules/rich-text-editor/icons/link.d.ts +3 -0
  780. package/types/src/molecules/rich-text-editor/icons/ordered-list.d.ts +3 -0
  781. package/types/src/molecules/rich-text-editor/icons/pagebreak.d.ts +3 -0
  782. package/types/src/molecules/rich-text-editor/icons/paragraph.d.ts +3 -0
  783. package/types/src/molecules/rich-text-editor/icons/quote.d.ts +3 -0
  784. package/types/src/molecules/rich-text-editor/icons/redo.d.ts +3 -0
  785. package/types/src/molecules/rich-text-editor/icons/strikethrough.d.ts +3 -0
  786. package/types/src/molecules/rich-text-editor/icons/undo.d.ts +3 -0
  787. package/types/src/molecules/rich-text-editor/index.d.ts +2 -0
  788. package/types/src/molecules/rich-text-editor/rich-text-editor-props.d.ts +1 -0
  789. package/types/src/molecules/rich-text-editor/rich-text-editor.d.ts +15 -0
  790. package/types/src/molecules/rich-text-editor/rich-text-editor.stories.d.ts +5 -0
  791. package/types/src/molecules/rich-text-editor/rich-text-editor.styled.d.ts +22 -0
  792. package/types/src/molecules/rich-text-editor/useTiptapCommands.d.ts +12 -0
  793. package/types/src/molecules/select/index.d.ts +2 -0
  794. package/types/src/molecules/select/select-async.d.ts +9 -0
  795. package/types/src/molecules/select/select-theme.d.ts +7 -0
  796. package/types/src/molecules/select/select.d.ts +9 -0
  797. package/types/src/molecules/select/select.stories.d.ts +7 -0
  798. package/types/src/molecules/stepper/index.d.ts +2 -0
  799. package/types/src/molecules/stepper/step.d.ts +86 -0
  800. package/types/src/molecules/stepper/stepper.d.ts +112 -0
  801. package/types/src/molecules/stepper/stepper.stories.d.ts +6 -0
  802. package/types/src/molecules/tinymce-editor/index.d.ts +1 -0
  803. package/types/src/molecules/tinymce-editor/tinymce-editor.d.ts +14 -0
  804. package/types/src/molecules/tinymce-editor/tinymce-editor.styled.d.ts +21 -0
  805. package/types/src/molecules/value-group/index.d.ts +2 -0
  806. package/types/src/molecules/value-group/value-group-props.d.ts +15 -0
  807. package/types/src/molecules/value-group/value-group.d.ts +14 -0
  808. package/types/src/molecules/value-group/value-group.stories.d.ts +7 -0
  809. package/types/src/organisms/button-group/button-group.d.ts +13 -0
  810. package/types/src/organisms/button-group/button-group.stories.d.ts +7 -0
  811. package/types/src/organisms/button-group/button-group.styled.d.ts +33 -0
  812. package/types/src/organisms/button-group/button-group.types.d.ts +59 -0
  813. package/types/src/organisms/button-group/button-in-group.d.ts +4 -0
  814. package/types/src/organisms/button-group/drop-down-item-with-buttons.d.ts +4 -0
  815. package/types/src/organisms/button-group/index.d.ts +6 -0
  816. package/types/src/organisms/button-group/single-button-in-group.d.ts +4 -0
  817. package/types/src/organisms/current-user-nav/current-user-nav-props.d.ts +37 -0
  818. package/types/src/organisms/current-user-nav/current-user-nav-styled.d.ts +12 -0
  819. package/types/src/organisms/current-user-nav/current-user-nav.d.ts +14 -0
  820. package/types/src/organisms/current-user-nav/current-user-nav.stories.d.ts +7 -0
  821. package/types/src/organisms/current-user-nav/index.d.ts +3 -0
  822. package/types/src/organisms/index.d.ts +4 -0
  823. package/types/src/organisms/made-with-love/index.d.ts +1 -0
  824. package/types/src/organisms/made-with-love/made-with-love.d.ts +3 -0
  825. package/types/src/organisms/made-with-love/made-with-love.stories.d.ts +5 -0
  826. package/types/src/organisms/navigation/index.d.ts +4 -0
  827. package/types/src/organisms/navigation/navigation-element-wrapper.d.ts +4 -0
  828. package/types/src/organisms/navigation/navigation-props.d.ts +21 -0
  829. package/types/src/organisms/navigation/navigation-styled.d.ts +12 -0
  830. package/types/src/organisms/navigation/navigation.d.ts +14 -0
  831. package/types/src/organisms/navigation/navigation.stories.d.ts +8 -0
  832. package/types/src/templates/blog.d.ts +1 -0
  833. package/types/src/templates/blog.stories.d.ts +4 -0
  834. package/types/src/theme.d.ts +503 -0
  835. package/types/src/utils/assert.d.ts +2 -0
  836. package/types/src/utils/color-props.d.ts +5 -0
  837. package/types/src/utils/combine-styles.d.ts +23 -0
  838. package/types/src/utils/content-styles.d.ts +21 -0
  839. package/types/src/utils/css-class.d.ts +21 -0
  840. package/types/src/utils/date-utils.d.ts +34 -0
  841. package/types/src/utils/datepicker.styles.d.ts +3 -0
  842. package/types/src/utils/default-theme.interface.d.ts +17 -0
  843. package/types/src/utils/direction-props.d.ts +1 -0
  844. package/types/src/utils/focus-shadow.style.d.ts +3 -0
  845. package/types/src/utils/generate-id.d.ts +2 -0
  846. package/types/src/utils/human-file-size.d.ts +12 -0
  847. package/types/src/utils/index.d.ts +13 -0
  848. package/types/src/utils/non-nullish-partial-record.type.d.ts +16 -0
  849. package/types/src/utils/phone-input.styles.d.ts +3 -0
  850. package/types/src/utils/portal-utils.d.ts +7 -0
  851. package/types/src/utils/reset.styles.d.ts +37 -0
  852. package/types/src/utils/select-styles.d.ts +5 -0
  853. package/types/src/utils/story-wrapper.d.ts +9 -0
  854. package/types/src/utils/styled.d.ts +4 -0
  855. package/types/src/utils/theme-get.d.ts +32 -0
  856. package/vendor-types/csstype/index.d.ts +0 -0
  857. package/vendor-types/jw-paginate/index.d.ts +10 -0
  858. package/vendor-types/styled-components/index.d.ts +7 -0
@@ -0,0 +1,134 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import React from 'react';
3
+ import * as FeatherIcons from 'react-feather';
4
+ import { space, color as styledColor, borderRadius } from 'styled-system';
5
+ import { styled, css } from "../../../build/utils/styled.js";
6
+ import { cssClass } from "../../utils/css-class.js";
7
+
8
+ /**
9
+ * Prop Types of an Icon component.
10
+ * Apart from props defined below it extends all {@link ColorProps} and {@link SpaceProps}
11
+ *
12
+ * @memberof Icon
13
+ * @alias IconProps
14
+ * @property {string} [...] Other props from {@link ColorProps} and {@link SpaceProps}
15
+ */
16
+
17
+ const spinCss = css`
18
+ @keyframes iconSpin {
19
+ from {
20
+ transform: rotate(0deg);
21
+ }
22
+ to {
23
+ transform: rotate(360deg);
24
+ }
25
+ }
26
+
27
+ animation-name: iconSpin;
28
+ animation-duration: 1000ms;
29
+ animation-iteration-count: infinite;
30
+ animation-timing-function: linear;
31
+ `;
32
+ const Wrapper = styled.span`
33
+ vertical-align: middle;
34
+ display: inline-block;
35
+ line-height: ${({
36
+ theme
37
+ }) => theme.lineHeights.sm};
38
+ font-size: ${({
39
+ theme
40
+ }) => theme.fontSizes.sm};
41
+
42
+ & > svg {
43
+ stroke: ${({
44
+ theme,
45
+ color
46
+ }) => color && color !== 'inherit' ? theme.colors[color] : 'currentColor'};
47
+ ${({
48
+ spin
49
+ }) => spin ? spinCss : ''};
50
+ }
51
+ ${({
52
+ rounded
53
+ }) => rounded ? 'border-radius: 9999px;' : ''};
54
+ ${space};
55
+ ${styledColor};
56
+ ${borderRadius}
57
+ `;
58
+
59
+ /**
60
+ * @classdesc
61
+ *
62
+ * <img src="components/icon.png" />
63
+ *
64
+ * Component wrapping [react-feather](https://www.npmjs.com/package/react-feather).
65
+ * List of all icons can be found here: https://feathericons.com/
66
+ * If you have problem verifying the key of given icon - you can always open the
67
+ * Chrome Terminal (with AdminJS open) and write there:
68
+ *
69
+ * ```
70
+ * Object.keys(window.FeatherIcons)
71
+ * ```
72
+ *
73
+ * to see list of all available icon keys.
74
+ *
75
+ * ### Usage
76
+ *
77
+ * ```javascript
78
+ * import { Icon, IconProps } from '@adminjs/design-system'
79
+ * ```
80
+ *
81
+ * @component
82
+ * @subcategory Atoms
83
+ * @see IconProps
84
+ * @see {@link https://storybook.adminjs.co/?path=/story/designsystem-atoms-icon--default Storybook}
85
+ * @hideconstructor
86
+ * @example <caption>Icons inside other elements</caption>
87
+ * return (
88
+ * <Box variant="grey">
89
+ * <Label mb="default"><Icon icon="Camera" />Icon in Label</Label>
90
+ * <Button><Icon icon="Camera" />Icon in button</Button>
91
+ * </Box>
92
+ * )
93
+ * @example <caption>Different sizes</caption>
94
+ * const sizes = [16, 20, 24, 32]
95
+ * return (
96
+ * <Box variant="grey">
97
+ * {sizes.map(size => (
98
+ * <Label m="default"><Icon icon="Camera" size={size}/>Icon {size}</Label>
99
+ * ))}
100
+ * </Box>
101
+ * )
102
+ *
103
+ * @example <caption>Big rounded icon with background</caption>
104
+ * return (
105
+ * <Box variant="grey">
106
+ * <Icon icon="Plus" color="white" bg="primary100" rounded size={32} p="default"/>
107
+ * </Box>
108
+ * )
109
+ * @section design-system
110
+ */
111
+ const Icon = props => {
112
+ const {
113
+ icon,
114
+ size = 16,
115
+ color = 'inherit',
116
+ ...other
117
+ } = props;
118
+ if (!icon) return null;
119
+ const FeatherIcon = FeatherIcons[icon] || FeatherIcons.Slash;
120
+ if (FeatherIcon) {
121
+ return /*#__PURE__*/React.createElement(Wrapper, _extends({
122
+ icon: icon,
123
+ className: cssClass('Icon')
124
+ }, other, {
125
+ color: color
126
+ }), /*#__PURE__*/React.createElement(FeatherIcon, {
127
+ size: size,
128
+ color: color
129
+ }));
130
+ }
131
+ return null;
132
+ };
133
+ export { Icon };
134
+ export default Icon;
@@ -0,0 +1,69 @@
1
+ import React from 'react';
2
+ import * as FeatherIcons from 'react-feather';
3
+ import { Box, Label } from "../index.js";
4
+ import { Icon } from "./icon.js";
5
+ const icons = Object.keys(FeatherIcons).filter(name => name !== 'default');
6
+ export const Default = {};
7
+ export const Icons = () => /*#__PURE__*/React.createElement(Box, {
8
+ display: "grid",
9
+ style: {
10
+ gridTemplateColumns: 'repeat(10, 1fr)',
11
+ gap: 16
12
+ }
13
+ }, icons.map(key => /*#__PURE__*/React.createElement(Box, {
14
+ key: key,
15
+ flex: true,
16
+ alignItems: "center",
17
+ flexDirection: "column"
18
+ }, /*#__PURE__*/React.createElement(Label, null, key), /*#__PURE__*/React.createElement(Icon, {
19
+ icon: key,
20
+ size: 24
21
+ }))));
22
+ const meta = {
23
+ title: 'DesignSystem/Atoms/Icon',
24
+ component: Icon,
25
+ args: {
26
+ icon: icons[0],
27
+ size: 48,
28
+ rounded: false,
29
+ spin: false
30
+ },
31
+ argTypes: {
32
+ icon: {
33
+ description: 'CamelCased name of an icon from https://www.npmjs.com/package/react-feather',
34
+ control: {
35
+ type: 'select'
36
+ },
37
+ options: icons
38
+ },
39
+ size: {
40
+ control: {
41
+ type: 'number',
42
+ min: 16,
43
+ max: 48,
44
+ step: 4
45
+ }
46
+ },
47
+ color: {
48
+ control: {
49
+ type: 'color'
50
+ }
51
+ },
52
+ bg: {
53
+ control: {
54
+ type: 'color'
55
+ }
56
+ },
57
+ rounded: {
58
+ control: {
59
+ type: 'boolean'
60
+ }
61
+ },
62
+ spin: {
63
+ control: {
64
+ type: 'boolean'
65
+ }
66
+ }
67
+ }
68
+ };
69
+ export default meta;
@@ -0,0 +1 @@
1
+ export * from "./icon.js";
@@ -0,0 +1,71 @@
1
+ import React from 'react';
2
+ import { styled } from "../../../build/utils/styled.js";
3
+ import { cssClass } from "../../utils/index.js";
4
+ import * as Illustrations from "../illustrations/index.js";
5
+
6
+ /**
7
+ * @memberof Illustration
8
+ * @alias IllustrationProps
9
+ */
10
+
11
+ const Wrapper = styled.div.attrs(props => ({
12
+ className: cssClass('Illustration', props.className)
13
+ }))`
14
+ [fill='#3040D6'] {
15
+ fill: ${({
16
+ theme
17
+ }) => theme.colors.primary100};
18
+ }
19
+
20
+ [stroke='#3B3552'] {
21
+ stroke: ${({
22
+ theme
23
+ }) => theme.colors.accent};
24
+ }
25
+ `;
26
+ const RawIllustration = props => {
27
+ const {
28
+ variant,
29
+ ...other
30
+ } = props;
31
+ const IllustrationComponent = Illustrations[variant];
32
+ return /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(IllustrationComponent, other));
33
+ };
34
+
35
+ /**
36
+ * @classdesc
37
+ *
38
+ * <img src="components/illustration.png" />
39
+ *
40
+ * Awesome database with all the illustrations provided with AdminJS.
41
+ *
42
+ *
43
+ * ### Usage
44
+ *
45
+ * ```javascript
46
+ * import { Illustration, IllustrationProps } from '@adminjs/design-system'
47
+ * ```
48
+ *
49
+ * @component
50
+ * @subcategory Atoms
51
+ * @see IllustrationProps
52
+ * @see {@link https://storybook.adminjs.co/?path=/story/designsystem-atoms-illustration--default Storybook}
53
+ * @hideconstructor
54
+ *
55
+ * @example <caption>Folders</caption>
56
+ * return (
57
+ * <Illustration variant="Folders" />
58
+ * )
59
+ * @example <caption>DocumentSearch</caption>
60
+ * return (
61
+ * <Illustration variant="DocumentSearch" />
62
+ * )
63
+ * @example <caption>Rocket</caption>
64
+ * return (
65
+ * <Box bg="grey100" p="xxl"><Illustration variant="Rocket" /></Box>
66
+ * )
67
+ * @section design-system
68
+ */
69
+ export const Illustration = RawIllustration;
70
+ Illustration.displayName = 'Illustration';
71
+ export default Illustration;
@@ -0,0 +1,55 @@
1
+ import React from 'react';
2
+ import * as illustrations from "../illustrations/index.js";
3
+ import { Box, Label } from "../index.js";
4
+ import { Illustration } from "./index.js";
5
+ const illustrationVariants = Object.keys(illustrations);
6
+ export const Default = {
7
+ render: ({
8
+ variant
9
+ }) => /*#__PURE__*/React.createElement(Illustration, {
10
+ variant: variant
11
+ })
12
+ };
13
+ export const Illustrations = () => /*#__PURE__*/React.createElement(Box, {
14
+ display: "grid",
15
+ style: {
16
+ gridTemplateColumns: 'repeat(4, 1fr)',
17
+ gap: 16
18
+ }
19
+ }, illustrationVariants.map(key => /*#__PURE__*/React.createElement(Box, {
20
+ key: key,
21
+ flex: true,
22
+ alignItems: "center",
23
+ flexDirection: "column"
24
+ }, /*#__PURE__*/React.createElement(Label, null, key), /*#__PURE__*/React.createElement(Illustration, {
25
+ variant: key,
26
+ width: 150,
27
+ height: 150
28
+ }))));
29
+ const meta = {
30
+ title: 'DesignSystem/Atoms/Illustration',
31
+ args: {
32
+ variant: illustrationVariants[0],
33
+ width: 150,
34
+ height: 150
35
+ },
36
+ argTypes: {
37
+ variant: {
38
+ options: illustrationVariants,
39
+ control: {
40
+ type: 'select'
41
+ }
42
+ },
43
+ width: {
44
+ control: {
45
+ type: 'number'
46
+ }
47
+ },
48
+ height: {
49
+ control: {
50
+ type: 'number'
51
+ }
52
+ }
53
+ }
54
+ };
55
+ export default meta;
@@ -0,0 +1 @@
1
+ export * from "./illustration.js";
@@ -0,0 +1,48 @@
1
+ import React from 'react';
2
+ export const Accept = ({
3
+ width = 152,
4
+ height = 152
5
+ }) => /*#__PURE__*/React.createElement("svg", {
6
+ width: width,
7
+ height: height,
8
+ viewBox: "0 0 152 152",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, /*#__PURE__*/React.createElement("circle", {
12
+ cx: "76",
13
+ cy: "76",
14
+ r: "76",
15
+ fill: "white"
16
+ }), /*#__PURE__*/React.createElement("circle", {
17
+ cx: "106.552",
18
+ cy: "54.4483",
19
+ r: "17.4483",
20
+ fill: "#3040D6"
21
+ }), /*#__PURE__*/React.createElement("circle", {
22
+ cx: "75.4483",
23
+ cy: "76.4483",
24
+ r: "39.4483",
25
+ fill: "white",
26
+ stroke: "#3B3552",
27
+ strokeWidth: "1.5"
28
+ }), /*#__PURE__*/React.createElement("path", {
29
+ d: "M91.3957 102.098L90.7592 102.495L91.1558 103.131L91.7924 102.735L91.3957 102.098ZM98.8131 95.5823L99.3931 96.0578L99.8686 95.4778L99.2886 95.0023L98.8131 95.5823ZM90.6025 100.825L90.2059 100.188L89.5694 100.585L89.966 101.221L90.6025 100.825ZM97.6531 94.6313L98.1286 94.0513L97.5486 93.5758L97.0731 94.1558L97.6531 94.6313ZM104.196 85.7222L104.91 85.9523V85.9523L104.196 85.7222ZM105.647 76.4492H106.397V75.6992H105.647V76.4492ZM101.435 91.8411L101.052 92.486L101.697 92.8688L102.08 92.2239L101.435 91.8411ZM100.145 91.0755L99.5001 90.6926L99.1173 91.3376L99.7623 91.7204L100.145 91.0755ZM102.768 85.262L102.054 85.0319L102.768 85.262ZM104.147 76.4492V75.6992H103.397V76.4492H104.147ZM91.7924 102.735C94.6786 100.936 97.2465 98.6763 99.3931 96.0578L98.2331 95.1068C96.1899 97.5992 93.7457 99.7502 90.9991 101.461L91.7924 102.735ZM89.966 101.221L90.7592 102.495L92.0323 101.701L91.2391 100.428L89.966 101.221ZM97.0731 94.1558C95.1332 96.5221 92.8128 98.5641 90.2059 100.188L90.9991 101.461C93.7457 99.7502 96.1899 97.5992 98.2331 95.1068L97.0731 94.1558ZM99.2886 95.0023L98.1286 94.0513L97.1776 95.2113L98.3376 96.1623L99.2886 95.0023ZM104.91 85.9523C105.876 82.9561 106.397 79.7621 106.397 76.4492H104.897C104.897 79.604 104.401 82.6429 103.482 85.4921L104.91 85.9523ZM102.08 92.2239C103.244 90.263 104.198 88.162 104.91 85.9523L103.482 85.4921C102.805 87.5939 101.897 89.5925 100.79 91.4583L102.08 92.2239ZM99.7623 91.7204L101.052 92.486L101.818 91.1961L100.528 90.4305L99.7623 91.7204ZM102.054 85.0319C101.412 87.0257 100.551 88.922 99.5001 90.6926L100.79 91.4583C101.897 89.5925 102.805 87.5939 103.482 85.4921L102.054 85.0319ZM103.397 76.4492C103.397 79.4459 102.926 82.3296 102.054 85.0319L103.482 85.4921C104.401 82.6429 104.897 79.604 104.897 76.4492H103.397ZM105.647 75.6992H104.147V77.1992H105.647V75.6992Z",
30
+ fill: "#3B3552"
31
+ }), /*#__PURE__*/React.createElement("path", {
32
+ d: "M58.3015 32.4619L59.0002 32.1893L58.7277 31.4906L58.029 31.7632L58.3015 32.4619ZM41.5051 43.6534L40.9658 43.1322L40.4446 43.6715L40.9839 44.1927L41.5051 43.6534ZM58.8467 33.8593L59.1192 34.5581L59.8179 34.2855L59.5454 33.5868L58.8467 33.8593ZM42.5837 44.6957L42.0625 45.2351L42.6018 45.7562L43.123 45.2169L42.5837 44.6957ZM36.8518 49.2761L37.2841 48.6632L36.6712 48.2309L36.2389 48.8438L36.8518 49.2761ZM31.3804 59.5114L30.6804 59.2422L30.4111 59.9422L31.1112 60.2114L31.3804 59.5114ZM38.0776 50.1406L38.6905 50.5729L39.1228 49.96L38.5099 49.5277L38.0776 50.1406ZM32.7804 60.0498L32.5112 60.7499L33.2112 61.0191L33.4804 60.3191L32.7804 60.0498ZM58.029 31.7632C51.5321 34.2976 45.7255 38.2069 40.9658 43.1322L42.0444 44.1746C46.6565 39.4021 52.2819 35.6152 58.5741 33.1606L58.029 31.7632ZM59.5454 33.5868L59.0002 32.1893L57.6028 32.7345L58.1479 34.1319L59.5454 33.5868ZM43.123 45.2169C47.5874 40.5973 53.0317 36.9328 59.1192 34.5581L58.5741 33.1606C52.2819 35.6152 46.6565 39.4021 42.0444 44.1746L43.123 45.2169ZM40.9839 44.1927L42.0625 45.2351L43.1049 44.1564L42.0263 43.114L40.9839 44.1927ZM36.2389 48.8438C33.9826 52.043 32.1076 55.5311 30.6804 59.2422L32.0804 59.7806C33.4626 56.1865 35.2788 52.8077 37.4647 49.7084L36.2389 48.8438ZM38.5099 49.5277L37.2841 48.6632L36.4196 49.889L37.6454 50.7535L38.5099 49.5277ZM33.4804 60.3191C34.8177 56.8419 36.575 53.5725 38.6905 50.5729L37.4647 49.7084C35.2788 52.8077 33.4626 56.1865 32.0804 59.7806L33.4804 60.3191ZM31.1112 60.2114L32.5112 60.7499L33.0496 59.3498L31.6496 58.8114L31.1112 60.2114Z",
33
+ fill: "#3B3552"
34
+ }), /*#__PURE__*/React.createElement("path", {
35
+ fillRule: "evenodd",
36
+ clipRule: "evenodd",
37
+ d: "M94.4566 55.3952C93.9524 52.5885 97.1355 50.5591 99.2233 52.5014C101.189 54.33 103.108 56.332 104.211 58.0528C107.613 63.3618 109.586 69.675 109.586 76.449C109.586 95.3028 94.3022 110.587 75.4484 110.587C72.1858 110.587 67.9237 109.35 64.2042 107.98C61.4858 106.979 61.9438 103.2 64.7455 102.464C66.6153 101.972 68.4144 101.416 69.7243 100.833C84.7188 94.1575 95.1725 79.1275 95.1725 61.6559C95.1725 59.9413 94.8626 57.6549 94.4566 55.3952Z",
38
+ fill: "#3040D6",
39
+ fillOpacity: "0.05"
40
+ }), /*#__PURE__*/React.createElement("path", {
41
+ fillRule: "evenodd",
42
+ clipRule: "evenodd",
43
+ d: "M56.3673 74.3156C58.1892 72.4984 61.1148 72.4529 62.9919 74.1793L63.1342 74.3156L70.7513 81.9134L89.2802 63.433C91.1021 61.6158 94.0277 61.5704 95.9048 63.2967L96.0471 63.433C97.869 65.2502 97.9146 68.1682 96.1838 70.0405L96.0471 70.1824L74.1353 92.0376C72.3134 93.8548 69.3878 93.9002 67.5107 92.1739L67.3684 92.0376L56.3673 81.065C54.4987 79.2012 54.4987 76.1794 56.3673 74.3156Z",
44
+ fill: "white",
45
+ stroke: "#3B3552",
46
+ strokeWidth: "1.5"
47
+ }));
48
+ export default Accept;
@@ -0,0 +1,52 @@
1
+ import React from 'react';
2
+ export const AdminJSLogo = ({
3
+ width = 113,
4
+ height = 113
5
+ }) => /*#__PURE__*/React.createElement("svg", {
6
+ width: width,
7
+ height: height,
8
+ viewBox: "0 0 113 113",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ xmlnsXlink: "http://www.w3.org/1999/xlink"
11
+ }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("filter", {
12
+ x: "-18.8%",
13
+ y: "-13.4%",
14
+ width: "137.6%",
15
+ height: "137.6%",
16
+ filterUnits: "objectBoundingBox",
17
+ id: "a"
18
+ }, /*#__PURE__*/React.createElement("feOffset", {
19
+ dy: "5",
20
+ in: "SourceAlpha",
21
+ result: "shadowOffsetOuter1"
22
+ }), /*#__PURE__*/React.createElement("feGaussianBlur", {
23
+ stdDeviation: "5",
24
+ in: "shadowOffsetOuter1",
25
+ result: "shadowBlurOuter1"
26
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
27
+ values: "0 0 0 0 0.301960784 0 0 0 0 0.439215686 0 0 0 0 0.921568627 0 0 0 0.402289117 0",
28
+ in: "shadowBlurOuter1"
29
+ })), /*#__PURE__*/React.createElement("rect", {
30
+ id: "b",
31
+ x: "0",
32
+ y: "0",
33
+ width: "93",
34
+ height: "93",
35
+ rx: "20"
36
+ })), /*#__PURE__*/React.createElement("g", {
37
+ fill: "none",
38
+ fillRule: "evenodd"
39
+ }, /*#__PURE__*/React.createElement("g", {
40
+ transform: "translate(10 5)"
41
+ }, /*#__PURE__*/React.createElement("use", {
42
+ fill: "#000",
43
+ filter: "url(#a)",
44
+ xlinkHref: "#b"
45
+ }), /*#__PURE__*/React.createElement("use", {
46
+ fill: "#4D70EB",
47
+ xlinkHref: "#b"
48
+ })), /*#__PURE__*/React.createElement("path", {
49
+ d: "M56.5 28 83 74H68.932l-3.282-5.698a5.632 5.632 0 0 0-4.63-2.815l-.25-.006h-8.54a5.632 5.632 0 0 0-4.88 2.82L44.066 74H30l26.5-46zm0 20.444c-3.114 0-5.638 2.543-5.638 5.68 0 3.136 2.524 5.678 5.638 5.678s5.638-2.542 5.638-5.679c0-3.136-2.524-5.679-5.638-5.679z",
50
+ fill: "#FFF"
51
+ })));
52
+ export default AdminJSLogo;
@@ -0,0 +1,58 @@
1
+ import React from 'react';
2
+ export const Astronaut = ({
3
+ width = 152,
4
+ height = 169
5
+ }) => /*#__PURE__*/React.createElement("svg", {
6
+ width: width,
7
+ height: height,
8
+ viewBox: "0 0 152 169",
9
+ version: "1.1",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, /*#__PURE__*/React.createElement("g", {
12
+ id: "Symbols",
13
+ stroke: "none",
14
+ strokeWidth: "1",
15
+ fill: "none",
16
+ fillRule: "evenodd"
17
+ }, /*#__PURE__*/React.createElement("g", {
18
+ id: "Group",
19
+ transform: "translate(2.000000, 2.000000)",
20
+ stroke: "#3B3552",
21
+ strokeWidth: "3"
22
+ }, /*#__PURE__*/React.createElement("path", {
23
+ d: "M74,123.060611 L74,158.723567 C74,162.037275 71.3137085,164.723567 68,164.723567 C66.9452118,164.723567 65.9090627,164.445504 64.995996,163.917406 L6.67495026,130.185774 L6.67495026,130.185774 C2.54398439,127.796512 1.42108547e-14,123.386278 1.42108547e-14,118.614125 L1.42108547e-14,48.436129 C1.42108547e-14,43.6639756 2.54398439,39.2537412 6.67495026,36.8644799 L67.3072083,1.79609278 C71.4477337,-0.598697595 76.5522663,-0.598697595 80.6927917,1.79609278 L141.32505,36.8644799 C145.456016,39.2537412 148,43.6639756 148,48.436129 L148,118.614125 C148,123.386278 145.456016,127.796512 141.32505,130.185774 L92.2812226,158.551663",
24
+ id: "Path-Copy-2",
25
+ strokeLinecap: "round"
26
+ }), /*#__PURE__*/React.createElement("path", {
27
+ d: "M104.072464,59.4347826 L107.42029,59.4347826 C110.501879,59.4347826 113,61.9329039 113,65.0144928 L113,72.826087 C113,75.9076758 110.501879,78.4057971 107.42029,78.4057971 L104.072464,78.4057971",
28
+ id: "Path",
29
+ fill: "#3040D6",
30
+ fillOpacity: "0.2"
31
+ }), /*#__PURE__*/React.createElement("path", {
32
+ d: "M36,59.4347826 L39.3478261,59.4347826 C42.4294149,59.4347826 44.9275362,61.9329039 44.9275362,65.0144928 L44.9275362,72.826087 C44.9275362,75.9076758 42.4294149,78.4057971 39.3478261,78.4057971 L36,78.4057971",
33
+ id: "Path-Copy-8",
34
+ fill: "#3040D6",
35
+ fillOpacity: "0.2",
36
+ transform: "translate(40.463768, 68.920290) scale(-1, 1) translate(-40.463768, -68.920290) "
37
+ }), /*#__PURE__*/React.createElement("path", {
38
+ d: "M73.942029,36 L75.057971,36 C91.6985507,36 105.188406,49.4898551 105.188406,66.1304348 L105.188406,74.2608696 C105.188406,86.4111341 95.3386703,96.2608696 83.1884058,96.2608696 L65.8115942,96.2608696 C53.6613297,96.2608696 43.8115942,86.4111341 43.8115942,74.2608696 L43.8115942,66.1304348 C43.8115942,49.4898551 57.3014493,36 73.942029,36 Z",
39
+ id: "Rectangle"
40
+ }), /*#__PURE__*/React.createElement("path", {
41
+ d: "M61.6231884,54.9710145 L87.3768116,54.9710145 C92.8996591,54.9710145 97.3768116,59.448167 97.3768116,64.9710145 L97.3768116,71.1521739 C97.3768116,80.0887815 90.1322598,87.3333333 81.1956522,87.3333333 L67.8043478,87.3333333 C58.8677402,87.3333333 51.6231884,80.0887815 51.6231884,71.1521739 L51.6231884,64.9710145 C51.6231884,59.448167 56.1003409,54.9710145 61.6231884,54.9710145 Z",
42
+ id: "Rectangle",
43
+ fill: "#3040D6",
44
+ fillOpacity: "0.2"
45
+ }), /*#__PURE__*/React.createElement("path", {
46
+ d: "M98.1625549,96.4072839 C104.039008,97.3212203 108.536232,102.403535 108.536232,108.536232 L108.536232,118.134734 C108.536232,119.211784 107.767028,120.135188 106.707715,120.329844 C106.055061,120.449774 105.513749,120.546295 105.083779,120.619408 C95.9922338,122.165353 85.5737028,123.043478 74.5,123.043478",
47
+ id: "Path",
48
+ strokeLinecap: "round"
49
+ }), /*#__PURE__*/React.createElement("path", {
50
+ d: "M63.9958478,122.775649 C56.839568,122.406752 50.0823079,121.667204 43.9319499,120.622082 C43.4981804,120.548372 42.951644,120.450947 42.2923407,120.329807 C41.2329855,120.135184 40.4637681,119.211754 40.4637681,118.134669 L40.4637681,108.536232 C40.4637681,102.446055 44.8988464,97.391746 50.715414,96.426894",
51
+ id: "Path",
52
+ strokeLinecap: "round"
53
+ }), /*#__PURE__*/React.createElement("path", {
54
+ d: "M100.724638,87.6057924 C100.724638,97.4668767 92.7306494,105.188406 82.8695652,105.188406 L66.1304348,105.188406 C56.2693506,105.188406 48.2753623,97.4668767 48.2753623,87.6057924",
55
+ id: "Path",
56
+ strokeLinecap: "round"
57
+ }))));
58
+ export default Astronaut;
@@ -0,0 +1,90 @@
1
+ import React from 'react';
2
+ export const Bag = ({
3
+ width = 152,
4
+ height = 152
5
+ }) => /*#__PURE__*/React.createElement("svg", {
6
+ width: width,
7
+ height: height,
8
+ viewBox: "0 0 152 152",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, /*#__PURE__*/React.createElement("circle", {
12
+ cx: "76",
13
+ cy: "76",
14
+ r: "76",
15
+ fill: "white"
16
+ }), /*#__PURE__*/React.createElement("path", {
17
+ d: "M37.75 56.9629C37.75 56.5487 38.0858 56.2129 38.5 56.2129H113.5C113.914 56.2129 114.25 56.5487 114.25 56.9629V117.763C114.25 119.558 112.795 121.013 111 121.013H41C39.2051 121.013 37.75 119.558 37.75 117.763V56.9629Z",
18
+ fill: "white",
19
+ stroke: "#3B3552",
20
+ strokeWidth: "1.5"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M56.0651 109.102C55.7245 108.868 55.2755 108.868 54.9349 109.102L53.4009 110.152C52.8355 110.54 52.0568 110.256 51.8726 109.596L51.3729 107.805C51.2619 107.408 50.918 107.119 50.5071 107.079L48.6567 106.898C47.9746 106.831 47.5603 106.113 47.8435 105.489L48.6118 103.796C48.7824 103.42 48.7045 102.978 48.4156 102.683L47.1145 101.355C46.6349 100.865 46.7788 100.049 47.3969 99.7532L49.0738 98.9501C49.4462 98.7717 49.6706 98.3829 49.6389 97.9713L49.496 96.1175C49.4433 95.4342 50.078 94.9015 50.7418 95.0721L52.5427 95.5348C52.9425 95.6375 53.3644 95.4839 53.6047 95.1482L54.6868 93.6362C55.0857 93.0789 55.9143 93.0789 56.3132 93.6362L57.3953 95.1482C57.6356 95.4839 58.0575 95.6375 58.4573 95.5348L60.2581 95.0721C60.9219 94.9015 61.5567 95.4342 61.504 96.1175L61.3611 97.9713C61.3293 98.3829 61.5538 98.7717 61.9262 98.9501L63.6031 99.7532C64.2212 100.049 64.3651 100.865 63.8855 101.355L62.5844 102.683C62.2955 102.978 62.2175 103.42 62.3881 103.796L63.1565 105.489C63.4397 106.113 63.0254 106.831 62.3433 106.898L60.4929 107.079C60.082 107.119 59.738 107.408 59.6271 107.805L59.1274 109.596C58.9431 110.256 58.1645 110.54 57.5991 110.152L56.0651 109.102Z",
25
+ fill: "#3040D6",
26
+ fillOpacity: "0.2"
27
+ }), /*#__PURE__*/React.createElement("path", {
28
+ fillRule: "evenodd",
29
+ clipRule: "evenodd",
30
+ d: "M93.7812 61.3623C93.7812 60.2577 94.6767 59.3623 95.7812 59.3623H109.6C110.429 59.3623 111.1 60.0339 111.1 60.8623V116.204C111.1 117.308 110.205 118.204 109.1 118.204H95.7813C94.6767 118.204 93.7812 117.308 93.7812 116.204V61.3623Z",
31
+ fill: "#3040D6",
32
+ fillOpacity: "0.05"
33
+ }), /*#__PURE__*/React.createElement("path", {
34
+ d: "M37.818 56.175L39.6376 35.25H112.362L114.182 56.175H37.818Z",
35
+ fill: "white",
36
+ stroke: "#3B3552",
37
+ strokeWidth: "1.5"
38
+ }), /*#__PURE__*/React.createElement("path", {
39
+ d: "M40.2845 35.25H111.715L105.584 45.3225L105.314 45.7659L105.634 46.1747L113.461 56.175H38.5393L46.3656 46.1747L46.6855 45.7659L46.4156 45.3225L40.2845 35.25Z",
40
+ fill: "white",
41
+ stroke: "#3B3552",
42
+ strokeWidth: "1.5"
43
+ }), /*#__PURE__*/React.createElement("circle", {
44
+ cx: "64.3",
45
+ cy: "67.1623",
46
+ r: "2.925",
47
+ stroke: "#3B3552",
48
+ strokeWidth: "1.5"
49
+ }), /*#__PURE__*/React.createElement("circle", {
50
+ cx: "87.6999",
51
+ cy: "67.1623",
52
+ r: "2.925",
53
+ stroke: "#3B3552",
54
+ strokeWidth: "1.5"
55
+ }), /*#__PURE__*/React.createElement("path", {
56
+ d: "M87.6998 70.0879V80.8129C87.6998 87.2746 82.4615 92.5129 75.9998 92.5129V92.5129C69.5381 92.5129 64.2998 87.2746 64.2998 80.8129V70.0879",
57
+ stroke: "#3B3552",
58
+ strokeWidth: "1.5"
59
+ }), /*#__PURE__*/React.createElement("path", {
60
+ fillRule: "evenodd",
61
+ clipRule: "evenodd",
62
+ d: "M45.6863 39.4191C45.2942 38.7525 45.7748 37.9121 46.5482 37.9121H105.451C106.225 37.9121 106.705 38.7525 106.313 39.4191L102.463 45.9649C102.372 46.1186 102.325 46.2936 102.325 46.4719V53.028C102.325 53.5803 101.877 54.028 101.325 54.028H50.6748C50.1225 54.028 49.6748 53.5803 49.6748 53.028V46.4719C49.6748 46.2936 49.6271 46.1186 49.5367 45.9649L45.6863 39.4191Z",
63
+ fill: "#3040D6"
64
+ }), /*#__PURE__*/React.createElement("path", {
65
+ d: "M76.0896 25V40.3495",
66
+ stroke: "#3B3552",
67
+ strokeWidth: "1.5",
68
+ strokeLinecap: "round"
69
+ }), /*#__PURE__*/React.createElement("path", {
70
+ d: "M55.5 129.5H72.5",
71
+ stroke: "#3B3552",
72
+ strokeWidth: "1.5",
73
+ strokeLinecap: "round"
74
+ }), /*#__PURE__*/React.createElement("path", {
75
+ d: "M77.1944 129.5H83.8056",
76
+ stroke: "#3B3552",
77
+ strokeWidth: "1.5",
78
+ strokeLinecap: "round"
79
+ }), /*#__PURE__*/React.createElement("path", {
80
+ d: "M96.1796 31.4453L88.5049 44.7384",
81
+ stroke: "#3B3552",
82
+ strokeWidth: "1.5",
83
+ strokeLinecap: "round"
84
+ }), /*#__PURE__*/React.createElement("path", {
85
+ d: "M56 31.4453L63.6748 44.7384",
86
+ stroke: "#3B3552",
87
+ strokeWidth: "1.5",
88
+ strokeLinecap: "round"
89
+ }));
90
+ export default Bag;