@haiilo/catalyst 0.8.3 → 0.9.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/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/{p-74fbe829.entry.js → p-0c1a611f.entry.js} +2 -2
- package/dist/catalyst/p-0c1a611f.entry.js.map +1 -0
- package/dist/cjs/cat-alert_20.cjs.entry.js +6 -1
- package/dist/cjs/cat-alert_20.cjs.entry.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.js +7 -0
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/components/cat-select.js +6 -1
- package/dist/components/cat-select.js.map +1 -1
- package/dist/esm/cat-alert_20.entry.js +6 -1
- package/dist/esm/cat-alert_20.entry.js.map +1 -1
- package/dist/types/components/cat-select/cat-select.d.ts +1 -0
- package/package.json +3 -3
- package/dist/catalyst/p-74fbe829.entry.js.map +0 -1
|
@@ -12010,6 +12010,10 @@ const CatSelect = class {
|
|
|
12010
12010
|
return;
|
|
12011
12011
|
this.setChoices(choices, 'value', 'label', true);
|
|
12012
12012
|
}
|
|
12013
|
+
setValueHandles(value) {
|
|
12014
|
+
var _a;
|
|
12015
|
+
(_a = this.choice) === null || _a === void 0 ? void 0 : _a.setValue(value || []);
|
|
12016
|
+
}
|
|
12013
12017
|
componentWillRender() {
|
|
12014
12018
|
this.hasSlottedLabel = !!this.hostElement.querySelector('[slot="label"]');
|
|
12015
12019
|
if (!this.label && !this.hasSlottedLabel) {
|
|
@@ -12223,7 +12227,8 @@ const CatSelect = class {
|
|
|
12223
12227
|
}
|
|
12224
12228
|
get hostElement() { return getElement(this); }
|
|
12225
12229
|
static get watchers() { return {
|
|
12226
|
-
"choices": ["setChoicesHandler"]
|
|
12230
|
+
"choices": ["setChoicesHandler"],
|
|
12231
|
+
"value": ["setValueHandles"]
|
|
12227
12232
|
}; }
|
|
12228
12233
|
};
|
|
12229
12234
|
CatSelect.style = catSelectCss;
|