jamespot-react-components 1.0.16 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/jamespot-react-components.js +644 -340
- 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/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/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 +4 -12
- 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 +13 -0
- package/build/src/styles/theme.d.ts +3 -0
- package/build/src/types.d.ts +5 -0
- 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 +1 -2
- package/package.json +4 -3
- 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 -10
- 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 -14
- 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 -23
- 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 -123
- 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 -26
- package/src/components/JRCAvatar/JRCAvatar.tsx +0 -92
- 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 -12
- 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/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 -203
- 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/components/Templates/JRCBase.template.tsx +0 -39
- package/src/components/Templates/JRCTemplate.stories.tsx +0 -55
- package/src/components/Templates/JRCTwoColumns.template.tsx +0 -20
- 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 -209
- 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 -207
- 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 -101
- 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,51 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import { Colors, Shades, ThemeType } from 'styles/theme';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Props type for JRCIcon
|
|
7
|
-
* @property name string: Name of the icon (required)
|
|
8
|
-
* @property color, string, optional: icon color, one of the theme color or a hex, rgb color, default to primary
|
|
9
|
-
* @property variant, string, optional: variant of the icon
|
|
10
|
-
|
|
11
|
-
* @property size, optional: in px - The icon size, default set to 20px
|
|
12
|
-
* @property className, optional, className of the <i /> tag
|
|
13
|
-
*/
|
|
14
|
-
export interface JRCIconProps {
|
|
15
|
-
/** Name of the icon (required) */
|
|
16
|
-
name: string;
|
|
17
|
-
/** Color */
|
|
18
|
-
color?: string;
|
|
19
|
-
/** background color */
|
|
20
|
-
variant?: 'default' | 'circle' | 'square';
|
|
21
|
-
/** Defined the icon's dimensions */
|
|
22
|
-
size?: number;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
function getColor(theme: ThemeType, color: string) {
|
|
27
|
-
return color in theme.color ? theme.color[color as Colors | Shades] : color;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const Icon = styled.i<Required<JRCIconProps>>`
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
text-align: center;
|
|
33
|
-
margin: 0 0.2em;
|
|
34
|
-
|
|
35
|
-
font-size: ${(props) => (props.variant === 'default' ? `${props.size}px` : `calc(0.6 * ${props.size}px)`)};
|
|
36
|
-
min-width: ${(props) => `${props.size}px`};
|
|
37
|
-
line-height: ${(props) => `${props.size}px`};
|
|
38
|
-
${(props) =>
|
|
39
|
-
['circle', 'square'].includes(props.variant) && `background-color: ${getColor(props.theme, props.color)}`};
|
|
40
|
-
${(props) => (props.variant === 'circle' ? `border-radius: 50%` : `border-radius: 20%`)};
|
|
41
|
-
&:before {
|
|
42
|
-
transition: color 0.1s;
|
|
43
|
-
color: ${(props) => (props.variant === 'default' ? getColor(props.theme, props.color) : 'white')};
|
|
44
|
-
}
|
|
45
|
-
`;
|
|
46
|
-
|
|
47
|
-
const JRCIcon = ({ color = 'primary', variant = 'default', name, size = 20, className }: JRCIconProps) => (
|
|
48
|
-
<Icon className={`react-icon ${name} ${className || ''}`} name={name} size={size} color={color} variant={variant} />
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
export default JRCIcon;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { JRCIconButton, JRCIconButtonProps } from './JRCIconButton';
|
|
3
|
-
import { Meta, Story } from '@storybook/react';
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'JRCIconButton',
|
|
7
|
-
component: JRCIconButton,
|
|
8
|
-
} as Meta;
|
|
9
|
-
|
|
10
|
-
const Template: Story<JRCIconButtonProps> = (args) => {
|
|
11
|
-
return (
|
|
12
|
-
<>
|
|
13
|
-
<JRCIconButton {...args} />
|
|
14
|
-
<JRCIconButton {...args} />
|
|
15
|
-
</>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export const Primary = Template.bind({});
|
|
20
|
-
Primary.args = {
|
|
21
|
-
icon: 'icon-navicon',
|
|
22
|
-
size: 'small',
|
|
23
|
-
value: 'toto',
|
|
24
|
-
disabled: false,
|
|
25
|
-
tooltip: {
|
|
26
|
-
description: 'demo',
|
|
27
|
-
button: {
|
|
28
|
-
children: 'Ce bouton est un exemple inutil',
|
|
29
|
-
dataCy: 'bouton-tooltip-go-toto-page',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
dataCy: 'navigation-to-toto-page',
|
|
33
|
-
};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import JRCIcon from '../JRCIcon/JRCIcon';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { DashedFocusBorder } from 'components/Common/DashedFocusBorder';
|
|
5
|
-
import { Colors, Shades } from 'styles/theme';
|
|
6
|
-
import { JRCTooltip, JRCTooltipProps } from '../JRCTooltip/JRCTooltip';
|
|
7
|
-
import { JRCConditionalWrapper } from '../Common/JRCConditionalWrapper';
|
|
8
|
-
import { DataCy } from '../../types/dataAttributes';
|
|
9
|
-
|
|
10
|
-
const Button = styled.button.attrs((props: { size: 'small' | 'medium' }) => ({
|
|
11
|
-
...props,
|
|
12
|
-
dashedBorderRadius: config[props.size].focusBorderRadius,
|
|
13
|
-
}))<JRCIconButtonProps>`
|
|
14
|
-
position: relative;
|
|
15
|
-
display: inline-flex;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
align-items: center;
|
|
18
|
-
width: ${(props) => config[props.size].size};
|
|
19
|
-
height: ${(props) => config[props.size].size};
|
|
20
|
-
border-radius: ${(props) => config[props.size].borderRadius};
|
|
21
|
-
cursor: ${(props) => (props.disabled ? 'default' : 'pointer')};
|
|
22
|
-
flex-shrink: 0;
|
|
23
|
-
:hover,
|
|
24
|
-
:focus-visible {
|
|
25
|
-
${(props) =>
|
|
26
|
-
!props.disabled &&
|
|
27
|
-
`background-color: ${props.color === 'white' ? props.theme.color.black15 : props.theme.color.grey0}`};
|
|
28
|
-
}
|
|
29
|
-
${DashedFocusBorder};
|
|
30
|
-
`;
|
|
31
|
-
|
|
32
|
-
const config = {
|
|
33
|
-
small: {
|
|
34
|
-
size: '24px',
|
|
35
|
-
borderRadius: '4px',
|
|
36
|
-
iconSize: 16,
|
|
37
|
-
focusBorderRadius: '3px',
|
|
38
|
-
},
|
|
39
|
-
medium: {
|
|
40
|
-
size: '40px',
|
|
41
|
-
borderRadius: '8px',
|
|
42
|
-
iconSize: 20,
|
|
43
|
-
focusBorderRadius: '6px',
|
|
44
|
-
},
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* IconButton props
|
|
49
|
-
* @member icon icon of the button
|
|
50
|
-
* @member onClick on click callback
|
|
51
|
-
* @member name name (for form only)
|
|
52
|
-
* @member value value (for form only)
|
|
53
|
-
* @member disabled disable the button
|
|
54
|
-
* @member size size of the button, default value, set to m
|
|
55
|
-
* @member tooltip tooltip props
|
|
56
|
-
* @member variant?: can be 'circle' | 'square' ;
|
|
57
|
-
|
|
58
|
-
*/
|
|
59
|
-
export type JRCIconButtonProps = DataCy & {
|
|
60
|
-
icon: string;
|
|
61
|
-
size?: 'small' | 'medium';
|
|
62
|
-
onClick?: (event?: React.MouseEvent) => void;
|
|
63
|
-
name?: string;
|
|
64
|
-
value?: string;
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
type?: 'submit' | 'reset' | 'button';
|
|
67
|
-
color?: Colors | Shades | 'inherit';
|
|
68
|
-
tooltip?: Omit<JRCTooltipProps, 'children'>;
|
|
69
|
-
variant?: 'circle' | 'square';
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
const defaultProps = {
|
|
73
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
74
|
-
onClick: () => {},
|
|
75
|
-
type: 'button',
|
|
76
|
-
variant: 'square',
|
|
77
|
-
size: 'medium',
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const JRCIconButton = (props: JRCIconButtonProps & typeof defaultProps) => {
|
|
81
|
-
return (
|
|
82
|
-
<JRCConditionalWrapper
|
|
83
|
-
condition={!!props.tooltip}
|
|
84
|
-
wrapper={(children) => <JRCTooltip {...(props.tooltip as JRCTooltipProps)}>{children}</JRCTooltip>}>
|
|
85
|
-
<Button {...props} data-cy={props.dataCy} size={props.size}>
|
|
86
|
-
<JRCIcon
|
|
87
|
-
name={props.icon}
|
|
88
|
-
size={config[props.size].iconSize}
|
|
89
|
-
color={props.color ? props.color : props.disabled ? 'grey1' : 'grey3'}
|
|
90
|
-
/>
|
|
91
|
-
</Button>
|
|
92
|
-
</JRCConditionalWrapper>
|
|
93
|
-
);
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
JRCIconButton.defaultProps = defaultProps;
|
|
97
|
-
export { JRCIconButton };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import JRCImg, { JRCImgProps } from './JRCImg';
|
|
3
|
-
import { Meta, Story } from '@storybook/react';
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'JRCImg',
|
|
7
|
-
component: JRCImg,
|
|
8
|
-
} as Meta;
|
|
9
|
-
|
|
10
|
-
const Template: Story<JRCImgProps> = (args) => <JRCImg {...args} />;
|
|
11
|
-
|
|
12
|
-
export const Primary = Template.bind({});
|
|
13
|
-
Primary.args = {
|
|
14
|
-
size: 'fitx700',
|
|
15
|
-
type: 'fileArticle',
|
|
16
|
-
recordId: '245',
|
|
17
|
-
alt: 'Texte alternatif',
|
|
18
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { renderWithWrapper } from 'utils/test-utils';
|
|
3
|
-
|
|
4
|
-
import JRCImg from './JRCImg';
|
|
5
|
-
|
|
6
|
-
describe('JRCImg', () => {
|
|
7
|
-
test('medium avatar to download an img twice the container size', () => {
|
|
8
|
-
const { container } = renderWithWrapper(
|
|
9
|
-
<JRCImg from="imagecache" size="fitx700" type="fileArticle" recordId="245" alt="image" />,
|
|
10
|
-
);
|
|
11
|
-
expect(container.firstChild).toHaveAttribute('src', '/imagecache/fitx700/fileArticle/245.png');
|
|
12
|
-
});
|
|
13
|
-
});
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
import styled, { ThemeContext } from 'styled-components';
|
|
4
|
-
import { formatImgUrl, ImgUrlProps } from './url.util';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @see ImgUrlProps
|
|
8
|
-
* @property loading - img loading attribute - default is lazy
|
|
9
|
-
* @property alt - img alt attributes
|
|
10
|
-
*
|
|
11
|
-
* @property type - type of the record image (ex: user, fileArticle, spot, diffgroup, etc.)
|
|
12
|
-
* @property recordId - id of the record
|
|
13
|
-
* @property uri - uri of the record
|
|
14
|
-
*
|
|
15
|
-
* @property width - Width of the <img /> tag. Also used to compute the image size downloaded
|
|
16
|
-
* @property height - Height of the <img /> tag. Also used to compute the image size downloaded
|
|
17
|
-
* @property size - if the url is not provided, used to download the image at this size.
|
|
18
|
-
* If not provided, the size will be computed from width and height.
|
|
19
|
-
* /!\ This property should not be used unless the image should not be displayed
|
|
20
|
-
* at retina resolution for any reason.
|
|
21
|
-
*
|
|
22
|
-
* @property format - format of the image (ex: png, jpeg, etc.) - default is png
|
|
23
|
-
*
|
|
24
|
-
* @property url - img url used in place of width, height, size, uri, recordId and type to download an image
|
|
25
|
-
*
|
|
26
|
-
* @property timestamp - date used to force an image to be downloaded from the server instead
|
|
27
|
-
* of from the cache. The modified timestamp of the object being displayed
|
|
28
|
-
* should be passed
|
|
29
|
-
*
|
|
30
|
-
* @property className - className of the <img /> tag
|
|
31
|
-
*/
|
|
32
|
-
export type JRCImgProps = ImgUrlProps & {
|
|
33
|
-
loading?: 'eager' | 'lazy';
|
|
34
|
-
alt: string;
|
|
35
|
-
className?: string;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
const Img = styled.img`
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
flex-shrink: 0;
|
|
41
|
-
border: 0;
|
|
42
|
-
line-height: ${(props) => props.height}px;
|
|
43
|
-
`;
|
|
44
|
-
|
|
45
|
-
const JRCImg = (props: JRCImgProps) => {
|
|
46
|
-
const themeContext = React.useContext(ThemeContext);
|
|
47
|
-
|
|
48
|
-
return (
|
|
49
|
-
<Img
|
|
50
|
-
src={formatImgUrl(props, themeContext.dpr)}
|
|
51
|
-
loading={props.loading || 'lazy'}
|
|
52
|
-
alt={props.alt}
|
|
53
|
-
width={props.width}
|
|
54
|
-
height={props.height}
|
|
55
|
-
className={props.className}
|
|
56
|
-
/>
|
|
57
|
-
);
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export default JRCImg;
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { UriOrTypeId } from 'components/Form/Common/types';
|
|
2
|
-
import { removeIfStartsWith, suffixIfDoesNotExist } from '../../utils/utils.string';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* @see JRCImgProps
|
|
6
|
-
*/
|
|
7
|
-
type WidthHeight = {
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @see JRCImgProps
|
|
14
|
-
*/
|
|
15
|
-
type Size = {
|
|
16
|
-
size?: string;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* @see JRCImgProps
|
|
21
|
-
*/
|
|
22
|
-
type Format = { format?: string };
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @see JRCImgProps
|
|
26
|
-
*/
|
|
27
|
-
type Timestamp = { timestamp?: string | number };
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @see JRCImgProps
|
|
31
|
-
*/
|
|
32
|
-
export type ImgUrlProps = {
|
|
33
|
-
url?: string;
|
|
34
|
-
|
|
35
|
-
size?: string;
|
|
36
|
-
width?: number;
|
|
37
|
-
height?: number;
|
|
38
|
-
|
|
39
|
-
from?: string;
|
|
40
|
-
uri?: string;
|
|
41
|
-
recordId?: string | number;
|
|
42
|
-
type?: string;
|
|
43
|
-
format?: string;
|
|
44
|
-
|
|
45
|
-
timestamp?: string | number;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export function getFrom(arg: Pick<ImgUrlProps, 'from'>) {
|
|
49
|
-
return removeIfStartsWith(suffixIfDoesNotExist(arg.from, '/'), '/') || '';
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function getTimestamp(arg: Timestamp) {
|
|
53
|
-
return arg.timestamp ? `?_=${arg.timestamp}` : '';
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function getUri(arg: UriOrTypeId): string {
|
|
57
|
-
if ('uri' in arg && arg.uri) return arg.uri;
|
|
58
|
-
return `${arg.type}/${arg.recordId}`;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function getSize(arg: Size & WidthHeight, dpr = 2): string {
|
|
62
|
-
if ('size' in arg && arg.size) return arg.size;
|
|
63
|
-
else if ('width' in arg && arg.width && 'height' in arg && arg.height)
|
|
64
|
-
return `${arg.width * dpr}x${arg.height * dpr}`;
|
|
65
|
-
return '';
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function getFormat(arg: Format) {
|
|
69
|
-
return arg.format || 'png';
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function getUrl(url: string): URL | undefined {
|
|
73
|
-
try {
|
|
74
|
-
return new URL(url);
|
|
75
|
-
} catch (e) {
|
|
76
|
-
/* silent exception */
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
try {
|
|
80
|
-
return new URL(window.location.origin + '/' + removeIfStartsWith(url, '/'));
|
|
81
|
-
} catch (e) {
|
|
82
|
-
/* silent exception */
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Format an img url
|
|
88
|
-
* If url arg is provided, it is used, in addition with an optional timestamp
|
|
89
|
-
* If not parsable or not passed, one should provide:
|
|
90
|
-
* - optional from
|
|
91
|
-
* - size in either size or width/height argument.
|
|
92
|
-
* If width & height are provided, the downloaded image take car of the screen resolution
|
|
93
|
-
* - uri or type/recordId
|
|
94
|
-
* - optional format, default png
|
|
95
|
-
* - optional timestamp
|
|
96
|
-
* The final url is {from}/{size}/{uri}.{format}?_={timestamp}
|
|
97
|
-
* @param arg
|
|
98
|
-
*/
|
|
99
|
-
export function formatImgUrl(arg: ImgUrlProps, dpr = 2) {
|
|
100
|
-
if ('url' in arg && arg.url) {
|
|
101
|
-
const url = getUrl(arg.url);
|
|
102
|
-
if (url) {
|
|
103
|
-
if ('timestamp' in arg && arg.timestamp && !url.searchParams.has('_'))
|
|
104
|
-
url.searchParams.append('_', arg.timestamp.toString());
|
|
105
|
-
return url.toString();
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
return `/${getFrom(arg)}${getSize(arg, dpr)}/${getUri(arg)}.${getFormat(arg)}${getTimestamp(arg)}`;
|
|
109
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { formatImgUrl, getFormat, getFrom, getSize, getTimestamp, getUri } from './url.util';
|
|
2
|
-
|
|
3
|
-
describe('Test utils.url', () => {
|
|
4
|
-
beforeAll(() => {
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
delete window.location;
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
9
|
-
// @ts-ignore
|
|
10
|
-
window.location = { origin: 'https://website.com' };
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
test('formatImgUrl url', () => {
|
|
14
|
-
expect(formatImgUrl({ url: '/url/random' })).toStrictEqual('https://website.com/url/random');
|
|
15
|
-
expect(formatImgUrl({ url: '/url/random?_=12345' })).toStrictEqual('https://website.com/url/random?_=12345');
|
|
16
|
-
expect(formatImgUrl({ url: '/url/random', timestamp: 'timestamp' })).toStrictEqual(
|
|
17
|
-
'https://website.com/url/random?_=timestamp',
|
|
18
|
-
);
|
|
19
|
-
expect(formatImgUrl({ url: '/url/random', timestamp: 123 })).toStrictEqual(
|
|
20
|
-
'https://website.com/url/random?_=123',
|
|
21
|
-
);
|
|
22
|
-
expect(formatImgUrl({ url: '/url/random?_=12345', timestamp: 123 })).toStrictEqual(
|
|
23
|
-
'https://website.com/url/random?_=12345',
|
|
24
|
-
);
|
|
25
|
-
expect(formatImgUrl({ url: 'https://otherwebsite.com/url/random?_=12345', timestamp: 123 })).toStrictEqual(
|
|
26
|
-
'https://otherwebsite.com/url/random?_=12345',
|
|
27
|
-
);
|
|
28
|
-
expect(formatImgUrl({ url: 'img/react/bookmark-noresult.png', height: 450 })).toStrictEqual(
|
|
29
|
-
'https://website.com/img/react/bookmark-noresult.png',
|
|
30
|
-
);
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
test('getFrom', () => {
|
|
34
|
-
expect(getFrom({})).toStrictEqual('');
|
|
35
|
-
expect(getFrom({ from: 'imagestatic' })).toStrictEqual('imagestatic/');
|
|
36
|
-
expect(getFrom({ from: 'imagestatic/' })).toStrictEqual('imagestatic/');
|
|
37
|
-
expect(getFrom({ from: '/imagestatic/' })).toStrictEqual('imagestatic/');
|
|
38
|
-
expect(getFrom({ from: undefined })).toStrictEqual('');
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
test('getSize', () => {
|
|
42
|
-
expect(getSize({ size: '32' })).toStrictEqual('32');
|
|
43
|
-
expect(getSize({ width: 32, height: 32 })).toStrictEqual('64x64');
|
|
44
|
-
expect(getSize({ width: 32, height: 32 }, 3)).toStrictEqual('96x96');
|
|
45
|
-
});
|
|
46
|
-
|
|
47
|
-
test('getUri', () => {
|
|
48
|
-
expect(getUri({ uri: 'article/32' })).toStrictEqual('article/32');
|
|
49
|
-
expect(getUri({ type: 'article', recordId: 32 })).toStrictEqual('article/32');
|
|
50
|
-
expect(getUri({ type: 'article', recordId: '32' })).toStrictEqual('article/32');
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
test('getFormat', () => {
|
|
54
|
-
expect(getFormat({})).toStrictEqual('png');
|
|
55
|
-
expect(getFormat({ format: 'odt' })).toStrictEqual('odt');
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
test('getTimestamp', () => {
|
|
59
|
-
expect(getTimestamp({})).toStrictEqual('');
|
|
60
|
-
expect(getTimestamp({ timestamp: 32 })).toStrictEqual('?_=32');
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
test('formatImgUrl other props', () => {
|
|
64
|
-
expect(formatImgUrl({ from: 'imagestatic', size: '32', uri: 'article/32' })).toStrictEqual(
|
|
65
|
-
'/imagestatic/32/article/32.png',
|
|
66
|
-
);
|
|
67
|
-
|
|
68
|
-
expect(
|
|
69
|
-
formatImgUrl({
|
|
70
|
-
from: '/imagestatic/',
|
|
71
|
-
width: 32,
|
|
72
|
-
height: 64,
|
|
73
|
-
type: 'article',
|
|
74
|
-
recordId: 74,
|
|
75
|
-
format: 'odt',
|
|
76
|
-
timestamp: '1234',
|
|
77
|
-
}),
|
|
78
|
-
).toStrictEqual('/imagestatic/64x128/article/74.odt?_=1234');
|
|
79
|
-
});
|
|
80
|
-
});
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { JRCList, JRCListProps } from './JRCList';
|
|
3
|
-
import { JRCIconButton } from '../JRCIconButton/JRCIconButton';
|
|
4
|
-
import { Meta, Story } from '@storybook/react';
|
|
5
|
-
import { action } from '@storybook/addon-actions';
|
|
6
|
-
import type { Orders } from 'jamespot-user-api';
|
|
7
|
-
import { Column } from 'react-table';
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
title: 'JRCList',
|
|
11
|
-
component: JRCList,
|
|
12
|
-
} as Meta;
|
|
13
|
-
|
|
14
|
-
const Template: Story<Pick<JRCListProps<MyData>, 'config'>> = (args) => {
|
|
15
|
-
const [data, setData] = React.useState<Array<MyData>>([
|
|
16
|
-
{ uri: 'article/3', col1: 3, col2: 5, col3: 2, col4: 7 },
|
|
17
|
-
{ uri: 'article/4', col1: 4, col2: 6, col3: 2, col4: 7 },
|
|
18
|
-
{ uri: 'article/7', col1: 7, col2: 9, col3: 2, col4: 7 },
|
|
19
|
-
]);
|
|
20
|
-
|
|
21
|
-
const columns: Array<Column<MyData>> = [
|
|
22
|
-
{
|
|
23
|
-
Header: 'Column 1',
|
|
24
|
-
accessor: 'col1',
|
|
25
|
-
width: 500,
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
Header: 'Column 2',
|
|
29
|
-
accessor: 'col2',
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
Header: 'Column 3',
|
|
33
|
-
accessor: 'col3',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
Header: 'Column 4',
|
|
37
|
-
accessor: 'col4',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
Header: 'Actions',
|
|
41
|
-
accessor: (originalRow: MyData, index: number) => {
|
|
42
|
-
return (
|
|
43
|
-
<>
|
|
44
|
-
<JRCIconButton
|
|
45
|
-
icon={'icon-fs-dropbox'}
|
|
46
|
-
onClick={() => alert(`Custom action clicked on DROPBOX icon on row ${index}.`)}
|
|
47
|
-
/>
|
|
48
|
-
<JRCIconButton
|
|
49
|
-
icon={'icon-fs-facebook'}
|
|
50
|
-
onClick={() => alert(`Custom action clicked on FACEBOOK icon on row ${index}.`)}
|
|
51
|
-
/>
|
|
52
|
-
</>
|
|
53
|
-
);
|
|
54
|
-
},
|
|
55
|
-
disableSortBy: true,
|
|
56
|
-
},
|
|
57
|
-
];
|
|
58
|
-
|
|
59
|
-
const eventHandlers = {
|
|
60
|
-
onSort: (sortBy: Orders) => {
|
|
61
|
-
if (sortBy && sortBy.length) {
|
|
62
|
-
alert(`column ${sortBy[0].name} has been sorted ${sortBy[0].sort}.`);
|
|
63
|
-
} else {
|
|
64
|
-
alert(`columns returned in unsorted state.`);
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
onPage: (page: number) => alert(`switch to page ${page}.`),
|
|
68
|
-
onDrag: (src: MyData, target: MyData, position: 'before' | 'after', records: Array<MyData>) => {
|
|
69
|
-
action('drag event callback');
|
|
70
|
-
setData(records);
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
return <JRCList {...args} data={data} columns={columns} eventHandlers={eventHandlers} />;
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
type MyData = {
|
|
78
|
-
uri: string;
|
|
79
|
-
col1: number;
|
|
80
|
-
col2: number;
|
|
81
|
-
col3: number;
|
|
82
|
-
col4: number;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export const Primary = Template.bind({});
|
|
86
|
-
const args: Pick<JRCListProps<MyData>, 'config'> = {
|
|
87
|
-
config: {
|
|
88
|
-
manualSortBy: true,
|
|
89
|
-
draggable: true,
|
|
90
|
-
pagination: {
|
|
91
|
-
page: 20,
|
|
92
|
-
perPage: 10,
|
|
93
|
-
nbResults: 1000,
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
Primary.args = args;
|