@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
@@ -1,6 +1,3 @@
1
1
  import { DialogHeaderProps } from '../types';
2
- export declare const DialogHeader: {
3
- ({ ref, title, description, appearance, ...props }: DialogHeaderProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
2
+ export declare const DialogHeader: ({ ref, title, description, appearance, ...props }: DialogHeaderProps) => import("react/jsx-runtime").JSX.Element;
6
3
  //# sourceMappingURL=DialogHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/Dialog/DialogHeader/DialogHeader.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAkJ7C,eAAO,MAAM,YAAY;wDAMtB,iBAAiB;;CAqBnB,CAAC"}
1
+ {"version":3,"file":"DialogHeader.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/Dialog/DialogHeader/DialogHeader.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAiJ7C,eAAO,MAAM,YAAY,GAAI,mDAM1B,iBAAiB,4CAqBnB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import { jsxs as i, Fragment as s, jsx as e } from "react/jsx-runtime";
2
2
  import { cn as c } from "../../../../libs/utils-shared/dist/index.js";
3
- import * as h from "@radix-ui/react-dialog";
4
- import { cva as N } from "class-variance-authority";
5
- import { useCommonTranslation as g } from "../../../../i18n/useCommonTranslation.js";
6
- import { IconButton as x } from "../../IconButton/IconButton.js";
7
- import { ArrowLeft as b } from "../../../Symbols/Icons/ArrowLeft.js";
8
- import { DialogClose as v } from "../DialogClose/DialogClose.js";
9
- import { Close as D } from "../../../Symbols/Icons/Close.js";
10
- const C = N("flex px-24 text-base", {
3
+ import * as p from "@radix-ui/react-dialog";
4
+ import { cva as u } from "class-variance-authority";
5
+ import { useCommonTranslation as x } from "../../../../i18n/useCommonTranslation.js";
6
+ import { IconButton as f } from "../../IconButton/IconButton.js";
7
+ import { ArrowLeft as N } from "../../../Symbols/Icons/ArrowLeft.js";
8
+ import { DialogClose as b } from "../DialogClose/DialogClose.js";
9
+ import { Close as v } from "../../../Symbols/Icons/Close.js";
10
+ const D = u("flex px-24 text-base", {
11
11
  variants: {
12
12
  appearance: {
13
13
  compact: "mb-12 h-64 min-h-64 flex-row items-center gap-12",
@@ -15,46 +15,46 @@ const C = N("flex px-24 text-base", {
15
15
  }
16
16
  }
17
17
  }), d = ({ onBack: r }) => {
18
- const { t: a } = g();
18
+ const { t: a } = x();
19
19
  return /* @__PURE__ */ e(
20
- x,
20
+ f,
21
21
  {
22
22
  appearance: "no-background",
23
23
  size: "sm",
24
- icon: b,
24
+ icon: N,
25
25
  onClick: r,
26
26
  className: "-ml-12 shrink-0",
27
27
  "aria-label": a("components.dialogHeader.goBackAriaLabel")
28
28
  }
29
29
  );
30
- }, p = ({ onClose: r }) => {
31
- const { t: a } = g();
32
- return /* @__PURE__ */ e(v, { asChild: !0, children: /* @__PURE__ */ e(
33
- x,
30
+ }, h = ({ onClose: r }) => {
31
+ const { t: a } = x();
32
+ return /* @__PURE__ */ e(b, { asChild: !0, children: /* @__PURE__ */ e(
33
+ f,
34
34
  {
35
35
  appearance: "gray",
36
36
  size: "xs",
37
- icon: D,
37
+ icon: v,
38
38
  onClick: r,
39
39
  className: "-mr-8 shrink-0",
40
40
  "aria-label": a("components.dialogHeader.closeAriaLabel")
41
41
  }
42
42
  ) });
43
- }, y = ({ hidden: r, className: a, ...o }) => /* @__PURE__ */ e(
44
- h.Title,
43
+ }, C = ({ hidden: r, className: a, ...o }) => /* @__PURE__ */ e(
44
+ p.Title,
45
45
  {
46
46
  "data-slot": "dialog-title",
47
47
  className: c(r && "sr-only", a),
48
48
  ...o
49
49
  }
50
- ), H = ({ hidden: r, className: a, ...o }) => /* @__PURE__ */ e(
51
- h.Description,
50
+ ), y = ({ hidden: r, className: a, ...o }) => /* @__PURE__ */ e(
51
+ p.Description,
52
52
  {
53
53
  "data-slot": "dialog-description",
54
54
  className: c(r && "sr-only", a),
55
55
  ...o
56
56
  }
57
- ), f = ({
57
+ ), H = ({
58
58
  ref: r,
59
59
  className: a,
60
60
  appearance: o = "compact",
@@ -62,13 +62,13 @@ const C = N("flex px-24 text-base", {
62
62
  description: t,
63
63
  onClose: m,
64
64
  onBack: n,
65
- ...u
65
+ ...g
66
66
  }) => /* @__PURE__ */ i(
67
67
  "div",
68
68
  {
69
69
  ref: r,
70
- className: C({ appearance: o, className: a }),
71
- ...u,
70
+ className: D({ appearance: o, className: a }),
71
+ ...g,
72
72
  children: [
73
73
  o === "compact" && /* @__PURE__ */ i(s, { children: [
74
74
  n && /* @__PURE__ */ e(d, { onBack: n }),
@@ -84,12 +84,12 @@ const C = N("flex px-24 text-base", {
84
84
  ]
85
85
  }
86
86
  ),
87
- /* @__PURE__ */ e(p, { onClose: m })
87
+ /* @__PURE__ */ e(h, { onClose: m })
88
88
  ] }),
89
89
  o === "expanded" && /* @__PURE__ */ i(s, { children: [
90
90
  /* @__PURE__ */ i("div", { className: "flex h-40 flex-row items-center", children: [
91
91
  n && /* @__PURE__ */ e(d, { onBack: n }),
92
- /* @__PURE__ */ e("div", { className: "ml-auto", children: /* @__PURE__ */ e(p, { onClose: m }) })
92
+ /* @__PURE__ */ e("div", { className: "ml-auto", children: /* @__PURE__ */ e(h, { onClose: m }) })
93
93
  ] }),
94
94
  (l || t) && /* @__PURE__ */ i("div", { className: "flex flex-col gap-4", children: [
95
95
  l && /* @__PURE__ */ e("div", { className: "heading-3-semi-bold", children: l }),
@@ -98,9 +98,7 @@ const C = N("flex px-24 text-base", {
98
98
  ] })
99
99
  ]
100
100
  }
101
- );
102
- f.displayName = "DialogHeaderComponent";
103
- const w = ({
101
+ ), F = ({
104
102
  ref: r,
105
103
  title: a = "",
106
104
  description: o,
@@ -108,7 +106,7 @@ const w = ({
108
106
  ...t
109
107
  }) => /* @__PURE__ */ i(s, { children: [
110
108
  /* @__PURE__ */ e(
111
- f,
109
+ H,
112
110
  {
113
111
  ref: r,
114
112
  title: a,
@@ -117,10 +115,9 @@ const w = ({
117
115
  ...t
118
116
  }
119
117
  ),
120
- /* @__PURE__ */ e(y, { hidden: !0, children: a }),
121
- o && /* @__PURE__ */ e(H, { hidden: !0, children: o })
118
+ /* @__PURE__ */ e(C, { hidden: !0, children: a }),
119
+ o && /* @__PURE__ */ e(y, { hidden: !0, children: o })
122
120
  ] });
123
- w.displayName = "DialogHeader";
124
121
  export {
125
- w as DialogHeader
122
+ F as DialogHeader
126
123
  };
@@ -19,8 +19,5 @@ import { DividerProps } from './types';
19
19
  * // With custom styling
20
20
  * <Divider className="my-16" />
21
21
  */
22
- export declare const Divider: {
23
- ({ ref, className, orientation, ...props }: DividerProps): import("react/jsx-runtime").JSX.Element;
24
- displayName: string;
25
- };
22
+ export declare const Divider: ({ ref, className, orientation, ...props }: DividerProps) => import("react/jsx-runtime").JSX.Element;
26
23
  //# sourceMappingURL=Divider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Divider/Divider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,OAAO;gDAKjB,YAAY;;CAcd,CAAC"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Divider/Divider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,OAAO,GAAI,2CAKrB,YAAY,4CAcd,CAAC"}
@@ -1,25 +1,24 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { cn as i } from "../../../libs/utils-shared/dist/index.js";
3
- const l = ({
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ import { cn as a } from "../../../libs/utils-shared/dist/index.js";
3
+ const d = ({
4
4
  ref: o,
5
- className: e,
5
+ className: t,
6
6
  orientation: r = "horizontal",
7
- ...t
8
- }) => /* @__PURE__ */ a(
7
+ ...e
8
+ }) => /* @__PURE__ */ l(
9
9
  "div",
10
10
  {
11
11
  ref: o,
12
12
  role: "separator",
13
13
  "aria-orientation": r,
14
- className: i(
14
+ className: a(
15
15
  "border-muted-subtle",
16
16
  r === "horizontal" ? "w-full border-t" : "h-full border-l",
17
- e
17
+ t
18
18
  ),
19
- ...t
19
+ ...e
20
20
  }
21
21
  );
22
- l.displayName = "Divider";
23
22
  export {
24
- l as Divider
23
+ d as Divider
25
24
  };
@@ -1,6 +1,3 @@
1
1
  import { IconProps } from './types';
2
- export declare const Icon: {
3
- ({ ref, size, className, children, viewBox, xmlns, ...props }: IconProps): import('react').ReactSVGElement;
4
- displayName: string;
5
- };
2
+ export declare const Icon: ({ ref, size, className, children, viewBox, xmlns, ...props }: IconProps) => import('react').ReactSVGElement;
6
3
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Icon/Icon.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAoBpC,eAAO,MAAM,IAAI;mEAQd,SAAS;;CAcX,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Icon/Icon.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAoBpC,eAAO,MAAM,IAAI,GAAI,8DAQlB,SAAS,oCAcX,CAAC"}
@@ -17,13 +17,13 @@ const h = a("inline-block shrink-0", {
17
17
  defaultVariants: {
18
18
  size: 24
19
19
  }
20
- }), l = ({
20
+ }), f = ({
21
21
  ref: o,
22
22
  size: n = 24,
23
23
  className: i = "",
24
24
  children: c,
25
- viewBox: e,
26
- xmlns: r,
25
+ viewBox: r,
26
+ xmlns: e,
27
27
  ...t
28
28
  }) => k(
29
29
  "svg",
@@ -31,14 +31,13 @@ const h = a("inline-block shrink-0", {
31
31
  ref: o,
32
32
  fill: "none",
33
33
  "aria-hidden": "true",
34
- xmlns: r,
35
- viewBox: e,
34
+ xmlns: e,
35
+ viewBox: r,
36
36
  className: s(i, h({ size: n }), "inline-block"),
37
37
  ...t
38
38
  },
39
39
  c
40
40
  );
41
- l.displayName = "Icon";
42
41
  export {
43
- l as Icon
42
+ f as Icon
44
43
  };
@@ -1,6 +1,3 @@
1
1
  import { IconButtonProps } from './types';
2
- export declare const IconButton: {
3
- ({ ref, className, icon, tooltip, tooltipPlacement, tooltipText, onTooltipOpenChange, "aria-label": ariaLabel, ...props }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
4
- displayName: string;
5
- };
2
+ export declare const IconButton: ({ ref, className, icon, tooltip, tooltipPlacement, tooltipText, onTooltipOpenChange, "aria-label": ariaLabel, ...props }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
6
3
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,UAAU;+HAUpB,eAAe;;CAuBjB,CAAC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/IconButton/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,UAAU,GAAI,0HAUxB,eAAe,4CAuBjB,CAAC"}
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
2
  import { Tooltip as u, TooltipTrigger as d, TooltipContent as f } from "../Tooltip/Tooltip.js";
3
3
  import { BaseButton as h } from "../Button/BaseButton.js";
4
4
  const B = ({
5
- ref: r,
5
+ ref: n,
6
6
  className: e,
7
7
  icon: i,
8
8
  tooltip: l = !1,
@@ -12,10 +12,10 @@ const B = ({
12
12
  "aria-label": t,
13
13
  ...c
14
14
  }) => {
15
- const n = /* @__PURE__ */ o(
15
+ const r = /* @__PURE__ */ o(
16
16
  h,
17
17
  {
18
- ref: r,
18
+ ref: n,
19
19
  icon: i,
20
20
  className: e,
21
21
  "aria-label": t,
@@ -23,11 +23,10 @@ const B = ({
23
23
  }
24
24
  );
25
25
  return l ? /* @__PURE__ */ m(u, { onOpenChange: a, children: [
26
- /* @__PURE__ */ o(d, { asChild: !0, children: n }),
26
+ /* @__PURE__ */ o(d, { asChild: !0, children: r }),
27
27
  /* @__PURE__ */ o(f, { side: p, children: s || t })
28
- ] }) : n;
28
+ ] }) : r;
29
29
  };
30
- B.displayName = "IconButton";
31
30
  export {
32
31
  B as IconButton
33
32
  };
@@ -11,7 +11,6 @@ import { InteractiveIconProps } from './types';
11
11
  * @component
12
12
  *
13
13
  * @warning Always provide an `aria-label` prop to ensure screen reader accessibility, as the component contains only an icon without visible text.
14
- * @warning The icon size should be controlled by the icon component itself, not through CSS. Use the appropriate size prop on the icon component (e.g., `size={20}`).
15
14
  * @warning The `className` prop should only be used for layout adjustments like margins or positioning. Do not use it to modify the component's core appearance (colors, padding, etc).
16
15
  *
17
16
  * @example
@@ -19,17 +18,10 @@ import { InteractiveIconProps } from './types';
19
18
  * import { DeleteCircleFill, Settings } from '@ledgerhq/lumen-ui-react/symbols';
20
19
  *
21
20
  * // Filled interactive icon for destructive actions
22
- * <InteractiveIcon iconType="filled" aria-label="Delete item" onClick={handleDelete}>
23
- * <DeleteCircleFill size={20} />
24
- * </InteractiveIcon>
21
+ * <InteractiveIcon iconType="filled" icon={DeleteCircleFill} size={20} aria-label="Delete item" onClick={handleDelete} />
25
22
  *
26
23
  * // Stroked interactive icon for secondary actions
27
- * <InteractiveIcon iconType="stroked" aria-label="Open settings" onClick={handleSettings}>
28
- * <Settings size={20} />
29
- * </InteractiveIcon>
24
+ * <InteractiveIcon iconType="stroked" icon={Settings} size={20} aria-label="Open settings" onClick={handleSettings} />
30
25
  */
31
- export declare const InteractiveIcon: {
32
- ({ ref, className, iconType, appearance, disabled: disabledProp, ...props }: InteractiveIconProps): import("react/jsx-runtime").JSX.Element;
33
- displayName: string;
34
- };
26
+ export declare const InteractiveIcon: ({ ref, className, iconType, icon: Icon, size, appearance, disabled: disabledProp, ...props }: InteractiveIconProps) => import("react/jsx-runtime").JSX.Element;
35
27
  //# sourceMappingURL=InteractiveIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InteractiveIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/InteractiveIcon/InteractiveIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA6B/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,eAAe;iFAOzB,oBAAoB;;CAiBtB,CAAC"}
1
+ {"version":3,"file":"InteractiveIcon.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/InteractiveIcon/InteractiveIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AA6B/C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,eAAe,GAAI,8FAS7B,oBAAoB,4CAmBtB,CAAC"}
@@ -1,7 +1,7 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { useDisabledContext as d, cn as c } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as l } from "class-variance-authority";
4
- const b = l(
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { useDisabledContext as l, cn as b } from "../../../libs/utils-shared/dist/index.js";
3
+ import { cva as u } from "class-variance-authority";
4
+ const v = u(
5
5
  [
6
6
  "inline-flex size-fit items-center justify-center rounded-full",
7
7
  "transition-colors",
@@ -25,32 +25,34 @@ const b = l(
25
25
  }
26
26
  }
27
27
  }
28
- ), u = ({
29
- ref: t,
30
- className: s,
31
- iconType: a,
32
- appearance: i = "muted",
33
- disabled: r = !1,
34
- ...o
28
+ ), h = ({
29
+ ref: s,
30
+ className: i,
31
+ iconType: r,
32
+ icon: a,
33
+ size: o = 24,
34
+ appearance: n = "muted",
35
+ disabled: d = !1,
36
+ ...c
35
37
  }) => {
36
- const e = d({
38
+ const e = l({
37
39
  consumerName: "InteractiveIcon",
38
- mergeWith: { disabled: r }
40
+ mergeWith: { disabled: d }
39
41
  });
40
- return /* @__PURE__ */ n(
42
+ return /* @__PURE__ */ t(
41
43
  "button",
42
44
  {
43
- ...o,
44
- ref: t,
45
+ ...c,
46
+ ref: s,
45
47
  disabled: e,
46
- className: c(
47
- s,
48
- b({ disabled: e, iconType: a, appearance: i })
49
- )
48
+ className: b(
49
+ i,
50
+ v({ disabled: e, iconType: r, appearance: n })
51
+ ),
52
+ children: /* @__PURE__ */ t(a, { size: o })
50
53
  }
51
54
  );
52
55
  };
53
- u.displayName = "InteractiveIcon";
54
56
  export {
55
- u as InteractiveIcon
57
+ h as InteractiveIcon
56
58
  };
@@ -1,4 +1,5 @@
1
- import { ComponentPropsWithRef, ReactNode } from 'react';
1
+ import { ComponentPropsWithRef, ComponentType } from 'react';
2
+ import { IconProps, IconSize } from '../Icon';
2
3
  export type InteractiveIconProps = {
3
4
  /**
4
5
  * Whether the icon is disabled.
@@ -11,17 +12,21 @@ export type InteractiveIconProps = {
11
12
  */
12
13
  iconType: 'filled' | 'stroked';
13
14
  /**
14
- * The visual style of the icon button.
15
- * - 'muted': with muted background
16
- * - 'white': with white background
17
- * - 'base': with base background
15
+ * The color appearance of the icon.
16
+ * - 'muted': Subdued color for secondary actions.
17
+ * - 'white': White color for use on dark backgrounds.
18
+ * - 'base': Default high-contrast color.
18
19
  * @default 'muted'
19
20
  */
20
21
  appearance?: 'muted' | 'white' | 'base';
21
22
  /**
22
- * The icon component to display inside the button.
23
- * Should be a single icon element from the design system.
23
+ * The icon component to render.
24
+ */
25
+ icon: ComponentType<Omit<IconProps, 'children'>>;
26
+ /**
27
+ * The size of the icon in pixels.
28
+ * @default 24
24
29
  */
25
- children: ReactNode;
26
- } & Omit<ComponentPropsWithRef<'button'>, 'disabled'>;
30
+ size?: IconSize;
31
+ } & Omit<ComponentPropsWithRef<'button'>, 'disabled' | 'children'>;
27
32
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/InteractiveIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IACxC;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/InteractiveIcon/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC/B;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC;IACjD;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC"}
@@ -38,8 +38,5 @@ import { LinkProps } from './types';
38
38
  * // Note: When using asChild, the child element is responsible for its own content.
39
39
  * // Icons and other Link props like 'icon' are ignored when asChild is true - handle these in the child if needed.
40
40
  */
41
- export declare const Link: {
42
- ({ ref, className, children, appearance, size, underline, icon, isExternal, asChild, disabled: disabledProp, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
43
- displayName: string;
44
- };
41
+ export declare const Link: ({ ref, className, children, appearance, size, underline, icon, isExternal, asChild, disabled: disabledProp, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
45
42
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Link/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmCpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,IAAI;6HAYd,SAAS;;CAgDX,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Link/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAmCpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,eAAO,MAAM,IAAI,GAAI,wHAYlB,SAAS,4CAgDX,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as e, jsxs as l, Fragment as c } from "react/jsx-runtime";
2
2
  import { useDisabledContext as x, cn as h } from "../../../libs/utils-shared/dist/index.js";
3
- import { Slot as k } from "@radix-ui/react-slot";
4
- import { cva as g } from "class-variance-authority";
5
- import { ExternalLink as y } from "../../Symbols/Icons/ExternalLink.js";
6
- const z = g(
3
+ import { Slot as g } from "@radix-ui/react-slot";
4
+ import { cva as k } from "class-variance-authority";
5
+ import { ExternalLink as z } from "../../Symbols/Icons/ExternalLink.js";
6
+ const w = k(
7
7
  "inline-flex w-fit max-w-full items-center justify-center transition-colors focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-focus",
8
8
  {
9
9
  variants: {
@@ -33,13 +33,13 @@ const z = g(
33
33
  disabled: !1
34
34
  }
35
35
  }
36
- ), N = ({
36
+ ), V = ({
37
37
  ref: d,
38
38
  className: m,
39
39
  children: a,
40
- appearance: p,
40
+ appearance: f,
41
41
  size: i = "inherit",
42
- underline: f = !0,
42
+ underline: p = !0,
43
43
  icon: u,
44
44
  isExternal: n = !1,
45
45
  asChild: t = !1,
@@ -54,15 +54,15 @@ const z = g(
54
54
  md: 20
55
55
  }[i] : 20, o = u;
56
56
  return /* @__PURE__ */ e(
57
- t ? k : "a",
57
+ t ? g : "a",
58
58
  {
59
59
  ref: d,
60
60
  className: h(
61
61
  m,
62
- z({
63
- appearance: p,
62
+ w({
63
+ appearance: f,
64
64
  size: i,
65
- underline: f,
65
+ underline: p,
66
66
  disabled: s
67
67
  })
68
68
  ),
@@ -74,14 +74,13 @@ const z = g(
74
74
  o && /* @__PURE__ */ e(o, { size: r }),
75
75
  /* @__PURE__ */ e("span", { className: "min-w-0 truncate", children: a }),
76
76
  n && /* @__PURE__ */ l(c, { children: [
77
- /* @__PURE__ */ e(y, { size: r, "aria-hidden": "true" }),
77
+ /* @__PURE__ */ e(z, { size: r, "aria-hidden": "true" }),
78
78
  /* @__PURE__ */ e("span", { className: "sr-only", children: "(opens in a new tab)" })
79
79
  ] })
80
80
  ] })
81
81
  }
82
82
  );
83
83
  };
84
- N.displayName = "Link";
85
84
  export {
86
- N as Link
85
+ V as Link
87
86
  };
@@ -21,54 +21,33 @@ import { ListItemContentProps, ListItemDescriptionProps, ListItemLeadingProps, L
21
21
  * </ListItemTrailing>
22
22
  * </ListItem>
23
23
  */
24
- export declare const ListItem: {
25
- ({ ref, ...props }: ListItemProps): import("react/jsx-runtime").JSX.Element;
26
- displayName: string;
27
- };
24
+ export declare const ListItem: ({ ref, ...props }: ListItemProps) => import("react/jsx-runtime").JSX.Element;
28
25
  /**
29
26
  * Container for the leading (left) part of the list item.
30
27
  * Contains the visual element (Spot, Avatar, Icon) and the content (title + description).
31
28
  */
32
- export declare const ListItemLeading: {
33
- ({ ref, children, className, ...props }: ListItemLeadingProps): import("react/jsx-runtime").JSX.Element;
34
- displayName: string;
35
- };
29
+ export declare const ListItemLeading: ({ ref, children, className, ...props }: ListItemLeadingProps) => import("react/jsx-runtime").JSX.Element;
36
30
  /**
37
31
  * Container for the text content (title and description) within the leading area.
38
32
  */
39
- export declare const ListItemContent: {
40
- ({ ref, children, className, ...props }: ListItemContentProps): import("react/jsx-runtime").JSX.Element;
41
- displayName: string;
42
- };
33
+ export declare const ListItemContent: ({ ref, children, className, ...props }: ListItemContentProps) => import("react/jsx-runtime").JSX.Element;
43
34
  /**
44
35
  * Horizontal row container within ListItemContent to place a title or description
45
36
  * alongside additional inline content (e.g. Tag) while preserving text truncation.
46
37
  */
47
- export declare const ListItemContentRow: {
48
- ({ ref, children, className, ...props }: ListItemContentRowProps): import("react/jsx-runtime").JSX.Element;
49
- displayName: string;
50
- };
38
+ export declare const ListItemContentRow: ({ ref, children, className, ...props }: ListItemContentRowProps) => import("react/jsx-runtime").JSX.Element;
51
39
  /**
52
40
  * The main title of the list item.
53
41
  */
54
- export declare const ListItemTitle: {
55
- ({ ref, children, className, ...props }: ListItemTitleProps): import("react/jsx-runtime").JSX.Element;
56
- displayName: string;
57
- };
42
+ export declare const ListItemTitle: ({ ref, children, className, ...props }: ListItemTitleProps) => import("react/jsx-runtime").JSX.Element;
58
43
  /**
59
44
  * Optional description text below the title.
60
45
  * Automatically applies disabled styling when the parent ListItem is disabled.
61
46
  */
62
- export declare const ListItemDescription: {
63
- ({ ref, children, className, ...props }: ListItemDescriptionProps): import("react/jsx-runtime").JSX.Element;
64
- displayName: string;
65
- };
47
+ export declare const ListItemDescription: ({ ref, children, className, ...props }: ListItemDescriptionProps) => import("react/jsx-runtime").JSX.Element;
66
48
  /**
67
49
  * Container for the trailing (right) content of the list item.
68
50
  * Used for icons, switches, values, tags, chevrons, etc.
69
51
  */
70
- export declare const ListItemTrailing: {
71
- ({ ref, children, className, ...props }: ListItemTrailingProps): import("react/jsx-runtime").JSX.Element;
72
- displayName: string;
73
- };
52
+ export declare const ListItemTrailing: ({ ref, children, className, ...props }: ListItemTrailingProps) => import("react/jsx-runtime").JSX.Element;
74
53
  //# sourceMappingURL=ListItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAOjB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ;wBAAuB,aAAa;;CAyBxD,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,eAAe;6CAKzB,oBAAoB;;CAUtB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,eAAe;6CAKzB,oBAAoB;;CAUtB,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,kBAAkB;6CAK5B,uBAAuB;;CAUzB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,aAAa;6CAKvB,kBAAkB;;CAwBpB,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,mBAAmB;6CAK7B,wBAAwB;;CAwB1B,CAAC;AAIF;;;GAGG;AACH,eAAO,MAAM,gBAAgB;6CAK1B,qBAAqB;;CAqBvB,CAAC"}
1
+ {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/ListItem/ListItem.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,SAAS,CAAC;AAOjB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,QAAQ,GAAI,mBAAmB,aAAa,4CAyBxD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,wCAK7B,oBAAoB,4CAUtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,wCAK7B,oBAAoB,4CAUtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,GAAI,wCAKhC,uBAAuB,4CAmBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,wCAK3B,kBAAkB,4CAwBpB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAKjC,wBAAwB,4CAwB1B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,wCAK9B,qBAAqB,4CAqBvB,CAAC"}