domma-js 0.56.0 → 0.58.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 +2 -2
- package/assets/types/generated/public/assets/flags/africa.d.ts +6 -0
- package/assets/types/generated/public/assets/flags/americas.d.ts +6 -0
- package/assets/types/generated/public/assets/flags/asia.d.ts +6 -0
- package/assets/types/generated/public/assets/flags/europe.d.ts +9 -0
- package/assets/types/generated/public/assets/flags/index.d.ts +11 -0
- package/assets/types/generated/public/assets/flags/oceania.d.ts +2 -0
- package/assets/types/generated/public/assets/icons/buildings.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/code.d.ts +2 -0
- package/assets/types/generated/public/assets/icons/commerce.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/communication.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/devices.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/emojis.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/files.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/finance.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/forms.d.ts +5 -0
- package/assets/types/generated/public/assets/icons/health.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/index.d.ts +24 -0
- package/assets/types/generated/public/assets/icons/media.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/navigation.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/seasonal.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/social.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/sport.d.ts +6 -0
- package/assets/types/generated/public/assets/icons/status.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/transport.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/ui.d.ts +7 -0
- package/assets/types/generated/public/assets/icons/weather.d.ts +6 -0
- package/assets/types/generated/src/auth.d.ts +424 -0
- package/assets/types/generated/src/avatar.d.ts +270 -0
- package/assets/types/generated/src/binding-source.d.ts +58 -0
- package/assets/types/generated/src/butterfly-drawing.d.ts +2 -0
- package/assets/types/generated/src/component-factory.d.ts +150 -0
- package/assets/types/generated/src/component.d.ts +162 -0
- package/assets/types/generated/src/components/back-to-top.d.ts +150 -0
- package/assets/types/generated/src/components/badge.d.ts +208 -0
- package/assets/types/generated/src/components/card.d.ts +189 -0
- package/assets/types/generated/src/components/command-palette.d.ts +352 -0
- package/assets/types/generated/src/components/dropzone.d.ts +342 -0
- package/assets/types/generated/src/components/focus-trap.d.ts +238 -0
- package/assets/types/generated/src/components/loader.d.ts +133 -0
- package/assets/types/generated/src/components/modal.d.ts +339 -0
- package/assets/types/generated/src/components/range-slider.d.ts +267 -0
- package/assets/types/generated/src/components/shared.d.ts +91 -0
- package/assets/types/generated/src/components/split-pane.d.ts +239 -0
- package/assets/types/generated/src/components/toast.d.ts +284 -0
- package/assets/types/generated/src/components/tooltip.d.ts +200 -0
- package/assets/types/generated/src/components/virtual-list.d.ts +340 -0
- package/assets/types/generated/src/config.d.ts +193 -0
- package/assets/types/generated/src/context-cursor.d.ts +69 -0
- package/assets/types/generated/src/context-menu.d.ts +596 -0
- package/assets/types/generated/src/dates.d.ts +367 -0
- package/assets/types/generated/src/dom.d.ts +1221 -0
- package/assets/types/generated/src/effects.d.ts +1281 -0
- package/assets/types/generated/src/elements.d.ts +4994 -0
- package/assets/types/generated/src/escape.d.ts +5 -0
- package/assets/types/generated/src/flags-bundle.d.ts +4 -0
- package/assets/types/generated/src/flags.d.ts +338 -0
- package/assets/types/generated/src/forms.d.ts +1060 -0
- package/assets/types/generated/src/globals.d.ts +45 -0
- package/assets/types/generated/src/http.d.ts +131 -0
- package/assets/types/generated/src/i18n.d.ts +261 -0
- package/assets/types/generated/src/icons.d.ts +213 -0
- package/assets/types/generated/src/index.d.ts +249 -0
- package/assets/types/generated/src/input-group.d.ts +135 -0
- package/assets/types/generated/src/models.d.ts +968 -0
- package/assets/types/generated/src/popover.d.ts +413 -0
- package/assets/types/generated/src/router.d.ts +344 -0
- package/assets/types/generated/src/safe-url.d.ts +10 -0
- package/assets/types/generated/src/sanitize.d.ts +97 -0
- package/assets/types/generated/src/schema-builder.d.ts +420 -0
- package/assets/types/generated/src/skeleton.d.ts +135 -0
- package/assets/types/generated/src/smooth-caret.d.ts +61 -0
- package/assets/types/generated/src/sortable.d.ts +368 -0
- package/assets/types/generated/src/storage.d.ts +93 -0
- package/assets/types/generated/src/tables.d.ts +901 -0
- package/assets/types/generated/src/theme.d.ts +262 -0
- package/assets/types/generated/src/ticker-tape-drawing.d.ts +2 -0
- package/assets/types/generated/src/treeview.d.ts +504 -0
- package/assets/types/generated/src/utils.d.ts +1667 -0
- package/assets/types/generated/src/web-components/base/domma-element.d.ts +134 -0
- package/assets/types/generated/src/web-components/index.d.ts +14 -0
- package/assets/types/generated/vendor/domma-reactive.d.ts +587 -0
- package/assets/types/index.d.ts +104 -226
- package/package.json +5 -2
- package/public/dist/bundles/domma-complete.css +20 -14
- package/public/dist/bundles/domma-data-focused.css +20 -14
- package/public/dist/bundles/domma-essentials.css +20 -14
- package/public/dist/bundles/domma-full.css +20 -14
- package/public/dist/bundles/domma-minimal.css +8 -8
- package/public/dist/domma-flags.esm.js +3 -3
- package/public/dist/domma-flags.esm.js.map +1 -1
- package/public/dist/domma-flags.min.js +3 -3
- package/public/dist/domma-flags.min.js.map +1 -1
- package/public/dist/domma-syntax.min.js +3 -3
- package/public/dist/domma.css +3 -3
- package/public/dist/domma.esm.js +5 -5
- package/public/dist/domma.esm.js.map +1 -1
- package/public/dist/domma.min.js +5 -5
- package/public/dist/domma.min.js.map +1 -1
- package/public/dist/elements.css +9 -3
- package/public/dist/grid.css +3 -3
- package/public/dist/syntax.css +3 -3
- package/public/dist/themes/domma-themes.css +3 -3
- package/templates/kickstart/.claude/snippets.md +1 -1
- package/templates/kickstart/CLAUDE.md +1 -1
- package/templates/kickstart/frontend/types/domma.d.ts +7 -4
- package/templates/kickstart-spa/.claude/snippets.md +1 -1
- package/assets/types/config.d.ts +0 -136
- package/assets/types/dates.d.ts +0 -209
- package/assets/types/dom.d.ts +0 -448
- package/assets/types/elements.d.ts +0 -1168
- package/assets/types/flags.d.ts +0 -130
- package/assets/types/http.d.ts +0 -97
- package/assets/types/i18n.d.ts +0 -99
- package/assets/types/icons.d.ts +0 -147
- package/assets/types/models.d.ts +0 -260
- package/assets/types/smooth-caret.d.ts +0 -12
- package/assets/types/storage.d.ts +0 -93
- package/assets/types/tables.d.ts +0 -327
- package/assets/types/theme.d.ts +0 -137
- package/assets/types/utils.d.ts +0 -675
package/README.md
CHANGED
|
@@ -474,13 +474,13 @@ Domma.theme.init({ theme: 'ocean-dark' });
|
|
|
474
474
|
Domma.theme.set('forest-light');
|
|
475
475
|
|
|
476
476
|
// Toggle between light/dark
|
|
477
|
-
Domma.theme.
|
|
477
|
+
Domma.theme.set(`${Domma.theme.getBase()}-${Domma.theme.isDark() ? 'light' : 'dark'}`);
|
|
478
478
|
|
|
479
479
|
// Auto-detect system preference
|
|
480
480
|
Domma.theme.init({ autoDetect: true });
|
|
481
481
|
|
|
482
482
|
// List everything available
|
|
483
|
-
Domma.theme.listThemes(); // also listBases()
|
|
483
|
+
Domma.theme.listThemes(); // also listBases()
|
|
484
484
|
```
|
|
485
485
|
|
|
486
486
|
**Light/dark families:**
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Flags - Africa
|
|
3
|
+
* Canvas 60×40 (3:2). Complex emblems simplified for icon-scale clarity.
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/flags.js').FlagDefinition>} */
|
|
6
|
+
export const africa: Record<string, import("../../../src/flags.js").FlagDefinition>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Flags - Americas
|
|
3
|
+
* Canvas 60×40 (3:2). Complex emblems simplified for icon-scale clarity.
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/flags.js').FlagDefinition>} */
|
|
6
|
+
export const americas: Record<string, import("../../../src/flags.js").FlagDefinition>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Flags - Asia & Middle East
|
|
3
|
+
* Canvas 60×40 (3:2). Complex emblems simplified for icon-scale clarity.
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/flags.js').FlagDefinition>} */
|
|
6
|
+
export const asia: Record<string, import("../../../src/flags.js").FlagDefinition>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Flags - Europe
|
|
3
|
+
*
|
|
4
|
+
* Compact flag descriptors expanded to SVG at render time. Canvas is 60×40 (3:2).
|
|
5
|
+
* Complex emblems (coats of arms, etc.) are simplified for icon-scale clarity;
|
|
6
|
+
* override any flag with FL.register(code, def) for a precise rendering.
|
|
7
|
+
*/
|
|
8
|
+
/** @type {Record<string, import('../../../src/flags.js').FlagDefinition>} */
|
|
9
|
+
export const europe: Record<string, import("../../../src/flags.js").FlagDefinition>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @type {Record<string, import('../../../src/flags.js').FlagDefinition>} */
|
|
2
|
+
export const flags: Record<string, import("../../../src/flags.js").FlagDefinition>;
|
|
3
|
+
/** @type {Record<string, import('../../../src/flags.js').FlagRegionMeta>} */
|
|
4
|
+
export const regions: Record<string, import("../../../src/flags.js").FlagRegionMeta>;
|
|
5
|
+
export default flags;
|
|
6
|
+
import { europe } from './europe.js';
|
|
7
|
+
import { americas } from './americas.js';
|
|
8
|
+
import { africa } from './africa.js';
|
|
9
|
+
import { asia } from './asia.js';
|
|
10
|
+
import { oceania } from './oceania.js';
|
|
11
|
+
export { europe, americas, africa, asia, oceania };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Commerce Icons
|
|
3
|
+
* Icons for shopping, payments, and e-commerce
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const commerce: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default commerce;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Communication Icons
|
|
3
|
+
* Icons for messaging, notifications, and communication
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const communication: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default communication;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Files Icons
|
|
3
|
+
* Icons for documents, folders, and file operations
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const files: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default files;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
2
|
+
export const forms: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
3
|
+
/** Existing icons that suit a form field, listed in the Forms category too. */
|
|
4
|
+
export const formsRelated: string[];
|
|
5
|
+
export default forms;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
2
|
+
export const icons: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
3
|
+
/** @type {Record<Exclude<import('../../../src/icons.js').IconCategory, 'custom'>, import('../../../src/icons.js').IconCategoryInfo>} */
|
|
4
|
+
export const categories: Record<Exclude<import("../../../src/icons.js").IconCategory, "custom">, import("../../../src/icons.js").IconCategoryInfo>;
|
|
5
|
+
export default icons;
|
|
6
|
+
import { ui } from './ui.js';
|
|
7
|
+
import { communication } from './communication.js';
|
|
8
|
+
import { media } from './media.js';
|
|
9
|
+
import { files } from './files.js';
|
|
10
|
+
import { social } from './social.js';
|
|
11
|
+
import { commerce } from './commerce.js';
|
|
12
|
+
import { status } from './status.js';
|
|
13
|
+
import { navigation } from './navigation.js';
|
|
14
|
+
import { seasonal } from './seasonal.js';
|
|
15
|
+
import { weather } from './weather.js';
|
|
16
|
+
import { devices } from './devices.js';
|
|
17
|
+
import { finance } from './finance.js';
|
|
18
|
+
import { health } from './health.js';
|
|
19
|
+
import { sport } from './sport.js';
|
|
20
|
+
import { buildings } from './buildings.js';
|
|
21
|
+
import { emojis } from './emojis.js';
|
|
22
|
+
import { transport } from './transport.js';
|
|
23
|
+
import code from './code.js';
|
|
24
|
+
export { ui, communication, media, files, social, commerce, status, navigation, seasonal, weather, devices, finance, health, sport, buildings, emojis, transport, code };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Media Icons
|
|
3
|
+
* Icons for media playback, audio, video, and images
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const media: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default media;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Navigation Icons
|
|
3
|
+
* Icons for navigation, links, and directional elements
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const navigation: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default navigation;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Social Icons
|
|
3
|
+
* Icons for social interactions and sharing
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const social: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default social;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Status Icons
|
|
3
|
+
* Icons for status indicators, alerts, and feedback
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const status: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default status;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma Transport Icons
|
|
3
|
+
* Icons for vehicles and transportation
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const transport: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default transport;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Domma UI Icons
|
|
3
|
+
* Core user interface icons: arrows, menu, close, search, settings, etc.
|
|
4
|
+
*/
|
|
5
|
+
/** @type {Record<string, import('../../../src/icons.js').IconDefinition>} */
|
|
6
|
+
export const ui: Record<string, import("../../../src/icons.js").IconDefinition>;
|
|
7
|
+
export default ui;
|