@cdx-ui/components 0.0.1-beta.184 → 0.0.1-beta.185

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 (44) hide show
  1. package/coverage.svg +1 -1
  2. package/lib/commonjs/components/Table/index.js +404 -0
  3. package/lib/commonjs/components/Table/index.js.map +1 -0
  4. package/lib/commonjs/components/Table/index.web.js +295 -0
  5. package/lib/commonjs/components/Table/index.web.js.map +1 -0
  6. package/lib/commonjs/components/Table/styles.js +63 -0
  7. package/lib/commonjs/components/Table/styles.js.map +1 -0
  8. package/lib/commonjs/components/Table/types.js +6 -0
  9. package/lib/commonjs/components/Table/types.js.map +1 -0
  10. package/lib/commonjs/components/Table/useTableStyleContext.js +28 -0
  11. package/lib/commonjs/components/Table/useTableStyleContext.js.map +1 -0
  12. package/lib/commonjs/components/index.js +12 -0
  13. package/lib/commonjs/components/index.js.map +1 -1
  14. package/lib/module/components/Table/index.js +400 -0
  15. package/lib/module/components/Table/index.js.map +1 -0
  16. package/lib/module/components/Table/index.web.js +291 -0
  17. package/lib/module/components/Table/index.web.js.map +1 -0
  18. package/lib/module/components/Table/styles.js +59 -0
  19. package/lib/module/components/Table/styles.js.map +1 -0
  20. package/lib/module/components/Table/types.js +4 -0
  21. package/lib/module/components/Table/types.js.map +1 -0
  22. package/lib/module/components/Table/useTableStyleContext.js +17 -0
  23. package/lib/module/components/Table/useTableStyleContext.js.map +1 -0
  24. package/lib/module/components/index.js +1 -0
  25. package/lib/module/components/index.js.map +1 -1
  26. package/lib/typescript/components/Table/index.d.ts +23 -0
  27. package/lib/typescript/components/Table/index.d.ts.map +1 -0
  28. package/lib/typescript/components/Table/index.web.d.ts +22 -0
  29. package/lib/typescript/components/Table/index.web.d.ts.map +1 -0
  30. package/lib/typescript/components/Table/styles.d.ts +26 -0
  31. package/lib/typescript/components/Table/styles.d.ts.map +1 -0
  32. package/lib/typescript/components/Table/types.d.ts +39 -0
  33. package/lib/typescript/components/Table/types.d.ts.map +1 -0
  34. package/lib/typescript/components/Table/useTableStyleContext.d.ts +11 -0
  35. package/lib/typescript/components/Table/useTableStyleContext.d.ts.map +1 -0
  36. package/lib/typescript/components/index.d.ts +1 -0
  37. package/lib/typescript/components/index.d.ts.map +1 -1
  38. package/package.json +5 -5
  39. package/src/components/Table/index.tsx +489 -0
  40. package/src/components/Table/index.web.tsx +367 -0
  41. package/src/components/Table/styles.ts +90 -0
  42. package/src/components/Table/types.ts +44 -0
  43. package/src/components/Table/useTableStyleContext.ts +14 -0
  44. package/src/components/index.ts +1 -0
package/coverage.svg CHANGED
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="108" height="20" role="img" aria-label="coverage: 90.9%"><title>coverage: 90.9%</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="108" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="61" height="20" fill="#555"/><rect x="61" width="47" height="20" fill="#4b0"/><rect width="108" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="315" y="150" fill-opacity=".8" filter="url(#blur)" textLength="510">coverage</text><text x="315" y="150" fill-opacity=".3" textLength="510">coverage</text></g><text x="315" y="140" textLength="510">coverage</text></g><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="835" y="150" fill-opacity=".8" filter="url(#blur)" textLength="370">90.9%</text><text x="835" y="150" fill-opacity=".3" textLength="370">90.9%</text></g><text x="835" y="140" textLength="370">90.9%</text></g></g></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="108" height="20" role="img" aria-label="coverage: 90.4%"><title>coverage: 90.4%</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="108" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="61" height="20" fill="#555"/><rect x="61" width="47" height="20" fill="#4b0"/><rect width="108" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="315" y="150" fill-opacity=".8" filter="url(#blur)" textLength="510">coverage</text><text x="315" y="150" fill-opacity=".3" textLength="510">coverage</text></g><text x="315" y="140" textLength="510">coverage</text></g><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="835" y="150" fill-opacity=".8" filter="url(#blur)" textLength="370">90.4%</text><text x="835" y="150" fill-opacity=".3" textLength="370">90.4%</text></g><text x="835" y="140" textLength="370">90.4%</text></g></g></svg>
@@ -0,0 +1,404 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Table = void 0;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _primitives = require("@cdx-ui/primitives");
10
+ var _utils = require("@cdx-ui/utils");
11
+ var _styles = require("./styles");
12
+ var _useTableStyleContext = require("./useTableStyleContext");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ const NATIVE_COL_MIN_WIDTH = 96;
15
+ const TableLayoutContext = /*#__PURE__*/(0, _react.createContext)({
16
+ tableWidth: 0,
17
+ columnCount: 0,
18
+ registerRowColumnCount: () => {},
19
+ unregisterRowColumnCount: () => {},
20
+ setViewportWidth: () => {}
21
+ });
22
+ const useTableLayout = () => (0, _react.useContext)(TableLayoutContext);
23
+ const nativeColumnStyle = (span, tableWidth, columnCount) => {
24
+ if (tableWidth <= 0 || columnCount <= 0) {
25
+ return undefined;
26
+ }
27
+ return {
28
+ width: span / columnCount * tableWidth,
29
+ flexGrow: 0,
30
+ flexShrink: 0
31
+ };
32
+ };
33
+ const isTableColumnChild = child => /*#__PURE__*/(0, _react.isValidElement)(child) && ['Table.Head', 'Table.Cell'].includes(child.type.displayName ?? '');
34
+ const countRowColumns = children => _react.Children.toArray(children).reduce((total, child) => {
35
+ if (!isTableColumnChild(child)) {
36
+ return total;
37
+ }
38
+ const span = child.props.colSpan;
39
+ return total + (span && span > 1 ? span : 1);
40
+ }, 0);
41
+ const columnSpan = colSpan => colSpan && colSpan > 1 ? colSpan : 1;
42
+ const nativeCrossAxisAlign = className => {
43
+ if (!className) {
44
+ return undefined;
45
+ }
46
+ if (/\btext-right\b/.test(className)) {
47
+ return 'items-end';
48
+ }
49
+ if (/\btext-center\b/.test(className)) {
50
+ return 'items-center';
51
+ }
52
+ return undefined;
53
+ };
54
+ const isCaptionChild = child => /*#__PURE__*/(0, _react.isValidElement)(child) && child.type.displayName === 'Table.Caption';
55
+ const nativeTextAlign = className => {
56
+ if (!className) {
57
+ return undefined;
58
+ }
59
+ if (/\btext-right\b/.test(className)) {
60
+ return 'text-right';
61
+ }
62
+ if (/\btext-center\b/.test(className)) {
63
+ return 'text-center';
64
+ }
65
+ if (/\btext-left\b/.test(className)) {
66
+ return 'text-left';
67
+ }
68
+ return undefined;
69
+ };
70
+ const isTextChild = child => typeof child === 'string' || typeof child === 'number';
71
+ const renderNativeTableTextContent = (children, textClassName) => {
72
+ if (isTextChild(children)) {
73
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
74
+ numberOfLines: 1,
75
+ ellipsizeMode: "tail",
76
+ className: textClassName,
77
+ children: children
78
+ });
79
+ }
80
+ const childList = _react.Children.toArray(children);
81
+ if (childList.length === 0) {
82
+ return children;
83
+ }
84
+ if (childList.every(isTextChild)) {
85
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
86
+ numberOfLines: 1,
87
+ ellipsizeMode: "tail",
88
+ className: textClassName,
89
+ children: childList
90
+ });
91
+ }
92
+ return _react.Children.map(children, (child, index) => {
93
+ if (!isTextChild(child)) {
94
+ return child;
95
+ }
96
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
97
+ numberOfLines: 1,
98
+ ellipsizeMode: "tail",
99
+ className: textClassName,
100
+ children: child
101
+ }, `table-text-${index.toString()}`);
102
+ });
103
+ };
104
+ const TableRoot = /*#__PURE__*/(0, _react.forwardRef)(({
105
+ asChild,
106
+ className,
107
+ children,
108
+ style,
109
+ fullBleed = false,
110
+ ...props
111
+ }, ref) => {
112
+ const ctx = (0, _useTableStyleContext.useTableVariantContext)(fullBleed);
113
+ const computedClassName = (0, _utils.cn)((0, _styles.tableContainerVariants)(), className);
114
+ const [viewportWidth, setViewportWidth] = (0, _react.useState)(0);
115
+ const [columnCount, setColumnCount] = (0, _react.useState)(0);
116
+ const rowColumnCountsRef = (0, _react.useRef)(new Map());
117
+ const syncColumnCount = (0, _react.useCallback)(() => {
118
+ let max = 0;
119
+ for (const count of rowColumnCountsRef.current.values()) {
120
+ if (count > max) {
121
+ max = count;
122
+ }
123
+ }
124
+ setColumnCount(prev => prev === max ? prev : max);
125
+ }, []);
126
+ const registerRowColumnCount = (0, _react.useCallback)((rowId, count) => {
127
+ rowColumnCountsRef.current.set(rowId, count);
128
+ syncColumnCount();
129
+ }, [syncColumnCount]);
130
+ const unregisterRowColumnCount = (0, _react.useCallback)(rowId => {
131
+ if (rowColumnCountsRef.current.delete(rowId)) {
132
+ syncColumnCount();
133
+ }
134
+ }, [syncColumnCount]);
135
+ const tableWidth = Math.max(viewportWidth, columnCount * NATIVE_COL_MIN_WIDTH);
136
+ const layout = (0, _react.useMemo)(() => ({
137
+ tableWidth,
138
+ columnCount,
139
+ registerRowColumnCount,
140
+ unregisterRowColumnCount,
141
+ setViewportWidth
142
+ }), [tableWidth, columnCount, registerRowColumnCount, unregisterRowColumnCount]);
143
+ const handleViewportLayout = event => {
144
+ const nextWidth = event.nativeEvent.layout.width;
145
+ setViewportWidth(prev => prev === nextWidth ? prev : nextWidth);
146
+ };
147
+ if (asChild) {
148
+ const Comp = _primitives.Slot;
149
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_useTableStyleContext.ParentContext.Provider, {
150
+ value: ctx,
151
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TableLayoutContext.Provider, {
152
+ value: layout,
153
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
154
+ ref: ref,
155
+ className: computedClassName,
156
+ style: style,
157
+ ...props,
158
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
159
+ slot: 'table'
160
+ })),
161
+ children: children
162
+ })
163
+ })
164
+ });
165
+ }
166
+ const childList = _react.Children.toArray(children);
167
+ const captions = childList.filter(isCaptionChild);
168
+ const tableChildren = childList.filter(child => !isCaptionChild(child));
169
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_useTableStyleContext.ParentContext.Provider, {
170
+ value: ctx,
171
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TableLayoutContext.Provider, {
172
+ value: layout,
173
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
174
+ horizontal: true,
175
+ showsHorizontalScrollIndicator: true,
176
+ className: computedClassName,
177
+ style: style,
178
+ onLayout: handleViewportLayout,
179
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
180
+ ref: ref,
181
+ className: (0, _styles.tableNativeRootVariants)(),
182
+ style: tableWidth > 0 ? {
183
+ width: tableWidth
184
+ } : undefined,
185
+ accessibilityRole: "none",
186
+ ...props,
187
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
188
+ slot: 'table'
189
+ })),
190
+ children: [tableChildren, captions]
191
+ })
192
+ })
193
+ })
194
+ });
195
+ });
196
+ TableRoot.displayName = 'Table';
197
+ const TableCaption = /*#__PURE__*/(0, _react.forwardRef)(({
198
+ asChild,
199
+ className,
200
+ children,
201
+ style,
202
+ ...props
203
+ }, ref) => {
204
+ const computedClassName = (0, _utils.cn)((0, _styles.tableNativeCaptionVariants)(), className);
205
+ const Comp = asChild ? _primitives.Slot : _reactNative.Text;
206
+ const {
207
+ tableWidth
208
+ } = useTableLayout();
209
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
210
+ ref: ref,
211
+ className: computedClassName,
212
+ style: [tableWidth > 0 ? {
213
+ width: tableWidth
214
+ } : null, style],
215
+ accessibilityRole: "text",
216
+ ...props,
217
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
218
+ slot: 'table-caption'
219
+ })),
220
+ children: children
221
+ });
222
+ });
223
+ TableCaption.displayName = 'Table.Caption';
224
+ const TableHeader = /*#__PURE__*/(0, _react.forwardRef)(({
225
+ asChild,
226
+ className,
227
+ children,
228
+ style,
229
+ ...props
230
+ }, ref) => {
231
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
232
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
233
+ ref: ref,
234
+ className: className,
235
+ style: style,
236
+ accessibilityRole: "header",
237
+ ...props,
238
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
239
+ slot: 'table-header'
240
+ })),
241
+ children: children
242
+ });
243
+ });
244
+ TableHeader.displayName = 'Table.Header';
245
+ const TableBody = /*#__PURE__*/(0, _react.forwardRef)(({
246
+ asChild,
247
+ className,
248
+ children,
249
+ style,
250
+ ...props
251
+ }, ref) => {
252
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
253
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
254
+ ref: ref,
255
+ className: className,
256
+ style: style,
257
+ ...props,
258
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
259
+ slot: 'table-body'
260
+ })),
261
+ children: children
262
+ });
263
+ });
264
+ TableBody.displayName = 'Table.Body';
265
+ const TableFooter = /*#__PURE__*/(0, _react.forwardRef)(({
266
+ asChild,
267
+ className,
268
+ children,
269
+ style,
270
+ ...props
271
+ }, ref) => {
272
+ const computedClassName = (0, _utils.cn)((0, _styles.tableNativeFooterVariants)(), className);
273
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
274
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
275
+ ref: ref,
276
+ className: computedClassName,
277
+ style: style,
278
+ accessibilityRole: "summary",
279
+ ...props,
280
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
281
+ slot: 'table-footer'
282
+ })),
283
+ children: children
284
+ });
285
+ });
286
+ TableFooter.displayName = 'Table.Footer';
287
+ const TableRow = /*#__PURE__*/(0, _react.forwardRef)(({
288
+ asChild,
289
+ className,
290
+ children,
291
+ style,
292
+ ...props
293
+ }, ref) => {
294
+ const computedClassName = (0, _utils.cn)((0, _styles.tableNativeRowVariants)(), className);
295
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
296
+ const rowId = (0, _react.useId)();
297
+ const {
298
+ tableWidth,
299
+ registerRowColumnCount,
300
+ unregisterRowColumnCount
301
+ } = useTableLayout();
302
+ const columnCount = countRowColumns(children);
303
+ (0, _react.useLayoutEffect)(() => {
304
+ if (columnCount > 0) {
305
+ registerRowColumnCount(rowId, columnCount);
306
+ } else {
307
+ unregisterRowColumnCount(rowId);
308
+ }
309
+ return () => {
310
+ unregisterRowColumnCount(rowId);
311
+ };
312
+ }, [rowId, columnCount, registerRowColumnCount, unregisterRowColumnCount]);
313
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
314
+ ref: ref,
315
+ className: computedClassName,
316
+ style: [tableWidth > 0 ? {
317
+ width: tableWidth
318
+ } : null, style],
319
+ accessibilityRole: "none",
320
+ ...props,
321
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
322
+ slot: 'table-row'
323
+ })),
324
+ children: children
325
+ });
326
+ });
327
+ TableRow.displayName = 'Table.Row';
328
+ const TableHead = /*#__PURE__*/(0, _react.forwardRef)(({
329
+ asChild,
330
+ className,
331
+ children,
332
+ style,
333
+ colSpan,
334
+ rowSpan: _rowSpan,
335
+ scope: _scope,
336
+ ...props
337
+ }, ref) => {
338
+ const {
339
+ fullBleed
340
+ } = (0, _useTableStyleContext.useTableStyleContext)();
341
+ const {
342
+ tableWidth,
343
+ columnCount
344
+ } = useTableLayout();
345
+ const computedClassName = (0, _utils.cn)((0, _styles.tableNativeHeadVariants)({
346
+ fullBleed
347
+ }), nativeCrossAxisAlign(className), className);
348
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
349
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
350
+ ref: ref,
351
+ className: computedClassName,
352
+ style: [nativeColumnStyle(columnSpan(colSpan), tableWidth, columnCount), style],
353
+ accessibilityRole: "header",
354
+ ...props,
355
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
356
+ slot: 'table-head'
357
+ })),
358
+ children: renderNativeTableTextContent(children, (0, _utils.cn)('w-full font-medium text-content-secondary body-md', nativeTextAlign(className)))
359
+ });
360
+ });
361
+ TableHead.displayName = 'Table.Head';
362
+ const TableCell = /*#__PURE__*/(0, _react.forwardRef)(({
363
+ asChild,
364
+ className,
365
+ children,
366
+ style,
367
+ colSpan,
368
+ rowSpan: _rowSpan,
369
+ ...props
370
+ }, ref) => {
371
+ const {
372
+ fullBleed
373
+ } = (0, _useTableStyleContext.useTableStyleContext)();
374
+ const {
375
+ tableWidth,
376
+ columnCount
377
+ } = useTableLayout();
378
+ const computedClassName = (0, _utils.cn)((0, _styles.tableNativeCellVariants)({
379
+ fullBleed
380
+ }), nativeCrossAxisAlign(className), className);
381
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
382
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
383
+ ref: ref,
384
+ className: computedClassName,
385
+ style: [nativeColumnStyle(columnSpan(colSpan), tableWidth, columnCount), style],
386
+ accessibilityRole: "text",
387
+ ...props,
388
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
389
+ slot: 'table-cell'
390
+ })),
391
+ children: renderNativeTableTextContent(children, (0, _utils.cn)('w-full body-md text-content-primary', nativeTextAlign(className)))
392
+ });
393
+ });
394
+ TableCell.displayName = 'Table.Cell';
395
+ const Table = exports.Table = Object.assign(TableRoot, {
396
+ Caption: TableCaption,
397
+ Header: TableHeader,
398
+ Body: TableBody,
399
+ Footer: TableFooter,
400
+ Row: TableRow,
401
+ Head: TableHead,
402
+ Cell: TableCell
403
+ });
404
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_primitives","_utils","_styles","_useTableStyleContext","_jsxRuntime","NATIVE_COL_MIN_WIDTH","TableLayoutContext","createContext","tableWidth","columnCount","registerRowColumnCount","unregisterRowColumnCount","setViewportWidth","useTableLayout","useContext","nativeColumnStyle","span","undefined","width","flexGrow","flexShrink","isTableColumnChild","child","isValidElement","includes","type","displayName","countRowColumns","children","Children","toArray","reduce","total","props","colSpan","columnSpan","nativeCrossAxisAlign","className","test","isCaptionChild","nativeTextAlign","isTextChild","renderNativeTableTextContent","textClassName","jsx","Text","numberOfLines","ellipsizeMode","childList","length","every","map","index","toString","TableRoot","forwardRef","asChild","style","fullBleed","ref","ctx","useTableVariantContext","computedClassName","cn","tableContainerVariants","viewportWidth","useState","setColumnCount","rowColumnCountsRef","useRef","Map","syncColumnCount","useCallback","max","count","current","values","prev","rowId","set","delete","Math","layout","useMemo","handleViewportLayout","event","nextWidth","nativeEvent","Comp","Slot","ParentContext","Provider","value","mergeDataAttributes","dataAttributes","slot","captions","filter","tableChildren","ScrollView","horizontal","showsHorizontalScrollIndicator","onLayout","jsxs","View","tableNativeRootVariants","accessibilityRole","TableCaption","tableNativeCaptionVariants","TableHeader","TableBody","TableFooter","tableNativeFooterVariants","TableRow","tableNativeRowVariants","useId","useLayoutEffect","TableHead","rowSpan","_rowSpan","scope","_scope","useTableStyleContext","tableNativeHeadVariants","TableCell","tableNativeCellVariants","Table","exports","Object","assign","Caption","Header","Body","Footer","Row","Head","Cell"],"sourceRoot":"../../../../src","sources":["components/Table/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAeA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAiBA,IAAAK,qBAAA,GAAAL,OAAA;AAIgC,IAAAM,WAAA,GAAAN,OAAA;AAYhC,MAAMO,oBAAoB,GAAG,EAAE;AAU/B,MAAMC,kBAAkB,gBAAG,IAAAC,oBAAa,EAAmB;EACzDC,UAAU,EAAE,CAAC;EACbC,WAAW,EAAE,CAAC;EACdC,sBAAsB,EAAEA,CAAA,KAAM,CAAC,CAAC;EAChCC,wBAAwB,EAAEA,CAAA,KAAM,CAAC,CAAC;EAClCC,gBAAgB,EAAEA,CAAA,KAAM,CAAC;AAC3B,CAAC,CAAC;AAEF,MAAMC,cAAc,GAAGA,CAAA,KAAM,IAAAC,iBAAU,EAACR,kBAAkB,CAAC;AAE3D,MAAMS,iBAAiB,GAAGA,CAACC,IAAY,EAAER,UAAkB,EAAEC,WAAmB,KAAK;EACnF,IAAID,UAAU,IAAI,CAAC,IAAIC,WAAW,IAAI,CAAC,EAAE;IACvC,OAAOQ,SAAS;EAClB;EAEA,OAAO;IACLC,KAAK,EAAGF,IAAI,GAAGP,WAAW,GAAID,UAAU;IACxCW,QAAQ,EAAE,CAAC;IACXC,UAAU,EAAE;EACd,CAAC;AACH,CAAC;AAED,MAAMC,kBAAkB,GAAIC,KAAgB,IAC1C,iBAAAC,qBAAc,EAACD,KAAK,CAAC,IACrB,CAAC,YAAY,EAAE,YAAY,CAAC,CAACE,QAAQ,CAAEF,KAAK,CAACG,IAAI,CAA8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