@procore/core-react 12.25.1 → 12.26.0

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 (721) hide show
  1. package/.jest/ckeditorMock.js +67 -0
  2. package/.jest/esToolkitMock.js +23 -0
  3. package/.jest/example.test.js +5 -0
  4. package/.jest/fileMock.js +1 -0
  5. package/.jest/public/avatar.png +0 -0
  6. package/.jest/setupTests.js +31 -0
  7. package/.jest/snapshotResolver.js +47 -0
  8. package/.jest/styleMock.js +1 -0
  9. package/.jest/styledV6PropsMock.js +23 -0
  10. package/.jest/svgTransform.js +10 -0
  11. package/.jest/testShims.js +22 -0
  12. package/.jest/translationMock.js +3 -0
  13. package/.jest/videoMock.js +1 -0
  14. package/CHANGELOG.md +23 -0
  15. package/README.md +49 -3
  16. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  17. package/dist/Avatar/Avatar.d.ts +9 -10
  18. package/dist/Avatar/Avatar.js.map +1 -1
  19. package/dist/Avatar/Avatar.styles.js +5 -5
  20. package/dist/AvatarStack/AvatarStack.styles.d.ts +2 -2
  21. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  22. package/dist/AvatarStack/mocks/getAvatarMocks.d.ts +25 -0
  23. package/dist/AvatarStack/mocks/getAvatarMocks.js +305 -0
  24. package/dist/AvatarStack/mocks/getAvatarMocks.js.map +1 -0
  25. package/dist/AvatarStack/mocks/images.d.ts +2 -0
  26. package/dist/AvatarStack/mocks/images.js +13 -0
  27. package/dist/AvatarStack/mocks/images.js.map +1 -0
  28. package/dist/AvatarStack/mocks/img/1.png +0 -0
  29. package/dist/AvatarStack/mocks/img/2.png +0 -0
  30. package/dist/AvatarStack/mocks/img/3.png +0 -0
  31. package/dist/AvatarStack/mocks/img/4.png +0 -0
  32. package/dist/AvatarStack/mocks/img/5.png +0 -0
  33. package/dist/AvatarStack/mocks/logo/1.png +0 -0
  34. package/dist/AvatarStack/mocks/logo/2.png +0 -0
  35. package/dist/AvatarStack/mocks/logo/3.png +0 -0
  36. package/dist/AvatarStack/mocks/logo/4.png +0 -0
  37. package/dist/AvatarStack/mocks/logo/5.png +0 -0
  38. package/dist/Badge/Badge.styles.js +2 -2
  39. package/dist/BadgePill/BadgePill.styles.js +4 -4
  40. package/dist/Banner/Banner.d.ts +15 -15
  41. package/dist/Banner/Banner.js.map +1 -1
  42. package/dist/Banner/Banner.styles.d.ts +4 -4
  43. package/dist/Banner/Banner.styles.js +10 -10
  44. package/dist/Box/Box.d.ts +1 -2
  45. package/dist/Box/Box.js.map +1 -1
  46. package/dist/Box/Box.styles.js +1 -1
  47. package/dist/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  48. package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -1
  49. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  50. package/dist/Button/Button.styles.js +5 -5
  51. package/dist/Button/Button.types.d.ts +2 -3
  52. package/dist/Button/Button.types.js.map +1 -1
  53. package/dist/Calendar/Calendar.styles.js +8 -8
  54. package/dist/Card/Card.d.ts +1 -2
  55. package/dist/Card/Card.js.map +1 -1
  56. package/dist/Card/Card.styles.js +1 -1
  57. package/dist/Checkbox/Checkbox.styles.js +6 -6
  58. package/dist/Checkbox/Checkbox.types.d.ts +1 -2
  59. package/dist/Checkbox/Checkbox.types.js.map +1 -1
  60. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  61. package/dist/ContactItem/ContactItem.d.ts +2 -3
  62. package/dist/ContactItem/ContactItem.js.map +1 -1
  63. package/dist/ContactItem/ContactItem.styles.d.ts +5 -5
  64. package/dist/ContactItem/ContactItem.styles.js +5 -5
  65. package/dist/Content/Content.styles.d.ts +4 -4
  66. package/dist/Content/Content.styles.js +2 -2
  67. package/dist/DateInput/DateInput.js.map +1 -1
  68. package/dist/DateInput/DateInput.styles.js +6 -6
  69. package/dist/DateInput/DateInput.types.d.ts +2 -2
  70. package/dist/DateInput/DateInput.types.js.map +1 -1
  71. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.d.ts +19 -0
  72. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js +159 -0
  73. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js.map +1 -0
  74. package/dist/{TextEditor/TextEditor.styles.js → DeprecatedTextEditor/DeprecatedTextEditor.styles.js} +1 -1
  75. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.js.map +1 -0
  76. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.d.ts +72 -0
  77. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js +2 -0
  78. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js.map +1 -0
  79. package/dist/DeprecatedTextEditor/index.d.ts +2 -0
  80. package/dist/DeprecatedTextEditor/index.js +3 -0
  81. package/dist/DeprecatedTextEditor/index.js.map +1 -0
  82. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.d.ts +12 -0
  83. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js +45 -0
  84. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js.map +1 -0
  85. package/dist/{TextEditorOutput/TextEditorOutput.styles.js → DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js} +2 -2
  86. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js.map +1 -0
  87. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.d.ts +16 -0
  88. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js +2 -0
  89. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js.map +1 -0
  90. package/dist/DeprecatedTextEditorOutput/index.d.ts +2 -0
  91. package/dist/DeprecatedTextEditorOutput/index.js +2 -0
  92. package/dist/DeprecatedTextEditorOutput/index.js.map +1 -0
  93. package/dist/DetailPage/DetailPage.styles.d.ts +4 -4
  94. package/dist/DetailPage/DetailPage.styles.js +7 -7
  95. package/dist/Dropdown/Dropdown.d.ts +1 -1
  96. package/dist/Dropdown/Dropdown.styles.d.ts +2 -2
  97. package/dist/Dropdown/Dropdown.styles.js +3 -3
  98. package/dist/DropdownFlyout/DropdownFlyout.helpers.js +1 -1
  99. package/dist/DropdownFlyout/DropdownFlyout.helpers.js.map +1 -1
  100. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  101. package/dist/DropdownFlyout/DropdownFlyout.types.d.ts +4 -4
  102. package/dist/DropdownFlyout/DropdownFlyout.types.js.map +1 -1
  103. package/dist/Dropzone/Dropzone.d.ts +2 -3
  104. package/dist/Dropzone/Dropzone.js +1 -2
  105. package/dist/Dropzone/Dropzone.js.map +1 -1
  106. package/dist/Dropzone/Dropzone.styles.d.ts +6 -6
  107. package/dist/Dropzone/Dropzone.styles.js +9 -9
  108. package/dist/EmptyState/EmptyState.d.ts +6 -6
  109. package/dist/EmptyState/EmptyState.js.map +1 -1
  110. package/dist/EmptyState/EmptyState.styles.js +6 -6
  111. package/dist/EmptyState/assets/default.stories.png +0 -0
  112. package/dist/Field/Field.styles.js +3 -3
  113. package/dist/FileList/FileList.d.ts +1 -2
  114. package/dist/FileList/FileList.js.map +1 -1
  115. package/dist/FileList/FileList.styles.js +4 -4
  116. package/dist/FileList/storybook/fileListMockData.d.ts +5 -0
  117. package/dist/FileList/storybook/fileListMockData.js +34 -0
  118. package/dist/FileList/storybook/fileListMockData.js.map +1 -0
  119. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  120. package/dist/FileSelect/FileExplorer/FileExplorerModal.d.ts +1 -2
  121. package/dist/FileSelect/FileExplorer/FileExplorerModal.js.map +1 -1
  122. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.d.ts +2 -2
  123. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  124. package/dist/FileSelect/FileSelect.d.ts +3 -4
  125. package/dist/FileSelect/FileSelect.js.map +1 -1
  126. package/dist/FileSelect/FileSelect.styles.d.ts +2 -2
  127. package/dist/FileSelect/FileSelect.styles.js +2 -2
  128. package/dist/FileSelect/FileSelect.types.d.ts +1 -2
  129. package/dist/FileSelect/FileSelect.types.js.map +1 -1
  130. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  131. package/dist/FileSelect/FileTokenList/FileTokenList.d.ts +1 -2
  132. package/dist/FileSelect/FileTokenList/FileTokenList.js.map +1 -1
  133. package/dist/FileSelect/FileTokenList/FileTokenList.styles.d.ts +2 -2
  134. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  135. package/dist/FileSelect/GridSource/GridSource.d.ts +1 -2
  136. package/dist/FileSelect/GridSource/GridSource.js.map +1 -1
  137. package/dist/FileSelect/GridSource/GridSource.styles.d.ts +6 -6
  138. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  139. package/dist/FileSelect/LocalSource/LocalSource.styles.d.ts +1 -1
  140. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  141. package/dist/FileSelect/SourceItem/SourceItem.d.ts +2 -2
  142. package/dist/FileSelect/SourceItem/SourceItem.js.map +1 -1
  143. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  144. package/dist/FileSelect/ThumbnailList/ThumbnailList.js.map +1 -1
  145. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  146. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.d.ts +2 -2
  147. package/dist/FileSelect/ThumbnailList/ThumbnailList.types.js.map +1 -1
  148. package/dist/FileSelect/TreeSource/TreeSource.d.ts +1 -2
  149. package/dist/FileSelect/TreeSource/TreeSource.js.map +1 -1
  150. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  151. package/dist/FileToken/FileToken.d.ts +1 -2
  152. package/dist/FileToken/FileToken.js +17 -18
  153. package/dist/FileToken/FileToken.js.map +1 -1
  154. package/dist/FileToken/FileToken.styles.js +9 -9
  155. package/dist/FileToken/FileToken.styles.js.map +1 -1
  156. package/dist/FileToken/FileToken.types.d.ts +22 -0
  157. package/dist/FileToken/FileToken.types.js.map +1 -1
  158. package/dist/FileToken/FileTokenInner.d.ts +3 -0
  159. package/dist/FileToken/FileTokenInner.js +25 -0
  160. package/dist/FileToken/FileTokenInner.js.map +1 -0
  161. package/dist/FilterToken/FilterToken.d.ts +3 -4
  162. package/dist/FilterToken/FilterToken.js.map +1 -1
  163. package/dist/FilterToken/FilterToken.styles.js +5 -5
  164. package/dist/Flex/Flex.d.ts +1 -2
  165. package/dist/Flex/Flex.js.map +1 -1
  166. package/dist/FlexList/FlexList.d.ts +1 -2
  167. package/dist/FlexList/FlexList.js.map +1 -1
  168. package/dist/FlexList/FlexList.styles.d.ts +2 -2
  169. package/dist/FlexList/FlexList.styles.js +1 -1
  170. package/dist/Form/Form.d.ts +2 -2
  171. package/dist/Form/Form.js +1 -30
  172. package/dist/Form/Form.js.map +1 -1
  173. package/dist/Form/Form.styles.js +14 -14
  174. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  175. package/dist/Form/StyledFormikForm.styles.js +2 -2
  176. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  177. package/dist/Grid/Grid.styles.js +2 -2
  178. package/dist/Grid/Grid.types.d.ts +4 -4
  179. package/dist/Grid/Grid.types.js.map +1 -1
  180. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  181. package/dist/GroupSelect/mocks/groupSelectMockData.d.ts +18 -0
  182. package/dist/GroupSelect/mocks/groupSelectMockData.js +122 -0
  183. package/dist/GroupSelect/mocks/groupSelectMockData.js.map +1 -0
  184. package/dist/Input/Input.d.ts +1 -2
  185. package/dist/Input/Input.js.map +1 -1
  186. package/dist/Input/Input.styles.js +1 -1
  187. package/dist/Input/Input.types.d.ts +2 -2
  188. package/dist/Input/Input.types.js.map +1 -1
  189. package/dist/Link/Link.styles.js +1 -1
  190. package/dist/Link/Link.types.d.ts +2 -2
  191. package/dist/Link/Link.types.js.map +1 -1
  192. package/dist/ListPage/ListPage.styles.js +8 -8
  193. package/dist/Loader/Loader.styles.js +2 -2
  194. package/dist/Menu/Menu.d.ts +8 -9
  195. package/dist/Menu/Menu.js.map +1 -1
  196. package/dist/MenuImperative/MenuImperative.d.ts +8 -9
  197. package/dist/MenuImperative/MenuImperative.js.map +1 -1
  198. package/dist/MenuImperative/MenuImperative.styles.d.ts +2 -2
  199. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  200. package/dist/MenuImperative/MenuImperative.types.d.ts +2 -2
  201. package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
  202. package/dist/Modal/Modal.d.ts +6 -5
  203. package/dist/Modal/Modal.js +47 -11
  204. package/dist/Modal/Modal.js.map +1 -1
  205. package/dist/Modal/Modal.styles.d.ts +4 -4
  206. package/dist/Modal/Modal.styles.js +15 -14
  207. package/dist/Modal/Modal.styles.js.map +1 -1
  208. package/dist/Modal/Modal.types.d.ts +6 -4
  209. package/dist/Modal/Modal.types.js.map +1 -1
  210. package/dist/MultiSelect/MultiSelect.styles.d.ts +2 -2
  211. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  212. package/dist/NextMenu/NextMenu.styles.js +3 -3
  213. package/dist/NextTextEditor/EditorError.d.ts +2 -0
  214. package/dist/NextTextEditor/EditorError.js +9 -0
  215. package/dist/NextTextEditor/EditorError.js.map +1 -0
  216. package/dist/NextTextEditor/NextTextEditor.d.ts +3 -0
  217. package/dist/NextTextEditor/NextTextEditor.js +156 -0
  218. package/dist/NextTextEditor/NextTextEditor.js.map +1 -0
  219. package/dist/NextTextEditor/NextTextEditor.styles.d.ts +5 -0
  220. package/dist/NextTextEditor/NextTextEditor.styles.js +22 -0
  221. package/dist/NextTextEditor/NextTextEditor.styles.js.map +1 -0
  222. package/dist/NextTextEditor/NextTextEditor.types.d.ts +111 -0
  223. package/dist/NextTextEditor/NextTextEditor.types.js +2 -0
  224. package/dist/NextTextEditor/NextTextEditor.types.js.map +1 -0
  225. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.d.ts +5 -0
  226. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.js +2 -0
  227. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.js.map +1 -0
  228. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.d.ts +3 -0
  229. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.js +153 -0
  230. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.js.map +1 -0
  231. package/dist/NextTextEditor/StickyToolbar/index.d.ts +4 -0
  232. package/dist/NextTextEditor/StickyToolbar/index.js +3 -0
  233. package/dist/NextTextEditor/StickyToolbar/index.js.map +1 -0
  234. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.d.ts +2 -0
  235. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.js +49 -0
  236. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.js.map +1 -0
  237. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.d.ts +12 -0
  238. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.js +2 -0
  239. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.js.map +1 -0
  240. package/dist/NextTextEditor/index.d.ts +2 -0
  241. package/dist/NextTextEditor/index.js +3 -0
  242. package/dist/NextTextEditor/index.js.map +1 -0
  243. package/dist/NextTextEditor/license_key.d.ts +2 -0
  244. package/dist/NextTextEditor/license_key.js +3 -0
  245. package/dist/NextTextEditor/license_key.js.map +1 -0
  246. package/dist/NextTextEditor/plugins/CutPlugin/CutCommand.d.ts +5 -0
  247. package/dist/NextTextEditor/plugins/CutPlugin/CutCommand.js +99 -0
  248. package/dist/NextTextEditor/plugins/CutPlugin/CutCommand.js.map +1 -0
  249. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.d.ts +5 -0
  250. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.js +56 -0
  251. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.js.map +1 -0
  252. package/dist/NextTextEditor/plugins/CutPlugin/index.d.ts +1 -0
  253. package/dist/NextTextEditor/plugins/CutPlugin/index.js +2 -0
  254. package/dist/NextTextEditor/plugins/CutPlugin/index.js.map +1 -0
  255. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.d.ts +5 -0
  256. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js +40 -0
  257. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +1 -0
  258. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.d.ts +1 -0
  259. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.js +2 -0
  260. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +1 -0
  261. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.d.ts +15 -0
  262. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js +65 -0
  263. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js.map +1 -0
  264. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.d.ts +13 -0
  265. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js +80 -0
  266. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js.map +1 -0
  267. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts +5 -0
  268. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js +86 -0
  269. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map +1 -0
  270. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts +5 -0
  271. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js +56 -0
  272. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +1 -0
  273. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.d.ts +1 -0
  274. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.js +2 -0
  275. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.js.map +1 -0
  276. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.d.ts +5 -0
  277. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.js +149 -0
  278. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.js.map +1 -0
  279. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.d.ts +5 -0
  280. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.js +56 -0
  281. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.js.map +1 -0
  282. package/dist/NextTextEditor/plugins/PastePlugin/index.d.ts +1 -0
  283. package/dist/NextTextEditor/plugins/PastePlugin/index.js +2 -0
  284. package/dist/NextTextEditor/plugins/PastePlugin/index.js.map +1 -0
  285. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.d.ts +6 -0
  286. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js +87 -0
  287. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +1 -0
  288. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.d.ts +1 -0
  289. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.js +2 -0
  290. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.js.map +1 -0
  291. package/dist/NextTextEditor/textEditorTheming/icons.d.ts +23 -0
  292. package/dist/NextTextEditor/textEditorTheming/icons.js +24 -0
  293. package/dist/NextTextEditor/textEditorTheming/icons.js.map +1 -0
  294. package/dist/NextTextEditor/textEditorTheming/index.d.ts +1 -0
  295. package/dist/NextTextEditor/textEditorTheming/index.js +2 -0
  296. package/dist/NextTextEditor/textEditorTheming/index.js.map +1 -0
  297. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.d.ts +2 -0
  298. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.js +10 -0
  299. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.js.map +1 -0
  300. package/dist/NextTextEditor/useCKEditorCss.d.ts +3 -0
  301. package/dist/NextTextEditor/useCKEditorCss.js +36 -0
  302. package/dist/NextTextEditor/useCKEditorCss.js.map +1 -0
  303. package/dist/NextTextEditor/useTabAsNavigation.d.ts +11 -0
  304. package/dist/NextTextEditor/useTabAsNavigation.js +29 -0
  305. package/dist/NextTextEditor/useTabAsNavigation.js.map +1 -0
  306. package/dist/NextTextEditor/utils/config.d.ts +3 -0
  307. package/dist/NextTextEditor/utils/config.js +179 -0
  308. package/dist/NextTextEditor/utils/config.js.map +1 -0
  309. package/dist/NextTextEditor/utils/index.d.ts +2 -0
  310. package/dist/NextTextEditor/utils/index.js +3 -0
  311. package/dist/NextTextEditor/utils/index.js.map +1 -0
  312. package/dist/NextTextEditor/utils/locale.d.ts +3 -0
  313. package/dist/NextTextEditor/utils/locale.js +102 -0
  314. package/dist/NextTextEditor/utils/locale.js.map +1 -0
  315. package/dist/NextTextEditor/utils/plugins.d.ts +7 -0
  316. package/dist/NextTextEditor/utils/plugins.js +184 -0
  317. package/dist/NextTextEditor/utils/plugins.js.map +1 -0
  318. package/dist/NextTextEditorOutput/NextTextEditorOutput.d.ts +9 -0
  319. package/dist/NextTextEditorOutput/NextTextEditorOutput.js +29 -0
  320. package/dist/NextTextEditorOutput/NextTextEditorOutput.js.map +1 -0
  321. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.d.ts +2 -0
  322. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.js +6 -0
  323. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.js.map +1 -0
  324. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.d.ts +9 -0
  325. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js +2 -0
  326. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js.map +1 -0
  327. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.d.ts +2 -0
  328. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.js +59 -0
  329. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.js.map +1 -0
  330. package/dist/NextTextEditorOutput/index.d.ts +2 -0
  331. package/dist/NextTextEditorOutput/index.js +2 -0
  332. package/dist/NextTextEditorOutput/index.js.map +1 -0
  333. package/dist/NextTile/NextTile.types.d.ts +3 -3
  334. package/dist/NextTile/NextTile.types.js.map +1 -1
  335. package/dist/Notation/Notation.d.ts +1 -2
  336. package/dist/Notation/Notation.js +1 -1
  337. package/dist/Notation/Notation.js.map +1 -1
  338. package/dist/NumberInput/NumberInput.styles.d.ts +2 -2
  339. package/dist/NumberInput/NumberInput.styles.js +7 -7
  340. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  341. package/dist/PageLayout/PageLayout.d.ts +2 -2
  342. package/dist/PageLayout/PageLayout.js.map +1 -1
  343. package/dist/PageLayout/PageLayout.styles.js +16 -16
  344. package/dist/PageLayout/PageLayout.types.d.ts +3 -3
  345. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  346. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  347. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +4 -4
  348. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  349. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.d.ts +5 -3
  350. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  351. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  352. package/dist/Pagination/Pagination.styles.d.ts +6 -6
  353. package/dist/Pagination/Pagination.styles.js +5 -5
  354. package/dist/Panel/Panel.d.ts +6 -7
  355. package/dist/Panel/Panel.js +22 -8
  356. package/dist/Panel/Panel.js.map +1 -1
  357. package/dist/Panel/Panel.styles.d.ts +5 -5
  358. package/dist/Panel/Panel.styles.js +16 -15
  359. package/dist/Panel/Panel.styles.js.map +1 -1
  360. package/dist/Panel/Panel.types.d.ts +14 -5
  361. package/dist/Panel/Panel.types.js.map +1 -1
  362. package/dist/Pill/Pill.js +15 -7
  363. package/dist/Pill/Pill.js.map +1 -1
  364. package/dist/Pill/Pill.styles.d.ts +3 -0
  365. package/dist/Pill/Pill.styles.js +7 -3
  366. package/dist/Pill/Pill.styles.js.map +1 -1
  367. package/dist/Pill/Pill.types.d.ts +1 -1
  368. package/dist/Pill/Pill.types.js.map +1 -1
  369. package/dist/PillSelect/PillSelect.js.map +1 -1
  370. package/dist/PillSelect/PillSelect.styles.js +4 -4
  371. package/dist/Popover/Popover.d.ts +1 -2
  372. package/dist/Popover/Popover.js.map +1 -1
  373. package/dist/Popover/Popover.styles.js +4 -4
  374. package/dist/Popover/Popover.styles.js.map +1 -1
  375. package/dist/Portal/Portal.styles.js +1 -1
  376. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  377. package/dist/ProgressBar/ProgressBar.types.d.ts +2 -2
  378. package/dist/ProgressBar/ProgressBar.types.js.map +1 -1
  379. package/dist/RadioButton/RadioButton.styles.js +3 -3
  380. package/dist/Required/Required.styles.js +3 -3
  381. package/dist/Search/Search.styles.js +5 -5
  382. package/dist/Section/Section.js +6 -5
  383. package/dist/Section/Section.js.map +1 -1
  384. package/dist/Section/Section.styles.d.ts +5 -5
  385. package/dist/Section/Section.styles.js +9 -8
  386. package/dist/Section/Section.styles.js.map +1 -1
  387. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  388. package/dist/SegmentedController/SegmentedController.types.d.ts +2 -2
  389. package/dist/SegmentedController/SegmentedController.types.js.map +1 -1
  390. package/dist/Select/Select.styles.d.ts +2 -2
  391. package/dist/Select/Select.styles.js +7 -7
  392. package/dist/Semantic/Semantic.styles.d.ts +1 -1
  393. package/dist/Semantic/Semantic.styles.js +9 -9
  394. package/dist/Semantic/Semantic.types.d.ts +1 -2
  395. package/dist/Semantic/Semantic.types.js.map +1 -1
  396. package/dist/Slider/Slider.styles.d.ts +2 -2
  397. package/dist/Slider/Slider.styles.js +5 -5
  398. package/dist/Slider/Slider.types.d.ts +2 -2
  399. package/dist/Slider/Slider.types.js.map +1 -1
  400. package/dist/Spinner/Spinner.js +5 -7
  401. package/dist/Spinner/Spinner.js.map +1 -1
  402. package/dist/Spinner/Spinner.styles.js +7 -7
  403. package/dist/SplitViewCard/SplitViewCard.d.ts +0 -1
  404. package/dist/SplitViewCard/SplitViewCard.js +29 -26
  405. package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
  406. package/dist/SplitViewCard/SplitViewCard.styles.js +10 -9
  407. package/dist/SplitViewCard/SplitViewCard.styles.js.map +1 -1
  408. package/dist/SplitViewCard/SplitViewCard.types.d.ts +11 -0
  409. package/dist/SplitViewCard/SplitViewCard.types.js.map +1 -1
  410. package/dist/SplitViewCard/SplitViewCardInternal.context.d.ts +2 -2
  411. package/dist/SplitViewCard/SplitViewCardInternal.context.js +4 -1
  412. package/dist/SplitViewCard/SplitViewCardInternal.context.js.map +1 -1
  413. package/dist/SuperSelect/SuperSelect.components.d.ts +1 -2
  414. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  415. package/dist/SuperSelect/SuperSelect.presets.styles.d.ts +2 -2
  416. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  417. package/dist/SuperSelect/SuperSelect.styles.d.ts +6 -6
  418. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  419. package/dist/SuperSelect/SuperSelect.types.d.ts +1 -2
  420. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  421. package/dist/Switch/Switch.d.ts +1 -2
  422. package/dist/Switch/Switch.js.map +1 -1
  423. package/dist/Switch/Switch.styles.js +4 -4
  424. package/dist/Switch/Switch.types.d.ts +2 -2
  425. package/dist/Switch/Switch.types.js.map +1 -1
  426. package/dist/Table/Table.d.ts +34 -35
  427. package/dist/Table/Table.js.map +1 -1
  428. package/dist/Table/Table.styles.d.ts +6 -6
  429. package/dist/Table/Table.styles.js +28 -28
  430. package/dist/Table/Table.types.d.ts +1 -2
  431. package/dist/Table/Table.types.js.map +1 -1
  432. package/dist/TableShelf/TableShelf.d.ts +12 -13
  433. package/dist/TableShelf/TableShelf.js.map +1 -1
  434. package/dist/TableShelf/TableShelf.styles.js +5 -5
  435. package/dist/Tabs/Tabs.d.ts +4 -5
  436. package/dist/Tabs/Tabs.js.map +1 -1
  437. package/dist/Tabs/Tabs.styles.d.ts +2 -2
  438. package/dist/Tabs/Tabs.styles.js +15 -15
  439. package/dist/Tearsheet/Tearsheet.js +9 -6
  440. package/dist/Tearsheet/Tearsheet.js.map +1 -1
  441. package/dist/Tearsheet/Tearsheet.styles.d.ts +2 -2
  442. package/dist/Tearsheet/Tearsheet.styles.js +7 -6
  443. package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
  444. package/dist/Tearsheet/storybook/PageLayoutDemo.d.ts +4 -0
  445. package/dist/Tearsheet/storybook/PageLayoutDemo.js +164 -0
  446. package/dist/Tearsheet/storybook/PageLayoutDemo.js.map +1 -0
  447. package/dist/TextArea/TextArea.d.ts +1 -2
  448. package/dist/TextArea/TextArea.js.map +1 -1
  449. package/dist/TextArea/TextArea.styles.js +1 -1
  450. package/dist/TextArea/TextArea.types.d.ts +2 -2
  451. package/dist/TextArea/TextArea.types.js.map +1 -1
  452. package/dist/TextEditor/TextEditor.d.ts +2 -19
  453. package/dist/TextEditor/TextEditor.js +11 -169
  454. package/dist/TextEditor/TextEditor.js.map +1 -1
  455. package/dist/TextEditor/TextEditor.types.d.ts +19 -86
  456. package/dist/TextEditor/TextEditor.types.js.map +1 -1
  457. package/dist/TextEditor/TextEditorDocs.types.d.ts +65 -0
  458. package/dist/TextEditor/TextEditorDocs.types.js +2 -0
  459. package/dist/TextEditor/TextEditorDocs.types.js.map +1 -0
  460. package/dist/TextEditor/TextEditorProvider.d.ts +4 -0
  461. package/dist/TextEditor/TextEditorProvider.js +17 -0
  462. package/dist/TextEditor/TextEditorProvider.js.map +1 -0
  463. package/dist/TextEditor/TextEditorProvider.types.d.ts +14 -0
  464. package/dist/TextEditor/TextEditorProvider.types.js +2 -0
  465. package/dist/TextEditor/TextEditorProvider.types.js.map +1 -0
  466. package/dist/TextEditor/index.d.ts +4 -2
  467. package/dist/TextEditor/index.js +2 -1
  468. package/dist/TextEditor/index.js.map +1 -1
  469. package/dist/TextEditorOutput/TextEditorOutput.d.ts +6 -9
  470. package/dist/TextEditorOutput/TextEditorOutput.js +17 -34
  471. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  472. package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +16 -13
  473. package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
  474. package/dist/TextEditorOutput/TextEditorOutputDocs.types.d.ts +21 -0
  475. package/dist/TextEditorOutput/TextEditorOutputDocs.types.js +2 -0
  476. package/dist/TextEditorOutput/TextEditorOutputDocs.types.js.map +1 -0
  477. package/dist/TextInput/TextInput.d.ts +1 -1
  478. package/dist/Thumbnail/Thumbnail.hooks.d.ts +6 -7
  479. package/dist/Thumbnail/Thumbnail.hooks.js.map +1 -1
  480. package/dist/Thumbnail/Thumbnail.styles.d.ts +2 -2
  481. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  482. package/dist/Thumbnail/mocks/images/thumb_104x104_1.png +0 -0
  483. package/dist/Thumbnail/mocks/images/thumb_104x104_2.png +0 -0
  484. package/dist/Thumbnail/mocks/images/thumb_104x104_3.png +0 -0
  485. package/dist/Thumbnail/mocks/images/thumb_104x104_4.png +0 -0
  486. package/dist/Thumbnail/mocks/images/thumb_40x40_1.png +0 -0
  487. package/dist/Thumbnail/mocks/images/thumb_40x40_2.png +0 -0
  488. package/dist/Thumbnail/mocks/images/thumb_40x40_3.png +0 -0
  489. package/dist/Thumbnail/mocks/images/thumb_40x40_4.png +0 -0
  490. package/dist/ThumbnailGrid/ThumbnailGrid.d.ts +1 -2
  491. package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
  492. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +2 -2
  493. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  494. package/dist/TieredSelect/TierSelectionTieredSelect.js +3 -1
  495. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  496. package/dist/TieredSelect/TieredSelect.styles.d.ts +15 -15
  497. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  498. package/dist/TieredSelect/TieredSelect.types.d.ts +4 -0
  499. package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
  500. package/dist/Tile/Tile.styles.d.ts +1 -1
  501. package/dist/Tile/Tile.styles.js +8 -8
  502. package/dist/Tile/Tile.types.d.ts +4 -4
  503. package/dist/Tile/Tile.types.js.map +1 -1
  504. package/dist/Tile/mocks/dog.jpeg +0 -0
  505. package/dist/Tile/mocks/iframe.d.ts +5 -0
  506. package/dist/Tile/mocks/iframe.js +15 -0
  507. package/dist/Tile/mocks/iframe.js.map +1 -0
  508. package/dist/Tile/mocks/svg.d.ts +3 -0
  509. package/dist/Tile/mocks/svg.js +830 -0
  510. package/dist/Tile/mocks/svg.js.map +1 -0
  511. package/dist/Tile/mocks/video.mp4 +0 -0
  512. package/dist/Title/Title.d.ts +5 -6
  513. package/dist/Title/Title.js.map +1 -1
  514. package/dist/Title/Title.styles.d.ts +3 -3
  515. package/dist/Title/Title.styles.js +7 -7
  516. package/dist/Title/Title.types.d.ts +2 -2
  517. package/dist/Title/Title.types.js.map +1 -1
  518. package/dist/Title/mocks/thumb_40x40_1.png +0 -0
  519. package/dist/Title/mocks/visual_placeholder_40x40.svg +9 -0
  520. package/dist/Toast/Toast.d.ts +4 -5
  521. package/dist/Toast/Toast.js.map +1 -1
  522. package/dist/Toast/Toast.styles.js +3 -3
  523. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  524. package/dist/ToggleButton/ToggleButton.types.d.ts +1 -2
  525. package/dist/ToggleButton/ToggleButton.types.js.map +1 -1
  526. package/dist/Token/Token.d.ts +5 -4
  527. package/dist/Token/Token.js +37 -10
  528. package/dist/Token/Token.js.map +1 -1
  529. package/dist/Token/Token.styles.d.ts +3 -7
  530. package/dist/Token/Token.styles.js +7 -7
  531. package/dist/Token/Token.styles.js.map +1 -1
  532. package/dist/Token/Token.types.d.ts +4 -0
  533. package/dist/Token/Token.types.js.map +1 -1
  534. package/dist/ToolHeader/ToolHeader.d.ts +6 -7
  535. package/dist/ToolHeader/ToolHeader.js.map +1 -1
  536. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  537. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  538. package/dist/Tooltip/Tooltip.styles.js +2 -2
  539. package/dist/Tree/Tree.styles.d.ts +6 -6
  540. package/dist/Tree/Tree.styles.js +9 -9
  541. package/dist/Tree/Tree.types.d.ts +2 -3
  542. package/dist/Tree/Tree.types.js.map +1 -1
  543. package/dist/Tree/mocks/treeMockData.d.ts +8 -0
  544. package/dist/Tree/mocks/treeMockData.js +44 -0
  545. package/dist/Tree/mocks/treeMockData.js.map +1 -0
  546. package/dist/Typeahead/Typeahead.styles.js +3 -3
  547. package/dist/Typography/Typography.d.ts +1 -2
  548. package/dist/Typography/Typography.js.map +1 -1
  549. package/dist/Typography/Typography.styles.js +1 -1
  550. package/dist/Typography/Typography.table.story.js +2 -2
  551. package/dist/_hooks/ClickOutside.js +8 -4
  552. package/dist/_hooks/ClickOutside.js.map +1 -1
  553. package/dist/_locales/de-DE.json +1 -1
  554. package/dist/_locales/en-AU.json +1 -1
  555. package/dist/_locales/en-CA.json +1 -1
  556. package/dist/_locales/en-GB.json +1 -1
  557. package/dist/_locales/en.json +1 -1
  558. package/dist/_locales/es-ES.json +1 -1
  559. package/dist/_locales/es.json +1 -1
  560. package/dist/_locales/fr-CA.json +1 -1
  561. package/dist/_locales/fr-FR.json +1 -1
  562. package/dist/_locales/is-IS.json +1 -1
  563. package/dist/_locales/it-IT.json +1 -1
  564. package/dist/_locales/ja-JP.json +1 -1
  565. package/dist/_locales/pl-PL.json +1 -1
  566. package/dist/_locales/pseudo.json +1 -1
  567. package/dist/_locales/pt-BR.json +1 -1
  568. package/dist/_locales/th-TH.json +1 -1
  569. package/dist/_locales/zh-SG.json +1 -1
  570. package/dist/_locales/zh-TW.json +1 -1
  571. package/dist/_storyHelpers_/components/Deprecation.d.ts +3 -0
  572. package/dist/_storyHelpers_/components/Deprecation.js +10 -0
  573. package/dist/_storyHelpers_/components/Deprecation.js.map +1 -0
  574. package/dist/_storyHelpers_/components/Deprecation.styles.d.ts +4 -0
  575. package/dist/_storyHelpers_/components/Deprecation.styles.js +7 -0
  576. package/dist/_storyHelpers_/components/Deprecation.styles.js.map +1 -0
  577. package/dist/_storyHelpers_/components/Deprecation.types.d.ts +9 -0
  578. package/dist/_storyHelpers_/components/Deprecation.types.js +2 -0
  579. package/dist/_storyHelpers_/components/Deprecation.types.js.map +1 -0
  580. package/dist/_storyHelpers_/components/FullLayout.d.ts +6 -0
  581. package/dist/_storyHelpers_/components/FullLayout.js +15 -0
  582. package/dist/_storyHelpers_/components/FullLayout.js.map +1 -0
  583. package/dist/_storyHelpers_/components/StoryGrid.d.ts +7 -0
  584. package/dist/_storyHelpers_/components/StoryGrid.js +40 -0
  585. package/dist/_storyHelpers_/components/StoryGrid.js.map +1 -0
  586. package/dist/_storyHelpers_/components/WithNavigationLayout.d.ts +2 -0
  587. package/dist/_storyHelpers_/components/WithNavigationLayout.js +47 -0
  588. package/dist/_storyHelpers_/components/WithNavigationLayout.js.map +1 -0
  589. package/dist/_storyHelpers_/constants.d.ts +35 -0
  590. package/dist/_storyHelpers_/constants.js +168 -0
  591. package/dist/_storyHelpers_/constants.js.map +1 -0
  592. package/dist/_storyHelpers_/decorators/fullLayoutDecorator.d.ts +3 -0
  593. package/dist/_storyHelpers_/decorators/fullLayoutDecorator.js +8 -0
  594. package/dist/_storyHelpers_/decorators/fullLayoutDecorator.js.map +1 -0
  595. package/dist/_storyHelpers_/effects/useWaitForElement.d.ts +1 -0
  596. package/dist/_storyHelpers_/effects/useWaitForElement.js +24 -0
  597. package/dist/_storyHelpers_/effects/useWaitForElement.js.map +1 -0
  598. package/dist/_storyHelpers_/mocks/dropzoneMockData.d.ts +13 -0
  599. package/dist/_storyHelpers_/mocks/dropzoneMockData.js +39 -0
  600. package/dist/_storyHelpers_/mocks/dropzoneMockData.js.map +1 -0
  601. package/dist/_storyHelpers_/mocks/pillSelectMockData.d.ts +6 -0
  602. package/dist/_storyHelpers_/mocks/pillSelectMockData.js +22 -0
  603. package/dist/_storyHelpers_/mocks/pillSelectMockData.js.map +1 -0
  604. package/dist/_storyHelpers_/mocks/selectMockData.d.ts +11 -0
  605. package/dist/_storyHelpers_/mocks/selectMockData.js +36 -0
  606. package/dist/_storyHelpers_/mocks/selectMockData.js.map +1 -0
  607. package/dist/_storyHelpers_/mocks/tableMockData.d.ts +4 -0
  608. package/dist/_storyHelpers_/mocks/tableMockData.js +38 -0
  609. package/dist/_storyHelpers_/mocks/tableMockData.js.map +1 -0
  610. package/dist/_storyHelpers_/mocks/tieredSelect.d.ts +77 -0
  611. package/dist/_storyHelpers_/mocks/tieredSelect.js +277 -0
  612. package/dist/_storyHelpers_/mocks/tieredSelect.js.map +1 -0
  613. package/dist/_styles/mixins.d.ts +4 -0
  614. package/dist/_styles/mixins.js +7 -0
  615. package/dist/_styles/mixins.js.map +1 -1
  616. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  617. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  618. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  619. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  620. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  621. package/dist/_typedoc/Box/Box.types.json +68 -68
  622. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  623. package/dist/_typedoc/Button/Button.types.json +13 -13
  624. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  625. package/dist/_typedoc/Card/Card.types.json +6 -6
  626. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -18
  627. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  628. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  629. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  630. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  631. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  632. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  633. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  634. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  635. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  636. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  637. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  638. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  639. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  640. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  641. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  642. package/dist/_typedoc/Form/Form.types.json +929 -793
  643. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  644. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  645. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  646. package/dist/_typedoc/Input/Input.types.json +2 -2
  647. package/dist/_typedoc/Link/Link.types.json +1 -31
  648. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  649. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  650. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  651. package/dist/_typedoc/Modal/Modal.types.json +54 -54
  652. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  653. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  654. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  655. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  656. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  657. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -56
  658. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  659. package/dist/_typedoc/Panel/Panel.types.json +51 -29
  660. package/dist/_typedoc/Pill/Pill.types.json +4 -4
  661. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  662. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  663. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  664. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  665. package/dist/_typedoc/Required/Required.types.json +5 -5
  666. package/dist/_typedoc/Search/Search.types.json +18 -18
  667. package/dist/_typedoc/Section/Section.types.json +15 -15
  668. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  669. package/dist/_typedoc/Select/Select.types.json +60 -60
  670. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  671. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  672. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  673. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +34 -12
  674. package/dist/_typedoc/Switch/Switch.types.json +1 -32
  675. package/dist/_typedoc/Table/Table.types.json +101 -101
  676. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  677. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  678. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  679. package/dist/_typedoc/TextEditor/TextEditor.types.json +1 -100
  680. package/dist/_typedoc/TextEditor/TextEditorDocs.types.json +98 -0
  681. package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +28 -0
  682. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +6 -42
  683. package/dist/_typedoc/TextEditorOutput/TextEditorOutputDocs.types.json +38 -0
  684. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  685. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  686. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  687. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  688. package/dist/_typedoc/Title/Title.types.json +1 -1
  689. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  690. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  691. package/dist/_typedoc/Token/Token.types.json +30 -4
  692. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  693. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  694. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  695. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  696. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  697. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  698. package/dist/_typedoc/_utils/types.json +3 -3
  699. package/dist/_typedoc/deprecations.json +1 -1
  700. package/dist/_utils/propsTypedoc.d.ts +3 -0
  701. package/dist/_utils/propsTypedoc.js +3 -0
  702. package/dist/_utils/propsTypedoc.js.map +1 -1
  703. package/dist/_utils/slotify.d.ts +1 -2
  704. package/dist/_utils/slotify.js.map +1 -1
  705. package/dist/_utils/types.d.ts +11 -48
  706. package/dist/_utils/types.js.map +1 -1
  707. package/dist/index.d.ts +1 -1
  708. package/dist/index.js.map +1 -1
  709. package/jestConfig.js +52 -0
  710. package/package.json +26 -11
  711. package/.eslintignore +0 -4
  712. package/.eslintrc.cjs +0 -54
  713. package/__mocks__/@react-aria/utils.js +0 -10
  714. package/babel.config.js +0 -40
  715. package/dist/TextEditor/TextEditor.styles.js.map +0 -1
  716. package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +0 -1
  717. package/tsconfig.json +0 -24
  718. package/tsconfig.prod.json +0 -11
  719. package/tsconfig.test.json +0 -4
  720. /package/dist/{TextEditor/TextEditor.styles.d.ts → DeprecatedTextEditor/DeprecatedTextEditor.styles.d.ts} +0 -0
  721. /package/dist/{TextEditorOutput/TextEditorOutput.styles.d.ts → DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.d.ts} +0 -0
@@ -11,52 +11,52 @@ var outerPageSpacing = spacing.lg;
11
11
  var outerPageSpacingSmaller = spacing.md;
12
12
  export var StyledPageHeader = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledPageHeader",
14
- componentId: "core-12_25_1__sc-1cvdbsv-0"
14
+ componentId: "core-12_26_0__sc-1cvdbsv-0"
15
15
  })(["padding-top:", "px;padding-right:", "px;padding-left:", "px;@media ", "{padding-right:", "px;padding-left:", "px;}", ""], headerVerticalSpacing, outerPageSpacing, outerPageSpacing, mediaBreakpointsDown.tabletMd, outerPageSpacingSmaller, outerPageSpacingSmaller, function (_ref) {
16
16
  var $transparent = _ref.$transparent;
17
17
  return !$transparent && css(["", " background-color:", ";"], getShadow(1.5), colors.white);
18
18
  });
19
19
  var StyledPageHeaderItem = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledPageHeaderItem",
21
- componentId: "core-12_25_1__sc-1cvdbsv-1"
21
+ componentId: "core-12_26_0__sc-1cvdbsv-1"
22
22
  })(["margin-top:", "px;&:first-child{margin-top:0;}"], headerVerticalSpacing);
23
23
  export var StyledPageTitle = /*#__PURE__*/styled(StyledPageHeaderItem).withConfig({
24
24
  displayName: "StyledPageTitle",
25
- componentId: "core-12_25_1__sc-1cvdbsv-2"
25
+ componentId: "core-12_26_0__sc-1cvdbsv-2"
26
26
  })(["&:last-child{padding-bottom:", "px;}"], headerVerticalSpacing);
27
27
  export var StyledPageBreadcrumbs = /*#__PURE__*/styled(StyledPageHeaderItem).attrs({
28
28
  as: 'nav'
29
29
  }).withConfig({
30
30
  displayName: "StyledPageBreadcrumbs",
31
- componentId: "core-12_25_1__sc-1cvdbsv-3"
31
+ componentId: "core-12_26_0__sc-1cvdbsv-3"
32
32
  })([""]);
33
33
  export var StyledPageBanner = /*#__PURE__*/styled(StyledPageHeaderItem).withConfig({
34
34
  displayName: "StyledPageBanner",
35
- componentId: "core-12_25_1__sc-1cvdbsv-4"
35
+ componentId: "core-12_26_0__sc-1cvdbsv-4"
36
36
  })([""]);
37
37
  export var getActions = function getActions() {
38
38
  return css(["flex-shrink:0;padding-left:", "px;> button,> a{&:first-child{margin-left:0;}margin-left:", "px;}"], spacing.xl, spacing.sm);
39
39
  };
40
40
  export var StyledPageActions = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledPageActions",
42
- componentId: "core-12_25_1__sc-1cvdbsv-5"
42
+ componentId: "core-12_26_0__sc-1cvdbsv-5"
43
43
  })(["", ""], getActions());
44
44
  export var StyledPageTabs = /*#__PURE__*/styled(StyledPageHeaderItem).withConfig({
45
45
  displayName: "StyledPageTabs",
46
- componentId: "core-12_25_1__sc-1cvdbsv-6"
46
+ componentId: "core-12_26_0__sc-1cvdbsv-6"
47
47
  })([""]);
48
48
  export var StyledBody = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledBody",
50
- componentId: "core-12_25_1__sc-1cvdbsv-7"
50
+ componentId: "core-12_26_0__sc-1cvdbsv-7"
51
51
  })(["padding-top:", "px;padding-left:", "px;padding-right:", "px;@media ", "{padding-top:", "px;padding-left:", "px;padding-right:", "px;}"], outerPageSpacing, outerPageSpacing, outerPageSpacing, mediaBreakpointsDown.tabletMd, outerPageSpacingSmaller, outerPageSpacingSmaller, outerPageSpacingSmaller);
52
52
  var navigationWidth = 200;
53
53
  export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
54
54
  displayName: "StyledNavigation",
55
- componentId: "core-12_25_1__sc-1cvdbsv-8"
55
+ componentId: "core-12_26_0__sc-1cvdbsv-8"
56
56
  })(["float:left;max-height:100vh;min-width:", "px;overflow-y:auto;position:sticky;top:0;width:", "px;", "{padding:20px ", "px 0 0;}@media screen and (max-width:1024px){display:none;}"], navigationWidth, navigationWidth, StyledAnchorNavigation, spacing.sm);
57
57
  export var StyledContent = /*#__PURE__*/styled.div.withConfig({
58
58
  displayName: "StyledContent",
59
- componentId: "core-12_25_1__sc-1cvdbsv-9"
59
+ componentId: "core-12_26_0__sc-1cvdbsv-9"
60
60
  })([""]);
61
61
  var panelWidth = 400;
62
62
  var zIndexes = {
@@ -69,7 +69,7 @@ export var animationDuration = {
69
69
  };
70
70
  export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
71
71
  displayName: "StyledFooter",
72
- componentId: "core-12_25_1__sc-1cvdbsv-10"
72
+ componentId: "core-12_26_0__sc-1cvdbsv-10"
73
73
  })(["background-color:", ";", " position:sticky;bottom:0;z-index:", ";", ""], colors.white, function (_ref2) {
74
74
  var $hasShadow = _ref2.$hasShadow;
75
75
  return $hasShadow && getShadow(2, 'top');
@@ -79,7 +79,7 @@ export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
79
79
  });
80
80
  export var StyledAside = /*#__PURE__*/styled.div.withConfig({
81
81
  displayName: "StyledAside",
82
- componentId: "core-12_25_1__sc-1cvdbsv-11"
82
+ componentId: "core-12_26_0__sc-1cvdbsv-11"
83
83
  })(["", " @media ", "{position:absolute;right:0;}"], function (_ref4) {
84
84
  var $closed = _ref4.$closed,
85
85
  $open = _ref4.$open;
@@ -99,7 +99,7 @@ var getPanelAnimation = function getPanelAnimation() {
99
99
  };
100
100
  export var StyledAsidePanel = /*#__PURE__*/styled.div.withConfig({
101
101
  displayName: "StyledAsidePanel",
102
- componentId: "core-12_25_1__sc-1cvdbsv-12"
102
+ componentId: "core-12_26_0__sc-1cvdbsv-12"
103
103
  })(["", " @media ", "{", "}", " ", " border-left:1px solid ", ";width:", "px;position:fixed;background-color:", ";overflow:auto;z-index:", ";", " ", ""], function (_ref7) {
104
104
  var $rightOffset = _ref7.$rightOffset;
105
105
  return css(["@media ", "{", " border-left:0;z-index:", ";right:", "px;}"], mediaBreakpointsDown.tabletMd, getShadow(2), zIndexes.panelNarrowScreen, $rightOffset);
@@ -118,7 +118,7 @@ export var StyledAsidePanel = /*#__PURE__*/styled.div.withConfig({
118
118
  });
119
119
  export var StyledPageMain = /*#__PURE__*/styled.div.withConfig({
120
120
  displayName: "StyledPageMain",
121
- componentId: "core-12_25_1__sc-1cvdbsv-13"
121
+ componentId: "core-12_26_0__sc-1cvdbsv-13"
122
122
  })(["position:relative;max-width:100%;background-color:", ";", " ", ""], colors.gray96, function () {
123
123
  return isIE11() && css(["flex:1 0 0%;"]);
124
124
  }, function (_ref10) {
@@ -133,13 +133,13 @@ export var StyledPageMain = /*#__PURE__*/styled.div.withConfig({
133
133
  });
134
134
  export var StyledPageContainer = /*#__PURE__*/styled.div.withConfig({
135
135
  displayName: "StyledPageContainer",
136
- componentId: "core-12_25_1__sc-1cvdbsv-14"
136
+ componentId: "core-12_26_0__sc-1cvdbsv-14"
137
137
  })(["display:grid;grid-template-columns:1fr auto;", ""], function () {
138
138
  return isIE11() && css(["display:flex;flex-wrap:wrap;"]);
139
139
  });
140
140
  export var StyledAsideFluidContainer = /*#__PURE__*/styled.div.withConfig({
141
141
  displayName: "StyledAsideFluidContainer",
142
- componentId: "core-12_25_1__sc-1cvdbsv-15"
142
+ componentId: "core-12_26_0__sc-1cvdbsv-15"
143
143
  })(["", ""], function (_ref11) {
144
144
  var $closed = _ref11.$closed,
145
145
  $open = _ref11.$open;
@@ -1,12 +1,12 @@
1
1
  import type React from 'react';
2
2
  import type { AnchorNavigationSection } from '../AnchorNavigation/AnchorNavigation.types';
3
- import type { DivAttributes, Props, UlAttributes } from '../_utils/types';
3
+ import type { Props } from '../_utils/types';
4
4
  interface CustomizableStyledComponent {
5
5
  as?: string | React.ComponentType<any>;
6
6
  }
7
- export interface PageComponentProps extends CustomizableStyledComponent, Props, DivAttributes {
7
+ export interface PageComponentProps extends CustomizableStyledComponent, Props, React.HTMLAttributes<HTMLDivElement> {
8
8
  }
9
- export interface PageBodyNavigationProps extends Props, Omit<UlAttributes, 'onSelect'> {
9
+ export interface PageBodyNavigationProps extends Omit<React.HtmlHTMLAttributes<HTMLUListElement>, 'onSelect'> {
10
10
  sections?: AnchorNavigationSection[];
11
11
  selected?: string;
12
12
  onSelect?: (id: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PageLayout.types.js","names":[],"sources":["../../src/PageLayout/PageLayout.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { AnchorNavigationSection } from '../AnchorNavigation/AnchorNavigation.types'\nimport type { DivAttributes, Props, UlAttributes } from '../_utils/types'\n\ninterface CustomizableStyledComponent {\n as?: string | React.ComponentType<any>\n}\n\nexport interface PageComponentProps\n extends CustomizableStyledComponent,\n Props,\n DivAttributes {}\n\nexport interface PageBodyNavigationProps\n extends Props,\n Omit<UlAttributes, 'onSelect'> {\n sections?: AnchorNavigationSection[]\n selected?: string\n onSelect?: (id: string) => void\n minSections?: number\n}\n\nexport interface PageHeaderProps extends PageComponentProps {\n /**\n * @description If the header should have no background.\n * @since 10.19.0\n */\n transparent?: boolean\n}\n\nexport interface PageAsideProps extends PageComponentProps {\n /**\n * @description If the aside block should be open\n * @since 10.19.0\n */\n open?: boolean\n}\n\nexport interface PageMainProps extends PageComponentProps {}\n\nexport interface PageFooterProps extends PageComponentProps {}\n\nexport type PageAsideAnimationStatus = 'open' | 'closed' | 'opening' | 'closing'\n"],"mappings":""}
1
+ {"version":3,"file":"PageLayout.types.js","names":[],"sources":["../../src/PageLayout/PageLayout.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { AnchorNavigationSection } from '../AnchorNavigation/AnchorNavigation.types'\nimport type { Props } from '../_utils/types'\n\ninterface CustomizableStyledComponent {\n as?: string | React.ComponentType<any>\n}\n\nexport interface PageComponentProps\n extends CustomizableStyledComponent,\n Props,\n React.HTMLAttributes<HTMLDivElement> {}\n\nexport interface PageBodyNavigationProps\n extends Omit<React.HtmlHTMLAttributes<HTMLUListElement>, 'onSelect'> {\n sections?: AnchorNavigationSection[]\n selected?: string\n onSelect?: (id: string) => void\n minSections?: number\n}\n\nexport interface PageHeaderProps extends PageComponentProps {\n /**\n * @description If the header should have no background.\n * @since 10.19.0\n */\n transparent?: boolean\n}\n\nexport interface PageAsideProps extends PageComponentProps {\n /**\n * @description If the aside block should be open\n * @since 10.19.0\n */\n open?: boolean\n}\n\nexport interface PageMainProps extends PageComponentProps {}\n\nexport interface PageFooterProps extends PageComponentProps {}\n\nexport type PageAsideAnimationStatus = 'open' | 'closed' | 'opening' | 'closing'\n"],"mappings":""}
@@ -3,6 +3,6 @@ import { colors } from '../../_styles/colors';
3
3
  import { spacing } from '../../_styles/spacing';
4
4
  export var StyledPageFooter = /*#__PURE__*/styled.footer.withConfig({
5
5
  displayName: "StyledPageFooter",
6
- componentId: "core-12_25_1__sc-1f0zfyf-0"
6
+ componentId: "core-12_26_0__sc-1f0zfyf-0"
7
7
  })(["display:flex;align-items:center;justify-content:space-between;background-color:", ";padding:", "px;width:100%;box-shadow:0 -2px 6px 0 rgba(0,0,0,0.1);position:sticky;bottom:0;"], colors.white, spacing.lg);
8
8
  //# sourceMappingURL=PageFooterTemplate.styles.js.map
@@ -6,9 +6,9 @@ export declare const StyledPageHeader: import("styled-components/dist/types").IS
6
6
  * however some cases, like Tabs, do no want that padding. */
7
7
  $hasPaddingBottom: boolean;
8
8
  }>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../PageLayout").PageHeaderProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
9
- export declare const StyledActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../..").DivAttributes & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
9
+ export declare const StyledActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../..").DivAttributes & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
12
- export declare const StyledToggleActionBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../..").DivAttributes & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
11
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
12
+ export declare const StyledToggleActionBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
13
13
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
14
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../..").DivAttributes & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
14
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("../../Box").BoxProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
@@ -5,16 +5,16 @@ import { colors } from '../../_styles/colors';
5
5
  import { spacing } from '../../_styles/spacing';
6
6
  export var StyledPageHeader = /*#__PURE__*/styled(Page.Header).withConfig({
7
7
  displayName: "StyledPageHeader",
8
- componentId: "core-12_25_1__sc-1d5kop0-0"
8
+ componentId: "core-12_26_0__sc-1d5kop0-0"
9
9
  })(["border-bottom:1px solid ", ";padding-top:", "px;", ""], colors.gray85, spacing.lg, function (p) {
10
10
  return p.$hasPaddingBottom && "padding-bottom: ".concat(spacing.lg, "px;");
11
11
  });
12
12
  export var StyledActions = /*#__PURE__*/styled(Box).withConfig({
13
13
  displayName: "StyledActions",
14
- componentId: "core-12_25_1__sc-1d5kop0-1"
14
+ componentId: "core-12_26_0__sc-1d5kop0-1"
15
15
  })(["width:fit-content;"]);
16
16
  export var StyledToggleActionBox = /*#__PURE__*/styled(Box).withConfig({
17
17
  displayName: "StyledToggleActionBox",
18
- componentId: "core-12_25_1__sc-1d5kop0-2"
18
+ componentId: "core-12_26_0__sc-1d5kop0-2"
19
19
  })(["bottom:", "px;position:relative;padding-left:48px;"], spacing.lg);
20
20
  //# sourceMappingURL=PageHeaderTemplate.styles.js.map
@@ -13,10 +13,12 @@ export declare const StyledModal: import("styled-components/dist/types").IStyled
13
13
  }>> & string;
14
14
  Footer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
15
15
  FooterButtons: import("react").ForwardRefExoticComponent<import("../../Modal/Modal.types").ModalCloseableHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
16
- FooterNotation: import("react").ForwardRefExoticComponent<import("../..").SpanAttributes & import("../..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>;
17
- FooterSummary: import("react").ForwardRefExoticComponent<import("../..").DivAttributes & import("react").RefAttributes<HTMLDivElement>>;
16
+ FooterNotation: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("../..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>;
17
+ FooterSummary: import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
18
18
  Header: import("react").ForwardRefExoticComponent<import("../../Modal/Modal.types").ModalCloseableHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
19
- Heading: typeof import("../../Section/Section").Heading;
19
+ Heading: (props: import("react").PropsWithChildren<import("../../Semantic/Semantic.types").HeadingProps & {
20
+ level?: number | undefined;
21
+ }>) => import("react").JSX.Element;
20
22
  Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
21
23
  Scrim: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
22
24
  State: (props: import("../..").RenderProps) => import("react").JSX.Element;
@@ -10,10 +10,10 @@ var panelWidthSmall = 360;
10
10
  export var mobileBreakpoint = 440;
11
11
  export var StyledPageAside = /*#__PURE__*/styled(Page.Aside).withConfig({
12
12
  displayName: "StyledPageAside",
13
- componentId: "core-12_25_1__sc-1p7nu53-0"
13
+ componentId: "core-12_26_0__sc-1p7nu53-0"
14
14
  })(["position:sticky;top:0;right:0;max-height:100vh;width:100%;height:100%;@media ", "{position:sticky;max-width:", "px;flex-basis:", "px;}", "{@media ", "{max-width:", "px;}}", "{position:sticky;top:0;right:0;box-shadow:none;animation:none;padding-bottom:68px;@media ", "{width:", "px;}@media (max-width:", "px){padding-bottom:0;}}", "{position:fixed;bottom:0;display:flex;width:100%;max-width:400px;@media ", "{max-width:", "px;}}"], mediaBreakpointsDown.tabletLg, panelWidthSmall, panelWidthSmall, StyledAsideFluidContainer, mediaBreakpointsDown.tabletLg, panelWidthSmall, StyledAsidePanel, mediaBreakpointsDown.tabletLg, panelWidthSmall, mobileBreakpoint, StyledPanelFooter, mediaBreakpointsDown.tabletLg, panelWidthSmall);
15
15
  export var StyledModal = /*#__PURE__*/styled(Modal).withConfig({
16
16
  displayName: "StyledModal",
17
- componentId: "core-12_25_1__sc-1p7nu53-1"
17
+ componentId: "core-12_26_0__sc-1p7nu53-1"
18
18
  })(["top:", "px;bottom:", "px;max-width:416px;transform:none;", "{max-height:100vh;}@media (max-width:", "px){top:0;bottom:0;left:0;right:0;max-width:100%;}"], spacing.md, spacing.md, StyledModalContent, mobileBreakpoint);
19
19
  //# sourceMappingURL=PagePaneTemplate.styles.js.map
@@ -5,14 +5,14 @@ import { spacing } from '../../_styles/spacing';
5
5
  export var mobileBreakpoint = 440;
6
6
  export var StyledPageWrapper = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledPageWrapper",
8
- componentId: "core-12_25_1__sc-uuo7st-0"
8
+ componentId: "core-12_26_0__sc-uuo7st-0"
9
9
  })(["display:flex;flex-direction:column;"]);
10
10
  export var StyledPageBodyWrapper = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledPageBodyWrapper",
12
- componentId: "core-12_25_1__sc-uuo7st-1"
12
+ componentId: "core-12_26_0__sc-uuo7st-1"
13
13
  })(["display:grid;grid-template-columns:1fr auto;"]);
14
14
  export var StyledPageBody = /*#__PURE__*/styled(Page.Body).withConfig({
15
15
  displayName: "StyledPageBody",
16
- componentId: "core-12_25_1__sc-uuo7st-2"
16
+ componentId: "core-12_26_0__sc-uuo7st-2"
17
17
  })(["padding-bottom:", "px;@media ", "{padding:", "px;}"], spacing.lg, mediaBreakpointsDown.desktopMd, spacing.md);
18
18
  //# sourceMappingURL=PageTemplate.styles.js.map
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const StyledPageCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").SpanAttributes & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
3
+ export declare const StyledPageCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
4
4
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
5
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").SpanAttributes & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
6
- export declare const StyledCurrentPage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").SpanAttributes & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
5
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
6
+ export declare const StyledCurrentPage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
7
7
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
8
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").SpanAttributes & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
8
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLSpanElement> & import("..").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
9
9
  export declare const StyledButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
11
11
  }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, keyof import("react").Component<any, {}, any>>;
12
- export declare const StyledOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").DivAttributes & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
12
+ export declare const StyledOverlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
13
13
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
14
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
14
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("..").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
@@ -5,22 +5,22 @@ import { Typography } from '../Typography/Typography';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledContainer",
8
- componentId: "core-12_25_1__sc-fy34i1-0"
8
+ componentId: "core-12_26_0__sc-fy34i1-0"
9
9
  })(["display:flex;align-items:center;"]);
10
10
  export var StyledPageCount = /*#__PURE__*/styled(Typography).withConfig({
11
11
  displayName: "StyledPageCount",
12
- componentId: "core-12_25_1__sc-fy34i1-1"
12
+ componentId: "core-12_26_0__sc-fy34i1-1"
13
13
  })(["margin-right:", "px;"], spacing.xl);
14
14
  export var StyledCurrentPage = /*#__PURE__*/styled(Typography).withConfig({
15
15
  displayName: "StyledCurrentPage",
16
- componentId: "core-12_25_1__sc-fy34i1-2"
16
+ componentId: "core-12_26_0__sc-fy34i1-2"
17
17
  })(["margin-right:", "px;"], spacing.sm);
18
18
  export var StyledButton = /*#__PURE__*/styled(Button).withConfig({
19
19
  displayName: "StyledButton",
20
- componentId: "core-12_25_1__sc-fy34i1-3"
20
+ componentId: "core-12_26_0__sc-fy34i1-3"
21
21
  })(["margin-left:", "px;"], spacing.sm);
22
22
  export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
23
23
  displayName: "StyledOverlay",
24
- componentId: "core-12_25_1__sc-fy34i1-4"
24
+ componentId: "core-12_26_0__sc-fy34i1-4"
25
25
  })(["max-height:300px;max-width:248px;"]);
26
26
  //# sourceMappingURL=Pagination.styles.js.map
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { TypographyProps } from '../Typography';
3
- import type { DivAttributes } from '../_utils/types';
4
3
  import type { PanelBodyProps, PanelHeaderActionProps, PanelHeaderProps, PanelProps, PanelQaTags, PanelTitleTooltipProps } from './Panel.types';
5
- export declare const MoreIcon: React.FC<DivAttributes & {
4
+ export declare const MoreIcon: React.FC<React.HTMLAttributes<HTMLDivElement> & {
6
5
  qa?: Pick<PanelQaTags, 'moreIcon'>;
7
6
  }>;
8
7
  export declare const TitleTooltip: React.FC<PanelTitleTooltipProps>;
@@ -23,17 +22,17 @@ export declare const TitleTooltip: React.FC<PanelTitleTooltipProps>;
23
22
  */
24
23
  export declare const Panel: React.ForwardRefExoticComponent<PanelProps & React.RefAttributes<HTMLDivElement>> & {
25
24
  Body: React.ForwardRefExoticComponent<PanelBodyProps & React.RefAttributes<HTMLDivElement>>;
26
- Footer: React.ForwardRefExoticComponent<DivAttributes & React.RefAttributes<HTMLDivElement>>;
27
- FooterActions: React.ForwardRefExoticComponent<DivAttributes & React.RefAttributes<HTMLDivElement>>;
28
- FooterNotation: React.ForwardRefExoticComponent<DivAttributes & React.RefAttributes<HTMLDivElement>>;
25
+ Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
26
+ FooterActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
27
+ FooterNotation: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
29
28
  Header: React.ForwardRefExoticComponent<PanelHeaderProps & React.RefAttributes<HTMLDivElement>>;
30
29
  HeaderAction: React.ForwardRefExoticComponent<PanelHeaderActionProps & React.RefAttributes<HTMLSpanElement>>;
31
- HeaderActions: React.ForwardRefExoticComponent<DivAttributes & {
30
+ HeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
32
31
  qa?: Pick<PanelQaTags, "moreIcon"> | undefined;
33
32
  } & React.RefAttributes<HTMLDivElement>>;
34
33
  Section: React.ForwardRefExoticComponent<import("../Section").SectionProps & React.RefAttributes<HTMLDivElement>>;
35
34
  Title: React.ForwardRefExoticComponent<TypographyProps & {
36
35
  qa?: Pick<PanelQaTags, "title"> | undefined;
37
36
  id?: string | undefined;
38
- } & React.RefAttributes<HTMLSpanElement>>;
37
+ } & React.RefAttributes<HTMLHeadingElement>>;
39
38
  };
@@ -6,7 +6,7 @@ var _excluded = ["title", "children", "variant"],
6
6
  _excluded6 = ["children"],
7
7
  _excluded7 = ["children"],
8
8
  _excluded8 = ["children"],
9
- _excluded9 = ["children"];
9
+ _excluded9 = ["aria-labelledby", "children"];
10
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
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; } }
@@ -17,6 +17,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
17
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
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 { ChevronLeft, Clear, EllipsisVertical } from '@procore/core-icons/dist';
20
+ import { useId } from '@react-aria/utils';
20
21
  import React from 'react';
21
22
  import { Button } from '../Button';
22
23
  import { Menu } from '../Menu';
@@ -31,6 +32,7 @@ import { mergeRefs } from '../_utils/mergeRefs';
31
32
  import { partition } from '../_utils/partition';
32
33
  import { StyledBody, StyledCloseButton, StyledFooter, StyledFooterActions, StyledFooterNotation, StyledHeader, StyledHeaderActions, StyledHeaderBackAction, StyledMoreMenu, StyledPanel, StyledTitle } from './Panel.styles';
33
34
  var PanelContext = /*#__PURE__*/React.createContext({
35
+ ariaLabelledBy: undefined,
34
36
  isScrolling: false,
35
37
  setIsScrolling: function setIsScrolling() {}
36
38
  });
@@ -127,12 +129,16 @@ var Title = /*#__PURE__*/React.forwardRef(function Title(_ref8, ref) {
127
129
  var _useOverflowObserver = useOverflowObserver(),
128
130
  isOverflowingX = _useOverflowObserver.isOverflowingX,
129
131
  overflowRef = _useOverflowObserver.ref;
132
+ var _usePanelContext = usePanelContext(),
133
+ ariaLabelledBy = _usePanelContext.ariaLabelledBy;
134
+ var headingId = props.id || ariaLabelledBy;
130
135
  return /*#__PURE__*/React.createElement(TitleTooltip, {
131
136
  isVisible: isOverflowingX,
132
137
  overlay: children
133
- }, /*#__PURE__*/React.createElement(StyledTitle, _extends({}, props, {
138
+ }, /*#__PURE__*/React.createElement(StyledTitle, _extends({
139
+ id: headingId
140
+ }, props, {
134
141
  ref: mergeRefs(overflowRef, ref),
135
- intent: "h2",
136
142
  "data-qa": qa === null || qa === void 0 ? void 0 : qa.title
137
143
  }), children));
138
144
  });
@@ -160,8 +166,9 @@ var Header = /*#__PURE__*/React.forwardRef(function Header(_ref9, ref) {
160
166
  var Body = /*#__PURE__*/React.forwardRef(function Body(_ref0, ref) {
161
167
  var children = _ref0.children,
162
168
  props = _objectWithoutProperties(_ref0, _excluded5);
163
- var _usePanelContext = usePanelContext(),
164
- setIsScrolling = _usePanelContext.setIsScrolling;
169
+ var _usePanelContext2 = usePanelContext(),
170
+ ariaLabelledBy = _usePanelContext2.ariaLabelledBy,
171
+ setIsScrolling = _usePanelContext2.setIsScrolling;
165
172
  var timer = React.useRef(null);
166
173
  var handleScroll = React.useCallback(function () {
167
174
  setIsScrolling(true);
@@ -176,6 +183,9 @@ var Body = /*#__PURE__*/React.forwardRef(function Body(_ref0, ref) {
176
183
  value: 3
177
184
  }, /*#__PURE__*/React.createElement(StyledBody, _extends({}, props, {
178
185
  ref: ref,
186
+ tabIndex: 0,
187
+ role: "region",
188
+ "aria-labelledby": ariaLabelledBy,
179
189
  onScroll: handleScroll
180
190
  }), children)));
181
191
  });
@@ -196,22 +206,26 @@ var FooterActions = /*#__PURE__*/React.forwardRef(function FooterActions(_ref10,
196
206
  var Footer = /*#__PURE__*/React.forwardRef(function Footer(_ref11, ref) {
197
207
  var children = _ref11.children,
198
208
  props = _objectWithoutProperties(_ref11, _excluded8);
199
- var _usePanelContext2 = usePanelContext(),
200
- isScrolling = _usePanelContext2.isScrolling;
209
+ var _usePanelContext3 = usePanelContext(),
210
+ isScrolling = _usePanelContext3.isScrolling;
201
211
  return /*#__PURE__*/React.createElement(StyledFooter, _extends({}, props, {
202
212
  ref: ref,
203
213
  $hasShadow: isScrolling
204
214
  }), children);
205
215
  });
206
216
  var Panel_ = /*#__PURE__*/React.forwardRef(function Panel(_ref12, ref) {
207
- var children = _ref12.children,
217
+ var ariaLabelledByProp = _ref12['aria-labelledby'],
218
+ children = _ref12.children,
208
219
  props = _objectWithoutProperties(_ref12, _excluded9);
209
220
  var _React$useState = React.useState(false),
210
221
  _React$useState2 = _slicedToArray(_React$useState, 2),
211
222
  isScrolling = _React$useState2[0],
212
223
  setIsScrolling = _React$useState2[1];
224
+ var defaultLabelId = useId();
225
+ var ariaLabelledBy = ariaLabelledByProp !== null && ariaLabelledByProp !== void 0 ? ariaLabelledByProp : defaultLabelId;
213
226
  return /*#__PURE__*/React.createElement(PanelContext.Provider, {
214
227
  value: {
228
+ ariaLabelledBy: ariaLabelledBy,
215
229
  isScrolling: isScrolling,
216
230
  setIsScrolling: setIsScrolling
217
231
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Panel.js","names":["ChevronLeft","Clear","EllipsisVertical","React","Button","Menu","OverlayTrigger","LevelContext","Section","SectionProvider","Tooltip","useI18nContext","useOverflowObserver","addSubcomponents","isReactElement","mergeRefs","partition","StyledBody","StyledCloseButton","StyledFooter","StyledFooterActions","StyledFooterNotation","StyledHeader","StyledHeaderActions","StyledHeaderBackAction","StyledMoreMenu","StyledPanel","StyledTitle","PanelContext","createContext","isScrolling","setIsScrolling","usePanelContext","useContext","maxVisibleIcons","HeaderAction","forwardRef","_ref","ref","title","children","_ref$variant","variant","props","_objectWithoutProperties","_excluded","createElement","overlay","trigger","_extends","MoreMenu","_ref2","node","focus","Options","Children","map","child","Item","item","key","onClick","MoreIcon","_ref3","qa","i18n","placement","trackAriaExpanded","t","moreIcon","icon","HeaderActions","_ref4","_excluded2","iconsAmount","count","_ref5","_","index","toArray","_ref6","_slicedToArray","visibleIcons","hiddenIcons","length","TitleTooltip","_ref7","isVisible","Content","role","Title","_ref8","_excluded3","_useOverflowObserver","isOverflowingX","overflowRef","intent","Header","_ref9","onClickBack","onClose","_excluded4","I18n","$active","undefined","Body","_ref0","_excluded5","_usePanelContext","timer","useRef","handleScroll","useCallback","current","clearTimeout","setTimeout","Provider","value","onScroll","FooterNotation","_ref1","_excluded6","FooterActions","_ref10","_excluded7","Footer","_ref11","_excluded8","_usePanelContext2","$hasShadow","Panel_","Panel","_ref12","_excluded9","_React$useState","useState","_React$useState2","displayName"],"sources":["../../src/Panel/Panel.tsx"],"sourcesContent":["import { ChevronLeft, Clear, EllipsisVertical } from '@procore/core-icons/dist'\nimport React from 'react'\nimport { Button } from '../Button'\nimport { Menu } from '../Menu'\nimport { OverlayTrigger } from '../OverlayTrigger'\nimport { LevelContext, Section, SectionProvider } from '../Section'\nimport { Tooltip } from '../Tooltip'\nimport type { TypographyProps } from '../Typography'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { useOverflowObserver } from '../_hooks/OverflowObserver'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { isReactElement } from '../_utils/isReactElement'\nimport { mergeRefs } from '../_utils/mergeRefs'\nimport { partition } from '../_utils/partition'\nimport type { DivAttributes } from '../_utils/types'\nimport {\n StyledBody,\n StyledCloseButton,\n StyledFooter,\n StyledFooterActions,\n StyledFooterNotation,\n StyledHeader,\n StyledHeaderActions,\n StyledHeaderBackAction,\n StyledMoreMenu,\n StyledPanel,\n StyledTitle,\n} from './Panel.styles'\nimport type {\n PanelBodyProps,\n PanelContextShape,\n PanelHeaderActionProps,\n PanelHeaderProps,\n PanelProps,\n PanelQaTags,\n PanelTitleTooltipProps,\n} from './Panel.types'\n\nconst PanelContext = React.createContext<PanelContextShape>({\n isScrolling: false,\n setIsScrolling: () => {},\n})\n\nconst usePanelContext = () => React.useContext(PanelContext)\n\nconst maxVisibleIcons = 3\n\nconst HeaderAction = React.forwardRef<HTMLSpanElement, PanelHeaderActionProps>(\n function HeaderAction(\n { title, children, variant = 'tertiary', ...props },\n ref\n ) {\n return (\n <Tooltip overlay={title} trigger={['hover', 'focus']} ref={ref}>\n <Button aria-label={title} {...props} variant={variant}>\n {children}\n </Button>\n </Tooltip>\n )\n }\n)\n\nconst MoreMenu = React.forwardRef<HTMLDivElement, DivAttributes>(\n function MoreMenu({ children }, ref) {\n return (\n <StyledMoreMenu ref={ref}>\n <Menu ref={(node) => node?.focus()}>\n <Menu.Options>\n {React.Children.map(children, (child) => {\n if (isReactElement<PanelHeaderActionProps>(child)) {\n return (\n <Menu.Item\n item={null}\n key={child.props.title}\n onClick={\n child.props.onClick as (e: React.MouseEvent) => void\n }\n >\n {child.props.title}\n </Menu.Item>\n )\n }\n })}\n </Menu.Options>\n </Menu>\n </StyledMoreMenu>\n )\n }\n)\n\nexport const MoreIcon: React.FC<\n DivAttributes & { qa?: Pick<PanelQaTags, 'moreIcon'> }\n> = ({ children, qa }) => {\n const i18n = useI18nContext()\n\n return (\n <OverlayTrigger\n overlay={<MoreMenu>{children}</MoreMenu>}\n placement=\"bottom-right\"\n trackAriaExpanded\n trigger=\"click\"\n >\n <Button\n aria-haspopup=\"menu\"\n aria-label={i18n.t('core.dropdown.moreOptions')}\n data-qa={qa?.moreIcon}\n icon={<EllipsisVertical />}\n variant=\"tertiary\"\n />\n </OverlayTrigger>\n )\n}\n\nconst HeaderActions = React.forwardRef<\n HTMLDivElement,\n DivAttributes & { qa?: Pick<PanelQaTags, 'moreIcon'> }\n>(function HeaderActions({ children, qa, ...props }, ref) {\n const iconsAmount = React.Children.count(children)\n\n const [visibleIcons, hiddenIcons] =\n iconsAmount > maxVisibleIcons\n ? partition(\n (_, index) => index > iconsAmount - maxVisibleIcons,\n React.Children.toArray(children)\n )\n : [children, []]\n\n return (\n <StyledHeaderActions {...props} ref={ref}>\n {visibleIcons}\n {hiddenIcons.length > 0 && <MoreIcon qa={qa}>{hiddenIcons}</MoreIcon>}\n </StyledHeaderActions>\n )\n})\n\nexport const TitleTooltip: React.FC<PanelTitleTooltipProps> = ({\n children,\n overlay,\n isVisible,\n}) => {\n if (!isVisible) {\n return children as React.ReactElement\n }\n\n return (\n <Tooltip\n trigger={['hover', 'focus']}\n overlay={<Tooltip.Content>{overlay}</Tooltip.Content>}\n placement=\"bottom\"\n role=\"tooltip\"\n >\n {children}\n </Tooltip>\n )\n}\n\nconst Title = React.forwardRef<\n HTMLSpanElement,\n TypographyProps & { qa?: Pick<PanelQaTags, 'title'>; id?: string }\n>(function Title({ children, qa, ...props }, ref) {\n const { isOverflowingX, ref: overflowRef } = useOverflowObserver()\n\n return (\n <TitleTooltip isVisible={isOverflowingX} overlay={children}>\n <StyledTitle\n {...props}\n ref={mergeRefs(overflowRef, ref)}\n intent=\"h2\"\n data-qa={qa?.title}\n >\n {children}\n </StyledTitle>\n </TitleTooltip>\n )\n})\n\nconst Header = React.forwardRef<HTMLDivElement, PanelHeaderProps>(\n function Header({ children, onClickBack, onClose, ...props }, ref) {\n const I18n = useI18nContext()\n return (\n <StyledHeader {...props} ref={ref}>\n <StyledHeaderBackAction $active={onClickBack !== undefined}>\n <Button\n aria-label={I18n.t('core.panel.goBack')}\n variant=\"tertiary\"\n onClick={onClickBack}\n icon={<ChevronLeft />}\n />\n </StyledHeaderBackAction>\n {children}\n {typeof onClose === 'function' && (\n <StyledCloseButton>\n <HeaderAction\n title={I18n.t('core.panel.close')}\n icon={<Clear />}\n onClick={onClose}\n />\n </StyledCloseButton>\n )}\n </StyledHeader>\n )\n }\n)\n\nconst Body = React.forwardRef<HTMLDivElement, PanelBodyProps>(function Body(\n { children, ...props },\n ref\n) {\n const { setIsScrolling } = usePanelContext()\n\n const timer = React.useRef<NodeJS.Timer | null>(null)\n\n const handleScroll = React.useCallback(() => {\n setIsScrolling(true)\n\n if (timer.current) {\n clearTimeout(timer.current)\n }\n\n timer.current = setTimeout(() => {\n setIsScrolling(false)\n }, 100)\n }, [setIsScrolling])\n\n return (\n <SectionProvider>\n <LevelContext.Provider value={3}>\n <StyledBody {...props} ref={ref} onScroll={handleScroll}>\n {children}\n </StyledBody>\n </LevelContext.Provider>\n </SectionProvider>\n )\n})\n\nconst FooterNotation = React.forwardRef<HTMLDivElement, DivAttributes>(\n function FooterNotation({ children, ...props }, ref) {\n return (\n <StyledFooterNotation {...props} ref={ref}>\n {children}\n </StyledFooterNotation>\n )\n }\n)\n\nconst FooterActions = React.forwardRef<HTMLDivElement, DivAttributes>(\n function FooterActions({ children, ...props }, ref) {\n return (\n <StyledFooterActions {...props} ref={ref}>\n {children}\n </StyledFooterActions>\n )\n }\n)\n\nconst Footer = React.forwardRef<HTMLDivElement, DivAttributes>(function Footer(\n { children, ...props },\n ref\n) {\n const { isScrolling } = usePanelContext()\n\n return (\n <StyledFooter {...props} ref={ref} $hasShadow={isScrolling}>\n {children}\n </StyledFooter>\n )\n})\n\nconst Panel_ = React.forwardRef<HTMLDivElement, PanelProps>(function Panel(\n { children, ...props },\n ref\n) {\n const [isScrolling, setIsScrolling] = React.useState(false)\n\n return (\n <PanelContext.Provider\n value={{\n isScrolling,\n setIsScrolling,\n }}\n >\n <StyledPanel {...props} ref={ref}>\n {children}\n </StyledPanel>\n </PanelContext.Provider>\n )\n})\n\nPanel_.displayName = 'Panel'\nBody.displayName = 'Panel.Body'\nFooter.displayName = 'Panel.Footer'\nFooterActions.displayName = 'Panel.FooterActions'\nFooterNotation.displayName = 'Panel.FooterNotation'\nHeader.displayName = 'Panel.Header'\nHeaderAction.displayName = 'Panel.HeaderAction'\nHeaderActions.displayName = 'Panel.HeaderActions'\nTitle.displayName = 'Panel.Title'\n\n/**\n\n Panels help users complete tasks or view additional information alongside the\n main content of a page.\n\n Panels are often initiated by clicking on an item somewhere on the main page,\n and they often contain additional information or options specific to that item.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-panel--demo)\n\n @see [Design Guidelines](https://design.procore.com/panel)\n\n */\nexport const Panel = addSubcomponents(\n {\n Body,\n Footer,\n FooterActions,\n FooterNotation,\n Header,\n HeaderAction,\n HeaderActions,\n Section,\n Title,\n },\n Panel_\n)\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAASA,WAAW,EAAEC,KAAK,EAAEC,gBAAgB,QAAQ,0BAA0B;AAC/E,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,cAAc,QAAQ,mBAAmB;AAClD,SAASC,YAAY,EAAEC,OAA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AK,EAALA;AACF,CAAC,EACDwC,MACF,CAAC"}
1
+ {"version":3,"file":"Panel.js","names":["ChevronLeft","Clear","EllipsisVertical","useId","React","Button","Menu","OverlayTrigger","LevelContext","Section","SectionProvider","Tooltip","useI18nContext","useOverflowObserver","addSubcomponents","isReactElement","mergeRefs","partition","StyledBody","StyledCloseButton","StyledFooter","StyledFooterActions","StyledFooterNotation","StyledHeader","StyledHeaderActions","StyledHeaderBackAction","StyledMoreMenu","StyledPanel","StyledTitle","PanelContext","createContext","ariaLabelledBy","undefined","isScrolling","setIsScrolling","usePanelContext","useContext","maxVisibleIcons","HeaderAction","forwardRef","_ref","ref","title","children","_ref$variant","variant","props","_objectWithoutProperties","_excluded","createElement","overlay","trigger","_extends","MoreMenu","_ref2","node","focus","Options","Children","map","child","Item","item","key","onClick","MoreIcon","_ref3","qa","i18n","placement","trackAriaExpanded","t","moreIcon","icon","HeaderActions","_ref4","_excluded2","iconsAmount","count","_ref5","_","index","toArray","_ref6","_slicedToArray","visibleIcons","hiddenIcons","length","TitleTooltip","_ref7","isVisible","Content","role","Title","_ref8","_excluded3","_useOverflowObserver","isOverflowingX","overflowRef","_usePanelContext","headingId","id","Header","_ref9","onClickBack","onClose","_excluded4","I18n","$active","Body","_ref0","_excluded5","_usePanelContext2","timer","useRef","handleScroll","useCallback","current","clearTimeout","setTimeout","Provider","value","tabIndex","onScroll","FooterNotation","_ref1","_excluded6","FooterActions","_ref10","_excluded7","Footer","_ref11","_excluded8","_usePanelContext3","$hasShadow","Panel_","Panel","_ref12","ariaLabelledByProp","_excluded9","_React$useState","useState","_React$useState2","defaultLabelId","displayName"],"sources":["../../src/Panel/Panel.tsx"],"sourcesContent":["import { ChevronLeft, Clear, EllipsisVertical } from '@procore/core-icons/dist'\nimport { useId } from '@react-aria/utils'\nimport React from 'react'\nimport { Button } from '../Button'\nimport { Menu } from '../Menu'\nimport { OverlayTrigger } from '../OverlayTrigger'\nimport { LevelContext, Section, SectionProvider } from '../Section'\nimport { Tooltip } from '../Tooltip'\nimport type { TypographyProps } from '../Typography'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { useOverflowObserver } from '../_hooks/OverflowObserver'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { isReactElement } from '../_utils/isReactElement'\nimport { mergeRefs } from '../_utils/mergeRefs'\nimport { partition } from '../_utils/partition'\nimport {\n StyledBody,\n StyledCloseButton,\n StyledFooter,\n StyledFooterActions,\n StyledFooterNotation,\n StyledHeader,\n StyledHeaderActions,\n StyledHeaderBackAction,\n StyledMoreMenu,\n StyledPanel,\n StyledTitle,\n} from './Panel.styles'\nimport type {\n PanelBodyProps,\n PanelContextShape,\n PanelHeaderActionProps,\n PanelHeaderProps,\n PanelProps,\n PanelQaTags,\n PanelTitleTooltipProps,\n} from './Panel.types'\n\nconst PanelContext = React.createContext<PanelContextShape>({\n ariaLabelledBy: undefined,\n isScrolling: false,\n setIsScrolling: () => {},\n})\n\nconst usePanelContext = () => React.useContext(PanelContext)\n\nconst maxVisibleIcons = 3\n\nconst HeaderAction = React.forwardRef<HTMLSpanElement, PanelHeaderActionProps>(\n function HeaderAction(\n { title, children, variant = 'tertiary', ...props },\n ref\n ) {\n return (\n <Tooltip overlay={title} trigger={['hover', 'focus']} ref={ref}>\n <Button aria-label={title} {...props} variant={variant}>\n {children}\n </Button>\n </Tooltip>\n )\n }\n)\n\nconst MoreMenu = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function MoreMenu({ children }, ref) {\n return (\n <StyledMoreMenu ref={ref}>\n <Menu ref={(node) => node?.focus()}>\n <Menu.Options>\n {React.Children.map(children, (child) => {\n if (isReactElement<PanelHeaderActionProps>(child)) {\n return (\n <Menu.Item\n item={null}\n key={child.props.title}\n onClick={child.props.onClick as (e: React.MouseEvent) => void}\n >\n {child.props.title}\n </Menu.Item>\n )\n }\n })}\n </Menu.Options>\n </Menu>\n </StyledMoreMenu>\n )\n})\n\nexport const MoreIcon: React.FC<\n React.HTMLAttributes<HTMLDivElement> & { qa?: Pick<PanelQaTags, 'moreIcon'> }\n> = ({ children, qa }) => {\n const i18n = useI18nContext()\n\n return (\n <OverlayTrigger\n overlay={<MoreMenu>{children}</MoreMenu>}\n placement=\"bottom-right\"\n trackAriaExpanded\n trigger=\"click\"\n >\n <Button\n aria-haspopup=\"menu\"\n aria-label={i18n.t('core.dropdown.moreOptions')}\n data-qa={qa?.moreIcon}\n icon={<EllipsisVertical />}\n variant=\"tertiary\"\n />\n </OverlayTrigger>\n )\n}\n\nconst HeaderActions = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & { qa?: Pick<PanelQaTags, 'moreIcon'> }\n>(function HeaderActions({ children, qa, ...props }, ref) {\n const iconsAmount = React.Children.count(children)\n\n const [visibleIcons, hiddenIcons] =\n iconsAmount > maxVisibleIcons\n ? partition(\n (_, index) => index > iconsAmount - maxVisibleIcons,\n React.Children.toArray(children)\n )\n : [children, []]\n\n return (\n <StyledHeaderActions {...props} ref={ref}>\n {visibleIcons}\n {hiddenIcons.length > 0 && <MoreIcon qa={qa}>{hiddenIcons}</MoreIcon>}\n </StyledHeaderActions>\n )\n})\n\nexport const TitleTooltip: React.FC<PanelTitleTooltipProps> = ({\n children,\n overlay,\n isVisible,\n}) => {\n if (!isVisible) {\n return children as React.ReactElement\n }\n\n return (\n <Tooltip\n trigger={['hover', 'focus']}\n overlay={<Tooltip.Content>{overlay}</Tooltip.Content>}\n placement=\"bottom\"\n role=\"tooltip\"\n >\n {children}\n </Tooltip>\n )\n}\n\nconst Title = React.forwardRef<\n HTMLHeadingElement,\n TypographyProps & { qa?: Pick<PanelQaTags, 'title'>; id?: string }\n>(function Title({ children, qa, ...props }, ref) {\n const { isOverflowingX, ref: overflowRef } = useOverflowObserver()\n const { ariaLabelledBy } = usePanelContext()\n const headingId = props.id || ariaLabelledBy\n\n return (\n <TitleTooltip isVisible={isOverflowingX} overlay={children}>\n <StyledTitle\n id={headingId}\n {...props}\n ref={mergeRefs(overflowRef, ref)}\n data-qa={qa?.title}\n >\n {children}\n </StyledTitle>\n </TitleTooltip>\n )\n})\n\nconst Header = React.forwardRef<HTMLDivElement, PanelHeaderProps>(\n function Header({ children, onClickBack, onClose, ...props }, ref) {\n const I18n = useI18nContext()\n return (\n <StyledHeader {...props} ref={ref}>\n <StyledHeaderBackAction $active={onClickBack !== undefined}>\n <Button\n aria-label={I18n.t('core.panel.goBack')}\n variant=\"tertiary\"\n onClick={onClickBack}\n icon={<ChevronLeft />}\n />\n </StyledHeaderBackAction>\n {children}\n {typeof onClose === 'function' && (\n <StyledCloseButton>\n <HeaderAction\n title={I18n.t('core.panel.close')}\n icon={<Clear />}\n onClick={onClose}\n />\n </StyledCloseButton>\n )}\n </StyledHeader>\n )\n }\n)\n\nconst Body = React.forwardRef<HTMLDivElement, PanelBodyProps>(function Body(\n { children, ...props },\n ref\n) {\n const { ariaLabelledBy, setIsScrolling } = usePanelContext()\n\n const timer = React.useRef<NodeJS.Timer | null>(null)\n\n const handleScroll = React.useCallback(() => {\n setIsScrolling(true)\n\n if (timer.current) {\n clearTimeout(timer.current)\n }\n\n timer.current = setTimeout(() => {\n setIsScrolling(false)\n }, 100)\n }, [setIsScrolling])\n\n return (\n <SectionProvider>\n <LevelContext.Provider value={3}>\n <StyledBody\n {...props}\n ref={ref}\n tabIndex={0}\n role=\"region\"\n aria-labelledby={ariaLabelledBy}\n onScroll={handleScroll}\n >\n {children}\n </StyledBody>\n </LevelContext.Provider>\n </SectionProvider>\n )\n})\n\nconst FooterNotation = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function FooterNotation({ children, ...props }, ref) {\n return (\n <StyledFooterNotation {...props} ref={ref}>\n {children}\n </StyledFooterNotation>\n )\n})\n\nconst FooterActions = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function FooterActions({ children, ...props }, ref) {\n return (\n <StyledFooterActions {...props} ref={ref}>\n {children}\n </StyledFooterActions>\n )\n})\n\nconst Footer = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(function Footer({ children, ...props }, ref) {\n const { isScrolling } = usePanelContext()\n\n return (\n <StyledFooter {...props} ref={ref} $hasShadow={isScrolling}>\n {children}\n </StyledFooter>\n )\n})\n\nconst Panel_ = React.forwardRef<HTMLDivElement, PanelProps>(function Panel(\n { 'aria-labelledby': ariaLabelledByProp, children, ...props },\n ref\n) {\n const [isScrolling, setIsScrolling] = React.useState(false)\n const defaultLabelId = useId()\n const ariaLabelledBy = ariaLabelledByProp ?? defaultLabelId\n\n return (\n <PanelContext.Provider\n value={{\n ariaLabelledBy,\n isScrolling,\n setIsScrolling,\n }}\n >\n <StyledPanel {...props} ref={ref}>\n {children}\n </StyledPanel>\n </PanelContext.Provider>\n )\n})\n\nPanel_.displayName = 'Panel'\nBody.displayName = 'Panel.Body'\nFooter.displayName = 'Panel.Footer'\nFooterActions.displayName = 'Panel.FooterActions'\nFooterNotation.displayName = 'Panel.FooterNotation'\nHeader.displayName = 'Panel.Header'\nHeaderAction.displayName = 'Panel.HeaderAction'\nHeaderActions.displayName = 'Panel.HeaderActions'\nTitle.displayName = 'Panel.Title'\n\n/**\n\n Panels help users complete tasks or view additional information alongside the\n main content of a page.\n\n Panels are often initiated by clicking on an item somewhere on the main page,\n and they often contain additional information or options specific to that item.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-panel--demo)\n\n @see [Design Guidelines](https://design.procore.com/panel)\n\n */\nexport const Panel = addSubcomponents(\n {\n Body,\n Footer,\n FooterActions,\n FooterNotation,\n Header,\n HeaderAction,\n HeaderActions,\n Section,\n Title,\n },\n Panel_\n)\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA,SAASA,WAAW,EAAEC,KAAK,EAAEC,gBAAgB,QAAQ,0BAA0B;AAC/E,SAASC,KAAK,QAAQ,mBAAmB;AACzC,OAAOC,KAAK,MAAM,OAA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,CAACmC,WAAW,GAAG,YAAY;AAC/Bd,MAAM,CAACc,WAAW,GAAG,cAAc;AACnCjB,aAAa,CAACiB,WAAW,GAAG,qBAAqB;AACjDpB,cAAc,CAACoB,WAAW,GAAG,sBAAsB;AACnD1C,MAAM,CAAC0C,WAAW,GAAG,cAAc;AACnC1G,YAAY,CAAC0G,WAAW,GAAG,oBAAoB;AAC/CtE,aAAa,CAACsE,WAAW,GAAG,qBAAqB;AACjDnD,KAAK,CAACmD,WAAW,GAAG,aAAa;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMR,KAAK,GAAG1H,gBAAgB,CACnC;EACE+F,IAAI,EAAJA,IAAI;EACJqB,MAAM,EAANA,MAAM;EACNH,aAAa,EAAbA,aAAa;EACbH,cAAc,EAAdA,cAAc;EACdtB,MAAM,EAANA,MAAM;EACNhE,YAAY,EAAZA,YAAY;EACZoC,aAAa,EAAbA,aAAa;EACbjE,OAAO,EAAPA,OAAO;EACPoF,KAAK,EAALA;AACF,CAAC,EACD0C,MACF,CAAC"}
@@ -1,14 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  export declare const StyledHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
- export declare const StyledTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").SpanAttributes & import("../Typography").TypographyProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & {
4
- ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
5
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").SpanAttributes & import("../Typography").TypographyProps & import("react").RefAttributes<HTMLSpanElement>>, keyof import("react").Component<any, {}, any>>;
3
+ export declare const StyledTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Semantic/Semantic.types").HeadingProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & {
4
+ ref?: ((instance: HTMLHeadingElement | null) => void) | import("react").RefObject<HTMLHeadingElement> | null | undefined;
5
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Semantic/Semantic.types").HeadingProps & import("react").RefAttributes<HTMLHeadingElement>>, keyof import("react").Component<any, {}, any>>;
6
6
  export declare const StyledHeaderBackAction: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
7
7
  $active: boolean;
8
8
  }>> & string;
9
- export declare const StyledMoreMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("..").DivAttributes & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
9
+ export declare const StyledMoreMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("react").HTMLAttributes<HTMLDivElement> & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
- }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("..").DivAttributes & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
11
+ }, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("../Card").CardProps & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
12
12
  export declare const StyledHeaderActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
13
13
  export declare const StyledCloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
14
14
  export declare const StyledBody: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {