@procore/core-react 12.25.1 → 12.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  3. package/dist/Avatar/Avatar.d.ts +9 -10
  4. package/dist/Avatar/Avatar.js.map +1 -1
  5. package/dist/Avatar/Avatar.styles.js +5 -5
  6. package/dist/AvatarStack/AvatarStack.styles.d.ts +2 -2
  7. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  8. package/dist/Badge/Badge.styles.js +2 -2
  9. package/dist/BadgePill/BadgePill.styles.js +4 -4
  10. package/dist/Banner/Banner.d.ts +15 -15
  11. package/dist/Banner/Banner.js.map +1 -1
  12. package/dist/Banner/Banner.styles.d.ts +4 -4
  13. package/dist/Banner/Banner.styles.js +10 -10
  14. package/dist/Box/Box.d.ts +1 -2
  15. package/dist/Box/Box.js.map +1 -1
  16. package/dist/Box/Box.styles.js +1 -1
  17. package/dist/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  18. package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -1
  19. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  20. package/dist/Button/Button.styles.js +5 -5
  21. package/dist/Button/Button.types.d.ts +2 -3
  22. package/dist/Button/Button.types.js.map +1 -1
  23. package/dist/Calendar/Calendar.styles.js +8 -8
  24. package/dist/Card/Card.d.ts +1 -2
  25. package/dist/Card/Card.js.map +1 -1
  26. package/dist/Card/Card.styles.js +1 -1
  27. package/dist/Checkbox/Checkbox.styles.js +6 -6
  28. package/dist/Checkbox/Checkbox.types.d.ts +1 -2
  29. package/dist/Checkbox/Checkbox.types.js.map +1 -1
  30. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  31. package/dist/ContactItem/ContactItem.d.ts +2 -3
  32. package/dist/ContactItem/ContactItem.js.map +1 -1
  33. package/dist/ContactItem/ContactItem.styles.d.ts +5 -5
  34. package/dist/ContactItem/ContactItem.styles.js +5 -5
  35. package/dist/Content/Content.styles.d.ts +4 -4
  36. package/dist/Content/Content.styles.js +2 -2
  37. package/dist/DateInput/DateInput.js.map +1 -1
  38. package/dist/DateInput/DateInput.styles.js +6 -6
  39. package/dist/DateInput/DateInput.types.d.ts +2 -2
  40. package/dist/DateInput/DateInput.types.js.map +1 -1
  41. package/dist/DetailPage/DetailPage.styles.d.ts +4 -4
  42. package/dist/DetailPage/DetailPage.styles.js +7 -7
  43. package/dist/Dropdown/Dropdown.d.ts +1 -1
  44. package/dist/Dropdown/Dropdown.styles.d.ts +2 -2
  45. package/dist/Dropdown/Dropdown.styles.js +3 -3
  46. package/dist/DropdownFlyout/DropdownFlyout.helpers.js +1 -1
  47. package/dist/DropdownFlyout/DropdownFlyout.helpers.js.map +1 -1
  48. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  49. package/dist/DropdownFlyout/DropdownFlyout.types.d.ts +4 -4
  50. package/dist/DropdownFlyout/DropdownFlyout.types.js.map +1 -1
  51. package/dist/Dropzone/Dropzone.d.ts +2 -3
  52. package/dist/Dropzone/Dropzone.js +1 -2
  53. package/dist/Dropzone/Dropzone.js.map +1 -1
  54. package/dist/Dropzone/Dropzone.styles.d.ts +6 -6
  55. package/dist/Dropzone/Dropzone.styles.js +9 -9
  56. package/dist/EmptyState/EmptyState.d.ts +6 -6
  57. package/dist/EmptyState/EmptyState.js.map +1 -1
  58. package/dist/EmptyState/EmptyState.styles.js +6 -6
  59. package/dist/Field/Field.styles.js +3 -3
  60. package/dist/FileList/FileList.d.ts +1 -2
  61. package/dist/FileList/FileList.js.map +1 -1
  62. package/dist/FileList/FileList.styles.js +4 -4
  63. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  64. package/dist/FileSelect/FileExplorer/FileExplorerModal.d.ts +1 -2
  65. package/dist/FileSelect/FileExplorer/FileExplorerModal.js.map +1 -1
  66. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.d.ts +2 -2
  67. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  68. package/dist/FileSelect/FileSelect.d.ts +3 -4
  69. package/dist/FileSelect/FileSelect.js.map +1 -1
  70. package/dist/FileSelect/FileSelect.styles.d.ts +2 -2
  71. package/dist/FileSelect/FileSelect.styles.js +2 -2
  72. package/dist/FileSelect/FileSelect.types.d.ts +1 -2
  73. package/dist/FileSelect/FileSelect.types.js.map +1 -1
  74. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  75. package/dist/FileSelect/FileTokenList/FileTokenList.d.ts +1 -2
  76. package/dist/FileSelect/FileTokenList/FileTokenList.js.map +1 -1
  77. package/dist/FileSelect/FileTokenList/FileTokenList.styles.d.ts +2 -2
  78. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  79. package/dist/FileSelect/GridSource/GridSource.d.ts +1 -2
  80. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  81. package/dist/FileSelect/GridSource/GridSource.styles.d.ts +6 -6
  82. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  83. package/dist/FileSelect/LocalSource/LocalSource.styles.d.ts +1 -1
  84. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  85. package/dist/FileSelect/SourceItem/SourceItem.d.ts +2 -2
  86. package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
  87. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  88. package/dist/FileSelect/ThumbnailList/ThumbnailList.js.map +1 -1
  89. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  90. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.d.ts +2 -2
  91. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.js.map +1 -1
  92. package/dist/FileSelect/TreeSource/TreeSource.d.ts +1 -2
  93. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  94. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  95. package/dist/FileToken/FileToken.d.ts +1 -2
  96. package/dist/FileToken/FileToken.js +17 -18
  97. package/dist/FileToken/FileToken.js.map +1 -1
  98. package/dist/FileToken/FileToken.styles.js +9 -9
  99. package/dist/FileToken/FileToken.styles.js.map +1 -1
  100. package/dist/FileToken/FileToken.types.d.ts +22 -0
  101. package/dist/FileToken/FileToken.types.js.map +1 -1
  102. package/dist/FileToken/FileTokenInner.d.ts +3 -0
  103. package/dist/FileToken/FileTokenInner.js +25 -0
  104. package/dist/FileToken/FileTokenInner.js.map +1 -0
  105. package/dist/FilterToken/FilterToken.d.ts +3 -4
  106. package/dist/FilterToken/FilterToken.js.map +1 -1
  107. package/dist/FilterToken/FilterToken.styles.js +5 -5
  108. package/dist/Flex/Flex.d.ts +1 -2
  109. package/dist/Flex/Flex.js.map +1 -1
  110. package/dist/FlexList/FlexList.d.ts +1 -2
  111. package/dist/FlexList/FlexList.js.map +1 -1
  112. package/dist/FlexList/FlexList.styles.d.ts +2 -2
  113. package/dist/FlexList/FlexList.styles.js +1 -1
  114. package/dist/Form/Form.d.ts +2 -2
  115. package/dist/Form/Form.js.map +1 -1
  116. package/dist/Form/Form.styles.js +14 -14
  117. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  118. package/dist/Form/StyledFormikForm.styles.js +2 -2
  119. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  120. package/dist/Grid/Grid.styles.js +2 -2
  121. package/dist/Grid/Grid.types.d.ts +4 -4
  122. package/dist/Grid/Grid.types.js.map +1 -1
  123. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  124. package/dist/Input/Input.d.ts +1 -2
  125. package/dist/Input/Input.js.map +1 -1
  126. package/dist/Input/Input.styles.js +1 -1
  127. package/dist/Input/Input.types.d.ts +2 -2
  128. package/dist/Input/Input.types.js.map +1 -1
  129. package/dist/Link/Link.styles.js +1 -1
  130. package/dist/Link/Link.types.d.ts +2 -2
  131. package/dist/Link/Link.types.js.map +1 -1
  132. package/dist/ListPage/ListPage.styles.js +8 -8
  133. package/dist/Loader/Loader.styles.js +2 -2
  134. package/dist/Menu/Menu.d.ts +8 -9
  135. package/dist/Menu/Menu.js.map +1 -1
  136. package/dist/MenuImperative/MenuImperative.d.ts +8 -9
  137. package/dist/MenuImperative/MenuImperative.js.map +1 -1
  138. package/dist/MenuImperative/MenuImperative.styles.d.ts +2 -2
  139. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  140. package/dist/MenuImperative/MenuImperative.types.d.ts +2 -2
  141. package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
  142. package/dist/Modal/Modal.d.ts +6 -5
  143. package/dist/Modal/Modal.js +47 -11
  144. package/dist/Modal/Modal.js.map +1 -1
  145. package/dist/Modal/Modal.styles.d.ts +4 -4
  146. package/dist/Modal/Modal.styles.js +15 -14
  147. package/dist/Modal/Modal.styles.js.map +1 -1
  148. package/dist/Modal/Modal.types.d.ts +6 -4
  149. package/dist/Modal/Modal.types.js.map +1 -1
  150. package/dist/MultiSelect/MultiSelect.styles.d.ts +2 -2
  151. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  152. package/dist/NextMenu/NextMenu.styles.js +3 -3
  153. package/dist/NextTile/NextTile.types.d.ts +3 -3
  154. package/dist/NextTile/NextTile.types.js.map +1 -1
  155. package/dist/Notation/Notation.d.ts +1 -2
  156. package/dist/Notation/Notation.js +1 -1
  157. package/dist/Notation/Notation.js.map +1 -1
  158. package/dist/NumberInput/NumberInput.styles.d.ts +2 -2
  159. package/dist/NumberInput/NumberInput.styles.js +7 -7
  160. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  161. package/dist/PageLayout/PageLayout.d.ts +2 -2
  162. package/dist/PageLayout/PageLayout.js.map +1 -1
  163. package/dist/PageLayout/PageLayout.styles.js +16 -16
  164. package/dist/PageLayout/PageLayout.types.d.ts +3 -3
  165. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  166. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  167. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +4 -4
  168. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  169. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.d.ts +5 -3
  170. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  171. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  172. package/dist/Pagination/Pagination.styles.d.ts +6 -6
  173. package/dist/Pagination/Pagination.styles.js +5 -5
  174. package/dist/Panel/Panel.d.ts +6 -7
  175. package/dist/Panel/Panel.js +22 -8
  176. package/dist/Panel/Panel.js.map +1 -1
  177. package/dist/Panel/Panel.styles.d.ts +5 -5
  178. package/dist/Panel/Panel.styles.js +16 -15
  179. package/dist/Panel/Panel.styles.js.map +1 -1
  180. package/dist/Panel/Panel.types.d.ts +14 -5
  181. package/dist/Panel/Panel.types.js.map +1 -1
  182. package/dist/Pill/Pill.js +15 -7
  183. package/dist/Pill/Pill.js.map +1 -1
  184. package/dist/Pill/Pill.styles.d.ts +3 -0
  185. package/dist/Pill/Pill.styles.js +7 -3
  186. package/dist/Pill/Pill.styles.js.map +1 -1
  187. package/dist/Pill/Pill.types.d.ts +1 -1
  188. package/dist/Pill/Pill.types.js.map +1 -1
  189. package/dist/PillSelect/PillSelect.js.map +1 -1
  190. package/dist/PillSelect/PillSelect.styles.js +4 -4
  191. package/dist/Popover/Popover.d.ts +1 -2
  192. package/dist/Popover/Popover.js.map +1 -1
  193. package/dist/Popover/Popover.styles.js +4 -4
  194. package/dist/Popover/Popover.styles.js.map +1 -1
  195. package/dist/Portal/Portal.styles.js +1 -1
  196. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  197. package/dist/ProgressBar/ProgressBar.types.d.ts +2 -2
  198. package/dist/ProgressBar/ProgressBar.types.js.map +1 -1
  199. package/dist/RadioButton/RadioButton.styles.js +3 -3
  200. package/dist/Required/Required.styles.js +3 -3
  201. package/dist/Search/Search.styles.js +5 -5
  202. package/dist/Section/Section.js +6 -5
  203. package/dist/Section/Section.js.map +1 -1
  204. package/dist/Section/Section.styles.d.ts +5 -5
  205. package/dist/Section/Section.styles.js +9 -8
  206. package/dist/Section/Section.styles.js.map +1 -1
  207. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  208. package/dist/SegmentedController/SegmentedController.types.d.ts +2 -2
  209. package/dist/SegmentedController/SegmentedController.types.js.map +1 -1
  210. package/dist/Select/Select.styles.d.ts +2 -2
  211. package/dist/Select/Select.styles.js +7 -7
  212. package/dist/Semantic/Semantic.styles.d.ts +1 -1
  213. package/dist/Semantic/Semantic.styles.js +9 -9
  214. package/dist/Semantic/Semantic.types.d.ts +1 -2
  215. package/dist/Semantic/Semantic.types.js.map +1 -1
  216. package/dist/Slider/Slider.styles.d.ts +2 -2
  217. package/dist/Slider/Slider.styles.js +5 -5
  218. package/dist/Slider/Slider.types.d.ts +2 -2
  219. package/dist/Slider/Slider.types.js.map +1 -1
  220. package/dist/Spinner/Spinner.styles.js +7 -7
  221. package/dist/SplitViewCard/SplitViewCard.d.ts +0 -1
  222. package/dist/SplitViewCard/SplitViewCard.js +29 -26
  223. package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
  224. package/dist/SplitViewCard/SplitViewCard.styles.js +10 -9
  225. package/dist/SplitViewCard/SplitViewCard.styles.js.map +1 -1
  226. package/dist/SplitViewCard/SplitViewCard.types.d.ts +11 -0
  227. package/dist/SplitViewCard/SplitViewCard.types.js.map +1 -1
  228. package/dist/SplitViewCard/SplitViewCardInternal.context.d.ts +2 -2
  229. package/dist/SplitViewCard/SplitViewCardInternal.context.js +4 -1
  230. package/dist/SplitViewCard/SplitViewCardInternal.context.js.map +1 -1
  231. package/dist/SuperSelect/SuperSelect.components.d.ts +1 -2
  232. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  233. package/dist/SuperSelect/SuperSelect.presets.styles.d.ts +2 -2
  234. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  235. package/dist/SuperSelect/SuperSelect.styles.d.ts +6 -6
  236. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  237. package/dist/SuperSelect/SuperSelect.types.d.ts +1 -2
  238. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  239. package/dist/Switch/Switch.d.ts +1 -2
  240. package/dist/Switch/Switch.js.map +1 -1
  241. package/dist/Switch/Switch.styles.js +4 -4
  242. package/dist/Switch/Switch.types.d.ts +2 -2
  243. package/dist/Switch/Switch.types.js.map +1 -1
  244. package/dist/Table/Table.d.ts +34 -35
  245. package/dist/Table/Table.js.map +1 -1
  246. package/dist/Table/Table.styles.d.ts +6 -6
  247. package/dist/Table/Table.styles.js +28 -28
  248. package/dist/Table/Table.types.d.ts +1 -2
  249. package/dist/Table/Table.types.js.map +1 -1
  250. package/dist/TableShelf/TableShelf.d.ts +12 -13
  251. package/dist/TableShelf/TableShelf.js.map +1 -1
  252. package/dist/TableShelf/TableShelf.styles.js +5 -5
  253. package/dist/Tabs/Tabs.d.ts +4 -5
  254. package/dist/Tabs/Tabs.js.map +1 -1
  255. package/dist/Tabs/Tabs.styles.d.ts +2 -2
  256. package/dist/Tabs/Tabs.styles.js +15 -15
  257. package/dist/Tearsheet/Tearsheet.js +9 -6
  258. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  259. package/dist/Tearsheet/Tearsheet.styles.d.ts +2 -2
  260. package/dist/Tearsheet/Tearsheet.styles.js +7 -6
  261. package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
  262. package/dist/TextArea/TextArea.d.ts +1 -2
  263. package/dist/TextArea/TextArea.js.map +1 -1
  264. package/dist/TextArea/TextArea.styles.js +1 -1
  265. package/dist/TextArea/TextArea.types.d.ts +2 -2
  266. package/dist/TextArea/TextArea.types.js.map +1 -1
  267. package/dist/TextEditorOutput/TextEditorOutput.d.ts +1 -2
  268. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  269. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  270. package/dist/TextInput/TextInput.d.ts +1 -1
  271. package/dist/Thumbnail/Thumbnail.hooks.d.ts +6 -7
  272. package/dist/Thumbnail/Thumbnail.hooks.js.map +1 -1
  273. package/dist/Thumbnail/Thumbnail.styles.d.ts +2 -2
  274. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  275. package/dist/ThumbnailGrid/ThumbnailGrid.d.ts +1 -2
  276. package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
  277. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +2 -2
  278. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  279. package/dist/TieredSelect/TieredSelect.styles.d.ts +15 -15
  280. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  281. package/dist/Tile/Tile.styles.d.ts +1 -1
  282. package/dist/Tile/Tile.styles.js +8 -8
  283. package/dist/Tile/Tile.types.d.ts +4 -4
  284. package/dist/Tile/Tile.types.js.map +1 -1
  285. package/dist/Title/Title.d.ts +5 -6
  286. package/dist/Title/Title.js.map +1 -1
  287. package/dist/Title/Title.styles.d.ts +3 -3
  288. package/dist/Title/Title.styles.js +7 -7
  289. package/dist/Title/Title.types.d.ts +2 -2
  290. package/dist/Title/Title.types.js.map +1 -1
  291. package/dist/Toast/Toast.d.ts +4 -5
  292. package/dist/Toast/Toast.js.map +1 -1
  293. package/dist/Toast/Toast.styles.js +3 -3
  294. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  295. package/dist/ToggleButton/ToggleButton.types.d.ts +1 -2
  296. package/dist/ToggleButton/ToggleButton.types.js.map +1 -1
  297. package/dist/Token/Token.d.ts +5 -4
  298. package/dist/Token/Token.js +37 -10
  299. package/dist/Token/Token.js.map +1 -1
  300. package/dist/Token/Token.styles.d.ts +3 -7
  301. package/dist/Token/Token.styles.js +7 -7
  302. package/dist/Token/Token.styles.js.map +1 -1
  303. package/dist/Token/Token.types.d.ts +4 -0
  304. package/dist/Token/Token.types.js.map +1 -1
  305. package/dist/ToolHeader/ToolHeader.d.ts +6 -7
  306. package/dist/ToolHeader/ToolHeader.js.map +1 -1
  307. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  308. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  309. package/dist/Tooltip/Tooltip.styles.js +2 -2
  310. package/dist/Tree/Tree.styles.d.ts +6 -6
  311. package/dist/Tree/Tree.styles.js +9 -9
  312. package/dist/Tree/Tree.types.d.ts +2 -3
  313. package/dist/Tree/Tree.types.js.map +1 -1
  314. package/dist/Typeahead/Typeahead.styles.js +3 -3
  315. package/dist/Typography/Typography.d.ts +1 -2
  316. package/dist/Typography/Typography.js.map +1 -1
  317. package/dist/Typography/Typography.styles.js +1 -1
  318. package/dist/Typography/Typography.table.story.js +2 -2
  319. package/dist/_hooks/ClickOutside.js +8 -4
  320. package/dist/_hooks/ClickOutside.js.map +1 -1
  321. package/dist/_locales/de-DE.json +1 -1
  322. package/dist/_locales/en-AU.json +1 -1
  323. package/dist/_locales/en-CA.json +1 -1
  324. package/dist/_locales/en-GB.json +1 -1
  325. package/dist/_locales/en.json +1 -1
  326. package/dist/_locales/es-ES.json +1 -1
  327. package/dist/_locales/es.json +1 -1
  328. package/dist/_locales/fr-CA.json +1 -1
  329. package/dist/_locales/fr-FR.json +1 -1
  330. package/dist/_locales/is-IS.json +1 -1
  331. package/dist/_locales/it-IT.json +1 -1
  332. package/dist/_locales/ja-JP.json +1 -1
  333. package/dist/_locales/pl-PL.json +1 -1
  334. package/dist/_locales/pseudo.json +1 -1
  335. package/dist/_locales/pt-BR.json +1 -1
  336. package/dist/_locales/th-TH.json +1 -1
  337. package/dist/_locales/zh-SG.json +1 -1
  338. package/dist/_locales/zh-TW.json +1 -1
  339. package/dist/_styles/mixins.js +1 -1
  340. package/dist/_styles/mixins.js.map +1 -1
  341. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  342. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  343. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  344. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  345. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  346. package/dist/_typedoc/Box/Box.types.json +68 -68
  347. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  348. package/dist/_typedoc/Button/Button.types.json +13 -13
  349. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  350. package/dist/_typedoc/Card/Card.types.json +6 -6
  351. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -18
  352. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  353. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  354. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  355. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  356. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  357. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  358. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  359. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  360. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  361. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  362. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  363. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  364. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  365. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  366. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  367. package/dist/_typedoc/Form/Form.types.json +739 -759
  368. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  369. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  370. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  371. package/dist/_typedoc/Input/Input.types.json +2 -2
  372. package/dist/_typedoc/Link/Link.types.json +1 -31
  373. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  374. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  375. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  376. package/dist/_typedoc/Modal/Modal.types.json +54 -54
  377. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  378. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  379. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  380. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  381. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  382. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -56
  383. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  384. package/dist/_typedoc/Panel/Panel.types.json +51 -29
  385. package/dist/_typedoc/Pill/Pill.types.json +4 -4
  386. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  387. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  388. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  389. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  390. package/dist/_typedoc/Required/Required.types.json +5 -5
  391. package/dist/_typedoc/Search/Search.types.json +18 -18
  392. package/dist/_typedoc/Section/Section.types.json +15 -15
  393. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  394. package/dist/_typedoc/Select/Select.types.json +60 -60
  395. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  396. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  397. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  398. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +34 -12
  399. package/dist/_typedoc/Switch/Switch.types.json +1 -32
  400. package/dist/_typedoc/Table/Table.types.json +101 -101
  401. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  402. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  403. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  404. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  405. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  406. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  407. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  408. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  409. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  410. package/dist/_typedoc/Title/Title.types.json +1 -1
  411. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  412. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  413. package/dist/_typedoc/Token/Token.types.json +30 -4
  414. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  415. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  416. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  417. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  418. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  419. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  420. package/dist/_typedoc/_utils/types.json +3 -3
  421. package/dist/_utils/slotify.d.ts +1 -2
  422. package/dist/_utils/slotify.js.map +1 -1
  423. package/dist/_utils/types.d.ts +11 -48
  424. package/dist/_utils/types.js.map +1 -1
  425. package/dist/index.d.ts +1 -1
  426. package/dist/index.js.map +1 -1
  427. package/package.json +1 -1
@@ -10,7 +10,7 @@
10
10
  "description": "",
11
11
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
12
12
  "sourceFile": "packages/core-react/src/Typeahead/Typeahead.types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typeahead/Typeahead.types.ts#L15"
13
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typeahead/Typeahead.types.ts#L15"
14
14
  },
15
15
  {
16
16
  "name": "onChange",
@@ -20,7 +20,7 @@
20
20
  "description": "",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
22
22
  "sourceFile": "packages/core-react/src/Typeahead/Typeahead.types.ts",
23
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typeahead/Typeahead.types.ts#L19"
23
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typeahead/Typeahead.types.ts#L19"
24
24
  }
25
25
  ],
26
26
  "description": ""
@@ -10,7 +10,7 @@
10
10
  "description": "Change the HTML tag. This\n[prop is from styled-components](https://styled-components.com/docs/api#as-polymorphic-prop)\n__Warning__: If using TypeScript, it will not switch types and\nsome props may error. You can add `@ts-expect-error`.\nSee [styled-components issue](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117)",
11
11
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Change the HTML tag. This\n<a href=\"https://styled-components.com/docs/api#as-polymorphic-prop\">prop is from styled-components</a>\n<strong>Warning</strong>: If using TypeScript, it will not switch types and\nsome props may error. You can add <code>@ts-expect-error</code>.\nSee <a href=\"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117\">styled-components issue</a></p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>&#39;span&#39;</p>\n</dd><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
12
12
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L26"
13
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L26"
14
14
  },
15
15
  {
16
16
  "name": "breakWord",
@@ -20,7 +20,7 @@
20
20
  "description": "Enables word wrapping and breaking within the component",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Enables word wrapping and breaking within the component</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.0.0</p>\n</dd></dl></div>",
22
22
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
23
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L57"
23
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L57"
24
24
  },
25
25
  {
26
26
  "name": "children",
@@ -30,7 +30,7 @@
30
30
  "description": "When children are a string or multiple elements, they will be wrapped\nby a `span`. When it is a single element, classnames will\nbe added to it instead",
31
31
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>When children are a string or multiple elements, they will be wrapped\nby a <code>span</code>. When it is a single element, classnames will\nbe added to it instead</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
32
32
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
33
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L15"
33
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L15"
34
34
  },
35
35
  {
36
36
  "name": "className",
@@ -40,7 +40,7 @@
40
40
  "description": "Additional classNames",
41
41
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
42
42
  "sourceFile": "packages/core-react/src/_utils/types.ts",
43
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/_utils/types.ts#L47"
43
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L47"
44
44
  },
45
45
  {
46
46
  "name": "color",
@@ -50,7 +50,7 @@
50
50
  "description": "Changes font color, can be any of the `colors` object HSL Palette",
51
51
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes font color, can be any of the <code>colors</code> object HSL Palette</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>&#39;gray15&#39;</p>\n</dd><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
52
52
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
53
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L33"
53
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L33"
54
54
  },
55
55
  {
56
56
  "name": "intent",
@@ -60,7 +60,7 @@
60
60
  "description": "Changes the size of the font",
61
61
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes the size of the font</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
62
62
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
63
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L39"
63
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L39"
64
64
  },
65
65
  {
66
66
  "name": "italic",
@@ -70,7 +70,7 @@
70
70
  "description": "Applies `font-style: italic` if enabled",
71
71
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Applies <code>font-style: italic</code> if enabled</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
72
72
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
73
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L45"
73
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L45"
74
74
  },
75
75
  {
76
76
  "name": "style",
@@ -80,7 +80,7 @@
80
80
  "description": "Additional CSS styles",
81
81
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
82
82
  "sourceFile": "packages/core-react/src/_utils/types.ts",
83
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/_utils/types.ts#L52"
83
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L52"
84
84
  },
85
85
  {
86
86
  "name": "weight",
@@ -90,7 +90,7 @@
90
90
  "description": "Changes font weight if it is supported in the design system",
91
91
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes font weight if it is supported in the design system</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
92
92
  "sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
93
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/Typography/Typography.types.ts#L51"
93
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Typography/Typography.types.ts#L51"
94
94
  }
95
95
  ],
96
96
  "description": ""
@@ -10,7 +10,7 @@
10
10
  "description": "",
11
11
  "descriptionHtml": "",
12
12
  "sourceFile": "packages/core-react/src/_utils/types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/_utils/types.ts#L42"
13
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L42"
14
14
  },
15
15
  {
16
16
  "name": "className",
@@ -20,7 +20,7 @@
20
20
  "description": "Additional classNames",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
22
22
  "sourceFile": "packages/core-react/src/_utils/types.ts",
23
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/_utils/types.ts#L47"
23
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L47"
24
24
  },
25
25
  {
26
26
  "name": "style",
@@ -30,7 +30,7 @@
30
30
  "description": "Additional CSS styles",
31
31
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
32
32
  "sourceFile": "packages/core-react/src/_utils/types.ts",
33
- "sourceUrl": "https://github.com/procore/core/blob/18f5833/packages/core-react/src/_utils/types.ts#L52"
33
+ "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L52"
34
34
  }
35
35
  ],
36
36
  "description": ""
@@ -1,9 +1,8 @@
1
1
  import React from 'react';
2
- import type { DivAttributes } from './types';
3
2
  declare type Ref = React.ForwardedRef<HTMLDivElement>;
4
3
  declare type Slots = Record<string, {
5
4
  slotChildren: React.ReactNode | null;
6
- slotProps: DivAttributes;
5
+ slotProps: React.HTMLAttributes<HTMLDivElement>;
7
6
  slotRef: Ref | null;
8
7
  }>;
9
8
  declare type ReactComponent = React.FC | React.Component | React.ForwardRefExoticComponent<HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"slotify.js","names":["React","slotify","rawChildren","slotMap","serializedConfig","Object","entries","slots","reduce","acc","_ref","_ref2","_slicedToArray","slotKey","slotProps","slotChildren","slotRef","Children","toArray","forEach","child","slot","type","slotConfig","find","_ref3","_ref4","_slotConfig","_slot$props","props","children","_objectWithoutProperties","_excluded","ref"],"sources":["../../src/_utils/slotify.ts"],"sourcesContent":["import React from 'react'\nimport type { DivAttributes } from './types'\n\ntype Ref = React.ForwardedRef<HTMLDivElement>\n\ntype Slots = Record<\n string,\n {\n slotChildren: React.ReactNode | null\n slotProps: DivAttributes\n slotRef: Ref | null\n }\n>\n\ntype ReactComponent =\n | React.FC\n | React.Component\n | React.ForwardRefExoticComponent<HTMLDivElement>\n\nexport const slotify = (\n rawChildren: React.ReactNode,\n slotMap: Record<string, ReactComponent>\n): Slots => {\n const serializedConfig = Object.entries(slotMap) as [string, ReactComponent][]\n const slots = serializedConfig.reduce((acc, [slotKey]) => {\n acc[slotKey] = {\n slotProps: {},\n slotChildren: null,\n slotRef: null,\n }\n return acc\n }, {} as Slots)\n\n React.Children.toArray(rawChildren).forEach((child) => {\n const slot = child as React.FunctionComponentElement<any>\n\n if (!slot || !slot.type) {\n return\n }\n const slotConfig = serializedConfig.find(([, type]) => slot.type === type)\n\n if (!slotConfig) {\n return\n }\n\n const [slotKey] = slotConfig\n\n const { children, ...props } = slot.props\n slots[slotKey] = {\n slotChildren: children,\n slotProps: props,\n slotRef: slot.ref as Ref,\n }\n })\n\n return slots\n}\n"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAmBzB,OAAO,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAClBC,WAA4B,EAC5BC,OAAuC,EAC7B;EACV,IAAMC,gBAAgB,GAAGC,MAAM,CAACC,OAAO,CAACH,OAAO,CAA+B;EAC9E,IAAMI,KAAK,GAAGH,gBAAgB,CAACI,MAAM,CAAC,UAACC,GAAG,EAAAC,IAAA,EAAgB;IAAA,IAAAC,KAAA,GAAAC,cAAA,CAAAF,IAAA;MAAbG,OAAO,GAAAF,KAAA;IAClDF,GAAG,CAACI,OAAO,CAAC,GAAG;MACbC,SAAS,EAAE,CAAC,CAAC;MACbC,YAAY,EAAE,IAAI;MAClBC,OAAO,EAAE;IACX,CAAC;IACD,OAAOP,GAAG;EACZ,CAAC,EAAE,CAAC,CAAU,CAAC;EAEfT,KAAK,CAACiB,QAAQ,CAACC,OAAO,CAAChB,WAAW,CAAC,CAACiB,OAAO,CAAC,UAACC,KAAK,EAAK;IACrD,IAAMC,IAAI,GAAGD,KAA4C;IAEzD,IAAI,CAACC,IAAI,IAAI,CAACA,IAAI,CAACC,IAAI,EAAE;MACvB;IACF;IACA,IAAMC,UAAU,GAAGnB,gBAAgB,CAACoB,IAAI,CAAC,UAAAC,KAAA;MAAA,IAAAC,KAAA,GAAAd,cAAA,CAAAa,KAAA;QAAIH,IAAI,GAAAI,KAAA;MAAA,OAAML,IAAI,CAACC,IAAI,KAAKA,IAAI;IAAA,EAAC;IAE1E,IAAI,CAACC,UAAU,EAAE;MACf;IACF;IAEA,IAAAI,WAAA,GAAAf,cAAA,CAAkBW,UAAU;MAArBV,OAAO,GAAAc,WAAA;IAEd,IAAAC,WAAA,GAA+BP,IAAI,CAACQ,KAAK;MAAjCC,QAAQ,GAAAF,WAAA,CAARE,QAAQ;MAAKD,KAAK,GAAAE,wBAAA,CAAAH,WAAA,EAAAI,SAAA;IAC1BzB,KAAK,CAACM,OAAO,CAAC,GAAG;MACfE,YAAY,EAAEe,QAAQ;MACtBhB,SAAS,EAAEe,KAAK;MAChBb,OAAO,EAAEK,IAAI,CAACY;IAChB,CAAC;EACH,CAAC,CAAC;EAEF,OAAO1B,KAAK;AACd,CAAC"}
1
+ {"version":3,"file":"slotify.js","names":["React","slotify","rawChildren","slotMap","serializedConfig","Object","entries","slots","reduce","acc","_ref","_ref2","_slicedToArray","slotKey","slotProps","slotChildren","slotRef","Children","toArray","forEach","child","slot","type","slotConfig","find","_ref3","_ref4","_slotConfig","_slot$props","props","children","_objectWithoutProperties","_excluded","ref"],"sources":["../../src/_utils/slotify.ts"],"sourcesContent":["import React from 'react'\n\ntype Ref = React.ForwardedRef<HTMLDivElement>\n\ntype Slots = Record<\n string,\n {\n slotChildren: React.ReactNode | null\n slotProps: React.HTMLAttributes<HTMLDivElement>\n slotRef: Ref | null\n }\n>\n\ntype ReactComponent =\n | React.FC\n | React.Component\n | React.ForwardRefExoticComponent<HTMLDivElement>\n\nexport const slotify = (\n rawChildren: React.ReactNode,\n slotMap: Record<string, ReactComponent>\n): Slots => {\n const serializedConfig = Object.entries(slotMap) as [string, ReactComponent][]\n const slots = serializedConfig.reduce((acc, [slotKey]) => {\n acc[slotKey] = {\n slotProps: {},\n slotChildren: null,\n slotRef: null,\n }\n return acc\n }, {} as Slots)\n\n React.Children.toArray(rawChildren).forEach((child) => {\n const slot = child as React.FunctionComponentElement<any>\n\n if (!slot || !slot.type) {\n return\n }\n const slotConfig = serializedConfig.find(([, type]) => slot.type === type)\n\n if (!slotConfig) {\n return\n }\n\n const [slotKey] = slotConfig\n\n const { children, ...props } = slot.props\n slots[slotKey] = {\n slotChildren: children,\n slotProps: props,\n slotRef: slot.ref as Ref,\n }\n })\n\n return slots\n}\n"],"mappings":";;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AAkBzB,OAAO,IAAMC,OAAO,GAAG,SAAVA,OAAOA,CAClBC,WAA4B,EAC5BC,OAAuC,EAC7B;EACV,IAAMC,gBAAgB,GAAGC,MAAM,CAACC,OAAO,CAACH,OAAO,CAA+B;EAC9E,IAAMI,KAAK,GAAGH,gBAAgB,CAACI,MAAM,CAAC,UAACC,GAAG,EAAAC,IAAA,EAAgB;IAAA,IAAAC,KAAA,GAAAC,cAAA,CAAAF,IAAA;MAAbG,OAAO,GAAAF,KAAA;IAClDF,GAAG,CAACI,OAAO,CAAC,GAAG;MACbC,SAAS,EAAE,CAAC,CAAC;MACbC,YAAY,EAAE,IAAI;MAClBC,OAAO,EAAE;IACX,CAAC;IACD,OAAOP,GAAG;EACZ,CAAC,EAAE,CAAC,CAAU,CAAC;EAEfT,KAAK,CAACiB,QAAQ,CAACC,OAAO,CAAChB,WAAW,CAAC,CAACiB,OAAO,CAAC,UAACC,KAAK,EAAK;IACrD,IAAMC,IAAI,GAAGD,KAA4C;IAEzD,IAAI,CAACC,IAAI,IAAI,CAACA,IAAI,CAACC,IAAI,EAAE;MACvB;IACF;IACA,IAAMC,UAAU,GAAGnB,gBAAgB,CAACoB,IAAI,CAAC,UAAAC,KAAA;MAAA,IAAAC,KAAA,GAAAd,cAAA,CAAAa,KAAA;QAAIH,IAAI,GAAAI,KAAA;MAAA,OAAML,IAAI,CAACC,IAAI,KAAKA,IAAI;IAAA,EAAC;IAE1E,IAAI,CAACC,UAAU,EAAE;MACf;IACF;IAEA,IAAAI,WAAA,GAAAf,cAAA,CAAkBW,UAAU;MAArBV,OAAO,GAAAc,WAAA;IAEd,IAAAC,WAAA,GAA+BP,IAAI,CAACQ,KAAK;MAAjCC,QAAQ,GAAAF,WAAA,CAARE,QAAQ;MAAKD,KAAK,GAAAE,wBAAA,CAAAH,WAAA,EAAAI,SAAA;IAC1BzB,KAAK,CAACM,OAAO,CAAC,GAAG;MACfE,YAAY,EAAEe,QAAQ;MACtBhB,SAAS,EAAEe,KAAK;MAChBb,OAAO,EAAEK,IAAI,CAACY;IAChB,CAAC;EACH,CAAC,CAAC;EAEF,OAAO1B,KAAK;AACd,CAAC"}
@@ -19,60 +19,23 @@ export interface Props {
19
19
  style?: React.CSSProperties;
20
20
  }
21
21
  /**
22
- * @deprecated Never officially documented/supported
22
+ * @deprecated Never officially documented/supported.
23
23
  * These are internal types not meant for outside of library consumption,
24
- * if you find yourself needing these types directly, please contact #team-ui-foundations
24
+ * if you find yourself needing these types directly, please contact #team-ui-foundations.
25
+ *
26
+ * AFTER: Just use `React.HTMLAttributes<HTMLDivElement>`
27
+ * @deprecatedSince 12
25
28
  */
26
- export declare type AnchorAttributes = React.AnchorHTMLAttributes<HTMLAnchorElement>;
27
- export declare type ButtonAttributes = React.ButtonHTMLAttributes<HTMLButtonElement>;
28
29
  export declare type DivAttributes = React.HTMLAttributes<HTMLDivElement>;
29
- export declare type HeadingAttributes = React.HTMLAttributes<HTMLHeadingElement>;
30
- export declare type InputAttributes = React.InputHTMLAttributes<HTMLInputElement>;
31
- export declare type LabelAttributes = React.HTMLAttributes<HTMLLabelElement>;
32
- export declare type LiAttributes = React.LiHTMLAttributes<HTMLLIElement>;
33
- export declare type NavAttributes = DivAttributes;
34
- export declare type OlAttributes = React.OlHTMLAttributes<HTMLOListElement>;
35
- export declare type SpanAttributes = React.HTMLAttributes<HTMLSpanElement>;
36
30
  /**
37
- * @deprecated Never officially documented/supported
31
+ * @deprecated Never officially documented/supported.
38
32
  * These are internal types not meant for outside of library consumption,
39
- * if you find yourself needing these types directly, please contact #team-ui-foundations
33
+ * if you find yourself needing these types directly, please contact #team-ui-foundations.
34
+ *
35
+ * AFTER: Just use `React.HTMLAttributes<HTMLSpanElement>`
36
+ * @deprecatedSince 12
40
37
  */
41
- export declare type SVGAttributes = React.SVGAttributes<SVGElement>;
42
- /**
43
- * @deprecated Never officially documented/supported
44
- * These are internal types not meant for outside of library consumption,
45
- * if you find yourself needing these types directly, please contact #team-ui-foundations
46
- */
47
- export declare type TableAttributes = React.TableHTMLAttributes<HTMLTableElement>;
48
- export declare type TbodyAttributes = DivAttributes;
49
- /**
50
- * @deprecated Never officially documented/supported
51
- * These are internal types not meant for outside of library consumption,
52
- * if you find yourself needing these types directly, please contact #team-ui-foundations
53
- */
54
- export declare type TdAttributes = React.TdHTMLAttributes<HTMLTableCellElement>;
55
- export declare type TheadAttributes = DivAttributes;
56
- /**
57
- * @deprecated Never officially documented/supported
58
- * These are internal types not meant for outside of library consumption,
59
- * if you find yourself needing these types directly, please contact #team-ui-foundations
60
- */
61
- export declare type TextAreaAttributes = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
62
- /**
63
- * @deprecated Never officially documented/supported
64
- * These are internal types not meant for outside of library consumption,
65
- * if you find yourself needing these types directly, please contact #team-ui-foundations
66
- */
67
- export declare type ThAttributes = React.ThHTMLAttributes<HTMLTableHeaderCellElement>;
68
- /**
69
- * @deprecated Never officially documented/supported
70
- * These are internal types not meant for outside of library consumption,
71
- * if you find yourself needing these types directly, please contact #team-ui-foundations
72
- */
73
- export declare type TrAttributes = DivAttributes;
74
- export declare type UlAttributes = DivAttributes;
75
- export declare type ImgAttributes = React.ImgHTMLAttributes<HTMLImageElement>;
38
+ export declare type SpanAttributes = React.HTMLAttributes<HTMLSpanElement>;
76
39
  export declare type AriaLabelled<P = never> = ({
77
40
  'aria-label': string;
78
41
  } & P) | ({
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["../../src/_utils/types.ts"],"sourcesContent":["import type React from 'react'\n\n/* UTILITIES START */\n\nexport interface ReactElementWithRef<T extends any = any>\n extends React.ReactElement<T> {\n ref?: React.Ref<T>\n}\n\nexport type Size =\n | 'auto'\n | 'block'\n | 'inherit'\n | 'lg'\n | 'md'\n | 'none'\n | 'sm'\n | 'xl'\n | 'xs'\n | 'xxl'\n\nexport type Placement =\n | 'bottom'\n | 'bottom-left'\n | 'bottom-right'\n | 'center'\n | 'left'\n | 'left-bottom'\n | 'left-top'\n | 'right'\n | 'right-bottom'\n | 'right-top'\n | 'top'\n | 'top-left'\n | 'top-right'\n\nexport interface RenderProp<T> {\n children: React.ReactNode | ((props: T) => React.ReactNode)\n}\n\nexport interface Props {\n children?: React.ReactNode\n\n /**\n * Additional classNames\n */\n className?: string\n\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties\n}\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type AnchorAttributes = React.AnchorHTMLAttributes<HTMLAnchorElement>\n\nexport type ButtonAttributes = React.ButtonHTMLAttributes<HTMLButtonElement>\n\nexport type DivAttributes = React.HTMLAttributes<HTMLDivElement>\n\nexport type HeadingAttributes = React.HTMLAttributes<HTMLHeadingElement>\n\nexport type InputAttributes = React.InputHTMLAttributes<HTMLInputElement>\n\nexport type LabelAttributes = React.HTMLAttributes<HTMLLabelElement>\n\nexport type LiAttributes = React.LiHTMLAttributes<HTMLLIElement>\n\nexport type NavAttributes = DivAttributes\n\nexport type OlAttributes = React.OlHTMLAttributes<HTMLOListElement>\n\nexport type SpanAttributes = React.HTMLAttributes<HTMLSpanElement>\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type SVGAttributes = React.SVGAttributes<SVGElement>\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type TableAttributes = React.TableHTMLAttributes<HTMLTableElement>\n\nexport type TbodyAttributes = DivAttributes\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type TdAttributes = React.TdHTMLAttributes<HTMLTableCellElement>\n\nexport type TheadAttributes = DivAttributes\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type TextAreaAttributes =\n React.TextareaHTMLAttributes<HTMLTextAreaElement>\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type ThAttributes = React.ThHTMLAttributes<HTMLTableHeaderCellElement>\n\n/**\n * @deprecated Never officially documented/supported\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations\n */\nexport type TrAttributes = DivAttributes\n\nexport type UlAttributes = DivAttributes\n\nexport type ImgAttributes = React.ImgHTMLAttributes<HTMLImageElement>\n\nexport type AriaLabelled<P = never> =\n | ({ 'aria-label': string } & P)\n | ({ 'aria-labelledby': string } & P)\n\n/**\n * Helper to create a type with required and optional keys.\n */\nexport type UsingProps<\n /** All possible props */\n Props,\n /** Keys that will be required */\n Always extends keyof Props,\n /** Other keys that will be supported */\n Optional extends keyof Props = never\n> = Required<Pick<Props, Always>> & Partial<Pick<Props, Optional>>\n"],"mappings":""}
1
+ {"version":3,"file":"types.js","names":[],"sources":["../../src/_utils/types.ts"],"sourcesContent":["import type React from 'react'\n\n/* UTILITIES START */\n\nexport interface ReactElementWithRef<T extends any = any>\n extends React.ReactElement<T> {\n ref?: React.Ref<T>\n}\n\nexport type Size =\n | 'auto'\n | 'block'\n | 'inherit'\n | 'lg'\n | 'md'\n | 'none'\n | 'sm'\n | 'xl'\n | 'xs'\n | 'xxl'\n\nexport type Placement =\n | 'bottom'\n | 'bottom-left'\n | 'bottom-right'\n | 'center'\n | 'left'\n | 'left-bottom'\n | 'left-top'\n | 'right'\n | 'right-bottom'\n | 'right-top'\n | 'top'\n | 'top-left'\n | 'top-right'\n\nexport interface RenderProp<T> {\n children: React.ReactNode | ((props: T) => React.ReactNode)\n}\n\nexport interface Props {\n children?: React.ReactNode\n\n /**\n * Additional classNames\n */\n className?: string\n\n /**\n * Additional CSS styles\n */\n style?: React.CSSProperties\n}\n\n/**\n * @deprecated Never officially documented/supported.\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations.\n *\n * AFTER: Just use `React.HTMLAttributes<HTMLDivElement>`\n * @deprecatedSince 12\n */\nexport type DivAttributes = React.HTMLAttributes<HTMLDivElement>\n\n/**\n * @deprecated Never officially documented/supported.\n * These are internal types not meant for outside of library consumption,\n * if you find yourself needing these types directly, please contact #team-ui-foundations.\n *\n * AFTER: Just use `React.HTMLAttributes<HTMLSpanElement>`\n * @deprecatedSince 12\n */\nexport type SpanAttributes = React.HTMLAttributes<HTMLSpanElement>\n\nexport type AriaLabelled<P = never> =\n | ({ 'aria-label': string } & P)\n | ({ 'aria-labelledby': string } & P)\n\n/**\n * Helper to create a type with required and optional keys.\n */\nexport type UsingProps<\n /** All possible props */\n Props,\n /** Keys that will be required */\n Always extends keyof Props,\n /** Other keys that will be supported */\n Optional extends keyof Props = never\n> = Required<Pick<Props, Always>> & Partial<Pick<Props, Optional>>\n"],"mappings":""}
package/dist/index.d.ts CHANGED
@@ -117,7 +117,7 @@ export * from './_styles/colors';
117
117
  export * from './_styles/spacing';
118
118
  export { getMonthLabel } from './_utils/CalendarHelpers';
119
119
  export { docsProps as UNSAFE_props } from './_utils/props';
120
- export type { AnchorAttributes, DivAttributes, Placement, SpanAttributes, SVGAttributes, TableAttributes, TdAttributes, TextAreaAttributes, ThAttributes, TrAttributes, } from './_utils/types';
120
+ export type { DivAttributes, Placement, SpanAttributes } from './_utils/types';
121
121
  export declare const tinyMCE: {
122
122
  defaultPlugins: string[];
123
123
  generateExternalPlugins: typeof generateExternalPlugins;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["defaultPlugins","generateExternalPlugins","generateLanguageUrl","tinyMCEConfig","StyledFieldHeader","BETA_makeField","getI18nProviderLocale","useResizeObserver","UNSAFE_useResizeObserver","borderRadius","getBorderRadius","UNSAFE_getBorderRadius","getEllipsis","UNSAFE_getEllipsis","getFocus","UNSAFE_getFocus","getLineClamp","UNSAFE_getLineClamp","addSubcomponents","UNSAFE_addSubcomponents","getMonthLabel","intlDateTimeFormat","parseFilename","UNSAFE_parseFilename","mergeRefs","UNSAFE_mergeRefs","docsProps","UNSAFE_props","tinyMCE","config"],"sources":["../src/index.ts"],"sourcesContent":["import {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n tinyMCEConfig,\n} from './_utils/TinyMCE'\n\n// export const version = process.env.VERSION\nexport * from './AnchorNavigation'\nexport * from './Avatar'\nexport * from './AvatarStack'\nexport * from './Badge'\nexport * from './Banner'\nexport * from './Box'\nexport * from './Breadcrumbs'\nexport * from './Button'\nexport * from './Calendar'\nexport * from './Card'\nexport * from './Checkbox'\nexport * from './ClickOutside'\nexport * from './ContactItem'\nexport * from './Content'\nexport * from './DateInput'\nexport * from './DateSelect'\nexport * from './DetailPage'\nexport * from './DetailPageTemplate'\nexport * from './Dropdown'\nexport * from './DropdownFlyout'\nexport * from './Dropzone'\nexport * from './EmptyState'\nexport { StyledFieldHeader } from './Field'\nexport * from './FileList'\nexport * from './FileSelect'\nexport * from './FileSelect/ThumbnailList'\nexport * from './FileToken'\nexport * from './FilterToken'\nexport * from './Flex'\nexport * from './FlexList'\nexport * from './Form'\n/**\n * @internal\n * Will require extending types FormFieldProps and FormFieldValueComponentProps\n */\nexport { BETA_makeField } from './Form'\nexport * from './GhostPlaceholder'\nexport * from './Grid'\nexport * from './GroupSelect'\nexport * from './Input'\nexport * from './Link'\nexport * from './ListPage'\nexport * from './Menu'\nexport * from './MenuImperative'\nexport * from './Modal'\nexport * from './MultiSelect'\nexport * from './NextTile'\nexport * from './Notation'\nexport * from './NumberInput'\nexport * from './Overlay'\nexport * from './OverlayTrigger'\nexport * from './PageLayout'\nexport * from './PageTemplate'\nexport * from './Pagination'\nexport * from './Panel'\nexport * from './Pill'\nexport * from './PillSelect'\nexport * from './Popover'\nexport * from './Portal'\nexport * from './ProgressBar'\nexport * from './RadioButton'\nexport * from './Required'\nexport * from './Search'\nexport { type SectionProps } from './Section'\nexport * from './SegmentedController'\nexport * from './Select'\nexport * from './Semantic'\nexport * from './SettingsPage'\nexport * from './SettingsPageTemplate'\nexport * from './Slider'\nexport * from './Spinner'\nexport * from './SplitViewCard'\nexport * from './SuperSelect'\nexport * from './Switch'\nexport * from './Table'\nexport * from './TableShelf'\nexport * from './Tabs'\nexport * from './Tearsheet'\nexport * from './TextArea'\nexport * from './TextEditor'\nexport * from './TextEditorOutput'\nexport * from './TextInput'\nexport * from './Thumbnail'\nexport * from './TieredDropdown'\nexport * from './TieredSelect'\nexport * from './Tile'\nexport * from './Title'\nexport * from './Toast'\nexport * from './ToggleButton'\nexport * from './Token'\nexport * from './ToolHeader'\nexport * from './ToolLandingPage'\nexport * from './ToolLandingPageTemplate'\nexport * from './Tooltip'\nexport * from './Tree'\nexport * from './Typeahead'\nexport * from './Typography'\nexport * from './_hooks/Anchor'\nexport * from './_hooks/Buffer'\nexport * from './_hooks/ClickOutside'\nexport * from './_hooks/DateTime'\nexport * from './_hooks/DelayedCallback'\nexport * from './_hooks/DelayedToggle'\nexport * from './_hooks/Deprecation'\nexport * from './_hooks/EventListener'\nexport { getI18nProviderLocale } from './_hooks/getI18nProviderLocale'\nexport * from './_hooks/Hotkey'\nexport * from './_hooks/I18n'\nexport * from './_hooks/InjectedScript'\nexport * from './_hooks/ListNavigation'\nexport * from './_hooks/OverflowObserver'\nexport * from './_hooks/Resize'\n/**\n * @internal\n */\nexport { useResizeObserver as UNSAFE_useResizeObserver } from './_hooks/ResizeObserver'\nexport * from './_hooks/Scroll'\nexport * from './_hooks/TextEntry'\nexport * from './_hooks/Timer'\nexport * from './_hooks/Trigger'\n/**\n * @internal\n */\nexport {\n type UNSAFE_GetEndpoint,\n type UNSAFE_GetPayloadKey,\n type UNSAFE_UploadFile,\n} from './_hooks/useFileUploader'\nexport * from './_hooks/Visibility'\nexport * from './_hooks/ZIndex'\n// Style Stuff\nexport {\n borderRadius,\n getBorderRadius as UNSAFE_getBorderRadius,\n} from './_styles/borderRadius'\nexport * from './_styles/colors'\n/**\n * @internal\n */\nexport {\n getEllipsis as UNSAFE_getEllipsis,\n getFocus as UNSAFE_getFocus,\n getLineClamp as UNSAFE_getLineClamp,\n} from './_styles/mixins'\nexport * from './_styles/spacing'\n/**\n * @internal\n */\nexport { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents'\nexport { getMonthLabel } from './_utils/CalendarHelpers'\n/**\n * @internal\n */\nexport { intlDateTimeFormat } from './_utils/dateTime'\n/**\n * @internal\n */\nexport { parseFilename as UNSAFE_parseFilename } from './_utils/filename'\n/**\n * @internal\n */\nexport { mergeRefs as UNSAFE_mergeRefs } from './_utils/mergeRefs'\n// export { getTypographyIntent, typographyWeights } from './Typography'\n// For documentation only\nexport { docsProps as UNSAFE_props } from './_utils/props'\nexport type {\n AnchorAttributes,\n DivAttributes,\n Placement,\n SpanAttributes,\n SVGAttributes,\n TableAttributes,\n TdAttributes,\n TextAreaAttributes,\n ThAttributes,\n TrAttributes,\n} from './_utils/types'\n\nexport const tinyMCE = {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n config: tinyMCEConfig,\n}\n"],"mappings":"AAAA,SACEA,cAAc,EACdC,uBAAuB,EACvBC,mBAAmB,EACnBC,aAAa,QACR,kBAAkB;;AAEzB;AACA,cAAc,oBAAoB;AAClC,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,cAAc;AAC5B,cAAc,sBAAsB;AACpC,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,SAASC,iBAAiB,QAAQ,SAAS;AAC3C,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,cAAc,4BAA4B;AAC1C,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA,SAASC,cAAc,QAAQ,QAAQ;AACvC,cAAc,oBAAoB;AAClC,cAAc,QAAQ;AACtB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,kBAAkB;AAChC,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,YAAY;AAC1B,cAAc,eAAe;AAC7B,cAAc,WAAW;AACzB,cAAc,kBAAkB;AAChC,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,cAAc;AAC5B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,cAAc;AAC5B,cAAc,WAAW;AACzB,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,UAAU;AAExB,cAAc,uBAAuB;AACrC,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,wBAAwB;AACtC,cAAc,UAAU;AACxB,cAAc,WAAW;AACzB,cAAc,iBAAiB;AAC/B,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,cAAc,oBAAoB;AAClC,cAAc,aAAa;AAC3B,cAAc,aAAa;AAC3B,cAAc,kBAAkB;AAChC,cAAc,gBAAgB;AAC9B,cAAc,QAAQ;AACtB,cAAc,SAAS;AACvB,cAAc,SAAS;AACvB,cAAc,gBAAgB;AAC9B,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,mBAAmB;AACjC,cAAc,2BAA2B;AACzC,cAAc,WAAW;AACzB,cAAc,QAAQ;AACtB,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,iBAAiB;AAC/B,cAAc,iBAAiB;AAC/B,cAAc,uBAAuB;AACrC,cAAc,mBAAmB;AACjC,cAAc,0BAA0B;AACxC,cAAc,wBAAwB;AACtC,cAAc,sBAAsB;AACpC,cAAc,wBAAwB;AACtC,SAASC,qBAAqB,QAAQ,gCAAgC;AACtE,cAAc,iBAAiB;AAC/B,cAAc,eAAe;AAC7B,cAAc,yBAAyB;AACvC,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,iBAAiB;AAC/B;AACA;AACA;AACA,SAASC,iBAAiB,IAAIC,wBAAwB,QAAQ,yBAAyB;AACvF,cAAc,iBAAiB;AAC/B,cAAc,oBAAoB;AAClC,cAAc,gBAAgB;AAC9B,cAAc,kBAAkB;AAChC;AACA;AACA;;AAMA,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B;AACA,SACEC,YAAY,EACZC,eAAe,IAAIC,sBAAsB,QACpC,wBAAwB;AAC/B,cAAc,kBAAkB;AAChC;AACA;AACA;AACA,SACEC,WAAW,IAAIC,kBAAkB,EACjCC,QAAQ,IAAIC,eAAe,EAC3BC,YAAY,IAAIC,mBAAmB,QAC9B,kBAAkB;AACzB,cAAc,mBAAmB;AACjC;AACA;AACA;AACA,SAASC,gBAAgB,IAAIC,uBAAuB,QAAQ,2BAA2B;AACvF,SAASC,aAAa,QAAQ,0BAA0B;AACxD;AACA;AACA;AACA,SAASC,kBAAkB,QAAQ,mBAAmB;AACtD;AACA;AACA;AACA,SAASC,aAAa,IAAIC,oBAAoB,QAAQ,mBAAmB;AACzE;AACA;AACA;AACA,SAASC,SAAS,IAAIC,gBAAgB,QAAQ,oBAAoB;AAClE;AACA;AACA,SAASC,SAAS,IAAIC,YAAY,QAAQ,gBAAgB;AAc1D,OAAO,IAAMC,OAAO,GAAG;EACrB5B,cAAc,EAAdA,cAAc;EACdC,uBAAuB,EAAvBA,uBAAuB;EACvBC,mBAAmB,EAAnBA,mBAAmB;EACnB2B,MAAM,EAAE1B;AACV,CAAC"}
1
+ {"version":3,"file":"index.js","names":["defaultPlugins","generateExternalPlugins","generateLanguageUrl","tinyMCEConfig","StyledFieldHeader","BETA_makeField","getI18nProviderLocale","useResizeObserver","UNSAFE_useResizeObserver","borderRadius","getBorderRadius","UNSAFE_getBorderRadius","getEllipsis","UNSAFE_getEllipsis","getFocus","UNSAFE_getFocus","getLineClamp","UNSAFE_getLineClamp","addSubcomponents","UNSAFE_addSubcomponents","getMonthLabel","intlDateTimeFormat","parseFilename","UNSAFE_parseFilename","mergeRefs","UNSAFE_mergeRefs","docsProps","UNSAFE_props","tinyMCE","config"],"sources":["../src/index.ts"],"sourcesContent":["import {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n tinyMCEConfig,\n} from './_utils/TinyMCE'\n\n// export const version = process.env.VERSION\nexport * from './AnchorNavigation'\nexport * from './Avatar'\nexport * from './AvatarStack'\nexport * from './Badge'\nexport * from './Banner'\nexport * from './Box'\nexport * from './Breadcrumbs'\nexport * from './Button'\nexport * from './Calendar'\nexport * from './Card'\nexport * from './Checkbox'\nexport * from './ClickOutside'\nexport * from './ContactItem'\nexport * from './Content'\nexport * from './DateInput'\nexport * from './DateSelect'\nexport * from './DetailPage'\nexport * from './DetailPageTemplate'\nexport * from './Dropdown'\nexport * from './DropdownFlyout'\nexport * from './Dropzone'\nexport * from './EmptyState'\nexport { StyledFieldHeader } from './Field'\nexport * from './FileList'\nexport * from './FileSelect'\nexport * from './FileSelect/ThumbnailList'\nexport * from './FileToken'\nexport * from './FilterToken'\nexport * from './Flex'\nexport * from './FlexList'\nexport * from './Form'\n/**\n * @internal\n * Will require extending types FormFieldProps and FormFieldValueComponentProps\n */\nexport { BETA_makeField } from './Form'\nexport * from './GhostPlaceholder'\nexport * from './Grid'\nexport * from './GroupSelect'\nexport * from './Input'\nexport * from './Link'\nexport * from './ListPage'\nexport * from './Menu'\nexport * from './MenuImperative'\nexport * from './Modal'\nexport * from './MultiSelect'\nexport * from './NextTile'\nexport * from './Notation'\nexport * from './NumberInput'\nexport * from './Overlay'\nexport * from './OverlayTrigger'\nexport * from './PageLayout'\nexport * from './PageTemplate'\nexport * from './Pagination'\nexport * from './Panel'\nexport * from './Pill'\nexport * from './PillSelect'\nexport * from './Popover'\nexport * from './Portal'\nexport * from './ProgressBar'\nexport * from './RadioButton'\nexport * from './Required'\nexport * from './Search'\nexport { type SectionProps } from './Section'\nexport * from './SegmentedController'\nexport * from './Select'\nexport * from './Semantic'\nexport * from './SettingsPage'\nexport * from './SettingsPageTemplate'\nexport * from './Slider'\nexport * from './Spinner'\nexport * from './SplitViewCard'\nexport * from './SuperSelect'\nexport * from './Switch'\nexport * from './Table'\nexport * from './TableShelf'\nexport * from './Tabs'\nexport * from './Tearsheet'\nexport * from './TextArea'\nexport * from './TextEditor'\nexport * from './TextEditorOutput'\nexport * from './TextInput'\nexport * from './Thumbnail'\nexport * from './TieredDropdown'\nexport * from './TieredSelect'\nexport * from './Tile'\nexport * from './Title'\nexport * from './Toast'\nexport * from './ToggleButton'\nexport * from './Token'\nexport * from './ToolHeader'\nexport * from './ToolLandingPage'\nexport * from './ToolLandingPageTemplate'\nexport * from './Tooltip'\nexport * from './Tree'\nexport * from './Typeahead'\nexport * from './Typography'\nexport * from './_hooks/Anchor'\nexport * from './_hooks/Buffer'\nexport * from './_hooks/ClickOutside'\nexport * from './_hooks/DateTime'\nexport * from './_hooks/DelayedCallback'\nexport * from './_hooks/DelayedToggle'\nexport * from './_hooks/Deprecation'\nexport * from './_hooks/EventListener'\nexport { getI18nProviderLocale } from './_hooks/getI18nProviderLocale'\nexport * from './_hooks/Hotkey'\nexport * from './_hooks/I18n'\nexport * from './_hooks/InjectedScript'\nexport * from './_hooks/ListNavigation'\nexport * from './_hooks/OverflowObserver'\nexport * from './_hooks/Resize'\n/**\n * @internal\n */\nexport { useResizeObserver as UNSAFE_useResizeObserver } from './_hooks/ResizeObserver'\nexport * from './_hooks/Scroll'\nexport * from './_hooks/TextEntry'\nexport * from './_hooks/Timer'\nexport * from './_hooks/Trigger'\n/**\n * @internal\n */\nexport {\n type UNSAFE_GetEndpoint,\n type UNSAFE_GetPayloadKey,\n type UNSAFE_UploadFile,\n} from './_hooks/useFileUploader'\nexport * from './_hooks/Visibility'\nexport * from './_hooks/ZIndex'\n// Style Stuff\nexport {\n borderRadius,\n getBorderRadius as UNSAFE_getBorderRadius,\n} from './_styles/borderRadius'\nexport * from './_styles/colors'\n/**\n * @internal\n */\nexport {\n getEllipsis as UNSAFE_getEllipsis,\n getFocus as UNSAFE_getFocus,\n getLineClamp as UNSAFE_getLineClamp,\n} from './_styles/mixins'\nexport * from './_styles/spacing'\n/**\n * @internal\n */\nexport { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents'\nexport { getMonthLabel } from './_utils/CalendarHelpers'\n/**\n * @internal\n */\nexport { intlDateTimeFormat } from './_utils/dateTime'\n/**\n * @internal\n */\nexport { parseFilename as UNSAFE_parseFilename } from './_utils/filename'\n/**\n * @internal\n */\nexport { mergeRefs as UNSAFE_mergeRefs } from './_utils/mergeRefs'\n// export { getTypographyIntent, typographyWeights } from './Typography'\n// For documentation only\nexport { docsProps as UNSAFE_props } from './_utils/props'\nexport type { DivAttributes, Placement, SpanAttributes } from './_utils/types'\n\nexport const tinyMCE = {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n config: tinyMCEConfig,\n}\n"],"mappings":"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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/core-react",
3
- "version": "12.25.1",
3
+ "version": "12.25.2",
4
4
  "description": "React library of Procore Design Guidelines",
5
5
  "author": "Procore Technologies",
6
6
  "homepage": "https://github.com/procore/core/tree/main/packages/core-react",