@almadar/ui 6.5.0 → 6.6.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.
Files changed (46) hide show
  1. package/dist/{EntityBindingContext-0Evn_LcT.d.cts → EntityBindingContext-Bn3ePJQC.d.cts} +1 -1
  2. package/dist/{EntityBindingContext-0Evn_LcT.d.ts → EntityBindingContext-Bn3ePJQC.d.ts} +1 -1
  3. package/dist/{GameAudioProvider-B48iXwz3.d.ts → GameAudioProvider-Ctceau1s.d.ts} +6 -18
  4. package/dist/{GameAudioProvider-CQAdPreB.d.cts → GameAudioProvider-Dk_Y3LN3.d.cts} +6 -18
  5. package/dist/avl/index.cjs +1216 -206
  6. package/dist/avl/index.js +1217 -207
  7. package/dist/{avl-schema-parser-dvJKXn-o.d.ts → avl-schema-parser-DncJLEn9.d.ts} +18 -0
  8. package/dist/{avl-schema-parser-Bt4NzAam.d.cts → avl-schema-parser-FQ1474v8.d.cts} +18 -0
  9. package/dist/{cn-DJSBBm5W.d.cts → cn-CCjFspAo.d.cts} +25 -1
  10. package/dist/{cn-BbhJq_nr.d.ts → cn-sgpqpN0U.d.ts} +25 -1
  11. package/dist/components/index.cjs +1025 -235
  12. package/dist/components/index.d.cts +176 -23
  13. package/dist/components/index.d.ts +176 -23
  14. package/dist/components/index.js +1023 -236
  15. package/dist/context/index.cjs +10 -13
  16. package/dist/context/index.js +10 -13
  17. package/dist/hooks/index.cjs +63 -13
  18. package/dist/hooks/index.d.cts +2 -2
  19. package/dist/hooks/index.d.ts +2 -2
  20. package/dist/hooks/index.js +64 -15
  21. package/dist/lib/drawable/three/index.cjs +126 -13
  22. package/dist/lib/drawable/three/index.d.cts +2 -2
  23. package/dist/lib/drawable/three/index.d.ts +2 -2
  24. package/dist/lib/drawable/three/index.js +127 -14
  25. package/dist/lib/index.cjs +180 -0
  26. package/dist/lib/index.d.cts +1 -1
  27. package/dist/lib/index.d.ts +1 -1
  28. package/dist/lib/index.js +178 -1
  29. package/dist/locales/index.cjs +6 -3
  30. package/dist/locales/index.js +6 -3
  31. package/dist/providers/index.cjs +922 -188
  32. package/dist/providers/index.d.cts +2 -2
  33. package/dist/providers/index.d.ts +2 -2
  34. package/dist/providers/index.js +922 -188
  35. package/dist/runtime/index.cjs +1505 -182
  36. package/dist/runtime/index.d.cts +78 -6
  37. package/dist/runtime/index.d.ts +78 -6
  38. package/dist/runtime/index.js +1504 -184
  39. package/dist/{useEventBus-CQWyAWpK.d.ts → useKeyboardRouter-D84cNWmA.d.ts} +31 -1
  40. package/dist/{useEventBus-Ckr4wqW3.d.cts → useKeyboardRouter-DQEE_9mq.d.cts} +31 -1
  41. package/locales/ar.json +2 -1
  42. package/locales/en.json +2 -1
  43. package/locales/sl.json +2 -1
  44. package/package.json +4 -4
  45. package/themes/comic.css +437 -0
  46. 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 { type EntityBindingSource as E, type ServerBridgeTransport as S, TraitContext as T, type EntitySchemaContextValue as a, EntitySchemaProvider as b, type EntitySchemaProviderProps as c, type ServerBridgeContextValue as d, ServerBridgeProvider as e, type ServerClientEffect as f, type TraitContextValue as g, type TraitInstance as h, TraitProvider as i, type TraitProviderProps as j, useEntitySchemaOptional as k, useServerBridge as l, useTrait as m, useTraitContext as n, EntityBindingContext as o, type SendEventResult as p, type ServerBridgeProviderProps as q, type ServerResponseMeta as r, useEntityBindingSnapshot as s, useEntitySchema as u };
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 { type EntityBindingSource as E, type ServerBridgeTransport as S, TraitContext as T, type EntitySchemaContextValue as a, EntitySchemaProvider as b, type EntitySchemaProviderProps as c, type ServerBridgeContextValue as d, ServerBridgeProvider as e, type ServerClientEffect as f, type TraitContextValue as g, type TraitInstance as h, TraitProvider as i, type TraitProviderProps as j, useEntitySchemaOptional as k, useServerBridge as l, useTrait as m, useTraitContext as n, EntityBindingContext as o, type SendEventResult as p, type ServerBridgeProviderProps as q, type ServerResponseMeta as r, useEntityBindingSnapshot as s, useEntitySchema as u };
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
- interface SoundEntry {
5
- /** Single path or array of paths array picks randomly on each play */
6
- path: string | string[];
7
- /** Volume 0–1 (multiplied by masterVolume; default 1) */
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 { type AudioManifest as A, GameAudioContext as G, type SoundEntry as S, 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 };
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
- interface SoundEntry {
5
- /** Single path or array of paths array picks randomly on each play */
6
- path: string | string[];
7
- /** Volume 0–1 (multiplied by masterVolume; default 1) */
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 { type AudioManifest as A, GameAudioContext as G, type SoundEntry as S, 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 };
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 };