@ewc-lib/ewc-icon-button-group 2.0.2-alpha → 2.0.3-alpha
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 +2 -2
- package/readme.md +4 -1
- package/src/main.js +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ewc-lib/ewc-icon-button-group",
|
|
3
3
|
"//": "please always keep version in sync with constructor in main.js",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.3-alpha",
|
|
5
5
|
"basedOnStandard": "3.0.1",
|
|
6
6
|
"description": "",
|
|
7
7
|
"main": "src/main.js",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"@ewc-lib/ewc-css-common": "0.1.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@ewc-lib/ewc-icon-button": "2.0.
|
|
19
|
+
"@ewc-lib/ewc-icon-button": "2.0.2-alpha"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/readme.md
CHANGED
|
@@ -38,7 +38,7 @@ Within a button-group, only buttons that are not currently pressed can be focuss
|
|
|
38
38
|
|
|
39
39
|
Notes:
|
|
40
40
|
|
|
41
|
-
- The
|
|
41
|
+
- The attribute **breakpoint** does not support modification at runtime.
|
|
42
42
|
- The width of an ewc-icon-button (when used in conjunction with the ewc-icon-button-group) is determined as follows:
|
|
43
43
|
- width of button-group < breakpoint: size or weight attribute of ewc-icon-button
|
|
44
44
|
- width of button-group > breakpoint: 125px as per standard definition
|
|
@@ -115,6 +115,9 @@ European Union Public License (EUPL)
|
|
|
115
115
|
|
|
116
116
|
# Changelog
|
|
117
117
|
|
|
118
|
+
- 2.0.3-alpha
|
|
119
|
+
- fix label casing bug
|
|
120
|
+
|
|
118
121
|
- 2.0.2-alpha
|
|
119
122
|
- support integration, update dependency, add aria-label
|
|
120
123
|
|
package/src/main.js
CHANGED
|
@@ -68,7 +68,7 @@ class Element extends HTMLElement {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
connectedCallback() {
|
|
71
|
-
this.setAttribute("ewc-version", "2.0.
|
|
71
|
+
this.setAttribute("ewc-version", "2.0.2-alpha") // please always keep in sync with version in package.json
|
|
72
72
|
if(this.#isInitialised == true) {return}
|
|
73
73
|
|
|
74
74
|
this.classList.add(this.#cssClassPrefix)
|