@luscii-healthtech/web-ui 58.19.3 → 59.0.0

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 (276) hide show
  1. package/dist/esm/components/Accordion/AccordionItem.js +2 -2
  2. package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
  3. package/dist/esm/components/Avatar/Avatar.js +9 -29
  4. package/dist/esm/components/Avatar/Avatar.js.map +1 -1
  5. package/dist/esm/components/Avatar/AvatarGroup.js +2 -8
  6. package/dist/esm/components/Avatar/AvatarGroup.js.map +1 -1
  7. package/dist/esm/components/Badge/Badge.js +1 -3
  8. package/dist/esm/components/Badge/Badge.js.map +1 -1
  9. package/dist/esm/components/ButtonV2/ButtonV2.js +11 -10
  10. package/dist/esm/components/ButtonV2/ButtonV2.js.map +1 -1
  11. package/dist/esm/components/ButtonV2/PrimaryButton.js +1 -1
  12. package/dist/esm/components/ButtonV2/PrimaryButton.js.map +1 -1
  13. package/dist/esm/components/ButtonV2/SecondaryButton.js +1 -1
  14. package/dist/esm/components/ButtonV2/TertiaryButton.js +1 -1
  15. package/dist/esm/components/Card/Card.js +4 -4
  16. package/dist/esm/components/Card/Card.js.map +1 -1
  17. package/dist/esm/components/CenteredHero/CenteredHero.js +2 -2
  18. package/dist/esm/components/CenteredHero/CenteredHero.js.map +1 -1
  19. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  20. package/dist/esm/components/ConfirmationDialog/ConfirmationDialog.js +1 -1
  21. package/dist/esm/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
  22. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogChoices.js +5 -13
  23. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogChoices.js.map +1 -1
  24. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogMessage.js +1 -1
  25. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogMessage.js.map +1 -1
  26. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogTitle.js +2 -2
  27. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogTitle.js.map +1 -1
  28. package/dist/esm/components/DatePicker/DatePicker.js +2 -3
  29. package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
  30. package/dist/esm/components/EmptyListMessage/EmptyListMessage.js +1 -1
  31. package/dist/esm/components/EmptyListMessage/EmptyListMessage.js.map +1 -1
  32. package/dist/esm/components/FlyOutMenu/FlyOutMenu.js +3 -4
  33. package/dist/esm/components/FlyOutMenu/FlyOutMenu.js.map +1 -1
  34. package/dist/esm/components/InfoField/InfoField.js +1 -1
  35. package/dist/esm/components/InfoField/InfoField.js.map +1 -1
  36. package/dist/esm/components/Input/SearchInput.js.map +1 -1
  37. package/dist/esm/components/MediaPicker/ImageCategory.js +1 -1
  38. package/dist/esm/components/MediaPicker/ImageCategory.js.map +1 -1
  39. package/dist/esm/components/MediaPicker/MediaPicker.js +1 -1
  40. package/dist/esm/components/MediaPicker/MediaPicker.js.map +1 -1
  41. package/dist/esm/components/Modal/FullPageModal.js +2 -2
  42. package/dist/esm/components/Modal/FullPageModal.js.map +1 -1
  43. package/dist/esm/components/Modal/FullPageModalHeader.js +2 -3
  44. package/dist/esm/components/Modal/FullPageModalHeader.js.map +1 -1
  45. package/dist/esm/components/Modal/ModalBase.js +1 -1
  46. package/dist/esm/components/Modal/ModalBase.js.map +1 -1
  47. package/dist/esm/components/Modal/ModalFooter.js +3 -5
  48. package/dist/esm/components/Modal/ModalFooter.js.map +1 -1
  49. package/dist/esm/components/Modal/ModalHeader.js +2 -2
  50. package/dist/esm/components/Modal/ModalHeader.js.map +1 -1
  51. package/dist/esm/components/Page/CRUDPage.js +3 -7
  52. package/dist/esm/components/Page/CRUDPage.js.map +1 -1
  53. package/dist/esm/components/Page/Page.js +2 -2
  54. package/dist/esm/components/Page/Page.js.map +1 -1
  55. package/dist/esm/components/PaginationMenu/PaginationMenu.js +1 -1
  56. package/dist/esm/components/PaginationMenu/PaginationMenu.js.map +1 -1
  57. package/dist/esm/components/RangeCoverage/RangeCoverage.js +2 -2
  58. package/dist/esm/components/RangeCoverage/RangeCoverage.js.map +1 -1
  59. package/dist/esm/components/Section/Section.js.map +1 -1
  60. package/dist/esm/components/Section/SectionItemWithContent.js +1 -1
  61. package/dist/esm/components/Section/SectionItemWithContent.js.map +1 -1
  62. package/dist/esm/components/Section/subcomponents/SectionHeader.js +2 -2
  63. package/dist/esm/components/Section/subcomponents/SectionHeader.js.map +1 -1
  64. package/dist/esm/components/SettingsMenuButton/SettingsMenuButton.js +3 -3
  65. package/dist/esm/components/SettingsMenuButton/SettingsMenuButton.js.map +1 -1
  66. package/dist/esm/components/Switcher/SwitcherItem.js +1 -1
  67. package/dist/esm/components/Switcher/SwitcherItem.js.map +1 -1
  68. package/dist/esm/components/Table/TableBodyRowDataCell.js +2 -1
  69. package/dist/esm/components/Table/TableBodyRowDataCell.js.map +1 -1
  70. package/dist/esm/components/Tag/TagGroup.js +2 -3
  71. package/dist/esm/components/Tag/TagGroup.js.map +1 -1
  72. package/dist/esm/components/Text/Text.js +7 -15
  73. package/dist/esm/components/Text/Text.js.map +1 -1
  74. package/dist/esm/components/TextEditor/LinkTooltip.js +1 -1
  75. package/dist/esm/components/TextEditor/LinkTooltip.js.map +1 -1
  76. package/dist/esm/components/Timeline/TimelineHeader.js +2 -2
  77. package/dist/esm/components/Timeline/TimelineHeader.js.map +1 -1
  78. package/dist/esm/components/Timeline/TimelineStep.js +1 -1
  79. package/dist/esm/components/Timeline/TimelineStep.js.map +1 -1
  80. package/dist/esm/components/TimelineCard/TimelineCard.js +6 -8
  81. package/dist/esm/components/TimelineCard/TimelineCard.js.map +1 -1
  82. package/dist/esm/components/Title/PageTitle.js +1 -0
  83. package/dist/esm/components/Title/PageTitle.js.map +1 -1
  84. package/dist/esm/index.js +2 -20
  85. package/dist/esm/index.js.map +1 -1
  86. package/dist/esm/system/Sizes.js.map +1 -1
  87. package/dist/index.development.js +668 -1139
  88. package/dist/index.development.js.map +1 -1
  89. package/dist/index.js +1 -1
  90. package/dist/index.js.map +1 -1
  91. package/dist/src/components/Avatar/Avatar.d.ts +9 -42
  92. package/dist/src/components/Badge/Badge.d.ts +0 -4
  93. package/dist/src/components/ButtonV2/ButtonProps.type.d.ts +0 -13
  94. package/dist/src/components/Card/Card.d.ts +2 -2
  95. package/dist/src/components/Checkbox/Checkbox.d.ts +2 -11
  96. package/dist/src/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +1 -1
  97. package/dist/src/components/DatePicker/DatePicker.d.ts +0 -10
  98. package/dist/src/components/EmptyListMessage/EmptyListMessage.d.ts +1 -5
  99. package/dist/src/components/FlyOutMenu/FlyOutMenu.d.ts +0 -4
  100. package/dist/src/components/Input/SearchInput.d.ts +0 -11
  101. package/dist/src/components/Modal/FullPageModal.d.ts +0 -10
  102. package/dist/src/components/Modal/FullPageModalHeader.d.ts +0 -7
  103. package/dist/src/components/Modal/ModalFooter.d.ts +0 -17
  104. package/dist/src/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +0 -4
  105. package/dist/src/components/Page/CRUDPage.types.d.ts +0 -25
  106. package/dist/src/components/PaginationMenu/PaginationMenu.types.d.ts +5 -16
  107. package/dist/src/components/Section/Section.d.ts +0 -4
  108. package/dist/src/components/Table/Table.types.d.ts +6 -3
  109. package/dist/src/components/Tag/TagGroup.d.ts +1 -17
  110. package/dist/src/components/Text/Text.d.ts +0 -33
  111. package/dist/src/components/Timeline/TimelineHeader.d.ts +3 -3
  112. package/dist/src/components/TimelineCard/TimelineCard.d.ts +2 -21
  113. package/dist/src/components/Title/PageTitle.d.ts +1 -0
  114. package/dist/src/generated/components/Avatar/Avatar.d.ts +9 -42
  115. package/dist/src/generated/components/Badge/Badge.d.ts +0 -4
  116. package/dist/src/generated/components/ButtonV2/ButtonProps.type.d.ts +0 -13
  117. package/dist/src/generated/components/Card/Card.d.ts +2 -2
  118. package/dist/src/generated/components/Checkbox/Checkbox.d.ts +2 -11
  119. package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +1 -1
  120. package/dist/src/generated/components/DatePicker/DatePicker.d.ts +0 -10
  121. package/dist/src/generated/components/EmptyListMessage/EmptyListMessage.d.ts +1 -5
  122. package/dist/src/generated/components/FlyOutMenu/FlyOutMenu.d.ts +0 -4
  123. package/dist/src/generated/components/Input/SearchInput.d.ts +0 -11
  124. package/dist/src/generated/components/Modal/FullPageModal.d.ts +0 -10
  125. package/dist/src/generated/components/Modal/FullPageModalHeader.d.ts +0 -7
  126. package/dist/src/generated/components/Modal/ModalFooter.d.ts +0 -17
  127. package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +0 -4
  128. package/dist/src/generated/components/Page/CRUDPage.types.d.ts +0 -25
  129. package/dist/src/generated/components/PaginationMenu/PaginationMenu.types.d.ts +5 -16
  130. package/dist/src/generated/components/Section/Section.d.ts +0 -4
  131. package/dist/src/generated/components/Table/Table.types.d.ts +6 -3
  132. package/dist/src/generated/components/Tag/TagGroup.d.ts +1 -17
  133. package/dist/src/generated/components/Text/Text.d.ts +0 -33
  134. package/dist/src/generated/components/Timeline/TimelineHeader.d.ts +3 -3
  135. package/dist/src/generated/components/TimelineCard/TimelineCard.d.ts +2 -21
  136. package/dist/src/generated/components/Title/PageTitle.d.ts +1 -0
  137. package/dist/src/generated/index.d.ts +2 -11
  138. package/dist/src/generated/system/Sizes.d.ts +2 -5
  139. package/dist/src/index.d.ts +2 -11
  140. package/dist/src/system/Sizes.d.ts +2 -5
  141. package/dist/stories/AccordionListRecipe.stories.d.ts +1 -2
  142. package/dist/stories/ActionController.stories.d.ts +6 -6
  143. package/dist/stories/AsideLayout.stories.d.ts +6 -6
  144. package/dist/stories/Avatar.stories.d.ts +4 -9
  145. package/dist/stories/Badge.stories.d.ts +0 -1
  146. package/dist/stories/Box.stories.d.ts +2 -2
  147. package/dist/stories/DatePicker.stories.d.ts +0 -1
  148. package/dist/stories/DetailsDisclosure.stories.d.ts +1669 -1669
  149. package/dist/stories/Divider.stories.d.ts +12 -12
  150. package/dist/stories/FullPageModal.stories.d.ts +0 -11
  151. package/dist/stories/HoverIndicatorControl.stories.d.ts +6 -6
  152. package/dist/stories/LabeledDatePicker.stories.d.ts +0 -1
  153. package/dist/stories/ListRecipe.stories.d.ts +1 -2
  154. package/dist/stories/ModalDialog.stories.d.ts +3553 -3553
  155. package/dist/stories/NaturalLanguageForm.stories.d.ts +0 -4
  156. package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +18 -18
  157. package/dist/stories/PrimaryTabBar.stories.d.ts +44 -44
  158. package/dist/stories/Section.stories.d.ts +6 -6
  159. package/dist/stories/SplitViewLayout.stories.d.ts +6 -6
  160. package/dist/stories/StyledOrderedList.stories.d.ts +44 -44
  161. package/dist/stories/StyledUnorderedList.stories.d.ts +44 -44
  162. package/dist/stories/Tabs.stories.d.ts +6 -6
  163. package/dist/stories/Text.stories.d.ts +0 -20
  164. package/dist/stories/TextColors.stories.d.ts +0 -1
  165. package/dist/stories/TextLegacy.stories.d.ts +0 -3
  166. package/dist/stories/TimelineCard.stories.d.ts +0 -8
  167. package/dist/stories/TimelineCardLayout.stories.d.ts +6 -6
  168. package/dist/stories/VerticalMenu.stories.d.ts +6 -6
  169. package/dist/web-ui-tailwind.css +0 -127
  170. package/package.json +1 -7
  171. package/dist/esm/components/AccordionList/AccordionList.js +0 -74
  172. package/dist/esm/components/AccordionList/AccordionList.js.map +0 -1
  173. package/dist/esm/components/AccordionList/subcomponents/AccordionListActions.js +0 -8
  174. package/dist/esm/components/AccordionList/subcomponents/AccordionListActions.js.map +0 -1
  175. package/dist/esm/components/BaseList/BaseList.js +0 -28
  176. package/dist/esm/components/BaseList/BaseList.js.map +0 -1
  177. package/dist/esm/components/BaseList/BaseListEmptyState.js +0 -14
  178. package/dist/esm/components/BaseList/BaseListEmptyState.js.map +0 -1
  179. package/dist/esm/components/BaseList/BaseListHeader.js +0 -24
  180. package/dist/esm/components/BaseList/BaseListHeader.js.map +0 -1
  181. package/dist/esm/components/BaseList/BaseListIcon.js +0 -19
  182. package/dist/esm/components/BaseList/BaseListIcon.js.map +0 -1
  183. package/dist/esm/components/BaseList/BaseListItem.js +0 -40
  184. package/dist/esm/components/BaseList/BaseListItem.js.map +0 -1
  185. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseList.js +0 -12
  186. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseList.js.map +0 -1
  187. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseListItem.js +0 -22
  188. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseListItem.js.map +0 -1
  189. package/dist/esm/components/BaseList/ListSkeleton/ListItemSkeleton.js +0 -8
  190. package/dist/esm/components/BaseList/ListSkeleton/ListItemSkeleton.js.map +0 -1
  191. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.js +0 -13
  192. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.js.map +0 -1
  193. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.scss.js +0 -5
  194. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.scss.js.map +0 -1
  195. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseList.js +0 -13
  196. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseList.js.map +0 -1
  197. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseListItem.js +0 -28
  198. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseListItem.js.map +0 -1
  199. package/dist/esm/components/BaseList/utils.js +0 -29
  200. package/dist/esm/components/BaseList/utils.js.map +0 -1
  201. package/dist/esm/components/List/List.js +0 -125
  202. package/dist/esm/components/List/List.js.map +0 -1
  203. package/dist/esm/components/List/ListItem.js +0 -16
  204. package/dist/esm/components/List/ListItem.js.map +0 -1
  205. package/dist/esm/components/Radio/RadioV2.js +0 -19
  206. package/dist/esm/components/Radio/RadioV2.js.map +0 -1
  207. package/dist/esm/components/RadioGroup/RadioGroupV2.js +0 -22
  208. package/dist/esm/components/RadioGroup/RadioGroupV2.js.map +0 -1
  209. package/dist/esm/components/TextLink/TextLink.js +0 -19
  210. package/dist/esm/components/TextLink/TextLink.js.map +0 -1
  211. package/dist/esm/components/Title/Title.js +0 -51
  212. package/dist/esm/components/Title/Title.js.map +0 -1
  213. package/dist/src/components/AccordionList/AccordionList.d.ts +0 -54
  214. package/dist/src/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
  215. package/dist/src/components/BaseList/BaseList.d.ts +0 -7
  216. package/dist/src/components/BaseList/BaseList.types.d.ts +0 -88
  217. package/dist/src/components/BaseList/BaseListEmptyState.d.ts +0 -7
  218. package/dist/src/components/BaseList/BaseListHeader.d.ts +0 -4
  219. package/dist/src/components/BaseList/BaseListIcon.d.ts +0 -5
  220. package/dist/src/components/BaseList/BaseListItem.d.ts +0 -4
  221. package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
  222. package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
  223. package/dist/src/components/BaseList/DraggableBaseList/index.d.ts +0 -2
  224. package/dist/src/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
  225. package/dist/src/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -13
  226. package/dist/src/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
  227. package/dist/src/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
  228. package/dist/src/components/BaseList/SortableBaseList/index.d.ts +0 -2
  229. package/dist/src/components/BaseList/index.d.ts +0 -6
  230. package/dist/src/components/BaseList/utils.d.ts +0 -10
  231. package/dist/src/components/List/List.d.ts +0 -8
  232. package/dist/src/components/List/List.types.d.ts +0 -30
  233. package/dist/src/components/List/ListItem.d.ts +0 -4
  234. package/dist/src/components/List/index.d.ts +0 -5
  235. package/dist/src/components/Radio/RadioV2.d.ts +0 -23
  236. package/dist/src/components/RadioGroup/RadioGroupV2.d.ts +0 -23
  237. package/dist/src/components/TextLink/TextLink.d.ts +0 -14
  238. package/dist/src/components/Title/Title.d.ts +0 -44
  239. package/dist/src/generated/components/AccordionList/AccordionList.d.ts +0 -54
  240. package/dist/src/generated/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
  241. package/dist/src/generated/components/BaseList/BaseList.d.ts +0 -7
  242. package/dist/src/generated/components/BaseList/BaseList.types.d.ts +0 -88
  243. package/dist/src/generated/components/BaseList/BaseListEmptyState.d.ts +0 -7
  244. package/dist/src/generated/components/BaseList/BaseListHeader.d.ts +0 -4
  245. package/dist/src/generated/components/BaseList/BaseListIcon.d.ts +0 -5
  246. package/dist/src/generated/components/BaseList/BaseListItem.d.ts +0 -4
  247. package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
  248. package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
  249. package/dist/src/generated/components/BaseList/DraggableBaseList/index.d.ts +0 -2
  250. package/dist/src/generated/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
  251. package/dist/src/generated/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -13
  252. package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
  253. package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
  254. package/dist/src/generated/components/BaseList/SortableBaseList/index.d.ts +0 -2
  255. package/dist/src/generated/components/BaseList/index.d.ts +0 -6
  256. package/dist/src/generated/components/BaseList/utils.d.ts +0 -10
  257. package/dist/src/generated/components/List/List.d.ts +0 -8
  258. package/dist/src/generated/components/List/List.types.d.ts +0 -30
  259. package/dist/src/generated/components/List/ListItem.d.ts +0 -4
  260. package/dist/src/generated/components/List/index.d.ts +0 -5
  261. package/dist/src/generated/components/Radio/RadioV2.d.ts +0 -23
  262. package/dist/src/generated/components/RadioGroup/RadioGroupV2.d.ts +0 -23
  263. package/dist/src/generated/components/TextLink/TextLink.d.ts +0 -14
  264. package/dist/src/generated/components/Title/Title.d.ts +0 -44
  265. package/dist/stories/AccordionList.stories.d.ts +0 -120
  266. package/dist/stories/BaseList.stories.d.ts +0 -16
  267. package/dist/stories/Checkbox.stories.d.ts +0 -61
  268. package/dist/stories/DraggableAccordionList.stories.d.ts +0 -11
  269. package/dist/stories/DraggableList.stories.d.ts +0 -9
  270. package/dist/stories/EmptyListMessage.stories.d.ts +0 -32
  271. package/dist/stories/List.stories.d.ts +0 -248
  272. package/dist/stories/RadioGroupV2.stories.d.ts +0 -37
  273. package/dist/stories/RadioV2.stories.d.ts +0 -42
  274. package/dist/stories/SortableList.stories.d.ts +0 -9
  275. package/dist/stories/TextLink.stories.d.ts +0 -10
  276. package/dist/stories/Title.stories.d.ts +0 -16
@@ -1,46 +1,10 @@
1
1
  import type { ReactNode, FC } from "react";
2
- /**
3
- * @deprecated Use `isSelf` instead: `primary` -> `isSelf`, `slate` ->
4
- * `isSelf={false}`. The design system models this as who the avatar
5
- * belongs to, not as a color, and these names no longer describe the
6
- * colors that are actually rendered.
7
- */
8
- type AvatarColor = "primary" | "slate";
9
2
  /**
10
3
  * The sizes defined by the design system. Their actual dimensions come
11
4
  * from the semantic size tokens in `avatarSizeTokens`, so they follow
12
5
  * the design whenever the tokens are re-exported.
13
6
  */
14
7
  type AvatarSize = "xs" | "s" | "m";
15
- /**
16
- * @deprecated Use the design system sizes instead: `xsmall` -> `xs`,
17
- * `small` -> `s`, `medium` -> `m`. `large` has no equivalent in the
18
- * design system and will be removed in a future major release.
19
- */
20
- type LegacyAvatarSize = "large" | "medium" | "small" | "xsmall";
21
- type AvatarSizeProp = AvatarSize | LegacyAvatarSize;
22
- /**
23
- * Union to prevent both "isSelf" and the deprecated "color" from being
24
- * used at the same time, which would otherwise silently let one of them
25
- * win. Passing both is a type error.
26
- */
27
- type ColorProps = {
28
- /**
29
- * Whether the avatar belongs to the current user. Self avatars are
30
- * rendered in the brand color, everyone else in neutral.
31
- *
32
- * @default false
33
- */
34
- isSelf?: boolean;
35
- color?: never;
36
- } | {
37
- /**
38
- * @deprecated Use `isSelf` instead: `primary` -> `isSelf`,
39
- * `slate` -> `isSelf={false}`.
40
- */
41
- color: AvatarColor;
42
- isSelf?: never;
43
- };
44
8
  /**
45
9
  * Union to prevent both "initials" and "children" to be used at the same time.
46
10
  */
@@ -62,13 +26,16 @@ type Props = {
62
26
  */
63
27
  alt?: string;
64
28
  /**
65
- * Size of the avatar. Prefer the current sizes `xs`, `s` and `m`. The
66
- * `xsmall` / `small` / `medium` spellings are deprecated aliases of
67
- * those, and `large` is deprecated without a replacement.
68
- *
69
29
  * @default "m"
70
30
  */
71
- size?: AvatarSizeProp;
31
+ size?: AvatarSize;
32
+ /**
33
+ * Whether the avatar belongs to the current user. Self avatars are
34
+ * rendered in the brand color, everyone else in neutral.
35
+ *
36
+ * @default false
37
+ */
38
+ isSelf?: boolean;
72
39
  /**
73
40
  * URL to an image to be used as the default image.
74
41
  * If this is set, the image provided via `src` will never render.
@@ -80,7 +47,7 @@ type Props = {
80
47
  * makes it so that the avatars overlap each other a bit, as designed.
81
48
  */
82
49
  applyGroupOffset?: boolean;
83
- } & BaseProps & ColorProps;
50
+ } & BaseProps;
84
51
  /**
85
52
  * Displays a badge-style avatar. Keep in mind that
86
53
  * you can only use `initials` or `children`, not both.
@@ -1,9 +1,5 @@
1
1
  import { type FC } from "react";
2
2
  type BadgeProps = {
3
- /**
4
- * @deprecated, use children instead
5
- */
6
- badgeCount?: number;
7
3
  className?: string;
8
4
  children: string | number;
9
5
  };
@@ -1,5 +1,4 @@
1
1
  import type { Attributes, ComponentPropsWithRef, FC, ReactNode } from "react";
2
- import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
3
2
  import { type TextColor, type TextHoverColor } from "../Text/Text";
4
3
  /**
5
4
  * Properties that are present in all variants of the button
@@ -8,14 +7,6 @@ import { type TextColor, type TextHoverColor } from "../Text/Text";
8
7
  export interface BaseButtonProps extends ComponentPropsWithRef<"button"> {
9
8
  size?: "medium" | "large";
10
9
  children?: ReactNode;
11
- /**
12
- * @deprecated Use `children` instead.
13
- */
14
- text?: string;
15
- /**
16
- * @deprecated Use `leadingIcon` instead.
17
- */
18
- icon?: FC<IconProps> | IconKey;
19
10
  /**
20
11
  * Icon that will be rendered before the text. You need to
21
12
  * pass in the rendered icon component, not the key.
@@ -36,10 +27,6 @@ export interface BaseButtonProps extends ComponentPropsWithRef<"button"> {
36
27
  * ````
37
28
  */
38
29
  trailingIcon?: ReactNode;
39
- /**
40
- * @deprecated use `disabled` instead.
41
- */
42
- isDisabled?: boolean;
43
30
  className?: string;
44
31
  dataTestId?: string;
45
32
  /**
@@ -1,7 +1,7 @@
1
1
  import type { ComponentProps, ElementType, ReactNode } from "react";
2
2
  import type { ELEVATION } from "../../system/Elevation.js";
3
3
  import { Box } from "../Box/Box";
4
- import { type TitleProps } from "../Title/Title";
4
+ import { Heading } from "../Heading/Heading";
5
5
  type TitleAndMaybeActions = {
6
6
  title: string;
7
7
  /**
@@ -72,7 +72,7 @@ export type Props<C extends ElementType = "div"> = ComponentProps<typeof Box<C>>
72
72
  } & TitleAndMaybeActions;
73
73
  export declare function Card<C extends ElementType = "div">(props: Props<C>): import("react").JSX.Element;
74
74
  export declare namespace Card {
75
- var Title: (props: TitleProps) => import("react").JSX.Element;
75
+ var Title: (props: ComponentProps<typeof Heading>) => import("react").JSX.Element;
76
76
  var TopBar: import("react").FC<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
77
77
  children?: ReactNode;
78
78
  }> & {
@@ -66,16 +66,7 @@ export interface CheckboxProps {
66
66
  renderLabel?: (props: CheckboxProps) => JSX.Element | null;
67
67
  }
68
68
  /**
69
- * @deprecated - use `LabeledCheckbox` components in a `LabeledCheckboxGroup` instead.
70
- *
71
- * E.g. with React Hook Form:
72
- *
73
- * @example
74
- * ```tsx
75
- * <LabeledCheckboxGroup>
76
- * <LabeledCheckbox {...register("orderedMeals")} label="Anchovies pasta" value="anchovies-pasta" />
77
- * <LabeledCheckbox {...register("orderedMeals")} label="Banana dessert" value="banana-dessert" />
78
- * </LabeledCheckboxGroup>
79
- * ```
69
+ * Internal: used by `Table` and `SettingsMenuButton`. Not exported; consumers use
70
+ * `LabeledCheckbox` in a `LabeledCheckboxGroup`.
80
71
  */
81
72
  export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,4 +1,4 @@
1
- import type { FC } from "react";
1
+ import { type FC } from "react";
2
2
  import { type ConfirmationDialogChoice, type ConfirmationDialogProps } from "./types/ConfirmationDialog.types";
3
3
  export declare const ConfirmationDialogChoices: FC<{
4
4
  choices: ConfirmationDialogProps["choices"];
@@ -1,4 +1,3 @@
1
- import { LOCALE_MAP } from "../../system/Locale.js";
2
1
  import "react-datepicker/dist/react-datepicker.min.css";
3
2
  import "./DatePicker.scss";
4
3
  /**
@@ -24,15 +23,6 @@ type ReactDatePickerProps = {
24
23
  popperZIndex?: 10 | 20 | 30 | 40 | 50;
25
24
  };
26
25
  export type DatePickerProps = {
27
- /**
28
- * @deprecated please use the LocaleContext instead
29
- *
30
- * The locale determines the language and formatting of the dates
31
- * shown in this component. E.g. for "nl-NL" the date will be
32
- * shown as "dd-mm-yyyy", while for "en-GB" it shows as "dd/mm/yyyy".
33
- *
34
- */
35
- locale?: keyof typeof LOCALE_MAP;
36
26
  className?: string;
37
27
  selected?: Date;
38
28
  hasCloseButton?: boolean;
@@ -11,11 +11,7 @@ type EmptyListMessageProps = {
11
11
  className?: string;
12
12
  };
13
13
  /**
14
- * @deprecated Use `CenteredHero` instead: `text` -> `text`, `imageName` -> `image`
15
- * (pass the image URL; the three bundled illustrations are not exported, so import
16
- * your app's copy), `dataTestId` -> `dataTestId`. Pass `background="white"` to keep
17
- * the white background. `className` has no equivalent: wrap `CenteredHero` in an
18
- * element to add margin. See the EmptyListMessage story for the full migration.
14
+ * Internal: `Table`'s empty state. Not exported; consumers use `CenteredHero`.
19
15
  */
20
16
  export declare const EmptyListMessage: ({ text, imageName, dataTestId, className, }: EmptyListMessageProps) => JSX.Element;
21
17
  export {};
@@ -27,10 +27,6 @@ declare const FlyOutMenuSeparator: React.ForwardRefExoticComponent<Omit<FlyOutMe
27
27
  color?: "divider" | "interactive";
28
28
  } & React.RefAttributes<HTMLDivElement>>;
29
29
  type ButtonItemProps = React.ComponentPropsWithoutRef<typeof FlyOutMenuItem> & {
30
- /**
31
- * @deprecated use leadingIcon instead
32
- */
33
- icon?: React.ReactNode;
34
30
  children?: React.ReactNode;
35
31
  leadingIcon?: React.ReactNode;
36
32
  trailingIcon?: React.ReactNode;
@@ -8,17 +8,6 @@ export type SearchInputProps = Omit<InputProps, "icon" | "type" | "width" | "cle
8
8
  * at a later stage.
9
9
  */
10
10
  width?: InputProps["width"];
11
- /**
12
- * @deprecated
13
- * A search input should never be used in a form with multiple fields.
14
- */
15
- asFormField?: InputProps["asFormField"];
16
- /**
17
- * @deprecated
18
- * A search input should never be in error state, because the
19
- * user cannot do anything wrong when typing in this field.
20
- */
21
- isError?: InputProps["isError"];
22
11
  };
23
12
  export declare const SearchInput: React.ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
24
13
  export {};
@@ -1,21 +1,11 @@
1
1
  import type { FC, ReactNode, MouseEvent, KeyboardEvent } from "react";
2
2
  import ReactModal from "react-modal";
3
- import { type PrimaryButtonProps } from "../ButtonV2/ButtonProps.type";
4
3
  import { FullPageModalActions } from "./subcomponents/FullPageModalActions";
5
4
  export type FullPageModalProps = {
6
5
  children: ReactNode;
7
6
  isOpen?: boolean;
8
7
  title: string;
9
8
  dataTestId?: string;
10
- /**
11
- * @deprecated
12
- * Use the `actions` prop to render any button(s)
13
- * or other component(s) automatically in the correct area.
14
- *
15
- * This prop will only render a button when the actions prop is omitted.
16
- * The actions prop takes precedence over this prop if they're both passed.
17
- */
18
- primaryButtonProps?: PrimaryButtonProps;
19
9
  /**
20
10
  * Render buttons or other action components in the area meant for actions.
21
11
  * To correctly space out the actions wrap them in a FullPageModal.Actions component.
@@ -1,13 +1,6 @@
1
1
  import type { FC, ReactNode } from "react";
2
- import { type PrimaryButtonProps } from "../ButtonV2/ButtonProps.type";
3
2
  export type FullPageModalHeaderProps = {
4
3
  title: string;
5
- /**
6
- * @deprecated
7
- * Use the `actions` prop to render any button(s)
8
- * or other component(s) automatically in the correct area.
9
- */
10
- primaryButtonProps?: PrimaryButtonProps;
11
4
  actions?: ReactNode;
12
5
  };
13
6
  export declare const FullPageModalHeader: FC<FullPageModalHeaderProps>;
@@ -1,26 +1,9 @@
1
1
  import type { FC, ReactNode } from "react";
2
- import { type ButtonWithPendingStateProps, type NonPrimaryButtonProps, type PrimaryButtonProps } from "../ButtonV2/ButtonProps.type";
3
2
  export interface ModalFooterTrailingComponents {
4
- /**
5
- * @deprecated props accepting props from other components should accept components instead.
6
- * Use primaryButton instead
7
- */
8
- primaryButtonProps?: PrimaryButtonProps;
9
3
  primaryButton: ReactNode;
10
- /**
11
- * @deprecated props accepting props from other components should accept components instead.
12
- * Use secondaryButton instead
13
- */
14
- secondaryButtonProps?: NonPrimaryButtonProps;
15
4
  secondaryButton?: ReactNode;
16
5
  }
17
- export type ModalFooterLeadingComponent = string | ButtonWithPendingStateProps;
18
6
  export type ModalFooterProps = {
19
- /**
20
- * @deprecated props accepting props from other components should accept components instead.
21
- * Use footerLeadingAccessory instead
22
- */
23
- footerLeadingComponent?: ModalFooterLeadingComponent;
24
7
  footerLeadingAccessory?: string | ReactNode;
25
8
  footerTrailingComponents: ModalFooterTrailingComponents;
26
9
  };
@@ -37,13 +37,9 @@ declare const NaturalLanguageFormWithSubComponents: React.ForwardRefExoticCompon
37
37
  Text: {
38
38
  (props: Omit<any, "ref"> & {
39
39
  as?: React.ElementType | undefined;
40
- text?: string;
41
- type?: import("../Text/Text").TextStyle;
42
40
  variant?: import("../Text/Text").TextStyle;
43
- inline?: boolean;
44
41
  color?: import("../Text/Text").TextColor;
45
42
  hoverColor?: import("../Text/Text").TextHoverColor;
46
- hoverInGroup?: boolean;
47
43
  className?: string;
48
44
  containsDangerousHtml?: boolean;
49
45
  truncate?: boolean;
@@ -1,34 +1,12 @@
1
- import type { BaseButtonProps } from "../ButtonV2/ButtonProps.type";
2
1
  import type { PageHeaderProps } from "../PageHeader";
3
- type CRUDPageButtonProps = Pick<BaseButtonProps, "onClick" | "text" | "isDisabled" | "form" | "type">;
4
2
  type CRUDPageTitle = {
5
3
  text: string;
6
- /**
7
- * @deprecated
8
- * We don't want to show icons in the page title anymore.
9
- */
10
- icon?: string;
11
4
  };
12
5
  type CRUDPageHeader = Omit<PageHeaderProps, "navigation" | "isPolling" | "accessories">;
13
6
  type CRUDPagePropsWithoutHeaderOrTitle = {
14
7
  dataTestId?: string;
15
- /**
16
- * @deprecated use accessory instead
17
- */
18
- submitButtonProps?: CRUDPageButtonProps;
19
- /**
20
- * @deprecated use accessory instead
21
- */
22
- cancelButtonProps?: CRUDPageButtonProps;
23
8
  className?: string;
24
9
  isLoading?: boolean;
25
- /**
26
- * @deprecated Instead, show the loading indicator in the submit button directly
27
- * if you want to show a loading state in the submit button.
28
- *
29
- * @example submitButton={<PrimaryButton isPending={true}>Submit</PrimaryButton>}
30
- */
31
- isSubmitting?: boolean;
32
10
  children?: React.ReactNode;
33
11
  steps?: {
34
12
  titles: Array<string>;
@@ -59,9 +37,6 @@ type CRUDPagePropsWithoutHeaderOrTitle = {
59
37
  /**
60
38
  * Rendered directly below the children of this component.
61
39
  * Used for e.g. submit and cancel buttons.
62
- *
63
- * Will override the deprecated submitButtonProps and cancelButtonProps if provided, so
64
- * please make sure to include them.
65
40
  */
66
41
  accessory?: React.ReactNode;
67
42
  };
@@ -2,27 +2,16 @@ export type PaginationMenuProps = {
2
2
  className?: string;
3
3
  /** Defaults to "large" if not supplied */
4
4
  type?: "small" | "large" | "cursor";
5
- /** @deprecated use type instead */
6
- small?: boolean;
7
5
  pageSize?: PageSize;
8
6
  } & (PaginationMenuPropsSmall | PaginationMenuPropsLarge | PaginationMenuPropsCursor);
9
- type PaginationMenuPropsSmall = ({
7
+ type PaginationMenuPropsSmall = {
10
8
  type: "small";
11
- small?: never;
12
- } | {
13
- small: true;
14
- type?: never;
15
- }) & PaginationMenuSmallProps;
16
- type PaginationMenuPropsLarge = ({
17
- type: "large";
18
- small?: never;
19
- } | {
20
- small?: false | undefined;
21
- type?: never;
22
- }) & PaginationMenuLargeProps;
9
+ } & PaginationMenuSmallProps;
10
+ type PaginationMenuPropsLarge = {
11
+ type?: "large";
12
+ } & PaginationMenuLargeProps;
23
13
  type PaginationMenuPropsCursor = {
24
14
  type: "cursor";
25
- small?: never;
26
15
  } & PaginationMenuCursorProps;
27
16
  export interface PaginationMenuSmallProps {
28
17
  /**
@@ -21,9 +21,5 @@ type Props = BoxProps<"section"> & {
21
21
  */
22
22
  headerTitle?: ReactNode;
23
23
  };
24
- /**
25
- * @deprecated use `React.ComponentProps<typeof Section>` instead
26
- */
27
- export type SectionProps = Props;
28
24
  export declare const Section: FC<Props>;
29
25
  export default Section;
@@ -1,5 +1,5 @@
1
- import type { JSX } from "react";
2
- import { type BaseButtonProps } from "../ButtonV2/ButtonProps.type";
1
+ import type { FC, JSX } from "react";
2
+ import type { IconKey, IconProps } from "../Icons/types/IconProps.type";
3
3
  type TableFieldConfigBase = {
4
4
  key: string;
5
5
  headerText?: string;
@@ -31,7 +31,10 @@ export interface TableFieldText {
31
31
  color: "red" | "amber" | "green" | "gray" | "blue";
32
32
  };
33
33
  }
34
- export type TableFieldAction<Item> = Pick<BaseButtonProps, "isDisabled" | "title" | "icon"> & {
34
+ export type TableFieldAction<Item> = {
35
+ isDisabled?: boolean;
36
+ title?: string;
37
+ icon?: FC<IconProps> | IconKey;
35
38
  key: string;
36
39
  /**
37
40
  * @param item - the data in the row when this clicked
@@ -1,22 +1,6 @@
1
1
  import type { FC, ReactNode } from "react";
2
- import { type Props as TagProps } from "./Tag";
3
- interface PropsWithTags {
4
- /**
5
- * @deprecated Use `children` instead
6
- */
7
- tags?: TagProps[];
8
- /**
9
- * @deprecated Size of each tag rendered as a child is dictated by this child itself.
10
- */
11
- tagSize?: TagProps["_size"];
12
- children?: never;
13
- }
14
- interface PropsWithChildren {
15
- tags?: never;
16
- tagSize?: never;
2
+ type Props = {
17
3
  children?: ReactNode;
18
- }
19
- type Props = (PropsWithTags | PropsWithChildren) & {
20
4
  className?: string;
21
5
  };
22
6
  export declare const TagGroup: FC<Props>;
@@ -74,35 +74,12 @@ export type TextStyle = keyof typeof allowedTextStyles;
74
74
  */
75
75
  export type LegacyTextProps<C extends ElementType> = ComponentPropsWithoutRef<C> & {
76
76
  as?: C;
77
- /**
78
- * @deprecated
79
- * Use `children` instead, as you would with a regular `<p>` tag.
80
- */
81
- text?: string;
82
- /**
83
- * @deprecated
84
- * Use `variant` instead. "type" is a word that is too ambiguous and
85
- * is also often used as an attribute name in HTML.
86
- *
87
- * @default "base"
88
- */
89
- type?: TextStyle;
90
77
  /**
91
78
  * The styling variant of the text.
92
79
  *
93
80
  * @default "base"
94
81
  */
95
82
  variant?: TextStyle;
96
- /**
97
- * Changes the component to be rendered inline. This is useful for
98
- * using this component inside of itself, for example, when you want
99
- * to render bold text inside of a paragraph rendered by this same component.
100
- *
101
- * @default false
102
- *
103
- * @deprecated use `as="span"` instead.
104
- */
105
- inline?: boolean;
106
83
  /**
107
84
  * @default "base"
108
85
  */
@@ -111,16 +88,6 @@ export type LegacyTextProps<C extends ElementType> = ComponentPropsWithoutRef<C>
111
88
  * @default "base"
112
89
  */
113
90
  hoverColor?: TextHoverColor;
114
- /**
115
- * Tailwind class modifier that allows you to apply hover styles on this component
116
- * based on the styles of its parent.
117
- * https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state
118
- *
119
- * @deprecated
120
- * Since this is a Tailwind specific feature we should not expose this to the consumer. We
121
- * should only use group-hover styles in the components in WebUI instead.
122
- */
123
- hoverInGroup?: boolean;
124
91
  className?: string;
125
92
  /**
126
93
  * Interpret an HTML string as regular markup, instead of rendering it as a string.
@@ -1,8 +1,8 @@
1
- import type { FC } from "react";
1
+ import type { FC, ReactNode } from "react";
2
2
  import { type ButtonDefinitionWithKey, type ButtonProps } from "../ButtonV2/ButtonProps.type";
3
- import { type TitleProps } from "../Title/Title";
4
3
  export type TimelineHeaderProps = {
5
- title?: string | TitleProps;
4
+ /** A string renders as the default heading; pass a node to render your own. */
5
+ title?: ReactNode;
6
6
  buttons?: ButtonDefinitionWithKey<ButtonProps>[];
7
7
  withBorder?: boolean;
8
8
  };
@@ -1,18 +1,7 @@
1
1
  import { type FC, type ReactNode } from "react";
2
- import { type IconKey } from "../Icons/types/IconProps.type";
3
2
  type Props = {
4
3
  title: ReactNode;
5
4
  subtitle?: ReactNode;
6
- /**
7
- * @deprecated use leadingIcon instead.
8
- */
9
- icon?: {
10
- url: string;
11
- iconKey?: never;
12
- } | {
13
- iconKey: IconKey;
14
- url?: never;
15
- };
16
5
  /**
17
6
  * The icon to render on the leading side of the card
18
7
  */
@@ -25,18 +14,10 @@ type Props = {
25
14
  * Copy to display the status of the card
26
15
  */
27
16
  statusText?: string;
28
- /**
29
- * The state of the card, options are:
30
- * - default
31
- * - highlighted
32
- * - bold
33
- * @default "default"
34
- *
35
- * @deprecated use variant instead
36
- */
37
- state?: "default" | "highlighted" | "bold";
38
17
  /**
39
18
  * The variant to present
19
+ *
20
+ * @default "default"
40
21
  */
41
22
  variant?: "default" | "highlighted" | "bold";
42
23
  /**
@@ -1,4 +1,5 @@
1
1
  import type { FC, ComponentPropsWithoutRef } from "react";
2
+ import "./Title.scss";
2
3
  type Props = ComponentPropsWithoutRef<"h1"> & {
3
4
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
4
5
  };
@@ -1,46 +1,10 @@
1
1
  import type { ReactNode, FC } from "react";
2
- /**
3
- * @deprecated Use `isSelf` instead: `primary` -> `isSelf`, `slate` ->
4
- * `isSelf={false}`. The design system models this as who the avatar
5
- * belongs to, not as a color, and these names no longer describe the
6
- * colors that are actually rendered.
7
- */
8
- type AvatarColor = "primary" | "slate";
9
2
  /**
10
3
  * The sizes defined by the design system. Their actual dimensions come
11
4
  * from the semantic size tokens in `avatarSizeTokens`, so they follow
12
5
  * the design whenever the tokens are re-exported.
13
6
  */
14
7
  type AvatarSize = "xs" | "s" | "m";
15
- /**
16
- * @deprecated Use the design system sizes instead: `xsmall` -> `xs`,
17
- * `small` -> `s`, `medium` -> `m`. `large` has no equivalent in the
18
- * design system and will be removed in a future major release.
19
- */
20
- type LegacyAvatarSize = "large" | "medium" | "small" | "xsmall";
21
- type AvatarSizeProp = AvatarSize | LegacyAvatarSize;
22
- /**
23
- * Union to prevent both "isSelf" and the deprecated "color" from being
24
- * used at the same time, which would otherwise silently let one of them
25
- * win. Passing both is a type error.
26
- */
27
- type ColorProps = {
28
- /**
29
- * Whether the avatar belongs to the current user. Self avatars are
30
- * rendered in the brand color, everyone else in neutral.
31
- *
32
- * @default false
33
- */
34
- isSelf?: boolean;
35
- color?: never;
36
- } | {
37
- /**
38
- * @deprecated Use `isSelf` instead: `primary` -> `isSelf`,
39
- * `slate` -> `isSelf={false}`.
40
- */
41
- color: AvatarColor;
42
- isSelf?: never;
43
- };
44
8
  /**
45
9
  * Union to prevent both "initials" and "children" to be used at the same time.
46
10
  */
@@ -62,13 +26,16 @@ type Props = {
62
26
  */
63
27
  alt?: string;
64
28
  /**
65
- * Size of the avatar. Prefer the current sizes `xs`, `s` and `m`. The
66
- * `xsmall` / `small` / `medium` spellings are deprecated aliases of
67
- * those, and `large` is deprecated without a replacement.
68
- *
69
29
  * @default "m"
70
30
  */
71
- size?: AvatarSizeProp;
31
+ size?: AvatarSize;
32
+ /**
33
+ * Whether the avatar belongs to the current user. Self avatars are
34
+ * rendered in the brand color, everyone else in neutral.
35
+ *
36
+ * @default false
37
+ */
38
+ isSelf?: boolean;
72
39
  /**
73
40
  * URL to an image to be used as the default image.
74
41
  * If this is set, the image provided via `src` will never render.
@@ -80,7 +47,7 @@ type Props = {
80
47
  * makes it so that the avatars overlap each other a bit, as designed.
81
48
  */
82
49
  applyGroupOffset?: boolean;
83
- } & BaseProps & ColorProps;
50
+ } & BaseProps;
84
51
  /**
85
52
  * Displays a badge-style avatar. Keep in mind that
86
53
  * you can only use `initials` or `children`, not both.
@@ -1,9 +1,5 @@
1
1
  import { type FC } from "react";
2
2
  type BadgeProps = {
3
- /**
4
- * @deprecated, use children instead
5
- */
6
- badgeCount?: number;
7
3
  className?: string;
8
4
  children: string | number;
9
5
  };