react-jupiter 6.0.0-beta.1 → 6.0.0-beta.10

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 (708) 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/icon/iconFont.js +1054 -0
  113. package/icon/index.js +121 -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 +3 -3
  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/iconFont.js +0 -806
  317. package/dist/components/icon/index.js +0 -116
  318. package/dist/components/icon/index.stories.js +0 -45
  319. package/dist/components/icon/index.styles.js +0 -12
  320. package/dist/components/icon/index.test.js +0 -66
  321. package/dist/components/icon/theme.js +0 -23
  322. package/dist/components/index.js +0 -75
  323. package/dist/components/modal/index.js +0 -100
  324. package/dist/components/modal/index.stories.js +0 -86
  325. package/dist/components/modal/index.style.js +0 -40
  326. package/dist/components/modal/theme.js +0 -11
  327. package/dist/components/numeric-summery-report/index.js +0 -28
  328. package/dist/components/numeric-summery-report/index.stories.js +0 -37
  329. package/dist/components/numeric-summery-report/index.style.js +0 -16
  330. package/dist/components/numeric-summery-report/index.test.js +0 -22
  331. package/dist/components/product-menu/index.js +0 -10
  332. package/dist/components/product-menu/index.stories.js +0 -33
  333. package/dist/components/product-menu/index.style.js +0 -38
  334. package/dist/components/product-menu/index.test.js +0 -27
  335. package/dist/components/product-menu/menu-item.js +0 -23
  336. package/dist/components/product-menu/menu.js +0 -88
  337. package/dist/components/product-menu/theme.js +0 -16
  338. package/dist/components/product-owner/index.js +0 -85
  339. package/dist/components/product-owner/index.style.js +0 -16
  340. package/dist/components/product-owner/index.test.js +0 -75
  341. package/dist/components/product-properties/index.js +0 -65
  342. package/dist/components/product-properties/index.stories.js +0 -52
  343. package/dist/components/product-properties/index.style.js +0 -14
  344. package/dist/components/product-properties/index.test.js +0 -31
  345. package/dist/components/product-properties/product-property/index.js +0 -49
  346. package/dist/components/product-properties/product-property/index.style.js +0 -9
  347. package/dist/components/progress-bar/index.js +0 -46
  348. package/dist/components/progress-bar/index.stories.js +0 -33
  349. package/dist/components/responsive/index.js +0 -44
  350. package/dist/components/show-date/index.js +0 -25
  351. package/dist/components/show-date/index.stories.js +0 -51
  352. package/dist/components/show-date/index.test.js +0 -24
  353. package/dist/components/spacing/core.js +0 -106
  354. package/dist/components/spacing/index.js +0 -10
  355. package/dist/components/spacing/margin/index.js +0 -26
  356. package/dist/components/spacing/padding/index.js +0 -26
  357. package/dist/components/storybook.css +0 -54
  358. package/dist/components/table/actionCell.js +0 -57
  359. package/dist/components/table/index.js +0 -56
  360. package/dist/components/table/index.stories.js +0 -188
  361. package/dist/components/table/index.style.js +0 -107
  362. package/dist/components/table/index.test.js +0 -119
  363. package/dist/components/table/tableHeaderRow.js +0 -28
  364. package/dist/components/table/tableRow.js +0 -60
  365. package/dist/components/table/theme.js +0 -8
  366. package/dist/components/tabs/index.js +0 -10
  367. package/dist/components/tabs/index.stories.js +0 -61
  368. package/dist/components/tabs/index.style.js +0 -35
  369. package/dist/components/tabs/index.test.js +0 -30
  370. package/dist/components/tabs/tabPanel.js +0 -17
  371. package/dist/components/tabs/tabs.js +0 -71
  372. package/dist/components/tabs/theme.js +0 -10
  373. package/dist/components/themes.js +0 -97
  374. package/dist/components/titled-avatar/index.js +0 -48
  375. package/dist/components/titled-avatar/index.stories.js +0 -52
  376. package/dist/components/titled-avatar/index.style.js +0 -30
  377. package/dist/components/titled-avatar/index.test.js +0 -25
  378. package/dist/components/typography/heading/index.js +0 -59
  379. package/dist/components/typography/heading/index.stories.js +0 -94
  380. package/dist/components/typography/heading/index.styles.js +0 -69
  381. package/dist/components/typography/heading/index.test.js +0 -122
  382. package/dist/components/typography/index.js +0 -16
  383. package/dist/components/typography/link/index.js +0 -82
  384. package/dist/components/typography/link/index.stories.js +0 -70
  385. package/dist/components/typography/link/index.styles.js +0 -8
  386. package/dist/components/typography/link/index.test.js +0 -60
  387. package/dist/components/typography/paragraph/index.js +0 -37
  388. package/dist/components/typography/paragraph/index.stories.js +0 -56
  389. package/dist/components/typography/paragraph/index.styles.js +0 -12
  390. package/dist/components/typography/paragraph/index.test.js +0 -47
  391. package/dist/components/typography/text/index.js +0 -156
  392. package/dist/components/typography/text/index.stories.js +0 -196
  393. package/dist/components/typography/text/index.styles.js +0 -73
  394. package/dist/components/typography/text/index.test.js +0 -333
  395. package/dist/components/typography/theme.js +0 -66
  396. package/dist/components/typography/utils.js +0 -53
  397. package/dist/components/typography/utils.test.js +0 -188
  398. package/dist/components/utils/date.js +0 -7
  399. package/dist/components/utils/date.test.js +0 -15
  400. package/dist/components/utils/detectMobile.js +0 -15
  401. package/dist/components/utils/index.js +0 -7
  402. package/dist/components/utils/media-query.js +0 -12
  403. package/dist/components/utils/numbers.js +0 -25
  404. package/dist/components/utils/test.js +0 -6
  405. package/dist/components/utils/theme.js +0 -67
  406. package/dist/docs/App.css +0 -33
  407. package/dist/docs/App.js +0 -52
  408. package/dist/docs/assets/ads-label.svg +0 -13
  409. package/dist/docs/assets/avatar-sample.jpeg +0 -0
  410. package/dist/docs/assets/cover-sample.png +0 -0
  411. package/dist/docs/assets/fonts/filesImgs.woff +0 -0
  412. package/dist/docs/assets/fonts/icomoon.woff +0 -0
  413. package/dist/docs/assets/fonts/iransharp_bold_web.woff +0 -0
  414. package/dist/docs/assets/fonts/iransharp_bold_web.woff2 +0 -0
  415. package/dist/docs/assets/fonts/iransharp_regular_web.woff +0 -0
  416. package/dist/docs/assets/fonts/iransharp_regular_web.woff2 +0 -0
  417. package/dist/docs/assets/fonts/wer6t7890- +0 -0
  418. package/dist/docs/assets/logo.svg +0 -7
  419. package/dist/docs/components/header/index.js +0 -10
  420. package/dist/docs/components/header/index.styles.js +0 -10
  421. package/dist/docs/components/side-navigation/index.js +0 -167
  422. package/dist/docs/components/side-navigation/index.styles.js +0 -46
  423. package/dist/docs/containers/avatar/index.js +0 -92
  424. package/dist/docs/containers/button/index.js +0 -295
  425. package/dist/docs/containers/card/index.js +0 -153
  426. package/dist/docs/containers/cover/index.js +0 -77
  427. package/dist/docs/containers/form/index.js +0 -41
  428. package/dist/docs/containers/home/index.js +0 -41
  429. package/dist/docs/containers/icon/index.js +0 -56
  430. package/dist/docs/containers/icons/index.js +0 -1488
  431. package/dist/docs/containers/product/index.js +0 -123
  432. package/dist/docs/containers/typography/index.js +0 -138
  433. package/dist/docs/globalStyle.js +0 -58
  434. package/dist/index.css +0 -3
  435. package/dist/index.js +0 -18
  436. package/dist/playground/index.js +0 -144
  437. package/dist/playground.css +0 -26
  438. package/dist/serviceWorker.js +0 -135
  439. package/dist/setupTests.js +0 -24
  440. package/dist/stories/Page.js +0 -67
  441. package/dist/storybook.css +0 -58
  442. package/dist/styles.css +0 -3
  443. package/dist/test-utils.js +0 -21
  444. package/doctor-storybook.log +0 -25
  445. package/migration-storybook.log +0 -329
  446. package/package.lib.json +0 -47
  447. package/postcss.config.js +0 -6
  448. package/public/assets/fonts/iransharp_bold_web.woff2 +0 -0
  449. package/public/assets/fonts/iransharp_light_web.woff2 +0 -0
  450. package/public/assets/fonts/iransharp_regular_web.woff2 +0 -0
  451. package/public/favicon.ico +0 -0
  452. package/public/index.html +0 -43
  453. package/public/logo.svg +0 -1
  454. package/public/logo142.svg +0 -1
  455. package/public/manifest.json +0 -25
  456. package/public/robots.txt +0 -2
  457. package/src/App.js +0 -13
  458. package/src/components/accordion/index.js +0 -25
  459. package/src/components/accordion/index.stories.js +0 -82
  460. package/src/components/accordion/panel.js +0 -41
  461. package/src/components/avatar/index.js +0 -41
  462. package/src/components/avatar/index.stories.js +0 -59
  463. package/src/components/avatar/index.styles.js +0 -17
  464. package/src/components/avatar/index.test.js +0 -10
  465. package/src/components/avatar/theme.js +0 -13
  466. package/src/components/button/__snapshots__/index.test.js.snap +0 -489
  467. package/src/components/button/index.js +0 -209
  468. package/src/components/button/index.stories.js +0 -304
  469. package/src/components/button/index.styles.js +0 -104
  470. package/src/components/button/theme.js +0 -60
  471. package/src/components/button/utils.js +0 -12
  472. package/src/components/card/card-template/index.js +0 -74
  473. package/src/components/card/card-template/index.stories.js +0 -110
  474. package/src/components/card/card-template/index.style.js +0 -25
  475. package/src/components/card/card-template/index.test.js +0 -85
  476. package/src/components/card/event-card/constants.js +0 -3
  477. package/src/components/card/event-card/event-card-label/index.js +0 -24
  478. package/src/components/card/event-card/event-card-label/index.style.js +0 -10
  479. package/src/components/card/event-card/event-card-label/index.test.js +0 -23
  480. package/src/components/card/event-card/index.js +0 -227
  481. package/src/components/card/event-card/index.stories.js +0 -166
  482. package/src/components/card/event-card/index.style.js +0 -129
  483. package/src/components/card/event-card/index.test.js +0 -79
  484. package/src/components/card/index.js +0 -16
  485. package/src/components/card/organization-card/index.js +0 -59
  486. package/src/components/card/organization-card/index.stories.js +0 -49
  487. package/src/components/card/organization-card/index.style.js +0 -10
  488. package/src/components/card/organization-card/index.test.js +0 -25
  489. package/src/components/card/orgnizer-card/buttons.js +0 -48
  490. package/src/components/card/orgnizer-card/index.js +0 -179
  491. package/src/components/card/orgnizer-card/index.stories.js +0 -81
  492. package/src/components/card/orgnizer-card/index.style.js +0 -58
  493. package/src/components/cover/index.js +0 -74
  494. package/src/components/cover/index.style.js +0 -48
  495. package/src/components/cover/index.test.js +0 -25
  496. package/src/components/display/index.js +0 -42
  497. package/src/components/display/index.style.js +0 -80
  498. package/src/components/file-item/fileImgIcon.js +0 -37
  499. package/src/components/file-item/index.js +0 -101
  500. package/src/components/file-item/index.stories.js +0 -71
  501. package/src/components/file-item/index.style.js +0 -31
  502. package/src/components/file-item/index.test.js +0 -106
  503. package/src/components/file-item/theme.js +0 -12
  504. package/src/components/file-item/utils.js +0 -3
  505. package/src/components/form/captcha/index.js +0 -86
  506. package/src/components/form/captcha/index.stories.js +0 -42
  507. package/src/components/form/captcha/index.style.js +0 -38
  508. package/src/components/form/captcha/index.test.js +0 -31
  509. package/src/components/form/checkbox/checkbox-option.js +0 -41
  510. package/src/components/form/checkbox/checkbox.js +0 -54
  511. package/src/components/form/checkbox/index.js +0 -10
  512. package/src/components/form/checkbox/index.stories.js +0 -121
  513. package/src/components/form/checkbox/index.style.js +0 -62
  514. package/src/components/form/dropdown/index.js +0 -10
  515. package/src/components/form/dropdown/index.stories.js +0 -119
  516. package/src/components/form/dropdown/index.style.js +0 -57
  517. package/src/components/form/dropdown/index.test.js +0 -20
  518. package/src/components/form/dropdown/option.js +0 -22
  519. package/src/components/form/dropdown/select.js +0 -68
  520. package/src/components/form/errorMsg.js +0 -21
  521. package/src/components/form/index.js +0 -22
  522. package/src/components/form/radio/index.js +0 -10
  523. package/src/components/form/radio/index.stories.js +0 -119
  524. package/src/components/form/radio/index.style.js +0 -61
  525. package/src/components/form/radio/radio-option.js +0 -45
  526. package/src/components/form/radio/radio.js +0 -56
  527. package/src/components/form/text-input/index.js +0 -92
  528. package/src/components/form/text-input/index.stories.js +0 -77
  529. package/src/components/form/text-input/index.style.js +0 -57
  530. package/src/components/form/text-input/index.test.js +0 -63
  531. package/src/components/form/textarea/index.js +0 -59
  532. package/src/components/form/textarea/index.stories.js +0 -90
  533. package/src/components/form/textarea/index.style.js +0 -25
  534. package/src/components/form/theme.js +0 -16
  535. package/src/components/form-v7/captcha/index.js +0 -101
  536. package/src/components/form-v7/captcha/index.stories.js +0 -60
  537. package/src/components/form-v7/captcha/index.style.js +0 -38
  538. package/src/components/form-v7/captcha/index.test.js +0 -31
  539. package/src/components/form-v7/checkbox/checkbox-option.js +0 -44
  540. package/src/components/form-v7/checkbox/checkbox.js +0 -70
  541. package/src/components/form-v7/checkbox/index.js +0 -10
  542. package/src/components/form-v7/checkbox/index.stories.js +0 -113
  543. package/src/components/form-v7/checkbox/index.style.js +0 -62
  544. package/src/components/form-v7/dropdown/index.js +0 -10
  545. package/src/components/form-v7/dropdown/index.stories.js +0 -130
  546. package/src/components/form-v7/dropdown/index.style.js +0 -57
  547. package/src/components/form-v7/dropdown/index.test.js +0 -20
  548. package/src/components/form-v7/dropdown/option.js +0 -18
  549. package/src/components/form-v7/dropdown/select.js +0 -85
  550. package/src/components/form-v7/errorMsg.js +0 -21
  551. package/src/components/form-v7/file-input/index.js +0 -73
  552. package/src/components/form-v7/file-input/index.stories.js +0 -73
  553. package/src/components/form-v7/file-input/index.style.js +0 -62
  554. package/src/components/form-v7/file-input/index.test.js +0 -63
  555. package/src/components/form-v7/form/index.stories.js +0 -276
  556. package/src/components/form-v7/index.js +0 -25
  557. package/src/components/form-v7/index.style.js +0 -11
  558. package/src/components/form-v7/label/index.js +0 -31
  559. package/src/components/form-v7/label/index.style.js +0 -12
  560. package/src/components/form-v7/radio/index.js +0 -10
  561. package/src/components/form-v7/radio/index.stories.js +0 -117
  562. package/src/components/form-v7/radio/index.style.js +0 -61
  563. package/src/components/form-v7/radio/radio-option.js +0 -45
  564. package/src/components/form-v7/radio/radio.js +0 -75
  565. package/src/components/form-v7/text-input/index.js +0 -132
  566. package/src/components/form-v7/text-input/index.stories.js +0 -96
  567. package/src/components/form-v7/text-input/index.style.js +0 -49
  568. package/src/components/form-v7/text-input/index.test.js +0 -63
  569. package/src/components/form-v7/textarea/index.js +0 -71
  570. package/src/components/form-v7/textarea/index.stories.js +0 -91
  571. package/src/components/form-v7/textarea/index.style.js +0 -25
  572. package/src/components/form-v7/theme.js +0 -20
  573. package/src/components/grid/index.js +0 -83
  574. package/src/components/icon/iconFont.js +0 -806
  575. package/src/components/icon/index.js +0 -116
  576. package/src/components/icon/index.stories.js +0 -45
  577. package/src/components/icon/index.styles.js +0 -12
  578. package/src/components/icon/index.test.js +0 -66
  579. package/src/components/icon/theme.js +0 -23
  580. package/src/components/index.js +0 -75
  581. package/src/components/modal/index.js +0 -100
  582. package/src/components/modal/index.stories.js +0 -86
  583. package/src/components/modal/index.style.js +0 -40
  584. package/src/components/modal/theme.js +0 -11
  585. package/src/components/numeric-summery-report/index.js +0 -28
  586. package/src/components/numeric-summery-report/index.stories.js +0 -37
  587. package/src/components/numeric-summery-report/index.style.js +0 -16
  588. package/src/components/numeric-summery-report/index.test.js +0 -22
  589. package/src/components/product-menu/index.js +0 -10
  590. package/src/components/product-menu/index.stories.js +0 -33
  591. package/src/components/product-menu/index.style.js +0 -38
  592. package/src/components/product-menu/index.test.js +0 -27
  593. package/src/components/product-menu/menu-item.js +0 -23
  594. package/src/components/product-menu/menu.js +0 -88
  595. package/src/components/product-menu/theme.js +0 -16
  596. package/src/components/product-owner/index.js +0 -85
  597. package/src/components/product-owner/index.style.js +0 -16
  598. package/src/components/product-owner/index.test.js +0 -75
  599. package/src/components/product-properties/index.js +0 -65
  600. package/src/components/product-properties/index.stories.js +0 -52
  601. package/src/components/product-properties/index.style.js +0 -14
  602. package/src/components/product-properties/index.test.js +0 -31
  603. package/src/components/product-properties/product-property/index.js +0 -49
  604. package/src/components/product-properties/product-property/index.style.js +0 -9
  605. package/src/components/progress-bar/index.js +0 -46
  606. package/src/components/progress-bar/index.stories.js +0 -33
  607. package/src/components/progress-bar/index.styles.js +0 -65
  608. package/src/components/responsive/index.js +0 -44
  609. package/src/components/show-date/index.js +0 -25
  610. package/src/components/show-date/index.stories.js +0 -51
  611. package/src/components/show-date/index.style.js +0 -1
  612. package/src/components/show-date/index.test.js +0 -24
  613. package/src/components/spacing/core.js +0 -106
  614. package/src/components/spacing/index.js +0 -10
  615. package/src/components/spacing/margin/index.js +0 -26
  616. package/src/components/spacing/padding/index.js +0 -26
  617. package/src/components/storybook.css +0 -54
  618. package/src/components/table/actionCell.js +0 -57
  619. package/src/components/table/index.js +0 -56
  620. package/src/components/table/index.stories.js +0 -188
  621. package/src/components/table/index.test.js +0 -119
  622. package/src/components/table/tableHeaderRow.js +0 -28
  623. package/src/components/table/tableRow.js +0 -60
  624. package/src/components/table/theme.js +0 -8
  625. package/src/components/tabs/index.js +0 -10
  626. package/src/components/tabs/index.stories.js +0 -61
  627. package/src/components/tabs/index.style.js +0 -35
  628. package/src/components/tabs/index.test.js +0 -30
  629. package/src/components/tabs/tabPanel.js +0 -17
  630. package/src/components/tabs/tabs.js +0 -71
  631. package/src/components/tabs/theme.js +0 -10
  632. package/src/components/themes.js +0 -97
  633. package/src/components/titled-avatar/index.js +0 -48
  634. package/src/components/titled-avatar/index.stories.js +0 -52
  635. package/src/components/titled-avatar/index.style.js +0 -30
  636. package/src/components/titled-avatar/index.test.js +0 -25
  637. package/src/components/typography/heading/index.js +0 -59
  638. package/src/components/typography/heading/index.stories.js +0 -94
  639. package/src/components/typography/heading/index.styles.js +0 -69
  640. package/src/components/typography/heading/index.test.js +0 -122
  641. package/src/components/typography/index.js +0 -16
  642. package/src/components/typography/index.styles.js +0 -1
  643. package/src/components/typography/link/index.js +0 -82
  644. package/src/components/typography/link/index.stories.js +0 -70
  645. package/src/components/typography/link/index.styles.js +0 -8
  646. package/src/components/typography/link/index.test.js +0 -60
  647. package/src/components/typography/paragraph/index.js +0 -37
  648. package/src/components/typography/paragraph/index.stories.js +0 -56
  649. package/src/components/typography/paragraph/index.styles.js +0 -12
  650. package/src/components/typography/paragraph/index.test.js +0 -47
  651. package/src/components/typography/text/index.js +0 -156
  652. package/src/components/typography/text/index.stories.js +0 -196
  653. package/src/components/typography/text/index.styles.js +0 -73
  654. package/src/components/typography/text/index.test.js +0 -333
  655. package/src/components/typography/theme.js +0 -66
  656. package/src/components/typography/utils.js +0 -53
  657. package/src/components/typography/utils.test.js +0 -188
  658. package/src/components/utils/date.js +0 -7
  659. package/src/components/utils/date.test.js +0 -15
  660. package/src/components/utils/detectMobile.js +0 -15
  661. package/src/components/utils/index.js +0 -7
  662. package/src/components/utils/media-query.js +0 -12
  663. package/src/components/utils/numbers.js +0 -25
  664. package/src/components/utils/test.js +0 -6
  665. package/src/components/utils/theme.js +0 -67
  666. package/src/docs/App.css +0 -33
  667. package/src/docs/App.js +0 -52
  668. package/src/docs/assets/ads-label.svg +0 -13
  669. package/src/docs/assets/avatar-sample.jpeg +0 -0
  670. package/src/docs/assets/cover-sample.png +0 -0
  671. package/src/docs/assets/fonts/filesImgs.woff +0 -0
  672. package/src/docs/assets/fonts/icomoon.woff +0 -0
  673. package/src/docs/assets/fonts/iransharp_bold_web.woff +0 -0
  674. package/src/docs/assets/fonts/iransharp_bold_web.woff2 +0 -0
  675. package/src/docs/assets/fonts/iransharp_regular_web.woff +0 -0
  676. package/src/docs/assets/fonts/iransharp_regular_web.woff2 +0 -0
  677. package/src/docs/assets/fonts/wer6t7890- +0 -0
  678. package/src/docs/assets/logo.svg +0 -7
  679. package/src/docs/components/header/index.js +0 -10
  680. package/src/docs/components/header/index.styles.js +0 -10
  681. package/src/docs/components/side-navigation/index.js +0 -167
  682. package/src/docs/components/side-navigation/index.styles.js +0 -46
  683. package/src/docs/containers/avatar/index.js +0 -92
  684. package/src/docs/containers/button/index.js +0 -295
  685. package/src/docs/containers/card/index.js +0 -153
  686. package/src/docs/containers/cover/index.js +0 -77
  687. package/src/docs/containers/form/index.js +0 -41
  688. package/src/docs/containers/home/index.js +0 -41
  689. package/src/docs/containers/icon/index.js +0 -56
  690. package/src/docs/containers/icons/index.js +0 -1488
  691. package/src/docs/containers/product/index.js +0 -123
  692. package/src/docs/containers/typography/index.js +0 -138
  693. package/src/docs/globalStyle.js +0 -58
  694. package/src/index.css +0 -3
  695. package/src/index.js +0 -18
  696. package/src/playground/index.js +0 -144
  697. package/src/playground.css +0 -26
  698. package/src/serviceWorker.js +0 -135
  699. package/src/setupTests.js +0 -24
  700. package/src/stories/Page.jsx +0 -67
  701. package/src/storybook.css +0 -58
  702. package/src/styles.css +0 -3
  703. package/src/test-utils.js +0 -21
  704. package/storybook.log +0 -113
  705. package/tailwind.config.js +0 -26
  706. package/update-stories.js +0 -41
  707. /package/{dist/components/show-date → show-date}/index.style.js +0 -0
  708. /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,47 +0,0 @@
1
- {
2
- "name": "react-jupiter",
3
- "version": "6.0.0-beta.1",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "keywords": [
7
- "evand",
8
- "design system",
9
- "component",
10
- "react",
11
- "styled-component"
12
- ],
13
- "contributors": [
14
- "@mehranshiri",
15
- "@arashmanteghi",
16
- "https://github.com/marzzy"
17
- ],
18
- "publishConfig": {
19
- "access": "public"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "https://github.com/evandhq/react-jupiter"
24
- },
25
- "bugs": {
26
- "url": "https://github.com/evandhq/react-jupiter/issues"
27
- },
28
- "scripts": {
29
- },
30
- "dependencies": {
31
- "moment-jalaali": "^0.9.4",
32
- "prop-types": "^15.8.0",
33
- "react": "18.2.0",
34
- "react-dom": "18.2.0",
35
- "react-hook-form": "^7.38.0",
36
- "react-lazy-load-image-component": "^1.5.1",
37
- "react-modal": "3.16.1",
38
- "react-responsive": "^8.2.0",
39
- "react-router-dom": "^5.3.0",
40
- "styled-components": "^5.3.11",
41
- "styled-media-query": "^2.1.2"
42
- },
43
- "peerDependencies": {
44
- "react": ">=16.8.0",
45
- "react-dom": ">=16.8.0"
46
- }
47
- }
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;
@@ -1,82 +0,0 @@
1
- import React from 'react';
2
- import Accordion from '.';
3
-
4
- const items = [
5
- {
6
- title: 'عنوان اول',
7
- mode: 'dark',
8
- key: 'acc-1',
9
- status: true,
10
- collapse: false,
11
- bold: false,
12
- meta: <span>۳/۰</span>,
13
- body: <div>
14
- لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.
15
- </div>,
16
- },
17
- {
18
- title: 'عنوان دوم',
19
- mode: 'white',
20
- key: 'acc-2',
21
- status: false,
22
- bold: true,
23
- collapse: true,
24
- meta: <span>حداقل امتیاز: ۵۰</span>,
25
- body: <div>
26
- لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.
27
- </div>,
28
- },
29
- {
30
- title: 'عنوان سوم',
31
- mode: 'white',
32
- key: 'acc-3',
33
- status: false,
34
- collapse: true,
35
- bold: false,
36
- meta: <span>حداقل امتیاز: ۵۰</span>,
37
- body: <div>
38
- لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده از طراحان گرافیک است، چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است، و برای شرایط فعلی تکنولوژی مورد نیاز، و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد، کتابهای زیادی در شصت و سه درصد گذشته حال و آینده، شناخت فراوان جامعه و متخصصان را می طلبد، تا با نرم افزارها شناخت بیشتری را برای طراحان رایانه ای علی الخصوص طراحان خلاقی، و فرهنگ پیشرو در زبان فارسی ایجاد کرد، در این صورت می توان امید داشت که تمام و دشواری موجود در ارائه راهکارها، و شرایط سخت تایپ به پایان رسد و زمان مورد نیاز شامل حروفچینی دستاوردهای اصلی، و جوابگوی سوالات پیوسته اهل دنیای موجود طراحی اساسا مورد استفاده قرار گیرد.
39
- </div>,
40
- },
41
- ];
42
-
43
- export default {
44
- title: 'Components/Accordion',
45
- component: Accordion,
46
- argTypes: {
47
- items: {
48
- control: 'object',
49
- description: 'Array of accordion items',
50
- },
51
- },
52
- };
53
-
54
- const Template = (args) => <Accordion {...args} />;
55
-
56
- export const Default = Template.bind({});
57
- Default.args = {
58
- items,
59
- };
60
-
61
- export const WithCustomStyling = Template.bind({});
62
- WithCustomStyling.args = {
63
- items: [
64
- { title: 'Styled Item 1', content: 'Styled content 1' },
65
- { title: 'Styled Item 2', content: 'Styled content 2' },
66
- ],
67
- style: { border: '1px solid blue', borderRadius: '8px' },
68
- };
69
-
70
- export const SingleItemExpanded = Template.bind({});
71
- SingleItemExpanded.args = {
72
- items: [
73
- { title: 'Expanded Item', content: 'This item starts expanded', expanded: true },
74
- ],
75
- };
76
-
77
- export const WithIcons = Template.bind({});
78
- WithIcons.args = {
79
- items: [
80
- { title: 'Item with Icon', content: 'Content for item with icon', icon: 'info' },
81
- ],
82
- };