@frontile/collections 0.17.0-beta.25 → 0.17.0-beta.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/declarations/components/simple-table/body.d.ts +428 -0
- package/declarations/components/simple-table/cell.d.ts +427 -0
- package/declarations/components/simple-table/column.d.ts +419 -0
- package/declarations/components/simple-table/footer.d.ts +430 -0
- package/declarations/components/simple-table/header.d.ts +430 -0
- package/declarations/components/simple-table/index.d.ts +446 -0
- package/declarations/components/simple-table/row.d.ts +430 -0
- package/declarations/components/simple-table/simple-table-body.d.ts +238 -0
- package/declarations/components/simple-table/simple-table-cell.d.ts +231 -0
- package/declarations/components/simple-table/simple-table-column.d.ts +225 -0
- package/declarations/components/simple-table/simple-table-footer.d.ts +237 -0
- package/declarations/components/simple-table/simple-table-header.d.ts +237 -0
- package/declarations/components/simple-table/simple-table-row.d.ts +236 -0
- package/declarations/components/simple-table/simple-table.d.ts +249 -0
- package/declarations/components/table/cell-default.d.ts +43 -0
- package/declarations/components/table/cell-for.d.ts +38 -0
- package/declarations/components/table/cell-rendering-context.d.ts +24 -0
- package/declarations/components/table/checkbox.d.ts +50 -0
- package/declarations/components/table/column-visibility.d.ts +416 -0
- package/declarations/components/table/icons.d.ts +11 -0
- package/declarations/components/table/index.d.ts +2 -7
- package/declarations/components/table/sort-button.d.ts +413 -0
- package/declarations/components/table/table-body.d.ts +10 -7
- package/declarations/components/table/table-cell.d.ts +4 -4
- package/declarations/components/table/table-column.d.ts +20 -3
- package/declarations/components/table/table-footer.d.ts +3 -3
- package/declarations/components/table/table-header.d.ts +5 -3
- package/declarations/components/table/table-row.d.ts +20 -6
- package/declarations/components/table/table.d.ts +335 -111
- package/declarations/components/table/typed-cell-for.d.ts +34 -0
- package/declarations/components/table/types.d.ts +38 -7
- package/declarations/components/table/utils.d.ts +4 -8
- package/declarations/components/table-legacy/index.d.ts +9 -0
- package/declarations/components/table-legacy/table-body.d.ts +374 -0
- package/declarations/components/table-legacy/table-cell.d.ts +364 -0
- package/declarations/components/table-legacy/table-column.d.ts +357 -0
- package/declarations/components/table-legacy/table-footer.d.ts +365 -0
- package/declarations/components/table-legacy/table-header.d.ts +364 -0
- package/declarations/components/table-legacy/table-row.d.ts +373 -0
- package/declarations/components/table-legacy/table.d.ts +437 -0
- package/declarations/components/table-legacy/types.d.ts +20 -0
- package/declarations/components/table-legacy/utils.d.ts +16 -0
- package/declarations/index.d.ts +1 -0
- package/declarations/template-registry.d.ts +3 -1
- package/declarations/utils/tableManager.d.ts +25 -0
- package/declarations/utils/typed-table.d.ts +32 -0
- package/dist/_app_/components/table.js +1 -0
- package/dist/components/dropdown.js +1 -1
- package/dist/components/listbox.js +1 -1
- package/dist/components/table.js +2 -0
- package/dist/components/table.js.map +1 -0
- package/dist/index-OHRSSSqD.js +528 -0
- package/dist/index-OHRSSSqD.js.map +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/{listManager-D4_vozfz.js → listManager-CKsOd2zS.js} +2 -2
- package/dist/{listManager-D4_vozfz.js.map → listManager-CKsOd2zS.js.map} +1 -1
- package/dist/listManager-Dth1-3Si.js +439 -0
- package/dist/listManager-Dth1-3Si.js.map +1 -0
- package/dist/listbox-BHb3ozlg.js +204 -0
- package/dist/listbox-BHb3ozlg.js.map +1 -0
- package/dist/listbox-CkGwpiDp.js +203 -0
- package/dist/listbox-CkGwpiDp.js.map +1 -0
- package/dist/listbox-ClqgWnnA.js +204 -0
- package/dist/listbox-ClqgWnnA.js.map +1 -0
- package/dist/listbox-rcGFjxs0.js +112 -47
- package/dist/listbox-y30VBGX-.js +204 -0
- package/dist/listbox-y30VBGX-.js.map +1 -0
- package/dist/simple-table-B7dwVNtZ.js +528 -0
- package/dist/simple-table-B7dwVNtZ.js.map +1 -0
- package/dist/simple-table-OHRSSSqD.js +528 -0
- package/dist/simple-table-OHRSSSqD.js.map +1 -0
- package/dist/table-B2HDNKJZ.js +406 -0
- package/dist/table-B2HDNKJZ.js.map +1 -0
- package/dist/table-BDc4IZIE.js +878 -0
- package/dist/table-BDc4IZIE.js.map +1 -0
- package/dist/table-BFkVEZvb.js +392 -0
- package/dist/table-BFkVEZvb.js.map +1 -0
- package/dist/table-BqvHQi0L.js +878 -0
- package/dist/table-BqvHQi0L.js.map +1 -0
- package/dist/table-C7ch3NLp.js +395 -0
- package/dist/table-C7ch3NLp.js.map +1 -0
- package/dist/table-CLHR4-J5.js +395 -0
- package/dist/table-CLHR4-J5.js.map +1 -0
- package/dist/table-COm7aEZ1.js +341 -0
- package/dist/table-COm7aEZ1.js.map +1 -0
- package/dist/table-CSzsuwXt.js +394 -0
- package/dist/table-CSzsuwXt.js.map +1 -0
- package/dist/table-CVCiVPCB.js +878 -0
- package/dist/table-CVCiVPCB.js.map +1 -0
- package/dist/table-CcYV8m90.js +341 -0
- package/dist/table-CcYV8m90.js.map +1 -0
- package/dist/table-DEK1U06v.js +632 -0
- package/dist/table-DEK1U06v.js.map +1 -0
- package/dist/table-DGQbKRn3.js +395 -0
- package/dist/table-DGQbKRn3.js.map +1 -0
- package/dist/table-DnQQJItF.js +632 -0
- package/dist/table-DnQQJItF.js.map +1 -0
- package/dist/table-DrBJt7Eh.js +395 -0
- package/dist/table-DrBJt7Eh.js.map +1 -0
- package/dist/table-SVR6fEqh.js +877 -0
- package/dist/table-SVR6fEqh.js.map +1 -0
- package/dist/table-XUYqiKyi.js +394 -0
- package/dist/table-XUYqiKyi.js.map +1 -0
- package/dist/table-footer-DTLYf3Ac.js +553 -0
- package/dist/table-footer-DTLYf3Ac.js.map +1 -0
- package/dist/types-B-8cgOds.js +524 -0
- package/dist/types-B-8cgOds.js.map +1 -0
- package/dist/types-CJuwIIDs.js +524 -0
- package/dist/types-CJuwIIDs.js.map +1 -0
- package/dist/types-CuXFudgJ.js +526 -0
- package/dist/types-CuXFudgJ.js.map +1 -0
- package/dist/types-DkKoxFKn.js +524 -0
- package/dist/types-DkKoxFKn.js.map +1 -0
- package/dist/utils/listManager.js +1 -1
- package/package.json +9 -7
- package/dist/table-92ff_YNO.js +0 -277
- package/dist/table-92ff_YNO.js.map +0 -1
- package/dist/table-9AY4L0Gb.js +0 -197
- package/dist/table-9AY4L0Gb.js.map +0 -1
- package/dist/table-9lHVhRR5.js +0 -241
- package/dist/table-9lHVhRR5.js.map +0 -1
- package/dist/table-BIkLOscH.js +0 -269
- package/dist/table-BIkLOscH.js.map +0 -1
- package/dist/table-BPp_OXkX.js +0 -206
- package/dist/table-BPp_OXkX.js.map +0 -1
- package/dist/table-BQBLUGgl.js +0 -208
- package/dist/table-BQBLUGgl.js.map +0 -1
- package/dist/table-BUboQojw.js +0 -267
- package/dist/table-BUboQojw.js.map +0 -1
- package/dist/table-BUrvD0CN.js +0 -324
- package/dist/table-BUrvD0CN.js.map +0 -1
- package/dist/table-B_z4aWPh.js +0 -276
- package/dist/table-B_z4aWPh.js.map +0 -1
- package/dist/table-Bi_i2GOl.js +0 -279
- package/dist/table-Bi_i2GOl.js.map +0 -1
- package/dist/table-BkWhyzMo.js +0 -214
- package/dist/table-BkWhyzMo.js.map +0 -1
- package/dist/table-Bp_EqrlK.js +0 -309
- package/dist/table-Bp_EqrlK.js.map +0 -1
- package/dist/table-Bq1HGB9C.js +0 -240
- package/dist/table-Bq1HGB9C.js.map +0 -1
- package/dist/table-C-_mQMW_.js +0 -141
- package/dist/table-C-_mQMW_.js.map +0 -1
- package/dist/table-CaBDs-LD.js +0 -269
- package/dist/table-CaBDs-LD.js.map +0 -1
- package/dist/table-CcbmieDl.js +0 -329
- package/dist/table-CcbmieDl.js.map +0 -1
- package/dist/table-CdLut7xT.js +0 -172
- package/dist/table-CdLut7xT.js.map +0 -1
- package/dist/table-Cs_Xm3-T.js +0 -144
- package/dist/table-Cs_Xm3-T.js.map +0 -1
- package/dist/table-CwxlKxz0.js +0 -185
- package/dist/table-CwxlKxz0.js.map +0 -1
- package/dist/table-D1jyvvdd.js +0 -242
- package/dist/table-D1jyvvdd.js.map +0 -1
- package/dist/table-D7QCvl0_.js +0 -269
- package/dist/table-D7QCvl0_.js.map +0 -1
- package/dist/table-DApb61os.js +0 -185
- package/dist/table-DApb61os.js.map +0 -1
- package/dist/table-DFIwJpJO.js +0 -144
- package/dist/table-DFIwJpJO.js.map +0 -1
- package/dist/table-DIZvtyjH.js +0 -185
- package/dist/table-DIZvtyjH.js.map +0 -1
- package/dist/table-DYOLmjfk.js +0 -325
- package/dist/table-DYOLmjfk.js.map +0 -1
- package/dist/table-Da60U9eH.js +0 -269
- package/dist/table-Da60U9eH.js.map +0 -1
- package/dist/table-Dcyk7CLS.js +0 -144
- package/dist/table-Dcyk7CLS.js.map +0 -1
- package/dist/table-DzNT9tDs.js +0 -280
- package/dist/table-DzNT9tDs.js.map +0 -1
- package/dist/table-EDCy6SCT.js +0 -214
- package/dist/table-EDCy6SCT.js.map +0 -1
- package/dist/table-GRGxN-x5.js +0 -309
- package/dist/table-GRGxN-x5.js.map +0 -1
- package/dist/table-Lk0tmBng.js +0 -309
- package/dist/table-Lk0tmBng.js.map +0 -1
- package/dist/table-k5i2kvUD.js +0 -324
- package/dist/table-k5i2kvUD.js.map +0 -1
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { useStyles } from '@frontile/theme';
|
|
3
|
+
import type { ColumnDefinition, SlotsToClasses, TableSlots } from './types';
|
|
4
|
+
interface TableCellSignature<T = unknown> {
|
|
5
|
+
Args: {
|
|
6
|
+
/** The data item for this row (used for context) */
|
|
7
|
+
item?: T;
|
|
8
|
+
/** Column definition associated with this cell */
|
|
9
|
+
column?: ColumnDefinition<T>;
|
|
10
|
+
/** Additional CSS class to apply to the cell */
|
|
11
|
+
class?: string;
|
|
12
|
+
/** Whether this cell should be sticky during horizontal scrolling */
|
|
13
|
+
isSticky?: boolean;
|
|
14
|
+
/** Position where the sticky cell should stick. @default 'left' */
|
|
15
|
+
stickyPosition?: 'left' | 'right';
|
|
16
|
+
/** Whether this cell is part of a sticky row (used for intersection styling) */
|
|
17
|
+
isInStickyRow?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @internal Style functions object from Table component
|
|
20
|
+
* @ignore
|
|
21
|
+
*/
|
|
22
|
+
styleFns?: ReturnType<ReturnType<typeof useStyles>['table']>;
|
|
23
|
+
/**
|
|
24
|
+
* @internal Classes object from Table component
|
|
25
|
+
* @ignore
|
|
26
|
+
*/
|
|
27
|
+
classes?: SlotsToClasses<TableSlots>;
|
|
28
|
+
};
|
|
29
|
+
Element: HTMLTableCellElement;
|
|
30
|
+
Blocks: {
|
|
31
|
+
default: [];
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
declare class TableCell<T = unknown> extends Component<TableCellSignature<T>> {
|
|
35
|
+
get isSticky(): boolean;
|
|
36
|
+
get stickyPosition(): 'left' | 'right';
|
|
37
|
+
get styles(): {
|
|
38
|
+
base: (
|
|
39
|
+
slotProps?:
|
|
40
|
+
| ({
|
|
41
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
42
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
43
|
+
striped?: boolean | undefined;
|
|
44
|
+
isSticky?: boolean | undefined;
|
|
45
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
46
|
+
isScrollable?: boolean | undefined;
|
|
47
|
+
hasStickyHeader?: boolean | undefined;
|
|
48
|
+
isInStickyRow?: boolean | undefined;
|
|
49
|
+
} & import('tailwind-variants').ClassProp<
|
|
50
|
+
import('tailwind-variants').ClassValue
|
|
51
|
+
>)
|
|
52
|
+
| undefined
|
|
53
|
+
) => string;
|
|
54
|
+
wrapper: (
|
|
55
|
+
slotProps?:
|
|
56
|
+
| ({
|
|
57
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
58
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
59
|
+
striped?: boolean | undefined;
|
|
60
|
+
isSticky?: boolean | undefined;
|
|
61
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
62
|
+
isScrollable?: boolean | undefined;
|
|
63
|
+
hasStickyHeader?: boolean | undefined;
|
|
64
|
+
isInStickyRow?: boolean | undefined;
|
|
65
|
+
} & import('tailwind-variants').ClassProp<
|
|
66
|
+
import('tailwind-variants').ClassValue
|
|
67
|
+
>)
|
|
68
|
+
| undefined
|
|
69
|
+
) => string;
|
|
70
|
+
table: (
|
|
71
|
+
slotProps?:
|
|
72
|
+
| ({
|
|
73
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
74
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
75
|
+
striped?: boolean | undefined;
|
|
76
|
+
isSticky?: boolean | undefined;
|
|
77
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
78
|
+
isScrollable?: boolean | undefined;
|
|
79
|
+
hasStickyHeader?: boolean | undefined;
|
|
80
|
+
isInStickyRow?: boolean | undefined;
|
|
81
|
+
} & import('tailwind-variants').ClassProp<
|
|
82
|
+
import('tailwind-variants').ClassValue
|
|
83
|
+
>)
|
|
84
|
+
| undefined
|
|
85
|
+
) => string;
|
|
86
|
+
thead: (
|
|
87
|
+
slotProps?:
|
|
88
|
+
| ({
|
|
89
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
90
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
91
|
+
striped?: boolean | undefined;
|
|
92
|
+
isSticky?: boolean | undefined;
|
|
93
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
94
|
+
isScrollable?: boolean | undefined;
|
|
95
|
+
hasStickyHeader?: boolean | undefined;
|
|
96
|
+
isInStickyRow?: boolean | undefined;
|
|
97
|
+
} & import('tailwind-variants').ClassProp<
|
|
98
|
+
import('tailwind-variants').ClassValue
|
|
99
|
+
>)
|
|
100
|
+
| undefined
|
|
101
|
+
) => string;
|
|
102
|
+
tbody: (
|
|
103
|
+
slotProps?:
|
|
104
|
+
| ({
|
|
105
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
106
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
107
|
+
striped?: boolean | undefined;
|
|
108
|
+
isSticky?: boolean | undefined;
|
|
109
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
110
|
+
isScrollable?: boolean | undefined;
|
|
111
|
+
hasStickyHeader?: boolean | undefined;
|
|
112
|
+
isInStickyRow?: boolean | undefined;
|
|
113
|
+
} & import('tailwind-variants').ClassProp<
|
|
114
|
+
import('tailwind-variants').ClassValue
|
|
115
|
+
>)
|
|
116
|
+
| undefined
|
|
117
|
+
) => string;
|
|
118
|
+
tfoot: (
|
|
119
|
+
slotProps?:
|
|
120
|
+
| ({
|
|
121
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
122
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
123
|
+
striped?: boolean | undefined;
|
|
124
|
+
isSticky?: boolean | undefined;
|
|
125
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
126
|
+
isScrollable?: boolean | undefined;
|
|
127
|
+
hasStickyHeader?: boolean | undefined;
|
|
128
|
+
isInStickyRow?: boolean | undefined;
|
|
129
|
+
} & import('tailwind-variants').ClassProp<
|
|
130
|
+
import('tailwind-variants').ClassValue
|
|
131
|
+
>)
|
|
132
|
+
| undefined
|
|
133
|
+
) => string;
|
|
134
|
+
tr: (
|
|
135
|
+
slotProps?:
|
|
136
|
+
| ({
|
|
137
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
138
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
139
|
+
striped?: boolean | undefined;
|
|
140
|
+
isSticky?: boolean | undefined;
|
|
141
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
142
|
+
isScrollable?: boolean | undefined;
|
|
143
|
+
hasStickyHeader?: boolean | undefined;
|
|
144
|
+
isInStickyRow?: boolean | undefined;
|
|
145
|
+
} & import('tailwind-variants').ClassProp<
|
|
146
|
+
import('tailwind-variants').ClassValue
|
|
147
|
+
>)
|
|
148
|
+
| undefined
|
|
149
|
+
) => string;
|
|
150
|
+
th: (
|
|
151
|
+
slotProps?:
|
|
152
|
+
| ({
|
|
153
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
154
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
155
|
+
striped?: boolean | undefined;
|
|
156
|
+
isSticky?: boolean | undefined;
|
|
157
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
158
|
+
isScrollable?: boolean | undefined;
|
|
159
|
+
hasStickyHeader?: boolean | undefined;
|
|
160
|
+
isInStickyRow?: boolean | undefined;
|
|
161
|
+
} & import('tailwind-variants').ClassProp<
|
|
162
|
+
import('tailwind-variants').ClassValue
|
|
163
|
+
>)
|
|
164
|
+
| undefined
|
|
165
|
+
) => string;
|
|
166
|
+
td: (
|
|
167
|
+
slotProps?:
|
|
168
|
+
| ({
|
|
169
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
170
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
171
|
+
striped?: boolean | undefined;
|
|
172
|
+
isSticky?: boolean | undefined;
|
|
173
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
174
|
+
isScrollable?: boolean | undefined;
|
|
175
|
+
hasStickyHeader?: boolean | undefined;
|
|
176
|
+
isInStickyRow?: boolean | undefined;
|
|
177
|
+
} & import('tailwind-variants').ClassProp<
|
|
178
|
+
import('tailwind-variants').ClassValue
|
|
179
|
+
>)
|
|
180
|
+
| undefined
|
|
181
|
+
) => string;
|
|
182
|
+
emptyCell: (
|
|
183
|
+
slotProps?:
|
|
184
|
+
| ({
|
|
185
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
186
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
187
|
+
striped?: boolean | undefined;
|
|
188
|
+
isSticky?: boolean | undefined;
|
|
189
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
190
|
+
isScrollable?: boolean | undefined;
|
|
191
|
+
hasStickyHeader?: boolean | undefined;
|
|
192
|
+
isInStickyRow?: boolean | undefined;
|
|
193
|
+
} & import('tailwind-variants').ClassProp<
|
|
194
|
+
import('tailwind-variants').ClassValue
|
|
195
|
+
>)
|
|
196
|
+
| undefined
|
|
197
|
+
) => string;
|
|
198
|
+
} & {
|
|
199
|
+
base: (
|
|
200
|
+
slotProps?:
|
|
201
|
+
| ({
|
|
202
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
203
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
204
|
+
striped?: boolean | undefined;
|
|
205
|
+
isSticky?: boolean | undefined;
|
|
206
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
207
|
+
isScrollable?: boolean | undefined;
|
|
208
|
+
hasStickyHeader?: boolean | undefined;
|
|
209
|
+
isInStickyRow?: boolean | undefined;
|
|
210
|
+
} & import('tailwind-variants').ClassProp<
|
|
211
|
+
import('tailwind-variants').ClassValue
|
|
212
|
+
>)
|
|
213
|
+
| undefined
|
|
214
|
+
) => string;
|
|
215
|
+
wrapper: (
|
|
216
|
+
slotProps?:
|
|
217
|
+
| ({
|
|
218
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
219
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
220
|
+
striped?: boolean | undefined;
|
|
221
|
+
isSticky?: boolean | undefined;
|
|
222
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
223
|
+
isScrollable?: boolean | undefined;
|
|
224
|
+
hasStickyHeader?: boolean | undefined;
|
|
225
|
+
isInStickyRow?: boolean | undefined;
|
|
226
|
+
} & import('tailwind-variants').ClassProp<
|
|
227
|
+
import('tailwind-variants').ClassValue
|
|
228
|
+
>)
|
|
229
|
+
| undefined
|
|
230
|
+
) => string;
|
|
231
|
+
table: (
|
|
232
|
+
slotProps?:
|
|
233
|
+
| ({
|
|
234
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
235
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
236
|
+
striped?: boolean | undefined;
|
|
237
|
+
isSticky?: boolean | undefined;
|
|
238
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
239
|
+
isScrollable?: boolean | undefined;
|
|
240
|
+
hasStickyHeader?: boolean | undefined;
|
|
241
|
+
isInStickyRow?: boolean | undefined;
|
|
242
|
+
} & import('tailwind-variants').ClassProp<
|
|
243
|
+
import('tailwind-variants').ClassValue
|
|
244
|
+
>)
|
|
245
|
+
| undefined
|
|
246
|
+
) => string;
|
|
247
|
+
thead: (
|
|
248
|
+
slotProps?:
|
|
249
|
+
| ({
|
|
250
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
251
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
252
|
+
striped?: boolean | undefined;
|
|
253
|
+
isSticky?: boolean | undefined;
|
|
254
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
255
|
+
isScrollable?: boolean | undefined;
|
|
256
|
+
hasStickyHeader?: boolean | undefined;
|
|
257
|
+
isInStickyRow?: boolean | undefined;
|
|
258
|
+
} & import('tailwind-variants').ClassProp<
|
|
259
|
+
import('tailwind-variants').ClassValue
|
|
260
|
+
>)
|
|
261
|
+
| undefined
|
|
262
|
+
) => string;
|
|
263
|
+
tbody: (
|
|
264
|
+
slotProps?:
|
|
265
|
+
| ({
|
|
266
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
267
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
268
|
+
striped?: boolean | undefined;
|
|
269
|
+
isSticky?: boolean | undefined;
|
|
270
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
271
|
+
isScrollable?: boolean | undefined;
|
|
272
|
+
hasStickyHeader?: boolean | undefined;
|
|
273
|
+
isInStickyRow?: boolean | undefined;
|
|
274
|
+
} & import('tailwind-variants').ClassProp<
|
|
275
|
+
import('tailwind-variants').ClassValue
|
|
276
|
+
>)
|
|
277
|
+
| undefined
|
|
278
|
+
) => string;
|
|
279
|
+
tfoot: (
|
|
280
|
+
slotProps?:
|
|
281
|
+
| ({
|
|
282
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
283
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
284
|
+
striped?: boolean | undefined;
|
|
285
|
+
isSticky?: boolean | undefined;
|
|
286
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
287
|
+
isScrollable?: boolean | undefined;
|
|
288
|
+
hasStickyHeader?: boolean | undefined;
|
|
289
|
+
isInStickyRow?: boolean | undefined;
|
|
290
|
+
} & import('tailwind-variants').ClassProp<
|
|
291
|
+
import('tailwind-variants').ClassValue
|
|
292
|
+
>)
|
|
293
|
+
| undefined
|
|
294
|
+
) => string;
|
|
295
|
+
tr: (
|
|
296
|
+
slotProps?:
|
|
297
|
+
| ({
|
|
298
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
299
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
300
|
+
striped?: boolean | undefined;
|
|
301
|
+
isSticky?: boolean | undefined;
|
|
302
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
303
|
+
isScrollable?: boolean | undefined;
|
|
304
|
+
hasStickyHeader?: boolean | undefined;
|
|
305
|
+
isInStickyRow?: boolean | undefined;
|
|
306
|
+
} & import('tailwind-variants').ClassProp<
|
|
307
|
+
import('tailwind-variants').ClassValue
|
|
308
|
+
>)
|
|
309
|
+
| undefined
|
|
310
|
+
) => string;
|
|
311
|
+
th: (
|
|
312
|
+
slotProps?:
|
|
313
|
+
| ({
|
|
314
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
315
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
316
|
+
striped?: boolean | undefined;
|
|
317
|
+
isSticky?: boolean | undefined;
|
|
318
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
319
|
+
isScrollable?: boolean | undefined;
|
|
320
|
+
hasStickyHeader?: boolean | undefined;
|
|
321
|
+
isInStickyRow?: boolean | undefined;
|
|
322
|
+
} & import('tailwind-variants').ClassProp<
|
|
323
|
+
import('tailwind-variants').ClassValue
|
|
324
|
+
>)
|
|
325
|
+
| undefined
|
|
326
|
+
) => string;
|
|
327
|
+
td: (
|
|
328
|
+
slotProps?:
|
|
329
|
+
| ({
|
|
330
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
331
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
332
|
+
striped?: boolean | undefined;
|
|
333
|
+
isSticky?: boolean | undefined;
|
|
334
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
335
|
+
isScrollable?: boolean | undefined;
|
|
336
|
+
hasStickyHeader?: boolean | undefined;
|
|
337
|
+
isInStickyRow?: boolean | undefined;
|
|
338
|
+
} & import('tailwind-variants').ClassProp<
|
|
339
|
+
import('tailwind-variants').ClassValue
|
|
340
|
+
>)
|
|
341
|
+
| undefined
|
|
342
|
+
) => string;
|
|
343
|
+
emptyCell: (
|
|
344
|
+
slotProps?:
|
|
345
|
+
| ({
|
|
346
|
+
size?: 'sm' | 'md' | 'lg' | undefined;
|
|
347
|
+
layout?: 'fixed' | 'auto' | undefined;
|
|
348
|
+
striped?: boolean | undefined;
|
|
349
|
+
isSticky?: boolean | undefined;
|
|
350
|
+
stickyPosition?: 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
351
|
+
isScrollable?: boolean | undefined;
|
|
352
|
+
hasStickyHeader?: boolean | undefined;
|
|
353
|
+
isInStickyRow?: boolean | undefined;
|
|
354
|
+
} & import('tailwind-variants').ClassProp<
|
|
355
|
+
import('tailwind-variants').ClassValue
|
|
356
|
+
>)
|
|
357
|
+
| undefined
|
|
358
|
+
) => string;
|
|
359
|
+
} & {};
|
|
360
|
+
|
|
361
|
+
get classNames(): string;
|
|
362
|
+
}
|
|
363
|
+
export { TableCell, type TableCellSignature };
|
|
364
|
+
export default TableCell;
|