From 7ca160955f8df332499d066e3486d97a4f9d223b Mon Sep 17 00:00:00 2001 From: Antonette Caldwell Date: Fri, 17 Nov 2023 18:41:26 -0600 Subject: [PATCH 1/8] build(repo): setup eslint in root, and update github actions lint workflow fix #361 fix Signed-off-by: Antonette Caldwell --- .eslintignore | 4 +- .eslintrc.js | 20 + .github/workflows/lint.yml | 45 +- .gitignore | 1 + apps/next-12/.eslintrc.json | 3 - .../next-12/components/DefaultModal/index.jsx | 111 +- apps/next-12/components/ModeToggleButton.jsx | 4 +- .../ResponsiveDataTable.jsx | 13 +- .../components/ResponsiveDataTable/index.jsx | 2 +- .../next-12/components/SistentModal/index.jsx | 6 +- apps/next-12/components/index.jsx | 2 +- .../lib/providers/AppThemeProvider.jsx | 72 +- apps/next-12/lib/providers/ReduxProvider.jsx | 10 +- apps/next-12/lib/redux/store.js | 12 +- apps/next-12/lib/redux/theme/themeSlice.js | 22 +- apps/next-12/next.config.js | 6 +- apps/next-12/package.json | 3 +- apps/next-12/pages/_app.js | 6 +- apps/next-12/pages/_document.js | 4 +- apps/next-12/pages/api/hello.js | 2 +- apps/next-12/pages/index.js | 24 +- apps/next-12/styles/createEmotionCache.js | 2 +- apps/next-12/styles/themes/theme.js | 48 +- apps/next-12/yarn.lock | 1526 +---------------- commitlint.config.js | 2 +- package.json | 47 +- packages/eslint-config-sistent/base.config.js | 156 +- packages/eslint-config-sistent/components.js | 59 +- packages/eslint-config-sistent/index.js | 4 +- packages/eslint-config-sistent/next-config.js | 20 +- .../eslint-config-sistent/overrides.config.js | 23 +- .../eslint-config-sistent/storybook.config.js | 14 +- packages/svg/jest.config.js | 20 +- site/gatsby-browser.js | 9 +- site/gatsby-config.js | 8 +- site/postcss.config.js | 6 +- site/src/components/Dropdown/index.js | 58 +- site/src/components/Footer/index.js | 133 +- site/src/components/Navigation/index.js | 69 +- site/src/components/Sidebar/index.js | 467 +++-- site/src/components/Theme/index.js | 10 +- site/src/pages/404.js | 47 +- site/src/pages/components/index.js | 6 +- site/src/pages/home/index.js | 12 +- site/src/pages/identity/Content.js | 14 +- site/src/pages/identity/Heading.js | 16 +- site/src/pages/identity/Navigation.js | 40 +- site/src/pages/identity/Next.js | 37 +- site/src/pages/identity/Previous.js | 37 +- site/src/pages/identity/Sidebar.js | 41 +- site/src/pages/identity/SubContent.js | 26 +- site/src/pages/identity/SubHeading.js | 16 +- site/src/pages/identity/SubText.js | 23 +- site/src/pages/identity/Text.js | 19 +- site/src/pages/identity/colors/code.js | 56 +- site/src/pages/identity/colors/guidance.js | 96 +- site/src/pages/identity/colors/index.js | 31 +- site/src/pages/identity/colors/overview.js | 203 +-- site/src/pages/identity/elevation/index.js | 12 +- site/src/pages/identity/page-layouts/index.js | 12 +- site/src/pages/identity/spacing/index.js | 12 +- site/src/pages/identity/typography/code.js | 51 +- .../src/pages/identity/typography/guidance.js | 116 +- site/src/pages/identity/typography/index.js | 33 +- .../src/pages/identity/typography/overview.js | 133 +- site/src/pages/index.js | 49 +- site/src/pages/patterns/index.js | 8 +- site/src/pages/visualise/index.js | 8 +- site/tailwind.config.js | 21 +- yarn.lock | 1085 +++++++++++- 70 files changed, 2538 insertions(+), 2775 deletions(-) create mode 100644 .eslintrc.js delete mode 100644 apps/next-12/.eslintrc.json diff --git a/.eslintignore b/.eslintignore index f16fd853..b220eea6 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,4 +4,6 @@ vite.config.ts node_modules dist storybook-static -*.md \ No newline at end of file +*.md +site +apps/next-12 \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 00000000..4647186f --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,20 @@ +module.exports = { + root: true, + env: { + browser: true, + es6: true + }, + extends: ['semistandard', 'eslint:recommended'], + plugins: ['react'], + parser: '@babel/eslint-parser', + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + requireConfigFile: false + }, + settings: { + react: { + version: 'detect' + } + } +}; diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 93cc867d..b8eddd75 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,28 +1,31 @@ name: Linting and formatting on: - push: - branches: - - "*" - pull_request: - branches: - - "*" + push: + branches: + - '*' + pull_request: + branches: + - '*' jobs: - lint: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 + lint: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [16, 18, 20] - - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Install dependencies - run: yarn install + steps: + - name: Checkout code + uses: actions/checkout@v4 - - name: Run Lint - run: yarn lint && yarn format:check && yarn lint-staged + - name: Set up Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + + - name: Install dependencies + run: yarn install + + - name: Run Lint + run: yarn lint && yarn format:check && yarn lint-staged diff --git a/.gitignore b/.gitignore index ab201aec..259e161f 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ dist/** **/storybook-static/** lerna-debug.log pub.sh +.eslintcache \ No newline at end of file diff --git a/apps/next-12/.eslintrc.json b/apps/next-12/.eslintrc.json deleted file mode 100644 index bffb357a..00000000 --- a/apps/next-12/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next/core-web-vitals" -} diff --git a/apps/next-12/components/DefaultModal/index.jsx b/apps/next-12/components/DefaultModal/index.jsx index ebc12306..ce37b606 100644 --- a/apps/next-12/components/DefaultModal/index.jsx +++ b/apps/next-12/components/DefaultModal/index.jsx @@ -1,57 +1,56 @@ import { - Button, - Dialog, - DialogActions, - DialogContent, - DialogTitle, - IconButton, - Typography - } from '@layer5/sistent-components'; - import { CloseIcon } from '@layer5/sistent-svg'; - import React from 'react'; - - export default function DefaultModal() { - const [open, setOpen] = React.useState(false); - - const handleClickOpen = () => { - setOpen(true); - }; - const handleClose = () => { - setOpen(false); - }; - - return ( - - - - Modal Title - - - - - - Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis - in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. - - - Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis - lacus vel augue laoreet rutrum faucibus dolor auctor. - - - Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel - scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus - auctor fringilla. - - - - - - - - ); - } - \ No newline at end of file + Button, + Dialog, + DialogActions, + DialogContent, + DialogTitle, + IconButton, + Typography +} from '@layer5/sistent-components'; +import { CloseIcon } from '@layer5/sistent-svg'; +import React from 'react'; + +export default function DefaultModal() { + const [open, setOpen] = React.useState(false); + + const handleClickOpen = () => { + setOpen(true); + }; + const handleClose = () => { + setOpen(false); + }; + + return ( + + + + Modal Title + + + + + + Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis + in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. + + + Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis + lacus vel augue laoreet rutrum faucibus dolor auctor. + + + Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel + scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus + auctor fringilla. + + + + + + + + ); +} diff --git a/apps/next-12/components/ModeToggleButton.jsx b/apps/next-12/components/ModeToggleButton.jsx index f8013102..d1bfcc28 100644 --- a/apps/next-12/components/ModeToggleButton.jsx +++ b/apps/next-12/components/ModeToggleButton.jsx @@ -1,6 +1,6 @@ +import { toggleTheme } from '@/lib/redux/theme/themeSlice'; import { IconButton } from '@mui/material'; import { useDispatch, useSelector } from 'react-redux'; -import { toggleTheme } from '@/lib/redux/theme/themeSlice'; import DarkModeIcon from '@mui/icons-material/DarkMode'; import LightModeIcon from '@mui/icons-material/LightMode'; @@ -17,7 +17,7 @@ function ModeToggleButton() { const dispatch = useDispatch(); // Initialize the useDispatch function // Use useSelector to get the darkTheme state from your Redux store - const mode = useSelector((state) => state.theme.darkTheme ? 'dark' : 'light'); + const mode = useSelector((state) => (state.theme.darkTheme ? 'dark' : 'light')); const toggleMode = () => { // Dispatch the toggleTheme action when the button is clicked diff --git a/apps/next-12/components/ResponsiveDataTable/ResponsiveDataTable.jsx b/apps/next-12/components/ResponsiveDataTable/ResponsiveDataTable.jsx index 04cbb3ba..e5e5d66b 100644 --- a/apps/next-12/components/ResponsiveDataTable/ResponsiveDataTable.jsx +++ b/apps/next-12/components/ResponsiveDataTable/ResponsiveDataTable.jsx @@ -1,12 +1,7 @@ import MUIDataTable from 'mui-datatables'; import { useEffect, useState } from 'react'; -export function ResponsiveDataTable({ - data, - columns, - options = {}, - ...props -}) { +export function ResponsiveDataTable({ data, columns, options = {}, ...props }) { const [tableCols, updateCols] = useState(columns); const [columnVisibility, ,] = useState({}); @@ -15,7 +10,7 @@ export function ResponsiveDataTable({ weekday: 'short', day: 'numeric', month: 'long', - year: 'numeric', + year: 'numeric' }; return new Intl.DateTimeFormat('un-US', dateOptions).format(date); @@ -42,7 +37,7 @@ export function ResponsiveDataTable({ break; } } - }, + } }; useEffect(() => { @@ -81,7 +76,7 @@ export function ResponsiveDataTable({ }, [columnVisibility]); const components = { - ExpandButton: () => '', + ExpandButton: () => '' }; return ( diff --git a/apps/next-12/components/ResponsiveDataTable/index.jsx b/apps/next-12/components/ResponsiveDataTable/index.jsx index f5131f60..5768cd60 100644 --- a/apps/next-12/components/ResponsiveDataTable/index.jsx +++ b/apps/next-12/components/ResponsiveDataTable/index.jsx @@ -1 +1 @@ -export { ResponsiveDataTable } from "./ResponsiveDataTable"; \ No newline at end of file +export { ResponsiveDataTable } from './ResponsiveDataTable'; diff --git a/apps/next-12/components/SistentModal/index.jsx b/apps/next-12/components/SistentModal/index.jsx index 34b2bd92..1d63c4be 100644 --- a/apps/next-12/components/SistentModal/index.jsx +++ b/apps/next-12/components/SistentModal/index.jsx @@ -17,7 +17,9 @@ export default function SistentModal() { }; return ( - + ); -} \ No newline at end of file +} diff --git a/apps/next-12/components/index.jsx b/apps/next-12/components/index.jsx index dee1aaa3..fc849388 100644 --- a/apps/next-12/components/index.jsx +++ b/apps/next-12/components/index.jsx @@ -1 +1 @@ -export * from './ResponsiveDataTable'; \ No newline at end of file +export * from './ResponsiveDataTable'; diff --git a/apps/next-12/lib/providers/AppThemeProvider.jsx b/apps/next-12/lib/providers/AppThemeProvider.jsx index e9a15925..63bd6746 100644 --- a/apps/next-12/lib/providers/AppThemeProvider.jsx +++ b/apps/next-12/lib/providers/AppThemeProvider.jsx @@ -1,45 +1,45 @@ -import { useSelector, useDispatch } from "react-redux"; -import createEmotionCache from "@/styles/createEmotionCache"; +import createEmotionCache from '@/styles/createEmotionCache'; +import { darkTheme, lightTheme } from '@/styles/themes/theme'; import { CacheProvider } from '@emotion/react'; import { CssBaseline, ThemeProvider, createTheme } from '@mui/material'; -import { darkTheme, lightTheme } from "@/styles/themes/theme"; -import { useMemo } from "react"; +import { useMemo } from 'react'; +import { useSelector } from 'react-redux'; const clientSideEmotionCache = createEmotionCache(); export function AppThemeProvider({ children, emotionCache = clientSideEmotionCache }) { - // const dispatch = useDispatch(); + // const dispatch = useDispatch(); - const mode = useSelector((state) => state.theme.darkTheme ? "dark" : "light") + const mode = useSelector((state) => (state.theme.darkTheme ? 'dark' : 'light')); - const theme = useMemo( - () => - createTheme({ - palette: { - mode, - primary: { - ...(mode === 'light' ? lightTheme.palette.primary : darkTheme.palette.primary), - }, - secondary: { - main: '#EE5351', - }, - background: { - ...(mode === 'light' ? lightTheme.palette.background : darkTheme.palette.background), - }, - text: { - ...(mode === 'light' ? lightTheme.palette.text : darkTheme.palette.text), - }, - }, - }), - [mode], - ); + const theme = useMemo( + () => + createTheme({ + palette: { + mode, + primary: { + ...(mode === 'light' ? lightTheme.palette.primary : darkTheme.palette.primary) + }, + secondary: { + main: '#EE5351' + }, + background: { + ...(mode === 'light' ? lightTheme.palette.background : darkTheme.palette.background) + }, + text: { + ...(mode === 'light' ? lightTheme.palette.text : darkTheme.palette.text) + } + } + }), + [mode] + ); - return ( - - - - {children} - - - ); -} \ No newline at end of file + return ( + + + + {children} + + + ); +} diff --git a/apps/next-12/lib/providers/ReduxProvider.jsx b/apps/next-12/lib/providers/ReduxProvider.jsx index 24f794df..4c87ff88 100644 --- a/apps/next-12/lib/providers/ReduxProvider.jsx +++ b/apps/next-12/lib/providers/ReduxProvider.jsx @@ -1,8 +1,6 @@ -import { Provider } from "react-redux"; -import store from "../redux/store"; +import { Provider } from 'react-redux'; +import store from '../redux/store'; export function ReduxProvider({ children }) { - return ( - {children} - ) -} \ No newline at end of file + return {children}; +} diff --git a/apps/next-12/lib/redux/store.js b/apps/next-12/lib/redux/store.js index 28771503..a90e4924 100644 --- a/apps/next-12/lib/redux/store.js +++ b/apps/next-12/lib/redux/store.js @@ -1,8 +1,8 @@ -import { configureStore } from "@reduxjs/toolkit"; -import theme from "./theme/themeSlice"; +import { configureStore } from '@reduxjs/toolkit'; +import theme from './theme/themeSlice'; export default configureStore({ - reducer: { - theme, - }, -}); \ No newline at end of file + reducer: { + theme + } +}); diff --git a/apps/next-12/lib/redux/theme/themeSlice.js b/apps/next-12/lib/redux/theme/themeSlice.js index 6edfc1bb..ddb0c17d 100644 --- a/apps/next-12/lib/redux/theme/themeSlice.js +++ b/apps/next-12/lib/redux/theme/themeSlice.js @@ -1,17 +1,17 @@ -import { createSlice } from "@reduxjs/toolkit"; +import { createSlice } from '@reduxjs/toolkit'; export const themeSlice = createSlice({ - name: "theme", - initialState: { - darkTheme: false, - }, - reducers: { - toggleTheme: (state) => { - state.darkTheme = !state.darkTheme; - }, - }, + name: 'theme', + initialState: { + darkTheme: false + }, + reducers: { + toggleTheme: (state) => { + state.darkTheme = !state.darkTheme; + } + } }); export const { toggleTheme } = themeSlice.actions; -export default themeSlice.reducer; \ No newline at end of file +export default themeSlice.reducer; diff --git a/apps/next-12/next.config.js b/apps/next-12/next.config.js index a843cbee..6d32668b 100644 --- a/apps/next-12/next.config.js +++ b/apps/next-12/next.config.js @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - reactStrictMode: true, -} + reactStrictMode: true +}; -module.exports = nextConfig +module.exports = nextConfig; diff --git a/apps/next-12/package.json b/apps/next-12/package.json index 65c219d7..1b58a626 100644 --- a/apps/next-12/package.json +++ b/apps/next-12/package.json @@ -24,8 +24,7 @@ "react-redux": "^8.1.3" }, "devDependencies": { - "eslint": "^8", - "eslint-config-next": "12" + "eslint": "^8" }, "installConfig": { "hoistingLimits": "workspaces" diff --git a/apps/next-12/pages/_app.js b/apps/next-12/pages/_app.js index 305a0b52..68ae8c08 100644 --- a/apps/next-12/pages/_app.js +++ b/apps/next-12/pages/_app.js @@ -1,5 +1,5 @@ -import { AppThemeProvider } from '@/lib/providers/AppThemeProvider' -import { ReduxProvider } from '@/lib/providers/ReduxProvider' +import { AppThemeProvider } from '@/lib/providers/AppThemeProvider'; +import { ReduxProvider } from '@/lib/providers/ReduxProvider'; export default function App({ Component, pageProps }) { return ( @@ -8,5 +8,5 @@ export default function App({ Component, pageProps }) { - ) + ); } diff --git a/apps/next-12/pages/_document.js b/apps/next-12/pages/_document.js index 54e8bf3e..af2f1aba 100644 --- a/apps/next-12/pages/_document.js +++ b/apps/next-12/pages/_document.js @@ -1,4 +1,4 @@ -import { Html, Head, Main, NextScript } from 'next/document' +import { Head, Html, Main, NextScript } from 'next/document'; export default function Document() { return ( @@ -9,5 +9,5 @@ export default function Document() { - ) + ); } diff --git a/apps/next-12/pages/api/hello.js b/apps/next-12/pages/api/hello.js index df63de88..d49a2572 100644 --- a/apps/next-12/pages/api/hello.js +++ b/apps/next-12/pages/api/hello.js @@ -1,5 +1,5 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction export default function handler(req, res) { - res.status(200).json({ name: 'John Doe' }) + res.status(200).json({ name: 'John Doe' }); } diff --git a/apps/next-12/pages/index.js b/apps/next-12/pages/index.js index d0fa5e41..5db13948 100644 --- a/apps/next-12/pages/index.js +++ b/apps/next-12/pages/index.js @@ -1,30 +1,30 @@ -import ModeToggleButton from "@/components/ModeToggleButton"; -import { ResponsiveDataTable } from "@layer5/sistent-components"; -import React from "react"; +import ModeToggleButton from '@/components/ModeToggleButton'; +import { ResponsiveDataTable } from '@layer5/sistent-components'; +import React from 'react'; export default function Home() { - const columns = ["Name", "Company", "City", "State"]; + const columns = ['Name', 'Company', 'City', 'State']; const data = [ - ["Joe James", "Test Corp", "Yonkers", "NY"], - ["John Walsh", "Test Corp", "Hartford", "CT"], - ["Bob Herm", "Test Corp", "Tampa", "FL"], - ["James Houston", "Test Corp", "Dallas", "TX"], + ['Joe James', 'Test Corp', 'Yonkers', 'NY'], + ['John Walsh', 'Test Corp', 'Hartford', 'CT'], + ['Bob Herm', 'Test Corp', 'Tampa', 'FL'], + ['James Houston', 'Test Corp', 'Dallas', 'TX'] ]; const options = { - filterType: 'checkbox', + filterType: 'checkbox' }; return ( - ) -} \ No newline at end of file + ); +} diff --git a/apps/next-12/styles/createEmotionCache.js b/apps/next-12/styles/createEmotionCache.js index bf9c736f..a1f11107 100644 --- a/apps/next-12/styles/createEmotionCache.js +++ b/apps/next-12/styles/createEmotionCache.js @@ -14,4 +14,4 @@ export default function createEmotionCache() { } return createCache({ key: 'mui-style', insertionPoint }); -} \ No newline at end of file +} diff --git a/apps/next-12/styles/themes/theme.js b/apps/next-12/styles/themes/theme.js index 792ed413..1ae82882 100644 --- a/apps/next-12/styles/themes/theme.js +++ b/apps/next-12/styles/themes/theme.js @@ -4,15 +4,15 @@ import { blueGrey } from '@mui/material/colors'; const createCustomTheme = (paletteType) => { const commonPalette = { primary: { - main: "#477E96", + main: '#477E96' }, secondary: { - main: '#00D3A9', + main: '#00D3A9' }, neutral: { main: '#64748B', - contrastText: '#FFF', - }, + contrastText: '#FFF' + } }; const palette = @@ -21,15 +21,15 @@ const createCustomTheme = (paletteType) => { mode: 'dark', ...commonPalette, secondary: { - ...commonPalette.secondary, - }, + ...commonPalette.secondary + } } : { mode: 'light', ...commonPalette, secondary: { - ...commonPalette.secondary, - }, + ...commonPalette.secondary + } }; const theme = createTheme({ @@ -38,8 +38,8 @@ const createCustomTheme = (paletteType) => { h5: { fontWeight: 'bolder', fontSize: 26, - letterSpacing: 0.5, - }, + letterSpacing: 0.5 + } }, shape: { borderRadius: 8 }, breakpoints: { @@ -48,21 +48,21 @@ const createCustomTheme = (paletteType) => { sm: 600, md: 960, lg: 1280, - xl: 1920, - }, + xl: 1920 + } }, components: { MuiAppBar: { styleOverrides: { colorPrimary: { - backgroundColor: blueGrey[500], + backgroundColor: blueGrey[500] }, colorSecondary: { - backgroundColor: blueGrey[600], - }, - }, - }, - }, + backgroundColor: blueGrey[600] + } + } + } + } }); const overrides = { @@ -75,16 +75,16 @@ const createCustomTheme = (paletteType) => { '@global': { body: { backgroundColor: paletteType === 'dark' ? '#303030' : '#eaeff1', - color: paletteType === 'dark' ? '#000000' : '#FFFFFF', + color: paletteType === 'dark' ? '#000000' : '#FFFFFF' }, h5: { - color: paletteType === 'dark' ? '#000000' : '#FFFFFF', + color: paletteType === 'dark' ? '#000000' : '#FFFFFF' }, p: { - color: paletteType === 'dark' ? '#000000' : '#FFFFFF', - }, - }, - }, + color: paletteType === 'dark' ? '#000000' : '#FFFFFF' + } + } + } }; return theme; diff --git a/apps/next-12/yarn.lock b/apps/next-12/yarn.lock index c51a9d72..12087634 100644 --- a/apps/next-12/yarn.lock +++ b/apps/next-12/yarn.lock @@ -578,15 +578,6 @@ __metadata: languageName: node linkType: hard -"@next/eslint-plugin-next@npm:12.3.4": - version: 12.3.4 - resolution: "@next/eslint-plugin-next@npm:12.3.4" - dependencies: - glob: 7.1.7 - checksum: e4ae97062f3efe8f70904cf0da296ab501a2924423273352d01b18d8ffff1eb2e9a65c47dd6f9cfa0d696eada272486a3f519b2786918d0a9ab735b93f5ce4b3 - languageName: node - linkType: hard - "@next/swc-android-arm-eabi@npm:12.3.4": version: 12.3.4 resolution: "@next/swc-android-arm-eabi@npm:12.3.4" @@ -688,14 +679,14 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": +"@nodelib/fs.stat@npm:2.0.5": version: 2.0.5 resolution: "@nodelib/fs.stat@npm:2.0.5" checksum: 012480b5ca9d97bff9261571dbbec7bbc6033f69cc92908bc1ecfad0792361a5a1994bc48674b9ef76419d056a03efadfce5a6cf6dbc0a36559571a7a483f6f0 languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.8": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -753,13 +744,6 @@ __metadata: languageName: node linkType: hard -"@rushstack/eslint-patch@npm:^1.1.3": - version: 1.5.1 - resolution: "@rushstack/eslint-patch@npm:1.5.1" - checksum: e4c25322312dbaa29e835a7ab4fbac53c8731dd0da65e46646e38945e296429e7fb91c2ef3da5af5d5938d44b0cde1d5290438ebb3dcb015e02b80b5e2530d24 - languageName: node - linkType: hard - "@swc/helpers@npm:0.4.11": version: 0.4.11 resolution: "@swc/helpers@npm:0.4.11" @@ -779,13 +763,6 @@ __metadata: languageName: node linkType: hard -"@types/json5@npm:^0.0.29": - version: 0.0.29 - resolution: "@types/json5@npm:0.0.29" - checksum: e60b153664572116dfea673c5bda7778dbff150498f44f998e34b5886d8afc47f16799280e4b6e241c0472aef1bc36add771c569c68fc5125fc2ae519a3eb9ac - languageName: node - linkType: hard - "@types/parse-json@npm:^4.0.0": version: 4.0.2 resolution: "@types/parse-json@npm:4.0.2" @@ -834,68 +811,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.21.0": - version: 5.62.0 - resolution: "@typescript-eslint/parser@npm:5.62.0" - dependencies: - "@typescript-eslint/scope-manager": 5.62.0 - "@typescript-eslint/types": 5.62.0 - "@typescript-eslint/typescript-estree": 5.62.0 - debug: ^4.3.4 - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: d168f4c7f21a7a63f47002e2d319bcbb6173597af5c60c1cf2de046b46c76b4930a093619e69faf2d30214c29ab27b54dcf1efc7046a6a6bd6f37f59a990e752 - languageName: node - linkType: hard - -"@typescript-eslint/scope-manager@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/scope-manager@npm:5.62.0" - dependencies: - "@typescript-eslint/types": 5.62.0 - "@typescript-eslint/visitor-keys": 5.62.0 - checksum: 6062d6b797fe1ce4d275bb0d17204c827494af59b5eaf09d8a78cdd39dadddb31074dded4297aaf5d0f839016d601032857698b0e4516c86a41207de606e9573 - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/types@npm:5.62.0" - checksum: 48c87117383d1864766486f24de34086155532b070f6264e09d0e6139449270f8a9559cfef3c56d16e3bcfb52d83d42105d61b36743626399c7c2b5e0ac3b670 - languageName: node - linkType: hard - -"@typescript-eslint/typescript-estree@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" - dependencies: - "@typescript-eslint/types": 5.62.0 - "@typescript-eslint/visitor-keys": 5.62.0 - debug: ^4.3.4 - globby: ^11.1.0 - is-glob: ^4.0.3 - semver: ^7.3.7 - tsutils: ^3.21.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 3624520abb5807ed8f57b1197e61c7b1ed770c56dfcaca66372d584ff50175225798bccb701f7ef129d62c5989070e1ee3a0aa2d84e56d9524dcf011a2bb1a52 - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:5.62.0": - version: 5.62.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" - dependencies: - "@typescript-eslint/types": 5.62.0 - eslint-visitor-keys: ^3.3.0 - checksum: 976b05d103fe8335bef5c93ad3f76d781e3ce50329c0243ee0f00c0fcfb186c81df50e64bfdd34970148113f8ade90887f53e3c4938183afba830b4ba8e30a35 - languageName: node - linkType: hard - "@ungap/structured-clone@npm:^1.2.0": version: 1.2.0 resolution: "@ungap/structured-clone@npm:1.2.0" @@ -965,149 +880,6 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.3.0": - version: 5.3.0 - resolution: "aria-query@npm:5.3.0" - dependencies: - dequal: ^2.0.3 - checksum: 305bd73c76756117b59aba121d08f413c7ff5e80fa1b98e217a3443fcddb9a232ee790e24e432b59ae7625aebcf4c47cb01c2cac872994f0b426f5bdfcd96ba9 - languageName: node - linkType: hard - -"array-buffer-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "array-buffer-byte-length@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - is-array-buffer: ^3.0.1 - checksum: 044e101ce150f4804ad19c51d6c4d4cfa505c5b2577bd179256e4aa3f3f6a0a5e9874c78cd428ee566ac574c8a04d7ce21af9fe52e844abfdccb82b33035a7c3 - languageName: node - linkType: hard - -"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7": - version: 3.1.7 - resolution: "array-includes@npm:3.1.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - is-string: ^1.0.7 - checksum: 06f9e4598fac12a919f7c59a3f04f010ea07f0b7f0585465ed12ef528a60e45f374e79d1bddbb34cdd4338357d00023ddbd0ac18b0be36964f5e726e8965d7fc - languageName: node - linkType: hard - -"array-union@npm:^2.1.0": - version: 2.1.0 - resolution: "array-union@npm:2.1.0" - checksum: 5bee12395cba82da674931df6d0fea23c4aa4660cb3b338ced9f828782a65caa232573e6bf3968f23e0c5eb301764a382cef2f128b170a9dc59de0e36c39f98d - languageName: node - linkType: hard - -"array.prototype.findlastindex@npm:^1.2.3": - version: 1.2.3 - resolution: "array.prototype.findlastindex@npm:1.2.3" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - get-intrinsic: ^1.2.1 - checksum: 31f35d7b370c84db56484618132041a9af401b338f51899c2e78ef7690fbba5909ee7ca3c59a7192085b328cc0c68c6fd1f6d1553db01a689a589ae510f3966e - languageName: node - linkType: hard - -"array.prototype.flat@npm:^1.3.1, array.prototype.flat@npm:^1.3.2": - version: 1.3.2 - resolution: "array.prototype.flat@npm:1.3.2" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - checksum: 5d6b4bf102065fb3f43764bfff6feb3295d372ce89591e6005df3d0ce388527a9f03c909af6f2a973969a4d178ab232ffc9236654149173e0e187ec3a1a6b87b - languageName: node - linkType: hard - -"array.prototype.flatmap@npm:^1.3.1, array.prototype.flatmap@npm:^1.3.2": - version: 1.3.2 - resolution: "array.prototype.flatmap@npm:1.3.2" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 - languageName: node - linkType: hard - -"array.prototype.tosorted@npm:^1.1.1": - version: 1.1.2 - resolution: "array.prototype.tosorted@npm:1.1.2" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - get-intrinsic: ^1.2.1 - checksum: 3607a7d6b117f0ffa6f4012457b7af0d47d38cf05e01d50e09682fd2fb782a66093a5e5fbbdbad77c8c824794a9d892a51844041641f719ad41e3a974f0764de - languageName: node - linkType: hard - -"arraybuffer.prototype.slice@npm:^1.0.2": - version: 1.0.2 - resolution: "arraybuffer.prototype.slice@npm:1.0.2" - dependencies: - array-buffer-byte-length: ^1.0.0 - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - is-array-buffer: ^3.0.2 - is-shared-array-buffer: ^1.0.2 - checksum: c200faf437786f5b2c80d4564ff5481c886a16dee642ef02abdc7306c7edd523d1f01d1dd12b769c7eb42ac9bc53874510db19a92a2c035c0f6696172aafa5d3 - languageName: node - linkType: hard - -"ast-types-flow@npm:^0.0.8": - version: 0.0.8 - resolution: "ast-types-flow@npm:0.0.8" - checksum: 0a64706609a179233aac23817837abab614f3548c252a2d3d79ea1e10c74aa28a0846e11f466cf72771b6ed8713abc094dcf8c40c3ec4207da163efa525a94a8 - languageName: node - linkType: hard - -"asynciterator.prototype@npm:^1.0.0": - version: 1.0.0 - resolution: "asynciterator.prototype@npm:1.0.0" - dependencies: - has-symbols: ^1.0.3 - checksum: e8ebfd9493ac651cf9b4165e9d64030b3da1d17181bb1963627b59e240cdaf021d9b59d44b827dc1dde4e22387ec04c2d0f8720cf58a1c282e34e40cc12721b3 - languageName: node - linkType: hard - -"available-typed-arrays@npm:^1.0.5": - version: 1.0.5 - resolution: "available-typed-arrays@npm:1.0.5" - checksum: 20eb47b3cefd7db027b9bbb993c658abd36d4edd3fe1060e83699a03ee275b0c9b216cc076ff3f2db29073225fb70e7613987af14269ac1fe2a19803ccc97f1a - languageName: node - linkType: hard - -"axe-core@npm:=4.7.0": - version: 4.7.0 - resolution: "axe-core@npm:4.7.0" - checksum: f086bcab42be1761ba2b0b127dec350087f4c3a853bba8dd58f69d898cefaac31a1561da23146f6f3c07954c76171d1f2ce460e555e052d2b02cd79af628fa4a - languageName: node - linkType: hard - -"axobject-query@npm:^3.2.1": - version: 3.2.1 - resolution: "axobject-query@npm:3.2.1" - dependencies: - dequal: ^2.0.3 - checksum: a94047e702b57c91680e6a952ec4a1aaa2cfd0d80ead76bc8c954202980d8c51968a6ea18b4d8010e8e2cf95676533d8022a8ebba9abc1dfe25686721df26fd2 - languageName: node - linkType: hard - "babel-plugin-macros@npm:^3.1.0": version: 3.1.0 resolution: "babel-plugin-macros@npm:3.1.0" @@ -1136,26 +908,6 @@ __metadata: languageName: node linkType: hard -"braces@npm:^3.0.2": - version: 3.0.2 - resolution: "braces@npm:3.0.2" - dependencies: - fill-range: ^7.0.1 - checksum: e2a8e769a863f3d4ee887b5fe21f63193a891c68b612ddb4b68d82d1b5f3ff9073af066c343e9867a393fe4c2555dcb33e89b937195feb9c1613d259edfcd459 - languageName: node - linkType: hard - -"call-bind@npm:^1.0.0, call-bind@npm:^1.0.2, call-bind@npm:^1.0.4, call-bind@npm:^1.0.5": - version: 1.0.5 - resolution: "call-bind@npm:1.0.5" - dependencies: - function-bind: ^1.1.2 - get-intrinsic: ^1.2.1 - set-function-length: ^1.1.1 - checksum: 449e83ecbd4ba48e7eaac5af26fea3b50f8f6072202c2dd7c5a6e7a6308f2421abe5e13a3bbd55221087f76320c5e09f25a8fdad1bab2b77c68ae74d92234ea5 - languageName: node - linkType: hard - "callsites@npm:^3.0.0": version: 3.1.0 resolution: "callsites@npm:3.1.0" @@ -1289,23 +1041,7 @@ __metadata: languageName: node linkType: hard -"damerau-levenshtein@npm:^1.0.8": - version: 1.0.8 - resolution: "damerau-levenshtein@npm:1.0.8" - checksum: d240b7757544460ae0586a341a53110ab0a61126570ef2d8c731e3eab3f0cb6e488e2609e6a69b46727635de49be20b071688698744417ff1b6c1d7ccd03e0de - languageName: node - linkType: hard - -"debug@npm:^3.2.7": - version: 3.2.7 - resolution: "debug@npm:3.2.7" - dependencies: - ms: ^2.1.1 - checksum: b3d8c5940799914d30314b7c3304a43305fd0715581a919dacb8b3176d024a782062368405b47491516d2091d6462d4d11f2f4974a405048094f8bfebfa3071c - languageName: node - linkType: hard - -"debug@npm:^4.1.1, debug@npm:^4.3.2, debug@npm:^4.3.4": +"debug@npm:^4.1.1, debug@npm:^4.3.2": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -1324,44 +1060,6 @@ __metadata: languageName: node linkType: hard -"define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.1": - version: 1.1.1 - resolution: "define-data-property@npm:1.1.1" - dependencies: - get-intrinsic: ^1.2.1 - gopd: ^1.0.1 - has-property-descriptors: ^1.0.0 - checksum: a29855ad3f0630ea82e3c5012c812efa6ca3078d5c2aa8df06b5f597c1cde6f7254692df41945851d903e05a1668607b6d34e778f402b9ff9ffb38111f1a3f0d - languageName: node - linkType: hard - -"define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": - version: 1.2.1 - resolution: "define-properties@npm:1.2.1" - dependencies: - define-data-property: ^1.0.1 - has-property-descriptors: ^1.0.0 - object-keys: ^1.1.1 - checksum: b4ccd00597dd46cb2d4a379398f5b19fca84a16f3374e2249201992f36b30f6835949a9429669ee6b41b6e837205a163eadd745e472069e70dfc10f03e5fcc12 - languageName: node - linkType: hard - -"dequal@npm:^2.0.3": - version: 2.0.3 - resolution: "dequal@npm:2.0.3" - checksum: 8679b850e1a3d0ebbc46ee780d5df7b478c23f335887464023a631d1b9af051ad4a6595a44220f9ff8ff95a8ddccf019b5ad778a976fd7bbf77383d36f412f90 - languageName: node - linkType: hard - -"dir-glob@npm:^3.0.1": - version: 3.0.1 - resolution: "dir-glob@npm:3.0.1" - dependencies: - path-type: ^4.0.0 - checksum: fa05e18324510d7283f55862f3161c6759a3f2f8dbce491a2fc14c8324c498286c54282c1f0e933cb930da8419b30679389499b919122952a4f8592362ef4615 - languageName: node - linkType: hard - "dnd-core@npm:^11.1.3": version: 11.1.3 resolution: "dnd-core@npm:11.1.3" @@ -1373,15 +1071,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:^2.1.0": - version: 2.1.0 - resolution: "doctrine@npm:2.1.0" - dependencies: - esutils: ^2.0.2 - checksum: a45e277f7feaed309fe658ace1ff286c6e2002ac515af0aaf37145b8baa96e49899638c7cd47dccf84c3d32abfc113246625b3ac8f552d1046072adee13b0dc8 - languageName: node - linkType: hard - "doctrine@npm:^3.0.0": version: 3.0.0 resolution: "doctrine@npm:3.0.0" @@ -1401,13 +1090,6 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^9.2.2": - version: 9.2.2 - resolution: "emoji-regex@npm:9.2.2" - checksum: 8487182da74aabd810ac6d6f1994111dfc0e331b01271ae01ec1eb0ad7b5ecc2bbbbd2f053c05cb55a1ac30449527d819bbfbf0e3de1023db308cbcb47f86601 - languageName: node - linkType: hard - "error-ex@npm:^1.3.1": version: 1.3.2 resolution: "error-ex@npm:1.3.2" @@ -1417,106 +1099,6 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.22.1": - version: 1.22.3 - resolution: "es-abstract@npm:1.22.3" - dependencies: - array-buffer-byte-length: ^1.0.0 - arraybuffer.prototype.slice: ^1.0.2 - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.5 - es-set-tostringtag: ^2.0.1 - es-to-primitive: ^1.2.1 - function.prototype.name: ^1.1.6 - get-intrinsic: ^1.2.2 - get-symbol-description: ^1.0.0 - globalthis: ^1.0.3 - gopd: ^1.0.1 - has-property-descriptors: ^1.0.0 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - hasown: ^2.0.0 - internal-slot: ^1.0.5 - is-array-buffer: ^3.0.2 - is-callable: ^1.2.7 - is-negative-zero: ^2.0.2 - is-regex: ^1.1.4 - is-shared-array-buffer: ^1.0.2 - is-string: ^1.0.7 - is-typed-array: ^1.1.12 - is-weakref: ^1.0.2 - object-inspect: ^1.13.1 - object-keys: ^1.1.1 - object.assign: ^4.1.4 - regexp.prototype.flags: ^1.5.1 - safe-array-concat: ^1.0.1 - safe-regex-test: ^1.0.0 - string.prototype.trim: ^1.2.8 - string.prototype.trimend: ^1.0.7 - string.prototype.trimstart: ^1.0.7 - typed-array-buffer: ^1.0.0 - typed-array-byte-length: ^1.0.0 - typed-array-byte-offset: ^1.0.0 - typed-array-length: ^1.0.4 - unbox-primitive: ^1.0.2 - which-typed-array: ^1.1.13 - checksum: b1bdc962856836f6e72be10b58dc128282bdf33771c7a38ae90419d920fc3b36cc5d2b70a222ad8016e3fc322c367bf4e9e89fc2bc79b7e933c05b218e83d79a - languageName: node - linkType: hard - -"es-iterator-helpers@npm:^1.0.12, es-iterator-helpers@npm:^1.0.15": - version: 1.0.15 - resolution: "es-iterator-helpers@npm:1.0.15" - dependencies: - asynciterator.prototype: ^1.0.0 - call-bind: ^1.0.2 - define-properties: ^1.2.1 - es-abstract: ^1.22.1 - es-set-tostringtag: ^2.0.1 - function-bind: ^1.1.1 - get-intrinsic: ^1.2.1 - globalthis: ^1.0.3 - has-property-descriptors: ^1.0.0 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - internal-slot: ^1.0.5 - iterator.prototype: ^1.1.2 - safe-array-concat: ^1.0.1 - checksum: 50081ae5c549efe62e5c1d244df0194b40b075f7897fc2116b7e1aa437eb3c41f946d2afda18c33f9b31266ec544765932542765af839f76fa6d7b7855d1e0e1 - languageName: node - linkType: hard - -"es-set-tostringtag@npm:^2.0.1": - version: 2.0.2 - resolution: "es-set-tostringtag@npm:2.0.2" - dependencies: - get-intrinsic: ^1.2.2 - has-tostringtag: ^1.0.0 - hasown: ^2.0.0 - checksum: afcec3a4c9890ae14d7ec606204858441c801ff84f312538e1d1ccf1e5493c8b17bd672235df785f803756472cb4f2d49b87bde5237aef33411e74c22f194e07 - languageName: node - linkType: hard - -"es-shim-unscopables@npm:^1.0.0": - version: 1.0.2 - resolution: "es-shim-unscopables@npm:1.0.2" - dependencies: - hasown: ^2.0.0 - checksum: 432bd527c62065da09ed1d37a3f8e623c423683285e6188108286f4a1e8e164a5bcbfbc0051557c7d14633cd2a41ce24c7048e6bbb66a985413fd32f1be72626 - languageName: node - linkType: hard - -"es-to-primitive@npm:^1.2.1": - version: 1.2.1 - resolution: "es-to-primitive@npm:1.2.1" - dependencies: - is-callable: ^1.1.4 - is-date-object: ^1.0.1 - is-symbol: ^1.0.2 - checksum: 4ead6671a2c1402619bdd77f3503991232ca15e17e46222b0a41a5d81aebc8740a77822f5b3c965008e631153e9ef0580540007744521e72de8e33599fca2eed - languageName: node - linkType: hard - "escape-string-regexp@npm:^1.0.5": version: 1.0.5 resolution: "escape-string-regexp@npm:1.0.5" @@ -1531,156 +1113,6 @@ __metadata: languageName: node linkType: hard -"eslint-config-next@npm:12": - version: 12.3.4 - resolution: "eslint-config-next@npm:12.3.4" - dependencies: - "@next/eslint-plugin-next": 12.3.4 - "@rushstack/eslint-patch": ^1.1.3 - "@typescript-eslint/parser": ^5.21.0 - eslint-import-resolver-node: ^0.3.6 - eslint-import-resolver-typescript: ^2.7.1 - eslint-plugin-import: ^2.26.0 - eslint-plugin-jsx-a11y: ^6.5.1 - eslint-plugin-react: ^7.31.7 - eslint-plugin-react-hooks: ^4.5.0 - peerDependencies: - eslint: ^7.23.0 || ^8.0.0 - typescript: ">=3.3.1" - peerDependenciesMeta: - typescript: - optional: true - checksum: 53cd24d7b764fe382812a5e76571083fe59e892ac88ac5ccddf171e261f5a3ea36cb1c34283f97569c97a4bae51ece5252d5aa71fd130d31ada94310dc4147ee - languageName: node - linkType: hard - -"eslint-import-resolver-node@npm:^0.3.6, eslint-import-resolver-node@npm:^0.3.9": - version: 0.3.9 - resolution: "eslint-import-resolver-node@npm:0.3.9" - dependencies: - debug: ^3.2.7 - is-core-module: ^2.13.0 - resolve: ^1.22.4 - checksum: 439b91271236b452d478d0522a44482e8c8540bf9df9bd744062ebb89ab45727a3acd03366a6ba2bdbcde8f9f718bab7fe8db64688aca75acf37e04eafd25e22 - languageName: node - linkType: hard - -"eslint-import-resolver-typescript@npm:^2.7.1": - version: 2.7.1 - resolution: "eslint-import-resolver-typescript@npm:2.7.1" - dependencies: - debug: ^4.3.4 - glob: ^7.2.0 - is-glob: ^4.0.3 - resolve: ^1.22.0 - tsconfig-paths: ^3.14.1 - peerDependencies: - eslint: "*" - eslint-plugin-import: "*" - checksum: 1d81b657b1f73bf95b8f0b745c0305574b91630c1db340318f3ca8918e206fce20a933b95e7c419338cc4452cb80bb2b2d92acaf01b6aa315c78a332d832545c - languageName: node - linkType: hard - -"eslint-module-utils@npm:^2.8.0": - version: 2.8.0 - resolution: "eslint-module-utils@npm:2.8.0" - dependencies: - debug: ^3.2.7 - peerDependenciesMeta: - eslint: - optional: true - checksum: 74c6dfea7641ebcfe174be61168541a11a14aa8d72e515f5f09af55cd0d0862686104b0524aa4b8e0ce66418a44aa38a94d2588743db5fd07a6b49ffd16921d2 - languageName: node - linkType: hard - -"eslint-plugin-import@npm:^2.26.0": - version: 2.29.0 - resolution: "eslint-plugin-import@npm:2.29.0" - dependencies: - array-includes: ^3.1.7 - array.prototype.findlastindex: ^1.2.3 - array.prototype.flat: ^1.3.2 - array.prototype.flatmap: ^1.3.2 - debug: ^3.2.7 - doctrine: ^2.1.0 - eslint-import-resolver-node: ^0.3.9 - eslint-module-utils: ^2.8.0 - hasown: ^2.0.0 - is-core-module: ^2.13.1 - is-glob: ^4.0.3 - minimatch: ^3.1.2 - object.fromentries: ^2.0.7 - object.groupby: ^1.0.1 - object.values: ^1.1.7 - semver: ^6.3.1 - tsconfig-paths: ^3.14.2 - peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 19ee541fb95eb7a796f3daebe42387b8d8262bbbcc4fd8a6e92f63a12035f3d2c6cb8bc0b6a70864fa14b1b50ed6b8e6eed5833e625e16cb6bb98b665beff269 - languageName: node - linkType: hard - -"eslint-plugin-jsx-a11y@npm:^6.5.1": - version: 6.8.0 - resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" - dependencies: - "@babel/runtime": ^7.23.2 - aria-query: ^5.3.0 - array-includes: ^3.1.7 - array.prototype.flatmap: ^1.3.2 - ast-types-flow: ^0.0.8 - axe-core: =4.7.0 - axobject-query: ^3.2.1 - damerau-levenshtein: ^1.0.8 - emoji-regex: ^9.2.2 - es-iterator-helpers: ^1.0.15 - hasown: ^2.0.0 - jsx-ast-utils: ^3.3.5 - language-tags: ^1.0.9 - minimatch: ^3.1.2 - object.entries: ^1.1.7 - object.fromentries: ^2.0.7 - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: 3dec00e2a3089c4c61ac062e4196a70985fb7eda1fd67fe035363d92578debde92fdb8ed2e472321fc0d71e75f4a1e8888c6a3218c14dd93c8e8d19eb6f51554 - languageName: node - linkType: hard - -"eslint-plugin-react-hooks@npm:^4.5.0": - version: 4.6.0 - resolution: "eslint-plugin-react-hooks@npm:4.6.0" - peerDependencies: - eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 - checksum: 23001801f14c1d16bf0a837ca7970d9dd94e7b560384b41db378b49b6e32dc43d6e2790de1bd737a652a86f81a08d6a91f402525061b47719328f586a57e86c3 - languageName: node - linkType: hard - -"eslint-plugin-react@npm:^7.31.7": - version: 7.33.2 - resolution: "eslint-plugin-react@npm:7.33.2" - dependencies: - array-includes: ^3.1.6 - array.prototype.flatmap: ^1.3.1 - array.prototype.tosorted: ^1.1.1 - doctrine: ^2.1.0 - es-iterator-helpers: ^1.0.12 - estraverse: ^5.3.0 - jsx-ast-utils: ^2.4.1 || ^3.0.0 - minimatch: ^3.1.2 - object.entries: ^1.1.6 - object.fromentries: ^2.0.6 - object.hasown: ^1.1.2 - object.values: ^1.1.6 - prop-types: ^15.8.1 - resolve: ^2.0.0-next.4 - semver: ^6.3.1 - string.prototype.matchall: ^4.0.8 - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - checksum: b4c3d76390b0ae6b6f9fed78170604cc2c04b48e6778a637db339e8e3911ec9ef22510b0ae77c429698151d0f1b245f282177f384105b6830e7b29b9c9b26610 - languageName: node - linkType: hard - "eslint-scope@npm:^7.2.2": version: 7.2.2 resolution: "eslint-scope@npm:7.2.2" @@ -1775,7 +1207,7 @@ __metadata: languageName: node linkType: hard -"estraverse@npm:^5.1.0, estraverse@npm:^5.2.0, estraverse@npm:^5.3.0": +"estraverse@npm:^5.1.0, estraverse@npm:^5.2.0": version: 5.3.0 resolution: "estraverse@npm:5.3.0" checksum: 072780882dc8416ad144f8fe199628d2b3e7bbc9989d9ed43795d2c90309a2047e6bc5979d7e2322a341163d22cfad9e21f4110597fe487519697389497e4e2b @@ -1796,19 +1228,6 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.9": - version: 3.3.2 - resolution: "fast-glob@npm:3.3.2" - dependencies: - "@nodelib/fs.stat": ^2.0.2 - "@nodelib/fs.walk": ^1.2.3 - glob-parent: ^5.1.2 - merge2: ^1.3.0 - micromatch: ^4.0.4 - checksum: 900e4979f4dbc3313840078419245621259f349950411ca2fa445a2f9a1a6d98c3b5e7e0660c5ccd563aa61abe133a21765c6c0dec8e57da1ba71d8000b05ec1 - languageName: node - linkType: hard - "fast-json-stable-stringify@npm:^2.0.0": version: 2.1.0 resolution: "fast-json-stable-stringify@npm:2.1.0" @@ -1841,15 +1260,6 @@ __metadata: languageName: node linkType: hard -"fill-range@npm:^7.0.1": - version: 7.0.1 - resolution: "fill-range@npm:7.0.1" - dependencies: - to-regex-range: ^5.0.1 - checksum: cc283f4e65b504259e64fd969bcf4def4eb08d85565e906b7d36516e87819db52029a76b6363d0f02d0d532f0033c9603b9e2d943d56ee3b0d4f7ad3328ff917 - languageName: node - linkType: hard - "find-root@npm:^1.1.0": version: 1.1.0 resolution: "find-root@npm:1.1.0" @@ -1885,15 +1295,6 @@ __metadata: languageName: node linkType: hard -"for-each@npm:^0.3.3": - version: 0.3.3 - resolution: "for-each@npm:0.3.3" - dependencies: - is-callable: ^1.1.3 - checksum: 6c48ff2bc63362319c65e2edca4a8e1e3483a2fabc72fbe7feaf8c73db94fc7861bd53bc02c8a66a0c1dd709da6b04eec42e0abdd6b40ce47305ae92a25e5d28 - languageName: node - linkType: hard - "fs.realpath@npm:^1.0.0": version: 1.0.0 resolution: "fs.realpath@npm:1.0.0" @@ -1901,63 +1302,13 @@ __metadata: languageName: node linkType: hard -"function-bind@npm:^1.1.1, function-bind@npm:^1.1.2": +"function-bind@npm:^1.1.2": version: 1.1.2 resolution: "function-bind@npm:1.1.2" checksum: 2b0ff4ce708d99715ad14a6d1f894e2a83242e4a52ccfcefaee5e40050562e5f6dafc1adbb4ce2d4ab47279a45dc736ab91ea5042d843c3c092820dfe032efb1 languageName: node linkType: hard -"function.prototype.name@npm:^1.1.5, function.prototype.name@npm:^1.1.6": - version: 1.1.6 - resolution: "function.prototype.name@npm:1.1.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - functions-have-names: ^1.2.3 - checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 - languageName: node - linkType: hard - -"functions-have-names@npm:^1.2.3": - version: 1.2.3 - resolution: "functions-have-names@npm:1.2.3" - checksum: c3f1f5ba20f4e962efb71344ce0a40722163e85bee2101ce25f88214e78182d2d2476aa85ef37950c579eb6cf6ee811c17b3101bb84004bb75655f3e33f3fdb5 - languageName: node - linkType: hard - -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.0, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2": - version: 1.2.2 - resolution: "get-intrinsic@npm:1.2.2" - dependencies: - function-bind: ^1.1.2 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - hasown: ^2.0.0 - checksum: 447ff0724df26829908dc033b62732359596fcf66027bc131ab37984afb33842d9cd458fd6cecadfe7eac22fd8a54b349799ed334cf2726025c921c7250e7417 - languageName: node - linkType: hard - -"get-symbol-description@npm:^1.0.0": - version: 1.0.0 - resolution: "get-symbol-description@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.1 - checksum: 9ceff8fe968f9270a37a1f73bf3f1f7bda69ca80f4f80850670e0e7b9444ff99323f7ac52f96567f8b5f5fbe7ac717a0d81d3407c7313e82810c6199446a5247 - languageName: node - linkType: hard - -"glob-parent@npm:^5.1.2": - version: 5.1.2 - resolution: "glob-parent@npm:5.1.2" - dependencies: - is-glob: ^4.0.1 - checksum: f4f2bfe2425296e8a47e36864e4f42be38a996db40420fe434565e4480e3322f18eb37589617a98640c5dc8fdec1a387007ee18dbb1f3f5553409c34d17f425e - languageName: node - linkType: hard - "glob-parent@npm:^6.0.2": version: 6.0.2 resolution: "glob-parent@npm:6.0.2" @@ -1967,21 +1318,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:7.1.7": - version: 7.1.7 - resolution: "glob@npm:7.1.7" - dependencies: - fs.realpath: ^1.0.0 - inflight: ^1.0.4 - inherits: 2 - minimatch: ^3.0.4 - once: ^1.3.0 - path-is-absolute: ^1.0.0 - checksum: b61f48973bbdcf5159997b0874a2165db572b368b931135832599875919c237fc05c12984e38fe828e69aa8a921eb0e8a4997266211c517c9cfaae8a93988bb8 - languageName: node - linkType: hard - -"glob@npm:^7.1.3, glob@npm:^7.2.0": +"glob@npm:^7.1.3": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -2004,38 +1341,6 @@ __metadata: languageName: node linkType: hard -"globalthis@npm:^1.0.3": - version: 1.0.3 - resolution: "globalthis@npm:1.0.3" - dependencies: - define-properties: ^1.1.3 - checksum: fbd7d760dc464c886d0196166d92e5ffb4c84d0730846d6621a39fbbc068aeeb9c8d1421ad330e94b7bca4bb4ea092f5f21f3d36077812af5d098b4dc006c998 - languageName: node - linkType: hard - -"globby@npm:^11.1.0": - version: 11.1.0 - resolution: "globby@npm:11.1.0" - dependencies: - array-union: ^2.1.0 - dir-glob: ^3.0.1 - fast-glob: ^3.2.9 - ignore: ^5.2.0 - merge2: ^1.4.1 - slash: ^3.0.0 - checksum: b4be8885e0cfa018fc783792942d53926c35c50b3aefd3fdcfb9d22c627639dc26bd2327a40a0b74b074100ce95bb7187bfeae2f236856aa3de183af7a02aea6 - languageName: node - linkType: hard - -"gopd@npm:^1.0.1": - version: 1.0.1 - resolution: "gopd@npm:1.0.1" - dependencies: - get-intrinsic: ^1.1.3 - checksum: a5ccfb8806e0917a94e0b3de2af2ea4979c1da920bc381667c260e00e7cafdbe844e2cb9c5bcfef4e5412e8bf73bab837285bc35c7ba73aaaf0134d4583393a6 - languageName: node - linkType: hard - "graphemer@npm:^1.4.0": version: 1.4.0 resolution: "graphemer@npm:1.4.0" @@ -2043,13 +1348,6 @@ __metadata: languageName: node linkType: hard -"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": - version: 1.0.2 - resolution: "has-bigints@npm:1.0.2" - checksum: 390e31e7be7e5c6fe68b81babb73dfc35d413604d7ee5f56da101417027a4b4ce6a27e46eff97ad040c835b5d228676eae99a9b5c3bc0e23c8e81a49241ff45b - languageName: node - linkType: hard - "has-flag@npm:^3.0.0": version: 3.0.0 resolution: "has-flag@npm:3.0.0" @@ -2064,38 +1362,6 @@ __metadata: languageName: node linkType: hard -"has-property-descriptors@npm:^1.0.0": - version: 1.0.1 - resolution: "has-property-descriptors@npm:1.0.1" - dependencies: - get-intrinsic: ^1.2.2 - checksum: 2bcc6bf6ec6af375add4e4b4ef586e43674850a91ad4d46666d0b28ba8e1fd69e424c7677d24d60f69470ad0afaa2f3197f508b20b0bb7dd99a8ab77ffc4b7c4 - languageName: node - linkType: hard - -"has-proto@npm:^1.0.1": - version: 1.0.1 - resolution: "has-proto@npm:1.0.1" - checksum: febc5b5b531de8022806ad7407935e2135f1cc9e64636c3916c6842bd7995994ca3b29871ecd7954bd35f9e2986c17b3b227880484d22259e2f8e6ce63fd383e - languageName: node - linkType: hard - -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": - version: 1.0.3 - resolution: "has-symbols@npm:1.0.3" - checksum: a054c40c631c0d5741a8285010a0777ea0c068f99ed43e5d6eb12972da223f8af553a455132fdb0801bdcfa0e0f443c0c03a68d8555aa529b3144b446c3f2410 - languageName: node - linkType: hard - -"has-tostringtag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-tostringtag@npm:1.0.0" - dependencies: - has-symbols: ^1.0.2 - checksum: cc12eb28cb6ae22369ebaad3a8ab0799ed61270991be88f208d508076a1e99abe4198c965935ce85ea90b60c94ddda73693b0920b58e7ead048b4a391b502c1c - languageName: node - linkType: hard - "hasown@npm:^2.0.0": version: 2.0.0 resolution: "hasown@npm:2.0.0" @@ -2162,242 +1428,42 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.5": - version: 1.0.6 - resolution: "internal-slot@npm:1.0.6" - dependencies: - get-intrinsic: ^1.2.2 - hasown: ^2.0.0 - side-channel: ^1.0.4 - checksum: 7872454888047553ce97a3fa1da7cc054a28ec5400a9c2e9f4dbe4fe7c1d041cb8e8301467614b80d4246d50377aad2fb58860b294ed74d6700cc346b6f89549 - languageName: node - linkType: hard - -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": - version: 3.0.2 - resolution: "is-array-buffer@npm:3.0.2" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.0 - is-typed-array: ^1.1.10 - checksum: dcac9dda66ff17df9cabdc58214172bf41082f956eab30bb0d86bc0fab1e44b690fc8e1f855cf2481245caf4e8a5a006a982a71ddccec84032ed41f9d8da8c14 - languageName: node - linkType: hard - "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" - checksum: eef4417e3c10e60e2c810b6084942b3ead455af16c4509959a27e490e7aee87cfb3f38e01bbde92220b528a0ee1a18d52b787e1458ee86174d8c7f0e58cd488f - languageName: node - linkType: hard - -"is-async-function@npm:^2.0.0": - version: 2.0.0 - resolution: "is-async-function@npm:2.0.0" - dependencies: - has-tostringtag: ^1.0.0 - checksum: e3471d95e6c014bf37cad8a93f2f4b6aac962178e0a5041e8903147166964fdc1c5c1d2ef87e86d77322c370ca18f2ea004fa7420581fa747bcaf7c223069dbd - languageName: node - linkType: hard - -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" - dependencies: - has-bigints: ^1.0.1 - checksum: c56edfe09b1154f8668e53ebe8252b6f185ee852a50f9b41e8d921cb2bed425652049fbe438723f6cb48a63ca1aa051e948e7e401e093477c99c84eba244f666 - languageName: node - linkType: hard - -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: c03b23dbaacadc18940defb12c1c0e3aaece7553ef58b162a0f6bba0c2a7e1551b59f365b91e00d2dbac0522392d576ef322628cb1d036a0fe51eb466db67222 - languageName: node - linkType: hard - -"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": - version: 1.2.7 - resolution: "is-callable@npm:1.2.7" - checksum: 61fd57d03b0d984e2ed3720fb1c7a897827ea174bd44402878e059542ea8c4aeedee0ea0985998aa5cc2736b2fa6e271c08587addb5b3959ac52cf665173d1ac - languageName: node - linkType: hard - -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1": - version: 2.13.1 - resolution: "is-core-module@npm:2.13.1" - dependencies: - hasown: ^2.0.0 - checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c - languageName: node - linkType: hard - -"is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" - dependencies: - has-tostringtag: ^1.0.0 - checksum: baa9077cdf15eb7b58c79398604ca57379b2fc4cf9aa7a9b9e295278648f628c9b201400c01c5e0f7afae56507d741185730307cbe7cad3b9f90a77e5ee342fc - languageName: node - linkType: hard - -"is-extglob@npm:^2.1.1": - version: 2.1.1 - resolution: "is-extglob@npm:2.1.1" - checksum: df033653d06d0eb567461e58a7a8c9f940bd8c22274b94bf7671ab36df5719791aae15eef6d83bbb5e23283967f2f984b8914559d4449efda578c775c4be6f85 - languageName: node - linkType: hard - -"is-finalizationregistry@npm:^1.0.2": - version: 1.0.2 - resolution: "is-finalizationregistry@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 4f243a8e06228cd45bdab8608d2cb7abfc20f6f0189c8ac21ea8d603f1f196eabd531ce0bb8e08cbab047e9845ef2c191a3761c9a17ad5cabf8b35499c4ad35d - languageName: node - linkType: hard - -"is-generator-function@npm:^1.0.10": - version: 1.0.10 - resolution: "is-generator-function@npm:1.0.10" - dependencies: - has-tostringtag: ^1.0.0 - checksum: d54644e7dbaccef15ceb1e5d91d680eb5068c9ee9f9eb0a9e04173eb5542c9b51b5ab52c5537f5703e48d5fddfd376817c1ca07a84a407b7115b769d4bdde72b - languageName: node - linkType: hard - -"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3": - version: 4.0.3 - resolution: "is-glob@npm:4.0.3" - dependencies: - is-extglob: ^2.1.1 - checksum: d381c1319fcb69d341cc6e6c7cd588e17cd94722d9a32dbd60660b993c4fb7d0f19438674e68dfec686d09b7c73139c9166b47597f846af387450224a8101ab4 - languageName: node - linkType: hard - -"is-map@npm:^2.0.1": - version: 2.0.2 - resolution: "is-map@npm:2.0.2" - checksum: ace3d0ecd667bbdefdb1852de601268f67f2db725624b1958f279316e13fecb8fa7df91fd60f690d7417b4ec180712f5a7ee967008e27c65cfd475cc84337728 - languageName: node - linkType: hard - -"is-negative-zero@npm:^2.0.2": - version: 2.0.2 - resolution: "is-negative-zero@npm:2.0.2" - checksum: f3232194c47a549da60c3d509c9a09be442507616b69454716692e37ae9f37c4dea264fb208ad0c9f3efd15a796a46b79df07c7e53c6227c32170608b809149a - languageName: node - linkType: hard - -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" - dependencies: - has-tostringtag: ^1.0.0 - checksum: d1e8d01bb0a7134c74649c4e62da0c6118a0bfc6771ea3c560914d52a627873e6920dd0fd0ebc0e12ad2ff4687eac4c308f7e80320b973b2c8a2c8f97a7524f7 - languageName: node - linkType: hard - -"is-number@npm:^7.0.0": - version: 7.0.0 - resolution: "is-number@npm:7.0.0" - checksum: 456ac6f8e0f3111ed34668a624e45315201dff921e5ac181f8ec24923b99e9f32ca1a194912dc79d539c97d33dba17dc635202ff0b2cf98326f608323276d27a - languageName: node - linkType: hard - -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 - languageName: node - linkType: hard - -"is-regex@npm:^1.1.4": - version: 1.1.4 - resolution: "is-regex@npm:1.1.4" - dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 362399b33535bc8f386d96c45c9feb04cf7f8b41c182f54174c1a45c9abbbe5e31290bbad09a458583ff6bf3b2048672cdb1881b13289569a7c548370856a652 - languageName: node - linkType: hard - -"is-set@npm:^2.0.1": - version: 2.0.2 - resolution: "is-set@npm:2.0.2" - checksum: b64343faf45e9387b97a6fd32be632ee7b269bd8183701f3b3f5b71a7cf00d04450ed8669d0bd08753e08b968beda96fca73a10fd0ff56a32603f64deba55a57 - languageName: node - linkType: hard - -"is-shared-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "is-shared-array-buffer@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 9508929cf14fdc1afc9d61d723c6e8d34f5e117f0bffda4d97e7a5d88c3a8681f633a74f8e3ad1fe92d5113f9b921dc5ca44356492079612f9a247efbce7032a - languageName: node - linkType: hard - -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" - dependencies: - has-tostringtag: ^1.0.0 - checksum: 323b3d04622f78d45077cf89aab783b2f49d24dc641aa89b5ad1a72114cfeff2585efc8c12ef42466dff32bde93d839ad321b26884cf75e5a7892a938b089989 - languageName: node - linkType: hard - -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" - dependencies: - has-symbols: ^1.0.2 - checksum: 92805812ef590738d9de49d677cd17dfd486794773fb6fa0032d16452af46e9b91bb43ffe82c983570f015b37136f4b53b28b8523bfb10b0ece7a66c31a54510 + checksum: eef4417e3c10e60e2c810b6084942b3ead455af16c4509959a27e490e7aee87cfb3f38e01bbde92220b528a0ee1a18d52b787e1458ee86174d8c7f0e58cd488f languageName: node linkType: hard -"is-typed-array@npm:^1.1.10, is-typed-array@npm:^1.1.12, is-typed-array@npm:^1.1.9": - version: 1.1.12 - resolution: "is-typed-array@npm:1.1.12" +"is-core-module@npm:^2.13.0": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" dependencies: - which-typed-array: ^1.1.11 - checksum: 4c89c4a3be07186caddadf92197b17fda663a9d259ea0d44a85f171558270d36059d1c386d34a12cba22dfade5aba497ce22778e866adc9406098c8fc4771796 - languageName: node - linkType: hard - -"is-weakmap@npm:^2.0.1": - version: 2.0.1 - resolution: "is-weakmap@npm:2.0.1" - checksum: 1222bb7e90c32bdb949226e66d26cb7bce12e1e28e3e1b40bfa6b390ba3e08192a8664a703dff2a00a84825f4e022f9cd58c4599ff9981ab72b1d69479f4f7f6 + hasown: ^2.0.0 + checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c languageName: node linkType: hard -"is-weakref@npm:^1.0.2": - version: 1.0.2 - resolution: "is-weakref@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - checksum: 95bd9a57cdcb58c63b1c401c60a474b0f45b94719c30f548c891860f051bc2231575c290a6b420c6bc6e7ed99459d424c652bd5bf9a1d5259505dc35b4bf83de +"is-extglob@npm:^2.1.1": + version: 2.1.1 + resolution: "is-extglob@npm:2.1.1" + checksum: df033653d06d0eb567461e58a7a8c9f940bd8c22274b94bf7671ab36df5719791aae15eef6d83bbb5e23283967f2f984b8914559d4449efda578c775c4be6f85 languageName: node linkType: hard -"is-weakset@npm:^2.0.1": - version: 2.0.2 - resolution: "is-weakset@npm:2.0.2" +"is-glob@npm:^4.0.0, is-glob@npm:^4.0.3": + version: 4.0.3 + resolution: "is-glob@npm:4.0.3" dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.1 - checksum: 5d8698d1fa599a0635d7ca85be9c26d547b317ed8fd83fc75f03efbe75d50001b5eececb1e9971de85fcde84f69ae6f8346bc92d20d55d46201d328e4c74a367 + is-extglob: ^2.1.1 + checksum: d381c1319fcb69d341cc6e6c7cd588e17cd94722d9a32dbd60660b993c4fb7d0f19438674e68dfec686d09b7c73139c9166b47597f846af387450224a8101ab4 languageName: node linkType: hard -"isarray@npm:^2.0.5": - version: 2.0.5 - resolution: "isarray@npm:2.0.5" - checksum: bd5bbe4104438c4196ba58a54650116007fa0262eccef13a4c55b2e09a5b36b59f1e75b9fcc49883dd9d4953892e6fc007eef9e9155648ceea036e184b0f930a +"is-path-inside@npm:^3.0.3": + version: 3.0.3 + resolution: "is-path-inside@npm:3.0.3" + checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 languageName: node linkType: hard @@ -2408,19 +1474,6 @@ __metadata: languageName: node linkType: hard -"iterator.prototype@npm:^1.1.2": - version: 1.1.2 - resolution: "iterator.prototype@npm:1.1.2" - dependencies: - define-properties: ^1.2.1 - get-intrinsic: ^1.2.1 - has-symbols: ^1.0.3 - reflect.getprototypeof: ^1.0.4 - set-function-name: ^2.0.1 - checksum: d8a507e2ccdc2ce762e8a1d3f4438c5669160ac72b88b648e59a688eec6bc4e64b22338e74000518418d9e693faf2a092d2af21b9ec7dbf7763b037a54701168 - languageName: node - linkType: hard - "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -2467,29 +1520,6 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.2": - version: 1.0.2 - resolution: "json5@npm:1.0.2" - dependencies: - minimist: ^1.2.0 - bin: - json5: lib/cli.js - checksum: 866458a8c58a95a49bef3adba929c625e82532bcff1fe93f01d29cb02cac7c3fe1f4b79951b7792c2da9de0b32871a8401a6e3c5b36778ad852bf5b8a61165d7 - languageName: node - linkType: hard - -"jsx-ast-utils@npm:^2.4.1 || ^3.0.0, jsx-ast-utils@npm:^3.3.5": - version: 3.3.5 - resolution: "jsx-ast-utils@npm:3.3.5" - dependencies: - array-includes: ^3.1.6 - array.prototype.flat: ^1.3.1 - object.assign: ^4.1.4 - object.values: ^1.1.6 - checksum: f4b05fa4d7b5234230c905cfa88d36dc8a58a6666975a3891429b1a8cdc8a140bca76c297225cb7a499fad25a2c052ac93934449a2c31a44fc9edd06c773780a - languageName: node - linkType: hard - "keyv@npm:^4.5.3": version: 4.5.4 resolution: "keyv@npm:4.5.4" @@ -2499,22 +1529,6 @@ __metadata: languageName: node linkType: hard -"language-subtag-registry@npm:^0.3.20": - version: 0.3.22 - resolution: "language-subtag-registry@npm:0.3.22" - checksum: 8ab70a7e0e055fe977ac16ea4c261faec7205ac43db5e806f72e5b59606939a3b972c4bd1e10e323b35d6ffa97c3e1c4c99f6553069dad2dfdd22020fa3eb56a - languageName: node - linkType: hard - -"language-tags@npm:^1.0.9": - version: 1.0.9 - resolution: "language-tags@npm:1.0.9" - dependencies: - language-subtag-registry: ^0.3.20 - checksum: 57c530796dc7179914dee71bc94f3747fd694612480241d0453a063777265dfe3a951037f7acb48f456bf167d6eb419d4c00263745326b3ba1cdcf4657070e78 - languageName: node - linkType: hard - "levn@npm:^0.4.1": version: 0.4.1 resolution: "levn@npm:0.4.1" @@ -2622,33 +1636,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^6.0.0": - version: 6.0.0 - resolution: "lru-cache@npm:6.0.0" - dependencies: - yallist: ^4.0.0 - checksum: f97f499f898f23e4585742138a22f22526254fdba6d75d41a1c2526b3b6cc5747ef59c5612ba7375f42aca4f8461950e925ba08c991ead0651b4918b7c978297 - languageName: node - linkType: hard - -"merge2@npm:^1.3.0, merge2@npm:^1.4.1": - version: 1.4.1 - resolution: "merge2@npm:1.4.1" - checksum: 7268db63ed5169466540b6fb947aec313200bcf6d40c5ab722c22e242f651994619bcd85601602972d3c85bd2cc45a358a4c61937e9f11a061919a1da569b0c2 - languageName: node - linkType: hard - -"micromatch@npm:^4.0.4": - version: 4.0.5 - resolution: "micromatch@npm:4.0.5" - dependencies: - braces: ^3.0.2 - picomatch: ^2.3.1 - checksum: 02a17b671c06e8fefeeb6ef996119c1e597c942e632a21ef589154f23898c9c6a9858526246abb14f8bca6e77734aa9dcf65476fca47cedfb80d9577d52843fc - languageName: node - linkType: hard - -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -2657,13 +1645,6 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.6": - version: 1.2.8 - resolution: "minimist@npm:1.2.8" - checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -2671,13 +1652,6 @@ __metadata: languageName: node linkType: hard -"ms@npm:^2.1.1": - version: 2.1.3 - resolution: "ms@npm:2.1.3" - checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d - languageName: node - linkType: hard - "mui-datatables@npm:^4.3.0": version: 4.3.0 resolution: "mui-datatables@npm:4.3.0" @@ -2739,7 +1713,6 @@ __metadata: "@mui/material": ^5.14.17 "@reduxjs/toolkit": ^1.9.7 eslint: ^8 - eslint-config-next: 12 mui-datatables: ^4.3.0 next: 12 react: 17 @@ -2824,87 +1797,6 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.13.1, object-inspect@npm:^1.9.0": - version: 1.13.1 - resolution: "object-inspect@npm:1.13.1" - checksum: 7d9fa9221de3311dcb5c7c307ee5dc011cdd31dc43624b7c184b3840514e118e05ef0002be5388304c416c0eb592feb46e983db12577fc47e47d5752fbbfb61f - languageName: node - linkType: hard - -"object-keys@npm:^1.1.1": - version: 1.1.1 - resolution: "object-keys@npm:1.1.1" - checksum: b363c5e7644b1e1b04aa507e88dcb8e3a2f52b6ffd0ea801e4c7a62d5aa559affe21c55a07fd4b1fd55fc03a33c610d73426664b20032405d7b92a1414c34d6a - languageName: node - linkType: hard - -"object.assign@npm:^4.1.4": - version: 4.1.4 - resolution: "object.assign@npm:4.1.4" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - has-symbols: ^1.0.3 - object-keys: ^1.1.1 - checksum: 76cab513a5999acbfe0ff355f15a6a125e71805fcf53de4e9d4e082e1989bdb81d1e329291e1e4e0ae7719f0e4ef80e88fb2d367ae60500d79d25a6224ac8864 - languageName: node - linkType: hard - -"object.entries@npm:^1.1.6, object.entries@npm:^1.1.7": - version: 1.1.7 - resolution: "object.entries@npm:1.1.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: da287d434e7e32989586cd734382364ba826a2527f2bc82e6acbf9f9bfafa35d51018b66ec02543ffdfa2a5ba4af2b6f1ca6e588c65030cb4fd9c67d6ced594c - languageName: node - linkType: hard - -"object.fromentries@npm:^2.0.6, object.fromentries@npm:^2.0.7": - version: 2.0.7 - resolution: "object.fromentries@npm:2.0.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 7341ce246e248b39a431b87a9ddd331ff52a454deb79afebc95609f94b1f8238966cf21f52188f2a353f0fdf83294f32f1ebf1f7826aae915ebad21fd0678065 - languageName: node - linkType: hard - -"object.groupby@npm:^1.0.1": - version: 1.0.1 - resolution: "object.groupby@npm:1.0.1" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - checksum: d7959d6eaaba358b1608066fc67ac97f23ce6f573dc8fc661f68c52be165266fcb02937076aedb0e42722fdda0bdc0bbf74778196ac04868178888e9fd3b78b5 - languageName: node - linkType: hard - -"object.hasown@npm:^1.1.2": - version: 1.1.3 - resolution: "object.hasown@npm:1.1.3" - dependencies: - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 76bc17356f6124542fb47e5d0e78d531eafa4bba3fc2d6fc4b1a8ce8b6878912366c0d99f37ce5c84ada8fd79df7aa6ea1214fddf721f43e093ad2df51f27da1 - languageName: node - linkType: hard - -"object.values@npm:^1.1.6, object.values@npm:^1.1.7": - version: 1.1.7 - resolution: "object.values@npm:1.1.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: f3e4ae4f21eb1cc7cebb6ce036d4c67b36e1c750428d7b7623c56a0db90edced63d08af8a316d81dfb7c41a3a5fa81b05b7cc9426e98d7da986b1682460f0777 - languageName: node - linkType: hard - "once@npm:^1.3.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -3016,13 +1908,6 @@ __metadata: languageName: node linkType: hard -"picomatch@npm:^2.3.1": - version: 2.3.1 - resolution: "picomatch@npm:2.3.1" - checksum: 050c865ce81119c4822c45d3c84f1ced46f93a0126febae20737bd05ca20589c564d6e9226977df859ed5e03dc73f02584a2b0faad36e896936238238b0446cf - languageName: node - linkType: hard - "postcss@npm:8.4.14": version: 8.4.14 resolution: "postcss@npm:8.4.14" @@ -3301,20 +2186,6 @@ __metadata: languageName: node linkType: hard -"reflect.getprototypeof@npm:^1.0.4": - version: 1.0.4 - resolution: "reflect.getprototypeof@npm:1.0.4" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - globalthis: ^1.0.3 - which-builtin-type: ^1.1.3 - checksum: 16e2361988dbdd23274b53fb2b1b9cefeab876c3941a2543b4cadac6f989e3db3957b07a44aac46cfceb3e06e2871785ec2aac992d824f76292f3b5ee87f66f2 - languageName: node - linkType: hard - "regenerator-runtime@npm:^0.14.0": version: 0.14.0 resolution: "regenerator-runtime@npm:0.14.0" @@ -3322,17 +2193,6 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.1": - version: 1.5.1 - resolution: "regexp.prototype.flags@npm:1.5.1" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - set-function-name: ^2.0.0 - checksum: 869edff00288442f8d7fa4c9327f91d85f3b3acf8cbbef9ea7a220345cf23e9241b6def9263d2c1ebcf3a316b0aa52ad26a43a84aa02baca3381717b3e307f47 - languageName: node - linkType: hard - "reselect@npm:^4.1.8": version: 4.1.8 resolution: "reselect@npm:4.1.8" @@ -3347,7 +2207,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.19.0, resolve@npm:^1.22.0, resolve@npm:^1.22.4": +"resolve@npm:^1.19.0": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -3360,20 +2220,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^2.0.0-next.4": - version: 2.0.0-next.5 - resolution: "resolve@npm:2.0.0-next.5" - dependencies: - is-core-module: ^2.13.0 - path-parse: ^1.0.7 - supports-preserve-symlinks-flag: ^1.0.0 - bin: - resolve: bin/resolve - checksum: a73ac69a1c4bd34c56b213d91f5b17ce390688fdb4a1a96ed3025cc7e08e7bfb90b3a06fcce461780cb0b589c958afcb0080ab802c71c01a7ecc8c64feafc89f - languageName: node - linkType: hard - -"resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.22.0#~builtin, resolve@patch:resolve@^1.22.4#~builtin": +"resolve@patch:resolve@^1.19.0#~builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -3386,19 +2233,6 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^2.0.0-next.4#~builtin": - version: 2.0.0-next.5 - resolution: "resolve@patch:resolve@npm%3A2.0.0-next.5#~builtin::version=2.0.0-next.5&hash=c3c19d" - dependencies: - is-core-module: ^2.13.0 - path-parse: ^1.0.7 - supports-preserve-symlinks-flag: ^1.0.0 - bin: - resolve: bin/resolve - checksum: 064d09c1808d0c51b3d90b5d27e198e6d0c5dad0eb57065fd40803d6a20553e5398b07f76739d69cbabc12547058bec6b32106ea66622375fb0d7e8fca6a846c - languageName: node - linkType: hard - "reusify@npm:^1.0.4": version: 1.0.4 resolution: "reusify@npm:1.0.4" @@ -3426,29 +2260,6 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.0.1": - version: 1.0.1 - resolution: "safe-array-concat@npm:1.0.1" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.1 - has-symbols: ^1.0.3 - isarray: ^2.0.5 - checksum: 001ecf1d8af398251cbfabaf30ed66e3855127fbceee178179524b24160b49d15442f94ed6c0db0b2e796da76bb05b73bf3cc241490ec9c2b741b41d33058581 - languageName: node - linkType: hard - -"safe-regex-test@npm:^1.0.0": - version: 1.0.0 - resolution: "safe-regex-test@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.3 - is-regex: ^1.1.4 - checksum: bc566d8beb8b43c01b94e67de3f070fd2781685e835959bbbaaec91cc53381145ca91f69bd837ce6ec244817afa0a5e974fc4e40a2957f0aca68ac3add1ddd34 - languageName: node - linkType: hard - "scheduler@npm:^0.20.2": version: 0.20.2 resolution: "scheduler@npm:0.20.2" @@ -3468,49 +2279,6 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.3.1": - version: 6.3.1 - resolution: "semver@npm:6.3.1" - bin: - semver: bin/semver.js - checksum: ae47d06de28836adb9d3e25f22a92943477371292d9b665fb023fae278d345d508ca1958232af086d85e0155aee22e313e100971898bbb8d5d89b8b1d4054ca2 - languageName: node - linkType: hard - -"semver@npm:^7.3.7": - version: 7.5.4 - resolution: "semver@npm:7.5.4" - dependencies: - lru-cache: ^6.0.0 - bin: - semver: bin/semver.js - checksum: 12d8ad952fa353b0995bf180cdac205a4068b759a140e5d3c608317098b3575ac2f1e09182206bf2eb26120e1c0ed8fb92c48c592f6099680de56bb071423ca3 - languageName: node - linkType: hard - -"set-function-length@npm:^1.1.1": - version: 1.1.1 - resolution: "set-function-length@npm:1.1.1" - dependencies: - define-data-property: ^1.1.1 - get-intrinsic: ^1.2.1 - gopd: ^1.0.1 - has-property-descriptors: ^1.0.0 - checksum: c131d7569cd7e110cafdfbfbb0557249b538477624dfac4fc18c376d879672fa52563b74029ca01f8f4583a8acb35bb1e873d573a24edb80d978a7ee607c6e06 - languageName: node - linkType: hard - -"set-function-name@npm:^2.0.0, set-function-name@npm:^2.0.1": - version: 2.0.1 - resolution: "set-function-name@npm:2.0.1" - dependencies: - define-data-property: ^1.0.1 - functions-have-names: ^1.2.3 - has-property-descriptors: ^1.0.0 - checksum: 4975d17d90c40168eee2c7c9c59d023429f0a1690a89d75656306481ece0c3c1fb1ebcc0150ea546d1913e35fbd037bace91372c69e543e51fc5d1f31a9fa126 - languageName: node - linkType: hard - "shebang-command@npm:^2.0.0": version: 2.0.0 resolution: "shebang-command@npm:2.0.0" @@ -3527,24 +2295,6 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4": - version: 1.0.4 - resolution: "side-channel@npm:1.0.4" - dependencies: - call-bind: ^1.0.0 - get-intrinsic: ^1.0.2 - object-inspect: ^1.9.0 - checksum: 351e41b947079c10bd0858364f32bb3a7379514c399edb64ab3dce683933483fc63fb5e4efe0a15a2e8a7e3c436b6a91736ddb8d8c6591b0460a24bb4a1ee245 - languageName: node - linkType: hard - -"slash@npm:^3.0.0": - version: 3.0.0 - resolution: "slash@npm:3.0.0" - checksum: 94a93fff615f25a999ad4b83c9d5e257a7280c90a32a7cb8b4a87996e4babf322e469c42b7f649fd5796edd8687652f3fb452a86dc97a816f01113183393f11c - languageName: node - linkType: hard - "source-map-js@npm:^1.0.2": version: 1.0.2 resolution: "source-map-js@npm:1.0.2" @@ -3559,56 +2309,6 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.8": - version: 4.0.10 - resolution: "string.prototype.matchall@npm:4.0.10" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - has-symbols: ^1.0.3 - internal-slot: ^1.0.5 - regexp.prototype.flags: ^1.5.0 - set-function-name: ^2.0.0 - side-channel: ^1.0.4 - checksum: 3c78bdeff39360c8e435d7c4c6ea19f454aa7a63eda95fa6fadc3a5b984446a2f9f2c02d5c94171ce22268a573524263fbd0c8edbe3ce2e9890d7cc036cdc3ed - languageName: node - linkType: hard - -"string.prototype.trim@npm:^1.2.8": - version: 1.2.8 - resolution: "string.prototype.trim@npm:1.2.8" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 49eb1a862a53aba73c3fb6c2a53f5463173cb1f4512374b623bcd6b43ad49dd559a06fb5789bdec771a40fc4d2a564411c0a75d35fb27e76bbe738c211ecff07 - languageName: node - linkType: hard - -"string.prototype.trimend@npm:^1.0.7": - version: 1.0.7 - resolution: "string.prototype.trimend@npm:1.0.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 2375516272fd1ba75992f4c4aa88a7b5f3c7a9ca308d963bcd5645adf689eba6f8a04ebab80c33e30ec0aefc6554181a3a8416015c38da0aa118e60ec896310c - languageName: node - linkType: hard - -"string.prototype.trimstart@npm:^1.0.7": - version: 1.0.7 - resolution: "string.prototype.trimstart@npm:1.0.7" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - checksum: 13d0c2cb0d5ff9e926fa0bec559158b062eed2b68cd5be777ffba782c96b2b492944e47057274e064549b94dd27cf81f48b27a31fee8af5b574cff253e7eb613 - languageName: node - linkType: hard - "strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" @@ -3618,13 +2318,6 @@ __metadata: languageName: node linkType: hard -"strip-bom@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-bom@npm:3.0.0" - checksum: 8d50ff27b7ebe5ecc78f1fe1e00fcdff7af014e73cf724b46fb81ef889eeb1015fc5184b64e81a2efe002180f3ba431bdd77e300da5c6685d702780fbf0c8d5b - languageName: node - linkType: hard - "strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" @@ -3692,34 +2385,6 @@ __metadata: languageName: node linkType: hard -"to-regex-range@npm:^5.0.1": - version: 5.0.1 - resolution: "to-regex-range@npm:5.0.1" - dependencies: - is-number: ^7.0.0 - checksum: f76fa01b3d5be85db6a2a143e24df9f60dd047d151062d0ba3df62953f2f697b16fe5dad9b0ac6191c7efc7b1d9dcaa4b768174b7b29da89d4428e64bc0a20ed - languageName: node - linkType: hard - -"tsconfig-paths@npm:^3.14.1, tsconfig-paths@npm:^3.14.2": - version: 3.14.2 - resolution: "tsconfig-paths@npm:3.14.2" - dependencies: - "@types/json5": ^0.0.29 - json5: ^1.0.2 - minimist: ^1.2.6 - strip-bom: ^3.0.0 - checksum: a6162eaa1aed680537f93621b82399c7856afd10ec299867b13a0675e981acac4e0ec00896860480efc59fc10fd0b16fdc928c0b885865b52be62cadac692447 - languageName: node - linkType: hard - -"tslib@npm:^1.8.1": - version: 1.14.1 - resolution: "tslib@npm:1.14.1" - checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd - languageName: node - linkType: hard - "tslib@npm:^2.4.0": version: 2.6.2 resolution: "tslib@npm:2.6.2" @@ -3745,17 +2410,6 @@ __metadata: languageName: node linkType: hard -"tsutils@npm:^3.21.0": - version: 3.21.0 - resolution: "tsutils@npm:3.21.0" - dependencies: - tslib: ^1.8.1 - peerDependencies: - typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - checksum: 1843f4c1b2e0f975e08c4c21caa4af4f7f65a12ac1b81b3b8489366826259323feb3fc7a243123453d2d1a02314205a7634e048d4a8009921da19f99755cdc48 - languageName: node - linkType: hard - "type-check@npm:^0.4.0, type-check@npm:~0.4.0": version: 0.4.0 resolution: "type-check@npm:0.4.0" @@ -3772,65 +2426,6 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-buffer@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.1 - is-typed-array: ^1.1.10 - checksum: 3e0281c79b2a40cd97fe715db803884301993f4e8c18e8d79d75fd18f796e8cd203310fec8c7fdb5e6c09bedf0af4f6ab8b75eb3d3a85da69328f28a80456bd3 - languageName: node - linkType: hard - -"typed-array-byte-length@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-length@npm:1.0.0" - dependencies: - call-bind: ^1.0.2 - for-each: ^0.3.3 - has-proto: ^1.0.1 - is-typed-array: ^1.1.10 - checksum: b03db16458322b263d87a702ff25388293f1356326c8a678d7515767ef563ef80e1e67ce648b821ec13178dd628eb2afdc19f97001ceae7a31acf674c849af94 - languageName: node - linkType: hard - -"typed-array-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "typed-array-byte-offset@npm:1.0.0" - dependencies: - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.2 - for-each: ^0.3.3 - has-proto: ^1.0.1 - is-typed-array: ^1.1.10 - checksum: 04f6f02d0e9a948a95fbfe0d5a70b002191fae0b8fe0fe3130a9b2336f043daf7a3dda56a31333c35a067a97e13f539949ab261ca0f3692c41603a46a94e960b - languageName: node - linkType: hard - -"typed-array-length@npm:^1.0.4": - version: 1.0.4 - resolution: "typed-array-length@npm:1.0.4" - dependencies: - call-bind: ^1.0.2 - for-each: ^0.3.3 - is-typed-array: ^1.1.9 - checksum: 2228febc93c7feff142b8c96a58d4a0d7623ecde6c7a24b2b98eb3170e99f7c7eff8c114f9b283085cd59dcd2bd43aadf20e25bba4b034a53c5bb292f71f8956 - languageName: node - linkType: hard - -"unbox-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "unbox-primitive@npm:1.0.2" - dependencies: - call-bind: ^1.0.2 - has-bigints: ^1.0.2 - has-symbols: ^1.0.3 - which-boxed-primitive: ^1.0.2 - checksum: b7a1cf5862b5e4b5deb091672ffa579aa274f648410009c81cca63fed3b62b610c4f3b773f912ce545bb4e31edc3138975b5bc777fc6e4817dca51affb6380e9 - languageName: node - linkType: hard - "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -3849,64 +2444,6 @@ __metadata: languageName: node linkType: hard -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" - dependencies: - is-bigint: ^1.0.1 - is-boolean-object: ^1.1.0 - is-number-object: ^1.0.4 - is-string: ^1.0.5 - is-symbol: ^1.0.3 - checksum: 53ce774c7379071729533922adcca47220228405e1895f26673bbd71bdf7fb09bee38c1d6399395927c6289476b5ae0629863427fd151491b71c4b6cb04f3a5e - languageName: node - linkType: hard - -"which-builtin-type@npm:^1.1.3": - version: 1.1.3 - resolution: "which-builtin-type@npm:1.1.3" - dependencies: - function.prototype.name: ^1.1.5 - has-tostringtag: ^1.0.0 - is-async-function: ^2.0.0 - is-date-object: ^1.0.5 - is-finalizationregistry: ^1.0.2 - is-generator-function: ^1.0.10 - is-regex: ^1.1.4 - is-weakref: ^1.0.2 - isarray: ^2.0.5 - which-boxed-primitive: ^1.0.2 - which-collection: ^1.0.1 - which-typed-array: ^1.1.9 - checksum: 43730f7d8660ff9e33d1d3f9f9451c4784265ee7bf222babc35e61674a11a08e1c2925019d6c03154fcaaca4541df43abe35d2720843b9b4cbcebdcc31408f36 - languageName: node - linkType: hard - -"which-collection@npm:^1.0.1": - version: 1.0.1 - resolution: "which-collection@npm:1.0.1" - dependencies: - is-map: ^2.0.1 - is-set: ^2.0.1 - is-weakmap: ^2.0.1 - is-weakset: ^2.0.1 - checksum: c815bbd163107ef9cb84f135e6f34453eaf4cca994e7ba85ddb0d27cea724c623fae2a473ceccfd5549c53cc65a5d82692de418166df3f858e1e5dc60818581c - languageName: node - linkType: hard - -"which-typed-array@npm:^1.1.11, which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.9": - version: 1.1.13 - resolution: "which-typed-array@npm:1.1.13" - dependencies: - available-typed-arrays: ^1.0.5 - call-bind: ^1.0.4 - for-each: ^0.3.3 - gopd: ^1.0.1 - has-tostringtag: ^1.0.0 - checksum: 3828a0d5d72c800e369d447e54c7620742a4cc0c9baf1b5e8c17e9b6ff90d8d861a3a6dd4800f1953dbf80e5e5cec954a289e5b4a223e3bee4aeb1f8c5f33309 - languageName: node - linkType: hard - "which@npm:^2.0.1": version: 2.0.2 resolution: "which@npm:2.0.2" @@ -3925,13 +2462,6 @@ __metadata: languageName: node linkType: hard -"yallist@npm:^4.0.0": - version: 4.0.0 - resolution: "yallist@npm:4.0.0" - checksum: 343617202af32df2a15a3be36a5a8c0c8545208f3d3dfbc6bb7c3e3b7e8c6f8e7485432e4f3b88da3031a6e20afa7c711eded32ddfb122896ac5d914e75848d5 - languageName: node - linkType: hard - "yaml@npm:^1.10.0": version: 1.10.2 resolution: "yaml@npm:1.10.2" diff --git a/commitlint.config.js b/commitlint.config.js index 28fe5c5b..422b1944 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1 +1 @@ -module.exports = {extends: ['@commitlint/config-conventional']} +module.exports = { extends: ['@commitlint/config-conventional'] }; diff --git a/package.json b/package.json index 520e81be..0d9ea093 100644 --- a/package.json +++ b/package.json @@ -9,38 +9,53 @@ "packages/*" ], "scripts": { - "prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"", - "commit:sign": "git cz -S", - "clean": "lerna clean -y", "build-all": "lerna run build", - "format:check": "prettier --check \"**/*.{ts,tsx,md}\" --config ./.prettierrc", - "format:write": "prettier --write \"**/*.{ts,tsx,md}\" --config ./.prettierrc", + "clean": "lerna clean -y", + "commit:sign": "git cz -S", + "eslint": "eslint --cache .", + "format:check": "prettier --check \"**/*.{js,jsx,ts,tsx}\" --config ./.prettierrc", + "format:write": "prettier --write \"**/*.{js,jsx,ts,tsx}\" --config ./.prettierrc", "postinstall": "husky install", - "lint": "eslint ." + "lint": "yarn eslint && yarn prettier-eslint --list-different", + "lint:fix": "yarn eslint --fix", + "prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"", + "prettier-eslint": "yarn run prettier-eslint \"`pwd`/**/*.{ts,tsx}\"" }, "lint-staged": { - "*.{ts,tsx,md}": [ + "*.{js,jsx,ts,tsx}": [ "eslint --fix", - "yarn format:write" - ] + "prettier --write -u" + ], + "!**/*.{js,ts,jsx,tsx}": "prettier --write -u" + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } }, "devDependencies": { + "@babel/core": "^7.23.3", + "@babel/eslint-parser": "^7.23.3", "@commitlint/cli": "^17.7.2", "@commitlint/config-conventional": "^17.7.0", "cz-conventional-changelog": "^3.3.0", - "eslint": "^8.49.0", + "eslint": "^8.13.0", + "eslint-config-next": "^14.0.3", + "eslint-config-semistandard": "latest", + "eslint-config-standard": "^17.0.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-n": "^15.0.0", + "eslint-plugin-promise": "^6.0.0", + "eslint-plugin-react": "^7.33.2", "husky": "^8.0.0", "lerna": "^7.3.0", "lint-staged": "^14.0.1", "prettier": "^3.0.3", + "prettier-eslint": "^16.1.2", + "prettier-eslint-cli": "^8.0.1", "prettier-plugin-organize-imports": "^3.2.3", "tsconfig": "workspace:^", "typescript": "^5.2.2" }, - "packageManager": "yarn@3.6.3", - "config": { - "commitizen": { - "path": "cz-conventional-changelog" - } - } + "packageManager": "yarn@3.6.3" } diff --git a/packages/eslint-config-sistent/base.config.js b/packages/eslint-config-sistent/base.config.js index a6acecc9..70b9dde3 100644 --- a/packages/eslint-config-sistent/base.config.js +++ b/packages/eslint-config-sistent/base.config.js @@ -1,76 +1,90 @@ module.exports = { - env: { - browser: true, - es2021: true + env: { + browser: true, + es2021: true + }, + extends: [ + 'eslint:recommended', + 'standard-with-typescript', + 'plugin:react/recommended', + 'plugin:cypress/recommended', + 'plugin:prettier/recommended' + ], + parser: '@babel/eslint-parser', + parserOptions: { + ecmaFeatures: { + jsx: true }, - extends: [ - 'eslint:recommended', - 'standard-with-typescript', - 'plugin:react/recommended', - 'plugin:cypress/recommended', - 'plugin:prettier/recommended', + ecmaVersion: 'latest', + sourceType: 'module', + requireConfigFile: false + }, + plugins: ['react', 'cypress'], + rules: { + '@next/next/no-html-link-for-pages': 'off', + '@next/next/no-img-element': 'off', + 'react-hooks/rules-of-hooks': 'warn', + 'react-hooks/exhaustive-deps': 'off', + 'jsx-a11y/alt-text': 'off', + 'valid-typeof': 'warn', + 'array-bracket-spacing': ['error', 'never'], + 'comma-style': ['error'], + 'jsx-quotes': ['error', 'prefer-double'], + 'block-scoped-var': 'error', + 'keyword-spacing': 'error', + 'no-trailing-spaces': 'error', + 'object-curly-spacing': ['error', 'always'], + 'arrow-spacing': [ + 'error', + { + before: true, + after: true + } ], - parser: "@babel/eslint-parser", - parserOptions: { - ecmaFeatures: { - jsx: true + 'key-spacing': [ + 'error', + { + beforeColon: true, + afterColon: true + } + ], + 'block-spacing': 'error', + 'brace-style': ['error', '1tbs'], + indent: [ + 'error', + 2, + { + FunctionExpression: { + parameters: 'first' }, - ecmaVersion: 'latest', - sourceType: 'module', - }, - plugins: ['react', 'cypress'], - rules: { - "@next/next/no-html-link-for-pages": "off", - "@next/next/no-img-element": "off", - "react-hooks/rules-of-hooks": "warn", - "react-hooks/exhaustive-deps": "off", - "jsx-a11y/alt-text": "off", - "valid-typeof": "warn", - "array-bracket-spacing": ["error", "never"], - "comma-style": ["error"], - "jsx-quotes": ["error", "prefer-double"], - "block-scoped-var": "error", - "keyword-spacing": "error", - "no-trailing-spaces": "error", - "object-curly-spacing": ["error", "always"], - "arrow-spacing": ["error", { - "before": true, - "after": true - }], - "key-spacing": ["error", { - "beforeColon": true, - "afterColon": true - }], - "block-spacing": "error", - "brace-style": ["error", "1tbs"], - "indent": ["error", 2, { - "FunctionExpression": { - "parameters": "first" - }, - "FunctionDeclaration": { - "parameters": "first" - }, - "MemberExpression": 1, - "SwitchCase": 1, - "outerIIFEBody": 0, - "VariableDeclarator": { - "var": 2, - "let": 2, - "const": 3 - }, - ignoredNodes: ["TemplateLiteral"] - }], - "react/react-in-jsx-scope": "off", - "no-undef": "error", - "react/jsx-uses-vars": [2], - "react/jsx-no-undef": "error", - "no-console": 0, - "no-unused-vars": "error", - "react/jsx-key": "warn", - "no-dupe-keys": "error", - "react/jsx-filename-extension": [1, { - "extensions": [".js", ".jsx"] - }], - "react/prop-types": "off" - } + FunctionDeclaration: { + parameters: 'first' + }, + MemberExpression: 1, + SwitchCase: 1, + outerIIFEBody: 0, + VariableDeclarator: { + var: 2, + let: 2, + const: 3 + }, + ignoredNodes: ['TemplateLiteral'] + } + ], + 'react/react-in-jsx-scope': 'off', + 'no-undef': 'error', + 'react/jsx-uses-vars': [2], + 'react/jsx-no-undef': 'error', + 'no-console': 0, + 'no-unused-vars': 'error', + 'react/jsx-key': 'warn', + 'no-dupe-keys': 'error', + 'react/jsx-filename-extension': [ + 1, + { + extensions: ['.js', '.jsx'] + } + ], + 'react/prop-types': 'off' + } }; diff --git a/packages/eslint-config-sistent/components.js b/packages/eslint-config-sistent/components.js index d00c1f7e..55898b6d 100644 --- a/packages/eslint-config-sistent/components.js +++ b/packages/eslint-config-sistent/components.js @@ -1,30 +1,31 @@ module.exports = { - env: { - browser: true, - es2021: true - }, - extends: [ - 'standard-with-typescript', - 'plugin:react/recommended', - 'plugin:react/recommended', - 'plugin:prettier/recommended' - ], - overrides: [ - { - files: ['.eslintrc.{js,cjs}'], - parserOptions: { - project: null, - sourceType: 'script' - }, - rules: { - "@typescript-eslint/*": "off" - } - } - ], - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module' - }, - plugins: ['react'], - rules: {} -}; \ No newline at end of file + env: { + browser: true, + es2021: true + }, + extends: [ + 'standard-with-typescript', + 'plugin:react/recommended', + 'plugin:react/recommended', + 'plugin:prettier/recommended' + ], + overrides: [ + { + files: ['.eslintrc.{js,cjs}'], + parserOptions: { + project: null, + sourceType: 'script', + requireConfigFile: false + }, + rules: { + '@typescript-eslint/*': 'off' + } + } + ], + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module' + }, + plugins: ['react'], + rules: {} +}; diff --git a/packages/eslint-config-sistent/index.js b/packages/eslint-config-sistent/index.js index 8470c360..077d8e64 100644 --- a/packages/eslint-config-sistent/index.js +++ b/packages/eslint-config-sistent/index.js @@ -1,2 +1,2 @@ -module.exports = require("./base.config.js") -module.exports = require("./components.js") \ No newline at end of file +module.exports = require('./base.config.js'); +module.exports = require('./components.js'); diff --git a/packages/eslint-config-sistent/next-config.js b/packages/eslint-config-sistent/next-config.js index c6efd235..e7e90d30 100644 --- a/packages/eslint-config-sistent/next-config.js +++ b/packages/eslint-config-sistent/next-config.js @@ -1,11 +1,11 @@ module.exports = { - extends: ["next", "prettier"], - rules: { - "@next/next/no-html-link-for-pages": "off", - }, - parserOptions: { - babelOptions: { - presets: [require.resolve("next/babel")], - }, - }, -}; \ No newline at end of file + extends: ['next', 'prettier'], + rules: { + '@next/next/no-html-link-for-pages': 'off' + }, + parserOptions: { + babelOptions: { + presets: [require.resolve('next/babel')] + } + } +}; diff --git a/packages/eslint-config-sistent/overrides.config.js b/packages/eslint-config-sistent/overrides.config.js index 217435ce..382e18f0 100644 --- a/packages/eslint-config-sistent/overrides.config.js +++ b/packages/eslint-config-sistent/overrides.config.js @@ -1,13 +1,14 @@ module.exports = { - overrides: [ - { - env: { - node: true - }, - files: ['.eslintrc.{js,cjs}'], - parserOptions: { - sourceType: 'script' - } - } - ] + overrides: [ + { + env: { + node: true + }, + files: ['.eslintrc.{js,cjs}'], + parserOptions: { + sourceType: 'script', + requireConfigFile: false + } + } + ] }; diff --git a/packages/eslint-config-sistent/storybook.config.js b/packages/eslint-config-sistent/storybook.config.js index 09fa3a65..af837177 100644 --- a/packages/eslint-config-sistent/storybook.config.js +++ b/packages/eslint-config-sistent/storybook.config.js @@ -1,9 +1,9 @@ module.exports = { - env: { - browser: true, - node: true // Storybook's configuration can access Node.js APIs - }, - rules: { - // ... Storybook specific rules or overrides - } + env: { + browser: true, + node: true // Storybook's configuration can access Node.js APIs + }, + rules: { + // ... Storybook specific rules or overrides + } }; diff --git a/packages/svg/jest.config.js b/packages/svg/jest.config.js index 701b86ee..e648e6f2 100644 --- a/packages/svg/jest.config.js +++ b/packages/svg/jest.config.js @@ -1,12 +1,12 @@ module.exports = { - preset: 'ts-jest', - testEnvironment: 'jsdom', - coverageThreshold: { - global: { - branches: 80, - functions: 80, - lines: 80, - statements: 80, - }, - }, + preset: 'ts-jest', + testEnvironment: 'jsdom', + coverageThreshold: { + global: { + branches: 80, + functions: 80, + lines: 80, + statements: 80 + } + } }; diff --git a/site/gatsby-browser.js b/site/gatsby-browser.js index bfad2025..0b19a0c6 100644 --- a/site/gatsby-browser.js +++ b/site/gatsby-browser.js @@ -1,7 +1,4 @@ -import React from 'react' -import "./src/styles/global.css" -import { ThemeProvider } from "./src/components/Theme" +import { ThemeProvider } from './src/components/Theme'; +import './src/styles/global.css'; -export const wrapRootElement = ({ element }) => ( - {element} -) \ No newline at end of file +export const wrapRootElement = ({ element }) => {element}; diff --git a/site/gatsby-config.js b/site/gatsby-config.js index 8a037186..b53d6659 100644 --- a/site/gatsby-config.js +++ b/site/gatsby-config.js @@ -3,8 +3,8 @@ */ module.exports = { siteMetadata: { - title: `Sistent Design System | Layer5`, - siteUrl: `https://design.layer5.io` + title: 'Sistent Design System | Layer5', + siteUrl: 'https://design.layer5.io' }, - plugins: ["gatsby-plugin-postcss"] -}; \ No newline at end of file + plugins: ['gatsby-plugin-postcss'] +}; diff --git a/site/postcss.config.js b/site/postcss.config.js index 33ad091d..5cbc2c7d 100644 --- a/site/postcss.config.js +++ b/site/postcss.config.js @@ -1,6 +1,6 @@ module.exports = { plugins: { tailwindcss: {}, - autoprefixer: {}, - }, -} + autoprefixer: {} + } +}; diff --git a/site/src/components/Dropdown/index.js b/site/src/components/Dropdown/index.js index 1da89a43..57ff31a4 100644 --- a/site/src/components/Dropdown/index.js +++ b/site/src/components/Dropdown/index.js @@ -1,30 +1,30 @@ -import React, { useState } from "react"; -import Sidebar from "../Sidebar"; +import { useState } from 'react'; +import Sidebar from '../Sidebar'; -const Dropdown = ()=> { - const [drop1,setDrop1] = useState(false); - const [drop2,setDrop2] = useState(false); - const [drop3,setDrop3] = useState(false); - const [drop4,setDrop4] = useState(false); - const [drop5,setDrop5] = useState(false); +const Dropdown = () => { + const [drop1, setDrop1] = useState(false); + const [drop2, setDrop2] = useState(false); + const [drop3, setDrop3] = useState(false); + const [drop4, setDrop4] = useState(false); + const [drop5, setDrop5] = useState(false); - const toggleChevron1 = ()=>{ - setDrop1(prevDrop=>!prevDrop); - } - const toggleChevron2 = ()=>{ - setDrop2(prevDrop=>!prevDrop); - } - const toggleChevron3 = ()=>{ - setDrop3(prevDrop=>!prevDrop); - } - const toggleChevron4 = ()=>{ - setDrop4(prevDrop=>!prevDrop); - } - const toggleChevron5 = ()=>{ - setDrop5(prevDrop=>!prevDrop); - } - return ( - { + setDrop1((prevDrop) => !prevDrop); + }; + const toggleChevron2 = () => { + setDrop2((prevDrop) => !prevDrop); + }; + const toggleChevron3 = () => { + setDrop3((prevDrop) => !prevDrop); + }; + const toggleChevron4 = () => { + setDrop4((prevDrop) => !prevDrop); + }; + const toggleChevron5 = () => { + setDrop5((prevDrop) => !prevDrop); + }; + return ( + { toggleChevron3={toggleChevron3} toggleChevron4={toggleChevron4} toggleChevron5={toggleChevron5} - /> - ) -} + /> + ); +}; -export default Dropdown; \ No newline at end of file +export default Dropdown; diff --git a/site/src/components/Footer/index.js b/site/src/components/Footer/index.js index 800c1fbd..0684c6db 100644 --- a/site/src/components/Footer/index.js +++ b/site/src/components/Footer/index.js @@ -1,59 +1,84 @@ -import React from 'react'; - const Footer = () => { - return ( -
-
-
-
-
-
-
-
Sistent is a flexible system of guidelines, components, and tools that highlight best practices of user interface design. Supported by open-source code, Sisten Design System demistifies collaboration between designers and developers making the workflow seamless and enabling teams to create beautiful solutions.
-
-
-
-
-
-
GitHub
-
-
-
Twitter
-
-
-
YouTube
-
-
-
LinkedIn
-
-
-
-
-
Contact Us
-
-
-
Privacy
-
-
-
Terms of use
-
-
-
Accessibility
-
-
-
layer5.io
-
-
-
-
-
Any questions? Ask on https://discuss.layer5.io or open an issue on GitHub.
-
-
-
+ return ( +
+
+
+
+
+
+
+
+ Sistent is a flexible system of guidelines, components, and tools that highlight + best practices of user interface design. Supported by open-source code, Sisten + Design System demistifies collaboration between designers and developers making the + workflow seamless and enabling teams to create beautiful solutions. +
+
+
+
+
+
+
+ GitHub +
+
+
+
+ Twitter +
+
+
+
+ YouTube +
+
+
+
+ LinkedIn +
+
+
+
+
+
+ Contact Us +
+
+
+
+ Privacy +
+
+
+
+ Terms of use +
+
+
+
+ Accessibility +
+
+
+
+ layer5.io +
+
+
+
+
+
+ Any questions? Ask on{' '} + https://discuss.layer5.io or open an issue + on GitHub.
+
+
- ) -} +
+
+ ); +}; -export default Footer; \ No newline at end of file +export default Footer; diff --git a/site/src/components/Navigation/index.js b/site/src/components/Navigation/index.js index 87352145..b92cbceb 100644 --- a/site/src/components/Navigation/index.js +++ b/site/src/components/Navigation/index.js @@ -1,43 +1,60 @@ -import React, {useContext} from "react"; +import { useContext } from 'react'; import Search from '../../assets/images/Search.svg'; -import SearchDark from "../../assets/images/SearchDark.svg"; -import ThemeContext from "../Theme"; +import SearchDark from '../../assets/images/SearchDark.svg'; import Weather from '../../assets/images/Weather.svg'; import WeatherDark from '../../assets/images/WeatherDark.svg'; +import ThemeContext from '../Theme'; const Navbar = () => { - const theme = useContext(ThemeContext) + const theme = useContext(ThemeContext); - return ( - <> -
-
-
-
Sistent Design System
-
-
-
+ return ( + <> +
+
+
+
+ + Sistent{' '} + + + Design System + +
+
+
+
-
Guidelines
+
+ Guidelines +
-
Core Elements
+
+ Core Elements +
-
Resources
+
+ Resources +
+
+
+
+
+
-
-
-
-
+
+ +
+
-
-
-
- - ) +
+
+ + ); }; -export default Navbar; \ No newline at end of file +export default Navbar; diff --git a/site/src/components/Sidebar/index.js b/site/src/components/Sidebar/index.js index 33e326b1..97a59a3f 100644 --- a/site/src/components/Sidebar/index.js +++ b/site/src/components/Sidebar/index.js @@ -1,184 +1,299 @@ -import React, {useState} from 'react'; +import { useState } from 'react'; import { Link } from 'react-router-dom'; import ChevronLightUp from '../../assets/images/Chevron-light-up.svg'; import Chevron from '../../assets/images/Chevron-light.svg'; -import Dropdown from '../Dropdown'; const Sidebar = () => { - const [drop1,setDrop1] = useState(false); - const [drop2,setDrop2] = useState(false); - const [drop3,setDrop3] = useState(false); - const [drop4,setDrop4] = useState(false); - const [drop5,setDrop5] = useState(false); + const [drop1, setDrop1] = useState(false); + const [drop2, setDrop2] = useState(false); + const [drop3, setDrop3] = useState(false); + const [drop4, setDrop4] = useState(false); + const [drop5, setDrop5] = useState(false); - const toggleChevron1 = ()=>{ - setDrop1(prevDrop=>!prevDrop); - } - const toggleChevron2 = ()=>{ - setDrop2(prevDrop=>!prevDrop); - } - const toggleChevron3 = ()=>{ - setDrop3(prevDrop=>!prevDrop); - } - const toggleChevron4 = ()=>{ - setDrop4(prevDrop=>!prevDrop); - } - const toggleChevron5 = ()=>{ - setDrop5(prevDrop=>!prevDrop); - } - return ( -
-
-
-
- { drop1? -
-
-
About Sistent
-
/
-
-
-
Introduction
-
-
-
Principles
-
-
-
Contribution
-
-
-
Support
-
-
-
Case Studies
-
-
: -
-
About Sistent
-
/
-
} -
-
- { drop2? -
-
-
Identity
-
/
-
-
- Color -
-
- Typography -
-
- Spacing -
-
- Page Layouts -
-
- Elevation -
-
: - -
-
Identity
-
/
-
} -
-
- {drop3? -
-
-
Components
-
/
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
: -
-
Components
-
/
-
} -
-
- {drop4? -
-
-
Patterns & Templates
-
/
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
: -
-
Patterns & Templates
-
/
-
} -
-
- {drop5? -
-
-
Visualization & Illustration
-
/
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
-
Option 1
-
-
: -
-
Visualization & Illustration
-
/
-
} -
-
-
-
-
Hello
-
-
+ const toggleChevron1 = () => { + setDrop1((prevDrop) => !prevDrop); + }; + const toggleChevron2 = () => { + setDrop2((prevDrop) => !prevDrop); + }; + const toggleChevron3 = () => { + setDrop3((prevDrop) => !prevDrop); + }; + const toggleChevron4 = () => { + setDrop4((prevDrop) => !prevDrop); + }; + const toggleChevron5 = () => { + setDrop5((prevDrop) => !prevDrop); + }; + return ( +
+
+
+
+ {drop1 ? ( +
+
+
+ About Sistent +
+
+ / +
+
+
+
+ Introduction +
+
+
+
+ Principles +
+
+
+
+ Contribution +
+
+
+
+ Support +
+
+
+
+ Case Studies +
+
+
+ ) : ( +
+
+ About Sistent +
+
+ / +
+
+ )} +
+
+ {drop2 ? ( +
+
+
+ Identity +
+
+ / +
+
+
+ + Color + +
+
+ + Typography + +
+
+ + Spacing + +
+
+ + Page Layouts + +
+
+ + Elevation + +
+
+ ) : ( +
+
+ Identity +
+
+ / +
+
+ )} +
+
+ {drop3 ? ( +
+
+
+ Components +
+
+ / +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+ ) : ( +
+
+ Components +
+
+ / +
+
+ )} +
+
+ {drop4 ? ( +
+
+
+ Patterns & Templates +
+
+ / +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+ ) : ( +
+
+ Patterns & Templates +
+
+ / +
+
+ )} +
+
+ {drop5 ? ( +
+
+
+ Visualization & Illustration +
+
+ / +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+
+ Option 1 +
+
+
+ ) : ( +
+
+ Visualization & Illustration +
+
+ / +
+
+ )} +
+
+
+
+
+ Hello +
- ) -} +
+
+ ); +}; -export default Sidebar; \ No newline at end of file +export default Sidebar; diff --git a/site/src/components/Theme/index.js b/site/src/components/Theme/index.js index 2a5d91c1..3f42ce6d 100644 --- a/site/src/components/Theme/index.js +++ b/site/src/components/Theme/index.js @@ -1,8 +1,8 @@ -import React, { useState, useEffect } from "react"; +import React, { useEffect, useState } from 'react'; const defaultState = { dark: false, - toggleDark: () => {}, + toggleDark: () => {} }; const ThemeContext = React.createContext(defaultState); @@ -15,13 +15,13 @@ function ThemeProvider({ children }) { const toggleDark = () => { const newDark = !dark; - localStorage.setItem("dark", JSON.stringify(newDark)); + localStorage.setItem('dark', JSON.stringify(newDark)); setDark(newDark); }; useEffect(() => { // Getting dark mode value from localStorage! - const isDark = JSON.parse(localStorage.getItem("dark")); + const isDark = JSON.parse(localStorage.getItem('dark')); if (isDark) { setDark(isDark); } @@ -31,7 +31,7 @@ function ThemeProvider({ children }) { {children} diff --git a/site/src/pages/404.js b/site/src/pages/404.js index c843712c..e0506142 100644 --- a/site/src/pages/404.js +++ b/site/src/pages/404.js @@ -1,41 +1,44 @@ -import * as React from "react" -import { Link } from "gatsby" +import { Link } from 'gatsby'; const pageStyles = { - color: "#232129", - padding: "96px", - fontFamily: "-apple-system, Roboto, sans-serif, serif", -} + color: '#232129', + padding: '96px', + fontFamily: '-apple-system, Roboto, sans-serif, serif' +}; const headingStyles = { marginTop: 0, marginBottom: 64, - maxWidth: 320, -} + maxWidth: 320 +}; const paragraphStyles = { - marginBottom: 48, -} + marginBottom: 48 +}; const codeStyles = { - color: "#8A6534", + color: '#8A6534', padding: 4, - backgroundColor: "#FFF4DB", - fontSize: "1.25rem", - borderRadius: 4, -} + backgroundColor: '#FFF4DB', + fontSize: '1.25rem', + borderRadius: 4 +}; const NotFoundPage = () => { return (

Page not found

-

- Sorry 😔, we couldn’t find what you were looking for. +

Sorry 😔, we couldn’t find what you were looking for.

+

+ Any questions? Ask on{' '} + + Layer5 Discussion Forum + {' '} + or open an issue on GitHub.

-

Any questions? Ask on Layer5 Discussion Forum or open an issue on GitHub.

Go home.
- ) -} + ); +}; -export default NotFoundPage +export default NotFoundPage; -export const Head = () => What a mesh! +export const Head = () => What a mesh!; diff --git a/site/src/pages/components/index.js b/site/src/pages/components/index.js index c920dd51..19b93656 100644 --- a/site/src/pages/components/index.js +++ b/site/src/pages/components/index.js @@ -1,9 +1,5 @@ -import React from 'react'; - const Components = () => { - return( -
Components
- ) + return
Components
; }; export default Components; diff --git a/site/src/pages/home/index.js b/site/src/pages/home/index.js index 89a515aa..176ee364 100644 --- a/site/src/pages/home/index.js +++ b/site/src/pages/home/index.js @@ -1,9 +1,5 @@ -import React from "react"; +const Home = () => { + return
Home
; +}; -const Home = ()=>{ - return( -
Home
- ) -} - -export default Home; \ No newline at end of file +export default Home; diff --git a/site/src/pages/identity/Content.js b/site/src/pages/identity/Content.js index 13d21f36..1bf13fda 100644 --- a/site/src/pages/identity/Content.js +++ b/site/src/pages/identity/Content.js @@ -1,9 +1,9 @@ -import React from 'react'; - const Content = (props) => { - return ( -
{props.description}
- ) -} + return ( +
+ {props.description} +
+ ); +}; -export default Content; \ No newline at end of file +export default Content; diff --git a/site/src/pages/identity/Heading.js b/site/src/pages/identity/Heading.js index d2ae2004..da5fed2e 100644 --- a/site/src/pages/identity/Heading.js +++ b/site/src/pages/identity/Heading.js @@ -1,9 +1,9 @@ -import React from 'react'; +const Heading = (props) => { + return ( +
+ {props.title} +
+ ); +}; -const Heading = (props)=> { - return ( -
{props.title}
- ) -} - -export default Heading; \ No newline at end of file +export default Heading; diff --git a/site/src/pages/identity/Navigation.js b/site/src/pages/identity/Navigation.js index 08515560..f46cbe19 100644 --- a/site/src/pages/identity/Navigation.js +++ b/site/src/pages/identity/Navigation.js @@ -1,24 +1,38 @@ -import React from 'react'; import { Link } from 'react-router-dom'; -const Navigation = (props)=> { - return ( +const Navigation = (props) => { + return (
-
-
+
+
- Overview + + Overview +
- Guidance + + Guidance +
- Code + + Code +
+
+
-
-
- ) -} + ); +}; -export default Navigation; \ No newline at end of file +export default Navigation; diff --git a/site/src/pages/identity/Next.js b/site/src/pages/identity/Next.js index 9527913b..08a2ea30 100644 --- a/site/src/pages/identity/Next.js +++ b/site/src/pages/identity/Next.js @@ -1,21 +1,26 @@ -import React from "react"; -import nextIcon from "../../assets/images/Chevron-light.svg" import { Link } from 'react-router-dom'; +import nextIcon from '../../assets/images/Chevron-light.svg'; -const Next = ({content, parent, child, subchild})=>{ +const Next = ({ content, parent, child, subchild }) => { return ( -
-
-
Up Next
-
next
-
-
-
{content}
-
-
- - ) -} +
+
+
+ Up Next +
+
+ next +
+
+
+
+ {content} +
+
+
+ + ); +}; -export default Next; \ No newline at end of file +export default Next; diff --git a/site/src/pages/identity/Previous.js b/site/src/pages/identity/Previous.js index 98562030..0870dc84 100644 --- a/site/src/pages/identity/Previous.js +++ b/site/src/pages/identity/Previous.js @@ -1,21 +1,26 @@ -import React from "react"; -import PrevIcon from "../../assets/images/Chevron-light.svg" import { Link } from 'react-router-dom'; +import PrevIcon from '../../assets/images/Chevron-light.svg'; -const Previous = ({content, parent, child, subchild})=>{ +const Previous = ({ content, parent, child, subchild }) => { return ( -
-
-
prev
-
Previous
-
-
-
{content}
-
-
- - ) -} +
+
+
+ prev +
+
+ Previous +
+
+
+
+ {content} +
+
+
+ + ); +}; -export default Previous; \ No newline at end of file +export default Previous; diff --git a/site/src/pages/identity/Sidebar.js b/site/src/pages/identity/Sidebar.js index 19c2471b..902ca55e 100644 --- a/site/src/pages/identity/Sidebar.js +++ b/site/src/pages/identity/Sidebar.js @@ -1,20 +1,25 @@ -import React from 'react'; - -const Sidebar = (props)=>{ - return ( -
-
On this Page
-
- {props.items && props.items.map((item)=>{ - return (
-
-
{item.title}
-
-
) - })} +const Sidebar = (props) => { + return ( +
+
+ On this Page +
+
+ {props.items && + props.items.map((item) => { + return ( +
+
+
+ {item.title} +
+
+
+ ); + })} +
-
- ) -} + ); +}; -export default Sidebar; \ No newline at end of file +export default Sidebar; diff --git a/site/src/pages/identity/SubContent.js b/site/src/pages/identity/SubContent.js index 6f3e4017..cc29fdff 100644 --- a/site/src/pages/identity/SubContent.js +++ b/site/src/pages/identity/SubContent.js @@ -1,12 +1,16 @@ -import React from 'react'; +const SubContent = (props) => { + return ( + <> +
+ {props.SubContent} +
+ {props.children} + + ); +}; -const SubContent = (props)=>{ - return ( - <> -
{props.SubContent}
- {props.children} - - ) -} - -export default SubContent; \ No newline at end of file +export default SubContent; diff --git a/site/src/pages/identity/SubHeading.js b/site/src/pages/identity/SubHeading.js index 3f045751..31ff3616 100644 --- a/site/src/pages/identity/SubHeading.js +++ b/site/src/pages/identity/SubHeading.js @@ -1,9 +1,9 @@ -import React from 'react'; +const SubHeading = (props) => { + return ( +
+ {props.SubHeading} +
+ ); +}; -const SubHeading = (props)=>{ - return ( -
{props.SubHeading}
- ) -} - -export default SubHeading; \ No newline at end of file +export default SubHeading; diff --git a/site/src/pages/identity/SubText.js b/site/src/pages/identity/SubText.js index d61eb2c7..37b7cfb8 100644 --- a/site/src/pages/identity/SubText.js +++ b/site/src/pages/identity/SubText.js @@ -1,15 +1,18 @@ -import React from 'react'; -import SubHeading from './SubHeading'; import SubContent from './SubContent'; +import SubHeading from './SubHeading'; const SubText = (props) => { - return ( -
- {props.SubHeading && } - {props.SubContent && } - {props.children} + return ( +
+ {props.SubHeading && } + {props.SubContent && } + {props.children}
- ) -} + ); +}; -export default SubText; \ No newline at end of file +export default SubText; diff --git a/site/src/pages/identity/Text.js b/site/src/pages/identity/Text.js index 6d8c7102..5ad79787 100644 --- a/site/src/pages/identity/Text.js +++ b/site/src/pages/identity/Text.js @@ -1,14 +1,13 @@ -import React from 'react'; -import Heading from './Heading'; import Content from './Content'; +import Heading from './Heading'; -const Header = (props)=>{ - return ( -
- - +const Header = (props) => { + return ( +
+ +
- ) -} + ); +}; -export default Header; \ No newline at end of file +export default Header; diff --git a/site/src/pages/identity/colors/code.js b/site/src/pages/identity/colors/code.js index a0fbdcd9..920625a6 100644 --- a/site/src/pages/identity/colors/code.js +++ b/site/src/pages/identity/colors/code.js @@ -1,32 +1,38 @@ -import React from 'react'; +import Next from '../Next'; +import Previous from '../Previous'; import Sidebar from '../Sidebar'; -import SubText from '../SubText'; import SubContent from '../SubContent'; -import Previous from '../Previous'; -import Next from '../Next'; const items = [ - { - title: "Introduction" - }, -] + { + title: 'Introduction' + } +]; -const Code = ()=> { - return ( - <> - -
- { + return ( + <> + +
+ +
+
+ +
+ -
-
- -
- -
- - ) -} +
+ + ); +}; -export default Code; \ No newline at end of file +export default Code; diff --git a/site/src/pages/identity/colors/guidance.js b/site/src/pages/identity/colors/guidance.js index 1abed144..77da2318 100644 --- a/site/src/pages/identity/colors/guidance.js +++ b/site/src/pages/identity/colors/guidance.js @@ -1,60 +1,60 @@ -import React from 'react'; +import Next from '../Next'; +import Previous from '../Previous'; import Sidebar from '../Sidebar'; -import SubText from '../SubText'; import SubContent from '../SubContent'; -import Previous from '../Previous'; -import Next from '../Next'; +import SubText from '../SubText'; const items = [ - { - title: "Basic Colors" - }, - { - title: "Tonal Palettes" - }, - { - title: "Token Specification" - }, - { - title: "Color Roles" - }, - { - title: "Background Colors" - }, - { - title: "Text Colors" - }, - { - title: "Border Colors" - } -] + { + title: 'Basic Colors' + }, + { + title: 'Tonal Palettes' + }, + { + title: 'Token Specification' + }, + { + title: 'Color Roles' + }, + { + title: 'Background Colors' + }, + { + title: 'Text Colors' + }, + { + title: 'Border Colors' + } +]; -const Guidance = ()=> { - return ( +const Guidance = () => { + return ( <> - -
- -
- +
+ +
+ - + +
+
+
+ -
- -
- -
- -
+
+ +
- ) -} + ); +}; -export default Guidance; \ No newline at end of file +export default Guidance; diff --git a/site/src/pages/identity/colors/index.js b/site/src/pages/identity/colors/index.js index bbe8a938..39394cad 100644 --- a/site/src/pages/identity/colors/index.js +++ b/site/src/pages/identity/colors/index.js @@ -1,25 +1,22 @@ -import React from 'react'; import { useParams } from 'react-router-dom'; -import Text from '../Text'; import Navigation from '../Navigation'; -import Overview from './overview'; -import Guidance from './guidance'; +import Text from '../Text'; import Code from './code'; +import Guidance from './guidance'; +import Overview from './overview'; const Color = () => { - const {id} = useParams(); - return ( - <> - + - - {id==="guidance"?:id==="code"?:} - - ) -} + /> + + {id === 'guidance' ? : id === 'code' ? : } + + ); +}; -export default Color; \ No newline at end of file +export default Color; diff --git a/site/src/pages/identity/colors/overview.js b/site/src/pages/identity/colors/overview.js index 04685282..1fb6e4c9 100644 --- a/site/src/pages/identity/colors/overview.js +++ b/site/src/pages/identity/colors/overview.js @@ -1,124 +1,127 @@ -import React from 'react'; +import Next from '../Next'; +import Previous from '../Previous'; import Sidebar from '../Sidebar'; -import SubText from '../SubText'; import SubContent from '../SubContent'; -import SubHeading from '../SubHeading'; -import Previous from '../Previous'; -import Next from '../Next'; +import SubText from '../SubText'; const items = [ - { - title: "Introduction" - }, - { - title: "Color Anatomy" - }, - { - title: "Layer Hierarchy" - }, - { - title: "The Basics" - }, - { - title: "Green Color Accessibility" - } -] + { + title: 'Introduction' + }, + { + title: 'Color Anatomy' + }, + { + title: 'Layer Hierarchy' + }, + { + title: 'The Basics' + }, + { + title: 'Green Color Accessibility' + } +]; const basics = [ - { - title:'Theme', - description:'By definition, a theme is a cohesive and consistent look and feel for a product. This consistent look can be achieved with the use of harmonious color palettes, legible fonts and layout patterns. Currently, sistent outlines specifications for light and dark themes.' - }, - { - title:'Value', - description:'A value is the unique visual attribute assigned to a token through the use of themes. This could range from hex codes to rgba values which are used to highlight specific colors in any given instance. We highly recommend that no exact values be referenced anywhere in the design in order to avoid errors and ensure consistency. Instead, tokens should be used to curate and implement the reusable values. More on tokens next.' - }, - { - title:'Tokens', - description:'Tokens can be regarded as a shared language between design and development for communicating detailed information about how to build user interfaces. Generally, a rule of thumb is to represent the context (background, text, component), role (success, warning, brand, inverse), and modifier(s) (secondary, tertiary, hover) in a string of text that will represent set values gotten from the colors in the color palette.' - }, - { - title:'Role', - description:'Roles are parameters that specify the context that colors are being applied to and while different roles can share the same value, the token structure means that they will have different use cases. These values can be different though depending on the current theme.' - } -] + { + title: 'Theme', + description: + 'By definition, a theme is a cohesive and consistent look and feel for a product. This consistent look can be achieved with the use of harmonious color palettes, legible fonts and layout patterns. Currently, sistent outlines specifications for light and dark themes.' + }, + { + title: 'Value', + description: + 'A value is the unique visual attribute assigned to a token through the use of themes. This could range from hex codes to rgba values which are used to highlight specific colors in any given instance. We highly recommend that no exact values be referenced anywhere in the design in order to avoid errors and ensure consistency. Instead, tokens should be used to curate and implement the reusable values. More on tokens next.' + }, + { + title: 'Tokens', + description: + 'Tokens can be regarded as a shared language between design and development for communicating detailed information about how to build user interfaces. Generally, a rule of thumb is to represent the context (background, text, component), role (success, warning, brand, inverse), and modifier(s) (secondary, tertiary, hover) in a string of text that will represent set values gotten from the colors in the color palette.' + }, + { + title: 'Role', + description: + 'Roles are parameters that specify the context that colors are being applied to and while different roles can share the same value, the token structure means that they will have different use cases. These values can be different though depending on the current theme.' + } +]; -const Overview = ()=> { - return ( - <> - -
- -
- { + return ( + <> + +
+ +
+ -
- - -
-
-
+ /> +
- -
+
-
-
-
+
+ +
- {basics && basics.map((basic)=>{ - return ( + {basics && + basics.map((basic) => { + return (
- - -
) - })} + + +
+ ); + })} -
-
- -
- -
- - ) -} +
+
+ +
+ +
+ + ); +}; -export default Overview; \ No newline at end of file +export default Overview; diff --git a/site/src/pages/identity/elevation/index.js b/site/src/pages/identity/elevation/index.js index f5b3b0cb..face50f5 100644 --- a/site/src/pages/identity/elevation/index.js +++ b/site/src/pages/identity/elevation/index.js @@ -1,9 +1,5 @@ -import React from 'react'; +const Elevation = () => { + return
Elevation
; +}; -const Elevation = ()=> { - return( -
Elevation
- ) -} - -export default Elevation; \ No newline at end of file +export default Elevation; diff --git a/site/src/pages/identity/page-layouts/index.js b/site/src/pages/identity/page-layouts/index.js index 8934a932..3c1b487b 100644 --- a/site/src/pages/identity/page-layouts/index.js +++ b/site/src/pages/identity/page-layouts/index.js @@ -1,9 +1,5 @@ -import React from 'react'; +const PageLayout = () => { + return
Page Layout
; +}; -const PageLayout = ()=> { - return( -
Page Layout
- ) -} - -export default PageLayout; \ No newline at end of file +export default PageLayout; diff --git a/site/src/pages/identity/spacing/index.js b/site/src/pages/identity/spacing/index.js index a68bea3d..d4ec7f6b 100644 --- a/site/src/pages/identity/spacing/index.js +++ b/site/src/pages/identity/spacing/index.js @@ -1,9 +1,5 @@ -import React from 'react'; +const Spacing = () => { + return
Spacing
; +}; -const Spacing = ()=> { - return( -
Spacing
- ) -} - -export default Spacing; \ No newline at end of file +export default Spacing; diff --git a/site/src/pages/identity/typography/code.js b/site/src/pages/identity/typography/code.js index 7b087fe3..30485a09 100644 --- a/site/src/pages/identity/typography/code.js +++ b/site/src/pages/identity/typography/code.js @@ -1,32 +1,33 @@ -import React from 'react'; +import Next from '../Next'; +import Previous from '../Previous'; import Sidebar from '../Sidebar'; import SubContent from '../SubContent'; -import SubText from '../SubText'; -import Previous from '../Previous'; -import Next from '../Next'; const items = [ - { - title: "Introduction" - }, -] + { + title: 'Introduction' + } +]; -const Code = ()=> { - return ( - <> - -
- { + return ( + <> + +
+ +
+
+ -
-
- -
- -
- - ) -} +
+ +
+ + ); +}; -export default Code; \ No newline at end of file +export default Code; diff --git a/site/src/pages/identity/typography/guidance.js b/site/src/pages/identity/typography/guidance.js index 27b3bafe..6c19574c 100644 --- a/site/src/pages/identity/typography/guidance.js +++ b/site/src/pages/identity/typography/guidance.js @@ -1,76 +1,68 @@ -import React from 'react'; +import Next from '../Next'; +import Previous from '../Previous'; import Sidebar from '../Sidebar'; import SubContent from '../SubContent'; import SubText from '../SubText'; -import Previous from '../Previous'; -import Next from '../Next'; const items = [ - { - title: "Type Scale Customization" - }, - { - title: "Font Pairing" - }, -] + { + title: 'Type Scale Customization' + }, + { + title: 'Font Pairing' + } +]; -const Guidance = ()=> { - return ( - <> - -
- -
- { + return ( + <> + +
+ +
+ - -
- -
- - -
- - -
-
-
+ > + +
+ +
+ + +
+ + +
+ +
- + -
-
- -
- -
- - ) -} +
+
+ +
+ +
+ + ); +}; -export default Guidance; \ No newline at end of file +export default Guidance; diff --git a/site/src/pages/identity/typography/index.js b/site/src/pages/identity/typography/index.js index 0a2ce8cd..aca5ee26 100644 --- a/site/src/pages/identity/typography/index.js +++ b/site/src/pages/identity/typography/index.js @@ -1,25 +1,22 @@ -import React from 'react'; import { useParams } from 'react-router-dom'; -import Text from '../Text'; import Navigation from '../Navigation'; -import Overview from './overview'; -import Guidance from './guidance'; +import Text from '../Text'; import Code from './code'; +import Guidance from './guidance'; +import Overview from './overview'; -const Typography = ()=> { - const {id} = useParams(); - return( - <> - { + const { id } = useParams(); + return ( + <> + - - {id==="guidance"?:id==="code"?:} - - ) -} + /> + + {id === 'guidance' ? : id === 'code' ? : } + + ); +}; -export default Typography; \ No newline at end of file +export default Typography; diff --git a/site/src/pages/identity/typography/overview.js b/site/src/pages/identity/typography/overview.js index ecc30aaf..0c1f7d89 100644 --- a/site/src/pages/identity/typography/overview.js +++ b/site/src/pages/identity/typography/overview.js @@ -1,80 +1,81 @@ -import React from 'react'; +import Next from '../Next'; +import Previous from '../Previous'; import Sidebar from '../Sidebar'; import SubContent from '../SubContent'; import SubText from '../SubText'; -import SubHeading from '../SubHeading'; -import Previous from '../Previous'; -import Next from '../Next'; const items = [ - { - title: "The Basics" - }, - { - title: "Type Scale" - } -] + { + title: 'The Basics' + }, + { + title: 'Type Scale' + } +]; const basicItems = [ - { - title: "Typeface", - description:"A typeface is a set of letters, numbers, and accessories that have common design features. These characters are usually grouped into families and used in relation to each other to ensure uniform text representation in designs and forms of text that are relative to each other. Qanelas Soft, Times New Roman, Merriweather, and Roboto are all examples of typefaces." - }, - { - title: "Font", - description:"Often wrongly used interchangeably with typeface, a font refers to variations of a typeface. So this includes the weight, size, line height, tracking (letter spacing), and any other features that are added to a typeface for it to function in a certain capacity. A key relationship between a typeface and a font is that characters in a typeface can be modified to form different fonts." - }, - { - title: "Line Height", - description:"Line height is mostly used to refer to the distance between lines of text. WCAG standards for line height recommend a line height that is at least 1.5 times the chosen font size, especially for small text sizes. For larger fonts, however, evidence has shown that anything between 1.2 and 1.5 times the font size might also be appropriate, especially considering the fact that most large fonts used for headings and subheadings tend not to exceed a single line of text." - }, -] + { + title: 'Typeface', + description: + 'A typeface is a set of letters, numbers, and accessories that have common design features. These characters are usually grouped into families and used in relation to each other to ensure uniform text representation in designs and forms of text that are relative to each other. Qanelas Soft, Times New Roman, Merriweather, and Roboto are all examples of typefaces.' + }, + { + title: 'Font', + description: + 'Often wrongly used interchangeably with typeface, a font refers to variations of a typeface. So this includes the weight, size, line height, tracking (letter spacing), and any other features that are added to a typeface for it to function in a certain capacity. A key relationship between a typeface and a font is that characters in a typeface can be modified to form different fonts.' + }, + { + title: 'Line Height', + description: + 'Line height is mostly used to refer to the distance between lines of text. WCAG standards for line height recommend a line height that is at least 1.5 times the chosen font size, especially for small text sizes. For larger fonts, however, evidence has shown that anything between 1.2 and 1.5 times the font size might also be appropriate, especially considering the fact that most large fonts used for headings and subheadings tend not to exceed a single line of text.' + } +]; -const Overview = ()=> { - return ( - <> - -
- -
- - {basicItems && basicItems.map((basic)=>{ +const Overview = () => { + return ( + <> + +
+ +
+ + {basicItems && + basicItems.map((basic) => { return ( -
- +
-
) - })} - -
- +
+ ); + })} + +
+ - -
- +
+ +
+
+
+ +
+ - -
-
- -
- -
- - ) -} +
+ + ); +}; -export default Overview; \ No newline at end of file +export default Overview; diff --git a/site/src/pages/index.js b/site/src/pages/index.js index 3e096f34..f36db4bf 100644 --- a/site/src/pages/index.js +++ b/site/src/pages/index.js @@ -1,21 +1,16 @@ -import React, {useContext} from "react"; -import { - BrowserRouter as Router, - Route, - Routes, - Navigate, -} from "react-router-dom"; -import Navbar from "../components/Navigation"; -import Sidebar from "../components/Sidebar"; -import Footer from "../components/Footer"; -import Home from "./home"; -import Color from "./identity/colors"; -import Typography from "./identity/typography"; -import Elevation from "./identity/elevation"; -import Spacing from "./identity/spacing"; -import PageLayout from "./identity/page-layouts"; +import { useContext } from 'react'; +import { Navigate, Route, BrowserRouter as Router, Routes } from 'react-router-dom'; +import Footer from '../components/Footer'; +import Navbar from '../components/Navigation'; +import Sidebar from '../components/Sidebar'; +import ThemeContext from '../components/Theme'; import '../styles/global.css'; -import ThemeContext from "../components/Theme"; +import Home from './home'; +import Color from './identity/colors'; +import Elevation from './identity/elevation'; +import PageLayout from './identity/page-layouts'; +import Spacing from './identity/spacing'; +import Typography from './identity/typography'; const IndexPage = () => { const theme = useContext(ThemeContext); @@ -34,18 +29,18 @@ const IndexPage = () => { ); return ( -
- - -
- -
{routes}
-
-