@equisoft/design-elements-react 9.9.4 → 9.9.5-snapshot.20250917203919

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 (282) hide show
  1. package/dist/bundle.js +3149 -3134
  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/index.d.ts +2 -0
  7. package/dist/components/badge/badge.d.ts +2 -3
  8. package/dist/components/badge/index.d.ts +2 -0
  9. package/dist/components/bento-menu-button/bento-menu-button.d.ts +1 -2
  10. package/dist/components/bento-menu-button/index.d.ts +3 -0
  11. package/dist/components/bento-menu-button/product-group.d.ts +1 -1
  12. package/dist/components/breadcrumb/breadcrumb.d.ts +2 -3
  13. package/dist/components/breadcrumb/index.d.ts +2 -0
  14. package/dist/components/breadcrumb/use-breadcrumb-layout-effect.d.ts +2 -2
  15. package/dist/components/breadcrumb/use-breadcrumb-overflow.d.ts +1 -1
  16. package/dist/components/breadcrumb/use-breadcrumb-routes.d.ts +2 -2
  17. package/dist/components/buttons/abstract/abstract-button.d.ts +10 -1
  18. package/dist/components/buttons/abstract/index.d.ts +2 -0
  19. package/dist/components/buttons/abstract/{styled.d.ts → styles.d.ts} +3 -4
  20. package/dist/components/buttons/button.d.ts +41 -1
  21. package/dist/components/buttons/icon-button.d.ts +5 -5
  22. package/dist/components/buttons/index.d.ts +5 -5
  23. package/dist/components/buttons/styled.d.ts +6 -6
  24. package/dist/components/card/card.d.ts +2 -3
  25. package/dist/components/card/index.d.ts +2 -0
  26. package/dist/components/card-link/card-link.d.ts +1 -2
  27. package/dist/components/card-link/index.d.ts +2 -0
  28. package/dist/components/carousel/index.d.ts +2 -0
  29. package/dist/components/checkbox/index.d.ts +2 -0
  30. package/dist/components/checkbox-group/checkbox-group.d.ts +10 -10
  31. package/dist/components/checkbox-group/index.d.ts +2 -0
  32. package/dist/components/chooser-button/chooser-button.d.ts +1 -2
  33. package/dist/components/chooser-button/chooser-label.d.ts +1 -0
  34. package/dist/components/chooser-button/index.d.ts +2 -0
  35. package/dist/components/chooser-button-group/chooser-button-group.d.ts +1 -2
  36. package/dist/components/chooser-button-group/index.d.ts +2 -0
  37. package/dist/components/combobox/combobox.d.ts +4 -5
  38. package/dist/components/combobox/index.d.ts +2 -0
  39. package/dist/components/date-picker/calendar-header.d.ts +1 -1
  40. package/dist/components/date-picker/date-picker.d.ts +5 -6
  41. package/dist/components/date-picker/index.d.ts +3 -0
  42. package/dist/components/date-picker/utils/datepicker-utils.d.ts +2 -6
  43. package/dist/components/date-picker/utils/index.d.ts +1 -0
  44. package/dist/components/design-system.d.ts +3 -3
  45. package/dist/components/device-context-provider/device-context-provider.d.ts +1 -1
  46. package/dist/components/device-context-provider/index.d.ts +2 -0
  47. package/dist/components/disclosure/disclosure.d.ts +7 -8
  48. package/dist/components/disclosure/index.d.ts +2 -0
  49. package/dist/components/dropdown-list/dropdown-list.d.ts +7 -4
  50. package/dist/components/dropdown-list/index.d.ts +2 -0
  51. package/dist/components/dropdown-list/utils/dropdown-list-utils.d.ts +1 -1
  52. package/dist/components/dropdown-list/utils/index.d.ts +1 -0
  53. package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -1
  54. package/dist/components/dropdown-menu/index.d.ts +3 -0
  55. package/dist/components/dropdown-menu/list-items/external-item.d.ts +2 -2
  56. package/dist/components/dropdown-menu/list-items/group-item.d.ts +2 -2
  57. package/dist/components/dropdown-menu/list-items/index.d.ts +3 -3
  58. package/dist/components/dropdown-menu/list-items/item-content.d.ts +2 -2
  59. package/dist/components/dropdown-menu/list-items/label-item.d.ts +2 -2
  60. package/dist/components/dropdown-menu/list-items/nav-item.d.ts +4 -4
  61. package/dist/components/dropdown-menu-button/dropdown-menu-button.d.ts +7 -8
  62. package/dist/components/dropdown-menu-button/index.d.ts +2 -0
  63. package/dist/components/dropdown-navigation/dropdown-navigation.d.ts +5 -6
  64. package/dist/components/dropdown-navigation/index.d.ts +2 -0
  65. package/dist/components/error-summary/error-summary.d.ts +3 -4
  66. package/dist/components/error-summary/index.d.ts +2 -0
  67. package/dist/components/external-link/external-link.d.ts +1 -1
  68. package/dist/components/external-link/index.d.ts +2 -0
  69. package/dist/components/feedbacks/index.d.ts +2 -0
  70. package/dist/components/feedbacks/invalid-field.d.ts +2 -3
  71. package/dist/components/field-container/field-container.d.ts +2 -2
  72. package/dist/components/field-container/index.d.ts +2 -0
  73. package/dist/components/fieldset/fieldset.d.ts +16 -1
  74. package/dist/components/fieldset/index.d.ts +2 -1
  75. package/dist/components/fieldset/legend.d.ts +12 -2
  76. package/dist/components/global-banner/global-banner.d.ts +1 -2
  77. package/dist/components/global-banner/index.d.ts +2 -0
  78. package/dist/components/global-header/global-header.d.ts +2 -3
  79. package/dist/components/global-header/index.d.ts +3 -0
  80. package/dist/components/global-navigation/global-navigation.d.ts +3 -4
  81. package/dist/components/global-navigation/index.d.ts +2 -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 +1 -0
  85. package/dist/components/icon/index.d.ts +2 -0
  86. package/dist/components/index.d.ts +79 -0
  87. package/dist/components/internationalization-provider/index.d.ts +2 -0
  88. package/dist/components/label/index.d.ts +2 -0
  89. package/dist/components/label/label.d.ts +3 -3
  90. package/dist/components/legend/index.d.ts +2 -0
  91. package/dist/components/legend/legend.d.ts +1 -2
  92. package/dist/components/link/index.d.ts +1 -0
  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 +19 -2
  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 +1 -1
  109. package/dist/components/nav-list/index.d.ts +3 -0
  110. package/dist/components/nav-list/nav-list-option.d.ts +1 -1
  111. package/dist/components/numeric-input/numeric-input.d.ts +3 -3
  112. package/dist/components/pagination/index.d.ts +2 -0
  113. package/dist/components/pagination/pagination.d.ts +1 -2
  114. package/dist/components/pagination/util/index.d.ts +1 -0
  115. package/dist/components/pagination/util/pagination-util.d.ts +1 -2
  116. package/dist/components/password-creation-input/index.d.ts +4 -0
  117. package/dist/components/password-creation-input/password-creation-input.d.ts +1 -2
  118. package/dist/components/password-input/index.d.ts +2 -0
  119. package/dist/components/password-input/password-input.d.ts +2 -3
  120. package/dist/components/phone-input/index.d.ts +2 -0
  121. package/dist/components/phone-input/phone-input.d.ts +1 -2
  122. package/dist/components/progress-circle/index.d.ts +2 -0
  123. package/dist/components/progress-circle/progress-circle.d.ts +2 -3
  124. package/dist/components/progress-circular/index.d.ts +2 -0
  125. package/dist/components/progress-indicator/index.d.ts +2 -0
  126. package/dist/components/progress-indicator/progress-indicator.d.ts +4 -5
  127. package/dist/components/progress-tracker/index.d.ts +2 -0
  128. package/dist/components/progress-tracker/progress-tracker.d.ts +1 -2
  129. package/dist/components/radio-button/index.d.ts +2 -0
  130. package/dist/components/radio-button/radio-button.d.ts +1 -2
  131. package/dist/components/radio-button/radio-input.d.ts +1 -2
  132. package/dist/components/radio-button-group/index.d.ts +2 -0
  133. package/dist/components/radio-button-group/radio-button-group.d.ts +7 -8
  134. package/dist/components/radio-card-group/index.d.ts +4 -0
  135. package/dist/components/radio-card-group/radio-card-group.d.ts +1 -2
  136. package/dist/components/radio-card-group/styled-components.d.ts +1 -1
  137. package/dist/components/route-link/index.d.ts +2 -0
  138. package/dist/components/route-link/route-link.d.ts +4 -4
  139. package/dist/components/route-link/styles/index.d.ts +1 -0
  140. package/dist/components/screen-reader-only-text/ScreenReaderOnlyText.d.ts +2 -3
  141. package/dist/components/screen-reader-only-text/index.d.ts +2 -0
  142. package/dist/components/search/index.d.ts +4 -0
  143. package/dist/components/sectional-banner/index.d.ts +2 -0
  144. package/dist/components/sectional-banner/sectional-banner.d.ts +3 -4
  145. package/dist/components/segmented-control/index.d.ts +2 -0
  146. package/dist/components/segmented-control/segmented-control.d.ts +2 -3
  147. package/dist/components/shadow-wrapper/index.d.ts +2 -0
  148. package/dist/components/shadow-wrapper/shadow-wrapper.d.ts +1 -2
  149. package/dist/components/side-drawer/index.d.ts +2 -0
  150. package/dist/components/side-drawer/side-drawer.d.ts +1 -1
  151. package/dist/components/skip-link/index.d.ts +2 -0
  152. package/dist/components/slider/index.d.ts +2 -0
  153. package/dist/components/slider/slider.d.ts +3 -3
  154. package/dist/components/slider/value-tooltip.d.ts +2 -2
  155. package/dist/components/spinner/index.d.ts +1 -0
  156. package/dist/components/spinner/spinner.d.ts +1 -2
  157. package/dist/components/status/index.d.ts +2 -0
  158. package/dist/components/status/status.d.ts +2 -3
  159. package/dist/components/stepper-input/index.d.ts +2 -0
  160. package/dist/components/stepper-input/stepper-input.d.ts +3 -3
  161. package/dist/components/table/index.d.ts +3 -2
  162. package/dist/components/table/table-caption.d.ts +14 -0
  163. package/dist/components/table/table-footer.d.ts +1 -1
  164. package/dist/components/table/table-row.d.ts +1 -1
  165. package/dist/components/table/table.d.ts +7 -4
  166. package/dist/components/table/types.d.ts +3 -3
  167. package/dist/components/table/utils/index.d.ts +1 -0
  168. package/dist/components/tabs/index.d.ts +2 -0
  169. package/dist/components/tabs/tab-button.d.ts +1 -15
  170. package/dist/components/tabs/tab-panel.d.ts +2 -9
  171. package/dist/components/tabs/tabs-classes.d.ts +5 -0
  172. package/dist/components/tabs/tabs.d.ts +6 -6
  173. package/dist/components/tabs/types.d.ts +30 -0
  174. package/dist/components/tag/index.d.ts +4 -0
  175. package/dist/components/tag/tag.d.ts +3 -3
  176. package/dist/components/tag/toggle-tag.d.ts +1 -1
  177. package/dist/components/text-area/index.d.ts +2 -0
  178. package/dist/components/text-area/text-area.d.ts +2 -2
  179. package/dist/components/text-input/index.d.ts +4 -2
  180. package/dist/components/text-input/styles/index.d.ts +1 -0
  181. package/dist/components/text-input/styles/inputs.d.ts +2 -2
  182. package/dist/components/text-input/text-input.d.ts +2 -2
  183. package/dist/components/theme-wrapper/index.d.ts +2 -0
  184. package/dist/components/theme-wrapper/theme-wrapper.d.ts +1 -1
  185. package/dist/components/toast/index.d.ts +3 -0
  186. package/dist/components/toast/toast-container.d.ts +2 -2
  187. package/dist/components/toggle-switch/index.d.ts +2 -0
  188. package/dist/components/toggle-switch/toggle-switch.d.ts +1 -2
  189. package/dist/components/toggletip/index.d.ts +2 -0
  190. package/dist/components/toggletip/toggletip.d.ts +1 -1
  191. package/dist/components/tooltip/index.d.ts +2 -0
  192. package/dist/components/user-profile/index.d.ts +2 -0
  193. package/dist/components/user-profile/user-profile.d.ts +2 -3
  194. package/dist/components/visually-hidden/index.d.ts +2 -0
  195. package/dist/components/visually-hidden/visually-hidden.d.ts +3 -0
  196. package/dist/hooks/use-theme.d.ts +1 -1
  197. package/dist/hooks/use-toast.d.ts +1 -1
  198. package/dist/hooks/use-toasts.d.ts +1 -1
  199. package/dist/index.d.ts +2 -81
  200. package/dist/theme.js +1 -1
  201. package/dist/themes/build-theme.d.ts +1 -1
  202. package/dist/themes/index.d.ts +1 -0
  203. package/dist/themes/theme.d.ts +13 -8
  204. package/dist/themes/tokens/alias/color-tokens.d.ts +3 -0
  205. package/dist/themes/tokens/alias/text-tokens.d.ts +3 -0
  206. package/dist/themes/tokens/alias-tokens.d.ts +195 -47
  207. package/dist/themes/tokens/component/accordion-tokens.d.ts +3 -8
  208. package/dist/themes/tokens/component/avatar-tokens.d.ts +3 -8
  209. package/dist/themes/tokens/component/badge-tokens.d.ts +3 -8
  210. package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +3 -8
  211. package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +3 -8
  212. package/dist/themes/tokens/component/button-tokens.d.ts +3 -8
  213. package/dist/themes/tokens/component/caption-tokens.d.ts +3 -0
  214. package/dist/themes/tokens/component/card-tokens.d.ts +3 -8
  215. package/dist/themes/tokens/component/carousel-tokens.d.ts +3 -8
  216. package/dist/themes/tokens/component/checkbox-tokens.d.ts +3 -8
  217. package/dist/themes/tokens/component/chooser-tokens.d.ts +3 -8
  218. package/dist/themes/tokens/component/combobox-tokens.d.ts +3 -8
  219. package/dist/themes/tokens/component/datepicker-tokens.d.ts +3 -8
  220. package/dist/themes/tokens/component/disclosure-tokens.d.ts +3 -8
  221. package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +3 -8
  222. package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +3 -8
  223. package/dist/themes/tokens/component/field-tokens.d.ts +3 -8
  224. package/dist/themes/tokens/component/focus-tokens.d.ts +3 -8
  225. package/dist/themes/tokens/component/global-banner-tokens.d.ts +3 -8
  226. package/dist/themes/tokens/component/global-header-tokens.d.ts +3 -8
  227. package/dist/themes/tokens/component/global-navigation-tokens.d.ts +3 -8
  228. package/dist/themes/tokens/component/heading-tokens.d.ts +3 -8
  229. package/dist/themes/tokens/component/label-tokens.d.ts +3 -8
  230. package/dist/themes/tokens/component/legend-tokens.d.ts +3 -8
  231. package/dist/themes/tokens/component/link-tokens.d.ts +3 -8
  232. package/dist/themes/tokens/component/listbox-tokens.d.ts +3 -8
  233. package/dist/themes/tokens/component/lozenge-tokens.d.ts +3 -8
  234. package/dist/themes/tokens/component/menu-tokens.d.ts +3 -8
  235. package/dist/themes/tokens/component/modal-tokens.d.ts +3 -8
  236. package/dist/themes/tokens/component/nav-list-tokens.d.ts +3 -8
  237. package/dist/themes/tokens/component/numeric-input-tokens.d.ts +3 -8
  238. package/dist/themes/tokens/component/pagination-tokens.d.ts +3 -8
  239. package/dist/themes/tokens/component/password-input-tokens.d.ts +3 -8
  240. package/dist/themes/tokens/component/phone-input-tokens.d.ts +3 -8
  241. package/dist/themes/tokens/component/progress-circular-tokens.d.ts +3 -8
  242. package/dist/themes/tokens/component/progress-tokens.d.ts +3 -8
  243. package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +3 -8
  244. package/dist/themes/tokens/component/radio-card-tokens.d.ts +3 -8
  245. package/dist/themes/tokens/component/search-input-tokens.d.ts +3 -8
  246. package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +3 -8
  247. package/dist/themes/tokens/component/segmented-control-tokens.d.ts +3 -8
  248. package/dist/themes/tokens/component/side-drawer-tokens.d.ts +3 -8
  249. package/dist/themes/tokens/component/slider-tokens.d.ts +3 -8
  250. package/dist/themes/tokens/component/spinner-tokens.d.ts +3 -8
  251. package/dist/themes/tokens/component/status-tokens.d.ts +3 -8
  252. package/dist/themes/tokens/component/stepper-tokens.d.ts +3 -8
  253. package/dist/themes/tokens/component/tab-tokens.d.ts +3 -8
  254. package/dist/themes/tokens/component/table-tokens.d.ts +3 -8
  255. package/dist/themes/tokens/component/tag-tokens.d.ts +3 -8
  256. package/dist/themes/tokens/component/text-area-tokens.d.ts +3 -8
  257. package/dist/themes/tokens/component/text-input-tokens.d.ts +3 -8
  258. package/dist/themes/tokens/component/toast-tokens.d.ts +3 -8
  259. package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +3 -8
  260. package/dist/themes/tokens/component/toggletip-tokens.d.ts +3 -8
  261. package/dist/themes/tokens/component/tooltip-tokens.d.ts +3 -8
  262. package/dist/themes/tokens/component-tokens.d.ts +704 -66
  263. package/dist/themes/tokens/index.d.ts +1 -0
  264. package/dist/themes/tokens/ref/palette-tokens.d.ts +3 -6
  265. package/dist/themes/tokens/ref/text-tokens.d.ts +3 -0
  266. package/dist/themes/tokens/ref/utility-tokens.d.ts +3 -0
  267. package/dist/themes/tokens/ref-tokens.d.ts +209 -9
  268. package/dist/themes/tokens/tokens.d.ts +11 -0
  269. package/dist/utils/css-state.d.ts +1 -1
  270. package/package.json +63 -67
  271. package/dist/components/buttons/abstract/types.d.ts +0 -7
  272. package/dist/components/buttons/types.d.ts +0 -40
  273. package/dist/components/chooser-button/styles/choose.d.ts +0 -1
  274. package/dist/components/dropdown-list/dropdown-list-option.d.ts +0 -4
  275. package/dist/components/fieldset/styled.d.ts +0 -9
  276. package/dist/components/fieldset/types.d.ts +0 -17
  277. package/dist/components/modal/dialog/types.d.ts +0 -19
  278. package/dist/components/visually-hidden/visuallyhidden.d.ts +0 -2
  279. package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
  280. package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
  281. package/dist/utility-types.d.ts +0 -1
  282. /package/dist/components/visually-hidden/{styles/visuallyhidden.d.ts → visually-hidden.style.d.ts} +0 -0
@@ -1,9 +1,3 @@
1
- /*
2
- object-assign
3
- (c) Sindre Sorhus
4
- @license MIT
5
- */
6
-
7
1
  /*!
8
2
  Copyright (c) 2015 Jed Watson.
9
3
  Based on code that is Copyright 2013-2015, Facebook, Inc.
@@ -11,7 +5,7 @@ object-assign
11
5
  */
12
6
 
13
7
  /*!
14
- react-datepicker v7.5.0
8
+ react-datepicker v8.7.0
15
9
  https://github.com/Hacker0x01/react-datepicker
16
10
  Released under the MIT License.
17
11
  */
@@ -55,7 +49,18 @@ object-assign
55
49
  * @license MIT
56
50
  */
57
51
 
58
- /** @license React v17.0.2
52
+ /**
53
+ * @license React
54
+ * react-dom-server-legacy.browser.production.min.js
55
+ *
56
+ * Copyright (c) Facebook, Inc. and its affiliates.
57
+ *
58
+ * This source code is licensed under the MIT license found in the
59
+ * LICENSE file in the root directory of this source tree.
60
+ */
61
+
62
+ /**
63
+ * @license React
59
64
  * react-dom-server.browser.production.min.js
60
65
  *
61
66
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -64,7 +69,8 @@ object-assign
64
69
  * LICENSE file in the root directory of this source tree.
65
70
  */
66
71
 
67
- /** @license React v17.0.2
72
+ /**
73
+ * @license React
68
74
  * react-jsx-runtime.production.min.js
69
75
  *
70
76
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { Type, Tag } from '../heading/heading';
2
+ import { type HeadingTag, type HeadingType } from '../heading';
3
3
  export interface AccordionItemProps {
4
4
  title: string;
5
5
  id?: string;
6
- headingType?: Type | undefined;
7
- headingTag?: Tag | undefined;
6
+ headingType?: HeadingType | undefined;
7
+ headingTag?: HeadingTag | undefined;
8
8
  expanded?: boolean | undefined;
9
9
  disabled?: boolean | undefined;
10
10
  onToggle?: () => void;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- import { Type, Tag } from '../heading/heading';
2
+ import { type HeadingTag, type HeadingType } from '../heading';
3
3
  export interface ItemsProps {
4
4
  title: string;
5
5
  content: React.ReactNode | React.ReactElement;
6
6
  id?: string;
7
- headingType?: Type | undefined;
8
- headingTag?: Tag | undefined;
7
+ headingType?: HeadingType | undefined;
8
+ headingTag?: HeadingTag | undefined;
9
9
  expanded?: boolean | undefined;
10
10
  disabled?: boolean | undefined;
11
11
  buttonRef?: React.RefObject<HTMLButtonElement> | undefined;
@@ -1,3 +1,2 @@
1
- export { AccordionItem } from './accordion-item';
2
- export { Accordion, ItemsProps } from './accordion';
1
+ export { Accordion, type ItemsProps } from './accordion';
3
2
  export { accordionClasses, type AccordionClasses } from './accordion-classes';
@@ -0,0 +1,2 @@
1
+ export { Avatar } from './avatar';
2
+ export type { AvatarProps, AvatarSize } from './avatar';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- type BadgePosition = 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left';
2
+ export type BadgePosition = 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left';
3
3
  export declare const BadgeCircle: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
4
4
  $animate?: boolean;
5
5
  $position: BadgePosition;
@@ -12,7 +12,7 @@ export declare const BadgeDot: import("styled-components").StyledComponent<"span
12
12
  $offsetX: number;
13
13
  $offsetY: number;
14
14
  }, never>;
15
- interface BadgeProps {
15
+ export interface BadgeProps {
16
16
  animate?: boolean;
17
17
  className?: string;
18
18
  /** The largest value to display, beyond which a + sign is shown */
@@ -29,4 +29,3 @@ interface BadgeProps {
29
29
  value: number;
30
30
  }
31
31
  export declare const Badge: FunctionComponent<PropsWithChildren<BadgeProps>>;
32
- export {};
@@ -0,0 +1,2 @@
1
+ export { Badge } from './badge';
2
+ export type { BadgePosition, BadgeProps } from './badge';
@@ -1,7 +1,7 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
2
  import { ExternalItemProps, NavItemProps } from '../dropdown-menu/list-items';
3
3
  import { ProductGroupProps } from './product-group';
4
- interface BentoMenuButtonProps {
4
+ export interface BentoMenuButtonProps {
5
5
  ariaLabel?: string;
6
6
  buttonAriaLabel?: string;
7
7
  externalLinks: ExternalItemProps[];
@@ -14,4 +14,3 @@ interface BentoMenuButtonProps {
14
14
  title?: string;
15
15
  }
16
16
  export declare const BentoMenuButton: FunctionComponent<PropsWithChildren<BentoMenuButtonProps>>;
17
- export {};
@@ -0,0 +1,3 @@
1
+ export { BentoMenuButton } from './bento-menu-button';
2
+ export type { BentoMenuButtonProps } from './bento-menu-button';
3
+ export type { ProductGroupProps } from './product-group';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, PropsWithChildren, RefObject } from 'react';
2
- import { NavItemProps } from '../dropdown-menu/list-items';
2
+ import { type NavItemProps } from '../dropdown-menu/list-items';
3
3
  export interface ProductGroupProps {
4
4
  onClick?(): void;
5
5
  firstItemRef?: RefObject<HTMLAnchorElement>;
@@ -1,9 +1,8 @@
1
1
  import { VoidFunctionComponent } from 'react';
2
- import { NavListOption } from '../nav-list/nav-list-option';
2
+ import { type NavListOption } from '../nav-list';
3
3
  export type BreadcrumbElement = NavListOption;
4
- interface BreadcrumbProps {
4
+ export interface BreadcrumbProps {
5
5
  className?: string;
6
6
  history: BreadcrumbElement[];
7
7
  }
8
8
  export declare const Breadcrumb: VoidFunctionComponent<BreadcrumbProps>;
9
- export {};
@@ -0,0 +1,2 @@
1
+ export { Breadcrumb } from './breadcrumb';
2
+ export type { BreadcrumbElement, BreadcrumbProps } from './breadcrumb';
@@ -1,5 +1,5 @@
1
- import { Overflow } from '../../hooks/use-overflow';
2
- import { NavListOption } from '../nav-list/nav-list-option';
1
+ import { type Overflow } from '../../hooks/use-overflow';
2
+ import { type NavListOption } from '../nav-list';
3
3
  interface UseBreadcrumbLayoutEffectRequest {
4
4
  overflow: Overflow;
5
5
  shownRoutes: NavListOption[];
@@ -1,5 +1,5 @@
1
1
  import { RefObject } from 'react';
2
- import { NavListOption } from '../nav-list/nav-list-option';
2
+ import { type NavListOption } from '../nav-list';
3
3
  export interface Overflow {
4
4
  vertical: boolean;
5
5
  horizontal: boolean;
@@ -1,6 +1,6 @@
1
1
  import { RefObject } from 'react';
2
- import { NavListOption } from '../nav-list/nav-list-option';
3
- import { Overflow } from './use-breadcrumb-overflow';
2
+ import { type NavListOption } from '../nav-list';
3
+ import { type Overflow } from './use-breadcrumb-overflow';
4
4
  interface BreadcrumbRoutes {
5
5
  shownRoutes: NavListOption[];
6
6
  hiddenRoutes: NavListOption[];
@@ -1,4 +1,13 @@
1
- import { AbstractButtonProps } from './types';
1
+ import { ButtonHTMLAttributes } from 'react';
2
+ import { type BaseButtonStyles } from './styles';
3
+ export declare const StyledAbstractButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, BaseButtonStyles, never>;
4
+ export type ButtonSize = 'small' | 'medium';
5
+ export interface AbstractButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
6
+ focusable?: boolean;
7
+ isMobile: boolean;
8
+ size?: ButtonSize;
9
+ tabIndex?: number;
10
+ }
2
11
  export declare const AbstractButton: import("react").ForwardRefExoticComponent<AbstractButtonProps & {
3
12
  children?: import("react").ReactNode | undefined;
4
13
  } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,2 @@
1
+ export { AbstractButton } from './abstract-button';
2
+ export type { AbstractButtonProps, ButtonSize } from './abstract-button';
@@ -1,11 +1,10 @@
1
1
  import { FlattenInterpolation, ThemeProps } from 'styled-components';
2
- import { ResolvedTheme } from '../../../themes/theme';
3
- import { Size } from './types';
2
+ import type { ResolvedTheme } from '../../../themes';
3
+ import type { ButtonSize } from './abstract-button';
4
4
  export interface BaseButtonStyles {
5
- $size?: Size;
5
+ $size?: ButtonSize;
6
6
  $isMobile: boolean;
7
7
  $focusable?: boolean;
8
8
  $inverted?: boolean;
9
9
  }
10
10
  export declare const getBaseButtonStyles: ({ $size, $isMobile, $focusable, $inverted, }: BaseButtonStyles) => FlattenInterpolation<ThemeProps<ResolvedTheme>>;
11
- export declare const StyledAbstractButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, BaseButtonStyles, never>;
@@ -1,4 +1,44 @@
1
- import { ButtonProps } from './types';
1
+ import { FocusEventHandler, type KeyboardEventHandler, type MouseEventHandler } from 'react';
2
+ import { type IconName } from '../icon';
3
+ import { type ButtonSize } from './abstract';
4
+ export type Type = 'submit' | 'button' | 'reset';
5
+ export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'destructive-primary' | 'destructive-secondary' | 'destructive-tertiary';
6
+ export interface ButtonProps {
7
+ id?: string;
8
+ autofocus?: boolean;
9
+ /**
10
+ * Visual style
11
+ * @default primary
12
+ */
13
+ buttonType: ButtonType;
14
+ className?: string;
15
+ disabled?: boolean;
16
+ /**
17
+ * @default true
18
+ */
19
+ focusable?: boolean;
20
+ inverted?: boolean;
21
+ label?: string;
22
+ loading?: boolean;
23
+ /**
24
+ * @default Loading...
25
+ */
26
+ loadingLabel?: string;
27
+ /**
28
+ * Size variant
29
+ * @default medium
30
+ */
31
+ size?: ButtonSize;
32
+ tabIndex?: number;
33
+ title?: string;
34
+ type?: Type;
35
+ leftIconName?: IconName;
36
+ rightIconName?: IconName;
37
+ onClick?: MouseEventHandler<HTMLButtonElement>;
38
+ onFocus?: FocusEventHandler<HTMLButtonElement>;
39
+ onBlur?: FocusEventHandler<HTMLButtonElement>;
40
+ onKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
41
+ }
2
42
  export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & {
3
43
  children?: import("react").ReactNode | undefined;
4
44
  } & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,14 +1,14 @@
1
1
  import { ReactElement } from 'react';
2
- import { AvatarProps } from '../avatar/avatar';
3
- import { IconName, IconProps } from '../icon/icon';
4
- import { Size } from './abstract/types';
5
- import { ButtonProps } from './types';
2
+ import { type AvatarProps } from '../avatar';
3
+ import { type IconName, type IconProps } from '../icon';
4
+ import { type ButtonSize } from './abstract';
5
+ import { type ButtonProps } from './button';
6
6
  export interface IconButtonProps extends ButtonProps {
7
7
  children?: ReactElement<IconProps | AvatarProps>;
8
8
  /**
9
9
  * Name of the desired icon (refer to icon library)
10
10
  */
11
11
  iconName: IconName;
12
- size?: Size;
12
+ size?: ButtonSize;
13
13
  }
14
14
  export declare const IconButton: import("react").ForwardRefExoticComponent<IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,8 +1,8 @@
1
- export { Size } from './abstract/types';
2
- export { ButtonProps, ButtonType, Type } from './types';
3
- export { getBaseButtonStyles } from './abstract/styled';
4
- export { getButtonTypeStyles, getButtonStyles } from './styled';
1
+ export type { ButtonSize } from './abstract';
5
2
  export { AbstractButton } from './abstract/abstract-button';
3
+ export { getBaseButtonStyles } from './abstract/styles';
6
4
  export { Button } from './button';
7
- export { SearchButton } from './search-button';
5
+ export type { ButtonProps, ButtonType, Type } from './button';
8
6
  export { IconButton } from './icon-button';
7
+ export { SearchButton } from './search-button';
8
+ export { getButtonTypeStyles, getButtonStyles } from './styled';
@@ -1,7 +1,7 @@
1
1
  import { FlattenInterpolation, ThemeProps } from 'styled-components';
2
- import { ResolvedTheme } from '../../themes/theme';
3
- import { BaseButtonStyles } from './abstract/styled';
4
- import { ButtonProps, ButtonType } from './types';
2
+ import { ResolvedTheme } from '../../themes';
3
+ import { type BaseButtonStyles } from './abstract/styles';
4
+ import type { ButtonProps, ButtonType } from './button';
5
5
  interface ButtonTypeStyles {
6
6
  buttonType: ButtonType;
7
7
  focusable?: boolean;
@@ -12,12 +12,12 @@ export declare function getButtonTypeStyles({ focusable, inverted, buttonType, t
12
12
  interface ButtonStylesProps extends ButtonTypeStyles, BaseButtonStyles {
13
13
  }
14
14
  export declare const getButtonStyles: ({ buttonType, inverted, focusable, $size, $isMobile, theme, }: ButtonStylesProps) => FlattenInterpolation<ThemeProps<ResolvedTheme>>;
15
- export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("./abstract/types").AbstractButtonProps & {
15
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("./abstract").AbstractButtonProps & {
16
16
  children?: import("react").ReactNode | undefined;
17
17
  } & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {
18
18
  theme: ResolvedTheme;
19
19
  } & ButtonProps, never>;
20
20
  export declare const StyledSpinner: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
21
- export declare const LeftIcon: import("styled-components").StyledComponent<import("react").VoidFunctionComponent<import("../icon/icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
22
- export declare const RightIcon: import("styled-components").StyledComponent<import("react").VoidFunctionComponent<import("../icon/icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
21
+ export declare const LeftIcon: import("styled-components").StyledComponent<import("react").VoidFunctionComponent<import("../icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
22
+ export declare const RightIcon: import("styled-components").StyledComponent<import("react").VoidFunctionComponent<import("../icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
23
23
  export {};
@@ -1,7 +1,6 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- interface Props {
2
+ export interface CardProps {
3
3
  className?: string;
4
4
  noPadding?: boolean;
5
5
  }
6
- export declare const Card: FunctionComponent<PropsWithChildren<Props>>;
7
- export {};
6
+ export declare const Card: FunctionComponent<PropsWithChildren<CardProps>>;
@@ -0,0 +1,2 @@
1
+ export { Card } from './card';
2
+ export type { CardProps } from './card';
@@ -1,5 +1,5 @@
1
1
  import { VoidFunctionComponent } from 'react';
2
- interface CardLinkProps {
2
+ export interface CardLinkProps {
3
3
  className?: string;
4
4
  href: string;
5
5
  label: string;
@@ -7,4 +7,3 @@ interface CardLinkProps {
7
7
  replace?: boolean;
8
8
  }
9
9
  export declare const CardLink: VoidFunctionComponent<CardLinkProps>;
10
- export {};
@@ -0,0 +1,2 @@
1
+ export { CardLink } from './card-link';
2
+ export type { CardLinkProps } from './card-link';
@@ -0,0 +1,2 @@
1
+ export { Carousel } from './carousel';
2
+ export type { CarouselProps } from './carousel';
@@ -0,0 +1,2 @@
1
+ export { Checkbox } from './checkbox';
2
+ export type { CheckboxProps } from './checkbox';
@@ -1,15 +1,15 @@
1
1
  import { ChangeEvent, VoidFunctionComponent } from 'react';
2
- interface CheckboxProps {
2
+ export interface CheckboxGroupItem {
3
+ label: string;
4
+ name: string;
5
+ value: string;
6
+ defaultChecked?: boolean;
7
+ disabled?: boolean;
8
+ }
9
+ export interface CheckboxGroupProps {
3
10
  label?: string;
4
11
  checkedValues?: string[];
5
- checkboxGroup: {
6
- label: string;
7
- name: string;
8
- value: string;
9
- defaultChecked?: boolean;
10
- disabled?: boolean;
11
- }[];
12
+ checkboxGroup: CheckboxGroupItem[];
12
13
  onChange?(event: ChangeEvent<HTMLInputElement>): void;
13
14
  }
14
- export declare const CheckboxGroup: VoidFunctionComponent<CheckboxProps>;
15
- export {};
15
+ export declare const CheckboxGroup: VoidFunctionComponent<CheckboxGroupProps>;
@@ -0,0 +1,2 @@
1
+ export { CheckboxGroup } from './checkbox-group';
2
+ export type { CheckboxGroupItem, CheckboxGroupProps } from './checkbox-group';
@@ -1,5 +1,5 @@
1
1
  import { ChangeEvent, ReactNode } from 'react';
2
- interface ChooserButtonProps {
2
+ export interface ChooserButtonProps {
3
3
  defaultChecked?: boolean;
4
4
  checked?: boolean;
5
5
  children: ReactNode;
@@ -9,4 +9,3 @@ interface ChooserButtonProps {
9
9
  onChange(event: ChangeEvent<HTMLInputElement>): void;
10
10
  }
11
11
  export declare const ChooserButton: import("react").ForwardRefExoticComponent<ChooserButtonProps & import("react").RefAttributes<HTMLInputElement>>;
12
- export {};
@@ -0,0 +1 @@
1
+ export declare const ChooserLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
@@ -0,0 +1,2 @@
1
+ export { ChooserButton } from './chooser-button';
2
+ export type { ChooserButtonProps } from './chooser-button';
@@ -3,7 +3,7 @@ export interface ChooserButtonOption {
3
3
  label: string;
4
4
  value?: string;
5
5
  }
6
- interface ChooserButtonGroupProps {
6
+ export interface ChooserButtonGroupProps {
7
7
  groupName: string;
8
8
  options: ChooserButtonOption[];
9
9
  /** Optional button to allow user to skip question */
@@ -15,4 +15,3 @@ interface ChooserButtonGroupProps {
15
15
  onChange?(option: ChooserButtonOption): void;
16
16
  }
17
17
  export declare const ChooserButtonGroup: VoidFunctionComponent<ChooserButtonGroupProps>;
18
- export {};
@@ -0,0 +1,2 @@
1
+ export { ChooserButtonGroup } from './chooser-button-group';
2
+ export type { ChooserButtonGroupProps, ChooserButtonOption } from './chooser-button-group';
@@ -1,9 +1,9 @@
1
1
  import { VoidFunctionComponent } from 'react';
2
- import { ListboxOption } from '../listbox/listbox';
3
- import { ToggletipProps } from '../toggletip/toggletip';
4
- import { TooltipProps } from '../tooltip/tooltip';
2
+ import { type ListboxOption } from '../listbox';
3
+ import { type ToggletipProps } from '../toggletip';
4
+ import { type TooltipProps } from '../tooltip';
5
5
  export type ComboboxOption = ListboxOption;
6
- interface ComboboxProps {
6
+ export interface ComboboxProps {
7
7
  /**
8
8
  * If true, the input can have a value not included in the list of options
9
9
  */
@@ -73,4 +73,3 @@ interface ComboboxProps {
73
73
  onChange?(value: string): void;
74
74
  }
75
75
  export declare const Combobox: VoidFunctionComponent<ComboboxProps>;
76
- export {};
@@ -0,0 +1,2 @@
1
+ export { Combobox } from './combobox';
2
+ export type { ComboboxOption, ComboboxProps } from './combobox';
@@ -1,5 +1,5 @@
1
1
  import { VoidFunctionComponent } from 'react';
2
- import { DropdownListOption } from '../dropdown-list/dropdown-list-option';
2
+ import { type DropdownListOption } from '../dropdown-list';
3
3
  interface CalendarHeaderProps {
4
4
  date: Date;
5
5
  months: string[];
@@ -1,12 +1,12 @@
1
1
  import { FocusEvent } from 'react';
2
- import { ToggletipProps } from '../toggletip/toggletip';
3
- import { TooltipProps } from '../tooltip/tooltip';
4
- import { DayOfWeek, SupportedLocale } from './utils/datepicker-utils';
2
+ import { type ToggletipProps } from '../toggletip';
3
+ import { type TooltipProps } from '../tooltip';
4
+ import { DayOfWeek, SupportedLocale } from './utils';
5
5
  export interface DatepickerHandles {
6
6
  reset(): void;
7
7
  setDate(date: Date): void;
8
8
  }
9
- interface DatepickerProps {
9
+ export interface DatepickerProps {
10
10
  className?: string;
11
11
  /** Sets default selected date */
12
12
  defaultDate?: Date;
@@ -55,8 +55,7 @@ interface DatepickerProps {
55
55
  onBlur?(event: FocusEvent<HTMLInputElement>): void;
56
56
  onCalendarClose?(): void;
57
57
  onCalendarOpen?(): void;
58
- onChange?(date: Date): void;
58
+ onChange?(date: Date | null): void;
59
59
  onFocus?(event: FocusEvent<HTMLInputElement>): void;
60
60
  }
61
61
  export declare const Datepicker: import("react").ForwardRefExoticComponent<DatepickerProps & import("react").RefAttributes<DatepickerHandles>>;
62
- export {};
@@ -0,0 +1,3 @@
1
+ export { Datepicker } from './date-picker';
2
+ export type { DatepickerProps, DatepickerHandles } from './date-picker';
3
+ export type { DayOfWeek as DatepickerDayOfWeek, SupportedLocale as DatepickerSupportedLocale, } from './utils/datepicker-utils';
@@ -1,5 +1,5 @@
1
1
  import type { Locale } from 'date-fns';
2
- import { DropdownListOption } from '../../dropdown-list/dropdown-list-option';
2
+ import { type DropdownListOption } from '../../dropdown-list';
3
3
  export type SupportedLocale = 'fr-CA' | 'en-CA' | 'en-US';
4
4
  export type DayOfWeek = 0 | 1 | 2 | 3 | 4 | 5 | 6;
5
5
  export declare function getLocale(localeArray: Locale[], localeCode?: SupportedLocale): Locale;
@@ -9,8 +9,4 @@ export declare function getLocaleDatePlaceholder(locale?: Locale): string;
9
9
  export declare function getLocaleMonthsOptions(locale: Locale): DropdownListOption[];
10
10
  export declare function getYearsOptions(minDate?: Date | null, maxDate?: Date | null): DropdownListOption[];
11
11
  export declare function setLocaleFirstDayOfWeek(locale: Locale, dayOfWeek?: DayOfWeek): void;
12
- /**
13
- * The version of format as only numbers (ex: "yyyy-MM-dd" would become "yyyyMMdd").
14
- * Note that Month and Day are always converted to the 2 digits format.
15
- */
16
- export declare function getNumericalDateFormat(dateFormat: string): string | null;
12
+ export declare function getAlternateDateFormats(dateFormat: string): string[];
@@ -0,0 +1 @@
1
+ export * from './datepicker-utils';
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- import { DeviceContextProviderProps } from './device-context-provider/device-context-provider';
3
- import { IntlProviderProps } from './internationalization-provider/internationalization-provider';
4
- import { ThemeWrapperProps } from './theme-wrapper/theme-wrapper';
2
+ import { DeviceContextProviderProps } from './device-context-provider';
3
+ import { IntlProviderProps } from './internationalization-provider';
4
+ import { ThemeWrapperProps } from './theme-wrapper';
5
5
  export type DesignSystemProps = ThemeWrapperProps & DeviceContextProviderProps & IntlProviderProps;
6
6
  export declare const DesignSystem: FunctionComponent<PropsWithChildren<DesignSystemProps>>;
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- import { Breakpoints } from '../../legacy-constants/breakpoints';
2
+ import { type Breakpoints } from '../../legacy-constants/breakpoints';
3
3
  export type DeviceType = 'desktop' | 'tablet' | 'mobile';
4
4
  export interface DeviceContextProviderProps {
5
5
  staticDevice?: DeviceType;
@@ -0,0 +1,2 @@
1
+ export { DeviceContextProvider, useDeviceContext } from './device-context-provider';
2
+ export type { DeviceContextProviderProps, DeviceType } from './device-context-provider';
@@ -1,16 +1,15 @@
1
1
  import { FunctionComponent, PropsWithChildren } from 'react';
2
- import { Size, ButtonProps } from '../buttons';
3
- import { IconName } from '../icon/icon';
4
- export type ButtonPropsWithoutOnClick = Omit<ButtonProps, 'onClick'> & {
2
+ import { type ButtonProps, type ButtonSize } from '../buttons';
3
+ import { type IconName } from '../icon';
4
+ export type DisclosureButtonProps = Omit<ButtonProps, 'onClick'> & {
5
5
  iconName?: IconName;
6
- size?: Size;
6
+ size?: ButtonSize;
7
7
  };
8
- interface DisclosureWidgetProps {
8
+ export interface DisclosureProps {
9
9
  idContent?: string;
10
- buttonProps: ButtonPropsWithoutOnClick;
10
+ buttonProps: DisclosureButtonProps;
11
11
  }
12
12
  export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
13
13
  $expanded: boolean;
14
14
  }, never>;
15
- export declare const Disclosure: FunctionComponent<PropsWithChildren<DisclosureWidgetProps>>;
16
- export {};
15
+ export declare const Disclosure: FunctionComponent<PropsWithChildren<DisclosureProps>>;
@@ -0,0 +1,2 @@
1
+ export { Disclosure } from './disclosure';
2
+ export type { DisclosureButtonProps, DisclosureProps } from './disclosure';
@@ -1,13 +1,16 @@
1
1
  import { VoidFunctionComponent } from 'react';
2
- import { IconName } from '../icon/icon';
3
- import { ToggletipProps } from '../toggletip/toggletip';
4
- import { TooltipProps } from '../tooltip/tooltip';
5
- import { DropdownListOption } from './dropdown-list-option';
2
+ import { type IconName } from '../icon';
3
+ import { type ListboxOption } from '../listbox';
4
+ import { type ToggletipProps } from '../toggletip';
5
+ import { type TooltipProps } from '../tooltip';
6
6
  type Value = string | string[];
7
7
  export interface TagValue {
8
8
  id?: string;
9
9
  label: string;
10
10
  }
11
+ export interface DropdownListOption extends ListboxOption {
12
+ label: string;
13
+ }
11
14
  export interface DropdownListProps<M extends boolean | undefined> {
12
15
  /**
13
16
  * Aria label for the input (used when no visual label is present)
@@ -0,0 +1,2 @@
1
+ export { DropdownList } from './dropdown-list';
2
+ export type { DropdownListOption, DropdownListProps } from './dropdown-list';
@@ -1,4 +1,4 @@
1
- import { DropdownListOption } from '../dropdown-list-option';
1
+ import type { DropdownListOption } from '../dropdown-list';
2
2
  export declare function optionsAreEqual(option: DropdownListOption, optionToCompare: DropdownListOption): boolean;
3
3
  export declare function addUniqueOption(newOption: DropdownListOption, options?: DropdownListOption[]): DropdownListOption[];
4
4
  export declare function removeOption(optionToRemove: DropdownListOption, options?: DropdownListOption[]): DropdownListOption[];
@@ -0,0 +1 @@
1
+ export * from './dropdown-list-utils';