domma-js 0.35.0 → 0.37.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.
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Elements CSS v0.35.0
2
+ * Domma Elements CSS v0.37.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-05T13:39:06.652Z
6
- * Commit: 2870cac
5
+ * Built: 2026-08-06T07:46:40.130Z
6
+ * Commit: 8439779
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Grid CSS v0.35.0
2
+ * Domma Grid CSS v0.37.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-05T13:39:06.646Z
6
- * Commit: 2870cac
5
+ * Built: 2026-08-06T07:46:40.124Z
6
+ * Commit: 8439779
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Syntax Highlighting CSS v0.35.0
2
+ * Domma Syntax Highlighting CSS v0.37.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-05T13:39:06.660Z
6
- * Commit: 2870cac
5
+ * Built: 2026-08-06T07:46:40.134Z
6
+ * Commit: 8439779
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Themes v0.35.0
2
+ * Domma Themes v0.37.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-08-05T13:39:06.625Z
6
- * Commit: 2870cac
5
+ * Built: 2026-08-06T07:46:40.102Z
6
+ * Commit: 8439779
7
7
  */
8
8
 
9
9
  /**
@@ -24,7 +24,7 @@ Quick reference for Domma conventions - enforces best practices across sessions.
24
24
  11. **Modals**: `E.modal(selector, options)` — NOT custom modal code
25
25
  12. **Templates**: `templateUrl: 'path.html'` — NOT large inline strings
26
26
  13. **Tabs**: `E.tabs()`, `E.accordion()` — NOT custom switching code
27
- 14. **Init**: Call `Domma.init()` and `I.scan()` after DOM ready
27
+ 14. **Init**: Call `I.scan()` after DOM ready — Domma starts itself when the bundle loads; there is no `Domma.init()`
28
28
  15. **Events**: `.on()`, `.off()`, `.one()` — NOT `.addEventListener()`
29
29
 
30
30
  ## Aliases Quick Reference
@@ -77,8 +77,10 @@ Always load CSS in this order:
77
77
  <script src="dist/domma.min.js"></script>
78
78
  <script src="https://cdn.jsdelivr.net/npm/dompurify@3/dist/purify.min.js"></script> <!-- For dynamic content -->
79
79
  <script>
80
- // Initialize Domma BEFORE loading app scripts
81
- Domma.init();
80
+ // Domma starts itself the moment the bundle loads — it registers its web
81
+ // components, manages the anti-FOUC cloak and defines the aliases. The only
82
+ // startup call a page needs is the icon scan, and it must run BEFORE the app
83
+ // scripts so `data-icon` elements in the initial markup are resolved.
82
84
  Domma.icons.scan();
83
85
  </script>
84
86
  <script type="module" src="js/app.js"></script>