@procore/core-react 11.3.0-rc.15 → 11.3.0-rc.18

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.
Files changed (86) hide show
  1. package/dist/Checkbox/Checkbox.d.ts +7 -0
  2. package/dist/Checkbox/Checkbox.js +14 -1
  3. package/dist/Checkbox/Checkbox.js.map +1 -1
  4. package/dist/Checkbox/Checkbox.styles.d.ts +7 -0
  5. package/dist/Checkbox/Checkbox.styles.js +46 -6
  6. package/dist/Checkbox/Checkbox.styles.js.map +1 -1
  7. package/dist/OverlayTrigger/OverlayTrigger.js +4 -0
  8. package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
  9. package/dist/_hooks/DateTime/DateTime.d.ts +1 -0
  10. package/dist/_hooks/DateTime/DateTime.js +1 -0
  11. package/dist/_hooks/DateTime/DateTime.js.map +1 -1
  12. package/dist/_hooks/ResizeObserver.js +5 -6
  13. package/dist/_hooks/ResizeObserver.js.map +1 -1
  14. package/dist/_typedoc/Avatar/Avatar.types.json +17 -17
  15. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +22 -22
  16. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  17. package/dist/_typedoc/Banner/Banner.types.json +12 -12
  18. package/dist/_typedoc/Box/Box.types.json +68 -68
  19. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +7 -7
  20. package/dist/_typedoc/Button/Button.types.json +11 -11
  21. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  22. package/dist/_typedoc/Card/Card.types.json +6 -6
  23. package/dist/_typedoc/Checkbox/Checkbox.types.json +7 -7
  24. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  25. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  26. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  27. package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
  28. package/dist/_typedoc/Dropdown/Dropdown.types.json +35 -35
  29. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  30. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  31. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  32. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  33. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  34. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  35. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  36. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  37. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  38. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  39. package/dist/_typedoc/Form/Form.types.json +688 -688
  40. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  41. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +51 -51
  42. package/dist/_typedoc/Input/Input.types.json +2 -2
  43. package/dist/_typedoc/Link/Link.types.json +4 -4
  44. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  45. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  46. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +69 -69
  47. package/dist/_typedoc/Modal/Modal.types.json +27 -27
  48. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +30 -30
  49. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  50. package/dist/_typedoc/NumberInput/NumberInput.types.json +43 -43
  51. package/dist/_typedoc/PageLayout/PageLayout.types.json +7 -7
  52. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  53. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  54. package/dist/_typedoc/Pill/Pill.types.json +1 -1
  55. package/dist/_typedoc/PillSelect/PillSelect.types.json +46 -46
  56. package/dist/_typedoc/Popover/Popover.types.json +10 -10
  57. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +5 -5
  58. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  59. package/dist/_typedoc/Required/Required.types.json +5 -5
  60. package/dist/_typedoc/Search/Search.types.json +18 -18
  61. package/dist/_typedoc/Section/Section.types.json +14 -14
  62. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
  63. package/dist/_typedoc/Select/Select.types.json +31 -31
  64. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  65. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  66. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  67. package/dist/_typedoc/Table/Table.types.json +94 -94
  68. package/dist/_typedoc/Tabs/Tabs.types.json +15 -15
  69. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +10 -10
  70. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  71. package/dist/_typedoc/TextEditor/TextEditor.types.json +7 -7
  72. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +3 -3
  73. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +25 -25
  74. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +41 -41
  75. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +27 -27
  76. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  77. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  78. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
  79. package/dist/_typedoc/Token/Token.types.json +4 -4
  80. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +8 -8
  81. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  82. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  83. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  84. package/dist/_typedoc/Typography/Typography.types.json +8 -8
  85. package/dist/_typedoc/_utils/types.json +3 -3
  86. package/package.json +21 -18
@@ -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/116dc0c5e/packages/core-react/src/Typeahead/Typeahead.types.ts#L15"
13
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/Typeahead/Typeahead.types.ts#L19"
23
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/Typography/Typography.types.ts#L35"
13
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/Typography/Typography.types.ts#L17"
23
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/_utils/types.ts#L50"
33
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/packages/core-react/src/_utils/types.ts#L50"
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>&#39;gray15&#39;</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/116dc0c5e/packages/core-react/src/Typography/Typography.types.ts#L46"
43
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/Typography/Typography.types.ts#L52"
53
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/Typography/Typography.types.ts#L58"
63
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/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/116dc0c5e/packages/core-react/src/_utils/types.ts#L55"
73
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/packages/core-react/src/_utils/types.ts#L55"
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/116dc0c5e/packages/core-react/src/Typography/Typography.types.ts#L64"
83
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/packages/core-react/src/Typography/Typography.types.ts#L64"
84
84
  }
85
85
  ],
86
86
  "description": ""
@@ -10,7 +10,7 @@
10
10
  "description": "Instead of using the default children, you can pass in your own.",
11
11
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Instead of using the default children, you can pass in your own.</p>\n</div></div>",
12
12
  "sourceFile": "packages/core-react/src/_utils/types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/116dc0c5e/packages/core-react/src/_utils/types.ts#L45"
13
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/packages/core-react/src/_utils/types.ts#L45"
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/116dc0c5e/packages/core-react/src/_utils/types.ts#L50"
23
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/packages/core-react/src/_utils/types.ts#L50"
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/116dc0c5e/packages/core-react/src/_utils/types.ts#L55"
33
+ "sourceUrl": "https://github.com/procore/core/blob/6765744cf/packages/core-react/src/_utils/types.ts#L55"
34
34
  }
35
35
  ],
36
36
  "description": ""
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@procore/core-react",
3
- "version": "11.3.0-rc.15",
3
+ "version": "11.3.0-rc.18",
4
4
  "description": "React library of Procore Design Guidelines",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
- "sideEffects": false,
8
+ "sideEffects": [
9
+ "./dist/OverlayTrigger/OverlayTrigger.js",
10
+ "./dist/_hooks/ResizeObserver.js"
11
+ ],
9
12
  "scripts": {
10
13
  "build": "yarn build:esm && yarn build:typedoc",
11
14
  "build:deps": "lerna run --include-dependencies --stream --no-parallel --scope=@procore/core-react build",
@@ -52,21 +55,21 @@
52
55
  "@babel/preset-react": "7.18.6",
53
56
  "@babel/preset-typescript": "7.18.6",
54
57
  "@babel/register": "7.18.9",
55
- "@percy/cli": "1.4.0",
56
- "@percy/storybook": "4.3.0",
58
+ "@percy/cli": "1.10.0",
59
+ "@percy/storybook": "4.3.3",
57
60
  "@storybook/addon-a11y": "6.5.6",
58
- "@storybook/addon-essentials": "6.5.6",
59
- "@storybook/addon-storysource": "6.5.6",
60
- "@storybook/addons": "6.5.6",
61
- "@storybook/builder-webpack5": "6.5.9",
62
- "@storybook/manager-webpack5": "6.5.6",
63
- "@storybook/react": "6.5.6",
61
+ "@storybook/addon-essentials": "6.5.10",
62
+ "@storybook/addon-storysource": "6.5.10",
63
+ "@storybook/addons": "6.5.10",
64
+ "@storybook/builder-webpack5": "6.5.10",
65
+ "@storybook/manager-webpack5": "6.5.10",
66
+ "@storybook/react": "6.5.10",
64
67
  "@storybook/testing-react": "1.3.0",
65
- "@storybook/theming": "6.5.6",
68
+ "@storybook/theming": "6.5.10",
66
69
  "@testing-library/dom": "8.16.0",
67
70
  "@testing-library/jest-dom": "5.16.4",
68
71
  "@testing-library/react": "12.1.3",
69
- "@testing-library/react-hooks": "8.0.0",
72
+ "@testing-library/react-hooks": "8.0.1",
70
73
  "@testing-library/user-event": "13.5.0",
71
74
  "@types/classnames": "2.3.1",
72
75
  "@types/enzyme": "3.10.12",
@@ -82,13 +85,13 @@
82
85
  "@types/react-dom": "17.0.11",
83
86
  "@types/react-window": "1.8.5",
84
87
  "@types/react-window-infinite-loader": "1.0.6",
85
- "@types/styled-components": "5.1.25",
88
+ "@types/styled-components": "5.1.26",
86
89
  "@types/yup": "0.29.14",
87
90
  "@typescript-eslint/eslint-plugin": "5.27.0",
88
91
  "@typescript-eslint/parser": "5.30.5",
89
92
  "@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
90
93
  "babel-core": "7.0.0-bridge.0",
91
- "babel-jest": "28.1.1",
94
+ "babel-jest": "29.0.1",
92
95
  "babel-loader": "8.2.5",
93
96
  "babel-plugin-styled-components": "2.0.7",
94
97
  "enzyme": "3.11.0",
@@ -104,7 +107,7 @@
104
107
  "sass-loader": "13.0.2",
105
108
  "style-loader": "3.3.1",
106
109
  "ts-jest": "28.0.5",
107
- "ts-node": "10.8.2",
110
+ "ts-node": "10.9.1",
108
111
  "typedoc": "0.22.17",
109
112
  "typescript": "4.7.4",
110
113
  "webpack": "5.74.0",
@@ -113,7 +116,7 @@
113
116
  "dependencies": {
114
117
  "@floating-ui/react-dom": "1.0.0",
115
118
  "@procore/core-i18n-js": "^10.27.4",
116
- "@procore/core-icons": "^11.0.4",
119
+ "@procore/core-icons": "^11.0.5-rc.0",
117
120
  "@procore/globalization-toolkit": "^1.0.2",
118
121
  "@react-aria/label": "3.4.0",
119
122
  "@react-aria/utils": "3.13.2",
@@ -127,7 +130,7 @@
127
130
  "ramda": "0.28.0",
128
131
  "react-beautiful-dnd": "13.1.0",
129
132
  "react-dropzone": "11.5.1",
130
- "react-virtuoso": "2.16.1",
133
+ "react-virtuoso": "2.17.2",
131
134
  "react-window": "1.8.7",
132
135
  "react-window-infinite-loader": "1.0.8",
133
136
  "resize-observer-polyfill": "1.5.1",
@@ -139,5 +142,5 @@
139
142
  "react-dom": ">=16.8.0 < 18",
140
143
  "styled-components": ">= 5.1.1 < 6"
141
144
  },
142
- "gitHead": "116dc0c5ed376abb410cd94fcee5f06aac15e00b"
145
+ "gitHead": "6765744cfadaa9ec5a711770d43aadd22421d082"
143
146
  }