From 9fd5d82b1db5923eef28c23325c292bbe8bfd4b1 Mon Sep 17 00:00:00 2001 From: AlvSovereign Date: Thu, 10 Dec 2020 01:00:40 +0000 Subject: [PATCH] init next app --- packages/swl-web/.gitignore | 34 + packages/swl-web/README.md | 30 + packages/swl-web/next-env.d.ts | 2 + packages/swl-web/package.json | 22 + packages/swl-web/pages/_app.tsx | 13 + packages/swl-web/pages/api/hello.js | 6 + packages/swl-web/pages/index.tsx | 16 + packages/swl-web/postcss.config.js | 6 + packages/swl-web/src/components/Hero/Hero.tsx | 52 + packages/swl-web/src/components/index.ts | 6 + .../src/components/ui/Container/Container.tsx | 21 + .../swl-web/src/components/ui/Row/Row.tsx | 90 ++ packages/swl-web/styles/globals.css | 20 + packages/swl-web/tailwind.config.js | 11 + packages/swl-web/tsconfig.json | 29 + .../web/src/components/Contact/Contact.tsx | 35 +- .../web/src/components/Content/Content.tsx | 32 +- .../components/ContentBlock/ContentBlock.tsx | 20 +- .../web/src/components/Features/Features.tsx | 162 +++ packages/web/src/components/Footer/Footer.tsx | 6 +- packages/web/src/components/Hero/Hero.tsx | 18 +- .../src/components/Navigation/Navigation.tsx | 14 +- .../src/components/Templates/IndexPage.tsx | 5 +- packages/web/src/components/Work/Work.tsx | 28 +- packages/web/src/components/index.tsx | 2 + packages/web/src/components/ui/Container.tsx | 5 +- packages/web/src/components/ui/Row.tsx | 1 - .../ui/{Typography.tsx => Text.tsx} | 18 +- packages/web/src/components/ui/index.ts | 4 +- packages/web/src/styles/tailwind.css | 1 + yarn.lock | 1107 +++++++++++++++-- 31 files changed, 1633 insertions(+), 183 deletions(-) create mode 100644 packages/swl-web/.gitignore create mode 100644 packages/swl-web/README.md create mode 100644 packages/swl-web/next-env.d.ts create mode 100644 packages/swl-web/package.json create mode 100644 packages/swl-web/pages/_app.tsx create mode 100644 packages/swl-web/pages/api/hello.js create mode 100644 packages/swl-web/pages/index.tsx create mode 100644 packages/swl-web/postcss.config.js create mode 100644 packages/swl-web/src/components/Hero/Hero.tsx create mode 100644 packages/swl-web/src/components/index.ts create mode 100644 packages/swl-web/src/components/ui/Container/Container.tsx create mode 100644 packages/swl-web/src/components/ui/Row/Row.tsx create mode 100644 packages/swl-web/styles/globals.css create mode 100644 packages/swl-web/tailwind.config.js create mode 100644 packages/swl-web/tsconfig.json create mode 100644 packages/web/src/components/Features/Features.tsx rename packages/web/src/components/ui/{Typography.tsx => Text.tsx} (81%) diff --git a/packages/swl-web/.gitignore b/packages/swl-web/.gitignore new file mode 100644 index 0000000..1437c53 --- /dev/null +++ b/packages/swl-web/.gitignore @@ -0,0 +1,34 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env.local +.env.development.local +.env.test.local +.env.production.local + +# vercel +.vercel diff --git a/packages/swl-web/README.md b/packages/swl-web/README.md new file mode 100644 index 0000000..4b5c883 --- /dev/null +++ b/packages/swl-web/README.md @@ -0,0 +1,30 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/packages/swl-web/next-env.d.ts b/packages/swl-web/next-env.d.ts new file mode 100644 index 0000000..7b7aa2c --- /dev/null +++ b/packages/swl-web/next-env.d.ts @@ -0,0 +1,2 @@ +/// +/// diff --git a/packages/swl-web/package.json b/packages/swl-web/package.json new file mode 100644 index 0000000..81ea6f2 --- /dev/null +++ b/packages/swl-web/package.json @@ -0,0 +1,22 @@ +{ + "name": "swl-web", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start" + }, + "dependencies": { + "autoprefixer": "^10.1.0", + "clsx": "^1.1.1", + "next": "10.0.3", + "postcss": "^8.2.1", + "react": "17.0.1", + "react-dom": "17.0.1", + "tailwindcss": "^2.0.1" + }, + "devDependencies": { + "typescript": "^4.1.2" + } +} diff --git a/packages/swl-web/pages/_app.tsx b/packages/swl-web/pages/_app.tsx new file mode 100644 index 0000000..620fd6b --- /dev/null +++ b/packages/swl-web/pages/_app.tsx @@ -0,0 +1,13 @@ +import '../styles/globals.css'; + +function App({ Component, pageProps }) { + return ( + <> +
+ +
+ + ); +} + +export default App; diff --git a/packages/swl-web/pages/api/hello.js b/packages/swl-web/pages/api/hello.js new file mode 100644 index 0000000..5b77ec0 --- /dev/null +++ b/packages/swl-web/pages/api/hello.js @@ -0,0 +1,6 @@ +// Next.js API route support: https://nextjs.org/docs/api-routes/introduction + +export default (req, res) => { + res.statusCode = 200 + res.json({ name: 'John Doe' }) +} diff --git a/packages/swl-web/pages/index.tsx b/packages/swl-web/pages/index.tsx new file mode 100644 index 0000000..9358307 --- /dev/null +++ b/packages/swl-web/pages/index.tsx @@ -0,0 +1,16 @@ +import Head from 'next/head'; +import { Hero } from '../src/components'; + +export default function Home() { + return ( +
+ + + Sovereign Web Limited | We help you realise your digital experiences + + + + +
+ ); +} diff --git a/packages/swl-web/postcss.config.js b/packages/swl-web/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/packages/swl-web/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/packages/swl-web/src/components/Hero/Hero.tsx b/packages/swl-web/src/components/Hero/Hero.tsx new file mode 100644 index 0000000..ba0c28f --- /dev/null +++ b/packages/swl-web/src/components/Hero/Hero.tsx @@ -0,0 +1,52 @@ +import { FC } from 'react'; +import { Row } from '../'; + +interface HeroProps {} + +const Hero: FC = ({}) => { + return ( + +
+
+
+

+ Data to enrich your + + online business + +

+

+ Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui + lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat + fugiat aliqua. +

+ +
+
+
+
+ ); +}; + +export default Hero; diff --git a/packages/swl-web/src/components/index.ts b/packages/swl-web/src/components/index.ts new file mode 100644 index 0000000..554303d --- /dev/null +++ b/packages/swl-web/src/components/index.ts @@ -0,0 +1,6 @@ +import Hero from './Hero/Hero'; + +import Container from './ui/Container/Container' +import Row from './ui/Row/Row' + +export { Container, Hero, Row } \ No newline at end of file diff --git a/packages/swl-web/src/components/ui/Container/Container.tsx b/packages/swl-web/src/components/ui/Container/Container.tsx new file mode 100644 index 0000000..099c5c3 --- /dev/null +++ b/packages/swl-web/src/components/ui/Container/Container.tsx @@ -0,0 +1,21 @@ +import { FC, ReactNode } from 'react'; +import clsx from 'clsx'; + +interface ContainerProps { + className?: string; + children: ReactNode; +} + +const Container: FC = ({ className, children }) => { + return ( +
+ {children} +
+ ); +}; + +export default Container; diff --git a/packages/swl-web/src/components/ui/Row/Row.tsx b/packages/swl-web/src/components/ui/Row/Row.tsx new file mode 100644 index 0000000..d04ca03 --- /dev/null +++ b/packages/swl-web/src/components/ui/Row/Row.tsx @@ -0,0 +1,90 @@ +import { FC, ReactNode } from 'react'; +import clsx from 'clsx'; +import { Container } from '../..'; + +export type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; +type ResponsiveProps = Pick; +type Alignment = 'center' | 'end' | 'inherit' | 'start' | ResponsiveProps; +type Justify = + | 'around' + | 'between' + | 'center' + | 'inherit' + | 'start' + | ResponsiveProps; +type Direction = 'col' | 'row' | 'row-reverse' | ResponsiveProps; + +interface RowProps { + alignItems: Alignment; + alignSelf?: Alignment; + as: any; + children: ReactNode; + className?: string; + containerClassName?: string; + direction: Direction; + id?: string; + justifyContent: Justify; + withContainer?: boolean; + wrap?: boolean; +} + +const Row: FC = ({ + alignItems, + alignSelf, + as = 'div', + children, + className, + containerClassName, + direction, + id, + justifyContent, + withContainer, + wrap, +}) => { + const Component = as; + + const createResponsiveClassName = ( + breakpoints: Direction | Alignment, + partial: string + ) => { + if (typeof breakpoints === 'object') { + const className = Object.entries(breakpoints).map( + (entry) => + `${entry[0] !== 'xs' ? `${entry[0]}:` : ''}${partial}${entry[1]}` + ); + return className; + } else { + return `${partial}${breakpoints}`; + } + }; + + return ( + + {withContainer ? ( + {children} + ) : ( + <>{children} + )} + + ); +}; + +export default Row; diff --git a/packages/swl-web/styles/globals.css b/packages/swl-web/styles/globals.css new file mode 100644 index 0000000..6138cf9 --- /dev/null +++ b/packages/swl-web/styles/globals.css @@ -0,0 +1,20 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; +} diff --git a/packages/swl-web/tailwind.config.js b/packages/swl-web/tailwind.config.js new file mode 100644 index 0000000..f627247 --- /dev/null +++ b/packages/swl-web/tailwind.config.js @@ -0,0 +1,11 @@ +module.exports = { + purge: ['./pages/**/*.tsx'], + darkMode: false, // or 'media' or 'class' + theme: { + extend: {}, + }, + variants: { + extend: {}, + }, + plugins: [], +}; diff --git a/packages/swl-web/tsconfig.json b/packages/swl-web/tsconfig.json new file mode 100644 index 0000000..7a5752e --- /dev/null +++ b/packages/swl-web/tsconfig.json @@ -0,0 +1,29 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve" + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx" + ], + "exclude": [ + "node_modules" + ] +} diff --git a/packages/web/src/components/Contact/Contact.tsx b/packages/web/src/components/Contact/Contact.tsx index 9a3e035..0ca062b 100644 --- a/packages/web/src/components/Contact/Contact.tsx +++ b/packages/web/src/components/Contact/Contact.tsx @@ -1,5 +1,5 @@ import React from "react" -import { Typography, Row } from "../ui" +import { Text, Row } from "../ui" import Email from "../../assets/icons/Email" const Contact = () => { @@ -12,31 +12,21 @@ const Contact = () => { justifyContent="start" withContainer={true} > - + {"Any ideas for collaboration?"} - - + + {"We would love to work with you."} - - + {"Let's start a conversation."} - + {
- + {"info@sovereignweb.ltd"} - +
) diff --git a/packages/web/src/components/Content/Content.tsx b/packages/web/src/components/Content/Content.tsx index 719462e..a6501de 100644 --- a/packages/web/src/components/Content/Content.tsx +++ b/packages/web/src/components/Content/Content.tsx @@ -1,7 +1,7 @@ import React from "react" import Img from "gatsby-image" -import { Container, Row, Typography } from "../ui" +import { Container, Row, Text } from "../ui" import { ImageWithMask, WorkHeroImages } from ".." import { SanityWork } from "../../types/index" import ContentBlock from "../ContentBlock/ContentBlock" @@ -44,27 +44,27 @@ const Content = ({ data }: ContentProps) => { justifyContent="center" >
- {title} - - + {subtitle} - - + { weight="light" > Visit website - +
@@ -86,23 +86,23 @@ const Content = ({ data }: ContentProps) => { justifyContent="center" withContainer={true} > - TL:DR - - + {data.tagline} - + - {"⋅"} - - + {children} - + ) }, @@ -81,15 +81,15 @@ const serializers = { } return ( - {children} - + ) }, image: ({ node }) => { diff --git a/packages/web/src/components/Features/Features.tsx b/packages/web/src/components/Features/Features.tsx new file mode 100644 index 0000000..7f78c88 --- /dev/null +++ b/packages/web/src/components/Features/Features.tsx @@ -0,0 +1,162 @@ +import React from "react" + +interface FeaturesProps {} + +const Features = ({}: FeaturesProps) => { + return ( +
+
+
+

+ Transactions +

+

+ A better way to send money +

+

+ Lorem ipsum dolor sit amet consect adipisicing elit. Possimus magnam + voluptatum cupiditate veritatis in accusamus quisquam. +

+
+ +
+
+
+
+
+ {/* */} + +
+
+
+
+ Competitive exchange rates +
+
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. + Maiores impedit perferendis suscipit eaque, iste dolor + cupiditate blanditiis ratione. +
+
+
+ +
+
+
+ {/* */} + +
+
+
+
+ No hidden fees +
+
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. + Maiores impedit perferendis suscipit eaque, iste dolor + cupiditate blanditiis ratione. +
+
+
+ +
+
+
+ {/* */} + +
+
+
+
+ Transfers are instant +
+
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. + Maiores impedit perferendis suscipit eaque, iste dolor + cupiditate blanditiis ratione. +
+
+
+ +
+
+
+ {/* */} + +
+
+
+
+ Mobile notifications +
+
+ Lorem ipsum, dolor sit amet consectetur adipisicing elit. + Maiores impedit perferendis suscipit eaque, iste dolor + cupiditate blanditiis ratione. +
+
+
+
+
+
+
+ ) +} + +export default Features diff --git a/packages/web/src/components/Footer/Footer.tsx b/packages/web/src/components/Footer/Footer.tsx index 428792a..f4e9146 100644 --- a/packages/web/src/components/Footer/Footer.tsx +++ b/packages/web/src/components/Footer/Footer.tsx @@ -1,5 +1,5 @@ import React from "react" -import { Container, Typography, Row } from "../ui" +import { Container, Text, Row } from "../ui" const Footer = () => { return ( @@ -12,9 +12,9 @@ const Footer = () => { height="auto" withContainer={true} > - + {"Sovereign Web Limited, inc 2019"} - + ) } diff --git a/packages/web/src/components/Hero/Hero.tsx b/packages/web/src/components/Hero/Hero.tsx index 9735a84..efb1a77 100644 --- a/packages/web/src/components/Hero/Hero.tsx +++ b/packages/web/src/components/Hero/Hero.tsx @@ -1,5 +1,5 @@ import React from "react" -import { Container, Row, Typography } from "../ui" +import { Container, Row, Text } from "../ui" const Hero = () => { return ( @@ -13,30 +13,28 @@ const Hero = () => {
- {"We help you realise your"} - - {"digital experiences"} - - + {"digital experiences"} +
- { "We specialise in accessible, standards based, data driven user interface development, focused on great user experience." } - +
diff --git a/packages/web/src/components/Navigation/Navigation.tsx b/packages/web/src/components/Navigation/Navigation.tsx index a21101c..e7f1700 100644 --- a/packages/web/src/components/Navigation/Navigation.tsx +++ b/packages/web/src/components/Navigation/Navigation.tsx @@ -3,7 +3,7 @@ import { Link } from "gatsby" import SwlLogo from "../../assets/icons/SwlLogo" import Logo from "../../assets/icons/Logo" -import { Typography } from "../ui" +import { Text } from "../ui" const Navigation = () => { return ( @@ -17,24 +17,24 @@ const Navigation = () => {
- Our Work - + - Contact - +
diff --git a/packages/web/src/components/Templates/IndexPage.tsx b/packages/web/src/components/Templates/IndexPage.tsx index f43f910..bb35c3e 100644 --- a/packages/web/src/components/Templates/IndexPage.tsx +++ b/packages/web/src/components/Templates/IndexPage.tsx @@ -1,7 +1,5 @@ import React from "react" -import { Link } from "gatsby" - -import { Contact, LandingLayout, Hero, Work } from ".." +import { Features, LandingLayout, Hero, Work } from ".." const IndexPage = ({ pageContext }) => { const { allWork } = pageContext @@ -9,6 +7,7 @@ const IndexPage = ({ pageContext }) => { return ( + ) diff --git a/packages/web/src/components/Work/Work.tsx b/packages/web/src/components/Work/Work.tsx index e6618be..5381dd8 100644 --- a/packages/web/src/components/Work/Work.tsx +++ b/packages/web/src/components/Work/Work.tsx @@ -2,11 +2,10 @@ import React from "react" import { Link } from "gatsby" import Img from "gatsby-image" -import { Container, Row, Typography } from "../ui" +import { Container, Row, Text } from "../ui" import { SanityWork } from "../../types" const Work = ({ data }: WorkProps) => { - console.log("data: ", data) return ( { justifyContent="start" > - Our Work - - + Amazing clients have allowed us to produce work we are proud of. - +
{data.map(({ node: work }, index: number) => ( { height="auto" justifyContent="inherit" > - + {work.title} - - + + {work.subtitle} - + { return (
{children}
diff --git a/packages/web/src/components/ui/Row.tsx b/packages/web/src/components/ui/Row.tsx index eabd123..877813a 100644 --- a/packages/web/src/components/ui/Row.tsx +++ b/packages/web/src/components/ui/Row.tsx @@ -1,6 +1,5 @@ import React, { ReactNode } from "react" import cx from "classnames" - import Container from "./Container" type Alignment = "center" | "end" | "inherit" | "start" | ResponsiveProps diff --git a/packages/web/src/components/ui/Typography.tsx b/packages/web/src/components/ui/Text.tsx similarity index 81% rename from packages/web/src/components/ui/Typography.tsx rename to packages/web/src/components/ui/Text.tsx index 7122ce7..f3e048e 100644 --- a/packages/web/src/components/ui/Typography.tsx +++ b/packages/web/src/components/ui/Text.tsx @@ -5,7 +5,7 @@ interface TypographyProps { align?: "left" | "center" | "right" children: ReactNode className?: string - component: any + as: any display?: "block" | "inline" gutterBottom?: "sm" | "md" | "lg" style?: object @@ -21,10 +21,10 @@ interface TypographyProps { rest?: any } -const Typography = ({ +const Text = ({ children, className, - component, + as = "p", display = "block", gutterBottom, align, @@ -33,12 +33,12 @@ const Typography = ({ weight, ...rest }: TypographyProps) => { - const Component = component || "p" + const Component = as return ( =0.6.0, sax@~1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" @@ -15916,6 +16673,23 @@ scheduler@^0.19.0, scheduler@^0.19.1: loose-envify "^1.1.0" object-assign "^4.1.1" +scheduler@^0.20.1: + version "0.20.1" + resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.1.tgz#da0b907e24026b01181ecbc75efdc7f27b5a000c" + integrity sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + +schema-utils@2.7.1, schema-utils@^2.6.6, schema-utils@^2.7.1: + version "2.7.1" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-2.7.1.tgz#1ca4f32d1b24c590c203b8e7a50bf0ea4cd394d7" + integrity sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg== + dependencies: + "@types/json-schema" "^7.0.5" + ajv "^6.12.4" + ajv-keywords "^3.5.2" + schema-utils@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf" @@ -16126,6 +16900,21 @@ shallowequal@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" +sharp@0.26.2: + version "0.26.2" + resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.26.2.tgz#3d5777d246ae32890afe82a783c1cbb98456a88c" + integrity sha512-bGBPCxRAvdK9bX5HokqEYma4j/Q5+w8Nrmb2/sfgQCLEUx/HblcpmOfp59obL3+knIKnOhyKmDb4tEOhvFlp6Q== + dependencies: + color "^3.1.2" + detect-libc "^1.0.3" + node-addon-api "^3.0.2" + npmlog "^4.1.2" + prebuild-install "^5.3.5" + semver "^7.3.2" + simple-get "^4.0.0" + tar-fs "^2.1.0" + tunnel-agent "^0.6.0" + sharp@^0.25.1: version "0.25.4" resolved "https://registry.yarnpkg.com/sharp/-/sharp-0.25.4.tgz#1a8e542144a07ab7e9316ab89de80182b827c363" @@ -16169,6 +16958,11 @@ shell-quote@1.6.1: array-reduce "~0.0.0" jsonify "~0.0.0" +shell-quote@1.7.2: + version "1.7.2" + resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.2.tgz#67a7d02c76c9da24f99d20808fcaded0e0e04be2" + integrity sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg== + side-channel@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.2.tgz#df5d1abadb4e4bf4af1cd8852bf132d2f7876947" @@ -16421,7 +17215,7 @@ 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" -source-map-resolve@^0.5.0: +source-map-resolve@^0.5.0, source-map-resolve@^0.5.2: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" dependencies: @@ -16442,18 +17236,25 @@ source-map-url@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" +source-map@0.6.1, source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + source-map@0.7.3, source-map@^0.7.3: version "0.7.3" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" +source-map@0.8.0-beta.0: + version "0.8.0-beta.0" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.8.0-beta.0.tgz#d4c1bb42c3f7ee925f005927ba10709e0d1d1f11" + integrity sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA== + dependencies: + whatwg-url "^7.0.0" + source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" -source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" - sourcemap-codec@^1.4.4: version "1.4.8" resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" @@ -16607,6 +17408,13 @@ stackframe@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.2.0.tgz#52429492d63c62eb989804c11552e3d22e779303" +stacktrace-parser@0.1.10: + version "0.1.10" + resolved "https://registry.yarnpkg.com/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz#29fb0cae4e0d0b85155879402857a1639eb6051a" + integrity sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg== + dependencies: + type-fest "^0.7.1" + state-toggle@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.3.tgz#e123b16a88e143139b09c6852221bc9815917dfe" @@ -16626,6 +17434,14 @@ stealthy-require@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b" +stream-browserify@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" + integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== + dependencies: + inherits "~2.0.4" + readable-stream "^3.5.0" + stream-browserify@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b" @@ -16668,6 +17484,11 @@ strict-uri-encode@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" +string-hash@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/string-hash/-/string-hash-1.1.3.tgz#e8aafc0ac1855b4666929ed7dd1275df5d6c811b" + integrity sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs= + string-length@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/string-length/-/string-length-3.1.0.tgz#107ef8c23456e187a8abd4a61162ff4ac6e25837" @@ -16781,6 +17602,12 @@ strip-ansi@3.0.1, strip-ansi@^3, strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" +strip-ansi@6.0.0, strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + dependencies: + ansi-regex "^5.0.0" + strip-ansi@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" @@ -16793,12 +17620,6 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" - dependencies: - ansi-regex "^5.0.0" - strip-bom@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" @@ -16872,6 +17693,14 @@ strong-log-transformer@^2.0.0: minimist "^1.2.0" through "^2.3.4" +style-loader@1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.2.1.tgz#c5cbbfbf1170d076cfdd86e0109c5bba114baa1a" + integrity sha512-ByHSTQvHLkWE9Ir5+lGbVOXhxX10fbprhLvdg96wedFZb4NDekDPxVKv5Fwmio+QcMlkkNfuK+5W1peQ5CUhZg== + dependencies: + loader-utils "^2.0.0" + schema-utils "^2.6.6" + style-loader@^0.20.1: version "0.20.3" resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.20.3.tgz#ebef06b89dec491bcb1fdb3452e913a6fd1c10c4" @@ -16920,6 +17749,20 @@ styled-components@^5.0.0: shallowequal "^1.1.0" supports-color "^5.5.0" +styled-jsx@3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.3.2.tgz#2474601a26670a6049fb4d3f94bd91695b3ce018" + integrity sha512-daAkGd5mqhbBhLd6jYAjYBa9LpxYCzsgo/f6qzPdFxVB8yoGbhxvzQgkC0pfmCVvW3JuAEBn0UzFLBfkHVZG1g== + dependencies: + "@babel/types" "7.8.3" + babel-plugin-syntax-jsx "6.18.0" + convert-source-map "1.7.0" + loader-utils "1.2.3" + source-map "0.7.3" + string-hash "1.1.3" + stylis "3.5.4" + stylis-rule-sheet "0.0.10" + stylefire@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/stylefire/-/stylefire-7.0.3.tgz#9120ecbb084111788e0ddaa04074799750f20d1d" @@ -16938,6 +17781,16 @@ stylehacks@^4.0.0: postcss "^7.0.0" postcss-selector-parser "^3.0.0" +stylis-rule-sheet@0.0.10: + version "0.0.10" + resolved "https://registry.yarnpkg.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430" + integrity sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw== + +stylis@3.5.4: + version "3.5.4" + resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe" + integrity sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q== + subscriptions-transport-ws@0.9.16, subscriptions-transport-ws@^0.9.16: version "0.9.16" resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.16.tgz#90a422f0771d9c32069294c08608af2d47f596ec" @@ -17088,6 +17941,16 @@ tar-fs@^2.0.0: pump "^3.0.0" tar-stream "^2.0.0" +tar-fs@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784" + integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng== + dependencies: + chownr "^1.1.1" + mkdirp-classic "^0.5.2" + pump "^3.0.0" + tar-stream "^2.1.4" + tar-stream@^1.1.2, tar-stream@^1.5.2: version "1.6.2" resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.6.2.tgz#8ea55dab37972253d9a9af90fdcd559ae435c555" @@ -17212,6 +18075,15 @@ terser@4.6.7: source-map "~0.6.1" source-map-support "~0.5.12" +terser@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.1.0.tgz#1f4ab81c8619654fdded51f3157b001e1747281d" + integrity sha512-pwC1Jbzahz1ZPU87NQ8B3g5pKbhyJSiHih4gLH6WZiPU8mmS1IlGbB0A2Nuvkj/LCNsgIKctg6GkYwWCeTvXZQ== + dependencies: + commander "^2.20.0" + source-map "~0.6.1" + source-map-support "~0.5.12" + terser@^4.1.2: version "4.8.0" resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17" @@ -17368,6 +18240,11 @@ tr46@^1.0.1: dependencies: punycode "^2.1.0" +traverse@0.6.6: + version "0.6.6" + resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" + integrity sha1-y99WD9e5r2MlAv7UD5GMFX6pcTc= + trim-lines@^1.0.0: version "1.1.3" resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-1.1.3.tgz#839514be82428fd9e7ec89e35081afe8f6f93115" @@ -17483,6 +18360,11 @@ type-fest@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" +type-fest@^0.7.1: + version "0.7.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.7.1.tgz#8dda65feaf03ed78f0a3f9678f1869147f7c5c48" + integrity sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg== + type-fest@^0.8.0, type-fest@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" @@ -17524,6 +18406,11 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" +typescript@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.2.tgz#6369ef22516fe5e10304aae5a5c4862db55380e9" + integrity sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ== + ua-parser-js@^0.7.18: version "0.7.21" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777" @@ -17872,6 +18759,13 @@ use-onclickoutside@^0.3.1: are-passive-events-supported "^1.1.0" use-latest "^1.0.0" +use-subscription@1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/use-subscription/-/use-subscription-1.5.1.tgz#73501107f02fad84c6dd57965beb0b75c68c42d1" + integrity sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA== + dependencies: + object-assign "^4.1.1" + use@^3.1.0: version "3.1.1" resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" @@ -18008,7 +18902,7 @@ viewport-dimensions@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/viewport-dimensions/-/viewport-dimensions-0.2.0.tgz#de740747db5387fd1725f5175e91bac76afdf36c" -vm-browserify@^1.0.1: +vm-browserify@1.1.2, vm-browserify@^1.0.1: version "1.1.2" resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-1.1.2.tgz#78641c488b8e6ca91a75f511e7a3b32a86e5dda0" @@ -18043,6 +18937,21 @@ watchpack-chokidar2@^2.0.0: dependencies: chokidar "^2.1.8" +watchpack-chokidar2@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz#38500072ee6ece66f3769936950ea1771be1c957" + integrity sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww== + dependencies: + chokidar "^2.1.8" + +watchpack@2.0.0-beta.13: + version "2.0.0-beta.13" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.0.0-beta.13.tgz#9d9b0c094b8402139333e04eb6194643c8384f55" + integrity sha512-ZEFq2mx/k5qgQwgi6NOm+2ImICb8ngAkA/rZ6oyXZ7SgPn3pncf+nfhYTCrs3lmHwOxnPtGLTOuFLfpSMh1VMA== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + watchpack@^1.4.0, watchpack@^1.6.1: version "1.7.2" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.2.tgz#c02e4d4d49913c3e7e122c3325365af9d331e9aa" @@ -18053,6 +18962,17 @@ watchpack@^1.4.0, watchpack@^1.6.1: chokidar "^3.4.0" watchpack-chokidar2 "^2.0.0" +watchpack@^1.7.4: + version "1.7.5" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453" + integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ== + dependencies: + graceful-fs "^4.1.2" + neo-async "^2.5.0" + optionalDependencies: + chokidar "^3.4.1" + watchpack-chokidar2 "^2.0.1" + wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3" resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" @@ -18164,7 +19084,7 @@ webpack-merge@^4.2.2: dependencies: lodash "^4.17.15" -webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1: +webpack-sources@1.4.3, webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1: version "1.4.3" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933" dependencies: @@ -18175,6 +19095,35 @@ webpack-stats-plugin@^0.3.1: version "0.3.2" resolved "https://registry.yarnpkg.com/webpack-stats-plugin/-/webpack-stats-plugin-0.3.2.tgz#c06b185aa5dcc93b3f0c3a7891d24a111f849740" +webpack@4.44.1: + version "4.44.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.44.1.tgz#17e69fff9f321b8f117d1fda714edfc0b939cc21" + integrity sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ== + dependencies: + "@webassemblyjs/ast" "1.9.0" + "@webassemblyjs/helper-module-context" "1.9.0" + "@webassemblyjs/wasm-edit" "1.9.0" + "@webassemblyjs/wasm-parser" "1.9.0" + acorn "^6.4.1" + ajv "^6.10.2" + ajv-keywords "^3.4.1" + chrome-trace-event "^1.0.2" + enhanced-resolve "^4.3.0" + eslint-scope "^4.0.3" + json-parse-better-errors "^1.0.2" + loader-runner "^2.4.0" + loader-utils "^1.2.3" + memory-fs "^0.4.1" + micromatch "^3.1.10" + mkdirp "^0.5.3" + neo-async "^2.6.1" + node-libs-browser "^2.2.1" + schema-utils "^1.0.0" + tapable "^1.1.3" + terser-webpack-plugin "^1.4.3" + watchpack "^1.7.4" + webpack-sources "^1.4.1" + webpack@^3.8.1: version "3.12.0" resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.12.0.tgz#3f9e34360370602fcf639e97939db486f4ec0d74"