From 89c6be77e29b9e5b6240e0e0263b5f5d280e38b3 Mon Sep 17 00:00:00 2001 From: Frances Morrison Date: Wed, 13 Nov 2024 15:08:10 -0500 Subject: [PATCH] fix(rux-accordion): CSS issue from Chrome upgrade (#1358) fix: rux-accordion css issue from Chrome upgrade --- .changeset/mighty-emus-stare.md | 6 ++++++ packages/angular-workspace/CHANGELOG.md | 8 ++++++++ packages/angular-workspace/package.json | 4 ++-- packages/angular-workspace/projects/angular/CHANGELOG.md | 8 ++++++++ packages/angular-workspace/projects/angular/package.json | 4 ++-- .../projects/angular/src/directives/proxies-list.ts | 1 - packages/framework-testing/astro-angular/package.json | 4 ++-- packages/framework-testing/astro-react/package.json | 4 ++-- packages/framework-testing/astro-vue/package.json | 2 +- packages/react/CHANGELOG.md | 8 ++++++++ packages/react/package.json | 4 ++-- packages/web-components/CHANGELOG.md | 8 ++++++++ packages/web-components/package-lock.json | 4 ++-- packages/web-components/package.json | 2 +- .../rux-accordion-item/rux-accordion-item.scss | 2 ++ 15 files changed, 54 insertions(+), 15 deletions(-) create mode 100644 .changeset/mighty-emus-stare.md diff --git a/.changeset/mighty-emus-stare.md b/.changeset/mighty-emus-stare.md new file mode 100644 index 000000000..c1c18f173 --- /dev/null +++ b/.changeset/mighty-emus-stare.md @@ -0,0 +1,6 @@ +--- +"@astrouxds/angular": patch +"@astrouxds/astro-web-components": patch +--- + +Rux-accordion css fix for new Chrome version diff --git a/packages/angular-workspace/CHANGELOG.md b/packages/angular-workspace/CHANGELOG.md index 3e516256d..bf947cd6f 100644 --- a/packages/angular-workspace/CHANGELOG.md +++ b/packages/angular-workspace/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrouxds/angular +## 7.24.1 + +### Patch Changes + +#### Accordion + +- CSS fix for accordion-item for Chrome version 131.0.6778.70. + ## 7.24.0 ### Minor Changes diff --git a/packages/angular-workspace/package.json b/packages/angular-workspace/package.json index c25700dbe..f30888e09 100644 --- a/packages/angular-workspace/package.json +++ b/packages/angular-workspace/package.json @@ -1,6 +1,6 @@ { "name": "angular-workspace", - "version": "7.24.0", + "version": "7.24.1", "scripts": { "ng": "ng", "start": "ng serve", @@ -24,7 +24,7 @@ "@angular/platform-browser": "~13.2.7", "@angular/platform-browser-dynamic": "~13.2.7", "@angular/router": "~13.2.7", - "@astrouxds/astro-web-components": "^7.24.0", + "@astrouxds/astro-web-components": "^7.24.1", "rxjs": "~7.5.7", "tslib": "^2.4.1", "zone.js": "~0.11.8" diff --git a/packages/angular-workspace/projects/angular/CHANGELOG.md b/packages/angular-workspace/projects/angular/CHANGELOG.md index 253026875..05c531272 100644 --- a/packages/angular-workspace/projects/angular/CHANGELOG.md +++ b/packages/angular-workspace/projects/angular/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrouxds/angular +## 7.24.1 + +### Patch Changes + +#### Accordion + +- CSS fix for accordion-item for Chrome version 131.0.6778.70. + ## 7.24.0 ### Minor Changes diff --git a/packages/angular-workspace/projects/angular/package.json b/packages/angular-workspace/projects/angular/package.json index f94bb099f..28a6d32d2 100644 --- a/packages/angular-workspace/projects/angular/package.json +++ b/packages/angular-workspace/projects/angular/package.json @@ -1,6 +1,6 @@ { "name": "@astrouxds/angular", - "version": "7.24.0", + "version": "7.24.1", "description": "Astro Web Components Angular Wrapper", "license": "MIT", "repository": { @@ -12,7 +12,7 @@ "@angular/core": ">=12.0.0" }, "dependencies": { - "@astrouxds/astro-web-components": "^7.24.0", + "@astrouxds/astro-web-components": "^7.24.1", "tslib": "^2.4.1" } } diff --git a/packages/angular-workspace/projects/angular/src/directives/proxies-list.ts b/packages/angular-workspace/projects/angular/src/directives/proxies-list.ts index ad473f4dd..eadb7bb39 100644 --- a/packages/angular-workspace/projects/angular/src/directives/proxies-list.ts +++ b/packages/angular-workspace/projects/angular/src/directives/proxies-list.ts @@ -1,4 +1,3 @@ -// @ts-nocheck import * as d from './proxies'; diff --git a/packages/framework-testing/astro-angular/package.json b/packages/framework-testing/astro-angular/package.json index 40a2695bf..e5e44eaac 100644 --- a/packages/framework-testing/astro-angular/package.json +++ b/packages/framework-testing/astro-angular/package.json @@ -27,8 +27,8 @@ "@angular-devkit/build-angular": "^16.0.0", "@angular/cli": "~16.0.0", "@angular/compiler-cli": "^16.0.0", - "@astrouxds/angular": "^7.24.0", - "@astrouxds/astro-web-components": "^7.24.0", + "@astrouxds/angular": "^7.24.1", + "@astrouxds/astro-web-components": "^7.24.1", "@astrouxds/tailwind": "^1.0.0-beta.1", "@types/jasmine": "~4.3.0", "autoprefixer": "^10.4.14", diff --git a/packages/framework-testing/astro-react/package.json b/packages/framework-testing/astro-react/package.json index fff5034f3..39dfec119 100644 --- a/packages/framework-testing/astro-react/package.json +++ b/packages/framework-testing/astro-react/package.json @@ -14,8 +14,8 @@ "react-dom": "^18.2.0" }, "devDependencies": { - "@astrouxds/astro-web-components": "^7.24.0", - "@astrouxds/react": "^7.24.0", + "@astrouxds/astro-web-components": "^7.24.1", + "@astrouxds/react": "^7.24.1", "@astrouxds/tailwind": "^1.0.0-beta.1", "@types/react": "^18.0.37", "@types/react-dom": "^18.0.11", diff --git a/packages/framework-testing/astro-vue/package.json b/packages/framework-testing/astro-vue/package.json index 018b4e40d..c9f74bc41 100644 --- a/packages/framework-testing/astro-vue/package.json +++ b/packages/framework-testing/astro-vue/package.json @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { - "@astrouxds/astro-web-components": "^7.24.0", + "@astrouxds/astro-web-components": "^7.24.1", "vue": "^3.2.47" }, "devDependencies": { diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 045db4d1c..ba3dee18c 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrouxds/react +## 7.24.1 + +### Patch Changes + +#### Accordion + +- CSS fix for accordion-item for Chrome version 131.0.6778.70. + ## 7.24.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 61ad48dcc..5ee3e5aa9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@astrouxds/react", "sideEffects": false, - "version": "7.24.0", + "version": "7.24.1", "description": "Astro Web Components React Wrapper", "repository": { "type": "git", @@ -40,7 +40,7 @@ "typescript": "^4.9.3" }, "dependencies": { - "@astrouxds/astro-web-components": "^7.24.0" + "@astrouxds/astro-web-components": "^7.24.1" }, "peerDependencies": { "react": ">=17.0.0", diff --git a/packages/web-components/CHANGELOG.md b/packages/web-components/CHANGELOG.md index 4e96d6167..15fb8300e 100644 --- a/packages/web-components/CHANGELOG.md +++ b/packages/web-components/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrouxds/astro-web-components +## 7.24.1 + +### Patch Changes + +#### Accordion + +- CSS fix for accordion-item for Chrome version 131.0.6778.70. + ## 7.24.0 ### Minor Changes diff --git a/packages/web-components/package-lock.json b/packages/web-components/package-lock.json index fe51aad1b..8e1304477 100644 --- a/packages/web-components/package-lock.json +++ b/packages/web-components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@astrouxds/astro-web-components", - "version": "7.22.1", + "version": "7.24.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@astrouxds/astro-web-components", - "version": "7.22.1", + "version": "7.24.1", "license": "MIT", "dependencies": { "@floating-ui/dom": "~1.0.6", diff --git a/packages/web-components/package.json b/packages/web-components/package.json index 9d4e0dfd7..b70639594 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -1,6 +1,6 @@ { "name": "@astrouxds/astro-web-components", - "version": "7.24.0", + "version": "7.24.1", "description": "Astro Web Components", "homepage": "https://astro-components.netlify.app/?path=/story/astro-uxds-welcome-start-here--page", "repository": { diff --git a/packages/web-components/src/components/rux-accordion/rux-accordion-item/rux-accordion-item.scss b/packages/web-components/src/components/rux-accordion/rux-accordion-item/rux-accordion-item.scss index 9b736d9ee..1e6f7de42 100644 --- a/packages/web-components/src/components/rux-accordion/rux-accordion-item/rux-accordion-item.scss +++ b/packages/web-components/src/components/rux-accordion/rux-accordion-item/rux-accordion-item.scss @@ -44,6 +44,7 @@ summary:hover .rux-accordion-item--title { .rux-accordion-item { display: flex; + flex-direction: column; font-family: var(--font-control-body-1-font-family); font-size: var(--font-control-body-1-font-size); font-weight: var(--font-control-body-1-font-weight); @@ -61,6 +62,7 @@ summary:hover .rux-accordion-item--title { } &--content { + display: block; padding: var(--spacing-4); margin: var(--spacing-0); font-size: var(--font-body-2-font-size);