domma-js 0.51.13 → 0.52.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,8 +1,8 @@
1
1
  /*!
2
- * Domma Minimal CSS Bundle v0.51.13
2
+ * Domma Minimal CSS Bundle v0.52.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-13T15:10:34.573Z
5
+ * Built: 2026-10-14T07:25:46.123Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.51.13
14
+ * Domma Core CSS v0.52.0
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-10-13T15:10:34.406Z
18
- * Commit: 85d3945
17
+ * Built: 2026-10-14T07:25:45.969Z
18
+ * Commit: 17bea57
19
19
  */
20
20
 
21
21
  /**
@@ -1620,7 +1620,7 @@ code, pre {
1620
1620
  width: var(--dm-fw-explosion-size);
1621
1621
  height: var(--dm-fw-explosion-size);
1622
1622
  transform: translateX(-50%);
1623
- opacity: 0;
1623
+ opacity: 1;
1624
1624
  animation-delay: 1s; /* Wait for launch */
1625
1625
  }
1626
1626
 
@@ -1728,7 +1728,7 @@ code, pre {
1728
1728
  0 20px 3px 1px var(--dm-fw-color-7),
1729
1729
  0 -20px 0 0 var(--dm-fw-color-8),
1730
1730
  0 -20px 3px 1px var(--dm-fw-color-8);
1731
- animation: dm-firework-sparkle var(--dm-fw-duration) ease-out forwards;
1731
+ animation: dm-fw-sparkle var(--dm-fw-duration) ease-out forwards;
1732
1732
  animation-delay: var(--dm-fw-delay);
1733
1733
  opacity: 0;
1734
1734
  }
@@ -1745,7 +1745,7 @@ code, pre {
1745
1745
  -15px 15px 4px 2px rgba(243, 156, 18, 0.5),
1746
1746
  15px 15px 0 0 var(--dm-fw-color-7),
1747
1747
  15px 15px 4px 2px rgba(253, 121, 168, 0.5);
1748
- animation: dm-firework-sparkle-alt var(--dm-fw-duration) ease-out forwards;
1748
+ animation: dm-fw-sparkle var(--dm-fw-duration) ease-out forwards;
1749
1749
  animation-delay: calc(var(--dm-fw-delay) + 0.2s);
1750
1750
  opacity: 0;
1751
1751
  }
@@ -1760,7 +1760,7 @@ code, pre {
1760
1760
  0 10px 2px 0 rgba(255, 235, 59, 0.6),
1761
1761
  0 15px 2px 0 rgba(255, 235, 59, 0.4),
1762
1762
  0 20px 2px 0 rgba(255, 235, 59, 0.2);
1763
- animation: dm-firework-launch var(--dm-fw-duration) ease-out forwards;
1763
+ animation: dm-fw-launch var(--dm-fw-duration) ease-out forwards;
1764
1764
  animation-delay: var(--dm-fw-delay);
1765
1765
  }
1766
1766
 
@@ -1869,13 +1869,18 @@ code, pre {
1869
1869
 
1870
1870
  /* Continuous animation */
1871
1871
  .firework-continuous::before,
1872
- .firework-continuous::after {
1872
+ .firework-continuous::after,
1873
+ .firework-continuous .firework-launch,
1874
+ .firework-continuous .firework-particles::before,
1875
+ .firework-continuous .firework-particles::after {
1873
1876
  animation-iteration-count: infinite;
1874
1877
  }
1875
1878
 
1876
1879
  /* Trigger on hover */
1877
1880
  .firework-on-hover {
1878
1881
  position: relative;
1882
+ pointer-events: auto;
1883
+ --dm-fw-size: var(--dm-fw-particle-size);
1879
1884
  }
1880
1885
 
1881
1886
  .firework-on-hover::before,
@@ -1909,7 +1914,7 @@ code, pre {
1909
1914
  -35px 35px 0 0 var(--dm-fw-color-7),
1910
1915
  -50px 0 0 0 var(--dm-fw-color-8),
1911
1916
  -35px -35px 0 0 var(--dm-fw-color-1);
1912
- animation: dm-firework-burst 1.5s ease-out forwards;
1917
+ animation: dm-fw-explode 1.5s ease-out forwards;
1913
1918
  }
1914
1919
 
1915
1920
  .firework-on-hover:hover::after {
@@ -1922,7 +1927,7 @@ code, pre {
1922
1927
  -40px 15px 0 0 var(--dm-fw-color-4),
1923
1928
  -40px -15px 0 0 var(--dm-fw-color-6),
1924
1929
  -15px -40px 0 0 var(--dm-fw-color-8);
1925
- animation: dm-firework-burst-secondary 1.5s ease-out forwards;
1930
+ animation: dm-fw-explode-secondary 1.5s ease-out forwards;
1926
1931
  }
1927
1932
 
1928
1933
  /* Keyframe Animations */
@@ -4955,11 +4960,11 @@ body.dm-cloaked.dm-ready {
4955
4960
  ============================================ */
4956
4961
 
4957
4962
  /*!
4958
- * Domma Grid CSS v0.51.13
4963
+ * Domma Grid CSS v0.52.0
4959
4964
  * Dynamic Object Manipulation & Modeling API
4960
4965
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4961
- * Built: 2026-10-13T15:10:34.410Z
4962
- * Commit: 85d3945
4966
+ * Built: 2026-10-14T07:25:45.973Z
4967
+ * Commit: 17bea57
4963
4968
  */
4964
4969
 
4965
4970
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Flags v0.51.13
2
+ * Domma Flags v0.52.0
3
3
  * Nation flags as inline SVG (opt-in module)
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-13T15:10:18.487Z
6
- * Commit: 85d3945
5
+ * Built: 2026-10-14T07:25:30.623Z
6
+ * Commit: 17bea57
7
7
  *
8
8
  * Requires: domma.min.js
9
9
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Flags v0.51.13
2
+ * Domma Flags v0.52.0
3
3
  * Nation flags as inline SVG (opt-in module)
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-13T15:10:18.487Z
6
- * Commit: 85d3945
5
+ * Built: 2026-10-14T07:25:30.623Z
6
+ * Commit: 17bea57
7
7
  *
8
8
  * Requires: domma.min.js
9
9
  */
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Syntax Highlighter v0.51.13
2
+ * Domma Syntax Highlighter v0.52.0
3
3
  * Lightweight code syntax highlighting for JavaScript, HTML, and CSS
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-13T15:10:18.483Z
6
- * Commit: 85d3945
5
+ * Built: 2026-10-14T07:25:30.619Z
6
+ * Commit: 17bea57
7
7
  */
8
8
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).DommaSyntax={})}(this,function(t){"use strict";const e={javascript:[{type:"comment",pattern:/\/\*[\s\S]*?\*\//g},{type:"comment",pattern:/\/\/.*/g},{type:"template-string",pattern:/`(?:\\.|[^`\\])*`/g},{type:"string",pattern:/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{type:"keyword",pattern:/\b(const|let|var|function|return|if|else|for|while|do|break|continue|switch|case|default|try|catch|finally|throw|async|await|class|extends|static|new|this|super|import|export|from|as|default|yield|typeof|instanceof|in|of|delete|void)\b/g},{type:"boolean",pattern:/\b(true|false|null|undefined|NaN|Infinity)\b/g},{type:"number",pattern:/\b\d+\.?\d*([eE][+-]?\d+)?\b/g},{type:"function",pattern:/\b([a-zA-Z_$][\w$]*)\s*(?=\()/g},{type:"class-name",pattern:/\b[A-Z][\w$]*\b/g},{type:"operator",pattern:/[+\-*/%=<>!&|^~?:]+|===|!==|==|!=|<=|>=|&&|\|\||<<|>>|>>>/g},{type:"punctuation",pattern:/[{}[\]();,.]/g}],html:[{type:"comment",pattern:/<!--[\s\S]*?-->/g},{type:"doctype",pattern:/<!DOCTYPE[^>]*>/gi},{type:"tag-open",pattern:/<\/?[a-zA-Z][\w-]*/g},{type:"tag-close",pattern:/\/?>/g},{type:"attr-name",pattern:/\s+[a-zA-Z:@][\w:.-]*(?=\s*=)/g},{type:"attr-value",pattern:/=\s*"[^"]*"|=\s*'[^']*'/g},{type:"entity",pattern:/&[#\w]+;/g}],css:[{type:"comment",pattern:/\/\*[\s\S]*?\*\//g},{type:"at-rule",pattern:/@[\w-]+/g},{type:"selector",pattern:/[.#]?[a-zA-Z][\w-]*(?=\s*[{,])/g},{type:"property",pattern:/\b[\w-]+(?=\s*:)/g},{type:"string",pattern:/"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'/g},{type:"function",pattern:/\b[\w-]+(?=\()/g},{type:"important",pattern:/!important\b/g},{type:"number",pattern:/\b\d+\.?\d*(px|em|rem|%|vh|vw|pt|cm|mm|in|pc|ex|ch|vmin|vmax|fr)?\b/g},{type:"color",pattern:/#[\da-fA-F]{3,8}\b/g},{type:"punctuation",pattern:/[{}:;,()]/g}]};function n(t){const e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};return t.replace(/[&<>"']/g,t=>e[t])}class a{constructor(){this.config={autoDetect:!0,preserveOriginal:!0,selector:".code-block",showLanguageBadge:!1,languagePrefix:"language-"}}highlight(t,a=null){const r="string"==typeof t?document.querySelector(t):t;if(!r||r.hasAttribute("data-syntax-highlighted"))return!1;if(!a&&this.config.autoDetect){const t=Array.from(r.classList).find(t=>t.startsWith(this.config.languagePrefix));t&&(a=t.substring(this.config.languagePrefix.length))}if(!a||!e[a])return!1;const o=r.textContent||"";this.config.preserveOriginal&&r.setAttribute("data-original-code",o);const i=function(t,a){const r=e[a];if(!r)return n(t);const o=[];for(const{type:e,pattern:n}of r){if("html"===a&&"entity"===e)continue;let r;for(n.lastIndex=0;null!==(r=n.exec(t));)o.push({start:r.index,end:r.index+r[0].length,text:r[0],type:e})}o.sort((t,e)=>t.start-e.start);const i=[];let s=0;for(const t of o)t.start>=s&&(i.push(t),s=t.end);let c="",p=0;for(const e of i)e.start>p&&(c+=n(t.substring(p,e.start))),c+=`<span class="syntax-${e.type}">${n(e.text)}</span>`,p=e.end;return p<t.length&&(c+=n(t.substring(p))),c}(o,a);return r.innerHTML=i,r.setAttribute("data-syntax-highlighted","true"),r.setAttribute("data-language",a),this.config.showLanguageBadge&&this.addLanguageBadge(r,a),!0}scan(t={}){const e=t.selector||this.config.selector,n=document.querySelectorAll(e);let a=0;return n.forEach(e=>{this.highlight(e,t.language||null)&&(this.addCopyButton(e),a++)}),a}register(t,n){t&&Array.isArray(n)?e[t]=n:console.error("SyntaxHighlighter: Invalid language registration")}configure(t){return t?(Object.assign(this.config,t),this.config):{...this.config}}addLanguageBadge(t,e){if(t.querySelector(".syntax-language-badge"))return;const n=document.createElement("div");n.className="syntax-language-badge",n.textContent=e.toUpperCase(),t.style.position="relative",t.insertBefore(n,t.firstChild)}getLanguages(){return Object.keys(e)}isLanguageSupported(t){return t in e}addCopyButton(t){if(t.parentElement&&t.parentElement.classList.contains("code-block-wrapper"))return;const e=document.createElement("div");e.className="code-block-wrapper";const n=document.createElement("button");n.className="code-block-copy",n.setAttribute("aria-label","Copy code to clipboard"),n.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>',n.addEventListener("click",async()=>{const e=t.getAttribute("data-original-code")||t.textContent;try{if(navigator.clipboard&&navigator.clipboard.writeText)await navigator.clipboard.writeText(e);else{const t=document.createElement("textarea");t.value=e,t.style.position="fixed",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}n.classList.add("copied"),n.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="20 6 9 17 4 12"></polyline></svg>',setTimeout(()=>{n.classList.remove("copied"),n.innerHTML='<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>'},2e3)}catch(t){console.error("Failed to copy code:",t)}}),t.parentNode.insertBefore(e,t),e.appendChild(t),e.appendChild(n)}}const r=new a;"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",()=>{r.scan()}):setTimeout(()=>r.scan(),0)),"undefined"!=typeof window&&(window.Domma&&(window.Domma.syntax=r),window.DommaSyntax=r),t.LANGUAGES=e,t.SyntaxHighlighter=a,t.default=r,t.syntax=r,Object.defineProperty(t,"__esModule",{value:!0})});
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Core CSS v0.51.13
2
+ * Domma Core CSS v0.52.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-13T15:10:34.406Z
6
- * Commit: 85d3945
5
+ * Built: 2026-10-14T07:25:45.969Z
6
+ * Commit: 17bea57
7
7
  */
8
8
 
9
9
  /**
@@ -1608,7 +1608,7 @@ code, pre {
1608
1608
  width: var(--dm-fw-explosion-size);
1609
1609
  height: var(--dm-fw-explosion-size);
1610
1610
  transform: translateX(-50%);
1611
- opacity: 0;
1611
+ opacity: 1;
1612
1612
  animation-delay: 1s; /* Wait for launch */
1613
1613
  }
1614
1614
 
@@ -1716,7 +1716,7 @@ code, pre {
1716
1716
  0 20px 3px 1px var(--dm-fw-color-7),
1717
1717
  0 -20px 0 0 var(--dm-fw-color-8),
1718
1718
  0 -20px 3px 1px var(--dm-fw-color-8);
1719
- animation: dm-firework-sparkle var(--dm-fw-duration) ease-out forwards;
1719
+ animation: dm-fw-sparkle var(--dm-fw-duration) ease-out forwards;
1720
1720
  animation-delay: var(--dm-fw-delay);
1721
1721
  opacity: 0;
1722
1722
  }
@@ -1733,7 +1733,7 @@ code, pre {
1733
1733
  -15px 15px 4px 2px rgba(243, 156, 18, 0.5),
1734
1734
  15px 15px 0 0 var(--dm-fw-color-7),
1735
1735
  15px 15px 4px 2px rgba(253, 121, 168, 0.5);
1736
- animation: dm-firework-sparkle-alt var(--dm-fw-duration) ease-out forwards;
1736
+ animation: dm-fw-sparkle var(--dm-fw-duration) ease-out forwards;
1737
1737
  animation-delay: calc(var(--dm-fw-delay) + 0.2s);
1738
1738
  opacity: 0;
1739
1739
  }
@@ -1748,7 +1748,7 @@ code, pre {
1748
1748
  0 10px 2px 0 rgba(255, 235, 59, 0.6),
1749
1749
  0 15px 2px 0 rgba(255, 235, 59, 0.4),
1750
1750
  0 20px 2px 0 rgba(255, 235, 59, 0.2);
1751
- animation: dm-firework-launch var(--dm-fw-duration) ease-out forwards;
1751
+ animation: dm-fw-launch var(--dm-fw-duration) ease-out forwards;
1752
1752
  animation-delay: var(--dm-fw-delay);
1753
1753
  }
1754
1754
 
@@ -1857,13 +1857,18 @@ code, pre {
1857
1857
 
1858
1858
  /* Continuous animation */
1859
1859
  .firework-continuous::before,
1860
- .firework-continuous::after {
1860
+ .firework-continuous::after,
1861
+ .firework-continuous .firework-launch,
1862
+ .firework-continuous .firework-particles::before,
1863
+ .firework-continuous .firework-particles::after {
1861
1864
  animation-iteration-count: infinite;
1862
1865
  }
1863
1866
 
1864
1867
  /* Trigger on hover */
1865
1868
  .firework-on-hover {
1866
1869
  position: relative;
1870
+ pointer-events: auto;
1871
+ --dm-fw-size: var(--dm-fw-particle-size);
1867
1872
  }
1868
1873
 
1869
1874
  .firework-on-hover::before,
@@ -1897,7 +1902,7 @@ code, pre {
1897
1902
  -35px 35px 0 0 var(--dm-fw-color-7),
1898
1903
  -50px 0 0 0 var(--dm-fw-color-8),
1899
1904
  -35px -35px 0 0 var(--dm-fw-color-1);
1900
- animation: dm-firework-burst 1.5s ease-out forwards;
1905
+ animation: dm-fw-explode 1.5s ease-out forwards;
1901
1906
  }
1902
1907
 
1903
1908
  .firework-on-hover:hover::after {
@@ -1910,7 +1915,7 @@ code, pre {
1910
1915
  -40px 15px 0 0 var(--dm-fw-color-4),
1911
1916
  -40px -15px 0 0 var(--dm-fw-color-6),
1912
1917
  -15px -40px 0 0 var(--dm-fw-color-8);
1913
- animation: dm-firework-burst-secondary 1.5s ease-out forwards;
1918
+ animation: dm-fw-explode-secondary 1.5s ease-out forwards;
1914
1919
  }
1915
1920
 
1916
1921
  /* Keyframe Animations */