@momentum-design/components 0.112.1 → 0.112.3

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.
@@ -31,6 +31,19 @@ const styles = css `
31
31
  line-height: var(--mds-font-apps-body-midsize-medium-line-height);
32
32
  }
33
33
 
34
+ :host([disabled])::part(leading-icon),
35
+ :host([disabled])::part(trailing-icon),
36
+ :host([soft-disabled])::part(leading-icon),
37
+ :host([soft-disabled])::part(trailing-icon),
38
+ :host([disabled])::part(slider-label),
39
+ :host([disabled])::part(slider-label-start),
40
+ :host([disabled])::part(slider-label-end),
41
+ :host([soft-disabled])::part(slider-label),
42
+ :host([soft-disabled])::part(slider-label-start),
43
+ :host([soft-disabled])::part(slider-label-end) {
44
+ color: var(--mds-color-theme-text-primary-disabled);
45
+ }
46
+
34
47
  :host::part(slider-label) {
35
48
  margin-bottom: 0.5rem;
36
49
  display: block;
@@ -112,6 +125,18 @@ const styles = css `
112
125
  border: 1px solid var(--mdc-slider-thumb-border-color);
113
126
  }
114
127
 
128
+ :host([disabled]) input[type='range']::-webkit-slider-thumb {
129
+ cursor: unset;
130
+ }
131
+
132
+ :host([disabled]) input[type='range']::-moz-range-thumb {
133
+ cursor: unset;
134
+ }
135
+
136
+ :host([disabled]) input[type='range']::-ms-thumb {
137
+ cursor: unset;
138
+ }
139
+
115
140
  :host(:not([soft-disabled])) input[type='range']:not(:disabled):hover::-webkit-slider-thumb {
116
141
  --mdc-slider-thumb-color: var(--mds-color-theme-overlay-button-secondary-hover);
117
142
  --mdc-slider-thumb-border-color: var(--mds-color-theme-outline-input-active);