@orb3d/react 0.3.0 → 0.3.1
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/index.d.ts +3 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface FlatProps {
|
|
|
11
11
|
speed?: number;
|
|
12
12
|
paused?: boolean;
|
|
13
13
|
}
|
|
14
|
-
interface Orb3DProps extends FlatProps {
|
|
14
|
+
export interface Orb3DProps extends FlatProps {
|
|
15
15
|
/** A preset: a function (tree-shakeable) or a name string (lazy-imports the presets chunk). */
|
|
16
16
|
preset?: string | (() => OrbConfigInput);
|
|
17
17
|
/**
|
|
@@ -58,7 +58,7 @@ interface Orb3DProps extends FlatProps {
|
|
|
58
58
|
* A `ref` receives the {@link OrbHandle}: `setState()`, `setLevel()`, `snapshot()`, `set()`,
|
|
59
59
|
* `play()`, `pause()`.
|
|
60
60
|
*/
|
|
61
|
-
declare const Orb3D: import("react").ForwardRefExoticComponent<Orb3DProps & import("react").RefAttributes<OrbHandle$1>>;
|
|
61
|
+
export declare const Orb3D: import("react").ForwardRefExoticComponent<Orb3DProps & import("react").RefAttributes<OrbHandle$1>>;
|
|
62
62
|
//#endregion
|
|
63
|
-
export { type FallbackReason, Orb3D
|
|
63
|
+
export { type FallbackReason, Orb3D as default, type OrbConfig, type OrbHandle, type OrbPhase, type SnapshotOptions };
|
|
64
64
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orb3d/react",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Drop-in glass orb with states for React: the <Orb3D> component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@orb3d/core": "^0.3.
|
|
40
|
+
"@orb3d/core": "^0.3.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@types/react": "^19.
|
|
44
|
-
"react": "^19.
|
|
43
|
+
"@types/react": "^19.3.0",
|
|
44
|
+
"react": "^19.3.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@types/react": ">=18",
|