@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
@@ -1,6 +1,4 @@
1
- import React from 'react';
2
- import { ThemeContext } from 'styled-components';
3
- import { style } from 'styled-system';
1
+ import classes from './Caret.module.css.js';
4
2
  import { jsx, jsxs } from 'react/jsx-runtime';
5
3
 
6
4
  const oppositeEdge = {
@@ -27,39 +25,11 @@ function getPosition(edge, align, spacing) {
27
25
  [align || perp]: align ? spacing : '50%'
28
26
  };
29
27
  }
30
- const getBg = style({
31
- prop: 'bg',
32
- key: 'colors'
33
- });
34
- const getBorderColor = style({
35
- prop: 'borderColor',
36
- key: 'colors'
37
- });
38
- const getBorderWidth = style({
39
- prop: 'borderWidth',
40
- key: 'borderWidths',
41
- scale: [0, 1]
42
- });
43
28
  function Caret(props) {
44
- var _props$theme;
45
- const theme = React.useContext(ThemeContext);
46
- const propsWithTheme = {
47
- ...props,
48
- bg: props.bg || 'canvas.default',
49
- borderColor: props.borderColor || 'border.default',
50
- borderWidth: props.borderWidth || 1,
51
- theme: (_props$theme = props.theme) !== null && _props$theme !== void 0 ? _props$theme : theme
52
- };
53
- const {
54
- bg
55
- } = getBg(propsWithTheme);
56
- const {
57
- borderColor
58
- } = getBorderColor(propsWithTheme);
59
- const {
60
- borderWidth
61
- } = getBorderWidth(propsWithTheme);
62
29
  const {
30
+ bg,
31
+ borderColor,
32
+ borderWidth,
63
33
  size = 8,
64
34
  location = 'bottom'
65
35
  } = props;
@@ -83,30 +53,30 @@ function Caret(props) {
83
53
  left: `translate(${[size * 2, size]}) rotate(90)`
84
54
  }[edge];
85
55
  return /*#__PURE__*/jsx("svg", {
56
+ className: classes.Caret,
86
57
  width: size * 2,
87
58
  height: size * 2,
88
59
  style: {
89
- pointerEvents: 'none',
90
- position: 'absolute',
91
60
  ...getPosition(edge, align, size),
92
61
  // if align is set (top|right|bottom|left),
93
62
  // then we don't need an offset margin
94
- [`margin${perp}`]: align ? null : -size
63
+ [`margin${perp}`]: align ? null : -size,
64
+ ...{
65
+ '--caret-bg': bg,
66
+ '--caret-border-color': borderColor,
67
+ '--caret-border-width': borderWidth
68
+ }
95
69
  },
96
70
  role: "presentation",
97
71
  children: /*#__PURE__*/jsxs("g", {
72
+ className: classes.CaretGroup,
98
73
  transform: transform,
99
74
  children: [/*#__PURE__*/jsx("path", {
100
75
  d: triangle,
101
- fill: theme === null || theme === void 0 ? void 0 : theme.colors.canvas.default
102
- }), /*#__PURE__*/jsx("path", {
103
- d: triangle,
104
- fill: bg
76
+ className: classes.CaretTriangle
105
77
  }), /*#__PURE__*/jsx("path", {
106
78
  d: line,
107
- fill: "none",
108
- stroke: borderColor,
109
- strokeWidth: borderWidth
79
+ className: classes.CaretBorder
110
80
  })]
111
81
  })
112
82
  });
@@ -0,0 +1,5 @@
1
+ import './Caret-e686f04c.css';
2
+
3
+ var classes = {"Caret":"prc-components-Caret-PNu-B","CaretTriangle":"prc-components-CaretTriangle-Iu0GY","CaretBorder":"prc-components-CaretBorder-o3vP2"};
4
+
5
+ export { classes as default };
@@ -18,32 +18,30 @@ function LiveRegion(t0) {
18
18
  } = t0;
19
19
  const [message, setMessage] = React.useState("");
20
20
  let t1;
21
- let t2;
22
21
  if ($[0] !== message) {
23
- t2 = {
22
+ t1 = {
24
23
  announce: setMessage,
25
24
  message
26
25
  };
27
26
  $[0] = message;
28
- $[1] = t2;
27
+ $[1] = t1;
29
28
  } else {
30
- t2 = $[1];
29
+ t1 = $[1];
31
30
  }
32
- t1 = t2;
33
31
  const value = t1;
34
- let t3;
32
+ let t2;
35
33
  if ($[2] !== children || $[3] !== value) {
36
- t3 = /*#__PURE__*/jsx(LiveRegionContext.Provider, {
34
+ t2 = /*#__PURE__*/jsx(LiveRegionContext.Provider, {
37
35
  value: value,
38
36
  children: children
39
37
  });
40
38
  $[2] = children;
41
39
  $[3] = value;
42
- $[4] = t3;
40
+ $[4] = t2;
43
41
  } else {
44
- t3 = $[4];
42
+ t2 = $[4];
45
43
  }
46
- return t3;
44
+ return t2;
47
45
  }
48
46
  function LiveRegionOutlet() {
49
47
  const $ = c(2);
@@ -1,2 +1,2 @@
1
- .prc-components-TextInputBaseWrapper-ueK9q{align-items:stretch;background-color:var(--bgColor-default,var(--color-canvas-default));border:var(--borderWidth-thin,.0625rem) solid var(--control-borderColor-rest,var(--color-btn-border));border-radius:var(--borderRadius-medium,.375rem);box-shadow:var(--shadow-inset,var(--color-primer-shadow-inset));color:var(--fgColor-default,var(--color-fg-default));cursor:text;display:inline-flex;font-size:var(--text-body-size-medium,.875rem);line-height:var(--base-size-20,1.25rem);min-height:var(--base-size-32,2rem);outline:none;overflow:hidden;vertical-align:middle}.prc-components-TextInputBaseWrapper-ueK9q input,.prc-components-TextInputBaseWrapper-ueK9q textarea{cursor:text}.prc-components-TextInputBaseWrapper-ueK9q select{cursor:pointer}:is(.prc-components-TextInputBaseWrapper-ueK9q input,.prc-components-TextInputBaseWrapper-ueK9q textarea,.prc-components-TextInputBaseWrapper-ueK9q select)::placeholder{color:var(--fgColor-muted,var(--color-fg-muted))}.prc-components-TextInputBaseWrapper-ueK9q:where(:not([data-trailing-action]):focus-within),.prc-components-TextInputBaseWrapper-ueK9q:where([data-trailing-action][data-focused]){border-color:var(--borderColor-accent-emphasis,var(--color-accent-emphasis));outline:var(--borderWidth-thick,.125rem) solid var(--borderColor-accent-emphasis,var(--color-accent-emphasis));outline-offset:-1px}.prc-components-TextInputBaseWrapper-ueK9q>textarea{padding:var(--base-size-12,.75rem)}.prc-components-TextInputBaseWrapper-ueK9q:where([data-contrast]){background-color:var(--control-bgColor-contrast,var(--bgColor-inset,var(--color-canvas-inset)))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]){background-color:var(--control-bgColor-disabled,var(--color-input-disabled-bg));border-color:var(--control-borderColor-disabled,var(--color-btn-border));box-shadow:none;color:var(--fgColor-disabled,var(--color-primer-fg-disabled))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]) input,.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]) select,.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]) textarea{cursor:not-allowed}.prc-components-TextInputBaseWrapper-ueK9q:where([data-monospace]){font-family:var(--fontStack-monospace,ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace)}.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=error]){border-color:var(--borderColor-danger-emphasis,var(--color-danger-emphasis))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=error]):where(:not([data-trailing-action])):focus-within,.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=error]):where([data-trailing-action][data-focused]){border-color:var(--control-borderColor-danger,var(--color-danger-emphasis));outline:2px solid var(--control-borderColor-danger,var(--color-danger-emphasis));outline-offset:-1px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=success]){border-color:var(--bgColor-success-emphasis,var(--color-success-emphasis))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-block]){align-self:stretch;display:flex;width:100%}@media screen and (min-width:48rem){.prc-components-TextInputBaseWrapper-ueK9q{font-size:var(--text-body-size-medium,.875rem)}}.prc-components-TextInputBaseWrapper-ueK9q{--inner-action-size:var(--base-size-24,1.5rem)}.prc-components-TextInputBaseWrapper-ueK9q:where([data-size=small]){--inner-action-size:var(--base-size-20,1.25rem);font-size:var(--text-body-size-small,.75rem);line-height:var(--base-size-20,1.25rem);min-height:var(--base-size-28,1.75rem);padding-bottom:3px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:3px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-size=large]){--inner-action-size:var(--base-size-28,1.75rem);height:var(--base-size-40,2.5rem);padding-bottom:10px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:10px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-variant=small]){font-size:(--text-body-size-small);line-height:var(--base-size-20,1.25rem);min-height:28px;padding-bottom:3px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:3px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-variant=large]){font-size:var(--text-title-size-medium,1.25rem);padding-bottom:10px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:10px}.prc-components-TextInputWrapper-i1ofR,.prc-components-TextInputWrapper-i1ofR>input,.prc-components-TextInputWrapper-i1ofR>select{padding-left:0;padding-right:0}.prc-components-TextInputWrapper-i1ofR{background-position:right 8px center;background-repeat:no-repeat}.prc-components-TextInputWrapper-i1ofR>:not(:last-child){margin-right:var(--base-size-8,.5rem)}.prc-components-TextInputWrapper-i1ofR .TextInput-action,.prc-components-TextInputWrapper-i1ofR .TextInput-icon{align-self:center;color:var(--fgColor-muted,var(--color-fg-muted));flex-shrink:0}.prc-components-TextInputWrapper-i1ofR:where([data-leading-visual]){padding-left:var(--base-size-12,.75rem)}.prc-components-TextInputWrapper-i1ofR:where([data-trailing-visual]:not([data-trailing-action])){padding-right:var(--base-size-12,.75rem)}.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual]))>input,.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual]))>select{padding-left:var(--base-size-12,.75rem)}.prc-components-TextInputWrapper-i1ofR:where(:not([data-trailing-visual]):not([data-trailing-action]))>input,.prc-components-TextInputWrapper-i1ofR:where(:not([data-trailing-visual]):not([data-trailing-action]))>select{padding-right:var(--base-size-12,.75rem)}
2
- /*# sourceMappingURL=TextInputWrapper-ca608f70.css.map */
1
+ .prc-components-TextInputBaseWrapper-ueK9q{align-items:stretch;background-color:var(--bgColor-default,var(--color-canvas-default));border:var(--borderWidth-thin,.0625rem) solid var(--control-borderColor-rest,var(--color-btn-border));border-radius:var(--borderRadius-medium,.375rem);box-shadow:var(--shadow-inset,var(--color-primer-shadow-inset));color:var(--fgColor-default,var(--color-fg-default));cursor:text;display:inline-flex;font-size:var(--text-body-size-medium,.875rem);line-height:var(--base-size-20,1.25rem);min-height:var(--base-size-32,2rem);outline:none;overflow:hidden;vertical-align:middle}.prc-components-TextInputBaseWrapper-ueK9q input,.prc-components-TextInputBaseWrapper-ueK9q textarea{cursor:text}.prc-components-TextInputBaseWrapper-ueK9q select{cursor:pointer}:is(.prc-components-TextInputBaseWrapper-ueK9q input,.prc-components-TextInputBaseWrapper-ueK9q textarea,.prc-components-TextInputBaseWrapper-ueK9q select)::placeholder{color:var(--fgColor-muted,var(--color-fg-muted))}.prc-components-TextInputBaseWrapper-ueK9q:where(:not([data-trailing-action]):focus-within),.prc-components-TextInputBaseWrapper-ueK9q:where([data-trailing-action][data-focused]){border-color:var(--borderColor-accent-emphasis,var(--color-accent-emphasis));outline:var(--borderWidth-thick,.125rem) solid var(--borderColor-accent-emphasis,var(--color-accent-emphasis));outline-offset:-1px}.prc-components-TextInputBaseWrapper-ueK9q>textarea{padding:var(--base-size-12,.75rem)}.prc-components-TextInputBaseWrapper-ueK9q:where([data-contrast]){background-color:var(--control-bgColor-contrast,var(--bgColor-inset,var(--color-canvas-inset)))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]){background-color:var(--control-bgColor-disabled,var(--color-input-disabled-bg));border-color:var(--control-borderColor-disabled,var(--color-btn-border));box-shadow:none;color:var(--fgColor-disabled,var(--color-primer-fg-disabled))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]) input,.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]) select,.prc-components-TextInputBaseWrapper-ueK9q:where([data-disabled]) textarea{cursor:not-allowed}.prc-components-TextInputBaseWrapper-ueK9q:where([data-monospace]){font-family:var(--fontStack-monospace,ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace)}.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=error]){border-color:var(--borderColor-danger-emphasis,var(--color-danger-emphasis))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=error]):where(:not([data-trailing-action])):focus-within,.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=error]):where([data-trailing-action][data-focused]){border-color:var(--control-borderColor-danger,var(--color-danger-emphasis));outline:2px solid var(--control-borderColor-danger,var(--color-danger-emphasis));outline-offset:-1px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-validation=success]){border-color:var(--bgColor-success-emphasis,var(--color-success-emphasis))}.prc-components-TextInputBaseWrapper-ueK9q:where([data-block]){align-self:stretch;display:flex;width:100%}@media screen and (min-width:48rem){.prc-components-TextInputBaseWrapper-ueK9q{font-size:var(--text-body-size-medium,.875rem)}}.prc-components-TextInputBaseWrapper-ueK9q{--inner-action-size:var(--base-size-24,1.5rem)}.prc-components-TextInputBaseWrapper-ueK9q:where([data-size=small]){--inner-action-size:var(--base-size-20,1.25rem);font-size:var(--text-body-size-small,.75rem);line-height:var(--base-size-20,1.25rem);min-height:var(--base-size-28,1.75rem);padding-bottom:3px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:3px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-size=large]){--inner-action-size:var(--base-size-28,1.75rem);height:var(--base-size-40,2.5rem);padding-bottom:10px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:10px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-variant=small]){font-size:(--text-body-size-small);line-height:var(--base-size-20,1.25rem);min-height:28px;padding-bottom:3px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:3px}.prc-components-TextInputBaseWrapper-ueK9q:where([data-variant=large]){font-size:var(--text-title-size-medium,1.25rem);padding-bottom:10px;padding-left:var(--base-size-8,.5rem);padding-right:var(--base-size-8,.5rem);padding-top:10px}.prc-components-TextInputWrapper-i1ofR,.prc-components-TextInputWrapper-i1ofR>input,.prc-components-TextInputWrapper-i1ofR>select{padding-left:0;padding-right:0}.prc-components-TextInputWrapper-i1ofR{background-position:right 8px center;background-repeat:no-repeat}.prc-components-TextInputWrapper-i1ofR>:not(:last-child){margin-right:var(--base-size-8,.5rem)}.prc-components-TextInputWrapper-i1ofR .TextInput-action,.prc-components-TextInputWrapper-i1ofR .TextInput-icon{align-self:center;color:var(--fgColor-muted,var(--color-fg-muted));flex-shrink:0}.prc-components-TextInputWrapper-i1ofR:where([data-leading-visual]){padding-left:var(--base-size-8,.5rem)}.prc-components-TextInputWrapper-i1ofR:where([data-trailing-visual]:not([data-trailing-action])){padding-right:var(--base-size-8,.5rem)}:is(.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual])[data-trailing-visual]),.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual])[data-trailing-action]))>input,:is(.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual])[data-trailing-visual]),.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual])[data-trailing-action]))>select{padding-left:var(--base-size-8,.5rem)}.prc-components-TextInputWrapper-i1ofR:where(:not([data-trailing-visual]):not([data-trailing-action]))>input,.prc-components-TextInputWrapper-i1ofR:where(:not([data-trailing-visual]):not([data-trailing-action]))>select{padding-right:var(--base-size-8,.5rem)}.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual]):not([data-trailing-visual]):not([data-trailing-action]))>input,.prc-components-TextInputWrapper-i1ofR:where(:not([data-leading-visual]):not([data-trailing-visual]):not([data-trailing-action]))>select{padding-left:var(--base-size-12,.75rem);padding-right:var(--base-size-12,.75rem)}.prc-components-TextInputWrapper-i1ofR:where([data-size=large]):where([data-leading-visual]){padding-left:var(--base-size-12,.75rem)}.prc-components-TextInputWrapper-i1ofR:where([data-size=large]):where([data-trailing-visual]:not([data-trailing-action])){padding-right:var(--base-size-12,.75rem)}
2
+ /*# sourceMappingURL=TextInputWrapper-889df5d3.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/internal/components/TextInputWrapper.module.css"],"names":[],"mappings":"AAAA,2CAeE,mBAAoB,CALpB,mEAAwC,CACxC,qGAAqE,CACrE,gDAAyC,CAEzC,+DAA+B,CAP/B,oDAA6B,CAE7B,WAAY,CARZ,mBAAoB,CAGpB,8CAAuC,CAEvC,uCAAgC,CAJhC,mCAA+B,CAW/B,YAAa,CAVb,eAAgB,CAKhB,qBA6IF,CApIE,qGAEE,WACF,CAEA,kDACE,cACF,CAKE,yKACE,gDACF,CAGF,mLAEE,4EAAgD,CAChD,8GAA0E,CAC1E,mBACF,CAEA,oDACE,kCACF,CAEA,kEAGE,+FACF,CAEA,kEAEE,+EAAiD,CACjD,wEAAiD,CACjD,eAAgB,CAHhB,6DAUF,CALE,4NAGE,kBACF,CAGF,mEACE,mHACF,CAEA,0EACE,4EAQF,CANE,iPAEE,2EAA+C,CAC/C,gFAAoD,CACpD,mBACF,CAGF,4EAEE,0EACF,CAEA,+DAGE,kBAAmB,CAFnB,YAAa,CACb,UAEF,CAGA,oCA3FF,2CA4FI,8CAyDJ,CAxDE,CA7FF,2CA+FE,8CAsDF,CApDE,oEACE,+CAAwC,CASxC,4CAAsC,CAEtC,uCAAgC,CAThC,sCAA+B,CAK/B,kBAAmB,CACnB,qCAAgC,CAHhC,sCAAiC,CADjC,eAQF,CAEA,oEACE,+CAAwC,CAExC,iCAA2B,CAK3B,mBAAoB,CACpB,qCAAgC,CAHhC,sCAAiC,CADjC,gBAKF,CAGA,uEASE,kCAAmC,CAEnC,uCAAgC,CAVhC,eAAgB,CAKhB,kBAAmB,CACnB,qCAAgC,CAHhC,sCAAiC,CADjC,eASF,CAGA,uEAOE,+CAAwC,CAFxC,mBAAoB,CACpB,qCAAgC,CAHhC,sCAAiC,CADjC,gBAMF,CAOA,kIAGE,cAAe,CADf,eAEF,CARF,uCAcE,oCAAqC,CAHrC,2BAiCF,CA5BE,yDACE,qCACF,CAEA,gHAEE,iBAAkB,CAClB,gDAA2B,CAC3B,aACF,CAEA,oEACE,uCACF,CAEA,iGACE,wCACF,CAEA,iKAEE,uCACF,CAEA,2NAEE,wCACF","file":"TextInputWrapper-ca608f70.css","sourcesContent":[".TextInputBaseWrapper {\n display: inline-flex;\n min-height: var(--base-size-32);\n overflow: hidden;\n font-size: var(--text-body-size-medium);\n /* stylelint-disable-next-line primer/typography */\n line-height: var(--base-size-20);\n color: var(--fgColor-default);\n vertical-align: middle;\n cursor: text;\n background-color: var(--bgColor-default);\n border: var(--borderWidth-thin) solid var(--control-borderColor-rest);\n border-radius: var(--borderRadius-medium);\n outline: none;\n box-shadow: var(--shadow-inset);\n align-items: stretch;\n\n input,\n textarea {\n cursor: text;\n }\n\n select {\n cursor: pointer;\n }\n\n input,\n textarea,\n select {\n &::placeholder {\n color: var(--fgColor-muted);\n }\n }\n\n &:where([data-trailing-action][data-focused]),\n &:where(:not([data-trailing-action]):focus-within) {\n border-color: var(--borderColor-accent-emphasis);\n outline: var(--borderWidth-thick) solid var(--borderColor-accent-emphasis);\n outline-offset: -1px;\n }\n\n > textarea {\n padding: var(--base-size-12);\n }\n\n &:where([data-contrast]) {\n /* this variable is available behind a feature flag in gh/gh */\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--control-bgColor-contrast, var(--bgColor-inset));\n }\n\n &:where([data-disabled]) {\n color: var(--fgColor-disabled);\n background-color: var(--control-bgColor-disabled);\n border-color: var(--control-borderColor-disabled);\n box-shadow: none;\n\n input,\n textarea,\n select {\n cursor: not-allowed;\n }\n }\n\n &:where([data-monospace]) {\n font-family: var(--fontStack-monospace);\n }\n\n &:where([data-validation='error']) {\n border-color: var(--borderColor-danger-emphasis);\n\n &:where([data-trailing-action][data-focused]),\n &:where(:not([data-trailing-action])):focus-within {\n border-color: var(--control-borderColor-danger);\n outline: 2px solid var(--control-borderColor-danger);\n outline-offset: -1px;\n }\n }\n\n &:where([data-validation='success']) {\n /* stylelint-disable-next-line primer/colors */\n border-color: var(--bgColor-success-emphasis);\n }\n\n &:where([data-block]) {\n display: flex;\n width: 100%;\n align-self: stretch;\n }\n\n /* Ensures inputs don't zoom on mobile but are body-font size on desktop */\n @media screen and (--viewportRange-regular) {\n font-size: var(--text-body-size-medium);\n }\n\n --inner-action-size: var(--base-size-24); /* Default size */\n\n &:where([data-size='small']) {\n --inner-action-size: var(--base-size-20);\n\n min-height: var(--base-size-28);\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 3px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 3px;\n padding-left: var(--base-size-8);\n font-size: var(--text-body-size-small);\n /* stylelint-disable-next-line primer/typography */\n line-height: var(--base-size-20);\n }\n\n &:where([data-size='large']) {\n --inner-action-size: var(--base-size-28);\n\n height: var(--base-size-40);\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 10px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 10px;\n padding-left: var(--base-size-8);\n }\n\n /* Deprecated */\n &:where([data-variant='small']) {\n min-height: 28px;\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 3px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 3px;\n padding-left: var(--base-size-8);\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n font-size: (--text-body-size-small);\n /* stylelint-disable-next-line primer/typography */\n line-height: var(--base-size-20);\n }\n\n /* Deprecated */\n &:where([data-variant='large']) {\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 10px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 10px;\n padding-left: var(--base-size-8);\n font-size: var(--text-title-size-medium);\n }\n}\n\n.TextInputWrapper {\n padding-right: 0;\n padding-left: 0;\n\n > input,\n > select {\n padding-right: 0;\n padding-left: 0;\n }\n\n /* Repeat and position set for form states (success, error, etc) */\n background-repeat: no-repeat;\n\n /* For form validation. This keeps images 8px from right and centered vertically. */\n background-position: right 8px center;\n\n & > :not(:last-child) {\n margin-right: var(--base-size-8);\n }\n\n & :global(.TextInput-icon) /* stylelint-disable-line selector-class-pattern */,\n & :global(.TextInput-action) /* stylelint-disable-line selector-class-pattern */ {\n align-self: center;\n color: var(--fgColor-muted);\n flex-shrink: 0;\n }\n\n &:where([data-leading-visual]) {\n padding-left: var(--base-size-12);\n }\n\n &:where([data-trailing-visual]:not([data-trailing-action])) {\n padding-right: var(--base-size-12);\n }\n\n &:where(:not([data-leading-visual])) > input,\n &:where(:not([data-leading-visual])) > select {\n padding-left: var(--base-size-12);\n }\n\n &:where(:not([data-trailing-visual]):not([data-trailing-action])) > input,\n &:where(:not([data-trailing-visual]):not([data-trailing-action])) > select {\n padding-right: var(--base-size-12);\n }\n}\n"]}
1
+ {"version":3,"sources":["../../src/internal/components/TextInputWrapper.module.css"],"names":[],"mappings":"AAAA,2CAeE,mBAAoB,CALpB,mEAAwC,CACxC,qGAAqE,CACrE,gDAAyC,CAEzC,+DAA+B,CAP/B,oDAA6B,CAE7B,WAAY,CARZ,mBAAoB,CAGpB,8CAAuC,CAEvC,uCAAgC,CAJhC,mCAA+B,CAW/B,YAAa,CAVb,eAAgB,CAKhB,qBA6IF,CApIE,qGAEE,WACF,CAEA,kDACE,cACF,CAKE,yKACE,gDACF,CAGF,mLAEE,4EAAgD,CAChD,8GAA0E,CAC1E,mBACF,CAEA,oDACE,kCACF,CAEA,kEAGE,+FACF,CAEA,kEAEE,+EAAiD,CACjD,wEAAiD,CACjD,eAAgB,CAHhB,6DAUF,CALE,4NAGE,kBACF,CAGF,mEACE,mHACF,CAEA,0EACE,4EAQF,CANE,iPAEE,2EAA+C,CAC/C,gFAAoD,CACpD,mBACF,CAGF,4EAEE,0EACF,CAEA,+DAGE,kBAAmB,CAFnB,YAAa,CACb,UAEF,CAGA,oCA3FF,2CA4FI,8CAyDJ,CAxDE,CA7FF,2CA+FE,8CAsDF,CApDE,oEACE,+CAAwC,CASxC,4CAAsC,CAEtC,uCAAgC,CAThC,sCAA+B,CAK/B,kBAAmB,CACnB,qCAAgC,CAHhC,sCAAiC,CADjC,eAQF,CAEA,oEACE,+CAAwC,CAExC,iCAA2B,CAK3B,mBAAoB,CACpB,qCAAgC,CAHhC,sCAAiC,CADjC,gBAKF,CAGA,uEASE,kCAAmC,CAEnC,uCAAgC,CAVhC,eAAgB,CAKhB,kBAAmB,CACnB,qCAAgC,CAHhC,sCAAiC,CADjC,eASF,CAGA,uEAOE,+CAAwC,CAFxC,mBAAoB,CACpB,qCAAgC,CAHhC,sCAAiC,CADjC,gBAMF,CAOA,kIAGE,cAAe,CADf,eAEF,CARF,uCAcE,oCAAqC,CAHrC,2BA+CF,CA1CE,yDACE,qCACF,CAEA,gHAEE,iBAAkB,CAClB,gDAA2B,CAC3B,aACF,CAGA,oEACE,qCACF,CAGA,iGACE,sCACF,CAKE,uZAEE,qCACF,CAIF,2NAEE,sCACF,CAGA,iRAEE,uCAAiC,CACjC,wCACF,CAKA,6FACE,uCACF,CAEA,0HACE,wCACF","file":"TextInputWrapper-889df5d3.css","sourcesContent":[".TextInputBaseWrapper {\n display: inline-flex;\n min-height: var(--base-size-32);\n overflow: hidden;\n font-size: var(--text-body-size-medium);\n /* stylelint-disable-next-line primer/typography */\n line-height: var(--base-size-20);\n color: var(--fgColor-default);\n vertical-align: middle;\n cursor: text;\n background-color: var(--bgColor-default);\n border: var(--borderWidth-thin) solid var(--control-borderColor-rest);\n border-radius: var(--borderRadius-medium);\n outline: none;\n box-shadow: var(--shadow-inset);\n align-items: stretch;\n\n input,\n textarea {\n cursor: text;\n }\n\n select {\n cursor: pointer;\n }\n\n input,\n textarea,\n select {\n &::placeholder {\n color: var(--fgColor-muted);\n }\n }\n\n &:where([data-trailing-action][data-focused]),\n &:where(:not([data-trailing-action]):focus-within) {\n border-color: var(--borderColor-accent-emphasis);\n outline: var(--borderWidth-thick) solid var(--borderColor-accent-emphasis);\n outline-offset: -1px;\n }\n\n > textarea {\n padding: var(--base-size-12);\n }\n\n &:where([data-contrast]) {\n /* this variable is available behind a feature flag in gh/gh */\n /* stylelint-disable-next-line primer/colors */\n background-color: var(--control-bgColor-contrast, var(--bgColor-inset));\n }\n\n &:where([data-disabled]) {\n color: var(--fgColor-disabled);\n background-color: var(--control-bgColor-disabled);\n border-color: var(--control-borderColor-disabled);\n box-shadow: none;\n\n input,\n textarea,\n select {\n cursor: not-allowed;\n }\n }\n\n &:where([data-monospace]) {\n font-family: var(--fontStack-monospace);\n }\n\n &:where([data-validation='error']) {\n border-color: var(--borderColor-danger-emphasis);\n\n &:where([data-trailing-action][data-focused]),\n &:where(:not([data-trailing-action])):focus-within {\n border-color: var(--control-borderColor-danger);\n outline: 2px solid var(--control-borderColor-danger);\n outline-offset: -1px;\n }\n }\n\n &:where([data-validation='success']) {\n /* stylelint-disable-next-line primer/colors */\n border-color: var(--bgColor-success-emphasis);\n }\n\n &:where([data-block]) {\n display: flex;\n width: 100%;\n align-self: stretch;\n }\n\n /* Ensures inputs don't zoom on mobile but are body-font size on desktop */\n @media screen and (--viewportRange-regular) {\n font-size: var(--text-body-size-medium);\n }\n\n --inner-action-size: var(--base-size-24); /* Default size */\n\n &:where([data-size='small']) {\n --inner-action-size: var(--base-size-20);\n\n min-height: var(--base-size-28);\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 3px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 3px;\n padding-left: var(--base-size-8);\n font-size: var(--text-body-size-small);\n /* stylelint-disable-next-line primer/typography */\n line-height: var(--base-size-20);\n }\n\n &:where([data-size='large']) {\n --inner-action-size: var(--base-size-28);\n\n height: var(--base-size-40);\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 10px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 10px;\n padding-left: var(--base-size-8);\n }\n\n /* Deprecated */\n &:where([data-variant='small']) {\n min-height: 28px;\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 3px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 3px;\n padding-left: var(--base-size-8);\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n font-size: (--text-body-size-small);\n /* stylelint-disable-next-line primer/typography */\n line-height: var(--base-size-20);\n }\n\n /* Deprecated */\n &:where([data-variant='large']) {\n /* stylelint-disable-next-line primer/spacing */\n padding-top: 10px;\n padding-right: var(--base-size-8);\n /* stylelint-disable-next-line primer/spacing */\n padding-bottom: 10px;\n padding-left: var(--base-size-8);\n font-size: var(--text-title-size-medium);\n }\n}\n\n.TextInputWrapper {\n padding-right: 0;\n padding-left: 0;\n\n > input,\n > select {\n padding-right: 0;\n padding-left: 0;\n }\n\n /* Repeat and position set for form states (success, error, etc) */\n background-repeat: no-repeat;\n\n /* For form validation. This keeps images 8px from right and centered vertically. */\n background-position: right 8px center;\n\n & > :not(:last-child) {\n margin-right: var(--base-size-8);\n }\n\n & :global(.TextInput-icon) /* stylelint-disable-line selector-class-pattern */,\n & :global(.TextInput-action) /* stylelint-disable-line selector-class-pattern */ {\n align-self: center;\n color: var(--fgColor-muted);\n flex-shrink: 0;\n }\n\n /* With leading visual */\n &:where([data-leading-visual]) {\n padding-left: var(--base-size-8);\n }\n\n /* With trailing visual */\n &:where([data-trailing-visual]:not([data-trailing-action])) {\n padding-right: var(--base-size-8);\n }\n\n /* Only trailing visual */\n &:where(:not([data-leading-visual])[data-trailing-visual]),\n &:where(:not([data-leading-visual])[data-trailing-action]) {\n > input,\n > select {\n padding-left: var(--base-size-8);\n }\n }\n\n /* Only leading visual */\n &:where(:not([data-trailing-visual]):not([data-trailing-action])) > input,\n &:where(:not([data-trailing-visual]):not([data-trailing-action])) > select {\n padding-right: var(--base-size-8);\n }\n\n /* No visuals at all */\n &:where(:not([data-leading-visual]):not([data-trailing-visual]):not([data-trailing-action])) > input,\n &:where(:not([data-leading-visual]):not([data-trailing-visual]):not([data-trailing-action])) > select {\n padding-left: var(--base-size-12);\n padding-right: var(--base-size-12);\n }\n}\n\n/* Large size input */\n.TextInputWrapper:where([data-size='large']) {\n &:where([data-leading-visual]) {\n padding-left: var(--base-size-12);\n }\n\n &:where([data-trailing-visual]:not([data-trailing-action])) {\n padding-right: var(--base-size-12);\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import './TextInputWrapper-ca608f70.css';
1
+ import './TextInputWrapper-889df5d3.css';
2
2
 
3
3
  var styles = {"TextInputBaseWrapper":"prc-components-TextInputBaseWrapper-ueK9q","TextInputWrapper":"prc-components-TextInputWrapper-i1ofR"};
4
4
 
@@ -1,7 +1,6 @@
1
1
  import { c } from 'react-compiler-runtime';
2
2
  import { forwardRef } from 'react';
3
3
  import { isElement } from 'react-is';
4
- import { defaultSxProp } from '../../utils/defaultSxProp.js';
5
4
  import classes from './UnderlineTabbedInterface.module.css.js';
6
5
  import { clsx } from 'clsx';
7
6
  import { BoxWithFallback } from './BoxWithFallback.js';
@@ -10,57 +9,50 @@ import CounterLabel from '../../CounterLabel/CounterLabel.js';
10
9
 
11
10
  const GAP = 8;
12
11
  const UnderlineWrapper = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
13
- const $ = c(13);
12
+ const $ = c(11);
14
13
  let children;
15
14
  let className;
16
15
  let rest;
17
- let t1;
18
16
  if ($[0] !== t0) {
19
17
  ({
20
18
  children,
21
19
  className,
22
- sx: t1,
23
20
  ...rest
24
21
  } = t0);
25
22
  $[0] = t0;
26
23
  $[1] = children;
27
24
  $[2] = className;
28
25
  $[3] = rest;
29
- $[4] = t1;
30
26
  } else {
31
27
  children = $[1];
32
28
  className = $[2];
33
29
  rest = $[3];
34
- t1 = $[4];
35
30
  }
36
- const sxProp = t1 === undefined ? defaultSxProp : t1;
37
- let t2;
38
- if ($[5] !== className) {
39
- t2 = clsx(classes.UnderlineWrapper, className);
40
- $[5] = className;
41
- $[6] = t2;
31
+ let t1;
32
+ if ($[4] !== className) {
33
+ t1 = clsx(classes.UnderlineWrapper, className);
34
+ $[4] = className;
35
+ $[5] = t1;
42
36
  } else {
43
- t2 = $[6];
37
+ t1 = $[5];
44
38
  }
45
- let t3;
46
- if ($[7] !== children || $[8] !== forwardedRef || $[9] !== rest || $[10] !== sxProp || $[11] !== t2) {
47
- t3 = /*#__PURE__*/jsx(BoxWithFallback, {
48
- className: t2,
39
+ let t2;
40
+ if ($[6] !== children || $[7] !== forwardedRef || $[8] !== rest || $[9] !== t1) {
41
+ t2 = /*#__PURE__*/jsx(BoxWithFallback, {
42
+ className: t1,
49
43
  ref: forwardedRef,
50
- sx: sxProp,
51
44
  ...rest,
52
45
  children: children
53
46
  });
54
- $[7] = children;
55
- $[8] = forwardedRef;
56
- $[9] = rest;
57
- $[10] = sxProp;
58
- $[11] = t2;
59
- $[12] = t3;
47
+ $[6] = children;
48
+ $[7] = forwardedRef;
49
+ $[8] = rest;
50
+ $[9] = t1;
51
+ $[10] = t2;
60
52
  } else {
61
- t3 = $[12];
53
+ t2 = $[10];
62
54
  }
63
- return t3;
55
+ return t2;
64
56
  });
65
57
  const UnderlineItemList = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
66
58
  const $ = c(7);
@@ -108,41 +100,8 @@ const LoadingCounter = () => {
108
100
  }
109
101
  return t0;
110
102
  };
111
-
112
- // We can uncomment these when/if we add overflow behavior
113
- // to the UnderlinePanels component
114
- //
115
- // export const StyledMoreButton = styled(Button)`
116
- // margin: 0;
117
- // border: 0;
118
- // background: transparent;
119
- // font-weight: normal;
120
- // box-shadow: none;
121
- // padding-block: var(--control-small-paddingBlock);
122
- // padding-inline: var(--control-small-paddingInline-condensed);
123
-
124
- // > span[data-component='trailingVisual'] {
125
- // margin-left: 0;
126
- // }
127
- // `
128
-
129
- // export const StyledOverflowDivider = styled.span`
130
- // display: inline-block;
131
- // border-left: 1px solid var(--borderColor-muted);
132
- // width: 1px;
133
- // margin-right: var(--control-xsmall-gap);
134
- // /* The height of the divider - reference from Figma */
135
- // height: 24px;
136
- // `
137
-
138
- // export const StyledMoreMenuListItem = styled.li`
139
- // display: flex;
140
- // align-items: center;
141
- // height: 45px;
142
- // `
143
-
144
103
  const UnderlineItem = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
145
- const $ = c(29);
104
+ const $ = c(27);
146
105
  let Icon;
147
106
  let children;
148
107
  let className;
@@ -151,7 +110,6 @@ const UnderlineItem = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
151
110
  let loadingCounters;
152
111
  let rest;
153
112
  let t1;
154
- let t2;
155
113
  if ($[0] !== t0) {
156
114
  ({
157
115
  as: t1,
@@ -160,7 +118,6 @@ const UnderlineItem = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
160
118
  icon: Icon,
161
119
  iconsVisible,
162
120
  loadingCounters,
163
- sx: t2,
164
121
  className,
165
122
  ...rest
166
123
  } = t0);
@@ -173,7 +130,6 @@ const UnderlineItem = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
173
130
  $[6] = loadingCounters;
174
131
  $[7] = rest;
175
132
  $[8] = t1;
176
- $[9] = t2;
177
133
  } else {
178
134
  Icon = $[1];
179
135
  children = $[2];
@@ -183,45 +139,43 @@ const UnderlineItem = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
183
139
  loadingCounters = $[6];
184
140
  rest = $[7];
185
141
  t1 = $[8];
186
- t2 = $[9];
187
142
  }
188
143
  const as = t1 === undefined ? "a" : t1;
189
- const sxProp = t2 === undefined ? defaultSxProp : t2;
190
- let t3;
191
- if ($[10] !== className) {
192
- t3 = clsx(classes.UnderlineItem, className);
193
- $[10] = className;
194
- $[11] = t3;
144
+ let t2;
145
+ if ($[9] !== className) {
146
+ t2 = clsx(classes.UnderlineItem, className);
147
+ $[9] = className;
148
+ $[10] = t2;
195
149
  } else {
196
- t3 = $[11];
150
+ t2 = $[10];
197
151
  }
198
- let t4;
199
- if ($[12] !== Icon || $[13] !== iconsVisible) {
200
- t4 = iconsVisible && Icon && /*#__PURE__*/jsx("span", {
152
+ let t3;
153
+ if ($[11] !== Icon || $[12] !== iconsVisible) {
154
+ t3 = iconsVisible && Icon && /*#__PURE__*/jsx("span", {
201
155
  "data-component": "icon",
202
156
  children: isElement(Icon) ? Icon : /*#__PURE__*/jsx(Icon, {})
203
157
  });
204
- $[12] = Icon;
205
- $[13] = iconsVisible;
206
- $[14] = t4;
158
+ $[11] = Icon;
159
+ $[12] = iconsVisible;
160
+ $[13] = t3;
207
161
  } else {
208
- t4 = $[14];
162
+ t3 = $[13];
209
163
  }
210
- let t5;
211
- if ($[15] !== children) {
212
- t5 = children && /*#__PURE__*/jsx("span", {
164
+ let t4;
165
+ if ($[14] !== children) {
166
+ t4 = children && /*#__PURE__*/jsx("span", {
213
167
  "data-component": "text",
214
168
  "data-content": children,
215
169
  children: children
216
170
  });
217
- $[15] = children;
218
- $[16] = t5;
171
+ $[14] = children;
172
+ $[15] = t4;
219
173
  } else {
220
- t5 = $[16];
174
+ t4 = $[15];
221
175
  }
222
- let t6;
223
- if ($[17] !== counter || $[18] !== loadingCounters) {
224
- t6 = counter !== undefined ? loadingCounters ? /*#__PURE__*/jsx("span", {
176
+ let t5;
177
+ if ($[16] !== counter || $[17] !== loadingCounters) {
178
+ t5 = counter !== undefined ? loadingCounters ? /*#__PURE__*/jsx("span", {
225
179
  "data-component": "counter",
226
180
  children: /*#__PURE__*/jsx(LoadingCounter, {})
227
181
  }) : /*#__PURE__*/jsx("span", {
@@ -230,35 +184,33 @@ const UnderlineItem = /*#__PURE__*/forwardRef((t0, forwardedRef) => {
230
184
  children: counter
231
185
  })
232
186
  }) : null;
233
- $[17] = counter;
234
- $[18] = loadingCounters;
235
- $[19] = t6;
187
+ $[16] = counter;
188
+ $[17] = loadingCounters;
189
+ $[18] = t5;
236
190
  } else {
237
- t6 = $[19];
191
+ t5 = $[18];
238
192
  }
239
- let t7;
240
- if ($[20] !== as || $[21] !== forwardedRef || $[22] !== rest || $[23] !== sxProp || $[24] !== t3 || $[25] !== t4 || $[26] !== t5 || $[27] !== t6) {
241
- t7 = /*#__PURE__*/jsxs(BoxWithFallback, {
193
+ let t6;
194
+ if ($[19] !== as || $[20] !== forwardedRef || $[21] !== rest || $[22] !== t2 || $[23] !== t3 || $[24] !== t4 || $[25] !== t5) {
195
+ t6 = /*#__PURE__*/jsxs(BoxWithFallback, {
242
196
  ref: forwardedRef,
243
197
  as: as,
244
- sx: sxProp,
245
- className: t3,
198
+ className: t2,
246
199
  ...rest,
247
- children: [t4, t5, t6]
200
+ children: [t3, t4, t5]
248
201
  });
249
- $[20] = as;
250
- $[21] = forwardedRef;
251
- $[22] = rest;
252
- $[23] = sxProp;
253
- $[24] = t3;
254
- $[25] = t4;
255
- $[26] = t5;
256
- $[27] = t6;
257
- $[28] = t7;
202
+ $[19] = as;
203
+ $[20] = forwardedRef;
204
+ $[21] = rest;
205
+ $[22] = t2;
206
+ $[23] = t3;
207
+ $[24] = t4;
208
+ $[25] = t5;
209
+ $[26] = t6;
258
210
  } else {
259
- t7 = $[28];
211
+ t6 = $[26];
260
212
  }
261
- return t7;
213
+ return t6;
262
214
  });
263
215
 
264
216
  export { GAP, LoadingCounter, UnderlineItem, UnderlineItemList, UnderlineWrapper };
@@ -2,6 +2,6 @@ import { css } from 'styled-components';
2
2
  import { get } from '../../constants.js';
3
3
 
4
4
  const globalFocusStyle = css(["box-shadow:none;outline:2px solid ", ";"], get('colors.accent.fg'));
5
- const getGlobalFocusStyles = outlineOffset => css(["&:focus:not(:disabled){", ";outline-offset:", ";&:not(:focus-visible){outline:solid 1px transparent;}}&:focus-visible:not(:disabled){", ";outline-offset:", ";}"], globalFocusStyle, typeof outlineOffset === 'undefined' ? '2px' : outlineOffset, globalFocusStyle, typeof outlineOffset === 'undefined' ? '2px' : outlineOffset);
5
+ const getGlobalFocusStyles = outlineOffset => css(["&:focus:not(:disabled){", ";outline-offset:", ";&:not(:focus-visible){outline:solid 1px transparent;}}&:focus-visible:not(:disabled){", ";outline-offset:", ";}"], globalFocusStyle, outlineOffset, globalFocusStyle, outlineOffset);
6
6
 
7
7
  export { getGlobalFocusStyles as default };
@@ -120,8 +120,8 @@ function Announce(t0) {
120
120
  });
121
121
  observer.observe(container, {
122
122
  subtree: true,
123
- characterData: true,
124
- childList: true
123
+ childList: true,
124
+ characterData: true
125
125
  });
126
126
  return () => {
127
127
  observer.disconnect();
@@ -1,5 +1,8 @@
1
1
  import { TextEncoder } from 'node:util';
2
2
 
3
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
4
+ // @ts-nocheck
5
+
3
6
  // JSDOM doesn't mock ResizeObserver
4
7
  global.ResizeObserver = jest.fn().mockImplementation(() => {
5
8
  return {
@@ -2,7 +2,7 @@ import type React from 'react';
2
2
  import type { CheckboxGroup, FormControl } from '../index';
3
3
  import type { ComponentProps } from './types';
4
4
  import type { ArgTypes } from '@storybook/react';
5
- import type { InputType } from '@storybook/csf';
5
+ import type { InputType } from 'storybook/internal/csf';
6
6
  type CheckboxOrRadioGroupWrapperArgs = ComponentProps<typeof CheckboxGroup>;
7
7
  type CheckboxOrRadioGroupLabelArgs = ComponentProps<typeof CheckboxGroup.Label> & {
8
8
  labelChildren?: React.ReactNode;