@pathscale/ui 2.2.2 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/data-grid/DataGrid.css +247 -0
- package/dist/components/data-grid/DataGrid.generated.d.ts +41 -0
- package/dist/components/data-grid/DataGrid.generated.js +408 -0
- package/dist/components/data-grid/DataGrid.interactions.d.ts +11 -0
- package/dist/components/data-grid/DataGrid.interactions.js +25 -0
- package/dist/components/data-grid/DataGrid.recipe.d.ts +52 -0
- package/dist/components/data-grid/DataGrid.recipe.js +96 -0
- package/dist/components/data-grid/createDataGrid.d.ts +121 -0
- package/dist/components/data-grid/createDataGrid.js +252 -0
- package/dist/components/data-grid/index.d.ts +8 -0
- package/dist/components/data-grid/index.js +5 -0
- package/dist/components/spinner/Spinner.css +28 -9
- package/dist/components/spinner/Spinner.generated.d.ts +2 -2
- package/dist/components/spinner/Spinner.generated.js +1 -1
- package/dist/components/spinner/Spinner.recipe.d.ts +11 -10
- package/dist/components/spinner/Spinner.recipe.js +21 -19
- package/dist/components/table/ExpandToggle.generated.js +2 -2
- package/dist/components/table/InlineConfirm.generated.js +2 -2
- package/dist/components/table/MobileListView.generated.js +2 -2
- package/dist/components/table/SortIcon.generated.js +2 -2
- package/dist/components/table/Table.context.d.ts +23 -0
- package/dist/components/table/Table.context.js +22 -0
- package/dist/components/table/Table.d.ts +18 -0
- package/dist/components/table/Table.js +33 -0
- package/dist/components/table/Table.recipe.d.ts +130 -16
- package/dist/components/table/Table.recipe.js +420 -78
- package/dist/components/table/TableBody.generated.d.ts +6 -0
- package/dist/components/table/TableBody.generated.js +33 -0
- package/dist/components/table/TableCell.generated.d.ts +6 -0
- package/dist/components/table/TableCell.generated.js +33 -0
- package/dist/components/table/TableColumn.generated.d.ts +11 -0
- package/dist/components/table/TableColumn.generated.js +89 -0
- package/dist/components/table/TableColumnResizer.generated.d.ts +6 -0
- package/dist/components/table/TableColumnResizer.generated.js +42 -0
- package/dist/components/table/TableContent.generated.d.ts +10 -0
- package/dist/components/table/TableContent.generated.js +50 -0
- package/dist/components/table/TableExpandedRow.generated.d.ts +11 -0
- package/dist/components/table/TableExpandedRow.generated.js +50 -0
- package/dist/components/table/TableFooter.generated.d.ts +6 -0
- package/dist/components/table/TableFooter.generated.js +33 -0
- package/dist/components/table/TableHeader.generated.d.ts +6 -0
- package/dist/components/table/TableHeader.generated.js +33 -0
- package/dist/components/table/TableLoadMore.generated.d.ts +6 -0
- package/dist/components/table/TableLoadMore.generated.js +33 -0
- package/dist/components/table/TableLoadMoreContent.generated.d.ts +6 -0
- package/dist/components/table/TableLoadMoreContent.generated.js +33 -0
- package/dist/components/table/TablePageSize.generated.d.ts +13 -0
- package/dist/components/table/TablePageSize.generated.js +57 -0
- package/dist/components/table/TableResizableContainer.generated.d.ts +6 -0
- package/dist/components/table/TableResizableContainer.generated.js +33 -0
- package/dist/components/table/TableRoot.generated.d.ts +10 -0
- package/dist/components/table/TableRoot.generated.js +45 -0
- package/dist/components/table/TableRow.generated.d.ts +6 -0
- package/dist/components/table/TableRow.generated.js +33 -0
- package/dist/components/table/TableScrollContainer.generated.d.ts +6 -0
- package/dist/components/table/TableScrollContainer.generated.js +33 -0
- package/dist/components/table/VirtualSpacerRow.generated.js +2 -2
- package/dist/components/table/index.d.ts +43 -13
- package/dist/components/table/index.js +21 -5
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -0
- package/dist/layouts.manifest.json +4 -1
- package/dist/purge-manifest.json +496 -14
- package/dist/styles/themes/dark.css +3 -0
- package/dist/styles/themes/light.css +3 -0
- package/package.json +2 -2
- package/dist/components/table/Table.generated.d.ts +0 -94
- package/dist/components/table/Table.generated.js +0 -551
|
@@ -29,32 +29,7 @@ const componentRecipe = recipe({
|
|
|
29
29
|
component: "table",
|
|
30
30
|
slots: {
|
|
31
31
|
root: {},
|
|
32
|
-
table: {}
|
|
33
|
-
"table-body": {},
|
|
34
|
-
"table-cell": {},
|
|
35
|
-
"table-column": {},
|
|
36
|
-
"table-column-resizer": {},
|
|
37
|
-
"table-content": {},
|
|
38
|
-
"table-expand-toggle": {},
|
|
39
|
-
"table-expanded-row": {},
|
|
40
|
-
"table-footer": {},
|
|
41
|
-
"table-header": {},
|
|
42
|
-
"table-inline-confirm": {},
|
|
43
|
-
"table-inline-confirm-actions": {},
|
|
44
|
-
"table-inline-confirm-prompt": {},
|
|
45
|
-
"table-load-more": {},
|
|
46
|
-
"table-load-more-content": {},
|
|
47
|
-
"table-mobile-list-view": {},
|
|
48
|
-
"table-mobile-list-view-empty": {},
|
|
49
|
-
"table-mobile-list-view-item": {},
|
|
50
|
-
"table-mobile-list-view-list": {},
|
|
51
|
-
"table-page-size": {},
|
|
52
|
-
"table-page-size-label": {},
|
|
53
|
-
"table-resizable-container": {},
|
|
54
|
-
"table-row": {},
|
|
55
|
-
"table-scroll-container": {},
|
|
56
|
-
"table-sort-icon": {},
|
|
57
|
-
"table-virtual-spacer-row": {}
|
|
32
|
+
table: {}
|
|
58
33
|
},
|
|
59
34
|
_layouts: {
|
|
60
35
|
slots: {
|
|
@@ -65,138 +40,505 @@ const componentRecipe = recipe({
|
|
|
65
40
|
table: {
|
|
66
41
|
base: "",
|
|
67
42
|
axes: {}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
stateKeys: [],
|
|
46
|
+
slotIds: {
|
|
47
|
+
root: 0,
|
|
48
|
+
table: 1
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const tableScrollContainerRecipe = recipe({
|
|
53
|
+
component: "table-scroll-container",
|
|
54
|
+
slots: {
|
|
55
|
+
root: {},
|
|
56
|
+
"table-scroll-container": {}
|
|
57
|
+
},
|
|
58
|
+
_layouts: {
|
|
59
|
+
slots: {
|
|
60
|
+
root: {
|
|
61
|
+
base: "",
|
|
62
|
+
axes: {}
|
|
68
63
|
},
|
|
69
|
-
"table-
|
|
64
|
+
"table-scroll-container": {
|
|
65
|
+
base: "",
|
|
66
|
+
axes: {}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
stateKeys: [],
|
|
70
|
+
slotIds: {
|
|
71
|
+
root: 40,
|
|
72
|
+
"table-scroll-container": 41
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
const tableContentRecipe = recipe({
|
|
77
|
+
component: "table-content",
|
|
78
|
+
slots: {
|
|
79
|
+
root: {},
|
|
80
|
+
"table-content": {}
|
|
81
|
+
},
|
|
82
|
+
_layouts: {
|
|
83
|
+
slots: {
|
|
84
|
+
root: {
|
|
70
85
|
base: "",
|
|
71
86
|
axes: {}
|
|
72
87
|
},
|
|
73
|
-
"table-
|
|
88
|
+
"table-content": {
|
|
89
|
+
base: "",
|
|
90
|
+
axes: {}
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
stateKeys: [],
|
|
94
|
+
slotIds: {
|
|
95
|
+
root: 10,
|
|
96
|
+
"table-content": 11
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
const tableHeaderRecipe = recipe({
|
|
101
|
+
component: "table-header",
|
|
102
|
+
slots: {
|
|
103
|
+
root: {},
|
|
104
|
+
"table-header": {}
|
|
105
|
+
},
|
|
106
|
+
_layouts: {
|
|
107
|
+
slots: {
|
|
108
|
+
root: {
|
|
109
|
+
base: "",
|
|
110
|
+
axes: {}
|
|
111
|
+
},
|
|
112
|
+
"table-header": {
|
|
113
|
+
base: "",
|
|
114
|
+
axes: {}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
stateKeys: [],
|
|
118
|
+
slotIds: {
|
|
119
|
+
root: 18,
|
|
120
|
+
"table-header": 19
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
const tableColumnRecipe = recipe({
|
|
125
|
+
component: "table-column",
|
|
126
|
+
slots: {
|
|
127
|
+
root: {},
|
|
128
|
+
"table-column": {}
|
|
129
|
+
},
|
|
130
|
+
_layouts: {
|
|
131
|
+
slots: {
|
|
132
|
+
root: {
|
|
74
133
|
base: "",
|
|
75
134
|
axes: {}
|
|
76
135
|
},
|
|
77
136
|
"table-column": {
|
|
78
137
|
base: "",
|
|
79
138
|
axes: {}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
stateKeys: [],
|
|
142
|
+
slotIds: {
|
|
143
|
+
root: 6,
|
|
144
|
+
"table-column": 7
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
const tableBodyRecipe = recipe({
|
|
149
|
+
component: "table-body",
|
|
150
|
+
slots: {
|
|
151
|
+
root: {},
|
|
152
|
+
"table-body": {}
|
|
153
|
+
},
|
|
154
|
+
_layouts: {
|
|
155
|
+
slots: {
|
|
156
|
+
root: {
|
|
157
|
+
base: "",
|
|
158
|
+
axes: {}
|
|
80
159
|
},
|
|
81
|
-
"table-
|
|
160
|
+
"table-body": {
|
|
161
|
+
base: "",
|
|
162
|
+
axes: {}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
stateKeys: [],
|
|
166
|
+
slotIds: {
|
|
167
|
+
root: 2,
|
|
168
|
+
"table-body": 3
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
const tableRowRecipe = recipe({
|
|
173
|
+
component: "table-row",
|
|
174
|
+
slots: {
|
|
175
|
+
root: {},
|
|
176
|
+
"table-row": {}
|
|
177
|
+
},
|
|
178
|
+
_layouts: {
|
|
179
|
+
slots: {
|
|
180
|
+
root: {
|
|
82
181
|
base: "",
|
|
83
182
|
axes: {}
|
|
84
183
|
},
|
|
85
|
-
"table-
|
|
184
|
+
"table-row": {
|
|
185
|
+
base: "",
|
|
186
|
+
axes: {}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
stateKeys: [],
|
|
190
|
+
slotIds: {
|
|
191
|
+
root: 38,
|
|
192
|
+
"table-row": 39
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
const tableCellRecipe = recipe({
|
|
197
|
+
component: "table-cell",
|
|
198
|
+
slots: {
|
|
199
|
+
root: {},
|
|
200
|
+
"table-cell": {}
|
|
201
|
+
},
|
|
202
|
+
_layouts: {
|
|
203
|
+
slots: {
|
|
204
|
+
root: {
|
|
86
205
|
base: "",
|
|
87
206
|
axes: {}
|
|
88
207
|
},
|
|
89
|
-
"table-
|
|
208
|
+
"table-cell": {
|
|
209
|
+
base: "",
|
|
210
|
+
axes: {}
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
stateKeys: [],
|
|
214
|
+
slotIds: {
|
|
215
|
+
root: 4,
|
|
216
|
+
"table-cell": 5
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
const tableExpandedRowRecipe = recipe({
|
|
221
|
+
component: "table-expanded-row",
|
|
222
|
+
slots: {
|
|
223
|
+
root: {},
|
|
224
|
+
"table-expanded-row": {}
|
|
225
|
+
},
|
|
226
|
+
_layouts: {
|
|
227
|
+
slots: {
|
|
228
|
+
root: {
|
|
90
229
|
base: "",
|
|
91
230
|
axes: {}
|
|
92
231
|
},
|
|
93
232
|
"table-expanded-row": {
|
|
94
233
|
base: "",
|
|
95
234
|
axes: {}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
stateKeys: [],
|
|
238
|
+
slotIds: {
|
|
239
|
+
root: 14,
|
|
240
|
+
"table-expanded-row": 15
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
});
|
|
244
|
+
const tableFooterRecipe = recipe({
|
|
245
|
+
component: "table-footer",
|
|
246
|
+
slots: {
|
|
247
|
+
root: {},
|
|
248
|
+
"table-footer": {}
|
|
249
|
+
},
|
|
250
|
+
_layouts: {
|
|
251
|
+
slots: {
|
|
252
|
+
root: {
|
|
253
|
+
base: "",
|
|
254
|
+
axes: {}
|
|
96
255
|
},
|
|
97
256
|
"table-footer": {
|
|
98
257
|
base: "",
|
|
99
258
|
axes: {}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
stateKeys: [],
|
|
262
|
+
slotIds: {
|
|
263
|
+
root: 16,
|
|
264
|
+
"table-footer": 17
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
});
|
|
268
|
+
const tablePageSizeRecipe = recipe({
|
|
269
|
+
component: "table-page-size",
|
|
270
|
+
slots: {
|
|
271
|
+
root: {},
|
|
272
|
+
"table-page-size": {},
|
|
273
|
+
"table-page-size-label": {}
|
|
274
|
+
},
|
|
275
|
+
_layouts: {
|
|
276
|
+
slots: {
|
|
277
|
+
root: {
|
|
278
|
+
base: "",
|
|
279
|
+
axes: {}
|
|
100
280
|
},
|
|
101
|
-
"table-
|
|
281
|
+
"table-page-size": {
|
|
102
282
|
base: "",
|
|
103
283
|
axes: {}
|
|
104
284
|
},
|
|
105
|
-
"table-
|
|
285
|
+
"table-page-size-label": {
|
|
286
|
+
base: "",
|
|
287
|
+
axes: {}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
stateKeys: [],
|
|
291
|
+
slotIds: {
|
|
292
|
+
root: 33,
|
|
293
|
+
"table-page-size": 34,
|
|
294
|
+
"table-page-size-label": 35
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
const tableResizableContainerRecipe = recipe({
|
|
299
|
+
component: "table-resizable-container",
|
|
300
|
+
slots: {
|
|
301
|
+
root: {},
|
|
302
|
+
"table-resizable-container": {}
|
|
303
|
+
},
|
|
304
|
+
_layouts: {
|
|
305
|
+
slots: {
|
|
306
|
+
root: {
|
|
106
307
|
base: "",
|
|
107
308
|
axes: {}
|
|
108
309
|
},
|
|
109
|
-
"table-
|
|
310
|
+
"table-resizable-container": {
|
|
311
|
+
base: "",
|
|
312
|
+
axes: {}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
stateKeys: [],
|
|
316
|
+
slotIds: {
|
|
317
|
+
root: 36,
|
|
318
|
+
"table-resizable-container": 37
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
const tableColumnResizerRecipe = recipe({
|
|
323
|
+
component: "table-column-resizer",
|
|
324
|
+
slots: {
|
|
325
|
+
root: {},
|
|
326
|
+
"table-column-resizer": {}
|
|
327
|
+
},
|
|
328
|
+
_layouts: {
|
|
329
|
+
slots: {
|
|
330
|
+
root: {
|
|
110
331
|
base: "",
|
|
111
332
|
axes: {}
|
|
112
333
|
},
|
|
113
|
-
"table-
|
|
334
|
+
"table-column-resizer": {
|
|
335
|
+
base: "",
|
|
336
|
+
axes: {}
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
stateKeys: [],
|
|
340
|
+
slotIds: {
|
|
341
|
+
root: 8,
|
|
342
|
+
"table-column-resizer": 9
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
const tableLoadMoreRecipe = recipe({
|
|
347
|
+
component: "table-load-more",
|
|
348
|
+
slots: {
|
|
349
|
+
root: {},
|
|
350
|
+
"table-load-more": {}
|
|
351
|
+
},
|
|
352
|
+
_layouts: {
|
|
353
|
+
slots: {
|
|
354
|
+
root: {
|
|
114
355
|
base: "",
|
|
115
356
|
axes: {}
|
|
116
357
|
},
|
|
117
358
|
"table-load-more": {
|
|
118
359
|
base: "",
|
|
119
360
|
axes: {}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
stateKeys: [],
|
|
364
|
+
slotIds: {
|
|
365
|
+
root: 24,
|
|
366
|
+
"table-load-more": 25
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
const tableLoadMoreContentRecipe = recipe({
|
|
371
|
+
component: "table-load-more-content",
|
|
372
|
+
slots: {
|
|
373
|
+
root: {},
|
|
374
|
+
"table-load-more-content": {}
|
|
375
|
+
},
|
|
376
|
+
_layouts: {
|
|
377
|
+
slots: {
|
|
378
|
+
root: {
|
|
379
|
+
base: "",
|
|
380
|
+
axes: {}
|
|
120
381
|
},
|
|
121
382
|
"table-load-more-content": {
|
|
122
383
|
base: "",
|
|
123
384
|
axes: {}
|
|
124
|
-
}
|
|
125
|
-
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
stateKeys: [],
|
|
388
|
+
slotIds: {
|
|
389
|
+
root: 26,
|
|
390
|
+
"table-load-more-content": 27
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
const tableSortIconRecipe = recipe({
|
|
395
|
+
component: "table-sort-icon",
|
|
396
|
+
slots: {
|
|
397
|
+
root: {},
|
|
398
|
+
"table-sort-icon": {}
|
|
399
|
+
},
|
|
400
|
+
_layouts: {
|
|
401
|
+
slots: {
|
|
402
|
+
root: {
|
|
126
403
|
base: "",
|
|
127
404
|
axes: {}
|
|
128
405
|
},
|
|
129
|
-
"table-
|
|
406
|
+
"table-sort-icon": {
|
|
407
|
+
base: "",
|
|
408
|
+
axes: {}
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
stateKeys: [],
|
|
412
|
+
slotIds: {
|
|
413
|
+
root: 42,
|
|
414
|
+
"table-sort-icon": 43
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
const tableExpandToggleRecipe = recipe({
|
|
419
|
+
component: "table-expand-toggle",
|
|
420
|
+
slots: {
|
|
421
|
+
root: {},
|
|
422
|
+
"table-expand-toggle": {}
|
|
423
|
+
},
|
|
424
|
+
_layouts: {
|
|
425
|
+
slots: {
|
|
426
|
+
root: {
|
|
130
427
|
base: "",
|
|
131
428
|
axes: {}
|
|
132
429
|
},
|
|
133
|
-
"table-
|
|
430
|
+
"table-expand-toggle": {
|
|
431
|
+
base: "",
|
|
432
|
+
axes: {}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
stateKeys: [],
|
|
436
|
+
slotIds: {
|
|
437
|
+
root: 12,
|
|
438
|
+
"table-expand-toggle": 13
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
const tableVirtualSpacerRowRecipe = recipe({
|
|
443
|
+
component: "table-virtual-spacer-row",
|
|
444
|
+
slots: {
|
|
445
|
+
root: {},
|
|
446
|
+
"table-virtual-spacer-row": {}
|
|
447
|
+
},
|
|
448
|
+
_layouts: {
|
|
449
|
+
slots: {
|
|
450
|
+
root: {
|
|
134
451
|
base: "",
|
|
135
452
|
axes: {}
|
|
136
453
|
},
|
|
137
|
-
"table-
|
|
454
|
+
"table-virtual-spacer-row": {
|
|
455
|
+
base: "",
|
|
456
|
+
axes: {}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
stateKeys: [],
|
|
460
|
+
slotIds: {
|
|
461
|
+
root: 44,
|
|
462
|
+
"table-virtual-spacer-row": 45
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
const tableMobileListViewRecipe = recipe({
|
|
467
|
+
component: "table-mobile-list-view",
|
|
468
|
+
slots: {
|
|
469
|
+
root: {},
|
|
470
|
+
"table-mobile-list-view": {},
|
|
471
|
+
"table-mobile-list-view-list": {},
|
|
472
|
+
"table-mobile-list-view-item": {},
|
|
473
|
+
"table-mobile-list-view-empty": {}
|
|
474
|
+
},
|
|
475
|
+
_layouts: {
|
|
476
|
+
slots: {
|
|
477
|
+
root: {
|
|
138
478
|
base: "",
|
|
139
479
|
axes: {}
|
|
140
480
|
},
|
|
141
|
-
"table-
|
|
481
|
+
"table-mobile-list-view": {
|
|
142
482
|
base: "",
|
|
143
483
|
axes: {}
|
|
144
484
|
},
|
|
145
|
-
"table-
|
|
485
|
+
"table-mobile-list-view-list": {
|
|
146
486
|
base: "",
|
|
147
487
|
axes: {}
|
|
148
488
|
},
|
|
149
|
-
"table-
|
|
489
|
+
"table-mobile-list-view-item": {
|
|
150
490
|
base: "",
|
|
151
491
|
axes: {}
|
|
152
492
|
},
|
|
153
|
-
"table-
|
|
493
|
+
"table-mobile-list-view-empty": {
|
|
494
|
+
base: "",
|
|
495
|
+
axes: {}
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
stateKeys: [],
|
|
499
|
+
slotIds: {
|
|
500
|
+
root: 28,
|
|
501
|
+
"table-mobile-list-view": 29,
|
|
502
|
+
"table-mobile-list-view-list": 32,
|
|
503
|
+
"table-mobile-list-view-item": 31,
|
|
504
|
+
"table-mobile-list-view-empty": 30
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
});
|
|
508
|
+
const tableInlineConfirmRecipe = recipe({
|
|
509
|
+
component: "table-inline-confirm",
|
|
510
|
+
slots: {
|
|
511
|
+
root: {},
|
|
512
|
+
"table-inline-confirm": {},
|
|
513
|
+
"table-inline-confirm-prompt": {},
|
|
514
|
+
"table-inline-confirm-actions": {}
|
|
515
|
+
},
|
|
516
|
+
_layouts: {
|
|
517
|
+
slots: {
|
|
518
|
+
root: {
|
|
154
519
|
base: "",
|
|
155
520
|
axes: {}
|
|
156
521
|
},
|
|
157
|
-
"table-
|
|
522
|
+
"table-inline-confirm": {
|
|
158
523
|
base: "",
|
|
159
524
|
axes: {}
|
|
160
525
|
},
|
|
161
|
-
"table-
|
|
526
|
+
"table-inline-confirm-prompt": {
|
|
162
527
|
base: "",
|
|
163
528
|
axes: {}
|
|
164
529
|
},
|
|
165
|
-
"table-
|
|
530
|
+
"table-inline-confirm-actions": {
|
|
166
531
|
base: "",
|
|
167
532
|
axes: {}
|
|
168
533
|
}
|
|
169
534
|
},
|
|
170
535
|
stateKeys: [],
|
|
171
536
|
slotIds: {
|
|
172
|
-
root:
|
|
173
|
-
table:
|
|
174
|
-
"table-
|
|
175
|
-
"table-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
"table-expanded-row": 8,
|
|
181
|
-
"table-footer": 9,
|
|
182
|
-
"table-header": 10,
|
|
183
|
-
"table-inline-confirm": 11,
|
|
184
|
-
"table-inline-confirm-actions": 12,
|
|
185
|
-
"table-inline-confirm-prompt": 13,
|
|
186
|
-
"table-load-more": 14,
|
|
187
|
-
"table-load-more-content": 15,
|
|
188
|
-
"table-mobile-list-view": 16,
|
|
189
|
-
"table-mobile-list-view-empty": 17,
|
|
190
|
-
"table-mobile-list-view-item": 18,
|
|
191
|
-
"table-mobile-list-view-list": 19,
|
|
192
|
-
"table-page-size": 20,
|
|
193
|
-
"table-page-size-label": 21,
|
|
194
|
-
"table-resizable-container": 22,
|
|
195
|
-
"table-row": 23,
|
|
196
|
-
"table-scroll-container": 24,
|
|
197
|
-
"table-sort-icon": 25,
|
|
198
|
-
"table-virtual-spacer-row": 26
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
export { CLASSES, componentRecipe };
|
|
537
|
+
root: 20,
|
|
538
|
+
"table-inline-confirm": 21,
|
|
539
|
+
"table-inline-confirm-prompt": 23,
|
|
540
|
+
"table-inline-confirm-actions": 22
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
});
|
|
544
|
+
export { CLASSES, componentRecipe, tableBodyRecipe, tableCellRecipe, tableColumnRecipe, tableColumnResizerRecipe, tableContentRecipe, tableExpandToggleRecipe, tableExpandedRowRecipe, tableFooterRecipe, tableHeaderRecipe, tableInlineConfirmRecipe, tableLoadMoreContentRecipe, tableLoadMoreRecipe, tableMobileListViewRecipe, tablePageSizeRecipe, tableResizableContainerRecipe, tableRowRecipe, tableScrollContainerRecipe, tableSortIconRecipe, tableVirtualSpacerRowRecipe };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
+
import { type JSX } from "solid-js";
|
|
3
|
+
import type { UIBaseProps } from "../vocabulary";
|
|
4
|
+
export type TableBodyProps = JSX.HTMLAttributes<HTMLTableSectionElement> & UIBaseProps;
|
|
5
|
+
declare const TableBody: __LayoutComponent<TableBodyProps>;
|
|
6
|
+
export default TableBody;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
|
+
import { defineComponent } from "solid-layouts/application-boundary";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { CLASSES, tableBodyRecipe } from "./Table.recipe.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ template("<tbody>");
|
|
7
|
+
const __solidLayoutTableBody = (_stable, p)=>{
|
|
8
|
+
const [local, rest] = splitProps(p, [
|
|
9
|
+
"children",
|
|
10
|
+
"class",
|
|
11
|
+
"dataTheme"
|
|
12
|
+
]);
|
|
13
|
+
return (()=>{
|
|
14
|
+
var _el$ = _tmpl$();
|
|
15
|
+
spread(_el$, mergeProps(()=>({
|
|
16
|
+
class: twMerge(CLASSES.body, local.class)
|
|
17
|
+
}), {
|
|
18
|
+
get ["data-theme"] () {
|
|
19
|
+
return local.dataTheme;
|
|
20
|
+
},
|
|
21
|
+
"data-slot": "table-body"
|
|
22
|
+
}, rest), false, true);
|
|
23
|
+
insert(_el$, ()=>local.children);
|
|
24
|
+
return _el$;
|
|
25
|
+
})();
|
|
26
|
+
};
|
|
27
|
+
const TableBody = defineComponent({
|
|
28
|
+
recipe: tableBodyRecipe,
|
|
29
|
+
layout: __solidLayoutTableBody,
|
|
30
|
+
embedded: true
|
|
31
|
+
});
|
|
32
|
+
const TableBody_generated = TableBody;
|
|
33
|
+
export default TableBody_generated;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
+
import { type JSX } from "solid-js";
|
|
3
|
+
import type { UIBaseProps } from "../vocabulary";
|
|
4
|
+
export type TableCellProps = JSX.TdHTMLAttributes<HTMLTableCellElement> & UIBaseProps;
|
|
5
|
+
declare const TableCell: __LayoutComponent<TableCellProps>;
|
|
6
|
+
export default TableCell;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { insert, mergeProps, spread, template } from "solid-js/web";
|
|
2
|
+
import { defineComponent } from "solid-layouts/application-boundary";
|
|
3
|
+
import { splitProps } from "solid-js";
|
|
4
|
+
import { twMerge } from "tailwind-merge";
|
|
5
|
+
import { CLASSES, tableCellRecipe } from "./Table.recipe.js";
|
|
6
|
+
var _tmpl$ = /*#__PURE__*/ template("<td>");
|
|
7
|
+
const __solidLayoutTableCell = (_stable, p)=>{
|
|
8
|
+
const [local, rest] = splitProps(p, [
|
|
9
|
+
"children",
|
|
10
|
+
"class",
|
|
11
|
+
"dataTheme"
|
|
12
|
+
]);
|
|
13
|
+
return (()=>{
|
|
14
|
+
var _el$ = _tmpl$();
|
|
15
|
+
spread(_el$, mergeProps(()=>({
|
|
16
|
+
class: twMerge(CLASSES.cell, local.class)
|
|
17
|
+
}), {
|
|
18
|
+
get ["data-theme"] () {
|
|
19
|
+
return local.dataTheme;
|
|
20
|
+
},
|
|
21
|
+
"data-slot": "table-cell"
|
|
22
|
+
}, rest), false, true);
|
|
23
|
+
insert(_el$, ()=>local.children);
|
|
24
|
+
return _el$;
|
|
25
|
+
})();
|
|
26
|
+
};
|
|
27
|
+
const TableCell = defineComponent({
|
|
28
|
+
recipe: tableCellRecipe,
|
|
29
|
+
layout: __solidLayoutTableCell,
|
|
30
|
+
embedded: true
|
|
31
|
+
});
|
|
32
|
+
const TableCell_generated = TableCell;
|
|
33
|
+
export default TableCell_generated;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Component as __LayoutComponent } from "solid-js";
|
|
2
|
+
import { type JSX } from "solid-js";
|
|
3
|
+
import type { UIBaseProps } from "../vocabulary";
|
|
4
|
+
import { type TableColumnChildren } from "./Table.context";
|
|
5
|
+
export type TableColumnProps = Omit<JSX.ThHTMLAttributes<HTMLTableCellElement>, "id" | "children"> & UIBaseProps & {
|
|
6
|
+
id: string;
|
|
7
|
+
allowsSorting?: boolean;
|
|
8
|
+
children?: TableColumnChildren;
|
|
9
|
+
};
|
|
10
|
+
declare const TableColumn: __LayoutComponent<TableColumnProps>;
|
|
11
|
+
export default TableColumn;
|