domma-js 0.25.0 → 0.25.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/package.json +1 -1
- package/public/dist/bundles/domma-complete.css +136 -14
- package/public/dist/bundles/domma-data-focused.css +136 -14
- package/public/dist/bundles/domma-essentials.css +136 -14
- package/public/dist/bundles/domma-full.css +136 -14
- package/public/dist/bundles/domma-minimal.css +8 -8
- package/public/dist/domma-syntax.min.js +3 -3
- package/public/dist/domma.css +3 -3
- package/public/dist/domma.esm.js +4 -4
- package/public/dist/domma.min.js +4 -4
- package/public/dist/elements.css +125 -3
- package/public/dist/grid.css +3 -3
- package/public/dist/syntax.css +3 -3
- package/public/dist/themes/domma-themes.css +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Full CSS Bundle v0.25.
|
|
2
|
+
* Domma Full CSS Bundle v0.25.1
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-05-
|
|
5
|
+
* Built: 2026-05-09T19:57:20.957Z
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/* ============================================
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
============================================ */
|
|
12
12
|
|
|
13
13
|
/*!
|
|
14
|
-
* Domma Core CSS v0.25.
|
|
14
|
+
* Domma Core CSS v0.25.1
|
|
15
15
|
* Dynamic Object Manipulation & Modeling API
|
|
16
16
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
17
|
-
* Built: 2026-05-
|
|
18
|
-
* Commit:
|
|
17
|
+
* Built: 2026-05-09T19:57:20.749Z
|
|
18
|
+
* Commit: d75ef91
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -4829,11 +4829,11 @@ body.dm-cloaked.dm-ready {
|
|
|
4829
4829
|
============================================ */
|
|
4830
4830
|
|
|
4831
4831
|
/*!
|
|
4832
|
-
* Domma Grid CSS v0.25.
|
|
4832
|
+
* Domma Grid CSS v0.25.1
|
|
4833
4833
|
* Dynamic Object Manipulation & Modeling API
|
|
4834
4834
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
4835
|
-
* Built: 2026-05-
|
|
4836
|
-
* Commit:
|
|
4835
|
+
* Built: 2026-05-09T19:57:20.753Z
|
|
4836
|
+
* Commit: d75ef91
|
|
4837
4837
|
*/
|
|
4838
4838
|
|
|
4839
4839
|
/**
|
|
@@ -5454,11 +5454,11 @@ body.dm-cloaked.dm-ready {
|
|
|
5454
5454
|
============================================ */
|
|
5455
5455
|
|
|
5456
5456
|
/*!
|
|
5457
|
-
* Domma Elements CSS v0.25.
|
|
5457
|
+
* Domma Elements CSS v0.25.1
|
|
5458
5458
|
* Dynamic Object Manipulation & Modeling API
|
|
5459
5459
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5460
|
-
* Built: 2026-05-
|
|
5461
|
-
* Commit:
|
|
5460
|
+
* Built: 2026-05-09T19:57:20.759Z
|
|
5461
|
+
* Commit: d75ef91
|
|
5462
5462
|
*/
|
|
5463
5463
|
|
|
5464
5464
|
/**
|
|
@@ -13188,6 +13188,128 @@ code {
|
|
|
13188
13188
|
color: var(--dm-text);
|
|
13189
13189
|
}
|
|
13190
13190
|
|
|
13191
|
+
/* ============================================================
|
|
13192
|
+
* Page-roller chooser slideover — structured editor styling
|
|
13193
|
+
* ============================================================ */
|
|
13194
|
+
.qr-chooser-slideover-body {
|
|
13195
|
+
padding: 1.25rem;
|
|
13196
|
+
display: flex;
|
|
13197
|
+
flex-direction: column;
|
|
13198
|
+
gap: 1.25rem;
|
|
13199
|
+
}
|
|
13200
|
+
|
|
13201
|
+
.qr-chooser-slideover-body > h3 {
|
|
13202
|
+
margin: 0 0 0.25rem;
|
|
13203
|
+
font-size: 1.05rem;
|
|
13204
|
+
color: var(--dm-text);
|
|
13205
|
+
}
|
|
13206
|
+
|
|
13207
|
+
.qr-chooser-preview {
|
|
13208
|
+
padding: 0.85rem;
|
|
13209
|
+
border: 1px dashed var(--dm-border);
|
|
13210
|
+
border-radius: var(--dm-radius);
|
|
13211
|
+
background: var(--dm-bg-alt, color-mix(in srgb, var(--dm-card-bg) 92%, var(--dm-text)));
|
|
13212
|
+
}
|
|
13213
|
+
|
|
13214
|
+
.qr-chooser-preview-label {
|
|
13215
|
+
font-size: 0.7rem;
|
|
13216
|
+
text-transform: uppercase;
|
|
13217
|
+
letter-spacing: 0.06em;
|
|
13218
|
+
color: var(--dm-text-muted);
|
|
13219
|
+
margin-bottom: 0.5rem;
|
|
13220
|
+
font-weight: 600;
|
|
13221
|
+
}
|
|
13222
|
+
|
|
13223
|
+
.qr-chooser-section {
|
|
13224
|
+
border: 1px solid var(--dm-border);
|
|
13225
|
+
border-radius: var(--dm-radius);
|
|
13226
|
+
background: var(--dm-card-bg);
|
|
13227
|
+
}
|
|
13228
|
+
|
|
13229
|
+
.qr-chooser-section-header {
|
|
13230
|
+
padding: 0.6rem 0.85rem;
|
|
13231
|
+
border-bottom: 1px solid var(--dm-border);
|
|
13232
|
+
font-weight: 600;
|
|
13233
|
+
color: var(--dm-text);
|
|
13234
|
+
font-size: 0.9rem;
|
|
13235
|
+
background: color-mix(in srgb, var(--dm-bg) 50%, transparent);
|
|
13236
|
+
}
|
|
13237
|
+
|
|
13238
|
+
.qr-chooser-section-body {
|
|
13239
|
+
padding: 0.75rem 0.85rem;
|
|
13240
|
+
display: flex;
|
|
13241
|
+
flex-direction: column;
|
|
13242
|
+
gap: 0.6rem;
|
|
13243
|
+
}
|
|
13244
|
+
|
|
13245
|
+
.qr-chooser-row {
|
|
13246
|
+
display: grid;
|
|
13247
|
+
grid-template-columns: 1fr 1fr;
|
|
13248
|
+
gap: 0.6rem;
|
|
13249
|
+
}
|
|
13250
|
+
|
|
13251
|
+
.qr-chooser-row.is-single {
|
|
13252
|
+
grid-template-columns: 1fr;
|
|
13253
|
+
}
|
|
13254
|
+
|
|
13255
|
+
.qr-chooser-field-label {
|
|
13256
|
+
display: block;
|
|
13257
|
+
font-size: 0.8rem;
|
|
13258
|
+
font-weight: 500;
|
|
13259
|
+
color: var(--dm-text);
|
|
13260
|
+
margin-bottom: 0.2rem;
|
|
13261
|
+
}
|
|
13262
|
+
|
|
13263
|
+
.qr-chooser-field-help {
|
|
13264
|
+
font-size: 0.72rem;
|
|
13265
|
+
color: var(--dm-text-muted);
|
|
13266
|
+
margin-top: 0.2rem;
|
|
13267
|
+
line-height: 1.3;
|
|
13268
|
+
}
|
|
13269
|
+
|
|
13270
|
+
.qr-chooser-checkbox-row {
|
|
13271
|
+
display: flex;
|
|
13272
|
+
align-items: center;
|
|
13273
|
+
gap: 0.4rem;
|
|
13274
|
+
font-size: 0.85rem;
|
|
13275
|
+
color: var(--dm-text);
|
|
13276
|
+
}
|
|
13277
|
+
|
|
13278
|
+
.qr-chooser-options-list {
|
|
13279
|
+
display: flex;
|
|
13280
|
+
flex-direction: column;
|
|
13281
|
+
gap: 0.5rem;
|
|
13282
|
+
}
|
|
13283
|
+
|
|
13284
|
+
.qr-chooser-option-row {
|
|
13285
|
+
border: 1px solid var(--dm-border);
|
|
13286
|
+
border-radius: var(--dm-radius-sm);
|
|
13287
|
+
padding: 0.6rem;
|
|
13288
|
+
background: color-mix(in srgb, var(--dm-bg) 60%, transparent);
|
|
13289
|
+
display: flex;
|
|
13290
|
+
flex-direction: column;
|
|
13291
|
+
gap: 0.4rem;
|
|
13292
|
+
}
|
|
13293
|
+
|
|
13294
|
+
.qr-chooser-option-row .form-input,
|
|
13295
|
+
.qr-chooser-option-row select.form-input {
|
|
13296
|
+
font-size: 0.82rem;
|
|
13297
|
+
}
|
|
13298
|
+
|
|
13299
|
+
.qr-chooser-option-row-flags {
|
|
13300
|
+
display: flex;
|
|
13301
|
+
gap: 1rem;
|
|
13302
|
+
font-size: 0.78rem;
|
|
13303
|
+
}
|
|
13304
|
+
|
|
13305
|
+
.qr-chooser-actions {
|
|
13306
|
+
display: flex;
|
|
13307
|
+
gap: 0.5rem;
|
|
13308
|
+
justify-content: flex-end;
|
|
13309
|
+
padding-top: 0.5rem;
|
|
13310
|
+
border-top: 1px solid var(--dm-border);
|
|
13311
|
+
}
|
|
13312
|
+
|
|
13191
13313
|
|
|
13192
13314
|
/* ============================================
|
|
13193
13315
|
THEME SYSTEM
|
|
@@ -13195,11 +13317,11 @@ code {
|
|
|
13195
13317
|
============================================ */
|
|
13196
13318
|
|
|
13197
13319
|
/*!
|
|
13198
|
-
* Domma Themes v0.25.
|
|
13320
|
+
* Domma Themes v0.25.1
|
|
13199
13321
|
* Dynamic Object Manipulation & Modeling API
|
|
13200
13322
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
13201
|
-
* Built: 2026-05-
|
|
13202
|
-
* Commit:
|
|
13323
|
+
* Built: 2026-05-09T19:57:20.733Z
|
|
13324
|
+
* Commit: d75ef91
|
|
13203
13325
|
*/
|
|
13204
13326
|
|
|
13205
13327
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Minimal CSS Bundle v0.25.
|
|
2
|
+
* Domma Minimal CSS Bundle v0.25.1
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-05-
|
|
5
|
+
* Built: 2026-05-09T19:57:20.946Z
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/* ============================================
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
============================================ */
|
|
12
12
|
|
|
13
13
|
/*!
|
|
14
|
-
* Domma Core CSS v0.25.
|
|
14
|
+
* Domma Core CSS v0.25.1
|
|
15
15
|
* Dynamic Object Manipulation & Modeling API
|
|
16
16
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
17
|
-
* Built: 2026-05-
|
|
18
|
-
* Commit:
|
|
17
|
+
* Built: 2026-05-09T19:57:20.749Z
|
|
18
|
+
* Commit: d75ef91
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -4829,11 +4829,11 @@ body.dm-cloaked.dm-ready {
|
|
|
4829
4829
|
============================================ */
|
|
4830
4830
|
|
|
4831
4831
|
/*!
|
|
4832
|
-
* Domma Grid CSS v0.25.
|
|
4832
|
+
* Domma Grid CSS v0.25.1
|
|
4833
4833
|
* Dynamic Object Manipulation & Modeling API
|
|
4834
4834
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
4835
|
-
* Built: 2026-05-
|
|
4836
|
-
* Commit:
|
|
4835
|
+
* Built: 2026-05-09T19:57:20.753Z
|
|
4836
|
+
* Commit: d75ef91
|
|
4837
4837
|
*/
|
|
4838
4838
|
|
|
4839
4839
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Syntax Highlighter v0.25.
|
|
2
|
+
* Domma Syntax Highlighter v0.25.1
|
|
3
3
|
* Lightweight code syntax highlighting for JavaScript, HTML, and CSS
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-05-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-05-09T19:57:08.622Z
|
|
6
|
+
* Commit: d75ef91
|
|
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={"&":"&","<":"<",">":">",'"':""","'":"'"};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})});
|
package/public/dist/domma.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Core CSS v0.25.
|
|
2
|
+
* Domma Core CSS v0.25.1
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-05-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-05-09T19:57:20.749Z
|
|
6
|
+
* Commit: d75ef91
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|