@lumx/core 3.13.3-alpha.3 → 3.14.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.13.3-alpha.3",
43
+ "version": "3.14.1-alpha.0",
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.26.10",
46
46
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -132,7 +132,7 @@
132
132
  }
133
133
  }
134
134
 
135
- &:hover,
135
+ &:hover:not([aria-disabled="true"]),
136
136
  &[class*="--is-hovered"] {
137
137
  @if $color == "primary" and $emphasis == lumx-base-const("emphasis", "HIGH") {
138
138
  color: var(--lumx-button-#{$emphasis}-state-hover-#{$theme}-color);
@@ -158,7 +158,7 @@
158
158
  }
159
159
  }
160
160
 
161
- &:active,
161
+ &:active:not([aria-disabled="true"]),
162
162
  &[class*="--is-active"] {
163
163
  @if $color == "primary" and $emphasis == lumx-base-const("emphasis", "HIGH") {
164
164
  color: var(--lumx-button-#{$emphasis}-state-active-#{$theme}-color);
@@ -192,6 +192,9 @@
192
192
  &:disabled,
193
193
  &[aria-disabled="true"] {
194
194
  @include lumx-state-disabled-input;
195
+ // Enabling pointer-events to display label tooltips on hover
196
+ // @TODO: should be moved in the mixin when all disabled states will be aligned
197
+ pointer-events: all;
195
198
  }
196
199
  }
197
200
 
@@ -133,6 +133,7 @@
133
133
  @mixin lumx-state-disabled-input() {
134
134
  pointer-events: none;
135
135
  opacity: 0.5;
136
+ cursor: default;
136
137
  }
137
138
 
138
139
  @mixin lumx-state($state, $emphasis, $color, $theme: null) {