@moul-dev/ui 2026.8.22 → 2026.8.26
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/assets/stylex.css +82 -4
- package/dist/moul-ui.js +1744 -1502
- package/dist/src/components/Sidebar/Sidebar.d.ts +7 -0
- package/dist/src/components/Sidebar/Sidebar.styles.d.ts +43 -0
- package/dist/src/components/Table/Table.d.ts +105 -19
- package/dist/src/components/Table/Table.styles.d.ts +177 -59
- package/dist/src/components/Table/index.d.ts +2 -2
- package/dist/src/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ interface SidebarContextValue {
|
|
|
8
8
|
variant: 'solid' | 'glass';
|
|
9
9
|
onCollapseToggle: () => void;
|
|
10
10
|
showCollapseToggle?: boolean;
|
|
11
|
+
dense?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare function useSidebar(): SidebarContextValue;
|
|
13
14
|
export interface SidebarProps {
|
|
@@ -19,12 +20,14 @@ export interface SidebarProps {
|
|
|
19
20
|
onSelectionChange?: (key: string) => void;
|
|
20
21
|
variant?: 'solid' | 'glass';
|
|
21
22
|
showCollapseToggle?: boolean;
|
|
23
|
+
dense?: boolean;
|
|
22
24
|
style?: React.CSSProperties;
|
|
23
25
|
className?: string;
|
|
24
26
|
children?: React.ReactNode;
|
|
25
27
|
}
|
|
26
28
|
export declare const Sidebar: React.ForwardRefExoticComponent<SidebarProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
29
|
export interface SidebarHeaderProps {
|
|
30
|
+
dense?: boolean;
|
|
28
31
|
style?: StyleXStyles;
|
|
29
32
|
className?: string;
|
|
30
33
|
children?: React.ReactNode;
|
|
@@ -36,6 +39,7 @@ export interface SidebarGroupProps {
|
|
|
36
39
|
defaultExpanded?: boolean;
|
|
37
40
|
isExpanded?: boolean;
|
|
38
41
|
onExpandedChange?: (expanded: boolean) => void;
|
|
42
|
+
dense?: boolean;
|
|
39
43
|
style?: StyleXStyles;
|
|
40
44
|
className?: string;
|
|
41
45
|
children?: React.ReactNode;
|
|
@@ -45,6 +49,7 @@ export interface SidebarItemProps extends Omit<AriaLinkProps, 'style' | 'classNa
|
|
|
45
49
|
id?: string;
|
|
46
50
|
icon?: React.ReactNode;
|
|
47
51
|
isSelected?: boolean;
|
|
52
|
+
dense?: boolean;
|
|
48
53
|
style?: StyleXStyles;
|
|
49
54
|
className?: string;
|
|
50
55
|
children?: React.ReactNode;
|
|
@@ -52,12 +57,14 @@ export interface SidebarItemProps extends Omit<AriaLinkProps, 'style' | 'classNa
|
|
|
52
57
|
export declare const SidebarItem: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
53
58
|
export interface SidebarFooterProps {
|
|
54
59
|
showBorder?: boolean;
|
|
60
|
+
dense?: boolean;
|
|
55
61
|
style?: StyleXStyles;
|
|
56
62
|
className?: string;
|
|
57
63
|
children?: React.ReactNode;
|
|
58
64
|
}
|
|
59
65
|
export declare const SidebarFooter: React.ForwardRefExoticComponent<SidebarFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
66
|
export interface SidebarDividerProps {
|
|
67
|
+
dense?: boolean;
|
|
61
68
|
style?: StyleXStyles;
|
|
62
69
|
className?: string;
|
|
63
70
|
}
|
|
@@ -49,6 +49,12 @@ export declare const styles: Readonly<{
|
|
|
49
49
|
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
50
50
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
51
51
|
}>;
|
|
52
|
+
readonly headerDense: Readonly<{
|
|
53
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "48px">;
|
|
54
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
55
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
56
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
57
|
+
}>;
|
|
52
58
|
readonly headerCollapsed: Readonly<{
|
|
53
59
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
54
60
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
@@ -63,6 +69,9 @@ export declare const styles: Readonly<{
|
|
|
63
69
|
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity, transform">;
|
|
64
70
|
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
65
71
|
}>;
|
|
72
|
+
readonly headerContentDense: Readonly<{
|
|
73
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
74
|
+
}>;
|
|
66
75
|
readonly headerContentCollapsed: Readonly<{
|
|
67
76
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
68
77
|
}>;
|
|
@@ -79,6 +88,12 @@ export declare const styles: Readonly<{
|
|
|
79
88
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
80
89
|
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "64px">;
|
|
81
90
|
}>;
|
|
91
|
+
readonly footerDense: Readonly<{
|
|
92
|
+
readonly minHeight: stylex.StyleXClassNameFor<"minHeight", "48px">;
|
|
93
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
94
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
95
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
96
|
+
}>;
|
|
82
97
|
readonly footerBorder: Readonly<{
|
|
83
98
|
readonly borderBlockStartColor: stylex.StyleXClassNameFor<"borderBlockStartColor", string>;
|
|
84
99
|
}>;
|
|
@@ -96,6 +111,9 @@ export declare const styles: Readonly<{
|
|
|
96
111
|
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "opacity, transform">;
|
|
97
112
|
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.2s">;
|
|
98
113
|
}>;
|
|
114
|
+
readonly footerContentDense: Readonly<{
|
|
115
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
116
|
+
}>;
|
|
99
117
|
readonly footerContentCollapsed: Readonly<{
|
|
100
118
|
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
101
119
|
}>;
|
|
@@ -106,6 +124,10 @@ export declare const styles: Readonly<{
|
|
|
106
124
|
readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", string>;
|
|
107
125
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
108
126
|
}>;
|
|
127
|
+
readonly groupDense: Readonly<{
|
|
128
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
129
|
+
readonly paddingBlockEnd: stylex.StyleXClassNameFor<"paddingBlockEnd", string>;
|
|
130
|
+
}>;
|
|
109
131
|
readonly groupCollapsed: Readonly<{
|
|
110
132
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
111
133
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
@@ -125,6 +147,11 @@ export declare const styles: Readonly<{
|
|
|
125
147
|
readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
|
|
126
148
|
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
127
149
|
}>;
|
|
150
|
+
readonly groupHeaderDense: Readonly<{
|
|
151
|
+
readonly height: stylex.StyleXClassNameFor<"height", string>;
|
|
152
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
153
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
154
|
+
}>;
|
|
128
155
|
readonly groupHeaderCollapsible: Readonly<{
|
|
129
156
|
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
130
157
|
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
@@ -178,6 +205,9 @@ export declare const styles: Readonly<{
|
|
|
178
205
|
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
179
206
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
180
207
|
}>;
|
|
208
|
+
readonly groupItemsInnerDense: Readonly<{
|
|
209
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", "2px">;
|
|
210
|
+
}>;
|
|
181
211
|
readonly item: Readonly<{
|
|
182
212
|
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
183
213
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
@@ -208,6 +238,12 @@ export declare const styles: Readonly<{
|
|
|
208
238
|
readonly outlineOffset: "2px";
|
|
209
239
|
}>;
|
|
210
240
|
}>;
|
|
241
|
+
readonly itemDense: Readonly<{
|
|
242
|
+
readonly height: stylex.StyleXClassNameFor<"height", "30px">;
|
|
243
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
244
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
245
|
+
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
246
|
+
}>;
|
|
211
247
|
readonly itemHover: Readonly<{
|
|
212
248
|
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
213
249
|
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
@@ -228,6 +264,10 @@ export declare const styles: Readonly<{
|
|
|
228
264
|
readonly height: stylex.StyleXClassNameFor<"height", "36px">;
|
|
229
265
|
readonly alignSelf: stylex.StyleXClassNameFor<"alignSelf", "center">;
|
|
230
266
|
}>;
|
|
267
|
+
readonly itemCollapsedDense: Readonly<{
|
|
268
|
+
readonly width: stylex.StyleXClassNameFor<"width", "30px">;
|
|
269
|
+
readonly height: stylex.StyleXClassNameFor<"height", "30px">;
|
|
270
|
+
}>;
|
|
231
271
|
readonly itemIcon: Readonly<{
|
|
232
272
|
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
233
273
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
@@ -261,6 +301,9 @@ export declare const styles: Readonly<{
|
|
|
261
301
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
262
302
|
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "none">;
|
|
263
303
|
}>;
|
|
304
|
+
readonly dividerDense: Readonly<{
|
|
305
|
+
readonly marginBlock: stylex.StyleXClassNameFor<"marginBlock", string>;
|
|
306
|
+
}>;
|
|
264
307
|
readonly dividerCollapsed: Readonly<{
|
|
265
308
|
readonly marginInline: stylex.StyleXClassNameFor<"marginInline", string>;
|
|
266
309
|
}>;
|
|
@@ -1,42 +1,128 @@
|
|
|
1
1
|
import { StyleXStyles } from '@stylexjs/stylex';
|
|
2
|
-
import { CellProps as AriaCellProps, ColumnProps as AriaColumnProps, RowProps as AriaRowProps, TableBodyProps as AriaTableBodyProps, TableHeaderProps as AriaTableHeaderProps, TableProps as AriaTableProps } from 'react-aria-components';
|
|
3
2
|
import * as React from 'react';
|
|
4
|
-
export interface TableProps extends Omit<
|
|
3
|
+
export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElement>, 'style'> {
|
|
5
4
|
style?: StyleXStyles;
|
|
6
5
|
className?: string;
|
|
6
|
+
/** Style for the inner table element when wrapInContainer is true */
|
|
7
|
+
tableStyle?: StyleXStyles;
|
|
8
|
+
/** Class name for the inner table element when wrapInContainer is true */
|
|
9
|
+
tableClassName?: string;
|
|
10
|
+
/** Compact padding for high-density data */
|
|
11
|
+
dense?: boolean;
|
|
12
|
+
/** Alternating row background colors */
|
|
13
|
+
striped?: boolean;
|
|
14
|
+
/** Highlight rows on hover */
|
|
15
|
+
hoverable?: boolean;
|
|
16
|
+
/** Keep table header pinned to top on scroll */
|
|
7
17
|
stickyHeader?: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
18
|
+
/** Draw vertical column borders between cells */
|
|
19
|
+
bordered?: boolean;
|
|
20
|
+
/** Table layout algorithm */
|
|
21
|
+
layout?: 'auto' | 'fixed';
|
|
22
|
+
/** Wrap table in a responsive horizontal scroll container (default: true) */
|
|
23
|
+
wrapInContainer?: boolean;
|
|
24
|
+
/** Style for the responsive container wrapper */
|
|
25
|
+
containerStyle?: StyleXStyles;
|
|
26
|
+
/** Class name for the responsive container wrapper */
|
|
27
|
+
containerClassName?: string;
|
|
11
28
|
}
|
|
12
29
|
export declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
13
|
-
export interface TableHeaderProps
|
|
30
|
+
export interface TableHeaderProps extends Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'style'> {
|
|
14
31
|
style?: StyleXStyles;
|
|
15
32
|
className?: string;
|
|
33
|
+
/** Pinned sticky header state */
|
|
16
34
|
sticky?: boolean;
|
|
17
35
|
}
|
|
18
|
-
export declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps
|
|
19
|
-
export interface
|
|
36
|
+
export declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
37
|
+
export interface TableBodyProps extends Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'style'> {
|
|
20
38
|
style?: StyleXStyles;
|
|
21
|
-
className?:
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
export declare const TableBody: React.ForwardRefExoticComponent<TableBodyProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
42
|
+
export interface TableFooterProps extends Omit<React.HTMLAttributes<HTMLTableSectionElement>, 'style'> {
|
|
43
|
+
style?: StyleXStyles;
|
|
44
|
+
className?: string;
|
|
45
|
+
/** Pinned sticky footer state */
|
|
46
|
+
sticky?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export declare const TableFooter: React.ForwardRefExoticComponent<TableFooterProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
49
|
+
export interface TableRowProps extends Omit<React.HTMLAttributes<HTMLTableRowElement>, 'style'> {
|
|
50
|
+
style?: StyleXStyles;
|
|
51
|
+
className?: string;
|
|
52
|
+
/** Selected row state */
|
|
53
|
+
selected?: boolean;
|
|
54
|
+
/** Enable hover highlight for this row */
|
|
55
|
+
hoverable?: boolean;
|
|
56
|
+
/** Indicates the row is clickable */
|
|
57
|
+
interactive?: boolean;
|
|
58
|
+
}
|
|
59
|
+
export declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
60
|
+
export interface TableHeadProps extends Omit<React.ThHTMLAttributes<HTMLTableCellElement>, 'style' | 'align' | 'width'> {
|
|
61
|
+
style?: StyleXStyles;
|
|
62
|
+
className?: string;
|
|
63
|
+
/** Text & content alignment */
|
|
64
|
+
align?: 'left' | 'center' | 'right' | 'numeric';
|
|
65
|
+
/** Draw vertical column border */
|
|
66
|
+
bordered?: boolean;
|
|
67
|
+
/** Column pinning support */
|
|
68
|
+
pinned?: 'left' | 'right' | 'start' | 'end';
|
|
69
|
+
/** Pinning offset (e.g., 0, '120px') */
|
|
70
|
+
pinOffset?: number | string;
|
|
71
|
+
/** Explicit column width */
|
|
72
|
+
width?: number | string;
|
|
73
|
+
/** Minimum column width */
|
|
74
|
+
minWidth?: number | string;
|
|
75
|
+
/** Maximum column width */
|
|
76
|
+
maxWidth?: number | string;
|
|
77
|
+
/** Current column sort direction */
|
|
78
|
+
sortDirection?: 'asc' | 'desc' | 'ascending' | 'descending' | false | null;
|
|
79
|
+
/** Callback fired when sortable column header is clicked or activated */
|
|
80
|
+
onSort?: () => void;
|
|
81
|
+
/** Show sorting chevron indicator */
|
|
22
82
|
showSortIndicator?: boolean;
|
|
83
|
+
/** Custom sort indicator component slot */
|
|
84
|
+
sortIndicator?: React.ReactNode;
|
|
23
85
|
}
|
|
24
|
-
export declare const
|
|
25
|
-
export interface
|
|
86
|
+
export declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
87
|
+
export interface TableCellProps extends Omit<React.TdHTMLAttributes<HTMLTableCellElement>, 'style' | 'align' | 'width'> {
|
|
26
88
|
style?: StyleXStyles;
|
|
27
89
|
className?: string;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
90
|
+
/** Text & numeric alignment */
|
|
91
|
+
align?: 'left' | 'center' | 'right' | 'numeric';
|
|
92
|
+
/** Draw vertical column border */
|
|
93
|
+
bordered?: boolean;
|
|
94
|
+
/** Column pinning support */
|
|
95
|
+
pinned?: 'left' | 'right' | 'start' | 'end';
|
|
96
|
+
/** Pinning offset (e.g., 0, '120px') */
|
|
97
|
+
pinOffset?: number | string;
|
|
98
|
+
/** Explicit cell/column width */
|
|
99
|
+
width?: number | string;
|
|
100
|
+
/** Minimum cell/column width */
|
|
101
|
+
minWidth?: number | string;
|
|
102
|
+
/** Maximum cell/column width */
|
|
103
|
+
maxWidth?: number | string;
|
|
104
|
+
/** Enable tabular figures for consistent numeric layout */
|
|
105
|
+
tabular?: boolean;
|
|
31
106
|
}
|
|
32
|
-
export declare const
|
|
33
|
-
export interface
|
|
107
|
+
export declare const TableCell: React.ForwardRefExoticComponent<TableCellProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
108
|
+
export interface TableCaptionProps extends Omit<React.HTMLAttributes<HTMLTableCaptionElement>, 'style'> {
|
|
34
109
|
style?: StyleXStyles;
|
|
35
110
|
className?: string;
|
|
111
|
+
/** Placement side of the caption */
|
|
112
|
+
side?: 'top' | 'bottom';
|
|
36
113
|
}
|
|
37
|
-
export declare const
|
|
38
|
-
export interface
|
|
114
|
+
export declare const TableCaption: React.ForwardRefExoticComponent<TableCaptionProps & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
115
|
+
export interface TableEmptyProps extends Omit<React.HTMLAttributes<HTMLTableRowElement>, 'style'> {
|
|
116
|
+
colSpan?: number;
|
|
39
117
|
style?: StyleXStyles;
|
|
118
|
+
cellStyle?: StyleXStyles;
|
|
40
119
|
className?: string;
|
|
120
|
+
cellClassName?: string;
|
|
121
|
+
}
|
|
122
|
+
export declare const TableEmpty: React.ForwardRefExoticComponent<TableEmptyProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
123
|
+
export interface TableSkeletonProps {
|
|
124
|
+
rows?: number;
|
|
125
|
+
columns?: number;
|
|
126
|
+
style?: StyleXStyles;
|
|
41
127
|
}
|
|
42
|
-
export declare
|
|
128
|
+
export declare function TableSkeleton({ rows, columns, style, }: TableSkeletonProps): React.JSX.Element;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import * as stylex from '@stylexjs/stylex';
|
|
2
2
|
export declare const styles: Readonly<{
|
|
3
|
+
readonly wrapper: Readonly<{
|
|
4
|
+
readonly position: stylex.StyleXClassNameFor<"position", "relative">;
|
|
5
|
+
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
6
|
+
readonly overflowX: stylex.StyleXClassNameFor<"overflowX", "auto">;
|
|
7
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
8
|
+
readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", "1px">;
|
|
9
|
+
readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
|
|
10
|
+
readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
|
|
11
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
12
|
+
}>;
|
|
3
13
|
readonly table: Readonly<{
|
|
4
14
|
readonly borderCollapse: stylex.StyleXClassNameFor<"borderCollapse", "collapse">;
|
|
5
15
|
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
@@ -9,19 +19,75 @@ export declare const styles: Readonly<{
|
|
|
9
19
|
readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
|
|
10
20
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
11
21
|
}>;
|
|
22
|
+
readonly tableFixed: Readonly<{
|
|
23
|
+
readonly tableLayout: stylex.StyleXClassNameFor<"tableLayout", "fixed">;
|
|
24
|
+
}>;
|
|
25
|
+
readonly tableAuto: Readonly<{
|
|
26
|
+
readonly tableLayout: stylex.StyleXClassNameFor<"tableLayout", "auto">;
|
|
27
|
+
}>;
|
|
12
28
|
readonly header: Readonly<{
|
|
13
29
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
14
|
-
readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "
|
|
30
|
+
readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
|
|
15
31
|
readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
|
|
16
32
|
readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
|
|
17
33
|
}>;
|
|
18
34
|
readonly headerSticky: Readonly<{
|
|
19
35
|
readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
|
|
20
|
-
readonly
|
|
21
|
-
readonly zIndex: stylex.StyleXClassNameFor<"zIndex",
|
|
36
|
+
readonly insetBlockStart: stylex.StyleXClassNameFor<"insetBlockStart", 0>;
|
|
37
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 10>;
|
|
38
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
39
|
+
}>;
|
|
40
|
+
readonly footer: Readonly<{
|
|
41
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
42
|
+
readonly borderTopWidth: stylex.StyleXClassNameFor<"borderTopWidth", "1px">;
|
|
43
|
+
readonly borderTopStyle: stylex.StyleXClassNameFor<"borderTopStyle", "solid">;
|
|
44
|
+
readonly borderTopColor: stylex.StyleXClassNameFor<"borderTopColor", string>;
|
|
45
|
+
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
46
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
47
|
+
}>;
|
|
48
|
+
readonly footerSticky: Readonly<{
|
|
49
|
+
readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
|
|
50
|
+
readonly insetBlockEnd: stylex.StyleXClassNameFor<"insetBlockEnd", 0>;
|
|
51
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 10>;
|
|
52
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
53
|
+
}>;
|
|
54
|
+
readonly body: Readonly<{
|
|
55
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
56
|
+
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
57
|
+
}>;
|
|
58
|
+
readonly row: Readonly<{
|
|
59
|
+
readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
|
|
60
|
+
readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
|
|
61
|
+
readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
|
|
62
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", "transparent">;
|
|
63
|
+
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
|
|
64
|
+
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
65
|
+
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
66
|
+
readonly ':last-child': stylex.StyleXClassNameFor<":last-child", {
|
|
67
|
+
readonly borderBottomWidth: 0;
|
|
68
|
+
}>;
|
|
69
|
+
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
70
|
+
readonly transitionProperty: "none";
|
|
71
|
+
}>;
|
|
72
|
+
}>;
|
|
73
|
+
readonly rowHoverable: Readonly<{
|
|
74
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
75
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
76
|
+
}>;
|
|
77
|
+
}>;
|
|
78
|
+
readonly rowStriped: Readonly<{
|
|
79
|
+
readonly ':nth-child(even)': stylex.StyleXClassNameFor<":nth-child(even)", {
|
|
80
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
81
|
+
}>;
|
|
82
|
+
}>;
|
|
83
|
+
readonly rowSelected: Readonly<{
|
|
22
84
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
85
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
23
86
|
}>;
|
|
24
|
-
readonly
|
|
87
|
+
readonly rowInteractive: Readonly<{
|
|
88
|
+
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
89
|
+
}>;
|
|
90
|
+
readonly head: Readonly<{
|
|
25
91
|
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
26
92
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
27
93
|
readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
|
|
@@ -29,29 +95,45 @@ export declare const styles: Readonly<{
|
|
|
29
95
|
readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
|
|
30
96
|
readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
|
|
31
97
|
readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
|
|
32
|
-
readonly
|
|
98
|
+
readonly verticalAlign: stylex.StyleXClassNameFor<"verticalAlign", "middle">;
|
|
33
99
|
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
100
|
+
}>;
|
|
101
|
+
readonly headBordered: Readonly<{
|
|
102
|
+
readonly borderInlineEndWidth: stylex.StyleXClassNameFor<"borderInlineEndWidth", "1px">;
|
|
103
|
+
readonly borderInlineEndStyle: stylex.StyleXClassNameFor<"borderInlineEndStyle", "solid">;
|
|
104
|
+
readonly borderInlineEndColor: stylex.StyleXClassNameFor<"borderInlineEndColor", string>;
|
|
105
|
+
readonly ':last-child': stylex.StyleXClassNameFor<":last-child", {
|
|
106
|
+
readonly borderInlineEndWidth: 0;
|
|
39
107
|
}>;
|
|
40
108
|
}>;
|
|
41
|
-
readonly
|
|
109
|
+
readonly headDense: Readonly<{
|
|
110
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
111
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
112
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
113
|
+
}>;
|
|
114
|
+
readonly headSortable: Readonly<{
|
|
42
115
|
readonly cursor: stylex.StyleXClassNameFor<"cursor", "pointer">;
|
|
43
116
|
readonly userSelect: stylex.StyleXClassNameFor<"userSelect", "none">;
|
|
117
|
+
readonly ':hover': stylex.StyleXClassNameFor<":hover", {
|
|
118
|
+
readonly color: stylex.StyleXVar<string>;
|
|
119
|
+
readonly backgroundColor: stylex.StyleXVar<string>;
|
|
120
|
+
}>;
|
|
44
121
|
}>;
|
|
45
|
-
readonly
|
|
46
|
-
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
47
|
-
}>;
|
|
48
|
-
readonly columnContent: Readonly<{
|
|
122
|
+
readonly headContent: Readonly<{
|
|
49
123
|
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
50
124
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
51
|
-
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
|
|
52
125
|
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
53
126
|
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
54
127
|
}>;
|
|
128
|
+
readonly headContentAlignLeft: Readonly<{
|
|
129
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "flex-start">;
|
|
130
|
+
}>;
|
|
131
|
+
readonly headContentAlignCenter: Readonly<{
|
|
132
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
133
|
+
}>;
|
|
134
|
+
readonly headContentAlignRight: Readonly<{
|
|
135
|
+
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "flex-end">;
|
|
136
|
+
}>;
|
|
55
137
|
readonly sortIndicator: Readonly<{
|
|
56
138
|
readonly display: stylex.StyleXClassNameFor<"display", "inline-flex">;
|
|
57
139
|
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
@@ -64,68 +146,104 @@ export declare const styles: Readonly<{
|
|
|
64
146
|
readonly sortIndicatorActive: Readonly<{
|
|
65
147
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
66
148
|
}>;
|
|
67
|
-
readonly
|
|
149
|
+
readonly cell: Readonly<{
|
|
150
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
151
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
152
|
+
readonly color: stylex.StyleXClassNameFor<"color", "inherit">;
|
|
153
|
+
readonly verticalAlign: stylex.StyleXClassNameFor<"verticalAlign", "middle">;
|
|
68
154
|
readonly outline: stylex.StyleXClassNameFor<"outline", "none">;
|
|
69
155
|
}>;
|
|
70
|
-
readonly
|
|
71
|
-
readonly
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
74
|
-
readonly
|
|
75
|
-
|
|
76
|
-
readonly cursor: stylex.StyleXClassNameFor<"cursor", "default">;
|
|
77
|
-
readonly transitionProperty: stylex.StyleXClassNameFor<"transitionProperty", "background-color, color">;
|
|
78
|
-
readonly transitionDuration: stylex.StyleXClassNameFor<"transitionDuration", "0.15s">;
|
|
79
|
-
readonly transitionTimingFunction: stylex.StyleXClassNameFor<"transitionTimingFunction", "ease-in-out">;
|
|
80
|
-
readonly '@media (prefers-reduced-motion: reduce)': stylex.StyleXClassNameFor<"@media (prefers-reduced-motion: reduce)", {
|
|
81
|
-
readonly transitionProperty: "none";
|
|
156
|
+
readonly cellBordered: Readonly<{
|
|
157
|
+
readonly borderInlineEndWidth: stylex.StyleXClassNameFor<"borderInlineEndWidth", "1px">;
|
|
158
|
+
readonly borderInlineEndStyle: stylex.StyleXClassNameFor<"borderInlineEndStyle", "solid">;
|
|
159
|
+
readonly borderInlineEndColor: stylex.StyleXClassNameFor<"borderInlineEndColor", string>;
|
|
160
|
+
readonly ':last-child': stylex.StyleXClassNameFor<":last-child", {
|
|
161
|
+
readonly borderInlineEndWidth: 0;
|
|
82
162
|
}>;
|
|
83
163
|
}>;
|
|
84
|
-
readonly
|
|
164
|
+
readonly cellDense: Readonly<{
|
|
165
|
+
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
166
|
+
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
167
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
168
|
+
}>;
|
|
169
|
+
readonly cellTabular: Readonly<{
|
|
170
|
+
readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
|
|
171
|
+
}>;
|
|
172
|
+
readonly alignLeft: Readonly<{
|
|
173
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "start">;
|
|
174
|
+
}>;
|
|
175
|
+
readonly alignCenter: Readonly<{
|
|
176
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
|
|
177
|
+
}>;
|
|
178
|
+
readonly alignRight: Readonly<{
|
|
179
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "end">;
|
|
180
|
+
}>;
|
|
181
|
+
readonly alignNumeric: Readonly<{
|
|
182
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "end">;
|
|
183
|
+
readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
|
|
184
|
+
}>;
|
|
185
|
+
readonly pinnedLeft: Readonly<{
|
|
186
|
+
readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
|
|
187
|
+
readonly insetInlineStart: stylex.StyleXClassNameFor<"insetInlineStart", 0>;
|
|
188
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 2>;
|
|
85
189
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
86
190
|
}>;
|
|
87
|
-
readonly
|
|
191
|
+
readonly pinnedRight: Readonly<{
|
|
192
|
+
readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
|
|
193
|
+
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", 0>;
|
|
194
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 2>;
|
|
88
195
|
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
89
|
-
readonly
|
|
196
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `inset 1px 0 0 ${stylex.StyleXVar<string>}`>;
|
|
90
197
|
}>;
|
|
91
|
-
readonly
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
198
|
+
readonly pinnedLeftHead: Readonly<{
|
|
199
|
+
readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
|
|
200
|
+
readonly insetInlineStart: stylex.StyleXClassNameFor<"insetInlineStart", 0>;
|
|
201
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 12>;
|
|
202
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
96
203
|
}>;
|
|
97
|
-
readonly
|
|
204
|
+
readonly pinnedRightHead: Readonly<{
|
|
205
|
+
readonly position: stylex.StyleXClassNameFor<"position", "sticky">;
|
|
206
|
+
readonly insetInlineEnd: stylex.StyleXClassNameFor<"insetInlineEnd", 0>;
|
|
207
|
+
readonly zIndex: stylex.StyleXClassNameFor<"zIndex", 12>;
|
|
208
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
209
|
+
readonly boxShadow: stylex.StyleXClassNameFor<"boxShadow", `inset 1px 0 0 ${stylex.StyleXVar<string>}`>;
|
|
210
|
+
}>;
|
|
211
|
+
readonly caption: Readonly<{
|
|
98
212
|
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
99
213
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
214
|
+
readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
|
|
215
|
+
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
216
|
+
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "start">;
|
|
217
|
+
readonly captionSide: stylex.StyleXClassNameFor<"captionSide", "bottom">;
|
|
218
|
+
readonly borderTopWidth: stylex.StyleXClassNameFor<"borderTopWidth", "1px">;
|
|
219
|
+
readonly borderTopStyle: stylex.StyleXClassNameFor<"borderTopStyle", "solid">;
|
|
220
|
+
readonly borderTopColor: stylex.StyleXClassNameFor<"borderTopColor", string>;
|
|
221
|
+
}>;
|
|
222
|
+
readonly captionTop: Readonly<{
|
|
223
|
+
readonly captionSide: stylex.StyleXClassNameFor<"captionSide", "top">;
|
|
224
|
+
readonly borderTopWidth: stylex.StyleXClassNameFor<"borderTopWidth", 0>;
|
|
225
|
+
readonly borderBottomWidth: stylex.StyleXClassNameFor<"borderBottomWidth", "1px">;
|
|
226
|
+
readonly borderBottomStyle: stylex.StyleXClassNameFor<"borderBottomStyle", "solid">;
|
|
227
|
+
readonly borderBottomColor: stylex.StyleXClassNameFor<"borderBottomColor", string>;
|
|
108
228
|
}>;
|
|
109
|
-
readonly
|
|
110
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
111
|
-
readonly flexDirection: stylex.StyleXClassNameFor<"flexDirection", "column">;
|
|
112
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
113
|
-
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
229
|
+
readonly emptyCell: Readonly<{
|
|
114
230
|
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
115
231
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
116
232
|
readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
|
|
117
233
|
readonly color: stylex.StyleXClassNameFor<"color", string>;
|
|
118
|
-
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
119
234
|
}>;
|
|
120
|
-
readonly
|
|
121
|
-
readonly display: stylex.StyleXClassNameFor<"display", "flex">;
|
|
122
|
-
readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
|
|
123
|
-
readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "center">;
|
|
124
|
-
readonly gap: stylex.StyleXClassNameFor<"gap", string>;
|
|
235
|
+
readonly skeletonCell: Readonly<{
|
|
125
236
|
readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
|
|
126
237
|
readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
|
|
127
|
-
|
|
128
|
-
|
|
238
|
+
}>;
|
|
239
|
+
readonly skeletonBar: Readonly<{
|
|
240
|
+
readonly height: stylex.StyleXClassNameFor<"height", "14px">;
|
|
129
241
|
readonly width: stylex.StyleXClassNameFor<"width", "100%">;
|
|
242
|
+
readonly borderRadius: stylex.StyleXClassNameFor<"borderRadius", string>;
|
|
243
|
+
readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
|
|
244
|
+
readonly animationName: stylex.StyleXClassNameFor<"animationName", string>;
|
|
245
|
+
readonly animationDuration: stylex.StyleXClassNameFor<"animationDuration", "1.6s">;
|
|
246
|
+
readonly animationIterationCount: stylex.StyleXClassNameFor<"animationIterationCount", "infinite">;
|
|
247
|
+
readonly animationTimingFunction: stylex.StyleXClassNameFor<"animationTimingFunction", "ease-in-out">;
|
|
130
248
|
}>;
|
|
131
249
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export {
|
|
1
|
+
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableEmptyProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps, TableSkeletonProps, } from './Table';
|
|
2
|
+
export { Table, TableBody, TableCaption, TableCell, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, } from './Table';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const version = "2026.08.
|
|
1
|
+
export declare const version = "2026.08.26";
|
|
2
2
|
export { Alert } from './components/Alert';
|
|
3
3
|
export type { AlertProps, AlertVariant } from './components/Alert/Alert';
|
|
4
4
|
export { AlertDialog, AlertDialogBody, AlertDialogFooter, AlertDialogHeader, } from './components/AlertDialog';
|
|
@@ -93,8 +93,8 @@ export type { StatProps } from './components/Stat';
|
|
|
93
93
|
export { Stat } from './components/Stat';
|
|
94
94
|
export { Switch } from './components/Switch';
|
|
95
95
|
export type { SwitchProps } from './components/Switch/Switch';
|
|
96
|
-
export type {
|
|
97
|
-
export {
|
|
96
|
+
export type { TableBodyProps, TableCaptionProps, TableCellProps, TableEmptyProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableProps, TableRowProps, TableSkeletonProps, } from './components/Table';
|
|
97
|
+
export { Table, TableBody, TableCaption, TableCell, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, } from './components/Table';
|
|
98
98
|
export type { TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps, } from './components/Tabs';
|
|
99
99
|
export { Tab, TabList, TabPanel, TabPanels, Tabs } from './components/Tabs';
|
|
100
100
|
export { Tag, TagGroup } from './components/TagGroup';
|