domma-js 0.60.0 → 1.0.1

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/README.md CHANGED
@@ -199,7 +199,7 @@ For quick prototyping without npm:
199
199
  <script src="https://cdn.jsdelivr.net/npm/domma-js@latest/public/dist/domma.min.js"></script>
200
200
  ```
201
201
 
202
- > **Tip:** Replace `@latest` with a specific version (e.g., `@0.43.0`) for production to ensure stability.
202
+ > **Tip:** Replace `@latest` with a specific version (e.g., `@1.0.0`) for production to ensure stability.
203
203
 
204
204
  ## Live Demo
205
205
 
@@ -838,7 +838,7 @@ const confirmed = await E.confirm('Delete this item?');
838
838
  if (confirmed) deleteItem();
839
839
  ```
840
840
 
841
- > `timeline()` still works but is deprecated - use `progression({ mode: 'timeline' })`.
841
+ > `timeline()` was removed in 0.58 - use `progression({ mode: 'timeline' })`.
842
842
 
843
843
  ### Effects (`Domma.effects`)
844
844
 
@@ -555,7 +555,7 @@ declare class ContextMenu extends Component {
555
555
  _outsideHandler: (e: any) => void;
556
556
  _contextHandler: (e: any) => void;
557
557
  _keyHandler: (e: any) => void;
558
- _scrollHandler: () => this;
558
+ _scrollHandler: (event: any) => void;
559
559
  _resizeHandler: () => this;
560
560
  _unbindOpenListeners(): void;
561
561
  _focusableItems(): any[];
@@ -35,7 +35,7 @@ export type DommaLoadOptions = {
35
35
  */
36
36
  purifyWarning?: boolean;
37
37
  /**
38
- * false: no deprecation warnings
38
+ * false: no deprecation warnings (none are pending in 1.0)
39
39
  */
40
40
  deprecationWarnings?: boolean;
41
41
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-js",
3
- "version": "0.60.0",
3
+ "version": "1.0.1",
4
4
  "description": "Dynamic Object Manipulation & Modeling API - A complete front-end toolkit.",
5
5
  "main": "public/dist/domma.min.js",
6
6
  "module": "public/dist/domma.esm.js",
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Complete CSS Bundle v0.60.0
2
+ * Domma Complete CSS Bundle v1.0.1
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:37.364Z
5
+ * Built: 2026-10-27T10:48:07.301Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.60.0
14
+ * Domma Core CSS v1.0.1
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-10-25T21:21:37.193Z
18
- * Commit: 8d8be57
17
+ * Built: 2026-10-27T10:48:07.167Z
18
+ * Commit: 721b19e
19
19
  */
20
20
 
21
21
  /**
@@ -4971,11 +4971,11 @@ body.dm-cloaked.dm-ready {
4971
4971
  ============================================ */
4972
4972
 
4973
4973
  /*!
4974
- * Domma Grid CSS v0.60.0
4974
+ * Domma Grid CSS v1.0.1
4975
4975
  * Dynamic Object Manipulation & Modeling API
4976
4976
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4977
- * Built: 2026-10-25T21:21:37.197Z
4978
- * Commit: 8d8be57
4977
+ * Built: 2026-10-27T10:48:07.170Z
4978
+ * Commit: 721b19e
4979
4979
  */
4980
4980
 
4981
4981
  /**
@@ -5596,11 +5596,11 @@ body.dm-cloaked.dm-ready {
5596
5596
  ============================================ */
5597
5597
 
5598
5598
  /*!
5599
- * Domma Elements CSS v0.60.0
5599
+ * Domma Elements CSS v1.0.1
5600
5600
  * Dynamic Object Manipulation & Modeling API
5601
5601
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5602
- * Built: 2026-10-25T21:21:37.202Z
5603
- * Commit: 8d8be57
5602
+ * Built: 2026-10-27T10:48:07.174Z
5603
+ * Commit: 721b19e
5604
5604
  */
5605
5605
 
5606
5606
  /**
@@ -14351,6 +14351,9 @@ domma-back-to-top {
14351
14351
  gap: 1px;
14352
14352
  padding: 4px;
14353
14353
  overflow-y: auto;
14354
+ overscroll-behavior: contain;
14355
+ max-height: calc(100dvh - 16px);
14356
+ box-sizing: border-box;
14354
14357
  background: var(--dm-ctx-surface, var(--dm-surface));
14355
14358
  color: var(--dm-text);
14356
14359
  border: 1px solid var(--dm-ctx-accent, var(--dm-border));
@@ -16613,11 +16616,11 @@ a.avatar-more-person:hover .avatar-more-name {
16613
16616
  ============================================ */
16614
16617
 
16615
16618
  /*!
16616
- * Domma Themes v0.60.0
16619
+ * Domma Themes v1.0.1
16617
16620
  * Dynamic Object Manipulation & Modeling API
16618
16621
  * (c) 2026 Darryl Waterhouse & DCBW-IT
16619
- * Built: 2026-10-25T21:21:37.177Z
16620
- * Commit: 8d8be57
16622
+ * Built: 2026-10-27T10:48:07.153Z
16623
+ * Commit: 721b19e
16621
16624
  */
16622
16625
 
16623
16626
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Data-Focused CSS Bundle v0.60.0
2
+ * Domma Data-Focused CSS Bundle v1.0.1
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:37.360Z
5
+ * Built: 2026-10-27T10:48:07.298Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.60.0
14
+ * Domma Core CSS v1.0.1
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-10-25T21:21:37.193Z
18
- * Commit: 8d8be57
17
+ * Built: 2026-10-27T10:48:07.167Z
18
+ * Commit: 721b19e
19
19
  */
20
20
 
21
21
  /**
@@ -4971,11 +4971,11 @@ body.dm-cloaked.dm-ready {
4971
4971
  ============================================ */
4972
4972
 
4973
4973
  /*!
4974
- * Domma Grid CSS v0.60.0
4974
+ * Domma Grid CSS v1.0.1
4975
4975
  * Dynamic Object Manipulation & Modeling API
4976
4976
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4977
- * Built: 2026-10-25T21:21:37.197Z
4978
- * Commit: 8d8be57
4977
+ * Built: 2026-10-27T10:48:07.170Z
4978
+ * Commit: 721b19e
4979
4979
  */
4980
4980
 
4981
4981
  /**
@@ -5596,11 +5596,11 @@ body.dm-cloaked.dm-ready {
5596
5596
  ============================================ */
5597
5597
 
5598
5598
  /*!
5599
- * Domma Elements CSS v0.60.0
5599
+ * Domma Elements CSS v1.0.1
5600
5600
  * Dynamic Object Manipulation & Modeling API
5601
5601
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5602
- * Built: 2026-10-25T21:21:37.202Z
5603
- * Commit: 8d8be57
5602
+ * Built: 2026-10-27T10:48:07.174Z
5603
+ * Commit: 721b19e
5604
5604
  */
5605
5605
 
5606
5606
  /**
@@ -14351,6 +14351,9 @@ domma-back-to-top {
14351
14351
  gap: 1px;
14352
14352
  padding: 4px;
14353
14353
  overflow-y: auto;
14354
+ overscroll-behavior: contain;
14355
+ max-height: calc(100dvh - 16px);
14356
+ box-sizing: border-box;
14354
14357
  background: var(--dm-ctx-surface, var(--dm-surface));
14355
14358
  color: var(--dm-text);
14356
14359
  border: 1px solid var(--dm-ctx-accent, var(--dm-border));
@@ -16613,11 +16616,11 @@ a.avatar-more-person:hover .avatar-more-name {
16613
16616
  ============================================ */
16614
16617
 
16615
16618
  /*!
16616
- * Domma Themes v0.60.0
16619
+ * Domma Themes v1.0.1
16617
16620
  * Dynamic Object Manipulation & Modeling API
16618
16621
  * (c) 2026 Darryl Waterhouse & DCBW-IT
16619
- * Built: 2026-10-25T21:21:37.177Z
16620
- * Commit: 8d8be57
16622
+ * Built: 2026-10-27T10:48:07.153Z
16623
+ * Commit: 721b19e
16621
16624
  */
16622
16625
 
16623
16626
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Essentials CSS Bundle v0.60.0
2
+ * Domma Essentials CSS Bundle v1.0.1
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:37.351Z
5
+ * Built: 2026-10-27T10:48:07.289Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.60.0
14
+ * Domma Core CSS v1.0.1
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-10-25T21:21:37.193Z
18
- * Commit: 8d8be57
17
+ * Built: 2026-10-27T10:48:07.167Z
18
+ * Commit: 721b19e
19
19
  */
20
20
 
21
21
  /**
@@ -4971,11 +4971,11 @@ body.dm-cloaked.dm-ready {
4971
4971
  ============================================ */
4972
4972
 
4973
4973
  /*!
4974
- * Domma Grid CSS v0.60.0
4974
+ * Domma Grid CSS v1.0.1
4975
4975
  * Dynamic Object Manipulation & Modeling API
4976
4976
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4977
- * Built: 2026-10-25T21:21:37.197Z
4978
- * Commit: 8d8be57
4977
+ * Built: 2026-10-27T10:48:07.170Z
4978
+ * Commit: 721b19e
4979
4979
  */
4980
4980
 
4981
4981
  /**
@@ -5596,11 +5596,11 @@ body.dm-cloaked.dm-ready {
5596
5596
  ============================================ */
5597
5597
 
5598
5598
  /*!
5599
- * Domma Elements CSS v0.60.0
5599
+ * Domma Elements CSS v1.0.1
5600
5600
  * Dynamic Object Manipulation & Modeling API
5601
5601
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5602
- * Built: 2026-10-25T21:21:37.202Z
5603
- * Commit: 8d8be57
5602
+ * Built: 2026-10-27T10:48:07.174Z
5603
+ * Commit: 721b19e
5604
5604
  */
5605
5605
 
5606
5606
  /**
@@ -14351,6 +14351,9 @@ domma-back-to-top {
14351
14351
  gap: 1px;
14352
14352
  padding: 4px;
14353
14353
  overflow-y: auto;
14354
+ overscroll-behavior: contain;
14355
+ max-height: calc(100dvh - 16px);
14356
+ box-sizing: border-box;
14354
14357
  background: var(--dm-ctx-surface, var(--dm-surface));
14355
14358
  color: var(--dm-text);
14356
14359
  border: 1px solid var(--dm-ctx-accent, var(--dm-border));
@@ -16613,11 +16616,11 @@ a.avatar-more-person:hover .avatar-more-name {
16613
16616
  ============================================ */
16614
16617
 
16615
16618
  /*!
16616
- * Domma Themes v0.60.0
16619
+ * Domma Themes v1.0.1
16617
16620
  * Dynamic Object Manipulation & Modeling API
16618
16621
  * (c) 2026 Darryl Waterhouse & DCBW-IT
16619
- * Built: 2026-10-25T21:21:37.177Z
16620
- * Commit: 8d8be57
16622
+ * Built: 2026-10-27T10:48:07.153Z
16623
+ * Commit: 721b19e
16621
16624
  */
16622
16625
 
16623
16626
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Full CSS Bundle v0.60.0
2
+ * Domma Full CSS Bundle v1.0.1
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:37.356Z
5
+ * Built: 2026-10-27T10:48:07.294Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.60.0
14
+ * Domma Core CSS v1.0.1
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-10-25T21:21:37.193Z
18
- * Commit: 8d8be57
17
+ * Built: 2026-10-27T10:48:07.167Z
18
+ * Commit: 721b19e
19
19
  */
20
20
 
21
21
  /**
@@ -4971,11 +4971,11 @@ body.dm-cloaked.dm-ready {
4971
4971
  ============================================ */
4972
4972
 
4973
4973
  /*!
4974
- * Domma Grid CSS v0.60.0
4974
+ * Domma Grid CSS v1.0.1
4975
4975
  * Dynamic Object Manipulation & Modeling API
4976
4976
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4977
- * Built: 2026-10-25T21:21:37.197Z
4978
- * Commit: 8d8be57
4977
+ * Built: 2026-10-27T10:48:07.170Z
4978
+ * Commit: 721b19e
4979
4979
  */
4980
4980
 
4981
4981
  /**
@@ -5596,11 +5596,11 @@ body.dm-cloaked.dm-ready {
5596
5596
  ============================================ */
5597
5597
 
5598
5598
  /*!
5599
- * Domma Elements CSS v0.60.0
5599
+ * Domma Elements CSS v1.0.1
5600
5600
  * Dynamic Object Manipulation & Modeling API
5601
5601
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5602
- * Built: 2026-10-25T21:21:37.202Z
5603
- * Commit: 8d8be57
5602
+ * Built: 2026-10-27T10:48:07.174Z
5603
+ * Commit: 721b19e
5604
5604
  */
5605
5605
 
5606
5606
  /**
@@ -14351,6 +14351,9 @@ domma-back-to-top {
14351
14351
  gap: 1px;
14352
14352
  padding: 4px;
14353
14353
  overflow-y: auto;
14354
+ overscroll-behavior: contain;
14355
+ max-height: calc(100dvh - 16px);
14356
+ box-sizing: border-box;
14354
14357
  background: var(--dm-ctx-surface, var(--dm-surface));
14355
14358
  color: var(--dm-text);
14356
14359
  border: 1px solid var(--dm-ctx-accent, var(--dm-border));
@@ -16613,11 +16616,11 @@ a.avatar-more-person:hover .avatar-more-name {
16613
16616
  ============================================ */
16614
16617
 
16615
16618
  /*!
16616
- * Domma Themes v0.60.0
16619
+ * Domma Themes v1.0.1
16617
16620
  * Dynamic Object Manipulation & Modeling API
16618
16621
  * (c) 2026 Darryl Waterhouse & DCBW-IT
16619
- * Built: 2026-10-25T21:21:37.177Z
16620
- * Commit: 8d8be57
16622
+ * Built: 2026-10-27T10:48:07.153Z
16623
+ * Commit: 721b19e
16621
16624
  */
16622
16625
 
16623
16626
  /**
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * Domma Minimal CSS Bundle v0.60.0
2
+ * Domma Minimal CSS Bundle v1.0.1
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:37.350Z
5
+ * Built: 2026-10-27T10:48:07.287Z
6
6
  */
7
7
 
8
8
  /* ============================================
@@ -11,11 +11,11 @@
11
11
  ============================================ */
12
12
 
13
13
  /*!
14
- * Domma Core CSS v0.60.0
14
+ * Domma Core CSS v1.0.1
15
15
  * Dynamic Object Manipulation & Modeling API
16
16
  * (c) 2026 Darryl Waterhouse & DCBW-IT
17
- * Built: 2026-10-25T21:21:37.193Z
18
- * Commit: 8d8be57
17
+ * Built: 2026-10-27T10:48:07.167Z
18
+ * Commit: 721b19e
19
19
  */
20
20
 
21
21
  /**
@@ -4971,11 +4971,11 @@ body.dm-cloaked.dm-ready {
4971
4971
  ============================================ */
4972
4972
 
4973
4973
  /*!
4974
- * Domma Grid CSS v0.60.0
4974
+ * Domma Grid CSS v1.0.1
4975
4975
  * Dynamic Object Manipulation & Modeling API
4976
4976
  * (c) 2026 Darryl Waterhouse & DCBW-IT
4977
- * Built: 2026-10-25T21:21:37.197Z
4978
- * Commit: 8d8be57
4977
+ * Built: 2026-10-27T10:48:07.170Z
4978
+ * Commit: 721b19e
4979
4979
  */
4980
4980
 
4981
4981
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Flags v0.60.0
2
+ * Domma Flags v1.0.1
3
3
  * Nation flags as inline SVG (opt-in module)
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:18.915Z
6
- * Commit: 8d8be57
5
+ * Built: 2026-10-27T10:47:52.541Z
6
+ * Commit: 721b19e
7
7
  *
8
8
  * Requires: domma.min.js
9
9
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Flags v0.60.0
2
+ * Domma Flags v1.0.1
3
3
  * Nation flags as inline SVG (opt-in module)
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:18.915Z
6
- * Commit: 8d8be57
5
+ * Built: 2026-10-27T10:47:52.541Z
6
+ * Commit: 721b19e
7
7
  *
8
8
  * Requires: domma.min.js
9
9
  */
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Syntax Highlighter v0.60.0
2
+ * Domma Syntax Highlighter v1.0.1
3
3
  * Lightweight code syntax highlighting for JavaScript, HTML, and CSS
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:18.912Z
6
- * Commit: 8d8be57
5
+ * Built: 2026-10-27T10:47:52.538Z
6
+ * Commit: 721b19e
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})});
9
9
  //# sourceMappingURL=domma-syntax.min.js.map
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Core CSS v0.60.0
2
+ * Domma Core CSS v1.0.1
3
3
  * Dynamic Object Manipulation & Modeling API
4
4
  * (c) 2026 Darryl Waterhouse & DCBW-IT
5
- * Built: 2026-10-25T21:21:37.193Z
6
- * Commit: 8d8be57
5
+ * Built: 2026-10-27T10:48:07.167Z
6
+ * Commit: 721b19e
7
7
  */
8
8
 
9
9
  /**