@odx/ui 6.0.1 → 6.1.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "6.0.1",
3
+ "version": "6.1.0",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
package/scss/_utils.scss CHANGED
@@ -128,8 +128,21 @@
128
128
  }
129
129
 
130
130
  @mixin non-interactive() {
131
+ cursor: not-allowed;
131
132
  outline-color: transparent;
132
- pointer-events: none;
133
+
134
+ &:not([data-disabled-focusable]) {
135
+ pointer-events: none;
136
+ }
137
+
138
+ &[data-disabled-focusable] {
139
+ caret-color: transparent;
140
+ overscroll-behavior: contain;
141
+ -webkit-tap-highlight-color: transparent;
142
+ -webkit-touch-callout: none;
143
+ -webkit-user-drag: none;
144
+ user-select: none;
145
+ }
133
146
  }
134
147
 
135
148
  @mixin theme-selector($theme: dark) {
@@ -128,8 +128,21 @@
128
128
  }
129
129
 
130
130
  @mixin non-interactive() {
131
+ cursor: not-allowed;
131
132
  outline-color: transparent;
132
- pointer-events: none;
133
+
134
+ &:not([data-disabled-focusable]) {
135
+ pointer-events: none;
136
+ }
137
+
138
+ &[data-disabled-focusable] {
139
+ caret-color: transparent;
140
+ overscroll-behavior: contain;
141
+ -webkit-tap-highlight-color: transparent;
142
+ -webkit-touch-callout: none;
143
+ -webkit-user-drag: none;
144
+ user-select: none;
145
+ }
133
146
  }
134
147
 
135
148
  @mixin theme-selector($theme: dark) {