braid-design-system 32.24.0 → 32.24.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 (231) hide show
  1. package/CHANGELOG.md +37 -6
  2. package/dist/lib/components/Autosuggest/Autosuggest.cjs +4 -4
  3. package/dist/lib/components/Autosuggest/Autosuggest.css.cjs +0 -4
  4. package/dist/lib/components/Autosuggest/Autosuggest.css.mjs +0 -4
  5. package/dist/lib/components/Autosuggest/Autosuggest.mjs +7 -7
  6. package/dist/lib/components/BraidTestProvider/BraidTestProvider.cjs +5 -0
  7. package/dist/lib/components/BraidTestProvider/BraidTestProvider.mjs +5 -0
  8. package/dist/lib/components/Dropdown/Dropdown.cjs +1 -0
  9. package/dist/lib/components/Dropdown/Dropdown.mjs +1 -0
  10. package/dist/lib/components/MonthPicker/MonthPicker.cjs +45 -34
  11. package/dist/lib/components/MonthPicker/MonthPicker.mjs +45 -34
  12. package/dist/lib/components/PasswordField/PasswordField.cjs +1 -0
  13. package/dist/lib/components/PasswordField/PasswordField.mjs +1 -0
  14. package/dist/lib/components/RadioGroup/RadioGroup.cjs +1 -0
  15. package/dist/lib/components/RadioGroup/RadioGroup.mjs +1 -0
  16. package/dist/lib/components/Rating/Rating.cjs +4 -2
  17. package/dist/lib/components/Rating/Rating.mjs +4 -2
  18. package/dist/lib/components/Spread/Spread.cjs +7 -3
  19. package/dist/lib/components/Spread/Spread.css.cjs +12 -0
  20. package/dist/lib/components/Spread/Spread.css.mjs +12 -0
  21. package/dist/lib/components/Spread/Spread.mjs +8 -4
  22. package/dist/lib/components/TextField/TextField.cjs +1 -0
  23. package/dist/lib/components/TextField/TextField.mjs +1 -0
  24. package/dist/lib/components/Textarea/Textarea.cjs +1 -0
  25. package/dist/lib/components/Textarea/Textarea.mjs +1 -0
  26. package/dist/lib/components/icons/IconAI/IconAI.cjs +2 -5
  27. package/dist/lib/components/icons/IconAI/IconAI.mjs +2 -5
  28. package/dist/lib/components/icons/IconAdd/IconAdd.cjs +2 -5
  29. package/dist/lib/components/icons/IconAdd/IconAdd.mjs +2 -5
  30. package/dist/lib/components/icons/IconArrow/IconArrow.cjs +17 -20
  31. package/dist/lib/components/icons/IconArrow/IconArrow.mjs +17 -20
  32. package/dist/lib/components/icons/IconBookmark/IconBookmark.cjs +8 -11
  33. package/dist/lib/components/icons/IconBookmark/IconBookmark.mjs +8 -11
  34. package/dist/lib/components/icons/IconCareer/IconCareer.cjs +8 -11
  35. package/dist/lib/components/icons/IconCareer/IconCareer.mjs +8 -11
  36. package/dist/lib/components/icons/IconCategory/IconCategory.cjs +2 -5
  37. package/dist/lib/components/icons/IconCategory/IconCategory.mjs +2 -5
  38. package/dist/lib/components/icons/IconCaution/IconCaution.cjs +2 -5
  39. package/dist/lib/components/icons/IconCaution/IconCaution.mjs +2 -5
  40. package/dist/lib/components/icons/IconChevron/IconChevron.cjs +17 -20
  41. package/dist/lib/components/icons/IconChevron/IconChevron.mjs +17 -20
  42. package/dist/lib/components/icons/IconClear/IconClear.cjs +2 -5
  43. package/dist/lib/components/icons/IconClear/IconClear.mjs +2 -5
  44. package/dist/lib/components/icons/IconCompany/IconCompany.cjs +2 -5
  45. package/dist/lib/components/icons/IconCompany/IconCompany.mjs +2 -5
  46. package/dist/lib/components/icons/IconCompose/IconCompose.cjs +2 -5
  47. package/dist/lib/components/icons/IconCompose/IconCompose.mjs +2 -5
  48. package/dist/lib/components/icons/IconContainer.cjs +15 -0
  49. package/dist/lib/components/icons/IconContainer.mjs +16 -0
  50. package/dist/lib/components/icons/IconCopy/IconCopy.cjs +2 -5
  51. package/dist/lib/components/icons/IconCopy/IconCopy.mjs +2 -5
  52. package/dist/lib/components/icons/IconCreditCard/IconCreditCard.cjs +2 -5
  53. package/dist/lib/components/icons/IconCreditCard/IconCreditCard.mjs +2 -5
  54. package/dist/lib/components/icons/IconCritical/IconCritical.cjs +2 -5
  55. package/dist/lib/components/icons/IconCritical/IconCritical.mjs +2 -5
  56. package/dist/lib/components/icons/IconDate/IconDate.cjs +2 -5
  57. package/dist/lib/components/icons/IconDate/IconDate.mjs +2 -5
  58. package/dist/lib/components/icons/IconDelete/IconDelete.cjs +2 -5
  59. package/dist/lib/components/icons/IconDelete/IconDelete.mjs +2 -5
  60. package/dist/lib/components/icons/IconDesktop/IconDesktop.cjs +2 -5
  61. package/dist/lib/components/icons/IconDesktop/IconDesktop.mjs +2 -5
  62. package/dist/lib/components/icons/IconDocument/IconDocument.cjs +2 -5
  63. package/dist/lib/components/icons/IconDocument/IconDocument.mjs +2 -5
  64. package/dist/lib/components/icons/IconDocumentBroken/IconDocumentBroken.cjs +2 -5
  65. package/dist/lib/components/icons/IconDocumentBroken/IconDocumentBroken.mjs +2 -5
  66. package/dist/lib/components/icons/IconDownload/IconDownload.cjs +9 -7
  67. package/dist/lib/components/icons/IconDownload/IconDownload.mjs +9 -7
  68. package/dist/lib/components/icons/IconEdit/IconEdit.cjs +9 -7
  69. package/dist/lib/components/icons/IconEdit/IconEdit.mjs +9 -7
  70. package/dist/lib/components/icons/IconEducation/IconEducation.cjs +2 -5
  71. package/dist/lib/components/icons/IconEducation/IconEducation.mjs +2 -5
  72. package/dist/lib/components/icons/IconEnlarge/IconEnlarge.cjs +8 -11
  73. package/dist/lib/components/icons/IconEnlarge/IconEnlarge.mjs +8 -11
  74. package/dist/lib/components/icons/IconExperience/IconExperience.cjs +2 -5
  75. package/dist/lib/components/icons/IconExperience/IconExperience.mjs +2 -5
  76. package/dist/lib/components/icons/IconFilter/IconFilter.cjs +2 -5
  77. package/dist/lib/components/icons/IconFilter/IconFilter.mjs +2 -5
  78. package/dist/lib/components/icons/IconFlag/IconFlag.cjs +2 -5
  79. package/dist/lib/components/icons/IconFlag/IconFlag.mjs +2 -5
  80. package/dist/lib/components/icons/IconGift/IconGift.cjs +2 -5
  81. package/dist/lib/components/icons/IconGift/IconGift.mjs +2 -5
  82. package/dist/lib/components/icons/IconGlobe/IconGlobe.cjs +2 -5
  83. package/dist/lib/components/icons/IconGlobe/IconGlobe.mjs +2 -5
  84. package/dist/lib/components/icons/IconGrid/IconGrid.cjs +2 -5
  85. package/dist/lib/components/icons/IconGrid/IconGrid.mjs +2 -5
  86. package/dist/lib/components/icons/IconHash/IconHash.cjs +2 -5
  87. package/dist/lib/components/icons/IconHash/IconHash.mjs +2 -5
  88. package/dist/lib/components/icons/IconHeart/IconHeart.cjs +8 -11
  89. package/dist/lib/components/icons/IconHeart/IconHeart.mjs +8 -11
  90. package/dist/lib/components/icons/IconHelp/IconHelp.cjs +2 -5
  91. package/dist/lib/components/icons/IconHelp/IconHelp.mjs +2 -5
  92. package/dist/lib/components/icons/IconHistory/IconHistory.cjs +2 -5
  93. package/dist/lib/components/icons/IconHistory/IconHistory.mjs +2 -5
  94. package/dist/lib/components/icons/IconHome/IconHome.cjs +2 -5
  95. package/dist/lib/components/icons/IconHome/IconHome.mjs +2 -5
  96. package/dist/lib/components/icons/IconImage/IconImage.cjs +2 -5
  97. package/dist/lib/components/icons/IconImage/IconImage.mjs +2 -5
  98. package/dist/lib/components/icons/IconInfo/IconInfo.cjs +2 -5
  99. package/dist/lib/components/icons/IconInfo/IconInfo.mjs +2 -5
  100. package/dist/lib/components/icons/IconInvoice/IconInvoice.cjs +2 -5
  101. package/dist/lib/components/icons/IconInvoice/IconInvoice.mjs +2 -5
  102. package/dist/lib/components/icons/IconLanguage/IconLanguage.cjs +2 -5
  103. package/dist/lib/components/icons/IconLanguage/IconLanguage.mjs +2 -5
  104. package/dist/lib/components/icons/IconLink/IconLink.cjs +2 -5
  105. package/dist/lib/components/icons/IconLink/IconLink.mjs +2 -5
  106. package/dist/lib/components/icons/IconLinkBroken/IconLinkBroken.cjs +2 -5
  107. package/dist/lib/components/icons/IconLinkBroken/IconLinkBroken.mjs +2 -5
  108. package/dist/lib/components/icons/IconList/IconList.cjs +2 -5
  109. package/dist/lib/components/icons/IconList/IconList.mjs +2 -5
  110. package/dist/lib/components/icons/IconLocation/IconLocation.cjs +2 -5
  111. package/dist/lib/components/icons/IconLocation/IconLocation.mjs +2 -5
  112. package/dist/lib/components/icons/IconMail/IconMail.cjs +2 -5
  113. package/dist/lib/components/icons/IconMail/IconMail.mjs +2 -5
  114. package/dist/lib/components/icons/IconMessage/IconMessage.cjs +2 -5
  115. package/dist/lib/components/icons/IconMessage/IconMessage.mjs +2 -5
  116. package/dist/lib/components/icons/IconMinus/IconMinus.cjs +2 -5
  117. package/dist/lib/components/icons/IconMinus/IconMinus.mjs +2 -5
  118. package/dist/lib/components/icons/IconMobile/IconMobile.cjs +2 -5
  119. package/dist/lib/components/icons/IconMobile/IconMobile.mjs +2 -5
  120. package/dist/lib/components/icons/IconMoney/IconMoney.cjs +2 -5
  121. package/dist/lib/components/icons/IconMoney/IconMoney.mjs +2 -5
  122. package/dist/lib/components/icons/IconNewWindow/IconNewWindow.cjs +2 -5
  123. package/dist/lib/components/icons/IconNewWindow/IconNewWindow.mjs +2 -5
  124. package/dist/lib/components/icons/IconNote/IconNote.cjs +2 -5
  125. package/dist/lib/components/icons/IconNote/IconNote.mjs +2 -5
  126. package/dist/lib/components/icons/IconNotification/IconNotification.cjs +2 -5
  127. package/dist/lib/components/icons/IconNotification/IconNotification.mjs +2 -5
  128. package/dist/lib/components/icons/IconOverflow/IconOverflow.cjs +2 -5
  129. package/dist/lib/components/icons/IconOverflow/IconOverflow.mjs +2 -5
  130. package/dist/lib/components/icons/IconPeople/IconPeople.cjs +2 -5
  131. package/dist/lib/components/icons/IconPeople/IconPeople.mjs +2 -5
  132. package/dist/lib/components/icons/IconPersonAdd/IconPersonAdd.cjs +2 -5
  133. package/dist/lib/components/icons/IconPersonAdd/IconPersonAdd.mjs +2 -5
  134. package/dist/lib/components/icons/IconPersonVerified/IconPersonVerified.cjs +2 -5
  135. package/dist/lib/components/icons/IconPersonVerified/IconPersonVerified.mjs +2 -5
  136. package/dist/lib/components/icons/IconPhone/IconPhone.cjs +2 -5
  137. package/dist/lib/components/icons/IconPhone/IconPhone.mjs +2 -5
  138. package/dist/lib/components/icons/IconPlatformAndroid/IconPlatformAndroid.cjs +2 -5
  139. package/dist/lib/components/icons/IconPlatformAndroid/IconPlatformAndroid.mjs +2 -5
  140. package/dist/lib/components/icons/IconPlatformApple/IconPlatformApple.cjs +2 -5
  141. package/dist/lib/components/icons/IconPlatformApple/IconPlatformApple.mjs +2 -5
  142. package/dist/lib/components/icons/IconPositive/IconPositive.cjs +2 -5
  143. package/dist/lib/components/icons/IconPositive/IconPositive.mjs +2 -5
  144. package/dist/lib/components/icons/IconPrint/IconPrint.cjs +2 -5
  145. package/dist/lib/components/icons/IconPrint/IconPrint.mjs +2 -5
  146. package/dist/lib/components/icons/IconProfile/IconProfile.cjs +2 -5
  147. package/dist/lib/components/icons/IconProfile/IconProfile.mjs +2 -5
  148. package/dist/lib/components/icons/IconPromote/IconPromote.cjs +2 -5
  149. package/dist/lib/components/icons/IconPromote/IconPromote.mjs +2 -5
  150. package/dist/lib/components/icons/IconRecommended/IconRecommended.cjs +2 -5
  151. package/dist/lib/components/icons/IconRecommended/IconRecommended.mjs +2 -5
  152. package/dist/lib/components/icons/IconRefresh/IconRefresh.cjs +2 -5
  153. package/dist/lib/components/icons/IconRefresh/IconRefresh.mjs +2 -5
  154. package/dist/lib/components/icons/IconResume/IconResume.cjs +2 -5
  155. package/dist/lib/components/icons/IconResume/IconResume.mjs +2 -5
  156. package/dist/lib/components/icons/IconRocket/IconRocket.cjs +2 -5
  157. package/dist/lib/components/icons/IconRocket/IconRocket.mjs +2 -5
  158. package/dist/lib/components/icons/IconSearch/IconSearch.cjs +2 -5
  159. package/dist/lib/components/icons/IconSearch/IconSearch.mjs +2 -5
  160. package/dist/lib/components/icons/IconSecurity/IconSecurity.cjs +2 -5
  161. package/dist/lib/components/icons/IconSecurity/IconSecurity.mjs +2 -5
  162. package/dist/lib/components/icons/IconSend/IconSend.cjs +9 -7
  163. package/dist/lib/components/icons/IconSend/IconSend.mjs +9 -7
  164. package/dist/lib/components/icons/IconSent/IconSent.cjs +2 -5
  165. package/dist/lib/components/icons/IconSent/IconSent.mjs +2 -5
  166. package/dist/lib/components/icons/IconSentiment/IconSentiment.cjs +8 -11
  167. package/dist/lib/components/icons/IconSentiment/IconSentiment.mjs +8 -11
  168. package/dist/lib/components/icons/IconSettings/IconSettings.cjs +2 -5
  169. package/dist/lib/components/icons/IconSettings/IconSettings.mjs +2 -5
  170. package/dist/lib/components/icons/IconShare/IconShare.cjs +2 -5
  171. package/dist/lib/components/icons/IconShare/IconShare.mjs +2 -5
  172. package/dist/lib/components/icons/IconSkills/IconSkills.cjs +2 -5
  173. package/dist/lib/components/icons/IconSkills/IconSkills.mjs +2 -5
  174. package/dist/lib/components/icons/IconSocialFacebook/IconSocialFacebook.cjs +2 -5
  175. package/dist/lib/components/icons/IconSocialFacebook/IconSocialFacebook.mjs +2 -5
  176. package/dist/lib/components/icons/IconSocialGitHub/IconSocialGitHub.cjs +2 -5
  177. package/dist/lib/components/icons/IconSocialGitHub/IconSocialGitHub.mjs +2 -5
  178. package/dist/lib/components/icons/IconSocialInstagram/IconSocialInstagram.cjs +2 -5
  179. package/dist/lib/components/icons/IconSocialInstagram/IconSocialInstagram.mjs +2 -5
  180. package/dist/lib/components/icons/IconSocialLinkedIn/IconSocialLinkedIn.cjs +2 -5
  181. package/dist/lib/components/icons/IconSocialLinkedIn/IconSocialLinkedIn.mjs +2 -5
  182. package/dist/lib/components/icons/IconSocialMedium/IconSocialMedium.cjs +2 -5
  183. package/dist/lib/components/icons/IconSocialMedium/IconSocialMedium.mjs +2 -5
  184. package/dist/lib/components/icons/IconSocialTwitter/IconSocialTwitter.cjs +2 -5
  185. package/dist/lib/components/icons/IconSocialTwitter/IconSocialTwitter.mjs +2 -5
  186. package/dist/lib/components/icons/IconSocialX/IconSocialX.cjs +2 -5
  187. package/dist/lib/components/icons/IconSocialX/IconSocialX.mjs +2 -5
  188. package/dist/lib/components/icons/IconSocialYouTube/IconSocialYouTube.cjs +2 -5
  189. package/dist/lib/components/icons/IconSocialYouTube/IconSocialYouTube.mjs +2 -5
  190. package/dist/lib/components/icons/IconSort/IconSort.cjs +2 -5
  191. package/dist/lib/components/icons/IconSort/IconSort.mjs +2 -5
  192. package/dist/lib/components/icons/IconStar/IconStar.cjs +2 -5
  193. package/dist/lib/components/icons/IconStar/IconStar.mjs +2 -5
  194. package/dist/lib/components/icons/IconStatistics/IconStatistics.cjs +2 -5
  195. package/dist/lib/components/icons/IconStatistics/IconStatistics.mjs +2 -5
  196. package/dist/lib/components/icons/IconSubCategory/IconSubCategory.cjs +2 -5
  197. package/dist/lib/components/icons/IconSubCategory/IconSubCategory.mjs +2 -5
  198. package/dist/lib/components/icons/IconTag/IconTag.cjs +2 -5
  199. package/dist/lib/components/icons/IconTag/IconTag.mjs +2 -5
  200. package/dist/lib/components/icons/IconThumb/IconThumb.cjs +15 -18
  201. package/dist/lib/components/icons/IconThumb/IconThumb.mjs +15 -18
  202. package/dist/lib/components/icons/IconTick/IconTick.cjs +2 -5
  203. package/dist/lib/components/icons/IconTick/IconTick.mjs +2 -5
  204. package/dist/lib/components/icons/IconTime/IconTime.cjs +2 -5
  205. package/dist/lib/components/icons/IconTime/IconTime.mjs +2 -5
  206. package/dist/lib/components/icons/IconTip/IconTip.cjs +2 -5
  207. package/dist/lib/components/icons/IconTip/IconTip.mjs +2 -5
  208. package/dist/lib/components/icons/IconUpload/IconUpload.cjs +9 -7
  209. package/dist/lib/components/icons/IconUpload/IconUpload.mjs +9 -7
  210. package/dist/lib/components/icons/IconVideo/IconVideo.cjs +2 -5
  211. package/dist/lib/components/icons/IconVideo/IconVideo.mjs +2 -5
  212. package/dist/lib/components/icons/IconVisibility/IconVisibility.cjs +8 -11
  213. package/dist/lib/components/icons/IconVisibility/IconVisibility.mjs +8 -11
  214. package/dist/lib/components/icons/IconWorkExperience/IconWorkExperience.cjs +9 -7
  215. package/dist/lib/components/icons/IconWorkExperience/IconWorkExperience.mjs +9 -7
  216. package/dist/lib/components/icons/IconZoomIn/IconZoomIn.cjs +2 -5
  217. package/dist/lib/components/icons/IconZoomIn/IconZoomIn.mjs +2 -5
  218. package/dist/lib/components/icons/IconZoomOut/IconZoomOut.cjs +2 -5
  219. package/dist/lib/components/icons/IconZoomOut/IconZoomOut.mjs +2 -5
  220. package/dist/lib/components/private/Field/Field.cjs +15 -0
  221. package/dist/lib/components/private/Field/Field.mjs +14 -0
  222. package/dist/lib/components/private/FieldGroup/FieldGroup.cjs +16 -0
  223. package/dist/lib/components/private/FieldGroup/FieldGroup.mjs +14 -0
  224. package/dist/lib/components/private/Typography/Typography.cjs +1 -0
  225. package/dist/lib/components/private/Typography/Typography.mjs +1 -0
  226. package/dist/lib/hooks/useIcon/index.cjs +28 -22
  227. package/dist/lib/hooks/useIcon/index.mjs +29 -23
  228. package/dist/lib/playroom/snippets/Stack.cjs +3 -0
  229. package/dist/lib/playroom/snippets/Stack.mjs +3 -0
  230. package/dist/wireframe.chunk.d.ts +98 -96
  231. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # braid-design-system
2
2
 
3
+ ## 32.24.1
4
+
5
+ ### Patch Changes
6
+
7
+ - **BraidTestProvider:** Provide `scrollIntoView` stub function for jsdom ([#1590](https://github.com/seek-oss/braid-design-system/pull/1590))
8
+
9
+ Fixes an issue where `scrollIntoView` is not defined in jsdom, causing tests to fail with the following error:
10
+
11
+ ```
12
+ Error: Uncaught [TypeError: highlightedItem?.scrollIntoView is not a function]
13
+ ```
14
+
15
+ - **Autosuggest:** Update suggestion group heading design ([#1581](https://github.com/seek-oss/braid-design-system/pull/1581))
16
+
17
+ Updating the design of the suggestion group headings, moving from `formAccent` to `secondary` tone, from all caps to provided casing, and from `xsmall` to `small` size.
18
+
19
+ - **Text, Heading:** Ensure `maxLines` truncates correctly when used as the direct child of a flex container. ([#1580](https://github.com/seek-oss/braid-design-system/pull/1580))
20
+
21
+ - Validate accessible field labels in development ([#1591](https://github.com/seek-oss/braid-design-system/pull/1591))
22
+
23
+ Introduce development-time validation for the `label` prop on form fields to guard against blank values and guide towards the alternative labelling options that are available.
24
+ This validation helps ensure that all fields are accessible to screen readers and other assistive technologies.
25
+
26
+ - **Spread:** Apply content width to children ([#1583](https://github.com/seek-oss/braid-design-system/pull/1583))
27
+
28
+ Align the behaviour of children in `Spread` to be the same as `Inline` children.
29
+ This makes their behaviour more predicatable when spreading full width elements, while also ensuring child elements are not stretched vertically.
30
+
31
+ - **Icons:** Support rendering inline as child of a flex container ([#1585](https://github.com/seek-oss/braid-design-system/pull/1585))
32
+
3
33
  ## 32.24.0
4
34
 
5
35
  ### Minor Changes
@@ -16,7 +46,7 @@
16
46
 
17
47
  #### Migration Guide
18
48
 
19
- See [the migration guide] for details on how to migrate off the `dividers` prop.
49
+ See [migration guide] for details on how to migrate off the `dividers` prop.
20
50
 
21
51
  [CSS gap]: https://developer.mozilla.org/en-US/docs/Web/CSS/gap
22
52
  [migration guide]: https://github.com/seek-oss/braid-design-system/blob/master/docs/Removing%20dividers%20support%20from%20layout%20components.md
@@ -2049,7 +2079,7 @@ For more detail on the specific changes in this release, please read on.
2049
2079
 
2050
2080
  ```jsx
2051
2081
  <MenuRenderer
2052
- onClose={closeReason => {
2082
+ onClose={(closeReason) => {
2053
2083
  // ...
2054
2084
  }}
2055
2085
  />
@@ -2348,7 +2378,7 @@ For more detail on the specific changes in this release, please read on.
2348
2378
 
2349
2379
  ```jsx
2350
2380
  <MenuRenderer
2351
- trigger={triggerProps => <Button {...triggerProps}>Button</Button>}
2381
+ trigger={(triggerProps) => <Button {...triggerProps}>Button</Button>}
2352
2382
  >
2353
2383
  ...
2354
2384
  </MenuRenderer>
@@ -2780,8 +2810,9 @@ For more detail on the specific changes in this release, please read on.
2780
2810
 
2781
2811
  type ThemeName = 'apac' | 'catho';
2782
2812
 
2783
- const BraidTheme = loadable.lib((props: { themeName: ThemeName }) =>
2784
- import(`braid-design-system/themes/${props.themeName}`),
2813
+ const BraidTheme = loadable.lib(
2814
+ (props: { themeName: ThemeName }) =>
2815
+ import(`braid-design-system/themes/${props.themeName}`),
2785
2816
  );
2786
2817
 
2787
2818
  interface AppProps {
@@ -5440,7 +5471,7 @@ For more detail on the specific changes in this release, please read on.
5440
5471
  <AccordionItem
5441
5472
  id="id"
5442
5473
  label="Label"
5443
- onToggle={expanded => trackSomething(expanded)}
5474
+ onToggle={(expanded) => trackSomething(expanded)}
5444
5475
  >
5445
5476
  ...
5446
5477
  </AccordionItem>
@@ -117,13 +117,12 @@ function GroupHeading({ children }) {
117
117
  {
118
118
  paddingX: "small",
119
119
  className: [
120
- lib_components_Autosuggest_Autosuggest_css_cjs.groupHeading,
121
120
  lib_css_typography_css_cjs.touchableText.xsmall,
122
121
  lib_css_typography_cjs.textStyles({
123
- size: "xsmall",
124
- baseline: false,
122
+ size: "small",
123
+ baseline: true,
125
124
  weight: "strong",
126
- tone: "formAccent"
125
+ tone: "secondary"
127
126
  })
128
127
  ],
129
128
  "data-testid": process.env.NODE_ENV !== "production" ? `group-heading-${children}` : void 0,
@@ -520,6 +519,7 @@ const Autosuggest = React.forwardRef(function({
520
519
  lib_components_private_Field_Field_cjs.Field,
521
520
  {
522
521
  ...restProps,
522
+ componentName: "Autosuggest",
523
523
  id,
524
524
  value: value.text,
525
525
  prefix: void 0,
@@ -23,11 +23,7 @@ const menu = css.style(lib_css_responsiveStyle_cjs.responsiveStyle({
23
23
  maxHeight: calcMenuHeight(8)
24
24
  }
25
25
  }), "menu");
26
- const groupHeading = css.style({
27
- textTransform: "uppercase"
28
- }, "groupHeading");
29
26
  fileScope.endFileScope();
30
27
  exports.backdrop = backdrop;
31
28
  exports.backdropVisible = backdropVisible;
32
- exports.groupHeading = groupHeading;
33
29
  exports.menu = menu;
@@ -22,13 +22,9 @@ const menu = style(responsiveStyle({
22
22
  maxHeight: calcMenuHeight(8)
23
23
  }
24
24
  }), "menu");
25
- const groupHeading = style({
26
- textTransform: "uppercase"
27
- }, "groupHeading");
28
25
  endFileScope();
29
26
  export {
30
27
  backdrop,
31
28
  backdropVisible,
32
- groupHeading,
33
29
  menu
34
30
  };
@@ -21,7 +21,7 @@ import { RemoveScroll } from "react-remove-scroll";
21
21
  import { getItemId, createAccessibilityProps } from "./createAccessibilityProps.mjs";
22
22
  import { autosuggest } from "../../translations/en.mjs";
23
23
  import { reverseMatches } from "./reverseMatches.mjs";
24
- import { backdrop, backdropVisible, menu, groupHeading } from "./Autosuggest.css.mjs";
24
+ import { backdrop, backdropVisible, menu } from "./Autosuggest.css.mjs";
25
25
  import { IconClear } from "../icons/IconClear/IconClear.mjs";
26
26
  const INPUT_FOCUS = 0;
27
27
  const INPUT_BLUR = 1;
@@ -112,13 +112,12 @@ function GroupHeading({ children }) {
112
112
  {
113
113
  paddingX: "small",
114
114
  className: [
115
- groupHeading,
116
115
  touchableText.xsmall,
117
116
  textStyles({
118
- size: "xsmall",
119
- baseline: false,
117
+ size: "small",
118
+ baseline: true,
120
119
  weight: "strong",
121
- tone: "formAccent"
120
+ tone: "secondary"
122
121
  })
123
122
  ],
124
123
  "data-testid": process.env.NODE_ENV !== "production" ? `group-heading-${children}` : void 0,
@@ -515,6 +514,7 @@ const Autosuggest = forwardRef(function({
515
514
  Field,
516
515
  {
517
516
  ...restProps,
517
+ componentName: "Autosuggest",
518
518
  id,
519
519
  value: value.text,
520
520
  prefix: void 0,
@@ -579,14 +579,14 @@ const Autosuggest = forwardRef(function({
579
579
  ) : null,
580
580
  isOpen && hasSuggestions ? normalisedSuggestions.map((suggestion, index) => {
581
581
  const { text } = suggestion;
582
- const groupHeading2 = groupHeadingIndexes.get(index);
582
+ const groupHeading = groupHeadingIndexes.get(index);
583
583
  const highlights = suggestionHighlight ? highlightSuggestions(
584
584
  suggestion.text,
585
585
  value.text,
586
586
  suggestionHighlight
587
587
  ) : suggestion.highlights;
588
588
  return /* @__PURE__ */ jsxs(Fragment, { children: [
589
- groupHeading2 ? /* @__PURE__ */ jsx(GroupHeading, { children: groupHeading2 }) : null,
589
+ groupHeading ? /* @__PURE__ */ jsx(GroupHeading, { children: groupHeading }) : null,
590
590
  /* @__PURE__ */ jsx(
591
591
  SuggestionItem,
592
592
  {
@@ -1,9 +1,14 @@
1
1
  "use strict";
2
+ var _a;
2
3
  const jsxRuntime = require("react/jsx-runtime");
3
4
  const lib_themes_index_cjs = require("../../themes/index.cjs");
4
5
  const lib_components_BraidProvider_BraidProvider_cjs = require("../BraidProvider/BraidProvider.cjs");
5
6
  const lib_components_BraidTestProvider_BraidTestProviderContext_cjs = require("./BraidTestProviderContext.cjs");
6
7
  const lib_components_BraidProvider_BreakpointContext_cjs = require("../BraidProvider/BreakpointContext.cjs");
8
+ if (typeof navigator !== "undefined" && ((_a = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : _a.includes("jsdom"))) {
9
+ window.HTMLElement.prototype.scrollIntoView = window.HTMLElement.prototype.scrollIntoView || (() => {
10
+ });
11
+ }
7
12
  const BraidTestProvider = ({
8
13
  themeName = "wireframe",
9
14
  breakpoint = null,
@@ -1,8 +1,13 @@
1
+ var _a;
1
2
  import { jsx } from "react/jsx-runtime";
2
3
  import { themes } from "../../themes/index.mjs";
3
4
  import { BraidProvider } from "../BraidProvider/BraidProvider.mjs";
4
5
  import { BraidTestProviderContext } from "./BraidTestProviderContext.mjs";
5
6
  import { breakpointContext } from "../BraidProvider/BreakpointContext.mjs";
7
+ if (typeof navigator !== "undefined" && ((_a = navigator == null ? void 0 : navigator.userAgent) == null ? void 0 : _a.includes("jsdom"))) {
8
+ window.HTMLElement.prototype.scrollIntoView = window.HTMLElement.prototype.scrollIntoView || (() => {
9
+ });
10
+ }
6
11
  const BraidTestProvider = ({
7
12
  themeName = "wireframe",
8
13
  breakpoint = null,
@@ -22,6 +22,7 @@ const Dropdown = React.forwardRef(
22
22
  lib_components_private_Field_Field_cjs.Field,
23
23
  {
24
24
  ...restProps,
25
+ componentName: "Dropdown",
25
26
  disabled,
26
27
  prefix: void 0,
27
28
  secondaryMessage: null,
@@ -21,6 +21,7 @@ const Dropdown = forwardRef(
21
21
  Field,
22
22
  {
23
23
  ...restProps,
24
+ componentName: "Dropdown",
24
25
  disabled,
25
26
  prefix: void 0,
26
27
  secondaryMessage: null,
@@ -110,6 +110,7 @@ const MonthPicker = ({
110
110
  disabled,
111
111
  value: customValueToString(currentValue),
112
112
  ...restProps,
113
+ componentName: "MonthPicker",
113
114
  icon: void 0,
114
115
  prefix: void 0,
115
116
  name: void 0,
@@ -134,40 +135,50 @@ const MonthPicker = ({
134
135
  ] })
135
136
  }
136
137
  );
137
- const customFieldGroup = /* @__PURE__ */ jsxRuntime.jsx(lib_components_private_FieldGroup_FieldGroup_cjs.FieldGroup, { id, tone, disabled, ...restProps, children: (fieldGroupProps) => /* @__PURE__ */ jsxRuntime.jsxs(lib_components_Columns_Columns_cjs.Columns, { space: "xsmall", children: [
138
- /* @__PURE__ */ jsxRuntime.jsx(lib_components_Column_Column_cjs.Column, { children: /* @__PURE__ */ jsxRuntime.jsx(
139
- lib_components_Dropdown_Dropdown_cjs.Dropdown,
140
- {
141
- id: monthId,
142
- value: currentValue.month || "",
143
- onChange: makeChangeHandler(onChange, value, "month"),
144
- onBlur: blurHandler,
145
- onFocus: focusHandler,
146
- tone,
147
- placeholder: monthLabel,
148
- "aria-label": monthLabel,
149
- ...fieldGroupProps,
150
- ref: monthRef,
151
- children: getMonths(monthNames)
152
- }
153
- ) }),
154
- /* @__PURE__ */ jsxRuntime.jsx(lib_components_Column_Column_cjs.Column, { children: /* @__PURE__ */ jsxRuntime.jsx(
155
- lib_components_Dropdown_Dropdown_cjs.Dropdown,
156
- {
157
- id: yearId,
158
- value: currentValue.year || "",
159
- onChange: makeChangeHandler(onChange, value, "year"),
160
- onBlur: blurHandler,
161
- onFocus: focusHandler,
162
- tone,
163
- placeholder: yearLabel,
164
- "aria-label": yearLabel,
165
- ...fieldGroupProps,
166
- ref: yearRef,
167
- children: getYears(minYear, maxYear, ascendingYears)
168
- }
169
- ) })
170
- ] }) });
138
+ const customFieldGroup = /* @__PURE__ */ jsxRuntime.jsx(
139
+ lib_components_private_FieldGroup_FieldGroup_cjs.FieldGroup,
140
+ {
141
+ id,
142
+ tone,
143
+ disabled,
144
+ componentName: "MonthPicker",
145
+ ...restProps,
146
+ children: (fieldGroupProps) => /* @__PURE__ */ jsxRuntime.jsxs(lib_components_Columns_Columns_cjs.Columns, { space: "xsmall", children: [
147
+ /* @__PURE__ */ jsxRuntime.jsx(lib_components_Column_Column_cjs.Column, { children: /* @__PURE__ */ jsxRuntime.jsx(
148
+ lib_components_Dropdown_Dropdown_cjs.Dropdown,
149
+ {
150
+ id: monthId,
151
+ value: currentValue.month || "",
152
+ onChange: makeChangeHandler(onChange, value, "month"),
153
+ onBlur: blurHandler,
154
+ onFocus: focusHandler,
155
+ tone,
156
+ placeholder: monthLabel,
157
+ "aria-label": monthLabel,
158
+ ...fieldGroupProps,
159
+ ref: monthRef,
160
+ children: getMonths(monthNames)
161
+ }
162
+ ) }),
163
+ /* @__PURE__ */ jsxRuntime.jsx(lib_components_Column_Column_cjs.Column, { children: /* @__PURE__ */ jsxRuntime.jsx(
164
+ lib_components_Dropdown_Dropdown_cjs.Dropdown,
165
+ {
166
+ id: yearId,
167
+ value: currentValue.year || "",
168
+ onChange: makeChangeHandler(onChange, value, "year"),
169
+ onBlur: blurHandler,
170
+ onFocus: focusHandler,
171
+ tone,
172
+ placeholder: yearLabel,
173
+ "aria-label": yearLabel,
174
+ ...fieldGroupProps,
175
+ ref: yearRef,
176
+ children: getYears(minYear, maxYear, ascendingYears)
177
+ }
178
+ ) })
179
+ ] })
180
+ }
181
+ );
171
182
  return renderNativeInput ? nativeField : customFieldGroup;
172
183
  };
173
184
  MonthPicker.displayName = "MonthPicker";
@@ -107,6 +107,7 @@ const MonthPicker = ({
107
107
  disabled,
108
108
  value: customValueToString(currentValue),
109
109
  ...restProps,
110
+ componentName: "MonthPicker",
110
111
  icon: void 0,
111
112
  prefix: void 0,
112
113
  name: void 0,
@@ -131,40 +132,50 @@ const MonthPicker = ({
131
132
  ] })
132
133
  }
133
134
  );
134
- const customFieldGroup = /* @__PURE__ */ jsx(FieldGroup, { id, tone, disabled, ...restProps, children: (fieldGroupProps) => /* @__PURE__ */ jsxs(Columns, { space: "xsmall", children: [
135
- /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsx(
136
- Dropdown,
137
- {
138
- id: monthId,
139
- value: currentValue.month || "",
140
- onChange: makeChangeHandler(onChange, value, "month"),
141
- onBlur: blurHandler,
142
- onFocus: focusHandler,
143
- tone,
144
- placeholder: monthLabel,
145
- "aria-label": monthLabel,
146
- ...fieldGroupProps,
147
- ref: monthRef,
148
- children: getMonths(monthNames)
149
- }
150
- ) }),
151
- /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsx(
152
- Dropdown,
153
- {
154
- id: yearId,
155
- value: currentValue.year || "",
156
- onChange: makeChangeHandler(onChange, value, "year"),
157
- onBlur: blurHandler,
158
- onFocus: focusHandler,
159
- tone,
160
- placeholder: yearLabel,
161
- "aria-label": yearLabel,
162
- ...fieldGroupProps,
163
- ref: yearRef,
164
- children: getYears(minYear, maxYear, ascendingYears)
165
- }
166
- ) })
167
- ] }) });
135
+ const customFieldGroup = /* @__PURE__ */ jsx(
136
+ FieldGroup,
137
+ {
138
+ id,
139
+ tone,
140
+ disabled,
141
+ componentName: "MonthPicker",
142
+ ...restProps,
143
+ children: (fieldGroupProps) => /* @__PURE__ */ jsxs(Columns, { space: "xsmall", children: [
144
+ /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsx(
145
+ Dropdown,
146
+ {
147
+ id: monthId,
148
+ value: currentValue.month || "",
149
+ onChange: makeChangeHandler(onChange, value, "month"),
150
+ onBlur: blurHandler,
151
+ onFocus: focusHandler,
152
+ tone,
153
+ placeholder: monthLabel,
154
+ "aria-label": monthLabel,
155
+ ...fieldGroupProps,
156
+ ref: monthRef,
157
+ children: getMonths(monthNames)
158
+ }
159
+ ) }),
160
+ /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsx(
161
+ Dropdown,
162
+ {
163
+ id: yearId,
164
+ value: currentValue.year || "",
165
+ onChange: makeChangeHandler(onChange, value, "year"),
166
+ onBlur: blurHandler,
167
+ onFocus: focusHandler,
168
+ tone,
169
+ placeholder: yearLabel,
170
+ "aria-label": yearLabel,
171
+ ...fieldGroupProps,
172
+ ref: yearRef,
173
+ children: getYears(minYear, maxYear, ascendingYears)
174
+ }
175
+ ) })
176
+ ] })
177
+ }
178
+ );
168
179
  return renderNativeInput ? nativeField : customFieldGroup;
169
180
  };
170
181
  MonthPicker.displayName = "MonthPicker";
@@ -41,6 +41,7 @@ const PasswordField = React.forwardRef(
41
41
  lib_components_private_Field_Field_cjs.Field,
42
42
  {
43
43
  ...restProps,
44
+ componentName: "PasswordField",
44
45
  id,
45
46
  value,
46
47
  icon: void 0,
@@ -40,6 +40,7 @@ const PasswordField = forwardRef(
40
40
  Field,
41
41
  {
42
42
  ...restProps,
43
+ componentName: "PasswordField",
43
44
  id,
44
45
  value,
45
46
  icon: void 0,
@@ -35,6 +35,7 @@ const RadioGroup = ({
35
35
  {
36
36
  id,
37
37
  ...props,
38
+ componentName: "RadioGroup",
38
39
  disabled,
39
40
  tone,
40
41
  role: "radiogroup",
@@ -32,6 +32,7 @@ const RadioGroup = ({
32
32
  {
33
33
  id,
34
34
  ...props,
35
+ componentName: "RadioGroup",
35
36
  disabled,
36
37
  tone,
37
38
  role: "radiogroup",
@@ -16,7 +16,9 @@ const dedent__default = /* @__PURE__ */ _interopDefaultCompat(dedent);
16
16
  const getPercent = (rating, position) => Math.round(Math.min(Math.max(rating - position, 0), 1) * 100);
17
17
  const RatingStar = ({ percent, ...restProps }) => {
18
18
  const currentBg = lib_components_Box_BackgroundContext_cjs.useBackground();
19
- const { className, ...iconProps } = lib_hooks_useIcon_index_cjs.useIcon(restProps);
19
+ const {
20
+ svgProps: { className, ...svgProps }
21
+ } = lib_hooks_useIcon_index_cjs.useIcon(restProps);
20
22
  let component = lib_components_icons_IconStar_IconStarSvg_cjs.IconStarSvg;
21
23
  if (percent >= 25 && percent < 75) {
22
24
  component = lib_components_icons_IconStar_IconStarHalfSvg_cjs.IconStarHalfSvg;
@@ -28,7 +30,7 @@ const RatingStar = ({ percent, ...restProps }) => {
28
30
  lib_components_Box_Box_cjs.Box,
29
31
  {
30
32
  component,
31
- ...iconProps,
33
+ ...svgProps,
32
34
  className: [
33
35
  className,
34
36
  {
@@ -12,7 +12,9 @@ import { starSpacing, textSpacing, lightModeStarColor, darkModeStarColor } from
12
12
  const getPercent = (rating, position) => Math.round(Math.min(Math.max(rating - position, 0), 1) * 100);
13
13
  const RatingStar = ({ percent, ...restProps }) => {
14
14
  const currentBg = useBackground();
15
- const { className, ...iconProps } = useIcon(restProps);
15
+ const {
16
+ svgProps: { className, ...svgProps }
17
+ } = useIcon(restProps);
16
18
  let component = IconStarSvg;
17
19
  if (percent >= 25 && percent < 75) {
18
20
  component = IconStarHalfSvg;
@@ -24,7 +26,7 @@ const RatingStar = ({ percent, ...restProps }) => {
24
26
  Box,
25
27
  {
26
28
  component,
27
- ...iconProps,
29
+ ...svgProps,
28
30
  className: [
29
31
  className,
30
32
  {
@@ -10,7 +10,7 @@ const Spread = ({
10
10
  space,
11
11
  direction = "horizontal",
12
12
  align,
13
- alignY,
13
+ alignY = "top",
14
14
  data,
15
15
  ...restProps
16
16
  }) => {
@@ -19,7 +19,7 @@ const Spread = ({
19
19
  let alignItems;
20
20
  if (align && isVertical) {
21
21
  alignItems = lib_utils_align_cjs.alignToFlexAlign(align);
22
- } else if (alignY && isHorizontal) {
22
+ } else if (isHorizontal) {
23
23
  alignItems = lib_utils_align_cjs.alignYToFlexAlign(alignY);
24
24
  }
25
25
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -32,7 +32,11 @@ const Spread = ({
32
32
  height: isVertical ? "full" : void 0,
33
33
  justifyContent: "spaceBetween",
34
34
  alignItems,
35
- className: lib_components_Spread_Spread_css_cjs.responsiveGap({ gap: space }),
35
+ className: [
36
+ isHorizontal ? lib_components_Spread_Spread_css_cjs.fitContent : void 0,
37
+ isVertical ? lib_components_Spread_Spread_css_cjs.maxWidth : void 0,
38
+ lib_components_Spread_Spread_css_cjs.responsiveGap({ gap: space })
39
+ ],
36
40
  ...lib_components_private_buildDataAttributes_cjs.buildDataAttributes({ data, validateRestProps: restProps }),
37
41
  children
38
42
  }
@@ -1,9 +1,19 @@
1
1
  "use strict";
2
2
  const fileScope = require("@vanilla-extract/css/fileScope");
3
+ const css = require("@vanilla-extract/css");
3
4
  const sprinkles = require("@vanilla-extract/sprinkles");
4
5
  const lib_css_breakpoints_cjs = require("../../css/breakpoints.cjs");
5
6
  const lib_css_atoms_atomicProperties_cjs = require("../../css/atoms/atomicProperties.cjs");
6
7
  fileScope.setFileScope("src/lib/components/Spread/Spread.css.ts", "braid-design-system");
8
+ const fitContent = css.style({}, "fitContent");
9
+ css.globalStyle(`${fitContent} > *`, {
10
+ flexBasis: "auto",
11
+ width: "auto"
12
+ });
13
+ const maxWidth = css.style({}, "maxWidth");
14
+ css.globalStyle(`${maxWidth} > *`, {
15
+ maxWidth: "100%"
16
+ });
7
17
  const responsiveGapProperties = sprinkles.defineProperties({
8
18
  defaultCondition: "mobile",
9
19
  conditions: {
@@ -24,4 +34,6 @@ const responsiveGapProperties = sprinkles.defineProperties({
24
34
  });
25
35
  const responsiveGap = sprinkles.createSprinkles(responsiveGapProperties);
26
36
  fileScope.endFileScope();
37
+ exports.fitContent = fitContent;
38
+ exports.maxWidth = maxWidth;
27
39
  exports.responsiveGap = responsiveGap;
@@ -1,8 +1,18 @@
1
1
  import { setFileScope, endFileScope } from "@vanilla-extract/css/fileScope";
2
+ import { style, globalStyle } from "@vanilla-extract/css";
2
3
  import { defineProperties, createSprinkles } from "@vanilla-extract/sprinkles";
3
4
  import { breakpoints } from "../../css/breakpoints.mjs";
4
5
  import { space } from "../../css/atoms/atomicProperties.mjs";
5
6
  setFileScope("src/lib/components/Spread/Spread.css.ts", "braid-design-system");
7
+ const fitContent = style({}, "fitContent");
8
+ globalStyle(`${fitContent} > *`, {
9
+ flexBasis: "auto",
10
+ width: "auto"
11
+ });
12
+ const maxWidth = style({}, "maxWidth");
13
+ globalStyle(`${maxWidth} > *`, {
14
+ maxWidth: "100%"
15
+ });
6
16
  const responsiveGapProperties = defineProperties({
7
17
  defaultCondition: "mobile",
8
18
  conditions: {
@@ -24,5 +34,7 @@ const responsiveGapProperties = defineProperties({
24
34
  const responsiveGap = createSprinkles(responsiveGapProperties);
25
35
  endFileScope();
26
36
  export {
37
+ fitContent,
38
+ maxWidth,
27
39
  responsiveGap
28
40
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { Box } from "../Box/Box.mjs";
3
3
  import { alignToFlexAlign, alignYToFlexAlign } from "../../utils/align.mjs";
4
- import { responsiveGap } from "./Spread.css.mjs";
4
+ import { fitContent, maxWidth, responsiveGap } from "./Spread.css.mjs";
5
5
  import { buildDataAttributes } from "../private/buildDataAttributes.mjs";
6
6
  const Spread = ({
7
7
  component,
@@ -9,7 +9,7 @@ const Spread = ({
9
9
  space,
10
10
  direction = "horizontal",
11
11
  align,
12
- alignY,
12
+ alignY = "top",
13
13
  data,
14
14
  ...restProps
15
15
  }) => {
@@ -18,7 +18,7 @@ const Spread = ({
18
18
  let alignItems;
19
19
  if (align && isVertical) {
20
20
  alignItems = alignToFlexAlign(align);
21
- } else if (alignY && isHorizontal) {
21
+ } else if (isHorizontal) {
22
22
  alignItems = alignYToFlexAlign(alignY);
23
23
  }
24
24
  return /* @__PURE__ */ jsx(
@@ -31,7 +31,11 @@ const Spread = ({
31
31
  height: isVertical ? "full" : void 0,
32
32
  justifyContent: "spaceBetween",
33
33
  alignItems,
34
- className: responsiveGap({ gap: space }),
34
+ className: [
35
+ isHorizontal ? fitContent : void 0,
36
+ isVertical ? maxWidth : void 0,
37
+ responsiveGap({ gap: space })
38
+ ],
35
39
  ...buildDataAttributes({ data, validateRestProps: restProps }),
36
40
  children
37
41
  }
@@ -48,6 +48,7 @@ const TextField = React.forwardRef(
48
48
  lib_components_private_Field_Field_cjs.Field,
49
49
  {
50
50
  ...restProps,
51
+ componentName: "TextField",
51
52
  id,
52
53
  value,
53
54
  secondaryMessage: characterLimit ? lib_components_private_Field_getCharacterLimitStatus_cjs.getCharacterLimitStatus({
@@ -47,6 +47,7 @@ const TextField = forwardRef(
47
47
  Field,
48
48
  {
49
49
  ...restProps,
50
+ componentName: "TextField",
50
51
  id,
51
52
  value,
52
53
  secondaryMessage: characterLimit ? getCharacterLimitStatus({
@@ -57,6 +57,7 @@ const Textarea = React.forwardRef(
57
57
  lib_components_private_Field_Field_cjs.Field,
58
58
  {
59
59
  ...restProps,
60
+ componentName: "Textarea",
60
61
  tone,
61
62
  value,
62
63
  icon: void 0,