@justeattakeaway/pie-switch 1.3.1 → 1.3.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.
- package/custom-elements.json +2 -1
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/index.ts +1 -1
package/custom-elements.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var $t = Object.defineProperty, Rt = (f, s, c, h) => {
|
|
|
11
11
|
};
|
|
12
12
|
class dt extends It {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.v = "1.3.
|
|
14
|
+
super(...arguments), this.v = "1.3.3";
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
Rt([
|
|
@@ -651,7 +651,7 @@ v([
|
|
|
651
651
|
y({ type: String })
|
|
652
652
|
], p.prototype, "value");
|
|
653
653
|
v([
|
|
654
|
-
y({ type: String })
|
|
654
|
+
y({ type: String, reflect: !0 })
|
|
655
655
|
], p.prototype, "name");
|
|
656
656
|
v([
|
|
657
657
|
y({ type: Boolean, reflect: !0 })
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-switch",
|
|
3
3
|
"description": "PIE Design System Switch built using Web Components",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
42
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
42
|
+
"@justeattakeaway/pie-components-config": "0.20.0",
|
|
43
43
|
"@justeattakeaway/pie-css": "0.16.0",
|
|
44
44
|
"@justeattakeaway/pie-monorepo-utils": "0.5.0",
|
|
45
45
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@justeattakeaway/pie-icons-webc": "1.
|
|
48
|
+
"@justeattakeaway/pie-icons-webc": "1.7.0",
|
|
49
49
|
"@justeattakeaway/pie-webc-core": "0.25.1",
|
|
50
50
|
"@justeattakeaway/pie-wrapper-react": "0.14.3",
|
|
51
51
|
"element-internals-polyfill": "1.3.11"
|
package/src/index.ts
CHANGED
|
@@ -44,7 +44,7 @@ export class PieSwitch extends FormControlMixin(RtlMixin(PieElement)) implements
|
|
|
44
44
|
@property({ type: String })
|
|
45
45
|
public value = defaultProps.value;
|
|
46
46
|
|
|
47
|
-
@property({ type: String })
|
|
47
|
+
@property({ type: String, reflect: true })
|
|
48
48
|
public name: SwitchProps['name'];
|
|
49
49
|
|
|
50
50
|
@property({ type: Boolean, reflect: true })
|