@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,302 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ConfirmModalProps": {
|
|
3
|
+
"name": "ConfirmModalProps",
|
|
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": "Instead of using the default children, you can pass in your own.",
|
|
11
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "className",
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
20
|
+
"description": "Additional classNames",
|
|
21
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
22
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "headline",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
30
|
+
"description": "Headline message",
|
|
31
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Headline message</p>\n</div></div>",
|
|
32
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L36"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "open",
|
|
37
|
+
"required": false,
|
|
38
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
39
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
40
|
+
"description": "Modal open state",
|
|
41
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Modal open state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
|
|
42
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L15"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "placement",
|
|
47
|
+
"required": false,
|
|
48
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ModalPlacement</a>",
|
|
49
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"top"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"center"</span>",
|
|
50
|
+
"description": "Vertical placement of the modal",
|
|
51
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Vertical placement of the modal</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>center</p>\n</dd></dl></div>",
|
|
52
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
53
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L20"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "style",
|
|
57
|
+
"required": false,
|
|
58
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
59
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
60
|
+
"description": "Additional CSS styles",
|
|
61
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
62
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
63
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "width",
|
|
67
|
+
"required": false,
|
|
68
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ModalWidth</a>",
|
|
69
|
+
"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><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"xl"</span>",
|
|
70
|
+
"description": "Sets a width on the container and uses next centering. Future will default to `md`",
|
|
71
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets a width on the container and uses next centering. Future will default to <code>md</code></p>\n</div></div>",
|
|
72
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L24"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "onClickOverlay",
|
|
77
|
+
"required": false,
|
|
78
|
+
"type": "Function",
|
|
79
|
+
"typeDetail": "on<wbr/>Click<wbr/>Overlay<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\">HTMLDivElement</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>",
|
|
80
|
+
"description": "Callback for clicking the overlay",
|
|
81
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for clicking the overlay</p>\n</div></div>",
|
|
82
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L10"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "onClose",
|
|
87
|
+
"required": false,
|
|
88
|
+
"type": "Function",
|
|
89
|
+
"typeDetail": "on<wbr/>Close<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>",
|
|
90
|
+
"description": "The dismiss onClick callback",
|
|
91
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The dismiss onClick callback</p>\n</div></div>",
|
|
92
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
93
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L41"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"description": ""
|
|
97
|
+
},
|
|
98
|
+
"ModalBodyProps": {
|
|
99
|
+
"name": "ModalBodyProps",
|
|
100
|
+
"properties": [
|
|
101
|
+
{
|
|
102
|
+
"name": "noSideSpacing",
|
|
103
|
+
"required": false,
|
|
104
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
105
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
106
|
+
"description": "Removes left, right paddings from the modal body when true",
|
|
107
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Removes left, right paddings from the modal body when true</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
|
|
108
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
109
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L54"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"description": ""
|
|
113
|
+
},
|
|
114
|
+
"ModalCloseableHeaderProps": {
|
|
115
|
+
"name": "ModalCloseableHeaderProps",
|
|
116
|
+
"properties": [
|
|
117
|
+
{
|
|
118
|
+
"name": "children",
|
|
119
|
+
"required": false,
|
|
120
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
121
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
122
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
123
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
124
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
125
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "className",
|
|
129
|
+
"required": false,
|
|
130
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
131
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
132
|
+
"description": "Additional classNames",
|
|
133
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
134
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
135
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "qa",
|
|
139
|
+
"required": false,
|
|
140
|
+
"type": "<span class=\"tsd-signature-symbol\">{ </span>closeButton<span class=\"tsd-signature-symbol\">?: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> }</span>",
|
|
141
|
+
"typeDetail": "<span class=\"tsd-signature-symbol\">{ </span>closeButton<span class=\"tsd-signature-symbol\">?: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> }</span>",
|
|
142
|
+
"description": "",
|
|
143
|
+
"descriptionHtml": "",
|
|
144
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
145
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L46"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "style",
|
|
149
|
+
"required": false,
|
|
150
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
151
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
152
|
+
"description": "Additional CSS styles",
|
|
153
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
154
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
155
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "onClose",
|
|
159
|
+
"required": false,
|
|
160
|
+
"type": "Function",
|
|
161
|
+
"typeDetail": "on<wbr/>Close<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>",
|
|
162
|
+
"description": "",
|
|
163
|
+
"descriptionHtml": "",
|
|
164
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
165
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L45"
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"description": ""
|
|
169
|
+
},
|
|
170
|
+
"ModalContainerProps": {
|
|
171
|
+
"name": "ModalContainerProps",
|
|
172
|
+
"properties": [
|
|
173
|
+
{
|
|
174
|
+
"name": "children",
|
|
175
|
+
"required": false,
|
|
176
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
177
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
178
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
179
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
180
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
181
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "className",
|
|
185
|
+
"required": false,
|
|
186
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
187
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
188
|
+
"description": "Additional classNames",
|
|
189
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
190
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
191
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "placement",
|
|
195
|
+
"required": true,
|
|
196
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ModalPlacement</a>",
|
|
197
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"top"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"center"</span>",
|
|
198
|
+
"description": "",
|
|
199
|
+
"descriptionHtml": "",
|
|
200
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
201
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L28"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "style",
|
|
205
|
+
"required": false,
|
|
206
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
207
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
208
|
+
"description": "Additional CSS styles",
|
|
209
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
210
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
211
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "width",
|
|
215
|
+
"required": false,
|
|
216
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ModalWidth</a>",
|
|
217
|
+
"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><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"xl"</span>",
|
|
218
|
+
"description": "",
|
|
219
|
+
"descriptionHtml": "",
|
|
220
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
221
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L29"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"description": ""
|
|
225
|
+
},
|
|
226
|
+
"ModalProps": {
|
|
227
|
+
"name": "ModalProps",
|
|
228
|
+
"properties": [
|
|
229
|
+
{
|
|
230
|
+
"name": "children",
|
|
231
|
+
"required": false,
|
|
232
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
233
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
234
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
235
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
|
|
236
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
237
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L40"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "className",
|
|
241
|
+
"required": false,
|
|
242
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
243
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
244
|
+
"description": "Additional classNames",
|
|
245
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
246
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
247
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "open",
|
|
251
|
+
"required": false,
|
|
252
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
253
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
254
|
+
"description": "Modal open state",
|
|
255
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Modal open state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
|
|
256
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
257
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L15"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "placement",
|
|
261
|
+
"required": false,
|
|
262
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ModalPlacement</a>",
|
|
263
|
+
"typeDetail": "<span class=\"tsd-signature-type\">"top"</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"center"</span>",
|
|
264
|
+
"description": "Vertical placement of the modal",
|
|
265
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Vertical placement of the modal</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>center</p>\n</dd></dl></div>",
|
|
266
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
267
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L20"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "style",
|
|
271
|
+
"required": false,
|
|
272
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
273
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
274
|
+
"description": "Additional CSS styles",
|
|
275
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
276
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
277
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "width",
|
|
281
|
+
"required": false,
|
|
282
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">ModalWidth</a>",
|
|
283
|
+
"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><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">"xl"</span>",
|
|
284
|
+
"description": "Sets a width on the container and uses next centering. Future will default to `md`",
|
|
285
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets a width on the container and uses next centering. Future will default to <code>md</code></p>\n</div></div>",
|
|
286
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
287
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L24"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "onClickOverlay",
|
|
291
|
+
"required": false,
|
|
292
|
+
"type": "Function",
|
|
293
|
+
"typeDetail": "on<wbr/>Click<wbr/>Overlay<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\">HTMLDivElement</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>",
|
|
294
|
+
"description": "Callback for clicking the overlay",
|
|
295
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback for clicking the overlay</p>\n</div></div>",
|
|
296
|
+
"sourceFile": "packages/core-react/src/components/Modal/Modal.types.ts",
|
|
297
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Modal/Modal.types.ts#L10"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"description": ""
|
|
301
|
+
}
|
|
302
|
+
}
|