@procore/core-react 12.53.1 → 12.53.3

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 (341) hide show
  1. package/.jest/setupTests.js +1 -2
  2. package/CHANGELOG.md +16 -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.js +2 -3
  133. package/dist/PillSelect/PillSelect.js.map +1 -1
  134. package/dist/PillSelect/PillSelect.styles.d.ts +18 -5
  135. package/dist/PillSelect/PillSelect.styles.js +8 -4
  136. package/dist/PillSelect/PillSelect.styles.js.map +1 -1
  137. package/dist/Popover/Popover.styles.d.ts +6 -2
  138. package/dist/Popover/Popover.styles.js +2 -2
  139. package/dist/Portal/Portal.styles.d.ts +3 -1
  140. package/dist/Portal/Portal.styles.js +1 -1
  141. package/dist/ProgressBar/ProgressBar.styles.d.ts +6 -2
  142. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  143. package/dist/RadioButton/RadioButton.styles.d.ts +9 -3
  144. package/dist/RadioButton/RadioButton.styles.js +3 -3
  145. package/dist/Required/Required.styles.d.ts +9 -3
  146. package/dist/Required/Required.styles.js +3 -3
  147. package/dist/Search/Search.styles.d.ts +28 -6
  148. package/dist/Search/Search.styles.js +5 -5
  149. package/dist/Section/Section.styles.d.ts +22 -8
  150. package/dist/Section/Section.styles.js +7 -7
  151. package/dist/SegmentedController/SegmentedController.styles.d.ts +12 -4
  152. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  153. package/dist/Select/Select.styles.d.ts +26 -10
  154. package/dist/Select/Select.styles.js +8 -8
  155. package/dist/Semantic/Semantic.styles.d.ts +46 -352
  156. package/dist/Semantic/Semantic.styles.js +9 -9
  157. package/dist/Slider/Slider.styles.d.ts +16 -6
  158. package/dist/Slider/Slider.styles.js +5 -5
  159. package/dist/Spinner/Spinner.styles.d.ts +21 -7
  160. package/dist/Spinner/Spinner.styles.js +7 -7
  161. package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
  162. package/dist/SplitViewCard/SplitViewCard.styles.d.ts +25 -9
  163. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  164. package/dist/SuperSelect/SuperSelect.js +2 -1
  165. package/dist/SuperSelect/SuperSelect.js.map +1 -1
  166. package/dist/SuperSelect/SuperSelect.presets.styles.d.ts +4 -2
  167. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  168. package/dist/SuperSelect/SuperSelect.styles.d.ts +127 -47
  169. package/dist/SuperSelect/SuperSelect.styles.js +40 -40
  170. package/dist/SuperSelect/useSuperSelect.js +1 -2
  171. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  172. package/dist/Switch/Switch.styles.d.ts +12 -4
  173. package/dist/Switch/Switch.styles.js +4 -4
  174. package/dist/Table/Table.styles.d.ts +90 -34
  175. package/dist/Table/Table.styles.js +29 -29
  176. package/dist/TableShelf/TableShelf.styles.d.ts +15 -5
  177. package/dist/TableShelf/TableShelf.styles.js +5 -5
  178. package/dist/Tabs/Tabs.styles.d.ts +121 -21
  179. package/dist/Tabs/Tabs.styles.js +16 -16
  180. package/dist/Tearsheet/Tearsheet.styles.d.ts +15 -5
  181. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  182. package/dist/TextArea/TextArea.styles.d.ts +3 -1
  183. package/dist/TextArea/TextArea.styles.js +1 -1
  184. package/dist/TextEditorOutput/TextEditorOutput.styles.d.ts +3 -1
  185. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  186. package/dist/Thumbnail/Thumbnail.hooks.d.ts +20 -20
  187. package/dist/Thumbnail/Thumbnail.js +40 -38
  188. package/dist/Thumbnail/Thumbnail.js.map +1 -1
  189. package/dist/Thumbnail/Thumbnail.styles.d.ts +62 -22
  190. package/dist/Thumbnail/Thumbnail.styles.js +21 -21
  191. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +33 -13
  192. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  193. package/dist/TieredDropdown/TieredDropdown.js +6 -0
  194. package/dist/TieredDropdown/TieredDropdown.js.map +1 -1
  195. package/dist/TieredSelect/LeafSelectionTieredSelect.js +6 -0
  196. package/dist/TieredSelect/LeafSelectionTieredSelect.js.map +1 -1
  197. package/dist/TieredSelect/TierSelectionTieredSelect.js +29 -25
  198. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  199. package/dist/TieredSelect/TieredSelect.styles.d.ts +54 -17
  200. package/dist/TieredSelect/TieredSelect.styles.js +18 -12
  201. package/dist/TieredSelect/TieredSelect.styles.js.map +1 -1
  202. package/dist/TieredSelect/TieredSelect.types.d.ts +6 -0
  203. package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
  204. package/dist/TieredSelect/TieredSelectMenu.js +10 -5
  205. package/dist/TieredSelect/TieredSelectMenu.js.map +1 -1
  206. package/dist/Tile/Tile.styles.d.ts +32 -9
  207. package/dist/Tile/Tile.styles.js +8 -8
  208. package/dist/Title/Title.styles.d.ts +30 -9
  209. package/dist/Title/Title.styles.js +7 -7
  210. package/dist/Toast/Toast.styles.d.ts +10 -4
  211. package/dist/Toast/Toast.styles.js +3 -3
  212. package/dist/ToggleButton/ToggleButton.styles.d.ts +3 -1
  213. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  214. package/dist/Token/Token.styles.d.ts +16 -6
  215. package/dist/Token/Token.styles.js +5 -5
  216. package/dist/ToolHeader/ToolHeader.d.ts +14 -6
  217. package/dist/ToolHeader/ToolHeader.styles.d.ts +19 -7
  218. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  219. package/dist/ToolLandingPage/ToolLandingPage.styles.d.ts +10 -4
  220. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  221. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.d.ts +1 -1
  222. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.types.js.map +1 -1
  223. package/dist/Tooltip/Tooltip.styles.d.ts +9 -3
  224. package/dist/Tooltip/Tooltip.styles.js +3 -3
  225. package/dist/Tree/Tree.js +1 -1
  226. package/dist/Tree/Tree.styles.d.ts +52 -13
  227. package/dist/Tree/Tree.styles.js +10 -10
  228. package/dist/Typeahead/Typeahead.styles.d.ts +12 -4
  229. package/dist/Typeahead/Typeahead.styles.js +4 -4
  230. package/dist/Typography/Typography.styles.d.ts +4 -2
  231. package/dist/Typography/Typography.styles.js +1 -1
  232. package/dist/Typography/Typography.styles.js.map +1 -1
  233. package/dist/Typography/Typography.table.story.js +2 -2
  234. package/dist/_hooks/I18n.d.ts +90 -0
  235. package/dist/_locales/de-DE.json +9 -4
  236. package/dist/_locales/en-AU.json +5 -0
  237. package/dist/_locales/en-CA.json +5 -0
  238. package/dist/_locales/en-GB.json +5 -0
  239. package/dist/_locales/es-ES.json +8 -3
  240. package/dist/_locales/es.json +7 -2
  241. package/dist/_locales/fr-CA.json +7 -2
  242. package/dist/_locales/fr-FR.json +5 -0
  243. package/dist/_locales/is-IS.json +5 -0
  244. package/dist/_locales/it-IT.json +5 -0
  245. package/dist/_locales/ja-JP.json +5 -0
  246. package/dist/_locales/nb-NO.json +10 -5
  247. package/dist/_locales/pl-PL.json +5 -0
  248. package/dist/_locales/pt-BR.json +5 -0
  249. package/dist/_locales/pt-PT.json +5 -0
  250. package/dist/_locales/th-TH.json +5 -0
  251. package/dist/_locales/zh-SG.json +5 -0
  252. package/dist/_locales/zh-TW.json +5 -0
  253. package/dist/_storyHelpers_/components/Deprecation.styles.d.ts +4 -2
  254. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  255. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  256. package/dist/_styles/mixins.d.ts +2 -2
  257. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +7 -7
  258. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  259. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  260. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  261. package/dist/_typedoc/Banner/Banner.types.json +17 -17
  262. package/dist/_typedoc/Box/Box.types.json +68 -68
  263. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +12 -12
  264. package/dist/_typedoc/Button/Button.types.json +14 -14
  265. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  266. package/dist/_typedoc/Card/Card.types.json +6 -6
  267. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  268. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  269. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  270. package/dist/_typedoc/DateSelect/DateSelect.types.json +14 -14
  271. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  272. package/dist/_typedoc/DetailPageTemplate/DetailPageTemplate.types.json +3 -3
  273. package/dist/_typedoc/Dropdown/Dropdown.types.json +38 -38
  274. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +37 -37
  275. package/dist/_typedoc/Dropzone/Dropzone.types.json +50 -50
  276. package/dist/_typedoc/EmptyState/EmptyState.types.json +18 -18
  277. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  278. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  279. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  280. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  281. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +17 -17
  282. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  283. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  284. package/dist/_typedoc/Form/Form.types.json +845 -845
  285. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  286. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  287. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +79 -79
  288. package/dist/_typedoc/Input/Input.types.json +2 -2
  289. package/dist/_typedoc/Link/Link.types.json +1 -1
  290. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  291. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  292. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +133 -86
  293. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  294. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  295. package/dist/_typedoc/NextTile/NextTile.types.json +33 -33
  296. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  297. package/dist/_typedoc/NumberInput/NumberInput.types.json +58 -58
  298. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  299. package/dist/_typedoc/PageLayout/PageLayout.types.json +40 -40
  300. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  301. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  302. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  303. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  304. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  305. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  306. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  307. package/dist/_typedoc/Required/Required.types.json +5 -5
  308. package/dist/_typedoc/Search/Search.types.json +18 -18
  309. package/dist/_typedoc/Section/Section.types.json +15 -15
  310. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  311. package/dist/_typedoc/Select/Select.types.json +67 -67
  312. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  313. package/dist/_typedoc/SettingsPageTemplate/SettingsPageTemplate.types.json +3 -3
  314. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  315. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  316. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  317. package/dist/_typedoc/Table/Table.types.json +105 -105
  318. package/dist/_typedoc/Tabs/Tablist.types.json +10 -10
  319. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  320. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  321. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  322. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  323. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  324. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  325. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  326. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  327. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  328. package/dist/_typedoc/Title/Title.types.json +1 -1
  329. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  330. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  331. package/dist/_typedoc/Token/Token.types.json +7 -7
  332. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  333. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
  334. package/dist/_typedoc/ToolLandingPageTemplate/ToolLandingPageTemplate.types.json +2 -2
  335. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  336. package/dist/_typedoc/Tree/Tree.types.json +132 -132
  337. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  338. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  339. package/dist/_typedoc/_utils/types.json +3 -3
  340. package/dist/_typedoc/a11y-tips.json +1 -1
  341. package/package.json +10 -11
@@ -7,23 +7,23 @@ import { getLineClamp } from '../_styles/mixins';
7
7
  import { spacing } from '../_styles/spacing';
8
8
  export var ContactItemAvatarWrapper = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "ContactItemAvatarWrapper",
10
- componentId: "core-12_53_1__sc-1c4z9pn-0"
10
+ componentId: "core-12_53_3__sc-1c4z9pn-0"
11
11
  })(["display:inline-flex;align-self:flex-start;"]);
12
12
  export var ContactItemAvatar = /*#__PURE__*/styled(Avatar).withConfig({
13
13
  displayName: "ContactItemAvatar",
14
- componentId: "core-12_53_1__sc-1c4z9pn-1"
14
+ componentId: "core-12_53_3__sc-1c4z9pn-1"
15
15
  })(["cursor:inherit;font-weight:", ";"], typographyWeights.bold);
16
16
  export var ContactItemTextWrapper = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "ContactItemTextWrapper",
18
- componentId: "core-12_53_1__sc-1c4z9pn-2"
18
+ componentId: "core-12_53_3__sc-1c4z9pn-2"
19
19
  })(["overflow:hidden;margin-left:", "px;"], spacing.sm);
20
20
  export var ContactItemText = /*#__PURE__*/styled(Typography).withConfig({
21
21
  displayName: "ContactItemText",
22
- componentId: "core-12_53_1__sc-1c4z9pn-3"
22
+ componentId: "core-12_53_3__sc-1c4z9pn-3"
23
23
  })(["display:flex;", ""], getLineClamp());
24
24
  export var ContactItemWrapper = /*#__PURE__*/styled.div.withConfig({
25
25
  displayName: "ContactItemWrapper",
26
- componentId: "core-12_53_1__sc-1c4z9pn-4"
26
+ componentId: "core-12_53_3__sc-1c4z9pn-4"
27
27
  })(["display:flex;flex-direction:row;align-items:center;padding:", "px ", "px ", "px ", "px;", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, function (_ref) {
28
28
  var $disabled = _ref.$disabled,
29
29
  $clickable = _ref.$clickable;
@@ -1,6 +1,10 @@
1
- export declare const StyledContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
1
+ export declare const StyledContent: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
2
2
  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;
3
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
4
- export declare const StyledActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
3
+ }, "style"> & {
4
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
5
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
6
+ export declare const StyledActions: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
5
7
  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;
6
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
8
+ }, "style"> & {
9
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
10
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
@@ -5,10 +5,10 @@ import { mediaIE11Hack } from '../_styles/media';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledContent = /*#__PURE__*/styled(Box).withConfig({
7
7
  displayName: "StyledContent",
8
- componentId: "core-12_53_1__sc-10y57gh-0"
8
+ componentId: "core-12_53_3__sc-10y57gh-0"
9
9
  })(["> * + *,> * + h1,> * + h2,> * + h3,> * + h4,> * + p,> * + ul,> * + ol{margin-top:", "px;}> ", " + *{margin-top:0;}> ", ",> ", " > ", ",> ", "{", "{min-height:0;margin-bottom:", "px;}&:last-child ", "{margin-bottom:0;}}"], spacing.lg, StyledFormRow, StyledFormRow, StyledForm, StyledFormRow, StyledFormRow, StyledFormFieldBanner, spacing.md, StyledFormFieldBanner);
10
10
  export var StyledActions = /*#__PURE__*/styled(Box).withConfig({
11
11
  displayName: "StyledActions",
12
- componentId: "core-12_53_1__sc-10y57gh-1"
12
+ componentId: "core-12_53_3__sc-10y57gh-1"
13
13
  })(["display:flex;justify-content:flex-end;gap:", "px;@media ", "{& > * + *{margin-left:", "px;}}"], spacing.sm, mediaIE11Hack, spacing.sm);
14
14
  //# sourceMappingURL=Content.styles.js.map
@@ -2,23 +2,38 @@ interface StyledDateInputSegmentProps {
2
2
  $disabled: boolean;
3
3
  $isYear: boolean;
4
4
  }
5
- export declare const StyledCalendar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
5
+ export declare const StyledCalendar: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<{
6
6
  size?: import("@procore/core-icons/dist/Icon").IconSize;
7
7
  } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>, "ref"> & {
8
8
  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;
9
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
9
+ }, "style"> & {
10
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
11
+ }> & string & Omit<import("react").ForwardRefExoticComponent<{
10
12
  size?: import("@procore/core-icons/dist/Icon").IconSize;
11
13
  } & import("react").SVGAttributes<SVGElement> & import("react").RefAttributes<SVGSVGElement>>, keyof import("react").Component<any, {}, any>>;
12
- export declare const StyledDateSegmentsContainer: 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 StyledDateInputSegment: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledDateInputSegmentProps>> & string;
14
- export declare const StyledDateInputDelimiter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
15
- 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;
16
- }>, {
14
+ export declare const StyledDateSegmentsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
15
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
16
+ }> & string;
17
+ export declare const StyledDateInputSegment: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
18
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
19
+ }, StyledDateInputSegmentProps>> & string;
20
+ export declare const StyledDateInputDelimiter: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
21
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
22
+ }, {
17
23
  $visible: boolean;
18
24
  'data-qa-table-visible'?: boolean;
19
- }>, never>> & string;
20
- export declare const StyledDateInputIconContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
21
- export declare const StyledDateInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
25
+ }>, "is" | "children" | "translate" | "defaultValue" | "ref" | "slot" | "style" | "title" | "color" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "$visible" | "data-qa-table-visible"> & Partial<Pick<import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
26
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
27
+ }, {
28
+ $visible: boolean;
29
+ 'data-qa-table-visible'?: boolean;
30
+ }>, "is" | "children" | "translate" | "defaultValue" | "ref" | "slot" | "style" | "title" | "color" | "key" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "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-rowindextext" | "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" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "$visible" | "data-qa-table-visible">>> & string;
31
+ export declare const StyledDateInputIconContainer: 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 StyledDateInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
35
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
36
+ }, {
22
37
  $disabled: boolean;
23
38
  $error: boolean;
24
39
  }>> & string;
@@ -10,15 +10,15 @@ var inputHeight = 36; // TODO one-off
10
10
  var disabledCss = /*#__PURE__*/css(["background-color:", ";color:", ";border-width:1px;border-style:solid;border-color:", ";pointer-events:none;svg{color:", ";}"], colors.gray94, colors.gray45, colors.gray50, colors.gray45);
11
11
  export var StyledCalendar = /*#__PURE__*/styled(Calendar).withConfig({
12
12
  displayName: "StyledCalendar",
13
- componentId: "core-12_53_1__sc-w10btf-0"
13
+ componentId: "core-12_53_3__sc-w10btf-0"
14
14
  })(["color:", ";"], colors.gray45);
15
15
  export var StyledDateSegmentsContainer = /*#__PURE__*/styled.div.withConfig({
16
16
  displayName: "StyledDateSegmentsContainer",
17
- componentId: "core-12_53_1__sc-w10btf-1"
17
+ componentId: "core-12_53_3__sc-w10btf-1"
18
18
  })(["min-width:104px;display:flex;gap:", "px;"], spacing.xs);
19
19
  export var StyledDateInputSegment = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledDateInputSegment",
21
- componentId: "core-12_53_1__sc-w10btf-2"
21
+ componentId: "core-12_53_3__sc-w10btf-2"
22
22
  })(["", " outline:none;text-align:center;&:focus{background-color:", ";}&::selection{background-color:transparent;}&[data-placeholder='true']{color:", ";}"], getTypographyIntent('body'), colors.blue96, function (_ref) {
23
23
  var $disabled = _ref.$disabled;
24
24
  return $disabled ? colors.gray70 : colors.gray45;
@@ -29,15 +29,15 @@ export var StyledDateInputDelimiter = /*#__PURE__*/styled.span.attrs(function (p
29
29
  };
30
30
  }).withConfig({
31
31
  displayName: "StyledDateInputDelimiter",
32
- componentId: "core-12_53_1__sc-w10btf-3"
32
+ componentId: "core-12_53_3__sc-w10btf-3"
33
33
  })(["", " user-select:none;"], getTypographyIntent('body'));
34
34
  export var StyledDateInputIconContainer = /*#__PURE__*/styled.div.withConfig({
35
35
  displayName: "StyledDateInputIconContainer",
36
- componentId: "core-12_53_1__sc-w10btf-4"
36
+ componentId: "core-12_53_3__sc-w10btf-4"
37
37
  })(["display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;margin:0 0 0 ", "px;height:24px;width:24px;"], spacing.xs);
38
38
  export var StyledDateInput = /*#__PURE__*/styled.div.withConfig({
39
39
  displayName: "StyledDateInput",
40
- componentId: "core-12_53_1__sc-w10btf-5"
40
+ componentId: "core-12_53_3__sc-w10btf-5"
41
41
  })(["align-items:center;border-color:", ";border-radius:4px;border-style:solid;border-width:1px;display:inline-flex;flex-direction:row;height:", "px;justify-content:center;padding:0 ", "px 0 ", "px;&::placeholder{color:", ";}", " &:focus-within,&[data-qa=", "]{", ";}&:disabled{", "}", " ", ""], colors.gray50, inputHeight, spacing.xs, spacing.sm, colors.gray45, function (_ref2) {
42
42
  var $error = _ref2.$error;
43
43
  return !$error && css(["&:hover,&[data-qa=", "]{border-color:", ";}"], dataQa.hovered, colors.gray20);
@@ -1,13 +1,27 @@
1
- export declare const StyledDetailPage: 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 StyledDetailPageBody: 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 StyledDetailPageFooterNotation: 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 StyledDetailPageFooter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../PageLayout/PageLayout.types").PageFooterProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
1
+ export declare const StyledDetailPage: 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 StyledDetailPageBody: 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 StyledDetailPageFooterNotation: 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 StyledDetailPageFooter: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("../PageLayout/PageLayout.types").PageFooterProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
5
11
  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;
6
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../PageLayout/PageLayout.types").PageFooterProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
7
- export declare const StyledDetailPageFooterActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
12
+ }, "style"> & {
13
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
14
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("../PageLayout/PageLayout.types").PageFooterProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
15
+ export declare const StyledDetailPageFooterActions: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
8
16
  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;
9
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
10
- export declare const StyledDetailPageFooterContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
11
- export declare const StyledDetailPageCard: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
17
+ }, "style"> & {
18
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
19
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
20
+ export declare const StyledDetailPageFooterContent: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style"> & {
21
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
22
+ }> & string;
23
+ export declare const StyledDetailPageCard: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
12
24
  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;
13
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
25
+ }, "style"> & {
26
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
27
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
@@ -9,32 +9,32 @@ import { colors } from '../_styles/colors';
9
9
  import { spacing } from '../_styles/spacing';
10
10
  export var StyledDetailPage = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledDetailPage",
12
- componentId: "core-12_53_1__sc-cytnlo-0"
12
+ componentId: "core-12_53_3__sc-cytnlo-0"
13
13
  })(["background-color:", ";height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;"], colors.gray96);
14
14
  export var StyledDetailPageBody = /*#__PURE__*/styled.div.withConfig({
15
15
  displayName: "StyledDetailPageBody",
16
- componentId: "core-12_53_1__sc-cytnlo-1"
16
+ componentId: "core-12_53_3__sc-cytnlo-1"
17
17
  })(["padding-bottom:", "px;> ", "{margin-top:", "px;}"], spacing.xl, StyledRequiredContainer, spacing.lg);
18
18
  export var StyledDetailPageFooterNotation = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledDetailPageFooterNotation",
20
- componentId: "core-12_53_1__sc-cytnlo-2"
20
+ componentId: "core-12_53_3__sc-cytnlo-2"
21
21
  })(["flex-grow:1;z-index:1;"]);
22
22
  export var StyledDetailPageFooter = /*#__PURE__*/styled(Page.Footer).withConfig({
23
23
  displayName: "StyledDetailPageFooter",
24
- componentId: "core-12_53_1__sc-cytnlo-3"
24
+ componentId: "core-12_53_3__sc-cytnlo-3"
25
25
  })(["display:flex;padding:", "px 0;background-color:", ";justify-content:center;"], spacing.lg, colors.white);
26
26
  export var StyledDetailPageFooterActions = /*#__PURE__*/styled(Box).withConfig({
27
27
  displayName: "StyledDetailPageFooterActions",
28
- componentId: "core-12_53_1__sc-cytnlo-4"
28
+ componentId: "core-12_53_3__sc-cytnlo-4"
29
29
  })(["", ""], getActions());
30
30
  var maxFooterContentWidth = 1920;
31
31
  export var StyledDetailPageFooterContent = /*#__PURE__*/styled.div.withConfig({
32
32
  displayName: "StyledDetailPageFooterContent",
33
- componentId: "core-12_53_1__sc-cytnlo-5"
33
+ componentId: "core-12_53_3__sc-cytnlo-5"
34
34
  })(["width:100%;align-items:center;display:flex;justify-content:flex-end;padding:0 ", "px;max-width:", "px;"], spacing.xl, maxFooterContentWidth);
35
35
  var detailPageCardBorderRadius = 8;
36
36
  export var StyledDetailPageCard = /*#__PURE__*/styled(Card).withConfig({
37
37
  displayName: "StyledDetailPageCard",
38
- componentId: "core-12_53_1__sc-cytnlo-6"
38
+ componentId: "core-12_53_3__sc-cytnlo-6"
39
39
  })(["width:100%;border-radius:", "px;margin-top:", "px;margin-bottom:", "px;& + &{margin-top:", "px;}&:first-child{margin-top:0;}&:last-child{margin-bottom:", "px;}& > ", "{padding:", "px ", "px 0 ", "px;max-width:100%;&:empty{padding:0;}}& > ", " + ", " > ", "{border-top:0;}> .", ":first-child + .", ",> ", " + .", " + .", "{margin-top:", "px;}"], detailPageCardBorderRadius, spacing.lg, spacing.sm, spacing.sm, spacing.lg, StyledPageBanner, spacing.lg, spacing.lg, spacing.lg, StyledPageBanner, StyledSection, StyledSectionInner, sectionClassnames.levelAnonymous, sectionClassnames.level(2), StyledPageBanner, sectionClassnames.levelAnonymous, sectionClassnames.level(2), spacing.xxl * -1);
40
40
  //# sourceMappingURL=DetailPage.styles.js.map
@@ -1,12 +1,18 @@
1
1
  import type { ButtonVariant } from '../Button/Button.types';
2
- export declare const StyledDropdownMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
2
+ export declare const StyledDropdownMenu: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
3
3
  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;
4
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
5
- export declare const StyledDropdownSpinner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").SpinnerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
4
+ }, "style"> & {
5
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
6
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
7
+ export declare const StyledDropdownSpinner: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<import("..").SpinnerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
6
8
  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;
7
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").SpinnerProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
8
- export declare const StyledDropdownButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../Button/Button.types").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
9
+ }, "style"> & {
10
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
11
+ }> & string & Omit<import("react").ForwardRefExoticComponent<import("..").SpinnerProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
12
+ export declare const StyledDropdownButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Merged<Omit<Omit<import("../Button/Button.types").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
9
13
  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;
14
+ }, "style"> & {
15
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
10
16
  }, {
11
17
  $loading: boolean;
12
18
  variant: ButtonVariant;
@@ -5,15 +5,15 @@ import { Card } from '../Card/Card';
5
5
  import { Spinner } from '../Spinner/Spinner';
6
6
  export var StyledDropdownMenu = /*#__PURE__*/styled(Card).withConfig({
7
7
  displayName: "StyledDropdownMenu",
8
- componentId: "core-12_53_1__sc-ufsy2q-0"
8
+ componentId: "core-12_53_3__sc-ufsy2q-0"
9
9
  })(["display:flex;max-height:40vh;max-width:248px;min-width:inherit;"]);
10
10
  export var StyledDropdownSpinner = /*#__PURE__*/styled(Spinner).withConfig({
11
11
  displayName: "StyledDropdownSpinner",
12
- componentId: "core-12_53_1__sc-ufsy2q-1"
12
+ componentId: "core-12_53_3__sc-ufsy2q-1"
13
13
  })(["margin:0 6px;"]);
14
14
  export var StyledDropdownButton = /*#__PURE__*/styled(Button).withConfig({
15
15
  displayName: "StyledDropdownButton",
16
- componentId: "core-12_53_1__sc-ufsy2q-2"
16
+ componentId: "core-12_53_3__sc-ufsy2q-2"
17
17
  })(["pointer-events:", ";", ""], function (_ref) {
18
18
  var disabled = _ref.disabled,
19
19
  $loading = _ref.$loading;
@@ -1,4 +1,12 @@
1
- export declare const StyledDropdownFlyout: 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 StyledDropdownFlyoutItem: 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 StyledDropdownFlyoutLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
4
- export declare const StyledDropdownFlyoutExpandIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
1
+ export declare const StyledDropdownFlyout: 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 StyledDropdownFlyoutItem: 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 StyledDropdownFlyoutLabel: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
8
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
9
+ }> & string;
10
+ export declare const StyledDropdownFlyoutExpandIcon: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "style"> & {
11
+ style?: import("react").CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
12
+ }> & string;
@@ -5,18 +5,18 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledDropdownFlyout = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledDropdownFlyout",
8
- componentId: "core-12_53_1__sc-1i79jsg-0"
8
+ componentId: "core-12_53_3__sc-1i79jsg-0"
9
9
  })(["display:flex;flex-wrap:wrap;flex-direction:column;width:100%;max-height:855px;overflow-y:auto;padding:", "px 0;"], spacing.sm);
10
10
  export var StyledDropdownFlyoutItem = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledDropdownFlyoutItem",
12
- componentId: "core-12_53_1__sc-1i79jsg-1"
12
+ componentId: "core-12_53_3__sc-1i79jsg-1"
13
13
  })(["display:flex;justify-content:space-between;cursor:pointer;width:100%;padding:", "px ", "px;color:", ";", " &[data-highlighted='true'],&:hover{background-color:", ";}&[data-focus-visible='true']{box-shadow:inset 0 0 0 2px ", ";}"], spacing.xs, spacing.lg, colors.gray20, getTypographyIntent('body'), colors.gray96, colors.blue40);
14
14
  export var StyledDropdownFlyoutLabel = /*#__PURE__*/styled.span.withConfig({
15
15
  displayName: "StyledDropdownFlyoutLabel",
16
- componentId: "core-12_53_1__sc-1i79jsg-2"
16
+ componentId: "core-12_53_3__sc-1i79jsg-2"
17
17
  })(["text-wrap:wrap;"]);
18
18
  export var StyledDropdownFlyoutExpandIcon = /*#__PURE__*/styled.span.withConfig({
19
19
  displayName: "StyledDropdownFlyoutExpandIcon",
20
- componentId: "core-12_53_1__sc-1i79jsg-3"
20
+ componentId: "core-12_53_3__sc-1i79jsg-3"
21
21
  })(["position:relative;display:inline-flex;align-self:center;flex-shrink:0;margin-left:", "px;white-space:nowrap;", ""], spacing.lg, arrowRight(4, 'black'));
22
22
  //# sourceMappingURL=DropdownFlyout.styles.js.map
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { DropzoneContentProps, DropzoneErrorBannerProps, DropzoneProps, DropzoneRef, MultipleErrorsProps } from './Dropzone.types';
3
3
  export declare function MultipleErrors(props: MultipleErrorsProps): React.JSX.Element;
4
- export declare const DropzoneErrorBanner: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & {
4
+ export declare const DropzoneErrorBanner: import("styled-components/dist/types").IStyledComponentBase<"web", Omit<Omit<DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & {
5
5
  ref?: ((instance: HTMLDivElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLDivElement> | null | undefined;
6
- }, never>> & string & Omit<React.ForwardRefExoticComponent<DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>, keyof React.Component<any, {}, any>>;
6
+ }, "style"> & {
7
+ style?: React.CSSProperties | import("styled-components/dist/types").CSSPropertiesWithVars | undefined;
8
+ }> & string & Omit<React.ForwardRefExoticComponent<DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>, keyof React.Component<any, {}, any>>;
7
9
  export declare function DropzoneDefaultMessage({ open, disabled, multiple, errorMessage, }: DropzoneContentProps & {
8
10
  multiple: boolean;
9
11
  }): React.JSX.Element;
@@ -48,7 +48,9 @@ var DropzoneErrorBannerBase = /*#__PURE__*/React.forwardRef(function (_ref, ref)
48
48
  }
49
49
  return /*#__PURE__*/React.createElement(StyledErrorBanner, _extends({}, props, {
50
50
  ref: ref
51
- }), /*#__PURE__*/React.createElement(Banner.Content, null, /*#__PURE__*/React.createElement(Banner.Title, null, error.title), /*#__PURE__*/React.createElement(Banner.Body, null, error.message)), error.body ? /*#__PURE__*/React.createElement(Banner.Action, null, /*#__PURE__*/React.createElement(Button, {
51
+ }), /*#__PURE__*/React.createElement(Banner.Content, {
52
+ role: "alert"
53
+ }, /*#__PURE__*/React.createElement(Banner.Title, null, error.title), /*#__PURE__*/React.createElement(Banner.Body, null, error.message)), error.body ? /*#__PURE__*/React.createElement(Banner.Action, null, /*#__PURE__*/React.createElement(Button, {
52
54
  "data-qa": qa === null || qa === void 0 ? void 0 : qa.showErrorDetails,
53
55
  onClick: function onClick() {
54
56
  return setExpanded(function (prev) {
@@ -95,7 +97,7 @@ export function MultipleErrors(props) {
95
97
  // make error banner accessible as a styled-components selector
96
98
  export var DropzoneErrorBanner = /*#__PURE__*/styled(DropzoneErrorBannerBase).withConfig({
97
99
  displayName: "DropzoneErrorBanner",
98
- componentId: "core-12_53_1__sc-l4fojb-0"
100
+ componentId: "core-12_53_3__sc-l4fojb-0"
99
101
  })([""]);
100
102
  function DropzoneContainer(_ref2) {
101
103
  var active = _ref2.active,
@@ -1 +1 @@
1
- {"version":3,"file":"Dropzone.js","names":["Ban","Image","equals","omit","React","styled","Banner","Box","Button","Token","Tooltip","Typography","useI18nContext","useResizeObserver","useFocusWithin","StyledDropzoneCaption","StyledDropzoneContainer","StyledDropzoneFocusDetector","StyledDropzoneIcon","StyledDropzoneMessage","StyledDropzoneWrapper","StyledErrorBanner","StyledErrorBannerDetails","StyledUploadButton","dropErrors","fileRejectionReason","getFileDetail","isZeroSize","extendedViewHeightBreakpoint","DropzoneErrorBannerBase","forwardRef","_ref","ref","error","onDismiss","qa","fileRejections","props","_objectWithoutProperties","_excluded","I18n","_React$useState","useState","_React$useState2","_slicedToArray","isExpanded","setExpanded","useEffect","title","body","message","type","reset","createElement","_extends","Content","Title","Body","Action","showErrorDetails","onClick","prev","t","Dismiss","hideError","ExpandableContent","expanded","MultipleErrors","filesByErrorType","reduce","acc","rejection","errors","forEach","dropErrorType","dropErrorsByReason","code","push","file","_defineProperty","fileAmount","minFileSize","maxFileSize","fileType","oneFileAtATime","multipleErrors","messages","count","maxFiles","minSize","sizeInMegabytes","getSizeInMB","maxSize","map","errorType","files","length","key","weight","name","DropzoneErrorBanner","withConfig","displayName","componentId","DropzoneContainer","_ref2","active","disabled","getRootProps","rootProps","children","$active","$disabled","DropzoneContent","_ref3","isIconVisible","contentMessage","DropzoneDefaultMessage","_ref4","open","multiple","errorMessage","Fragment","variant","Infinity","$error","Dropzone_","Dropzone","_ref5","forceIconVisibility","contentRenderer","tooltip","rootRef","inputRef","dragError","dropError","dispatchDropError","getInputProps","isDragActive","_ref5$rootProps","_ref5$inputProps","inputProps","className","tokens","onClear","_React$useState3","_React$useState4","setIsIconVisible","_useFocusWithin","isFocusWithin","containerProps","toggleIconVisibility","useCallback","entries","_ref6","target","height","offsetHeight","setResizeObserverTarget","current","useImperativeHandle","isDropzoneDisabled","Boolean","useMemo","validRootProps","validInputProps","direction","alignItems","trigger","overlay","as","display","flexWrap","gap","paddingTop","token","Label","Remove","memo"],"sources":["../../src/Dropzone/Dropzone.tsx"],"sourcesContent":["import { Ban, Image } from '@procore/core-icons/dist'\nimport { equals, omit } from 'ramda'\nimport React from 'react'\nimport styled from 'styled-components'\nimport { Banner } from '../Banner'\nimport { Box } from '../Box'\nimport { Button } from '../Button'\nimport { Token } from '../Token'\nimport { Tooltip } from '../Tooltip'\nimport { Typography } from '../Typography'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { useResizeObserver } from '../_hooks/ResizeObserver'\nimport { useFocusWithin } from '../_hooks/useFocusWithin'\nimport type { Props } from '../_utils/types'\nimport {\n StyledDropzoneCaption,\n StyledDropzoneContainer,\n StyledDropzoneFocusDetector,\n StyledDropzoneIcon,\n StyledDropzoneMessage,\n StyledDropzoneWrapper,\n StyledErrorBanner,\n StyledErrorBannerDetails,\n StyledUploadButton,\n} from './Dropzone.styles'\nimport type {\n ContainerProps,\n ContentProps,\n DropErrorType,\n DropzoneContentProps,\n DropzoneErrorBannerProps,\n DropzoneInputProps,\n DropzoneProps,\n DropzoneRef,\n DropzoneRootProps,\n FileRejectionReason,\n MultipleErrorsProps,\n} from './Dropzone.types'\nimport { dropErrors, fileRejectionReason } from './Dropzone.types'\nimport { getFileDetail, isZeroSize } from './Dropzone.utils'\n\nconst extendedViewHeightBreakpoint = 172\n\nconst DropzoneErrorBannerBase = React.forwardRef<\n HTMLDivElement,\n DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement>\n>(({ error, onDismiss, qa, fileRejections, ...props }, ref) => {\n const I18n = useI18nContext()\n const [isExpanded, setExpanded] = React.useState(false)\n\n React.useEffect(() => {\n setExpanded(false)\n }, [error.title, error.body, error.message])\n\n if (error.type === dropErrors.reset) {\n return null\n }\n\n return (\n <StyledErrorBanner {...props} ref={ref}>\n <Banner.Content>\n <Banner.Title>{error.title}</Banner.Title>\n <Banner.Body>{error.message}</Banner.Body>\n </Banner.Content>\n {error.body ? (\n <Banner.Action>\n <Button\n data-qa={qa?.showErrorDetails}\n onClick={() => setExpanded((prev) => !prev)}\n >\n {isExpanded\n ? I18n.t('core.dropzone.hideDetails')\n : I18n.t('core.dropzone.showDetails')}\n </Button>\n </Banner.Action>\n ) : null}\n <Banner.Dismiss onClick={onDismiss} data-qa={qa?.hideError} />\n {error.body ? (\n <Banner.ExpandableContent expanded={isExpanded}>\n {error.body}\n </Banner.ExpandableContent>\n ) : null}\n </StyledErrorBanner>\n )\n})\n\nexport function MultipleErrors(props: MultipleErrorsProps) {\n const I18n = useI18nContext()\n\n const filesByErrorType = props.fileRejections.reduce(\n (acc, rejection) => {\n rejection.errors.forEach((error) => {\n const dropErrorType = dropErrorsByReason[error.code]\n acc[dropErrorType].push(rejection.file)\n })\n\n return acc\n },\n {\n [dropErrors.fileAmount]: [],\n [dropErrors.minFileSize]: [],\n [dropErrors.maxFileSize]: [],\n [dropErrors.fileType]: [],\n [dropErrors.oneFileAtATime]: [],\n [dropErrors.reset]: [],\n [dropErrors.multipleErrors]: [],\n } as Record<DropErrorType, File[]>\n )\n\n const messages: Record<DropErrorType, string> = {\n [dropErrors.fileAmount]: I18n.t('core.dropzone.maxFileNumberErrorGroup', {\n count: props.maxFiles,\n }),\n [dropErrors.minFileSize]: isZeroSize(props.minSize)\n ? I18n.t('core.dropzone.zeroFileSizeErrorGroup')\n : I18n.t('core.dropzone.minFileSizeErrorGroup', {\n sizeInMegabytes: getSizeInMB(props.minSize as number),\n }),\n [dropErrors.maxFileSize]: I18n.t('core.dropzone.maxFileSizeErrorGroup', {\n sizeInMegabytes: getSizeInMB(props.maxSize as number),\n }),\n [dropErrors.fileType]: I18n.t('core.dropzone.wrongFileTypeErrorGroup'),\n [dropErrors.reset]: '',\n [dropErrors.multipleErrors]: '',\n [dropErrors.oneFileAtATime]: '',\n }\n\n return (\n <div>\n {[\n dropErrors.fileAmount,\n dropErrors.fileType,\n dropErrors.maxFileSize,\n dropErrors.minFileSize,\n ].map((errorType) => {\n const files = filesByErrorType[errorType]\n return files.length ? (\n <div key={errorType}>\n <Typography weight=\"bold\">{messages[errorType]}</Typography>\n <StyledErrorBannerDetails>\n {filesByErrorType[errorType].map((file) => (\n <li key={file.name}>{getFileDetail(file)}</li>\n ))}\n </StyledErrorBannerDetails>\n </div>\n ) : null\n })}\n </div>\n )\n}\n\n// make error banner accessible as a styled-components selector\nexport const DropzoneErrorBanner = styled(DropzoneErrorBannerBase)``\n\nfunction DropzoneContainer({\n active,\n disabled,\n getRootProps,\n rootProps,\n children,\n}: ContainerProps & Props) {\n return (\n <StyledDropzoneContainer\n {...getRootProps(rootProps)}\n $active={active}\n $disabled={disabled}\n >\n {children}\n </StyledDropzoneContainer>\n )\n}\n\nfunction DropzoneContent({\n disabled,\n isIconVisible,\n contentMessage,\n}: ContentProps) {\n return (\n <StyledDropzoneMessage>\n {isIconVisible && (\n <StyledDropzoneIcon $disabled={disabled}>\n {disabled ? <Ban /> : <Image />}\n </StyledDropzoneIcon>\n )}\n {contentMessage}\n </StyledDropzoneMessage>\n )\n}\n\nexport function DropzoneDefaultMessage({\n open,\n disabled,\n multiple,\n errorMessage,\n}: DropzoneContentProps & { multiple: boolean }) {\n const I18n = useI18nContext()\n\n return (\n <>\n <StyledUploadButton\n variant=\"secondary\"\n onClick={open}\n disabled={disabled}\n >\n {I18n.t('core.dropzone.uploadFiles', {\n count: multiple ? Infinity : 1,\n })}\n </StyledUploadButton>\n <StyledDropzoneCaption $error={!!errorMessage}>\n {errorMessage || I18n.t('core.dropzone.dragAndDrop')}\n </StyledDropzoneCaption>\n </>\n )\n}\n\nconst dropErrorsByReason = {\n [fileRejectionReason.maxFiles]: dropErrors.fileAmount,\n [fileRejectionReason.maxFileSize]: dropErrors.maxFileSize,\n [fileRejectionReason.minFileSize]: dropErrors.minFileSize,\n [fileRejectionReason.fileType]: dropErrors.fileType,\n} as Record<FileRejectionReason, DropErrorType>\n\nconst getSizeInMB = (maxSize: number): number => maxSize / 10e5\n\nconst Dropzone_ = React.forwardRef<DropzoneRef, DropzoneProps>(\n function Dropzone(\n {\n isIconVisible: forceIconVisibility,\n contentRenderer,\n disabled,\n tooltip,\n rootRef,\n inputRef,\n dragError,\n dropError,\n dispatchDropError,\n getRootProps,\n getInputProps,\n isDragActive,\n multiple,\n fileRejections,\n open,\n rootProps = {} as DropzoneRootProps,\n inputProps = {} as DropzoneInputProps,\n className,\n qa,\n tokens,\n onClear,\n },\n ref\n ) {\n const [isIconVisible, setIsIconVisible] = React.useState(false)\n const { isFocusWithin, containerProps } = useFocusWithin()\n\n const toggleIconVisibility = React.useCallback(\n (entries: ResizeObserverEntry[]) => {\n const { offsetHeight: height } = entries[0].target as HTMLElement\n setIsIconVisible(height >= extendedViewHeightBreakpoint)\n },\n [setIsIconVisible]\n )\n\n const setResizeObserverTarget = useResizeObserver(toggleIconVisibility)\n\n React.useEffect(() => {\n setResizeObserverTarget(rootRef.current)\n }, [rootRef, setResizeObserverTarget])\n\n React.useImperativeHandle(ref, () => ({\n rootRef: rootRef as React.RefObject<HTMLElement>,\n inputRef: inputRef as React.RefObject<HTMLInputElement>,\n open,\n }))\n\n const isDropzoneDisabled = disabled || Boolean(dragError)\n\n const contentMessage = React.useMemo(\n () =>\n contentRenderer ? (\n contentRenderer({\n open,\n disabled: isDropzoneDisabled,\n errorMessage: dragError,\n })\n ) : (\n <DropzoneDefaultMessage\n open={open}\n disabled={isDropzoneDisabled}\n errorMessage={dragError}\n multiple={multiple}\n />\n ),\n [contentRenderer, open, isDropzoneDisabled, dragError, multiple]\n )\n\n const validRootProps = React.useMemo(\n () => omit(['disabled'], rootProps),\n [rootProps]\n )\n\n const validInputProps = React.useMemo(\n () => omit(['accept', 'multiple', 'type'], inputProps),\n [inputProps]\n )\n\n return (\n <StyledDropzoneWrapper\n direction=\"column\"\n alignItems=\"stretch\"\n className={className}\n >\n <Tooltip\n trigger={Boolean(tooltip) ? 'hover' : 'none'}\n overlay={tooltip || ''}\n >\n <StyledDropzoneFocusDetector {...containerProps}>\n <DropzoneContainer\n rootProps={validRootProps}\n active={isDragActive || isFocusWithin}\n disabled={isDropzoneDisabled}\n getRootProps={getRootProps}\n >\n <input type=\"file\" {...getInputProps(validInputProps)} />\n <DropzoneContent\n disabled={isDropzoneDisabled}\n isIconVisible={\n typeof forceIconVisibility === 'undefined'\n ? isIconVisible\n : forceIconVisibility\n }\n contentMessage={contentMessage}\n />\n </DropzoneContainer>\n </StyledDropzoneFocusDetector>\n </Tooltip>\n <DropzoneErrorBanner\n qa={qa}\n error={dropError}\n fileRejections={fileRejections}\n onDismiss={() => dispatchDropError(dropErrors.reset)}\n />\n {tokens && tokens.length > 0 && (\n <Box as=\"ul\" display=\"flex\" flexWrap=\"wrap\" gap=\"sm\" paddingTop=\"lg\">\n {tokens.map((token) => (\n <li key={token.name}>\n <Token>\n <Token.Label>{getFileDetail(token)}</Token.Label>\n {onClear && <Token.Remove onClick={() => onClear(token)} />}\n </Token>\n </li>\n ))}\n </Box>\n )}\n </StyledDropzoneWrapper>\n )\n }\n)\n\nDropzoneContainer.displayName = 'DropzoneContainer'\n\nDropzoneContent.displayName = 'DropzoneContent'\n\nDropzone_.displayName = 'Dropzone'\n\n/**\n\n Dropzones allow users to quickly upload files from their computers, as well\n as optionally launch the file select component.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-dropzone--demo)\n\n @see [Design Guidelines](https://design.procore.com/dropzone)\n\n*/\nexport const Dropzone = React.memo(Dropzone_, equals)\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAASA,GAAG,EAAEC,KAAK,QAAQ,0BAA0B;AACrD,SAASC,MAAM,EAAEC,IAAI,QAAQ,OAAO;AACpC,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,KAAK,QAAQ,UAAU;AAChC,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,cAAc,QAAQ,gBAAgB;AAC/C,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SAASC,cAAc,QAAQ,0BAA0B;AAEzD,SACEC,qBAAqB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ACkF,KAAK;IAAA,oBAChB3K,KAAA,CAAAiD,aAAA;MAAI4C,GAAG,EAAE8E,KAAK,CAAC5E;IAAK,gBAClB/F,KAAA,CAAAiD,aAAA,CAAC5C,KAAK,qBACJL,KAAA,CAAAiD,aAAA,CAAC5C,KAAK,CAACuK,KAAK,QAAEtJ,aAAa,CAACqJ,KAAK,CAAe,CAAC,EAChD/B,OAAO,iBAAI5I,KAAA,CAAAiD,aAAA,CAAC5C,KAAK,CAACwK,MAAM;MAACrH,OAAO,EAAE,SAATA,OAAOA,CAAA;QAAA,OAAQoF,OAAO,CAAC+B,KAAK,CAAC;MAAA;IAAC,CAAE,CACrD,CACL,CAAC;EAAA,CACN,CACE,CAEc,CAAC;AAE5B,CACF,CAAC;AAEDvE,iBAAiB,CAACF,WAAW,GAAG,mBAAmB;AAEnDW,eAAe,CAACX,WAAW,GAAG,iBAAiB;AAE/CwB,SAAS,CAACxB,WAAW,GAAG,UAAU;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMyB,QAAQ,gBAAG3H,KAAK,CAAC8K,IAAI,CAACpD,SAAS,EAAE5H,MAAM,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"Dropzone.js","names":["Ban","Image","equals","omit","React","styled","Banner","Box","Button","Token","Tooltip","Typography","useI18nContext","useResizeObserver","useFocusWithin","StyledDropzoneCaption","StyledDropzoneContainer","StyledDropzoneFocusDetector","StyledDropzoneIcon","StyledDropzoneMessage","StyledDropzoneWrapper","StyledErrorBanner","StyledErrorBannerDetails","StyledUploadButton","dropErrors","fileRejectionReason","getFileDetail","isZeroSize","extendedViewHeightBreakpoint","DropzoneErrorBannerBase","forwardRef","_ref","ref","error","onDismiss","qa","fileRejections","props","_objectWithoutProperties","_excluded","I18n","_React$useState","useState","_React$useState2","_slicedToArray","isExpanded","setExpanded","useEffect","title","body","message","type","reset","createElement","_extends","Content","role","Title","Body","Action","showErrorDetails","onClick","prev","t","Dismiss","hideError","ExpandableContent","expanded","MultipleErrors","filesByErrorType","reduce","acc","rejection","errors","forEach","dropErrorType","dropErrorsByReason","code","push","file","_defineProperty","fileAmount","minFileSize","maxFileSize","fileType","oneFileAtATime","multipleErrors","messages","count","maxFiles","minSize","sizeInMegabytes","getSizeInMB","maxSize","map","errorType","files","length","key","weight","name","DropzoneErrorBanner","withConfig","displayName","componentId","DropzoneContainer","_ref2","active","disabled","getRootProps","rootProps","children","$active","$disabled","DropzoneContent","_ref3","isIconVisible","contentMessage","DropzoneDefaultMessage","_ref4","open","multiple","errorMessage","Fragment","variant","Infinity","$error","Dropzone_","Dropzone","_ref5","forceIconVisibility","contentRenderer","tooltip","rootRef","inputRef","dragError","dropError","dispatchDropError","getInputProps","isDragActive","_ref5$rootProps","_ref5$inputProps","inputProps","className","tokens","onClear","_React$useState3","_React$useState4","setIsIconVisible","_useFocusWithin","isFocusWithin","containerProps","toggleIconVisibility","useCallback","entries","_ref6","target","height","offsetHeight","setResizeObserverTarget","current","useImperativeHandle","isDropzoneDisabled","Boolean","useMemo","validRootProps","validInputProps","direction","alignItems","trigger","overlay","as","display","flexWrap","gap","paddingTop","token","Label","Remove","memo"],"sources":["../../src/Dropzone/Dropzone.tsx"],"sourcesContent":["import { Ban, Image } from '@procore/core-icons/dist'\nimport { equals, omit } from 'ramda'\nimport React from 'react'\nimport styled from 'styled-components'\nimport { Banner } from '../Banner'\nimport { Box } from '../Box'\nimport { Button } from '../Button'\nimport { Token } from '../Token'\nimport { Tooltip } from '../Tooltip'\nimport { Typography } from '../Typography'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { useResizeObserver } from '../_hooks/ResizeObserver'\nimport { useFocusWithin } from '../_hooks/useFocusWithin'\nimport type { Props } from '../_utils/types'\nimport {\n StyledDropzoneCaption,\n StyledDropzoneContainer,\n StyledDropzoneFocusDetector,\n StyledDropzoneIcon,\n StyledDropzoneMessage,\n StyledDropzoneWrapper,\n StyledErrorBanner,\n StyledErrorBannerDetails,\n StyledUploadButton,\n} from './Dropzone.styles'\nimport type {\n ContainerProps,\n ContentProps,\n DropErrorType,\n DropzoneContentProps,\n DropzoneErrorBannerProps,\n DropzoneInputProps,\n DropzoneProps,\n DropzoneRef,\n DropzoneRootProps,\n FileRejectionReason,\n MultipleErrorsProps,\n} from './Dropzone.types'\nimport { dropErrors, fileRejectionReason } from './Dropzone.types'\nimport { getFileDetail, isZeroSize } from './Dropzone.utils'\n\nconst extendedViewHeightBreakpoint = 172\n\nconst DropzoneErrorBannerBase = React.forwardRef<\n HTMLDivElement,\n DropzoneErrorBannerProps & React.HTMLAttributes<HTMLDivElement>\n>(({ error, onDismiss, qa, fileRejections, ...props }, ref) => {\n const I18n = useI18nContext()\n const [isExpanded, setExpanded] = React.useState(false)\n\n React.useEffect(() => {\n setExpanded(false)\n }, [error.title, error.body, error.message])\n\n if (error.type === dropErrors.reset) {\n return null\n }\n\n return (\n <StyledErrorBanner {...props} ref={ref}>\n <Banner.Content role=\"alert\">\n <Banner.Title>{error.title}</Banner.Title>\n <Banner.Body>{error.message}</Banner.Body>\n </Banner.Content>\n {error.body ? (\n <Banner.Action>\n <Button\n data-qa={qa?.showErrorDetails}\n onClick={() => setExpanded((prev) => !prev)}\n >\n {isExpanded\n ? I18n.t('core.dropzone.hideDetails')\n : I18n.t('core.dropzone.showDetails')}\n </Button>\n </Banner.Action>\n ) : null}\n <Banner.Dismiss onClick={onDismiss} data-qa={qa?.hideError} />\n {error.body ? (\n <Banner.ExpandableContent expanded={isExpanded}>\n {error.body}\n </Banner.ExpandableContent>\n ) : null}\n </StyledErrorBanner>\n )\n})\n\nexport function MultipleErrors(props: MultipleErrorsProps) {\n const I18n = useI18nContext()\n\n const filesByErrorType = props.fileRejections.reduce(\n (acc, rejection) => {\n rejection.errors.forEach((error) => {\n const dropErrorType = dropErrorsByReason[error.code]\n acc[dropErrorType].push(rejection.file)\n })\n\n return acc\n },\n {\n [dropErrors.fileAmount]: [],\n [dropErrors.minFileSize]: [],\n [dropErrors.maxFileSize]: [],\n [dropErrors.fileType]: [],\n [dropErrors.oneFileAtATime]: [],\n [dropErrors.reset]: [],\n [dropErrors.multipleErrors]: [],\n } as Record<DropErrorType, File[]>\n )\n\n const messages: Record<DropErrorType, string> = {\n [dropErrors.fileAmount]: I18n.t('core.dropzone.maxFileNumberErrorGroup', {\n count: props.maxFiles,\n }),\n [dropErrors.minFileSize]: isZeroSize(props.minSize)\n ? I18n.t('core.dropzone.zeroFileSizeErrorGroup')\n : I18n.t('core.dropzone.minFileSizeErrorGroup', {\n sizeInMegabytes: getSizeInMB(props.minSize as number),\n }),\n [dropErrors.maxFileSize]: I18n.t('core.dropzone.maxFileSizeErrorGroup', {\n sizeInMegabytes: getSizeInMB(props.maxSize as number),\n }),\n [dropErrors.fileType]: I18n.t('core.dropzone.wrongFileTypeErrorGroup'),\n [dropErrors.reset]: '',\n [dropErrors.multipleErrors]: '',\n [dropErrors.oneFileAtATime]: '',\n }\n\n return (\n <div>\n {[\n dropErrors.fileAmount,\n dropErrors.fileType,\n dropErrors.maxFileSize,\n dropErrors.minFileSize,\n ].map((errorType) => {\n const files = filesByErrorType[errorType]\n return files.length ? (\n <div key={errorType}>\n <Typography weight=\"bold\">{messages[errorType]}</Typography>\n <StyledErrorBannerDetails>\n {filesByErrorType[errorType].map((file) => (\n <li key={file.name}>{getFileDetail(file)}</li>\n ))}\n </StyledErrorBannerDetails>\n </div>\n ) : null\n })}\n </div>\n )\n}\n\n// make error banner accessible as a styled-components selector\nexport const DropzoneErrorBanner = styled(DropzoneErrorBannerBase)``\n\nfunction DropzoneContainer({\n active,\n disabled,\n getRootProps,\n rootProps,\n children,\n}: ContainerProps & Props) {\n return (\n <StyledDropzoneContainer\n {...getRootProps(rootProps)}\n $active={active}\n $disabled={disabled}\n >\n {children}\n </StyledDropzoneContainer>\n )\n}\n\nfunction DropzoneContent({\n disabled,\n isIconVisible,\n contentMessage,\n}: ContentProps) {\n return (\n <StyledDropzoneMessage>\n {isIconVisible && (\n <StyledDropzoneIcon $disabled={disabled}>\n {disabled ? <Ban /> : <Image />}\n </StyledDropzoneIcon>\n )}\n {contentMessage}\n </StyledDropzoneMessage>\n )\n}\n\nexport function DropzoneDefaultMessage({\n open,\n disabled,\n multiple,\n errorMessage,\n}: DropzoneContentProps & { multiple: boolean }) {\n const I18n = useI18nContext()\n\n return (\n <>\n <StyledUploadButton\n variant=\"secondary\"\n onClick={open}\n disabled={disabled}\n >\n {I18n.t('core.dropzone.uploadFiles', {\n count: multiple ? Infinity : 1,\n })}\n </StyledUploadButton>\n <StyledDropzoneCaption $error={!!errorMessage}>\n {errorMessage || I18n.t('core.dropzone.dragAndDrop')}\n </StyledDropzoneCaption>\n </>\n )\n}\n\nconst dropErrorsByReason = {\n [fileRejectionReason.maxFiles]: dropErrors.fileAmount,\n [fileRejectionReason.maxFileSize]: dropErrors.maxFileSize,\n [fileRejectionReason.minFileSize]: dropErrors.minFileSize,\n [fileRejectionReason.fileType]: dropErrors.fileType,\n} as Record<FileRejectionReason, DropErrorType>\n\nconst getSizeInMB = (maxSize: number): number => maxSize / 10e5\n\nconst Dropzone_ = React.forwardRef<DropzoneRef, DropzoneProps>(\n function Dropzone(\n {\n isIconVisible: forceIconVisibility,\n contentRenderer,\n disabled,\n tooltip,\n rootRef,\n inputRef,\n dragError,\n dropError,\n dispatchDropError,\n getRootProps,\n getInputProps,\n isDragActive,\n multiple,\n fileRejections,\n open,\n rootProps = {} as DropzoneRootProps,\n inputProps = {} as DropzoneInputProps,\n className,\n qa,\n tokens,\n onClear,\n },\n ref\n ) {\n const [isIconVisible, setIsIconVisible] = React.useState(false)\n const { isFocusWithin, containerProps } = useFocusWithin()\n\n const toggleIconVisibility = React.useCallback(\n (entries: ResizeObserverEntry[]) => {\n const { offsetHeight: height } = entries[0].target as HTMLElement\n setIsIconVisible(height >= extendedViewHeightBreakpoint)\n },\n [setIsIconVisible]\n )\n\n const setResizeObserverTarget = useResizeObserver(toggleIconVisibility)\n\n React.useEffect(() => {\n setResizeObserverTarget(rootRef.current)\n }, [rootRef, setResizeObserverTarget])\n\n React.useImperativeHandle(ref, () => ({\n rootRef: rootRef as React.RefObject<HTMLElement>,\n inputRef: inputRef as React.RefObject<HTMLInputElement>,\n open,\n }))\n\n const isDropzoneDisabled = disabled || Boolean(dragError)\n\n const contentMessage = React.useMemo(\n () =>\n contentRenderer ? (\n contentRenderer({\n open,\n disabled: isDropzoneDisabled,\n errorMessage: dragError,\n })\n ) : (\n <DropzoneDefaultMessage\n open={open}\n disabled={isDropzoneDisabled}\n errorMessage={dragError}\n multiple={multiple}\n />\n ),\n [contentRenderer, open, isDropzoneDisabled, dragError, multiple]\n )\n\n const validRootProps = React.useMemo(\n () => omit(['disabled'], rootProps),\n [rootProps]\n )\n\n const validInputProps = React.useMemo(\n () => omit(['accept', 'multiple', 'type'], inputProps),\n [inputProps]\n )\n\n return (\n <StyledDropzoneWrapper\n direction=\"column\"\n alignItems=\"stretch\"\n className={className}\n >\n <Tooltip\n trigger={Boolean(tooltip) ? 'hover' : 'none'}\n overlay={tooltip || ''}\n >\n <StyledDropzoneFocusDetector {...containerProps}>\n <DropzoneContainer\n rootProps={validRootProps}\n active={isDragActive || isFocusWithin}\n disabled={isDropzoneDisabled}\n getRootProps={getRootProps}\n >\n <input type=\"file\" {...getInputProps(validInputProps)} />\n <DropzoneContent\n disabled={isDropzoneDisabled}\n isIconVisible={\n typeof forceIconVisibility === 'undefined'\n ? isIconVisible\n : forceIconVisibility\n }\n contentMessage={contentMessage}\n />\n </DropzoneContainer>\n </StyledDropzoneFocusDetector>\n </Tooltip>\n <DropzoneErrorBanner\n qa={qa}\n error={dropError}\n fileRejections={fileRejections}\n onDismiss={() => dispatchDropError(dropErrors.reset)}\n />\n {tokens && tokens.length > 0 && (\n <Box as=\"ul\" display=\"flex\" flexWrap=\"wrap\" gap=\"sm\" paddingTop=\"lg\">\n {tokens.map((token) => (\n <li key={token.name}>\n <Token>\n <Token.Label>{getFileDetail(token)}</Token.Label>\n {onClear && <Token.Remove onClick={() => onClear(token)} />}\n </Token>\n </li>\n ))}\n </Box>\n )}\n </StyledDropzoneWrapper>\n )\n }\n)\n\nDropzoneContainer.displayName = 'DropzoneContainer'\n\nDropzoneContent.displayName = 'DropzoneContent'\n\nDropzone_.displayName = 'Dropzone'\n\n/**\n\n Dropzones allow users to quickly upload files from their computers, as well\n as optionally launch the file select component.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-dropzone--demo)\n\n @see [Design Guidelines](https://design.procore.com/dropzone)\n\n*/\nexport const Dropzone = React.memo(Dropzone_, equals)\n"],"mappings":";;;;;;;;;;;;;;AAAA,SAASA,GAAG,EAAEC,KAAK,QAAQ,0BAA0B;AACrD,SAASC,MAAM,EAAEC,IAAI,QAAQ,OAAO;AACpC,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,KAAK,QAAQ,UAAU;AAChC,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,cAAc,QAAQ,gBAAgB;AAC/C,SAASC,iBAAiB,QAAQ,0BAA0B;AAC5D,SAASC,cAAc,QAAQ,0BAA0B;AAEzD,SACEC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,kBAAkB,EAClBC,qBAAqB,EACrBC,qBAAqB,EACrBC,iBAAiB,EACjBC,wBAAwB,EACxBC,kBAAkB,QACb,mBAAmB;AAc1B,SAASC,UAAU,EAAEC,mBAAmB,QAAQ,kBAAkB;AAClE,SAASC,aAAa,EAAEC,UAAU,QAAQ,kBAAkB;AAE5D,IAAMC,4BAA4B,GAAG,GAAG;AAExC,IAAMC,uBAAuB,gBAAGzB,KAAK,CAAC0B,UAAU,CAG9C,UAAAC,IAAA,E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