@primer/react 38.0.0-rc.6 → 38.0.0-rc.7

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 (320) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/ActionBar/ActionBar.d.ts +15 -1
  3. package/dist/ActionBar/ActionBar.d.ts.map +1 -1
  4. package/dist/ActionBar/ActionBar.js +381 -217
  5. package/dist/ActionBar/index.d.ts +1 -1
  6. package/dist/ActionList/Description.d.ts +4 -3
  7. package/dist/ActionList/Description.d.ts.map +1 -1
  8. package/dist/ActionList/Description.js +5 -5
  9. package/dist/ActionList/Divider.d.ts +5 -4
  10. package/dist/ActionList/Divider.d.ts.map +1 -1
  11. package/dist/ActionList/Divider.js +6 -7
  12. package/dist/ActionList/Group.d.ts +4 -5
  13. package/dist/ActionList/Group.d.ts.map +1 -1
  14. package/dist/ActionList/Group.js +9 -16
  15. package/dist/ActionList/Heading.d.ts +3 -2
  16. package/dist/ActionList/Heading.d.ts.map +1 -1
  17. package/dist/ActionList/Heading.js +1 -0
  18. package/dist/ActionList/Item.d.ts +5 -2
  19. package/dist/ActionList/Item.d.ts.map +1 -1
  20. package/dist/ActionList/Item.js +4 -8
  21. package/dist/ActionList/LinkItem.d.ts +1 -1
  22. package/dist/ActionList/LinkItem.d.ts.map +1 -1
  23. package/dist/ActionList/LinkItem.js +1 -2
  24. package/dist/ActionList/List.d.ts +1 -1
  25. package/dist/ActionList/List.d.ts.map +1 -1
  26. package/dist/ActionList/List.js +1 -3
  27. package/dist/ActionList/TrailingAction.d.ts +1 -0
  28. package/dist/ActionList/TrailingAction.d.ts.map +1 -1
  29. package/dist/ActionList/TrailingAction.js +3 -0
  30. package/dist/ActionList/Visuals.d.ts +4 -4
  31. package/dist/ActionList/Visuals.d.ts.map +1 -1
  32. package/dist/ActionList/Visuals.js +3 -3
  33. package/dist/ActionList/index.d.ts +12 -9
  34. package/dist/ActionList/index.d.ts.map +1 -1
  35. package/dist/ActionList/shared.d.ts +2 -3
  36. package/dist/ActionList/shared.d.ts.map +1 -1
  37. package/dist/ActionMenu/ActionMenu.d.ts +6 -5
  38. package/dist/ActionMenu/ActionMenu.d.ts.map +1 -1
  39. package/dist/ActionMenu/ActionMenu.js +11 -6
  40. package/dist/Autocomplete/Autocomplete.d.ts +6 -4
  41. package/dist/Autocomplete/Autocomplete.d.ts.map +1 -1
  42. package/dist/Autocomplete/Autocomplete.js +1 -0
  43. package/dist/Autocomplete/AutocompleteInput.js +1 -0
  44. package/dist/Autocomplete/AutocompleteMenu.d.ts +1 -0
  45. package/dist/Autocomplete/AutocompleteMenu.d.ts.map +1 -1
  46. package/dist/Autocomplete/AutocompleteMenu.js +1 -0
  47. package/dist/Autocomplete/AutocompleteOverlay.d.ts +1 -0
  48. package/dist/Autocomplete/AutocompleteOverlay.d.ts.map +1 -1
  49. package/dist/Autocomplete/AutocompleteOverlay.js +1 -0
  50. package/dist/AvatarStack/AvatarStack.d.ts.map +1 -1
  51. package/dist/AvatarStack/AvatarStack.js +1 -3
  52. package/dist/BranchName/BranchName.d.ts +9 -10
  53. package/dist/BranchName/BranchName.d.ts.map +1 -1
  54. package/dist/BranchName/BranchName.js +1 -8
  55. package/dist/Button/Button.d.ts +1 -5
  56. package/dist/Button/Button.d.ts.map +1 -1
  57. package/dist/Button/Button.js +2 -85
  58. package/dist/Button/ButtonBase.d.ts.map +1 -1
  59. package/dist/Button/ButtonBase.js +8 -93
  60. package/dist/Button/IconButton.d.ts.map +1 -1
  61. package/dist/Button/IconButton.js +0 -16
  62. package/dist/Button/LinkButton.d.ts +1 -1
  63. package/dist/Button/LinkButton.d.ts.map +1 -1
  64. package/dist/Button/types.d.ts +1 -3
  65. package/dist/Button/types.d.ts.map +1 -1
  66. package/dist/Checkbox/Checkbox.d.ts +3 -1
  67. package/dist/Checkbox/Checkbox.d.ts.map +1 -1
  68. package/dist/Checkbox/Checkbox.js +1 -0
  69. package/dist/CheckboxGroup/CheckboxGroup.d.ts +8 -7
  70. package/dist/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
  71. package/dist/CheckboxGroup/CheckboxGroup.js +4 -2
  72. package/dist/ConfirmationDialog/ConfirmationDialog-87ccf595.css +2 -0
  73. package/dist/ConfirmationDialog/ConfirmationDialog-87ccf595.css.map +1 -0
  74. package/dist/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -1
  75. package/dist/ConfirmationDialog/ConfirmationDialog.js +4 -1
  76. package/dist/ConfirmationDialog/ConfirmationDialog.module.css.js +1 -1
  77. package/dist/DataTable/Table.d.ts +3 -3
  78. package/dist/DataTable/Table.d.ts.map +1 -1
  79. package/dist/DataTable/Table.js +24 -19
  80. package/dist/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
  81. package/dist/FeatureFlags/DefaultFeatureFlags.js +2 -1
  82. package/dist/FilteredActionList/FilteredActionList-f6c2dc7a.css +2 -0
  83. package/dist/FilteredActionList/FilteredActionList-f6c2dc7a.css.map +1 -0
  84. package/dist/FilteredActionList/FilteredActionList.d.ts.map +1 -1
  85. package/dist/FilteredActionList/FilteredActionList.js +2 -7
  86. package/dist/FilteredActionList/FilteredActionList.module.css.js +2 -2
  87. package/dist/FilteredActionList/types.d.ts +5 -2
  88. package/dist/FilteredActionList/types.d.ts.map +1 -1
  89. package/dist/FormControl/FormControl.d.ts +8 -36
  90. package/dist/FormControl/FormControl.d.ts.map +1 -1
  91. package/dist/FormControl/FormControl.js +64 -66
  92. package/dist/FormControl/FormControlCaption.d.ts +6 -4
  93. package/dist/FormControl/FormControlCaption.d.ts.map +1 -1
  94. package/dist/FormControl/FormControlCaption.js +9 -13
  95. package/dist/FormControl/FormControlLabel.d.ts +3 -3
  96. package/dist/FormControl/FormControlLabel.d.ts.map +1 -1
  97. package/dist/FormControl/FormControlLabel.js +25 -31
  98. package/dist/FormControl/FormControlLeadingVisual-e217df71.css +2 -0
  99. package/dist/FormControl/FormControlLeadingVisual-e217df71.css.map +1 -0
  100. package/dist/FormControl/FormControlLeadingVisual.d.ts +2 -2
  101. package/dist/FormControl/FormControlLeadingVisual.d.ts.map +1 -1
  102. package/dist/FormControl/FormControlLeadingVisual.js +10 -17
  103. package/dist/FormControl/FormControlLeadingVisual.module.css.js +5 -0
  104. package/dist/FormControl/_FormControlContext.js +1 -1
  105. package/dist/FormControl/_FormControlValidation.d.ts +3 -3
  106. package/dist/FormControl/_FormControlValidation.d.ts.map +1 -1
  107. package/dist/FormControl/_FormControlValidation.js +7 -9
  108. package/dist/FormControl/index.d.ts +4 -0
  109. package/dist/FormControl/index.d.ts.map +1 -1
  110. package/dist/LabelGroup/LabelGroup-7d19205a.css +2 -0
  111. package/dist/LabelGroup/LabelGroup-7d19205a.css.map +1 -0
  112. package/dist/LabelGroup/LabelGroup.d.ts.map +1 -1
  113. package/dist/LabelGroup/LabelGroup.js +14 -27
  114. package/dist/LabelGroup/LabelGroup.module.css.js +2 -2
  115. package/dist/NavList/NavList.d.ts +3 -3
  116. package/dist/NavList/NavList.d.ts.map +1 -1
  117. package/dist/NavList/NavList.js +2 -1
  118. package/dist/Octicon/Octicon.d.ts +7 -6
  119. package/dist/Octicon/Octicon.d.ts.map +1 -1
  120. package/dist/Octicon/Octicon.js +4 -23
  121. package/dist/Overlay/Overlay.d.ts.map +1 -1
  122. package/dist/Overlay/Overlay.js +63 -85
  123. package/dist/PageHeader/PageHeader.d.ts +3 -3
  124. package/dist/PageHeader/PageHeader.d.ts.map +1 -1
  125. package/dist/PageHeader/PageHeader.js +5 -2
  126. package/dist/PageLayout/{PageLayout-8a294e74.css → PageLayout-a276fa3b.css} +2 -2
  127. package/dist/PageLayout/PageLayout-a276fa3b.css.map +1 -0
  128. package/dist/PageLayout/PageLayout.d.ts +14 -58
  129. package/dist/PageLayout/PageLayout.d.ts.map +1 -1
  130. package/dist/PageLayout/PageLayout.js +216 -245
  131. package/dist/PageLayout/PageLayout.module.css.js +2 -2
  132. package/dist/Radio/Radio.d.ts +3 -1
  133. package/dist/Radio/Radio.d.ts.map +1 -1
  134. package/dist/Radio/Radio.js +1 -0
  135. package/dist/RadioGroup/RadioGroup.d.ts +6 -5
  136. package/dist/RadioGroup/RadioGroup.d.ts.map +1 -1
  137. package/dist/RadioGroup/RadioGroup.js +1 -0
  138. package/dist/SegmentedControl/SegmentedControl.d.ts +3 -2
  139. package/dist/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  140. package/dist/SegmentedControl/SegmentedControl.js +11 -14
  141. package/dist/SegmentedControl/SegmentedControlButton.d.ts +2 -1
  142. package/dist/SegmentedControl/SegmentedControlButton.d.ts.map +1 -1
  143. package/dist/SegmentedControl/SegmentedControlButton.js +1 -0
  144. package/dist/SegmentedControl/SegmentedControlIconButton.d.ts +2 -1
  145. package/dist/SegmentedControl/SegmentedControlIconButton.d.ts.map +1 -1
  146. package/dist/SegmentedControl/SegmentedControlIconButton.js +1 -0
  147. package/dist/Select/Select.d.ts +1 -0
  148. package/dist/Select/Select.d.ts.map +1 -1
  149. package/dist/Select/Select.js +1 -0
  150. package/dist/SelectPanel/SelectPanel.d.ts +2 -1
  151. package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
  152. package/dist/SelectPanel/SelectPanel.js +1 -0
  153. package/dist/Skeleton/SkeletonBox.d.ts.map +1 -1
  154. package/dist/Skeleton/SkeletonBox.js +26 -20
  155. package/dist/SkeletonAvatar/SkeletonAvatar.d.ts.map +1 -1
  156. package/dist/SkeletonAvatar/SkeletonAvatar.js +53 -62
  157. package/dist/StateLabel/{StateLabel-aaa1d148.css → StateLabel-b586b0bc.css} +2 -2
  158. package/dist/StateLabel/StateLabel-b586b0bc.css.map +1 -0
  159. package/dist/StateLabel/StateLabel.d.ts.map +1 -1
  160. package/dist/StateLabel/StateLabel.js +28 -39
  161. package/dist/StateLabel/StateLabel.module.css.js +1 -1
  162. package/dist/SubNav/SubNav.d.ts +4 -1
  163. package/dist/SubNav/SubNav.d.ts.map +1 -1
  164. package/dist/SubNav/SubNav.js +3 -1
  165. package/dist/Text/Text.d.ts +16 -8
  166. package/dist/Text/Text.d.ts.map +1 -1
  167. package/dist/Text/Text.js +34 -31
  168. package/dist/TextInput/TextInput.d.ts +3 -2
  169. package/dist/TextInput/TextInput.d.ts.map +1 -1
  170. package/dist/TextInput/TextInput.js +2 -3
  171. package/dist/TextInput/index.d.ts +1 -0
  172. package/dist/TextInput/index.d.ts.map +1 -1
  173. package/dist/TextInputWithTokens/TextInputWithTokens.d.ts +3 -1
  174. package/dist/TextInputWithTokens/TextInputWithTokens.d.ts.map +1 -1
  175. package/dist/TextInputWithTokens/TextInputWithTokens.js +205 -211
  176. package/dist/Textarea/Textarea.d.ts +5 -4
  177. package/dist/Textarea/Textarea.d.ts.map +1 -1
  178. package/dist/Textarea/Textarea.js +40 -45
  179. package/dist/Tooltip/Tooltip-fffa9948.css +2 -0
  180. package/dist/Tooltip/Tooltip-fffa9948.css.map +1 -0
  181. package/dist/Tooltip/Tooltip.d.ts +6 -8
  182. package/dist/Tooltip/Tooltip.d.ts.map +1 -1
  183. package/dist/Tooltip/Tooltip.js +44 -118
  184. package/dist/Tooltip/Tooltip.module.css.js +5 -0
  185. package/dist/TooltipV2/Tooltip.d.ts +3 -16
  186. package/dist/TooltipV2/Tooltip.d.ts.map +1 -1
  187. package/dist/TooltipV2/Tooltip.js +1 -0
  188. package/dist/TreeView/TreeView.d.ts +4 -1
  189. package/dist/TreeView/TreeView.d.ts.map +1 -1
  190. package/dist/TreeView/TreeView.js +42 -9
  191. package/dist/Truncate/Truncate.d.ts +2 -2
  192. package/dist/Truncate/Truncate.d.ts.map +1 -1
  193. package/dist/UnderlineNav/UnderlineNav-4344d9b0.css +2 -0
  194. package/dist/UnderlineNav/UnderlineNav-4344d9b0.css.map +1 -0
  195. package/dist/UnderlineNav/UnderlineNav.d.ts +0 -1
  196. package/dist/UnderlineNav/UnderlineNav.d.ts.map +1 -1
  197. package/dist/UnderlineNav/UnderlineNav.js +45 -17
  198. package/dist/UnderlineNav/UnderlineNav.module.css.js +2 -2
  199. package/dist/UnderlineNav/UnderlineNavContext.d.ts +0 -2
  200. package/dist/UnderlineNav/UnderlineNavContext.d.ts.map +1 -1
  201. package/dist/UnderlineNav/UnderlineNavContext.js +0 -1
  202. package/dist/UnderlineNav/styles.d.ts +1 -23
  203. package/dist/UnderlineNav/styles.d.ts.map +1 -1
  204. package/dist/UnderlineNav/styles.js +4 -59
  205. package/dist/constants.js +3 -3
  206. package/dist/deprecated/ActionList/Divider-7c6b656a.css +2 -0
  207. package/dist/deprecated/ActionList/Divider-7c6b656a.css.map +1 -0
  208. package/dist/deprecated/ActionList/Divider.d.ts +1 -2
  209. package/dist/deprecated/ActionList/Divider.d.ts.map +1 -1
  210. package/dist/deprecated/ActionList/Divider.js +6 -12
  211. package/dist/deprecated/ActionList/Divider.module.css.js +5 -0
  212. package/dist/deprecated/ActionList/Group.d.ts +1 -2
  213. package/dist/deprecated/ActionList/Group.d.ts.map +1 -1
  214. package/dist/deprecated/ActionList/Group.js +1 -8
  215. package/dist/deprecated/ActionList/Header-493b1d76.css +2 -0
  216. package/dist/deprecated/ActionList/Header-493b1d76.css.map +1 -0
  217. package/dist/deprecated/ActionList/Header.d.ts +2 -6
  218. package/dist/deprecated/ActionList/Header.d.ts.map +1 -1
  219. package/dist/deprecated/ActionList/Header.js +46 -37
  220. package/dist/deprecated/ActionList/Header.module.css.js +5 -0
  221. package/dist/deprecated/ActionList/Item-cf87f98a.css +3 -0
  222. package/dist/deprecated/ActionList/Item-cf87f98a.css.map +1 -0
  223. package/dist/deprecated/ActionList/Item.d.ts +1 -5
  224. package/dist/deprecated/ActionList/Item.d.ts.map +1 -1
  225. package/dist/deprecated/ActionList/Item.js +182 -271
  226. package/dist/deprecated/ActionList/Item.module.css.js +5 -0
  227. package/dist/deprecated/ActionList/List-1ec9d6d9.css +2 -0
  228. package/dist/deprecated/ActionList/List-1ec9d6d9.css.map +1 -0
  229. package/dist/deprecated/ActionList/List.d.ts +1 -0
  230. package/dist/deprecated/ActionList/List.d.ts.map +1 -1
  231. package/dist/deprecated/ActionList/List.js +92 -82
  232. package/dist/deprecated/ActionList/List.module.css.js +5 -0
  233. package/dist/deprecated/UnderlineNav/UnderlineNav-0c1e0dff.css +2 -0
  234. package/dist/deprecated/UnderlineNav/UnderlineNav-0c1e0dff.css.map +1 -0
  235. package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts +6 -8
  236. package/dist/deprecated/UnderlineNav/UnderlineNav.d.ts.map +1 -1
  237. package/dist/deprecated/UnderlineNav/UnderlineNav.js +90 -49
  238. package/dist/deprecated/UnderlineNav/UnderlineNav.module.css.js +5 -0
  239. package/dist/experimental/SelectPanel2/SelectPanel.d.ts +11 -7
  240. package/dist/experimental/SelectPanel2/SelectPanel.d.ts.map +1 -1
  241. package/dist/experimental/SelectPanel2/SelectPanel.js +6 -1
  242. package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts +6 -6
  243. package/dist/experimental/UnderlinePanels/UnderlinePanels.d.ts.map +1 -1
  244. package/dist/experimental/UnderlinePanels/UnderlinePanels.js +8 -4
  245. package/dist/hooks/useSlots.d.ts.map +1 -1
  246. package/dist/hooks/useSlots.js +3 -2
  247. package/dist/hooks/useSyncedState.js +1 -1
  248. package/dist/index.d.ts +5 -1
  249. package/dist/index.d.ts.map +1 -1
  250. package/dist/index.js +3 -1
  251. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts +6 -7
  252. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.d.ts.map +1 -1
  253. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroup.js +7 -9
  254. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.d.ts +4 -4
  255. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.d.ts.map +1 -1
  256. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupCaption.js +1 -0
  257. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts +2 -1
  258. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.d.ts.map +1 -1
  259. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupLabel.js +1 -0
  260. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts +3 -3
  261. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.d.ts.map +1 -1
  262. package/dist/internal/components/CheckboxOrRadioGroup/CheckboxOrRadioGroupValidation.js +2 -3
  263. package/dist/internal/components/InputLabel.d.ts +2 -3
  264. package/dist/internal/components/InputLabel.d.ts.map +1 -1
  265. package/dist/internal/components/InputLabel.js +29 -36
  266. package/dist/internal/components/InputValidation.d.ts +1 -2
  267. package/dist/internal/components/InputValidation.d.ts.map +1 -1
  268. package/dist/internal/components/TextInputInnerAction.d.ts +16 -2
  269. package/dist/internal/components/TextInputInnerAction.d.ts.map +1 -1
  270. package/dist/internal/components/TextInputInnerAction.js +46 -60
  271. package/dist/internal/components/TextInputWrapper.d.ts +10 -32
  272. package/dist/internal/components/TextInputWrapper.d.ts.map +1 -1
  273. package/dist/internal/components/TextInputWrapper.js +87 -58
  274. package/dist/internal/components/UnstyledTextInput.d.ts +1 -2
  275. package/dist/internal/components/UnstyledTextInput.d.ts.map +1 -1
  276. package/dist/internal/components/UnstyledTextInput.js +1 -3
  277. package/dist/internal/components/ValidationAnimationContainer-04125429.css +2 -0
  278. package/dist/internal/components/ValidationAnimationContainer-04125429.css.map +1 -0
  279. package/dist/internal/components/ValidationAnimationContainer.d.ts.map +1 -1
  280. package/dist/internal/components/ValidationAnimationContainer.js +4 -9
  281. package/dist/internal/components/ValidationAnimationContainer.module.css.js +5 -0
  282. package/dist/utils/form-story-helpers.d.ts.map +1 -1
  283. package/dist/utils/is-slot.d.ts +6 -0
  284. package/dist/utils/is-slot.d.ts.map +1 -0
  285. package/dist/utils/is-slot.js +15 -0
  286. package/dist/utils/polymorphic.d.ts +2 -1
  287. package/dist/utils/polymorphic.d.ts.map +1 -1
  288. package/dist/utils/types/Slots.d.ts +7 -0
  289. package/dist/utils/types/Slots.d.ts.map +1 -0
  290. package/dist/utils/types/index.d.ts +1 -0
  291. package/dist/utils/types/index.d.ts.map +1 -1
  292. package/generated/components.json +21 -119
  293. package/package.json +2 -1
  294. package/dist/Button/styles.d.ts +0 -431
  295. package/dist/Button/styles.d.ts.map +0 -1
  296. package/dist/Button/styles.js +0 -5
  297. package/dist/ConfirmationDialog/ConfirmationDialog-de0401ff.css +0 -2
  298. package/dist/ConfirmationDialog/ConfirmationDialog-de0401ff.css.map +0 -1
  299. package/dist/FilteredActionList/FilteredActionList-e1eb1b75.css +0 -2
  300. package/dist/FilteredActionList/FilteredActionList-e1eb1b75.css.map +0 -1
  301. package/dist/LabelGroup/LabelGroup-eda75c0f.css +0 -2
  302. package/dist/LabelGroup/LabelGroup-eda75c0f.css.map +0 -1
  303. package/dist/PageLayout/PageLayout-8a294e74.css.map +0 -1
  304. package/dist/StateLabel/StateLabel-aaa1d148.css.map +0 -1
  305. package/dist/UnderlineNav/UnderlineNav-78db938f.css +0 -2
  306. package/dist/UnderlineNav/UnderlineNav-78db938f.css.map +0 -1
  307. package/dist/internal/components/BoxWithFallback.d.ts +0 -6
  308. package/dist/internal/components/BoxWithFallback.d.ts.map +0 -1
  309. package/dist/internal/components/BoxWithFallback.js +0 -70
  310. package/dist/internal/utils/getGlobalFocusStyles.d.ts +0 -4
  311. package/dist/internal/utils/getGlobalFocusStyles.d.ts.map +0 -1
  312. package/dist/internal/utils/getGlobalFocusStyles.js +0 -7
  313. package/dist/internal/utils/sharedCheckboxAndRadioStyles.d.ts +0 -2
  314. package/dist/internal/utils/sharedCheckboxAndRadioStyles.d.ts.map +0 -1
  315. package/dist/utils/defaultSxProp.d.ts +0 -3
  316. package/dist/utils/defaultSxProp.d.ts.map +0 -1
  317. package/dist/utils/defaultSxProp.js +0 -3
  318. package/dist/utils/includeSystemProps.d.ts +0 -7
  319. package/dist/utils/includeSystemProps.d.ts.map +0 -1
  320. package/dist/utils/includeSystemProps.js +0 -14
@@ -24,7 +24,7 @@ const overflowCountClassMap = {
24
24
 
25
25
  // using forwardRef is important so that other components (ex. Autocomplete) can use the ref
26
26
  function TextInputWithTokensInnerComponent(t0, forwardedRef) {
27
- const $ = c(137);
27
+ const $ = c(135);
28
28
  let IconComponent;
29
29
  let LeadingVisual;
30
30
  let TokenComponent;
@@ -43,7 +43,6 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
43
43
  let preventTokenWrapping;
44
44
  let size;
45
45
  let style;
46
- let sxProp;
47
46
  let t1;
48
47
  let tokens;
49
48
  let validationStatus;
@@ -61,21 +60,20 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
61
60
  className: t8,
62
61
  block: t9,
63
62
  disabled: t10,
64
- sx: t11,
65
- tokens: t12,
66
- onTokenRemove: t13,
67
- tokenComponent: t14,
68
- preventTokenWrapping: t15,
69
- size: t16,
70
- hideTokenRemoveButtons: t17,
71
- maxHeight: t18,
72
- width: t19,
73
- minWidth: t20,
74
- maxWidth: t21,
75
- validationStatus: t22,
76
- variant: t23,
77
- visibleTokenCount: t24,
78
- style: t25,
63
+ tokens: t11,
64
+ onTokenRemove: t12,
65
+ tokenComponent: t13,
66
+ preventTokenWrapping: t14,
67
+ size: t15,
68
+ hideTokenRemoveButtons: t16,
69
+ maxHeight: t17,
70
+ width: t18,
71
+ minWidth: t19,
72
+ maxWidth: t20,
73
+ validationStatus: t21,
74
+ variant: t22,
75
+ visibleTokenCount: t23,
76
+ style: t24,
79
77
  ...rest
80
78
  } = t0;
81
79
  IconComponent = t2;
@@ -86,22 +84,21 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
86
84
  className = t8;
87
85
  block = t9;
88
86
  disabled = t10;
89
- sxProp = t11;
90
- tokens = t12;
91
- onTokenRemove = t13;
92
- maxHeight = t18;
93
- widthProp = t19;
94
- minWidthProp = t20;
95
- maxWidthProp = t21;
96
- validationStatus = t22;
97
- variantProp = t23;
98
- visibleTokenCount = t24;
99
- style = t25;
87
+ tokens = t11;
88
+ onTokenRemove = t12;
89
+ maxHeight = t17;
90
+ widthProp = t18;
91
+ minWidthProp = t19;
92
+ maxWidthProp = t20;
93
+ validationStatus = t21;
94
+ variantProp = t22;
95
+ visibleTokenCount = t23;
96
+ style = t24;
100
97
  loaderPosition = t6 === undefined ? "auto" : t6;
101
- TokenComponent = t14 === undefined ? Token : t14;
102
- preventTokenWrapping = t15 === undefined ? false : t15;
103
- size = t16 === undefined ? "xlarge" : t16;
104
- hideTokenRemoveButtons = t17 === undefined ? false : t17;
98
+ TokenComponent = t13 === undefined ? Token : t13;
99
+ preventTokenWrapping = t14 === undefined ? false : t14;
100
+ size = t15 === undefined ? "xlarge" : t15;
101
+ hideTokenRemoveButtons = t16 === undefined ? false : t16;
105
102
  t1 = omit(rest);
106
103
  $[0] = t0;
107
104
  $[1] = IconComponent;
@@ -122,13 +119,12 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
122
119
  $[16] = preventTokenWrapping;
123
120
  $[17] = size;
124
121
  $[18] = style;
125
- $[19] = sxProp;
126
- $[20] = t1;
127
- $[21] = tokens;
128
- $[22] = validationStatus;
129
- $[23] = variantProp;
130
- $[24] = visibleTokenCount;
131
- $[25] = widthProp;
122
+ $[19] = t1;
123
+ $[20] = tokens;
124
+ $[21] = validationStatus;
125
+ $[22] = variantProp;
126
+ $[23] = visibleTokenCount;
127
+ $[24] = widthProp;
132
128
  } else {
133
129
  IconComponent = $[1];
134
130
  LeadingVisual = $[2];
@@ -148,47 +144,46 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
148
144
  preventTokenWrapping = $[16];
149
145
  size = $[17];
150
146
  style = $[18];
151
- sxProp = $[19];
152
- t1 = $[20];
153
- tokens = $[21];
154
- validationStatus = $[22];
155
- variantProp = $[23];
156
- visibleTokenCount = $[24];
157
- widthProp = $[25];
147
+ t1 = $[19];
148
+ tokens = $[20];
149
+ validationStatus = $[21];
150
+ variantProp = $[22];
151
+ visibleTokenCount = $[23];
152
+ widthProp = $[24];
158
153
  }
159
154
  let inputPropsRest;
160
155
  let onBlur;
161
156
  let onFocus;
162
157
  let onKeyDown;
163
- if ($[26] !== t1) {
158
+ if ($[25] !== t1) {
164
159
  ({
165
160
  onBlur,
166
161
  onFocus,
167
162
  onKeyDown,
168
163
  ...inputPropsRest
169
164
  } = t1);
170
- $[26] = t1;
171
- $[27] = inputPropsRest;
172
- $[28] = onBlur;
173
- $[29] = onFocus;
174
- $[30] = onKeyDown;
165
+ $[25] = t1;
166
+ $[26] = inputPropsRest;
167
+ $[27] = onBlur;
168
+ $[28] = onFocus;
169
+ $[29] = onKeyDown;
175
170
  } else {
176
- inputPropsRest = $[27];
177
- onBlur = $[28];
178
- onFocus = $[29];
179
- onKeyDown = $[30];
171
+ inputPropsRest = $[26];
172
+ onBlur = $[27];
173
+ onFocus = $[28];
174
+ onKeyDown = $[29];
180
175
  }
181
176
  const ref = useRef(null);
182
177
  useRefObjectAsForwardedRef(forwardedRef, ref);
183
178
  const [selectedTokenIndex, setSelectedTokenIndex] = useState();
184
179
  const [tokensAreTruncated, setTokensAreTruncated] = useState(Boolean(visibleTokenCount));
185
180
  let t2;
186
- if ($[31] !== selectedTokenIndex) {
181
+ if ($[30] !== selectedTokenIndex) {
187
182
  t2 = [selectedTokenIndex];
188
- $[31] = selectedTokenIndex;
189
- $[32] = t2;
183
+ $[30] = selectedTokenIndex;
184
+ $[31] = t2;
190
185
  } else {
191
- t2 = $[32];
186
+ t2 = $[31];
192
187
  }
193
188
  const {
194
189
  containerRef: t3
@@ -216,7 +211,7 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
216
211
  }, t2);
217
212
  const containerRef = t3;
218
213
  let t4;
219
- if ($[33] !== containerRef || $[34] !== onTokenRemove || $[35] !== selectedTokenIndex) {
214
+ if ($[32] !== containerRef || $[33] !== onTokenRemove || $[34] !== selectedTokenIndex) {
220
215
  t4 = tokenId => {
221
216
  onTokenRemove(tokenId);
222
217
  setTimeout(() => {
@@ -231,29 +226,29 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
231
226
  }
232
227
  }, 0);
233
228
  };
234
- $[33] = containerRef;
235
- $[34] = onTokenRemove;
236
- $[35] = selectedTokenIndex;
237
- $[36] = t4;
229
+ $[32] = containerRef;
230
+ $[33] = onTokenRemove;
231
+ $[34] = selectedTokenIndex;
232
+ $[35] = t4;
238
233
  } else {
239
- t4 = $[36];
234
+ t4 = $[35];
240
235
  }
241
236
  const handleTokenRemove = t4;
242
237
  let t5;
243
- if ($[37] !== disabled) {
238
+ if ($[36] !== disabled) {
244
239
  t5 = tokenIndex => () => {
245
240
  if (!disabled) {
246
241
  setSelectedTokenIndex(tokenIndex);
247
242
  }
248
243
  };
249
- $[37] = disabled;
250
- $[38] = t5;
244
+ $[36] = disabled;
245
+ $[37] = t5;
251
246
  } else {
252
- t5 = $[38];
247
+ t5 = $[37];
253
248
  }
254
249
  const handleTokenFocus = t5;
255
250
  let t6;
256
- if ($[39] !== containerRef || $[40] !== visibleTokenCount) {
251
+ if ($[38] !== containerRef || $[39] !== visibleTokenCount) {
257
252
  t6 = () => {
258
253
  setSelectedTokenIndex(undefined);
259
254
  setTimeout(() => {
@@ -263,42 +258,42 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
263
258
  }
264
259
  }, 0);
265
260
  };
266
- $[39] = containerRef;
267
- $[40] = visibleTokenCount;
268
- $[41] = t6;
261
+ $[38] = containerRef;
262
+ $[39] = visibleTokenCount;
263
+ $[40] = t6;
269
264
  } else {
270
- t6 = $[41];
265
+ t6 = $[40];
271
266
  }
272
267
  const handleTokenBlur = t6;
273
268
  let t7;
274
- if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
269
+ if ($[41] === Symbol.for("react.memo_cache_sentinel")) {
275
270
  t7 = event => {
276
271
  if (event.key === "Escape") {
277
272
  var _ref$current2;
278
273
  (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus();
279
274
  }
280
275
  };
281
- $[42] = t7;
276
+ $[41] = t7;
282
277
  } else {
283
- t7 = $[42];
278
+ t7 = $[41];
284
279
  }
285
280
  const handleTokenKeyUp = t7;
286
281
  let t8;
287
- if ($[43] !== onFocus || $[44] !== visibleTokenCount) {
282
+ if ($[42] !== onFocus || $[43] !== visibleTokenCount) {
288
283
  t8 = event_0 => {
289
284
  onFocus && onFocus(event_0);
290
285
  setSelectedTokenIndex(undefined);
291
286
  visibleTokenCount && setTokensAreTruncated(false);
292
287
  };
293
- $[43] = onFocus;
294
- $[44] = visibleTokenCount;
295
- $[45] = t8;
288
+ $[42] = onFocus;
289
+ $[43] = visibleTokenCount;
290
+ $[44] = t8;
296
291
  } else {
297
- t8 = $[45];
292
+ t8 = $[44];
298
293
  }
299
294
  const handleInputFocus = t8;
300
295
  let t9;
301
- if ($[46] !== containerRef || $[47] !== onBlur || $[48] !== visibleTokenCount) {
296
+ if ($[45] !== containerRef || $[46] !== onBlur || $[47] !== visibleTokenCount) {
302
297
  t9 = event_1 => {
303
298
  onBlur && onBlur(event_1);
304
299
  setTimeout(() => {
@@ -308,16 +303,16 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
308
303
  }
309
304
  }, 0);
310
305
  };
311
- $[46] = containerRef;
312
- $[47] = onBlur;
313
- $[48] = visibleTokenCount;
314
- $[49] = t9;
306
+ $[45] = containerRef;
307
+ $[46] = onBlur;
308
+ $[47] = visibleTokenCount;
309
+ $[48] = t9;
315
310
  } else {
316
- t9 = $[49];
311
+ t9 = $[48];
317
312
  }
318
313
  const handleInputBlur = t9;
319
314
  let t10;
320
- if ($[50] !== handleTokenRemove || $[51] !== onKeyDown || $[52] !== tokens) {
315
+ if ($[49] !== handleTokenRemove || $[50] !== onKeyDown || $[51] !== tokens) {
321
316
  t10 = e => {
322
317
  var _ref$current3;
323
318
  if (onKeyDown) {
@@ -338,48 +333,48 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
338
333
  }, 0);
339
334
  }
340
335
  };
341
- $[50] = handleTokenRemove;
342
- $[51] = onKeyDown;
343
- $[52] = tokens;
344
- $[53] = t10;
336
+ $[49] = handleTokenRemove;
337
+ $[50] = onKeyDown;
338
+ $[51] = tokens;
339
+ $[52] = t10;
345
340
  } else {
346
- t10 = $[53];
341
+ t10 = $[52];
347
342
  }
348
343
  const handleInputKeyDown = t10;
349
344
  let t11;
350
- if ($[54] === Symbol.for("react.memo_cache_sentinel")) {
345
+ if ($[53] === Symbol.for("react.memo_cache_sentinel")) {
351
346
  t11 = () => {
352
347
  var _ref$current5;
353
348
  (_ref$current5 = ref.current) === null || _ref$current5 === void 0 ? void 0 : _ref$current5.focus();
354
349
  };
355
- $[54] = t11;
350
+ $[53] = t11;
356
351
  } else {
357
- t11 = $[54];
352
+ t11 = $[53];
358
353
  }
359
354
  const focusInput = t11;
360
355
  const preventTokenClickPropagation = _temp3;
361
356
  let t12;
362
- if ($[55] !== tokens || $[56] !== tokensAreTruncated || $[57] !== visibleTokenCount) {
357
+ if ($[54] !== tokens || $[55] !== tokensAreTruncated || $[56] !== visibleTokenCount) {
363
358
  t12 = tokensAreTruncated ? tokens.slice(0, visibleTokenCount) : tokens;
364
- $[55] = tokens;
365
- $[56] = tokensAreTruncated;
366
- $[57] = visibleTokenCount;
367
- $[58] = t12;
359
+ $[54] = tokens;
360
+ $[55] = tokensAreTruncated;
361
+ $[56] = visibleTokenCount;
362
+ $[57] = t12;
368
363
  } else {
369
- t12 = $[58];
364
+ t12 = $[57];
370
365
  }
371
366
  const visibleTokens = t12;
372
367
  let t13;
373
- if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
368
+ if ($[58] === Symbol.for("react.memo_cache_sentinel")) {
374
369
  t13 = {
375
370
  small: "small",
376
371
  medium: "small",
377
372
  large: "medium",
378
373
  xlarge: "medium"
379
374
  };
380
- $[59] = t13;
375
+ $[58] = t13;
381
376
  } else {
382
- t13 = $[59];
377
+ t13 = $[58];
383
378
  }
384
379
  const inputSizeMap = t13;
385
380
  const showLeadingLoadingIndicator = loading && (loaderPosition === "leading" || Boolean(LeadingVisual && loaderPosition !== "trailing"));
@@ -389,64 +384,64 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
389
384
  const t16 = inputSizeMap[size];
390
385
  const t17 = Boolean(preventTokenWrapping || maxHeight) || undefined;
391
386
  let t18;
392
- if ($[60] !== className) {
387
+ if ($[59] !== className) {
393
388
  t18 = clsx(className, styles.TextInputWrapper);
394
- $[60] = className;
395
- $[61] = t18;
389
+ $[59] = className;
390
+ $[60] = t18;
396
391
  } else {
397
- t18 = $[61];
392
+ t18 = $[60];
398
393
  }
399
394
  let t19;
400
- if ($[62] !== maxHeight || $[63] !== style) {
395
+ if ($[61] !== maxHeight || $[62] !== style) {
401
396
  t19 = maxHeight ? {
402
397
  maxHeight,
403
398
  ...style
404
399
  } : style;
405
- $[62] = maxHeight;
406
- $[63] = style;
407
- $[64] = t19;
400
+ $[61] = maxHeight;
401
+ $[62] = style;
402
+ $[63] = t19;
408
403
  } else {
409
- t19 = $[64];
404
+ t19 = $[63];
410
405
  }
411
406
  let t20;
412
- if ($[65] !== IconComponent || $[66] !== LeadingVisual) {
407
+ if ($[64] !== IconComponent || $[65] !== LeadingVisual) {
413
408
  t20 = IconComponent && !LeadingVisual && /*#__PURE__*/jsx(IconComponent, {
414
409
  className: "TextInput-icon"
415
410
  });
416
- $[65] = IconComponent;
417
- $[66] = LeadingVisual;
418
- $[67] = t20;
411
+ $[64] = IconComponent;
412
+ $[65] = LeadingVisual;
413
+ $[66] = t20;
419
414
  } else {
420
- t20 = $[67];
415
+ t20 = $[66];
421
416
  }
422
417
  const t21 = typeof loading === "boolean";
423
418
  let t22;
424
- if ($[68] !== LeadingVisual) {
419
+ if ($[67] !== LeadingVisual) {
425
420
  t22 = typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /*#__PURE__*/jsx(LeadingVisual, {}) : LeadingVisual;
426
- $[68] = LeadingVisual;
427
- $[69] = t22;
421
+ $[67] = LeadingVisual;
422
+ $[68] = t22;
428
423
  } else {
429
- t22 = $[69];
424
+ t22 = $[68];
430
425
  }
431
426
  let t23;
432
- if ($[70] !== showLeadingLoadingIndicator || $[71] !== t21 || $[72] !== t22) {
427
+ if ($[69] !== showLeadingLoadingIndicator || $[70] !== t21 || $[71] !== t22) {
433
428
  t23 = /*#__PURE__*/jsx(TextInputInnerVisualSlot, {
434
429
  hasLoadingIndicator: t21,
435
430
  visualPosition: "leading",
436
431
  showLoadingIndicator: showLeadingLoadingIndicator,
437
432
  children: t22
438
433
  });
439
- $[70] = showLeadingLoadingIndicator;
440
- $[71] = t21;
441
- $[72] = t22;
442
- $[73] = t23;
434
+ $[69] = showLeadingLoadingIndicator;
435
+ $[70] = t21;
436
+ $[71] = t22;
437
+ $[72] = t23;
443
438
  } else {
444
- t23 = $[73];
439
+ t23 = $[72];
445
440
  }
446
441
  const t24 = containerRef;
447
442
  const t25 = validationStatus === "error" ? "true" : "false";
448
443
  let t26;
449
- if ($[74] !== disabled || $[75] !== handleInputBlur || $[76] !== handleInputFocus || $[77] !== handleInputKeyDown || $[78] !== inputPropsRest || $[79] !== t25) {
444
+ if ($[73] !== disabled || $[74] !== handleInputBlur || $[75] !== handleInputFocus || $[76] !== handleInputKeyDown || $[77] !== inputPropsRest || $[78] !== t25) {
450
445
  t26 = /*#__PURE__*/jsx("div", {
451
446
  className: styles.InputWrapper,
452
447
  children: /*#__PURE__*/jsx(UnstyledTextInput, {
@@ -461,20 +456,20 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
461
456
  ...inputPropsRest
462
457
  })
463
458
  });
464
- $[74] = disabled;
465
- $[75] = handleInputBlur;
466
- $[76] = handleInputFocus;
467
- $[77] = handleInputKeyDown;
468
- $[78] = inputPropsRest;
469
- $[79] = t25;
470
- $[80] = t26;
459
+ $[73] = disabled;
460
+ $[74] = handleInputBlur;
461
+ $[75] = handleInputFocus;
462
+ $[76] = handleInputKeyDown;
463
+ $[77] = inputPropsRest;
464
+ $[78] = t25;
465
+ $[79] = t26;
471
466
  } else {
472
- t26 = $[80];
467
+ t26 = $[79];
473
468
  }
474
469
  let t27;
475
- if ($[81] !== TokenComponent || $[82] !== disabled || $[83] !== handleTokenBlur || $[84] !== handleTokenFocus || $[85] !== handleTokenRemove || $[86] !== hideTokenRemoveButtons || $[87] !== selectedTokenIndex || $[88] !== size || $[89] !== visibleTokens) {
470
+ if ($[80] !== TokenComponent || $[81] !== disabled || $[82] !== handleTokenBlur || $[83] !== handleTokenFocus || $[84] !== handleTokenRemove || $[85] !== hideTokenRemoveButtons || $[86] !== selectedTokenIndex || $[87] !== size || $[88] !== visibleTokens) {
476
471
  let t28;
477
- if ($[91] !== TokenComponent || $[92] !== disabled || $[93] !== handleTokenBlur || $[94] !== handleTokenFocus || $[95] !== handleTokenRemove || $[96] !== hideTokenRemoveButtons || $[97] !== selectedTokenIndex || $[98] !== size) {
472
+ if ($[90] !== TokenComponent || $[91] !== disabled || $[92] !== handleTokenBlur || $[93] !== handleTokenFocus || $[94] !== handleTokenRemove || $[95] !== hideTokenRemoveButtons || $[96] !== selectedTokenIndex || $[97] !== size) {
478
473
  t28 = (t29, i) => {
479
474
  const {
480
475
  id,
@@ -496,89 +491,89 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
496
491
  ...tokenRest
497
492
  }, id);
498
493
  };
499
- $[91] = TokenComponent;
500
- $[92] = disabled;
501
- $[93] = handleTokenBlur;
502
- $[94] = handleTokenFocus;
503
- $[95] = handleTokenRemove;
504
- $[96] = hideTokenRemoveButtons;
505
- $[97] = selectedTokenIndex;
506
- $[98] = size;
507
- $[99] = t28;
494
+ $[90] = TokenComponent;
495
+ $[91] = disabled;
496
+ $[92] = handleTokenBlur;
497
+ $[93] = handleTokenFocus;
498
+ $[94] = handleTokenRemove;
499
+ $[95] = hideTokenRemoveButtons;
500
+ $[96] = selectedTokenIndex;
501
+ $[97] = size;
502
+ $[98] = t28;
508
503
  } else {
509
- t28 = $[99];
504
+ t28 = $[98];
510
505
  }
511
506
  t27 = visibleTokens.map(t28);
512
- $[81] = TokenComponent;
513
- $[82] = disabled;
514
- $[83] = handleTokenBlur;
515
- $[84] = handleTokenFocus;
516
- $[85] = handleTokenRemove;
517
- $[86] = hideTokenRemoveButtons;
518
- $[87] = selectedTokenIndex;
519
- $[88] = size;
520
- $[89] = visibleTokens;
521
- $[90] = t27;
507
+ $[80] = TokenComponent;
508
+ $[81] = disabled;
509
+ $[82] = handleTokenBlur;
510
+ $[83] = handleTokenFocus;
511
+ $[84] = handleTokenRemove;
512
+ $[85] = hideTokenRemoveButtons;
513
+ $[86] = selectedTokenIndex;
514
+ $[87] = size;
515
+ $[88] = visibleTokens;
516
+ $[89] = t27;
522
517
  } else {
523
- t27 = $[90];
518
+ t27 = $[89];
524
519
  }
525
520
  let t28;
526
- if ($[100] !== size || $[101] !== tokens || $[102] !== tokensAreTruncated || $[103] !== visibleTokens.length) {
521
+ if ($[99] !== size || $[100] !== tokens || $[101] !== tokensAreTruncated || $[102] !== visibleTokens.length) {
527
522
  t28 = tokensAreTruncated && tokens.length - visibleTokens.length ? /*#__PURE__*/jsxs(Text, {
528
523
  className: overflowCountClassMap[size],
529
524
  children: ["+", tokens.length - visibleTokens.length]
530
525
  }) : null;
531
- $[100] = size;
532
- $[101] = tokens;
533
- $[102] = tokensAreTruncated;
534
- $[103] = visibleTokens.length;
535
- $[104] = t28;
526
+ $[99] = size;
527
+ $[100] = tokens;
528
+ $[101] = tokensAreTruncated;
529
+ $[102] = visibleTokens.length;
530
+ $[103] = t28;
536
531
  } else {
537
- t28 = $[104];
532
+ t28 = $[103];
538
533
  }
539
534
  let t29;
540
- if ($[105] !== preventTokenWrapping || $[106] !== t24 || $[107] !== t26 || $[108] !== t27 || $[109] !== t28) {
535
+ if ($[104] !== preventTokenWrapping || $[105] !== t24 || $[106] !== t26 || $[107] !== t27 || $[108] !== t28) {
541
536
  t29 = /*#__PURE__*/jsxs("div", {
542
537
  ref: t24,
543
538
  className: styles.Container,
544
539
  "data-prevent-token-wrapping": preventTokenWrapping,
545
540
  children: [t26, t27, t28]
546
541
  });
547
- $[105] = preventTokenWrapping;
548
- $[106] = t24;
549
- $[107] = t26;
550
- $[108] = t27;
551
- $[109] = t28;
552
- $[110] = t29;
542
+ $[104] = preventTokenWrapping;
543
+ $[105] = t24;
544
+ $[106] = t26;
545
+ $[107] = t27;
546
+ $[108] = t28;
547
+ $[109] = t29;
553
548
  } else {
554
- t29 = $[110];
549
+ t29 = $[109];
555
550
  }
556
551
  const t30 = typeof loading === "boolean";
557
552
  let t31;
558
- if ($[111] !== TrailingVisual) {
553
+ if ($[110] !== TrailingVisual) {
559
554
  t31 = typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /*#__PURE__*/jsx(TrailingVisual, {}) : TrailingVisual;
560
- $[111] = TrailingVisual;
561
- $[112] = t31;
555
+ $[110] = TrailingVisual;
556
+ $[111] = t31;
562
557
  } else {
563
- t31 = $[112];
558
+ t31 = $[111];
564
559
  }
565
560
  let t32;
566
- if ($[113] !== showTrailingLoadingIndicator || $[114] !== t30 || $[115] !== t31) {
561
+ if ($[112] !== showTrailingLoadingIndicator || $[113] !== t30 || $[114] !== t31) {
567
562
  t32 = /*#__PURE__*/jsx(TextInputInnerVisualSlot, {
568
563
  hasLoadingIndicator: t30,
569
564
  visualPosition: "trailing",
570
565
  showLoadingIndicator: showTrailingLoadingIndicator,
571
566
  children: t31
572
567
  });
573
- $[113] = showTrailingLoadingIndicator;
574
- $[114] = t30;
575
- $[115] = t31;
576
- $[116] = t32;
568
+ $[112] = showTrailingLoadingIndicator;
569
+ $[113] = t30;
570
+ $[114] = t31;
571
+ $[115] = t32;
577
572
  } else {
578
- t32 = $[116];
573
+ t32 = $[115];
579
574
  }
580
575
  let t33;
581
- if ($[117] !== block || $[118] !== contrast || $[119] !== disabled || $[120] !== maxWidthProp || $[121] !== minWidthProp || $[122] !== sxProp || $[123] !== t14 || $[124] !== t15 || $[125] !== t16 || $[126] !== t17 || $[127] !== t18 || $[128] !== t19 || $[129] !== t20 || $[130] !== t23 || $[131] !== t29 || $[132] !== t32 || $[133] !== validationStatus || $[134] !== variantProp || $[135] !== widthProp) {
576
+ if ($[116] !== block || $[117] !== contrast || $[118] !== disabled || $[119] !== maxWidthProp || $[120] !== minWidthProp || $[121] !== t14 || $[122] !== t15 || $[123] !== t16 || $[124] !== t17 || $[125] !== t18 || $[126] !== t19 || $[127] !== t20 || $[128] !== t23 || $[129] !== t29 || $[130] !== t32 || $[131] !== validationStatus || $[132] !== variantProp || $[133] !== widthProp) {
582
577
  t33 = /*#__PURE__*/jsxs(TextInputWrapper, {
583
578
  block: block,
584
579
  contrast: contrast,
@@ -595,31 +590,29 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
595
590
  "data-token-wrapping": t17,
596
591
  className: t18,
597
592
  style: t19,
598
- sx: sxProp,
599
593
  children: [t20, t23, t29, t32]
600
594
  });
601
- $[117] = block;
602
- $[118] = contrast;
603
- $[119] = disabled;
604
- $[120] = maxWidthProp;
605
- $[121] = minWidthProp;
606
- $[122] = sxProp;
607
- $[123] = t14;
608
- $[124] = t15;
609
- $[125] = t16;
610
- $[126] = t17;
611
- $[127] = t18;
612
- $[128] = t19;
613
- $[129] = t20;
614
- $[130] = t23;
615
- $[131] = t29;
616
- $[132] = t32;
617
- $[133] = validationStatus;
618
- $[134] = variantProp;
619
- $[135] = widthProp;
620
- $[136] = t33;
595
+ $[116] = block;
596
+ $[117] = contrast;
597
+ $[118] = disabled;
598
+ $[119] = maxWidthProp;
599
+ $[120] = minWidthProp;
600
+ $[121] = t14;
601
+ $[122] = t15;
602
+ $[123] = t16;
603
+ $[124] = t17;
604
+ $[125] = t18;
605
+ $[126] = t19;
606
+ $[127] = t20;
607
+ $[128] = t23;
608
+ $[129] = t29;
609
+ $[130] = t32;
610
+ $[131] = validationStatus;
611
+ $[132] = variantProp;
612
+ $[133] = widthProp;
613
+ $[134] = t33;
621
614
  } else {
622
- t33 = $[136];
615
+ t33 = $[134];
623
616
  }
624
617
  return t33;
625
618
  }
@@ -634,5 +627,6 @@ function _temp(element) {
634
627
  }
635
628
  const TextInputWithTokens = /*#__PURE__*/React.forwardRef(TextInputWithTokensInnerComponent);
636
629
  TextInputWithTokens.displayName = 'TextInputWithTokens';
630
+ TextInputWithTokens.__SLOT__ = Symbol('TextInputWithTokens');
637
631
 
638
632
  export { TextInputWithTokens as default };