@procore/core-react 12.53.1 → 12.53.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 (338) hide show
  1. package/.jest/setupTests.js +1 -2
  2. package/CHANGELOG.md +10 -0
  3. package/dist/AnchorNavigation/AnchorNavigation.styles.d.ts +12 -4
  4. package/dist/AnchorNavigation/AnchorNavigation.styles.js +4 -4
  5. package/dist/Avatar/Avatar.styles.d.ts +15 -5
  6. package/dist/Avatar/Avatar.styles.js +5 -5
  7. package/dist/AvatarStack/AvatarStack.styles.d.ts +113 -29
  8. package/dist/AvatarStack/AvatarStack.styles.js +8 -8
  9. package/dist/Badge/Badge.styles.d.ts +6 -2
  10. package/dist/Badge/Badge.styles.js +2 -2
  11. package/dist/BadgePill/BadgePill.styles.d.ts +12 -4
  12. package/dist/BadgePill/BadgePill.styles.js +4 -4
  13. package/dist/Banner/Banner.styles.d.ts +32 -12
  14. package/dist/Banner/Banner.styles.js +10 -10
  15. package/dist/Box/Box.styles.d.ts +3 -1
  16. package/dist/Box/Box.styles.js +1 -1
  17. package/dist/Breadcrumbs/Breadcrumbs.styles.d.ts +12 -4
  18. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  19. package/dist/Button/Button.styles.d.ts +16 -6
  20. package/dist/Button/Button.styles.js +5 -5
  21. package/dist/Calendar/Calendar.styles.d.ts +48 -14
  22. package/dist/Calendar/Calendar.styles.js +9 -9
  23. package/dist/Card/Card.styles.d.ts +3 -1
  24. package/dist/Card/Card.styles.js +1 -1
  25. package/dist/Checkbox/Checkbox.styles.d.ts +18 -6
  26. package/dist/Checkbox/Checkbox.styles.js +6 -6
  27. package/dist/ContactItem/ContactItem.styles.d.ts +1689 -9
  28. package/dist/ContactItem/ContactItem.styles.js +5 -5
  29. package/dist/Content/Content.styles.d.ts +8 -4
  30. package/dist/Content/Content.styles.js +2 -2
  31. package/dist/DateInput/DateInput.styles.d.ts +25 -10
  32. package/dist/DateInput/DateInput.styles.js +6 -6
  33. package/dist/DetailPage/DetailPage.styles.d.ts +24 -10
  34. package/dist/DetailPage/DetailPage.styles.js +7 -7
  35. package/dist/Dropdown/Dropdown.styles.d.ts +11 -5
  36. package/dist/Dropdown/Dropdown.styles.js +3 -3
  37. package/dist/DropdownFlyout/DropdownFlyout.styles.d.ts +12 -4
  38. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  39. package/dist/Dropzone/Dropzone.d.ts +4 -2
  40. package/dist/Dropzone/Dropzone.js +4 -2
  41. package/dist/Dropzone/Dropzone.js.map +1 -1
  42. package/dist/Dropzone/Dropzone.styles.d.ts +31 -13
  43. package/dist/Dropzone/Dropzone.styles.js +9 -9
  44. package/dist/EmptyState/EmptyState.styles.d.ts +18 -6
  45. package/dist/EmptyState/EmptyState.styles.js +6 -6
  46. package/dist/Field/Field.styles.d.ts +9 -3
  47. package/dist/Field/Field.styles.js +3 -3
  48. package/dist/FileList/FileList.styles.d.ts +11 -5
  49. package/dist/FileList/FileList.styles.js +3 -3
  50. package/dist/FileSelect/FileExplorer/FileExplorer.styles.d.ts +37 -12
  51. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  52. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.d.ts +10 -4
  53. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  54. package/dist/FileSelect/FileSelect.styles.d.ts +7 -3
  55. package/dist/FileSelect/FileSelect.styles.js +2 -2
  56. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.d.ts +7 -3
  57. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  58. package/dist/FileSelect/FileTokenList/FileTokenList.styles.d.ts +7 -3
  59. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  60. package/dist/FileSelect/GridSource/GridSource.styles.d.ts +19 -7
  61. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  62. package/dist/FileSelect/LocalSource/LocalSource.js +1 -1
  63. package/dist/FileSelect/LocalSource/LocalSource.js.map +1 -1
  64. package/dist/FileSelect/LocalSource/LocalSource.styles.d.ts +20 -7
  65. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  66. package/dist/FileSelect/SourceItem/SourceItem.styles.d.ts +9 -3
  67. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  68. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +29 -11
  69. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  70. package/dist/FileSelect/TreeSource/TreeSource.styles.d.ts +3 -1
  71. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  72. package/dist/FileToken/FileToken.styles.d.ts +18 -6
  73. package/dist/FileToken/FileToken.styles.js +6 -6
  74. package/dist/FilterToken/FilterToken.styles.d.ts +15 -5
  75. package/dist/FilterToken/FilterToken.styles.js +5 -5
  76. package/dist/FlexList/FlexList.styles.d.ts +3 -1
  77. package/dist/FlexList/FlexList.styles.js +1 -1
  78. package/dist/Form/Form.styles.d.ts +59 -532
  79. package/dist/Form/Form.styles.js +13 -13
  80. package/dist/Form/StyledFormikForm.styles.d.ts +7 -3
  81. package/dist/Form/StyledFormikForm.styles.js +2 -2
  82. package/dist/Form/stories/util.js.map +1 -1
  83. package/dist/GhostPlaceholder/GhostPlaceholder.styles.d.ts +13 -2
  84. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  85. package/dist/Grid/Grid.styles.d.ts +6 -2
  86. package/dist/Grid/Grid.styles.js +2 -2
  87. package/dist/GroupSelect/GroupSelect.styles.d.ts +1 -1
  88. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  89. package/dist/Input/Input.styles.d.ts +3 -1
  90. package/dist/Input/Input.styles.js +1 -1
  91. package/dist/Link/Link.styles.d.ts +3 -1
  92. package/dist/Link/Link.styles.js +1 -1
  93. package/dist/ListPage/ListPage.styles.d.ts +24 -8
  94. package/dist/ListPage/ListPage.styles.js +8 -8
  95. package/dist/Loader/Loader.styles.d.ts +6 -2
  96. package/dist/Loader/Loader.styles.js +2 -2
  97. package/dist/MenuImperative/MenuImperative.styles.d.ts +34 -12
  98. package/dist/MenuImperative/MenuImperative.styles.js +11 -11
  99. package/dist/MenuImperative/MenuImperative.types.d.ts +1 -1
  100. package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
  101. package/dist/Modal/Modal.d.ts +12 -4
  102. package/dist/Modal/Modal.styles.d.ts +41 -15
  103. package/dist/Modal/Modal.styles.js +13 -13
  104. package/dist/MultiSelect/MultiSelect.styles.d.ts +41 -12
  105. package/dist/MultiSelect/MultiSelect.styles.js +8 -8
  106. package/dist/NextMenu/NextMenu.styles.d.ts +9 -3
  107. package/dist/NextMenu/NextMenu.styles.js +3 -3
  108. package/dist/NextTile/NextTile.styles.d.ts +9 -5
  109. package/dist/NextTile/NextTile.styles.js +5 -5
  110. package/dist/Notation/Notation.js +1 -1
  111. package/dist/NumberInput/NumberInput.styles.d.ts +34 -8
  112. package/dist/NumberInput/NumberInput.styles.js +7 -7
  113. package/dist/Overlay/OverlayArrow.styles.d.ts +3 -1
  114. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  115. package/dist/PageLayout/PageLayout.styles.d.ts +93 -20
  116. package/dist/PageLayout/PageLayout.styles.js +16 -16
  117. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.d.ts +3 -1
  118. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  119. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +11 -5
  120. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  121. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.d.ts +20 -8
  122. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  123. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.d.ts +10 -4
  124. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  125. package/dist/Pagination/Pagination.styles.d.ts +19 -9
  126. package/dist/Pagination/Pagination.styles.js +5 -5
  127. package/dist/Panel/Panel.js.map +1 -1
  128. package/dist/Panel/Panel.styles.d.ts +35 -13
  129. package/dist/Panel/Panel.styles.js +11 -11
  130. package/dist/Pill/Pill.styles.d.ts +9 -3
  131. package/dist/Pill/Pill.styles.js +3 -3
  132. package/dist/PillSelect/PillSelect.styles.d.ts +13 -5
  133. package/dist/PillSelect/PillSelect.styles.js +4 -4
  134. package/dist/Popover/Popover.styles.d.ts +6 -2
  135. package/dist/Popover/Popover.styles.js +2 -2
  136. package/dist/Portal/Portal.styles.d.ts +3 -1
  137. package/dist/Portal/Portal.styles.js +1 -1
  138. package/dist/ProgressBar/ProgressBar.styles.d.ts +6 -2
  139. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  140. package/dist/RadioButton/RadioButton.styles.d.ts +9 -3
  141. package/dist/RadioButton/RadioButton.styles.js +3 -3
  142. package/dist/Required/Required.styles.d.ts +9 -3
  143. package/dist/Required/Required.styles.js +3 -3
  144. package/dist/Search/Search.styles.d.ts +28 -6
  145. package/dist/Search/Search.styles.js +5 -5
  146. package/dist/Section/Section.styles.d.ts +22 -8
  147. package/dist/Section/Section.styles.js +7 -7
  148. package/dist/SegmentedController/SegmentedController.styles.d.ts +12 -4
  149. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  150. package/dist/Select/Select.styles.d.ts +26 -10
  151. package/dist/Select/Select.styles.js +8 -8
  152. package/dist/Semantic/Semantic.styles.d.ts +46 -352
  153. package/dist/Semantic/Semantic.styles.js +9 -9
  154. package/dist/Slider/Slider.styles.d.ts +16 -6
  155. package/dist/Slider/Slider.styles.js +5 -5
  156. package/dist/Spinner/Spinner.styles.d.ts +21 -7
  157. package/dist/Spinner/Spinner.styles.js +7 -7
  158. package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
  159. package/dist/SplitViewCard/SplitViewCard.styles.d.ts +25 -9
  160. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  161. package/dist/SuperSelect/SuperSelect.js +2 -1
  162. package/dist/SuperSelect/SuperSelect.js.map +1 -1
  163. package/dist/SuperSelect/SuperSelect.presets.styles.d.ts +4 -2
  164. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  165. package/dist/SuperSelect/SuperSelect.styles.d.ts +127 -47
  166. package/dist/SuperSelect/SuperSelect.styles.js +40 -40
  167. package/dist/SuperSelect/useSuperSelect.js +1 -2
  168. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  169. package/dist/Switch/Switch.styles.d.ts +12 -4
  170. package/dist/Switch/Switch.styles.js +4 -4
  171. package/dist/Table/Table.styles.d.ts +90 -34
  172. package/dist/Table/Table.styles.js +29 -29
  173. package/dist/TableShelf/TableShelf.styles.d.ts +15 -5
  174. package/dist/TableShelf/TableShelf.styles.js +5 -5
  175. package/dist/Tabs/Tabs.styles.d.ts +121 -21
  176. package/dist/Tabs/Tabs.styles.js +16 -16
  177. package/dist/Tearsheet/Tearsheet.styles.d.ts +15 -5
  178. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  179. package/dist/TextArea/TextArea.styles.d.ts +3 -1
  180. package/dist/TextArea/TextArea.styles.js +1 -1
  181. package/dist/TextEditorOutput/TextEditorOutput.styles.d.ts +3 -1
  182. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  183. package/dist/Thumbnail/Thumbnail.hooks.d.ts +20 -20
  184. package/dist/Thumbnail/Thumbnail.js +40 -38
  185. package/dist/Thumbnail/Thumbnail.js.map +1 -1
  186. package/dist/Thumbnail/Thumbnail.styles.d.ts +62 -22
  187. package/dist/Thumbnail/Thumbnail.styles.js +21 -21
  188. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +33 -13
  189. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  190. package/dist/TieredDropdown/TieredDropdown.js +6 -0
  191. package/dist/TieredDropdown/TieredDropdown.js.map +1 -1
  192. package/dist/TieredSelect/LeafSelectionTieredSelect.js +4 -0
  193. package/dist/TieredSelect/LeafSelectionTieredSelect.js.map +1 -1
  194. package/dist/TieredSelect/TierSelectionTieredSelect.js +25 -13
  195. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  196. package/dist/TieredSelect/TieredSelect.styles.d.ts +54 -17
  197. package/dist/TieredSelect/TieredSelect.styles.js +18 -12
  198. package/dist/TieredSelect/TieredSelect.styles.js.map +1 -1
  199. package/dist/TieredSelect/TieredSelect.types.d.ts +6 -0
  200. package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
  201. package/dist/TieredSelect/TieredSelectMenu.js +10 -5
  202. package/dist/TieredSelect/TieredSelectMenu.js.map +1 -1
  203. package/dist/Tile/Tile.styles.d.ts +32 -9
  204. package/dist/Tile/Tile.styles.js +8 -8
  205. package/dist/Title/Title.styles.d.ts +30 -9
  206. package/dist/Title/Title.styles.js +7 -7
  207. package/dist/Toast/Toast.styles.d.ts +10 -4
  208. package/dist/Toast/Toast.styles.js +3 -3
  209. package/dist/ToggleButton/ToggleButton.styles.d.ts +3 -1
  210. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  211. package/dist/Token/Token.styles.d.ts +16 -6
  212. package/dist/Token/Token.styles.js +5 -5
  213. package/dist/ToolHeader/ToolHeader.d.ts +14 -6
  214. package/dist/ToolHeader/ToolHeader.styles.d.ts +19 -7
  215. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  216. package/dist/ToolLandingPage/ToolLandingPage.styles.d.ts +10 -4
  217. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  218. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.d.ts +1 -1
  219. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.js.map +1 -1
  220. package/dist/Tooltip/Tooltip.styles.d.ts +9 -3
  221. package/dist/Tooltip/Tooltip.styles.js +3 -3
  222. package/dist/Tree/Tree.js +1 -1
  223. package/dist/Tree/Tree.styles.d.ts +52 -13
  224. package/dist/Tree/Tree.styles.js +10 -10
  225. package/dist/Typeahead/Typeahead.styles.d.ts +12 -4
  226. package/dist/Typeahead/Typeahead.styles.js +4 -4
  227. package/dist/Typography/Typography.styles.d.ts +4 -2
  228. package/dist/Typography/Typography.styles.js +1 -1
  229. package/dist/Typography/Typography.styles.js.map +1 -1
  230. package/dist/Typography/Typography.table.story.js +2 -2
  231. package/dist/_hooks/I18n.d.ts +90 -0
  232. package/dist/_locales/de-DE.json +9 -4
  233. package/dist/_locales/en-AU.json +5 -0
  234. package/dist/_locales/en-CA.json +5 -0
  235. package/dist/_locales/en-GB.json +5 -0
  236. package/dist/_locales/es-ES.json +6 -1
  237. package/dist/_locales/es.json +5 -0
  238. package/dist/_locales/fr-CA.json +5 -0
  239. package/dist/_locales/fr-FR.json +5 -0
  240. package/dist/_locales/is-IS.json +5 -0
  241. package/dist/_locales/it-IT.json +5 -0
  242. package/dist/_locales/ja-JP.json +5 -0
  243. package/dist/_locales/nb-NO.json +5 -0
  244. package/dist/_locales/pl-PL.json +5 -0
  245. package/dist/_locales/pt-BR.json +5 -0
  246. package/dist/_locales/pt-PT.json +5 -0
  247. package/dist/_locales/th-TH.json +5 -0
  248. package/dist/_locales/zh-SG.json +5 -0
  249. package/dist/_locales/zh-TW.json +5 -0
  250. package/dist/_storyHelpers_/components/Deprecation.styles.d.ts +4 -2
  251. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  252. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  253. package/dist/_styles/mixins.d.ts +2 -2
  254. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +7 -7
  255. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  256. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  257. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  258. package/dist/_typedoc/Banner/Banner.types.json +17 -17
  259. package/dist/_typedoc/Box/Box.types.json +68 -68
  260. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +12 -12
  261. package/dist/_typedoc/Button/Button.types.json +14 -14
  262. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  263. package/dist/_typedoc/Card/Card.types.json +6 -6
  264. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  265. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  266. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  267. package/dist/_typedoc/DateSelect/DateSelect.types.json +14 -14
  268. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  269. package/dist/_typedoc/DetailPageTemplate/DetailPageTemplate.types.json +3 -3
  270. package/dist/_typedoc/Dropdown/Dropdown.types.json +38 -38
  271. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +37 -37
  272. package/dist/_typedoc/Dropzone/Dropzone.types.json +50 -50
  273. package/dist/_typedoc/EmptyState/EmptyState.types.json +18 -18
  274. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  275. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  276. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  277. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  278. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +17 -17
  279. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  280. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  281. package/dist/_typedoc/Form/Form.types.json +845 -845
  282. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  283. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  284. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +79 -79
  285. package/dist/_typedoc/Input/Input.types.json +2 -2
  286. package/dist/_typedoc/Link/Link.types.json +1 -1
  287. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  288. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  289. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +133 -86
  290. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  291. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  292. package/dist/_typedoc/NextTile/NextTile.types.json +33 -33
  293. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  294. package/dist/_typedoc/NumberInput/NumberInput.types.json +58 -58
  295. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  296. package/dist/_typedoc/PageLayout/PageLayout.types.json +40 -40
  297. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  298. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  299. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  300. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  301. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  302. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  303. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  304. package/dist/_typedoc/Required/Required.types.json +5 -5
  305. package/dist/_typedoc/Search/Search.types.json +18 -18
  306. package/dist/_typedoc/Section/Section.types.json +15 -15
  307. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  308. package/dist/_typedoc/Select/Select.types.json +67 -67
  309. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  310. package/dist/_typedoc/SettingsPageTemplate/SettingsPageTemplate.types.json +3 -3
  311. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  312. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  313. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  314. package/dist/_typedoc/Table/Table.types.json +105 -105
  315. package/dist/_typedoc/Tabs/Tablist.types.json +10 -10
  316. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  317. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  318. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  319. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  320. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  321. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  322. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  323. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  324. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  325. package/dist/_typedoc/Title/Title.types.json +1 -1
  326. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  327. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  328. package/dist/_typedoc/Token/Token.types.json +7 -7
  329. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  330. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
  331. package/dist/_typedoc/ToolLandingPageTemplate/ToolLandingPageTemplate.types.json +2 -2
  332. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  333. package/dist/_typedoc/Tree/Tree.types.json +132 -132
  334. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  335. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  336. package/dist/_typedoc/_utils/types.json +3 -3
  337. package/dist/_typedoc/a11y-tips.json +1 -1
  338. package/package.json +10 -11
@@ -1,14 +1,32 @@
1
- export declare const StyledWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const StyledMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const StyledOptions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1
+ export declare const StyledWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
3
+ }> & string;
4
+ export declare const StyledMenu: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
5
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
6
+ }> & string;
7
+ export declare const StyledOptions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }, {
4
10
  $scrollable?: boolean;
5
11
  }>> & string;
6
- export declare const StyledGrip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
7
- export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
- export declare const StyledSearch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
- export declare const StyledGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
10
- export declare const StyledGroupLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
11
- export declare const StyledItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
12
+ export declare const StyledGrip: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
13
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string;
15
+ export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
16
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
17
+ }> & string;
18
+ export declare const StyledSearch: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
19
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
20
+ }> & string;
21
+ export declare const StyledGroup: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
22
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
23
+ }> & string;
24
+ export declare const StyledGroupLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
25
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
26
+ }> & string;
27
+ export declare const StyledItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
28
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
29
+ }, {
12
30
  $disabled?: boolean;
13
31
  $selected?: boolean;
14
32
  $highlighted?: boolean;
@@ -16,7 +34,11 @@ export declare const StyledItem: import("styled-components/dist/types").IStyledC
16
34
  $isDraggable?: boolean;
17
35
  $isDragging?: boolean;
18
36
  }>> & string;
19
- export declare const StyledDroppable: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
20
- export declare const StyledFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
37
+ export declare const StyledDroppable: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
38
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
39
+ }> & string;
40
+ export declare const StyledFooter: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
21
41
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
22
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
42
+ }, "style"> & {
43
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
44
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
@@ -11,15 +11,15 @@ var optionMinHeight = 32;
11
11
  // Do not merge with StyledMenu, needed for max-height working in IE
12
12
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledWrapper",
14
- componentId: "core-12_53_1__sc-z984sz-0"
14
+ componentId: "core-12_53_2__sc-z984sz-0"
15
15
  })(["border-radius:inherit;display:flex;max-height:inherit;min-width:inherit;outline:none;width:inherit;"]);
16
16
  export var StyledMenu = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledMenu",
18
- componentId: "core-12_53_1__sc-z984sz-1"
18
+ componentId: "core-12_53_2__sc-z984sz-1"
19
19
  })(["border-radius:inherit;display:flex;flex-direction:column;outline:0;width:100%;"]);
20
20
  export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
21
21
  displayName: "StyledOptions",
22
- componentId: "core-12_53_1__sc-z984sz-2"
22
+ componentId: "core-12_53_2__sc-z984sz-2"
23
23
  })(["flex-basis:auto;flex-grow:1;flex-shrink:1;min-height:", "px;", ";padding:", "px 0;position:relative;&:focus-visible{", " margin:-1px;}ol&{padding:", "px 0;list-style-type:none;margin:0;}"], optionMinHeight, function (_ref) {
24
24
  var _ref$$scrollable = _ref.$scrollable,
25
25
  $scrollable = _ref$$scrollable === void 0 ? true : _ref$$scrollable;
@@ -27,27 +27,27 @@ export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
27
27
  }, spacing.sm, getFocus(), spacing.sm);
28
28
  export var StyledGrip = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledGrip",
30
- componentId: "core-12_53_1__sc-z984sz-3"
30
+ componentId: "core-12_53_2__sc-z984sz-3"
31
31
  })(["padding:0 2px;height:24px;"]);
32
32
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledHeader",
34
- componentId: "core-12_53_1__sc-z984sz-4"
34
+ componentId: "core-12_53_2__sc-z984sz-4"
35
35
  })([""]);
36
36
  export var StyledSearch = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSearch",
38
- componentId: "core-12_53_1__sc-z984sz-5"
38
+ componentId: "core-12_53_2__sc-z984sz-5"
39
39
  })(["padding:", "px ", "px ", "px;", " > *{pointer-events:none;}"], spacing.lg, spacing.lg, spacing.sm, StyledButton);
40
40
  export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledGroup",
42
- componentId: "core-12_53_1__sc-z984sz-6"
42
+ componentId: "core-12_53_2__sc-z984sz-6"
43
43
  })(["&:not(:first-child){margin-top:", "px;}"], spacing.md);
44
44
  export var StyledGroupLabel = /*#__PURE__*/styled.span.withConfig({
45
45
  displayName: "StyledGroupLabel",
46
- componentId: "core-12_53_1__sc-z984sz-7"
46
+ componentId: "core-12_53_2__sc-z984sz-7"
47
47
  })(["", " display:block;color:", ";font-weight:", ";padding:", "px ", "px;cursor:default;"], getTypographyIntent('body'), colors.gray15, typographyWeights.semibold, spacing.xs, spacing.lg);
48
48
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledItem",
50
- componentId: "core-12_53_1__sc-z984sz-8"
50
+ componentId: "core-12_53_2__sc-z984sz-8"
51
51
  })(["", ";", " cursor:pointer;list-style-type:none;padding:", "px ", "px;a{color:", ";display:block;margin:-", "px -", "px;padding:", "px ", "px;text-decoration:none;&:hover{color:", ";text-decoration:none;}}&[data-highlighted='true']{background-color:", ";}&[data-focus-visible='true']{box-shadow:inset 0 0 0 2px ", ";}", " ", " ", "{color:inherit;cursor:pointer;}", " ", " ", ""], getTypographyIntent('body'), function (_ref2) {
52
52
  var as = _ref2.as;
53
53
  return as === 'a' && css(["display:block;text-decoration:none;"]);
@@ -79,10 +79,10 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
79
79
  });
80
80
  export var StyledDroppable = /*#__PURE__*/styled.div.withConfig({
81
81
  displayName: "StyledDroppable",
82
- componentId: "core-12_53_1__sc-z984sz-9"
82
+ componentId: "core-12_53_2__sc-z984sz-9"
83
83
  })(["", ",", "{padding-left:28px;}"], StyledGroup, StyledItem);
84
84
  export var StyledFooter = /*#__PURE__*/styled(Box).withConfig({
85
85
  displayName: "StyledFooter",
86
- componentId: "core-12_53_1__sc-z984sz-10"
86
+ componentId: "core-12_53_2__sc-z984sz-10"
87
87
  })(["border-top:1px solid ", ";border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;"], colors.gray85);
88
88
  //# sourceMappingURL=MenuImperative.styles.js.map
@@ -192,7 +192,7 @@ export interface ItemWithDraggingProps extends ItemProps {
192
192
  */
193
193
  draggableIndex: number;
194
194
  }
195
- interface AnchorItemProps extends Omit<ItemProps, 'item'>, Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick'> {
195
+ export interface AnchorItemProps extends Omit<ItemProps, 'item'>, Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick'> {
196
196
  }
197
197
  export type MenuItemProps = ItemProps | ItemWithDraggingProps | AnchorItemProps;
198
198
  export type MenuItemDefaultElement = 'div' | 'a';
@@ -1 +1 @@
1
- {"version":3,"file":"MenuImperative.types.js","names":[],"sources":["../../src/MenuImperative/MenuImperative.types.ts"],"sourcesContent":["import type * as React from 'react'\nimport type { BoxProps } from '../Box'\nimport type {\n TypeaheadInputProps,\n TypeaheadProps,\n} from '../Typeahead/Typeahead.types'\nimport type { Props } from '../_utils/types'\n\nexport type Ref<T> =\n | ((instance: T | null) => void)\n | React.MutableRefObject<T | null>\n | null\n\ntype Div = React.ComponentPropsWithoutRef<'div'>\n\nexport interface Selection {\n /**\n * @since 10.19.0\n */\n event:\n | React.MouseEvent<HTMLElement, MouseEvent>\n | React.KeyboardEvent<HTMLElement>\n /**\n * @since 10.19.0\n */\n group: boolean\n /**\n * @since 10.19.0\n */\n item: any\n /**\n * @since 10.19.0\n */\n action: 'selected' | 'unselected'\n /**\n * Indicates should focus be restored to the trigger(e.g. Button of Dropdown)\n * after activating this item. If all items return focus to the trigger once activated,\n * try just `restoreFocusOnHide` on `Dropdown` instead.\n * if it is `undefined`, it is omitted in onSelect callback.\n * @since 11.15.0\n */\n restoreFocus?: boolean\n}\n\nexport interface Reorder {\n /**\n * @since 10.19.0\n */\n draggableId: string\n /**\n * @since 10.19.0\n */\n source: {\n index: number\n droppableId: string\n }\n /**\n * @since 10.19.0\n */\n destination: {\n index: number\n droppableId: string\n }\n}\n\ntype MenuRole = 'menu' | 'listbox' | 'none'\n\nexport interface MenuProps extends Omit<Div, 'onSelect' | 'onDragEnd'> {\n /**\n * @since 10.19.0\n */\n circular?: boolean\n /**\n * Set aria-multiselectable=\"true\"\n * @since 10.19.0\n */\n multiple?: boolean\n /**\n * @since 10.19.0\n */\n onDragEnd?: (result: Reorder) => void\n /**\n * @since 10.19.0\n */\n onScrollBottom?: (e: React.UIEvent<HTMLDivElement, UIEvent>) => void\n /**\n * @since 10.19.0\n */\n onSelect?: (selection: Selection) => any\n /**\n * A menu is a widget that offers a list of choices to the user, such as a set of actions or functions.\n *\n * A listbox widget presents a list of options and allows a user to select one or more of them.\n *\n * @since 11.3.0\n */\n role?: MenuRole\n /**\n * Used when navigation in the menu is controlled by search or another input,\n * called each time virtual focus (highlighted item) is changed\n * Consider use `useMenuImperativeControlNavigation` hook.\n *\n * @since 11.5.0\n */\n onChangeActiveDescendant?: (id: string | undefined) => void\n /**\n * To override default menu navigation\n * @since 11.5.0\n */\n onKeyboardNavigation?: React.KeyboardEventHandler\n}\n\nexport interface MenuRef {\n /**\n * @since 10.19.0\n */\n el: HTMLDivElement | null\n /**\n * @since 10.19.0\n */\n highlight: (item: HTMLElement, shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightFirst: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightLast: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightSelected: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightSuggested: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlighted: () => any\n /**\n * @since 10.19.0\n */\n next: (circular?: boolean) => void\n /**\n * @since 10.19.0\n */\n prev: (circular?: boolean) => void\n /**\n * @since 10.19.0\n */\n select: (\n event:\n | React.MouseEvent<HTMLElement, MouseEvent>\n | React.KeyboardEvent<HTMLElement>\n ) => void\n /**\n * Usefully for extending navigation behavior with `onKeyboardNavigation`.\n * Pay attention that `ref` is `null` on first render.\n *\n * ```\n * onKeyboardNavigation={(e) => {\n * if (e.key === 'Right' || e.key === 'ArrowRight') {\n * return navigateRight()\n * }\n *\n * ref.defaultKeyDownNavigationHandler(e)\n * }}\n * ```\n *\n * @since 11.5.0\n */\n defaultKeyDownNavigationHandler: React.KeyboardEventHandler\n}\n\nexport interface ItemProps {\n /**\n * @since 10.19.0\n */\n item: any\n /**\n * @since 10.19.0\n */\n selected?: boolean\n /**\n * @since 10.19.0\n */\n suggested?: boolean\n /**\n * @since 10.19.0\n */\n disabled?: boolean\n /**\n * @a11y Focus will be restored to the trigger after after activating this item.\n * Use `Dropdown restoreFocusOnHide` instead if all items return focus to the trigger once activated.\n * @since 11.15.0\n */\n restoreFocus?: boolean\n}\n\nexport interface ItemWithDraggingProps extends ItemProps {\n /**\n * @since 10.19.0\n */\n droppableIn: string | string[]\n /**\n * @since 10.19.0\n */\n draggableId: string\n /**\n * @since 10.19.0\n */\n draggableIndex: number\n}\n\ninterface AnchorItemProps\n extends Omit<ItemProps, 'item'>,\n Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick'> {}\n\nexport type MenuItemProps = ItemProps | ItemWithDraggingProps | AnchorItemProps\n\nexport type MenuItemDefaultElement = 'div' | 'a'\n\n/**\n * @a11y When drag-and-drop is enabled, `children` should be a string so it\n * can be used for DnD announcements (exposed as `data-title`).\n */\nexport interface GroupProps {\n /**\n * @since 10.19.0\n */\n clickable?: boolean\n\n /**\n * @since 10.19.0\n */\n item?: any\n\n /**\n * @since 12.39.0\n */\n label?: string\n /**\n * @since 12.39.0\n */\n labelId?: string\n}\n\nexport interface OptionsProps {\n /**\n * @since 10.19.0\n */\n children?: React.ReactNode\n /**\n * @since 10.19.0\n */\n className?: string\n /**\n * @since 12.51.1\n */\n onMouseLeave?: React.MouseEventHandler<HTMLDivElement>\n}\n\nexport interface MenuSearchProps\n extends Omit<TypeaheadProps, 'onChange'>,\n TypeaheadInputProps,\n Props {\n /**\n * @since 10.19.0\n */\n i18nScope?: string\n /**\n * @since 10.21.0\n */\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void\n /**\n * Controls the search input value. When provided, the search input becomes\n * a controlled component and the parent must manage the value state.\n * @since 12.34.0\n */\n value?: string\n}\n\nexport interface HeaderProps extends Props {\n /**\n * @since 10.19.0\n */\n tabIndex?: number\n}\n\nexport interface DroppableProps {\n /**\n * @since 10.19.0\n */\n id: string\n /**\n * @since 10.19.0\n */\n children: React.ReactNode\n /**\n * @since 12.34.2\n */\n 'aria-label'?: string\n /**\n * @since 12.34.2\n */\n 'aria-labelledby'?: string\n /**\n * @since 12.34.2\n */\n role?: React.AriaRole\n /**\n * @since 12.34.2\n */\n 'aria-multiselectable'?: boolean\n}\n\nexport interface FooterProps extends Omit<BoxProps, 'as'> {}\n\nexport interface MenuContext {\n /**\n * @since 11.5.0\n */\n a11yOptionsProps: {\n role?: MenuRole\n onKeyboardNavigation?: React.KeyboardEventHandler | null\n tabIndex?: number\n id?: string\n }\n /**\n * @since 10.19.0\n */\n currentlyDroppableIn: string[]\n /**\n * @since 12.34.2\n */\n dndInstructionsId: string\n /**\n * @since 10.19.0\n */\n onHoverItem: (el?: HTMLDivElement) => void\n /**\n * @since 12.34.2\n */\n onFocusItem: (el?: HTMLDivElement) => void\n /**\n * @since 12.34.2\n */\n onBlurItem: (el?: HTMLDivElement) => void\n /**\n * @since 12.51.1\n */\n onMouseLeaveItems: () => void\n /**\n * @since 10.19.0\n */\n onScrollBottom: (e: React.UIEvent<HTMLDivElement, UIEvent>) => void\n /**\n * @since 10.19.0\n */\n onSelect: (selection: Selection) => void\n /**\n * @since 11.3.0\n */\n role: MenuRole\n}\n\nexport interface ControlNavigationProps {\n menuId?: MenuProps['id']\n}\n\nexport interface ControlNavigationReturn {\n menuNavigationTriggerProps: {\n 'aria-activedescendant'?: string\n 'aria-controls'?: string\n onKeyDown?: React.KeyboardEventHandler<Element>\n }\n menuProps: {\n onChangeActiveDescendant?: React.Dispatch<\n React.SetStateAction<string | undefined>\n >\n id: string\n }\n}\n"],"mappings":"","ignoreList":[]}
1
+ {"version":3,"file":"MenuImperative.types.js","names":[],"sources":["../../src/MenuImperative/MenuImperative.types.ts"],"sourcesContent":["import type * as React from 'react'\nimport type { BoxProps } from '../Box'\nimport type {\n TypeaheadInputProps,\n TypeaheadProps,\n} from '../Typeahead/Typeahead.types'\nimport type { Props } from '../_utils/types'\n\nexport type Ref<T> =\n | ((instance: T | null) => void)\n | React.MutableRefObject<T | null>\n | null\n\ntype Div = React.ComponentPropsWithoutRef<'div'>\n\nexport interface Selection {\n /**\n * @since 10.19.0\n */\n event:\n | React.MouseEvent<HTMLElement, MouseEvent>\n | React.KeyboardEvent<HTMLElement>\n /**\n * @since 10.19.0\n */\n group: boolean\n /**\n * @since 10.19.0\n */\n item: any\n /**\n * @since 10.19.0\n */\n action: 'selected' | 'unselected'\n /**\n * Indicates should focus be restored to the trigger(e.g. Button of Dropdown)\n * after activating this item. If all items return focus to the trigger once activated,\n * try just `restoreFocusOnHide` on `Dropdown` instead.\n * if it is `undefined`, it is omitted in onSelect callback.\n * @since 11.15.0\n */\n restoreFocus?: boolean\n}\n\nexport interface Reorder {\n /**\n * @since 10.19.0\n */\n draggableId: string\n /**\n * @since 10.19.0\n */\n source: {\n index: number\n droppableId: string\n }\n /**\n * @since 10.19.0\n */\n destination: {\n index: number\n droppableId: string\n }\n}\n\ntype MenuRole = 'menu' | 'listbox' | 'none'\n\nexport interface MenuProps extends Omit<Div, 'onSelect' | 'onDragEnd'> {\n /**\n * @since 10.19.0\n */\n circular?: boolean\n /**\n * Set aria-multiselectable=\"true\"\n * @since 10.19.0\n */\n multiple?: boolean\n /**\n * @since 10.19.0\n */\n onDragEnd?: (result: Reorder) => void\n /**\n * @since 10.19.0\n */\n onScrollBottom?: (e: React.UIEvent<HTMLDivElement, UIEvent>) => void\n /**\n * @since 10.19.0\n */\n onSelect?: (selection: Selection) => any\n /**\n * A menu is a widget that offers a list of choices to the user, such as a set of actions or functions.\n *\n * A listbox widget presents a list of options and allows a user to select one or more of them.\n *\n * @since 11.3.0\n */\n role?: MenuRole\n /**\n * Used when navigation in the menu is controlled by search or another input,\n * called each time virtual focus (highlighted item) is changed\n * Consider use `useMenuImperativeControlNavigation` hook.\n *\n * @since 11.5.0\n */\n onChangeActiveDescendant?: (id: string | undefined) => void\n /**\n * To override default menu navigation\n * @since 11.5.0\n */\n onKeyboardNavigation?: React.KeyboardEventHandler\n}\n\nexport interface MenuRef {\n /**\n * @since 10.19.0\n */\n el: HTMLDivElement | null\n /**\n * @since 10.19.0\n */\n highlight: (item: HTMLElement, shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightFirst: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightLast: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightSelected: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlightSuggested: (shouldScroll?: boolean) => void\n /**\n * @since 10.19.0\n */\n highlighted: () => any\n /**\n * @since 10.19.0\n */\n next: (circular?: boolean) => void\n /**\n * @since 10.19.0\n */\n prev: (circular?: boolean) => void\n /**\n * @since 10.19.0\n */\n select: (\n event:\n | React.MouseEvent<HTMLElement, MouseEvent>\n | React.KeyboardEvent<HTMLElement>\n ) => void\n /**\n * Usefully for extending navigation behavior with `onKeyboardNavigation`.\n * Pay attention that `ref` is `null` on first render.\n *\n * ```\n * onKeyboardNavigation={(e) => {\n * if (e.key === 'Right' || e.key === 'ArrowRight') {\n * return navigateRight()\n * }\n *\n * ref.defaultKeyDownNavigationHandler(e)\n * }}\n * ```\n *\n * @since 11.5.0\n */\n defaultKeyDownNavigationHandler: React.KeyboardEventHandler\n}\n\nexport interface ItemProps {\n /**\n * @since 10.19.0\n */\n item: any\n /**\n * @since 10.19.0\n */\n selected?: boolean\n /**\n * @since 10.19.0\n */\n suggested?: boolean\n /**\n * @since 10.19.0\n */\n disabled?: boolean\n /**\n * @a11y Focus will be restored to the trigger after after activating this item.\n * Use `Dropdown restoreFocusOnHide` instead if all items return focus to the trigger once activated.\n * @since 11.15.0\n */\n restoreFocus?: boolean\n}\n\nexport interface ItemWithDraggingProps extends ItemProps {\n /**\n * @since 10.19.0\n */\n droppableIn: string | string[]\n /**\n * @since 10.19.0\n */\n draggableId: string\n /**\n * @since 10.19.0\n */\n draggableIndex: number\n}\n\nexport interface AnchorItemProps\n extends Omit<ItemProps, 'item'>,\n Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'onClick'> {}\n\nexport type MenuItemProps = ItemProps | ItemWithDraggingProps | AnchorItemProps\n\nexport type MenuItemDefaultElement = 'div' | 'a'\n\n/**\n * @a11y When drag-and-drop is enabled, `children` should be a string so it\n * can be used for DnD announcements (exposed as `data-title`).\n */\nexport interface GroupProps {\n /**\n * @since 10.19.0\n */\n clickable?: boolean\n\n /**\n * @since 10.19.0\n */\n item?: any\n\n /**\n * @since 12.39.0\n */\n label?: string\n /**\n * @since 12.39.0\n */\n labelId?: string\n}\n\nexport interface OptionsProps {\n /**\n * @since 10.19.0\n */\n children?: React.ReactNode\n /**\n * @since 10.19.0\n */\n className?: string\n /**\n * @since 12.51.1\n */\n onMouseLeave?: React.MouseEventHandler<HTMLDivElement>\n}\n\nexport interface MenuSearchProps\n extends Omit<TypeaheadProps, 'onChange'>,\n TypeaheadInputProps,\n Props {\n /**\n * @since 10.19.0\n */\n i18nScope?: string\n /**\n * @since 10.21.0\n */\n onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void\n /**\n * Controls the search input value. When provided, the search input becomes\n * a controlled component and the parent must manage the value state.\n * @since 12.34.0\n */\n value?: string\n}\n\nexport interface HeaderProps extends Props {\n /**\n * @since 10.19.0\n */\n tabIndex?: number\n}\n\nexport interface DroppableProps {\n /**\n * @since 10.19.0\n */\n id: string\n /**\n * @since 10.19.0\n */\n children: React.ReactNode\n /**\n * @since 12.34.2\n */\n 'aria-label'?: string\n /**\n * @since 12.34.2\n */\n 'aria-labelledby'?: string\n /**\n * @since 12.34.2\n */\n role?: React.AriaRole\n /**\n * @since 12.34.2\n */\n 'aria-multiselectable'?: boolean\n}\n\nexport interface FooterProps extends Omit<BoxProps, 'as'> {}\n\nexport interface MenuContext {\n /**\n * @since 11.5.0\n */\n a11yOptionsProps: {\n role?: MenuRole\n onKeyboardNavigation?: React.KeyboardEventHandler | null\n tabIndex?: number\n id?: string\n }\n /**\n * @since 10.19.0\n */\n currentlyDroppableIn: string[]\n /**\n * @since 12.34.2\n */\n dndInstructionsId: string\n /**\n * @since 10.19.0\n */\n onHoverItem: (el?: HTMLDivElement) => void\n /**\n * @since 12.34.2\n */\n onFocusItem: (el?: HTMLDivElement) => void\n /**\n * @since 12.34.2\n */\n onBlurItem: (el?: HTMLDivElement) => void\n /**\n * @since 12.51.1\n */\n onMouseLeaveItems: () => void\n /**\n * @since 10.19.0\n */\n onScrollBottom: (e: React.UIEvent<HTMLDivElement, UIEvent>) => void\n /**\n * @since 10.19.0\n */\n onSelect: (selection: Selection) => void\n /**\n * @since 11.3.0\n */\n role: MenuRole\n}\n\nexport interface ControlNavigationProps {\n menuId?: MenuProps['id']\n}\n\nexport interface ControlNavigationReturn {\n menuNavigationTriggerProps: {\n 'aria-activedescendant'?: string\n 'aria-controls'?: string\n onKeyDown?: React.KeyboardEventHandler<Element>\n }\n menuProps: {\n onChangeActiveDescendant?: React.Dispatch<\n React.SetStateAction<string | undefined>\n >\n id: string\n }\n}\n"],"mappings":"","ignoreList":[]}
@@ -24,10 +24,14 @@ declare function ModalState(props: RenderProps): React.JSX.Element;
24
24
  export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & {
25
25
  Body: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<HTMLDivElement>>;
26
26
  Container: React.ForwardRefExoticComponent<ModalContainerProps & React.RefAttributes<HTMLDivElement>>;
27
- Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
27
+ Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
28
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
29
+ }, {
28
30
  $compact?: boolean;
29
31
  }>> & string;
30
- Footer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
32
+ Footer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
33
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
34
+ }> & string;
31
35
  FooterButtons: React.ForwardRefExoticComponent<ModalCloseableHeaderProps & React.RefAttributes<HTMLDivElement>>;
32
36
  FooterNotation: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & TypographyProps & React.RefAttributes<HTMLSpanElement>>;
33
37
  FooterSummary: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -39,8 +43,12 @@ export declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.R
39
43
  Heading: (props: React.PropsWithChildren<HeadingProps & {
40
44
  level?: number;
41
45
  }>) => React.JSX.Element;
42
- Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
43
- Scrim: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
46
+ Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
47
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
48
+ }> & string;
49
+ Scrim: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
50
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
51
+ }> & string;
44
52
  State: typeof ModalState;
45
53
  Section: React.ForwardRefExoticComponent<import("..").SectionProps & React.RefAttributes<HTMLDivElement>>;
46
54
  };
@@ -9,41 +9,67 @@ export declare const modalPixelWidths: {
9
9
  lg: number;
10
10
  xl: number;
11
11
  };
12
- export declare const StyledModal: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
13
- export declare const StyledModalButtons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
- export declare const StyledModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
12
+ export declare const StyledModal: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
13
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string;
15
+ export declare const StyledModalButtons: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
16
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
17
+ }> & string;
18
+ export declare const StyledModalContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
15
19
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
20
+ }, "style"> & {
21
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
16
22
  }, {
17
23
  $compact: boolean;
18
24
  $placement: ModalPlacement;
19
25
  $width?: ModalWidth;
20
26
  }>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
21
- export declare const StyledModalFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
22
- export declare const StyledModalBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
27
+ export declare const StyledModalFooter: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
28
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
29
+ }> & string;
30
+ export declare const StyledModalBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
31
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
32
+ }, {
23
33
  $compact: boolean;
24
34
  $isOverflowingY: boolean;
25
35
  $noSideSpacing: boolean;
26
36
  }>> & string;
27
- export declare const StyledModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
37
+ export declare const StyledModalContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
38
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
39
+ }, {
28
40
  $compact?: boolean;
29
41
  }>> & string;
30
- export declare const StyledModalFooterNotation: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
42
+ export declare const StyledModalFooterNotation: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
31
43
  ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
32
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
33
- export declare const StyledModalHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
44
+ }, "style"> & {
45
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
46
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
47
+ export declare const StyledModalHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
48
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
49
+ }, {
34
50
  $compact: boolean;
35
51
  $isBodyScrolled: boolean;
36
52
  }>> & string;
37
- export declare const StyledModalHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
53
+ export declare const StyledModalHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
54
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
55
+ }, {
38
56
  $compact: boolean;
39
57
  }>> & string;
40
- export declare const StyledModalCancel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
41
- export declare const StyledModalScrim: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
42
- export declare const StyledModalWarningIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
58
+ export declare const StyledModalCancel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
59
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
60
+ }> & string;
61
+ export declare const StyledModalScrim: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
62
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
63
+ }> & string;
64
+ export declare const StyledModalWarningIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<{
43
65
  size?: import("@procore/core-icons/dist/Icon").IconSize;
44
66
  } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
45
67
  ref?: ((instance: SVGSVGElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<SVGSVGElement> | null | undefined;
46
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
68
+ }, "style"> & {
69
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
70
+ }> & string & Omit<import("react").ForwardRefExoticComponent<{
47
71
  size?: import("@procore/core-icons/dist/Icon").IconSize;
48
72
  } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
49
- export declare const StyledModalFooterSummary: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
73
+ export declare const StyledModalFooterSummary: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
74
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
75
+ }> & string;
@@ -33,15 +33,15 @@ var screenWidthPixelBreakpoints = {
33
33
  };
34
34
  export var StyledModal = /*#__PURE__*/styled.div.withConfig({
35
35
  displayName: "StyledModal",
36
- componentId: "core-12_53_1__sc-1ijdug2-0"
36
+ componentId: "core-12_53_2__sc-1ijdug2-0"
37
37
  })(["display:flex;height:100vh;position:absolute;opacity:0;transition:0.3s opacity ease;width:100vw;z-index:0;pointer-events:none;&.", "{opacity:1;pointer-events:auto;}&.", "{opacity:0;pointer-events:none;}"], fadeInClassName, fadeOutClassName);
38
38
  export var StyledModalButtons = /*#__PURE__*/styled.div.withConfig({
39
39
  displayName: "StyledModalButtons",
40
- componentId: "core-12_53_1__sc-1ijdug2-1"
40
+ componentId: "core-12_53_2__sc-1ijdug2-1"
41
41
  })(["display:flex;flex:0 0 auto;margin-left:", "px;> * + *{margin-left:", "px;}"], spacing.lg, spacing.sm);
42
42
  export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
43
43
  displayName: "StyledModalContainer",
44
- componentId: "core-12_53_1__sc-1ijdug2-2"
44
+ componentId: "core-12_53_2__sc-1ijdug2-2"
45
45
  })(["display:flex;flex-direction:row;position:absolute;z-index:2;", " ", " ", ""], function (_ref) {
46
46
  var $compact = _ref.$compact;
47
47
  if (!$compact) {
@@ -65,11 +65,11 @@ export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
65
65
  });
66
66
  export var StyledModalFooter = /*#__PURE__*/styled.div.withConfig({
67
67
  displayName: "StyledModalFooter",
68
- componentId: "core-12_53_1__sc-1ijdug2-3"
68
+ componentId: "core-12_53_2__sc-1ijdug2-3"
69
69
  })(["align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;padding:", "px;"], spacing.lg);
70
70
  export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
71
71
  displayName: "StyledModalBody",
72
- componentId: "core-12_53_1__sc-1ijdug2-4"
72
+ componentId: "core-12_53_2__sc-1ijdug2-4"
73
73
  })(["", " &:focus-visible{", "}box-sizing:border-box;color:", ";display:flex;flex-direction:column;overflow:auto;", " ", " > ", "{padding-left:0;padding-right:0;&:first-child > ", "{padding-top:0;}}> ", "{margin-bottom:", "px;}", ""], getTypographyIntent('body'), getFocusInset(), colors.gray15, function (_ref4) {
74
74
  var $noSideSpacing = _ref4.$noSideSpacing;
75
75
  return css(["padding:", "px ", "px;"], spacing.lg, $noSideSpacing ? 0 : spacing.lg);
@@ -85,7 +85,7 @@ export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
85
85
  });
86
86
  export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
87
87
  displayName: "StyledModalContent",
88
- componentId: "core-12_53_1__sc-1ijdug2-5"
88
+ componentId: "core-12_53_2__sc-1ijdug2-5"
89
89
  })(["display:flex;flex-direction:column;max-height:90vh;overflow:hidden;width:100%;", ""], function (_ref7) {
90
90
  var _ref7$$compact = _ref7.$compact,
91
91
  $compact = _ref7$$compact === void 0 ? false : _ref7$$compact;
@@ -96,11 +96,11 @@ export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
96
96
  });
97
97
  export var StyledModalFooterNotation = /*#__PURE__*/styled(Typography).withConfig({
98
98
  displayName: "StyledModalFooterNotation",
99
- componentId: "core-12_53_1__sc-1ijdug2-6"
99
+ componentId: "core-12_53_2__sc-1ijdug2-6"
100
100
  })(["flex-grow:1;"]);
101
101
  export var StyledModalHeader = /*#__PURE__*/styled.div.withConfig({
102
102
  displayName: "StyledModalHeader",
103
- componentId: "core-12_53_1__sc-1ijdug2-7"
103
+ componentId: "core-12_53_2__sc-1ijdug2-7"
104
104
  })(["align-items:flex-start;color:", ";display:flex;flex:0 0 auto;position:relative;", " padding:", "px"], colors.gray10, function (_ref8) {
105
105
  var $compact = _ref8.$compact,
106
106
  $isBodyScrolled = _ref8.$isBodyScrolled;
@@ -111,7 +111,7 @@ export var StyledModalHeader = /*#__PURE__*/styled.div.withConfig({
111
111
  }, spacing.lg);
112
112
  export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
113
113
  displayName: "StyledModalHeading",
114
- componentId: "core-12_53_1__sc-1ijdug2-8"
114
+ componentId: "core-12_53_2__sc-1ijdug2-8"
115
115
  })(["", " align-items:center;display:flex;flex:1 1 auto;min-height:36px;padding-right:", "px;", ""], function (_ref9) {
116
116
  var $compact = _ref9.$compact;
117
117
  return getTypographyIntent($compact ? 'h3' : 'h2');
@@ -127,18 +127,18 @@ export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
127
127
  });
128
128
  export var StyledModalCancel = /*#__PURE__*/styled.div.withConfig({
129
129
  displayName: "StyledModalCancel",
130
- componentId: "core-12_53_1__sc-1ijdug2-9"
130
+ componentId: "core-12_53_2__sc-1ijdug2-9"
131
131
  })(["flex:0 0 auto;"]);
132
132
  export var StyledModalScrim = /*#__PURE__*/styled.div.withConfig({
133
133
  displayName: "StyledModalScrim",
134
- componentId: "core-12_53_1__sc-1ijdug2-10"
134
+ componentId: "core-12_53_2__sc-1ijdug2-10"
135
135
  })(["background:hsla(200,8%,10%,0.6);height:100vh;left:0;position:absolute;top:0;width:100vw;z-index:1;"]);
136
136
  export var StyledModalWarningIcon = /*#__PURE__*/styled(Warning).withConfig({
137
137
  displayName: "StyledModalWarningIcon",
138
- componentId: "core-12_53_1__sc-1ijdug2-11"
138
+ componentId: "core-12_53_2__sc-1ijdug2-11"
139
139
  })(["color:", ";margin-right:", "px;"], colors.yellow40, spacing.sm);
140
140
  export var StyledModalFooterSummary = /*#__PURE__*/styled.div.withConfig({
141
141
  displayName: "StyledModalFooterSummary",
142
- componentId: "core-12_53_1__sc-1ijdug2-12"
142
+ componentId: "core-12_53_2__sc-1ijdug2-12"
143
143
  })(["", " background-color:", ";border-bottom:1px solid ", ";border-top:1px solid ", ";color:", ";flex:1 1 100%;font-style:italic;margin:-", "px -", "px ", "px;padding:", "px;"], getTypographyIntent('small'), colors.gray98, colors.gray85, colors.gray85, colors.gray15, spacing.lg, spacing.lg, spacing.lg, spacing.lg);
144
144
  //# sourceMappingURL=Modal.styles.js.map
@@ -1,22 +1,44 @@
1
- export declare const StyledMultiSelectInner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
- export declare const StyledMultiSelectValues: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const StyledMultiSelectToken: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
- export declare const StyledMultiSelectSearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
1
+ export declare const StyledMultiSelectInner: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
2
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
3
+ }> & string;
4
+ export declare const StyledMultiSelectValues: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
5
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
6
+ }> & string;
7
+ export declare const StyledMultiSelectToken: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }> & string;
10
+ export declare const StyledMultiSelectSearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }, {
5
13
  $isNavigatingTokens?: boolean;
6
14
  }>> & string;
7
- export declare const StyledMultiSelectSearch: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
8
- export declare const StyledMultiSelectSearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
9
- export declare const StyledMultiSelectClearIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
15
+ export declare const StyledMultiSelectSearch: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
16
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
17
+ }> & string;
18
+ export declare const StyledMultiSelectSearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
19
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
20
+ }> & string;
21
+ export declare const StyledMultiSelectClearIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<Omit<import("../Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
10
22
  ref?: ((instance: HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement> | null | undefined;
23
+ }, "style"> & {
24
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
11
25
  }, {
12
26
  $show?: boolean;
13
27
  }>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
14
- export declare const StyledMultiSelectArrowContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
- export declare const StyledMultiSelectArrow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
16
- export declare const StyledMultiSelectMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
28
+ export declare const StyledMultiSelectArrowContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
29
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
30
+ }> & string;
31
+ export declare const StyledMultiSelectArrow: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
32
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
33
+ }> & string;
34
+ export declare const StyledMultiSelectMenu: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
17
35
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
18
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
19
- export declare const StyledMultiSelectButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$error" | "$disabled" | "$loading" | "$block" | "$open" | "$placeholder" | "$hasClearIcon" | "$showClearIcon"> & {
36
+ }, "style"> & {
37
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
38
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
39
+ export declare const StyledMultiSelectButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<Omit<import("styled-components").FastOmit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
40
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
41
+ }, {
20
42
  $block: boolean;
21
43
  $disabled: boolean;
22
44
  $error: boolean;
@@ -25,8 +47,15 @@ export declare const StyledMultiSelectButton: import("styled-components/dist/typ
25
47
  $placeholder?: boolean;
26
48
  $hasClearIcon?: boolean;
27
49
  $showClearIcon?: boolean;
50
+ }>, "as" | "forwardedAs"> & {
51
+ as?: import("styled-components").WebTarget | undefined;
52
+ forwardedAs?: import("styled-components").WebTarget | undefined;
28
53
  }, "ref"> & {
29
54
  ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
55
+ }, "style"> & {
56
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | (import("react").CSSProperties & {
57
+ [key: `--${string}`]: string | number | undefined;
58
+ }) | undefined;
30
59
  }, {
31
60
  $emptyValue: boolean;
32
61
  }>> & string;
@@ -8,34 +8,34 @@ import { getFocus } from '../_styles/mixins';
8
8
  import { spacing } from '../_styles/spacing';
9
9
  export var StyledMultiSelectInner = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledMultiSelectInner",
11
- componentId: "core-12_53_1__sc-s9ym9q-0"
11
+ componentId: "core-12_53_2__sc-s9ym9q-0"
12
12
  })(["display:flex;flex-wrap:wrap;margin-bottom:2px;margin-left:", "px;margin-right:", "px;margin-top:2px;min-width:0;width:100%;"], spacing.md, spacing.xs);
13
13
  export var StyledMultiSelectValues = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "StyledMultiSelectValues",
15
- componentId: "core-12_53_1__sc-s9ym9q-1"
15
+ componentId: "core-12_53_2__sc-s9ym9q-1"
16
16
  })(["display:contents;"]);
17
17
  export var StyledMultiSelectToken = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "StyledMultiSelectToken",
19
- componentId: "core-12_53_1__sc-s9ym9q-2"
19
+ componentId: "core-12_53_2__sc-s9ym9q-2"
20
20
  })(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:0 1 auto;> div{max-width:178px;width:100%;}"], spacing.xs);
21
21
  export var StyledMultiSelectSearchInput = /*#__PURE__*/styled.input.withConfig({
22
22
  displayName: "StyledMultiSelectSearchInput",
23
- componentId: "core-12_53_1__sc-s9ym9q-3"
23
+ componentId: "core-12_53_2__sc-s9ym9q-3"
24
24
  })(["background-color:transparent;border-width:0;font-family:inherit;padding:0;height:24px;width:100%;", " ", " &::-ms-clear{display:none;}&:focus{box-shadow:none;outline:none;}&::placeholder{color:", ";}"], getTypographyIntent('body'), function (_ref) {
25
25
  var $isNavigatingTokens = _ref.$isNavigatingTokens;
26
26
  return $isNavigatingTokens && css(["color:transparent;"]);
27
27
  }, colors.gray45);
28
28
  export var StyledMultiSelectSearch = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledMultiSelectSearch",
30
- componentId: "core-12_53_1__sc-s9ym9q-4"
30
+ componentId: "core-12_53_2__sc-s9ym9q-4"
31
31
  })(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:1;max-width:100%;min-width:24px;"], spacing.xs);
32
32
  export var StyledMultiSelectSearchIcon = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledMultiSelectSearchIcon",
34
- componentId: "core-12_53_1__sc-s9ym9q-5"
34
+ componentId: "core-12_53_2__sc-s9ym9q-5"
35
35
  })(["align-items:center;align-self:flex-start;display:flex;height:34px;justify-content:flex-end;margin-left:", "px;margin-right:", "px;min-width:40px;width:40px;"], spacing.xs, spacing.md);
36
36
  export var StyledMultiSelectClearIcon = /*#__PURE__*/styled(Button).withConfig({
37
37
  displayName: "StyledMultiSelectClearIcon",
38
- componentId: "core-12_53_1__sc-s9ym9q-6"
38
+ componentId: "core-12_53_2__sc-s9ym9q-6"
39
39
  })(["", " ", "{pointer-events:none;}"], function (_ref2) {
40
40
  var $show = _ref2.$show;
41
41
  return css(["opacity:", ";"], $show ? 1 : 0);
@@ -45,7 +45,7 @@ export var StyledMultiSelectArrow = StyledSelectArrow;
45
45
  export var StyledMultiSelectMenu = StyledSelectMenu;
46
46
  export var StyledMultiSelectButton = /*#__PURE__*/styled(StyledSelectButton).withConfig({
47
47
  displayName: "StyledMultiSelectButton",
48
- componentId: "core-12_53_1__sc-s9ym9q-7"
48
+ componentId: "core-12_53_2__sc-s9ym9q-7"
49
49
  })(["height:auto;padding:0;white-space:normal;&:focus-within{", "}", ""], getFocus(), function (_ref3) {
50
50
  var $emptyValue = _ref3.$emptyValue;
51
51
  return $emptyValue && css(["", "{cursor:pointer;}"], StyledMultiSelectSearchInput);
@@ -1,6 +1,12 @@
1
1
  export declare const optionMinHeight = 32;
2
2
  /** Large enough to fit one group and one item */
3
3
  export declare const defaultMenuHeight = 64;
4
- export declare const StyledOptions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
- export declare const StyledItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
- export declare const StyledGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
+ export declare const StyledOptions: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
5
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
6
+ }> & string;
7
+ export declare const StyledItem: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }> & string;
10
+ export declare const StyledGroup: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }> & string;
@@ -6,14 +6,14 @@ export var optionMinHeight = 32;
6
6
  export var defaultMenuHeight = 64;
7
7
  export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "StyledOptions",
9
- componentId: "core-12_53_1__sc-3o6zya-0"
9
+ componentId: "core-12_53_2__sc-3o6zya-0"
10
10
  })([""]);
11
11
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "StyledItem",
13
- componentId: "core-12_53_1__sc-3o6zya-1"
13
+ componentId: "core-12_53_2__sc-3o6zya-1"
14
14
  })(["", ";padding:", "px ", "px;cursor:pointer;list-style-type:none;"], getTypographyIntent('body'), spacing.xs, spacing.md);
15
15
  export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
16
16
  displayName: "StyledGroup",
17
- componentId: "core-12_53_1__sc-3o6zya-2"
17
+ componentId: "core-12_53_2__sc-3o6zya-2"
18
18
  })(["", ";padding:", "px ", "px ", "px;font-weight:", ";background:white;list-style-type:none;"], getTypographyIntent('body'), spacing.md, spacing.md, spacing.xs, typographyWeights.semibold);
19
19
  //# sourceMappingURL=NextMenu.styles.js.map