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