@iota/apps-ui-kit 0.0.0-experimental-20250613144451

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 (220) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/LICENSE +201 -0
  3. package/README.md +16 -0
  4. package/dist/index.d.ts +1726 -0
  5. package/dist/index.es.js +6923 -0
  6. package/dist/index.es.js.map +1 -0
  7. package/dist/index.umd.js +118 -0
  8. package/dist/index.umd.js.map +1 -0
  9. package/dist/style.css +1 -0
  10. package/package.json +75 -0
  11. package/src/lib/components/atoms/badge/Badge.tsx +37 -0
  12. package/src/lib/components/atoms/badge/badge.classes.ts +33 -0
  13. package/src/lib/components/atoms/badge/badge.enums.ts +11 -0
  14. package/src/lib/components/atoms/badge/index.ts +6 -0
  15. package/src/lib/components/atoms/button/Button.tsx +99 -0
  16. package/src/lib/components/atoms/button/button-variants/ButtonPill.tsx +23 -0
  17. package/src/lib/components/atoms/button/button-variants/ButtonUnstyled.tsx +27 -0
  18. package/src/lib/components/atoms/button/button-variants/buttonVariants.types.ts +11 -0
  19. package/src/lib/components/atoms/button/button-variants/index.ts +5 -0
  20. package/src/lib/components/atoms/button/button.classes.ts +53 -0
  21. package/src/lib/components/atoms/button/button.enums.ts +21 -0
  22. package/src/lib/components/atoms/button/index.ts +7 -0
  23. package/src/lib/components/atoms/button-segment/ButtonSegment.tsx +98 -0
  24. package/src/lib/components/atoms/button-segment/buttonSegment.classes.ts +45 -0
  25. package/src/lib/components/atoms/button-segment/buttonSegment.enums.ts +7 -0
  26. package/src/lib/components/atoms/button-segment/index.ts +5 -0
  27. package/src/lib/components/atoms/checkbox/Checkbox.tsx +114 -0
  28. package/src/lib/components/atoms/checkbox/index.ts +4 -0
  29. package/src/lib/components/atoms/divider/Divider.tsx +48 -0
  30. package/src/lib/components/atoms/divider/divider.classes.ts +11 -0
  31. package/src/lib/components/atoms/divider/divider.enums.ts +7 -0
  32. package/src/lib/components/atoms/divider/index.ts +6 -0
  33. package/src/lib/components/atoms/header/Header.tsx +73 -0
  34. package/src/lib/components/atoms/header/index.ts +4 -0
  35. package/src/lib/components/atoms/index.ts +23 -0
  36. package/src/lib/components/atoms/info-box/InfoBox.tsx +74 -0
  37. package/src/lib/components/atoms/info-box/index.ts +5 -0
  38. package/src/lib/components/atoms/info-box/infoBox.classes.ts +19 -0
  39. package/src/lib/components/atoms/info-box/infoBox.enums.ts +14 -0
  40. package/src/lib/components/atoms/key-value-info/KeyValueInfo.tsx +157 -0
  41. package/src/lib/components/atoms/key-value-info/index.ts +6 -0
  42. package/src/lib/components/atoms/key-value-info/keyValue.enums.ts +7 -0
  43. package/src/lib/components/atoms/label-text/LabelText.tsx +94 -0
  44. package/src/lib/components/atoms/label-text/index.ts +5 -0
  45. package/src/lib/components/atoms/label-text/labelText.classes.ts +22 -0
  46. package/src/lib/components/atoms/label-text/labelText.enums.ts +8 -0
  47. package/src/lib/components/atoms/list-item/ListItem.tsx +89 -0
  48. package/src/lib/components/atoms/list-item/index.ts +4 -0
  49. package/src/lib/components/atoms/loading-indicator/LoadingIndicator.tsx +38 -0
  50. package/src/lib/components/atoms/loading-indicator/index.ts +4 -0
  51. package/src/lib/components/atoms/panel/Panel.tsx +30 -0
  52. package/src/lib/components/atoms/panel/index.ts +4 -0
  53. package/src/lib/components/atoms/placeholder/Placeholder.tsx +27 -0
  54. package/src/lib/components/atoms/placeholder/index.ts +4 -0
  55. package/src/lib/components/atoms/radio-button/RadioButton.tsx +68 -0
  56. package/src/lib/components/atoms/radio-button/index.ts +4 -0
  57. package/src/lib/components/atoms/secondary-text/SecondaryText.tsx +28 -0
  58. package/src/lib/components/atoms/secondary-text/index.ts +4 -0
  59. package/src/lib/components/atoms/skeleton/Skeleton.tsx +47 -0
  60. package/src/lib/components/atoms/skeleton/index.ts +4 -0
  61. package/src/lib/components/atoms/snackbar/Snackbar.tsx +69 -0
  62. package/src/lib/components/atoms/snackbar/index.ts +5 -0
  63. package/src/lib/components/atoms/snackbar/snackbar.classes.ts +18 -0
  64. package/src/lib/components/atoms/snackbar/snackbar.enums.tsx +9 -0
  65. package/src/lib/components/atoms/toggle/Toggle.tsx +140 -0
  66. package/src/lib/components/atoms/toggle/index.ts +6 -0
  67. package/src/lib/components/atoms/toggle/toggle.classes.ts +41 -0
  68. package/src/lib/components/atoms/toggle/toggle.enums.ts +12 -0
  69. package/src/lib/components/atoms/tooltip/Tooltip.tsx +138 -0
  70. package/src/lib/components/atoms/tooltip/index.ts +5 -0
  71. package/src/lib/components/atoms/tooltip/tooltip.classes.ts +11 -0
  72. package/src/lib/components/atoms/tooltip/tooltip.enums.ts +9 -0
  73. package/src/lib/components/atoms/visual-asset-card/VisualAssetCard.tsx +101 -0
  74. package/src/lib/components/atoms/visual-asset-card/index.ts +5 -0
  75. package/src/lib/components/atoms/visual-asset-card/visualAssetCard.enums.ts +7 -0
  76. package/src/lib/components/index.ts +8 -0
  77. package/src/lib/components/molecules/account/Account.tsx +192 -0
  78. package/src/lib/components/molecules/account/index.ts +4 -0
  79. package/src/lib/components/molecules/address/Address.tsx +101 -0
  80. package/src/lib/components/molecules/address/index.ts +4 -0
  81. package/src/lib/components/molecules/card/Card.tsx +70 -0
  82. package/src/lib/components/molecules/card/CardAction.tsx +80 -0
  83. package/src/lib/components/molecules/card/CardBody.tsx +72 -0
  84. package/src/lib/components/molecules/card/CardImage.tsx +43 -0
  85. package/src/lib/components/molecules/card/CardImagePlaceholder.tsx +146 -0
  86. package/src/lib/components/molecules/card/card.classes.ts +27 -0
  87. package/src/lib/components/molecules/card/card.enums.ts +26 -0
  88. package/src/lib/components/molecules/card/index.ts +8 -0
  89. package/src/lib/components/molecules/chip/Chip.tsx +105 -0
  90. package/src/lib/components/molecules/chip/chip.classes.ts +32 -0
  91. package/src/lib/components/molecules/chip/chip.enums.ts +7 -0
  92. package/src/lib/components/molecules/chip/index.ts +4 -0
  93. package/src/lib/components/molecules/display-stats/DisplayStats.tsx +142 -0
  94. package/src/lib/components/molecules/display-stats/displayStats.classes.ts +36 -0
  95. package/src/lib/components/molecules/display-stats/displayStats.enums.ts +13 -0
  96. package/src/lib/components/molecules/display-stats/index.ts +5 -0
  97. package/src/lib/components/molecules/dropdown/Dropdown.tsx +10 -0
  98. package/src/lib/components/molecules/dropdown/dropdownPosition.enums.ts +7 -0
  99. package/src/lib/components/molecules/dropdown/index.ts +5 -0
  100. package/src/lib/components/molecules/index.ts +17 -0
  101. package/src/lib/components/molecules/input/Input.tsx +246 -0
  102. package/src/lib/components/molecules/input/InputWrapper.tsx +97 -0
  103. package/src/lib/components/molecules/input/TextArea.tsx +150 -0
  104. package/src/lib/components/molecules/input/index.ts +8 -0
  105. package/src/lib/components/molecules/input/input.classes.ts +14 -0
  106. package/src/lib/components/molecules/input/input.enums.ts +14 -0
  107. package/src/lib/components/molecules/input/input.types.ts +29 -0
  108. package/src/lib/components/molecules/navbar-item/NavbarItem.tsx +48 -0
  109. package/src/lib/components/molecules/navbar-item/NavbarItemHorizontal.tsx +65 -0
  110. package/src/lib/components/molecules/navbar-item/NavbarItemVertical.tsx +54 -0
  111. package/src/lib/components/molecules/navbar-item/index.ts +5 -0
  112. package/src/lib/components/molecules/navbar-item/navbarItem.classes.ts +16 -0
  113. package/src/lib/components/molecules/navbar-item/navbarItem.enums.ts +7 -0
  114. package/src/lib/components/molecules/search/Search.tsx +216 -0
  115. package/src/lib/components/molecules/search/index.ts +5 -0
  116. package/src/lib/components/molecules/search/search.classes.ts +20 -0
  117. package/src/lib/components/molecules/search/search.enums.ts +7 -0
  118. package/src/lib/components/molecules/segmented-button/SegmentedButton.tsx +38 -0
  119. package/src/lib/components/molecules/segmented-button/index.ts +6 -0
  120. package/src/lib/components/molecules/segmented-button/segmentedButton.classes.ts +12 -0
  121. package/src/lib/components/molecules/segmented-button/segmentedButton.enums.ts +8 -0
  122. package/src/lib/components/molecules/select/Select.tsx +222 -0
  123. package/src/lib/components/molecules/select/index.ts +5 -0
  124. package/src/lib/components/molecules/select/select.enums.ts +7 -0
  125. package/src/lib/components/molecules/table-cell/TableCell.tsx +62 -0
  126. package/src/lib/components/molecules/table-cell/index.ts +4 -0
  127. package/src/lib/components/molecules/table-header-cell/TableHeaderCell.tsx +140 -0
  128. package/src/lib/components/molecules/table-header-cell/index.ts +5 -0
  129. package/src/lib/components/molecules/table-header-cell/tableHeaderCell.enums.ts +7 -0
  130. package/src/lib/components/molecules/title/Title.tsx +78 -0
  131. package/src/lib/components/molecules/title/index.ts +5 -0
  132. package/src/lib/components/molecules/title/titleClasses.constants.ts +14 -0
  133. package/src/lib/components/molecules/title/titleSize.enums.ts +7 -0
  134. package/src/lib/components/organisms/accordion/Accordion.tsx +109 -0
  135. package/src/lib/components/organisms/accordion/accordion.classes.ts +4 -0
  136. package/src/lib/components/organisms/accordion/index.ts +4 -0
  137. package/src/lib/components/organisms/dialog/Dialog.tsx +142 -0
  138. package/src/lib/components/organisms/dialog/dialog.enums.ts +7 -0
  139. package/src/lib/components/organisms/dialog/index.ts +5 -0
  140. package/src/lib/components/organisms/index.ts +7 -0
  141. package/src/lib/components/organisms/navbar/Navbar.tsx +101 -0
  142. package/src/lib/components/organisms/navbar/NavbarSlideout.tsx +59 -0
  143. package/src/lib/components/organisms/navbar/index.ts +5 -0
  144. package/src/lib/components/organisms/table/Table.tsx +234 -0
  145. package/src/lib/components/organisms/table/TableContext.tsx +56 -0
  146. package/src/lib/components/organisms/table/index.ts +4 -0
  147. package/src/lib/constants/colors.constants.ts +133 -0
  148. package/src/lib/constants/index.ts +4 -0
  149. package/src/lib/enums/index.ts +4 -0
  150. package/src/lib/enums/screenSize.enums.ts +9 -0
  151. package/src/lib/index.ts +8 -0
  152. package/src/lib/styles/fonts.css +5 -0
  153. package/src/lib/styles/index.css +149 -0
  154. package/src/lib/tailwind/base.presets.ts +49 -0
  155. package/src/lib/tailwind/constants/fontSizes.constants.ts +201 -0
  156. package/src/lib/tailwind/constants/index.ts +6 -0
  157. package/src/lib/tailwind/constants/scaling.constants.ts +41 -0
  158. package/src/lib/tailwind/constants/variableSpacing.constants.ts +66 -0
  159. package/src/lib/tailwind/helpers.ts +20 -0
  160. package/src/lib/tailwind/index.ts +5 -0
  161. package/src/lib/tailwind/plugins.ts +8 -0
  162. package/src/lib/tailwind/responsive.presets.ts +36 -0
  163. package/src/lib/tailwind/static.presets.ts +25 -0
  164. package/src/lib/tailwind/types.ts +6 -0
  165. package/src/lib/utils/format.ts +8 -0
  166. package/src/lib/utils/index.ts +4 -0
  167. package/src/storybook/blocks/Showcase.tsx +20 -0
  168. package/src/storybook/blocks/TypeSet.tsx +34 -0
  169. package/src/storybook/blocks/TypeSetItem.tsx +74 -0
  170. package/src/storybook/blocks/index.ts +6 -0
  171. package/src/storybook/constants/index.ts +5 -0
  172. package/src/storybook/constants/typeset.constants.ts +39 -0
  173. package/src/storybook/constants/variableSpacing.constants.ts +6 -0
  174. package/src/storybook/helpers/getFontSizeLabel.ts +15 -0
  175. package/src/storybook/helpers/index.ts +4 -0
  176. package/src/storybook/stories/atoms/Badge.stories.tsx +32 -0
  177. package/src/storybook/stories/atoms/Button.stories.tsx +45 -0
  178. package/src/storybook/stories/atoms/ButtonSegment.stories.tsx +45 -0
  179. package/src/storybook/stories/atoms/Checkbox.stories.tsx +34 -0
  180. package/src/storybook/stories/atoms/CustomScrollbar.stories.tsx +22 -0
  181. package/src/storybook/stories/atoms/Divider.stories.tsx +41 -0
  182. package/src/storybook/stories/atoms/Header.stories.tsx +58 -0
  183. package/src/storybook/stories/atoms/InfoBox.stories.tsx +67 -0
  184. package/src/storybook/stories/atoms/KeyValueInfo.stories.tsx +59 -0
  185. package/src/storybook/stories/atoms/LabelText.stories.tsx +55 -0
  186. package/src/storybook/stories/atoms/ListItem.stories.tsx +41 -0
  187. package/src/storybook/stories/atoms/LoadingIndicator.stories.tsx +32 -0
  188. package/src/storybook/stories/atoms/Panel.stories.tsx +36 -0
  189. package/src/storybook/stories/atoms/Placeholder.stories.tsx +33 -0
  190. package/src/storybook/stories/atoms/RadioButton.stories.tsx +51 -0
  191. package/src/storybook/stories/atoms/Skeleton.stories.tsx +33 -0
  192. package/src/storybook/stories/atoms/Snackbar.stories.tsx +43 -0
  193. package/src/storybook/stories/atoms/Toggle.stories.tsx +59 -0
  194. package/src/storybook/stories/atoms/Tooltip.stories.tsx +57 -0
  195. package/src/storybook/stories/atoms/VisualAssetCard.stories.tsx +56 -0
  196. package/src/storybook/stories/components/VariableSpacingShowcase.tsx +46 -0
  197. package/src/storybook/stories/components/index.ts +4 -0
  198. package/src/storybook/stories/design-tokens/colors.stories.mdx +23 -0
  199. package/src/storybook/stories/design-tokens/icons.stories.mdx +17 -0
  200. package/src/storybook/stories/design-tokens/typeset.stories.mdx +15 -0
  201. package/src/storybook/stories/design-tokens/variable-spacing.stories.mdx +10 -0
  202. package/src/storybook/stories/molecules/Account.stories.tsx +69 -0
  203. package/src/storybook/stories/molecules/Address.stories.tsx +39 -0
  204. package/src/storybook/stories/molecules/Card.stories.tsx +112 -0
  205. package/src/storybook/stories/molecules/Chip.stories.tsx +122 -0
  206. package/src/storybook/stories/molecules/DisplayStats.stories.tsx +63 -0
  207. package/src/storybook/stories/molecules/Dropdown.stories.tsx +38 -0
  208. package/src/storybook/stories/molecules/Input.stories.tsx +162 -0
  209. package/src/storybook/stories/molecules/NavbarItem.stories.tsx +45 -0
  210. package/src/storybook/stories/molecules/Search.stories.tsx +101 -0
  211. package/src/storybook/stories/molecules/SegmentedButton.stories.tsx +108 -0
  212. package/src/storybook/stories/molecules/Select.stories.tsx +103 -0
  213. package/src/storybook/stories/molecules/TableCell.stories.tsx +46 -0
  214. package/src/storybook/stories/molecules/TableHeaderCell.stories.tsx +34 -0
  215. package/src/storybook/stories/molecules/TextArea.stories.tsx +80 -0
  216. package/src/storybook/stories/molecules/Title.stories.tsx +76 -0
  217. package/src/storybook/stories/organisms/Accordion.stories.tsx +70 -0
  218. package/src/storybook/stories/organisms/Dialog.stories.tsx +103 -0
  219. package/src/storybook/stories/organisms/Navbar.stories.tsx +78 -0
  220. package/src/storybook/stories/organisms/Table.stories.tsx +154 -0
@@ -0,0 +1,1726 @@
1
+ import { BadgeType as BadgeType_2 } from '../../../../components/atoms';
2
+ import { ButtonProps as ButtonProps_2 } from '../../../../components/atoms';
3
+ import { ButtonSegmentType as ButtonSegmentType_2 } from '../../../../components/atoms';
4
+ import { ButtonType as ButtonType_2 } from '../../../../components/atoms/button';
5
+ import { ComponentProps } from 'react';
6
+ import { Config } from 'tailwindcss';
7
+ import { ForwardRefExoticComponent } from 'react';
8
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
9
+ import { NavbarItemProps as NavbarItemProps_2 } from '../../../../components/molecules/navbar-item/NavbarItem';
10
+ import { NumericFormat } from 'react-number-format';
11
+ import { PropsWithChildren } from 'react';
12
+ import * as RadixDialog from '@radix-ui/react-dialog';
13
+ import * as React_2 from 'react';
14
+ import { ReactNode } from 'react';
15
+ import { RefAttributes } from 'react';
16
+ import { TooltipPosition as TooltipPosition_2 } from '../../../../components/atoms';
17
+ import { TooltipPosition as TooltipPosition_3 } from '../../../../components/atoms/tooltip';
18
+
19
+ export declare function Accordion({ children, hideBorder, }: {
20
+ children: React.ReactNode;
21
+ hideBorder?: boolean;
22
+ }): React.JSX.Element;
23
+
24
+ export declare function AccordionContent({ isExpanded, children, }: PropsWithChildren<AccordionContentProps>): JSX_2.Element;
25
+
26
+ declare interface AccordionContentProps {
27
+ /**
28
+ * Flag for show/hide content
29
+ */
30
+ isExpanded: boolean;
31
+ }
32
+
33
+ export declare function AccordionHeader({ onToggle, children, isExpanded, hideArrow, }: PropsWithChildren<AccordionHeaderProps>): JSX_2.Element;
34
+
35
+ export declare interface AccordionHeaderProps {
36
+ /**
37
+ * Flag for show/hide content
38
+ */
39
+ isExpanded: boolean;
40
+ /**
41
+ * Action on toggle show/hide content
42
+ */
43
+ onToggle: () => void;
44
+ /**
45
+ * The type of the badge.
46
+ */
47
+ badge?: React.ReactNode;
48
+ /**
49
+ * Flag for hiding arrow.
50
+ */
51
+ hideArrow?: boolean;
52
+ /**
53
+ * Flag for hiding border.
54
+ */
55
+ hideBorder?: boolean;
56
+ }
57
+
58
+ export declare function Account({ title, subtitle, badgeType, badgeText, isLocked, avatarContent, onOptionsClick, onLockAccountClick, onUnlockAccountClick, onCopy, copyText, onOpen, isCopyable, isExternal, isSelected, isActive, showSelected, badgeTooltipText, badgeTooltipPosition, }: AccountProps): React.JSX.Element;
59
+
60
+ declare interface AccountProps {
61
+ /**
62
+ * The title of the account.
63
+ */
64
+ title: string;
65
+ /**
66
+ * The subtitle of the account.
67
+ */
68
+ subtitle: string;
69
+ /**
70
+ * Whether the account is unlocked.
71
+ */
72
+ isLocked?: boolean;
73
+ /**
74
+ * Handler for more options click.
75
+ */
76
+ onOptionsClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
77
+ /**
78
+ * Handler for the lock account icon click.
79
+ */
80
+ onLockAccountClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
81
+ /**
82
+ * Handle for the unlock account icon click.
83
+ */
84
+ onUnlockAccountClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
85
+ /**
86
+ * Function to render avatar content.
87
+ */
88
+ avatarContent: ({ isLocked }: {
89
+ isLocked?: boolean;
90
+ }) => React.JSX.Element;
91
+ /**
92
+ * The onCopy event of the Address (optional).
93
+ */
94
+ onCopy?: (e: React.MouseEvent<HTMLButtonElement>) => void;
95
+ /**
96
+ * Text that need to be copied (optional).
97
+ */
98
+ copyText?: string;
99
+ /**
100
+ * The onOpen event of the Address (optional).
101
+ */
102
+ onOpen?: (e: React.MouseEvent<HTMLButtonElement>) => void;
103
+ /**
104
+ * Has copy icon (optional).
105
+ */
106
+ isCopyable?: boolean;
107
+ /**
108
+ * Has open icon (optional).
109
+ */
110
+ isExternal?: boolean;
111
+ /**
112
+ * The account is selected.
113
+ */
114
+ isSelected?: boolean;
115
+ /**
116
+ * Show the selected checkbox.
117
+ */
118
+ showSelected?: boolean;
119
+ /**
120
+ * Show background if account active (optional).
121
+ */
122
+ isActive?: boolean;
123
+ /**
124
+ * The type of the badge.
125
+ */
126
+ badgeType?: BadgeType_2;
127
+ /**
128
+ * The text of the badge.
129
+ */
130
+ badgeText?: string;
131
+ /**
132
+ * The tooltip text of the badge.
133
+ */
134
+ badgeTooltipText?: string;
135
+ /**
136
+ * The tooltip position of the badge.
137
+ */
138
+ badgeTooltipPosition?: TooltipPosition_2;
139
+ }
140
+
141
+ export declare function Address({ text, isCopyable, isExternal, externalLink, copyText, onCopySuccess, onCopyError, onOpen, }: AddressProps): React.JSX.Element;
142
+
143
+ declare interface AddressProps {
144
+ /**
145
+ * The text of the address.
146
+ */
147
+ text: string;
148
+ /**
149
+ * Has copy icon (optional).
150
+ */
151
+ isCopyable?: boolean;
152
+ /**
153
+ * Has open icon (optional).
154
+ */
155
+ isExternal?: boolean;
156
+ /**
157
+ * The link for external resource (optional).
158
+ */
159
+ externalLink?: string;
160
+ /**
161
+ * Text that need to be copied (optional).
162
+ */
163
+ copyText?: string;
164
+ /**
165
+ * The onCopySuccess event of the Address (optional).
166
+ */
167
+ onCopySuccess?: (e: React.MouseEvent<HTMLButtonElement>, text: string) => void;
168
+ /**
169
+ * The onCopyError event of the Address (optional).
170
+ */
171
+ onCopyError?: (e: unknown, text: string) => void;
172
+ /**
173
+ * The onOpen event of the Address (optional).
174
+ */
175
+ onOpen?: (e: React.MouseEvent<HTMLButtonElement>) => void;
176
+ }
177
+
178
+ export declare function Badge({ type, label }: BadgeProps): React.JSX.Element;
179
+
180
+ declare interface BadgeProps {
181
+ /**
182
+ * The type of the badge.
183
+ */
184
+ type: BadgeType;
185
+ /**
186
+ * The label of the badge.
187
+ */
188
+ label?: string;
189
+ }
190
+
191
+ export declare enum BadgeType {
192
+ Neutral = "neutral",
193
+ PrimarySolid = "primary-solid",
194
+ PrimarySoft = "primary-fill",
195
+ Success = "success",
196
+ Warning = "warning",
197
+ Error = "error"
198
+ }
199
+
200
+ export declare interface BaseInputProps extends InputWrapperProps {
201
+ /**
202
+ * A leading icon that is shown before the input
203
+ */
204
+ leadingIcon?: React.JSX.Element;
205
+ /**
206
+ * Supporting text that is shown at the end of the input component.
207
+ */
208
+ supportingText?: string;
209
+ /**
210
+ * Amount counter that is shown at the side of the caption text.
211
+ */
212
+ amountCounter?: string | number;
213
+ /**
214
+ * Trailing element that is shown after the input
215
+ */
216
+ trailingElement?: React.JSX.Element;
217
+ /**
218
+ * Is the content of the input visible
219
+ */
220
+ isContentVisible?: boolean;
221
+ /**
222
+ * Value of the input
223
+ */
224
+ value?: string | number;
225
+ /**
226
+ * Default value of the input
227
+ */
228
+ defaultValue?: string | number;
229
+ /**
230
+ * onClearInput function that is called when the clear button is clicked
231
+ */
232
+ onClearInput?: () => void;
233
+ /**
234
+ * Shows toggle button to show/hide the content of the input field
235
+ */
236
+ isVisibilityToggleEnabled?: boolean;
237
+ }
238
+
239
+ export declare function Button({ icon, text, disabled, onClick, fullWidth, htmlType, size, type, iconAfterText, tabIndex, testId, }: ButtonProps): React.JSX.Element;
240
+
241
+ export declare enum ButtonHtmlType {
242
+ Button = "button",
243
+ Submit = "submit",
244
+ Reset = "reset"
245
+ }
246
+
247
+ declare type ButtonPickedProps = Pick<ButtonProps, 'htmlType' | 'testId'>;
248
+
249
+ export declare function ButtonPill({ htmlType, children, tabIndex, ...buttonProps }: Omit<ButtonVariantProps, 'className'>): JSX_2.Element;
250
+
251
+ export declare interface ButtonProps {
252
+ /**
253
+ * The size of the button.
254
+ */
255
+ size?: ButtonSize;
256
+ /**
257
+ * The type of the button
258
+ */
259
+ type?: ButtonType;
260
+ /**
261
+ * The text of the button.
262
+ */
263
+ text?: string;
264
+ /**
265
+ The icon of the button
266
+ */
267
+ icon?: React.ReactNode;
268
+ /**
269
+ * Should the icon be after the text.
270
+ */
271
+ iconAfterText?: boolean;
272
+ /**
273
+ * The button is disabled or not.
274
+ */
275
+ disabled?: boolean;
276
+ /**
277
+ * The onClick event of the button.
278
+ */
279
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
280
+ /**
281
+ * Whether the button should have the full width.
282
+ */
283
+ fullWidth?: boolean;
284
+ /**
285
+ * The type of the button. Available options are 'button', 'submit', 'reset'.
286
+ */
287
+ htmlType?: ButtonHtmlType;
288
+ /**
289
+ * The tab index of the button.
290
+ */
291
+ tabIndex?: number;
292
+ /**
293
+ * The 'data-testid' attribute value (used in e2e tests)
294
+ */
295
+ testId?: string;
296
+ }
297
+
298
+ export declare function ButtonSegment({ icon, label, selected, disabled, onClick, type, isNested, }: ButtonSegmentProps): React.JSX.Element;
299
+
300
+ declare interface ButtonSegmentProps {
301
+ /**
302
+ * The label of the button.
303
+ */
304
+ label: string;
305
+ /**
306
+ The icon of the button
307
+ */
308
+ icon?: React.ReactNode;
309
+ /**
310
+ The selected flag of the button
311
+ */
312
+ selected?: boolean;
313
+ /**
314
+ * The button is disabled or not.
315
+ */
316
+ disabled?: boolean;
317
+ /**
318
+ * The onClick event of the button.
319
+ */
320
+ onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
321
+ /**
322
+ * The type of the button.
323
+ */
324
+ type?: ButtonSegmentType;
325
+ /**
326
+ * If the button is nested inside a parent button.
327
+ */
328
+ isNested?: boolean;
329
+ }
330
+
331
+ export declare enum ButtonSegmentType {
332
+ Rounded = "rounded",
333
+ Underlined = "underlined"
334
+ }
335
+
336
+ export declare enum ButtonSize {
337
+ Small = "small",
338
+ Medium = "medium"
339
+ }
340
+
341
+ export declare enum ButtonType {
342
+ Primary = "primary",
343
+ Secondary = "secondary",
344
+ Ghost = "ghost",
345
+ Outlined = "outlined",
346
+ Destructive = "destructive"
347
+ }
348
+
349
+ export declare function ButtonUnstyled({ htmlType, children, className, tabIndex, testId, ...buttonProps }: ButtonVariantProps): React.JSX.Element;
350
+
351
+ declare interface ButtonVariantProps extends ButtonPickedProps, PropsFromButtonElement {
352
+ children: React.ReactNode;
353
+ }
354
+
355
+ export declare function Card({ isDisabled, type, isHoverable, onClick, children, testId, }: CardProps): JSX_2.Element;
356
+
357
+ export declare function CardAction({ type, onClick, subtitle, title, icon, iconAfterText, buttonType, buttonDisabled, }: CardActionProps): JSX_2.Element | null;
358
+
359
+ export declare type CardActionProps = {
360
+ title?: string;
361
+ subtitle?: string;
362
+ type: CardActionType;
363
+ onClick?: () => void;
364
+ icon?: React.ReactNode;
365
+ iconAfterText?: boolean;
366
+ buttonType?: ButtonType_2;
367
+ buttonDisabled?: boolean;
368
+ };
369
+
370
+ export declare enum CardActionType {
371
+ Link = "link",
372
+ SupportingText = "supporting-text",
373
+ Button = "button"
374
+ }
375
+
376
+ export declare function CardBody({ title, subtitle, clickableAction, icon, isTextTruncated, tooltipText, tooltipPosition, }: CardBodyProps): JSX_2.Element;
377
+
378
+ export declare type CardBodyProps = {
379
+ title: string;
380
+ subtitle?: string | ReactNode;
381
+ clickableAction?: React.ReactNode;
382
+ icon?: React.ReactNode;
383
+ isTextTruncated?: boolean;
384
+ tooltipText?: string;
385
+ tooltipPosition?: TooltipPosition_3;
386
+ };
387
+
388
+ export declare function CardImage({ type, shape, url, children, }: CardImageProps): JSX_2.Element;
389
+
390
+ export declare interface CardImageProps {
391
+ type?: ImageType;
392
+ shape?: ImageShape;
393
+ url?: string;
394
+ children?: React.ReactNode;
395
+ }
396
+
397
+ export declare interface CardProps {
398
+ /**
399
+ * If `true`, the card will be disabled.
400
+ */
401
+ isDisabled?: boolean;
402
+ /**
403
+ * Handler on click to the card.
404
+ */
405
+ onClick?: () => void;
406
+ /**
407
+ * UI variant of the card.
408
+ */
409
+ type?: CardType;
410
+ /**
411
+ * Passing composable Card components like: CardImage, CardText, CardAction.
412
+ */
413
+ children?: React.ReactNode;
414
+ /**
415
+ * Indicates whether the state-layer should be shown on the card anyway.
416
+ * Use case: When the card is wrapped with a Link component
417
+ */
418
+ isHoverable?: boolean;
419
+ /**
420
+ * The 'data-testid' attribute value (used in e2e tests)
421
+ */
422
+ testId?: string;
423
+ }
424
+
425
+ export declare enum CardType {
426
+ Default = "default",
427
+ Outlined = "outlined",
428
+ Filled = "filled"
429
+ }
430
+
431
+ export declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLInputElement>>;
432
+
433
+ declare interface CheckboxProps {
434
+ /**
435
+ * The label of the checkbox.
436
+ */
437
+ label?: string | React.ReactNode;
438
+ /**
439
+ * The state of the checkbox.
440
+ */
441
+ isChecked?: boolean;
442
+ /**
443
+ * If true the checkbox will override the styles to show an indeterminate state.
444
+ */
445
+ isIndeterminate?: boolean;
446
+ /**
447
+ * Whether the label should be placed before the checkbox.
448
+ */
449
+ isLabelFirst?: boolean;
450
+ /**
451
+ * If true the checkbox will be disabled.
452
+ */
453
+ isDisabled?: boolean;
454
+ /**
455
+ * The callback to call when the checkbox is clicked.
456
+ */
457
+ onCheckedChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
458
+ /**
459
+ * The name of the checkbox.
460
+ */
461
+ name?: string;
462
+ }
463
+
464
+ export declare function Chip({ label, showClose, selected, onClose, onClick, avatar, leadingElement, trailingElement, disabled, }: ChipProps): JSX_2.Element;
465
+
466
+ declare interface ChipProps {
467
+ /**
468
+ * The label of the chip
469
+ */
470
+ label: string;
471
+ /**
472
+ * Whether to show the close icon
473
+ */
474
+ showClose?: boolean;
475
+ /**
476
+ * Whether the chip is selected
477
+ */
478
+ selected?: boolean;
479
+ /**
480
+ * Callback when the close icon is clicked
481
+ */
482
+ onClose?: () => void;
483
+ /**
484
+ * On Click handler for the chip
485
+ */
486
+ onClick?: () => void;
487
+ /**
488
+ * Avatar to show in the chip.
489
+ */
490
+ avatar?: React.JSX.Element;
491
+ /**
492
+ * Leading element to show in the chip.
493
+ */
494
+ leadingElement?: React.JSX.Element;
495
+ /**
496
+ * Trailing element to show in the chip.
497
+ */
498
+ trailingElement?: React.JSX.Element;
499
+ /**
500
+ * The button is disabled or not.
501
+ */
502
+ disabled?: boolean;
503
+ }
504
+
505
+ export declare const Dialog: ({ open, onOpenChange, children, ...props }: React_2.ComponentPropsWithoutRef<typeof RadixDialog.Root>) => JSX_2.Element;
506
+
507
+ export declare const DialogBody: React_2.ForwardRefExoticComponent<Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
508
+
509
+ export declare const DialogClose: React_2.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React_2.RefAttributes<HTMLButtonElement>>;
510
+
511
+ export declare const DialogContent: React_2.ForwardRefExoticComponent<Omit<RadixDialog.DialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & {
512
+ containerId?: string;
513
+ showCloseOnOverlay?: boolean;
514
+ position?: DialogPosition;
515
+ customWidth?: string;
516
+ } & React_2.RefAttributes<HTMLDivElement>>;
517
+
518
+ export declare enum DialogPosition {
519
+ Center = "center",
520
+ Right = "right"
521
+ }
522
+
523
+ export declare const DialogTitle: React_2.ForwardRefExoticComponent<Omit<RadixDialog.DialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
524
+
525
+ export declare const DialogTrigger: React_2.ForwardRefExoticComponent<RadixDialog.DialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
526
+
527
+ export declare function DisplayStats({ label, tooltipPosition, tooltipText, value, supportingLabel, type, size, icon, copyText, onCopySuccess, onCopyError, }: DisplayStatsProps): React.JSX.Element;
528
+
529
+ declare interface DisplayStatsProps {
530
+ /**
531
+ * The label of the stats.
532
+ */
533
+ label: ReactNode;
534
+ /**
535
+ * The tooltip position.
536
+ */
537
+ tooltipPosition?: TooltipPosition_2;
538
+ /**
539
+ * The tooltip text.
540
+ */
541
+ tooltipText?: string;
542
+ /**
543
+ * The value of the stats.
544
+ */
545
+ value: ReactNode;
546
+ /**
547
+ * The supporting label of the stats (optional).
548
+ */
549
+ supportingLabel?: string;
550
+ /**
551
+ * The background color of the stats.
552
+ */
553
+ type?: DisplayStatsType;
554
+ /**
555
+ * The size of the stats.
556
+ */
557
+ size?: DisplayStatsSize;
558
+ /**
559
+ * Add icon to the right of the label.
560
+ */
561
+ icon?: React.ReactNode;
562
+ /**
563
+ * Text that need to be copied (optional).
564
+ */
565
+ copyText?: string;
566
+ /**
567
+ * The onCopySuccess event of the KeyValue (optional).
568
+ */
569
+ onCopySuccess?: (e: React.MouseEvent<HTMLButtonElement>, text: string) => void;
570
+ /**
571
+ * The onCopyError event of the KeyValue (optional).
572
+ */
573
+ onCopyError?: (e: unknown, text: string) => void;
574
+ }
575
+
576
+ export declare enum DisplayStatsSize {
577
+ Default = "default",
578
+ Large = "large"
579
+ }
580
+
581
+ export declare enum DisplayStatsType {
582
+ Default = "default",
583
+ Highlight = "highlight",
584
+ Secondary = "secondary"
585
+ }
586
+
587
+ export declare function Divider({ type, width, height, lineHeight, }: DividerProps): React.JSX.Element;
588
+
589
+ declare interface DividerProps {
590
+ /**
591
+ * The type of the divider
592
+ */
593
+ type?: DividerType;
594
+ /**
595
+ * The width of the divider.
596
+ */
597
+ width?: string;
598
+ /**
599
+ * The height of the divider.
600
+ */
601
+ height?: string;
602
+ /**
603
+ * The line height of the divider.
604
+ */
605
+ lineHeight?: string;
606
+ }
607
+
608
+ export declare enum DividerType {
609
+ Vertical = "vertical",
610
+ Horizontal = "horizontal"
611
+ }
612
+
613
+ export declare function Dropdown({ children }: React.PropsWithChildren): React.JSX.Element;
614
+
615
+ export declare enum DropdownPosition {
616
+ Top = "top",
617
+ Bottom = "bottom"
618
+ }
619
+
620
+ declare type GenericInputProps = {
621
+ type: InputType.Text | InputType.Password | InputType.Number;
622
+ };
623
+
624
+ export declare function Header({ title, titleCentered, onBack, onClose, testId, }: HeaderProps): JSX.Element;
625
+
626
+ declare interface HeaderProps {
627
+ /**
628
+ * Header title.
629
+ */
630
+ title: string;
631
+ /**
632
+ * Title alignment (optional).
633
+ */
634
+ titleCentered?: boolean;
635
+ /**
636
+ * On back click handler (optional). If provided, a back button will be displayed.
637
+ */
638
+ onBack?: () => void;
639
+ /**
640
+ * On close click handler (optional). If provided, a close button will be displayed.
641
+ */
642
+ onClose?: (() => void) | ((e: React.MouseEvent<HTMLElement>) => void);
643
+ /**
644
+ * The 'data-testid' attribute value (used in e2e tests)
645
+ */
646
+ testId?: string;
647
+ }
648
+
649
+ export declare enum ImageShape {
650
+ Rounded = "rounded",
651
+ SquareRounded = "square-rounded"
652
+ }
653
+
654
+ export declare enum ImageType {
655
+ Placeholder = "placeholder",
656
+ BgSolid = "bg-solid",
657
+ BgWhite = "bg-white",
658
+ BgTransparent = "bg-transparent"
659
+ }
660
+
661
+ export declare function InfoBox({ icon, title, supportingText, type, style, }: InfoBoxProps): React.JSX.Element;
662
+
663
+ export declare interface InfoBoxProps {
664
+ /**
665
+ * The icon of the info box (optional).
666
+ */
667
+ icon?: React.ReactNode;
668
+ /**
669
+ * The title of the info box (optional).
670
+ */
671
+ title?: string;
672
+ /**
673
+ * The supporting text of the info box (optional).
674
+ */
675
+ supportingText?: React.ReactNode;
676
+ /**
677
+ * The type of the info box.
678
+ */
679
+ type: InfoBoxType;
680
+ /**
681
+ * The style of the info box.
682
+ */
683
+ style?: InfoBoxStyle;
684
+ }
685
+
686
+ export declare enum InfoBoxStyle {
687
+ Default = "default",
688
+ Elevated = "elevated"
689
+ }
690
+
691
+ export declare enum InfoBoxType {
692
+ Default = "default",
693
+ Error = "error",
694
+ Success = "success",
695
+ Warning = "warning"
696
+ }
697
+
698
+ export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
699
+
700
+ declare type InputElementProps = Omit<React.ComponentProps<'input'>, 'type' | 'className' | 'ref' | 'value' | 'defaultValue'>;
701
+
702
+ export declare type InputProps = BaseInputProps & InputPropsByType;
703
+
704
+ export declare type InputPropsByType = InputElementProps & (NumericFormatInputProps | GenericInputProps);
705
+
706
+ export declare enum InputType {
707
+ Text = "text",
708
+ Password = "password",
709
+ Number = "number",
710
+ NumericFormat = "numericFormat"
711
+ }
712
+
713
+ declare interface InputWrapperProps {
714
+ /**
715
+ * Shows a label with the text above the input.
716
+ */
717
+ label?: string;
718
+ /**
719
+ * Shows a caption with the text below the input.
720
+ */
721
+ caption?: string;
722
+ /**
723
+ * Error Message. Overrides the caption.
724
+ */
725
+ errorMessage?: string;
726
+ /**
727
+ * Amount counter that is shown at the side of the caption text.
728
+ */
729
+ amountCounter?: string | number;
730
+ /**
731
+ * Is the input required
732
+ */
733
+ required?: boolean;
734
+ /**
735
+ * Is the input disabled
736
+ */
737
+ disabled?: boolean;
738
+ /**
739
+ * Use a div as a label instead of a label element
740
+ */
741
+ labelHtmlTag?: LabelHtmlTag;
742
+ }
743
+
744
+ export declare const IOTA_PRIMITIVES_COLOR_PALETTE: {
745
+ primary: {
746
+ '0': string;
747
+ '10': string;
748
+ '20': string;
749
+ '30': string;
750
+ '40': string;
751
+ '50': string;
752
+ '60': string;
753
+ '70': string;
754
+ '80': string;
755
+ '90': string;
756
+ '100': string;
757
+ };
758
+ secondary: {
759
+ '0': string;
760
+ '10': string;
761
+ '20': string;
762
+ '30': string;
763
+ '40': string;
764
+ '50': string;
765
+ '60': string;
766
+ '70': string;
767
+ '80': string;
768
+ '90': string;
769
+ '100': string;
770
+ };
771
+ tertiary: {
772
+ '0': string;
773
+ '10': string;
774
+ '20': string;
775
+ '30': string;
776
+ '40': string;
777
+ '50': string;
778
+ '60': string;
779
+ '70': string;
780
+ '80': string;
781
+ '90': string;
782
+ '100': string;
783
+ };
784
+ error: {
785
+ '0': string;
786
+ '10': string;
787
+ '20': string;
788
+ '30': string;
789
+ '40': string;
790
+ '50': string;
791
+ '60': string;
792
+ '70': string;
793
+ '80': string;
794
+ '90': string;
795
+ '100': string;
796
+ };
797
+ neutral: {
798
+ '0': string;
799
+ '4': string;
800
+ '6': string;
801
+ '10': string;
802
+ '12': string;
803
+ '20': string;
804
+ '30': string;
805
+ '40': string;
806
+ '50': string;
807
+ '60': string;
808
+ '70': string;
809
+ '80': string;
810
+ '90': string;
811
+ '92': string;
812
+ '96': string;
813
+ '98': string;
814
+ '100': string;
815
+ };
816
+ warning: {
817
+ '10': string;
818
+ '20': string;
819
+ '60': string;
820
+ '90': string;
821
+ };
822
+ };
823
+
824
+ export declare function KeyValueInfo({ keyText, value, tooltipPosition, tooltipText, supportingLabel, size, isTruncated, copyText, onCopySuccess, onCopyError, fullwidth, isReverse, valueHoverTitle, }: KeyValueProps): React.JSX.Element;
825
+
826
+ declare interface KeyValueProps {
827
+ /**
828
+ * The key of the KeyValue.
829
+ */
830
+ keyText: string;
831
+ /**
832
+ * The value of the KeyValue.
833
+ */
834
+ value: ReactNode;
835
+ /**
836
+ * The tooltip position.
837
+ */
838
+ tooltipPosition?: TooltipPosition;
839
+ /**
840
+ * The tooltip text.
841
+ */
842
+ tooltipText?: string;
843
+ /**
844
+ * The supporting label of the KeyValue (optional).
845
+ */
846
+ supportingLabel?: string;
847
+ /**
848
+ * The size of the value (optional).
849
+ */
850
+ size?: ValueSize;
851
+ /**
852
+ * The flag to truncate the value text.
853
+ */
854
+ isTruncated?: boolean;
855
+ /**
856
+ * Text that need to be copied (optional).
857
+ */
858
+ copyText?: string;
859
+ /**
860
+ * The onCopySuccess event of the KeyValue (optional).
861
+ */
862
+ onCopySuccess?: (e: React.MouseEvent<HTMLButtonElement>, text: string) => void;
863
+ /**
864
+ * The onCopyError event of the KeyValue (optional).
865
+ */
866
+ onCopyError?: (e: unknown, text: string) => void;
867
+ /**
868
+ * Full width KeyValue (optional).
869
+ */
870
+ fullwidth?: boolean;
871
+ /**
872
+ * Reverse the KeyValue (optional).
873
+ */
874
+ isReverse?: boolean;
875
+ /**
876
+ * Text shown on value hover.
877
+ */
878
+ valueHoverTitle?: string;
879
+ }
880
+
881
+ declare enum LabelHtmlTag {
882
+ Label = "label",
883
+ Div = "div"
884
+ }
885
+
886
+ export declare function LabelText({ size, isCentered, supportingLabel, label, text, tooltipPosition, tooltipText, }: LabelTextProps): React.JSX.Element;
887
+
888
+ declare interface LabelTextProps {
889
+ /**
890
+ * The size of the LabelText.
891
+ */
892
+ size?: LabelTextSize;
893
+ /**
894
+ * The position of the LabelText.
895
+ */
896
+ isCentered?: boolean;
897
+ /**
898
+ * The supporting label of the LabelText.
899
+ */
900
+ supportingLabel?: string;
901
+ /**
902
+ * The text of the LabelText.
903
+ */
904
+ label: string;
905
+ /**
906
+ * The text of the LabelText.
907
+ */
908
+ text: string;
909
+ /**
910
+ * The tooltip position.
911
+ */
912
+ tooltipPosition?: TooltipPosition;
913
+ /**
914
+ * The tooltip text.
915
+ */
916
+ tooltipText?: string;
917
+ }
918
+
919
+ export declare enum LabelTextSize {
920
+ Small = "small",
921
+ Medium = "medium",
922
+ Large = "large"
923
+ }
924
+
925
+ export declare function ListItem({ showRightIcon, hideBottomBorder, onClick, isDisabled, children, isHighlighted, }: PropsWithChildren<ListItemProps>): React.JSX.Element;
926
+
927
+ export declare interface ListItemProps {
928
+ /**
929
+ * Has right icon (optional).
930
+ */
931
+ showRightIcon?: boolean;
932
+ /**
933
+ * Hide bottom border (optional).
934
+ */
935
+ hideBottomBorder?: boolean;
936
+ /**
937
+ * On click handler (optional).
938
+ */
939
+ onClick?: () => void;
940
+ /**
941
+ * The list item is disabled or not.
942
+ */
943
+ isDisabled?: boolean;
944
+ /**
945
+ * The list item is highlighted.
946
+ */
947
+ isHighlighted?: boolean;
948
+ }
949
+
950
+ export declare function LoadingIndicator({ color, size, text, testId, }: LoadingIndicatorProps): React.JSX.Element;
951
+
952
+ export declare interface LoadingIndicatorProps {
953
+ /**
954
+ * The color of the loading indicator.
955
+ */
956
+ color?: string;
957
+ /**
958
+ * The size of the loading indicator.
959
+ */
960
+ size?: string;
961
+ /**
962
+ * The text to display next to the loading indicator.
963
+ */
964
+ text?: string;
965
+ /**
966
+ * The 'data-testid' attribute value (used in e2e tests)
967
+ */
968
+ testId?: string;
969
+ }
970
+
971
+ export declare function Navbar({ items, activeId, onClickItem, isCollapsible, onToggleNavbar, }: NavbarProps): JSX_2.Element;
972
+
973
+ export declare function NavbarItem(props: NavbarItemProps): React.JSX.Element;
974
+
975
+ export declare interface NavbarItemProps {
976
+ /**
977
+ * The type of the navbar item.
978
+ */
979
+ type?: NavbarItemType;
980
+ /**
981
+ * The icon of the navbar item.
982
+ */
983
+ icon: React.ReactNode;
984
+ /**
985
+ * The text of the navbar item.
986
+ */
987
+ text?: string;
988
+ /**
989
+ * Indicates if the navbar item is selected.
990
+ */
991
+ isSelected?: boolean;
992
+ /**
993
+ * Indicates if the navbar item has a badge.
994
+ */
995
+ hasBadge?: boolean;
996
+ /**
997
+ * The onClick event of the navbar item.
998
+ */
999
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
1000
+ /**
1001
+ * Indicates if the navbar item is disabled.
1002
+ */
1003
+ isDisabled?: boolean;
1004
+ }
1005
+
1006
+ export declare enum NavbarItemType {
1007
+ Horizontal = "horizontal",
1008
+ Vertical = "vertical"
1009
+ }
1010
+
1011
+ export declare type NavbarItemWithId = NavbarItemProps_2 & {
1012
+ id: string;
1013
+ };
1014
+
1015
+ export declare interface NavbarProps {
1016
+ /**
1017
+ * If this flag is true we need to leave only the icon and collapsible button
1018
+ */
1019
+ isCollapsible?: boolean;
1020
+ /**
1021
+ * List of elements to be displayed in the navbar.
1022
+ */
1023
+ items: NavbarItemWithId[];
1024
+ /**
1025
+ * The id of the active element.
1026
+ */
1027
+ activeId: string;
1028
+ /**
1029
+ * Callback when an element is clicked.
1030
+ */
1031
+ onClickItem: (id: string) => void;
1032
+ /**
1033
+ * If the navbar is collapsible, this flag indicates if it is open or not.
1034
+ */
1035
+ isOpen?: boolean;
1036
+ /**
1037
+ * Callback when the navbar is toggled.
1038
+ */
1039
+ onToggleNavbar?: () => void;
1040
+ }
1041
+
1042
+ export declare function NavbarSlideout({ items, activeId, onClickItem, isOpen, onToggleNavbar, }: NavbarProps): JSX_2.Element;
1043
+
1044
+ export declare type NumericFormatInputProps = {
1045
+ type: InputType.NumericFormat;
1046
+ suffix?: NumericFormatProps['suffix'];
1047
+ prefix?: NumericFormatProps['prefix'];
1048
+ decimalScale?: NumericFormatProps['decimalScale'];
1049
+ allowNegative?: NumericFormatProps['allowNegative'];
1050
+ thousandSeparator?: NumericFormatProps['thousandSeparator'];
1051
+ onValueChange?: NumericFormatProps['onValueChange'];
1052
+ };
1053
+
1054
+ declare type NumericFormatProps = ComponentProps<typeof NumericFormat>;
1055
+
1056
+ export declare function Panel({ children, hasBorder, bgColor, }: React.PropsWithChildren<PanelProps>): React.JSX.Element;
1057
+
1058
+ declare interface PanelProps {
1059
+ /**
1060
+ * Show or hide border around the panel.
1061
+ */
1062
+ hasBorder?: boolean;
1063
+ /**
1064
+ * Background color of the panel.
1065
+ */
1066
+ bgColor?: string;
1067
+ }
1068
+
1069
+ export declare function Placeholder({ width, height }: PlaceholderProps): JSX_2.Element;
1070
+
1071
+ declare interface PlaceholderProps {
1072
+ /**
1073
+ * The width of the placeholder.
1074
+ */
1075
+ width?: string;
1076
+ /**
1077
+ * The height of the placeholder.
1078
+ */
1079
+ height?: string;
1080
+ }
1081
+
1082
+ declare type PropsFromButtonElement = Omit<React.HTMLProps<HTMLButtonElement>, 'type'>;
1083
+
1084
+ export declare function RadioButton({ label, isChecked, isDisabled, onChange, }: RadioButtonProps): React.JSX.Element;
1085
+
1086
+ declare interface RadioButtonProps {
1087
+ /**
1088
+ * The label of the radio button.
1089
+ */
1090
+ label: string;
1091
+ /**
1092
+ * The state of the radio button.
1093
+ */
1094
+ isChecked?: boolean;
1095
+ /**
1096
+ * If radio button disabled.
1097
+ */
1098
+ isDisabled?: boolean;
1099
+ /**
1100
+ * The callback to call when the radio button is clicked.
1101
+ */
1102
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
1103
+ }
1104
+
1105
+ declare type Renderable = JSX.Element | string | null;
1106
+
1107
+ export declare enum Resize {
1108
+ None = "none",
1109
+ Vertical = "vertical"
1110
+ }
1111
+
1112
+ export declare enum ScreenSize {
1113
+ Sm = "sm",
1114
+ Md = "md",
1115
+ Lg = "lg",
1116
+ Xl = "xl"
1117
+ }
1118
+
1119
+ export declare function Search({ searchValue, suggestions, onSearchValueChange, onSuggestionClick, placeholder, isLoading, type, renderSuggestion, }: SearchProps): React.JSX.Element;
1120
+
1121
+ export declare enum SearchBarType {
1122
+ Outlined = "outlined",
1123
+ Filled = "filled"
1124
+ }
1125
+
1126
+ export declare interface SearchProps {
1127
+ /**
1128
+ * The value of the search input.
1129
+ */
1130
+ searchValue: string;
1131
+ /**
1132
+ * Callback when the search input value changes.
1133
+ */
1134
+ onSearchValueChange: (value: string) => void;
1135
+ /**
1136
+ * List of suggestions to display (optional).
1137
+ */
1138
+ suggestions?: Suggestion[];
1139
+ /**
1140
+ * Callback when a suggestion is clicked.
1141
+ */
1142
+ onSuggestionClick?: (suggestion: Suggestion) => void;
1143
+ /**
1144
+ * Placeholder text for the search input.
1145
+ */
1146
+ placeholder: string;
1147
+ /**
1148
+ * Are the suggestions loading.
1149
+ */
1150
+ isLoading: boolean;
1151
+ /**
1152
+ * The type of the search bar. Can be 'outlined' or 'filled'.
1153
+ */
1154
+ type?: SearchBarType;
1155
+ /**
1156
+ * Render suggestion.
1157
+ */
1158
+ renderSuggestion?: (suggestion: Suggestion, index: number) => React.ReactNode;
1159
+ }
1160
+
1161
+ export declare function SegmentedButton({ type, children, shape, }: PropsWithChildren<SegmentedButtonProps>): React.JSX.Element;
1162
+
1163
+ declare interface SegmentedButtonProps {
1164
+ /**
1165
+ * The type of the button
1166
+ */
1167
+ type?: SegmentedButtonType;
1168
+ /**
1169
+ * The shape of the button
1170
+ */
1171
+ shape?: ButtonSegmentType_2;
1172
+ }
1173
+
1174
+ export declare enum SegmentedButtonType {
1175
+ Outlined = "outlined",
1176
+ Filled = "filled",
1177
+ Transparent = "transparent"
1178
+ }
1179
+
1180
+ export declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLButtonElement>>;
1181
+
1182
+ export declare type SelectOption = string | {
1183
+ id: string;
1184
+ renderLabel: () => React.JSX.Element;
1185
+ } | {
1186
+ id: string;
1187
+ label: React.ReactNode;
1188
+ };
1189
+
1190
+ declare interface SelectProps extends Pick<React.HTMLProps<HTMLSelectElement>, 'disabled'> {
1191
+ /**
1192
+ * The selected option value.
1193
+ */
1194
+ value?: string;
1195
+ /**
1196
+ * The field label.
1197
+ */
1198
+ label?: string;
1199
+ /**
1200
+ * The field caption.
1201
+ */
1202
+ caption?: string;
1203
+ /**
1204
+ * The dropdown elements to render.
1205
+ */
1206
+ options: SelectOption[];
1207
+ /**
1208
+ * The icon to show on the left of the field.
1209
+ */
1210
+ leadingIcon?: React.ReactNode;
1211
+ /**
1212
+ * The supporting text to shown at the end of the selector.
1213
+ */
1214
+ supportingText?: string;
1215
+ /**
1216
+ * The error message to show under the field.
1217
+ */
1218
+ errorMessage?: string;
1219
+ /**
1220
+ * Placeholder for the selector
1221
+ */
1222
+ placeholder?: SelectOption;
1223
+ /**
1224
+ * The callback to call when the value changes.
1225
+ */
1226
+ onValueChange?: (id: string) => void;
1227
+ /**
1228
+ * The callback to call when the option is clicked.
1229
+ */
1230
+ onOptionClick?: (id: string) => void;
1231
+ /**
1232
+ * The dropdown position
1233
+ */
1234
+ dropdownPosition?: DropdownPosition;
1235
+ /**
1236
+ * The size of the select.
1237
+ */
1238
+ size?: SelectSize;
1239
+ }
1240
+
1241
+ export declare enum SelectSize {
1242
+ Small = "small",
1243
+ Default = "default"
1244
+ }
1245
+
1246
+ export declare const SHADER_COLOR_PALETTE: {
1247
+ 'shader-primary-dark': {
1248
+ '0': string;
1249
+ '8': string;
1250
+ '12': string;
1251
+ '16': string;
1252
+ '48': string;
1253
+ '72': string;
1254
+ };
1255
+ 'shader-inverted-dark': {
1256
+ '0': string;
1257
+ '8': string;
1258
+ '12': string;
1259
+ '16': string;
1260
+ '48': string;
1261
+ '72': string;
1262
+ };
1263
+ 'shader-neutral-dark': {
1264
+ '0': string;
1265
+ '8': string;
1266
+ '12': string;
1267
+ '16': string;
1268
+ '48': string;
1269
+ '72': string;
1270
+ };
1271
+ 'shader-primary-light': {
1272
+ 0: string;
1273
+ 8: string;
1274
+ 12: string;
1275
+ 16: string;
1276
+ 48: string;
1277
+ 72: string;
1278
+ };
1279
+ 'shader-inverted-light': {
1280
+ 0: string;
1281
+ 8: string;
1282
+ 12: string;
1283
+ 16: string;
1284
+ 48: string;
1285
+ 72: string;
1286
+ };
1287
+ 'shader-neutral-light': {
1288
+ 0: string;
1289
+ 8: string;
1290
+ 12: string;
1291
+ 16: string;
1292
+ 48: string;
1293
+ 72: string;
1294
+ };
1295
+ };
1296
+
1297
+ export declare function Skeleton({ children, widthClass, heightClass, hasSecondaryColors, isRounded, }: React.PropsWithChildren<SkeletonLoaderProps>): React.JSX.Element;
1298
+
1299
+ declare interface SkeletonLoaderProps {
1300
+ /**
1301
+ * Width class for the skeleton div.
1302
+ */
1303
+ widthClass?: string;
1304
+ /**
1305
+ * Height class for the skeleton div.
1306
+ */
1307
+ heightClass?: string;
1308
+ /**
1309
+ * If true, the skeleton will use darker neutral colors.
1310
+ */
1311
+ hasSecondaryColors?: boolean;
1312
+ /**
1313
+ * Whether the class `rounded-full` should be applied. Defaults to true.
1314
+ */
1315
+ isRounded?: boolean;
1316
+ }
1317
+
1318
+ export declare function Snackbar({ text, duration, onClose, showClose, type, }: SnackbarProps): JSX_2.Element;
1319
+
1320
+ export declare interface SnackbarProps {
1321
+ /**
1322
+ * The message to display in the snackbar.
1323
+ */
1324
+ text: Renderable;
1325
+ /**
1326
+ * Type of the snackbar.
1327
+ */
1328
+ type: SnackbarType;
1329
+ /**
1330
+ * Duration in milliseconds for the snackbar to auto close. `0` will make the component not close automatically.
1331
+ */
1332
+ duration?: number;
1333
+ /**
1334
+ * Callback to close the snackbar.
1335
+ */
1336
+ onClose: () => void;
1337
+ /**
1338
+ * Show the close button.
1339
+ */
1340
+ showClose?: boolean;
1341
+ }
1342
+
1343
+ export declare enum SnackbarType {
1344
+ Default = "default",
1345
+ Error = "error",
1346
+ Warning = "warning",
1347
+ Success = "success"
1348
+ }
1349
+
1350
+ export declare interface Suggestion {
1351
+ id: string;
1352
+ label: string;
1353
+ supportingText?: string;
1354
+ type?: string;
1355
+ }
1356
+
1357
+ export declare function Table({ paginationOptions, action, supportingLabel, selectedRowIndexes, rowIndexes, children, pageSizeSelector, heightFull, }: PropsWithChildren<TableProps>): JSX.Element;
1358
+
1359
+ export declare function TableActionButton(props: PropsWithChildren<ButtonProps_2>): JSX_2.Element;
1360
+
1361
+ export declare function TableBody({ children }: PropsWithChildren): JSX.Element;
1362
+
1363
+ export declare function TableCellBase({ children, hasLastBorderNoneClass, isContentCentered, }: PropsWithChildren<TableCellBaseProps>): JSX_2.Element;
1364
+
1365
+ declare interface TableCellBaseProps {
1366
+ /**
1367
+ * The label of the cell.
1368
+ */
1369
+ label?: string;
1370
+ /**
1371
+ * If the cell is the last in the row and should not have a border.
1372
+ */
1373
+ hasLastBorderNoneClass?: boolean;
1374
+ /**
1375
+ * Whether the cell content should be centered.
1376
+ */
1377
+ isContentCentered?: boolean;
1378
+ }
1379
+
1380
+ export declare function TableCellPlaceholder(): JSX_2.Element;
1381
+
1382
+ export declare function TableCellText({ children, supportingLabel, }: PropsWithChildren<TableCellTextProps>): JSX_2.Element;
1383
+
1384
+ export declare interface TableCellTextProps {
1385
+ supportingLabel?: string;
1386
+ }
1387
+
1388
+ export declare function TableHeader({ children }: PropsWithChildren): JSX.Element;
1389
+
1390
+ export declare function TableHeaderCell({ label, columnKey, hasSort, hasCheckbox, isChecked, isIndeterminate, isContentCentered, onSortClick, onCheckboxChange, sortOrder, }: TableHeaderCellProps): JSX.Element;
1391
+
1392
+ export declare interface TableHeaderCellProps {
1393
+ /**
1394
+ * The column key.
1395
+ */
1396
+ columnKey: string | number;
1397
+ /**
1398
+ * The label of the Header cell.
1399
+ */
1400
+ label?: string;
1401
+ /**
1402
+ * Action component to be rendered on the left side.
1403
+ */
1404
+ actionLeft?: React.ReactNode;
1405
+ /**
1406
+ * Action component to be rendered on the right side.
1407
+ */
1408
+ actionRight?: React.ReactNode;
1409
+ /**
1410
+ * Has Sort icon.
1411
+ */
1412
+ hasSort?: boolean;
1413
+ /**
1414
+ * On Sort icon click.
1415
+ */
1416
+ onSortClick?: (columnKey: string | number, sortOrder: TableHeaderCellSortOrder) => void;
1417
+ /**
1418
+ * Has Checkbox.
1419
+ */
1420
+ hasCheckbox?: boolean;
1421
+ /**
1422
+ * Is Checkbox checked.
1423
+ */
1424
+ isChecked?: boolean;
1425
+ /**
1426
+ * Is Checkbox indeterminate.
1427
+ */
1428
+ isIndeterminate?: boolean;
1429
+ /**
1430
+ * On Checkbox change.
1431
+ */
1432
+ onCheckboxChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
1433
+ /**
1434
+ * Whether the cell content should be centered.
1435
+ */
1436
+ isContentCentered?: boolean;
1437
+ /**
1438
+ * Sort order when cell is initialized
1439
+ */
1440
+ sortOrder?: TableHeaderCellSortOrder;
1441
+ }
1442
+
1443
+ export declare enum TableHeaderCellSortOrder {
1444
+ Asc = "asc",
1445
+ Desc = "desc"
1446
+ }
1447
+
1448
+ export declare function TableHeaderCheckbox({ onCheckboxChange }: TableHeaderCheckboxProps): JSX.Element;
1449
+
1450
+ export declare interface TableHeaderCheckboxProps {
1451
+ onCheckboxChange: (checked: boolean) => void;
1452
+ }
1453
+
1454
+ export declare interface TablePaginationOptions {
1455
+ /**
1456
+ * On Next page button click.
1457
+ */
1458
+ onNext?: () => void;
1459
+ /**
1460
+ * On Previous page button click.
1461
+ */
1462
+ onPrev?: () => void;
1463
+ /**
1464
+ * On First page button click.
1465
+ */
1466
+ onFirst?: () => void;
1467
+ /**
1468
+ * On Last page button click.
1469
+ */
1470
+ onLast?: () => void;
1471
+ /**
1472
+ * Has Next button.
1473
+ */
1474
+ hasNext?: boolean;
1475
+ /**
1476
+ * Has Previous button.
1477
+ */
1478
+ hasPrev?: boolean;
1479
+ /**
1480
+ * Has First button.
1481
+ */
1482
+ hasFirst?: boolean;
1483
+ /**
1484
+ * Has Last button.
1485
+ */
1486
+ hasLast?: boolean;
1487
+ }
1488
+
1489
+ export declare type TableProps = {
1490
+ /**
1491
+ * Options for the table pagination.
1492
+ */
1493
+ paginationOptions?: TablePaginationOptions;
1494
+ /**
1495
+ * The action component.
1496
+ */
1497
+ action?: ReactNode;
1498
+ /**
1499
+ * The supporting label of the table.
1500
+ */
1501
+ supportingLabel?: string;
1502
+ /**
1503
+ * Numeric indexes of the selected rows.
1504
+ */
1505
+ selectedRowIndexes?: Set<number>;
1506
+ /**
1507
+ * Numeric indexes of all the rows.
1508
+ */
1509
+ rowIndexes: number[];
1510
+ /**
1511
+ * The page size selector component.
1512
+ */
1513
+ pageSizeSelector?: ReactNode;
1514
+ /**
1515
+ * If the table should take the full height of the parent.
1516
+ */
1517
+ heightFull?: boolean;
1518
+ };
1519
+
1520
+ export declare function TableRow({ children, leading, }: PropsWithChildren<{
1521
+ leading?: React.ReactNode;
1522
+ }>): JSX.Element;
1523
+
1524
+ export declare function TableRowCheckbox({ rowIndex, onCheckboxChange, }: TableRowCheckboxProps): React.JSX.Element;
1525
+
1526
+ export declare interface TableRowCheckboxProps {
1527
+ rowIndex: number;
1528
+ onCheckboxChange: (checked: boolean) => void;
1529
+ }
1530
+
1531
+ export declare const TextArea: ForwardRefExoticComponent<TextFieldBaseProps & RefAttributes<HTMLTextAreaElement>>;
1532
+
1533
+ declare type TextAreaProps = Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'cols' | 'resize' | 'className'>;
1534
+
1535
+ declare interface TextFieldBaseProps extends TextAreaProps, InputWrapperProps {
1536
+ /**
1537
+ * Shows a label with the text above the input field.
1538
+ */
1539
+ label?: string;
1540
+ /**
1541
+ * Shows a caption with the text below the input field.
1542
+ */
1543
+ caption?: string;
1544
+ /**
1545
+ * Error Message. Overrides the caption.
1546
+ */
1547
+ errorMessage?: string;
1548
+ /**
1549
+ * Amount counter that is shown at the side of the caption text.
1550
+ */
1551
+ amountCounter?: string | number;
1552
+ /**
1553
+ * Shows toggle button to show/hide the content of the input field
1554
+ */
1555
+ isVisibilityToggleEnabled?: boolean;
1556
+ /**
1557
+ * Is the content of the input visible
1558
+ */
1559
+ isContentVisible?: boolean;
1560
+ /**
1561
+ * If true the textarea is resizable vertically
1562
+ */
1563
+ isResizeEnabled?: boolean;
1564
+ }
1565
+
1566
+ export declare function Title({ title, subtitle, trailingElement, tooltipText, supportingElement, tooltipPosition, size, testId, }: TitleProps): JSX_2.Element;
1567
+
1568
+ declare interface TitleProps {
1569
+ /**
1570
+ * The title of the component.
1571
+ */
1572
+ title: string;
1573
+ /**
1574
+ * The subtitle of the component.
1575
+ */
1576
+ subtitle?: string;
1577
+ /**
1578
+ * The trailing element.
1579
+ */
1580
+ trailingElement?: React.ReactNode;
1581
+ /**
1582
+ * The tooltip position.
1583
+ */
1584
+ tooltipPosition?: TooltipPosition_2;
1585
+ /**
1586
+ * The tooltip text.
1587
+ */
1588
+ tooltipText?: string;
1589
+ /**
1590
+ * Supporting Element
1591
+ */
1592
+ supportingElement?: React.ReactNode;
1593
+ /**
1594
+ * The size of the component
1595
+ */
1596
+ size?: TitleSize;
1597
+ /**
1598
+ * The 'data-testid' attribute value (used in e2e tests)
1599
+ */
1600
+ testId?: string;
1601
+ }
1602
+
1603
+ export declare enum TitleSize {
1604
+ Small = "small",
1605
+ Medium = "medium"
1606
+ }
1607
+
1608
+ export declare const Toggle: ForwardRefExoticComponent<ToggleProps & RefAttributes<HTMLInputElement>>;
1609
+
1610
+ export declare enum ToggleLabelPosition {
1611
+ Left = "left",
1612
+ Right = "right"
1613
+ }
1614
+
1615
+ declare interface ToggleProps {
1616
+ /**
1617
+ * The label for the toggle.
1618
+ */
1619
+ label?: string | React.ReactNode;
1620
+ /**
1621
+ * The state of the toggle (on or off).
1622
+ */
1623
+ isToggled: boolean;
1624
+ /**
1625
+ * Whether the label should be placed before the toggle.
1626
+ */
1627
+ labelPosition?: ToggleLabelPosition;
1628
+ /**
1629
+ * If true, the toggle will be disabled.
1630
+ */
1631
+ isDisabled?: boolean;
1632
+ /**
1633
+ * The callback to call when the toggle state changes.
1634
+ */
1635
+ onChange?: (isToggled: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
1636
+ /**
1637
+ * The name and id of the toggle input.
1638
+ */
1639
+ name?: string;
1640
+ /**
1641
+ * The size of the toggle.
1642
+ */
1643
+ size?: ToggleSize;
1644
+ /**
1645
+ * The 'data-testid' attribute value (used in e2e tests)
1646
+ */
1647
+ testId?: string;
1648
+ }
1649
+
1650
+ export declare enum ToggleSize {
1651
+ Small = "small",
1652
+ Default = "default"
1653
+ }
1654
+
1655
+ export declare function Tooltip({ text, position, maxWidth, offset, openDelay, closeDelay, children, }: PropsWithChildren<TooltipProps>): JSX_2.Element;
1656
+
1657
+ export declare enum TooltipPosition {
1658
+ Top = "top",
1659
+ Bottom = "bottom",
1660
+ Left = "left",
1661
+ Right = "right"
1662
+ }
1663
+
1664
+ declare interface TooltipProps {
1665
+ text: string;
1666
+ position?: TooltipPosition;
1667
+ maxWidth?: string;
1668
+ offset?: number;
1669
+ openDelay?: number;
1670
+ closeDelay?: number;
1671
+ }
1672
+
1673
+ export declare function truncate(value: string, startLength?: number, endLength?: number): string;
1674
+
1675
+ export declare const uiKitResponsivePreset: Config;
1676
+
1677
+ export declare const uiKitStaticPreset: Config;
1678
+
1679
+ export declare enum ValueSize {
1680
+ Small = "small",
1681
+ Medium = "medium"
1682
+ }
1683
+
1684
+ export declare function VisualAssetCard({ assetType, assetSrc, altText, onIconClick, onClick, icon, assetTitle, isHoverable, }: VisualAssetCardProps): React.JSX.Element;
1685
+
1686
+ export declare interface VisualAssetCardProps {
1687
+ /**
1688
+ * The type of the asset to be displayed.
1689
+ */
1690
+ assetType?: VisualAssetType;
1691
+ /**
1692
+ * The source of the image to be displayed.
1693
+ */
1694
+ assetSrc: string;
1695
+ /**
1696
+ * Alt text for the image.
1697
+ */
1698
+ altText: string;
1699
+ /**
1700
+ * The onClick event for the icon.
1701
+ */
1702
+ onIconClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
1703
+ /**
1704
+ * The onClick event for the card.
1705
+ */
1706
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
1707
+ /**
1708
+ * The icon to be displayed.
1709
+ */
1710
+ icon?: React.ReactNode;
1711
+ /**
1712
+ * The title text to be displayed on hover.
1713
+ */
1714
+ assetTitle?: string;
1715
+ /**
1716
+ * Whether the card is hoverable.
1717
+ */
1718
+ isHoverable?: boolean;
1719
+ }
1720
+
1721
+ export declare enum VisualAssetType {
1722
+ Image = "image",
1723
+ Video = "video"
1724
+ }
1725
+
1726
+ export { }