@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
@@ -1,22 +1,22 @@
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 = ["aria-label", "aria-labelledby", "children", "block", "disabled", "onChange"],
3
3
  _excluded2 = ["active", "children", "placement", "tooltip", "disabled", "value", "internalIndex", "selected"],
4
4
  _excluded3 = ["children", "overlay"],
5
5
  _excluded4 = ["children"];
6
- 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; }
7
- 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; }
8
- 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; }
9
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
- 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); }
11
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
6
+ 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; }
7
+ 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; }
8
+ 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; }
9
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
10
+ 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); }
11
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
12
12
  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."); }
13
- 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); }
14
- 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; }
15
- 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; } }
16
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
- 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); }
18
- 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; }
19
- 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; }
13
+ 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; } }
14
+ 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; }
15
+ 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; } }
16
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
17
+ 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); }
18
+ 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; }
19
+ 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; }
20
20
  import { useFocusRing } from '@react-aria/focus';
21
21
  import { useRadio, useRadioGroup } from '@react-aria/radio';
22
22
  import { mergeProps, useId } from '@react-aria/utils';
@@ -5,7 +5,7 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledContainer",
8
- componentId: "core-12_17_5__sc-ocai3-0"
8
+ componentId: "core-12_17_6__sc-ocai3-0"
9
9
  })(["align-items:center;display:", ";height:36px;justify-content:center;width:", ";"], function (_ref) {
10
10
  var block = _ref.block;
11
11
  return block ? 'flex' : 'inline-flex';
@@ -15,7 +15,7 @@ export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
15
15
  });
16
16
  export var StyledSegment = /*#__PURE__*/styled.label.withConfig({
17
17
  displayName: "StyledSegment",
18
- componentId: "core-12_17_5__sc-ocai3-1"
18
+ componentId: "core-12_17_6__sc-ocai3-1"
19
19
  })(["align-items:center;border-radius:0;border:1px solid ", ";cursor:pointer;display:flex;flex:1 1 auto;height:100%;justify-content:center;min-width:0;outline:0;padding:0 ", "px;position:relative;background-color:", ";color:", ";&:hover{background-color:", ";border-color:", ";color:", ";}", " ", ";"], colors.gray85, spacing.md, colors.white, colors.gray45, colors.gray94, colors.gray85, colors.gray45, function (_ref3) {
20
20
  var _ref3$$focused = _ref3.$focused,
21
21
  $focused = _ref3$$focused === void 0 ? false : _ref3$$focused;
@@ -37,10 +37,10 @@ export var StyledSegment = /*#__PURE__*/styled.label.withConfig({
37
37
  });
38
38
  export var StyledSegmentDisabledInteractiveWrapper = /*#__PURE__*/styled.div.withConfig({
39
39
  displayName: "StyledSegmentDisabledInteractiveWrapper",
40
- componentId: "core-12_17_5__sc-ocai3-2"
40
+ componentId: "core-12_17_6__sc-ocai3-2"
41
41
  })(["display:flex;flex:1 1 auto;min-width:0;height:100%;margin-right:-1px;&:first-child ", "{border-bottom-left-radius:", "px;border-top-left-radius:", "px;}&:last-child ", "{border-bottom-right-radius:", "px;border-top-right-radius:", "px;}"], StyledSegment, borderRadius.md, borderRadius.md, StyledSegment, borderRadius.md, borderRadius.md);
42
42
  export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
43
43
  displayName: "StyledLabel",
44
- componentId: "core-12_17_5__sc-ocai3-3"
44
+ componentId: "core-12_17_6__sc-ocai3-3"
45
45
  })(["", ";display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"], getTypographyIntent('body'));
46
46
  //# sourceMappingURL=SegmentedController.styles.js.map
@@ -2,15 +2,15 @@ var _excluded = ["value"],
2
2
  _excluded2 = ["block", "children", "className", "clearRef", "disabled", "error", "focus", "label", "loading", "onClear", "open", "placeholder", "qa", "tabIndex", "isMenuOpened"],
3
3
  _excluded3 = ["onSearch", "header", "footer", "emptyMessage", "optionsRef", "children", "i18nScope", "onSelect", "menuRef"],
4
4
  _excluded4 = ["afterHide", "afterShow", "beforeHide", "beforeShow", "block", "children", "className", "container", "disabled", "emptyMessage", "error", "header", "footer", "hideDelay", "i18nScope", "label", "loading", "onClear", "onKeyDown", "onScrollBottom", "onSearch", "onSelect", "optionsRef", "placeholder", "placement", "restoreFocusOnHide", "showDelay", "tabIndex", "qa"];
5
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
6
6
  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."); }
7
- 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); }
8
- 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; }
9
- 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; } }
10
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
- 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; }
12
- 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; }
13
- 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); }
7
+ 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; } }
8
+ 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; }
9
+ 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; } }
10
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
11
+ 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; }
12
+ 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; }
13
+ 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); }
14
14
  import { Clear } from '@procore/core-icons/dist';
15
15
  import classNames from 'classnames';
16
16
  import { isNil } from 'ramda';
@@ -17,34 +17,34 @@ export var tableSelectClassName = 'select--table';
17
17
  var styledSelectButtonDefaultWidth = 248;
18
18
  export var StyledSelectMenu = /*#__PURE__*/styled(Card).withConfig({
19
19
  displayName: "StyledSelectMenu",
20
- componentId: "core-12_17_5__sc-mr8gwe-0"
20
+ componentId: "core-12_17_6__sc-mr8gwe-0"
21
21
  })(["display:flex;max-height:40vh;max-width:", "px;min-width:inherit;"], styledSelectButtonDefaultWidth);
22
22
  export var StyledSelectButtonLabel = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledSelectButtonLabel",
24
- componentId: "core-12_17_5__sc-mr8gwe-1"
24
+ componentId: "core-12_17_6__sc-mr8gwe-1"
25
25
  })(["", " flex-grow:1;margin-right:", "px;outline:none;pointer-events:", ";user-select:none;"], getEllipsis(), spacing.sm, function (_ref) {
26
26
  var $hoverable = _ref.$hoverable;
27
27
  return $hoverable ? 'initial' : 'none';
28
28
  });
29
29
  export var StyledSelectSpinner = /*#__PURE__*/styled.div.withConfig({
30
30
  displayName: "StyledSelectSpinner",
31
- componentId: "core-12_17_5__sc-mr8gwe-2"
31
+ componentId: "core-12_17_6__sc-mr8gwe-2"
32
32
  })(["align-items:center;display:flex;flex:0 0 auto;justify-content:center;line-height:0;"]);
33
33
  export var StyledSelectArrowContainer = /*#__PURE__*/styled.div.withConfig({
34
34
  displayName: "StyledSelectArrowContainer",
35
- componentId: "core-12_17_5__sc-mr8gwe-3"
35
+ componentId: "core-12_17_6__sc-mr8gwe-3"
36
36
  })(["align-items:center;display:inline-flex;height:16px;justify-content:flex-end;margin-left:", "px;width:8px;"], spacing.sm);
37
37
  export var StyledSelectArrow = /*#__PURE__*/styled.div.withConfig({
38
38
  displayName: "StyledSelectArrow",
39
- componentId: "core-12_17_5__sc-mr8gwe-4"
39
+ componentId: "core-12_17_6__sc-mr8gwe-4"
40
40
  })(["position:relative;", ""], arrowDown(4, 'gray45'));
41
41
  export var StyledSelectClearIcon = /*#__PURE__*/styled(Button).withConfig({
42
42
  displayName: "StyledSelectClearIcon",
43
- componentId: "core-12_17_5__sc-mr8gwe-5"
43
+ componentId: "core-12_17_6__sc-mr8gwe-5"
44
44
  })(["", "{pointer-events:none;}"], StyledContent);
45
45
  export var StyledSelectButton = /*#__PURE__*/styled.div.withConfig({
46
46
  displayName: "StyledSelectButton",
47
- componentId: "core-12_17_5__sc-mr8gwe-6"
47
+ componentId: "core-12_17_6__sc-mr8gwe-6"
48
48
  })(["", " align-items:center;background-color:", ";border-color:", ";border-radius:", "px;border-style:solid;border-width:1px;color:", ";cursor:pointer;display:inline-flex;height:36px;min-height:36px;outline:none;padding:0 ", "px;position:relative;white-space:nowrap;width:", ";&::placeholder{border-color:", ";}&:hover,&:active,&[data-qa=", "]{background-color:", ";border-color:", ";color:", ";}&.focus,&:focus,&[data-qa=", "]{", " ", "{stroke:", ";}}", " ", " ", " ", " ", " &.", "{", " ", " ", "}"], getTypographyIntent('body'), colors.white, colors.gray70, borderRadius.md, colors.gray15, spacing.md, function (_ref2) {
49
49
  var $block = _ref2.$block;
50
50
  return $block ? '100%' : "".concat(styledSelectButtonDefaultWidth, "px");
@@ -1,9 +1,9 @@
1
1
  var _excluded = ["listStyleType"],
2
2
  _excluded2 = ["listStyleType"],
3
3
  _excluded3 = ["block"];
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; }
6
- 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(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
+ 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); }
7
7
  import React from 'react';
8
8
  import { StyledH1, StyledH2, StyledH3, StyledLabel, StyledOL, StyledP, StyledUL } from './Semantic.styles';
9
9
  export var H1 = /*#__PURE__*/React.forwardRef(function H1(props, ref) {
@@ -5,15 +5,15 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledH1 = /*#__PURE__*/styled.h1.withConfig({
7
7
  displayName: "StyledH1",
8
- componentId: "core-12_17_5__sc-172j5qh-0"
8
+ componentId: "core-12_17_6__sc-172j5qh-0"
9
9
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h1'));
10
10
  export var StyledH2 = /*#__PURE__*/styled.h2.withConfig({
11
11
  displayName: "StyledH2",
12
- componentId: "core-12_17_5__sc-172j5qh-1"
12
+ componentId: "core-12_17_6__sc-172j5qh-1"
13
13
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h2'));
14
14
  export var StyledH3 = /*#__PURE__*/styled.h3.withConfig({
15
15
  displayName: "StyledH3",
16
- componentId: "core-12_17_5__sc-172j5qh-2"
16
+ componentId: "core-12_17_6__sc-172j5qh-2"
17
17
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h3'));
18
18
  var topMarginRules = function topMarginRules() {
19
19
  return css(["& + &,p + &,ol + &,ul + &{margin-top:", "px;}"], spacing.lg);
@@ -28,11 +28,11 @@ export function getSmallIconBodyTextRules() {
28
28
  }
29
29
  export var StyledP = /*#__PURE__*/styled.p.withConfig({
30
30
  displayName: "StyledP",
31
- componentId: "core-12_17_5__sc-172j5qh-3"
31
+ componentId: "core-12_17_6__sc-172j5qh-3"
32
32
  })(["color:", ";", " ", " ", ""], colors.gray15, getTypographyIntent('body'), topMarginRules, semiboldRules);
33
33
  export var StyledUL = /*#__PURE__*/styled.ul.withConfig({
34
34
  displayName: "StyledUL",
35
- componentId: "core-12_17_5__sc-172j5qh-4"
35
+ componentId: "core-12_17_6__sc-172j5qh-4"
36
36
  })(["color:", ";margin:0;padding:0;", " ", " padding-left:", "px;list-style-type:", ";"], colors.gray15, getTypographyIntent('body'), topMarginRules, spacing.lg, function (props) {
37
37
  return props.$listStyleType || 'disc';
38
38
  });
@@ -40,7 +40,7 @@ export var StyledOL = /*#__PURE__*/styled(StyledUL).attrs({
40
40
  as: 'ol'
41
41
  }).withConfig({
42
42
  displayName: "StyledOL",
43
- componentId: "core-12_17_5__sc-172j5qh-5"
43
+ componentId: "core-12_17_6__sc-172j5qh-5"
44
44
  })(["list-style-type:", ";"], function (props) {
45
45
  return props.$listStyleType || 'decimal';
46
46
  });
@@ -52,7 +52,7 @@ function enforceLabelTypography(props) {
52
52
  }
53
53
  export var StyledLabel = /*#__PURE__*/styled(StyledTypography).attrs(enforceLabelTypography).withConfig({
54
54
  displayName: "StyledLabel",
55
- componentId: "core-12_17_5__sc-172j5qh-6"
55
+ componentId: "core-12_17_6__sc-172j5qh-6"
56
56
  })(["", " ", " > ", "{margin-left:", "px;vertical-align:top;}"], function (_ref) {
57
57
  var _ref$$block = _ref.$block,
58
58
  $block = _ref$$block === void 0 ? false : _ref$$block;
@@ -70,7 +70,7 @@ export function getUnstyledButton() {
70
70
  */
71
71
  export var StyledUnstyledButton = /*#__PURE__*/styled.button.withConfig({
72
72
  displayName: "StyledUnstyledButton",
73
- componentId: "core-12_17_5__sc-172j5qh-7"
73
+ componentId: "core-12_17_6__sc-172j5qh-7"
74
74
  })(["", ""], getUnstyledButton);
75
75
 
76
76
  /**
@@ -78,6 +78,6 @@ export var StyledUnstyledButton = /*#__PURE__*/styled.button.withConfig({
78
78
  */
79
79
  export var StyledAnchor = /*#__PURE__*/styled.a.withConfig({
80
80
  displayName: "StyledAnchor",
81
- componentId: "core-12_17_5__sc-172j5qh-8"
81
+ componentId: "core-12_17_6__sc-172j5qh-8"
82
82
  })([""]);
83
83
  //# sourceMappingURL=Semantic.styles.js.map
@@ -1,8 +1,8 @@
1
1
  var _excluded = ["width", "hasNavigation", "children"],
2
2
  _excluded2 = ["visible"];
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 { AnchorNavigationProvider } from '../AnchorNavigation/AnchorNavigationProvider';
8
8
  import { DetailPage, DetailPageViewContext } from '../DetailPage/DetailPage';
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "header", "footer", "pane", "headerActions", "footerActions", "footerNotation", "footerRequired", "hasNavigation"];
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 { PageFooterTemplate } from '../PageFooterTemplate/PageFooterTemplate';
7
7
  import { PageHeaderTemplate } from '../PageHeaderTemplate/PageHeaderTemplate';
@@ -1,13 +1,13 @@
1
1
  var _excluded = ["className", "disabled", "onChange", "max", "min", "showLabel", "step", "style", "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 { StyledContainer, StyledIncrementContainer, StyledIncrementOverlay, StyledLabel, StyledSlider } from './Slider.styles';
13
13
  export var getIncrements = function getIncrements(_ref) {
@@ -21,13 +21,13 @@ var getTrackBackgroundDisabled = function getTrackBackgroundDisabled(percent) {
21
21
  var getThumbDisabledStyles = /*#__PURE__*/css(["cursor:not-allowed;border:2px solid ", ";"], colors.blue85);
22
22
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledContainer",
24
- componentId: "core-12_17_5__sc-12icguw-0"
24
+ componentId: "core-12_17_6__sc-12icguw-0"
25
25
  })(["position:relative;", ";"], function (props) {
26
26
  return props.$showLabel && 'padding-bottom: 10px';
27
27
  });
28
28
  export var StyledSlider = /*#__PURE__*/styled.input.withConfig({
29
29
  displayName: "StyledSlider",
30
- componentId: "core-12_17_5__sc-12icguw-1"
30
+ componentId: "core-12_17_6__sc-12icguw-1"
31
31
  })(["-webkit-appearance:none;margin:0;padding-top:5px;padding-bottom:5px;width:100%;border:1px solid transparent;background-color:transparent;font-size:12px;&:focus{outline:none;", ";padding-top:5px;padding-bottom:5px;border-radius:2px;}&::-webkit-slider-runnable-track{", " ", "}&:disabled::-webkit-slider-runnable-track{cursor:not-allowed;", "}&::-webkit-slider-thumb{", " -webkit-appearance:none;margin-top:-5px;}&:disabled::-webkit-slider-thumb{", "}&::-moz-range-track{", " ", "}&:disabled::-moz-range-track{cursor:not-allowed;", "}&::-moz-range-thumb{", " height:12px;width:12px;}&:disabled::-moz-range-thumb{", "}&::-ms-track{", " height:", "px;color:transparent;", "}&:disabled::-ms-track{cursor:not-allowed;", "}&::-ms-fill-lower{background:", ";border:0px solid ", ";border-radius:2px;box-shadow:1px 1px 1px ", ";}&::-ms-fill-upper{background:", ";border:0px solid ", ";border-radius:2px;box-shadow:1px 1px 1px ", ";}&::-ms-thumb{", "}&:disabled::-ms-thumb{", "}&:focus::-ms-fill-lower{background:", ";}&:focus::-ms-fill-upper{background:", ";}"], function (props) {
32
32
  return props.$isDragging ? "border: 1px solid transparent" : "border: 1px solid ".concat(colors.blue40);
33
33
  }, getTrackStyles, function (props) {
@@ -45,14 +45,14 @@ export var StyledSlider = /*#__PURE__*/styled.input.withConfig({
45
45
  }, colors.blue50, colors.black, colors.black, colors.gray70, colors.black, colors.black, getThumbStyles, getThumbDisabledStyles, colors.blue50, colors.gray70);
46
46
  export var StyledIncrementOverlay = /*#__PURE__*/styled.div.withConfig({
47
47
  displayName: "StyledIncrementOverlay",
48
- componentId: "core-12_17_5__sc-12icguw-2"
48
+ componentId: "core-12_17_6__sc-12icguw-2"
49
49
  })(["position:relative;width:0;&::before{content:'';height:", "px;width:2px;background-color:white;display:block;}z-index:2;"], TRACK_HEIGHT);
50
50
  export var StyledIncrementContainer = /*#__PURE__*/styled.div.withConfig({
51
51
  displayName: "StyledIncrementContainer",
52
- componentId: "core-12_17_5__sc-12icguw-3"
52
+ componentId: "core-12_17_6__sc-12icguw-3"
53
53
  })(["position:absolute;display:flex;justify-content:space-between;top:6px;", " left:5px;right:5px;> :first-child{visibility:hidden;}> :last-child{visibility:hidden;}"], applyStylesOnlyToFF("\n top: 12px;\n "));
54
54
  export var StyledLabel = /*#__PURE__*/styled(Typography).withConfig({
55
55
  displayName: "StyledLabel",
56
- componentId: "core-12_17_5__sc-12icguw-4"
56
+ componentId: "core-12_17_6__sc-12icguw-4"
57
57
  })(["visibility:visible;position:absolute;left:50%;transform:translateX(-50%);margin-top:8px;"]);
58
58
  //# sourceMappingURL=Slider.styles.js.map
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["children", "className", "color", "label", "loading", "size", "variant", "centered"];
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 { StyledCircle, StyledSpinnerContainer, StyledSpinnerContainerWithLabel, StyledSpinnerOverlay, StyledSpinnerOverlayContainer, StyledSpinnerOverlayLabel, StyledSpinnerSVG } from './Spinner.styles';
7
7
  var radiusMap = {
@@ -10,7 +10,7 @@ var zOverlay = 2;
10
10
  var dash = /*#__PURE__*/keyframes(["0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}"]);
11
11
  export var StyledCircle = /*#__PURE__*/styled.circle.withConfig({
12
12
  displayName: "StyledCircle",
13
- componentId: "core-12_17_5__sc-1igww3-0"
13
+ componentId: "core-12_17_6__sc-1igww3-0"
14
14
  })(["animation:", " ", "ms ease-in-out ", "ms infinite;stroke-linecap:round;"], dash, duration, function (p) {
15
15
  var animationDelay = -(p.$mountTime % duration);
16
16
  return animationDelay;
@@ -49,16 +49,16 @@ function getStrokeColor(_ref2) {
49
49
  }
50
50
  export var StyledSpinnerContainer = /*#__PURE__*/styled.div.withConfig({
51
51
  displayName: "StyledSpinnerContainer",
52
- componentId: "core-12_17_5__sc-1igww3-1"
52
+ componentId: "core-12_17_6__sc-1igww3-1"
53
53
  })(["border-radius:100%;box-sizing:border-box;display:block;flex-shrink:0;position:relative;", " ", "{", "}"], getHeightWidthStroke, StyledCircle, getStrokeColor);
54
54
  export var StyledSpinnerOverlayLabel = /*#__PURE__*/styled.span.withConfig({
55
55
  displayName: "StyledSpinnerOverlayLabel",
56
- componentId: "core-12_17_5__sc-1igww3-2"
56
+ componentId: "core-12_17_6__sc-1igww3-2"
57
57
  })(["", " color:", ";display:block;min-height:20px;padding-top:", "px;text-align:center;transition:opacity ", ";"], getTypographyIntent('body'), colors.gray15, spacing.md, transition);
58
58
  var rotate = /*#__PURE__*/keyframes(["to{transform:rotate(360deg);}"]);
59
59
  export var StyledSpinnerSVG = /*#__PURE__*/styled.svg.withConfig({
60
60
  displayName: "StyledSpinnerSVG",
61
- componentId: "core-12_17_5__sc-1igww3-3"
61
+ componentId: "core-12_17_6__sc-1igww3-3"
62
62
  })(["animation:", " ", "ms linear ", "ms infinite;fill:none;height:100%;left:0;margin:auto;position:absolute;right:0;top:0;width:100%;z-index:2;"], rotate, duration - durationOffset, function (p) {
63
63
  var animationDelay = -(p.$mountTime % (duration - durationOffset));
64
64
  return animationDelay;
@@ -66,15 +66,15 @@ export var StyledSpinnerSVG = /*#__PURE__*/styled.svg.withConfig({
66
66
  var startsWithNoInteraction = /*#__PURE__*/css(["opacity:0;pointer-events:none;transition:opacity ", ";"], transition);
67
67
  export var StyledSpinnerOverlay = /*#__PURE__*/styled.div.withConfig({
68
68
  displayName: "StyledSpinnerOverlay",
69
- componentId: "core-12_17_5__sc-1igww3-4"
69
+ componentId: "core-12_17_6__sc-1igww3-4"
70
70
  })(["", ";background-color:", ";bottom:0;left:0;position:absolute;right:0;top:0;z-index:", ";"], startsWithNoInteraction, colors.white, zOverlay);
71
71
  export var StyledSpinnerContainerWithLabel = /*#__PURE__*/styled.div.withConfig({
72
72
  displayName: "StyledSpinnerContainerWithLabel",
73
- componentId: "core-12_17_5__sc-1igww3-5"
73
+ componentId: "core-12_17_6__sc-1igww3-5"
74
74
  })(["", ";align-items:center;display:flex;flex-direction:column;height:100%;max-height:400px;justify-content:center;position:absolute;top:0;width:100%;z-index:", ";"], startsWithNoInteraction, zContainer);
75
75
  export var StyledSpinnerOverlayContainer = /*#__PURE__*/styled.div.withConfig({
76
76
  displayName: "StyledSpinnerOverlayContainer",
77
- componentId: "core-12_17_5__sc-1igww3-6"
77
+ componentId: "core-12_17_6__sc-1igww3-6"
78
78
  })(["min-height:150px;position:relative;", " ", ""], function (_ref3) {
79
79
  var $loading = _ref3.$loading;
80
80
  if ($loading) {
@@ -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
  export var SplitViewCardContext = /*#__PURE__*/React.createContext({
9
9
  open: false,
@@ -7,15 +7,15 @@ var _excluded = ["children", "isClosable", "isInitiallyOpen", "onClose"],
7
7
  _excluded7 = ["children"],
8
8
  _excluded8 = ["children"],
9
9
  _excluded9 = ["children"];
10
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
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 _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); }
17
- 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; }
18
- 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 _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); }
17
+ 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; }
18
+ 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; }
19
19
  import { Clear } from '@procore/core-icons';
20
20
  import React from 'react';
21
21
  import { Button } from '../Button';
@@ -6,18 +6,18 @@ import { spacing } from '../_styles/spacing';
6
6
  var MIN_CARD_HEIGHT = 364;
7
7
  export var StyledSplitViewCardContainer = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "StyledSplitViewCardContainer",
9
- componentId: "core-12_17_5__sc-9hrkda-0"
9
+ componentId: "core-12_17_6__sc-9hrkda-0"
10
10
  })(["display:grid;grid-template-columns:1fr auto;border-radius:", "px;box-shadow:0 0 4px 0 rgba(0,0,0,0.25);min-height:", "px;position:relative;width:100%;@media (max-width:", "){box-shadow:none;display:flex;flex-direction:column;width:100%;}"], spacing.sm, MIN_CARD_HEIGHT, breakpointMinWidthValues.tabletMd);
11
11
  export var StyledSplitViewCardMain = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "StyledSplitViewCardMain",
13
- componentId: "core-12_17_5__sc-9hrkda-1"
13
+ componentId: "core-12_17_6__sc-9hrkda-1"
14
14
  })(["background-color:", ";border-top-left-radius:", "px;border-bottom-left-radius:", "px;position:relative;width:60%;transition:all ease 500ms;@media (max-width:", "){box-shadow:0 0 4px 0 rgba(0,0,0,0.25);border-radius:", "px;margin-bottom:", "px;width:100%;}", ""], colors.white, spacing.sm, spacing.sm, breakpointMinWidthValues.tabletMd, spacing.sm, spacing.sm, function (_ref) {
15
15
  var $open = _ref.$open;
16
16
  return !$open && css(["border-radius:", "px;width:100%;"], spacing.sm);
17
17
  });
18
18
  export var StyledSplitViewCardAside = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledSplitViewCardAside",
20
- componentId: "core-12_17_5__sc-9hrkda-2"
20
+ componentId: "core-12_17_6__sc-9hrkda-2"
21
21
  })(["background-color:", ";border-left:1px solid ", ";border-top-right-radius:", "px;border-bottom-right-radius:", "px;display:flex;flex-direction:column;height:100%;width:40%;min-height:", "px;min-width:400px;transition:all ease 500ms;z-index:2;position:absolute;top:0;right:0;@media screen and (max-width:", "px){min-width:unset;}@media (max-width:", "){box-shadow:0 0 4px 0 rgba(0,0,0,0.25);border:none;border-radius:", "px;position:relative;width:100%;}", " ", ""], colors.white, colors.gray85, spacing.sm, spacing.sm, MIN_CARD_HEIGHT, breakpointRawMinWidthValues.tabletSm, breakpointMinWidthValues.tabletMd, spacing.sm, function (_ref2) {
22
22
  var $open = _ref2.$open;
23
23
  return !$open && css(["border:none;border-radius:", "px;overflow:hidden !important;@media (min-width:", "){min-width:0;width:0 !important;}@media (max-width:", "){display:none;}"], spacing.sm, breakpointMinWidthValues.tabletMd, breakpointMinWidthValues.tabletMd);
@@ -27,23 +27,23 @@ export var StyledSplitViewCardAside = /*#__PURE__*/styled.div.withConfig({
27
27
  });
28
28
  export var StyledSplitViewCardHeading = /*#__PURE__*/styled(H2).withConfig({
29
29
  displayName: "StyledSplitViewCardHeading",
30
- componentId: "core-12_17_5__sc-9hrkda-3"
30
+ componentId: "core-12_17_6__sc-9hrkda-3"
31
31
  })(["overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:100%;"]);
32
32
  export var StyledSplitViewCardTitle = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledSplitViewCardTitle",
34
- componentId: "core-12_17_5__sc-9hrkda-4"
34
+ componentId: "core-12_17_6__sc-9hrkda-4"
35
35
  })(["display:flex;align-items:center;justify-content:space-between;margin-bottom:", "px;min-height:36px;"], spacing.sm);
36
36
  export var StyledSplitViewCardHeader = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSplitViewCardHeader",
38
- componentId: "core-12_17_5__sc-9hrkda-5"
38
+ componentId: "core-12_17_6__sc-9hrkda-5"
39
39
  })(["border-bottom:1px solid ", ";display:flex;flex-direction:column;padding:", "px ", "px 0;"], colors.gray85, spacing.lg, spacing.lg);
40
40
  export var StyledSplitViewCardBody = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledSplitViewCardBody",
42
- componentId: "core-12_17_5__sc-9hrkda-6"
42
+ componentId: "core-12_17_6__sc-9hrkda-6"
43
43
  })(["display:flex;flex-direction:column;flex:1;padding:", "px ", "px 0;overflow-y:auto;"], spacing.lg, spacing.lg);
44
44
  export var StyledSplitViewCardFooter = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledSplitViewCardFooter",
46
- componentId: "core-12_17_5__sc-9hrkda-7"
46
+ componentId: "core-12_17_6__sc-9hrkda-7"
47
47
  })(["display:flex;align-items:center;justify-content:flex-end;padding:", "px;", ""], spacing.lg, function (_ref4) {
48
48
  var $hasShadow = _ref4.$hasShadow;
49
49
  return $hasShadow && css(["box-shadow:0 -4px 6px 0 #0000001a;"]);