@sproutsocial/seeds-react-menu 1.2.2 → 1.3.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/.turbo/turbo-build.log +10 -10
- package/CHANGELOG.md +16 -0
- package/dist/esm/index.js +179 -133
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +217 -171
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Autocomplete/MultiAutocomplete.tsx +29 -18
- package/src/Autocomplete/SingleAutocomplete.tsx +14 -6
- package/src/Autocomplete/__tests__/Autocomplete.test.tsx +21 -0
- package/src/MenuContent/DefaultMenuEmptyState.tsx +17 -0
- package/src/MenuContent/MenuContent.tsx +14 -2
- package/src/MenuContent/MenuContentTypes.ts +2 -0
- package/src/MenuContent/__tests__/MenuContent.test.tsx +38 -17
- package/src/MenuContext.tsx +13 -0
- package/src/MenuItem/__tests__/MenuItem.test.tsx +11 -14
- package/src/MenuRoot/MenuRoot.tsx +9 -9
- package/src/SingleSelectMenu/SingleSelectMenu.stories.tsx +44 -0
- package/src/menuTestingUtils.tsx +12 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -46,6 +46,9 @@ ESM Build start
|
|
|
46
46
|
╵ [32m~~~~~~~~~[0m
|
|
47
47
|
|
|
48
48
|
|
|
49
|
+
ESM dist/esm/index.js 132.88 KB
|
|
50
|
+
ESM dist/esm/index.js.map 367.00 KB
|
|
51
|
+
ESM ⚡️ Build success in 645ms
|
|
49
52
|
[warn] [33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mThe condition "types" here will never be used as it comes after both "import" and "require"[0m [package.json]
|
|
50
53
|
|
|
51
54
|
../../seeds-design-tokens/seeds-motion/package.json:12:6:
|
|
@@ -84,14 +87,11 @@ ESM Build start
|
|
|
84
87
|
╵ [32m~~~~~~~~~[0m
|
|
85
88
|
|
|
86
89
|
|
|
87
|
-
CJS dist/index.js
|
|
88
|
-
CJS dist/index.js.map
|
|
89
|
-
CJS ⚡️ Build success in
|
|
90
|
-
ESM dist/esm/index.js 131.30 KB
|
|
91
|
-
ESM dist/esm/index.js.map 364.25 KB
|
|
92
|
-
ESM ⚡️ Build success in 518ms
|
|
90
|
+
CJS dist/index.js 142.53 KB
|
|
91
|
+
CJS dist/index.js.map 368.28 KB
|
|
92
|
+
CJS ⚡️ Build success in 713ms
|
|
93
93
|
DTS Build start
|
|
94
|
-
DTS ⚡️ Build success in
|
|
95
|
-
DTS dist/index.d.ts
|
|
96
|
-
DTS dist/index.d.mts
|
|
97
|
-
Done in
|
|
94
|
+
DTS ⚡️ Build success in 15562ms
|
|
95
|
+
DTS dist/index.d.ts 37.05 KB
|
|
96
|
+
DTS dist/index.d.mts 37.05 KB
|
|
97
|
+
Done in 19.23s.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @sproutsocial/seeds-react-menu
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e27ab2e: This update introduces a `DefaultMenuEmptyState` for filter menus and an `emptyStateElement` prop on `MenuContent` to allow for custom empty states to be passed in to the `seeds-react-menu` package.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- e27ab2e: This update fixes a bug that prevented developers from passing custom popoutProps.
|
|
12
|
+
|
|
13
|
+
## 1.2.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 68254a6: Fixed issue where Menus using the MenuSearchInput automatically closed when the results were empty. They now remain open when no match is found.
|
|
18
|
+
|
|
3
19
|
## 1.2.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|