@primer/react 38.0.0-rc.195178541 → 38.0.0-rc.2

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 (671) hide show
  1. package/CHANGELOG.md +193 -2
  2. package/dist/browser.esm.js +3 -3
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +3 -3
  5. package/dist/browser.umd.js.map +1 -1
  6. package/dist/components.css +1311 -350
  7. package/generated/components.json +560 -766
  8. package/lib/ActionList/ActionList-167cf6c7.css +2 -0
  9. package/lib/ActionList/ActionList-167cf6c7.css.map +1 -0
  10. package/lib/ActionList/ActionList.module.css.js +2 -2
  11. package/lib/ActionList/ActionListContainerContext.d.ts +1 -1
  12. package/lib/ActionList/ActionListContainerContext.d.ts.map +1 -1
  13. package/lib/ActionList/Description.d.ts.map +1 -1
  14. package/lib/ActionList/Description.js +1 -2
  15. package/lib/ActionList/Divider.d.ts.map +1 -1
  16. package/lib/ActionList/Divider.js +1 -2
  17. package/lib/ActionList/Group.d.ts.map +1 -1
  18. package/lib/ActionList/Group.js +1 -6
  19. package/lib/ActionList/Item.d.ts.map +1 -1
  20. package/lib/ActionList/Item.js +6 -3
  21. package/lib/ActionList/LinkItem.d.ts +1 -1
  22. package/lib/ActionList/LinkItem.d.ts.map +1 -1
  23. package/lib/ActionList/LinkItem.js +3 -2
  24. package/lib/ActionList/List.d.ts.map +1 -1
  25. package/lib/ActionList/List.js +3 -5
  26. package/lib/ActionList/Selection.js +2 -1
  27. package/lib/ActionList/Visuals.d.ts.map +1 -1
  28. package/lib/ActionList/Visuals.js +0 -7
  29. package/lib/ActionList/shared.d.ts +2 -1
  30. package/lib/ActionList/shared.d.ts.map +1 -1
  31. package/lib/Autocomplete/AutocompleteMenu.js +7 -7
  32. package/lib/Avatar/Avatar.d.ts.map +1 -1
  33. package/lib/Avatar/Avatar.js +39 -41
  34. package/lib/AvatarStack/AvatarStack-802bdd7c.css +2 -0
  35. package/lib/AvatarStack/AvatarStack-802bdd7c.css.map +1 -0
  36. package/lib/AvatarStack/AvatarStack.d.ts +4 -3
  37. package/lib/AvatarStack/AvatarStack.d.ts.map +1 -1
  38. package/lib/AvatarStack/AvatarStack.js +10 -6
  39. package/lib/AvatarStack/AvatarStack.module.css.js +1 -1
  40. package/lib/Banner/Banner-6396546f.css +2 -0
  41. package/lib/Banner/Banner-6396546f.css.map +1 -0
  42. package/lib/Banner/Banner.d.ts.map +1 -1
  43. package/lib/Banner/Banner.js +3 -1
  44. package/lib/Banner/Banner.module.css.js +2 -2
  45. package/lib/{BaseStyles-7880c337.css → BaseStyles-79fd37c4.css} +2 -2
  46. package/lib/BaseStyles-79fd37c4.css.map +1 -0
  47. package/lib/BaseStyles.module.css.js +1 -1
  48. package/lib/Blankslate/{Blankslate-a68ed307.css → Blankslate-2be5efdc.css} +2 -2
  49. package/lib/Blankslate/Blankslate-2be5efdc.css.map +1 -0
  50. package/lib/Blankslate/Blankslate.js +38 -40
  51. package/lib/Blankslate/Blankslate.module.css.js +1 -1
  52. package/lib/BranchName/BranchName.d.ts +6 -3
  53. package/lib/BranchName/BranchName.d.ts.map +1 -1
  54. package/lib/BranchName/BranchName.js +1 -3
  55. package/lib/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  56. package/lib/Breadcrumbs/Breadcrumbs.js +5 -5
  57. package/lib/Button/{ButtonBase-ec78dde7.css → ButtonBase-0a7871f4.css} +2 -2
  58. package/lib/Button/{ButtonBase-ec78dde7.css.map → ButtonBase-0a7871f4.css.map} +1 -1
  59. package/lib/Button/ButtonBase.js +2 -2
  60. package/lib/Button/ButtonBase.module.css.js +1 -1
  61. package/lib/ButtonGroup/ButtonGroup.d.ts.map +1 -1
  62. package/lib/ButtonGroup/ButtonGroup.js +24 -61
  63. package/lib/Checkbox/Checkbox.js +187 -56
  64. package/lib/CircleBadge/CircleBadge.d.ts +4 -0
  65. package/lib/CircleBadge/CircleBadge.d.ts.map +1 -1
  66. package/lib/CircleBadge/CircleBadge.js +4 -0
  67. package/lib/ConfirmationDialog/ConfirmationDialog.d.ts +8 -0
  68. package/lib/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -1
  69. package/lib/ConfirmationDialog/ConfirmationDialog.js +6 -2
  70. package/lib/CounterLabel/CounterLabel.d.ts.map +1 -1
  71. package/lib/CounterLabel/CounterLabel.js +43 -87
  72. package/lib/DataTable/Pagination-b6f8418c.css +2 -0
  73. package/lib/DataTable/Pagination-b6f8418c.css.map +1 -0
  74. package/lib/DataTable/Pagination.d.ts.map +1 -1
  75. package/lib/DataTable/Pagination.js +81 -88
  76. package/lib/DataTable/Pagination.module.css.js +7 -0
  77. package/lib/DataTable/Table.d.ts +1 -1
  78. package/lib/DataTable/Table.d.ts.map +1 -1
  79. package/lib/DataTable/Table.js +18 -26
  80. package/lib/DataTable/storyHelpers.d.ts +1 -1
  81. package/lib/DataTable/storyHelpers.d.ts.map +1 -1
  82. package/lib/DataTable/useTable.js +63 -82
  83. package/lib/Details/Details.d.ts +2 -3
  84. package/lib/Details/Details.d.ts.map +1 -1
  85. package/lib/Details/Details.js +33 -82
  86. package/lib/FeatureFlags/DefaultFeatureFlags.d.ts.map +1 -1
  87. package/lib/FeatureFlags/DefaultFeatureFlags.js +2 -3
  88. package/lib/FeatureFlags/FeatureFlags.js +10 -12
  89. package/lib/FilteredActionList/FilteredActionList-96b126d7.css +2 -0
  90. package/lib/FilteredActionList/FilteredActionList-96b126d7.css.map +1 -0
  91. package/lib/FilteredActionList/{FilteredActionListWithModernActionList.d.ts → FilteredActionList.d.ts} +9 -4
  92. package/lib/FilteredActionList/FilteredActionList.d.ts.map +1 -0
  93. package/lib/FilteredActionList/{FilteredActionListWithModernActionList.js → FilteredActionList.js} +156 -42
  94. package/lib/FilteredActionList/FilteredActionList.module.css.js +2 -2
  95. package/lib/FilteredActionList/FilteredActionListLoaders.js +1 -1
  96. package/lib/FilteredActionList/index.d.ts +3 -2
  97. package/lib/FilteredActionList/index.d.ts.map +1 -1
  98. package/lib/FilteredActionList/types.d.ts +159 -0
  99. package/lib/FilteredActionList/types.d.ts.map +1 -0
  100. package/lib/FilteredActionList/useAnnouncements.d.ts +5 -2
  101. package/lib/FilteredActionList/useAnnouncements.d.ts.map +1 -1
  102. package/lib/FilteredActionList/useAnnouncements.js +112 -65
  103. package/lib/FormControl/FormControl.d.ts.map +1 -1
  104. package/lib/FormControl/FormControl.js +3 -12
  105. package/lib/Header/Header.d.ts.map +1 -1
  106. package/lib/Header/Header.js +64 -170
  107. package/lib/InlineMessage/InlineMessage.d.ts +1 -1
  108. package/lib/InlineMessage/InlineMessage.d.ts.map +1 -1
  109. package/lib/InlineMessage/InlineMessage.js +31 -69
  110. package/lib/Label/Label.d.ts.map +1 -1
  111. package/lib/Label/Label.js +10 -8
  112. package/lib/LabelGroup/LabelGroup.d.ts +1 -2
  113. package/lib/LabelGroup/LabelGroup.d.ts.map +1 -1
  114. package/lib/LabelGroup/LabelGroup.js +13 -16
  115. package/lib/NavList/NavList.js +219 -53
  116. package/lib/Overlay/Overlay-40e80d0e.css +2 -0
  117. package/lib/Overlay/Overlay-40e80d0e.css.map +1 -0
  118. package/lib/Overlay/Overlay.module.css.js +1 -1
  119. package/lib/PageHeader/PageHeader.d.ts.map +1 -1
  120. package/lib/PageHeader/PageHeader.js +21 -30
  121. package/lib/PageLayout/PageLayout.d.ts.map +1 -1
  122. package/lib/PageLayout/PageLayout.js +466 -476
  123. package/lib/Pagehead/Pagehead.d.ts +1 -1
  124. package/lib/Pagehead/Pagehead.d.ts.map +1 -1
  125. package/lib/Pagehead/Pagehead.js +2 -11
  126. package/lib/PointerBox/PointerBox.d.ts +9 -1
  127. package/lib/PointerBox/PointerBox.d.ts.map +1 -1
  128. package/lib/PointerBox/PointerBox.js +5 -1
  129. package/lib/Popover/Popover-b609f443.css +2 -0
  130. package/lib/Popover/Popover-b609f443.css.map +1 -0
  131. package/lib/Popover/Popover.d.ts +5 -0
  132. package/lib/Popover/Popover.d.ts.map +1 -1
  133. package/lib/Popover/Popover.js +40 -21
  134. package/lib/Popover/Popover.module.css.js +1 -1
  135. package/lib/Portal/Portal.d.ts.map +1 -1
  136. package/lib/Portal/Portal.js +1 -0
  137. package/lib/ProgressBar/ProgressBar-36f689cb.css +2 -0
  138. package/lib/ProgressBar/ProgressBar-36f689cb.css.map +1 -0
  139. package/lib/ProgressBar/ProgressBar.d.ts +3 -4
  140. package/lib/ProgressBar/ProgressBar.d.ts.map +1 -1
  141. package/lib/ProgressBar/ProgressBar.js +53 -49
  142. package/lib/ProgressBar/ProgressBar.module.css.js +1 -1
  143. package/lib/ProgressBar/index.d.ts +2 -2
  144. package/lib/ProgressBar/index.d.ts.map +1 -1
  145. package/lib/Radio/{Radio-b2a92b7d.css → Radio-df9a5c02.css} +2 -2
  146. package/lib/Radio/{Radio-b2a92b7d.css.map → Radio-df9a5c02.css.map} +1 -1
  147. package/lib/Radio/Radio.d.ts.map +1 -1
  148. package/lib/Radio/Radio.js +40 -91
  149. package/lib/Radio/Radio.module.css.js +1 -1
  150. package/lib/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  151. package/lib/SegmentedControl/SegmentedControl.js +23 -25
  152. package/lib/SegmentedControl/SegmentedControlButton.d.ts.map +1 -1
  153. package/lib/SegmentedControl/SegmentedControlButton.js +70 -72
  154. package/lib/SegmentedControl/SegmentedControlIconButton.d.ts.map +1 -1
  155. package/lib/SegmentedControl/SegmentedControlIconButton.js +110 -112
  156. package/lib/Select/Select.d.ts +1 -1
  157. package/lib/Select/Select.d.ts.map +1 -1
  158. package/lib/Select/Select.js +79 -83
  159. package/lib/SelectPanel/SelectPanel-e11ce210.css +2 -0
  160. package/lib/SelectPanel/SelectPanel-e11ce210.css.map +1 -0
  161. package/lib/SelectPanel/SelectPanel.d.ts +8 -4
  162. package/lib/SelectPanel/SelectPanel.d.ts.map +1 -1
  163. package/lib/SelectPanel/SelectPanel.js +66 -29
  164. package/lib/SelectPanel/SelectPanel.module.css.js +2 -2
  165. package/lib/SelectPanel/SelectPanelMessage.d.ts +13 -0
  166. package/lib/SelectPanel/SelectPanelMessage.d.ts.map +1 -1
  167. package/lib/SelectPanel/SelectPanelMessage.js +10 -4
  168. package/lib/SelectPanel/index.d.ts +1 -0
  169. package/lib/SelectPanel/index.d.ts.map +1 -1
  170. package/lib/SideNav.d.ts +2 -3
  171. package/lib/SideNav.d.ts.map +1 -1
  172. package/lib/SideNav.js +4 -11
  173. package/lib/Skeleton/SkeletonBox.d.ts +2 -2
  174. package/lib/Skeleton/SkeletonBox.d.ts.map +1 -1
  175. package/lib/Skeleton/SkeletonBox.js +25 -24
  176. package/lib/SkeletonAvatar/SkeletonAvatar-e00fff32.css +2 -0
  177. package/lib/SkeletonAvatar/SkeletonAvatar-e00fff32.css.map +1 -0
  178. package/lib/SkeletonAvatar/SkeletonAvatar.d.ts +12 -0
  179. package/lib/SkeletonAvatar/SkeletonAvatar.d.ts.map +1 -0
  180. package/lib/{experimental/Skeleton → SkeletonAvatar}/SkeletonAvatar.js +5 -5
  181. package/lib/{experimental/Skeleton → SkeletonAvatar}/SkeletonAvatar.module.css.js +1 -1
  182. package/lib/SkeletonAvatar/index.d.ts +3 -0
  183. package/lib/SkeletonAvatar/index.d.ts.map +1 -0
  184. package/lib/SkeletonText/SkeletonText-5cf908c1.css +2 -0
  185. package/lib/SkeletonText/SkeletonText-5cf908c1.css.map +1 -0
  186. package/lib/{experimental/Skeleton → SkeletonText}/SkeletonText.d.ts +5 -4
  187. package/lib/SkeletonText/SkeletonText.d.ts.map +1 -0
  188. package/lib/SkeletonText/SkeletonText.js +142 -0
  189. package/lib/SkeletonText/SkeletonText.module.css.js +7 -0
  190. package/lib/SkeletonText/index.d.ts +3 -0
  191. package/lib/SkeletonText/index.d.ts.map +1 -0
  192. package/lib/Spinner/Spinner.d.ts +1 -1
  193. package/lib/Spinner/Spinner.d.ts.map +1 -1
  194. package/lib/Spinner/Spinner.js +13 -51
  195. package/lib/SplitPageLayout/SplitPageLayout.d.ts +1 -2
  196. package/lib/SplitPageLayout/SplitPageLayout.d.ts.map +1 -1
  197. package/{lib-esm/Stack/Stack-83ac2229.css → lib/Stack/Stack-9e7b935d.css} +2 -2
  198. package/lib/Stack/Stack-9e7b935d.css.map +1 -0
  199. package/lib/Stack/Stack.d.ts +5 -0
  200. package/lib/Stack/Stack.d.ts.map +1 -1
  201. package/lib/Stack/Stack.js +125 -112
  202. package/lib/Stack/Stack.module.css.js +1 -1
  203. package/lib/StateLabel/StateLabel-50420ff5.css +2 -0
  204. package/lib/StateLabel/StateLabel-50420ff5.css.map +1 -0
  205. package/lib/StateLabel/StateLabel.d.ts +7 -7
  206. package/lib/StateLabel/StateLabel.d.ts.map +1 -1
  207. package/lib/StateLabel/StateLabel.js +56 -130
  208. package/lib/StateLabel/StateLabel.module.css.js +7 -0
  209. package/lib/SubNav/SubNav.d.ts +8 -16
  210. package/lib/SubNav/SubNav.d.ts.map +1 -1
  211. package/lib/SubNav/SubNav.js +74 -215
  212. package/lib/TabNav/TabNav-83c6145e.css +2 -0
  213. package/lib/TabNav/TabNav-83c6145e.css.map +1 -0
  214. package/lib/TabNav/TabNav.module.css.js +1 -1
  215. package/lib/Text/Text.d.ts.map +1 -1
  216. package/lib/Text/Text.js +2 -3
  217. package/lib/TextInput/TextInput.d.ts +1 -1
  218. package/lib/TextInput/TextInput.d.ts.map +1 -1
  219. package/lib/TextInputWithTokens/TextInputWithTokens.d.ts +6 -0
  220. package/lib/TextInputWithTokens/TextInputWithTokens.d.ts.map +1 -1
  221. package/lib/TextInputWithTokens/TextInputWithTokens.js +343 -331
  222. package/lib/Textarea/Textarea.d.ts +24 -0
  223. package/lib/Textarea/Textarea.d.ts.map +1 -1
  224. package/lib/Textarea/Textarea.js +72 -44
  225. package/lib/Timeline/Timeline.d.ts +1 -1
  226. package/lib/Timeline/Timeline.d.ts.map +1 -1
  227. package/lib/Timeline/Timeline.js +92 -264
  228. package/lib/ToggleSwitch/ToggleSwitch-4b23d166.css +2 -0
  229. package/lib/ToggleSwitch/ToggleSwitch-4b23d166.css.map +1 -0
  230. package/lib/ToggleSwitch/ToggleSwitch.d.ts +14 -5
  231. package/lib/ToggleSwitch/ToggleSwitch.d.ts.map +1 -1
  232. package/lib/ToggleSwitch/ToggleSwitch.js +263 -275
  233. package/lib/ToggleSwitch/ToggleSwitch.module.css.js +7 -0
  234. package/lib/ToggleSwitch/ToggleSwitchStoryWrapper.d.ts.map +1 -1
  235. package/lib/Token/IssueLabelToken-0dbbbcdf.css +2 -0
  236. package/lib/Token/IssueLabelToken-0dbbbcdf.css.map +1 -0
  237. package/lib/Token/IssueLabelToken.d.ts.map +1 -1
  238. package/lib/Token/IssueLabelToken.js +7 -65
  239. package/lib/Token/IssueLabelToken.module.css.js +1 -1
  240. package/lib/Token/Token.d.ts.map +1 -1
  241. package/lib/Token/Token.js +120 -128
  242. package/lib/Token/TokenBase.js +78 -83
  243. package/lib/Token/_RemoveTokenButton.js +106 -26
  244. package/lib/Token/index.d.ts +0 -1
  245. package/lib/Token/index.d.ts.map +1 -1
  246. package/lib/Tooltip/Tooltip.js +15 -17
  247. package/lib/TooltipV2/Tooltip-5a80d7b2.css +2 -0
  248. package/lib/TooltipV2/Tooltip-5a80d7b2.css.map +1 -0
  249. package/lib/TooltipV2/Tooltip.d.ts.map +1 -1
  250. package/lib/TooltipV2/Tooltip.js +3 -3
  251. package/lib/TooltipV2/Tooltip.module.css.js +1 -1
  252. package/lib/TreeView/TreeView.js +20 -22
  253. package/lib/TreeView/shared.js +2 -2
  254. package/lib/VisuallyHidden/VisuallyHidden.d.ts +2 -3
  255. package/lib/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
  256. package/lib/VisuallyHidden/VisuallyHidden.js +17 -51
  257. package/lib/_VisuallyHidden-5c0a2499.css +2 -0
  258. package/lib/_VisuallyHidden-5c0a2499.css.map +1 -0
  259. package/lib/_VisuallyHidden.d.ts +3 -2
  260. package/lib/_VisuallyHidden.d.ts.map +1 -1
  261. package/lib/_VisuallyHidden.js +63 -26
  262. package/lib/_VisuallyHidden.module.css.js +7 -0
  263. package/lib/deprecated/ActionList/List.d.ts.map +1 -1
  264. package/lib/deprecated/ActionList/List.js +115 -138
  265. package/lib/deprecated/ActionMenu.js +19 -21
  266. package/lib/deprecated/UnderlineNav/UnderlineNav.d.ts +2 -3
  267. package/lib/deprecated/UnderlineNav/UnderlineNav.d.ts.map +1 -1
  268. package/lib/deprecated/UnderlineNav/UnderlineNav.js +2 -3
  269. package/lib/deprecated/index.d.ts +2 -0
  270. package/lib/deprecated/index.d.ts.map +1 -1
  271. package/lib/deprecated/index.js +2 -0
  272. package/lib/experimental/IssueLabel/IssueLabel-6581d1bd.css +2 -0
  273. package/lib/experimental/IssueLabel/IssueLabel-6581d1bd.css.map +1 -0
  274. package/lib/experimental/IssueLabel/IssueLabel.d.ts +28 -13
  275. package/lib/experimental/IssueLabel/IssueLabel.d.ts.map +1 -1
  276. package/lib/experimental/IssueLabel/IssueLabel.js +129 -135
  277. package/lib/experimental/IssueLabel/IssueLabel.module.css.js +1 -1
  278. package/lib/experimental/UnderlinePanels/UnderlinePanels.d.ts.map +1 -1
  279. package/lib/experimental/UnderlinePanels/UnderlinePanels.js +30 -40
  280. package/lib/experimental/index.d.ts +6 -1
  281. package/lib/experimental/index.d.ts.map +1 -1
  282. package/lib/experimental/index.js +4 -4
  283. package/lib/hooks/useMenuKeyboardNavigation.js +23 -43
  284. package/lib/hooks/useMnemonics.js +37 -77
  285. package/lib/hooks/useOpenAndCloseFocus.js +7 -14
  286. package/lib/hooks/useOverflow.js +7 -11
  287. package/lib/hooks/useScrollFlash.js +25 -14
  288. package/lib/index.d.ts +6 -9
  289. package/lib/index.d.ts.map +1 -1
  290. package/lib/index.js +10 -16
  291. package/lib/internal/components/BoxWithFallback.js +40 -35
  292. package/lib/internal/components/ButtonReset-904f2483.css +2 -0
  293. package/lib/internal/components/ButtonReset-904f2483.css.map +1 -0
  294. package/lib/internal/components/ButtonReset.d.ts +1 -2
  295. package/lib/internal/components/ButtonReset.d.ts.map +1 -1
  296. package/lib/internal/components/ButtonReset.js +49 -13
  297. package/lib/internal/components/ButtonReset.module.css.js +7 -0
  298. package/lib/internal/components/Caret-e686f04c.css +2 -0
  299. package/lib/internal/components/Caret-e686f04c.css.map +1 -0
  300. package/{lib-esm → lib/internal/components}/Caret.d.ts +1 -3
  301. package/lib/internal/components/Caret.d.ts.map +1 -0
  302. package/lib/{Caret.js → internal/components/Caret.js} +14 -48
  303. package/lib/internal/components/Caret.module.css.js +7 -0
  304. package/lib/internal/components/LiveRegion.js +8 -10
  305. package/lib/internal/components/{TextInputWrapper-ca608f70.css → TextInputWrapper-889df5d3.css} +2 -2
  306. package/{lib-esm/internal/components/TextInputWrapper-ca608f70.css.map → lib/internal/components/TextInputWrapper-889df5d3.css.map} +1 -1
  307. package/lib/internal/components/TextInputWrapper.module.css.js +1 -1
  308. package/lib/internal/components/UnderlineTabbedInterface.d.ts.map +1 -1
  309. package/lib/internal/components/UnderlineTabbedInterface.js +60 -108
  310. package/lib/internal/utils/getGlobalFocusStyles.js +1 -1
  311. package/lib/live-region/Announce.js +2 -2
  312. package/lib/test-helpers.js +3 -0
  313. package/lib/utils/form-story-helpers.d.ts +1 -1
  314. package/lib/utils/form-story-helpers.d.ts.map +1 -1
  315. package/lib-esm/ActionList/ActionList-167cf6c7.css +2 -0
  316. package/lib-esm/ActionList/ActionList-167cf6c7.css.map +1 -0
  317. package/lib-esm/ActionList/ActionList.module.css.js +2 -2
  318. package/lib-esm/ActionList/ActionListContainerContext.d.ts +1 -1
  319. package/lib-esm/ActionList/Description.js +1 -2
  320. package/lib-esm/ActionList/Divider.js +1 -2
  321. package/lib-esm/ActionList/Group.js +1 -6
  322. package/lib-esm/ActionList/Item.js +6 -3
  323. package/lib-esm/ActionList/LinkItem.d.ts +1 -1
  324. package/lib-esm/ActionList/LinkItem.js +3 -2
  325. package/lib-esm/ActionList/List.js +3 -5
  326. package/lib-esm/ActionList/Selection.js +2 -1
  327. package/lib-esm/ActionList/Visuals.js +0 -7
  328. package/lib-esm/ActionList/shared.d.ts +2 -1
  329. package/lib-esm/Autocomplete/AutocompleteMenu.js +1 -1
  330. package/lib-esm/Avatar/Avatar.js +39 -41
  331. package/lib-esm/AvatarStack/AvatarStack-802bdd7c.css +2 -0
  332. package/lib-esm/AvatarStack/AvatarStack-802bdd7c.css.map +1 -0
  333. package/lib-esm/AvatarStack/AvatarStack.d.ts +4 -3
  334. package/lib-esm/AvatarStack/AvatarStack.js +10 -6
  335. package/lib-esm/AvatarStack/AvatarStack.module.css.js +1 -1
  336. package/lib-esm/Banner/Banner-6396546f.css +2 -0
  337. package/lib-esm/Banner/Banner-6396546f.css.map +1 -0
  338. package/lib-esm/Banner/Banner.js +3 -1
  339. package/lib-esm/Banner/Banner.module.css.js +2 -2
  340. package/lib-esm/{BaseStyles-7880c337.css → BaseStyles-79fd37c4.css} +2 -2
  341. package/lib-esm/BaseStyles-79fd37c4.css.map +1 -0
  342. package/lib-esm/BaseStyles.module.css.js +1 -1
  343. package/lib-esm/Blankslate/{Blankslate-a68ed307.css → Blankslate-2be5efdc.css} +2 -2
  344. package/lib-esm/Blankslate/Blankslate-2be5efdc.css.map +1 -0
  345. package/lib-esm/Blankslate/Blankslate.js +38 -40
  346. package/lib-esm/Blankslate/Blankslate.module.css.js +1 -1
  347. package/lib-esm/BranchName/BranchName.d.ts +6 -3
  348. package/lib-esm/BranchName/BranchName.js +1 -3
  349. package/lib-esm/Breadcrumbs/Breadcrumbs.js +5 -5
  350. package/lib-esm/Button/{ButtonBase-ec78dde7.css → ButtonBase-0a7871f4.css} +2 -2
  351. package/lib-esm/Button/{ButtonBase-ec78dde7.css.map → ButtonBase-0a7871f4.css.map} +1 -1
  352. package/lib-esm/Button/ButtonBase.js +2 -2
  353. package/lib-esm/Button/ButtonBase.module.css.js +1 -1
  354. package/lib-esm/ButtonGroup/ButtonGroup.js +24 -61
  355. package/lib-esm/Checkbox/Checkbox.js +187 -56
  356. package/lib-esm/CircleBadge/CircleBadge.d.ts +4 -0
  357. package/lib-esm/CircleBadge/CircleBadge.js +4 -0
  358. package/lib-esm/ConfirmationDialog/ConfirmationDialog.d.ts +8 -0
  359. package/lib-esm/ConfirmationDialog/ConfirmationDialog.js +6 -2
  360. package/lib-esm/CounterLabel/CounterLabel.js +43 -87
  361. package/lib-esm/DataTable/Pagination-b6f8418c.css +2 -0
  362. package/lib-esm/DataTable/Pagination-b6f8418c.css.map +1 -0
  363. package/lib-esm/DataTable/Pagination.js +81 -84
  364. package/lib-esm/DataTable/Pagination.module.css.js +5 -0
  365. package/lib-esm/DataTable/Table.d.ts +1 -1
  366. package/lib-esm/DataTable/Table.js +18 -26
  367. package/lib-esm/DataTable/storyHelpers.d.ts +1 -1
  368. package/lib-esm/DataTable/useTable.js +64 -83
  369. package/lib-esm/Details/Details.d.ts +2 -3
  370. package/lib-esm/Details/Details.js +33 -82
  371. package/lib-esm/FeatureFlags/DefaultFeatureFlags.js +2 -3
  372. package/lib-esm/FeatureFlags/FeatureFlags.js +10 -12
  373. package/lib-esm/FilteredActionList/FilteredActionList-96b126d7.css +2 -0
  374. package/lib-esm/FilteredActionList/FilteredActionList-96b126d7.css.map +1 -0
  375. package/lib-esm/FilteredActionList/{FilteredActionListWithModernActionList.d.ts → FilteredActionList.d.ts} +9 -4
  376. package/lib-esm/FilteredActionList/{FilteredActionListWithModernActionList.js → FilteredActionList.js} +156 -42
  377. package/lib-esm/FilteredActionList/FilteredActionList.module.css.js +2 -2
  378. package/lib-esm/FilteredActionList/FilteredActionListLoaders.js +1 -1
  379. package/lib-esm/FilteredActionList/index.d.ts +3 -2
  380. package/lib-esm/FilteredActionList/types.d.ts +159 -0
  381. package/lib-esm/FilteredActionList/useAnnouncements.d.ts +5 -2
  382. package/lib-esm/FilteredActionList/useAnnouncements.js +112 -65
  383. package/lib-esm/FormControl/FormControl.js +3 -12
  384. package/lib-esm/Header/Header.js +64 -170
  385. package/lib-esm/InlineMessage/InlineMessage.d.ts +1 -1
  386. package/lib-esm/InlineMessage/InlineMessage.js +31 -69
  387. package/lib-esm/Label/Label.js +10 -8
  388. package/lib-esm/LabelGroup/LabelGroup.d.ts +1 -2
  389. package/lib-esm/LabelGroup/LabelGroup.js +13 -16
  390. package/lib-esm/NavList/NavList.js +219 -53
  391. package/lib-esm/Overlay/Overlay-40e80d0e.css +2 -0
  392. package/lib-esm/Overlay/Overlay-40e80d0e.css.map +1 -0
  393. package/lib-esm/Overlay/Overlay.module.css.js +1 -1
  394. package/lib-esm/PageHeader/PageHeader.js +21 -30
  395. package/lib-esm/PageLayout/PageLayout.js +466 -476
  396. package/lib-esm/Pagehead/Pagehead.d.ts +1 -1
  397. package/lib-esm/Pagehead/Pagehead.js +2 -11
  398. package/lib-esm/PointerBox/PointerBox.d.ts +9 -1
  399. package/lib-esm/PointerBox/PointerBox.js +5 -1
  400. package/lib-esm/Popover/Popover-b609f443.css +2 -0
  401. package/lib-esm/Popover/Popover-b609f443.css.map +1 -0
  402. package/lib-esm/Popover/Popover.d.ts +5 -0
  403. package/lib-esm/Popover/Popover.js +40 -21
  404. package/lib-esm/Popover/Popover.module.css.js +1 -1
  405. package/lib-esm/Portal/Portal.js +1 -0
  406. package/lib-esm/ProgressBar/ProgressBar-36f689cb.css +2 -0
  407. package/lib-esm/ProgressBar/ProgressBar-36f689cb.css.map +1 -0
  408. package/lib-esm/ProgressBar/ProgressBar.d.ts +3 -4
  409. package/lib-esm/ProgressBar/ProgressBar.js +53 -49
  410. package/lib-esm/ProgressBar/ProgressBar.module.css.js +1 -1
  411. package/lib-esm/ProgressBar/index.d.ts +2 -2
  412. package/lib-esm/Radio/{Radio-b2a92b7d.css → Radio-df9a5c02.css} +2 -2
  413. package/lib-esm/Radio/{Radio-b2a92b7d.css.map → Radio-df9a5c02.css.map} +1 -1
  414. package/lib-esm/Radio/Radio.js +40 -91
  415. package/lib-esm/Radio/Radio.module.css.js +1 -1
  416. package/lib-esm/SegmentedControl/SegmentedControl.js +23 -25
  417. package/lib-esm/SegmentedControl/SegmentedControlButton.js +70 -72
  418. package/lib-esm/SegmentedControl/SegmentedControlIconButton.js +110 -112
  419. package/lib-esm/Select/Select.d.ts +1 -1
  420. package/lib-esm/Select/Select.js +79 -83
  421. package/lib-esm/SelectPanel/SelectPanel-e11ce210.css +2 -0
  422. package/lib-esm/SelectPanel/SelectPanel-e11ce210.css.map +1 -0
  423. package/lib-esm/SelectPanel/SelectPanel.d.ts +8 -4
  424. package/lib-esm/SelectPanel/SelectPanel.js +64 -27
  425. package/lib-esm/SelectPanel/SelectPanel.module.css.js +2 -2
  426. package/lib-esm/SelectPanel/SelectPanelMessage.d.ts +13 -0
  427. package/lib-esm/SelectPanel/SelectPanelMessage.js +10 -4
  428. package/lib-esm/SelectPanel/index.d.ts +1 -0
  429. package/lib-esm/SideNav.d.ts +2 -3
  430. package/lib-esm/SideNav.js +4 -11
  431. package/lib-esm/Skeleton/SkeletonBox.d.ts +2 -2
  432. package/lib-esm/Skeleton/SkeletonBox.js +25 -24
  433. package/lib-esm/SkeletonAvatar/SkeletonAvatar-e00fff32.css +2 -0
  434. package/lib-esm/SkeletonAvatar/SkeletonAvatar-e00fff32.css.map +1 -0
  435. package/lib-esm/SkeletonAvatar/SkeletonAvatar.d.ts +12 -0
  436. package/lib-esm/{experimental/Skeleton → SkeletonAvatar}/SkeletonAvatar.js +5 -5
  437. package/lib-esm/SkeletonAvatar/SkeletonAvatar.module.css.js +5 -0
  438. package/lib-esm/SkeletonAvatar/index.d.ts +3 -0
  439. package/lib-esm/SkeletonText/SkeletonText-5cf908c1.css +2 -0
  440. package/lib-esm/SkeletonText/SkeletonText-5cf908c1.css.map +1 -0
  441. package/lib-esm/{experimental/Skeleton → SkeletonText}/SkeletonText.d.ts +5 -4
  442. package/lib-esm/SkeletonText/SkeletonText.js +140 -0
  443. package/lib-esm/SkeletonText/SkeletonText.module.css.js +5 -0
  444. package/lib-esm/SkeletonText/index.d.ts +3 -0
  445. package/lib-esm/Spinner/Spinner.d.ts +1 -1
  446. package/lib-esm/Spinner/Spinner.js +13 -47
  447. package/lib-esm/SplitPageLayout/SplitPageLayout.d.ts +1 -2
  448. package/{lib/Stack/Stack-83ac2229.css → lib-esm/Stack/Stack-9e7b935d.css} +2 -2
  449. package/lib-esm/Stack/Stack-9e7b935d.css.map +1 -0
  450. package/lib-esm/Stack/Stack.d.ts +5 -0
  451. package/lib-esm/Stack/Stack.js +125 -112
  452. package/lib-esm/Stack/Stack.module.css.js +1 -1
  453. package/lib-esm/StateLabel/StateLabel-50420ff5.css +2 -0
  454. package/lib-esm/StateLabel/StateLabel-50420ff5.css.map +1 -0
  455. package/lib-esm/StateLabel/StateLabel.d.ts +7 -7
  456. package/lib-esm/StateLabel/StateLabel.js +57 -127
  457. package/lib-esm/StateLabel/StateLabel.module.css.js +5 -0
  458. package/lib-esm/SubNav/SubNav.d.ts +8 -16
  459. package/lib-esm/SubNav/SubNav.js +74 -215
  460. package/lib-esm/TabNav/TabNav-83c6145e.css +2 -0
  461. package/lib-esm/TabNav/TabNav-83c6145e.css.map +1 -0
  462. package/lib-esm/TabNav/TabNav.module.css.js +1 -1
  463. package/lib-esm/Text/Text.js +2 -3
  464. package/lib-esm/TextInput/TextInput.d.ts +1 -1
  465. package/lib-esm/TextInputWithTokens/TextInputWithTokens.d.ts +6 -0
  466. package/lib-esm/TextInputWithTokens/TextInputWithTokens.js +343 -331
  467. package/lib-esm/Textarea/Textarea.d.ts +24 -0
  468. package/lib-esm/Textarea/Textarea.js +72 -44
  469. package/lib-esm/Timeline/Timeline.d.ts +1 -1
  470. package/lib-esm/Timeline/Timeline.js +92 -264
  471. package/lib-esm/ToggleSwitch/ToggleSwitch-4b23d166.css +2 -0
  472. package/lib-esm/ToggleSwitch/ToggleSwitch-4b23d166.css.map +1 -0
  473. package/lib-esm/ToggleSwitch/ToggleSwitch.d.ts +14 -5
  474. package/lib-esm/ToggleSwitch/ToggleSwitch.js +263 -274
  475. package/lib-esm/ToggleSwitch/ToggleSwitch.module.css.js +5 -0
  476. package/lib-esm/Token/IssueLabelToken-0dbbbcdf.css +2 -0
  477. package/lib-esm/Token/IssueLabelToken-0dbbbcdf.css.map +1 -0
  478. package/lib-esm/Token/IssueLabelToken.js +7 -65
  479. package/lib-esm/Token/IssueLabelToken.module.css.js +1 -1
  480. package/lib-esm/Token/Token.js +120 -128
  481. package/lib-esm/Token/TokenBase.js +78 -83
  482. package/lib-esm/Token/_RemoveTokenButton.js +106 -26
  483. package/lib-esm/Token/index.d.ts +0 -1
  484. package/lib-esm/Tooltip/Tooltip.js +15 -17
  485. package/lib-esm/TooltipV2/Tooltip-5a80d7b2.css +2 -0
  486. package/lib-esm/TooltipV2/Tooltip-5a80d7b2.css.map +1 -0
  487. package/lib-esm/TooltipV2/Tooltip.js +3 -3
  488. package/lib-esm/TooltipV2/Tooltip.module.css.js +1 -1
  489. package/lib-esm/TreeView/TreeView.js +20 -22
  490. package/lib-esm/TreeView/shared.js +2 -2
  491. package/lib-esm/VisuallyHidden/VisuallyHidden.d.ts +2 -3
  492. package/lib-esm/VisuallyHidden/VisuallyHidden.js +17 -51
  493. package/lib-esm/_VisuallyHidden-5c0a2499.css +2 -0
  494. package/lib-esm/_VisuallyHidden-5c0a2499.css.map +1 -0
  495. package/lib-esm/_VisuallyHidden.d.ts +3 -2
  496. package/lib-esm/_VisuallyHidden.js +63 -22
  497. package/lib-esm/_VisuallyHidden.module.css.js +5 -0
  498. package/lib-esm/deprecated/ActionList/List.js +116 -138
  499. package/lib-esm/deprecated/ActionMenu.js +19 -21
  500. package/lib-esm/deprecated/UnderlineNav/UnderlineNav.d.ts +2 -3
  501. package/lib-esm/deprecated/UnderlineNav/UnderlineNav.js +2 -3
  502. package/lib-esm/deprecated/index.d.ts +2 -0
  503. package/lib-esm/deprecated/index.js +1 -0
  504. package/lib-esm/experimental/IssueLabel/IssueLabel-6581d1bd.css +2 -0
  505. package/lib-esm/experimental/IssueLabel/IssueLabel-6581d1bd.css.map +1 -0
  506. package/lib-esm/experimental/IssueLabel/IssueLabel.d.ts +28 -13
  507. package/lib-esm/experimental/IssueLabel/IssueLabel.js +129 -135
  508. package/lib-esm/experimental/IssueLabel/IssueLabel.module.css.js +1 -1
  509. package/lib-esm/experimental/UnderlinePanels/UnderlinePanels.js +30 -40
  510. package/lib-esm/experimental/index.d.ts +6 -1
  511. package/lib-esm/experimental/index.js +3 -3
  512. package/lib-esm/hooks/useMenuKeyboardNavigation.js +23 -43
  513. package/lib-esm/hooks/useMnemonics.js +37 -77
  514. package/lib-esm/hooks/useOpenAndCloseFocus.js +7 -14
  515. package/lib-esm/hooks/useOverflow.js +7 -11
  516. package/lib-esm/hooks/useScrollFlash.js +25 -14
  517. package/lib-esm/index.d.ts +6 -9
  518. package/lib-esm/index.js +1 -4
  519. package/lib-esm/internal/components/BoxWithFallback.js +40 -35
  520. package/lib-esm/internal/components/ButtonReset-904f2483.css +2 -0
  521. package/lib-esm/internal/components/ButtonReset-904f2483.css.map +1 -0
  522. package/lib-esm/internal/components/ButtonReset.d.ts +1 -2
  523. package/lib-esm/internal/components/ButtonReset.js +49 -9
  524. package/lib-esm/internal/components/ButtonReset.module.css.js +5 -0
  525. package/lib-esm/internal/components/Caret-e686f04c.css +2 -0
  526. package/lib-esm/internal/components/Caret-e686f04c.css.map +1 -0
  527. package/{lib → lib-esm/internal/components}/Caret.d.ts +1 -3
  528. package/lib-esm/{Caret.js → internal/components/Caret.js} +14 -44
  529. package/lib-esm/internal/components/Caret.module.css.js +5 -0
  530. package/lib-esm/internal/components/LiveRegion.js +8 -10
  531. package/lib-esm/internal/components/{TextInputWrapper-ca608f70.css → TextInputWrapper-889df5d3.css} +2 -2
  532. package/{lib/internal/components/TextInputWrapper-ca608f70.css.map → lib-esm/internal/components/TextInputWrapper-889df5d3.css.map} +1 -1
  533. package/lib-esm/internal/components/TextInputWrapper.module.css.js +1 -1
  534. package/lib-esm/internal/components/UnderlineTabbedInterface.js +60 -108
  535. package/lib-esm/internal/utils/getGlobalFocusStyles.js +1 -1
  536. package/lib-esm/live-region/Announce.js +2 -2
  537. package/lib-esm/test-helpers.js +3 -0
  538. package/lib-esm/utils/form-story-helpers.d.ts +1 -1
  539. package/package.json +31 -34
  540. package/lib/ActionList/ActionList-49cba224.css +0 -2
  541. package/lib/ActionList/ActionList-49cba224.css.map +0 -1
  542. package/lib/AvatarPair/AvatarPair-68990abe.css +0 -2
  543. package/lib/AvatarPair/AvatarPair-68990abe.css.map +0 -1
  544. package/lib/AvatarPair/AvatarPair.d.ts +0 -8
  545. package/lib/AvatarPair/AvatarPair.d.ts.map +0 -1
  546. package/lib/AvatarPair/AvatarPair.js +0 -92
  547. package/lib/AvatarPair/AvatarPair.module.css.js +0 -7
  548. package/lib/AvatarPair/index.d.ts +0 -3
  549. package/lib/AvatarPair/index.d.ts.map +0 -1
  550. package/lib/AvatarStack/AvatarStack-f0712fca.css +0 -2
  551. package/lib/AvatarStack/AvatarStack-f0712fca.css.map +0 -1
  552. package/lib/Banner/Banner-43e2cd6a.css +0 -2
  553. package/lib/Banner/Banner-43e2cd6a.css.map +0 -1
  554. package/lib/BaseStyles-7880c337.css.map +0 -1
  555. package/lib/Blankslate/Blankslate-a68ed307.css.map +0 -1
  556. package/lib/Caret.d.ts.map +0 -1
  557. package/lib/CircleOcticon/CircleOcticon.d.ts +0 -13
  558. package/lib/CircleOcticon/CircleOcticon.d.ts.map +0 -1
  559. package/lib/CircleOcticon/CircleOcticon.js +0 -96
  560. package/lib/CircleOcticon/index.d.ts +0 -3
  561. package/lib/CircleOcticon/index.d.ts.map +0 -1
  562. package/lib/FilteredActionList/FilteredActionList-e1dde781.css +0 -2
  563. package/lib/FilteredActionList/FilteredActionList-e1dde781.css.map +0 -1
  564. package/lib/FilteredActionList/FilteredActionListEntry.d.ts +0 -7
  565. package/lib/FilteredActionList/FilteredActionListEntry.d.ts.map +0 -1
  566. package/lib/FilteredActionList/FilteredActionListEntry.js +0 -40
  567. package/lib/FilteredActionList/FilteredActionListWithDeprecatedActionList.d.ts +0 -23
  568. package/lib/FilteredActionList/FilteredActionListWithDeprecatedActionList.d.ts.map +0 -1
  569. package/lib/FilteredActionList/FilteredActionListWithDeprecatedActionList.js +0 -219
  570. package/lib/FilteredActionList/FilteredActionListWithModernActionList.d.ts.map +0 -1
  571. package/lib/Overlay/Overlay-aeb12fc3.css +0 -2
  572. package/lib/Overlay/Overlay-aeb12fc3.css.map +0 -1
  573. package/lib/Popover/Popover-e16fd997.css +0 -2
  574. package/lib/Popover/Popover-e16fd997.css.map +0 -1
  575. package/lib/ProgressBar/ProgressBar-430cdef7.css +0 -2
  576. package/lib/ProgressBar/ProgressBar-430cdef7.css.map +0 -1
  577. package/lib/SelectPanel/SelectPanel-bfde365c.css +0 -2
  578. package/lib/SelectPanel/SelectPanel-bfde365c.css.map +0 -1
  579. package/lib/SelectPanel/types.d.ts +0 -4
  580. package/lib/SelectPanel/types.d.ts.map +0 -1
  581. package/lib/Stack/Stack-83ac2229.css.map +0 -1
  582. package/lib/TabNav/TabNav-9753d6ed.css +0 -2
  583. package/lib/TabNav/TabNav-9753d6ed.css.map +0 -1
  584. package/lib/Token/AvatarToken-ff45cc85.css +0 -2
  585. package/lib/Token/AvatarToken-ff45cc85.css.map +0 -1
  586. package/lib/Token/AvatarToken.d.ts +0 -8
  587. package/lib/Token/AvatarToken.d.ts.map +0 -1
  588. package/lib/Token/AvatarToken.js +0 -99
  589. package/lib/Token/AvatarToken.module.css.js +0 -7
  590. package/lib/Token/IssueLabelToken-99c9b914.css +0 -2
  591. package/lib/Token/IssueLabelToken-99c9b914.css.map +0 -1
  592. package/lib/TooltipV2/Tooltip-59734b6f.css +0 -2
  593. package/lib/TooltipV2/Tooltip-59734b6f.css.map +0 -1
  594. package/lib/experimental/IssueLabel/IssueLabel-5507fbf3.css +0 -2
  595. package/lib/experimental/IssueLabel/IssueLabel-5507fbf3.css.map +0 -1
  596. package/lib/experimental/Skeleton/SkeletonAvatar-e00fff32.css +0 -2
  597. package/lib/experimental/Skeleton/SkeletonAvatar-e00fff32.css.map +0 -1
  598. package/lib/experimental/Skeleton/SkeletonAvatar.d.ts +0 -8
  599. package/lib/experimental/Skeleton/SkeletonAvatar.d.ts.map +0 -1
  600. package/lib/experimental/Skeleton/SkeletonText-5cf908c1.css +0 -2
  601. package/lib/experimental/Skeleton/SkeletonText-5cf908c1.css.map +0 -1
  602. package/lib/experimental/Skeleton/SkeletonText.d.ts.map +0 -1
  603. package/lib/experimental/Skeleton/SkeletonText.js +0 -149
  604. package/lib/experimental/Skeleton/SkeletonText.module.css.js +0 -7
  605. package/lib/experimental/Skeleton/index.d.ts +0 -4
  606. package/lib/experimental/Skeleton/index.d.ts.map +0 -1
  607. package/lib/internal/utils/toggleStyledComponent.d.ts +0 -20
  608. package/lib/internal/utils/toggleStyledComponent.d.ts.map +0 -1
  609. package/lib/internal/utils/toggleSxComponent.d.ts +0 -15
  610. package/lib/internal/utils/toggleSxComponent.d.ts.map +0 -1
  611. package/lib/internal/utils/toggleSxComponent.js +0 -83
  612. package/lib/node_modules/@github/mini-throttle/dist/index.js +0 -43
  613. package/lib-esm/ActionList/ActionList-49cba224.css +0 -2
  614. package/lib-esm/ActionList/ActionList-49cba224.css.map +0 -1
  615. package/lib-esm/AvatarPair/AvatarPair-68990abe.css +0 -2
  616. package/lib-esm/AvatarPair/AvatarPair-68990abe.css.map +0 -1
  617. package/lib-esm/AvatarPair/AvatarPair.d.ts +0 -8
  618. package/lib-esm/AvatarPair/AvatarPair.js +0 -86
  619. package/lib-esm/AvatarPair/AvatarPair.module.css.js +0 -5
  620. package/lib-esm/AvatarPair/index.d.ts +0 -3
  621. package/lib-esm/AvatarStack/AvatarStack-f0712fca.css +0 -2
  622. package/lib-esm/AvatarStack/AvatarStack-f0712fca.css.map +0 -1
  623. package/lib-esm/Banner/Banner-43e2cd6a.css +0 -2
  624. package/lib-esm/Banner/Banner-43e2cd6a.css.map +0 -1
  625. package/lib-esm/BaseStyles-7880c337.css.map +0 -1
  626. package/lib-esm/Blankslate/Blankslate-a68ed307.css.map +0 -1
  627. package/lib-esm/CircleOcticon/CircleOcticon.d.ts +0 -13
  628. package/lib-esm/CircleOcticon/CircleOcticon.js +0 -94
  629. package/lib-esm/CircleOcticon/index.d.ts +0 -3
  630. package/lib-esm/FilteredActionList/FilteredActionList-e1dde781.css +0 -2
  631. package/lib-esm/FilteredActionList/FilteredActionList-e1dde781.css.map +0 -1
  632. package/lib-esm/FilteredActionList/FilteredActionListEntry.d.ts +0 -7
  633. package/lib-esm/FilteredActionList/FilteredActionListEntry.js +0 -38
  634. package/lib-esm/FilteredActionList/FilteredActionListWithDeprecatedActionList.d.ts +0 -23
  635. package/lib-esm/FilteredActionList/FilteredActionListWithDeprecatedActionList.js +0 -213
  636. package/lib-esm/Overlay/Overlay-aeb12fc3.css +0 -2
  637. package/lib-esm/Overlay/Overlay-aeb12fc3.css.map +0 -1
  638. package/lib-esm/Popover/Popover-e16fd997.css +0 -2
  639. package/lib-esm/Popover/Popover-e16fd997.css.map +0 -1
  640. package/lib-esm/ProgressBar/ProgressBar-430cdef7.css +0 -2
  641. package/lib-esm/ProgressBar/ProgressBar-430cdef7.css.map +0 -1
  642. package/lib-esm/SelectPanel/SelectPanel-bfde365c.css +0 -2
  643. package/lib-esm/SelectPanel/SelectPanel-bfde365c.css.map +0 -1
  644. package/lib-esm/SelectPanel/types.d.ts +0 -4
  645. package/lib-esm/Stack/Stack-83ac2229.css.map +0 -1
  646. package/lib-esm/TabNav/TabNav-9753d6ed.css +0 -2
  647. package/lib-esm/TabNav/TabNav-9753d6ed.css.map +0 -1
  648. package/lib-esm/Token/AvatarToken-ff45cc85.css +0 -2
  649. package/lib-esm/Token/AvatarToken-ff45cc85.css.map +0 -1
  650. package/lib-esm/Token/AvatarToken.d.ts +0 -8
  651. package/lib-esm/Token/AvatarToken.js +0 -97
  652. package/lib-esm/Token/AvatarToken.module.css.js +0 -5
  653. package/lib-esm/Token/IssueLabelToken-99c9b914.css +0 -2
  654. package/lib-esm/Token/IssueLabelToken-99c9b914.css.map +0 -1
  655. package/lib-esm/TooltipV2/Tooltip-59734b6f.css +0 -2
  656. package/lib-esm/TooltipV2/Tooltip-59734b6f.css.map +0 -1
  657. package/lib-esm/experimental/IssueLabel/IssueLabel-5507fbf3.css +0 -2
  658. package/lib-esm/experimental/IssueLabel/IssueLabel-5507fbf3.css.map +0 -1
  659. package/lib-esm/experimental/Skeleton/SkeletonAvatar-e00fff32.css +0 -2
  660. package/lib-esm/experimental/Skeleton/SkeletonAvatar-e00fff32.css.map +0 -1
  661. package/lib-esm/experimental/Skeleton/SkeletonAvatar.d.ts +0 -8
  662. package/lib-esm/experimental/Skeleton/SkeletonAvatar.module.css.js +0 -5
  663. package/lib-esm/experimental/Skeleton/SkeletonText-5cf908c1.css +0 -2
  664. package/lib-esm/experimental/Skeleton/SkeletonText-5cf908c1.css.map +0 -1
  665. package/lib-esm/experimental/Skeleton/SkeletonText.js +0 -143
  666. package/lib-esm/experimental/Skeleton/SkeletonText.module.css.js +0 -5
  667. package/lib-esm/experimental/Skeleton/index.d.ts +0 -4
  668. package/lib-esm/internal/utils/toggleStyledComponent.d.ts +0 -20
  669. package/lib-esm/internal/utils/toggleSxComponent.d.ts +0 -15
  670. package/lib-esm/internal/utils/toggleSxComponent.js +0 -77
  671. package/lib-esm/node_modules/@github/mini-throttle/dist/index.js +0 -40
@@ -30,81 +30,106 @@ const overflowCountFontSizeMap = {
30
30
 
31
31
  // using forwardRef is important so that other components (ex. Autocomplete) can use the ref
32
32
  function TextInputWithTokensInnerComponent(t0, forwardedRef) {
33
- const $ = reactCompilerRuntime.c(139);
33
+ const $ = reactCompilerRuntime.c(137);
34
34
  let IconComponent;
35
35
  let LeadingVisual;
36
+ let TokenComponent;
36
37
  let TrailingVisual;
37
38
  let block;
38
39
  let className;
39
40
  let contrast;
40
41
  let disabled;
42
+ let hideTokenRemoveButtons;
43
+ let loaderPosition;
41
44
  let loading;
42
45
  let maxHeight;
43
46
  let maxWidthProp;
44
47
  let minWidthProp;
45
48
  let onTokenRemove;
46
- let rest;
49
+ let preventTokenWrapping;
50
+ let size;
47
51
  let style;
48
52
  let sxProp;
49
53
  let t1;
50
- let t2;
51
- let t3;
52
- let t4;
53
- let t5;
54
54
  let tokens;
55
55
  let validationStatus;
56
56
  let variantProp;
57
57
  let visibleTokenCount;
58
58
  let widthProp;
59
59
  if ($[0] !== t0) {
60
- ({
61
- icon: IconComponent,
62
- leadingVisual: LeadingVisual,
63
- trailingVisual: TrailingVisual,
64
- loading,
65
- loaderPosition: t1,
66
- contrast,
67
- className,
68
- block,
69
- disabled,
70
- sx: sxProp,
71
- tokens,
72
- onTokenRemove,
73
- tokenComponent: t2,
74
- preventTokenWrapping: t3,
75
- size: t4,
76
- hideTokenRemoveButtons: t5,
77
- maxHeight,
78
- width: widthProp,
79
- minWidth: minWidthProp,
80
- maxWidth: maxWidthProp,
81
- validationStatus,
82
- variant: variantProp,
83
- visibleTokenCount,
84
- style,
60
+ const {
61
+ icon: t2,
62
+ leadingVisual: t3,
63
+ trailingVisual: t4,
64
+ loading: t5,
65
+ loaderPosition: t6,
66
+ contrast: t7,
67
+ className: t8,
68
+ block: t9,
69
+ disabled: t10,
70
+ sx: t11,
71
+ tokens: t12,
72
+ onTokenRemove: t13,
73
+ tokenComponent: t14,
74
+ preventTokenWrapping: t15,
75
+ size: t16,
76
+ hideTokenRemoveButtons: t17,
77
+ maxHeight: t18,
78
+ width: t19,
79
+ minWidth: t20,
80
+ maxWidth: t21,
81
+ validationStatus: t22,
82
+ variant: t23,
83
+ visibleTokenCount: t24,
84
+ style: t25,
85
85
  ...rest
86
- } = t0);
86
+ } = t0;
87
+ IconComponent = t2;
88
+ LeadingVisual = t3;
89
+ TrailingVisual = t4;
90
+ loading = t5;
91
+ contrast = t7;
92
+ className = t8;
93
+ block = t9;
94
+ disabled = t10;
95
+ sxProp = t11;
96
+ tokens = t12;
97
+ onTokenRemove = t13;
98
+ maxHeight = t18;
99
+ widthProp = t19;
100
+ minWidthProp = t20;
101
+ maxWidthProp = t21;
102
+ validationStatus = t22;
103
+ variantProp = t23;
104
+ visibleTokenCount = t24;
105
+ style = t25;
106
+ loaderPosition = t6 === undefined ? "auto" : t6;
107
+ TokenComponent = t14 === undefined ? Token : t14;
108
+ preventTokenWrapping = t15 === undefined ? false : t15;
109
+ size = t16 === undefined ? "xlarge" : t16;
110
+ hideTokenRemoveButtons = t17 === undefined ? false : t17;
111
+ t1 = props.omit(rest);
87
112
  $[0] = t0;
88
113
  $[1] = IconComponent;
89
114
  $[2] = LeadingVisual;
90
- $[3] = TrailingVisual;
91
- $[4] = block;
92
- $[5] = className;
93
- $[6] = contrast;
94
- $[7] = disabled;
95
- $[8] = loading;
96
- $[9] = maxHeight;
97
- $[10] = maxWidthProp;
98
- $[11] = minWidthProp;
99
- $[12] = onTokenRemove;
100
- $[13] = rest;
101
- $[14] = style;
102
- $[15] = sxProp;
103
- $[16] = t1;
104
- $[17] = t2;
105
- $[18] = t3;
106
- $[19] = t4;
107
- $[20] = t5;
115
+ $[3] = TokenComponent;
116
+ $[4] = TrailingVisual;
117
+ $[5] = block;
118
+ $[6] = className;
119
+ $[7] = contrast;
120
+ $[8] = disabled;
121
+ $[9] = hideTokenRemoveButtons;
122
+ $[10] = loaderPosition;
123
+ $[11] = loading;
124
+ $[12] = maxHeight;
125
+ $[13] = maxWidthProp;
126
+ $[14] = minWidthProp;
127
+ $[15] = onTokenRemove;
128
+ $[16] = preventTokenWrapping;
129
+ $[17] = size;
130
+ $[18] = style;
131
+ $[19] = sxProp;
132
+ $[20] = t1;
108
133
  $[21] = tokens;
109
134
  $[22] = validationStatus;
110
135
  $[23] = variantProp;
@@ -113,79 +138,66 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
113
138
  } else {
114
139
  IconComponent = $[1];
115
140
  LeadingVisual = $[2];
116
- TrailingVisual = $[3];
117
- block = $[4];
118
- className = $[5];
119
- contrast = $[6];
120
- disabled = $[7];
121
- loading = $[8];
122
- maxHeight = $[9];
123
- maxWidthProp = $[10];
124
- minWidthProp = $[11];
125
- onTokenRemove = $[12];
126
- rest = $[13];
127
- style = $[14];
128
- sxProp = $[15];
129
- t1 = $[16];
130
- t2 = $[17];
131
- t3 = $[18];
132
- t4 = $[19];
133
- t5 = $[20];
141
+ TokenComponent = $[3];
142
+ TrailingVisual = $[4];
143
+ block = $[5];
144
+ className = $[6];
145
+ contrast = $[7];
146
+ disabled = $[8];
147
+ hideTokenRemoveButtons = $[9];
148
+ loaderPosition = $[10];
149
+ loading = $[11];
150
+ maxHeight = $[12];
151
+ maxWidthProp = $[13];
152
+ minWidthProp = $[14];
153
+ onTokenRemove = $[15];
154
+ preventTokenWrapping = $[16];
155
+ size = $[17];
156
+ style = $[18];
157
+ sxProp = $[19];
158
+ t1 = $[20];
134
159
  tokens = $[21];
135
160
  validationStatus = $[22];
136
161
  variantProp = $[23];
137
162
  visibleTokenCount = $[24];
138
163
  widthProp = $[25];
139
164
  }
140
- const loaderPosition = t1 === undefined ? "auto" : t1;
141
- const TokenComponent = t2 === undefined ? Token : t2;
142
- const preventTokenWrapping = t3 === undefined ? false : t3;
143
- const size = t4 === undefined ? "xlarge" : t4;
144
- const hideTokenRemoveButtons = t5 === undefined ? false : t5;
145
- let t6;
146
- if ($[26] !== rest) {
147
- t6 = props.omit(rest);
148
- $[26] = rest;
149
- $[27] = t6;
150
- } else {
151
- t6 = $[27];
152
- }
153
165
  let inputPropsRest;
154
166
  let onBlur;
155
167
  let onFocus;
156
168
  let onKeyDown;
157
- if ($[28] !== t6) {
169
+ if ($[26] !== t1) {
158
170
  ({
159
171
  onBlur,
160
172
  onFocus,
161
173
  onKeyDown,
162
174
  ...inputPropsRest
163
- } = t6);
164
- $[28] = t6;
165
- $[29] = inputPropsRest;
166
- $[30] = onBlur;
167
- $[31] = onFocus;
168
- $[32] = onKeyDown;
175
+ } = t1);
176
+ $[26] = t1;
177
+ $[27] = inputPropsRest;
178
+ $[28] = onBlur;
179
+ $[29] = onFocus;
180
+ $[30] = onKeyDown;
169
181
  } else {
170
- inputPropsRest = $[29];
171
- onBlur = $[30];
172
- onFocus = $[31];
173
- onKeyDown = $[32];
182
+ inputPropsRest = $[27];
183
+ onBlur = $[28];
184
+ onFocus = $[29];
185
+ onKeyDown = $[30];
174
186
  }
175
187
  const ref = React.useRef(null);
176
188
  useRefObjectAsForwardedRef.useRefObjectAsForwardedRef(forwardedRef, ref);
177
189
  const [selectedTokenIndex, setSelectedTokenIndex] = React.useState();
178
190
  const [tokensAreTruncated, setTokensAreTruncated] = React.useState(Boolean(visibleTokenCount));
179
- let t7;
180
- if ($[33] !== selectedTokenIndex) {
181
- t7 = [selectedTokenIndex];
182
- $[33] = selectedTokenIndex;
183
- $[34] = t7;
191
+ let t2;
192
+ if ($[31] !== selectedTokenIndex) {
193
+ t2 = [selectedTokenIndex];
194
+ $[31] = selectedTokenIndex;
195
+ $[32] = t2;
184
196
  } else {
185
- t7 = $[34];
197
+ t2 = $[32];
186
198
  }
187
199
  const {
188
- containerRef: t8
200
+ containerRef: t3
189
201
  } = useFocusZone.useFocusZone({
190
202
  focusOutBehavior: "wrap",
191
203
  bindKeys: behaviors.FocusKeys.ArrowHorizontal | behaviors.FocusKeys.HomeAndEnd,
@@ -207,11 +219,11 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
207
219
  }
208
220
  return (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.children[nextIndex];
209
221
  }
210
- }, t7);
211
- const containerRef = t8;
212
- let t9;
213
- if ($[35] !== containerRef || $[36] !== onTokenRemove || $[37] !== selectedTokenIndex) {
214
- t9 = tokenId => {
222
+ }, t2);
223
+ const containerRef = t3;
224
+ let t4;
225
+ if ($[33] !== containerRef || $[34] !== onTokenRemove || $[35] !== selectedTokenIndex) {
226
+ t4 = tokenId => {
215
227
  onTokenRemove(tokenId);
216
228
  setTimeout(() => {
217
229
  var _containerRef$current2, _containerRef$current3;
@@ -225,30 +237,30 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
225
237
  }
226
238
  }, 0);
227
239
  };
228
- $[35] = containerRef;
229
- $[36] = onTokenRemove;
230
- $[37] = selectedTokenIndex;
231
- $[38] = t9;
240
+ $[33] = containerRef;
241
+ $[34] = onTokenRemove;
242
+ $[35] = selectedTokenIndex;
243
+ $[36] = t4;
232
244
  } else {
233
- t9 = $[38];
245
+ t4 = $[36];
234
246
  }
235
- const handleTokenRemove = t9;
236
- let t10;
237
- if ($[39] !== disabled) {
238
- t10 = tokenIndex => () => {
247
+ const handleTokenRemove = t4;
248
+ let t5;
249
+ if ($[37] !== disabled) {
250
+ t5 = tokenIndex => () => {
239
251
  if (!disabled) {
240
252
  setSelectedTokenIndex(tokenIndex);
241
253
  }
242
254
  };
243
- $[39] = disabled;
244
- $[40] = t10;
255
+ $[37] = disabled;
256
+ $[38] = t5;
245
257
  } else {
246
- t10 = $[40];
258
+ t5 = $[38];
247
259
  }
248
- const handleTokenFocus = t10;
249
- let t11;
250
- if ($[41] !== containerRef || $[42] !== visibleTokenCount) {
251
- t11 = () => {
260
+ const handleTokenFocus = t5;
261
+ let t6;
262
+ if ($[39] !== containerRef || $[40] !== visibleTokenCount) {
263
+ t6 = () => {
252
264
  setSelectedTokenIndex(undefined);
253
265
  setTimeout(() => {
254
266
  var _containerRef$current4;
@@ -257,43 +269,43 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
257
269
  }
258
270
  }, 0);
259
271
  };
260
- $[41] = containerRef;
261
- $[42] = visibleTokenCount;
262
- $[43] = t11;
272
+ $[39] = containerRef;
273
+ $[40] = visibleTokenCount;
274
+ $[41] = t6;
263
275
  } else {
264
- t11 = $[43];
276
+ t6 = $[41];
265
277
  }
266
- const handleTokenBlur = t11;
267
- let t12;
268
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
269
- t12 = event => {
278
+ const handleTokenBlur = t6;
279
+ let t7;
280
+ if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
281
+ t7 = event => {
270
282
  if (event.key === "Escape") {
271
283
  var _ref$current2;
272
284
  (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus();
273
285
  }
274
286
  };
275
- $[44] = t12;
287
+ $[42] = t7;
276
288
  } else {
277
- t12 = $[44];
289
+ t7 = $[42];
278
290
  }
279
- const handleTokenKeyUp = t12;
280
- let t13;
281
- if ($[45] !== onFocus || $[46] !== visibleTokenCount) {
282
- t13 = event_0 => {
291
+ const handleTokenKeyUp = t7;
292
+ let t8;
293
+ if ($[43] !== onFocus || $[44] !== visibleTokenCount) {
294
+ t8 = event_0 => {
283
295
  onFocus && onFocus(event_0);
284
296
  setSelectedTokenIndex(undefined);
285
297
  visibleTokenCount && setTokensAreTruncated(false);
286
298
  };
287
- $[45] = onFocus;
288
- $[46] = visibleTokenCount;
289
- $[47] = t13;
299
+ $[43] = onFocus;
300
+ $[44] = visibleTokenCount;
301
+ $[45] = t8;
290
302
  } else {
291
- t13 = $[47];
303
+ t8 = $[45];
292
304
  }
293
- const handleInputFocus = t13;
294
- let t14;
295
- if ($[48] !== containerRef || $[49] !== onBlur || $[50] !== visibleTokenCount) {
296
- t14 = event_1 => {
305
+ const handleInputFocus = t8;
306
+ let t9;
307
+ if ($[46] !== containerRef || $[47] !== onBlur || $[48] !== visibleTokenCount) {
308
+ t9 = event_1 => {
297
309
  onBlur && onBlur(event_1);
298
310
  setTimeout(() => {
299
311
  var _containerRef$current5;
@@ -302,17 +314,17 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
302
314
  }
303
315
  }, 0);
304
316
  };
305
- $[48] = containerRef;
306
- $[49] = onBlur;
307
- $[50] = visibleTokenCount;
308
- $[51] = t14;
317
+ $[46] = containerRef;
318
+ $[47] = onBlur;
319
+ $[48] = visibleTokenCount;
320
+ $[49] = t9;
309
321
  } else {
310
- t14 = $[51];
322
+ t9 = $[49];
311
323
  }
312
- const handleInputBlur = t14;
313
- let t15;
314
- if ($[52] !== handleTokenRemove || $[53] !== onKeyDown || $[54] !== tokens) {
315
- t15 = e => {
324
+ const handleInputBlur = t9;
325
+ let t10;
326
+ if ($[50] !== handleTokenRemove || $[51] !== onKeyDown || $[52] !== tokens) {
327
+ t10 = e => {
316
328
  var _ref$current3;
317
329
  if (onKeyDown) {
318
330
  onKeyDown(e);
@@ -332,116 +344,116 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
332
344
  }, 0);
333
345
  }
334
346
  };
335
- $[52] = handleTokenRemove;
336
- $[53] = onKeyDown;
337
- $[54] = tokens;
338
- $[55] = t15;
347
+ $[50] = handleTokenRemove;
348
+ $[51] = onKeyDown;
349
+ $[52] = tokens;
350
+ $[53] = t10;
339
351
  } else {
340
- t15 = $[55];
352
+ t10 = $[53];
341
353
  }
342
- const handleInputKeyDown = t15;
343
- let t16;
344
- if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
345
- t16 = () => {
354
+ const handleInputKeyDown = t10;
355
+ let t11;
356
+ if ($[54] === Symbol.for("react.memo_cache_sentinel")) {
357
+ t11 = () => {
346
358
  var _ref$current5;
347
359
  (_ref$current5 = ref.current) === null || _ref$current5 === void 0 ? void 0 : _ref$current5.focus();
348
360
  };
349
- $[56] = t16;
361
+ $[54] = t11;
350
362
  } else {
351
- t16 = $[56];
363
+ t11 = $[54];
352
364
  }
353
- const focusInput = t16;
365
+ const focusInput = t11;
354
366
  const preventTokenClickPropagation = _temp3;
355
- let t17;
356
- if ($[57] !== tokens || $[58] !== tokensAreTruncated || $[59] !== visibleTokenCount) {
357
- t17 = tokensAreTruncated ? tokens.slice(0, visibleTokenCount) : tokens;
358
- $[57] = tokens;
359
- $[58] = tokensAreTruncated;
360
- $[59] = visibleTokenCount;
361
- $[60] = t17;
367
+ let t12;
368
+ if ($[55] !== tokens || $[56] !== tokensAreTruncated || $[57] !== visibleTokenCount) {
369
+ t12 = tokensAreTruncated ? tokens.slice(0, visibleTokenCount) : tokens;
370
+ $[55] = tokens;
371
+ $[56] = tokensAreTruncated;
372
+ $[57] = visibleTokenCount;
373
+ $[58] = t12;
362
374
  } else {
363
- t17 = $[60];
375
+ t12 = $[58];
364
376
  }
365
- const visibleTokens = t17;
366
- let t18;
367
- if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
368
- t18 = {
377
+ const visibleTokens = t12;
378
+ let t13;
379
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
380
+ t13 = {
369
381
  small: "small",
370
382
  medium: "small",
371
383
  large: "medium",
372
384
  xlarge: "medium"
373
385
  };
374
- $[61] = t18;
386
+ $[59] = t13;
375
387
  } else {
376
- t18 = $[61];
388
+ t13 = $[59];
377
389
  }
378
- const inputSizeMap = t18;
390
+ const inputSizeMap = t13;
379
391
  const showLeadingLoadingIndicator = loading && (loaderPosition === "leading" || Boolean(LeadingVisual && loaderPosition !== "trailing"));
380
392
  const showTrailingLoadingIndicator = loading && (loaderPosition === "trailing" || loaderPosition === "auto" && !LeadingVisual);
381
- const t19 = Boolean(LeadingVisual || showLeadingLoadingIndicator);
382
- const t20 = Boolean(TrailingVisual || showTrailingLoadingIndicator);
383
- const t21 = inputSizeMap[size];
384
- const t22 = Boolean(preventTokenWrapping || maxHeight) || undefined;
385
- let t23;
386
- if ($[62] !== className) {
387
- t23 = clsx.clsx(className, TextInputWithTokens_module.TextInputWrapper);
388
- $[62] = className;
389
- $[63] = t23;
393
+ const t14 = Boolean(LeadingVisual || showLeadingLoadingIndicator);
394
+ const t15 = Boolean(TrailingVisual || showTrailingLoadingIndicator);
395
+ const t16 = inputSizeMap[size];
396
+ const t17 = Boolean(preventTokenWrapping || maxHeight) || undefined;
397
+ let t18;
398
+ if ($[60] !== className) {
399
+ t18 = clsx.clsx(className, TextInputWithTokens_module.TextInputWrapper);
400
+ $[60] = className;
401
+ $[61] = t18;
390
402
  } else {
391
- t23 = $[63];
403
+ t18 = $[61];
392
404
  }
393
- let t24;
394
- if ($[64] !== maxHeight || $[65] !== style) {
395
- t24 = maxHeight ? {
405
+ let t19;
406
+ if ($[62] !== maxHeight || $[63] !== style) {
407
+ t19 = maxHeight ? {
396
408
  maxHeight,
397
409
  ...style
398
410
  } : style;
399
- $[64] = maxHeight;
400
- $[65] = style;
401
- $[66] = t24;
411
+ $[62] = maxHeight;
412
+ $[63] = style;
413
+ $[64] = t19;
402
414
  } else {
403
- t24 = $[66];
415
+ t19 = $[64];
404
416
  }
405
- let t25;
406
- if ($[67] !== IconComponent || $[68] !== LeadingVisual) {
407
- t25 = IconComponent && !LeadingVisual && /*#__PURE__*/jsxRuntime.jsx(IconComponent, {
417
+ let t20;
418
+ if ($[65] !== IconComponent || $[66] !== LeadingVisual) {
419
+ t20 = IconComponent && !LeadingVisual && /*#__PURE__*/jsxRuntime.jsx(IconComponent, {
408
420
  className: "TextInput-icon"
409
421
  });
410
- $[67] = IconComponent;
411
- $[68] = LeadingVisual;
412
- $[69] = t25;
422
+ $[65] = IconComponent;
423
+ $[66] = LeadingVisual;
424
+ $[67] = t20;
413
425
  } else {
414
- t25 = $[69];
426
+ t20 = $[67];
415
427
  }
416
- const t26 = typeof loading === "boolean";
417
- let t27;
418
- if ($[70] !== LeadingVisual) {
419
- t27 = typeof LeadingVisual !== "string" && reactIs.isValidElementType(LeadingVisual) ? /*#__PURE__*/jsxRuntime.jsx(LeadingVisual, {}) : LeadingVisual;
420
- $[70] = LeadingVisual;
421
- $[71] = t27;
428
+ const t21 = typeof loading === "boolean";
429
+ let t22;
430
+ if ($[68] !== LeadingVisual) {
431
+ t22 = typeof LeadingVisual !== "string" && reactIs.isValidElementType(LeadingVisual) ? /*#__PURE__*/jsxRuntime.jsx(LeadingVisual, {}) : LeadingVisual;
432
+ $[68] = LeadingVisual;
433
+ $[69] = t22;
422
434
  } else {
423
- t27 = $[71];
435
+ t22 = $[69];
424
436
  }
425
- let t28;
426
- if ($[72] !== showLeadingLoadingIndicator || $[73] !== t26 || $[74] !== t27) {
427
- t28 = /*#__PURE__*/jsxRuntime.jsx(TextInputInnerVisualSlot, {
428
- hasLoadingIndicator: t26,
437
+ let t23;
438
+ if ($[70] !== showLeadingLoadingIndicator || $[71] !== t21 || $[72] !== t22) {
439
+ t23 = /*#__PURE__*/jsxRuntime.jsx(TextInputInnerVisualSlot, {
440
+ hasLoadingIndicator: t21,
429
441
  visualPosition: "leading",
430
442
  showLoadingIndicator: showLeadingLoadingIndicator,
431
- children: t27
443
+ children: t22
432
444
  });
433
- $[72] = showLeadingLoadingIndicator;
434
- $[73] = t26;
435
- $[74] = t27;
436
- $[75] = t28;
445
+ $[70] = showLeadingLoadingIndicator;
446
+ $[71] = t21;
447
+ $[72] = t22;
448
+ $[73] = t23;
437
449
  } else {
438
- t28 = $[75];
450
+ t23 = $[73];
439
451
  }
440
- const t29 = containerRef;
441
- const t30 = validationStatus === "error" ? "true" : "false";
442
- let t31;
443
- if ($[76] !== disabled || $[77] !== handleInputBlur || $[78] !== handleInputFocus || $[79] !== handleInputKeyDown || $[80] !== inputPropsRest || $[81] !== t30) {
444
- t31 = /*#__PURE__*/jsxRuntime.jsx("div", {
452
+ const t24 = containerRef;
453
+ const t25 = validationStatus === "error" ? "true" : "false";
454
+ let t26;
455
+ if ($[74] !== disabled || $[75] !== handleInputBlur || $[76] !== handleInputFocus || $[77] !== handleInputKeyDown || $[78] !== inputPropsRest || $[79] !== t25) {
456
+ t26 = /*#__PURE__*/jsxRuntime.jsx("div", {
445
457
  className: TextInputWithTokens_module.InputWrapper,
446
458
  children: /*#__PURE__*/jsxRuntime.jsx(UnstyledTextInput, {
447
459
  ref: ref,
@@ -451,29 +463,29 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
451
463
  onKeyDown: handleInputKeyDown,
452
464
  type: "text",
453
465
  className: TextInputWithTokens_module.UnstyledTextInput,
454
- "aria-invalid": t30,
466
+ "aria-invalid": t25,
455
467
  ...inputPropsRest
456
468
  })
457
469
  });
458
- $[76] = disabled;
459
- $[77] = handleInputBlur;
460
- $[78] = handleInputFocus;
461
- $[79] = handleInputKeyDown;
462
- $[80] = inputPropsRest;
463
- $[81] = t30;
464
- $[82] = t31;
470
+ $[74] = disabled;
471
+ $[75] = handleInputBlur;
472
+ $[76] = handleInputFocus;
473
+ $[77] = handleInputKeyDown;
474
+ $[78] = inputPropsRest;
475
+ $[79] = t25;
476
+ $[80] = t26;
465
477
  } else {
466
- t31 = $[82];
478
+ t26 = $[80];
467
479
  }
468
- let t32;
469
- if ($[83] !== TokenComponent || $[84] !== disabled || $[85] !== handleTokenBlur || $[86] !== handleTokenFocus || $[87] !== handleTokenRemove || $[88] !== hideTokenRemoveButtons || $[89] !== selectedTokenIndex || $[90] !== size || $[91] !== visibleTokens) {
470
- let t33;
471
- if ($[93] !== TokenComponent || $[94] !== disabled || $[95] !== handleTokenBlur || $[96] !== handleTokenFocus || $[97] !== handleTokenRemove || $[98] !== hideTokenRemoveButtons || $[99] !== selectedTokenIndex || $[100] !== size) {
472
- t33 = (t34, i) => {
480
+ let t27;
481
+ if ($[81] !== TokenComponent || $[82] !== disabled || $[83] !== handleTokenBlur || $[84] !== handleTokenFocus || $[85] !== handleTokenRemove || $[86] !== hideTokenRemoveButtons || $[87] !== selectedTokenIndex || $[88] !== size || $[89] !== visibleTokens) {
482
+ let t28;
483
+ if ($[91] !== TokenComponent || $[92] !== disabled || $[93] !== handleTokenBlur || $[94] !== handleTokenFocus || $[95] !== handleTokenRemove || $[96] !== hideTokenRemoveButtons || $[97] !== selectedTokenIndex || $[98] !== size) {
484
+ t28 = (t29, i) => {
473
485
  const {
474
486
  id,
475
487
  ...tokenRest
476
- } = t34;
488
+ } = t29;
477
489
  return /*#__PURE__*/jsxRuntime.jsx(TokenComponent, {
478
490
  disabled: disabled,
479
491
  onFocus: handleTokenFocus(i),
@@ -490,133 +502,133 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
490
502
  ...tokenRest
491
503
  }, id);
492
504
  };
493
- $[93] = TokenComponent;
494
- $[94] = disabled;
495
- $[95] = handleTokenBlur;
496
- $[96] = handleTokenFocus;
497
- $[97] = handleTokenRemove;
498
- $[98] = hideTokenRemoveButtons;
499
- $[99] = selectedTokenIndex;
500
- $[100] = size;
501
- $[101] = t33;
505
+ $[91] = TokenComponent;
506
+ $[92] = disabled;
507
+ $[93] = handleTokenBlur;
508
+ $[94] = handleTokenFocus;
509
+ $[95] = handleTokenRemove;
510
+ $[96] = hideTokenRemoveButtons;
511
+ $[97] = selectedTokenIndex;
512
+ $[98] = size;
513
+ $[99] = t28;
502
514
  } else {
503
- t33 = $[101];
515
+ t28 = $[99];
504
516
  }
505
- t32 = visibleTokens.map(t33);
506
- $[83] = TokenComponent;
507
- $[84] = disabled;
508
- $[85] = handleTokenBlur;
509
- $[86] = handleTokenFocus;
510
- $[87] = handleTokenRemove;
511
- $[88] = hideTokenRemoveButtons;
512
- $[89] = selectedTokenIndex;
513
- $[90] = size;
514
- $[91] = visibleTokens;
515
- $[92] = t32;
517
+ t27 = visibleTokens.map(t28);
518
+ $[81] = TokenComponent;
519
+ $[82] = disabled;
520
+ $[83] = handleTokenBlur;
521
+ $[84] = handleTokenFocus;
522
+ $[85] = handleTokenRemove;
523
+ $[86] = hideTokenRemoveButtons;
524
+ $[87] = selectedTokenIndex;
525
+ $[88] = size;
526
+ $[89] = visibleTokens;
527
+ $[90] = t27;
516
528
  } else {
517
- t32 = $[92];
529
+ t27 = $[90];
518
530
  }
519
- let t33;
520
- if ($[102] !== size || $[103] !== tokens || $[104] !== tokensAreTruncated || $[105] !== visibleTokens.length) {
521
- t33 = tokensAreTruncated && tokens.length - visibleTokens.length ? /*#__PURE__*/jsxRuntime.jsxs(Text, {
531
+ let t28;
532
+ if ($[100] !== size || $[101] !== tokens || $[102] !== tokensAreTruncated || $[103] !== visibleTokens.length) {
533
+ t28 = tokensAreTruncated && tokens.length - visibleTokens.length ? /*#__PURE__*/jsxRuntime.jsxs(Text, {
522
534
  color: "fg.muted",
523
535
  fontSize: overflowCountFontSizeMap[size],
524
536
  children: ["+", tokens.length - visibleTokens.length]
525
537
  }) : null;
526
- $[102] = size;
527
- $[103] = tokens;
528
- $[104] = tokensAreTruncated;
529
- $[105] = visibleTokens.length;
530
- $[106] = t33;
538
+ $[100] = size;
539
+ $[101] = tokens;
540
+ $[102] = tokensAreTruncated;
541
+ $[103] = visibleTokens.length;
542
+ $[104] = t28;
531
543
  } else {
532
- t33 = $[106];
544
+ t28 = $[104];
533
545
  }
534
- let t34;
535
- if ($[107] !== preventTokenWrapping || $[108] !== t29 || $[109] !== t31 || $[110] !== t32 || $[111] !== t33) {
536
- t34 = /*#__PURE__*/jsxRuntime.jsxs("div", {
537
- ref: t29,
546
+ let t29;
547
+ if ($[105] !== preventTokenWrapping || $[106] !== t24 || $[107] !== t26 || $[108] !== t27 || $[109] !== t28) {
548
+ t29 = /*#__PURE__*/jsxRuntime.jsxs("div", {
549
+ ref: t24,
538
550
  className: TextInputWithTokens_module.Container,
539
551
  "data-prevent-token-wrapping": preventTokenWrapping,
540
- children: [t31, t32, t33]
552
+ children: [t26, t27, t28]
541
553
  });
542
- $[107] = preventTokenWrapping;
543
- $[108] = t29;
544
- $[109] = t31;
545
- $[110] = t32;
546
- $[111] = t33;
547
- $[112] = t34;
554
+ $[105] = preventTokenWrapping;
555
+ $[106] = t24;
556
+ $[107] = t26;
557
+ $[108] = t27;
558
+ $[109] = t28;
559
+ $[110] = t29;
548
560
  } else {
549
- t34 = $[112];
561
+ t29 = $[110];
550
562
  }
551
- const t35 = typeof loading === "boolean";
552
- let t36;
553
- if ($[113] !== TrailingVisual) {
554
- t36 = typeof TrailingVisual !== "string" && reactIs.isValidElementType(TrailingVisual) ? /*#__PURE__*/jsxRuntime.jsx(TrailingVisual, {}) : TrailingVisual;
555
- $[113] = TrailingVisual;
556
- $[114] = t36;
563
+ const t30 = typeof loading === "boolean";
564
+ let t31;
565
+ if ($[111] !== TrailingVisual) {
566
+ t31 = typeof TrailingVisual !== "string" && reactIs.isValidElementType(TrailingVisual) ? /*#__PURE__*/jsxRuntime.jsx(TrailingVisual, {}) : TrailingVisual;
567
+ $[111] = TrailingVisual;
568
+ $[112] = t31;
557
569
  } else {
558
- t36 = $[114];
570
+ t31 = $[112];
559
571
  }
560
- let t37;
561
- if ($[115] !== showTrailingLoadingIndicator || $[116] !== t35 || $[117] !== t36) {
562
- t37 = /*#__PURE__*/jsxRuntime.jsx(TextInputInnerVisualSlot, {
563
- hasLoadingIndicator: t35,
572
+ let t32;
573
+ if ($[113] !== showTrailingLoadingIndicator || $[114] !== t30 || $[115] !== t31) {
574
+ t32 = /*#__PURE__*/jsxRuntime.jsx(TextInputInnerVisualSlot, {
575
+ hasLoadingIndicator: t30,
564
576
  visualPosition: "trailing",
565
577
  showLoadingIndicator: showTrailingLoadingIndicator,
566
- children: t36
578
+ children: t31
567
579
  });
568
- $[115] = showTrailingLoadingIndicator;
569
- $[116] = t35;
570
- $[117] = t36;
571
- $[118] = t37;
580
+ $[113] = showTrailingLoadingIndicator;
581
+ $[114] = t30;
582
+ $[115] = t31;
583
+ $[116] = t32;
572
584
  } else {
573
- t37 = $[118];
585
+ t32 = $[116];
574
586
  }
575
- let t38;
576
- if ($[119] !== block || $[120] !== contrast || $[121] !== disabled || $[122] !== maxWidthProp || $[123] !== minWidthProp || $[124] !== sxProp || $[125] !== t19 || $[126] !== t20 || $[127] !== t21 || $[128] !== t22 || $[129] !== t23 || $[130] !== t24 || $[131] !== t25 || $[132] !== t28 || $[133] !== t34 || $[134] !== t37 || $[135] !== validationStatus || $[136] !== variantProp || $[137] !== widthProp) {
577
- t38 = /*#__PURE__*/jsxRuntime.jsxs(TextInputWrapper.TextInputWrapper, {
587
+ let t33;
588
+ 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) {
589
+ t33 = /*#__PURE__*/jsxRuntime.jsxs(TextInputWrapper.TextInputWrapper, {
578
590
  block: block,
579
591
  contrast: contrast,
580
592
  disabled: disabled,
581
- hasLeadingVisual: t19,
582
- hasTrailingVisual: t20,
593
+ hasLeadingVisual: t14,
594
+ hasTrailingVisual: t15,
583
595
  width: widthProp,
584
596
  minWidth: minWidthProp,
585
597
  maxWidth: maxWidthProp,
586
- size: t21,
598
+ size: t16,
587
599
  validationStatus: validationStatus,
588
600
  variant: variantProp,
589
601
  onClick: focusInput,
590
- "data-token-wrapping": t22,
591
- className: t23,
592
- style: t24,
602
+ "data-token-wrapping": t17,
603
+ className: t18,
604
+ style: t19,
593
605
  sx: sxProp,
594
- children: [t25, t28, t34, t37]
606
+ children: [t20, t23, t29, t32]
595
607
  });
596
- $[119] = block;
597
- $[120] = contrast;
598
- $[121] = disabled;
599
- $[122] = maxWidthProp;
600
- $[123] = minWidthProp;
601
- $[124] = sxProp;
602
- $[125] = t19;
603
- $[126] = t20;
604
- $[127] = t21;
605
- $[128] = t22;
606
- $[129] = t23;
607
- $[130] = t24;
608
- $[131] = t25;
609
- $[132] = t28;
610
- $[133] = t34;
611
- $[134] = t37;
612
- $[135] = validationStatus;
613
- $[136] = variantProp;
614
- $[137] = widthProp;
615
- $[138] = t38;
608
+ $[117] = block;
609
+ $[118] = contrast;
610
+ $[119] = disabled;
611
+ $[120] = maxWidthProp;
612
+ $[121] = minWidthProp;
613
+ $[122] = sxProp;
614
+ $[123] = t14;
615
+ $[124] = t15;
616
+ $[125] = t16;
617
+ $[126] = t17;
618
+ $[127] = t18;
619
+ $[128] = t19;
620
+ $[129] = t20;
621
+ $[130] = t23;
622
+ $[131] = t29;
623
+ $[132] = t32;
624
+ $[133] = validationStatus;
625
+ $[134] = variantProp;
626
+ $[135] = widthProp;
627
+ $[136] = t33;
616
628
  } else {
617
- t38 = $[138];
629
+ t33 = $[136];
618
630
  }
619
- return t38;
631
+ return t33;
620
632
  }
621
633
  function _temp3(event_2) {
622
634
  event_2.stopPropagation();