@procore/core-react 12.17.5 → 12.17.6

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 (386) hide show
  1. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  2. package/dist/AnchorNavigation/AnchorNavigationProvider.js +5 -5
  3. package/dist/Avatar/Avatar.js +9 -9
  4. package/dist/Avatar/Avatar.styles.js +5 -5
  5. package/dist/AvatarStack/AvatarStack.js +14 -14
  6. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  7. package/dist/Badge/Badge.js +1 -1
  8. package/dist/Badge/Badge.styles.js +2 -2
  9. package/dist/Banner/Banner.js +8 -8
  10. package/dist/Banner/Banner.styles.js +10 -10
  11. package/dist/Box/Box.js +3 -3
  12. package/dist/Box/Box.styles.js +1 -1
  13. package/dist/Breadcrumbs/Breadcrumbs.js +9 -9
  14. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  15. package/dist/Button/Button.js +7 -7
  16. package/dist/Button/Button.styles.js +5 -5
  17. package/dist/Calendar/Calendar.js +4 -4
  18. package/dist/Calendar/Calendar.styles.js +8 -8
  19. package/dist/Card/Card.js +3 -3
  20. package/dist/Card/Card.styles.js +1 -1
  21. package/dist/Checkbox/Checkbox.js +9 -9
  22. package/dist/Checkbox/Checkbox.styles.js +6 -6
  23. package/dist/Checkbox/CheckboxTooltip.js +2 -2
  24. package/dist/CheckboxGroup/CheckboxGroup.js +8 -8
  25. package/dist/ClickOutside/ClickOutside.js +3 -3
  26. package/dist/ContactItem/ContactItem.js +3 -3
  27. package/dist/ContactItem/ContactItem.styles.js +5 -5
  28. package/dist/Content/Content.styles.js +2 -2
  29. package/dist/DateInput/DateInput.js +11 -11
  30. package/dist/DateInput/DateInput.styles.js +10 -10
  31. package/dist/DateSelect/DateSelect.js +8 -8
  32. package/dist/DetailPage/DetailPage.js +3 -3
  33. package/dist/DetailPage/DetailPage.styles.js +7 -7
  34. package/dist/DetailPage/examples/TableExample.js +5 -5
  35. package/dist/DetailPageTemplate/DetailPageTemplate.js +3 -3
  36. package/dist/Dropdown/Dropdown.js +8 -8
  37. package/dist/Dropdown/Dropdown.styles.js +3 -3
  38. package/dist/DropdownFlyout/DropdownFlyout.helpers.js +14 -14
  39. package/dist/DropdownFlyout/DropdownFlyout.js +8 -8
  40. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  41. package/dist/Dropzone/Dropzone.hooks.js +16 -16
  42. package/dist/Dropzone/Dropzone.js +13 -13
  43. package/dist/Dropzone/Dropzone.styles.js +9 -9
  44. package/dist/EmptyState/EmptyState.js +3 -3
  45. package/dist/EmptyState/EmptyState.styles.js +6 -6
  46. package/dist/Field/Field.js +3 -3
  47. package/dist/Field/Field.styles.js +3 -3
  48. package/dist/FileList/FileList.js +3 -3
  49. package/dist/FileList/FileList.styles.js +4 -4
  50. package/dist/FileSelect/FileExplorer/FileExplorer.js +3 -3
  51. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  52. package/dist/FileSelect/FileExplorer/FileExplorerModal.js +3 -3
  53. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.js +5 -5
  54. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  55. package/dist/FileSelect/FileExplorer/useSidebarNavigation.js +8 -8
  56. package/dist/FileSelect/FileSelect.js +21 -21
  57. package/dist/FileSelect/FileSelect.js.map +1 -1
  58. package/dist/FileSelect/FileSelect.styles.js +2 -2
  59. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.js +5 -5
  60. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  61. package/dist/FileSelect/FileTokenList/FileTokenList.js +8 -8
  62. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  63. package/dist/FileSelect/GridSource/GridSource.js +20 -20
  64. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  65. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  66. package/dist/FileSelect/LocalSource/LocalSource.js +19 -19
  67. package/dist/FileSelect/LocalSource/LocalSource.js.map +1 -1
  68. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  69. package/dist/FileSelect/ProgressAnnouncer/ProgressAnnouncer.js +11 -11
  70. package/dist/FileSelect/SourceItem/SourceItem.js +3 -3
  71. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  72. package/dist/FileSelect/ThumbnailList/ThumbnailList.js +8 -8
  73. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  74. package/dist/FileSelect/TreeSource/TreeSource.js +21 -21
  75. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  76. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  77. package/dist/FileSelect/storyHelpers.js +4 -4
  78. package/dist/FileSelect/storyHelpers.js.map +1 -1
  79. package/dist/FileToken/FileToken.js +8 -8
  80. package/dist/FileToken/FileToken.styles.js +4 -4
  81. package/dist/FilterToken/FilterToken.js +9 -9
  82. package/dist/FilterToken/FilterToken.styles.js +2 -2
  83. package/dist/Flex/Flex.js +3 -3
  84. package/dist/FlexList/FlexList.js +3 -3
  85. package/dist/FlexList/FlexList.styles.js +1 -1
  86. package/dist/Form/Form.js +22 -18
  87. package/dist/Form/Form.js.map +1 -1
  88. package/dist/Form/Form.styles.js +14 -14
  89. package/dist/Form/FormFieldTooltip.js +1 -1
  90. package/dist/Form/StyledFormikForm.styles.js +2 -2
  91. package/dist/Form/stories/util.js +9 -9
  92. package/dist/GhostPlaceholder/GhostPlaceholder.js +3 -3
  93. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  94. package/dist/Grid/Grid.js +3 -3
  95. package/dist/Grid/Grid.styles.js +3 -3
  96. package/dist/Grid/Grid.utils.js +5 -5
  97. package/dist/GroupSelect/GroupSelect.js +17 -17
  98. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  99. package/dist/Input/Input.js +3 -3
  100. package/dist/Input/Input.styles.js +1 -1
  101. package/dist/Link/Link.js +3 -3
  102. package/dist/Link/Link.styles.js +1 -1
  103. package/dist/ListPage/ListPage.js +3 -3
  104. package/dist/ListPage/ListPage.styles.js +8 -8
  105. package/dist/Loader/Loader.js +3 -3
  106. package/dist/Loader/Loader.styles.js +2 -2
  107. package/dist/Menu/Menu.js +15 -15
  108. package/dist/MenuImperative/MenuImperative.js +15 -15
  109. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  110. package/dist/MenuImperative/sensors.js +8 -8
  111. package/dist/MenuImperative/sensors.js.map +1 -1
  112. package/dist/Modal/ChildRegistry.context.js +11 -11
  113. package/dist/Modal/Modal.js +8 -8
  114. package/dist/Modal/Modal.styles.js +13 -13
  115. package/dist/Modal/Modal.types.d.ts +3 -1
  116. package/dist/Modal/Modal.types.js.map +1 -1
  117. package/dist/Modal/storyHelpers.js +7 -7
  118. package/dist/MultiSelect/MultiSelect.js +17 -17
  119. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  120. package/dist/NextMenu/NextMenu.js +14 -14
  121. package/dist/NextMenu/NextMenu.styles.js +3 -3
  122. package/dist/NextMenu/NextMenuItem.js +3 -3
  123. package/dist/NextMenu/sampleData.js +7 -6
  124. package/dist/NextMenu/sampleData.js.map +1 -1
  125. package/dist/NextTile/NextTile.js +9 -9
  126. package/dist/Notation/Notation.js +4 -4
  127. package/dist/NumberInput/NumberInput.hooks.js +5 -5
  128. package/dist/NumberInput/NumberInput.js +14 -14
  129. package/dist/NumberInput/NumberInput.styles.js +7 -7
  130. package/dist/NumberInput/NumberInput.utils.js +11 -11
  131. package/dist/Overlay/OverlayArrow.js +4 -4
  132. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  133. package/dist/OverlayTrigger/OverlayTrigger.js +15 -15
  134. package/dist/OverlayTrigger/a11yPresets.js +6 -6
  135. package/dist/PageFooterTemplate/PageFooterTemplate.js +3 -3
  136. package/dist/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  137. package/dist/PageHeaderTemplate/PageHeaderTemplate.js +3 -3
  138. package/dist/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  139. package/dist/PageHeaderTemplate/PageHeaderTemplate.utils.js +5 -5
  140. package/dist/PageLayout/PageLayout.js +15 -15
  141. package/dist/PageLayout/PageLayout.js.map +1 -1
  142. package/dist/PageLayout/PageLayout.styles.js +16 -16
  143. package/dist/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  144. package/dist/PageTemplate/PageTemplate.js +3 -3
  145. package/dist/PageTemplate/PageTemplate.styles.js +3 -3
  146. package/dist/PageTemplate/PageTemplateCard.js +3 -3
  147. package/dist/Pagination/Pagination.js +3 -3
  148. package/dist/Pagination/Pagination.styles.js +5 -5
  149. package/dist/Pagination/PaginationSelect.js +3 -3
  150. package/dist/Panel/Panel.js +8 -8
  151. package/dist/Panel/Panel.styles.js +11 -11
  152. package/dist/Pill/Pill.js +3 -3
  153. package/dist/Pill/Pill.styles.js +2 -2
  154. package/dist/PillSelect/PillSelect.js +8 -8
  155. package/dist/PillSelect/PillSelect.styles.js +4 -4
  156. package/dist/Popover/Popover.js +9 -9
  157. package/dist/Popover/Popover.styles.js +2 -2
  158. package/dist/Portal/Portal.js +3 -3
  159. package/dist/Portal/Portal.styles.js +1 -1
  160. package/dist/ProgressBar/ProgressBar.js +8 -8
  161. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  162. package/dist/RadioButton/RadioButton.js +3 -3
  163. package/dist/RadioButton/RadioButton.styles.js +3 -3
  164. package/dist/Required/Required.js +3 -3
  165. package/dist/Required/Required.styles.js +3 -3
  166. package/dist/Search/Search.hooks.js +5 -5
  167. package/dist/Search/Search.js +3 -3
  168. package/dist/Search/Search.styles.js +5 -5
  169. package/dist/Section/Section.js +14 -14
  170. package/dist/Section/Section.styles.js +7 -7
  171. package/dist/SegmentedController/SegmentedController.js +14 -14
  172. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  173. package/dist/Select/Select.js +8 -8
  174. package/dist/Select/Select.styles.js +7 -7
  175. package/dist/Semantic/Semantic.js +3 -3
  176. package/dist/Semantic/Semantic.styles.js +9 -9
  177. package/dist/SettingsPage/SettingsPage.js +3 -3
  178. package/dist/SettingsPageTemplate/SettingsPageTemplate.js +3 -3
  179. package/dist/Slider/Slider.js +8 -8
  180. package/dist/Slider/Slider.styles.js +5 -5
  181. package/dist/Spinner/Spinner.js +3 -3
  182. package/dist/Spinner/Spinner.styles.js +7 -7
  183. package/dist/SplitViewCard/SplitViewCard.context.js +5 -5
  184. package/dist/SplitViewCard/SplitViewCard.js +8 -8
  185. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  186. package/dist/SuperSelect/SuperSelect.components.js +8 -8
  187. package/dist/SuperSelect/SuperSelect.js +7 -7
  188. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  189. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  190. package/dist/SuperSelect/SuperSelect.utils.js +14 -14
  191. package/dist/SuperSelect/presets/contactsPreset.js +3 -3
  192. package/dist/SuperSelect/presets/filterPreset.js +1 -1
  193. package/dist/SuperSelect/useSuperSelect.js +14 -14
  194. package/dist/Switch/Switch.js +3 -3
  195. package/dist/Switch/Switch.styles.js +4 -4
  196. package/dist/Table/Table.js +9 -9
  197. package/dist/Table/Table.styles.js +28 -28
  198. package/dist/TableShelf/TableShelf.js +3 -3
  199. package/dist/TableShelf/TableShelf.styles.js +5 -5
  200. package/dist/Tabs/Tabs.js +17 -17
  201. package/dist/Tabs/Tabs.styles.js +15 -15
  202. package/dist/Tearsheet/Tearsheet.js +11 -11
  203. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  204. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  205. package/dist/TextArea/TextArea.js +3 -3
  206. package/dist/TextArea/TextArea.styles.js +1 -1
  207. package/dist/TextEditor/TextEditor.js +17 -17
  208. package/dist/TextEditorOutput/TextEditorOutput.js +9 -9
  209. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  210. package/dist/Thumbnail/Thumbnail.hooks.d.ts +8 -0
  211. package/dist/Thumbnail/Thumbnail.hooks.js +8 -8
  212. package/dist/Thumbnail/Thumbnail.js +9 -9
  213. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  214. package/dist/Thumbnail/Thumbnail.utils.js +9 -9
  215. package/dist/Thumbnail/ThumbnailCaption.js +3 -3
  216. package/dist/Thumbnail/ThumbnailDocumentIcon.js +5 -5
  217. package/dist/Thumbnail/ThumbnailPreview.js +5 -5
  218. package/dist/ThumbnailGrid/ThumbnailGrid.hooks.js +5 -5
  219. package/dist/ThumbnailGrid/ThumbnailGrid.js +17 -17
  220. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  221. package/dist/TieredDropdown/TieredDropdown.js +14 -14
  222. package/dist/TieredDropdown/useSearch.js +5 -5
  223. package/dist/TieredSelect/LeafSelectionTieredSelect.js +8 -8
  224. package/dist/TieredSelect/TierSelectionTieredSelect.js +17 -17
  225. package/dist/TieredSelect/TieredSelect.js +8 -8
  226. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  227. package/dist/TieredSelect/TieredSelectMenu.js +17 -17
  228. package/dist/Tile/Tile.js +3 -3
  229. package/dist/Tile/Tile.styles.js +8 -8
  230. package/dist/Title/Title.js +3 -3
  231. package/dist/Title/Title.styles.js +7 -7
  232. package/dist/Toast/Toast.js +4 -4
  233. package/dist/Toast/Toast.styles.js +3 -3
  234. package/dist/ToggleButton/ToggleButton.js +3 -3
  235. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  236. package/dist/Token/Token.js +4 -4
  237. package/dist/Token/Token.styles.js +3 -3
  238. package/dist/ToolHeader/ActionIcon.js +3 -3
  239. package/dist/ToolHeader/ToolHeader.js +9 -9
  240. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  241. package/dist/ToolLandingPage/ToolLandingPage.js +3 -3
  242. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  243. package/dist/ToolLandingPageTemplate/ToolLandingPageTemplate.js +3 -3
  244. package/dist/Tooltip/Tooltip.js +8 -8
  245. package/dist/Tooltip/Tooltip.styles.js +2 -2
  246. package/dist/Tree/Tree.hooks.js +14 -14
  247. package/dist/Tree/Tree.hooks.js.map +1 -1
  248. package/dist/Tree/Tree.js +14 -14
  249. package/dist/Tree/Tree.styles.js +9 -9
  250. package/dist/Typeahead/Typeahead.js +9 -9
  251. package/dist/Typeahead/Typeahead.styles.js +3 -3
  252. package/dist/Typography/Typography.js +3 -3
  253. package/dist/Typography/Typography.styles.js +1 -1
  254. package/dist/Typography/Typography.table.story.js +2 -2
  255. package/dist/_hooks/Anchor.js +19 -16
  256. package/dist/_hooks/Anchor.js.map +1 -1
  257. package/dist/_hooks/Buffer.js +8 -7
  258. package/dist/_hooks/Buffer.js.map +1 -1
  259. package/dist/_hooks/ClickOutside.js +2 -1
  260. package/dist/_hooks/ClickOutside.js.map +1 -1
  261. package/dist/_hooks/DateTime/DateTime.js +17 -17
  262. package/dist/_hooks/DelayedCallback.js +1 -1
  263. package/dist/_hooks/DelayedToggle.js +7 -2
  264. package/dist/_hooks/DelayedToggle.js.map +1 -1
  265. package/dist/_hooks/Deprecation.js +1 -0
  266. package/dist/_hooks/Deprecation.js.map +1 -1
  267. package/dist/_hooks/EventListener.js +5 -5
  268. package/dist/_hooks/FocusScopeOverride.js +6 -6
  269. package/dist/_hooks/Hotkey.js +2 -2
  270. package/dist/_hooks/I18n.js +13 -13
  271. package/dist/_hooks/InjectedScript.js +8 -7
  272. package/dist/_hooks/InjectedScript.js.map +1 -1
  273. package/dist/_hooks/IntersectionObserver/useIntersectionObserver.js +5 -5
  274. package/dist/_hooks/ListNavigation.js +9 -7
  275. package/dist/_hooks/ListNavigation.js.map +1 -1
  276. package/dist/_hooks/OverflowObserver/OverflowObserver.js +6 -6
  277. package/dist/_hooks/ResizeObserver.js +5 -5
  278. package/dist/_hooks/TextEntry.js +5 -2
  279. package/dist/_hooks/TextEntry.js.map +1 -1
  280. package/dist/_hooks/Timer.js +1 -0
  281. package/dist/_hooks/Timer.js.map +1 -1
  282. package/dist/_hooks/Trigger.js +19 -13
  283. package/dist/_hooks/Trigger.js.map +1 -1
  284. package/dist/_hooks/Visibility.js +9 -7
  285. package/dist/_hooks/Visibility.js.map +1 -1
  286. package/dist/_hooks/ZIndex.js +7 -7
  287. package/dist/_hooks/getI18nProviderLocale.js +2 -1
  288. package/dist/_hooks/getI18nProviderLocale.js.map +1 -1
  289. package/dist/_hooks/useCurrentMedia.js +5 -5
  290. package/dist/_hooks/useFileUploader.js +15 -15
  291. package/dist/_hooks/useFileUploader.js.map +1 -1
  292. package/dist/_hooks/useFocusWithin.js +5 -5
  293. package/dist/_hooks/useMediaLessThan.js +5 -5
  294. package/dist/_hooks/useSet.js +5 -5
  295. package/dist/_styles/colors.js +6 -6
  296. package/dist/_styles/spacing.d.ts +27 -0
  297. package/dist/_styles/spacing.js +27 -0
  298. package/dist/_styles/spacing.js.map +1 -1
  299. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  300. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  301. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  302. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  303. package/dist/_typedoc/Box/Box.types.json +68 -68
  304. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  305. package/dist/_typedoc/Button/Button.types.json +12 -12
  306. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  307. package/dist/_typedoc/Card/Card.types.json +6 -6
  308. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  309. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  310. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  311. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  312. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  313. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  314. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  315. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  316. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  317. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  318. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  319. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  320. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  321. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  322. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  323. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  324. package/dist/_typedoc/Form/Form.types.json +745 -745
  325. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  326. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  327. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  328. package/dist/_typedoc/Input/Input.types.json +2 -2
  329. package/dist/_typedoc/Link/Link.types.json +4 -4
  330. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  331. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  332. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  333. package/dist/_typedoc/Modal/Modal.types.json +50 -50
  334. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  335. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  336. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  337. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  338. package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
  339. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  340. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  341. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  342. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  343. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  344. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  345. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  346. package/dist/_typedoc/Required/Required.types.json +5 -5
  347. package/dist/_typedoc/Search/Search.types.json +19 -19
  348. package/dist/_typedoc/Section/Section.types.json +15 -15
  349. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  350. package/dist/_typedoc/Select/Select.types.json +60 -60
  351. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  352. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  353. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  354. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
  355. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  356. package/dist/_typedoc/Table/Table.types.json +101 -101
  357. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  358. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  359. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  360. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  361. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +6 -6
  362. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  363. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  364. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  365. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  366. package/dist/_typedoc/Title/Title.types.json +1 -1
  367. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  368. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  369. package/dist/_typedoc/Token/Token.types.json +4 -4
  370. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  371. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  372. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  373. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  374. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  375. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  376. package/dist/_typedoc/_utils/types.json +3 -3
  377. package/dist/_utils/TinyMCE.js +4 -4
  378. package/dist/_utils/closeWithConfirm.js +5 -5
  379. package/dist/_utils/dateTime.js +6 -6
  380. package/dist/_utils/getAnchorPosition.js +11 -11
  381. package/dist/_utils/partition.js +5 -5
  382. package/dist/_utils/runInQueue.js +4 -4
  383. package/dist/_utils/runInQueue.js.map +1 -1
  384. package/dist/_utils/slotify.js +7 -7
  385. package/dist/_utils/triggerListeners.js +6 -6
  386. package/package.json +4 -4
@@ -10,15 +10,15 @@ var gutter = /*#__PURE__*/css(["> * + *{margin-left:", "px;}"], spacing.sm);
10
10
  var panel = /*#__PURE__*/css(["display:flex;align-items:center;padding:", "px;background:", ";"], spacing.lg, colors.white);
11
11
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "StyledHeader",
13
- componentId: "core-12_17_5__sc-lidix2-0"
13
+ componentId: "core-12_17_6__sc-lidix2-0"
14
14
  })(["border-bottom:1px solid ", ";", ""], colors.gray85, panel);
15
15
  export var StyledTitle = /*#__PURE__*/styled(Typography).withConfig({
16
16
  displayName: "StyledTitle",
17
- componentId: "core-12_17_5__sc-lidix2-1"
17
+ componentId: "core-12_17_6__sc-lidix2-1"
18
18
  })(["flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"]);
19
19
  export var StyledHeaderBackAction = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledHeaderBackAction",
21
- componentId: "core-12_17_5__sc-lidix2-2"
21
+ componentId: "core-12_17_6__sc-lidix2-2"
22
22
  })(["transition:all 300ms ease-out;flex-shrink:0;width:", "px;margin-right:", "px;opacity:", ";transform:translateX( ", "px );"], function (_ref) {
23
23
  var active = _ref.active;
24
24
  return active ? headerActionSize : 0;
@@ -34,38 +34,38 @@ export var StyledHeaderBackAction = /*#__PURE__*/styled.div.withConfig({
34
34
  });
35
35
  export var StyledMoreMenu = /*#__PURE__*/styled(Card).withConfig({
36
36
  displayName: "StyledMoreMenu",
37
- componentId: "core-12_17_5__sc-lidix2-3"
37
+ componentId: "core-12_17_6__sc-lidix2-3"
38
38
  })(["max-height:128px;"]);
39
39
  export var StyledHeaderActions = /*#__PURE__*/styled.div.withConfig({
40
40
  displayName: "StyledHeaderActions",
41
- componentId: "core-12_17_5__sc-lidix2-4"
41
+ componentId: "core-12_17_6__sc-lidix2-4"
42
42
  })(["display:flex;margin-left:", "px;flex-shrink:0;", ""], spacing.lg, gutter);
43
43
  export var StyledCloseButton = /*#__PURE__*/styled.div.withConfig({
44
44
  displayName: "StyledCloseButton",
45
- componentId: "core-12_17_5__sc-lidix2-5"
45
+ componentId: "core-12_17_6__sc-lidix2-5"
46
46
  })(["margin-left:", "px;"], spacing.sm);
47
47
  export var StyledBody = /*#__PURE__*/styled.div.withConfig({
48
48
  displayName: "StyledBody",
49
- componentId: "core-12_17_5__sc-lidix2-6"
49
+ componentId: "core-12_17_6__sc-lidix2-6"
50
50
  })(["height:100%;background:", ";overflow-y:auto;> ", "{padding-left:", "px;padding-right:", "px;", "{padding-left:0;padding-right:0;}&:first-child > ", "{padding-top:", "px;}}"], function (_ref5) {
51
51
  var secondaryBgColor = _ref5.secondaryBgColor;
52
52
  return secondaryBgColor ? colors.gray96 : colors.white;
53
53
  }, StyledSection, spacing.lg, spacing.lg, StyledSection, StyledSectionInner, spacing.lg);
54
54
  export var StyledPanel = /*#__PURE__*/styled.aside.withConfig({
55
55
  displayName: "StyledPanel",
56
- componentId: "core-12_17_5__sc-lidix2-7"
56
+ componentId: "core-12_17_6__sc-lidix2-7"
57
57
  })(["display:flex;flex-direction:column;width:100%;height:100%;background:", ";overflow:hidden;"], colors.white);
58
58
  export var StyledFooterNotation = /*#__PURE__*/styled.div.withConfig({
59
59
  displayName: "StyledFooterNotation",
60
- componentId: "core-12_17_5__sc-lidix2-8"
60
+ componentId: "core-12_17_6__sc-lidix2-8"
61
61
  })(["flex-grow:1;"]);
62
62
  export var StyledFooterActions = /*#__PURE__*/styled.div.withConfig({
63
63
  displayName: "StyledFooterActions",
64
- componentId: "core-12_17_5__sc-lidix2-9"
64
+ componentId: "core-12_17_6__sc-lidix2-9"
65
65
  })(["", ""], gutter);
66
66
  export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
67
67
  displayName: "StyledFooter",
68
- componentId: "core-12_17_5__sc-lidix2-10"
68
+ componentId: "core-12_17_6__sc-lidix2-10"
69
69
  })(["border-top:1px solid ", ";justify-content:flex-end;", " ", ""], colors.gray85, panel, function (_ref6) {
70
70
  var $hasShadow = _ref6.$hasShadow;
71
71
  return $hasShadow && css(["box-shadow:0 -4px 6px 0 #0000001a;z-index:1;"]);
package/dist/Pill/Pill.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var _excluded = ["color"],
2
2
  _excluded2 = ["color", "onClear"];
3
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
5
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
6
6
  import React from 'react';
7
7
  import { useI18nContext } from '../_hooks/I18n';
8
8
  import { StyledPill, StyledRemove } from './Pill.styles';
@@ -6,14 +6,14 @@ import { PillColorPalets } from './Pill.colorPalette';
6
6
  var pillButtonSize = 16;
7
7
  export var StyledPill = /*#__PURE__*/styled.span.withConfig({
8
8
  displayName: "StyledPill",
9
- componentId: "core-12_17_5__sc-99e1t5-0"
9
+ componentId: "core-12_17_6__sc-99e1t5-0"
10
10
  })(["", " display:inline-block;padding:1px ", "px;border:1px solid;border-radius:10px;font-weight:600;& + &{margin-left:", "px;}", ""], getTypographyIntent('small'), spacing.sm, spacing.xs, function (_ref) {
11
11
  var $color = _ref.$color;
12
12
  return css(["background-color:", ";border-color:", ";color:", ";"], PillColorPalets[$color].backgroundColor, PillColorPalets[$color].borderColor, PillColorPalets[$color].color);
13
13
  });
14
14
  export var StyledRemove = /*#__PURE__*/styled(Clear).withConfig({
15
15
  displayName: "StyledRemove",
16
- componentId: "core-12_17_5__sc-99e1t5-1"
16
+ componentId: "core-12_17_6__sc-99e1t5-1"
17
17
  })(["border-radius:100%;cursor:pointer;flex:0 0 auto;height:", "px;margin:0 -", "px 0 ", "px;width:", "px;vertical-align:top;", ""], pillButtonSize, pillButtonSize / 2 - spacing.xxs, spacing.xxs, pillButtonSize, function (_ref2) {
18
18
  var $color = _ref2.$color;
19
19
  return css(["&:hover{background:", ";color:", ";}"], PillColorPalets[$color].color, PillColorPalets[$color].backgroundColor);
@@ -1,14 +1,14 @@
1
1
  var _excluded = ["color", "label", "selected"],
2
2
  _excluded2 = ["afterHide", "afterShow", "getColor", "getGroup", "getId", "getLabel", "getSuggested", "groupGetId", "groupGetLabel", "optgroups", "options", "value"];
3
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
8
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
10
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
6
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
9
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
10
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
11
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
12
12
  import { Check } from '@procore/core-icons/dist';
13
13
  import React from 'react';
14
14
  import { Pill } from '../Pill/Pill';
@@ -6,19 +6,19 @@ import { spacing } from '../_styles/spacing';
6
6
  var checkedIconPlaceholderWidth = 32;
7
7
  export var PillSelectOptionWrapper = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "PillSelectOptionWrapper",
9
- componentId: "core-12_17_5__sc-1ai2ze0-0"
9
+ componentId: "core-12_17_6__sc-1ai2ze0-0"
10
10
  })(["display:flex;align-items:center;justify-content:space-between;"]);
11
11
  export var PillSelectCheckedContainer = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "PillSelectCheckedContainer",
13
- componentId: "core-12_17_5__sc-1ai2ze0-1"
13
+ componentId: "core-12_17_6__sc-1ai2ze0-1"
14
14
  })(["align-items:center;color:", ";display:inline-flex;padding-left:", "px;width:", "px;"], colors.blue50, spacing.sm, checkedIconPlaceholderWidth);
15
15
  export var PillSelectLabel = /*#__PURE__*/styled(Pill).withConfig({
16
16
  displayName: "PillSelectLabel",
17
- componentId: "core-12_17_5__sc-1ai2ze0-2"
17
+ componentId: "core-12_17_6__sc-1ai2ze0-2"
18
18
  })(["", ""], getEllipsis);
19
19
  export var PillSelectLabelWrapper = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "PillSelectLabelWrapper",
21
- componentId: "core-12_17_5__sc-1ai2ze0-3"
21
+ componentId: "core-12_17_6__sc-1ai2ze0-3"
22
22
  })(["display:flex;max-width:100%;pointer-events:auto;", ""], function (_ref) {
23
23
  var disabled = _ref.disabled;
24
24
  return disabled && css(["pointer-events:none;"]);
@@ -1,14 +1,14 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["children", "block", "fluid", "placement"],
3
3
  _excluded2 = ["children", "initialIsVisible", "restoreFocusOnHide", "placement", "overlay", "overlayRef", "role"];
4
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
6
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
10
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
11
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
10
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
11
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
12
12
  import React from 'react';
13
13
  import { OverlayTrigger } from '../OverlayTrigger/OverlayTrigger';
14
14
  import { addSubcomponents } from '../_utils/addSubcomponents';
@@ -5,7 +5,7 @@ import { getShadow } from '../_styles/shadows';
5
5
  export var popoverArrowSize = 6;
6
6
  export var StyledPopoverContent = /*#__PURE__*/styled.span.withConfig({
7
7
  displayName: "StyledPopoverContent",
8
- componentId: "core-12_17_5__sc-1cd0ihn-0"
8
+ componentId: "core-12_17_6__sc-1cd0ihn-0"
9
9
  })(["background-color:", ";border-radius:", "px;color:", ";display:inline-block;max-width:250px;position:relative;", ""], colors.white, borderRadius.md, colors.gray15, function (_ref) {
10
10
  var $block = _ref.$block,
11
11
  $fluid = _ref.$fluid;
@@ -15,6 +15,6 @@ export var StyledPopoverContent = /*#__PURE__*/styled.span.withConfig({
15
15
  });
16
16
  export var StyledPopover = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledPopover",
18
- componentId: "core-12_17_5__sc-1cd0ihn-1"
18
+ componentId: "core-12_17_6__sc-1cd0ihn-1"
19
19
  })(["display:inline-block;", " & + [data-overlay-arrow]{background:", ";}"], getShadow(3), colors.white);
20
20
  //# sourceMappingURL=Popover.styles.js.map
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "container"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
6
  import ReactDOM from 'react-dom';
7
7
  import { useZIndexContext } from '../_hooks/ZIndex';
@@ -1,6 +1,6 @@
1
1
  import styled from 'styled-components';
2
2
  export var StyledPortal = /*#__PURE__*/styled.div.withConfig({
3
3
  displayName: "StyledPortal",
4
- componentId: "core-12_17_5__sc-15o1h2-0"
4
+ componentId: "core-12_17_6__sc-15o1h2-0"
5
5
  })(["left:0;pointer-events:none;position:fixed;top:0;> *{pointer-events:all;}"]);
6
6
  //# sourceMappingURL=Portal.styles.js.map
@@ -1,13 +1,13 @@
1
1
  var _excluded = ["animated", "value"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
6
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
8
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
6
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
9
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
10
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
11
11
  import React from 'react';
12
12
  import { clamp, maxProgressValue, minProgressValue } from '../Loader/Loader';
13
13
  import { StyledProgressBar, StyledProgressBarLoader } from './ProgressBar.styles';
@@ -7,11 +7,11 @@ var animationDelay = '300ms';
7
7
  var fadeIn = /*#__PURE__*/keyframes(["from{opacity:1;}to{opacity:0;}"]);
8
8
  export var StyledProgressBarLoader = /*#__PURE__*/styled(Loader).withConfig({
9
9
  displayName: "StyledProgressBarLoader",
10
- componentId: "core-12_17_5__sc-vdy2wl-0"
10
+ componentId: "core-12_17_6__sc-vdy2wl-0"
11
11
  })([""]);
12
12
  export var StyledProgressBar = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledProgressBar",
14
- componentId: "core-12_17_5__sc-vdy2wl-1"
14
+ componentId: "core-12_17_6__sc-vdy2wl-1"
15
15
  })(["overflow:hidden;position:relative;display:block;height:", "px;background-color:", ";border-radius:", "px;margin:", "px 0;transition:background-color 0s linear;", " ", ""], loaderGridUnit, function (_ref) {
16
16
  var $complete = _ref.$complete;
17
17
  return $complete ? colors.blue50 : colors.gray94;
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "className", "error", "style"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
6
  import { StyledRadioButton, StyledRadioButtonInput, StyledRadioButtonLabel } from './RadioButton.styles';
7
7
  /**
@@ -9,7 +9,7 @@ export var dataQa = {
9
9
  var radioButtonSize = 20;
10
10
  export var StyledRadioButton = /*#__PURE__*/styled.label.withConfig({
11
11
  displayName: "StyledRadioButton",
12
- componentId: "core-12_17_5__sc-nd95zs-0"
12
+ componentId: "core-12_17_6__sc-nd95zs-0"
13
13
  })(["color:", ";display:flex;position:relative;vertical-align:middle;& + &{margin-top:", "px;}", " ", ""], colors.gray15, spacing.md, function (_ref) {
14
14
  var $error = _ref.$error;
15
15
  return $error && css(["", ":before,", ":checked:not(:disabled) + ", ":before{border-color:", ";}", ":checked:disabled + ", ":before{border-color:", ";}"], StyledRadioButtonLabel, StyledRadioButtonInput, StyledRadioButtonLabel, colors.red50, StyledRadioButtonInput, StyledRadioButtonLabel, colors.gray85);
@@ -19,10 +19,10 @@ export var StyledRadioButton = /*#__PURE__*/styled.label.withConfig({
19
19
  });
20
20
  export var StyledRadioButtonLabel = /*#__PURE__*/styled.span.withConfig({
21
21
  displayName: "StyledRadioButtonLabel",
22
- componentId: "core-12_17_5__sc-nd95zs-1"
22
+ componentId: "core-12_17_6__sc-nd95zs-1"
23
23
  })(["", ";cursor:default;display:flex;&:before{background:", ";border-radius:100%;border:2px solid ", ";content:'';display:inline-block;flex:0;height:", "px;min-width:", "px;width:", "px;}"], getTypographyIntent('body'), colors.white, colors.gray70, radioButtonSize, radioButtonSize, radioButtonSize);
24
24
  export var StyledRadioButtonInput = /*#__PURE__*/styled.input.withConfig({
25
25
  displayName: "StyledRadioButtonInput",
26
- componentId: "core-12_17_5__sc-nd95zs-2"
26
+ componentId: "core-12_17_6__sc-nd95zs-2"
27
27
  })(["left:0;margin:0;opacity:0;padding:0;position:absolute;top:0;&:focus:not(:checked),&[data-qa=", "]:not(:checked){&:not(:disabled) + ", ":before{", "}}&:focus:checked:not(:disabled),&[data-qa=", "]:checked:not(:disabled){+ ", ":before{box-shadow:0 0 0 2px ", ";}}&:checked + ", ":before{border:6px solid ", ";}&:disabled + ", ":before{border-color:", ";}&:disabled:checked + ", ":before{border-color:", ";}"], dataQa.focused, StyledRadioButtonLabel, getFocus(), dataQa.focused, StyledRadioButtonLabel, colors.blue40, StyledRadioButtonLabel, colors.blue50, StyledRadioButtonLabel, colors.gray85, StyledRadioButtonLabel, colors.blue85);
28
28
  //# sourceMappingURL=RadioButton.styles.js.map
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "i18nScope", "showLabel"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import React from 'react';
6
6
  import { useI18nContext } from '../_hooks/I18n';
7
7
  import { StyledRequiredContainer, StyledRequiredMark, StyledRequiredText } from './Required.styles';
@@ -5,7 +5,7 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledRequiredMark = /*#__PURE__*/styled.span.withConfig({
7
7
  displayName: "StyledRequiredMark",
8
- componentId: "core-12_17_5__sc-bja1ql-0"
8
+ componentId: "core-12_17_6__sc-bja1ql-0"
9
9
  })(["color:", ";", ""], colors.red50, function (_ref) {
10
10
  var $showLabel = _ref.$showLabel;
11
11
  if ($showLabel) {
@@ -15,10 +15,10 @@ export var StyledRequiredMark = /*#__PURE__*/styled.span.withConfig({
15
15
  });
16
16
  export var StyledRequiredContainer = /*#__PURE__*/styled.span.withConfig({
17
17
  displayName: "StyledRequiredContainer",
18
- componentId: "core-12_17_5__sc-bja1ql-1"
18
+ componentId: "core-12_17_6__sc-bja1ql-1"
19
19
  })(["", " ", " > &{margin-left:", "px;}"], getTypographyIntent('small'), StyledCheckboxLabel, spacing.xs);
20
20
  export var StyledRequiredText = /*#__PURE__*/styled.span.withConfig({
21
21
  displayName: "StyledRequiredText",
22
- componentId: "core-12_17_5__sc-bja1ql-2"
22
+ componentId: "core-12_17_6__sc-bja1ql-2"
23
23
  })(["font-style:italic;color:", ";margin-left:4px;"], colors.gray45);
24
24
  //# sourceMappingURL=Required.styles.js.map
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  import React from 'react';
8
8
  // TODO remove this and do a breaking change on Search to `useImperativeHandle`
9
9
  // to support controlled/uncontrolled behavior
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["onChange", "onClear", "onSubmit", "usingHook", "value"];
2
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  import { Clear, Search as SearchIcon } from '@procore/core-icons/dist';
6
6
  import { mergeProps } from '@react-aria/utils';
7
7
  import React from 'react';
@@ -27,22 +27,22 @@ export function getSearchInputStyles() {
27
27
  }
28
28
  export var StyledInput = /*#__PURE__*/styled.input.withConfig({
29
29
  displayName: "StyledInput",
30
- componentId: "core-12_17_5__sc-3j8khv-0"
30
+ componentId: "core-12_17_6__sc-3j8khv-0"
31
31
  })(["", ""], getSearchInputStyles);
32
32
  var StyledButton = /*#__PURE__*/styled(Button).withConfig({
33
33
  displayName: "StyledButton",
34
- componentId: "core-12_17_5__sc-3j8khv-1"
34
+ componentId: "core-12_17_6__sc-3j8khv-1"
35
35
  })(["position:absolute;top:", "px;"], buttonTop);
36
36
  export var StyledSearchButton = /*#__PURE__*/styled(StyledButton).withConfig({
37
37
  displayName: "StyledSearchButton",
38
- componentId: "core-12_17_5__sc-3j8khv-2"
38
+ componentId: "core-12_17_6__sc-3j8khv-2"
39
39
  })([""]);
40
40
  export var StyledClearButton = /*#__PURE__*/styled(StyledButton).withConfig({
41
41
  displayName: "StyledClearButton",
42
- componentId: "core-12_17_5__sc-3j8khv-3"
42
+ componentId: "core-12_17_6__sc-3j8khv-3"
43
43
  })([""]);
44
44
  export var StyledSearch = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledSearch",
46
- componentId: "core-12_17_5__sc-3j8khv-4"
46
+ componentId: "core-12_17_6__sc-3j8khv-4"
47
47
  })(["position:relative;width:100%;", "{padding-right:", "px;}", "{right:", "px;}", "{right:", "px;}"], StyledInput, inputRight, StyledSearchButton, searchRight, StyledClearButton, clearRight);
48
48
  //# sourceMappingURL=Search.styles.js.map
@@ -1,20 +1,20 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["level"],
3
3
  _excluded2 = ["actions", "banner", "children", "className", "expandId", "heading", "initialIsOpen", "pills", "subtext", "assets"];
4
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
6
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
7
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
9
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
10
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
8
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
9
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
10
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
11
11
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
13
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
15
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
16
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
17
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
12
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
13
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
15
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
16
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
17
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
18
18
  import { ChevronDown, ChevronRight } from '@procore/core-icons/dist';
19
19
  import cx from 'classnames';
20
20
  import React from 'react';
@@ -5,15 +5,15 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledSectionBanner = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledSectionBanner",
8
- componentId: "core-12_17_5__sc-1lxbrwv-0"
8
+ componentId: "core-12_17_6__sc-1lxbrwv-0"
9
9
  })(["margin-bottom:", "px;> * + *{margin-top:", "px;}"], spacing.sm, spacing.sm);
10
10
  export var StyledSectionInner = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledSectionInner",
12
- componentId: "core-12_17_5__sc-1lxbrwv-1"
12
+ componentId: "core-12_17_6__sc-1lxbrwv-1"
13
13
  })([""]);
14
14
  export var StyledSectionCollapseHeading = /*#__PURE__*/styled.div.withConfig({
15
15
  displayName: "StyledSectionCollapseHeading",
16
- componentId: "core-12_17_5__sc-1lxbrwv-2"
16
+ componentId: "core-12_17_6__sc-1lxbrwv-2"
17
17
  })(["align-self:flex-start;margin-right:", "px;"], spacing.sm);
18
18
  export var sectionClassnames = {
19
19
  divide: 'section--divide',
@@ -24,11 +24,11 @@ export var sectionClassnames = {
24
24
  };
25
25
  export var StyledSection = /*#__PURE__*/styled.div.withConfig({
26
26
  displayName: "StyledSection",
27
- componentId: "core-12_17_5__sc-1lxbrwv-3"
27
+ componentId: "core-12_17_6__sc-1lxbrwv-3"
28
28
  })(["padding-left:", "px;padding-right:", "px;padding-bottom:", "px;& > ", "{padding-top:", "px;}&.", "{& > ", "{border-top:1px solid ", ";}}&:first-child > ", "{border-top:0;}& &{padding-left:0;padding-right:0;&:first-child > ", "{border-top:1px solid ", ";}&:last-child{padding-bottom:0;}}", ":last-of-type{margin-bottom:", "px;}", " + &&&{padding-top:", "px;}"], spacing.lg, spacing.lg, spacing.lg, StyledSectionInner, spacing.lg, sectionClassnames.divide, StyledSectionInner, colors.gray85, StyledSectionInner, StyledSectionInner, colors.gray85, StyledFormRow, spacing.lg * -1, StyledFormRow, spacing.xs);
29
29
  export var StyledSectionContentRegion = /*#__PURE__*/styled.div.withConfig({
30
30
  displayName: "StyledSectionContentRegion",
31
- componentId: "core-12_17_5__sc-1lxbrwv-4"
31
+ componentId: "core-12_17_6__sc-1lxbrwv-4"
32
32
  })(["padding-top:", "px;", " ", " & > :not(", ") + ", "{padding-top:", "px;}", " ", " &:last-of-type{padding-bottom:0;}"], spacing.sm, function (_ref) {
33
33
  var $closed = _ref.$closed;
34
34
  return $closed && css(["padding-top:0;"]);
@@ -38,10 +38,10 @@ export var StyledSectionContentRegion = /*#__PURE__*/styled.div.withConfig({
38
38
  }, StyledSection, StyledSection, spacing.xl, StyledSection, StyledSection);
39
39
  export var StyledSectionHeader = /*#__PURE__*/styled.div.withConfig({
40
40
  displayName: "StyledSectionHeader",
41
- componentId: "core-12_17_5__sc-1lxbrwv-5"
41
+ componentId: "core-12_17_6__sc-1lxbrwv-5"
42
42
  })(["align-items:center;display:flex;min-height:36px;word-break:break-word;"]);
43
43
  export var StyledTitle = /*#__PURE__*/styled(Title).withConfig({
44
44
  displayName: "StyledTitle",
45
- componentId: "core-12_17_5__sc-1lxbrwv-6"
45
+ componentId: "core-12_17_6__sc-1lxbrwv-6"
46
46
  })(["width:100%;"]);
47
47
  //# sourceMappingURL=Section.styles.js.map