@almadar/ui 5.148.0 → 5.149.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 (29) hide show
  1. package/dist/{GameAudioProvider-CPGwD49P.d.cts → GameAudioProvider-B48iXwz3.d.ts} +2 -50
  2. package/dist/{GameAudioProvider-CPGwD49P.d.ts → GameAudioProvider-CQAdPreB.d.cts} +2 -50
  3. package/dist/avl/index.cjs +438 -13
  4. package/dist/avl/index.js +438 -13
  5. package/dist/{avl-schema-parser-DVmrgdwc.d.cts → avl-schema-parser-CVzkNzg7.d.cts} +18 -9
  6. package/dist/{avl-schema-parser-BRJ77Yze.d.ts → avl-schema-parser-Cx_4SVg9.d.ts} +18 -9
  7. package/dist/{cn-BAn68sNO.d.cts → cn-BnAJZcNb.d.cts} +2 -8
  8. package/dist/{cn-CWxxLkri.d.ts → cn-DJTUjk1M.d.ts} +2 -8
  9. package/dist/components/index.cjs +448 -16
  10. package/dist/components/index.d.cts +269 -95
  11. package/dist/components/index.d.ts +269 -95
  12. package/dist/components/index.js +444 -18
  13. package/dist/lib/drawable/three/index.cjs +56 -29
  14. package/dist/lib/drawable/three/index.d.cts +4 -3
  15. package/dist/lib/drawable/three/index.d.ts +4 -3
  16. package/dist/lib/drawable/three/index.js +56 -29
  17. package/dist/lib/index.d.cts +3 -2
  18. package/dist/lib/index.d.ts +3 -2
  19. package/dist/{paintDispatch-Cb_hQj4Y.d.ts → paintDispatch-BjZjUbcb.d.cts} +63 -69
  20. package/dist/{paintDispatch-Cb_hQj4Y.d.cts → paintDispatch-CxdLjHQq.d.ts} +63 -69
  21. package/dist/providers/index.cjs +438 -13
  22. package/dist/providers/index.d.cts +2 -1
  23. package/dist/providers/index.d.ts +2 -1
  24. package/dist/providers/index.js +438 -13
  25. package/dist/runtime/index.cjs +438 -13
  26. package/dist/runtime/index.js +438 -13
  27. package/dist/types-B3nHgnMG.d.cts +51 -0
  28. package/dist/types-B3nHgnMG.d.ts +51 -0
  29. package/package.json +3 -3
@@ -1,53 +1,5 @@
1
1
  import React__default from 'react';
2
- import { AssetUrl } from '@almadar/core';
3
-
4
- /**
5
- * Cross-cutting atom-level prop shapes shared across the design system.
6
- */
7
-
8
- /**
9
- * Canonical semantic color palette. Values are the Tailwind / CSS-var token
10
- * names that every component in the design system understands. Prefer this
11
- * over a bare `string` for any `color` or `variant` prop.
12
- */
13
- type ColorToken = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'muted';
14
- /**
15
- * Concrete error-state shape read by display components (`error.message`,
16
- * occasionally `error.stack`). Structurally assignable from the global `Error`,
17
- * so existing call sites passing an `Error` keep working — this just gives the
18
- * pattern extractor a readable field schema instead of the opaque `Error` global.
19
- */
20
- type UiError = {
21
- message: string;
22
- name?: string;
23
- code?: string;
24
- stack?: string;
25
- };
26
- /**
27
- * A labelled link/CTA used by marketing molecules (HeroSection, CTABanner,
28
- * PricingCard) for their primary/secondary call-to-action props.
29
- */
30
- type LinkAction = {
31
- label: string;
32
- href: string;
33
- };
34
- /** An image with its required alt text. */
35
- type ImageSource = {
36
- src: AssetUrl;
37
- alt: string;
38
- };
39
- /** A 2D point in canvas/layout coordinates. */
40
- type Point = {
41
- x: number;
42
- y: number;
43
- };
44
- /** A 2D rectangle in canvas coordinates (`w`/`h` = width/height). */
45
- type Rect = {
46
- x: number;
47
- y: number;
48
- w: number;
49
- h: number;
50
- };
2
+ import { U as UiError } from './types-B3nHgnMG.js';
51
3
 
52
4
  interface SoundEntry {
53
5
  /** Single path or array of paths — array picks randomly on each play */
@@ -148,4 +100,4 @@ declare namespace GameAudioProvider {
148
100
  var displayName: string;
149
101
  }
150
102
 
151
- export { type AudioManifest as A, type ColorToken as C, GameAudioContext as G, type ImageSource as I, type LinkAction as L, type Point as P, type Rect as R, type SoundEntry as S, type UiError as U, type GameAudioContextValue as a, GameAudioProvider as b, type GameAudioProviderProps as c, useGameAudioContextOptional as d, type GameAudioControls as e, type UseGameAudioOptions as f, useGameAudio as g, useGameAudioContext as u };
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 };
@@ -1,53 +1,5 @@
1
1
  import React__default from 'react';
2
- import { AssetUrl } from '@almadar/core';
3
-
4
- /**
5
- * Cross-cutting atom-level prop shapes shared across the design system.
6
- */
7
-
8
- /**
9
- * Canonical semantic color palette. Values are the Tailwind / CSS-var token
10
- * names that every component in the design system understands. Prefer this
11
- * over a bare `string` for any `color` or `variant` prop.
12
- */
13
- type ColorToken = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'muted';
14
- /**
15
- * Concrete error-state shape read by display components (`error.message`,
16
- * occasionally `error.stack`). Structurally assignable from the global `Error`,
17
- * so existing call sites passing an `Error` keep working — this just gives the
18
- * pattern extractor a readable field schema instead of the opaque `Error` global.
19
- */
20
- type UiError = {
21
- message: string;
22
- name?: string;
23
- code?: string;
24
- stack?: string;
25
- };
26
- /**
27
- * A labelled link/CTA used by marketing molecules (HeroSection, CTABanner,
28
- * PricingCard) for their primary/secondary call-to-action props.
29
- */
30
- type LinkAction = {
31
- label: string;
32
- href: string;
33
- };
34
- /** An image with its required alt text. */
35
- type ImageSource = {
36
- src: AssetUrl;
37
- alt: string;
38
- };
39
- /** A 2D point in canvas/layout coordinates. */
40
- type Point = {
41
- x: number;
42
- y: number;
43
- };
44
- /** A 2D rectangle in canvas coordinates (`w`/`h` = width/height). */
45
- type Rect = {
46
- x: number;
47
- y: number;
48
- w: number;
49
- h: number;
50
- };
2
+ import { U as UiError } from './types-B3nHgnMG.cjs';
51
3
 
52
4
  interface SoundEntry {
53
5
  /** Single path or array of paths — array picks randomly on each play */
@@ -148,4 +100,4 @@ declare namespace GameAudioProvider {
148
100
  var displayName: string;
149
101
  }
150
102
 
151
- export { type AudioManifest as A, type ColorToken as C, GameAudioContext as G, type ImageSource as I, type LinkAction as L, type Point as P, type Rect as R, type SoundEntry as S, type UiError as U, type GameAudioContextValue as a, GameAudioProvider as b, type GameAudioProviderProps as c, useGameAudioContextOptional as d, type GameAudioControls as e, type UseGameAudioOptions as f, useGameAudio as g, useGameAudioContext as u };
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 };