@almadar/ui 6.5.0 → 6.7.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/dist/{EntityBindingContext-0Evn_LcT.d.cts → EntityBindingContext-Bn3ePJQC.d.cts} +1 -1
- package/dist/{EntityBindingContext-0Evn_LcT.d.ts → EntityBindingContext-Bn3ePJQC.d.ts} +1 -1
- package/dist/{GameAudioProvider-B48iXwz3.d.ts → GameAudioProvider-Ctceau1s.d.ts} +6 -18
- package/dist/{GameAudioProvider-CQAdPreB.d.cts → GameAudioProvider-Dk_Y3LN3.d.cts} +6 -18
- package/dist/avl/index.cjs +1268 -220
- package/dist/avl/index.js +1269 -221
- package/dist/{avl-schema-parser-dvJKXn-o.d.ts → avl-schema-parser-DncJLEn9.d.ts} +18 -0
- package/dist/{avl-schema-parser-Bt4NzAam.d.cts → avl-schema-parser-FQ1474v8.d.cts} +18 -0
- package/dist/{cn-DJSBBm5W.d.cts → cn-CCjFspAo.d.cts} +25 -1
- package/dist/{cn-BbhJq_nr.d.ts → cn-sgpqpN0U.d.ts} +25 -1
- package/dist/components/index.cjs +1092 -249
- package/dist/components/index.d.cts +193 -23
- package/dist/components/index.d.ts +193 -23
- package/dist/components/index.js +1089 -250
- package/dist/context/index.cjs +10 -13
- package/dist/context/index.js +10 -13
- package/dist/hooks/index.cjs +63 -13
- package/dist/hooks/index.d.cts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +64 -15
- package/dist/lib/drawable/three/index.cjs +126 -13
- package/dist/lib/drawable/three/index.d.cts +2 -2
- package/dist/lib/drawable/three/index.d.ts +2 -2
- package/dist/lib/drawable/three/index.js +127 -14
- package/dist/lib/index.cjs +180 -0
- package/dist/lib/index.d.cts +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.js +178 -1
- package/dist/locales/index.cjs +6 -3
- package/dist/locales/index.js +6 -3
- package/dist/providers/index.cjs +974 -202
- package/dist/providers/index.d.cts +2 -2
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +974 -202
- package/dist/runtime/index.cjs +1594 -196
- package/dist/runtime/index.d.cts +79 -6
- package/dist/runtime/index.d.ts +79 -6
- package/dist/runtime/index.js +1592 -198
- package/dist/slot-host-Czc2JAxo.d.cts +47 -0
- package/dist/slot-host-Czc2JAxo.d.ts +47 -0
- package/dist/{useEventBus-CQWyAWpK.d.ts → useKeyboardRouter-D84cNWmA.d.ts} +31 -1
- package/dist/{useEventBus-Ckr4wqW3.d.cts → useKeyboardRouter-DQEE_9mq.d.cts} +31 -1
- package/locales/ar.json +2 -1
- package/locales/en.json +2 -1
- package/locales/sl.json +2 -1
- package/package.json +4 -4
- package/themes/comic.css +437 -0
- package/themes/index.css +1 -0
|
@@ -272,4 +272,4 @@ declare function useEntityBindingSnapshot(traitName: string | undefined): {
|
|
|
272
272
|
state: string;
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
export {
|
|
275
|
+
export { EntityBindingContext as E, type SendEventResult as S, TraitContext as T, type EntityBindingSource as a, type EntitySchemaContextValue as b, EntitySchemaProvider as c, type EntitySchemaProviderProps as d, type ServerBridgeContextValue as e, ServerBridgeProvider as f, type ServerBridgeProviderProps as g, type ServerBridgeTransport as h, type ServerClientEffect as i, type ServerResponseMeta as j, type TraitContextValue as k, type TraitInstance as l, TraitProvider as m, type TraitProviderProps as n, useEntitySchema as o, useEntitySchemaOptional as p, useServerBridge as q, useTrait as r, useTraitContext as s, useEntityBindingSnapshot as u };
|
|
@@ -272,4 +272,4 @@ declare function useEntityBindingSnapshot(traitName: string | undefined): {
|
|
|
272
272
|
state: string;
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
export {
|
|
275
|
+
export { EntityBindingContext as E, type SendEventResult as S, TraitContext as T, type EntityBindingSource as a, type EntitySchemaContextValue as b, EntitySchemaProvider as c, type EntitySchemaProviderProps as d, type ServerBridgeContextValue as e, ServerBridgeProvider as f, type ServerBridgeProviderProps as g, type ServerBridgeTransport as h, type ServerClientEffect as i, type ServerResponseMeta as j, type TraitContextValue as k, type TraitInstance as l, TraitProvider as m, type TraitProviderProps as n, useEntitySchema as o, useEntitySchemaOptional as p, useServerBridge as q, useTrait as r, useTraitContext as s, useEntityBindingSnapshot as u };
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
+
import { AudioManifest } from '@almadar/core';
|
|
2
3
|
import { U as UiError } from './types-B3nHgnMG.js';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
volume?: number;
|
|
9
|
-
/** Whether this sound loops (background music) */
|
|
10
|
-
loop?: boolean;
|
|
11
|
-
/** Number of concurrent Audio instances in the pool (default 1) */
|
|
12
|
-
poolSize?: number;
|
|
13
|
-
/** Start automatically on first user interaction */
|
|
14
|
-
autostart?: boolean;
|
|
15
|
-
/** Use crossfade transitions when played via playMusic() */
|
|
16
|
-
crossfade?: boolean;
|
|
17
|
-
/** Crossfade duration in ms (default 1500) */
|
|
18
|
-
crossfadeDurationMs?: number;
|
|
19
|
-
}
|
|
20
|
-
type AudioManifest = Record<string, SoundEntry>;
|
|
5
|
+
/** Core owns the sound-manifest shape (`@almadar/core` `types/asset.ts`) so the
|
|
6
|
+
* pattern extractor and the generated `.lolo` factories resolve the same
|
|
7
|
+
* declaration; re-exported here for the hook's existing consumers. */
|
|
8
|
+
|
|
21
9
|
interface GameAudioControls {
|
|
22
10
|
/** Play a sound effect (instant, pooled) */
|
|
23
11
|
play: (key: string) => void;
|
|
@@ -100,4 +88,4 @@ declare namespace GameAudioProvider {
|
|
|
100
88
|
var displayName: string;
|
|
101
89
|
}
|
|
102
90
|
|
|
103
|
-
export {
|
|
91
|
+
export { GameAudioContext as G, type UseGameAudioOptions as U, type GameAudioContextValue as a, GameAudioProvider as b, type GameAudioProviderProps as c, useGameAudioContextOptional as d, type GameAudioControls as e, useGameAudio as f, useGameAudioContext as u };
|
|
@@ -1,23 +1,11 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
+
import { AudioManifest } from '@almadar/core';
|
|
2
3
|
import { U as UiError } from './types-B3nHgnMG.cjs';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
volume?: number;
|
|
9
|
-
/** Whether this sound loops (background music) */
|
|
10
|
-
loop?: boolean;
|
|
11
|
-
/** Number of concurrent Audio instances in the pool (default 1) */
|
|
12
|
-
poolSize?: number;
|
|
13
|
-
/** Start automatically on first user interaction */
|
|
14
|
-
autostart?: boolean;
|
|
15
|
-
/** Use crossfade transitions when played via playMusic() */
|
|
16
|
-
crossfade?: boolean;
|
|
17
|
-
/** Crossfade duration in ms (default 1500) */
|
|
18
|
-
crossfadeDurationMs?: number;
|
|
19
|
-
}
|
|
20
|
-
type AudioManifest = Record<string, SoundEntry>;
|
|
5
|
+
/** Core owns the sound-manifest shape (`@almadar/core` `types/asset.ts`) so the
|
|
6
|
+
* pattern extractor and the generated `.lolo` factories resolve the same
|
|
7
|
+
* declaration; re-exported here for the hook's existing consumers. */
|
|
8
|
+
|
|
21
9
|
interface GameAudioControls {
|
|
22
10
|
/** Play a sound effect (instant, pooled) */
|
|
23
11
|
play: (key: string) => void;
|
|
@@ -100,4 +88,4 @@ declare namespace GameAudioProvider {
|
|
|
100
88
|
var displayName: string;
|
|
101
89
|
}
|
|
102
90
|
|
|
103
|
-
export {
|
|
91
|
+
export { GameAudioContext as G, type UseGameAudioOptions as U, type GameAudioContextValue as a, GameAudioProvider as b, type GameAudioProviderProps as c, useGameAudioContextOptional as d, type GameAudioControls as e, useGameAudio as f, useGameAudioContext as u };
|