@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,288 @@
|
|
|
1
|
+
{
|
|
2
|
+
"CursorPosition": {
|
|
3
|
+
"name": "CursorPosition",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "selection",
|
|
7
|
+
"required": true,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
10
|
+
"description": "",
|
|
11
|
+
"descriptionHtml": "",
|
|
12
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L116"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "selectionEnd",
|
|
17
|
+
"required": true,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
20
|
+
"description": "",
|
|
21
|
+
"descriptionHtml": "",
|
|
22
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L115"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "selectionStart",
|
|
27
|
+
"required": true,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
30
|
+
"description": "",
|
|
31
|
+
"descriptionHtml": "",
|
|
32
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L114"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"description": ""
|
|
37
|
+
},
|
|
38
|
+
"NumberInputProps": {
|
|
39
|
+
"name": "NumberInputProps",
|
|
40
|
+
"properties": [
|
|
41
|
+
{
|
|
42
|
+
"name": "decimalScale",
|
|
43
|
+
"required": false,
|
|
44
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">0</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">1</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">2</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">3</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">4</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">5</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">6</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">7</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">8</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">9</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">10</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">11</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">12</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">13</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">14</span>",
|
|
45
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">0</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">1</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">2</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">3</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">4</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">5</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">6</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">7</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">8</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">9</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">10</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">11</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">12</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">13</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">14</span>",
|
|
46
|
+
"description": "The maximum number of fraction digits to use. Possible values range from 0 to 14. Setting to true will result in the maximum size, setting to false will allow 0 decimals, whole numbers only.",
|
|
47
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The maximum number of fraction digits to use. Possible values range from 0 to 14. Setting to true will result in the maximum size, setting to false will allow 0 decimals, whole numbers only.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>true</p>\n</dd></dl></div>",
|
|
48
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
49
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L33"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "defaultValue",
|
|
53
|
+
"required": false,
|
|
54
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">InputValue</a>",
|
|
55
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">number</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\">null</span>",
|
|
56
|
+
"description": "Initial value of an uncontrolled component",
|
|
57
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Initial value of an uncontrolled component</p>\n</div></div>",
|
|
58
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
59
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L53"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "error",
|
|
63
|
+
"required": false,
|
|
64
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
65
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
66
|
+
"description": "Controls the error state of the `Input`, changing the\nbackground color and border colors to red",
|
|
67
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Controls the error state of the <code>Input</code>, changing the\nbackground color and border colors to red</p>\n</div></div>",
|
|
68
|
+
"sourceFile": "packages/core-react/src/components/Input/Input.types.ts",
|
|
69
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Input/Input.types.ts#L8"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "fillDecimalScale",
|
|
73
|
+
"required": false,
|
|
74
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">FillDecimalScaleVariant</a>",
|
|
75
|
+
"typeDetail": "<span class=\"tsd-signature-symbol\">typeof </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Variable\">fillDecimalScaleVariant</a><span class=\"tsd-signature-symbol\">[</span><span class=\"tsd-signature-symbol\">keyof </span><span class=\"tsd-signature-symbol\">typeof </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Variable\">fillDecimalScaleVariant</a><span class=\"tsd-signature-symbol\">]</span>",
|
|
76
|
+
"description": "<Code>none</Code> prevents from adding zeros to match given\n<Code>decimalScale</Code>.<br /> <Code>always</Code> automatically adds\nzeros to match given\n<Code>decimalScale</Code>. <br />\n<Code>onBlur</Code> automatically adds zeros to match given{' '}\n<Code>decimalScale</Code> when input has lost focus.",
|
|
77
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>none</Code> prevents from adding zeros to match given\n<Code>decimalScale</Code>.<br /> <Code>always</Code> automatically adds\nzeros to match given\n<Code>decimalScale</Code>. <br />\n<Code>onBlur</Code> automatically adds zeros to match given{' '}\n<Code>decimalScale</Code> when input has lost focus.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>'none'</p>\n</dd></dl></div>",
|
|
78
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
79
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L63"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "locale",
|
|
83
|
+
"required": false,
|
|
84
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">Locale</a>",
|
|
85
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
86
|
+
"description": "A string with a BCP 47 language tag or an array of such strings which specifies number formatting.",
|
|
87
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A string with a BCP 47 language tag or an array of such strings which specifies number formatting.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>en-US</p>\n</dd></dl></div>",
|
|
88
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
89
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L68"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "prefix",
|
|
93
|
+
"required": false,
|
|
94
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
95
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
96
|
+
"description": "A string which is added to input as a prefix.",
|
|
97
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A string which is added to input as a prefix.</p>\n</div></div>",
|
|
98
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
99
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L76"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "qa",
|
|
103
|
+
"required": false,
|
|
104
|
+
"type": "<span class=\"tsd-signature-type\">QaTags</span>",
|
|
105
|
+
"typeDetail": "<span class=\"tsd-signature-type\">QaTags</span>",
|
|
106
|
+
"description": "",
|
|
107
|
+
"descriptionHtml": "",
|
|
108
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
109
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L90"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "step",
|
|
113
|
+
"required": false,
|
|
114
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
115
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
116
|
+
"description": "A stepping interval which is used in incrementer. Zero value turns off incrementer.",
|
|
117
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A stepping interval which is used in incrementer. Zero value turns off incrementer.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>0</p>\n</dd></dl></div>",
|
|
118
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
119
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L81"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "suffix",
|
|
123
|
+
"required": false,
|
|
124
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
125
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
126
|
+
"description": "A string which is added to input as a suffix",
|
|
127
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A string which is added to input as a suffix</p>\n</div></div>",
|
|
128
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
129
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L85"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "value",
|
|
133
|
+
"required": false,
|
|
134
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">InputValue</a>",
|
|
135
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">number</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\">null</span>",
|
|
136
|
+
"description": "Value of a controlled component",
|
|
137
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Value of a controlled component</p>\n</div></div>",
|
|
138
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
139
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L89"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "onChange",
|
|
143
|
+
"required": false,
|
|
144
|
+
"type": "Function",
|
|
145
|
+
"typeDetail": "on<wbr/>Change<span class=\"tsd-signature-symbol\">(</span>value<span class=\"tsd-signature-symbol\">: </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Interface\">ValueChange</a><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
146
|
+
"description": "`(value: ValueChange) => void`, where `ValueChange` is an object `{ value: string, parsedNumber: number | null }`.",
|
|
147
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><code>(value: ValueChange) => void</code>, where <code>ValueChange</code> is an object <code>{ value: string, parsedNumber: number | null }</code>.</p>\n</div></div>",
|
|
148
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
149
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L72"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"description": ""
|
|
153
|
+
},
|
|
154
|
+
"ParsedInputValue": {
|
|
155
|
+
"name": "ParsedInputValue",
|
|
156
|
+
"properties": [
|
|
157
|
+
{
|
|
158
|
+
"name": "decimal",
|
|
159
|
+
"required": true,
|
|
160
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
161
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
162
|
+
"description": "",
|
|
163
|
+
"descriptionHtml": "",
|
|
164
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
165
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L106"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "fraction",
|
|
169
|
+
"required": true,
|
|
170
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
171
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
172
|
+
"description": "",
|
|
173
|
+
"descriptionHtml": "",
|
|
174
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
175
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L107"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "integer",
|
|
179
|
+
"required": true,
|
|
180
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
181
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
182
|
+
"description": "",
|
|
183
|
+
"descriptionHtml": "",
|
|
184
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
185
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L105"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "parsedNumber",
|
|
189
|
+
"required": true,
|
|
190
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
191
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
192
|
+
"description": "",
|
|
193
|
+
"descriptionHtml": "",
|
|
194
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
195
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L108"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"description": ""
|
|
199
|
+
},
|
|
200
|
+
"Separators": {
|
|
201
|
+
"name": "Separators",
|
|
202
|
+
"properties": [
|
|
203
|
+
{
|
|
204
|
+
"name": "decimal",
|
|
205
|
+
"required": true,
|
|
206
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
207
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
208
|
+
"description": "",
|
|
209
|
+
"descriptionHtml": "",
|
|
210
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
211
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L100"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "group",
|
|
215
|
+
"required": true,
|
|
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/NumberInput/NumberInput.types.ts",
|
|
221
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L101"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"description": ""
|
|
225
|
+
},
|
|
226
|
+
"UseNumberFormatConfig": {
|
|
227
|
+
"name": "UseNumberFormatConfig",
|
|
228
|
+
"properties": [
|
|
229
|
+
{
|
|
230
|
+
"name": "decimalScale",
|
|
231
|
+
"required": false,
|
|
232
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">0</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">1</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">2</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">3</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">4</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">5</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">6</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">7</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">8</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">9</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">10</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">11</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">12</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">13</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">14</span>",
|
|
233
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">0</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">1</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">2</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">3</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">4</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">5</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">6</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">7</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">8</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">9</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">10</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">11</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">12</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">13</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">14</span>",
|
|
234
|
+
"description": "The maximum number of fraction digits to use. Possible values range from 0 to 14. Setting to true will result in the maximum size, setting to false will allow 0 decimals, whole numbers only.",
|
|
235
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The maximum number of fraction digits to use. Possible values range from 0 to 14. Setting to true will result in the maximum size, setting to false will allow 0 decimals, whole numbers only.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>true</p>\n</dd></dl></div>",
|
|
236
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
237
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L33"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "fillDecimalScale",
|
|
241
|
+
"required": false,
|
|
242
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">FillDecimalScaleVariant</a>",
|
|
243
|
+
"typeDetail": "<span class=\"tsd-signature-symbol\">typeof </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Variable\">fillDecimalScaleVariant</a><span class=\"tsd-signature-symbol\">[</span><span class=\"tsd-signature-symbol\">keyof </span><span class=\"tsd-signature-symbol\">typeof </span><a class=\"tsd-signature-type\" data-tsd-kind=\"Variable\">fillDecimalScaleVariant</a><span class=\"tsd-signature-symbol\">]</span>",
|
|
244
|
+
"description": "<Code>none</Code> prevents from adding zeros to match given\n<Code>decimalScale</Code>.<br /> <Code>always</Code> automatically adds\nzeros to match given\n<Code>decimalScale</Code>. <br />\n<Code>onBlur</Code> automatically adds zeros to match given{' '}\n<Code>decimalScale</Code> when input has lost focus.",
|
|
245
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p><Code>none</Code> prevents from adding zeros to match given\n<Code>decimalScale</Code>.<br /> <Code>always</Code> automatically adds\nzeros to match given\n<Code>decimalScale</Code>. <br />\n<Code>onBlur</Code> automatically adds zeros to match given{' '}\n<Code>decimalScale</Code> when input has lost focus.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>'none'</p>\n</dd></dl></div>",
|
|
246
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
247
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L63"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "locale",
|
|
251
|
+
"required": false,
|
|
252
|
+
"type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">Locale</a>",
|
|
253
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
254
|
+
"description": "A string with a BCP 47 language tag or an array of such strings which specifies number formatting.",
|
|
255
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A string with a BCP 47 language tag or an array of such strings which specifies number formatting.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>en-US</p>\n</dd></dl></div>",
|
|
256
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
257
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L68"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"description": ""
|
|
261
|
+
},
|
|
262
|
+
"ValueChange": {
|
|
263
|
+
"name": "ValueChange",
|
|
264
|
+
"properties": [
|
|
265
|
+
{
|
|
266
|
+
"name": "parsedNumber",
|
|
267
|
+
"required": true,
|
|
268
|
+
"type": "<span class=\"tsd-signature-type\">null</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">number</span>",
|
|
269
|
+
"typeDetail": "<span class=\"tsd-signature-type\">null</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-type\">number</span>",
|
|
270
|
+
"description": "",
|
|
271
|
+
"descriptionHtml": "",
|
|
272
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
273
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L16"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "value",
|
|
277
|
+
"required": true,
|
|
278
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
279
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
280
|
+
"description": "",
|
|
281
|
+
"descriptionHtml": "",
|
|
282
|
+
"sourceFile": "packages/core-react/src/components/NumberInput/NumberInput.types.ts",
|
|
283
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/NumberInput/NumberInput.types.ts#L15"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"description": ""
|
|
287
|
+
}
|
|
288
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
{
|
|
2
|
+
"OverlayTriggerProps": {
|
|
3
|
+
"name": "OverlayTriggerProps",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "beforeHide",
|
|
7
|
+
"required": false,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
10
|
+
"description": "<div>\n The callback to run before the overlay is hidden. Returning\n <Code>false</Code> will prevent hiding.\n</div>\n<CodeBlock>(e: event) => boolean | Promise | undefined</CodeBlock>",
|
|
11
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<div>\n The callback to run before the overlay is hidden. Returning\n <Code>false</Code> will prevent hiding.\n</div>\n<CodeBlock>(e: event) => boolean | Promise | undefined</CodeBlock></div></div>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L39"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "beforeShow",
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">BeforeCallback</span>",
|
|
20
|
+
"description": "<div>\n The callback to run before the overlay is shown. Returning\n <Code>false</Code> will prevent showing.\n</div>\n<CodeBlock>(e: event) => boolean | Promise | undefined</CodeBlock>",
|
|
21
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<div>\n The callback to run before the overlay is shown. Returning\n <Code>false</Code> will prevent showing.\n</div>\n<CodeBlock>(e: event) => boolean | Promise | undefined</CodeBlock></div></div>",
|
|
22
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L47"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "canFlip",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
30
|
+
"description": "",
|
|
31
|
+
"descriptionHtml": "",
|
|
32
|
+
"sourceFile": "packages/core-react/src/state/Anchor.tsx",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Anchor.tsx#L10"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "children",
|
|
37
|
+
"required": true,
|
|
38
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">(</span>props<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">TriggerApi</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> => </span><span class=\"tsd-signature-type\">ReactNode</span><span class=\"tsd-signature-symbol\">)</span>",
|
|
39
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span><span class=\"tsd-signature-symbol\"> | </span><span class=\"tsd-signature-symbol\">(</span><span class=\"tsd-signature-symbol\">(</span>props<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">TriggerApi</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\"> => </span><span class=\"tsd-signature-type\">ReactNode</span><span class=\"tsd-signature-symbol\">)</span>",
|
|
40
|
+
"description": "",
|
|
41
|
+
"descriptionHtml": "",
|
|
42
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L33"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "clickOutsideIgnoreRefs",
|
|
47
|
+
"required": false,
|
|
48
|
+
"type": "<span class=\"tsd-signature-type\">RefObject</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">HTMLElement</span><span class=\"tsd-signature-symbol\">></span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
49
|
+
"typeDetail": "<span class=\"tsd-signature-type\">RefObject</span><span class=\"tsd-signature-symbol\"><</span><span class=\"tsd-signature-type\">HTMLElement</span><span class=\"tsd-signature-symbol\">></span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
50
|
+
"description": "Additional refs to check for clickOutside behavior",
|
|
51
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional refs to check for clickOutside behavior</p>\n</div></div>",
|
|
52
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
53
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L52"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "hideDelay",
|
|
57
|
+
"required": false,
|
|
58
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
59
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
60
|
+
"description": "The delay when hiding the overlay",
|
|
61
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The delay when hiding the overlay</p>\n</div></div>",
|
|
62
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
63
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L57"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "hideKeys",
|
|
67
|
+
"required": false,
|
|
68
|
+
"type": "<span class=\"tsd-signature-symbol\">{ </span>overlay<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>target<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>",
|
|
69
|
+
"typeDetail": "<span class=\"tsd-signature-symbol\">{ </span>overlay<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>target<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>",
|
|
70
|
+
"description": "",
|
|
71
|
+
"descriptionHtml": "",
|
|
72
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L59"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "initialIsVisible",
|
|
77
|
+
"required": false,
|
|
78
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
79
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
80
|
+
"description": "",
|
|
81
|
+
"descriptionHtml": "",
|
|
82
|
+
"sourceFile": "packages/core-react/src/state/Visibility.tsx",
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Visibility.tsx#L8"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "overlay",
|
|
87
|
+
"required": true,
|
|
88
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
89
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
90
|
+
"description": "",
|
|
91
|
+
"descriptionHtml": "",
|
|
92
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
93
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L66"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "padding",
|
|
97
|
+
"required": false,
|
|
98
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
99
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
100
|
+
"description": "",
|
|
101
|
+
"descriptionHtml": "",
|
|
102
|
+
"sourceFile": "packages/core-react/src/state/Anchor.tsx",
|
|
103
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Anchor.tsx#L14"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "placement",
|
|
107
|
+
"required": false,
|
|
108
|
+
"type": "<span class=\"tsd-signature-type\">Placement</span>",
|
|
109
|
+
"typeDetail": "<span class=\"tsd-signature-type\">Placement</span>",
|
|
110
|
+
"description": "",
|
|
111
|
+
"descriptionHtml": "",
|
|
112
|
+
"sourceFile": "packages/core-react/src/state/Anchor.tsx",
|
|
113
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Anchor.tsx#L15"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "restoreFocusOnHide",
|
|
117
|
+
"required": false,
|
|
118
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
119
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
120
|
+
"description": "Restore focus to the target after the overlay is hidden",
|
|
121
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Restore focus to the target after the overlay is hidden</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>true</p>\n</dd></dl></div>",
|
|
122
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
123
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L72"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "showDelay",
|
|
127
|
+
"required": false,
|
|
128
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
129
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
130
|
+
"description": "The delay when showing the overlay",
|
|
131
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The delay when showing the overlay</p>\n</div></div>",
|
|
132
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
133
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L77"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "showKeys",
|
|
137
|
+
"required": false,
|
|
138
|
+
"type": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
139
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">[]</span>",
|
|
140
|
+
"description": "Keys to show the overlay when the target is focused",
|
|
141
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Keys to show the overlay when the target is focused</p>\n</div></div>",
|
|
142
|
+
"sourceFile": "packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
143
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/OverlayTrigger/OverlayTrigger.tsx#L82"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "shrinkOverlay",
|
|
147
|
+
"required": false,
|
|
148
|
+
"type": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
149
|
+
"typeDetail": "<span class=\"tsd-signature-type\">boolean</span>",
|
|
150
|
+
"description": "",
|
|
151
|
+
"descriptionHtml": "",
|
|
152
|
+
"sourceFile": "packages/core-react/src/components/Overlay.tsx",
|
|
153
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Overlay.tsx#L6"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "trigger",
|
|
157
|
+
"required": false,
|
|
158
|
+
"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>",
|
|
159
|
+
"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>",
|
|
160
|
+
"description": "",
|
|
161
|
+
"descriptionHtml": "",
|
|
162
|
+
"sourceFile": "packages/core-react/src/state/Trigger.tsx",
|
|
163
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Trigger.tsx#L22"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "afterHide",
|
|
167
|
+
"required": false,
|
|
168
|
+
"type": "Function",
|
|
169
|
+
"typeDetail": "after<wbr/>Hide<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>",
|
|
170
|
+
"description": "",
|
|
171
|
+
"descriptionHtml": "",
|
|
172
|
+
"sourceFile": "packages/core-react/src/state/Visibility.tsx",
|
|
173
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Visibility.tsx#L6"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "afterShow",
|
|
177
|
+
"required": false,
|
|
178
|
+
"type": "Function",
|
|
179
|
+
"typeDetail": "after<wbr/>Show<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>",
|
|
180
|
+
"description": "",
|
|
181
|
+
"descriptionHtml": "",
|
|
182
|
+
"sourceFile": "packages/core-react/src/state/Visibility.tsx",
|
|
183
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/state/Visibility.tsx#L7"
|
|
184
|
+
}
|
|
185
|
+
],
|
|
186
|
+
"description": ""
|
|
187
|
+
}
|
|
188
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"PresetPaginationProps": {
|
|
3
|
+
"name": "PresetPaginationProps",
|
|
4
|
+
"properties": [
|
|
5
|
+
{
|
|
6
|
+
"name": "activePage",
|
|
7
|
+
"required": false,
|
|
8
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
9
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
10
|
+
"description": "Current page selected, 1 based.",
|
|
11
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Current page selected, 1 based.</p>\n</div></div>",
|
|
12
|
+
"sourceFile": "packages/core-react/src/components/Pagination/Pagination.types.ts",
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Pagination/Pagination.types.ts#L23"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "children",
|
|
17
|
+
"required": false,
|
|
18
|
+
"type": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
19
|
+
"typeDetail": "<span class=\"tsd-signature-type\">ReactNode</span>",
|
|
20
|
+
"description": "Instead of using the default children, you can pass in your own.",
|
|
21
|
+
"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>",
|
|
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#L40"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "className",
|
|
27
|
+
"required": false,
|
|
28
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
29
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
30
|
+
"description": "Additional classNames",
|
|
31
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
32
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L45"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "fieldLabel",
|
|
37
|
+
"required": false,
|
|
38
|
+
"type": "<span class=\"tsd-signature-type\">string</span>",
|
|
39
|
+
"typeDetail": "<span class=\"tsd-signature-type\">string</span>",
|
|
40
|
+
"description": "",
|
|
41
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>deprecated</dt><dd><p>The <code>fieldLabel</code> has been deprecated and will be removed in a future version.\nThe <code>Pagination</code> component now handles i18n internally and this prop has no effect,\nplease remove it from usage.</p>\n<p><strong>Before</strong></p>\n<p><code><Pagination fieldLabel={window.i18n.t('my.key')} /></code></p>\n<p><strong>After</strong></p>\n<p><code><Pagination /></code></p>\n</dd><dt>deprecatedsince</dt><dd><p>10.20.0</p>\n</dd></dl></div>",
|
|
42
|
+
"deprecated": "\n\nThe `fieldLabel` has been deprecated and will be removed in a future version.\nThe `Pagination` component now handles i18n internally and this prop has no effect,\nplease remove it from usage.\n\n\n**Before**\n\n`<Pagination fieldLabel={window.i18n.t('my.key')} />`\n\n**After**\n\n`<Pagination />`\n",
|
|
43
|
+
"sourceFile": "packages/core-react/src/components/Pagination/Pagination.types.ts",
|
|
44
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Pagination/Pagination.types.ts#L58"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "items",
|
|
48
|
+
"required": true,
|
|
49
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
50
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
51
|
+
"description": "Total number of items across pages.",
|
|
52
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Total number of items across pages.</p>\n</div></div>",
|
|
53
|
+
"sourceFile": "packages/core-react/src/components/Pagination/Pagination.types.ts",
|
|
54
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Pagination/Pagination.types.ts#L28"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "perPage",
|
|
58
|
+
"required": false,
|
|
59
|
+
"type": "<span class=\"tsd-signature-type\">number</span>",
|
|
60
|
+
"typeDetail": "<span class=\"tsd-signature-type\">number</span>",
|
|
61
|
+
"description": "Number of items per page.",
|
|
62
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Number of items per page.</p>\n</div></div>",
|
|
63
|
+
"sourceFile": "packages/core-react/src/components/Pagination/Pagination.types.ts",
|
|
64
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Pagination/Pagination.types.ts#L38"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "style",
|
|
68
|
+
"required": false,
|
|
69
|
+
"type": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
70
|
+
"typeDetail": "<span class=\"tsd-signature-type\">CSSProperties</span>",
|
|
71
|
+
"description": "Additional CSS styles",
|
|
72
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
73
|
+
"sourceFile": "packages/core-react/src/utils/types.ts",
|
|
74
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/utils/types.ts#L50"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "onSelectPage",
|
|
78
|
+
"required": false,
|
|
79
|
+
"type": "Function",
|
|
80
|
+
"typeDetail": "on<wbr/>Select<wbr/>Page<span class=\"tsd-signature-symbol\">(</span>page<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">number</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
|
|
81
|
+
"description": "A callback that receives the page selected.",
|
|
82
|
+
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>A callback that receives the page selected.</p>\n</div></div>",
|
|
83
|
+
"sourceFile": "packages/core-react/src/components/Pagination/Pagination.types.ts",
|
|
84
|
+
"sourceUrl": "https://github.com/procore/core/blob/4be00958e/packages/core-react/src/components/Pagination/Pagination.types.ts#L33"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"description": ""
|
|
88
|
+
}
|
|
89
|
+
}
|