@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,366 @@
1
+ {
2
+ "ConsumerProps": {
3
+ "name": "ConsumerProps",
4
+ "properties": [
5
+ {
6
+ "name": "children",
7
+ "required": true,
8
+ "type": "Function",
9
+ "typeDetail": "children<span class=\"tsd-signature-symbol\">(</span>api<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">any</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Element</span>",
10
+ "description": "",
11
+ "descriptionHtml": "",
12
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
13
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L108"
14
+ }
15
+ ],
16
+ "description": ""
17
+ },
18
+ "DropdownButtonProps": {
19
+ "name": "DropdownButtonProps",
20
+ "properties": [
21
+ {
22
+ "name": "arrow",
23
+ "required": false,
24
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
25
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
26
+ "description": "Shows the arrow when activated",
27
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Shows the arrow when activated</p>\n</div></div>",
28
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
29
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L88"
30
+ },
31
+ {
32
+ "name": "block",
33
+ "required": false,
34
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
35
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
36
+ "description": "Sets the button to be 100% of the width of its parent",
37
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets the button to be 100% of the width of its parent</p>\n</div></div>",
38
+ "sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
39
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L25"
40
+ },
41
+ {
42
+ "name": "icon",
43
+ "required": false,
44
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
45
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
46
+ "description": "string icons have been deprecated, please pass a component from `@procore/core-icons`\nThe icon to display on the left side of the label",
47
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>string icons have been deprecated, please pass a component from <code>@procore/core-icons</code>\nThe icon to display on the left side of the label</p>\n</div></div>",
48
+ "sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
49
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L30"
50
+ },
51
+ {
52
+ "name": "iconRight",
53
+ "required": false,
54
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
55
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
56
+ "description": "The icon to display on the right side of the label",
57
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The icon to display on the right side of the label</p>\n</div></div>",
58
+ "sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
59
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L34"
60
+ },
61
+ {
62
+ "name": "loading",
63
+ "required": false,
64
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
65
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
66
+ "description": "Shows the button spinner",
67
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Shows the button spinner</p>\n</div></div>",
68
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
69
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L92"
70
+ },
71
+ {
72
+ "name": "open",
73
+ "required": false,
74
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
75
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
76
+ "description": "Changes the direction of the arrow if shown",
77
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes the direction of the arrow if shown</p>\n</div></div>",
78
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
79
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L96"
80
+ },
81
+ {
82
+ "name": "size",
83
+ "required": false,
84
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ButtonSizes</a>",
85
+ "typeDetail": "<span class=\"tsd-signature-type\">&quot;sm&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;md&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;lg&quot;</span>",
86
+ "description": "The size of the button",
87
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The size of the button</p>\n</div></div>",
88
+ "sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
89
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L42"
90
+ },
91
+ {
92
+ "name": "variant",
93
+ "required": false,
94
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">LegacyButtonVariant</a>",
95
+ "typeDetail": "<span class=\"tsd-signature-type\">&quot;primary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;secondary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;tertiary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;action-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;error-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;success-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;info-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;dropdown&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;dropdown-secondary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;form&quot;</span>",
96
+ "description": "All variants except for primary, secondary, tertiary are DEPRECATED.\nAll will still be accepted, but deprecated ones will look like secondary",
97
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>All variants except for primary, secondary, tertiary are DEPRECATED.\nAll will still be accepted, but deprecated ones will look like secondary</p>\n</div></div>",
98
+ "sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
99
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L47"
100
+ }
101
+ ],
102
+ "description": ""
103
+ },
104
+ "DropdownMenuProps": {
105
+ "name": "DropdownMenuProps",
106
+ "properties": [
107
+ {
108
+ "name": "footer",
109
+ "required": false,
110
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
111
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
112
+ "description": "",
113
+ "descriptionHtml": "",
114
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
115
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L100"
116
+ },
117
+ {
118
+ "name": "i18nScope",
119
+ "required": false,
120
+ "type": "<span class=\"tsd-signature-type\">string</span>",
121
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
122
+ "description": "",
123
+ "descriptionHtml": "",
124
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
125
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L102"
126
+ },
127
+ {
128
+ "name": "menuRef",
129
+ "required": true,
130
+ "type": "<span class=\"tsd-signature-type\">RefObject</span><span class=\"tsd-signature-symbol\">&lt;</span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">MenuRef</a><span class=\"tsd-signature-symbol\">&gt;</span>",
131
+ "typeDetail": "<span class=\"tsd-signature-type\">RefObject</span><span class=\"tsd-signature-symbol\">&lt;</span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">MenuRef</a><span class=\"tsd-signature-symbol\">&gt;</span>",
132
+ "description": "",
133
+ "descriptionHtml": "",
134
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
135
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L101"
136
+ },
137
+ {
138
+ "name": "onSearch",
139
+ "required": false,
140
+ "type": "Function",
141
+ "typeDetail": "on<wbr/>Search<span class=\"tsd-signature-symbol\">(</span>event<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>",
142
+ "description": "",
143
+ "descriptionHtml": "",
144
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
145
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L103"
146
+ },
147
+ {
148
+ "name": "onSelect",
149
+ "required": false,
150
+ "type": "Function",
151
+ "typeDetail": "on<wbr/>Select<span class=\"tsd-signature-symbol\">(</span>selection<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Selection</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
152
+ "description": "",
153
+ "descriptionHtml": "",
154
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
155
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L104"
156
+ }
157
+ ],
158
+ "description": ""
159
+ },
160
+ "DropdownProps": {
161
+ "name": "DropdownProps",
162
+ "properties": [
163
+ {
164
+ "name": "afterHide",
165
+ "required": false,
166
+ "type": "<span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">void</span>",
167
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">void</span>",
168
+ "description": "",
169
+ "descriptionHtml": "",
170
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
171
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L16"
172
+ },
173
+ {
174
+ "name": "afterShow",
175
+ "required": false,
176
+ "type": "<span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">void</span>",
177
+ "typeDetail": "<span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> =&gt; </span><span class=\"tsd-signature-type\">void</span>",
178
+ "description": "",
179
+ "descriptionHtml": "",
180
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
181
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L17"
182
+ },
183
+ {
184
+ "name": "beforeHide",
185
+ "required": false,
186
+ "type": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
187
+ "typeDetail": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
188
+ "description": "",
189
+ "descriptionHtml": "",
190
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
191
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L18"
192
+ },
193
+ {
194
+ "name": "beforeShow",
195
+ "required": false,
196
+ "type": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
197
+ "typeDetail": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
198
+ "description": "",
199
+ "descriptionHtml": "",
200
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
201
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L19"
202
+ },
203
+ {
204
+ "name": "block",
205
+ "required": false,
206
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
207
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
208
+ "description": "",
209
+ "descriptionHtml": "",
210
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
211
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L20"
212
+ },
213
+ {
214
+ "name": "className",
215
+ "required": false,
216
+ "type": "<span class=\"tsd-signature-type\">string</span>",
217
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
218
+ "description": "",
219
+ "descriptionHtml": "",
220
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
221
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L21"
222
+ },
223
+ {
224
+ "name": "disabled",
225
+ "required": false,
226
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
227
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
228
+ "description": "",
229
+ "descriptionHtml": "",
230
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
231
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L22"
232
+ },
233
+ {
234
+ "name": "error",
235
+ "required": false,
236
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
237
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
238
+ "description": "",
239
+ "descriptionHtml": "",
240
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
241
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L23"
242
+ },
243
+ {
244
+ "name": "footer",
245
+ "required": false,
246
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
247
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
248
+ "description": "Content to render in a footer.",
249
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Content to render in a footer.</p>\n</div></div>",
250
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
251
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L28"
252
+ },
253
+ {
254
+ "name": "i18nScope",
255
+ "required": false,
256
+ "type": "<span class=\"tsd-signature-type\">string</span>",
257
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
258
+ "description": "The i18n key to use for the dropdowns's configurable strings.\nDefaults to using the core library's default strings.",
259
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The i18n key to use for the dropdowns&#39;s configurable strings.\nDefaults to using the core library&#39;s default strings.</p>\n</div></div>",
260
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
261
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L33"
262
+ },
263
+ {
264
+ "name": "icon",
265
+ "required": false,
266
+ "type": "<span class=\"tsd-signature-type\">ReactNode</span>",
267
+ "typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
268
+ "description": "",
269
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>remarks</dt><dd><p>string icons have been deprecated, please pass a component from <code>@procore/core-icons</code></p>\n</dd></dl></div>",
270
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
271
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L37"
272
+ },
273
+ {
274
+ "name": "label",
275
+ "required": false,
276
+ "type": "<span class=\"tsd-signature-type\">string</span>",
277
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
278
+ "description": "The button text.",
279
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The button text.</p>\n</div></div>",
280
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
281
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L41"
282
+ },
283
+ {
284
+ "name": "loading",
285
+ "required": false,
286
+ "type": "<span class=\"tsd-signature-type\">boolean</span>",
287
+ "typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
288
+ "description": "",
289
+ "descriptionHtml": "",
290
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
291
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L42"
292
+ },
293
+ {
294
+ "name": "placement",
295
+ "required": false,
296
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">DropdownPlacement</a>",
297
+ "typeDetail": "<span class=\"tsd-signature-type\">Extract</span><span class=\"tsd-signature-symbol\">&lt;</span><span class=\"tsd-signature-type\">Placement</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">&quot;bottom&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;bottom-left&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;bottom-right&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;top&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;top-left&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;top-right&quot;</span><span class=\"tsd-signature-symbol\">&gt;</span>",
298
+ "description": "The placement of the overlay.",
299
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The placement of the overlay.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>&#39;bottom-left&#39;</p>\n</dd></dl></div>",
300
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
301
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L68"
302
+ },
303
+ {
304
+ "name": "size",
305
+ "required": false,
306
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ButtonSizes</a>",
307
+ "typeDetail": "<span class=\"tsd-signature-type\">&quot;sm&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;md&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;lg&quot;</span>",
308
+ "description": "The button size",
309
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The button size</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>&#39;md&#39;</p>\n</dd></dl></div>",
310
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
311
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L74"
312
+ },
313
+ {
314
+ "name": "trigger",
315
+ "required": false,
316
+ "type": "<span class=\"tsd-signature-type\">TriggerVariant</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">TriggerVariant</span><span class=\"tsd-signature-symbol\">[]</span>",
317
+ "typeDetail": "<span class=\"tsd-signature-type\">TriggerVariant</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">TriggerVariant</span><span class=\"tsd-signature-symbol\">[]</span>",
318
+ "description": "",
319
+ "descriptionHtml": "",
320
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
321
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L75"
322
+ },
323
+ {
324
+ "name": "type",
325
+ "required": false,
326
+ "type": "<span class=\"tsd-signature-type\">&quot;button&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;submit&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;reset&quot;</span>",
327
+ "typeDetail": "<span class=\"tsd-signature-type\">&quot;button&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;submit&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;reset&quot;</span>",
328
+ "description": "",
329
+ "descriptionHtml": "",
330
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
331
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L76"
332
+ },
333
+ {
334
+ "name": "variant",
335
+ "required": false,
336
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">LegacyButtonVariant</a>",
337
+ "typeDetail": "<span class=\"tsd-signature-type\">&quot;primary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;secondary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;tertiary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;action-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;error-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;success-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;info-outline&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;dropdown&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;dropdown-secondary&quot;</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">&quot;form&quot;</span>",
338
+ "description": "",
339
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>&#39;secondary&#39;</p>\n</dd></dl></div>",
340
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
341
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L81"
342
+ },
343
+ {
344
+ "name": "onSearch",
345
+ "required": false,
346
+ "type": "Function",
347
+ "typeDetail": "on<wbr/>Search<span class=\"tsd-signature-symbol\">(</span>event<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>",
348
+ "description": "Adds a search bar to the dropdown.",
349
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Adds a search bar to the dropdown.</p>\n</div></div>",
350
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
351
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L47"
352
+ },
353
+ {
354
+ "name": "onSelect",
355
+ "required": false,
356
+ "type": "Function",
357
+ "typeDetail": "on<wbr/>Select<span class=\"tsd-signature-symbol\">(</span>selection<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">Selection</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
358
+ "description": "<div>\n <div>Callback for selecting an item from the menu\n <CodeBlock>\n { '({ event: ReactEvent, item: Menu.Item.props.item, group: bool }) => void' }\n </CodeBlock>\n </div>\n <div>\n <Code>item</Code> will be the <Code>item</Code> prop supplied to the{' '}\n <Code>Item</Code> component\n </div>\n</div>",
359
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<div>\n <div>Callback for selecting an item from the menu\n <CodeBlock>\n { '({ event: ReactEvent, item: Menu.Item.props.item, group: bool }) => void' }\n </CodeBlock>\n </div>\n <div>\n <Code>item</Code> will be the <Code>item</Code> prop supplied to the{' '}\n <Code>Item</Code> component\n </div>\n</div></div></div>",
360
+ "sourceFile": "packages/core-react/src/components/Dropdown/Dropdown.types.ts",
361
+ "sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Dropdown/Dropdown.types.ts#L62"
362
+ }
363
+ ],
364
+ "description": ""
365
+ }
366
+ }