diff --git a/CHANGELOG.md b/CHANGELOG.md index e6fa413c6d..34fc4482ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [4.16.4](https://github.com/adobe/coral-spectrum/compare/v4.16.3...v4.16.4) (2024-07-30) + + +### Bug Fixes + +* **bug:** Custom color coral ui element is non-functional ([#354](https://github.com/adobe/coral-spectrum/issues/354)) ([a6e038e](https://github.com/adobe/coral-spectrum/commit/a6e038e0fc669e23f9043551b236e25494e897d4)) + ## [4.16.3](https://github.com/adobe/coral-spectrum/compare/v4.16.2...v4.16.3) (2024-07-30) diff --git a/coral-component-colorinput/src/scripts/ColorInput.js b/coral-component-colorinput/src/scripts/ColorInput.js index 29d29631db..bdfb60d060 100644 --- a/coral-component-colorinput/src/scripts/ColorInput.js +++ b/coral-component-colorinput/src/scripts/ColorInput.js @@ -687,8 +687,8 @@ const ColorInput = Decorator(class extends BaseFormField(BaseComponent(HTMLEleme if (this.showProperties === showProperties.OFF && this.showSwatches === showSwatches.ON) { this._elements.colorPreview.label.textContent = i18n.get('Swatches'); - if (this.previousSibling) { - this.previousSibling.setAttribute('aria-label', i18n.get('Confirm hex value')); + if (this.previousElementSibling) { + this.previousElementSibling.setAttribute('aria-label', i18n.get('Confirm hex value')); } this._elements.overlay.setAttribute('aria-label', i18n.get('Swatches')); } else { diff --git a/package-lock.json b/package-lock.json index 6fd3d52f89..b6eea475a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adobe/coral-spectrum", - "version": "4.15.6", + "version": "4.16.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@adobe/coral-spectrum", - "version": "4.15.6", + "version": "4.16.3", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index 75597bf9be..1a96a112e9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@adobe/coral-spectrum", "description": "Coral Spectrum is a JavaScript library of Web Components following Spectrum design patterns.", - "version": "4.16.3", + "version": "4.16.4", "homepage": "https://github.com/adobe/coral-spectrum#readme", "license": "Apache-2.0", "repository": {