@frontile/collections 0.17.0-beta.24 → 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.
Files changed (117) hide show
  1. package/declarations/components/simple-table/body.d.ts +428 -0
  2. package/declarations/components/simple-table/cell.d.ts +427 -0
  3. package/declarations/components/simple-table/column.d.ts +419 -0
  4. package/declarations/components/simple-table/footer.d.ts +430 -0
  5. package/declarations/components/simple-table/header.d.ts +430 -0
  6. package/declarations/components/simple-table/index.d.ts +446 -0
  7. package/declarations/components/simple-table/row.d.ts +430 -0
  8. package/declarations/components/simple-table/simple-table-body.d.ts +238 -0
  9. package/declarations/components/simple-table/simple-table-cell.d.ts +231 -0
  10. package/declarations/components/simple-table/simple-table-column.d.ts +225 -0
  11. package/declarations/components/simple-table/simple-table-footer.d.ts +237 -0
  12. package/declarations/components/simple-table/simple-table-header.d.ts +237 -0
  13. package/declarations/components/simple-table/simple-table-row.d.ts +236 -0
  14. package/declarations/components/simple-table/simple-table.d.ts +249 -0
  15. package/declarations/components/table/cell-default.d.ts +43 -0
  16. package/declarations/components/table/cell-for.d.ts +38 -0
  17. package/declarations/components/table/cell-rendering-context.d.ts +24 -0
  18. package/declarations/components/table/checkbox.d.ts +50 -0
  19. package/declarations/components/table/column-visibility.d.ts +416 -0
  20. package/declarations/components/table/icons.d.ts +11 -0
  21. package/declarations/components/table/index.d.ts +4 -0
  22. package/declarations/components/table/sort-button.d.ts +413 -0
  23. package/declarations/components/table/table-body.d.ts +253 -0
  24. package/declarations/components/table/table-cell.d.ts +243 -0
  25. package/declarations/components/table/table-column.d.ts +251 -0
  26. package/declarations/components/table/table-footer.d.ts +242 -0
  27. package/declarations/components/table/table-header.d.ts +243 -0
  28. package/declarations/components/table/table-row.d.ts +263 -0
  29. package/declarations/components/table/table.d.ts +555 -0
  30. package/declarations/components/table/typed-cell-for.d.ts +34 -0
  31. package/declarations/components/table/types.d.ts +46 -0
  32. package/declarations/components/table/utils.d.ts +6 -0
  33. package/declarations/components/table-legacy/index.d.ts +9 -0
  34. package/declarations/components/table-legacy/table-body.d.ts +374 -0
  35. package/declarations/components/table-legacy/table-cell.d.ts +364 -0
  36. package/declarations/components/table-legacy/table-column.d.ts +357 -0
  37. package/declarations/components/table-legacy/table-footer.d.ts +365 -0
  38. package/declarations/components/table-legacy/table-header.d.ts +364 -0
  39. package/declarations/components/table-legacy/table-row.d.ts +373 -0
  40. package/declarations/components/table-legacy/table.d.ts +437 -0
  41. package/declarations/components/table-legacy/types.d.ts +20 -0
  42. package/declarations/components/table-legacy/utils.d.ts +16 -0
  43. package/declarations/components/table.d.ts +2 -0
  44. package/declarations/index.d.ts +1 -0
  45. package/declarations/template-registry.d.ts +3 -1
  46. package/declarations/utils/tableManager.d.ts +25 -0
  47. package/declarations/utils/typed-table.d.ts +32 -0
  48. package/dist/_app_/components/table.js +1 -0
  49. package/dist/components/dropdown.js +1 -1
  50. package/dist/components/listbox.js +1 -1
  51. package/dist/components/table.js +2 -0
  52. package/dist/components/table.js.map +1 -0
  53. package/dist/index-OHRSSSqD.js +528 -0
  54. package/dist/index-OHRSSSqD.js.map +1 -0
  55. package/dist/index.js +2 -1
  56. package/dist/index.js.map +1 -1
  57. package/dist/{listManager-D4_vozfz.js → listManager-CKsOd2zS.js} +2 -2
  58. package/dist/{listManager-D4_vozfz.js.map → listManager-CKsOd2zS.js.map} +1 -1
  59. package/dist/listManager-Dth1-3Si.js +439 -0
  60. package/dist/listManager-Dth1-3Si.js.map +1 -0
  61. package/dist/listbox-BHb3ozlg.js +204 -0
  62. package/dist/listbox-BHb3ozlg.js.map +1 -0
  63. package/dist/listbox-CkGwpiDp.js +203 -0
  64. package/dist/listbox-CkGwpiDp.js.map +1 -0
  65. package/dist/listbox-ClqgWnnA.js +204 -0
  66. package/dist/listbox-ClqgWnnA.js.map +1 -0
  67. package/dist/listbox-rcGFjxs0.js +112 -47
  68. package/dist/listbox-y30VBGX-.js +204 -0
  69. package/dist/listbox-y30VBGX-.js.map +1 -0
  70. package/dist/simple-table-B7dwVNtZ.js +528 -0
  71. package/dist/simple-table-B7dwVNtZ.js.map +1 -0
  72. package/dist/simple-table-OHRSSSqD.js +528 -0
  73. package/dist/simple-table-OHRSSSqD.js.map +1 -0
  74. package/dist/table-B2HDNKJZ.js +406 -0
  75. package/dist/table-B2HDNKJZ.js.map +1 -0
  76. package/dist/table-BDc4IZIE.js +878 -0
  77. package/dist/table-BDc4IZIE.js.map +1 -0
  78. package/dist/table-BFkVEZvb.js +392 -0
  79. package/dist/table-BFkVEZvb.js.map +1 -0
  80. package/dist/table-BqvHQi0L.js +878 -0
  81. package/dist/table-BqvHQi0L.js.map +1 -0
  82. package/dist/table-C7ch3NLp.js +395 -0
  83. package/dist/table-C7ch3NLp.js.map +1 -0
  84. package/dist/table-CLHR4-J5.js +395 -0
  85. package/dist/table-CLHR4-J5.js.map +1 -0
  86. package/dist/table-COm7aEZ1.js +341 -0
  87. package/dist/table-COm7aEZ1.js.map +1 -0
  88. package/dist/table-CSzsuwXt.js +394 -0
  89. package/dist/table-CSzsuwXt.js.map +1 -0
  90. package/dist/table-CVCiVPCB.js +878 -0
  91. package/dist/table-CVCiVPCB.js.map +1 -0
  92. package/dist/table-CcYV8m90.js +341 -0
  93. package/dist/table-CcYV8m90.js.map +1 -0
  94. package/dist/table-DEK1U06v.js +632 -0
  95. package/dist/table-DEK1U06v.js.map +1 -0
  96. package/dist/table-DGQbKRn3.js +395 -0
  97. package/dist/table-DGQbKRn3.js.map +1 -0
  98. package/dist/table-DnQQJItF.js +632 -0
  99. package/dist/table-DnQQJItF.js.map +1 -0
  100. package/dist/table-DrBJt7Eh.js +395 -0
  101. package/dist/table-DrBJt7Eh.js.map +1 -0
  102. package/dist/table-SVR6fEqh.js +877 -0
  103. package/dist/table-SVR6fEqh.js.map +1 -0
  104. package/dist/table-XUYqiKyi.js +394 -0
  105. package/dist/table-XUYqiKyi.js.map +1 -0
  106. package/dist/table-footer-DTLYf3Ac.js +553 -0
  107. package/dist/table-footer-DTLYf3Ac.js.map +1 -0
  108. package/dist/types-B-8cgOds.js +524 -0
  109. package/dist/types-B-8cgOds.js.map +1 -0
  110. package/dist/types-CJuwIIDs.js +524 -0
  111. package/dist/types-CJuwIIDs.js.map +1 -0
  112. package/dist/types-CuXFudgJ.js +526 -0
  113. package/dist/types-CuXFudgJ.js.map +1 -0
  114. package/dist/types-DkKoxFKn.js +524 -0
  115. package/dist/types-DkKoxFKn.js.map +1 -0
  116. package/dist/utils/listManager.js +1 -1
  117. package/package.json +9 -7
@@ -0,0 +1,253 @@
1
+ import Component from '@glimmer/component';
2
+ import { useStyles } from '@frontile/theme';
3
+ import { TableRow } from './table-row';
4
+ import { TableCell } from './table-cell';
5
+ import type { SlotsToClasses, TableSlots, Row, Column } from './types';
6
+ interface TableBodySignature<T> {
7
+ Args: {
8
+ /** Array of columns for automatic row generation */
9
+ columns?: Column<T>[];
10
+ /** Array of data rows to display as rows */
11
+ rows?: Row<T>[];
12
+ /** Additional CSS class to apply to the body section */
13
+ class?: string;
14
+ /**
15
+ * @internal Style functions object from Table component
16
+ * @ignore
17
+ */
18
+ styleFns?: ReturnType<ReturnType<typeof useStyles>['table']>;
19
+ /**
20
+ * @internal Classes object from Table component
21
+ * @ignore
22
+ */
23
+ classes?: SlotsToClasses<TableSlots>;
24
+ };
25
+ Element: HTMLTableSectionElement;
26
+ Blocks: {
27
+ default: [
28
+ {
29
+ Row: typeof TableRow;
30
+ Cell: typeof TableCell;
31
+ rows: Row<T>[];
32
+ columns: Column<T>[];
33
+ }
34
+ ];
35
+ row: [
36
+ {
37
+ row: Row<T>;
38
+ Row: typeof TableRow;
39
+ Cell: typeof TableCell;
40
+ }
41
+ ];
42
+ };
43
+ }
44
+ declare class TableBody<T = unknown> extends Component<TableBodySignature<T>> {
45
+ get styles(): {
46
+ base: (slotProps?: ({
47
+ size?: "sm" | "md" | "lg" | undefined;
48
+ layout?: "fixed" | "auto" | undefined;
49
+ striped?: boolean | undefined;
50
+ isSticky?: boolean | undefined;
51
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
52
+ isScrollable?: boolean | undefined;
53
+ hasStickyHeader?: boolean | undefined;
54
+ isInStickyRow?: boolean | undefined;
55
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
56
+ wrapper: (slotProps?: ({
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<import("tailwind-variants").ClassValue>) | undefined) => string;
66
+ table: (slotProps?: ({
67
+ size?: "sm" | "md" | "lg" | undefined;
68
+ layout?: "fixed" | "auto" | undefined;
69
+ striped?: boolean | undefined;
70
+ isSticky?: boolean | undefined;
71
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
72
+ isScrollable?: boolean | undefined;
73
+ hasStickyHeader?: boolean | undefined;
74
+ isInStickyRow?: boolean | undefined;
75
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
76
+ thead: (slotProps?: ({
77
+ size?: "sm" | "md" | "lg" | undefined;
78
+ layout?: "fixed" | "auto" | undefined;
79
+ striped?: boolean | undefined;
80
+ isSticky?: boolean | undefined;
81
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
82
+ isScrollable?: boolean | undefined;
83
+ hasStickyHeader?: boolean | undefined;
84
+ isInStickyRow?: boolean | undefined;
85
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
86
+ tbody: (slotProps?: ({
87
+ size?: "sm" | "md" | "lg" | undefined;
88
+ layout?: "fixed" | "auto" | undefined;
89
+ striped?: boolean | undefined;
90
+ isSticky?: boolean | undefined;
91
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
92
+ isScrollable?: boolean | undefined;
93
+ hasStickyHeader?: boolean | undefined;
94
+ isInStickyRow?: boolean | undefined;
95
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
96
+ tfoot: (slotProps?: ({
97
+ size?: "sm" | "md" | "lg" | undefined;
98
+ layout?: "fixed" | "auto" | undefined;
99
+ striped?: boolean | undefined;
100
+ isSticky?: boolean | undefined;
101
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
102
+ isScrollable?: boolean | undefined;
103
+ hasStickyHeader?: boolean | undefined;
104
+ isInStickyRow?: boolean | undefined;
105
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
106
+ tr: (slotProps?: ({
107
+ size?: "sm" | "md" | "lg" | undefined;
108
+ layout?: "fixed" | "auto" | undefined;
109
+ striped?: boolean | undefined;
110
+ isSticky?: boolean | undefined;
111
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
112
+ isScrollable?: boolean | undefined;
113
+ hasStickyHeader?: boolean | undefined;
114
+ isInStickyRow?: boolean | undefined;
115
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
116
+ th: (slotProps?: ({
117
+ size?: "sm" | "md" | "lg" | undefined;
118
+ layout?: "fixed" | "auto" | undefined;
119
+ striped?: boolean | undefined;
120
+ isSticky?: boolean | undefined;
121
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
122
+ isScrollable?: boolean | undefined;
123
+ hasStickyHeader?: boolean | undefined;
124
+ isInStickyRow?: boolean | undefined;
125
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
126
+ td: (slotProps?: ({
127
+ size?: "sm" | "md" | "lg" | undefined;
128
+ layout?: "fixed" | "auto" | undefined;
129
+ striped?: boolean | undefined;
130
+ isSticky?: boolean | undefined;
131
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
132
+ isScrollable?: boolean | undefined;
133
+ hasStickyHeader?: boolean | undefined;
134
+ isInStickyRow?: boolean | undefined;
135
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
136
+ emptyCell: (slotProps?: ({
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<import("tailwind-variants").ClassValue>) | undefined) => string;
146
+ } & {
147
+ base: (slotProps?: ({
148
+ size?: "sm" | "md" | "lg" | undefined;
149
+ layout?: "fixed" | "auto" | undefined;
150
+ striped?: boolean | undefined;
151
+ isSticky?: boolean | undefined;
152
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
153
+ isScrollable?: boolean | undefined;
154
+ hasStickyHeader?: boolean | undefined;
155
+ isInStickyRow?: boolean | undefined;
156
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
157
+ wrapper: (slotProps?: ({
158
+ size?: "sm" | "md" | "lg" | undefined;
159
+ layout?: "fixed" | "auto" | undefined;
160
+ striped?: boolean | undefined;
161
+ isSticky?: boolean | undefined;
162
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
163
+ isScrollable?: boolean | undefined;
164
+ hasStickyHeader?: boolean | undefined;
165
+ isInStickyRow?: boolean | undefined;
166
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
167
+ table: (slotProps?: ({
168
+ size?: "sm" | "md" | "lg" | undefined;
169
+ layout?: "fixed" | "auto" | undefined;
170
+ striped?: boolean | undefined;
171
+ isSticky?: boolean | undefined;
172
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
173
+ isScrollable?: boolean | undefined;
174
+ hasStickyHeader?: boolean | undefined;
175
+ isInStickyRow?: boolean | undefined;
176
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
177
+ thead: (slotProps?: ({
178
+ size?: "sm" | "md" | "lg" | undefined;
179
+ layout?: "fixed" | "auto" | undefined;
180
+ striped?: boolean | undefined;
181
+ isSticky?: boolean | undefined;
182
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
183
+ isScrollable?: boolean | undefined;
184
+ hasStickyHeader?: boolean | undefined;
185
+ isInStickyRow?: boolean | undefined;
186
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
187
+ tbody: (slotProps?: ({
188
+ size?: "sm" | "md" | "lg" | undefined;
189
+ layout?: "fixed" | "auto" | undefined;
190
+ striped?: boolean | undefined;
191
+ isSticky?: boolean | undefined;
192
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
193
+ isScrollable?: boolean | undefined;
194
+ hasStickyHeader?: boolean | undefined;
195
+ isInStickyRow?: boolean | undefined;
196
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
197
+ tfoot: (slotProps?: ({
198
+ size?: "sm" | "md" | "lg" | undefined;
199
+ layout?: "fixed" | "auto" | undefined;
200
+ striped?: boolean | undefined;
201
+ isSticky?: boolean | undefined;
202
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
203
+ isScrollable?: boolean | undefined;
204
+ hasStickyHeader?: boolean | undefined;
205
+ isInStickyRow?: boolean | undefined;
206
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
207
+ tr: (slotProps?: ({
208
+ size?: "sm" | "md" | "lg" | undefined;
209
+ layout?: "fixed" | "auto" | undefined;
210
+ striped?: boolean | undefined;
211
+ isSticky?: boolean | undefined;
212
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
213
+ isScrollable?: boolean | undefined;
214
+ hasStickyHeader?: boolean | undefined;
215
+ isInStickyRow?: boolean | undefined;
216
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
217
+ th: (slotProps?: ({
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<import("tailwind-variants").ClassValue>) | undefined) => string;
227
+ td: (slotProps?: ({
228
+ size?: "sm" | "md" | "lg" | undefined;
229
+ layout?: "fixed" | "auto" | undefined;
230
+ striped?: boolean | undefined;
231
+ isSticky?: boolean | undefined;
232
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
233
+ isScrollable?: boolean | undefined;
234
+ hasStickyHeader?: boolean | undefined;
235
+ isInStickyRow?: boolean | undefined;
236
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
237
+ emptyCell: (slotProps?: ({
238
+ size?: "sm" | "md" | "lg" | undefined;
239
+ layout?: "fixed" | "auto" | undefined;
240
+ striped?: boolean | undefined;
241
+ isSticky?: boolean | undefined;
242
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
243
+ isScrollable?: boolean | undefined;
244
+ hasStickyHeader?: boolean | undefined;
245
+ isInStickyRow?: boolean | undefined;
246
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
247
+ } & {};
248
+ get classNames(): string;
249
+ get rows(): Row<T>[];
250
+ get columns(): Column<T>[];
251
+ }
252
+ export { TableBody, type TableBodySignature };
253
+ export default TableBody;
@@ -0,0 +1,243 @@
1
+ import Component from '@glimmer/component';
2
+ import { useStyles } from '@frontile/theme';
3
+ import type { SlotsToClasses, TableSlots, Row, Column } from './types';
4
+ interface TableCellSignature<T = unknown> {
5
+ Args: {
6
+ /** The data row for this row (used for context) */
7
+ row?: Row<T>;
8
+ /** Column definition associated with this cell */
9
+ column?: Column<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: (slotProps?: ({
39
+ size?: "sm" | "md" | "lg" | undefined;
40
+ layout?: "fixed" | "auto" | undefined;
41
+ striped?: boolean | undefined;
42
+ isSticky?: boolean | undefined;
43
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
44
+ isScrollable?: boolean | undefined;
45
+ hasStickyHeader?: boolean | undefined;
46
+ isInStickyRow?: boolean | undefined;
47
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
48
+ wrapper: (slotProps?: ({
49
+ size?: "sm" | "md" | "lg" | undefined;
50
+ layout?: "fixed" | "auto" | undefined;
51
+ striped?: boolean | undefined;
52
+ isSticky?: boolean | undefined;
53
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
54
+ isScrollable?: boolean | undefined;
55
+ hasStickyHeader?: boolean | undefined;
56
+ isInStickyRow?: boolean | undefined;
57
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
58
+ table: (slotProps?: ({
59
+ size?: "sm" | "md" | "lg" | undefined;
60
+ layout?: "fixed" | "auto" | undefined;
61
+ striped?: boolean | undefined;
62
+ isSticky?: boolean | undefined;
63
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
64
+ isScrollable?: boolean | undefined;
65
+ hasStickyHeader?: boolean | undefined;
66
+ isInStickyRow?: boolean | undefined;
67
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
68
+ thead: (slotProps?: ({
69
+ size?: "sm" | "md" | "lg" | undefined;
70
+ layout?: "fixed" | "auto" | undefined;
71
+ striped?: boolean | undefined;
72
+ isSticky?: boolean | undefined;
73
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
74
+ isScrollable?: boolean | undefined;
75
+ hasStickyHeader?: boolean | undefined;
76
+ isInStickyRow?: boolean | undefined;
77
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
78
+ tbody: (slotProps?: ({
79
+ size?: "sm" | "md" | "lg" | undefined;
80
+ layout?: "fixed" | "auto" | undefined;
81
+ striped?: boolean | undefined;
82
+ isSticky?: boolean | undefined;
83
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
84
+ isScrollable?: boolean | undefined;
85
+ hasStickyHeader?: boolean | undefined;
86
+ isInStickyRow?: boolean | undefined;
87
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
88
+ tfoot: (slotProps?: ({
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<import("tailwind-variants").ClassValue>) | undefined) => string;
98
+ tr: (slotProps?: ({
99
+ size?: "sm" | "md" | "lg" | undefined;
100
+ layout?: "fixed" | "auto" | undefined;
101
+ striped?: boolean | undefined;
102
+ isSticky?: boolean | undefined;
103
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
104
+ isScrollable?: boolean | undefined;
105
+ hasStickyHeader?: boolean | undefined;
106
+ isInStickyRow?: boolean | undefined;
107
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
108
+ th: (slotProps?: ({
109
+ size?: "sm" | "md" | "lg" | undefined;
110
+ layout?: "fixed" | "auto" | undefined;
111
+ striped?: boolean | undefined;
112
+ isSticky?: boolean | undefined;
113
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
114
+ isScrollable?: boolean | undefined;
115
+ hasStickyHeader?: boolean | undefined;
116
+ isInStickyRow?: boolean | undefined;
117
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
118
+ td: (slotProps?: ({
119
+ size?: "sm" | "md" | "lg" | undefined;
120
+ layout?: "fixed" | "auto" | undefined;
121
+ striped?: boolean | undefined;
122
+ isSticky?: boolean | undefined;
123
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
124
+ isScrollable?: boolean | undefined;
125
+ hasStickyHeader?: boolean | undefined;
126
+ isInStickyRow?: boolean | undefined;
127
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
128
+ emptyCell: (slotProps?: ({
129
+ size?: "sm" | "md" | "lg" | undefined;
130
+ layout?: "fixed" | "auto" | undefined;
131
+ striped?: boolean | undefined;
132
+ isSticky?: boolean | undefined;
133
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
134
+ isScrollable?: boolean | undefined;
135
+ hasStickyHeader?: boolean | undefined;
136
+ isInStickyRow?: boolean | undefined;
137
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
138
+ } & {
139
+ base: (slotProps?: ({
140
+ size?: "sm" | "md" | "lg" | undefined;
141
+ layout?: "fixed" | "auto" | undefined;
142
+ striped?: boolean | undefined;
143
+ isSticky?: boolean | undefined;
144
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
145
+ isScrollable?: boolean | undefined;
146
+ hasStickyHeader?: boolean | undefined;
147
+ isInStickyRow?: boolean | undefined;
148
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
149
+ wrapper: (slotProps?: ({
150
+ size?: "sm" | "md" | "lg" | undefined;
151
+ layout?: "fixed" | "auto" | undefined;
152
+ striped?: boolean | undefined;
153
+ isSticky?: boolean | undefined;
154
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
155
+ isScrollable?: boolean | undefined;
156
+ hasStickyHeader?: boolean | undefined;
157
+ isInStickyRow?: boolean | undefined;
158
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
159
+ table: (slotProps?: ({
160
+ size?: "sm" | "md" | "lg" | undefined;
161
+ layout?: "fixed" | "auto" | undefined;
162
+ striped?: boolean | undefined;
163
+ isSticky?: boolean | undefined;
164
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
165
+ isScrollable?: boolean | undefined;
166
+ hasStickyHeader?: boolean | undefined;
167
+ isInStickyRow?: boolean | undefined;
168
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
169
+ thead: (slotProps?: ({
170
+ size?: "sm" | "md" | "lg" | undefined;
171
+ layout?: "fixed" | "auto" | undefined;
172
+ striped?: boolean | undefined;
173
+ isSticky?: boolean | undefined;
174
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
175
+ isScrollable?: boolean | undefined;
176
+ hasStickyHeader?: boolean | undefined;
177
+ isInStickyRow?: boolean | undefined;
178
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
179
+ tbody: (slotProps?: ({
180
+ size?: "sm" | "md" | "lg" | undefined;
181
+ layout?: "fixed" | "auto" | undefined;
182
+ striped?: boolean | undefined;
183
+ isSticky?: boolean | undefined;
184
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
185
+ isScrollable?: boolean | undefined;
186
+ hasStickyHeader?: boolean | undefined;
187
+ isInStickyRow?: boolean | undefined;
188
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
189
+ tfoot: (slotProps?: ({
190
+ size?: "sm" | "md" | "lg" | undefined;
191
+ layout?: "fixed" | "auto" | undefined;
192
+ striped?: boolean | undefined;
193
+ isSticky?: boolean | undefined;
194
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
195
+ isScrollable?: boolean | undefined;
196
+ hasStickyHeader?: boolean | undefined;
197
+ isInStickyRow?: boolean | undefined;
198
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
199
+ tr: (slotProps?: ({
200
+ size?: "sm" | "md" | "lg" | undefined;
201
+ layout?: "fixed" | "auto" | undefined;
202
+ striped?: boolean | undefined;
203
+ isSticky?: boolean | undefined;
204
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
205
+ isScrollable?: boolean | undefined;
206
+ hasStickyHeader?: boolean | undefined;
207
+ isInStickyRow?: boolean | undefined;
208
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
209
+ th: (slotProps?: ({
210
+ size?: "sm" | "md" | "lg" | undefined;
211
+ layout?: "fixed" | "auto" | undefined;
212
+ striped?: boolean | undefined;
213
+ isSticky?: boolean | undefined;
214
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
215
+ isScrollable?: boolean | undefined;
216
+ hasStickyHeader?: boolean | undefined;
217
+ isInStickyRow?: boolean | undefined;
218
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
219
+ td: (slotProps?: ({
220
+ size?: "sm" | "md" | "lg" | undefined;
221
+ layout?: "fixed" | "auto" | undefined;
222
+ striped?: boolean | undefined;
223
+ isSticky?: boolean | undefined;
224
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
225
+ isScrollable?: boolean | undefined;
226
+ hasStickyHeader?: boolean | undefined;
227
+ isInStickyRow?: boolean | undefined;
228
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
229
+ emptyCell: (slotProps?: ({
230
+ size?: "sm" | "md" | "lg" | undefined;
231
+ layout?: "fixed" | "auto" | undefined;
232
+ striped?: boolean | undefined;
233
+ isSticky?: boolean | undefined;
234
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
235
+ isScrollable?: boolean | undefined;
236
+ hasStickyHeader?: boolean | undefined;
237
+ isInStickyRow?: boolean | undefined;
238
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
239
+ } & {};
240
+ get classNames(): string;
241
+ }
242
+ export { TableCell, type TableCellSignature };
243
+ export default TableCell;