@e1011/es-kit 1.1.62 → 1.1.64
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/hooks/esm/index.css +311 -311
- package/dist/hooks/esm/src/core/hooks/useAnimation.js +1 -1
- package/dist/hooks/esm/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/hooks/index.css +311 -311
- package/dist/hooks/src/core/hooks/useAnimation.js +1 -1
- package/dist/hooks/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/lib/cjs/src/core/hooks/useAnimation.js +1 -1
- package/dist/lib/cjs/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/lib/cjs/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/lib/esm/src/core/hooks/useAnimation.js +1 -1
- package/dist/lib/esm/src/core/hooks/useAnimation.js.map +1 -1
- package/dist/lib/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/core/hooks/useAnimation.d.ts +4 -3
- package/dist/types/src/core/hooks/useAnimation.d.ts.map +1 -1
- package/dist/types/src/core/ui/components/atoms/animatedSnippet/AnimatedSnippet.d.ts +5 -0
- package/dist/types/src/core/ui/components/atoms/animatedSnippet/AnimatedSnippet.d.ts.map +1 -0
- package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts +5 -0
- package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts.map +1 -0
- package/dist/types/src/core/ui/types/CommonProps.d.ts +1 -0
- package/dist/types/src/core/ui/types/CommonProps.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/peregrineMQ/peregrineMQ.d.ts.map +1 -1
- package/dist/types/src/core/utils/appState/stateMachine/tiny-state-machine.base.d.ts +1 -1
- package/dist/utils/esm/index.css +311 -311
- package/dist/utils/esm/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/dist/utils/index.css +311 -311
- package/dist/utils/src/core/utils/appState/peregrineMQ/peregrineMQ.js.map +1 -1
- package/package.json +9 -9
|
@@ -8,16 +8,17 @@
|
|
|
8
8
|
* @property {boolean} [rounded] - Flag to determine if the value should be rounded during the animation.
|
|
9
9
|
*/
|
|
10
10
|
export type UseAnimationType = {
|
|
11
|
-
start
|
|
11
|
+
start?: number;
|
|
12
12
|
end: number;
|
|
13
|
-
duration
|
|
13
|
+
duration?: number;
|
|
14
14
|
ease?: string;
|
|
15
15
|
rounded?: boolean;
|
|
16
|
+
roundingFn?: (value: number | string) => number | string;
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
18
19
|
* Custom hook to create an animation using GSAP.
|
|
19
20
|
* @param {UseAnimationType} params - The parameters for the animation.
|
|
20
21
|
* @returns {number} The current value of the animation.
|
|
21
22
|
*/
|
|
22
|
-
export declare const useAnimation: ({ start, end, duration, ease, rounded }: UseAnimationType) => number;
|
|
23
|
+
export declare const useAnimation: ({ start, end, duration, ease, rounded, roundingFn, }: UseAnimationType) => number | string;
|
|
23
24
|
//# sourceMappingURL=useAnimation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnimation.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useAnimation.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"useAnimation.d.ts","sourceRoot":"","sources":["../../../../../src/core/hooks/useAnimation.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,MAAM,GAAG,MAAM,CAAA;CACzD,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,yDAOtB,gBAAgB,KAAG,MAAM,GAAG,MA+B9B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedSnippet.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/animatedSnippet/AnimatedSnippet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,EAAE,EAAE,MAAM,OAAO,CAAA;AAEhC,OAAO,EAAgB,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAGlE,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,gBAAgB,CAI/C,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,OAAO,eAAe,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
declare const _default: Meta;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const AnimatedSnippetExample: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, any>;
|
|
5
|
+
//# sourceMappingURL=animatedSnippet.stories.d.ts.map
|
package/dist/types/src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animatedSnippet.stories.d.ts","sourceRoot":"","sources":["../../../../../../../../src/core/ui/components/atoms/animatedSnippet/animatedSnippet.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,IAAI,EAAE,MAAM,kBAAkB,CAAA;wBAYpD,IAAI;AAHT,wBAGS;AAQT,eAAO,MAAM,sBAAsB,0FAAmC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonProps.d.ts","sourceRoot":"","sources":["../../../../../../src/core/ui/types/CommonProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"CommonProps.d.ts","sourceRoot":"","sources":["../../../../../../src/core/ui/types/CommonProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,CAAC,GAAG,EAAE,WAAW,GAAG,GAAG,CAAA;CACxB,CAAA;AAGD,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,GAAG,IAAI,CAAA;CACtE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peregrineMQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/utils/appState/peregrineMQ/peregrineMQ.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAAE,MAAM,EAAE,cAAc,EAChC,iBAAiB,EACjB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"peregrineMQ.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/utils/appState/peregrineMQ/peregrineMQ.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EAAE,MAAM,EAAE,cAAc,EAChC,iBAAiB,EACjB,kBAAkB,EAGnB,MAAM,qBAAqB,CAAA;AAG5B,qBAAa,qBAAsB,SAAQ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achine {
|
|
|
49
49
|
next: () => TinyStateMachineState | null;
|
|
50
50
|
}
|
|
51
51
|
export declare const stateIterator: {
|
|
52
|
-
(): Generator<string | number, number,
|
|
52
|
+
(): Generator<string | number, number, string>;
|
|
53
53
|
DO_END: string;
|
|
54
54
|
IS_FINITE: string;
|
|
55
55
|
IS_RUNNING: string;
|