@sproutsocial/seeds-react-menu 1.10.3 → 1.10.5
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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +30 -0
- package/dist/esm/v2/index.js +6 -3
- package/dist/esm/v2/index.js.map +1 -1
- package/dist/v2/index.js +6 -3
- package/dist/v2/index.js.map +1 -1
- package/package.json +13 -13
- package/src/v2/Common-V2/ComboboxContent.tsx +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/seeds-react-menu",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.5",
|
|
4
4
|
"description": "Seeds React Menu",
|
|
5
5
|
"author": "Sprout Social, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@radix-ui/react-popover": "^1.1.2",
|
|
34
|
-
"@sproutsocial/seeds-react-box": "^1.1.
|
|
35
|
-
"@sproutsocial/seeds-react-button": "^1.4.
|
|
36
|
-
"@sproutsocial/seeds-react-checkbox": "^1.3.
|
|
37
|
-
"@sproutsocial/seeds-react-icon": "^2.3.
|
|
38
|
-
"@sproutsocial/seeds-react-input": "^1.5.
|
|
39
|
-
"@sproutsocial/seeds-react-label": "^1.0.
|
|
40
|
-
"@sproutsocial/seeds-react-popout": "^2.4.
|
|
41
|
-
"@sproutsocial/seeds-react-radio": "^1.3.
|
|
42
|
-
"@sproutsocial/seeds-react-switch": "^1.2.
|
|
34
|
+
"@sproutsocial/seeds-react-box": "^1.1.15",
|
|
35
|
+
"@sproutsocial/seeds-react-button": "^1.4.3",
|
|
36
|
+
"@sproutsocial/seeds-react-checkbox": "^1.3.27",
|
|
37
|
+
"@sproutsocial/seeds-react-icon": "^2.3.1",
|
|
38
|
+
"@sproutsocial/seeds-react-input": "^1.5.10",
|
|
39
|
+
"@sproutsocial/seeds-react-label": "^1.0.15",
|
|
40
|
+
"@sproutsocial/seeds-react-popout": "^2.4.31",
|
|
41
|
+
"@sproutsocial/seeds-react-radio": "^1.3.15",
|
|
42
|
+
"@sproutsocial/seeds-react-switch": "^1.2.26",
|
|
43
43
|
"@sproutsocial/seeds-react-system-props": "^3.0.2",
|
|
44
|
-
"@sproutsocial/seeds-react-theme": "^3.6.
|
|
45
|
-
"@sproutsocial/seeds-react-token-input": "^1.4.
|
|
44
|
+
"@sproutsocial/seeds-react-theme": "^3.6.1",
|
|
45
|
+
"@sproutsocial/seeds-react-token-input": "^1.4.32",
|
|
46
46
|
"@sproutsocial/seeds-react-utilities": "^4.3.0",
|
|
47
47
|
"@tanstack/react-virtual": "^3.13.12",
|
|
48
48
|
"downshift": "9.0.4",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"styled-system": "^5.1.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@sproutsocial/seeds-react-tooltip": "^1.1.
|
|
54
|
+
"@sproutsocial/seeds-react-tooltip": "^1.1.13",
|
|
55
55
|
"@sproutsocial/eslint-config-seeds": "*",
|
|
56
56
|
"@sproutsocial/seeds-react-testing-library": "*",
|
|
57
57
|
"@sproutsocial/seeds-testing": "*",
|
|
@@ -78,7 +78,10 @@ export const VirtualizedComboboxContent = <T extends DataWithId>({
|
|
|
78
78
|
|
|
79
79
|
const virtualItems = rowVirtualizer.getVirtualItems();
|
|
80
80
|
|
|
81
|
-
const menuProps = getMenuProps(
|
|
81
|
+
const menuProps = getMenuProps(
|
|
82
|
+
{ ref: containerRef },
|
|
83
|
+
{ suppressRefError: true }
|
|
84
|
+
);
|
|
82
85
|
return (
|
|
83
86
|
<div {...menuProps} {...rest}>
|
|
84
87
|
{!hasItems && EmptyState ? (
|
|
@@ -226,7 +229,7 @@ export const NormalComboboxContent = <T extends DataWithId>({
|
|
|
226
229
|
// Check if there are any actual items (not just headings)
|
|
227
230
|
const hasItems = items.some((item) => !isGroupHeading(item));
|
|
228
231
|
|
|
229
|
-
const menuProps = getMenuProps();
|
|
232
|
+
const menuProps = getMenuProps({}, { suppressRefError: true });
|
|
230
233
|
|
|
231
234
|
return (
|
|
232
235
|
<div {...menuProps} {...rest}>
|
|
@@ -352,7 +355,7 @@ export const GroupedComboboxContent = <T extends DataWithId>({
|
|
|
352
355
|
// Check if there are any actual items (not just headings)
|
|
353
356
|
const hasItems = items.some((item) => !isGroupHeading(item));
|
|
354
357
|
|
|
355
|
-
const menuProps = getMenuProps();
|
|
358
|
+
const menuProps = getMenuProps({}, { suppressRefError: true });
|
|
356
359
|
|
|
357
360
|
const groupedItems = groupItems(
|
|
358
361
|
items as T[],
|