@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,243 @@
1
+ import Component from '@glimmer/component';
2
+ import { useStyles } from '@frontile/theme';
3
+ import { TableColumn } from './table-column';
4
+ import type { SlotsToClasses, TableSlots, Column } from './types';
5
+ interface TableHeaderSignature<T = unknown> {
6
+ Args: {
7
+ /** Array of columns for automatic header generation */
8
+ columns?: Column<T>[];
9
+ /** Additional CSS class to apply to the header section */
10
+ class?: string;
11
+ /** Whether the header should be sticky during vertical scrolling */
12
+ isSticky?: boolean;
13
+ /**
14
+ * @internal Style functions object from Table component
15
+ * @ignore
16
+ */
17
+ styleFns?: ReturnType<ReturnType<typeof useStyles>['table']>;
18
+ /**
19
+ * @internal Classes object from Table component
20
+ * @ignore
21
+ */
22
+ classes?: SlotsToClasses<TableSlots>;
23
+ };
24
+ Element: HTMLTableSectionElement;
25
+ Blocks: {
26
+ default: [
27
+ {
28
+ Column: typeof TableColumn;
29
+ columns: Column<T>[];
30
+ }
31
+ ];
32
+ };
33
+ }
34
+ declare class TableHeader<T = unknown> extends Component<TableHeaderSignature<T>> {
35
+ get styles(): {
36
+ base: (slotProps?: ({
37
+ size?: "sm" | "md" | "lg" | undefined;
38
+ layout?: "fixed" | "auto" | undefined;
39
+ striped?: boolean | undefined;
40
+ isSticky?: boolean | undefined;
41
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
42
+ isScrollable?: boolean | undefined;
43
+ hasStickyHeader?: boolean | undefined;
44
+ isInStickyRow?: boolean | undefined;
45
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
46
+ wrapper: (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
+ table: (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
+ thead: (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
+ tbody: (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
+ tfoot: (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
+ tr: (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
+ th: (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
+ td: (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
+ emptyCell: (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
+ } & {
137
+ base: (slotProps?: ({
138
+ size?: "sm" | "md" | "lg" | undefined;
139
+ layout?: "fixed" | "auto" | undefined;
140
+ striped?: boolean | undefined;
141
+ isSticky?: boolean | undefined;
142
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
143
+ isScrollable?: boolean | undefined;
144
+ hasStickyHeader?: boolean | undefined;
145
+ isInStickyRow?: boolean | undefined;
146
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
147
+ wrapper: (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
+ table: (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
+ thead: (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
+ tbody: (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
+ tfoot: (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
+ tr: (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
+ th: (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
+ td: (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
+ emptyCell: (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
+ } & {};
238
+ get classNames(): string;
239
+ get rowClassNames(): string;
240
+ get columns(): Column<T>[];
241
+ }
242
+ export { TableHeader, type TableHeaderSignature };
243
+ export default TableHeader;
@@ -0,0 +1,263 @@
1
+ import Component from '@glimmer/component';
2
+ import { useStyles } from '@frontile/theme';
3
+ import { TableCell } from './table-cell';
4
+ import type { FunctionBasedModifier } from 'ember-modifier';
5
+ import type { SlotsToClasses, TableSlots, Row, Column, Table } from './types';
6
+ interface TableRowSignature<T> {
7
+ Args: {
8
+ /** The data row for this row */
9
+ row?: Row<T>;
10
+ /** Array of universal-ember columns for automatic cell generation */
11
+ columns?: Column<T>[];
12
+ /** Additional CSS class to apply to the row */
13
+ class?: string;
14
+ /** Whether this row should be sticky during vertical scrolling */
15
+ isSticky?: boolean;
16
+ /** Array of item keys that should be sticky (used to determine if this row is sticky) */
17
+ stickyKeys?: string[];
18
+ /** Whether the table has a sticky header (affects positioning of sticky rows) */
19
+ isStickyHeader?: boolean;
20
+ /**
21
+ * @internal Universal-ember table instance for accessing modifiers and behaviors
22
+ * @ignore
23
+ */
24
+ tableInstance?: Table<T>;
25
+ /**
26
+ * @internal Style functions object from Table component
27
+ * @ignore
28
+ */
29
+ styleFns?: ReturnType<ReturnType<typeof useStyles>['table']>;
30
+ /**
31
+ * @internal Classes object from Table component
32
+ * @ignore
33
+ */
34
+ classes?: SlotsToClasses<TableSlots>;
35
+ };
36
+ Element: HTMLTableRowElement;
37
+ Blocks: {
38
+ default: [
39
+ {
40
+ Cell: typeof TableCell;
41
+ columns: Column<T>[];
42
+ }
43
+ ];
44
+ };
45
+ }
46
+ declare class TableRow<T = unknown> extends Component<TableRowSignature<T>> {
47
+ get isSticky(): boolean;
48
+ get styles(): {
49
+ base: (slotProps?: ({
50
+ size?: "sm" | "md" | "lg" | undefined;
51
+ layout?: "fixed" | "auto" | undefined;
52
+ striped?: boolean | undefined;
53
+ isSticky?: boolean | undefined;
54
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
55
+ isScrollable?: boolean | undefined;
56
+ hasStickyHeader?: boolean | undefined;
57
+ isInStickyRow?: boolean | undefined;
58
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
59
+ wrapper: (slotProps?: ({
60
+ size?: "sm" | "md" | "lg" | undefined;
61
+ layout?: "fixed" | "auto" | undefined;
62
+ striped?: boolean | undefined;
63
+ isSticky?: boolean | undefined;
64
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
65
+ isScrollable?: boolean | undefined;
66
+ hasStickyHeader?: boolean | undefined;
67
+ isInStickyRow?: boolean | undefined;
68
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
69
+ table: (slotProps?: ({
70
+ size?: "sm" | "md" | "lg" | undefined;
71
+ layout?: "fixed" | "auto" | undefined;
72
+ striped?: boolean | undefined;
73
+ isSticky?: boolean | undefined;
74
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
75
+ isScrollable?: boolean | undefined;
76
+ hasStickyHeader?: boolean | undefined;
77
+ isInStickyRow?: boolean | undefined;
78
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
79
+ thead: (slotProps?: ({
80
+ size?: "sm" | "md" | "lg" | undefined;
81
+ layout?: "fixed" | "auto" | undefined;
82
+ striped?: boolean | undefined;
83
+ isSticky?: boolean | undefined;
84
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
85
+ isScrollable?: boolean | undefined;
86
+ hasStickyHeader?: boolean | undefined;
87
+ isInStickyRow?: boolean | undefined;
88
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
89
+ tbody: (slotProps?: ({
90
+ size?: "sm" | "md" | "lg" | undefined;
91
+ layout?: "fixed" | "auto" | undefined;
92
+ striped?: boolean | undefined;
93
+ isSticky?: boolean | undefined;
94
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
95
+ isScrollable?: boolean | undefined;
96
+ hasStickyHeader?: boolean | undefined;
97
+ isInStickyRow?: boolean | undefined;
98
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
99
+ tfoot: (slotProps?: ({
100
+ size?: "sm" | "md" | "lg" | undefined;
101
+ layout?: "fixed" | "auto" | undefined;
102
+ striped?: boolean | undefined;
103
+ isSticky?: boolean | undefined;
104
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
105
+ isScrollable?: boolean | undefined;
106
+ hasStickyHeader?: boolean | undefined;
107
+ isInStickyRow?: boolean | undefined;
108
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
109
+ tr: (slotProps?: ({
110
+ size?: "sm" | "md" | "lg" | undefined;
111
+ layout?: "fixed" | "auto" | undefined;
112
+ striped?: boolean | undefined;
113
+ isSticky?: boolean | undefined;
114
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
115
+ isScrollable?: boolean | undefined;
116
+ hasStickyHeader?: boolean | undefined;
117
+ isInStickyRow?: boolean | undefined;
118
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
119
+ th: (slotProps?: ({
120
+ size?: "sm" | "md" | "lg" | undefined;
121
+ layout?: "fixed" | "auto" | undefined;
122
+ striped?: boolean | undefined;
123
+ isSticky?: boolean | undefined;
124
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
125
+ isScrollable?: boolean | undefined;
126
+ hasStickyHeader?: boolean | undefined;
127
+ isInStickyRow?: boolean | undefined;
128
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
129
+ td: (slotProps?: ({
130
+ size?: "sm" | "md" | "lg" | undefined;
131
+ layout?: "fixed" | "auto" | undefined;
132
+ striped?: boolean | undefined;
133
+ isSticky?: boolean | undefined;
134
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
135
+ isScrollable?: boolean | undefined;
136
+ hasStickyHeader?: boolean | undefined;
137
+ isInStickyRow?: boolean | undefined;
138
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
139
+ emptyCell: (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
+ } & {
150
+ base: (slotProps?: ({
151
+ size?: "sm" | "md" | "lg" | undefined;
152
+ layout?: "fixed" | "auto" | undefined;
153
+ striped?: boolean | undefined;
154
+ isSticky?: boolean | undefined;
155
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
156
+ isScrollable?: boolean | undefined;
157
+ hasStickyHeader?: boolean | undefined;
158
+ isInStickyRow?: boolean | undefined;
159
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
160
+ wrapper: (slotProps?: ({
161
+ size?: "sm" | "md" | "lg" | undefined;
162
+ layout?: "fixed" | "auto" | undefined;
163
+ striped?: boolean | undefined;
164
+ isSticky?: boolean | undefined;
165
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
166
+ isScrollable?: boolean | undefined;
167
+ hasStickyHeader?: boolean | undefined;
168
+ isInStickyRow?: boolean | undefined;
169
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
170
+ table: (slotProps?: ({
171
+ size?: "sm" | "md" | "lg" | undefined;
172
+ layout?: "fixed" | "auto" | undefined;
173
+ striped?: boolean | undefined;
174
+ isSticky?: boolean | undefined;
175
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
176
+ isScrollable?: boolean | undefined;
177
+ hasStickyHeader?: boolean | undefined;
178
+ isInStickyRow?: boolean | undefined;
179
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
180
+ thead: (slotProps?: ({
181
+ size?: "sm" | "md" | "lg" | undefined;
182
+ layout?: "fixed" | "auto" | undefined;
183
+ striped?: boolean | undefined;
184
+ isSticky?: boolean | undefined;
185
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
186
+ isScrollable?: boolean | undefined;
187
+ hasStickyHeader?: boolean | undefined;
188
+ isInStickyRow?: boolean | undefined;
189
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
190
+ tbody: (slotProps?: ({
191
+ size?: "sm" | "md" | "lg" | undefined;
192
+ layout?: "fixed" | "auto" | undefined;
193
+ striped?: boolean | undefined;
194
+ isSticky?: boolean | undefined;
195
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
196
+ isScrollable?: boolean | undefined;
197
+ hasStickyHeader?: boolean | undefined;
198
+ isInStickyRow?: boolean | undefined;
199
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
200
+ tfoot: (slotProps?: ({
201
+ size?: "sm" | "md" | "lg" | undefined;
202
+ layout?: "fixed" | "auto" | undefined;
203
+ striped?: boolean | undefined;
204
+ isSticky?: boolean | undefined;
205
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
206
+ isScrollable?: boolean | undefined;
207
+ hasStickyHeader?: boolean | undefined;
208
+ isInStickyRow?: boolean | undefined;
209
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
210
+ tr: (slotProps?: ({
211
+ size?: "sm" | "md" | "lg" | undefined;
212
+ layout?: "fixed" | "auto" | undefined;
213
+ striped?: boolean | undefined;
214
+ isSticky?: boolean | undefined;
215
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
216
+ isScrollable?: boolean | undefined;
217
+ hasStickyHeader?: boolean | undefined;
218
+ isInStickyRow?: boolean | undefined;
219
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
220
+ th: (slotProps?: ({
221
+ size?: "sm" | "md" | "lg" | undefined;
222
+ layout?: "fixed" | "auto" | undefined;
223
+ striped?: boolean | undefined;
224
+ isSticky?: boolean | undefined;
225
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
226
+ isScrollable?: boolean | undefined;
227
+ hasStickyHeader?: boolean | undefined;
228
+ isInStickyRow?: boolean | undefined;
229
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
230
+ td: (slotProps?: ({
231
+ size?: "sm" | "md" | "lg" | undefined;
232
+ layout?: "fixed" | "auto" | undefined;
233
+ striped?: boolean | undefined;
234
+ isSticky?: boolean | undefined;
235
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
236
+ isScrollable?: boolean | undefined;
237
+ hasStickyHeader?: boolean | undefined;
238
+ isInStickyRow?: boolean | undefined;
239
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
240
+ emptyCell: (slotProps?: ({
241
+ size?: "sm" | "md" | "lg" | undefined;
242
+ layout?: "fixed" | "auto" | undefined;
243
+ striped?: boolean | undefined;
244
+ isSticky?: boolean | undefined;
245
+ stickyPosition?: "top" | "right" | "bottom" | "left" | undefined;
246
+ isScrollable?: boolean | undefined;
247
+ hasStickyHeader?: boolean | undefined;
248
+ isInStickyRow?: boolean | undefined;
249
+ } & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
250
+ } & {};
251
+ get classNames(): string;
252
+ get rowKey(): string;
253
+ get columns(): Column<T>[];
254
+ getRowModifier: () => FunctionBasedModifier<{
255
+ Args: {
256
+ Positional: [Row<T> | undefined];
257
+ Named: {};
258
+ };
259
+ Element: HTMLElement;
260
+ }>;
261
+ }
262
+ export { TableRow, type TableRowSignature };
263
+ export default TableRow;