@companycam/slab-web 2.0.0 → 2.0.2
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/index.js +570 -570
- package/index.mjs +1 -1
- package/lib/Lottie/Lottie.d.ts +1 -1
- package/package.json +2 -13
package/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import * as S from "react";
|
|
|
7
7
|
import x, { useLayoutEffect as la, useEffect as fe, useRef as K, forwardRef as ze, useState as se, isValidElement as ca, cloneElement as cr, Children as Kf, useMemo as Me, createRef as Gt, Component as Ne, useCallback as ge, createElement as Kc, useContext as De, createContext as Ke, Fragment as ft, useId as pt, useSyncExternalStore as qf, useReducer as Uf } from "react";
|
|
8
8
|
import * as Tr from "react-dom";
|
|
9
9
|
import Qf, { createPortal as Xf, flushSync as xi } from "react-dom";
|
|
10
|
-
import Zf from "lottie-web/build/player/lottie_light";
|
|
10
|
+
import Zf from "lottie-web/build/player/lottie_light.js";
|
|
11
11
|
const Jf = w.span`
|
|
12
12
|
width: 1px;
|
|
13
13
|
height: 1px;
|
package/lib/Lottie/Lottie.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { AnimationConfigWithData, SVGRendererConfig } from 'lottie-web/build/player/lottie_light';
|
|
2
|
+
import { AnimationConfigWithData, SVGRendererConfig } from 'lottie-web/build/player/lottie_light.js';
|
|
3
3
|
type LottieWebProps = Omit<AnimationConfigWithData, 'container' | 'renderer'> & SVGRendererConfig;
|
|
4
4
|
export type LottieProps = LottieWebProps & {
|
|
5
5
|
/** Required for accessibility. Adds a `title` to the animated SVG. */
|
package/package.json
CHANGED
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@companycam/slab-web",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"main": "./index.js",
|
|
5
|
+
"module": "./index.mjs",
|
|
5
6
|
"types": "./index.d.ts",
|
|
6
|
-
"exports": {
|
|
7
|
-
".": {
|
|
8
|
-
"import": {
|
|
9
|
-
"types": "./index.d.ts",
|
|
10
|
-
"default": "./index.mjs"
|
|
11
|
-
},
|
|
12
|
-
"require": {
|
|
13
|
-
"types": "./index.d.ts",
|
|
14
|
-
"default": "./index.js"
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
7
|
"devDependencies": {
|
|
19
8
|
"lottie-web": "^5.9.6",
|
|
20
9
|
"react": "19.1.0",
|