domma-js 1.1.0 → 1.2.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.
- package/README.md +6 -0
- package/assets/types/catalogue.json +29 -29
- package/assets/types/generated/public/assets/icons/code.d.ts +236 -1
- package/assets/types/generated/src/auth.d.ts +38 -38
- package/assets/types/generated/src/avatar.d.ts +31 -31
- package/assets/types/generated/src/binding-source.d.ts +3 -3
- package/assets/types/generated/src/component-factory.d.ts +15 -15
- package/assets/types/generated/src/component.d.ts +4 -4
- package/assets/types/generated/src/components/back-to-top.d.ts +18 -18
- package/assets/types/generated/src/components/badge.d.ts +26 -26
- package/assets/types/generated/src/components/card.d.ts +30 -30
- package/assets/types/generated/src/components/command-palette.d.ts +69 -69
- package/assets/types/generated/src/components/dropzone.d.ts +54 -54
- package/assets/types/generated/src/components/focus-trap.d.ts +22 -22
- package/assets/types/generated/src/components/loader.d.ts +15 -15
- package/assets/types/generated/src/components/modal.d.ts +59 -59
- package/assets/types/generated/src/components/range-slider.d.ts +54 -54
- package/assets/types/generated/src/components/shared.d.ts +1 -1
- package/assets/types/generated/src/components/split-pane.d.ts +45 -45
- package/assets/types/generated/src/components/toast.d.ts +38 -38
- package/assets/types/generated/src/components/tooltip.d.ts +24 -24
- package/assets/types/generated/src/components/virtual-list.d.ts +61 -61
- package/assets/types/generated/src/config.d.ts +21 -21
- package/assets/types/generated/src/context-cursor.d.ts +6 -6
- package/assets/types/generated/src/context-menu.d.ts +72 -72
- package/assets/types/generated/src/dom.d.ts +12 -12
- package/assets/types/generated/src/effects.d.ts +154 -141
- package/assets/types/generated/src/elements.d.ts +644 -644
- package/assets/types/generated/src/flags.d.ts +38 -38
- package/assets/types/generated/src/forms.d.ts +100 -100
- package/assets/types/generated/src/globals.d.ts +6 -6
- package/assets/types/generated/src/http.d.ts +12 -12
- package/assets/types/generated/src/i18n.d.ts +8 -8
- package/assets/types/generated/src/icons.d.ts +13 -13
- package/assets/types/generated/src/index.d.ts +10 -10
- package/assets/types/generated/src/input-group.d.ts +21 -21
- package/assets/types/generated/src/models.d.ts +21 -21
- package/assets/types/generated/src/popover.d.ts +45 -45
- package/assets/types/generated/src/router.d.ts +30 -30
- package/assets/types/generated/src/sanitize.d.ts +13 -5
- package/assets/types/generated/src/schema-builder.d.ts +34 -34
- package/assets/types/generated/src/skeleton.d.ts +11 -11
- package/assets/types/generated/src/sortable.d.ts +46 -46
- package/assets/types/generated/src/tables.d.ts +75 -75
- package/assets/types/generated/src/theme.d.ts +8 -8
- package/assets/types/generated/src/treeview.d.ts +48 -48
- package/assets/types/generated/src/utils.d.ts +13 -13
- package/assets/types/generated/vendor/domma-reactive.d.ts +2 -2
- package/package.json +22 -16
- package/public/dist/bundles/domma-complete.css +53 -14
- package/public/dist/bundles/domma-data-focused.css +53 -14
- package/public/dist/bundles/domma-essentials.css +53 -14
- package/public/dist/bundles/domma-full.css +53 -14
- package/public/dist/bundles/domma-minimal.css +47 -8
- package/public/dist/domma-flags.esm.js +3 -3
- package/public/dist/domma-flags.min.js +3 -3
- package/public/dist/domma-syntax.min.js +3 -3
- package/public/dist/domma.css +42 -3
- package/public/dist/domma.esm.js +4 -4
- package/public/dist/domma.esm.js.map +1 -1
- package/public/dist/domma.min.js +4 -4
- package/public/dist/domma.min.js.map +1 -1
- package/public/dist/elements.css +3 -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 Essentials CSS Bundle v1.
|
|
2
|
+
* Domma Essentials CSS Bundle v1.2.0
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
5
|
+
* Built: 2026-11-13T12:47:48.199Z
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/* ============================================
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
============================================ */
|
|
12
12
|
|
|
13
13
|
/*!
|
|
14
|
-
* Domma Core CSS v1.
|
|
14
|
+
* Domma Core CSS v1.2.0
|
|
15
15
|
* Dynamic Object Manipulation & Modeling API
|
|
16
16
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
17
|
-
* Built: 2026-11-
|
|
18
|
-
* Commit:
|
|
17
|
+
* Built: 2026-11-13T12:47:48.065Z
|
|
18
|
+
* Commit: 1ebfa81
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -1158,6 +1158,45 @@ code, pre {
|
|
|
1158
1158
|
padding-left: 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
+
/* Opt-in list markers. Keep native list semantics and hanging indentation.
|
|
1162
|
+
Only direct items change, so nested lists keep their own marker choice. */
|
|
1163
|
+
ul.list-check,
|
|
1164
|
+
ul.list-chevron,
|
|
1165
|
+
ul.list-dash {
|
|
1166
|
+
padding-inline-start: 1.75em;
|
|
1167
|
+
list-style-position: outside;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
ul.list-check > li::marker,
|
|
1171
|
+
ul.list-chevron > li::marker,
|
|
1172
|
+
ul.list-dash > li::marker,
|
|
1173
|
+
li.list-check::marker,
|
|
1174
|
+
li.list-chevron::marker,
|
|
1175
|
+
li.list-dash::marker {
|
|
1176
|
+
color: var(--dm-list-marker-color, var(--dm-link, color-mix(in oklab, var(--dm-primary, #0070d6), var(--dm-text, #1a1a1a) 55%)));
|
|
1177
|
+
font-weight: 600;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
ul.list-check > li::marker,
|
|
1181
|
+
li.list-check::marker {
|
|
1182
|
+
content: "\2713 ";
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
ul.list-chevron > li::marker,
|
|
1186
|
+
li.list-chevron::marker {
|
|
1187
|
+
content: "\203a ";
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
ul.list-chevron:dir(rtl) > li::marker,
|
|
1191
|
+
li.list-chevron:dir(rtl)::marker {
|
|
1192
|
+
content: "\2039 ";
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
ul.list-dash > li::marker,
|
|
1196
|
+
li.list-dash::marker {
|
|
1197
|
+
content: "- ";
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1161
1200
|
.no-underline {
|
|
1162
1201
|
text-decoration: none;
|
|
1163
1202
|
}
|
|
@@ -4971,11 +5010,11 @@ body.dm-cloaked.dm-ready {
|
|
|
4971
5010
|
============================================ */
|
|
4972
5011
|
|
|
4973
5012
|
/*!
|
|
4974
|
-
* Domma Grid CSS v1.
|
|
5013
|
+
* Domma Grid CSS v1.2.0
|
|
4975
5014
|
* Dynamic Object Manipulation & Modeling API
|
|
4976
5015
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
4977
|
-
* Built: 2026-11-
|
|
4978
|
-
* Commit:
|
|
5016
|
+
* Built: 2026-11-13T12:47:48.068Z
|
|
5017
|
+
* Commit: 1ebfa81
|
|
4979
5018
|
*/
|
|
4980
5019
|
|
|
4981
5020
|
/**
|
|
@@ -5596,11 +5635,11 @@ body.dm-cloaked.dm-ready {
|
|
|
5596
5635
|
============================================ */
|
|
5597
5636
|
|
|
5598
5637
|
/*!
|
|
5599
|
-
* Domma Elements CSS v1.
|
|
5638
|
+
* Domma Elements CSS v1.2.0
|
|
5600
5639
|
* Dynamic Object Manipulation & Modeling API
|
|
5601
5640
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5602
|
-
* Built: 2026-11-
|
|
5603
|
-
* Commit:
|
|
5641
|
+
* Built: 2026-11-13T12:47:48.072Z
|
|
5642
|
+
* Commit: 1ebfa81
|
|
5604
5643
|
*/
|
|
5605
5644
|
|
|
5606
5645
|
/**
|
|
@@ -16616,11 +16655,11 @@ a.avatar-more-person:hover .avatar-more-name {
|
|
|
16616
16655
|
============================================ */
|
|
16617
16656
|
|
|
16618
16657
|
/*!
|
|
16619
|
-
* Domma Themes v1.
|
|
16658
|
+
* Domma Themes v1.2.0
|
|
16620
16659
|
* Dynamic Object Manipulation & Modeling API
|
|
16621
16660
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
16622
|
-
* Built: 2026-11-
|
|
16623
|
-
* Commit:
|
|
16661
|
+
* Built: 2026-11-13T12:47:48.053Z
|
|
16662
|
+
* Commit: 1ebfa81
|
|
16624
16663
|
*/
|
|
16625
16664
|
|
|
16626
16665
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Full CSS Bundle v1.
|
|
2
|
+
* Domma Full CSS Bundle v1.2.0
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
5
|
+
* Built: 2026-11-13T12:47:48.207Z
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/* ============================================
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
============================================ */
|
|
12
12
|
|
|
13
13
|
/*!
|
|
14
|
-
* Domma Core CSS v1.
|
|
14
|
+
* Domma Core CSS v1.2.0
|
|
15
15
|
* Dynamic Object Manipulation & Modeling API
|
|
16
16
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
17
|
-
* Built: 2026-11-
|
|
18
|
-
* Commit:
|
|
17
|
+
* Built: 2026-11-13T12:47:48.065Z
|
|
18
|
+
* Commit: 1ebfa81
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -1158,6 +1158,45 @@ code, pre {
|
|
|
1158
1158
|
padding-left: 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
+
/* Opt-in list markers. Keep native list semantics and hanging indentation.
|
|
1162
|
+
Only direct items change, so nested lists keep their own marker choice. */
|
|
1163
|
+
ul.list-check,
|
|
1164
|
+
ul.list-chevron,
|
|
1165
|
+
ul.list-dash {
|
|
1166
|
+
padding-inline-start: 1.75em;
|
|
1167
|
+
list-style-position: outside;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
ul.list-check > li::marker,
|
|
1171
|
+
ul.list-chevron > li::marker,
|
|
1172
|
+
ul.list-dash > li::marker,
|
|
1173
|
+
li.list-check::marker,
|
|
1174
|
+
li.list-chevron::marker,
|
|
1175
|
+
li.list-dash::marker {
|
|
1176
|
+
color: var(--dm-list-marker-color, var(--dm-link, color-mix(in oklab, var(--dm-primary, #0070d6), var(--dm-text, #1a1a1a) 55%)));
|
|
1177
|
+
font-weight: 600;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
ul.list-check > li::marker,
|
|
1181
|
+
li.list-check::marker {
|
|
1182
|
+
content: "\2713 ";
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
ul.list-chevron > li::marker,
|
|
1186
|
+
li.list-chevron::marker {
|
|
1187
|
+
content: "\203a ";
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
ul.list-chevron:dir(rtl) > li::marker,
|
|
1191
|
+
li.list-chevron:dir(rtl)::marker {
|
|
1192
|
+
content: "\2039 ";
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
ul.list-dash > li::marker,
|
|
1196
|
+
li.list-dash::marker {
|
|
1197
|
+
content: "- ";
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1161
1200
|
.no-underline {
|
|
1162
1201
|
text-decoration: none;
|
|
1163
1202
|
}
|
|
@@ -4971,11 +5010,11 @@ body.dm-cloaked.dm-ready {
|
|
|
4971
5010
|
============================================ */
|
|
4972
5011
|
|
|
4973
5012
|
/*!
|
|
4974
|
-
* Domma Grid CSS v1.
|
|
5013
|
+
* Domma Grid CSS v1.2.0
|
|
4975
5014
|
* Dynamic Object Manipulation & Modeling API
|
|
4976
5015
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
4977
|
-
* Built: 2026-11-
|
|
4978
|
-
* Commit:
|
|
5016
|
+
* Built: 2026-11-13T12:47:48.068Z
|
|
5017
|
+
* Commit: 1ebfa81
|
|
4979
5018
|
*/
|
|
4980
5019
|
|
|
4981
5020
|
/**
|
|
@@ -5596,11 +5635,11 @@ body.dm-cloaked.dm-ready {
|
|
|
5596
5635
|
============================================ */
|
|
5597
5636
|
|
|
5598
5637
|
/*!
|
|
5599
|
-
* Domma Elements CSS v1.
|
|
5638
|
+
* Domma Elements CSS v1.2.0
|
|
5600
5639
|
* Dynamic Object Manipulation & Modeling API
|
|
5601
5640
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5602
|
-
* Built: 2026-11-
|
|
5603
|
-
* Commit:
|
|
5641
|
+
* Built: 2026-11-13T12:47:48.072Z
|
|
5642
|
+
* Commit: 1ebfa81
|
|
5604
5643
|
*/
|
|
5605
5644
|
|
|
5606
5645
|
/**
|
|
@@ -16616,11 +16655,11 @@ a.avatar-more-person:hover .avatar-more-name {
|
|
|
16616
16655
|
============================================ */
|
|
16617
16656
|
|
|
16618
16657
|
/*!
|
|
16619
|
-
* Domma Themes v1.
|
|
16658
|
+
* Domma Themes v1.2.0
|
|
16620
16659
|
* Dynamic Object Manipulation & Modeling API
|
|
16621
16660
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
16622
|
-
* Built: 2026-11-
|
|
16623
|
-
* Commit:
|
|
16661
|
+
* Built: 2026-11-13T12:47:48.053Z
|
|
16662
|
+
* Commit: 1ebfa81
|
|
16624
16663
|
*/
|
|
16625
16664
|
|
|
16626
16665
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Minimal CSS Bundle v1.
|
|
2
|
+
* Domma Minimal CSS Bundle v1.2.0
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
5
|
+
* Built: 2026-11-13T12:47:48.198Z
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/* ============================================
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
============================================ */
|
|
12
12
|
|
|
13
13
|
/*!
|
|
14
|
-
* Domma Core CSS v1.
|
|
14
|
+
* Domma Core CSS v1.2.0
|
|
15
15
|
* Dynamic Object Manipulation & Modeling API
|
|
16
16
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
17
|
-
* Built: 2026-11-
|
|
18
|
-
* Commit:
|
|
17
|
+
* Built: 2026-11-13T12:47:48.065Z
|
|
18
|
+
* Commit: 1ebfa81
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -1158,6 +1158,45 @@ code, pre {
|
|
|
1158
1158
|
padding-left: 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
+
/* Opt-in list markers. Keep native list semantics and hanging indentation.
|
|
1162
|
+
Only direct items change, so nested lists keep their own marker choice. */
|
|
1163
|
+
ul.list-check,
|
|
1164
|
+
ul.list-chevron,
|
|
1165
|
+
ul.list-dash {
|
|
1166
|
+
padding-inline-start: 1.75em;
|
|
1167
|
+
list-style-position: outside;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
ul.list-check > li::marker,
|
|
1171
|
+
ul.list-chevron > li::marker,
|
|
1172
|
+
ul.list-dash > li::marker,
|
|
1173
|
+
li.list-check::marker,
|
|
1174
|
+
li.list-chevron::marker,
|
|
1175
|
+
li.list-dash::marker {
|
|
1176
|
+
color: var(--dm-list-marker-color, var(--dm-link, color-mix(in oklab, var(--dm-primary, #0070d6), var(--dm-text, #1a1a1a) 55%)));
|
|
1177
|
+
font-weight: 600;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
ul.list-check > li::marker,
|
|
1181
|
+
li.list-check::marker {
|
|
1182
|
+
content: "\2713 ";
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
ul.list-chevron > li::marker,
|
|
1186
|
+
li.list-chevron::marker {
|
|
1187
|
+
content: "\203a ";
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
ul.list-chevron:dir(rtl) > li::marker,
|
|
1191
|
+
li.list-chevron:dir(rtl)::marker {
|
|
1192
|
+
content: "\2039 ";
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
ul.list-dash > li::marker,
|
|
1196
|
+
li.list-dash::marker {
|
|
1197
|
+
content: "- ";
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1161
1200
|
.no-underline {
|
|
1162
1201
|
text-decoration: none;
|
|
1163
1202
|
}
|
|
@@ -4971,11 +5010,11 @@ body.dm-cloaked.dm-ready {
|
|
|
4971
5010
|
============================================ */
|
|
4972
5011
|
|
|
4973
5012
|
/*!
|
|
4974
|
-
* Domma Grid CSS v1.
|
|
5013
|
+
* Domma Grid CSS v1.2.0
|
|
4975
5014
|
* Dynamic Object Manipulation & Modeling API
|
|
4976
5015
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
4977
|
-
* Built: 2026-11-
|
|
4978
|
-
* Commit:
|
|
5016
|
+
* Built: 2026-11-13T12:47:48.068Z
|
|
5017
|
+
* Commit: 1ebfa81
|
|
4979
5018
|
*/
|
|
4980
5019
|
|
|
4981
5020
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Flags v1.
|
|
2
|
+
* Domma Flags v1.2.0
|
|
3
3
|
* Nation flags as inline SVG (opt-in module)
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-11-13T12:47:33.618Z
|
|
6
|
+
* Commit: 1ebfa81
|
|
7
7
|
*
|
|
8
8
|
* Requires: domma.min.js
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Flags v1.
|
|
2
|
+
* Domma Flags v1.2.0
|
|
3
3
|
* Nation flags as inline SVG (opt-in module)
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-11-13T12:47:33.618Z
|
|
6
|
+
* Commit: 1ebfa81
|
|
7
7
|
*
|
|
8
8
|
* Requires: domma.min.js
|
|
9
9
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Syntax Highlighter v1.
|
|
2
|
+
* Domma Syntax Highlighter v1.2.0
|
|
3
3
|
* Lightweight code syntax highlighting for JavaScript, HTML, and CSS
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-11-13T12:47:33.615Z
|
|
6
|
+
* Commit: 1ebfa81
|
|
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})});
|
|
9
9
|
//# sourceMappingURL=domma-syntax.min.js.map
|
package/public/dist/domma.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Domma Core CSS v1.
|
|
2
|
+
* Domma Core CSS v1.2.0
|
|
3
3
|
* Dynamic Object Manipulation & Modeling API
|
|
4
4
|
* (c) 2026 Darryl Waterhouse & DCBW-IT
|
|
5
|
-
* Built: 2026-11-
|
|
6
|
-
* Commit:
|
|
5
|
+
* Built: 2026-11-13T12:47:48.065Z
|
|
6
|
+
* Commit: 1ebfa81
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1146,6 +1146,45 @@ code, pre {
|
|
|
1146
1146
|
padding-left: 0;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
|
+
/* Opt-in list markers. Keep native list semantics and hanging indentation.
|
|
1150
|
+
Only direct items change, so nested lists keep their own marker choice. */
|
|
1151
|
+
ul.list-check,
|
|
1152
|
+
ul.list-chevron,
|
|
1153
|
+
ul.list-dash {
|
|
1154
|
+
padding-inline-start: 1.75em;
|
|
1155
|
+
list-style-position: outside;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
ul.list-check > li::marker,
|
|
1159
|
+
ul.list-chevron > li::marker,
|
|
1160
|
+
ul.list-dash > li::marker,
|
|
1161
|
+
li.list-check::marker,
|
|
1162
|
+
li.list-chevron::marker,
|
|
1163
|
+
li.list-dash::marker {
|
|
1164
|
+
color: var(--dm-list-marker-color, var(--dm-link, color-mix(in oklab, var(--dm-primary, #0070d6), var(--dm-text, #1a1a1a) 55%)));
|
|
1165
|
+
font-weight: 600;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
ul.list-check > li::marker,
|
|
1169
|
+
li.list-check::marker {
|
|
1170
|
+
content: "\2713 ";
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
ul.list-chevron > li::marker,
|
|
1174
|
+
li.list-chevron::marker {
|
|
1175
|
+
content: "\203a ";
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
ul.list-chevron:dir(rtl) > li::marker,
|
|
1179
|
+
li.list-chevron:dir(rtl)::marker {
|
|
1180
|
+
content: "\2039 ";
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
ul.list-dash > li::marker,
|
|
1184
|
+
li.list-dash::marker {
|
|
1185
|
+
content: "- ";
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1149
1188
|
.no-underline {
|
|
1150
1189
|
text-decoration: none;
|
|
1151
1190
|
}
|