@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
@@ -24,81 +24,106 @@ const overflowCountFontSizeMap = {
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(139);
27
+ const $ = c(137);
28
28
  let IconComponent;
29
29
  let LeadingVisual;
30
+ let TokenComponent;
30
31
  let TrailingVisual;
31
32
  let block;
32
33
  let className;
33
34
  let contrast;
34
35
  let disabled;
36
+ let hideTokenRemoveButtons;
37
+ let loaderPosition;
35
38
  let loading;
36
39
  let maxHeight;
37
40
  let maxWidthProp;
38
41
  let minWidthProp;
39
42
  let onTokenRemove;
40
- let rest;
43
+ let preventTokenWrapping;
44
+ let size;
41
45
  let style;
42
46
  let sxProp;
43
47
  let t1;
44
- let t2;
45
- let t3;
46
- let t4;
47
- let t5;
48
48
  let tokens;
49
49
  let validationStatus;
50
50
  let variantProp;
51
51
  let visibleTokenCount;
52
52
  let widthProp;
53
53
  if ($[0] !== t0) {
54
- ({
55
- icon: IconComponent,
56
- leadingVisual: LeadingVisual,
57
- trailingVisual: TrailingVisual,
58
- loading,
59
- loaderPosition: t1,
60
- contrast,
61
- className,
62
- block,
63
- disabled,
64
- sx: sxProp,
65
- tokens,
66
- onTokenRemove,
67
- tokenComponent: t2,
68
- preventTokenWrapping: t3,
69
- size: t4,
70
- hideTokenRemoveButtons: t5,
71
- maxHeight,
72
- width: widthProp,
73
- minWidth: minWidthProp,
74
- maxWidth: maxWidthProp,
75
- validationStatus,
76
- variant: variantProp,
77
- visibleTokenCount,
78
- style,
54
+ const {
55
+ icon: t2,
56
+ leadingVisual: t3,
57
+ trailingVisual: t4,
58
+ loading: t5,
59
+ loaderPosition: t6,
60
+ contrast: t7,
61
+ className: t8,
62
+ block: t9,
63
+ 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,
79
79
  ...rest
80
- } = t0);
80
+ } = t0;
81
+ IconComponent = t2;
82
+ LeadingVisual = t3;
83
+ TrailingVisual = t4;
84
+ loading = t5;
85
+ contrast = t7;
86
+ className = t8;
87
+ block = t9;
88
+ 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;
100
+ 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;
105
+ t1 = omit(rest);
81
106
  $[0] = t0;
82
107
  $[1] = IconComponent;
83
108
  $[2] = LeadingVisual;
84
- $[3] = TrailingVisual;
85
- $[4] = block;
86
- $[5] = className;
87
- $[6] = contrast;
88
- $[7] = disabled;
89
- $[8] = loading;
90
- $[9] = maxHeight;
91
- $[10] = maxWidthProp;
92
- $[11] = minWidthProp;
93
- $[12] = onTokenRemove;
94
- $[13] = rest;
95
- $[14] = style;
96
- $[15] = sxProp;
97
- $[16] = t1;
98
- $[17] = t2;
99
- $[18] = t3;
100
- $[19] = t4;
101
- $[20] = t5;
109
+ $[3] = TokenComponent;
110
+ $[4] = TrailingVisual;
111
+ $[5] = block;
112
+ $[6] = className;
113
+ $[7] = contrast;
114
+ $[8] = disabled;
115
+ $[9] = hideTokenRemoveButtons;
116
+ $[10] = loaderPosition;
117
+ $[11] = loading;
118
+ $[12] = maxHeight;
119
+ $[13] = maxWidthProp;
120
+ $[14] = minWidthProp;
121
+ $[15] = onTokenRemove;
122
+ $[16] = preventTokenWrapping;
123
+ $[17] = size;
124
+ $[18] = style;
125
+ $[19] = sxProp;
126
+ $[20] = t1;
102
127
  $[21] = tokens;
103
128
  $[22] = validationStatus;
104
129
  $[23] = variantProp;
@@ -107,79 +132,66 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
107
132
  } else {
108
133
  IconComponent = $[1];
109
134
  LeadingVisual = $[2];
110
- TrailingVisual = $[3];
111
- block = $[4];
112
- className = $[5];
113
- contrast = $[6];
114
- disabled = $[7];
115
- loading = $[8];
116
- maxHeight = $[9];
117
- maxWidthProp = $[10];
118
- minWidthProp = $[11];
119
- onTokenRemove = $[12];
120
- rest = $[13];
121
- style = $[14];
122
- sxProp = $[15];
123
- t1 = $[16];
124
- t2 = $[17];
125
- t3 = $[18];
126
- t4 = $[19];
127
- t5 = $[20];
135
+ TokenComponent = $[3];
136
+ TrailingVisual = $[4];
137
+ block = $[5];
138
+ className = $[6];
139
+ contrast = $[7];
140
+ disabled = $[8];
141
+ hideTokenRemoveButtons = $[9];
142
+ loaderPosition = $[10];
143
+ loading = $[11];
144
+ maxHeight = $[12];
145
+ maxWidthProp = $[13];
146
+ minWidthProp = $[14];
147
+ onTokenRemove = $[15];
148
+ preventTokenWrapping = $[16];
149
+ size = $[17];
150
+ style = $[18];
151
+ sxProp = $[19];
152
+ t1 = $[20];
128
153
  tokens = $[21];
129
154
  validationStatus = $[22];
130
155
  variantProp = $[23];
131
156
  visibleTokenCount = $[24];
132
157
  widthProp = $[25];
133
158
  }
134
- const loaderPosition = t1 === undefined ? "auto" : t1;
135
- const TokenComponent = t2 === undefined ? Token : t2;
136
- const preventTokenWrapping = t3 === undefined ? false : t3;
137
- const size = t4 === undefined ? "xlarge" : t4;
138
- const hideTokenRemoveButtons = t5 === undefined ? false : t5;
139
- let t6;
140
- if ($[26] !== rest) {
141
- t6 = omit(rest);
142
- $[26] = rest;
143
- $[27] = t6;
144
- } else {
145
- t6 = $[27];
146
- }
147
159
  let inputPropsRest;
148
160
  let onBlur;
149
161
  let onFocus;
150
162
  let onKeyDown;
151
- if ($[28] !== t6) {
163
+ if ($[26] !== t1) {
152
164
  ({
153
165
  onBlur,
154
166
  onFocus,
155
167
  onKeyDown,
156
168
  ...inputPropsRest
157
- } = t6);
158
- $[28] = t6;
159
- $[29] = inputPropsRest;
160
- $[30] = onBlur;
161
- $[31] = onFocus;
162
- $[32] = onKeyDown;
169
+ } = t1);
170
+ $[26] = t1;
171
+ $[27] = inputPropsRest;
172
+ $[28] = onBlur;
173
+ $[29] = onFocus;
174
+ $[30] = onKeyDown;
163
175
  } else {
164
- inputPropsRest = $[29];
165
- onBlur = $[30];
166
- onFocus = $[31];
167
- onKeyDown = $[32];
176
+ inputPropsRest = $[27];
177
+ onBlur = $[28];
178
+ onFocus = $[29];
179
+ onKeyDown = $[30];
168
180
  }
169
181
  const ref = useRef(null);
170
182
  useRefObjectAsForwardedRef(forwardedRef, ref);
171
183
  const [selectedTokenIndex, setSelectedTokenIndex] = useState();
172
184
  const [tokensAreTruncated, setTokensAreTruncated] = useState(Boolean(visibleTokenCount));
173
- let t7;
174
- if ($[33] !== selectedTokenIndex) {
175
- t7 = [selectedTokenIndex];
176
- $[33] = selectedTokenIndex;
177
- $[34] = t7;
185
+ let t2;
186
+ if ($[31] !== selectedTokenIndex) {
187
+ t2 = [selectedTokenIndex];
188
+ $[31] = selectedTokenIndex;
189
+ $[32] = t2;
178
190
  } else {
179
- t7 = $[34];
191
+ t2 = $[32];
180
192
  }
181
193
  const {
182
- containerRef: t8
194
+ containerRef: t3
183
195
  } = useFocusZone({
184
196
  focusOutBehavior: "wrap",
185
197
  bindKeys: FocusKeys.ArrowHorizontal | FocusKeys.HomeAndEnd,
@@ -201,11 +213,11 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
201
213
  }
202
214
  return (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.children[nextIndex];
203
215
  }
204
- }, t7);
205
- const containerRef = t8;
206
- let t9;
207
- if ($[35] !== containerRef || $[36] !== onTokenRemove || $[37] !== selectedTokenIndex) {
208
- t9 = tokenId => {
216
+ }, t2);
217
+ const containerRef = t3;
218
+ let t4;
219
+ if ($[33] !== containerRef || $[34] !== onTokenRemove || $[35] !== selectedTokenIndex) {
220
+ t4 = tokenId => {
209
221
  onTokenRemove(tokenId);
210
222
  setTimeout(() => {
211
223
  var _containerRef$current2, _containerRef$current3;
@@ -219,30 +231,30 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
219
231
  }
220
232
  }, 0);
221
233
  };
222
- $[35] = containerRef;
223
- $[36] = onTokenRemove;
224
- $[37] = selectedTokenIndex;
225
- $[38] = t9;
234
+ $[33] = containerRef;
235
+ $[34] = onTokenRemove;
236
+ $[35] = selectedTokenIndex;
237
+ $[36] = t4;
226
238
  } else {
227
- t9 = $[38];
239
+ t4 = $[36];
228
240
  }
229
- const handleTokenRemove = t9;
230
- let t10;
231
- if ($[39] !== disabled) {
232
- t10 = tokenIndex => () => {
241
+ const handleTokenRemove = t4;
242
+ let t5;
243
+ if ($[37] !== disabled) {
244
+ t5 = tokenIndex => () => {
233
245
  if (!disabled) {
234
246
  setSelectedTokenIndex(tokenIndex);
235
247
  }
236
248
  };
237
- $[39] = disabled;
238
- $[40] = t10;
249
+ $[37] = disabled;
250
+ $[38] = t5;
239
251
  } else {
240
- t10 = $[40];
252
+ t5 = $[38];
241
253
  }
242
- const handleTokenFocus = t10;
243
- let t11;
244
- if ($[41] !== containerRef || $[42] !== visibleTokenCount) {
245
- t11 = () => {
254
+ const handleTokenFocus = t5;
255
+ let t6;
256
+ if ($[39] !== containerRef || $[40] !== visibleTokenCount) {
257
+ t6 = () => {
246
258
  setSelectedTokenIndex(undefined);
247
259
  setTimeout(() => {
248
260
  var _containerRef$current4;
@@ -251,43 +263,43 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
251
263
  }
252
264
  }, 0);
253
265
  };
254
- $[41] = containerRef;
255
- $[42] = visibleTokenCount;
256
- $[43] = t11;
266
+ $[39] = containerRef;
267
+ $[40] = visibleTokenCount;
268
+ $[41] = t6;
257
269
  } else {
258
- t11 = $[43];
270
+ t6 = $[41];
259
271
  }
260
- const handleTokenBlur = t11;
261
- let t12;
262
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
263
- t12 = event => {
272
+ const handleTokenBlur = t6;
273
+ let t7;
274
+ if ($[42] === Symbol.for("react.memo_cache_sentinel")) {
275
+ t7 = event => {
264
276
  if (event.key === "Escape") {
265
277
  var _ref$current2;
266
278
  (_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.focus();
267
279
  }
268
280
  };
269
- $[44] = t12;
281
+ $[42] = t7;
270
282
  } else {
271
- t12 = $[44];
283
+ t7 = $[42];
272
284
  }
273
- const handleTokenKeyUp = t12;
274
- let t13;
275
- if ($[45] !== onFocus || $[46] !== visibleTokenCount) {
276
- t13 = event_0 => {
285
+ const handleTokenKeyUp = t7;
286
+ let t8;
287
+ if ($[43] !== onFocus || $[44] !== visibleTokenCount) {
288
+ t8 = event_0 => {
277
289
  onFocus && onFocus(event_0);
278
290
  setSelectedTokenIndex(undefined);
279
291
  visibleTokenCount && setTokensAreTruncated(false);
280
292
  };
281
- $[45] = onFocus;
282
- $[46] = visibleTokenCount;
283
- $[47] = t13;
293
+ $[43] = onFocus;
294
+ $[44] = visibleTokenCount;
295
+ $[45] = t8;
284
296
  } else {
285
- t13 = $[47];
297
+ t8 = $[45];
286
298
  }
287
- const handleInputFocus = t13;
288
- let t14;
289
- if ($[48] !== containerRef || $[49] !== onBlur || $[50] !== visibleTokenCount) {
290
- t14 = event_1 => {
299
+ const handleInputFocus = t8;
300
+ let t9;
301
+ if ($[46] !== containerRef || $[47] !== onBlur || $[48] !== visibleTokenCount) {
302
+ t9 = event_1 => {
291
303
  onBlur && onBlur(event_1);
292
304
  setTimeout(() => {
293
305
  var _containerRef$current5;
@@ -296,17 +308,17 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
296
308
  }
297
309
  }, 0);
298
310
  };
299
- $[48] = containerRef;
300
- $[49] = onBlur;
301
- $[50] = visibleTokenCount;
302
- $[51] = t14;
311
+ $[46] = containerRef;
312
+ $[47] = onBlur;
313
+ $[48] = visibleTokenCount;
314
+ $[49] = t9;
303
315
  } else {
304
- t14 = $[51];
316
+ t9 = $[49];
305
317
  }
306
- const handleInputBlur = t14;
307
- let t15;
308
- if ($[52] !== handleTokenRemove || $[53] !== onKeyDown || $[54] !== tokens) {
309
- t15 = e => {
318
+ const handleInputBlur = t9;
319
+ let t10;
320
+ if ($[50] !== handleTokenRemove || $[51] !== onKeyDown || $[52] !== tokens) {
321
+ t10 = e => {
310
322
  var _ref$current3;
311
323
  if (onKeyDown) {
312
324
  onKeyDown(e);
@@ -326,116 +338,116 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
326
338
  }, 0);
327
339
  }
328
340
  };
329
- $[52] = handleTokenRemove;
330
- $[53] = onKeyDown;
331
- $[54] = tokens;
332
- $[55] = t15;
341
+ $[50] = handleTokenRemove;
342
+ $[51] = onKeyDown;
343
+ $[52] = tokens;
344
+ $[53] = t10;
333
345
  } else {
334
- t15 = $[55];
346
+ t10 = $[53];
335
347
  }
336
- const handleInputKeyDown = t15;
337
- let t16;
338
- if ($[56] === Symbol.for("react.memo_cache_sentinel")) {
339
- t16 = () => {
348
+ const handleInputKeyDown = t10;
349
+ let t11;
350
+ if ($[54] === Symbol.for("react.memo_cache_sentinel")) {
351
+ t11 = () => {
340
352
  var _ref$current5;
341
353
  (_ref$current5 = ref.current) === null || _ref$current5 === void 0 ? void 0 : _ref$current5.focus();
342
354
  };
343
- $[56] = t16;
355
+ $[54] = t11;
344
356
  } else {
345
- t16 = $[56];
357
+ t11 = $[54];
346
358
  }
347
- const focusInput = t16;
359
+ const focusInput = t11;
348
360
  const preventTokenClickPropagation = _temp3;
349
- let t17;
350
- if ($[57] !== tokens || $[58] !== tokensAreTruncated || $[59] !== visibleTokenCount) {
351
- t17 = tokensAreTruncated ? tokens.slice(0, visibleTokenCount) : tokens;
352
- $[57] = tokens;
353
- $[58] = tokensAreTruncated;
354
- $[59] = visibleTokenCount;
355
- $[60] = t17;
361
+ let t12;
362
+ if ($[55] !== tokens || $[56] !== tokensAreTruncated || $[57] !== visibleTokenCount) {
363
+ t12 = tokensAreTruncated ? tokens.slice(0, visibleTokenCount) : tokens;
364
+ $[55] = tokens;
365
+ $[56] = tokensAreTruncated;
366
+ $[57] = visibleTokenCount;
367
+ $[58] = t12;
356
368
  } else {
357
- t17 = $[60];
369
+ t12 = $[58];
358
370
  }
359
- const visibleTokens = t17;
360
- let t18;
361
- if ($[61] === Symbol.for("react.memo_cache_sentinel")) {
362
- t18 = {
371
+ const visibleTokens = t12;
372
+ let t13;
373
+ if ($[59] === Symbol.for("react.memo_cache_sentinel")) {
374
+ t13 = {
363
375
  small: "small",
364
376
  medium: "small",
365
377
  large: "medium",
366
378
  xlarge: "medium"
367
379
  };
368
- $[61] = t18;
380
+ $[59] = t13;
369
381
  } else {
370
- t18 = $[61];
382
+ t13 = $[59];
371
383
  }
372
- const inputSizeMap = t18;
384
+ const inputSizeMap = t13;
373
385
  const showLeadingLoadingIndicator = loading && (loaderPosition === "leading" || Boolean(LeadingVisual && loaderPosition !== "trailing"));
374
386
  const showTrailingLoadingIndicator = loading && (loaderPosition === "trailing" || loaderPosition === "auto" && !LeadingVisual);
375
- const t19 = Boolean(LeadingVisual || showLeadingLoadingIndicator);
376
- const t20 = Boolean(TrailingVisual || showTrailingLoadingIndicator);
377
- const t21 = inputSizeMap[size];
378
- const t22 = Boolean(preventTokenWrapping || maxHeight) || undefined;
379
- let t23;
380
- if ($[62] !== className) {
381
- t23 = clsx(className, styles.TextInputWrapper);
382
- $[62] = className;
383
- $[63] = t23;
387
+ const t14 = Boolean(LeadingVisual || showLeadingLoadingIndicator);
388
+ const t15 = Boolean(TrailingVisual || showTrailingLoadingIndicator);
389
+ const t16 = inputSizeMap[size];
390
+ const t17 = Boolean(preventTokenWrapping || maxHeight) || undefined;
391
+ let t18;
392
+ if ($[60] !== className) {
393
+ t18 = clsx(className, styles.TextInputWrapper);
394
+ $[60] = className;
395
+ $[61] = t18;
384
396
  } else {
385
- t23 = $[63];
397
+ t18 = $[61];
386
398
  }
387
- let t24;
388
- if ($[64] !== maxHeight || $[65] !== style) {
389
- t24 = maxHeight ? {
399
+ let t19;
400
+ if ($[62] !== maxHeight || $[63] !== style) {
401
+ t19 = maxHeight ? {
390
402
  maxHeight,
391
403
  ...style
392
404
  } : style;
393
- $[64] = maxHeight;
394
- $[65] = style;
395
- $[66] = t24;
405
+ $[62] = maxHeight;
406
+ $[63] = style;
407
+ $[64] = t19;
396
408
  } else {
397
- t24 = $[66];
409
+ t19 = $[64];
398
410
  }
399
- let t25;
400
- if ($[67] !== IconComponent || $[68] !== LeadingVisual) {
401
- t25 = IconComponent && !LeadingVisual && /*#__PURE__*/jsx(IconComponent, {
411
+ let t20;
412
+ if ($[65] !== IconComponent || $[66] !== LeadingVisual) {
413
+ t20 = IconComponent && !LeadingVisual && /*#__PURE__*/jsx(IconComponent, {
402
414
  className: "TextInput-icon"
403
415
  });
404
- $[67] = IconComponent;
405
- $[68] = LeadingVisual;
406
- $[69] = t25;
416
+ $[65] = IconComponent;
417
+ $[66] = LeadingVisual;
418
+ $[67] = t20;
407
419
  } else {
408
- t25 = $[69];
420
+ t20 = $[67];
409
421
  }
410
- const t26 = typeof loading === "boolean";
411
- let t27;
412
- if ($[70] !== LeadingVisual) {
413
- t27 = typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /*#__PURE__*/jsx(LeadingVisual, {}) : LeadingVisual;
414
- $[70] = LeadingVisual;
415
- $[71] = t27;
422
+ const t21 = typeof loading === "boolean";
423
+ let t22;
424
+ if ($[68] !== LeadingVisual) {
425
+ t22 = typeof LeadingVisual !== "string" && isValidElementType(LeadingVisual) ? /*#__PURE__*/jsx(LeadingVisual, {}) : LeadingVisual;
426
+ $[68] = LeadingVisual;
427
+ $[69] = t22;
416
428
  } else {
417
- t27 = $[71];
429
+ t22 = $[69];
418
430
  }
419
- let t28;
420
- if ($[72] !== showLeadingLoadingIndicator || $[73] !== t26 || $[74] !== t27) {
421
- t28 = /*#__PURE__*/jsx(TextInputInnerVisualSlot, {
422
- hasLoadingIndicator: t26,
431
+ let t23;
432
+ if ($[70] !== showLeadingLoadingIndicator || $[71] !== t21 || $[72] !== t22) {
433
+ t23 = /*#__PURE__*/jsx(TextInputInnerVisualSlot, {
434
+ hasLoadingIndicator: t21,
423
435
  visualPosition: "leading",
424
436
  showLoadingIndicator: showLeadingLoadingIndicator,
425
- children: t27
437
+ children: t22
426
438
  });
427
- $[72] = showLeadingLoadingIndicator;
428
- $[73] = t26;
429
- $[74] = t27;
430
- $[75] = t28;
439
+ $[70] = showLeadingLoadingIndicator;
440
+ $[71] = t21;
441
+ $[72] = t22;
442
+ $[73] = t23;
431
443
  } else {
432
- t28 = $[75];
444
+ t23 = $[73];
433
445
  }
434
- const t29 = containerRef;
435
- const t30 = validationStatus === "error" ? "true" : "false";
436
- let t31;
437
- if ($[76] !== disabled || $[77] !== handleInputBlur || $[78] !== handleInputFocus || $[79] !== handleInputKeyDown || $[80] !== inputPropsRest || $[81] !== t30) {
438
- t31 = /*#__PURE__*/jsx("div", {
446
+ const t24 = containerRef;
447
+ const t25 = validationStatus === "error" ? "true" : "false";
448
+ let t26;
449
+ if ($[74] !== disabled || $[75] !== handleInputBlur || $[76] !== handleInputFocus || $[77] !== handleInputKeyDown || $[78] !== inputPropsRest || $[79] !== t25) {
450
+ t26 = /*#__PURE__*/jsx("div", {
439
451
  className: styles.InputWrapper,
440
452
  children: /*#__PURE__*/jsx(UnstyledTextInput, {
441
453
  ref: ref,
@@ -445,29 +457,29 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
445
457
  onKeyDown: handleInputKeyDown,
446
458
  type: "text",
447
459
  className: styles.UnstyledTextInput,
448
- "aria-invalid": t30,
460
+ "aria-invalid": t25,
449
461
  ...inputPropsRest
450
462
  })
451
463
  });
452
- $[76] = disabled;
453
- $[77] = handleInputBlur;
454
- $[78] = handleInputFocus;
455
- $[79] = handleInputKeyDown;
456
- $[80] = inputPropsRest;
457
- $[81] = t30;
458
- $[82] = t31;
464
+ $[74] = disabled;
465
+ $[75] = handleInputBlur;
466
+ $[76] = handleInputFocus;
467
+ $[77] = handleInputKeyDown;
468
+ $[78] = inputPropsRest;
469
+ $[79] = t25;
470
+ $[80] = t26;
459
471
  } else {
460
- t31 = $[82];
472
+ t26 = $[80];
461
473
  }
462
- let t32;
463
- if ($[83] !== TokenComponent || $[84] !== disabled || $[85] !== handleTokenBlur || $[86] !== handleTokenFocus || $[87] !== handleTokenRemove || $[88] !== hideTokenRemoveButtons || $[89] !== selectedTokenIndex || $[90] !== size || $[91] !== visibleTokens) {
464
- let t33;
465
- if ($[93] !== TokenComponent || $[94] !== disabled || $[95] !== handleTokenBlur || $[96] !== handleTokenFocus || $[97] !== handleTokenRemove || $[98] !== hideTokenRemoveButtons || $[99] !== selectedTokenIndex || $[100] !== size) {
466
- t33 = (t34, i) => {
474
+ let t27;
475
+ if ($[81] !== TokenComponent || $[82] !== disabled || $[83] !== handleTokenBlur || $[84] !== handleTokenFocus || $[85] !== handleTokenRemove || $[86] !== hideTokenRemoveButtons || $[87] !== selectedTokenIndex || $[88] !== size || $[89] !== visibleTokens) {
476
+ let t28;
477
+ if ($[91] !== TokenComponent || $[92] !== disabled || $[93] !== handleTokenBlur || $[94] !== handleTokenFocus || $[95] !== handleTokenRemove || $[96] !== hideTokenRemoveButtons || $[97] !== selectedTokenIndex || $[98] !== size) {
478
+ t28 = (t29, i) => {
467
479
  const {
468
480
  id,
469
481
  ...tokenRest
470
- } = t34;
482
+ } = t29;
471
483
  return /*#__PURE__*/jsx(TokenComponent, {
472
484
  disabled: disabled,
473
485
  onFocus: handleTokenFocus(i),
@@ -484,133 +496,133 @@ function TextInputWithTokensInnerComponent(t0, forwardedRef) {
484
496
  ...tokenRest
485
497
  }, id);
486
498
  };
487
- $[93] = TokenComponent;
488
- $[94] = disabled;
489
- $[95] = handleTokenBlur;
490
- $[96] = handleTokenFocus;
491
- $[97] = handleTokenRemove;
492
- $[98] = hideTokenRemoveButtons;
493
- $[99] = selectedTokenIndex;
494
- $[100] = size;
495
- $[101] = t33;
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;
496
508
  } else {
497
- t33 = $[101];
509
+ t28 = $[99];
498
510
  }
499
- t32 = visibleTokens.map(t33);
500
- $[83] = TokenComponent;
501
- $[84] = disabled;
502
- $[85] = handleTokenBlur;
503
- $[86] = handleTokenFocus;
504
- $[87] = handleTokenRemove;
505
- $[88] = hideTokenRemoveButtons;
506
- $[89] = selectedTokenIndex;
507
- $[90] = size;
508
- $[91] = visibleTokens;
509
- $[92] = t32;
511
+ 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;
510
522
  } else {
511
- t32 = $[92];
523
+ t27 = $[90];
512
524
  }
513
- let t33;
514
- if ($[102] !== size || $[103] !== tokens || $[104] !== tokensAreTruncated || $[105] !== visibleTokens.length) {
515
- t33 = tokensAreTruncated && tokens.length - visibleTokens.length ? /*#__PURE__*/jsxs(Text, {
525
+ let t28;
526
+ if ($[100] !== size || $[101] !== tokens || $[102] !== tokensAreTruncated || $[103] !== visibleTokens.length) {
527
+ t28 = tokensAreTruncated && tokens.length - visibleTokens.length ? /*#__PURE__*/jsxs(Text, {
516
528
  color: "fg.muted",
517
529
  fontSize: overflowCountFontSizeMap[size],
518
530
  children: ["+", tokens.length - visibleTokens.length]
519
531
  }) : null;
520
- $[102] = size;
521
- $[103] = tokens;
522
- $[104] = tokensAreTruncated;
523
- $[105] = visibleTokens.length;
524
- $[106] = t33;
532
+ $[100] = size;
533
+ $[101] = tokens;
534
+ $[102] = tokensAreTruncated;
535
+ $[103] = visibleTokens.length;
536
+ $[104] = t28;
525
537
  } else {
526
- t33 = $[106];
538
+ t28 = $[104];
527
539
  }
528
- let t34;
529
- if ($[107] !== preventTokenWrapping || $[108] !== t29 || $[109] !== t31 || $[110] !== t32 || $[111] !== t33) {
530
- t34 = /*#__PURE__*/jsxs("div", {
531
- ref: t29,
540
+ let t29;
541
+ if ($[105] !== preventTokenWrapping || $[106] !== t24 || $[107] !== t26 || $[108] !== t27 || $[109] !== t28) {
542
+ t29 = /*#__PURE__*/jsxs("div", {
543
+ ref: t24,
532
544
  className: styles.Container,
533
545
  "data-prevent-token-wrapping": preventTokenWrapping,
534
- children: [t31, t32, t33]
546
+ children: [t26, t27, t28]
535
547
  });
536
- $[107] = preventTokenWrapping;
537
- $[108] = t29;
538
- $[109] = t31;
539
- $[110] = t32;
540
- $[111] = t33;
541
- $[112] = t34;
548
+ $[105] = preventTokenWrapping;
549
+ $[106] = t24;
550
+ $[107] = t26;
551
+ $[108] = t27;
552
+ $[109] = t28;
553
+ $[110] = t29;
542
554
  } else {
543
- t34 = $[112];
555
+ t29 = $[110];
544
556
  }
545
- const t35 = typeof loading === "boolean";
546
- let t36;
547
- if ($[113] !== TrailingVisual) {
548
- t36 = typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /*#__PURE__*/jsx(TrailingVisual, {}) : TrailingVisual;
549
- $[113] = TrailingVisual;
550
- $[114] = t36;
557
+ const t30 = typeof loading === "boolean";
558
+ let t31;
559
+ if ($[111] !== TrailingVisual) {
560
+ t31 = typeof TrailingVisual !== "string" && isValidElementType(TrailingVisual) ? /*#__PURE__*/jsx(TrailingVisual, {}) : TrailingVisual;
561
+ $[111] = TrailingVisual;
562
+ $[112] = t31;
551
563
  } else {
552
- t36 = $[114];
564
+ t31 = $[112];
553
565
  }
554
- let t37;
555
- if ($[115] !== showTrailingLoadingIndicator || $[116] !== t35 || $[117] !== t36) {
556
- t37 = /*#__PURE__*/jsx(TextInputInnerVisualSlot, {
557
- hasLoadingIndicator: t35,
566
+ let t32;
567
+ if ($[113] !== showTrailingLoadingIndicator || $[114] !== t30 || $[115] !== t31) {
568
+ t32 = /*#__PURE__*/jsx(TextInputInnerVisualSlot, {
569
+ hasLoadingIndicator: t30,
558
570
  visualPosition: "trailing",
559
571
  showLoadingIndicator: showTrailingLoadingIndicator,
560
- children: t36
572
+ children: t31
561
573
  });
562
- $[115] = showTrailingLoadingIndicator;
563
- $[116] = t35;
564
- $[117] = t36;
565
- $[118] = t37;
574
+ $[113] = showTrailingLoadingIndicator;
575
+ $[114] = t30;
576
+ $[115] = t31;
577
+ $[116] = t32;
566
578
  } else {
567
- t37 = $[118];
579
+ t32 = $[116];
568
580
  }
569
- let t38;
570
- 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) {
571
- t38 = /*#__PURE__*/jsxs(TextInputWrapper, {
581
+ let t33;
582
+ 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) {
583
+ t33 = /*#__PURE__*/jsxs(TextInputWrapper, {
572
584
  block: block,
573
585
  contrast: contrast,
574
586
  disabled: disabled,
575
- hasLeadingVisual: t19,
576
- hasTrailingVisual: t20,
587
+ hasLeadingVisual: t14,
588
+ hasTrailingVisual: t15,
577
589
  width: widthProp,
578
590
  minWidth: minWidthProp,
579
591
  maxWidth: maxWidthProp,
580
- size: t21,
592
+ size: t16,
581
593
  validationStatus: validationStatus,
582
594
  variant: variantProp,
583
595
  onClick: focusInput,
584
- "data-token-wrapping": t22,
585
- className: t23,
586
- style: t24,
596
+ "data-token-wrapping": t17,
597
+ className: t18,
598
+ style: t19,
587
599
  sx: sxProp,
588
- children: [t25, t28, t34, t37]
600
+ children: [t20, t23, t29, t32]
589
601
  });
590
- $[119] = block;
591
- $[120] = contrast;
592
- $[121] = disabled;
593
- $[122] = maxWidthProp;
594
- $[123] = minWidthProp;
595
- $[124] = sxProp;
596
- $[125] = t19;
597
- $[126] = t20;
598
- $[127] = t21;
599
- $[128] = t22;
600
- $[129] = t23;
601
- $[130] = t24;
602
- $[131] = t25;
603
- $[132] = t28;
604
- $[133] = t34;
605
- $[134] = t37;
606
- $[135] = validationStatus;
607
- $[136] = variantProp;
608
- $[137] = widthProp;
609
- $[138] = t38;
602
+ $[117] = block;
603
+ $[118] = contrast;
604
+ $[119] = disabled;
605
+ $[120] = maxWidthProp;
606
+ $[121] = minWidthProp;
607
+ $[122] = sxProp;
608
+ $[123] = t14;
609
+ $[124] = t15;
610
+ $[125] = t16;
611
+ $[126] = t17;
612
+ $[127] = t18;
613
+ $[128] = t19;
614
+ $[129] = t20;
615
+ $[130] = t23;
616
+ $[131] = t29;
617
+ $[132] = t32;
618
+ $[133] = validationStatus;
619
+ $[134] = variantProp;
620
+ $[135] = widthProp;
621
+ $[136] = t33;
610
622
  } else {
611
- t38 = $[138];
623
+ t33 = $[136];
612
624
  }
613
- return t38;
625
+ return t33;
614
626
  }
615
627
  function _temp3(event_2) {
616
628
  event_2.stopPropagation();