mnfst 0.5.63 → 0.5.64
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/lib/manifest.colorpicker.js +3033 -0
- package/lib/manifest.dropdowns.js +1 -1
- package/lib/manifest.icons.js +1 -1
- package/lib/manifest.localization.js +1 -1
- package/lib/manifest.resize.js +1 -1
- package/lib/manifest.slides.js +1 -1
- package/lib/manifest.themes.js +1 -1
- package/lib/manifest.toasts.js +1 -1
- package/lib/manifest.tooltips.js +1 -1
- package/lib/manifest.url.parameters.js +7 -2
- package/package.json +2 -1
|
@@ -404,7 +404,7 @@ document.addEventListener('alpine:init', ensureDropdownPluginInitialized);
|
|
|
404
404
|
// If Alpine is already initialized when this script loads, initialize immediately
|
|
405
405
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
406
406
|
setTimeout(ensureDropdownPluginInitialized, 0);
|
|
407
|
-
} else
|
|
407
|
+
} else {
|
|
408
408
|
// If document is already loaded but Alpine isn't ready yet, wait for it
|
|
409
409
|
const checkAlpine = setInterval(() => {
|
|
410
410
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
package/lib/manifest.icons.js
CHANGED
|
@@ -154,7 +154,7 @@ document.addEventListener('alpine:init', ensureIconPluginInitialized);
|
|
|
154
154
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
155
155
|
// Small delay to ensure Alpine is fully initialized
|
|
156
156
|
setTimeout(ensureIconPluginInitialized, 0);
|
|
157
|
-
} else
|
|
157
|
+
} else {
|
|
158
158
|
// If document is already loaded but Alpine isn't ready yet, wait for it
|
|
159
159
|
const checkAlpine = setInterval(() => {
|
|
160
160
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
@@ -696,7 +696,7 @@ if (document.readyState === 'loading') {
|
|
|
696
696
|
// If Alpine is already initialized when this script loads, initialize immediately
|
|
697
697
|
if (window.Alpine && typeof window.Alpine.magic === 'function') {
|
|
698
698
|
setTimeout(ensureLocalizationPluginInitialized, 0);
|
|
699
|
-
} else
|
|
699
|
+
} else {
|
|
700
700
|
const checkAlpine = setInterval(() => {
|
|
701
701
|
if (window.Alpine && typeof window.Alpine.magic === 'function') {
|
|
702
702
|
clearInterval(checkAlpine);
|
package/lib/manifest.resize.js
CHANGED
|
@@ -431,7 +431,7 @@ document.addEventListener('alpine:init', ensureResizePluginInitialized);
|
|
|
431
431
|
// If Alpine is already initialized when this script loads, initialize immediately
|
|
432
432
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
433
433
|
setTimeout(ensureResizePluginInitialized, 0);
|
|
434
|
-
} else
|
|
434
|
+
} else {
|
|
435
435
|
const checkAlpine = setInterval(() => {
|
|
436
436
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
437
437
|
clearInterval(checkAlpine);
|
package/lib/manifest.slides.js
CHANGED
|
@@ -162,7 +162,7 @@ document.addEventListener('alpine:init', ensureSlidesPluginInitialized);
|
|
|
162
162
|
// If Alpine is already initialized when this script loads, initialize immediately
|
|
163
163
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
164
164
|
setTimeout(ensureSlidesPluginInitialized, 0);
|
|
165
|
-
} else
|
|
165
|
+
} else {
|
|
166
166
|
const checkAlpine = setInterval(() => {
|
|
167
167
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
168
168
|
clearInterval(checkAlpine);
|
package/lib/manifest.themes.js
CHANGED
|
@@ -97,7 +97,7 @@ document.addEventListener('alpine:init', ensureThemePluginInitialized);
|
|
|
97
97
|
// If Alpine is already initialized when this script loads, initialize immediately
|
|
98
98
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
99
99
|
setTimeout(ensureThemePluginInitialized, 0);
|
|
100
|
-
} else
|
|
100
|
+
} else {
|
|
101
101
|
// If document is already loaded but Alpine isn't ready yet, wait for it
|
|
102
102
|
const checkAlpine = setInterval(() => {
|
|
103
103
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
package/lib/manifest.toasts.js
CHANGED
|
@@ -273,7 +273,7 @@ document.addEventListener('alpine:init', ensureToastPluginInitialized);
|
|
|
273
273
|
// If Alpine is already initialized when this script loads, initialize immediately
|
|
274
274
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
275
275
|
setTimeout(ensureToastPluginInitialized, 0);
|
|
276
|
-
} else
|
|
276
|
+
} else {
|
|
277
277
|
// If document is already loaded but Alpine isn't ready yet, wait for it
|
|
278
278
|
const checkAlpine = setInterval(() => {
|
|
279
279
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
package/lib/manifest.tooltips.js
CHANGED
|
@@ -300,7 +300,7 @@ document.addEventListener('alpine:init', ensureTooltipPluginInitialized);
|
|
|
300
300
|
|
|
301
301
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
302
302
|
setTimeout(ensureTooltipPluginInitialized, 0);
|
|
303
|
-
} else
|
|
303
|
+
} else {
|
|
304
304
|
const checkAlpine = setInterval(() => {
|
|
305
305
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
306
306
|
clearInterval(checkAlpine);
|
|
@@ -217,10 +217,15 @@ if (document.readyState === 'loading') {
|
|
|
217
217
|
|
|
218
218
|
document.addEventListener('alpine:init', ensureUrlParametersPluginInitialized);
|
|
219
219
|
|
|
220
|
-
// If Alpine is already initialized when this script loads, initialize immediately
|
|
220
|
+
// If Alpine is already initialized when this script loads, initialize immediately.
|
|
221
|
+
// Otherwise ALWAYS poll until Alpine is available — the previous logic gated the
|
|
222
|
+
// polling on `document.readyState === 'complete'`, which produced a dead window
|
|
223
|
+
// when the loader injected this plugin script after DOMContentLoaded but before
|
|
224
|
+
// document complete: alpine:init had already fired, the readyState gate failed,
|
|
225
|
+
// and the plugin sat unregistered for the lifetime of the page.
|
|
221
226
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
222
227
|
setTimeout(ensureUrlParametersPluginInitialized, 0);
|
|
223
|
-
} else
|
|
228
|
+
} else {
|
|
224
229
|
const checkAlpine = setInterval(() => {
|
|
225
230
|
if (window.Alpine && typeof window.Alpine.directive === 'function') {
|
|
226
231
|
clearInterval(checkAlpine);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mnfst",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.64",
|
|
4
4
|
"private": false,
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"templates/starter",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"publish:starter": "cd packages/create-starter && npm publish --auth-type=web",
|
|
29
29
|
"publish:run": "cd packages/run && npm publish --auth-type=web",
|
|
30
30
|
"publish:render": "cd packages/render && npm publish --auth-type=web",
|
|
31
|
+
"publish:claude": "cd packages/create-claude && npm publish --auth-type=web",
|
|
31
32
|
"prepublishOnly": "npm run build",
|
|
32
33
|
"test": "vitest run",
|
|
33
34
|
"lint": "echo 'No linting configured'"
|