@haiilo/catalyst 0.8.6 → 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 +2 -2
- package/dist/catalyst/p-74fbe829.entry.js.map +0 -1
|
@@ -12014,6 +12014,10 @@ const CatSelect = class {
|
|
|
12014
12014
|
return;
|
|
12015
12015
|
this.setChoices(choices, 'value', 'label', true);
|
|
12016
12016
|
}
|
|
12017
|
+
setValueHandles(value) {
|
|
12018
|
+
var _a;
|
|
12019
|
+
(_a = this.choice) === null || _a === void 0 ? void 0 : _a.setValue(value || []);
|
|
12020
|
+
}
|
|
12017
12021
|
componentWillRender() {
|
|
12018
12022
|
this.hasSlottedLabel = !!this.hostElement.querySelector('[slot="label"]');
|
|
12019
12023
|
if (!this.label && !this.hasSlottedLabel) {
|
|
@@ -12227,7 +12231,8 @@ const CatSelect = class {
|
|
|
12227
12231
|
}
|
|
12228
12232
|
get hostElement() { return index.getElement(this); }
|
|
12229
12233
|
static get watchers() { return {
|
|
12230
|
-
"choices": ["setChoicesHandler"]
|
|
12234
|
+
"choices": ["setChoicesHandler"],
|
|
12235
|
+
"value": ["setValueHandles"]
|
|
12231
12236
|
}; }
|
|
12232
12237
|
};
|
|
12233
12238
|
CatSelect.style = catSelectCss;
|