@purpurds/illustrative-icon 7.6.1 → 7.7.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/animated-illustrative-icon-DHFverVA.js.map +1 -1
- package/dist/animated-illustrative-icon-DIij22F1.mjs.map +1 -1
- package/dist/animated-illustrative-icon.d.ts +4 -21
- package/dist/animated-illustrative-icon.d.ts.map +1 -1
- package/dist/illustrative-icon.cjs.js.map +1 -1
- package/dist/illustrative-icon.es.js.map +1 -1
- package/dist/static-illustrative-icon-D7TEjcF7.js.map +1 -1
- package/dist/static-illustrative-icon-z57e5Jl2.mjs.map +1 -1
- package/dist/static-illustrative-icon.d.ts +4 -9
- package/dist/static-illustrative-icon.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/animated-illustrative-icon.tsx +5 -15
- package/src/illustrative-icon.stories.tsx +0 -1
- package/src/static-illustrative-icon.tsx +5 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as React
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BaseProps } from '@purpurds/common-types';
|
|
2
3
|
|
|
3
|
-
export type AnimatedIllustrativeBaseIconProps =
|
|
4
|
-
["data-testid"]?: string;
|
|
4
|
+
export type AnimatedIllustrativeBaseIconProps = Omit<BaseProps, "children"> & {
|
|
5
5
|
/**
|
|
6
6
|
* Only available for animated icons.
|
|
7
7
|
*/
|
|
@@ -19,22 +19,5 @@ export type AnimatedIllustrativeBaseIconProps = HTMLAttributes<HTMLDivElement> &
|
|
|
19
19
|
export type AnimatedIllustrativeIconProps = {
|
|
20
20
|
json: object;
|
|
21
21
|
} & AnimatedIllustrativeBaseIconProps;
|
|
22
|
-
export declare const AnimatedIllustrativeIcon: React.ForwardRefExoticComponent<
|
|
23
|
-
json: object;
|
|
24
|
-
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
25
|
-
"data-testid"?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Only available for animated icons.
|
|
28
|
-
*/
|
|
29
|
-
autoplay?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Delay in milliseconds before the animation starts.
|
|
32
|
-
* Only available for animated icons.
|
|
33
|
-
*/
|
|
34
|
-
delay?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Only available for animated icons.
|
|
37
|
-
*/
|
|
38
|
-
onAnimationEnd?: () => void;
|
|
39
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export declare const AnimatedIllustrativeIcon: React.ForwardRefExoticComponent<Omit<AnimatedIllustrativeIconProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
40
23
|
//# sourceMappingURL=animated-illustrative-icon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"animated-illustrative-icon.d.ts","sourceRoot":"","sources":["../src/animated-illustrative-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"animated-illustrative-icon.d.ts","sourceRoot":"","sources":["../src/animated-illustrative-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,MAAM,MAAM,iCAAiC,GAAG,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,GAAG;IAC5E;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,iCAAiC,CAAC;AAEtC,eAAO,MAAM,wBAAwB,mHA4FpC,CAAC"}
|