mnfst 0.5.189 → 0.5.190

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.
Files changed (55) hide show
  1. package/lib/manifest.accordion.css +2 -0
  2. package/lib/manifest.appwrite.auth.js +7 -1
  3. package/lib/manifest.appwrite.data.js +8 -1
  4. package/lib/manifest.avatar.css +2 -0
  5. package/lib/manifest.button.css +2 -0
  6. package/lib/manifest.chart.css +2 -0
  7. package/lib/manifest.chat.js +7 -0
  8. package/lib/manifest.checkbox.css +2 -0
  9. package/lib/manifest.code.css +2 -0
  10. package/lib/manifest.code.js +6 -0
  11. package/lib/manifest.code.min.css +1 -1
  12. package/lib/manifest.colorpicker.css +2 -0
  13. package/lib/manifest.colorpicker.js +3 -0
  14. package/lib/manifest.combobox.css +2 -0
  15. package/lib/manifest.components.js +7 -1
  16. package/lib/manifest.css +56 -0
  17. package/lib/manifest.data.js +24 -17
  18. package/lib/manifest.datepicker.css +2 -0
  19. package/lib/manifest.dialog.css +2 -0
  20. package/lib/manifest.divider.css +2 -0
  21. package/lib/manifest.dropdown.css +2 -0
  22. package/lib/manifest.dropdowns.js +6 -1
  23. package/lib/manifest.export.js +6 -0
  24. package/lib/manifest.form.css +2 -0
  25. package/lib/manifest.input.css +2 -0
  26. package/lib/manifest.integrity.json +24 -24
  27. package/lib/manifest.js +39 -0
  28. package/lib/manifest.localization.js +6 -1
  29. package/lib/manifest.markdown.js +24 -1
  30. package/lib/manifest.min.css +1 -1
  31. package/lib/manifest.native.js +7 -0
  32. package/lib/manifest.payments.js +7 -0
  33. package/lib/manifest.radio.css +2 -0
  34. package/lib/manifest.range.css +2 -0
  35. package/lib/manifest.resize.css +2 -0
  36. package/lib/manifest.resize.js +6 -1
  37. package/lib/manifest.router.js +7 -0
  38. package/lib/manifest.sidebar.css +2 -0
  39. package/lib/manifest.slides.css +2 -0
  40. package/lib/manifest.status.js +7 -0
  41. package/lib/manifest.svg.js +6 -0
  42. package/lib/manifest.switch.css +2 -0
  43. package/lib/manifest.table.css +2 -0
  44. package/lib/manifest.tabs.js +6 -1
  45. package/lib/manifest.theme.css +3 -1
  46. package/lib/manifest.toast.css +2 -0
  47. package/lib/manifest.toasts.js +6 -1
  48. package/lib/manifest.tooltip.css +2 -0
  49. package/lib/manifest.tooltips.js +6 -0
  50. package/lib/manifest.typography.css +2 -0
  51. package/lib/manifest.url.parameters.js +6 -0
  52. package/lib/manifest.utilities.css +2 -0
  53. package/lib/manifest.utilities.js +20 -1
  54. package/lib/manifest.virtual.js +6 -0
  55. package/package.json +1 -1
@@ -1,5 +1,8 @@
1
1
  /* Manifest Resizer */
2
2
 
3
+ (function () {
4
+
5
+
3
6
  function initializeResizablePlugin() {
4
7
  // Cache for unit conversions to avoid repeated DOM manipulation
5
8
  const unitCache = new Map();
@@ -480,4 +483,6 @@ if (window.Alpine && typeof window.Alpine.directive === 'function') {
480
483
  }
481
484
  }, 10);
482
485
  setTimeout(() => clearInterval(checkAlpine), 5000);
483
- }
486
+ }
487
+
488
+ })();
@@ -1,3 +1,7 @@
1
+ /* manifest.router.js — built from scripts/router/ */
2
+
3
+ (function () {
4
+
1
5
  /* Manifest Router */
2
6
 
3
7
  // Main routing initialization
@@ -1565,3 +1569,6 @@ if (typeof Alpine !== 'undefined' && window.ManifestRoutingNavigation && window.
1565
1569
  window.ManifestRoutingMagic = {
1566
1570
  initialize: initializeRouterMagic
1567
1571
  };
1572
+
1573
+
1574
+ })();
@@ -1,5 +1,7 @@
1
1
  /* Manifest Sidebars */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  [popover]:not(.unstyle):not(:popover-open) {
4
6
  display: none;
5
7
  }
@@ -1,5 +1,7 @@
1
1
  /* Manifest Slides */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  @layer components {
4
6
 
5
7
  [x-carousel] {
@@ -1,3 +1,7 @@
1
+ /* manifest.status.js — built from scripts/status/ */
2
+
3
+ (function () {
4
+
1
5
  /* Manifest Status — config
2
6
  /* By Andrew Matlock under MIT license
3
7
  /* https://manifestx.dev
@@ -642,3 +646,6 @@
642
646
  setTimeout(() => clearInterval(checkAlpine), 5000);
643
647
  }
644
648
  })();
649
+
650
+
651
+ })();
@@ -1,5 +1,8 @@
1
1
  /* Manifest SVG */
2
2
 
3
+ (function () {
4
+
5
+
3
6
  const svgCache = new Map();
4
7
 
5
8
  // Shared DOMPurify loader for the .safe modifier (user-supplied SVG can carry
@@ -292,3 +295,6 @@ document.addEventListener('alpine:init', ensureSvgPluginInitialized);
292
295
  if (window.Alpine && typeof window.Alpine.directive === 'function') {
293
296
  ensureSvgPluginInitialized();
294
297
  }
298
+
299
+
300
+ })();
@@ -1,5 +1,7 @@
1
1
  /* Manifest Switches */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  @layer components {
4
6
 
5
7
  :where(input[role=switch]):not(.unstyle) {
@@ -1,5 +1,7 @@
1
1
  /* Manifest Tables */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  @layer components {
4
6
 
5
7
  :where(.grid-table):not(.unstyle) {
@@ -1,5 +1,8 @@
1
1
  /* Manifest Tabs */
2
2
 
3
+ (function () {
4
+
5
+
3
6
  // Simple tabs plugin that acts as a proxy for Alpine's native functionality
4
7
  function initializeTabsPlugin() {
5
8
  // Process all tab elements
@@ -364,4 +367,6 @@ function ensureTabsPluginInitialized() {
364
367
  window.ensureTabsPluginInitialized = ensureTabsPluginInitialized;
365
368
 
366
369
  // Initialize immediately (tabs doesn't require Alpine)
367
- ensureTabsPluginInitialized();
370
+ ensureTabsPluginInitialized();
371
+
372
+ })();
@@ -4,6 +4,8 @@
4
4
  /* Modify values to customize your project theme
5
5
  */
6
6
 
7
+ @layer base, components, utilities;
8
+
7
9
  :root,
8
10
  ::selection {
9
11
 
@@ -38,7 +40,7 @@
38
40
  --color-negative-content: var(--color-red-600);
39
41
 
40
42
  /* Fonts */
41
- --font-sans: Manrope, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
43
+ --font-sans: Inter, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
42
44
 
43
45
  /* Sizes */
44
46
  --radius: 0.5rem;
@@ -1,5 +1,7 @@
1
1
  /* ManifestToasts */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  @layer utilities {
4
6
 
5
7
  :where(.toast-container) {
@@ -1,5 +1,8 @@
1
1
  /* Manifest Toasts */
2
2
 
3
+ (function () {
4
+
5
+
3
6
  const TOAST_DURATION = 3000; // Default duration in ms
4
7
 
5
8
  function initializeToastPlugin() {
@@ -289,4 +292,6 @@ if (window.Alpine && typeof window.Alpine.directive === 'function') {
289
292
  }
290
293
  }, 10);
291
294
  setTimeout(() => clearInterval(checkAlpine), 5000);
292
- }
295
+ }
296
+
297
+ })();
@@ -1,5 +1,7 @@
1
1
  /* Manifest Tooltips */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  [popover]:not(.unstyle):not(:popover-open) {
4
6
  display: none;
5
7
  }
@@ -1,5 +1,8 @@
1
1
  /* Manifest Tooltips */
2
2
 
3
+ (function () {
4
+
5
+
3
6
  // Hover delay from CSS var (with time-unit parsing). Defaults to 500ms.
4
7
  function getTooltipHoverDelay(element) {
5
8
  let computedStyle = getComputedStyle(element);
@@ -361,3 +364,6 @@ if (window.Alpine && typeof window.Alpine.directive === 'function') {
361
364
  }, 50);
362
365
  setTimeout(() => clearInterval(checkAlpine), 5000);
363
366
  }
367
+
368
+
369
+ })();
@@ -1,5 +1,7 @@
1
1
  /* Manifest Typography */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  @layer base {
4
6
 
5
7
  /* All text elements */
@@ -1,5 +1,8 @@
1
1
  /* Manifest URL Parameters */
2
2
 
3
+ (function () {
4
+
5
+
3
6
  function initializeUrlParametersPlugin() {
4
7
  const DEBOUNCE_DELAY = 300;
5
8
 
@@ -191,3 +194,6 @@ if (window.Alpine && typeof window.Alpine.directive === 'function') {
191
194
  }, 10);
192
195
  setTimeout(() => clearInterval(checkAlpine), 5000);
193
196
  }
197
+
198
+
199
+ })();
@@ -1,5 +1,7 @@
1
1
  /* Manifest Utilities */
2
2
 
3
+ @layer base, components, utilities;
4
+
3
5
  @layer utilities {
4
6
 
5
7
  /* Center in flex parent */
@@ -1,3 +1,7 @@
1
+ /* manifest.utilities.js — built from scripts/utilities/ */
2
+
3
+ (function () {
4
+
1
5
  // Utility generators
2
6
  // Functions that generate CSS utilities from CSS variable suffixes
3
7
 
@@ -3132,7 +3136,14 @@ TailwindCompiler.prototype.filterCriticalUtilities = function(criticalText, laye
3132
3136
 
3133
3137
  // Main compilation method
3134
3138
  TailwindCompiler.prototype.compile = async function () {
3135
- if (this.usesStaticPrerenderUtilities) return;
3139
+ if (this.usesStaticPrerenderUtilities) {
3140
+ // Static utilities shipped with the page — nothing to compile.
3141
+ if (!window.__manifestUtilitiesReady) {
3142
+ window.__manifestUtilitiesReady = true;
3143
+ window.dispatchEvent(new CustomEvent('manifest:utilities-ready'));
3144
+ }
3145
+ return;
3146
+ }
3136
3147
 
3137
3148
  const compileStart = performance.now();
3138
3149
 
@@ -3312,6 +3323,11 @@ TailwindCompiler.prototype.compile = async function () {
3312
3323
  console.error('[Manifest Utilities] Error compiling Tailwind CSS:', error);
3313
3324
  } finally {
3314
3325
  this.isCompiling = false;
3326
+ // First-compile settle signal for the manifest:ready coordinator.
3327
+ if (!window.__manifestUtilitiesReady) {
3328
+ window.__manifestUtilitiesReady = true;
3329
+ window.dispatchEvent(new CustomEvent('manifest:utilities-ready'));
3330
+ }
3315
3331
  }
3316
3332
  };
3317
3333
 
@@ -3637,3 +3653,6 @@ document.addEventListener('DOMContentLoaded', () => {
3637
3653
  }
3638
3654
  });
3639
3655
 
3656
+
3657
+
3658
+ })();
@@ -8,6 +8,9 @@
8
8
  * Column widths must be content-independent or columns shift as the window changes.
9
9
  */
10
10
 
11
+
12
+ (function () {
13
+
11
14
  function initializeVirtualPlugin() {
12
15
 
13
16
  Alpine.directive('virtual', (el, { expression }, { evaluate, evaluateLater, effect, cleanup }) => {
@@ -523,3 +526,6 @@ if (window.Alpine && typeof window.Alpine.directive === 'function') {
523
526
  }, 10);
524
527
  setTimeout(() => clearInterval(checkAlpine), 5000);
525
528
  }
529
+
530
+
531
+ })();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mnfst",
3
- "version": "0.5.189",
3
+ "version": "0.5.190",
4
4
  "private": false,
5
5
  "workspaces": [
6
6
  "templates/starter",