@almadar/ui 6.52.0 → 6.53.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 (64) hide show
  1. package/dist/{EntityBindingContext-BbxrwSb9.d.ts → AwaitingSkeletonContext-Bh399p1x.d.ts} +17 -2
  2. package/dist/{Canvas3DHost-CWO0tswb.d.ts → Canvas3DHost-B-y2TNij.d.ts} +1 -1
  3. package/dist/{GameAudioProvider-_hPzjqp-.d.ts → GameAudioProvider-DyBvYP2c.d.ts} +1 -1
  4. package/dist/Typography-JGSDH4JP.js +5 -0
  5. package/dist/{UISlotRenderer-CR7SCAMR.js → UISlotRenderer-JT34I3O7.js} +9 -9
  6. package/dist/avl/index.cjs +39792 -40170
  7. package/dist/avl/index.d.ts +5 -2
  8. package/dist/avl/index.js +25 -17
  9. package/dist/{chunk-XUSSAWKL.js → chunk-2LFBQ4IS.js} +1 -1
  10. package/dist/{chunk-EERAGPBW.js → chunk-3EF5SDIJ.js} +31499 -32794
  11. package/dist/{chunk-V5AGW2JN.js → chunk-4OZDHCZV.js} +1 -1
  12. package/dist/{chunk-MSBMVG3B.js → chunk-6O37FCX4.js} +1 -0
  13. package/dist/{chunk-BHZG4PDZ.js → chunk-7LM6I3NA.js} +629 -626
  14. package/dist/chunk-CBIJP5PL.js +284 -0
  15. package/dist/{chunk-CLSLVFSP.js → chunk-GMDMOYXD.js} +2 -2
  16. package/dist/{chunk-NCNP2RKZ.js → chunk-GODZKHAL.js} +2 -2
  17. package/dist/{chunk-QWDKMVLX.js → chunk-IKULQIDX.js} +141 -82
  18. package/dist/{chunk-TWHYH25Q.js → chunk-JRW33U35.js} +80 -80
  19. package/dist/{chunk-G4GMXYMY.js → chunk-KQXXO42S.js} +93 -171
  20. package/dist/chunk-OKWD7LPO.js +80 -0
  21. package/dist/{chunk-YHY5K2Y7.js → chunk-PEST66PN.js} +6 -0
  22. package/dist/{chunk-WB2A6V3I.js → chunk-UGHAADU5.js} +47 -1
  23. package/dist/{chunk-2QB2PXOO.js → chunk-VHTJRS2N.js} +3 -5
  24. package/dist/{chunk-5GCI6C7J.js → chunk-WPNM2KC6.js} +2 -2
  25. package/dist/components/index.cjs +42017 -42467
  26. package/dist/components/index.d.ts +182 -319
  27. package/dist/components/index.js +621 -13
  28. package/dist/context/index.cjs +8 -3
  29. package/dist/context/index.js +3 -3
  30. package/dist/hooks/index.cjs +54 -4
  31. package/dist/hooks/index.js +7 -7
  32. package/dist/lib/drawable/three/index.cjs +47 -1
  33. package/dist/lib/drawable/three/index.d.ts +5 -5
  34. package/dist/lib/drawable/three/index.js +7 -7
  35. package/dist/lib/index.cjs +48 -1
  36. package/dist/lib/index.d.ts +2 -2
  37. package/dist/lib/index.js +6 -5
  38. package/dist/locales/index.cjs +141 -3
  39. package/dist/locales/index.js +95 -3
  40. package/dist/{paintDispatch-DHo3WhaU.d.ts → paintDispatch-_6EhJCiL.d.ts} +3 -3
  41. package/dist/providers/index.cjs +34611 -35020
  42. package/dist/providers/index.d.ts +33 -8
  43. package/dist/providers/index.js +36 -12
  44. package/dist/renderer/index.cjs +6 -0
  45. package/dist/renderer/index.d.ts +1 -1
  46. package/dist/renderer/index.js +1 -1
  47. package/dist/runtime/index.cjs +41106 -41488
  48. package/dist/runtime/index.d.ts +4 -2
  49. package/dist/runtime/index.js +11 -11
  50. package/dist/ssr/index.cjs +375 -137
  51. package/dist/ssr/index.d.cts +5 -1
  52. package/dist/ssr/index.d.ts +5 -1
  53. package/dist/ssr/index.js +311 -73
  54. package/dist/{verificationRegistry-BYD3cVhS.d.ts → verificationRegistry-CD7Xb40L.d.ts} +1 -1
  55. package/locales/ar.json +47 -1
  56. package/locales/en.json +47 -1
  57. package/locales/sl.json +47 -1
  58. package/package.json +6 -6
  59. package/tailwind-preset.cjs +13 -0
  60. package/themes/_base.css +28 -8
  61. package/themes/_contract.md +5 -0
  62. package/dist/Typography-7FRZOS2H.js +0 -5
  63. package/dist/{avl-3d-context-DLteNEwu.d.ts → avl-3d-context-MAt_NuU9.d.ts} +3 -3
  64. package/dist/{chunk-IN3BVW2Z.js → chunk-64WACXM7.js} +14 -14
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { A11yProps, EventKey, EventPayload, EventEmit, Asset, AssetUrl } from '@almadar/core';
2
+ import { A11yProps, EventKey, EventPayload, EventEmit, Asset, AssetUrl, SurfaceMode, SkeletonSpec } from '@almadar/core';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
 
5
5
  /**
@@ -793,10 +793,14 @@ interface StatDisplayProps extends A11yProps {
793
793
  compact?: boolean;
794
794
  /** Layer 2 visual treatment. */
795
795
  look?: StatDisplayLook;
796
+ /** Content surface: `auto` paints the theme's surface behind this block unless it already sits on one (a card, dialog or another block); `none` opts out. */
797
+ surface?: SurfaceMode;
796
798
  /** Additional CSS classes */
797
799
  className?: string;
798
800
  /** Loading state */
799
801
  isLoading?: boolean;
802
+ /** Skeleton drawn while loading, and the shape an empty slot shows while this element's server render is in flight (`none` opts out). */
803
+ skeleton?: SkeletonSpec;
800
804
  /** Error state */
801
805
  error?: UiError | null;
802
806
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { A11yProps, EventKey, EventPayload, EventEmit, Asset, AssetUrl } from '@almadar/core';
2
+ import { A11yProps, EventKey, EventPayload, EventEmit, Asset, AssetUrl, SurfaceMode, SkeletonSpec } from '@almadar/core';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
 
5
5
  /**
@@ -793,10 +793,14 @@ interface StatDisplayProps extends A11yProps {
793
793
  compact?: boolean;
794
794
  /** Layer 2 visual treatment. */
795
795
  look?: StatDisplayLook;
796
+ /** Content surface: `auto` paints the theme's surface behind this block unless it already sits on one (a card, dialog or another block); `none` opts out. */
797
+ surface?: SurfaceMode;
796
798
  /** Additional CSS classes */
797
799
  className?: string;
798
800
  /** Loading state */
799
801
  isLoading?: boolean;
802
+ /** Skeleton drawn while loading, and the shape an empty slot shows while this element's server render is in flight (`none` opts out). */
803
+ skeleton?: SkeletonSpec;
800
804
  /** Error state */
801
805
  error?: UiError | null;
802
806
  }