@creopse/react 0.0.3 → 0.0.5
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.cjs +4603 -105
- package/dist/index.js +4604 -107
- package/dist/index.mjs +4604 -106
- package/package.json +2 -2
- package/types/components/core/RootContainer/RootContainer.d.ts +9 -0
- package/types/components/core/RootContainer/index.d.ts +1 -0
- package/types/components/widgets/MountedTeleport/MountedTeleport.d.ts +8 -0
- package/types/components/widgets/MountedTeleport/index.d.ts +1 -0
- package/types/components/widgets/ReadMore/ReadMore.d.ts +12 -0
- package/types/components/widgets/ReadMore/index.d.ts +1 -0
- package/types/components/widgets/StickyBottom/StickyBottom.d.ts +9 -0
- package/types/components/widgets/StickyBottom/index.d.ts +1 -0
- package/types/components/widgets/StickyTop/StickyTop.d.ts +9 -0
- package/types/components/widgets/StickyTop/index.d.ts +1 -0
- package/types/index.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creopse/react",
|
|
3
3
|
"description": "Creopse React Toolkit",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Noé Gnanih <noegnanih@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"react-dom": "^19.1.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@creopse/utils": "^0.0.
|
|
39
|
+
"@creopse/utils": "^0.0.6",
|
|
40
40
|
"framer-motion": "^12.23.9"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type SectionModel } from '@creopse/utils';
|
|
3
|
+
export interface Props {
|
|
4
|
+
page: any;
|
|
5
|
+
sections: SectionModel[];
|
|
6
|
+
components: Record<string, React.ComponentType<any>>;
|
|
7
|
+
}
|
|
8
|
+
declare const RootContainer: React.FC<Props>;
|
|
9
|
+
export default RootContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as RootContainer, type Props as RootContainerProps, } from './RootContainer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MountedTeleport, type Props as MountedTeleportProps, } from './MountedTeleport';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface Props {
|
|
3
|
+
moreStr?: string;
|
|
4
|
+
lessStr?: string;
|
|
5
|
+
text: string;
|
|
6
|
+
link?: string;
|
|
7
|
+
maxChars?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
linkClassName?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const ReadMore: React.FC<Props>;
|
|
12
|
+
export default ReadMore;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ReadMore, type Props as ReadMoreProps } from './ReadMore';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StickyBottom, type Props as StickyBottomProps, } from './StickyBottom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StickyTop, type Props as StickyTopProps } from './StickyTop';
|
package/types/index.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
1
|
export { AsyncImg, type AsyncImgProps } from './components/widgets/AsyncImg';
|
|
2
2
|
export { CustomTransition, type CustomTransitionProps, } from './components/widgets/CustomTransition';
|
|
3
|
+
export { MountedTeleport, type MountedTeleportProps, } from './components/widgets/MountedTeleport';
|
|
4
|
+
export { ReadMore, type ReadMoreProps } from './components/widgets/ReadMore';
|
|
5
|
+
export { StickyBottom, type StickyBottomProps, } from './components/widgets/StickyBottom';
|
|
6
|
+
export { StickyTop, type StickyTopProps } from './components/widgets/StickyTop';
|
|
7
|
+
export { RootContainer, type RootContainerProps, } from './components/core/RootContainer';
|