@zenkigen-inc/component-ui 1.0.2 → 1.1.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/breadcrumb/breadcrumb-item.d.ts +2 -7
- package/dist/breadcrumb/breadcrumb.d.ts +7 -6
- package/dist/index.esm.js +45 -53
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +47 -55
- package/dist/index.js.map +1 -1
- package/dist/tab/tab.d.ts +9 -0
- package/dist/table/index.d.ts +2 -2
- package/dist/table/{table-row-container.d.ts → table-row.d.ts} +1 -1
- package/dist/table/table.d.ts +14 -0
- package/package.json +4 -4
- package/dist/table/table-container.d.ts +0 -8
package/dist/tab/tab.d.ts
CHANGED
|
@@ -3,4 +3,13 @@ type Props = {
|
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
};
|
|
5
5
|
export declare function Tab({ children }: Props): import("react").JSX.Element;
|
|
6
|
+
export declare namespace Tab {
|
|
7
|
+
var Item: (props: {
|
|
8
|
+
id: string;
|
|
9
|
+
isSelected?: boolean | undefined;
|
|
10
|
+
isDisabled?: boolean | undefined;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
onClick: (id: string) => void;
|
|
13
|
+
}) => import("react").JSX.Element;
|
|
14
|
+
}
|
|
6
15
|
export {};
|
package/dist/table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { Table } from './table';
|
|
2
|
+
export { TableRow } from './table-row';
|
|
3
3
|
export { TableCell } from './table-cell';
|
|
@@ -3,5 +3,5 @@ type Props = {
|
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
isHoverBackgroundVisible?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function TableRow({ children, isHoverBackgroundVisible }: Props): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
+
import { TableCell } from './table-cell';
|
|
3
|
+
import { TableRow } from './table-row';
|
|
4
|
+
type Props = {
|
|
5
|
+
width?: CSSProperties['width'];
|
|
6
|
+
rows?: CSSProperties['gridTemplateRows'];
|
|
7
|
+
columns?: CSSProperties['gridTemplateColumns'];
|
|
8
|
+
};
|
|
9
|
+
export declare function Table({ width, rows, columns, children }: PropsWithChildren<Props>): import("react").JSX.Element;
|
|
10
|
+
export declare namespace Table {
|
|
11
|
+
var Row: typeof TableRow;
|
|
12
|
+
var Cell: typeof TableCell;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenkigen-inc/component-ui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"repository": "https://github.com/zenkigen/zenkigen-component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"hygen": "6.2.11",
|
|
21
21
|
"microbundle": "0.15.1",
|
|
22
|
-
"typescript": "5.
|
|
22
|
+
"typescript": "5.2.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@types/react": "^18.0.0",
|
|
26
26
|
"react": "^18.0.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@zenkigen-inc/component-icons": "1.0
|
|
30
|
-
"@zenkigen-inc/component-theme": "1.0
|
|
29
|
+
"@zenkigen-inc/component-icons": "1.1.0",
|
|
30
|
+
"@zenkigen-inc/component-theme": "1.1.0",
|
|
31
31
|
"clsx": "2.0.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
width?: CSSProperties['width'];
|
|
4
|
-
rows?: CSSProperties['gridTemplateRows'];
|
|
5
|
-
columns?: CSSProperties['gridTemplateColumns'];
|
|
6
|
-
};
|
|
7
|
-
export declare function TableContainer({ width, rows, columns, children }: PropsWithChildren<Props>): import("react").JSX.Element;
|
|
8
|
-
export {};
|