@itilite/lumina-ui 1.0.0-alpha → 1.0.1-alpha

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 (185) hide show
  1. package/dist/{AdvancedDateRangePicker-Eh6n4ne0.d.mts → AdvancedDateRangePicker-ozItnkhp.d.mts} +1 -1
  2. package/dist/{AdvancedDateRangePicker-Eh6n4ne0.d.ts → AdvancedDateRangePicker-ozItnkhp.d.ts} +1 -1
  3. package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.d.mts +1 -1
  4. package/dist/atom/AdvancedDateRangePicker/AdvancedDateRangePicker.d.ts +1 -1
  5. package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.mts +1 -2
  6. package/dist/atom/AdvancedDateRangePicker/InternalCalendar.d.ts +1 -2
  7. package/dist/atom/LoadingSpinner/LoadingSpinner.d.mts +2 -2
  8. package/dist/atom/LoadingSpinner/LoadingSpinner.d.ts +2 -2
  9. package/dist/index.d.mts +14 -15
  10. package/dist/index.d.ts +14 -15
  11. package/dist/index.mjs +8 -8
  12. package/dist/styles.css +328 -312
  13. package/package.json +1 -1
  14. package/dist/AdvancedDateRangePicker-CN9WN0rH.d.mts +0 -56
  15. package/dist/AdvancedDateRangePicker-CN9WN0rH.d.ts +0 -56
  16. package/dist/AdvancedDateRangePicker-CzN1HGsC.d.mts +0 -57
  17. package/dist/AdvancedDateRangePicker-CzN1HGsC.d.ts +0 -57
  18. package/dist/AdvancedDateRangePicker-DAPxgRl3.d.mts +0 -54
  19. package/dist/AdvancedDateRangePicker-DAPxgRl3.d.ts +0 -54
  20. package/dist/AdvancedDateRangePicker-DW94285G.d.mts +0 -56
  21. package/dist/AdvancedDateRangePicker-DW94285G.d.ts +0 -56
  22. package/dist/Avatar-DX2JwvAs.d.mts +0 -17
  23. package/dist/Avatar-DX2JwvAs.d.ts +0 -17
  24. package/dist/Table-BA0D3p1m.d.mts +0 -78
  25. package/dist/Table-BA0D3p1m.d.ts +0 -78
  26. package/dist/Table-BLZ6c46U.d.mts +0 -77
  27. package/dist/Table-BLZ6c46U.d.ts +0 -77
  28. package/dist/Table-BMqYnFi4.d.mts +0 -25
  29. package/dist/Table-BMqYnFi4.d.ts +0 -25
  30. package/dist/Table-BRcthrYV.d.mts +0 -98
  31. package/dist/Table-BRcthrYV.d.ts +0 -98
  32. package/dist/Table-BWlFCfBG.d.mts +0 -106
  33. package/dist/Table-BWlFCfBG.d.ts +0 -106
  34. package/dist/Table-CHFmNrme.d.mts +0 -77
  35. package/dist/Table-CHFmNrme.d.ts +0 -77
  36. package/dist/Table-CX6UwQiD.d.mts +0 -116
  37. package/dist/Table-CX6UwQiD.d.ts +0 -116
  38. package/dist/Table-Chud2XSq.d.mts +0 -99
  39. package/dist/Table-Chud2XSq.d.ts +0 -99
  40. package/dist/Table-D5QRe_j3.d.mts +0 -121
  41. package/dist/Table-D5QRe_j3.d.ts +0 -121
  42. package/dist/Table-DAgFGahx.d.mts +0 -39
  43. package/dist/Table-DAgFGahx.d.ts +0 -39
  44. package/dist/Table-DWniK7At.d.mts +0 -87
  45. package/dist/Table-DWniK7At.d.ts +0 -87
  46. package/dist/Table-PyFlnUDu.d.mts +0 -47
  47. package/dist/Table-PyFlnUDu.d.ts +0 -47
  48. package/dist/Table-wqyg13Y9.d.mts +0 -77
  49. package/dist/Table-wqyg13Y9.d.ts +0 -77
  50. package/dist/Tag-l7I5oeyk.d.mts +0 -13
  51. package/dist/Tag-l7I5oeyk.d.ts +0 -13
  52. package/dist/atom/Table/LuminaPagination.d.mts +0 -7
  53. package/dist/atom/Table/LuminaPagination.d.ts +0 -7
  54. package/dist/atom/Table/LuminaPagination.js +0 -153
  55. package/dist/atom/Table/LuminaPagination.mjs +0 -9
  56. package/dist/atom/Table/TableAccordion.d.mts +0 -9
  57. package/dist/atom/Table/TableAccordion.d.ts +0 -9
  58. package/dist/atom/Table/TableAccordion.js +0 -91
  59. package/dist/atom/Table/TableAccordion.mjs +0 -10
  60. package/dist/atom/Table/TableColumnHeader.d.mts +0 -7
  61. package/dist/atom/Table/TableColumnHeader.d.ts +0 -7
  62. package/dist/atom/Table/TableColumnHeader.js +0 -151
  63. package/dist/atom/Table/TableColumnHeader.mjs +0 -10
  64. package/dist/atom/Table/TableToolbar.d.mts +0 -9
  65. package/dist/atom/Table/TableToolbar.d.ts +0 -9
  66. package/dist/atom/Table/TableToolbar.js +0 -114
  67. package/dist/atom/Table/TableToolbar.mjs +0 -10
  68. package/dist/atom/Table/__tests__/Table.test.d.mts +0 -2
  69. package/dist/atom/Table/__tests__/Table.test.d.ts +0 -2
  70. package/dist/atom/Table/__tests__/Table.test.js +0 -61133
  71. package/dist/atom/Table/__tests__/Table.test.mjs +0 -59522
  72. package/dist/atom/TableAccordion/index.d.mts +0 -17
  73. package/dist/atom/TableAccordion/index.d.ts +0 -17
  74. package/dist/atom/TableAccordion/index.js +0 -91
  75. package/dist/atom/TableAccordion/index.mjs +0 -9
  76. package/dist/atom/TableToolbar/index.d.mts +0 -23
  77. package/dist/atom/TableToolbar/index.d.ts +0 -23
  78. package/dist/atom/TableToolbar/index.js +0 -114
  79. package/dist/atom/TableToolbar/index.mjs +0 -9
  80. package/dist/chunk-2PIFDGVK.mjs +0 -420
  81. package/dist/chunk-35KDS27M.mjs +0 -618
  82. package/dist/chunk-3S4X3YO2.mjs +0 -64
  83. package/dist/chunk-3XUHGVYA.mjs +0 -77
  84. package/dist/chunk-5HF6Y37C.mjs +0 -642
  85. package/dist/chunk-5OGQ4YIR.mjs +0 -238
  86. package/dist/chunk-6FCSXN7R.mjs +0 -388
  87. package/dist/chunk-7W72LPSU.mjs +0 -66
  88. package/dist/chunk-A66QDQHK.mjs +0 -627
  89. package/dist/chunk-ABLIL47F.mjs +0 -618
  90. package/dist/chunk-AEPDEUGY.mjs +0 -627
  91. package/dist/chunk-AFLEGUF3.mjs +0 -232
  92. package/dist/chunk-APCEITHQ.mjs +0 -232
  93. package/dist/chunk-AVQBFGBT.mjs +0 -141
  94. package/dist/chunk-B5BOBELW.mjs +0 -213
  95. package/dist/chunk-BQ4PVLJ4.mjs +0 -262
  96. package/dist/chunk-DBNLBCQK.mjs +0 -64
  97. package/dist/chunk-DLLT6V65.mjs +0 -141
  98. package/dist/chunk-DOQQRYTS.mjs +0 -73
  99. package/dist/chunk-DSVR2DVF.mjs +0 -660
  100. package/dist/chunk-DXUPULDI.mjs +0 -424
  101. package/dist/chunk-E465D6OH.mjs +0 -644
  102. package/dist/chunk-E4FCLHYA.mjs +0 -678
  103. package/dist/chunk-ENQN5BAN.mjs +0 -225
  104. package/dist/chunk-F6VMSH4N.mjs +0 -79
  105. package/dist/chunk-FKGGN3FA.mjs +0 -412
  106. package/dist/chunk-GFTO2N3Q.mjs +0 -432
  107. package/dist/chunk-GM6H6RPJ.mjs +0 -232
  108. package/dist/chunk-HF3VJBMY.mjs +0 -244
  109. package/dist/chunk-HISCHZ5H.mjs +0 -77
  110. package/dist/chunk-HWQBE6PT.mjs +0 -99
  111. package/dist/chunk-HXM657YW.mjs +0 -115
  112. package/dist/chunk-I5VHKSQR.mjs +0 -64
  113. package/dist/chunk-ICSZZNTY.mjs +0 -384
  114. package/dist/chunk-IZGLD7U3.mjs +0 -667
  115. package/dist/chunk-J7X2PZG6.mjs +0 -232
  116. package/dist/chunk-JUXBLRMQ.mjs +0 -50
  117. package/dist/chunk-JXFSGADI.mjs +0 -678
  118. package/dist/chunk-KGKRSR6D.mjs +0 -388
  119. package/dist/chunk-KQKNFGWZ.mjs +0 -388
  120. package/dist/chunk-LCH4DXJY.mjs +0 -92
  121. package/dist/chunk-LCXU3K57.mjs +0 -232
  122. package/dist/chunk-LRN4XOIR.mjs +0 -71
  123. package/dist/chunk-LROMXY35.mjs +0 -116
  124. package/dist/chunk-LUNPHYAR.mjs +0 -681
  125. package/dist/chunk-LVOTEPLC.mjs +0 -64
  126. package/dist/chunk-M2ZM3X5Y.mjs +0 -56
  127. package/dist/chunk-M4MIYHAV.mjs +0 -43
  128. package/dist/chunk-M7F7DOC4.mjs +0 -41
  129. package/dist/chunk-MHWFVML4.mjs +0 -115
  130. package/dist/chunk-MPTVYTYS.mjs +0 -0
  131. package/dist/chunk-MQFW3LZR.mjs +0 -111
  132. package/dist/chunk-N355RJGH.mjs +0 -141
  133. package/dist/chunk-N3YFQDW7.mjs +0 -77
  134. package/dist/chunk-NGCBOOIE.mjs +0 -225
  135. package/dist/chunk-NWQQYJSP.mjs +0 -688
  136. package/dist/chunk-NYQV556V.mjs +0 -667
  137. package/dist/chunk-O5C3355V.mjs +0 -246
  138. package/dist/chunk-OCP43S7U.mjs +0 -241
  139. package/dist/chunk-OHLFRULE.mjs +0 -432
  140. package/dist/chunk-PLO46EKV.mjs +0 -65
  141. package/dist/chunk-PSBEYGD4.mjs +0 -618
  142. package/dist/chunk-PWIBJI6Z.mjs +0 -115
  143. package/dist/chunk-Q5KPXEH5.mjs +0 -223
  144. package/dist/chunk-QC34HHAY.mjs +0 -57
  145. package/dist/chunk-QVWV36BK.mjs +0 -73
  146. package/dist/chunk-QWK3MYDM.mjs +0 -64
  147. package/dist/chunk-RE44YAMD.mjs +0 -47
  148. package/dist/chunk-RH6DAYBU.mjs +0 -369
  149. package/dist/chunk-RSSEJENT.mjs +0 -269
  150. package/dist/chunk-SJBS5QCJ.mjs +0 -225
  151. package/dist/chunk-SWRFCTJW.mjs +0 -77
  152. package/dist/chunk-T4XNCAIB.mjs +0 -231
  153. package/dist/chunk-TCX5IFQ4.mjs +0 -627
  154. package/dist/chunk-TSAUBT2F.mjs +0 -74
  155. package/dist/chunk-U7Q7ILSE.mjs +0 -690
  156. package/dist/chunk-UHTUJJH7.mjs +0 -112
  157. package/dist/chunk-UOHYCMUS.mjs +0 -53
  158. package/dist/chunk-UQZBL3F7.mjs +0 -0
  159. package/dist/chunk-URGYNKJM.mjs +0 -229
  160. package/dist/chunk-UTMZY37A.mjs +0 -141
  161. package/dist/chunk-UUEPD2FH.mjs +0 -141
  162. package/dist/chunk-VQOUJQIF.mjs +0 -249
  163. package/dist/chunk-VY3QH43W.mjs +0 -6
  164. package/dist/chunk-W2N3AWY6.mjs +0 -80
  165. package/dist/chunk-WUVS6S7N.mjs +0 -119
  166. package/dist/chunk-WZS2K7X3.mjs +0 -688
  167. package/dist/chunk-X76GNSBB.mjs +0 -87
  168. package/dist/chunk-XG7CZXBW.mjs +0 -244
  169. package/dist/chunk-XXKIBYXD.mjs +0 -109
  170. package/dist/chunk-XXTUVMAY.mjs +0 -51
  171. package/dist/chunk-Y3BIY4DW.mjs +0 -618
  172. package/dist/chunk-Y7FP6ZMW.mjs +0 -225
  173. package/dist/chunk-YELLXCMY.mjs +0 -265
  174. package/dist/chunk-YQEEM26W.mjs +0 -232
  175. package/dist/chunk-ZGFE3OPJ.mjs +0 -678
  176. package/dist/chunk-ZMJ3KDDY.mjs +0 -618
  177. package/dist/chunk-ZYPWQ53U.mjs +0 -6
  178. package/dist/dist-U2IPN4FB.mjs +0 -567
  179. package/dist/magic-string.es-XOWQCRDO.mjs +0 -1311
  180. package/dist/types-CA0Wby2L.d.mts +0 -67
  181. package/dist/types-CA0Wby2L.d.ts +0 -67
  182. package/dist/types-CncMmuJM.d.mts +0 -44
  183. package/dist/types-CncMmuJM.d.ts +0 -44
  184. package/dist/types-D4fdeMWQ.d.mts +0 -62
  185. package/dist/types-D4fdeMWQ.d.ts +0 -62
@@ -1,67 +0,0 @@
1
- import { TableProps as TableProps$1, TablePaginationConfig } from 'antd';
2
-
3
- interface TableAccordionProps {
4
- /** Accordion header title */
5
- title: string;
6
- /** Optional subtitle rendered below the title */
7
- subtitle?: string;
8
- /** Start expanded. Defaults to true */
9
- defaultOpen?: boolean;
10
- /** Extra class on the root wrapper */
11
- className?: string;
12
- }
13
- interface TableToolbarProps {
14
- /** Placeholder for the search input */
15
- searchPlaceholder?: string;
16
- /** Called when search value changes */
17
- onSearch?: (value: string) => void;
18
- /** Label for the Edit Columns button */
19
- editColumnsLabel?: string;
20
- /** Called when Edit Columns is clicked */
21
- onEditColumns?: () => void;
22
- /** Label for the Add Filter button */
23
- addFilterLabel?: string;
24
- /** Called when Add Filter is clicked */
25
- onAddFilter?: () => void;
26
- /** Extra class on the root wrapper */
27
- className?: string;
28
- }
29
- interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination"> {
30
- /**
31
- * Lumina UI table variant.
32
- * - `default` – plain table card
33
- * - `hover` – row highlight on mouse-over
34
- * - `selectable` – intended for use with rowSelection
35
- * - `accordion` – renders table inside an Accordion card (uses accordionProps)
36
- * - `toolbar` – renders table inside a Toolbar layout (uses toolbarProps)
37
- * - `accordion-child` – stripped variant for use when parent handles Accordion wrapper
38
- * - `toolbar-child` – stripped variant for use when parent handles Toolbar wrapper
39
- */
40
- variant?: "default" | "hover" | "selectable" | "accordion" | "toolbar" | "accordion-child" | "toolbar-child";
41
- /**
42
- * Table size. Defaults to 'middle'.
43
- */
44
- size?: "small" | "middle" | "large";
45
- /**
46
- * Extra class applied on the outermost wrapper div.
47
- */
48
- className?: string;
49
- /**
50
- * AntD pagination config. Pass `false` to hide pagination.
51
- */
52
- pagination?: TablePaginationConfig | boolean;
53
- /**
54
- * Props for the Accordion wrapper (used when variant="accordion")
55
- */
56
- accordionProps?: TableAccordionProps;
57
- /**
58
- * Props for the Toolbar wrapper (used when variant="toolbar")
59
- */
60
- toolbarProps?: TableToolbarProps;
61
- /**
62
- * Analytics metadata forwarded to the consuming app's tracking layer.
63
- */
64
- analytics?: Record<string, unknown>;
65
- }
66
-
67
- export type { TableAccordionProps as T, TableToolbarProps as a, TableProps as b };
@@ -1,67 +0,0 @@
1
- import { TableProps as TableProps$1, TablePaginationConfig } from 'antd';
2
-
3
- interface TableAccordionProps {
4
- /** Accordion header title */
5
- title: string;
6
- /** Optional subtitle rendered below the title */
7
- subtitle?: string;
8
- /** Start expanded. Defaults to true */
9
- defaultOpen?: boolean;
10
- /** Extra class on the root wrapper */
11
- className?: string;
12
- }
13
- interface TableToolbarProps {
14
- /** Placeholder for the search input */
15
- searchPlaceholder?: string;
16
- /** Called when search value changes */
17
- onSearch?: (value: string) => void;
18
- /** Label for the Edit Columns button */
19
- editColumnsLabel?: string;
20
- /** Called when Edit Columns is clicked */
21
- onEditColumns?: () => void;
22
- /** Label for the Add Filter button */
23
- addFilterLabel?: string;
24
- /** Called when Add Filter is clicked */
25
- onAddFilter?: () => void;
26
- /** Extra class on the root wrapper */
27
- className?: string;
28
- }
29
- interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination"> {
30
- /**
31
- * Lumina UI table variant.
32
- * - `default` – plain table card
33
- * - `hover` – row highlight on mouse-over
34
- * - `selectable` – intended for use with rowSelection
35
- * - `accordion` – renders table inside an Accordion card (uses accordionProps)
36
- * - `toolbar` – renders table inside a Toolbar layout (uses toolbarProps)
37
- * - `accordion-child` – stripped variant for use when parent handles Accordion wrapper
38
- * - `toolbar-child` – stripped variant for use when parent handles Toolbar wrapper
39
- */
40
- variant?: "default" | "hover" | "selectable" | "accordion" | "toolbar" | "accordion-child" | "toolbar-child";
41
- /**
42
- * Table size. Defaults to 'middle'.
43
- */
44
- size?: "small" | "middle" | "large";
45
- /**
46
- * Extra class applied on the outermost wrapper div.
47
- */
48
- className?: string;
49
- /**
50
- * AntD pagination config. Pass `false` to hide pagination.
51
- */
52
- pagination?: TablePaginationConfig | boolean;
53
- /**
54
- * Props for the Accordion wrapper (used when variant="accordion")
55
- */
56
- accordionProps?: TableAccordionProps;
57
- /**
58
- * Props for the Toolbar wrapper (used when variant="toolbar")
59
- */
60
- toolbarProps?: TableToolbarProps;
61
- /**
62
- * Analytics metadata forwarded to the consuming app's tracking layer.
63
- */
64
- analytics?: Record<string, unknown>;
65
- }
66
-
67
- export type { TableAccordionProps as T, TableToolbarProps as a, TableProps as b };
@@ -1,44 +0,0 @@
1
- import { TableProps as TableProps$1 } from 'antd';
2
-
3
- interface LuminaPaginationProps {
4
- /** Total number of records */
5
- total: number;
6
- /** Current page (1-indexed) */
7
- page: number;
8
- /** Number of rows per page */
9
- pageSize: number;
10
- /** Available page-size options. Defaults to [10, 25, 50] */
11
- pageSizeOptions?: number[];
12
- /** Callback fired when page or pageSize changes */
13
- onChange: (page: number, pageSize: number) => void;
14
- }
15
- interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination"> {
16
- /**
17
- * Lumina UI table variant.
18
- * - `default` – plain table, no hover highlight
19
- * - `hover` – table rows highlight on mouse-over
20
- * - `selectable` – intended for use with rowSelection; same layout as default
21
- * - `accordion-child` – table rendered inside a TableAccordion; removes outer card styling
22
- * - `toolbar-child` – table rendered inside a TableToolbar; removes outer card styling
23
- */
24
- variant?: "default" | "hover" | "selectable" | "accordion-child" | "toolbar-child";
25
- /**
26
- * Table size defaults to 'middle' in Lumina (AntD default is 'large').
27
- */
28
- size?: "small" | "middle" | "large";
29
- /**
30
- * Custom classes applied over the table wrapper div.
31
- */
32
- className?: string;
33
- /**
34
- * Custom Lumina pagination.
35
- * Pass `false` or omit to hide pagination entirely.
36
- */
37
- pagination?: LuminaPaginationProps | false;
38
- /**
39
- * Analytics metadata, forwarded to tracking layers by the consuming app.
40
- */
41
- analytics?: Record<string, unknown>;
42
- }
43
-
44
- export type { LuminaPaginationProps as L, TableProps as T };
@@ -1,44 +0,0 @@
1
- import { TableProps as TableProps$1 } from 'antd';
2
-
3
- interface LuminaPaginationProps {
4
- /** Total number of records */
5
- total: number;
6
- /** Current page (1-indexed) */
7
- page: number;
8
- /** Number of rows per page */
9
- pageSize: number;
10
- /** Available page-size options. Defaults to [10, 25, 50] */
11
- pageSizeOptions?: number[];
12
- /** Callback fired when page or pageSize changes */
13
- onChange: (page: number, pageSize: number) => void;
14
- }
15
- interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination"> {
16
- /**
17
- * Lumina UI table variant.
18
- * - `default` – plain table, no hover highlight
19
- * - `hover` – table rows highlight on mouse-over
20
- * - `selectable` – intended for use with rowSelection; same layout as default
21
- * - `accordion-child` – table rendered inside a TableAccordion; removes outer card styling
22
- * - `toolbar-child` – table rendered inside a TableToolbar; removes outer card styling
23
- */
24
- variant?: "default" | "hover" | "selectable" | "accordion-child" | "toolbar-child";
25
- /**
26
- * Table size defaults to 'middle' in Lumina (AntD default is 'large').
27
- */
28
- size?: "small" | "middle" | "large";
29
- /**
30
- * Custom classes applied over the table wrapper div.
31
- */
32
- className?: string;
33
- /**
34
- * Custom Lumina pagination.
35
- * Pass `false` or omit to hide pagination entirely.
36
- */
37
- pagination?: LuminaPaginationProps | false;
38
- /**
39
- * Analytics metadata, forwarded to tracking layers by the consuming app.
40
- */
41
- analytics?: Record<string, unknown>;
42
- }
43
-
44
- export type { LuminaPaginationProps as L, TableProps as T };
@@ -1,62 +0,0 @@
1
- import * as React from 'react';
2
- import { TableProps as TableProps$1, TablePaginationConfig } from 'antd';
3
-
4
- type SortOrder = "ascend" | "descend" | undefined;
5
- interface TableColumnHeaderProps {
6
- /** Column label text */
7
- label: string;
8
- /** Show sort icon and enable sort cycling. Defaults to false. */
9
- sortable?: boolean;
10
- /**
11
- * Current sort direction.
12
- * - `undefined` → unsorted; shows ↑↓ icon when sortable
13
- * - `"ascend"` → shows ↑ icon
14
- * - `"descend"` → shows ↓ icon
15
- */
16
- sortOrder?: SortOrder;
17
- /**
18
- * Called when the user clicks the sort area.
19
- * Cycles: undefined → ascend → descend → undefined
20
- */
21
- onSortChange?: (order: SortOrder) => void;
22
- /**
23
- * Number of active filters applied to this column.
24
- * > 0 turns the filter icon red and shows a count badge.
25
- */
26
- filterCount?: number;
27
- /**
28
- * Filter dropdown content supplied by the consumer.
29
- * Providing this prop renders the filter icon button.
30
- * Clicking the icon toggles visibility of this content.
31
- */
32
- children?: React.ReactNode;
33
- }
34
- interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination"> {
35
- /**
36
- * Lumina UI table variant.
37
- * - `default` – standalone table card with rounded border
38
- * - `hover` – row highlight on mouse-over
39
- * - `selectable` – use with `rowSelection` for checkbox rows
40
- * - `accordion-child` – strips outer card chrome; place inside your own accordion wrapper
41
- * - `toolbar-child` – strips outer card chrome; place inside your own toolbar/container wrapper
42
- */
43
- variant?: "default" | "hover" | "selectable" | "accordion-child" | "toolbar-child";
44
- /**
45
- * Table size. Defaults to 'middle'.
46
- */
47
- size?: "small" | "middle" | "large";
48
- /**
49
- * Extra class applied on the outermost wrapper div.
50
- */
51
- className?: string;
52
- /**
53
- * AntD pagination config. Pass `false` to hide pagination.
54
- */
55
- pagination?: TablePaginationConfig | boolean;
56
- /**
57
- * Analytics metadata forwarded to the consuming app's tracking layer.
58
- */
59
- analytics?: Record<string, unknown>;
60
- }
61
-
62
- export type { SortOrder as S, TableColumnHeaderProps as T, TableProps as a };
@@ -1,62 +0,0 @@
1
- import * as React from 'react';
2
- import { TableProps as TableProps$1, TablePaginationConfig } from 'antd';
3
-
4
- type SortOrder = "ascend" | "descend" | undefined;
5
- interface TableColumnHeaderProps {
6
- /** Column label text */
7
- label: string;
8
- /** Show sort icon and enable sort cycling. Defaults to false. */
9
- sortable?: boolean;
10
- /**
11
- * Current sort direction.
12
- * - `undefined` → unsorted; shows ↑↓ icon when sortable
13
- * - `"ascend"` → shows ↑ icon
14
- * - `"descend"` → shows ↓ icon
15
- */
16
- sortOrder?: SortOrder;
17
- /**
18
- * Called when the user clicks the sort area.
19
- * Cycles: undefined → ascend → descend → undefined
20
- */
21
- onSortChange?: (order: SortOrder) => void;
22
- /**
23
- * Number of active filters applied to this column.
24
- * > 0 turns the filter icon red and shows a count badge.
25
- */
26
- filterCount?: number;
27
- /**
28
- * Filter dropdown content supplied by the consumer.
29
- * Providing this prop renders the filter icon button.
30
- * Clicking the icon toggles visibility of this content.
31
- */
32
- children?: React.ReactNode;
33
- }
34
- interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination"> {
35
- /**
36
- * Lumina UI table variant.
37
- * - `default` – standalone table card with rounded border
38
- * - `hover` – row highlight on mouse-over
39
- * - `selectable` – use with `rowSelection` for checkbox rows
40
- * - `accordion-child` – strips outer card chrome; place inside your own accordion wrapper
41
- * - `toolbar-child` – strips outer card chrome; place inside your own toolbar/container wrapper
42
- */
43
- variant?: "default" | "hover" | "selectable" | "accordion-child" | "toolbar-child";
44
- /**
45
- * Table size. Defaults to 'middle'.
46
- */
47
- size?: "small" | "middle" | "large";
48
- /**
49
- * Extra class applied on the outermost wrapper div.
50
- */
51
- className?: string;
52
- /**
53
- * AntD pagination config. Pass `false` to hide pagination.
54
- */
55
- pagination?: TablePaginationConfig | boolean;
56
- /**
57
- * Analytics metadata forwarded to the consuming app's tracking layer.
58
- */
59
- analytics?: Record<string, unknown>;
60
- }
61
-
62
- export type { SortOrder as S, TableColumnHeaderProps as T, TableProps as a };