@shoper/phoenix_design_system 1.6.11 → 1.6.12
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/build/cjs/packages/phoenix/src/components/form/checkbox/checkbox_control.js +1 -1
- package/build/cjs/packages/phoenix/src/components/form/controllers/props_synchronizing/control_props_sync_consumer_controller.js +1 -1
- package/build/cjs/packages/phoenix/src/components/form/input/input_control.js +1 -1
- package/build/cjs/packages/phoenix/src/components/form/radio/radio_control.js +1 -1
- package/build/esm/packages/phoenix/src/components/form/checkbox/checkbox_control.js +1 -1
- package/build/esm/packages/phoenix/src/components/form/controllers/props_synchronizing/control_props_sync_consumer_controller.js +1 -1
- package/build/esm/packages/phoenix/src/components/form/input/input_control.js +1 -1
- package/build/esm/packages/phoenix/src/components/form/radio/radio_control.js +1 -1
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ exports.HCheckboxControl = class HCheckboxControl extends phoenix_light_lit_elem
|
|
|
51
51
|
?required="${this.required}"
|
|
52
52
|
?readonly="${this.readonly}"
|
|
53
53
|
?hidden="${this.hidden}"
|
|
54
|
-
|
|
54
|
+
.checked="${this.checked}"
|
|
55
55
|
@change="${this._handleChangeEvent}"
|
|
56
56
|
/>
|
|
57
57
|
|
|
@@ -19,7 +19,7 @@ class ControlPropsSyncConsumerController {
|
|
|
19
19
|
this._syncProps = (props) => {
|
|
20
20
|
Object.entries(props).forEach(([key, value]) => {
|
|
21
21
|
// eslint-disable-next-line no-prototype-builtins
|
|
22
|
-
if (key in tslib_es6.__classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f") && tslib_es6.__classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f")[key]
|
|
22
|
+
if (key in tslib_es6.__classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f") && tslib_es6.__classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f")[key] !== value) {
|
|
23
23
|
tslib_es6.__classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f")[key] = value;
|
|
24
24
|
}
|
|
25
25
|
});
|
|
@@ -118,7 +118,7 @@ exports.HInputControl = class HInputControl extends phoenix_light_lit_element.Ph
|
|
|
118
118
|
id="${ifDefined_js.ifDefined(this.controlId)}"
|
|
119
119
|
name="${ifDefined_js.ifDefined(this.controlName)}"
|
|
120
120
|
type="${ifDefined_js.ifDefined(this.type)}"
|
|
121
|
-
value="${ifDefined_js.ifDefined(this.value)}"
|
|
121
|
+
.value="${ifDefined_js.ifDefined(this.value)}"
|
|
122
122
|
placeholder="${ifDefined_js.ifDefined(this.placeholder)}"
|
|
123
123
|
?disabled="${this.disabled}"
|
|
124
124
|
?required="${this.required}"
|
|
@@ -41,7 +41,7 @@ exports.HRadioControl = class HRadioControl extends phoenix_light_lit_element.Ph
|
|
|
41
41
|
?required="${this.required}"
|
|
42
42
|
?readonly="${this.readonly}"
|
|
43
43
|
?hidden="${this.hidden}"
|
|
44
|
-
|
|
44
|
+
.checked="${this.checked}"
|
|
45
45
|
@change="${this._handleChangeEvent}"
|
|
46
46
|
/>
|
|
47
47
|
|
|
@@ -47,7 +47,7 @@ let HCheckboxControl = class HCheckboxControl extends PhoenixLightLitElement {
|
|
|
47
47
|
?required="${this.required}"
|
|
48
48
|
?readonly="${this.readonly}"
|
|
49
49
|
?hidden="${this.hidden}"
|
|
50
|
-
|
|
50
|
+
.checked="${this.checked}"
|
|
51
51
|
@change="${this._handleChangeEvent}"
|
|
52
52
|
/>
|
|
53
53
|
|
|
@@ -15,7 +15,7 @@ class ControlPropsSyncConsumerController {
|
|
|
15
15
|
this._syncProps = (props) => {
|
|
16
16
|
Object.entries(props).forEach(([key, value]) => {
|
|
17
17
|
// eslint-disable-next-line no-prototype-builtins
|
|
18
|
-
if (key in __classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f") && __classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f")[key]
|
|
18
|
+
if (key in __classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f") && __classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f")[key] !== value) {
|
|
19
19
|
__classPrivateFieldGet(this, _ControlPropsSyncConsumerController_host, "f")[key] = value;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
@@ -114,7 +114,7 @@ let HInputControl = class HInputControl extends PhoenixLightLitElement {
|
|
|
114
114
|
id="${ifDefined(this.controlId)}"
|
|
115
115
|
name="${ifDefined(this.controlName)}"
|
|
116
116
|
type="${ifDefined(this.type)}"
|
|
117
|
-
value="${ifDefined(this.value)}"
|
|
117
|
+
.value="${ifDefined(this.value)}"
|
|
118
118
|
placeholder="${ifDefined(this.placeholder)}"
|
|
119
119
|
?disabled="${this.disabled}"
|
|
120
120
|
?required="${this.required}"
|
|
@@ -37,7 +37,7 @@ let HRadioControl = class HRadioControl extends PhoenixLightLitElement {
|
|
|
37
37
|
?required="${this.required}"
|
|
38
38
|
?readonly="${this.readonly}"
|
|
39
39
|
?hidden="${this.hidden}"
|
|
40
|
-
|
|
40
|
+
.checked="${this.checked}"
|
|
41
41
|
@change="${this._handleChangeEvent}"
|
|
42
42
|
/>
|
|
43
43
|
|