@procore/core-react 10.20.0-rc.93 → 10.20.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 (133) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/esm/components/FileSelect/FileSelect.types.d.ts +17 -60
  3. package/dist/esm/components/Tree/Tree.js +3 -3
  4. package/dist/esm/components/Tree/Tree.js.map +1 -1
  5. package/dist/esm/components/Tree/Tree.styles.d.ts +1 -0
  6. package/dist/esm/components/Tree/Tree.styles.js +4 -2
  7. package/dist/esm/components/Tree/Tree.styles.js.map +1 -1
  8. package/dist/props/FileSelect.json +1 -1
  9. package/dist/props/allProps.json +37 -37
  10. package/dist/typedoc/components/Avatar/Avatar.types.json +198 -0
  11. package/dist/typedoc/components/AvatarStack/AvatarStack.types.json +226 -0
  12. package/dist/typedoc/components/Badge/Badge.types.json +74 -0
  13. package/dist/typedoc/components/Banner/Banner.types.json +141 -0
  14. package/dist/typedoc/components/Breadcrumbs/Breadcrumbs.types.json +84 -0
  15. package/dist/typedoc/components/Button/Button.types.json +124 -0
  16. package/dist/typedoc/components/Calendar/Calendar.types.json +846 -0
  17. package/dist/typedoc/components/Card/Card.types.json +69 -0
  18. package/dist/typedoc/components/Checkbox/Checkbox.types.json +78 -0
  19. package/dist/typedoc/components/ContactItem/ContactItem.types.json +98 -0
  20. package/dist/typedoc/components/DateInput/DateInput.types.json +376 -0
  21. package/dist/typedoc/components/DateSelect/DateSelect.types.json +138 -0
  22. package/dist/typedoc/components/Dropdown/Dropdown.types.json +366 -0
  23. package/dist/typedoc/components/DropdownFlyout/DropdownFlyout.types.json +358 -0
  24. package/dist/typedoc/components/Dropzone/Dropzone.types.json +498 -0
  25. package/dist/typedoc/components/EmptyState/EmptyState.types.json +172 -0
  26. package/dist/typedoc/components/FileList/FileList.types.json +38 -0
  27. package/dist/typedoc/components/FileSelect/FileSelect.types.json +264 -0
  28. package/dist/typedoc/components/FileSelect/GridSource/GridSource.types.json +215 -0
  29. package/dist/typedoc/components/FileSelect/LocalSource/LocalSource.types.json +148 -0
  30. package/dist/typedoc/components/FileSelect/TreeSource/TreeSource.types.json +169 -0
  31. package/dist/typedoc/components/Font/Font.types.json +78 -0
  32. package/dist/typedoc/components/Form/Form.types.json +6870 -0
  33. package/dist/typedoc/components/GroupSelect/GroupSelect.types.json +520 -0
  34. package/dist/typedoc/components/Icon/Icon.types.json +114 -0
  35. package/dist/typedoc/components/Input/Input.types.json +29 -0
  36. package/dist/typedoc/components/Link/Link.types.json +48 -0
  37. package/dist/typedoc/components/Menu/Menu.types.json +717 -0
  38. package/dist/typedoc/components/MenuImperative/MenuImperative.types.json +732 -0
  39. package/dist/typedoc/components/Modal/Modal.types.json +302 -0
  40. package/dist/typedoc/components/MultiSelect/MultiSelect.types.json +298 -0
  41. package/dist/typedoc/components/Notation/Notation.types.json +48 -0
  42. package/dist/typedoc/components/NumberInput/NumberInput.types.json +288 -0
  43. package/dist/typedoc/components/OverlayTrigger/OverlayTrigger.json +188 -0
  44. package/dist/typedoc/components/Pagination/Pagination.types.json +89 -0
  45. package/dist/typedoc/components/Panel/Panel.types.json +208 -0
  46. package/dist/typedoc/components/Pill/Pill.types.json +18 -0
  47. package/dist/typedoc/components/PillSelect/PillSelect.types.json +486 -0
  48. package/dist/typedoc/components/Popover/Popover.types.json +104 -0
  49. package/dist/typedoc/components/ProgressBar/ProgressBar.types.json +58 -0
  50. package/dist/typedoc/components/RadioButton/RadioButton.types.json +68 -0
  51. package/dist/typedoc/components/Required/Required.types.json +58 -0
  52. package/dist/typedoc/components/Search/Search.types.json +233 -0
  53. package/dist/typedoc/components/SegmentedController/SegmentedController.types.json +221 -0
  54. package/dist/typedoc/components/Select/Select.types.json +330 -0
  55. package/dist/typedoc/components/Slider/Slider.types.json +68 -0
  56. package/dist/typedoc/components/Spinner/Spinner.types.json +89 -0
  57. package/dist/typedoc/components/Switch/Switch.types.json +38 -0
  58. package/dist/typedoc/components/Table/Table.types.json +1033 -0
  59. package/dist/typedoc/components/Tabs/Tabs.types.json +157 -0
  60. package/dist/typedoc/components/TextArea/TextArea.types.json +39 -0
  61. package/dist/typedoc/components/TextEditor/TextEditor.types.json +79 -0
  62. package/dist/typedoc/components/Thumbnail/Thumbnail.types.json +128 -0
  63. package/dist/typedoc/components/TieredDropdown/TieredDropdown.types.json +424 -0
  64. package/dist/typedoc/components/TieredSelect/TieredSelect.types.json +278 -0
  65. package/dist/typedoc/components/Tile/Tile.types.json +338 -0
  66. package/dist/typedoc/components/Toast/Toast.types.json +48 -0
  67. package/dist/typedoc/components/ToggleButton/ToggleButton.types.json +38 -0
  68. package/dist/typedoc/components/Token/Token.types.json +125 -0
  69. package/dist/typedoc/components/Tooltip/Tooltip.types.json +144 -0
  70. package/dist/typedoc/components/Tree/Tree.types.json +1271 -0
  71. package/dist/typedoc/components/Typeahead/Typeahead.types.json +28 -0
  72. package/dist/typedoc/components/Typography/Typography.types.json +88 -0
  73. package/dist/typedoc/layouts/Box/Box.types.json +742 -0
  74. package/dist/typedoc/layouts/DetailPage/DetailPage.json +124 -0
  75. package/dist/typedoc/layouts/Flex/Flex.types.json +268 -0
  76. package/dist/typedoc/layouts/FlexList/FlexList.types.json +298 -0
  77. package/dist/typedoc/layouts/Grid/Grid.json +120 -0
  78. package/dist/typedoc/layouts/IconLayout/IconLayout.json +1 -0
  79. package/dist/typedoc/layouts/LegacyDetailPage/LegacyDetailPage.json +48 -0
  80. package/dist/typedoc/layouts/ListPage/ListPage.types.json +115 -0
  81. package/dist/typedoc/layouts/NextDetailPage/NextDetailPage.types.json +48 -0
  82. package/dist/typedoc/layouts/NextGrid/NextGrid.types.json +105 -0
  83. package/dist/typedoc/layouts/PageLayout/PageLayout.types.json +90 -0
  84. package/dist/typedoc/layouts/ToolHeader/ToolHeader.types.json +95 -0
  85. package/dist/typedoc/utils/types.json +38 -0
  86. package/package.json +9 -7
  87. package/storybook-static/0.25cdfc54d577d52c1c6b.manager.bundle.js +1 -0
  88. package/storybook-static/0.66071c6b.iframe.bundle.js +1 -0
  89. package/storybook-static/1.cb03d9ea.iframe.bundle.js +3 -0
  90. package/storybook-static/{1.f604ac3e.iframe.bundle.js.LICENSE.txt → 1.cb03d9ea.iframe.bundle.js.LICENSE.txt} +0 -0
  91. package/storybook-static/1.cb03d9ea.iframe.bundle.js.map +1 -0
  92. package/storybook-static/2.e3f1ddbd.iframe.bundle.js +1 -0
  93. package/storybook-static/4.ca3fc33a26ad8acaa0cf.manager.bundle.js +2 -0
  94. package/storybook-static/{4.37d215da3480ddf79684.manager.bundle.js.LICENSE.txt → 4.ca3fc33a26ad8acaa0cf.manager.bundle.js.LICENSE.txt} +0 -0
  95. package/storybook-static/5.c7334e99bca309dc0f6b.manager.bundle.js +1 -0
  96. package/storybook-static/{6.72a5c826f7b9ba2a1008.manager.bundle.js → 6.8684078c90624aaf5c12.manager.bundle.js} +2 -2
  97. package/storybook-static/{6.72a5c826f7b9ba2a1008.manager.bundle.js.LICENSE.txt → 6.8684078c90624aaf5c12.manager.bundle.js.LICENSE.txt} +0 -0
  98. package/storybook-static/7.2d596a64.iframe.bundle.js +3 -0
  99. package/storybook-static/{7.be450f50.iframe.bundle.js.LICENSE.txt → 7.2d596a64.iframe.bundle.js.LICENSE.txt} +1 -1
  100. package/storybook-static/7.2d596a64.iframe.bundle.js.map +1 -0
  101. package/storybook-static/{7.5bf306f93261894e2733.manager.bundle.js → 7.5dd8b1d63c6ccb2b7d4f.manager.bundle.js} +1 -1
  102. package/storybook-static/{8.38854c3a6e86288d54cc.manager.bundle.js → 8.9c2959b68dd6b32c4949.manager.bundle.js} +1 -1
  103. package/storybook-static/8.a80b4344.iframe.bundle.js +1 -0
  104. package/storybook-static/iframe.html +1 -1
  105. package/storybook-static/index.html +1 -1
  106. package/storybook-static/main.01bf0da23679c71a30ae.manager.bundle.js +1 -0
  107. package/storybook-static/{main.1de6ae75.iframe.bundle.js → main.8bf17d1f.iframe.bundle.js} +1 -1
  108. package/storybook-static/{runtime~main.3937db5d0c29ffeb9085.manager.bundle.js → runtime~main.f7aa4e9b5144dc1a277f.manager.bundle.js} +1 -1
  109. package/storybook-static/{runtime~main.ab98e1f1.iframe.bundle.js → runtime~main.f83a03f8.iframe.bundle.js} +1 -1
  110. package/storybook-static/vendors~main.9381682917547df19d6c.manager.bundle.js +2 -0
  111. package/storybook-static/{vendors~main.3cce118bc9035e221837.manager.bundle.js.LICENSE.txt → vendors~main.9381682917547df19d6c.manager.bundle.js.LICENSE.txt} +0 -6
  112. package/storybook-static/vendors~main.d8755a0a.iframe.bundle.js +3 -0
  113. package/storybook-static/{vendors~main.484f0d61.iframe.bundle.js.LICENSE.txt → vendors~main.d8755a0a.iframe.bundle.js.LICENSE.txt} +0 -0
  114. package/storybook-static/vendors~main.d8755a0a.iframe.bundle.js.map +1 -0
  115. package/tsconfig.json +6 -0
  116. package/tsconfig.prod.json +1 -1
  117. package/typedoc.js +1 -1
  118. package/typedoc.ts +187 -0
  119. package/storybook-static/0.41e28a0bb94d5e5489a5.manager.bundle.js +0 -1
  120. package/storybook-static/0.b4bb1ac1.iframe.bundle.js +0 -1
  121. package/storybook-static/1.f604ac3e.iframe.bundle.js +0 -3
  122. package/storybook-static/1.f604ac3e.iframe.bundle.js.map +0 -1
  123. package/storybook-static/2.127b3eae.iframe.bundle.js +0 -1
  124. package/storybook-static/4.37d215da3480ddf79684.manager.bundle.js +0 -2
  125. package/storybook-static/5.81000771920a22421f7b.manager.bundle.js +0 -1
  126. package/storybook-static/7.be450f50.iframe.bundle.js +0 -3
  127. package/storybook-static/7.be450f50.iframe.bundle.js.map +0 -1
  128. package/storybook-static/8.8a74f8ce.iframe.bundle.js +0 -1
  129. package/storybook-static/main.2ac4adfe9a439a3c1992.manager.bundle.js +0 -1
  130. package/storybook-static/vendors~main.3cce118bc9035e221837.manager.bundle.js +0 -2
  131. package/storybook-static/vendors~main.484f0d61.iframe.bundle.js +0 -3
  132. package/storybook-static/vendors~main.484f0d61.iframe.bundle.js.map +0 -1
  133. package/tsconfig.dev.json +0 -4
@@ -0,0 +1,215 @@
1
+ {
2
+ "GridProps": {
3
+ "name": "GridProps",
4
+ "properties": [
5
+ {
6
+ "name": "children",
7
+ "required": false,
8
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
9
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
10
+ "description": "React nodes to be displayed next to the search bar",
11
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>React nodes to be displayed next to the search bar</p>\n</div></div>",
12
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
13
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L45"
14
+ },
15
+ {
16
+ "name": "emptyState",
17
+ "required": false,
18
+ "type": "<span class=\"tsd-signature-symbol\">{ </span>image<span class=\"tsd-signature-symbol\">?: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">; </span>text<span class=\"tsd-signature-symbol\">?: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> }</span>",
19
+ "typeDetail": "<span class=\"tsd-signature-symbol\">{ </span>image<span class=\"tsd-signature-symbol\">?: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">; </span>text<span class=\"tsd-signature-symbol\">?: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> }</span>",
20
+ "description": "<Code>{`{ text: string, image: string }`}</Code> props for{' '}\n<Code>EmptyState</Code> component shown when there are no items in\ngrid",
21
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>{<code>{ text: string, image: string }</code>}</Code> props for{&#39; &#39;}\n<Code>EmptyState</Code> component shown when there are no items in\ngrid</p>\n</div></div>",
22
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
23
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L65"
24
+ },
25
+ {
26
+ "name": "getGroupId",
27
+ "required": false,
28
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GetGroupId</a>",
29
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GridItem</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">number</span>",
30
+ "description": "A function called returning group ID of a given grid item that is used\nto sort items by group. Returns <Code>item.groupId</Code>\nby default.",
31
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function called returning group ID of a given grid item that is used\nto sort items by group. Returns <Code>item.groupId</Code>\nby default.</p>\n</div></div>",
32
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
33
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L119"
34
+ },
35
+ {
36
+ "name": "getId",
37
+ "required": false,
38
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GetId</a>",
39
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GridItem</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">number</span>",
40
+ "description": "A function called returning ID of a given grid item that is used to\nidentify the item. Returns <Code>item.id</Code> by default.",
41
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function called returning ID of a given grid item that is used to\nidentify the item. Returns <Code>item.id</Code> by default.</p>\n</div></div>",
42
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
43
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L90"
44
+ },
45
+ {
46
+ "name": "getThumbnailLabel",
47
+ "required": false,
48
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GetThumbnailLabel</a>",
49
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GridItem</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">string</span>",
50
+ "description": "A function called returning label of a given grid item that is used to\ndisplay the item's thumbnail label. Returns <Code>item.label</Code>\nby default.",
51
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function called returning label of a given grid item that is used to\ndisplay the item&#39;s thumbnail label. Returns <Code>item.label</Code>\nby default.</p>\n</div></div>",
52
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
53
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L112"
54
+ },
55
+ {
56
+ "name": "getThumbnailName",
57
+ "required": false,
58
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GetThumnbnailName</a>",
59
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GridItem</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">string</span>",
60
+ "description": "A function called returning name of a given grid item that is used to\ndisplay the item's thumbnail name. Returns <Code>item.name</Code> by\ndefault.",
61
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function called returning name of a given grid item that is used to\ndisplay the item&#39;s thumbnail name. Returns <Code>item.name</Code> by\ndefault.</p>\n</div></div>",
62
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
63
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L105"
64
+ },
65
+ {
66
+ "name": "getThumbnailSource",
67
+ "required": false,
68
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GetThumbnailSource</a>",
69
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">GridItem</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">string</span>",
70
+ "description": "A function called returning thumbnail URL of a given grid item that is\nused to display the item's thumbnail image. Returns{' '}\n<Code>item.src</Code>\nby default.",
71
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A function called returning thumbnail URL of a given grid item that is\nused to display the item&#39;s thumbnail image. Returns{&#39; &#39;}\n<Code>item.src</Code>\nby default.</p>\n</div></div>",
72
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
73
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L98"
74
+ },
75
+ {
76
+ "name": "groups",
77
+ "required": false,
78
+ "type": "<span class=\"tsd-signature-type\">ThumbnailGridGroup</span><span class=\"tsd-signature-symbol\">[]</span>",
79
+ "typeDetail": "<span class=\"tsd-signature-type\">ThumbnailGridGroup</span><span class=\"tsd-signature-symbol\">[]</span>",
80
+ "description": "<Code>{`{ id: string | number, title: string }[]`}</Code> object\nrepresenting file groups",
81
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>{<code>{ id: string | number, title: string }[]</code>}</Code> object\nrepresenting file groups</p>\n</div></div>",
82
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
83
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L58"
84
+ },
85
+ {
86
+ "name": "icon",
87
+ "required": true,
88
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
89
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
90
+ "description": "",
91
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>deprecated</dt><dd><p>String icon variant is deprecated, use the React components directly from the <code>@procore/core-icons/dist</code> package</p>\n</dd></dl></div>",
92
+ "deprecated": "String icon variant is deprecated, use the React components directly from the `@procore/core-icons/dist` package\n",
93
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
94
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L25"
95
+ },
96
+ {
97
+ "name": "isLoading",
98
+ "required": false,
99
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
100
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
101
+ "description": "Show/Hide loading indicator of the content",
102
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Show/Hide loading indicator of the content</p>\n</div></div>",
103
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
104
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L78"
105
+ },
106
+ {
107
+ "name": "isLoadingMore",
108
+ "required": false,
109
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
110
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
111
+ "description": "Show/Hide loading indicator at the list bottom",
112
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Show/Hide loading indicator at the list bottom</p>\n</div></div>",
113
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
114
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L73"
115
+ },
116
+ {
117
+ "name": "items",
118
+ "required": true,
119
+ "type": "<span class=\"tsd-signature-type\">object</span><span class=\"tsd-signature-symbol\">[]</span>",
120
+ "typeDetail": "<span class=\"tsd-signature-type\">object</span><span class=\"tsd-signature-symbol\">[]</span>",
121
+ "description": "An array of arbitrarily-shaped objects representing grid items.{' '}\n<Code>getId</Code> <Code>getName</Code> and <Code>getThumbnail</Code>{' '}\nshould be used to bind the target shape to a view.",
122
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>An array of arbitrarily-shaped objects representing grid items.{&#39; &#39;}\n<Code>getId</Code> <Code>getName</Code> and <Code>getThumbnail</Code>{&#39; &#39;}\nshould be used to bind the target shape to a view.</p>\n</div></div>",
123
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
124
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L52"
125
+ },
126
+ {
127
+ "name": "qa",
128
+ "required": false,
129
+ "type": "<span class=\"tsd-signature-type\">QaTags</span>",
130
+ "typeDetail": "<span class=\"tsd-signature-type\">QaTags</span>",
131
+ "description": "",
132
+ "descriptionHtml": "",
133
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
134
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L120"
135
+ },
136
+ {
137
+ "name": "searchQuery",
138
+ "required": false,
139
+ "type": "<span class=\"tsd-signature-type\">string</span>",
140
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
141
+ "description": "Allows controlling the search input value. Can be used with\n<Code>onSearch</Code> to customize the default string-based search",
142
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Allows controlling the search input value. Can be used with\n<Code>onSearch</Code> to customize the default string-based search</p>\n</div></div>",
143
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
144
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L32"
145
+ },
146
+ {
147
+ "name": "sourceId",
148
+ "required": true,
149
+ "type": "<span class=\"tsd-signature-type\">string</span>",
150
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
151
+ "description": "",
152
+ "descriptionHtml": "",
153
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
154
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L21"
155
+ },
156
+ {
157
+ "name": "title",
158
+ "required": true,
159
+ "type": "<span class=\"tsd-signature-type\">string</span>",
160
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
161
+ "description": "",
162
+ "descriptionHtml": "",
163
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
164
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L26"
165
+ },
166
+ {
167
+ "name": "onScrollBottom",
168
+ "required": false,
169
+ "type": "Function",
170
+ "typeDetail": "on<wbr/>Scroll<wbr/>Bottom<span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Promise</span><span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\">any</span><span class=\"tsd-signature-symbol\">&gt;</span>",
171
+ "description": "Optional <Code>function</Code> that automatically executes when\nscrolling reaches the last item.",
172
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Optional <Code>function</Code> that automatically executes when\nscrolling reaches the last item.</p>\n</div></div>",
173
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
174
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L84"
175
+ },
176
+ {
177
+ "name": "onSearch",
178
+ "required": false,
179
+ "type": "Function",
180
+ "typeDetail": "on<wbr/>Search<span class=\"tsd-signature-symbol\">(</span>q<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
181
+ "description": "Allows customizing the default string-based search by passing a\ndifferent set of <Code>items</Code> every time\n<Code>onSearch</Code> is called with query string as a single\nparameter",
182
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Allows customizing the default string-based search by passing a\ndifferent set of <Code>items</Code> every time\n<Code>onSearch</Code> is called with query string as a single\nparameter</p>\n</div></div>",
183
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
184
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L40"
185
+ }
186
+ ],
187
+ "description": ""
188
+ },
189
+ "SearchBarProps": {
190
+ "name": "SearchBarProps",
191
+ "properties": [
192
+ {
193
+ "name": "query",
194
+ "required": true,
195
+ "type": "<span class=\"tsd-signature-type\">string</span>",
196
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
197
+ "description": "",
198
+ "descriptionHtml": "",
199
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
200
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L125"
201
+ },
202
+ {
203
+ "name": "onChange",
204
+ "required": true,
205
+ "type": "Function",
206
+ "typeDetail": "on<wbr/>Change<span class=\"tsd-signature-symbol\">(</span>e<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ChangeEvent</span><span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\">HTMLInputElement</span><span class=\"tsd-signature-symbol\">&gt;</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
207
+ "description": "",
208
+ "descriptionHtml": "",
209
+ "sourceFile": "packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts",
210
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/GridSource/GridSource.types.ts#L124"
211
+ }
212
+ ],
213
+ "description": ""
214
+ }
215
+ }
@@ -0,0 +1,148 @@
1
+ {
2
+ "LocalSourceProps": {
3
+ "name": "LocalSourceProps",
4
+ "properties": [
5
+ {
6
+ "name": "accept",
7
+ "required": false,
8
+ "type": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
9
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
10
+ "description": "Set accepted file types. Accepts everything if left undefined",
11
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Set accepted file types. Accepts everything if left undefined</p>\n</div></div>",
12
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
13
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L72"
14
+ },
15
+ {
16
+ "name": "maxFileSize",
17
+ "required": false,
18
+ "type": "<span class=\"tsd-signature-type\">number</span>",
19
+ "typeDetail": "<span class=\"tsd-signature-type\">number</span>",
20
+ "description": "Maximum file size (in bytes)",
21
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Maximum file size (in bytes)</p>\n</div></div>",
22
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
23
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L145"
24
+ },
25
+ {
26
+ "name": "minFileSize",
27
+ "required": false,
28
+ "type": "<span class=\"tsd-signature-type\">number</span>",
29
+ "typeDetail": "<span class=\"tsd-signature-type\">number</span>",
30
+ "description": "Minimum file size (in bytes)",
31
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Minimum file size (in bytes)</p>\n</div></div>",
32
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
33
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L150"
34
+ },
35
+ {
36
+ "name": "onCancel",
37
+ "required": false,
38
+ "type": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ThumbnailListItem</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">void</span>",
39
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span>item<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ThumbnailListItem</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">void</span>",
40
+ "description": "",
41
+ "descriptionHtml": "",
42
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
43
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L67"
44
+ },
45
+ {
46
+ "name": "qa",
47
+ "required": false,
48
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">QaTags</a>",
49
+ "typeDetail": "<span class=\"tsd-signature-type\">any</span>",
50
+ "description": "",
51
+ "descriptionHtml": "",
52
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
53
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L159"
54
+ },
55
+ {
56
+ "name": "sourceId",
57
+ "required": true,
58
+ "type": "<span class=\"tsd-signature-type\">string</span>",
59
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
60
+ "description": "",
61
+ "descriptionHtml": "",
62
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
63
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L59"
64
+ },
65
+ {
66
+ "name": "uploadFile",
67
+ "required": false,
68
+ "type": "<span class=\"tsd-signature-type\">UploadFile</span>",
69
+ "typeDetail": "<span class=\"tsd-signature-type\">UploadFile</span>",
70
+ "description": "<Code>\n (file: File,{' '}\n {`{\n onProgress: (progress: number) => void\n onSuccess: (response: unknown) => void\n onError: (error: unknown) => void\n }`}\n ) => string\n</Code>\n<br />\n<br />A function for manually controlling the network request for file\nupload. An alternative to using <Code>getEndpoint</Code> which handles\nthe network request itself.",
71
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<Code>\n (file: File,{' '}\n {`{\n onProgress: (progress: number) => void\n onSuccess: (response: unknown) => void\n onError: (error: unknown) => void\n }`}\n ) => string\n</Code>\n<br />\n<br />A function for manually controlling the network request for file\nupload. An alternative to using <Code>getEndpoint</Code> which handles\nthe network request itself.</div></div>",
72
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
73
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L140"
74
+ },
75
+ {
76
+ "name": "beforeLocalFileUpload",
77
+ "required": true,
78
+ "type": "Function",
79
+ "typeDetail": "before<wbr/>Local<wbr/>File<wbr/>Upload<span class=\"tsd-signature-symbol\">(</span>files<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ThumbnailListItem</span><span class=\"tsd-signature-symbol\">[]</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Promise</span><span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\">&gt;</span>",
80
+ "description": "Optional async function that is invoked when selecting or dropping in a\nlocal file. If you want to restrict certain uploads, you can use this\ncallback. Returning true continues the upload, while false will prevent\nupload.\n<Code>{'(files: ThumbnailListItem[]) => Promise<boolean>'}</Code>",
81
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Optional async function that is invoked when selecting or dropping in a\nlocal file. If you want to restrict certain uploads, you can use this\ncallback. Returning true continues the upload, while false will prevent\nupload.\n<Code>{'(files: ThumbnailListItem[]) => Promise<boolean>'}</Code></p>\n</div></div>",
82
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
83
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L107"
84
+ },
85
+ {
86
+ "name": "dropzoneContentRenderer",
87
+ "required": false,
88
+ "type": "Function",
89
+ "typeDetail": "dropzone<wbr/>Content<wbr/>Renderer<span class=\"tsd-signature-symbol\">(</span>props<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">DropzoneContentProps</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">ReactNode</span>",
90
+ "description": "An optional content renderer for the dropzone. Accepts{' '}\n<Code>{'{ open, disabled, errorMessage }'}</Code> as a single argument,\nallowing to control the dropzone and display different content depending\non dropzone state",
91
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>An optional content renderer for the dropzone. Accepts{&#39; &#39;}\n<Code>{'{ open, disabled, errorMessage }'}</Code> as a single argument,\nallowing to control the dropzone and display different content depending\non dropzone state</p>\n</div></div>",
92
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
93
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L158"
94
+ },
95
+ {
96
+ "name": "getEndpoint",
97
+ "required": false,
98
+ "type": "Function",
99
+ "typeDetail": "get<wbr/>Endpoint<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>",
100
+ "description": "<Code>(file: File) => string</Code>\n<br />\n<br />A function returning an upload URL for a given file. An\nalternative to <Code>uploadFile</Code> which allows manual control of\nthe network request for file upload.",
101
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>(file: File) => string</Code>\n<br />\n<br />A function returning an upload URL for a given file. An\nalternative to <Code>uploadFile</Code> which allows manual control of\nthe network request for file upload.</p>\n</div></div>",
102
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
103
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L81"
104
+ },
105
+ {
106
+ "name": "getHeaders",
107
+ "required": false,
108
+ "type": "Function",
109
+ "typeDetail": "get<wbr/>Headers<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Record</span><span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">&gt;</span>",
110
+ "description": "<Code>(file: File) => object</Code>\n<br />\n<br />A function returning an upload request headers. Returns empty\nobject by default.",
111
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>(file: File) => object</Code>\n<br />\n<br />A function returning an upload request headers. Returns empty\nobject by default.</p>\n</div></div>",
112
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
113
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L123"
114
+ },
115
+ {
116
+ "name": "getMethod",
117
+ "required": false,
118
+ "type": "Function",
119
+ "typeDetail": "get<wbr/>Method<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Method</span>",
120
+ "description": "<Code>(file: File) => HTTPRequestMethod</Code>\n<br />\n<br />A function returning an upload HTTP method for a given file.\nReturns <Code>POST</Code> by default.",
121
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>(file: File) => HTTPRequestMethod</Code>\n<br />\n<br />A function returning an upload HTTP method for a given file.\nReturns <Code>POST</Code> by default.</p>\n</div></div>",
122
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
123
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L89"
124
+ },
125
+ {
126
+ "name": "getPayload",
127
+ "required": false,
128
+ "type": "Function",
129
+ "typeDetail": "get<wbr/>Payload<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">FormData</span>",
130
+ "description": "<Code>(file: File) => FormData</Code>\n<br />\n<br />A function returning an upload payload <Code>FormData</Code>{' '}\nobject for a given file. When defined, <Code>getPayloadKey</Code> is\nignored.",
131
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>(file: File) => FormData</Code>\n<br />\n<br />A function returning an upload payload <Code>FormData</Code>{&#39; &#39;}\nobject for a given file. When defined, <Code>getPayloadKey</Code> is\nignored.</p>\n</div></div>",
132
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
133
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L98"
134
+ },
135
+ {
136
+ "name": "getPayloadKey",
137
+ "required": false,
138
+ "type": "Function",
139
+ "typeDetail": "get<wbr/>Payload<wbr/>Key<span class=\"tsd-signature-symbol\">(</span>file<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">File</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>",
140
+ "description": "<Code>(file: File) => string</Code>\n<br />\n<br />A function returning an upload payload <Code>FormData</Code> key\nfor a given file. Returns <Code>file</Code> by default.",
141
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>(file: File) => string</Code>\n<br />\n<br />A function returning an upload payload <Code>FormData</Code> key\nfor a given file. Returns <Code>file</Code> by default.</p>\n</div></div>",
142
+ "sourceFile": "packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts",
143
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/LocalSource/LocalSource.types.ts#L115"
144
+ }
145
+ ],
146
+ "description": ""
147
+ }
148
+ }
@@ -0,0 +1,169 @@
1
+ {
2
+ "FileTreeProps": {
3
+ "name": "FileTreeProps",
4
+ "properties": [
5
+ {
6
+ "name": "expanded",
7
+ "required": false,
8
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">NodeId</a><span class=\"tsd-signature-symbol\">[]</span>",
9
+ "typeDetail": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">NodeId</a><span class=\"tsd-signature-symbol\">[]</span>",
10
+ "description": "Array of keys of initially expanded nodes",
11
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Array of keys of initially expanded nodes</p>\n</div></div>",
12
+ "sourceFile": "packages/core-react/src/components/Tree/Tree.types.ts",
13
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Tree/Tree.types.ts#L106"
14
+ },
15
+ {
16
+ "name": "icon",
17
+ "required": true,
18
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
19
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
20
+ "description": "",
21
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>deprecated</dt><dd><p>String icon variant is deprecated, use the React components directly from the <code>@procore/core-icons/dist</code> package</p>\n</dd></dl></div>",
22
+ "deprecated": "String icon variant is deprecated, use the React components directly from the `@procore/core-icons/dist` package\n",
23
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
24
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L32"
25
+ },
26
+ {
27
+ "name": "isLoading",
28
+ "required": false,
29
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
30
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
31
+ "description": "Show/Hide loading indicator of the content",
32
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Show/Hide loading indicator of the content</p>\n</div></div>",
33
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
34
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L37"
35
+ },
36
+ {
37
+ "name": "options",
38
+ "required": true,
39
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">[]</span>",
40
+ "typeDetail": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">[]</span>",
41
+ "description": "",
42
+ "descriptionHtml": "",
43
+ "sourceFile": "packages/core-react/src/components/Tree/Tree.types.ts",
44
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Tree/Tree.types.ts#L102"
45
+ },
46
+ {
47
+ "name": "sourceId",
48
+ "required": true,
49
+ "type": "<span class=\"tsd-signature-type\">string</span>",
50
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
51
+ "description": "",
52
+ "descriptionHtml": "",
53
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
54
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L27"
55
+ },
56
+ {
57
+ "name": "title",
58
+ "required": true,
59
+ "type": "<span class=\"tsd-signature-type\">string</span>",
60
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
61
+ "description": "",
62
+ "descriptionHtml": "",
63
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
64
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L28"
65
+ },
66
+ {
67
+ "name": "getChildren",
68
+ "required": false,
69
+ "type": "Function",
70
+ "typeDetail": "get<wbr/>Children<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">[]</span>",
71
+ "description": "Should return an array of children nodes.\n<CodeBlock>{'(node: Node): Node[]'}</CodeBlock>",
72
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Should return an array of children nodes.\n<CodeBlock>{&#39;(node: Node): Node[]&#39;}</CodeBlock></p>\n</div></div>"
73
+ },
74
+ {
75
+ "name": "getLabel",
76
+ "required": false,
77
+ "type": "Function",
78
+ "typeDetail": "get<wbr/>Label<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span>",
79
+ "description": "This function will be executed on each node. Should return{' '}\n<Code>label</Code> for row\n<CodeBlock>{'(node: Node): string'}</CodeBlock>",
80
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>This function will be executed on each node. Should return{&#39; &#39;}\n<Code>label</Code> for row\n<CodeBlock>{&#39;(node: Node): string&#39;}</CodeBlock></p>\n</div></div>"
81
+ },
82
+ {
83
+ "name": "getParentId",
84
+ "required": false,
85
+ "type": "Function",
86
+ "typeDetail": "get<wbr/>Parent<wbr/>Id<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">NodeId</a>",
87
+ "description": "This function will be executed on each node. Should return parent{' '}\n<Code>Node</Code>\n<CodeBlock>{'(node: Node): NodeId'}</CodeBlock>",
88
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>This function will be executed on each node. Should return parent{&#39; &#39;}\n<Code>Node</Code>\n<CodeBlock>{&#39;(node: Node): NodeId&#39;}</CodeBlock></p>\n</div></div>"
89
+ },
90
+ {
91
+ "name": "getRoot",
92
+ "required": false,
93
+ "type": "Function",
94
+ "typeDetail": "get<wbr/>Root<span class=\"tsd-signature-symbol\">(</span>data<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">[]</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a>",
95
+ "description": "Function should return parent <Code>Root Node</Code>\n<CodeBlock>{'(): Node'}</CodeBlock>",
96
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Function should return parent <Code>Root Node</Code>\n<CodeBlock>{&#39;(): Node&#39;}</CodeBlock></p>\n</div></div>"
97
+ },
98
+ {
99
+ "name": "getType",
100
+ "required": false,
101
+ "type": "Function",
102
+ "typeDetail": "get<wbr/>Type<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">NodeType</span>",
103
+ "description": "This function will be executed on each node. Should return{' '}\n<Code>'branch'</Code> or <Code>'leaf'</Code>\n<CodeBlock>{'(node: Node): NodeType'}</CodeBlock>",
104
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>This function will be executed on each node. Should return{&#39; &#39;}\n<Code>'branch'</Code> or <Code>'leaf'</Code>\n<CodeBlock>{&#39;(node: Node): NodeType&#39;}</CodeBlock></p>\n</div></div>"
105
+ },
106
+ {
107
+ "name": "isExpandable",
108
+ "required": false,
109
+ "type": "Function",
110
+ "typeDetail": "is<wbr/>Expandable<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">boolean</span>",
111
+ "description": "Function of whether to enable tree node expansion/collapsing.\n<CodeBlock>{'(node: Node): boolean'}</CodeBlock>",
112
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Function of whether to enable tree node expansion/collapsing.\n<CodeBlock>{&#39;(node: Node): boolean&#39;}</CodeBlock></p>\n</div></div>"
113
+ },
114
+ {
115
+ "name": "isSelectable",
116
+ "required": false,
117
+ "type": "Function",
118
+ "typeDetail": "is<wbr/>Selectable<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">boolean</span>",
119
+ "description": "Function of whether to enable tree node selection.\n<CodeBlock>{'(node: Node): boolean'}</CodeBlock>",
120
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Function of whether to enable tree node selection.\n<CodeBlock>{&#39;(node: Node): boolean&#39;}</CodeBlock></p>\n</div></div>"
121
+ },
122
+ {
123
+ "name": "onChange",
124
+ "required": false,
125
+ "type": "Function",
126
+ "typeDetail": "on<wbr/>Change<span class=\"tsd-signature-symbol\">(</span>nodes<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">[]</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
127
+ "description": "Callback function fired with currently selected array of nodes.\n<CodeBlock>(nodes: DefaultNode[]) => void</CodeBlock>",
128
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback function fired with currently selected array of nodes.\n<CodeBlock>(nodes: DefaultNode[]) =&gt; void</CodeBlock></p>\n</div></div>",
129
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
130
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L26"
131
+ },
132
+ {
133
+ "name": "onExpand",
134
+ "required": false,
135
+ "type": "Function",
136
+ "typeDetail": "on<wbr/>Expand<span class=\"tsd-signature-symbol\">(</span>node<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Node</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Promise</span><span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\">any</span><span class=\"tsd-signature-symbol\">&gt;</span>",
137
+ "description": "Triggers when current node expand\n<CodeBlock>{'(node: Node): Promise<void>'}</CodeBlock>",
138
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Triggers when current node expand\n<CodeBlock>{&#39;(node: Node): Promise<void>&#39;}</CodeBlock></p>\n</div></div>"
139
+ }
140
+ ],
141
+ "description": ""
142
+ },
143
+ "TreeSourceRef": {
144
+ "name": "TreeSourceRef",
145
+ "properties": [
146
+ {
147
+ "name": "setExpandedNodes",
148
+ "required": true,
149
+ "type": "Function",
150
+ "typeDetail": "set<wbr/>Expanded<wbr/>Nodes<span class=\"tsd-signature-symbol\">(</span>expanded<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">NodeId</a><span class=\"tsd-signature-symbol\">[]</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
151
+ "description": "",
152
+ "descriptionHtml": "",
153
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
154
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L4"
155
+ },
156
+ {
157
+ "name": "setValue",
158
+ "required": true,
159
+ "type": "Function",
160
+ "typeDetail": "set<wbr/>Value<span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\" data-tsd-kind=\"Type parameter\">Node</span><span class=\"tsd-signature-symbol\">&gt;</span><span class=\"tsd-signature-symbol\">(</span>nodes<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\" data-tsd-kind=\"Type parameter\">Node</span><span class=\"tsd-signature-symbol\">[]</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
161
+ "description": "",
162
+ "descriptionHtml": "",
163
+ "sourceFile": "packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts",
164
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/FileSelect/TreeSource/TreeSource.types.ts#L5"
165
+ }
166
+ ],
167
+ "description": ""
168
+ }
169
+ }