jamespot-react-components 1.0.0

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 (997) hide show
  1. package/.eslintignore +80 -0
  2. package/.eslintrc.js +15 -0
  3. package/.github/pull_request_template.md +22 -0
  4. package/.github/workflows/ci.yml +62 -0
  5. package/.github/workflows/create-stable-branch.yml +80 -0
  6. package/.github/workflows/deploy-dev-branches.yml +40 -0
  7. package/.history/.eslintignore_20211116140451 +13 -0
  8. package/.history/.eslintignore_20211116140517 +80 -0
  9. package/.history/.github/workflows/ci_20211103152807.yml +50 -0
  10. package/.history/.github/workflows/ci_20211117114643.yml +50 -0
  11. package/.history/.github/workflows/ci_20211117114650.yml +55 -0
  12. package/.history/.github/workflows/ci_20211117152126.yml +55 -0
  13. package/.history/.github/workflows/ci_20211117153805.yml +58 -0
  14. package/.history/.github/workflows/ci_20211117153810.yml +58 -0
  15. package/.history/.github/workflows/ci_20211117154145.yml +59 -0
  16. package/.history/.github/workflows/ci_20211117154153.yml +59 -0
  17. package/.history/.github/workflows/ci_20211117155208.yml +58 -0
  18. package/.history/.github/workflows/ci_20211117155212.yml +59 -0
  19. package/.history/.github/workflows/ci_20211117155228.yml +59 -0
  20. package/.history/.github/workflows/ci_20211117155451.yml +59 -0
  21. package/.history/.github/workflows/ci_20211117155505.yml +59 -0
  22. package/.history/.github/workflows/ci_20211117155509.yml +59 -0
  23. package/.history/.github/workflows/ci_20211117160304.yml +59 -0
  24. package/.history/.github/workflows/ci_20211117161702.yml +59 -0
  25. package/.history/.github/workflows/ci_20211117162805.yml +59 -0
  26. package/.history/.github/workflows/ci_20211117164809.yml +60 -0
  27. package/.history/.github/workflows/ci_20211117170417.yml +60 -0
  28. package/.history/.gitignore_20211117155121 +82 -0
  29. package/.history/.husky/pre-commit_20211116154612 +4 -0
  30. package/.history/.husky/pre-commit_20211116155720 +4 -0
  31. package/.history/.prettierignore_20211103152807 +84 -0
  32. package/.history/.prettierignore_20211116140533 +80 -0
  33. package/.history/.prettierrc_20211103143655.json +11 -0
  34. package/.history/.prettierrc_20211103144104.json +10 -0
  35. package/.history/.prettierrc_20211116140542.json +11 -0
  36. package/.history/.prettierrc_20211116173732.json +10 -0
  37. package/.history/.storybook/main_20211109144835.js +22 -0
  38. package/.history/babel.config_20211116141826.js +14 -0
  39. package/.history/babel.config_20211117104141.js +15 -0
  40. package/.history/babel.config_20211117164455.js +15 -0
  41. package/.history/build/src/components/JRCHref/JRCHref.d_20211109164627.ts +20 -0
  42. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144654.ts +20 -0
  43. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144702.ts +20 -0
  44. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144724.ts +20 -0
  45. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144732.ts +20 -0
  46. package/.history/build/src/components/JRCHref/JRCHref.d_20211125144754.ts +20 -0
  47. package/.history/externals.d_20211108160127.ts +5 -0
  48. package/.history/externals.d_20211108160133.ts +5 -0
  49. package/.history/externals.d_20211108160237.ts +5 -0
  50. package/.history/externals.d_20211108160252.ts +6 -0
  51. package/.history/externals.d_20211108160343.ts +6 -0
  52. package/.history/externals.d_20211108163234.ts +5 -0
  53. package/.history/index.d_20210119091943.ts +0 -0
  54. package/.history/index.d_20210119092051.ts +4 -0
  55. package/.history/jest.config_20211112091917.js +15 -0
  56. package/.history/jest.config_20211117164520.js +16 -0
  57. package/.history/jest.setup_20210114075959.ts +3 -0
  58. package/.history/jest.setup_20210429114103.ts +1 -0
  59. package/.history/package-lock_20211109153645.json +73806 -0
  60. package/.history/package_20211103143741.json +117 -0
  61. package/.history/package_20211108155048.json +117 -0
  62. package/.history/package_20211108160557.json +117 -0
  63. package/.history/package_20211109113710.json +116 -0
  64. package/.history/package_20211109113749.json +114 -0
  65. package/.history/package_20211109113753.json +113 -0
  66. package/.history/package_20211109113758.json +111 -0
  67. package/.history/package_20211109142830.json +111 -0
  68. package/.history/package_20211109142919.json +111 -0
  69. package/.history/package_20211109145908.json +111 -0
  70. package/.history/package_20211109145937.json +111 -0
  71. package/.history/package_20211109150036.json +109 -0
  72. package/.history/package_20211109151446.json +112 -0
  73. package/.history/package_20211109151756.json +112 -0
  74. package/.history/package_20211109151802.json +112 -0
  75. package/.history/package_20211109151807.json +112 -0
  76. package/.history/package_20211109151838.json +112 -0
  77. package/.history/package_20211109153435.json +117 -0
  78. package/.history/package_20211109160825.json +117 -0
  79. package/.history/package_20211109161532.json +118 -0
  80. package/.history/package_20211109161554.json +118 -0
  81. package/.history/package_20211109161940.json +117 -0
  82. package/.history/package_20211109162020.json +118 -0
  83. package/.history/package_20211109162510.json +118 -0
  84. package/.history/package_20211109162529.json +118 -0
  85. package/.history/package_20211109162543.json +118 -0
  86. package/.history/package_20211116140927.json +115 -0
  87. package/.history/package_20211116140929.json +115 -0
  88. package/.history/package_20211116140948.json +117 -0
  89. package/.history/package_20211116140951.json +117 -0
  90. package/.history/package_20211116141010.json +117 -0
  91. package/.history/package_20211116141729.json +119 -0
  92. package/.history/package_20211116143239.json +119 -0
  93. package/.history/package_20211116155648.json +131 -0
  94. package/.history/package_20211117114725.json +132 -0
  95. package/.history/package_20211117164402.json +132 -0
  96. package/.history/package_20211117164404.json +132 -0
  97. package/.history/package_20211117164407.json +132 -0
  98. package/.history/src/assets/check_20210114075959.svg +4 -0
  99. package/.history/src/assets/check_20210511153044.svg +4 -0
  100. package/.history/src/assets/check_20210601141216.svg +4 -0
  101. package/.history/src/assets/check_20210601141237.svg +4 -0
  102. package/.history/src/assets/loader_20210114075959.svg +32 -0
  103. package/.history/src/assets/loader_20210511153051.svg +32 -0
  104. package/.history/src/assets/loader_20210511153109.svg +32 -0
  105. package/.history/src/components/Common/DashedFocusBorder_20211103152807.tsx +20 -0
  106. package/.history/src/components/Common/DashedFocusBorder_20211116141741.tsx +20 -0
  107. package/.history/src/components/Form/Input/Demo/Demo_20210427112859.tsx +0 -0
  108. package/.history/src/components/Form/Input/Demo/Demo_20210427112927.tsx +38 -0
  109. package/.history/src/components/Form/Input/Demo/Demo_20210427113127.tsx +65 -0
  110. package/.history/src/components/Form/Input/Demo/Demo_20210427113139.tsx +56 -0
  111. package/.history/src/components/Form/Input/Demo/Demo_20210427113151.tsx +55 -0
  112. package/.history/src/components/Form/Input/Demo/Demo_20210427113152.tsx +55 -0
  113. package/.history/src/components/Form/Input/Demo/Demo_20210427113157.tsx +55 -0
  114. package/.history/src/components/Form/Input/Demo/Demo_20210427113206.tsx +55 -0
  115. package/.history/src/components/Form/Input/Demo/Demo_20210427113223.tsx +54 -0
  116. package/.history/src/components/Form/Input/Demo/Demo_20210427113224.tsx +54 -0
  117. package/.history/src/components/Form/Input/Demo/Demo_20210427113228.tsx +54 -0
  118. package/.history/src/components/Form/Input/Demo/Demo_20210427113235.tsx +54 -0
  119. package/.history/src/components/Form/Input/Demo/Demo_20210427113311.tsx +54 -0
  120. package/.history/src/components/Form/Input/Demo/Demo_20210427113341.tsx +54 -0
  121. package/.history/src/components/Form/Input/Demo/Demo_20210427113735.tsx +57 -0
  122. package/.history/src/components/Form/Input/Demo/Demo_20210427113751.tsx +58 -0
  123. package/.history/src/components/Form/Input/Demo/Demo_20210427113812.tsx +60 -0
  124. package/.history/src/components/Form/Input/Demo/Demo_20210427114028.tsx +69 -0
  125. package/.history/src/components/Form/Input/Demo/Demo_20210427114251.tsx +71 -0
  126. package/.history/src/components/Form/Input/Demo/Demo_20210427114321.tsx +73 -0
  127. package/.history/src/components/Form/Input/Demo/Demo_20210427114332.tsx +73 -0
  128. package/.history/src/components/Form/Input/Demo/Demo_20210427114504.tsx +77 -0
  129. package/.history/src/components/Form/Input/Demo/Demo_20210427114532.tsx +83 -0
  130. package/.history/src/components/Form/Input/Demo/Demo_20210427114603.tsx +90 -0
  131. package/.history/src/components/Form/Input/Demo/Demo_20210427114621.tsx +89 -0
  132. package/.history/src/components/Form/Input/Demo/Demo_20210427114633.tsx +89 -0
  133. package/.history/src/components/Form/Input/Demo/Demo_20210427114646.tsx +89 -0
  134. package/.history/src/components/Form/Input/Demo/Demo_20210427114759.tsx +98 -0
  135. package/.history/src/components/Form/Input/Demo/Demo_20210427114838.tsx +98 -0
  136. package/.history/src/components/Form/Input/Demo/Demo_20210427114841.tsx +98 -0
  137. package/.history/src/components/Form/Input/Demo/Demo_20210427115036.tsx +99 -0
  138. package/.history/src/components/Form/Input/Demo/Demo_20210427115156.tsx +90 -0
  139. package/.history/src/components/Form/Input/Demo/Demo_20210427115329.tsx +99 -0
  140. package/.history/src/components/Form/Input/Demo/Demo_20210427115339.tsx +99 -0
  141. package/.history/src/components/Form/Input/Demo/Demo_20210427115443.tsx +101 -0
  142. package/.history/src/components/Form/Input/Demo/Demo_20210427115633.tsx +102 -0
  143. package/.history/src/components/Form/Input/Demo/Demo_20210427115821.tsx +102 -0
  144. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909111158.tsx +25 -0
  145. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909112623.tsx +27 -0
  146. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210426165817.tsx +72 -0
  147. package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210429114237.tsx +71 -0
  148. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160603.tsx +253 -0
  149. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160617.tsx +253 -0
  150. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160632.tsx +307 -0
  151. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160746.tsx +307 -0
  152. package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211116142837.tsx +263 -0
  153. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210309111210.tsx +86 -0
  154. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210405114706.tsx +81 -0
  155. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114357.tsx +81 -0
  156. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114358.tsx +81 -0
  157. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154857.tsx +81 -0
  158. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154904.tsx +97 -0
  159. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154910.tsx +97 -0
  160. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154918.tsx +99 -0
  161. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154929.tsx +103 -0
  162. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154941.tsx +99 -0
  163. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155002.tsx +98 -0
  164. package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155402.tsx +99 -0
  165. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210415092917.tsx +43 -0
  166. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429114401.tsx +43 -0
  167. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154559.tsx +43 -0
  168. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154606.tsx +59 -0
  169. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154624.tsx +54 -0
  170. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154643.tsx +56 -0
  171. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154717.tsx +56 -0
  172. package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154755.tsx +59 -0
  173. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210415092917.tsx +42 -0
  174. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114419.tsx +42 -0
  175. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114440.tsx +42 -0
  176. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114446.tsx +42 -0
  177. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154420.tsx +42 -0
  178. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154430.tsx +58 -0
  179. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154442.tsx +60 -0
  180. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154459.tsx +55 -0
  181. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154521.tsx +57 -0
  182. package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154736.tsx +58 -0
  183. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142816.tsx +1095 -0
  184. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142819.tsx +1095 -0
  185. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142825.tsx +1095 -0
  186. package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211117094739.tsx +1095 -0
  187. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210114075959.tsx +40 -0
  188. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429114458.tsx +40 -0
  189. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154308.tsx +33 -0
  190. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154318.tsx +51 -0
  191. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154329.tsx +53 -0
  192. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154337.tsx +56 -0
  193. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154348.tsx +56 -0
  194. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154359.tsx +56 -0
  195. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154401.tsx +56 -0
  196. package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154403.tsx +56 -0
  197. package/.history/src/components/Form/Input/JRCFormFieldRender_20210114075959.tsx +97 -0
  198. package/.history/src/components/Form/Input/JRCFormFieldRender_20210405114648.tsx +97 -0
  199. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210114075959.tsx +11 -0
  200. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429114512.tsx +11 -0
  201. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154111.tsx +13 -0
  202. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154126.tsx +13 -0
  203. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154142.tsx +14 -0
  204. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154146.tsx +15 -0
  205. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154155.tsx +15 -0
  206. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154158.tsx +20 -0
  207. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154225.tsx +20 -0
  208. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141848.tsx +149 -0
  209. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141920.tsx +148 -0
  210. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141935.tsx +148 -0
  211. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094122.tsx +148 -0
  212. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094131.tsx +148 -0
  213. package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094147.tsx +149 -0
  214. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210114075959.tsx +42 -0
  215. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429114516.tsx +42 -0
  216. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153918.tsx +35 -0
  217. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153924.tsx +53 -0
  218. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153959.tsx +55 -0
  219. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154029.tsx +58 -0
  220. package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154035.tsx +58 -0
  221. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210114075959.tsx +31 -0
  222. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210412103504.tsx +45 -0
  223. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429114520.tsx +124 -0
  224. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153726.tsx +124 -0
  225. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153733.tsx +124 -0
  226. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153800.tsx +136 -0
  227. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153834.tsx +138 -0
  228. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153837.tsx +137 -0
  229. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153848.tsx +137 -0
  230. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171834.tsx +124 -0
  231. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171842.tsx +124 -0
  232. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150404.tsx +124 -0
  233. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150412.tsx +124 -0
  234. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150815.tsx +125 -0
  235. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150824.tsx +125 -0
  236. package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150834.tsx +125 -0
  237. package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141948.tsx +106 -0
  238. package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141950.tsx +106 -0
  239. package/.history/src/components/Form/Input/JRCFormSelect/JRCFormSelect_20211116142012.tsx +350 -0
  240. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210114075959.tsx +38 -0
  241. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429114541.tsx +38 -0
  242. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152714.tsx +38 -0
  243. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152735.tsx +53 -0
  244. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152747.tsx +48 -0
  245. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152757.tsx +49 -0
  246. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152806.tsx +51 -0
  247. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152816.tsx +54 -0
  248. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152834.tsx +54 -0
  249. package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152841.tsx +54 -0
  250. package/.history/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor_20211116142024.tsx +35 -0
  251. package/.history/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea_20211116142028.tsx +65 -0
  252. package/.history/src/components/Form/Input/JRCStyledInput_20210309111210.tsx +94 -0
  253. package/.history/src/components/Form/Input/JRCStyledInput_20210412103822.tsx +98 -0
  254. package/.history/src/components/Form/Input/JRCStyledInput_20210412103824.tsx +97 -0
  255. package/.history/src/components/Form/Input/ReduxFormControls_20211116142058.ts +141 -0
  256. package/.history/src/components/Form/Input/ReduxFormControls_20211116142800.ts +141 -0
  257. package/.history/src/components/JRCAlert/JRCArlert.stories_20211103152807.tsx +60 -0
  258. package/.history/src/components/JRCAlert/JRCArlert.stories_20211116142119.tsx +61 -0
  259. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211103152807.tsx +28 -0
  260. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115138.tsx +27 -0
  261. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115145.tsx +26 -0
  262. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115204.tsx +28 -0
  263. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142132.tsx +27 -0
  264. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142134.tsx +26 -0
  265. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142151.tsx +28 -0
  266. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142200.tsx +29 -0
  267. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142204.tsx +28 -0
  268. package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142212.tsx +29 -0
  269. package/.history/src/components/JRCAvatar/JRCAvatar.test_20211103152807.tsx +21 -0
  270. package/.history/src/components/JRCAvatar/JRCAvatar.test_20211116142226.tsx +22 -0
  271. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104018.tsx +59 -0
  272. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104101.tsx +60 -0
  273. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104122.tsx +60 -0
  274. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104143.tsx +60 -0
  275. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104218.tsx +62 -0
  276. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104246.tsx +62 -0
  277. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104354.tsx +60 -0
  278. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104416.tsx +60 -0
  279. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104419.tsx +60 -0
  280. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104701.tsx +62 -0
  281. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104713.tsx +63 -0
  282. package/.history/src/components/JRCAvatar/JRCAvatar_20211215104957.tsx +66 -0
  283. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105005.tsx +66 -0
  284. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105009.tsx +65 -0
  285. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105026.tsx +65 -0
  286. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105309.tsx +61 -0
  287. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105312.tsx +64 -0
  288. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105315.tsx +64 -0
  289. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105433.tsx +64 -0
  290. package/.history/src/components/JRCAvatar/JRCAvatar_20211215105442.tsx +62 -0
  291. package/.history/src/components/JRCAvatar/JRCAvatar_20211215110444.tsx +63 -0
  292. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111145.tsx +64 -0
  293. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111233.tsx +65 -0
  294. package/.history/src/components/JRCAvatar/JRCAvatar_20211215111240.tsx +64 -0
  295. package/.history/src/components/JRCAvatar/JRCAvatar_20211220162840.tsx +62 -0
  296. package/.history/src/components/JRCAvatar/JRCAvatar_20211220162848.tsx +62 -0
  297. package/.history/src/components/JRCAvatar/JRCAvatar_20211220164211.tsx +62 -0
  298. package/.history/src/components/JRCAvatar/JRCAvatar_20211220164215.tsx +62 -0
  299. package/.history/src/components/JRCAvatar/JRCAvatar_20211221115746.tsx +64 -0
  300. package/.history/src/components/JRCAvatar/JRCAvatar_20211221115750.tsx +64 -0
  301. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120044.tsx +64 -0
  302. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120047.tsx +64 -0
  303. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120048.tsx +63 -0
  304. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120052.tsx +63 -0
  305. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120055.tsx +62 -0
  306. package/.history/src/components/JRCAvatar/JRCAvatar_20211221120153.tsx +62 -0
  307. package/.history/src/components/JRCButton/JRCButton.stories_20210114075959.tsx +65 -0
  308. package/.history/src/components/JRCButton/JRCButton.stories_20210324153346.tsx +78 -0
  309. package/.history/src/components/JRCButton/JRCButton_20211103141623.tsx +135 -0
  310. package/.history/src/components/JRCButton/JRCButton_20211116142244.tsx +117 -0
  311. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155338.tsx +36 -0
  312. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155438.tsx +36 -0
  313. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155441.tsx +37 -0
  314. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155446.tsx +37 -0
  315. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155459.tsx +19 -0
  316. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155511.tsx +17 -0
  317. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161017.tsx +18 -0
  318. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161020.tsx +16 -0
  319. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161032.tsx +16 -0
  320. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161148.tsx +16 -0
  321. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161438.tsx +37 -0
  322. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161447.tsx +37 -0
  323. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161456.tsx +41 -0
  324. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161507.tsx +42 -0
  325. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161516.tsx +43 -0
  326. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161820.tsx +43 -0
  327. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164337.tsx +45 -0
  328. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164427.tsx +45 -0
  329. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164441.tsx +45 -0
  330. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164446.tsx +45 -0
  331. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164501.tsx +47 -0
  332. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164510.tsx +52 -0
  333. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164528.tsx +76 -0
  334. package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164607.tsx +77 -0
  335. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155318.tsx +0 -0
  336. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155347.tsx +0 -0
  337. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155413.tsx +6 -0
  338. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155414.tsx +6 -0
  339. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155428.tsx +4 -0
  340. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155603.tsx +7 -0
  341. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155631.tsx +9 -0
  342. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155633.tsx +16 -0
  343. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155635.tsx +17 -0
  344. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155649.tsx +41 -0
  345. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155703.tsx +42 -0
  346. package/.history/src/components/JRCCarousel/JRCCarousel_20210412155728.tsx +42 -0
  347. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160204.tsx +42 -0
  348. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160431.tsx +42 -0
  349. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160437.tsx +42 -0
  350. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160801.tsx +46 -0
  351. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160814.tsx +46 -0
  352. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160938.tsx +46 -0
  353. package/.history/src/components/JRCCarousel/JRCCarousel_20210412160947.tsx +47 -0
  354. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161128.tsx +47 -0
  355. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161130.tsx +47 -0
  356. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161135.tsx +47 -0
  357. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161208.tsx +48 -0
  358. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161228.tsx +49 -0
  359. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161331.tsx +55 -0
  360. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161347.tsx +55 -0
  361. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161407.tsx +55 -0
  362. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161410.tsx +55 -0
  363. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161418.tsx +55 -0
  364. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161426.tsx +36 -0
  365. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161539.tsx +30 -0
  366. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161544.tsx +29 -0
  367. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161848.tsx +41 -0
  368. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161859.tsx +50 -0
  369. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161913.tsx +50 -0
  370. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161916.tsx +52 -0
  371. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161938.tsx +53 -0
  372. package/.history/src/components/JRCCarousel/JRCCarousel_20210412161947.tsx +42 -0
  373. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162119.tsx +39 -0
  374. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162128.tsx +40 -0
  375. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162141.tsx +42 -0
  376. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162145.tsx +42 -0
  377. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162154.tsx +42 -0
  378. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162238.tsx +42 -0
  379. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162406.tsx +42 -0
  380. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162457.tsx +43 -0
  381. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162500.tsx +43 -0
  382. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162504.tsx +43 -0
  383. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162612.tsx +43 -0
  384. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162650.tsx +54 -0
  385. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162705.tsx +54 -0
  386. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162819.tsx +55 -0
  387. package/.history/src/components/JRCCarousel/JRCCarousel_20210412162845.tsx +55 -0
  388. package/.history/src/components/JRCCarousel/JRCCarousel_20210412163202.tsx +57 -0
  389. package/.history/src/components/JRCCarousel/JRCCarousel_20210412163241.tsx +55 -0
  390. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211103152807.tsx +28 -0
  391. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142250.tsx +26 -0
  392. package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142251.tsx +25 -0
  393. package/.history/src/components/JRCDropDown/JRCDropDown_20210629085002.tsx +155 -0
  394. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142200.tsx +157 -0
  395. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142204.tsx +157 -0
  396. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142213.tsx +157 -0
  397. package/.history/src/components/JRCDropDown/JRCDropDown_20211103142216.tsx +157 -0
  398. package/.history/src/components/JRCError/JRCError.stories_20210406110213.tsx +0 -0
  399. package/.history/src/components/JRCError/JRCError.stories_20210406110227.tsx +18 -0
  400. package/.history/src/components/JRCError/JRCError.stories_20210406110234.tsx +16 -0
  401. package/.history/src/components/JRCError/JRCError.stories_20210406110245.tsx +16 -0
  402. package/.history/src/components/JRCError/JRCError.stories_20210406110305.tsx +18 -0
  403. package/.history/src/components/JRCError/JRCError.stories_20210406110310.tsx +15 -0
  404. package/.history/src/components/JRCError/JRCError.stories_20210406110337.tsx +15 -0
  405. package/.history/src/components/JRCError/JRCError.stories_20210406110354.tsx +15 -0
  406. package/.history/src/components/JRCError/JRCError.stories_20210406110413.tsx +13 -0
  407. package/.history/src/components/JRCError/JRCError.stories_20210406110418.tsx +13 -0
  408. package/.history/src/components/JRCError/JRCError.stories_20210406110708.tsx +14 -0
  409. package/.history/src/components/JRCError/JRCError.stories_20210406110715.tsx +13 -0
  410. package/.history/src/components/JRCError/JRCError.stories_20210406110722.tsx +13 -0
  411. package/.history/src/components/JRCError/JRCError.stories_20210406110736.tsx +13 -0
  412. package/.history/src/components/JRCError/JRCError.stories_20210406110740.tsx +13 -0
  413. package/.history/src/components/JRCError/JRCError.stories_20210406110753.tsx +15 -0
  414. package/.history/src/components/JRCError/JRCError.stories_20210406110757.tsx +16 -0
  415. package/.history/src/components/JRCError/JRCError.stories_20210406110813.tsx +16 -0
  416. package/.history/src/components/JRCError/JRCError.stories_20210406110818.tsx +15 -0
  417. package/.history/src/components/JRCError/JRCError_20210406110115.tsx +0 -0
  418. package/.history/src/components/JRCError/JRCError_20210406110136.tsx +3 -0
  419. package/.history/src/components/JRCError/JRCError_20210406110148.tsx +5 -0
  420. package/.history/src/components/JRCError/JRCError_20210406110154.tsx +5 -0
  421. package/.history/src/components/JRCError/JRCError_20210406110322.tsx +5 -0
  422. package/.history/src/components/JRCError/JRCError_20210406110459.tsx +5 -0
  423. package/.history/src/components/JRCError/JRCError_20210406110521.tsx +9 -0
  424. package/.history/src/components/JRCError/JRCError_20210406110526.tsx +8 -0
  425. package/.history/src/components/JRCError/JRCError_20210406110540.tsx +10 -0
  426. package/.history/src/components/JRCError/JRCError_20210406110544.tsx +10 -0
  427. package/.history/src/components/JRCError/JRCError_20210406110610.tsx +14 -0
  428. package/.history/src/components/JRCError/JRCError_20210406110613.tsx +14 -0
  429. package/.history/src/components/JRCError/JRCError_20210406110624.tsx +15 -0
  430. package/.history/src/components/JRCError/JRCError_20210406110731.tsx +15 -0
  431. package/.history/src/components/JRCHref/JRCHref.stories_20211116142303.tsx +29 -0
  432. package/.history/src/components/JRCHref/JRCHref_20210630101506.tsx +32 -0
  433. package/.history/src/components/JRCHref/JRCHref_20210630101558.tsx +32 -0
  434. package/.history/src/components/JRCHref/JRCHref_20210630101601.tsx +32 -0
  435. package/.history/src/components/JRCHref/JRCHref_20210630101616.tsx +32 -0
  436. package/.history/src/components/JRCHref/JRCHref_20210630101625.tsx +31 -0
  437. package/.history/src/components/JRCHref/JRCHref_20210630101634.tsx +31 -0
  438. package/.history/src/components/JRCHref/JRCHref_20210630101645.tsx +30 -0
  439. package/.history/src/components/JRCHref/JRCHref_20210630101738.tsx +29 -0
  440. package/.history/src/components/JRCHref/JRCHref_20210630101742.tsx +28 -0
  441. package/.history/src/components/JRCIcon/JRCIcon.stories_20210114075959.tsx +1045 -0
  442. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160522.tsx +1049 -0
  443. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160557.tsx +1049 -0
  444. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165104.tsx +1000 -0
  445. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165154.tsx +1002 -0
  446. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165225.tsx +1167 -0
  447. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165243.tsx +1167 -0
  448. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165244.tsx +1167 -0
  449. package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165340.tsx +1020 -0
  450. package/.history/src/components/JRCIconButton/JRCIconButton_20211102105335.tsx +86 -0
  451. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141204.tsx +97 -0
  452. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141514.tsx +97 -0
  453. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141535.tsx +97 -0
  454. package/.history/src/components/JRCIconButton/JRCIconButton_20211103141607.tsx +97 -0
  455. package/.history/src/components/JRCImg/JRCImg_20211103152807.tsx +57 -0
  456. package/.history/src/components/JRCImg/JRCImg_20211215104339.tsx +58 -0
  457. package/.history/src/components/JRCImg/JRCImg_20211215104433.tsx +58 -0
  458. package/.history/src/components/JRCList/JRCListMockData.stories_20211116141848.tsx +118 -0
  459. package/.history/src/components/JRCList/JRCListMockData.stories_20211116142710.tsx +119 -0
  460. package/.history/src/components/JRCList/JRCList_20211116141848.tsx +180 -0
  461. package/.history/src/components/JRCList/JRCList_20211116142725.tsx +172 -0
  462. package/.history/src/components/JRCList/JRCList_20211116142728.tsx +172 -0
  463. package/.history/src/components/JRCList/JRCList_20211116142730.tsx +171 -0
  464. package/.history/src/components/JRCList/JRCList_20211116142734.tsx +171 -0
  465. package/.history/src/components/JRCList/JRCList_20211116142738.tsx +171 -0
  466. package/.history/src/components/JRCList/JRCList_20211116142744.tsx +171 -0
  467. package/.history/src/components/JRCList/JRCList_20211116142747.tsx +172 -0
  468. package/.history/src/components/JRCList/JRCList_20211116142748.tsx +171 -0
  469. package/.history/src/components/JRCMenu/JRCMenu.stories_20211103152807.tsx +28 -0
  470. package/.history/src/components/JRCMenu/JRCMenu.stories_20211116142657.tsx +29 -0
  471. package/.history/src/components/JRCMenu/JRCMenu_20211103142113.tsx +88 -0
  472. package/.history/src/components/JRCMenu/JRCMenu_20211103142232.tsx +88 -0
  473. package/.history/src/components/JRCModal/JRCModal_20211103142136.tsx +142 -0
  474. package/.history/src/components/JRCModal/JRCModal_20211103142246.tsx +142 -0
  475. package/.history/src/components/JRCModalImg/JRCModalImg_20210824103034.tsx +148 -0
  476. package/.history/src/components/JRCModalImg/JRCModalImg_20211103142306.tsx +159 -0
  477. package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142641.tsx +65 -0
  478. package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142646.tsx +66 -0
  479. package/.history/src/components/JRCPagination/JRCPagination_20211103142342.tsx +219 -0
  480. package/.history/src/components/JRCTag/JRCTag_20211116142631.tsx +149 -0
  481. package/.history/src/components/JRCThemeProvider/theme-reset_20210615082115.css +254 -0
  482. package/.history/src/components/JRCThemeProvider/theme-reset_20210615143930.css +253 -0
  483. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103143919.tsx +85 -0
  484. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103144205.tsx +85 -0
  485. package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211116142619.tsx +86 -0
  486. package/.history/src/components/JRCTypography/JRCTypography.test_20211103152807.tsx +43 -0
  487. package/.history/src/components/JRCTypography/JRCTypography.test_20211116142608.tsx +43 -0
  488. package/.history/src/hooks/UseDidMountEffect_20211103152807.tsx +12 -0
  489. package/.history/src/hooks/UseDidMountEffect_20211116142601.tsx +12 -0
  490. package/.history/src/index_20210330171346.tsx +145 -0
  491. package/.history/src/index_20210330171430.tsx +150 -0
  492. package/.history/src/index_20210406174244.tsx +151 -0
  493. package/.history/src/index_20210406174248.tsx +151 -0
  494. package/.history/src/index_20210406174255.tsx +152 -0
  495. package/.history/src/index_20210406174317.tsx +152 -0
  496. package/.history/src/index_20210406174329.tsx +153 -0
  497. package/.history/src/index_20210412153458.tsx +155 -0
  498. package/.history/src/index_20210412153503.tsx +155 -0
  499. package/.history/src/index_20210427113335.tsx +162 -0
  500. package/.history/src/index_20210427113346.tsx +162 -0
  501. package/.history/src/index_20210427113356.tsx +163 -0
  502. package/.history/src/jest/svgTransform_20211103152807.js +9 -0
  503. package/.history/src/jest/svgTransform_20211117164503.js +10 -0
  504. package/.history/src/storybook/StorybookContainer/StorybookContainer_20210114075959.scss +22 -0
  505. package/.history/src/storybook/StorybookContainer/StorybookContainer_20210330170040.scss +23 -0
  506. package/.history/src/storybook/decorators_20210114075959.tsx +17 -0
  507. package/.history/src/storybook/decorators_20210430082612.tsx +17 -0
  508. package/.history/src/storybook/decorators_20210430082629.tsx +13 -0
  509. package/.history/src/storybook/decorators_20210430082644.tsx +13 -0
  510. package/.history/src/styles/theme_20211123150650.tsx +167 -0
  511. package/.history/src/styles/theme_20211123150708.tsx +168 -0
  512. package/.history/src/styles/theme_20211123150807.tsx +168 -0
  513. package/.history/src/styles/theme_20211123150905.tsx +180 -0
  514. package/.history/src/styles/theme_20211123150921.tsx +175 -0
  515. package/.history/src/styles/theme_20211123150928.tsx +179 -0
  516. package/.history/src/styles/theme_20211123151003.tsx +178 -0
  517. package/.history/src/styles/theme_20211123151005.tsx +178 -0
  518. package/.history/src/styles/theme_20211123151037.tsx +177 -0
  519. package/.history/src/styles/theme_20211123151145.tsx +179 -0
  520. package/.history/src/styles/theme_20211123151303.tsx +179 -0
  521. package/.history/src/styles/theme_20211123151327.tsx +179 -0
  522. package/.history/src/styles/theme_20211123151413.tsx +170 -0
  523. package/.history/src/styles/theme_20211123151416.tsx +169 -0
  524. package/.history/src/styles/theme_20211123151438.tsx +178 -0
  525. package/.history/src/styles/theme_20211123151505.tsx +169 -0
  526. package/.history/src/styles/theme_20211123151654.tsx +179 -0
  527. package/.history/src/styles/theme_20211123151847.tsx +177 -0
  528. package/.history/src/styles/theme_20211123151924.tsx +173 -0
  529. package/.history/src/styles/theme_20211123151946.tsx +173 -0
  530. package/.history/src/styles/theme_20211123151951.tsx +175 -0
  531. package/.history/src/styles/theme_20211123151959.tsx +175 -0
  532. package/.history/src/styles/theme_20211123153945.tsx +173 -0
  533. package/.history/src/styles/theme_20211123153953.tsx +175 -0
  534. package/.history/src/styles/theme_20211123154113.tsx +175 -0
  535. package/.history/src/styles/theme_20211125142741.tsx +166 -0
  536. package/.history/src/styles/utils_20211116141848.tsx +220 -0
  537. package/.history/src/styles/utils_20211116142330.tsx +220 -0
  538. package/.history/src/styles/utils_20211116142340.tsx +220 -0
  539. package/.history/src/styles/utils_20211116142354.tsx +221 -0
  540. package/.history/src/styles/utils_20211116142407.tsx +222 -0
  541. package/.history/src/types/react-table-config.d_20211103152807.ts +128 -0
  542. package/.history/src/types/react-table-config.d_20211116142449.ts +129 -0
  543. package/.history/src/types/react-table-config.d_20211116142537.ts +127 -0
  544. package/.history/src/types/react-table-config.d_20211116142544.ts +124 -0
  545. package/.history/src/types/react-table-config.d_20211116142551.ts +122 -0
  546. package/.history/src/types/react-table-config.d_20211116142914.ts +123 -0
  547. package/.history/src/types/react-table-config.d_20211116142918.ts +122 -0
  548. package/.history/src/types/react-table-config.d_20211116142923.ts +121 -0
  549. package/.history/src/types/react-table-config.d_20211116142926.ts +120 -0
  550. package/.history/src/types/react-table-config.d_20211116142929.ts +119 -0
  551. package/.history/src/types/react-table-config.d_20211116142931.ts +118 -0
  552. package/.history/src/types/react-table-config.d_20211116142934.ts +117 -0
  553. package/.history/src/types/react-table-config.d_20211116142935.ts +116 -0
  554. package/.history/src/types/react-table-config.d_20211116142938.ts +115 -0
  555. package/.history/src/types/react-table-config.d_20211116142943.ts +114 -0
  556. package/.history/src/types/react-table-config.d_20211116143050.ts +123 -0
  557. package/.history/src/utils/test-utils_20211103152807.tsx +40 -0
  558. package/.history/src/utils/test-utils_20211116142526.tsx +40 -0
  559. package/.history/src/utils/test-utils_20211116143351.tsx +40 -0
  560. package/.history/src/utils/test-utils_20211117095711.tsx +40 -0
  561. package/.history/src/utils/test-utils_20211117095720.tsx +41 -0
  562. package/.history/tsconfig_20210929171235.json +16 -0
  563. package/.history/tsconfig_20210929171551.json +16 -0
  564. package/.history/tsconfig_20210929171715.json +17 -0
  565. package/.history/tsconfig_20210929171832.json +17 -0
  566. package/.history/webpack.config_20211109143806.js +70 -0
  567. package/.history/webpack.config_20211109144159.js +66 -0
  568. package/.history/webpack.config_20211109144211.js +67 -0
  569. package/.history/webpack.config_20211109144446.js +67 -0
  570. package/.history/webpack.config_20211109144537.js +70 -0
  571. package/.history/webpack.config_20211109144549.js +70 -0
  572. package/.history/webpack.config_20211109153132.js +69 -0
  573. package/.history/webpack.config_20211109153209.js +71 -0
  574. package/.history/webpack.config_20211109153224.js +72 -0
  575. package/.history/webpack.config_20211109162125.js +72 -0
  576. package/.history/webpack.config_20211117164435.js +69 -0
  577. package/.history/webpack.config_20211117164440.js +70 -0
  578. package/.husky/pre-commit +4 -0
  579. package/.prettierignore +80 -0
  580. package/.prettierrc.json +11 -0
  581. package/.storybook/StorybookContainer/StorybookContainer.css +9 -0
  582. package/.storybook/StorybookContainer/StorybookContainer.tsx +39 -0
  583. package/.storybook/assets/css/font-awesome/fonts/FontAwesome.otf +0 -0
  584. package/.storybook/assets/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  585. package/.storybook/assets/css/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
  586. package/.storybook/assets/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  587. package/.storybook/assets/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  588. package/.storybook/assets/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  589. package/.storybook/assets/css/fonts/fontSpot/fonts/fontSpot.eot +0 -0
  590. package/.storybook/assets/css/fonts/fontSpot/fonts/fontSpot.json +4629 -0
  591. package/.storybook/assets/css/fonts/fontSpot/fonts/fontSpot.svg +216 -0
  592. package/.storybook/assets/css/fonts/fontSpot/fonts/fontSpot.ttf +0 -0
  593. package/.storybook/assets/css/fonts/fontSpot/fonts/fontSpot.woff +0 -0
  594. package/.storybook/assets/imagecache/120x120/user/1234.png +0 -0
  595. package/.storybook/assets/imagecache/160x160/user/1234.png +0 -0
  596. package/.storybook/assets/imagecache/200x200/user/1234.png +0 -0
  597. package/.storybook/assets/imagecache/24x24/user/1234.png +0 -0
  598. package/.storybook/assets/imagecache/32x32/user/1234.png +0 -0
  599. package/.storybook/assets/imagecache/40x40/user/1234.png +0 -0
  600. package/.storybook/assets/imagecache/48x48/user/11.png +0 -0
  601. package/.storybook/assets/imagecache/48x48/user/12.png +0 -0
  602. package/.storybook/assets/imagecache/48x48/user/1234.png +0 -0
  603. package/.storybook/assets/imagecache/48x48/user/2.png +0 -0
  604. package/.storybook/assets/imagecache/48x48/user/20.png +0 -0
  605. package/.storybook/assets/imagecache/48x48/user/23.png +0 -0
  606. package/.storybook/assets/imagecache/48x48/user/25.png +0 -0
  607. package/.storybook/assets/imagecache/48x48/user/8.png +0 -0
  608. package/.storybook/assets/imagecache/64x64/user/1234.png +0 -0
  609. package/.storybook/assets/imagecache/80x80/user/1234.png +0 -0
  610. package/.storybook/assets/imagecache/fitx700/fileArticle/245.png +0 -0
  611. package/.storybook/main.js +9 -0
  612. package/.storybook/preview-head.html +8 -0
  613. package/.storybook/preview.js +21 -0
  614. package/.storybook/webpack.config.js +25 -0
  615. package/.vscode/settings.json +9 -0
  616. package/README.md +58 -0
  617. package/babel.config.js +15 -0
  618. package/build/assets/check.e04c3374d2c43bd03d5c52b37639d90c.svg +4 -0
  619. package/build/assets/x.609ccec1e6c6c10c412a1ab325258b42.svg +1 -0
  620. package/build/jamespot-react-components.js +1385 -0
  621. package/build/jamespot-react-components.js.LICENSE.txt +81 -0
  622. package/build/jamespot-react-components.js.map +1 -0
  623. package/build/jest.setup.d.ts +1 -0
  624. package/build/src/components/Common/DashedFocusBorder.d.ts +7 -0
  625. package/build/src/components/Common/JRCConditionalWrapper.d.ts +8 -0
  626. package/build/src/components/Form/Common/ClickAwayListener.d.ts +14 -0
  627. package/build/src/components/Form/Common/FormDescription.d.ts +6 -0
  628. package/build/src/components/Form/Common/FormHelper.d.ts +13 -0
  629. package/build/src/components/Form/Common/FormLabel.d.ts +16 -0
  630. package/build/src/components/Form/Common/FormMessageFeedback.d.ts +17 -0
  631. package/build/src/components/Form/Common/types.d.ts +28 -0
  632. package/build/src/components/Form/Input/Common/JRCFormErrors.d.ts +10 -0
  633. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.d.ts +3 -0
  634. package/build/src/components/Form/Input/Common/JRCFormFieldRenderer.types.d.ts +44 -0
  635. package/build/src/components/Form/Input/Common/useFormControls.d.ts +42 -0
  636. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.d.ts +13 -0
  637. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.d.ts +4 -0
  638. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.d.ts +9 -0
  639. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.d.ts +4 -0
  640. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.d.ts +12 -0
  641. package/build/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.d.ts +4 -0
  642. package/build/src/components/Form/Input/JRCFormCheckbox/JRCCheckbox.d.ts +4 -0
  643. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.d.ts +17 -0
  644. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.stories.d.ts +6 -0
  645. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +13 -0
  646. package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.d.ts +55 -0
  647. package/build/src/components/Form/Input/JRCFormCheckbox/JRCInputCheckbox.d.ts +36 -0
  648. package/build/src/components/Form/Input/JRCFormCheckbox/JRCInputCheckbox.stories.d.ts +6 -0
  649. package/build/src/components/Form/Input/JRCFormCheckbox/JRCRadio.d.ts +4 -0
  650. package/build/src/components/Form/Input/JRCFormCheckbox/JRCToggle.d.ts +2 -0
  651. package/build/src/components/Form/Input/JRCFormColor/JRCFormColor.d.ts +8 -0
  652. package/build/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.d.ts +5 -0
  653. package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +35 -0
  654. package/build/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.d.ts +5 -0
  655. package/build/src/components/Form/Input/JRCFormEmail/JRCFormEmail.d.ts +8 -0
  656. package/build/src/components/Form/Input/JRCFormEmail/JRCFormEmail.stories.d.ts +5 -0
  657. package/build/src/components/Form/Input/JRCFormEmail/JRCInputEmail.d.ts +10 -0
  658. package/build/src/components/Form/Input/JRCFormEmail/JRCInputEmail.stories.d.ts +7 -0
  659. package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +69 -0
  660. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.d.ts +23 -0
  661. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.d.ts +6 -0
  662. package/build/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.d.ts +7 -0
  663. package/build/src/components/Form/Input/JRCFormNumber/JRCFormNumber.d.ts +8 -0
  664. package/build/src/components/Form/Input/JRCFormNumber/JRCFormNumber.stories.d.ts +5 -0
  665. package/build/src/components/Form/Input/JRCFormRange/JRCFormRange.d.ts +14 -0
  666. package/build/src/components/Form/Input/JRCFormRange/JRCFormRange.stories.d.ts +5 -0
  667. package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.d.ts +5 -0
  668. package/build/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.d.ts +7 -0
  669. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +20 -0
  670. package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.stories.d.ts +5 -0
  671. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelect.d.ts +73 -0
  672. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelect.stories.d.ts +18 -0
  673. package/build/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.d.ts +10 -0
  674. package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.d.ts +5 -0
  675. package/build/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.d.ts +7 -0
  676. package/build/src/components/Form/Input/JRCFormText/JRCFormText.d.ts +8 -0
  677. package/build/src/components/Form/Input/JRCFormText/JRCFormText.stories.d.ts +5 -0
  678. package/build/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.d.ts +10 -0
  679. package/build/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.stories.d.ts +5 -0
  680. package/build/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.d.ts +24 -0
  681. package/build/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.stories.d.ts +5 -0
  682. package/build/src/components/Form/Input/JRCFormURL/JRCFormUrl.d.ts +8 -0
  683. package/build/src/components/Form/Input/JRCFormURL/JRCFormUrl.stories.d.ts +5 -0
  684. package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +11 -0
  685. package/build/src/components/Form/Input/JRCInputText/JRCInputText.stories.d.ts +5 -0
  686. package/build/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.d.ts +10 -0
  687. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.d.ts +6 -0
  688. package/build/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.d.ts +13 -0
  689. package/build/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.d.ts +10 -0
  690. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.d.ts +4 -0
  691. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.d.ts +12 -0
  692. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +21 -0
  693. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +44 -0
  694. package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +47 -0
  695. package/build/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.d.ts +11 -0
  696. package/build/src/components/Form/Input/JRCStyledInput.d.ts +26 -0
  697. package/build/src/components/Form/Input/ReduxFormControls.d.ts +18 -0
  698. package/build/src/components/Form/Input/temporary.types.d.ts +20 -0
  699. package/build/src/components/JRCAlert/JRCAlert.d.ts +19 -0
  700. package/build/src/components/JRCAlert/JRCAlert.stories.d.ts +8 -0
  701. package/build/src/components/JRCAppHeader/JRCAppHeader.d.ts +3 -0
  702. package/build/src/components/JRCAppHeader/JRCAppHeader.stories.d.ts +5 -0
  703. package/build/src/components/JRCAppHeader/JRCAppHeader.styles.d.ts +1 -0
  704. package/build/src/components/JRCAppHeader/JRCAppHeader.types.d.ts +6 -0
  705. package/build/src/components/JRCAvatar/JRCAvatar.d.ts +29 -0
  706. package/build/src/components/JRCAvatar/JRCAvatar.stories.d.ts +5 -0
  707. package/build/src/components/JRCAvatar/JRCAvatar.test.d.ts +1 -0
  708. package/build/src/components/JRCButton/JRCButton.d.ts +41 -0
  709. package/build/src/components/JRCButton/JRCButton.stories.d.ts +9 -0
  710. package/build/src/components/JRCButton/JRCButton.test.d.ts +1 -0
  711. package/build/src/components/JRCButton/JRCButtonConfig.d.ts +150 -0
  712. package/build/src/components/JRCButton/JRCValidationButton.d.ts +12 -0
  713. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +32 -0
  714. package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.d.ts +8 -0
  715. package/build/src/components/JRCCard/JRCCard.d.ts +9 -0
  716. package/build/src/components/JRCCard/JRCCard.stories.d.ts +5 -0
  717. package/build/src/components/JRCColumnCenter/JRCColumnCenter.d.ts +10 -0
  718. package/build/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.d.ts +12 -0
  719. package/build/src/components/JRCColumnLeft/JRCColumnLeft.d.ts +10 -0
  720. package/build/src/components/JRCColumnRight/JRCColumnRight.d.ts +10 -0
  721. package/build/src/components/JRCDate/JRCDate.d.ts +5 -0
  722. package/build/src/components/JRCDate/JRCDate.stories.d.ts +9 -0
  723. package/build/src/components/JRCDropDown/JRCDropDown.d.ts +7 -0
  724. package/build/src/components/JRCDropDown/JRCDropDown.stories.d.ts +5 -0
  725. package/build/src/components/JRCGrid/JRCGrid.d.ts +12 -0
  726. package/build/src/components/JRCGrid/JRCGrid.stories.d.ts +9 -0
  727. package/build/src/components/JRCHref/JRCHref.d.ts +21 -0
  728. package/build/src/components/JRCHref/JRCHref.stories.d.ts +7 -0
  729. package/build/src/components/JRCIcon/JRCIcon.d.ts +22 -0
  730. package/build/src/components/JRCIcon/JRCIcon.stories.d.ts +7 -0
  731. package/build/src/components/JRCIconButton/JRCIconButton.d.ts +39 -0
  732. package/build/src/components/JRCIconButton/JRCIconButton.stories.d.ts +5 -0
  733. package/build/src/components/JRCImg/JRCImg.d.ts +34 -0
  734. package/build/src/components/JRCImg/JRCImg.stories.d.ts +5 -0
  735. package/build/src/components/JRCImg/JRCImg.test.d.ts +1 -0
  736. package/build/src/components/JRCImg/url.util.d.ts +62 -0
  737. package/build/src/components/JRCImg/url.utils.test.d.ts +1 -0
  738. package/build/src/components/JRCList/JRCList.d.ts +25 -0
  739. package/build/src/components/JRCList/JRCList.stories.d.ts +11 -0
  740. package/build/src/components/JRCList/JRCList.styles.d.ts +25 -0
  741. package/build/src/components/JRCList/JRCListMockData.stories.d.ts +4 -0
  742. package/build/src/components/JRCLoader/JRCLoader.d.ts +12 -0
  743. package/build/src/components/JRCLoader/JRCLoader.stories.d.ts +5 -0
  744. package/build/src/components/JRCMenu/JRCMenu.d.ts +33 -0
  745. package/build/src/components/JRCMenu/JRCMenu.stories.d.ts +7 -0
  746. package/build/src/components/JRCModal/JRCModal.d.ts +38 -0
  747. package/build/src/components/JRCModal/JRCModal.stories.d.ts +8 -0
  748. package/build/src/components/JRCModal/JRCModal.styles.d.ts +15 -0
  749. package/build/src/components/JRCModalImg/JRCModalImg.d.ts +40 -0
  750. package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +7 -0
  751. package/build/src/components/JRCModalImg/JRCModalImg.styles.d.ts +15 -0
  752. package/build/src/components/JRCPagination/JRCPagination.d.ts +20 -0
  753. package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +8 -0
  754. package/build/src/components/JRCPagination/JRCPagination.test.d.ts +1 -0
  755. package/build/src/components/JRCTabs/JRCTabs.d.ts +44 -0
  756. package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +9 -0
  757. package/build/src/components/JRCTag/JRCTag.d.ts +29 -0
  758. package/build/src/components/JRCTag/JRCTag.stories.d.ts +5 -0
  759. package/build/src/components/JRCThemeProvider/JRCThemeProvider.d.ts +17 -0
  760. package/build/src/components/JRCTooltip/JRCTooltip.d.ts +26 -0
  761. package/build/src/components/JRCTooltip/JRCTooltip.stories.d.ts +9 -0
  762. package/build/src/components/JRCTypo/JRCTypo.d.ts +48 -0
  763. package/build/src/components/JRCTypo/JRCTypo.stories.d.ts +12 -0
  764. package/build/src/components/JRCTypography/JRCTypography.d.d.ts +27 -0
  765. package/build/src/components/JRCTypography/JRCTypography.d.ts +2 -0
  766. package/build/src/components/JRCTypography/JRCTypography.stories.d.ts +5 -0
  767. package/build/src/components/JRCTypography/JRCTypography.styles.d.ts +10 -0
  768. package/build/src/components/JRCTypography/JRCTypography.test.d.ts +1 -0
  769. package/build/src/hooks/UseDebounce.d.ts +8 -0
  770. package/build/src/hooks/UseDidMountEffect.d.ts +3 -0
  771. package/build/src/index.d.ts +110 -0
  772. package/build/src/storybook/decorators.d.ts +2 -0
  773. package/build/src/styles/Theme.stories.d.ts +6 -0
  774. package/build/src/styles/theme.d.ts +45 -0
  775. package/build/src/styles/utils.d.ts +8 -0
  776. package/build/src/translation/index.d.ts +2 -0
  777. package/build/src/types/dataAttributes.d.ts +7 -0
  778. package/build/src/types.d.ts +87 -0
  779. package/build/src/utils/const.d.ts +8 -0
  780. package/build/src/utils/test-utils.d.ts +7 -0
  781. package/build/src/utils/types.d.ts +32 -0
  782. package/build/src/utils/utils.date.d.ts +9 -0
  783. package/build/src/utils/utils.date.test.d.ts +1 -0
  784. package/build/src/utils/utils.document.d.ts +4 -0
  785. package/build/src/utils/utils.object.d.ts +1 -0
  786. package/build/src/utils/utils.object.test.d.ts +1 -0
  787. package/build/src/utils/utils.regexp.d.ts +6 -0
  788. package/build/src/utils/utils.regexp.test.d.ts +1 -0
  789. package/build/src/utils/utils.string.d.ts +2 -0
  790. package/build/src/utils/utils.string.test.d.ts +1 -0
  791. package/eslint_report.json +1312 -0
  792. package/externals.d.ts +5 -0
  793. package/externals.json +15 -0
  794. package/favicon.ico +0 -0
  795. package/jest.config.js +16 -0
  796. package/jest.setup.ts +1 -0
  797. package/package.json +133 -0
  798. package/src/assets/check.svg +4 -0
  799. package/src/assets/error.svg +3 -0
  800. package/src/assets/x.svg +1 -0
  801. package/src/components/Common/DashedFocusBorder.tsx +20 -0
  802. package/src/components/Common/JRCConditionalWrapper.tsx +19 -0
  803. package/src/components/Form/Common/ClickAwayListener.tsx +41 -0
  804. package/src/components/Form/Common/FormDescription.tsx +9 -0
  805. package/src/components/Form/Common/FormHelper.tsx +30 -0
  806. package/src/components/Form/Common/FormLabel.tsx +38 -0
  807. package/src/components/Form/Common/FormMessageFeedback.tsx +52 -0
  808. package/src/components/Form/Common/types.ts +31 -0
  809. package/src/components/Form/Input/Common/JRCFormErrors.tsx +40 -0
  810. package/src/components/Form/Input/Common/JRCFormFieldRenderer.tsx +85 -0
  811. package/src/components/Form/Input/Common/JRCFormFieldRenderer.types.tsx +51 -0
  812. package/src/components/Form/Input/Common/useFormControls.tsx +108 -0
  813. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.tsx +38 -0
  814. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.tsx +47 -0
  815. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.tsx +37 -0
  816. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.tsx +25 -0
  817. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.tsx +39 -0
  818. package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.tsx +33 -0
  819. package/src/components/Form/Input/JRCFormCheckbox/JRCCheckbox.tsx +46 -0
  820. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.stories.tsx +61 -0
  821. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.tsx +101 -0
  822. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.tsx +116 -0
  823. package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.tsx +58 -0
  824. package/src/components/Form/Input/JRCFormCheckbox/JRCRadio.tsx +27 -0
  825. package/src/components/Form/Input/JRCFormCheckbox/JRCToggle.tsx +75 -0
  826. package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +26 -0
  827. package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +418 -0
  828. package/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.tsx +1079 -0
  829. package/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.tsx +71 -0
  830. package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.stories.tsx +22 -0
  831. package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.tsx +36 -0
  832. package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.stories.tsx +48 -0
  833. package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.tsx +30 -0
  834. package/src/components/Form/Input/JRCFormFieldRender.tsx +115 -0
  835. package/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.tsx +37 -0
  836. package/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.tsx +75 -0
  837. package/src/components/Form/Input/JRCFormFile/JRCFormFile.tsx +169 -0
  838. package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.stories.tsx +24 -0
  839. package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.tsx +37 -0
  840. package/src/components/Form/Input/JRCFormRange/JRCFormRange.stories.tsx +48 -0
  841. package/src/components/Form/Input/JRCFormRange/JRCFormRange.tsx +106 -0
  842. package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.tsx +10 -0
  843. package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.tsx +22 -0
  844. package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.stories.tsx +23 -0
  845. package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.tsx +272 -0
  846. package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.stories.tsx +104 -0
  847. package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.tsx +395 -0
  848. package/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.tsx +132 -0
  849. package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.tsx +10 -0
  850. package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.tsx +22 -0
  851. package/src/components/Form/Input/JRCFormText/JRCFormText.stories.tsx +26 -0
  852. package/src/components/Form/Input/JRCFormText/JRCFormText.tsx +47 -0
  853. package/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.stories.tsx +30 -0
  854. package/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor.tsx +36 -0
  855. package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.stories.tsx +28 -0
  856. package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.tsx +71 -0
  857. package/src/components/Form/Input/JRCFormURL/JRCFormUrl.stories.tsx +26 -0
  858. package/src/components/Form/Input/JRCFormURL/JRCFormUrl.tsx +35 -0
  859. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.tsx +84 -0
  860. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.tsx +193 -0
  861. package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.ts +27 -0
  862. package/src/components/Form/Input/JRCInputText/JRCInputText.stories.tsx +52 -0
  863. package/src/components/Form/Input/JRCInputText/JRCInputText.tsx +26 -0
  864. package/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.tsx +62 -0
  865. package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.tsx +55 -0
  866. package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.tsx +34 -0
  867. package/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.tsx +63 -0
  868. package/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.tsx +66 -0
  869. package/src/components/Form/Input/JRCSelect/JRCInputSelect.style.tsx +94 -0
  870. package/src/components/Form/Input/JRCSelect/JRCInputSelect.tsx +231 -0
  871. package/src/components/Form/Input/JRCSelect/JRCInputSelect.types.ts +51 -0
  872. package/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.ts +92 -0
  873. package/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.tsx +83 -0
  874. package/src/components/Form/Input/JRCStyledInput.tsx +102 -0
  875. package/src/components/Form/Input/ReduxFormControls.ts +135 -0
  876. package/src/components/Form/Input/temporary.types.tsx +22 -0
  877. package/src/components/JRCAlert/JRCAlert.stories.tsx +62 -0
  878. package/src/components/JRCAlert/JRCAlert.tsx +147 -0
  879. package/src/components/JRCAppContainer/JRCAppContainer.tsx +19 -0
  880. package/src/components/JRCAppHeader/JRCAppHeader.stories.tsx +25 -0
  881. package/src/components/JRCAppHeader/JRCAppHeader.styles.tsx +23 -0
  882. package/src/components/JRCAppHeader/JRCAppHeader.tsx +26 -0
  883. package/src/components/JRCAppHeader/JRCAppHeader.types.tsx +6 -0
  884. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.tsx +125 -0
  885. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.tsx +122 -0
  886. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +129 -0
  887. package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.tsx +61 -0
  888. package/src/components/JRCAppLeftColumn/JRCDefaultMenu.tsx +34 -0
  889. package/src/components/JRCAvatar/JRCAvatar.stories.tsx +30 -0
  890. package/src/components/JRCAvatar/JRCAvatar.test.tsx +22 -0
  891. package/src/components/JRCAvatar/JRCAvatar.tsx +91 -0
  892. package/src/components/JRCButton/JRCButton.stories.tsx +311 -0
  893. package/src/components/JRCButton/JRCButton.test.tsx +34 -0
  894. package/src/components/JRCButton/JRCButton.tsx +120 -0
  895. package/src/components/JRCButton/JRCButtonConfig.tsx +150 -0
  896. package/src/components/JRCButton/JRCValidationButton.tsx +85 -0
  897. package/src/components/JRCButton/__snapshots__/JRCButton.test.tsx.snap +13 -0
  898. package/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.tsx +289 -0
  899. package/src/components/JRCButtonDropdown/JRCButtonDropdown.tsx +170 -0
  900. package/src/components/JRCCard/JRCCard.stories.tsx +17 -0
  901. package/src/components/JRCCard/JRCCard.tsx +27 -0
  902. package/src/components/JRCColumnCenter/JRCColumnCenter.tsx +13 -0
  903. package/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.tsx +26 -0
  904. package/src/components/JRCColumnLeft/JRCColumnLeft.tsx +17 -0
  905. package/src/components/JRCColumnRight/JRCColumnRight.tsx +17 -0
  906. package/src/components/JRCDate/JRCDate.stories.tsx +11 -0
  907. package/src/components/JRCDate/JRCDate.tsx +32 -0
  908. package/src/components/JRCDropDown/JRCDropDown.stories.tsx +16 -0
  909. package/src/components/JRCDropDown/JRCDropDown.tsx +75 -0
  910. package/src/components/JRCFileOpen/JRCFileOpen.tsx +195 -0
  911. package/src/components/JRCFileOpen/extensions.tsx +14 -0
  912. package/src/components/JRCGrid/JRCGrid.stories.tsx +45 -0
  913. package/src/components/JRCGrid/JRCGrid.tsx +15 -0
  914. package/src/components/JRCHref/JRCHref.stories.tsx +33 -0
  915. package/src/components/JRCHref/JRCHref.tsx +40 -0
  916. package/src/components/JRCIcon/JRCIcon.stories.tsx +1040 -0
  917. package/src/components/JRCIcon/JRCIcon.tsx +51 -0
  918. package/src/components/JRCIcon/fonts.d.ts +5 -0
  919. package/src/components/JRCIconButton/JRCIconButton.stories.tsx +33 -0
  920. package/src/components/JRCIconButton/JRCIconButton.tsx +100 -0
  921. package/src/components/JRCImg/JRCImg.stories.tsx +18 -0
  922. package/src/components/JRCImg/JRCImg.test.tsx +13 -0
  923. package/src/components/JRCImg/JRCImg.tsx +58 -0
  924. package/src/components/JRCImg/url.util.ts +108 -0
  925. package/src/components/JRCImg/url.utils.test.ts +74 -0
  926. package/src/components/JRCList/JRCList.stories.tsx +98 -0
  927. package/src/components/JRCList/JRCList.styles.tsx +213 -0
  928. package/src/components/JRCList/JRCList.tsx +217 -0
  929. package/src/components/JRCList/JRCListMockData.stories.tsx +105 -0
  930. package/src/components/JRCLoader/JRCLoader.stories.tsx +12 -0
  931. package/src/components/JRCLoader/JRCLoader.tsx +43 -0
  932. package/src/components/JRCMenu/JRCMenu.stories.tsx +29 -0
  933. package/src/components/JRCMenu/JRCMenu.tsx +80 -0
  934. package/src/components/JRCMenuItem/JRCMenuItem.tsx +51 -0
  935. package/src/components/JRCModal/JRCModal.stories.tsx +206 -0
  936. package/src/components/JRCModal/JRCModal.styles.tsx +78 -0
  937. package/src/components/JRCModal/JRCModal.tsx +189 -0
  938. package/src/components/JRCModalImg/JRCModalImg.stories.tsx +119 -0
  939. package/src/components/JRCModalImg/JRCModalImg.styles.tsx +83 -0
  940. package/src/components/JRCModalImg/JRCModalImg.tsx +140 -0
  941. package/src/components/JRCPagination/JRCPagination.stories.tsx +42 -0
  942. package/src/components/JRCPagination/JRCPagination.test.tsx +79 -0
  943. package/src/components/JRCPagination/JRCPagination.tsx +194 -0
  944. package/src/components/JRCTabs/JRCTabItem +0 -0
  945. package/src/components/JRCTabs/JRCTabs.stories.tsx +121 -0
  946. package/src/components/JRCTabs/JRCTabs.tsx +165 -0
  947. package/src/components/JRCTag/JRCTag.stories.tsx +26 -0
  948. package/src/components/JRCTag/JRCTag.tsx +120 -0
  949. package/src/components/JRCThemeProvider/JRCThemeProvider.tsx +26 -0
  950. package/src/components/JRCThemeProvider/animation.css +27 -0
  951. package/src/components/JRCThemeProvider/font.css +12 -0
  952. package/src/components/JRCThemeProvider/fontawesome-icons.css +10 -0
  953. package/src/components/JRCThemeProvider/fontspot-icons.css +10 -0
  954. package/src/components/JRCThemeProvider/gabarit.css +92 -0
  955. package/src/components/JRCThemeProvider/scrollbar.css +18 -0
  956. package/src/components/JRCThemeProvider/theme-reset.css +246 -0
  957. package/src/components/JRCTooltip/JRCTooltip.stories.tsx +87 -0
  958. package/src/components/JRCTooltip/JRCTooltip.tsx +145 -0
  959. package/src/components/JRCTypo/JRCTypo.stories.tsx +42 -0
  960. package/src/components/JRCTypo/JRCTypo.tsx +91 -0
  961. package/src/components/JRCTypography/JRCTypography.d.tsx +29 -0
  962. package/src/components/JRCTypography/JRCTypography.stories.tsx +18 -0
  963. package/src/components/JRCTypography/JRCTypography.styles.tsx +18 -0
  964. package/src/components/JRCTypography/JRCTypography.test.tsx +38 -0
  965. package/src/components/JRCTypography/JRCTypography.tsx +5 -0
  966. package/src/components/JRCTypography/__snapshots__/JRCTypography.test.tsx.snap +11 -0
  967. package/src/hooks/UseDebounce.ts +25 -0
  968. package/src/hooks/UseDidMountEffect.tsx +12 -0
  969. package/src/hooks/UseTimeout.ts +24 -0
  970. package/src/index.tsx +205 -0
  971. package/src/jest/EmptyModule.js +0 -0
  972. package/src/jest/svgTransform.js +10 -0
  973. package/src/storybook/decorators.tsx +17 -0
  974. package/src/styles/Theme.stories.tsx +265 -0
  975. package/src/styles/theme.d.ts +6 -0
  976. package/src/styles/theme.tsx +201 -0
  977. package/src/styles/utils.tsx +221 -0
  978. package/src/translation/index.tsx +2 -0
  979. package/src/translation/lang.json +28 -0
  980. package/src/types/dataAttributes.ts +7 -0
  981. package/src/types/react-table-config.d.ts +123 -0
  982. package/src/types.ts +94 -0
  983. package/src/utils/const.ts +9 -0
  984. package/src/utils/test-utils.tsx +41 -0
  985. package/src/utils/types.tsx +35 -0
  986. package/src/utils/utils.date.test.tsx +14 -0
  987. package/src/utils/utils.date.tsx +20 -0
  988. package/src/utils/utils.document.tsx +54 -0
  989. package/src/utils/utils.object.test.tsx +38 -0
  990. package/src/utils/utils.object.tsx +71 -0
  991. package/src/utils/utils.regexp.test.ts +11 -0
  992. package/src/utils/utils.regexp.tsx +8 -0
  993. package/src/utils/utils.string.test.ts +18 -0
  994. package/src/utils/utils.string.ts +7 -0
  995. package/src/variables.scss +67 -0
  996. package/tsconfig.json +17 -0
  997. package/webpack.config.js +70 -0
@@ -0,0 +1,83 @@
1
+ import styled from 'styled-components';
2
+
3
+ export const JRCModalBox = styled.div`
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ position: fixed;
8
+ top: 0;
9
+ bottom: 0;
10
+ left: 0;
11
+ right: 0;
12
+ background: rgba(0, 0, 0, 0.7);
13
+ z-index: 5;
14
+ `;
15
+
16
+ export const JRCModalContainer = styled.div`
17
+ position: relative;
18
+ border-radius: 8px;
19
+ min-width: 260px;
20
+ min-height: 260px;
21
+ max-width: 720px;
22
+ width: 85vw;
23
+ max-height: 400px;
24
+ margin: 50px;
25
+ background-color: ${(props) => props.theme.color.white};
26
+ display: flex;
27
+ flex-direction: column;
28
+ #r-left .sticky {
29
+ min-height: 100%;
30
+ }
31
+ #r-main {
32
+ display: flex;
33
+ flex-direction: column;
34
+ }
35
+ `;
36
+
37
+ /**
38
+ * Type for align content
39
+ * @member align left: 'flex-start' | align center: 'center' | align right: 'flex-end'
40
+ */
41
+ type AlignProps = {
42
+ align?: 'flex-start' | 'center' | 'flex-end';
43
+ };
44
+
45
+ export const JRCModalContent = styled.div<AlignProps>`
46
+ margin-right: 24px;
47
+ `;
48
+
49
+ export const JRCModalFooter = styled.div`
50
+ display: flex;
51
+ justify-content: flex-end;
52
+ padding: 8px 24px 24px 0px;
53
+ `;
54
+
55
+ export const JRCModalClose = styled.div`
56
+ position: absolute;
57
+ right: 0;
58
+ top: 0;
59
+ margin: 16px 16px 0px 0px;
60
+ `;
61
+
62
+ export const ImgContainer = styled.div`
63
+ min-width: 200px;
64
+ height: 100%;
65
+ min-height: 260px;
66
+ overflow: hidden;
67
+ img {
68
+ width: 100%;
69
+ height: 100%;
70
+ border-top-left-radius: 8px;
71
+ border-bottom-left-radius: 8px;
72
+ max-height: 400px;
73
+ }
74
+ `;
75
+ export const ContentContainer = styled.div`
76
+ width: 100%;
77
+ margin-top: 30px;
78
+ flex-grow: 1;
79
+ h2 {
80
+ margin-bottom: 16px;
81
+ font-weight: 500;
82
+ }
83
+ `;
@@ -0,0 +1,140 @@
1
+ import React, { useRef, ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import JRCButton from '../JRCButton/JRCButton';
3
+ import { JRCH2 } from '../JRCTypo/JRCTypo';
4
+ import { JRCIconButton } from '../JRCIconButton/JRCIconButton';
5
+ import JRCGrid from '../JRCGrid/JRCGrid';
6
+ import JRCColumnCenter from '../JRCColumnCenter/JRCColumnCenter';
7
+ import JRCColumnLeft from '../JRCColumnLeft/JRCColumnLeft';
8
+ import {
9
+ JRCModalBox,
10
+ JRCModalContainer,
11
+ JRCModalContent,
12
+ JRCModalFooter,
13
+ JRCModalClose,
14
+ ImgContainer,
15
+ ContentContainer,
16
+ } from './JRCModalImg.styles';
17
+
18
+ /**
19
+ * Interface to provide Modal Buttons
20
+ * @member color button color "primary" | "red" | "green" | "grey"
21
+ * @member isClosed optional boolean (default false). If true, when click on the button, the modal is closes
22
+ * @member clickHandler optional, callback when the button is click
23
+ * @member children default ReactNode children in the Modal content
24
+ * @member variant optional style button "contained" | "outlined"
25
+ */
26
+ export interface JRCModalImgButtonType extends ComponentPropsWithoutRef<'button'> {
27
+ children: ReactNode;
28
+ color?: 'primary' | 'valid' | 'danger';
29
+ variant?: 'contained' | 'outlined';
30
+ isClosed?: boolean;
31
+ clickHandler?: (event?: React.MouseEvent) => void;
32
+ }
33
+
34
+ /**
35
+ * Interface for JRCModal props
36
+ * @member open boolean that open or close the Modal
37
+ * @member closeHandler callback called when the Modal is closed
38
+ * @member buttons array of JRCModalButton possibly added to the Modal
39
+ * @member title optional string (header content) if hasHeader= true
40
+ * @member showIconClose boolean to show/hide the close (x) button of the Modal
41
+ * @member children default ReactNode children in the Modal content
42
+ * @member alignContent content's align, default:flex-start
43
+ * @member img path image type string
44
+ * @member size modal max height
45
+ */
46
+ export interface JRCModalImgProps {
47
+ open: boolean;
48
+ closeHandler: () => void;
49
+ buttons?: JRCModalImgButtonType[];
50
+ children?: ReactNode;
51
+ title?: string;
52
+ showIconClose?: boolean;
53
+ img: string;
54
+ alignContent?: 'flex-start' | 'center' | 'flex-end';
55
+ }
56
+
57
+ const JRCModalImg = ({
58
+ open,
59
+ closeHandler,
60
+ buttons,
61
+ children,
62
+ title,
63
+ showIconClose,
64
+ img,
65
+ alignContent = 'center',
66
+ }: JRCModalImgProps) => {
67
+ const ModalRef = useRef();
68
+
69
+ const closeModal = () => {
70
+ closeHandler();
71
+ };
72
+
73
+ const escapeHandler = (e: React.KeyboardEvent) => {
74
+ if (e.key == 'Escape') closeHandler();
75
+ };
76
+ const dummyVoid = (): undefined => {
77
+ return undefined;
78
+ };
79
+ const getClickHandlerList = () => {
80
+ const handlerList: (() => void)[] = [];
81
+ if (buttons != undefined) {
82
+ buttons.map((button: JRCModalImgButtonType) => {
83
+ if (button.isClosed == undefined || !button.isClosed)
84
+ handlerList.push(() => {
85
+ closeHandler();
86
+ button.clickHandler != undefined ? button.clickHandler() : dummyVoid();
87
+ });
88
+ else
89
+ handlerList.push(() => {
90
+ dummyVoid();
91
+ });
92
+ });
93
+ }
94
+ return handlerList;
95
+ };
96
+ const clickHandlerList = getClickHandlerList();
97
+
98
+ return open ? (
99
+ // FIXME TYPESCRIPT-STRICT
100
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
101
+ // @ts-ignore
102
+ <JRCModalBox onKeyDown={(e) => escapeHandler(e)} tabIndex={0} ref={ModalRef}>
103
+ <JRCModalContainer>
104
+ <JRCGrid cols="2">
105
+ <JRCColumnLeft>
106
+ <ImgContainer>
107
+ <img src={img} />
108
+ </ImgContainer>
109
+ </JRCColumnLeft>
110
+ <JRCColumnCenter>
111
+ {showIconClose && (
112
+ <JRCModalClose>
113
+ <JRCIconButton icon="icon-times" onClick={closeModal} />
114
+ </JRCModalClose>
115
+ )}
116
+ <ContentContainer>
117
+ {title && <JRCH2>{title}</JRCH2>}
118
+ <JRCModalContent align={alignContent}>{children}</JRCModalContent>
119
+ </ContentContainer>
120
+ {buttons ? (
121
+ <JRCModalFooter>
122
+ {buttons.map((button: JRCModalImgButtonType, index: number) => (
123
+ <JRCButton
124
+ key={index}
125
+ color={button.color}
126
+ variant={button.variant}
127
+ onClick={button.isClosed ? closeModal : clickHandlerList[index]}>
128
+ {button.children}
129
+ </JRCButton>
130
+ ))}
131
+ </JRCModalFooter>
132
+ ) : null}
133
+ </JRCColumnCenter>
134
+ </JRCGrid>
135
+ </JRCModalContainer>
136
+ </JRCModalBox>
137
+ ) : null;
138
+ };
139
+
140
+ export default JRCModalImg;
@@ -0,0 +1,42 @@
1
+ import * as React from 'react';
2
+ import JRCPagination, { JRCPaginationProps } from './JRCPagination';
3
+ import { action } from '@storybook/addon-actions';
4
+ import { Meta, Story } from '@storybook/react';
5
+
6
+ export default {
7
+ title: 'JRCPagination',
8
+ } as Meta;
9
+
10
+ const PaginationTemplate: Story<JRCPaginationProps> = (args) => <JRCPagination {...args} />;
11
+
12
+ export const PaginationFirst = PaginationTemplate.bind({});
13
+ PaginationFirst.args = {
14
+ activePage: 1,
15
+ nbrOfPage: 95,
16
+ dataCy: 'pagination-example',
17
+ clickHandler: (number: number) => action(`clicked on page ${number}`)(),
18
+ };
19
+
20
+ export const PaginationFirstBis = PaginationTemplate.bind({});
21
+ PaginationFirstBis.args = {
22
+ activePage: 3,
23
+ nbrOfPage: 95,
24
+ dataCy: 'pagination-example',
25
+ clickHandler: (number: number) => action(`clicked on page ${number}`)(),
26
+ };
27
+
28
+ export const PaginationMiddle = PaginationTemplate.bind({});
29
+ PaginationMiddle.args = {
30
+ activePage: 19,
31
+ nbrOfPage: 95,
32
+ dataCy: 'pagination-example',
33
+ clickHandler: (number: number) => action(`clicked on page ${number}`)(),
34
+ };
35
+
36
+ export const PaginationFinal = PaginationTemplate.bind({});
37
+ PaginationFinal.args = {
38
+ activePage: 95,
39
+ nbrOfPage: 95,
40
+ dataCy: 'pagination-example',
41
+ clickHandler: (number: number) => action(`clicked on page ${number}`)(),
42
+ };
@@ -0,0 +1,79 @@
1
+ import * as React from 'react';
2
+ import { cleanup, screen } from '@testing-library/react';
3
+ import { renderWithWrapper } from 'utils/test-utils';
4
+ import UserEvent from '@testing-library/user-event';
5
+
6
+ import JRCPagination from './JRCPagination';
7
+
8
+ let activeNumber = 15;
9
+ const PREVIOUS_LABEL = 'previous';
10
+ const NEXT_LABEL = 'next';
11
+ const ACTIVE_PAGE = 15;
12
+ const NR_OF_PAGES = 160;
13
+
14
+ const propsJRCPagination = {
15
+ activePage: ACTIVE_PAGE,
16
+ nbrOfPage: NR_OF_PAGES,
17
+ previousLabel: PREVIOUS_LABEL,
18
+ nextLabel: NEXT_LABEL,
19
+ clickHandler: (page: number) => {
20
+ activeNumber = page;
21
+ },
22
+ };
23
+
24
+ describe('JRCPagination', () => {
25
+ beforeEach(() => {
26
+ renderWithWrapper(<JRCPagination {...propsJRCPagination}></JRCPagination>);
27
+ });
28
+
29
+ test('page 1 should not have class active', () => {
30
+ expect(screen.getByText('1')).not.toHaveClass('active');
31
+ });
32
+ test('page 15 should have class active', () => {
33
+ expect(screen.getByText('15')).toHaveClass('active');
34
+ });
35
+ test('page 160 exist on DOM', () => {
36
+ expect(screen.getByText(NR_OF_PAGES)).toBeInTheDocument();
37
+ });
38
+ test('button last exist on DOM', () => {
39
+ expect(screen.getByTestId('previous')).toBeInTheDocument();
40
+ });
41
+ test('button next exist on DOM', () => {
42
+ expect(screen.getByTestId(NEXT_LABEL)).toBeInTheDocument();
43
+ });
44
+
45
+ // V1 : click handler is on the top of file and change "activeNumber"
46
+ test('click on button next', () => {
47
+ UserEvent.click(screen.getByTestId(NEXT_LABEL));
48
+ expect(activeNumber).toEqual(ACTIVE_PAGE + 1);
49
+ });
50
+ test('click on button last', () => {
51
+ UserEvent.click(screen.getByTestId(PREVIOUS_LABEL));
52
+ expect(activeNumber).toEqual(ACTIVE_PAGE - 1);
53
+ });
54
+ test('click on number 17', () => {
55
+ UserEvent.click(screen.getByText('17'));
56
+ expect(activeNumber).toEqual(17);
57
+ });
58
+ test('click on number 13', () => {
59
+ UserEvent.click(screen.getByText('13'));
60
+ expect(activeNumber).toEqual(13);
61
+ });
62
+
63
+ // V2 : click handler and all the logic is in this test()
64
+ test('click on button next', () => {
65
+ // Arrange
66
+ let hasBeenClicked = false;
67
+ const handleClick = (page: number) => {
68
+ if (page === ACTIVE_PAGE + 1) {
69
+ hasBeenClicked = true;
70
+ }
71
+ };
72
+ cleanup();
73
+ renderWithWrapper(<JRCPagination {...propsJRCPagination} clickHandler={handleClick} />);
74
+ // Act
75
+ UserEvent.click(screen.getByTestId(NEXT_LABEL));
76
+ // Assert
77
+ expect(hasBeenClicked).toEqual(true);
78
+ });
79
+ });
@@ -0,0 +1,194 @@
1
+ import { JRCIconButton } from '../JRCIconButton/JRCIconButton';
2
+ import * as React from 'react';
3
+ import styled from 'styled-components';
4
+ import classnames from 'classnames';
5
+ import { DataCy } from '../../types/dataAttributes';
6
+
7
+ const MAX_NBR_OF_PAGE = 5;
8
+
9
+ export type PaginationBulletProps = DataCy & {
10
+ number: number;
11
+ isActive: boolean;
12
+ clickHandler: (page: number) => void;
13
+ };
14
+ /**
15
+ * Props type for JRCPagination
16
+ * @member activePage number : active page Number
17
+ * @member nbrOfPage number : total nb of pages
18
+ * @member clickHandler (page: number) => void; callback when click on a page number
19
+ */
20
+ export type JRCPaginationProps = DataCy & {
21
+ activePage: number;
22
+ nbrOfPage: number;
23
+ clickHandler: (page: number) => void;
24
+ };
25
+
26
+ const StyledBullet = styled.button`
27
+ cursor: pointer;
28
+ min-width: 8px;
29
+ text-align: center;
30
+ padding: 5px 8px;
31
+ border-radius: 4px;
32
+ &.active {
33
+ padding: 5px 8px 3px;
34
+ color: ${(props) => props.theme.color.overseas};
35
+ font-weight: 500;
36
+ &:after {
37
+ content: '';
38
+ height: 2px;
39
+ background: ${(props) => props.theme.color.overseas};
40
+ border-radius: 1px;
41
+ display: block;
42
+ }
43
+ }
44
+ &:hover {
45
+ padding: 5px 8px 3px;
46
+ &:after {
47
+ content: '';
48
+ height: 2px;
49
+ background: ${(props) => props.theme.color.overseas};
50
+ border-radius: 1px;
51
+ display: block;
52
+ }
53
+ }
54
+ &:focus-visible {
55
+ background-color: ${(props) => props.theme.color.grey2};
56
+ }
57
+ `;
58
+
59
+ export const PaginationBullet = ({ number, isActive, dataCy, clickHandler }: PaginationBulletProps) => {
60
+ return (
61
+ <StyledBullet
62
+ className={classnames({
63
+ active: isActive,
64
+ })}
65
+ data-cy={dataCy && `${dataCy}-page-${number}`}
66
+ onClick={() => !isActive && clickHandler(number)}>
67
+ {number}
68
+ </StyledBullet>
69
+ );
70
+ };
71
+
72
+ const PaginationBox = styled.div`
73
+ display: flex;
74
+ align-items: center;
75
+ justify-content: center;
76
+ `;
77
+ const PaginationNumber = styled.div`
78
+ text-align: center;
79
+ display: flex;
80
+ `;
81
+
82
+ const Ellipsis = styled.span`
83
+ margin-top: 6px;
84
+ `;
85
+
86
+ const getBulletArray = (
87
+ begging: number,
88
+ end: number,
89
+ activePage: number,
90
+ clickHandler: (number: number) => void,
91
+ dataCy?: string,
92
+ ) => {
93
+ const toRender = [];
94
+ for (let i = begging; i <= end; i++) {
95
+ toRender.push(
96
+ <PaginationBullet
97
+ key={i}
98
+ number={i}
99
+ isActive={i === activePage}
100
+ dataCy={dataCy}
101
+ clickHandler={clickHandler}
102
+ />,
103
+ );
104
+ }
105
+ return toRender;
106
+ };
107
+
108
+ const JRCPagination = ({ activePage = 1, nbrOfPage, clickHandler, dataCy }: JRCPaginationProps) => {
109
+ let toRender = [];
110
+ // activePage = 1 : Display the 5 first ... and the last
111
+ if (activePage <= MAX_NBR_OF_PAGE) {
112
+ // If there is 6 pages to render and max is 9. We only render the 6 first
113
+ if (nbrOfPage <= MAX_NBR_OF_PAGE) {
114
+ toRender = getBulletArray(1, nbrOfPage, activePage, clickHandler, dataCy);
115
+ } else {
116
+ toRender = getBulletArray(1, MAX_NBR_OF_PAGE, activePage, clickHandler, dataCy);
117
+ toRender.push(<Ellipsis key="...end">...</Ellipsis>);
118
+ // Final Block
119
+ toRender.push(
120
+ <PaginationBullet
121
+ key={nbrOfPage}
122
+ number={nbrOfPage}
123
+ isActive={nbrOfPage === activePage}
124
+ dataCy={dataCy}
125
+ clickHandler={clickHandler}
126
+ />,
127
+ );
128
+ }
129
+ }
130
+ // activePage = x : Display the first ... the 3 before and 3 after ... the last
131
+ else if (activePage > MAX_NBR_OF_PAGE && activePage < nbrOfPage - MAX_NBR_OF_PAGE) {
132
+ toRender.push(
133
+ <PaginationBullet
134
+ key={1}
135
+ number={1}
136
+ isActive={1 === activePage}
137
+ dataCy={dataCy}
138
+ clickHandler={clickHandler}
139
+ />,
140
+ );
141
+ toRender.push(<Ellipsis key="...start">...</Ellipsis>);
142
+
143
+ toRender = [...toRender, ...getBulletArray(activePage - 2, activePage + 2, activePage, clickHandler, dataCy)];
144
+
145
+ toRender.push(<Ellipsis key="...end">...</Ellipsis>);
146
+ toRender.push(
147
+ <PaginationBullet
148
+ key={nbrOfPage}
149
+ number={nbrOfPage}
150
+ isActive={nbrOfPage === activePage}
151
+ dataCy={dataCy}
152
+ clickHandler={clickHandler}
153
+ />,
154
+ );
155
+ }
156
+ // activePage = final :the first page ... and the 9 last
157
+ else {
158
+ toRender.push(
159
+ <PaginationBullet
160
+ key={1}
161
+ number={1}
162
+ isActive={1 === activePage}
163
+ dataCy={dataCy}
164
+ clickHandler={clickHandler}
165
+ />,
166
+ );
167
+ toRender.push(<Ellipsis key="...start">...</Ellipsis>);
168
+ // last block
169
+ toRender = [
170
+ ...toRender,
171
+ ...getBulletArray(nbrOfPage - MAX_NBR_OF_PAGE, nbrOfPage, activePage, clickHandler, dataCy),
172
+ ];
173
+ }
174
+ return (
175
+ <PaginationBox>
176
+ <JRCIconButton
177
+ data-testid="previous"
178
+ disabled={activePage === 1}
179
+ icon="icon-chevron-left"
180
+ dataCy={dataCy && `${dataCy}-page-previous`}
181
+ onClick={() => clickHandler(activePage - 1)}
182
+ />
183
+ <PaginationNumber>{toRender}</PaginationNumber>
184
+ <JRCIconButton
185
+ data-testid="next"
186
+ disabled={activePage === nbrOfPage}
187
+ icon="icon-chevron-right"
188
+ dataCy={dataCy && `${dataCy}-page-next`}
189
+ onClick={() => clickHandler(activePage + 1)}
190
+ />
191
+ </PaginationBox>
192
+ );
193
+ };
194
+ export default JRCPagination;
File without changes
@@ -0,0 +1,121 @@
1
+ import * as React from 'react';
2
+ import { JRCTabs, JRCTabPanel, ItemEntriesProps } from './JRCTabs';
3
+ import JRCIcon from '../JRCIcon/JRCIcon';
4
+ import styled from 'styled-components';
5
+
6
+ export default {
7
+ title: 'JRCTabs',
8
+ component: JRCTabs,
9
+ };
10
+
11
+ const itemsHorizontal: ItemEntriesProps[] = [
12
+ {
13
+ key: '1',
14
+ label: <JRCIcon name="icon-picture-o" />,
15
+ },
16
+ {
17
+ key: '2',
18
+ label: <JRCIcon name="icon-picture-o" />,
19
+ },
20
+ {
21
+ key: '3',
22
+ label: <JRCIcon name="icon-picture-o" />,
23
+ },
24
+ ];
25
+
26
+ const itemsVertical: ItemEntriesProps[] = [
27
+ {
28
+ key: '5',
29
+ label: <JRCIcon name="icon-picture-o" />,
30
+ },
31
+ {
32
+ key: '6',
33
+ label: <JRCIcon name="icon-picture-o" />,
34
+ },
35
+ ];
36
+
37
+ export const TabHorizontal = () => {
38
+ const [activeItem, setActiveItem] = React.useState('1');
39
+
40
+ return (
41
+ <div>
42
+ <JRCTabs
43
+ direction="horizontal"
44
+ entries={itemsHorizontal}
45
+ activeItem={activeItem}
46
+ callback={(item) => setActiveItem(item)}
47
+ />
48
+ <JRCTabPanel active={activeItem === '1'}>Menu 1</JRCTabPanel>
49
+ <JRCTabPanel active={activeItem === '2'}>Menu 2</JRCTabPanel>
50
+ <JRCTabPanel active={activeItem === '3'}>Menu 3</JRCTabPanel>
51
+ </div>
52
+ );
53
+ };
54
+
55
+ const Flex = styled.div`
56
+ display: flex;
57
+ align-items: flex-start;
58
+ `;
59
+
60
+ export const TabVertical = () => {
61
+ const [activeItem, setActiveItem] = React.useState('1');
62
+
63
+ return (
64
+ <Flex>
65
+ <JRCTabs
66
+ direction="vertical"
67
+ entries={itemsVertical}
68
+ activeItem={activeItem}
69
+ callback={(key) => setActiveItem(key)}
70
+ />
71
+ <JRCTabPanel active={activeItem === '1'}>
72
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras imperdiet leo in tincidunt feugiat. Nulla
73
+ facilisi. Donec nec tortor ut nunc tempor consectetur. Morbi tristique ipsum eget commodo feugiat.
74
+ Mauris eget metus in ligula mattis pharetra et vel magna. Cras sed tempor lectus. Duis feugiat tempus
75
+ condimentum. Cras porttitor efficitur mattis. Nulla facilisi. Etiam luctus ex non mi fermentum, sit amet
76
+ bibendum dolor interdum. Quisque quis aliquam dui, vel laoreet dolor. Pellentesque et sagittis nunc. Nam
77
+ auctor vel libero in vehicula. In neque elit, fermentum sit amet pretium sed, ultricies et magna.
78
+ Vivamus ornare laoreet bibendum.
79
+ </JRCTabPanel>
80
+ <JRCTabPanel active={activeItem === '2'}>Menu 2</JRCTabPanel>
81
+ </Flex>
82
+ );
83
+ };
84
+
85
+ export const EmbeddedTab = () => {
86
+ const [horizontalActiveItem, setHorizontalActiveItem] = React.useState('2');
87
+ const [verticalActiveItem, setVerticalActiveItem] = React.useState('1');
88
+
89
+ return (
90
+ <div>
91
+ <JRCTabs
92
+ direction="horizontal"
93
+ entries={itemsHorizontal}
94
+ activeItem={horizontalActiveItem}
95
+ callback={(item) => setHorizontalActiveItem(item)}
96
+ />
97
+ <JRCTabPanel active={horizontalActiveItem === '1'}>Menu 1</JRCTabPanel>
98
+ <JRCTabPanel active={horizontalActiveItem === '2'}>
99
+ <Flex>
100
+ <JRCTabs
101
+ direction="vertical"
102
+ entries={itemsVertical}
103
+ activeItem={verticalActiveItem}
104
+ callback={(key) => setVerticalActiveItem(key)}
105
+ />
106
+ <JRCTabPanel active={verticalActiveItem === '1'}>
107
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras imperdiet leo in tincidunt
108
+ feugiat. Nulla facilisi. Donec nec tortor ut nunc tempor consectetur. Morbi tristique ipsum eget
109
+ commodo feugiat. Mauris eget metus in ligula mattis pharetra et vel magna. Cras sed tempor
110
+ lectus. Duis feugiat tempus condimentum. Cras porttitor efficitur mattis. Nulla facilisi. Etiam
111
+ luctus ex non mi fermentum, sit amet bibendum dolor interdum. Quisque quis aliquam dui, vel
112
+ laoreet dolor. Pellentesque et sagittis nunc. Nam auctor vel libero in vehicula. In neque elit,
113
+ fermentum sit amet pretium sed, ultricies et magna. Vivamus ornare laoreet bibendum.{' '}
114
+ </JRCTabPanel>
115
+ <JRCTabPanel active={verticalActiveItem === '2'}>Menu 2</JRCTabPanel>
116
+ </Flex>
117
+ </JRCTabPanel>
118
+ <JRCTabPanel active={horizontalActiveItem === '3'}>Menu 3</JRCTabPanel>
119
+ </div>
120
+ );
121
+ };