jamespot-react-components 1.0.9 → 1.0.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/jamespot-react-components.js +648 -341
- package/build/jamespot-react-components.js.LICENSE.txt +22 -0
- package/build/jamespot-react-components.js.map +1 -1
- package/build/src/components/Common/DashedFocusBorder.d.ts +5 -5
- package/build/src/components/Common/JRCConditionalWrapper.d.ts +8 -0
- package/build/src/components/Common/JRCDraggingPlaceholder.d.ts +4 -0
- package/build/src/components/Common/util/getColor.util.d.ts +1 -1
- package/build/src/components/Form/Common/ClickAwayListener.d.ts +1 -0
- package/build/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.d.ts +2 -0
- package/build/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.d.ts +1 -0
- package/build/src/components/Form/Input/JRCFormFieldRender.d.ts +1 -1
- package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichEditorField.styles.d.ts +9 -0
- package/build/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.d.ts +0 -6
- package/build/src/components/Form/Input/JRCFormSelect/Extension.d.ts +18 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputAutocompleteViews.d.ts +7 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.style.d.ts +262 -1
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.types.d.ts +3 -0
- package/build/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.d.ts +4 -3
- package/build/src/components/JRCAppContainer/JRCAppContainer.d.ts +1 -0
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.d.ts +2 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.d.ts +1 -1
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.d.ts +3 -3
- package/build/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.d.ts +2 -2
- package/build/src/components/JRCAvatar/JRCAvatar.d.ts +2 -0
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.d.ts +20 -0
- package/build/src/components/JRCButtonDownload/JRCButtonDownload.stories.d.ts +8 -0
- package/build/src/components/JRCButtonDropdown/JRCButtonDropdown.d.ts +1 -0
- package/build/src/components/JRCButtonFile/JRCButtonFile.d.ts +17 -0
- package/build/src/components/JRCButtonFile/JRCButtonFile.stories.d.ts +7 -0
- package/build/src/components/JRCCard/JRCCard.d.ts +1 -3
- package/build/src/components/JRCDate/JRCDate.d.ts +2 -0
- package/build/src/components/JRCEllipsis/JRCEllipsis.d.ts +3 -1
- package/build/src/components/JRCFolders/JRCFolder.d.ts +3 -0
- package/build/src/components/JRCFolders/JRCFolderBreadcrumb.d.ts +6 -0
- package/build/src/components/JRCFolders/JRCFolders.d.ts +3 -0
- package/build/src/components/JRCFolders/JRCFolders.stories.d.ts +9 -0
- package/build/src/components/JRCFolders/mock.folders.d.ts +16 -0
- package/build/src/components/JRCFolders/types.d.ts +33 -0
- package/build/src/components/JRCIcon/JRCIcon.d.ts +4 -2
- package/build/src/components/JRCIconButton/JRCIconButton.d.ts +1 -1
- package/build/src/components/JRCImg/JRCImg.d.ts +1 -1
- package/build/src/components/JRCImg/JRCImg.stories.d.ts +1 -0
- package/build/src/components/JRCImg/url.util.d.ts +7 -0
- package/build/src/components/JRCList/JRCList.d.ts +14 -10
- package/build/src/components/JRCList/JRCList.styles.d.ts +0 -1
- package/build/src/components/JRCMenuItem/JRCMenuItem.d.ts +1 -1
- package/build/src/components/JRCModal/JRCModal.d.ts +1 -0
- package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -5
- package/build/src/components/JRCModalImg/JRCModalImg.d.ts +11 -7
- package/build/src/components/JRCModalImg/JRCModalImg.stories.d.ts +1 -1
- package/build/src/components/JRCModalImg/JRCModalImg.styles.d.ts +1 -9
- package/build/src/components/JRCPagination/JRCPagination.stories.d.ts +1 -4
- package/build/src/components/JRCTabs/JRCTabs.d.ts +5 -4
- package/build/src/components/JRCTabs/JRCTabs.stories.d.ts +1 -1
- package/build/src/components/JRCTag/JRCTag.d.ts +4 -1
- package/build/src/components/JRCTooltip/JRCTooltip.d.ts +3 -0
- package/build/src/components/Templates/JRCAppColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCAppTab.d.ts +4 -0
- package/build/src/components/Templates/JRCBase.template.d.ts +9 -0
- package/build/src/components/Templates/JRCColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCContainer.d.ts +3 -0
- package/build/src/components/Templates/JRCMainColumn.d.ts +3 -0
- package/build/src/components/Templates/JRCTemplate.stories.d.ts +5 -0
- package/build/src/components/Templates/JRCTwoColumns.template.d.ts +7 -0
- package/build/src/components/Templates/template.styles.d.ts +305 -0
- package/build/src/components/Templates/template.type.d.ts +51 -0
- package/build/src/components/Templates/template.utils.d.ts +26 -0
- package/build/src/hooks/UseLocalStorage.d.ts +2 -0
- package/build/src/index.d.ts +16 -2
- package/build/src/styles/theme.d.ts +6 -1
- package/build/src/types.d.ts +7 -2
- package/build/src/utils/index.d.ts +6 -0
- package/build/src/utils/utils.array.d.ts +6 -0
- package/build/src/utils/utils.array.test.d.ts +1 -0
- package/build/src/utils/utils.date.d.ts +9 -0
- package/build/src/utils/utils.misc.d.ts +1 -0
- package/build/src/utils/utils.string.d.ts +1 -0
- package/externals.json +2 -2
- package/package.json +6 -4
- package/storybook-static/0.799c368cbe88266827ba.manager.bundle.js +1 -0
- package/storybook-static/1.9ebd2fb519f6726108de.manager.bundle.js +1 -0
- package/storybook-static/10.a85ea1a67689be8e19ff.manager.bundle.js +1 -0
- package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js +2 -0
- package/storybook-static/11.f4e922583ae35da460f3.manager.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/12.1415460941f0bdcb8fa8.manager.bundle.js +1 -0
- package/storybook-static/174.f2e072e1.iframe.bundle.js +2 -0
- package/storybook-static/174.f2e072e1.iframe.bundle.js.LICENSE.txt +115 -0
- package/storybook-static/314.615cb34b.iframe.bundle.js +1 -0
- package/storybook-static/331.bea8dec1.iframe.bundle.js +2 -0
- package/storybook-static/331.bea8dec1.iframe.bundle.js.LICENSE.txt +12 -0
- package/storybook-static/459.d6c184aa.iframe.bundle.js +1 -0
- package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js +2 -0
- package/storybook-static/5.f459d151315e6780c20f.manager.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/6.3bd64d820f3745f262ff.manager.bundle.js +1 -0
- package/storybook-static/7.3d04765dbf3f1dcd706c.manager.bundle.js +1 -0
- package/storybook-static/701.5fb77928.iframe.bundle.js +1 -0
- package/storybook-static/8.b541eadfcb9164835dfc.manager.bundle.js +1 -0
- package/storybook-static/861.8d90a4b3.iframe.bundle.js +2 -0
- package/storybook-static/861.8d90a4b3.iframe.bundle.js.LICENSE.txt +8 -0
- package/storybook-static/869.7ff62134.iframe.bundle.js +1 -0
- package/storybook-static/881.e09ad30e.iframe.bundle.js +1 -0
- package/storybook-static/9.411ac8e451bbb10926c7.manager.bundle.js +1 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/FontAwesome.otf +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.eot +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.svg +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff +0 -0
- package/{.storybook/assets → storybook-static}/css/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.eot +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.json +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.svg +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.ttf +0 -0
- package/{.storybook/assets → storybook-static}/css/fonts/fontSpot/fonts/fontSpot.woff +0 -0
- package/storybook-static/favicon.ico +0 -0
- package/storybook-static/iframe.html +348 -0
- package/{.storybook/assets → storybook-static}/imagecache/120x120/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/160x160/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/200x200/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/24x24/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/32x32/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/40x40/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/11.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/12.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/2.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/20.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/23.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/25.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/48x48/user/8.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/64x64/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/80x80/user/1234.png +0 -0
- package/{.storybook/assets → storybook-static}/imagecache/fitx700/fileArticle/245.png +0 -0
- package/storybook-static/index.html +51 -0
- package/storybook-static/main.856b88b4.iframe.bundle.js +1 -0
- package/storybook-static/main.e2663b1cf842947d1a59.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.91a0c7330ab317d35c4a.manager.bundle.js +1 -0
- package/storybook-static/runtime~main.ba5a9588.iframe.bundle.js +1 -0
- package/{.history/src/assets/check_20210114075959.svg → storybook-static/static/media/check.e04c3374.svg} +0 -0
- package/{src/assets/x.svg → storybook-static/static/media/x.609ccec1.svg} +0 -0
- package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js +2 -0
- package/storybook-static/vendors~main.f7f16cebbf3aa96a4f89.manager.bundle.js.LICENSE.txt +110 -0
- package/.eslintignore +0 -80
- package/.eslintrc.js +0 -15
- package/.github/pull_request_template.md +0 -22
- package/.github/workflows/ci.yml +0 -62
- package/.github/workflows/deploy-dev-branches.yml +0 -40
- package/.github/workflows/increment-npm-version.yml +0 -26
- package/.github/workflows/npm-package.yml +0 -33
- package/.history/.eslintignore_20211116140451 +0 -13
- package/.history/.eslintignore_20211116140517 +0 -80
- package/.history/.github/workflows/ci_20211103152807.yml +0 -50
- package/.history/.github/workflows/ci_20211117114643.yml +0 -50
- package/.history/.github/workflows/ci_20211117114650.yml +0 -55
- package/.history/.github/workflows/ci_20211117152126.yml +0 -55
- package/.history/.github/workflows/ci_20211117153805.yml +0 -58
- package/.history/.github/workflows/ci_20211117153810.yml +0 -58
- package/.history/.github/workflows/ci_20211117154145.yml +0 -59
- package/.history/.github/workflows/ci_20211117154153.yml +0 -59
- package/.history/.github/workflows/ci_20211117155208.yml +0 -58
- package/.history/.github/workflows/ci_20211117155212.yml +0 -59
- package/.history/.github/workflows/ci_20211117155228.yml +0 -59
- package/.history/.github/workflows/ci_20211117155451.yml +0 -59
- package/.history/.github/workflows/ci_20211117155505.yml +0 -59
- package/.history/.github/workflows/ci_20211117155509.yml +0 -59
- package/.history/.github/workflows/ci_20211117160304.yml +0 -59
- package/.history/.github/workflows/ci_20211117161702.yml +0 -59
- package/.history/.github/workflows/ci_20211117162805.yml +0 -59
- package/.history/.github/workflows/ci_20211117164809.yml +0 -60
- package/.history/.github/workflows/ci_20211117170417.yml +0 -60
- package/.history/.gitignore_20211117155121 +0 -82
- package/.history/.husky/pre-commit_20211116154612 +0 -4
- package/.history/.husky/pre-commit_20211116155720 +0 -4
- package/.history/.prettierignore_20211103152807 +0 -84
- package/.history/.prettierignore_20211116140533 +0 -80
- package/.history/.prettierrc_20211103143655.json +0 -11
- package/.history/.prettierrc_20211103144104.json +0 -10
- package/.history/.prettierrc_20211116140542.json +0 -11
- package/.history/.prettierrc_20211116173732.json +0 -10
- package/.history/.storybook/main_20211109144835.js +0 -22
- package/.history/babel.config_20211116141826.js +0 -14
- package/.history/babel.config_20211117104141.js +0 -15
- package/.history/babel.config_20211117164455.js +0 -15
- package/.history/build/src/components/JRCHref/JRCHref.d_20211109164627.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144654.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144702.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144724.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144732.ts +0 -20
- package/.history/build/src/components/JRCHref/JRCHref.d_20211125144754.ts +0 -20
- package/.history/externals.d_20211108160127.ts +0 -5
- package/.history/externals.d_20211108160133.ts +0 -5
- package/.history/externals.d_20211108160237.ts +0 -5
- package/.history/externals.d_20211108160252.ts +0 -6
- package/.history/externals.d_20211108160343.ts +0 -6
- package/.history/externals.d_20211108163234.ts +0 -5
- package/.history/index.d_20210119091943.ts +0 -0
- package/.history/index.d_20210119092051.ts +0 -4
- package/.history/jest.config_20211112091917.js +0 -15
- package/.history/jest.config_20211117164520.js +0 -16
- package/.history/jest.setup_20210114075959.ts +0 -3
- package/.history/jest.setup_20210429114103.ts +0 -1
- package/.history/package-lock_20211109153645.json +0 -73806
- package/.history/package_20211103143741.json +0 -117
- package/.history/package_20211108155048.json +0 -117
- package/.history/package_20211108160557.json +0 -117
- package/.history/package_20211109113710.json +0 -116
- package/.history/package_20211109113749.json +0 -114
- package/.history/package_20211109113753.json +0 -113
- package/.history/package_20211109113758.json +0 -111
- package/.history/package_20211109142830.json +0 -111
- package/.history/package_20211109142919.json +0 -111
- package/.history/package_20211109145908.json +0 -111
- package/.history/package_20211109145937.json +0 -111
- package/.history/package_20211109150036.json +0 -109
- package/.history/package_20211109151446.json +0 -112
- package/.history/package_20211109151756.json +0 -112
- package/.history/package_20211109151802.json +0 -112
- package/.history/package_20211109151807.json +0 -112
- package/.history/package_20211109151838.json +0 -112
- package/.history/package_20211109153435.json +0 -117
- package/.history/package_20211109160825.json +0 -117
- package/.history/package_20211109161532.json +0 -118
- package/.history/package_20211109161554.json +0 -118
- package/.history/package_20211109161940.json +0 -117
- package/.history/package_20211109162020.json +0 -118
- package/.history/package_20211109162510.json +0 -118
- package/.history/package_20211109162529.json +0 -118
- package/.history/package_20211109162543.json +0 -118
- package/.history/package_20211116140927.json +0 -115
- package/.history/package_20211116140929.json +0 -115
- package/.history/package_20211116140948.json +0 -117
- package/.history/package_20211116140951.json +0 -117
- package/.history/package_20211116141010.json +0 -117
- package/.history/package_20211116141729.json +0 -119
- package/.history/package_20211116143239.json +0 -119
- package/.history/package_20211116155648.json +0 -131
- package/.history/package_20211117114725.json +0 -132
- package/.history/package_20211117164402.json +0 -132
- package/.history/package_20211117164404.json +0 -132
- package/.history/package_20211117164407.json +0 -132
- package/.history/src/assets/check_20210511153044.svg +0 -4
- package/.history/src/assets/check_20210601141216.svg +0 -4
- package/.history/src/assets/check_20210601141237.svg +0 -4
- package/.history/src/assets/loader_20210114075959.svg +0 -32
- package/.history/src/assets/loader_20210511153051.svg +0 -32
- package/.history/src/assets/loader_20210511153109.svg +0 -32
- package/.history/src/components/Common/DashedFocusBorder_20211103152807.tsx +0 -20
- package/.history/src/components/Common/DashedFocusBorder_20211116141741.tsx +0 -20
- package/.history/src/components/Form/Input/Demo/Demo_20210427112859.tsx +0 -0
- package/.history/src/components/Form/Input/Demo/Demo_20210427112927.tsx +0 -38
- package/.history/src/components/Form/Input/Demo/Demo_20210427113127.tsx +0 -65
- package/.history/src/components/Form/Input/Demo/Demo_20210427113139.tsx +0 -56
- package/.history/src/components/Form/Input/Demo/Demo_20210427113151.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113152.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113157.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113206.tsx +0 -55
- package/.history/src/components/Form/Input/Demo/Demo_20210427113223.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113224.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113228.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113235.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113311.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113341.tsx +0 -54
- package/.history/src/components/Form/Input/Demo/Demo_20210427113735.tsx +0 -57
- package/.history/src/components/Form/Input/Demo/Demo_20210427113751.tsx +0 -58
- package/.history/src/components/Form/Input/Demo/Demo_20210427113812.tsx +0 -60
- package/.history/src/components/Form/Input/Demo/Demo_20210427114028.tsx +0 -69
- package/.history/src/components/Form/Input/Demo/Demo_20210427114251.tsx +0 -71
- package/.history/src/components/Form/Input/Demo/Demo_20210427114321.tsx +0 -73
- package/.history/src/components/Form/Input/Demo/Demo_20210427114332.tsx +0 -73
- package/.history/src/components/Form/Input/Demo/Demo_20210427114504.tsx +0 -77
- package/.history/src/components/Form/Input/Demo/Demo_20210427114532.tsx +0 -83
- package/.history/src/components/Form/Input/Demo/Demo_20210427114603.tsx +0 -90
- package/.history/src/components/Form/Input/Demo/Demo_20210427114621.tsx +0 -89
- package/.history/src/components/Form/Input/Demo/Demo_20210427114633.tsx +0 -89
- package/.history/src/components/Form/Input/Demo/Demo_20210427114646.tsx +0 -89
- package/.history/src/components/Form/Input/Demo/Demo_20210427114759.tsx +0 -98
- package/.history/src/components/Form/Input/Demo/Demo_20210427114838.tsx +0 -98
- package/.history/src/components/Form/Input/Demo/Demo_20210427114841.tsx +0 -98
- package/.history/src/components/Form/Input/Demo/Demo_20210427115036.tsx +0 -99
- package/.history/src/components/Form/Input/Demo/Demo_20210427115156.tsx +0 -90
- package/.history/src/components/Form/Input/Demo/Demo_20210427115329.tsx +0 -99
- package/.history/src/components/Form/Input/Demo/Demo_20210427115339.tsx +0 -99
- package/.history/src/components/Form/Input/Demo/Demo_20210427115443.tsx +0 -101
- package/.history/src/components/Form/Input/Demo/Demo_20210427115633.tsx +0 -102
- package/.history/src/components/Form/Input/Demo/Demo_20210427115821.tsx +0 -102
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909111158.tsx +0 -25
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity_20210909112623.tsx +0 -27
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210426165817.tsx +0 -72
- package/.history/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocomplete_20210429114237.tsx +0 -71
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160603.tsx +0 -253
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160617.tsx +0 -253
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160632.tsx +0 -307
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211019160746.tsx +0 -307
- package/.history/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox_20211116142837.tsx +0 -263
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210309111210.tsx +0 -86
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210405114706.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114357.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429114358.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154857.tsx +0 -81
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154904.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154910.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154918.tsx +0 -99
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154929.tsx +0 -103
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429154941.tsx +0 -99
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155002.tsx +0 -98
- package/.history/src/components/Form/Input/JRCFormColor/JRCFormColor_20210429155402.tsx +0 -99
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210415092917.tsx +0 -43
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429114401.tsx +0 -43
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154559.tsx +0 -43
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154606.tsx +0 -59
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154624.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154643.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154717.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormDate/JRCFormDate_20210429154755.tsx +0 -59
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210415092917.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114419.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114440.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429114446.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154420.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154430.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154442.tsx +0 -60
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154459.tsx +0 -55
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154521.tsx +0 -57
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCDateTime_20210429154736.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142816.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142819.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211116142825.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime_20211117094739.tsx +0 -1095
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210114075959.tsx +0 -40
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429114458.tsx +0 -40
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154308.tsx +0 -33
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154318.tsx +0 -51
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154329.tsx +0 -53
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154337.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154348.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154359.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154401.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormEmail/JRCFormEmail_20210429154403.tsx +0 -56
- package/.history/src/components/Form/Input/JRCFormFieldRender_20210114075959.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormFieldRender_20210405114648.tsx +0 -97
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210114075959.tsx +0 -11
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429114512.tsx +0 -11
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154111.tsx +0 -13
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154126.tsx +0 -13
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154142.tsx +0 -14
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154146.tsx +0 -15
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154155.tsx +0 -15
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154158.tsx +0 -20
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile.stories_20210429154225.tsx +0 -20
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141848.tsx +0 -149
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141920.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211116141935.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094122.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094131.tsx +0 -148
- package/.history/src/components/Form/Input/JRCFormFile/JRCFormFile_20211117094147.tsx +0 -149
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210114075959.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429114516.tsx +0 -42
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153918.tsx +0 -35
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153924.tsx +0 -53
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429153959.tsx +0 -55
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154029.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormNumber/JRCFormNumber_20210429154035.tsx +0 -58
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210114075959.tsx +0 -31
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio.stories_20210412103504.tsx +0 -45
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429114520.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153726.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153733.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153800.tsx +0 -136
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153834.tsx +0 -138
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153837.tsx +0 -137
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210429153848.tsx +0 -137
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171834.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210511171842.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150404.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150412.tsx +0 -124
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150815.tsx +0 -125
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150824.tsx +0 -125
- package/.history/src/components/Form/Input/JRCFormRadio/JRCFormRadio_20210518150834.tsx +0 -125
- package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141948.tsx +0 -106
- package/.history/src/components/Form/Input/JRCFormRange/JRCFormRange_20211116141950.tsx +0 -106
- package/.history/src/components/Form/Input/JRCFormSelect/JRCFormSelect_20211116142012.tsx +0 -350
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210114075959.tsx +0 -38
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429114541.tsx +0 -38
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152714.tsx +0 -38
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152735.tsx +0 -53
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152747.tsx +0 -48
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152757.tsx +0 -49
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152806.tsx +0 -51
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152816.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152834.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormText/JRCFormText_20210429152841.tsx +0 -54
- package/.history/src/components/Form/Input/JRCFormTextEditor/JRCFormTextEditor_20211116142024.tsx +0 -35
- package/.history/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea_20211116142028.tsx +0 -65
- package/.history/src/components/Form/Input/JRCStyledInput_20210309111210.tsx +0 -94
- package/.history/src/components/Form/Input/JRCStyledInput_20210412103822.tsx +0 -98
- package/.history/src/components/Form/Input/JRCStyledInput_20210412103824.tsx +0 -97
- package/.history/src/components/Form/Input/ReduxFormControls_20211116142058.ts +0 -141
- package/.history/src/components/Form/Input/ReduxFormControls_20211116142800.ts +0 -141
- package/.history/src/components/JRCAlert/JRCArlert.stories_20211103152807.tsx +0 -60
- package/.history/src/components/JRCAlert/JRCArlert.stories_20211116142119.tsx +0 -61
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211103152807.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115138.tsx +0 -27
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115145.tsx +0 -26
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211109115204.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142132.tsx +0 -27
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142134.tsx +0 -26
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142151.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142200.tsx +0 -29
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142204.tsx +0 -28
- package/.history/src/components/JRCAvatar/JRCAvatar.stories_20211116142212.tsx +0 -29
- package/.history/src/components/JRCAvatar/JRCAvatar.test_20211103152807.tsx +0 -21
- package/.history/src/components/JRCAvatar/JRCAvatar.test_20211116142226.tsx +0 -22
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104018.tsx +0 -59
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104101.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104122.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104143.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104218.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104246.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104354.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104416.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104419.tsx +0 -60
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104701.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104713.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215104957.tsx +0 -66
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105005.tsx +0 -66
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105009.tsx +0 -65
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105026.tsx +0 -65
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105309.tsx +0 -61
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105312.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105315.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105433.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215105442.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215110444.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215111145.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215111233.tsx +0 -65
- package/.history/src/components/JRCAvatar/JRCAvatar_20211215111240.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220162840.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220162848.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220164211.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211220164215.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221115746.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221115750.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120044.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120047.tsx +0 -64
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120048.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120052.tsx +0 -63
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120055.tsx +0 -62
- package/.history/src/components/JRCAvatar/JRCAvatar_20211221120153.tsx +0 -62
- package/.history/src/components/JRCButton/JRCButton.stories_20210114075959.tsx +0 -65
- package/.history/src/components/JRCButton/JRCButton.stories_20210324153346.tsx +0 -78
- package/.history/src/components/JRCButton/JRCButton_20211103141623.tsx +0 -135
- package/.history/src/components/JRCButton/JRCButton_20211116142244.tsx +0 -117
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155338.tsx +0 -36
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155438.tsx +0 -36
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155441.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155446.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155459.tsx +0 -19
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412155511.tsx +0 -17
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161017.tsx +0 -18
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161020.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161032.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161148.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161438.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161447.tsx +0 -37
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161456.tsx +0 -41
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161507.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161516.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412161820.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164337.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164427.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164441.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164446.tsx +0 -45
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164501.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164510.tsx +0 -52
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164528.tsx +0 -76
- package/.history/src/components/JRCCarousel/JRCCarousel.stories_20210412164607.tsx +0 -77
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155318.tsx +0 -0
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155347.tsx +0 -0
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155413.tsx +0 -6
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155414.tsx +0 -6
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155428.tsx +0 -4
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155603.tsx +0 -7
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155631.tsx +0 -9
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155633.tsx +0 -16
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155635.tsx +0 -17
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155649.tsx +0 -41
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155703.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412155728.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160204.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160431.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160437.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160801.tsx +0 -46
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160814.tsx +0 -46
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160938.tsx +0 -46
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412160947.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161128.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161130.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161135.tsx +0 -47
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161208.tsx +0 -48
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161228.tsx +0 -49
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161331.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161347.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161407.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161410.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161418.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161426.tsx +0 -36
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161539.tsx +0 -30
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161544.tsx +0 -29
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161848.tsx +0 -41
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161859.tsx +0 -50
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161913.tsx +0 -50
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161916.tsx +0 -52
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161938.tsx +0 -53
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412161947.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162119.tsx +0 -39
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162128.tsx +0 -40
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162141.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162145.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162154.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162238.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162406.tsx +0 -42
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162457.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162500.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162504.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162612.tsx +0 -43
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162650.tsx +0 -54
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162705.tsx +0 -54
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162819.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412162845.tsx +0 -55
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412163202.tsx +0 -57
- package/.history/src/components/JRCCarousel/JRCCarousel_20210412163241.tsx +0 -55
- package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211103152807.tsx +0 -28
- package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142250.tsx +0 -26
- package/.history/src/components/JRCDropDown/JRCDropDown.stories_20211116142251.tsx +0 -25
- package/.history/src/components/JRCDropDown/JRCDropDown_20210629085002.tsx +0 -155
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142200.tsx +0 -157
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142204.tsx +0 -157
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142213.tsx +0 -157
- package/.history/src/components/JRCDropDown/JRCDropDown_20211103142216.tsx +0 -157
- package/.history/src/components/JRCError/JRCError.stories_20210406110213.tsx +0 -0
- package/.history/src/components/JRCError/JRCError.stories_20210406110227.tsx +0 -18
- package/.history/src/components/JRCError/JRCError.stories_20210406110234.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110245.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110305.tsx +0 -18
- package/.history/src/components/JRCError/JRCError.stories_20210406110310.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110337.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110354.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110413.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110418.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110708.tsx +0 -14
- package/.history/src/components/JRCError/JRCError.stories_20210406110715.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110722.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110736.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110740.tsx +0 -13
- package/.history/src/components/JRCError/JRCError.stories_20210406110753.tsx +0 -15
- package/.history/src/components/JRCError/JRCError.stories_20210406110757.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110813.tsx +0 -16
- package/.history/src/components/JRCError/JRCError.stories_20210406110818.tsx +0 -15
- package/.history/src/components/JRCError/JRCError_20210406110115.tsx +0 -0
- package/.history/src/components/JRCError/JRCError_20210406110136.tsx +0 -3
- package/.history/src/components/JRCError/JRCError_20210406110148.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110154.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110322.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110459.tsx +0 -5
- package/.history/src/components/JRCError/JRCError_20210406110521.tsx +0 -9
- package/.history/src/components/JRCError/JRCError_20210406110526.tsx +0 -8
- package/.history/src/components/JRCError/JRCError_20210406110540.tsx +0 -10
- package/.history/src/components/JRCError/JRCError_20210406110544.tsx +0 -10
- package/.history/src/components/JRCError/JRCError_20210406110610.tsx +0 -14
- package/.history/src/components/JRCError/JRCError_20210406110613.tsx +0 -14
- package/.history/src/components/JRCError/JRCError_20210406110624.tsx +0 -15
- package/.history/src/components/JRCError/JRCError_20210406110731.tsx +0 -15
- package/.history/src/components/JRCHref/JRCHref.stories_20211116142303.tsx +0 -29
- package/.history/src/components/JRCHref/JRCHref_20210630101506.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101558.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101601.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101616.tsx +0 -32
- package/.history/src/components/JRCHref/JRCHref_20210630101625.tsx +0 -31
- package/.history/src/components/JRCHref/JRCHref_20210630101634.tsx +0 -31
- package/.history/src/components/JRCHref/JRCHref_20210630101645.tsx +0 -30
- package/.history/src/components/JRCHref/JRCHref_20210630101738.tsx +0 -29
- package/.history/src/components/JRCHref/JRCHref_20210630101742.tsx +0 -28
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210114075959.tsx +0 -1045
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160522.tsx +0 -1049
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330160557.tsx +0 -1049
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165104.tsx +0 -1000
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165154.tsx +0 -1002
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165225.tsx +0 -1167
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165243.tsx +0 -1167
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165244.tsx +0 -1167
- package/.history/src/components/JRCIcon/JRCIcon.stories_20210330165340.tsx +0 -1020
- package/.history/src/components/JRCIconButton/JRCIconButton_20211102105335.tsx +0 -86
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141204.tsx +0 -97
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141514.tsx +0 -97
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141535.tsx +0 -97
- package/.history/src/components/JRCIconButton/JRCIconButton_20211103141607.tsx +0 -97
- package/.history/src/components/JRCImg/JRCImg_20211103152807.tsx +0 -57
- package/.history/src/components/JRCImg/JRCImg_20211215104339.tsx +0 -58
- package/.history/src/components/JRCImg/JRCImg_20211215104433.tsx +0 -58
- package/.history/src/components/JRCList/JRCListMockData.stories_20211116141848.tsx +0 -118
- package/.history/src/components/JRCList/JRCListMockData.stories_20211116142710.tsx +0 -119
- package/.history/src/components/JRCList/JRCList_20211116141848.tsx +0 -180
- package/.history/src/components/JRCList/JRCList_20211116142725.tsx +0 -172
- package/.history/src/components/JRCList/JRCList_20211116142728.tsx +0 -172
- package/.history/src/components/JRCList/JRCList_20211116142730.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142734.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142738.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142744.tsx +0 -171
- package/.history/src/components/JRCList/JRCList_20211116142747.tsx +0 -172
- package/.history/src/components/JRCList/JRCList_20211116142748.tsx +0 -171
- package/.history/src/components/JRCMenu/JRCMenu.stories_20211103152807.tsx +0 -28
- package/.history/src/components/JRCMenu/JRCMenu.stories_20211116142657.tsx +0 -29
- package/.history/src/components/JRCMenu/JRCMenu_20211103142113.tsx +0 -88
- package/.history/src/components/JRCMenu/JRCMenu_20211103142232.tsx +0 -88
- package/.history/src/components/JRCModal/JRCModal_20211103142136.tsx +0 -142
- package/.history/src/components/JRCModal/JRCModal_20211103142246.tsx +0 -142
- package/.history/src/components/JRCModalImg/JRCModalImg_20210824103034.tsx +0 -148
- package/.history/src/components/JRCModalImg/JRCModalImg_20211103142306.tsx +0 -159
- package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142641.tsx +0 -65
- package/.history/src/components/JRCPagination/JRCPagination.stories_20211116142646.tsx +0 -66
- package/.history/src/components/JRCPagination/JRCPagination_20211103142342.tsx +0 -219
- package/.history/src/components/JRCTag/JRCTag_20211116142631.tsx +0 -149
- package/.history/src/components/JRCThemeProvider/theme-reset_20210615082115.css +0 -254
- package/.history/src/components/JRCThemeProvider/theme-reset_20210615143930.css +0 -253
- package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103143919.tsx +0 -85
- package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211103144205.tsx +0 -85
- package/.history/src/components/JRCTooltip/JRCTooltip.stories_20211116142619.tsx +0 -86
- package/.history/src/components/JRCTypography/JRCTypography.test_20211103152807.tsx +0 -43
- package/.history/src/components/JRCTypography/JRCTypography.test_20211116142608.tsx +0 -43
- package/.history/src/hooks/UseDidMountEffect_20211103152807.tsx +0 -12
- package/.history/src/hooks/UseDidMountEffect_20211116142601.tsx +0 -12
- package/.history/src/index_20210330171346.tsx +0 -145
- package/.history/src/index_20210330171430.tsx +0 -150
- package/.history/src/index_20210406174244.tsx +0 -151
- package/.history/src/index_20210406174248.tsx +0 -151
- package/.history/src/index_20210406174255.tsx +0 -152
- package/.history/src/index_20210406174317.tsx +0 -152
- package/.history/src/index_20210406174329.tsx +0 -153
- package/.history/src/index_20210412153458.tsx +0 -155
- package/.history/src/index_20210412153503.tsx +0 -155
- package/.history/src/index_20210427113335.tsx +0 -162
- package/.history/src/index_20210427113346.tsx +0 -162
- package/.history/src/index_20210427113356.tsx +0 -163
- package/.history/src/jest/svgTransform_20211103152807.js +0 -9
- package/.history/src/jest/svgTransform_20211117164503.js +0 -10
- package/.history/src/storybook/StorybookContainer/StorybookContainer_20210114075959.scss +0 -22
- package/.history/src/storybook/StorybookContainer/StorybookContainer_20210330170040.scss +0 -23
- package/.history/src/storybook/decorators_20210114075959.tsx +0 -17
- package/.history/src/storybook/decorators_20210430082612.tsx +0 -17
- package/.history/src/storybook/decorators_20210430082629.tsx +0 -13
- package/.history/src/storybook/decorators_20210430082644.tsx +0 -13
- package/.history/src/styles/theme_20211123150650.tsx +0 -167
- package/.history/src/styles/theme_20211123150708.tsx +0 -168
- package/.history/src/styles/theme_20211123150807.tsx +0 -168
- package/.history/src/styles/theme_20211123150905.tsx +0 -180
- package/.history/src/styles/theme_20211123150921.tsx +0 -175
- package/.history/src/styles/theme_20211123150928.tsx +0 -179
- package/.history/src/styles/theme_20211123151003.tsx +0 -178
- package/.history/src/styles/theme_20211123151005.tsx +0 -178
- package/.history/src/styles/theme_20211123151037.tsx +0 -177
- package/.history/src/styles/theme_20211123151145.tsx +0 -179
- package/.history/src/styles/theme_20211123151303.tsx +0 -179
- package/.history/src/styles/theme_20211123151327.tsx +0 -179
- package/.history/src/styles/theme_20211123151413.tsx +0 -170
- package/.history/src/styles/theme_20211123151416.tsx +0 -169
- package/.history/src/styles/theme_20211123151438.tsx +0 -178
- package/.history/src/styles/theme_20211123151505.tsx +0 -169
- package/.history/src/styles/theme_20211123151654.tsx +0 -179
- package/.history/src/styles/theme_20211123151847.tsx +0 -177
- package/.history/src/styles/theme_20211123151924.tsx +0 -173
- package/.history/src/styles/theme_20211123151946.tsx +0 -173
- package/.history/src/styles/theme_20211123151951.tsx +0 -175
- package/.history/src/styles/theme_20211123151959.tsx +0 -175
- package/.history/src/styles/theme_20211123153945.tsx +0 -173
- package/.history/src/styles/theme_20211123153953.tsx +0 -175
- package/.history/src/styles/theme_20211123154113.tsx +0 -175
- package/.history/src/styles/theme_20211125142741.tsx +0 -166
- package/.history/src/styles/utils_20211116141848.tsx +0 -220
- package/.history/src/styles/utils_20211116142330.tsx +0 -220
- package/.history/src/styles/utils_20211116142340.tsx +0 -220
- package/.history/src/styles/utils_20211116142354.tsx +0 -221
- package/.history/src/styles/utils_20211116142407.tsx +0 -222
- package/.history/src/types/react-table-config.d_20211103152807.ts +0 -128
- package/.history/src/types/react-table-config.d_20211116142449.ts +0 -129
- package/.history/src/types/react-table-config.d_20211116142537.ts +0 -127
- package/.history/src/types/react-table-config.d_20211116142544.ts +0 -124
- package/.history/src/types/react-table-config.d_20211116142551.ts +0 -122
- package/.history/src/types/react-table-config.d_20211116142914.ts +0 -123
- package/.history/src/types/react-table-config.d_20211116142918.ts +0 -122
- package/.history/src/types/react-table-config.d_20211116142923.ts +0 -121
- package/.history/src/types/react-table-config.d_20211116142926.ts +0 -120
- package/.history/src/types/react-table-config.d_20211116142929.ts +0 -119
- package/.history/src/types/react-table-config.d_20211116142931.ts +0 -118
- package/.history/src/types/react-table-config.d_20211116142934.ts +0 -117
- package/.history/src/types/react-table-config.d_20211116142935.ts +0 -116
- package/.history/src/types/react-table-config.d_20211116142938.ts +0 -115
- package/.history/src/types/react-table-config.d_20211116142943.ts +0 -114
- package/.history/src/types/react-table-config.d_20211116143050.ts +0 -123
- package/.history/src/utils/test-utils_20211103152807.tsx +0 -40
- package/.history/src/utils/test-utils_20211116142526.tsx +0 -40
- package/.history/src/utils/test-utils_20211116143351.tsx +0 -40
- package/.history/src/utils/test-utils_20211117095711.tsx +0 -40
- package/.history/src/utils/test-utils_20211117095720.tsx +0 -41
- package/.history/tsconfig_20210929171235.json +0 -16
- package/.history/tsconfig_20210929171551.json +0 -16
- package/.history/tsconfig_20210929171715.json +0 -17
- package/.history/tsconfig_20210929171832.json +0 -17
- package/.history/webpack.config_20211109143806.js +0 -70
- package/.history/webpack.config_20211109144159.js +0 -66
- package/.history/webpack.config_20211109144211.js +0 -67
- package/.history/webpack.config_20211109144446.js +0 -67
- package/.history/webpack.config_20211109144537.js +0 -70
- package/.history/webpack.config_20211109144549.js +0 -70
- package/.history/webpack.config_20211109153132.js +0 -69
- package/.history/webpack.config_20211109153209.js +0 -71
- package/.history/webpack.config_20211109153224.js +0 -72
- package/.history/webpack.config_20211109162125.js +0 -72
- package/.history/webpack.config_20211117164435.js +0 -69
- package/.history/webpack.config_20211117164440.js +0 -70
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -80
- package/.prettierrc.json +0 -11
- package/.storybook/StorybookContainer/StorybookContainer.css +0 -9
- package/.storybook/StorybookContainer/StorybookContainer.tsx +0 -39
- package/.storybook/main.js +0 -9
- package/.storybook/preview-head.html +0 -8
- package/.storybook/preview.js +0 -21
- package/.storybook/webpack.config.js +0 -25
- package/.vscode/settings.json +0 -9
- package/babel.config.js +0 -15
- package/build/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.d.ts +0 -12
- package/eslint_report.json +0 -1312
- package/externals.d.ts +0 -4
- package/favicon.ico +0 -0
- package/jest.config.js +0 -16
- package/jest.setup.ts +0 -1
- package/src/assets/check.svg +0 -4
- package/src/assets/error.svg +0 -3
- package/src/components/Common/DashedFocusBorder.tsx +0 -20
- package/src/components/Common/JRCConditionalWrapper.tsx +0 -12
- package/src/components/Common/util/getColor.util.ts +0 -12
- package/src/components/Form/Common/ClickAwayListener.tsx +0 -41
- package/src/components/Form/Common/FormDescription.tsx +0 -9
- package/src/components/Form/Common/FormHelper.tsx +0 -30
- package/src/components/Form/Common/FormLabel.tsx +0 -38
- package/src/components/Form/Common/FormMessageFeedback.tsx +0 -52
- package/src/components/Form/Common/types.ts +0 -31
- package/src/components/Form/Input/Common/JRCFormErrors.tsx +0 -40
- package/src/components/Form/Input/Common/JRCFormFieldRenderer.tsx +0 -85
- package/src/components/Form/Input/Common/JRCFormFieldRenderer.types.tsx +0 -51
- package/src/components/Form/Input/Common/useFormControls.tsx +0 -108
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.stories.tsx +0 -38
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteAudience.tsx +0 -47
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.stories.tsx +0 -37
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteCommunity.tsx +0 -25
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.stories.tsx +0 -39
- package/src/components/Form/Input/JRCFormAutocomplete/JRCFormAutocompleteTaxonomy.tsx +0 -33
- package/src/components/Form/Input/JRCFormCheckbox/JRCCheckbox.tsx +0 -46
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.stories.tsx +0 -61
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.style.tsx +0 -101
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.tsx +0 -116
- package/src/components/Form/Input/JRCFormCheckbox/JRCFormCheckbox.types.tsx +0 -58
- package/src/components/Form/Input/JRCFormCheckbox/JRCRadio.tsx +0 -27
- package/src/components/Form/Input/JRCFormCheckbox/JRCToggle.tsx +0 -75
- package/src/components/Form/Input/JRCFormColor/JRCFormColor.stories.tsx +0 -26
- package/src/components/Form/Input/JRCFormColor/JRCFormColor.tsx +0 -78
- package/src/components/Form/Input/JRCFormDateTime/JRCFormDateTime.tsx +0 -1079
- package/src/components/Form/Input/JRCFormDateTime/JRCFormInputDateTime.stories.tsx +0 -71
- package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.stories.tsx +0 -22
- package/src/components/Form/Input/JRCFormEmail/JRCFormEmail.tsx +0 -36
- package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.stories.tsx +0 -48
- package/src/components/Form/Input/JRCFormEmail/JRCInputEmail.tsx +0 -26
- package/src/components/Form/Input/JRCFormFieldRender.tsx +0 -115
- package/src/components/Form/Input/JRCFormFile/JRCFormFile.stories.tsx +0 -37
- package/src/components/Form/Input/JRCFormFile/JRCFormFile.styles.tsx +0 -75
- package/src/components/Form/Input/JRCFormFile/JRCFormFile.tsx +0 -169
- package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.stories.tsx +0 -24
- package/src/components/Form/Input/JRCFormNumber/JRCFormNumber.tsx +0 -37
- package/src/components/Form/Input/JRCFormRange/JRCFormRange.stories.tsx +0 -48
- package/src/components/Form/Input/JRCFormRange/JRCFormRange.tsx +0 -106
- package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.stories.tsx +0 -10
- package/src/components/Form/Input/JRCFormReceiveACopy/JRCFormReceiveACopy.tsx +0 -22
- package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.stories.tsx +0 -23
- package/src/components/Form/Input/JRCFormRichText/JRCFormRichTextField.tsx +0 -272
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.stories.tsx +0 -104
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelect.tsx +0 -399
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.tsx +0 -134
- package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.stories.tsx +0 -10
- package/src/components/Form/Input/JRCFormSendAlert/JRCFormSendAlert.tsx +0 -22
- package/src/components/Form/Input/JRCFormText/JRCFormText.stories.tsx +0 -26
- package/src/components/Form/Input/JRCFormText/JRCFormText.tsx +0 -47
- package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.stories.tsx +0 -28
- package/src/components/Form/Input/JRCFormTextarea/JRCFormTextarea.tsx +0 -71
- package/src/components/Form/Input/JRCFormURL/JRCFormUrl.stories.tsx +0 -26
- package/src/components/Form/Input/JRCFormURL/JRCFormUrl.tsx +0 -35
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.stories.tsx +0 -81
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.tsx +0 -195
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.ts +0 -27
- package/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.tsx +0 -50
- package/src/components/Form/Input/JRCInputDate/JRCInputDate.tsx +0 -26
- package/src/components/Form/Input/JRCInputText/JRCInputText.stories.tsx +0 -52
- package/src/components/Form/Input/JRCInputText/JRCInputText.tsx +0 -26
- package/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.tsx +0 -52
- package/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.tsx +0 -36
- package/src/components/Form/Input/JRCSelect/JRCAutocomplete.stories.tsx +0 -62
- package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.stories.tsx +0 -55
- package/src/components/Form/Input/JRCSelect/JRCAutocompleteCommunity.tsx +0 -34
- package/src/components/Form/Input/JRCSelect/JRCInputAutocomplete.tsx +0 -63
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.stories.tsx +0 -66
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.style.tsx +0 -94
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.tsx +0 -231
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.types.ts +0 -51
- package/src/components/Form/Input/JRCSelect/JRCInputSelect.utils.ts +0 -92
- package/src/components/Form/Input/JRCSelect/JRCInputSelectAsync.stories.tsx +0 -83
- package/src/components/Form/Input/JRCStyledInput.tsx +0 -102
- package/src/components/Form/Input/ReduxFormControls.ts +0 -135
- package/src/components/Form/Input/temporary.types.tsx +0 -22
- package/src/components/JRCAlert/JRCAlert.stories.tsx +0 -62
- package/src/components/JRCAlert/JRCAlert.tsx +0 -135
- package/src/components/JRCAppContainer/JRCAppContainer.tsx +0 -19
- package/src/components/JRCAppHeader/JRCAppHeader.stories.tsx +0 -25
- package/src/components/JRCAppHeader/JRCAppHeader.styles.tsx +0 -23
- package/src/components/JRCAppHeader/JRCAppHeader.tsx +0 -26
- package/src/components/JRCAppHeader/JRCAppHeader.types.tsx +0 -6
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.stories.tsx +0 -125
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.styles.tsx +0 -122
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.tsx +0 -129
- package/src/components/JRCAppLeftColumn/JRCAppLeftColumn.types.tsx +0 -61
- package/src/components/JRCAppLeftColumn/JRCDefaultMenu.tsx +0 -34
- package/src/components/JRCAvatar/JRCAvatar.stories.tsx +0 -30
- package/src/components/JRCAvatar/JRCAvatar.test.tsx +0 -22
- package/src/components/JRCAvatar/JRCAvatar.tsx +0 -91
- package/src/components/JRCButton/JRCButton.stories.tsx +0 -311
- package/src/components/JRCButton/JRCButton.test.tsx +0 -34
- package/src/components/JRCButton/JRCButton.tsx +0 -126
- package/src/components/JRCButton/JRCButtonConfig.tsx +0 -150
- package/src/components/JRCButton/JRCValidationButton.tsx +0 -91
- package/src/components/JRCButton/__snapshots__/JRCButton.test.tsx.snap +0 -13
- package/src/components/JRCButtonDropdown/JRCButtonDropdown.stories.tsx +0 -289
- package/src/components/JRCButtonDropdown/JRCButtonDropdown.tsx +0 -170
- package/src/components/JRCCard/JRCCard.stories.tsx +0 -17
- package/src/components/JRCCard/JRCCard.tsx +0 -29
- package/src/components/JRCColumnCenter/JRCColumnCenter.tsx +0 -13
- package/src/components/JRCColumnCenterTitle/JRCColumnCenterTitle.tsx +0 -26
- package/src/components/JRCColumnLeft/JRCColumnLeft.tsx +0 -17
- package/src/components/JRCColumnRight/JRCColumnRight.tsx +0 -17
- package/src/components/JRCDate/JRCDate.stories.tsx +0 -11
- package/src/components/JRCDate/JRCDate.tsx +0 -32
- package/src/components/JRCDropDown/JRCDropDown.stories.tsx +0 -16
- package/src/components/JRCDropDown/JRCDropDown.tsx +0 -75
- package/src/components/JRCEllipsis/JRCEllipsis.stories.tsx +0 -18
- package/src/components/JRCEllipsis/JRCEllipsis.tsx +0 -22
- package/src/components/JRCFileOpen/JRCFileOpen.tsx +0 -195
- package/src/components/JRCFileOpen/extensions.tsx +0 -14
- package/src/components/JRCGrid/JRCGrid.stories.tsx +0 -45
- package/src/components/JRCGrid/JRCGrid.tsx +0 -15
- package/src/components/JRCHref/JRCHref.stories.tsx +0 -35
- package/src/components/JRCHref/JRCHref.tsx +0 -67
- package/src/components/JRCIcon/JRCIcon.stories.tsx +0 -1040
- package/src/components/JRCIcon/JRCIcon.tsx +0 -51
- package/src/components/JRCIcon/fonts.d.ts +0 -5
- package/src/components/JRCIconButton/JRCIconButton.stories.tsx +0 -33
- package/src/components/JRCIconButton/JRCIconButton.tsx +0 -97
- package/src/components/JRCImg/JRCImg.stories.tsx +0 -18
- package/src/components/JRCImg/JRCImg.test.tsx +0 -13
- package/src/components/JRCImg/JRCImg.tsx +0 -60
- package/src/components/JRCImg/url.util.ts +0 -109
- package/src/components/JRCImg/url.utils.test.ts +0 -80
- package/src/components/JRCList/JRCList.stories.tsx +0 -98
- package/src/components/JRCList/JRCList.styles.tsx +0 -227
- package/src/components/JRCList/JRCList.tsx +0 -217
- package/src/components/JRCList/JRCListMockData.stories.tsx +0 -105
- package/src/components/JRCLoader/JRCLoader.stories.tsx +0 -17
- package/src/components/JRCLoader/JRCLoader.tsx +0 -53
- package/src/components/JRCLoader/JRCSkeleton.tsx +0 -77
- package/src/components/JRCMenu/JRCMenu.stories.tsx +0 -29
- package/src/components/JRCMenu/JRCMenu.tsx +0 -80
- package/src/components/JRCMenuItem/JRCMenuItem.tsx +0 -51
- package/src/components/JRCModal/JRCModal.stories.tsx +0 -206
- package/src/components/JRCModal/JRCModal.styles.tsx +0 -73
- package/src/components/JRCModal/JRCModal.tsx +0 -204
- package/src/components/JRCModalImg/JRCModalImg.stories.tsx +0 -119
- package/src/components/JRCModalImg/JRCModalImg.styles.tsx +0 -83
- package/src/components/JRCModalImg/JRCModalImg.tsx +0 -140
- package/src/components/JRCPagination/JRCPagination.stories.tsx +0 -42
- package/src/components/JRCPagination/JRCPagination.test.tsx +0 -79
- package/src/components/JRCPagination/JRCPagination.tsx +0 -194
- package/src/components/JRCTabs/JRCTabItem +0 -0
- package/src/components/JRCTabs/JRCTabs.stories.tsx +0 -121
- package/src/components/JRCTabs/JRCTabs.tsx +0 -165
- package/src/components/JRCTag/JRCTag.stories.tsx +0 -26
- package/src/components/JRCTag/JRCTag.tsx +0 -140
- package/src/components/JRCThemeProvider/JRCThemeProvider.tsx +0 -26
- package/src/components/JRCThemeProvider/animation.css +0 -46
- package/src/components/JRCThemeProvider/font.css +0 -12
- package/src/components/JRCThemeProvider/fontawesome-icons.css +0 -10
- package/src/components/JRCThemeProvider/fontspot-icons.css +0 -10
- package/src/components/JRCThemeProvider/gabarit.css +0 -96
- package/src/components/JRCThemeProvider/scrollbar.css +0 -18
- package/src/components/JRCThemeProvider/theme-reset.css +0 -246
- package/src/components/JRCTooltip/JRCTooltip.stories.tsx +0 -87
- package/src/components/JRCTooltip/JRCTooltip.tsx +0 -148
- package/src/components/JRCTypo/JRCTypo.stories.tsx +0 -42
- package/src/components/JRCTypo/JRCTypo.tsx +0 -91
- package/src/components/JRCTypography/JRCTypography.d.tsx +0 -29
- package/src/components/JRCTypography/JRCTypography.stories.tsx +0 -18
- package/src/components/JRCTypography/JRCTypography.styles.tsx +0 -18
- package/src/components/JRCTypography/JRCTypography.test.tsx +0 -38
- package/src/components/JRCTypography/JRCTypography.tsx +0 -5
- package/src/components/JRCTypography/__snapshots__/JRCTypography.test.tsx.snap +0 -11
- package/src/hooks/UseDebounce.ts +0 -25
- package/src/hooks/UseDidMountEffect.tsx +0 -10
- package/src/hooks/UseTimeout.ts +0 -24
- package/src/index.tsx +0 -204
- package/src/jest/EmptyModule.js +0 -0
- package/src/jest/svgTransform.js +0 -10
- package/src/storybook/decorators.tsx +0 -17
- package/src/styles/Theme.stories.tsx +0 -265
- package/src/styles/theme.d.ts +0 -6
- package/src/styles/theme.tsx +0 -202
- package/src/styles/utils.tsx +0 -221
- package/src/translation/index.tsx +0 -2
- package/src/translation/lang.json +0 -30
- package/src/types/dataAttributes.ts +0 -7
- package/src/types/react-table-config.d.ts +0 -123
- package/src/types.ts +0 -99
- package/src/utils/const.ts +0 -9
- package/src/utils/test-utils.tsx +0 -41
- package/src/utils/types.tsx +0 -35
- package/src/utils/utils.date.test.tsx +0 -14
- package/src/utils/utils.date.tsx +0 -20
- package/src/utils/utils.document.tsx +0 -54
- package/src/utils/utils.object.test.tsx +0 -38
- package/src/utils/utils.object.tsx +0 -71
- package/src/utils/utils.regexp.test.ts +0 -11
- package/src/utils/utils.regexp.tsx +0 -8
- package/src/utils/utils.string.test.ts +0 -18
- package/src/utils/utils.string.ts +0 -7
- package/tsconfig.json +0 -18
- package/webpack.config.js +0 -70
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import JRCImg, { JRCImgProps } from '../JRCImg/JRCImg';
|
|
5
|
-
import { JRCConditionalWrapper } from '../Common/JRCConditionalWrapper';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Props type for JRCAvatar
|
|
9
|
-
* @see JRCImgProps
|
|
10
|
-
* /!\ It is not recommended to use the url property as it will result in overriding
|
|
11
|
-
* the default image size
|
|
12
|
-
*
|
|
13
|
-
* @property size, multiple of 8px - The avatar image is downloaded
|
|
14
|
-
* with a size twice of the circle/square container in order to make it clear
|
|
15
|
-
* in retina like screens. default: xs
|
|
16
|
-
* @property variant, optional 'circle' | 'square' - default: circle
|
|
17
|
-
* @property focusable - whether the element is focusable. Independent of onClick property
|
|
18
|
-
* @property subAvatar - represent a miniature avatar on the bottom right corner
|
|
19
|
-
* @property className - className passed to the div wrapper
|
|
20
|
-
* @property cssColor - background-color
|
|
21
|
-
* @property from - image base url (imagestatic | imagecache)
|
|
22
|
-
*/
|
|
23
|
-
export type JRCAvatarProps = Omit<JRCImgProps, 'size' | 'width' | 'height' | 'alt'> & {
|
|
24
|
-
uri?: string;
|
|
25
|
-
size?: number;
|
|
26
|
-
variant?: 'circle' | 'square';
|
|
27
|
-
focusable?: boolean;
|
|
28
|
-
subAvatar?: Omit<JRCImgProps, 'size' | 'width' | 'height'>;
|
|
29
|
-
className?: string;
|
|
30
|
-
cssColor?: string;
|
|
31
|
-
alt?: string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const BASE_MULTIPLE = 8;
|
|
35
|
-
|
|
36
|
-
type ExtendedImgProps = {
|
|
37
|
-
variant?: 'circle' | 'square';
|
|
38
|
-
focusable?: boolean;
|
|
39
|
-
width: number;
|
|
40
|
-
cssColor: string;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* border is calculated to be 2px when the avatar is 24px in width and 4px when the avatar is 80px
|
|
45
|
-
*/
|
|
46
|
-
const Avatar = styled(JRCImg).attrs<ExtendedImgProps>((props) => ({
|
|
47
|
-
...props,
|
|
48
|
-
border: props.width / 28 + 8 / 7,
|
|
49
|
-
}))<ExtendedImgProps & { border: number }>`
|
|
50
|
-
cursor: ${(props) => (props.focusable ? 'pointer' : 'default')};
|
|
51
|
-
border-radius: ${(props) => (props.variant === 'square' ? '20%' : '50%')};
|
|
52
|
-
background-color: ${(props) => props.cssColor || 'transparent'};
|
|
53
|
-
vertical-align: middle;
|
|
54
|
-
& + img {
|
|
55
|
-
border: ${(props) => props.border}px solid white;
|
|
56
|
-
box-sizing: content-box;
|
|
57
|
-
margin-left: -${(props) => props.width / 2 + props.border}px;
|
|
58
|
-
margin-bottom: -${(props) => props.border}px;
|
|
59
|
-
}
|
|
60
|
-
`;
|
|
61
|
-
|
|
62
|
-
const JRCAvatar = (props: JRCAvatarProps) => {
|
|
63
|
-
const { subAvatar, className, size, from, format, alt, ...otherProps } = props;
|
|
64
|
-
const imgSize = (size || 3) * BASE_MULTIPLE;
|
|
65
|
-
return (
|
|
66
|
-
<JRCConditionalWrapper
|
|
67
|
-
condition={!!props.subAvatar}
|
|
68
|
-
wrapper={(children) => <div className={className}>{children}</div>}>
|
|
69
|
-
<>
|
|
70
|
-
{React.createElement(Avatar, {
|
|
71
|
-
...otherProps,
|
|
72
|
-
width: imgSize,
|
|
73
|
-
height: imgSize,
|
|
74
|
-
format: format,
|
|
75
|
-
alt: alt,
|
|
76
|
-
'aria-hidden': alt ? undefined : true,
|
|
77
|
-
from: from ?? 'imagecache/',
|
|
78
|
-
} as any)}
|
|
79
|
-
{props.subAvatar &&
|
|
80
|
-
React.createElement(Avatar, {
|
|
81
|
-
...subAvatar,
|
|
82
|
-
from: subAvatar?.from || 'imagecache/',
|
|
83
|
-
width: imgSize / 2,
|
|
84
|
-
height: imgSize / 2,
|
|
85
|
-
} as any)}
|
|
86
|
-
</>
|
|
87
|
-
</JRCConditionalWrapper>
|
|
88
|
-
);
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
export default JRCAvatar;
|
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import JRCButton, { JRCButtonProps } from './JRCButton';
|
|
3
|
-
import { action } from '@storybook/addon-actions';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { withReduxForm } from '../../storybook/decorators';
|
|
6
|
-
import { useState } from 'react';
|
|
7
|
-
import { JRCValidationButton, JRCValidationButtonProps } from './JRCValidationButton';
|
|
8
|
-
import { Meta, Story } from '@storybook/react';
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
title: 'JRCButton',
|
|
12
|
-
component: JRCButton,
|
|
13
|
-
decorators: [withReduxForm],
|
|
14
|
-
} as Meta;
|
|
15
|
-
|
|
16
|
-
const Template: Story<JRCButtonProps> = (args) => {
|
|
17
|
-
const [loader, setLoader] = useState(false);
|
|
18
|
-
return (
|
|
19
|
-
<JRCButton {...args} loader={loader} onClick={() => setLoader(true)}>
|
|
20
|
-
{args.children}
|
|
21
|
-
</JRCButton>
|
|
22
|
-
);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const CustomButton = Template.bind({});
|
|
26
|
-
CustomButton.args = {
|
|
27
|
-
children: 'Click to see loading Icon',
|
|
28
|
-
icon: 'icon-backward',
|
|
29
|
-
type: 'submit',
|
|
30
|
-
dataCy: 'button-cy-demo',
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const JRCButtonWrapper = styled.div`
|
|
34
|
-
display: flex;
|
|
35
|
-
flex-wrap: wrap;
|
|
36
|
-
`;
|
|
37
|
-
|
|
38
|
-
export const AllButtons = () => {
|
|
39
|
-
return (
|
|
40
|
-
<>
|
|
41
|
-
<JRCButtonWrapper>
|
|
42
|
-
<JRCButton onClick={action('button-click')} type="submit" color="primary" variant="contained">
|
|
43
|
-
Button
|
|
44
|
-
</JRCButton>
|
|
45
|
-
<JRCButton
|
|
46
|
-
onClick={action('button-click')}
|
|
47
|
-
icon="icon-check"
|
|
48
|
-
type="submit"
|
|
49
|
-
color="primary"
|
|
50
|
-
variant="contained">
|
|
51
|
-
Button + Icon
|
|
52
|
-
</JRCButton>
|
|
53
|
-
<JRCButton
|
|
54
|
-
onClick={action('button-click')}
|
|
55
|
-
icon="icon-check"
|
|
56
|
-
type="submit"
|
|
57
|
-
color="primary"
|
|
58
|
-
variant="contained"></JRCButton>
|
|
59
|
-
<JRCButton
|
|
60
|
-
onClick={action('button-click')}
|
|
61
|
-
icon="icon-check"
|
|
62
|
-
type="submit"
|
|
63
|
-
color="primary"
|
|
64
|
-
variant="contained">
|
|
65
|
-
Icon + Button
|
|
66
|
-
</JRCButton>
|
|
67
|
-
</JRCButtonWrapper>
|
|
68
|
-
<JRCButtonWrapper>
|
|
69
|
-
<JRCButton onClick={action('button-click')} type="submit" color="valid" variant="contained">
|
|
70
|
-
Button
|
|
71
|
-
</JRCButton>
|
|
72
|
-
<JRCButton
|
|
73
|
-
onClick={action('button-click')}
|
|
74
|
-
icon="icon-check"
|
|
75
|
-
type="submit"
|
|
76
|
-
color="valid"
|
|
77
|
-
variant="contained">
|
|
78
|
-
Button + Icon
|
|
79
|
-
</JRCButton>
|
|
80
|
-
<JRCButton
|
|
81
|
-
onClick={action('button-click')}
|
|
82
|
-
icon="icon-check"
|
|
83
|
-
type="submit"
|
|
84
|
-
color="valid"
|
|
85
|
-
variant="contained"></JRCButton>
|
|
86
|
-
<JRCButton
|
|
87
|
-
onClick={action('button-click')}
|
|
88
|
-
icon="icon-check"
|
|
89
|
-
type="submit"
|
|
90
|
-
color="valid"
|
|
91
|
-
variant="contained">
|
|
92
|
-
Icon + Button
|
|
93
|
-
</JRCButton>
|
|
94
|
-
</JRCButtonWrapper>
|
|
95
|
-
<JRCButtonWrapper>
|
|
96
|
-
<JRCButton onClick={action('button-click')} type="submit" color="danger" variant="contained">
|
|
97
|
-
Button
|
|
98
|
-
</JRCButton>
|
|
99
|
-
<JRCButton
|
|
100
|
-
onClick={action('button-click')}
|
|
101
|
-
icon="icon-check"
|
|
102
|
-
type="submit"
|
|
103
|
-
color="danger"
|
|
104
|
-
variant="contained">
|
|
105
|
-
Button + Icon
|
|
106
|
-
</JRCButton>
|
|
107
|
-
<JRCButton
|
|
108
|
-
onClick={action('button-click')}
|
|
109
|
-
icon="icon-check"
|
|
110
|
-
type="submit"
|
|
111
|
-
color="danger"
|
|
112
|
-
variant="contained"></JRCButton>
|
|
113
|
-
<JRCButton
|
|
114
|
-
onClick={action('button-click')}
|
|
115
|
-
icon="icon-check"
|
|
116
|
-
type="submit"
|
|
117
|
-
color="danger"
|
|
118
|
-
variant="contained">
|
|
119
|
-
Icon + Button
|
|
120
|
-
</JRCButton>
|
|
121
|
-
</JRCButtonWrapper>
|
|
122
|
-
<JRCButtonWrapper>
|
|
123
|
-
<JRCButton onClick={action('button-click')} disabled type="submit" color="primary" variant="contained">
|
|
124
|
-
Button
|
|
125
|
-
</JRCButton>
|
|
126
|
-
<JRCButton
|
|
127
|
-
onClick={action('button-click')}
|
|
128
|
-
disabled
|
|
129
|
-
icon="icon-check"
|
|
130
|
-
type="submit"
|
|
131
|
-
color="primary"
|
|
132
|
-
variant="contained">
|
|
133
|
-
Button + Icon
|
|
134
|
-
</JRCButton>
|
|
135
|
-
<JRCButton
|
|
136
|
-
onClick={action('button-click')}
|
|
137
|
-
disabled
|
|
138
|
-
icon="icon-check"
|
|
139
|
-
type="submit"
|
|
140
|
-
color="primary"
|
|
141
|
-
variant="contained"></JRCButton>
|
|
142
|
-
<JRCButton
|
|
143
|
-
onClick={action('button-click')}
|
|
144
|
-
disabled
|
|
145
|
-
icon="icon-check"
|
|
146
|
-
type="submit"
|
|
147
|
-
color="primary"
|
|
148
|
-
variant="contained">
|
|
149
|
-
Icon + Button
|
|
150
|
-
</JRCButton>
|
|
151
|
-
</JRCButtonWrapper>
|
|
152
|
-
<br />
|
|
153
|
-
<JRCButtonWrapper>
|
|
154
|
-
<JRCButton onClick={action('button-click')} type="submit" color="primary" variant="outlined">
|
|
155
|
-
Button
|
|
156
|
-
</JRCButton>
|
|
157
|
-
<JRCButton
|
|
158
|
-
onClick={action('button-click')}
|
|
159
|
-
icon="icon-check"
|
|
160
|
-
type="submit"
|
|
161
|
-
color="primary"
|
|
162
|
-
variant="outlined">
|
|
163
|
-
Button + Icon
|
|
164
|
-
</JRCButton>
|
|
165
|
-
<JRCButton
|
|
166
|
-
onClick={action('button-click')}
|
|
167
|
-
icon="icon-check"
|
|
168
|
-
type="submit"
|
|
169
|
-
color="primary"
|
|
170
|
-
variant="outlined"></JRCButton>
|
|
171
|
-
<JRCButton
|
|
172
|
-
onClick={action('button-click')}
|
|
173
|
-
icon="icon-check"
|
|
174
|
-
type="submit"
|
|
175
|
-
color="primary"
|
|
176
|
-
variant="outlined">
|
|
177
|
-
Icon + Button
|
|
178
|
-
</JRCButton>
|
|
179
|
-
</JRCButtonWrapper>
|
|
180
|
-
<JRCButtonWrapper>
|
|
181
|
-
<JRCButton onClick={action('button-click')} type="submit" color="valid" variant="outlined">
|
|
182
|
-
Button
|
|
183
|
-
</JRCButton>
|
|
184
|
-
<JRCButton
|
|
185
|
-
onClick={action('button-click')}
|
|
186
|
-
icon="icon-check"
|
|
187
|
-
type="submit"
|
|
188
|
-
color="valid"
|
|
189
|
-
variant="outlined">
|
|
190
|
-
Button + Icon
|
|
191
|
-
</JRCButton>
|
|
192
|
-
<JRCButton
|
|
193
|
-
onClick={action('button-click')}
|
|
194
|
-
icon="icon-check"
|
|
195
|
-
type="submit"
|
|
196
|
-
color="valid"
|
|
197
|
-
variant="outlined"></JRCButton>
|
|
198
|
-
<JRCButton
|
|
199
|
-
onClick={action('button-click')}
|
|
200
|
-
icon="icon-check"
|
|
201
|
-
type="submit"
|
|
202
|
-
color="valid"
|
|
203
|
-
variant="outlined">
|
|
204
|
-
Icon + Button
|
|
205
|
-
</JRCButton>
|
|
206
|
-
</JRCButtonWrapper>
|
|
207
|
-
<JRCButtonWrapper>
|
|
208
|
-
<JRCButton onClick={action('button-click')} type="submit" color="danger" variant="outlined">
|
|
209
|
-
Button
|
|
210
|
-
</JRCButton>
|
|
211
|
-
<JRCButton
|
|
212
|
-
onClick={action('button-click')}
|
|
213
|
-
icon="icon-check"
|
|
214
|
-
type="submit"
|
|
215
|
-
color="danger"
|
|
216
|
-
variant="outlined">
|
|
217
|
-
Button + Icon
|
|
218
|
-
</JRCButton>
|
|
219
|
-
<JRCButton
|
|
220
|
-
onClick={action('button-click')}
|
|
221
|
-
icon="icon-check"
|
|
222
|
-
type="submit"
|
|
223
|
-
color="danger"
|
|
224
|
-
variant="outlined"></JRCButton>
|
|
225
|
-
<JRCButton
|
|
226
|
-
onClick={action('button-click')}
|
|
227
|
-
icon="icon-check"
|
|
228
|
-
type="submit"
|
|
229
|
-
color="danger"
|
|
230
|
-
variant="outlined">
|
|
231
|
-
Icon + Button
|
|
232
|
-
</JRCButton>
|
|
233
|
-
</JRCButtonWrapper>
|
|
234
|
-
<JRCButtonWrapper>
|
|
235
|
-
<JRCButton onClick={action('button-click')} type="submit" color="secondary" variant="outlined">
|
|
236
|
-
Button
|
|
237
|
-
</JRCButton>
|
|
238
|
-
<JRCButton
|
|
239
|
-
onClick={action('button-click')}
|
|
240
|
-
icon="icon-check"
|
|
241
|
-
type="submit"
|
|
242
|
-
color="secondary"
|
|
243
|
-
variant="outlined">
|
|
244
|
-
Button + Icon
|
|
245
|
-
</JRCButton>
|
|
246
|
-
<JRCButton
|
|
247
|
-
onClick={action('button-click')}
|
|
248
|
-
icon="icon-check"
|
|
249
|
-
type="submit"
|
|
250
|
-
color="secondary"
|
|
251
|
-
variant="outlined"></JRCButton>
|
|
252
|
-
<JRCButton
|
|
253
|
-
onClick={action('button-click')}
|
|
254
|
-
icon="icon-check"
|
|
255
|
-
type="submit"
|
|
256
|
-
color="secondary"
|
|
257
|
-
variant="outlined">
|
|
258
|
-
Icon + Button
|
|
259
|
-
</JRCButton>
|
|
260
|
-
</JRCButtonWrapper>
|
|
261
|
-
<JRCButtonWrapper>
|
|
262
|
-
<JRCButton onClick={action('button-click')} disabled type="submit" color="primary" variant="outlined">
|
|
263
|
-
Button
|
|
264
|
-
</JRCButton>
|
|
265
|
-
<JRCButton
|
|
266
|
-
onClick={action('button-click')}
|
|
267
|
-
disabled
|
|
268
|
-
icon="icon-check"
|
|
269
|
-
type="submit"
|
|
270
|
-
color="primary"
|
|
271
|
-
variant="outlined">
|
|
272
|
-
Button + Icon
|
|
273
|
-
</JRCButton>
|
|
274
|
-
<JRCButton
|
|
275
|
-
onClick={action('button-click')}
|
|
276
|
-
disabled
|
|
277
|
-
icon="icon-check"
|
|
278
|
-
type="submit"
|
|
279
|
-
color="danger"
|
|
280
|
-
variant="outlined"></JRCButton>
|
|
281
|
-
<JRCButton
|
|
282
|
-
onClick={action('button-click')}
|
|
283
|
-
disabled
|
|
284
|
-
icon="icon-check"
|
|
285
|
-
type="submit"
|
|
286
|
-
color="danger"
|
|
287
|
-
variant="outlined">
|
|
288
|
-
Icon + Button
|
|
289
|
-
</JRCButton>
|
|
290
|
-
</JRCButtonWrapper>
|
|
291
|
-
</>
|
|
292
|
-
);
|
|
293
|
-
};
|
|
294
|
-
|
|
295
|
-
const ValidationTemplate: Story<JRCValidationButtonProps> = (args) => {
|
|
296
|
-
const [loader, setLoader] = useState(false);
|
|
297
|
-
return (
|
|
298
|
-
<JRCValidationButton {...args} loader={loader} onClick={() => setLoader(true)}>
|
|
299
|
-
{args.children}
|
|
300
|
-
</JRCValidationButton>
|
|
301
|
-
);
|
|
302
|
-
};
|
|
303
|
-
|
|
304
|
-
export const ValidationButton = ValidationTemplate.bind({});
|
|
305
|
-
ValidationButton.args = {
|
|
306
|
-
children: 'Click to see loading Icon',
|
|
307
|
-
icon: 'icon-backward',
|
|
308
|
-
type: 'submit',
|
|
309
|
-
onValidationClick: action('validation'),
|
|
310
|
-
dataCy: 'demo-cy-validation-button',
|
|
311
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { screen } from '@testing-library/react';
|
|
3
|
-
import { renderWithWrapper } from 'utils/test-utils';
|
|
4
|
-
import UserEvent from '@testing-library/user-event';
|
|
5
|
-
|
|
6
|
-
import JRCButton from './JRCButton';
|
|
7
|
-
|
|
8
|
-
const TEXT = "I'm a text";
|
|
9
|
-
|
|
10
|
-
describe('JRCButton', () => {
|
|
11
|
-
test('match snapshot', () => {
|
|
12
|
-
const { asFragment } = renderWithWrapper(<JRCButton>{TEXT}</JRCButton>);
|
|
13
|
-
expect(asFragment()).toMatchSnapshot();
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
test('renders button with correct text', () => {
|
|
17
|
-
renderWithWrapper(<JRCButton>{TEXT}</JRCButton>);
|
|
18
|
-
expect(screen.getByText(TEXT)).toBeInTheDocument();
|
|
19
|
-
expect(screen.getByRole('button')).toBeInTheDocument();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
test('calls correct function on click', () => {
|
|
23
|
-
const onClick = jest.fn();
|
|
24
|
-
renderWithWrapper(<JRCButton onClick={onClick}>{TEXT}</JRCButton>);
|
|
25
|
-
UserEvent.click(screen.getByText(TEXT));
|
|
26
|
-
expect(onClick).toHaveBeenCalled();
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
test('button should be disabled', () => {
|
|
30
|
-
renderWithWrapper(<JRCButton disabled>{TEXT}</JRCButton>);
|
|
31
|
-
expect(screen.getByText(TEXT)).toHaveAttribute('disabled');
|
|
32
|
-
expect(screen.getByText(TEXT)).toBeDisabled();
|
|
33
|
-
});
|
|
34
|
-
});
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import JRCIcon, { JRCIconProps } from '../JRCIcon/JRCIcon';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import JRCLoader from 'components/JRCLoader/JRCLoader';
|
|
5
|
-
import { BUTTON_CONFIG, ButtonType } from './JRCButtonConfig';
|
|
6
|
-
import { ForwardedRef } from 'react';
|
|
7
|
-
import { DataCy } from '../../types/dataAttributes';
|
|
8
|
-
|
|
9
|
-
export type JRCButtonProps = React.ComponentPropsWithoutRef<'button'> &
|
|
10
|
-
DataCy & {
|
|
11
|
-
/** Color of the background of the button */
|
|
12
|
-
color?: 'primary' | 'valid' | 'danger' | 'secondary';
|
|
13
|
-
/** Indicates loading of content on the button */
|
|
14
|
-
loader?: boolean;
|
|
15
|
-
/** This Boolean attribute specifies that the button should have input focus when the page loads */
|
|
16
|
-
autofocus?: boolean;
|
|
17
|
-
/** Defines the value associated with the button’s name when it’s submitted with the form data */
|
|
18
|
-
value?: string;
|
|
19
|
-
/** Enhance your button with an icon */
|
|
20
|
-
icon?: string;
|
|
21
|
-
/** The variant is used to define what type of action the button will take */
|
|
22
|
-
variant?: 'contained' | 'outlined';
|
|
23
|
-
/** CSS float attribute */
|
|
24
|
-
float?: 'left' | 'right';
|
|
25
|
-
/** CSS min-width attribute */
|
|
26
|
-
minWidth?: string;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export const transformColor = (color?: string): JRCIconProps['color'] => {
|
|
30
|
-
switch (color) {
|
|
31
|
-
case 'valid':
|
|
32
|
-
return 'green';
|
|
33
|
-
case 'danger':
|
|
34
|
-
return 'orange';
|
|
35
|
-
case 'secondary':
|
|
36
|
-
return 'grey4';
|
|
37
|
-
default:
|
|
38
|
-
return 'primary';
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Button styling. May be used as a <a> tag
|
|
44
|
-
*/
|
|
45
|
-
export const Button = styled.button<{ themeButton: ButtonType; hasChildren: boolean } & JRCButtonProps>`
|
|
46
|
-
float: ${(props) => props.float};
|
|
47
|
-
min-width: ${(props) => props.minWidth};
|
|
48
|
-
display: inline-flex;
|
|
49
|
-
flex-direction: row;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
cursor: ${(props) => (props.disabled ? 'not-allowed' : props.loader ? 'wait' : 'pointer')};
|
|
52
|
-
align-items: center;
|
|
53
|
-
color: ${(props) => props.theme.color[props.themeButton.color]};
|
|
54
|
-
height: 40px;
|
|
55
|
-
margin: 0.2rem;
|
|
56
|
-
position: relative;
|
|
57
|
-
outline: none;
|
|
58
|
-
border-radius: 8px;
|
|
59
|
-
padding: ${(props) => (props.hasChildren ? '8px 16px' : '8px 10px')};
|
|
60
|
-
background-color: ${(props) => props.theme.color[props.themeButton.background]};
|
|
61
|
-
box-sizing: border-box;
|
|
62
|
-
border: 2px solid ${(props) => props.theme.color[props.themeButton.border]};
|
|
63
|
-
transition: color 0.5s, background-color 0.5s, border 0.5s;
|
|
64
|
-
text-decoration: none;
|
|
65
|
-
&:hover {
|
|
66
|
-
text-decoration: none;
|
|
67
|
-
color: ${(props) => props.theme.color[props.themeButton.color]};
|
|
68
|
-
background-color: ${(props) => props.theme.color[props.themeButton.hover.background]};
|
|
69
|
-
border-color: ${(props) => props.theme.color[props.themeButton.hover.border]};
|
|
70
|
-
}
|
|
71
|
-
&:active {
|
|
72
|
-
background-color: ${(props) => props.theme.color[props.themeButton.active.background]};
|
|
73
|
-
border-color: ${(props) => props.theme.color[props.themeButton.active.border]};
|
|
74
|
-
}
|
|
75
|
-
&:before {
|
|
76
|
-
display: none;
|
|
77
|
-
content: '';
|
|
78
|
-
position: absolute;
|
|
79
|
-
top: 50%;
|
|
80
|
-
left: 50%;
|
|
81
|
-
transform: translate(-50%, -50%);
|
|
82
|
-
width: calc(100% - 2.5px);
|
|
83
|
-
border-radius: inherit;
|
|
84
|
-
height: calc(100% - 2.5px);
|
|
85
|
-
border: 1px dashed ${(props) => props.theme.color[props.themeButton.color]};
|
|
86
|
-
}
|
|
87
|
-
& > i,
|
|
88
|
-
& > div {
|
|
89
|
-
margin: ${(props) => `0 ${props.hasChildren ? '8px' : '0'} 0 0`};
|
|
90
|
-
}
|
|
91
|
-
&:focus-visible:before {
|
|
92
|
-
display: ${(props) => !props.disabled && !props.loader && 'block'};
|
|
93
|
-
}
|
|
94
|
-
`;
|
|
95
|
-
|
|
96
|
-
const JRCButton = React.forwardRef(
|
|
97
|
-
(
|
|
98
|
-
{ color = 'primary', type = 'button', variant = 'contained', ...props }: JRCButtonProps,
|
|
99
|
-
ref: ForwardedRef<HTMLButtonElement>,
|
|
100
|
-
) => {
|
|
101
|
-
const disabled = props.disabled || props.loader;
|
|
102
|
-
const themeButton = BUTTON_CONFIG[variant][disabled ? 'disabled' : color];
|
|
103
|
-
|
|
104
|
-
return (
|
|
105
|
-
<Button
|
|
106
|
-
hasChildren={!!props.children}
|
|
107
|
-
themeButton={themeButton}
|
|
108
|
-
type={type}
|
|
109
|
-
data-cy={props.dataCy}
|
|
110
|
-
disabled={disabled}
|
|
111
|
-
{...props}
|
|
112
|
-
ref={ref}>
|
|
113
|
-
{props.icon && !props.loader && (
|
|
114
|
-
<JRCIcon
|
|
115
|
-
name={props.icon}
|
|
116
|
-
color={props.disabled ? 'grey3' : variant === 'contained' ? 'white' : transformColor(color)}
|
|
117
|
-
/>
|
|
118
|
-
)}
|
|
119
|
-
{props.loader && <JRCLoader color="grey3" />}
|
|
120
|
-
{props.children}
|
|
121
|
-
</Button>
|
|
122
|
-
);
|
|
123
|
-
},
|
|
124
|
-
);
|
|
125
|
-
|
|
126
|
-
export default JRCButton;
|