@haiilo/catalyst 10.0.5 → 10.0.6
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-6a42779c.entry.js → p-522ed1e0.entry.js} +2 -2
- package/dist/catalyst/p-522ed1e0.entry.js.map +1 -0
- package/dist/cjs/cat-alert_26.cjs.entry.js +5 -2
- package/dist/cjs/cat-alert_26.cjs.entry.js.map +1 -1
- package/dist/collection/components/cat-datepicker/cat-datepicker.js +5 -2
- package/dist/collection/components/cat-datepicker/cat-datepicker.js.map +1 -1
- package/dist/components/cat-datepicker.js +5 -2
- package/dist/components/cat-datepicker.js.map +1 -1
- package/dist/esm/cat-alert_26.entry.js +5 -2
- package/dist/esm/cat-alert_26.entry.js.map +1 -1
- package/package.json +2 -2
- package/dist/catalyst/p-6a42779c.entry.js.map +0 -1
|
@@ -4201,7 +4201,10 @@ const CatDatepickerFlat = class {
|
|
|
4201
4201
|
// has been updated.
|
|
4202
4202
|
this.pickr?.destroy();
|
|
4203
4203
|
this.pickr = undefined;
|
|
4204
|
-
setTimeout(() =>
|
|
4204
|
+
setTimeout(() => {
|
|
4205
|
+
this.input ? (this.input.disabled = this.disabled) : null;
|
|
4206
|
+
this.pickr = this.initDatepicker(this.input);
|
|
4207
|
+
});
|
|
4205
4208
|
}
|
|
4206
4209
|
componentDidLoad() {
|
|
4207
4210
|
this.pickr = this.initDatepicker(this.input);
|
|
@@ -4249,7 +4252,7 @@ const CatDatepickerFlat = class {
|
|
|
4249
4252
|
} }, this.hasSlottedLabel && (index.h("span", { slot: "label" }, index.h("slot", { name: "label" }))), this.hasSlottedHint && (index.h("span", { slot: "hint" }, index.h("slot", { name: "hint" })))));
|
|
4250
4253
|
}
|
|
4251
4254
|
initDatepicker(input) {
|
|
4252
|
-
if (
|
|
4255
|
+
if (!input) {
|
|
4253
4256
|
return;
|
|
4254
4257
|
}
|
|
4255
4258
|
// avoid dropdown closing if datepicker is part of a dropdown
|