@ttoss/layouts 0.1.8 → 0.1.9
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.d.mts +42 -0
- package/package.json +8 -8
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { BoxProps } from '@ttoss/ui';
|
|
4
|
+
|
|
5
|
+
type BaseLayoutProps = BoxProps;
|
|
6
|
+
|
|
7
|
+
type LayoutProps = BaseLayoutProps;
|
|
8
|
+
declare const Layout: {
|
|
9
|
+
({ children, ...props }: LayoutProps): react_jsx_runtime.JSX.Element;
|
|
10
|
+
Header: {
|
|
11
|
+
(props: BoxProps): react_jsx_runtime.JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
14
|
+
Main: {
|
|
15
|
+
(props: BoxProps): react_jsx_runtime.JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
Footer: {
|
|
19
|
+
(props: BoxProps): react_jsx_runtime.JSX.Element;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
Container: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
declare const Header: {
|
|
26
|
+
(props: BoxProps): react_jsx_runtime.JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
declare const Footer: {
|
|
31
|
+
(props: BoxProps): react_jsx_runtime.JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
declare const Main: {
|
|
36
|
+
(props: BoxProps): react_jsx_runtime.JSX.Element;
|
|
37
|
+
displayName: string;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
declare const StackedLayout: ({ children, ...props }: BaseLayoutProps) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
export { Footer, Header, Layout, Main, StackedLayout };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/layouts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Layout components for React",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"typings": "dist/index.d.ts",
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"react": ">=16.8.0",
|
|
24
|
-
"@ttoss/ui": "^2.0.
|
|
24
|
+
"@ttoss/ui": "^2.0.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@types/jest": "^29.5.
|
|
27
|
+
"@types/jest": "^29.5.3",
|
|
28
28
|
"@types/react": "^18.2.12",
|
|
29
|
-
"jest": "^29.
|
|
29
|
+
"jest": "^29.6.1",
|
|
30
30
|
"react": "^18.2.0",
|
|
31
|
-
"tsup": "^7.
|
|
32
|
-
"@ttoss/config": "^1.30.
|
|
33
|
-
"@ttoss/test-utils": "^1.23.
|
|
34
|
-
"@ttoss/ui": "^2.0.
|
|
31
|
+
"tsup": "^7.1.0",
|
|
32
|
+
"@ttoss/config": "^1.30.5",
|
|
33
|
+
"@ttoss/test-utils": "^1.23.6",
|
|
34
|
+
"@ttoss/ui": "^2.0.3"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"React"
|