@capgo/capacitor-sheets 8.0.3 → 8.0.4
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/angular/index.js +4 -2
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/index.mjs +4 -2
- package/dist/angular/index.mjs.map +1 -1
- package/dist/{chunk-3DAF3OD7.mjs → chunk-EYNTXD52.mjs} +5 -3
- package/dist/chunk-EYNTXD52.mjs.map +1 -0
- package/dist/{components-5BW6JNKT.mjs → components-BH36ITEV.mjs} +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/react/index.js +4 -2
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +4 -2
- package/dist/react/index.mjs.map +1 -1
- package/dist/solid/index.d.mts +60 -0
- package/dist/solid/index.d.ts +60 -0
- package/dist/solid/index.js +4 -2
- package/dist/solid/index.js.map +1 -1
- package/dist/solid/index.mjs +4 -2
- package/dist/solid/index.mjs.map +1 -1
- package/dist/svelte/index.js +4 -2
- package/dist/svelte/index.js.map +1 -1
- package/dist/svelte/index.mjs +4 -2
- package/dist/svelte/index.mjs.map +1 -1
- package/dist/vue/index.js +4 -2
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/index.mjs +4 -2
- package/dist/vue/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-3DAF3OD7.mjs.map +0 -1
- /package/dist/{components-5BW6JNKT.mjs.map → components-BH36ITEV.mjs.map} +0 -0
package/dist/solid/index.mjs
CHANGED
|
@@ -742,13 +742,15 @@ var SheetController = class {
|
|
|
742
742
|
this.root = root;
|
|
743
743
|
this.options = readOptionsFromElement(root);
|
|
744
744
|
this.id = this.options.componentId || root.id || createId("cap-sheet");
|
|
745
|
-
if (!root.id) root.id = this.id;
|
|
746
745
|
}
|
|
747
746
|
/** Connect the controller to the DOM and initialize current state. */
|
|
748
747
|
connect() {
|
|
749
748
|
if (this.connected) return;
|
|
750
749
|
this.connected = true;
|
|
751
|
-
|
|
750
|
+
const elementOptions = readOptionsFromElement(this.root);
|
|
751
|
+
this.id = elementOptions.componentId || this.root.id || this.id;
|
|
752
|
+
if (!this.root.id) this.root.id = this.id;
|
|
753
|
+
this.configure(elementOptions);
|
|
752
754
|
const nextPresented = this.options.presented ?? this.options.defaultPresented ?? false;
|
|
753
755
|
this.activeDetent = this.resolveInitialDetent();
|
|
754
756
|
this.presented = nextPresented;
|