jamespot-react-components 1.0.3 → 1.0.65

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 (947) hide show
  1. package/build/jamespot-react-components.js +673 -350
  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 +12 -4
  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/JRCInputCheckbox/JRCInputCheckbox.d.ts +5 -2
  17. package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +11 -0
  18. package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.d.ts +5 -0
  19. package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +1 -1
  20. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +15 -0
  21. package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.d.ts +5 -0
  22. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +7 -0
  23. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +262 -1
  24. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +3 -0
  25. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +4 -3
  26. package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -0
  27. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
  28. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +1 -1
  29. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +3 -3
  30. package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +2 -2
  31. package/build/src/components/JRCAvatar/JRCAvatar.d.ts +2 -0
  32. package/build/src/components/JRCButton/JRCButton.d.ts +25 -0
  33. package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -2
  34. package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +20 -0
  35. package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +8 -0
  36. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -0
  37. package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +17 -0
  38. package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +7 -0
  39. package/build/src/components/JRCCard/JRCCard.d.ts +1 -3
  40. package/build/src/components/JRCDate/JRCDate.d.ts +2 -0
  41. package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +7 -0
  42. package/build/src/components/JRCEllipsis/JRCEllipsis.stories.d.ts +5 -0
  43. package/build/src/components/JRCFolders/JRCFolder.d.ts +3 -0
  44. package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +6 -0
  45. package/build/src/components/JRCFolders/JRCFolders.d.ts +3 -0
  46. package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +9 -0
  47. package/build/src/components/JRCFolders/mock.folders.d.ts +16 -0
  48. package/build/src/components/JRCFolders/types.d.ts +33 -0
  49. package/build/src/components/JRCHref/JRCHref.d.ts +18 -10
  50. package/build/src/components/JRCIcon/JRCIcon.d.ts +4 -2
  51. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +1 -1
  52. package/build/src/components/JRCImg/JRCImg.d.ts +1 -1
  53. package/build/src/components/JRCImg/JRCImg.stories.d.ts +1 -0
  54. package/build/src/components/JRCImg/url.util.d.ts +10 -3
  55. package/build/src/components/JRCList/JRCList.d.ts +16 -10
  56. package/build/src/components/JRCList/JRCList.styles.d.ts +0 -1
  57. package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
  58. package/build/src/components/JRCModal/JRCModal.d.ts +6 -1
  59. package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -5
  60. package/build/src/components/JRCModal/JRCModal.styles.d.ts +0 -1
  61. package/build/src/components/JRCModalImg/JRCModalImg.d.ts +11 -7
  62. package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +1 -1
  63. package/build/src/components/JRCModalImg/JRCModalImg.styles.d.ts +1 -9
  64. package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +1 -4
  65. package/build/src/components/JRCTabs/JRCTabs.d.ts +5 -4
  66. package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +1 -1
  67. package/build/src/components/JRCTag/JRCTag.d.ts +6 -1
  68. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +3 -0
  69. package/build/src/components/Templates/JRCAppColumn.d.ts +3 -0
  70. package/build/src/components/Templates/JRCAppTab.d.ts +4 -0
  71. package/build/src/components/Templates/JRCBase.template.d.ts +9 -0
  72. package/build/src/components/Templates/JRCColumn.d.ts +3 -0
  73. package/build/src/components/Templates/JRCContainer.d.ts +3 -0
  74. package/build/src/components/Templates/JRCMainColumn.d.ts +3 -0
  75. package/build/src/components/Templates/JRCTemplate.stories.d.ts +5 -0
  76. package/build/src/components/Templates/JRCTwoColumns.template.d.ts +7 -0
  77. package/build/src/components/Templates/template.styles.d.ts +305 -0
  78. package/build/src/components/Templates/template.type.d.ts +51 -0
  79. package/build/src/components/Templates/template.utils.d.ts +26 -0
  80. package/build/src/hooks/UseDidMountEffect.d.ts +1 -2
  81. package/build/src/hooks/UseLocalStorage.d.ts +2 -0
  82. package/build/src/index.d.ts +24 -7
  83. package/build/src/styles/theme.d.ts +7 -1
  84. package/build/src/types.d.ts +11 -2
  85. package/build/src/utils/index.d.ts +6 -0
  86. package/build/src/utils/utils.array.d.ts +6 -0
  87. package/build/src/utils/utils.array.test.d.ts +1 -0
  88. package/build/src/utils/utils.date.d.ts +9 -0
  89. package/build/src/utils/utils.misc.d.ts +1 -0
  90. package/build/src/utils/utils.string.d.ts +1 -0
  91. package/externals.json +1 -0
  92. package/package.json +6 -4
  93. package/storybook-static/0.799c368cbe88266827ba.manager.bundle.js +1 -0
  94. package/storybook-static/1.9ebd2fb519f6726108de.manager.bundle.js +1 -0
  95. package/storybook-static/10.a85ea1a67689be8e19ff.manager.bundle.js +1 -0
  96. package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js +2 -0
  97. package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js.LICENSE.txt +12 -0
  98. package/storybook-static/12.1415460941f0bdcb8fa8.manager.bundle.js +1 -0
  99. package/storybook-static/174.f2e072e1.iframe.bundle.js +2 -0
  100. package/storybook-static/174.f2e072e1.iframe.bundle.js.LICENSE.txt +115 -0
  101. package/storybook-static/314.615cb34b.iframe.bundle.js +1 -0
  102. package/storybook-static/331.bea8dec1.iframe.bundle.js +2 -0
  103. package/storybook-static/331.bea8dec1.iframe.bundle.js.LICENSE.txt +12 -0
  104. package/storybook-static/459.d6c184aa.iframe.bundle.js +1 -0
  105. package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js +2 -0
  106. package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js.LICENSE.txt +8 -0
  107. package/storybook-static/6.3bd64d820f3745f262ff.manager.bundle.js +1 -0
  108. package/storybook-static/7.3d04765dbf3f1dcd706c.manager.bundle.js +1 -0
  109. package/storybook-static/701.5fb77928.iframe.bundle.js +1 -0
  110. package/storybook-static/8.b541eadfcb9164835dfc.manager.bundle.js +1 -0
  111. package/storybook-static/861.8d90a4b3.iframe.bundle.js +2 -0
  112. package/storybook-static/861.8d90a4b3.iframe.bundle.js.LICENSE.txt +8 -0
  113. package/storybook-static/869.7ff62134.iframe.bundle.js +1 -0
  114. package/storybook-static/881.e09ad30e.iframe.bundle.js +1 -0
  115. package/storybook-static/9.411ac8e451bbb10926c7.manager.bundle.js +1 -0
  116. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/FontAwesome.otf +0 -0
  117. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  118. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.svg +0 -0
  119. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  120. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  121. package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  122. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.eot +0 -0
  123. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.json +0 -0
  124. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.svg +0 -0
  125. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.ttf +0 -0
  126. package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.woff +0 -0
  127. package/storybook-static/favicon.ico +0 -0
  128. package/storybook-static/iframe.html +348 -0
  129. package/{.storybook/assets → storybook-static}/imagecache/120x120/user/1234.png +0 -0
  130. package/{.storybook/assets → storybook-static}/imagecache/160x160/user/1234.png +0 -0
  131. package/{.storybook/assets → storybook-static}/imagecache/200x200/user/1234.png +0 -0
  132. package/{.storybook/assets → storybook-static}/imagecache/24x24/user/1234.png +0 -0
  133. package/{.storybook/assets → storybook-static}/imagecache/32x32/user/1234.png +0 -0
  134. package/{.storybook/assets → storybook-static}/imagecache/40x40/user/1234.png +0 -0
  135. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/11.png +0 -0
  136. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/12.png +0 -0
  137. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/1234.png +0 -0
  138. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/2.png +0 -0
  139. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/20.png +0 -0
  140. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/23.png +0 -0
  141. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/25.png +0 -0
  142. package/{.storybook/assets → storybook-static}/imagecache/48x48/user/8.png +0 -0
  143. package/{.storybook/assets → storybook-static}/imagecache/64x64/user/1234.png +0 -0
  144. package/{.storybook/assets → storybook-static}/imagecache/80x80/user/1234.png +0 -0
  145. package/{.storybook/assets → storybook-static}/imagecache/fitx700/fileArticle/245.png +0 -0
  146. package/storybook-static/index.html +51 -0
  147. package/storybook-static/main.856b88b4.iframe.bundle.js +1 -0
  148. package/storybook-static/main.e2663b1cf842947d1a59.manager.bundle.js +1 -0
  149. package/storybook-static/runtime~main.91a0c7330ab317d35c4a.manager.bundle.js +1 -0
  150. package/storybook-static/runtime~main.ba5a9588.iframe.bundle.js +1 -0
  151. package/{.history/src/assets/check_20210114075959.svg → storybook-static/static/media/check.e04c3374.svg} +0 -0
  152. package/{src/assets/x.svg → storybook-static/static/media/x.609ccec1.svg} +0 -0
  153. package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js +2 -0
  154. package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js.LICENSE.txt +110 -0
  155. package/.eslintignore +0 -80
  156. package/.eslintrc.js +0 -15
  157. package/.github/pull_request_template.md +0 -22
  158. package/.github/workflows/ci.yml +0 -62
  159. package/.github/workflows/deploy-dev-branches.yml +0 -40
  160. package/.github/workflows/increment-npm-version.yml +0 -26
  161. package/.github/workflows/npm-package.yml +0 -33
  162. package/.history/.eslintignore_20211116140451 +0 -13
  163. package/.history/.eslintignore_20211116140517 +0 -80
  164. package/.history/.github/workflows/ci_20211103152807.yml +0 -50
  165. package/.history/.github/workflows/ci_20211117114643.yml +0 -50
  166. package/.history/.github/workflows/ci_20211117114650.yml +0 -55
  167. package/.history/.github/workflows/ci_20211117152126.yml +0 -55
  168. package/.history/.github/workflows/ci_20211117153805.yml +0 -58
  169. package/.history/.github/workflows/ci_20211117153810.yml +0 -58
  170. package/.history/.github/workflows/ci_20211117154145.yml +0 -59
  171. package/.history/.github/workflows/ci_20211117154153.yml +0 -59
  172. package/.history/.github/workflows/ci_20211117155208.yml +0 -58
  173. package/.history/.github/workflows/ci_20211117155212.yml +0 -59
  174. package/.history/.github/workflows/ci_20211117155228.yml +0 -59
  175. package/.history/.github/workflows/ci_20211117155451.yml +0 -59
  176. package/.history/.github/workflows/ci_20211117155505.yml +0 -59
  177. package/.history/.github/workflows/ci_20211117155509.yml +0 -59
  178. package/.history/.github/workflows/ci_20211117160304.yml +0 -59
  179. package/.history/.github/workflows/ci_20211117161702.yml +0 -59
  180. package/.history/.github/workflows/ci_20211117162805.yml +0 -59
  181. package/.history/.github/workflows/ci_20211117164809.yml +0 -60
  182. package/.history/.github/workflows/ci_20211117170417.yml +0 -60
  183. package/.history/.gitignore_20211117155121 +0 -82
  184. package/.history/.husky/pre-commit_20211116154612 +0 -4
  185. package/.history/.husky/pre-commit_20211116155720 +0 -4
  186. package/.history/.prettierignore_20211103152807 +0 -84
  187. package/.history/.prettierignore_20211116140533 +0 -80
  188. package/.history/.prettierrc_20211103143655.json +0 -11
  189. package/.history/.prettierrc_20211103144104.json +0 -10
  190. package/.history/.prettierrc_20211116140542.json +0 -11
  191. package/.history/.prettierrc_20211116173732.json +0 -10
  192. package/.history/.storybook/main_20211109144835.js +0 -22
  193. package/.history/babel.config_20211116141826.js +0 -14
  194. package/.history/babel.config_20211117104141.js +0 -15
  195. package/.history/babel.config_20211117164455.js +0 -15
  196. package/.history/build/src/components/JRCHref/JRCHref.d_20211109164627.ts +0 -20
  197. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144654.ts +0 -20
  198. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144702.ts +0 -20
  199. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144724.ts +0 -20
  200. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144732.ts +0 -20
  201. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144754.ts +0 -20
  202. package/.history/externals.d_20211108160127.ts +0 -5
  203. package/.history/externals.d_20211108160133.ts +0 -5
  204. package/.history/externals.d_20211108160237.ts +0 -5
  205. package/.history/externals.d_20211108160252.ts +0 -6
  206. package/.history/externals.d_20211108160343.ts +0 -6
  207. package/.history/externals.d_20211108163234.ts +0 -5
  208. package/.history/index.d_20210119091943.ts +0 -0
  209. package/.history/index.d_20210119092051.ts +0 -4
  210. package/.history/jest.config_20211112091917.js +0 -15
  211. package/.history/jest.config_20211117164520.js +0 -16
  212. package/.history/jest.setup_20210114075959.ts +0 -3
  213. package/.history/jest.setup_20210429114103.ts +0 -1
  214. package/.history/package-lock_20211109153645.json +0 -73806
  215. package/.history/package_20211103143741.json +0 -117
  216. package/.history/package_20211108155048.json +0 -117
  217. package/.history/package_20211108160557.json +0 -117
  218. package/.history/package_20211109113710.json +0 -116
  219. package/.history/package_20211109113749.json +0 -114
  220. package/.history/package_20211109113753.json +0 -113
  221. package/.history/package_20211109113758.json +0 -111
  222. package/.history/package_20211109142830.json +0 -111
  223. package/.history/package_20211109142919.json +0 -111
  224. package/.history/package_20211109145908.json +0 -111
  225. package/.history/package_20211109145937.json +0 -111
  226. package/.history/package_20211109150036.json +0 -109
  227. package/.history/package_20211109151446.json +0 -112
  228. package/.history/package_20211109151756.json +0 -112
  229. package/.history/package_20211109151802.json +0 -112
  230. package/.history/package_20211109151807.json +0 -112
  231. package/.history/package_20211109151838.json +0 -112
  232. package/.history/package_20211109153435.json +0 -117
  233. package/.history/package_20211109160825.json +0 -117
  234. package/.history/package_20211109161532.json +0 -118
  235. package/.history/package_20211109161554.json +0 -118
  236. package/.history/package_20211109161940.json +0 -117
  237. package/.history/package_20211109162020.json +0 -118
  238. package/.history/package_20211109162510.json +0 -118
  239. package/.history/package_20211109162529.json +0 -118
  240. package/.history/package_20211109162543.json +0 -118
  241. package/.history/package_20211116140927.json +0 -115
  242. package/.history/package_20211116140929.json +0 -115
  243. package/.history/package_20211116140948.json +0 -117
  244. package/.history/package_20211116140951.json +0 -117
  245. package/.history/package_20211116141010.json +0 -117
  246. package/.history/package_20211116141729.json +0 -119
  247. package/.history/package_20211116143239.json +0 -119
  248. package/.history/package_20211116155648.json +0 -131
  249. package/.history/package_20211117114725.json +0 -132
  250. package/.history/package_20211117164402.json +0 -132
  251. package/.history/package_20211117164404.json +0 -132
  252. package/.history/package_20211117164407.json +0 -132
  253. package/.history/src/assets/check_20210511153044.svg +0 -4
  254. package/.history/src/assets/check_20210601141216.svg +0 -4
  255. package/.history/src/assets/check_20210601141237.svg +0 -4
  256. package/.history/src/assets/loader_20210114075959.svg +0 -32
  257. package/.history/src/assets/loader_20210511153051.svg +0 -32
  258. package/.history/src/assets/loader_20210511153109.svg +0 -32
  259. package/.history/src/components/Common/DashedFocusBorder_20211103152807.tsx +0 -20
  260. package/.history/src/components/Common/DashedFocusBorder_20211116141741.tsx +0 -20
  261. package/.history/src/components/Form/Input/Demo/Demo_20210427112859.tsx +0 -0
  262. package/.history/src/components/Form/Input/Demo/Demo_20210427112927.tsx +0 -38
  263. package/.history/src/components/Form/Input/Demo/Demo_20210427113127.tsx +0 -65
  264. package/.history/src/components/Form/Input/Demo/Demo_20210427113139.tsx +0 -56
  265. package/.history/src/components/Form/Input/Demo/Demo_20210427113151.tsx +0 -55
  266. package/.history/src/components/Form/Input/Demo/Demo_20210427113152.tsx +0 -55
  267. package/.history/src/components/Form/Input/Demo/Demo_20210427113157.tsx +0 -55
  268. package/.history/src/components/Form/Input/Demo/Demo_20210427113206.tsx +0 -55
  269. package/.history/src/components/Form/Input/Demo/Demo_20210427113223.tsx +0 -54
  270. package/.history/src/components/Form/Input/Demo/Demo_20210427113224.tsx +0 -54
  271. package/.history/src/components/Form/Input/Demo/Demo_20210427113228.tsx +0 -54
  272. package/.history/src/components/Form/Input/Demo/Demo_20210427113235.tsx +0 -54
  273. package/.history/src/components/Form/Input/Demo/Demo_20210427113311.tsx +0 -54
  274. package/.history/src/components/Form/Input/Demo/Demo_20210427113341.tsx +0 -54
  275. package/.history/src/components/Form/Input/Demo/Demo_20210427113735.tsx +0 -57
  276. package/.history/src/components/Form/Input/Demo/Demo_20210427113751.tsx +0 -58
  277. package/.history/src/components/Form/Input/Demo/Demo_20210427113812.tsx +0 -60
  278. package/.history/src/components/Form/Input/Demo/Demo_20210427114028.tsx +0 -69
  279. package/.history/src/components/Form/Input/Demo/Demo_20210427114251.tsx +0 -71
  280. package/.history/src/components/Form/Input/Demo/Demo_20210427114321.tsx +0 -73
  281. package/.history/src/components/Form/Input/Demo/Demo_20210427114332.tsx +0 -73
  282. package/.history/src/components/Form/Input/Demo/Demo_20210427114504.tsx +0 -77
  283. package/.history/src/components/Form/Input/Demo/Demo_20210427114532.tsx +0 -83
  284. package/.history/src/components/Form/Input/Demo/Demo_20210427114603.tsx +0 -90
  285. package/.history/src/components/Form/Input/Demo/Demo_20210427114621.tsx +0 -89
  286. package/.history/src/components/Form/Input/Demo/Demo_20210427114633.tsx +0 -89
  287. package/.history/src/components/Form/Input/Demo/Demo_20210427114646.tsx +0 -89
  288. package/.history/src/components/Form/Input/Demo/Demo_20210427114759.tsx +0 -98
  289. package/.history/src/components/Form/Input/Demo/Demo_20210427114838.tsx +0 -98
  290. package/.history/src/components/Form/Input/Demo/Demo_20210427114841.tsx +0 -98
  291. package/.history/src/components/Form/Input/Demo/Demo_20210427115036.tsx +0 -99
  292. package/.history/src/components/Form/Input/Demo/Demo_20210427115156.tsx +0 -90
  293. package/.history/src/components/Form/Input/Demo/Demo_20210427115329.tsx +0 -99
  294. package/.history/src/components/Form/Input/Demo/Demo_20210427115339.tsx +0 -99
  295. package/.history/src/components/Form/Input/Demo/Demo_20210427115443.tsx +0 -101
  296. package/.history/src/components/Form/Input/Demo/Demo_20210427115633.tsx +0 -102
  297. package/.history/src/components/Form/Input/Demo/Demo_20210427115821.tsx +0 -102
  298. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909111158.tsx +0 -25
  299. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909112623.tsx +0 -27
  300. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210426165817.tsx +0 -72
  301. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210429114237.tsx +0 -71
  302. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160603.tsx +0 -253
  303. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160617.tsx +0 -253
  304. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160632.tsx +0 -307
  305. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160746.tsx +0 -307
  306. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211116142837.tsx +0 -263
  307. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210309111210.tsx +0 -86
  308. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210405114706.tsx +0 -81
  309. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114357.tsx +0 -81
  310. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114358.tsx +0 -81
  311. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154857.tsx +0 -81
  312. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154904.tsx +0 -97
  313. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154910.tsx +0 -97
  314. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154918.tsx +0 -99
  315. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154929.tsx +0 -103
  316. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154941.tsx +0 -99
  317. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155002.tsx +0 -98
  318. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155402.tsx +0 -99
  319. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210415092917.tsx +0 -43
  320. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429114401.tsx +0 -43
  321. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154559.tsx +0 -43
  322. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154606.tsx +0 -59
  323. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154624.tsx +0 -54
  324. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154643.tsx +0 -56
  325. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154717.tsx +0 -56
  326. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154755.tsx +0 -59
  327. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210415092917.tsx +0 -42
  328. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114419.tsx +0 -42
  329. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114440.tsx +0 -42
  330. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114446.tsx +0 -42
  331. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154420.tsx +0 -42
  332. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154430.tsx +0 -58
  333. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154442.tsx +0 -60
  334. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154459.tsx +0 -55
  335. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154521.tsx +0 -57
  336. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154736.tsx +0 -58
  337. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142816.tsx +0 -1095
  338. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142819.tsx +0 -1095
  339. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142825.tsx +0 -1095
  340. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211117094739.tsx +0 -1095
  341. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210114075959.tsx +0 -40
  342. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429114458.tsx +0 -40
  343. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154308.tsx +0 -33
  344. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154318.tsx +0 -51
  345. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154329.tsx +0 -53
  346. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154337.tsx +0 -56
  347. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154348.tsx +0 -56
  348. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154359.tsx +0 -56
  349. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154401.tsx +0 -56
  350. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154403.tsx +0 -56
  351. package/.history/src/components/Form/Input/JRCFormFieldRender_20210114075959.tsx +0 -97
  352. package/.history/src/components/Form/Input/JRCFormFieldRender_20210405114648.tsx +0 -97
  353. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210114075959.tsx +0 -11
  354. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429114512.tsx +0 -11
  355. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154111.tsx +0 -13
  356. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154126.tsx +0 -13
  357. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154142.tsx +0 -14
  358. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154146.tsx +0 -15
  359. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154155.tsx +0 -15
  360. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154158.tsx +0 -20
  361. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154225.tsx +0 -20
  362. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141848.tsx +0 -149
  363. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141920.tsx +0 -148
  364. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141935.tsx +0 -148
  365. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094122.tsx +0 -148
  366. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094131.tsx +0 -148
  367. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094147.tsx +0 -149
  368. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210114075959.tsx +0 -42
  369. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429114516.tsx +0 -42
  370. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153918.tsx +0 -35
  371. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153924.tsx +0 -53
  372. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153959.tsx +0 -55
  373. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154029.tsx +0 -58
  374. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154035.tsx +0 -58
  375. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210114075959.tsx +0 -31
  376. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210412103504.tsx +0 -45
  377. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429114520.tsx +0 -124
  378. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153726.tsx +0 -124
  379. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153733.tsx +0 -124
  380. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153800.tsx +0 -136
  381. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153834.tsx +0 -138
  382. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153837.tsx +0 -137
  383. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153848.tsx +0 -137
  384. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171834.tsx +0 -124
  385. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171842.tsx +0 -124
  386. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150404.tsx +0 -124
  387. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150412.tsx +0 -124
  388. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150815.tsx +0 -125
  389. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150824.tsx +0 -125
  390. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150834.tsx +0 -125
  391. package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141948.tsx +0 -106
  392. package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141950.tsx +0 -106
  393. package/.history/src/components/Form/Input/JRCFormSelect/JRCFormSelect_20211116142012.tsx +0 -350
  394. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210114075959.tsx +0 -38
  395. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429114541.tsx +0 -38
  396. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152714.tsx +0 -38
  397. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152735.tsx +0 -53
  398. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152747.tsx +0 -48
  399. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152757.tsx +0 -49
  400. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152806.tsx +0 -51
  401. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152816.tsx +0 -54
  402. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152834.tsx +0 -54
  403. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152841.tsx +0 -54
  404. package/.history/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor_20211116142024.tsx +0 -35
  405. package/.history/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea_20211116142028.tsx +0 -65
  406. package/.history/src/components/Form/Input/JRCStyledInput_20210309111210.tsx +0 -94
  407. package/.history/src/components/Form/Input/JRCStyledInput_20210412103822.tsx +0 -98
  408. package/.history/src/components/Form/Input/JRCStyledInput_20210412103824.tsx +0 -97
  409. package/.history/src/components/Form/Input/ReduxFormControls_20211116142058.ts +0 -141
  410. package/.history/src/components/Form/Input/ReduxFormControls_20211116142800.ts +0 -141
  411. package/.history/src/components/JRCAlert/JRCArlert.stories_20211103152807.tsx +0 -60
  412. package/.history/src/components/JRCAlert/JRCArlert.stories_20211116142119.tsx +0 -61
  413. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211103152807.tsx +0 -28
  414. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115138.tsx +0 -27
  415. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115145.tsx +0 -26
  416. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115204.tsx +0 -28
  417. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142132.tsx +0 -27
  418. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142134.tsx +0 -26
  419. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142151.tsx +0 -28
  420. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142200.tsx +0 -29
  421. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142204.tsx +0 -28
  422. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142212.tsx +0 -29
  423. package/.history/src/components/JRCAvatar/JRCAvatar.test_20211103152807.tsx +0 -21
  424. package/.history/src/components/JRCAvatar/JRCAvatar.test_20211116142226.tsx +0 -22
  425. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104018.tsx +0 -59
  426. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104101.tsx +0 -60
  427. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104122.tsx +0 -60
  428. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104143.tsx +0 -60
  429. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104218.tsx +0 -62
  430. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104246.tsx +0 -62
  431. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104354.tsx +0 -60
  432. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104416.tsx +0 -60
  433. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104419.tsx +0 -60
  434. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104701.tsx +0 -62
  435. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104713.tsx +0 -63
  436. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104957.tsx +0 -66
  437. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105005.tsx +0 -66
  438. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105009.tsx +0 -65
  439. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105026.tsx +0 -65
  440. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105309.tsx +0 -61
  441. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105312.tsx +0 -64
  442. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105315.tsx +0 -64
  443. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105433.tsx +0 -64
  444. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105442.tsx +0 -62
  445. package/.history/src/components/JRCAvatar/JRCAvatar_20211215110444.tsx +0 -63
  446. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111145.tsx +0 -64
  447. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111233.tsx +0 -65
  448. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111240.tsx +0 -64
  449. package/.history/src/components/JRCAvatar/JRCAvatar_20211220162840.tsx +0 -62
  450. package/.history/src/components/JRCAvatar/JRCAvatar_20211220162848.tsx +0 -62
  451. package/.history/src/components/JRCAvatar/JRCAvatar_20211220164211.tsx +0 -62
  452. package/.history/src/components/JRCAvatar/JRCAvatar_20211220164215.tsx +0 -62
  453. package/.history/src/components/JRCAvatar/JRCAvatar_20211221115746.tsx +0 -64
  454. package/.history/src/components/JRCAvatar/JRCAvatar_20211221115750.tsx +0 -64
  455. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120044.tsx +0 -64
  456. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120047.tsx +0 -64
  457. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120048.tsx +0 -63
  458. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120052.tsx +0 -63
  459. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120055.tsx +0 -62
  460. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120153.tsx +0 -62
  461. package/.history/src/components/JRCButton/JRCButton.stories_20210114075959.tsx +0 -65
  462. package/.history/src/components/JRCButton/JRCButton.stories_20210324153346.tsx +0 -78
  463. package/.history/src/components/JRCButton/JRCButton_20211103141623.tsx +0 -135
  464. package/.history/src/components/JRCButton/JRCButton_20211116142244.tsx +0 -117
  465. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155338.tsx +0 -36
  466. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155438.tsx +0 -36
  467. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155441.tsx +0 -37
  468. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155446.tsx +0 -37
  469. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155459.tsx +0 -19
  470. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155511.tsx +0 -17
  471. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161017.tsx +0 -18
  472. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161020.tsx +0 -16
  473. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161032.tsx +0 -16
  474. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161148.tsx +0 -16
  475. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161438.tsx +0 -37
  476. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161447.tsx +0 -37
  477. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161456.tsx +0 -41
  478. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161507.tsx +0 -42
  479. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161516.tsx +0 -43
  480. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161820.tsx +0 -43
  481. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164337.tsx +0 -45
  482. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164427.tsx +0 -45
  483. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164441.tsx +0 -45
  484. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164446.tsx +0 -45
  485. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164501.tsx +0 -47
  486. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164510.tsx +0 -52
  487. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164528.tsx +0 -76
  488. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164607.tsx +0 -77
  489. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155318.tsx +0 -0
  490. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155347.tsx +0 -0
  491. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155413.tsx +0 -6
  492. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155414.tsx +0 -6
  493. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155428.tsx +0 -4
  494. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155603.tsx +0 -7
  495. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155631.tsx +0 -9
  496. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155633.tsx +0 -16
  497. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155635.tsx +0 -17
  498. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155649.tsx +0 -41
  499. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155703.tsx +0 -42
  500. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155728.tsx +0 -42
  501. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160204.tsx +0 -42
  502. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160431.tsx +0 -42
  503. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160437.tsx +0 -42
  504. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160801.tsx +0 -46
  505. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160814.tsx +0 -46
  506. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160938.tsx +0 -46
  507. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160947.tsx +0 -47
  508. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161128.tsx +0 -47
  509. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161130.tsx +0 -47
  510. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161135.tsx +0 -47
  511. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161208.tsx +0 -48
  512. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161228.tsx +0 -49
  513. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161331.tsx +0 -55
  514. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161347.tsx +0 -55
  515. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161407.tsx +0 -55
  516. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161410.tsx +0 -55
  517. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161418.tsx +0 -55
  518. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161426.tsx +0 -36
  519. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161539.tsx +0 -30
  520. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161544.tsx +0 -29
  521. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161848.tsx +0 -41
  522. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161859.tsx +0 -50
  523. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161913.tsx +0 -50
  524. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161916.tsx +0 -52
  525. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161938.tsx +0 -53
  526. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161947.tsx +0 -42
  527. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162119.tsx +0 -39
  528. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162128.tsx +0 -40
  529. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162141.tsx +0 -42
  530. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162145.tsx +0 -42
  531. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162154.tsx +0 -42
  532. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162238.tsx +0 -42
  533. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162406.tsx +0 -42
  534. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162457.tsx +0 -43
  535. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162500.tsx +0 -43
  536. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162504.tsx +0 -43
  537. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162612.tsx +0 -43
  538. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162650.tsx +0 -54
  539. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162705.tsx +0 -54
  540. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162819.tsx +0 -55
  541. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162845.tsx +0 -55
  542. package/.history/src/components/JRCCarousel/JRCCarousel_20210412163202.tsx +0 -57
  543. package/.history/src/components/JRCCarousel/JRCCarousel_20210412163241.tsx +0 -55
  544. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211103152807.tsx +0 -28
  545. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142250.tsx +0 -26
  546. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142251.tsx +0 -25
  547. package/.history/src/components/JRCDropDown/JRCDropDown_20210629085002.tsx +0 -155
  548. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142200.tsx +0 -157
  549. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142204.tsx +0 -157
  550. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142213.tsx +0 -157
  551. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142216.tsx +0 -157
  552. package/.history/src/components/JRCError/JRCError.stories_20210406110213.tsx +0 -0
  553. package/.history/src/components/JRCError/JRCError.stories_20210406110227.tsx +0 -18
  554. package/.history/src/components/JRCError/JRCError.stories_20210406110234.tsx +0 -16
  555. package/.history/src/components/JRCError/JRCError.stories_20210406110245.tsx +0 -16
  556. package/.history/src/components/JRCError/JRCError.stories_20210406110305.tsx +0 -18
  557. package/.history/src/components/JRCError/JRCError.stories_20210406110310.tsx +0 -15
  558. package/.history/src/components/JRCError/JRCError.stories_20210406110337.tsx +0 -15
  559. package/.history/src/components/JRCError/JRCError.stories_20210406110354.tsx +0 -15
  560. package/.history/src/components/JRCError/JRCError.stories_20210406110413.tsx +0 -13
  561. package/.history/src/components/JRCError/JRCError.stories_20210406110418.tsx +0 -13
  562. package/.history/src/components/JRCError/JRCError.stories_20210406110708.tsx +0 -14
  563. package/.history/src/components/JRCError/JRCError.stories_20210406110715.tsx +0 -13
  564. package/.history/src/components/JRCError/JRCError.stories_20210406110722.tsx +0 -13
  565. package/.history/src/components/JRCError/JRCError.stories_20210406110736.tsx +0 -13
  566. package/.history/src/components/JRCError/JRCError.stories_20210406110740.tsx +0 -13
  567. package/.history/src/components/JRCError/JRCError.stories_20210406110753.tsx +0 -15
  568. package/.history/src/components/JRCError/JRCError.stories_20210406110757.tsx +0 -16
  569. package/.history/src/components/JRCError/JRCError.stories_20210406110813.tsx +0 -16
  570. package/.history/src/components/JRCError/JRCError.stories_20210406110818.tsx +0 -15
  571. package/.history/src/components/JRCError/JRCError_20210406110115.tsx +0 -0
  572. package/.history/src/components/JRCError/JRCError_20210406110136.tsx +0 -3
  573. package/.history/src/components/JRCError/JRCError_20210406110148.tsx +0 -5
  574. package/.history/src/components/JRCError/JRCError_20210406110154.tsx +0 -5
  575. package/.history/src/components/JRCError/JRCError_20210406110322.tsx +0 -5
  576. package/.history/src/components/JRCError/JRCError_20210406110459.tsx +0 -5
  577. package/.history/src/components/JRCError/JRCError_20210406110521.tsx +0 -9
  578. package/.history/src/components/JRCError/JRCError_20210406110526.tsx +0 -8
  579. package/.history/src/components/JRCError/JRCError_20210406110540.tsx +0 -10
  580. package/.history/src/components/JRCError/JRCError_20210406110544.tsx +0 -10
  581. package/.history/src/components/JRCError/JRCError_20210406110610.tsx +0 -14
  582. package/.history/src/components/JRCError/JRCError_20210406110613.tsx +0 -14
  583. package/.history/src/components/JRCError/JRCError_20210406110624.tsx +0 -15
  584. package/.history/src/components/JRCError/JRCError_20210406110731.tsx +0 -15
  585. package/.history/src/components/JRCHref/JRCHref.stories_20211116142303.tsx +0 -29
  586. package/.history/src/components/JRCHref/JRCHref_20210630101506.tsx +0 -32
  587. package/.history/src/components/JRCHref/JRCHref_20210630101558.tsx +0 -32
  588. package/.history/src/components/JRCHref/JRCHref_20210630101601.tsx +0 -32
  589. package/.history/src/components/JRCHref/JRCHref_20210630101616.tsx +0 -32
  590. package/.history/src/components/JRCHref/JRCHref_20210630101625.tsx +0 -31
  591. package/.history/src/components/JRCHref/JRCHref_20210630101634.tsx +0 -31
  592. package/.history/src/components/JRCHref/JRCHref_20210630101645.tsx +0 -30
  593. package/.history/src/components/JRCHref/JRCHref_20210630101738.tsx +0 -29
  594. package/.history/src/components/JRCHref/JRCHref_20210630101742.tsx +0 -28
  595. package/.history/src/components/JRCIcon/JRCIcon.stories_20210114075959.tsx +0 -1045
  596. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160522.tsx +0 -1049
  597. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160557.tsx +0 -1049
  598. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165104.tsx +0 -1000
  599. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165154.tsx +0 -1002
  600. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165225.tsx +0 -1167
  601. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165243.tsx +0 -1167
  602. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165244.tsx +0 -1167
  603. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165340.tsx +0 -1020
  604. package/.history/src/components/JRCIconButton/JRCIconButton_20211102105335.tsx +0 -86
  605. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141204.tsx +0 -97
  606. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141514.tsx +0 -97
  607. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141535.tsx +0 -97
  608. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141607.tsx +0 -97
  609. package/.history/src/components/JRCImg/JRCImg_20211103152807.tsx +0 -57
  610. package/.history/src/components/JRCImg/JRCImg_20211215104339.tsx +0 -58
  611. package/.history/src/components/JRCImg/JRCImg_20211215104433.tsx +0 -58
  612. package/.history/src/components/JRCList/JRCListMockData.stories_20211116141848.tsx +0 -118
  613. package/.history/src/components/JRCList/JRCListMockData.stories_20211116142710.tsx +0 -119
  614. package/.history/src/components/JRCList/JRCList_20211116141848.tsx +0 -180
  615. package/.history/src/components/JRCList/JRCList_20211116142725.tsx +0 -172
  616. package/.history/src/components/JRCList/JRCList_20211116142728.tsx +0 -172
  617. package/.history/src/components/JRCList/JRCList_20211116142730.tsx +0 -171
  618. package/.history/src/components/JRCList/JRCList_20211116142734.tsx +0 -171
  619. package/.history/src/components/JRCList/JRCList_20211116142738.tsx +0 -171
  620. package/.history/src/components/JRCList/JRCList_20211116142744.tsx +0 -171
  621. package/.history/src/components/JRCList/JRCList_20211116142747.tsx +0 -172
  622. package/.history/src/components/JRCList/JRCList_20211116142748.tsx +0 -171
  623. package/.history/src/components/JRCMenu/JRCMenu.stories_20211103152807.tsx +0 -28
  624. package/.history/src/components/JRCMenu/JRCMenu.stories_20211116142657.tsx +0 -29
  625. package/.history/src/components/JRCMenu/JRCMenu_20211103142113.tsx +0 -88
  626. package/.history/src/components/JRCMenu/JRCMenu_20211103142232.tsx +0 -88
  627. package/.history/src/components/JRCModal/JRCModal_20211103142136.tsx +0 -142
  628. package/.history/src/components/JRCModal/JRCModal_20211103142246.tsx +0 -142
  629. package/.history/src/components/JRCModalImg/JRCModalImg_20210824103034.tsx +0 -148
  630. package/.history/src/components/JRCModalImg/JRCModalImg_20211103142306.tsx +0 -159
  631. package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142641.tsx +0 -65
  632. package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142646.tsx +0 -66
  633. package/.history/src/components/JRCPagination/JRCPagination_20211103142342.tsx +0 -219
  634. package/.history/src/components/JRCTag/JRCTag_20211116142631.tsx +0 -149
  635. package/.history/src/components/JRCThemeProvider/theme-reset_20210615082115.css +0 -254
  636. package/.history/src/components/JRCThemeProvider/theme-reset_20210615143930.css +0 -253
  637. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103143919.tsx +0 -85
  638. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103144205.tsx +0 -85
  639. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211116142619.tsx +0 -86
  640. package/.history/src/components/JRCTypography/JRCTypography.test_20211103152807.tsx +0 -43
  641. package/.history/src/components/JRCTypography/JRCTypography.test_20211116142608.tsx +0 -43
  642. package/.history/src/hooks/UseDidMountEffect_20211103152807.tsx +0 -12
  643. package/.history/src/hooks/UseDidMountEffect_20211116142601.tsx +0 -12
  644. package/.history/src/index_20210330171346.tsx +0 -145
  645. package/.history/src/index_20210330171430.tsx +0 -150
  646. package/.history/src/index_20210406174244.tsx +0 -151
  647. package/.history/src/index_20210406174248.tsx +0 -151
  648. package/.history/src/index_20210406174255.tsx +0 -152
  649. package/.history/src/index_20210406174317.tsx +0 -152
  650. package/.history/src/index_20210406174329.tsx +0 -153
  651. package/.history/src/index_20210412153458.tsx +0 -155
  652. package/.history/src/index_20210412153503.tsx +0 -155
  653. package/.history/src/index_20210427113335.tsx +0 -162
  654. package/.history/src/index_20210427113346.tsx +0 -162
  655. package/.history/src/index_20210427113356.tsx +0 -163
  656. package/.history/src/jest/svgTransform_20211103152807.js +0 -9
  657. package/.history/src/jest/svgTransform_20211117164503.js +0 -10
  658. package/.history/src/storybook/StorybookContainer/StorybookContainer_20210114075959.scss +0 -22
  659. package/.history/src/storybook/StorybookContainer/StorybookContainer_20210330170040.scss +0 -23
  660. package/.history/src/storybook/decorators_20210114075959.tsx +0 -17
  661. package/.history/src/storybook/decorators_20210430082612.tsx +0 -17
  662. package/.history/src/storybook/decorators_20210430082629.tsx +0 -13
  663. package/.history/src/storybook/decorators_20210430082644.tsx +0 -13
  664. package/.history/src/styles/theme_20211123150650.tsx +0 -167
  665. package/.history/src/styles/theme_20211123150708.tsx +0 -168
  666. package/.history/src/styles/theme_20211123150807.tsx +0 -168
  667. package/.history/src/styles/theme_20211123150905.tsx +0 -180
  668. package/.history/src/styles/theme_20211123150921.tsx +0 -175
  669. package/.history/src/styles/theme_20211123150928.tsx +0 -179
  670. package/.history/src/styles/theme_20211123151003.tsx +0 -178
  671. package/.history/src/styles/theme_20211123151005.tsx +0 -178
  672. package/.history/src/styles/theme_20211123151037.tsx +0 -177
  673. package/.history/src/styles/theme_20211123151145.tsx +0 -179
  674. package/.history/src/styles/theme_20211123151303.tsx +0 -179
  675. package/.history/src/styles/theme_20211123151327.tsx +0 -179
  676. package/.history/src/styles/theme_20211123151413.tsx +0 -170
  677. package/.history/src/styles/theme_20211123151416.tsx +0 -169
  678. package/.history/src/styles/theme_20211123151438.tsx +0 -178
  679. package/.history/src/styles/theme_20211123151505.tsx +0 -169
  680. package/.history/src/styles/theme_20211123151654.tsx +0 -179
  681. package/.history/src/styles/theme_20211123151847.tsx +0 -177
  682. package/.history/src/styles/theme_20211123151924.tsx +0 -173
  683. package/.history/src/styles/theme_20211123151946.tsx +0 -173
  684. package/.history/src/styles/theme_20211123151951.tsx +0 -175
  685. package/.history/src/styles/theme_20211123151959.tsx +0 -175
  686. package/.history/src/styles/theme_20211123153945.tsx +0 -173
  687. package/.history/src/styles/theme_20211123153953.tsx +0 -175
  688. package/.history/src/styles/theme_20211123154113.tsx +0 -175
  689. package/.history/src/styles/theme_20211125142741.tsx +0 -166
  690. package/.history/src/styles/utils_20211116141848.tsx +0 -220
  691. package/.history/src/styles/utils_20211116142330.tsx +0 -220
  692. package/.history/src/styles/utils_20211116142340.tsx +0 -220
  693. package/.history/src/styles/utils_20211116142354.tsx +0 -221
  694. package/.history/src/styles/utils_20211116142407.tsx +0 -222
  695. package/.history/src/types/react-table-config.d_20211103152807.ts +0 -128
  696. package/.history/src/types/react-table-config.d_20211116142449.ts +0 -129
  697. package/.history/src/types/react-table-config.d_20211116142537.ts +0 -127
  698. package/.history/src/types/react-table-config.d_20211116142544.ts +0 -124
  699. package/.history/src/types/react-table-config.d_20211116142551.ts +0 -122
  700. package/.history/src/types/react-table-config.d_20211116142914.ts +0 -123
  701. package/.history/src/types/react-table-config.d_20211116142918.ts +0 -122
  702. package/.history/src/types/react-table-config.d_20211116142923.ts +0 -121
  703. package/.history/src/types/react-table-config.d_20211116142926.ts +0 -120
  704. package/.history/src/types/react-table-config.d_20211116142929.ts +0 -119
  705. package/.history/src/types/react-table-config.d_20211116142931.ts +0 -118
  706. package/.history/src/types/react-table-config.d_20211116142934.ts +0 -117
  707. package/.history/src/types/react-table-config.d_20211116142935.ts +0 -116
  708. package/.history/src/types/react-table-config.d_20211116142938.ts +0 -115
  709. package/.history/src/types/react-table-config.d_20211116142943.ts +0 -114
  710. package/.history/src/types/react-table-config.d_20211116143050.ts +0 -123
  711. package/.history/src/utils/test-utils_20211103152807.tsx +0 -40
  712. package/.history/src/utils/test-utils_20211116142526.tsx +0 -40
  713. package/.history/src/utils/test-utils_20211116143351.tsx +0 -40
  714. package/.history/src/utils/test-utils_20211117095711.tsx +0 -40
  715. package/.history/src/utils/test-utils_20211117095720.tsx +0 -41
  716. package/.history/tsconfig_20210929171235.json +0 -16
  717. package/.history/tsconfig_20210929171551.json +0 -16
  718. package/.history/tsconfig_20210929171715.json +0 -17
  719. package/.history/tsconfig_20210929171832.json +0 -17
  720. package/.history/webpack.config_20211109143806.js +0 -70
  721. package/.history/webpack.config_20211109144159.js +0 -66
  722. package/.history/webpack.config_20211109144211.js +0 -67
  723. package/.history/webpack.config_20211109144446.js +0 -67
  724. package/.history/webpack.config_20211109144537.js +0 -70
  725. package/.history/webpack.config_20211109144549.js +0 -70
  726. package/.history/webpack.config_20211109153132.js +0 -69
  727. package/.history/webpack.config_20211109153209.js +0 -71
  728. package/.history/webpack.config_20211109153224.js +0 -72
  729. package/.history/webpack.config_20211109162125.js +0 -72
  730. package/.history/webpack.config_20211117164435.js +0 -69
  731. package/.history/webpack.config_20211117164440.js +0 -70
  732. package/.husky/pre-commit +0 -4
  733. package/.prettierignore +0 -80
  734. package/.prettierrc.json +0 -11
  735. package/.storybook/StorybookContainer/StorybookContainer.css +0 -9
  736. package/.storybook/StorybookContainer/StorybookContainer.tsx +0 -39
  737. package/.storybook/main.js +0 -9
  738. package/.storybook/preview-head.html +0 -8
  739. package/.storybook/preview.js +0 -21
  740. package/.storybook/webpack.config.js +0 -25
  741. package/.vscode/settings.json +0 -9
  742. package/babel.config.js +0 -15
  743. package/build/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.d.ts +0 -12
  744. package/eslint_report.json +0 -1312
  745. package/externals.d.ts +0 -4
  746. package/favicon.ico +0 -0
  747. package/jest.config.js +0 -16
  748. package/jest.setup.ts +0 -1
  749. package/src/assets/check.svg +0 -4
  750. package/src/assets/error.svg +0 -3
  751. package/src/components/Common/DashedFocusBorder.tsx +0 -20
  752. package/src/components/Common/JRCConditionalWrapper.tsx +0 -19
  753. package/src/components/Common/util/getColor.util.ts +0 -12
  754. package/src/components/Form/Common/ClickAwayListener.tsx +0 -41
  755. package/src/components/Form/Common/FormDescription.tsx +0 -9
  756. package/src/components/Form/Common/FormHelper.tsx +0 -30
  757. package/src/components/Form/Common/FormLabel.tsx +0 -38
  758. package/src/components/Form/Common/FormMessageFeedback.tsx +0 -52
  759. package/src/components/Form/Common/types.ts +0 -31
  760. package/src/components/Form/Input/Common/JRCFormErrors.tsx +0 -40
  761. package/src/components/Form/Input/Common/JRCFormFieldRenderer.tsx +0 -85
  762. package/src/components/Form/Input/Common/JRCFormFieldRenderer.types.tsx +0 -51
  763. package/src/components/Form/Input/Common/useFormControls.tsx +0 -108
  764. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.tsx +0 -38
  765. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.tsx +0 -47
  766. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.tsx +0 -37
  767. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.tsx +0 -25
  768. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.tsx +0 -39
  769. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.tsx +0 -33
  770. package/src/components/Form/Input/JRCFormCheckbox/JRCCheckbox.tsx +0 -46
  771. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.stories.tsx +0 -61
  772. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.tsx +0 -101
  773. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.tsx +0 -116
  774. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.tsx +0 -58
  775. package/src/components/Form/Input/JRCFormCheckbox/JRCRadio.tsx +0 -27
  776. package/src/components/Form/Input/JRCFormCheckbox/JRCToggle.tsx +0 -75
  777. package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +0 -26
  778. package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +0 -78
  779. package/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.tsx +0 -1079
  780. package/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.tsx +0 -71
  781. package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.stories.tsx +0 -22
  782. package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.tsx +0 -36
  783. package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.stories.tsx +0 -48
  784. package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.tsx +0 -30
  785. package/src/components/Form/Input/JRCFormFieldRender.tsx +0 -115
  786. package/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.tsx +0 -37
  787. package/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.tsx +0 -75
  788. package/src/components/Form/Input/JRCFormFile/JRCFormFile.tsx +0 -169
  789. package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.stories.tsx +0 -24
  790. package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.tsx +0 -37
  791. package/src/components/Form/Input/JRCFormRange/JRCFormRange.stories.tsx +0 -48
  792. package/src/components/Form/Input/JRCFormRange/JRCFormRange.tsx +0 -106
  793. package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.tsx +0 -10
  794. package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.tsx +0 -22
  795. package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.stories.tsx +0 -23
  796. package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.tsx +0 -272
  797. package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.stories.tsx +0 -104
  798. package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.tsx +0 -395
  799. package/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.tsx +0 -132
  800. package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.tsx +0 -10
  801. package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.tsx +0 -22
  802. package/src/components/Form/Input/JRCFormText/JRCFormText.stories.tsx +0 -26
  803. package/src/components/Form/Input/JRCFormText/JRCFormText.tsx +0 -47
  804. package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.stories.tsx +0 -28
  805. package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.tsx +0 -71
  806. package/src/components/Form/Input/JRCFormURL/JRCFormUrl.stories.tsx +0 -26
  807. package/src/components/Form/Input/JRCFormURL/JRCFormUrl.tsx +0 -35
  808. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.tsx +0 -84
  809. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.tsx +0 -193
  810. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.ts +0 -27
  811. package/src/components/Form/Input/JRCInputText/JRCInputText.stories.tsx +0 -52
  812. package/src/components/Form/Input/JRCInputText/JRCInputText.tsx +0 -26
  813. package/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.tsx +0 -62
  814. package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.tsx +0 -55
  815. package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.tsx +0 -34
  816. package/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.tsx +0 -63
  817. package/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.tsx +0 -66
  818. package/src/components/Form/Input/JRCSelect/JRCInputSelect.style.tsx +0 -94
  819. package/src/components/Form/Input/JRCSelect/JRCInputSelect.tsx +0 -231
  820. package/src/components/Form/Input/JRCSelect/JRCInputSelect.types.ts +0 -51
  821. package/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.ts +0 -92
  822. package/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.tsx +0 -83
  823. package/src/components/Form/Input/JRCStyledInput.tsx +0 -102
  824. package/src/components/Form/Input/ReduxFormControls.ts +0 -135
  825. package/src/components/Form/Input/temporary.types.tsx +0 -22
  826. package/src/components/JRCAlert/JRCAlert.stories.tsx +0 -62
  827. package/src/components/JRCAlert/JRCAlert.tsx +0 -135
  828. package/src/components/JRCAppContainer/JRCAppContainer.tsx +0 -19
  829. package/src/components/JRCAppHeader/JRCAppHeader.stories.tsx +0 -25
  830. package/src/components/JRCAppHeader/JRCAppHeader.styles.tsx +0 -23
  831. package/src/components/JRCAppHeader/JRCAppHeader.tsx +0 -26
  832. package/src/components/JRCAppHeader/JRCAppHeader.types.tsx +0 -6
  833. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.tsx +0 -125
  834. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.tsx +0 -122
  835. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +0 -129
  836. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.tsx +0 -61
  837. package/src/components/JRCAppLeftColumn/JRCDefaultMenu.tsx +0 -34
  838. package/src/components/JRCAvatar/JRCAvatar.stories.tsx +0 -30
  839. package/src/components/JRCAvatar/JRCAvatar.test.tsx +0 -22
  840. package/src/components/JRCAvatar/JRCAvatar.tsx +0 -91
  841. package/src/components/JRCButton/JRCButton.stories.tsx +0 -311
  842. package/src/components/JRCButton/JRCButton.test.tsx +0 -34
  843. package/src/components/JRCButton/JRCButton.tsx +0 -120
  844. package/src/components/JRCButton/JRCButtonConfig.tsx +0 -150
  845. package/src/components/JRCButton/JRCValidationButton.tsx +0 -85
  846. package/src/components/JRCButton/__snapshots__/JRCButton.test.tsx.snap +0 -13
  847. package/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.tsx +0 -289
  848. package/src/components/JRCButtonDropdown/JRCButtonDropdown.tsx +0 -170
  849. package/src/components/JRCCard/JRCCard.stories.tsx +0 -17
  850. package/src/components/JRCCard/JRCCard.tsx +0 -29
  851. package/src/components/JRCColumnCenter/JRCColumnCenter.tsx +0 -13
  852. package/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.tsx +0 -26
  853. package/src/components/JRCColumnLeft/JRCColumnLeft.tsx +0 -17
  854. package/src/components/JRCColumnRight/JRCColumnRight.tsx +0 -17
  855. package/src/components/JRCDate/JRCDate.stories.tsx +0 -11
  856. package/src/components/JRCDate/JRCDate.tsx +0 -32
  857. package/src/components/JRCDropDown/JRCDropDown.stories.tsx +0 -16
  858. package/src/components/JRCDropDown/JRCDropDown.tsx +0 -75
  859. package/src/components/JRCFileOpen/JRCFileOpen.tsx +0 -195
  860. package/src/components/JRCFileOpen/extensions.tsx +0 -14
  861. package/src/components/JRCGrid/JRCGrid.stories.tsx +0 -45
  862. package/src/components/JRCGrid/JRCGrid.tsx +0 -15
  863. package/src/components/JRCHref/JRCHref.stories.tsx +0 -33
  864. package/src/components/JRCHref/JRCHref.tsx +0 -40
  865. package/src/components/JRCIcon/JRCIcon.stories.tsx +0 -1040
  866. package/src/components/JRCIcon/JRCIcon.tsx +0 -51
  867. package/src/components/JRCIcon/fonts.d.ts +0 -5
  868. package/src/components/JRCIconButton/JRCIconButton.stories.tsx +0 -33
  869. package/src/components/JRCIconButton/JRCIconButton.tsx +0 -100
  870. package/src/components/JRCImg/JRCImg.stories.tsx +0 -18
  871. package/src/components/JRCImg/JRCImg.test.tsx +0 -13
  872. package/src/components/JRCImg/JRCImg.tsx +0 -58
  873. package/src/components/JRCImg/url.util.ts +0 -108
  874. package/src/components/JRCImg/url.utils.test.ts +0 -74
  875. package/src/components/JRCList/JRCList.stories.tsx +0 -98
  876. package/src/components/JRCList/JRCList.styles.tsx +0 -213
  877. package/src/components/JRCList/JRCList.tsx +0 -217
  878. package/src/components/JRCList/JRCListMockData.stories.tsx +0 -105
  879. package/src/components/JRCLoader/JRCLoader.stories.tsx +0 -17
  880. package/src/components/JRCLoader/JRCLoader.tsx +0 -53
  881. package/src/components/JRCLoader/JRCSkeleton.tsx +0 -77
  882. package/src/components/JRCMenu/JRCMenu.stories.tsx +0 -29
  883. package/src/components/JRCMenu/JRCMenu.tsx +0 -80
  884. package/src/components/JRCMenuItem/JRCMenuItem.tsx +0 -51
  885. package/src/components/JRCModal/JRCModal.stories.tsx +0 -206
  886. package/src/components/JRCModal/JRCModal.styles.tsx +0 -79
  887. package/src/components/JRCModal/JRCModal.tsx +0 -189
  888. package/src/components/JRCModalImg/JRCModalImg.stories.tsx +0 -119
  889. package/src/components/JRCModalImg/JRCModalImg.styles.tsx +0 -83
  890. package/src/components/JRCModalImg/JRCModalImg.tsx +0 -140
  891. package/src/components/JRCPagination/JRCPagination.stories.tsx +0 -42
  892. package/src/components/JRCPagination/JRCPagination.test.tsx +0 -79
  893. package/src/components/JRCPagination/JRCPagination.tsx +0 -194
  894. package/src/components/JRCTabs/JRCTabItem +0 -0
  895. package/src/components/JRCTabs/JRCTabs.stories.tsx +0 -121
  896. package/src/components/JRCTabs/JRCTabs.tsx +0 -165
  897. package/src/components/JRCTag/JRCTag.stories.tsx +0 -26
  898. package/src/components/JRCTag/JRCTag.tsx +0 -120
  899. package/src/components/JRCThemeProvider/JRCThemeProvider.tsx +0 -26
  900. package/src/components/JRCThemeProvider/animation.css +0 -27
  901. package/src/components/JRCThemeProvider/font.css +0 -12
  902. package/src/components/JRCThemeProvider/fontawesome-icons.css +0 -10
  903. package/src/components/JRCThemeProvider/fontspot-icons.css +0 -10
  904. package/src/components/JRCThemeProvider/gabarit.css +0 -92
  905. package/src/components/JRCThemeProvider/scrollbar.css +0 -18
  906. package/src/components/JRCThemeProvider/theme-reset.css +0 -246
  907. package/src/components/JRCTooltip/JRCTooltip.stories.tsx +0 -87
  908. package/src/components/JRCTooltip/JRCTooltip.tsx +0 -145
  909. package/src/components/JRCTypo/JRCTypo.stories.tsx +0 -42
  910. package/src/components/JRCTypo/JRCTypo.tsx +0 -91
  911. package/src/components/JRCTypography/JRCTypography.d.tsx +0 -29
  912. package/src/components/JRCTypography/JRCTypography.stories.tsx +0 -18
  913. package/src/components/JRCTypography/JRCTypography.styles.tsx +0 -18
  914. package/src/components/JRCTypography/JRCTypography.test.tsx +0 -38
  915. package/src/components/JRCTypography/JRCTypography.tsx +0 -5
  916. package/src/components/JRCTypography/__snapshots__/JRCTypography.test.tsx.snap +0 -11
  917. package/src/hooks/UseDebounce.ts +0 -25
  918. package/src/hooks/UseDidMountEffect.tsx +0 -12
  919. package/src/hooks/UseTimeout.ts +0 -24
  920. package/src/index.tsx +0 -200
  921. package/src/jest/EmptyModule.js +0 -0
  922. package/src/jest/svgTransform.js +0 -10
  923. package/src/storybook/decorators.tsx +0 -17
  924. package/src/styles/Theme.stories.tsx +0 -265
  925. package/src/styles/theme.d.ts +0 -6
  926. package/src/styles/theme.tsx +0 -201
  927. package/src/styles/utils.tsx +0 -221
  928. package/src/translation/index.tsx +0 -2
  929. package/src/translation/lang.json +0 -29
  930. package/src/types/dataAttributes.ts +0 -7
  931. package/src/types/react-table-config.d.ts +0 -123
  932. package/src/types.ts +0 -95
  933. package/src/utils/const.ts +0 -9
  934. package/src/utils/test-utils.tsx +0 -41
  935. package/src/utils/types.tsx +0 -35
  936. package/src/utils/utils.date.test.tsx +0 -14
  937. package/src/utils/utils.date.tsx +0 -20
  938. package/src/utils/utils.document.tsx +0 -54
  939. package/src/utils/utils.object.test.tsx +0 -38
  940. package/src/utils/utils.object.tsx +0 -71
  941. package/src/utils/utils.regexp.test.ts +0 -11
  942. package/src/utils/utils.regexp.tsx +0 -8
  943. package/src/utils/utils.string.test.ts +0 -18
  944. package/src/utils/utils.string.ts +0 -7
  945. package/src/variables.scss +0 -67
  946. package/tsconfig.json +0 -18
  947. package/webpack.config.js +0 -70
@@ -1,311 +0,0 @@
1
- import * as React from 'react';
2
- import JRCButton, { JRCButtonProps } from './JRCButton';
3
- import { action } from '@storybook/addon-actions';
4
- import styled from 'styled-components';
5
- import { withReduxForm } from '../../storybook/decorators';
6
- import { useState } from 'react';
7
- import { JRCValidationButton, JRCValidationButtonProps } from './JRCValidationButton';
8
- import { Meta, Story } from '@storybook/react';
9
-
10
- export default {
11
- title: 'JRCButton',
12
- component: JRCButton,
13
- decorators: [withReduxForm],
14
- } as Meta;
15
-
16
- const Template: Story<JRCButtonProps> = (args) => {
17
- const [loader, setLoader] = useState(false);
18
- return (
19
- <JRCButton {...args} loader={loader} onClick={() => setLoader(true)}>
20
- {args.children}
21
- </JRCButton>
22
- );
23
- };
24
-
25
- export const CustomButton = Template.bind({});
26
- CustomButton.args = {
27
- children: 'Click to see loading Icon',
28
- icon: 'icon-backward',
29
- type: 'submit',
30
- dataCy: 'button-cy-demo',
31
- };
32
-
33
- const JRCButtonWrapper = styled.div`
34
- display: flex;
35
- flex-wrap: wrap;
36
- `;
37
-
38
- export const AllButtons = () => {
39
- return (
40
- <>
41
- <JRCButtonWrapper>
42
- <JRCButton onClick={action('button-click')} type="submit" color="primary" variant="contained">
43
- Button
44
- </JRCButton>
45
- <JRCButton
46
- onClick={action('button-click')}
47
- // icon="icon-check"
48
- type="submit"
49
- color="primary"
50
- variant="contained">
51
- Button + Icon
52
- </JRCButton>
53
- <JRCButton
54
- onClick={action('button-click')}
55
- icon="icon-check"
56
- type="submit"
57
- color="primary"
58
- variant="contained"></JRCButton>
59
- <JRCButton
60
- onClick={action('button-click')}
61
- icon="icon-check"
62
- type="submit"
63
- color="primary"
64
- variant="contained">
65
- Icon + Button
66
- </JRCButton>
67
- </JRCButtonWrapper>
68
- <JRCButtonWrapper>
69
- <JRCButton onClick={action('button-click')} type="submit" color="valid" variant="contained">
70
- Button
71
- </JRCButton>
72
- <JRCButton
73
- onClick={action('button-click')}
74
- icon="icon-check"
75
- type="submit"
76
- color="valid"
77
- variant="contained">
78
- Button + Icon
79
- </JRCButton>
80
- <JRCButton
81
- onClick={action('button-click')}
82
- icon="icon-check"
83
- type="submit"
84
- color="valid"
85
- variant="contained"></JRCButton>
86
- <JRCButton
87
- onClick={action('button-click')}
88
- icon="icon-check"
89
- type="submit"
90
- color="valid"
91
- variant="contained">
92
- Icon + Button
93
- </JRCButton>
94
- </JRCButtonWrapper>
95
- <JRCButtonWrapper>
96
- <JRCButton onClick={action('button-click')} type="submit" color="danger" variant="contained">
97
- Button
98
- </JRCButton>
99
- <JRCButton
100
- onClick={action('button-click')}
101
- icon="icon-check"
102
- type="submit"
103
- color="danger"
104
- variant="contained">
105
- Button + Icon
106
- </JRCButton>
107
- <JRCButton
108
- onClick={action('button-click')}
109
- icon="icon-check"
110
- type="submit"
111
- color="danger"
112
- variant="contained"></JRCButton>
113
- <JRCButton
114
- onClick={action('button-click')}
115
- icon="icon-check"
116
- type="submit"
117
- color="danger"
118
- variant="contained">
119
- Icon + Button
120
- </JRCButton>
121
- </JRCButtonWrapper>
122
- <JRCButtonWrapper>
123
- <JRCButton onClick={action('button-click')} disabled type="submit" color="primary" variant="contained">
124
- Button
125
- </JRCButton>
126
- <JRCButton
127
- onClick={action('button-click')}
128
- disabled
129
- icon="icon-check"
130
- type="submit"
131
- color="primary"
132
- variant="contained">
133
- Button + Icon
134
- </JRCButton>
135
- <JRCButton
136
- onClick={action('button-click')}
137
- disabled
138
- icon="icon-check"
139
- type="submit"
140
- color="primary"
141
- variant="contained"></JRCButton>
142
- <JRCButton
143
- onClick={action('button-click')}
144
- disabled
145
- icon="icon-check"
146
- type="submit"
147
- color="primary"
148
- variant="contained">
149
- Icon + Button
150
- </JRCButton>
151
- </JRCButtonWrapper>
152
- <br />
153
- <JRCButtonWrapper>
154
- <JRCButton onClick={action('button-click')} type="submit" color="primary" variant="outlined">
155
- Button
156
- </JRCButton>
157
- <JRCButton
158
- onClick={action('button-click')}
159
- icon="icon-check"
160
- type="submit"
161
- color="primary"
162
- variant="outlined">
163
- Button + Icon
164
- </JRCButton>
165
- <JRCButton
166
- onClick={action('button-click')}
167
- icon="icon-check"
168
- type="submit"
169
- color="primary"
170
- variant="outlined"></JRCButton>
171
- <JRCButton
172
- onClick={action('button-click')}
173
- icon="icon-check"
174
- type="submit"
175
- color="primary"
176
- variant="outlined">
177
- Icon + Button
178
- </JRCButton>
179
- </JRCButtonWrapper>
180
- <JRCButtonWrapper>
181
- <JRCButton onClick={action('button-click')} type="submit" color="valid" variant="outlined">
182
- Button
183
- </JRCButton>
184
- <JRCButton
185
- onClick={action('button-click')}
186
- icon="icon-check"
187
- type="submit"
188
- color="valid"
189
- variant="outlined">
190
- Button + Icon
191
- </JRCButton>
192
- <JRCButton
193
- onClick={action('button-click')}
194
- icon="icon-check"
195
- type="submit"
196
- color="valid"
197
- variant="outlined"></JRCButton>
198
- <JRCButton
199
- onClick={action('button-click')}
200
- icon="icon-check"
201
- type="submit"
202
- color="valid"
203
- variant="outlined">
204
- Icon + Button
205
- </JRCButton>
206
- </JRCButtonWrapper>
207
- <JRCButtonWrapper>
208
- <JRCButton onClick={action('button-click')} type="submit" color="danger" variant="outlined">
209
- Button
210
- </JRCButton>
211
- <JRCButton
212
- onClick={action('button-click')}
213
- icon="icon-check"
214
- type="submit"
215
- color="danger"
216
- variant="outlined">
217
- Button + Icon
218
- </JRCButton>
219
- <JRCButton
220
- onClick={action('button-click')}
221
- icon="icon-check"
222
- type="submit"
223
- color="danger"
224
- variant="outlined"></JRCButton>
225
- <JRCButton
226
- onClick={action('button-click')}
227
- icon="icon-check"
228
- type="submit"
229
- color="danger"
230
- variant="outlined">
231
- Icon + Button
232
- </JRCButton>
233
- </JRCButtonWrapper>
234
- <JRCButtonWrapper>
235
- <JRCButton onClick={action('button-click')} type="submit" color="secondary" variant="outlined">
236
- Button
237
- </JRCButton>
238
- <JRCButton
239
- onClick={action('button-click')}
240
- icon="icon-check"
241
- type="submit"
242
- color="secondary"
243
- variant="outlined">
244
- Button + Icon
245
- </JRCButton>
246
- <JRCButton
247
- onClick={action('button-click')}
248
- icon="icon-check"
249
- type="submit"
250
- color="secondary"
251
- variant="outlined"></JRCButton>
252
- <JRCButton
253
- onClick={action('button-click')}
254
- icon="icon-check"
255
- type="submit"
256
- color="secondary"
257
- variant="outlined">
258
- Icon + Button
259
- </JRCButton>
260
- </JRCButtonWrapper>
261
- <JRCButtonWrapper>
262
- <JRCButton onClick={action('button-click')} disabled type="submit" color="primary" variant="outlined">
263
- Button
264
- </JRCButton>
265
- <JRCButton
266
- onClick={action('button-click')}
267
- disabled
268
- icon="icon-check"
269
- type="submit"
270
- color="primary"
271
- variant="outlined">
272
- Button + Icon
273
- </JRCButton>
274
- <JRCButton
275
- onClick={action('button-click')}
276
- disabled
277
- icon="icon-check"
278
- type="submit"
279
- color="danger"
280
- variant="outlined"></JRCButton>
281
- <JRCButton
282
- onClick={action('button-click')}
283
- disabled
284
- icon="icon-check"
285
- type="submit"
286
- color="danger"
287
- variant="outlined">
288
- Icon + Button
289
- </JRCButton>
290
- </JRCButtonWrapper>
291
- </>
292
- );
293
- };
294
-
295
- const ValidationTemplate: Story<JRCValidationButtonProps> = (args) => {
296
- const [loader, setLoader] = useState(false);
297
- return (
298
- <JRCValidationButton {...args} loader={loader} onClick={() => setLoader(true)}>
299
- {args.children}
300
- </JRCValidationButton>
301
- );
302
- };
303
-
304
- export const ValidationButton = ValidationTemplate.bind({});
305
- ValidationButton.args = {
306
- children: 'Click to see loading Icon',
307
- icon: 'icon-backward',
308
- type: 'submit',
309
- onValidationClick: action('validation'),
310
- dataCy: 'demo-cy-validation-button',
311
- };
@@ -1,34 +0,0 @@
1
- import * as React from 'react';
2
- import { screen } from '@testing-library/react';
3
- import { renderWithWrapper } from 'utils/test-utils';
4
- import UserEvent from '@testing-library/user-event';
5
-
6
- import JRCButton from './JRCButton';
7
-
8
- const TEXT = "I'm a text";
9
-
10
- describe('JRCButton', () => {
11
- test('match snapshot', () => {
12
- const { asFragment } = renderWithWrapper(<JRCButton>{TEXT}</JRCButton>);
13
- expect(asFragment()).toMatchSnapshot();
14
- });
15
-
16
- test('renders button with correct text', () => {
17
- renderWithWrapper(<JRCButton>{TEXT}</JRCButton>);
18
- expect(screen.getByText(TEXT)).toBeInTheDocument();
19
- expect(screen.getByRole('button')).toBeInTheDocument();
20
- });
21
-
22
- test('calls correct function on click', () => {
23
- const onClick = jest.fn();
24
- renderWithWrapper(<JRCButton onClick={onClick}>{TEXT}</JRCButton>);
25
- UserEvent.click(screen.getByText(TEXT));
26
- expect(onClick).toHaveBeenCalled();
27
- });
28
-
29
- test('button should be disabled', () => {
30
- renderWithWrapper(<JRCButton disabled>{TEXT}</JRCButton>);
31
- expect(screen.getByText(TEXT)).toHaveAttribute('disabled');
32
- expect(screen.getByText(TEXT)).toBeDisabled();
33
- });
34
- });
@@ -1,120 +0,0 @@
1
- import * as React from 'react';
2
- import JRCIcon, { JRCIconProps } from '../JRCIcon/JRCIcon';
3
- import styled from 'styled-components';
4
- import JRCLoader from 'components/JRCLoader/JRCLoader';
5
- import config, { ButtonType } from './JRCButtonConfig';
6
- import { ForwardedRef } from 'react';
7
- import { DataCy } from '../../types/dataAttributes';
8
-
9
- export type JRCButtonProps = React.ComponentPropsWithoutRef<'button'> &
10
- DataCy & {
11
- /** Color of the background of the button */
12
- color?: 'primary' | 'valid' | 'danger' | 'secondary';
13
- /** Indicates loading of content on the button */
14
- loader?: boolean;
15
- /** This Boolean attribute specifies that the button should have input focus when the page loads */
16
- autofocus?: boolean;
17
- /** Defines the value associated with the button’s name when it’s submitted with the form data */
18
- value?: string;
19
- /** Enhance your button with an icon */
20
- icon?: string;
21
- /** The variant is used to define what type of action the button will take */
22
- variant?: 'contained' | 'outlined';
23
- /** CSS float attribute */
24
- float?: 'left' | 'right';
25
- /** CSS min-width attribute */
26
- minWidth?: string;
27
- };
28
-
29
- export const transformColor = (color?: string): JRCIconProps['color'] => {
30
- switch (color) {
31
- case 'valid':
32
- return 'green';
33
- case 'danger':
34
- return 'orange';
35
- case 'secondary':
36
- return 'grey4';
37
- default:
38
- return 'primary';
39
- }
40
- };
41
-
42
- const Button = styled.button<{ themeButton: ButtonType; hasChildren: boolean } & JRCButtonProps>`
43
- float: ${(props) => props.float};
44
- min-width: ${(props) => props.minWidth};
45
- display: inline-flex;
46
- flex-direction: row;
47
- justify-content: center;
48
- cursor: ${(props) => (props.disabled ? 'not-allowed' : props.loader ? 'wait' : 'pointer')};
49
- align-items: center;
50
- color: ${(props) => props.theme.color[props.themeButton.color]};
51
- height: 40px;
52
- margin: 0.2rem;
53
- position: relative;
54
- outline: none;
55
- border-radius: 8px;
56
- padding: ${(props) => (props.hasChildren ? '8px 16px' : '8px 10px')};
57
- background-color: ${(props) => props.theme.color[props.themeButton.background]};
58
- box-sizing: border-box;
59
- border: 2px solid ${(props) => props.theme.color[props.themeButton.border]};
60
- transition: color 0.5s, background-color 0.5s, border 0.5s;
61
- &:hover {
62
- background-color: ${(props) => props.theme.color[props.themeButton.hover.background]};
63
- border-color: ${(props) => props.theme.color[props.themeButton.hover.border]};
64
- }
65
- &:active {
66
- background-color: ${(props) => props.theme.color[props.themeButton.active.background]};
67
- border-color: ${(props) => props.theme.color[props.themeButton.active.border]};
68
- }
69
- &:before {
70
- display: none;
71
- content: '';
72
- position: absolute;
73
- top: 50%;
74
- left: 50%;
75
- transform: translate(-50%, -50%);
76
- width: calc(100% - 2.5px);
77
- border-radius: inherit;
78
- height: calc(100% - 2.5px);
79
- border: 1px dashed ${(props) => props.theme.color[props.themeButton.color]};
80
- }
81
- & > i,
82
- & > div {
83
- margin: ${(props) => `0 ${props.hasChildren ? '8px' : '0'} 0 0`};
84
- }
85
- &:focus-visible:before {
86
- display: ${(props) => !props.disabled && !props.loader && 'block'};
87
- }
88
- `;
89
-
90
- const JRCButton = React.forwardRef(
91
- (
92
- { color = 'primary', type = 'button', variant = 'contained', ...props }: JRCButtonProps,
93
- ref: ForwardedRef<HTMLButtonElement>,
94
- ) => {
95
- const disabled = props.disabled || props.loader;
96
- const themeButton = config[variant][disabled ? 'disabled' : color];
97
-
98
- return (
99
- <Button
100
- hasChildren={!!props.children}
101
- themeButton={themeButton}
102
- type={type}
103
- data-cy={props.dataCy}
104
- disabled={disabled}
105
- {...props}
106
- ref={ref}>
107
- {props.icon && !props.loader && (
108
- <JRCIcon
109
- name={props.icon}
110
- color={props.disabled ? 'grey3' : variant === 'contained' ? 'white' : transformColor(color)}
111
- />
112
- )}
113
- {props.loader && <JRCLoader color="grey3" />}
114
- {props.children}
115
- </Button>
116
- );
117
- },
118
- );
119
-
120
- export default JRCButton;
@@ -1,150 +0,0 @@
1
- export default {
2
- contained: {
3
- primary: {
4
- color: 'white',
5
- background: 'primary',
6
- border: 'primary',
7
- active: {
8
- background: 'primaryD20',
9
- border: 'primaryD20',
10
- },
11
- hover: {
12
- background: 'primaryL15',
13
- border: 'primaryL15',
14
- },
15
- },
16
- valid: {
17
- color: 'white',
18
- background: 'green',
19
- border: 'green',
20
- active: {
21
- background: 'greenD20',
22
- border: 'greenD20',
23
- },
24
- hover: {
25
- background: 'greenL20',
26
- border: 'greenL20',
27
- },
28
- },
29
- danger: {
30
- color: 'white',
31
- background: 'orange',
32
- border: 'orange',
33
- active: {
34
- background: 'orangeD20',
35
- border: 'orangeD20',
36
- },
37
- hover: {
38
- background: 'orangeL15',
39
- border: 'orangeL15',
40
- },
41
- },
42
- secondary: {
43
- color: 'grey4',
44
- background: 'grey0',
45
- border: 'grey2',
46
- active: {
47
- background: 'primaryL80',
48
- border: 'grey2',
49
- },
50
- hover: {
51
- background: 'primaryL90',
52
- border: 'grey2',
53
- },
54
- },
55
- disabled: {
56
- color: 'grey3',
57
- background: 'grey1',
58
- border: 'grey1',
59
- active: {
60
- background: 'grey1',
61
- border: 'grey1',
62
- },
63
- hover: {
64
- background: 'grey1',
65
- border: 'grey1',
66
- },
67
- },
68
- },
69
- outlined: {
70
- primary: {
71
- color: 'primary',
72
- background: 'white',
73
- border: 'primary',
74
- active: {
75
- background: 'primaryL80',
76
- border: 'primary',
77
- },
78
- hover: {
79
- background: 'primaryL90',
80
- border: 'primary',
81
- },
82
- },
83
- valid: {
84
- color: 'green',
85
- background: 'white',
86
- border: 'green',
87
- active: {
88
- background: 'greenL80',
89
- border: 'green',
90
- },
91
- hover: {
92
- background: 'greenL90',
93
- border: 'green',
94
- },
95
- },
96
- danger: {
97
- color: 'orange',
98
- background: 'white',
99
- border: 'orange',
100
- active: {
101
- background: 'orangeL80',
102
- border: 'orange',
103
- },
104
- hover: {
105
- background: 'orangeL90',
106
- border: 'orange',
107
- },
108
- },
109
- secondary: {
110
- color: 'grey4',
111
- background: 'white',
112
- border: 'grey4',
113
- active: {
114
- background: 'primaryL80',
115
- border: 'grey4',
116
- },
117
- hover: {
118
- background: 'primaryL90',
119
- border: 'grey4',
120
- },
121
- },
122
- disabled: {
123
- color: 'grey3',
124
- background: 'white',
125
- border: 'grey3',
126
- active: {
127
- background: 'white',
128
- border: 'grey3',
129
- },
130
- hover: {
131
- background: 'white',
132
- border: 'grey3',
133
- },
134
- },
135
- },
136
- };
137
-
138
- export type ButtonType = {
139
- color: string;
140
- background: string;
141
- border: string;
142
- active: {
143
- background: string;
144
- border: string;
145
- };
146
- hover: {
147
- background: string;
148
- border: string;
149
- };
150
- };