@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.
- package/dist/{EntityBindingContext-BbxrwSb9.d.ts → AwaitingSkeletonContext-Bh399p1x.d.ts} +17 -2
- package/dist/{Canvas3DHost-CWO0tswb.d.ts → Canvas3DHost-B-y2TNij.d.ts} +1 -1
- package/dist/{GameAudioProvider-_hPzjqp-.d.ts → GameAudioProvider-DyBvYP2c.d.ts} +1 -1
- package/dist/Typography-JGSDH4JP.js +5 -0
- package/dist/{UISlotRenderer-CR7SCAMR.js → UISlotRenderer-JT34I3O7.js} +9 -9
- package/dist/avl/index.cjs +39792 -40170
- package/dist/avl/index.d.ts +5 -2
- package/dist/avl/index.js +25 -17
- package/dist/{chunk-XUSSAWKL.js → chunk-2LFBQ4IS.js} +1 -1
- package/dist/{chunk-EERAGPBW.js → chunk-3EF5SDIJ.js} +31499 -32794
- package/dist/{chunk-V5AGW2JN.js → chunk-4OZDHCZV.js} +1 -1
- package/dist/{chunk-MSBMVG3B.js → chunk-6O37FCX4.js} +1 -0
- package/dist/{chunk-BHZG4PDZ.js → chunk-7LM6I3NA.js} +629 -626
- package/dist/chunk-CBIJP5PL.js +284 -0
- package/dist/{chunk-CLSLVFSP.js → chunk-GMDMOYXD.js} +2 -2
- package/dist/{chunk-NCNP2RKZ.js → chunk-GODZKHAL.js} +2 -2
- package/dist/{chunk-QWDKMVLX.js → chunk-IKULQIDX.js} +141 -82
- package/dist/{chunk-TWHYH25Q.js → chunk-JRW33U35.js} +80 -80
- package/dist/{chunk-G4GMXYMY.js → chunk-KQXXO42S.js} +93 -171
- package/dist/chunk-OKWD7LPO.js +80 -0
- package/dist/{chunk-YHY5K2Y7.js → chunk-PEST66PN.js} +6 -0
- package/dist/{chunk-WB2A6V3I.js → chunk-UGHAADU5.js} +47 -1
- package/dist/{chunk-2QB2PXOO.js → chunk-VHTJRS2N.js} +3 -5
- package/dist/{chunk-5GCI6C7J.js → chunk-WPNM2KC6.js} +2 -2
- package/dist/components/index.cjs +42017 -42467
- package/dist/components/index.d.ts +182 -319
- package/dist/components/index.js +621 -13
- package/dist/context/index.cjs +8 -3
- package/dist/context/index.js +3 -3
- package/dist/hooks/index.cjs +54 -4
- package/dist/hooks/index.js +7 -7
- package/dist/lib/drawable/three/index.cjs +47 -1
- package/dist/lib/drawable/three/index.d.ts +5 -5
- package/dist/lib/drawable/three/index.js +7 -7
- package/dist/lib/index.cjs +48 -1
- package/dist/lib/index.d.ts +2 -2
- package/dist/lib/index.js +6 -5
- package/dist/locales/index.cjs +141 -3
- package/dist/locales/index.js +95 -3
- package/dist/{paintDispatch-DHo3WhaU.d.ts → paintDispatch-_6EhJCiL.d.ts} +3 -3
- package/dist/providers/index.cjs +34611 -35020
- package/dist/providers/index.d.ts +33 -8
- package/dist/providers/index.js +36 -12
- package/dist/renderer/index.cjs +6 -0
- package/dist/renderer/index.d.ts +1 -1
- package/dist/renderer/index.js +1 -1
- package/dist/runtime/index.cjs +41106 -41488
- package/dist/runtime/index.d.ts +4 -2
- package/dist/runtime/index.js +11 -11
- package/dist/ssr/index.cjs +375 -137
- package/dist/ssr/index.d.cts +5 -1
- package/dist/ssr/index.d.ts +5 -1
- package/dist/ssr/index.js +311 -73
- package/dist/{verificationRegistry-BYD3cVhS.d.ts → verificationRegistry-CD7Xb40L.d.ts} +1 -1
- package/locales/ar.json +47 -1
- package/locales/en.json +47 -1
- package/locales/sl.json +47 -1
- package/package.json +6 -6
- package/tailwind-preset.cjs +13 -0
- package/themes/_base.css +28 -8
- package/themes/_contract.md +5 -0
- package/dist/Typography-7FRZOS2H.js +0 -5
- package/dist/{avl-3d-context-DLteNEwu.d.ts → avl-3d-context-MAt_NuU9.d.ts} +3 -3
- package/dist/{chunk-IN3BVW2Z.js → chunk-64WACXM7.js} +14 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default, { ReactNode } from 'react';
|
|
3
|
-
import { ResolvedEntity, OrbitalSchema, EventPayload, ResolvedTrait, ResolvedTraitBinding, EntityRow, TraitConfig } from '@almadar/core';
|
|
3
|
+
import { ResolvedEntity, OrbitalSchema, EventPayload, ResolvedTrait, ResolvedTraitBinding, EntityRow, TraitConfig, SkeletonNode } from '@almadar/core';
|
|
4
4
|
import { EventTransport, AccessTokenProvider } from '@almadar/runtime';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -213,4 +213,19 @@ declare function useEntityBindingSnapshot(traitName: string | undefined): {
|
|
|
213
213
|
state: string;
|
|
214
214
|
};
|
|
215
215
|
|
|
216
|
-
|
|
216
|
+
interface AwaitingSkeletonSource {
|
|
217
|
+
/** The predicted skeleton for a top-level slot, from a non-embedded awaiting render. */
|
|
218
|
+
forSlot: (slot: string) => SkeletonNode | undefined;
|
|
219
|
+
/** The predicted skeleton for an embedded trait's frame. */
|
|
220
|
+
forTrait: (traitName: string) => SkeletonNode | undefined;
|
|
221
|
+
subscribe: (callback: () => void) => () => void;
|
|
222
|
+
getVersion: () => number;
|
|
223
|
+
}
|
|
224
|
+
declare const AwaitingSkeletonContext: React.Context<AwaitingSkeletonSource | null>;
|
|
225
|
+
declare function useAwaitingSkeleton(target: {
|
|
226
|
+
slot: string;
|
|
227
|
+
} | {
|
|
228
|
+
trait: string;
|
|
229
|
+
}): SkeletonNode | undefined;
|
|
230
|
+
|
|
231
|
+
export { type AwaitingSkeletonSource as A, 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 TraitContextValue as f, type TraitInstance as g, TraitProvider as h, type TraitProviderProps as i, useEntitySchemaOptional as j, useServerBridge as k, useTrait as l, useTraitContext as m, AwaitingSkeletonContext as n, EntityBindingContext as o, type ServerBridgeProviderProps as p, useAwaitingSkeleton as q, useEntityBindingSnapshot as r, useEntitySchema as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnimationName, Asset, ScenePos, EventEmit, EventKey } from '@almadar/core';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import * as THREE from 'three';
|
|
4
|
-
import { D as DrawableNode } from './paintDispatch-
|
|
4
|
+
import { D as DrawableNode } from './paintDispatch-_6EhJCiL.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Sprite Sheet Animation Types
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { AudioManifest } from '@almadar/core';
|
|
3
|
-
import { U as UiError } from './paintDispatch-
|
|
3
|
+
import { U as UiError } from './paintDispatch-_6EhJCiL.js';
|
|
4
4
|
|
|
5
5
|
/** Core owns the sound-manifest shape (`@almadar/core` `types/asset.ts`) so the
|
|
6
6
|
* pattern extractor and the generated `.lolo` factories resolve the same
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { SlotContainedContext, SlotContentRenderer, SuspenseConfigProvider, UISlotComponent, UISlotRenderer, renderPatternValue } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { SlotContainedContext, SlotContentRenderer, SuspenseConfigProvider, UISlotComponent, UISlotRenderer, renderPatternValue } from './chunk-3EF5SDIJ.js';
|
|
2
|
+
import './chunk-7LM6I3NA.js';
|
|
3
|
+
import './chunk-GMDMOYXD.js';
|
|
4
|
+
import './chunk-JRW33U35.js';
|
|
5
5
|
import './chunk-XJTHMW4G.js';
|
|
6
6
|
import './chunk-6EV3OEBQ.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-KQXXO42S.js';
|
|
8
8
|
import './chunk-O7OLVVBR.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
9
|
+
import './chunk-64WACXM7.js';
|
|
10
|
+
import './chunk-4OZDHCZV.js';
|
|
11
|
+
import './chunk-UGHAADU5.js';
|
|
12
12
|
import './chunk-PQKU62LK.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-PEST66PN.js';
|
|
14
14
|
import './chunk-QPXIAUJD.js';
|