@ledgerhq/lumen-ui-react 0.1.16 → 0.1.18

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 (219) hide show
  1. package/ai-rules/RULES.md +7 -1
  2. package/dist/index.js +148 -142
  3. package/dist/lib/Components/AddressInput/AddressInput.d.ts +1 -4
  4. package/dist/lib/Components/AddressInput/AddressInput.d.ts.map +1 -1
  5. package/dist/lib/Components/AddressInput/AddressInput.js +21 -21
  6. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts +1 -4
  7. package/dist/lib/Components/AmountDisplay/AmountDisplay.d.ts.map +1 -1
  8. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +32 -29
  9. package/dist/lib/Components/AmountInput/AmountInput.d.ts +1 -4
  10. package/dist/lib/Components/AmountInput/AmountInput.d.ts.map +1 -1
  11. package/dist/lib/Components/AmountInput/AmountInput.js +13 -14
  12. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -4
  13. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  14. package/dist/lib/Components/Avatar/Avatar.js +8 -9
  15. package/dist/lib/Components/BaseInput/BaseInput.d.ts +1 -4
  16. package/dist/lib/Components/BaseInput/BaseInput.d.ts.map +1 -1
  17. package/dist/lib/Components/BaseInput/BaseInput.js +66 -73
  18. package/dist/lib/Components/Button/BaseButton.d.ts +1 -4
  19. package/dist/lib/Components/Button/BaseButton.d.ts.map +1 -1
  20. package/dist/lib/Components/Button/BaseButton.js +14 -15
  21. package/dist/lib/Components/Button/Button.d.ts +1 -4
  22. package/dist/lib/Components/Button/Button.d.ts.map +1 -1
  23. package/dist/lib/Components/Button/Button.js +6 -7
  24. package/dist/lib/Components/Card/Card.d.ts +10 -40
  25. package/dist/lib/Components/Card/Card.d.ts.map +1 -1
  26. package/dist/lib/Components/Card/Card.js +115 -134
  27. package/dist/lib/Components/CardButton/CardButton.d.ts +1 -4
  28. package/dist/lib/Components/CardButton/CardButton.d.ts.map +1 -1
  29. package/dist/lib/Components/CardButton/CardButton.js +10 -11
  30. package/dist/lib/Components/Checkbox/Checkbox.d.ts +1 -4
  31. package/dist/lib/Components/Checkbox/Checkbox.d.ts.map +1 -1
  32. package/dist/lib/Components/Checkbox/Checkbox.js +2 -3
  33. package/dist/lib/Components/ContentBanner/ContentBanner.d.ts +4 -16
  34. package/dist/lib/Components/ContentBanner/ContentBanner.d.ts.map +1 -1
  35. package/dist/lib/Components/ContentBanner/ContentBanner.js +48 -54
  36. package/dist/lib/Components/DataTable/DataTable.d.ts +3 -12
  37. package/dist/lib/Components/DataTable/DataTable.d.ts.map +1 -1
  38. package/dist/lib/Components/DataTable/DataTable.js +84 -97
  39. package/dist/lib/Components/Dialog/Dialog.d.ts +3 -12
  40. package/dist/lib/Components/Dialog/Dialog.d.ts.map +1 -1
  41. package/dist/lib/Components/Dialog/Dialog.js +44 -50
  42. package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.d.ts +1 -4
  43. package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.d.ts.map +1 -1
  44. package/dist/lib/Components/Dialog/DialogHeader/DialogHeader.js +31 -34
  45. package/dist/lib/Components/Divider/Divider.d.ts +1 -4
  46. package/dist/lib/Components/Divider/Divider.d.ts.map +1 -1
  47. package/dist/lib/Components/Divider/Divider.js +10 -11
  48. package/dist/lib/Components/Icon/Icon.d.ts +1 -4
  49. package/dist/lib/Components/Icon/Icon.d.ts.map +1 -1
  50. package/dist/lib/Components/Icon/Icon.js +6 -7
  51. package/dist/lib/Components/IconButton/IconButton.d.ts +1 -4
  52. package/dist/lib/Components/IconButton/IconButton.d.ts.map +1 -1
  53. package/dist/lib/Components/IconButton/IconButton.js +5 -6
  54. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts +3 -11
  55. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
  56. package/dist/lib/Components/InteractiveIcon/InteractiveIcon.js +24 -22
  57. package/dist/lib/Components/InteractiveIcon/types.d.ts +14 -9
  58. package/dist/lib/Components/InteractiveIcon/types.d.ts.map +1 -1
  59. package/dist/lib/Components/Link/Link.d.ts +1 -4
  60. package/dist/lib/Components/Link/Link.d.ts.map +1 -1
  61. package/dist/lib/Components/Link/Link.js +13 -14
  62. package/dist/lib/Components/ListItem/ListItem.d.ts +7 -28
  63. package/dist/lib/Components/ListItem/ListItem.d.ts.map +1 -1
  64. package/dist/lib/Components/ListItem/ListItem.js +60 -63
  65. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +3 -12
  66. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
  67. package/dist/lib/Components/MediaBanner/MediaBanner.js +39 -43
  68. package/dist/lib/Components/MediaCard/MediaCard.d.ts +2 -8
  69. package/dist/lib/Components/MediaCard/MediaCard.d.ts.map +1 -1
  70. package/dist/lib/Components/MediaCard/MediaCard.js +38 -40
  71. package/dist/lib/Components/MediaImage/MediaImage.d.ts +16 -0
  72. package/dist/lib/Components/MediaImage/MediaImage.d.ts.map +1 -0
  73. package/dist/lib/Components/MediaImage/MediaImage.js +74 -0
  74. package/dist/lib/Components/MediaImage/index.d.ts +3 -0
  75. package/dist/lib/Components/MediaImage/index.d.ts.map +1 -0
  76. package/dist/lib/Components/MediaImage/types.d.ts +38 -0
  77. package/dist/lib/Components/MediaImage/types.d.ts.map +1 -0
  78. package/dist/lib/Components/Menu/Menu.d.ts +11 -38
  79. package/dist/lib/Components/Menu/Menu.d.ts.map +1 -1
  80. package/dist/lib/Components/Menu/Menu.js +100 -116
  81. package/dist/lib/Components/NavBar/CoinCapsule.d.ts +1 -4
  82. package/dist/lib/Components/NavBar/CoinCapsule.d.ts.map +1 -1
  83. package/dist/lib/Components/NavBar/CoinCapsule.js +8 -9
  84. package/dist/lib/Components/NavBar/NavBar.d.ts +7 -22
  85. package/dist/lib/Components/NavBar/NavBar.d.ts.map +1 -1
  86. package/dist/lib/Components/NavBar/NavBar.js +25 -34
  87. package/dist/lib/Components/PageIndicator/PageIndicator.d.ts +1 -4
  88. package/dist/lib/Components/PageIndicator/PageIndicator.d.ts.map +1 -1
  89. package/dist/lib/Components/PageIndicator/PageIndicator.js +15 -16
  90. package/dist/lib/Components/Popover/Popover.d.ts +1 -4
  91. package/dist/lib/Components/Popover/Popover.d.ts.map +1 -1
  92. package/dist/lib/Components/Popover/Popover.js +5 -7
  93. package/dist/lib/Components/SearchInput/SearchInput.d.ts +1 -4
  94. package/dist/lib/Components/SearchInput/SearchInput.d.ts.map +1 -1
  95. package/dist/lib/Components/SearchInput/SearchInput.js +23 -20
  96. package/dist/lib/Components/SearchInput/types.d.ts +1 -1
  97. package/dist/lib/Components/SearchInput/types.d.ts.map +1 -1
  98. package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts +0 -6
  99. package/dist/lib/Components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  100. package/dist/lib/Components/SegmentedControl/SegmentedControl.js +19 -21
  101. package/dist/lib/Components/Select/Select.d.ts +13 -28
  102. package/dist/lib/Components/Select/Select.d.ts.map +1 -1
  103. package/dist/lib/Components/Select/Select.js +339 -207
  104. package/dist/lib/Components/Select/SelectContext.d.ts +3 -1
  105. package/dist/lib/Components/Select/SelectContext.d.ts.map +1 -1
  106. package/dist/lib/Components/Select/index.d.ts +1 -1
  107. package/dist/lib/Components/Select/index.d.ts.map +1 -1
  108. package/dist/lib/Components/Select/types.d.ts +171 -140
  109. package/dist/lib/Components/Select/types.d.ts.map +1 -1
  110. package/dist/lib/Components/Select/useSelectItems/index.d.ts +2 -0
  111. package/dist/lib/Components/Select/useSelectItems/index.d.ts.map +1 -0
  112. package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts +30 -0
  113. package/dist/lib/Components/Select/useSelectItems/useSelectItems.d.ts.map +1 -0
  114. package/dist/lib/Components/Select/useSelectItems/useSelectItems.js +42 -0
  115. package/dist/lib/Components/Select/utils/groupItems.d.ts +13 -0
  116. package/dist/lib/Components/Select/utils/groupItems.d.ts.map +1 -0
  117. package/dist/lib/Components/Select/utils/groupItems.js +16 -0
  118. package/dist/lib/Components/Select/utils/index.d.ts +2 -0
  119. package/dist/lib/Components/Select/utils/index.d.ts.map +1 -0
  120. package/dist/lib/Components/SideBar/SideBar.d.ts +5 -20
  121. package/dist/lib/Components/SideBar/SideBar.d.ts.map +1 -1
  122. package/dist/lib/Components/SideBar/SideBar.js +44 -53
  123. package/dist/lib/Components/Skeleton/Skeleton.d.ts +1 -4
  124. package/dist/lib/Components/Skeleton/Skeleton.d.ts.map +1 -1
  125. package/dist/lib/Components/Skeleton/Skeleton.js +15 -22
  126. package/dist/lib/Components/Spot/Spot.d.ts +1 -4
  127. package/dist/lib/Components/Spot/Spot.d.ts.map +1 -1
  128. package/dist/lib/Components/Spot/Spot.js +11 -12
  129. package/dist/lib/Components/Stepper/Stepper.d.ts +1 -4
  130. package/dist/lib/Components/Stepper/Stepper.d.ts.map +1 -1
  131. package/dist/lib/Components/Stepper/Stepper.js +10 -11
  132. package/dist/lib/Components/Subheader/Subheader.d.ts +1 -4
  133. package/dist/lib/Components/Subheader/Subheader.d.ts.map +1 -1
  134. package/dist/lib/Components/Subheader/Subheader.js +14 -15
  135. package/dist/lib/Components/Subheader/types.d.ts +1 -1
  136. package/dist/lib/Components/Subheader/types.d.ts.map +1 -1
  137. package/dist/lib/Components/Switch/Switch.d.ts +1 -4
  138. package/dist/lib/Components/Switch/Switch.d.ts.map +1 -1
  139. package/dist/lib/Components/Switch/Switch.js +2 -3
  140. package/dist/lib/Components/Table/Table.d.ts +16 -64
  141. package/dist/lib/Components/Table/Table.d.ts.map +1 -1
  142. package/dist/lib/Components/Table/Table.js +146 -176
  143. package/dist/lib/Components/Tag/Tag.d.ts +1 -4
  144. package/dist/lib/Components/Tag/Tag.d.ts.map +1 -1
  145. package/dist/lib/Components/Tag/Tag.js +10 -11
  146. package/dist/lib/Components/TextInput/TextInput.d.ts +1 -4
  147. package/dist/lib/Components/TextInput/TextInput.d.ts.map +1 -1
  148. package/dist/lib/Components/TextInput/TextInput.js +4 -5
  149. package/dist/lib/Components/Tile/Tile.d.ts +6 -24
  150. package/dist/lib/Components/Tile/Tile.d.ts.map +1 -1
  151. package/dist/lib/Components/Tile/Tile.js +58 -71
  152. package/dist/lib/Components/TileButton/TileButton.d.ts +1 -4
  153. package/dist/lib/Components/TileButton/TileButton.d.ts.map +1 -1
  154. package/dist/lib/Components/TileButton/TileButton.js +12 -13
  155. package/dist/lib/Components/TriggerButton/TriggerButton.d.ts +1 -4
  156. package/dist/lib/Components/TriggerButton/TriggerButton.d.ts.map +1 -1
  157. package/dist/lib/Components/TriggerButton/TriggerButton.js +11 -12
  158. package/dist/lib/Components/index.d.ts +1 -0
  159. package/dist/lib/Components/index.d.ts.map +1 -1
  160. package/dist/libs/utils-shared/dist/index.js +151 -124
  161. package/dist/node_modules/@base-ui/react/esm/combobox/chips/ComboboxChipsContext.js +10 -0
  162. package/dist/node_modules/@base-ui/react/esm/combobox/collection/ComboboxCollection.js +17 -0
  163. package/dist/node_modules/@base-ui/react/esm/combobox/collection/GroupCollectionContext.js +23 -0
  164. package/dist/node_modules/@base-ui/react/esm/combobox/empty/ComboboxEmpty.js +26 -0
  165. package/dist/node_modules/@base-ui/react/esm/combobox/group/ComboboxGroup.js +34 -0
  166. package/dist/node_modules/@base-ui/react/esm/combobox/group/ComboboxGroupContext.js +14 -0
  167. package/dist/node_modules/@base-ui/react/esm/combobox/group-label/ComboboxGroupLabel.js +27 -0
  168. package/dist/node_modules/@base-ui/react/esm/combobox/input/ComboboxInput.js +221 -0
  169. package/dist/node_modules/@base-ui/react/esm/combobox/item/ComboboxItem.js +113 -0
  170. package/dist/node_modules/@base-ui/react/esm/combobox/item/ComboboxItemContext.js +14 -0
  171. package/dist/node_modules/@base-ui/react/esm/combobox/item-indicator/ComboboxItemIndicator.js +52 -0
  172. package/dist/node_modules/@base-ui/react/esm/combobox/list/ComboboxList.js +65 -0
  173. package/dist/node_modules/@base-ui/react/esm/combobox/popup/ComboboxPopup.js +76 -0
  174. package/dist/node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortal.js +24 -0
  175. package/dist/node_modules/@base-ui/react/esm/combobox/portal/ComboboxPortalContext.js +14 -0
  176. package/dist/node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositioner.js +102 -0
  177. package/dist/node_modules/@base-ui/react/esm/combobox/positioner/ComboboxPositionerContext.js +14 -0
  178. package/dist/node_modules/@base-ui/react/esm/combobox/root/AriaCombobox.js +596 -0
  179. package/dist/node_modules/@base-ui/react/esm/combobox/root/ComboboxRoot.js +23 -0
  180. package/dist/node_modules/@base-ui/react/esm/combobox/root/ComboboxRootContext.js +41 -0
  181. package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/constants.js +8 -0
  182. package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/index.js +23 -0
  183. package/dist/node_modules/@base-ui/react/esm/combobox/root/utils/useFilter.js +43 -0
  184. package/dist/node_modules/@base-ui/react/esm/combobox/row/ComboboxRowContext.js +10 -0
  185. package/dist/node_modules/@base-ui/react/esm/combobox/store.js +74 -0
  186. package/dist/node_modules/@base-ui/react/esm/combobox/trigger/ComboboxTrigger.js +135 -0
  187. package/dist/node_modules/@base-ui/react/esm/combobox/utils/ComboboxInternalDismissButton.js +32 -0
  188. package/dist/node_modules/@base-ui/react/esm/combobox/utils/stateAttributesMapping.js +15 -0
  189. package/dist/node_modules/@base-ui/react/esm/combobox/value/ComboboxValue.js +19 -0
  190. package/dist/node_modules/@base-ui/react/esm/composite/list/CompositeList.js +81 -0
  191. package/dist/node_modules/@base-ui/react/esm/composite/list/CompositeListContext.js +23 -0
  192. package/dist/node_modules/@base-ui/react/esm/composite/list/useCompositeListItem.js +55 -0
  193. package/dist/node_modules/@base-ui/react/esm/field/control/FieldControlDataAttributes.js +6 -0
  194. package/dist/node_modules/@base-ui/react/esm/field/root/FieldRootContext.js +53 -0
  195. package/dist/node_modules/@base-ui/react/esm/field/useField.js +51 -0
  196. package/dist/node_modules/@base-ui/react/esm/field/utils/constants.js +37 -0
  197. package/dist/node_modules/@base-ui/react/esm/field/utils/getCombinedFieldValidityData.js +12 -0
  198. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useListNavigation.js +287 -0
  199. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useTypeahead.js +71 -0
  200. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/composite.js +218 -4
  201. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/constants.js +7 -3
  202. package/dist/node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js +3 -3
  203. package/dist/node_modules/@base-ui/react/esm/form/FormContext.js +23 -0
  204. package/dist/node_modules/@base-ui/react/esm/labelable-provider/LabelableContext.js +19 -0
  205. package/dist/node_modules/@base-ui/react/esm/labelable-provider/useLabelableId.js +44 -0
  206. package/dist/node_modules/@base-ui/react/esm/utils/constants.js +11 -8
  207. package/dist/node_modules/@base-ui/react/esm/utils/createBaseUIEventDetails.js +22 -13
  208. package/dist/node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js +18 -0
  209. package/dist/node_modules/@base-ui/react/esm/utils/itemEquality.js +20 -0
  210. package/dist/node_modules/@base-ui/react/esm/utils/reason-parts.js +13 -6
  211. package/dist/node_modules/@base-ui/react/esm/utils/resolveAriaLabelledBy.js +6 -0
  212. package/dist/node_modules/@base-ui/react/esm/utils/resolveValueLabel.js +73 -0
  213. package/dist/node_modules/@base-ui/react/esm/utils/serializeValue.js +14 -0
  214. package/dist/node_modules/@base-ui/utils/esm/detectBrowser.js +8 -7
  215. package/dist/node_modules/@base-ui/utils/esm/empty.js +3 -2
  216. package/dist/node_modules/@base-ui/utils/esm/useControlled.js +31 -0
  217. package/dist/node_modules/@base-ui/utils/esm/visuallyHidden.js +5 -1
  218. package/dist/package.json +1 -2
  219. package/package.json +1 -2
@@ -20,71 +20,41 @@ import { TableBodyProps, TableCellProps, TableHeaderCellProps, TableHeaderRowPro
20
20
  * </Table>
21
21
  * </TableRoot>
22
22
  */
23
- export declare const TableRoot: {
24
- ({ children, appearance, className, onScrollBottom, loading, ref, ...props }: TableRootProps): import("react/jsx-runtime").JSX.Element;
25
- displayName: string;
26
- };
27
- export declare const Table: {
28
- ({ children, className, ref, ...props }: TableProps): import("react/jsx-runtime").JSX.Element;
29
- displayName: string;
30
- };
23
+ export declare const TableRoot: ({ children, appearance, className, onScrollBottom, loading, ref, ...props }: TableRootProps) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const Table: ({ children, className, ref, ...props }: TableProps) => import("react/jsx-runtime").JSX.Element;
31
25
  /**
32
26
  * Table head component. Wraps the HTML `<thead>` element.
33
27
  */
34
- export declare const TableHeader: {
35
- ({ children, className, ref, ...props }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
36
- displayName: string;
37
- };
28
+ export declare const TableHeader: ({ children, className, ref, ...props }: TableHeaderProps) => import("react/jsx-runtime").JSX.Element;
38
29
  /**
39
30
  * Table body component. Wraps the HTML `<tbody>` element.
40
31
  */
41
- export declare const TableBody: {
42
- ({ children, className, ref, ...props }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
43
- displayName: string;
44
- };
32
+ export declare const TableBody: ({ children, className, ref, ...props }: TableBodyProps) => import("react/jsx-runtime").JSX.Element;
45
33
  /**
46
34
  * Table row component for body rows. Wraps the HTML `<tr>` element.
47
35
  */
48
- export declare const TableRow: {
49
- ({ children, className, clickable, onClick, ref, ...props }: TableRowProps): import("react/jsx-runtime").JSX.Element;
50
- displayName: string;
51
- };
36
+ export declare const TableRow: ({ children, className, clickable, onClick, ref, ...props }: TableRowProps) => import("react/jsx-runtime").JSX.Element;
52
37
  /**
53
38
  * Table header row component. Wraps the HTML `<tr>` element with header-specific styles.
54
39
  */
55
- export declare const TableHeaderRow: {
56
- ({ children, className, ref, ...props }: TableHeaderRowProps): import("react/jsx-runtime").JSX.Element;
57
- displayName: string;
58
- };
40
+ export declare const TableHeaderRow: ({ children, className, ref, ...props }: TableHeaderRowProps) => import("react/jsx-runtime").JSX.Element;
59
41
  /**
60
42
  * Table Group Header row component. Wraps the HTML `<tr> + <td>` element with header sub-section for a table.
61
43
  */
62
- export declare const TableGroupHeaderRow: {
63
- ({ children, className, colSpan, ref, ...props }: TableGroupHeaderRowProps): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
44
+ export declare const TableGroupHeaderRow: ({ children, className, colSpan, ref, ...props }: TableGroupHeaderRowProps) => import("react/jsx-runtime").JSX.Element;
66
45
  /**
67
46
  * Table data cell component. Wraps the HTML `<td>` element.
68
47
  */
69
- export declare const TableCell: {
70
- ({ children, className, hideBelow, align, ref, ...props }: TableCellProps): import("react/jsx-runtime").JSX.Element;
71
- displayName: string;
72
- };
48
+ export declare const TableCell: ({ children, className, hideBelow, align, ref, ...props }: TableCellProps) => import("react/jsx-runtime").JSX.Element;
73
49
  /**
74
50
  * Cell content component. To be used inside a TableCell or inside tanstack column render.
75
51
  */
76
- export declare const TableCellContent: {
77
- ({ className, align, leadingContent, title, description, ref, ...props }: TableCellContentProps): import("react/jsx-runtime").JSX.Element;
78
- displayName: string;
79
- };
52
+ export declare const TableCellContent: ({ className, align, leadingContent, title, description, ref, ...props }: TableCellContentProps) => import("react/jsx-runtime").JSX.Element;
80
53
  /**
81
54
  * Table header cell component. Wraps the HTML `<th>` element.
82
55
  * Use TableSortButton for sortable columns; other children are trailing content.
83
56
  */
84
- export declare const TableHeaderCell: {
85
- ({ children, className, scope, hideBelow, align, trailingContent, ref, ...props }: TableHeaderCellProps): import("react/jsx-runtime").JSX.Element;
86
- displayName: string;
87
- };
57
+ export declare const TableHeaderCell: ({ children, className, scope, hideBelow, align, trailingContent, ref, ...props }: TableHeaderCellProps) => import("react/jsx-runtime").JSX.Element;
88
58
  /**
89
59
  * Action bar component for table controls. Positioned above the table.
90
60
  *
@@ -98,45 +68,27 @@ export declare const TableHeaderCell: {
98
68
  * </TableActionBarTrailing>
99
69
  * </TableActionBar>
100
70
  */
101
- export declare const TableActionBar: {
102
- ({ children, className, ref, ...props }: TableActionBarProps): import("react/jsx-runtime").JSX.Element;
103
- displayName: string;
104
- };
71
+ export declare const TableActionBar: ({ children, className, ref, ...props }: TableActionBarProps) => import("react/jsx-runtime").JSX.Element;
105
72
  /**
106
73
  * Leading section of the action bar. Contains left-aligned actions.
107
74
  */
108
- export declare const TableActionBarLeading: {
109
- ({ children, className, ref, ...props }: TableActionBarLeadingProps): import("react/jsx-runtime").JSX.Element;
110
- displayName: string;
111
- };
75
+ export declare const TableActionBarLeading: ({ children, className, ref, ...props }: TableActionBarLeadingProps) => import("react/jsx-runtime").JSX.Element;
112
76
  /**
113
77
  * Trailing section of the action bar. Contains right-aligned actions.
114
78
  */
115
- export declare const TableActionBarTrailing: {
116
- ({ children, className, ref, ...props }: TableActionBarTrailingProps): import("react/jsx-runtime").JSX.Element;
117
- displayName: string;
118
- };
79
+ export declare const TableActionBarTrailing: ({ children, className, ref, ...props }: TableActionBarTrailingProps) => import("react/jsx-runtime").JSX.Element;
119
80
  /**
120
81
  * Loading row component displayed at the bottom of the table during infinite scroll loading.
121
82
  */
122
- export declare const TableLoadingRow: {
123
- ({ className, ref, ...props }: TableLoadingRowProps): import("react/jsx-runtime").JSX.Element | null;
124
- displayName: string;
125
- };
83
+ export declare const TableLoadingRow: ({ className, ref, ...props }: TableLoadingRowProps) => import("react/jsx-runtime").JSX.Element | null;
126
84
  /**
127
85
  * Clickable sort control for table header columns.
128
86
  * Displays the current sort state (asc/desc/idle) and triggers sort changes on click.
129
87
  */
130
- export declare const TableInfoIcon: {
131
- ({ className, ref, ...props }: TableInfoIconProps): import("react/jsx-runtime").JSX.Element;
132
- displayName: string;
133
- };
88
+ export declare const TableInfoIcon: ({ className, ref, ...props }: TableInfoIconProps) => import("react/jsx-runtime").JSX.Element;
134
89
  /**
135
90
  * Sortable header label + icon. Renders a single button (label + sort icon) for accessibility.
136
91
  * Use as the first child of TableHeaderCell; other children are trailing content.
137
92
  */
138
- export declare const TableSortButton: {
139
- ({ children, sortDirection, align, onToggleSort, className, onClick, ref, ...props }: TableSortButtonProps): import("react/jsx-runtime").JSX.Element;
140
- displayName: string;
141
- };
93
+ export declare const TableSortButton: ({ children, sortDirection, align, onToggleSort, className, onClick, ref, ...props }: TableSortButtonProps) => import("react/jsx-runtime").JSX.Element;
142
94
  //# sourceMappingURL=Table.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Table/Table.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAoBjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,SAAS;kFAQnB,cAAc;;CAkBhB,CAAC;AAGF,eAAO,MAAM,KAAK;6CAA4C,UAAU;;CAUvE,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,WAAW;6CAKrB,gBAAgB;;CAMlB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,SAAS;6CAKnB,cAAc;;CAMhB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,QAAQ;iEAOlB,aAAa;;CAgBf,CAAC;AAYF;;GAEG;AACH,eAAO,MAAM,cAAc;6CAKxB,mBAAmB;;CAcrB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,mBAAmB;sDAM7B,wBAAwB;;CAmB1B,CAAC;AA4BF;;GAEG;AACH,eAAO,MAAM,SAAS;+DAOnB,cAAc;;CAUhB,CAAC;AAYF;;GAEG;AACH,eAAO,MAAM,gBAAgB;8EAQ1B,qBAAqB;;CAcvB,CAAC;AA4BF;;;GAGG;AACH,eAAO,MAAM,eAAe;uFASzB,oBAAoB;;CAoBtB,CAAC;AAGF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc;6CAKxB,mBAAmB;;CAUrB,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,qBAAqB;6CAK/B,0BAA0B;;CAU5B,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,sBAAsB;6CAKhC,2BAA2B;;CAU7B,CAAC;AAGF;;GAEG;AACH,eAAO,MAAM,eAAe;mCAIzB,oBAAoB;;CAsBtB,CAAC;AAGF;;;GAGG;AACH,eAAO,MAAM,aAAa;mCAIvB,kBAAkB;;CAWpB,CAAC;AAkCF;;;GAGG;AACH,eAAO,MAAM,eAAe;0FASzB,oBAAoB;;CA8BtB,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Table/Table.tsx"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAoBjB;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,SAAS,GAAI,6EAQvB,cAAc,4CAkBhB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,wCAAwC,UAAU,4CAUvE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,wCAKzB,gBAAgB,4CAMlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,wCAKvB,cAAc,4CAMhB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,4DAOtB,aAAa,4CAgBf,CAAC;AAWF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,wCAK5B,mBAAmB,4CAcrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,iDAMjC,wBAAwB,4CAmB1B,CAAC;AA2BF;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,0DAOvB,cAAc,4CAUhB,CAAC;AAWF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,yEAQ9B,qBAAqB,4CAcvB,CAAC;AA2BF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,kFAS7B,oBAAoB,4CAoBtB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,cAAc,GAAI,wCAK5B,mBAAmB,4CAUrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,wCAKnC,0BAA0B,4CAU5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,wCAKpC,2BAA2B,4CAU7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,8BAI7B,oBAAoB,mDAsBtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,8BAI3B,kBAAkB,4CAWpB,CAAC;AAiCF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,qFAS7B,oBAAoB,4CA8BtB,CAAC"}
@@ -1,15 +1,15 @@
1
- import { jsx as l, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as r, jsxs as u } from "react/jsx-runtime";
2
2
  import { createSafeContext as N, cn as c } from "../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as s } from "class-variance-authority";
4
- import { useThrottledScrollBottom as T } from "./utils/useThrottledScrollBottom.js";
5
- import { Spot as g } from "../Spot/Spot.js";
4
+ import { useThrottledScrollBottom as y } from "./utils/useThrottledScrollBottom.js";
5
+ import { Spot as T } from "../Spot/Spot.js";
6
6
  import { Information as w } from "../../Symbols/Icons/Information.js";
7
7
  import { useCommonTranslation as C } from "../../../i18n/useCommonTranslation.js";
8
8
  import { ChevronUpDown as R } from "../../Symbols/Icons/ChevronUpDown.js";
9
- import { ChevronDescending as B } from "../../Symbols/Icons/ChevronDescending.js";
10
- import { ChevronAscending as j } from "../../Symbols/Icons/ChevronAscending.js";
11
- import { InteractiveIcon as H } from "../InteractiveIcon/InteractiveIcon.js";
12
- const [A, u] = N("Table"), I = s(
9
+ import { ChevronDescending as j } from "../../Symbols/Icons/ChevronDescending.js";
10
+ import { ChevronAscending as B } from "../../Symbols/Icons/ChevronAscending.js";
11
+ import { InteractiveIcon as I } from "../InteractiveIcon/InteractiveIcon.js";
12
+ const [S, m] = N("Table"), A = s(
13
13
  "relative scrollbar-none w-full max-w-full border-collapse overflow-x-auto rounded-lg",
14
14
  {
15
15
  variants: {
@@ -19,129 +19,115 @@ const [A, u] = N("Table"), I = s(
19
19
  }
20
20
  }
21
21
  }
22
- ), L = ({
23
- children: t,
22
+ ), O = ({
23
+ children: a,
24
24
  appearance: e = "no-background",
25
- className: a,
25
+ className: t,
26
26
  onScrollBottom: n,
27
- loading: r,
27
+ loading: l,
28
28
  ref: o,
29
29
  ...i
30
30
  }) => {
31
- const d = T({
31
+ const d = y({
32
32
  onScrollBottom: n,
33
- loading: r
33
+ loading: l
34
34
  });
35
- return /* @__PURE__ */ l(A, { value: { appearance: e, loading: r }, children: /* @__PURE__ */ l(
35
+ return /* @__PURE__ */ r(S, { value: { appearance: e, loading: l }, children: /* @__PURE__ */ r(
36
36
  "div",
37
37
  {
38
38
  ...i,
39
39
  ref: o,
40
- className: I({ appearance: e, className: a }),
40
+ className: A({ appearance: e, className: t }),
41
41
  onScroll: d,
42
- children: t
42
+ children: a
43
43
  }
44
44
  ) });
45
- };
46
- L.displayName = "TableRoot";
47
- const S = ({ children: t, className: e, ref: a, ...n }) => /* @__PURE__ */ l(
45
+ }, Q = ({ children: a, className: e, ref: t, ...n }) => /* @__PURE__ */ r(
48
46
  "table",
49
47
  {
50
48
  ...n,
51
49
  className: c("w-full max-w-full table-fixed", e),
52
- ref: a,
53
- children: t
50
+ ref: t,
51
+ children: a
54
52
  }
55
- );
56
- S.displayName = "Table";
57
- const V = ({
58
- children: t,
53
+ ), W = ({
54
+ children: a,
59
55
  className: e,
60
- ref: a,
56
+ ref: t,
61
57
  ...n
62
- }) => /* @__PURE__ */ l("thead", { ref: a, className: e, ...n, children: t });
63
- V.displayName = "TableHeader";
64
- const k = ({
65
- children: t,
58
+ }) => /* @__PURE__ */ r("thead", { ref: t, className: e, ...n, children: a }), X = ({
59
+ children: a,
66
60
  className: e,
67
- ref: a,
61
+ ref: t,
68
62
  ...n
69
- }) => /* @__PURE__ */ l("tbody", { ref: a, className: e, ...n, children: t });
70
- k.displayName = "TableBody";
71
- const z = ({
72
- children: t,
63
+ }) => /* @__PURE__ */ r("tbody", { ref: t, className: e, ...n, children: a }), Y = ({
64
+ children: a,
73
65
  className: e,
74
- clickable: a = !1,
66
+ clickable: t = !1,
75
67
  onClick: n,
76
- ref: r,
68
+ ref: l,
77
69
  ...o
78
- }) => /* @__PURE__ */ l(
70
+ }) => /* @__PURE__ */ r(
79
71
  "tr",
80
72
  {
81
- ref: r,
73
+ ref: l,
82
74
  onClick: n,
83
- role: a ? "button" : void 0,
75
+ role: t ? "button" : void 0,
84
76
  className: c(
85
- a && "cursor-pointer outline-none select-none hover:bg-base-transparent-hover active:bg-base-transparent-pressed",
77
+ t && "cursor-pointer outline-none select-none hover:bg-base-transparent-hover active:bg-base-transparent-pressed",
86
78
  e
87
79
  ),
88
80
  ...o,
89
- children: t
81
+ children: a
90
82
  }
91
- );
92
- z.displayName = "TableRow";
93
- const q = s("sticky top-0", {
83
+ ), H = s("sticky top-0", {
94
84
  variants: {
95
85
  appearance: {
96
86
  "no-background": "bg-canvas",
97
87
  plain: "bg-surface"
98
88
  }
99
89
  }
100
- }), G = ({
101
- children: t,
90
+ }), Z = ({
91
+ children: a,
102
92
  className: e,
103
- ref: a,
93
+ ref: t,
104
94
  ...n
105
95
  }) => {
106
- const { appearance: r } = u({
96
+ const { appearance: l } = m({
107
97
  consumerName: "TableHeaderRow",
108
98
  contextRequired: !0
109
99
  });
110
- return /* @__PURE__ */ l(
100
+ return /* @__PURE__ */ r(
111
101
  "tr",
112
102
  {
113
- ref: a,
114
- className: q({ appearance: r, className: e }),
103
+ ref: t,
104
+ className: H({ appearance: l, className: e }),
115
105
  ...n,
116
- children: t
106
+ children: a
117
107
  }
118
108
  );
119
- };
120
- G.displayName = "TableHeaderRow";
121
- const M = ({
122
- children: t,
109
+ }, _ = ({
110
+ children: a,
123
111
  className: e,
124
- colSpan: a = 1,
112
+ colSpan: t = 1,
125
113
  ref: n,
126
- ...r
114
+ ...l
127
115
  }) => {
128
- const { appearance: o } = u({
116
+ const { appearance: o } = m({
129
117
  consumerName: "TableGroupHeaderRow",
130
118
  contextRequired: !0
131
119
  });
132
- return /* @__PURE__ */ l("tr", { ref: n, className: c("h-40", e), ...r, children: /* @__PURE__ */ l("td", { colSpan: a, children: /* @__PURE__ */ l(
120
+ return /* @__PURE__ */ r("tr", { ref: n, className: c("h-40", e), ...l, children: /* @__PURE__ */ r("td", { colSpan: t, children: /* @__PURE__ */ r(
133
121
  "div",
134
122
  {
135
123
  className: c(
136
124
  "flex h-32 w-full items-center bg-muted px-12 body-3 text-base",
137
125
  o === "no-background" && "rounded-sm"
138
126
  ),
139
- children: t
127
+ children: a
140
128
  }
141
129
  ) }) });
142
- };
143
- M.displayName = "TableGroupHeaderRow";
144
- const p = {
130
+ }, p = {
145
131
  root: s(
146
132
  "h-64 truncate p-12 body-3 text-base first:rounded-l-md last:rounded-r-md",
147
133
  {
@@ -164,55 +150,51 @@ const p = {
164
150
  }
165
151
  }
166
152
  })
167
- }, P = ({
168
- children: t,
153
+ }, $ = ({
154
+ children: a,
169
155
  className: e,
170
- hideBelow: a,
156
+ hideBelow: t,
171
157
  align: n = "start",
172
- ref: r,
158
+ ref: l,
173
159
  ...o
174
- }) => /* @__PURE__ */ l(
160
+ }) => /* @__PURE__ */ r(
175
161
  "td",
176
162
  {
177
- ref: r,
178
- className: p.root({ hideBelow: a, className: e }),
163
+ ref: l,
164
+ className: p.root({ hideBelow: t, className: e }),
179
165
  ...o,
180
- children: /* @__PURE__ */ l("div", { className: p.inner({ align: n }), children: t })
166
+ children: /* @__PURE__ */ r("div", { className: p.inner({ align: n }), children: a })
181
167
  }
182
- );
183
- P.displayName = "TableCell";
184
- const U = s("flex items-center gap-12 truncate", {
168
+ ), L = s("flex items-center gap-12 truncate", {
185
169
  variants: {
186
170
  align: {
187
171
  start: "text-start",
188
172
  end: "text-end"
189
173
  }
190
174
  }
191
- }), E = ({
192
- className: t,
175
+ }), D = ({
176
+ className: a,
193
177
  align: e = "start",
194
- leadingContent: a,
178
+ leadingContent: t,
195
179
  title: n,
196
- description: r,
180
+ description: l,
197
181
  ref: o,
198
182
  ...i
199
- }) => /* @__PURE__ */ m(
183
+ }) => /* @__PURE__ */ u(
200
184
  "div",
201
185
  {
202
186
  ref: o,
203
- className: U({ align: e, className: t }),
187
+ className: L({ align: e, className: a }),
204
188
  ...i,
205
189
  children: [
206
- /* @__PURE__ */ l("div", { children: a }),
207
- /* @__PURE__ */ m("div", { className: "flex flex-col gap-4 truncate", children: [
208
- /* @__PURE__ */ l("div", { className: "truncate body-2 text-base", children: n }),
209
- /* @__PURE__ */ l("div", { className: "truncate body-3 text-muted", children: r })
190
+ /* @__PURE__ */ r("div", { children: t }),
191
+ /* @__PURE__ */ u("div", { className: "flex flex-col gap-4 truncate", children: [
192
+ /* @__PURE__ */ r("div", { className: "truncate body-2 text-base", children: n }),
193
+ /* @__PURE__ */ r("div", { className: "truncate body-3 text-muted", children: l })
210
194
  ] })
211
195
  ]
212
196
  }
213
- );
214
- E.displayName = "TableCellContent";
215
- const f = {
197
+ ), f = {
216
198
  root: s("group h-40 truncate p-12 body-3 text-base", {
217
199
  variants: {
218
200
  hideBelow: {
@@ -235,115 +217,104 @@ const f = {
235
217
  trailingContent: s(
236
218
  "flex items-center justify-center opacity-0 group-hover:opacity-100"
237
219
  )
238
- }, F = ({
239
- children: t,
220
+ }, ee = ({
221
+ children: a,
240
222
  className: e,
241
- scope: a = "col",
223
+ scope: t = "col",
242
224
  hideBelow: n,
243
- align: r = "start",
225
+ align: l = "start",
244
226
  trailingContent: o,
245
227
  ref: i,
246
228
  ...d
247
- }) => /* @__PURE__ */ l(
229
+ }) => /* @__PURE__ */ r(
248
230
  "th",
249
231
  {
250
232
  ref: i,
251
- scope: a,
233
+ scope: t,
252
234
  className: f.root({ hideBelow: n, className: e }),
253
235
  ...d,
254
- children: /* @__PURE__ */ l("div", { className: "min-w-0", children: /* @__PURE__ */ m("div", { className: f.content({ align: r }), children: [
255
- /* @__PURE__ */ l("span", { className: c("truncate", r === "end" && "order-1"), children: t }),
256
- /* @__PURE__ */ l("div", { className: "flex items-center justify-center opacity-0 group-hover:opacity-100", children: o })
236
+ children: /* @__PURE__ */ r("div", { className: "min-w-0", children: /* @__PURE__ */ u("div", { className: f.content({ align: l }), children: [
237
+ /* @__PURE__ */ r("span", { className: c("truncate", l === "end" && "order-1"), children: a }),
238
+ /* @__PURE__ */ r("div", { className: "flex items-center justify-center opacity-0 group-hover:opacity-100", children: o })
257
239
  ] }) })
258
240
  }
259
- );
260
- F.displayName = "TableHeaderCell";
261
- const J = ({
262
- children: t,
241
+ ), te = ({
242
+ children: a,
263
243
  className: e,
264
- ref: a,
244
+ ref: t,
265
245
  ...n
266
- }) => /* @__PURE__ */ l(
246
+ }) => /* @__PURE__ */ r(
267
247
  "div",
268
248
  {
269
- ref: a,
249
+ ref: t,
270
250
  className: c("flex items-center gap-8 py-12", e),
271
251
  ...n,
272
- children: t
252
+ children: a
273
253
  }
274
- );
275
- J.displayName = "TableActionBar";
276
- const K = ({
277
- children: t,
254
+ ), ae = ({
255
+ children: a,
278
256
  className: e,
279
- ref: a,
257
+ ref: t,
280
258
  ...n
281
- }) => /* @__PURE__ */ l(
259
+ }) => /* @__PURE__ */ r(
282
260
  "div",
283
261
  {
284
- ref: a,
262
+ ref: t,
285
263
  className: c("flex items-center gap-8", e),
286
264
  ...n,
287
- children: t
265
+ children: a
288
266
  }
289
- );
290
- K.displayName = "TableActionBarLeading";
291
- const O = ({
292
- children: t,
267
+ ), ne = ({
268
+ children: a,
293
269
  className: e,
294
- ref: a,
270
+ ref: t,
295
271
  ...n
296
- }) => /* @__PURE__ */ l(
272
+ }) => /* @__PURE__ */ r(
297
273
  "div",
298
274
  {
299
- ref: a,
275
+ ref: t,
300
276
  className: c("ml-auto flex items-center gap-8", e),
301
277
  ...n,
302
- children: t
278
+ children: a
303
279
  }
304
- );
305
- O.displayName = "TableActionBarTrailing";
306
- const Q = ({
307
- className: t,
280
+ ), re = ({
281
+ className: a,
308
282
  ref: e,
309
- ...a
283
+ ...t
310
284
  }) => {
311
- const { loading: n } = u({
285
+ const { loading: n } = m({
312
286
  consumerName: "TableLoadingRow",
313
287
  contextRequired: !0
314
288
  });
315
- return n ? /* @__PURE__ */ l(
289
+ return n ? /* @__PURE__ */ r(
316
290
  "div",
317
291
  {
318
- ...a,
292
+ ...t,
319
293
  ref: e,
320
294
  className: c(
321
295
  "flex h-80 w-full items-center justify-center p-12",
322
- t
296
+ a
323
297
  ),
324
- children: /* @__PURE__ */ l(g, { appearance: "loader", size: 48 })
298
+ children: /* @__PURE__ */ r(T, { appearance: "loader", size: 48 })
325
299
  }
326
300
  ) : null;
327
- };
328
- Q.displayName = "TableLoadingRow";
329
- const W = ({
330
- className: t,
301
+ }, le = ({
302
+ className: a,
331
303
  ref: e,
332
- ...a
333
- }) => /* @__PURE__ */ l(
334
- H,
304
+ ...t
305
+ }) => /* @__PURE__ */ r(
306
+ I,
335
307
  {
336
- ...a,
308
+ ...t,
337
309
  iconType: "filled",
338
- className: t,
339
- ref: e,
340
- children: /* @__PURE__ */ l(w, { size: 20 })
310
+ icon: w,
311
+ size: 20,
312
+ className: a,
313
+ ref: e
341
314
  }
342
- );
343
- W.displayName = "TableInfoIcon";
344
- const X = {
345
- asc: j,
346
- desc: B,
315
+ ), V = {
316
+ asc: B,
317
+ desc: j,
347
318
  idle: R
348
319
  }, v = {
349
320
  root: s(
@@ -368,34 +339,34 @@ const X = {
368
339
  }
369
340
  }
370
341
  })
371
- }, Y = ({
372
- children: t,
342
+ }, oe = ({
343
+ children: a,
373
344
  sortDirection: e,
374
- align: a = "start",
345
+ align: t = "start",
375
346
  onToggleSort: n,
376
- className: r,
347
+ className: l,
377
348
  onClick: o,
378
349
  ref: i,
379
350
  ...d
380
351
  }) => {
381
- const { t: b } = C(), x = X[e || "idle"], h = {
352
+ const { t: b } = C(), x = V[e || "idle"], h = {
382
353
  asc: b("table.ascAriaLabel"),
383
354
  desc: b("table.descAriaLabel")
384
355
  };
385
- return /* @__PURE__ */ m(
356
+ return /* @__PURE__ */ u(
386
357
  "button",
387
358
  {
388
359
  ...d,
389
360
  ref: i,
390
361
  type: "button",
391
- className: v.root({ align: a, className: r }),
362
+ className: v.root({ align: t, className: l }),
392
363
  "aria-label": e ? h[e] : void 0,
393
- onClick: (y) => {
394
- o?.(y), n?.(e === "asc" ? "desc" : "asc");
364
+ onClick: (g) => {
365
+ o?.(g), n?.(e === "asc" ? "desc" : "asc");
395
366
  },
396
367
  children: [
397
- /* @__PURE__ */ l("span", { className: "min-w-0 truncate", children: t }),
398
- /* @__PURE__ */ l(
368
+ /* @__PURE__ */ r("span", { className: "min-w-0 truncate", children: a }),
369
+ /* @__PURE__ */ r(
399
370
  x,
400
371
  {
401
372
  size: 20,
@@ -408,22 +379,21 @@ const X = {
408
379
  }
409
380
  );
410
381
  };
411
- Y.displayName = "TableSortButton";
412
382
  export {
413
- S as Table,
414
- J as TableActionBar,
415
- K as TableActionBarLeading,
416
- O as TableActionBarTrailing,
417
- k as TableBody,
418
- P as TableCell,
419
- E as TableCellContent,
420
- M as TableGroupHeaderRow,
421
- V as TableHeader,
422
- F as TableHeaderCell,
423
- G as TableHeaderRow,
424
- W as TableInfoIcon,
425
- Q as TableLoadingRow,
426
- L as TableRoot,
427
- z as TableRow,
428
- Y as TableSortButton
383
+ Q as Table,
384
+ te as TableActionBar,
385
+ ae as TableActionBarLeading,
386
+ ne as TableActionBarTrailing,
387
+ X as TableBody,
388
+ $ as TableCell,
389
+ D as TableCellContent,
390
+ _ as TableGroupHeaderRow,
391
+ W as TableHeader,
392
+ ee as TableHeaderCell,
393
+ Z as TableHeaderRow,
394
+ le as TableInfoIcon,
395
+ re as TableLoadingRow,
396
+ O as TableRoot,
397
+ Y as TableRow,
398
+ oe as TableSortButton
429
399
  };
@@ -1,6 +1,3 @@
1
1
  import { TagProps } from './types';
2
- export declare const Tag: {
3
- ({ ref, className, appearance, size, icon, label, disabled: disabledProp, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
2
+ export declare const Tag: ({ ref, className, appearance, size, icon, label, disabled: disabledProp, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
6
3
  //# sourceMappingURL=Tag.d.ts.map