From 2d3284b0f8e6a25a47b4bbacfb62b82e6e77a5d4 Mon Sep 17 00:00:00 2001 From: brandenTenbrink Date: Tue, 30 Aug 2022 15:02:43 -0400 Subject: [PATCH] fix: Removed Text Color and Opacity from Disabled Input (Accessibility) (#830) * fix: implemented the changes to the styles * chore: versioning --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/Components/Inputs/Input.scss | 2 -- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f953190..2867472f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +### 6.3.2 (2022-08-24) + +- [830](https://github.com/influxdata/clockface/pull/830): Removed text color change and opacity when inputs are disabled. Accessbility on text readability change. + ### 6.3.1 (2022-08-24) - [829](https://github.com/influxdata/clockface/pull/829): Removed CSS filters from Selectable Card diff --git a/package.json b/package.json index 032ad8df..a43f8856 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@influxdata/clockface", - "version": "6.3.1", + "version": "6.3.2", "license": "MIT", "main": "dist/index.js", "style": "dist/index.css", diff --git a/src/Components/Inputs/Input.scss b/src/Components/Inputs/Input.scss index b5ab4327..a1d77166 100644 --- a/src/Components/Inputs/Input.scss +++ b/src/Components/Inputs/Input.scss @@ -330,7 +330,5 @@ alternate css for the other sizes */ .cf-input-field[disabled]:hover { border-color: $cf-input-border--disabled; background-color: $cf-input-background--disabled; - color: $cf-input-text--disabled; cursor: not-allowed; - opacity: $cf-disabled-opacity; }