From 50be56417e333b79c328e9d4a2bbca8aceeb1110 Mon Sep 17 00:00:00 2001 From: Mostafa Talaat Date: Tue, 22 Mar 2022 18:57:22 +0200 Subject: [PATCH 1/2] components: added swiper lazy loading placeholder --- src/assets/images/placeholder.svg | 5 +++++ .../atoms/CelebritiesItem/CelebritiesItem.tsx | 10 +++++++++- src/components/atoms/TeamCard/TeamCard.tsx | 10 +++++++++- .../molecules/CelebritiesList/CelebritiesList.scss | 4 ++++ .../molecules/CelebritiesList/CelebritiesList.tsx | 4 +--- src/components/molecules/TeamList/TeamList.scss | 4 ++++ src/components/molecules/TeamList/TeamList.stories.tsx | 1 + src/components/molecules/TeamList/TeamList.tsx | 4 +--- 8 files changed, 34 insertions(+), 8 deletions(-) create mode 100644 src/assets/images/placeholder.svg diff --git a/src/assets/images/placeholder.svg b/src/assets/images/placeholder.svg new file mode 100644 index 0000000..7bbedb8 --- /dev/null +++ b/src/assets/images/placeholder.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/components/atoms/CelebritiesItem/CelebritiesItem.tsx b/src/components/atoms/CelebritiesItem/CelebritiesItem.tsx index 8dcc84e..6371a97 100644 --- a/src/components/atoms/CelebritiesItem/CelebritiesItem.tsx +++ b/src/components/atoms/CelebritiesItem/CelebritiesItem.tsx @@ -1,5 +1,6 @@ import { FC } from 'react'; import './CelebritiesItem.scss'; +import placeholder from '../../../assets/images/placeholder.svg'; export type CelebritiesItemProps = { img: string; @@ -32,7 +33,14 @@ const Item: FC = ({ {!lazySwiper && ( {name} )} - {lazySwiper && {name}} + {lazySwiper && ( + {name} + )}

{name}

diff --git a/src/components/atoms/TeamCard/TeamCard.tsx b/src/components/atoms/TeamCard/TeamCard.tsx index 77e23df..c01cd22 100644 --- a/src/components/atoms/TeamCard/TeamCard.tsx +++ b/src/components/atoms/TeamCard/TeamCard.tsx @@ -1,6 +1,7 @@ import classNames from 'classnames'; import { FC } from 'react'; import './TeamCard.scss'; +import placeholder from '../../../assets/images/placeholder.svg'; export type TeamCardProps = { img: string; @@ -35,7 +36,14 @@ export const TeamCard: FC = ({ {!lazySwiper && ( {name} )} - {lazySwiper && {name}} + {lazySwiper && ( + {name} + )}

{name}

{link && ( diff --git a/src/components/molecules/CelebritiesList/CelebritiesList.scss b/src/components/molecules/CelebritiesList/CelebritiesList.scss index 1a4a109..320f070 100644 --- a/src/components/molecules/CelebritiesList/CelebritiesList.scss +++ b/src/components/molecules/CelebritiesList/CelebritiesList.scss @@ -1,5 +1,7 @@ @use '../../../assets/styles/utils' as u; +$swiper-loading-color: var(--color-base); + .celebrities { &__list { display: flex; @@ -49,6 +51,8 @@ } .swiper { + --swiper-preloader-color: $swiper-loading-color; + &-prev-celebritiesList { @extend %swiper; diff --git a/src/components/molecules/CelebritiesList/CelebritiesList.tsx b/src/components/molecules/CelebritiesList/CelebritiesList.tsx index 8606ec6..4646ef7 100644 --- a/src/components/molecules/CelebritiesList/CelebritiesList.tsx +++ b/src/components/molecules/CelebritiesList/CelebritiesList.tsx @@ -57,9 +57,7 @@ export const CelebritiesList: FC = ({ category={item.category} lazySwiper={options?.lazy !== undefined} /> - {options?.lazy && ( -
- )} + {options?.lazy &&
} ))} diff --git a/src/components/molecules/TeamList/TeamList.scss b/src/components/molecules/TeamList/TeamList.scss index c8d9471..ea9844c 100644 --- a/src/components/molecules/TeamList/TeamList.scss +++ b/src/components/molecules/TeamList/TeamList.scss @@ -1,3 +1,5 @@ +$swiper-loading-color: var(--light-bg); + .team-list { margin: 0 auto; position: relative; @@ -46,6 +48,8 @@ } .swiper { + --swiper-preloader-color: #{$swiper-loading-color}; + &-slide { width: auto; } diff --git a/src/components/molecules/TeamList/TeamList.stories.tsx b/src/components/molecules/TeamList/TeamList.stories.tsx index 1743a1a..3702b96 100644 --- a/src/components/molecules/TeamList/TeamList.stories.tsx +++ b/src/components/molecules/TeamList/TeamList.stories.tsx @@ -17,6 +17,7 @@ const Template: Story = (args) => { {...args} options={{ onReachEnd: () => setShowButton(true), + lazy: true, }} /> {showButton && } diff --git a/src/components/molecules/TeamList/TeamList.tsx b/src/components/molecules/TeamList/TeamList.tsx index 533dd61..6bd1c46 100644 --- a/src/components/molecules/TeamList/TeamList.tsx +++ b/src/components/molecules/TeamList/TeamList.tsx @@ -63,9 +63,7 @@ export const TeamList: FC = ({ centered={centered} lazySwiper={options?.lazy !== undefined} /> - {options?.lazy && ( -
- )} + {options?.lazy &&
} ))} From 913bcecae13670cb2d674bbdcf2c9076ec81954e Mon Sep 17 00:00:00 2001 From: Mostafa Talaat Date: Tue, 22 Mar 2022 19:03:37 +0200 Subject: [PATCH 2/2] feat: dependencies update --- package.json | 24 ++-- yarn.lock | 400 +++++++++++++++++++++++++++++++-------------------- 2 files changed, 254 insertions(+), 170 deletions(-) diff --git a/package.json b/package.json index 0a14432..27cea12 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,9 @@ "@testing-library/react": "^12.1.4", "@testing-library/user-event": "^13.5.0", "@types/jest": "^27.4.1", - "@types/node": "^17.0.21", - "@types/react": "^17.0.40", - "@types/react-dom": "^17.0.13", + "@types/node": "^17.0.22", + "@types/react": "^17.0.41", + "@types/react-dom": "^17.0.14", "classnames": "^2.3.1", "react": "^17.0.2", "react-color": "^2.19.3", @@ -66,7 +66,7 @@ }, "devDependencies": { "@babel/cli": "^7.17.6", - "@babel/core": "^7.17.5", + "@babel/core": "^7.17.8", "@babel/preset-env": "^7.16.11", "@babel/preset-react": "^7.16.7", "@babel/preset-typescript": "^7.16.7", @@ -83,14 +83,14 @@ "@svgr/rollup": "^6.2.1", "@types/react-color": "3.0.6", "@types/react-slick": "^0.23.8", - "@typescript-eslint/eslint-plugin": "^5.14.0", - "@typescript-eslint/parser": "^5.14.0", - "autoprefixer": "^10.4.2", - "babel-loader": "^8.2.3", + "@typescript-eslint/eslint-plugin": "^5.16.0", + "@typescript-eslint/parser": "^5.16.0", + "autoprefixer": "^10.4.4", + "babel-loader": "^8.2.4", "css-loader": "^6.7.1", "eslint": "^8.11.0", "eslint-config-airbnb": "19.0.4", - "eslint-config-airbnb-typescript": "^16.1.2", + "eslint-config-airbnb-typescript": "^16.1.4", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^2.5.0", "eslint-plugin-import": "^2.25.4", @@ -99,11 +99,11 @@ "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-storybook": "^0.5.7", "fs-extra": "^10.0.1", - "postcss": "^8.4.8", + "postcss": "^8.4.12", "postcss-flexbugs-fixes": "^5.0.2", "postcss-sorting": "^7.0.1", "postcss-url": "^10.1.3", - "prettier": "^2.5.1", + "prettier": "^2.6.0", "rimraf": "^3.0.2", "rollup": "^2.70.1", "rollup-plugin-analyzer": "^4.0.0", @@ -116,7 +116,7 @@ "sass-loader": "^12.6.0", "storybook-css-modules-preset": "^1.1.1", "style-loader": "^3.3.1", - "stylelint": "^14.5.3", + "stylelint": "^14.6.0", "stylelint-config-prettier": "^9.0.3", "stylelint-config-standard-scss": "^3.0.0", "webpack": "^5.70.0" diff --git a/yarn.lock b/yarn.lock index 025be90..5c260c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -71,6 +71,13 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/compat-data@npm:7.17.7" + checksum: bf13476676884ce9afc199747ff82f3bcd6d42a9cfb01ce91bdb762b83ea11ec619b6ec532d1a80469ab14f191f33b5d4b9f8796fa8be3bc728d42b0c5e737e3 + languageName: node + linkType: hard + "@babel/core@npm:7.12.9": version: 7.12.9 resolution: "@babel/core@npm:7.12.9" @@ -118,17 +125,17 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:^7.17.5": - version: 7.17.5 - resolution: "@babel/core@npm:7.17.5" +"@babel/core@npm:^7.17.8": + version: 7.17.8 + resolution: "@babel/core@npm:7.17.8" dependencies: "@ampproject/remapping": ^2.1.0 "@babel/code-frame": ^7.16.7 - "@babel/generator": ^7.17.3 - "@babel/helper-compilation-targets": ^7.16.7 - "@babel/helper-module-transforms": ^7.16.7 - "@babel/helpers": ^7.17.2 - "@babel/parser": ^7.17.3 + "@babel/generator": ^7.17.7 + "@babel/helper-compilation-targets": ^7.17.7 + "@babel/helper-module-transforms": ^7.17.7 + "@babel/helpers": ^7.17.8 + "@babel/parser": ^7.17.8 "@babel/template": ^7.16.7 "@babel/traverse": ^7.17.3 "@babel/types": ^7.17.0 @@ -137,7 +144,7 @@ __metadata: gensync: ^1.0.0-beta.2 json5: ^2.1.2 semver: ^6.3.0 - checksum: c5e7dddb4feaacb91175d22a6edc8e93804242328a82b80732c6e84a0647bc0a9c9d5b05f3ce13138b8e59bf7aba4ff9f7b7446302f141f243ba51df02c318a5 + checksum: 0e686b1be444d25494424065238931f2b3df908bf072b72bab973acfd6d27a481fc280c9cd8a3c6fe2c46beee50e0d2307468d8b15b64dc4036f025e75f6609d languageName: node linkType: hard @@ -166,25 +173,25 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.17.0": - version: 7.17.0 - resolution: "@babel/generator@npm:7.17.0" +"@babel/generator@npm:^7.17.3": + version: 7.17.3 + resolution: "@babel/generator@npm:7.17.3" dependencies: "@babel/types": ^7.17.0 jsesc: ^2.5.1 source-map: ^0.5.0 - checksum: 2987dbebb484727a227f1ce3db90810320986cfb3ffd23e6d1d87f75bbd8e7871b5bc44252822d4d5f048a2d872a5702b2a9bf7bab7e07f087d7f306f0ea6c0a + checksum: ddf70e3489976018dfc2da8b9f43ec8c582cac2da681ed4a6227c53b26a9626223e4dca90098b3d3afe43bc67f20160856240e826c56b48e577f34a5a7e22b9f languageName: node linkType: hard -"@babel/generator@npm:^7.17.3": - version: 7.17.3 - resolution: "@babel/generator@npm:7.17.3" +"@babel/generator@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/generator@npm:7.17.7" dependencies: "@babel/types": ^7.17.0 jsesc: ^2.5.1 source-map: ^0.5.0 - checksum: ddf70e3489976018dfc2da8b9f43ec8c582cac2da681ed4a6227c53b26a9626223e4dca90098b3d3afe43bc67f20160856240e826c56b48e577f34a5a7e22b9f + checksum: e7344b9b4559115f2754ecc2ae9508412ea6a8f617544cd3d3f17cabc727bd30630765f96c8a4ebc8901ded1492a3a6c23d695a4f1e8f3042f860b30c891985c languageName: node linkType: hard @@ -221,6 +228,20 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-compilation-targets@npm:7.17.7" + dependencies: + "@babel/compat-data": ^7.17.7 + "@babel/helper-validator-option": ^7.16.7 + browserslist: ^4.17.5 + semver: ^6.3.0 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 24bf851539d5ec8e73779304b5d1ad5b0be09a74459ecc7d9baee9a0fa38ad016e9eaf4b5704504ae8da32f91ce0e31857bbbd9686854caeffd38f58226d3760 + languageName: node + linkType: hard + "@babel/helper-create-class-features-plugin@npm:^7.16.10": version: 7.16.10 resolution: "@babel/helper-create-class-features-plugin@npm:7.16.10" @@ -384,6 +405,22 @@ __metadata: languageName: node linkType: hard +"@babel/helper-module-transforms@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-module-transforms@npm:7.17.7" + dependencies: + "@babel/helper-environment-visitor": ^7.16.7 + "@babel/helper-module-imports": ^7.16.7 + "@babel/helper-simple-access": ^7.17.7 + "@babel/helper-split-export-declaration": ^7.16.7 + "@babel/helper-validator-identifier": ^7.16.7 + "@babel/template": ^7.16.7 + "@babel/traverse": ^7.17.3 + "@babel/types": ^7.17.0 + checksum: 0b8f023aa7ff82dc4864349d54c4557865ad8ba54d78f6d78a86b05ca40f65c2d60acb4a54c5c309e7a4356beb9a89b876e54af4b3c4801ad25f62ec3721f0ae + languageName: node + linkType: hard + "@babel/helper-optimise-call-expression@npm:^7.16.7": version: 7.16.7 resolution: "@babel/helper-optimise-call-expression@npm:7.16.7" @@ -440,6 +477,15 @@ __metadata: languageName: node linkType: hard +"@babel/helper-simple-access@npm:^7.17.7": + version: 7.17.7 + resolution: "@babel/helper-simple-access@npm:7.17.7" + dependencies: + "@babel/types": ^7.17.0 + checksum: 58a9bfd054720024f6ff47fbb113c96061dc2bd31a5e5285756bd3c2e83918c6926900e00150d0fb175d899494fe7d69bf2a8b278c32ef6f6bea8d032e6a3831 + languageName: node + linkType: hard + "@babel/helper-skip-transparent-expression-wrappers@npm:^7.16.0": version: 7.16.0 resolution: "@babel/helper-skip-transparent-expression-wrappers@npm:7.16.0" @@ -495,14 +541,14 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.17.2": - version: 7.17.2 - resolution: "@babel/helpers@npm:7.17.2" +"@babel/helpers@npm:^7.17.8": + version: 7.17.8 + resolution: "@babel/helpers@npm:7.17.8" dependencies: "@babel/template": ^7.16.7 - "@babel/traverse": ^7.17.0 + "@babel/traverse": ^7.17.3 "@babel/types": ^7.17.0 - checksum: 5fa06bbf59636314fb4098bb2e70cf488e0fb6989553438abab90356357b79976102ac129fb16fc8186893c79e0809de1d90e3304426d6fcdb1750da2b6dff9d + checksum: 463dad58119fefebf2d0201bfa53ec9607aa00356908895640fc07589747fb3c2e0dfee4019f3e8c9781e57c9aa5dff4c72ec8d1b031c4ed8349f90b6aefe99d languageName: node linkType: hard @@ -526,21 +572,21 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.17.0": - version: 7.17.0 - resolution: "@babel/parser@npm:7.17.0" +"@babel/parser@npm:^7.17.3": + version: 7.17.3 + resolution: "@babel/parser@npm:7.17.3" bin: parser: ./bin/babel-parser.js - checksum: d0ac5ffba0b234dde516f867edf5da5d92d6f841592b370ae3244cd7c8f27a7f5e3e3d4e90ca9c15ea58bc46823f1643f3f75b6eb9a9f676ae16e8b2365e922a + checksum: 311869baef97c7630ac3b3c4600da18229b95aa2785b2daab2044384745fe0653070916ade28749fb003f7369a081111ada53e37284ba48d6b5858cbb9e411d1 languageName: node linkType: hard -"@babel/parser@npm:^7.17.3": - version: 7.17.3 - resolution: "@babel/parser@npm:7.17.3" +"@babel/parser@npm:^7.17.8": + version: 7.17.8 + resolution: "@babel/parser@npm:7.17.8" bin: parser: ./bin/babel-parser.js - checksum: 311869baef97c7630ac3b3c4600da18229b95aa2785b2daab2044384745fe0653070916ade28749fb003f7369a081111ada53e37284ba48d6b5858cbb9e411d1 + checksum: 1771808491982cc47baa888a997aef6b58308e3844c8c00f730f8fd97defe57d32cdbf46075cd49aaee310fa31f3d2c80a0d41b41a4ee0ff336ee09e2ff6c222 languageName: node linkType: hard @@ -1815,24 +1861,6 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.17.0": - version: 7.17.0 - resolution: "@babel/traverse@npm:7.17.0" - dependencies: - "@babel/code-frame": ^7.16.7 - "@babel/generator": ^7.17.0 - "@babel/helper-environment-visitor": ^7.16.7 - "@babel/helper-function-name": ^7.16.7 - "@babel/helper-hoist-variables": ^7.16.7 - "@babel/helper-split-export-declaration": ^7.16.7 - "@babel/parser": ^7.17.0 - "@babel/types": ^7.17.0 - debug: ^4.1.0 - globals: ^11.1.0 - checksum: 9b7de053d8a29453fd7b9614a028d8dc811817f02948eaee02093274b67927a1cfb0513b521bc4a9328c9b6e5b021fd343b358c3526bbb6ee61ec078d4110c0c - languageName: node - linkType: hard - "@babel/traverse@npm:^7.17.3": version: 7.17.3 resolution: "@babel/traverse@npm:7.17.3" @@ -1890,7 +1918,7 @@ __metadata: resolution: "@bonuz/bonuz-ui@workspace:." dependencies: "@babel/cli": ^7.17.6 - "@babel/core": ^7.17.5 + "@babel/core": ^7.17.8 "@babel/preset-env": ^7.16.11 "@babel/preset-react": ^7.16.7 "@babel/preset-typescript": ^7.16.7 @@ -1910,20 +1938,20 @@ __metadata: "@testing-library/react": ^12.1.4 "@testing-library/user-event": ^13.5.0 "@types/jest": ^27.4.1 - "@types/node": ^17.0.21 - "@types/react": ^17.0.40 + "@types/node": ^17.0.22 + "@types/react": ^17.0.41 "@types/react-color": 3.0.6 - "@types/react-dom": ^17.0.13 + "@types/react-dom": ^17.0.14 "@types/react-slick": ^0.23.8 - "@typescript-eslint/eslint-plugin": ^5.14.0 - "@typescript-eslint/parser": ^5.14.0 - autoprefixer: ^10.4.2 - babel-loader: ^8.2.3 + "@typescript-eslint/eslint-plugin": ^5.16.0 + "@typescript-eslint/parser": ^5.16.0 + autoprefixer: ^10.4.4 + babel-loader: ^8.2.4 classnames: ^2.3.1 css-loader: ^6.7.1 eslint: ^8.11.0 eslint-config-airbnb: 19.0.4 - eslint-config-airbnb-typescript: ^16.1.2 + eslint-config-airbnb-typescript: ^16.1.4 eslint-config-prettier: ^8.5.0 eslint-import-resolver-typescript: ^2.5.0 eslint-plugin-import: ^2.25.4 @@ -1932,11 +1960,11 @@ __metadata: eslint-plugin-react-hooks: ^4.3.0 eslint-plugin-storybook: ^0.5.7 fs-extra: ^10.0.1 - postcss: ^8.4.8 + postcss: ^8.4.12 postcss-flexbugs-fixes: ^5.0.2 postcss-sorting: ^7.0.1 postcss-url: ^10.1.3 - prettier: ^2.5.1 + prettier: ^2.6.0 react: ^17.0.2 react-color: ^2.19.3 react-dom: ^17.0.2 @@ -1954,7 +1982,7 @@ __metadata: sass-loader: ^12.6.0 storybook-css-modules-preset: ^1.1.1 style-loader: ^3.3.1 - stylelint: ^14.5.3 + stylelint: ^14.6.0 stylelint-config-prettier: ^9.0.3 stylelint-config-standard-scss: ^3.0.0 swiper: ^8.0.7 @@ -4821,10 +4849,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^17.0.21": - version: 17.0.21 - resolution: "@types/node@npm:17.0.21" - checksum: 89dcd2fe82f21d3634266f8384e9c865cf8af49685639fbdbd799bdd1040480fb1e8eeda2d3b9fce41edbe704d2a4be9f427118c4ae872e8d9bb7cbeb3c41a94 +"@types/node@npm:^17.0.22": + version: 17.0.22 + resolution: "@types/node@npm:17.0.22" + checksum: 72d1fc8bdc37f0c18b1160e7207b52fb569d0e2b459ac9a4cbd3ca40e478ffe1455efc2c6a253c81e0a7a7c7a899716535d9970cd9521f87d6050b7de04b9ba3 languageName: node linkType: hard @@ -4924,12 +4952,12 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^17.0.13": - version: 17.0.13 - resolution: "@types/react-dom@npm:17.0.13" +"@types/react-dom@npm:^17.0.14": + version: 17.0.14 + resolution: "@types/react-dom@npm:17.0.14" dependencies: "@types/react": "*" - checksum: 62c42a54ac8961c23a0e74b9cdd8b0a78563757e462b1ab665b2aa365bfd8b86a73d3f6eafc09a4a80fb08659321db168f012aa597c41c0df36f645a94e9266b + checksum: b54cd0ef573236b3d87fe7493e6d1c36d8b4ca37a3b46364272a5c91ac178e3296b68ea1aeb299ce68f12ad663c5720ee890d0539b14881c6754bdcbdb0befa0 languageName: node linkType: hard @@ -4962,14 +4990,14 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:^17.0.40": - version: 17.0.40 - resolution: "@types/react@npm:17.0.40" +"@types/react@npm:^17.0.41": + version: 17.0.41 + resolution: "@types/react@npm:17.0.41" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 24d1b210b5bf3c7d49f9a7fe5490db02e005a1d989045a2d67528347557dd0bcb0d7bcf96088152697e97521ac4c9506d1357ee48a2b7d4e701c70d838dc7284 + checksum: 1b086ec0ea5d666f05e19e0724e41278d27a2ca29a2cd71b9d9ab3fe27dba233806eb728d744e092c9fe9637ac738d8c5a05983cde84d215342949b47ecba2ef languageName: node linkType: hard @@ -5159,13 +5187,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.14.0" +"@typescript-eslint/eslint-plugin@npm:^5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.16.0" dependencies: - "@typescript-eslint/scope-manager": 5.14.0 - "@typescript-eslint/type-utils": 5.14.0 - "@typescript-eslint/utils": 5.14.0 + "@typescript-eslint/scope-manager": 5.16.0 + "@typescript-eslint/type-utils": 5.16.0 + "@typescript-eslint/utils": 5.16.0 debug: ^4.3.2 functional-red-black-tree: ^1.0.1 ignore: ^5.1.8 @@ -5178,7 +5206,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 7176b30ebc2144292b38404b28aadc7a32d24d454deb8000e0e2ae71a199b9cff7c67ed6ff723b93278091f19948fdd4ef44029aade3ee6ec6f340acc9104ec6 + checksum: 4007cc1599503424037300e7401fb969ca441b122ef8a8f2fc8d70f84d656fdf7ab7b0d00e506a3aaf702871616c3756da17eb1508ff315dfb25170f2d28a904 languageName: node linkType: hard @@ -5232,20 +5260,20 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/parser@npm:5.14.0" +"@typescript-eslint/parser@npm:^5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/parser@npm:5.16.0" dependencies: - "@typescript-eslint/scope-manager": 5.14.0 - "@typescript-eslint/types": 5.14.0 - "@typescript-eslint/typescript-estree": 5.14.0 + "@typescript-eslint/scope-manager": 5.16.0 + "@typescript-eslint/types": 5.16.0 + "@typescript-eslint/typescript-estree": 5.16.0 debug: ^4.3.2 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 2ee433b070d4b46fe2c2e11596fa92f39e60459a75d0e3fafe4f7d2e2f9772847208ce208190a3af0ec6490cb46a517523ac92a82a17fe289cc03ed7e512638a + checksum: 40006578e9ac451c80dc4b4b7e29af97b53fb9e9ea660d6ca17fb98b5c9858c648f9b17523c9de9b9b9e4155af17b65435e6163f02c4a2dfacf48274f45cba21 languageName: node linkType: hard @@ -5276,13 +5304,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/scope-manager@npm:5.14.0" +"@typescript-eslint/scope-manager@npm:5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/scope-manager@npm:5.16.0" dependencies: - "@typescript-eslint/types": 5.14.0 - "@typescript-eslint/visitor-keys": 5.14.0 - checksum: 20f163877218fc1c880e014ef2f858f7f8280a5d9dfc09dce092df9b72f6c5ebf490ede8b8dcf51e55f4d62a248eb5ccd468d37756731f27c8695c2f199f2638 + "@typescript-eslint/types": 5.16.0 + "@typescript-eslint/visitor-keys": 5.16.0 + checksum: 008a6607d3e6ebcc59a9b28cddcc25703f39a88e27a96c69a6d988acc50a1ea7dbf50963c165ffa5b85a101209a0da3a7ec6832633a162ca4ecc78c0e54acd9f languageName: node linkType: hard @@ -5296,11 +5324,11 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/type-utils@npm:5.14.0" +"@typescript-eslint/type-utils@npm:5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/type-utils@npm:5.16.0" dependencies: - "@typescript-eslint/utils": 5.14.0 + "@typescript-eslint/utils": 5.16.0 debug: ^4.3.2 tsutils: ^3.21.0 peerDependencies: @@ -5308,7 +5336,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: b5b71f397a87769558473b9283e65f92a1153d4de93cb9e5bf559ca6f7d8a898b4b565141bd2455c9fb6c2266aa5e39465a0337a7484a09a7fdf4bfbf191c7cf + checksum: 86d9f1dff6a096c8465453b8c7d0cc667b87a769f19073bfa9bbd36f8baa772c0384ec396b1132052383846bbbcf0d051345ed7d373260c1b506ed27100b383d languageName: node linkType: hard @@ -5335,10 +5363,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/types@npm:5.14.0" - checksum: 1113c0c785a449970c52459dd1c779a80ae7b34b0bae923eace43a5d27279ee47092703d2a6a120c4ee7a78f0157ce8d6e53f951696d7b6197e121aac08ccc07 +"@typescript-eslint/types@npm:5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/types@npm:5.16.0" + checksum: 0450125741c3eef9581da0b75b4a987a633d77009cfb03507c3db29885b790ee80e3c0efc4f9a0dd3376ba758b49c7829722676153472616a57bb04bce5cc4fa languageName: node linkType: hard @@ -5367,12 +5395,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.14.0" +"@typescript-eslint/typescript-estree@npm:5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.16.0" dependencies: - "@typescript-eslint/types": 5.14.0 - "@typescript-eslint/visitor-keys": 5.14.0 + "@typescript-eslint/types": 5.16.0 + "@typescript-eslint/visitor-keys": 5.16.0 debug: ^4.3.2 globby: ^11.0.4 is-glob: ^4.0.3 @@ -5381,7 +5409,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 41816c4cb37538a8206c1c590e9d0d0c30eca8a972001a102bf43002b8b6e53ec1ce451a156ce037ea978d34b297c5f677de7fe7baecd355687629e177dc6809 + checksum: 930ead4655712c3bd40885fb6b2074cd3c10fb03da864dd7a7dd2e43abfd330bb07e505f0aec8b4846178bff8befbb017f9f3370c67e9c717e4cb8d3df6e16ef languageName: node linkType: hard @@ -5419,19 +5447,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/utils@npm:5.14.0" +"@typescript-eslint/utils@npm:5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/utils@npm:5.16.0" dependencies: "@types/json-schema": ^7.0.9 - "@typescript-eslint/scope-manager": 5.14.0 - "@typescript-eslint/types": 5.14.0 - "@typescript-eslint/typescript-estree": 5.14.0 + "@typescript-eslint/scope-manager": 5.16.0 + "@typescript-eslint/types": 5.16.0 + "@typescript-eslint/typescript-estree": 5.16.0 eslint-scope: ^5.1.1 eslint-utils: ^3.0.0 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: c44b415e61e83f89ae7314f30e9783d813b19cd65b40993cb6dc28696f42ba3e4fa2bb31006ec67fe5414e37a02386616c87aa35e5ff8659e65a06fb3e83c95d + checksum: 46749091a204d7cf80d81b04704e23a86903a142a7e35cc5068a821c147c3bf098a7eff99af2b0e2ea7310013ca90300db9bab33ae5e3b5f773ed1d2961a5ed4 languageName: node linkType: hard @@ -5445,13 +5473,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.14.0": - version: 5.14.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.14.0" +"@typescript-eslint/visitor-keys@npm:5.16.0": + version: 5.16.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.16.0" dependencies: - "@typescript-eslint/types": 5.14.0 + "@typescript-eslint/types": 5.16.0 eslint-visitor-keys: ^3.0.0 - checksum: 3fc6038b330602b0dd2ff4070b11057a19239caa6f5bd956ee75d66f37f1b936704a98c4b1eae5da19a34d72b836a93e675080608138e50eabf72c2c901f648e + checksum: b587bf3b0da95bb58ff877b75fefcee6472222de1e3ec76aa4b94cae66078b62a372c7d0343374a16aab15cdcbae3f9e019624028b35827f68ef6559389f7fd0 languageName: node linkType: hard @@ -6489,7 +6517,7 @@ __metadata: languageName: node linkType: hard -"autoprefixer@npm:^10.4.1, autoprefixer@npm:^10.4.2": +"autoprefixer@npm:^10.4.1": version: 10.4.2 resolution: "autoprefixer@npm:10.4.2" dependencies: @@ -6507,6 +6535,24 @@ __metadata: languageName: node linkType: hard +"autoprefixer@npm:^10.4.4": + version: 10.4.4 + resolution: "autoprefixer@npm:10.4.4" + dependencies: + browserslist: ^4.20.2 + caniuse-lite: ^1.0.30001317 + fraction.js: ^4.2.0 + normalize-range: ^0.1.2 + picocolors: ^1.0.0 + postcss-value-parser: ^4.2.0 + peerDependencies: + postcss: ^8.1.0 + bin: + autoprefixer: bin/autoprefixer + checksum: bd42e23d71af0228b6b0b27d0d0b33c95e67562e55eb4ca0e221cf795a06482c90d565d6544a5f4090d8e303b09b200845fa2bcaaa707d1e8777974250dffe1f + languageName: node + linkType: hard + "autoprefixer@npm:^9.8.6": version: 9.8.8 resolution: "autoprefixer@npm:9.8.8" @@ -6571,6 +6617,21 @@ __metadata: languageName: node linkType: hard +"babel-loader@npm:^8.2.4": + version: 8.2.4 + resolution: "babel-loader@npm:8.2.4" + dependencies: + find-cache-dir: ^3.3.1 + loader-utils: ^2.0.0 + make-dir: ^3.1.0 + schema-utils: ^2.6.5 + peerDependencies: + "@babel/core": ^7.0.0 + webpack: ">=2" + checksum: 4968251fc4af4279c8e44adba523ed4ad18942f04b37061298e81640d09a570f66e6d53948e39a7d3c3d24ca2b025f0a07c606fadd8e3fbffa8912fd789fd4f0 + languageName: node + linkType: hard + "babel-plugin-add-react-displayname@npm:^0.0.5": version: 0.0.5 resolution: "babel-plugin-add-react-displayname@npm:0.0.5" @@ -7136,6 +7197,21 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.20.2": + version: 4.20.2 + resolution: "browserslist@npm:4.20.2" + dependencies: + caniuse-lite: ^1.0.30001317 + electron-to-chromium: ^1.4.84 + escalade: ^3.1.1 + node-releases: ^2.0.2 + picocolors: ^1.0.0 + bin: + browserslist: cli.js + checksum: 18e09beeae32e69fea45fc3642240fb63027b1460d90e24da86377177dca3d82c80f8fa44469d95109e3962f08eb2a23e03037bd5e1f1ec38e4866e2a8572435 + languageName: node + linkType: hard + "bser@npm:2.1.1": version: 2.1.1 resolution: "bser@npm:2.1.1" @@ -7378,6 +7454,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001317": + version: 1.0.30001319 + resolution: "caniuse-lite@npm:1.0.30001319" + checksum: 1c03cc4ca019c410d197b76604cd8605077ef124906f3debd3f026568e01a1aa3888cdfcb0d23c0786115b0b3f790486f2aa8e0cce361d3dcc5c92ff3611f73e + languageName: node + linkType: hard + "capture-exit@npm:^2.0.0": version: 2.0.0 resolution: "capture-exit@npm:2.0.0" @@ -9236,6 +9319,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.84": + version: 1.4.89 + resolution: "electron-to-chromium@npm:1.4.89" + checksum: a67cf1c90a895e5cef27683f623a456348a7359a0e0f61b6d04378e7a07bfce71bcd39072de68ac7b718354a4bb43b0dfeb5d6087e51018fc86895abe3eaba79 + languageName: node + linkType: hard + "element-resize-detector@npm:^1.2.2": version: 1.2.4 resolution: "element-resize-detector@npm:1.2.4" @@ -9587,9 +9677,9 @@ __metadata: languageName: node linkType: hard -"eslint-config-airbnb-typescript@npm:^16.1.2": - version: 16.1.2 - resolution: "eslint-config-airbnb-typescript@npm:16.1.2" +"eslint-config-airbnb-typescript@npm:^16.1.4": + version: 16.1.4 + resolution: "eslint-config-airbnb-typescript@npm:16.1.4" dependencies: eslint-config-airbnb-base: ^15.0.0 peerDependencies: @@ -9597,7 +9687,7 @@ __metadata: "@typescript-eslint/parser": ^5.0.0 eslint: ^7.32.0 || ^8.2.0 eslint-plugin-import: ^2.25.3 - checksum: ad3709037e1ab341032acf3152e334d8dad452fa66703b394b75c55467be2153092ec2ced545256a27e29bdc58a5e72f7ba4cbf2ac3388b09f9d6582eb384734 + checksum: 86556b82eccd3a7c5f84c05d6b36b776172a700e2b0ea13552ee7ff2765de68a91dbf399af2ad213f432943b383054ce23df112cd4a243acc6a34add00f6900a languageName: node linkType: hard @@ -10777,6 +10867,13 @@ __metadata: languageName: node linkType: hard +"fraction.js@npm:^4.2.0": + version: 4.2.0 + resolution: "fraction.js@npm:4.2.0" + checksum: 8c76a6e21dedea87109d6171a0ac77afa14205794a565d71cb10d2925f629a3922da61bf45ea52dbc30bce4d8636dc0a27213a88cbd600eab047d82f9a3a94c5 + languageName: node + linkType: hard + "fragment-cache@npm:^0.2.1": version: 0.2.1 resolution: "fragment-cache@npm:0.2.1" @@ -14641,15 +14738,6 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.2.0": - version: 3.2.0 - resolution: "nanoid@npm:3.2.0" - bin: - nanoid: bin/nanoid.cjs - checksum: 3d1d5a69fea84e538057cf64106e713931c4ef32af344068ecff153ff91252f39b0f2b472e09b0dfff43ac3cf520c92938d90e6455121fe93976e23660f4fccc - languageName: node - linkType: hard - "nanoid@npm:^3.3.1": version: 3.3.1 resolution: "nanoid@npm:3.3.1" @@ -14813,6 +14901,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.2": + version: 2.0.2 + resolution: "node-releases@npm:2.0.2" + checksum: da858bf86b4d512842379749f5a5e4196ddab05ba18ffcf29f05bf460beceaca927f070f4430bb5046efec18941ddbc85e4c5fdbb83afc28a38dd6069a2f255e + languageName: node + linkType: hard + "nopt@npm:^5.0.0": version: 5.0.0 resolution: "nopt@npm:5.0.0" @@ -16901,14 +16996,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.6": - version: 8.4.6 - resolution: "postcss@npm:8.4.6" +"postcss@npm:^8.4.12": + version: 8.4.12 + resolution: "postcss@npm:8.4.12" dependencies: - nanoid: ^3.2.0 + nanoid: ^3.3.1 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 60e7808f39c4a9d0fa067bfd5eb906168c4eb6d3ff0093f7d314d1979b001a16363deedccd368a7df869c63ad4ae350d27da439c94ff3fb0f8fc93d49fe38a90 + checksum: 248e3d0f9bbb8efaafcfda7f91627a29bdc9a19f456896886330beb28c5abea0e14c7901b35191928602e2eccbed496b1e94097d27a0b2a980854cd00c7a835f languageName: node linkType: hard @@ -16923,17 +17018,6 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.8": - version: 8.4.8 - resolution: "postcss@npm:8.4.8" - dependencies: - nanoid: ^3.3.1 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: 8e42def1ea98a4ac800d2b8937b19c83c6722da6c39ded72b1877eb743922f51b6e93be3667284b685ac18e8b583f21d97f24e0a73161c70fe8dc6901e614b87 - languageName: node - linkType: hard - "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -16957,12 +17041,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.5.1": - version: 2.5.1 - resolution: "prettier@npm:2.5.1" +"prettier@npm:^2.6.0": + version: 2.6.0 + resolution: "prettier@npm:2.6.0" bin: prettier: bin-prettier.js - checksum: 21b9408476ea1c544b0e45d51ceb94a84789ff92095abb710942d780c862d0daebdb29972d47f6b4d0f7ebbfb0ffbf56cc2cfa3e3e9d1cca54864af185b15b66 + checksum: 3e527ad62279676778a8404d18174d7ca2365ada4caba6eebbcdd9907d1187afd3bc6ade5b4e5f5d4549bb9fb71e45ca8930d71500017635524f8fc05bc52e93 languageName: node linkType: hard @@ -19743,9 +19827,9 @@ __metadata: languageName: node linkType: hard -"stylelint@npm:^14.5.3": - version: 14.5.3 - resolution: "stylelint@npm:14.5.3" +"stylelint@npm:^14.6.0": + version: 14.6.0 + resolution: "stylelint@npm:14.6.0" dependencies: balanced-match: ^2.0.0 colord: ^2.9.2 @@ -19772,7 +19856,7 @@ __metadata: normalize-path: ^3.0.0 normalize-selector: ^0.2.0 picocolors: ^1.0.0 - postcss: ^8.4.6 + postcss: ^8.4.12 postcss-media-query-parser: ^0.2.3 postcss-resolve-nested-selector: ^0.1.1 postcss-safe-parser: ^6.0.0 @@ -19790,7 +19874,7 @@ __metadata: write-file-atomic: ^4.0.1 bin: stylelint: bin/stylelint.js - checksum: 5fadb61263e003fe791d6c8a31c48825e015a5fee909b0a484baad8d4a46622425409f18d2734a01e91405c825a5b3ccad943ed2298cd4f7df4a0a605c4d0292 + checksum: cb28abd153b0edea03ad0133bc9be789a315f9138e7254f5da372677cef67954da081cffb696a59fee7958d3d3781566acb9e8ab99e453fe4398ef91f0495378 languageName: node linkType: hard