jamespot-react-components 1.0.3 → 1.0.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/jamespot-react-components.js +673 -350
- 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 +12 -4
- 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/JRCInputCheckbox/JRCInputCheckbox.d.ts +5 -2
- package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.d.ts +11 -0
- package/build/src/components/Form/Input/JRCInputDate/JRCInputDate.stories.d.ts +5 -0
- package/build/src/components/Form/Input/JRCInputText/JRCInputText.d.ts +1 -1
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.d.ts +15 -0
- package/build/src/components/Form/Input/JRCInputTextarea/JRCInputTextarea.stories.d.ts +5 -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/JRCButton/JRCButton.d.ts +25 -0
- package/build/src/components/JRCButton/JRCButtonConfig.d.ts +1 -2
- 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 +7 -0
- package/build/src/components/JRCEllipsis/JRCEllipsis.stories.d.ts +5 -0
- 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/JRCHref/JRCHref.d.ts +18 -10
- 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 +10 -3
- package/build/src/components/JRCList/JRCList.d.ts +16 -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 +6 -1
- package/build/src/components/JRCModal/JRCModal.stories.d.ts +1 -5
- package/build/src/components/JRCModal/JRCModal.styles.d.ts +0 -1
- 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 +6 -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/UseDidMountEffect.d.ts +1 -2
- package/build/src/hooks/UseLocalStorage.d.ts +2 -0
- package/build/src/index.d.ts +24 -7
- package/build/src/styles/theme.d.ts +7 -1
- package/build/src/types.d.ts +11 -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 +1 -0
- 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 -19
- 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 -30
- 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 -395
- package/src/components/Form/Input/JRCFormSelect/JRCFormSelectTag.tsx +0 -132
- 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 -84
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.tsx +0 -193
- package/src/components/Form/Input/JRCInputCheckbox/JRCInputCheckbox.types.ts +0 -27
- 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/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 -120
- package/src/components/JRCButton/JRCButtonConfig.tsx +0 -150
- package/src/components/JRCButton/JRCValidationButton.tsx +0 -85
- 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/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 -33
- package/src/components/JRCHref/JRCHref.tsx +0 -40
- 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 -100
- 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 -58
- package/src/components/JRCImg/url.util.ts +0 -108
- package/src/components/JRCImg/url.utils.test.ts +0 -74
- package/src/components/JRCList/JRCList.stories.tsx +0 -98
- package/src/components/JRCList/JRCList.styles.tsx +0 -213
- 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 -79
- package/src/components/JRCModal/JRCModal.tsx +0 -189
- 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 -120
- package/src/components/JRCThemeProvider/JRCThemeProvider.tsx +0 -26
- package/src/components/JRCThemeProvider/animation.css +0 -27
- 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 -92
- 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 -145
- 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 -12
- package/src/hooks/UseTimeout.ts +0 -24
- package/src/index.tsx +0 -200
- 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 -201
- package/src/styles/utils.tsx +0 -221
- package/src/translation/index.tsx +0 -2
- package/src/translation/lang.json +0 -29
- package/src/types/dataAttributes.ts +0 -7
- package/src/types/react-table-config.d.ts +0 -123
- package/src/types.ts +0 -95
- 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/src/variables.scss +0 -67
- package/tsconfig.json +0 -18
- package/webpack.config.js +0 -70
|
@@ -1,395 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Field, WrappedFieldInputProps } from 'redux-form';
|
|
3
|
-
import JRCFormFieldRender, { ExternalFormFieldRenderProps, InputState } from '../JRCFormFieldRender';
|
|
4
|
-
|
|
5
|
-
import styled, { ThemeContext } from 'styled-components';
|
|
6
|
-
import { useIntl } from 'react-intl';
|
|
7
|
-
import check from 'assets/check.svg';
|
|
8
|
-
import AsyncSelect from 'react-select/async';
|
|
9
|
-
|
|
10
|
-
import Select, { components, MenuProps } from 'react-select';
|
|
11
|
-
import { useControls } from '../ReduxFormControls';
|
|
12
|
-
import JRCIcon from 'components/JRCIcon/JRCIcon';
|
|
13
|
-
import { JRCValueLabelProps } from 'components/Form/Common/types';
|
|
14
|
-
import { OptionProps } from 'react-select';
|
|
15
|
-
import { SelectComponentsConfig } from 'react-select/src/components';
|
|
16
|
-
import { JRCStyledHref } from '../../../JRCHref/JRCHref';
|
|
17
|
-
|
|
18
|
-
const InfoImg = styled.img`
|
|
19
|
-
width: 12px;
|
|
20
|
-
height: 12px;
|
|
21
|
-
margin-right: 10px;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
`;
|
|
24
|
-
|
|
25
|
-
const DropdownIndicator = (props: any) => {
|
|
26
|
-
if (props.selectProps.inputState.valid) {
|
|
27
|
-
return <InfoImg src={check} />;
|
|
28
|
-
} else {
|
|
29
|
-
return <JRCIcon name="icon-angle-down" color="grey2" />;
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const getBorderColor = (state: any, themeContext: any) => {
|
|
34
|
-
const { valid, error } = state.selectProps.inputState;
|
|
35
|
-
if (state.isFocused) {
|
|
36
|
-
return themeContext.color.navy;
|
|
37
|
-
} else if (valid) {
|
|
38
|
-
return themeContext.color.green;
|
|
39
|
-
} else if (error) {
|
|
40
|
-
return themeContext.color.orange;
|
|
41
|
-
} else {
|
|
42
|
-
return themeContext.color.grey2;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const getSelectStyle = (themeContext: any, required: boolean, customStyle: any = {}) => ({
|
|
47
|
-
input: () => ({
|
|
48
|
-
padding: '9px 0 0 8px',
|
|
49
|
-
fontSize: '16px',
|
|
50
|
-
}),
|
|
51
|
-
control: (defaultStyles: any, state: any) => ({
|
|
52
|
-
...defaultStyles,
|
|
53
|
-
border: `1px solid ${getBorderColor(state, themeContext)}`,
|
|
54
|
-
color: themeContext.color.grey5,
|
|
55
|
-
width: `100%`,
|
|
56
|
-
minHeight: '40px',
|
|
57
|
-
borderRadius: `8px`,
|
|
58
|
-
fontStyle: 'normal',
|
|
59
|
-
boxShadow: 'none',
|
|
60
|
-
cursor: state.selectProps.isDisabled ? 'not-allowed' : 'pointer',
|
|
61
|
-
transition: 'border .2s, box-shadow .2s',
|
|
62
|
-
':hover': {
|
|
63
|
-
border: `1px solid ${getBorderColor(state, themeContext)}`,
|
|
64
|
-
...(state.selectProps.isDisabled
|
|
65
|
-
? null
|
|
66
|
-
: {
|
|
67
|
-
boxShadow: `0 0 2px ${state.isFocused ? themeContext.color.grey4 : themeContext.color.grey2}`,
|
|
68
|
-
}),
|
|
69
|
-
},
|
|
70
|
-
...customStyle.control,
|
|
71
|
-
}),
|
|
72
|
-
|
|
73
|
-
indicatorsContainer: (defaultStyles: any, state: any) => ({
|
|
74
|
-
...defaultStyles,
|
|
75
|
-
'i::before': {
|
|
76
|
-
color: state.isFocused ? themeContext.color.navy + `!important` : themeContext.color.grey3,
|
|
77
|
-
paddingRight: `8px`,
|
|
78
|
-
},
|
|
79
|
-
...customStyle.indicatorsContainer,
|
|
80
|
-
}),
|
|
81
|
-
clearIndicator: (defaultStyles: any) => ({
|
|
82
|
-
...defaultStyles,
|
|
83
|
-
paddingRight: '4px',
|
|
84
|
-
color: themeContext.color.grey2,
|
|
85
|
-
':hover': {
|
|
86
|
-
color: themeContext.color.overseas,
|
|
87
|
-
},
|
|
88
|
-
...customStyle.clearIndicator,
|
|
89
|
-
}),
|
|
90
|
-
placeholder: (defaultStyles: any) => {
|
|
91
|
-
return {
|
|
92
|
-
...defaultStyles,
|
|
93
|
-
color: `${themeContext.color.grey3}`,
|
|
94
|
-
marginLeft: '8px',
|
|
95
|
-
fontSize: '16px',
|
|
96
|
-
...customStyle.placeholder,
|
|
97
|
-
};
|
|
98
|
-
},
|
|
99
|
-
singleValue: (defaultStyles: any) => ({
|
|
100
|
-
...defaultStyles,
|
|
101
|
-
marginLeft: '8px',
|
|
102
|
-
...customStyle.singleValue,
|
|
103
|
-
}),
|
|
104
|
-
menu: (defaultStyles: any) => {
|
|
105
|
-
return {
|
|
106
|
-
...defaultStyles,
|
|
107
|
-
marginTop: '4px',
|
|
108
|
-
padding: '0',
|
|
109
|
-
borderRadius: '8px',
|
|
110
|
-
...customStyle.menu,
|
|
111
|
-
};
|
|
112
|
-
},
|
|
113
|
-
menuList: (defaultStyles: any) => {
|
|
114
|
-
return {
|
|
115
|
-
...defaultStyles,
|
|
116
|
-
...customStyle.menuList,
|
|
117
|
-
};
|
|
118
|
-
},
|
|
119
|
-
valueContainer: (defaultStyles: any) => {
|
|
120
|
-
return {
|
|
121
|
-
...defaultStyles,
|
|
122
|
-
...customStyle.valueContainer,
|
|
123
|
-
};
|
|
124
|
-
},
|
|
125
|
-
option: () => ({}),
|
|
126
|
-
group: (defaultStyles: any) => {
|
|
127
|
-
return {
|
|
128
|
-
...defaultStyles,
|
|
129
|
-
padding: '1.5px 0',
|
|
130
|
-
...customStyle.group,
|
|
131
|
-
};
|
|
132
|
-
},
|
|
133
|
-
groupHeading: (defaultStyles: any) => {
|
|
134
|
-
return {
|
|
135
|
-
...defaultStyles,
|
|
136
|
-
height: '32px',
|
|
137
|
-
lineHeight: '32px',
|
|
138
|
-
textTransform: 'none',
|
|
139
|
-
fontSize: '12px',
|
|
140
|
-
color: `${themeContext.color.grey5}`,
|
|
141
|
-
backgroundColor: `${themeContext.color.grey1}`,
|
|
142
|
-
...customStyle.groupHeading,
|
|
143
|
-
};
|
|
144
|
-
},
|
|
145
|
-
});
|
|
146
|
-
|
|
147
|
-
export const JRCFormSelectInput = (props: any) => {
|
|
148
|
-
const themeContext = React.useContext(ThemeContext);
|
|
149
|
-
const selectStyle = getSelectStyle(themeContext, props.required, props.customReactSelectStyle);
|
|
150
|
-
const intl = useIntl();
|
|
151
|
-
const { selectedOption, onInputChange, components, placeholder, options, ...otherProps } = props;
|
|
152
|
-
|
|
153
|
-
const [loadedOptions, setLoadedOptions] = React.useState(options);
|
|
154
|
-
|
|
155
|
-
React.useEffect(() => {
|
|
156
|
-
if (props.frontFiltering && props.asyncPromise) {
|
|
157
|
-
props.asyncPromise().then((res: any) => {
|
|
158
|
-
setLoadedOptions(res);
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
}, []);
|
|
162
|
-
|
|
163
|
-
return (
|
|
164
|
-
<Select
|
|
165
|
-
id={props.name}
|
|
166
|
-
styles={selectStyle}
|
|
167
|
-
components={{
|
|
168
|
-
IndicatorSeparator: () => null,
|
|
169
|
-
DropdownIndicator,
|
|
170
|
-
Option,
|
|
171
|
-
Menu,
|
|
172
|
-
...components,
|
|
173
|
-
}}
|
|
174
|
-
noOptionsMessage={() => intl.formatMessage({ id: 'GLOBAL_Form_No_Options' })}
|
|
175
|
-
loadingMessage={() => intl.formatMessage({ id: 'GLOBAL_Loading' })}
|
|
176
|
-
placeholder={placeholder || intl.formatMessage({ id: 'GLOBAL_Select' })}
|
|
177
|
-
defaultValue={selectedOption && selectedOption}
|
|
178
|
-
onInputChange={onInputChange && onInputChange}
|
|
179
|
-
isClearable={!props.required && !props.isMulti}
|
|
180
|
-
options={loadedOptions}
|
|
181
|
-
{...otherProps}
|
|
182
|
-
/>
|
|
183
|
-
);
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
export const JRCFormSelectAsyncInput = (props: any) => {
|
|
187
|
-
const themeContext = React.useContext(ThemeContext);
|
|
188
|
-
const selectStyle = getSelectStyle(themeContext, props.required, props.customReactSelectStyle);
|
|
189
|
-
const intl = useIntl();
|
|
190
|
-
const { selectedOption, onInputChange, components, placeholder, ...otherProps } = props;
|
|
191
|
-
|
|
192
|
-
return (
|
|
193
|
-
<AsyncSelect
|
|
194
|
-
id={props.name}
|
|
195
|
-
styles={selectStyle}
|
|
196
|
-
components={{
|
|
197
|
-
IndicatorSeparator: () => null,
|
|
198
|
-
DropdownIndicator,
|
|
199
|
-
Option,
|
|
200
|
-
Menu,
|
|
201
|
-
...components,
|
|
202
|
-
}}
|
|
203
|
-
noOptionsMessage={() => intl.formatMessage({ id: 'GLOBAL_Form_No_Options' })}
|
|
204
|
-
loadingMessage={() => intl.formatMessage({ id: 'GLOBAL_Loading' })}
|
|
205
|
-
placeholder={placeholder || intl.formatMessage({ id: 'GLOBAL_Select' })}
|
|
206
|
-
defaultValue={selectedOption && selectedOption}
|
|
207
|
-
onInputChange={onInputChange && onInputChange}
|
|
208
|
-
isClearable={!props.required && !props.isMulti}
|
|
209
|
-
{...otherProps}
|
|
210
|
-
/>
|
|
211
|
-
);
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
export const JRCFormSelectFieldRender = <TValue,>(
|
|
215
|
-
props: JRCFormSelectProps<TValue> & { input: WrappedFieldInputProps; inputState: InputState },
|
|
216
|
-
) => {
|
|
217
|
-
const { input, inputState } = props;
|
|
218
|
-
|
|
219
|
-
const { selectedOption } = props;
|
|
220
|
-
|
|
221
|
-
React.useEffect(() => {
|
|
222
|
-
// eslint-disable-next-line no-prototype-builtins
|
|
223
|
-
if (selectedOption && selectedOption.hasOwnProperty('value') && selectedOption.hasOwnProperty('label')) {
|
|
224
|
-
input.onChange(selectedOption);
|
|
225
|
-
}
|
|
226
|
-
}, []);
|
|
227
|
-
return (
|
|
228
|
-
<>
|
|
229
|
-
{props.asyncPromise && !props.frontFiltering ? (
|
|
230
|
-
<JRCFormSelectAsyncInput
|
|
231
|
-
{...input}
|
|
232
|
-
{...props}
|
|
233
|
-
inputState={inputState}
|
|
234
|
-
loadOptions={props.asyncPromise}
|
|
235
|
-
cacheOptions
|
|
236
|
-
defaultOptions
|
|
237
|
-
onBlur={() => input.onBlur(input.value)}
|
|
238
|
-
onChange={(value: TValue) => {
|
|
239
|
-
input.onChange(value);
|
|
240
|
-
}}
|
|
241
|
-
/>
|
|
242
|
-
) : (
|
|
243
|
-
<JRCFormSelectInput
|
|
244
|
-
{...input}
|
|
245
|
-
{...props}
|
|
246
|
-
inputState={inputState}
|
|
247
|
-
onBlur={() => input.onBlur(input.value)}
|
|
248
|
-
onChange={(value: TValue) => {
|
|
249
|
-
input.onChange(value);
|
|
250
|
-
}}
|
|
251
|
-
/>
|
|
252
|
-
)}
|
|
253
|
-
</>
|
|
254
|
-
);
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
const DefaultOptionLabel = styled.div.attrs((props) => ({ ...props, dashedInset: '5px' }))<{
|
|
258
|
-
isFocused: boolean;
|
|
259
|
-
isSelected: boolean;
|
|
260
|
-
marginBottom?: boolean;
|
|
261
|
-
}>`
|
|
262
|
-
padding: 4px 12px;
|
|
263
|
-
margin: 2px 4px ${(props) => (props.marginBottom ? '4px' : '2px')};
|
|
264
|
-
min-height: 32px;
|
|
265
|
-
display: flex;
|
|
266
|
-
align-items: center;
|
|
267
|
-
border-radius: 4px;
|
|
268
|
-
position: relative;
|
|
269
|
-
|
|
270
|
-
color: ${(props) => (props.isSelected ? props.theme.color.navy : 'inherit')};
|
|
271
|
-
background-color: ${(props) => (props.isFocused ? props.theme.color.grey0 : 'inherit')};
|
|
272
|
-
|
|
273
|
-
font-weight: ${(props) => (props.isSelected ? '500' : 'inherit')};
|
|
274
|
-
letter-spacing: ${(props) => (props.isSelected ? 'inherit' : '.1px')};
|
|
275
|
-
|
|
276
|
-
:hover {
|
|
277
|
-
cursor: pointer;
|
|
278
|
-
background: ${(props) => props.theme.color.grey0};
|
|
279
|
-
}
|
|
280
|
-
`;
|
|
281
|
-
|
|
282
|
-
const Option = (props: OptionProps<{ label: string }, boolean>) => {
|
|
283
|
-
const { isFocused, isSelected } = props;
|
|
284
|
-
|
|
285
|
-
return (
|
|
286
|
-
<components.Option {...props}>
|
|
287
|
-
<DefaultOptionLabel isFocused={isFocused} isSelected={isSelected}>
|
|
288
|
-
{props.children}
|
|
289
|
-
</DefaultOptionLabel>
|
|
290
|
-
</components.Option>
|
|
291
|
-
);
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
const Menu = (props: MenuProps<{ label: string }, boolean>) => {
|
|
295
|
-
return (
|
|
296
|
-
<components.Menu {...props}>
|
|
297
|
-
<>
|
|
298
|
-
{props.children}
|
|
299
|
-
{props.selectProps.extraLink && (
|
|
300
|
-
<DefaultOptionLabel isFocused={false} isSelected={false} marginBottom={true}>
|
|
301
|
-
<JRCStyledHref href={props.selectProps.extraLink.url} target="_blank">
|
|
302
|
-
{props.selectProps.extraLink.label}
|
|
303
|
-
</JRCStyledHref>
|
|
304
|
-
</DefaultOptionLabel>
|
|
305
|
-
)}
|
|
306
|
-
</>
|
|
307
|
-
</components.Menu>
|
|
308
|
-
);
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* Props of the JRCFormSelectField element
|
|
313
|
-
*
|
|
314
|
-
* @extends JRCWritableFormInputProps @see JRCWritableFormInputProps
|
|
315
|
-
*
|
|
316
|
-
* @member name redux form name
|
|
317
|
-
* @member required redux form required validation
|
|
318
|
-
* @member asyncPromise if provided, the select will be async.
|
|
319
|
-
* Async promise with the available filtered data.
|
|
320
|
-
* If not provided, the options prop should be provided
|
|
321
|
-
* @member frontFiltering if set to true, the data are loaded once and filtered in the front
|
|
322
|
-
* @member options in case of sync select, available data
|
|
323
|
-
* @member getOptionLabel format the option label. If not provided,
|
|
324
|
-
* the options or the async promise should have a label attribute
|
|
325
|
-
* @member getOptionValue format the option value. If not provided,
|
|
326
|
-
* the options or the async promise should have a value attribute
|
|
327
|
-
* @member isMulti defines whether the user can select multiple choices
|
|
328
|
-
* @member selectedOption defines an initial value. This property is going to change
|
|
329
|
-
* since it is partially incompatible with getOptionLabel and getOptionValue
|
|
330
|
-
* @member onInputChange when input select is changing
|
|
331
|
-
* @member isSearchable whether the user is allowed to filter results by typing
|
|
332
|
-
* @member isDisabled whether the input disabled
|
|
333
|
-
* @member components - react-select custom components
|
|
334
|
-
*
|
|
335
|
-
* @member customReactSelectStyle extra style
|
|
336
|
-
* @member extraLink link displayed at the bottom of the menu
|
|
337
|
-
*/
|
|
338
|
-
export interface JRCFormSelectProps<T>
|
|
339
|
-
extends ExternalFormFieldRenderProps,
|
|
340
|
-
Partial<React.ComponentPropsWithoutRef<'select'>> {
|
|
341
|
-
name: string;
|
|
342
|
-
required?: boolean;
|
|
343
|
-
placeholder?: string;
|
|
344
|
-
asyncPromise?: (inputValue: string, callback: () => Promise<T[]>) => void;
|
|
345
|
-
frontFiltering?: boolean;
|
|
346
|
-
options?: T[];
|
|
347
|
-
getOptionLabel?: (option: T) => JSX.Element | string;
|
|
348
|
-
getOptionValue?: (option: T) => string;
|
|
349
|
-
isMulti?: boolean;
|
|
350
|
-
selectedOption?: { label: JSX.Element | string; value: any };
|
|
351
|
-
onInputChange?: (inputValue: T, { action }: any) => void;
|
|
352
|
-
isSearchable?: boolean;
|
|
353
|
-
isDisabled?: boolean;
|
|
354
|
-
components?: SelectComponentsConfig<T, boolean>;
|
|
355
|
-
|
|
356
|
-
customReactSelectStyle?: {};
|
|
357
|
-
extraLink?: {
|
|
358
|
-
url: string;
|
|
359
|
-
label: string;
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Component used as a select sync or async
|
|
365
|
-
* @param props JRCFormSelectProps
|
|
366
|
-
* validation props: required
|
|
367
|
-
* @returns JSX.Element
|
|
368
|
-
*/
|
|
369
|
-
const JRCFormSelectField = <TValue,>(props: JRCFormSelectProps<TValue>) => {
|
|
370
|
-
const validate = useControls({
|
|
371
|
-
intl: useIntl(),
|
|
372
|
-
required: props.required,
|
|
373
|
-
});
|
|
374
|
-
return (
|
|
375
|
-
<Field
|
|
376
|
-
component={JRCFormFieldRender}
|
|
377
|
-
renderInputFct={(input: WrappedFieldInputProps, inputState: InputState) =>
|
|
378
|
-
JRCFormSelectFieldRender({ ...props, input, inputState })
|
|
379
|
-
}
|
|
380
|
-
validate={validate}
|
|
381
|
-
htmlFor={props.name}
|
|
382
|
-
{...props}
|
|
383
|
-
/>
|
|
384
|
-
);
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
const defaultProps: JRCFormSelectProps<JRCValueLabelProps> = {
|
|
388
|
-
name: 'select',
|
|
389
|
-
isSearchable: false,
|
|
390
|
-
components: {},
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
JRCFormSelectField.defaultProps = defaultProps;
|
|
394
|
-
|
|
395
|
-
export { JRCFormSelectField };
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
import { JRCFormSelectFieldRender, JRCFormSelectProps } from './JRCFormSelect';
|
|
4
|
-
import { JRCTag } from 'components/JRCTag/JRCTag';
|
|
5
|
-
import { useControls } from '../ReduxFormControls';
|
|
6
|
-
import { useIntl } from 'react-intl';
|
|
7
|
-
import { Field, WrappedFieldInputProps } from 'redux-form';
|
|
8
|
-
import JRCFormFieldRender, { InputState } from '../JRCFormFieldRender';
|
|
9
|
-
import { components, MultiValueProps, OptionProps, OptionTypeBase, SingleValueProps } from 'react-select';
|
|
10
|
-
import styled from 'styled-components';
|
|
11
|
-
|
|
12
|
-
const customStyle = {
|
|
13
|
-
menuList: {
|
|
14
|
-
padding: '0',
|
|
15
|
-
borderRadius: '8px',
|
|
16
|
-
},
|
|
17
|
-
valueContainer: {
|
|
18
|
-
padding: '0px 8px',
|
|
19
|
-
},
|
|
20
|
-
group: {
|
|
21
|
-
padding: '0',
|
|
22
|
-
marginBottom: '0.25em',
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const getOptionLabel = <isMulti extends boolean>(
|
|
27
|
-
props: OptionProps<OptionTypeBase, isMulti> | SingleValueProps<OptionTypeBase> | MultiValueProps<OptionTypeBase>,
|
|
28
|
-
) => {
|
|
29
|
-
// FIXME TYPESCRIPT-STRICT
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return props.selectProps.getOptionLabel(props.data);
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const JRCFormSelectTagRenderer = <T,>(
|
|
36
|
-
props: JRCFormSelectProps<T>,
|
|
37
|
-
input: WrappedFieldInputProps,
|
|
38
|
-
inputState: InputState,
|
|
39
|
-
) => {
|
|
40
|
-
const { components, ...otherProps } = props;
|
|
41
|
-
return (
|
|
42
|
-
<JRCFormSelectFieldRender
|
|
43
|
-
components={{
|
|
44
|
-
// FIXME TYPESCRIPT-STRICT
|
|
45
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
46
|
-
// @ts-ignore
|
|
47
|
-
MultiValue: (props: MultiValueProps<OptionTypeBase>) => (
|
|
48
|
-
<JRCTag
|
|
49
|
-
onMouseDown={props.removeProps.onMouseDown}
|
|
50
|
-
onClick={(e) => props.removeProps.onClick(e)}
|
|
51
|
-
focusable={true}
|
|
52
|
-
isFocused={props.isFocused}
|
|
53
|
-
uri={props.data.uri}
|
|
54
|
-
label={getOptionLabel(props)}
|
|
55
|
-
collapsed={input.value && input.value.length > 2}
|
|
56
|
-
tooltipDescription={getOptionLabel(props)}
|
|
57
|
-
/>
|
|
58
|
-
),
|
|
59
|
-
// FIXME TYPESCRIPT-STRICT
|
|
60
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
SingleValue: (props: SingleValueProps<OptionTypeBase>) => (
|
|
63
|
-
<JRCTag uri={props.data.uri} label={getOptionLabel(props)} />
|
|
64
|
-
),
|
|
65
|
-
// FIXME TYPESCRIPT-STRICT
|
|
66
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
67
|
-
// @ts-ignore
|
|
68
|
-
Option,
|
|
69
|
-
...components,
|
|
70
|
-
}}
|
|
71
|
-
input={input}
|
|
72
|
-
inputState={inputState}
|
|
73
|
-
customReactSelectStyle={customStyle}
|
|
74
|
-
{...otherProps}
|
|
75
|
-
/>
|
|
76
|
-
);
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* FIX: For an obscure reason, when the method is directly defined in the component props, we get an error
|
|
81
|
-
* @param props
|
|
82
|
-
* @returns
|
|
83
|
-
*/
|
|
84
|
-
const Option = <isMulti extends boolean>(props: OptionProps<OptionTypeBase, isMulti>) => {
|
|
85
|
-
return (
|
|
86
|
-
<components.Option {...props}>
|
|
87
|
-
<FullLength>
|
|
88
|
-
<JRCTag
|
|
89
|
-
uri={props.data.uri}
|
|
90
|
-
focusable={true}
|
|
91
|
-
isFocused={props.isFocused}
|
|
92
|
-
label={getOptionLabel(props)}
|
|
93
|
-
/>
|
|
94
|
-
</FullLength>
|
|
95
|
-
</components.Option>
|
|
96
|
-
);
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
const FullLength = styled.div`
|
|
100
|
-
& > * {
|
|
101
|
-
width: calc(100% - 28px);
|
|
102
|
-
margin: 2px 6px;
|
|
103
|
-
min-height: 32px;
|
|
104
|
-
}
|
|
105
|
-
`;
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Component used as a select sync or async with custom display: options are JRCTags
|
|
109
|
-
* options (or asyncPromise) elements should have a uri and a name attributes
|
|
110
|
-
* @param props JRCFormSelectProps
|
|
111
|
-
* validation props: required
|
|
112
|
-
* @returns JSX.Element
|
|
113
|
-
*/
|
|
114
|
-
const JRCFormSelectTagField = <TValue,>(props: JRCFormSelectProps<TValue>) => {
|
|
115
|
-
const validate = useControls({
|
|
116
|
-
intl: useIntl(),
|
|
117
|
-
required: props.required,
|
|
118
|
-
});
|
|
119
|
-
return (
|
|
120
|
-
<Field
|
|
121
|
-
component={JRCFormFieldRender}
|
|
122
|
-
renderInputFct={(input: WrappedFieldInputProps, inputState: InputState) =>
|
|
123
|
-
JRCFormSelectTagRenderer(props, input, inputState)
|
|
124
|
-
}
|
|
125
|
-
validate={validate}
|
|
126
|
-
htmlFor={props.name}
|
|
127
|
-
{...props}
|
|
128
|
-
/>
|
|
129
|
-
);
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
export { JRCFormSelectTagField };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { withReduxForm } from '../../../../storybook/decorators';
|
|
3
|
-
import { JRCFormSendAlertField } from './JRCFormSendAlert';
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: 'Inputs/old/Checkbox',
|
|
7
|
-
decorators: [withReduxForm],
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export const FormSendAlert: React.VFC<{}> = () => <JRCFormSendAlertField name="field-name" />;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl';
|
|
3
|
-
import { JRCFormCheckbox } from '../JRCFormCheckbox/JRCFormCheckbox';
|
|
4
|
-
|
|
5
|
-
export type JRCFormSendAlertInputProps = React.ComponentPropsWithoutRef<'input'>;
|
|
6
|
-
|
|
7
|
-
export const JRCFormSendAlertField = (props: { name: string }) => {
|
|
8
|
-
const intl = useIntl();
|
|
9
|
-
return (
|
|
10
|
-
<JRCFormCheckbox
|
|
11
|
-
checkboxMode="toggle"
|
|
12
|
-
name={props.name}
|
|
13
|
-
options={[
|
|
14
|
-
{
|
|
15
|
-
label: intl.formatMessage({ id: 'GLOBAL_Form_SendAlert' }),
|
|
16
|
-
value: 'YES',
|
|
17
|
-
},
|
|
18
|
-
]}
|
|
19
|
-
reduxFormValueType="boolean"
|
|
20
|
-
/>
|
|
21
|
-
);
|
|
22
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { withReduxForm } from '../../../../storybook/decorators';
|
|
3
|
-
import { JRCWritableFormInputProps } from '../JRCFormFieldRender';
|
|
4
|
-
import { JRCFormTextField } from './JRCFormText';
|
|
5
|
-
import { Meta, Story } from '@storybook/react';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'Inputs/old',
|
|
9
|
-
component: JRCFormTextField,
|
|
10
|
-
decorators: [withReduxForm],
|
|
11
|
-
} as Meta;
|
|
12
|
-
|
|
13
|
-
const Template: Story<JRCWritableFormInputProps> = (args) => <JRCFormTextField {...args} />;
|
|
14
|
-
|
|
15
|
-
export const InputText = Template.bind({});
|
|
16
|
-
InputText.args = {
|
|
17
|
-
name: 'name-storybook',
|
|
18
|
-
label: 'Nom de groupe',
|
|
19
|
-
description: "Le nom du groupe doit permettre en un clin d'oeil de connaitre le sujet du groupe",
|
|
20
|
-
placeholder: 'Présentations',
|
|
21
|
-
helper: { description: 'Ne faites pas commencer votre groupe par "Groupe de"', title: 'Indication' },
|
|
22
|
-
minLength: 3,
|
|
23
|
-
maxLength: 25,
|
|
24
|
-
required: false,
|
|
25
|
-
selected: false,
|
|
26
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Field, WrappedFieldInputProps } from 'redux-form';
|
|
3
|
-
import JRCFormFieldRender, { InputState, JRCWritableFormInputProps } from '../JRCFormFieldRender';
|
|
4
|
-
import { useControls } from '../ReduxFormControls';
|
|
5
|
-
import { MaxLengthIndicator, StyledInput } from '../JRCStyledInput';
|
|
6
|
-
import { useIntl } from 'react-intl';
|
|
7
|
-
|
|
8
|
-
const renderInput = (props: JRCWritableFormInputProps, input: any, inputState: InputState) => {
|
|
9
|
-
const inputRef = React.useRef<HTMLInputElement>(null);
|
|
10
|
-
React.useEffect(() => {
|
|
11
|
-
if (props.selected || false) {
|
|
12
|
-
inputRef && inputRef.current && inputRef.current.select();
|
|
13
|
-
}
|
|
14
|
-
}, [inputRef]);
|
|
15
|
-
return (
|
|
16
|
-
<>
|
|
17
|
-
<MaxLengthIndicator maxLength={props.maxLength} actualLength={input.value.length} />
|
|
18
|
-
<StyledInput ref={inputRef} id={props.name} type="text" {...props} {...input} {...inputState} />
|
|
19
|
-
</>
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Component used as a <input type="text"/>
|
|
25
|
-
* @param props JRCWritableFormInputProps
|
|
26
|
-
* validation props: minLength, maxLength, required
|
|
27
|
-
* @returns JSX.Element
|
|
28
|
-
*/
|
|
29
|
-
export const JRCFormTextField = (props: JRCWritableFormInputProps) => {
|
|
30
|
-
const validate = useControls({
|
|
31
|
-
intl: useIntl(),
|
|
32
|
-
minLength: props.minLength,
|
|
33
|
-
maxLength: props.maxLength,
|
|
34
|
-
required: props.required,
|
|
35
|
-
});
|
|
36
|
-
return (
|
|
37
|
-
<Field
|
|
38
|
-
component={JRCFormFieldRender}
|
|
39
|
-
renderInputFct={(input: WrappedFieldInputProps, inputState: InputState) =>
|
|
40
|
-
renderInput(props, input, inputState)
|
|
41
|
-
}
|
|
42
|
-
validate={validate}
|
|
43
|
-
htmlFor={props.name}
|
|
44
|
-
{...props}
|
|
45
|
-
/>
|
|
46
|
-
);
|
|
47
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { withReduxForm } from '../../../../storybook/decorators';
|
|
3
|
-
import { JRCFormTextareaField, TextareaFormInputProps } from './JRCFormTextarea';
|
|
4
|
-
import { Meta, Story } from '@storybook/react';
|
|
5
|
-
|
|
6
|
-
export default {
|
|
7
|
-
title: 'Inputs/old',
|
|
8
|
-
component: JRCFormTextareaField,
|
|
9
|
-
decorators: [withReduxForm],
|
|
10
|
-
} as Meta;
|
|
11
|
-
|
|
12
|
-
const Template: Story<TextareaFormInputProps> = (args) => <JRCFormTextareaField {...args} />;
|
|
13
|
-
export const Textarea = Template.bind({});
|
|
14
|
-
Textarea.args = {
|
|
15
|
-
name: 'name-storybook',
|
|
16
|
-
label: 'Description du groupe',
|
|
17
|
-
description:
|
|
18
|
-
'La description du groupe doit permettre à un utilisateur de déterminer les informations qui y sont partagées',
|
|
19
|
-
placeholder:
|
|
20
|
-
"Le groupe RSE est un groupe relatif à l'échange d'information sur la responsabilité sociétale de notre entreprise",
|
|
21
|
-
helper: {
|
|
22
|
-
description: 'Vous pouvez indiquer les sujets, la fréquence des communications, etc.',
|
|
23
|
-
title: 'Indication',
|
|
24
|
-
},
|
|
25
|
-
minLength: 3,
|
|
26
|
-
maxLength: 100,
|
|
27
|
-
selected: false,
|
|
28
|
-
};
|