braid-design-system 34.0.0-seperate-codemod-20250618035833 → 34.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/CHANGELOG.md +417 -49
  2. package/README.md +7 -7
  3. package/dist/css.cjs +2 -0
  4. package/dist/css.d.mts +1 -1
  5. package/dist/css.d.ts +1 -1
  6. package/dist/css.mjs +2 -0
  7. package/dist/index.cjs +4 -2
  8. package/dist/index.d.mts +275 -419
  9. package/dist/index.d.ts +275 -419
  10. package/dist/index.mjs +4 -2
  11. package/dist/lib/color/palette.cjs +1 -4
  12. package/dist/lib/color/palette.mjs +1 -4
  13. package/dist/lib/components/Accordion/AccordionItem.cjs +30 -44
  14. package/dist/lib/components/Accordion/AccordionItem.css.cjs +6 -12
  15. package/dist/lib/components/Accordion/AccordionItem.css.mjs +6 -12
  16. package/dist/lib/components/Accordion/AccordionItem.mjs +30 -44
  17. package/dist/lib/components/Actions/Actions.cjs +14 -2
  18. package/dist/lib/components/Actions/Actions.css.cjs +21 -0
  19. package/dist/lib/components/Actions/Actions.css.mjs +22 -0
  20. package/dist/lib/components/Actions/Actions.mjs +14 -2
  21. package/dist/lib/components/Alert/Alert.cjs +42 -75
  22. package/dist/lib/components/Alert/Alert.css.cjs +0 -8
  23. package/dist/lib/components/Alert/Alert.css.mjs +0 -8
  24. package/dist/lib/components/Alert/Alert.mjs +44 -77
  25. package/dist/lib/components/Autosuggest/Autosuggest.cjs +4 -2
  26. package/dist/lib/components/Autosuggest/Autosuggest.mjs +4 -2
  27. package/dist/lib/components/Autosuggest/Autosuggest.playroom.cjs +1 -1
  28. package/dist/lib/components/Autosuggest/Autosuggest.playroom.mjs +1 -1
  29. package/dist/lib/components/Badge/Badge.cjs +2 -2
  30. package/dist/lib/components/Badge/Badge.mjs +2 -2
  31. package/dist/lib/components/Box/BackgroundContext.mjs +1 -1
  32. package/dist/lib/components/BraidProvider/BraidProvider.cjs +0 -2
  33. package/dist/lib/components/BraidProvider/BraidProvider.mjs +0 -2
  34. package/dist/lib/components/BraidTestProvider/BraidTestProvider.cjs +19 -2
  35. package/dist/lib/components/BraidTestProvider/BraidTestProvider.mjs +19 -2
  36. package/dist/lib/components/Button/Button.cjs +8 -32
  37. package/dist/lib/components/Button/Button.css.cjs +12 -9
  38. package/dist/lib/components/Button/Button.css.mjs +13 -10
  39. package/dist/lib/components/Button/Button.mjs +9 -33
  40. package/dist/lib/components/ButtonIcon/ButtonIcon.cjs +3 -3
  41. package/dist/lib/components/ButtonIcon/ButtonIcon.mjs +3 -3
  42. package/dist/lib/components/ButtonLink/ButtonLink.cjs +1 -0
  43. package/dist/lib/components/ButtonLink/ButtonLink.mjs +1 -0
  44. package/dist/lib/components/Card/Card.cjs +3 -20
  45. package/dist/lib/components/Card/Card.mjs +3 -20
  46. package/dist/lib/components/Dialog/Dialog.cjs +4 -1
  47. package/dist/lib/components/Dialog/Dialog.mjs +4 -1
  48. package/dist/lib/components/Disclosure/Disclosure.cjs +1 -1
  49. package/dist/lib/components/Disclosure/Disclosure.mjs +1 -1
  50. package/dist/lib/components/Hidden/Hidden.cjs +1 -16
  51. package/dist/lib/components/Hidden/Hidden.mjs +1 -14
  52. package/dist/lib/components/Inline/Inline.css.cjs +1 -0
  53. package/dist/lib/components/Inline/Inline.css.mjs +1 -0
  54. package/dist/lib/components/Inline/Inline.playroom.cjs +6 -1
  55. package/dist/lib/components/Inline/Inline.playroom.mjs +6 -1
  56. package/dist/lib/components/Link/Link.playroom.cjs +1 -1
  57. package/dist/lib/components/Link/Link.playroom.mjs +1 -1
  58. package/dist/lib/components/MenuItem/MenuItemLink.playroom.cjs +4 -1
  59. package/dist/lib/components/MenuItem/MenuItemLink.playroom.mjs +4 -1
  60. package/dist/lib/components/MenuItem/useMenuItem.cjs +9 -11
  61. package/dist/lib/components/MenuItem/useMenuItem.css.cjs +1 -0
  62. package/dist/lib/components/MenuItem/useMenuItem.css.mjs +1 -0
  63. package/dist/lib/components/MenuItem/useMenuItem.mjs +9 -11
  64. package/dist/lib/components/MenuRenderer/MenuRenderer.cjs +2 -3
  65. package/dist/lib/components/MenuRenderer/MenuRenderer.mjs +2 -3
  66. package/dist/lib/components/PageBlock/PageBlock.cjs +2 -3
  67. package/dist/lib/components/PageBlock/PageBlock.mjs +3 -4
  68. package/dist/lib/components/PageBlock/pageBlockGutters.cjs +3 -0
  69. package/dist/lib/components/PageBlock/pageBlockGutters.mjs +4 -0
  70. package/dist/lib/components/Pagination/Pagination.cjs +49 -54
  71. package/dist/lib/components/Pagination/Pagination.css.cjs +13 -2
  72. package/dist/lib/components/Pagination/Pagination.css.mjs +14 -3
  73. package/dist/lib/components/Pagination/Pagination.mjs +49 -54
  74. package/dist/lib/components/RadioGroup/RadioGroup.cjs +0 -1
  75. package/dist/lib/components/RadioGroup/RadioGroup.mjs +0 -1
  76. package/dist/lib/components/Stepper/Step.cjs +10 -22
  77. package/dist/lib/components/Stepper/Step.mjs +11 -23
  78. package/dist/lib/components/Stepper/Stepper.cjs +1 -0
  79. package/dist/lib/components/Stepper/Stepper.css.cjs +11 -12
  80. package/dist/lib/components/Stepper/Stepper.css.mjs +11 -12
  81. package/dist/lib/components/Stepper/Stepper.mjs +1 -0
  82. package/dist/lib/components/Strong/Strong.cjs +6 -1
  83. package/dist/lib/components/Strong/Strong.mjs +6 -1
  84. package/dist/lib/components/Table/Table.css.cjs +9 -4
  85. package/dist/lib/components/Table/Table.css.mjs +10 -5
  86. package/dist/lib/components/Table/TableCell.cjs +1 -1
  87. package/dist/lib/components/Table/TableCell.mjs +2 -2
  88. package/dist/lib/components/Tabs/Tab.cjs +2 -17
  89. package/dist/lib/components/Tabs/Tab.mjs +3 -18
  90. package/dist/lib/components/Tabs/TabPanel.cjs +4 -16
  91. package/dist/lib/components/Tabs/TabPanel.mjs +6 -18
  92. package/dist/lib/components/Tabs/Tabs.css.cjs +1 -14
  93. package/dist/lib/components/Tabs/Tabs.css.mjs +1 -14
  94. package/dist/lib/components/TextDropdown/TextDropdown.cjs +5 -16
  95. package/dist/lib/components/TextDropdown/TextDropdown.css.cjs +8 -14
  96. package/dist/lib/components/TextDropdown/TextDropdown.css.mjs +8 -14
  97. package/dist/lib/components/TextDropdown/TextDropdown.mjs +6 -17
  98. package/dist/lib/components/TextDropdown/TextDropdown.playroom.cjs +3 -3
  99. package/dist/lib/components/TextDropdown/TextDropdown.playroom.mjs +3 -3
  100. package/dist/lib/components/TextLink/TextLink.cjs +1 -1
  101. package/dist/lib/components/TextLink/TextLink.css.cjs +4 -4
  102. package/dist/lib/components/TextLink/TextLink.css.mjs +4 -4
  103. package/dist/lib/components/TextLink/TextLink.mjs +1 -1
  104. package/dist/lib/components/TextLinkButton/TextLinkButton.cjs +2 -2
  105. package/dist/lib/components/TextLinkButton/TextLinkButton.mjs +2 -2
  106. package/dist/lib/components/Textarea/Textarea.cjs +1 -0
  107. package/dist/lib/components/Textarea/Textarea.mjs +1 -0
  108. package/dist/lib/components/Toggle/Toggle.cjs +5 -31
  109. package/dist/lib/components/Toggle/Toggle.css.cjs +8 -15
  110. package/dist/lib/components/Toggle/Toggle.css.mjs +8 -15
  111. package/dist/lib/components/Toggle/Toggle.mjs +6 -30
  112. package/dist/lib/components/TooltipRenderer/TooltipRenderer.cjs +108 -82
  113. package/dist/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +15 -7
  114. package/dist/lib/components/TooltipRenderer/TooltipRenderer.css.mjs +15 -7
  115. package/dist/lib/components/TooltipRenderer/TooltipRenderer.mjs +109 -83
  116. package/dist/lib/components/icons/IconArrow/IconArrow.cjs +4 -1
  117. package/dist/lib/components/icons/IconArrow/IconArrow.mjs +4 -1
  118. package/dist/lib/components/icons/IconAttachment/IconAttachmentSvg.cjs +10 -14
  119. package/dist/lib/components/icons/IconAttachment/IconAttachmentSvg.mjs +10 -14
  120. package/dist/lib/components/icons/IconBluetooth/IconBluetoothSvg.cjs +5 -1
  121. package/dist/lib/components/icons/IconBluetooth/IconBluetoothSvg.mjs +5 -1
  122. package/dist/lib/components/icons/IconBulletList/IconBulletListSvg.cjs +5 -1
  123. package/dist/lib/components/icons/IconBulletList/IconBulletListSvg.mjs +5 -1
  124. package/dist/lib/components/icons/IconCareer/IconCareer.cjs +4 -1
  125. package/dist/lib/components/icons/IconCareer/IconCareer.mjs +4 -1
  126. package/dist/lib/components/icons/IconCareer/IconCareerActiveSvg.cjs +5 -1
  127. package/dist/lib/components/icons/IconCareer/IconCareerActiveSvg.mjs +5 -1
  128. package/dist/lib/components/icons/IconChecklist/IconChecklistSvg.cjs +5 -1
  129. package/dist/lib/components/icons/IconChecklist/IconChecklistSvg.mjs +5 -1
  130. package/dist/lib/components/icons/IconCoverLetter/IconCoverLetterSvg.cjs +5 -1
  131. package/dist/lib/components/icons/IconCoverLetter/IconCoverLetterSvg.mjs +5 -1
  132. package/dist/lib/components/icons/IconCreditCard/IconCreditCardSvg.cjs +5 -1
  133. package/dist/lib/components/icons/IconCreditCard/IconCreditCardSvg.mjs +5 -1
  134. package/dist/lib/components/icons/IconEducation/IconEducationSvg.cjs +5 -1
  135. package/dist/lib/components/icons/IconEducation/IconEducationSvg.mjs +5 -1
  136. package/dist/lib/components/icons/IconEnlarge/IconEnlarge.cjs +4 -1
  137. package/dist/lib/components/icons/IconEnlarge/IconEnlarge.mjs +4 -1
  138. package/dist/lib/components/icons/IconExperience/IconExperienceSvg.cjs +5 -1
  139. package/dist/lib/components/icons/IconExperience/IconExperienceSvg.mjs +5 -1
  140. package/dist/lib/components/icons/IconHeart/IconHeartActiveSvg.cjs +5 -1
  141. package/dist/lib/components/icons/IconHeart/IconHeartActiveSvg.mjs +5 -1
  142. package/dist/lib/components/icons/IconInfo/IconInfoSvg.cjs +2 -3
  143. package/dist/lib/components/icons/IconInfo/IconInfoSvg.mjs +2 -3
  144. package/dist/lib/components/icons/IconLinkBroken/IconLinkBrokenSvg.cjs +5 -1
  145. package/dist/lib/components/icons/IconLinkBroken/IconLinkBrokenSvg.mjs +5 -1
  146. package/dist/lib/components/icons/IconLocation/IconLocationSvg.cjs +2 -3
  147. package/dist/lib/components/icons/IconLocation/IconLocationSvg.mjs +2 -3
  148. package/dist/lib/components/icons/IconMicrophone/IconMicrophone.cjs +7 -0
  149. package/dist/lib/components/icons/IconMicrophone/IconMicrophone.mjs +8 -0
  150. package/dist/lib/components/icons/IconMicrophone/IconMicrophoneSvg.cjs +25 -0
  151. package/dist/lib/components/icons/IconMicrophone/IconMicrophoneSvg.mjs +26 -0
  152. package/dist/lib/components/icons/IconNewWindow/IconNewWindowSvg.cjs +5 -1
  153. package/dist/lib/components/icons/IconNewWindow/IconNewWindowSvg.mjs +5 -1
  154. package/dist/lib/components/icons/IconNotification/IconNotificationSvg.cjs +5 -1
  155. package/dist/lib/components/icons/IconNotification/IconNotificationSvg.mjs +5 -1
  156. package/dist/lib/components/icons/IconNumberedList/IconNumberedListSvg.cjs +5 -1
  157. package/dist/lib/components/icons/IconNumberedList/IconNumberedListSvg.mjs +5 -1
  158. package/dist/lib/components/icons/IconPersonAdd/IconPersonAddSvg.cjs +5 -1
  159. package/dist/lib/components/icons/IconPersonAdd/IconPersonAddSvg.mjs +5 -1
  160. package/dist/lib/components/icons/IconRecommended/IconRecommendedSvg.cjs +5 -1
  161. package/dist/lib/components/icons/IconRecommended/IconRecommendedSvg.mjs +5 -1
  162. package/dist/lib/components/icons/IconSentiment/IconSentimentSvg.cjs +5 -1
  163. package/dist/lib/components/icons/IconSentiment/IconSentimentSvg.mjs +5 -1
  164. package/dist/lib/components/icons/IconSocialGitHub/IconSocialGitHubSvg.cjs +5 -1
  165. package/dist/lib/components/icons/IconSocialGitHub/IconSocialGitHubSvg.mjs +5 -1
  166. package/dist/lib/components/icons/IconSocialMedium/IconSocialMediumSvg.cjs +5 -1
  167. package/dist/lib/components/icons/IconSocialMedium/IconSocialMediumSvg.mjs +5 -1
  168. package/dist/lib/components/icons/IconSocialTiktok/IconSocialTiktok.cjs +7 -0
  169. package/dist/lib/components/icons/IconSocialTiktok/IconSocialTiktok.mjs +8 -0
  170. package/dist/lib/components/icons/IconSocialTiktok/IconSocialTiktokSvg.cjs +24 -0
  171. package/dist/lib/components/icons/IconSocialTiktok/IconSocialTiktokSvg.mjs +25 -0
  172. package/dist/lib/components/icons/IconStar/IconStarActiveSvg.cjs +5 -1
  173. package/dist/lib/components/icons/IconStar/IconStarActiveSvg.mjs +5 -1
  174. package/dist/lib/components/icons/IconStatistics/IconStatisticsSvg.cjs +5 -1
  175. package/dist/lib/components/icons/IconStatistics/IconStatisticsSvg.mjs +5 -1
  176. package/dist/lib/components/icons/IconSubCategory/IconSubCategorySvg.cjs +5 -1
  177. package/dist/lib/components/icons/IconSubCategory/IconSubCategorySvg.mjs +5 -1
  178. package/dist/lib/components/icons/IconThumb/IconThumb.cjs +4 -1
  179. package/dist/lib/components/icons/IconThumb/IconThumb.mjs +4 -1
  180. package/dist/lib/components/icons/IconVisibility/IconVisibility.cjs +4 -1
  181. package/dist/lib/components/icons/IconVisibility/IconVisibility.mjs +4 -1
  182. package/dist/lib/components/icons/IconVisibility/IconVisibilitySvg.cjs +5 -1
  183. package/dist/lib/components/icons/IconVisibility/IconVisibilitySvg.mjs +5 -1
  184. package/dist/lib/components/private/Field/Field.cjs +0 -2
  185. package/dist/lib/components/private/Field/Field.css.cjs +0 -8
  186. package/dist/lib/components/private/Field/Field.css.mjs +0 -8
  187. package/dist/lib/components/private/Field/Field.mjs +1 -3
  188. package/dist/lib/components/private/FieldOverlay/FieldOverlay.cjs +0 -1
  189. package/dist/lib/components/private/FieldOverlay/FieldOverlay.mjs +0 -1
  190. package/dist/lib/components/private/InlineField/InlineField.css.cjs +3 -10
  191. package/dist/lib/components/private/InlineField/InlineField.css.mjs +3 -10
  192. package/dist/lib/components/private/InlineField/StyledInput.cjs +0 -8
  193. package/dist/lib/components/private/InlineField/StyledInput.mjs +1 -9
  194. package/dist/lib/components/private/Modal/Modal.cjs +0 -2
  195. package/dist/lib/components/private/Modal/Modal.css.cjs +0 -8
  196. package/dist/lib/components/private/Modal/Modal.css.mjs +0 -8
  197. package/dist/lib/components/private/Modal/Modal.mjs +0 -2
  198. package/dist/lib/components/private/Modal/ModalContent.cjs +17 -28
  199. package/dist/lib/components/private/Modal/ModalContent.mjs +18 -29
  200. package/dist/lib/components/private/Overlay/Overlay.cjs +1 -6
  201. package/dist/lib/components/private/Overlay/Overlay.mjs +1 -6
  202. package/dist/lib/components/private/Popover/Popover.cjs +103 -124
  203. package/dist/lib/components/private/Popover/Popover.css.cjs +0 -21
  204. package/dist/lib/components/private/Popover/Popover.css.mjs +2 -23
  205. package/dist/lib/components/private/Popover/Popover.mjs +105 -126
  206. package/dist/lib/components/useToast/Toast.cjs +67 -53
  207. package/dist/lib/components/useToast/Toast.css.cjs +10 -0
  208. package/dist/lib/components/useToast/Toast.css.mjs +10 -0
  209. package/dist/lib/components/useToast/Toast.mjs +68 -54
  210. package/dist/lib/components/useToast/ToastContext.cjs +1 -4
  211. package/dist/lib/components/useToast/ToastContext.mjs +1 -4
  212. package/dist/lib/components/useToast/Toaster.cjs +49 -20
  213. package/dist/lib/components/useToast/Toaster.css.cjs +18 -0
  214. package/dist/lib/components/useToast/Toaster.css.mjs +19 -0
  215. package/dist/lib/components/useToast/Toaster.mjs +49 -22
  216. package/dist/lib/components/useToast/consts.cjs +5 -0
  217. package/dist/lib/components/useToast/consts.mjs +6 -0
  218. package/dist/lib/components/useToast/useFlipList.cjs +116 -33
  219. package/dist/lib/components/useToast/useFlipList.mjs +116 -33
  220. package/dist/lib/components/useToast/useTimeout.cjs +1 -1
  221. package/dist/lib/components/useToast/useTimeout.mjs +1 -1
  222. package/dist/lib/css/atoms/atomicProperties.cjs +6 -4
  223. package/dist/lib/css/atoms/atomicProperties.mjs +6 -4
  224. package/dist/lib/css/outlineStyle.cjs +17 -0
  225. package/dist/lib/css/outlineStyle.mjs +18 -0
  226. package/dist/lib/css/reset/reset.css.cjs +7 -11
  227. package/dist/lib/css/reset/reset.css.mjs +7 -11
  228. package/dist/lib/hooks/useIcon/index.cjs +2 -2
  229. package/dist/lib/hooks/useIcon/index.mjs +2 -2
  230. package/dist/lib/hooks/useIsomorphicLayoutEffect.cjs +1 -2
  231. package/dist/lib/hooks/useIsomorphicLayoutEffect.mjs +1 -2
  232. package/dist/lib/playroom/components.cjs +6 -0
  233. package/dist/lib/playroom/components.mjs +8 -1
  234. package/dist/lib/playroom/snippets/Card.cjs +0 -3
  235. package/dist/lib/playroom/snippets/Card.mjs +0 -3
  236. package/dist/lib/playroom/useScope.cjs +4 -2
  237. package/dist/lib/playroom/useScope.mjs +4 -2
  238. package/dist/lib/themes/baseTokens/{apac.cjs → nvl.cjs} +100 -111
  239. package/dist/lib/themes/baseTokens/{apac.mjs → nvl.mjs} +101 -109
  240. package/dist/lib/themes/docs/tokens.cjs +0 -2
  241. package/dist/lib/themes/docs/tokens.mjs +0 -2
  242. package/dist/lib/themes/index.cjs +0 -2
  243. package/dist/lib/themes/index.mjs +0 -2
  244. package/dist/lib/themes/makeRuntimeTokens.cjs +0 -8
  245. package/dist/lib/themes/makeRuntimeTokens.mjs +0 -8
  246. package/dist/lib/themes/makeVanillaTheme.cjs +12 -17
  247. package/dist/lib/themes/makeVanillaTheme.mjs +3 -8
  248. package/dist/lib/themes/seekBusiness/tokens.cjs +5 -13
  249. package/dist/lib/themes/seekBusiness/tokens.mjs +4 -12
  250. package/dist/lib/themes/seekJobs/tokens.cjs +4 -184
  251. package/dist/lib/themes/seekJobs/tokens.mjs +3 -183
  252. package/dist/lib/themes/wireframe/tokens.cjs +0 -2
  253. package/dist/lib/themes/wireframe/tokens.mjs +0 -2
  254. package/dist/lib/utils/flattenChildren.cjs +2 -2
  255. package/dist/lib/utils/flattenChildren.mjs +1 -1
  256. package/dist/lib/utils/isFragment.cjs +13 -0
  257. package/dist/lib/utils/isFragment.mjs +14 -0
  258. package/dist/lib/utils/px.cjs +3 -0
  259. package/dist/lib/utils/px.mjs +4 -0
  260. package/dist/playroom/components.cjs +8 -7
  261. package/dist/playroom/components.d.mts +1 -1
  262. package/dist/playroom/components.d.ts +1 -1
  263. package/dist/playroom/components.mjs +5 -4
  264. package/dist/themes/docs.d.mts +1 -1
  265. package/dist/themes/docs.d.ts +1 -1
  266. package/dist/themes/seekBusiness.d.mts +1 -1
  267. package/dist/themes/seekBusiness.d.ts +1 -1
  268. package/dist/themes/seekJobs.d.mts +1 -1
  269. package/dist/themes/seekJobs.d.ts +1 -1
  270. package/dist/themes/wireframe.d.mts +1 -1
  271. package/dist/themes/wireframe.d.ts +1 -1
  272. package/package.json +22 -36
  273. package/dist/lib/components/icons/IconList/IconList.cjs +0 -25
  274. package/dist/lib/components/icons/IconList/IconList.mjs +0 -24
  275. package/dist/lib/components/icons/IconList/IconListSvg.cjs +0 -24
  276. package/dist/lib/components/icons/IconList/IconListSvg.mjs +0 -25
  277. package/dist/lib/components/private/hideFocusRings/hideFocusRings.cjs +0 -2
  278. package/dist/lib/components/private/hideFocusRings/hideFocusRings.css.cjs +0 -14
  279. package/dist/lib/components/private/hideFocusRings/hideFocusRings.css.mjs +0 -15
  280. package/dist/lib/components/private/hideFocusRings/hideFocusRings.mjs +0 -1
  281. package/dist/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.cjs +0 -3
  282. package/dist/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.mjs +0 -4
  283. package/dist/lib/components/private/hideFocusRings/useHideFocusRings.cjs +0 -18
  284. package/dist/lib/components/private/hideFocusRings/useHideFocusRings.mjs +0 -19
  285. package/dist/lib/themes/apac/apacTheme.css.cjs +0 -8
  286. package/dist/lib/themes/apac/apacTheme.css.mjs +0 -9
  287. package/dist/lib/themes/apac/index.cjs +0 -2
  288. package/dist/lib/themes/apac/index.mjs +0 -1
  289. package/dist/lib/themes/apac/tokens.cjs +0 -19
  290. package/dist/lib/themes/apac/tokens.mjs +0 -20
  291. package/dist/themes/apac.cjs +0 -3
  292. package/dist/themes/apac.d.mts +0 -1
  293. package/dist/themes/apac.d.ts +0 -1
  294. package/dist/themes/apac.mjs +0 -4
  295. package/themes/apac/index.d.ts +0 -2
  296. package/themes/apac/package.json +0 -5
package/CHANGELOG.md CHANGED
@@ -1,18 +1,426 @@
1
1
  # braid-design-system
2
2
 
3
- ## 34.0.0-seperate-codemod-20250618035833
3
+ ## 34.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - **MenuRenderer, OverflowMenu:** Prevent the document from scrolling when opening the menu with the keyboard ([#1952](https://github.com/seek-oss/braid-design-system/pull/1952))
8
+
9
+ ## 34.0.0
4
10
 
5
11
  ### Major Changes
6
12
 
13
+ - **Hidden:** Remove `screen` prop ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
14
+
15
+ Remove the deprecated `screen` prop from the `Hidden` component.
16
+ For content designed to improve the screen reader experience, please use use the `HiddenVisually` component instead.
17
+ Alternatively, for content designed to be hidden unconditionally, remove the `screen` prop.
18
+
19
+ **MIGRATION GUIDE:**
20
+
21
+ ```diff
22
+ - <Hidden screen>
23
+ + <Hidden>
24
+ ```
25
+
26
+ - **Box, atoms:** Remove deprecated `rating` variable. ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
27
+
28
+ Consumers should use the `brandAccent` or `neutral` variables instead.
29
+
30
+ **MIGRATION GUIDE:**
31
+
32
+ ```diff
33
+ # styles.css.ts
34
+ import { vars } from 'braid-design-system/css';
35
+
36
+ export const myStyle = style({
37
+ - color: vars.foregroundColor.rating,
38
+ + color: vars.foregroundColor.brandAccent,
39
+ });
40
+ ```
41
+
42
+ - **Card:** Remove `rounded` prop ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
43
+
44
+ The `rounded` prop only affected deleted themes such as `apac` and has no effect on supported themes.
45
+
46
+ **MIGRATION GUIDE:**
47
+
48
+ ```diff
49
+ - <Card rounded>...</Card>
50
+ + <Card>...</Card>
51
+ ```
52
+
53
+ - **Box, atoms**: Remove deprecated `outline` value `none`, and `boxShadow` value `outlineFocus`. ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
54
+
55
+ Braid leverages the `outline` property directly, managing focus rings of interactive elements as part of its scoped CSS reset.
56
+
57
+ **MIGRATION GUIDE:**
58
+
59
+ For styling the focus ring via `Box`:
60
+ 1. Remove usage of `outline="none"` and `boxShadow="outlineFocus"`
61
+ 2. Refer to [`focus outlines`] for guidance on leveraging Braid's focus outline styles.
62
+
63
+ ```diff
64
+ - <Box outline="none" className={styles.customFocusStyles} />
65
+ + <Box />
66
+ ```
67
+
68
+ For styling the focus outline of an element based on the focus of another element, see [`outlineStyle`].
69
+
70
+ [`focus outlines`]: https://seek-oss.github.io/braid-design-system/components/Box#focus-outlines
71
+ [`outlineStyle`]: https://seek-oss.github.io/braid-design-system/css/outlineStyle
72
+
73
+ - **apac:** Remove in favour of `seekJobs` theme ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
74
+
75
+ The previously deprecated `apac` theme has been removed.
76
+ Consumers should migrate to the `seekJobs` theme.
77
+
78
+ **MIGRATION GUIDE:**
79
+
80
+ ```diff
81
+ # App.tsx
82
+ - import apac from 'braid-design-system/themes/apac';
83
+ + import seekJobs from 'braid-design-system/themes/seekJobs';
84
+
85
+ - <BraidProvider theme={apac} ...>
86
+ + <BraidProvider theme={seekJobs} ...>
87
+ ```
88
+
89
+ - **IconList:** Remove deprecated component, in favour of more specific list types: `IconBulletList` and `IconNumberedList`. ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
90
+
91
+ **MIGRATION GUIDE:**
92
+
93
+ ```diff
94
+ -<IconList />
95
+ +<IconBulletList />
96
+ ```
97
+
98
+ - **Toggle:** Remove `bleedY` prop ([#1947](https://github.com/seek-oss/braid-design-system/pull/1947))
99
+
100
+ Remove the deprecated `bleedY` prop from the `Toggle` component.
101
+ Consumers should remove use of the `bleedY` prop, and if previously setting `bleedY` to false, should update their layout accordingly.
102
+
103
+ **MIGRATION GUIDE:**
104
+
105
+ ```diff
106
+ - <Toggle bleedY />
107
+ + <Toggle />
108
+ ```
109
+
110
+ ### Patch Changes
111
+
112
+ - Update `is-mobile` dependency ([#1945](https://github.com/seek-oss/braid-design-system/pull/1945))
113
+
114
+ ## 33.14.0
115
+
116
+ ### Minor Changes
117
+
118
+ - **TooltipRenderer:** Add support for `left` and `right` placement, in addition to existing `top` and `bottom`. ([#1942](https://github.com/seek-oss/braid-design-system/pull/1942))
119
+
120
+ **EXAMPLE USAGE:**
121
+
122
+ ```jsx
123
+ <TooltipRenderer
124
+ placement="left"
125
+ ...props
126
+ >
127
+ ...
128
+ </TooltipRenderer>
129
+
130
+ ```
131
+
132
+ ### Patch Changes
133
+
134
+ - Improve components type definitions in support of Playroom props ([#1941](https://github.com/seek-oss/braid-design-system/pull/1941))
135
+
136
+ ## 33.13.0
137
+
138
+ ### Minor Changes
139
+
140
+ - **Autosuggest:** Add support for data attributes on individual suggestions ([#1938](https://github.com/seek-oss/braid-design-system/pull/1938))
141
+
142
+ The data attributes are applied to each rendered list item.
143
+
144
+ **EXAMPLE USAGE:**
145
+
146
+ ```jsx
147
+ <Autosuggest
148
+ suggestions={[
149
+ {
150
+ text: 'Apples',
151
+ data: { testid: 'suggestion-apples' },
152
+ },
153
+ ]}
154
+ />
155
+ ```
156
+
157
+ ### Patch Changes
158
+
159
+ - **ButtonIcon, TooltipRenderer:** Close tooltips after clicking the trigger on desktop devices ([#1932](https://github.com/seek-oss/braid-design-system/pull/1932))
160
+
161
+ ## 33.12.4
162
+
163
+ ### Patch Changes
164
+
165
+ - **Autosuggest, MenuRenderer, OverflowMenu, TooltipRenderer**: Ensure `TooltipRenderer` is correctly positioned on Android devices ([#1926](https://github.com/seek-oss/braid-design-system/pull/1926))
166
+
167
+ Additionally, adjust `TooltipRenderer` positioning at screen edges, removing extra edge spacing.
168
+ This ensures the tooltip arrow is more closely aligned with the trigger when the trigger is near the edge of the screen.
169
+
170
+ ## 33.12.3
171
+
172
+ ### Patch Changes
173
+
174
+ - **TooltipRenderer:** Ensure Chinese text is not wrapped incorrectly ([#1916](https://github.com/seek-oss/braid-design-system/pull/1916))
175
+
176
+ Right aligned tooltip triggers with tooltips containing long unbroken Chinese text are no longer forcibly broken across many lines.
177
+ This was due to the use of `overflow-wrap: break-word;` used to break long strings of Latin characters—guarding against broken layouts.
178
+
179
+ For Chinese, Japanese and Korean (CJK) character sets, to avoid the unwanted line breaks it is recommened to apply the `word-break: keep-all;` CSS property.
180
+
181
+ See [MDN reference] for more information.
182
+
183
+ [MDN reference]: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/word-break#keep-all
184
+
185
+ ## 33.12.2
186
+
187
+ ### Patch Changes
188
+
189
+ - **Autosuggest, MenuRenderer, TooltipRenderer:** Improve placement logic ([#1904](https://github.com/seek-oss/braid-design-system/pull/1904))
190
+
191
+ In `MenuRenderer`, if there is not enough space for the menu above or below the trigger, the menu will be positioned based on the `placement` prop.
192
+
193
+ - **Dialog, Drawer:** Ensure page elements are not interactive during close animation ([#1906](https://github.com/seek-oss/braid-design-system/pull/1906))
194
+
195
+ ## 33.12.1
196
+
197
+ ### Patch Changes
198
+
199
+ - **IconInfo:** Update illustration ([#1891](https://github.com/seek-oss/braid-design-system/pull/1891))
200
+
201
+ ## 33.12.0
202
+
203
+ ### Minor Changes
204
+
205
+ - **IconSocialTiktok:** Add component ([#1889](https://github.com/seek-oss/braid-design-system/pull/1889))
206
+
207
+ **EXAMPLE USAGE:**
208
+
209
+ ```jsx
210
+ <IconSocialTiktok />
211
+ ```
212
+
213
+ - **IconMicrophone:** Add component ([#1887](https://github.com/seek-oss/braid-design-system/pull/1887))
214
+
215
+ **EXAMPLE USAGE:**
216
+
217
+ ```jsx
218
+ <IconMicrophone />
219
+ ```
220
+
221
+ ### Patch Changes
222
+
223
+ - **IconAttachment, IconLocation:** Update artworks to be more rounded and spacious, consistent with the latest design language ([#1887](https://github.com/seek-oss/braid-design-system/pull/1887))
224
+
225
+ ## 33.11.5
226
+
227
+ ### Patch Changes
228
+
229
+ - **Button, ButtonIcon, ButtonLink:** Remove use of deprecated `outline` atoms value, in favour of CSS property ([#1871](https://github.com/seek-oss/braid-design-system/pull/1871))
230
+
231
+ ## 33.11.4
232
+
233
+ ### Patch Changes
234
+
235
+ - **Button, ButtonIcon, ButtonLink:** Ensure active transition is correctly applied ([#1868](https://github.com/seek-oss/braid-design-system/pull/1868))
236
+
237
+ ## 33.11.3
238
+
239
+ ### Patch Changes
240
+
241
+ - **Button, ButtonLink:** Ensure focus ring supports `bleed` layout ([#1866](https://github.com/seek-oss/braid-design-system/pull/1866))
242
+
243
+ Fixes the focus ring layout when combined with the `bleed` prop to ensure the outline wraps the visual boundary of the button.
244
+
245
+ ## 33.11.2
246
+
247
+ ### Patch Changes
248
+
249
+ - **ButtonIcon:** Better match `Tooltip` text size with `size` prop ([#1864](https://github.com/seek-oss/braid-design-system/pull/1864))
250
+
251
+ When using a `small` `ButtonIcon`, the `Tooltip` text size is now set to `small`.
252
+ For other sizes, the text remains at the default `standard` size.
253
+
254
+ ## 33.11.1
255
+
256
+ ### Patch Changes
257
+
258
+ - **Actions:** Ensure full width on mobile ([#1858](https://github.com/seek-oss/braid-design-system/pull/1858))
259
+
260
+ Ensure that the children of an `Action` component are always full width on mobile, including within a centred flex container.
261
+
262
+ ## 33.11.0
263
+
264
+ ### Minor Changes
265
+
266
+ - **useToast**: Improve layout of toasts when multiple toasts are shown ([#1782](https://github.com/seek-oss/braid-design-system/pull/1782))
267
+
268
+ When multiple toasts are shown simultaneously, they now visually stack in a collapsed format that expands on interaction.
269
+ This prevents toasts from obscuring page content while providing users with an easy way to manage and navigate through the recent toast history.
270
+
271
+ ### Patch Changes
272
+
273
+ - **RadioGroup:** Ensure provided `id` is assigned to `fieldset` ([#1845](https://github.com/seek-oss/braid-design-system/pull/1845))
274
+
275
+ Fixes a bug where the provided `id` was not being passed through to the `fieldset` element.
276
+
277
+ - **seekJobs, seekBusiness:** Update drop shadow palette ([#1847](https://github.com/seek-oss/braid-design-system/pull/1847))
278
+
279
+ Refine the drop shadow palette values of `small`, `medium`, and `large`.
280
+ The shadow values are now softer and more linear in their scale.
281
+
282
+ - **TooltipRenderer:** Optimise performance by reducing unnecessary recalculations of the trigger position ([#1833](https://github.com/seek-oss/braid-design-system/pull/1833))
283
+
284
+ - **seekJobs, seekBusiness:** Increase medium font weight ([#1843](https://github.com/seek-oss/braid-design-system/pull/1843))
285
+
286
+ The introduction of Traditional Chinese support means characters in this unicode range are rendered using the default `sans-serif` font.
287
+ The system fonts that handle these characters only cater for **regular** and **bold** weights, resulting in the `medium` weight of 500 falling back to 400 — resulting in loss of visual hierarchy.
288
+
289
+ By increasing the weight of `medium` to 600, it will now round up to 700 (`strong`) when the rendered font cannot satisfy `medium`.
290
+
291
+ This only affects `seekJobs` and `seekBusiness` themes rendering Traditional Chinese characters, all weights across other character sets remain unchanged.
292
+
293
+ ## 33.10.2
294
+
295
+ ### Patch Changes
296
+
297
+ - Expand the peer dependency range to support React 19. ([#1822](https://github.com/seek-oss/braid-design-system/pull/1822))
298
+
299
+ ## 33.10.1
300
+
301
+ ### Patch Changes
302
+
303
+ - **useToast:** Clean up internal refactor ([#1837](https://github.com/seek-oss/braid-design-system/pull/1837))
304
+
305
+ - **Dialog, Drawer:** Refactor layout, ensure content area is the full height ([#1834](https://github.com/seek-oss/braid-design-system/pull/1834))
306
+
307
+ This change allows you to spread content to the bottom of a `Drawer`, for example with a `vertical` direction `Spread`.
308
+
309
+ - Ensure focus rings are consistent across components ([#1828](https://github.com/seek-oss/braid-design-system/pull/1828))
310
+
311
+ Aligns a few edge cases where focus rings were not consistent due to elements or aria roles not captured by the reset.
312
+
313
+ - **BraidTestProvider:** Align mock with real IntersectionObserver API ([#1837](https://github.com/seek-oss/braid-design-system/pull/1837))
314
+
315
+ - **Table:** Ensure `alignY` prop is applied consistently across browsers ([#1832](https://github.com/seek-oss/braid-design-system/pull/1832))
316
+
317
+ Fixes an issue where setting the `alignY` prop to `top` would not apply the `vertical-align` CSS property — instead falling through to our CSS reset which sets `vertical-align: baseline` (rendering inconsistently across browsers).
318
+
319
+ ## 33.10.0
320
+
321
+ ### Minor Changes
322
+
323
+ - **Box, atoms**: Add `sticky` to `position`. ([#1806](https://github.com/seek-oss/braid-design-system/pull/1806))
324
+
325
+ **EXAMPLE USAGE:**
326
+
327
+ ```jsx
328
+ <Box position="sticky" top={0} ... />
329
+ ```
330
+
331
+ - **Box, atoms**: Deprecate `outline` value `none`, and `boxShadow` value `outlineFocus`. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
332
+
333
+ Previously it was recommended to hide an element's `outline` in favour of using `boxShadow="outlineFocus"`.
334
+
335
+ Braid now leverages the `outline` property directly, managing focus rings of interactive elements as part of its scoped CSS reset.
336
+
337
+ **MIGRATION GUIDE:**
338
+
339
+ For styling the focus ring via `Box`:
340
+ 1. Remove usage of `outline="none"` and `boxShadow="outlineFocus"`
341
+ 2. Refer to [`focus outlines`] for guidance on leveraging Braid's focus outline styles.
342
+
343
+ ```diff
344
+ - <Box outline="none" className={styles.customFocusStyles} />
345
+ + <Box />
346
+ ```
347
+
348
+ For styling the focus outline of an element based on the focus of another element, see [`outlineStyle`].
349
+
350
+ [`focus outlines`]: https://seek-oss.github.io/braid-design-system/components/Box#focus-outlines
351
+ [`outlineStyle`]: https://seek-oss.github.io/braid-design-system/css/outlineStyle
352
+
353
+ - **seekBusiness:** Migrate to updated visual language ([#1819](https://github.com/seek-oss/braid-design-system/pull/1819))
354
+
355
+ Migrate `seekBusiness` theme to new visual language.
356
+ Adopts the `seekJobs` theme for the latest design standards, rather than the legacy `apac` theme, while retaining the `seekBusiness` brand accent colour.
357
+
358
+ ### Patch Changes
359
+
360
+ - **ButtonIcon**: Ensure the focus outline is styled consistently with other components. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
361
+
362
+ Fix issue which caused the Braid focus outline to show along with the native browser focus outline.
363
+
364
+ - **apac:** Deprecate theme in favour of `seekJobs` theme ([#1820](https://github.com/seek-oss/braid-design-system/pull/1820))
365
+
366
+ **MIGRATION GUIDE:**
367
+
368
+ ```diff
369
+ # App.tsx
370
+ - import apac from 'braid-design-system/themes/apac';
371
+ + import seekJobs from 'braid-design-system/themes/seekJobs';
372
+
373
+ - <BraidProvider theme={apac} ...>
374
+ + <BraidProvider theme={seekJobs} ...>
375
+ ```
376
+
377
+ - Migrate from custom focus ring visibility to native `:focus-visible` behaviour. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
378
+
379
+ Previously Braid would change the presentation of focus ring outlines based on the user input, i.e. mouse or keyboard,
380
+ to prevent showing focus rings on click.
381
+ With the updated Browser Support Policy, we can now leverage the native `:focus-visible` pseudo class instead.
382
+
383
+ - **Dialog, Drawer**: Ensure the focus outline is correctly applied to the title. ([#1810](https://github.com/seek-oss/braid-design-system/pull/1810))
384
+
385
+ Fix issue where focus outline would not be long enough to wrap the entire title text in certain situations.
386
+
387
+ ## 33.9.1
388
+
389
+ ### Patch Changes
390
+
391
+ - **ButtonIcon, TooltipRenderer:** Remove unnecessary intermediary element around the tooltip trigger. ([#1814](https://github.com/seek-oss/braid-design-system/pull/1814))
392
+
393
+ - **BraidTestProvider:** Use stubs instead of mocks to fill missing APIs in jsdom ([#1809](https://github.com/seek-oss/braid-design-system/pull/1809))
394
+
395
+ This change allows the BraidTestProvider to be framework agnostic for tests and discourages testing the stubbed browser APIs directly.
396
+
397
+ ## 33.9.0
398
+
399
+ ### Minor Changes
400
+
7
401
  - @braid-design-system/codemod has been moved to its own package. ([#1801](https://github.com/seek-oss/braid-design-system/pull/1801))
8
402
 
9
- The `braid-upgrade` command is now no longer apart of the core Braid Design System. Instead, `braid-upgrade` can be run via the `@braid-design-system/codemod` package.
403
+ **Note: This is technically a breaking change for local migrations, but we expect minimal impact so are releasing this as a minor version change.**
404
+
405
+ The `braid-upgrade` command is now no longer part of the `braid-design-system` package. Instead, `braid-upgrade` can be run via the `@braid-design-system/codemod` package.
10
406
 
11
407
  #### Example
12
408
 
13
409
  ```bash
14
- pnpm --package=@braid-design-system/codemod dlx braid-upgrade v31.11 "**/*.{ts,tsx}
410
+ pnpm dlx @braid-design-system/codemod v31.11 "**/*.{ts,tsx}"
411
+ ```
412
+
413
+ ### Patch Changes
414
+
415
+ - **BraidTestProvider:** Provide `ResizeObserver` & `IntersectionObserver` stubs to jsdom ([#1811](https://github.com/seek-oss/braid-design-system/pull/1811))
416
+
417
+ Fixes an issue where rendering certain Braid components within a test environment could throw errors due to missing APIs in jsdom, causing tests to fail with the following error:
418
+
15
419
  ```
420
+ ReferenceError: IntersectionObserver is not defined
421
+ ```
422
+
423
+ ## 33.8.0
16
424
 
17
425
  ### Minor Changes
18
426
 
@@ -53,6 +461,8 @@
53
461
 
54
462
  Fixes an issue where the close button inside the `Dialog` or `Drawer` was incorrectly inside an `aria-hidden` region.
55
463
 
464
+ - **useToast**: Simplify internal logic, refining how the theme is applied to Toasts ([#1797](https://github.com/seek-oss/braid-design-system/pull/1797))
465
+
56
466
  - **Autosuggest**: Ensure suggestions dropdown is visible, even when `Autosuggest` is inside a container with overflow hidden. ([#1738](https://github.com/seek-oss/braid-design-system/pull/1738))
57
467
 
58
468
  ## 33.7.0
@@ -929,7 +1339,6 @@ See full changelog below 👇
929
1339
  - Standardise `disabled` & `critical` state across form fields ([#1564](https://github.com/seek-oss/braid-design-system/pull/1564))
930
1340
 
931
1341
  Improves the consistency of form fields when combining both `disabled` and `critical` tone, which includes:
932
-
933
1342
  - Hiding `critical` borders
934
1343
  - Hiding `message` and not reserving space for it unless explicitly providing the `reserveMessageSpace` prop.
935
1344
 
@@ -1561,7 +1970,6 @@ See full changelog below 👇
1561
1970
  Our different approach to using colour has seen links dialled back to compete less with other messaging and CTAs.
1562
1971
 
1563
1972
  This affects the following usages across the system:
1564
-
1565
1973
  - `vars.foregroundColor.link`
1566
1974
  - `Text` (using `tone="link"`)
1567
1975
  - `TextLink` and (`TextLinkButton`)
@@ -2252,9 +2660,8 @@ For more detail on the specific changes in this release, please read on.
2252
2660
  ```jsx
2253
2661
  // playroom.config.js
2254
2662
  module.exports = {
2255
- frameComponent: require.resolve(
2256
- 'braid-design-system/playroom/FrameComponent',
2257
- ),
2663
+ frameComponent:
2664
+ require.resolve('braid-design-system/playroom/FrameComponent'),
2258
2665
  components: require.resolve('braid-design-system/playroom/components'),
2259
2666
  snippets: require.resolve('braid-design-system/playroom/snippets'),
2260
2667
  scope: require.resolve('braid-design-system/playroom/scope'),
@@ -2373,7 +2780,6 @@ For more detail on the specific changes in this release, please read on.
2373
2780
  - **Tab, Tabs:** Updated visual design ([#1180](https://github.com/seek-oss/braid-design-system/pull/1180))
2374
2781
 
2375
2782
  The appearance of a `Tab` has been updated. Changes include:
2376
-
2377
2783
  - Tab button use `regular` text weight
2378
2784
  - Hover state of inactive tab toggles `neutral` tone instead of underline
2379
2785
  - Active tab indicator underlines content only, without the horizontal gutter and animates between tabs
@@ -2400,9 +2806,8 @@ For more detail on the specific changes in this release, please read on.
2400
2806
  ```jsx
2401
2807
  // playroom.config.js
2402
2808
  module.exports = {
2403
- frameComponent: require.resolve(
2404
- 'braid-design-system/playroom/FrameComponent.tsx',
2405
- ),
2809
+ frameComponent:
2810
+ require.resolve('braid-design-system/playroom/FrameComponent.tsx'),
2406
2811
  components: require.resolve('braid-design-system/playroom/components.ts'),
2407
2812
  snippets: require.resolve('braid-design-system/playroom/snippets.ts'),
2408
2813
  scope: require.resolve('braid-design-system/playroom/scope.ts'),
@@ -3413,7 +3818,6 @@ For more detail on the specific changes in this release, please read on.
3413
3818
 
3414
3819
  **New foregrounds**
3415
3820
  The following foregrounds are now available on the `vars.foregroundColor` theme object:
3416
-
3417
3821
  - `cautionLight`
3418
3822
  - `infoLight`
3419
3823
  - `linkLight`
@@ -3674,12 +4078,10 @@ For more detail on the specific changes in this release, please read on.
3674
4078
  **TOKEN CHANGES**
3675
4079
 
3676
4080
  **New**
3677
-
3678
4081
  - **backgroundColor:** `surface`, `neutralSoft`
3679
4082
  - **borderColor:** `neutral`, `neutralInverted`, `neutralLight`
3680
4083
 
3681
4084
  **Removed**
3682
-
3683
4085
  - **backgroundColor:** `card`, `formAccentDisabled`, `input`, `inputDisabled`, `selection`
3684
4086
  - **borderColor:** `formHover`, `standard`, `standardInverted`
3685
4087
 
@@ -3773,7 +4175,6 @@ For more detail on the specific changes in this release, please read on.
3773
4175
 
3774
4176
  **New backgrounds**
3775
4177
  The following backgrounds are now available:
3776
-
3777
4178
  - `neutralActive`
3778
4179
  - `neutralHover`
3779
4180
  - `neutralSoftActive`
@@ -3781,7 +4182,6 @@ For more detail on the specific changes in this release, please read on.
3781
4182
 
3782
4183
  **New boxShadows**
3783
4184
  The following box shadows are now available:
3784
-
3785
4185
  - `borderBrandAccentLightLarge`
3786
4186
  - `borderCriticalLightLarge`
3787
4187
  - `borderFormAccentLight`
@@ -3791,7 +4191,6 @@ For more detail on the specific changes in this release, please read on.
3791
4191
 
3792
4192
  **New boxShadows**
3793
4193
  The following box shadows are now available:
3794
-
3795
4194
  - `borderBrandAccentLightLarge`
3796
4195
  - `borderCriticalLightLarge`
3797
4196
  - `borderFormAccentLight`
@@ -3805,7 +4204,6 @@ For more detail on the specific changes in this release, please read on.
3805
4204
 
3806
4205
  **New backgrounds**
3807
4206
  The following backgrounds are now available on the `vars.backgroundColor` theme object:
3808
-
3809
4207
  - `neutralActive`
3810
4208
  - `neutralHover`
3811
4209
  - `neutralSoftActive`
@@ -3813,7 +4211,6 @@ For more detail on the specific changes in this release, please read on.
3813
4211
 
3814
4212
  **New borderColors**
3815
4213
  The following border colors are now available on the `vars.borderColor` theme object:
3816
-
3817
4214
  - `brandAccentLight`
3818
4215
  - `criticalLight`
3819
4216
  - `formAccentLight`
@@ -3901,7 +4298,6 @@ For more detail on the specific changes in this release, please read on.
3901
4298
  - **Box:** Add new background and border colours ([#983](https://github.com/seek-oss/braid-design-system/pull/983))
3902
4299
 
3903
4300
  New `background` values:
3904
-
3905
4301
  - `brandAccentSoft`
3906
4302
  - `brandAccentSoftActive`
3907
4303
  - `brandAccentSoftHover`
@@ -3913,7 +4309,6 @@ For more detail on the specific changes in this release, please read on.
3913
4309
  - `formAccentSoftHover`
3914
4310
 
3915
4311
  New `boxShadow` values:
3916
-
3917
4312
  - `borderCautionLight`
3918
4313
  - `borderCriticalLight`
3919
4314
  - `borderInfoLight`
@@ -3921,7 +4316,6 @@ For more detail on the specific changes in this release, please read on.
3921
4316
  - `borderPromoteLight`
3922
4317
 
3923
4318
  - **atoms:** Add new `boxShadow` values: ([#983](https://github.com/seek-oss/braid-design-system/pull/983))
3924
-
3925
4319
  - `borderCautionLight`
3926
4320
  - `borderCriticalLight`
3927
4321
  - `borderInfoLight`
@@ -3931,7 +4325,6 @@ For more detail on the specific changes in this release, please read on.
3931
4325
  - **vars:** Add new background and border colours ([#983](https://github.com/seek-oss/braid-design-system/pull/983))
3932
4326
 
3933
4327
  New `backgroundColor` values:
3934
-
3935
4328
  - `brandAccentSoft`
3936
4329
  - `brandAccentSoftActive`
3937
4330
  - `brandAccentSoftHover`
@@ -3943,7 +4336,6 @@ For more detail on the specific changes in this release, please read on.
3943
4336
  - `formAccentSoftHover`
3944
4337
 
3945
4338
  New `borderColor` values:
3946
-
3947
4339
  - `cautionLight`
3948
4340
  - `criticalLight`
3949
4341
  - `infoLight`
@@ -4021,7 +4413,6 @@ For more detail on the specific changes in this release, please read on.
4021
4413
  - Add `wide` breakpoint of 1200px ([#960](https://github.com/seek-oss/braid-design-system/pull/960))
4022
4414
 
4023
4415
  This adds support for `wide` to the following touchpoints:
4024
-
4025
4416
  - Responsive values, e.g.
4026
4417
  ```ts
4027
4418
  { mobile: 'small', wide: 'large' }
@@ -4160,7 +4551,6 @@ For more detail on the specific changes in this release, please read on.
4160
4551
  - Updated minimum browser requirement to browsers that support CSS variables ([#947](https://github.com/seek-oss/braid-design-system/pull/947))
4161
4552
 
4162
4553
  For the major browsers this includes:
4163
-
4164
4554
  - Chrome 49+
4165
4555
  - iOS 9.3+
4166
4556
  - Safari 9.1+
@@ -4177,7 +4567,6 @@ For more detail on the specific changes in this release, please read on.
4177
4567
  - Standardise breakpoints across all themes ([#947](https://github.com/seek-oss/braid-design-system/pull/947))
4178
4568
 
4179
4569
  All themes now use the following breakpoints:
4180
-
4181
4570
  - Mobile: `0px`
4182
4571
  - Tablet: `740px`
4183
4572
  - Desktop: `992px`
@@ -4187,16 +4576,13 @@ For more detail on the specific changes in this release, please read on.
4187
4576
  This is a change for the following themes:
4188
4577
 
4189
4578
  **jobStreet, jobStreetClassic, jobsDb, occ, wireframe**
4190
-
4191
4579
  - Tablet: `768px` → `740px`
4192
4580
 
4193
4581
  **catho**
4194
-
4195
4582
  - Tablet: `600px` → `740px`
4196
4583
  - Desktop: `1024px` → `992px`
4197
4584
 
4198
4585
  **docs**
4199
-
4200
4586
  - Tablet: `768px` → `740px`
4201
4587
  - Desktop: `1136px` → `992px`
4202
4588
 
@@ -4400,7 +4786,6 @@ For more detail on the specific changes in this release, please read on.
4400
4786
  To maintain accessibility, it is required to provide either a **aria-label** or **aria-labelledby** property, to describe the field's intent.
4401
4787
 
4402
4788
  Given there is no visual label, the following features from a standard Checkbox cannot be supported:
4403
-
4404
4789
  - description
4405
4790
  - message
4406
4791
  - badge
@@ -5448,13 +5833,11 @@ For more detail on the specific changes in this release, please read on.
5448
5833
  The following z-index palette is now available on `Box`:
5449
5834
 
5450
5835
  **Local stacking**
5451
-
5452
5836
  - `0`
5453
5837
  - `1`
5454
5838
  - `2`
5455
5839
 
5456
5840
  **Global stacking**
5457
-
5458
5841
  - `"dropdownBackdrop"`
5459
5842
  - `"dropdown"`
5460
5843
  - `"sticky"`
@@ -5578,7 +5961,6 @@ For more detail on the specific changes in this release, please read on.
5578
5961
  - Add `List` component ([#710](https://github.com/seek-oss/braid-design-system/pull/710))
5579
5962
 
5580
5963
  `List` serves as a replacement for the `BulletList` and `Bullet` components which adds the following improvements:
5581
-
5582
5964
  - Support for numbers and alpha characters as bullets
5583
5965
  - Support for custom start positions in number/alpha lists
5584
5966
  - Rich content support, e.g. list items with multiple paragraphs, nested lists, etc.
@@ -5643,7 +6025,6 @@ For more detail on the specific changes in this release, please read on.
5643
6025
  The `_LEGACY_SPACE_` prop was provided to support consumers migrating to [`v14`](https://github.com/seek-oss/braid-design-system/releases/tag/v14.0.0) when the white space cropping and layout components were originally introduced. This has now been removed to allow us to further improve on our approach.
5644
6026
 
5645
6027
  Migrating off this prop will require consumers to perform the following steps:
5646
-
5647
6028
  - Remove the usage of `_LEGACY_SPACE_` on a component
5648
6029
  - Conduct a visual review of the impact (component will appear closer to neighbouring elements)
5649
6030
  - Use existing layout components, e.g. `Stack`, to define/control the reintroduction of the desired space.
@@ -5728,7 +6109,6 @@ For more detail on the specific changes in this release, please read on.
5728
6109
  - **`seekBusiness` theme:** Inherit from new `apac` theme rather than the deprecated `seekAnz` theme ([#694](https://github.com/seek-oss/braid-design-system/pull/694))
5729
6110
 
5730
6111
  Just like the migration from `seekAnz` to `apac`, the visual changes are as follows:
5731
-
5732
6112
  - The body background has changed from `#eeeeee` to `#f5f6f8`.
5733
6113
  - All grey colours now have a hint of blue.
5734
6114
  - Buttons and form fields have decreased in height from `48px` to `44px`.
@@ -5759,7 +6139,6 @@ For more detail on the specific changes in this release, please read on.
5759
6139
  This component serves as a replacement for `ToggleContent` from [SEEK Style Guide.](https://github.com/seek-oss/seek-style-guide)
5760
6140
 
5761
6141
  **SEEK STYLE GUIDE MIGRATION GUIDE**
5762
-
5763
6142
  - `ToggleContent` has been renamed to `Disclosure`.
5764
6143
  - The `onShowMore` prop has been renamed to `onToggle`.
5765
6144
  - The spacing around the button has changed to follow [Braid's layout guidelines.](https://seek-oss.github.io/braid-design-system/foundations/layout) Design review is recommeded.
@@ -5800,7 +6179,6 @@ For more detail on the specific changes in this release, please read on.
5800
6179
  Consumers of the `seekAnz` theme are under no immediate pressure to migrate and both themes will be provided for the forseeable future. For now, this theme is aimed at those teams that are explicitly wanting to adopt newer design standards.
5801
6180
 
5802
6181
  The visual changes to `seekAnz` are as follows:
5803
-
5804
6182
  - The body background has changed from `#eeeeee` to `#f5f6f8`.
5805
6183
  - All grey colours now have a hint of blue.
5806
6184
  - Buttons and form fields have decreased in height from 48px to 44px.
@@ -5843,7 +6221,6 @@ For more detail on the specific changes in this release, please read on.
5843
6221
  - MonthPicker: Support custom month and year labels ([#672](https://github.com/seek-oss/braid-design-system/pull/672))
5844
6222
 
5845
6223
  To support internationalisation, you can now pass the following props to `MonthPicker`:
5846
-
5847
6224
  - **monthLabel** (`string`)
5848
6225
  - **yearLabel** (`string`)
5849
6226
  - **monthNames** (`string[]`)
@@ -6025,7 +6402,6 @@ For more detail on the specific changes in this release, please read on.
6025
6402
  - Improve field border contrast ratio ([#638](https://github.com/seek-oss/braid-design-system/pull/638))
6026
6403
 
6027
6404
  To improve accessibility, field borders have been darkened for the following themes:
6028
-
6029
6405
  - `seekAnz`
6030
6406
  - `seekBusiness`
6031
6407
  - `seekUnifiedBeta`
@@ -6234,7 +6610,6 @@ For more detail on the specific changes in this release, please read on.
6234
6610
  The implementation of internal spacing within fields has been adjusted to better support browser extensions for password managers.
6235
6611
 
6236
6612
  Affects the following components:
6237
-
6238
6613
  - PasswordField: visibility toggle button
6239
6614
  - TextField: clear button
6240
6615
  - Autosuggest: clear button
@@ -6248,7 +6623,6 @@ For more detail on the specific changes in this release, please read on.
6248
6623
  Field buttons, such as clear and password visibility toggle, fire on mouse down to ensure focus is retained on the relevant field. We now ensure that the button only recognises left mouse button clicks.
6249
6624
 
6250
6625
  Affects the following components:
6251
-
6252
6626
  - PasswordField: visibility toggle button
6253
6627
  - TextField: clear button
6254
6628
  - Autosuggest: clear button
@@ -6458,7 +6832,6 @@ For more detail on the specific changes in this release, please read on.
6458
6832
  - Drop lodash usage to decrease bundle size. ([#585](https://github.com/seek-oss/braid-design-system/pull/585))
6459
6833
 
6460
6834
  This directly affects `MonthPicker` and any components using the `data` prop:
6461
-
6462
6835
  - All field components
6463
6836
  - OverflowMenu
6464
6837
  - MenuRenderer
@@ -6515,7 +6888,6 @@ For more detail on the specific changes in this release, please read on.
6515
6888
  In order to make your custom link component available for any type of link (not just usages of `TextLink`), this release introduces a new `Link` component which renders an unstyled `a` tag by default.
6516
6889
 
6517
6890
  **BREAKING CHANGES**
6518
-
6519
6891
  - `TextLink` now requires an `href` prop. Even though this is unlikely to affect anyone (a `TextLink` without an `href` isn't terribly useful), this is still technically a breaking change.
6520
6892
 
6521
6893
  However, if you find an instance of `TextLink` that you think _shouldn't_ have an `href`, this is a sign that it's not _actually_ a link and you should use a [`TextLinkRenderer`](https://seek-oss.github.io/braid-design-system/components/TextLinkRenderer) instead. Unfortunately, because there's no way for us to know the semantics of your usage ahead of time, we're unable to provide a migration guide, so you'll need to be mindful of how this might impact accessibility.
@@ -6642,7 +7014,6 @@ For more detail on the specific changes in this release, please read on.
6642
7014
  - Add customisable `MenuRenderer` component ([#514](https://github.com/seek-oss/braid-design-system/pull/514))
6643
7015
 
6644
7016
  **BREAKING CHANGES**
6645
-
6646
7017
  - Rename `OverflowMenuItem` to `MenuItem`.
6647
7018
  - Removed `type="link"` from `OverflowMenuItem` due to an accessibility issue with the approach (based on review of consumer usage, it did not seem to be used).
6648
7019
 
@@ -6651,7 +7022,6 @@ For more detail on the specific changes in this release, please read on.
6651
7022
  **`MenuRenderer`**
6652
7023
 
6653
7024
  Encapsulates all the behaviours of an accessible menu button, allowing consumers to define a custom `trigger` to open the menu. The trigger function receives two arguments:
6654
-
6655
7025
  1. Props required for accessibility, including mouse/keyboard interactions
6656
7026
  2. Menu state object containing the `open` state.
6657
7027
 
@@ -6712,7 +7082,6 @@ For more detail on the specific changes in this release, please read on.
6712
7082
  - Only show focus rings on buttons for keyboard navigation. ([#526](https://github.com/seek-oss/braid-design-system/pull/526))
6713
7083
 
6714
7084
  This impacts the following components:
6715
-
6716
7085
  - `Button`
6717
7086
  - `ButtonRenderer`
6718
7087
  - `OverflowMenu`
@@ -6759,5 +7128,4 @@ For more detail on the specific changes in this release, please read on.
6759
7128
  - 33139c8: Clone seekAnz theme to seekUnifiedBeta
6760
7129
 
6761
7130
  BREAKING CHANGE
6762
-
6763
7131
  - `jobsDbRebrand` theme has been removed