@alveole/components 0.32.0 → 0.32.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.
@@ -4,11 +4,11 @@ export type LottieDimensionValue = number | `${string}%` | undefined;
4
4
  export declare const isLottieDimensionValue: (dimension: unknown) => dimension is LottieDimensionValue;
5
5
  export type LottieLoopProps = {
6
6
  loop: true;
7
- onLoop?: React.ComponentProps<typeof LottieView>['onAnimationLoop'];
7
+ onAnimationLoop?: React.ComponentProps<typeof LottieView>['onAnimationLoop'];
8
8
  };
9
9
  export type LottieOneTimeProps = {
10
10
  loop: false;
11
- onFinish?: React.ComponentProps<typeof LottieView>['onAnimationFinish'];
11
+ onAnimationFinish?: React.ComponentProps<typeof LottieView>['onAnimationFinish'];
12
12
  };
13
13
  export type LottieProps = (LottieLoopProps | LottieOneTimeProps) & {
14
14
  style: React.ComponentProps<typeof LottieView>['style'];
@@ -1 +1 @@
1
- {"version":3,"file":"Lottie.d.ts","sourceRoot":"","sources":["../../../src/core/Lottie/Lottie.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,GAAG,MAAM,GAAG,GAAG,SAAS,CAAC;AACrE,eAAO,MAAM,sBAAsB,GAAI,WAAW,OAAO,KAAG,SAAS,IAAI,oBAMxE,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAC;IACX,MAAM,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,iBAAiB,CAAC,CAAC;CACrE,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,KAAK,CAAC;IACZ,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,mBAAmB,CAAC,CAAC;C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F,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,4CAUxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Lottie.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Lottie/Lottie.stories.tsx"],"names":[],"mappings":";;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,+CAAiF,CAAC;AAEtG,eAAO,MAAM,IAAI,+CAAiF,CAAC;AAEnG,eAAO,MAAM,IAAI,+CAAsG,CAAC;AAExH,eAAO,MAAM,OAAO,+CAEnB,CAAC"}
1
+ {"version":3,"file":"Lottie.stories.d.ts","sourceRoot":"","sources":["../../../src/core/Lottie/Lottie.stories.tsx"],"names":[],"mappings":";;;;;;;;AAIA,wBAOkB;AAElB,eAAO,MAAM,OAAO,+CAAiF,CAAC;AAEtG,eAAO,MAAM,IAAI,+CAAiF,CAAC;AAEnG,eAAO,MAAM,IAAI,+CAEhB,CAAC;AAEF,eAAO,MAAM,OAAO,+CAEnB,CAAC"}
@@ -11,5 +11,5 @@ export default {
11
11
  };
12
12
  export const Default = () => _jsx(Lottie, { loop: true, style: { width: 32, height: 32 }, source: dotsAnimation });
13
13
  export const Size = () => _jsx(Lottie, { loop: true, style: { width: 60, height: 60 }, source: dotsAnimation });
14
- export const Loop = () => _jsx(Lottie, { loop: true, style: { width: 60, height: 60 }, source: dotsAnimation, onLoop: console.log });
15
- export const OneTime = () => (_jsx(Lottie, { loop: false, style: { width: 60, height: 60 }, source: dotsAnimation, onFinish: console.log }));
14
+ export const Loop = () => (_jsx(Lottie, { loop: true, style: { width: 60, height: 60 }, source: dotsAnimation, onAnimationLoop: console.log }));
15
+ export const OneTime = () => (_jsx(Lottie, { loop: false, style: { width: 60, height: 60 }, source: dotsAnimation, onAnimationFinish: console.log }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alveole/components",
3
- "version": "0.32.0",
3
+ "version": "0.32.2",
4
4
  "description": "Shared UI components.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",