react-jupiter 6.0.0-beta.2 → 6.0.0-beta.3

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 (707) hide show
  1. package/accordion/index.js +25 -0
  2. package/{src/components/accordion → accordion}/index.styles.js +6 -6
  3. package/accordion/panel.js +41 -0
  4. package/avatar/index.js +41 -0
  5. package/avatar/index.styles.js +17 -0
  6. package/avatar/theme.js +13 -0
  7. package/button/index.js +210 -0
  8. package/button/index.styles.js +104 -0
  9. package/button/theme.js +58 -0
  10. package/button/utils.js +12 -0
  11. package/card/card-template/index.js +74 -0
  12. package/card/card-template/index.stories.js +110 -0
  13. package/card/card-template/index.style.js +25 -0
  14. package/card/card-template/index.test.js +85 -0
  15. package/card/event-card/constants.js +3 -0
  16. package/card/event-card/event-card-label/index.js +24 -0
  17. package/card/event-card/event-card-label/index.style.js +10 -0
  18. package/card/event-card/event-card-label/index.test.js +23 -0
  19. package/card/event-card/index.js +227 -0
  20. package/card/event-card/index.stories.js +166 -0
  21. package/card/event-card/index.style.js +129 -0
  22. package/card/event-card/index.test.js +79 -0
  23. package/card/index.js +16 -0
  24. package/card/organization-card/index.js +59 -0
  25. package/card/organization-card/index.stories.js +49 -0
  26. package/card/organization-card/index.style.js +10 -0
  27. package/card/organization-card/index.test.js +25 -0
  28. package/card/orgnizer-card/buttons.js +48 -0
  29. package/card/orgnizer-card/index.js +179 -0
  30. package/card/orgnizer-card/index.stories.js +81 -0
  31. package/card/orgnizer-card/index.style.js +58 -0
  32. package/cover/index.js +74 -0
  33. package/cover/index.style.js +48 -0
  34. package/display/index.js +42 -0
  35. package/display/index.style.js +79 -0
  36. package/file-item/fileImgIcon.js +37 -0
  37. package/{src/components/file-item → file-item}/fileImgsFont.js +4 -4
  38. package/file-item/index.js +101 -0
  39. package/file-item/index.style.js +31 -0
  40. package/file-item/theme.js +12 -0
  41. package/file-item/utils.js +3 -0
  42. package/form/captcha/index.js +86 -0
  43. package/form/captcha/index.stories.js +42 -0
  44. package/form/captcha/index.style.js +38 -0
  45. package/form/captcha/index.test.js +31 -0
  46. package/form/checkbox/checkbox-option.js +41 -0
  47. package/form/checkbox/checkbox.js +54 -0
  48. package/form/checkbox/index.js +10 -0
  49. package/form/checkbox/index.stories.js +121 -0
  50. package/form/checkbox/index.style.js +62 -0
  51. package/form/dropdown/index.js +10 -0
  52. package/form/dropdown/index.stories.js +119 -0
  53. package/form/dropdown/index.style.js +57 -0
  54. package/form/dropdown/index.test.js +20 -0
  55. package/form/dropdown/option.js +22 -0
  56. package/form/dropdown/select.js +68 -0
  57. package/form/errorMsg.js +21 -0
  58. package/form/index.js +22 -0
  59. package/form/radio/index.js +10 -0
  60. package/form/radio/index.stories.js +119 -0
  61. package/form/radio/index.style.js +61 -0
  62. package/form/radio/radio-option.js +45 -0
  63. package/form/radio/radio.js +56 -0
  64. package/form/text-input/index.js +92 -0
  65. package/form/text-input/index.stories.js +77 -0
  66. package/form/text-input/index.style.js +57 -0
  67. package/form/text-input/index.test.js +63 -0
  68. package/form/textarea/index.js +59 -0
  69. package/form/textarea/index.stories.js +90 -0
  70. package/form/textarea/index.style.js +25 -0
  71. package/form/theme.js +16 -0
  72. package/form-v7/captcha/index.js +101 -0
  73. package/form-v7/captcha/index.stories.js +60 -0
  74. package/form-v7/captcha/index.style.js +38 -0
  75. package/form-v7/captcha/index.test.js +31 -0
  76. package/form-v7/checkbox/checkbox-option.js +44 -0
  77. package/form-v7/checkbox/checkbox.js +70 -0
  78. package/form-v7/checkbox/index.js +10 -0
  79. package/form-v7/checkbox/index.stories.js +113 -0
  80. package/form-v7/checkbox/index.style.js +62 -0
  81. package/form-v7/dropdown/index.js +10 -0
  82. package/form-v7/dropdown/index.stories.js +130 -0
  83. package/form-v7/dropdown/index.style.js +57 -0
  84. package/form-v7/dropdown/index.test.js +20 -0
  85. package/form-v7/dropdown/option.js +18 -0
  86. package/form-v7/dropdown/select.js +85 -0
  87. package/form-v7/errorMsg.js +21 -0
  88. package/form-v7/file-input/index.js +73 -0
  89. package/form-v7/file-input/index.stories.js +73 -0
  90. package/form-v7/file-input/index.style.js +62 -0
  91. package/form-v7/file-input/index.test.js +63 -0
  92. package/form-v7/form/index.stories.js +276 -0
  93. package/form-v7/index.js +25 -0
  94. package/form-v7/index.style.js +11 -0
  95. package/form-v7/label/index.js +31 -0
  96. package/form-v7/label/index.style.js +12 -0
  97. package/form-v7/radio/index.js +10 -0
  98. package/form-v7/radio/index.stories.js +117 -0
  99. package/form-v7/radio/index.style.js +61 -0
  100. package/form-v7/radio/radio-option.js +45 -0
  101. package/form-v7/radio/radio.js +75 -0
  102. package/form-v7/text-input/index.js +132 -0
  103. package/form-v7/text-input/index.stories.js +96 -0
  104. package/form-v7/text-input/index.style.js +49 -0
  105. package/form-v7/text-input/index.test.js +63 -0
  106. package/form-v7/textarea/index.js +71 -0
  107. package/form-v7/textarea/index.stories.js +91 -0
  108. package/form-v7/textarea/index.style.js +25 -0
  109. package/form-v7/theme.js +20 -0
  110. package/{src/components/globalStyle.js → globalStyle.js} +4 -4
  111. package/grid/index.js +83 -0
  112. package/{dist/components/icon → icon}/iconFont.js +4 -4
  113. package/icon/index.js +116 -0
  114. package/icon/index.styles.js +12 -0
  115. package/icon/theme.js +23 -0
  116. package/index.js +75 -0
  117. package/modal/index.js +100 -0
  118. package/modal/index.style.js +40 -0
  119. package/modal/theme.js +11 -0
  120. package/numeric-summery-report/index.js +28 -0
  121. package/numeric-summery-report/index.style.js +16 -0
  122. package/package.json +11 -130
  123. package/product-menu/index.js +10 -0
  124. package/product-menu/index.style.js +38 -0
  125. package/product-menu/menu-item.js +23 -0
  126. package/product-menu/menu.js +88 -0
  127. package/product-menu/theme.js +16 -0
  128. package/product-owner/index.js +85 -0
  129. package/product-owner/index.style.js +16 -0
  130. package/product-properties/index.js +65 -0
  131. package/product-properties/index.style.js +14 -0
  132. package/product-properties/product-property/index.js +49 -0
  133. package/product-properties/product-property/index.style.js +9 -0
  134. package/progress-bar/index.js +46 -0
  135. package/{dist/components/progress-bar → progress-bar}/index.styles.js +11 -11
  136. package/responsive/index.js +44 -0
  137. package/show-date/index.js +25 -0
  138. package/spacing/core.js +106 -0
  139. package/spacing/index.js +10 -0
  140. package/spacing/margin/index.js +26 -0
  141. package/spacing/padding/index.js +26 -0
  142. package/table/actionCell.js +57 -0
  143. package/table/index.js +56 -0
  144. package/{src/components/table → table}/index.style.js +31 -31
  145. package/table/tableHeaderRow.js +28 -0
  146. package/table/tableRow.js +60 -0
  147. package/table/theme.js +8 -0
  148. package/tabs/index.js +10 -0
  149. package/tabs/index.style.js +35 -0
  150. package/tabs/tabPanel.js +17 -0
  151. package/tabs/tabs.js +71 -0
  152. package/tabs/theme.js +10 -0
  153. package/themes.js +97 -0
  154. package/titled-avatar/index.js +48 -0
  155. package/titled-avatar/index.style.js +30 -0
  156. package/typography/heading/index.js +59 -0
  157. package/typography/heading/index.stories.js +94 -0
  158. package/typography/heading/index.styles.js +69 -0
  159. package/typography/heading/index.test.js +122 -0
  160. package/typography/index.js +16 -0
  161. package/typography/link/index.js +82 -0
  162. package/typography/link/index.stories.js +70 -0
  163. package/typography/link/index.styles.js +8 -0
  164. package/typography/link/index.test.js +60 -0
  165. package/typography/paragraph/index.js +37 -0
  166. package/typography/paragraph/index.stories.js +56 -0
  167. package/typography/paragraph/index.styles.js +12 -0
  168. package/typography/paragraph/index.test.js +47 -0
  169. package/typography/text/index.js +156 -0
  170. package/typography/text/index.stories.js +196 -0
  171. package/typography/text/index.styles.js +73 -0
  172. package/typography/text/index.test.js +333 -0
  173. package/typography/theme.js +66 -0
  174. package/typography/utils.js +53 -0
  175. package/utils/date.js +7 -0
  176. package/utils/detectMobile.js +15 -0
  177. package/utils/index.js +7 -0
  178. package/utils/media-query.js +12 -0
  179. package/utils/numbers.js +25 -0
  180. package/utils/test.js +6 -0
  181. package/utils/theme.js +67 -0
  182. package/.babelrc +0 -12
  183. package/.env +0 -3
  184. package/.eslintignore +0 -2
  185. package/.eslintrc +0 -18
  186. package/.eslintrc.js +0 -47
  187. package/.eslintrc.json +0 -16
  188. package/.flowconfig +0 -0
  189. package/.storybook/main.js +0 -27
  190. package/.storybook/preview-head.html +0 -1
  191. package/.storybook/preview.js +0 -30
  192. package/.storybook/style.css +0 -9
  193. package/.vscode/settings.json +0 -4
  194. package/__mocks__/fileMock.js +0 -1
  195. package/config-overrides.js +0 -34
  196. package/dist/App.js +0 -13
  197. package/dist/components/accordion/index.js +0 -25
  198. package/dist/components/accordion/index.stories.js +0 -82
  199. package/dist/components/accordion/index.styles.js +0 -52
  200. package/dist/components/accordion/panel.js +0 -41
  201. package/dist/components/avatar/index.js +0 -41
  202. package/dist/components/avatar/index.stories.js +0 -59
  203. package/dist/components/avatar/index.styles.js +0 -17
  204. package/dist/components/avatar/index.test.js +0 -10
  205. package/dist/components/avatar/theme.js +0 -13
  206. package/dist/components/button/__snapshots__/index.test.js.snap +0 -489
  207. package/dist/components/button/index.js +0 -209
  208. package/dist/components/button/index.stories.js +0 -304
  209. package/dist/components/button/index.styles.js +0 -104
  210. package/dist/components/button/theme.js +0 -58
  211. package/dist/components/button/utils.js +0 -12
  212. package/dist/components/card/card-template/index.js +0 -74
  213. package/dist/components/card/card-template/index.stories.js +0 -110
  214. package/dist/components/card/card-template/index.style.js +0 -25
  215. package/dist/components/card/card-template/index.test.js +0 -85
  216. package/dist/components/card/event-card/constants.js +0 -3
  217. package/dist/components/card/event-card/event-card-label/index.js +0 -24
  218. package/dist/components/card/event-card/event-card-label/index.style.js +0 -10
  219. package/dist/components/card/event-card/event-card-label/index.test.js +0 -23
  220. package/dist/components/card/event-card/index.js +0 -227
  221. package/dist/components/card/event-card/index.stories.js +0 -166
  222. package/dist/components/card/event-card/index.style.js +0 -129
  223. package/dist/components/card/event-card/index.test.js +0 -79
  224. package/dist/components/card/index.js +0 -16
  225. package/dist/components/card/organization-card/index.js +0 -59
  226. package/dist/components/card/organization-card/index.stories.js +0 -49
  227. package/dist/components/card/organization-card/index.style.js +0 -10
  228. package/dist/components/card/organization-card/index.test.js +0 -25
  229. package/dist/components/card/orgnizer-card/buttons.js +0 -48
  230. package/dist/components/card/orgnizer-card/index.js +0 -179
  231. package/dist/components/card/orgnizer-card/index.stories.js +0 -81
  232. package/dist/components/card/orgnizer-card/index.style.js +0 -58
  233. package/dist/components/cover/index.js +0 -74
  234. package/dist/components/cover/index.style.js +0 -48
  235. package/dist/components/cover/index.test.js +0 -25
  236. package/dist/components/display/index.js +0 -42
  237. package/dist/components/display/index.style.js +0 -79
  238. package/dist/components/file-item/fileImgIcon.js +0 -37
  239. package/dist/components/file-item/fileImgsFont.js +0 -800
  240. package/dist/components/file-item/index.js +0 -101
  241. package/dist/components/file-item/index.stories.js +0 -71
  242. package/dist/components/file-item/index.style.js +0 -31
  243. package/dist/components/file-item/index.test.js +0 -106
  244. package/dist/components/file-item/theme.js +0 -12
  245. package/dist/components/file-item/utils.js +0 -3
  246. package/dist/components/form/captcha/index.js +0 -86
  247. package/dist/components/form/captcha/index.stories.js +0 -42
  248. package/dist/components/form/captcha/index.style.js +0 -38
  249. package/dist/components/form/captcha/index.test.js +0 -31
  250. package/dist/components/form/checkbox/checkbox-option.js +0 -41
  251. package/dist/components/form/checkbox/checkbox.js +0 -54
  252. package/dist/components/form/checkbox/index.js +0 -10
  253. package/dist/components/form/checkbox/index.stories.js +0 -121
  254. package/dist/components/form/checkbox/index.style.js +0 -62
  255. package/dist/components/form/dropdown/index.js +0 -10
  256. package/dist/components/form/dropdown/index.stories.js +0 -119
  257. package/dist/components/form/dropdown/index.style.js +0 -57
  258. package/dist/components/form/dropdown/index.test.js +0 -20
  259. package/dist/components/form/dropdown/option.js +0 -22
  260. package/dist/components/form/dropdown/select.js +0 -68
  261. package/dist/components/form/errorMsg.js +0 -21
  262. package/dist/components/form/index.js +0 -22
  263. package/dist/components/form/radio/index.js +0 -10
  264. package/dist/components/form/radio/index.stories.js +0 -119
  265. package/dist/components/form/radio/index.style.js +0 -61
  266. package/dist/components/form/radio/radio-option.js +0 -45
  267. package/dist/components/form/radio/radio.js +0 -56
  268. package/dist/components/form/text-input/index.js +0 -92
  269. package/dist/components/form/text-input/index.stories.js +0 -77
  270. package/dist/components/form/text-input/index.style.js +0 -57
  271. package/dist/components/form/text-input/index.test.js +0 -63
  272. package/dist/components/form/textarea/index.js +0 -59
  273. package/dist/components/form/textarea/index.stories.js +0 -90
  274. package/dist/components/form/textarea/index.style.js +0 -25
  275. package/dist/components/form/theme.js +0 -16
  276. package/dist/components/form-v7/captcha/index.js +0 -101
  277. package/dist/components/form-v7/captcha/index.stories.js +0 -60
  278. package/dist/components/form-v7/captcha/index.style.js +0 -38
  279. package/dist/components/form-v7/captcha/index.test.js +0 -31
  280. package/dist/components/form-v7/checkbox/checkbox-option.js +0 -44
  281. package/dist/components/form-v7/checkbox/checkbox.js +0 -70
  282. package/dist/components/form-v7/checkbox/index.js +0 -10
  283. package/dist/components/form-v7/checkbox/index.stories.js +0 -113
  284. package/dist/components/form-v7/checkbox/index.style.js +0 -62
  285. package/dist/components/form-v7/dropdown/index.js +0 -10
  286. package/dist/components/form-v7/dropdown/index.stories.js +0 -130
  287. package/dist/components/form-v7/dropdown/index.style.js +0 -57
  288. package/dist/components/form-v7/dropdown/index.test.js +0 -20
  289. package/dist/components/form-v7/dropdown/option.js +0 -18
  290. package/dist/components/form-v7/dropdown/select.js +0 -85
  291. package/dist/components/form-v7/errorMsg.js +0 -21
  292. package/dist/components/form-v7/file-input/index.js +0 -73
  293. package/dist/components/form-v7/file-input/index.stories.js +0 -73
  294. package/dist/components/form-v7/file-input/index.style.js +0 -62
  295. package/dist/components/form-v7/file-input/index.test.js +0 -63
  296. package/dist/components/form-v7/form/index.stories.js +0 -276
  297. package/dist/components/form-v7/index.js +0 -25
  298. package/dist/components/form-v7/index.style.js +0 -11
  299. package/dist/components/form-v7/label/index.js +0 -31
  300. package/dist/components/form-v7/label/index.style.js +0 -12
  301. package/dist/components/form-v7/radio/index.js +0 -10
  302. package/dist/components/form-v7/radio/index.stories.js +0 -117
  303. package/dist/components/form-v7/radio/index.style.js +0 -61
  304. package/dist/components/form-v7/radio/radio-option.js +0 -45
  305. package/dist/components/form-v7/radio/radio.js +0 -75
  306. package/dist/components/form-v7/text-input/index.js +0 -132
  307. package/dist/components/form-v7/text-input/index.stories.js +0 -96
  308. package/dist/components/form-v7/text-input/index.style.js +0 -49
  309. package/dist/components/form-v7/text-input/index.test.js +0 -63
  310. package/dist/components/form-v7/textarea/index.js +0 -71
  311. package/dist/components/form-v7/textarea/index.stories.js +0 -91
  312. package/dist/components/form-v7/textarea/index.style.js +0 -25
  313. package/dist/components/form-v7/theme.js +0 -20
  314. package/dist/components/globalStyle.js +0 -28
  315. package/dist/components/grid/index.js +0 -83
  316. package/dist/components/icon/index.js +0 -116
  317. package/dist/components/icon/index.stories.js +0 -45
  318. package/dist/components/icon/index.styles.js +0 -12
  319. package/dist/components/icon/index.test.js +0 -66
  320. package/dist/components/icon/theme.js +0 -23
  321. package/dist/components/index.js +0 -75
  322. package/dist/components/modal/index.js +0 -100
  323. package/dist/components/modal/index.stories.js +0 -86
  324. package/dist/components/modal/index.style.js +0 -40
  325. package/dist/components/modal/theme.js +0 -11
  326. package/dist/components/numeric-summery-report/index.js +0 -28
  327. package/dist/components/numeric-summery-report/index.stories.js +0 -37
  328. package/dist/components/numeric-summery-report/index.style.js +0 -16
  329. package/dist/components/numeric-summery-report/index.test.js +0 -22
  330. package/dist/components/product-menu/index.js +0 -10
  331. package/dist/components/product-menu/index.stories.js +0 -33
  332. package/dist/components/product-menu/index.style.js +0 -38
  333. package/dist/components/product-menu/index.test.js +0 -27
  334. package/dist/components/product-menu/menu-item.js +0 -23
  335. package/dist/components/product-menu/menu.js +0 -88
  336. package/dist/components/product-menu/theme.js +0 -16
  337. package/dist/components/product-owner/index.js +0 -85
  338. package/dist/components/product-owner/index.style.js +0 -16
  339. package/dist/components/product-owner/index.test.js +0 -75
  340. package/dist/components/product-properties/index.js +0 -65
  341. package/dist/components/product-properties/index.stories.js +0 -52
  342. package/dist/components/product-properties/index.style.js +0 -14
  343. package/dist/components/product-properties/index.test.js +0 -31
  344. package/dist/components/product-properties/product-property/index.js +0 -49
  345. package/dist/components/product-properties/product-property/index.style.js +0 -9
  346. package/dist/components/progress-bar/index.js +0 -46
  347. package/dist/components/progress-bar/index.stories.js +0 -33
  348. package/dist/components/responsive/index.js +0 -44
  349. package/dist/components/show-date/index.js +0 -25
  350. package/dist/components/show-date/index.stories.js +0 -51
  351. package/dist/components/show-date/index.test.js +0 -24
  352. package/dist/components/spacing/core.js +0 -106
  353. package/dist/components/spacing/index.js +0 -10
  354. package/dist/components/spacing/margin/index.js +0 -26
  355. package/dist/components/spacing/padding/index.js +0 -26
  356. package/dist/components/storybook.css +0 -54
  357. package/dist/components/table/actionCell.js +0 -57
  358. package/dist/components/table/index.js +0 -56
  359. package/dist/components/table/index.stories.js +0 -188
  360. package/dist/components/table/index.style.js +0 -107
  361. package/dist/components/table/index.test.js +0 -119
  362. package/dist/components/table/tableHeaderRow.js +0 -28
  363. package/dist/components/table/tableRow.js +0 -60
  364. package/dist/components/table/theme.js +0 -8
  365. package/dist/components/tabs/index.js +0 -10
  366. package/dist/components/tabs/index.stories.js +0 -61
  367. package/dist/components/tabs/index.style.js +0 -35
  368. package/dist/components/tabs/index.test.js +0 -30
  369. package/dist/components/tabs/tabPanel.js +0 -17
  370. package/dist/components/tabs/tabs.js +0 -71
  371. package/dist/components/tabs/theme.js +0 -10
  372. package/dist/components/themes.js +0 -97
  373. package/dist/components/titled-avatar/index.js +0 -48
  374. package/dist/components/titled-avatar/index.stories.js +0 -52
  375. package/dist/components/titled-avatar/index.style.js +0 -30
  376. package/dist/components/titled-avatar/index.test.js +0 -25
  377. package/dist/components/typography/heading/index.js +0 -59
  378. package/dist/components/typography/heading/index.stories.js +0 -94
  379. package/dist/components/typography/heading/index.styles.js +0 -69
  380. package/dist/components/typography/heading/index.test.js +0 -122
  381. package/dist/components/typography/index.js +0 -16
  382. package/dist/components/typography/link/index.js +0 -82
  383. package/dist/components/typography/link/index.stories.js +0 -70
  384. package/dist/components/typography/link/index.styles.js +0 -8
  385. package/dist/components/typography/link/index.test.js +0 -60
  386. package/dist/components/typography/paragraph/index.js +0 -37
  387. package/dist/components/typography/paragraph/index.stories.js +0 -56
  388. package/dist/components/typography/paragraph/index.styles.js +0 -12
  389. package/dist/components/typography/paragraph/index.test.js +0 -47
  390. package/dist/components/typography/text/index.js +0 -156
  391. package/dist/components/typography/text/index.stories.js +0 -196
  392. package/dist/components/typography/text/index.styles.js +0 -73
  393. package/dist/components/typography/text/index.test.js +0 -333
  394. package/dist/components/typography/theme.js +0 -66
  395. package/dist/components/typography/utils.js +0 -53
  396. package/dist/components/typography/utils.test.js +0 -188
  397. package/dist/components/utils/date.js +0 -7
  398. package/dist/components/utils/date.test.js +0 -15
  399. package/dist/components/utils/detectMobile.js +0 -15
  400. package/dist/components/utils/index.js +0 -7
  401. package/dist/components/utils/media-query.js +0 -12
  402. package/dist/components/utils/numbers.js +0 -25
  403. package/dist/components/utils/test.js +0 -6
  404. package/dist/components/utils/theme.js +0 -67
  405. package/dist/docs/App.css +0 -33
  406. package/dist/docs/App.js +0 -52
  407. package/dist/docs/assets/ads-label.svg +0 -13
  408. package/dist/docs/assets/avatar-sample.jpeg +0 -0
  409. package/dist/docs/assets/cover-sample.png +0 -0
  410. package/dist/docs/assets/fonts/filesImgs.woff +0 -0
  411. package/dist/docs/assets/fonts/icomoon.woff +0 -0
  412. package/dist/docs/assets/fonts/iransharp_bold_web.woff +0 -0
  413. package/dist/docs/assets/fonts/iransharp_bold_web.woff2 +0 -0
  414. package/dist/docs/assets/fonts/iransharp_regular_web.woff +0 -0
  415. package/dist/docs/assets/fonts/iransharp_regular_web.woff2 +0 -0
  416. package/dist/docs/assets/fonts/wer6t7890- +0 -0
  417. package/dist/docs/assets/logo.svg +0 -7
  418. package/dist/docs/components/header/index.js +0 -10
  419. package/dist/docs/components/header/index.styles.js +0 -10
  420. package/dist/docs/components/side-navigation/index.js +0 -167
  421. package/dist/docs/components/side-navigation/index.styles.js +0 -46
  422. package/dist/docs/containers/avatar/index.js +0 -92
  423. package/dist/docs/containers/button/index.js +0 -295
  424. package/dist/docs/containers/card/index.js +0 -153
  425. package/dist/docs/containers/cover/index.js +0 -77
  426. package/dist/docs/containers/form/index.js +0 -41
  427. package/dist/docs/containers/home/index.js +0 -41
  428. package/dist/docs/containers/icon/index.js +0 -56
  429. package/dist/docs/containers/icons/index.js +0 -1488
  430. package/dist/docs/containers/product/index.js +0 -123
  431. package/dist/docs/containers/typography/index.js +0 -138
  432. package/dist/docs/globalStyle.js +0 -58
  433. package/dist/index.css +0 -3
  434. package/dist/index.js +0 -18
  435. package/dist/playground/index.js +0 -144
  436. package/dist/playground.css +0 -26
  437. package/dist/serviceWorker.js +0 -135
  438. package/dist/setupTests.js +0 -24
  439. package/dist/stories/Page.js +0 -67
  440. package/dist/storybook.css +0 -58
  441. package/dist/styles.css +0 -3
  442. package/dist/test-utils.js +0 -21
  443. package/doctor-storybook.log +0 -25
  444. package/migration-storybook.log +0 -329
  445. package/package.lib.json +0 -75
  446. package/postcss.config.js +0 -6
  447. package/public/assets/fonts/iransharp_bold_web.woff2 +0 -0
  448. package/public/assets/fonts/iransharp_light_web.woff2 +0 -0
  449. package/public/assets/fonts/iransharp_regular_web.woff2 +0 -0
  450. package/public/favicon.ico +0 -0
  451. package/public/index.html +0 -43
  452. package/public/logo.svg +0 -1
  453. package/public/logo142.svg +0 -1
  454. package/public/manifest.json +0 -25
  455. package/public/robots.txt +0 -2
  456. package/src/App.js +0 -13
  457. package/src/components/accordion/index.js +0 -25
  458. package/src/components/accordion/index.stories.js +0 -82
  459. package/src/components/accordion/panel.js +0 -41
  460. package/src/components/avatar/index.js +0 -41
  461. package/src/components/avatar/index.stories.js +0 -59
  462. package/src/components/avatar/index.styles.js +0 -17
  463. package/src/components/avatar/index.test.js +0 -10
  464. package/src/components/avatar/theme.js +0 -13
  465. package/src/components/button/__snapshots__/index.test.js.snap +0 -489
  466. package/src/components/button/index.js +0 -209
  467. package/src/components/button/index.stories.js +0 -304
  468. package/src/components/button/index.styles.js +0 -104
  469. package/src/components/button/theme.js +0 -60
  470. package/src/components/button/utils.js +0 -12
  471. package/src/components/card/card-template/index.js +0 -74
  472. package/src/components/card/card-template/index.stories.js +0 -110
  473. package/src/components/card/card-template/index.style.js +0 -25
  474. package/src/components/card/card-template/index.test.js +0 -85
  475. package/src/components/card/event-card/constants.js +0 -3
  476. package/src/components/card/event-card/event-card-label/index.js +0 -24
  477. package/src/components/card/event-card/event-card-label/index.style.js +0 -10
  478. package/src/components/card/event-card/event-card-label/index.test.js +0 -23
  479. package/src/components/card/event-card/index.js +0 -227
  480. package/src/components/card/event-card/index.stories.js +0 -166
  481. package/src/components/card/event-card/index.style.js +0 -129
  482. package/src/components/card/event-card/index.test.js +0 -79
  483. package/src/components/card/index.js +0 -16
  484. package/src/components/card/organization-card/index.js +0 -59
  485. package/src/components/card/organization-card/index.stories.js +0 -49
  486. package/src/components/card/organization-card/index.style.js +0 -10
  487. package/src/components/card/organization-card/index.test.js +0 -25
  488. package/src/components/card/orgnizer-card/buttons.js +0 -48
  489. package/src/components/card/orgnizer-card/index.js +0 -179
  490. package/src/components/card/orgnizer-card/index.stories.js +0 -81
  491. package/src/components/card/orgnizer-card/index.style.js +0 -58
  492. package/src/components/cover/index.js +0 -74
  493. package/src/components/cover/index.style.js +0 -48
  494. package/src/components/cover/index.test.js +0 -25
  495. package/src/components/display/index.js +0 -42
  496. package/src/components/display/index.style.js +0 -80
  497. package/src/components/file-item/fileImgIcon.js +0 -37
  498. package/src/components/file-item/index.js +0 -101
  499. package/src/components/file-item/index.stories.js +0 -71
  500. package/src/components/file-item/index.style.js +0 -31
  501. package/src/components/file-item/index.test.js +0 -106
  502. package/src/components/file-item/theme.js +0 -12
  503. package/src/components/file-item/utils.js +0 -3
  504. package/src/components/form/captcha/index.js +0 -86
  505. package/src/components/form/captcha/index.stories.js +0 -42
  506. package/src/components/form/captcha/index.style.js +0 -38
  507. package/src/components/form/captcha/index.test.js +0 -31
  508. package/src/components/form/checkbox/checkbox-option.js +0 -41
  509. package/src/components/form/checkbox/checkbox.js +0 -54
  510. package/src/components/form/checkbox/index.js +0 -10
  511. package/src/components/form/checkbox/index.stories.js +0 -121
  512. package/src/components/form/checkbox/index.style.js +0 -62
  513. package/src/components/form/dropdown/index.js +0 -10
  514. package/src/components/form/dropdown/index.stories.js +0 -119
  515. package/src/components/form/dropdown/index.style.js +0 -57
  516. package/src/components/form/dropdown/index.test.js +0 -20
  517. package/src/components/form/dropdown/option.js +0 -22
  518. package/src/components/form/dropdown/select.js +0 -68
  519. package/src/components/form/errorMsg.js +0 -21
  520. package/src/components/form/index.js +0 -22
  521. package/src/components/form/radio/index.js +0 -10
  522. package/src/components/form/radio/index.stories.js +0 -119
  523. package/src/components/form/radio/index.style.js +0 -61
  524. package/src/components/form/radio/radio-option.js +0 -45
  525. package/src/components/form/radio/radio.js +0 -56
  526. package/src/components/form/text-input/index.js +0 -92
  527. package/src/components/form/text-input/index.stories.js +0 -77
  528. package/src/components/form/text-input/index.style.js +0 -57
  529. package/src/components/form/text-input/index.test.js +0 -63
  530. package/src/components/form/textarea/index.js +0 -59
  531. package/src/components/form/textarea/index.stories.js +0 -90
  532. package/src/components/form/textarea/index.style.js +0 -25
  533. package/src/components/form/theme.js +0 -16
  534. package/src/components/form-v7/captcha/index.js +0 -101
  535. package/src/components/form-v7/captcha/index.stories.js +0 -60
  536. package/src/components/form-v7/captcha/index.style.js +0 -38
  537. package/src/components/form-v7/captcha/index.test.js +0 -31
  538. package/src/components/form-v7/checkbox/checkbox-option.js +0 -44
  539. package/src/components/form-v7/checkbox/checkbox.js +0 -70
  540. package/src/components/form-v7/checkbox/index.js +0 -10
  541. package/src/components/form-v7/checkbox/index.stories.js +0 -113
  542. package/src/components/form-v7/checkbox/index.style.js +0 -62
  543. package/src/components/form-v7/dropdown/index.js +0 -10
  544. package/src/components/form-v7/dropdown/index.stories.js +0 -130
  545. package/src/components/form-v7/dropdown/index.style.js +0 -57
  546. package/src/components/form-v7/dropdown/index.test.js +0 -20
  547. package/src/components/form-v7/dropdown/option.js +0 -18
  548. package/src/components/form-v7/dropdown/select.js +0 -85
  549. package/src/components/form-v7/errorMsg.js +0 -21
  550. package/src/components/form-v7/file-input/index.js +0 -73
  551. package/src/components/form-v7/file-input/index.stories.js +0 -73
  552. package/src/components/form-v7/file-input/index.style.js +0 -62
  553. package/src/components/form-v7/file-input/index.test.js +0 -63
  554. package/src/components/form-v7/form/index.stories.js +0 -276
  555. package/src/components/form-v7/index.js +0 -25
  556. package/src/components/form-v7/index.style.js +0 -11
  557. package/src/components/form-v7/label/index.js +0 -31
  558. package/src/components/form-v7/label/index.style.js +0 -12
  559. package/src/components/form-v7/radio/index.js +0 -10
  560. package/src/components/form-v7/radio/index.stories.js +0 -117
  561. package/src/components/form-v7/radio/index.style.js +0 -61
  562. package/src/components/form-v7/radio/radio-option.js +0 -45
  563. package/src/components/form-v7/radio/radio.js +0 -75
  564. package/src/components/form-v7/text-input/index.js +0 -132
  565. package/src/components/form-v7/text-input/index.stories.js +0 -96
  566. package/src/components/form-v7/text-input/index.style.js +0 -49
  567. package/src/components/form-v7/text-input/index.test.js +0 -63
  568. package/src/components/form-v7/textarea/index.js +0 -71
  569. package/src/components/form-v7/textarea/index.stories.js +0 -91
  570. package/src/components/form-v7/textarea/index.style.js +0 -25
  571. package/src/components/form-v7/theme.js +0 -20
  572. package/src/components/grid/index.js +0 -83
  573. package/src/components/icon/iconFont.js +0 -806
  574. package/src/components/icon/index.js +0 -116
  575. package/src/components/icon/index.stories.js +0 -45
  576. package/src/components/icon/index.styles.js +0 -12
  577. package/src/components/icon/index.test.js +0 -66
  578. package/src/components/icon/theme.js +0 -23
  579. package/src/components/index.js +0 -75
  580. package/src/components/modal/index.js +0 -100
  581. package/src/components/modal/index.stories.js +0 -86
  582. package/src/components/modal/index.style.js +0 -40
  583. package/src/components/modal/theme.js +0 -11
  584. package/src/components/numeric-summery-report/index.js +0 -28
  585. package/src/components/numeric-summery-report/index.stories.js +0 -37
  586. package/src/components/numeric-summery-report/index.style.js +0 -16
  587. package/src/components/numeric-summery-report/index.test.js +0 -22
  588. package/src/components/product-menu/index.js +0 -10
  589. package/src/components/product-menu/index.stories.js +0 -33
  590. package/src/components/product-menu/index.style.js +0 -38
  591. package/src/components/product-menu/index.test.js +0 -27
  592. package/src/components/product-menu/menu-item.js +0 -23
  593. package/src/components/product-menu/menu.js +0 -88
  594. package/src/components/product-menu/theme.js +0 -16
  595. package/src/components/product-owner/index.js +0 -85
  596. package/src/components/product-owner/index.style.js +0 -16
  597. package/src/components/product-owner/index.test.js +0 -75
  598. package/src/components/product-properties/index.js +0 -65
  599. package/src/components/product-properties/index.stories.js +0 -52
  600. package/src/components/product-properties/index.style.js +0 -14
  601. package/src/components/product-properties/index.test.js +0 -31
  602. package/src/components/product-properties/product-property/index.js +0 -49
  603. package/src/components/product-properties/product-property/index.style.js +0 -9
  604. package/src/components/progress-bar/index.js +0 -46
  605. package/src/components/progress-bar/index.stories.js +0 -33
  606. package/src/components/progress-bar/index.styles.js +0 -65
  607. package/src/components/responsive/index.js +0 -44
  608. package/src/components/show-date/index.js +0 -25
  609. package/src/components/show-date/index.stories.js +0 -51
  610. package/src/components/show-date/index.style.js +0 -1
  611. package/src/components/show-date/index.test.js +0 -24
  612. package/src/components/spacing/core.js +0 -106
  613. package/src/components/spacing/index.js +0 -10
  614. package/src/components/spacing/margin/index.js +0 -26
  615. package/src/components/spacing/padding/index.js +0 -26
  616. package/src/components/storybook.css +0 -54
  617. package/src/components/table/actionCell.js +0 -57
  618. package/src/components/table/index.js +0 -56
  619. package/src/components/table/index.stories.js +0 -188
  620. package/src/components/table/index.test.js +0 -119
  621. package/src/components/table/tableHeaderRow.js +0 -28
  622. package/src/components/table/tableRow.js +0 -60
  623. package/src/components/table/theme.js +0 -8
  624. package/src/components/tabs/index.js +0 -10
  625. package/src/components/tabs/index.stories.js +0 -61
  626. package/src/components/tabs/index.style.js +0 -35
  627. package/src/components/tabs/index.test.js +0 -30
  628. package/src/components/tabs/tabPanel.js +0 -17
  629. package/src/components/tabs/tabs.js +0 -71
  630. package/src/components/tabs/theme.js +0 -10
  631. package/src/components/themes.js +0 -97
  632. package/src/components/titled-avatar/index.js +0 -48
  633. package/src/components/titled-avatar/index.stories.js +0 -52
  634. package/src/components/titled-avatar/index.style.js +0 -30
  635. package/src/components/titled-avatar/index.test.js +0 -25
  636. package/src/components/typography/heading/index.js +0 -59
  637. package/src/components/typography/heading/index.stories.js +0 -94
  638. package/src/components/typography/heading/index.styles.js +0 -69
  639. package/src/components/typography/heading/index.test.js +0 -122
  640. package/src/components/typography/index.js +0 -16
  641. package/src/components/typography/index.styles.js +0 -1
  642. package/src/components/typography/link/index.js +0 -82
  643. package/src/components/typography/link/index.stories.js +0 -70
  644. package/src/components/typography/link/index.styles.js +0 -8
  645. package/src/components/typography/link/index.test.js +0 -60
  646. package/src/components/typography/paragraph/index.js +0 -37
  647. package/src/components/typography/paragraph/index.stories.js +0 -56
  648. package/src/components/typography/paragraph/index.styles.js +0 -12
  649. package/src/components/typography/paragraph/index.test.js +0 -47
  650. package/src/components/typography/text/index.js +0 -156
  651. package/src/components/typography/text/index.stories.js +0 -196
  652. package/src/components/typography/text/index.styles.js +0 -73
  653. package/src/components/typography/text/index.test.js +0 -333
  654. package/src/components/typography/theme.js +0 -66
  655. package/src/components/typography/utils.js +0 -53
  656. package/src/components/typography/utils.test.js +0 -188
  657. package/src/components/utils/date.js +0 -7
  658. package/src/components/utils/date.test.js +0 -15
  659. package/src/components/utils/detectMobile.js +0 -15
  660. package/src/components/utils/index.js +0 -7
  661. package/src/components/utils/media-query.js +0 -12
  662. package/src/components/utils/numbers.js +0 -25
  663. package/src/components/utils/test.js +0 -6
  664. package/src/components/utils/theme.js +0 -67
  665. package/src/docs/App.css +0 -33
  666. package/src/docs/App.js +0 -52
  667. package/src/docs/assets/ads-label.svg +0 -13
  668. package/src/docs/assets/avatar-sample.jpeg +0 -0
  669. package/src/docs/assets/cover-sample.png +0 -0
  670. package/src/docs/assets/fonts/filesImgs.woff +0 -0
  671. package/src/docs/assets/fonts/icomoon.woff +0 -0
  672. package/src/docs/assets/fonts/iransharp_bold_web.woff +0 -0
  673. package/src/docs/assets/fonts/iransharp_bold_web.woff2 +0 -0
  674. package/src/docs/assets/fonts/iransharp_regular_web.woff +0 -0
  675. package/src/docs/assets/fonts/iransharp_regular_web.woff2 +0 -0
  676. package/src/docs/assets/fonts/wer6t7890- +0 -0
  677. package/src/docs/assets/logo.svg +0 -7
  678. package/src/docs/components/header/index.js +0 -10
  679. package/src/docs/components/header/index.styles.js +0 -10
  680. package/src/docs/components/side-navigation/index.js +0 -167
  681. package/src/docs/components/side-navigation/index.styles.js +0 -46
  682. package/src/docs/containers/avatar/index.js +0 -92
  683. package/src/docs/containers/button/index.js +0 -295
  684. package/src/docs/containers/card/index.js +0 -153
  685. package/src/docs/containers/cover/index.js +0 -77
  686. package/src/docs/containers/form/index.js +0 -41
  687. package/src/docs/containers/home/index.js +0 -41
  688. package/src/docs/containers/icon/index.js +0 -56
  689. package/src/docs/containers/icons/index.js +0 -1488
  690. package/src/docs/containers/product/index.js +0 -123
  691. package/src/docs/containers/typography/index.js +0 -138
  692. package/src/docs/globalStyle.js +0 -58
  693. package/src/index.css +0 -3
  694. package/src/index.js +0 -18
  695. package/src/playground/index.js +0 -144
  696. package/src/playground.css +0 -26
  697. package/src/serviceWorker.js +0 -135
  698. package/src/setupTests.js +0 -24
  699. package/src/stories/Page.jsx +0 -67
  700. package/src/storybook.css +0 -58
  701. package/src/styles.css +0 -3
  702. package/src/test-utils.js +0 -21
  703. package/storybook.log +0 -113
  704. package/tailwind.config.js +0 -26
  705. package/update-stories.js +0 -41
  706. /package/{dist/components/show-date → show-date}/index.style.js +0 -0
  707. /package/{dist/components/typography → typography}/index.styles.js +0 -0
@@ -1,329 +0,0 @@
1
- 🔎 checking possible migrations..
2
-
3
- 🔎 found a 'missingStorybookDependencies' migration:
4
- ╭ Automigration detected ───────────────────────────────────────────────────────────────────────────────────────╮
5
- │ │
6
- │ Found the following Storybook packages used in your project, but they are missing from your project │
7
- │ dependencies: │
8
- │ - @storybook/theming: (1 file) │
9
- │ │
10
- │ Referencing missing packages can cause your project to crash. We can automatically add them to your │
11
- │ dependencies. │
12
- │ │
13
- │ More info: │
14
- │ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#failed-to-resolve-import-storybookx-error │
15
- │ │
16
- ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
17
- ? Do you want to run the 'missingStorybookDependencies' migration on your project? › (Y/n)✔ Do you want to run the 'missingStorybookDependencies' migration on your project? … yes
18
- ✅ Installing the following packages as devDependencies: @storybook/theming
19
- ✅ ran missingStorybookDependencies migration
20
-
21
- 🔎 found a 'new-frameworks' migration:
22
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
23
- │ │
24
- │ We've detected your project is not fully setup with the new framework format, which was introduced in │
25
- │ Storybook 7. │
26
- │ │
27
- │ Storybook 7 introduced the concept of frameworks, which abstracts configuration for renderers (e.g. React, │
28
- │ Vue), builders (e.g. Webpack, Vite) and defaults to make integrations easier. │
29
- │ │
30
- │ Your project should be updated to use Storybook's framework: @storybook/react-webpack5. We can attempt to │
31
- │ do this for you automatically. │
32
- │ │
33
- │ Here are the steps this migration will do to migrate your project: │
34
- │ - Remove the following dependencies: │
35
- │ - * @storybook/builder-webpack4 │
36
- │ - * @storybook/manager-webpack4 │
37
- │ - Add the following dependencies: │
38
- │ - * @storybook/react-webpack5 │
39
- │ │
40
- │ │
41
- │ To learn more about the new framework format, see: │
42
- │ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-framework-api │
43
- │ │
44
- │ Webpack 4 users │
45
- │ │
46
- │ Unless you're using Storybook's Vite builder, this automigration will install a Webpack 5 based framework. │
47
- │ │
48
- │ Given you were using Storybook's Webpack 4 builder (default in 6.x, discontinued in 7.0), this could be a │
49
- │ breaking change -- especially if your project has a custom webpack configuration. │
50
- │ │
51
- │ To learn more about migrating from Webpack4, see: │
52
- │ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack4-support-discontinued │
53
- │ │
54
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
55
- ? Do you want to run the 'new-frameworks' migration on your project? › (Y/n)✔ Do you want to run the 'new-frameworks' migration on your project? … yes
56
- ✅ Removing dependencies: @storybook/builder-webpack4, @storybook/manager-webpack4
57
- ✅ Installing new dependencies: @storybook/react-webpack5
58
-
59
- An error occurred while installing dependencies:
60
- NPM error ETARGET - Package target not found.
61
-
62
- Please check the logfile generated at ./storybook.log for troubleshooting and try again.
63
- ❌ error when running new-frameworks migration
64
- HandledError: Error: NPM error ETARGET - Package target not found.
65
-
66
- Please check the logfile generated at ./storybook.log for troubleshooting and try again.
67
- at er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19086:72)
68
- at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:401:771)
69
- ... 3 lines matching cause stack trace ...
70
- at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892) {
71
- handled: true,
72
- cause: Error: NPM error ETARGET - Package target not found.
73
-
74
- Please check the logfile generated at ./storybook.log for troubleshooting and try again.
75
- at er.runAddDeps (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19614:24)
76
- at async er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19083:9)
77
- at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:401:771)
78
- at async runFixes (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:597:1801)
79
- at async automigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
80
- at async doAutomigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:453)
81
- at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892)
82
- }
83
-
84
-
85
- 🔎 found a 'cra5' migration:
86
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────╮
87
- │ │
88
- │ We've detected you are running Create React App (CRA) 5.0.1 which is powered by webpack5. │
89
- │ Your Storybook's main.js files specifies webpack4, which is incompatible. │
90
- │ │
91
- │ In order to work with your version of CRA, we need to install Storybook's @storybook/builder-webpack5. │
92
- │ │
93
- │ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#cra5-upgrade │
94
- │ │
95
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
96
- ? Do you want to run the 'cra5' migration on your project? › (Y/n)✔ Do you want to run the 'cra5' migration on your project? … yes
97
- ✅ Adding dependencies: @storybook/builder-webpack5@6.5.16,webpack@5
98
- ✅ Setting `core.builder` to `@storybook/builder-webpack5` in main.js
99
- ✅ ran cra5 migration
100
-
101
- 🔎 found a 'webpack5' migration:
102
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────╮
103
- │ │
104
- │ We've detected you're running webpack 5.98.0. │
105
- │ Your Storybook's main.js files specifies webpack4, which is incompatible. │
106
- │ │
107
- │ To run Storybook in webpack5-mode, we can install Storybook's @storybook/builder-webpack5 for you. │
108
- │ │
109
- │ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5-manager-build │
110
- │ │
111
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
112
- ? Do you want to run the 'webpack5' migration on your project? › (Y/n)✔ Do you want to run the 'webpack5' migration on your project? … yes
113
- ✅ Adding dependencies: @storybook/builder-webpack5@6.5.16
114
- ✅ Setting `core.builder` to `@storybook/builder-webpack5` in main.js
115
- ✅ ran webpack5 migration
116
- Unable to find .eslintrc config file, skipping
117
-
118
- 🔎 found a 'remove-argtypes-regex' migration:
119
- ╭ Manual migration detected ───────────────────────────────────────────────────────────────────╮
120
- │ │
121
- │ Attention: We've detected that you're using argTypesRegex: │
122
- │ │
123
- │ .storybook/preview.js │
124
- │ 6 | │
125
- │ 7 | export const parameters = { │
126
- │ > 8 | actions: { argTypesRegex: "^on[A-Z].*" }, │
127
- │ | ^^^^^^^^^^^^^ │
128
- │ 9 | controls: { │
129
- │ 10 | matchers: { │
130
- │ 11 | color: /(background|color)$/i, │
131
- │ │
132
- │ Storybook's play functions let you render your stories interactively. │
133
- │ │
134
- │ In the past, play functions mocked action args implicitly by analyzing the argTypesRegex │
135
- │ in your preview.js|ts file. │
136
- │ │
137
- │ However, Storybook 8 changes this behavior, and we now recommend using the │
138
- │ (fn) function to mock your component's methods instead. │
139
- │ │
140
- │ Use the following command to check for implied mocked actions in your play functions: │
141
- │ npx storybook migrate find-implicit-spies --glob="**/*.stories.@(js|jsx|ts|tsx)" │
142
- │ │
143
- │ Then, refer to our docs to migrate your play functions to Storybook 8: │
144
- │ https://storybook.js.org/docs/essentials/actions#via-storybooktest-fn-spy-function │
145
- │ │
146
- ╰──────────────────────────────────────────────────────────────────────────────────────────────╯
147
-
148
- ? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
149
-
150
- 🔎 found a 'removedglobalclientapis' migration:
151
- ╭ Manual migration detected ─────────────────────────────────────────────────────────────────────╮
152
- │ │
153
- │ Attention: We could not automatically make this change. You'll need to do it manually. │
154
- │ │
155
- │ The following APIs (used in ".storybook/preview.js") have been removed from Storybook: │
156
- │ │
157
- │ - addDecorator │
158
- │ │
159
- │ Please see the migration guide for more information: │
160
- │ https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#removed-global-client-apis │
161
- │ │
162
- ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
163
-
164
- ? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
165
-
166
- 🔎 found a 'github-flavored-markdown-mdx' migration:
167
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
168
- │ │
169
- │ In MDX1 you had the option of using GitHub flavored markdown. │
170
- │ │
171
- │ Storybook >= 8.0 uses MDX3 for compiling MDX, and thus no longer supports GFM out of the box. │
172
- │ Because of this you need to explicitly add the GFM plugin in the addon-docs options: │
173
- │ https://storybook.js.org/docs/writing-docs/mdx#markdown-tables-arent-rendering-correctly │
174
- │ │
175
- │ We recommend that you follow the guide in the link above; however, we can add a temporary Storybook addon │
176
- │ to help make this migration easier. │
177
- │ We'll install the addon and add it to your storybook config. │
178
- │ │
179
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
180
- ? Do you want to run the 'github-flavored-markdown-mdx' migration on your project? › (Y/n)✔ Do you want to run the 'github-flavored-markdown-mdx' migration on your project? … yes
181
-
182
- An error occurred while installing dependencies:
183
- NPM error ETARGET - Package target not found.
184
-
185
- Please check the logfile generated at ./storybook.log for troubleshooting and try again.
186
- ❌ error when running github-flavored-markdown-mdx migration
187
- HandledError: Error: NPM error ETARGET - Package target not found.
188
-
189
- Please check the logfile generated at ./storybook.log for troubleshooting and try again.
190
- at er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19086:72)
191
- at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:303:247)
192
- ... 3 lines matching cause stack trace ...
193
- at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892) {
194
- handled: true,
195
- cause: Error: NPM error ETARGET - Package target not found.
196
-
197
- Please check the logfile generated at ./storybook.log for troubleshooting and try again.
198
- at er.runAddDeps (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19614:24)
199
- at async er.addDependencies (/opt/homebrew/lib/node_modules/@storybook/cli/node_modules/@storybook/core/dist/common/index.cjs:19083:9)
200
- at async Object.run (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:303:247)
201
- at async runFixes (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:597:1801)
202
- at async automigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:1807)
203
- at async doAutomigrate (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:595:453)
204
- at async Command.<anonymous> (/opt/homebrew/lib/node_modules/@storybook/cli/dist/bin/index.cjs:665:2892)
205
- }
206
-
207
-
208
- 🔎 found a 'mdx-to-csf' migration:
209
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
210
- │ │
211
- │ We've detected your project has one or more globs in your 'stories' config that matches .stories.mdx │
212
- │ files: │
213
- │ "../src/**/*.stories.mdx" │
214
- │ "../src/**/*.stories.@(js|jsx|ts|tsx)" │
215
- │ │
216
- │ In Storybook 7, we have deprecated defining stories in MDX files, and consequently have changed the suffix │
217
- │ to simply .mdx. Since Storybook 8, we have removed the support of story definition in MDX files entirely. │
218
- │ Therefore '.stories.mdx' files aren't supported anymore. │
219
- │ │
220
- │ Now, since Storybook 8.0, we have removed support for .stories.mdx files. │
221
- │ │
222
- │ We can automatically migrate your 'stories' config to include any .mdx file instead of just .stories.mdx. │
223
- │ That would result in the following 'stories' config: │
224
- │ "../src/**/*.mdx" │
225
- │ "../src/**/*.stories.@(js|jsx|ts|tsx)" │
226
- │ │
227
- │ Additionally, we will run the 'mdx-to-csf' codemod for you, which tries to transform '*.stories.mdx' files │
228
- │ to '*.stories.js' and '*.mdx' files. │
229
- │ │
230
- │ To learn more about this change, see: https://storybook.js.org/docs/migration-guide#storiesmdx-to-mdxcsf │
231
- │ │
232
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
233
- ? Do you want to run the 'mdx-to-csf' migration on your project? › (Y/n)✔ Do you want to run the 'mdx-to-csf' migration on your project? … yes
234
- ✅ Setting 'stories' config:
235
- [
236
- "../src/**/*.mdx",
237
- "../src/**/*.stories.@(js|jsx|ts|tsx)"
238
- ]
239
- ? Please enter the glob for your MDX stories › ./src/**/*.stories.mdx✔ Please enter the glob for your MDX stories … ./src/**/*.stories.mdx
240
- => Applying mdx-to-csf: 1 files
241
- The migration successfully updated your 'stories' config to include any .mdx file instead of just .stories.mdx.
242
-
243
- It also ran the 'mdx-to-csf' codemod to convert your MDX stories to CSF format.
244
- This codemod is not perfect however, so you may need to manually fix any issues it couldn't handle.
245
- ✅ ran mdx-to-csf migration
246
-
247
- 🔎 found a 'autodocsTrue' migration:
248
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────╮
249
- │ │
250
- │ We've changed the configuration of autodocs (previous docsPage), so now the value: │
251
- │ - docs.autodocs: true -- means automatically create docs for every CSF file │
252
- │ - docs.autodocs: 'tag' -- means only create autodocs for CSF files with the 'autodocs' tag │
253
- │ - docs.autodocs: false -- means never create autodocs │
254
- │ │
255
- │ Based on your prior configuration, we can set the `docs.autodocs` to keep your old behaviour: │
256
- │ │
257
- │ docs: { autodocs: true } │
258
- │ │
259
- │ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes │
260
- │ │
261
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────╯
262
- ? Do you want to run the 'autodocsTrue' migration on your project? › (Y/n)✔ Do you want to run the 'autodocsTrue' migration on your project? … yes
263
- ✅ Setting 'docs.autodocs' to true in main.js
264
- ✅ ran autodocsTrue migration
265
-
266
- 🔎 found a 'storyshots' migration:
267
- ╭ Manual migration detected ─────────────────────────────────────────────────────────────────────────────────────╮
268
- │ │
269
- │ Attention: Storyshots is now officially deprecated, is no longer being maintained, and was removed in │
270
- │ Storybook 8. │
271
- │ │
272
- │ We recommend following the migration guide we've prepared to help you during this transition period: │
273
- │ https://storybook.js.org/docs/writing-tests/storyshots-migration-guide │
274
- │ │
275
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
276
-
277
- ? Select continue once you have made the required changes, or quit to exit the migration process › quit / continue✔ Select continue once you have made the required changes, or quit to exit the migration process … quit / continue
278
-
279
- 🔎 found a 'visual-tests-addon' migration:
280
- ╭ Automigration detected ────────────────────────────────────────────────────────────────────────────────────────╮
281
- │ │
282
- │ New to Storybook 8: Storybook's Visual Tests addon helps you catch unintentional changes/bugs in your │
283
- │ stories. The addon is powered by Chromatic, a cloud-based testing tool developed by Storybook's core team. │
284
- │ │
285
- │ Learn more: https://storybook.js.org/docs/writing-tests/visual-testing │
286
- │ │
287
- │ Install Visual Tests addon in your project? │
288
- │ │
289
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
290
- ? Do you want to run the 'visual-tests-addon' migration on your project? › (Y/n)✔ Do you want to run the 'visual-tests-addon' migration on your project? … yes
291
- ✅ Adding "@chromatic-com/storybook" addon
292
- ✅ ran visual-tests-addon migration
293
-
294
- ╭ Migration check ran with failures ─────────────────────────────────────────────────────────────────────────────╮
295
- │ │
296
- │ Successful migrations: │
297
- │ │
298
- │ missingStorybookDependencies, cra5, webpack5, mdx-to-csf, autodocsTrue, visual-tests-addon │
299
- │ │
300
- │ Failed migrations: │
301
- │ │
302
- │ new-frameworks: │
303
- │ Error: NPM error ETARGET - Package target not found. │
304
- │ │
305
- │ Please check the logfile generated at ./storybook.log for troubleshooting and try again. │
306
- │ github-flavored-markdown-mdx: │
307
- │ Error: NPM error ETARGET - Package target not found. │
308
- │ │
309
- │ Please check the logfile generated at ./storybook.log for troubleshooting and try again. │
310
- │ │
311
- │ You can find the full logs in /Users/mehran-ev/Projects/react-jupiter/migration-storybook.log │
312
- │ │
313
- │ Manual migrations: │
314
- │ │
315
- │ remove-argtypes-regex, removedglobalclientapis, storyshots │
316
- │ │
317
- │ ───────────────────────────────────────────────── │
318
- │ │
319
- │ If you'd like to run the migrations again, you can do so by running 'npx storybook automigrate' │
320
- │ │
321
- │ The automigrations try to migrate common patterns in your project, but might not contain everything needed │
322
- │ to migrate to the latest version of Storybook. │
323
- │ │
324
- │ Please check the changelog and migration guide for manual migrations and more information: │
325
- │ https://storybook.js.org/docs/migration-guide │
326
- │ And reach out on Discord if you need help: https://discord.gg/storybook │
327
- │ │
328
- ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
329
-
package/package.lib.json DELETED
@@ -1,75 +0,0 @@
1
- {
2
- "name": "react-jupiter",
3
- "version": "6.0.0-beta.2",
4
- "main": "dist/index.js",
5
- "exports": {
6
- ".": "./dist/index.js",
7
- "./typography": "./dist/components/typography/index.js",
8
- "./button": "./dist/components/button/index.js",
9
- "./grid": "./dist/components/grid/index.js",
10
- "./spacing": "./dist/components/spacing/index.js",
11
- "./utils": "./dist/components/utils/index.js",
12
- "./show-date": "./dist/components/show-date/index.js",
13
- "./avatar": "./dist/components/avatar/index.js",
14
- "./icon": "./dist/components/icon/index.js",
15
- "./titled-avatar": "./dist/components/titled-avatar/index.js",
16
- "./numeric-summery-report": "./dist/components/numeric-summery-report/index.js",
17
- "./card": "./dist/components/card/index.js",
18
- "./product-properties": "./dist/components/product-properties/index.js",
19
- "./cover": "./dist/components/cover/index.js",
20
- "./form": "./dist/components/form/index.js",
21
- "./form-v7": "./dist/components/form-v7/index.js",
22
- "./responsive": "./dist/components/responsive/index.js",
23
- "./product-owner": "./dist/components/product-owner/index.js",
24
- "./file-item": "./dist/components/file-item/index.js",
25
- "./modal": "./dist/components/modal/index.js",
26
- "./product-menu": "./dist/components/product-menu/index.js",
27
- "./table": "./dist/components/table/index.js",
28
- "./tabs": "./dist/components/tabs/index.js",
29
- "./display": "./dist/components/display/index.js"
30
- },
31
- "license": "MIT",
32
- "keywords": [
33
- "evand",
34
- "design system",
35
- "component",
36
- "react",
37
- "styled-component"
38
- ],
39
- "contributors": [
40
- "@mehranshiri",
41
- "@arashmanteghi",
42
- "https://github.com/marzzy"
43
- ],
44
- "publishConfig": {
45
- "access": "public"
46
- },
47
- "repository": {
48
- "type": "git",
49
- "url": "https://github.com/evandhq/react-jupiter"
50
- },
51
- "bugs": {
52
- "url": "https://github.com/evandhq/react-jupiter/issues"
53
- },
54
- "scripts": {
55
- },
56
- "dependencies": {
57
- "@heroicons/react": "^2.2.0",
58
- "moment-jalaali": "^0.9.4",
59
- "prop-types": "^15.8.0",
60
- "react": "^18.3.1",
61
- "react-dom": "^18.3.1",
62
- "react-hook-form": "^7.38.0",
63
- "react-lazy-load-image-component": "^1.5.1",
64
- "react-modal": "3.16.1",
65
- "react-responsive": "^8.2.0",
66
- "react-router-dom": "^5.3.0",
67
- "styled-components": "^5.3.11",
68
- "styled-media-query": "^2.1.2",
69
- "tailwind-merge": "^3.2.0"
70
- },
71
- "peerDependencies": {
72
- "react": ">=16.8.0",
73
- "react-dom": ">=16.8.0"
74
- }
75
- }
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
Binary file
package/public/index.html DELETED
@@ -1,43 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
- <meta name="theme-color" content="#000000" />
8
- <meta
9
- name="description"
10
- content="Web site created using create-react-app"
11
- />
12
- <link rel="apple-touch-icon" href="logo192.png" />
13
- <!--
14
- manifest.json provides metadata used when your web app is installed on a
15
- user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
- -->
17
- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
- <!--
19
- Notice the use of %PUBLIC_URL% in the tags above.
20
- It will be replaced with the URL of the `public` folder during the build.
21
- Only files inside the `public` folder can be referenced from the HTML.
22
-
23
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
- work correctly both with client-side routing and a non-root public URL.
25
- Learn how to configure a non-root public URL by running `npm run build`.
26
- -->
27
- <title>React Jupiter</title>
28
- </head>
29
- <body>
30
- <noscript>You need to enable JavaScript to run this app.</noscript>
31
- <div id="root"></div>
32
- <!--
33
- This HTML file is a template.
34
- If you open it directly in the browser, you will see an empty page.
35
-
36
- You can add webfonts, meta tags, or analytics to this file.
37
- The build step will place the bundled scripts into the <body> tag.
38
-
39
- To begin the development, run `npm start` or `yarn start`.
40
- To create a production bundle, use `npm run build` or `yarn build`.
41
- -->
42
- </body>
43
- </html>
package/public/logo.svg DELETED
@@ -1 +0,0 @@
1
- <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="373" height="107" style=""><rect id="backgroundrect" width="100%" height="100%" x="0" y="0" fill="none" stroke="none" style="" class="selected"/><defs><style>.cls-1{fill:#132a3e;}.cls-2{fill:#0095db;}</style></defs><title>Short Logo Source</title><g class="currentLayer" style=""><title>Layer 1</title><g class=""><path class="cls-1" d="M331.32091903686523,78.46546745300293 H300.91088485717773 V24.545454025268555 h30.40999984741211 A13.84000015258789,13.84000015258789 0 0 1 345.17089462280273,38.365461349487305 v26.280000686645508 A13.84000015258789,13.84000015258789 0 0 1 331.32091903686523,78.46546745300293 zm-19.219999313354492,-5.909999847412109 h17.450000762939453 a7.920000076293945,7.920000076293945 0 0 0 7.920000076293945,-7.920000076293945 V38.365461349487305 a7.920000076293945,7.920000076293945 0 0 0 -7.920000076293945,-7.920000076293945 H312.100887298584 v42.11000061035156 z" id="svg_1"/><path class="cls-1" d="M331.32091903686523,78.46546745300293 H300.91088485717773 V24.545454025268555 h30.40999984741211 A13.84000015258789,13.84000015258789 0 0 1 345.17089462280273,38.365461349487305 v26.280000686645508 A13.84000015258789,13.84000015258789 0 0 1 331.32091903686523,78.46546745300293 zm-19.219999313354492,-5.909999847412109 h17.450000762939453 a7.920000076293945,7.920000076293945 0 0 0 7.920000076293945,-7.920000076293945 V38.365461349487305 a7.920000076293945,7.920000076293945 0 0 0 -7.920000076293945,-7.920000076293945 H312.100887298584 v42.11000061035156 z" id="svg_7"/><polygon class="cls-1" points="145.04088973999023,78.46546745300293 131.7109031677246,78.46546745300293 109.94088363647461,24.615461349487305 122.87090682983398,24.545454025268555 141.0708885192871,69.31547355651855 159.28087997436523,24.545454025268555 166.8208885192871,24.615461349487305 145.04088973999023,78.46546745300293 " id="svg_8"/><polygon class="cls-1" points="201.8208885192871,24.545454025268555 188.5909080505371,24.545454025268555 166.8208885192871,78.39546012878418 178.42089462280273,78.46546745300293 196.63088607788086,33.685468673706055 214.8308982849121,78.46546745300293 223.60088729858398,78.39546012878418 201.8208885192871,24.545454025268555 " id="svg_9"/><polygon class="cls-1" points="97.15090560913086,78.46546745300293 58.38088607788086,78.46546745300293 58.38088607788086,75.51545524597168 58.38088607788086,27.495466232299805 58.38088607788086,24.545454025268555 97.15090560913086,24.545454025268555 97.15090560913086,30.44544792175293 69.57088851928711,30.44544792175293 69.57088851928711,72.55546379089355 97.15090560913086,72.55546379089355 97.15090560913086,78.46546745300293 " id="svg_10"/><rect class="cls-2" x="29.09090805053711" y="46.255475997924805" width="54.36000061035156" height="10.5" id="svg_11"/><polygon class="cls-1" points="288.120906829834,78.39546012878418 288.120906829834,24.545454025268555 279.52087020874023,24.545454025268555 279.52087020874023,66.43546867370605 248.31090927124023,24.58546257019043 236.39089584350586,24.545454025268555 236.39089584350586,78.46546745300293 247.5808982849121,78.46546745300293 247.5808982849121,36.055463790893555 278.27087020874023,78.39546012878418 288.120906829834,78.39546012878418 " id="svg_12"/><polygon class="cls-1" points="145.04088973999023,78.46546745300293 131.7109031677246,78.46546745300293 109.94088363647461,24.615461349487305 122.87090682983398,24.545454025268555 141.0708885192871,69.31547355651855 159.28087997436523,24.545454025268555 166.8208885192871,24.615461349487305 145.04088973999023,78.46546745300293 " id="svg_2"/><polygon class="cls-1" points="201.8208885192871,24.545454025268555 188.5909080505371,24.545454025268555 166.8208885192871,78.39546012878418 178.42089462280273,78.46546745300293 196.63088607788086,33.685468673706055 214.8308982849121,78.46546745300293 223.60088729858398,78.39546012878418 201.8208885192871,24.545454025268555 " id="svg_3"/><polygon class="cls-1" points="96.24181747436523,79.37455940246582 57.47179412841797,79.37455940246582 57.47179412841797,76.42454719543457 57.47179412841797,28.40455722808838 57.47179412841797,25.45454502105713 96.24181747436523,25.45454502105713 96.24181747436523,31.354538917541504 68.66179656982422,31.354538917541504 68.66179656982422,73.46455574035645 96.24181747436523,73.46455574035645 96.24181747436523,79.37455940246582 " id="svg_4"/><rect class="cls-2" x="29.09090805053711" y="46.255475997924805" width="54.36000061035156" height="10.5" id="svg_5"/><polygon class="cls-1" points="288.120906829834,78.39546012878418 288.120906829834,24.545454025268555 279.52087020874023,24.545454025268555 279.52087020874023,66.43546867370605 248.31090927124023,24.58546257019043 236.39089584350586,24.545454025268555 236.39089584350586,78.46546745300293 247.5808982849121,78.46546745300293 247.5808982849121,36.055463790893555 278.27087020874023,78.39546012878418 288.120906829834,78.39546012878418 " id="svg_6"/></g></g></svg>
@@ -1 +0,0 @@
1
- <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 141.73 141.73"><defs><style>.cls-1{fill:#1096ce;}.cls-2{fill:#132a3e;}.cls-3{fill:#0095db;}</style></defs><title>EVAND LOGOS _ SIGNS</title><polygon id="_Path_" data-name="&lt;Path&gt;" class="cls-1" points="61.02 78.54 61.02 78.54 61.02 78.55 61.02 78.54"/><polygon class="cls-2" points="91.35 94.49 57.38 94.49 57.38 91.9 57.38 49.83 57.38 47.24 91.35 47.24 91.35 52.42 67.19 52.42 67.19 89.31 91.35 89.31 91.35 94.49"/><rect class="cls-3" x="31.72" y="66.27" width="47.63" height="9.2"/></svg>
@@ -1,25 +0,0 @@
1
- {
2
- "short_name": "React Jupiter",
3
- "name": "React Jupiter Design System",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo.svg",
12
- "type": "image/svg",
13
- "sizes": "373x107"
14
- },
15
- {
16
- "src": "logo142.svg",
17
- "type": "image/svg",
18
- "sizes": "142x142"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
package/public/robots.txt DELETED
@@ -1,2 +0,0 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
package/src/App.js DELETED
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import Playground from './playground';
3
- import './index.css';
4
-
5
- function App() {
6
- return (
7
- <div className="App">
8
- <Playground />
9
- </div>
10
- );
11
- }
12
-
13
- export default App;
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import PropTypes from 'prop-types';
3
- import { PanelGroup } from './index.styles';
4
- import Panel from './panel';
5
-
6
- const Accordion = ({ items }) => (
7
- <PanelGroup>
8
- {items.map((item, key) => <Panel item={item} key={key} />)}
9
- </PanelGroup>
10
- );
11
-
12
- Accordion.propTypes = {
13
- items: PropTypes.arrayOf(PropTypes.shape({
14
- mode: PropTypes.oneOf(['white', 'light', 'dark']),
15
- title: PropTypes.string.isRequired,
16
- key: PropTypes.string.isRequired,
17
- status: PropTypes.bool,
18
- collapse: PropTypes.bool.isRequired,
19
- meta: PropTypes.node,
20
- body: PropTypes.node.isRequired,
21
- bold: PropTypes.bool,
22
- })).isRequired,
23
- };
24
-
25
- export default Accordion;