@shoper/phoenix_design_system 0.24.0 → 0.24.2
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/color_swatches_control/color_swatches_control.js +6 -4
- package/build/cjs/packages/phoenix/src/components/form/color_swatches_control/color_swatches_control.js.map +1 -1
- package/build/esm/packages/phoenix/src/components/form/color_swatches_control/color_swatches_control.d.ts +1 -1
- package/build/esm/packages/phoenix/src/components/form/color_swatches_control/color_swatches_control.js +6 -4
- package/build/esm/packages/phoenix/src/components/form/color_swatches_control/color_swatches_control.js.map +1 -1
- package/package.json +1 -1
|
@@ -37,9 +37,11 @@ exports.HColorSwatchesControl = class HColorSwatchesControl extends phoenix_ligh
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return lit.html `
|
|
40
|
-
<h-input
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
<h-input-control
|
|
41
|
+
controlName="${this.controlName}"
|
|
42
|
+
type="${input_constants.INPUT_CONTROL_TYPES.hidden}"
|
|
43
|
+
value="${this.selectedColors}"
|
|
44
|
+
></h-input-control>
|
|
43
45
|
`;
|
|
44
46
|
}
|
|
45
47
|
};
|
|
@@ -50,7 +52,7 @@ tslib_es6.__decorate([
|
|
|
50
52
|
tslib_es6.__decorate([
|
|
51
53
|
decorators.property({ type: String }),
|
|
52
54
|
tslib_es6.__metadata("design:type", String)
|
|
53
|
-
], exports.HColorSwatchesControl.prototype, "
|
|
55
|
+
], exports.HColorSwatchesControl.prototype, "controlName", void 0);
|
|
54
56
|
tslib_es6.__decorate([
|
|
55
57
|
decorators.property({ type: Boolean }),
|
|
56
58
|
tslib_es6.__metadata("design:type", Boolean)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,+CAAmD;AAC3E;AACA;AACA;AACA;AACA;AACA,oBAAoB,0CAA8C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA,wBAAwB,+CAAmD;AAC3E;AACA;AACA;AACA;AACA;AACA,oBAAoB,0CAA8C;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
@@ -2,7 +2,7 @@ import { TemplateResult } from 'lit';
|
|
|
2
2
|
import { PhoenixLightLitElement } from "../../../core/phoenix_light_lit_element/phoenix_light_lit_element";
|
|
3
3
|
export declare class HColorSwatchesControl extends PhoenixLightLitElement {
|
|
4
4
|
controlId: string;
|
|
5
|
-
|
|
5
|
+
controlName: string;
|
|
6
6
|
disabled: boolean;
|
|
7
7
|
required: boolean;
|
|
8
8
|
error: boolean;
|
|
@@ -33,9 +33,11 @@ let HColorSwatchesControl = class HColorSwatchesControl extends PhoenixLightLitE
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
return html `
|
|
36
|
-
<h-input
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
<h-input-control
|
|
37
|
+
controlName="${this.controlName}"
|
|
38
|
+
type="${INPUT_CONTROL_TYPES.hidden}"
|
|
39
|
+
value="${this.selectedColors}"
|
|
40
|
+
></h-input-control>
|
|
39
41
|
`;
|
|
40
42
|
}
|
|
41
43
|
};
|
|
@@ -46,7 +48,7 @@ __decorate([
|
|
|
46
48
|
__decorate([
|
|
47
49
|
property({ type: String }),
|
|
48
50
|
__metadata("design:type", String)
|
|
49
|
-
], HColorSwatchesControl.prototype, "
|
|
51
|
+
], HColorSwatchesControl.prototype, "controlName", void 0);
|
|
50
52
|
__decorate([
|
|
51
53
|
property({ type: Boolean }),
|
|
52
54
|
__metadata("design:type", Boolean)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA,uBAAuB,0CAA8C;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|
|
1
|
+
{"version":3,"file":null,"sources":[null],"sourcesContent":[null],"names":[],"mappings":"AAAA,uCAAuC,+CAAmD;AAC1F;AACA;AACA;AACA;AACA;AACA,uBAAuB,0CAA8C;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;"}
|