From 47b0373be66e33855cf863d1f868aada8333bed9 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Wed, 22 Feb 2023 16:46:46 +0530 Subject: [PATCH 01/15] feat: replace style-components with emotion --- .stylelintrc | 15 +- README.md | 5 +- app/components/Clickable/index.tsx | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 4 +- app/components/ErrorHandler/index.tsx | 2 +- .../tests/__snapshots__/index.test.js.snap | 4 +- app/components/For/index.tsx | 2 +- app/components/Header/index.tsx | 22 +- .../tests/__snapshots__/index.test.tsx.snap | 6 +- app/components/LaunchDetails/index.tsx | 21 +- .../tests/__snapshots__/index.test.tsx.snap | 36 +- app/components/LaunchItem/index.tsx | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 8 +- app/components/LaunchList/index.tsx | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 10 +- app/components/Siderbar/index.tsx | 18 +- app/components/StyledContainer/index.tsx | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 2 +- app/components/T/index.tsx | 4 +- .../T/tests/__snapshots__/index.test.tsx.snap | 2 +- app/components/T/tests/index.test.tsx | 22 +- app/containers/App/index.tsx | 86 +- .../tests/__snapshots__/index.test.tsx.snap | 162 +--- app/containers/App/tests/index.test.tsx | 2 +- app/containers/HomeContainer/index.tsx | 7 +- .../tests/__snapshots__/index.test.tsx.snap | 12 +- .../tests/__snapshots__/index.test.tsx.snap | 10 +- app/containers/NotFoundPage/index.tsx | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 8 +- app/global-styles.ts | 6 +- app/themes/fonts.ts | 24 +- app/themes/media.ts | 18 +- app/themes/styles.ts | 2 +- app/themes/tests/fonts.test.ts | 65 +- app/themes/tests/styles.test.ts | 81 +- app/utils/constants.ts | 7 + app/utils/testUtils.tsx | 18 +- app/utils/useMedia.ts | 10 +- babel.config.js | 31 +- internals/scripts/extract-intl.js | 5 +- internals/webpack/webpack.config.base.js | 3 + package.json | 19 +- yarn.lock | 745 +++++++++++++++--- 43 files changed, 975 insertions(+), 539 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 9e72e47c..c7bf206d 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -1,7 +1,16 @@ { - "processors": ["stylelint-processor-styled-components"], "extends": [ - "stylelint-config-recommended", - "stylelint-config-styled-components" + "stylelint-config-recommended" + ], + "overrides": [ + { + "files": [ + "**/*.js" + ], + "customSyntax": "@stylelint/postcss-css-in-js", + "rules": { + "string-quotes": "single" + } + } ] } diff --git a/README.md b/README.md index eae3864c..620d2dc4 100644 --- a/README.md +++ b/README.md @@ -101,9 +101,9 @@ An enterprise react template application showcasing - Testing strategies, Global - [app/utils/graphqlUtils.ts](app/utils/graphqlUtils.ts) - [app/containers/HomeContainer/saga.ts](app/containers/HomeContainer/saga.ts) -## Styling using styled-components +## Styling using emotion -- Styling components using [Styled Components](https://styled-components.com) +- Styling components using [Emotion](https://emotion.sh/) Take a look at the following files @@ -201,7 +201,6 @@ An enterprise react template application showcasing - Testing strategies, Global - [app/services/tests/repoApi.test.ts](app/services/tests/repoApi.test.ts) - [app/components/T/tests/index.test.tsx](app/components/T/tests/index.test.tsx) - ## Misc ### Aliasing diff --git a/app/components/Clickable/index.tsx b/app/components/Clickable/index.tsx index de3177dd..5fe03d86 100644 --- a/app/components/Clickable/index.tsx +++ b/app/components/Clickable/index.tsx @@ -5,7 +5,7 @@ */ import React from 'react'; import PropTypes from 'prop-types'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; import T from '@components/T'; const StyledClickable = styled.div` diff --git a/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap b/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap index df8603fb..66dd2a37 100644 --- a/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap @@ -4,11 +4,11 @@ exports[` component tests should render and match the snapshot 1`]

List of launches diff --git a/app/components/ErrorHandler/index.tsx b/app/components/ErrorHandler/index.tsx index 78466e85..b3349c10 100644 --- a/app/components/ErrorHandler/index.tsx +++ b/app/components/ErrorHandler/index.tsx @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; import { Card } from 'antd'; import { T, If } from '@components'; diff --git a/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap b/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap index d872b38c..0abdf8f2 100644 --- a/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap +++ b/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap @@ -4,14 +4,14 @@ exports[` should render and match the snapshot 1`] = `

something_went_wrong diff --git a/app/components/For/index.tsx b/app/components/For/index.tsx index d93f1e96..7099ff69 100644 --- a/app/components/For/index.tsx +++ b/app/components/For/index.tsx @@ -6,7 +6,7 @@ import React, { PropsWithChildren } from 'react'; import Proptypes from 'prop-types'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; import { Property } from 'csstype'; type FlexContainerProps = { diff --git a/app/components/Header/index.tsx b/app/components/Header/index.tsx index ed95f48f..24f0ce72 100644 --- a/app/components/Header/index.tsx +++ b/app/components/Header/index.tsx @@ -5,24 +5,30 @@ */ import React from 'react'; import { Layout } from 'antd'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; +import { Link } from 'react-router-dom'; import { fonts, colors, media } from '@themes/index'; import T from '@components/T'; import logo from '@images/icon-512x512.png'; -import { Link } from 'react-router-dom'; +import { HEADER_HEIGHT, MIN_SIDEBAR_WIDTH } from '@app/utils/constants'; + +export const theme = { + headerHeight: HEADER_HEIGHT, + sidebarWidth: MIN_SIDEBAR_WIDTH +}; const StyledHeader = styled(Layout.Header)` && { &.ant-layout-header { padding: 0 1rem; - height: ${(props) => props.theme.headerHeight}; + height: ${theme.headerHeight}; align-items: center; justify-content: center; background-color: ${colors.primary}; gap: 1rem; - ${media.lessThan('mobile')` - padding-left: ${(props) => props.theme.sidebarWidth} - `} + @media (min-width: ${media.tablet}) { + padding-left: ${theme.sidebarWidth}; + } } display: flex; } @@ -32,9 +38,9 @@ const Logo = styled.img` height: 5rem; width: auto; object-fit: contain; - ${media.lessThan('tablet')` + @media (min-width: ${media.tablet}) { height: 4rem; - `} + } `; const Title = styled(T)` diff --git a/app/components/Header/tests/__snapshots__/index.test.tsx.snap b/app/components/Header/tests/__snapshots__/index.test.tsx.snap index 7eff55fb..4db5fb99 100644 --- a/app/components/Header/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/Header/tests/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[`

should render and match the snapshot 1`] = `
should render and match the snapshot 1`] = ` > logo

Wednesday Solutions diff --git a/app/components/LaunchDetails/index.tsx b/app/components/LaunchDetails/index.tsx index d6cad72b..be9f62bf 100644 --- a/app/components/LaunchDetails/index.tsx +++ b/app/components/LaunchDetails/index.tsx @@ -1,6 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import styled, { css } from 'styled-components'; +import styled from '@emotion/styled'; +import { css } from '@emotion/react'; import { If, T, For } from '@components'; import isEmpty from 'lodash-es/isEmpty'; import { colors, media } from '@app/themes'; @@ -15,13 +16,12 @@ const LaunchDetailsCard = styled(Card)` flex-direction: column; justify-content: space-between; color: ${(props) => props.color}; - - ${media.greaterThan('tablet')` - flex-direction: row; - gap: 1rem; - `} } margin: 1.5rem; + @media (min-width: ${media.tablet}) { + flex-direction: row; + gap: 1rem; + } background-color: ${colors.cardBg}; } `; @@ -30,10 +30,11 @@ const CustomImage = styled.img` && { width: 100%; height: auto; - ${media.greaterThan('tablet')` + @media (min-width: ${media.tablet}) { width: 50%; max-height: 698px; - object-fit: cover;`} + object-fit: cover; + } } `; @@ -44,9 +45,9 @@ const DetailsCard = styled.div` justify-content: center; gap: 1rem; margin: 3rem 0; - ${media.greaterThan('tablet')` + @media (min-width: ${media.tablet}) { width: 50%; - `} + } } `; diff --git a/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap index 1f82ba8c..b331e6b9 100644 --- a/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap @@ -4,62 +4,62 @@ exports[` tests should render and match the snapshot 1`] = `

CRS-21

Details SpaceX's 21st ISS resupply mission.

Rocket

Name Falcon 9

Type @@ -67,31 +67,31 @@ exports[` tests should render and match the snapshot 1`] = `

Ships

Name Ship 1

Type diff --git a/app/components/LaunchItem/index.tsx b/app/components/LaunchItem/index.tsx index a3843c17..d2d980be 100644 --- a/app/components/LaunchItem/index.tsx +++ b/app/components/LaunchItem/index.tsx @@ -2,7 +2,7 @@ import React, { useMemo } from 'react'; import { Launch } from '@app/containers/HomeContainer/types'; import { Button, Card } from 'antd'; import PropTypes from 'prop-types'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; import If from '@components/If'; import { T } from '@components/T'; import isEmpty from 'lodash-es/isEmpty'; diff --git a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap index 74fc7a48..26f9efb3 100644 --- a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap @@ -4,26 +4,26 @@ exports[` should render and match the snapshot 1`] = `

Thaicom 6

Mon, 6th January 2014, 06:06 PM

should render and match the snapshot 1`] = `

Thaicom 6

Mon, 6th January 2014, 06:06 PM

props.theme.headerHeight} 0 0 0; + padding: ${theme.headerHeight} 0 0 0; background-color: ${colors.primary}; - width: ${(props) => props.theme.sidebarWidth}; + width: ${theme.sidebarWidth}; text-align: center; } .ant-drawer-close { @@ -33,7 +39,7 @@ const SideBarStatic = styled.div` width: 6%; min-width: 4.5rem; max-width: 7rem; - min-height: calc(100vh - ${(props) => props.theme.headerHeight}); + min-height: calc(100vh - ${theme.headerHeight}); height: auto; background-color: ${colors.primary}; display: inline; @@ -51,8 +57,8 @@ const RocketLogo = styled.img` const MenuButton = styled(Button)` && { position: absolute; - top: calc(${(props) => props.theme.headerHeight} / -2); - left: calc(${(props) => props.theme.sidebarWidth} / 2); + top: calc(${theme.headerHeight} / -2); + left: calc(${theme.sidebarWidth} / 2); transform: translate(-50%, -50%); } `; diff --git a/app/components/StyledContainer/index.tsx b/app/components/StyledContainer/index.tsx index 471b5d3a..9eee9d8d 100644 --- a/app/components/StyledContainer/index.tsx +++ b/app/components/StyledContainer/index.tsx @@ -1,4 +1,4 @@ -import styled from 'styled-components'; +import styled from '@emotion/styled'; type StyledContainerProps = { maxWidth?: number; diff --git a/app/components/StyledContainer/tests/__snapshots__/index.test.tsx.snap b/app/components/StyledContainer/tests/__snapshots__/index.test.tsx.snap index 6fc0d82e..64825027 100644 --- a/app/components/StyledContainer/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/StyledContainer/tests/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[` tests should render and match the snapshot 1`] = `
diff --git a/app/components/T/index.tsx b/app/components/T/index.tsx index 411e4b03..bac6d14c 100644 --- a/app/components/T/index.tsx +++ b/app/components/T/index.tsx @@ -5,7 +5,7 @@ */ import React, { memo } from 'react'; -import styled, { FlattenSimpleInterpolation } from 'styled-components'; +import styled from '@emotion/styled'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import If from '@components/If'; @@ -13,7 +13,7 @@ import { fonts } from '@themes/index'; interface StyledTextProps { marginBottom?: string | number; - font?: () => FlattenSimpleInterpolation; + font?: () => {}; } const StyledText = styled.p` diff --git a/app/components/T/tests/__snapshots__/index.test.tsx.snap b/app/components/T/tests/__snapshots__/index.test.tsx.snap index a1ec4313..056e12b7 100644 --- a/app/components/T/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/T/tests/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[` component tests should render and match the snapshot 1`] = `

diff --git a/app/components/T/tests/index.test.tsx b/app/components/T/tests/index.test.tsx index b5a63e80..dc4f60a6 100644 --- a/app/components/T/tests/index.test.tsx +++ b/app/components/T/tests/index.test.tsx @@ -5,9 +5,11 @@ */ import React from 'react'; -import { renderWithIntl, getComponentStyles } from '@utils/testUtils'; +import { matchers } from '@emotion/jest'; +import { renderWithIntl } from '@utils/testUtils'; import { T } from '../index'; +expect.extend(matchers); describe(' component tests', () => { it('should render and match the snapshot', () => { const { baseElement } = renderWithIntl(); @@ -24,21 +26,25 @@ describe(' component tests', () => { expect(getAllByText(/List of launches/).length).toBe(1); }); - it('should have a margin-bottom of 5px when we pass marginBottom as 5', () => { + it('should have a margin-bottom of 5rem when we pass marginBottom as number', () => { const props = { marginBottom: 5, id: 'launches_list' }; - const styles = getComponentStyles(T, props); - expect(styles.marginBottom).toBe(`${props.marginBottom}rem`); + + const { getByTestId } = renderWithIntl(); + const styledText = getByTestId('t'); + expect(styledText).toHaveStyle({ marginBottom: '5rem' }); }); - it('should have a margin-bottom of 5px when we pass marginBottom as 5', () => { + it('should have a margin-bottom of 5px when we pass marginBottom as string', () => { const props = { - marginBottom: '5px', + marginBottom: '5', id: 'launches_list' }; - const styles = getComponentStyles(T, props); - expect(styles.marginBottom).toBe(props.marginBottom); + + const { getByTestId } = renderWithIntl(); + const styledText = getByTestId('t'); + expect(styledText).toHaveStyle({ marginBottom: '5' }); }); }); diff --git a/app/containers/App/index.tsx b/app/containers/App/index.tsx index a4030cee..26ee934a 100644 --- a/app/containers/App/index.tsx +++ b/app/containers/App/index.tsx @@ -7,25 +7,31 @@ * */ import React from 'react'; -import GlobalStyle from '@app/global-styles'; +import globalStyle from '@app/global-styles'; import { routeConfig } from '@app/routeConfig'; +import { Global } from '@emotion/react'; import { Layout } from 'antd'; import map from 'lodash-es/map'; import { withRouter } from 'react-router'; import { Route, Switch } from 'react-router-dom'; import { compose } from 'redux'; -import styled, { ThemeProvider } from 'styled-components'; +import { ThemeProvider as MUIThemeProvider, createTheme, StyledEngineProvider } from '@mui/material/styles'; +import styled from '@emotion/styled'; import For from '@components/For'; import Header from '@components/Header'; import { colors } from '@themes/index'; import Sidebar from '@app/components/Siderbar'; -import { HEADER_HEIGHT, MIN_SIDEBAR_WIDTH } from '@app/utils/constants'; -const theme = { - fg: colors.primary, - bg: colors.secondaryText, - headerHeight: HEADER_HEIGHT, - sidebarWidth: MIN_SIDEBAR_WIDTH -}; + +export const theme = createTheme({ + palette: { + primary: { + main: colors.primary + }, + secondary: { + main: colors.secondary + } + } +}); const CustomLayout = styled(Layout)` && { @@ -35,36 +41,38 @@ const CustomLayout = styled(Layout)` export function App() { return ( - -
- - - - } - of={map(Object.keys(routeConfig))} - renderItem={(routeKey, index) => { - const Component = routeConfig[routeKey].component; - return ( - { - const updatedProps = { - ...props, - ...routeConfig[routeKey].props - }; - return ; - }} - /> - ); - }} - /> - - - - + + +
+ + + + } + of={map(Object.keys(routeConfig))} + renderItem={(routeKey, index) => { + const Component = routeConfig[routeKey].component; + return ( + { + const updatedProps = { + ...props, + ...routeConfig[routeKey].props + }; + return ; + }} + /> + ); + }} + /> + + + + + ); } diff --git a/app/containers/App/tests/__snapshots__/index.test.tsx.snap b/app/containers/App/tests/__snapshots__/index.test.tsx.snap index 8fc5e748..e111a0bc 100644 --- a/app/containers/App/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/App/tests/__snapshots__/index.test.tsx.snap @@ -3,7 +3,7 @@ exports[` container tests should render and match the snapshot 1`] = `
container tests should render and match the snapshot 1`] = ` > logo

Wednesday Solutions

container tests should render and match the snapshot 1`] = ` > rocket-icon @@ -47,153 +47,7 @@ exports[` container tests should render and match the snapshot 1`] = `
-
-
- - - - - - - - -
- -
-
- - - - - SORT BY DATE - -
- -
-
-
-
-
-

- No results found for the search term. -

-
-
-

-

- - -
-
-
+ />
`; diff --git a/app/containers/App/tests/index.test.tsx b/app/containers/App/tests/index.test.tsx index 5817797b..78793661 100644 --- a/app/containers/App/tests/index.test.tsx +++ b/app/containers/App/tests/index.test.tsx @@ -11,7 +11,7 @@ describe(' container tests', () => { ); - await waitFor(() => expect(container.textContent).toContain('SORT BY')); + await waitFor(() => expect(container.textContent).toContain('Wednesday Solutions')); await waitFor(() => expect(container).toMatchSnapshot()); }); }); diff --git a/app/containers/HomeContainer/index.tsx b/app/containers/HomeContainer/index.tsx index 71d2dfc3..28b71902 100644 --- a/app/containers/HomeContainer/index.tsx +++ b/app/containers/HomeContainer/index.tsx @@ -6,7 +6,7 @@ import { AnyAction, compose } from 'redux'; import debounce from 'lodash-es/debounce'; import isEmpty from 'lodash-es/isEmpty'; import { SearchOutlined } from '@ant-design/icons'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; import { injectSaga } from 'redux-injectors'; import { Button, Input, Select } from 'antd'; import { selectLaunchData, selectLaunchListError, selectLoading } from './selectors'; @@ -39,10 +39,9 @@ const CustomHeader = styled.div` flex-direction: column; gap: 0.5rem; width: 100%; - - ${media.greaterThan('tablet')` + @media (min-width: ${media.tablet}) { flex-direction: row; - `} + } `; const CustomSearch = styled(Input)` diff --git a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap index 89f4319a..b2151882 100644 --- a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap @@ -4,13 +4,13 @@ exports[` tests should render and match the snapshot 1`] = `
tests should render and match the snapshot 1`] = ` />
tests should render and match the snapshot 1`] = `

diff --git a/app/containers/NotFoundPage/index.tsx b/app/containers/NotFoundPage/index.tsx index eb5c7baa..c71dece6 100644 --- a/app/containers/NotFoundPage/index.tsx +++ b/app/containers/NotFoundPage/index.tsx @@ -6,7 +6,7 @@ */ import React from 'react'; -import styled from 'styled-components'; +import styled from '@emotion/styled'; import { Image } from 'antd'; import notFoundImage from '@images/undraw_page_not_found_re_e9o6.svg'; import { T } from '@components'; diff --git a/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap b/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap index 95340519..0d9c446a 100644 --- a/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap @@ -2,16 +2,16 @@ exports[` tests should render and match the snapshot 1`] = `

Oops you ran out of Oxygen!, dont worry, you can go back home and start exploring again!

diff --git a/app/global-styles.ts b/app/global-styles.ts index c7db4ef7..f7e21fd2 100644 --- a/app/global-styles.ts +++ b/app/global-styles.ts @@ -1,7 +1,7 @@ -import { createGlobalStyle } from 'styled-components'; +import { css } from '@emotion/react'; import { colors } from '@app/themes'; -const GlobalStyle = createGlobalStyle` +const globalStyle = css` html, body { height: 100vh; @@ -35,4 +35,4 @@ const GlobalStyle = createGlobalStyle` } `; -export default GlobalStyle; +export default globalStyle; diff --git a/app/themes/fonts.ts b/app/themes/fonts.ts index 24f71753..795bef93 100644 --- a/app/themes/fonts.ts +++ b/app/themes/fonts.ts @@ -1,16 +1,22 @@ -import { css, FlattenSimpleInterpolation } from 'styled-components'; -import { media } from '@themes/index'; +import { css } from '@emotion/react'; +import media from '@themes/media'; // sizes -export const dynamicFontSize = (font: () => FlattenSimpleInterpolation, desktopDelta = 0, tabletDelta = 0) => css` +export const dynamicFontSize = (font: any, desktopDelta = 0, tabletDelta = 0) => css` ${font()} - ${media.greaterThan('tablet')`font-size: ${ - tabletDelta + parseInt((font()[0]! as string).replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) - }rem;`} -${media.greaterThan('desktop')`font-size: ${ - desktopDelta + parseInt((font()[0]! as string).replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) - }rem;`} + ${`@media (min-width: ${media.tablet}) { + font-size: ${ + /* eslint-disable-next-line */ + tabletDelta + parseInt(font()['styles'].replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) + }rem; +}`} + ${`@media (min-width: ${media.desktop}) { + font-size: ${ + /* eslint-disable-next-line */ + desktopDelta + parseInt(font()['styles'].replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) + }rem; +}`} `; const regular = () => css` font-size: 1rem; diff --git a/app/themes/media.ts b/app/themes/media.ts index 915f2494..ad8fe011 100644 --- a/app/themes/media.ts +++ b/app/themes/media.ts @@ -1,16 +1,10 @@ -import { generateMedia } from 'styled-media-query'; +import { SCREEN_BREAK_POINTS } from '@utils/constants'; -export const screenBreakPoints = { - MOBILE: 390, - TABLET: 768, - DESKTOP: 992, - LARGE_DESKTOP: 1400 +export const media = { + mobile: `${SCREEN_BREAK_POINTS.mobile / 16}em`, + tablet: `${SCREEN_BREAK_POINTS.tablet / 16}em`, + desktop: `${SCREEN_BREAK_POINTS.desktop / 16}em`, + largeDesktop: `${SCREEN_BREAK_POINTS.largeDesktop / 16}em` }; -const media = generateMedia({ - mobile: `${screenBreakPoints.MOBILE / 16}em`, - tablet: `${screenBreakPoints.TABLET / 16}em`, - desktop: `${screenBreakPoints.DESKTOP / 16}em` -}); - export default media; diff --git a/app/themes/styles.ts b/app/themes/styles.ts index 3650631a..6cd2bbc0 100644 --- a/app/themes/styles.ts +++ b/app/themes/styles.ts @@ -1,4 +1,4 @@ -import { css } from 'styled-components'; +import { css } from '@emotion/react'; import { colors } from '@themes/index'; export const configureFlex = ( diff --git a/app/themes/tests/fonts.test.ts b/app/themes/tests/fonts.test.ts index ca022bbf..8b25efc4 100644 --- a/app/themes/tests/fonts.test.ts +++ b/app/themes/tests/fonts.test.ts @@ -1,29 +1,25 @@ -import { css } from 'styled-components'; +import { css } from '@emotion/react'; import fonts, { dynamicFontSize } from '../fonts'; import media from '../media'; describe('fonts', () => { it('should have the correct font-size', () => { - expect(fonts.size.small()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:0.875rem')])); - expect(fonts.size.regular()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:1rem;')])); - expect(fonts.size.big()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:1.25rem;')])); - expect(fonts.size.large()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:1.5rem;')])); - expect(fonts.size.extraLarge()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:2rem;')])); + expect(fonts.size.small().styles).toEqual('font-size:0.875rem'); + expect(fonts.size.regular().styles).toEqual('font-size:1rem'); + expect(fonts.size.big().styles).toEqual('font-size:1.25rem'); + expect(fonts.size.large().styles).toEqual('font-size:1.5rem'); + expect(fonts.size.extraLarge().styles).toEqual('font-size:2rem'); }); it('should have the correct font-weight', () => { - expect(fonts.weights.light()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:light;')])); - expect(fonts.weights.bold()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:bold;')])); - expect(fonts.weights.normal()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:normal;')])); + expect(fonts.weights.light().styles).toEqual('font-weight:light'); + expect(fonts.weights.bold().styles).toEqual('font-weight:bold'); + expect(fonts.weights.normal().styles).toEqual('font-weight:normal'); }); it('should have the correct font-weight and font-size', () => { - expect(fonts.style.heading()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:bold;')])); - expect(fonts.style.heading()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:1.5rem;')])); - expect(fonts.style.subheading()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:bold;')])); - expect(fonts.style.subheading()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:1.25rem;')])); - expect(fonts.style.standard()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:1rem;')])); - expect(fonts.style.standard()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:normal;')])); - expect(fonts.style.subText()).toEqual(expect.arrayContaining([expect.stringContaining('font-size:0.875rem;')])); - expect(fonts.style.subText()).toEqual(expect.arrayContaining([expect.stringContaining('font-weight:normal;')])); + expect(fonts.style.heading().styles).toEqual('font-size:1.5rem; font-weight:bold;;'); + expect(fonts.style.subheading().styles).toEqual('font-size:1.25rem; font-weight:bold;;'); + expect(fonts.style.standard().styles).toEqual('font-size:1rem; font-weight:normal;;'); + expect(fonts.style.subText().styles).toEqual('font-size:0.875rem; font-weight:normal;;'); }); }); @@ -34,15 +30,20 @@ describe('Tests for dynamicFontSize method', () => { const tabletDelta = 0.4; const expectedResult = css` ${font()} - ${media.greaterThan('tablet')`font-size: ${ - tabletDelta + parseInt((font()[0]! as string).replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) - }rem;`} - ${media.greaterThan('desktop')`font-size: ${ - desktopDelta + - parseInt((font()[0]! as string).replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) - }rem;`} + ${`@media (min-width: ${media.tablet}) { + font-size: ${ + tabletDelta + parseInt(font().styles.replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) + }rem; + }`} + ${`@media (min-width: ${media.desktop}) { + font-size: ${ + desktopDelta + parseInt(font().styles.replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) + }rem; + }`} `; - expect(JSON.stringify(dynamicFontSize(font, desktopDelta, tabletDelta))).toEqual(JSON.stringify(expectedResult)); + expect(dynamicFontSize(font, desktopDelta, tabletDelta).styles.replace(/\s+/g, '')).toEqual( + expectedResult.styles.replace(/\s+/g, '') + ); }); it('should return default dynamic font stylings along with required media queries', () => { @@ -50,13 +51,13 @@ describe('Tests for dynamicFontSize method', () => { const expectedResult = css` ${font()} - ${media.greaterThan('tablet')`font-size: ${ - 0 + parseInt((font()[0]! as string).replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) - }rem;`} - ${media.greaterThan('desktop')`font-size: ${ - 0 + parseInt((font()[0]! as string).replace('font-size:', '').replace('rem;', '').replace(/\s+/g, '')) - }rem;`} + ${`@media (min-width: ${media.tablet}) { + font-size: ${parseInt(font().styles.replace('font-size:', '').replace('rem;', '').replace(/\s+/g, ''))}rem; + }`} + ${`@media (min-width: ${media.desktop}) { + font-size: ${parseInt(font().styles.replace('font-size:', '').replace('rem;', '').replace(/\s+/g, ''))}rem; + }`} `; - expect(JSON.stringify(dynamicFontSize(font))).toEqual(JSON.stringify(expectedResult)); + expect(dynamicFontSize(font).styles.replace(/\s+/g, '')).toEqual(expectedResult.styles.replace(/\s+/g, '')); }); }); diff --git a/app/themes/tests/styles.test.ts b/app/themes/tests/styles.test.ts index 72a1d230..adb66261 100644 --- a/app/themes/tests/styles.test.ts +++ b/app/themes/tests/styles.test.ts @@ -1,4 +1,4 @@ -import { css } from 'styled-components'; +import { css } from '@emotion/react'; import * as colors from '../colors'; import styles, { configureFlex } from '../styles'; @@ -10,7 +10,7 @@ describe('Tests for styles', () => { expectedResult = css` height: ${value}rem; `; - expect(height(value)).toEqual(expectedResult); + expect(height(value).styles).toEqual(expectedResult.styles); }); it('should return the z-index styling according to the value passed', () => { @@ -18,7 +18,7 @@ describe('Tests for styles', () => { expectedResult = css` z-index: ${zIndexValue}; `; - expect(styles.zIndex(zIndexValue)).toEqual(expectedResult); + expect(styles.zIndex(zIndexValue).styles).toEqual(expectedResult.styles); }); it('should return the textEllipsis styling according to the width passed', () => { @@ -29,14 +29,14 @@ describe('Tests for styles', () => { width: ${width}; text-overflow: ellipsis; `; - expect(styles.textEllipsis(width)).toEqual(expectedResult); + expect(styles.textEllipsis(width).styles).toEqual(expectedResult.styles); }); it('should return primaryBackgroundColor styling', () => { expectedResult = css` background-color: ${colors.primary}; `; - expect(styles.primaryBackgroundColor()).toEqual(expectedResult); + expect(styles.primaryBackgroundColor().styles).toEqual(expectedResult.styles); }); it('should return the boxShadow stylings according to values passed', () => { @@ -48,21 +48,21 @@ describe('Tests for styles', () => { expectedResult = css` box-shadow: ${hOffset}px ${vOffset}px ${blur}px ${spread}px ${color}; `; - expect(styles.boxShadow(hOffset, vOffset, blur, spread, color)).toEqual(expectedResult); + expect(styles.boxShadow(hOffset, vOffset, blur, spread, color).styles).toEqual(expectedResult.styles); }); it('should return the borderRaduis stylings according to the radius value and types passed', () => { let radius: number | string = 12; - let expectedResult = css` + expectedResult = css` border-radius: ${radius + `${typeof radius === `string` ? `;` : `px`}`}; `; - expect(styles.borderRadius(radius)).toEqual(expectedResult); + expect(styles.borderRadius(radius).styles).toEqual(expectedResult.styles); radius = '12px'; expectedResult = css` border-radius: ${radius + `${typeof radius === `string` ? `;` : `px`}`}; `; - expect(styles.borderRadius(radius)).toEqual(expectedResult); + expect(styles.borderRadius(radius).styles).toEqual(expectedResult.styles); }); it('should return the borderWithRadius stylings according to values passed', () => { @@ -74,7 +74,7 @@ describe('Tests for styles', () => { border: ${width}px ${type} ${color}; ${styles.borderRadius(radius)} `; - expect(styles.borderWithRadius(width, type, color, radius)).toEqual(expectedResult); + expect(styles.borderWithRadius(width, type, color, radius).styles).toEqual(expectedResult.styles); }); it('should return borderRadiusBottom stylings according to the bottomRadius value passed', () => { @@ -83,7 +83,7 @@ describe('Tests for styles', () => { border-bottom-left-radius: ${bottomRadius}px; border-bottom-right-radius: ${bottomRadius}px; `; - expect(styles.borderRadiusBottom(bottomRadius)).toEqual(expectedResult); + expect(styles.borderRadiusBottom(bottomRadius).styles).toEqual(expectedResult.styles); }); it('should return borderRadiusTop stylings according to the topRadius value passed', () => { @@ -92,7 +92,7 @@ describe('Tests for styles', () => { border-top-left-radius: ${topRadius}px; border-top-right-radius: ${topRadius}px; `; - expect(styles.borderRadiusTop(topRadius)).toEqual(expectedResult); + expect(styles.borderRadiusTop(topRadius).styles).toEqual(expectedResult.styles); }); it('should return the margin-top Styling according to the top distance value provided', () => { @@ -100,7 +100,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-top: ${marginTop}rem; `; - expect(styles.margin.top(marginTop)).toEqual(expectedResult); + expect(styles.margin.top(marginTop).styles).toEqual(expectedResult.styles); }); it('should return the margin-bottom Styling according to the bottom distance value provided', () => { @@ -108,7 +108,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-bottom: ${marginBottom}rem; `; - expect(styles.margin.bottom(marginBottom)).toEqual(expectedResult); + expect(styles.margin.bottom(marginBottom).styles).toEqual(expectedResult.styles); }); it('should return the margin-left Styling according to the left distance value provided', () => { @@ -116,7 +116,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-left: ${marginLeft}rem; `; - expect(styles.margin.left(marginLeft)).toEqual(expectedResult); + expect(styles.margin.left(marginLeft).styles).toEqual(expectedResult.styles); }); it('should return the margin-left Styling according to the left distance value provided', () => { @@ -124,7 +124,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-right: ${marginRight}rem; `; - expect(styles.margin.right(marginRight)).toEqual(expectedResult); + expect(styles.margin.right(marginRight).styles).toEqual(expectedResult.styles); }); it('should return the vertical margin styilngs according to the verticalMargin value passed', () => { @@ -133,7 +133,7 @@ describe('Tests for styles', () => { margin-top: ${verticalMargin}rem; margin-bottom: ${verticalMargin}rem; `; - expect(styles.margin.vertical(verticalMargin)).toEqual(expectedResult); + expect(styles.margin.vertical(verticalMargin).styles).toEqual(expectedResult.styles); }); it('should return the horizontal margin styilngs according to the horizontalMargin value passed', () => { @@ -142,22 +142,23 @@ describe('Tests for styles', () => { margin-left: ${horizontalMargin}rem; margin-right: ${horizontalMargin}rem; `; - expect(styles.margin.horizontal(horizontalMargin)).toEqual(expectedResult); + expect(styles.margin.horizontal(horizontalMargin).styles).toEqual(expectedResult.styles); }); it('should return the row stylings', () => { - expect(styles.flexConfig.row()).toEqual(css` + expectedResult = css` display: flex; flex: 1; flex-direction: row; - `); + `; + expect(styles.flexConfig.row().styles).toEqual(expectedResult.styles); }); it('should return the rowCenter stylings', () => { expectedResult = css` ${configureFlex('row', 'center', 'center', 'center')}; `; - expect(styles.flexConfig.rowCenter()).toEqual(expectedResult); + expect(styles.flexConfig.rowCenter().styles).toEqual(expectedResult.styles); }); it('should return the stylings of column', () => { @@ -166,14 +167,14 @@ describe('Tests for styles', () => { flex: 1; flex-direction: column; `; - expect(styles.flexConfig.column()).toEqual(expectedResult); + expect(styles.flexConfig.column().styles).toEqual(expectedResult.styles); }); it('should return the unequalColumns stylings', () => { expectedResult = css` ${configureFlex('column', '', '', '', 0, 0, 0)}; `; - expect(styles.flexConfig.unequalColumns()).toEqual(expectedResult); + expect(styles.flexConfig.unequalColumns().styles).toEqual(expectedResult.styles); }); it('should return default height stylings', () => { @@ -181,7 +182,7 @@ describe('Tests for styles', () => { expectedResult = css` height: ${height}rem; `; - expect(styles.height()).toEqual(expectedResult); + expect(styles.height().styles).toEqual(expectedResult.styles); }); it('should return default marginTop stylings', () => { @@ -189,7 +190,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-top: ${marginTop}rem; `; - expect(styles.margin.top()).toEqual(expectedResult); + expect(styles.margin.top().styles).toEqual(expectedResult.styles); }); it('should return default marginLeft stylings', () => { @@ -197,7 +198,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-left: ${marginLeft}rem; `; - expect(styles.margin.left()).toEqual(expectedResult); + expect(styles.margin.left().styles).toEqual(expectedResult.styles); }); it('should return default marginRight stylings', () => { @@ -205,7 +206,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-right: ${marginRight}rem; `; - expect(styles.margin.right()).toEqual(expectedResult); + expect(styles.margin.right().styles).toEqual(expectedResult.styles); }); it('should return default marginBottom stylings', () => { @@ -213,7 +214,7 @@ describe('Tests for styles', () => { expectedResult = css` margin-bottom: ${marginBottom}rem; `; - expect(styles.margin.bottom()).toEqual(expectedResult); + expect(styles.margin.bottom().styles).toEqual(expectedResult.styles); }); it('should return default verticalMargin stylings', () => { @@ -222,7 +223,7 @@ describe('Tests for styles', () => { margin-top: ${verticalMargin}rem; margin-bottom: ${verticalMargin}rem; `; - expect(styles.margin.vertical()).toEqual(expectedResult); + expect(styles.margin.vertical().styles).toEqual(expectedResult.styles); }); it('should return default horizontalMargin stylings', () => { @@ -231,7 +232,7 @@ describe('Tests for styles', () => { margin-left: ${horizontalMargin}rem; margin-right: ${horizontalMargin}rem; `; - expect(styles.margin.horizontal()).toEqual(expectedResult); + expect(styles.margin.horizontal().styles).toEqual(expectedResult.styles); }); it('should return default borderRadiusBottom stylings', () => { @@ -240,7 +241,7 @@ describe('Tests for styles', () => { border-bottom-left-radius: ${bottomRadius}px; border-bottom-right-radius: ${bottomRadius}px; `; - expect(styles.borderRadiusBottom()).toEqual(expectedResult); + expect(styles.borderRadiusBottom().styles).toEqual(expectedResult.styles); }); it('should return default borderRadiusTop stylings', () => { @@ -249,7 +250,7 @@ describe('Tests for styles', () => { border-top-left-radius: ${topRadius}px; border-top-right-radius: ${topRadius}px; `; - expect(styles.borderRadiusTop()).toEqual(expectedResult); + expect(styles.borderRadiusTop().styles).toEqual(expectedResult.styles); }); it('should return default borderWithRadius stylings', () => { @@ -262,7 +263,7 @@ describe('Tests for styles', () => { border: ${width}px ${type} ${color}; ${styles.borderRadius(radius)} `; - expect(styles.borderWithRadius()).toEqual(expectedResult); + expect(styles.borderWithRadius().styles).toEqual(expectedResult.styles); }); it('should return default boxShadow stylings', () => { @@ -275,7 +276,7 @@ describe('Tests for styles', () => { expectedResult = css` box-shadow: ${hOffset}px ${vOffset}px ${blur}px ${spread}px ${color}; `; - expect(styles.boxShadow()).toEqual(expectedResult); + expect(styles.boxShadow().styles).toEqual(expectedResult.styles); }); it('should return default z-index stylings', () => { @@ -283,7 +284,7 @@ describe('Tests for styles', () => { expectedResult = css` z-index: ${z}; `; - expect(styles.zIndex()).toEqual(expectedResult); + expect(styles.zIndex().styles).toEqual(expectedResult.styles); }); it('should return default textEllipsis stylings', () => { @@ -294,7 +295,7 @@ describe('Tests for styles', () => { width: ${width}; text-overflow: ellipsis; `; - expect(styles.textEllipsis()).toEqual(expectedResult); + expect(styles.textEllipsis().styles).toEqual(expectedResult.styles); }); }); @@ -326,9 +327,9 @@ describe('Tests for ConfigureFlex method', () => { flex-grow: ${flexGrow}; flex-shrink: ${flexShrink}; `; - expect(configureFlex(direction, justifyContent, alignItems, alignContent, flexBasis, flexGrow, flexShrink)).toEqual( - expectedResult - ); + expect( + configureFlex(direction, justifyContent, alignItems, alignContent, flexBasis, flexGrow, flexShrink).styles + ).toEqual(expectedResult.styles); }); it('should return the default css styling accordingly', () => { direction = 'row'; @@ -348,6 +349,6 @@ describe('Tests for ConfigureFlex method', () => { flex-grow: ${flexGrow}; flex-shrink: ${flexShrink}; `; - expect(JSON.stringify(configureFlex())).toEqual(JSON.stringify(expectedResult)); + expect(configureFlex().styles).toEqual(expectedResult.styles); }); }); diff --git a/app/utils/constants.ts b/app/utils/constants.ts index cdbcc932..9ffe0d7f 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -1,3 +1,10 @@ export const HEADER_HEIGHT = '7rem'; export const MIN_SIDEBAR_WIDTH = '4.5rem'; export const MOBILE_DRAWER_BREAKPOINT = 450; + +export const SCREEN_BREAK_POINTS = { + mobile: 320, + tablet: 768, + desktop: 992, + largeDesktop: 1400 +}; diff --git a/app/utils/testUtils.tsx b/app/utils/testUtils.tsx index 3c0b5e45..fb7a0b8f 100644 --- a/app/utils/testUtils.tsx +++ b/app/utils/testUtils.tsx @@ -3,12 +3,13 @@ import { IntlProvider } from 'react-intl'; import { render } from '@testing-library/react'; import { Provider } from 'react-redux'; import { Route, Router } from 'react-router-dom'; -import { ThemeProvider } from 'styled-components'; +import { ThemeProvider } from '@mui/material/styles'; import configureStore from '@app/configureStore'; import { DEFAULT_LOCALE, translationMessages } from '@app/i18n'; import ConnectedLanguageProvider from '@containers/LanguageProvider'; import IntlGlobalProvider from '@components/IntlGlobalProvider'; import history from './history'; +import { theme } from '@containers/App'; export const renderWithIntl = (children: React.ReactNode) => render( @@ -17,23 +18,12 @@ export const renderWithIntl = (children: React.ReactNode) => ); -export const getComponentStyles = (Component: React.FC, props = {}) => { - renderWithIntl(Component(props)); - const { styledComponentId } = Component(props)!.type; - const componentRoots = document.getElementsByClassName(styledComponentId); - return window.getComputedStyle(componentRoots[0]); -}; - export const renderProvider = (children: React.ReactNode, { path }: { path?: string } = {}, renderFn = render) => { const store = configureStore({}).store; return renderFn( - + {path ? {children} : children} @@ -46,3 +36,5 @@ export const apiResponseGenerator = (ok: boolean, data: Data, error?: obj data, error }); + +export const getStyles = () => {}; diff --git a/app/utils/useMedia.ts b/app/utils/useMedia.ts index fda1c564..df3f7ac3 100644 --- a/app/utils/useMedia.ts +++ b/app/utils/useMedia.ts @@ -1,11 +1,11 @@ import useScreenType from 'react-screentype-hook'; -import { screenBreakPoints } from '@themes/media'; +import { SCREEN_BREAK_POINTS } from '@app/utils/constants'; export default function useMedia() { return useScreenType({ - mobile: screenBreakPoints.MOBILE, - tablet: screenBreakPoints.TABLET, - desktop: screenBreakPoints.DESKTOP, - largeDesktop: screenBreakPoints.LARGE_DESKTOP + mobile: SCREEN_BREAK_POINTS.mobile, + tablet: SCREEN_BREAK_POINTS.tablet, + desktop: SCREEN_BREAK_POINTS.desktop, + largeDesktop: SCREEN_BREAK_POINTS.largeDesktop }); } diff --git a/babel.config.js b/babel.config.js index 76bdcbae..51904430 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,6 +3,7 @@ module.exports = { [ '@babel/preset-env', { + shippedProposals: true, targets: { browsers: ['> 0.25%, not dead'] }, @@ -17,9 +18,27 @@ module.exports = { plugins: [ '@babel/plugin-proposal-optional-chaining', '@babel/plugin-syntax-optional-chaining', - 'styled-components', '@babel/plugin-proposal-class-properties', - '@babel/plugin-syntax-dynamic-import' + '@babel/plugin-syntax-dynamic-import', + [ + '@emotion', + { + importMap: { + '@mui/system': { + styled: { + canonicalImport: ['@emotion/styled', 'default'], + styledBaseImport: ['@mui/system', 'styled'] + } + }, + '@mui/material/styles': { + styled: { + canonicalImport: ['@emotion/styled', 'default'], + styledBaseImport: ['@mui/material/styles', 'styled'] + } + } + } + } + ] ], env: { production: { @@ -61,7 +80,13 @@ module.exports = { plugins: [ '@babel/plugin-transform-modules-commonjs', 'dynamic-import-node', - ['import', { libraryName: 'antd', style: true }] + ['import', { libraryName: 'antd', style: true }], + [ + '@emotion', + { + autoLabel: 'never' + } + ] ] } } diff --git a/internals/scripts/extract-intl.js b/internals/scripts/extract-intl.js index 29befca7..3200f382 100755 --- a/internals/scripts/extract-intl.js +++ b/internals/scripts/extract-intl.js @@ -18,12 +18,11 @@ const { appLocales, DEFAULT_LOCALE } = require('../../app/i18n'); const babel = require('../../babel.config.js'); const { presets } = babel; -let plugins = babel.plugins || []; +const plugins = babel.plugins || []; plugins.push('react-intl'); -// NOTE: styled-components plugin is filtered out as it creates errors when used with transform -plugins = plugins.filter(p => p !== 'styled-components'); + // Glob to match all js files except test files const FILES_TO_PARSE = 'app/**/!(*.test).js'; diff --git a/internals/webpack/webpack.config.base.js b/internals/webpack/webpack.config.base.js index e2959ef5..2183e843 100644 --- a/internals/webpack/webpack.config.base.js +++ b/internals/webpack/webpack.config.base.js @@ -169,6 +169,9 @@ module.exports = (options) => ({ '@images': path.resolve(__dirname, '../../app/images'), '@hooks': path.resolve(__dirname, '../../app/hooks'), moment$: path.resolve(__dirname, '../../node_modules/moment/moment.js'), + '@emotion/core': path.resolve(__dirname, '../../node_modules/moment/@emotion/react'), + '@emotion/styled': path.resolve(__dirname, '../../node_modules/@emotion/styled'), + 'emotion-theming': path.resolve(__dirname, '../../node_modules/@emotion/react'), '@ant-design/icons/lib/dist$': path.resolve(__dirname, './app/icons.js') }, extensions: ['.js', '.jsx', '.ts', '.tsx', '.react.js'], diff --git a/package.json b/package.json index cbbdb560..b1914e78 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "lint:ts": "npm run lint:eslint -- . --ext ts,tsx", "lint:staged": "lint-staged", "test:clean": "rimraf ./coverage", - "test": "cross-env NODE_ENV=test jest --coverage", + "test": "cross-env NODE_ENV=test jest --coverage --verbose", "test:staged": "jest --findRelatedTests", "test:watch": "cross-env NODE_ENV=test jest --watchAll", "test:tsc": "npx tsc --noEmit", @@ -79,9 +79,17 @@ "pre-commit": "lint:staged", "dependencies": { "@babel/helper-regex": "^7.10.5", + "@emotion/core": "^11.0.0", + "@emotion/react": "^11.10.6", + "@emotion/styled": "^11.10.6", "@formatjs/intl-relativetimeformat": "^9.1.6", + "@mui/icons-material": "^5.11.9", + "@mui/material": "^5.11.10", + "@mui/styled-engine": "^5.11.9", + "@mui/styled-engine-sc": "^5.11.9", "@redux-devtools/extension": "^3.2.2", "@reduxjs/toolkit": "^1.8.0", + "@stylelint/postcss-css-in-js": "^0.38.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "antd": "^4.9.3", @@ -109,6 +117,7 @@ "less-loader": "7.3.0", "lodash-es": "^4.17.21", "minimist": "1.2.3", + "postcss-syntax": "^0.36.2", "prop-types": "15.7.2", "react": "18.2.0", "react-dom": "18.2.0", @@ -123,7 +132,6 @@ "redux-saga": "1.1.3", "reselect": "4.0.0", "sanitize.css": "8.0.0", - "styled-components": "^5.3.5", "styled-media-query": "^2.1.2" }, "devDependencies": { @@ -141,6 +149,8 @@ "@babel/preset-typescript": "^7.16.7", "@babel/register": "7.14.5", "@babel/runtime": "^7.14.6", + "@emotion/babel-plugin": "^11.10.6", + "@emotion/jest": "^11.10.5", "@lcdp/offline-plugin": "^5.1.0", "@storybook/addon-actions": "^5.2.1", "@storybook/addon-knobs": "^5.2.1", @@ -156,7 +166,6 @@ "@types/react-helmet": "^6.1.5", "@types/react-redux": "^7.1.23", "@types/react-router-dom": "^5.3.3", - "@types/styled-components": "^5.1.24", "@typescript-eslint/eslint-plugin": "^5.15.0", "@typescript-eslint/parser": "^5.15.0", "add-asset-html-webpack-plugin": "3.2.0", @@ -169,7 +178,6 @@ "babel-plugin-import": "^1.13.3", "babel-plugin-lodash": "^3.3.4", "babel-plugin-react-intl": "3.0.1", - "babel-plugin-styled-components": "1.10.0", "babel-plugin-transform-react-remove-prop-types": "0.4.24", "circular-dependency-plugin": "5.2.2", "compare-versions": "3.4.0", @@ -204,7 +212,6 @@ "jest-cli": "27.0.5", "jest-coverage-badges": "^1.1.2", "jest-sonar": "^0.2.12", - "jest-styled-components": "6.3.1", "less": "^4.1.1", "less-loader": "7.3.0", "lint-staged": "8.1.5", @@ -226,8 +233,6 @@ "style-loader": "2.0.0", "stylelint": "10.0.1", "stylelint-config-recommended": "2.2.0", - "stylelint-config-styled-components": "0.1.1", - "stylelint-processor-styled-components": "1.6.0", "svg-url-loader": "7.1.1", "terser-webpack-plugin": "5.1.3", "typescript": "^4.6.2", diff --git a/yarn.lock b/yarn.lock index ea344d47..14e107ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,6 +9,14 @@ dependencies: "@jridgewell/trace-mapping" "^0.3.0" +"@ampproject/remapping@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + "@angular/compiler@8.2.14": version "8.2.14" resolved "https://registry.yarnpkg.com/@angular/compiler/-/compiler-8.2.14.tgz#46db7a9d1c17f236126518ff26480c160d5a6183" @@ -94,6 +102,13 @@ dependencies: "@babel/highlight" "^7.16.7" +"@babel/code-frame@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + "@babel/compat-data@^7.13.11", "@babel/compat-data@^7.14.5", "@babel/compat-data@^7.14.7": version "7.14.7" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.7.tgz#7b047d7a3a89a67d2258dc61f604f098f1bc7e08" @@ -109,6 +124,11 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.7.tgz#078d8b833fbbcc95286613be8c716cef2b519fa2" integrity sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ== +"@babel/compat-data@^7.20.5": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.0.tgz#c241dc454e5b5917e40d37e525e2f4530c399298" + integrity sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g== + "@babel/core@7.14.6", "@babel/core@>=7.2.2", "@babel/core@^7.1.0", "@babel/core@^7.7.2", "@babel/core@^7.7.5": version "7.14.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.6.tgz#e0814ec1a950032ff16c13a2721de39a8416fcab" @@ -151,6 +171,27 @@ json5 "^2.1.2" semver "^6.3.0" +"@babel/core@^7.17.9": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.0.tgz#1341aefdcc14ccc7553fcc688dd8986a2daffc13" + integrity sha512-PuxUbxcW6ZYe656yL3EAhpy7qXKq0DmYsrJLpbB8XrsCP9Nm+XCg9XFMb5vIDliPD7+U/+M+QJlH17XOcB7eXA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.21.0" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.21.0" + "@babel/helpers" "^7.21.0" + "@babel/parser" "^7.21.0" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.0" + "@babel/types" "^7.21.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + "@babel/core@^7.4.5": version "7.15.0" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.0.tgz#749e57c68778b73ad8082775561f67f5196aafa8" @@ -199,7 +240,17 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/helper-annotate-as-pure@^7.0.0", "@babel/helper-annotate-as-pure@^7.14.5": +"@babel/generator@^7.21.0": + version "7.21.1" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.1.tgz#951cc626057bc0af2c35cd23e9c64d384dea83dd" + integrity sha512-1lT45bAYlQhFn/BHivJs43AiW2rg3/UbLyShGfF3C0KmHvO5fSghWd5kBJy30kpRRucGzXStvnnCFniCR2kXAA== + dependencies: + "@babel/types" "^7.21.0" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz#7bf478ec3b71726d56a8ca5775b046fc29879e61" integrity sha512-EivH9EgBIb+G8ij1B2jAwSH36WnGvkQSEC6CkX/6v6ZFlw5fVOHvsgGF4uiEHO2GzMvunZb6tDLQEQSdrdocrA== @@ -259,6 +310,17 @@ browserslist "^4.17.5" semver "^6.3.0" +"@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + lru-cache "^5.1.1" + semver "^6.3.0" + "@babel/helper-create-class-features-plugin@^7.14.5": version "7.14.6" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.6.tgz#f114469b6c06f8b5c59c6c4e74621f5085362542" @@ -313,6 +375,11 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-environment-visitor@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + "@babel/helper-explode-assignable-expression@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.14.5.tgz#8aa72e708205c7bb643e45c73b4386cdf2a1f645" @@ -338,6 +405,14 @@ "@babel/template" "^7.16.7" "@babel/types" "^7.16.7" +"@babel/helper-function-name@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4" + integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg== + dependencies: + "@babel/template" "^7.20.7" + "@babel/types" "^7.21.0" + "@babel/helper-get-function-arity@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" @@ -366,6 +441,13 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-hoist-variables@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + "@babel/helper-member-expression-to-functions@^7.14.5": version "7.14.7" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz#97e56244beb94211fe277bd818e3a329c66f7970" @@ -401,6 +483,13 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-module-imports@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz#1e3ebdbbd08aad1437b428c50204db13c5a3ca6e" + integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== + dependencies: + "@babel/types" "^7.18.6" + "@babel/helper-module-transforms@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz#7de42f10d789b423eb902ebd24031ca77cb1e10e" @@ -443,6 +532,20 @@ "@babel/traverse" "^7.17.3" "@babel/types" "^7.17.0" +"@babel/helper-module-transforms@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.0.tgz#89a8f86ad748870e3d024e470b2e8405e869db67" + integrity sha512-eD/JQ21IG2i1FraJnTMbUarAUkA7G988ofehG5MDCRXaUU91rEBJuCeSoou2Sk1y4RbLYXzqEg1QLwEmRU4qcQ== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.0" + "@babel/types" "^7.21.0" + "@babel/helper-optimise-call-expression@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz#f27395a8619e0665b3f0364cddb41c25d71b499c" @@ -535,6 +638,13 @@ dependencies: "@babel/types" "^7.17.0" +"@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== + dependencies: + "@babel/types" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.14.5.tgz#96f486ac050ca9f44b009fbe5b7d394cab3a0ee4" @@ -556,6 +666,18 @@ dependencies: "@babel/types" "^7.16.7" +"@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" + integrity sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA== + dependencies: + "@babel/types" "^7.18.6" + +"@babel/helper-string-parser@^7.19.4": + version "7.19.4" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz#38d3acb654b4701a9b77fb0615a96f775c3a9e63" + integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== + "@babel/helper-validator-identifier@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8" @@ -571,6 +693,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== +"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": + version "7.19.1" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + "@babel/helper-validator-option@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3" @@ -581,6 +708,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz#b203ce62ce5fe153899b617c08957de860de4d23" integrity sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ== +"@babel/helper-validator-option@^7.18.6": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" + integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== + "@babel/helper-wrap-function@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.14.5.tgz#5919d115bf0fe328b8a5d63bcb610f51601f2bff" @@ -618,6 +750,15 @@ "@babel/traverse" "^7.17.3" "@babel/types" "^7.17.0" +"@babel/helpers@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" + integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.0" + "@babel/types" "^7.21.0" + "@babel/highlight@^7.0.0", "@babel/highlight@^7.14.5", "@babel/highlight@^7.8.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" @@ -636,6 +777,15 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + "@babel/parser@7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.9.4.tgz#68a35e6b0319bbc014465be43828300113f2f2e8" @@ -656,6 +806,11 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.7.tgz#fc19b645a5456c8d6fdb6cecd3c66c0173902800" integrity sha512-bm3AQf45vR4gKggRfvJdYJ0gFLoCbsPxiFLSH6hTVYABptNHY6l9NrhnucVjQ/X+SPtLANT9lc0fFhikj+VBRA== +"@babel/parser@^7.20.7", "@babel/parser@^7.21.0": + version "7.21.1" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.1.tgz#a8f81ee2fe872af23faea4b17a08fcc869de7bcc" + integrity sha512-JzhBFpkuhBNYUY7qs+wTzNmyCWUHEaAFpQQD2YfU1rPL38/L43Wvid0fFkiOCnHvsGncRZgEPyGnltABLcVDTg== + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e" @@ -1531,6 +1686,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.18.3", "@babel/runtime@^7.20.13": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" + integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== + dependencies: + regenerator-runtime "^0.13.11" + "@babel/template@^7.14.5", "@babel/template@^7.3.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" @@ -1549,7 +1711,16 @@ "@babel/parser" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.6", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.4.5", "@babel/traverse@^7.7.0", "@babel/traverse@^7.7.2": +"@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.1.6", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.5", "@babel/traverse@^7.7.0", "@babel/traverse@^7.7.2": version "7.14.7" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.7.tgz#64007c9774cfdc3abd23b0780bc18a3ce3631753" integrity sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ== @@ -1595,6 +1766,22 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/traverse@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.0.tgz#0e1807abd5db98e6a19c204b80ed1e3f5bca0edc" + integrity sha512-Xdt2P1H4LKTO8ApPfnO1KmzYMFpp7D/EinoXzLYN/cHcBNrVCAkAtGUcXnHXrl/VGktureU6fkQrHSBE2URfoA== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.21.0" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.21.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.21.0" + "@babel/types" "^7.21.0" + debug "^4.1.0" + globals "^11.1.0" + "@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.14.5", "@babel/types@^7.2.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4", "@babel/types@^7.7.0": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.5.tgz#3bb997ba829a2104cedb20689c4a5b8121d383ff" @@ -1619,6 +1806,15 @@ "@babel/helper-validator-identifier" "^7.16.7" to-fast-properties "^2.0.0" +"@babel/types@^7.18.6", "@babel/types@^7.20.2", "@babel/types@^7.20.7", "@babel/types@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.0.tgz#1da00d89c2f18b226c9207d96edbeb79316a1819" + integrity sha512-uR7NWq2VNFnDi7EYqiRz2Jv/VQIu38tu64Zy8TX2nQFQ6etJ9V/Rr2msW8BS132mum2rL645qpDrLtAJtVpuow== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -1634,6 +1830,23 @@ resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz#90420f9f9c6d3987f176a19a7d8e764271a2f55d" integrity sha512-Fxt+AfXgjMoin2maPIYzFZnQjAXjAL0PHscM5pRTtatFqB+vZxAM9tLp2Optnuw3QOQC40jTNeGYFOMvyf7v9g== +"@emotion/babel-plugin@^11.10.6": + version "11.10.6" + resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.10.6.tgz#a68ee4b019d661d6f37dec4b8903255766925ead" + integrity sha512-p2dAqtVrkhSa7xz1u/m9eHYdLi+en8NowrmXeF/dKtJpU8lCWli8RUAati7NcSl0afsBott48pdnANuD0wh9QQ== + dependencies: + "@babel/helper-module-imports" "^7.16.7" + "@babel/runtime" "^7.18.3" + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/serialize" "^1.1.1" + babel-plugin-macros "^3.1.0" + convert-source-map "^1.5.0" + escape-string-regexp "^4.0.0" + find-root "^1.1.0" + source-map "^0.5.7" + stylis "4.1.3" + "@emotion/cache@^10.0.27", "@emotion/cache@^10.0.9": version "10.0.29" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.29.tgz#87e7e64f412c060102d589fe7c6dc042e6f9d1e0" @@ -1644,6 +1857,17 @@ "@emotion/utils" "0.11.3" "@emotion/weak-memoize" "0.2.5" +"@emotion/cache@^11.10.5": + version "11.10.5" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.10.5.tgz#c142da9351f94e47527ed458f7bbbbe40bb13c12" + integrity sha512-dGYHWyzTdmK+f2+EnIGBpkz1lKc4Zbj2KHd4cX3Wi8/OWr5pKslNjc3yABKH4adRGCvSX4VDC0i04mrrq0aiRA== + dependencies: + "@emotion/memoize" "^0.8.0" + "@emotion/sheet" "^1.2.1" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + stylis "4.1.3" + "@emotion/core@^10.0.20", "@emotion/core@^10.0.9": version "10.1.1" resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.1.1.tgz#c956c1365f2f2481960064bcb8c4732e5fb612c3" @@ -1656,6 +1880,19 @@ "@emotion/sheet" "0.9.4" "@emotion/utils" "0.11.3" +"@emotion/core@^11.0.0": + version "11.0.0" + resolved "https://registry.yarnpkg.com/@emotion/core/-/core-11.0.0.tgz#d075867e07864119de7cfd5268c15012bd2d6290" + integrity sha512-w4sE3AmHmyG6RDKf6mIbtHpgJUSJ2uGvPQb8VXFL7hFjMPibE8IiehG8cMX3Ztm4svfCQV6KqusQbeIOkurBcA== + +"@emotion/css-prettifier@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@emotion/css-prettifier/-/css-prettifier-1.1.1.tgz#87f3104c057a55674ff464f9c4fdf7326847f0ea" + integrity sha512-dtiZLNN3dWP0mo/+VTPkzNrjp1wL6VRHOOSMn3XpQM4D/7xOVHEIQR6lT5Yj5Omun1REog5NFZ+5hxj+LtTIyQ== + dependencies: + "@emotion/memoize" "^0.8.0" + stylis "4.1.3" + "@emotion/css@^10.0.27", "@emotion/css@^10.0.9": version "10.0.27" resolved "https://registry.yarnpkg.com/@emotion/css/-/css-10.0.27.tgz#3a7458198fbbebb53b01b2b87f64e5e21241e14c" @@ -1670,6 +1907,11 @@ resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413" integrity sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow== +"@emotion/hash@^0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.0.tgz#c5153d50401ee3c027a57a177bc269b16d889cb7" + integrity sha512-14FtKiHhy2QoPIzdTcvh//8OyBlknNs2nXRwIhG904opCby3l+9Xaf/wuPvICBF0rc1ZCNBd3nKe9cd2mecVkQ== + "@emotion/is-prop-valid@0.8.8": version "0.8.8" resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" @@ -1677,22 +1919,47 @@ dependencies: "@emotion/memoize" "0.7.4" -"@emotion/is-prop-valid@^1.1.0": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.1.3.tgz#f0907a416368cf8df9e410117068e20fe87c0a3a" - integrity sha512-RFg04p6C+1uO19uG8N+vqanzKqiM9eeV1LDOG3bmkYmuOj7NbKNlFC/4EZq5gnwAIlcC/jOT24f8Td0iax2SXA== +"@emotion/is-prop-valid@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.0.tgz#7f2d35c97891669f7e276eb71c83376a5dc44c83" + integrity sha512-3aDpDprjM0AwaxGE09bOPkNxHpBd+kA6jty3RnaEXdweX1DF1U3VQpPYb0g1IStAuK7SVQ1cy+bNBBKp4W3Fjg== dependencies: - "@emotion/memoize" "^0.7.4" + "@emotion/memoize" "^0.8.0" + +"@emotion/jest@^11.10.5": + version "11.10.5" + resolved "https://registry.yarnpkg.com/@emotion/jest/-/jest-11.10.5.tgz#6aea1aec38e1c59e675702fa877644a6b1c18d05" + integrity sha512-LagosxybgisPlxfBGas9kGcNB5xTTX125WbjEVZiE3MEbb+dI4UYn0XIzrsilR8nUaQ5lH6yKUFrMmz7kB34vg== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/css-prettifier" "^1.1.1" + chalk "^4.1.0" + specificity "^0.4.1" + stylis "4.1.3" "@emotion/memoize@0.7.4": version "0.7.4" resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== -"@emotion/memoize@^0.7.4": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.5.tgz#2c40f81449a4e554e9fc6396910ed4843ec2be50" - integrity sha512-igX9a37DR2ZPGYtV6suZ6whr8pTFtyHL3K/oLUotxpSVO2ASaprmAe2Dkq7tBo7CRY7MMDrAa9nuQP9/YG8FxQ== +"@emotion/memoize@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.8.0.tgz#f580f9beb67176fa57aae70b08ed510e1b18980f" + integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== + +"@emotion/react@^11.10.6": + version "11.10.6" + resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.10.6.tgz#dbe5e650ab0f3b1d2e592e6ab1e006e75fd9ac11" + integrity sha512-6HT8jBmcSkfzO7mc+N1L9uwvOnlcGoix8Zn7srt+9ga0MjREo6lRpuVX0kzo6Jp6oTqDhREOFsygN6Ew4fEQbw== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.6" + "@emotion/cache" "^11.10.5" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + "@emotion/weak-memoize" "^0.3.0" + hoist-non-react-statics "^3.3.1" "@emotion/serialize@^0.11.15", "@emotion/serialize@^0.11.16": version "0.11.16" @@ -1705,11 +1972,27 @@ "@emotion/utils" "0.11.3" csstype "^2.5.7" +"@emotion/serialize@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.1.tgz#0595701b1902feded8a96d293b26be3f5c1a5cf0" + integrity sha512-Zl/0LFggN7+L1liljxXdsVSVlg6E/Z/olVWpfxUTxOAmi8NU7YoeWeLfi1RmnB2TATHoaWwIBRoL+FvAJiTUQA== + dependencies: + "@emotion/hash" "^0.9.0" + "@emotion/memoize" "^0.8.0" + "@emotion/unitless" "^0.8.0" + "@emotion/utils" "^1.2.0" + csstype "^3.0.2" + "@emotion/sheet@0.9.4": version "0.9.4" resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-0.9.4.tgz#894374bea39ec30f489bbfc3438192b9774d32e5" integrity sha512-zM9PFmgVSqBw4zL101Q0HrBVTGmpAxFZH/pYx/cjJT5advXguvcgjHFTCaIO3enL/xr89vK2bh0Mfyj9aa0ANA== +"@emotion/sheet@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-1.2.1.tgz#0767e0305230e894897cadb6c8df2c51e61a6c2c" + integrity sha512-zxRBwl93sHMsOj4zs+OslQKg/uhF38MB+OMKoCrVuS0nyTkqnau+BM3WGEoOptg9Oz45T/aIGs1qbVAsEFo3nA== + "@emotion/styled-base@^10.0.27": version "10.0.31" resolved "https://registry.yarnpkg.com/@emotion/styled-base/-/styled-base-10.0.31.tgz#940957ee0aa15c6974adc7d494ff19765a2f742a" @@ -1728,26 +2011,58 @@ "@emotion/styled-base" "^10.0.27" babel-plugin-emotion "^10.0.27" -"@emotion/stylis@0.8.5", "@emotion/stylis@^0.8.4": +"@emotion/styled@^11.10.6": + version "11.10.6" + resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-11.10.6.tgz#d886afdc51ef4d66c787ebde848f3cc8b117ebba" + integrity sha512-OXtBzOmDSJo5Q0AFemHCfl+bUueT8BIcPSxu0EGTpGk6DmI5dnhSzQANm1e1ze0YZL7TDyAyy6s/b/zmGOS3Og== + dependencies: + "@babel/runtime" "^7.18.3" + "@emotion/babel-plugin" "^11.10.6" + "@emotion/is-prop-valid" "^1.2.0" + "@emotion/serialize" "^1.1.1" + "@emotion/use-insertion-effect-with-fallbacks" "^1.0.0" + "@emotion/utils" "^1.2.0" + +"@emotion/stylis@0.8.5": version "0.8.5" resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.5.tgz#deacb389bd6ee77d1e7fcaccce9e16c5c7e78e04" integrity sha512-h6KtPihKFn3T9fuIrwvXXUOwlx3rfUvfZIcP5a6rh8Y7zjE3O06hT5Ss4S/YI1AYhuZ1kjaE/5EaOOI2NqSylQ== -"@emotion/unitless@0.7.5", "@emotion/unitless@^0.7.4": +"@emotion/unitless@0.7.5": version "0.7.5" resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.5.tgz#77211291c1900a700b8a78cfafda3160d76949ed" integrity sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg== +"@emotion/unitless@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.0.tgz#a4a36e9cbdc6903737cd20d38033241e1b8833db" + integrity sha512-VINS5vEYAscRl2ZUDiT3uMPlrFQupiKgHz5AA4bCH1miKBg4qtwkim1qPmJj/4WG6TreYMY111rEFsjupcOKHw== + +"@emotion/use-insertion-effect-with-fallbacks@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@emotion/use-insertion-effect-with-fallbacks/-/use-insertion-effect-with-fallbacks-1.0.0.tgz#ffadaec35dbb7885bd54de3fa267ab2f860294df" + integrity sha512-1eEgUGmkaljiBnRMTdksDV1W4kUnmwgp7X9G8B++9GYwl1lUdqSndSriIrTJ0N7LQaoauY9JJ2yhiOYK5+NI4A== + "@emotion/utils@0.11.3": version "0.11.3" resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.11.3.tgz#a759863867befa7e583400d322652a3f44820924" integrity sha512-0o4l6pZC+hI88+bzuaX/6BgOvQVhbt2PfmxauVaYOGgbsAw14wdKyvMCZXnsnsHys94iadcF+RG/wZyx6+ZZBw== +"@emotion/utils@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-1.2.0.tgz#9716eaccbc6b5ded2ea5a90d65562609aab0f561" + integrity sha512-sn3WH53Kzpw8oQ5mgMmIzzyAaH2ZqFEbozVVBSYp538E06OSE6ytOp7pRAjNQR+Q/orwqdQYJSe2m3hCOeznkw== + "@emotion/weak-memoize@0.2.5": version "0.2.5" resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46" integrity sha512-6U71C2Wp7r5XtFtQzYrW5iKFT67OixrSxjI4MptCHzdSVlgabczzqLe0ZSgnub/5Kp4hSbpDB1tMytZY9pwxxA== +"@emotion/weak-memoize@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.3.0.tgz#ea89004119dc42db2e1dba0f97d553f7372f6fcb" + integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg== + "@eslint/eslintrc@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.2.1.tgz#8b5e1c49f4077235516bc9ec7d41378c0f69b8c6" @@ -2406,11 +2721,43 @@ "@babel/runtime" "^7.7.2" regenerator-runtime "^0.13.3" +"@jridgewell/gen-mapping@^0.1.0": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" + integrity sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@jridgewell/gen-mapping@^0.3.2": + version "0.3.2" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + "@jridgewell/resolve-uri@^3.0.3": version "3.0.5" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz#68eb521368db76d040a6315cdb24bf2483037b9c" integrity sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew== +"@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@1.4.14": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + "@jridgewell/sourcemap-codec@^1.4.10": version "1.4.11" resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz#771a1d8d744eeb71b6adb35808e1a6c7b9b8c8ec" @@ -2424,6 +2771,14 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + "@lcdp/offline-plugin@^5.1.0": version "5.1.0" resolved "https://registry.yarnpkg.com/@lcdp/offline-plugin/-/offline-plugin-5.1.0.tgz#826f3e10d618711bd002afd674edb36dc1d9a792" @@ -2443,6 +2798,107 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" +"@mui/base@5.0.0-alpha.118": + version "5.0.0-alpha.118" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-alpha.118.tgz#335e7496ea605c9b7bda4164efb2da3f09f36dfc" + integrity sha512-GAEpqhnuHjRaAZLdxFNuOf2GDTp9sUawM46oHZV4VnYPFjXJDkIYFWfIQLONb0nga92OiqS5DD/scGzVKCL0Mw== + dependencies: + "@babel/runtime" "^7.20.13" + "@emotion/is-prop-valid" "^1.2.0" + "@mui/types" "^7.2.3" + "@mui/utils" "^5.11.9" + "@popperjs/core" "^2.11.6" + clsx "^1.2.1" + prop-types "^15.8.1" + react-is "^18.2.0" + +"@mui/core-downloads-tracker@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.11.9.tgz#0d3b20c2ef7704537c38597f9ecfc1894fe7c367" + integrity sha512-YGEtucQ/Nl91VZkzYaLad47Cdui51n/hW+OQm4210g4N3/nZzBxmGeKfubEalf+ShKH4aYDS86XTO6q/TpZnjQ== + +"@mui/icons-material@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.11.9.tgz#db26c106d0d977ae1fc0c2d20ba2e829a8174c05" + integrity sha512-SPANMk6K757Q1x48nCwPGdSNb8B71d+2hPMJ0V12VWerpSsbjZtvAPi5FAn13l2O5mwWkvI0Kne+0tCgnNxMNw== + dependencies: + "@babel/runtime" "^7.20.13" + +"@mui/material@^5.11.10": + version "5.11.10" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.11.10.tgz#d1a7e1691b36eb6aab0f41a82e9c5c564699f599" + integrity sha512-hs1WErbiedqlJIZsljgoil908x4NMp8Lfk8di+5c7o809roqKcFTg2+k3z5ucKvs29AXcsdXrDB/kn2K6dGYIw== + dependencies: + "@babel/runtime" "^7.20.13" + "@mui/base" "5.0.0-alpha.118" + "@mui/core-downloads-tracker" "^5.11.9" + "@mui/system" "^5.11.9" + "@mui/types" "^7.2.3" + "@mui/utils" "^5.11.9" + "@types/react-transition-group" "^4.4.5" + clsx "^1.2.1" + csstype "^3.1.1" + prop-types "^15.8.1" + react-is "^18.2.0" + react-transition-group "^4.4.5" + +"@mui/private-theming@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.11.9.tgz#ce3f7b7fa7de3e8d6b2a3132a22bffd6bfaabe9b" + integrity sha512-XMyVIFGomVCmCm92EvYlgq3zrC9K+J6r7IKl/rBJT2/xVYoRY6uM7jeB+Wxh7kXxnW9Dbqsr2yL3cx6wSD1sAg== + dependencies: + "@babel/runtime" "^7.20.13" + "@mui/utils" "^5.11.9" + prop-types "^15.8.1" + +"@mui/styled-engine-sc@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/styled-engine-sc/-/styled-engine-sc-5.11.9.tgz#c29cc900fd5445ce2820cd73969451e1d149cc1a" + integrity sha512-Foo/0zudLEN8Yc1q0Uv9Kl8jyvpkD8is08T7OAKnF1ATpdqCox8m8HCerGH5qgIpPUtMjUOmxSgKbuDqHwOYBQ== + dependencies: + "@babel/runtime" "^7.20.13" + prop-types "^15.8.1" + +"@mui/styled-engine@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.11.9.tgz#105da848163b993522de0deaada82e10ad357194" + integrity sha512-bkh2CjHKOMy98HyOc8wQXEZvhOmDa/bhxMUekFX5IG0/w4f5HJ8R6+K6nakUUYNEgjOWPYzNPrvGB8EcGbhahQ== + dependencies: + "@babel/runtime" "^7.20.13" + "@emotion/cache" "^11.10.5" + csstype "^3.1.1" + prop-types "^15.8.1" + +"@mui/system@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.11.9.tgz#61f83c538cb4bb9383bcfb39734d9d22ae11c3e7" + integrity sha512-h6uarf+l3FO6l75Nf7yO+qDGrIoa1DM9nAMCUFZQsNCDKOInRzcptnm8M1w/Z3gVetfeeGoIGAYuYKbft6KZZA== + dependencies: + "@babel/runtime" "^7.20.13" + "@mui/private-theming" "^5.11.9" + "@mui/styled-engine" "^5.11.9" + "@mui/types" "^7.2.3" + "@mui/utils" "^5.11.9" + clsx "^1.2.1" + csstype "^3.1.1" + prop-types "^15.8.1" + +"@mui/types@^7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.3.tgz#06faae1c0e2f3a31c86af6f28b3a4a42143670b9" + integrity sha512-tZ+CQggbe9Ol7e/Fs5RcKwg/woU+o8DCtOnccX6KmbBc7YrfqMYEYuaIcXHuhpT880QwNkZZ3wQwvtlDFA2yOw== + +"@mui/utils@^5.11.9": + version "5.11.9" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.11.9.tgz#8fab9cf773c63ad916597921860d2344b5d4b706" + integrity sha512-eOJaqzcEs4qEwolcvFAmXGpln+uvouvOS9FUX6Wkrte+4I8rZbjODOBDVNlK+V6/ziTfD4iNKC0G+KfOTApbqg== + dependencies: + "@babel/runtime" "^7.20.13" + "@types/prop-types" "^15.7.5" + "@types/react-is" "^16.7.1 || ^17.0.0" + prop-types "^15.8.1" + react-is "^18.2.0" + "@nicolo-ribaudo/chokidar-2@2.1.8-no-fsevents.2": version "2.1.8-no-fsevents.2" resolved "https://registry.yarnpkg.com/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.2.tgz#e324c0a247a5567192dd7180647709d7e2faf94b" @@ -2491,6 +2947,11 @@ resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.15.tgz#6a9d143f7f4f49db2d782f9e1c8839a29b43ae23" integrity sha512-15spi3V28QdevleWBNXE4pIls3nFZmBbUGrW9IVPwiQczuSb9n76TCB4bsk8TSel+I1OkHEdPhu5QKMfY6rQHA== +"@popperjs/core@^2.11.6": + version "2.11.6" + resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" + integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== + "@reach/router@^1.2.1": version "1.3.4" resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.3.4.tgz#d2574b19370a70c80480ed91f3da840136d10f8c" @@ -2997,6 +3458,13 @@ telejson "^3.2.0" util-deprecate "^1.0.2" +"@stylelint/postcss-css-in-js@^0.38.0": + version "0.38.0" + resolved "https://registry.yarnpkg.com/@stylelint/postcss-css-in-js/-/postcss-css-in-js-0.38.0.tgz#eabb061df932744db766f11a153ae1c465b6263c" + integrity sha512-XOz5CAe49kS95p5yRd+DAIWDojTjfmyAQ4bbDlXMdbZTQ5t0ThjSLvWI6JI2uiS7MFurVBkZ6zUqcimzcLTBoQ== + dependencies: + "@babel/core" "^7.17.9" + "@svgr/babel-plugin-add-jsx-attribute@^4.2.0": version "4.2.0" resolved "https://registry.yarnpkg.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz#dadcb6218503532d6884b210e7f3c502caaa44b1" @@ -3249,7 +3717,7 @@ resolved "https://registry.yarnpkg.com/@types/history/-/history-4.7.11.tgz#56588b17ae8f50c53983a524fc3cc47437969d64" integrity sha512-qjDJRrmvBMiTx+jyLxvLfJU7UznFuokDv4f3WRuriHKERccVpFU+8XMQUAbDzoiJCsmexxRExQeMwwCdamSKDA== -"@types/hoist-non-react-statics@*", "@types/hoist-non-react-statics@^3.3.0", "@types/hoist-non-react-statics@^3.3.1": +"@types/hoist-non-react-statics@^3.3.0", "@types/hoist-non-react-statics@^3.3.1": version "3.3.1" resolved "https://registry.yarnpkg.com/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz#1124aafe5118cb591977aeb1ceaaed1070eb039f" integrity sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA== @@ -3412,6 +3880,11 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.3.tgz#2ab0d5da2e5815f94b0b9d4b95d1e5f243ab2ca7" integrity sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw== +"@types/prop-types@^15.7.5": + version "15.7.5" + resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" + integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== + "@types/q@^1.5.1": version "1.5.4" resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.4.tgz#15925414e0ad2cd765bfef58842f7e26a7accb24" @@ -3453,6 +3926,13 @@ dependencies: "@types/react" "*" +"@types/react-is@^16.7.1 || ^17.0.0": + version "17.0.3" + resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.3.tgz#2d855ba575f2fc8d17ef9861f084acc4b90a137a" + integrity sha512-aBTIWg1emtu95bLTLx0cpkxwGW3ueZv71nE2YFBpL8k/z5czEW8yYpOo8Dp+UUAFAtKwNaOsh/ioSeQnWlZcfw== + dependencies: + "@types/react" "*" + "@types/react-redux@^7.1.23": version "7.1.23" resolved "https://registry.yarnpkg.com/@types/react-redux/-/react-redux-7.1.23.tgz#3c2bb1bcc698ae69d70735f33c5a8e95f41ac528" @@ -3494,6 +3974,13 @@ dependencies: "@types/react" "*" +"@types/react-transition-group@^4.4.5": + version "4.4.5" + resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.5.tgz#aae20dcf773c5aa275d5b9f7cdbca638abc5e416" + integrity sha512-juKD/eiSM3/xZYzjuzH6ZwpP+/lejltmiS3QEzV/vmb/Q8+HfDmxu+Baga8UEMGBqV88Nbg4l2hY/K2DkyaLLA== + dependencies: + "@types/react" "*" + "@types/react@*": version "17.0.11" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.11.tgz#67fcd0ddbf5a0b083a0f94e926c7d63f3b836451" @@ -3541,15 +4028,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff" integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw== -"@types/styled-components@^5.1.24": - version "5.1.24" - resolved "https://registry.yarnpkg.com/@types/styled-components/-/styled-components-5.1.24.tgz#b52ae677f03ea8a6018aa34c6c96b7018b7a3571" - integrity sha512-mz0fzq2nez+Lq5IuYammYwWgyLUE6OMAJTQL9D8hFLP4Pkh7gVYJii/VQWxq8/TK34g/OrkehXaFNdcEKcItug== - dependencies: - "@types/hoist-non-react-statics" "*" - "@types/react" "*" - csstype "^3.0.2" - "@types/tapable@^1", "@types/tapable@^1.0.5": version "1.0.7" resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.7.tgz#545158342f949e8fd3bfd813224971ecddc3fac4" @@ -5014,6 +5492,15 @@ babel-plugin-macros@^2.0.0, babel-plugin-macros@^2.7.0: cosmiconfig "^6.0.0" resolve "^1.12.0" +babel-plugin-macros@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-3.1.0.tgz#9ef6dc74deb934b4db344dc973ee851d148c50c1" + integrity sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg== + dependencies: + "@babel/runtime" "^7.12.5" + cosmiconfig "^7.0.0" + resolve "^1.19.0" + babel-plugin-minify-builtins@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.5.0.tgz#31eb82ed1a0d0efdc31312f93b6e4741ce82c36b" @@ -5137,26 +5624,6 @@ babel-plugin-react-intl@3.0.1: intl-messageformat-parser "^1.2.0" mkdirp "^0.5.1" -babel-plugin-styled-components@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.0.tgz#ff1f42ad2cc78c21f26b62266b8f564dbc862939" - integrity sha512-sQVKG8irFXx14ZfaK1bBePirfkacl3j8nZwSZK+ZjsbnadRHKQTbhXbe/RB1vT6Vgkz45E+V95LBq4KqdhZUNw== - dependencies: - "@babel/helper-annotate-as-pure" "^7.0.0" - "@babel/helper-module-imports" "^7.0.0" - babel-plugin-syntax-jsx "^6.18.0" - lodash "^4.17.10" - -"babel-plugin-styled-components@>= 1.12.0": - version "1.12.0" - resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.12.0.tgz#1dec1676512177de6b827211e9eda5a30db4f9b9" - integrity sha512-FEiD7l5ZABdJPpLssKXjBUJMYqzbcNzBowfXDCdJhOpbhWiewapUaY+LZGT8R4Jg2TwOjGjG4RKeyrO5p9sBkA== - dependencies: - "@babel/helper-annotate-as-pure" "^7.0.0" - "@babel/helper-module-imports" "^7.0.0" - babel-plugin-syntax-jsx "^6.18.0" - lodash "^4.17.11" - babel-plugin-syntax-jsx@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" @@ -5653,6 +6120,16 @@ browserslist@^4.17.5: node-releases "^2.0.2" picocolors "^1.0.0" +browserslist@^4.21.3: + version "4.21.5" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" + integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== + dependencies: + caniuse-lite "^1.0.30001449" + electron-to-chromium "^1.4.284" + node-releases "^2.0.8" + update-browserslist-db "^1.0.10" + bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -5934,11 +6411,6 @@ camelcase@^6.2.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== -camelize@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" - integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= - can-use-dom@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/can-use-dom/-/can-use-dom-0.1.0.tgz#22cc4a34a0abc43950f42c6411024a3f6366b45a" @@ -5949,6 +6421,11 @@ caniuse-lite@^1.0.30000989, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.300012 resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001317.tgz" integrity sha512-xIZLh8gBm4dqNX0gkzrBeyI86J2eCjWzYAs40q88smG844YIrN4tVQl/RhquHvKEKImWWFIVh1Lxe5n1G/N+GQ== +caniuse-lite@^1.0.30001449: + version "1.0.30001457" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001457.tgz#6af34bb5d720074e2099432aa522c21555a18301" + integrity sha512-SDIV6bgE1aVbK6XyxdURbUE89zY7+k1BBBaOwYwkNCglXlel/E7mELiHC64HQ+W0xSKlqWhV9Wh7iHxUjMs4fA== + case-sensitive-paths-webpack-plugin@^2.2.0: version "2.4.0" resolved "https://registry.yarnpkg.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.4.0.tgz#db64066c6422eed2e08cc14b986ca43796dbc6d4" @@ -6298,6 +6775,11 @@ clone@^1.0.2: resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= +clsx@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" + integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== + co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -6679,6 +7161,17 @@ cosmiconfig@^6.0.0: path-type "^4.0.0" yaml "^1.7.2" +cosmiconfig@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + coveralls@3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.3.tgz#83b1c64aea1c6afa69beaf50b55ac1bc4d13e2b8" @@ -6791,11 +7284,6 @@ crypto-browserify@^3.11.0: randombytes "^2.0.0" randomfill "^1.0.3" -css-color-keywords@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/css-color-keywords/-/css-color-keywords-1.0.0.tgz#fea2616dc676b2962686b3af8dbdbe180b244e05" - integrity sha1-/qJhbcZ2spYmhrOvjb2+GAskTgU= - css-color-names@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-1.0.1.tgz#6ff7ee81a823ad46e020fa2fd6ab40a887e2ba67" @@ -6870,15 +7358,6 @@ css-select@^4.1.3: domutils "^2.6.0" nth-check "^2.0.0" -css-to-react-native@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-3.0.0.tgz#62dbe678072a824a689bcfee011fc96e02a7d756" - integrity sha512-Ro1yETZA813eoyUp2GDBhG2j+YggidUmzO1/v9eYBKR2EHVEniE2MI/NqpTQ954BMpTPZFsGNPm46qFB9dpaPQ== - dependencies: - camelize "^1.0.0" - css-color-keywords "^1.0.0" - postcss-value-parser "^4.0.2" - css-tree@1.0.0-alpha.37: version "1.0.0-alpha.37" resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.0.0-alpha.37.tgz#98bebd62c4c1d9f960ec340cf9f7522e30709a22" @@ -6910,16 +7389,6 @@ css.escape@^1.5.1: resolved "https://registry.yarnpkg.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb" integrity sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s= -css@^2.2.4: - version "2.2.4" - resolved "https://registry.yarnpkg.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929" - integrity sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw== - dependencies: - inherits "^2.0.3" - source-map "^0.6.1" - source-map-resolve "^0.5.2" - urix "^0.1.0" - css@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/css/-/css-3.0.0.tgz#4447a4d58fdd03367c516ca9f64ae365cee4aa5d" @@ -6968,6 +7437,11 @@ csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.8.tgz#d2266a792729fb227cd216fb572f43728e1ad340" integrity sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw== +csstype@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9" + integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw== + currently-unhandled@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" @@ -7685,6 +8159,11 @@ electron-to-chromium@^1.3.723: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.759.tgz#b0d652d376831470a4c230ba721da2427bfb996a" integrity sha512-nM76xH0t2FBH5iMEZDVc3S/qbdKjGH7TThezxC8k1Q7w7WHvIAyJh8lAe2UamGfdRqBTjHfPDn82LJ0ksCiB9g== +electron-to-chromium@^1.4.284: + version "1.4.305" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.305.tgz#e4dfe3e06ab783f33171f9bde9e8ed092510fcd0" + integrity sha512-WETy6tG0CT5gm1O+xCbyapWNsCcmIvrn4NHViIGYo2AT8FV2qUCXdaB+WqYxSv/vS5mFqhBYnfZAAkVArjBmUg== + electron-to-chromium@^1.4.84: version "1.4.85" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.85.tgz#a3666ba42147026b9f34d4d8d4caf0740e80f751" @@ -10266,7 +10745,7 @@ hoist-non-react-statics@^2.5.0: resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw== -hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.2: +hoist-non-react-statics@^3.1.0, hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.1, hoist-non-react-statics@^3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== @@ -11045,6 +11524,13 @@ is-core-module@^2.8.0: dependencies: has "^1.0.3" +is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + is-cwebp-readable@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/is-cwebp-readable/-/is-cwebp-readable-3.0.0.tgz#0554aaa400977a2fc4de366d8c0244f13cde58cb" @@ -12064,13 +12550,6 @@ jest-sonar@^0.2.12: entities "^2.1.0" strip-ansi "^6.0.0" -jest-styled-components@6.3.1: - version "6.3.1" - resolved "https://registry.yarnpkg.com/jest-styled-components/-/jest-styled-components-6.3.1.tgz#fa21a89bfe8c20081c7c083cbaed2200854b60e3" - integrity sha512-zie3ajvJbwlbHCAq8/Bv5jdbcYCz0ZMRNNX6adL7wSRpkCVPQtiJigv1140JN1ZOJIODPn8VKrjeFCN+jlPa7w== - dependencies: - css "^2.2.4" - jest-util@^27.0.2: version "27.0.2" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.2.tgz#fc2c7ace3c75ae561cf1e5fdb643bf685a5be7c7" @@ -12323,6 +12802,11 @@ json5@^2.1.1, json5@^2.1.2: dependencies: minimist "^1.2.5" +json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + json@^9.0.6: version "9.0.6" resolved "https://registry.yarnpkg.com/json/-/json-9.0.6.tgz#7972c2a5a48a42678db2730c7c2c4ee6e4e24585" @@ -13739,6 +14223,11 @@ node-releases@^2.0.2: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01" integrity sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg== +node-releases@^2.0.8: + version "2.0.10" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" + integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== + nopt@^3.0.1: version "3.0.6" resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" @@ -14563,7 +15052,7 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== -path-parse@^1.0.6: +path-parse@^1.0.6, path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== @@ -15010,7 +15499,7 @@ postcss-value-parser@^3.3.1: resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== -postcss-value-parser@^4.0.2, postcss-value-parser@^4.1.0: +postcss-value-parser@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb" integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ== @@ -15315,6 +15804,15 @@ prop-types@15.7.2, prop-types@^15.5.0, prop-types@^15.5.10, prop-types@^15.5.8, object-assign "^4.1.1" react-is "^16.8.1" +prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + property-expr@^1.5.0: version "1.5.1" resolved "https://registry.yarnpkg.com/property-expr/-/property-expr-1.5.1.tgz#22e8706894a0c8e28d58735804f6ba3a3673314f" @@ -16122,7 +16620,7 @@ react-intl@5.20.3: intl-messageformat "9.7.0" tslib "^2.1.0" -react-is@^16.12.0, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.6: +react-is@^16.12.0, react-is@^16.13.1, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.6: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -16132,6 +16630,11 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-is@^18.2.0: + version "18.2.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== + react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" @@ -16275,6 +16778,16 @@ react-transition-group@^4.3.0: loose-envify "^1.4.0" prop-types "^15.6.2" +react-transition-group@^4.4.5: + version "4.4.5" + resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1" + integrity sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g== + dependencies: + "@babel/runtime" "^7.5.5" + dom-helpers "^5.0.1" + loose-envify "^1.4.0" + prop-types "^15.6.2" + react@18.2.0: version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" @@ -16532,6 +17045,11 @@ regenerator-runtime@^0.12.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== +regenerator-runtime@^0.13.11: + version "0.13.11" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== + regenerator-runtime@^0.13.2: version "0.13.9" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" @@ -16860,6 +17378,15 @@ resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11. is-core-module "^2.2.0" path-parse "^1.0.6" +resolve@^1.19.0: + version "1.22.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^2.0.0-next.3: version "2.0.0-next.3" resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.3.tgz#d41016293d4a8586a39ca5d9b5f15cbea1f55e46" @@ -17491,7 +18018,7 @@ source-map-js@^0.6.2: resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e" integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug== -source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: +source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw== @@ -18028,22 +18555,6 @@ style-search@^0.1.0: resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" integrity sha1-eVjHk+R+MuB9K1yv5cC/jhLneQI= -styled-components@^5.3.5: - version "5.3.5" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.5.tgz#a750a398d01f1ca73af16a241dec3da6deae5ec4" - integrity sha512-ndETJ9RKaaL6q41B69WudeqLzOpY1A/ET/glXkNZ2T7dPjPqpPCXXQjDFYZWwNnE5co0wX+gTCqx9mfxTmSIPg== - dependencies: - "@babel/helper-module-imports" "^7.0.0" - "@babel/traverse" "^7.4.5" - "@emotion/is-prop-valid" "^1.1.0" - "@emotion/stylis" "^0.8.4" - "@emotion/unitless" "^0.7.4" - babel-plugin-styled-components ">= 1.12.0" - css-to-react-native "^3.0.0" - hoist-non-react-statics "^3.0.0" - shallowequal "^1.1.0" - supports-color "^5.5.0" - styled-media-query@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/styled-media-query/-/styled-media-query-2.1.2.tgz#d59e8d91bc4bcff210dc511bdcecedf16eb2c5b7" @@ -18054,20 +18565,6 @@ stylelint-config-recommended@2.2.0: resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-2.2.0.tgz#46ab139db4a0e7151fd5f94af155512886c96d3f" integrity sha512-bZ+d4RiNEfmoR74KZtCKmsABdBJr4iXRiCso+6LtMJPw5rd/KnxUWTxht7TbafrTJK1YRjNgnN0iVZaJfc3xJA== -stylelint-config-styled-components@0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/stylelint-config-styled-components/-/stylelint-config-styled-components-0.1.1.tgz#b408388d7c687833ab4be4c4e6522d97d2827ede" - integrity sha512-z5Xz/9GmvxO6e/DLzBMwkB85zHxEEjN6K7Cj80Bi+o/9vR9eS3GX3E9VuMnX9WLFYulqbqLtTapGGY28JBiy9Q== - -stylelint-processor-styled-components@1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/stylelint-processor-styled-components/-/stylelint-processor-styled-components-1.6.0.tgz#26e4317cd4ba1c3196bd6d832e8fcba3f159dd9d" - integrity sha512-ecqHh5G17rTPJUP/IMBxJf9kBspP4j5NrYl2aAWWBJxsK8RknT3PxO9Y5zHiYa7pGWmCRRdfR4ZOBO9CgouKjw== - dependencies: - "@babel/parser" "^7.0.0" - "@babel/traverse" "^7.0.0" - postcss "^7.0.0" - stylelint@10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-10.0.1.tgz#f85cd9755e905d826023d67df62b32716fa6dfb4" @@ -18121,6 +18618,11 @@ stylelint@10.0.1: svg-tags "^1.0.0" table "^5.2.3" +stylis@4.1.3: + version "4.1.3" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.1.3.tgz#fd2fbe79f5fed17c55269e16ed8da14c84d069f7" + integrity sha512-GP6WDNWf+o403jrEp9c5jibKavrtLW+/qYGhFxFrG8maXhwTBI7gLLhiBb0o7uFccWN+EOS9aMO6cGHWAO07OA== + sugarss@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-2.0.0.tgz#ddd76e0124b297d40bf3cca31c8b22ecb43bc61d" @@ -18140,7 +18642,7 @@ supports-color@^3.2.3: dependencies: has-flag "^1.0.0" -supports-color@^5.3.0, supports-color@^5.5.0: +supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== @@ -18176,6 +18678,11 @@ supports-hyperlinks@^2.0.0: has-flag "^4.0.0" supports-color "^7.0.0" +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + svg-parser@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" @@ -19016,6 +19523,14 @@ upath@^1.1.1: resolved "https://registry.yarnpkg.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894" integrity sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg== +update-browserslist-db@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + upper-case-first@^1.1.0, upper-case-first@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-1.1.2.tgz#5d79bedcff14419518fd2edb0a0507c9b6859115" From a2299505a9a722caeba66275d5c745d9e2abc8c4 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Fri, 24 Feb 2023 17:29:10 +0530 Subject: [PATCH 02/15] feat: replace ant-d with mui --- README.md | 4 +- app/components/ErrorHandler/index.tsx | 6 +- .../tests/__snapshots__/index.test.js.snap | 16 +- app/components/Header/index.tsx | 23 +- .../tests/__snapshots__/index.test.tsx.snap | 8 +- app/components/LaunchDetails/index.tsx | 33 +- .../tests/__snapshots__/index.test.tsx.snap | 138 ++-- .../LaunchDetails/tests/index.test.tsx | 2 +- app/components/LaunchItem/index.tsx | 11 +- .../tests/__snapshots__/index.test.tsx.snap | 80 +-- app/components/LaunchList/index.tsx | 19 +- .../tests/__snapshots__/index.test.tsx.snap | 80 +-- app/components/Siderbar/index.tsx | 39 +- app/containers/App/index.tsx | 28 +- .../tests/__snapshots__/index.test.tsx.snap | 72 +- app/containers/HomeContainer/index.tsx | 84 ++- .../tests/__snapshots__/index.test.tsx.snap | 200 +++--- .../HomeContainer/tests/index.test.tsx | 26 +- app/containers/HomeContainer/useSort.ts | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 13 +- app/containers/NotFoundPage/index.tsx | 5 +- .../tests/__snapshots__/index.test.tsx.snap | 13 +- app/index.html | 1 - babel.config.js | 78 ++- internals/webpack/webpack.config.base.js | 7 +- package.json | 1 + yarn.lock | 640 +++++++++++------- 27 files changed, 882 insertions(+), 747 deletions(-) diff --git a/README.md b/README.md index 620d2dc4..62e9c2ab 100644 --- a/README.md +++ b/README.md @@ -110,9 +110,9 @@ An enterprise react template application showcasing - Testing strategies, Global - [app/components/T/index.tsx](app/components/T/index.tsx) - [app/containers/HomeContainer/index.tsx](app/containers/HomeContainer/index.tsx) -## Using antd as the component library +## Using Material UI as the component library -- Reusing components from [Ant design](https://ant.design) +- Reusing components from [Material UI](https://mui.com) Take a look at the following files diff --git a/app/components/ErrorHandler/index.tsx b/app/components/ErrorHandler/index.tsx index b3349c10..392e8c51 100644 --- a/app/components/ErrorHandler/index.tsx +++ b/app/components/ErrorHandler/index.tsx @@ -1,12 +1,14 @@ import React from 'react'; import PropTypes from 'prop-types'; import styled from '@emotion/styled'; -import { Card } from 'antd'; +import { Card } from '@mui/material'; import { T, If } from '@components'; const CustomCard = styled(Card)` && { margin: 20px 0; + padding: 20px; + padding-top: 0; color: ${(props) => props.color}; } `; @@ -20,7 +22,7 @@ export function ErrorHandler({ loading, launchListError }: ErrorHandlerTypes) { if (!loading) { return ( }> - + diff --git a/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap b/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap index 0abdf8f2..8a7c1d57 100644 --- a/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap +++ b/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap @@ -4,19 +4,15 @@ exports[` should render and match the snapshot 1`] = `
-
-

- something_went_wrong -

-
+ something_went_wrong +

diff --git a/app/components/Header/index.tsx b/app/components/Header/index.tsx index 24f0ce72..2532b049 100644 --- a/app/components/Header/index.tsx +++ b/app/components/Header/index.tsx @@ -4,7 +4,6 @@ * */ import React from 'react'; -import { Layout } from 'antd'; import styled from '@emotion/styled'; import { Link } from 'react-router-dom'; import { fonts, colors, media } from '@themes/index'; @@ -17,18 +16,16 @@ export const theme = { sidebarWidth: MIN_SIDEBAR_WIDTH }; -const StyledHeader = styled(Layout.Header)` +const StyledHeader = styled.div` && { - &.ant-layout-header { - padding: 0 1rem; - height: ${theme.headerHeight}; - align-items: center; - justify-content: center; - background-color: ${colors.primary}; - gap: 1rem; - @media (min-width: ${media.tablet}) { - padding-left: ${theme.sidebarWidth}; - } + padding: 0 1rem; + height: ${theme.headerHeight}; + align-items: center; + justify-content: center; + background-color: ${colors.primary}; + gap: 1rem; + @media (min-width: ${media.tablet}) { + padding-left: ${theme.sidebarWidth}; } display: flex; } @@ -45,7 +42,7 @@ const Logo = styled.img` const Title = styled(T)` && { - margin-bottom: 0; + margin: 0; ${fonts.dynamicFontSize(fonts.size.xRegular, 1, 0.5)}; display: flex; align-self: center; diff --git a/app/components/Header/tests/__snapshots__/index.test.tsx.snap b/app/components/Header/tests/__snapshots__/index.test.tsx.snap index 4db5fb99..b77e4806 100644 --- a/app/components/Header/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/Header/tests/__snapshots__/index.test.tsx.snap @@ -3,8 +3,8 @@ exports[`
should render and match the snapshot 1`] = `
`; diff --git a/app/components/LaunchDetails/index.tsx b/app/components/LaunchDetails/index.tsx index be9f62bf..5d6a8228 100644 --- a/app/components/LaunchDetails/index.tsx +++ b/app/components/LaunchDetails/index.tsx @@ -6,17 +6,16 @@ import { If, T, For } from '@components'; import isEmpty from 'lodash-es/isEmpty'; import { colors, media } from '@app/themes'; import { LaunchDetails as LaunchDetailsType } from '@app/containers/LaunchDetails/types'; -import { Card, Skeleton } from 'antd'; +import { Card, Skeleton } from '@mui/material'; import placeholderImage from '@images/undraw_to_the_stars_re_wq2x.svg'; const LaunchDetailsCard = styled(Card)` && { - .ant-card-body { - display: flex; - flex-direction: column; - justify-content: space-between; - color: ${(props) => props.color}; - } + display: flex; + flex-direction: column; + justify-content: space-between; + color: ${(props) => props.color}; + margin: 1.5rem; @media (min-width: ${media.tablet}) { flex-direction: row; @@ -98,15 +97,25 @@ interface LaunchDetailsProps extends LaunchDetailsType { loading: boolean; } +const renderSkeleton = () => { + return ( + <> + + + + + ); +}; + function LaunchDetails({ missionName, links, details, rocket, ships, loading }: LaunchDetailsProps) { return ( - - + + }> - - + + @@ -156,7 +165,7 @@ function LaunchDetails({ missionName, links, details, rocket, ships, loading }: - + ); } diff --git a/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap index b331e6b9..258031bd 100644 --- a/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap @@ -4,100 +4,96 @@ exports[` tests should render and match the snapshot 1`] = `
+
- +

+ CRS-21 +

+

+ + Details + + SpaceX's 21st ISS resupply mission. +

+

+ Rocket +

- CRS-21 + + Name + + Falcon 9

- Details + Type - SpaceX's 21st ISS resupply mission. + FT

+
+

+ Ships +

+

- Rocket -

-
-

- - Name - - Falcon 9 -

-

- - Type - - FT -

-
-

- Ships + Name + + Ship 1

-
-

- - Name - - Ship 1 -

-

- - Type - - Type 1 -

-
+ Type + + Type 1 +

diff --git a/app/components/LaunchDetails/tests/index.test.tsx b/app/components/LaunchDetails/tests/index.test.tsx index 8251959d..31d26150 100644 --- a/app/components/LaunchDetails/tests/index.test.tsx +++ b/app/components/LaunchDetails/tests/index.test.tsx @@ -50,6 +50,6 @@ describe(' tests', () => { it('should render the skeleton if loading is true', () => { launchDetails.loading = true; const { baseElement } = renderProvider(); - expect(baseElement.getElementsByClassName('ant-skeleton').length).toEqual(2); + expect(baseElement.getElementsByClassName('skeleton')).toBeTruthy(); }); }); diff --git a/app/components/LaunchItem/index.tsx b/app/components/LaunchItem/index.tsx index d2d980be..657cdeac 100644 --- a/app/components/LaunchItem/index.tsx +++ b/app/components/LaunchItem/index.tsx @@ -1,13 +1,13 @@ import React, { useMemo } from 'react'; import { Launch } from '@app/containers/HomeContainer/types'; -import { Button, Card } from 'antd'; +import { Button, Card } from '@mui/material'; import PropTypes from 'prop-types'; import styled from '@emotion/styled'; import If from '@components/If'; import { T } from '@components/T'; import isEmpty from 'lodash-es/isEmpty'; import { colors } from '@app/themes'; -import { GlobalOutlined } from '@ant-design/icons'; +import LanguageIcon from '@mui/icons-material/Language'; import history from '@app/utils/history'; import { format } from 'date-fns'; @@ -45,7 +45,7 @@ function LaunchItem({ missionName, launchDateUtc, links, id }: Launch) { ); return ( - + @@ -56,12 +56,9 @@ function LaunchItem({ missionName, launchDateUtc, links, id }: Launch) { e.stopPropagation()} href={links.wikipedia} - icon={} + endIcon={} > Wikipedia diff --git a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap index 26f9efb3..6e6966ac 100644 --- a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap @@ -4,55 +4,47 @@ exports[` should render and match the snapshot 1`] = `
-
-

- Thaicom 6 -

-

- Mon, 6th January 2014, 06:06 PM -

- +

+ Mon, 6th January 2014, 06:06 PM +

+
+ Wikipedia + - - - Wikipedia - - -
+ + + + +
diff --git a/app/components/LaunchList/index.tsx b/app/components/LaunchList/index.tsx index 736a807d..c364bc80 100644 --- a/app/components/LaunchList/index.tsx +++ b/app/components/LaunchList/index.tsx @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import styled from '@emotion/styled'; import { Launch } from '@containers/HomeContainer/types'; import { get, isEmpty } from 'lodash-es'; -import { Card, Skeleton } from 'antd'; +import { Card, Skeleton } from '@mui/material'; import { If, T, For, LaunchItem } from '@components'; import { colors } from '@app/themes'; @@ -12,6 +12,7 @@ const CustomErrorCard = styled(Card)` color: ${colors.secondary}; margin: 2rem; background-color: ${colors.secondaryText}; + padding: 0 1rem 1rem 1rem; } `; @@ -30,6 +31,16 @@ interface LaunchListProps { loading: boolean; } +const renderSkeleton = () => { + return ( + <> + + + + + ); +}; + export function LaunchList({ launchData, loading }: LaunchListProps) { const launches = get(launchData, 'launches', []); @@ -37,14 +48,14 @@ export function LaunchList({ launchData, loading }: LaunchListProps) { + } > - + } /> - +
); } diff --git a/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap index 15233dc9..e137418d 100644 --- a/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap @@ -9,55 +9,47 @@ exports[` should render and match the snapshot 1`] = ` orientation="row" >
-
-

- Thaicom 6 -

-

- Mon, 6th January 2014, 06:06 PM -

- +

+ Mon, 6th January 2014, 06:06 PM +

+
+ Wikipedia + - - - Wikipedia - - -
+ + + + +
diff --git a/app/components/Siderbar/index.tsx b/app/components/Siderbar/index.tsx index 1bccfa0f..8834560d 100644 --- a/app/components/Siderbar/index.tsx +++ b/app/components/Siderbar/index.tsx @@ -1,11 +1,10 @@ import React, { useState, useCallback } from 'react'; import { colors } from '@app/themes'; -import { Button, Drawer, DrawerProps } from 'antd'; +import { Drawer, DrawerProps, IconButton } from '@mui/material'; import { Link } from 'react-router-dom'; import styled from '@emotion/styled'; -import { CloseOutlined } from '@ant-design/icons'; import icon from '@images/ion_rocket-sharp.svg'; -import menuIcon from '@images/menu.svg'; +import MenuIcon from '@mui/icons-material/Menu'; import If from '@components/If'; import useMedia from '@utils/useMedia'; import { HEADER_HEIGHT, MIN_SIDEBAR_WIDTH } from '@app/utils/constants'; @@ -22,15 +21,12 @@ const SidebarWrapper = styled.div` const SidebarDrawer = styled(Drawer)` && { - .ant-drawer-body { + .MuiDrawer-paper { padding: ${theme.headerHeight} 0 0 0; background-color: ${colors.primary}; - width: ${theme.sidebarWidth}; + min-width: ${theme.sidebarWidth}; text-align: center; } - .ant-drawer-close { - top: 1rem; - } } `; @@ -54,7 +50,7 @@ const RocketLogo = styled.img` } `; -const MenuButton = styled(Button)` +const MenuButton = styled(IconButton)` && { position: absolute; top: calc(${theme.headerHeight} / -2); @@ -63,12 +59,6 @@ const MenuButton = styled(Button)` } `; -const MenuImg = styled.img` - width: 1.7rem; - height: auto; - object-fit: contain; -`; - const Sidebar: React.FC = () => { const [visible, setVisible] = useState(false); const { isMobile } = useMedia(); @@ -76,12 +66,10 @@ const Sidebar: React.FC = () => { const toggleSidebar = useCallback(() => setVisible((v) => !v), []); const sidebarProps: DrawerProps = isMobile ? { - closeIcon: , - placement: 'left', - visible, - closable: true, + anchor: 'left', + open: visible, onClose: toggleSidebar, - width: 'max-content' + variant: 'temporary' } : {}; @@ -91,14 +79,9 @@ const Sidebar: React.FC = () => { return ( - } - /> + + + diff --git a/app/containers/App/index.tsx b/app/containers/App/index.tsx index 26ee934a..1f9af5e1 100644 --- a/app/containers/App/index.tsx +++ b/app/containers/App/index.tsx @@ -10,13 +10,12 @@ import React from 'react'; import globalStyle from '@app/global-styles'; import { routeConfig } from '@app/routeConfig'; import { Global } from '@emotion/react'; -import { Layout } from 'antd'; import map from 'lodash-es/map'; import { withRouter } from 'react-router'; import { Route, Switch } from 'react-router-dom'; import { compose } from 'redux'; import { ThemeProvider as MUIThemeProvider, createTheme, StyledEngineProvider } from '@mui/material/styles'; -import styled from '@emotion/styled'; +import { CssBaseline, Grid } from '@mui/material'; import For from '@components/For'; import Header from '@components/Header'; import { colors } from '@themes/index'; @@ -33,20 +32,20 @@ export const theme = createTheme({ } }); -const CustomLayout = styled(Layout)` - && { - flex-direction: row; - } -`; - export function App() { return ( -
- - - + + + + +
+ + + + + } of={map(Object.keys(routeConfig))} @@ -68,9 +67,8 @@ export function App() { ); }} /> - - - + + ); diff --git a/app/containers/App/tests/__snapshots__/index.test.tsx.snap b/app/containers/App/tests/__snapshots__/index.test.tsx.snap index e111a0bc..812d9216 100644 --- a/app/containers/App/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/App/tests/__snapshots__/index.test.tsx.snap @@ -2,52 +2,60 @@ exports[` container tests should render and match the snapshot 1`] = `
-
- - logo - -

- Wednesday Solutions -

-
-
rocket-icon +

+ Wednesday Solutions +

+
+
+
+
+
+ + rocket-icon + +
-
-
+
`; diff --git a/app/containers/HomeContainer/index.tsx b/app/containers/HomeContainer/index.tsx index 28b71902..98673884 100644 --- a/app/containers/HomeContainer/index.tsx +++ b/app/containers/HomeContainer/index.tsx @@ -5,14 +5,11 @@ import { createStructuredSelector } from 'reselect'; import { AnyAction, compose } from 'redux'; import debounce from 'lodash-es/debounce'; import isEmpty from 'lodash-es/isEmpty'; -import { SearchOutlined } from '@ant-design/icons'; +import { Search as SearchOutlined } from '@mui/icons-material'; import styled from '@emotion/styled'; import { injectSaga } from 'redux-injectors'; -import { Button, Input, Select } from 'antd'; +import { Button, Select, IconButton, InputAdornment, OutlinedInput, MenuItem } from '@mui/material'; import { selectLaunchData, selectLaunchListError, selectLoading } from './selectors'; -import arrowUp from '@images/ArrowUp.svg'; -import arrowDown from '@images/ArrowDown.svg'; -import arrowUpDown from '@images/ArrowUpDown.svg'; import homeContainerSaga from './saga'; import { requestGetLaunchList } from './reducer'; import { LaunchList, ErrorHandler } from '@components'; @@ -29,7 +26,7 @@ const Container = styled.div` display: flex; flex-direction: column; margin: 0 auto; - padding: 1rem; + padding: 2rem 4rem; background-color: ${colors.secondaryText}; } `; @@ -44,10 +41,14 @@ const CustomHeader = styled.div` } `; -const CustomSearch = styled(Input)` +const CustomSearch = styled(OutlinedInput)` && { - .ant-input { - padding-left: 0.5rem; + width: 90%; + legend { + display: none; + } + > fieldset { + top: 0; } } `; @@ -59,12 +60,9 @@ const ButtonBox = styled.div` const SortSelect = styled(Select)` && { - width: 9.5rem; + width: 11.5rem; background-color: #fff; - - .ant-select-selection-item { - color: ${colors.secondaryText}; - } + padding-right: 0; } `; @@ -101,61 +99,61 @@ export function HomeContainer({ dispatchLaunchList, loading, launchData, intl, l } }, 300); - const prefix = ( - - ); - return ( + missionName && setMissionName(missionName)} + > + + + + } /> - - ) : order === 'desc' ? ( - chevron-down - ) : ( - chevron-up-down - ) - } value={order || 'default'} onChange={handleDateSort as any} > - + SORT BY DATE - - DESC - ASC + + DESC + ASC - - diff --git a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap index b2151882..940f4d11 100644 --- a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap @@ -4,150 +4,158 @@ exports[` tests should render and match the snapshot 1`] = `
- - +
- - - - - + + +
+ +
- + +
-
-
-

-
    -
  • -
  • -
  • -
-

-
+ + +
diff --git a/app/containers/HomeContainer/tests/index.test.tsx b/app/containers/HomeContainer/tests/index.test.tsx index 628e0fd8..2b482949 100644 --- a/app/containers/HomeContainer/tests/index.test.tsx +++ b/app/containers/HomeContainer/tests/index.test.tsx @@ -194,7 +194,7 @@ describe(' tests', () => { it('should render Skeleton Comp when "loading" is true', async () => { const { baseElement } = renderProvider(); - expect(baseElement.getElementsByClassName('ant-skeleton').length).toBe(1); + expect(baseElement.getElementsByClassName('skeleton')).toBeTruthy(); }); it('should delete mission_name query param from search on empty change', async () => { @@ -216,25 +216,6 @@ describe(' tests', () => { await waitFor(() => expect(submitSpy).toBeCalled()); }); - it('should sort the launches by date in ASC', async () => { - history.location.search = '?order=unknown'; - const { getByText, getByRole } = renderProvider( - - ); - fireEvent.mouseDown(getByRole('combobox')!); - fireEvent.click(getByText('ASC')); - await waitFor(() => expect(history.location.search).toContain('order=asc')); - }); - - it('should sort the launches by date in DESC', async () => { - const { getByText, getByRole } = renderProvider( - - ); - fireEvent.mouseDown(getByRole('combobox')!); - fireEvent.click(getByText('DESC')); - await waitFor(() => expect(history.location.search).toContain('order=desc')); - }); - it('should push to first page if no data found in the current page', async () => { history.location.search = '?page=3'; const { rerender } = renderProvider( @@ -261,11 +242,10 @@ describe(' tests', () => { }); it('should clear sort when clicked on clear sort button', async () => { - const { getByText, getByRole, getByTestId, rerender } = renderProvider( + const { getByTestId, rerender } = renderProvider( ); - fireEvent.mouseDown(getByRole('combobox')!); - fireEvent.click(getByText('DESC')); + fireEvent.mouseDown(getByTestId('sort-select')); await waitFor(() => { renderProvider(, {}, rerender as any); }); diff --git a/app/containers/HomeContainer/useSort.ts b/app/containers/HomeContainer/useSort.ts index f87846e7..c38ee268 100644 --- a/app/containers/HomeContainer/useSort.ts +++ b/app/containers/HomeContainer/useSort.ts @@ -5,7 +5,7 @@ export default function useSort() { const orderQp = new URLSearchParams(history.location.search).get('order'); const order = [null, 'asc', 'desc'].includes(orderQp) ? orderQp : null; - const handleDateSort = (value: string) => setQueryParam({ param: 'order', value }); + const handleDateSort = (value: any) => setQueryParam({ param: 'order', value: value.target.value }); const handleClearSort = () => setQueryParam({ param: 'order', deleteParam: true }); return { diff --git a/app/containers/LaunchDetails/tests/__snapshots__/index.test.tsx.snap b/app/containers/LaunchDetails/tests/__snapshots__/index.test.tsx.snap index 0c5bbaa9..2fb1ccab 100644 --- a/app/containers/LaunchDetails/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/LaunchDetails/tests/__snapshots__/index.test.tsx.snap @@ -19,14 +19,11 @@ exports[` container tests should render and match the snapshot > Go Back -
- -
+ not found

history.push('/')}> Go Back - + ); } diff --git a/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap b/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap index 0d9c446a..f29f0c50 100644 --- a/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap @@ -16,13 +16,10 @@ exports[` tests should render and match the snapshot 1`] = ` > Go Back -

- -
+ not found
`; diff --git a/app/index.html b/app/index.html index 28db8da0..570dc551 100644 --- a/app/index.html +++ b/app/index.html @@ -13,7 +13,6 @@ React Template - diff --git a/babel.config.js b/babel.config.js index 51904430..edca34bb 100644 --- a/babel.config.js +++ b/babel.config.js @@ -47,32 +47,69 @@ module.exports = { 'transform-react-remove-prop-types', '@babel/plugin-transform-react-inline-elements', '@babel/plugin-transform-react-constant-elements', - ['import', { libraryName: 'antd', libraryDirectory: 'es', style: true }, 'antd'], + '@babel/plugin-transform-runtime', [ - 'import', + 'babel-plugin-import', + { + libraryName: '@mui/material', + libraryDirectory: '', + camel2DashComponentName: false + }, + 'core' + ], + [ + 'babel-plugin-import', { - libraryName: '@ant-design/icons', - libraryDirectory: 'es/icons', + libraryName: '@mui/icons-material', + libraryDirectory: '', camel2DashComponentName: false }, - '@ant-design/icons' + 'icons' ] ] }, dev: { - plugins: [['import', { libraryName: 'antd', style: true }]] + plugins: [ + '@babel/plugin-transform-runtime', + [ + 'import', + { + libraryName: '@material-ui/core', + libraryDirectory: '', + camel2DashComponentName: false + } + ], + [ + ('babel-plugin-import', + { + libraryName: '@mui/icons-material', + libraryDirectory: '', + camel2DashComponentName: false + }, + 'icons') + ] + ] }, development: { plugins: [ - ['import', { libraryName: 'antd', style: true }], + '@babel/plugin-transform-runtime', [ - 'import', + 'babel-plugin-import', + { + libraryName: '@mui/material', + libraryDirectory: '', + camel2DashComponentName: false + }, + 'core' + ], + [ + 'babel-plugin-import', { - libraryName: '@ant-design/icons', - libraryDirectory: 'es/icons', + libraryName: '@mui/icons-material', + libraryDirectory: '', camel2DashComponentName: false }, - '@ant-design/icons' + 'icons' ] ] }, @@ -80,7 +117,24 @@ module.exports = { plugins: [ '@babel/plugin-transform-modules-commonjs', 'dynamic-import-node', - ['import', { libraryName: 'antd', style: true }], + '@babel/plugin-transform-runtime', + [ + 'import', + { + libraryName: '@material-ui/core', + libraryDirectory: '', + camel2DashComponentName: false + } + ], + [ + 'babel-plugin-import', + { + libraryName: '@mui/icons-material', + libraryDirectory: '', + camel2DashComponentName: false + }, + 'icons' + ], [ '@emotion', { diff --git a/internals/webpack/webpack.config.base.js b/internals/webpack/webpack.config.base.js index 2183e843..d3f67f4c 100644 --- a/internals/webpack/webpack.config.base.js +++ b/internals/webpack/webpack.config.base.js @@ -172,7 +172,12 @@ module.exports = (options) => ({ '@emotion/core': path.resolve(__dirname, '../../node_modules/moment/@emotion/react'), '@emotion/styled': path.resolve(__dirname, '../../node_modules/@emotion/styled'), 'emotion-theming': path.resolve(__dirname, '../../node_modules/@emotion/react'), - '@ant-design/icons/lib/dist$': path.resolve(__dirname, './app/icons.js') + '@mui/base': '@mui/base/modern', + '@mui/lab': '@mui/lab/modern', + '@mui/material': '@mui/material/modern', + '@mui/styled-engine': '@mui/styled-engine/modern', + '@mui/system': '@mui/system/modern', + '@mui/utils': '@mui/utils/modern' }, extensions: ['.js', '.jsx', '.ts', '.tsx', '.react.js'], mainFields: ['browser', 'jsnext:main', 'main'] diff --git a/package.json b/package.json index b1914e78..d56ae8cf 100644 --- a/package.json +++ b/package.json @@ -79,6 +79,7 @@ "pre-commit": "lint:staged", "dependencies": { "@babel/helper-regex": "^7.10.5", + "@babel/plugin-transform-runtime": "^7.21.0", "@emotion/core": "^11.0.0", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/yarn.lock b/yarn.lock index 14e107ba..dd61d0ff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -31,32 +31,32 @@ dependencies: "@ctrl/tinycolor" "^3.4.0" -"@ant-design/icons-svg@^4.0.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.1.0.tgz#480b025f4b20ef7fe8f47d4a4846e4fee84ea06c" - integrity sha512-Fi03PfuUqRs76aI3UWYpP864lkrfPo0hluwGqh7NJdLhvH4iRDc3jbJqZIvRDLHKbXrvAfPPV3+zjUccfFvWOQ== +"@ant-design/icons-svg@^4.2.1": + version "4.2.1" + resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.2.1.tgz#8630da8eb4471a4aabdaed7d1ff6a97dcb2cf05a" + integrity sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw== -"@ant-design/icons@^4.6.2": - version "4.6.2" - resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-4.6.2.tgz#290f2e8cde505ab081fda63e511e82d3c48be982" - integrity sha512-QsBG2BxBYU/rxr2eb8b2cZ4rPKAPBpzAR+0v6rrZLp/lnyvflLH3tw1vregK+M7aJauGWjIGNdFmUfpAOtw25A== +"@ant-design/icons@^4.7.0": + version "4.8.0" + resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-4.8.0.tgz#3084e2bb494cac3dad6c0392f77c1efc90ee1fa4" + integrity sha512-T89P2jG2vM7OJ0IfGx2+9FC5sQjtTzRSz+mCHTXkFn/ELZc2YpfStmYHmqzq2Jx55J0F7+O6i5/ZKFSVNWCKNg== dependencies: "@ant-design/colors" "^6.0.0" - "@ant-design/icons-svg" "^4.0.0" + "@ant-design/icons-svg" "^4.2.1" "@babel/runtime" "^7.11.2" classnames "^2.2.6" rc-util "^5.9.4" -"@ant-design/react-slick@~0.28.1": - version "0.28.3" - resolved "https://registry.yarnpkg.com/@ant-design/react-slick/-/react-slick-0.28.3.tgz#ad5cf1cf50363c1a3842874d69d0ce1f26696e71" - integrity sha512-u3onF2VevGRbkGbgpldVX/nzd7LFtLeZJE0x2xIFT2qYHKkJZ6QT/jQ7KqYK4UpeTndoyrbMqLN4DiJza4BVBg== +"@ant-design/react-slick@~0.29.1": + version "0.29.2" + resolved "https://registry.yarnpkg.com/@ant-design/react-slick/-/react-slick-0.29.2.tgz#53e6a7920ea3562eebb304c15a7fc2d7e619d29c" + integrity sha512-kgjtKmkGHa19FW21lHnAfyyH9AAoh35pBdcJ53rHmQ3O+cfFHGHnUbj/HFrRNJ5vIts09FKJVAD8RpaC+RaWfA== dependencies: "@babel/runtime" "^7.10.4" classnames "^2.2.5" json2mq "^0.2.0" lodash "^4.17.21" - resize-observer-polyfill "^1.5.0" + resize-observer-polyfill "^1.5.1" "@babel/cli@7.14.5": version "7.14.5" @@ -368,6 +368,18 @@ resolve "^1.14.2" semver "^6.1.2" +"@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== + dependencies: + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-plugin-utils" "^7.16.7" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" + "@babel/helper-environment-visitor@^7.16.7": version "7.16.7" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7" @@ -570,6 +582,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5" integrity sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA== +"@babel/helper-plugin-utils@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" + integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== + "@babel/helper-regex@^7.10.5": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/helper-regex/-/helper-regex-7.10.5.tgz#32dfbb79899073c415557053a19bd055aae50ae0" @@ -1380,6 +1397,18 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" +"@babel/plugin-transform-runtime@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.0.tgz#2a884f29556d0a68cd3d152dcc9e6c71dfb6eee8" + integrity sha512-ReY6pxwSzEU0b3r2/T/VhqMKg/AkceBT19X0UptA3/tYi5Pe2eXgEUH+NNMC5nok6c6XQz5tyVTUpuezRfSMSg== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + babel-plugin-polyfill-corejs2 "^0.3.3" + babel-plugin-polyfill-corejs3 "^0.6.0" + babel-plugin-polyfill-regenerator "^0.4.1" + semver "^6.3.0" + "@babel/plugin-transform-shorthand-properties@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz#97f13855f1409338d8cadcbaca670ad79e091a58" @@ -1665,13 +1694,20 @@ dependencies: regenerator-runtime "^0.12.0" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.3", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.3", "@babel/runtime@^7.4.4", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": version "7.14.6" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.6.tgz#535203bc0892efc7dec60bdc27b2ecf6e409062d" integrity sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg== dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.7": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" + integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== + dependencies: + regenerator-runtime "^0.13.11" + "@babel/runtime@^7.12.13": version "7.15.3" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.3.tgz#2e1c2880ca118e5b2f9988322bd8a7656a32502b" @@ -1686,13 +1722,6 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.18.3", "@babel/runtime@^7.20.13": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" - integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== - dependencies: - regenerator-runtime "^0.13.11" - "@babel/template@^7.14.5", "@babel/template@^7.3.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" @@ -1821,9 +1850,9 @@ integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== "@ctrl/tinycolor@^3.4.0": - version "3.4.0" - resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.4.0.tgz#c3c5ae543c897caa9c2a68630bed355be5f9990f" - integrity sha512-JZButFdZ1+/xAfpguQHoabIXkcqRRKpMrWKBkpEZZyxfY9C1DpADFB8PEqGSTeFr135SaTRfKqGKx5xSCLI7ZQ== + version "3.6.0" + resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.6.0.tgz#53fa5fe9c34faee89469e48f91d51a3766108bc8" + integrity sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ== "@discoveryjs/json-ext@^0.5.0": version "0.5.3" @@ -2952,6 +2981,15 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== +"@rc-component/portal@^1.0.0-6", "@rc-component/portal@^1.0.0-8", "@rc-component/portal@^1.0.2": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@rc-component/portal/-/portal-1.1.0.tgz#6b94450d2c2b00d50b141bd7a0be23bd96503dbe" + integrity sha512-tbXM9SB1r5FOuZjRCljERFByFiEUcMmCWMXLog/NmgCzlAzreXyf23Vei3ZpSMxSMavzPnhCovfZjZdmxS3d1w== + dependencies: + "@babel/runtime" "^7.18.0" + classnames "^2.3.2" + rc-util "^5.24.4" + "@reach/router@^1.2.1": version "1.3.4" resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.3.4.tgz#d2574b19370a70c80480ed91f3da840136d10f8c" @@ -4787,52 +4825,53 @@ ansi-to-html@^0.6.11: entities "^2.0.0" antd@^4.9.3: - version "4.16.5" - resolved "https://registry.yarnpkg.com/antd/-/antd-4.16.5.tgz#6105bd848fb2e468e0d1d3ec024c82d2516587ef" - integrity sha512-HOPqJWdncFsviMisff7KUM77wwmIlSCfS6J0LAs3D/VP7pRCqo1YQLkdBJ77wxRjS60rwe8KDDayulohiTSoBQ== + version "4.24.8" + resolved "https://registry.yarnpkg.com/antd/-/antd-4.24.8.tgz#22f34de6857556868780dfa5fe7b374b0b71b517" + integrity sha512-wrNy2Hi27uM3948okG3n2GwzQKBFUn1Qn5mn2I/ALcR28rC6cTjHYOuA248Zl9ECzz3jo4TY2R0SIa+5GZ/zGA== dependencies: "@ant-design/colors" "^6.0.0" - "@ant-design/icons" "^4.6.2" - "@ant-design/react-slick" "~0.28.1" - "@babel/runtime" "^7.12.5" - array-tree-filter "^2.1.0" + "@ant-design/icons" "^4.7.0" + "@ant-design/react-slick" "~0.29.1" + "@babel/runtime" "^7.18.3" + "@ctrl/tinycolor" "^3.4.0" classnames "^2.2.6" copy-to-clipboard "^3.2.0" lodash "^4.17.21" - moment "^2.25.3" - rc-cascader "~1.4.0" + moment "^2.29.2" + rc-cascader "~3.7.0" rc-checkbox "~2.3.0" - rc-collapse "~3.1.0" - rc-dialog "~8.5.1" - rc-drawer "~4.3.0" - rc-dropdown "~3.2.0" - rc-field-form "~1.20.0" - rc-image "~5.2.4" - rc-input-number "~7.1.0" - rc-mentions "~1.6.1" - rc-menu "~9.0.12" - rc-motion "^2.4.0" - rc-notification "~4.5.7" - rc-pagination "~3.1.6" - rc-picker "~2.5.10" - rc-progress "~3.1.0" + rc-collapse "~3.4.2" + rc-dialog "~9.0.2" + rc-drawer "~6.1.0" + rc-dropdown "~4.0.0" + rc-field-form "~1.27.0" + rc-image "~5.13.0" + rc-input "~0.1.4" + rc-input-number "~7.3.9" + rc-mentions "~1.13.1" + rc-menu "~9.8.0" + rc-motion "^2.6.1" + rc-notification "~4.6.0" + rc-pagination "~3.2.0" + rc-picker "~2.7.0" + rc-progress "~3.4.1" rc-rate "~2.9.0" - rc-resize-observer "^1.0.0" - rc-select "~12.1.6" - rc-slider "~9.7.1" - rc-steps "~4.1.0" + rc-resize-observer "^1.2.0" + rc-segmented "~2.1.0" + rc-select "~14.1.13" + rc-slider "~10.0.0" + rc-steps "~5.0.0-alpha.2" rc-switch "~3.2.0" - rc-table "~7.15.1" - rc-tabs "~11.9.1" - rc-textarea "~0.3.0" - rc-tooltip "~5.1.1" - rc-tree "~4.1.0" - rc-tree-select "~4.3.0" - rc-trigger "^5.2.1" + rc-table "~7.26.0" + rc-tabs "~12.5.6" + rc-textarea "~0.4.5" + rc-tooltip "~5.2.0" + rc-tree "~5.7.0" + rc-tree-select "~5.5.0" + rc-trigger "^5.2.10" rc-upload "~4.3.0" - rc-util "^5.13.1" + rc-util "^5.22.5" scroll-into-view-if-needed "^2.2.25" - warning "^4.0.3" any-base@^1.1.0: version "1.1.0" @@ -5218,10 +5257,10 @@ async-each@^1.0.1: resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== -async-validator@^3.0.3: - version "3.5.2" - resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-3.5.2.tgz#68e866a96824e8b2694ff7a831c1a25c44d5e500" - integrity sha512-8eLCg00W9pIRZSB781UUX/H6Oskmm8xloZfr09lz5bikRpBVDlJ3hRVuxxP1SxcwsEYfJ4IU8Q19Y8/893r3rQ== +async-validator@^4.1.0: + version "4.2.5" + resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339" + integrity sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg== async@^2.6.1: version "2.6.3" @@ -5591,6 +5630,15 @@ babel-plugin-polyfill-corejs2@^0.2.2: "@babel/helper-define-polyfill-provider" "^0.2.2" semver "^6.1.1" +babel-plugin-polyfill-corejs2@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== + dependencies: + "@babel/compat-data" "^7.17.7" + "@babel/helper-define-polyfill-provider" "^0.3.3" + semver "^6.1.1" + babel-plugin-polyfill-corejs3@^0.2.2: version "0.2.3" resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.3.tgz#72add68cf08a8bf139ba6e6dfc0b1d504098e57b" @@ -5599,6 +5647,14 @@ babel-plugin-polyfill-corejs3@^0.2.2: "@babel/helper-define-polyfill-provider" "^0.2.2" core-js-compat "^3.14.0" +babel-plugin-polyfill-corejs3@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.6.0.tgz#56ad88237137eade485a71b52f72dbed57c6230a" + integrity sha512-+eHqR6OPcBhJOGgsIar7xoAB1GcSwVUA3XjAd7HJNzOXT4wv6/H7KIdA/Nc60cvUlDbKApmqNvD1B1bzOt4nyA== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + core-js-compat "^3.25.1" + babel-plugin-polyfill-regenerator@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz#b310c8d642acada348c1fa3b3e6ce0e851bee077" @@ -5606,6 +5662,13 @@ babel-plugin-polyfill-regenerator@^0.2.2: dependencies: "@babel/helper-define-polyfill-provider" "^0.2.2" +babel-plugin-polyfill-regenerator@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + babel-plugin-react-docgen@^4.0.0: version "4.2.1" resolved "https://registry.yarnpkg.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-4.2.1.tgz#7cc8e2f94e8dc057a06e953162f0810e4e72257b" @@ -6120,7 +6183,7 @@ browserslist@^4.17.5: node-releases "^2.0.2" picocolors "^1.0.0" -browserslist@^4.21.3: +browserslist@^4.21.3, browserslist@^4.21.5: version "4.21.5" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== @@ -6648,7 +6711,12 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -classnames@2.x, classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.5, classnames@^2.2.6: +classnames@2.x, classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.6, classnames@^2.3.1, classnames@^2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924" + integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw== + +classnames@^2.2.5: version "2.3.1" resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.1.tgz#dfcfa3891e306ec1dad105d0e88f4417b8535e8e" integrity sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA== @@ -6926,10 +6994,10 @@ compression@1.7.4: safe-buffer "5.1.2" vary "~1.1.2" -compute-scroll-into-view@^1.0.17: - version "1.0.17" - resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz#6a88f18acd9d42e9cf4baa6bec7e0522607ab7ab" - integrity sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg== +compute-scroll-into-view@^1.0.20: + version "1.0.20" + resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz#1768b5522d1172754f5d0c9b02de3af6be506a43" + integrity sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg== concat-map@0.0.1: version "0.0.1" @@ -7069,13 +7137,20 @@ copy-descriptor@^0.1.0: resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40= -copy-to-clipboard@^3.0.8, copy-to-clipboard@^3.2.0: +copy-to-clipboard@^3.0.8: version "3.3.1" resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz#115aa1a9998ffab6196f93076ad6da3b913662ae" integrity sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw== dependencies: toggle-selection "^1.0.6" +copy-to-clipboard@^3.2.0: + version "3.3.3" + resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" + integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== + dependencies: + toggle-selection "^1.0.6" + core-js-compat@^3.14.0, core-js-compat@^3.15.0: version "3.15.1" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.15.1.tgz#1afe233716d37ee021956ef097594071b2b585a7" @@ -7092,6 +7167,13 @@ core-js-compat@^3.16.0: browserslist "^4.16.7" semver "7.0.0" +core-js-compat@^3.25.1: + version "3.28.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.28.0.tgz#c08456d854608a7264530a2afa281fadf20ecee6" + integrity sha512-myzPgE7QodMg4nnd3K1TDoES/nADRStM8Gpz0D6nhkwbmwEnE0ZGJgoWsvQ722FR8D7xS0n0LV556RcEicjTyg== + dependencies: + browserslist "^4.21.5" + core-js-pure@^3.0.1: version "3.16.1" resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.16.1.tgz#b997df2669c957a5b29f06e95813a171f993592e" @@ -7497,21 +7579,26 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" +date-fns@2.x: + version "2.29.3" + resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" + integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== + date-fns@^1.27.2: version "1.30.1" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== -date-fns@^2.15.0: - version "2.22.1" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.22.1.tgz#1e5af959831ebb1d82992bf67b765052d8f0efc4" - integrity sha512-yUFPQjrxEmIsMqlHhAhmxkuH769baF21Kk+nZwZGyrMoyLA+LugaQtC0+Tqf9CBUUULWwUJt6Q5ySI3LJDDCGg== - date-fns@^2.16.1, date-fns@^2.28.0: version "2.28.0" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.28.0.tgz#9570d656f5fc13143e50c975a3b6bbeb46cd08b2" integrity sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw== +dayjs@1.x: + version "1.11.7" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" + integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== + debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.8, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -7911,9 +7998,9 @@ dom-accessibility-api@^0.5.9: integrity sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg== dom-align@^1.7.0: - version "1.12.2" - resolved "https://registry.yarnpkg.com/dom-align/-/dom-align-1.12.2.tgz#0f8164ebd0c9c21b0c790310493cd855892acd4b" - integrity sha512-pHuazgqrsTFrGU2WLDdXxCFabkdQDx72ddkraZNih1KsMcN5qsRSTR9O4VJRlwTPCPb5COYg3LOfiMHHcPInHg== + version "1.12.4" + resolved "https://registry.yarnpkg.com/dom-align/-/dom-align-1.12.4.tgz#3503992eb2a7cfcb2ed3b2a6d21e0b9c00d54511" + integrity sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw== dom-converter@^0.2.0: version "0.2.0" @@ -12774,7 +12861,7 @@ json-stringify-safe@~5.0.1: json2mq@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/json2mq/-/json2mq-0.2.0.tgz#b637bd3ba9eabe122c83e9720483aeb10d2c904a" - integrity sha1-tje9O6nqvhIsg+lyBIOusQ0skEo= + integrity sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA== dependencies: string-convert "^0.2.0" @@ -13949,10 +14036,10 @@ mkpath@^0.1.0: resolved "https://registry.yarnpkg.com/mkpath/-/mkpath-0.1.0.tgz#7554a6f8d871834cc97b5462b122c4c124d6de91" integrity sha1-dVSm+Nhxg0zJe1RisSLEwSTW3pE= -moment@^2.24.0, moment@^2.25.3: - version "2.29.1" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" - integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ== +moment@^2.24.0, moment@^2.29.2: + version "2.29.4" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" + integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== move-concurrently@^1.0.1: version "1.0.1" @@ -16045,26 +16132,27 @@ raw-loader@^3.1.0: schema-utils "^2.0.1" rc-align@^4.0.0: - version "4.0.9" - resolved "https://registry.yarnpkg.com/rc-align/-/rc-align-4.0.9.tgz#46d8801c4a139ff6a65ad1674e8efceac98f85f2" - integrity sha512-myAM2R4qoB6LqBul0leaqY8gFaiECDJ3MtQDmzDo9xM9NRT/04TvWOYd2YHU9zvGzqk9QXF6S9/MifzSKDZeMw== + version "4.0.15" + resolved "https://registry.yarnpkg.com/rc-align/-/rc-align-4.0.15.tgz#2bbd665cf85dfd0b0244c5a752b07565e9098577" + integrity sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" dom-align "^1.7.0" - rc-util "^5.3.0" + rc-util "^5.26.0" resize-observer-polyfill "^1.5.1" -rc-cascader@~1.4.0: - version "1.4.3" - resolved "https://registry.yarnpkg.com/rc-cascader/-/rc-cascader-1.4.3.tgz#d91b0dcf8157b60ebe9ec3e58b4db054d5299464" - integrity sha512-Q4l9Mv8aaISJ+giVnM9IaXxDeMqHUGLvi4F+LksS6pHlaKlN4awop/L+IMjIXpL+ug/ojaCyv/ixcVopJYYCVA== +rc-cascader@~3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/rc-cascader/-/rc-cascader-3.7.0.tgz#98134df578ce1cca22be8fb4319b04df4f3dca36" + integrity sha512-SFtGpwmYN7RaWEAGTS4Rkc62ZV/qmQGg/tajr/7mfIkleuu8ro9Hlk6J+aA0x1YS4zlaZBtTcSaXM01QMiEV/A== dependencies: "@babel/runtime" "^7.12.5" array-tree-filter "^2.1.0" - rc-trigger "^5.0.4" - rc-util "^5.0.1" - warning "^4.0.1" + classnames "^2.3.1" + rc-select "~14.1.0" + rc-tree "~5.7.0" + rc-util "^5.6.1" rc-checkbox@~2.3.0: version "2.3.2" @@ -16074,10 +16162,10 @@ rc-checkbox@~2.3.0: "@babel/runtime" "^7.10.1" classnames "^2.2.1" -rc-collapse@~3.1.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/rc-collapse/-/rc-collapse-3.1.1.tgz#2421d454e85781d1cf2f04f906918e0677d779e6" - integrity sha512-/oetKApTHzGGeR8Q8vD168EXkCs2MpEIrURGyy2D+LrrJd29LY/huuIMvOiJoSV6W3bcGhJqIdgHtg1Dxn1smA== +rc-collapse@~3.4.2: + version "3.4.2" + resolved "https://registry.yarnpkg.com/rc-collapse/-/rc-collapse-3.4.2.tgz#1310be7ad4cd0dcfc622c45f6c3b5ffdee403ad7" + integrity sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" @@ -16085,196 +16173,221 @@ rc-collapse@~3.1.0: rc-util "^5.2.1" shallowequal "^1.1.0" -rc-dialog@~8.5.0, rc-dialog@~8.5.1: - version "8.5.2" - resolved "https://registry.yarnpkg.com/rc-dialog/-/rc-dialog-8.5.2.tgz#530e289c25a31c15c85a0e8a4ba3f33414bff418" - integrity sha512-3n4taFcjqhTE9uNuzjB+nPDeqgRBTEGBfe46mb1e7r88DgDo0lL4NnxY/PZ6PJKd2tsCt+RrgF/+YeTvJ/Thsw== +rc-dialog@~9.0.0, rc-dialog@~9.0.2: + version "9.0.2" + resolved "https://registry.yarnpkg.com/rc-dialog/-/rc-dialog-9.0.2.tgz#aadfebdeba145f256c1fac9b9f509f893cdbb5b8" + integrity sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg== dependencies: "@babel/runtime" "^7.10.1" + "@rc-component/portal" "^1.0.0-8" classnames "^2.2.6" rc-motion "^2.3.0" - rc-util "^5.6.1" + rc-util "^5.21.0" -rc-drawer@~4.3.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/rc-drawer/-/rc-drawer-4.3.1.tgz#356333a7af01b777abd685c96c2ce62efb44f3f3" - integrity sha512-GMfFy4maqxS9faYXEhQ+0cA1xtkddEQzraf6SAdzWbn444DrrLogwYPk1NXSpdXjLCLxgxOj9MYtyYG42JsfXg== +rc-drawer@~6.1.0: + version "6.1.3" + resolved "https://registry.yarnpkg.com/rc-drawer/-/rc-drawer-6.1.3.tgz#4b2277db09f059be7144dc82d5afede9c2ab2191" + integrity sha512-AvHisO90A+xMLMKBw2zs89HxjWxusM2BUABlgK60RhweIHF8W/wk0hSOrxBlUXoA9r1F+10na3g6GZ97y1qDZA== dependencies: "@babel/runtime" "^7.10.1" + "@rc-component/portal" "^1.0.0-6" classnames "^2.2.6" - rc-util "^5.7.0" + rc-motion "^2.6.1" + rc-util "^5.21.2" -rc-dropdown@^3.2.0, rc-dropdown@~3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/rc-dropdown/-/rc-dropdown-3.2.0.tgz#da6c2ada403842baee3a9e909a0b1a91ba3e1090" - integrity sha512-j1HSw+/QqlhxyTEF6BArVZnTmezw2LnSmRk6I9W7BCqNCKaRwleRmMMs1PHbuaG8dKHVqP6e21RQ7vPBLVnnNw== +rc-dropdown@~4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/rc-dropdown/-/rc-dropdown-4.0.1.tgz#f65d9d3d89750241057db59d5a75e43cd4576b68" + integrity sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g== dependencies: - "@babel/runtime" "^7.10.1" + "@babel/runtime" "^7.18.3" classnames "^2.2.6" - rc-trigger "^5.0.4" + rc-trigger "^5.3.1" + rc-util "^5.17.0" -rc-field-form@~1.20.0: - version "1.20.1" - resolved "https://registry.yarnpkg.com/rc-field-form/-/rc-field-form-1.20.1.tgz#d1c51888107cf075b42704b7b575bef84c359291" - integrity sha512-f64KEZop7zSlrG4ef/PLlH12SLn6iHDQ3sTG+RfKBM45hikwV1i8qMf53xoX12NvXXWg1VwchggX/FSso4bWaA== +rc-field-form@~1.27.0: + version "1.27.4" + resolved "https://registry.yarnpkg.com/rc-field-form/-/rc-field-form-1.27.4.tgz#53600714af5b28c226c70d34867a8c52ccd64d44" + integrity sha512-PQColQnZimGKArnOh8V2907+VzDCXcqtFvHgevDLtqWc/P7YASb/FqntSmdS8q3VND5SHX3Y1vgMIzY22/f/0Q== dependencies: - "@babel/runtime" "^7.8.4" - async-validator "^3.0.3" + "@babel/runtime" "^7.18.0" + async-validator "^4.1.0" rc-util "^5.8.0" -rc-image@~5.2.4: - version "5.2.4" - resolved "https://registry.yarnpkg.com/rc-image/-/rc-image-5.2.4.tgz#ff1059f937bde6ca918c6f1beb316beba911f255" - integrity sha512-kWOjhZC1OoGKfvWqtDoO9r8WUNswBwnjcstI6rf7HMudz0usmbGvewcWqsOhyaBRJL9+I4eeG+xiAoxV1xi75Q== +rc-image@~5.13.0: + version "5.13.0" + resolved "https://registry.yarnpkg.com/rc-image/-/rc-image-5.13.0.tgz#1ed9b852a40b5eff34786ba7d2f0e9d26eeab874" + integrity sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg== dependencies: "@babel/runtime" "^7.11.2" + "@rc-component/portal" "^1.0.2" classnames "^2.2.6" - rc-dialog "~8.5.0" + rc-dialog "~9.0.0" + rc-motion "^2.6.2" rc-util "^5.0.6" -rc-input-number@~7.1.0: - version "7.1.4" - resolved "https://registry.yarnpkg.com/rc-input-number/-/rc-input-number-7.1.4.tgz#9d7410c91ff8dc6384d0233c20df278982989f9a" - integrity sha512-EG4iqkqyqzLRu/Dq+fw2od7nlgvXLEatE+J6uhi3HXE1qlM3C7L6a7o/hL9Ly9nimkES2IeQoj3Qda3I0izj3Q== +rc-input-number@~7.3.9: + version "7.3.11" + resolved "https://registry.yarnpkg.com/rc-input-number/-/rc-input-number-7.3.11.tgz#c7089705a220e1a59ba974fabf89693e00dd2442" + integrity sha512-aMWPEjFeles6PQnMqP5eWpxzsvHm9rh1jQOWXExUEIxhX62Fyl/ptifLHOn17+waDG1T/YUb6flfJbvwRhHrbA== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.5" - rc-util "^5.9.8" + rc-util "^5.23.0" -rc-mentions@~1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/rc-mentions/-/rc-mentions-1.6.1.tgz#46035027d64aa33ef840ba0fbd411871e34617ae" - integrity sha512-LDzGI8jJVGnkhpTZxZuYBhMz3avcZZqPGejikchh97xPni/g4ht714Flh7DVvuzHQ+BoKHhIjobHnw1rcP8erg== +rc-input@~0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/rc-input/-/rc-input-0.1.4.tgz#45cb4ba209ae6cc835a2acb8629d4f8f0cb347e0" + integrity sha512-FqDdNz+fV2dKNgfXzcSLKvC+jEs1709t7nD+WdfjrdSaOcefpgc7BUJYadc3usaING+b7ediMTfKxuJBsEFbXA== + dependencies: + "@babel/runtime" "^7.11.1" + classnames "^2.2.1" + rc-util "^5.18.1" + +rc-mentions@~1.13.1: + version "1.13.1" + resolved "https://registry.yarnpkg.com/rc-mentions/-/rc-mentions-1.13.1.tgz#c884b70e1505a197f1b32a7c6b39090db6992a72" + integrity sha512-FCkaWw6JQygtOz0+Vxz/M/NWqrWHB9LwqlY2RtcuFqWJNFK9njijOOzTSsBGANliGufVUzx/xuPHmZPBV0+Hgw== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.6" - rc-menu "^9.0.0" - rc-textarea "^0.3.0" + rc-menu "~9.8.0" + rc-textarea "^0.4.0" rc-trigger "^5.0.4" - rc-util "^5.0.1" + rc-util "^5.22.5" -rc-menu@^9.0.0, rc-menu@~9.0.12: - version "9.0.12" - resolved "https://registry.yarnpkg.com/rc-menu/-/rc-menu-9.0.12.tgz#492c4bb07a596e2ce07587c669b27ee28c3810c5" - integrity sha512-8uy47DL36iDEwVZdUO/fjhhW5+4j0tYlrCsOzw6iy8MJqKL7/HC2pj7sL/S9ayp2+hk9fYQYB9Tu+UN+N2OOOQ== +rc-menu@~9.8.0: + version "9.8.2" + resolved "https://registry.yarnpkg.com/rc-menu/-/rc-menu-9.8.2.tgz#179df4ea0fc46fffb7a21e18d3cddb901ce35986" + integrity sha512-EahOJVjLuEnJsThoPN+mGnVm431RzVzDLZWHRS/YnXTQULa7OsgdJa/Y7qXxc3Z5sz8mgT6xYtgpmBXLxrZFaQ== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" rc-motion "^2.4.3" - rc-overflow "^1.2.0" + rc-overflow "^1.2.8" rc-trigger "^5.1.2" - rc-util "^5.12.0" - shallowequal "^1.1.0" + rc-util "^5.27.0" -rc-motion@^2.0.0, rc-motion@^2.0.1, rc-motion@^2.2.0, rc-motion@^2.3.0, rc-motion@^2.3.4, rc-motion@^2.4.0, rc-motion@^2.4.3: - version "2.4.4" - resolved "https://registry.yarnpkg.com/rc-motion/-/rc-motion-2.4.4.tgz#e995d5fa24fc93065c24f714857cf2677d655bb0" - integrity sha512-ms7n1+/TZQBS0Ydd2Q5P4+wJTSOrhIrwNxLXCZpR7Fa3/oac7Yi803HDALc2hLAKaCTQtw9LmQeB58zcwOsqlQ== +rc-motion@^2.0.0, rc-motion@^2.0.1, rc-motion@^2.2.0, rc-motion@^2.3.0, rc-motion@^2.3.4, rc-motion@^2.4.3, rc-motion@^2.4.4, rc-motion@^2.6.1, rc-motion@^2.6.2: + version "2.6.3" + resolved "https://registry.yarnpkg.com/rc-motion/-/rc-motion-2.6.3.tgz#e6d8ca06591c2c1bcd3391a8e7a822ebc4d94e9c" + integrity sha512-xFLkes3/7VL/J+ah9jJruEW/Akbx5F6jVa2wG5o/ApGKQKSOd5FR3rseHLL9+xtJg4PmCwo6/1tqhDO/T+jFHA== dependencies: "@babel/runtime" "^7.11.1" classnames "^2.2.1" - rc-util "^5.2.1" + rc-util "^5.21.0" -rc-notification@~4.5.7: - version "4.5.7" - resolved "https://registry.yarnpkg.com/rc-notification/-/rc-notification-4.5.7.tgz#265e6e6a0c1a0fac63d6abd4d832eb8ff31522f1" - integrity sha512-zhTGUjBIItbx96SiRu3KVURcLOydLUHZCPpYEn1zvh+re//Tnq/wSxN4FKgp38n4HOgHSVxcLEeSxBMTeBBDdw== +rc-notification@~4.6.0: + version "4.6.1" + resolved "https://registry.yarnpkg.com/rc-notification/-/rc-notification-4.6.1.tgz#068e8674f4bd7926a447eca512915d4b41b15c91" + integrity sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" rc-motion "^2.2.0" - rc-util "^5.0.1" + rc-util "^5.20.1" -rc-overflow@^1.0.0, rc-overflow@^1.2.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/rc-overflow/-/rc-overflow-1.2.2.tgz#95b0222016c0cdbdc0db85f569c262e7706a5f22" - integrity sha512-X5kj9LDU1ue5wHkqvCprJWLKC+ZLs3p4He/oxjZ1Q4NKaqKBaYf5OdSzRSgh3WH8kSdrfU8LjvlbWnHgJOEkNQ== +rc-overflow@^1.0.0, rc-overflow@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/rc-overflow/-/rc-overflow-1.2.8.tgz#40f140fabc244118543e627cdd1ef750d9481a88" + integrity sha512-QJ0UItckWPQ37ZL1dMEBAdY1dhfTXFL9k6oTTcyydVwoUNMnMqCGqnRNA98axSr/OeDKqR6DVFyi8eA5RQI/uQ== dependencies: "@babel/runtime" "^7.11.1" classnames "^2.2.1" rc-resize-observer "^1.0.0" - rc-util "^5.5.1" + rc-util "^5.19.2" -rc-pagination@~3.1.6: - version "3.1.7" - resolved "https://registry.yarnpkg.com/rc-pagination/-/rc-pagination-3.1.7.tgz#13ba071a7fcb0c79896076806f3944653e7bf29e" - integrity sha512-sl0HGVhv6AsMzA5H3q7cBQcbAGj/sFjoiDSLvq3+/4IjihPqScZnSSiqR4Wu9G8RLgNjrBnGrSdTGO2Kyrt3IA== +rc-pagination@~3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/rc-pagination/-/rc-pagination-3.2.0.tgz#4f2fdba9fdac0f48e5c9fb1141973818138af7e1" + integrity sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.1" -rc-picker@~2.5.10: - version "2.5.13" - resolved "https://registry.yarnpkg.com/rc-picker/-/rc-picker-2.5.13.tgz#a2f352ebe5e067d72ffd53cc2074f8dcacbbcc7d" - integrity sha512-FbEK5tKB5RVO/Pw3DHwYdL338oVH8TdfDU69fXjeStVeiaqDHf+VgpwI5qXo5vJltmmlNcM2oAbLPq7iIKDFRw== +rc-picker@~2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/rc-picker/-/rc-picker-2.7.0.tgz#3c19881da27a0c5ee4c7e7504e21b552bd43a94c" + integrity sha512-oZH6FZ3j4iuBxHB4NvQ6ABRsS2If/Kpty1YFFsji7/aej6ruGmfM7WnJWQ88AoPfpJ++ya5z+nVEA8yCRYGKyw== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.1" - date-fns "^2.15.0" + date-fns "2.x" + dayjs "1.x" moment "^2.24.0" rc-trigger "^5.0.4" rc-util "^5.4.0" shallowequal "^1.1.0" -rc-progress@~3.1.0: - version "3.1.4" - resolved "https://registry.yarnpkg.com/rc-progress/-/rc-progress-3.1.4.tgz#66040d0fae7d8ced2b38588378eccb2864bad615" - integrity sha512-XBAif08eunHssGeIdxMXOmRQRULdHaDdIFENQ578CMb4dyewahmmfJRyab+hw4KH4XssEzzYOkAInTLS7JJG+Q== +rc-progress@~3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/rc-progress/-/rc-progress-3.4.1.tgz#a9ffe099e88a4fc03afb09d8603162bf0760d743" + integrity sha512-eAFDHXlk8aWpoXl0llrenPMt9qKHQXphxcVsnKs0FHC6eCSk1ebJtyaVjJUzKe0233ogiLDeEFK1Uihz3s67hw== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.6" + rc-util "^5.16.1" rc-rate@~2.9.0: - version "2.9.1" - resolved "https://registry.yarnpkg.com/rc-rate/-/rc-rate-2.9.1.tgz#e43cb95c4eb90a2c1e0b16ec6614d8c43530a731" - integrity sha512-MmIU7FT8W4LYRRHJD1sgG366qKtSaKb67D0/vVvJYR0lrCuRrCiVQ5qhfT5ghVO4wuVIORGpZs7ZKaYu+KMUzA== + version "2.9.2" + resolved "https://registry.yarnpkg.com/rc-rate/-/rc-rate-2.9.2.tgz#4a58965d1ecf91896ebae01d458b59056df0b4ea" + integrity sha512-SaiZFyN8pe0Fgphv8t3+kidlej+cq/EALkAJAc3A0w0XcPaH2L1aggM8bhe1u6GAGuQNAoFvTLjw4qLPGRKV5g== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.5" rc-util "^5.0.1" -rc-resize-observer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/rc-resize-observer/-/rc-resize-observer-1.0.0.tgz#97fb89856f62fec32ab6e40933935cf58e2e102d" - integrity sha512-RgKGukg1mlzyGdvzF7o/LGFC8AeoMH9aGzXTUdp6m+OApvmRdUuOscq/Y2O45cJA+rXt1ApWlpFoOIioXL3AGg== +rc-resize-observer@^1.0.0, rc-resize-observer@^1.1.0, rc-resize-observer@^1.2.0: + version "1.3.1" + resolved "https://registry.yarnpkg.com/rc-resize-observer/-/rc-resize-observer-1.3.1.tgz#b61b9f27048001243617b81f95e53d7d7d7a6a3d" + integrity sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg== dependencies: - "@babel/runtime" "^7.10.1" + "@babel/runtime" "^7.20.7" classnames "^2.2.1" - rc-util "^5.0.0" + rc-util "^5.27.0" resize-observer-polyfill "^1.5.1" -rc-select@^12.0.0, rc-select@~12.1.6: - version "12.1.13" - resolved "https://registry.yarnpkg.com/rc-select/-/rc-select-12.1.13.tgz#c33560ccb9339d30695b52458f55efc35af35273" - integrity sha512-cPI+aesP6dgCAaey4t4upDbEukJe+XN0DK6oO/6flcCX5o28o7KNZD7JAiVtC/6fCwqwI/kSs7S/43dvHmBl+A== +rc-segmented@~2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/rc-segmented/-/rc-segmented-2.1.2.tgz#14c9077a1dae9c2ccb2ef5fbc5662c1c48c7ce8e" + integrity sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ== + dependencies: + "@babel/runtime" "^7.11.1" + classnames "^2.2.1" + rc-motion "^2.4.4" + rc-util "^5.17.0" + +rc-select@~14.1.0, rc-select@~14.1.13: + version "14.1.16" + resolved "https://registry.yarnpkg.com/rc-select/-/rc-select-14.1.16.tgz#0cc4b5a1fc551a2db7c96bc1ece0896317ecdd47" + integrity sha512-71XLHleuZmufpdV2vis5oituRkhg2WNvLpVMJBGWRar6WGAVOHXaY9DR5HvwWry3EGTn19BqnL6Xbybje6f8YA== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" rc-motion "^2.0.1" rc-overflow "^1.0.0" rc-trigger "^5.0.4" - rc-util "^5.9.8" + rc-util "^5.16.1" rc-virtual-list "^3.2.0" -rc-slider@~9.7.1: - version "9.7.2" - resolved "https://registry.yarnpkg.com/rc-slider/-/rc-slider-9.7.2.tgz#282f571f7582752ebaa33964e441184f4e79ad74" - integrity sha512-mVaLRpDo6otasBs6yVnG02ykI3K6hIrLTNfT5eyaqduFv95UODI9PDS6fWuVVehVpdS4ENgOSwsTjrPVun+k9g== +rc-slider@~10.0.0: + version "10.0.1" + resolved "https://registry.yarnpkg.com/rc-slider/-/rc-slider-10.0.1.tgz#7058c68ff1e1aa4e7c3536e5e10128bdbccb87f9" + integrity sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.5" - rc-tooltip "^5.0.1" - rc-util "^5.0.0" + rc-util "^5.18.1" shallowequal "^1.1.0" -rc-steps@~4.1.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/rc-steps/-/rc-steps-4.1.3.tgz#208580e22db619e3830ddb7fa41bc886c65d9803" - integrity sha512-GXrMfWQOhN3sVze3JnzNboHpQdNHcdFubOETUHyDpa/U3HEKBZC3xJ8XK4paBgF4OJ3bdUVLC+uBPc6dCxvDYA== +rc-steps@~5.0.0-alpha.2: + version "5.0.0" + resolved "https://registry.yarnpkg.com/rc-steps/-/rc-steps-5.0.0.tgz#2e2403f2dd69eb3966d65f461f7e3a8ee1ef69fe" + integrity sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw== dependencies: - "@babel/runtime" "^7.10.2" + "@babel/runtime" "^7.16.7" classnames "^2.2.3" - rc-util "^5.0.1" + rc-util "^5.16.1" rc-switch@~3.2.0: version "3.2.2" @@ -16285,106 +16398,109 @@ rc-switch@~3.2.0: classnames "^2.2.1" rc-util "^5.0.1" -rc-table@~7.15.1: - version "7.15.2" - resolved "https://registry.yarnpkg.com/rc-table/-/rc-table-7.15.2.tgz#f6ab73b2cfb1c76f3cf9682c855561423c6b5b22" - integrity sha512-TAs7kCpIZwc2mtvD8CMrXSM6TqJDUsy0rUEV1YgRru33T8bjtAtc+9xW/KC1VWROJlHSpU0R0kXjFs9h/6+IzQ== +rc-table@~7.26.0: + version "7.26.0" + resolved "https://registry.yarnpkg.com/rc-table/-/rc-table-7.26.0.tgz#9d517e7fa512e7571fdcc453eb1bf19edfac6fbc" + integrity sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.5" - rc-resize-observer "^1.0.0" - rc-util "^5.13.0" + rc-resize-observer "^1.1.0" + rc-util "^5.22.5" shallowequal "^1.1.0" -rc-tabs@~11.9.1: - version "11.9.1" - resolved "https://registry.yarnpkg.com/rc-tabs/-/rc-tabs-11.9.1.tgz#5b2e74da9a276978c2172ef9a05ae8af14da74cb" - integrity sha512-CLNx3qaWnO8KBWPd+7r52Pfk0MoPyKtlr+2ltWq2I9iqAjd1nZu6iBpQP7wbWBwIomyeFNw/WjHdRN7VcX5Qtw== +rc-tabs@~12.5.6: + version "12.5.7" + resolved "https://registry.yarnpkg.com/rc-tabs/-/rc-tabs-12.5.7.tgz#9175f5e27341416d3f572c8d9a40e300d0e2de6b" + integrity sha512-i9gY2TcwCNmBM+bXCDDTvb6mnRYIDkkNm+UGoIqrLOFnRRbAqjsSf+tgyvzhBvbK8XcSrMhzKKLaOMbGyND8YA== dependencies: "@babel/runtime" "^7.11.2" classnames "2.x" - rc-dropdown "^3.2.0" - rc-menu "^9.0.0" + rc-dropdown "~4.0.0" + rc-menu "~9.8.0" + rc-motion "^2.6.2" rc-resize-observer "^1.0.0" - rc-util "^5.5.0" + rc-util "^5.16.0" -rc-textarea@^0.3.0, rc-textarea@~0.3.0: - version "0.3.4" - resolved "https://registry.yarnpkg.com/rc-textarea/-/rc-textarea-0.3.4.tgz#1408a64c87b5e76db5c847699ef9ab5ee97dd6f9" - integrity sha512-ILUYx831ZukQPv3m7R4RGRtVVWmL1LV4ME03L22mvT56US0DGCJJaRTHs4vmpcSjFHItph5OTmhodY4BOwy81A== +rc-textarea@^0.4.0, rc-textarea@~0.4.5: + version "0.4.7" + resolved "https://registry.yarnpkg.com/rc-textarea/-/rc-textarea-0.4.7.tgz#627f662d46f99e0059d1c1ebc8db40c65339fe90" + integrity sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ== dependencies: "@babel/runtime" "^7.10.1" classnames "^2.2.1" rc-resize-observer "^1.0.0" - rc-util "^5.7.0" + rc-util "^5.24.4" + shallowequal "^1.1.0" -rc-tooltip@^5.0.1, rc-tooltip@~5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/rc-tooltip/-/rc-tooltip-5.1.1.tgz#94178ed162d0252bc4993b725f5dc2ac0fccf154" - integrity sha512-alt8eGMJulio6+4/uDm7nvV+rJq9bsfxFDCI0ljPdbuoygUscbsMYb6EQgwib/uqsXQUvzk+S7A59uYHmEgmDA== +rc-tooltip@~5.2.0: + version "5.2.2" + resolved "https://registry.yarnpkg.com/rc-tooltip/-/rc-tooltip-5.2.2.tgz#e5cafa8ecebf78108936a0bcb93c150fa81ac93b" + integrity sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg== dependencies: "@babel/runtime" "^7.11.2" + classnames "^2.3.1" rc-trigger "^5.0.0" -rc-tree-select@~4.3.0: - version "4.3.3" - resolved "https://registry.yarnpkg.com/rc-tree-select/-/rc-tree-select-4.3.3.tgz#28eba4d8a8dc8c0f9b61d83ce465842a6915eca4" - integrity sha512-0tilOHLJA6p+TNg4kD559XnDX3PTEYuoSF7m7ryzFLAYvdEEPtjn0QZc5z6L0sMKBiBlj8a2kf0auw8XyHU3lA== +rc-tree-select@~5.5.0: + version "5.5.5" + resolved "https://registry.yarnpkg.com/rc-tree-select/-/rc-tree-select-5.5.5.tgz#d28b3b45da1e820cd21762ba0ee93c19429bb369" + integrity sha512-k2av7jF6tW9bIO4mQhaVdV4kJ1c54oxV3/hHVU+oD251Gb5JN+m1RbJFTMf1o0rAFqkvto33rxMdpafaGKQRJw== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" - rc-select "^12.0.0" - rc-tree "^4.0.0" - rc-util "^5.0.5" + rc-select "~14.1.0" + rc-tree "~5.7.0" + rc-util "^5.16.1" -rc-tree@^4.0.0, rc-tree@~4.1.0: - version "4.1.5" - resolved "https://registry.yarnpkg.com/rc-tree/-/rc-tree-4.1.5.tgz#734ab1bfe835e78791be41442ca0e571147ab6fa" - integrity sha512-q2vjcmnBDylGZ9/ZW4F9oZMKMJdbFWC7um+DAQhZG1nqyg1iwoowbBggUDUaUOEryJP+08bpliEAYnzJXbI5xQ== +rc-tree@~5.7.0: + version "5.7.2" + resolved "https://registry.yarnpkg.com/rc-tree/-/rc-tree-5.7.2.tgz#270ea7d9e1b2e5e81cd3659eba2fbd022a4831f6" + integrity sha512-nmnL6qLnfwVckO5zoqKL2I9UhwDqzyCtjITQCkwhimyz1zfuFkG5ZPIXpzD/Guzso94qQA/QrMsvzic5W6QDjg== dependencies: "@babel/runtime" "^7.10.1" classnames "2.x" rc-motion "^2.0.1" - rc-util "^5.0.0" - rc-virtual-list "^3.0.1" + rc-util "^5.16.1" + rc-virtual-list "^3.4.8" -rc-trigger@^5.0.0, rc-trigger@^5.0.4, rc-trigger@^5.1.2, rc-trigger@^5.2.1: - version "5.2.9" - resolved "https://registry.yarnpkg.com/rc-trigger/-/rc-trigger-5.2.9.tgz#795a787d2b038347dcde27b89a4a5cec8fc40f3e" - integrity sha512-0Bxsh2Xe+etejMn73am+jZBcOpsueAZiEKLiGoDfA0fvm/JHLNOiiww3zJ0qgyPOTmbYxhsxFcGOZu+VcbaZhQ== +rc-trigger@^5.0.0, rc-trigger@^5.0.4, rc-trigger@^5.1.2, rc-trigger@^5.2.10, rc-trigger@^5.3.1: + version "5.3.4" + resolved "https://registry.yarnpkg.com/rc-trigger/-/rc-trigger-5.3.4.tgz#6b4b26e32825677c837d1eb4d7085035eecf9a61" + integrity sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw== dependencies: - "@babel/runtime" "^7.11.2" + "@babel/runtime" "^7.18.3" classnames "^2.2.6" rc-align "^4.0.0" rc-motion "^2.0.0" - rc-util "^5.5.0" + rc-util "^5.19.2" rc-upload@~4.3.0: - version "4.3.1" - resolved "https://registry.yarnpkg.com/rc-upload/-/rc-upload-4.3.1.tgz#d6ee66b8bd1e1dd2f78526c486538423f7e7ed84" - integrity sha512-W8Iyv0LRyEnFEzpv90ET/i1XG2jlPzPxKkkOVtDfgh9c3f4lZV770vgpUfiyQza+iLtQLVco3qIvgue8aDiOsQ== + version "4.3.4" + resolved "https://registry.yarnpkg.com/rc-upload/-/rc-upload-4.3.4.tgz#83ff7d3867631c37adbfd72ea3d1fd7e97ca84af" + integrity sha512-uVbtHFGNjHG/RyAfm9fluXB6pvArAGyAx8z7XzXXyorEgVIWj6mOlriuDm0XowDHYz4ycNK0nE0oP3cbFnzxiQ== dependencies: - "@babel/runtime" "^7.10.1" + "@babel/runtime" "^7.18.3" classnames "^2.2.5" rc-util "^5.2.0" -rc-util@^5.0.0, rc-util@^5.0.1, rc-util@^5.0.5, rc-util@^5.0.6, rc-util@^5.0.7, rc-util@^5.12.0, rc-util@^5.13.0, rc-util@^5.13.1, rc-util@^5.2.0, rc-util@^5.2.1, rc-util@^5.3.0, rc-util@^5.4.0, rc-util@^5.5.0, rc-util@^5.5.1, rc-util@^5.6.1, rc-util@^5.7.0, rc-util@^5.8.0, rc-util@^5.9.4, rc-util@^5.9.8: - version "5.13.1" - resolved "https://registry.yarnpkg.com/rc-util/-/rc-util-5.13.1.tgz#03e74955b5c46a58cbc6236e4d30dd462c755290" - integrity sha512-Dws2tjXBBihfjVQFlG5JzZ/5O3Wutctm0W94Wb1+M7GD2roWJPrQdSa4AkWm2pn0Ms32zoVPPkWodFeAYZPLfA== +rc-util@^5.0.1, rc-util@^5.0.6, rc-util@^5.15.0, rc-util@^5.16.0, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.19.2, rc-util@^5.2.0, rc-util@^5.2.1, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.21.2, rc-util@^5.22.5, rc-util@^5.23.0, rc-util@^5.24.4, rc-util@^5.26.0, rc-util@^5.27.0, rc-util@^5.4.0, rc-util@^5.6.1, rc-util@^5.8.0, rc-util@^5.9.4: + version "5.28.0" + resolved "https://registry.yarnpkg.com/rc-util/-/rc-util-5.28.0.tgz#9e5e441d5875b8bf0ba56c2f295042a28dcff580" + integrity sha512-KYDjhGodswVj29v0TRciKTqRPgumIFvFDndbCD227pitQ+0Cei196rxk+OXb/blu6V8zdTRK5RjCJn+WmHLvBA== dependencies: - "@babel/runtime" "^7.12.5" + "@babel/runtime" "^7.18.3" react-is "^16.12.0" - shallowequal "^1.1.0" -rc-virtual-list@^3.0.1, rc-virtual-list@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/rc-virtual-list/-/rc-virtual-list-3.3.0.tgz#2f95a6ddbbf63d78b28662b57f1e69f7472762fe" - integrity sha512-lVXpGWC6yMdwV2SHo6kc63WlqjCnb3eO72V726KA2/wh9KA6wi/swcdR3zAowuA8hJxG/lRANmY5kpLZ+Pz3iQ== +rc-virtual-list@^3.2.0, rc-virtual-list@^3.4.8: + version "3.4.13" + resolved "https://registry.yarnpkg.com/rc-virtual-list/-/rc-virtual-list-3.4.13.tgz#20acc934b263abcf7b7c161f50ef82281b2f7e8d" + integrity sha512-cPOVDmcNM7rH6ANotanMDilW/55XnFPw0Jh/GQYtrzZSy3AmWvCnqVNyNC/pgg3lfVmX2994dlzAhuUrd4jG7w== dependencies: + "@babel/runtime" "^7.20.0" classnames "^2.2.6" rc-resize-observer "^1.0.0" - rc-util "^5.0.7" + rc-util "^5.15.0" react-app-polyfill@2.0.0: version "2.0.0" @@ -17308,7 +17424,7 @@ reselect@^4.1.5: resolved "https://registry.yarnpkg.com/reselect/-/reselect-4.1.5.tgz#852c361247198da6756d07d9296c2b51eddb79f6" integrity sha512-uVdlz8J7OO+ASpBYoz1Zypgx0KasCY20H+N8JD13oUMtPvSHQuscrHop4KbXrbsBcdB9Ds7lVK7eRkBIfO43vQ== -resize-observer-polyfill@^1.5.0, resize-observer-polyfill@^1.5.1: +resize-observer-polyfill@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== @@ -17577,11 +17693,11 @@ schema-utils@^3.0.0: ajv-keywords "^3.5.2" scroll-into-view-if-needed@^2.2.25: - version "2.2.28" - resolved "https://registry.yarnpkg.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.28.tgz#5a15b2f58a52642c88c8eca584644e01703d645a" - integrity sha512-8LuxJSuFVc92+0AdNv4QOxRL4Abeo1DgLnGNkn1XlaujPH/3cCFz3QI60r2VNu4obJJROzgnIUw5TKQkZvZI1w== + version "2.2.31" + resolved "https://registry.yarnpkg.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz#d3c482959dc483e37962d1521254e3295d0d1587" + integrity sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA== dependencies: - compute-scroll-into-view "^1.0.17" + compute-scroll-into-view "^1.0.20" seek-bzip@^1.0.5: version "1.0.6" @@ -18284,7 +18400,7 @@ string-argv@^0.3.0: string-convert@^0.2.0: version "0.2.1" resolved "https://registry.yarnpkg.com/string-convert/-/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97" - integrity sha1-aYLMMEn7tM2F+LJFaLnZvznu/5c= + integrity sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A== string-length@^4.0.1: version "4.0.2" From f87fc2a02448f7a36d9086182785fe88ee1d6a79 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Sat, 4 Mar 2023 13:48:42 +0530 Subject: [PATCH 03/15] test: update tests --- .env | 2 +- .env.development | 2 +- .env.local | 2 +- app/components/T/tests/index.test.tsx | 4 ++-- app/containers/App/index.tsx | 10 ++++++++++ app/containers/App/tests/index.test.tsx | 2 +- app/utils/graphqlUtils.ts | 2 +- package.json | 12 ++++++------ 8 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.env b/.env index 42666509..81b2fa37 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -SPACEX_URL=https://api.spacex.land/graphql/ +SPACEX_URL=https://spacex-production.up.railway.app/ diff --git a/.env.development b/.env.development index 42666509..81b2fa37 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -SPACEX_URL=https://api.spacex.land/graphql/ +SPACEX_URL=https://spacex-production.up.railway.app/ diff --git a/.env.local b/.env.local index 42666509..81b2fa37 100644 --- a/.env.local +++ b/.env.local @@ -1 +1 @@ -SPACEX_URL=https://api.spacex.land/graphql/ +SPACEX_URL=https://spacex-production.up.railway.app/ diff --git a/app/components/T/tests/index.test.tsx b/app/components/T/tests/index.test.tsx index dc4f60a6..e1b2edf7 100644 --- a/app/components/T/tests/index.test.tsx +++ b/app/components/T/tests/index.test.tsx @@ -39,12 +39,12 @@ describe(' component tests', () => { it('should have a margin-bottom of 5px when we pass marginBottom as string', () => { const props = { - marginBottom: '5', + marginBottom: '5px', id: 'launches_list' }; const { getByTestId } = renderWithIntl(); const styledText = getByTestId('t'); - expect(styledText).toHaveStyle({ marginBottom: '5' }); + expect(styledText).toHaveStyle({ marginBottom: '5px' }); }); }); diff --git a/app/containers/App/index.tsx b/app/containers/App/index.tsx index 26ee934a..d176eca3 100644 --- a/app/containers/App/index.tsx +++ b/app/containers/App/index.tsx @@ -21,6 +21,7 @@ import For from '@components/For'; import Header from '@components/Header'; import { colors } from '@themes/index'; import Sidebar from '@app/components/Siderbar'; +import { SCREEN_BREAK_POINTS } from '@app/utils/constants'; export const theme = createTheme({ palette: { @@ -30,6 +31,15 @@ export const theme = createTheme({ secondary: { main: colors.secondary } + }, + breakpoints: { + values: { + xs: 0, + sm: SCREEN_BREAK_POINTS.mobile, + md: SCREEN_BREAK_POINTS.tablet, + lg: SCREEN_BREAK_POINTS.desktop, + xl: SCREEN_BREAK_POINTS.largeDesktop + } } }); diff --git a/app/containers/App/tests/index.test.tsx b/app/containers/App/tests/index.test.tsx index 78793661..ccac8151 100644 --- a/app/containers/App/tests/index.test.tsx +++ b/app/containers/App/tests/index.test.tsx @@ -11,7 +11,7 @@ describe(' container tests', () => { ); - await waitFor(() => expect(container.textContent).toContain('Wednesday Solutions')); await waitFor(() => expect(container).toMatchSnapshot()); + await waitFor(() => expect(container.textContent).toContain('SORT BY')); }); }); diff --git a/app/utils/graphqlUtils.ts b/app/utils/graphqlUtils.ts index c346f037..b6a4d43b 100644 --- a/app/utils/graphqlUtils.ts +++ b/app/utils/graphqlUtils.ts @@ -3,7 +3,7 @@ import camelCase from 'lodash-es/camelCase'; import { mapKeysDeep } from '.'; export const client = new ApolloClient({ - uri: 'https://api.spacex.land/graphql', + uri: 'https://spacex-production.up.railway.app', cache: new InMemoryCache() }); diff --git a/package.json b/package.json index b1914e78..5d0911c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-graphql-ts-template", - "version": "14.0.10", + "version": "14.0.12", "description": "A React Typescript GraphQL application", "repository": { "type": "git", @@ -21,12 +21,12 @@ "npmcheckversion": "node ./internals/scripts/npmcheckversion.js", "preinstall": "npm run npmcheckversion", "prebuild": "npm run build:clean", - "build": "export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", - "build:dev": "export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", + "build": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", + "build:dev": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", "build:clean": "rimraf ./build", "predeploy": "yarn build && yarn build-storybook -o build/stories", "deploy": "gh-pages -d build", - "start": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", + "start": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", "start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", "start:production": "npm run test && npm run build && npm run start:prod", "start:prod": "cross-env NODE_ENV=production node server", @@ -237,9 +237,9 @@ "terser-webpack-plugin": "5.1.3", "typescript": "^4.6.2", "url-loader": "4.1.1", - "webpack": "^5.40.0", + "webpack": "^5.75.0", "webpack-bundle-analyzer": "^4.4.2", - "webpack-cli": "4.7.2", + "webpack-cli": "^5.0.1", "webpack-dev-middleware": "5.0.0", "webpack-hot-middleware": "2.25.0", "webpack-pwa-manifest": "4.3.0", From 152ec8e257a985c2eef9f93fbe7f2fa65c5ac779 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Sat, 4 Mar 2023 14:34:49 +0530 Subject: [PATCH 04/15] Revert "test: update tests" This reverts commit f87fc2a02448f7a36d9086182785fe88ee1d6a79. --- .env | 2 +- .env.development | 2 +- .env.local | 2 +- app/components/T/tests/index.test.tsx | 4 ++-- app/containers/App/index.tsx | 10 ---------- app/containers/App/tests/index.test.tsx | 2 +- app/utils/graphqlUtils.ts | 2 +- package.json | 12 ++++++------ 8 files changed, 13 insertions(+), 23 deletions(-) diff --git a/.env b/.env index 81b2fa37..42666509 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -SPACEX_URL=https://spacex-production.up.railway.app/ +SPACEX_URL=https://api.spacex.land/graphql/ diff --git a/.env.development b/.env.development index 81b2fa37..42666509 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -SPACEX_URL=https://spacex-production.up.railway.app/ +SPACEX_URL=https://api.spacex.land/graphql/ diff --git a/.env.local b/.env.local index 81b2fa37..42666509 100644 --- a/.env.local +++ b/.env.local @@ -1 +1 @@ -SPACEX_URL=https://spacex-production.up.railway.app/ +SPACEX_URL=https://api.spacex.land/graphql/ diff --git a/app/components/T/tests/index.test.tsx b/app/components/T/tests/index.test.tsx index e1b2edf7..dc4f60a6 100644 --- a/app/components/T/tests/index.test.tsx +++ b/app/components/T/tests/index.test.tsx @@ -39,12 +39,12 @@ describe(' component tests', () => { it('should have a margin-bottom of 5px when we pass marginBottom as string', () => { const props = { - marginBottom: '5px', + marginBottom: '5', id: 'launches_list' }; const { getByTestId } = renderWithIntl(); const styledText = getByTestId('t'); - expect(styledText).toHaveStyle({ marginBottom: '5px' }); + expect(styledText).toHaveStyle({ marginBottom: '5' }); }); }); diff --git a/app/containers/App/index.tsx b/app/containers/App/index.tsx index d176eca3..26ee934a 100644 --- a/app/containers/App/index.tsx +++ b/app/containers/App/index.tsx @@ -21,7 +21,6 @@ import For from '@components/For'; import Header from '@components/Header'; import { colors } from '@themes/index'; import Sidebar from '@app/components/Siderbar'; -import { SCREEN_BREAK_POINTS } from '@app/utils/constants'; export const theme = createTheme({ palette: { @@ -31,15 +30,6 @@ export const theme = createTheme({ secondary: { main: colors.secondary } - }, - breakpoints: { - values: { - xs: 0, - sm: SCREEN_BREAK_POINTS.mobile, - md: SCREEN_BREAK_POINTS.tablet, - lg: SCREEN_BREAK_POINTS.desktop, - xl: SCREEN_BREAK_POINTS.largeDesktop - } } }); diff --git a/app/containers/App/tests/index.test.tsx b/app/containers/App/tests/index.test.tsx index ccac8151..78793661 100644 --- a/app/containers/App/tests/index.test.tsx +++ b/app/containers/App/tests/index.test.tsx @@ -11,7 +11,7 @@ describe(' container tests', () => { ); + await waitFor(() => expect(container.textContent).toContain('Wednesday Solutions')); await waitFor(() => expect(container).toMatchSnapshot()); - await waitFor(() => expect(container.textContent).toContain('SORT BY')); }); }); diff --git a/app/utils/graphqlUtils.ts b/app/utils/graphqlUtils.ts index b6a4d43b..c346f037 100644 --- a/app/utils/graphqlUtils.ts +++ b/app/utils/graphqlUtils.ts @@ -3,7 +3,7 @@ import camelCase from 'lodash-es/camelCase'; import { mapKeysDeep } from '.'; export const client = new ApolloClient({ - uri: 'https://spacex-production.up.railway.app', + uri: 'https://api.spacex.land/graphql', cache: new InMemoryCache() }); diff --git a/package.json b/package.json index 5d0911c1..b1914e78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-graphql-ts-template", - "version": "14.0.12", + "version": "14.0.10", "description": "A React Typescript GraphQL application", "repository": { "type": "git", @@ -21,12 +21,12 @@ "npmcheckversion": "node ./internals/scripts/npmcheckversion.js", "preinstall": "npm run npmcheckversion", "prebuild": "npm run build:clean", - "build": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", - "build:dev": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", + "build": "export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", + "build:dev": "export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", "build:clean": "rimraf ./build", "predeploy": "yarn build && yarn build-storybook -o build/stories", "deploy": "gh-pages -d build", - "start": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", + "start": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", "start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", "start:production": "npm run test && npm run build && npm run start:prod", "start:prod": "cross-env NODE_ENV=production node server", @@ -237,9 +237,9 @@ "terser-webpack-plugin": "5.1.3", "typescript": "^4.6.2", "url-loader": "4.1.1", - "webpack": "^5.75.0", + "webpack": "^5.40.0", "webpack-bundle-analyzer": "^4.4.2", - "webpack-cli": "^5.0.1", + "webpack-cli": "4.7.2", "webpack-dev-middleware": "5.0.0", "webpack-hot-middleware": "2.25.0", "webpack-pwa-manifest": "4.3.0", From 30e7aab9ad42c68abd5e2429c673d870a63541d7 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Sat, 4 Mar 2023 16:28:04 +0530 Subject: [PATCH 05/15] test: update test --- .github/workflows/ci.yml | 2 +- app/components/T/tests/index.test.tsx | 4 ++-- app/containers/App/index.tsx | 10 ++++++++++ app/containers/App/tests/index.test.tsx | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97d7a2d6..1eb795d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 diff --git a/app/components/T/tests/index.test.tsx b/app/components/T/tests/index.test.tsx index dc4f60a6..e1b2edf7 100644 --- a/app/components/T/tests/index.test.tsx +++ b/app/components/T/tests/index.test.tsx @@ -39,12 +39,12 @@ describe(' component tests', () => { it('should have a margin-bottom of 5px when we pass marginBottom as string', () => { const props = { - marginBottom: '5', + marginBottom: '5px', id: 'launches_list' }; const { getByTestId } = renderWithIntl(); const styledText = getByTestId('t'); - expect(styledText).toHaveStyle({ marginBottom: '5' }); + expect(styledText).toHaveStyle({ marginBottom: '5px' }); }); }); diff --git a/app/containers/App/index.tsx b/app/containers/App/index.tsx index 26ee934a..d176eca3 100644 --- a/app/containers/App/index.tsx +++ b/app/containers/App/index.tsx @@ -21,6 +21,7 @@ import For from '@components/For'; import Header from '@components/Header'; import { colors } from '@themes/index'; import Sidebar from '@app/components/Siderbar'; +import { SCREEN_BREAK_POINTS } from '@app/utils/constants'; export const theme = createTheme({ palette: { @@ -30,6 +31,15 @@ export const theme = createTheme({ secondary: { main: colors.secondary } + }, + breakpoints: { + values: { + xs: 0, + sm: SCREEN_BREAK_POINTS.mobile, + md: SCREEN_BREAK_POINTS.tablet, + lg: SCREEN_BREAK_POINTS.desktop, + xl: SCREEN_BREAK_POINTS.largeDesktop + } } }); diff --git a/app/containers/App/tests/index.test.tsx b/app/containers/App/tests/index.test.tsx index 78793661..ccac8151 100644 --- a/app/containers/App/tests/index.test.tsx +++ b/app/containers/App/tests/index.test.tsx @@ -11,7 +11,7 @@ describe(' container tests', () => { ); - await waitFor(() => expect(container.textContent).toContain('Wednesday Solutions')); await waitFor(() => expect(container).toMatchSnapshot()); + await waitFor(() => expect(container.textContent).toContain('SORT BY')); }); }); From dadfd2e1ade818ff700cefd4f6458db928b20ee9 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Sun, 5 Mar 2023 11:24:53 +0530 Subject: [PATCH 06/15] Revert "Merge branch 'master' into feat/mui" This reverts commit 879ce743e08cf541cf5ab002dfc3870ae376b7ee, reversing changes made to a2299505a9a722caeba66275d5c745d9e2abc8c4. --- .env | 2 +- .env.development | 2 +- .env.local | 2 +- app/utils/graphqlUtils.ts | 2 +- package.json | 12 ++++++------ 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.env b/.env index 81b2fa37..42666509 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -SPACEX_URL=https://spacex-production.up.railway.app/ +SPACEX_URL=https://api.spacex.land/graphql/ diff --git a/.env.development b/.env.development index 81b2fa37..42666509 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -SPACEX_URL=https://spacex-production.up.railway.app/ +SPACEX_URL=https://api.spacex.land/graphql/ diff --git a/.env.local b/.env.local index 81b2fa37..42666509 100644 --- a/.env.local +++ b/.env.local @@ -1 +1 @@ -SPACEX_URL=https://spacex-production.up.railway.app/ +SPACEX_URL=https://api.spacex.land/graphql/ diff --git a/app/utils/graphqlUtils.ts b/app/utils/graphqlUtils.ts index b6a4d43b..c346f037 100644 --- a/app/utils/graphqlUtils.ts +++ b/app/utils/graphqlUtils.ts @@ -3,7 +3,7 @@ import camelCase from 'lodash-es/camelCase'; import { mapKeysDeep } from '.'; export const client = new ApolloClient({ - uri: 'https://spacex-production.up.railway.app', + uri: 'https://api.spacex.land/graphql', cache: new InMemoryCache() }); diff --git a/package.json b/package.json index 8b0b3904..d56ae8cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-graphql-ts-template", - "version": "14.0.12", + "version": "14.0.10", "description": "A React Typescript GraphQL application", "repository": { "type": "git", @@ -21,12 +21,12 @@ "npmcheckversion": "node ./internals/scripts/npmcheckversion.js", "preinstall": "npm run npmcheckversion", "prebuild": "npm run build:clean", - "build": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", - "build:dev": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", + "build": "export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", + "build:dev": "export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", "build:clean": "rimraf ./build", "predeploy": "yarn build && yarn build-storybook -o build/stories", "deploy": "gh-pages -d build", - "start": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", + "start": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", "start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", "start:production": "npm run test && npm run build && npm run start:prod", "start:prod": "cross-env NODE_ENV=production node server", @@ -238,9 +238,9 @@ "terser-webpack-plugin": "5.1.3", "typescript": "^4.6.2", "url-loader": "4.1.1", - "webpack": "^5.75.0", + "webpack": "^5.40.0", "webpack-bundle-analyzer": "^4.4.2", - "webpack-cli": "^5.0.1", + "webpack-cli": "4.7.2", "webpack-dev-middleware": "5.0.0", "webpack-hot-middleware": "2.25.0", "webpack-pwa-manifest": "4.3.0", From 54f73fd82c4960a7ce1d0758c127992879beae9a Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Sun, 5 Mar 2023 13:20:53 +0530 Subject: [PATCH 07/15] feat: mui drawer icons --- app/components/LaunchItem/index.tsx | 12 ++++--- .../tests/__snapshots__/index.test.tsx.snap | 36 ++++++++----------- .../tests/__snapshots__/index.test.tsx.snap | 36 ++++++++----------- app/components/Siderbar/index.tsx | 24 ++++++++++--- .../tests/__snapshots__/index.test.tsx.snap | 6 ++-- 5 files changed, 61 insertions(+), 53 deletions(-) diff --git a/app/components/LaunchItem/index.tsx b/app/components/LaunchItem/index.tsx index 657cdeac..3eba388f 100644 --- a/app/components/LaunchItem/index.tsx +++ b/app/components/LaunchItem/index.tsx @@ -1,6 +1,6 @@ import React, { useMemo } from 'react'; import { Launch } from '@app/containers/HomeContainer/types'; -import { Button, Card } from '@mui/material'; +import { Card, Link } from '@mui/material'; import PropTypes from 'prop-types'; import styled from '@emotion/styled'; import If from '@components/If'; @@ -13,6 +13,7 @@ import { format } from 'date-fns'; const LaunchCard = styled(Card)` && { + padding: 1rem; cursor: pointer; margin: 1rem 0; color: ${(props) => props.color}; @@ -23,10 +24,11 @@ const LaunchCard = styled(Card)` } `; -const WikiLink = styled(Button)` +const WikiLink = styled(Link)` && { padding: 0; display: flex; + gap: 5px; align-items: center; color: ${colors.text}; width: max-content; @@ -55,12 +57,14 @@ function LaunchItem({ missionName, launchDateUtc, links, id }: Launch) { e.stopPropagation()} href={links.wikipedia} - endIcon={} > - Wikipedia + Wikipedia diff --git a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap index 6e6966ac..659e1443 100644 --- a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap @@ -4,7 +4,7 @@ exports[` should render and match the snapshot 1`] = `

should render and match the snapshot 1`] = ` Mon, 6th January 2014, 06:06 PM

- Wikipedia - - + + + Wikipedia
diff --git a/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap index e137418d..85ad6488 100644 --- a/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchList/tests/__snapshots__/index.test.tsx.snap @@ -9,7 +9,7 @@ exports[` should render and match the snapshot 1`] = ` orientation="row" >

should render and match the snapshot 1`] = ` Mon, 6th January 2014, 06:06 PM

- Wikipedia - - + + + Wikipedia
diff --git a/app/components/Siderbar/index.tsx b/app/components/Siderbar/index.tsx index 8834560d..902cffc5 100644 --- a/app/components/Siderbar/index.tsx +++ b/app/components/Siderbar/index.tsx @@ -4,7 +4,8 @@ import { Drawer, DrawerProps, IconButton } from '@mui/material'; import { Link } from 'react-router-dom'; import styled from '@emotion/styled'; import icon from '@images/ion_rocket-sharp.svg'; -import MenuIcon from '@mui/icons-material/Menu'; +import menuIcon from '@images/menu.svg'; +import CloseIcon from '@mui/icons-material/Close'; import If from '@components/If'; import useMedia from '@utils/useMedia'; import { HEADER_HEIGHT, MIN_SIDEBAR_WIDTH } from '@app/utils/constants'; @@ -22,7 +23,7 @@ const SidebarWrapper = styled.div` const SidebarDrawer = styled(Drawer)` && { .MuiDrawer-paper { - padding: ${theme.headerHeight} 0 0 0; + padding: 2.5rem 0 0 0; background-color: ${colors.primary}; min-width: ${theme.sidebarWidth}; text-align: center; @@ -59,6 +60,12 @@ const MenuButton = styled(IconButton)` } `; +const MenuImg = styled.img` + width: 1.7rem; + height: auto; + object-fit: contain; +`; + const Sidebar: React.FC = () => { const [visible, setVisible] = useState(false); const { isMobile } = useMedia(); @@ -74,13 +81,22 @@ const Sidebar: React.FC = () => { : {}; const SidebarComponent = (props: DrawerProps) => - isMobile ? : ; + isMobile ? ( + + + + +
{props.children}
+
+ ) : ( + + ); return ( - + diff --git a/app/containers/App/tests/__snapshots__/index.test.tsx.snap b/app/containers/App/tests/__snapshots__/index.test.tsx.snap index 105f6a0c..74ebe7c1 100644 --- a/app/containers/App/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/App/tests/__snapshots__/index.test.tsx.snap @@ -33,10 +33,10 @@ exports[` container tests should render and match the snapshot 1`] = ` class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-0.5 css-1qlk6ma-MuiGrid-root" >
container tests should render and match the snapshot 1`] = ` > rocket-icon From 85c6e6cd69100d09bf3cc625d4adfdf97d4e8ed5 Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Sun, 5 Mar 2023 13:39:25 +0530 Subject: [PATCH 08/15] test: update snapshot --- .../tests/__snapshots__/index.test.tsx.snap | 17 +- .../tests/__snapshots__/index.test.js.snap | 25 +- .../tests/__snapshots__/index.test.tsx.snap | 73 +- .../tests/__snapshots__/index.test.tsx.snap | 169 +++- .../tests/__snapshots__/index.test.tsx.snap | 87 +- .../tests/__snapshots__/index.test.tsx.snap | 102 +- .../tests/__snapshots__/index.test.tsx.snap | 8 +- .../T/tests/__snapshots__/index.test.tsx.snap | 7 +- .../tests/__snapshots__/index.test.tsx.snap | 331 ++++++- .../tests/__snapshots__/index.test.tsx.snap | 918 +++++++++++++++++- .../tests/__snapshots__/index.test.tsx.snap | 55 +- .../tests/__snapshots__/index.test.tsx.snap | 48 +- jest.config.json | 2 +- 13 files changed, 1760 insertions(+), 82 deletions(-) diff --git a/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap b/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap index 66dd2a37..f71455bd 100644 --- a/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/Clickable/tests/__snapshots__/index.test.tsx.snap @@ -1,14 +1,27 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` component tests should render and match the snapshot 1`] = ` +.emotion-0 { + color: #1890ff; +} + +.emotion-0:hover { + cursor: pointer; +} + +.emotion-2.emotion-2 { + font-size: 1rem; + font-weight: normal; +} +

List of launches diff --git a/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap b/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap index 8a7c1d57..a9d33208 100644 --- a/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap +++ b/app/components/ErrorHandler/tests/__snapshots__/index.test.js.snap @@ -1,14 +1,35 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` should render and match the snapshot 1`] = ` +.emotion-1 { + background-color: #fff; + color: rgba(0, 0, 0, 0.87); + -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + border-radius: 4px; + border: 1px solid rgba(0, 0, 0, 0.12); + overflow: hidden; +} + +.emotion-1.emotion-1 { + margin: 20px 0; + padding: 20px; + padding-top: 0; +} + +.emotion-2.emotion-2 { + font-size: 1rem; + font-weight: normal; +} +

something_went_wrong diff --git a/app/components/Header/tests/__snapshots__/index.test.tsx.snap b/app/components/Header/tests/__snapshots__/index.test.tsx.snap index b77e4806..8fb6df2c 100644 --- a/app/components/Header/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/Header/tests/__snapshots__/index.test.tsx.snap @@ -1,10 +1,77 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`

should render and match the snapshot 1`] = ` +.emotion-0.emotion-0 { + padding: 0 1rem; + height: 7rem; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + background-color: #000000; + gap: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +@media (min-width: 48em) { + .emotion-0.emotion-0 { + padding-left: 4.5rem; + } +} + +.emotion-2 { + height: 5rem; + width: auto; + object-fit: contain; +} + +@media (min-width: 48em) { + .emotion-2 { + height: 4rem; + } +} + +.emotion-5.emotion-5 { + font-size: 1.5rem; + font-weight: bold; +} + +.emotion-5.emotion-5 { + margin: 0; + font-size: 1.125rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; + color: #FFFFFF; +} + +@media (min-width: 48em) { + .emotion-5.emotion-5 { + font-size: 1.5rem; + } +} + +@media (min-width: 62em) { + .emotion-5.emotion-5 { + font-size: 2rem; + } +} +
should render and match the snapshot 1`] = ` > logo

Wednesday Solutions diff --git a/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap index 258031bd..c5b5baeb 100644 --- a/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchDetails/tests/__snapshots__/index.test.tsx.snap @@ -1,62 +1,195 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` tests should render and match the snapshot 1`] = ` +.emotion-1 { + background-color: #fff; + color: rgba(0, 0, 0, 0.87); + -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + border-radius: 4px; + border: 1px solid rgba(0, 0, 0, 0.12); + overflow: hidden; +} + +.emotion-1.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + margin: 1.5rem; + background-color: #d8d8d8; +} + +@media (min-width: 48em) { + .emotion-1.emotion-1 { + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + gap: 1rem; + } +} + +.emotion-2.emotion-2 { + width: 100%; + height: auto; +} + +@media (min-width: 48em) { + .emotion-2.emotion-2 { + width: 50%; + max-height: 698px; + object-fit: cover; + } +} + +.emotion-4.emotion-4 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + gap: 1rem; + margin: 3rem 0; +} + +@media (min-width: 48em) { + .emotion-4.emotion-4 { + width: 50%; + } +} + +.emotion-7.emotion-7 { + margin-bottom: 0.5rem; + font-size: 1.5rem; + font-weight: bold; +} + +.emotion-7.emotion-7 { + display: block; + font-weight: thin; +} + +.emotion-10.emotion-10 { + font-size: 1rem; + font-weight: normal; +} + +.emotion-10.emotion-10 { + display: block; + font-weight: thin; +} + +.emotion-12 { + text-transform: uppercase; + display: block; + color: #000000; + font-size: smaller; + font-weight: bold; +} + +.emotion-15 { + text-transform: uppercase; + display: block; + color: #000000; + font-size: smaller; + font-weight: bold; +} + +.emotion-15.emotion-15 { + font-size: 0.875rem; + font-weight: bold; +} + +.emotion-17.emotion-17 { + margin-left: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 1rem; +} + +.emotion-32 { + margin-left: 1rem; + display: grid; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + row-gap: 1rem; +} +

CRS-21

Details SpaceX's 21st ISS resupply mission.

Rocket

Name Falcon 9

Type @@ -64,31 +197,31 @@ exports[` tests should render and match the snapshot 1`] = `

Ships

Name Ship 1

Type diff --git a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap index 659e1443..7d6fc9c7 100644 --- a/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/LaunchItem/tests/__snapshots__/index.test.tsx.snap @@ -1,26 +1,103 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` should render and match the snapshot 1`] = ` +.emotion-1 { + background-color: #fff; + color: rgba(0, 0, 0, 0.87); + -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + border-radius: 4px; + border: 1px solid rgba(0, 0, 0, 0.12); + overflow: hidden; +} + +.emotion-1.emotion-1 { + padding: 1rem; + cursor: pointer; + margin: 1rem 0; + background-color: #d8d8d8; +} + +.emotion-1.emotion-1:hover { + box-shadow: inset 0 0 10px -5px rgba(0, 0, 0, 0.6); +} + +.emotion-2.emotion-2 { + margin-bottom: 1.5rem; + font-size: 1.25rem; + font-weight: bold; +} + +.emotion-4.emotion-4 { + font-size: 1rem; + font-weight: normal; +} + +.emotion-7 { + margin: 0; + color: #000000; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-7.emotion-7 { + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 5px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #212529; + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; +} + +.emotion-7.emotion-7:hover { + opacity: 0.6; +} + +.emotion-8 { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: 1em; + height: 1em; + display: inline-block; + fill: currentColor; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + font-size: 1.5rem; +} +

Thaicom 6

Mon, 6th January 2014, 06:06 PM

should render and match the snapshot 1`] = ` > should render and match the snapshot 1`] = ` +.emotion-0.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + width: 100%; + margin: 0 auto; + background-color: #FFFFFF; +} + +.emotion-3 { + background-color: #fff; + color: rgba(0, 0, 0, 0.87); + -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + border-radius: 4px; + border: 1px solid rgba(0, 0, 0, 0.12); + overflow: hidden; +} + +.emotion-3.emotion-3 { + padding: 1rem; + cursor: pointer; + margin: 1rem 0; + background-color: #d8d8d8; +} + +.emotion-3.emotion-3:hover { + box-shadow: inset 0 0 10px -5px rgba(0, 0, 0, 0.6); +} + +.emotion-4.emotion-4 { + margin-bottom: 1.5rem; + font-size: 1.25rem; + font-weight: bold; +} + +.emotion-6.emotion-6 { + font-size: 1rem; + font-weight: normal; +} + +.emotion-9 { + margin: 0; + color: #000000; + -webkit-text-decoration: none; + text-decoration: none; +} + +.emotion-9.emotion-9 { + padding: 0; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 5px; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #212529; + width: -webkit-max-content; + width: -moz-max-content; + width: max-content; +} + +.emotion-9.emotion-9:hover { + opacity: 0.6; +} + +.emotion-10 { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: 1em; + height: 1em; + display: inline-block; + fill: currentColor; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + font-size: 1.5rem; +} +

Thaicom 6

Mon, 6th January 2014, 06:06 PM

should render and match the snapshot 1`] = ` > tests should render and match the snapshot 1`] = ` +.emotion-0 { + max-width: 62.5rem; + padding: rem; + margin: 1rem auto; +} +
diff --git a/app/components/T/tests/__snapshots__/index.test.tsx.snap b/app/components/T/tests/__snapshots__/index.test.tsx.snap index 056e12b7..2ced52c5 100644 --- a/app/components/T/tests/__snapshots__/index.test.tsx.snap +++ b/app/components/T/tests/__snapshots__/index.test.tsx.snap @@ -1,10 +1,15 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` component tests should render and match the snapshot 1`] = ` +.emotion-0.emotion-0 { + font-size: 1rem; + font-weight: normal; +} +

diff --git a/app/containers/App/tests/__snapshots__/index.test.tsx.snap b/app/containers/App/tests/__snapshots__/index.test.tsx.snap index 74ebe7c1..ded13431 100644 --- a/app/containers/App/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/App/tests/__snapshots__/index.test.tsx.snap @@ -1,15 +1,326 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` container tests should render and match the snapshot 1`] = ` +.emotion-0 { + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-flex-wrap: wrap; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + width: 100%; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; +} + +.emotion-1 { + box-sizing: border-box; + margin: 0; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-flex-basis: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 100%; +} + +@media (min-width:320px) { + .emotion-1 { + -webkit-flex-basis: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 100%; + } +} + +@media (min-width:768px) { + .emotion-1 { + -webkit-flex-basis: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 100%; + } +} + +@media (min-width:992px) { + .emotion-1 { + -webkit-flex-basis: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 100%; + } +} + +@media (min-width:1400px) { + .emotion-1 { + -webkit-flex-basis: 100%; + -ms-flex-preferred-size: 100%; + flex-basis: 100%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 100%; + } +} + +.emotion-2.emotion-2 { + padding: 0 1rem; + height: 7rem; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + background-color: #000000; + gap: 1rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +@media (min-width: 48em) { + .emotion-2.emotion-2 { + padding-left: 4.5rem; + } +} + +.emotion-4 { + height: 5rem; + width: auto; + object-fit: contain; +} + +@media (min-width: 48em) { + .emotion-4 { + height: 4rem; + } +} + +.emotion-7.emotion-7 { + font-size: 1.5rem; + font-weight: bold; +} + +.emotion-7.emotion-7 { + margin: 0; + font-size: 1.125rem; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-self: center; + -ms-flex-item-align: center; + align-self: center; + color: #FFFFFF; +} + +@media (min-width: 48em) { + .emotion-7.emotion-7 { + font-size: 1.5rem; + } +} + +@media (min-width: 62em) { + .emotion-7.emotion-7 { + font-size: 2rem; + } +} + +.emotion-9 { + box-sizing: border-box; + margin: 0; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-flex-basis: 4.166667%; + -ms-flex-preferred-size: 4.166667%; + flex-basis: 4.166667%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 4.166667%; +} + +@media (min-width:320px) { + .emotion-9 { + -webkit-flex-basis: 4.166667%; + -ms-flex-preferred-size: 4.166667%; + flex-basis: 4.166667%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 4.166667%; + } +} + +@media (min-width:768px) { + .emotion-9 { + -webkit-flex-basis: 4.166667%; + -ms-flex-preferred-size: 4.166667%; + flex-basis: 4.166667%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 4.166667%; + } +} + +@media (min-width:992px) { + .emotion-9 { + -webkit-flex-basis: 4.166667%; + -ms-flex-preferred-size: 4.166667%; + flex-basis: 4.166667%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 4.166667%; + } +} + +@media (min-width:1400px) { + .emotion-9 { + -webkit-flex-basis: 4.166667%; + -ms-flex-preferred-size: 4.166667%; + flex-basis: 4.166667%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 4.166667%; + } +} + +.emotion-10 { + position: relative; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} + +.emotion-12.emotion-12 { + width: 6%; + min-width: 4.5rem; + max-width: 7rem; + min-height: calc(100vh - 7rem); + height: auto; + background-color: #000000; + display: inline; + text-align: center; +} + +.emotion-14.emotion-14 { + margin-top: 1rem; + object-fit: contain; +} + +.emotion-16 { + box-sizing: border-box; + margin: 0; + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + -webkit-flex-basis: 95.833333%; + -ms-flex-preferred-size: 95.833333%; + flex-basis: 95.833333%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 95.833333%; +} + +@media (min-width:320px) { + .emotion-16 { + -webkit-flex-basis: 95.833333%; + -ms-flex-preferred-size: 95.833333%; + flex-basis: 95.833333%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 95.833333%; + } +} + +@media (min-width:768px) { + .emotion-16 { + -webkit-flex-basis: 95.833333%; + -ms-flex-preferred-size: 95.833333%; + flex-basis: 95.833333%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 95.833333%; + } +} + +@media (min-width:992px) { + .emotion-16 { + -webkit-flex-basis: 95.833333%; + -ms-flex-preferred-size: 95.833333%; + flex-basis: 95.833333%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 95.833333%; + } +} + +@media (min-width:1400px) { + .emotion-16 { + -webkit-flex-basis: 95.833333%; + -ms-flex-preferred-size: 95.833333%; + flex-basis: 95.833333%; + -webkit-box-flex: 0; + -webkit-flex-grow: 0; + -ms-flex-positive: 0; + flex-grow: 0; + max-width: 95.833333%; + } +} +
container tests should render and match the snapshot 1`] = ` > logo

Wednesday Solutions @@ -30,13 +341,13 @@ exports[` container tests should render and match the snapshot 1`] = `

container tests should render and match the snapshot 1`] = ` > rocket-icon @@ -54,7 +365,7 @@ exports[` container tests should render and match the snapshot 1`] = `
diff --git a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap index 940f4d11..fe29bd8c 100644 --- a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap @@ -1,37 +1,907 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` tests should render and match the snapshot 1`] = ` +@keyframes animation-0 { + 0% { + -webkit-transform: translateX(-100%); + -moz-transform: translateX(-100%); + -ms-transform: translateX(-100%); + transform: translateX(-100%); + } + + 50% { + -webkit-transform: translateX(100%); + -moz-transform: translateX(100%); + -ms-transform: translateX(100%); + transform: translateX(100%); + } + + 100% { + -webkit-transform: translateX(100%); + -moz-transform: translateX(100%); + -ms-transform: translateX(100%); + transform: translateX(100%); + } +} + +.emotion-0.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + margin: 0 auto; + padding: 2rem 4rem; + background-color: #FFFFFF; +} + +.emotion-2 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + gap: 0.5rem; + width: 100%; +} + +@media (min-width: 48em) { + .emotion-2 { + -webkit-flex-direction: row; + -ms-flex-direction: row; + flex-direction: row; + } +} + +.emotion-5 { + font-family: "Roboto","Helvetica","Arial",sans-serif; + font-weight: 400; + font-size: 1rem; + line-height: 1.4375em; + letter-spacing: 0.00938em; + color: rgba(0, 0, 0, 0.87); + box-sizing: border-box; + position: relative; + cursor: text; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + position: relative; + border-radius: 4px; + padding-right: 14px; +} + +.emotion-5.Mui-disabled { + color: rgba(0, 0, 0, 0.38); + cursor: default; +} + +.emotion-5:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.87); +} + +@media (hover: none) { + .emotion-5:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.23); + } +} + +.emotion-5.Mui-focused .MuiOutlinedInput-notchedOutline { + border-color: #000000; + border-width: 2px; +} + +.emotion-5.Mui-error .MuiOutlinedInput-notchedOutline { + border-color: #d32f2f; +} + +.emotion-5.Mui-disabled .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.26); +} + +.emotion-5.emotion-5 { + width: 90%; +} + +.emotion-5.emotion-5 legend { + display: none; +} + +.emotion-5.emotion-5>fieldset { + top: 0; +} + +.emotion-6 { + font: inherit; + letter-spacing: inherit; + color: currentColor; + padding: 4px 0 5px; + border: 0; + box-sizing: content-box; + background: none; + height: 1.4375em; + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + padding: 16.5px 14px; + padding-right: 0; +} + +.emotion-6::-webkit-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-6::-moz-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-6:-ms-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-6::-ms-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-6:focus { + outline: 0; +} + +.emotion-6:invalid { + box-shadow: none; +} + +.emotion-6::-webkit-search-decoration { + -webkit-appearance: none; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6::-webkit-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6::-moz-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6:-ms-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6::-ms-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6:focus::-webkit-input-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6:focus::-moz-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6:focus:-ms-input-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-6:focus::-ms-input-placeholder { + opacity: 0.42; +} + +.emotion-6.Mui-disabled { + opacity: 1; + -webkit-text-fill-color: rgba(0, 0, 0, 0.38); +} + +.emotion-6:-webkit-autofill { + -webkit-animation-duration: 5000s; + animation-duration: 5000s; + -webkit-animation-name: mui-auto-fill; + animation-name: mui-auto-fill; +} + +.emotion-6:-webkit-autofill { + border-radius: inherit; +} + +.emotion-7 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + height: 0.01em; + max-height: 2em; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + white-space: nowrap; + color: rgba(0, 0, 0, 0.54); + margin-left: 8px; +} + +.emotion-8 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + position: relative; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + background-color: transparent; + outline: 0; + border: 0; + margin: 0; + border-radius: 0; + padding: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + vertical-align: middle; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-text-decoration: none; + text-decoration: none; + color: inherit; + text-align: center; + -webkit-flex: 0 0 auto; + -ms-flex: 0 0 auto; + flex: 0 0 auto; + font-size: 1.5rem; + padding: 8px; + border-radius: 50%; + overflow: visible; + color: rgba(0, 0, 0, 0.54); + -webkit-transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-8::-moz-focus-inner { + border-style: none; +} + +.emotion-8.Mui-disabled { + pointer-events: none; + cursor: default; +} + +@media print { + .emotion-8 { + -webkit-print-color-adjust: exact; + color-adjust: exact; + } +} + +.emotion-8:hover { + background-color: rgba(0, 0, 0, 0.04); +} + +@media (hover: none) { + .emotion-8:hover { + background-color: transparent; + } +} + +.emotion-8.Mui-disabled { + background-color: transparent; + color: rgba(0, 0, 0, 0.26); +} + +.emotion-9 { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: 1em; + height: 1em; + display: inline-block; + fill: currentColor; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + font-size: 1.5rem; +} + +.emotion-10 { + overflow: hidden; + pointer-events: none; + position: absolute; + z-index: 0; + top: 0; + right: 0; + bottom: 0; + left: 0; + border-radius: inherit; +} + +.emotion-11 { + text-align: left; + position: absolute; + bottom: 0; + right: 0; + top: -5px; + left: 0; + margin: 0; + padding: 0 8px; + pointer-events: none; + border-radius: inherit; + border-style: solid; + border-width: 1px; + overflow: hidden; + min-width: 0%; + border-color: rgba(0, 0, 0, 0.23); +} + +.emotion-12 { + float: unset; + width: auto; + overflow: hidden; + padding: 0; + line-height: 11px; + -webkit-transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; + transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; +} + +.emotion-13 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + gap: 0.5rem; +} + +.emotion-15 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + position: relative; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + background-color: transparent; + outline: 0; + border: 0; + margin: 0; + border-radius: 0; + padding: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + vertical-align: middle; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-text-decoration: none; + text-decoration: none; + color: inherit; + font-family: "Roboto","Helvetica","Arial",sans-serif; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + letter-spacing: 0.02857em; + text-transform: uppercase; + min-width: 64px; + padding: 6px 16px; + border-radius: 4px; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + color: #fff; + background-color: #000000; + box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12); + min-width: -webkit-max-content; + min-width: -moz-max-content; + min-width: max-content; +} + +.emotion-15::-moz-focus-inner { + border-style: none; +} + +.emotion-15.Mui-disabled { + pointer-events: none; + cursor: default; +} + +@media print { + .emotion-15 { + -webkit-print-color-adjust: exact; + color-adjust: exact; + } +} + +.emotion-15:hover { + -webkit-text-decoration: none; + text-decoration: none; + background-color: rgb(0, 0, 0); + box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12); +} + +@media (hover: none) { + .emotion-15:hover { + background-color: #000000; + } +} + +.emotion-15:active { + box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12); +} + +.emotion-15.Mui-focusVisible { + box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12); +} + +.emotion-15.Mui-disabled { + color: rgba(0, 0, 0, 0.26); + box-shadow: none; + background-color: rgba(0, 0, 0, 0.12); +} + +.emotion-17 { + font-family: "Roboto","Helvetica","Arial",sans-serif; + font-weight: 400; + font-size: 1rem; + line-height: 1.4375em; + letter-spacing: 0.00938em; + color: rgba(0, 0, 0, 0.87); + box-sizing: border-box; + position: relative; + cursor: text; + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + position: relative; + border-radius: 4px; +} + +.emotion-17.Mui-disabled { + color: rgba(0, 0, 0, 0.38); + cursor: default; +} + +.emotion-17:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.87); +} + +@media (hover: none) { + .emotion-17:hover .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.23); + } +} + +.emotion-17.Mui-focused .MuiOutlinedInput-notchedOutline { + border-color: #000000; + border-width: 2px; +} + +.emotion-17.Mui-error .MuiOutlinedInput-notchedOutline { + border-color: #d32f2f; +} + +.emotion-17.Mui-disabled .MuiOutlinedInput-notchedOutline { + border-color: rgba(0, 0, 0, 0.26); +} + +.emotion-17.emotion-17 { + width: 11.5rem; + background-color: #fff; + padding-right: 0; +} + +.emotion-18 { + -moz-appearance: none; + -webkit-appearance: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + border-radius: 4px; + cursor: pointer; + font: inherit; + letter-spacing: inherit; + color: currentColor; + padding: 4px 0 5px; + border: 0; + box-sizing: content-box; + background: none; + height: 1.4375em; + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + padding: 16.5px 14px; +} + +.emotion-18:focus { + border-radius: 4px; +} + +.emotion-18::-ms-expand { + display: none; +} + +.emotion-18.Mui-disabled { + cursor: default; +} + +.emotion-18[multiple] { + height: auto; +} + +.emotion-18:not([multiple]) option, +.emotion-18:not([multiple]) optgroup { + background-color: #fff; +} + +.emotion-18.emotion-18.emotion-18 { + padding-right: 32px; +} + +.emotion-18.MuiSelect-select { + height: auto; + min-height: 1.4375em; + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; +} + +.emotion-18::-webkit-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-18::-moz-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-18:-ms-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-18::-ms-input-placeholder { + color: currentColor; + opacity: 0.42; + -webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; +} + +.emotion-18:focus { + outline: 0; +} + +.emotion-18:invalid { + box-shadow: none; +} + +.emotion-18::-webkit-search-decoration { + -webkit-appearance: none; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18::-webkit-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18::-moz-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18:-ms-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18::-ms-input-placeholder { + opacity: 0!important; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18:focus::-webkit-input-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18:focus::-moz-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18:focus:-ms-input-placeholder { + opacity: 0.42; +} + +label[data-shrink=false]+.MuiInputBase-formControl .emotion-18:focus::-ms-input-placeholder { + opacity: 0.42; +} + +.emotion-18.Mui-disabled { + opacity: 1; + -webkit-text-fill-color: rgba(0, 0, 0, 0.38); +} + +.emotion-18:-webkit-autofill { + -webkit-animation-duration: 5000s; + animation-duration: 5000s; + -webkit-animation-name: mui-auto-fill; + animation-name: mui-auto-fill; +} + +.emotion-18:-webkit-autofill { + border-radius: inherit; +} + +.emotion-19 { + bottom: 0; + left: 0; + position: absolute; + opacity: 0; + pointer-events: none; + width: 100%; + box-sizing: border-box; +} + +.emotion-20 { + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + width: 1em; + height: 1em; + display: inline-block; + fill: currentColor; + -webkit-flex-shrink: 0; + -ms-flex-negative: 0; + flex-shrink: 0; + -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + font-size: 1.5rem; + position: absolute; + right: 7px; + top: calc(50% - .5em); + pointer-events: none; + color: rgba(0, 0, 0, 0.54); +} + +.emotion-20.Mui-disabled { + color: rgba(0, 0, 0, 0.26); +} + +.emotion-23 { + display: block; + background-color: rgba(0, 0, 0, 0.11); + height: auto; + margin-top: 0; + margin-bottom: 0; + transform-origin: 0 55%; + -webkit-transform: scale(1, 0.60); + -moz-transform: scale(1, 0.60); + -ms-transform: scale(1, 0.60); + transform: scale(1, 0.60); + border-radius: 4px/6.7px; + position: relative; + overflow: hidden; + -webkit-mask-image: -webkit-radial-gradient(white, black); +} + +.emotion-23:empty:before { + content: "\\00a0"; +} + +.emotion-23::after { + -webkit-animation: animation-0 1.6s linear 0.5s infinite; + animation: animation-0 1.6s linear 0.5s infinite; + background: linear-gradient( + 90deg, + transparent, + rgba(0, 0, 0, 0.04), + transparent + ); + content: ''; + position: absolute; + -webkit-transform: translateX(-100%); + -moz-transform: translateX(-100%); + -ms-transform: translateX(-100%); + transform: translateX(-100%); + bottom: 0; + left: 0; + right: 0; + top: 0; +} + +.emotion-26 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: end; + -ms-flex-pack: end; + -webkit-justify-content: flex-end; + justify-content: flex-end; + gap: 1rem; +} + +.emotion-28 { + display: -webkit-inline-box; + display: -webkit-inline-flex; + display: -ms-inline-flexbox; + display: inline-flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + position: relative; + box-sizing: border-box; + -webkit-tap-highlight-color: transparent; + background-color: transparent; + outline: 0; + border: 0; + margin: 0; + border-radius: 0; + padding: 0; + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + vertical-align: middle; + -moz-appearance: none; + -webkit-appearance: none; + -webkit-text-decoration: none; + text-decoration: none; + color: inherit; + font-family: "Roboto","Helvetica","Arial",sans-serif; + font-weight: 500; + font-size: 0.875rem; + line-height: 1.75; + letter-spacing: 0.02857em; + text-transform: uppercase; + min-width: 64px; + padding: 6px 16px; + border-radius: 4px; + -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; + color: #fff; + background-color: #000000; + box-shadow: 0px 3px 1px -2px rgba(0,0,0,0.2),0px 2px 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px rgba(0,0,0,0.12); +} + +.emotion-28::-moz-focus-inner { + border-style: none; +} + +.emotion-28.Mui-disabled { + pointer-events: none; + cursor: default; +} + +@media print { + .emotion-28 { + -webkit-print-color-adjust: exact; + color-adjust: exact; + } +} + +.emotion-28:hover { + -webkit-text-decoration: none; + text-decoration: none; + background-color: rgb(0, 0, 0); + box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12); +} + +@media (hover: none) { + .emotion-28:hover { + background-color: #000000; + } +} + +.emotion-28:active { + box-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12); +} + +.emotion-28.Mui-focusVisible { + box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12); +} + +.emotion-28.Mui-disabled { + color: rgba(0, 0, 0, 0.26); + box-shadow: none; + background-color: rgba(0, 0, 0, 0.12); +} +
tests should render and match the snapshot 1`] = `
not found

diff --git a/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap b/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap index f29f0c50..39dba42d 100644 --- a/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/NotFoundPage/tests/__snapshots__/index.test.tsx.snap @@ -1,24 +1,64 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` tests should render and match the snapshot 1`] = ` +.emotion-0.emotion-0 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-flex-direction: column; + -ms-flex-direction: column; + flex-direction: column; + max-width: 30%; + -webkit-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + margin: 5% auto; +} + +.emotion-2.emotion-2 { + margin-bottom: 0.5rem; + font-size: 1.5rem; + font-weight: bold; +} + +.emotion-4.emotion-4 { + background-color: #000000; + color: #FFFFFF; + max-width: 30%; + margin: 2%; + cursor: pointer; +} + +.emotion-6.emotion-6 { + height: 60%; + width: 60%; + margin: 25%; +} +

Oops you ran out of Oxygen!, dont worry, you can go back home and start exploring again!

not found
diff --git a/jest.config.json b/jest.config.json index a4e0dbc7..04def6d0 100644 --- a/jest.config.json +++ b/jest.config.json @@ -50,5 +50,5 @@ "setupFilesAfterEnv": ["/jest.setup.js", "/internals/testing/test-bundler.js"], "setupFiles": ["raf/polyfill"], "testRegex": "tests/.*\\.test\\.[jt]sx?$", - "snapshotSerializers": [] + "snapshotSerializers": ["@emotion/jest/serializer"] } From d06478151987f219e7ba93b0d32356821274afbf Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Mon, 6 Mar 2023 13:04:32 +0530 Subject: [PATCH 09/15] chore: remove antd pkg --- .env | 2 +- .env.development | 3 +- .env.local | 2 +- app/utils/graphqlUtils.ts | 2 +- package.json | 13 +- yarn.lock | 936 +++++++++----------------------------- 6 files changed, 227 insertions(+), 731 deletions(-) diff --git a/.env b/.env index 42666509..1a129353 100644 --- a/.env +++ b/.env @@ -1 +1 @@ -SPACEX_URL=https://api.spacex.land/graphql/ +SPACEX_URL=https://spacex-production.up.railway.app/ \ No newline at end of file diff --git a/.env.development b/.env.development index 42666509..e1547062 100644 --- a/.env.development +++ b/.env.development @@ -1 +1,2 @@ -SPACEX_URL=https://api.spacex.land/graphql/ +SPACEX_URL=https://spacex-production.up.railway.app/ + diff --git a/.env.local b/.env.local index 42666509..81b2fa37 100644 --- a/.env.local +++ b/.env.local @@ -1 +1 @@ -SPACEX_URL=https://api.spacex.land/graphql/ +SPACEX_URL=https://spacex-production.up.railway.app/ diff --git a/app/utils/graphqlUtils.ts b/app/utils/graphqlUtils.ts index c346f037..b6a4d43b 100644 --- a/app/utils/graphqlUtils.ts +++ b/app/utils/graphqlUtils.ts @@ -3,7 +3,7 @@ import camelCase from 'lodash-es/camelCase'; import { mapKeysDeep } from '.'; export const client = new ApolloClient({ - uri: 'https://api.spacex.land/graphql', + uri: 'https://spacex-production.up.railway.app', cache: new InMemoryCache() }); diff --git a/package.json b/package.json index d56ae8cf..b6ce89e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-graphql-ts-template", - "version": "14.0.10", + "version": "14.0.12", "description": "A React Typescript GraphQL application", "repository": { "type": "git", @@ -21,12 +21,12 @@ "npmcheckversion": "node ./internals/scripts/npmcheckversion.js", "preinstall": "npm run npmcheckversion", "prebuild": "npm run build:clean", - "build": "export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", - "build:dev": "export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", + "build": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=production && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.prod.js --color --progress --stats-children --stats-error-details", + "build:dev": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=development && cross-env NODE_ENV=production webpack --config internals/webpack/webpack.config.dev.js --color --progress", "build:clean": "rimraf ./build", "predeploy": "yarn build && yarn build-storybook -o build/stories", "deploy": "gh-pages -d build", - "start": "export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", + "start": "export NODE_OPTIONS=--openssl-legacy-provider && export ENVIRONMENT_NAME=local && concurrently -c green.bold,blue.bold -n WEBPACK,TYPESCRIPT \"cross-env NODE_ENV=development node server\" \"yarn tsc:watch\"", "start:tunnel": "cross-env NODE_ENV=development ENABLE_TUNNEL=true node server", "start:production": "npm run test && npm run build && npm run start:prod", "start:prod": "cross-env NODE_ENV=production node server", @@ -93,7 +93,6 @@ "@stylelint/postcss-css-in-js": "^0.38.0", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", - "antd": "^4.9.3", "apisauce": "2.1.1", "apollo-boost": "^0.4.9", "chalk": "4.1.1", @@ -238,9 +237,9 @@ "terser-webpack-plugin": "5.1.3", "typescript": "^4.6.2", "url-loader": "4.1.1", - "webpack": "^5.40.0", + "webpack": "^5.75.0", "webpack-bundle-analyzer": "^4.4.2", - "webpack-cli": "4.7.2", + "webpack-cli": "^5.0.1", "webpack-dev-middleware": "5.0.0", "webpack-hot-middleware": "2.25.0", "webpack-pwa-manifest": "4.3.0", diff --git a/yarn.lock b/yarn.lock index dd61d0ff..5dd0a4cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,40 +24,6 @@ dependencies: tslib "^1.9.0" -"@ant-design/colors@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@ant-design/colors/-/colors-6.0.0.tgz#9b9366257cffcc47db42b9d0203bb592c13c0298" - integrity sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ== - dependencies: - "@ctrl/tinycolor" "^3.4.0" - -"@ant-design/icons-svg@^4.2.1": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.2.1.tgz#8630da8eb4471a4aabdaed7d1ff6a97dcb2cf05a" - integrity sha512-EB0iwlKDGpG93hW8f85CTJTs4SvMX7tt5ceupvhALp1IF44SeUFOMhKUOYqpsoYWQKAOuTRDMqn75rEaKDp0Xw== - -"@ant-design/icons@^4.7.0": - version "4.8.0" - resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-4.8.0.tgz#3084e2bb494cac3dad6c0392f77c1efc90ee1fa4" - integrity sha512-T89P2jG2vM7OJ0IfGx2+9FC5sQjtTzRSz+mCHTXkFn/ELZc2YpfStmYHmqzq2Jx55J0F7+O6i5/ZKFSVNWCKNg== - dependencies: - "@ant-design/colors" "^6.0.0" - "@ant-design/icons-svg" "^4.2.1" - "@babel/runtime" "^7.11.2" - classnames "^2.2.6" - rc-util "^5.9.4" - -"@ant-design/react-slick@~0.29.1": - version "0.29.2" - resolved "https://registry.yarnpkg.com/@ant-design/react-slick/-/react-slick-0.29.2.tgz#53e6a7920ea3562eebb304c15a7fc2d7e619d29c" - integrity sha512-kgjtKmkGHa19FW21lHnAfyyH9AAoh35pBdcJ53rHmQ3O+cfFHGHnUbj/HFrRNJ5vIts09FKJVAD8RpaC+RaWfA== - dependencies: - "@babel/runtime" "^7.10.4" - classnames "^2.2.5" - json2mq "^0.2.0" - lodash "^4.17.21" - resize-observer-polyfill "^1.5.1" - "@babel/cli@7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.14.5.tgz#9551b194f02360729de6060785bbdcce52c69f0a" @@ -1701,13 +1667,6 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.13", "@babel/runtime@^7.20.7": - version "7.21.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" - integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== - dependencies: - regenerator-runtime "^0.13.11" - "@babel/runtime@^7.12.13": version "7.15.3" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.3.tgz#2e1c2880ca118e5b2f9988322bd8a7656a32502b" @@ -1722,6 +1681,13 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.18.3", "@babel/runtime@^7.20.13": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" + integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== + dependencies: + regenerator-runtime "^0.13.11" + "@babel/template@^7.14.5", "@babel/template@^7.3.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" @@ -1849,11 +1815,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@ctrl/tinycolor@^3.4.0": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@ctrl/tinycolor/-/tinycolor-3.6.0.tgz#53fa5fe9c34faee89469e48f91d51a3766108bc8" - integrity sha512-/Z3l6pXthq0JvMYdUFyX9j0MaCltlIn6mfh9jLyQwg5aPKxkyNa0PTHtU1AlFXLNk55ZuAeJRcpvq+tmLfKmaQ== - "@discoveryjs/json-ext@^0.5.0": version "0.5.3" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.3.tgz#90420f9f9c6d3987f176a19a7d8e764271a2f55d" @@ -2981,15 +2942,6 @@ resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45" integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw== -"@rc-component/portal@^1.0.0-6", "@rc-component/portal@^1.0.0-8", "@rc-component/portal@^1.0.2": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@rc-component/portal/-/portal-1.1.0.tgz#6b94450d2c2b00d50b141bd7a0be23bd96503dbe" - integrity sha512-tbXM9SB1r5FOuZjRCljERFByFiEUcMmCWMXLog/NmgCzlAzreXyf23Vei3ZpSMxSMavzPnhCovfZjZdmxS3d1w== - dependencies: - "@babel/runtime" "^7.18.0" - classnames "^2.3.2" - rc-util "^5.24.4" - "@reach/router@^1.2.1": version "1.3.4" resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.3.4.tgz#d2574b19370a70c80480ed91f3da840136d10f8c" @@ -3704,10 +3656,10 @@ "@types/node" "*" "@types/responselike" "*" -"@types/eslint-scope@^3.7.0": - version "3.7.0" - resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.0.tgz#4792816e31119ebd506902a482caec4951fabd86" - integrity sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw== +"@types/eslint-scope@^3.7.3": + version "3.7.4" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" + integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== dependencies: "@types/eslint" "*" "@types/estree" "*" @@ -3725,10 +3677,10 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.48.tgz#18dc8091b285df90db2f25aa7d906cfc394b7f74" integrity sha512-LfZwXoGUDo0C3me81HXgkBg5CTQYb6xzEl+fNmbO4JdRiSKQ8A0GD1OBBvKAIsbCUgoyAty7m99GqqMQe784ew== -"@types/estree@^0.0.47": - version "0.0.47" - resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.47.tgz#d7a51db20f0650efec24cd04994f523d93172ed4" - integrity sha512-c5ciR06jK8u9BstrmJyO97m+klJrrhCf9u3rLu3DEAJBirxRqSCvDQoYKmxuYwQI5SZChAWu+tq9oVlGRuzPAg== +"@types/estree@^0.0.51": + version "0.0.51" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.51.tgz#cfd70924a25a3fd32b218e5e420e6897e1ac4f40" + integrity sha512-CuPgU6f3eT/XgKKPqKd/gLZV1Xmvf1a2R5POBOGQa6uv82xpls89HU5zKeVoyR8XzHd1RGNOlQlvUe3CFkjWNQ== "@types/fined@*": version "1.1.2" @@ -3835,6 +3787,11 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== +"@types/json-schema@^7.0.8": + version "7.0.11" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + "@types/json-schema@^7.0.9": version "7.0.9" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d" @@ -4278,13 +4235,13 @@ "@typescript-eslint/types" "5.15.0" eslint-visitor-keys "^3.0.0" -"@webassemblyjs/ast@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.0.tgz#a5aa679efdc9e51707a4207139da57920555961f" - integrity sha512-kX2W49LWsbthrmIRMbQZuQDhGtjyqXfEmmHyEi4XWnSZtPmxY0+3anPIzsnRb45VH/J55zlOfWvZuY47aJZTJg== +"@webassemblyjs/ast@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" + integrity sha512-ukBh14qFLjxTQNTXocdyksN5QdM28S1CxHt2rdskFyL+xFV7VremuBLVbmCePj+URalXBENx/9Lm7lnhihtCSw== dependencies: - "@webassemblyjs/helper-numbers" "1.11.0" - "@webassemblyjs/helper-wasm-bytecode" "1.11.0" + "@webassemblyjs/helper-numbers" "1.11.1" + "@webassemblyjs/helper-wasm-bytecode" "1.11.1" "@webassemblyjs/ast@1.9.0": version "1.9.0" @@ -4295,30 +4252,30 @@ "@webassemblyjs/helper-wasm-bytecode" "1.9.0" "@webassemblyjs/wast-parser" "1.9.0" -"@webassemblyjs/floating-point-hex-parser@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.0.tgz#34d62052f453cd43101d72eab4966a022587947c" - integrity sha512-Q/aVYs/VnPDVYvsCBL/gSgwmfjeCb4LW8+TMrO3cSzJImgv8lxxEPM2JA5jMrivE7LSz3V+PFqtMbls3m1exDA== +"@webassemblyjs/floating-point-hex-parser@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.1.tgz#f6c61a705f0fd7a6aecaa4e8198f23d9dc179e4f" + integrity sha512-iGRfyc5Bq+NnNuX8b5hwBrRjzf0ocrJPI6GWFodBFzmFnyvrQ83SHKhmilCU/8Jv67i4GJZBMhEzltxzcNagtQ== "@webassemblyjs/floating-point-hex-parser@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz#3c3d3b271bddfc84deb00f71344438311d52ffb4" integrity sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA== -"@webassemblyjs/helper-api-error@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.0.tgz#aaea8fb3b923f4aaa9b512ff541b013ffb68d2d4" - integrity sha512-baT/va95eXiXb2QflSx95QGT5ClzWpGaa8L7JnJbgzoYeaA27FCvuBXU758l+KXWRndEmUXjP0Q5fibhavIn8w== +"@webassemblyjs/helper-api-error@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.1.tgz#1a63192d8788e5c012800ba6a7a46c705288fd16" + integrity sha512-RlhS8CBCXfRUR/cwo2ho9bkheSXG0+NwooXcc3PAILALf2QLdFyj7KGsKRbVc95hZnhnERon4kW/D3SZpp6Tcg== "@webassemblyjs/helper-api-error@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz#203f676e333b96c9da2eeab3ccef33c45928b6a2" integrity sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw== -"@webassemblyjs/helper-buffer@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.0.tgz#d026c25d175e388a7dbda9694e91e743cbe9b642" - integrity sha512-u9HPBEl4DS+vA8qLQdEQ6N/eJQ7gT7aNvMIo8AAWvAl/xMrcOSiI2M0MAnMCy3jIFke7bEee/JwdX1nUpCtdyA== +"@webassemblyjs/helper-buffer@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.1.tgz#832a900eb444884cde9a7cad467f81500f5e5ab5" + integrity sha512-gwikF65aDNeeXa8JxXa2BAk+REjSyhrNC9ZwdT0f8jc4dQQeDQ7G4m0f2QCLPJiMTTO6wfDmRmj/pW0PsUvIcA== "@webassemblyjs/helper-buffer@1.9.0": version "1.9.0" @@ -4344,34 +4301,34 @@ dependencies: "@webassemblyjs/ast" "1.9.0" -"@webassemblyjs/helper-numbers@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.0.tgz#7ab04172d54e312cc6ea4286d7d9fa27c88cd4f9" - integrity sha512-DhRQKelIj01s5IgdsOJMKLppI+4zpmcMQ3XboFPLwCpSNH6Hqo1ritgHgD0nqHeSYqofA6aBN/NmXuGjM1jEfQ== +"@webassemblyjs/helper-numbers@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.1.tgz#64d81da219fbbba1e3bd1bfc74f6e8c4e10a62ae" + integrity sha512-vDkbxiB8zfnPdNK9Rajcey5C0w+QJugEglN0of+kmO8l7lDb77AnlKYQF7aarZuCrv+l0UvqL+68gSDr3k9LPQ== dependencies: - "@webassemblyjs/floating-point-hex-parser" "1.11.0" - "@webassemblyjs/helper-api-error" "1.11.0" + "@webassemblyjs/floating-point-hex-parser" "1.11.1" + "@webassemblyjs/helper-api-error" "1.11.1" "@xtuc/long" "4.2.2" -"@webassemblyjs/helper-wasm-bytecode@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.0.tgz#85fdcda4129902fe86f81abf7e7236953ec5a4e1" - integrity sha512-MbmhvxXExm542tWREgSFnOVo07fDpsBJg3sIl6fSp9xuu75eGz5lz31q7wTLffwL3Za7XNRCMZy210+tnsUSEA== +"@webassemblyjs/helper-wasm-bytecode@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.1.tgz#f328241e41e7b199d0b20c18e88429c4433295e1" + integrity sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q== "@webassemblyjs/helper-wasm-bytecode@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz#4fed8beac9b8c14f8c58b70d124d549dd1fe5790" integrity sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw== -"@webassemblyjs/helper-wasm-section@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.0.tgz#9ce2cc89300262509c801b4af113d1ca25c1a75b" - integrity sha512-3Eb88hcbfY/FCukrg6i3EH8H2UsD7x8Vy47iVJrP967A9JGqgBVL9aH71SETPx1JrGsOUVLo0c7vMCN22ytJew== +"@webassemblyjs/helper-wasm-section@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.1.tgz#21ee065a7b635f319e738f0dd73bfbda281c097a" + integrity sha512-10P9No29rYX1j7F3EVPX3JvGPQPae+AomuSTPiF9eBQeChHI6iqjMIwR9JmOJXwpnn/oVGDk7I5IlskuMwU/pg== dependencies: - "@webassemblyjs/ast" "1.11.0" - "@webassemblyjs/helper-buffer" "1.11.0" - "@webassemblyjs/helper-wasm-bytecode" "1.11.0" - "@webassemblyjs/wasm-gen" "1.11.0" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/helper-buffer" "1.11.1" + "@webassemblyjs/helper-wasm-bytecode" "1.11.1" + "@webassemblyjs/wasm-gen" "1.11.1" "@webassemblyjs/helper-wasm-section@1.9.0": version "1.9.0" @@ -4383,10 +4340,10 @@ "@webassemblyjs/helper-wasm-bytecode" "1.9.0" "@webassemblyjs/wasm-gen" "1.9.0" -"@webassemblyjs/ieee754@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.0.tgz#46975d583f9828f5d094ac210e219441c4e6f5cf" - integrity sha512-KXzOqpcYQwAfeQ6WbF6HXo+0udBNmw0iXDmEK5sFlmQdmND+tr773Ti8/5T/M6Tl/413ArSJErATd8In3B+WBA== +"@webassemblyjs/ieee754@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.1.tgz#963929e9bbd05709e7e12243a099180812992614" + integrity sha512-hJ87QIPtAMKbFq6CGTkZYJivEwZDbQUgYd3qKSadTNOhVY7p+gfP6Sr0lLRVTaG1JjFj+r3YchoqRYxNH3M0GQ== dependencies: "@xtuc/ieee754" "^1.2.0" @@ -4397,10 +4354,10 @@ dependencies: "@xtuc/ieee754" "^1.2.0" -"@webassemblyjs/leb128@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.0.tgz#f7353de1df38aa201cba9fb88b43f41f75ff403b" - integrity sha512-aqbsHa1mSQAbeeNcl38un6qVY++hh8OpCOzxhixSYgbRfNWcxJNJQwe2rezK9XEcssJbbWIkblaJRwGMS9zp+g== +"@webassemblyjs/leb128@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.1.tgz#ce814b45574e93d76bae1fb2644ab9cdd9527aa5" + integrity sha512-BJ2P0hNZ0u+Th1YZXJpzW6miwqQUGcIHT1G/sf72gLVD9DZ5AdYTqPNbHZh6K1M5VmKvFXwGSWZADz+qBWxeRw== dependencies: "@xtuc/long" "4.2.2" @@ -4411,29 +4368,29 @@ dependencies: "@xtuc/long" "4.2.2" -"@webassemblyjs/utf8@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.0.tgz#86e48f959cf49e0e5091f069a709b862f5a2cadf" - integrity sha512-A/lclGxH6SpSLSyFowMzO/+aDEPU4hvEiooCMXQPcQFPPJaYcPQNKGOCLUySJsYJ4trbpr+Fs08n4jelkVTGVw== +"@webassemblyjs/utf8@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.1.tgz#d1f8b764369e7c6e6bae350e854dec9a59f0a3ff" + integrity sha512-9kqcxAEdMhiwQkHpkNiorZzqpGrodQQ2IGrHHxCy+Ozng0ofyMA0lTqiLkVs1uzTRejX+/O0EOT7KxqVPuXosQ== "@webassemblyjs/utf8@1.9.0": version "1.9.0" resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.9.0.tgz#04d33b636f78e6a6813227e82402f7637b6229ab" integrity sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w== -"@webassemblyjs/wasm-edit@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.0.tgz#ee4a5c9f677046a210542ae63897094c2027cb78" - integrity sha512-JHQ0damXy0G6J9ucyKVXO2j08JVJ2ntkdJlq1UTiUrIgfGMmA7Ik5VdC/L8hBK46kVJgujkBIoMtT8yVr+yVOQ== - dependencies: - "@webassemblyjs/ast" "1.11.0" - "@webassemblyjs/helper-buffer" "1.11.0" - "@webassemblyjs/helper-wasm-bytecode" "1.11.0" - "@webassemblyjs/helper-wasm-section" "1.11.0" - "@webassemblyjs/wasm-gen" "1.11.0" - "@webassemblyjs/wasm-opt" "1.11.0" - "@webassemblyjs/wasm-parser" "1.11.0" - "@webassemblyjs/wast-printer" "1.11.0" +"@webassemblyjs/wasm-edit@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.1.tgz#ad206ebf4bf95a058ce9880a8c092c5dec8193d6" + integrity sha512-g+RsupUC1aTHfR8CDgnsVRVZFJqdkFHpsHMfJuWQzWU3tvnLC07UqHICfP+4XyL2tnr1amvl1Sdp06TnYCmVkA== + dependencies: + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/helper-buffer" "1.11.1" + "@webassemblyjs/helper-wasm-bytecode" "1.11.1" + "@webassemblyjs/helper-wasm-section" "1.11.1" + "@webassemblyjs/wasm-gen" "1.11.1" + "@webassemblyjs/wasm-opt" "1.11.1" + "@webassemblyjs/wasm-parser" "1.11.1" + "@webassemblyjs/wast-printer" "1.11.1" "@webassemblyjs/wasm-edit@1.9.0": version "1.9.0" @@ -4449,16 +4406,16 @@ "@webassemblyjs/wasm-parser" "1.9.0" "@webassemblyjs/wast-printer" "1.9.0" -"@webassemblyjs/wasm-gen@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.0.tgz#3cdb35e70082d42a35166988dda64f24ceb97abe" - integrity sha512-BEUv1aj0WptCZ9kIS30th5ILASUnAPEvE3tVMTrItnZRT9tXCLW2LEXT8ezLw59rqPP9klh9LPmpU+WmRQmCPQ== +"@webassemblyjs/wasm-gen@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.1.tgz#86c5ea304849759b7d88c47a32f4f039ae3c8f76" + integrity sha512-F7QqKXwwNlMmsulj6+O7r4mmtAlCWfO/0HdgOxSklZfQcDu0TpLiD1mRt/zF25Bk59FIjEuGAIyn5ei4yMfLhA== dependencies: - "@webassemblyjs/ast" "1.11.0" - "@webassemblyjs/helper-wasm-bytecode" "1.11.0" - "@webassemblyjs/ieee754" "1.11.0" - "@webassemblyjs/leb128" "1.11.0" - "@webassemblyjs/utf8" "1.11.0" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/helper-wasm-bytecode" "1.11.1" + "@webassemblyjs/ieee754" "1.11.1" + "@webassemblyjs/leb128" "1.11.1" + "@webassemblyjs/utf8" "1.11.1" "@webassemblyjs/wasm-gen@1.9.0": version "1.9.0" @@ -4471,15 +4428,15 @@ "@webassemblyjs/leb128" "1.9.0" "@webassemblyjs/utf8" "1.9.0" -"@webassemblyjs/wasm-opt@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.0.tgz#1638ae188137f4bb031f568a413cd24d32f92978" - integrity sha512-tHUSP5F4ywyh3hZ0+fDQuWxKx3mJiPeFufg+9gwTpYp324mPCQgnuVKwzLTZVqj0duRDovnPaZqDwoyhIO8kYg== +"@webassemblyjs/wasm-opt@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.1.tgz#657b4c2202f4cf3b345f8a4c6461c8c2418985f2" + integrity sha512-VqnkNqnZlU5EB64pp1l7hdm3hmQw7Vgqa0KF/KCNO9sIpI6Fk6brDEiX+iCOYrvMuBWDws0NkTOxYEb85XQHHw== dependencies: - "@webassemblyjs/ast" "1.11.0" - "@webassemblyjs/helper-buffer" "1.11.0" - "@webassemblyjs/wasm-gen" "1.11.0" - "@webassemblyjs/wasm-parser" "1.11.0" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/helper-buffer" "1.11.1" + "@webassemblyjs/wasm-gen" "1.11.1" + "@webassemblyjs/wasm-parser" "1.11.1" "@webassemblyjs/wasm-opt@1.9.0": version "1.9.0" @@ -4491,17 +4448,17 @@ "@webassemblyjs/wasm-gen" "1.9.0" "@webassemblyjs/wasm-parser" "1.9.0" -"@webassemblyjs/wasm-parser@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.0.tgz#3e680b8830d5b13d1ec86cc42f38f3d4a7700754" - integrity sha512-6L285Sgu9gphrcpDXINvm0M9BskznnzJTE7gYkjDbxET28shDqp27wpruyx3C2S/dvEwiigBwLA1cz7lNUi0kw== +"@webassemblyjs/wasm-parser@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.1.tgz#86ca734534f417e9bd3c67c7a1c75d8be41fb199" + integrity sha512-rrBujw+dJu32gYB7/Lup6UhdkPx9S9SnobZzRVL7VcBH9Bt9bCBLEuX/YXOOtBsOZ4NQrRykKhffRWHvigQvOA== dependencies: - "@webassemblyjs/ast" "1.11.0" - "@webassemblyjs/helper-api-error" "1.11.0" - "@webassemblyjs/helper-wasm-bytecode" "1.11.0" - "@webassemblyjs/ieee754" "1.11.0" - "@webassemblyjs/leb128" "1.11.0" - "@webassemblyjs/utf8" "1.11.0" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/helper-api-error" "1.11.1" + "@webassemblyjs/helper-wasm-bytecode" "1.11.1" + "@webassemblyjs/ieee754" "1.11.1" + "@webassemblyjs/leb128" "1.11.1" + "@webassemblyjs/utf8" "1.11.1" "@webassemblyjs/wasm-parser@1.9.0": version "1.9.0" @@ -4527,12 +4484,12 @@ "@webassemblyjs/helper-fsm" "1.9.0" "@xtuc/long" "4.2.2" -"@webassemblyjs/wast-printer@1.11.0": - version "1.11.0" - resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.0.tgz#680d1f6a5365d6d401974a8e949e05474e1fab7e" - integrity sha512-Fg5OX46pRdTgB7rKIUojkh9vXaVN6sGYCnEiJN1GYkb0RPwShZXp6KTDqmoMdQPKhcroOXh3fEzmkWmCYaKYhQ== +"@webassemblyjs/wast-printer@1.11.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.1.tgz#d0c73beda8eec5426f10ae8ef55cee5e7084c2f0" + integrity sha512-IQboUWM4eKzWW+N/jij2sRatKMh99QEelo3Eb2q0qXkvPRISAj8Qxtmw5itwqK+TTkBuUIE45AxYPToqPtL5gg== dependencies: - "@webassemblyjs/ast" "1.11.0" + "@webassemblyjs/ast" "1.11.1" "@xtuc/long" "4.2.2" "@webassemblyjs/wast-printer@1.9.0": @@ -4544,22 +4501,20 @@ "@webassemblyjs/wast-parser" "1.9.0" "@xtuc/long" "4.2.2" -"@webpack-cli/configtest@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-1.0.4.tgz#f03ce6311c0883a83d04569e2c03c6238316d2aa" - integrity sha512-cs3XLy+UcxiP6bj0A6u7MLLuwdXJ1c3Dtc0RkKg+wiI1g/Ti1om8+/2hc2A2B60NbBNAbMgyBMHvyymWm/j4wQ== +"@webpack-cli/configtest@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-2.0.1.tgz#a69720f6c9bad6aef54a8fa6ba9c3533e7ef4c7f" + integrity sha512-njsdJXJSiS2iNbQVS0eT8A/KPnmyH4pv1APj2K0d1wrZcBLw+yppxOy4CGqa0OxDJkzfL/XELDhD8rocnIwB5A== -"@webpack-cli/info@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-1.3.0.tgz#9d78a31101a960997a4acd41ffd9b9300627fe2b" - integrity sha512-ASiVB3t9LOKHs5DyVUcxpraBXDOKubYu/ihHhU+t1UPpxsivg6Od2E2qU4gJCekfEddzRBzHhzA/Acyw/mlK/w== - dependencies: - envinfo "^7.7.3" +"@webpack-cli/info@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-2.0.1.tgz#eed745799c910d20081e06e5177c2b2569f166c0" + integrity sha512-fE1UEWTwsAxRhrJNikE7v4EotYflkEhBL7EbajfkPlf6E37/2QshOy/D48Mw8G5XMFlQtS6YV42vtbG9zBpIQA== -"@webpack-cli/serve@^1.5.1": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.1.tgz#b5fde2f0f79c1e120307c415a4c1d5eb15a6f278" - integrity sha512-4vSVUiOPJLmr45S8rMGy7WDvpWxfFxfP/Qx/cxZFCfvoypTYpPPL1X8VIZMe0WTA+Jr7blUxwUSEZNkjoMTgSw== +"@webpack-cli/serve@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.1.tgz#34bdc31727a1889198855913db2f270ace6d7bf8" + integrity sha512-0G7tNyS+yW8TdgHwZKlDWYXFA6OJQnoLCQvYKkQP0Q2X205PSQ6RNUj0M+1OB/9gRQaUZ/ccYfaxd0nhaWKfjw== "@wry/context@^0.4.0": version "0.4.4" @@ -4612,6 +4567,11 @@ acorn-globals@^6.0.0: acorn "^7.1.1" acorn-walk "^7.1.1" +acorn-import-assertions@^1.7.6: + version "1.8.0" + resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.8.0.tgz#ba2b5939ce62c238db6d93d81c9b111b29b855e9" + integrity sha512-m7VZ3jwz4eK6A4Vtt8Ew1/mNbP24u0FhdyfA7fSvnJR6LMdfOYnmuIrrJAgrYfYJ10F/otaHTtrtrtmHdMNzEw== + acorn-jsx@^5.0.0, acorn-jsx@^5.2.0: version "5.3.1" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" @@ -4642,7 +4602,7 @@ acorn@^7.1.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.0.4, acorn@^8.2.1, acorn@^8.2.4: +acorn@^8.0.4, acorn@^8.2.4: version "8.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.4.1.tgz#56c36251fc7cabc7096adc18f05afe814321a28c" integrity sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA== @@ -4652,6 +4612,11 @@ acorn@^8.7.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== +acorn@^8.7.1: + version "8.8.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== + add-asset-html-webpack-plugin@3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/add-asset-html-webpack-plugin/-/add-asset-html-webpack-plugin-3.2.0.tgz#e4ca5fae61ab1725e69dde18066fb99b90571fd5" @@ -4824,55 +4789,6 @@ ansi-to-html@^0.6.11: dependencies: entities "^2.0.0" -antd@^4.9.3: - version "4.24.8" - resolved "https://registry.yarnpkg.com/antd/-/antd-4.24.8.tgz#22f34de6857556868780dfa5fe7b374b0b71b517" - integrity sha512-wrNy2Hi27uM3948okG3n2GwzQKBFUn1Qn5mn2I/ALcR28rC6cTjHYOuA248Zl9ECzz3jo4TY2R0SIa+5GZ/zGA== - dependencies: - "@ant-design/colors" "^6.0.0" - "@ant-design/icons" "^4.7.0" - "@ant-design/react-slick" "~0.29.1" - "@babel/runtime" "^7.18.3" - "@ctrl/tinycolor" "^3.4.0" - classnames "^2.2.6" - copy-to-clipboard "^3.2.0" - lodash "^4.17.21" - moment "^2.29.2" - rc-cascader "~3.7.0" - rc-checkbox "~2.3.0" - rc-collapse "~3.4.2" - rc-dialog "~9.0.2" - rc-drawer "~6.1.0" - rc-dropdown "~4.0.0" - rc-field-form "~1.27.0" - rc-image "~5.13.0" - rc-input "~0.1.4" - rc-input-number "~7.3.9" - rc-mentions "~1.13.1" - rc-menu "~9.8.0" - rc-motion "^2.6.1" - rc-notification "~4.6.0" - rc-pagination "~3.2.0" - rc-picker "~2.7.0" - rc-progress "~3.4.1" - rc-rate "~2.9.0" - rc-resize-observer "^1.2.0" - rc-segmented "~2.1.0" - rc-select "~14.1.13" - rc-slider "~10.0.0" - rc-steps "~5.0.0-alpha.2" - rc-switch "~3.2.0" - rc-table "~7.26.0" - rc-tabs "~12.5.6" - rc-textarea "~0.4.5" - rc-tooltip "~5.2.0" - rc-tree "~5.7.0" - rc-tree-select "~5.5.0" - rc-trigger "^5.2.10" - rc-upload "~4.3.0" - rc-util "^5.22.5" - scroll-into-view-if-needed "^2.2.25" - any-base@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/any-base/-/any-base-1.1.0.tgz#ae101a62bc08a597b4c9ab5b7089d456630549fe" @@ -5124,11 +5040,6 @@ array-slice@^1.0.0: resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4" integrity sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w== -array-tree-filter@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz#873ac00fec83749f255ac8dd083814b4f6329190" - integrity sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw== - array-union@^1.0.1, array-union@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" @@ -5257,11 +5168,6 @@ async-each@^1.0.1: resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== -async-validator@^4.1.0: - version "4.2.5" - resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-4.2.5.tgz#c96ea3332a521699d0afaaceed510a54656c6339" - integrity sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg== - async@^2.6.1: version "2.6.3" resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff" @@ -6711,11 +6617,6 @@ class-utils@^0.3.5: isobject "^3.0.0" static-extend "^0.1.1" -classnames@2.x, classnames@^2.2.1, classnames@^2.2.3, classnames@^2.2.6, classnames@^2.3.1, classnames@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924" - integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw== - classnames@^2.2.5: version "2.3.1" resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.1.tgz#dfcfa3891e306ec1dad105d0e88f4417b8535e8e" @@ -6914,6 +6815,11 @@ colorette@^1.2.1, colorette@^1.2.2: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== +colorette@^2.0.14: + version "2.0.19" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" + integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== + colors@^1.1.2: version "1.4.0" resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" @@ -6946,10 +6852,10 @@ commander@^6.2.0: resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== -commander@^7.0.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" - integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== +commander@^9.4.1: + version "9.5.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" + integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ== commondir@^1.0.1: version "1.0.1" @@ -6994,11 +6900,6 @@ compression@1.7.4: safe-buffer "5.1.2" vary "~1.1.2" -compute-scroll-into-view@^1.0.20: - version "1.0.20" - resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz#1768b5522d1172754f5d0c9b02de3af6be506a43" - integrity sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg== - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -7144,13 +7045,6 @@ copy-to-clipboard@^3.0.8: dependencies: toggle-selection "^1.0.6" -copy-to-clipboard@^3.2.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0" - integrity sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA== - dependencies: - toggle-selection "^1.0.6" - core-js-compat@^3.14.0, core-js-compat@^3.15.0: version "3.15.1" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.15.1.tgz#1afe233716d37ee021956ef097594071b2b585a7" @@ -7579,11 +7473,6 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" -date-fns@2.x: - version "2.29.3" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.3.tgz#27402d2fc67eb442b511b70bbdf98e6411cd68a8" - integrity sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA== - date-fns@^1.27.2: version "1.30.1" resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c" @@ -7594,11 +7483,6 @@ date-fns@^2.16.1, date-fns@^2.28.0: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.28.0.tgz#9570d656f5fc13143e50c975a3b6bbeb46cd08b2" integrity sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw== -dayjs@1.x: - version "1.11.7" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" - integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== - debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.8, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" @@ -7997,11 +7881,6 @@ dom-accessibility-api@^0.5.9: resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.14.tgz#56082f71b1dc7aac69d83c4285eef39c15d93f56" integrity sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg== -dom-align@^1.7.0: - version "1.12.4" - resolved "https://registry.yarnpkg.com/dom-align/-/dom-align-1.12.4.tgz#3503992eb2a7cfcb2ed3b2a6d21e0b9c00d54511" - integrity sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw== - dom-converter@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" @@ -8348,10 +8227,10 @@ enhanced-resolve@^4.5.0: memory-fs "^0.5.0" tapable "^1.0.0" -enhanced-resolve@^5.8.0: - version "5.8.2" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.8.2.tgz#15ddc779345cbb73e97c611cd00c01c1e7bf4d8b" - integrity sha512-F27oB3WuHDzvR2DOGNTaYy0D5o0cnrv8TeI482VM4kYgQd/FT9lUQwuNsJ0oOHtBUq7eiW5ytqzp7nBFknL+GA== +enhanced-resolve@^5.10.0: + version "5.12.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634" + integrity sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -8461,10 +8340,10 @@ es-get-iterator@^1.0.2: is-string "^1.0.5" isarray "^2.0.5" -es-module-lexer@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.6.0.tgz#e72ab05b7412e62b9be37c37a09bdb6000d706f0" - integrity sha512-f8kcHX1ArhllUtb/wVSyvygoKCznIjnxhLxy7TCvIiMdT7fL4ZDTIKaadMe6eLvOXg6Wk02UeoFgUoZ2EKZZUA== +es-module-lexer@^0.9.0: + version "0.9.3" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" + integrity sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ== es-to-primitive@^1.2.1: version "1.2.1" @@ -11436,11 +11315,16 @@ interpret@^1.0.0, interpret@^1.2.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== -interpret@^2.0.0, interpret@^2.2.0: +interpret@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== +interpret@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4" + integrity sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ== + intl-messageformat-parser@^1.2.0: version "1.8.1" resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-1.8.1.tgz#0eb14c5618333be4c95c409457b66c8c33ddcc01" @@ -12826,7 +12710,7 @@ json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== -json-parse-even-better-errors@^2.3.0: +json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== @@ -12858,13 +12742,6 @@ json-stringify-safe@~5.0.1: resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= -json2mq@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/json2mq/-/json2mq-0.2.0.tgz#b637bd3ba9eabe122c83e9720483aeb10d2c904a" - integrity sha512-SzoRg7ux5DWTII9J2qkrZrqV1gt+rTaoufMxEzXbS26Uid0NwaJd123HcoB80TgubEppxxIGdNxCx50fEoEWQA== - dependencies: - string-convert "^0.2.0" - json3@^3.3.2: version "3.3.3" resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81" @@ -14036,11 +13913,6 @@ mkpath@^0.1.0: resolved "https://registry.yarnpkg.com/mkpath/-/mkpath-0.1.0.tgz#7554a6f8d871834cc97b5462b122c4c124d6de91" integrity sha1-dVSm+Nhxg0zJe1RisSLEwSTW3pE= -moment@^2.24.0, moment@^2.29.2: - version "2.29.4" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" - integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== - move-concurrently@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" @@ -16131,377 +16003,6 @@ raw-loader@^3.1.0: loader-utils "^1.1.0" schema-utils "^2.0.1" -rc-align@^4.0.0: - version "4.0.15" - resolved "https://registry.yarnpkg.com/rc-align/-/rc-align-4.0.15.tgz#2bbd665cf85dfd0b0244c5a752b07565e9098577" - integrity sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - dom-align "^1.7.0" - rc-util "^5.26.0" - resize-observer-polyfill "^1.5.1" - -rc-cascader@~3.7.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/rc-cascader/-/rc-cascader-3.7.0.tgz#98134df578ce1cca22be8fb4319b04df4f3dca36" - integrity sha512-SFtGpwmYN7RaWEAGTS4Rkc62ZV/qmQGg/tajr/7mfIkleuu8ro9Hlk6J+aA0x1YS4zlaZBtTcSaXM01QMiEV/A== - dependencies: - "@babel/runtime" "^7.12.5" - array-tree-filter "^2.1.0" - classnames "^2.3.1" - rc-select "~14.1.0" - rc-tree "~5.7.0" - rc-util "^5.6.1" - -rc-checkbox@~2.3.0: - version "2.3.2" - resolved "https://registry.yarnpkg.com/rc-checkbox/-/rc-checkbox-2.3.2.tgz#f91b3678c7edb2baa8121c9483c664fa6f0aefc1" - integrity sha512-afVi1FYiGv1U0JlpNH/UaEXdh6WUJjcWokj/nUN2TgG80bfG+MDdbfHKlLcNNba94mbjy2/SXJ1HDgrOkXGAjg== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.1" - -rc-collapse@~3.4.2: - version "3.4.2" - resolved "https://registry.yarnpkg.com/rc-collapse/-/rc-collapse-3.4.2.tgz#1310be7ad4cd0dcfc622c45f6c3b5ffdee403ad7" - integrity sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - rc-motion "^2.3.4" - rc-util "^5.2.1" - shallowequal "^1.1.0" - -rc-dialog@~9.0.0, rc-dialog@~9.0.2: - version "9.0.2" - resolved "https://registry.yarnpkg.com/rc-dialog/-/rc-dialog-9.0.2.tgz#aadfebdeba145f256c1fac9b9f509f893cdbb5b8" - integrity sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg== - dependencies: - "@babel/runtime" "^7.10.1" - "@rc-component/portal" "^1.0.0-8" - classnames "^2.2.6" - rc-motion "^2.3.0" - rc-util "^5.21.0" - -rc-drawer@~6.1.0: - version "6.1.3" - resolved "https://registry.yarnpkg.com/rc-drawer/-/rc-drawer-6.1.3.tgz#4b2277db09f059be7144dc82d5afede9c2ab2191" - integrity sha512-AvHisO90A+xMLMKBw2zs89HxjWxusM2BUABlgK60RhweIHF8W/wk0hSOrxBlUXoA9r1F+10na3g6GZ97y1qDZA== - dependencies: - "@babel/runtime" "^7.10.1" - "@rc-component/portal" "^1.0.0-6" - classnames "^2.2.6" - rc-motion "^2.6.1" - rc-util "^5.21.2" - -rc-dropdown@~4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/rc-dropdown/-/rc-dropdown-4.0.1.tgz#f65d9d3d89750241057db59d5a75e43cd4576b68" - integrity sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g== - dependencies: - "@babel/runtime" "^7.18.3" - classnames "^2.2.6" - rc-trigger "^5.3.1" - rc-util "^5.17.0" - -rc-field-form@~1.27.0: - version "1.27.4" - resolved "https://registry.yarnpkg.com/rc-field-form/-/rc-field-form-1.27.4.tgz#53600714af5b28c226c70d34867a8c52ccd64d44" - integrity sha512-PQColQnZimGKArnOh8V2907+VzDCXcqtFvHgevDLtqWc/P7YASb/FqntSmdS8q3VND5SHX3Y1vgMIzY22/f/0Q== - dependencies: - "@babel/runtime" "^7.18.0" - async-validator "^4.1.0" - rc-util "^5.8.0" - -rc-image@~5.13.0: - version "5.13.0" - resolved "https://registry.yarnpkg.com/rc-image/-/rc-image-5.13.0.tgz#1ed9b852a40b5eff34786ba7d2f0e9d26eeab874" - integrity sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg== - dependencies: - "@babel/runtime" "^7.11.2" - "@rc-component/portal" "^1.0.2" - classnames "^2.2.6" - rc-dialog "~9.0.0" - rc-motion "^2.6.2" - rc-util "^5.0.6" - -rc-input-number@~7.3.9: - version "7.3.11" - resolved "https://registry.yarnpkg.com/rc-input-number/-/rc-input-number-7.3.11.tgz#c7089705a220e1a59ba974fabf89693e00dd2442" - integrity sha512-aMWPEjFeles6PQnMqP5eWpxzsvHm9rh1jQOWXExUEIxhX62Fyl/ptifLHOn17+waDG1T/YUb6flfJbvwRhHrbA== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.5" - rc-util "^5.23.0" - -rc-input@~0.1.4: - version "0.1.4" - resolved "https://registry.yarnpkg.com/rc-input/-/rc-input-0.1.4.tgz#45cb4ba209ae6cc835a2acb8629d4f8f0cb347e0" - integrity sha512-FqDdNz+fV2dKNgfXzcSLKvC+jEs1709t7nD+WdfjrdSaOcefpgc7BUJYadc3usaING+b7ediMTfKxuJBsEFbXA== - dependencies: - "@babel/runtime" "^7.11.1" - classnames "^2.2.1" - rc-util "^5.18.1" - -rc-mentions@~1.13.1: - version "1.13.1" - resolved "https://registry.yarnpkg.com/rc-mentions/-/rc-mentions-1.13.1.tgz#c884b70e1505a197f1b32a7c6b39090db6992a72" - integrity sha512-FCkaWw6JQygtOz0+Vxz/M/NWqrWHB9LwqlY2RtcuFqWJNFK9njijOOzTSsBGANliGufVUzx/xuPHmZPBV0+Hgw== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.6" - rc-menu "~9.8.0" - rc-textarea "^0.4.0" - rc-trigger "^5.0.4" - rc-util "^5.22.5" - -rc-menu@~9.8.0: - version "9.8.2" - resolved "https://registry.yarnpkg.com/rc-menu/-/rc-menu-9.8.2.tgz#179df4ea0fc46fffb7a21e18d3cddb901ce35986" - integrity sha512-EahOJVjLuEnJsThoPN+mGnVm431RzVzDLZWHRS/YnXTQULa7OsgdJa/Y7qXxc3Z5sz8mgT6xYtgpmBXLxrZFaQ== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - rc-motion "^2.4.3" - rc-overflow "^1.2.8" - rc-trigger "^5.1.2" - rc-util "^5.27.0" - -rc-motion@^2.0.0, rc-motion@^2.0.1, rc-motion@^2.2.0, rc-motion@^2.3.0, rc-motion@^2.3.4, rc-motion@^2.4.3, rc-motion@^2.4.4, rc-motion@^2.6.1, rc-motion@^2.6.2: - version "2.6.3" - resolved "https://registry.yarnpkg.com/rc-motion/-/rc-motion-2.6.3.tgz#e6d8ca06591c2c1bcd3391a8e7a822ebc4d94e9c" - integrity sha512-xFLkes3/7VL/J+ah9jJruEW/Akbx5F6jVa2wG5o/ApGKQKSOd5FR3rseHLL9+xtJg4PmCwo6/1tqhDO/T+jFHA== - dependencies: - "@babel/runtime" "^7.11.1" - classnames "^2.2.1" - rc-util "^5.21.0" - -rc-notification@~4.6.0: - version "4.6.1" - resolved "https://registry.yarnpkg.com/rc-notification/-/rc-notification-4.6.1.tgz#068e8674f4bd7926a447eca512915d4b41b15c91" - integrity sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - rc-motion "^2.2.0" - rc-util "^5.20.1" - -rc-overflow@^1.0.0, rc-overflow@^1.2.8: - version "1.2.8" - resolved "https://registry.yarnpkg.com/rc-overflow/-/rc-overflow-1.2.8.tgz#40f140fabc244118543e627cdd1ef750d9481a88" - integrity sha512-QJ0UItckWPQ37ZL1dMEBAdY1dhfTXFL9k6oTTcyydVwoUNMnMqCGqnRNA98axSr/OeDKqR6DVFyi8eA5RQI/uQ== - dependencies: - "@babel/runtime" "^7.11.1" - classnames "^2.2.1" - rc-resize-observer "^1.0.0" - rc-util "^5.19.2" - -rc-pagination@~3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/rc-pagination/-/rc-pagination-3.2.0.tgz#4f2fdba9fdac0f48e5c9fb1141973818138af7e1" - integrity sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.1" - -rc-picker@~2.7.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/rc-picker/-/rc-picker-2.7.0.tgz#3c19881da27a0c5ee4c7e7504e21b552bd43a94c" - integrity sha512-oZH6FZ3j4iuBxHB4NvQ6ABRsS2If/Kpty1YFFsji7/aej6ruGmfM7WnJWQ88AoPfpJ++ya5z+nVEA8yCRYGKyw== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.1" - date-fns "2.x" - dayjs "1.x" - moment "^2.24.0" - rc-trigger "^5.0.4" - rc-util "^5.4.0" - shallowequal "^1.1.0" - -rc-progress@~3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/rc-progress/-/rc-progress-3.4.1.tgz#a9ffe099e88a4fc03afb09d8603162bf0760d743" - integrity sha512-eAFDHXlk8aWpoXl0llrenPMt9qKHQXphxcVsnKs0FHC6eCSk1ebJtyaVjJUzKe0233ogiLDeEFK1Uihz3s67hw== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.6" - rc-util "^5.16.1" - -rc-rate@~2.9.0: - version "2.9.2" - resolved "https://registry.yarnpkg.com/rc-rate/-/rc-rate-2.9.2.tgz#4a58965d1ecf91896ebae01d458b59056df0b4ea" - integrity sha512-SaiZFyN8pe0Fgphv8t3+kidlej+cq/EALkAJAc3A0w0XcPaH2L1aggM8bhe1u6GAGuQNAoFvTLjw4qLPGRKV5g== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.5" - rc-util "^5.0.1" - -rc-resize-observer@^1.0.0, rc-resize-observer@^1.1.0, rc-resize-observer@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/rc-resize-observer/-/rc-resize-observer-1.3.1.tgz#b61b9f27048001243617b81f95e53d7d7d7a6a3d" - integrity sha512-iFUdt3NNhflbY3mwySv5CA1TC06zdJ+pfo0oc27xpf4PIOvfZwZGtD9Kz41wGYqC4SLio93RVAirSSpYlV/uYg== - dependencies: - "@babel/runtime" "^7.20.7" - classnames "^2.2.1" - rc-util "^5.27.0" - resize-observer-polyfill "^1.5.1" - -rc-segmented@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/rc-segmented/-/rc-segmented-2.1.2.tgz#14c9077a1dae9c2ccb2ef5fbc5662c1c48c7ce8e" - integrity sha512-qGo1bCr83ESXpXVOCXjFe1QJlCAQXyi9KCiy8eX3rIMYlTeJr/ftySIaTnYsitL18SvWf5ZEHsfqIWoX0EMfFQ== - dependencies: - "@babel/runtime" "^7.11.1" - classnames "^2.2.1" - rc-motion "^2.4.4" - rc-util "^5.17.0" - -rc-select@~14.1.0, rc-select@~14.1.13: - version "14.1.16" - resolved "https://registry.yarnpkg.com/rc-select/-/rc-select-14.1.16.tgz#0cc4b5a1fc551a2db7c96bc1ece0896317ecdd47" - integrity sha512-71XLHleuZmufpdV2vis5oituRkhg2WNvLpVMJBGWRar6WGAVOHXaY9DR5HvwWry3EGTn19BqnL6Xbybje6f8YA== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - rc-motion "^2.0.1" - rc-overflow "^1.0.0" - rc-trigger "^5.0.4" - rc-util "^5.16.1" - rc-virtual-list "^3.2.0" - -rc-slider@~10.0.0: - version "10.0.1" - resolved "https://registry.yarnpkg.com/rc-slider/-/rc-slider-10.0.1.tgz#7058c68ff1e1aa4e7c3536e5e10128bdbccb87f9" - integrity sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.5" - rc-util "^5.18.1" - shallowequal "^1.1.0" - -rc-steps@~5.0.0-alpha.2: - version "5.0.0" - resolved "https://registry.yarnpkg.com/rc-steps/-/rc-steps-5.0.0.tgz#2e2403f2dd69eb3966d65f461f7e3a8ee1ef69fe" - integrity sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw== - dependencies: - "@babel/runtime" "^7.16.7" - classnames "^2.2.3" - rc-util "^5.16.1" - -rc-switch@~3.2.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/rc-switch/-/rc-switch-3.2.2.tgz#d001f77f12664d52595b4f6fb425dd9e66fba8e8" - integrity sha512-+gUJClsZZzvAHGy1vZfnwySxj+MjLlGRyXKXScrtCTcmiYNPzxDFOxdQ/3pK1Kt/0POvwJ/6ALOR8gwdXGhs+A== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.1" - rc-util "^5.0.1" - -rc-table@~7.26.0: - version "7.26.0" - resolved "https://registry.yarnpkg.com/rc-table/-/rc-table-7.26.0.tgz#9d517e7fa512e7571fdcc453eb1bf19edfac6fbc" - integrity sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.5" - rc-resize-observer "^1.1.0" - rc-util "^5.22.5" - shallowequal "^1.1.0" - -rc-tabs@~12.5.6: - version "12.5.7" - resolved "https://registry.yarnpkg.com/rc-tabs/-/rc-tabs-12.5.7.tgz#9175f5e27341416d3f572c8d9a40e300d0e2de6b" - integrity sha512-i9gY2TcwCNmBM+bXCDDTvb6mnRYIDkkNm+UGoIqrLOFnRRbAqjsSf+tgyvzhBvbK8XcSrMhzKKLaOMbGyND8YA== - dependencies: - "@babel/runtime" "^7.11.2" - classnames "2.x" - rc-dropdown "~4.0.0" - rc-menu "~9.8.0" - rc-motion "^2.6.2" - rc-resize-observer "^1.0.0" - rc-util "^5.16.0" - -rc-textarea@^0.4.0, rc-textarea@~0.4.5: - version "0.4.7" - resolved "https://registry.yarnpkg.com/rc-textarea/-/rc-textarea-0.4.7.tgz#627f662d46f99e0059d1c1ebc8db40c65339fe90" - integrity sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "^2.2.1" - rc-resize-observer "^1.0.0" - rc-util "^5.24.4" - shallowequal "^1.1.0" - -rc-tooltip@~5.2.0: - version "5.2.2" - resolved "https://registry.yarnpkg.com/rc-tooltip/-/rc-tooltip-5.2.2.tgz#e5cafa8ecebf78108936a0bcb93c150fa81ac93b" - integrity sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg== - dependencies: - "@babel/runtime" "^7.11.2" - classnames "^2.3.1" - rc-trigger "^5.0.0" - -rc-tree-select@~5.5.0: - version "5.5.5" - resolved "https://registry.yarnpkg.com/rc-tree-select/-/rc-tree-select-5.5.5.tgz#d28b3b45da1e820cd21762ba0ee93c19429bb369" - integrity sha512-k2av7jF6tW9bIO4mQhaVdV4kJ1c54oxV3/hHVU+oD251Gb5JN+m1RbJFTMf1o0rAFqkvto33rxMdpafaGKQRJw== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - rc-select "~14.1.0" - rc-tree "~5.7.0" - rc-util "^5.16.1" - -rc-tree@~5.7.0: - version "5.7.2" - resolved "https://registry.yarnpkg.com/rc-tree/-/rc-tree-5.7.2.tgz#270ea7d9e1b2e5e81cd3659eba2fbd022a4831f6" - integrity sha512-nmnL6qLnfwVckO5zoqKL2I9UhwDqzyCtjITQCkwhimyz1zfuFkG5ZPIXpzD/Guzso94qQA/QrMsvzic5W6QDjg== - dependencies: - "@babel/runtime" "^7.10.1" - classnames "2.x" - rc-motion "^2.0.1" - rc-util "^5.16.1" - rc-virtual-list "^3.4.8" - -rc-trigger@^5.0.0, rc-trigger@^5.0.4, rc-trigger@^5.1.2, rc-trigger@^5.2.10, rc-trigger@^5.3.1: - version "5.3.4" - resolved "https://registry.yarnpkg.com/rc-trigger/-/rc-trigger-5.3.4.tgz#6b4b26e32825677c837d1eb4d7085035eecf9a61" - integrity sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw== - dependencies: - "@babel/runtime" "^7.18.3" - classnames "^2.2.6" - rc-align "^4.0.0" - rc-motion "^2.0.0" - rc-util "^5.19.2" - -rc-upload@~4.3.0: - version "4.3.4" - resolved "https://registry.yarnpkg.com/rc-upload/-/rc-upload-4.3.4.tgz#83ff7d3867631c37adbfd72ea3d1fd7e97ca84af" - integrity sha512-uVbtHFGNjHG/RyAfm9fluXB6pvArAGyAx8z7XzXXyorEgVIWj6mOlriuDm0XowDHYz4ycNK0nE0oP3cbFnzxiQ== - dependencies: - "@babel/runtime" "^7.18.3" - classnames "^2.2.5" - rc-util "^5.2.0" - -rc-util@^5.0.1, rc-util@^5.0.6, rc-util@^5.15.0, rc-util@^5.16.0, rc-util@^5.16.1, rc-util@^5.17.0, rc-util@^5.18.1, rc-util@^5.19.2, rc-util@^5.2.0, rc-util@^5.2.1, rc-util@^5.20.1, rc-util@^5.21.0, rc-util@^5.21.2, rc-util@^5.22.5, rc-util@^5.23.0, rc-util@^5.24.4, rc-util@^5.26.0, rc-util@^5.27.0, rc-util@^5.4.0, rc-util@^5.6.1, rc-util@^5.8.0, rc-util@^5.9.4: - version "5.28.0" - resolved "https://registry.yarnpkg.com/rc-util/-/rc-util-5.28.0.tgz#9e5e441d5875b8bf0ba56c2f295042a28dcff580" - integrity sha512-KYDjhGodswVj29v0TRciKTqRPgumIFvFDndbCD227pitQ+0Cei196rxk+OXb/blu6V8zdTRK5RjCJn+WmHLvBA== - dependencies: - "@babel/runtime" "^7.18.3" - react-is "^16.12.0" - -rc-virtual-list@^3.2.0, rc-virtual-list@^3.4.8: - version "3.4.13" - resolved "https://registry.yarnpkg.com/rc-virtual-list/-/rc-virtual-list-3.4.13.tgz#20acc934b263abcf7b7c161f50ef82281b2f7e8d" - integrity sha512-cPOVDmcNM7rH6ANotanMDilW/55XnFPw0Jh/GQYtrzZSy3AmWvCnqVNyNC/pgg3lfVmX2994dlzAhuUrd4jG7w== - dependencies: - "@babel/runtime" "^7.20.0" - classnames "^2.2.6" - rc-resize-observer "^1.0.0" - rc-util "^5.15.0" - react-app-polyfill@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/react-app-polyfill/-/react-app-polyfill-2.0.0.tgz#a0bea50f078b8a082970a9d853dc34b6dcc6a3cf" @@ -16736,7 +16237,7 @@ react-intl@5.20.3: intl-messageformat "9.7.0" tslib "^2.1.0" -react-is@^16.12.0, react-is@^16.13.1, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.6: +react-is@^16.13.1, react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.6: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== @@ -17044,12 +16545,12 @@ rechoir@^0.6.2: dependencies: resolve "^1.1.6" -rechoir@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.7.0.tgz#32650fd52c21ab252aa5d65b19310441c7e03aca" - integrity sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q== +rechoir@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22" + integrity sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ== dependencies: - resolve "^1.9.0" + resolve "^1.20.0" recursive-readdir@2.2.2: version "2.2.2" @@ -17486,7 +16987,7 @@ resolve@1.15.1: dependencies: path-parse "^1.0.6" -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.2.0, resolve@^1.20.0, resolve@^1.9.0: +resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.2.0, resolve@^1.20.0: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -17692,12 +17193,14 @@ schema-utils@^3.0.0: ajv "^6.12.5" ajv-keywords "^3.5.2" -scroll-into-view-if-needed@^2.2.25: - version "2.2.31" - resolved "https://registry.yarnpkg.com/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz#d3c482959dc483e37962d1521254e3295d0d1587" - integrity sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA== +schema-utils@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" + integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== dependencies: - compute-scroll-into-view "^1.0.20" + "@types/json-schema" "^7.0.8" + ajv "^6.12.5" + ajv-keywords "^3.5.2" seek-bzip@^1.0.5: version "1.0.6" @@ -18124,7 +17627,7 @@ sort-keys@^2.0.0: dependencies: is-plain-obj "^1.0.0" -source-list-map@^2.0.0, source-list-map@^2.0.1: +source-list-map@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw== @@ -18397,11 +17900,6 @@ string-argv@^0.3.0: resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" integrity sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== -string-convert@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/string-convert/-/string-convert-0.2.1.tgz#6982cc3049fbb4cd85f8b24568b9d9bf39eeff97" - integrity sha512-u/1tdPl4yQnPBjnVrmdLo9gtuLvELKsAoRapekWggdiQNvvvum+jYF329d84NAa660KQw7pB2n36KrIKVoXa3A== - string-length@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -19806,7 +19304,7 @@ uuid@^3.0.1, uuid@^3.2.1, uuid@^3.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== -v8-compile-cache@^2.0.3, v8-compile-cache@^2.2.0: +v8-compile-cache@^2.0.3: version "2.3.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== @@ -19977,10 +19475,10 @@ watchpack@^1.7.4: chokidar "^3.4.1" watchpack-chokidar2 "^2.0.1" -watchpack@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce" - integrity sha512-up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA== +watchpack@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" @@ -20017,23 +19515,23 @@ webpack-bundle-analyzer@^4.4.2: sirv "^1.0.7" ws "^7.3.1" -webpack-cli@4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.7.2.tgz#a718db600de6d3906a4357e059ae584a89f4c1a5" - integrity sha512-mEoLmnmOIZQNiRl0ebnjzQ74Hk0iKS5SiEEnpq3dRezoyR3yPaeQZCMCe+db4524pj1Pd5ghZXjT41KLzIhSLw== +webpack-cli@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.0.1.tgz#95fc0495ac4065e9423a722dec9175560b6f2d9a" + integrity sha512-S3KVAyfwUqr0Mo/ur3NzIp6jnerNpo7GUO6so51mxLi1spqsA17YcMXy0WOIJtBSnj748lthxC6XLbNKh/ZC+A== dependencies: "@discoveryjs/json-ext" "^0.5.0" - "@webpack-cli/configtest" "^1.0.4" - "@webpack-cli/info" "^1.3.0" - "@webpack-cli/serve" "^1.5.1" - colorette "^1.2.1" - commander "^7.0.0" - execa "^5.0.0" + "@webpack-cli/configtest" "^2.0.1" + "@webpack-cli/info" "^2.0.1" + "@webpack-cli/serve" "^2.0.1" + colorette "^2.0.14" + commander "^9.4.1" + cross-spawn "^7.0.3" + envinfo "^7.7.3" fastest-levenshtein "^1.0.12" import-local "^3.0.2" - interpret "^2.2.0" - rechoir "^0.7.0" - v8-compile-cache "^2.2.0" + interpret "^3.1.1" + rechoir "^0.8.0" webpack-merge "^5.7.3" webpack-dev-middleware@5.0.0: @@ -20102,13 +19600,10 @@ webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack- source-list-map "^2.0.0" source-map "~0.6.1" -webpack-sources@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.3.0.tgz#9ed2de69b25143a4c18847586ad9eccb19278cfa" - integrity sha512-WyOdtwSvOML1kbgtXbTDnEW0jkJ7hZr/bDByIwszhWd/4XX1A3XMkrbFMsuH4+/MfLlZCUzlAdg4r7jaGKEIgQ== - dependencies: - source-list-map "^2.0.1" - source-map "^0.6.1" +webpack-sources@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" + integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack-virtual-modules@^0.2.0: version "0.2.2" @@ -20146,34 +19641,35 @@ webpack@^4.33.0, webpack@^4.38.0: watchpack "^1.7.4" webpack-sources "^1.4.1" -webpack@^5.40.0: - version "5.40.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.40.0.tgz#3182cfd324759d715252cf541901a226e57b5061" - integrity sha512-c7f5e/WWrxXWUzQqTBg54vBs5RgcAgpvKE4F4VegVgfo4x660ZxYUF2/hpMkZUnLjgytVTitjeXaN4IPlXCGIw== - dependencies: - "@types/eslint-scope" "^3.7.0" - "@types/estree" "^0.0.47" - "@webassemblyjs/ast" "1.11.0" - "@webassemblyjs/wasm-edit" "1.11.0" - "@webassemblyjs/wasm-parser" "1.11.0" - acorn "^8.2.1" +webpack@^5.75.0: + version "5.75.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.75.0.tgz#1e440468647b2505860e94c9ff3e44d5b582c152" + integrity sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ== + dependencies: + "@types/eslint-scope" "^3.7.3" + "@types/estree" "^0.0.51" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/wasm-edit" "1.11.1" + "@webassemblyjs/wasm-parser" "1.11.1" + acorn "^8.7.1" + acorn-import-assertions "^1.7.6" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.8.0" - es-module-lexer "^0.6.0" + enhanced-resolve "^5.10.0" + es-module-lexer "^0.9.0" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" - graceful-fs "^4.2.4" - json-parse-better-errors "^1.0.2" + graceful-fs "^4.2.9" + json-parse-even-better-errors "^2.3.1" loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" - schema-utils "^3.0.0" + schema-utils "^3.1.0" tapable "^2.1.1" terser-webpack-plugin "^5.1.3" - watchpack "^2.2.0" - webpack-sources "^2.3.0" + watchpack "^2.4.0" + webpack-sources "^3.2.3" websocket-driver@>=0.5.1: version "0.7.4" From 90fa56fdd5f0076b5a048698c45db7edb0cadbbe Mon Sep 17 00:00:00 2001 From: Amartya Raj Saha Date: Mon, 6 Mar 2023 15:37:43 +0530 Subject: [PATCH 10/15] test: add test for select --- app/containers/HomeContainer/index.tsx | 2 +- .../tests/__snapshots__/index.test.tsx.snap | 2 +- .../HomeContainer/tests/index.test.tsx | 22 ++++++++++++++++++- 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/app/containers/HomeContainer/index.tsx b/app/containers/HomeContainer/index.tsx index 98673884..e42fcb5c 100644 --- a/app/containers/HomeContainer/index.tsx +++ b/app/containers/HomeContainer/index.tsx @@ -133,9 +133,9 @@ export function HomeContainer({ dispatchLaunchList, loading, launchData, intl, l CLEAR SORT diff --git a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap index fe29bd8c..390dcb47 100644 --- a/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap +++ b/app/containers/HomeContainer/tests/__snapshots__/index.test.tsx.snap @@ -944,6 +944,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-18:focus::-ms-input-