@stokelp/ui 1.21.1 → 1.22.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/components/index.d.ts +1 -0
- package/dist/components/table/Table.d.ts +36 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/theme/recipes/index.d.ts +4 -0
- package/dist/theme/recipes/table-container.d.ts +2 -0
- package/dist/theme/recipes/table-empty-row.d.ts +2 -0
- package/dist/theme/recipes/table-group-title.d.ts +2 -0
- package/dist/theme/recipes/table.d.ts +2 -0
- package/dist/ui.cjs +3 -3
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +533 -377
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ComponentProps, FC, ReactNode } from 'react';
|
|
2
|
+
import { StyledComponent } from '@stokelp/styled-system/jsx';
|
|
3
|
+
import { TableContainerVariantProps, TableRecipe, TableGroupTitleVariantProps, TableEmptyRowVariantProps } from '@stokelp/styled-system/recipes';
|
|
4
|
+
import { ComponentVariants } from '../../utils/slots';
|
|
5
|
+
|
|
6
|
+
export declare const TableContainer: StyledComponent<"div", TableContainerVariantProps>;
|
|
7
|
+
export declare const Table: ComponentVariants<StyledComponent<"table", {}>, TableRecipe>;
|
|
8
|
+
export declare const Thead: StyledComponent<"thead", {}>;
|
|
9
|
+
export declare const Tbody: StyledComponent<"tbody", {}>;
|
|
10
|
+
export declare const Tr: StyledComponent<"tr", {}>;
|
|
11
|
+
declare const StyledTh: StyledComponent<"th", {}>;
|
|
12
|
+
type StyledThProps = ComponentProps<typeof StyledTh>;
|
|
13
|
+
export interface ThProps extends StyledThProps {
|
|
14
|
+
addon?: ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export declare const Th: FC<ThProps>;
|
|
17
|
+
export declare const Td: StyledComponent<"td", {}>;
|
|
18
|
+
declare const StyledTableGroupTitle: StyledComponent<"td", TableGroupTitleVariantProps>;
|
|
19
|
+
export type TableGroupTitleProps = ComponentProps<typeof StyledTableGroupTitle>;
|
|
20
|
+
export declare const TableGroupTitle: FC<TableGroupTitleProps>;
|
|
21
|
+
declare const StyledTableEmptyRow: StyledComponent<"td", TableEmptyRowVariantProps>;
|
|
22
|
+
export type TableEmptyRowProps = ComponentProps<typeof StyledTableEmptyRow>;
|
|
23
|
+
export declare const TableEmptyRow: FC<TableEmptyRowProps>;
|
|
24
|
+
export interface TableProps extends ComponentProps<typeof Table> {
|
|
25
|
+
}
|
|
26
|
+
export interface TheadProps extends ComponentProps<typeof Thead> {
|
|
27
|
+
}
|
|
28
|
+
export interface TbodyProps extends ComponentProps<typeof Tbody> {
|
|
29
|
+
}
|
|
30
|
+
export interface TrProps extends ComponentProps<typeof Tr> {
|
|
31
|
+
}
|
|
32
|
+
export interface TdProps extends ComponentProps<typeof Td> {
|
|
33
|
+
}
|
|
34
|
+
export interface TableContainerProps extends ComponentProps<typeof TableContainer> {
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Table';
|