domma-js 0.18.1 → 0.18.2
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/bin/domma-cli.js +9 -9
- package/package.json +8 -4
- package/public/dist/bundles/domma-complete.css +54 -9
- package/public/dist/bundles/domma-data-focused.css +54 -9
- package/public/dist/bundles/domma-essentials.css +54 -9
- package/public/dist/bundles/domma-full.css +54 -9
- package/public/dist/bundles/domma-grayve.css +54 -9
- package/public/dist/bundles/domma-minimal.css +42 -5
- package/public/dist/domma-syntax.min.js +2 -2
- package/public/dist/domma.css +39 -2
- package/public/dist/domma.esm.js +3 -3
- package/public/dist/domma.min.js +3 -3
- package/public/dist/elements.css +10 -2
- package/public/dist/grid.css +2 -2
- package/public/dist/syntax.css +2 -2
- package/public/dist/themes/domma-themes.css +2 -2
- package/templates/kickstart-old/about/index.html +0 -227
- package/templates/kickstart-old/assets/logo/placeholder.svg +0 -6
- package/templates/kickstart-old/blog/index.html +0 -216
- package/templates/kickstart-old/contact/index.html +0 -223
- package/templates/kickstart-old/css/custom.css +0 -121
- package/templates/kickstart-old/docs/index.html +0 -308
- package/templates/kickstart-old/domma.config.json +0 -74
- package/templates/kickstart-old/index.html +0 -158
- package/templates/kickstart-old/js/app.js +0 -158
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Domma Minimal CSS Bundle v0.18.1
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-02-
|
|
5
|
+
* Built: 2026-02-25T21:51:20.153Z
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/* ============================================
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* Domma Core CSS v0.18.1
|
|
15
15
|
* Dynamic Object Manipulation & Modeling API
|
|
16
16
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
17
|
-
* Built: 2026-02-
|
|
18
|
-
* Commit:
|
|
17
|
+
* Built: 2026-02-25T21:51:19.726Z
|
|
18
|
+
* Commit: 2eb305a
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -2566,6 +2566,43 @@ code, pre {
|
|
|
2566
2566
|
z-index: 2;
|
|
2567
2567
|
}
|
|
2568
2568
|
|
|
2569
|
+
/* Button Group Sizes */
|
|
2570
|
+
.btn-group-sm > .btn,
|
|
2571
|
+
.btn-group-sm > .btn-group > .btn {
|
|
2572
|
+
padding: var(--dm-space-1) var(--dm-space-2);
|
|
2573
|
+
font-size: var(--dm-font-size-xs);
|
|
2574
|
+
line-height: 1.5;
|
|
2575
|
+
border-radius: 0;
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
.btn-group-sm > .btn:first-child {
|
|
2579
|
+
border-top-left-radius: var(--dm-radius-sm);
|
|
2580
|
+
border-bottom-left-radius: var(--dm-radius-sm);
|
|
2581
|
+
}
|
|
2582
|
+
|
|
2583
|
+
.btn-group-sm > .btn:last-child {
|
|
2584
|
+
border-top-right-radius: var(--dm-radius-sm);
|
|
2585
|
+
border-bottom-right-radius: var(--dm-radius-sm);
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
.btn-group-lg > .btn,
|
|
2589
|
+
.btn-group-lg > .btn-group > .btn {
|
|
2590
|
+
padding: var(--dm-space-3) var(--dm-space-6);
|
|
2591
|
+
font-size: var(--dm-font-size-lg);
|
|
2592
|
+
line-height: 1.5;
|
|
2593
|
+
border-radius: 0;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
.btn-group-lg > .btn:first-child {
|
|
2597
|
+
border-top-left-radius: var(--dm-radius-lg);
|
|
2598
|
+
border-bottom-left-radius: var(--dm-radius-lg);
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
.btn-group-lg > .btn:last-child {
|
|
2602
|
+
border-top-right-radius: var(--dm-radius-lg);
|
|
2603
|
+
border-bottom-right-radius: var(--dm-radius-lg);
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2569
2606
|
/* Range Slider */
|
|
2570
2607
|
.form-range {
|
|
2571
2608
|
appearance: none;
|
|
@@ -4738,8 +4775,8 @@ body.dm-cloaked.dm-ready {
|
|
|
4738
4775
|
* Domma Grid CSS v0.18.1
|
|
4739
4776
|
* Dynamic Object Manipulation & Modeling API
|
|
4740
4777
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
4741
|
-
* Built: 2026-02-
|
|
4742
|
-
* Commit:
|
|
4778
|
+
* Built: 2026-02-25T21:51:19.735Z
|
|
4779
|
+
* Commit: 2eb305a
|
|
4743
4780
|
*/
|
|
4744
4781
|
|
|
4745
4782
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Domma Syntax Highlighter v0.18.1
|
|
3
3
|
* Lightweight code syntax highlighting for JavaScript, HTML, and CSS
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-02-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-02-25T21:51:02.813Z
|
|
6
|
+
* Commit: 2eb305a
|
|
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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Domma Core CSS v0.18.1
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-02-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-02-25T21:51:19.726Z
|
|
6
|
+
* Commit: 2eb305a
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2554,6 +2554,43 @@ code, pre {
|
|
|
2554
2554
|
z-index: 2;
|
|
2555
2555
|
}
|
|
2556
2556
|
|
|
2557
|
+
/* Button Group Sizes */
|
|
2558
|
+
.btn-group-sm > .btn,
|
|
2559
|
+
.btn-group-sm > .btn-group > .btn {
|
|
2560
|
+
padding: var(--dm-space-1) var(--dm-space-2);
|
|
2561
|
+
font-size: var(--dm-font-size-xs);
|
|
2562
|
+
line-height: 1.5;
|
|
2563
|
+
border-radius: 0;
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
.btn-group-sm > .btn:first-child {
|
|
2567
|
+
border-top-left-radius: var(--dm-radius-sm);
|
|
2568
|
+
border-bottom-left-radius: var(--dm-radius-sm);
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
.btn-group-sm > .btn:last-child {
|
|
2572
|
+
border-top-right-radius: var(--dm-radius-sm);
|
|
2573
|
+
border-bottom-right-radius: var(--dm-radius-sm);
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2576
|
+
.btn-group-lg > .btn,
|
|
2577
|
+
.btn-group-lg > .btn-group > .btn {
|
|
2578
|
+
padding: var(--dm-space-3) var(--dm-space-6);
|
|
2579
|
+
font-size: var(--dm-font-size-lg);
|
|
2580
|
+
line-height: 1.5;
|
|
2581
|
+
border-radius: 0;
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
.btn-group-lg > .btn:first-child {
|
|
2585
|
+
border-top-left-radius: var(--dm-radius-lg);
|
|
2586
|
+
border-bottom-left-radius: var(--dm-radius-lg);
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
.btn-group-lg > .btn:last-child {
|
|
2590
|
+
border-top-right-radius: var(--dm-radius-lg);
|
|
2591
|
+
border-bottom-right-radius: var(--dm-radius-lg);
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2557
2594
|
/* Range Slider */
|
|
2558
2595
|
.form-range {
|
|
2559
2596
|
appearance: none;
|