@procore/core-react 11.14.0-rc.0 → 11.14.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/.env.sample +1 -0
- package/README.md +8 -14
- package/dist/Avatar/Avatar.js +2 -1
- package/dist/Avatar/Avatar.js.map +1 -1
- package/dist/Badge/Badge.d.ts +4 -3
- package/dist/Badge/Badge.js +18 -2
- package/dist/Badge/Badge.js.map +1 -1
- package/dist/Form/Form.styles.d.ts +1 -1
- package/dist/Menu/Menu.d.ts +2 -2
- package/dist/MenuImperative/MenuImperative.js +9 -1
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/NextMenu/NextMenu.js +1 -0
- package/dist/NextMenu/NextMenu.js.map +1 -1
- package/dist/OverlayTrigger/a11yPresets.d.ts +14 -14
- package/dist/SegmentedController/SegmentedController.js +2 -1
- package/dist/SegmentedController/SegmentedController.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.d.ts +36 -4
- package/dist/SuperSelect/SuperSelect.js +2 -2
- package/dist/SuperSelect/SuperSelect.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.styles.d.ts +2 -2
- package/dist/SuperSelect/useSuperSelect.d.ts +108 -12
- package/dist/SuperSelect/useSuperSelect.js +2 -2
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Tabs/Tabs.js +3 -2
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.hooks.d.ts +82 -76
- package/dist/ToolHeader/ToolHeader.d.ts +1 -2
- package/dist/ToolHeader/ToolHeader.js +3 -1
- package/dist/ToolHeader/ToolHeader.js.map +1 -1
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +22 -22
- 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 +11 -11
- 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 +7 -7
- 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 +4 -4
- 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 -73
- 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 +700 -700
- 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 +71 -71
- 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 +38 -38
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +30 -30
- package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
- 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 +46 -46
- package/dist/_typedoc/Popover/Popover.types.json +12 -12
- 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 +32 -32
- 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 +94 -94
- 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 +3 -3
- 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/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 +8 -8
- package/dist/_typedoc/_utils/types.json +3 -3
- package/package.json +49 -45
|
@@ -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/5d6c65e00/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/5d6c65e00/packages/core-react/src/Typeahead/Typeahead.types.ts#L19"
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
26
|
"description": ""
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"description": "<span>\n Change the HTML tag. This{' '}\n <Link href=\"https://styled-components.com/docs/api#as-polymorphic-prop\">\n prop is from styled-components\n </Link>\n .<em>WARNING</em>: If using TypeScript, it will not switch types and\n some props may error. You can add <Code>// @ts-expect-error</Code>.\n See{' '}\n <Link href=\"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117\">\n styled-components issue\n </Link>\n .\n</span>",
|
|
11
11
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<span>\n Change the HTML tag. This{' '}\n <Link href=\"https://styled-components.com/docs/api#as-polymorphic-prop\">\n prop is from styled-components\n </Link>\n .<em>WARNING</em>: If using TypeScript, it will not switch types and\n some props may error. You can add <Code>// @ts-expect-error</Code>.\n See{' '}\n <Link href=\"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/30117\">\n styled-components issue\n </Link>\n .\n</span></div><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/Typography/Typography.types.ts",
|
|
13
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
13
|
+
"sourceUrl": "https://github.com/procore/core/blob/5d6c65e00/packages/core-react/src/Typography/Typography.types.ts#L35"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"name": "children",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "<span>\n When children are a string or multiple elements, they will be wrapped\n by a <Code>span</Code>. When it is a single element, classnames will\n be added to it instead\n</span>",
|
|
21
21
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<span>\n When children are a string or multiple elements, they will be wrapped\n by a <Code>span</Code>. When it is a single element, classnames will\n be added to it instead\n</span></div><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/Typography/Typography.types.ts",
|
|
23
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
23
|
+
"sourceUrl": "https://github.com/procore/core/blob/5d6c65e00/packages/core-react/src/Typography/Typography.types.ts#L17"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": "className",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"description": "Additional classNames",
|
|
31
31
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</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/5d6c65e00/packages/core-react/src/_utils/types.ts#L47"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "color",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"description": "<span>\n Changes font color, can be any of the{' '}\n <Link to=\"/web/style/colors/#hsl-palette\">HSL Palette</Link> css\n strings\n</span>",
|
|
41
41
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<span>\n Changes font color, can be any of the{' '}\n <Link to=\"/web/style/colors/#hsl-palette\">HSL Palette</Link> css\n strings\n</span></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>",
|
|
42
42
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
43
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
43
|
+
"sourceUrl": "https://github.com/procore/core/blob/5d6c65e00/packages/core-react/src/Typography/Typography.types.ts#L46"
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"name": "intent",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"description": "Changes the size of the font",
|
|
51
51
|
"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>",
|
|
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/5d6c65e00/packages/core-react/src/Typography/Typography.types.ts#L52"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"name": "italic",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"description": "Applies `font-style: italic` if enabled",
|
|
61
61
|
"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>",
|
|
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/5d6c65e00/packages/core-react/src/Typography/Typography.types.ts#L58"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"name": "style",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"description": "Additional CSS styles",
|
|
71
71
|
"descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
|
|
72
72
|
"sourceFile": "packages/core-react/src/_utils/types.ts",
|
|
73
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
73
|
+
"sourceUrl": "https://github.com/procore/core/blob/5d6c65e00/packages/core-react/src/_utils/types.ts#L52"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "weight",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"description": "Changes font weight if it is supported in the design system",
|
|
81
81
|
"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>",
|
|
82
82
|
"sourceFile": "packages/core-react/src/Typography/Typography.types.ts",
|
|
83
|
-
"sourceUrl": "https://github.com/procore/core/blob/
|
|
83
|
+
"sourceUrl": "https://github.com/procore/core/blob/5d6c65e00/packages/core-react/src/Typography/Typography.types.ts#L64"
|
|
84
84
|
}
|
|
85
85
|
],
|
|
86
86
|
"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/5d6c65e00/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/5d6c65e00/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/5d6c65e00/packages/core-react/src/_utils/types.ts#L52"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
36
|
"description": ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/core-react",
|
|
3
|
-
"version": "11.14.0
|
|
3
|
+
"version": "11.14.0",
|
|
4
4
|
"description": "React library of Procore Design Guidelines",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -9,42 +9,6 @@
|
|
|
9
9
|
"./dist/OverlayTrigger/OverlayTrigger.js",
|
|
10
10
|
"./dist/_hooks/ResizeObserver.js"
|
|
11
11
|
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "yarn build:esm && yarn build:typedoc",
|
|
14
|
-
"build:deps": "lerna run --include-dependencies --stream --no-parallel --scope=@procore/core-react build",
|
|
15
|
-
"build:esm": "NODE_ENV=development tsc -p tsconfig.prod.json",
|
|
16
|
-
"build:typedoc": "ts-node typedoc.ts",
|
|
17
|
-
"chromatic": "npx chromatic --storybook-build-dir ./storybook-static --only-changed --untraced **/package.json",
|
|
18
|
-
"clean": "rimraf dist",
|
|
19
|
-
"dev": "NODE_ENV=development TZ_LOG=true yarn build:typedoc && yarn dev:ts",
|
|
20
|
-
"dev:ts": "tsc -p tsconfig.prod.json --watch",
|
|
21
|
-
"prepublishOnly": "yarn build",
|
|
22
|
-
"test:update": "TZ=America/Los_Angeles jest --runInBand -u",
|
|
23
|
-
"typecheck": "tsc -p . --noEmit",
|
|
24
|
-
"typecheck:watch": "tsc -p . --noEmit --watch",
|
|
25
|
-
"storybook": "yarn build:deps && start-storybook -p 9000 -s .storybook/static",
|
|
26
|
-
"storybook:build": "yarn build:deps && yarn storybook:build:nodeps",
|
|
27
|
-
"storybook:build:nodeps": "build-storybook -s .storybook/static --webpack-stats-json",
|
|
28
|
-
"test": "yarn build:deps && yarn test:nodeps --runInBand",
|
|
29
|
-
"test:nodeps": "TZ=America/Los_Angeles yarn jest --runInBand --silent --logHeapUsage",
|
|
30
|
-
"test:watch": "yarn test --watch"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "git+https://github.com/procore/core.git"
|
|
35
|
-
},
|
|
36
|
-
"bugs": "https://github.com/procore/core/issues",
|
|
37
|
-
"keywords": [
|
|
38
|
-
"javascript",
|
|
39
|
-
"components",
|
|
40
|
-
"react",
|
|
41
|
-
"js",
|
|
42
|
-
"jsx",
|
|
43
|
-
"library",
|
|
44
|
-
"procore"
|
|
45
|
-
],
|
|
46
|
-
"author": "Procore Technologies",
|
|
47
|
-
"license": "SEE LICENSE IN LICENSE",
|
|
48
12
|
"devDependencies": {
|
|
49
13
|
"@babel/core": "^7.19.3",
|
|
50
14
|
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
|
|
@@ -65,11 +29,12 @@
|
|
|
65
29
|
"@testing-library/react": "12.1.4",
|
|
66
30
|
"@testing-library/react-hooks": "8.0.1",
|
|
67
31
|
"@testing-library/user-event": "14.4.3",
|
|
68
|
-
"@types/classnames": "2.3.1",
|
|
69
32
|
"@types/enzyme": "3.10.12",
|
|
70
33
|
"@types/fs-extra": "11.0.1",
|
|
71
34
|
"@types/glob": "8.0.1",
|
|
72
35
|
"@types/jest": "29.4.0",
|
|
36
|
+
"@types/jest-axe": "^3.5.5",
|
|
37
|
+
"@types/lodash": "4.14.192",
|
|
73
38
|
"@types/lodash.debounce": "4.0.7",
|
|
74
39
|
"@types/lodash.groupby": "4.6.7",
|
|
75
40
|
"@types/lodash.merge": "4.6.7",
|
|
@@ -79,12 +44,13 @@
|
|
|
79
44
|
"@types/node": "17.0.38",
|
|
80
45
|
"@types/prop-types": "15.7.5",
|
|
81
46
|
"@types/ramda": "0.28.23",
|
|
82
|
-
"@types/react": "17.0.
|
|
47
|
+
"@types/react": "17.0.55",
|
|
83
48
|
"@types/react-beautiful-dnd": "13.1.3",
|
|
84
|
-
"@types/react-dom": "17.0.
|
|
49
|
+
"@types/react-dom": "17.0.19",
|
|
85
50
|
"@types/react-window": "1.8.5",
|
|
86
51
|
"@types/react-window-infinite-loader": "1.0.6",
|
|
87
52
|
"@types/styled-components": "5.1.26",
|
|
53
|
+
"@types/testing-library__jest-dom": "5.14.5",
|
|
88
54
|
"@types/yup": "0.29.14",
|
|
89
55
|
"@typescript-eslint/eslint-plugin": "5.48.2",
|
|
90
56
|
"@typescript-eslint/parser": "5.48.1",
|
|
@@ -101,10 +67,11 @@
|
|
|
101
67
|
"formik": "2.2.9",
|
|
102
68
|
"glob": "8.1.0",
|
|
103
69
|
"jest": "29.4.1",
|
|
70
|
+
"jest-axe": "^7.0.0",
|
|
104
71
|
"jest-styled-components": "7.0.8",
|
|
105
72
|
"miragejs": "^0.1.41",
|
|
106
73
|
"react": "17.0.2",
|
|
107
|
-
"react-dom": "17.0.
|
|
74
|
+
"react-dom": "17.0.2",
|
|
108
75
|
"styled-components": "5.3.6",
|
|
109
76
|
"ts-jest": "29.0.5",
|
|
110
77
|
"ts-node": "10.9.1",
|
|
@@ -114,14 +81,15 @@
|
|
|
114
81
|
"yup": "0.32.11"
|
|
115
82
|
},
|
|
116
83
|
"dependencies": {
|
|
84
|
+
"@floating-ui/react": "0.22.3",
|
|
117
85
|
"@floating-ui/react-dom": "1.0.0",
|
|
118
|
-
"@floating-ui/react-dom-interactions": "0.9.3",
|
|
119
86
|
"@procore/core-i18n-js": "^10.27.6",
|
|
120
|
-
"@procore/core-icons": "^11.1.5
|
|
87
|
+
"@procore/core-icons": "^11.1.5",
|
|
121
88
|
"@procore/globalization-toolkit": "^1.16.1",
|
|
122
89
|
"@react-aria/button": "3.6.4",
|
|
123
90
|
"@react-aria/checkbox": "3.6.0",
|
|
124
91
|
"@react-aria/focus": "3.10.1",
|
|
92
|
+
"@react-aria/interactions": "3.14.0",
|
|
125
93
|
"@react-aria/label": "3.4.4",
|
|
126
94
|
"@react-aria/overlays": "3.12.1",
|
|
127
95
|
"@react-aria/radio": "3.4.2",
|
|
@@ -156,5 +124,41 @@
|
|
|
156
124
|
"react-dom": ">=16.8.0 < 19",
|
|
157
125
|
"styled-components": ">= 5.1.1 < 6"
|
|
158
126
|
},
|
|
159
|
-
"
|
|
160
|
-
|
|
127
|
+
"homepage": "https://github.com/procore/core#readme",
|
|
128
|
+
"repository": {
|
|
129
|
+
"type": "git",
|
|
130
|
+
"url": "git+https://github.com/procore/core.git"
|
|
131
|
+
},
|
|
132
|
+
"bugs": "https://github.com/procore/core/issues",
|
|
133
|
+
"keywords": [
|
|
134
|
+
"javascript",
|
|
135
|
+
"components",
|
|
136
|
+
"react",
|
|
137
|
+
"js",
|
|
138
|
+
"jsx",
|
|
139
|
+
"library",
|
|
140
|
+
"procore"
|
|
141
|
+
],
|
|
142
|
+
"author": "Procore Technologies",
|
|
143
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
144
|
+
"engines": {
|
|
145
|
+
"node": ">= 16.20.0"
|
|
146
|
+
},
|
|
147
|
+
"scripts": {
|
|
148
|
+
"build": "pnpm run build:esm & pnpm run build:typedoc",
|
|
149
|
+
"build:esm": "tsc -p tsconfig.prod.json",
|
|
150
|
+
"build:typedoc": "ts-node typedoc.ts",
|
|
151
|
+
"chromatic": "chromatic --project-token=cf8c48cce207",
|
|
152
|
+
"chromatic:ci": "chromatic --ci --project-token=cf8c48cce207 --exit-once-uploaded --only-changed --skip=\"dependabot*\"",
|
|
153
|
+
"clean": "rimraf dist",
|
|
154
|
+
"dev": "NODE_ENV=development TZ_LOG=true pnpm run build:typedoc && pnpm run dev:ts",
|
|
155
|
+
"dev:ts": "tsc -p tsconfig.prod.json --watch",
|
|
156
|
+
"typecheck": "tsc -p . --noEmit",
|
|
157
|
+
"typecheck:watch": "tsc -p . --noEmit --watch",
|
|
158
|
+
"storybook": "start-storybook -s .storybook/static",
|
|
159
|
+
"build-storybook": "build-storybook --webpack-stats-json -s .storybook/static",
|
|
160
|
+
"test": "TZ=America/Los_Angeles jest --runInBand --silent --logHeapUsage",
|
|
161
|
+
"test:update": "TZ=America/Los_Angeles jest --runInBand -u",
|
|
162
|
+
"test:watch": "pnpm run test --watch"
|
|
163
|
+
}
|
|
164
|
+
}
|