From da5c8fc187fed40a4508b06d349b073fff7cf2f4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:22:29 -0800 Subject: [PATCH 01/24] build(deps): update cspell (#11274) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@cspell/dict-gis](https://redirect.github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/gis#readme) ([source](https://redirect.github.com/streetsidesoftware/cspell-dicts/tree/HEAD/dictionaries/gis)) | [`1.0.0` -> `1.0.1`](https://renovatebot.com/diffs/npm/@cspell%2fdict-gis/1.0.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@cspell%2fdict-gis/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cspell%2fdict-gis/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cspell%2fdict-gis/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cspell%2fdict-gis/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@cspell/dict-pokemon](https://redirect.github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/pokemon#readme) ([source](https://redirect.github.com/streetsidesoftware/cspell-dicts/tree/HEAD/dictionaries/pokemon)) | [`1.0.0` -> `1.0.1`](https://renovatebot.com/diffs/npm/@cspell%2fdict-pokemon/1.0.0/1.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@cspell%2fdict-pokemon/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cspell%2fdict-pokemon/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cspell%2fdict-pokemon/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cspell%2fdict-pokemon/1.0.0/1.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@cspell/dict-scientific-terms-us](https://redirect.github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/scientific_terms_US#readme) ([source](https://redirect.github.com/streetsidesoftware/cspell-dicts/tree/HEAD/dictionaries/scientific_terms_US)) | [`3.0.5` -> `3.0.6`](https://renovatebot.com/diffs/npm/@cspell%2fdict-scientific-terms-us/3.0.5/3.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@cspell%2fdict-scientific-terms-us/3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@cspell%2fdict-scientific-terms-us/3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@cspell%2fdict-scientific-terms-us/3.0.5/3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@cspell%2fdict-scientific-terms-us/3.0.5/3.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
streetsidesoftware/cspell-dicts (@​cspell/dict-gis) ### [`v1.0.1`](https://redirect.github.com/streetsidesoftware/cspell-dicts/blob/HEAD/dictionaries/gis/CHANGELOG.md#101-2024-12-30) [Compare Source](https://redirect.github.com/streetsidesoftware/cspell-dicts/compare/@cspell/dict-gis@1.0.0...@cspell/dict-gis@1.0.1) ##### Updates and Bug Fixes - add terms to GIS dict ([#​3946](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3946)) ([672185a](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/672185a02a83392da6f497a97948fdf564283f5b)) - Adjust dictionary names ([#​3958](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3958)) ([8a96533](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/8a96533bec21280103740868b81559437c413501)) - Fix dictionary package info ([#​3956](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3956)) ([090c088](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/090c0881c3a66e946fe49baf16e54c4b1231cceb)) - Workflow Bot -- Build Dictionaries ([#​3949](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3949)) ([398b727](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/398b727fbb12431be9f23348eadf54a79bfc5589))
streetsidesoftware/cspell-dicts (@​cspell/dict-pokemon) ### [`v1.0.1`](https://redirect.github.com/streetsidesoftware/cspell-dicts/blob/HEAD/dictionaries/pokemon/CHANGELOG.md#101-2024-12-30) [Compare Source](https://redirect.github.com/streetsidesoftware/cspell-dicts/compare/@cspell/dict-pokemon@1.0.0...@cspell/dict-pokemon@1.0.1) ##### Updates and Bug Fixes - Adjust dictionary names ([#​3958](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3958)) ([8a96533](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/8a96533bec21280103740868b81559437c413501)) - Fix dictionary package info ([#​3956](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3956)) ([090c088](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/090c0881c3a66e946fe49baf16e54c4b1231cceb))
streetsidesoftware/cspell-dicts (@​cspell/dict-scientific-terms-us) ### [`v3.0.6`](https://redirect.github.com/streetsidesoftware/cspell-dicts/blob/HEAD/dictionaries/scientific_terms_US/CHANGELOG.md#306-2024-12-30) [Compare Source](https://redirect.github.com/streetsidesoftware/cspell-dicts/compare/@cspell/dict-scientific-terms-us@3.0.5...@cspell/dict-scientific-terms-us@3.0.6) ##### Updates and Bug Fixes - Adjust dictionary names ([#​3958](https://redirect.github.com/streetsidesoftware/cspell-dicts/issues/3958)) ([8a96533](https://redirect.github.com/streetsidesoftware/cspell-dicts/commit/8a96533bec21280103740868b81559437c413501))
--- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 33 +++++++++++++++------------------ package.json | 6 +++--- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec7bfc7575e..4df70841c29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,9 +17,9 @@ }, "devDependencies": { "@arcgis/lumina-compiler": "^4.32.0-next.75", - "@cspell/dict-gis": "1.0.0", - "@cspell/dict-pokemon": "1.0.0", - "@cspell/dict-scientific-terms-us": "3.0.5", + "@cspell/dict-gis": "1.0.1", + "@cspell/dict-pokemon": "1.0.1", + "@cspell/dict-scientific-terms-us": "3.0.6", "@cspell/eslint-plugin": "8.17.1", "@eslint/js": "9.17.0", "@esri/calcite-base": "1.2.0", @@ -677,11 +677,10 @@ "license": "MIT" }, "node_modules/@cspell/dict-gis": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-gis/-/dict-gis-1.0.0.tgz", - "integrity": "sha512-FIN98hdc06RGsyfwp7CFyvTS6ozAAEJ38wMZtkRMXY7zOmIzAIX8oz4I8HiugMIglO1/tEVXh8nJoiRt7+s4ig==", - "dev": true, - "license": "MIT" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@cspell/dict-gis/-/dict-gis-1.0.1.tgz", + "integrity": "sha512-ngai1xTgrbnJF5Hw+EDhJ2jNgO1IcbyExW1Sok5PzLzmEvkHp/82c5rfjvRnR0ufgTpr7tMrJAzQeMfVTkadSQ==", + "dev": true }, "node_modules/@cspell/dict-git": { "version": "3.0.4", @@ -816,11 +815,10 @@ "license": "MIT" }, "node_modules/@cspell/dict-pokemon": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@cspell/dict-pokemon/-/dict-pokemon-1.0.0.tgz", - "integrity": "sha512-jZOvIfS0sgptSa6xg6qRqmCnXByUyR0PPb7TwZq67GM73vE8ACXP0HyUHU/ep+HFxo86PsUofZasZ6jTdehwHg==", - "dev": true, - "license": "MIT" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@cspell/dict-pokemon/-/dict-pokemon-1.0.1.tgz", + "integrity": "sha512-xJThcQkHEfNT6smIMLIHREushX/3dWzXtgnTX5/ILgNFkHR4Ic905q1JRyGc9HpJM1j5hw2R71yiTQub2x9OEQ==", + "dev": true }, "node_modules/@cspell/dict-powershell": { "version": "5.0.14", @@ -875,11 +873,10 @@ "license": "MIT" }, "node_modules/@cspell/dict-scientific-terms-us": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@cspell/dict-scientific-terms-us/-/dict-scientific-terms-us-3.0.5.tgz", - "integrity": "sha512-Mt0zscHGsmsN3pj0+lBu6TsAPFAkEINE+TU6JzF8+yBZJtX3lKleQ9HY4+xyjIZqmCJHEu0+xSCOPvPufoq0yg==", - "dev": true, - "license": "MIT" + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@cspell/dict-scientific-terms-us/-/dict-scientific-terms-us-3.0.6.tgz", + "integrity": "sha512-M+hrVWaZbWDz51PobbuMMOalli9+ZRgPZe31YhThAfmaYDpmnzpACceFRldlSdEeJXSA8rn8raAnRiSBRcQSpw==", + "dev": true }, "node_modules/@cspell/dict-software-terms": { "version": "4.2.2", diff --git a/package.json b/package.json index 525d14e1c4f..4ebac50887e 100644 --- a/package.json +++ b/package.json @@ -35,9 +35,9 @@ }, "devDependencies": { "@arcgis/lumina-compiler": "^4.32.0-next.75", - "@cspell/dict-gis": "1.0.0", - "@cspell/dict-pokemon": "1.0.0", - "@cspell/dict-scientific-terms-us": "3.0.5", + "@cspell/dict-gis": "1.0.1", + "@cspell/dict-pokemon": "1.0.1", + "@cspell/dict-scientific-terms-us": "3.0.6", "@cspell/eslint-plugin": "8.17.1", "@eslint/js": "9.17.0", "@esri/calcite-base": "1.2.0", From 79841dbf4801b28442a6329a953e9ccfcacde8b7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 13:23:34 -0800 Subject: [PATCH 02/24] build(deps): update dependency rollup to v4.30.1 (#11241) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://redirect.github.com/rollup/rollup)) | [`4.29.1` -> `4.30.1`](https://renovatebot.com/diffs/npm/rollup/4.29.1/4.30.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rollup/4.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rollup/4.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/rollup/4.29.1/4.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rollup/4.29.1/4.30.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
rollup/rollup (rollup) ### [`v4.30.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4301) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.30.0...v4.30.1) *2025-01-07* ##### Bug Fixes - Prevent invalid code when simplifying unary expressions in switch cases ([#​5786](https://redirect.github.com/rollup/rollup/issues/5786)) ##### Pull Requests - [#​5786](https://redirect.github.com/rollup/rollup/pull/5786): fix: consider that literals cannot following switch case. ([@​TrickyPi](https://redirect.github.com/TrickyPi)) ### [`v4.30.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4300) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.29.2...v4.30.0) *2025-01-06* ##### Features - Inline values of resolvable unary expressions for improved tree-shaking ([#​5775](https://redirect.github.com/rollup/rollup/issues/5775)) ##### Pull Requests - [#​5775](https://redirect.github.com/rollup/rollup/pull/5775): feat: enhance the treehshaking for unary expression ([@​TrickyPi](https://redirect.github.com/TrickyPi)) - [#​5783](https://redirect.github.com/rollup/rollup/pull/5783): Improve CI caching for node_modules ([@​lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.29.2`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4292) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.29.1...v4.29.2) *2025-01-05* ##### Bug Fixes - Keep import attributes when using dynamic ESM `import()` expressions from CommonJS ([#​5781](https://redirect.github.com/rollup/rollup/issues/5781)) ##### Pull Requests - [#​5772](https://redirect.github.com/rollup/rollup/pull/5772): Improve caching on CI ([@​lukastaegert](https://redirect.github.com/lukastaegert)) - [#​5773](https://redirect.github.com/rollup/rollup/pull/5773): fix(deps): lock file maintenance minor/patch updates ([@​renovate](https://redirect.github.com/renovate)\[bot]) - [#​5780](https://redirect.github.com/rollup/rollup/pull/5780): feat: use picocolors instead of colorette ([@​re-taro](https://redirect.github.com/re-taro)) - [#​5781](https://redirect.github.com/rollup/rollup/pull/5781): fix: keep import attributes for cjs format ([@​TrickyPi](https://redirect.github.com/TrickyPi))
--- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 180 +++++++++++++++++++++------------------------- package.json | 2 +- 2 files changed, 81 insertions(+), 101 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4df70841c29..35e24facc49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -88,7 +88,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "rimraf": "6.0.1", - "rollup": "4.29.1", + "rollup": "4.30.1", "semver": "7.6.3", "shell-quote": "1.8.2", "storybook": "8.4.7", @@ -4971,266 +4971,247 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.29.1.tgz", - "integrity": "sha512-ssKhA8RNltTZLpG6/QNkCSge+7mBQGUqJRisZ2MDQcEGaK93QESEgWK2iOpIDZ7k9zPVkG5AS3ksvD5ZWxmItw==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.30.1.tgz", + "integrity": "sha512-pSWY+EVt3rJ9fQ3IqlrEUtXh3cGqGtPDH1FQlNZehO2yYxCHEX1SPsz1M//NXwYfbTlcKr9WObLnJX9FsS9K1Q==", "cpu": [ "arm" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "android" ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.29.1.tgz", - "integrity": "sha512-CaRfrV0cd+NIIcVVN/jx+hVLN+VRqnuzLRmfmlzpOzB87ajixsN/+9L5xNmkaUUvEbI5BmIKS+XTwXsHEb65Ew==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.30.1.tgz", + "integrity": "sha512-/NA2qXxE3D/BRjOJM8wQblmArQq1YoBVJjrjoTSBS09jgUisq7bqxNHJ8kjCHeV21W/9WDGwJEWSN0KQ2mtD/w==", "cpu": [ "arm64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "android" ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.29.1.tgz", - "integrity": "sha512-2ORr7T31Y0Mnk6qNuwtyNmy14MunTAMx06VAPI6/Ju52W10zk1i7i5U3vlDRWjhOI5quBcrvhkCHyF76bI7kEw==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.30.1.tgz", + "integrity": "sha512-r7FQIXD7gB0WJ5mokTUgUWPl0eYIH0wnxqeSAhuIwvnnpjdVB8cRRClyKLQr7lgzjctkbp5KmswWszlwYln03Q==", "cpu": [ "arm64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "darwin" ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.29.1.tgz", - "integrity": "sha512-j/Ej1oanzPjmN0tirRd5K2/nncAhS9W6ICzgxV+9Y5ZsP0hiGhHJXZ2JQ53iSSjj8m6cRY6oB1GMzNn2EUt6Ng==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.30.1.tgz", + "integrity": "sha512-x78BavIwSH6sqfP2xeI1hd1GpHL8J4W2BXcVM/5KYKoAD3nNsfitQhvWSw+TFtQTLZ9OmlF+FEInEHyubut2OA==", "cpu": [ "x64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "darwin" ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.29.1.tgz", - "integrity": "sha512-91C//G6Dm/cv724tpt7nTyP+JdN12iqeXGFM1SqnljCmi5yTXriH7B1r8AD9dAZByHpKAumqP1Qy2vVNIdLZqw==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.30.1.tgz", + "integrity": "sha512-HYTlUAjbO1z8ywxsDFWADfTRfTIIy/oUlfIDmlHYmjUP2QRDTzBuWXc9O4CXM+bo9qfiCclmHk1x4ogBjOUpUQ==", "cpu": [ "arm64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "freebsd" ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.29.1.tgz", - "integrity": "sha512-hEioiEQ9Dec2nIRoeHUP6hr1PSkXzQaCUyqBDQ9I9ik4gCXQZjJMIVzoNLBRGet+hIUb3CISMh9KXuCcWVW/8w==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.30.1.tgz", + "integrity": "sha512-1MEdGqogQLccphhX5myCJqeGNYTNcmTyaic9S7CG3JhwuIByJ7J05vGbZxsizQthP1xpVx7kd3o31eOogfEirw==", "cpu": [ "x64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "freebsd" ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.29.1.tgz", - "integrity": "sha512-Py5vFd5HWYN9zxBv3WMrLAXY3yYJ6Q/aVERoeUFwiDGiMOWsMs7FokXihSOaT/PMWUty/Pj60XDQndK3eAfE6A==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.30.1.tgz", + "integrity": "sha512-PaMRNBSqCx7K3Wc9QZkFx5+CX27WFpAMxJNiYGAXfmMIKC7jstlr32UhTgK6T07OtqR+wYlWm9IxzennjnvdJg==", "cpu": [ "arm" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.29.1.tgz", - "integrity": "sha512-RiWpGgbayf7LUcuSNIbahr0ys2YnEERD4gYdISA06wa0i8RALrnzflh9Wxii7zQJEB2/Eh74dX4y/sHKLWp5uQ==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.30.1.tgz", + "integrity": "sha512-B8Rcyj9AV7ZlEFqvB5BubG5iO6ANDsRKlhIxySXcF1axXYUyqwBok+XZPgIYGBgs7LDXfWfifxhw0Ik57T0Yug==", "cpu": [ "arm" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.29.1.tgz", - "integrity": "sha512-Z80O+taYxTQITWMjm/YqNoe9d10OX6kDh8X5/rFCMuPqsKsSyDilvfg+vd3iXIqtfmp+cnfL1UrYirkaF8SBZA==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.30.1.tgz", + "integrity": "sha512-hqVyueGxAj3cBKrAI4aFHLV+h0Lv5VgWZs9CUGqr1z0fZtlADVV1YPOij6AhcK5An33EXaxnDLmJdQikcn5NEw==", "cpu": [ "arm64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.29.1.tgz", - "integrity": "sha512-fOHRtF9gahwJk3QVp01a/GqS4hBEZCV1oKglVVq13kcK3NeVlS4BwIFzOHDbmKzt3i0OuHG4zfRP0YoG5OF/rA==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.30.1.tgz", + "integrity": "sha512-i4Ab2vnvS1AE1PyOIGp2kXni69gU2DAUVt6FSXeIqUCPIR3ZlheMW3oP2JkukDfu3PsexYRbOiJrY+yVNSk9oA==", "cpu": [ "arm64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.29.1.tgz", - "integrity": "sha512-5a7q3tnlbcg0OodyxcAdrrCxFi0DgXJSoOuidFUzHZ2GixZXQs6Tc3CHmlvqKAmOs5eRde+JJxeIf9DonkmYkw==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.30.1.tgz", + "integrity": "sha512-fARcF5g296snX0oLGkVxPmysetwUk2zmHcca+e9ObOovBR++9ZPOhqFUM61UUZ2EYpXVPN1redgqVoBB34nTpQ==", "cpu": [ "loong64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.29.1.tgz", - "integrity": "sha512-9b4Mg5Yfz6mRnlSPIdROcfw1BU22FQxmfjlp/CShWwO3LilKQuMISMTtAu/bxmmrE6A902W2cZJuzx8+gJ8e9w==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.30.1.tgz", + "integrity": "sha512-GLrZraoO3wVT4uFXh67ElpwQY0DIygxdv0BNW9Hkm3X34wu+BkqrDrkcsIapAY+N2ATEbvak0XQ9gxZtCIA5Rw==", "cpu": [ "ppc64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.29.1.tgz", - "integrity": "sha512-G5pn0NChlbRM8OJWpJFMX4/i8OEU538uiSv0P6roZcbpe/WfhEO+AT8SHVKfp8qhDQzaz7Q+1/ixMy7hBRidnQ==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.30.1.tgz", + "integrity": "sha512-0WKLaAUUHKBtll0wvOmh6yh3S0wSU9+yas923JIChfxOaaBarmb/lBKPF0w/+jTVozFnOXJeRGZ8NvOxvk/jcw==", "cpu": [ "riscv64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.29.1.tgz", - "integrity": "sha512-WM9lIkNdkhVwiArmLxFXpWndFGuOka4oJOZh8EP3Vb8q5lzdSCBuhjavJsw68Q9AKDGeOOIHYzYm4ZFvmWez5g==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.30.1.tgz", + "integrity": "sha512-GWFs97Ruxo5Bt+cvVTQkOJ6TIx0xJDD/bMAOXWJg8TCSTEK8RnFeOeiFTxKniTc4vMIaWvCplMAFBt9miGxgkA==", "cpu": [ "s390x" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.29.1.tgz", - "integrity": "sha512-87xYCwb0cPGZFoGiErT1eDcssByaLX4fc0z2nRM6eMtV9njAfEE6OW3UniAoDhX4Iq5xQVpE6qO9aJbCFumKYQ==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.30.1.tgz", + "integrity": "sha512-UtgGb7QGgXDIO+tqqJ5oZRGHsDLO8SlpE4MhqpY9Llpzi5rJMvrK6ZGhsRCST2abZdBqIBeXW6WPD5fGK5SDwg==", "cpu": [ "x64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.29.1.tgz", - "integrity": "sha512-xufkSNppNOdVRCEC4WKvlR1FBDyqCSCpQeMMgv9ZyXqqtKBfkw1yfGMTUTs9Qsl6WQbJnsGboWCp7pJGkeMhKA==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.30.1.tgz", + "integrity": "sha512-V9U8Ey2UqmQsBT+xTOeMzPzwDzyXmnAoO4edZhL7INkwQcaW1Ckv3WJX3qrrp/VHaDkEWIBWhRwP47r8cdrOow==", "cpu": [ "x64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.29.1.tgz", - "integrity": "sha512-F2OiJ42m77lSkizZQLuC+jiZ2cgueWQL5YC9tjo3AgaEw+KJmVxHGSyQfDUoYR9cci0lAywv2Clmckzulcq6ig==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.30.1.tgz", + "integrity": "sha512-WabtHWiPaFF47W3PkHnjbmWawnX/aE57K47ZDT1BXTS5GgrBUEpvOzq0FI0V/UYzQJgdb8XlhVNH8/fwV8xDjw==", "cpu": [ "arm64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.29.1.tgz", - "integrity": "sha512-rYRe5S0FcjlOBZQHgbTKNrqxCBUmgDJem/VQTCcTnA2KCabYSWQDrytOzX7avb79cAAweNmMUb/Zw18RNd4mng==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.30.1.tgz", + "integrity": "sha512-pxHAU+Zv39hLUTdQQHUVHf4P+0C47y/ZloorHpzs2SXMRqeAWmGghzAhfOlzFHHwjvgokdFAhC4V+6kC1lRRfw==", "cpu": [ "ia32" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.29.1.tgz", - "integrity": "sha512-+10CMg9vt1MoHj6x1pxyjPSMjHTIlqs8/tBztXvPAx24SKs9jwVnKqHJumlH/IzhaPUaj3T6T6wfZr8okdXaIg==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.30.1.tgz", + "integrity": "sha512-D6qjsXGcvhTjv0kI4fU8tUuBDF/Ueee4SVX79VfNDXZa64TfCW1Slkb6Z7O1p7vflqZjcmOVdZlqf8gvJxc6og==", "cpu": [ "x64" ], "dev": true, - "license": "MIT", "optional": true, "os": [ "win32" @@ -24107,11 +24088,10 @@ } }, "node_modules/rollup": { - "version": "4.29.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.29.1.tgz", - "integrity": "sha512-RaJ45M/kmJUzSWDs1Nnd5DdV4eerC98idtUOVr6FfKcgxqvjwHmxc5upLF9qZU9EpsVzzhleFahrT3shLuJzIw==", + "version": "4.30.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.30.1.tgz", + "integrity": "sha512-mlJ4glW020fPuLi7DkM/lN97mYEZGWeqBnrljzN0gs7GLctqX3lNWxKQ7Gl712UAX+6fog/L3jh4gb7R6aVi3w==", "dev": true, - "license": "MIT", "dependencies": { "@types/estree": "1.0.6" }, @@ -24123,25 +24103,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.29.1", - "@rollup/rollup-android-arm64": "4.29.1", - "@rollup/rollup-darwin-arm64": "4.29.1", - "@rollup/rollup-darwin-x64": "4.29.1", - "@rollup/rollup-freebsd-arm64": "4.29.1", - "@rollup/rollup-freebsd-x64": "4.29.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.29.1", - "@rollup/rollup-linux-arm-musleabihf": "4.29.1", - "@rollup/rollup-linux-arm64-gnu": "4.29.1", - "@rollup/rollup-linux-arm64-musl": "4.29.1", - "@rollup/rollup-linux-loongarch64-gnu": "4.29.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.29.1", - "@rollup/rollup-linux-riscv64-gnu": "4.29.1", - "@rollup/rollup-linux-s390x-gnu": "4.29.1", - "@rollup/rollup-linux-x64-gnu": "4.29.1", - "@rollup/rollup-linux-x64-musl": "4.29.1", - "@rollup/rollup-win32-arm64-msvc": "4.29.1", - "@rollup/rollup-win32-ia32-msvc": "4.29.1", - "@rollup/rollup-win32-x64-msvc": "4.29.1", + "@rollup/rollup-android-arm-eabi": "4.30.1", + "@rollup/rollup-android-arm64": "4.30.1", + "@rollup/rollup-darwin-arm64": "4.30.1", + "@rollup/rollup-darwin-x64": "4.30.1", + "@rollup/rollup-freebsd-arm64": "4.30.1", + "@rollup/rollup-freebsd-x64": "4.30.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.30.1", + "@rollup/rollup-linux-arm-musleabihf": "4.30.1", + "@rollup/rollup-linux-arm64-gnu": "4.30.1", + "@rollup/rollup-linux-arm64-musl": "4.30.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.30.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.30.1", + "@rollup/rollup-linux-riscv64-gnu": "4.30.1", + "@rollup/rollup-linux-s390x-gnu": "4.30.1", + "@rollup/rollup-linux-x64-gnu": "4.30.1", + "@rollup/rollup-linux-x64-musl": "4.30.1", + "@rollup/rollup-win32-arm64-msvc": "4.30.1", + "@rollup/rollup-win32-ia32-msvc": "4.30.1", + "@rollup/rollup-win32-x64-msvc": "4.30.1", "fsevents": "~2.3.2" } }, diff --git a/package.json b/package.json index 4ebac50887e..5893f51e2d0 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "react": "18.3.1", "react-dom": "18.3.1", "rimraf": "6.0.1", - "rollup": "4.29.1", + "rollup": "4.30.1", "semver": "7.6.3", "shell-quote": "1.8.2", "storybook": "8.4.7", From f3973c84751a308cca184fce3b353118073d4684 Mon Sep 17 00:00:00 2001 From: Abraham Preciado Morales Date: Mon, 13 Jan 2025 13:43:36 -0800 Subject: [PATCH 03/24] feat(pagination): add component tokens (#11157) **Related Issue:** [#7180](https://github.com/Esri/calcite-design-system/issues/7180) ## Summary Add `pagination` component tokens. `--calcite-pagination-spacing`: Specifies the amount of left and right margin spacing between each item. `--calcite-pagination-size`: Specifies the width of each item. `--calcite-pagination-color`: Specifies the component's item color. `--calcite-pagination-color-hover`: Specifies the component's item color when hovered or selected. `--calcite-pagination-color-border-hover`: Specifies the component's item bottom border color when hovered. `--calcite-pagination-color-border-active`: Specifies the component's item bottom border color when selected. `--calcite-pagination-background-color`: Specifies the component's item background color when active. `--calcite-pagination-icon-color-background-hover`: Specifies the component's chevron item background color when hovered. --- .../components/pagination/pagination.e2e.ts | 91 ++++++++++++++++++- .../src/components/pagination/pagination.scss | 36 ++++++-- .../src/custom-theme.stories.ts | 3 +- .../src/custom-theme/pagination.ts | 9 ++ 4 files changed, 130 insertions(+), 9 deletions(-) diff --git a/packages/calcite-components/src/components/pagination/pagination.e2e.ts b/packages/calcite-components/src/components/pagination/pagination.e2e.ts index 0acef34458b..efecff2112b 100644 --- a/packages/calcite-components/src/components/pagination/pagination.e2e.ts +++ b/packages/calcite-components/src/components/pagination/pagination.e2e.ts @@ -2,7 +2,7 @@ import { newE2EPage, E2EPage, E2EElement } from "@arcgis/lumina-compiler/puppeteerTesting"; import { describe, expect, it, beforeEach } from "vitest"; import { html } from "../../../support/formatting"; -import { accessible, focusable, hidden, renders, t9n } from "../../tests/commonTests"; +import { accessible, focusable, hidden, renders, t9n, themed } from "../../tests/commonTests"; import { CSS } from "./resources"; describe("calcite-pagination", () => { @@ -366,4 +366,93 @@ describe("calcite-pagination", () => { expect(hiddenChevrons.length).toBe(0); }); }); + + describe("theme", () => { + describe("default", () => { + themed(html``, { + "--calcite-pagination-color": [ + { + shadowSelector: `.${CSS.chevron}`, + targetProp: "color", + }, + { + shadowSelector: `.${CSS.page}:not(.${CSS.selected})`, + targetProp: "color", + }, + { + shadowSelector: `.${CSS.ellipsis}`, + targetProp: "color", + }, + ], + }); + }); + describe("hover", () => { + themed(html``, { + "--calcite-pagination-color-hover": [ + { + shadowSelector: `.${CSS.chevron}:not(.${CSS.disabled})`, + targetProp: "color", + state: "hover", + }, + { + shadowSelector: `.${CSS.page}`, + targetProp: "color", + state: "hover", + }, + ], + "--calcite-pagination-color-border-hover": { + shadowSelector: `.${CSS.page}:not(.${CSS.selected})`, + targetProp: "borderBlockEndColor", + state: "hover", + }, + "--calcite-pagination-icon-color-background-hover": { + shadowSelector: `.${CSS.chevron}:not(.${CSS.disabled})`, + targetProp: "backgroundColor", + state: "hover", + }, + }); + }); + describe("active", () => { + themed(html``, { + "--calcite-pagination-color-hover": [ + { + shadowSelector: `.${CSS.chevron}:not(.${CSS.disabled})`, + targetProp: "color", + state: { press: { attribute: "class", value: `${CSS.chevron}` } }, + }, + { + shadowSelector: `.${CSS.page}`, + targetProp: "color", + state: { press: { attribute: "class", value: `${CSS.page}` } }, + }, + ], + "--calcite-pagination-background-color": [ + { + shadowSelector: `.${CSS.page}:not(.${CSS.selected})`, + targetProp: "backgroundColor", + state: { press: { attribute: "class", value: `${CSS.page}` } }, + }, + { + shadowSelector: `.${CSS.chevron}:not(.${CSS.disabled})`, + targetProp: "backgroundColor", + state: { press: { attribute: "class", value: `${CSS.chevron}` } }, + }, + ], + }); + }); + describe("selected", () => { + themed(html``, { + "--calcite-pagination-color-hover": { + shadowSelector: `.${CSS.page}`, + targetProp: "color", + state: "focus", + }, + "--calcite-pagination-color-border-active": { + shadowSelector: `.${CSS.page}`, + targetProp: "borderBlockEndColor", + state: "focus", + }, + }); + }); + }); }); diff --git a/packages/calcite-components/src/components/pagination/pagination.scss b/packages/calcite-components/src/components/pagination/pagination.scss index fbcc3f2abe1..a07990cf7ee 100644 --- a/packages/calcite-components/src/components/pagination/pagination.scss +++ b/packages/calcite-components/src/components/pagination/pagination.scss @@ -1,3 +1,16 @@ +/** + * CSS Custom Properties + * + * These properties can be overridden using the component's tag as selector. + * + * @prop --calcite-pagination-color: Specifies the component's item color. + * @prop --calcite-pagination-color-hover: Specifies the component's item color when hovered or selected. + * @prop --calcite-pagination-color-border-hover: Specifies the component's item bottom border color when hovered. + * @prop --calcite-pagination-color-border-active: Specifies the component's item bottom border color when selected. + * @prop --calcite-pagination-background-color: Specifies the component's item background color when active. + * @prop --calcite-pagination-icon-color-background-hover: Specifies the component's chevron item background color when hovered. + */ + :host { @apply flex; writing-mode: horizontal-tb; @@ -66,7 +79,6 @@ @apply p-0 m-0 text-0h - text-color-3 font-inherit box-border flex @@ -76,6 +88,8 @@ justify-center align-baseline bg-transparent; + + color: var(--calcite-pagination-color, var(--calcite-color-text-3)); } .chevron, @@ -84,19 +98,27 @@ border-block: 2px solid transparent; &:hover { - @apply text-color-1 transition-default; + @apply transition-default; + + color: var(--calcite-pagination-color-hover, var(--calcite-color-text-1)); + } + &:active { + color: var(--calcite-pagination-color-hover, var(--calcite-color-text-1)); } } .page { &:hover { - @apply border-b-color-2; + border-block-end-color: var(--calcite-pagination-color-border-hover, var(--calcite-color-border-2)); } &:active { - @apply bg-foreground-3 text-color-1; + background-color: var(--calcite-pagination-background-color, var(--calcite-color-foreground-3)); } &.selected { - @apply text-color-1 border-b-color-brand font-medium; + @apply font-medium; + + color: var(--calcite-pagination-color-hover, var(--calcite-color-text-1)); + border-block-end-color: var(--calcite-pagination-color-border-active, var(--calcite-color-brand)); &:focus { border-block-end-width: var(--calcite-spacing-xxs); @@ -107,10 +129,10 @@ .chevron { &:hover { - @apply bg-foreground-2 text-color-1; + background-color: var(--calcite-pagination-icon-color-background-hover, var(--calcite-color-foreground-2)); } &:active { - @apply bg-foreground-3 text-color-1; + background-color: var(--calcite-pagination-background-color, var(--calcite-color-foreground-3)); } &.disabled { @apply pointer-events-none bg-transparent; diff --git a/packages/calcite-components/src/custom-theme.stories.ts b/packages/calcite-components/src/custom-theme.stories.ts index f25502cfaa2..6e74361034c 100644 --- a/packages/calcite-components/src/custom-theme.stories.ts +++ b/packages/calcite-components/src/custom-theme.stories.ts @@ -34,7 +34,7 @@ import { link, linkTokens } from "./custom-theme/link"; import { list, listTokens } from "./custom-theme/list"; import { loader, loaderTokens } from "./custom-theme/loader"; import { notice, noticeTokens } from "./custom-theme/notice"; -import { pagination } from "./custom-theme/pagination"; +import { pagination, paginationTokens } from "./custom-theme/pagination"; import { popover, popoverTokens } from "./custom-theme/popover"; import { progress, progressTokens } from "./custom-theme/progress"; import { segmentedControl } from "./custom-theme/segmented-control"; @@ -171,6 +171,7 @@ const componentTokens = { ...navigationTokens, ...navigationUserTokens, ...noticeTokens, + ...paginationTokens, ...popoverTokens, ...progressTokens, ...ratingTokens, diff --git a/packages/calcite-components/src/custom-theme/pagination.ts b/packages/calcite-components/src/custom-theme/pagination.ts index 4b147c9e794..e87a29d6c53 100644 --- a/packages/calcite-components/src/custom-theme/pagination.ts +++ b/packages/calcite-components/src/custom-theme/pagination.ts @@ -1,5 +1,14 @@ import { html } from "../../support/formatting"; +export const paginationTokens = { + calcitePaginationColor: "", + calcitePaginationColorHover: "", + calcitePaginationColorBorderHover: "", + calcitePaginationColorBorderActive: "", + calcitePaginationBackgroundColor: "", + calcitePaginationIconColorBackgroundHover: "", +}; + export const pagination = html` Date: Mon, 13 Jan 2025 13:58:45 -0800 Subject: [PATCH 04/24] build: update browserslist db (#11272) This PR was automatically generated by the update-browserslist-db GitHub action Co-authored-by: benelan <10986395+benelan@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 35e24facc49..0d64114daaa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9080,9 +9080,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001690", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001690.tgz", - "integrity": "sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==", + "version": "1.0.30001692", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001692.tgz", + "integrity": "sha512-A95VKan0kdtrsnMubMKxEKUKImOPSuCpYgxSQBo036P5YYgVIcOYJEgt/txJWqObiRQeISNCfef9nvlQ0vbV7A==", "dev": true, "funding": [ { From 8444133d65f8e56364a7a6b44dbec085c3d72907 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:02:34 -0800 Subject: [PATCH 05/24] build(deps): update nx monorepo to v20.3.1 (#11276) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nx/nx-darwin-arm64](https://redirect.github.com/nrwl/nx) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/nx/native-packages/darwin-arm64)) | [`20.3.0` -> `20.3.1`](https://renovatebot.com/diffs/npm/@nx%2fnx-darwin-arm64/20.3.0/20.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fnx-darwin-arm64/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fnx-darwin-arm64/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fnx-darwin-arm64/20.3.0/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fnx-darwin-arm64/20.3.0/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@nx/nx-linux-x64-gnu](https://redirect.github.com/nrwl/nx) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/nx/native-packages/linux-x64-gnu)) | [`20.3.0` -> `20.3.1`](https://renovatebot.com/diffs/npm/@nx%2fnx-linux-x64-gnu/20.3.0/20.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fnx-linux-x64-gnu/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fnx-linux-x64-gnu/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fnx-linux-x64-gnu/20.3.0/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fnx-linux-x64-gnu/20.3.0/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@nx/nx-win32-x64-msvc](https://redirect.github.com/nrwl/nx) ([source](https://redirect.github.com/nrwl/nx/tree/HEAD/packages/nx/native-packages/win32-x64-msvc)) | [`20.3.0` -> `20.3.1`](https://renovatebot.com/diffs/npm/@nx%2fnx-win32-x64-msvc/20.3.0/20.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@nx%2fnx-win32-x64-msvc/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@nx%2fnx-win32-x64-msvc/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@nx%2fnx-win32-x64-msvc/20.3.0/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@nx%2fnx-win32-x64-msvc/20.3.0/20.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
nrwl/nx (@​nx/nx-darwin-arm64) ### [`v20.3.1`](https://redirect.github.com/nrwl/nx/releases/tag/20.3.1) [Compare Source](https://redirect.github.com/nrwl/nx/compare/20.3.0...20.3.1) ##### 20.3.1 (2025-01-07) ##### ๐Ÿš€ Features - **nx-dev:** add TOC markdoc component for blog posts ([d98e6e4e84](https://redirect.github.com/nrwl/nx/commit/d98e6e4e84)) ##### ๐Ÿฉน Fixes - **core:** daemon spinner should show text ([#​29448](https://redirect.github.com/nrwl/nx/pull/29448)) - **js:** not generate tsconfig if already exists ([#​29317](https://redirect.github.com/nrwl/nx/pull/29317)) - **js:** only add typescript project references for explicit dependencies in sync generator ([#​28998](https://redirect.github.com/nrwl/nx/pull/28998)) - **js:** infer outputs correctly when both rootDir and outDir are set for tsconfig ([#​29531](https://redirect.github.com/nrwl/nx/pull/29531)) - **nx-dev:** Quote typo ([#​29513](https://redirect.github.com/nrwl/nx/pull/29513)) - **nx-dev:** add playsInline to video loop component ([615fd172a5](https://redirect.github.com/nrwl/nx/commit/615fd172a5)) - **release:** invalid config path in hint for using skipLockFileUpdate ([#​29425](https://redirect.github.com/nrwl/nx/pull/29425)) - **vite:** tsconfig paths plugin should not partially match paths ([#​29501](https://redirect.github.com/nrwl/nx/pull/29501)) ##### โค๏ธ Thank You - Bartosz Adamczyk [@​clxandstuff](https://redirect.github.com/clxandstuff) - Craigory Coppola [@​AgentEnder](https://redirect.github.com/AgentEnder) - Emily Xiong [@​xiongemi](https://redirect.github.com/xiongemi) - Jack Hsu [@​jaysoo](https://redirect.github.com/jaysoo) - Jack Stevenson - Juri [@​juristr](https://redirect.github.com/juristr) - Matt Lewis [@​mattlewis92](https://redirect.github.com/mattlewis92) - Nicholas Cunningham [@​ndcunningham](https://redirect.github.com/ndcunningham) - Philip Fulcher
--- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 75 +++++++++++++++++++++++++++++++++++++---------- package.json | 6 ++-- 2 files changed, 63 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d64114daaa..0044414f816 100644 --- a/package-lock.json +++ b/package-lock.json @@ -107,9 +107,9 @@ "vitest": "2.1.8" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "20.3.0", - "@nx/nx-linux-x64-gnu": "20.3.0", - "@nx/nx-win32-x64-msvc": "20.3.0" + "@nx/nx-darwin-arm64": "20.3.1", + "@nx/nx-linux-x64-gnu": "20.3.1", + "@nx/nx-win32-x64-msvc": "20.3.1" } }, "node_modules/@actions/core": { @@ -3960,13 +3960,12 @@ } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "20.3.0", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.3.0.tgz", - "integrity": "sha512-9PqSe1Sh7qNqA4GL0cZH0t3S0EZzb2Xn14XY9au7yf0+eoxyag1oETjjULrxLeUmSoXW2hDxzNtoqKFE9zF07Q==", + "version": "20.3.1", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.3.1.tgz", + "integrity": "sha512-bx++T9/8l4PK1yDTxPnROT7RG8CkWGkxKC0D7xlS/YQzE7CelDfgNYu0Bd7upZF4gafW2Uz3dd3j6WhvZLxbbg==", "cpu": [ "arm64" ], - "license": "MIT", "optional": true, "os": [ "darwin" @@ -4061,13 +4060,12 @@ } }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "20.3.0", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.3.0.tgz", - "integrity": "sha512-nkA2DLI+rpmiuiy7dyXP4l9s7dgHkQWDX7lG1XltiT41RzAReJF1h8qBE6XrsAYE1CtI76DRWVphnc93+iZr+A==", + "version": "20.3.1", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.3.1.tgz", + "integrity": "sha512-qC2On2qwYCtn/Kt8epvUn0H3NY6zG9yYhiNjkm6RvVTDmvogFQ4gtfiWSRP/EnabCRqM8FACDIO/ws5CnRBX+Q==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "linux" @@ -4111,13 +4109,12 @@ } }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "20.3.0", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.3.0.tgz", - "integrity": "sha512-8FOejZ4emtLSVn3pYWs4PIc3n4//qMbwMDPVxmPE8us3ir91Qh0bzr5zRj7Q8sEdSgvneXRXqtBp2grY2KMJsw==", + "version": "20.3.1", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.3.1.tgz", + "integrity": "sha512-Os8iCamvHhE5noQKFE9D9xkiI529918tufTYmEhJ9ZmLU/ybVA0We6r7gXjYzdNfA3DtwfGXvNvUpy3u+pZXOg==", "cpu": [ "x64" ], - "license": "MIT", "optional": true, "os": [ "win32" @@ -21042,6 +21039,54 @@ } } }, + "node_modules/nx/node_modules/@nx/nx-darwin-arm64": { + "version": "20.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-20.3.0.tgz", + "integrity": "sha512-9PqSe1Sh7qNqA4GL0cZH0t3S0EZzb2Xn14XY9au7yf0+eoxyag1oETjjULrxLeUmSoXW2hDxzNtoqKFE9zF07Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/nx/node_modules/@nx/nx-linux-x64-gnu": { + "version": "20.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.3.0.tgz", + "integrity": "sha512-nkA2DLI+rpmiuiy7dyXP4l9s7dgHkQWDX7lG1XltiT41RzAReJF1h8qBE6XrsAYE1CtI76DRWVphnc93+iZr+A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/nx/node_modules/@nx/nx-win32-x64-msvc": { + "version": "20.3.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-20.3.0.tgz", + "integrity": "sha512-8FOejZ4emtLSVn3pYWs4PIc3n4//qMbwMDPVxmPE8us3ir91Qh0bzr5zRj7Q8sEdSgvneXRXqtBp2grY2KMJsw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, "node_modules/nx/node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", diff --git a/package.json b/package.json index 5893f51e2d0..3ef8470a730 100644 --- a/package.json +++ b/package.json @@ -133,8 +133,8 @@ "patch-package": "8.0.0" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "20.3.0", - "@nx/nx-linux-x64-gnu": "20.3.0", - "@nx/nx-win32-x64-msvc": "20.3.0" + "@nx/nx-darwin-arm64": "20.3.1", + "@nx/nx-linux-x64-gnu": "20.3.1", + "@nx/nx-win32-x64-msvc": "20.3.1" } } From fdf4af7a5ea353e3a1069a4f22cca72a4fd91bb4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:02:40 -0800 Subject: [PATCH 06/24] build(deps): update dependency chromatic to v11.22.2 (#11275) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [chromatic](https://www.chromatic.com) ([source](https://redirect.github.com/chromaui/chromatic-cli)) | [`11.22.0` -> `11.22.2`](https://renovatebot.com/diffs/npm/chromatic/11.22.0/11.22.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/11.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/11.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/11.22.0/11.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/11.22.0/11.22.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
chromaui/chromatic-cli (chromatic) ### [`v11.22.2`](https://redirect.github.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v11222-Thu-Jan-09-2025) [Compare Source](https://redirect.github.com/chromaui/chromatic-cli/compare/v11.22.1...v11.22.2) ##### ๐Ÿ› Bug Fix - Add rsbuild v0.1.7 support [#​1138](https://redirect.github.com/chromaui/chromatic-cli/pull/1138) ([@​codykaup](https://redirect.github.com/codykaup)) ##### Authors: 1 - Cody Kaup ([@​codykaup](https://redirect.github.com/codykaup)) *** ### [`v11.22.1`](https://redirect.github.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v11221-Wed-Jan-08-2025) [Compare Source](https://redirect.github.com/chromaui/chromatic-cli/compare/v11.22.0...v11.22.1) ##### ๐Ÿ› Bug Fix - Add `outputDir` to GitHub Action options [#​1136](https://redirect.github.com/chromaui/chromatic-cli/pull/1136) ([@​codykaup](https://redirect.github.com/codykaup)) ##### Authors: 1 - Cody Kaup ([@​codykaup](https://redirect.github.com/codykaup)) ***
--- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0044414f816..80d4d7406e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "change-case": "5.4.4", "cheerio": "1.0.0", "chokidar": "4.0.3", - "chromatic": "11.22.0", + "chromatic": "11.22.2", "concurrently": "9.1.2", "conventional-changelog-conventionalcommits": "7.0.2", "cpy": "11.1.0", @@ -9311,9 +9311,9 @@ } }, "node_modules/chromatic": { - "version": "11.22.0", - "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-11.22.0.tgz", - "integrity": "sha512-u1kAPR9lj9aFzsCp0iWPXBbsKgcxFU7iJO6mFbgNHGVg+YPBqiJMuvgB8EQHdNbHjk5amFnGnIz/Ww8fK3t9Hw==", + "version": "11.22.2", + "resolved": "https://registry.npmjs.org/chromatic/-/chromatic-11.22.2.tgz", + "integrity": "sha512-Z7+9hD1yp1fUm34XX1wojIco0lQlXOVYhzDSE8v1ZU6qLD2r4N6UHKD+N+XY1Jj+gpsDFWYMTpSnDfcHZf5mhg==", "dev": true, "bin": { "chroma": "dist/bin.js", diff --git a/package.json b/package.json index 3ef8470a730..b35b6ce9ad9 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "change-case": "5.4.4", "cheerio": "1.0.0", "chokidar": "4.0.3", - "chromatic": "11.22.0", + "chromatic": "11.22.2", "concurrently": "9.1.2", "conventional-changelog-conventionalcommits": "7.0.2", "cpy": "11.1.0", From 6888bddfa4feb9d3ac69003e0636b5d09cfd268e Mon Sep 17 00:00:00 2001 From: Ben Elan Date: Mon, 13 Jan 2025 15:11:26 -0800 Subject: [PATCH 07/24] build: auto-clean js files created by 'npm start' (#11284) ## Summary The extraneous javascript files that can cause build errors are generated by `npm start`. This automatically deletes the js files when exiting the demos. --- packages/calcite-components/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 232f2801aaf..57a271c5e40 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -52,10 +52,10 @@ "screenshot-tests": "npm run build-storybook", "screenshot-tests:preview": "npm run util:prep-build-reqs && NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_SCREENSHOT_LOCAL_BUILD=true storybook dev", "screenshot-tests:publish": "npm run screenshot-tests && storybook-to-ghpages --existing-output-dir=docs", - "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"", + "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"trap 'npm run util:clean-js-files' INT TERM EXIT && tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"", "test": "vitest run", "test:watch": "vitest", - "util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**.js", + "util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**/*.js", "util:clean-readmes": "git restore src/components/*/readme.md", "util:clean-tested-build": "npm ci && npm test && npm run build", "util:copy-legacy-vscode-data": "cpy \"./dist/docs/vscode.html-custom-data.json\" \"./dist/extras/\" --rename=vscode-data.json --flat", From 94ab2a59c6312e68323ee9cee5514c6b009a7108 Mon Sep 17 00:00:00 2001 From: Erik Harper Date: Mon, 13 Jan 2025 15:28:57 -0800 Subject: [PATCH 08/24] fix(tile): allow percentage inline-size on slotted content to be based on host (#11283) **Related Issue:** [#11199 ](https://github.com/Esri/calcite-design-system/issues/11199#issuecomment-2587924216) ## Summary This update allows percentage `inline-size/width` styles set on slotted content to be based on the host `calcite-tile` element. --- .../src/components/tile/tile.scss | 1 + .../src/components/tile/tile.stories.ts | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/packages/calcite-components/src/components/tile/tile.scss b/packages/calcite-components/src/components/tile/tile.scss index d131049163a..31335f8a16b 100644 --- a/packages/calcite-components/src/components/tile/tile.scss +++ b/packages/calcite-components/src/components/tile/tile.scss @@ -69,6 +69,7 @@ calcite-link { .content-container { flex-direction: column; @include word-break(); + inline-size: var(--calcite-container-size-content-fluid); } .text-content-container { diff --git a/packages/calcite-components/src/components/tile/tile.stories.ts b/packages/calcite-components/src/components/tile/tile.stories.ts index 7cbd09296e8..4395b568a30 100644 --- a/packages/calcite-components/src/components/tile/tile.stories.ts +++ b/packages/calcite-components/src/components/tile/tile.stories.ts @@ -957,6 +957,58 @@ export const contentTopButton_TestOnly = (): string => html` `; +export const contentTopFullWidth_TestOnly = (): string => html` + + +
+
left side
+
right side
+
+
+
left side
+
right side
+
+
+`; + +export const contentBottomFullWidth_TestOnly = (): string => html` + + +
+
left side
+
right side
+
+
+
left side
+
right side
+
+
+`; + export const contentStartRTL_TestOnly = (): string => html` From f50b9530bb1cbc83e3268f29b590a7ee1c54ce2c Mon Sep 17 00:00:00 2001 From: JC Franco Date: Tue, 14 Jan 2025 01:06:15 -0800 Subject: [PATCH 09/24] test(list): skip unstable test (#11290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Related Issue:** N/A ## Summary โœ‹๐Ÿšซ๐Ÿงช --- packages/calcite-components/src/components/list/list.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/list/list.e2e.ts b/packages/calcite-components/src/components/list/list.e2e.ts index 7eb67190a77..4012848a807 100755 --- a/packages/calcite-components/src/components/list/list.e2e.ts +++ b/packages/calcite-components/src/components/list/list.e2e.ts @@ -1876,7 +1876,7 @@ describe("calcite-list", () => { }); describe("group filtering", () => { - it("should include groups while filtering", async () => { + it.skip("should include groups while filtering", async () => { const page = await newE2EPage(); await page.setContent(html` From fc9ced024cb3d7b55dfca8a41f3005f5a5183338 Mon Sep 17 00:00:00 2001 From: JC Franco Date: Tue, 14 Jan 2025 01:20:04 -0800 Subject: [PATCH 10/24] test(combobox): skip unstable test (#11296) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Related Issue:** N/A ## Summary โœ‹๐Ÿšซ๐Ÿงช --- .../calcite-components/src/components/combobox/combobox.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calcite-components/src/components/combobox/combobox.e2e.ts b/packages/calcite-components/src/components/combobox/combobox.e2e.ts index d0a8bce5a6a..a1624b5df9b 100644 --- a/packages/calcite-components/src/components/combobox/combobox.e2e.ts +++ b/packages/calcite-components/src/components/combobox/combobox.e2e.ts @@ -132,7 +132,7 @@ describe("calcite-combobox", () => { hidden("calcite-combobox"); }); - describe("accessible", () => { + describe.skip("accessible", () => { accessible(html` From f6d76ffd35bfef58665f0fc8d91de6c86902d14a Mon Sep 17 00:00:00 2001 From: JC Franco Date: Tue, 14 Jan 2025 08:47:19 -0800 Subject: [PATCH 11/24] ci: fix icon-name pre-commit checks (#11287) --- .husky/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 281e5b86033..408fdaca52f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -6,10 +6,10 @@ check_ui_icon_name_consistency() { valid_pattern="^[a-z0-9-]+-(16|24|32)(-f)?\\.svg$" # this pattern will check for invalid use of "-f-" anywhere except right before the size - invalid_pattern="-[a-z0-9]+-f-" + invalid_pattern="\-[a-z0-9]+-f-" staged_files="$( - git diff --cached --name-only --diff-filter=ACM -- packages/calcite-ui-icons/icons/*.svg + git diff --cached --name-only --diff-filter=ACM | grep -E "packages/calcite-ui-icons/icons/.*\.svg" || true )" if [ -n "$staged_files" ]; then From 1cc97fb7b092aac066f18d45e3c06431da4a625c Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Tue, 14 Jan 2025 09:50:23 -0800 Subject: [PATCH 12/24] test(combobox): skip unstable tests (#11298) **Related Issue:** #11297 ## Summary - skip a11y tests --- .../src/components/combobox/combobox.e2e.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/calcite-components/src/components/combobox/combobox.e2e.ts b/packages/calcite-components/src/components/combobox/combobox.e2e.ts index a1624b5df9b..87e0957d53c 100644 --- a/packages/calcite-components/src/components/combobox/combobox.e2e.ts +++ b/packages/calcite-components/src/components/combobox/combobox.e2e.ts @@ -140,7 +140,7 @@ describe("calcite-combobox", () => { `); }); - describe("accessible with item group", () => { + describe.skip("accessible with item group", () => { accessible(html` @@ -150,7 +150,7 @@ describe("calcite-combobox", () => { `); }); - describe("accessible with open selected items", () => { + describe.skip("accessible with open selected items", () => { accessible(html` From 6a638e64ebba142b18bd109f8a08a11da0ff6afb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jan 2025 17:51:57 +0000 Subject: [PATCH 13/24] chore: release next --- package-lock.json | 16 ++++++++-------- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 14 ++++++++++++++ packages/calcite-components/package.json | 6 +++--- packages/calcite-design-tokens/CHANGELOG.md | 4 ++++ packages/calcite-design-tokens/package.json | 2 +- packages/eslint-config-calcite/CHANGELOG.md | 8 ++++++++ packages/eslint-config-calcite/package.json | 2 +- .../CHANGELOG.md | 4 ++++ .../package.json | 2 +- 11 files changed, 50 insertions(+), 16 deletions(-) create mode 100644 packages/eslint-config-calcite/CHANGELOG.md diff --git a/package-lock.json b/package-lock.json index 80d4d7406e5..37c97ae368a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31899,7 +31899,7 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "3.0.0-next.96", + "version": "3.0.0-next.97", "license": "SEE LICENSE.md", "dependencies": { "@arcgis/components-controllers": "^4.32.0-next.75", @@ -31921,16 +31921,16 @@ "type-fest": "^4.30.1" }, "devDependencies": { - "@esri/calcite-design-tokens": "3.0.0-next.6", - "@esri/eslint-plugin-calcite-components": "2.0.0-next.4" + "@esri/calcite-design-tokens": "3.0.0-next.7", + "@esri/eslint-plugin-calcite-components": "2.0.0-next.5" } }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.96", + "version": "3.0.0-next.97", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "3.0.0-next.96", + "@esri/calcite-components": "3.0.0-next.97", "@lit/react": "1.0.6" }, "peerDependencies": { @@ -31940,7 +31940,7 @@ }, "packages/calcite-design-tokens": { "name": "@esri/calcite-design-tokens", - "version": "3.0.0-next.6", + "version": "3.0.0-next.7", "license": "SEE LICENSE.md" }, "packages/calcite-ui-icons": { @@ -31997,12 +31997,12 @@ }, "packages/eslint-config-calcite": { "name": "@esri/eslint-config-calcite", - "version": "0.0.0", + "version": "0.0.1-next.0", "license": "SEE LICENSE.md" }, "packages/eslint-plugin-calcite-components": { "name": "@esri/eslint-plugin-calcite-components", - "version": "2.0.0-next.4", + "version": "2.0.0-next.5", "license": "SEE LICENSE.md", "peerDependencies": { "@typescript-eslint/utils": ">=8.0.0", diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index dc159b0778f..27dce08acbd 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.97](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.96...@esri/calcite-components-react@3.0.0-next.97) (2025-01-14) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [3.0.0-next.96](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.95...@esri/calcite-components-react@3.0.0-next.96) (2025-01-11) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index 2b4cd2c9361..786b22d8267 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.96", + "version": "3.0.0-next.97", "description": "A set of React components that wrap calcite components", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { @@ -26,7 +26,7 @@ "tsc": "tsc" }, "dependencies": { - "@esri/calcite-components": "3.0.0-next.96", + "@esri/calcite-components": "3.0.0-next.97", "@lit/react": "1.0.6" }, "peerDependencies": { diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index b7a1d5e2587..c93d7fcde0b 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.97](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.96...@esri/calcite-components@3.0.0-next.97) (2025-01-14) + +### Features + +- **pagination:** add component tokens ([#11157](https://github.com/Esri/calcite-design-system/issues/11157)) ([f3973c8](https://github.com/Esri/calcite-design-system/commit/f3973c84751a308cca184fce3b353118073d4684)), closes [#7180](https://github.com/Esri/calcite-design-system/issues/7180) + +### Bug Fixes + +- **tile:** allow percentage inline-size on slotted content to be based on host ([#11283](https://github.com/Esri/calcite-design-system/issues/11283)) ([94ab2a5](https://github.com/Esri/calcite-design-system/commit/94ab2a59c6312e68323ee9cee5514c6b009a7108)), closes [#11199](https://github.com/Esri/calcite-design-system/issues/11199) [/github.com/Esri/calcite-design-system/issues/11199#issuecomment-2587924216](https://github.com/Esri//github.com/Esri/calcite-design-system/issues/11199/issues/issuecomment-2587924216) + +### Performance Improvements + +- **combobox:** fix initialization performance regression ([#11265](https://github.com/Esri/calcite-design-system/issues/11265)) ([a255c5a](https://github.com/Esri/calcite-design-system/commit/a255c5ad87b9fae9f0d9db463121ab5a0516a1a6)), closes [#10731](https://github.com/Esri/calcite-design-system/issues/10731) + ## [3.0.0-next.96](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.95...@esri/calcite-components@3.0.0-next.96) (2025-01-11) ### Features diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 57a271c5e40..1bb4ac0512d 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "3.0.0-next.96", + "version": "3.0.0-next.97", "description": "Web Components for Esri's Calcite Design System.", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { @@ -88,8 +88,8 @@ "type-fest": "^4.30.1" }, "devDependencies": { - "@esri/calcite-design-tokens": "3.0.0-next.6", - "@esri/eslint-plugin-calcite-components": "2.0.0-next.4" + "@esri/calcite-design-tokens": "3.0.0-next.7", + "@esri/eslint-plugin-calcite-components": "2.0.0-next.5" }, "volta": { "extends": "../../package.json" diff --git a/packages/calcite-design-tokens/CHANGELOG.md b/packages/calcite-design-tokens/CHANGELOG.md index db3ce20ac17..62f4516fd21 100644 --- a/packages/calcite-design-tokens/CHANGELOG.md +++ b/packages/calcite-design-tokens/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.7](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-design-tokens@3.0.0-next.6...@esri/calcite-design-tokens@3.0.0-next.7) (2025-01-14) + +**Note:** Version bump only for package @esri/calcite-design-tokens + ## [3.0.0-next.6](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-design-tokens@3.0.0-next.5...@esri/calcite-design-tokens@3.0.0-next.6) (2025-01-10) **Note:** Version bump only for package @esri/calcite-design-tokens diff --git a/packages/calcite-design-tokens/package.json b/packages/calcite-design-tokens/package.json index 2da6e83a022..017216e71cd 100644 --- a/packages/calcite-design-tokens/package.json +++ b/packages/calcite-design-tokens/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-design-tokens", - "version": "3.0.0-next.6", + "version": "3.0.0-next.7", "description": "Esri's Calcite Design System Tokens", "keywords": [ "Calcite", diff --git a/packages/eslint-config-calcite/CHANGELOG.md b/packages/eslint-config-calcite/CHANGELOG.md new file mode 100644 index 00000000000..ec5f72226bc --- /dev/null +++ b/packages/eslint-config-calcite/CHANGELOG.md @@ -0,0 +1,8 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## 0.0.1-next.0 (2025-01-14) + +**Note:** Version bump only for package @esri/eslint-config-calcite diff --git a/packages/eslint-config-calcite/package.json b/packages/eslint-config-calcite/package.json index 48f52b77f9d..5c13b2a1879 100644 --- a/packages/eslint-config-calcite/package.json +++ b/packages/eslint-config-calcite/package.json @@ -1,6 +1,6 @@ { "name": "@esri/eslint-config-calcite", - "version": "0.0.0", + "version": "0.0.1-next.0", "private": true, "type": "module", "description": "The shared ESLint config for Esri's Calcite Design System", diff --git a/packages/eslint-plugin-calcite-components/CHANGELOG.md b/packages/eslint-plugin-calcite-components/CHANGELOG.md index 645afe6034c..c73e48d73ac 100644 --- a/packages/eslint-plugin-calcite-components/CHANGELOG.md +++ b/packages/eslint-plugin-calcite-components/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.0.0-next.5](https://github.com/Esri/calcite-design-system/compare/@esri/eslint-plugin-calcite-components@2.0.0-next.4...@esri/eslint-plugin-calcite-components@2.0.0-next.5) (2025-01-14) + +**Note:** Version bump only for package @esri/eslint-plugin-calcite-components + ## [2.0.0-next.4](https://github.com/Esri/calcite-design-system/compare/@esri/eslint-plugin-calcite-components@2.0.0-next.3...@esri/eslint-plugin-calcite-components@2.0.0-next.4) (2025-01-04) **Note:** Version bump only for package @esri/eslint-plugin-calcite-components diff --git a/packages/eslint-plugin-calcite-components/package.json b/packages/eslint-plugin-calcite-components/package.json index e3be5677a98..479a597de7a 100644 --- a/packages/eslint-plugin-calcite-components/package.json +++ b/packages/eslint-plugin-calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/eslint-plugin-calcite-components", - "version": "2.0.0-next.4", + "version": "2.0.0-next.5", "description": "ESLint rules for @esri/calcite-components", "repository": { "type": "git", From 42a4808fb267251a9d5c8ae64cf682e2503a9b5d Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Tue, 14 Jan 2025 11:12:06 -0800 Subject: [PATCH 14/24] fix(action): reflect the icon property (#11282) **Related Issue:** #11092 ## Summary - reflect icon property - add test --- .../src/components/action/action.e2e.ts | 51 ++++++++++++++++++- .../src/components/action/action.tsx | 2 +- 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/packages/calcite-components/src/components/action/action.e2e.ts b/packages/calcite-components/src/components/action/action.e2e.ts index ad2be0f2b79..e860a4008cc 100755 --- a/packages/calcite-components/src/components/action/action.e2e.ts +++ b/packages/calcite-components/src/components/action/action.e2e.ts @@ -1,6 +1,6 @@ import { newE2EPage } from "@arcgis/lumina-compiler/puppeteerTesting"; import { describe, expect, it } from "vitest"; -import { accessible, disabled, hidden, renders, slots, t9n, defaults, themed } from "../../tests/commonTests"; +import { accessible, disabled, hidden, renders, slots, t9n, defaults, themed, reflects } from "../../tests/commonTests"; import { html } from "../../../support/formatting"; import { CSS, SLOTS } from "./resources"; @@ -42,6 +42,55 @@ describe("calcite-action", () => { ]); }); + describe("reflects", () => { + reflects("calcite-action", [ + { + propertyName: "active", + value: true, + }, + { + propertyName: "alignment", + value: "end", + }, + { + propertyName: "appearance", + value: "solid", + }, + { + propertyName: "compact", + value: true, + }, + { + propertyName: "disabled", + value: true, + }, + { + propertyName: "icon", + value: "hamburger", + }, + { + propertyName: "iconFlipRtl", + value: true, + }, + { + propertyName: "indicator", + value: true, + }, + { + propertyName: "loading", + value: true, + }, + { + propertyName: "scale", + value: "m", + }, + { + propertyName: "textEnabled", + value: true, + }, + ]); + }); + describe("renders", () => { renders("calcite-action", { display: "flex" }); }); diff --git a/packages/calcite-components/src/components/action/action.tsx b/packages/calcite-components/src/components/action/action.tsx index 632e9cac90e..bc0eb020a13 100644 --- a/packages/calcite-components/src/components/action/action.tsx +++ b/packages/calcite-components/src/components/action/action.tsx @@ -76,7 +76,7 @@ export class Action extends LitElement implements InteractiveComponent, Loadable @property({ reflect: true }) disabled = false; /** Specifies an icon to display. */ - @property() icon: IconNameOrString; + @property({ reflect: true }) icon: IconNameOrString; /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */ @property({ reflect: true }) iconFlipRtl = false; From d4c47d8c1fb50f006d1a4a7966161a2bda54b5d5 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Tue, 14 Jan 2025 11:26:20 -0800 Subject: [PATCH 15/24] fix(sort-handle): Fix dragging in Firefox (#11279) **Related Issue:** #11220 ## Summary - updates `calcite-action` to use a span when its a drag handle to workaround firefox/edge bug. - Introduces private property to do this. - Moves dragHandle styling to the action for consistency - adds tests BEGIN_COMMIT_OVERRIDE omitted from changelog END_COMMIT_OVERRIDE --- .../src/components/action/action.scss | 11 +++- .../src/components/action/action.tsx | 59 +++++++++++++++---- .../components/sort-handle/sort-handle.e2e.ts | 11 ++++ .../components/sort-handle/sort-handle.scss | 6 -- .../components/sort-handle/sort-handle.tsx | 1 + 5 files changed, 70 insertions(+), 18 deletions(-) diff --git a/packages/calcite-components/src/components/action/action.scss b/packages/calcite-components/src/components/action/action.scss index 1048f4da1ca..439a826ed6a 100755 --- a/packages/calcite-components/src/components/action/action.scss +++ b/packages/calcite-components/src/components/action/action.scss @@ -21,10 +21,17 @@ :host { @extend %component-host; @apply flex bg-transparent cursor-pointer; + --calcite-internal-action-text-color: var(--calcite-color-text-3); +} + +:host([drag-handle]) { + @apply cursor-move; + --calcite-internal-action-text-color: var(--calcite-color-border-input); + --calcite-internal-action-padding-inline: var(--calcite-spacing-xxs); } :host, -button { +.button { border-radius: var( --calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius)) @@ -62,7 +69,7 @@ button { font-sans; background-color: var(--calcite-action-background-color, var(--calcite-color-foreground-1)); - color: var(--calcite-action-text-color, var(--calcite-color-text-3)); + color: var(--calcite-action-text-color, var(--calcite-internal-action-text-color)); text-align: unset; flex: 1 0 auto; cursor: inherit; diff --git a/packages/calcite-components/src/components/action/action.tsx b/packages/calcite-components/src/components/action/action.tsx index bc0eb020a13..05f0bece9ec 100644 --- a/packages/calcite-components/src/components/action/action.tsx +++ b/packages/calcite-components/src/components/action/action.tsx @@ -1,6 +1,6 @@ // @ts-strict-ignore import { createRef } from "lit-html/directives/ref.js"; -import { LitElement, property, h, method, JsxNode } from "@arcgis/lumina"; +import { LitElement, property, h, method, JsxNode, Fragment } from "@arcgis/lumina"; import { guid } from "../../utils/guid"; import { InteractiveComponent, @@ -75,6 +75,13 @@ export class Action extends LitElement implements InteractiveComponent, Loadable /** When `true`, interaction is prevented and the component is displayed with lower opacity. */ @property({ reflect: true }) disabled = false; + /** + * When `true`, the component is draggable. + * + * @private + */ + @property({ reflect: true }) dragHandle = false; + /** Specifies an icon to display. */ @property({ reflect: true }) icon: IconNameOrString; @@ -236,7 +243,7 @@ export class Action extends LitElement implements InteractiveComponent, Loadable ) : null; } - override render(): JsxNode { + private renderButton(): JsxNode { const { active, compact, @@ -263,22 +270,54 @@ export class Action extends LitElement implements InteractiveComponent, Loadable [CSS.buttonCompact]: compact, }; - return ( - - + {buttonContent} + + ); + } + + return ( + + ); + } + + override render(): JsxNode { + return ( + + {this.renderButton()} {this.renderIndicatorText()} diff --git a/packages/calcite-components/src/components/sort-handle/sort-handle.e2e.ts b/packages/calcite-components/src/components/sort-handle/sort-handle.e2e.ts index 6b4f2162d87..e0ca24fa64e 100644 --- a/packages/calcite-components/src/components/sort-handle/sort-handle.e2e.ts +++ b/packages/calcite-components/src/components/sort-handle/sort-handle.e2e.ts @@ -46,6 +46,17 @@ describe("calcite-sort-handle", () => { ); }); + it("sets dragHandle on action", async () => { + const page = await newE2EPage(); + await page.setContent( + ``, + ); + await page.waitForChanges(); + + const handle = await page.find(`calcite-sort-handle >>> .${CSS.handle}`); + expect(await handle.getProperty("dragHandle")).toBe(true); + }); + it("fires calciteSortHandleReorder event", async () => { const page = await newE2EPage(); await page.setContent(``); diff --git a/packages/calcite-components/src/components/sort-handle/sort-handle.scss b/packages/calcite-components/src/components/sort-handle/sort-handle.scss index c4bb3ece580..8911177cbbf 100644 --- a/packages/calcite-components/src/components/sort-handle/sort-handle.scss +++ b/packages/calcite-components/src/components/sort-handle/sort-handle.scss @@ -2,12 +2,6 @@ @apply flex; } -.handle { - @apply cursor-move; - --calcite-internal-action-padding-inline: var(--calcite-spacing-xxs); - --calcite-action-text-color: var(--calcite-color-border-input); -} - .dropdown { block-size: 100%; } diff --git a/packages/calcite-components/src/components/sort-handle/sort-handle.tsx b/packages/calcite-components/src/components/sort-handle/sort-handle.tsx index 0e438eb3e62..d2090adbcaa 100644 --- a/packages/calcite-components/src/components/sort-handle/sort-handle.tsx +++ b/packages/calcite-components/src/components/sort-handle/sort-handle.tsx @@ -275,6 +275,7 @@ export class SortHandle extends LitElement implements LoadableComponent, Interac active={open} appearance="transparent" class={CSS.handle} + dragHandle icon={disabled ? ICONS.blank : ICONS.drag} label={text} scale={scale} From 674d2183ac8c2de9da46f93439994773f0c35826 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jan 2025 19:28:07 +0000 Subject: [PATCH 16/24] chore: release next --- package-lock.json | 6 +++--- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 7 +++++++ packages/calcite-components/package.json | 2 +- 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37c97ae368a..6e8d9350868 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31899,7 +31899,7 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "3.0.0-next.97", + "version": "3.0.0-next.98", "license": "SEE LICENSE.md", "dependencies": { "@arcgis/components-controllers": "^4.32.0-next.75", @@ -31927,10 +31927,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.97", + "version": "3.0.0-next.98", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "3.0.0-next.97", + "@esri/calcite-components": "3.0.0-next.98", "@lit/react": "1.0.6" }, "peerDependencies": { diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index 27dce08acbd..cf6d14834d1 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.98](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.97...@esri/calcite-components-react@3.0.0-next.98) (2025-01-14) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [3.0.0-next.97](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.96...@esri/calcite-components-react@3.0.0-next.97) (2025-01-14) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index 786b22d8267..e108baa6642 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.97", + "version": "3.0.0-next.98", "description": "A set of React components that wrap calcite components", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { @@ -26,7 +26,7 @@ "tsc": "tsc" }, "dependencies": { - "@esri/calcite-components": "3.0.0-next.97", + "@esri/calcite-components": "3.0.0-next.98", "@lit/react": "1.0.6" }, "peerDependencies": { diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index c93d7fcde0b..c160948f5e0 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.98](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.97...@esri/calcite-components@3.0.0-next.98) (2025-01-14) + +### Bug Fixes + +- **action:** reflect the icon property ([#11282](https://github.com/Esri/calcite-design-system/issues/11282)) ([42a4808](https://github.com/Esri/calcite-design-system/commit/42a4808fb267251a9d5c8ae64cf682e2503a9b5d)), closes [#11092](https://github.com/Esri/calcite-design-system/issues/11092) +- **sort-handle:** Fix dragging in Firefox ([#11279](https://github.com/Esri/calcite-design-system/issues/11279)) ([d4c47d8](https://github.com/Esri/calcite-design-system/commit/d4c47d8c1fb50f006d1a4a7966161a2bda54b5d5)), closes [#11220](https://github.com/Esri/calcite-design-system/issues/11220) + ## [3.0.0-next.97](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.96...@esri/calcite-components@3.0.0-next.97) (2025-01-14) ### Features diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 1bb4ac0512d..504dffada85 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "3.0.0-next.97", + "version": "3.0.0-next.98", "description": "Web Components for Esri's Calcite Design System.", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { From 5bed51027d6a7d9e5107303f5cd7604b973eb3af Mon Sep 17 00:00:00 2001 From: JC Franco Date: Tue, 14 Jan 2025 12:08:08 -0800 Subject: [PATCH 17/24] fix(list-item): fix selection indicator placement in RTL (#11288) **Related Issue:** #10731 ## Summary Uses pseudo-element + CSS logical property placement to ensure the selection indicator is consistently positioned, regardless of page direction. BEGIN_COMMIT_OVERRIDE omitted from changelog END_COMMIT_OVERRIDE --------- Co-authored-by: Blake Stearman --- .../src/components/list-item/list-item.e2e.ts | 4 +-- .../src/components/list-item/list-item.scss | 23 ++++++++++--- .../src/components/list/list.stories.ts | 33 +++++++++++++------ 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/packages/calcite-components/src/components/list-item/list-item.e2e.ts b/packages/calcite-components/src/components/list-item/list-item.e2e.ts index e024a597f57..049fcebeee9 100755 --- a/packages/calcite-components/src/components/list-item/list-item.e2e.ts +++ b/packages/calcite-components/src/components/list-item/list-item.e2e.ts @@ -534,8 +534,8 @@ describe("calcite-list-item", () => { >`, { "--calcite-list-selection-border-color": { - shadowSelector: `.${CSS.container}`, - targetProp: "boxShadow", + shadowSelector: `.${CSS.container}::before`, + targetProp: "backgroundColor", }, }, ); diff --git a/packages/calcite-components/src/components/list-item/list-item.scss b/packages/calcite-components/src/components/list-item/list-item.scss index 29eaf13c13a..2f709d2adac 100755 --- a/packages/calcite-components/src/components/list-item/list-item.scss +++ b/packages/calcite-components/src/components/list-item/list-item.scss @@ -49,17 +49,30 @@ background-color: var(--calcite-list-background-color-press, var(--calcite-color-foreground-1)); } -.container--border-selected { - box-shadow: inset 4px 0 0 0 var(--calcite-list-selection-border-color, var(--calcite-color-brand)); +.container--border { + position: relative; + + &::before { + position: absolute; + inline-size: var(--calcite-border-width-lg); + inset-block: 0; + inset-inline-start: 0; + background-color: transparent; + content: ""; + } } -.container--border-unselected { - box-shadow: inset 4px 0 0 0 transparent; +.container--border-selected { + &::before { + background-color: var(--calcite-list-selection-border-color, var(--calcite-color-brand)); + } } .container:hover { &.container--border-unselected { - box-shadow: inset 4px 0 0 0 var(--calcite-list-selection-border-color, var(--calcite-color-border-1)); + &::before { + background-color: var(--calcite-list-selection-border-color, var(--calcite-color-border-1)); + } } } diff --git a/packages/calcite-components/src/components/list/list.stories.ts b/packages/calcite-components/src/components/list/list.stories.ts index 3b83164cded..7c115fc9501 100644 --- a/packages/calcite-components/src/components/list/list.stories.ts +++ b/packages/calcite-components/src/components/list/list.stories.ts @@ -86,7 +86,7 @@ export default { const thumbnailImage = placeholderImage({ width: 44, height: 44 }); -const listHTML = (): string => html` selection-mode="none" selection-appearance="icon" label="My List" `; +const listAttributes = (): string => html` selection-mode="none" selection-appearance="icon" label="My List" `; export const simple = (args: ListStoryArgs): string => html` html` `; export const onlyLabelVersusOnlyDescription_TestOnly = (): string => html` - + @@ -3974,7 +3974,7 @@ export const onlyLabelVersusOnlyDescription_TestOnly = (): string => html` `; export const stretchSlottedContent = (): string => html` - + html` `; export const nestedItems = (): string => html` - + html` - + - html` + html` @@ -4168,7 +4168,7 @@ export const startAndEndContentSlots = (): string => `; export const contentBottomSlots = (): string => - html` + html` Some value or something and a thing. @@ -4184,7 +4184,7 @@ export const contentBottomSlots = (): string => `; export const contentBottomSlotsNested = (): string => - html` + html` Some value or something and a thing. `; export const richContent = (): string => html` - + @@ -4300,7 +4300,8 @@ export const filterEnabledWithHiddenItems = (): string => html` `; export const darkModeRTL_TestOnly = (): string => html` - +

selection-mode="none" + selection-appearance="icon"

+ @@ -4341,6 +4342,18 @@ export const darkModeRTL_TestOnly = (): string => html` + +

selection-mode="single-persist" + selection-appearance="border" + dir="rtl"

+ + First + Second + `; darkModeRTL_TestOnly.parameters = { themes: modesDarkDefault }; From 0063778c56c7adb55dfccfcf4509ee05eab8c5af Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jan 2025 20:09:44 +0000 Subject: [PATCH 18/24] chore: release next --- package-lock.json | 6 +++--- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 6 ++++++ packages/calcite-components/package.json | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6e8d9350868..975d81a4081 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31899,7 +31899,7 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "3.0.0-next.98", + "version": "3.0.0-next.99", "license": "SEE LICENSE.md", "dependencies": { "@arcgis/components-controllers": "^4.32.0-next.75", @@ -31927,10 +31927,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.98", + "version": "3.0.0-next.99", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "3.0.0-next.98", + "@esri/calcite-components": "3.0.0-next.99", "@lit/react": "1.0.6" }, "peerDependencies": { diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index cf6d14834d1..ec6e40ee4d2 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.99](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.98...@esri/calcite-components-react@3.0.0-next.99) (2025-01-14) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [3.0.0-next.98](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.97...@esri/calcite-components-react@3.0.0-next.98) (2025-01-14) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index e108baa6642..8de490a1c8e 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.98", + "version": "3.0.0-next.99", "description": "A set of React components that wrap calcite components", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { @@ -26,7 +26,7 @@ "tsc": "tsc" }, "dependencies": { - "@esri/calcite-components": "3.0.0-next.98", + "@esri/calcite-components": "3.0.0-next.99", "@lit/react": "1.0.6" }, "peerDependencies": { diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index c160948f5e0..c300f04491b 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.99](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.98...@esri/calcite-components@3.0.0-next.99) (2025-01-14) + +### Bug Fixes + +- **list-item:** fix selection indicator placement in RTL ([#11288](https://github.com/Esri/calcite-design-system/issues/11288)) ([5bed510](https://github.com/Esri/calcite-design-system/commit/5bed51027d6a7d9e5107303f5cd7604b973eb3af)), closes [#10731](https://github.com/Esri/calcite-design-system/issues/10731) + ## [3.0.0-next.98](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.97...@esri/calcite-components@3.0.0-next.98) (2025-01-14) ### Bug Fixes diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 504dffada85..6b2ac5a3c96 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "3.0.0-next.98", + "version": "3.0.0-next.99", "description": "Web Components for Esri's Calcite Design System.", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { From f086c9910594c768d673c19c7715318296cf3819 Mon Sep 17 00:00:00 2001 From: Ashley Rowles <157734991+arowles@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:50:20 -0800 Subject: [PATCH 19/24] feat: add utility network layer (#11299) **Related Issue:** # ## Summary **added** utility-network-layer-16 utility-network-layer-24 utility-network-layer-32 ![image](https://github.com/user-attachments/assets/d9485a66-895f-4ee8-a5ee-53d7afb91afe) --- packages/calcite-ui-icons/docs/keywords.json | 16 ++++++++++++++++ .../icons/utility-network-layer-16.svg | 1 + .../icons/utility-network-layer-24.svg | 1 + .../icons/utility-network-layer-32.svg | 1 + 4 files changed, 19 insertions(+) create mode 100755 packages/calcite-ui-icons/icons/utility-network-layer-16.svg create mode 100755 packages/calcite-ui-icons/icons/utility-network-layer-24.svg create mode 100755 packages/calcite-ui-icons/icons/utility-network-layer-32.svg diff --git a/packages/calcite-ui-icons/docs/keywords.json b/packages/calcite-ui-icons/docs/keywords.json index 3caf7f49e57..efa9780c658 100644 --- a/packages/calcite-ui-icons/docs/keywords.json +++ b/packages/calcite-ui-icons/docs/keywords.json @@ -9456,5 +9456,21 @@ "alias": ["4.0.0", "objects", "connect", "power", "relation", "union", "bond", "adapter", "service"], "category": "Objects", "release": "4.0.0" + }, + "utility-network-layer": { + "alias": [ + "4.0.0", + "layers", + "networking", + "lines", + "circles", + "points", + "dots", + "connection", + "connected", + "running-analysis" + ], + "category": "Layers", + "release": "4.0.0" } } diff --git a/packages/calcite-ui-icons/icons/utility-network-layer-16.svg b/packages/calcite-ui-icons/icons/utility-network-layer-16.svg new file mode 100755 index 00000000000..25ad867da5e --- /dev/null +++ b/packages/calcite-ui-icons/icons/utility-network-layer-16.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/calcite-ui-icons/icons/utility-network-layer-24.svg b/packages/calcite-ui-icons/icons/utility-network-layer-24.svg new file mode 100755 index 00000000000..400f242b632 --- /dev/null +++ b/packages/calcite-ui-icons/icons/utility-network-layer-24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/packages/calcite-ui-icons/icons/utility-network-layer-32.svg b/packages/calcite-ui-icons/icons/utility-network-layer-32.svg new file mode 100755 index 00000000000..8fe0f8b0970 --- /dev/null +++ b/packages/calcite-ui-icons/icons/utility-network-layer-32.svg @@ -0,0 +1 @@ + \ No newline at end of file From 62460ba4302bf48a4eecbc45e8e8c3effa09ebfc Mon Sep 17 00:00:00 2001 From: Ben Elan Date: Tue, 14 Jan 2025 13:08:58 -0800 Subject: [PATCH 20/24] build: fix windows error starting demos (#11302) **Related Issue:** #11284 ## Summary Resolve a Windows error reported by @geospatialem, which occurs when starting the demos. ```text > @esri/calcite-components@3.0.0-next.96 start > npm run util:clean-js-files && concurrently --kill-others --raw "trap 'npm run util:clean-js-files' INT TERM EXIT && tsc --project ./tsconfig-demos.json --watch" "npm run build:watch-dev" > @esri/calcite-components@3.0.0-next.96 util:clean-js-files > rimraf --glob -- *.js {src,.storybook,support}/**/*.js 'trap' is not recognized as an internal or external command, operable program or batch file. ``` --- packages/calcite-components/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 6b2ac5a3c96..9a959f76db8 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -52,7 +52,7 @@ "screenshot-tests": "npm run build-storybook", "screenshot-tests:preview": "npm run util:prep-build-reqs && NODE_OPTIONS=--openssl-legacy-provider STORYBOOK_SCREENSHOT_LOCAL_BUILD=true storybook dev", "screenshot-tests:publish": "npm run screenshot-tests && storybook-to-ghpages --existing-output-dir=docs", - "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"trap 'npm run util:clean-js-files' INT TERM EXIT && tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"", + "start": "npm run util:clean-js-files && concurrently --kill-others --raw \"trap 'npm run util:clean-js-files' INT TERM EXIT >/dev/null 2>&1 || true && tsc --project ./tsconfig-demos.json --watch\" \"npm run build:watch-dev\"", "test": "vitest run", "test:watch": "vitest", "util:clean-js-files": "rimraf --glob -- *.js {src,.storybook,support}/**/*.js", From 265e5dce3abf99c57f43b7b90037afda08ce8c7f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jan 2025 21:10:56 +0000 Subject: [PATCH 21/24] chore: release next --- package-lock.json | 10 +++++----- packages/calcite-components-react/CHANGELOG.md | 4 ++++ packages/calcite-components-react/package.json | 4 ++-- packages/calcite-components/CHANGELOG.md | 4 ++++ packages/calcite-components/package.json | 4 ++-- packages/calcite-ui-icons/CHANGELOG.md | 6 ++++++ packages/calcite-ui-icons/package.json | 2 +- 7 files changed, 24 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 975d81a4081..8091357e280 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31899,13 +31899,13 @@ }, "packages/calcite-components": { "name": "@esri/calcite-components", - "version": "3.0.0-next.99", + "version": "3.0.0-next.100", "license": "SEE LICENSE.md", "dependencies": { "@arcgis/components-controllers": "^4.32.0-next.75", "@arcgis/components-utils": "^4.32.0-next.75", "@arcgis/lumina": "^4.32.0-next.75", - "@esri/calcite-ui-icons": "4.0.0-next.7", + "@esri/calcite-ui-icons": "4.0.0-next.8", "@floating-ui/dom": "^1.6.12", "@floating-ui/utils": "^0.2.8", "@types/color": "^4.2.0", @@ -31927,10 +31927,10 @@ }, "packages/calcite-components-react": { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.99", + "version": "3.0.0-next.100", "license": "SEE LICENSE.md", "dependencies": { - "@esri/calcite-components": "3.0.0-next.99", + "@esri/calcite-components": "3.0.0-next.100", "@lit/react": "1.0.6" }, "peerDependencies": { @@ -31945,7 +31945,7 @@ }, "packages/calcite-ui-icons": { "name": "@esri/calcite-ui-icons", - "version": "4.0.0-next.7", + "version": "4.0.0-next.8", "license": "SEE LICENSE.md", "bin": { "spriter": "bin/spriter.js" diff --git a/packages/calcite-components-react/CHANGELOG.md b/packages/calcite-components-react/CHANGELOG.md index ec6e40ee4d2..30f05f88898 100644 --- a/packages/calcite-components-react/CHANGELOG.md +++ b/packages/calcite-components-react/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.100](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.99...@esri/calcite-components-react@3.0.0-next.100) (2025-01-14) + +**Note:** Version bump only for package @esri/calcite-components-react + ## [3.0.0-next.99](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components-react@3.0.0-next.98...@esri/calcite-components-react@3.0.0-next.99) (2025-01-14) **Note:** Version bump only for package @esri/calcite-components-react diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index 8de490a1c8e..de3b08d9497 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components-react", - "version": "3.0.0-next.99", + "version": "3.0.0-next.100", "description": "A set of React components that wrap calcite components", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { @@ -26,7 +26,7 @@ "tsc": "tsc" }, "dependencies": { - "@esri/calcite-components": "3.0.0-next.99", + "@esri/calcite-components": "3.0.0-next.100", "@lit/react": "1.0.6" }, "peerDependencies": { diff --git a/packages/calcite-components/CHANGELOG.md b/packages/calcite-components/CHANGELOG.md index c300f04491b..80bdf4c2b4e 100644 --- a/packages/calcite-components/CHANGELOG.md +++ b/packages/calcite-components/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.0.0-next.100](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.99...@esri/calcite-components@3.0.0-next.100) (2025-01-14) + +**Note:** Version bump only for package @esri/calcite-components + ## [3.0.0-next.99](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-components@3.0.0-next.98...@esri/calcite-components@3.0.0-next.99) (2025-01-14) ### Bug Fixes diff --git a/packages/calcite-components/package.json b/packages/calcite-components/package.json index 9a959f76db8..36dbb6fea0a 100644 --- a/packages/calcite-components/package.json +++ b/packages/calcite-components/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-components", - "version": "3.0.0-next.99", + "version": "3.0.0-next.100", "description": "Web Components for Esri's Calcite Design System.", "homepage": "https://developers.arcgis.com/calcite-design-system/", "repository": { @@ -72,7 +72,7 @@ "@arcgis/components-controllers": "^4.32.0-next.75", "@arcgis/components-utils": "^4.32.0-next.75", "@arcgis/lumina": "^4.32.0-next.75", - "@esri/calcite-ui-icons": "4.0.0-next.7", + "@esri/calcite-ui-icons": "4.0.0-next.8", "@floating-ui/dom": "^1.6.12", "@floating-ui/utils": "^0.2.8", "@types/color": "^4.2.0", diff --git a/packages/calcite-ui-icons/CHANGELOG.md b/packages/calcite-ui-icons/CHANGELOG.md index 5e6adc07766..978e79fc384 100644 --- a/packages/calcite-ui-icons/CHANGELOG.md +++ b/packages/calcite-ui-icons/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [4.0.0-next.8](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-ui-icons@4.0.0-next.7...@esri/calcite-ui-icons@4.0.0-next.8) (2025-01-14) + +### Features + +- add utility network layer ([#11299](https://github.com/Esri/calcite-design-system/issues/11299)) ([f086c99](https://github.com/Esri/calcite-design-system/commit/f086c9910594c768d673c19c7715318296cf3819)) + ## [4.0.0-next.7](https://github.com/Esri/calcite-design-system/compare/@esri/calcite-ui-icons@4.0.0-next.6...@esri/calcite-ui-icons@4.0.0-next.7) (2025-01-04) **Note:** Version bump only for package @esri/calcite-ui-icons diff --git a/packages/calcite-ui-icons/package.json b/packages/calcite-ui-icons/package.json index fde28c1711d..340faf2b4ec 100644 --- a/packages/calcite-ui-icons/package.json +++ b/packages/calcite-ui-icons/package.json @@ -1,6 +1,6 @@ { "name": "@esri/calcite-ui-icons", - "version": "4.0.0-next.7", + "version": "4.0.0-next.8", "private": false, "description": "A collection of UI SVG icons created by Esri for applications.", "keywords": [ From 33583e7e0a0823042b30cd84b21511bbdfbd9ecf Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Tue, 14 Jan 2025 14:24:11 -0800 Subject: [PATCH 22/24] fix(combobox): fix accessibility when an item's heading or label changes (#11289) **Related Issue:** #11301 ## Summary - update the accessible elements when an items `heading` or `label` changes - use `label` as an ariaLabel on the accessible element. --- .../combobox-item/combobox-item.tsx | 4 +- .../src/components/combobox/combobox.e2e.ts | 56 +++++++++++++++++++ .../src/components/combobox/combobox.tsx | 5 +- .../src/components/combobox/resources.ts | 1 + 4 files changed, 63 insertions(+), 3 deletions(-) diff --git a/packages/calcite-components/src/components/combobox-item/combobox-item.tsx b/packages/calcite-components/src/components/combobox-item/combobox-item.tsx index 7d1aaaf93fc..4c44e0ff5ad 100644 --- a/packages/calcite-components/src/components/combobox-item/combobox-item.tsx +++ b/packages/calcite-components/src/components/combobox-item/combobox-item.tsx @@ -168,7 +168,9 @@ export class ComboboxItem extends LitElement implements InteractiveComponent { if ( (changes.has("disabled") && this.hasUpdated) || (changes.has("selected") && this.hasUpdated) || - (changes.has("textLabel") && this.hasUpdated) + (changes.has("textLabel") && this.hasUpdated) || + (changes.has("heading") && this.hasUpdated) || + (changes.has("label") && this.hasUpdated) ) { this.calciteInternalComboboxItemChange.emit(); } diff --git a/packages/calcite-components/src/components/combobox/combobox.e2e.ts b/packages/calcite-components/src/components/combobox/combobox.e2e.ts index 87e0957d53c..d1c7495cc06 100644 --- a/packages/calcite-components/src/components/combobox/combobox.e2e.ts +++ b/packages/calcite-components/src/components/combobox/combobox.e2e.ts @@ -731,6 +731,62 @@ describe("calcite-combobox", () => { }); }); + it("should update screen reader list items", async () => { + const page = await newE2EPage(); + + await page.setContent( + html` + + `, + ); + + const item = await page.find("calcite-combobox-item"); + let a11yItem = await page.find(`calcite-combobox >>> ul.${CSS.screenReadersOnly} li`); + + expect(a11yItem).not.toBeNull(); + expect(await a11yItem.getProperty("ariaSelected")).toBe("false"); + expect(await a11yItem.getProperty("ariaLabel")).toBe(null); + expect(await a11yItem.getProperty("textContent")).toBe(""); + + item.setProperty("selected", true); + await page.waitForChanges(); + await page.waitForTimeout(DEBOUNCE.nextTick); + a11yItem = await page.find(`calcite-combobox >>> ul.${CSS.screenReadersOnly} li`); + + expect(await a11yItem.getProperty("ariaSelected")).toBe("true"); + + const label = "label"; + item.setProperty("label", label); + await page.waitForChanges(); + await page.waitForTimeout(DEBOUNCE.nextTick); + a11yItem = await page.find(`calcite-combobox >>> ul.${CSS.screenReadersOnly} li`); + + expect(await a11yItem.getProperty("ariaLabel")).toBe(label); + + const textLabel = "textLabel"; + item.setProperty("textLabel", textLabel); + await page.waitForChanges(); + await page.waitForTimeout(DEBOUNCE.nextTick); + a11yItem = await page.find(`calcite-combobox >>> ul.${CSS.screenReadersOnly} li`); + + expect(await a11yItem.getProperty("textContent")).toBe(textLabel); + + const heading = "heading"; + item.setProperty("heading", heading); + await page.waitForChanges(); + await page.waitForTimeout(DEBOUNCE.nextTick); + a11yItem = await page.find(`calcite-combobox >>> ul.${CSS.screenReadersOnly} li`); + + expect(await a11yItem.getProperty("textContent")).toBe(heading); + + item.setProperty("disabled", true); + await page.waitForChanges(); + await page.waitForTimeout(DEBOUNCE.nextTick); + a11yItem = await page.find(`calcite-combobox >>> ul.${CSS.screenReadersOnly} li`); + + expect(a11yItem).toBeNull(); + }); + it("should control max items displayed", async () => { const maxItems = 7; const page = await newE2EPage(); diff --git a/packages/calcite-components/src/components/combobox/combobox.tsx b/packages/calcite-components/src/components/combobox/combobox.tsx index a4607ea935e..c4abe0d66de 100644 --- a/packages/calcite-components/src/components/combobox/combobox.tsx +++ b/packages/calcite-components/src/components/combobox/combobox.tsx @@ -1679,6 +1679,7 @@ export class Combobox private renderListBoxOptions(): JsxNode { return this.filteredItems.map((item) => (
  • @@ -1805,7 +1806,7 @@ export class Combobox
      Date: Tue, 14 Jan 2025 14:50:48 -0800 Subject: [PATCH 23/24] build(deps): update dependency focus-trap to v7.6.4 (#11294) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [focus-trap](https://redirect.github.com/focus-trap/focus-trap) | [`7.6.2` -> `7.6.4`](https://renovatebot.com/diffs/npm/focus-trap/7.6.2/7.6.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/focus-trap/7.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/focus-trap/7.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/focus-trap/7.6.2/7.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/focus-trap/7.6.2/7.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
      focus-trap/focus-trap (focus-trap) ### [`v7.6.4`](https://redirect.github.com/focus-trap/focus-trap/blob/HEAD/CHANGELOG.md#764) [Compare Source](https://redirect.github.com/focus-trap/focus-trap/compare/v7.6.3...v7.6.4) ##### Patch Changes - [`bb47f7a`](https://redirect.github.com/focus-trap/focus-trap/commit/bb47f7a): Remove engine requirement that crept into `package.json`. Sorry about that! ([#​1343](https://redirect.github.com/focus-trap/focus-trap/issues/1343)) ### [`v7.6.3`](https://redirect.github.com/focus-trap/focus-trap/blob/HEAD/CHANGELOG.md#763) [Compare Source](https://redirect.github.com/focus-trap/focus-trap/compare/v7.6.2...v7.6.3) ##### Patch Changes - [`0a9b746`](https://redirect.github.com/focus-trap/focus-trap/commit/0a9b746): Prevent a previous focus trap that is manually paused from being automatically unpaused when the current trap is deactivated. Also prevent a paused trap that is not at the top of the stack from being unpaused.
      --- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8091357e280..af0161bafba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13914,10 +13914,9 @@ "license": "ISC" }, "node_modules/focus-trap": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.2.tgz", - "integrity": "sha512-9FhUxK1hVju2+AiQIDJ5Dd//9R2n2RAfJ0qfhF4IHGHgcoEUTMpbTeG/zbEuwaiYXfuAH6XE0/aCyxDdRM+W5w==", - "license": "MIT", + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.4.tgz", + "integrity": "sha512-xx560wGBk7seZ6y933idtjJQc1l+ck+pI3sKvhKozdBV1dRZoKhkW5xoCaFv9tQiX5RH1xfSxjuNu6g+lmN/gw==", "dependencies": { "tabbable": "^6.2.0" } @@ -31913,7 +31912,7 @@ "color": "^4.2.3", "composed-offset-position": "^0.0.6", "dayjs": "^1.11.13", - "focus-trap": "^7.6.2", + "focus-trap": "7.6.4", "interactjs": "^1.10.27", "lodash-es": "^4.17.21", "sortablejs": "^1.15.6", From 6427e5f81f69a390a89dfdd005b3d178af8ee525 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 14:51:09 -0800 Subject: [PATCH 24/24] build(deps): update dependency @lit/react to v1.0.7 (#11293) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@lit/react](https://lit.dev/) ([source](https://redirect.github.com/lit/lit/tree/HEAD/packages/react)) | [`1.0.6` -> `1.0.7`](https://renovatebot.com/diffs/npm/@lit%2freact/1.0.6/1.0.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@lit%2freact/1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@lit%2freact/1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@lit%2freact/1.0.6/1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@lit%2freact/1.0.6/1.0.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
      lit/lit (@​lit/react) ### [`v1.0.7`](https://redirect.github.com/lit/lit/blob/HEAD/packages/react/CHANGELOG.md#107) [Compare Source](https://redirect.github.com/lit/lit/compare/@lit/react@1.0.6...@lit/react@1.0.7) ##### Patch Changes - [#​4865](https://redirect.github.com/lit/lit/pull/4865) [`dd2fdc96`](https://redirect.github.com/lit/lit/commit/dd2fdc96441a585f735f3d1daffe65c652bad0df) Thanks [@​Artur-](https://redirect.github.com/Artur-)! - fix: Widen range for React types to include React 19
      --- - [ ] If you want to rebase/retry this PR, check this box Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 11 +++++------ packages/calcite-components-react/package.json | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index af0161bafba..f24f1d82ab7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3080,12 +3080,11 @@ } }, "node_modules/@lit/react": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.6.tgz", - "integrity": "sha512-QIss8MPh6qUoFJmuaF4dSHts3qCsA36S3HcOLiNPShxhgYPr4XJRnCBKPipk85sR9xr6TQrOcDMfexwbNdJHYA==", - "license": "BSD-3-Clause", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.7.tgz", + "integrity": "sha512-cencnwwLXQKiKxjfFzSgZRngcWJzUDZi/04E0fSaF86wZgchMdvTyu+lE36DrUfvuus3bH8+xLPrhM1cTjwpzw==", "peerDependencies": { - "@types/react": "17 || 18" + "@types/react": "17 || 18 || 19" } }, "node_modules/@lit/reactive-element": { @@ -31930,7 +31929,7 @@ "license": "SEE LICENSE.md", "dependencies": { "@esri/calcite-components": "3.0.0-next.100", - "@lit/react": "1.0.6" + "@lit/react": "1.0.7" }, "peerDependencies": { "react": ">=18.3", diff --git a/packages/calcite-components-react/package.json b/packages/calcite-components-react/package.json index de3b08d9497..749447d0f27 100644 --- a/packages/calcite-components-react/package.json +++ b/packages/calcite-components-react/package.json @@ -27,7 +27,7 @@ }, "dependencies": { "@esri/calcite-components": "3.0.0-next.100", - "@lit/react": "1.0.6" + "@lit/react": "1.0.7" }, "peerDependencies": { "react": ">=18.3",