@procore/core-react 12.25.2 → 12.26.1

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 (483) 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 +17 -0
  15. package/README.md +49 -3
  16. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  17. package/dist/Avatar/Avatar.styles.js +5 -5
  18. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  19. package/dist/AvatarStack/mocks/getAvatarMocks.d.ts +25 -0
  20. package/dist/AvatarStack/mocks/getAvatarMocks.js +305 -0
  21. package/dist/AvatarStack/mocks/getAvatarMocks.js.map +1 -0
  22. package/dist/AvatarStack/mocks/images.d.ts +2 -0
  23. package/dist/AvatarStack/mocks/images.js +13 -0
  24. package/dist/AvatarStack/mocks/images.js.map +1 -0
  25. package/dist/AvatarStack/mocks/img/1.png +0 -0
  26. package/dist/AvatarStack/mocks/img/2.png +0 -0
  27. package/dist/AvatarStack/mocks/img/3.png +0 -0
  28. package/dist/AvatarStack/mocks/img/4.png +0 -0
  29. package/dist/AvatarStack/mocks/img/5.png +0 -0
  30. package/dist/AvatarStack/mocks/logo/1.png +0 -0
  31. package/dist/AvatarStack/mocks/logo/2.png +0 -0
  32. package/dist/AvatarStack/mocks/logo/3.png +0 -0
  33. package/dist/AvatarStack/mocks/logo/4.png +0 -0
  34. package/dist/AvatarStack/mocks/logo/5.png +0 -0
  35. package/dist/Badge/Badge.styles.js +2 -2
  36. package/dist/BadgePill/BadgePill.styles.js +4 -4
  37. package/dist/Banner/Banner.styles.js +10 -10
  38. package/dist/Box/Box.styles.js +1 -1
  39. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  40. package/dist/Button/Button.styles.js +5 -5
  41. package/dist/Calendar/Calendar.styles.js +8 -8
  42. package/dist/Card/Card.styles.js +1 -1
  43. package/dist/Checkbox/Checkbox.styles.js +6 -6
  44. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  45. package/dist/ContactItem/ContactItem.styles.js +5 -5
  46. package/dist/Content/Content.styles.js +2 -2
  47. package/dist/DateInput/DateInput.styles.js +6 -6
  48. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.d.ts +19 -0
  49. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js +159 -0
  50. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js.map +1 -0
  51. package/dist/{TextEditor/TextEditor.styles.js → DeprecatedTextEditor/DeprecatedTextEditor.styles.js} +1 -1
  52. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.js.map +1 -0
  53. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.d.ts +72 -0
  54. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js +2 -0
  55. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js.map +1 -0
  56. package/dist/DeprecatedTextEditor/index.d.ts +2 -0
  57. package/dist/DeprecatedTextEditor/index.js +3 -0
  58. package/dist/DeprecatedTextEditor/index.js.map +1 -0
  59. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.d.ts +12 -0
  60. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js +45 -0
  61. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js.map +1 -0
  62. package/dist/{TextEditorOutput/TextEditorOutput.styles.js → DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js} +2 -2
  63. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js.map +1 -0
  64. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.d.ts +16 -0
  65. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js +2 -0
  66. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js.map +1 -0
  67. package/dist/DeprecatedTextEditorOutput/index.d.ts +2 -0
  68. package/dist/DeprecatedTextEditorOutput/index.js +2 -0
  69. package/dist/DeprecatedTextEditorOutput/index.js.map +1 -0
  70. package/dist/DetailPage/DetailPage.styles.js +7 -7
  71. package/dist/Dropdown/Dropdown.styles.js +3 -3
  72. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  73. package/dist/Dropzone/Dropzone.js +1 -1
  74. package/dist/Dropzone/Dropzone.styles.js +9 -9
  75. package/dist/EmptyState/EmptyState.styles.js +6 -6
  76. package/dist/EmptyState/assets/default.stories.png +0 -0
  77. package/dist/Field/Field.styles.js +3 -3
  78. package/dist/FileList/FileList.styles.js +4 -4
  79. package/dist/FileList/storybook/fileListMockData.d.ts +5 -0
  80. package/dist/FileList/storybook/fileListMockData.js +34 -0
  81. package/dist/FileList/storybook/fileListMockData.js.map +1 -0
  82. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  83. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  84. package/dist/FileSelect/FileSelect.styles.js +2 -2
  85. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  86. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  87. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  88. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  89. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  90. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  91. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  92. package/dist/FileToken/FileToken.styles.js +4 -4
  93. package/dist/FilterToken/FilterToken.styles.js +5 -5
  94. package/dist/FlexList/FlexList.styles.js +1 -1
  95. package/dist/Form/Form.js +1 -30
  96. package/dist/Form/Form.js.map +1 -1
  97. package/dist/Form/Form.styles.js +14 -14
  98. package/dist/Form/StyledFormikForm.styles.js +2 -2
  99. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  100. package/dist/Grid/Grid.styles.js +2 -2
  101. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  102. package/dist/GroupSelect/mocks/groupSelectMockData.d.ts +18 -0
  103. package/dist/GroupSelect/mocks/groupSelectMockData.js +122 -0
  104. package/dist/GroupSelect/mocks/groupSelectMockData.js.map +1 -0
  105. package/dist/Input/Input.styles.js +1 -1
  106. package/dist/Link/Link.styles.js +1 -1
  107. package/dist/ListPage/ListPage.styles.js +8 -8
  108. package/dist/Loader/Loader.styles.js +2 -2
  109. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  110. package/dist/Modal/Modal.styles.js +15 -15
  111. package/dist/Modal/Modal.styles.js.map +1 -1
  112. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  113. package/dist/NextMenu/NextMenu.styles.js +3 -3
  114. package/dist/NextTextEditor/EditorError.d.ts +2 -0
  115. package/dist/NextTextEditor/EditorError.js +9 -0
  116. package/dist/NextTextEditor/EditorError.js.map +1 -0
  117. package/dist/NextTextEditor/NextTextEditor.d.ts +3 -0
  118. package/dist/NextTextEditor/NextTextEditor.js +156 -0
  119. package/dist/NextTextEditor/NextTextEditor.js.map +1 -0
  120. package/dist/NextTextEditor/NextTextEditor.styles.d.ts +5 -0
  121. package/dist/NextTextEditor/NextTextEditor.styles.js +22 -0
  122. package/dist/NextTextEditor/NextTextEditor.styles.js.map +1 -0
  123. package/dist/NextTextEditor/NextTextEditor.types.d.ts +111 -0
  124. package/dist/NextTextEditor/NextTextEditor.types.js +2 -0
  125. package/dist/NextTextEditor/NextTextEditor.types.js.map +1 -0
  126. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.d.ts +5 -0
  127. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.js +2 -0
  128. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.js.map +1 -0
  129. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.d.ts +3 -0
  130. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.js +153 -0
  131. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.js.map +1 -0
  132. package/dist/NextTextEditor/StickyToolbar/index.d.ts +4 -0
  133. package/dist/NextTextEditor/StickyToolbar/index.js +3 -0
  134. package/dist/NextTextEditor/StickyToolbar/index.js.map +1 -0
  135. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.d.ts +2 -0
  136. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.js +49 -0
  137. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.js.map +1 -0
  138. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.d.ts +12 -0
  139. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.js +2 -0
  140. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.js.map +1 -0
  141. package/dist/NextTextEditor/index.d.ts +2 -0
  142. package/dist/NextTextEditor/index.js +3 -0
  143. package/dist/NextTextEditor/index.js.map +1 -0
  144. package/dist/NextTextEditor/license_key.d.ts +2 -0
  145. package/dist/NextTextEditor/license_key.js +3 -0
  146. package/dist/NextTextEditor/license_key.js.map +1 -0
  147. package/dist/NextTextEditor/plugins/CutPlugin/CutCommand.d.ts +5 -0
  148. package/dist/NextTextEditor/plugins/CutPlugin/CutCommand.js +99 -0
  149. package/dist/NextTextEditor/plugins/CutPlugin/CutCommand.js.map +1 -0
  150. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.d.ts +5 -0
  151. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.js +56 -0
  152. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.js.map +1 -0
  153. package/dist/NextTextEditor/plugins/CutPlugin/index.d.ts +1 -0
  154. package/dist/NextTextEditor/plugins/CutPlugin/index.js +2 -0
  155. package/dist/NextTextEditor/plugins/CutPlugin/index.js.map +1 -0
  156. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.d.ts +5 -0
  157. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js +40 -0
  158. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +1 -0
  159. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.d.ts +1 -0
  160. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.js +2 -0
  161. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +1 -0
  162. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.d.ts +15 -0
  163. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js +65 -0
  164. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js.map +1 -0
  165. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.d.ts +13 -0
  166. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js +80 -0
  167. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js.map +1 -0
  168. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts +5 -0
  169. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js +86 -0
  170. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map +1 -0
  171. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts +5 -0
  172. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js +56 -0
  173. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +1 -0
  174. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.d.ts +1 -0
  175. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.js +2 -0
  176. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.js.map +1 -0
  177. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.d.ts +5 -0
  178. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.js +149 -0
  179. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.js.map +1 -0
  180. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.d.ts +5 -0
  181. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.js +56 -0
  182. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.js.map +1 -0
  183. package/dist/NextTextEditor/plugins/PastePlugin/index.d.ts +1 -0
  184. package/dist/NextTextEditor/plugins/PastePlugin/index.js +2 -0
  185. package/dist/NextTextEditor/plugins/PastePlugin/index.js.map +1 -0
  186. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.d.ts +6 -0
  187. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js +87 -0
  188. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +1 -0
  189. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.d.ts +1 -0
  190. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.js +2 -0
  191. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.js.map +1 -0
  192. package/dist/NextTextEditor/textEditorTheming/icons.d.ts +23 -0
  193. package/dist/NextTextEditor/textEditorTheming/icons.js +24 -0
  194. package/dist/NextTextEditor/textEditorTheming/icons.js.map +1 -0
  195. package/dist/NextTextEditor/textEditorTheming/index.d.ts +1 -0
  196. package/dist/NextTextEditor/textEditorTheming/index.js +2 -0
  197. package/dist/NextTextEditor/textEditorTheming/index.js.map +1 -0
  198. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.d.ts +2 -0
  199. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.js +10 -0
  200. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.js.map +1 -0
  201. package/dist/NextTextEditor/useCKEditorCss.d.ts +3 -0
  202. package/dist/NextTextEditor/useCKEditorCss.js +36 -0
  203. package/dist/NextTextEditor/useCKEditorCss.js.map +1 -0
  204. package/dist/NextTextEditor/useTabAsNavigation.d.ts +11 -0
  205. package/dist/NextTextEditor/useTabAsNavigation.js +29 -0
  206. package/dist/NextTextEditor/useTabAsNavigation.js.map +1 -0
  207. package/dist/NextTextEditor/utils/config.d.ts +3 -0
  208. package/dist/NextTextEditor/utils/config.js +179 -0
  209. package/dist/NextTextEditor/utils/config.js.map +1 -0
  210. package/dist/NextTextEditor/utils/index.d.ts +2 -0
  211. package/dist/NextTextEditor/utils/index.js +3 -0
  212. package/dist/NextTextEditor/utils/index.js.map +1 -0
  213. package/dist/NextTextEditor/utils/locale.d.ts +3 -0
  214. package/dist/NextTextEditor/utils/locale.js +102 -0
  215. package/dist/NextTextEditor/utils/locale.js.map +1 -0
  216. package/dist/NextTextEditor/utils/plugins.d.ts +7 -0
  217. package/dist/NextTextEditor/utils/plugins.js +184 -0
  218. package/dist/NextTextEditor/utils/plugins.js.map +1 -0
  219. package/dist/NextTextEditorOutput/NextTextEditorOutput.d.ts +9 -0
  220. package/dist/NextTextEditorOutput/NextTextEditorOutput.js +29 -0
  221. package/dist/NextTextEditorOutput/NextTextEditorOutput.js.map +1 -0
  222. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.d.ts +2 -0
  223. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.js +6 -0
  224. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.js.map +1 -0
  225. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.d.ts +9 -0
  226. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js +2 -0
  227. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js.map +1 -0
  228. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.d.ts +2 -0
  229. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.js +59 -0
  230. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.js.map +1 -0
  231. package/dist/NextTextEditorOutput/index.d.ts +2 -0
  232. package/dist/NextTextEditorOutput/index.js +2 -0
  233. package/dist/NextTextEditorOutput/index.js.map +1 -0
  234. package/dist/Notation/Notation.js +1 -1
  235. package/dist/NumberInput/NumberInput.styles.js +7 -7
  236. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  237. package/dist/PageLayout/PageLayout.styles.js +16 -16
  238. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  239. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  240. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  241. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  242. package/dist/Pagination/Pagination.styles.js +5 -5
  243. package/dist/Panel/Panel.styles.js +13 -13
  244. package/dist/Panel/Panel.styles.js.map +1 -1
  245. package/dist/Pill/Pill.styles.js +3 -3
  246. package/dist/PillSelect/PillSelect.styles.js +4 -4
  247. package/dist/Popover/Popover.styles.js +2 -2
  248. package/dist/Portal/Portal.styles.js +1 -1
  249. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  250. package/dist/RadioButton/RadioButton.styles.js +3 -3
  251. package/dist/Required/Required.styles.js +3 -3
  252. package/dist/Search/Search.styles.js +5 -5
  253. package/dist/Section/Section.styles.js +7 -7
  254. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  255. package/dist/Select/Select.styles.js +7 -7
  256. package/dist/Semantic/Semantic.styles.js +9 -9
  257. package/dist/Slider/Slider.styles.js +5 -5
  258. package/dist/Spinner/Spinner.js +5 -7
  259. package/dist/Spinner/Spinner.js.map +1 -1
  260. package/dist/Spinner/Spinner.styles.js +7 -7
  261. package/dist/SplitViewCard/SplitViewCard.styles.js +10 -10
  262. package/dist/SplitViewCard/SplitViewCard.styles.js.map +1 -1
  263. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  264. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  265. package/dist/Switch/Switch.styles.js +4 -4
  266. package/dist/Table/Table.styles.js +28 -28
  267. package/dist/TableShelf/TableShelf.styles.js +5 -5
  268. package/dist/Tabs/Tabs.styles.js +15 -15
  269. package/dist/Tearsheet/Tearsheet.styles.js +7 -7
  270. package/dist/Tearsheet/Tearsheet.styles.js.map +1 -1
  271. package/dist/Tearsheet/storybook/PageLayoutDemo.d.ts +4 -0
  272. package/dist/Tearsheet/storybook/PageLayoutDemo.js +164 -0
  273. package/dist/Tearsheet/storybook/PageLayoutDemo.js.map +1 -0
  274. package/dist/TextArea/TextArea.styles.js +1 -1
  275. package/dist/TextEditor/TextEditor.d.ts +2 -19
  276. package/dist/TextEditor/TextEditor.js +11 -169
  277. package/dist/TextEditor/TextEditor.js.map +1 -1
  278. package/dist/TextEditor/TextEditor.types.d.ts +19 -86
  279. package/dist/TextEditor/TextEditor.types.js.map +1 -1
  280. package/dist/TextEditor/TextEditorDocs.types.d.ts +65 -0
  281. package/dist/TextEditor/TextEditorDocs.types.js +2 -0
  282. package/dist/TextEditor/TextEditorDocs.types.js.map +1 -0
  283. package/dist/TextEditor/TextEditorProvider.d.ts +4 -0
  284. package/dist/TextEditor/TextEditorProvider.js +17 -0
  285. package/dist/TextEditor/TextEditorProvider.js.map +1 -0
  286. package/dist/TextEditor/TextEditorProvider.types.d.ts +14 -0
  287. package/dist/TextEditor/TextEditorProvider.types.js +2 -0
  288. package/dist/TextEditor/TextEditorProvider.types.js.map +1 -0
  289. package/dist/TextEditor/index.d.ts +4 -2
  290. package/dist/TextEditor/index.js +2 -1
  291. package/dist/TextEditor/index.js.map +1 -1
  292. package/dist/TextEditorOutput/TextEditorOutput.d.ts +6 -8
  293. package/dist/TextEditorOutput/TextEditorOutput.js +17 -34
  294. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  295. package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +16 -13
  296. package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
  297. package/dist/TextEditorOutput/TextEditorOutputDocs.types.d.ts +21 -0
  298. package/dist/TextEditorOutput/TextEditorOutputDocs.types.js +2 -0
  299. package/dist/TextEditorOutput/TextEditorOutputDocs.types.js.map +1 -0
  300. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  301. package/dist/Thumbnail/mocks/images/thumb_104x104_1.png +0 -0
  302. package/dist/Thumbnail/mocks/images/thumb_104x104_2.png +0 -0
  303. package/dist/Thumbnail/mocks/images/thumb_104x104_3.png +0 -0
  304. package/dist/Thumbnail/mocks/images/thumb_104x104_4.png +0 -0
  305. package/dist/Thumbnail/mocks/images/thumb_40x40_1.png +0 -0
  306. package/dist/Thumbnail/mocks/images/thumb_40x40_2.png +0 -0
  307. package/dist/Thumbnail/mocks/images/thumb_40x40_3.png +0 -0
  308. package/dist/Thumbnail/mocks/images/thumb_40x40_4.png +0 -0
  309. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  310. package/dist/TieredSelect/TierSelectionTieredSelect.js +3 -1
  311. package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
  312. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  313. package/dist/TieredSelect/TieredSelect.types.d.ts +4 -0
  314. package/dist/TieredSelect/TieredSelect.types.js.map +1 -1
  315. package/dist/Tile/Tile.styles.js +8 -8
  316. package/dist/Tile/mocks/dog.jpeg +0 -0
  317. package/dist/Tile/mocks/iframe.d.ts +5 -0
  318. package/dist/Tile/mocks/iframe.js +15 -0
  319. package/dist/Tile/mocks/iframe.js.map +1 -0
  320. package/dist/Tile/mocks/svg.d.ts +3 -0
  321. package/dist/Tile/mocks/svg.js +830 -0
  322. package/dist/Tile/mocks/svg.js.map +1 -0
  323. package/dist/Tile/mocks/video.mp4 +0 -0
  324. package/dist/Title/Title.styles.js +7 -7
  325. package/dist/Title/mocks/thumb_40x40_1.png +0 -0
  326. package/dist/Title/mocks/visual_placeholder_40x40.svg +9 -0
  327. package/dist/Toast/Toast.styles.js +3 -3
  328. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  329. package/dist/Token/Token.styles.js +3 -3
  330. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  331. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  332. package/dist/Tooltip/Tooltip.styles.js +2 -2
  333. package/dist/Tree/Tree.styles.js +9 -9
  334. package/dist/Tree/mocks/treeMockData.d.ts +8 -0
  335. package/dist/Tree/mocks/treeMockData.js +44 -0
  336. package/dist/Tree/mocks/treeMockData.js.map +1 -0
  337. package/dist/Typeahead/Typeahead.styles.js +3 -3
  338. package/dist/Typography/Typography.styles.js +1 -1
  339. package/dist/Typography/Typography.table.story.js +2 -2
  340. package/dist/_storyHelpers_/components/Deprecation.d.ts +3 -0
  341. package/dist/_storyHelpers_/components/Deprecation.js +10 -0
  342. package/dist/_storyHelpers_/components/Deprecation.js.map +1 -0
  343. package/dist/_storyHelpers_/components/Deprecation.styles.d.ts +4 -0
  344. package/dist/_storyHelpers_/components/Deprecation.styles.js +7 -0
  345. package/dist/_storyHelpers_/components/Deprecation.styles.js.map +1 -0
  346. package/dist/_storyHelpers_/components/Deprecation.types.d.ts +9 -0
  347. package/dist/_storyHelpers_/components/Deprecation.types.js +2 -0
  348. package/dist/_storyHelpers_/components/Deprecation.types.js.map +1 -0
  349. package/dist/_storyHelpers_/components/FullLayout.d.ts +6 -0
  350. package/dist/_storyHelpers_/components/FullLayout.js +15 -0
  351. package/dist/_storyHelpers_/components/FullLayout.js.map +1 -0
  352. package/dist/_storyHelpers_/components/StoryGrid.d.ts +7 -0
  353. package/dist/_storyHelpers_/components/StoryGrid.js +40 -0
  354. package/dist/_storyHelpers_/components/StoryGrid.js.map +1 -0
  355. package/dist/_storyHelpers_/components/WithNavigationLayout.d.ts +2 -0
  356. package/dist/_storyHelpers_/components/WithNavigationLayout.js +47 -0
  357. package/dist/_storyHelpers_/components/WithNavigationLayout.js.map +1 -0
  358. package/dist/_storyHelpers_/constants.d.ts +35 -0
  359. package/dist/_storyHelpers_/constants.js +168 -0
  360. package/dist/_storyHelpers_/constants.js.map +1 -0
  361. package/dist/_storyHelpers_/decorators/fullLayoutDecorator.d.ts +3 -0
  362. package/dist/_storyHelpers_/decorators/fullLayoutDecorator.js +8 -0
  363. package/dist/_storyHelpers_/decorators/fullLayoutDecorator.js.map +1 -0
  364. package/dist/_storyHelpers_/effects/useWaitForElement.d.ts +1 -0
  365. package/dist/_storyHelpers_/effects/useWaitForElement.js +24 -0
  366. package/dist/_storyHelpers_/effects/useWaitForElement.js.map +1 -0
  367. package/dist/_storyHelpers_/mocks/dropzoneMockData.d.ts +13 -0
  368. package/dist/_storyHelpers_/mocks/dropzoneMockData.js +39 -0
  369. package/dist/_storyHelpers_/mocks/dropzoneMockData.js.map +1 -0
  370. package/dist/_storyHelpers_/mocks/pillSelectMockData.d.ts +6 -0
  371. package/dist/_storyHelpers_/mocks/pillSelectMockData.js +22 -0
  372. package/dist/_storyHelpers_/mocks/pillSelectMockData.js.map +1 -0
  373. package/dist/_storyHelpers_/mocks/selectMockData.d.ts +11 -0
  374. package/dist/_storyHelpers_/mocks/selectMockData.js +36 -0
  375. package/dist/_storyHelpers_/mocks/selectMockData.js.map +1 -0
  376. package/dist/_storyHelpers_/mocks/tableMockData.d.ts +4 -0
  377. package/dist/_storyHelpers_/mocks/tableMockData.js +38 -0
  378. package/dist/_storyHelpers_/mocks/tableMockData.js.map +1 -0
  379. package/dist/_storyHelpers_/mocks/tieredSelect.d.ts +77 -0
  380. package/dist/_storyHelpers_/mocks/tieredSelect.js +277 -0
  381. package/dist/_storyHelpers_/mocks/tieredSelect.js.map +1 -0
  382. package/dist/_styles/mixins.d.ts +4 -0
  383. package/dist/_styles/mixins.js +7 -0
  384. package/dist/_styles/mixins.js.map +1 -1
  385. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  386. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  387. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  388. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  389. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  390. package/dist/_typedoc/Box/Box.types.json +68 -68
  391. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  392. package/dist/_typedoc/Button/Button.types.json +13 -13
  393. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  394. package/dist/_typedoc/Card/Card.types.json +6 -6
  395. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  396. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  397. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  398. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  399. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  400. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  401. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  402. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  403. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  404. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  405. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  406. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  407. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  408. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  409. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  410. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  411. package/dist/_typedoc/Form/Form.types.json +929 -773
  412. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  413. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  414. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  415. package/dist/_typedoc/Input/Input.types.json +2 -2
  416. package/dist/_typedoc/Link/Link.types.json +1 -1
  417. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  418. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  419. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  420. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  421. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  422. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  423. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  424. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  425. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  426. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
  427. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  428. package/dist/_typedoc/Panel/Panel.types.json +30 -30
  429. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  430. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  431. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  432. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  433. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  434. package/dist/_typedoc/Required/Required.types.json +5 -5
  435. package/dist/_typedoc/Search/Search.types.json +18 -18
  436. package/dist/_typedoc/Section/Section.types.json +15 -15
  437. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  438. package/dist/_typedoc/Select/Select.types.json +60 -60
  439. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  440. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  441. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  442. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  443. package/dist/_typedoc/Table/Table.types.json +101 -101
  444. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  445. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  446. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  447. package/dist/_typedoc/TextEditor/TextEditor.types.json +1 -100
  448. package/dist/_typedoc/TextEditor/TextEditorDocs.types.json +98 -0
  449. package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +28 -0
  450. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +6 -42
  451. package/dist/_typedoc/TextEditorOutput/TextEditorOutputDocs.types.json +38 -0
  452. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  453. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  454. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  455. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  456. package/dist/_typedoc/Title/Title.types.json +1 -1
  457. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  458. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  459. package/dist/_typedoc/Token/Token.types.json +6 -6
  460. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  461. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  462. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  463. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  464. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  465. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  466. package/dist/_typedoc/_utils/types.json +3 -3
  467. package/dist/_typedoc/deprecations.json +1 -1
  468. package/dist/_utils/propsTypedoc.d.ts +3 -0
  469. package/dist/_utils/propsTypedoc.js +3 -0
  470. package/dist/_utils/propsTypedoc.js.map +1 -1
  471. package/jestConfig.js +52 -0
  472. package/package.json +26 -11
  473. package/.eslintignore +0 -4
  474. package/.eslintrc.cjs +0 -54
  475. package/__mocks__/@react-aria/utils.js +0 -10
  476. package/babel.config.js +0 -40
  477. package/dist/TextEditor/TextEditor.styles.js.map +0 -1
  478. package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +0 -1
  479. package/tsconfig.json +0 -24
  480. package/tsconfig.prod.json +0 -11
  481. package/tsconfig.test.json +0 -4
  482. /package/dist/{TextEditor/TextEditor.styles.d.ts → DeprecatedTextEditor/DeprecatedTextEditor.styles.d.ts} +0 -0
  483. /package/dist/{TextEditorOutput/TextEditorOutput.styles.d.ts → DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.d.ts} +0 -0
@@ -0,0 +1,277 @@
1
+ export var tiers = [{
2
+ id: 1,
3
+ groupId: null,
4
+ nextGroupId: 10,
5
+ label: 'Apple Farm',
6
+ disabled: true
7
+ }, {
8
+ id: 17,
9
+ groupId: 10,
10
+ nextGroupId: 100,
11
+ label: 'Granny Smith'
12
+ },
13
+ // The tiered select works with an array of objects to build a tier,
14
+ // having the items above this comment be in the correct order to complete a tier greater than 1,
15
+ // allows an easy initial value without needing to know the location of the next object
16
+ {
17
+ id: 2,
18
+ groupId: null,
19
+ nextGroupId: 20,
20
+ label: "Tim's Trees"
21
+ }, {
22
+ id: 3,
23
+ groupId: null,
24
+ nextGroupId: 30,
25
+ label: 'Sports R Us',
26
+ disabled: true
27
+ }, {
28
+ id: 4,
29
+ groupId: null,
30
+ nextGroupId: 30,
31
+ label: 'Sail It Again Ports'
32
+ }, {
33
+ id: 5,
34
+ groupId: null,
35
+ nextGroupId: 30,
36
+ label: 'Dublix'
37
+ }, {
38
+ id: 6,
39
+ groupId: null,
40
+ nextGroupId: 30,
41
+ label: 'The Hardees Boys'
42
+ }, {
43
+ id: 7,
44
+ groupId: null,
45
+ nextGroupId: 30,
46
+ label: 'Carls Senior'
47
+ }, {
48
+ id: 8,
49
+ groupId: null,
50
+ nextGroupId: 30,
51
+ label: 'Tar J'
52
+ }, {
53
+ id: 9,
54
+ groupId: null,
55
+ nextGroupId: 30,
56
+ label: 'Innovation Station'
57
+ }, {
58
+ id: 10,
59
+ groupId: null,
60
+ nextGroupId: 30,
61
+ label: 'Innovation Nation'
62
+ }, {
63
+ id: 11,
64
+ groupId: null,
65
+ nextGroupId: 30,
66
+ label: 'Global Studios'
67
+ }, {
68
+ id: 12,
69
+ groupId: null,
70
+ nextGroupId: 30,
71
+ label: "Ralphie's"
72
+ }, {
73
+ id: 13,
74
+ groupId: null,
75
+ nextGroupId: 30,
76
+ label: 'Humble State University'
77
+ }, {
78
+ id: 14,
79
+ groupId: null,
80
+ nextGroupId: 30,
81
+ label: 'Test Driven Devolvement'
82
+ }, {
83
+ id: 15,
84
+ groupId: null,
85
+ nextGroupId: 30,
86
+ label: 'The Drilling Company'
87
+ }, {
88
+ id: 16,
89
+ groupId: null,
90
+ nextGroupId: 30,
91
+ label: 'Wrapping text that is very long and will definitely wrap onto two or more lines'
92
+ }, {
93
+ id: 18,
94
+ groupId: 10,
95
+ nextGroupId: 101,
96
+ label: 'Gala'
97
+ }, {
98
+ id: 19,
99
+ groupId: 20,
100
+ nextGroupId: 200,
101
+ label: 'Palm'
102
+ }, {
103
+ id: 20,
104
+ groupId: 20,
105
+ nextGroupId: 201,
106
+ label: 'Pine',
107
+ disabled: true
108
+ }, {
109
+ id: 21,
110
+ groupId: 30,
111
+ nextGroupId: 300,
112
+ label: 'Project Basketball'
113
+ }, {
114
+ id: 22,
115
+ groupId: 30,
116
+ nextGroupId: 301,
117
+ label: 'Table Tennis'
118
+ }, {
119
+ id: 23,
120
+ groupId: 30,
121
+ label: 'Table Ten'
122
+ }, {
123
+ id: 24,
124
+ groupId: 100,
125
+ label: 'Michigan'
126
+ }, {
127
+ id: 25,
128
+ groupId: 101,
129
+ label: 'Washington'
130
+ }, {
131
+ id: 26,
132
+ groupId: 200,
133
+ label: 'Georgia'
134
+ }, {
135
+ id: 27,
136
+ groupId: 201,
137
+ label: 'California'
138
+ }, {
139
+ id: 28,
140
+ groupId: 300,
141
+ label: 'Toronto'
142
+ }, {
143
+ id: 29,
144
+ groupId: 301,
145
+ nextGroupId: 302,
146
+ label: 'Wrap'
147
+ }, {
148
+ id: 30,
149
+ groupId: 302,
150
+ nextGroupId: 303,
151
+ label: 'Wrap'
152
+ }, {
153
+ id: 31,
154
+ groupId: 303,
155
+ nextGroupId: 304,
156
+ label: 'Wrap'
157
+ }, {
158
+ id: 32,
159
+ groupId: 304,
160
+ nextGroupId: 305,
161
+ label: 'Wrap'
162
+ }, {
163
+ id: 33,
164
+ groupId: 305,
165
+ nextGroupId: 306,
166
+ label: 'Wrap'
167
+ }, {
168
+ id: 34,
169
+ groupId: 306,
170
+ nextGroupId: 307,
171
+ label: 'Wrap'
172
+ }, {
173
+ id: 35,
174
+ groupId: 307,
175
+ label: 'Wrap'
176
+ }, {
177
+ id: 36,
178
+ groupId: 307,
179
+ label: 'Wrapping text that is very long and will definitely wrap onto two or more lines'
180
+ }];
181
+ export var longNamedTiers = [{
182
+ id: 1,
183
+ groupId: null,
184
+ nextGroupId: 2,
185
+ label: 'Wrapping text that is very long and will definitely wrap onto two or more lines'
186
+ }, {
187
+ id: 2,
188
+ groupId: null,
189
+ label: 'Another wrapping text that is very long and will definitely wrap onto two or more lines'
190
+ }, {
191
+ id: 3,
192
+ groupId: 2,
193
+ label: 'Apple Farm'
194
+ }, {
195
+ id: 4,
196
+ groupId: 2,
197
+ label: "Tim's Trees"
198
+ }];
199
+ export var shortTiersList = [{
200
+ id: 1,
201
+ groupId: null,
202
+ nextGroupId: 2,
203
+ label: 'Apple Farm'
204
+ }, {
205
+ id: 2,
206
+ groupId: null,
207
+ nextGroupId: 2,
208
+ label: "Tim's Trees"
209
+ }, {
210
+ id: 3,
211
+ groupId: null,
212
+ nextGroupId: 2,
213
+ label: 'Wrapping text that is very long and will definitely wrap onto two or more lines'
214
+ }, {
215
+ id: 5,
216
+ groupId: null,
217
+ label: 'Dublix'
218
+ }, {
219
+ id: 6,
220
+ groupId: null,
221
+ label: 'The Hardees Boys'
222
+ }];
223
+
224
+ // Note: these will need to be generated
225
+ export var hardcodedLeafNodeTierValues = [{
226
+ tiers: [{
227
+ id: 1,
228
+ groupId: null,
229
+ nextGroupId: 10,
230
+ label: 'Apple Farm'
231
+ }, {
232
+ id: 4,
233
+ groupId: 10,
234
+ nextGroupId: 40,
235
+ label: 'Gala Orchard'
236
+ }, {
237
+ id: 7,
238
+ groupId: 40,
239
+ label: 'Tree 10'
240
+ }],
241
+ label: 'Apple Farm > Gala Orchard > Tree 10'
242
+ }, {
243
+ tiers: [{
244
+ id: 2,
245
+ groupId: null,
246
+ nextGroupId: 20,
247
+ label: "Tim's Trees"
248
+ }, {
249
+ id: 5,
250
+ groupId: 20,
251
+ nextGroupId: 50,
252
+ label: 'Row 9'
253
+ }, {
254
+ id: 8,
255
+ groupId: 50,
256
+ label: 'Pine'
257
+ }],
258
+ label: "Tim's Trees > Row 9 > Pine"
259
+ }, {
260
+ tiers: [{
261
+ id: 3,
262
+ groupId: null,
263
+ nextGroupId: 30,
264
+ label: 'Sports R Us'
265
+ }, {
266
+ id: 6,
267
+ groupId: 30,
268
+ nextGroupId: 60,
269
+ label: 'Football Dept'
270
+ }, {
271
+ id: 9,
272
+ groupId: 60,
273
+ label: 'Helmets'
274
+ }],
275
+ label: 'Sports R Us > Football Dept > Helmets'
276
+ }];
277
+ //# sourceMappingURL=tieredSelect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tieredSelect.js","names":["tiers","id","groupId","nextGroupId","label","disabled","longNamedTiers","shortTiersList","hardcodedLeafNodeTierValues"],"sources":["../../../src/_storyHelpers_/mocks/tieredSelect.ts"],"sourcesContent":["export const tiers = [\n {\n id: 1,\n groupId: null,\n nextGroupId: 10,\n label: 'Apple Farm',\n disabled: true,\n },\n {\n id: 17,\n groupId: 10,\n nextGroupId: 100,\n label: 'Granny Smith',\n },\n // The tiered select works with an array of objects to build a tier,\n // having the items above this comment be in the correct order to complete a tier greater than 1,\n // allows an easy initial value without needing to know the location of the next object\n {\n id: 2,\n groupId: null,\n nextGroupId: 20,\n label: \"Tim's Trees\",\n },\n {\n id: 3,\n groupId: null,\n nextGroupId: 30,\n label: 'Sports R Us',\n disabled: true,\n },\n {\n id: 4,\n groupId: null,\n nextGroupId: 30,\n label: 'Sail It Again Ports',\n },\n {\n id: 5,\n groupId: null,\n nextGroupId: 30,\n label: 'Dublix',\n },\n {\n id: 6,\n groupId: null,\n nextGroupId: 30,\n label: 'The Hardees Boys',\n },\n {\n id: 7,\n groupId: null,\n nextGroupId: 30,\n label: 'Carls Senior',\n },\n {\n id: 8,\n groupId: null,\n nextGroupId: 30,\n label: 'Tar J',\n },\n {\n id: 9,\n groupId: null,\n nextGroupId: 30,\n label: 'Innovation Station',\n },\n {\n id: 10,\n groupId: null,\n nextGroupId: 30,\n label: 'Innovation Nation',\n },\n {\n id: 11,\n groupId: null,\n nextGroupId: 30,\n label: 'Global Studios',\n },\n {\n id: 12,\n groupId: null,\n nextGroupId: 30,\n label: \"Ralphie's\",\n },\n {\n id: 13,\n groupId: null,\n nextGroupId: 30,\n label: 'Humble State University',\n },\n {\n id: 14,\n groupId: null,\n nextGroupId: 30,\n label: 'Test Driven Devolvement',\n },\n {\n id: 15,\n groupId: null,\n nextGroupId: 30,\n label: 'The Drilling Company',\n },\n {\n id: 16,\n groupId: null,\n nextGroupId: 30,\n label:\n 'Wrapping text that is very long and will definitely wrap onto two or more lines',\n },\n {\n id: 18,\n groupId: 10,\n nextGroupId: 101,\n label: 'Gala',\n },\n {\n id: 19,\n groupId: 20,\n nextGroupId: 200,\n label: 'Palm',\n },\n {\n id: 20,\n groupId: 20,\n nextGroupId: 201,\n label: 'Pine',\n disabled: true,\n },\n {\n id: 21,\n groupId: 30,\n nextGroupId: 300,\n label: 'Project Basketball',\n },\n {\n id: 22,\n groupId: 30,\n nextGroupId: 301,\n label: 'Table Tennis',\n },\n {\n id: 23,\n groupId: 30,\n label: 'Table Ten',\n },\n {\n id: 24,\n groupId: 100,\n label: 'Michigan',\n },\n {\n id: 25,\n groupId: 101,\n label: 'Washington',\n },\n {\n id: 26,\n groupId: 200,\n label: 'Georgia',\n },\n {\n id: 27,\n groupId: 201,\n label: 'California',\n },\n {\n id: 28,\n groupId: 300,\n label: 'Toronto',\n },\n {\n id: 29,\n groupId: 301,\n nextGroupId: 302,\n label: 'Wrap',\n },\n {\n id: 30,\n groupId: 302,\n nextGroupId: 303,\n label: 'Wrap',\n },\n {\n id: 31,\n groupId: 303,\n nextGroupId: 304,\n label: 'Wrap',\n },\n {\n id: 32,\n groupId: 304,\n nextGroupId: 305,\n label: 'Wrap',\n },\n {\n id: 33,\n groupId: 305,\n nextGroupId: 306,\n label: 'Wrap',\n },\n {\n id: 34,\n groupId: 306,\n nextGroupId: 307,\n label: 'Wrap',\n },\n {\n id: 35,\n groupId: 307,\n label: 'Wrap',\n },\n {\n id: 36,\n groupId: 307,\n label:\n 'Wrapping text that is very long and will definitely wrap onto two or more lines',\n },\n]\n\nexport const longNamedTiers = [\n {\n id: 1,\n groupId: null,\n nextGroupId: 2,\n label:\n 'Wrapping text that is very long and will definitely wrap onto two or more lines',\n },\n {\n id: 2,\n groupId: null,\n label:\n 'Another wrapping text that is very long and will definitely wrap onto two or more lines',\n },\n {\n id: 3,\n groupId: 2,\n label: 'Apple Farm',\n },\n {\n id: 4,\n groupId: 2,\n label: \"Tim's Trees\",\n },\n]\n\nexport const shortTiersList = [\n {\n id: 1,\n groupId: null,\n nextGroupId: 2,\n label: 'Apple Farm',\n },\n {\n id: 2,\n groupId: null,\n nextGroupId: 2,\n label: \"Tim's Trees\",\n },\n {\n id: 3,\n groupId: null,\n nextGroupId: 2,\n label:\n 'Wrapping text that is very long and will definitely wrap onto two or more lines',\n },\n {\n id: 5,\n groupId: null,\n label: 'Dublix',\n },\n {\n id: 6,\n groupId: null,\n label: 'The Hardees Boys',\n },\n]\n\n// Note: these will need to be generated\nexport const hardcodedLeafNodeTierValues = [\n {\n tiers: [\n {\n id: 1,\n groupId: null,\n nextGroupId: 10,\n label: 'Apple Farm',\n },\n {\n id: 4,\n groupId: 10,\n nextGroupId: 40,\n label: 'Gala Orchard',\n },\n {\n id: 7,\n groupId: 40,\n label: 'Tree 10',\n },\n ],\n label: 'Apple Farm > Gala Orchard > Tree 10',\n },\n {\n tiers: [\n {\n id: 2,\n groupId: null,\n nextGroupId: 20,\n label: \"Tim's Trees\",\n },\n {\n id: 5,\n groupId: 20,\n nextGroupId: 50,\n label: 'Row 9',\n },\n {\n id: 8,\n groupId: 50,\n label: 'Pine',\n },\n ],\n label: \"Tim's Trees > Row 9 > Pine\",\n },\n {\n tiers: [\n {\n id: 3,\n groupId: null,\n nextGroupId: 30,\n label: 'Sports R Us',\n },\n {\n id: 6,\n groupId: 30,\n nextGroupId: 60,\n label: 'Football Dept',\n },\n {\n id: 9,\n groupId: 60,\n label: 'Helmets',\n },\n ],\n label: 'Sports R Us > Football Dept > Helmets',\n },\n]\n"],"mappings":"AAAA,OAAO,IAAMA,KAAK,GAAG,CACnB;EACEC,EAAE,EAAE,CAAC;EACLC,OAAO,EAAE,IAAI;EACbC,WAAW,EAAE,EAAE;EACfC,KAAK,EAAE,YAAY;EACnBC,QAAQ,EAAE;AACZ,CAAC,EACD;EACEJ,EAAE,EAAE,EAAE;EACNC,OAAO,EAAE,EAAE;EACXC,WAAW,EAAE,GAAG;EAChBC,KAAK,EAAE;AACT,CAAC;AACD;AACA;AACA;AACA;EACEH,EAAE,EAAE,CAAC;EACLC,OAAO,EAAE,IAAI;EACbC,WAAW,EAAE,EAAE;EACfC,KAAK,EAAE;AACT,CAAC,EACD;EACEH,EAAE,EAAE,CAAC;EACLC,OAAO,EAAE,IAAI;EACbC,WAAW,EAAE,EAAE;EACfC,KAAK,EAAE,aAAa;EACpBC,QAAQ,EAAE;AACZ,CAAC,EACD;EACEJ,EAAE,EAAE,CAAC;EACLC,OAAO,EAAE,IAAI;EACbC,WAAW,EAAE,EAAE;EACfC,KAAK,EAAE;AACT,CAAC,EACD;EACEH,EAAE,EAAE,CAAC;EAC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AAE;IACXC,WAAW,EAAE,EAAE;IACfC,KAAK,EAAE;EACT,CAAC,EACD;IACEH,EAAE,EAAE,CAAC;IACLC,OAAO,EAAE,EAAE;IACXE,KAAK,EAAE;EACT,CAAC,CACF;EACDA,KAAK,EAAE;AACT,CAAC,CACF"}
@@ -12,6 +12,10 @@ export declare function getEllipsis(): import("styled-components").RuleSet<objec
12
12
  * (rounded elements will still have square outline)
13
13
  */
14
14
  export declare function getFocus(): import("styled-components").RuleSet<object>;
15
+ /**
16
+ * Useful when overflow could clip the outer pixel.
17
+ */
18
+ export declare function getFocusInset(): import("styled-components").RuleSet<object>;
15
19
  export declare function getLineClamp(lines?: number): import("styled-components").RuleSet<{
16
20
  intent?: Intent | undefined;
17
21
  }>;
@@ -20,6 +20,13 @@ export function getEllipsis() {
20
20
  * (rounded elements will still have square outline)
21
21
  */
22
22
  export function getFocus() {
23
+ return css(["border-style:solid;border-width:1px;border-color:", ";box-shadow:0 0 0 1px ", ";outline:none;"], focusBlue, focusBlue);
24
+ }
25
+
26
+ /**
27
+ * Useful when overflow could clip the outer pixel.
28
+ */
29
+ export function getFocusInset() {
23
30
  return css(["border-style:solid;border-width:1px;border-color:", ";box-shadow:inset 0 0 1px 0 ", ";outline:none;"], focusBlue, focusBlue);
24
31
  }
25
32
  export function getLineClamp() {
@@ -1 +1 @@
1
- {"version":3,"file":"mixins.js","names":["css","typographyLineHeight","colors","focusBlue","blue40","focusable","getGapOutlineFocus","defaultTransition","getEllipsis","getFocus","getLineClamp","lines","arguments","length","undefined","_ref","_ref$intent","intent"],"sources":["../../src/_styles/mixins.ts"],"sourcesContent":["import { css } from 'styled-components'\nimport { typographyLineHeight } from '../Typography/Typography.styles'\nimport type { Intent } from '../Typography/Typography.types'\nimport { colors } from './colors'\n\nexport const focusBlue = colors.blue40\n\n/**\n * Using box-shadow only, will not change size with a border.\n */\nexport const focusable = css`\n &.focus,\n &:focus {\n outline: none;\n box-shadow: 0 0 0 1px ${focusBlue}, inset 0 0 0 1px ${focusBlue};\n }\n`\n\nexport function getGapOutlineFocus() {\n return css`\n outline: ${focusBlue} solid 2px;\n outline-offset: 1px;\n `\n}\n\nexport const defaultTransition = css`\n transition: all 0.2s ease-in;\n`\n\nexport function getEllipsis() {\n return css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `\n}\n\n/**\n * `border` is used instead of `outline` intentionally - as `outline` can't handle `border-radius`\n * (rounded elements will still have square outline)\n */\nexport function getFocus() {\n return css`\n border-style: solid;\n border-width: 1px;\n border-color: ${focusBlue};\n box-shadow: inset 0 0 1px 0 ${focusBlue};\n outline: none;\n `\n}\n\nexport function getLineClamp(lines = 2) {\n return css<{ intent?: Intent }>`\n display: -webkit-box;\n -webkit-line-clamp: ${lines};\n -webkit-box-orient: vertical;\n overflow: hidden;\n ${({ intent = 'body' }) => css`\n // limit height for browsers that do not support line-clamp CSS prop\n max-height: ${typographyLineHeight[intent] * 2}px;\n `}\n `\n}\n"],"mappings":"AAAA,SAASA,GAAG,QAAQ,mBAAmB;AACvC,SAASC,oBAAoB,QAAQ,iCAAiC;AAEtE,SAASC,MAAM,QAAQ,UAAU;AAEjC,OAAO,IAAMC,SAAS,GAAGD,MAAM,CAACE,MAAM;;AAEtC;AACA;AACA;AACA,OAAO,IAAMC,SAAS,gBAAGL,GAAG,oFAIAG,SAAS,EAAqBA,SAAS,CAElE;AAED,OAAO,SAASG,kBAAkBA,CAAA,EAAG;EACnC,OAAON,GAAG,iDACGG,SAAS;AAGxB;AAEA,OAAO,IAAMI,iBAAiB,gBAAGP,GAAG,kCAEnC;AAED,OAAO,SAASQ,WAAWA,CAAA,EAAG;EAC5B,OAAOR,GAAG;AAKZ;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASS,QAAQA,CAAA,EAAG;EACzB,OAAOT,GAAG,0GAGQG,SAAS,EACKA,SAAS;AAG3C;AAEA,OAAO,SAASO,YAAYA,CAAA,EAAY;EAAA,IAAXC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EACpC,OAAOZ,GAAG,mGAEcW,KAAK,EAGzB,UAAAI,IAAA;IAAA,IAAAC,WAAA,GAAAD,IAAA,CAAGE,MAAM;MAANA,MAAM,GAAAD,WAAA,cAAG,MAAM,GAAAA,WAAA;IAAA,OAAOhB,GAAG,yBAEdC,oBAAoB,CAACgB,MAAM,CAAC,GAAG,CAAC;EAAA,CAC/C;AAEL"}
1
+ {"version":3,"file":"mixins.js","names":["css","typographyLineHeight","colors","focusBlue","blue40","focusable","getGapOutlineFocus","defaultTransition","getEllipsis","getFocus","getFocusInset","getLineClamp","lines","arguments","length","undefined","_ref","_ref$intent","intent"],"sources":["../../src/_styles/mixins.ts"],"sourcesContent":["import { css } from 'styled-components'\nimport { typographyLineHeight } from '../Typography/Typography.styles'\nimport type { Intent } from '../Typography/Typography.types'\nimport { colors } from './colors'\n\nexport const focusBlue = colors.blue40\n\n/**\n * Using box-shadow only, will not change size with a border.\n */\nexport const focusable = css`\n &.focus,\n &:focus {\n outline: none;\n box-shadow: 0 0 0 1px ${focusBlue}, inset 0 0 0 1px ${focusBlue};\n }\n`\n\nexport function getGapOutlineFocus() {\n return css`\n outline: ${focusBlue} solid 2px;\n outline-offset: 1px;\n `\n}\n\nexport const defaultTransition = css`\n transition: all 0.2s ease-in;\n`\n\nexport function getEllipsis() {\n return css`\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n `\n}\n\n/**\n * `border` is used instead of `outline` intentionally - as `outline` can't handle `border-radius`\n * (rounded elements will still have square outline)\n */\nexport function getFocus() {\n return css`\n border-style: solid;\n border-width: 1px;\n border-color: ${focusBlue};\n box-shadow: 0 0 0 1px ${focusBlue};\n outline: none;\n `\n}\n\n/**\n * Useful when overflow could clip the outer pixel.\n */\nexport function getFocusInset() {\n return css`\n border-style: solid;\n border-width: 1px;\n border-color: ${focusBlue};\n box-shadow: inset 0 0 1px 0 ${focusBlue};\n outline: none;\n `\n}\n\nexport function getLineClamp(lines = 2) {\n return css<{ intent?: Intent }>`\n display: -webkit-box;\n -webkit-line-clamp: ${lines};\n -webkit-box-orient: vertical;\n overflow: hidden;\n ${({ intent = 'body' }) => css`\n // limit height for browsers that do not support line-clamp CSS prop\n max-height: ${typographyLineHeight[intent] * 2}px;\n `}\n `\n}\n"],"mappings":"AAAA,SAASA,GAAG,QAAQ,mBAAmB;AACvC,SAASC,oBAAoB,QAAQ,iCAAiC;AAEtE,SAASC,MAAM,QAAQ,UAAU;AAEjC,OAAO,IAAMC,SAAS,GAAGD,MAAM,CAACE,MAAM;;AAEtC;AACA;AACA;AACA,OAAO,IAAMC,SAAS,gBAAGL,GAAG,oFAIAG,SAAS,EAAqBA,SAAS,CAElE;AAED,OAAO,SAASG,kBAAkBA,CAAA,EAAG;EACnC,OAAON,GAAG,iDACGG,SAAS;AAGxB;AAEA,OAAO,IAAMI,iBAAiB,gBAAGP,GAAG,kCAEnC;AAED,OAAO,SAASQ,WAAWA,CAAA,EAAG;EAC5B,OAAOR,GAAG;AAKZ;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASS,QAAQA,CAAA,EAAG;EACzB,OAAOT,GAAG,oGAGQG,SAAS,EACDA,SAAS;AAGrC;;AAEA;AACA;AACA;AACA,OAAO,SAASO,aAAaA,CAAA,EAAG;EAC9B,OAAOV,GAAG,0GAGQG,SAAS,EACKA,SAAS;AAG3C;AAEA,OAAO,SAASQ,YAAYA,CAAA,EAAY;EAAA,IAAXC,KAAK,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC;EACpC,OAAOb,GAAG,mGAEcY,KAAK,EAGzB,UAAAI,IAAA;IAAA,IAAAC,WAAA,GAAAD,IAAA,CAAGE,MAAM;MAANA,MAAM,GAAAD,WAAA,cAAG,MAAM,GAAAA,WAAA;IAAA,OAAOjB,GAAG,yBAEdC,oBAAoB,CAACiB,MAAM,CAAC,GAAG,CAAC;EAAA,CAC/C;AAEL"}
@@ -10,7 +10,7 @@
10
10
  "description": "An array of sections used in the anchor navigation.",
11
11
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>An array of sections used in the anchor navigation.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
12
12
  "sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
13
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L15"
13
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L15"
14
14
  },
15
15
  {
16
16
  "name": "selected",
@@ -20,7 +20,7 @@
20
20
  "description": "The ID of the currently selected section.",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The ID of the currently selected section.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
22
22
  "sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
23
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L20"
23
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L20"
24
24
  },
25
25
  {
26
26
  "name": "onSelect",
@@ -30,7 +30,7 @@
30
30
  "description": "Callback function to update the selected section ID.",
31
31
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback function to update the selected section ID.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
32
32
  "sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
33
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L25"
33
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L25"
34
34
  }
35
35
  ],
36
36
  "description": ""
@@ -10,7 +10,7 @@
10
10
  "description": "",
11
11
  "descriptionHtml": "",
12
12
  "sourceFile": "packages/core-react/src/_utils/types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L42"
13
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L42"
14
14
  },
15
15
  {
16
16
  "name": "className",
@@ -20,7 +20,7 @@
20
20
  "description": "Additional classNames",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
22
22
  "sourceFile": "packages/core-react/src/_utils/types.ts",
23
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L47"
23
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L47"
24
24
  },
25
25
  {
26
26
  "name": "icon",
@@ -30,7 +30,7 @@
30
30
  "description": "The icon to display",
31
31
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The icon to display</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
32
32
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
33
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L100"
33
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L100"
34
34
  },
35
35
  {
36
36
  "name": "style",
@@ -40,7 +40,7 @@
40
40
  "description": "Additional CSS styles",
41
41
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
42
42
  "sourceFile": "packages/core-react/src/_utils/types.ts",
43
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L52"
43
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L52"
44
44
  }
45
45
  ],
46
46
  "description": ""
@@ -56,7 +56,7 @@
56
56
  "description": "",
57
57
  "descriptionHtml": "",
58
58
  "sourceFile": "packages/core-react/src/_utils/types.ts",
59
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L42"
59
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L42"
60
60
  },
61
61
  {
62
62
  "name": "className",
@@ -66,7 +66,7 @@
66
66
  "description": "Additional classNames",
67
67
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
68
68
  "sourceFile": "packages/core-react/src/_utils/types.ts",
69
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L47"
69
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L47"
70
70
  },
71
71
  {
72
72
  "name": "style",
@@ -76,7 +76,7 @@
76
76
  "description": "Additional CSS styles",
77
77
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
78
78
  "sourceFile": "packages/core-react/src/_utils/types.ts",
79
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L52"
79
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L52"
80
80
  }
81
81
  ],
82
82
  "description": ""
@@ -92,7 +92,7 @@
92
92
  "description": "",
93
93
  "descriptionHtml": "",
94
94
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
95
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L12"
95
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L12"
96
96
  },
97
97
  {
98
98
  "name": "img",
@@ -102,7 +102,7 @@
102
102
  "description": "",
103
103
  "descriptionHtml": "",
104
104
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
105
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L13"
105
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L13"
106
106
  },
107
107
  {
108
108
  "name": "link",
@@ -112,7 +112,7 @@
112
112
  "description": "",
113
113
  "descriptionHtml": "",
114
114
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
115
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L14"
115
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L14"
116
116
  }
117
117
  ],
118
118
  "description": ""
@@ -128,7 +128,7 @@
128
128
  "description": "",
129
129
  "descriptionHtml": "",
130
130
  "sourceFile": "packages/core-react/src/_utils/types.ts",
131
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L42"
131
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L42"
132
132
  },
133
133
  {
134
134
  "name": "className",
@@ -138,7 +138,7 @@
138
138
  "description": "Additional classNames",
139
139
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
140
140
  "sourceFile": "packages/core-react/src/_utils/types.ts",
141
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L47"
141
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L47"
142
142
  },
143
143
  {
144
144
  "name": "imageUrl",
@@ -148,7 +148,7 @@
148
148
  "description": "The Avatar rich media url",
149
149
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The Avatar rich media url</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
150
150
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
151
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L108"
151
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L108"
152
152
  },
153
153
  {
154
154
  "name": "style",
@@ -158,7 +158,7 @@
158
158
  "description": "Additional CSS styles",
159
159
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
160
160
  "sourceFile": "packages/core-react/src/_utils/types.ts",
161
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L52"
161
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L52"
162
162
  }
163
163
  ],
164
164
  "description": ""
@@ -174,7 +174,7 @@
174
174
  "description": "",
175
175
  "descriptionHtml": "",
176
176
  "sourceFile": "packages/core-react/src/_utils/types.ts",
177
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L42"
177
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L42"
178
178
  },
179
179
  {
180
180
  "name": "className",
@@ -184,7 +184,7 @@
184
184
  "description": "Additional classNames",
185
185
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
186
186
  "sourceFile": "packages/core-react/src/_utils/types.ts",
187
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L47"
187
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L47"
188
188
  },
189
189
  {
190
190
  "name": "clickable",
@@ -197,7 +197,7 @@
197
197
  "deprecated": "Reviewing for removal from system, prefer accessible `role=\"link\"` or `role=\"button\"` for interactive UI.",
198
198
  "deprecatedSince": "TBD",
199
199
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
200
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L34"
200
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L34"
201
201
  },
202
202
  {
203
203
  "name": "disabled",
@@ -208,7 +208,7 @@
208
208
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets the Avatar&#39;s disabled state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
209
209
  "defaultValue": "false\n",
210
210
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
211
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L40"
211
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L40"
212
212
  },
213
213
  {
214
214
  "name": "size",
@@ -221,7 +221,7 @@
221
221
  "deprecated": "\n\nSize \"xl\" and \"sm\" have been deprecated and will be removed in a future version.\nPlease use \"lg\" instead of \"xl\".\n\n**Before**\n\n`<Avatar size=\"xl\" />`\n\n**After**\n\n`<Avatar size=\"lg\" />`\n",
222
222
  "deprecatedSince": "10.20.0",
223
223
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
224
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/Avatar/Avatar.types.ts#L62"
224
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/Avatar/Avatar.types.ts#L62"
225
225
  },
226
226
  {
227
227
  "name": "style",
@@ -231,7 +231,7 @@
231
231
  "description": "Additional CSS styles",
232
232
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
233
233
  "sourceFile": "packages/core-react/src/_utils/types.ts",
234
- "sourceUrl": "https://github.com/procore/core/blob/cc87e67/packages/core-react/src/_utils/types.ts#L52"
234
+ "sourceUrl": "https://github.com/procore/core/blob/24e6e7a/packages/core-react/src/_utils/types.ts#L52"
235
235
  }
236
236
  ],
237
237
  "description": ""