@equisoft/design-elements-react 9.11.0 → 9.11.1-snapshot.20260129021021

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,3 +1,4 @@
1
1
  export * from './ref-tokens';
2
2
  export * from './alias-tokens';
3
3
  export * from './component-tokens';
4
+ export * from './tokens';
@@ -1,6 +1,3 @@
1
- export type PaletteTokens = 'color-brand-05' | 'color-brand-10' | 'color-brand-20' | 'color-brand-30' | 'color-brand-40' | 'color-brand-50' | 'color-brand-60' | 'color-brand-70' | 'color-brand-80' | 'color-brand-90' | 'color-accent-05' | 'color-accent-10' | 'color-accent-20' | 'color-accent-30' | 'color-accent-40' | 'color-accent-50' | 'color-accent-60' | 'color-accent-70' | 'color-accent-80' | 'color-accent-90' | 'color-white' | 'color-black' | 'color-neutral-02' | 'color-neutral-05' | 'color-neutral-10' | 'color-neutral-15' | 'color-neutral-20' | 'color-neutral-30' | 'color-neutral-40' | 'color-neutral-50' | 'color-neutral-60' | 'color-neutral-65' | 'color-neutral-70' | 'color-neutral-80' | 'color-neutral-90' | 'color-success-02' | 'color-success-05' | 'color-success-10' | 'color-success-20' | 'color-success-30' | 'color-success-40' | 'color-success-50' | 'color-success-60' | 'color-success-70' | 'color-success-80' | 'color-success-90' | 'color-alert-02' | 'color-alert-05' | 'color-alert-10' | 'color-alert-20' | 'color-alert-30' | 'color-alert-40' | 'color-alert-50' | 'color-alert-60' | 'color-alert-70' | 'color-alert-80' | 'color-alert-90' | 'color-warning-02' | 'color-warning-05' | 'color-warning-10' | 'color-warning-20' | 'color-warning-30' | 'color-warning-40' | 'color-warning-50' | 'color-warning-60' | 'color-warning-70' | 'color-warning-80' | 'color-warning-90' | 'color-informative-02' | 'color-informative-05' | 'color-informative-10' | 'color-informative-20' | 'color-informative-30' | 'color-informative-40' | 'color-informative-50' | 'color-informative-60' | 'color-informative-70' | 'color-informative-80' | 'color-informative-90' | 'color-discovery-02' | 'color-discovery-05' | 'color-discovery-10' | 'color-discovery-20' | 'color-discovery-30' | 'color-discovery-40' | 'color-discovery-50' | 'color-discovery-60' | 'color-discovery-70' | 'color-discovery-80' | 'color-discovery-90' | 'color-decorative-01-05' | 'color-decorative-01-10' | 'color-decorative-01-50' | 'color-decorative-01-70' | 'color-decorative-02-05' | 'color-decorative-02-10' | 'color-decorative-02-50' | 'color-decorative-02-70' | 'color-decorative-03-05' | 'color-decorative-03-10' | 'color-decorative-03-50' | 'color-decorative-03-70' | 'color-decorative-04-05' | 'color-decorative-04-10' | 'color-decorative-04-50' | 'color-decorative-04-70' | 'color-decorative-05-05' | 'color-decorative-05-10' | 'color-decorative-05-50' | 'color-decorative-05-70' | 'color-decorative-06-05' | 'color-decorative-06-10' | 'color-decorative-06-50' | 'color-decorative-06-70' | 'color-decorative-07-05' | 'color-decorative-07-10' | 'color-decorative-07-50' | 'color-decorative-07-70' | 'color-decorative-08-05' | 'color-decorative-08-10' | 'color-decorative-08-50' | 'color-decorative-08-70' | 'color-decorative-09-05' | 'color-decorative-09-10' | 'color-decorative-09-50' | 'color-decorative-09-70' | 'color-decorative-10-05' | 'color-decorative-10-10' | 'color-decorative-10-50' | 'color-decorative-10-70';
2
- export type PaletteValue = string;
3
- export type PaletteTokenMap = {
4
- [Token in PaletteTokens]: PaletteValue;
5
- };
6
- export declare const defaultPaletteTokens: PaletteTokenMap;
1
+ import type { RefTokenMap } from '../tokens';
2
+ export type PaletteToken = 'color-brand-05' | 'color-brand-10' | 'color-brand-20' | 'color-brand-30' | 'color-brand-40' | 'color-brand-50' | 'color-brand-60' | 'color-brand-70' | 'color-brand-80' | 'color-brand-90' | 'color-accent-05' | 'color-accent-10' | 'color-accent-20' | 'color-accent-30' | 'color-accent-40' | 'color-accent-50' | 'color-accent-60' | 'color-accent-70' | 'color-accent-80' | 'color-accent-90' | 'color-white' | 'color-black' | 'color-neutral-02' | 'color-neutral-05' | 'color-neutral-10' | 'color-neutral-15' | 'color-neutral-20' | 'color-neutral-30' | 'color-neutral-40' | 'color-neutral-50' | 'color-neutral-60' | 'color-neutral-65' | 'color-neutral-70' | 'color-neutral-80' | 'color-neutral-90' | 'color-success-02' | 'color-success-05' | 'color-success-10' | 'color-success-20' | 'color-success-30' | 'color-success-40' | 'color-success-50' | 'color-success-60' | 'color-success-70' | 'color-success-80' | 'color-success-90' | 'color-alert-02' | 'color-alert-05' | 'color-alert-10' | 'color-alert-20' | 'color-alert-30' | 'color-alert-40' | 'color-alert-50' | 'color-alert-60' | 'color-alert-70' | 'color-alert-80' | 'color-alert-90' | 'color-warning-02' | 'color-warning-05' | 'color-warning-10' | 'color-warning-20' | 'color-warning-30' | 'color-warning-40' | 'color-warning-50' | 'color-warning-60' | 'color-warning-70' | 'color-warning-80' | 'color-warning-90' | 'color-informative-02' | 'color-informative-05' | 'color-informative-10' | 'color-informative-20' | 'color-informative-30' | 'color-informative-40' | 'color-informative-50' | 'color-informative-60' | 'color-informative-70' | 'color-informative-80' | 'color-informative-90' | 'color-discovery-02' | 'color-discovery-05' | 'color-discovery-10' | 'color-discovery-20' | 'color-discovery-30' | 'color-discovery-40' | 'color-discovery-50' | 'color-discovery-60' | 'color-discovery-70' | 'color-discovery-80' | 'color-discovery-90' | 'color-decorative-01-05' | 'color-decorative-01-10' | 'color-decorative-01-50' | 'color-decorative-01-70' | 'color-decorative-02-05' | 'color-decorative-02-10' | 'color-decorative-02-50' | 'color-decorative-02-70' | 'color-decorative-03-05' | 'color-decorative-03-10' | 'color-decorative-03-50' | 'color-decorative-03-70' | 'color-decorative-04-05' | 'color-decorative-04-10' | 'color-decorative-04-50' | 'color-decorative-04-70' | 'color-decorative-05-05' | 'color-decorative-05-10' | 'color-decorative-05-50' | 'color-decorative-05-70' | 'color-decorative-06-05' | 'color-decorative-06-10' | 'color-decorative-06-50' | 'color-decorative-06-70' | 'color-decorative-07-05' | 'color-decorative-07-10' | 'color-decorative-07-50' | 'color-decorative-07-70' | 'color-decorative-08-05' | 'color-decorative-08-10' | 'color-decorative-08-50' | 'color-decorative-08-70' | 'color-decorative-09-05' | 'color-decorative-09-10' | 'color-decorative-09-50' | 'color-decorative-09-70' | 'color-decorative-10-05' | 'color-decorative-10-10' | 'color-decorative-10-50' | 'color-decorative-10-70';
3
+ export declare const defaultPaletteTokens: RefTokenMap<PaletteToken>;
@@ -0,0 +1,3 @@
1
+ import type { RefTokenMap } from '../tokens';
2
+ export type TextToken = 'font-family-sans' | 'font-family-brand' | 'font-size-100' | 'font-size-200' | 'font-size-275' | 'font-size-300' | 'font-size-350' | 'font-size-400' | 'font-size-500' | 'font-size-600' | 'font-size-700' | 'font-size-800' | 'font-size-900' | 'font-size-1000' | 'font-size-1100' | 'font-size-1200' | 'font-weight-regular' | 'font-weight-semibold' | 'font-weight-bold' | 'line-height-100' | 'line-height-200' | 'line-height-300' | 'line-height-400' | 'line-height-500' | 'line-height-600' | 'line-height-700' | 'line-height-800' | 'line-height-900' | 'line-height-1000' | 'line-height-1100' | 'line-height-1200' | 'letter-spacing-normal' | 'font-transform-none' | 'font-transform-uppercase';
3
+ export declare const defaultTextTokens: RefTokenMap<TextToken>;
@@ -0,0 +1,3 @@
1
+ import type { RefTokenMap } from '../tokens';
2
+ export type UtilityToken = 'transparent-dark-3' | 'transparent-dark-5' | 'transparent-light-5' | 'transparent-dark-10' | 'transparent-light-10' | 'transparent-dark-15' | 'transparent-light-15' | 'transparent-dark-20' | 'transparent-light-20' | 'transparent-dark-25' | 'transparent-light-25' | 'transparent-dark-30' | 'transparent-light-30' | 'transparent-dark-35' | 'transparent-light-35' | 'transparent-dark-40' | 'transparent-light-40' | 'transparent-dark-45' | 'transparent-light-45' | 'transparent-dark-50' | 'transparent-light-50' | 'transparent-dark-55' | 'transparent-light-55' | 'transparent-dark-60' | 'transparent-light-60' | 'transparent-dark-65' | 'transparent-light-65' | 'transparent-dark-70' | 'transparent-light-70' | 'transparent-dark-75' | 'transparent-light-75' | 'transparent-dark-80' | 'transparent-light-80' | 'transparent-dark-85' | 'transparent-light-85' | 'transparent-dark-90' | 'transparent-light-90' | 'transparent-dark-95' | 'transparent-light-95' | 'transparent-100';
3
+ export declare const defaultUtilityTokens: RefTokenMap<UtilityToken>;
@@ -1,10 +1,210 @@
1
- import { ColorUtilityTokens, ColorUtilityValue } from './ref/color-utility-tokens';
2
- import { PaletteTokens, PaletteValue } from './ref/palette-tokens';
3
- import { TextAttributeTokens, TextAttributeValue } from './ref/text-attributes-tokens';
4
- export type RefTokenValue = PaletteValue | TextAttributeValue | ColorUtilityValue;
5
- export type RefTokens = PaletteTokens | TextAttributeTokens | ColorUtilityTokens;
6
- export type RefTokenMap = {
7
- [Token in RefTokens]: RefTokenValue;
1
+ import { PaletteToken } from './ref/palette-tokens';
2
+ import { TextToken } from './ref/text-tokens';
3
+ import { UtilityToken } from './ref/utility-tokens';
4
+ export type RefToken = PaletteToken | TextToken | UtilityToken;
5
+ export declare const defaultRefTokens: {
6
+ "transparent-dark-3": string;
7
+ "transparent-dark-5": string;
8
+ "transparent-light-5": string;
9
+ "transparent-dark-10": string;
10
+ "transparent-light-10": string;
11
+ "transparent-dark-15": string;
12
+ "transparent-light-15": string;
13
+ "transparent-dark-20": string;
14
+ "transparent-light-20": string;
15
+ "transparent-dark-25": string;
16
+ "transparent-light-25": string;
17
+ "transparent-dark-30": string;
18
+ "transparent-light-30": string;
19
+ "transparent-dark-35": string;
20
+ "transparent-light-35": string;
21
+ "transparent-dark-40": string;
22
+ "transparent-light-40": string;
23
+ "transparent-dark-45": string;
24
+ "transparent-light-45": string;
25
+ "transparent-dark-50": string;
26
+ "transparent-light-50": string;
27
+ "transparent-dark-55": string;
28
+ "transparent-light-55": string;
29
+ "transparent-dark-60": string;
30
+ "transparent-light-60": string;
31
+ "transparent-dark-65": string;
32
+ "transparent-light-65": string;
33
+ "transparent-dark-70": string;
34
+ "transparent-light-70": string;
35
+ "transparent-dark-75": string;
36
+ "transparent-light-75": string;
37
+ "transparent-dark-80": string;
38
+ "transparent-light-80": string;
39
+ "transparent-dark-85": string;
40
+ "transparent-light-85": string;
41
+ "transparent-dark-90": string;
42
+ "transparent-light-90": string;
43
+ "transparent-dark-95": string;
44
+ "transparent-light-95": string;
45
+ "transparent-100": string;
46
+ "font-family-sans": string;
47
+ "font-family-brand": string;
48
+ "font-size-100": string;
49
+ "font-size-200": string;
50
+ "font-size-275": string;
51
+ "font-size-300": string;
52
+ "font-size-350": string;
53
+ "font-size-400": string;
54
+ "font-size-500": string;
55
+ "font-size-600": string;
56
+ "font-size-700": string;
57
+ "font-size-800": string;
58
+ "font-size-900": string;
59
+ "font-size-1000": string;
60
+ "font-size-1100": string;
61
+ "font-size-1200": string;
62
+ "font-weight-regular": string;
63
+ "font-weight-semibold": string;
64
+ "font-weight-bold": string;
65
+ "line-height-100": string;
66
+ "line-height-200": string;
67
+ "line-height-300": string;
68
+ "line-height-400": string;
69
+ "line-height-500": string;
70
+ "line-height-600": string;
71
+ "line-height-700": string;
72
+ "line-height-800": string;
73
+ "line-height-900": string;
74
+ "line-height-1000": string;
75
+ "line-height-1100": string;
76
+ "line-height-1200": string;
77
+ "letter-spacing-normal": string;
78
+ "font-transform-none": string;
79
+ "font-transform-uppercase": string;
80
+ "color-brand-05": string;
81
+ "color-brand-10": string;
82
+ "color-brand-20": string;
83
+ "color-brand-30": string;
84
+ "color-brand-40": string;
85
+ "color-brand-50": string;
86
+ "color-brand-60": string;
87
+ "color-brand-70": string;
88
+ "color-brand-80": string;
89
+ "color-brand-90": string;
90
+ "color-accent-05": string;
91
+ "color-accent-10": string;
92
+ "color-accent-20": string;
93
+ "color-accent-30": string;
94
+ "color-accent-40": string;
95
+ "color-accent-50": string;
96
+ "color-accent-60": string;
97
+ "color-accent-70": string;
98
+ "color-accent-80": string;
99
+ "color-accent-90": string;
100
+ "color-white": string;
101
+ "color-black": string;
102
+ "color-neutral-02": string;
103
+ "color-neutral-05": string;
104
+ "color-neutral-10": string;
105
+ "color-neutral-15": string;
106
+ "color-neutral-20": string;
107
+ "color-neutral-30": string;
108
+ "color-neutral-40": string;
109
+ "color-neutral-50": string;
110
+ "color-neutral-60": string;
111
+ "color-neutral-65": string;
112
+ "color-neutral-70": string;
113
+ "color-neutral-80": string;
114
+ "color-neutral-90": string;
115
+ "color-success-02": string;
116
+ "color-success-05": string;
117
+ "color-success-10": string;
118
+ "color-success-20": string;
119
+ "color-success-30": string;
120
+ "color-success-40": string;
121
+ "color-success-50": string;
122
+ "color-success-60": string;
123
+ "color-success-70": string;
124
+ "color-success-80": string;
125
+ "color-success-90": string;
126
+ "color-alert-02": string;
127
+ "color-alert-05": string;
128
+ "color-alert-10": string;
129
+ "color-alert-20": string;
130
+ "color-alert-30": string;
131
+ "color-alert-40": string;
132
+ "color-alert-50": string;
133
+ "color-alert-60": string;
134
+ "color-alert-70": string;
135
+ "color-alert-80": string;
136
+ "color-alert-90": string;
137
+ "color-warning-02": string;
138
+ "color-warning-05": string;
139
+ "color-warning-10": string;
140
+ "color-warning-20": string;
141
+ "color-warning-30": string;
142
+ "color-warning-40": string;
143
+ "color-warning-50": string;
144
+ "color-warning-60": string;
145
+ "color-warning-70": string;
146
+ "color-warning-80": string;
147
+ "color-warning-90": string;
148
+ "color-informative-02": string;
149
+ "color-informative-05": string;
150
+ "color-informative-10": string;
151
+ "color-informative-20": string;
152
+ "color-informative-30": string;
153
+ "color-informative-40": string;
154
+ "color-informative-50": string;
155
+ "color-informative-60": string;
156
+ "color-informative-70": string;
157
+ "color-informative-80": string;
158
+ "color-informative-90": string;
159
+ "color-discovery-02": string;
160
+ "color-discovery-05": string;
161
+ "color-discovery-10": string;
162
+ "color-discovery-20": string;
163
+ "color-discovery-30": string;
164
+ "color-discovery-40": string;
165
+ "color-discovery-50": string;
166
+ "color-discovery-60": string;
167
+ "color-discovery-70": string;
168
+ "color-discovery-80": string;
169
+ "color-discovery-90": string;
170
+ "color-decorative-01-05": string;
171
+ "color-decorative-01-10": string;
172
+ "color-decorative-01-50": string;
173
+ "color-decorative-01-70": string;
174
+ "color-decorative-02-05": string;
175
+ "color-decorative-02-10": string;
176
+ "color-decorative-02-50": string;
177
+ "color-decorative-02-70": string;
178
+ "color-decorative-03-05": string;
179
+ "color-decorative-03-10": string;
180
+ "color-decorative-03-50": string;
181
+ "color-decorative-03-70": string;
182
+ "color-decorative-04-05": string;
183
+ "color-decorative-04-10": string;
184
+ "color-decorative-04-50": string;
185
+ "color-decorative-04-70": string;
186
+ "color-decorative-05-05": string;
187
+ "color-decorative-05-10": string;
188
+ "color-decorative-05-50": string;
189
+ "color-decorative-05-70": string;
190
+ "color-decorative-06-05": string;
191
+ "color-decorative-06-10": string;
192
+ "color-decorative-06-50": string;
193
+ "color-decorative-06-70": string;
194
+ "color-decorative-07-05": string;
195
+ "color-decorative-07-10": string;
196
+ "color-decorative-07-50": string;
197
+ "color-decorative-07-70": string;
198
+ "color-decorative-08-05": string;
199
+ "color-decorative-08-10": string;
200
+ "color-decorative-08-50": string;
201
+ "color-decorative-08-70": string;
202
+ "color-decorative-09-05": string;
203
+ "color-decorative-09-10": string;
204
+ "color-decorative-09-50": string;
205
+ "color-decorative-09-70": string;
206
+ "color-decorative-10-05": string;
207
+ "color-decorative-10-10": string;
208
+ "color-decorative-10-50": string;
209
+ "color-decorative-10-70": string;
8
210
  };
9
- export declare const defaultRefTokens: RefTokenMap;
10
- export declare function isRefToken(token: string): token is RefTokens;
@@ -0,0 +1,11 @@
1
+ import type { AliasToken } from './alias-tokens';
2
+ import type { RefToken } from './ref-tokens';
3
+ export type TokenName = string;
4
+ export type TokenValue = string;
5
+ export type TokenMap<T extends TokenName, V extends TokenValue> = {
6
+ [Name in T]: Exclude<V, Name>;
7
+ };
8
+ export type ResolvedTokenMap<T extends TokenName> = TokenMap<T, TokenValue>;
9
+ export type RefTokenMap<T extends TokenName> = ResolvedTokenMap<T>;
10
+ export type AliasTokenMap<T extends TokenName> = TokenMap<T, RefToken | AliasToken>;
11
+ export type ComponentTokenMap<T extends TokenName> = TokenMap<T, RefToken | AliasToken>;
@@ -1,2 +1,3 @@
1
+ export declare const DS_CLASS_PREFIX = "eds-";
1
2
  export declare const IGNORE_CLICK_OUTSIDE = "react-datepicker-ignore-onclickoutside";
2
3
  export declare function generateComponentClasses<T extends string>(componentName: string, keys: T[]): Record<T, string>;
@@ -1,12 +1,15 @@
1
1
  import { FlattenSimpleInterpolation } from 'styled-components';
2
- import { ResolvedTheme } from '../themes/theme';
2
+ import { ResolvedTheme } from '../themes';
3
3
  type FocusType = 'focus' | 'focus-visible' | 'focus-within';
4
4
  export interface FocusOptions {
5
5
  selector?: string;
6
6
  focusType?: FocusType;
7
+ focusTypeClass?: boolean;
7
8
  inverted?: boolean;
8
9
  insideOnly?: boolean;
9
10
  }
11
+ export declare function addFocusVisibleActive(element: HTMLElement | null): void;
12
+ export declare function removeFocusVisibleActive(element: HTMLElement | null): void;
10
13
  export declare const focus: ({ theme }: {
11
14
  theme: ResolvedTheme;
12
15
  }, options?: FocusOptions) => FlattenSimpleInterpolation;
@@ -0,0 +1,11 @@
1
+ export interface BoxShadow {
2
+ inset: boolean;
3
+ offsetX: string;
4
+ offsetY: string;
5
+ blurRadius?: string;
6
+ spreadRadius?: string;
7
+ color?: string;
8
+ }
9
+ export declare function parseBoxShadow(shadow: string): BoxShadow[];
10
+ export declare function findMaxBottomBoxShadow(shadows: BoxShadow[]): number;
11
+ export declare function findMaxTopBoxShadow(shadows: BoxShadow[]): number;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './box-shadow';
2
+ export * from './size';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Parses a size value from a string to a number.
3
+ * This function doesn't handle units, it simply extracts the numeric part.
4
+ */
5
+ export declare function parseSize(value: string | null | undefined, defaultValue?: number): number;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- export declare function findNearestRelativeParent(element: HTMLElement, doc?: Document): Element | null;
2
1
  export declare function getRootDocument(element: Element | null): DocumentOrShadowRoot | null;
3
2
  export declare function getRootElement(shadowRoot: ShadowRoot | null): Element;
3
+ export declare function activeElementIsInside(element: HTMLElement | null): boolean;
4
4
  export declare function sanitizeId(id: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/design-elements-react",
3
- "version": "9.11.0",
3
+ "version": "9.11.1-snapshot.20260129021021",
4
4
  "description": "React implementation of the Equisoft design system.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/bundle.js",
@@ -9,7 +9,7 @@
9
9
  "build": "webpack --config ./webpack/webpack.config.prod.js",
10
10
  "prepublishOnly": "yarn build",
11
11
  "start": "webpack --config ./webpack/webpack.config.dev.js",
12
- "test": "jest --config=jest.config.js",
12
+ "test": "echo Running Typescript type-checking; tsc -p ./tsconfig.test.json && NODE_ENV=test jest --config=jest.config.js",
13
13
  "test:ci": "yarn test --max-workers=2 --ci",
14
14
  "lint": "yarn eslint && yarn stylelint",
15
15
  "eslint": "eq-eslint src/ test/",
@@ -29,83 +29,82 @@
29
29
  "url": "https://github.com/kronostechnologies/design-elements/issues"
30
30
  },
31
31
  "dependencies": {
32
- "@mui/base": "5.0.0-beta.60",
33
- "@tanstack/react-table": "^8.10.7",
34
- "date-fns": "^4.0.0",
32
+ "@floating-ui/react": "0.27.16",
33
+ "@floating-ui/react-dom": "2.1.6",
34
+ "@floating-ui/utils": "0.2.10",
35
+ "@mui/base": "5.0.0-beta.70",
36
+ "@tanstack/react-table": "8.21.3",
37
+ "date-fns": "4.1.0",
35
38
  "lucide-react": "0.563.0",
36
- "prop-types": "^15.8.1",
37
- "react-datepicker": "^8.0.0",
38
- "react-is": "~17.0.2",
39
- "react-modal": "^3.16.1",
40
- "react-popper-tooltip": "^4.4.2",
41
- "react-shadow": "^20.0.0",
42
- "react-swipeable": "~7.0.0",
43
- "stream-browserify": "^3.0.0"
39
+ "prop-types": "15.8.1",
40
+ "react-datepicker": "8.8.0",
41
+ "react-is": "18.3.1",
42
+ "react-modal": "3.16.3",
43
+ "react-popper-tooltip": "4.4.2",
44
+ "react-shadow": "20.6.0",
45
+ "react-swipeable": "7.0.2",
46
+ "stream-browserify": "3.0.0"
44
47
  },
45
48
  "peerDependencies": {
46
49
  "i18next": ">= 19",
47
- "react": ">= 16",
48
- "react-dom": ">= 16",
50
+ "react": ">= 18",
51
+ "react-dom": ">= 18",
49
52
  "react-router-dom": "^6",
50
- "styled-components": ">= 4"
53
+ "styled-components": "^5"
51
54
  },
52
55
  "devDependencies": {
53
- "@equisoft/eslint-config": "6.0.1",
54
- "@equisoft/eslint-config-typescript-react": "6.0.1",
56
+ "@equisoft/eslint-config": "6.0.2",
57
+ "@equisoft/eslint-config-typescript-react": "6.0.2",
55
58
  "@equisoft/typescript-config": "2.0.0",
56
59
  "@microsoft/eslint-formatter-sarif": "3.1.0",
57
- "@stylistic/eslint-plugin": "5.4.0",
58
- "@svgr/webpack": "^8.1.0",
59
- "@testing-library/dom": "10.4.0",
60
+ "@stylistic/eslint-plugin": "5.7.1",
61
+ "@svgr/webpack": "8.1.0",
62
+ "@swc/core": "1.15.10",
63
+ "@swc/jest": "0.2.39",
64
+ "@testing-library/dom": "10.4.1",
60
65
  "@testing-library/jest-dom": "6.9.1",
61
- "@testing-library/react": "12.1.5",
62
- "@testing-library/react-hooks": "^8.0.1",
66
+ "@testing-library/react": "16.3.2",
63
67
  "@testing-library/user-event": "14.6.1",
64
- "@types/cheerio": "^0.22.31",
65
- "@types/enzyme": "^3.10.13",
66
- "@types/jest": "^29.5.1",
67
- "@types/lodash": "^4.14.186",
68
- "@types/react": "~17.0.58",
69
- "@types/react-dom": "~17.0.20",
70
- "@types/react-modal": "^3.16.0",
71
- "@types/styled-components": "^5.1.26",
72
- "@typescript-eslint/eslint-plugin": "8.46.0",
73
- "@typescript-eslint/parser": "8.46.0",
74
- "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
75
- "cross-env": "^7.0.3",
76
- "css-loader": "^7.0.0",
77
- "enzyme": "^3.11.0",
78
- "enzyme-to-json": "~3.6.2",
68
+ "@types/jest": "30.0.0",
69
+ "@types/lodash": "4.17.23",
70
+ "@types/react": "18.3.27",
71
+ "@types/react-dom": "18.3.7",
72
+ "@types/react-modal": "3.16.3",
73
+ "@types/styled-components": "5.1.36",
74
+ "@typescript-eslint/eslint-plugin": "8.53.1",
75
+ "@typescript-eslint/parser": "8.53.1",
76
+ "cross-env": "10.1.0",
77
+ "css-loader": "7.1.2",
79
78
  "eslint": "8.57.1",
80
79
  "eslint-import-resolver-node": "0.3.9",
81
80
  "eslint-import-resolver-typescript": "4.4.4",
82
81
  "eslint-plugin-import": "2.32.0",
83
82
  "eslint-plugin-jsx-a11y": "6.10.2",
84
83
  "eslint-plugin-react": "7.37.5",
85
- "eslint-plugin-react-hooks": "7.0.0",
86
- "expect": "^29.5.0",
87
- "i18next": "^24.0.0",
88
- "jest": "^29.5.0",
89
- "jest-environment-jsdom": "^29.5.0",
90
- "jest-junit": "^16.0.0",
91
- "jest-styled-components": "^7.1.1",
92
- "jest-util": "30.0.2",
93
- "react": "~17.0.2",
84
+ "eslint-plugin-react-hooks": "7.0.1",
85
+ "expect": "30.2.0",
86
+ "i18next": "25.8.0",
87
+ "jest": "30.2.0",
88
+ "jest-environment-jsdom": "30.2.0",
89
+ "jest-extended": "7.0.0",
90
+ "jest-junit": "16.0.0",
91
+ "jest-styled-components": "7.2.0",
92
+ "react": "18.3.1",
94
93
  "react-docgen-typescript-plugin": "1.0.8",
95
- "react-dom": "~17.0.2",
96
- "react-router-dom": "~6.28.0",
97
- "sass": "~1.77.0",
98
- "sass-loader": "~16.0.0",
99
- "style-loader": "^4.0.0",
100
- "styled-components": "^5.3.10",
101
- "stylelint": "16.8.2",
102
- "ts-jest": "^29.1.0",
103
- "ts-loader": "^9.4.2",
104
- "ts-mockito": "^2.6.1",
105
- "typescript": "5.5.4",
106
- "webpack": "5.94.0",
107
- "webpack-cli": "5.1.4",
94
+ "react-dom": "18.3.1",
95
+ "react-router-dom": "6.30.3",
96
+ "sass": "1.97.3",
97
+ "sass-loader": "16.0.6",
98
+ "style-loader": "4.0.0",
99
+ "styled-components": "5.3.11",
100
+ "stylelint": "17.0.0",
101
+ "ts-jest": "29.4.6",
102
+ "ts-loader": "9.5.4",
103
+ "ts-mockito": "2.6.1",
104
+ "typescript": "5.9.3",
105
+ "webpack": "5.104.1",
106
+ "webpack-cli": "6.0.1",
108
107
  "webpack-merge": "6.0.1",
109
- "yargs": "17.7.2"
108
+ "yargs": "18.0.0"
110
109
  }
111
110
  }
@@ -1,7 +0,0 @@
1
- import { ButtonHTMLAttributes } from 'react';
2
- export type Size = 'small' | 'medium';
3
- export interface AbstractButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
- focusable?: boolean;
5
- isMobile: boolean;
6
- size?: Size;
7
- }
@@ -1,40 +0,0 @@
1
- import { FocusEventHandler, MouseEventHandler, KeyboardEventHandler } from 'react';
2
- import { IconName } from '../icon/icon';
3
- import { Size } from './abstract/types';
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?: Size;
32
- title?: string;
33
- type?: Type;
34
- leftIconName?: IconName;
35
- rightIconName?: IconName;
36
- onClick?: MouseEventHandler<HTMLButtonElement>;
37
- onFocus?: FocusEventHandler<HTMLButtonElement>;
38
- onBlur?: FocusEventHandler<HTMLButtonElement>;
39
- onKeyDown?: KeyboardEventHandler<HTMLButtonElement>;
40
- }
@@ -1 +0,0 @@
1
- export declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
@@ -1,4 +0,0 @@
1
- import { ListboxOption } from '../listbox/listbox';
2
- export interface DropdownListOption extends ListboxOption {
3
- label: string;
4
- }
@@ -1,9 +0,0 @@
1
- import { DropdownListOption } from '../dropdown-list-option';
2
- export declare function optionsAreEqual(option: DropdownListOption, optionToCompare: DropdownListOption): boolean;
3
- export declare function addUniqueOption(newOption: DropdownListOption, options?: DropdownListOption[]): DropdownListOption[];
4
- export declare function removeOption(optionToRemove: DropdownListOption, options?: DropdownListOption[]): DropdownListOption[];
5
- export declare function isOptionEnabled(option: DropdownListOption): boolean;
6
- export declare function disableNonSelectedOptions(options: DropdownListOption[], selectedOptions: DropdownListOption[]): DropdownListOption[];
7
- export declare function getDefaultOptions(value: string | string[] | undefined, options: DropdownListOption[], multiselect?: boolean): DropdownListOption[] | undefined;
8
- export declare function getOptionLabel(option: DropdownListOption): string;
9
- export declare function isOptionSelected(option: DropdownListOption, selectedOptions?: DropdownListOption[]): boolean;
@@ -1,9 +0,0 @@
1
- import { FieldsetProps, LegendProps } from './types';
2
- export declare const StyledLegend: import("styled-components").StyledComponent<"legend", import("styled-components").DefaultTheme, {
3
- $size: LegendProps["size"];
4
- $bold: LegendProps["bold"];
5
- $isMobile: boolean;
6
- }, never>;
7
- export declare const StyledFieldset: import("styled-components").StyledComponent<"fieldset", import("styled-components").DefaultTheme, {
8
- $orientation: FieldsetProps["orientation"];
9
- }, never>;
@@ -1,17 +0,0 @@
1
- import { FieldsetHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
- export type LegendSize = 'small' | 'medium' | 'large';
3
- export interface LegendProps extends HTMLAttributes<HTMLLegendElement> {
4
- className?: string;
5
- size?: LegendSize;
6
- bold?: boolean;
7
- }
8
- export type FieldsetOrientation = 'horizontal' | 'vertical';
9
- type BaseFieldsetProps = Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'disabled' | 'id' | 'aria-disabled' | 'aria-label' | 'role'>;
10
- export interface FieldsetProps extends BaseFieldsetProps {
11
- legend?: Omit<LegendProps, 'children'> & {
12
- text: string;
13
- };
14
- orientation?: FieldsetOrientation;
15
- children: ReactNode;
16
- }
17
- export {};
@@ -1,20 +0,0 @@
1
- import { VoidFunctionComponent } from 'react';
2
- import { IconButtonProps } from '../buttons/icon-button';
3
- import { IconName } from '../icon/icon';
4
- export interface GlobalNavigationItem {
5
- end?: boolean;
6
- href: string;
7
- iconName: IconName;
8
- name: string;
9
- onClick?(): void;
10
- }
11
- interface GlobalNavigationProps {
12
- className?: string;
13
- coreActionButton?: IconButtonProps;
14
- /** Item has an icon name, a name, and a href */
15
- mainItems: GlobalNavigationItem[];
16
- /** Item has an icon name, a name, and a href */
17
- footerItems: GlobalNavigationItem[];
18
- }
19
- export declare const GlobalNavigation: VoidFunctionComponent<GlobalNavigationProps>;
20
- export {};
@@ -1,12 +0,0 @@
1
- import { VoidFunctionComponent } from 'react';
2
- export interface LegendItem {
3
- name: string;
4
- description: string;
5
- color?: string;
6
- }
7
- interface LegendProps {
8
- className?: string;
9
- items: LegendItem[];
10
- }
11
- export declare const Legend: VoidFunctionComponent<LegendProps>;
12
- export {};
@@ -1,5 +0,0 @@
1
- type Value = string | string[];
2
- export declare function findOptionsByValue<T extends {
3
- value: string;
4
- }>(options: T[], searchValue?: Value | undefined): T[];
5
- export {};