@muonic/muon 0.0.2-experimental-212-04e17cc.0 → 0.0.2-experimental-213-f36be40.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.
@@ -25,9 +25,9 @@ export class Cta extends ScopedElementsMixin(MuonElement) {
25
25
 
26
26
  static get properties() {
27
27
  return {
28
- loading: { type: Boolean },
28
+ loading: { type: Boolean, reflect: true },
29
29
  loadingMessage: { type: String, attribute: 'loading-message' },
30
- disabled: { type: Boolean },
30
+ disabled: { type: Boolean, reflect: true },
31
31
  icon: { type: String },
32
32
  href: { type: String },
33
33
  _iconPosition: { type: String, state: true },
@@ -96,9 +96,10 @@
96
96
 
97
97
  /* TODO: move these `[disabled]` and `[loading]` styles to default.css */
98
98
 
99
+ /* NOTE: We add `=""` to enforce styles only for booleans */
99
100
  /* stylelint-disable no-descending-specificity */
100
- :host([disabled]),
101
- :host([loading]) {
101
+ :host([disabled=""]),
102
+ :host([loading=""]) {
102
103
  cursor: auto;
103
104
  pointer-events: none;
104
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muonic/muon",
3
- "version": "0.0.2-experimental-212-04e17cc.0",
3
+ "version": "0.0.2-experimental-213-f36be40.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {