@sproutsocial/seeds-react-menu 1.7.14 → 1.8.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
CHANGED
|
@@ -11,19 +11,19 @@ $ tsup --dts
|
|
|
11
11
|
[32mCJS[39m [1mdist/index.js [22m[32m90.48 KB[39m
|
|
12
12
|
[32mCJS[39m [1mdist/v2/index.js [22m[32m71.31 KB[39m
|
|
13
13
|
[32mCJS[39m [1mdist/index.js.map [22m[32m176.30 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/v2/index.js.map [22m[32m147.
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
-
[32mESM[39m [1mdist/esm/v2/index.js [22m[32m60.
|
|
14
|
+
[32mCJS[39m [1mdist/v2/index.js.map [22m[32m147.60 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 347ms
|
|
16
|
+
[32mESM[39m [1mdist/esm/v2/index.js [22m[32m60.76 KB[39m
|
|
17
17
|
[32mESM[39m [1mdist/esm/index.js [22m[32m71.37 KB[39m
|
|
18
18
|
[32mESM[39m [1mdist/esm/chunk-ROQATIB7.js [22m[32m9.15 KB[39m
|
|
19
|
-
[32mESM[39m [1mdist/esm/v2/index.js.map [22m[
|
|
19
|
+
[32mESM[39m [1mdist/esm/v2/index.js.map [22m[32m127.96 KB[39m
|
|
20
20
|
[32mESM[39m [1mdist/esm/index.js.map [22m[32m152.31 KB[39m
|
|
21
21
|
[32mESM[39m [1mdist/esm/chunk-ROQATIB7.js.map [22m[32m22.93 KB[39m
|
|
22
|
-
[32mESM[39m ⚡️ Build success in
|
|
22
|
+
[32mESM[39m ⚡️ Build success in 348ms
|
|
23
23
|
[34mDTS[39m Build start
|
|
24
|
-
[32mDTS[39m ⚡️ Build success in
|
|
24
|
+
[32mDTS[39m ⚡️ Build success in 16494ms
|
|
25
25
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m39.04 KB[39m
|
|
26
26
|
[32mDTS[39m [1mdist/v2/index.d.ts [22m[32m4.87 KB[39m
|
|
27
27
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m39.04 KB[39m
|
|
28
28
|
[32mDTS[39m [1mdist/v2/index.d.mts [22m[32m4.87 KB[39m
|
|
29
|
-
Done in 17.
|
|
29
|
+
Done in 17.98s.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @sproutsocial/seeds-react-menu
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 994c810: Fix a bug in V2 multi autocomplete where item selection was jumping user back to the beginning of the item list
|
|
8
|
+
|
|
9
|
+
## 1.7.15
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- @sproutsocial/seeds-react-icon@2.2.1
|
|
14
|
+
- @sproutsocial/seeds-react-button@1.3.15
|
|
15
|
+
- @sproutsocial/seeds-react-checkbox@1.3.19
|
|
16
|
+
- @sproutsocial/seeds-react-input@1.5.1
|
|
17
|
+
- @sproutsocial/seeds-react-switch@1.2.18
|
|
18
|
+
- @sproutsocial/seeds-react-token-input@1.4.22
|
|
19
|
+
- @sproutsocial/seeds-react-popout@2.4.21
|
|
20
|
+
|
|
3
21
|
## 1.7.14
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -1681,8 +1681,8 @@ function defaultReducer4(state, actionAndChanges) {
|
|
|
1681
1681
|
...changes,
|
|
1682
1682
|
isOpen: true,
|
|
1683
1683
|
// keep the menu open after selection.
|
|
1684
|
-
highlightedIndex:
|
|
1685
|
-
//
|
|
1684
|
+
highlightedIndex: state.highlightedIndex
|
|
1685
|
+
// preserve the current position so the list doesn't jump.
|
|
1686
1686
|
};
|
|
1687
1687
|
default:
|
|
1688
1688
|
return changes;
|
|
@@ -1824,8 +1824,7 @@ function MultiAutocomplete({
|
|
|
1824
1824
|
inputId: id,
|
|
1825
1825
|
items: itemsForCombobox,
|
|
1826
1826
|
itemToString: itemToStringForDownshift,
|
|
1827
|
-
defaultHighlightedIndex:
|
|
1828
|
-
// after selection, highlight the first item.
|
|
1827
|
+
defaultHighlightedIndex: -1,
|
|
1829
1828
|
selectedItem: null,
|
|
1830
1829
|
inputValue,
|
|
1831
1830
|
isOpen,
|