@primer/components 0.0.0-202111114116 → 0.0.0-2021111142050

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 (614) hide show
  1. package/CHANGELOG.md +1 -7
  2. package/dist/browser.esm.js +171 -177
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +175 -181
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionList2/Divider.js +5 -10
  7. package/lib/ActionList2/Item.js +5 -21
  8. package/lib/ActionList2/List.js +1 -11
  9. package/lib/ActionList2/Selection.js +0 -11
  10. package/lib/drafts.js +0 -13
  11. package/lib/index.js +0 -8
  12. package/lib/script/component-status-project/build.d.ts +1 -0
  13. package/lib/{ActionList → src/ActionList}/Divider.d.ts +0 -0
  14. package/lib/{ActionList → src/ActionList}/Group.d.ts +0 -0
  15. package/lib/{ActionList → src/ActionList}/Header.d.ts +0 -0
  16. package/lib/{ActionList → src/ActionList}/Item.d.ts +0 -0
  17. package/lib/{ActionList → src/ActionList}/List.d.ts +0 -0
  18. package/lib/{ActionList → src/ActionList}/index.d.ts +0 -0
  19. package/lib/{ActionList2 → src/ActionList2}/Description.d.ts +0 -0
  20. package/lib/src/ActionList2/Divider.d.ts +5 -0
  21. package/lib/{ActionList2 → src/ActionList2}/Group.d.ts +0 -0
  22. package/lib/{ActionList2 → src/ActionList2}/Item.d.ts +0 -0
  23. package/lib/{ActionList2 → src/ActionList2}/LinkItem.d.ts +0 -0
  24. package/lib/{ActionList2 → src/ActionList2}/List.d.ts +0 -0
  25. package/lib/{ActionList2 → src/ActionList2}/Selection.d.ts +0 -0
  26. package/lib/{ActionList2 → src/ActionList2}/Visuals.d.ts +0 -0
  27. package/lib/{ActionList2 → src/ActionList2}/index.d.ts +2 -1
  28. package/lib/{ActionMenu.d.ts → src/ActionMenu.d.ts} +0 -0
  29. package/lib/{AnchoredOverlay → src/AnchoredOverlay}/AnchoredOverlay.d.ts +0 -0
  30. package/lib/{AnchoredOverlay → src/AnchoredOverlay}/index.d.ts +0 -0
  31. package/lib/{Autocomplete → src/Autocomplete}/Autocomplete.d.ts +1 -1
  32. package/lib/{Autocomplete → src/Autocomplete}/AutocompleteContext.d.ts +0 -0
  33. package/{lib-esm → lib/src}/Autocomplete/AutocompleteInput.d.ts +1 -1
  34. package/lib/{Autocomplete → src/Autocomplete}/AutocompleteMenu.d.ts +0 -0
  35. package/lib/{Autocomplete → src/Autocomplete}/AutocompleteOverlay.d.ts +0 -0
  36. package/lib/{Autocomplete → src/Autocomplete}/index.d.ts +0 -0
  37. package/lib/{Avatar.d.ts → src/Avatar.d.ts} +0 -0
  38. package/lib/{AvatarPair.d.ts → src/AvatarPair.d.ts} +0 -0
  39. package/lib/{AvatarStack.d.ts → src/AvatarStack.d.ts} +0 -0
  40. package/lib/{BaseStyles.d.ts → src/BaseStyles.d.ts} +0 -0
  41. package/lib/{BorderBox.d.ts → src/BorderBox.d.ts} +0 -0
  42. package/lib/{Box.d.ts → src/Box.d.ts} +0 -0
  43. package/lib/{BranchName.d.ts → src/BranchName.d.ts} +0 -0
  44. package/lib/{Breadcrumbs.d.ts → src/Breadcrumbs.d.ts} +0 -0
  45. package/{lib-esm → lib/src}/Button/Button.d.ts +1 -1
  46. package/lib/{Button → src/Button}/ButtonBase.d.ts +0 -0
  47. package/lib/{Button → src/Button}/ButtonClose.d.ts +2 -2
  48. package/lib/{Button → src/Button}/ButtonDanger.d.ts +1 -1
  49. package/lib/{Button → src/Button}/ButtonGroup.d.ts +0 -0
  50. package/{lib-esm → lib/src}/Button/ButtonInvisible.d.ts +1 -1
  51. package/{lib-esm → lib/src}/Button/ButtonOutline.d.ts +1 -1
  52. package/{lib-esm → lib/src}/Button/ButtonPrimary.d.ts +1 -1
  53. package/lib/{Button → src/Button}/ButtonStyles.d.ts +0 -0
  54. package/lib/{Button → src/Button}/ButtonTableList.d.ts +0 -0
  55. package/lib/{Button → src/Button}/index.d.ts +0 -0
  56. package/lib/{Caret.d.ts → src/Caret.d.ts} +0 -0
  57. package/{lib-esm → lib/src}/Checkbox.d.ts +1 -1
  58. package/lib/{CircleBadge.d.ts → src/CircleBadge.d.ts} +0 -0
  59. package/{lib-esm → lib/src}/CircleOcticon.d.ts +1 -1
  60. package/lib/{CounterLabel.d.ts → src/CounterLabel.d.ts} +0 -0
  61. package/lib/{Details.d.ts → src/Details.d.ts} +0 -0
  62. package/lib/{Dialog → src/Dialog}/ConfirmationDialog.d.ts +0 -0
  63. package/lib/{Dialog → src/Dialog}/Dialog.d.ts +0 -0
  64. package/lib/{Dialog.d.ts → src/Dialog.d.ts} +3 -3
  65. package/{lib-esm → lib/src}/Dropdown.d.ts +4 -4
  66. package/lib/{DropdownMenu → src/DropdownMenu}/DropdownButton.d.ts +2 -2
  67. package/lib/{DropdownMenu → src/DropdownMenu}/DropdownMenu.d.ts +0 -0
  68. package/lib/{DropdownMenu → src/DropdownMenu}/index.d.ts +0 -0
  69. package/lib/{DropdownStyles.d.ts → src/DropdownStyles.d.ts} +0 -0
  70. package/{lib-esm → lib/src}/FilterList.d.ts +1 -1
  71. package/lib/{FilteredActionList → src/FilteredActionList}/FilteredActionList.d.ts +0 -0
  72. package/lib/{FilteredActionList → src/FilteredActionList}/index.d.ts +0 -0
  73. package/lib/{FilteredSearch.d.ts → src/FilteredSearch.d.ts} +0 -0
  74. package/lib/{Flash.d.ts → src/Flash.d.ts} +0 -0
  75. package/lib/{Flex.d.ts → src/Flex.d.ts} +0 -0
  76. package/lib/{FormGroup.d.ts → src/FormGroup.d.ts} +0 -0
  77. package/lib/{Grid.d.ts → src/Grid.d.ts} +0 -0
  78. package/lib/{Header.d.ts → src/Header.d.ts} +0 -0
  79. package/lib/{Heading.d.ts → src/Heading.d.ts} +0 -0
  80. package/lib/{Label.d.ts → src/Label.d.ts} +0 -0
  81. package/lib/{LabelGroup.d.ts → src/LabelGroup.d.ts} +0 -0
  82. package/lib/{Link.d.ts → src/Link.d.ts} +0 -0
  83. package/lib/{NewButton → src/NewButton}/button-counter.d.ts +0 -0
  84. package/lib/{NewButton → src/NewButton}/button.d.ts +0 -0
  85. package/lib/{NewButton → src/NewButton}/index.d.ts +0 -0
  86. package/lib/{NewButton → src/NewButton}/types.d.ts +0 -0
  87. package/lib/{Overlay.d.ts → src/Overlay.d.ts} +0 -0
  88. package/lib/{Pagehead.d.ts → src/Pagehead.d.ts} +0 -0
  89. package/lib/{Pagination → src/Pagination}/Pagination.d.ts +0 -0
  90. package/lib/{Pagination → src/Pagination}/index.d.ts +0 -0
  91. package/lib/{Pagination → src/Pagination}/model.d.ts +0 -0
  92. package/lib/{PointerBox.d.ts → src/PointerBox.d.ts} +0 -0
  93. package/lib/{Popover.d.ts → src/Popover.d.ts} +0 -0
  94. package/lib/{Portal → src/Portal}/Portal.d.ts +0 -0
  95. package/lib/{Portal → src/Portal}/index.d.ts +0 -0
  96. package/lib/{Position.d.ts → src/Position.d.ts} +4 -4
  97. package/lib/{ProgressBar.d.ts → src/ProgressBar.d.ts} +0 -0
  98. package/lib/{SelectMenu → src/SelectMenu}/SelectMenu.d.ts +10 -10
  99. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuContext.d.ts +0 -0
  100. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuDivider.d.ts +0 -0
  101. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuFilter.d.ts +0 -0
  102. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuFooter.d.ts +0 -0
  103. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuHeader.d.ts +0 -0
  104. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuItem.d.ts +1 -1
  105. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuList.d.ts +0 -0
  106. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuLoadingAnimation.d.ts +0 -0
  107. package/{lib-esm → lib/src}/SelectMenu/SelectMenuModal.d.ts +1 -1
  108. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuTab.d.ts +0 -0
  109. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuTabPanel.d.ts +0 -0
  110. package/lib/{SelectMenu → src/SelectMenu}/SelectMenuTabs.d.ts +0 -0
  111. package/lib/{SelectMenu → src/SelectMenu}/hooks/useKeyboardNav.d.ts +0 -0
  112. package/lib/{SelectMenu → src/SelectMenu}/index.d.ts +0 -0
  113. package/lib/{SelectPanel → src/SelectPanel}/SelectPanel.d.ts +0 -0
  114. package/lib/{SelectPanel → src/SelectPanel}/index.d.ts +0 -0
  115. package/lib/{SideNav.d.ts → src/SideNav.d.ts} +0 -0
  116. package/lib/{Spinner.d.ts → src/Spinner.d.ts} +0 -0
  117. package/lib/{StateLabel.d.ts → src/StateLabel.d.ts} +0 -0
  118. package/lib/{StyledOcticon.d.ts → src/StyledOcticon.d.ts} +0 -0
  119. package/lib/{SubNav.d.ts → src/SubNav.d.ts} +0 -0
  120. package/lib/{TabNav.d.ts → src/TabNav.d.ts} +0 -0
  121. package/lib/{Text.d.ts → src/Text.d.ts} +0 -0
  122. package/lib/{TextInput.d.ts → src/TextInput.d.ts} +0 -0
  123. package/lib/{TextInputWithTokens.d.ts → src/TextInputWithTokens.d.ts} +1 -1
  124. package/lib/{ThemeProvider.d.ts → src/ThemeProvider.d.ts} +0 -0
  125. package/lib/{Timeline.d.ts → src/Timeline.d.ts} +0 -0
  126. package/lib/{Token → src/Token}/AvatarToken.d.ts +1 -1
  127. package/lib/{Token → src/Token}/IssueLabelToken.d.ts +1 -1
  128. package/lib/{Token → src/Token}/Token.d.ts +1 -1
  129. package/lib/{Token → src/Token}/TokenBase.d.ts +0 -0
  130. package/lib/{Token → src/Token}/_RemoveTokenButton.d.ts +0 -0
  131. package/lib/{Token → src/Token}/_TokenTextContainer.d.ts +0 -0
  132. package/lib/{Token → src/Token}/index.d.ts +0 -0
  133. package/lib/{Tooltip.d.ts → src/Tooltip.d.ts} +0 -0
  134. package/lib/{Truncate.d.ts → src/Truncate.d.ts} +0 -0
  135. package/lib/{UnderlineNav.d.ts → src/UnderlineNav.d.ts} +0 -0
  136. package/lib/{_TextInputWrapper.d.ts → src/_TextInputWrapper.d.ts} +0 -0
  137. package/lib/{_UnstyledTextInput.d.ts → src/_UnstyledTextInput.d.ts} +0 -0
  138. package/lib/src/__tests__/ActionList.test.d.ts +1 -0
  139. package/lib/src/__tests__/ActionList.types.test.d.ts +6 -0
  140. package/lib/src/__tests__/ActionList2.test.d.ts +2 -0
  141. package/lib/src/__tests__/ActionMenu.test.d.ts +1 -0
  142. package/lib/src/__tests__/AnchoredOverlay.test.d.ts +1 -0
  143. package/lib/src/__tests__/Autocomplete.test.d.ts +1 -0
  144. package/lib/src/__tests__/Avatar.test.d.ts +1 -0
  145. package/lib/src/__tests__/Avatar.types.test.d.ts +3 -0
  146. package/lib/src/__tests__/AvatarStack.test.d.ts +1 -0
  147. package/lib/src/__tests__/BorderBox.test.d.ts +1 -0
  148. package/lib/src/__tests__/Box.test.d.ts +1 -0
  149. package/lib/src/__tests__/BranchName.test.d.ts +1 -0
  150. package/lib/src/__tests__/BranchName.types.test.d.ts +3 -0
  151. package/lib/src/__tests__/Breadcrumbs.test.d.ts +1 -0
  152. package/lib/src/__tests__/Breadcrumbs.types.test.d.ts +3 -0
  153. package/lib/src/__tests__/BreadcrumbsItem.test.d.ts +1 -0
  154. package/lib/src/__tests__/Button.test.d.ts +1 -0
  155. package/lib/src/__tests__/Caret.test.d.ts +1 -0
  156. package/lib/src/__tests__/Checkbox.test.d.ts +2 -0
  157. package/lib/src/__tests__/CircleBadge.test.d.ts +1 -0
  158. package/lib/src/__tests__/CircleBadge.types.test.d.ts +3 -0
  159. package/lib/src/__tests__/CircleOcticon.test.d.ts +1 -0
  160. package/lib/src/__tests__/ConfirmationDialog.test.d.ts +1 -0
  161. package/lib/src/__tests__/CounterLabel.test.d.ts +1 -0
  162. package/lib/src/__tests__/CounterLabel.types.test.d.ts +3 -0
  163. package/lib/src/__tests__/Details.test.d.ts +1 -0
  164. package/lib/src/__tests__/Details.types.test.d.ts +3 -0
  165. package/lib/src/__tests__/Dialog.test.d.ts +1 -0
  166. package/lib/src/__tests__/Dialog.types.test.d.ts +3 -0
  167. package/lib/src/__tests__/Dialog2.types.test.d.ts +3 -0
  168. package/lib/src/__tests__/Dropdown.test.d.ts +1 -0
  169. package/lib/src/__tests__/Dropdown.types.test.d.ts +3 -0
  170. package/lib/src/__tests__/DropdownMenu.test.d.ts +1 -0
  171. package/lib/src/__tests__/FilterList.test.d.ts +1 -0
  172. package/lib/src/__tests__/FilterList.types.test.d.ts +3 -0
  173. package/lib/src/__tests__/FilterListItem.test.d.ts +1 -0
  174. package/lib/src/__tests__/FilteredSearch.test.d.ts +1 -0
  175. package/lib/src/__tests__/FilteredSearch.types.test.d.ts +3 -0
  176. package/lib/src/__tests__/Flash.test.d.ts +1 -0
  177. package/lib/src/__tests__/Flash.types.test.d.ts +3 -0
  178. package/lib/src/__tests__/Flex.test.d.ts +1 -0
  179. package/lib/src/__tests__/FormGroup.test.d.ts +1 -0
  180. package/lib/src/__tests__/FormGroup.types.test.d.ts +3 -0
  181. package/lib/src/__tests__/Grid.test.d.ts +1 -0
  182. package/lib/src/__tests__/Header.test.d.ts +1 -0
  183. package/lib/src/__tests__/Header.types.test.d.ts +3 -0
  184. package/lib/src/__tests__/Heading.test.d.ts +1 -0
  185. package/lib/src/__tests__/Heading.types.test.d.ts +3 -0
  186. package/lib/src/__tests__/KeyPaths.types.test.d.ts +11 -0
  187. package/lib/src/__tests__/Label.test.d.ts +1 -0
  188. package/lib/src/__tests__/Label.types.test.d.ts +3 -0
  189. package/lib/src/__tests__/LabelGroup.test.d.ts +1 -0
  190. package/lib/src/__tests__/LabelGroup.types.test.d.ts +3 -0
  191. package/lib/src/__tests__/Link.test.d.ts +1 -0
  192. package/lib/src/__tests__/Link.types.test.d.ts +3 -0
  193. package/lib/src/__tests__/Merge.types.test.d.ts +30 -0
  194. package/lib/src/__tests__/NewButton.test.d.ts +1 -0
  195. package/lib/src/__tests__/Overlay.test.d.ts +1 -0
  196. package/lib/src/__tests__/Overlay.types.test.d.ts +6 -0
  197. package/lib/src/__tests__/Pagehead.test.d.ts +1 -0
  198. package/lib/src/__tests__/Pagehead.types.test.d.ts +3 -0
  199. package/lib/src/__tests__/Pagination/Pagination.test.d.ts +1 -0
  200. package/lib/src/__tests__/Pagination/PaginationModel.test.d.ts +1 -0
  201. package/lib/src/__tests__/Pagination.types.test.d.ts +3 -0
  202. package/lib/src/__tests__/PointerBox.test.d.ts +1 -0
  203. package/lib/src/__tests__/Popover.test.d.ts +1 -0
  204. package/lib/src/__tests__/Popover.types.test.d.ts +3 -0
  205. package/lib/src/__tests__/Portal.test.d.ts +1 -0
  206. package/lib/src/__tests__/Position.test.d.ts +1 -0
  207. package/lib/src/__tests__/ProgressBar.test.d.ts +1 -0
  208. package/lib/src/__tests__/SelectMenu.test.d.ts +1 -0
  209. package/lib/src/__tests__/SelectMenu.types.test.d.ts +3 -0
  210. package/lib/src/__tests__/SelectPanel.test.d.ts +1 -0
  211. package/lib/src/__tests__/SelectPanel.types.test.d.ts +3 -0
  212. package/lib/src/__tests__/SideNav.test.d.ts +1 -0
  213. package/lib/src/__tests__/SideNav.types.test.d.ts +3 -0
  214. package/lib/src/__tests__/Spinner.test.d.ts +1 -0
  215. package/lib/src/__tests__/StateLabel.test.d.ts +1 -0
  216. package/lib/src/__tests__/StateLabel.types.test.d.ts +3 -0
  217. package/lib/src/__tests__/StyledOcticon.test.d.ts +1 -0
  218. package/lib/src/__tests__/StyledOcticon.types.test.d.ts +3 -0
  219. package/lib/src/__tests__/SubNav.test.d.ts +1 -0
  220. package/lib/src/__tests__/SubNav.types.test.d.ts +3 -0
  221. package/lib/src/__tests__/SubNavLink.test.d.ts +1 -0
  222. package/lib/src/__tests__/TabNav.test.d.ts +1 -0
  223. package/lib/src/__tests__/TabNav.types.test.d.ts +3 -0
  224. package/lib/src/__tests__/Text.test.d.ts +1 -0
  225. package/lib/src/__tests__/TextInput.test.d.ts +1 -0
  226. package/lib/src/__tests__/TextInputWithTokens.test.d.ts +1 -0
  227. package/lib/src/__tests__/ThemeProvider.test.d.ts +1 -0
  228. package/lib/src/__tests__/Timeline.test.d.ts +1 -0
  229. package/lib/src/__tests__/Timeline.types.test.d.ts +3 -0
  230. package/lib/src/__tests__/Token.test.d.ts +1 -0
  231. package/lib/src/__tests__/Tooltip.test.d.ts +1 -0
  232. package/lib/src/__tests__/Tooltip.types.test.d.ts +3 -0
  233. package/lib/src/__tests__/Truncate.test.d.ts +1 -0
  234. package/lib/src/__tests__/Truncate.types.test.d.ts +3 -0
  235. package/lib/src/__tests__/UnderlineNav.test.d.ts +1 -0
  236. package/lib/src/__tests__/UnderlineNav.types.test.d.ts +3 -0
  237. package/lib/src/__tests__/UnderlineNavLink.test.d.ts +1 -0
  238. package/lib/src/__tests__/behaviors/anchoredPosition.test.d.ts +1 -0
  239. package/lib/src/__tests__/behaviors/focusTrap.test.d.ts +1 -0
  240. package/lib/src/__tests__/behaviors/focusZone.test.d.ts +1 -0
  241. package/lib/src/__tests__/behaviors/iterateFocusableElements.test.d.ts +1 -0
  242. package/lib/src/__tests__/behaviors/scrollIntoViewingArea.test.d.ts +1 -0
  243. package/lib/src/__tests__/filterObject.test.d.ts +1 -0
  244. package/lib/src/__tests__/hooks/useAnchoredPosition.test.d.ts +1 -0
  245. package/lib/src/__tests__/hooks/useOnEscapePress.test.d.ts +1 -0
  246. package/lib/src/__tests__/hooks/useOnOutsideClick.test.d.ts +1 -0
  247. package/lib/src/__tests__/hooks/useOpenAndCloseFocus.test.d.ts +1 -0
  248. package/lib/src/__tests__/hooks/useProvidedStateOrCreate.test.d.ts +1 -0
  249. package/lib/src/__tests__/theme.test.d.ts +1 -0
  250. package/lib/src/__tests__/themeGet.test.d.ts +1 -0
  251. package/lib/src/__tests__/themePreval.test.d.ts +1 -0
  252. package/lib/src/__tests__/useSafeTimeout.test.d.ts +1 -0
  253. package/lib/src/__tests__/utils/createSlots.test.d.ts +1 -0
  254. package/lib/{behaviors → src/behaviors}/anchoredPosition.d.ts +0 -0
  255. package/lib/{behaviors → src/behaviors}/focusTrap.d.ts +0 -0
  256. package/lib/{behaviors → src/behaviors}/focusZone.d.ts +0 -0
  257. package/lib/{behaviors → src/behaviors}/scrollIntoViewingArea.d.ts +0 -0
  258. package/lib/{constants.d.ts → src/constants.d.ts} +0 -0
  259. package/{lib-esm → lib/src}/drafts.d.ts +0 -1
  260. package/lib/{hooks → src/hooks}/index.d.ts +0 -0
  261. package/lib/{hooks → src/hooks}/useAnchoredPosition.d.ts +0 -0
  262. package/lib/{hooks → src/hooks}/useCombinedRefs.d.ts +0 -0
  263. package/lib/{hooks → src/hooks}/useDetails.d.ts +0 -0
  264. package/lib/{hooks → src/hooks}/useDialog.d.ts +0 -0
  265. package/lib/{hooks → src/hooks}/useFocusTrap.d.ts +0 -0
  266. package/lib/{hooks → src/hooks}/useFocusZone.d.ts +0 -0
  267. package/lib/{hooks → src/hooks}/useOnEscapePress.d.ts +0 -0
  268. package/lib/{hooks → src/hooks}/useOnOutsideClick.d.ts +0 -0
  269. package/lib/{hooks → src/hooks}/useOpenAndCloseFocus.d.ts +0 -0
  270. package/lib/{hooks → src/hooks}/useOverlay.d.ts +0 -0
  271. package/lib/{hooks → src/hooks}/useProvidedRefOrCreate.d.ts +0 -0
  272. package/lib/{hooks → src/hooks}/useProvidedStateOrCreate.d.ts +0 -0
  273. package/lib/{hooks → src/hooks}/useRenderForcingRef.d.ts +0 -0
  274. package/lib/{hooks → src/hooks}/useResizeObserver.d.ts +0 -0
  275. package/lib/{hooks → src/hooks}/useSafeTimeout.d.ts +0 -0
  276. package/lib/{hooks → src/hooks}/useScrollFlash.d.ts +0 -0
  277. package/{lib-esm → lib/src}/index.d.ts +0 -2
  278. package/lib/{polyfills → src/polyfills}/eventListenerSignal.d.ts +0 -0
  279. package/lib/{sx.d.ts → src/sx.d.ts} +0 -0
  280. package/lib/{theme-preval.d.ts → src/theme-preval.d.ts} +0 -0
  281. package/lib/{theme.d.ts → src/theme.d.ts} +0 -0
  282. package/lib/{utils → src/utils}/create-slots.d.ts +0 -0
  283. package/lib/{utils → src/utils}/deprecate.d.ts +0 -0
  284. package/lib/{utils → src/utils}/isNumeric.d.ts +0 -0
  285. package/lib/{utils → src/utils}/iterateFocusableElements.d.ts +0 -0
  286. package/lib/{utils → src/utils}/ssr.d.ts +0 -0
  287. package/lib/src/utils/test-deprecations.d.ts +1 -0
  288. package/lib/{utils → src/utils}/test-helpers.d.ts +0 -0
  289. package/lib/src/utils/test-matchers.d.ts +1 -0
  290. package/lib/{utils → src/utils}/testing.d.ts +0 -0
  291. package/lib/{utils → src/utils}/theme.d.ts +0 -0
  292. package/lib/{utils → src/utils}/types/AriaRole.d.ts +0 -0
  293. package/lib/{utils → src/utils}/types/ComponentProps.d.ts +0 -0
  294. package/lib/{utils → src/utils}/types/Flatten.d.ts +0 -0
  295. package/lib/{utils → src/utils}/types/KeyPaths.d.ts +0 -0
  296. package/lib/{utils → src/utils}/types/MandateProps.d.ts +0 -0
  297. package/lib/{utils → src/utils}/types/Merge.d.ts +0 -0
  298. package/lib/{utils → src/utils}/types/index.d.ts +0 -0
  299. package/lib/{utils → src/utils}/uniqueId.d.ts +0 -0
  300. package/lib/{utils → src/utils}/use-force-update.d.ts +0 -0
  301. package/lib/{utils → src/utils}/useIsomorphicLayoutEffect.d.ts +0 -0
  302. package/lib/{utils → src/utils}/userAgent.d.ts +0 -0
  303. package/lib-esm/ActionList2/Divider.js +5 -8
  304. package/lib-esm/ActionList2/Item.js +5 -19
  305. package/lib-esm/ActionList2/List.js +1 -9
  306. package/lib-esm/ActionList2/Selection.js +0 -9
  307. package/lib-esm/drafts.js +1 -2
  308. package/lib-esm/index.js +0 -1
  309. package/lib-esm/{utils/test-deprecations.d.ts → script/component-status-project/build.d.ts} +0 -0
  310. package/lib-esm/{ActionList → src/ActionList}/Divider.d.ts +0 -0
  311. package/lib-esm/{ActionList → src/ActionList}/Group.d.ts +0 -0
  312. package/lib-esm/{ActionList → src/ActionList}/Header.d.ts +0 -0
  313. package/lib-esm/{ActionList → src/ActionList}/Item.d.ts +0 -0
  314. package/lib-esm/{ActionList → src/ActionList}/List.d.ts +0 -0
  315. package/lib-esm/{ActionList → src/ActionList}/index.d.ts +0 -0
  316. package/lib-esm/{ActionList2 → src/ActionList2}/Description.d.ts +0 -0
  317. package/lib-esm/src/ActionList2/Divider.d.ts +5 -0
  318. package/lib-esm/{ActionList2 → src/ActionList2}/Group.d.ts +0 -0
  319. package/lib-esm/{ActionList2 → src/ActionList2}/Item.d.ts +0 -0
  320. package/lib-esm/{ActionList2 → src/ActionList2}/LinkItem.d.ts +0 -0
  321. package/lib-esm/{ActionList2 → src/ActionList2}/List.d.ts +0 -0
  322. package/lib-esm/{ActionList2 → src/ActionList2}/Selection.d.ts +0 -0
  323. package/lib-esm/{ActionList2 → src/ActionList2}/Visuals.d.ts +0 -0
  324. package/lib-esm/{ActionList2 → src/ActionList2}/index.d.ts +2 -1
  325. package/lib-esm/{ActionMenu.d.ts → src/ActionMenu.d.ts} +0 -0
  326. package/lib-esm/{AnchoredOverlay → src/AnchoredOverlay}/AnchoredOverlay.d.ts +0 -0
  327. package/lib-esm/{AnchoredOverlay → src/AnchoredOverlay}/index.d.ts +0 -0
  328. package/lib-esm/{Autocomplete → src/Autocomplete}/Autocomplete.d.ts +1 -1
  329. package/lib-esm/{Autocomplete → src/Autocomplete}/AutocompleteContext.d.ts +0 -0
  330. package/{lib → lib-esm/src}/Autocomplete/AutocompleteInput.d.ts +1 -1
  331. package/lib-esm/{Autocomplete → src/Autocomplete}/AutocompleteMenu.d.ts +0 -0
  332. package/lib-esm/{Autocomplete → src/Autocomplete}/AutocompleteOverlay.d.ts +0 -0
  333. package/lib-esm/{Autocomplete → src/Autocomplete}/index.d.ts +0 -0
  334. package/lib-esm/{Avatar.d.ts → src/Avatar.d.ts} +0 -0
  335. package/lib-esm/{AvatarPair.d.ts → src/AvatarPair.d.ts} +0 -0
  336. package/lib-esm/{AvatarStack.d.ts → src/AvatarStack.d.ts} +0 -0
  337. package/lib-esm/{BaseStyles.d.ts → src/BaseStyles.d.ts} +0 -0
  338. package/lib-esm/{BorderBox.d.ts → src/BorderBox.d.ts} +0 -0
  339. package/lib-esm/{Box.d.ts → src/Box.d.ts} +0 -0
  340. package/lib-esm/{BranchName.d.ts → src/BranchName.d.ts} +0 -0
  341. package/lib-esm/{Breadcrumbs.d.ts → src/Breadcrumbs.d.ts} +0 -0
  342. package/{lib → lib-esm/src}/Button/Button.d.ts +1 -1
  343. package/lib-esm/{Button → src/Button}/ButtonBase.d.ts +0 -0
  344. package/lib-esm/{Button → src/Button}/ButtonClose.d.ts +2 -2
  345. package/lib-esm/{Button → src/Button}/ButtonDanger.d.ts +1 -1
  346. package/lib-esm/{Button → src/Button}/ButtonGroup.d.ts +0 -0
  347. package/{lib → lib-esm/src}/Button/ButtonInvisible.d.ts +1 -1
  348. package/{lib → lib-esm/src}/Button/ButtonOutline.d.ts +1 -1
  349. package/{lib → lib-esm/src}/Button/ButtonPrimary.d.ts +1 -1
  350. package/lib-esm/{Button → src/Button}/ButtonStyles.d.ts +0 -0
  351. package/lib-esm/{Button → src/Button}/ButtonTableList.d.ts +0 -0
  352. package/lib-esm/{Button → src/Button}/index.d.ts +0 -0
  353. package/lib-esm/{Caret.d.ts → src/Caret.d.ts} +0 -0
  354. package/{lib → lib-esm/src}/Checkbox.d.ts +1 -1
  355. package/lib-esm/{CircleBadge.d.ts → src/CircleBadge.d.ts} +0 -0
  356. package/{lib → lib-esm/src}/CircleOcticon.d.ts +1 -1
  357. package/lib-esm/{CounterLabel.d.ts → src/CounterLabel.d.ts} +0 -0
  358. package/lib-esm/{Details.d.ts → src/Details.d.ts} +0 -0
  359. package/lib-esm/{Dialog → src/Dialog}/ConfirmationDialog.d.ts +0 -0
  360. package/lib-esm/{Dialog → src/Dialog}/Dialog.d.ts +0 -0
  361. package/lib-esm/{Dialog.d.ts → src/Dialog.d.ts} +3 -3
  362. package/{lib → lib-esm/src}/Dropdown.d.ts +4 -4
  363. package/lib-esm/{DropdownMenu → src/DropdownMenu}/DropdownButton.d.ts +2 -2
  364. package/lib-esm/{DropdownMenu → src/DropdownMenu}/DropdownMenu.d.ts +0 -0
  365. package/lib-esm/{DropdownMenu → src/DropdownMenu}/index.d.ts +0 -0
  366. package/lib-esm/{DropdownStyles.d.ts → src/DropdownStyles.d.ts} +0 -0
  367. package/{lib → lib-esm/src}/FilterList.d.ts +1 -1
  368. package/lib-esm/{FilteredActionList → src/FilteredActionList}/FilteredActionList.d.ts +0 -0
  369. package/lib-esm/{FilteredActionList → src/FilteredActionList}/index.d.ts +0 -0
  370. package/lib-esm/{FilteredSearch.d.ts → src/FilteredSearch.d.ts} +0 -0
  371. package/lib-esm/{Flash.d.ts → src/Flash.d.ts} +0 -0
  372. package/lib-esm/{Flex.d.ts → src/Flex.d.ts} +0 -0
  373. package/lib-esm/{FormGroup.d.ts → src/FormGroup.d.ts} +0 -0
  374. package/lib-esm/{Grid.d.ts → src/Grid.d.ts} +0 -0
  375. package/lib-esm/{Header.d.ts → src/Header.d.ts} +0 -0
  376. package/lib-esm/{Heading.d.ts → src/Heading.d.ts} +0 -0
  377. package/lib-esm/{Label.d.ts → src/Label.d.ts} +0 -0
  378. package/lib-esm/{LabelGroup.d.ts → src/LabelGroup.d.ts} +0 -0
  379. package/lib-esm/{Link.d.ts → src/Link.d.ts} +0 -0
  380. package/lib-esm/{NewButton → src/NewButton}/button-counter.d.ts +0 -0
  381. package/lib-esm/{NewButton → src/NewButton}/button.d.ts +0 -0
  382. package/lib-esm/{NewButton → src/NewButton}/index.d.ts +0 -0
  383. package/lib-esm/{NewButton → src/NewButton}/types.d.ts +0 -0
  384. package/lib-esm/{Overlay.d.ts → src/Overlay.d.ts} +0 -0
  385. package/lib-esm/{Pagehead.d.ts → src/Pagehead.d.ts} +0 -0
  386. package/lib-esm/{Pagination → src/Pagination}/Pagination.d.ts +0 -0
  387. package/lib-esm/{Pagination → src/Pagination}/index.d.ts +0 -0
  388. package/lib-esm/{Pagination → src/Pagination}/model.d.ts +0 -0
  389. package/lib-esm/{PointerBox.d.ts → src/PointerBox.d.ts} +0 -0
  390. package/lib-esm/{Popover.d.ts → src/Popover.d.ts} +0 -0
  391. package/lib-esm/{Portal → src/Portal}/Portal.d.ts +0 -0
  392. package/lib-esm/{Portal → src/Portal}/index.d.ts +0 -0
  393. package/lib-esm/{Position.d.ts → src/Position.d.ts} +4 -4
  394. package/lib-esm/{ProgressBar.d.ts → src/ProgressBar.d.ts} +0 -0
  395. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenu.d.ts +10 -10
  396. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuContext.d.ts +0 -0
  397. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuDivider.d.ts +0 -0
  398. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuFilter.d.ts +0 -0
  399. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuFooter.d.ts +0 -0
  400. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuHeader.d.ts +0 -0
  401. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuItem.d.ts +1 -1
  402. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuList.d.ts +0 -0
  403. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuLoadingAnimation.d.ts +0 -0
  404. package/{lib → lib-esm/src}/SelectMenu/SelectMenuModal.d.ts +1 -1
  405. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuTab.d.ts +0 -0
  406. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuTabPanel.d.ts +0 -0
  407. package/lib-esm/{SelectMenu → src/SelectMenu}/SelectMenuTabs.d.ts +0 -0
  408. package/lib-esm/{SelectMenu → src/SelectMenu}/hooks/useKeyboardNav.d.ts +0 -0
  409. package/lib-esm/{SelectMenu → src/SelectMenu}/index.d.ts +0 -0
  410. package/lib-esm/{SelectPanel → src/SelectPanel}/SelectPanel.d.ts +0 -0
  411. package/lib-esm/{SelectPanel → src/SelectPanel}/index.d.ts +0 -0
  412. package/lib-esm/{SideNav.d.ts → src/SideNav.d.ts} +0 -0
  413. package/lib-esm/{Spinner.d.ts → src/Spinner.d.ts} +0 -0
  414. package/lib-esm/{StateLabel.d.ts → src/StateLabel.d.ts} +0 -0
  415. package/lib-esm/{StyledOcticon.d.ts → src/StyledOcticon.d.ts} +0 -0
  416. package/lib-esm/{SubNav.d.ts → src/SubNav.d.ts} +0 -0
  417. package/lib-esm/{TabNav.d.ts → src/TabNav.d.ts} +0 -0
  418. package/lib-esm/{Text.d.ts → src/Text.d.ts} +0 -0
  419. package/lib-esm/{TextInput.d.ts → src/TextInput.d.ts} +0 -0
  420. package/lib-esm/{TextInputWithTokens.d.ts → src/TextInputWithTokens.d.ts} +1 -1
  421. package/lib-esm/{ThemeProvider.d.ts → src/ThemeProvider.d.ts} +0 -0
  422. package/lib-esm/{Timeline.d.ts → src/Timeline.d.ts} +0 -0
  423. package/lib-esm/{Token → src/Token}/AvatarToken.d.ts +1 -1
  424. package/lib-esm/{Token → src/Token}/IssueLabelToken.d.ts +1 -1
  425. package/lib-esm/{Token → src/Token}/Token.d.ts +1 -1
  426. package/lib-esm/{Token → src/Token}/TokenBase.d.ts +0 -0
  427. package/lib-esm/{Token → src/Token}/_RemoveTokenButton.d.ts +0 -0
  428. package/lib-esm/{Token → src/Token}/_TokenTextContainer.d.ts +0 -0
  429. package/lib-esm/{Token → src/Token}/index.d.ts +0 -0
  430. package/lib-esm/{Tooltip.d.ts → src/Tooltip.d.ts} +0 -0
  431. package/lib-esm/{Truncate.d.ts → src/Truncate.d.ts} +0 -0
  432. package/lib-esm/{UnderlineNav.d.ts → src/UnderlineNav.d.ts} +0 -0
  433. package/lib-esm/{_TextInputWrapper.d.ts → src/_TextInputWrapper.d.ts} +0 -0
  434. package/lib-esm/{_UnstyledTextInput.d.ts → src/_UnstyledTextInput.d.ts} +0 -0
  435. package/lib-esm/src/__tests__/ActionList.test.d.ts +1 -0
  436. package/lib-esm/src/__tests__/ActionList.types.test.d.ts +6 -0
  437. package/lib-esm/src/__tests__/ActionList2.test.d.ts +2 -0
  438. package/lib-esm/src/__tests__/ActionMenu.test.d.ts +1 -0
  439. package/lib-esm/src/__tests__/AnchoredOverlay.test.d.ts +1 -0
  440. package/lib-esm/src/__tests__/Autocomplete.test.d.ts +1 -0
  441. package/lib-esm/src/__tests__/Avatar.test.d.ts +1 -0
  442. package/lib-esm/src/__tests__/Avatar.types.test.d.ts +3 -0
  443. package/lib-esm/src/__tests__/AvatarStack.test.d.ts +1 -0
  444. package/lib-esm/src/__tests__/BorderBox.test.d.ts +1 -0
  445. package/lib-esm/src/__tests__/Box.test.d.ts +1 -0
  446. package/lib-esm/src/__tests__/BranchName.test.d.ts +1 -0
  447. package/lib-esm/src/__tests__/BranchName.types.test.d.ts +3 -0
  448. package/lib-esm/src/__tests__/Breadcrumbs.test.d.ts +1 -0
  449. package/lib-esm/src/__tests__/Breadcrumbs.types.test.d.ts +3 -0
  450. package/lib-esm/src/__tests__/BreadcrumbsItem.test.d.ts +1 -0
  451. package/lib-esm/src/__tests__/Button.test.d.ts +1 -0
  452. package/lib-esm/src/__tests__/Caret.test.d.ts +1 -0
  453. package/lib-esm/src/__tests__/Checkbox.test.d.ts +2 -0
  454. package/lib-esm/src/__tests__/CircleBadge.test.d.ts +1 -0
  455. package/lib-esm/src/__tests__/CircleBadge.types.test.d.ts +3 -0
  456. package/lib-esm/src/__tests__/CircleOcticon.test.d.ts +1 -0
  457. package/lib-esm/src/__tests__/ConfirmationDialog.test.d.ts +1 -0
  458. package/lib-esm/src/__tests__/CounterLabel.test.d.ts +1 -0
  459. package/lib-esm/src/__tests__/CounterLabel.types.test.d.ts +3 -0
  460. package/lib-esm/src/__tests__/Details.test.d.ts +1 -0
  461. package/lib-esm/src/__tests__/Details.types.test.d.ts +3 -0
  462. package/lib-esm/src/__tests__/Dialog.test.d.ts +1 -0
  463. package/lib-esm/src/__tests__/Dialog.types.test.d.ts +3 -0
  464. package/lib-esm/src/__tests__/Dialog2.types.test.d.ts +3 -0
  465. package/lib-esm/src/__tests__/Dropdown.test.d.ts +1 -0
  466. package/lib-esm/src/__tests__/Dropdown.types.test.d.ts +3 -0
  467. package/lib-esm/src/__tests__/DropdownMenu.test.d.ts +1 -0
  468. package/lib-esm/src/__tests__/FilterList.test.d.ts +1 -0
  469. package/lib-esm/src/__tests__/FilterList.types.test.d.ts +3 -0
  470. package/lib-esm/src/__tests__/FilterListItem.test.d.ts +1 -0
  471. package/lib-esm/src/__tests__/FilteredSearch.test.d.ts +1 -0
  472. package/lib-esm/src/__tests__/FilteredSearch.types.test.d.ts +3 -0
  473. package/lib-esm/src/__tests__/Flash.test.d.ts +1 -0
  474. package/lib-esm/src/__tests__/Flash.types.test.d.ts +3 -0
  475. package/lib-esm/src/__tests__/Flex.test.d.ts +1 -0
  476. package/lib-esm/src/__tests__/FormGroup.test.d.ts +1 -0
  477. package/lib-esm/src/__tests__/FormGroup.types.test.d.ts +3 -0
  478. package/lib-esm/src/__tests__/Grid.test.d.ts +1 -0
  479. package/lib-esm/src/__tests__/Header.test.d.ts +1 -0
  480. package/lib-esm/src/__tests__/Header.types.test.d.ts +3 -0
  481. package/lib-esm/src/__tests__/Heading.test.d.ts +1 -0
  482. package/lib-esm/src/__tests__/Heading.types.test.d.ts +3 -0
  483. package/lib-esm/src/__tests__/KeyPaths.types.test.d.ts +11 -0
  484. package/lib-esm/src/__tests__/Label.test.d.ts +1 -0
  485. package/lib-esm/src/__tests__/Label.types.test.d.ts +3 -0
  486. package/lib-esm/src/__tests__/LabelGroup.test.d.ts +1 -0
  487. package/lib-esm/src/__tests__/LabelGroup.types.test.d.ts +3 -0
  488. package/lib-esm/src/__tests__/Link.test.d.ts +1 -0
  489. package/lib-esm/src/__tests__/Link.types.test.d.ts +3 -0
  490. package/lib-esm/src/__tests__/Merge.types.test.d.ts +30 -0
  491. package/lib-esm/src/__tests__/NewButton.test.d.ts +1 -0
  492. package/{lib/utils/test-deprecations.d.ts → lib-esm/src/__tests__/Overlay.test.d.ts} +0 -0
  493. package/lib-esm/src/__tests__/Overlay.types.test.d.ts +6 -0
  494. package/lib-esm/src/__tests__/Pagehead.test.d.ts +1 -0
  495. package/lib-esm/src/__tests__/Pagehead.types.test.d.ts +3 -0
  496. package/lib-esm/src/__tests__/Pagination/Pagination.test.d.ts +1 -0
  497. package/lib-esm/src/__tests__/Pagination/PaginationModel.test.d.ts +1 -0
  498. package/lib-esm/src/__tests__/Pagination.types.test.d.ts +3 -0
  499. package/lib-esm/src/__tests__/PointerBox.test.d.ts +1 -0
  500. package/lib-esm/src/__tests__/Popover.test.d.ts +1 -0
  501. package/lib-esm/src/__tests__/Popover.types.test.d.ts +3 -0
  502. package/lib-esm/src/__tests__/Portal.test.d.ts +1 -0
  503. package/lib-esm/src/__tests__/Position.test.d.ts +1 -0
  504. package/lib-esm/src/__tests__/ProgressBar.test.d.ts +1 -0
  505. package/lib-esm/src/__tests__/SelectMenu.test.d.ts +1 -0
  506. package/lib-esm/src/__tests__/SelectMenu.types.test.d.ts +3 -0
  507. package/lib-esm/src/__tests__/SelectPanel.test.d.ts +1 -0
  508. package/lib-esm/src/__tests__/SelectPanel.types.test.d.ts +3 -0
  509. package/lib-esm/src/__tests__/SideNav.test.d.ts +1 -0
  510. package/lib-esm/src/__tests__/SideNav.types.test.d.ts +3 -0
  511. package/lib-esm/src/__tests__/Spinner.test.d.ts +1 -0
  512. package/lib-esm/src/__tests__/StateLabel.test.d.ts +1 -0
  513. package/lib-esm/src/__tests__/StateLabel.types.test.d.ts +3 -0
  514. package/lib-esm/src/__tests__/StyledOcticon.test.d.ts +1 -0
  515. package/lib-esm/src/__tests__/StyledOcticon.types.test.d.ts +3 -0
  516. package/lib-esm/src/__tests__/SubNav.test.d.ts +1 -0
  517. package/lib-esm/src/__tests__/SubNav.types.test.d.ts +3 -0
  518. package/lib-esm/src/__tests__/SubNavLink.test.d.ts +1 -0
  519. package/lib-esm/src/__tests__/TabNav.test.d.ts +1 -0
  520. package/lib-esm/src/__tests__/TabNav.types.test.d.ts +3 -0
  521. package/lib-esm/src/__tests__/Text.test.d.ts +1 -0
  522. package/lib-esm/src/__tests__/TextInput.test.d.ts +1 -0
  523. package/lib-esm/src/__tests__/TextInputWithTokens.test.d.ts +1 -0
  524. package/lib-esm/{utils/test-matchers.d.ts → src/__tests__/ThemeProvider.test.d.ts} +0 -0
  525. package/lib-esm/src/__tests__/Timeline.test.d.ts +1 -0
  526. package/lib-esm/src/__tests__/Timeline.types.test.d.ts +3 -0
  527. package/lib-esm/src/__tests__/Token.test.d.ts +1 -0
  528. package/lib-esm/src/__tests__/Tooltip.test.d.ts +1 -0
  529. package/lib-esm/src/__tests__/Tooltip.types.test.d.ts +3 -0
  530. package/lib-esm/src/__tests__/Truncate.test.d.ts +1 -0
  531. package/lib-esm/src/__tests__/Truncate.types.test.d.ts +3 -0
  532. package/lib-esm/src/__tests__/UnderlineNav.test.d.ts +1 -0
  533. package/lib-esm/src/__tests__/UnderlineNav.types.test.d.ts +3 -0
  534. package/lib-esm/src/__tests__/UnderlineNavLink.test.d.ts +1 -0
  535. package/lib-esm/src/__tests__/behaviors/anchoredPosition.test.d.ts +1 -0
  536. package/lib-esm/src/__tests__/behaviors/focusTrap.test.d.ts +1 -0
  537. package/lib-esm/src/__tests__/behaviors/focusZone.test.d.ts +1 -0
  538. package/lib-esm/src/__tests__/behaviors/iterateFocusableElements.test.d.ts +1 -0
  539. package/lib-esm/src/__tests__/behaviors/scrollIntoViewingArea.test.d.ts +1 -0
  540. package/lib-esm/src/__tests__/filterObject.test.d.ts +1 -0
  541. package/lib-esm/src/__tests__/hooks/useAnchoredPosition.test.d.ts +1 -0
  542. package/lib-esm/src/__tests__/hooks/useOnEscapePress.test.d.ts +1 -0
  543. package/lib-esm/src/__tests__/hooks/useOnOutsideClick.test.d.ts +1 -0
  544. package/lib-esm/src/__tests__/hooks/useOpenAndCloseFocus.test.d.ts +1 -0
  545. package/lib-esm/src/__tests__/hooks/useProvidedStateOrCreate.test.d.ts +1 -0
  546. package/lib-esm/src/__tests__/theme.test.d.ts +1 -0
  547. package/lib-esm/src/__tests__/themeGet.test.d.ts +1 -0
  548. package/lib-esm/src/__tests__/themePreval.test.d.ts +1 -0
  549. package/lib-esm/src/__tests__/useSafeTimeout.test.d.ts +1 -0
  550. package/lib-esm/src/__tests__/utils/createSlots.test.d.ts +1 -0
  551. package/lib-esm/{behaviors → src/behaviors}/anchoredPosition.d.ts +0 -0
  552. package/lib-esm/{behaviors → src/behaviors}/focusTrap.d.ts +0 -0
  553. package/lib-esm/{behaviors → src/behaviors}/focusZone.d.ts +0 -0
  554. package/lib-esm/{behaviors → src/behaviors}/scrollIntoViewingArea.d.ts +0 -0
  555. package/lib-esm/{constants.d.ts → src/constants.d.ts} +0 -0
  556. package/{lib → lib-esm/src}/drafts.d.ts +0 -1
  557. package/lib-esm/{hooks → src/hooks}/index.d.ts +0 -0
  558. package/lib-esm/{hooks → src/hooks}/useAnchoredPosition.d.ts +0 -0
  559. package/lib-esm/{hooks → src/hooks}/useCombinedRefs.d.ts +0 -0
  560. package/lib-esm/{hooks → src/hooks}/useDetails.d.ts +0 -0
  561. package/lib-esm/{hooks → src/hooks}/useDialog.d.ts +0 -0
  562. package/lib-esm/{hooks → src/hooks}/useFocusTrap.d.ts +0 -0
  563. package/lib-esm/{hooks → src/hooks}/useFocusZone.d.ts +0 -0
  564. package/lib-esm/{hooks → src/hooks}/useOnEscapePress.d.ts +0 -0
  565. package/lib-esm/{hooks → src/hooks}/useOnOutsideClick.d.ts +0 -0
  566. package/lib-esm/{hooks → src/hooks}/useOpenAndCloseFocus.d.ts +0 -0
  567. package/lib-esm/{hooks → src/hooks}/useOverlay.d.ts +0 -0
  568. package/lib-esm/{hooks → src/hooks}/useProvidedRefOrCreate.d.ts +0 -0
  569. package/lib-esm/{hooks → src/hooks}/useProvidedStateOrCreate.d.ts +0 -0
  570. package/lib-esm/{hooks → src/hooks}/useRenderForcingRef.d.ts +0 -0
  571. package/lib-esm/{hooks → src/hooks}/useResizeObserver.d.ts +0 -0
  572. package/lib-esm/{hooks → src/hooks}/useSafeTimeout.d.ts +0 -0
  573. package/lib-esm/{hooks → src/hooks}/useScrollFlash.d.ts +0 -0
  574. package/{lib → lib-esm/src}/index.d.ts +0 -2
  575. package/lib-esm/{polyfills → src/polyfills}/eventListenerSignal.d.ts +0 -0
  576. package/lib-esm/{sx.d.ts → src/sx.d.ts} +0 -0
  577. package/lib-esm/{theme-preval.d.ts → src/theme-preval.d.ts} +0 -0
  578. package/lib-esm/{theme.d.ts → src/theme.d.ts} +0 -0
  579. package/lib-esm/{utils → src/utils}/create-slots.d.ts +0 -0
  580. package/lib-esm/{utils → src/utils}/deprecate.d.ts +0 -0
  581. package/lib-esm/{utils → src/utils}/isNumeric.d.ts +0 -0
  582. package/lib-esm/{utils → src/utils}/iterateFocusableElements.d.ts +0 -0
  583. package/lib-esm/{utils → src/utils}/ssr.d.ts +0 -0
  584. package/lib-esm/src/utils/test-deprecations.d.ts +1 -0
  585. package/lib-esm/{utils → src/utils}/test-helpers.d.ts +0 -0
  586. package/{lib → lib-esm/src}/utils/test-matchers.d.ts +0 -0
  587. package/lib-esm/{utils → src/utils}/testing.d.ts +0 -0
  588. package/lib-esm/{utils → src/utils}/theme.d.ts +0 -0
  589. package/lib-esm/{utils → src/utils}/types/AriaRole.d.ts +0 -0
  590. package/lib-esm/{utils → src/utils}/types/ComponentProps.d.ts +0 -0
  591. package/lib-esm/{utils → src/utils}/types/Flatten.d.ts +0 -0
  592. package/lib-esm/{utils → src/utils}/types/KeyPaths.d.ts +0 -0
  593. package/lib-esm/{utils → src/utils}/types/MandateProps.d.ts +0 -0
  594. package/lib-esm/{utils → src/utils}/types/Merge.d.ts +0 -0
  595. package/lib-esm/{utils → src/utils}/types/index.d.ts +0 -0
  596. package/lib-esm/{utils → src/utils}/uniqueId.d.ts +0 -0
  597. package/lib-esm/{utils → src/utils}/use-force-update.d.ts +0 -0
  598. package/lib-esm/{utils → src/utils}/useIsomorphicLayoutEffect.d.ts +0 -0
  599. package/lib-esm/{utils → src/utils}/userAgent.d.ts +0 -0
  600. package/package.json +3 -1
  601. package/lib/ActionList2/Divider.d.ts +0 -6
  602. package/lib/ActionList2/MenuContext.d.ts +0 -10
  603. package/lib/ActionList2/MenuContext.js +0 -15
  604. package/lib/ActionMenu2.d.ts +0 -310
  605. package/lib/ActionMenu2.js +0 -91
  606. package/lib/RadioButton.d.ts +0 -38
  607. package/lib/RadioButton.js +0 -55
  608. package/lib-esm/ActionList2/Divider.d.ts +0 -6
  609. package/lib-esm/ActionList2/MenuContext.d.ts +0 -10
  610. package/lib-esm/ActionList2/MenuContext.js +0 -3
  611. package/lib-esm/ActionMenu2.d.ts +0 -310
  612. package/lib-esm/ActionMenu2.js +0 -67
  613. package/lib-esm/RadioButton.d.ts +0 -38
  614. package/lib-esm/RadioButton.js +0 -40
File without changes
@@ -0,0 +1 @@
1
+ export {};
File without changes
@@ -0,0 +1 @@
1
+ import 'jest-styled-components';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,26 +1,23 @@
1
1
  import React from 'react';
2
2
  import Box from '../Box';
3
3
  import { get } from '../constants';
4
- import { merge } from '../sx';
4
+
5
5
  /**
6
6
  * Visually separates `Item`s or `Group`s in an `ActionList`.
7
7
  */
8
-
9
- export const Divider = ({
10
- sx = {}
11
- }) => {
8
+ export function Divider() {
12
9
  return /*#__PURE__*/React.createElement(Box, {
13
10
  as: "li",
14
11
  role: "separator",
15
- sx: merge({
12
+ sx: {
16
13
  height: 1,
17
14
  backgroundColor: 'actionListItem.inlineDivider',
18
15
  marginTop: theme => `calc(${get('space.2')(theme)} - 1px)`,
19
16
  marginBottom: 2,
20
17
  listStyle: 'none' // hide the ::marker inserted by browser's stylesheet
21
18
 
22
- }, sx),
19
+ },
23
20
  "data-component": "ActionList.Divider"
24
21
  });
25
- };
22
+ }
26
23
  Divider.displayName = "Divider";
@@ -8,7 +8,6 @@ import Box from '../Box';
8
8
  import sx, { merge } from '../sx';
9
9
  import createSlots from '../utils/create-slots';
10
10
  import { ListContext } from './List';
11
- import { MenuContext } from './MenuContext';
12
11
  import { Selection } from './Selection';
13
12
  export const getVariantStyles = (variant, disabled) => {
14
13
  if (disabled) {
@@ -55,7 +54,6 @@ export const Item = /*#__PURE__*/React.forwardRef(({
55
54
  onSelect,
56
55
  sx: sxProp = {},
57
56
  id,
58
- role,
59
57
  _PrivateItemWrapper,
60
58
  ...props
61
59
  }, forwardedRef) => {
@@ -63,10 +61,6 @@ export const Item = /*#__PURE__*/React.forwardRef(({
63
61
  variant: listVariant,
64
62
  showDividers
65
63
  } = React.useContext(ListContext);
66
- const {
67
- itemRole,
68
- afterSelect
69
- } = React.useContext(MenuContext);
70
64
  const {
71
65
  theme
72
66
  } = useTheme();
@@ -141,23 +135,16 @@ export const Item = /*#__PURE__*/React.forwardRef(({
141
135
  const clickHandler = React.useCallback(event => {
142
136
  if (typeof onSelect !== 'function') return;
143
137
  if (disabled) return;
144
-
145
- if (!event.defaultPrevented) {
146
- onSelect(event); // if this Item is inside a Menu, close the Menu
147
-
148
- if (typeof afterSelect === 'function') afterSelect();
149
- }
150
- }, [onSelect, disabled, afterSelect]);
138
+ if (!event.defaultPrevented) onSelect(event);
139
+ }, [onSelect, disabled]);
151
140
  const keyPressHandler = React.useCallback(event => {
152
141
  if (typeof onSelect !== 'function') return;
153
142
  if (disabled) return;
154
143
 
155
144
  if (!event.defaultPrevented && [' ', 'Enter'].includes(event.key)) {
156
- onSelect(event); // if this Item is inside a Menu, close the Menu
157
-
158
- if (typeof afterSelect === 'function') afterSelect();
145
+ onSelect(event);
159
146
  }
160
- }, [onSelect, disabled, afterSelect]); // use props.id if provided, otherwise generate one.
147
+ }, [onSelect, disabled]); // use props.id if provided, otherwise generate one.
161
148
 
162
149
  const labelId = useSSRSafeId(id);
163
150
  const inlineDescriptionId = useSSRSafeId(id && `${id}--inline-description`);
@@ -179,8 +166,7 @@ export const Item = /*#__PURE__*/React.forwardRef(({
179
166
  "aria-disabled": disabled ? true : undefined,
180
167
  tabIndex: disabled || _PrivateItemWrapper ? undefined : 0,
181
168
  "aria-labelledby": `${labelId} ${slots.InlineDescription ? inlineDescriptionId : ''}`,
182
- "aria-describedby": slots.BlockDescription ? blockDescriptionId : undefined,
183
- role: role || itemRole
169
+ "aria-describedby": slots.BlockDescription ? blockDescriptionId : undefined
184
170
  }, props), /*#__PURE__*/React.createElement(ItemWrapper, null, /*#__PURE__*/React.createElement(Selection, {
185
171
  selected: selected
186
172
  }), slots.LeadingVisual, /*#__PURE__*/React.createElement(Box, {
@@ -3,7 +3,6 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
3
3
  import React from 'react';
4
4
  import styled from 'styled-components';
5
5
  import sx, { merge } from '../sx';
6
- import { MenuContext } from './MenuContext';
7
6
  export const ListContext = /*#__PURE__*/React.createContext({});
8
7
  const ListBox = styled.ul.withConfig({
9
8
  displayName: "List__ListBox",
@@ -13,7 +12,6 @@ export const List = /*#__PURE__*/React.forwardRef(({
13
12
  variant = 'inset',
14
13
  selectionVariant,
15
14
  showDividers = false,
16
- role,
17
15
  sx: sxProp = {},
18
16
  ...props
19
17
  }, forwardedRef) => {
@@ -23,14 +21,8 @@ export const List = /*#__PURE__*/React.forwardRef(({
23
21
  // reset ul styles
24
22
  paddingY: variant === 'inset' ? 2 : 0
25
23
  };
26
- /** if list is inside a Menu, it will get a role from the Menu */
27
-
28
- const {
29
- listRole
30
- } = React.useContext(MenuContext);
31
24
  return /*#__PURE__*/React.createElement(ListBox, _extends({
32
- sx: merge(styles, sxProp),
33
- role: role || listRole
25
+ sx: merge(styles, sxProp)
34
26
  }, props, {
35
27
  ref: forwardedRef
36
28
  }), /*#__PURE__*/React.createElement(ListContext.Provider, {
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import { CheckIcon } from '@primer/octicons-react';
3
3
  import { ListContext } from './List';
4
4
  import { GroupContext } from './Group';
5
- import { MenuContext } from './MenuContext';
6
5
  import { LeadingVisualContainer } from './Visuals';
7
6
  export const Selection = ({
8
7
  selected
@@ -13,9 +12,6 @@ export const Selection = ({
13
12
  const {
14
13
  selectionVariant: groupSelectionVariant
15
14
  } = React.useContext(GroupContext);
16
- const {
17
- parent
18
- } = React.useContext(MenuContext);
19
15
  /** selectionVariant in Group can override the selectionVariant in List root */
20
16
 
21
17
  const selectionVariant = typeof groupSelectionVariant !== 'undefined' ? groupSelectionVariant : listSelectionVariant; // if selectionVariant is not set on List, don't show selection
@@ -26,11 +22,6 @@ export const Selection = ({
26
22
  return null;
27
23
  }
28
24
 
29
- if (parent === 'ActionMenu') {
30
- throw new Error('ActionList cannot have a selectionVariant inside ActionMenu, please use DropdownMenu or SelectPanel instead. More information: https://primer.style/design/components/action-list#application');
31
- return null;
32
- }
33
-
34
25
  if (selectionVariant === 'single') {
35
26
  return /*#__PURE__*/React.createElement(LeadingVisualContainer, null, selected && /*#__PURE__*/React.createElement(CheckIcon, null));
36
27
  }
package/lib-esm/drafts.js CHANGED
@@ -6,5 +6,4 @@
6
6
  */
7
7
  // Components
8
8
  export * from './ActionList2';
9
- export * from './NewButton';
10
- export * from './ActionMenu2';
9
+ export * from './NewButton';
package/lib-esm/index.js CHANGED
@@ -17,7 +17,6 @@ export { useOnEscapePress } from './hooks/useOnEscapePress';
17
17
  export { useOverlay } from './hooks/useOverlay';
18
18
  export { useConfirm } from './Dialog/ConfirmationDialog'; // Components
19
19
 
20
- export { default as RadioButton } from './RadioButton';
21
20
  export { ActionList } from './ActionList';
22
21
  export { ActionMenu } from './ActionMenu';
23
22
  export { default as Autocomplete } from './Autocomplete';
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Visually separates `Item`s or `Group`s in an `ActionList`.
4
+ */
5
+ export declare function Divider(): JSX.Element;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { Divider } from './Divider';
2
3
  export type { ListProps as ActionListProps } from './List';
3
4
  export type { GroupProps } from './Group';
4
5
  export type { ItemProps } from './Item';
@@ -25,7 +26,7 @@ export declare const ActionList: import("@radix-ui/react-polymorphic").ForwardRe
25
26
  referrerPolicy?: import("react").HTMLAttributeReferrerPolicy | undefined;
26
27
  }>;
27
28
  /** Visually separates `Item`s or `Group`s in an `ActionList`. */
28
- Divider: import("react").FC<import("../sx").SxProp>;
29
+ Divider: typeof Divider;
29
30
  /** Secondary text which provides additional information about an `Item`. */
30
31
  Description: import("react").FC<import("./Description").DescriptionProps>;
31
32
  /** Icon (or similar) positioned before `Item` text. */
File without changes
@@ -26,6 +26,7 @@ declare const _default: React.FC<{
26
26
  className?: string | undefined;
27
27
  }> | undefined;
28
28
  } & Pick<{
29
+ title?: string | undefined;
29
30
  color?: string | undefined;
30
31
  maxWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
31
32
  minWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
@@ -36,7 +37,6 @@ declare const _default: React.FC<{
36
37
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
37
38
  slot?: string | undefined;
38
39
  style?: React.CSSProperties | undefined;
39
- title?: string | undefined;
40
40
  block?: boolean | undefined;
41
41
  variant?: "small" | "large" | undefined;
42
42
  role?: React.AriaRole | undefined;
@@ -18,6 +18,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
18
18
  className?: string | undefined;
19
19
  }> | undefined;
20
20
  } & Pick<{
21
+ title?: string | undefined;
21
22
  color?: string | undefined;
22
23
  maxWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
23
24
  minWidth?: import("styled-system").ResponsiveValue<import("csstype").Property.MinWidth<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
@@ -28,7 +29,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
28
29
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
29
30
  slot?: string | undefined;
30
31
  style?: React.CSSProperties | undefined;
31
- title?: string | undefined;
32
32
  block?: boolean | undefined;
33
33
  variant?: "small" | "large" | undefined;
34
34
  role?: React.AriaRole | undefined;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -5,6 +5,7 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
6
  variant?: "small" | "medium" | "large" | undefined;
7
7
  } & {
8
+ title?: string | undefined;
8
9
  color?: string | undefined;
9
10
  translate?: "yes" | "no" | undefined;
10
11
  hidden?: boolean | undefined;
@@ -14,7 +15,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
14
15
  form?: string | undefined;
15
16
  slot?: string | undefined;
16
17
  style?: import("react").CSSProperties | undefined;
17
- title?: string | undefined;
18
18
  variant?: "small" | "medium" | "large" | undefined;
19
19
  role?: import("react").AriaRole | undefined;
20
20
  type?: "button" | "reset" | "submit" | undefined;
File without changes
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ComponentProps } from '../utils/types';
3
3
  declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
4
+ title?: string | undefined;
4
5
  color?: string | undefined;
5
6
  translate?: "yes" | "no" | undefined;
6
7
  hidden?: boolean | undefined;
@@ -10,7 +11,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
10
11
  form?: string | undefined;
11
12
  slot?: string | undefined;
12
13
  style?: React.CSSProperties | undefined;
13
- title?: string | undefined;
14
14
  role?: React.AriaRole | undefined;
15
15
  sx?: import("../sx").BetterSystemStyleObject | undefined;
16
16
  type?: "button" | "reset" | "submit" | undefined;
@@ -274,6 +274,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
274
274
  formTarget?: string | undefined;
275
275
  } & {
276
276
  theme?: any;
277
- }, "color" | "translate" | "hidden" | "children" | "theme" | "value" | "form" | "slot" | "style" | "title" | "role" | "sx" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
277
+ }, "title" | "color" | "translate" | "hidden" | "children" | "theme" | "value" | "form" | "slot" | "style" | "role" | "sx" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
278
278
  export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
279
279
  export default ButtonClose;
@@ -5,6 +5,7 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
6
  variant?: "small" | "medium" | "large" | undefined;
7
7
  } & {
8
+ title?: string | undefined;
8
9
  color?: string | undefined;
9
10
  translate?: "yes" | "no" | undefined;
10
11
  hidden?: boolean | undefined;
@@ -14,7 +15,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
14
15
  form?: string | undefined;
15
16
  slot?: string | undefined;
16
17
  style?: import("react").CSSProperties | undefined;
17
- title?: string | undefined;
18
18
  variant?: "small" | "medium" | "large" | undefined;
19
19
  role?: import("react").AriaRole | undefined;
20
20
  type?: "button" | "reset" | "submit" | undefined;
File without changes
@@ -5,6 +5,7 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
6
  variant?: "small" | "medium" | "large" | undefined;
7
7
  } & {
8
+ title?: string | undefined;
8
9
  color?: string | undefined;
9
10
  translate?: "yes" | "no" | undefined;
10
11
  hidden?: boolean | undefined;
@@ -14,7 +15,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
14
15
  form?: string | undefined;
15
16
  slot?: string | undefined;
16
17
  style?: import("react").CSSProperties | undefined;
17
- title?: string | undefined;
18
18
  variant?: "small" | "medium" | "large" | undefined;
19
19
  role?: import("react").AriaRole | undefined;
20
20
  type?: "button" | "reset" | "submit" | undefined;
@@ -5,6 +5,7 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
6
  variant?: "small" | "medium" | "large" | undefined;
7
7
  } & {
8
+ title?: string | undefined;
8
9
  color?: string | undefined;
9
10
  translate?: "yes" | "no" | undefined;
10
11
  hidden?: boolean | undefined;
@@ -14,7 +15,6 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
14
15
  form?: string | undefined;
15
16
  slot?: string | undefined;
16
17
  style?: import("react").CSSProperties | undefined;
17
- title?: string | undefined;
18
18
  variant?: "small" | "medium" | "large" | undefined;
19
19
  role?: import("react").AriaRole | undefined;
20
20
  type?: "button" | "reset" | "submit" | undefined;
@@ -5,6 +5,7 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
6
  variant?: "small" | "medium" | "large" | undefined;
7
7
  } & {
8
+ title?: string | undefined;
8
9
  color?: string | undefined;
9
10
  translate?: "yes" | "no" | undefined;
10
11
  hidden?: boolean | undefined;
@@ -14,7 +15,6 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
14
15
  form?: string | undefined;
15
16
  slot?: string | undefined;
16
17
  style?: import("react").CSSProperties | undefined;
17
- title?: string | undefined;
18
18
  variant?: "small" | "medium" | "large" | undefined;
19
19
  role?: import("react").AriaRole | undefined;
20
20
  type?: "button" | "reset" | "submit" | undefined;
File without changes
File without changes
File without changes
@@ -25,5 +25,5 @@ export declare type CheckboxProps = {
25
25
  /**
26
26
  * An accessible, native checkbox component
27
27
  */
28
- declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "sx" | keyof React.InputHTMLAttributes<HTMLInputElement> | "validationStatus" | "indeterminate"> & React.RefAttributes<HTMLInputElement>>;
28
+ declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "sx" | keyof React.InputHTMLAttributes<HTMLInputElement> | "indeterminate" | "validationStatus"> & React.RefAttributes<HTMLInputElement>>;
29
29
  export default Checkbox;
@@ -12,6 +12,7 @@ declare function CircleOcticon(props: CircleOcticonProps): JSX.Element;
12
12
  declare namespace CircleOcticon {
13
13
  var defaultProps: {
14
14
  size: number;
15
+ title?: string | undefined;
15
16
  lineHeight?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
16
17
  border?: import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
17
18
  alignContent?: import("styled-system").ResponsiveValue<import("csstype").Property.AlignContent, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
@@ -113,7 +114,6 @@ declare namespace CircleOcticon {
113
114
  p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
114
115
  slot?: string | undefined;
115
116
  style?: React.CSSProperties | undefined;
116
- title?: string | undefined;
117
117
  bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
118
118
  m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
119
119
  mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
File without changes
File without changes