From d1d65137c5634fe83b5e9c3d0c250dcb83f76c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20F=C3=BCrhoff?= <12294151+imagoiq@users.noreply.github.com> Date: Wed, 24 Jan 2024 09:50:28 +0100 Subject: [PATCH] chore(styles): Upgrade stylelint to v16 (#2504) Upgrade manually stylelint to v16 because of relation with the following packages: https://github.com/swisspost/design-system/pull/2418 https://github.com/swisspost/design-system/pull/2419 https://github.com/swisspost/design-system/pull/2431 https://github.com/swisspost/design-system/pull/2434 We could have a special rule in renovate to group them, but I'm not sure that they totally aligned to a major version. I think this upgrade of stylelint is pretty unique. https://github.com/prettier/stylelint-config-prettier was removed as it is deprecated since v15. Fixes in SCSS code are not due to the upgrade. --- packages/styles/package.json | 9 +- .../src/components/tabs/_tab-title.scss | 2 +- .../src/variables/components/_badge.scss | 5 +- .../variables/components/_breadcrumbs.scss | 3 +- .../src/variables/components/_form-check.scss | 3 +- .../components/_form-validation.scss | 3 +- .../src/variables/components/_forms.scss | 24 +- .../styles/src/variables/components/_nav.scss | 11 +- .../variables/components/_notification.scss | 16 +- .../src/variables/components/_tables.scss | 3 +- pnpm-lock.yaml | 302 ++++++------------ 11 files changed, 151 insertions(+), 230 deletions(-) diff --git a/packages/styles/package.json b/packages/styles/package.json index 26cb63d3cb..fc0b6c4b98 100644 --- a/packages/styles/package.json +++ b/packages/styles/package.json @@ -59,11 +59,10 @@ "prettier": "3.2.2", "rimraf": "5.0.5", "sass": "1.69.7", - "stylelint": "15.11.0", - "stylelint-config-prettier": "9.0.5", - "stylelint-config-sass-guidelines": "10.0.0", - "stylelint-prettier": "4.1.0", - "stylelint-scss": "5.3.2", + "stylelint": "16.1.0", + "stylelint-config-sass-guidelines": "11.0.0", + "stylelint-prettier": "5.0.0", + "stylelint-scss": "6.0.0", "typescript": "4.9.5" }, "sass": { diff --git a/packages/styles/src/components/tabs/_tab-title.scss b/packages/styles/src/components/tabs/_tab-title.scss index 6c8feb93b9..601d7d7b5c 100644 --- a/packages/styles/src/components/tabs/_tab-title.scss +++ b/packages/styles/src/components/tabs/_tab-title.scss @@ -6,7 +6,7 @@ @use './../../variables/spacing'; @use './../../variables/components/nav'; -.tab-title[role=tab]{ +.tab-title[role='tab'] { display: inline-block; position: relative; box-sizing: border-box; diff --git a/packages/styles/src/variables/components/_badge.scss b/packages/styles/src/variables/components/_badge.scss index 6357e74ace..d47f01e4fe 100644 --- a/packages/styles/src/variables/components/_badge.scss +++ b/packages/styles/src/variables/components/_badge.scss @@ -14,7 +14,10 @@ $badge-height: button.$btn-height-rg; $badge-gap: spacing.$size-mini; $badge-border-color: var(--post-gray-60); $badge-border-width: commons.$border-thick; -$badge-transition: color 250ms, background-color 250ms, border-color 250ms; +$badge-transition: + color 250ms, + background-color 250ms, + border-color 250ms; $badge-hover-color: color.$black; $badge-hover-bg-color: color.$gray-10; $badge-active-color: color.$black; diff --git a/packages/styles/src/variables/components/_breadcrumbs.scss b/packages/styles/src/variables/components/_breadcrumbs.scss index de69bec0da..09b3a5ad8a 100644 --- a/packages/styles/src/variables/components/_breadcrumbs.scss +++ b/packages/styles/src/variables/components/_breadcrumbs.scss @@ -1,3 +1,4 @@ +@use 'sass:string'; @use './../color'; @use './../commons'; @@ -16,6 +17,6 @@ $breadcrumb-divider-color: color.$gray-60 !default; $breadcrumb-link-color: color.$gray-60 !default; $breadcrumb-hover-color: color.$black !default; $breadcrumb-active-color: color.$gray-60 !default; -$breadcrumb-divider: quote('/') !default; +$breadcrumb-divider: string.quote('/') !default; $breadcrumb-border-radius: commons.$border-radius !default; diff --git a/packages/styles/src/variables/components/_form-check.scss b/packages/styles/src/variables/components/_form-check.scss index f4180d39fa..17daa337a8 100644 --- a/packages/styles/src/variables/components/_form-check.scss +++ b/packages/styles/src/variables/components/_form-check.scss @@ -74,7 +74,8 @@ $form-check-feedback-margin-top: spacing.$size-small-regular !default; $form-switch-padding-start: 0 !default; $form-switch-bg-image: url("data:image/svg+xml,") !default; $form-switch-border-radius: $form-switch-width !default; -$form-switch-transition: background-position animation.$transition-base-timing, +$form-switch-transition: + background-position animation.$transition-base-timing, background-color animation.$transition-time-default !default; $form-switch-checked-color: color.$white !default; $form-switch-checked-bg-image: url("data:image/svg+xml,") !default; diff --git a/packages/styles/src/variables/components/_form-validation.scss b/packages/styles/src/variables/components/_form-validation.scss index dd5b80534e..33084fb24a 100644 --- a/packages/styles/src/variables/components/_form-validation.scss +++ b/packages/styles/src/variables/components/_form-validation.scss @@ -23,6 +23,7 @@ $form-feedback-invalid-bg: color.$error !default; $form-feedback-invalid-text: color.$white !default; $form-feedback-custom-color: color.$success !default; $form-feedback-custom-bg: color.$success !default; -$form-feedback-invalid-box-shadow: 0 0 0 forms.$input-focus-width rgba($form-feedback-invalid-color, 0.25) !default; +$form-feedback-invalid-box-shadow: 0 0 0 forms.$input-focus-width + rgba($form-feedback-invalid-color, 0.25) !default; $form-feedback-custom-text: color.$white !default; $form-feedback-custom-box-shadow: 0 0 0 0.2rem rgba($form-feedback-custom-color, 0.25) !default; diff --git a/packages/styles/src/variables/components/_forms.scss b/packages/styles/src/variables/components/_forms.scss index f8442872e8..20e502a781 100644 --- a/packages/styles/src/variables/components/_forms.scss +++ b/packages/styles/src/variables/components/_forms.scss @@ -84,8 +84,9 @@ $input-height-content-lg: type.$font-size-medium * $input-line-height-lg !defaul $input-height-inner-lg: $input-height-content-lg + ($input-padding-y-lg * 2) !default; // Design System $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default; -$input-transition: border-color 0.15s ease-in-out, -box-shadow 0.15s ease-in-out !default; +$input-transition: + border-color 0.15s ease-in-out, + box-shadow 0.15s ease-in-out !default; $form-text-color: var(--post-contrast-color); $form-text-font-size: type.$font-size-tiny; @@ -105,8 +106,9 @@ $form-range-thumb-width: 2rem !default; $form-range-thumb-height: $form-range-thumb-width !default; $form-range-thumb-bg: color.$white !default; $form-range-thumb-border: 2px solid color.$black !default; -$form-range-thumb-focus-box-shadow: 0 0 0 1px color.$black, -0 0 0 0.2rem rgba(color.$gray-80, 0.25) !default; +$form-range-thumb-focus-box-shadow: + 0 0 0 1px color.$black, + 0 0 0 0.2rem rgba(color.$gray-80, 0.25) !default; $form-range-thumb-focus-box-shadow-width: 0.2rem; // For focus box shadow issue in Edge $form-range-thumb-active-bg: color.$white !default; $form-range-thumb-disabled-bg: $form-range-thumb-bg !default; @@ -129,8 +131,8 @@ $form-floating-label-color: $input-placeholder-color; $form-floating-label-font-size: type.$font-size-bigger-regular; $form-floating-label-font-size-small: type.$font-size-tiny; $form-floating-label-scale: math.div( - $form-floating-label-font-size-small, - $form-floating-label-font-size + $form-floating-label-font-size-small, + $form-floating-label-font-size ); $form-floating-label-upscale: math.div(1, $form-floating-label-scale); $form-floating-label-padding-t: calc( @@ -140,10 +142,12 @@ $form-floating-label-padding-t: calc( $form-floating-label-translate-x: $form-floating-padding-x * (1 - $form-floating-label-scale); $form-floating-label-transform: scale($form-floating-label-scale); $form-floating-transition: animation.$transition-base; -$form-floating-transition-in: $form-floating-transition, -width 0ms list.nth(animation.$transition-base, 2); -$form-floating-transition-out: $form-floating-transition, -width 0ms linear; +$form-floating-transition-in: + $form-floating-transition, + width 0ms list.nth(animation.$transition-base, 2); +$form-floating-transition-out: + $form-floating-transition, + width 0ms linear; $form-floating-select-bg-size: 32px 32px; $form-floating-label-font-size-sm: type.$font-size-12; diff --git a/packages/styles/src/variables/components/_nav.scss b/packages/styles/src/variables/components/_nav.scss index 19883f0ece..8d4f2c7735 100644 --- a/packages/styles/src/variables/components/_nav.scss +++ b/packages/styles/src/variables/components/_nav.scss @@ -1,3 +1,4 @@ +@use 'sass:color' as sass-color; @use './../color'; @use './../commons'; @use './../type'; @@ -10,7 +11,9 @@ $nav-link-font-size: null !default; $nav-link-font-weight: null !default; $nav-link-color: color.$gray-60 !default; $nav-link-hover-color: color.$black !default; -$nav-link-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, +$nav-link-transition: + color 0.15s ease-in-out, + background-color 0.15s ease-in-out, border-color 0.15s ease-in-out !default; $nav-link-disabled-color: color.$gray-20 !default; @@ -29,11 +32,13 @@ $nav-pills-link-active-bg: color.$gray-80 !default; // Design System custom variables $nav-link-padding: spacing.$spacer !default; -$nav-tabs-link-hover-bg: lighten(color.$gray-10, 5%) !default; +$nav-tabs-link-hover-bg: sass-color.adjust(color.$gray-10, $lightness: 5%) !default; $nav-tabs-link-text-color: color.$gray-60 !default; $nav-tabs-link-active-font-weight: bold !default; -$nav-tabs-focus-box-shadow: 0 0 0 1px color.$white, 0 0 0 2px color.$gray-80 !default; +$nav-tabs-focus-box-shadow: + 0 0 0 1px color.$white, + 0 0 0 2px color.$gray-80 !default; $nav-tabs-focus-box-shadow-width: 2px !default; $nav-tabs-i-border-color: rgba(var(--post-contrast-color-inverted-rgb), 0.4) !default; diff --git a/packages/styles/src/variables/components/_notification.scss b/packages/styles/src/variables/components/_notification.scss index 8868a8e85f..800fdf7537 100644 --- a/packages/styles/src/variables/components/_notification.scss +++ b/packages/styles/src/variables/components/_notification.scss @@ -1,3 +1,5 @@ +@use 'sass:map'; +@use 'sass:list'; @use './../color'; @use './../commons'; @use './../spacing'; @@ -14,7 +16,7 @@ $notification-heading-font-weight: type.$headings-font-weight !default; $notification-buttons-gap: spacing.$size-mini !default; $notification-padding-x-map: () !default; -$notification-padding-x-map: map-merge( +$notification-padding-x-map: map.merge( $notification-padding-x-map, ( 'alert': spacing.$size-small-large, @@ -23,7 +25,7 @@ $notification-padding-x-map: map-merge( ); $notification-padding-y-map: () !default; -$notification-padding-y-map: map-merge( +$notification-padding-y-map: map.merge( $notification-padding-y-map, ( 'alert': spacing.$size-regular, @@ -32,7 +34,7 @@ $notification-padding-y-map: map-merge( ); $notification-font-size-map: () !default; -$notification-font-size-map: map-merge( +$notification-font-size-map: map.merge( $notification-font-size-map, ( 'alert': type.$font-size-base, @@ -41,7 +43,7 @@ $notification-font-size-map: map-merge( ); $notification-heading-font-size-map: () !default; -$notification-heading-font-size-map: map-merge( +$notification-heading-font-size-map: map.merge( $notification-heading-font-size-map, ( 'alert': type.$font-size-bigger-regular, @@ -50,7 +52,7 @@ $notification-heading-font-size-map: map-merge( ); $notification-hr-margin-block-map: () !default; -$notification-hr-margin-block-map: map-merge( +$notification-hr-margin-block-map: map.merge( $notification-hr-margin-block-map, ( 'alert': spacing.$size-mini spacing.$size-small-regular, @@ -59,7 +61,7 @@ $notification-hr-margin-block-map: map-merge( ); $notification-icon-size-map: () !default; -$notification-icon-size-map: map-merge( +$notification-icon-size-map: map.merge( $notification-icon-size-map, ( 'alert': spacing.$size-small-huge, @@ -68,7 +70,7 @@ $notification-icon-size-map: map-merge( ); $notification-variants: () !default; -$notification-variants: join( +$notification-variants: list.join( $notification-variants, ( 'primary' color.$gray-80 3134, diff --git a/packages/styles/src/variables/components/_tables.scss b/packages/styles/src/variables/components/_tables.scss index 8979350540..c983a40212 100644 --- a/packages/styles/src/variables/components/_tables.scss +++ b/packages/styles/src/variables/components/_tables.scss @@ -1,3 +1,4 @@ +@use 'sass:color' as sass-color; @use './../color'; @use './../commons'; @use './../spacing'; @@ -29,7 +30,7 @@ $table-head-color: color.$gray-40 !default; $table-dark-bg: color.$gray-80 !default; $table-dark-accent-bg: rgba(color.$white, 0.05) !default; $table-dark-hover-bg: rgba(color.$white, 0.075) !default; -$table-dark-border-color: lighten(color.$gray-80, 7.5%) !default; +$table-dark-border-color: sass-color.adjust(color.$gray-80, $lightness: 7.5%) !default; $table-dark-color: color.$black !default; $table-striped-order: odd !default; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d64be4fff2..8080a5efa7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -879,20 +879,17 @@ importers: specifier: 1.69.7 version: 1.69.7 stylelint: - specifier: 15.11.0 - version: 15.11.0 - stylelint-config-prettier: - specifier: 9.0.5 - version: 9.0.5(stylelint@15.11.0) + specifier: 16.1.0 + version: 16.1.0(typescript@4.9.5) stylelint-config-sass-guidelines: - specifier: 10.0.0 - version: 10.0.0(postcss@8.4.33)(stylelint@15.11.0) + specifier: 11.0.0 + version: 11.0.0(postcss@8.4.33)(stylelint@16.1.0) stylelint-prettier: - specifier: 4.1.0 - version: 4.1.0(prettier@3.2.2)(stylelint@15.11.0) + specifier: 5.0.0 + version: 5.0.0(prettier@3.2.2)(stylelint@16.1.0) stylelint-scss: - specifier: 5.3.2 - version: 5.3.2(stylelint@15.11.0) + specifier: 6.0.0 + version: 6.0.0(stylelint@16.1.0) typescript: specifier: 4.9.5 version: 4.9.5 @@ -4362,33 +4359,33 @@ packages: '@jridgewell/trace-mapping': 0.3.9 dev: true - /@csstools/css-parser-algorithms@2.3.1(@csstools/css-tokenizer@2.2.0): - resolution: {integrity: sha512-xrvsmVUtefWMWQsGgFffqWSK03pZ1vfDki4IVIIUxxDKnGBzqNgv0A7SB1oXtVNEkcVO8xi1ZrTL29HhSu5kGA==} + /@csstools/css-parser-algorithms@2.5.0(@csstools/css-tokenizer@2.2.3): + resolution: {integrity: sha512-abypo6m9re3clXA00eu5syw+oaPHbJTPapu9C4pzNsJ4hdZDzushT50Zhu+iIYXgEe1CxnRMn7ngsbV+MLrlpQ==} engines: {node: ^14 || ^16 || >=18} peerDependencies: - '@csstools/css-tokenizer': ^2.2.0 + '@csstools/css-tokenizer': ^2.2.3 dependencies: - '@csstools/css-tokenizer': 2.2.0 + '@csstools/css-tokenizer': 2.2.3 dev: true - /@csstools/css-tokenizer@2.2.0: - resolution: {integrity: sha512-wErmsWCbsmig8sQKkM6pFhr/oPha1bHfvxsUY5CYSQxwyhA9Ulrs8EqCgClhg4Tgg2XapVstGqSVcz0xOYizZA==} + /@csstools/css-tokenizer@2.2.3: + resolution: {integrity: sha512-pp//EvZ9dUmGuGtG1p+n17gTHEOqu9jO+FiCUjNN3BDmyhdA2Jq9QsVeR7K8/2QCK17HSsioPlTW9ZkzoWb3Lg==} engines: {node: ^14 || ^16 || >=18} dev: true - /@csstools/media-query-list-parser@2.1.4(@csstools/css-parser-algorithms@2.3.1)(@csstools/css-tokenizer@2.2.0): - resolution: {integrity: sha512-V/OUXYX91tAC1CDsiY+HotIcJR+vPtzrX8pCplCpT++i8ThZZsq5F5dzZh/bDM3WUOjrvC1ljed1oSJxMfjqhw==} + /@csstools/media-query-list-parser@2.1.7(@csstools/css-parser-algorithms@2.5.0)(@csstools/css-tokenizer@2.2.3): + resolution: {integrity: sha512-lHPKJDkPUECsyAvD60joYfDmp8UERYxHGkFfyLJFTVK/ERJe0sVlIFLXU5XFxdjNDTerp5L4KeaKG+Z5S94qxQ==} engines: {node: ^14 || ^16 || >=18} peerDependencies: - '@csstools/css-parser-algorithms': ^2.3.1 - '@csstools/css-tokenizer': ^2.2.0 + '@csstools/css-parser-algorithms': ^2.5.0 + '@csstools/css-tokenizer': ^2.2.3 dependencies: - '@csstools/css-parser-algorithms': 2.3.1(@csstools/css-tokenizer@2.2.0) - '@csstools/css-tokenizer': 2.2.0 + '@csstools/css-parser-algorithms': 2.5.0(@csstools/css-tokenizer@2.2.3) + '@csstools/css-tokenizer': 2.2.3 dev: true - /@csstools/selector-specificity@3.0.0(postcss-selector-parser@6.0.13): - resolution: {integrity: sha512-hBI9tfBtuPIi885ZsZ32IMEU/5nlZH/KOVYJCOh7gyMxaVLGmLedYqFN6Ui1LXkI8JlC8IsuC0rF0btcRZKd5g==} + /@csstools/selector-specificity@3.0.1(postcss-selector-parser@6.0.13): + resolution: {integrity: sha512-NPljRHkq4a14YzZ3YD406uaxh7s0g6eAq3L9aLOWywoqe8PkYamAvtsh7KNX6c++ihDrJ0RiU+/z7rGnhlZ5ww==} engines: {node: ^14 || ^16 || >=18} peerDependencies: postcss-selector-parser: ^6.0.13 @@ -10184,16 +10181,6 @@ packages: quick-lru: 4.0.1 dev: true - /camelcase-keys@7.0.2: - resolution: {integrity: sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==} - engines: {node: '>=12'} - dependencies: - camelcase: 6.3.0 - map-obj: 4.3.0 - quick-lru: 5.1.1 - type-fest: 1.4.0 - dev: true - /camelcase@3.0.0: resolution: {integrity: sha512-4nhGqUkc4BqbBBB4Q6zLuD7lzzrHYrjKGeYaEji/3tFR5VdJu9v+LilhGIVe8wxEJPPOeWo7eg8dwY13TZ1BNg==} engines: {node: '>=0.10.0'} @@ -10768,6 +10755,22 @@ packages: path-type: 4.0.0 dev: true + /cosmiconfig@9.0.0(typescript@4.9.5): + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} + engines: {node: '>=14'} + peerDependencies: + typescript: '>=4.9.5' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + env-paths: 2.2.1 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + parse-json: 5.2.0 + typescript: 4.9.5 + dev: true + /create-jest@29.7.0(@types/node@18.19.7)(ts-node@10.9.2): resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -11113,11 +11116,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /decamelize@5.0.1: - resolution: {integrity: sha512-VfxadyCECXgQlkoEAjeghAr5gY3Hf+IKjKb+X8tGVDtveCjN+USwprd2q3QXBR9T1+x2DG0XZF5/w+7HAtSaXA==} - engines: {node: '>=10'} - dev: true - /decimal.js@10.4.3: resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} dev: true @@ -12641,11 +12639,11 @@ packages: flat-cache: 3.1.1 dev: true - /file-entry-cache@7.0.1: - resolution: {integrity: sha512-uLfFktPmRetVCbHe5UPuekWrQ6hENufnA46qEGbfACkK5drjTTdQYUragRgMjHldcbYG+nslUerqMPjbBSHXjQ==} - engines: {node: '>=12.0.0'} + /file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} dependencies: - flat-cache: 3.1.1 + flat-cache: 4.0.0 dev: true /file-system-cache@2.3.0: @@ -12835,6 +12833,15 @@ packages: rimraf: 3.0.2 dev: true + /flat-cache@4.0.0: + resolution: {integrity: sha512-EryKbCE/wxpxKniQlyas6PY1I9vwtF3uCBweX+N8KYTCn3Y12RTGtQAJ/bd5pl7kxUAc8v/R3Ake/N17OZiFqA==} + engines: {node: '>=16'} + dependencies: + flatted: 3.2.9 + keyv: 4.5.4 + rimraf: 5.0.5 + dev: true + /flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true @@ -13378,7 +13385,7 @@ packages: array-union: 2.1.0 dir-glob: 3.0.1 fast-glob: 3.3.2 - ignore: 5.2.4 + ignore: 5.3.0 merge2: 1.4.1 slash: 3.0.0 dev: true @@ -13714,13 +13721,6 @@ packages: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} dev: true - /hosted-git-info@4.1.0: - resolution: {integrity: sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==} - engines: {node: '>=10'} - dependencies: - lru-cache: 6.0.0 - dev: true - /hosted-git-info@6.1.1: resolution: {integrity: sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -13987,6 +13987,11 @@ packages: engines: {node: '>= 4'} dev: true + /ignore@5.3.0: + resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} + engines: {node: '>= 4'} + dev: true + /image-size@0.5.5: resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} engines: {node: '>=0.10.0'} @@ -14015,11 +14020,6 @@ packages: resolve-from: 4.0.0 dev: true - /import-lazy@4.0.0: - resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} - engines: {node: '>=8'} - dev: true - /import-local@3.1.0: resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} engines: {node: '>=8'} @@ -14039,11 +14039,6 @@ packages: engines: {node: '>=8'} dev: true - /indent-string@5.0.0: - resolution: {integrity: sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==} - engines: {node: '>=12'} - dev: true - /infer-owner@1.0.4: resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} dev: true @@ -16248,22 +16243,9 @@ packages: engines: {node: '>= 0.10.0'} dev: true - /meow@10.1.5: - resolution: {integrity: sha512-/d+PQ4GKmGvM9Bee/DPa8z3mXs/pkvJE2KEThngVNOqtmljC6K7NMPxtc2JeZYTmpWb9k/TmxjeL18ez3h7vCw==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - '@types/minimist': 1.2.2 - camelcase-keys: 7.0.2 - decamelize: 5.0.1 - decamelize-keys: 1.1.1 - hard-rejection: 2.1.0 - minimist-options: 4.1.0 - normalize-package-data: 3.0.3 - read-pkg-up: 8.0.0 - redent: 4.0.0 - trim-newlines: 4.1.1 - type-fest: 1.4.0 - yargs-parser: 20.2.9 + /meow@13.1.0: + resolution: {integrity: sha512-o5R/R3Tzxq0PJ3v3qcQJtSvSE9nKOLSAaDuuoMzDVuGTwHdccMWcYomh9Xolng2tjT6O/Y83d+0coVGof6tqmA==} + engines: {node: '>=18'} dev: true /meow@6.1.1: @@ -16841,16 +16823,6 @@ packages: validate-npm-package-license: 3.0.4 dev: true - /normalize-package-data@3.0.3: - resolution: {integrity: sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==} - engines: {node: '>=10'} - dependencies: - hosted-git-info: 4.1.0 - is-core-module: 2.13.1 - semver: 7.5.4 - validate-npm-package-license: 3.0.4 - dev: true - /normalize-package-data@5.0.0: resolution: {integrity: sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -17913,11 +17885,11 @@ packages: resolution: {integrity: sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==} dev: true - /postcss-safe-parser@6.0.0(postcss@8.4.33): - resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} - engines: {node: '>=12.0'} + /postcss-safe-parser@7.0.0(postcss@8.4.33): + resolution: {integrity: sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==} + engines: {node: '>=18.0'} peerDependencies: - postcss: '>=8.4.31' + postcss: ^8.4.31 dependencies: postcss: 8.4.33 dev: true @@ -18234,11 +18206,6 @@ packages: engines: {node: '>=8'} dev: true - /quick-lru@5.1.1: - resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} - engines: {node: '>=10'} - dev: true - /ramda@0.29.0: resolution: {integrity: sha512-BBea6L67bYLtdbOqfp8f58fPMqEwx0doL+pAi8TZyp2YWz8R9G8z9x75CZI8W+ftqhFHCpEX2cRnUUXK130iKA==} dev: true @@ -18424,15 +18391,6 @@ packages: type-fest: 0.8.1 dev: true - /read-pkg-up@8.0.0: - resolution: {integrity: sha512-snVCqPczksT0HS2EC+SxUndvSzn6LRCwpfSvLrIfR5BKDQQZMaI6jPRC9dYvYFDRAuFEAnkwww8kBBNE/3VvzQ==} - engines: {node: '>=12'} - dependencies: - find-up: 5.0.0 - read-pkg: 6.0.0 - type-fest: 1.4.0 - dev: true - /read-pkg@1.1.0: resolution: {integrity: sha512-7BGwRHqt4s/uVbuyoeejRn4YmFnYZiFl4AuaeXHlgZf3sONF0SOGlxs2Pw8g6hCKupo08RafIO5YXFNOKTfwsQ==} engines: {node: '>=0.10.0'} @@ -18462,16 +18420,6 @@ packages: type-fest: 0.6.0 dev: true - /read-pkg@6.0.0: - resolution: {integrity: sha512-X1Fu3dPuk/8ZLsMhEj5f4wFAF0DWoK7qhGJvgaijocXxBmSToKfbFtqbxMO7bVjNA1dmE5huAzjXj/ey86iw9Q==} - engines: {node: '>=12'} - dependencies: - '@types/normalize-package-data': 2.4.1 - normalize-package-data: 3.0.3 - parse-json: 5.2.0 - type-fest: 1.4.0 - dev: true - /read-yaml-file@1.1.0: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} @@ -18554,14 +18502,6 @@ packages: strip-indent: 3.0.0 dev: true - /redent@4.0.0: - resolution: {integrity: sha512-tYkDkVVtYkSVhuQ4zBgfvciymHaeuel+zFKXShfDnFP5SyVEP7qo70Rf1jTOTCx3vGNAbnEi/xFkcfQVMIBWag==} - engines: {node: '>=12'} - dependencies: - indent-string: 5.0.0 - strip-indent: 4.0.0 - dev: true - /reflect-metadata@0.1.13: resolution: {integrity: sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==} @@ -19860,6 +19800,13 @@ packages: ansi-regex: 6.0.1 dev: true + /strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + dependencies: + ansi-regex: 6.0.1 + dev: true + /strip-bom@2.0.0: resolution: {integrity: sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==} engines: {node: '>=0.10.0'} @@ -19895,13 +19842,6 @@ packages: min-indent: 1.0.1 dev: true - /strip-indent@4.0.0: - resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==} - engines: {node: '>=12'} - dependencies: - min-indent: 1.0.1 - dev: true - /strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -19917,117 +19857,91 @@ packages: through: 2.3.8 dev: true - /style-search@0.1.0: - resolution: {integrity: sha512-Dj1Okke1C3uKKwQcetra4jSuk0DqbzbYtXipzFlFMZtowbF1x7BKJwB9AayVMyFARvU8EDrZdcax4At/452cAg==} - dev: true - - /stylelint-config-prettier@9.0.5(stylelint@15.11.0): - resolution: {integrity: sha512-U44lELgLZhbAD/xy/vncZ2Pq8sh2TnpiPvo38Ifg9+zeioR+LAkHu0i6YORIOxFafZoVg0xqQwex6e6F25S5XA==} - engines: {node: '>= 12'} - hasBin: true - peerDependencies: - stylelint: '>= 11.x < 15 || >=15' - dependencies: - stylelint: 15.11.0 - dev: true - - /stylelint-config-sass-guidelines@10.0.0(postcss@8.4.33)(stylelint@15.11.0): - resolution: {integrity: sha512-+Rr2Dd4b72CWA4qoj1Kk+y449nP/WJsrD0nzQAWkmPPIuyVcy2GMIcfNr0Z8JJOLjRvtlkKxa49FCNXMePBikQ==} - engines: {node: ^14.13.1 || >=16.13.0 || >=18.0.0} + /stylelint-config-sass-guidelines@11.0.0(postcss@8.4.33)(stylelint@16.1.0): + resolution: {integrity: sha512-ZFaIDq8Qd6SO1p7Cmg+TM7E2B8t3vDZgEIX+dribR2y+H3bJJ8Oh0poFJGSOIAVdbg6FiI7xQf//8riBZVhIhg==} + engines: {node: '>=18.12.0'} peerDependencies: postcss: '>=8.4.31' - stylelint: ^15.2.0 || >=15 + stylelint: ^16.1.0 || >=15 dependencies: postcss: 8.4.33 postcss-scss: 4.0.9(postcss@8.4.33) - stylelint: 15.11.0 - stylelint-scss: 4.7.0(stylelint@15.11.0) + stylelint: 16.1.0(typescript@4.9.5) + stylelint-scss: 6.0.0(stylelint@16.1.0) dev: true - /stylelint-prettier@4.1.0(prettier@3.2.2)(stylelint@15.11.0): - resolution: {integrity: sha512-dd653q/d1IfvsSQshz1uAMe+XDm6hfM/7XiFH0htYY8Lse/s5ERTg7SURQehZPwVvm/rs7AsFhda9EQ2E9TS0g==} - engines: {node: ^14.17.0 || >=16.0.0} + /stylelint-prettier@5.0.0(prettier@3.2.2)(stylelint@16.1.0): + resolution: {integrity: sha512-RHfSlRJIsaVg5Br94gZVdWlz/rBTyQzZflNE6dXvSxt/GthWMY3gEHsWZEBaVGg7GM+XrtVSp4RznFlB7i0oyw==} + engines: {node: '>=18.12.0'} peerDependencies: prettier: '>=3.0.0' - stylelint: '>=15.8.0 || >=15' + stylelint: '>=16.0.0 || >=15' dependencies: prettier: 3.2.2 prettier-linter-helpers: 1.0.0 - stylelint: 15.11.0 + stylelint: 16.1.0(typescript@4.9.5) dev: true - /stylelint-scss@4.7.0(stylelint@15.11.0): - resolution: {integrity: sha512-TSUgIeS0H3jqDZnby1UO1Qv3poi1N8wUYIJY6D1tuUq2MN3lwp/rITVo0wD+1SWTmRm0tNmGO0b7nKInnqF6Hg==} + /stylelint-scss@6.0.0(stylelint@16.1.0): + resolution: {integrity: sha512-N1xV/Ef5PNRQQt9E45unzGvBUN1KZxCI8B4FgN/pMfmyRYbZGVN4y9qWlvOMdScU17c8VVCnjIHTVn38Bb6qSA==} + engines: {node: '>=18.12.0'} peerDependencies: - stylelint: ^14.5.1 || ^15.0.0 || >=15 - dependencies: - postcss-media-query-parser: 0.2.3 - postcss-resolve-nested-selector: 0.1.1 - postcss-selector-parser: 6.0.13 - postcss-value-parser: 4.2.0 - stylelint: 15.11.0 - dev: true - - /stylelint-scss@5.3.2(stylelint@15.11.0): - resolution: {integrity: sha512-4LzLaayFhFyneJwLo0IUa8knuIvj+zF0vBFueQs4e3tEaAMIQX8q5th8ziKkgOavr6y/y9yoBe+RXN/edwLzsQ==} - peerDependencies: - stylelint: ^14.5.1 || ^15.0.0 || >=15 + stylelint: ^16.0.2 || >=15 dependencies: known-css-properties: 0.29.0 postcss-media-query-parser: 0.2.3 postcss-resolve-nested-selector: 0.1.1 postcss-selector-parser: 6.0.13 postcss-value-parser: 4.2.0 - stylelint: 15.11.0 + stylelint: 16.1.0(typescript@4.9.5) dev: true - /stylelint@15.11.0: - resolution: {integrity: sha512-78O4c6IswZ9TzpcIiQJIN49K3qNoXTM8zEJzhaTE/xRTCZswaovSEVIa/uwbOltZrk16X4jAxjaOhzz/hTm1Kw==} - engines: {node: ^14.13.1 || >=16.0.0} + /stylelint@16.1.0(typescript@4.9.5): + resolution: {integrity: sha512-Sh1rRV0lN1qxz/QsuuooLWsIZ/ona7NKw/fRZd6y6PyXYdD2W0EAzJ8yJcwSx4Iw/muz0CF09VZ+z4EiTAcKmg==} + engines: {node: '>=18.12.0'} hasBin: true dependencies: - '@csstools/css-parser-algorithms': 2.3.1(@csstools/css-tokenizer@2.2.0) - '@csstools/css-tokenizer': 2.2.0 - '@csstools/media-query-list-parser': 2.1.4(@csstools/css-parser-algorithms@2.3.1)(@csstools/css-tokenizer@2.2.0) - '@csstools/selector-specificity': 3.0.0(postcss-selector-parser@6.0.13) + '@csstools/css-parser-algorithms': 2.5.0(@csstools/css-tokenizer@2.2.3) + '@csstools/css-tokenizer': 2.2.3 + '@csstools/media-query-list-parser': 2.1.7(@csstools/css-parser-algorithms@2.5.0)(@csstools/css-tokenizer@2.2.3) + '@csstools/selector-specificity': 3.0.1(postcss-selector-parser@6.0.13) balanced-match: 2.0.0 colord: 2.9.3 - cosmiconfig: 8.2.0 + cosmiconfig: 9.0.0(typescript@4.9.5) css-functions-list: 3.2.1 css-tree: 2.3.1 debug: 4.3.4(supports-color@8.1.1) - fast-glob: 3.3.1 + fast-glob: 3.3.2 fastest-levenshtein: 1.0.16 - file-entry-cache: 7.0.1 + file-entry-cache: 8.0.0 global-modules: 2.0.0 globby: 11.1.0 globjoin: 0.1.4 html-tags: 3.3.1 - ignore: 5.2.4 - import-lazy: 4.0.0 + ignore: 5.3.0 imurmurhash: 0.1.4 is-plain-object: 5.0.0 known-css-properties: 0.29.0 mathml-tag-names: 2.1.3 - meow: 10.1.5 + meow: 13.1.0 micromatch: 4.0.5 normalize-path: 3.0.0 picocolors: 1.0.0 postcss: 8.4.33 postcss-resolve-nested-selector: 0.1.1 - postcss-safe-parser: 6.0.0(postcss@8.4.33) + postcss-safe-parser: 7.0.0(postcss@8.4.33) postcss-selector-parser: 6.0.13 postcss-value-parser: 4.2.0 resolve-from: 5.0.0 string-width: 4.2.3 - strip-ansi: 6.0.1 - style-search: 0.1.0 + strip-ansi: 7.1.0 supports-hyperlinks: 3.0.0 svg-tags: 1.0.0 table: 6.8.1 write-file-atomic: 5.0.1 transitivePeerDependencies: - supports-color + - typescript dev: true /supports-color@5.5.0: @@ -20461,11 +20375,6 @@ packages: engines: {node: '>=8'} dev: true - /trim-newlines@4.1.1: - resolution: {integrity: sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==} - engines: {node: '>=12'} - dev: true - /trough@2.1.0: resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} dev: true @@ -20748,11 +20657,6 @@ packages: engines: {node: '>=8'} dev: true - /type-fest@1.4.0: - resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} - engines: {node: '>=10'} - dev: true - /type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} @@ -22044,7 +21948,7 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: imurmurhash: 0.1.4 - signal-exit: 4.0.2 + signal-exit: 4.1.0 dev: true /ws@6.2.2: