@procore/core-react 12.21.1 → 12.21.2

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 (191) hide show
  1. package/CHANGELOG.md +428 -0
  2. package/README.md +1 -1
  3. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  4. package/dist/Avatar/Avatar.styles.js +5 -5
  5. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  6. package/dist/Badge/Badge.styles.js +2 -2
  7. package/dist/Banner/Banner.styles.js +10 -10
  8. package/dist/Box/Box.styles.js +1 -1
  9. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  10. package/dist/Button/Button.styles.js +5 -5
  11. package/dist/Calendar/Calendar.styles.js +8 -8
  12. package/dist/Card/Card.styles.js +1 -1
  13. package/dist/Checkbox/Checkbox.styles.js +6 -6
  14. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  15. package/dist/ContactItem/ContactItem.styles.js +5 -5
  16. package/dist/Content/Content.styles.js +2 -2
  17. package/dist/DateInput/DateInput.styles.js +6 -6
  18. package/dist/DetailPage/DetailPage.styles.js +7 -7
  19. package/dist/Dropdown/Dropdown.styles.js +3 -3
  20. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  21. package/dist/Dropzone/Dropzone.js +1 -1
  22. package/dist/Dropzone/Dropzone.styles.js +9 -9
  23. package/dist/EmptyState/EmptyState.styles.js +6 -6
  24. package/dist/Field/Field.styles.js +3 -3
  25. package/dist/FileList/FileList.styles.js +4 -4
  26. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  27. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  28. package/dist/FileSelect/FileSelect.styles.js +2 -2
  29. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  30. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  31. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  32. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  33. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  34. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  35. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  36. package/dist/FileToken/FileToken.styles.js +4 -4
  37. package/dist/FilterToken/FilterToken.styles.js +5 -5
  38. package/dist/FlexList/FlexList.styles.js +1 -1
  39. package/dist/Form/Form.styles.js +14 -14
  40. package/dist/Form/StyledFormikForm.styles.js +2 -2
  41. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  42. package/dist/Grid/Grid.styles.js +2 -2
  43. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  44. package/dist/Input/Input.styles.js +1 -1
  45. package/dist/Link/Link.styles.js +1 -1
  46. package/dist/ListPage/ListPage.styles.js +8 -8
  47. package/dist/Loader/Loader.styles.js +2 -2
  48. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  49. package/dist/Modal/Modal.styles.js +13 -13
  50. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  51. package/dist/NextMenu/NextMenu.styles.js +3 -3
  52. package/dist/Notation/Notation.js +1 -1
  53. package/dist/NumberInput/NumberInput.styles.js +7 -7
  54. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  55. package/dist/PageLayout/PageLayout.styles.js +16 -16
  56. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  57. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.js +1 -3
  58. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.js.map +1 -1
  59. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.d.ts +1 -6
  60. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +4 -6
  61. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js.map +1 -1
  62. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  63. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  64. package/dist/Pagination/Pagination.styles.js +5 -5
  65. package/dist/Panel/Panel.styles.js +11 -11
  66. package/dist/Pill/Pill.styles.js +2 -2
  67. package/dist/PillSelect/PillSelect.styles.js +4 -4
  68. package/dist/Popover/Popover.styles.js +2 -2
  69. package/dist/Portal/Portal.styles.js +1 -1
  70. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  71. package/dist/RadioButton/RadioButton.styles.js +3 -3
  72. package/dist/Required/Required.styles.js +3 -3
  73. package/dist/Search/Search.styles.js +5 -5
  74. package/dist/Section/Section.styles.js +7 -7
  75. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  76. package/dist/Select/Select.styles.js +7 -7
  77. package/dist/Semantic/Semantic.styles.js +9 -9
  78. package/dist/Slider/Slider.styles.js +5 -5
  79. package/dist/Spinner/Spinner.styles.js +7 -7
  80. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  81. package/dist/SuperSelect/SuperSelect.d.ts +2 -179
  82. package/dist/SuperSelect/SuperSelect.js.map +1 -1
  83. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  84. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  85. package/dist/SuperSelect/SuperSelect.types.d.ts +82 -2
  86. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  87. package/dist/SuperSelect/useSuperSelect.d.ts +4 -536
  88. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  89. package/dist/Switch/Switch.styles.js +4 -4
  90. package/dist/Table/Table.styles.js +28 -28
  91. package/dist/TableShelf/TableShelf.styles.js +5 -5
  92. package/dist/Tabs/Tabs.styles.js +15 -15
  93. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  94. package/dist/TextArea/TextArea.styles.js +1 -1
  95. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  96. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  97. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  98. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  99. package/dist/Tile/Tile.styles.js +8 -8
  100. package/dist/Title/Title.styles.js +8 -8
  101. package/dist/Title/Title.styles.js.map +1 -1
  102. package/dist/Toast/Toast.styles.js +3 -3
  103. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  104. package/dist/Token/Token.styles.js +3 -3
  105. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  106. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  107. package/dist/Tooltip/Tooltip.styles.js +2 -2
  108. package/dist/Tree/Tree.styles.js +9 -9
  109. package/dist/Typeahead/Typeahead.styles.js +3 -3
  110. package/dist/Typography/Typography.styles.js +1 -1
  111. package/dist/Typography/Typography.table.story.js +2 -2
  112. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  113. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  114. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  115. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  116. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  117. package/dist/_typedoc/Box/Box.types.json +68 -68
  118. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  119. package/dist/_typedoc/Button/Button.types.json +13 -13
  120. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  121. package/dist/_typedoc/Card/Card.types.json +6 -6
  122. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  123. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  124. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  125. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  126. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  127. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  128. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  129. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  130. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  131. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  132. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  133. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  134. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  135. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  136. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  137. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  138. package/dist/_typedoc/Form/Form.types.json +741 -741
  139. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  140. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  141. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  142. package/dist/_typedoc/Input/Input.types.json +2 -2
  143. package/dist/_typedoc/Link/Link.types.json +4 -4
  144. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  145. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  146. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  147. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  148. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  149. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  150. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  151. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  152. package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
  153. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  154. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  155. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  156. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  157. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  158. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  159. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  160. package/dist/_typedoc/Required/Required.types.json +5 -5
  161. package/dist/_typedoc/Search/Search.types.json +18 -18
  162. package/dist/_typedoc/Section/Section.types.json +15 -15
  163. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  164. package/dist/_typedoc/Select/Select.types.json +60 -60
  165. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  166. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  167. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  168. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
  169. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  170. package/dist/_typedoc/Table/Table.types.json +101 -101
  171. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  172. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  173. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  174. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  175. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  176. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  177. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  178. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  179. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  180. package/dist/_typedoc/Title/Title.types.json +1 -1
  181. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  182. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  183. package/dist/_typedoc/Token/Token.types.json +4 -4
  184. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  185. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  186. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  187. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  188. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  189. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  190. package/dist/_typedoc/_utils/types.json +3 -3
  191. package/package.json +4 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,428 @@
1
+ # Change Log
2
+
3
+ ## 12.21.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 632ce8a: Title to subheading spacing increased by 4, toggle button has consistent spacing in page header
8
+ - a9ac0ff: Yarn 4 migration
9
+
10
+ - Update to Yarn 4
11
+ - Update README instructions
12
+ - Update workspace syntax
13
+ - Update CircleCI config
14
+ - Replace Husky with Git hooks
15
+ - Fix minor TypeScript build issues
16
+
17
+ - Updated dependencies [a9ac0ff]
18
+ - @procore/core-icons@12.6.1
19
+
20
+ ## 12.21.1
21
+
22
+ ### Patch Changes
23
+
24
+ - a923d1b: Un-deprecate `disabled` prop for the Search component
25
+ - 2cb1890: fix `NumberInput` typing issue
26
+
27
+ ## 12.21.0
28
+
29
+ ### Minor Changes
30
+
31
+ - ee16a7f: RadioButton error adds aria-invalid
32
+
33
+ ### Patch Changes
34
+
35
+ - ce06a5b: Add description of `useSplitViewCard` hook in `SplitViewCard`
36
+ Export `useSplitViewCard` to control opening/closing `SplitViewCard`
37
+
38
+ ## 12.20.4
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [1172b23]
43
+ - @procore/core-icons@12.6.0
44
+
45
+ ## 12.20.3
46
+
47
+ ### Patch Changes
48
+
49
+ - 28a8cec: Added type overload to useI18nContext for non generic cases
50
+ - Updated dependencies [8ca5a1d]
51
+ - @procore/core-icons@12.5.0
52
+
53
+ ## 12.20.2
54
+
55
+ ### Patch Changes
56
+
57
+ - dcf6db1: Fix `TieredDropdown` search state now clears on blur
58
+ - 39489bf: Fix for the second argument of `translate()` and `t()` to be optional when the string is not pluralized or interpolated
59
+ - Updated dependencies [ac240cb]
60
+ - @procore/core-icons@12.4.0
61
+
62
+ ## 12.20.1
63
+
64
+ ### Patch Changes
65
+
66
+ - 3b03f2c: non-selectable items in the `Tree` are now styled to appear visually disabled
67
+ - 6b4152c: Update `ToolLandingPage` settings link colors to be a secondary button
68
+ - 6b4152c: Fixed typed `useI18nContext` to properly handle pluralized translations.
69
+
70
+ ## 12.20.0
71
+
72
+ ### Minor Changes
73
+
74
+ - 12df818: Added generic type parameter for `useI18nContext` to enable strong typing of translation parameters
75
+
76
+ ### Non SemVer Changes
77
+
78
+ - Unsafe limited release alpha PageHeaderTemplate
79
+
80
+ ## 12.19.0
81
+
82
+ ### Minor Changes
83
+
84
+ - a7648b2: `Dropzone` component deprecates `tooltip` property, add `tokens` and `onClear` props for displaying files
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [4fccfec]
89
+ - @procore/core-i18n-js@10.29.3
90
+
91
+ ## 12.18.1
92
+
93
+ ### Patch Changes
94
+
95
+ - a34bc6a: Upgrades `@tinymce/tinymce-react`, removes `tinymce` as a dependency
96
+ - 789f671: Fix typo in translation key name.
97
+
98
+ ## 12.18.0
99
+
100
+ ### Minor Changes
101
+
102
+ - d167d90: [UXI-1088] Remove `react-beautiful-dnd` peerDependency requirement. Migration to and internalizes `@atlaskit/pragmatic-drag-and-drop`
103
+ - abb108e: Introduce `TextInput`component instead to replace `Input`, planning to deprecate `Input` component
104
+
105
+ ### Patch Changes
106
+
107
+ - cb84286: Fixed `Spinner` to disable animations when `loading` is false.
108
+ - c447ddc: Tinymce to 6.8.5
109
+
110
+ ## 12.17.8
111
+
112
+ ### Patch Changes
113
+
114
+ - 53110d4: Deprecate `compact` property, add `isHorizontal` and `size` properties to EmptyState component
115
+
116
+ ## 12.17.7
117
+
118
+ ### Patch Changes
119
+
120
+ - 5cadbc9: Add default icon to Banner componet depending on variant
121
+ - 98780c8: Deprecate `iconRight` property and `tertiaryContrast` variant for Button. Decouple FilterToken component from Button
122
+
123
+ ## 12.17.6
124
+
125
+ ### Patch Changes
126
+
127
+ - 864ac9d: Update dependency package versions
128
+
129
+ ## 12.17.5
130
+
131
+ ### Patch Changes
132
+
133
+ - b19e0a0f42: Fix `isTierDisabled` in `TieredSelect` component with selectable tiers
134
+ - c33b95d3b0: `SegmentedController.Segment` `selected` instead of `active`, deprecate `active`
135
+ - c861e39b23: Deprecate `active` prop in `Tabs` component, replaced by the `selected` prop
136
+ - b6784bf2bc: `Spinner` `variant` instead of `color`, add new variants
137
+ - Hide label on small sizes (`xs`, `sm`).
138
+ - Deprecate `color` property.
139
+ - Un-deprecate `variant` property, add `default`, `button` and `focus` variants
140
+ - caacaa17b5: Deprecate `traditional` `variant` for `Form` field layouts
141
+
142
+ ## 12.17.4
143
+
144
+ ### Patch Changes
145
+
146
+ - 3f23de248: Deprecate `gray` variant from Link component
147
+ - cce0b1f41: Axios package bump for security
148
+
149
+ ## 12.17.3
150
+
151
+ ### Patch Changes
152
+
153
+ - fe7e10cbe: Deprecate `sm` size in Avatar component
154
+ - 1d8188268: Tearsheet deprecate `placement` and `stretch`, add `block` property as a drop-in replacement for `stretch`
155
+ - 340e07485: Deprecate `size` `sm` in AvatarStack component
156
+ - 72cca9636: Popover deprecate `fluid` property, add `block` property as a drop-in replacement
157
+
158
+ ## 12.17.2
159
+
160
+ ### Patch Changes
161
+
162
+ - 844a38816d: Updated the file upload error messages to display the file's relative path.
163
+ - 144ef26610: Deprecate `disabled` and `error` props for the Search component
164
+ - d6f8cdd9cd: Fix some accessibility a11y warnings
165
+ - 33607f479c: Update Dropzone error messaging.
166
+
167
+ ## 12.17.1
168
+
169
+ ### Patch Changes
170
+
171
+ - 59ce2207fa: Improve messaging for blocking zero byte uploads in Dropzone component.
172
+ - Updated dependencies [fd00589dce]
173
+ - Updated dependencies
174
+ - @procore/core-icons@12.3.0
175
+
176
+ ## 12.17.0
177
+
178
+ ### Minor Changes
179
+
180
+ - bbaaa149de: Removed text transform from the Spinner label
181
+
182
+ ### Patch Changes
183
+
184
+ - e6cff39e8e: Fix invalid html attributes for Typography and Tabs, use styled-components transient prefix $
185
+ - fe5abed75a: Added animationFrame: true to autoUpdate to prevent ResizeObserver bug in @floating-ui
186
+
187
+ ## 12.16.2
188
+
189
+ ### Patch Changes
190
+
191
+ - 221c980472: Removed unnecessary re-renders for TextEditor by memoize the focusScope for the useEffect to avoid over-triggering.
192
+ - 758409d4d0: Add data-core-react attribute for tracking NextGen Layouts utilization
193
+
194
+ ## 12.16.1
195
+
196
+ ### Patch Changes
197
+
198
+ - 09eb576e78: Focus can leave a Modal or Tearsheet when the TinyMCE TextEditor has a plugin enabled that opens its own TinyMCE modal
199
+
200
+ ## 12.16.0
201
+
202
+ ### Minor Changes
203
+
204
+ - cb9ef0cf13: disable buttons during the closing transitions of the modal and tearsheets components.
205
+
206
+ ### Patch Changes
207
+
208
+ - 5633033fec: Dropped core-css and scss in GroupBySelect
209
+ - d50705608f: [UXI-885] Updating colors for the animated progress bar
210
+
211
+ ## 12.15.0
212
+
213
+ ### Minor Changes
214
+
215
+ - 4e51fffd2: Add header prop to Select component
216
+
217
+ ## 12.14.0
218
+
219
+ ### Minor Changes
220
+
221
+ - e660ed1ce: Adding option renderer props to the Form.Select and MultiSelect types so they can be used without error by the consumer
222
+ - 85403fc79: Updating dependencies
223
+
224
+ ### Patch Changes
225
+
226
+ - 081ac7922: fix React warning with Spinner and EmptyState for invalid attributes from styled-components
227
+ - d1e891702: EmptyState's description using `body` instead of `h3`
228
+
229
+ ## 12.13.0
230
+
231
+ ### Minor Changes
232
+
233
+ - 23cdefdd1a: Updating ToggleButton styles, adding loading prop
234
+ - 2718e17f50: Added size sm to Avatar and AvatarStack
235
+
236
+ ## 12.12.1
237
+
238
+ ### Patch Changes
239
+
240
+ - d6e90a75c: Fix placeholder for de-DE in DateInput component
241
+ - aeac00464: Fix issue with resetting ungrouped/grouped columns (UISP-215)[UISP-215 https://procoretech.atlassian.net/browse/UISP-215]
242
+
243
+ ## 12.12.0
244
+
245
+ ### Minor Changes
246
+
247
+ - ce4c89f36: Add onClickViewAll prop to AvatarStack
248
+ - b973bf06d: Thumbnail Placeholder variant file
249
+ - 2a9c4441d: Improve accessibility to dropdownflyout component which is used in data-table component
250
+ - 36ae9f382: update required label capitalization
251
+
252
+ ### Patch Changes
253
+
254
+ - ba1a46661: Panel Footer show shadow only while scrolling
255
+
256
+ ## 12.11.1
257
+
258
+ ### Patch Changes
259
+
260
+ - 14551f2c3: Fixed passing a deprecated locale and its translations to I18nProvider was resulting in showing no translations
261
+
262
+ ## 12.11.0
263
+
264
+ ### Minor Changes
265
+
266
+ - b034c8b7e7: Introducing GhostPlaceholder
267
+ - 977a03d2e3: Allow to change the strategy for restoring focus in OverlayTrigger. This fixes closing Select by Tab button.
268
+
269
+ ### Patch Changes
270
+
271
+ - Updated dependencies [9e378e94cf]
272
+ - @procore/core-icons@12.2.0
273
+
274
+ ## 12.10.0
275
+
276
+ ### Minor Changes
277
+
278
+ - 6df512a30: - Add Polish support
279
+ - Mark Locale type as deprecated
280
+ - Mark getI18nProviderLocale as deprecated
281
+ - 6c2153dea: Changes have been made in the translation for Page keyword in pagination to include the colon along with the translation.
282
+ - 76a28038d: Panel Header Action improve screen reader and keyboard support with aria-label and focus trigger
283
+
284
+ ### Patch Changes
285
+
286
+ - ae429cddb: SplitViewCard no outer spacing on mobile
287
+ - Updated dependencies [8c613f543]
288
+ - @procore/core-i18n-js@10.29.0
289
+
290
+ ## 12.9.0
291
+
292
+ ### Minor Changes
293
+
294
+ - f4bba2564d: Add ToolLandingPage layout and deprecate the ListPage layout
295
+ - 2385ee3dc2: Add SplitViewCard component
296
+ - e72d0229e4: Add unsafe button variant for helix header
297
+
298
+ ### Patch Changes
299
+
300
+ - c82363b770: Detail Page Body and Detail Page Card reduce leading space between
301
+
302
+ ## 12.8.1
303
+
304
+ ### Patch Changes
305
+
306
+ - f238516964: fix internal tab styles for helix header
307
+
308
+ ## 12.8.0
309
+
310
+ ### Minor Changes
311
+
312
+ - 77ab117fd4: Added `StyledFormFieldMain` export related to Form
313
+ - b9bbcf6427: Added internal prop to Modal parts to enable mobile breakpoint responsiveness for Helix Header use. Not intended for widespread use. (`compact`)
314
+ - a7bb749cf8: Added internal prop for Tab styles to be used for global navigation. Not intended for widespread use. (`UNSAFE_helixHeader`)
315
+
316
+ ## 12.7.0
317
+
318
+ ### Minor Changes
319
+
320
+ - d62b76bd8: tinymce strikethrough text formatting
321
+
322
+ ### Patch Changes
323
+
324
+ - 2ab36a650: Add max_height property to TextEditorOutput component
325
+ - 55fed6084: Added `SpanAttributes` type export to fix `styled-components` type error.
326
+ - a5daf2815: Add export for Tier
327
+ - Updated dependencies [716e98717]
328
+ - @procore/core-icons@12.1.0
329
+
330
+ ## 12.6.0
331
+
332
+ ### Minor Changes
333
+
334
+ - 77396f11c: Add TinyMCE advlist plugin to default plugins for more bullet and counter styles
335
+
336
+ ## 12.5.0
337
+
338
+ ### Minor Changes
339
+
340
+ - 898ad719e: Add support for multiple fallbacks on the i18nProvider
341
+
342
+ ### Patch Changes
343
+
344
+ - 58d7677bf: Add export for DivAttributes
345
+
346
+ ## 12.4.2
347
+
348
+ ### Patch Changes
349
+
350
+ - 74dc723988: Extend MenuItemProps with AnchorItemProps
351
+
352
+ ## 12.4.1
353
+
354
+ ### Patch Changes
355
+
356
+ - ecc17b836: Added missing exports that were excluded after removing dist imports
357
+
358
+ ## 12.4.0
359
+
360
+ ### Minor Changes
361
+
362
+ - c3b8bc91c0: Add anchor navigation to DetailPage and SettingsPage layouts
363
+
364
+ ### Patch Changes
365
+
366
+ - b832463cbe: TextArea allows rows for larger than min-height default sizes (removes fixed height)
367
+ - 6c63b2cf22: Added `UNSAFE_EmptyStateSvg` export from `EmptyState`.
368
+ - 6c63b2cf22: Added `UNSAFE_ThumbnailDocumentIcon` export from `Thumbnail`.
369
+ - 1ba4e0af1c: Add exports for celi-select package dependencies
370
+ - 004a11a69c: Added `UNSAFE_TreeChevron`, `UNSAFE_TreeChevronContainer`, `UNSAFE_TreeFilenameCaption`, `UNSAFE_TreeIconContainer`, `UNSAFE_TreeRowContainer`, and `UNSAFE_TreeRowContent` export from the `Tree` component.
371
+
372
+ ## 12.3.0
373
+
374
+ ### Minor Changes
375
+
376
+ - 9f36515057: Add SettingsPage layout
377
+ - d378956ad7: Adds exports for TinyMCE
378
+
379
+ ## 12.2.0
380
+
381
+ ### Minor Changes
382
+
383
+ - 952834a3c0: Add exports intended for json-formulator v12 support
384
+
385
+ ### Patch Changes
386
+
387
+ - 2614939306: Update label typography font weight from 700 to 600
388
+
389
+ ## 12.1.0
390
+
391
+ ### Minor Changes
392
+
393
+ - d159f925da: Add missed exports of Dropzone for file-select library internal development
394
+
395
+ ## 12.0.0 (2024-05-28)
396
+
397
+ ### Major Changes
398
+
399
+ See [v12 migration guide](https://core.procore.com/latest/web/releases/migration-guides/core-react/v11-to-v12/) for the full list of changes and migration guides.
400
+
401
+ General changes:
402
+
403
+ - Imports from `dist` folder do not work anymore.
404
+ - `@procore/globalization-toolkit` is moved from dependencies to required peerDependencies.
405
+ - `react-beautiful-dnd` is moved from dependencies to required peerDependencies.
406
+ - `formik` peerDependency is now optional. Necessary when using `Form` components and hooks.
407
+ - resize observer polyfill remove
408
+
409
+ Other changes:
410
+
411
+ - `NumberInput` no longer uses the `locale` as prop from the component.
412
+ - `Page` and `DetailPage` subcomponent padding refactor.
413
+ - Removed deprecated components, hooks, and contexts:
414
+ - `SuccessBanner`
415
+ - `Sidebar`, `Sidebar.*`
416
+ - `Analytics`, `AnalyticsContext`, `AnalyticsProvider`, etc
417
+ - `AnchorContext`, `AnchorProvider`, `useAnchorContext`, etc
418
+ - `Autofocus`, `useAutofocus`
419
+ - `BoundingRectContext`, `useBoundingRectContext`, `useBoundingRect`, etc
420
+ - `BufferContext`, `useBufferContext`, etc
421
+ - `Event`, `EventProvider`, `useEvent`, `useEventContext` etc
422
+ - `InjectedScriptContext`, `InjectedScriptProvider`, `useInjectedScriptContext`, etc
423
+ - `ListNavigationContext`, `ListNavigationProvider`, `useListNavigationContext`, etc
424
+ - `ResizeObserver`
425
+ - `TextEntryContext`, `TextEntryProvider`, `useTextEntryContext`, etc
426
+ - `TimerContext`, `TimerProvider`, `useTimerContext`, etc
427
+ - `TriggerContext`, `TriggerProvider`, `useTriggerContext`, etc
428
+ - `VisibilityContext`, `VisibilityProvider`, `useVisibilityContext`, etc
package/README.md CHANGED
@@ -5,7 +5,7 @@ A set of React components implementing the design system spec.
5
5
  ## Requirements
6
6
 
7
7
  Node 16+
8
- YARN 1.22+
8
+ YARN 4+
9
9
 
10
10
  ## Usage
11
11
 
@@ -5,11 +5,11 @@ import { getEllipsis } from '../_styles/mixins';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledAnchorNavigation = /*#__PURE__*/styled.ul.withConfig({
7
7
  displayName: "StyledAnchorNavigation",
8
- componentId: "core-12_21_1__sc-aacdj4-0"
8
+ componentId: "core-12_21_2__sc-aacdj4-0"
9
9
  })(["max-width:200px;margin:0;padding-inline-start:0;"]);
10
10
  export var StyledAnchorSection = /*#__PURE__*/styled.li.withConfig({
11
11
  displayName: "StyledAnchorSection",
12
- componentId: "core-12_21_1__sc-aacdj4-1"
12
+ componentId: "core-12_21_2__sc-aacdj4-1"
13
13
  })(["display:flex;cursor:pointer;border-left:", "px solid ", ";background-color:", ";border-top-right-radius:4px;border-bottom-right-radius:4px;:hover{border-left:", "px solid ", ";background-color:", ";}"], spacing.xs, function (_ref) {
14
14
  var $selected = _ref.$selected;
15
15
  return $selected ? colors.gray15 : colors.gray90;
@@ -22,7 +22,7 @@ export var StyledAnchorSection = /*#__PURE__*/styled.li.withConfig({
22
22
  }, colors.gray90);
23
23
  export var StyledAnchor = /*#__PURE__*/styled.a.withConfig({
24
24
  displayName: "StyledAnchor",
25
- componentId: "core-12_21_1__sc-aacdj4-2"
25
+ componentId: "core-12_21_2__sc-aacdj4-2"
26
26
  })(["width:100%;padding:6px ", "px;", " ", ";", " :focus-visible{box-shadow:inset 0 0 0 2px ", ";outline:none;}"], spacing.sm, getTypographyIntent('body'), function (_ref4) {
27
27
  var $selected = _ref4.$selected;
28
28
  return $selected ? css(["font-weight:600;"]) : '';
@@ -28,26 +28,26 @@ var iconSize = {
28
28
  };
29
29
  export var StyledAvatarOverlay = /*#__PURE__*/styled.div.withConfig({
30
30
  displayName: "StyledAvatarOverlay",
31
- componentId: "core-12_21_1__sc-7q2ydl-0"
31
+ componentId: "core-12_21_2__sc-7q2ydl-0"
32
32
  })(["width:100%;height:100%;position:absolute;top:0;left:0;border-radius:100%;opacity:0;"]);
33
33
  export var StyledIconContainer = /*#__PURE__*/styled.div.withConfig({
34
34
  displayName: "StyledIconContainer",
35
- componentId: "core-12_21_1__sc-7q2ydl-1"
35
+ componentId: "core-12_21_2__sc-7q2ydl-1"
36
36
  })(["display:inline-flex;"]);
37
37
  export var StyledLabelContainer = /*#__PURE__*/styled.div.withConfig({
38
38
  displayName: "StyledLabelContainer",
39
- componentId: "core-12_21_1__sc-7q2ydl-2"
39
+ componentId: "core-12_21_2__sc-7q2ydl-2"
40
40
  })(["text-transform:uppercase;"]);
41
41
  export var StyledPortraitContainer = /*#__PURE__*/styled.div.withConfig({
42
42
  displayName: "StyledPortraitContainer",
43
- componentId: "core-12_21_1__sc-7q2ydl-3"
43
+ componentId: "core-12_21_2__sc-7q2ydl-3"
44
44
  })(["background-color:", ";background-position:center;background-repeat:no-repeat;background-size:cover;height:100%;width:100%;", ""], colors.white, function (_ref) {
45
45
  var $imageUrl = _ref.$imageUrl;
46
46
  return css(["background-image:url(", ");"], $imageUrl);
47
47
  });
48
48
  export var StyledAvatarContainer = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledAvatarContainer",
50
- componentId: "core-12_21_1__sc-7q2ydl-4"
50
+ componentId: "core-12_21_2__sc-7q2ydl-4"
51
51
  })(["display:inline-flex;justify-content:center;align-items:center;border-radius:100%;overflow:hidden;position:relative;cursor:default;color:", ";background-color:", ";text-decoration:none;a:has(> &){text-decoration:none;}&:focus{", "}a:focus:has(> &){", " border-radius:100%;}", " ", ";"], colors.white, colors.gray30, getGapOutlineFocus, getGapOutlineFocus, function (_ref2) {
52
52
  var _ref2$$size = _ref2.$size,
53
53
  $size = _ref2$$size === void 0 ? 'md' : _ref2$$size;
@@ -7,32 +7,32 @@ import { spacing } from '../_styles/spacing';
7
7
  var maxModalWidth = 528;
8
8
  var StyledBaseAvatar = /*#__PURE__*/styled(Avatar).withConfig({
9
9
  displayName: "StyledBaseAvatar",
10
- componentId: "core-12_21_1__sc-ft72hu-0"
10
+ componentId: "core-12_21_2__sc-ft72hu-0"
11
11
  })(["border-color:", ";border-style:solid;border-width:1px;&:hover{z-index:1;}&[role='img']:focus{outline:none;}"], colors.white);
12
12
  export var StyledAvatar = /*#__PURE__*/styled(StyledBaseAvatar).withConfig({
13
13
  displayName: "StyledAvatar",
14
- componentId: "core-12_21_1__sc-ft72hu-1"
14
+ componentId: "core-12_21_2__sc-ft72hu-1"
15
15
  })(["background-color:", ";"], function (props) {
16
16
  return colors[props.$color];
17
17
  });
18
18
  export var StyledContactItems = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledContactItems",
20
- componentId: "core-12_21_1__sc-ft72hu-2"
20
+ componentId: "core-12_21_2__sc-ft72hu-2"
21
21
  })(["padding-top:", "px;padding-bottom:", "px;padding-left:", "px;"], spacing.sm, spacing.sm, spacing.xs);
22
22
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledWrapper",
24
- componentId: "core-12_21_1__sc-ft72hu-3"
24
+ componentId: "core-12_21_2__sc-ft72hu-3"
25
25
  })(["display:flex;", " + ", "{margin-left:-", "px;}"], StyledAvatar, StyledAvatar, spacing.sm);
26
26
  export var StyledViewAllWrapper = /*#__PURE__*/styled.div.withConfig({
27
27
  displayName: "StyledViewAllWrapper",
28
- componentId: "core-12_21_1__sc-ft72hu-4"
28
+ componentId: "core-12_21_2__sc-ft72hu-4"
29
29
  })(["display:flex;margin-left:", "px;margin-bottom:", "px;"], spacing.md, spacing.lg);
30
30
  export var StyledModalBody = /*#__PURE__*/styled(Modal.Body).withConfig({
31
31
  displayName: "StyledModalBody",
32
- componentId: "core-12_21_1__sc-ft72hu-5"
32
+ componentId: "core-12_21_2__sc-ft72hu-5"
33
33
  })(["max-width:", "px;"], maxModalWidth);
34
34
  export var StyledContactItem = /*#__PURE__*/styled(ContactItem).withConfig({
35
35
  displayName: "StyledContactItem",
36
- componentId: "core-12_21_1__sc-ft72hu-6"
36
+ componentId: "core-12_21_2__sc-ft72hu-6"
37
37
  })(["flex-shrink:0;"]);
38
38
  //# sourceMappingURL=AvatarStack.styles.js.map
@@ -1,10 +1,10 @@
1
1
  import styled from 'styled-components';
2
2
  export var StyledBadge = /*#__PURE__*/styled.div.withConfig({
3
3
  displayName: "StyledBadge",
4
- componentId: "core-12_21_1__sc-rpertu-0"
4
+ componentId: "core-12_21_2__sc-rpertu-0"
5
5
  })(["display:inline-block;position:relative;"]);
6
6
  export var StyledBadgeLabel = /*#__PURE__*/styled.span.withConfig({
7
7
  displayName: "StyledBadgeLabel",
8
- componentId: "core-12_21_1__sc-rpertu-1"
8
+ componentId: "core-12_21_2__sc-rpertu-1"
9
9
  })(["bottom:100%;position:absolute;right:0;transform:translateX(50%) translateY(50%);"]);
10
10
  //# sourceMappingURL=Badge.styles.js.map
@@ -39,7 +39,7 @@ var expandContent = function expandContent(maxHeight) {
39
39
  };
40
40
  export var StyledBannerContainer = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledBannerContainer",
42
- componentId: "core-12_21_1__sc-149wm7c-0"
42
+ componentId: "core-12_21_2__sc-149wm7c-0"
43
43
  })(["align-items:center;border-left:", "px solid;border-radius:", "px;color:", ";display:flex;justify-content:space-between;min-height:52px;padding:0 ", "px;", " ", " ", ""], bannerLeft, borderRadius.md, colors.gray15, spacing.lg, bannerShadow, function (_ref) {
44
44
  var variant = _ref.variant;
45
45
  var _bannerVariantColors$ = bannerVariantColors[variant],
@@ -52,15 +52,15 @@ export var StyledBannerContainer = /*#__PURE__*/styled.div.withConfig({
52
52
  });
53
53
  export var StyledContent = /*#__PURE__*/styled.div.withConfig({
54
54
  displayName: "StyledContent",
55
- componentId: "core-12_21_1__sc-149wm7c-1"
55
+ componentId: "core-12_21_2__sc-149wm7c-1"
56
56
  })(["align-self:center;margin:", "px ", "px ", "px 0;width:100%;"], spacing.sm, spacing.lg, spacing.sm);
57
57
  export var StyledExpandableContentContainer = /*#__PURE__*/styled(Flex).withConfig({
58
58
  displayName: "StyledExpandableContentContainer",
59
- componentId: "core-12_21_1__sc-149wm7c-2"
59
+ componentId: "core-12_21_2__sc-149wm7c-2"
60
60
  })(["color:", ";min-height:52px;padding:0 ", "px;position:relative;z-index:1;", ""], colors.gray15, spacing.lg, bannerShadow);
61
61
  export var StyledExpandableContent = /*#__PURE__*/styled(Flex).withConfig({
62
62
  displayName: "StyledExpandableContent",
63
- componentId: "core-12_21_1__sc-149wm7c-3"
63
+ componentId: "core-12_21_2__sc-149wm7c-3"
64
64
  })(["animation-duration:450ms;animation-fill-mode:forwards;animation-timing-function:ease-out;background-color:", ";box-sizing:border-box;font-size:14px;font-weight:500;letter-spacing:0.25px;line-height:20px;overflow-y:auto;padding:0 ", "px;position:relative;z-index:0;", " ", ""], colors.white, spacing.xl * 2 + spacing.sm, function (_ref3) {
65
65
  var $isOverflowingY = _ref3.$isOverflowingY;
66
66
  return $isOverflowingY && focusable;
@@ -70,23 +70,23 @@ export var StyledExpandableContent = /*#__PURE__*/styled(Flex).withConfig({
70
70
  });
71
71
  export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
72
72
  displayName: "StyledTitle",
73
- componentId: "core-12_21_1__sc-149wm7c-4"
73
+ componentId: "core-12_21_2__sc-149wm7c-4"
74
74
  })(["", " color:", ";font-weight:", ";"], getTypographyIntent('body'), colors.gray15, typographyWeights.semibold);
75
75
  export var StyledBody = /*#__PURE__*/styled.div.withConfig({
76
76
  displayName: "StyledBody",
77
- componentId: "core-12_21_1__sc-149wm7c-5"
77
+ componentId: "core-12_21_2__sc-149wm7c-5"
78
78
  })(["", " color:", ";"], getTypographyIntent('body'), colors.gray15);
79
79
  export var StyledIconContainer = /*#__PURE__*/styled.div.withConfig({
80
80
  displayName: "StyledIconContainer",
81
- componentId: "core-12_21_1__sc-149wm7c-6"
81
+ componentId: "core-12_21_2__sc-149wm7c-6"
82
82
  })(["flex:0 0 auto;margin:", "px 0;"], spacing.lg);
83
83
  export var StyledActionsTrigger = /*#__PURE__*/styled(DropdownButton).withConfig({
84
84
  displayName: "StyledActionsTrigger",
85
- componentId: "core-12_21_1__sc-149wm7c-7"
85
+ componentId: "core-12_21_2__sc-149wm7c-7"
86
86
  })(["flex-shrink:0;& + ", ",& + ", "{margin-left:-", "px;}"], StyledButton, StyledLinkButton, spacing.sm);
87
87
  export var StyledAction = /*#__PURE__*/styled.div.withConfig({
88
88
  displayName: "StyledAction",
89
- componentId: "core-12_21_1__sc-149wm7c-8"
89
+ componentId: "core-12_21_2__sc-149wm7c-8"
90
90
  })(["margin:", "px 0 ", "px -", "px;& + ", ",& + ", ",& + ", "{margin-left:-", "px;}", ",", "{background:rgba(0,0,0,0.05);color:", ";&:hover{background:", ";color:", ";}}"], spacing.sm, spacing.sm, spacing.sm, StyledButton, StyledLinkButton, StyledActionsTrigger, spacing.sm, StyledButton, StyledLinkButton, colors.gray15, colors.gray85, colors.gray15);
91
91
  function getMiniBannerIconColor(_ref5) {
92
92
  var variant = _ref5.variant;
@@ -94,6 +94,6 @@ function getMiniBannerIconColor(_ref5) {
94
94
  }
95
95
  export var StyledMiniBannerContainer = /*#__PURE__*/styled.div.withConfig({
96
96
  displayName: "StyledMiniBannerContainer",
97
- componentId: "core-12_21_1__sc-149wm7c-9"
97
+ componentId: "core-12_21_2__sc-149wm7c-9"
98
98
  })(["align-items:center;background-color:", ";display:flex;justify-content:space-between;padding:0 ", "px;", " ", " & ", "{margin:", "px;}"], colors.gray96, spacing.md, getTypographyIntent('small'), getMiniBannerIconColor, StyledContent, spacing.sm);
99
99
  //# sourceMappingURL=Banner.styles.js.map
@@ -21,7 +21,7 @@ function sizeToPx(size) {
21
21
  }
22
22
  export var StyledBox = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledBox",
24
- componentId: "core-12_21_1__sc-fgsy0p-0"
24
+ componentId: "core-12_21_2__sc-fgsy0p-0"
25
25
  })(["", " ", ""], function (_ref) {
26
26
  var $as = _ref.$as;
27
27
  if ($as === 'ol' || $as === 'ul') {
@@ -4,19 +4,19 @@ import { colors } from '../_styles/colors';
4
4
  import { spacing } from '../_styles/spacing';
5
5
  export var StyledContainer = /*#__PURE__*/styled.nav.withConfig({
6
6
  displayName: "StyledContainer",
7
- componentId: "core-12_21_1__sc-1q6nqfz-0"
7
+ componentId: "core-12_21_2__sc-1q6nqfz-0"
8
8
  })(["color:", ";display:flex;align-items:center;a,a:hover{display:inline-flex;text-decoration:none;}"], colors.gray50);
9
9
  export var StyledList = /*#__PURE__*/styled.ol.withConfig({
10
10
  displayName: "StyledList",
11
- componentId: "core-12_21_1__sc-1q6nqfz-1"
11
+ componentId: "core-12_21_2__sc-1q6nqfz-1"
12
12
  })(["display:flex;margin:0;padding-left:0;"]);
13
13
  export var StyledSeparator = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "StyledSeparator",
15
- componentId: "core-12_21_1__sc-1q6nqfz-2"
15
+ componentId: "core-12_21_2__sc-1q6nqfz-2"
16
16
  })(["align-items:center;display:inline-flex;justify-content:center;margin:0px ", "px;"], spacing.xs);
17
17
  export var StyledCrumb = /*#__PURE__*/styled.li.withConfig({
18
18
  displayName: "StyledCrumb",
19
- componentId: "core-12_21_1__sc-1q6nqfz-3"
19
+ componentId: "core-12_21_2__sc-1q6nqfz-3"
20
20
  })(["", " align-items:center;color:", ";display:inline-flex;min-height:24px;text-decoration:none;&:hover{cursor:", ";text-decoration:", ";}> a{color:", ";", "}", ""], getTypographyIntent('body'), colors.gray45, function (_ref) {
21
21
  var active = _ref.active;
22
22
  return active ? 'default' : 'pointer';