@equisoft/design-elements-react 9.11.1 → 9.11.2-snapshot.20260202170508

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 (328) hide show
  1. package/dist/bundle.js +2292 -2385
  2. package/dist/bundle.js.LICENSE.txt +18 -12
  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 +3 -3
  25. package/dist/components/buttons/styled.d.ts +7 -7
  26. package/dist/components/buttons/toggle-button.d.ts +1 -1
  27. package/dist/components/card/card.d.ts +2 -3
  28. package/dist/components/card/index.d.ts +2 -0
  29. package/dist/components/card-link/card-link.d.ts +3 -4
  30. package/dist/components/card-link/index.d.ts +2 -0
  31. package/dist/components/carousel/index.d.ts +2 -0
  32. package/dist/components/checkbox/index.d.ts +2 -0
  33. package/dist/components/checkbox-group/checkbox-group.d.ts +11 -11
  34. package/dist/components/checkbox-group/index.d.ts +2 -0
  35. package/dist/components/chooser-button/chooser-button.d.ts +1 -2
  36. package/dist/components/chooser-button/chooser-label.d.ts +1 -0
  37. package/dist/components/chooser-button/index.d.ts +2 -0
  38. package/dist/components/chooser-button-group/chooser-button-group.d.ts +3 -4
  39. package/dist/components/chooser-button-group/index.d.ts +2 -0
  40. package/dist/components/combobox/combobox.d.ts +21 -10
  41. package/dist/components/combobox/index.d.ts +2 -0
  42. package/dist/components/date-picker/calendar-header.d.ts +3 -3
  43. package/dist/components/date-picker/date-picker.d.ts +4 -5
  44. package/dist/components/date-picker/index.d.ts +3 -0
  45. package/dist/components/date-picker/utils/datepicker-utils.d.ts +1 -1
  46. package/dist/components/date-picker/utils/index.d.ts +1 -0
  47. package/dist/components/design-system.d.ts +4 -3
  48. package/dist/components/device-context-provider/device-context-provider.d.ts +2 -2
  49. package/dist/components/device-context-provider/index.d.ts +2 -0
  50. package/dist/components/disclosure/disclosure.d.ts +7 -8
  51. package/dist/components/disclosure/index.d.ts +2 -0
  52. package/dist/components/dropdown-list/dropdown-list.d.ts +7 -8
  53. package/dist/components/dropdown-list/index.d.ts +2 -0
  54. package/dist/components/dropdown-menu/dropdown-menu.d.ts +1 -2
  55. package/dist/components/dropdown-menu/index.d.ts +3 -0
  56. package/dist/components/dropdown-menu/list-items/external-item.d.ts +3 -3
  57. package/dist/components/dropdown-menu/list-items/group-item.d.ts +4 -4
  58. package/dist/components/dropdown-menu/list-items/index.d.ts +3 -3
  59. package/dist/components/dropdown-menu/list-items/item-content.d.ts +4 -4
  60. package/dist/components/dropdown-menu/list-items/label-item.d.ts +2 -2
  61. package/dist/components/dropdown-menu/list-items/nav-item.d.ts +4 -4
  62. package/dist/components/dropdown-menu-button/dropdown-menu-button-classes.d.ts +7 -0
  63. package/dist/components/dropdown-menu-button/dropdown-menu-button.d.ts +23 -15
  64. package/dist/components/dropdown-menu-button/index.d.ts +3 -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/filters/filter-multi.d.ts +17 -0
  79. package/dist/components/filters/filter-option.d.ts +5 -0
  80. package/dist/components/filters/filter-single.d.ts +14 -0
  81. package/dist/components/filters/index.d.ts +5 -0
  82. package/dist/components/filters/internal/clear-filters.d.ts +6 -0
  83. package/dist/components/filters/internal/filter-dropdown-button.d.ts +12 -0
  84. package/dist/components/filters/internal/list-container.d.ts +17 -0
  85. package/dist/components/filters/internal/use-list-filter.d.ts +15 -0
  86. package/dist/components/filters/internal/use.search.d.ts +11 -0
  87. package/dist/components/global-banner/global-banner.d.ts +1 -2
  88. package/dist/components/global-banner/index.d.ts +2 -0
  89. package/dist/components/global-header/global-header.d.ts +2 -3
  90. package/dist/components/global-header/index.d.ts +3 -0
  91. package/dist/components/heading/heading.d.ts +4 -4
  92. package/dist/components/heading/index.d.ts +2 -0
  93. package/dist/components/icon/icon.d.ts +2 -2
  94. package/dist/components/icon/index.d.ts +2 -0
  95. package/dist/components/index.d.ts +73 -0
  96. package/dist/components/internationalization-provider/index.d.ts +2 -0
  97. package/dist/components/internationalization-provider/internationalization-provider.d.ts +1 -1
  98. package/dist/components/label/index.d.ts +2 -0
  99. package/dist/components/label/label.d.ts +3 -3
  100. package/dist/components/link/index.d.ts +1 -0
  101. package/dist/components/link/link.d.ts +1 -1
  102. package/dist/components/link/types.d.ts +5 -5
  103. package/dist/components/listbox/index.d.ts +2 -0
  104. package/dist/components/listbox/listbox-tag.d.ts +18 -0
  105. package/dist/components/listbox/listbox.d.ts +10 -2
  106. package/dist/components/listbox/utils/index.d.ts +1 -0
  107. package/dist/components/listbox/utils/listbox-utils.d.ts +34 -0
  108. package/dist/components/lozenge/index.d.ts +2 -0
  109. package/dist/components/lozenge/lozenge.d.ts +3 -4
  110. package/dist/components/menu/index.d.ts +2 -0
  111. package/dist/components/menu/menu.d.ts +3 -5
  112. package/dist/components/menu-button/index.d.ts +2 -0
  113. package/dist/components/menu-button/menu-button.d.ts +4 -4
  114. package/dist/components/modal/dialog/index.d.ts +2 -0
  115. package/dist/components/modal/dialog/modal-dialog.d.ts +20 -3
  116. package/dist/components/modal/dialog/styled.d.ts +3 -3
  117. package/dist/components/modal/index.d.ts +4 -0
  118. package/dist/components/modal/modal.d.ts +1 -1
  119. package/dist/components/modal/styled.d.ts +1 -1
  120. package/dist/components/modal/use-modal.d.ts +1 -2
  121. package/dist/components/money-input/money-input.d.ts +3 -3
  122. package/dist/components/nav-list/index.d.ts +3 -0
  123. package/dist/components/nav-list/nav-list-item.d.ts +2 -2
  124. package/dist/components/nav-list/nav-list-option.d.ts +1 -1
  125. package/dist/components/nav-list/nav-list.d.ts +0 -1
  126. package/dist/components/numeric-input/numeric-input.d.ts +5 -5
  127. package/dist/components/pagination/index.d.ts +2 -0
  128. package/dist/components/pagination/pagination.d.ts +3 -4
  129. package/dist/components/pagination/util/index.d.ts +1 -0
  130. package/dist/components/pagination/util/pagination-util.d.ts +1 -2
  131. package/dist/components/password-creation-input/index.d.ts +4 -0
  132. package/dist/components/password-creation-input/password-creation-input.d.ts +3 -4
  133. package/dist/components/password-creation-input/password-rule.d.ts +2 -2
  134. package/dist/components/password-creation-input/password-strength-container.d.ts +2 -2
  135. package/dist/components/password-creation-input/password-strength-meter.d.ts +2 -2
  136. package/dist/components/password-input/index.d.ts +2 -0
  137. package/dist/components/password-input/password-input.d.ts +3 -4
  138. package/dist/components/phone-input/index.d.ts +2 -0
  139. package/dist/components/phone-input/phone-input.d.ts +3 -4
  140. package/dist/components/progress-circular/index.d.ts +2 -0
  141. package/dist/components/progress-circular/progress-circular.d.ts +2 -2
  142. package/dist/components/progress-indicator/index.d.ts +1 -0
  143. package/dist/components/progress-indicator/progress-indicator.d.ts +2 -13
  144. package/dist/components/progress-tracker/index.d.ts +2 -0
  145. package/dist/components/progress-tracker/progress-tracker.d.ts +3 -4
  146. package/dist/components/radio-button/index.d.ts +2 -0
  147. package/dist/components/radio-button/radio-button.d.ts +1 -2
  148. package/dist/components/radio-button/radio-input.d.ts +1 -2
  149. package/dist/components/radio-button-group/index.d.ts +2 -0
  150. package/dist/components/radio-button-group/radio-button-group.d.ts +8 -9
  151. package/dist/components/radio-card-group/index.d.ts +4 -0
  152. package/dist/components/radio-card-group/radio-card-group.d.ts +3 -4
  153. package/dist/components/radio-card-group/radio-card.d.ts +2 -2
  154. package/dist/components/radio-card-group/styled-components.d.ts +1 -1
  155. package/dist/components/route-link/index.d.ts +2 -0
  156. package/dist/components/route-link/route-link.d.ts +5 -5
  157. package/dist/components/route-link/styles/index.d.ts +1 -0
  158. package/dist/components/screen-reader-only-text/ScreenReaderOnlyText.d.ts +3 -4
  159. package/dist/components/screen-reader-only-text/index.d.ts +2 -0
  160. package/dist/components/search/index.d.ts +4 -0
  161. package/dist/components/search/search-contextual.d.ts +1 -2
  162. package/dist/components/search/search-global.d.ts +2 -2
  163. package/dist/components/search/search-input.d.ts +2 -2
  164. package/dist/components/sectional-banner/index.d.ts +2 -0
  165. package/dist/components/sectional-banner/sectional-banner.d.ts +5 -6
  166. package/dist/components/segmented-control/index.d.ts +2 -0
  167. package/dist/components/segmented-control/segmented-control.d.ts +4 -5
  168. package/dist/components/shadow-wrapper/index.d.ts +2 -0
  169. package/dist/components/shadow-wrapper/shadow-wrapper.d.ts +1 -2
  170. package/dist/components/side-drawer/index.d.ts +2 -0
  171. package/dist/components/side-drawer/side-drawer.d.ts +1 -1
  172. package/dist/components/skip-link/index.d.ts +2 -0
  173. package/dist/components/skip-link/skip-link.d.ts +2 -2
  174. package/dist/components/slider/index.d.ts +2 -0
  175. package/dist/components/slider/slider.d.ts +3 -3
  176. package/dist/components/slider/value-tooltip.d.ts +2 -2
  177. package/dist/components/spinner/index.d.ts +5 -0
  178. package/dist/components/stepper-input/index.d.ts +2 -0
  179. package/dist/components/stepper-input/stepper-buttons.d.ts +2 -2
  180. package/dist/components/stepper-input/stepper-input.d.ts +5 -5
  181. package/dist/components/table/index.d.ts +3 -2
  182. package/dist/components/table/table-caption.d.ts +14 -0
  183. package/dist/components/table/table-footer.d.ts +1 -1
  184. package/dist/components/table/table-row.d.ts +1 -1
  185. package/dist/components/table/table.d.ts +7 -4
  186. package/dist/components/table/types.d.ts +3 -3
  187. package/dist/components/table/utils/index.d.ts +1 -0
  188. package/dist/components/tabs/index.d.ts +2 -0
  189. package/dist/components/tabs/tab-button.d.ts +1 -15
  190. package/dist/components/tabs/tab-panel.d.ts +2 -9
  191. package/dist/components/tabs/tabs-classes.d.ts +5 -0
  192. package/dist/components/tabs/tabs.d.ts +7 -7
  193. package/dist/components/tabs/types.d.ts +30 -0
  194. package/dist/components/tag/index.d.ts +4 -0
  195. package/dist/components/tag/tag.d.ts +3 -3
  196. package/dist/components/tag/toggle-tag.d.ts +1 -1
  197. package/dist/components/text-area/index.d.ts +2 -0
  198. package/dist/components/text-area/text-area.d.ts +4 -4
  199. package/dist/components/text-input/index.d.ts +4 -2
  200. package/dist/components/text-input/styles/index.d.ts +1 -0
  201. package/dist/components/text-input/styles/inputs.d.ts +2 -2
  202. package/dist/components/text-input/text-input.d.ts +2 -2
  203. package/dist/components/theme-wrapper/index.d.ts +2 -0
  204. package/dist/components/theme-wrapper/theme-wrapper.d.ts +2 -2
  205. package/dist/components/toast/index.d.ts +3 -0
  206. package/dist/components/toast/toast-container.d.ts +4 -4
  207. package/dist/components/toast/toasts-container.d.ts +2 -2
  208. package/dist/components/toggle-switch/index.d.ts +2 -0
  209. package/dist/components/toggle-switch/toggle-switch.d.ts +3 -4
  210. package/dist/components/toggletip/index.d.ts +2 -0
  211. package/dist/components/toggletip/toggletip.d.ts +1 -1
  212. package/dist/components/tooltip/index.d.ts +2 -0
  213. package/dist/components/user-profile/index.d.ts +2 -0
  214. package/dist/components/user-profile/user-profile.d.ts +4 -5
  215. package/dist/components/visually-hidden/index.d.ts +2 -0
  216. package/dist/components/visually-hidden/visually-hidden.d.ts +3 -0
  217. package/dist/hooks/use-dropdown/index.d.ts +2 -0
  218. package/dist/hooks/use-dropdown/use-dropdown.d.ts +20 -0
  219. package/dist/hooks/use-list-select.d.ts +3 -1
  220. package/dist/hooks/use-scroll-into-view.d.ts +2 -1
  221. package/dist/hooks/use-theme.d.ts +1 -1
  222. package/dist/hooks/use-toast.d.ts +1 -1
  223. package/dist/hooks/use-toasts.d.ts +1 -1
  224. package/dist/i18n/translations.d.ts +26 -0
  225. package/dist/index.d.ts +2 -82
  226. package/dist/theme.js +1 -1
  227. package/dist/themes/build-theme.d.ts +1 -1
  228. package/dist/themes/index.d.ts +1 -0
  229. package/dist/themes/theme.d.ts +13 -8
  230. package/dist/themes/tokens/alias/color-tokens.d.ts +3 -0
  231. package/dist/themes/tokens/alias/text-tokens.d.ts +3 -0
  232. package/dist/themes/tokens/alias-tokens.d.ts +195 -51
  233. package/dist/themes/tokens/component/accordion-tokens.d.ts +3 -8
  234. package/dist/themes/tokens/component/avatar-tokens.d.ts +3 -8
  235. package/dist/themes/tokens/component/badge-tokens.d.ts +3 -8
  236. package/dist/themes/tokens/component/bento-menu-button-tokens.d.ts +3 -8
  237. package/dist/themes/tokens/component/breadcrumb-tokens.d.ts +3 -8
  238. package/dist/themes/tokens/component/button-tokens.d.ts +3 -8
  239. package/dist/themes/tokens/component/caption-tokens.d.ts +3 -0
  240. package/dist/themes/tokens/component/card-tokens.d.ts +3 -8
  241. package/dist/themes/tokens/component/carousel-tokens.d.ts +3 -8
  242. package/dist/themes/tokens/component/checkbox-tokens.d.ts +3 -8
  243. package/dist/themes/tokens/component/chooser-tokens.d.ts +3 -8
  244. package/dist/themes/tokens/component/combobox-tokens.d.ts +3 -8
  245. package/dist/themes/tokens/component/datepicker-tokens.d.ts +3 -8
  246. package/dist/themes/tokens/component/disclosure-tokens.d.ts +3 -8
  247. package/dist/themes/tokens/component/dropdown-list-tokens.d.ts +3 -8
  248. package/dist/themes/tokens/component/dropdown-menu-tokens.d.ts +3 -8
  249. package/dist/themes/tokens/component/field-tokens.d.ts +3 -8
  250. package/dist/themes/tokens/component/filter-tokens.d.ts +3 -0
  251. package/dist/themes/tokens/component/focus-tokens.d.ts +3 -8
  252. package/dist/themes/tokens/component/global-banner-tokens.d.ts +3 -8
  253. package/dist/themes/tokens/component/global-header-tokens.d.ts +3 -8
  254. package/dist/themes/tokens/component/heading-tokens.d.ts +3 -8
  255. package/dist/themes/tokens/component/label-tokens.d.ts +3 -8
  256. package/dist/themes/tokens/component/legend-tokens.d.ts +3 -8
  257. package/dist/themes/tokens/component/link-tokens.d.ts +3 -8
  258. package/dist/themes/tokens/component/listbox-tokens.d.ts +3 -8
  259. package/dist/themes/tokens/component/lozenge-tokens.d.ts +3 -8
  260. package/dist/themes/tokens/component/menu-tokens.d.ts +3 -8
  261. package/dist/themes/tokens/component/modal-tokens.d.ts +3 -8
  262. package/dist/themes/tokens/component/nav-list-tokens.d.ts +3 -8
  263. package/dist/themes/tokens/component/numeric-input-tokens.d.ts +3 -8
  264. package/dist/themes/tokens/component/pagination-tokens.d.ts +3 -8
  265. package/dist/themes/tokens/component/password-input-tokens.d.ts +3 -8
  266. package/dist/themes/tokens/component/phone-input-tokens.d.ts +3 -8
  267. package/dist/themes/tokens/component/progress-circular-tokens.d.ts +3 -8
  268. package/dist/themes/tokens/component/progress-indicator-tokens.d.ts +3 -0
  269. package/dist/themes/tokens/component/progress-tokens.d.ts +3 -8
  270. package/dist/themes/tokens/component/radio-button-group-tokens.d.ts +3 -8
  271. package/dist/themes/tokens/component/radio-card-tokens.d.ts +3 -8
  272. package/dist/themes/tokens/component/search-input-tokens.d.ts +3 -8
  273. package/dist/themes/tokens/component/sectional-banner-tokens.d.ts +3 -8
  274. package/dist/themes/tokens/component/segmented-control-tokens.d.ts +3 -8
  275. package/dist/themes/tokens/component/side-drawer-tokens.d.ts +3 -8
  276. package/dist/themes/tokens/component/slider-tokens.d.ts +3 -8
  277. package/dist/themes/tokens/component/spinner-tokens.d.ts +3 -8
  278. package/dist/themes/tokens/component/stepper-tokens.d.ts +3 -8
  279. package/dist/themes/tokens/component/tab-tokens.d.ts +3 -8
  280. package/dist/themes/tokens/component/table-tokens.d.ts +3 -8
  281. package/dist/themes/tokens/component/tag-tokens.d.ts +3 -8
  282. package/dist/themes/tokens/component/text-area-tokens.d.ts +3 -8
  283. package/dist/themes/tokens/component/text-input-tokens.d.ts +3 -8
  284. package/dist/themes/tokens/component/toast-tokens.d.ts +3 -8
  285. package/dist/themes/tokens/component/toggle-button-tokens.d.ts +2 -7
  286. package/dist/themes/tokens/component/toggle-switch-tokens.d.ts +3 -8
  287. package/dist/themes/tokens/component/toggletip-tokens.d.ts +3 -8
  288. package/dist/themes/tokens/component/tooltip-tokens.d.ts +3 -8
  289. package/dist/themes/tokens/component-tokens.d.ts +721 -66
  290. package/dist/themes/tokens/index.d.ts +1 -0
  291. package/dist/themes/tokens/ref/palette-tokens.d.ts +3 -6
  292. package/dist/themes/tokens/ref/text-tokens.d.ts +3 -0
  293. package/dist/themes/tokens/ref/utility-tokens.d.ts +3 -0
  294. package/dist/themes/tokens/ref-tokens.d.ts +209 -9
  295. package/dist/themes/tokens/tokens.d.ts +11 -0
  296. package/dist/utils/component-classes.d.ts +1 -0
  297. package/dist/utils/css-state.d.ts +4 -1
  298. package/dist/utils/css-values/box-shadow.d.ts +11 -0
  299. package/dist/utils/css-values/box-shadow.test.d.ts +1 -0
  300. package/dist/utils/css-values/index.d.ts +2 -0
  301. package/dist/utils/css-values/size.d.ts +5 -0
  302. package/dist/utils/css-values/size.test.d.ts +1 -0
  303. package/dist/utils/dom.d.ts +1 -1
  304. package/package.json +60 -61
  305. package/dist/components/buttons/abstract/types.d.ts +0 -7
  306. package/dist/components/buttons/types.d.ts +0 -40
  307. package/dist/components/chooser-button/styles/choose.d.ts +0 -1
  308. package/dist/components/dropdown-list/dropdown-list-option.d.ts +0 -4
  309. package/dist/components/dropdown-list/utils/dropdown-list-utils.d.ts +0 -9
  310. package/dist/components/fieldset/styled.d.ts +0 -9
  311. package/dist/components/fieldset/types.d.ts +0 -17
  312. package/dist/components/global-navigation/global-navigation.d.ts +0 -20
  313. package/dist/components/legend/legend.d.ts +0 -12
  314. package/dist/components/listbox/listbox-option.d.ts +0 -5
  315. package/dist/components/modal/dialog/types.d.ts +0 -19
  316. package/dist/components/progress-circle/circle.d.ts +0 -9
  317. package/dist/components/progress-circle/progress-circle.d.ts +0 -12
  318. package/dist/components/progress-indicator/bar.d.ts +0 -9
  319. package/dist/components/spinner/spinner.d.ts +0 -3
  320. package/dist/components/status/status.d.ts +0 -9
  321. package/dist/components/visually-hidden/visuallyhidden.d.ts +0 -2
  322. package/dist/themes/tokens/component/global-navigation-tokens.d.ts +0 -8
  323. package/dist/themes/tokens/component/status-tokens.d.ts +0 -8
  324. package/dist/themes/tokens/ref/color-utility-tokens.d.ts +0 -6
  325. package/dist/themes/tokens/ref/text-attributes-tokens.d.ts +0 -6
  326. package/dist/utility-types.d.ts +0 -1
  327. /package/dist/components/{dropdown-list/utils/dropdown-list-utils.test.d.ts → listbox/utils/listbox-utils.test.d.ts} +0 -0
  328. /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 v8.0.0
8
+ react-datepicker v8.8.0
15
9
  https://github.com/Hacker0x01/react-datepicker
16
10
  Released under the MIT License.
17
11
  */
@@ -40,13 +34,17 @@ object-assign
40
34
  */
41
35
 
42
36
  /**
43
- * @license lucide-react v0.563.0 - ISC
37
+ * @license React
38
+ * react-dom-server-legacy.browser.production.min.js
44
39
  *
45
- * This source code is licensed under the ISC license.
46
- * See the LICENSE file in the root directory of this source tree.
40
+ * Copyright (c) Facebook, Inc. and its affiliates.
41
+ *
42
+ * This source code is licensed under the MIT license found in the
43
+ * LICENSE file in the root directory of this source tree.
47
44
  */
48
45
 
49
- /** @license React v17.0.2
46
+ /**
47
+ * @license React
50
48
  * react-dom-server.browser.production.min.js
51
49
  *
52
50
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -55,7 +53,8 @@ object-assign
55
53
  * LICENSE file in the root directory of this source tree.
56
54
  */
57
55
 
58
- /** @license React v17.0.2
56
+ /**
57
+ * @license React
59
58
  * react-jsx-runtime.production.min.js
60
59
  *
61
60
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -63,3 +62,10 @@ object-assign
63
62
  * This source code is licensed under the MIT license found in the
64
63
  * LICENSE file in the root directory of this source tree.
65
64
  */
65
+
66
+ /**
67
+ * @license lucide-react v0.563.0 - ISC
68
+ *
69
+ * This source code is licensed under the ISC license.
70
+ * See the LICENSE file in the root directory of this source tree.
71
+ */
@@ -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 as AccordionItem } from './accordion';
3
2
  export { accordionClasses, type AccordionClasses } from './accordion-classes';
@@ -1,4 +1,4 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  export type AvatarSize = 'xsmall' | 'small' | 'medium' | 'large';
3
3
  export interface AvatarProps {
4
4
  className?: string;
@@ -7,4 +7,4 @@ export interface AvatarProps {
7
7
  imgSrc?: string;
8
8
  size?: AvatarSize;
9
9
  }
10
- export declare const Avatar: VoidFunctionComponent<AvatarProps>;
10
+ export declare const Avatar: FC<AvatarProps>;
@@ -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
- import { VoidFunctionComponent } from 'react';
2
- import { NavListOption } from '../nav-list/nav-list-option';
1
+ import { type FC } from 'react';
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
- export declare const Breadcrumb: VoidFunctionComponent<BreadcrumbProps>;
9
- export {};
8
+ export declare const Breadcrumb: FC<BreadcrumbProps>;
@@ -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,9 +1,9 @@
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';
5
+ export type { ButtonProps, ButtonType, Type } from './button';
6
+ export { IconButton } from './icon-button';
7
7
  export { SearchButton } from './search-button';
8
8
  export { ToggleButton, type ToggleButtonProps } from './toggle-button';
9
- export { IconButton } from './icon-button';
9
+ export { getButtonTypeStyles, getButtonStyles } from './styled';
@@ -1,8 +1,8 @@
1
- import { MouseEvent, VoidFunctionComponent } from 'react';
1
+ import { type FC, MouseEvent } from 'react';
2
2
  interface ButtonProps {
3
- className: string;
3
+ className?: string;
4
4
  disabled?: boolean;
5
5
  onClick?(event: MouseEvent<HTMLButtonElement>): void;
6
6
  }
7
- export declare const SearchButton: VoidFunctionComponent<ButtonProps>;
7
+ export declare const SearchButton: FC<ButtonProps>;
8
8
  export {};
@@ -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
- export declare const StyledSpinner: import("styled-components").StyledComponent<import("react").VFC, import("styled-components").DefaultTheme, {}, never>;
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>;
20
+ export declare const StyledSpinner: import("styled-components").StyledComponent<import("react").FC<import("react").SVGProps<SVGSVGElement>>, import("styled-components").DefaultTheme, {}, never>;
21
+ export declare const LeftIcon: import("styled-components").StyledComponent<import("react").FC<import("../icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
22
+ export declare const RightIcon: import("styled-components").StyledComponent<import("react").FC<import("../icon").IconProps>, import("styled-components").DefaultTheme, {}, never>;
23
23
  export {};
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { IconName } from '../icon/icon';
2
+ import { IconName } from '../icon';
3
3
  interface IconOnlyProps {
4
4
  iconName: IconName;
5
5
  ariaLabel: string;
@@ -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,10 +1,9 @@
1
- import { VoidFunctionComponent } from 'react';
2
- interface CardLinkProps {
1
+ import { type FC } from 'react';
2
+ export interface CardLinkProps {
3
3
  className?: string;
4
4
  href: string;
5
5
  label: string;
6
6
  /** When true, clicking the link will replace the current entry in the history stack instead of adding a new one. */
7
7
  replace?: boolean;
8
8
  }
9
- export declare const CardLink: VoidFunctionComponent<CardLinkProps>;
10
- export {};
9
+ export declare const CardLink: FC<CardLinkProps>;
@@ -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
- import { ChangeEvent, VoidFunctionComponent } from 'react';
2
- interface CheckboxProps {
1
+ import { ChangeEvent, type FC } from 'react';
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: FC<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';
@@ -1,9 +1,9 @@
1
- import { VoidFunctionComponent } from 'react';
1
+ import { type FC } from 'react';
2
2
  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 */
@@ -14,5 +14,4 @@ interface ChooserButtonGroupProps {
14
14
  value?: string | null;
15
15
  onChange?(option: ChooserButtonOption): void;
16
16
  }
17
- export declare const ChooserButtonGroup: VoidFunctionComponent<ChooserButtonGroupProps>;
18
- export {};
17
+ export declare const ChooserButtonGroup: FC<ChooserButtonGroupProps>;
@@ -0,0 +1,2 @@
1
+ export { ChooserButtonGroup } from './chooser-button-group';
2
+ export type { ChooserButtonGroupProps, ChooserButtonOption } from './chooser-button-group';
@@ -1,9 +1,10 @@
1
- import { VoidFunctionComponent } from 'react';
2
- import { ListboxOption } from '../listbox/listbox';
3
- import { ToggletipProps } from '../toggletip/toggletip';
4
- import { TooltipProps } from '../tooltip/tooltip';
1
+ import { type FC } from 'react';
2
+ import { ListboxOption } from '../listbox';
3
+ import { type ToggletipProps } from '../toggletip';
4
+ import { type TooltipProps } from '../tooltip';
5
+ type Value = string | string[];
5
6
  export type ComboboxOption = ListboxOption;
6
- interface ComboboxProps {
7
+ export interface ComboboxProps {
7
8
  /**
8
9
  * If true, the input can have a value not included in the list of options
9
10
  */
@@ -12,6 +13,10 @@ interface ComboboxProps {
12
13
  * Aria label for the input (used when no visual label is present)
13
14
  */
14
15
  ariaLabel?: string;
16
+ /**
17
+ * If true, when the input value matches an option, that option is automatically selected
18
+ */
19
+ autoSelectMatchingOption?: boolean;
15
20
  className?: string;
16
21
  /**
17
22
  * @default false
@@ -20,7 +25,7 @@ interface ComboboxProps {
20
25
  /**
21
26
  * The default value and selected option
22
27
  */
23
- defaultValue?: string;
28
+ defaultValue?: Value;
24
29
  /**
25
30
  * Disables the input
26
31
  */
@@ -47,9 +52,14 @@ interface ComboboxProps {
47
52
  inlineAutoComplete?: boolean;
48
53
  isLoading?: boolean;
49
54
  label?: string;
55
+ /**
56
+ * If true, multiple options can be selected and displayed as tags
57
+ */
58
+ multiselect?: boolean;
50
59
  name?: string;
51
60
  options: ComboboxOption[];
52
61
  placeholder?: string;
62
+ readOnly?: boolean;
53
63
  required?: boolean;
54
64
  tooltip?: TooltipProps;
55
65
  toggletip?: ToggletipProps;
@@ -65,12 +75,13 @@ interface ComboboxProps {
65
75
  /**
66
76
  * Sets the selected value (makes the component controlled)
67
77
  */
68
- value?: string;
78
+ value?: Value;
69
79
  hint?: string;
70
80
  /**
71
- * OnChange callback function, invoked when the value is changed
81
+ * OnChange callback function, invoked when value/options change
72
82
  */
73
- onChange?(value: string): void;
83
+ onChange?(value: string | ComboboxOption | ComboboxOption[]): void;
84
+ onInputChange?(value: string): void;
74
85
  }
75
- export declare const Combobox: VoidFunctionComponent<ComboboxProps>;
86
+ export declare const Combobox: FC<ComboboxProps>;
76
87
  export {};
@@ -0,0 +1,2 @@
1
+ export { Combobox } from './combobox';
2
+ export type { ComboboxOption, ComboboxProps } from './combobox';
@@ -1,5 +1,5 @@
1
- import { VoidFunctionComponent } from 'react';
2
- import { DropdownListOption } from '../dropdown-list/dropdown-list-option';
1
+ import { type FC } from 'react';
2
+ import { type DropdownListOption } from '../dropdown-list';
3
3
  interface CalendarHeaderProps {
4
4
  date: Date;
5
5
  months: string[];
@@ -12,5 +12,5 @@ interface CalendarHeaderProps {
12
12
  decreaseMonth(): void;
13
13
  increaseMonth(): void;
14
14
  }
15
- export declare const CalendarHeader: VoidFunctionComponent<CalendarHeaderProps>;
15
+ export declare const CalendarHeader: FC<CalendarHeaderProps>;
16
16
  export {};
@@ -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;
@@ -59,4 +59,3 @@ interface DatepickerProps {
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;
@@ -0,0 +1 @@
1
+ export * from './datepicker-utils';