@procore/core-react 12.6.0 → 12.7.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/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.d.ts +2 -2
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.styles.js +8 -8
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/Checkbox/CheckboxTooltip.js +1 -1
- package/dist/ContactItem/ContactItem.styles.d.ts +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.js +4 -4
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/ThumbnailList/index.d.ts +1 -1
- package/dist/FileSelect/ThumbnailList/index.js.map +1 -1
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.js +2 -2
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.styles.js +14 -14
- package/dist/Form/StyledFormikForm.styles.d.ts +1 -1
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.styles.js +10 -10
- package/dist/Modal/Modal.styles.d.ts +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextListPage/NextListPage.d.ts +24 -0
- package/dist/NextListPage/NextListPage.js +44 -0
- package/dist/NextListPage/NextListPage.js.map +1 -0
- package/dist/NextListPage/NextListPage.types.d.ts +3 -0
- package/dist/NextListPage/NextListPage.types.js +2 -0
- package/dist/NextListPage/NextListPage.types.js.map +1 -0
- package/dist/NextListPage/index.d.ts +2 -0
- package/dist/NextListPage/index.js +2 -0
- package/dist/NextListPage/index.js.map +1 -0
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/PageLayout/PageLayout.styles.js +15 -15
- package/dist/Pagination/Pagination.styles.d.ts +2 -2
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.d.ts +1 -1
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +2 -2
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.styles.js +6 -6
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.d.ts +1 -1
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +8 -8
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditor/TextEditor.js +7 -1
- package/dist/TextEditor/TextEditor.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.js +1 -0
- package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.styles.d.ts +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/TieredSelect/index.d.ts +1 -1
- package/dist/TieredSelect/index.js.map +1 -1
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.d.ts +1 -1
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.styles.d.ts +2 -2
- package/dist/Tree/Tree.styles.js +9 -9
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +13 -13
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +12 -12
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
- package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
- package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
- package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
- package/dist/_typedoc/Flex/Flex.types.json +27 -27
- package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
- package/dist/_typedoc/Form/Form.types.json +726 -726
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +4 -4
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +41 -41
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
- package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +27 -27
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +47 -47
- package/dist/_typedoc/Popover/Popover.types.json +14 -14
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +14 -14
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
- package/dist/_typedoc/Select/Select.types.json +57 -57
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +99 -99
- package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
- package/dist/_typedoc/Tile/Tile.types.json +30 -30
- package/dist/_typedoc/Title/Title.types.json +1 -1
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
- package/dist/_typedoc/Token/Token.types.json +4 -4
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +86 -86
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +9 -9
- package/dist/_typedoc/_utils/types.json +3 -3
- package/dist/_utils/TinyMCE.js +1 -1
- package/dist/_utils/TinyMCE.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "",
|
|
11
11
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
12
12
|
"sourceFile": "packages/core-react/src/Typeahead/Typeahead.types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typeahead/Typeahead.types.ts#L15"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "onChange",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/Typeahead/Typeahead.types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typeahead/Typeahead.types.ts#L19"
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
"description": ""
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "Change the HTML tag. This\n[prop is from styled-components](https://styled-components.com/docs/api#as-polymorphic-prop)\n__Warning__: If using TypeScript, it will not switch types and\nsome props may error. You can add `@ts-expect-error`.\nSee [styled-components issue](https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117)",
|
|
11
11
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Change the HTML tag. This\n<a href=\"https://styled-components.com/docs/api#as-polymorphic-prop\">prop is from styled-components</a>\n<strong>Warning</strong>: If using TypeScript, it will not switch types and\nsome props may error. You can add <code>@ts-expect-error</code>.\nSee <a href=\"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117\">styled-components issue</a></p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>'span'</p>\n</dd><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
12
12
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L26"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "breakWord",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Enables word wrapping and breaking within the component",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Enables word wrapping and breaking within the component</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.0.0</p>\n</dd></dl></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L57"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "children",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "When children are a string or multiple elements, they will be wrapped\nby a `span`. When it is a single element, classnames will\nbe added to it instead",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>When children are a string or multiple elements, they will be wrapped\nby a <code>span</code>. When it is a single element, classnames will\nbe added to it instead</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
32
32
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
33
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L15"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "className",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"description": "Additional classNames",
|
|
41
41
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
42
42
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
43
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/_utils/types.ts#L47"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "color",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"description": "Changes font color, can be any of the `colors` object HSL Palette",
|
|
51
51
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes font color, can be any of the <code>colors</code> object HSL Palette</p>\n</div><dl class=\"tsd-comment-tags\"><dt>default</dt><dd><p>'gray15'</p>\n</dd><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
52
52
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
53
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
53
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L33"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "intent",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"description": "Changes the size of the font",
|
|
61
61
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes the size of the font</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
62
62
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
63
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
63
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L39"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "italic",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"description": "Applies `font-style: italic` if enabled",
|
|
71
71
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Applies <code>font-style: italic</code> if enabled</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
72
72
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
73
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L45"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "style",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"description": "Additional CSS styles",
|
|
81
81
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
82
82
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
83
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/_utils/types.ts#L52"
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"name": "weight",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"description": "Changes font weight if it is supported in the design system",
|
|
91
91
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Changes font weight if it is supported in the design system</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
|
|
92
92
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
93
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
93
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/Typography/Typography.types.ts#L51"
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
96
|
"description": ""
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "",
|
|
11
11
|
"descriptionHtml": "",
|
|
12
12
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/_utils/types.ts#L42"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "className",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Additional classNames",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
|
|
22
22
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/_utils/types.ts#L47"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "style",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "Additional CSS styles",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
32
32
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
33
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
33
|
+
"sourceUrl": "https://github.com/procore/core/blob/b862987/packages/core-react/src/_utils/types.ts#L52"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"description": ""
|
package/dist/_utils/TinyMCE.js
CHANGED
|
@@ -60,7 +60,7 @@ export var tinyMCEConfig = {
|
|
|
60
60
|
remove_script_host: false,
|
|
61
61
|
statusbar: false,
|
|
62
62
|
skin_url: "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/skins/ui/oxide"),
|
|
63
|
-
toolbar: 'bold italic underline | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',
|
|
63
|
+
toolbar: 'bold italic underline strikethrough | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',
|
|
64
64
|
toolbar_mode: 'floating'
|
|
65
65
|
};
|
|
66
66
|
export function getValidLookupLocale(locale) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TinyMCE.js","names":["scriptId","tinyMCESource","tinyMCEVersion","textEditorLocales","en","es","pseudo","defaultPlugins","plugins","tinyMCETabMarkup","tinyMCEConfig","autoresize_overflow_padding","autoresize_bottom_margin","browser_spellcheck","convert_url","content_css","concat","extended_valid_elements","min_height","invalid_elements","menubar","nonbreaking_force_tab","paste_preprocess","_","args","content","replace","paste_remove_styles_if_webkit","paste_retain_style_properties","paste_word_valid_elements","relative_urls","remove_script_host","statusbar","skin_url","toolbar","toolbar_mode","getValidLookupLocale","locale","usesBuiltInText","generateLanguageUrl","lookupLocale","generatePluginUrl","plugin","generateExternalPlugins","basePlugins","arguments","length","undefined","Array","from","Set","reduce","acc","includes","Object","assign","_defineProperty"],"sources":["../../src/_utils/TinyMCE.ts"],"sourcesContent":["import type { Editor } from '@tinymce/tinymce-react'\nimport type { Locale } from '../_hooks/I18n'\n\nexport const scriptId = 'tiny-mce-core-source'\nexport const tinyMCESource = 'https://s3.amazonaws.com/procore-core/tinymce'\nexport const tinyMCEVersion = '5.8.1'\n\ntype TextEditorLocales = { [key in Locale]: string }\n\n// TinyMCE Supported Languages: https://www.tiny.cloud/docs/configure/localization/#supportedlanguages\nconst textEditorLocales: TextEditorLocales = {\n en: 'en',\n 'en-CA': 'en',\n 'fr-CA': 'fr_FR',\n 'fr-FR': 'fr_FR',\n es: 'es',\n 'es-ES': 'es',\n 'en-AE': 'en',\n 'en-AU': 'en',\n 'en-GB': 'en',\n 'en-SG': 'en',\n 'th-TH': 'th_TH',\n 'ja-JP': 'ja',\n 'pt-BR': 'pt_BR',\n 'is-IS': 'en',\n 'de-DE': 'de',\n 'zh-SG': 'zh_CN',\n pseudo: 'en',\n}\n\nexport const defaultPlugins = [\n 'autolink',\n 'autoresize',\n 'lists',\n 'nonbreaking',\n 'paste',\n 'advlist',\n]\n\nexport const plugins = [\n 'advlist',\n 'anchor',\n 'autolink',\n 'autoresize',\n 'autosave',\n 'bbcode',\n 'charmap',\n 'code',\n 'codesample',\n 'colorpicker',\n 'contextmenu',\n 'directionality',\n 'emoticons',\n 'fullpage',\n 'fullscreen',\n 'help',\n 'hr',\n 'image',\n 'imagetools',\n 'importcss',\n 'insertdatetime',\n 'legacyoutput',\n 'link',\n 'lists',\n 'media',\n 'nonbreaking',\n 'noneditable',\n 'pagebreak',\n 'paste',\n 'preview',\n 'print',\n 'save',\n 'searchreplace',\n 'spellchecker',\n 'tabfocus',\n 'table',\n 'template',\n 'textpattern',\n 'toc',\n 'visualblocks',\n 'visualchars',\n 'wordcount',\n]\n\n/**\n * Historically, `nonbreaking_force_tab` has been set to `true`\n * and this takes the `Tab` keypress as input to add to the content.\n * e.g indent the start of the text block like a paragraph.\n * This is different from the TinyMCE tool and command 'Indent', which\n * indents the entire block. e.g. indent this entire text block and the\n * wrapped lines.\n * This is the HTML it outputs when `nonbreaking_force_tab: true`\n */\nexport const tinyMCETabMarkup = `<span class=\\\"mce-nbsp-wrap\\\" contenteditable=\\\"false\\\"> </span>`\n\nexport const tinyMCEConfig: any & Editor = {\n autoresize_overflow_padding: 12,\n autoresize_bottom_margin: 0,\n browser_spellcheck: true,\n convert_url: false,\n content_css: `${tinyMCESource}/${tinyMCEVersion}/skins/content/default/content.min.css`,\n extended_valid_elements:\n 'table[class=mce-table|border:1px double #000|cellpadding: 3px|style=border-collapse: collapse; border-color: #000]',\n min_height: 96,\n invalid_elements: 'form,script',\n menubar: false,\n nonbreaking_force_tab: true,\n paste_preprocess: (_: any, args: any) => {\n args.content = args.content.replace(/<pre>/gi, '<p>')\n args.content = args.content.replace(/<\\/pre>/gi, '</p>')\n },\n paste_remove_styles_if_webkit: true,\n paste_retain_style_properties: 'font-size,text-decoration',\n paste_word_valid_elements:\n '@[style],pre,-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u',\n relative_urls: false,\n remove_script_host: false,\n statusbar: false,\n skin_url: `${tinyMCESource}/${tinyMCEVersion}/skins/ui/oxide`,\n toolbar:\n 'bold italic underline | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',\n toolbar_mode: 'floating',\n}\n\nexport function getValidLookupLocale(locale: Locale): string {\n return textEditorLocales[locale] || textEditorLocales.en\n}\n\nfunction usesBuiltInText(locale: string) {\n return locale === textEditorLocales.en\n}\n\nexport function generateLanguageUrl(locale: Locale) {\n const lookupLocale = getValidLookupLocale(locale)\n return usesBuiltInText(lookupLocale)\n ? ''\n : `${tinyMCESource}/${tinyMCEVersion}/langs/${lookupLocale}.js`\n}\n\nfunction generatePluginUrl(plugin: string) {\n return `${tinyMCESource}/${tinyMCEVersion}/plugins/${plugin}/plugin.min.js`\n}\n\nexport function generateExternalPlugins(\n plugins: Array<string>,\n basePlugins = defaultPlugins\n) {\n return Array.from(new Set(plugins.concat(basePlugins))).reduce(\n (acc, plugin) => {\n return plugins.includes(plugin)\n ? Object.assign(acc, { [plugin]: generatePluginUrl(plugin) })\n : acc\n },\n {}\n )\n}\n"],"mappings":";;;;AAGA,OAAO,IAAMA,QAAQ,GAAG,sBAAsB;AAC9C,OAAO,IAAMC,aAAa,GAAG,+CAA+C;AAC5E,OAAO,IAAMC,cAAc,GAAG,OAAO;AAIrC;AACA,IAAMC,iBAAoC,GAAG;EAC3CC,EAAE,EAAE,IAAI;EACR,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,OAAO;EAChBC,EAAE,EAAE,IAAI;EACR,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,OAAO;EAChB,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,IAAI;EACb,OAAO,EAAE,OAAO;EAChBC,MAAM,EAAE;AACV,CAAC;AAED,OAAO,IAAMC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CAACC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC;EAC1D,CAAC;EACDC,6BAA6B,EAAE,IAAI;EACnCC,6BAA6B,EAAE,2BAA2B;EAC1DC,yBAAyB,EACvB,8IAA8I;EAChJC,aAAa,EAAE,KAAK;EACpBC,kBAAkB,EAAE,KAAK;EACzBC,SAAS,EAAE,KAAK;EAChBC,QAAQ,KAAAjB,MAAA,CAAKf,aAAa,OAAAe,MAAA,CAAId,cAAc,oBAAiB;EAC7DgC,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"TinyMCE.js","names":["scriptId","tinyMCESource","tinyMCEVersion","textEditorLocales","en","es","pseudo","defaultPlugins","plugins","tinyMCETabMarkup","tinyMCEConfig","autoresize_overflow_padding","autoresize_bottom_margin","browser_spellcheck","convert_url","content_css","concat","extended_valid_elements","min_height","invalid_elements","menubar","nonbreaking_force_tab","paste_preprocess","_","args","content","replace","paste_remove_styles_if_webkit","paste_retain_style_properties","paste_word_valid_elements","relative_urls","remove_script_host","statusbar","skin_url","toolbar","toolbar_mode","getValidLookupLocale","locale","usesBuiltInText","generateLanguageUrl","lookupLocale","generatePluginUrl","plugin","generateExternalPlugins","basePlugins","arguments","length","undefined","Array","from","Set","reduce","acc","includes","Object","assign","_defineProperty"],"sources":["../../src/_utils/TinyMCE.ts"],"sourcesContent":["import type { Editor } from '@tinymce/tinymce-react'\nimport type { Locale } from '../_hooks/I18n'\n\nexport const scriptId = 'tiny-mce-core-source'\nexport const tinyMCESource = 'https://s3.amazonaws.com/procore-core/tinymce'\nexport const tinyMCEVersion = '5.8.1'\n\ntype TextEditorLocales = { [key in Locale]: string }\n\n// TinyMCE Supported Languages: https://www.tiny.cloud/docs/configure/localization/#supportedlanguages\nconst textEditorLocales: TextEditorLocales = {\n en: 'en',\n 'en-CA': 'en',\n 'fr-CA': 'fr_FR',\n 'fr-FR': 'fr_FR',\n es: 'es',\n 'es-ES': 'es',\n 'en-AE': 'en',\n 'en-AU': 'en',\n 'en-GB': 'en',\n 'en-SG': 'en',\n 'th-TH': 'th_TH',\n 'ja-JP': 'ja',\n 'pt-BR': 'pt_BR',\n 'is-IS': 'en',\n 'de-DE': 'de',\n 'zh-SG': 'zh_CN',\n pseudo: 'en',\n}\n\nexport const defaultPlugins = [\n 'autolink',\n 'autoresize',\n 'lists',\n 'nonbreaking',\n 'paste',\n 'advlist',\n]\n\nexport const plugins = [\n 'advlist',\n 'anchor',\n 'autolink',\n 'autoresize',\n 'autosave',\n 'bbcode',\n 'charmap',\n 'code',\n 'codesample',\n 'colorpicker',\n 'contextmenu',\n 'directionality',\n 'emoticons',\n 'fullpage',\n 'fullscreen',\n 'help',\n 'hr',\n 'image',\n 'imagetools',\n 'importcss',\n 'insertdatetime',\n 'legacyoutput',\n 'link',\n 'lists',\n 'media',\n 'nonbreaking',\n 'noneditable',\n 'pagebreak',\n 'paste',\n 'preview',\n 'print',\n 'save',\n 'searchreplace',\n 'spellchecker',\n 'tabfocus',\n 'table',\n 'template',\n 'textpattern',\n 'toc',\n 'visualblocks',\n 'visualchars',\n 'wordcount',\n]\n\n/**\n * Historically, `nonbreaking_force_tab` has been set to `true`\n * and this takes the `Tab` keypress as input to add to the content.\n * e.g indent the start of the text block like a paragraph.\n * This is different from the TinyMCE tool and command 'Indent', which\n * indents the entire block. e.g. indent this entire text block and the\n * wrapped lines.\n * This is the HTML it outputs when `nonbreaking_force_tab: true`\n */\nexport const tinyMCETabMarkup = `<span class=\\\"mce-nbsp-wrap\\\" contenteditable=\\\"false\\\"> </span>`\n\nexport const tinyMCEConfig: any & Editor = {\n autoresize_overflow_padding: 12,\n autoresize_bottom_margin: 0,\n browser_spellcheck: true,\n convert_url: false,\n content_css: `${tinyMCESource}/${tinyMCEVersion}/skins/content/default/content.min.css`,\n extended_valid_elements:\n 'table[class=mce-table|border:1px double #000|cellpadding: 3px|style=border-collapse: collapse; border-color: #000]',\n min_height: 96,\n invalid_elements: 'form,script',\n menubar: false,\n nonbreaking_force_tab: true,\n paste_preprocess: (_: any, args: any) => {\n args.content = args.content.replace(/<pre>/gi, '<p>')\n args.content = args.content.replace(/<\\/pre>/gi, '</p>')\n },\n paste_remove_styles_if_webkit: true,\n paste_retain_style_properties: 'font-size,text-decoration',\n paste_word_valid_elements:\n '@[style],pre,-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u',\n relative_urls: false,\n remove_script_host: false,\n statusbar: false,\n skin_url: `${tinyMCESource}/${tinyMCEVersion}/skins/ui/oxide`,\n toolbar:\n 'bold italic underline strikethrough | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',\n toolbar_mode: 'floating',\n}\n\nexport function getValidLookupLocale(locale: Locale): string {\n return textEditorLocales[locale] || textEditorLocales.en\n}\n\nfunction usesBuiltInText(locale: string) {\n return locale === textEditorLocales.en\n}\n\nexport function generateLanguageUrl(locale: Locale) {\n const lookupLocale = getValidLookupLocale(locale)\n return usesBuiltInText(lookupLocale)\n ? ''\n : `${tinyMCESource}/${tinyMCEVersion}/langs/${lookupLocale}.js`\n}\n\nfunction generatePluginUrl(plugin: string) {\n return `${tinyMCESource}/${tinyMCEVersion}/plugins/${plugin}/plugin.min.js`\n}\n\nexport function generateExternalPlugins(\n plugins: Array<string>,\n basePlugins = defaultPlugins\n) {\n return Array.from(new Set(plugins.concat(basePlugins))).reduce(\n (acc, plugin) => {\n return plugins.includes(plugin)\n ? Object.assign(acc, { [plugin]: generatePluginUrl(plugin) })\n : acc\n },\n {}\n )\n}\n"],"mappings":";;;;AAGA,OAAO,IAAMA,QAAQ,GAAG,sBAAsB;AAC9C,OAAO,IAAMC,aAAa,GAAG,+CAA+C;AAC5E,OAAO,IAAMC,cAAc,GAAG,OAAO;AAIrC;AACA,IAAMC,iBAAoC,GAAG;EAC3CC,EAAE,EAAE,IAAI;EACR,OAAO,EAAE,IAAI;EACb,OAAO,E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AAA,CAAUf,aAAa,OAAAe,MAAA,CAAId,cAAc,eAAAc,MAAA,CAAY0B,MAAM;AAC7D;AAEA,OAAO,SAASC,uBAAuBA,CACrCnC,OAAsB,EAEtB;EAAA,IADAoC,WAAW,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAGtC,cAAc;EAE5B,OAAOyC,KAAK,CAACC,IAAI,CAAC,IAAIC,GAAG,CAAC1C,OAAO,CAACQ,MAAM,CAAC4B,WAAW,CAAC,CAAC,CAAC,CAACO,MAAM,CAC5D,UAACC,GAAG,EAAEV,MAAM,EAAK;IACf,OAAOlC,OAAO,CAAC6C,QAAQ,CAACX,MAAM,CAAC,GAC3BY,MAAM,CAACC,MAAM,CAACH,GAAG,EAAAI,eAAA,KAAKd,MAAM,EAAGD,iBAAiB,CAACC,MAAM,CAAC,CAAE,CAAC,GAC3DU,GAAG;EACT,CAAC,EACD,CAAC,CACH,CAAC;AACH"}
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './EmptyState';
|
|
|
22
22
|
export { StyledFieldHeader } from './Field';
|
|
23
23
|
export * from './FileList';
|
|
24
24
|
export * from './FileSelect';
|
|
25
|
+
export * from './FileSelect/ThumbnailList';
|
|
25
26
|
export * from './FileToken';
|
|
26
27
|
export * from './FilterToken';
|
|
27
28
|
export * from './Flex';
|
|
@@ -103,8 +104,9 @@ export * from './_hooks/ZIndex';
|
|
|
103
104
|
export { borderRadius, getBorderRadius as UNSAFE_getBorderRadius, } from './_styles/borderRadius';
|
|
104
105
|
export * from './_styles/colors';
|
|
105
106
|
export * from './_styles/spacing';
|
|
107
|
+
export { getMonthLabel } from './_utils/CalendarHelpers';
|
|
106
108
|
export { docsProps as UNSAFE_props } from './_utils/props';
|
|
107
|
-
export type { DivAttributes, Placement } from './_utils/types';
|
|
109
|
+
export type { DivAttributes, Placement, SpanAttributes } from './_utils/types';
|
|
108
110
|
export declare const tinyMCE: {
|
|
109
111
|
defaultPlugins: string[];
|
|
110
112
|
generateExternalPlugins: typeof generateExternalPlugins;
|
package/dist/index.js
CHANGED
|
@@ -24,6 +24,7 @@ export * from './EmptyState';
|
|
|
24
24
|
export { StyledFieldHeader } from './Field';
|
|
25
25
|
export * from './FileList';
|
|
26
26
|
export * from './FileSelect';
|
|
27
|
+
export * from './FileSelect/ThumbnailList';
|
|
27
28
|
export * from './FileToken';
|
|
28
29
|
export * from './FilterToken';
|
|
29
30
|
export * from './Flex';
|
|
@@ -127,6 +128,7 @@ export * from './_styles/spacing';
|
|
|
127
128
|
* @internal
|
|
128
129
|
*/
|
|
129
130
|
export { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents';
|
|
131
|
+
export { getMonthLabel } from './_utils/CalendarHelpers';
|
|
130
132
|
/**
|
|
131
133
|
* @internal
|
|
132
134
|
*/
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["defaultPlugins","generateExternalPlugins","generateLanguageUrl","tinyMCEConfig","StyledFieldHeader","BETA_makeField","getI18nProviderLocale","useResizeObserver","UNSAFE_useResizeObserver","borderRadius","getBorderRadius","UNSAFE_getBorderRadius","getEllipsis","UNSAFE_getEllipsis","getFocus","UNSAFE_getFocus","getLineClamp","UNSAFE_getLineClamp","addSubcomponents","UNSAFE_addSubcomponents","intlDateTimeFormat","parseFilename","UNSAFE_parseFilename","mergeRefs","UNSAFE_mergeRefs","docsProps","UNSAFE_props","tinyMCE","config"],"sources":["../src/index.ts"],"sourcesContent":["import {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n tinyMCEConfig,\n} from './_utils/TinyMCE'\n\n// export const version = process.env.VERSION\nexport * from './Avatar'\nexport * from './AvatarStack'\nexport * from './Badge'\nexport * from './Banner'\nexport * from './Box'\nexport * from './Breadcrumbs'\nexport * from './Button'\nexport * from './Calendar'\nexport * from './Card'\nexport * from './Checkbox'\nexport * from './ClickOutside'\nexport * from './ContactItem'\nexport * from './Content'\nexport * from './DateInput'\nexport * from './DateSelect'\nexport * from './DetailPage'\nexport * from './Dropdown'\nexport * from './DropdownFlyout'\nexport * from './Dropzone'\nexport * from './EmptyState'\nexport { StyledFieldHeader } from './Field'\nexport * from './FileList'\nexport * from './FileSelect'\nexport * from './FileToken'\nexport * from './FilterToken'\nexport * from './Flex'\nexport * from './FlexList'\nexport * from './Form'\n/**\n * @internal\n * Will require extending types FormFieldProps and FormFieldValueComponentProps\n */\nexport { BETA_makeField } from './Form'\nexport * from './Grid'\nexport * from './GroupSelect'\nexport * from './Input'\nexport * from './Link'\nexport * from './ListPage'\nexport * from './Menu'\nexport * from './MenuImperative'\nexport * from './Modal'\nexport * from './MultiSelect'\nexport * from './Notation'\nexport * from './NumberInput'\nexport * from './Overlay'\nexport * from './OverlayTrigger'\nexport * from './PageLayout'\nexport * from './Pagination'\nexport * from './Panel'\nexport * from './Pill'\nexport * from './PillSelect'\nexport * from './Popover'\nexport * from './Portal'\nexport * from './ProgressBar'\nexport * from './RadioButton'\nexport * from './Required'\nexport * from './Search'\nexport * from './SegmentedController'\nexport * from './Select'\nexport * from './Semantic'\nexport * from './SettingsPage'\nexport * from './Slider'\nexport * from './Spinner'\nexport * from './SuperSelect'\nexport * from './Switch'\nexport * from './Table'\nexport * from './TableShelf'\nexport * from './Tabs'\nexport * from './Tearsheet'\nexport * from './TextArea'\nexport * from './TextEditor'\nexport * from './TextEditorOutput'\nexport * from './Thumbnail'\nexport * from './TieredDropdown'\nexport * from './TieredSelect'\nexport * from './Tile'\nexport * from './Title'\nexport * from './Toast'\nexport * from './ToggleButton'\nexport * from './Token'\nexport * from './ToolHeader'\nexport * from './Tooltip'\nexport * from './Tree'\nexport * from './Typeahead'\nexport * from './Typography'\nexport * from './_hooks/Anchor'\nexport * from './_hooks/Buffer'\nexport * from './_hooks/ClickOutside'\nexport * from './_hooks/DateTime'\nexport * from './_hooks/DelayedCallback'\nexport * from './_hooks/DelayedToggle'\nexport * from './_hooks/Deprecation'\nexport * from './_hooks/EventListener'\nexport { getI18nProviderLocale } from './_hooks/getI18nProviderLocale'\nexport * from './_hooks/Hotkey'\nexport * from './_hooks/I18n'\nexport * from './_hooks/InjectedScript'\nexport * from './_hooks/ListNavigation'\nexport * from './_hooks/OverflowObserver'\nexport * from './_hooks/Resize'\n/**\n * @internal\n */\nexport { useResizeObserver as UNSAFE_useResizeObserver } from './_hooks/ResizeObserver'\nexport * from './_hooks/Scroll'\nexport * from './_hooks/TextEntry'\nexport * from './_hooks/Timer'\nexport * from './_hooks/Trigger'\n/**\n * @internal\n */\nexport {\n type UNSAFE_GetEndpoint,\n type UNSAFE_GetPayloadKey,\n type UNSAFE_UploadFile,\n} from './_hooks/useFileUploader'\nexport * from './_hooks/Visibility'\nexport * from './_hooks/ZIndex'\n// Style Stuff\nexport {\n borderRadius,\n getBorderRadius as UNSAFE_getBorderRadius,\n} from './_styles/borderRadius'\nexport * from './_styles/colors'\n/**\n * @internal\n */\nexport {\n getEllipsis as UNSAFE_getEllipsis,\n getFocus as UNSAFE_getFocus,\n getLineClamp as UNSAFE_getLineClamp,\n} from './_styles/mixins'\nexport * from './_styles/spacing'\n/**\n * @internal\n */\nexport { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents'\n/**\n * @internal\n */\nexport { intlDateTimeFormat } from './_utils/dateTime'\n/**\n * @internal\n */\nexport { parseFilename as UNSAFE_parseFilename } from './_utils/filename'\n/**\n * @internal\n */\nexport { mergeRefs as UNSAFE_mergeRefs } from './_utils/mergeRefs'\n// export { getTypographyIntent, typographyWeights } from './Typography'\n// For documentation only\nexport { docsProps as UNSAFE_props } from './_utils/props'\nexport type { DivAttributes, Placement } from './_utils/types'\n\nexport const tinyMCE = {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n config: tinyMCEConfig,\n}\n"],"mappings":"AAAA,SACEA,cAAc,EACdC,uBAAuB,EACvBC,mBAAmB,EACnBC,aAAa,QACR,kB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ASC,kBAAkB,QAAQ,mBAAmB;AACtD;AACA;AACA;AACA,SAASC,aAAa,IAAIC,oBAAoB,QAAQ,mBAAmB;AACzE;AACA;AACA;AACA,SAASC,SAAS,IAAIC,gBAAgB,QAAQ,oBAAoB;AAClE;AACA;AACA,SAASC,SAAS,IAAIC,YAAY,QAAQ,gBAAgB;AAG1D,OAAO,IAAMC,OAAO,GAAG;
|
|
1
|
+
{"version":3,"file":"index.js","names":["defaultPlugins","generateExternalPlugins","generateLanguageUrl","tinyMCEConfig","StyledFieldHeader","BETA_makeField","getI18nProviderLocale","useResizeObserver","UNSAFE_useResizeObserver","borderRadius","getBorderRadius","UNSAFE_getBorderRadius","getEllipsis","UNSAFE_getEllipsis","getFocus","UNSAFE_getFocus","getLineClamp","UNSAFE_getLineClamp","addSubcomponents","UNSAFE_addSubcomponents","getMonthLabel","intlDateTimeFormat","parseFilename","UNSAFE_parseFilename","mergeRefs","UNSAFE_mergeRefs","docsProps","UNSAFE_props","tinyMCE","config"],"sources":["../src/index.ts"],"sourcesContent":["import {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n tinyMCEConfig,\n} from './_utils/TinyMCE'\n\n// export const version = process.env.VERSION\nexport * from './Avatar'\nexport * from './AvatarStack'\nexport * from './Badge'\nexport * from './Banner'\nexport * from './Box'\nexport * from './Breadcrumbs'\nexport * from './Button'\nexport * from './Calendar'\nexport * from './Card'\nexport * from './Checkbox'\nexport * from './ClickOutside'\nexport * from './ContactItem'\nexport * from './Content'\nexport * from './DateInput'\nexport * from './DateSelect'\nexport * from './DetailPage'\nexport * from './Dropdown'\nexport * from './DropdownFlyout'\nexport * from './Dropzone'\nexport * from './EmptyState'\nexport { StyledFieldHeader } from './Field'\nexport * from './FileList'\nexport * from './FileSelect'\nexport * from './FileSelect/ThumbnailList'\nexport * from './FileToken'\nexport * from './FilterToken'\nexport * from './Flex'\nexport * from './FlexList'\nexport * from './Form'\n/**\n * @internal\n * Will require extending types FormFieldProps and FormFieldValueComponentProps\n */\nexport { BETA_makeField } from './Form'\nexport * from './Grid'\nexport * from './GroupSelect'\nexport * from './Input'\nexport * from './Link'\nexport * from './ListPage'\nexport * from './Menu'\nexport * from './MenuImperative'\nexport * from './Modal'\nexport * from './MultiSelect'\nexport * from './Notation'\nexport * from './NumberInput'\nexport * from './Overlay'\nexport * from './OverlayTrigger'\nexport * from './PageLayout'\nexport * from './Pagination'\nexport * from './Panel'\nexport * from './Pill'\nexport * from './PillSelect'\nexport * from './Popover'\nexport * from './Portal'\nexport * from './ProgressBar'\nexport * from './RadioButton'\nexport * from './Required'\nexport * from './Search'\nexport * from './SegmentedController'\nexport * from './Select'\nexport * from './Semantic'\nexport * from './SettingsPage'\nexport * from './Slider'\nexport * from './Spinner'\nexport * from './SuperSelect'\nexport * from './Switch'\nexport * from './Table'\nexport * from './TableShelf'\nexport * from './Tabs'\nexport * from './Tearsheet'\nexport * from './TextArea'\nexport * from './TextEditor'\nexport * from './TextEditorOutput'\nexport * from './Thumbnail'\nexport * from './TieredDropdown'\nexport * from './TieredSelect'\nexport * from './Tile'\nexport * from './Title'\nexport * from './Toast'\nexport * from './ToggleButton'\nexport * from './Token'\nexport * from './ToolHeader'\nexport * from './Tooltip'\nexport * from './Tree'\nexport * from './Typeahead'\nexport * from './Typography'\nexport * from './_hooks/Anchor'\nexport * from './_hooks/Buffer'\nexport * from './_hooks/ClickOutside'\nexport * from './_hooks/DateTime'\nexport * from './_hooks/DelayedCallback'\nexport * from './_hooks/DelayedToggle'\nexport * from './_hooks/Deprecation'\nexport * from './_hooks/EventListener'\nexport { getI18nProviderLocale } from './_hooks/getI18nProviderLocale'\nexport * from './_hooks/Hotkey'\nexport * from './_hooks/I18n'\nexport * from './_hooks/InjectedScript'\nexport * from './_hooks/ListNavigation'\nexport * from './_hooks/OverflowObserver'\nexport * from './_hooks/Resize'\n/**\n * @internal\n */\nexport { useResizeObserver as UNSAFE_useResizeObserver } from './_hooks/ResizeObserver'\nexport * from './_hooks/Scroll'\nexport * from './_hooks/TextEntry'\nexport * from './_hooks/Timer'\nexport * from './_hooks/Trigger'\n/**\n * @internal\n */\nexport {\n type UNSAFE_GetEndpoint,\n type UNSAFE_GetPayloadKey,\n type UNSAFE_UploadFile,\n} from './_hooks/useFileUploader'\nexport * from './_hooks/Visibility'\nexport * from './_hooks/ZIndex'\n// Style Stuff\nexport {\n borderRadius,\n getBorderRadius as UNSAFE_getBorderRadius,\n} from './_styles/borderRadius'\nexport * from './_styles/colors'\n/**\n * @internal\n */\nexport {\n getEllipsis as UNSAFE_getEllipsis,\n getFocus as UNSAFE_getFocus,\n getLineClamp as UNSAFE_getLineClamp,\n} from './_styles/mixins'\nexport * from './_styles/spacing'\n/**\n * @internal\n */\nexport { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents'\nexport { getMonthLabel } from './_utils/CalendarHelpers'\n/**\n * @internal\n */\nexport { intlDateTimeFormat } from './_utils/dateTime'\n/**\n * @internal\n */\nexport { parseFilename as UNSAFE_parseFilename } from './_utils/filename'\n/**\n * @internal\n */\nexport { mergeRefs as UNSAFE_mergeRefs } from './_utils/mergeRefs'\n// export { getTypographyIntent, typographyWeights } from './Typography'\n// For documentation only\nexport { docsProps as UNSAFE_props } from './_utils/props'\nexport type { DivAttributes, Placement, SpanAttributes } from './_utils/types'\n\nexport const tinyMCE = {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n config: tinyMCEConfig,\n}\n"],"mappings":"AAAA,SACEA,cAAc,EACdC,uBAAuB,EACvBC,mBAAmB,EACnBC,aAAa,QACR,kBAAkB;;AAEzB;AACA,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,WAAW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,gBAAgB;AAG1D,OAAO,IAAMC,OAAO,GAAG;EACrB5B,cAAc,EAAdA,cAAc;EACdC,uBAAuB,EAAvBA,uBAAuB;EACvBC,mBAAmB,EAAnBA,mBAAmB;EACnB2B,MAAM,EAAE1B;AACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/core-react",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.7.0",
|
|
4
4
|
"description": "React library of Procore Design Guidelines",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"build:esm": "BUNDLING=true babel src --out-dir dist --extensions '.ts,.tsx,.js,.snap' -s --copy-files --no-copy-ignored",
|
|
23
23
|
"build:types": "tsc --declaration --emitDeclarationOnly -p tsconfig.prod.json",
|
|
24
24
|
"build:typedoc": "ts-node typedoc.ts",
|
|
25
|
-
"chromatic": "
|
|
25
|
+
"chromatic": "dotenvx run -- chromatic",
|
|
26
26
|
"chromatic:ci": "chromatic --ci --storybook-build-dir ./storybook-static --project-token=${CHROMATIC_CORE_REACT_TOKEN} --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
|
|
27
27
|
"clean": "rimraf dist",
|
|
28
28
|
"dev": "NODE_ENV=development TZ_LOG=true yarn run build:typedoc && yarn run dev:ts",
|
|
29
29
|
"dev:ts": "tsc -p tsconfig.prod.json --watch",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"lint:types": "tsc -p tsconfig.prod.json --noEmit",
|
|
31
|
+
"lint:types:watch": "tsc -p . --noEmit --watch",
|
|
32
32
|
"storybook": "storybook dev -p 6007",
|
|
33
33
|
"build-storybook": "storybook build --webpack-stats-json",
|
|
34
34
|
"test": "TZ=America/Los_Angeles jest --runInBand --silent --logHeapUsage",
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"@babel/preset-react": "7.18.6",
|
|
46
46
|
"@babel/preset-typescript": "7.18.6",
|
|
47
47
|
"@babel/register": "7.18.9",
|
|
48
|
+
"@dotenvx/dotenvx": "1.6.4",
|
|
48
49
|
"@procore/globalization-toolkit": "3.0.0",
|
|
49
50
|
"@procore/storybook-addon": "^4.0.0",
|
|
50
51
|
"@storybook/addon-docs": "^7.5.3",
|
|
@@ -118,7 +119,7 @@
|
|
|
118
119
|
"@floating-ui/react": "0.25.2",
|
|
119
120
|
"@floating-ui/react-dom": "2.0.2",
|
|
120
121
|
"@procore/core-i18n-js": "10.28.0",
|
|
121
|
-
"@procore/core-icons": "12.
|
|
122
|
+
"@procore/core-icons": "12.1.0",
|
|
122
123
|
"@react-aria/button": "3.6.4",
|
|
123
124
|
"@react-aria/checkbox": "3.6.0",
|
|
124
125
|
"@react-aria/focus": "3.16.2",
|