@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.
- package/CHANGELOG.md +23 -0
- package/dist/esm/components/FileSelect/FileSelect.types.d.ts +17 -60
- package/dist/esm/components/Tree/Tree.js +3 -3
- package/dist/esm/components/Tree/Tree.js.map +1 -1
- package/dist/esm/components/Tree/Tree.styles.d.ts +1 -0
- package/dist/esm/components/Tree/Tree.styles.js +4 -2
- package/dist/esm/components/Tree/Tree.styles.js.map +1 -1
- package/dist/props/FileSelect.json +1 -1
- package/dist/props/allProps.json +37 -37
- package/dist/typedoc/components/Avatar/Avatar.types.json +198 -0
- package/dist/typedoc/components/AvatarStack/AvatarStack.types.json +226 -0
- package/dist/typedoc/components/Badge/Badge.types.json +74 -0
- package/dist/typedoc/components/Banner/Banner.types.json +141 -0
- package/dist/typedoc/components/Breadcrumbs/Breadcrumbs.types.json +84 -0
- package/dist/typedoc/components/Button/Button.types.json +124 -0
- package/dist/typedoc/components/Calendar/Calendar.types.json +846 -0
- package/dist/typedoc/components/Card/Card.types.json +69 -0
- package/dist/typedoc/components/Checkbox/Checkbox.types.json +78 -0
- package/dist/typedoc/components/ContactItem/ContactItem.types.json +98 -0
- package/dist/typedoc/components/DateInput/DateInput.types.json +376 -0
- package/dist/typedoc/components/DateSelect/DateSelect.types.json +138 -0
- package/dist/typedoc/components/Dropdown/Dropdown.types.json +366 -0
- package/dist/typedoc/components/DropdownFlyout/DropdownFlyout.types.json +358 -0
- package/dist/typedoc/components/Dropzone/Dropzone.types.json +498 -0
- package/dist/typedoc/components/EmptyState/EmptyState.types.json +172 -0
- package/dist/typedoc/components/FileList/FileList.types.json +38 -0
- package/dist/typedoc/components/FileSelect/FileSelect.types.json +264 -0
- package/dist/typedoc/components/FileSelect/GridSource/GridSource.types.json +215 -0
- package/dist/typedoc/components/FileSelect/LocalSource/LocalSource.types.json +148 -0
- package/dist/typedoc/components/FileSelect/TreeSource/TreeSource.types.json +169 -0
- package/dist/typedoc/components/Font/Font.types.json +78 -0
- package/dist/typedoc/components/Form/Form.types.json +6870 -0
- package/dist/typedoc/components/GroupSelect/GroupSelect.types.json +520 -0
- package/dist/typedoc/components/Icon/Icon.types.json +114 -0
- package/dist/typedoc/components/Input/Input.types.json +29 -0
- package/dist/typedoc/components/Link/Link.types.json +48 -0
- package/dist/typedoc/components/Menu/Menu.types.json +717 -0
- package/dist/typedoc/components/MenuImperative/MenuImperative.types.json +732 -0
- package/dist/typedoc/components/Modal/Modal.types.json +302 -0
- package/dist/typedoc/components/MultiSelect/MultiSelect.types.json +298 -0
- package/dist/typedoc/components/Notation/Notation.types.json +48 -0
- package/dist/typedoc/components/NumberInput/NumberInput.types.json +288 -0
- package/dist/typedoc/components/OverlayTrigger/OverlayTrigger.json +188 -0
- package/dist/typedoc/components/Pagination/Pagination.types.json +89 -0
- package/dist/typedoc/components/Panel/Panel.types.json +208 -0
- package/dist/typedoc/components/Pill/Pill.types.json +18 -0
- package/dist/typedoc/components/PillSelect/PillSelect.types.json +486 -0
- package/dist/typedoc/components/Popover/Popover.types.json +104 -0
- package/dist/typedoc/components/ProgressBar/ProgressBar.types.json +58 -0
- package/dist/typedoc/components/RadioButton/RadioButton.types.json +68 -0
- package/dist/typedoc/components/Required/Required.types.json +58 -0
- package/dist/typedoc/components/Search/Search.types.json +233 -0
- package/dist/typedoc/components/SegmentedController/SegmentedController.types.json +221 -0
- package/dist/typedoc/components/Select/Select.types.json +330 -0
- package/dist/typedoc/components/Slider/Slider.types.json +68 -0
- package/dist/typedoc/components/Spinner/Spinner.types.json +89 -0
- package/dist/typedoc/components/Switch/Switch.types.json +38 -0
- package/dist/typedoc/components/Table/Table.types.json +1033 -0
- package/dist/typedoc/components/Tabs/Tabs.types.json +157 -0
- package/dist/typedoc/components/TextArea/TextArea.types.json +39 -0
- package/dist/typedoc/components/TextEditor/TextEditor.types.json +79 -0
- package/dist/typedoc/components/Thumbnail/Thumbnail.types.json +128 -0
- package/dist/typedoc/components/TieredDropdown/TieredDropdown.types.json +424 -0
- package/dist/typedoc/components/TieredSelect/TieredSelect.types.json +278 -0
- package/dist/typedoc/components/Tile/Tile.types.json +338 -0
- package/dist/typedoc/components/Toast/Toast.types.json +48 -0
- package/dist/typedoc/components/ToggleButton/ToggleButton.types.json +38 -0
- package/dist/typedoc/components/Token/Token.types.json +125 -0
- package/dist/typedoc/components/Tooltip/Tooltip.types.json +144 -0
- package/dist/typedoc/components/Tree/Tree.types.json +1271 -0
- package/dist/typedoc/components/Typeahead/Typeahead.types.json +28 -0
- package/dist/typedoc/components/Typography/Typography.types.json +88 -0
- package/dist/typedoc/layouts/Box/Box.types.json +742 -0
- package/dist/typedoc/layouts/DetailPage/DetailPage.json +124 -0
- package/dist/typedoc/layouts/Flex/Flex.types.json +268 -0
- package/dist/typedoc/layouts/FlexList/FlexList.types.json +298 -0
- package/dist/typedoc/layouts/Grid/Grid.json +120 -0
- package/dist/typedoc/layouts/IconLayout/IconLayout.json +1 -0
- package/dist/typedoc/layouts/LegacyDetailPage/LegacyDetailPage.json +48 -0
- package/dist/typedoc/layouts/ListPage/ListPage.types.json +115 -0
- package/dist/typedoc/layouts/NextDetailPage/NextDetailPage.types.json +48 -0
- package/dist/typedoc/layouts/NextGrid/NextGrid.types.json +105 -0
- package/dist/typedoc/layouts/PageLayout/PageLayout.types.json +90 -0
- package/dist/typedoc/layouts/ToolHeader/ToolHeader.types.json +95 -0
- package/dist/typedoc/utils/types.json +38 -0
- package/package.json +9 -7
- package/storybook-static/0.25cdfc54d577d52c1c6b.manager.bundle.js +1 -0
- package/storybook-static/0.66071c6b.iframe.bundle.js +1 -0
- package/storybook-static/1.cb03d9ea.iframe.bundle.js +3 -0
- package/storybook-static/{1.f604ac3e.iframe.bundle.js.LICENSE.txt → 1.cb03d9ea.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/1.cb03d9ea.iframe.bundle.js.map +1 -0
- package/storybook-static/2.e3f1ddbd.iframe.bundle.js +1 -0
- package/storybook-static/4.ca3fc33a26ad8acaa0cf.manager.bundle.js +2 -0
- package/storybook-static/{4.37d215da3480ddf79684.manager.bundle.js.LICENSE.txt → 4.ca3fc33a26ad8acaa0cf.manager.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/5.c7334e99bca309dc0f6b.manager.bundle.js +1 -0
- package/storybook-static/{6.72a5c826f7b9ba2a1008.manager.bundle.js → 6.8684078c90624aaf5c12.manager.bundle.js} +2 -2
- package/storybook-static/{6.72a5c826f7b9ba2a1008.manager.bundle.js.LICENSE.txt → 6.8684078c90624aaf5c12.manager.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/7.2d596a64.iframe.bundle.js +3 -0
- package/storybook-static/{7.be450f50.iframe.bundle.js.LICENSE.txt → 7.2d596a64.iframe.bundle.js.LICENSE.txt} +1 -1
- package/storybook-static/7.2d596a64.iframe.bundle.js.map +1 -0
- package/storybook-static/{7.5bf306f93261894e2733.manager.bundle.js → 7.5dd8b1d63c6ccb2b7d4f.manager.bundle.js} +1 -1
- package/storybook-static/{8.38854c3a6e86288d54cc.manager.bundle.js → 8.9c2959b68dd6b32c4949.manager.bundle.js} +1 -1
- package/storybook-static/8.a80b4344.iframe.bundle.js +1 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/index.html +1 -1
- package/storybook-static/main.01bf0da23679c71a30ae.manager.bundle.js +1 -0
- package/storybook-static/{main.1de6ae75.iframe.bundle.js → main.8bf17d1f.iframe.bundle.js} +1 -1
- package/storybook-static/{runtime~main.3937db5d0c29ffeb9085.manager.bundle.js → runtime~main.f7aa4e9b5144dc1a277f.manager.bundle.js} +1 -1
- package/storybook-static/{runtime~main.ab98e1f1.iframe.bundle.js → runtime~main.f83a03f8.iframe.bundle.js} +1 -1
- package/storybook-static/vendors~main.9381682917547df19d6c.manager.bundle.js +2 -0
- package/storybook-static/{vendors~main.3cce118bc9035e221837.manager.bundle.js.LICENSE.txt → vendors~main.9381682917547df19d6c.manager.bundle.js.LICENSE.txt} +0 -6
- package/storybook-static/vendors~main.d8755a0a.iframe.bundle.js +3 -0
- package/storybook-static/{vendors~main.484f0d61.iframe.bundle.js.LICENSE.txt → vendors~main.d8755a0a.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/vendors~main.d8755a0a.iframe.bundle.js.map +1 -0
- package/tsconfig.json +6 -0
- package/tsconfig.prod.json +1 -1
- package/typedoc.js +1 -1
- package/typedoc.ts +187 -0
- package/storybook-static/0.41e28a0bb94d5e5489a5.manager.bundle.js +0 -1
- package/storybook-static/0.b4bb1ac1.iframe.bundle.js +0 -1
- package/storybook-static/1.f604ac3e.iframe.bundle.js +0 -3
- package/storybook-static/1.f604ac3e.iframe.bundle.js.map +0 -1
- package/storybook-static/2.127b3eae.iframe.bundle.js +0 -1
- package/storybook-static/4.37d215da3480ddf79684.manager.bundle.js +0 -2
- package/storybook-static/5.81000771920a22421f7b.manager.bundle.js +0 -1
- package/storybook-static/7.be450f50.iframe.bundle.js +0 -3
- package/storybook-static/7.be450f50.iframe.bundle.js.map +0 -1
- package/storybook-static/8.8a74f8ce.iframe.bundle.js +0 -1
- package/storybook-static/main.2ac4adfe9a439a3c1992.manager.bundle.js +0 -1
- package/storybook-static/vendors~main.3cce118bc9035e221837.manager.bundle.js +0 -2
- package/storybook-static/vendors~main.484f0d61.iframe.bundle.js +0 -3
- package/storybook-static/vendors~main.484f0d61.iframe.bundle.js.map +0 -1
- package/tsconfig.dev.json +0 -4
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
{
|
|
2
|
+
"InternalTieredDropdownProps": {
|
|
3
|
+
"name": "InternalTieredDropdownProps",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "block",
|
|
7
|
+
"required": false,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
10
|
+
"description": "Sets the button to be 100% of the width of its parent",
|
|
11
|
+
"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>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L25"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "children",
|
|
17
|
+
"required": true,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">ReactText</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactText</span>",
|
|
20
|
+
"description": "",
|
|
21
|
+
"descriptionHtml": "",
|
|
22
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L21"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "data-qa",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
30
|
+
"description": "",
|
|
31
|
+
"descriptionHtml": "",
|
|
32
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L22"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "icon",
|
|
37
|
+
"required": false,
|
|
38
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
39
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
40
|
+
"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",
|
|
41
|
+
"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>",
|
|
42
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L30"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "iconRight",
|
|
47
|
+
"required": false,
|
|
48
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
49
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
50
|
+
"description": "The icon to display on the right side of the label",
|
|
51
|
+
"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>",
|
|
52
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
53
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L34"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "loading",
|
|
57
|
+
"required": false,
|
|
58
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
59
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
60
|
+
"description": "Shows the button spinner",
|
|
61
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Shows the button spinner</p>\n</div></div>",
|
|
62
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
63
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L38"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "options",
|
|
67
|
+
"required": false,
|
|
68
|
+
"type": "<span class=\"tsd-signature-type\" data-tsd-kind=\"Type parameter\">T</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
69
|
+
"typeDetail": "<span class=\"tsd-signature-type\" data-tsd-kind=\"Type parameter\">T</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
70
|
+
"description": "",
|
|
71
|
+
"descriptionHtml": "",
|
|
72
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L23"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "size",
|
|
77
|
+
"required": false,
|
|
78
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ButtonSizes</a>",
|
|
79
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"sm"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"md"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"lg"</span>",
|
|
80
|
+
"description": "The size of the button",
|
|
81
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The size of the button</p>\n</div></div>",
|
|
82
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L42"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "value",
|
|
87
|
+
"required": false,
|
|
88
|
+
"type": "<span class=\"tsd-signature-type\" data-tsd-kind=\"Type parameter\">T</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
89
|
+
"typeDetail": "<span class=\"tsd-signature-type\" data-tsd-kind=\"Type parameter\">T</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
90
|
+
"description": "",
|
|
91
|
+
"descriptionHtml": "",
|
|
92
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
93
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L24"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "variant",
|
|
97
|
+
"required": false,
|
|
98
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ButtonVariant</a>",
|
|
99
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"primary"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"secondary"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"tertiary"</span>",
|
|
100
|
+
"description": "",
|
|
101
|
+
"descriptionHtml": "",
|
|
102
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
103
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L25"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"description": ""
|
|
107
|
+
},
|
|
108
|
+
"TieredDropdownProps": {
|
|
109
|
+
"name": "TieredDropdownProps",
|
|
110
|
+
"properties": [
|
|
111
|
+
{
|
|
112
|
+
"name": "afterHide",
|
|
113
|
+
"required": false,
|
|
114
|
+
"type": "<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>",
|
|
115
|
+
"typeDetail": "<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>",
|
|
116
|
+
"description": "",
|
|
117
|
+
"descriptionHtml": "",
|
|
118
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
119
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L35"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "afterShow",
|
|
123
|
+
"required": false,
|
|
124
|
+
"type": "<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>",
|
|
125
|
+
"typeDetail": "<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>",
|
|
126
|
+
"description": "",
|
|
127
|
+
"descriptionHtml": "",
|
|
128
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
129
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L36"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "beforeHide",
|
|
133
|
+
"required": false,
|
|
134
|
+
"type": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
135
|
+
"typeDetail": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
136
|
+
"description": "",
|
|
137
|
+
"descriptionHtml": "",
|
|
138
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
139
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L37"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "beforeShow",
|
|
143
|
+
"required": false,
|
|
144
|
+
"type": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
145
|
+
"typeDetail": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
146
|
+
"description": "",
|
|
147
|
+
"descriptionHtml": "",
|
|
148
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
149
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L38"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "block",
|
|
153
|
+
"required": false,
|
|
154
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
155
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
156
|
+
"description": "",
|
|
157
|
+
"descriptionHtml": "",
|
|
158
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
159
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L152"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "children",
|
|
163
|
+
"required": true,
|
|
164
|
+
"type": "<span class=\"tsd-signature-type\">ReactText</span>",
|
|
165
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactText</span>",
|
|
166
|
+
"description": "",
|
|
167
|
+
"descriptionHtml": "",
|
|
168
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
169
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L32"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "data-qa",
|
|
173
|
+
"required": false,
|
|
174
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
175
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
176
|
+
"description": "",
|
|
177
|
+
"descriptionHtml": "",
|
|
178
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
179
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L33"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "disabled",
|
|
183
|
+
"required": false,
|
|
184
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
185
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
186
|
+
"description": "",
|
|
187
|
+
"descriptionHtml": "",
|
|
188
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
189
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L153"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "error",
|
|
193
|
+
"required": false,
|
|
194
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
195
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
196
|
+
"description": "",
|
|
197
|
+
"descriptionHtml": "",
|
|
198
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
199
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L154"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "i18nScope",
|
|
203
|
+
"required": false,
|
|
204
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
205
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
206
|
+
"description": "The i18n key to use for the tiered select's configurable strings. Defaults to using the core library's default strings.",
|
|
207
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The i18n key to use for the tiered select's configurable strings. Defaults to using the core library's default strings.</p>\n</div></div>",
|
|
208
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
209
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L85"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "icon",
|
|
213
|
+
"required": false,
|
|
214
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
215
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
216
|
+
"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",
|
|
217
|
+
"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>",
|
|
218
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
219
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L30"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "iconRight",
|
|
223
|
+
"required": false,
|
|
224
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
225
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
226
|
+
"description": "The icon to display on the right side of the label",
|
|
227
|
+
"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>",
|
|
228
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
229
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L34"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "loading",
|
|
233
|
+
"required": false,
|
|
234
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
235
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
236
|
+
"description": "",
|
|
237
|
+
"descriptionHtml": "",
|
|
238
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
239
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L156"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "loadingMore",
|
|
243
|
+
"required": false,
|
|
244
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
245
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
246
|
+
"description": "Used to display a loading indicator as the last item of the list. Can\nbe used with <Code>onScrollBottom</Code> or <Code>onSearch</Code>{' '}\n(empty <Code>options</Code> during search async call) to indicate the\nloading of new items.",
|
|
247
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Used to display a loading indicator as the last item of the list. Can\nbe used with <Code>onScrollBottom</Code> or <Code>onSearch</Code>{' '}\n(empty <Code>options</Code> during search async call) to indicate the\nloading of new items.</p>\n</div></div>",
|
|
248
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
249
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L95"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "onClear",
|
|
253
|
+
"required": false,
|
|
254
|
+
"type": "<span class=\"tsd-signature-symbol\">(</span>event<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">MouseEvent</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">HTMLButtonElement</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">MouseEvent</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>",
|
|
255
|
+
"typeDetail": "<span class=\"tsd-signature-symbol\">(</span>event<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">MouseEvent</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">HTMLButtonElement</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">MouseEvent</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>",
|
|
256
|
+
"description": "",
|
|
257
|
+
"descriptionHtml": "",
|
|
258
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
259
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L113"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "onScrollBottom",
|
|
263
|
+
"required": false,
|
|
264
|
+
"type": "<span class=\"tsd-signature-symbol\">(</span>e<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">UIEvent</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">HTMLDivElement</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">UIEvent</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>",
|
|
265
|
+
"typeDetail": "<span class=\"tsd-signature-symbol\">(</span>e<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">UIEvent</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">HTMLDivElement</span><span class=\"tsd-signature-symbol\">, </span><span class=\"tsd-signature-type\">UIEvent</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>",
|
|
266
|
+
"description": "",
|
|
267
|
+
"descriptionHtml": "",
|
|
268
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
269
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L139"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "onSearch",
|
|
273
|
+
"required": false,
|
|
274
|
+
"type": "<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\"><</span><span class=\"tsd-signature-type\">HTMLInputElement</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>",
|
|
275
|
+
"typeDetail": "<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\"><</span><span class=\"tsd-signature-type\">HTMLInputElement</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>",
|
|
276
|
+
"description": "",
|
|
277
|
+
"descriptionHtml": "",
|
|
278
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
279
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L146"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "onSelect",
|
|
283
|
+
"required": true,
|
|
284
|
+
"type": "<span class=\"tsd-signature-type\">undefined</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">(</span>selection<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">TierSelection</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> => </span><span class=\"tsd-signature-type\">void</span><span class=\"tsd-signature-symbol\">)</span>",
|
|
285
|
+
"typeDetail": "<span class=\"tsd-signature-type\">undefined</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">(</span>selection<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">TierSelection</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> => </span><span class=\"tsd-signature-type\">void</span><span class=\"tsd-signature-symbol\">)</span>",
|
|
286
|
+
"description": "",
|
|
287
|
+
"descriptionHtml": "",
|
|
288
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
289
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L31"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "options",
|
|
293
|
+
"required": false,
|
|
294
|
+
"type": "<span class=\"tsd-signature-type\">any</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
295
|
+
"typeDetail": "<span class=\"tsd-signature-type\">any</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
296
|
+
"description": "Flat array of tier objects, this array is used as data for the component",
|
|
297
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Flat array of tier objects, this array is used as data for the component</p>\n</div></div>",
|
|
298
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
299
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L160"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "selectableTiers",
|
|
303
|
+
"required": false,
|
|
304
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
305
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
306
|
+
"description": "If true, any tier is selectable. If false, only leaf nodes are selectable",
|
|
307
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>If true, any tier is selectable. If false, only leaf nodes are selectable</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>true</p>\n</dd></dl></div>",
|
|
308
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
309
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L166"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "size",
|
|
313
|
+
"required": false,
|
|
314
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ButtonSizes</a>",
|
|
315
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"sm"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"md"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"lg"</span>",
|
|
316
|
+
"description": "The size of the button",
|
|
317
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The size of the button</p>\n</div></div>",
|
|
318
|
+
"sourceFile": "packages/core-react/src/components/Button/Button.types.ts",
|
|
319
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Button/Button.types.ts#L42"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "tabIndex",
|
|
323
|
+
"required": false,
|
|
324
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
325
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
326
|
+
"description": "",
|
|
327
|
+
"descriptionHtml": "",
|
|
328
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
329
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L147"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "variant",
|
|
333
|
+
"required": false,
|
|
334
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ButtonVariant</a>",
|
|
335
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"primary"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"secondary"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"tertiary"</span>",
|
|
336
|
+
"description": "",
|
|
337
|
+
"descriptionHtml": "",
|
|
338
|
+
"sourceFile": "packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts",
|
|
339
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredDropdown/TieredDropdown.types.ts#L34"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "getGroupId",
|
|
343
|
+
"required": false,
|
|
344
|
+
"type": "Function",
|
|
345
|
+
"typeDetail": "get<wbr/>Group<wbr/>Id<span class=\"tsd-signature-symbol\">(</span>tier<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\">Id</span>",
|
|
346
|
+
"description": "Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => Id'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.GroupId'}</CodeBlock>",
|
|
347
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => Id'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.GroupId'}</CodeBlock></p>\n</div></div>",
|
|
348
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
349
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L46"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "getId",
|
|
353
|
+
"required": false,
|
|
354
|
+
"type": "Function",
|
|
355
|
+
"typeDetail": "get<wbr/>Id<span class=\"tsd-signature-symbol\">(</span>tier<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\">Id</span>",
|
|
356
|
+
"description": "Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => Id'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.Id'}</CodeBlock>",
|
|
357
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => Id'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.Id'}</CodeBlock></p>\n</div></div>",
|
|
358
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
359
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L53"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "getLabel",
|
|
363
|
+
"required": false,
|
|
364
|
+
"type": "Function",
|
|
365
|
+
"typeDetail": "get<wbr/>Label<span class=\"tsd-signature-symbol\">(</span>tier<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\">undefined</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span>",
|
|
366
|
+
"description": "Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => string'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.Label'}</CodeBlock>",
|
|
367
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => string'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.Label'}</CodeBlock></p>\n</div></div>",
|
|
368
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
369
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L60"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "getNextGroupId",
|
|
373
|
+
"required": false,
|
|
374
|
+
"type": "Function",
|
|
375
|
+
"typeDetail": "get<wbr/>Next<wbr/>Group<wbr/>Id<span class=\"tsd-signature-symbol\">(</span>tier<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\">Id</span>",
|
|
376
|
+
"description": "Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => Id'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.NextGroupId'}</CodeBlock>",
|
|
377
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for using a custom <Code>tier</Code> shape\n<CodeBlock>{'(tier: any) => Id'}</CodeBlock>\nDefaults to <CodeBlock>{'(tier: any) => tier.NextGroupId'}</CodeBlock></p>\n</div></div>",
|
|
378
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
379
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L67"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "isLeaf",
|
|
383
|
+
"required": false,
|
|
384
|
+
"type": "Function",
|
|
385
|
+
"typeDetail": "is<wbr/>Leaf<span class=\"tsd-signature-symbol\">(</span>tier<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\">boolean</span>",
|
|
386
|
+
"description": "",
|
|
387
|
+
"descriptionHtml": "",
|
|
388
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
389
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L87"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "isTierDisabled",
|
|
393
|
+
"required": false,
|
|
394
|
+
"type": "Function",
|
|
395
|
+
"typeDetail": "is<wbr/>Tier<wbr/>Disabled<span class=\"tsd-signature-symbol\">(</span>tier<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\">undefined</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">boolean</span>",
|
|
396
|
+
"description": "",
|
|
397
|
+
"descriptionHtml": "",
|
|
398
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
399
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L86"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "onNavigate",
|
|
403
|
+
"required": false,
|
|
404
|
+
"type": "Function",
|
|
405
|
+
"typeDetail": "on<wbr/>Navigate<span class=\"tsd-signature-symbol\">(</span>nextGroupId<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">Id</span>, value<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-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
406
|
+
"description": "Callback for when navigation occurs. Triggered by the left and right\narrow keys, or clicking a navigable item. Returns the id of the next\ngroup that will be navigated to, and the updated path.\n<CodeBlock>\n {'(nextGroupId: string | number | undefined, path: any[]) => '}\n</CodeBlock>",
|
|
407
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for when navigation occurs. Triggered by the left and right\narrow keys, or clicking a navigable item. Returns the id of the next\ngroup that will be navigated to, and the updated path.\n<CodeBlock>\n {'(nextGroupId: string | number | undefined, path: any[]) => '}\n</CodeBlock></p>\n</div></div>",
|
|
408
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
409
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L123"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "onQuickCreate",
|
|
413
|
+
"required": false,
|
|
414
|
+
"type": "Function",
|
|
415
|
+
"typeDetail": "on<wbr/>Quick<wbr/>Create<span class=\"tsd-signature-symbol\">(</span>name<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>",
|
|
416
|
+
"description": "Pass this callback when a quick create experience is desired. Called\nwhen the \"create\" button in quick create mode is clicked. Returns the\nvalue of the quick create input.\n<CodeBlock>{'(string) =>'}</CodeBlock>",
|
|
417
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Pass this callback when a quick create experience is desired. Called\nwhen the "create" button in quick create mode is clicked. Returns the\nvalue of the quick create input.\n<CodeBlock>{'(string) =>'}</CodeBlock></p>\n</div></div>",
|
|
418
|
+
"sourceFile": "packages/core-react/src/components/TieredSelect/TieredSelect.types.ts",
|
|
419
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/TieredSelect/TieredSelect.types.ts#L131"
|
|
420
|
+
}
|
|
421
|
+
],
|
|
422
|
+
"description": ""
|
|
423
|
+
}
|
|
424
|
+
}
|