@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@creopse/react",
3
3
  "description": "Creopse React Toolkit",
4
- "version": "0.0.3",
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.4",
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,8 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ to: string | HTMLElement;
4
+ children: React.ReactNode;
5
+ disabled?: boolean;
6
+ }
7
+ declare const MountedTeleport: React.FC<Props>;
8
+ export default MountedTeleport;
@@ -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,9 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ bottom?: number;
4
+ zIndex?: number;
5
+ className?: string;
6
+ children?: React.ReactNode;
7
+ }
8
+ declare const StickyBottom: React.FC<Props>;
9
+ export default StickyBottom;
@@ -0,0 +1 @@
1
+ export { default as StickyBottom, type Props as StickyBottomProps, } from './StickyBottom';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ top?: number;
4
+ zIndex?: number;
5
+ className?: string;
6
+ children?: React.ReactNode;
7
+ }
8
+ declare const StickyTop: React.FC<Props>;
9
+ export default StickyTop;
@@ -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';