@muonic/muon 0.0.2-experimental-211-3b29c04.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.2-beta.21](https://github.com/centrica-engineering/muon/compare/v0.0.2-beta.20...v0.0.2-beta.21) (2023-06-08)
|
|
6
|
+
|
|
5
7
|
### [0.0.2-beta.20](https://github.com/centrica-engineering/muon/compare/v0.0.2-beta.19...v0.0.2-beta.20) (2023-06-06)
|
|
6
8
|
|
|
7
9
|
|
|
@@ -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
|
}
|