jamespot-react-components 1.0.9 → 1.0.66

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 (940) hide show
  1. package/build/jamespot-react-components.js +648 -341
  2. package/build/jamespot-react-components.js.LICENSE.txt +22 -0
  3. package/build/jamespot-react-components.js.map +1 -1
  4. package/build/src/components/Common/DashedFocusBorder.d.ts +5 -5
  5. package/build/src/components/Common/JRCConditionalWrapper.d.ts +8 -0
  6. package/build/src/components/Common/JRCDraggingPlaceholder.d.ts +4 -0
  7. package/build/src/components/Common/util/getColor.util.d.ts +1 -1
  8. package/build/src/components/Form/Common/ClickAwayListener.d.ts +1 -0
  9. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +1 -1
  10. package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +2 -0
  11. package/build/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.d.ts +1 -0
  12. package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +1 -1
  13. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +9 -0
  14. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +0 -6
  15. package/build/src/components/Form/Input/JRCFormSelect/Extension.d.ts +18 -0
  16. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +7 -0
  17. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +262 -1
  18. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +3 -0
  19. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +4 -3
  20. package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -0
  21. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
  22. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +1 -1
  23. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +3 -3
  24. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +2 -2
  25. package/build/src/components/JRCAvatar/JRCAvatar.d.ts +2 -0
  26. package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +20 -0
  27. package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +8 -0
  28. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -0
  29. package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +17 -0
  30. package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +7 -0
  31. package/build/src/components/JRCCard/JRCCard.d.ts +1 -3
  32. package/build/src/components/JRCDate/JRCDate.d.ts +2 -0
  33. package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +3 -1
  34. package/build/src/components/JRCFolders/JRCFolder.d.ts +3 -0
  35. package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +6 -0
  36. package/build/src/components/JRCFolders/JRCFolders.d.ts +3 -0
  37. package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +9 -0
  38. package/build/src/components/JRCFolders/mock.folders.d.ts +16 -0
  39. package/build/src/components/JRCFolders/types.d.ts +33 -0
  40. package/build/src/components/JRCIcon/JRCIcon.d.ts +4 -2
  41. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +1 -1
  42. package/build/src/components/JRCImg/JRCImg.d.ts +1 -1
  43. package/build/src/components/JRCImg/JRCImg.stories.d.ts +1 -0
  44. package/build/src/components/JRCImg/url.util.d.ts +7 -0
  45. package/build/src/components/JRCList/JRCList.d.ts +14 -10
  46. package/build/src/components/JRCList/JRCList.styles.d.ts +0 -1
  47. package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
  48. package/build/src/components/JRCModal/JRCModal.d.ts +1 -0
  49. package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -5
  50. package/build/src/components/JRCModalImg/JRCModalImg.d.ts +11 -7
  51. package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +1 -1
  52. package/build/src/components/JRCModalImg/JRCModalImg.styles.d.ts +1 -9
  53. package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +1 -4
  54. package/build/src/components/JRCTabs/JRCTabs.d.ts +5 -4
  55. package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +1 -1
  56. package/build/src/components/JRCTag/JRCTag.d.ts +4 -1
  57. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +3 -0
  58. package/build/src/components/Templates/JRCAppColumn.d.ts +3 -0
  59. package/build/src/components/Templates/JRCAppTab.d.ts +4 -0
  60. package/build/src/components/Templates/JRCBase.template.d.ts +9 -0
  61. package/build/src/components/Templates/JRCColumn.d.ts +3 -0
  62. package/build/src/components/Templates/JRCContainer.d.ts +3 -0
  63. package/build/src/components/Templates/JRCMainColumn.d.ts +3 -0
  64. package/build/src/components/Templates/JRCTemplate.stories.d.ts +5 -0
  65. package/build/src/components/Templates/JRCTwoColumns.template.d.ts +7 -0
  66. package/build/src/components/Templates/template.styles.d.ts +305 -0
  67. package/build/src/components/Templates/template.type.d.ts +51 -0
  68. package/build/src/components/Templates/template.utils.d.ts +26 -0
  69. package/build/src/hooks/UseLocalStorage.d.ts +2 -0
  70. package/build/src/index.d.ts +16 -2
  71. package/build/src/styles/theme.d.ts +6 -1
  72. package/build/src/types.d.ts +7 -2
  73. package/build/src/utils/index.d.ts +6 -0
  74. package/build/src/utils/utils.array.d.ts +6 -0
  75. package/build/src/utils/utils.array.test.d.ts +1 -0
  76. package/build/src/utils/utils.date.d.ts +9 -0
  77. package/build/src/utils/utils.misc.d.ts +1 -0
  78. package/build/src/utils/utils.string.d.ts +1 -0
  79. package/externals.json +2 -2
  80. package/package.json +6 -4
  81. package/storybook-static/0.799c368cbe88266827ba.manager.bundle.js +1 -0
  82. package/storybook-static/1.9ebd2fb519f6726108de.manager.bundle.js +1 -0
  83. package/storybook-static/10.a85ea1a67689be8e19ff.manager.bundle.js +1 -0
  84. package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js +2 -0
  85. package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js.LICENSE.txt +12 -0
  86. package/storybook-static/12.1415460941f0bdcb8fa8.manager.bundle.js +1 -0
  87. package/storybook-static/174.f2e072e1.iframe.bundle.js +2 -0
  88. package/storybook-static/174.f2e072e1.iframe.bundle.js.LICENSE.txt +115 -0
  89. package/storybook-static/314.615cb34b.iframe.bundle.js +1 -0
  90. package/storybook-static/331.bea8dec1.iframe.bundle.js +2 -0
  91. package/storybook-static/331.bea8dec1.iframe.bundle.js.LICENSE.txt +12 -0
  92. package/storybook-static/459.d6c184aa.iframe.bundle.js +1 -0
  93. package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js +2 -0
  94. package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js.LICENSE.txt +8 -0
  95. package/storybook-static/6.3bd64d820f3745f262ff.manager.bundle.js +1 -0
  96. package/storybook-static/7.3d04765dbf3f1dcd706c.manager.bundle.js +1 -0
  97. package/storybook-static/701.5fb77928.iframe.bundle.js +1 -0
  98. package/storybook-static/8.b541eadfcb9164835dfc.manager.bundle.js +1 -0
  99. package/storybook-static/861.8d90a4b3.iframe.bundle.js +2 -0
  100. package/storybook-static/861.8d90a4b3.iframe.bundle.js.LICENSE.txt +8 -0
  101. package/storybook-static/869.7ff62134.iframe.bundle.js +1 -0
  102. package/storybook-static/881.e09ad30e.iframe.bundle.js +1 -0
  103. package/storybook-static/9.411ac8e451bbb10926c7.manager.bundle.js +1 -0
  104. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/FontAwesome.otf +0 -0
  105. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  106. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.svg +0 -0
  107. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  108. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  109. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  110. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.eot +0 -0
  111. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.json +0 -0
  112. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.svg +0 -0
  113. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.ttf +0 -0
  114. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.woff +0 -0
  115. package/storybook-static/favicon.ico +0 -0
  116. package/storybook-static/iframe.html +348 -0
  117. package/{.storybook/assets → storybook-static}/imagecache/120x120/user/1234.png +0 -0
  118. package/{.storybook/assets → storybook-static}/imagecache/160x160/user/1234.png +0 -0
  119. package/{.storybook/assets → storybook-static}/imagecache/200x200/user/1234.png +0 -0
  120. package/{.storybook/assets → storybook-static}/imagecache/24x24/user/1234.png +0 -0
  121. package/{.storybook/assets → storybook-static}/imagecache/32x32/user/1234.png +0 -0
  122. package/{.storybook/assets → storybook-static}/imagecache/40x40/user/1234.png +0 -0
  123. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/11.png +0 -0
  124. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/12.png +0 -0
  125. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/1234.png +0 -0
  126. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/2.png +0 -0
  127. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/20.png +0 -0
  128. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/23.png +0 -0
  129. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/25.png +0 -0
  130. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/8.png +0 -0
  131. package/{.storybook/assets → storybook-static}/imagecache/64x64/user/1234.png +0 -0
  132. package/{.storybook/assets → storybook-static}/imagecache/80x80/user/1234.png +0 -0
  133. package/{.storybook/assets → storybook-static}/imagecache/fitx700/fileArticle/245.png +0 -0
  134. package/storybook-static/index.html +51 -0
  135. package/storybook-static/main.856b88b4.iframe.bundle.js +1 -0
  136. package/storybook-static/main.e2663b1cf842947d1a59.manager.bundle.js +1 -0
  137. package/storybook-static/runtime~main.91a0c7330ab317d35c4a.manager.bundle.js +1 -0
  138. package/storybook-static/runtime~main.ba5a9588.iframe.bundle.js +1 -0
  139. package/{.history/src/assets/check_20210114075959.svg → storybook-static/static/media/check.e04c3374.svg} +0 -0
  140. package/{src/assets/x.svg → storybook-static/static/media/x.609ccec1.svg} +0 -0
  141. package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js +2 -0
  142. package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js.LICENSE.txt +110 -0
  143. package/.eslintignore +0 -80
  144. package/.eslintrc.js +0 -15
  145. package/.github/pull_request_template.md +0 -22
  146. package/.github/workflows/ci.yml +0 -62
  147. package/.github/workflows/deploy-dev-branches.yml +0 -40
  148. package/.github/workflows/increment-npm-version.yml +0 -26
  149. package/.github/workflows/npm-package.yml +0 -33
  150. package/.history/.eslintignore_20211116140451 +0 -13
  151. package/.history/.eslintignore_20211116140517 +0 -80
  152. package/.history/.github/workflows/ci_20211103152807.yml +0 -50
  153. package/.history/.github/workflows/ci_20211117114643.yml +0 -50
  154. package/.history/.github/workflows/ci_20211117114650.yml +0 -55
  155. package/.history/.github/workflows/ci_20211117152126.yml +0 -55
  156. package/.history/.github/workflows/ci_20211117153805.yml +0 -58
  157. package/.history/.github/workflows/ci_20211117153810.yml +0 -58
  158. package/.history/.github/workflows/ci_20211117154145.yml +0 -59
  159. package/.history/.github/workflows/ci_20211117154153.yml +0 -59
  160. package/.history/.github/workflows/ci_20211117155208.yml +0 -58
  161. package/.history/.github/workflows/ci_20211117155212.yml +0 -59
  162. package/.history/.github/workflows/ci_20211117155228.yml +0 -59
  163. package/.history/.github/workflows/ci_20211117155451.yml +0 -59
  164. package/.history/.github/workflows/ci_20211117155505.yml +0 -59
  165. package/.history/.github/workflows/ci_20211117155509.yml +0 -59
  166. package/.history/.github/workflows/ci_20211117160304.yml +0 -59
  167. package/.history/.github/workflows/ci_20211117161702.yml +0 -59
  168. package/.history/.github/workflows/ci_20211117162805.yml +0 -59
  169. package/.history/.github/workflows/ci_20211117164809.yml +0 -60
  170. package/.history/.github/workflows/ci_20211117170417.yml +0 -60
  171. package/.history/.gitignore_20211117155121 +0 -82
  172. package/.history/.husky/pre-commit_20211116154612 +0 -4
  173. package/.history/.husky/pre-commit_20211116155720 +0 -4
  174. package/.history/.prettierignore_20211103152807 +0 -84
  175. package/.history/.prettierignore_20211116140533 +0 -80
  176. package/.history/.prettierrc_20211103143655.json +0 -11
  177. package/.history/.prettierrc_20211103144104.json +0 -10
  178. package/.history/.prettierrc_20211116140542.json +0 -11
  179. package/.history/.prettierrc_20211116173732.json +0 -10
  180. package/.history/.storybook/main_20211109144835.js +0 -22
  181. package/.history/babel.config_20211116141826.js +0 -14
  182. package/.history/babel.config_20211117104141.js +0 -15
  183. package/.history/babel.config_20211117164455.js +0 -15
  184. package/.history/build/src/components/JRCHref/JRCHref.d_20211109164627.ts +0 -20
  185. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144654.ts +0 -20
  186. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144702.ts +0 -20
  187. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144724.ts +0 -20
  188. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144732.ts +0 -20
  189. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144754.ts +0 -20
  190. package/.history/externals.d_20211108160127.ts +0 -5
  191. package/.history/externals.d_20211108160133.ts +0 -5
  192. package/.history/externals.d_20211108160237.ts +0 -5
  193. package/.history/externals.d_20211108160252.ts +0 -6
  194. package/.history/externals.d_20211108160343.ts +0 -6
  195. package/.history/externals.d_20211108163234.ts +0 -5
  196. package/.history/index.d_20210119091943.ts +0 -0
  197. package/.history/index.d_20210119092051.ts +0 -4
  198. package/.history/jest.config_20211112091917.js +0 -15
  199. package/.history/jest.config_20211117164520.js +0 -16
  200. package/.history/jest.setup_20210114075959.ts +0 -3
  201. package/.history/jest.setup_20210429114103.ts +0 -1
  202. package/.history/package-lock_20211109153645.json +0 -73806
  203. package/.history/package_20211103143741.json +0 -117
  204. package/.history/package_20211108155048.json +0 -117
  205. package/.history/package_20211108160557.json +0 -117
  206. package/.history/package_20211109113710.json +0 -116
  207. package/.history/package_20211109113749.json +0 -114
  208. package/.history/package_20211109113753.json +0 -113
  209. package/.history/package_20211109113758.json +0 -111
  210. package/.history/package_20211109142830.json +0 -111
  211. package/.history/package_20211109142919.json +0 -111
  212. package/.history/package_20211109145908.json +0 -111
  213. package/.history/package_20211109145937.json +0 -111
  214. package/.history/package_20211109150036.json +0 -109
  215. package/.history/package_20211109151446.json +0 -112
  216. package/.history/package_20211109151756.json +0 -112
  217. package/.history/package_20211109151802.json +0 -112
  218. package/.history/package_20211109151807.json +0 -112
  219. package/.history/package_20211109151838.json +0 -112
  220. package/.history/package_20211109153435.json +0 -117
  221. package/.history/package_20211109160825.json +0 -117
  222. package/.history/package_20211109161532.json +0 -118
  223. package/.history/package_20211109161554.json +0 -118
  224. package/.history/package_20211109161940.json +0 -117
  225. package/.history/package_20211109162020.json +0 -118
  226. package/.history/package_20211109162510.json +0 -118
  227. package/.history/package_20211109162529.json +0 -118
  228. package/.history/package_20211109162543.json +0 -118
  229. package/.history/package_20211116140927.json +0 -115
  230. package/.history/package_20211116140929.json +0 -115
  231. package/.history/package_20211116140948.json +0 -117
  232. package/.history/package_20211116140951.json +0 -117
  233. package/.history/package_20211116141010.json +0 -117
  234. package/.history/package_20211116141729.json +0 -119
  235. package/.history/package_20211116143239.json +0 -119
  236. package/.history/package_20211116155648.json +0 -131
  237. package/.history/package_20211117114725.json +0 -132
  238. package/.history/package_20211117164402.json +0 -132
  239. package/.history/package_20211117164404.json +0 -132
  240. package/.history/package_20211117164407.json +0 -132
  241. package/.history/src/assets/check_20210511153044.svg +0 -4
  242. package/.history/src/assets/check_20210601141216.svg +0 -4
  243. package/.history/src/assets/check_20210601141237.svg +0 -4
  244. package/.history/src/assets/loader_20210114075959.svg +0 -32
  245. package/.history/src/assets/loader_20210511153051.svg +0 -32
  246. package/.history/src/assets/loader_20210511153109.svg +0 -32
  247. package/.history/src/components/Common/DashedFocusBorder_20211103152807.tsx +0 -20
  248. package/.history/src/components/Common/DashedFocusBorder_20211116141741.tsx +0 -20
  249. package/.history/src/components/Form/Input/Demo/Demo_20210427112859.tsx +0 -0
  250. package/.history/src/components/Form/Input/Demo/Demo_20210427112927.tsx +0 -38
  251. package/.history/src/components/Form/Input/Demo/Demo_20210427113127.tsx +0 -65
  252. package/.history/src/components/Form/Input/Demo/Demo_20210427113139.tsx +0 -56
  253. package/.history/src/components/Form/Input/Demo/Demo_20210427113151.tsx +0 -55
  254. package/.history/src/components/Form/Input/Demo/Demo_20210427113152.tsx +0 -55
  255. package/.history/src/components/Form/Input/Demo/Demo_20210427113157.tsx +0 -55
  256. package/.history/src/components/Form/Input/Demo/Demo_20210427113206.tsx +0 -55
  257. package/.history/src/components/Form/Input/Demo/Demo_20210427113223.tsx +0 -54
  258. package/.history/src/components/Form/Input/Demo/Demo_20210427113224.tsx +0 -54
  259. package/.history/src/components/Form/Input/Demo/Demo_20210427113228.tsx +0 -54
  260. package/.history/src/components/Form/Input/Demo/Demo_20210427113235.tsx +0 -54
  261. package/.history/src/components/Form/Input/Demo/Demo_20210427113311.tsx +0 -54
  262. package/.history/src/components/Form/Input/Demo/Demo_20210427113341.tsx +0 -54
  263. package/.history/src/components/Form/Input/Demo/Demo_20210427113735.tsx +0 -57
  264. package/.history/src/components/Form/Input/Demo/Demo_20210427113751.tsx +0 -58
  265. package/.history/src/components/Form/Input/Demo/Demo_20210427113812.tsx +0 -60
  266. package/.history/src/components/Form/Input/Demo/Demo_20210427114028.tsx +0 -69
  267. package/.history/src/components/Form/Input/Demo/Demo_20210427114251.tsx +0 -71
  268. package/.history/src/components/Form/Input/Demo/Demo_20210427114321.tsx +0 -73
  269. package/.history/src/components/Form/Input/Demo/Demo_20210427114332.tsx +0 -73
  270. package/.history/src/components/Form/Input/Demo/Demo_20210427114504.tsx +0 -77
  271. package/.history/src/components/Form/Input/Demo/Demo_20210427114532.tsx +0 -83
  272. package/.history/src/components/Form/Input/Demo/Demo_20210427114603.tsx +0 -90
  273. package/.history/src/components/Form/Input/Demo/Demo_20210427114621.tsx +0 -89
  274. package/.history/src/components/Form/Input/Demo/Demo_20210427114633.tsx +0 -89
  275. package/.history/src/components/Form/Input/Demo/Demo_20210427114646.tsx +0 -89
  276. package/.history/src/components/Form/Input/Demo/Demo_20210427114759.tsx +0 -98
  277. package/.history/src/components/Form/Input/Demo/Demo_20210427114838.tsx +0 -98
  278. package/.history/src/components/Form/Input/Demo/Demo_20210427114841.tsx +0 -98
  279. package/.history/src/components/Form/Input/Demo/Demo_20210427115036.tsx +0 -99
  280. package/.history/src/components/Form/Input/Demo/Demo_20210427115156.tsx +0 -90
  281. package/.history/src/components/Form/Input/Demo/Demo_20210427115329.tsx +0 -99
  282. package/.history/src/components/Form/Input/Demo/Demo_20210427115339.tsx +0 -99
  283. package/.history/src/components/Form/Input/Demo/Demo_20210427115443.tsx +0 -101
  284. package/.history/src/components/Form/Input/Demo/Demo_20210427115633.tsx +0 -102
  285. package/.history/src/components/Form/Input/Demo/Demo_20210427115821.tsx +0 -102
  286. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909111158.tsx +0 -25
  287. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909112623.tsx +0 -27
  288. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210426165817.tsx +0 -72
  289. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210429114237.tsx +0 -71
  290. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160603.tsx +0 -253
  291. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160617.tsx +0 -253
  292. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160632.tsx +0 -307
  293. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160746.tsx +0 -307
  294. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211116142837.tsx +0 -263
  295. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210309111210.tsx +0 -86
  296. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210405114706.tsx +0 -81
  297. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114357.tsx +0 -81
  298. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114358.tsx +0 -81
  299. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154857.tsx +0 -81
  300. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154904.tsx +0 -97
  301. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154910.tsx +0 -97
  302. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154918.tsx +0 -99
  303. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154929.tsx +0 -103
  304. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154941.tsx +0 -99
  305. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155002.tsx +0 -98
  306. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155402.tsx +0 -99
  307. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210415092917.tsx +0 -43
  308. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429114401.tsx +0 -43
  309. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154559.tsx +0 -43
  310. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154606.tsx +0 -59
  311. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154624.tsx +0 -54
  312. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154643.tsx +0 -56
  313. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154717.tsx +0 -56
  314. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154755.tsx +0 -59
  315. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210415092917.tsx +0 -42
  316. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114419.tsx +0 -42
  317. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114440.tsx +0 -42
  318. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114446.tsx +0 -42
  319. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154420.tsx +0 -42
  320. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154430.tsx +0 -58
  321. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154442.tsx +0 -60
  322. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154459.tsx +0 -55
  323. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154521.tsx +0 -57
  324. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154736.tsx +0 -58
  325. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142816.tsx +0 -1095
  326. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142819.tsx +0 -1095
  327. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142825.tsx +0 -1095
  328. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211117094739.tsx +0 -1095
  329. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210114075959.tsx +0 -40
  330. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429114458.tsx +0 -40
  331. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154308.tsx +0 -33
  332. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154318.tsx +0 -51
  333. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154329.tsx +0 -53
  334. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154337.tsx +0 -56
  335. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154348.tsx +0 -56
  336. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154359.tsx +0 -56
  337. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154401.tsx +0 -56
  338. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154403.tsx +0 -56
  339. package/.history/src/components/Form/Input/JRCFormFieldRender_20210114075959.tsx +0 -97
  340. package/.history/src/components/Form/Input/JRCFormFieldRender_20210405114648.tsx +0 -97
  341. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210114075959.tsx +0 -11
  342. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429114512.tsx +0 -11
  343. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154111.tsx +0 -13
  344. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154126.tsx +0 -13
  345. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154142.tsx +0 -14
  346. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154146.tsx +0 -15
  347. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154155.tsx +0 -15
  348. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154158.tsx +0 -20
  349. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154225.tsx +0 -20
  350. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141848.tsx +0 -149
  351. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141920.tsx +0 -148
  352. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141935.tsx +0 -148
  353. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094122.tsx +0 -148
  354. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094131.tsx +0 -148
  355. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094147.tsx +0 -149
  356. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210114075959.tsx +0 -42
  357. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429114516.tsx +0 -42
  358. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153918.tsx +0 -35
  359. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153924.tsx +0 -53
  360. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153959.tsx +0 -55
  361. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154029.tsx +0 -58
  362. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154035.tsx +0 -58
  363. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210114075959.tsx +0 -31
  364. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210412103504.tsx +0 -45
  365. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429114520.tsx +0 -124
  366. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153726.tsx +0 -124
  367. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153733.tsx +0 -124
  368. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153800.tsx +0 -136
  369. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153834.tsx +0 -138
  370. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153837.tsx +0 -137
  371. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153848.tsx +0 -137
  372. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171834.tsx +0 -124
  373. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171842.tsx +0 -124
  374. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150404.tsx +0 -124
  375. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150412.tsx +0 -124
  376. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150815.tsx +0 -125
  377. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150824.tsx +0 -125
  378. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150834.tsx +0 -125
  379. package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141948.tsx +0 -106
  380. package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141950.tsx +0 -106
  381. package/.history/src/components/Form/Input/JRCFormSelect/JRCFormSelect_20211116142012.tsx +0 -350
  382. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210114075959.tsx +0 -38
  383. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429114541.tsx +0 -38
  384. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152714.tsx +0 -38
  385. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152735.tsx +0 -53
  386. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152747.tsx +0 -48
  387. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152757.tsx +0 -49
  388. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152806.tsx +0 -51
  389. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152816.tsx +0 -54
  390. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152834.tsx +0 -54
  391. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152841.tsx +0 -54
  392. package/.history/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor_20211116142024.tsx +0 -35
  393. package/.history/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea_20211116142028.tsx +0 -65
  394. package/.history/src/components/Form/Input/JRCStyledInput_20210309111210.tsx +0 -94
  395. package/.history/src/components/Form/Input/JRCStyledInput_20210412103822.tsx +0 -98
  396. package/.history/src/components/Form/Input/JRCStyledInput_20210412103824.tsx +0 -97
  397. package/.history/src/components/Form/Input/ReduxFormControls_20211116142058.ts +0 -141
  398. package/.history/src/components/Form/Input/ReduxFormControls_20211116142800.ts +0 -141
  399. package/.history/src/components/JRCAlert/JRCArlert.stories_20211103152807.tsx +0 -60
  400. package/.history/src/components/JRCAlert/JRCArlert.stories_20211116142119.tsx +0 -61
  401. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211103152807.tsx +0 -28
  402. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115138.tsx +0 -27
  403. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115145.tsx +0 -26
  404. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115204.tsx +0 -28
  405. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142132.tsx +0 -27
  406. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142134.tsx +0 -26
  407. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142151.tsx +0 -28
  408. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142200.tsx +0 -29
  409. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142204.tsx +0 -28
  410. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142212.tsx +0 -29
  411. package/.history/src/components/JRCAvatar/JRCAvatar.test_20211103152807.tsx +0 -21
  412. package/.history/src/components/JRCAvatar/JRCAvatar.test_20211116142226.tsx +0 -22
  413. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104018.tsx +0 -59
  414. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104101.tsx +0 -60
  415. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104122.tsx +0 -60
  416. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104143.tsx +0 -60
  417. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104218.tsx +0 -62
  418. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104246.tsx +0 -62
  419. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104354.tsx +0 -60
  420. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104416.tsx +0 -60
  421. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104419.tsx +0 -60
  422. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104701.tsx +0 -62
  423. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104713.tsx +0 -63
  424. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104957.tsx +0 -66
  425. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105005.tsx +0 -66
  426. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105009.tsx +0 -65
  427. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105026.tsx +0 -65
  428. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105309.tsx +0 -61
  429. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105312.tsx +0 -64
  430. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105315.tsx +0 -64
  431. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105433.tsx +0 -64
  432. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105442.tsx +0 -62
  433. package/.history/src/components/JRCAvatar/JRCAvatar_20211215110444.tsx +0 -63
  434. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111145.tsx +0 -64
  435. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111233.tsx +0 -65
  436. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111240.tsx +0 -64
  437. package/.history/src/components/JRCAvatar/JRCAvatar_20211220162840.tsx +0 -62
  438. package/.history/src/components/JRCAvatar/JRCAvatar_20211220162848.tsx +0 -62
  439. package/.history/src/components/JRCAvatar/JRCAvatar_20211220164211.tsx +0 -62
  440. package/.history/src/components/JRCAvatar/JRCAvatar_20211220164215.tsx +0 -62
  441. package/.history/src/components/JRCAvatar/JRCAvatar_20211221115746.tsx +0 -64
  442. package/.history/src/components/JRCAvatar/JRCAvatar_20211221115750.tsx +0 -64
  443. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120044.tsx +0 -64
  444. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120047.tsx +0 -64
  445. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120048.tsx +0 -63
  446. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120052.tsx +0 -63
  447. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120055.tsx +0 -62
  448. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120153.tsx +0 -62
  449. package/.history/src/components/JRCButton/JRCButton.stories_20210114075959.tsx +0 -65
  450. package/.history/src/components/JRCButton/JRCButton.stories_20210324153346.tsx +0 -78
  451. package/.history/src/components/JRCButton/JRCButton_20211103141623.tsx +0 -135
  452. package/.history/src/components/JRCButton/JRCButton_20211116142244.tsx +0 -117
  453. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155338.tsx +0 -36
  454. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155438.tsx +0 -36
  455. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155441.tsx +0 -37
  456. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155446.tsx +0 -37
  457. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155459.tsx +0 -19
  458. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155511.tsx +0 -17
  459. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161017.tsx +0 -18
  460. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161020.tsx +0 -16
  461. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161032.tsx +0 -16
  462. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161148.tsx +0 -16
  463. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161438.tsx +0 -37
  464. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161447.tsx +0 -37
  465. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161456.tsx +0 -41
  466. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161507.tsx +0 -42
  467. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161516.tsx +0 -43
  468. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161820.tsx +0 -43
  469. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164337.tsx +0 -45
  470. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164427.tsx +0 -45
  471. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164441.tsx +0 -45
  472. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164446.tsx +0 -45
  473. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164501.tsx +0 -47
  474. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164510.tsx +0 -52
  475. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164528.tsx +0 -76
  476. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164607.tsx +0 -77
  477. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155318.tsx +0 -0
  478. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155347.tsx +0 -0
  479. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155413.tsx +0 -6
  480. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155414.tsx +0 -6
  481. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155428.tsx +0 -4
  482. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155603.tsx +0 -7
  483. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155631.tsx +0 -9
  484. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155633.tsx +0 -16
  485. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155635.tsx +0 -17
  486. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155649.tsx +0 -41
  487. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155703.tsx +0 -42
  488. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155728.tsx +0 -42
  489. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160204.tsx +0 -42
  490. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160431.tsx +0 -42
  491. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160437.tsx +0 -42
  492. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160801.tsx +0 -46
  493. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160814.tsx +0 -46
  494. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160938.tsx +0 -46
  495. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160947.tsx +0 -47
  496. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161128.tsx +0 -47
  497. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161130.tsx +0 -47
  498. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161135.tsx +0 -47
  499. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161208.tsx +0 -48
  500. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161228.tsx +0 -49
  501. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161331.tsx +0 -55
  502. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161347.tsx +0 -55
  503. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161407.tsx +0 -55
  504. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161410.tsx +0 -55
  505. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161418.tsx +0 -55
  506. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161426.tsx +0 -36
  507. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161539.tsx +0 -30
  508. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161544.tsx +0 -29
  509. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161848.tsx +0 -41
  510. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161859.tsx +0 -50
  511. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161913.tsx +0 -50
  512. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161916.tsx +0 -52
  513. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161938.tsx +0 -53
  514. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161947.tsx +0 -42
  515. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162119.tsx +0 -39
  516. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162128.tsx +0 -40
  517. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162141.tsx +0 -42
  518. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162145.tsx +0 -42
  519. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162154.tsx +0 -42
  520. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162238.tsx +0 -42
  521. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162406.tsx +0 -42
  522. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162457.tsx +0 -43
  523. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162500.tsx +0 -43
  524. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162504.tsx +0 -43
  525. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162612.tsx +0 -43
  526. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162650.tsx +0 -54
  527. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162705.tsx +0 -54
  528. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162819.tsx +0 -55
  529. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162845.tsx +0 -55
  530. package/.history/src/components/JRCCarousel/JRCCarousel_20210412163202.tsx +0 -57
  531. package/.history/src/components/JRCCarousel/JRCCarousel_20210412163241.tsx +0 -55
  532. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211103152807.tsx +0 -28
  533. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142250.tsx +0 -26
  534. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142251.tsx +0 -25
  535. package/.history/src/components/JRCDropDown/JRCDropDown_20210629085002.tsx +0 -155
  536. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142200.tsx +0 -157
  537. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142204.tsx +0 -157
  538. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142213.tsx +0 -157
  539. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142216.tsx +0 -157
  540. package/.history/src/components/JRCError/JRCError.stories_20210406110213.tsx +0 -0
  541. package/.history/src/components/JRCError/JRCError.stories_20210406110227.tsx +0 -18
  542. package/.history/src/components/JRCError/JRCError.stories_20210406110234.tsx +0 -16
  543. package/.history/src/components/JRCError/JRCError.stories_20210406110245.tsx +0 -16
  544. package/.history/src/components/JRCError/JRCError.stories_20210406110305.tsx +0 -18
  545. package/.history/src/components/JRCError/JRCError.stories_20210406110310.tsx +0 -15
  546. package/.history/src/components/JRCError/JRCError.stories_20210406110337.tsx +0 -15
  547. package/.history/src/components/JRCError/JRCError.stories_20210406110354.tsx +0 -15
  548. package/.history/src/components/JRCError/JRCError.stories_20210406110413.tsx +0 -13
  549. package/.history/src/components/JRCError/JRCError.stories_20210406110418.tsx +0 -13
  550. package/.history/src/components/JRCError/JRCError.stories_20210406110708.tsx +0 -14
  551. package/.history/src/components/JRCError/JRCError.stories_20210406110715.tsx +0 -13
  552. package/.history/src/components/JRCError/JRCError.stories_20210406110722.tsx +0 -13
  553. package/.history/src/components/JRCError/JRCError.stories_20210406110736.tsx +0 -13
  554. package/.history/src/components/JRCError/JRCError.stories_20210406110740.tsx +0 -13
  555. package/.history/src/components/JRCError/JRCError.stories_20210406110753.tsx +0 -15
  556. package/.history/src/components/JRCError/JRCError.stories_20210406110757.tsx +0 -16
  557. package/.history/src/components/JRCError/JRCError.stories_20210406110813.tsx +0 -16
  558. package/.history/src/components/JRCError/JRCError.stories_20210406110818.tsx +0 -15
  559. package/.history/src/components/JRCError/JRCError_20210406110115.tsx +0 -0
  560. package/.history/src/components/JRCError/JRCError_20210406110136.tsx +0 -3
  561. package/.history/src/components/JRCError/JRCError_20210406110148.tsx +0 -5
  562. package/.history/src/components/JRCError/JRCError_20210406110154.tsx +0 -5
  563. package/.history/src/components/JRCError/JRCError_20210406110322.tsx +0 -5
  564. package/.history/src/components/JRCError/JRCError_20210406110459.tsx +0 -5
  565. package/.history/src/components/JRCError/JRCError_20210406110521.tsx +0 -9
  566. package/.history/src/components/JRCError/JRCError_20210406110526.tsx +0 -8
  567. package/.history/src/components/JRCError/JRCError_20210406110540.tsx +0 -10
  568. package/.history/src/components/JRCError/JRCError_20210406110544.tsx +0 -10
  569. package/.history/src/components/JRCError/JRCError_20210406110610.tsx +0 -14
  570. package/.history/src/components/JRCError/JRCError_20210406110613.tsx +0 -14
  571. package/.history/src/components/JRCError/JRCError_20210406110624.tsx +0 -15
  572. package/.history/src/components/JRCError/JRCError_20210406110731.tsx +0 -15
  573. package/.history/src/components/JRCHref/JRCHref.stories_20211116142303.tsx +0 -29
  574. package/.history/src/components/JRCHref/JRCHref_20210630101506.tsx +0 -32
  575. package/.history/src/components/JRCHref/JRCHref_20210630101558.tsx +0 -32
  576. package/.history/src/components/JRCHref/JRCHref_20210630101601.tsx +0 -32
  577. package/.history/src/components/JRCHref/JRCHref_20210630101616.tsx +0 -32
  578. package/.history/src/components/JRCHref/JRCHref_20210630101625.tsx +0 -31
  579. package/.history/src/components/JRCHref/JRCHref_20210630101634.tsx +0 -31
  580. package/.history/src/components/JRCHref/JRCHref_20210630101645.tsx +0 -30
  581. package/.history/src/components/JRCHref/JRCHref_20210630101738.tsx +0 -29
  582. package/.history/src/components/JRCHref/JRCHref_20210630101742.tsx +0 -28
  583. package/.history/src/components/JRCIcon/JRCIcon.stories_20210114075959.tsx +0 -1045
  584. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160522.tsx +0 -1049
  585. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160557.tsx +0 -1049
  586. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165104.tsx +0 -1000
  587. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165154.tsx +0 -1002
  588. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165225.tsx +0 -1167
  589. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165243.tsx +0 -1167
  590. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165244.tsx +0 -1167
  591. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165340.tsx +0 -1020
  592. package/.history/src/components/JRCIconButton/JRCIconButton_20211102105335.tsx +0 -86
  593. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141204.tsx +0 -97
  594. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141514.tsx +0 -97
  595. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141535.tsx +0 -97
  596. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141607.tsx +0 -97
  597. package/.history/src/components/JRCImg/JRCImg_20211103152807.tsx +0 -57
  598. package/.history/src/components/JRCImg/JRCImg_20211215104339.tsx +0 -58
  599. package/.history/src/components/JRCImg/JRCImg_20211215104433.tsx +0 -58
  600. package/.history/src/components/JRCList/JRCListMockData.stories_20211116141848.tsx +0 -118
  601. package/.history/src/components/JRCList/JRCListMockData.stories_20211116142710.tsx +0 -119
  602. package/.history/src/components/JRCList/JRCList_20211116141848.tsx +0 -180
  603. package/.history/src/components/JRCList/JRCList_20211116142725.tsx +0 -172
  604. package/.history/src/components/JRCList/JRCList_20211116142728.tsx +0 -172
  605. package/.history/src/components/JRCList/JRCList_20211116142730.tsx +0 -171
  606. package/.history/src/components/JRCList/JRCList_20211116142734.tsx +0 -171
  607. package/.history/src/components/JRCList/JRCList_20211116142738.tsx +0 -171
  608. package/.history/src/components/JRCList/JRCList_20211116142744.tsx +0 -171
  609. package/.history/src/components/JRCList/JRCList_20211116142747.tsx +0 -172
  610. package/.history/src/components/JRCList/JRCList_20211116142748.tsx +0 -171
  611. package/.history/src/components/JRCMenu/JRCMenu.stories_20211103152807.tsx +0 -28
  612. package/.history/src/components/JRCMenu/JRCMenu.stories_20211116142657.tsx +0 -29
  613. package/.history/src/components/JRCMenu/JRCMenu_20211103142113.tsx +0 -88
  614. package/.history/src/components/JRCMenu/JRCMenu_20211103142232.tsx +0 -88
  615. package/.history/src/components/JRCModal/JRCModal_20211103142136.tsx +0 -142
  616. package/.history/src/components/JRCModal/JRCModal_20211103142246.tsx +0 -142
  617. package/.history/src/components/JRCModalImg/JRCModalImg_20210824103034.tsx +0 -148
  618. package/.history/src/components/JRCModalImg/JRCModalImg_20211103142306.tsx +0 -159
  619. package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142641.tsx +0 -65
  620. package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142646.tsx +0 -66
  621. package/.history/src/components/JRCPagination/JRCPagination_20211103142342.tsx +0 -219
  622. package/.history/src/components/JRCTag/JRCTag_20211116142631.tsx +0 -149
  623. package/.history/src/components/JRCThemeProvider/theme-reset_20210615082115.css +0 -254
  624. package/.history/src/components/JRCThemeProvider/theme-reset_20210615143930.css +0 -253
  625. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103143919.tsx +0 -85
  626. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103144205.tsx +0 -85
  627. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211116142619.tsx +0 -86
  628. package/.history/src/components/JRCTypography/JRCTypography.test_20211103152807.tsx +0 -43
  629. package/.history/src/components/JRCTypography/JRCTypography.test_20211116142608.tsx +0 -43
  630. package/.history/src/hooks/UseDidMountEffect_20211103152807.tsx +0 -12
  631. package/.history/src/hooks/UseDidMountEffect_20211116142601.tsx +0 -12
  632. package/.history/src/index_20210330171346.tsx +0 -145
  633. package/.history/src/index_20210330171430.tsx +0 -150
  634. package/.history/src/index_20210406174244.tsx +0 -151
  635. package/.history/src/index_20210406174248.tsx +0 -151
  636. package/.history/src/index_20210406174255.tsx +0 -152
  637. package/.history/src/index_20210406174317.tsx +0 -152
  638. package/.history/src/index_20210406174329.tsx +0 -153
  639. package/.history/src/index_20210412153458.tsx +0 -155
  640. package/.history/src/index_20210412153503.tsx +0 -155
  641. package/.history/src/index_20210427113335.tsx +0 -162
  642. package/.history/src/index_20210427113346.tsx +0 -162
  643. package/.history/src/index_20210427113356.tsx +0 -163
  644. package/.history/src/jest/svgTransform_20211103152807.js +0 -9
  645. package/.history/src/jest/svgTransform_20211117164503.js +0 -10
  646. package/.history/src/storybook/StorybookContainer/StorybookContainer_20210114075959.scss +0 -22
  647. package/.history/src/storybook/StorybookContainer/StorybookContainer_20210330170040.scss +0 -23
  648. package/.history/src/storybook/decorators_20210114075959.tsx +0 -17
  649. package/.history/src/storybook/decorators_20210430082612.tsx +0 -17
  650. package/.history/src/storybook/decorators_20210430082629.tsx +0 -13
  651. package/.history/src/storybook/decorators_20210430082644.tsx +0 -13
  652. package/.history/src/styles/theme_20211123150650.tsx +0 -167
  653. package/.history/src/styles/theme_20211123150708.tsx +0 -168
  654. package/.history/src/styles/theme_20211123150807.tsx +0 -168
  655. package/.history/src/styles/theme_20211123150905.tsx +0 -180
  656. package/.history/src/styles/theme_20211123150921.tsx +0 -175
  657. package/.history/src/styles/theme_20211123150928.tsx +0 -179
  658. package/.history/src/styles/theme_20211123151003.tsx +0 -178
  659. package/.history/src/styles/theme_20211123151005.tsx +0 -178
  660. package/.history/src/styles/theme_20211123151037.tsx +0 -177
  661. package/.history/src/styles/theme_20211123151145.tsx +0 -179
  662. package/.history/src/styles/theme_20211123151303.tsx +0 -179
  663. package/.history/src/styles/theme_20211123151327.tsx +0 -179
  664. package/.history/src/styles/theme_20211123151413.tsx +0 -170
  665. package/.history/src/styles/theme_20211123151416.tsx +0 -169
  666. package/.history/src/styles/theme_20211123151438.tsx +0 -178
  667. package/.history/src/styles/theme_20211123151505.tsx +0 -169
  668. package/.history/src/styles/theme_20211123151654.tsx +0 -179
  669. package/.history/src/styles/theme_20211123151847.tsx +0 -177
  670. package/.history/src/styles/theme_20211123151924.tsx +0 -173
  671. package/.history/src/styles/theme_20211123151946.tsx +0 -173
  672. package/.history/src/styles/theme_20211123151951.tsx +0 -175
  673. package/.history/src/styles/theme_20211123151959.tsx +0 -175
  674. package/.history/src/styles/theme_20211123153945.tsx +0 -173
  675. package/.history/src/styles/theme_20211123153953.tsx +0 -175
  676. package/.history/src/styles/theme_20211123154113.tsx +0 -175
  677. package/.history/src/styles/theme_20211125142741.tsx +0 -166
  678. package/.history/src/styles/utils_20211116141848.tsx +0 -220
  679. package/.history/src/styles/utils_20211116142330.tsx +0 -220
  680. package/.history/src/styles/utils_20211116142340.tsx +0 -220
  681. package/.history/src/styles/utils_20211116142354.tsx +0 -221
  682. package/.history/src/styles/utils_20211116142407.tsx +0 -222
  683. package/.history/src/types/react-table-config.d_20211103152807.ts +0 -128
  684. package/.history/src/types/react-table-config.d_20211116142449.ts +0 -129
  685. package/.history/src/types/react-table-config.d_20211116142537.ts +0 -127
  686. package/.history/src/types/react-table-config.d_20211116142544.ts +0 -124
  687. package/.history/src/types/react-table-config.d_20211116142551.ts +0 -122
  688. package/.history/src/types/react-table-config.d_20211116142914.ts +0 -123
  689. package/.history/src/types/react-table-config.d_20211116142918.ts +0 -122
  690. package/.history/src/types/react-table-config.d_20211116142923.ts +0 -121
  691. package/.history/src/types/react-table-config.d_20211116142926.ts +0 -120
  692. package/.history/src/types/react-table-config.d_20211116142929.ts +0 -119
  693. package/.history/src/types/react-table-config.d_20211116142931.ts +0 -118
  694. package/.history/src/types/react-table-config.d_20211116142934.ts +0 -117
  695. package/.history/src/types/react-table-config.d_20211116142935.ts +0 -116
  696. package/.history/src/types/react-table-config.d_20211116142938.ts +0 -115
  697. package/.history/src/types/react-table-config.d_20211116142943.ts +0 -114
  698. package/.history/src/types/react-table-config.d_20211116143050.ts +0 -123
  699. package/.history/src/utils/test-utils_20211103152807.tsx +0 -40
  700. package/.history/src/utils/test-utils_20211116142526.tsx +0 -40
  701. package/.history/src/utils/test-utils_20211116143351.tsx +0 -40
  702. package/.history/src/utils/test-utils_20211117095711.tsx +0 -40
  703. package/.history/src/utils/test-utils_20211117095720.tsx +0 -41
  704. package/.history/tsconfig_20210929171235.json +0 -16
  705. package/.history/tsconfig_20210929171551.json +0 -16
  706. package/.history/tsconfig_20210929171715.json +0 -17
  707. package/.history/tsconfig_20210929171832.json +0 -17
  708. package/.history/webpack.config_20211109143806.js +0 -70
  709. package/.history/webpack.config_20211109144159.js +0 -66
  710. package/.history/webpack.config_20211109144211.js +0 -67
  711. package/.history/webpack.config_20211109144446.js +0 -67
  712. package/.history/webpack.config_20211109144537.js +0 -70
  713. package/.history/webpack.config_20211109144549.js +0 -70
  714. package/.history/webpack.config_20211109153132.js +0 -69
  715. package/.history/webpack.config_20211109153209.js +0 -71
  716. package/.history/webpack.config_20211109153224.js +0 -72
  717. package/.history/webpack.config_20211109162125.js +0 -72
  718. package/.history/webpack.config_20211117164435.js +0 -69
  719. package/.history/webpack.config_20211117164440.js +0 -70
  720. package/.husky/pre-commit +0 -4
  721. package/.prettierignore +0 -80
  722. package/.prettierrc.json +0 -11
  723. package/.storybook/StorybookContainer/StorybookContainer.css +0 -9
  724. package/.storybook/StorybookContainer/StorybookContainer.tsx +0 -39
  725. package/.storybook/main.js +0 -9
  726. package/.storybook/preview-head.html +0 -8
  727. package/.storybook/preview.js +0 -21
  728. package/.storybook/webpack.config.js +0 -25
  729. package/.vscode/settings.json +0 -9
  730. package/babel.config.js +0 -15
  731. package/build/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.d.ts +0 -12
  732. package/eslint_report.json +0 -1312
  733. package/externals.d.ts +0 -4
  734. package/favicon.ico +0 -0
  735. package/jest.config.js +0 -16
  736. package/jest.setup.ts +0 -1
  737. package/src/assets/check.svg +0 -4
  738. package/src/assets/error.svg +0 -3
  739. package/src/components/Common/DashedFocusBorder.tsx +0 -20
  740. package/src/components/Common/JRCConditionalWrapper.tsx +0 -12
  741. package/src/components/Common/util/getColor.util.ts +0 -12
  742. package/src/components/Form/Common/ClickAwayListener.tsx +0 -41
  743. package/src/components/Form/Common/FormDescription.tsx +0 -9
  744. package/src/components/Form/Common/FormHelper.tsx +0 -30
  745. package/src/components/Form/Common/FormLabel.tsx +0 -38
  746. package/src/components/Form/Common/FormMessageFeedback.tsx +0 -52
  747. package/src/components/Form/Common/types.ts +0 -31
  748. package/src/components/Form/Input/Common/JRCFormErrors.tsx +0 -40
  749. package/src/components/Form/Input/Common/JRCFormFieldRenderer.tsx +0 -85
  750. package/src/components/Form/Input/Common/JRCFormFieldRenderer.types.tsx +0 -51
  751. package/src/components/Form/Input/Common/useFormControls.tsx +0 -108
  752. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.tsx +0 -38
  753. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.tsx +0 -47
  754. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.tsx +0 -37
  755. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.tsx +0 -25
  756. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.tsx +0 -39
  757. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.tsx +0 -33
  758. package/src/components/Form/Input/JRCFormCheckbox/JRCCheckbox.tsx +0 -46
  759. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.stories.tsx +0 -61
  760. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.tsx +0 -101
  761. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.tsx +0 -116
  762. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.tsx +0 -58
  763. package/src/components/Form/Input/JRCFormCheckbox/JRCRadio.tsx +0 -27
  764. package/src/components/Form/Input/JRCFormCheckbox/JRCToggle.tsx +0 -75
  765. package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +0 -26
  766. package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +0 -78
  767. package/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.tsx +0 -1079
  768. package/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.tsx +0 -71
  769. package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.stories.tsx +0 -22
  770. package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.tsx +0 -36
  771. package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.stories.tsx +0 -48
  772. package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.tsx +0 -26
  773. package/src/components/Form/Input/JRCFormFieldRender.tsx +0 -115
  774. package/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.tsx +0 -37
  775. package/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.tsx +0 -75
  776. package/src/components/Form/Input/JRCFormFile/JRCFormFile.tsx +0 -169
  777. package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.stories.tsx +0 -24
  778. package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.tsx +0 -37
  779. package/src/components/Form/Input/JRCFormRange/JRCFormRange.stories.tsx +0 -48
  780. package/src/components/Form/Input/JRCFormRange/JRCFormRange.tsx +0 -106
  781. package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.tsx +0 -10
  782. package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.tsx +0 -22
  783. package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.stories.tsx +0 -23
  784. package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.tsx +0 -272
  785. package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.stories.tsx +0 -104
  786. package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.tsx +0 -399
  787. package/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.tsx +0 -134
  788. package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.tsx +0 -10
  789. package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.tsx +0 -22
  790. package/src/components/Form/Input/JRCFormText/JRCFormText.stories.tsx +0 -26
  791. package/src/components/Form/Input/JRCFormText/JRCFormText.tsx +0 -47
  792. package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.stories.tsx +0 -28
  793. package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.tsx +0 -71
  794. package/src/components/Form/Input/JRCFormURL/JRCFormUrl.stories.tsx +0 -26
  795. package/src/components/Form/Input/JRCFormURL/JRCFormUrl.tsx +0 -35
  796. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.tsx +0 -81
  797. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.tsx +0 -195
  798. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.ts +0 -27
  799. package/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.tsx +0 -50
  800. package/src/components/Form/Input/JRCInputDate/JRCInputDate.tsx +0 -26
  801. package/src/components/Form/Input/JRCInputText/JRCInputText.stories.tsx +0 -52
  802. package/src/components/Form/Input/JRCInputText/JRCInputText.tsx +0 -26
  803. package/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.tsx +0 -52
  804. package/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.tsx +0 -36
  805. package/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.tsx +0 -62
  806. package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.tsx +0 -55
  807. package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.tsx +0 -34
  808. package/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.tsx +0 -63
  809. package/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.tsx +0 -66
  810. package/src/components/Form/Input/JRCSelect/JRCInputSelect.style.tsx +0 -94
  811. package/src/components/Form/Input/JRCSelect/JRCInputSelect.tsx +0 -231
  812. package/src/components/Form/Input/JRCSelect/JRCInputSelect.types.ts +0 -51
  813. package/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.ts +0 -92
  814. package/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.tsx +0 -83
  815. package/src/components/Form/Input/JRCStyledInput.tsx +0 -102
  816. package/src/components/Form/Input/ReduxFormControls.ts +0 -135
  817. package/src/components/Form/Input/temporary.types.tsx +0 -22
  818. package/src/components/JRCAlert/JRCAlert.stories.tsx +0 -62
  819. package/src/components/JRCAlert/JRCAlert.tsx +0 -135
  820. package/src/components/JRCAppContainer/JRCAppContainer.tsx +0 -19
  821. package/src/components/JRCAppHeader/JRCAppHeader.stories.tsx +0 -25
  822. package/src/components/JRCAppHeader/JRCAppHeader.styles.tsx +0 -23
  823. package/src/components/JRCAppHeader/JRCAppHeader.tsx +0 -26
  824. package/src/components/JRCAppHeader/JRCAppHeader.types.tsx +0 -6
  825. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.tsx +0 -125
  826. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.tsx +0 -122
  827. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +0 -129
  828. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.tsx +0 -61
  829. package/src/components/JRCAppLeftColumn/JRCDefaultMenu.tsx +0 -34
  830. package/src/components/JRCAvatar/JRCAvatar.stories.tsx +0 -30
  831. package/src/components/JRCAvatar/JRCAvatar.test.tsx +0 -22
  832. package/src/components/JRCAvatar/JRCAvatar.tsx +0 -91
  833. package/src/components/JRCButton/JRCButton.stories.tsx +0 -311
  834. package/src/components/JRCButton/JRCButton.test.tsx +0 -34
  835. package/src/components/JRCButton/JRCButton.tsx +0 -126
  836. package/src/components/JRCButton/JRCButtonConfig.tsx +0 -150
  837. package/src/components/JRCButton/JRCValidationButton.tsx +0 -91
  838. package/src/components/JRCButton/__snapshots__/JRCButton.test.tsx.snap +0 -13
  839. package/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.tsx +0 -289
  840. package/src/components/JRCButtonDropdown/JRCButtonDropdown.tsx +0 -170
  841. package/src/components/JRCCard/JRCCard.stories.tsx +0 -17
  842. package/src/components/JRCCard/JRCCard.tsx +0 -29
  843. package/src/components/JRCColumnCenter/JRCColumnCenter.tsx +0 -13
  844. package/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.tsx +0 -26
  845. package/src/components/JRCColumnLeft/JRCColumnLeft.tsx +0 -17
  846. package/src/components/JRCColumnRight/JRCColumnRight.tsx +0 -17
  847. package/src/components/JRCDate/JRCDate.stories.tsx +0 -11
  848. package/src/components/JRCDate/JRCDate.tsx +0 -32
  849. package/src/components/JRCDropDown/JRCDropDown.stories.tsx +0 -16
  850. package/src/components/JRCDropDown/JRCDropDown.tsx +0 -75
  851. package/src/components/JRCEllipsis/JRCEllipsis.stories.tsx +0 -18
  852. package/src/components/JRCEllipsis/JRCEllipsis.tsx +0 -22
  853. package/src/components/JRCFileOpen/JRCFileOpen.tsx +0 -195
  854. package/src/components/JRCFileOpen/extensions.tsx +0 -14
  855. package/src/components/JRCGrid/JRCGrid.stories.tsx +0 -45
  856. package/src/components/JRCGrid/JRCGrid.tsx +0 -15
  857. package/src/components/JRCHref/JRCHref.stories.tsx +0 -35
  858. package/src/components/JRCHref/JRCHref.tsx +0 -67
  859. package/src/components/JRCIcon/JRCIcon.stories.tsx +0 -1040
  860. package/src/components/JRCIcon/JRCIcon.tsx +0 -51
  861. package/src/components/JRCIcon/fonts.d.ts +0 -5
  862. package/src/components/JRCIconButton/JRCIconButton.stories.tsx +0 -33
  863. package/src/components/JRCIconButton/JRCIconButton.tsx +0 -97
  864. package/src/components/JRCImg/JRCImg.stories.tsx +0 -18
  865. package/src/components/JRCImg/JRCImg.test.tsx +0 -13
  866. package/src/components/JRCImg/JRCImg.tsx +0 -60
  867. package/src/components/JRCImg/url.util.ts +0 -109
  868. package/src/components/JRCImg/url.utils.test.ts +0 -80
  869. package/src/components/JRCList/JRCList.stories.tsx +0 -98
  870. package/src/components/JRCList/JRCList.styles.tsx +0 -227
  871. package/src/components/JRCList/JRCList.tsx +0 -217
  872. package/src/components/JRCList/JRCListMockData.stories.tsx +0 -105
  873. package/src/components/JRCLoader/JRCLoader.stories.tsx +0 -17
  874. package/src/components/JRCLoader/JRCLoader.tsx +0 -53
  875. package/src/components/JRCLoader/JRCSkeleton.tsx +0 -77
  876. package/src/components/JRCMenu/JRCMenu.stories.tsx +0 -29
  877. package/src/components/JRCMenu/JRCMenu.tsx +0 -80
  878. package/src/components/JRCMenuItem/JRCMenuItem.tsx +0 -51
  879. package/src/components/JRCModal/JRCModal.stories.tsx +0 -206
  880. package/src/components/JRCModal/JRCModal.styles.tsx +0 -73
  881. package/src/components/JRCModal/JRCModal.tsx +0 -204
  882. package/src/components/JRCModalImg/JRCModalImg.stories.tsx +0 -119
  883. package/src/components/JRCModalImg/JRCModalImg.styles.tsx +0 -83
  884. package/src/components/JRCModalImg/JRCModalImg.tsx +0 -140
  885. package/src/components/JRCPagination/JRCPagination.stories.tsx +0 -42
  886. package/src/components/JRCPagination/JRCPagination.test.tsx +0 -79
  887. package/src/components/JRCPagination/JRCPagination.tsx +0 -194
  888. package/src/components/JRCTabs/JRCTabItem +0 -0
  889. package/src/components/JRCTabs/JRCTabs.stories.tsx +0 -121
  890. package/src/components/JRCTabs/JRCTabs.tsx +0 -165
  891. package/src/components/JRCTag/JRCTag.stories.tsx +0 -26
  892. package/src/components/JRCTag/JRCTag.tsx +0 -140
  893. package/src/components/JRCThemeProvider/JRCThemeProvider.tsx +0 -26
  894. package/src/components/JRCThemeProvider/animation.css +0 -46
  895. package/src/components/JRCThemeProvider/font.css +0 -12
  896. package/src/components/JRCThemeProvider/fontawesome-icons.css +0 -10
  897. package/src/components/JRCThemeProvider/fontspot-icons.css +0 -10
  898. package/src/components/JRCThemeProvider/gabarit.css +0 -96
  899. package/src/components/JRCThemeProvider/scrollbar.css +0 -18
  900. package/src/components/JRCThemeProvider/theme-reset.css +0 -246
  901. package/src/components/JRCTooltip/JRCTooltip.stories.tsx +0 -87
  902. package/src/components/JRCTooltip/JRCTooltip.tsx +0 -148
  903. package/src/components/JRCTypo/JRCTypo.stories.tsx +0 -42
  904. package/src/components/JRCTypo/JRCTypo.tsx +0 -91
  905. package/src/components/JRCTypography/JRCTypography.d.tsx +0 -29
  906. package/src/components/JRCTypography/JRCTypography.stories.tsx +0 -18
  907. package/src/components/JRCTypography/JRCTypography.styles.tsx +0 -18
  908. package/src/components/JRCTypography/JRCTypography.test.tsx +0 -38
  909. package/src/components/JRCTypography/JRCTypography.tsx +0 -5
  910. package/src/components/JRCTypography/__snapshots__/JRCTypography.test.tsx.snap +0 -11
  911. package/src/hooks/UseDebounce.ts +0 -25
  912. package/src/hooks/UseDidMountEffect.tsx +0 -10
  913. package/src/hooks/UseTimeout.ts +0 -24
  914. package/src/index.tsx +0 -204
  915. package/src/jest/EmptyModule.js +0 -0
  916. package/src/jest/svgTransform.js +0 -10
  917. package/src/storybook/decorators.tsx +0 -17
  918. package/src/styles/Theme.stories.tsx +0 -265
  919. package/src/styles/theme.d.ts +0 -6
  920. package/src/styles/theme.tsx +0 -202
  921. package/src/styles/utils.tsx +0 -221
  922. package/src/translation/index.tsx +0 -2
  923. package/src/translation/lang.json +0 -30
  924. package/src/types/dataAttributes.ts +0 -7
  925. package/src/types/react-table-config.d.ts +0 -123
  926. package/src/types.ts +0 -99
  927. package/src/utils/const.ts +0 -9
  928. package/src/utils/test-utils.tsx +0 -41
  929. package/src/utils/types.tsx +0 -35
  930. package/src/utils/utils.date.test.tsx +0 -14
  931. package/src/utils/utils.date.tsx +0 -20
  932. package/src/utils/utils.document.tsx +0 -54
  933. package/src/utils/utils.object.test.tsx +0 -38
  934. package/src/utils/utils.object.tsx +0 -71
  935. package/src/utils/utils.regexp.test.ts +0 -11
  936. package/src/utils/utils.regexp.tsx +0 -8
  937. package/src/utils/utils.string.test.ts +0 -18
  938. package/src/utils/utils.string.ts +0 -7
  939. package/tsconfig.json +0 -18
  940. package/webpack.config.js +0 -70
@@ -1,51 +0,0 @@
1
- import { JRCInputFieldProps } from '../Common/JRCFormFieldRenderer.types';
2
- import { ControllerRenderProps } from 'react-hook-form/dist/types/controller';
3
- import { DataCy } from '../../../../types/dataAttributes';
4
-
5
- /**
6
- * Select
7
- */
8
- export type NativeSelectProps<T> = ControllerRenderProps<T> & SelectProps;
9
- export type JRCInputSelectProps<T> = JRCInputFieldProps<T> & SelectProps;
10
-
11
- export type Getter = ((option: any) => any) | string;
12
-
13
- export type SelectProps = DataCy & {
14
- options?: Array<any>;
15
- asyncPromise?: (inputValue: string) => Promise<any[]>;
16
-
17
- multiple?: boolean;
18
-
19
- getLabel?: ((option: any) => any) | string;
20
- getValue?: ((option: any) => any) | string;
21
-
22
- disabled?: boolean;
23
- placeholder?: string;
24
-
25
- searchable?: boolean;
26
- getSearch?: ((option: any) => any) | string;
27
-
28
- group?: boolean;
29
- getGroup?: ((option: any) => any) | string;
30
-
31
- components?: {
32
- // Receive a full option object
33
- Option?: React.ComponentType<{ option: any }>;
34
- // Receive an option if getValue is not provided, getValue(option) otherwise
35
- SelectedOption?: React.ComponentType<{ option: any }>;
36
- };
37
- };
38
-
39
- /**
40
- * Autocomplete
41
- */
42
- export type NativeAutocompleteProps<T> = ControllerRenderProps<T> & AutocompleteInnerProps;
43
- export type JRCAutocompleteProps<T> = JRCInputFieldProps<T> & AutocompleteInnerProps;
44
-
45
- export type AutocompleteLittle = { uri: string; title: string };
46
-
47
- export type AutocompleteInnerProps = Omit<SelectProps, 'options'> &
48
- DataCy & {
49
- options?: Array<AutocompleteLittle>;
50
- asyncPromise?: (inputValue: string) => Promise<Array<AutocompleteLittle>>;
51
- };
@@ -1,92 +0,0 @@
1
- import { deepEqual } from '../../../../utils/utils.object';
2
-
3
- /**
4
- * Get index of an object within an array (works with objects)
5
- * @param arr
6
- * @param element
7
- */
8
- export function getIndex(arr: Array<any>, element: any): number {
9
- return arr.findIndex((v) => deepEqual(v, element));
10
- }
11
-
12
- /**
13
- * Remove an object within an array (works with objects)
14
- * @param arr
15
- * @param value
16
- */
17
- export function removeItem<T>(arr: Array<T>, value: T): Array<T> {
18
- const index = getIndex(arr, value);
19
- if (index >= 0) {
20
- arr.splice(index, 1);
21
- }
22
- return arr;
23
- }
24
-
25
- /**
26
- * Adds an object within an array. Instantiate it if the arr is neither an array nor defined
27
- * @param arr
28
- * @param value
29
- */
30
- export function addItem<T>(arr: Array<T> | any, value: T): Array<T> {
31
- if (Array.isArray(arr)) {
32
- arr.push(value);
33
- return arr;
34
- } else {
35
- return [value];
36
- }
37
- }
38
-
39
- /**
40
- * Sorts, Adds an index then groups an array with a grouping function
41
- * @param arr
42
- * @param getGroup
43
- */
44
- export function group<T>(
45
- arr: Array<T>,
46
- getGroup: (v: T) => string,
47
- ): { label: string; options: (T & { _index: number })[] }[] {
48
- const mappedArr = arr
49
- // add group value once for future use
50
- .map((el) => ({ el, group: getGroup(el) }))
51
- // sort alphabetically in order for the indexes to be in the right order
52
- .sort((el1, el2) => (el1.group === el2.group ? 0 : el1.group < el2.group ? -1 : 1))
53
- // group options by their grouping property
54
- .reduce((acc, { el, group }, index) => {
55
- if (acc.get(group)) acc.set(group, [...acc.get(group), { ...el, _index: index }]);
56
- else acc.set(group, [{ ...el, _index: index }]);
57
- return acc;
58
- }, new Map());
59
- // Convert map to array of array
60
- return Array.from(mappedArr).map(([k, v]) => ({ label: k, options: v }));
61
- }
62
-
63
- /**
64
- * Returns the attribute of an object according to a getter
65
- * If the return value is falsy, always return an empty string to avoid warning: "A component is changing a controlled input to be uncontrolled"
66
- * @param obj
67
- * @param getter
68
- */
69
- export function get(obj: any, getter: any): any {
70
- if (getter && typeof getter === 'function') return getter(obj) || '';
71
- else if (getter && typeof getter === 'string') return obj[getter] || '';
72
- return obj || '';
73
- }
74
-
75
- /**
76
- * If the obj is an array, check if the search is in it. Otherwise, checks if the search is the object
77
- * @param obj
78
- * @param search
79
- */
80
- export function isOrIncludes<T>(obj: T | Array<T>, search: T) {
81
- if (Array.isArray(obj)) {
82
- return getIndex(obj, search) >= 0;
83
- } else {
84
- return deepEqual(obj, search);
85
- }
86
- }
87
-
88
- /**
89
- * Returns true if it is falsy, an empty array or an empty object
90
- * @param v
91
- */
92
- export const isNullOrEmpty = (v: any | undefined) => !v || (Array.isArray(v) && !v.length) || v == {};
@@ -1,83 +0,0 @@
1
- import { Meta, Story } from '@storybook/react';
2
- import { useForm } from 'react-hook-form';
3
- import { SubmitHandler } from 'react-hook-form/dist/types/form';
4
- import * as React from 'react';
5
- import { JRCInputSelect } from './JRCInputSelect';
6
- import { JRCInputSelectProps } from './JRCInputSelect.types';
7
-
8
- export default {
9
- title: 'Inputs/new',
10
- component: JRCInputSelect,
11
- } as Meta;
12
-
13
- type Data = {
14
- animal: string;
15
- cat: string;
16
- };
17
-
18
- const Template: Story<JRCInputSelectProps<{ select: Array<Data> }>> = (args) => {
19
- const { handleSubmit, control, reset } = useForm({
20
- defaultValues: {
21
- select: [{ animal: 'elephant', cat: 'big' }],
22
- },
23
- criteriaMode: 'all',
24
- });
25
-
26
- const onSubmit: SubmitHandler<{ select: Array<Data> }> = (data) => {
27
- alert(JSON.stringify(data, null, 2));
28
- };
29
-
30
- return (
31
- <form onSubmit={handleSubmit(onSubmit)}>
32
- <p>-.-</p>
33
- <JRCInputSelect {...args} name="select" control={control} />
34
- <p>-.-</p>
35
- <input type="submit" />
36
- <input type="reset" />
37
- <button type="button" onClick={() => reset()}>
38
- Custom Reset
39
- </button>
40
- </form>
41
- );
42
- };
43
-
44
- export const AsyncSelect = Template.bind({});
45
- AsyncSelect.args = {
46
- label: 'label',
47
- htmlFor: 'htmlFor',
48
- placeholder: 'placeholder',
49
- labelIsLegend: false,
50
- description: 'description',
51
-
52
- asyncPromise: (input) =>
53
- Promise.resolve(
54
- [
55
- { animal: 'elephant', cat: 'big' },
56
- { animal: 'girage', cat: 'tall' },
57
- { animal: 'mouse', cat: 'big' },
58
- ].filter((option) => new RegExp(input).test(option.animal)),
59
- ),
60
-
61
- multiple: true,
62
- getLabel: (option: any) => `~${option.animal}~`,
63
- getValue: (option: any) => `~${option.animal}~`,
64
-
65
- searchable: true,
66
- getSearch: (option: any) => `${option.animal}`,
67
-
68
- group: true,
69
- getGroup: 'cat',
70
-
71
- components: {
72
- Option: (props: any) => {
73
- return (
74
- <div>
75
- {props.option.cat}-{props.option.animal}
76
- </div>
77
- );
78
- },
79
- // SelectedOption: (props: any) => {
80
- // return <div>{props.value}</div>
81
- // }
82
- },
83
- };
@@ -1,102 +0,0 @@
1
- import * as React from 'react';
2
- import styled, { css } from 'styled-components';
3
- import check from 'assets/check.svg';
4
- import error from 'assets/x.svg';
5
- import { InputState } from './JRCFormFieldRender';
6
- import { DataCy } from '../../../types/dataAttributes';
7
-
8
- /**
9
- * Input styles are &&& encapsulated in order to go over the reset styles
10
- * and the not-resseted legacy style set with input[type="toto"]
11
- */
12
- export const cssCommonStyledInput = css<InputState>`
13
- &&&& {
14
- font-size: 16px;
15
- color: ${(props) => props.theme.color.grey5};
16
- border: 1px solid ${(props) => props.theme.color.grey2};
17
- width: 100%;
18
- height: 40px;
19
- border-radius: 8px;
20
- box-sizing: border-box;
21
- padding: 8px 16px;
22
- margin-bottom: 4px;
23
- box-shadow: none;
24
- transition: border 0.2s, box-shadow 0.2s;
25
-
26
- &:hover {
27
- box-shadow: 0 0 2px ${(props) => props.theme.color.grey2};
28
- }
29
- &:focus {
30
- border-color: ${(props) => props.theme.color.navy};
31
- box-shadow: 0 0 2px ${(props) => props.theme.color.grey4};
32
- }
33
-
34
- ${(props) =>
35
- props.valid &&
36
- `
37
- border-color: ${props.theme.color.green};
38
- background-image: url(${check});
39
- background-repeat: no-repeat;
40
- background-position: calc(100% - 14px) 14px;
41
- background-size: 12px;
42
- &:focus {
43
- border-color: ${props.theme.color.green};
44
- box-shadow: none;
45
- }
46
- `}
47
-
48
- ${(props) =>
49
- props.error &&
50
- `
51
- border-color: ${props.theme.color.orange};
52
- background-image: url(${error});
53
- background-repeat: no-repeat;
54
- background-position: calc(100% - 14px) 14px;
55
- background-size: 12px;
56
- `}
57
- }
58
- `;
59
-
60
- export const cssStyledInput = css<InputState>`
61
- ${cssCommonStyledInput}
62
- &&&::placeholder {
63
- color: ${(props) => props.theme.color.grey3};
64
- font-size: 16px;
65
- font-style: normal;
66
- opacity: 1;
67
- }
68
- `;
69
-
70
- export const StyledInput = styled.input.attrs<InputState>(({ dataCy, ...props }) => ({ 'data-cy': dataCy, ...props }))`
71
- ${cssStyledInput}
72
- &&& {
73
- &.inputFile {
74
- visibility: hidden;
75
- display: none;
76
- }
77
- }
78
- `;
79
-
80
- export type StyledSelectProps = DataCy & {
81
- searchable?: boolean;
82
- };
83
-
84
- export const StyledSelect = styled(StyledInput)<StyledSelectProps>`
85
- ${(props) => !props.searchable && 'caret-color: transparent'};
86
- ${(props) => !props.searchable && 'cursor: pointer'};
87
- `;
88
-
89
- export const MaxLengthIndicatorContainer = styled.div`
90
- text-align: right;
91
- margin-top: -24px;
92
- `;
93
-
94
- export const MaxLengthIndicator = ({ maxLength, actualLength }: { maxLength?: number; actualLength: number }) => (
95
- <>
96
- {maxLength && (
97
- <MaxLengthIndicatorContainer>
98
- {actualLength}/{maxLength}
99
- </MaxLengthIndicatorContainer>
100
- )}
101
- </>
102
- );
@@ -1,135 +0,0 @@
1
- import { useMemo } from 'react';
2
- import { IntlShape } from 'react-intl';
3
-
4
- export type ControlsProps = {
5
- required?: boolean;
6
- minLength?: number;
7
- maxLength?: number;
8
- number?: boolean;
9
- minValue?: number | string;
10
- maxValue?: number | string;
11
- email?: boolean;
12
- url?: boolean;
13
- date?: boolean;
14
- };
15
-
16
- /***
17
- * Format
18
- * @todo trad
19
- */
20
- const required = (intl: IntlShape) => (value: boolean) =>
21
- !value || (value && Array.isArray(value) && !value.length)
22
- ? intl.formatMessage({
23
- id: 'GLOBAL_Form_Controls_Required',
24
- })
25
- : undefined;
26
- const maxLength = (intl: IntlShape, max: number) => (value: string) =>
27
- value && value.length > max
28
- ? intl.formatMessage(
29
- {
30
- id: 'GLOBAL_Form_Controls_MaxLength',
31
- },
32
- { max },
33
- )
34
- : undefined;
35
-
36
- const minLength = (intl: IntlShape, min: number) => (value: string) =>
37
- value && value.length < min
38
- ? intl.formatMessage(
39
- {
40
- id: 'GLOBAL_Form_Controls_MinLength',
41
- },
42
- { min },
43
- )
44
- : undefined;
45
-
46
- const number = (intl: IntlShape) => (value: any) =>
47
- // TODO : doesn't work !!
48
- value && isNaN(Number(value))
49
- ? intl.formatMessage({
50
- id: 'GLOBAL_Form_Controls_Number',
51
- })
52
- : undefined;
53
-
54
- const minValue = (intl: IntlShape, min: number | string) => (value: number) =>
55
- value && value < +min
56
- ? intl.formatMessage(
57
- {
58
- id: 'GLOBAL_FORM_CONTROLS_MinValue',
59
- },
60
- { min },
61
- )
62
- : undefined;
63
-
64
- const maxValue = (intl: IntlShape, max: number | string) => (value: number) =>
65
- value && value > +max
66
- ? intl.formatMessage(
67
- {
68
- id: 'GLOBAL_Form_Controls_MaxValue',
69
- },
70
- { max },
71
- )
72
- : undefined;
73
-
74
- const email = (intl: IntlShape) => (value: string) =>
75
- value && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(value)
76
- ? intl.formatMessage({
77
- id: 'ERROR_Mail_Invalid',
78
- })
79
- : undefined;
80
-
81
- const url = (intl: IntlShape) => (value: string) =>
82
- // eslint-disable-next-line no-useless-escape
83
- value && !/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/i.test(value)
84
- ? intl.formatMessage({
85
- id: 'GLOBAL_Form_Controls_Url',
86
- })
87
- : undefined;
88
-
89
- const date = (intl: IntlShape) => (value: string) =>
90
- value && !/^\d{2,2}\/\d{2,2}\/\d{4,4}$/i.test(value)
91
- ? intl.formatMessage({
92
- id: 'GLOBAL_Form_Controls_Date',
93
- })
94
- : undefined;
95
-
96
- export const getControls = (props: ControlsProps & { intl: IntlShape }) => {
97
- const controls = [];
98
- if (props.required) {
99
- controls.push(required(props.intl));
100
- }
101
- if (props.minLength) {
102
- controls.push(minLength(props.intl, props.minLength));
103
- }
104
- if (props.maxLength) {
105
- controls.push(maxLength(props.intl, props.maxLength));
106
- }
107
- if (props.number) {
108
- controls.push(number(props.intl));
109
- }
110
- if (props.date) {
111
- controls.push(date(props.intl));
112
- }
113
- if (props.minValue) {
114
- controls.push(minValue(props.intl, props.minValue));
115
- }
116
- if (props.maxValue) {
117
- controls.push(maxValue(props.intl, props.maxValue));
118
- }
119
- if (props.email) {
120
- controls.push(email(props.intl));
121
- }
122
- if (props.url) {
123
- controls.push(url(props.intl));
124
- }
125
- return controls;
126
- };
127
-
128
- export const useControls = (props: ControlsProps & { intl: IntlShape }) => {
129
- const { required, minLength, maxLength, number, minValue, maxValue, email, url } = props;
130
- const validate = useMemo(
131
- () => getControls({ ...props }),
132
- [required, minLength, maxLength, number, minValue, maxValue, email, url],
133
- );
134
- return validate;
135
- };
@@ -1,22 +0,0 @@
1
- import { JRCButtonProps } from 'components/JRCButton/JRCButton';
2
-
3
- export interface extraInfoProps {
4
- label?: string;
5
- placeholder?: string;
6
- htmlFor?: string;
7
- description?: string;
8
- helper?: {
9
- message: string;
10
- title?: string;
11
- button?: JRCButtonProps;
12
- closeButton?: boolean;
13
- position?: 'top' | 'bottom' | 'left' | 'right';
14
- };
15
- }
16
-
17
- export interface entryProps {
18
- input: any;
19
- placeholder: string;
20
- classes: string;
21
- htmlFor: string;
22
- }
@@ -1,62 +0,0 @@
1
- /* eslint-disable no-console */
2
- import * as React from 'react';
3
- import JRCAlert, { JRCAlertProps } from './JRCAlert';
4
- import { withReduxForm } from '../../storybook/decorators';
5
- import { Story, Meta } from '@storybook/react';
6
-
7
- export default {
8
- title: 'JRCAlert',
9
- component: JRCAlert,
10
- decorators: [withReduxForm],
11
- } as Meta;
12
-
13
- const Template: Story<JRCAlertProps> = (args) => <JRCAlert {...args}>{args.children}</JRCAlert>;
14
-
15
- export const Default = Template.bind({});
16
- Default.args = {
17
- label: 'Custom Alert',
18
- description: 'Everyone loves cauliflower cheese caerphilly',
19
- color: 'success',
20
- };
21
-
22
- export const Success = Template.bind({});
23
- Success.args = {
24
- label: "C'est tout bon !",
25
- description:
26
- "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
27
- buttons: [
28
- {
29
- color: 'primary',
30
- children: 'Action',
31
- },
32
- {
33
- color: 'primary',
34
- children: 'Accéder au contenu',
35
- variant: 'outlined',
36
- onClick: () => console.log('Accès au contenu'),
37
- },
38
- ],
39
- hasLoader: true,
40
- };
41
-
42
- export const Error = Template.bind({});
43
- Error.args = {
44
- label: 'Aïe, il y a eu un couac...',
45
- color: 'error',
46
- description: 'Votre contenu a bien été crée !',
47
- hasLoader: true,
48
- buttons: [
49
- {
50
- color: 'primary',
51
- children: 'Action',
52
- },
53
- ],
54
- };
55
-
56
- export const Warning = Template.bind({});
57
- Warning.args = {
58
- label: 'Attention !',
59
- color: 'warning',
60
- hasLoader: true,
61
- description: 'Votre contenu a bien été crée !',
62
- };
@@ -1,135 +0,0 @@
1
- import * as React from 'react';
2
- import styled, { ThemeContext } from 'styled-components';
3
- import { JRCIconButton } from '../JRCIconButton/JRCIconButton';
4
- import JRCButton, { JRCButtonProps } from 'components/JRCButton/JRCButton';
5
- import { JRCTypography } from '../JRCTypography/JRCTypography';
6
- import JRCIcon from '../JRCIcon/JRCIcon';
7
- import { getColor, MessageType } from 'components/Common/util/getColor.util';
8
-
9
- export interface JRCAlertProps extends React.ComponentPropsWithoutRef<'div'> {
10
- /** Alert title */
11
- label: string;
12
- /** Main content of the alert */
13
- description?: string;
14
- /** Define the type of alert */
15
- type?: MessageType;
16
- /** Add a loader which will make the alert disappear after the timeout */
17
- hasLoader?: boolean;
18
- /** Timeout */
19
- timeout?: number;
20
- /** Add buttons on the alert */
21
- buttons?: JRCButtonProps[];
22
- }
23
-
24
- const Alert = styled.div<{ description?: string; type: MessageType }>`
25
- width: 320px;
26
- border-radius: 8px;
27
- background: ${(props) => (props.description ? 'white' : props.theme.color[getColor(props.type)])};
28
- overflow: hidden;
29
- ${(props) => props.description && `box-shadow: 0 0 5px ${props.theme.color.grey2}`};
30
- `;
31
- const Container = styled.div<{ center: boolean }>`
32
- display: flex;
33
- padding: 8px;
34
- justify-content: space-between;
35
- ${(props) => props.center && 'align-items: center'};
36
- flex-direction: row;
37
- `;
38
- const Content = styled.div`
39
- width: 100%;
40
- margin-left: 8px;
41
- `;
42
- const Header = styled.div`
43
- display: flex;
44
- justify-content: space-between;
45
- align-items: center;
46
- `;
47
-
48
- const icons = {
49
- success: 'icon-check-circle',
50
- error: 'icon-times-circle',
51
- warning: 'icon-exclamation-circle',
52
- };
53
-
54
- const JRCAlert = ({ label, description, hasLoader, buttons, type = 'success', timeout = 3000 }: JRCAlertProps) => {
55
- const colors = React.useContext(ThemeContext).color;
56
- const [showAlert, setShowAlert] = React.useState(true);
57
- const closeAlert = () => setShowAlert(false);
58
-
59
- React.useEffect(() => {
60
- const timeoutId = setTimeout(() => {
61
- setShowAlert(false);
62
- }, timeout);
63
- return () => {
64
- clearTimeout(timeoutId);
65
- };
66
- }, [timeout]);
67
-
68
- return (
69
- (showAlert && (
70
- <Alert
71
- description={description}
72
- type={type}
73
- style={{ '--timeout': `${timeout}ms` } as React.CSSProperties}
74
- className="slide-right"
75
- role="alert"
76
- aria-live="polite">
77
- <Container center={!description}>
78
- <JRCIcon name={icons[type]} color={description ? getColor(type) : 'white'} />
79
- <Content>
80
- <Header>
81
- <JRCTypography
82
- size={description ? 'm' : 'l'}
83
- weight="medium"
84
- color={(!description && 'white') || undefined}>
85
- {label}
86
- </JRCTypography>
87
- <JRCIconButton
88
- size="small"
89
- icon="icon-times"
90
- onClick={closeAlert}
91
- aria-label="close"
92
- color={(!description && 'white') || undefined}
93
- />
94
- </Header>
95
- {description && <JRCTypography>{description}</JRCTypography>}
96
- {buttons &&
97
- buttons.map((button: JRCButtonProps, index: number) => (
98
- <JRCButton
99
- key={index}
100
- {...button}
101
- float="right"
102
- onClick={(e) => {
103
- if (button.onClick) button.onClick(e);
104
- closeAlert();
105
- }}>
106
- {button.children}
107
- </JRCButton>
108
- ))}
109
- </Content>
110
- </Container>
111
- {hasLoader && description && <ProgressBar color={description ? colors[getColor(type)] : 'white'} />}
112
- </Alert>
113
- )) ||
114
- null
115
- );
116
- };
117
-
118
- /**
119
- * @member color color of the bar
120
- */
121
- interface ProgressBarProps {
122
- color: string;
123
- }
124
-
125
- const Bar = styled.div<ProgressBarProps>`
126
- height: 4px;
127
- border-radius: 2px;
128
- background-color: ${(props) => props.color};
129
- `;
130
-
131
- const ProgressBar = ({ color }: ProgressBarProps) => {
132
- return <Bar color={color} className="scale-left" />;
133
- };
134
-
135
- export default JRCAlert;