@equisoft/design-elements-react 9.9.6 → 9.9.7-snapshot.20251009222628

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 (296) hide show
  1. package/dist/bundle.js +2779 -2992
  2. package/dist/bundle.js.LICENSE.txt +15 -9
  3. package/dist/components/accordion/accordion-item.d.ts +3 -3
  4. package/dist/components/accordion/accordion.d.ts +3 -3
  5. package/dist/components/accordion/index.d.ts +1 -2
  6. package/dist/components/avatar/avatar.d.ts +2 -2
  7. package/dist/components/avatar/index.d.ts +2 -0
  8. package/dist/components/badge/badge.d.ts +2 -3
  9. package/dist/components/badge/index.d.ts +2 -0
  10. package/dist/components/bento-menu-button/bento-menu-button.d.ts +1 -2
  11. package/dist/components/bento-menu-button/index.d.ts +3 -0
  12. package/dist/components/bento-menu-button/product-group.d.ts +1 -1
  13. package/dist/components/breadcrumb/breadcrumb.d.ts +4 -5
  14. package/dist/components/breadcrumb/index.d.ts +2 -0
  15. package/dist/components/breadcrumb/use-breadcrumb-layout-effect.d.ts +2 -2
  16. package/dist/components/breadcrumb/use-breadcrumb-overflow.d.ts +1 -1
  17. package/dist/components/breadcrumb/use-breadcrumb-routes.d.ts +2 -2
  18. package/dist/components/buttons/abstract/abstract-button.d.ts +10 -1
  19. package/dist/components/buttons/abstract/index.d.ts +2 -0
  20. package/dist/components/buttons/abstract/{styled.d.ts → styles.d.ts} +3 -4
  21. package/dist/components/buttons/button.d.ts +41 -1
  22. package/dist/components/buttons/icon-button.d.ts +5 -5
  23. package/dist/components/buttons/index.d.ts +5 -5
  24. package/dist/components/buttons/search-button.d.ts +2 -2
  25. package/dist/components/buttons/styled.d.ts +6 -6
  26. package/dist/components/card/card.d.ts +2 -3
  27. package/dist/components/card/index.d.ts +2 -0
  28. package/dist/components/card-link/card-link.d.ts +3 -4
  29. package/dist/components/card-link/index.d.ts +2 -0
  30. package/dist/components/carousel/index.d.ts +2 -0
  31. package/dist/components/checkbox/index.d.ts +2 -0
  32. package/dist/components/checkbox-group/checkbox-group.d.ts +11 -11
  33. package/dist/components/checkbox-group/index.d.ts +2 -0
  34. package/dist/components/chooser-button/chooser-button.d.ts +1 -2
  35. package/dist/components/chooser-button/chooser-label.d.ts +1 -0
  36. package/dist/components/chooser-button/index.d.ts +2 -0
  37. package/dist/components/chooser-button-group/chooser-button-group.d.ts +3 -4
  38. package/dist/components/chooser-button-group/index.d.ts +2 -0
  39. package/dist/components/combobox/combobox.d.ts +7 -7
  40. package/dist/components/combobox/index.d.ts +2 -0
  41. package/dist/components/date-picker/calendar-header.d.ts +3 -3
  42. package/dist/components/date-picker/date-picker.d.ts +5 -6
  43. package/dist/components/date-picker/index.d.ts +3 -0
  44. package/dist/components/date-picker/utils/datepicker-utils.d.ts +2 -6
  45. package/dist/components/date-picker/utils/index.d.ts +1 -0
  46. package/dist/components/design-system.d.ts +4 -3
  47. package/dist/components/device-context-provider/device-context-provider.d.ts +2 -2
  48. package/dist/components/device-context-provider/index.d.ts +2 -0
  49. package/dist/components/disclosure/disclosure.d.ts +7 -8
  50. package/dist/components/disclosure/index.d.ts +2 -0
  51. package/dist/components/dropdown-list/dropdown-list.d.ts +9 -6
  52. package/dist/components/dropdown-list/index.d.ts +2 -0
  53. package/dist/components/dropdown-list/utils/dropdown-list-utils.d.ts +1 -1
  54. package/dist/components/dropdown-list/utils/index.d.ts +1 -0
  55. package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -1
  56. package/dist/components/dropdown-menu/index.d.ts +3 -0
  57. package/dist/components/dropdown-menu/list-items/external-item.d.ts +3 -3
  58. package/dist/components/dropdown-menu/list-items/group-item.d.ts +4 -4
  59. package/dist/components/dropdown-menu/list-items/index.d.ts +3 -3
  60. package/dist/components/dropdown-menu/list-items/item-content.d.ts +4 -4
  61. package/dist/components/dropdown-menu/list-items/label-item.d.ts +2 -2
  62. package/dist/components/dropdown-menu/list-items/nav-item.d.ts +4 -4
  63. package/dist/components/dropdown-menu-button/dropdown-menu-button.d.ts +8 -9
  64. package/dist/components/dropdown-menu-button/index.d.ts +2 -0
  65. package/dist/components/dropdown-navigation/dropdown-navigation.d.ts +5 -6
  66. package/dist/components/dropdown-navigation/index.d.ts +2 -0
  67. package/dist/components/error-summary/error-summary.d.ts +5 -6
  68. package/dist/components/error-summary/index.d.ts +2 -0
  69. package/dist/components/external-link/external-link.d.ts +3 -3
  70. package/dist/components/external-link/index.d.ts +2 -0
  71. package/dist/components/feedbacks/index.d.ts +2 -0
  72. package/dist/components/feedbacks/invalid-field.d.ts +3 -4
  73. package/dist/components/field-container/field-container.d.ts +2 -2
  74. package/dist/components/field-container/index.d.ts +2 -0
  75. package/dist/components/fieldset/fieldset.d.ts +16 -1
  76. package/dist/components/fieldset/index.d.ts +2 -1
  77. package/dist/components/fieldset/legend.d.ts +12 -2
  78. package/dist/components/global-banner/global-banner.d.ts +1 -2
  79. package/dist/components/global-banner/index.d.ts +2 -0
  80. package/dist/components/global-header/global-header.d.ts +2 -3
  81. package/dist/components/global-header/index.d.ts +3 -0
  82. package/dist/components/heading/heading.d.ts +4 -4
  83. package/dist/components/heading/index.d.ts +2 -0
  84. package/dist/components/icon/icon.d.ts +2 -2
  85. package/dist/components/icon/index.d.ts +2 -0
  86. package/dist/components/index.d.ts +72 -0
  87. package/dist/components/internationalization-provider/index.d.ts +2 -0
  88. package/dist/components/internationalization-provider/internationalization-provider.d.ts +1 -1
  89. package/dist/components/label/index.d.ts +2 -0
  90. package/dist/components/label/label.d.ts +3 -3
  91. package/dist/components/link/index.d.ts +1 -0
  92. package/dist/components/link/link.d.ts +1 -1
  93. package/dist/components/link/types.d.ts +5 -5
  94. package/dist/components/listbox/index.d.ts +2 -0
  95. package/dist/components/lozenge/index.d.ts +2 -0
  96. package/dist/components/lozenge/lozenge.d.ts +3 -4
  97. package/dist/components/menu/index.d.ts +2 -0
  98. package/dist/components/menu/menu.d.ts +3 -3
  99. package/dist/components/menu-button/index.d.ts +2 -0
  100. package/dist/components/menu-button/menu-button.d.ts +4 -4
  101. package/dist/components/modal/dialog/index.d.ts +2 -0
  102. package/dist/components/modal/dialog/modal-dialog.d.ts +20 -3
  103. package/dist/components/modal/dialog/styled.d.ts +3 -3
  104. package/dist/components/modal/index.d.ts +4 -0
  105. package/dist/components/modal/modal.d.ts +1 -1
  106. package/dist/components/modal/styled.d.ts +1 -1
  107. package/dist/components/modal/use-modal.d.ts +1 -2
  108. package/dist/components/money-input/money-input.d.ts +3 -3
  109. package/dist/components/nav-list/index.d.ts +3 -0
  110. package/dist/components/nav-list/nav-list-item.d.ts +2 -2
  111. package/dist/components/nav-list/nav-list-option.d.ts +1 -1
  112. package/dist/components/numeric-input/numeric-input.d.ts +5 -5
  113. package/dist/components/pagination/index.d.ts +2 -0
  114. package/dist/components/pagination/pagination.d.ts +3 -4
  115. package/dist/components/pagination/util/index.d.ts +1 -0
  116. package/dist/components/pagination/util/pagination-util.d.ts +1 -2
  117. package/dist/components/password-creation-input/index.d.ts +4 -0
  118. package/dist/components/password-creation-input/password-creation-input.d.ts +3 -4
  119. package/dist/components/password-creation-input/password-rule.d.ts +2 -2
  120. package/dist/components/password-creation-input/password-strength-container.d.ts +2 -2
  121. package/dist/components/password-creation-input/password-strength-meter.d.ts +2 -2
  122. package/dist/components/password-input/index.d.ts +2 -0
  123. package/dist/components/password-input/password-input.d.ts +3 -4
  124. package/dist/components/phone-input/index.d.ts +2 -0
  125. package/dist/components/phone-input/phone-input.d.ts +3 -4
  126. package/dist/components/progress-circular/index.d.ts +2 -0
  127. package/dist/components/progress-circular/progress-circular.d.ts +2 -2
  128. package/dist/components/progress-indicator/index.d.ts +1 -0
  129. package/dist/components/progress-indicator/progress-indicator.d.ts +1 -13
  130. package/dist/components/progress-tracker/index.d.ts +2 -0
  131. package/dist/components/progress-tracker/progress-tracker.d.ts +3 -4
  132. package/dist/components/radio-button/index.d.ts +2 -0
  133. package/dist/components/radio-button/radio-button.d.ts +1 -2
  134. package/dist/components/radio-button/radio-input.d.ts +1 -2
  135. package/dist/components/radio-button-group/index.d.ts +2 -0
  136. package/dist/components/radio-button-group/radio-button-group.d.ts +8 -9
  137. package/dist/components/radio-card-group/index.d.ts +4 -0
  138. package/dist/components/radio-card-group/radio-card-group.d.ts +3 -4
  139. package/dist/components/radio-card-group/radio-card.d.ts +2 -2
  140. package/dist/components/radio-card-group/styled-components.d.ts +1 -1
  141. package/dist/components/route-link/index.d.ts +2 -0
  142. package/dist/components/route-link/route-link.d.ts +5 -5
  143. package/dist/components/route-link/styles/index.d.ts +1 -0
  144. package/dist/components/screen-reader-only-text/ScreenReaderOnlyText.d.ts +3 -4
  145. package/dist/components/screen-reader-only-text/index.d.ts +2 -0
  146. package/dist/components/search/index.d.ts +4 -0
  147. package/dist/components/search/search-contextual.d.ts +2 -2
  148. package/dist/components/search/search-global.d.ts +2 -2
  149. package/dist/components/search/search-input.d.ts +2 -2
  150. package/dist/components/sectional-banner/index.d.ts +2 -0
  151. package/dist/components/sectional-banner/sectional-banner.d.ts +5 -6
  152. package/dist/components/segmented-control/index.d.ts +2 -0
  153. package/dist/components/segmented-control/segmented-control.d.ts +4 -5
  154. package/dist/components/shadow-wrapper/index.d.ts +2 -0
  155. package/dist/components/shadow-wrapper/shadow-wrapper.d.ts +1 -2
  156. package/dist/components/side-drawer/index.d.ts +2 -0
  157. package/dist/components/side-drawer/side-drawer.d.ts +1 -1
  158. package/dist/components/skip-link/index.d.ts +2 -0
  159. package/dist/components/skip-link/skip-link.d.ts +2 -2
  160. package/dist/components/slider/index.d.ts +2 -0
  161. package/dist/components/slider/slider.d.ts +3 -3
  162. package/dist/components/slider/value-tooltip.d.ts +2 -2
  163. package/dist/components/spinner/{spinner.d.ts → index.d.ts} +4 -1
  164. package/dist/components/stepper-input/index.d.ts +2 -0
  165. package/dist/components/stepper-input/stepper-buttons.d.ts +2 -2
  166. package/dist/components/stepper-input/stepper-input.d.ts +5 -5
  167. package/dist/components/table/index.d.ts +3 -2
  168. package/dist/components/table/table-caption.d.ts +14 -0
  169. package/dist/components/table/table-footer.d.ts +1 -1
  170. package/dist/components/table/table-row.d.ts +1 -1
  171. package/dist/components/table/table.d.ts +7 -4
  172. package/dist/components/table/types.d.ts +3 -3
  173. package/dist/components/table/utils/index.d.ts +1 -0
  174. package/dist/components/tabs/index.d.ts +2 -0
  175. package/dist/components/tabs/tab-button.d.ts +1 -15
  176. package/dist/components/tabs/tab-panel.d.ts +2 -9
  177. package/dist/components/tabs/tabs-classes.d.ts +5 -0
  178. package/dist/components/tabs/tabs.d.ts +7 -7
  179. package/dist/components/tabs/types.d.ts +30 -0
  180. package/dist/components/tag/index.d.ts +4 -0
  181. package/dist/components/tag/tag.d.ts +3 -3
  182. package/dist/components/tag/toggle-tag.d.ts +1 -1
  183. package/dist/components/text-area/index.d.ts +2 -0
  184. package/dist/components/text-area/text-area.d.ts +4 -4
  185. package/dist/components/text-input/index.d.ts +4 -2
  186. package/dist/components/text-input/styles/index.d.ts +1 -0
  187. package/dist/components/text-input/styles/inputs.d.ts +2 -2
  188. package/dist/components/text-input/text-input.d.ts +2 -2
  189. package/dist/components/theme-wrapper/index.d.ts +2 -0
  190. package/dist/components/theme-wrapper/theme-wrapper.d.ts +2 -2
  191. package/dist/components/toast/index.d.ts +3 -0
  192. package/dist/components/toast/toast-container.d.ts +4 -4
  193. package/dist/components/toast/toasts-container.d.ts +2 -2
  194. package/dist/components/toggle-switch/index.d.ts +2 -0
  195. package/dist/components/toggle-switch/toggle-switch.d.ts +3 -4
  196. package/dist/components/toggletip/index.d.ts +2 -0
  197. package/dist/components/toggletip/toggletip.d.ts +1 -1
  198. package/dist/components/tooltip/index.d.ts +2 -0
  199. package/dist/components/user-profile/index.d.ts +2 -0
  200. package/dist/components/user-profile/user-profile.d.ts +4 -5
  201. package/dist/components/visually-hidden/index.d.ts +2 -0
  202. package/dist/components/visually-hidden/visually-hidden.d.ts +3 -0
  203. package/dist/hooks/use-theme.d.ts +1 -1
  204. package/dist/hooks/use-toast.d.ts +1 -1
  205. package/dist/hooks/use-toasts.d.ts +1 -1
  206. package/dist/index.d.ts +2 -81
  207. package/dist/theme.js +1 -1
  208. package/dist/themes/build-theme.d.ts +1 -1
  209. package/dist/themes/index.d.ts +1 -0
  210. package/dist/themes/theme.d.ts +13 -8
  211. package/dist/themes/tokens/alias/color-tokens.d.ts +3 -0
  212. package/dist/themes/tokens/alias/text-tokens.d.ts +3 -0
  213. package/dist/themes/tokens/alias-tokens.d.ts +195 -47
  214. package/dist/themes/tokens/component/accordion-tokens.d.ts +3 -8
  215. package/dist/themes/tokens/component/avatar-tokens.d.ts +3 -8
  216. package/dist/themes/tokens/component/badge-tokens.d.ts +3 -8
  217. package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +3 -8
  218. package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +3 -8
  219. package/dist/themes/tokens/component/button-tokens.d.ts +3 -8
  220. package/dist/themes/tokens/component/caption-tokens.d.ts +3 -0
  221. package/dist/themes/tokens/component/card-tokens.d.ts +3 -8
  222. package/dist/themes/tokens/component/carousel-tokens.d.ts +3 -8
  223. package/dist/themes/tokens/component/checkbox-tokens.d.ts +3 -8
  224. package/dist/themes/tokens/component/chooser-tokens.d.ts +3 -8
  225. package/dist/themes/tokens/component/combobox-tokens.d.ts +3 -8
  226. package/dist/themes/tokens/component/datepicker-tokens.d.ts +3 -8
  227. package/dist/themes/tokens/component/disclosure-tokens.d.ts +3 -8
  228. package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +3 -8
  229. package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +3 -8
  230. package/dist/themes/tokens/component/field-tokens.d.ts +3 -8
  231. package/dist/themes/tokens/component/focus-tokens.d.ts +3 -8
  232. package/dist/themes/tokens/component/global-banner-tokens.d.ts +3 -8
  233. package/dist/themes/tokens/component/global-header-tokens.d.ts +3 -8
  234. package/dist/themes/tokens/component/heading-tokens.d.ts +3 -8
  235. package/dist/themes/tokens/component/label-tokens.d.ts +3 -8
  236. package/dist/themes/tokens/component/legend-tokens.d.ts +3 -8
  237. package/dist/themes/tokens/component/link-tokens.d.ts +3 -8
  238. package/dist/themes/tokens/component/listbox-tokens.d.ts +3 -8
  239. package/dist/themes/tokens/component/lozenge-tokens.d.ts +3 -8
  240. package/dist/themes/tokens/component/menu-tokens.d.ts +3 -8
  241. package/dist/themes/tokens/component/modal-tokens.d.ts +3 -8
  242. package/dist/themes/tokens/component/nav-list-tokens.d.ts +3 -8
  243. package/dist/themes/tokens/component/numeric-input-tokens.d.ts +3 -8
  244. package/dist/themes/tokens/component/pagination-tokens.d.ts +3 -8
  245. package/dist/themes/tokens/component/password-input-tokens.d.ts +3 -8
  246. package/dist/themes/tokens/component/phone-input-tokens.d.ts +3 -8
  247. package/dist/themes/tokens/component/progress-circular-tokens.d.ts +3 -8
  248. package/dist/themes/tokens/component/progress-indicator-tokens.d.ts +3 -0
  249. package/dist/themes/tokens/component/progress-tokens.d.ts +3 -8
  250. package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +3 -8
  251. package/dist/themes/tokens/component/radio-card-tokens.d.ts +3 -8
  252. package/dist/themes/tokens/component/search-input-tokens.d.ts +3 -8
  253. package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +3 -8
  254. package/dist/themes/tokens/component/segmented-control-tokens.d.ts +3 -8
  255. package/dist/themes/tokens/component/side-drawer-tokens.d.ts +3 -8
  256. package/dist/themes/tokens/component/slider-tokens.d.ts +3 -8
  257. package/dist/themes/tokens/component/spinner-tokens.d.ts +3 -8
  258. package/dist/themes/tokens/component/stepper-tokens.d.ts +3 -8
  259. package/dist/themes/tokens/component/tab-tokens.d.ts +3 -8
  260. package/dist/themes/tokens/component/table-tokens.d.ts +3 -8
  261. package/dist/themes/tokens/component/tag-tokens.d.ts +3 -8
  262. package/dist/themes/tokens/component/text-area-tokens.d.ts +3 -8
  263. package/dist/themes/tokens/component/text-input-tokens.d.ts +3 -8
  264. package/dist/themes/tokens/component/toast-tokens.d.ts +3 -8
  265. package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +3 -8
  266. package/dist/themes/tokens/component/toggletip-tokens.d.ts +3 -8
  267. package/dist/themes/tokens/component/tooltip-tokens.d.ts +3 -8
  268. package/dist/themes/tokens/component-tokens.d.ts +684 -66
  269. package/dist/themes/tokens/index.d.ts +1 -0
  270. package/dist/themes/tokens/ref/palette-tokens.d.ts +3 -6
  271. package/dist/themes/tokens/ref/text-tokens.d.ts +3 -0
  272. package/dist/themes/tokens/ref/utility-tokens.d.ts +3 -0
  273. package/dist/themes/tokens/ref-tokens.d.ts +209 -9
  274. package/dist/themes/tokens/tokens.d.ts +11 -0
  275. package/dist/utils/css-state.d.ts +1 -1
  276. package/package.json +59 -63
  277. package/dist/components/buttons/abstract/types.d.ts +0 -7
  278. package/dist/components/buttons/types.d.ts +0 -40
  279. package/dist/components/chooser-button/styles/choose.d.ts +0 -1
  280. package/dist/components/dropdown-list/dropdown-list-option.d.ts +0 -4
  281. package/dist/components/fieldset/styled.d.ts +0 -9
  282. package/dist/components/fieldset/types.d.ts +0 -17
  283. package/dist/components/global-navigation/global-navigation.d.ts +0 -20
  284. package/dist/components/legend/legend.d.ts +0 -12
  285. package/dist/components/modal/dialog/types.d.ts +0 -19
  286. package/dist/components/progress-circle/circle.d.ts +0 -9
  287. package/dist/components/progress-circle/progress-circle.d.ts +0 -12
  288. package/dist/components/progress-indicator/bar.d.ts +0 -9
  289. package/dist/components/status/status.d.ts +0 -9
  290. package/dist/components/visually-hidden/visuallyhidden.d.ts +0 -2
  291. package/dist/themes/tokens/component/global-navigation-tokens.d.ts +0 -8
  292. package/dist/themes/tokens/component/status-tokens.d.ts +0 -8
  293. package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
  294. package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
  295. package/dist/utility-types.d.ts +0 -1
  296. /package/dist/components/visually-hidden/{styles/visuallyhidden.d.ts → visually-hidden.style.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { KeyboardEvent, RefObject } from 'react';
2
- import { IconName } from '../icon/icon';
2
+ import { type IconName } from '../icon';
3
3
  export interface MenuOption {
4
4
  label: string;
5
5
  iconName?: IconName;
@@ -21,7 +21,7 @@ interface ListGroup extends MenuGroup {
21
21
  groupOptions: ListOption[];
22
22
  }
23
23
  type ListItem = ListGroup | ListOption;
24
- interface Props {
24
+ export interface MenuProps {
25
25
  className?: string;
26
26
  id?: string;
27
27
  initialFocusIndex?: number;
@@ -31,5 +31,5 @@ interface Props {
31
31
  onKeyDown?(event: KeyboardEvent): void;
32
32
  onOptionSelect?(option: ListOption): void;
33
33
  }
34
- export declare const Menu: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
34
+ export declare const Menu: import("react").ForwardRefExoticComponent<MenuProps & import("react").RefAttributes<HTMLDivElement>>;
35
35
  export {};
@@ -0,0 +1,2 @@
1
+ export { MenuButton } from './menu-button';
2
+ export type { MenuButtonProps } from './menu-button';
@@ -1,8 +1,8 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- import { ButtonType } from '../buttons';
3
- import { IconName } from '../icon/icon';
4
- import { MenuItem } from '../menu/menu';
5
- import { TooltipProps } from '../tooltip/tooltip';
2
+ import { type ButtonType } from '../buttons';
3
+ import { type IconName } from '../icon';
4
+ import { type MenuItem } from '../menu';
5
+ import { type TooltipProps } from '../tooltip';
6
6
  export type MenuPlacement = 'right' | 'left';
7
7
  export interface MenuButtonProps {
8
8
  autofocus?: boolean;
@@ -0,0 +1,2 @@
1
+ export { ModalDialog } from './modal-dialog';
2
+ export type { DialogType, ModalDialogProps } from './modal-dialog';
@@ -1,3 +1,20 @@
1
- import { VoidFunctionComponent } from 'react';
2
- import { ModalDialogProps } from './types';
3
- export declare const ModalDialog: VoidFunctionComponent<ModalDialogProps>;
1
+ import { type FC, ReactElement } from 'react';
2
+ import { type IconName } from '../../icon';
3
+ import type { BaseModalProps } from '../types';
4
+ export type DialogType = 'information' | 'action' | 'alert';
5
+ export interface ModalDialogProps extends BaseModalProps {
6
+ title: string;
7
+ titleIcon?: IconName;
8
+ subtitle?: string;
9
+ footerContent?: ReactElement;
10
+ dialogType?: DialogType;
11
+ confirmButton?: {
12
+ label?: string;
13
+ onConfirm?(): void;
14
+ };
15
+ cancelButton?: {
16
+ label?: string;
17
+ onCancel?(): void;
18
+ };
19
+ }
20
+ export declare const ModalDialog: FC<ModalDialogProps>;
@@ -1,7 +1,7 @@
1
- import { MobileDeviceContextProps } from '../types';
2
- import { DialogType } from './types';
1
+ import type { MobileDeviceContextProps } from '../types';
2
+ import type { DialogType } from './modal-dialog';
3
3
  export declare const ButtonContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, MobileDeviceContextProps, never>;
4
- export declare const TitleIcon: import("styled-components").StyledComponent<import("react").VoidFunctionComponent<import("../../icon/icon").IconProps>, import("styled-components").DefaultTheme, {
4
+ export declare const TitleIcon: import("styled-components").StyledComponent<import("react").FC<import("../../icon").IconProps>, import("styled-components").DefaultTheme, {
5
5
  $dialogType: DialogType;
6
6
  }, never>;
7
7
  export declare const StyledHeadingWrapperComponent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,2 +1,6 @@
1
1
  export { Modal } from './modal';
2
+ export type { ModalProps } from './types';
2
3
  export { ModalDialog } from './dialog/modal-dialog';
4
+ export type { ModalDialogProps, DialogType } from './dialog/modal-dialog';
5
+ export { useModal } from './use-modal';
6
+ export type { ModalHookResult } from './use-modal';
@@ -1,3 +1,3 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- import { ModalProps } from './types';
2
+ import type { ModalProps } from './types';
3
3
  export declare const Modal: FunctionComponent<PropsWithChildren<ModalProps>>;
@@ -1,5 +1,5 @@
1
1
  import ReactModal from 'react-modal';
2
- import { CommonStyledProps, FooterProps, HeaderProps, MainProps, StyledModalProps } from './types';
2
+ import type { CommonStyledProps, FooterProps, HeaderProps, MainProps, StyledModalProps } from './types';
3
3
  export declare const StyledModal: import("styled-components").StyledComponent<typeof ReactModal, import("styled-components").DefaultTheme, StyledModalProps, never>;
4
4
  export declare const Main: import("styled-components").StyledComponent<"main", import("styled-components").DefaultTheme, MainProps, never>;
5
5
  export declare const Header: import("styled-components").StyledComponent<"header", import("styled-components").DefaultTheme, HeaderProps, never>;
@@ -1,7 +1,6 @@
1
- interface ModalHookResult {
1
+ export interface ModalHookResult {
2
2
  isModalOpen: boolean;
3
3
  openModal(): void;
4
4
  closeModal(): void;
5
5
  }
6
6
  export declare function useModal(initiallyOpened?: boolean): ModalHookResult;
7
- export {};
@@ -1,5 +1,5 @@
1
- import { VoidFunctionComponent } from 'react';
2
- import { ToggletipProps } from '../toggletip/toggletip';
1
+ import { type FC } from 'react';
2
+ import { ToggletipProps } from '../toggletip';
3
3
  type TextAlignment = 'left' | 'right';
4
4
  export interface MoneyInputProps {
5
5
  id?: string;
@@ -35,5 +35,5 @@ export interface MoneyInputProps {
35
35
  toggletip?: ToggletipProps;
36
36
  onChange?(value: number | null, formattedValue: string): void;
37
37
  }
38
- export declare const MoneyInput: VoidFunctionComponent<MoneyInputProps>;
38
+ export declare const MoneyInput: FC<MoneyInputProps>;
39
39
  export {};
@@ -0,0 +1,3 @@
1
+ export { NavList } from './nav-list';
2
+ export type { NavListProps } from './nav-list';
3
+ export type { NavListOption } from './nav-list-option';
@@ -1,4 +1,4 @@
1
- import { KeyboardEvent, RefObject, VoidFunctionComponent } from 'react';
1
+ import { FC, KeyboardEvent, RefObject } from 'react';
2
2
  import { NavLinkProps } from 'react-router-dom';
3
3
  import { DeviceContextProps } from '../device-context-provider/device-context-provider';
4
4
  import { NavListOption } from './nav-list-option';
@@ -18,5 +18,5 @@ export interface NavListItemProps {
18
18
  onKeyDown?(event: KeyboardEvent<HTMLAnchorElement>, option: NavListOption): void;
19
19
  onSelect?(option: NavListOption): void;
20
20
  }
21
- export declare const NavListItem: VoidFunctionComponent<NavListItemProps>;
21
+ export declare const NavListItem: FC<NavListItemProps>;
22
22
  export {};
@@ -1,5 +1,5 @@
1
1
  import { MouseEvent } from 'react';
2
- import { IconName } from '../icon/icon';
2
+ import { type IconName } from '../icon';
3
3
  export interface NavListOption {
4
4
  disabled?: boolean;
5
5
  endIcon?: IconName;
@@ -1,7 +1,7 @@
1
- import { HTMLProps, ReactNode, VoidFunctionComponent } from 'react';
2
- import { ToggletipProps } from '../toggletip/toggletip';
3
- import { TooltipProps } from '../tooltip/tooltip';
4
- import { UseNumericInputParams } from './use-numeric-input';
1
+ import { type FC, HTMLProps, ReactNode } from 'react';
2
+ import { type ToggletipProps } from '../toggletip';
3
+ import { type TooltipProps } from '../tooltip';
4
+ import { type UseNumericInputParams } from './use-numeric-input';
5
5
  type NativeInputProps = Pick<HTMLProps<HTMLInputElement>, 'disabled' | 'onFocus' | 'placeholder'>;
6
6
  export interface NumericInputProps extends NativeInputProps {
7
7
  adornment?: ReactNode;
@@ -26,5 +26,5 @@ export interface NumericInputProps extends NativeInputProps {
26
26
  validationErrorMessage?: string;
27
27
  value?: number | string;
28
28
  }
29
- export declare const NumericInput: VoidFunctionComponent<NumericInputProps>;
29
+ export declare const NumericInput: FC<NumericInputProps>;
30
30
  export {};
@@ -0,0 +1,2 @@
1
+ export { Pagination } from './pagination';
2
+ export type { PaginationProps } from './pagination';
@@ -1,5 +1,5 @@
1
- import { VoidFunctionComponent } from 'react';
2
- interface PaginationProps {
1
+ import { type FC } from 'react';
2
+ export interface PaginationProps {
3
3
  className?: string;
4
4
  /**
5
5
  * Number of results to display per page
@@ -28,5 +28,4 @@ interface PaginationProps {
28
28
  */
29
29
  activePage?: number;
30
30
  }
31
- export declare const Pagination: VoidFunctionComponent<PaginationProps>;
32
- export {};
31
+ export declare const Pagination: FC<PaginationProps>;
@@ -0,0 +1 @@
1
+ export * from './pagination-util';
@@ -1,6 +1,5 @@
1
- interface PageRange {
1
+ export interface PageRange {
2
2
  begin: number;
3
3
  end: number;
4
4
  }
5
5
  export declare function calculateShownPageRange(totalPages: number, pagesShown: number, currentPage: number): PageRange;
6
- export {};
@@ -0,0 +1,4 @@
1
+ export { PasswordCreationInput } from './password-creation-input';
2
+ export { hasALowerCaseLetter, hasAnUpperCaseLetter, hasMinLength as isLongEnough, } from './validation-condition';
3
+ export type { PasswordCreationInputProps } from './password-creation-input';
4
+ export type { ValidationCondition } from './validation-condition';
@@ -1,10 +1,9 @@
1
- import { ChangeEvent, VoidFunctionComponent } from 'react';
1
+ import { ChangeEvent, type FC } from 'react';
2
2
  import { ValidationCondition } from './validation-condition';
3
- interface PasswordCreationInputProps {
3
+ export interface PasswordCreationInputProps {
4
4
  name?: string;
5
5
  id?: string;
6
6
  onChange(newPassword: string, isValid: boolean, event: ChangeEvent<HTMLInputElement>): void;
7
7
  validations?: ValidationCondition[];
8
8
  }
9
- export declare const PasswordCreationInput: VoidFunctionComponent<PasswordCreationInputProps>;
10
- export {};
9
+ export declare const PasswordCreationInput: FC<PasswordCreationInputProps>;
@@ -1,8 +1,8 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  interface PasswordConditionProps {
3
3
  label: string;
4
4
  isEmpty: boolean;
5
5
  isValid: boolean;
6
6
  }
7
- export declare const PasswordRule: VoidFunctionComponent<PasswordConditionProps>;
7
+ export declare const PasswordRule: FC<PasswordConditionProps>;
8
8
  export {};
@@ -1,8 +1,8 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  import { PasswordStrengthEnum } from './password-strength.enum';
3
3
  interface PasswordStrengthContainerProps {
4
4
  strength: PasswordStrengthEnum;
5
5
  id: string;
6
6
  }
7
- export declare const PasswordStrengthContainer: VoidFunctionComponent<PasswordStrengthContainerProps>;
7
+ export declare const PasswordStrengthContainer: FC<PasswordStrengthContainerProps>;
8
8
  export {};
@@ -1,7 +1,7 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  import { PasswordStrengthEnum } from './password-strength.enum';
3
3
  interface PasswordStrengthMeterProps {
4
4
  strength: PasswordStrengthEnum;
5
5
  }
6
- export declare const PasswordStrengthMeter: VoidFunctionComponent<PasswordStrengthMeterProps>;
6
+ export declare const PasswordStrengthMeter: FC<PasswordStrengthMeterProps>;
7
7
  export {};
@@ -0,0 +1,2 @@
1
+ export { PasswordInput } from './password-input';
2
+ export type { PasswordInputProps } from './password-input';
@@ -1,5 +1,5 @@
1
- import { ChangeEvent, VoidFunctionComponent, FocusEvent } from 'react';
2
- interface PasswordInputProps {
1
+ import { ChangeEvent, type FC, FocusEvent } from 'react';
2
+ export interface PasswordInputProps {
3
3
  id?: string;
4
4
  name?: string;
5
5
  label?: string;
@@ -14,5 +14,4 @@ interface PasswordInputProps {
14
14
  onFocus?(event: FocusEvent<HTMLInputElement>): void;
15
15
  }
16
16
  export declare const ShowPasswordButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
17
- export declare const PasswordInput: VoidFunctionComponent<PasswordInputProps>;
18
- export {};
17
+ export declare const PasswordInput: FC<PasswordInputProps>;
@@ -0,0 +1,2 @@
1
+ export { PhoneInput } from './phone-input';
2
+ export type { PhoneInputProps } from './phone-input';
@@ -1,5 +1,5 @@
1
- import { VoidFunctionComponent } from 'react';
2
- interface PhoneInputProps {
1
+ import { FC } from 'react';
2
+ export interface PhoneInputProps {
3
3
  pattern: string;
4
4
  defaultValue?: string;
5
5
  readOnly?: boolean;
@@ -11,5 +11,4 @@ interface PhoneInputProps {
11
11
  id?: string;
12
12
  validationErrorMessage?: string;
13
13
  }
14
- export declare const PhoneInput: VoidFunctionComponent<PhoneInputProps>;
15
- export {};
14
+ export declare const PhoneInput: FC<PhoneInputProps>;
@@ -0,0 +1,2 @@
1
+ export { ProgressCircular } from './progress-circular';
2
+ export type { ProgressCircularProps } from './progress-circular';
@@ -1,4 +1,4 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  declare const sizes: {
3
3
  xsmall: number;
4
4
  small: number;
@@ -12,5 +12,5 @@ export interface ProgressCircularProps {
12
12
  inverted?: boolean;
13
13
  value: number;
14
14
  }
15
- export declare const ProgressCircular: VoidFunctionComponent<ProgressCircularProps>;
15
+ export declare const ProgressCircular: FC<ProgressCircularProps>;
16
16
  export {};
@@ -0,0 +1 @@
1
+ export { ProgressIndicator } from './progress-indicator';
@@ -1,13 +1 @@
1
- import { ReactText, VoidFunctionComponent } from 'react';
2
- interface Props {
3
- className?: string;
4
- /** [0 - 100] */
5
- percent: number;
6
- color: string;
7
- /** End label */
8
- resultLabel: ReactText;
9
- /** Top label */
10
- descriptionLabel?: string;
11
- }
12
- export declare const ProgressIndicator: VoidFunctionComponent<Props>;
13
- export {};
1
+ export declare const ProgressIndicator: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
@@ -0,0 +1,2 @@
1
+ export { ProgressTracker } from './progress-tracker';
2
+ export type { ProgressTrackerStep, ProgressTrackerProps } from './progress-tracker';
@@ -1,16 +1,15 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  export interface ProgressTrackerStep {
3
3
  href?: string;
4
4
  label: string;
5
5
  completion?: 'completed' | 'uncompleted';
6
6
  onClick?: (stepNumber: number) => void;
7
7
  }
8
- interface ProgressTrackerProps {
8
+ export interface ProgressTrackerProps {
9
9
  ariaLabel?: string;
10
10
  className?: string;
11
11
  linear?: boolean;
12
12
  steps: ProgressTrackerStep[];
13
13
  value: number;
14
14
  }
15
- export declare const ProgressTracker: VoidFunctionComponent<ProgressTrackerProps>;
16
- export {};
15
+ export declare const ProgressTracker: FC<ProgressTrackerProps>;
@@ -0,0 +1,2 @@
1
+ export { RadioButton } from './radio-button';
2
+ export type { RadioButtonProps } from './radio-button';
@@ -1,5 +1,5 @@
1
1
  import { ChangeEvent, FunctionComponent } from 'react';
2
- interface RadioButtonProps {
2
+ export interface RadioButtonProps {
3
3
  ariaLabel?: string;
4
4
  ariaLabelledBy?: string[];
5
5
  checked?: boolean;
@@ -13,4 +13,3 @@ interface RadioButtonProps {
13
13
  onChange?(event: ChangeEvent<HTMLInputElement>): void;
14
14
  }
15
15
  export declare const RadioButton: FunctionComponent<RadioButtonProps>;
16
- export {};
@@ -1,5 +1,5 @@
1
1
  import { ChangeEvent, FocusEvent } from 'react';
2
- interface RadioInputProps {
2
+ export interface RadioInputProps {
3
3
  ariaLabel?: string;
4
4
  ariaLabelledBy?: string[];
5
5
  checked?: boolean;
@@ -14,4 +14,3 @@ interface RadioInputProps {
14
14
  onChange?(event: ChangeEvent<HTMLInputElement>): void;
15
15
  }
16
16
  export declare const RadioInput: import("react").ForwardRefExoticComponent<RadioInputProps & import("react").RefAttributes<HTMLInputElement>>;
17
- export {};
@@ -0,0 +1,2 @@
1
+ export { RadioButtonGroup } from './radio-button-group';
2
+ export type { RadioButtonGroupProps, RadioButtonGroupButtonProps } from './radio-button-group';
@@ -1,18 +1,18 @@
1
- import { ChangeEvent, VoidFunctionComponent } from 'react';
2
- import { ToggletipProps } from '../toggletip/toggletip';
3
- import { TooltipProps } from '../tooltip/tooltip';
4
- interface RadioButtonProps {
1
+ import { ChangeEvent, type FC, ReactElement } from 'react';
2
+ import { ToggletipProps } from '../toggletip';
3
+ import { TooltipProps } from '../tooltip';
4
+ export interface RadioButtonGroupButtonProps {
5
5
  label: string;
6
6
  value: string;
7
7
  id?: string;
8
8
  defaultChecked?: boolean;
9
9
  disabled?: boolean;
10
10
  content?: {
11
- element: React.ReactElement;
11
+ element: ReactElement;
12
12
  maxHeight?: number;
13
13
  };
14
14
  }
15
- interface RadioButtonGroupProps {
15
+ export interface RadioButtonGroupProps {
16
16
  ariaLabel?: string;
17
17
  ariaLabelledBy?: string[];
18
18
  className?: string;
@@ -23,10 +23,9 @@ interface RadioButtonGroupProps {
23
23
  /** Sets the name property of all buttons */
24
24
  groupName: string;
25
25
  checkedValue?: string;
26
- buttons: RadioButtonProps[];
26
+ buttons: RadioButtonGroupButtonProps[];
27
27
  /** Duration in milliseconds */
28
28
  transitionDuration?: number;
29
29
  onChange?(event: ChangeEvent<HTMLInputElement>): void;
30
30
  }
31
- export declare const RadioButtonGroup: VoidFunctionComponent<RadioButtonGroupProps>;
32
- export {};
31
+ export declare const RadioButtonGroup: FC<RadioButtonGroupProps>;
@@ -0,0 +1,4 @@
1
+ export { RadioCard } from './radio-card';
2
+ export type { RadioCardProps } from './radio-card';
3
+ export { RadioCardGroup } from './radio-card-group';
4
+ export type { RadioCardGroupProps } from './radio-card-group';
@@ -1,10 +1,9 @@
1
- import { ReactElement, VoidFunctionComponent } from 'react';
1
+ import { type FC, ReactElement } from 'react';
2
2
  import { RadioCardProps } from './radio-card';
3
- interface RadioCardGroupProps {
3
+ export interface RadioCardGroupProps {
4
4
  children: ReactElement<RadioCardProps> | ReactElement<RadioCardProps>[];
5
5
  className?: string;
6
6
  label?: string;
7
7
  orientation?: 'horizontal' | 'vertical';
8
8
  }
9
- export declare const RadioCardGroup: VoidFunctionComponent<RadioCardGroupProps>;
10
- export {};
9
+ export declare const RadioCardGroup: FC<RadioCardGroupProps>;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, ReactElement, ReactNode, VoidFunctionComponent } from 'react';
1
+ import { ChangeEvent, FC, ReactElement, ReactNode } from 'react';
2
2
  export interface RadioCardProps {
3
3
  checked?: boolean;
4
4
  children?: ReactNode;
@@ -12,5 +12,5 @@ export interface RadioCardProps {
12
12
  value: string;
13
13
  onChange?(event: ChangeEvent<HTMLInputElement>): void;
14
14
  }
15
- export declare const RadioCard: VoidFunctionComponent<RadioCardProps>;
15
+ export declare const RadioCard: FC<RadioCardProps>;
16
16
  export declare const isRadioCard: (child: unknown) => child is ReactElement<RadioCardProps>;
@@ -1,4 +1,4 @@
1
- import { ResolvedTheme } from '../../themes/theme';
1
+ import { ResolvedTheme } from '../../themes';
2
2
  interface DescriptionProps {
3
3
  $isMobile: boolean;
4
4
  theme: ResolvedTheme;
@@ -0,0 +1,2 @@
1
+ export { RouteLink } from './route-link';
2
+ export type { RouteLinkProps } from './route-link';
@@ -1,8 +1,8 @@
1
- import { ComponentPropsWithoutRef, MouseEvent, VoidFunctionComponent } from 'react';
2
- import { NavLink, Link as ReactRouterLink } from 'react-router-dom';
3
- import { IconName } from '../icon/icon';
1
+ import { ComponentPropsWithoutRef, type FC, MouseEvent } from 'react';
2
+ import { Link as ReactRouterLink, NavLink } from 'react-router-dom';
3
+ import { IconName } from '../icon';
4
4
  type RouterLinkProps = Pick<ComponentPropsWithoutRef<typeof NavLink>, 'end'>;
5
- interface LinkProps extends RouterLinkProps {
5
+ export interface RouteLinkProps extends RouterLinkProps {
6
6
  className?: string;
7
7
  disabled?: boolean;
8
8
  href: string;
@@ -14,5 +14,5 @@ interface LinkProps extends RouterLinkProps {
14
14
  /**
15
15
  * @deprecated This component is deprecated and will be removed in future releases. Use Link instead.
16
16
  */
17
- export declare const RouteLink: VoidFunctionComponent<LinkProps>;
17
+ export declare const RouteLink: FC<RouteLinkProps>;
18
18
  export {};
@@ -0,0 +1 @@
1
+ export * from './styled-link';
@@ -1,6 +1,5 @@
1
- import { VoidFunctionComponent } from 'react';
2
- interface Props {
1
+ import { type FC } from 'react';
2
+ export interface ScreenReaderOnlyTextProps {
3
3
  label: string;
4
4
  }
5
- export declare const ScreenReaderOnlyText: VoidFunctionComponent<Props>;
6
- export {};
5
+ export declare const ScreenReaderOnlyText: FC<ScreenReaderOnlyTextProps>;
@@ -0,0 +1,2 @@
1
+ export { ScreenReaderOnlyText } from './ScreenReaderOnlyText';
2
+ export type { ScreenReaderOnlyTextProps } from './ScreenReaderOnlyText';
@@ -0,0 +1,4 @@
1
+ export { SearchContextual } from './search-contextual';
2
+ export type { SearchContextualProps } from './search-contextual';
3
+ export { SearchGlobal } from './search-global';
4
+ export type { SearchGlobalProps } from './search-global';
@@ -1,4 +1,4 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  import { CommonSearchProps } from './search-input';
3
3
  export type SearchContextualProps = CommonSearchProps;
4
- export declare const SearchContextual: VoidFunctionComponent<SearchContextualProps>;
4
+ export declare const SearchContextual: FC<SearchContextualProps>;
@@ -1,4 +1,4 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  import { CommonSearchProps } from './search-input';
3
3
  export type SearchGlobalProps = CommonSearchProps;
4
- export declare const SearchGlobal: VoidFunctionComponent<SearchGlobalProps>;
4
+ export declare const SearchGlobal: FC<SearchGlobalProps>;
@@ -1,4 +1,4 @@
1
- import { ChangeEvent, FocusEvent, VoidFunctionComponent } from 'react';
1
+ import { ChangeEvent, type FC, FocusEvent } from 'react';
2
2
  export interface CommonSearchProps {
3
3
  id?: string;
4
4
  disabled?: boolean;
@@ -16,4 +16,4 @@ export interface SearchInputProps extends CommonSearchProps {
16
16
  hasButton?: boolean;
17
17
  hasIcon?: boolean;
18
18
  }
19
- export declare const SearchInput: VoidFunctionComponent<SearchInputProps>;
19
+ export declare const SearchInput: FC<SearchInputProps>;
@@ -0,0 +1,2 @@
1
+ export { SectionalBanner } from './sectional-banner';
2
+ export type { SectionalBannerType, SectionalBannerProps } from './sectional-banner';
@@ -1,12 +1,12 @@
1
- import { ReactNode, VoidFunctionComponent } from 'react';
2
- import { Tag } from '../heading/heading';
1
+ import { type FC, ReactNode } from 'react';
2
+ import { type HeadingTag } from '../heading';
3
3
  export type SectionalBannerType = 'neutral' | 'info' | 'discovery' | 'success' | 'warning' | 'alert';
4
- interface SectionalBannerProps {
4
+ export interface SectionalBannerProps {
5
5
  buttonLabel?: string;
6
6
  className?: string;
7
7
  children: ReactNode;
8
8
  focusable?: boolean;
9
- headingTag?: Tag;
9
+ headingTag?: HeadingTag;
10
10
  id?: string;
11
11
  /** Sets custom message title */
12
12
  title?: string;
@@ -15,5 +15,4 @@ interface SectionalBannerProps {
15
15
  onButtonClicked?(): void;
16
16
  onDismiss?(): void;
17
17
  }
18
- export declare const SectionalBanner: VoidFunctionComponent<SectionalBannerProps>;
19
- export {};
18
+ export declare const SectionalBanner: FC<SectionalBannerProps>;
@@ -0,0 +1,2 @@
1
+ export { SegmentedControl } from './segmented-control';
2
+ export type { SegmentedControlProps } from './segmented-control';
@@ -1,6 +1,6 @@
1
- import { MouseEvent, VoidFunctionComponent } from 'react';
2
- import { IconName } from '../icon/icon';
3
- interface SegmentedControlProps {
1
+ import { type FC, MouseEvent } from 'react';
2
+ import { type IconName } from '../icon';
3
+ export interface SegmentedControlProps {
4
4
  /**
5
5
  * Takes an array of objects containing all the buttons needed
6
6
  */
@@ -20,5 +20,4 @@ interface SegmentedControlProps {
20
20
  toggleable?: boolean;
21
21
  onClick?(event: MouseEvent<HTMLButtonElement>): void;
22
22
  }
23
- export declare const SegmentedControl: VoidFunctionComponent<SegmentedControlProps>;
24
- export {};
23
+ export declare const SegmentedControl: FC<SegmentedControlProps>;
@@ -0,0 +1,2 @@
1
+ export { ShadowWrapper } from './shadow-wrapper';
2
+ export type { ShadowWrapperProps } from './shadow-wrapper';