diff --git a/package.json b/package.json index df71cb723b..f51df84779 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,11 @@ "eslint-config-smarthr": "^8.0.0", "eslint-plugin-storybook": "^0.11.2", "husky": "^9.1.7", - "lint-staged": "^15.2.11", + "lint-staged": "^15.3.0", "prettier": "^3.4.2", "prettier-config-smarthr": "^1.0.1", "prettier-plugin-tailwindcss": "^0.6.9", - "stylelint": "^16.11.0", + "stylelint": "^16.12.0", "stylelint-config-prettier": "^9.0.5", "stylelint-config-smarthr": "^3.0.2", "stylelint-config-standard": "^36.0.1", diff --git a/packages/smarthr-ui/package.json b/packages/smarthr-ui/package.json index 5df94bbafb..b391692eca 100644 --- a/packages/smarthr-ui/package.json +++ b/packages/smarthr-ui/package.json @@ -55,7 +55,7 @@ "babel-loader": "^9.2.1", "babel-plugin-polyfill-corejs2": "^0.4.12", "babel-plugin-polyfill-regenerator": "^0.6.3", - "chromatic": "^11.20.2", + "chromatic": "^11.22.0", "css-loader": "^7.1.2", "ecma-version-validator-webpack-plugin": "^1.2.1", "fs-extra": "^11.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 605fec7f06..a5b2b04918 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,8 +38,8 @@ importers: specifier: ^9.1.7 version: 9.1.7 lint-staged: - specifier: ^15.2.11 - version: 15.2.11 + specifier: ^15.3.0 + version: 15.3.0 prettier: specifier: ^3.4.2 version: 3.4.2 @@ -50,17 +50,17 @@ importers: specifier: ^0.6.9 version: 0.6.9(prettier@3.4.2) stylelint: - specifier: ^16.11.0 - version: 16.11.0(typescript@5.7.2) + specifier: ^16.12.0 + version: 16.12.0(typescript@5.7.2) stylelint-config-prettier: specifier: ^9.0.5 - version: 9.0.5(stylelint@16.11.0(typescript@5.7.2)) + version: 9.0.5(stylelint@16.12.0(typescript@5.7.2)) stylelint-config-smarthr: specifier: ^3.0.2 - version: 3.0.2(postcss-styled-syntax@0.7.0(postcss@8.4.49))(stylelint-config-standard@36.0.1(stylelint@16.11.0(typescript@5.7.2)))(stylelint@16.11.0(typescript@5.7.2)) + version: 3.0.2(postcss-styled-syntax@0.7.0(postcss@8.4.49))(stylelint-config-standard@36.0.1(stylelint@16.12.0(typescript@5.7.2)))(stylelint@16.12.0(typescript@5.7.2)) stylelint-config-standard: specifier: ^36.0.1 - version: 36.0.1(stylelint@16.11.0(typescript@5.7.2)) + version: 36.0.1(stylelint@16.12.0(typescript@5.7.2)) stylelint-config-styled-components: specifier: ^0.1.1 version: 0.1.1 @@ -222,8 +222,8 @@ importers: specifier: ^0.6.3 version: 0.6.3(@babel/core@7.26.0) chromatic: - specifier: ^11.20.2 - version: 11.20.2 + specifier: ^11.22.0 + version: 11.22.0 css-loader: specifier: ^7.1.2 version: 7.1.2(webpack@5.97.1(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.21.5)) @@ -2804,8 +2804,8 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - chalk@5.3.0: - resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + chalk@5.4.1: + resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} change-case@4.1.2: @@ -2834,8 +2834,8 @@ packages: resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==} engines: {node: '>=18'} - chromatic@11.20.2: - resolution: {integrity: sha512-c+M3HVl5Y60c7ipGTZTyeWzWubRW70YsJ7PPDpO1D735ib8+Lu3yGF90j61pvgkXGngpkTPHZyBw83lcu2JMxA==} + chromatic@11.22.0: + resolution: {integrity: sha512-u1kAPR9lj9aFzsCp0iWPXBbsKgcxFU7iJO6mFbgNHGVg+YPBqiJMuvgB8EQHdNbHjk5amFnGnIz/Ww8fK3t9Hw==} hasBin: true peerDependencies: '@chromatic-com/cypress': ^0.*.* || ^1.0.0 @@ -4900,8 +4900,8 @@ packages: lines-and-columns@1.1.6: resolution: {integrity: sha512-8ZmlJFVK9iCmtLz19HpSsR8HaAMWBT284VMNednLwlIMDP2hJDCIhUp0IZ2xUcZ+Ob6BM0VvCSJwzASDM45NLQ==} - lint-staged@15.2.11: - resolution: {integrity: sha512-Ev6ivCTYRTGs9ychvpVw35m/bcNDuBN+mnTeObCL5h+boS5WzBEC6LHI4I9F/++sZm1m+J2LEiy0gxL/R9TBqQ==} + lint-staged@15.3.0: + resolution: {integrity: sha512-vHFahytLoF2enJklgtOtCtIjZrKD/LoxlaUusd5nh7dWv/dkKQJY74ndFSzxCdv7g0ueGg1ORgTSt4Y9LPZn9A==} engines: {node: '>=18.12.0'} hasBin: true @@ -6526,8 +6526,8 @@ packages: stylelint-config-styled-components@0.1.1: resolution: {integrity: sha512-z5Xz/9GmvxO6e/DLzBMwkB85zHxEEjN6K7Cj80Bi+o/9vR9eS3GX3E9VuMnX9WLFYulqbqLtTapGGY28JBiy9Q==} - stylelint@16.11.0: - resolution: {integrity: sha512-zrl4IrKmjJQ+h9FoMp69UMCq5SxeHk0URhxUBj4d3ISzo/DplOFBJZc7t7Dr6otB+1bfbbKNLOmCDpzKSlW+Nw==} + stylelint@16.12.0: + resolution: {integrity: sha512-F8zZ3L/rBpuoBZRvI4JVT20ZanPLXfQLzMOZg1tzPflRVh9mKpOZ8qcSIhh1my3FjAjZWG4T2POwGnmn6a6hbg==} engines: {node: '>=18.12.0'} hasBin: true @@ -6562,8 +6562,8 @@ packages: symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - table@6.8.2: - resolution: {integrity: sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==} + table@6.9.0: + resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==} engines: {node: '>=10.0.0'} tailwind-merge@2.5.4: @@ -6740,9 +6740,6 @@ packages: resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} engines: {node: '>=6'} - tslib@2.6.2: - resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} @@ -8104,7 +8101,7 @@ snapshots: '@commitlint/format@19.5.0': dependencies: '@commitlint/types': 19.5.0 - chalk: 5.3.0 + chalk: 5.4.1 '@commitlint/is-ignored@19.6.0': dependencies: @@ -8124,7 +8121,7 @@ snapshots: '@commitlint/execute-rule': 19.5.0 '@commitlint/resolve-extends': 19.5.0 '@commitlint/types': 19.5.0 - chalk: 5.3.0 + chalk: 5.4.1 cosmiconfig: 9.0.0(typescript@5.7.2) cosmiconfig-typescript-loader: 6.1.0(@types/node@22.9.1)(cosmiconfig@9.0.0(typescript@5.7.2))(typescript@5.7.2) lodash.isplainobject: 4.0.6 @@ -8175,7 +8172,7 @@ snapshots: '@commitlint/types@19.5.0': dependencies: '@types/conventional-commits-parser': 5.0.0 - chalk: 5.3.0 + chalk: 5.4.1 '@cspotcode/source-map-support@0.8.1': dependencies: @@ -8200,7 +8197,7 @@ snapshots: '@emnapi/runtime@1.3.1': dependencies: - tslib: 2.6.2 + tslib: 2.8.1 optional: true '@emotion/is-prop-valid@1.1.2': @@ -9077,7 +9074,7 @@ snapshots: flat-cache: 3.1.1 micromatch: 4.0.8 react-docgen-typescript: 2.2.2(typescript@5.7.2) - tslib: 2.6.2 + tslib: 2.8.1 typescript: 5.7.2 webpack: 5.97.1(@swc/core@1.10.4(@swc/helpers@0.5.15))(esbuild@0.21.5) transitivePeerDependencies: @@ -9882,7 +9879,7 @@ snapshots: ast-types@0.16.1: dependencies: - tslib: 2.6.2 + tslib: 2.8.1 astral-regex@2.0.0: {} @@ -10114,7 +10111,7 @@ snapshots: camel-case@4.1.2: dependencies: pascal-case: 3.1.2 - tslib: 2.6.2 + tslib: 2.8.1 camelcase-css@2.0.1: {} @@ -10135,7 +10132,7 @@ snapshots: capital-case@1.0.4: dependencies: no-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 upper-case-first: 2.0.2 case-sensitive-paths-webpack-plugin@2.4.0: {} @@ -10164,7 +10161,7 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.3.0: {} + chalk@5.4.1: {} change-case@4.1.2: dependencies: @@ -10179,7 +10176,7 @@ snapshots: path-case: 3.0.4 sentence-case: 3.0.4 snake-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 char-regex@1.0.2: {} @@ -10203,7 +10200,7 @@ snapshots: chownr@3.0.0: {} - chromatic@11.20.2: {} + chromatic@11.22.0: {} chrome-trace-event@1.0.3: {} @@ -10337,7 +10334,7 @@ snapshots: constant-case@3.0.4: dependencies: no-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 upper-case: 2.0.2 constants-browserify@1.0.0: {} @@ -10804,7 +10801,7 @@ snapshots: dot-case@3.0.4: dependencies: no-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 dot-prop@5.3.0: dependencies: @@ -11767,7 +11764,7 @@ snapshots: header-case@2.0.4: dependencies: capital-case: 1.0.4 - tslib: 2.6.2 + tslib: 2.8.1 hoist-non-react-statics@3.3.2: dependencies: @@ -12553,7 +12550,7 @@ snapshots: jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@20.17.11)(typescript@5.7.2))): dependencies: ansi-escapes: 6.2.1 - chalk: 5.3.0 + chalk: 5.4.1 jest: 29.7.0(@types/node@20.17.11)(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@20.17.11)(typescript@5.7.2)) jest-regex-util: 29.6.3 jest-watcher: 29.7.0 @@ -12744,7 +12741,7 @@ snapshots: dependencies: copy-anything: 2.0.6 parse-node-version: 1.0.1 - tslib: 2.6.2 + tslib: 2.8.1 optionalDependencies: errno: 0.1.8 graceful-fs: 4.2.11 @@ -12777,9 +12774,9 @@ snapshots: lines-and-columns@1.1.6: {} - lint-staged@15.2.11: + lint-staged@15.3.0: dependencies: - chalk: 5.3.0 + chalk: 5.4.1 commander: 12.1.0 debug: 4.4.0(supports-color@5.5.0) execa: 8.0.1 @@ -12871,7 +12868,7 @@ snapshots: log-symbols@6.0.0: dependencies: - chalk: 5.3.0 + chalk: 5.4.1 is-unicode-supported: 1.3.0 log-update@6.1.0: @@ -12890,7 +12887,7 @@ snapshots: lower-case@2.0.2: dependencies: - tslib: 2.6.2 + tslib: 2.8.1 lru-cache@10.2.0: {} @@ -13105,7 +13102,7 @@ snapshots: no-case@3.0.4: dependencies: lower-case: 2.0.2 - tslib: 2.6.2 + tslib: 2.8.1 node-abort-controller@3.1.1: {} @@ -13323,7 +13320,7 @@ snapshots: ora@8.1.1: dependencies: - chalk: 5.3.0 + chalk: 5.4.1 cli-cursor: 5.0.0 cli-spinners: 2.9.2 is-interactive: 2.0.0 @@ -13397,7 +13394,7 @@ snapshots: param-case@3.0.4: dependencies: dot-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 parent-module@1.0.1: dependencies: @@ -13433,14 +13430,14 @@ snapshots: pascal-case@3.1.2: dependencies: no-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 path-browserify@1.0.1: {} path-case@3.0.4: dependencies: dot-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 path-exists@3.0.0: {} @@ -13521,7 +13518,7 @@ snapshots: plop@4.0.1: dependencies: '@types/liftoff': 4.0.3 - chalk: 5.3.0 + chalk: 5.4.1 interpret: 3.1.1 liftoff: 4.0.0 minimist: 1.2.8 @@ -13839,7 +13836,7 @@ snapshots: esprima: 4.0.1 source-map: 0.6.1 tiny-invariant: 1.3.3 - tslib: 2.6.2 + tslib: 2.8.1 rechoir@0.8.0: dependencies: @@ -14012,7 +14009,7 @@ snapshots: rxjs@7.8.1: dependencies: - tslib: 2.6.2 + tslib: 2.8.1 safe-array-concat@1.1.2: dependencies: @@ -14066,7 +14063,7 @@ snapshots: sentence-case@3.0.4: dependencies: no-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 upper-case-first: 2.0.2 serialize-javascript@6.0.1: @@ -14177,7 +14174,7 @@ snapshots: snake-case@3.0.4: dependencies: dot-case: 3.0.4 - tslib: 2.6.2 + tslib: 2.8.1 source-map-js@1.2.1: {} @@ -14427,28 +14424,28 @@ snapshots: client-only: 0.0.1 react: 19.0.0 - stylelint-config-prettier@9.0.5(stylelint@16.11.0(typescript@5.7.2)): + stylelint-config-prettier@9.0.5(stylelint@16.12.0(typescript@5.7.2)): dependencies: - stylelint: 16.11.0(typescript@5.7.2) + stylelint: 16.12.0(typescript@5.7.2) - stylelint-config-recommended@14.0.1(stylelint@16.11.0(typescript@5.7.2)): + stylelint-config-recommended@14.0.1(stylelint@16.12.0(typescript@5.7.2)): dependencies: - stylelint: 16.11.0(typescript@5.7.2) + stylelint: 16.12.0(typescript@5.7.2) - stylelint-config-smarthr@3.0.2(postcss-styled-syntax@0.7.0(postcss@8.4.49))(stylelint-config-standard@36.0.1(stylelint@16.11.0(typescript@5.7.2)))(stylelint@16.11.0(typescript@5.7.2)): + stylelint-config-smarthr@3.0.2(postcss-styled-syntax@0.7.0(postcss@8.4.49))(stylelint-config-standard@36.0.1(stylelint@16.12.0(typescript@5.7.2)))(stylelint@16.12.0(typescript@5.7.2)): dependencies: postcss-styled-syntax: 0.7.0(postcss@8.4.49) - stylelint: 16.11.0(typescript@5.7.2) - stylelint-config-standard: 36.0.1(stylelint@16.11.0(typescript@5.7.2)) + stylelint: 16.12.0(typescript@5.7.2) + stylelint-config-standard: 36.0.1(stylelint@16.12.0(typescript@5.7.2)) - stylelint-config-standard@36.0.1(stylelint@16.11.0(typescript@5.7.2)): + stylelint-config-standard@36.0.1(stylelint@16.12.0(typescript@5.7.2)): dependencies: - stylelint: 16.11.0(typescript@5.7.2) - stylelint-config-recommended: 14.0.1(stylelint@16.11.0(typescript@5.7.2)) + stylelint: 16.12.0(typescript@5.7.2) + stylelint-config-recommended: 14.0.1(stylelint@16.12.0(typescript@5.7.2)) stylelint-config-styled-components@0.1.1: {} - stylelint@16.11.0(typescript@5.7.2): + stylelint@16.12.0(typescript@5.7.2): dependencies: '@csstools/css-parser-algorithms': 3.0.4(@csstools/css-tokenizer@3.0.3) '@csstools/css-tokenizer': 3.0.3 @@ -14486,7 +14483,7 @@ snapshots: string-width: 4.2.3 supports-hyperlinks: 3.1.0 svg-tags: 1.0.0 - table: 6.8.2 + table: 6.9.0 write-file-atomic: 5.0.1 transitivePeerDependencies: - supports-color @@ -14525,7 +14522,7 @@ snapshots: symbol-tree@3.2.4: {} - table@6.8.2: + table@6.9.0: dependencies: ajv: 8.11.0 lodash.truncate: 4.4.2 @@ -14644,7 +14641,7 @@ snapshots: title-case@3.0.3: dependencies: - tslib: 2.6.2 + tslib: 2.8.1 tldts-core@6.1.62: {} @@ -14745,8 +14742,6 @@ snapshots: minimist: 1.2.8 strip-bom: 3.0.0 - tslib@2.6.2: {} - tslib@2.8.1: {} ttypescript@1.5.15(ts-node@10.9.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/node@20.17.11)(typescript@5.7.2))(typescript@5.7.2): @@ -14875,11 +14870,11 @@ snapshots: upper-case-first@2.0.2: dependencies: - tslib: 2.6.2 + tslib: 2.8.1 upper-case@2.0.2: dependencies: - tslib: 2.6.2 + tslib: 2.8.1 uri-js@4.4.1: dependencies: