@sproutsocial/seeds-react-menu 1.6.1 → 1.6.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.
@@ -8,14 +8,14 @@ CLI Target: es2022
8
8
  CLI Cleaning output folder
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 144.30 KB
12
- CJS dist/index.js.map 371.92 KB
13
- CJS ⚡️ Build success in 706ms
14
- ESM dist/esm/index.js 134.40 KB
15
- ESM dist/esm/index.js.map 370.64 KB
16
- ESM ⚡️ Build success in 709ms
11
+ CJS dist/index.js 144.34 KB
12
+ CJS dist/index.js.map 372.00 KB
13
+ CJS ⚡️ Build success in 526ms
14
+ ESM dist/esm/index.js 134.45 KB
15
+ ESM dist/esm/index.js.map 370.73 KB
16
+ ESM ⚡️ Build success in 532ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 15887ms
19
- DTS dist/index.d.ts 39.00 KB
20
- DTS dist/index.d.mts 39.00 KB
21
- Done in 19.66s.
18
+ DTS ⚡️ Build success in 16093ms
19
+ DTS dist/index.d.ts 39.03 KB
20
+ DTS dist/index.d.mts 39.03 KB
21
+ Done in 18.50s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @sproutsocial/seeds-react-menu
2
2
 
3
+ ## 1.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0b3224b: Allow autocomplete components to display empty state
8
+ - Updated dependencies [f55c7f4]
9
+ - @sproutsocial/seeds-react-token-input@1.4.1
10
+
3
11
  ## 1.6.1
4
12
 
5
13
  ### Patch Changes
package/dist/esm/index.js CHANGED
@@ -3693,6 +3693,7 @@ var SingleAutocomplete = ({
3693
3693
  MenuItemComponent,
3694
3694
  itemToString: itemToString2 = itemToString,
3695
3695
  getIsItemVisible,
3696
+ autoCloseOnEmpty = true,
3696
3697
  ...useComboboxProps
3697
3698
  }) => {
3698
3699
  const { allMenuItems, children } = useMenuChildren({
@@ -3726,6 +3727,7 @@ var SingleAutocomplete = ({
3726
3727
  {
3727
3728
  ...{
3728
3729
  isListbox: true,
3730
+ autoCloseOnEmpty,
3729
3731
  items: allMenuItems,
3730
3732
  itemToString: itemToString2,
3731
3733
  ...useComboboxProps,
@@ -3736,7 +3738,6 @@ var SingleAutocomplete = ({
3736
3738
  focusOnContent: false,
3737
3739
  ...userPopoutProps
3738
3740
  },
3739
- autoCloseOnEmpty: true,
3740
3741
  children
3741
3742
  }
3742
3743
  );
@@ -3762,6 +3763,7 @@ var MultiAutocomplete = ({
3762
3763
  getA11yMultiStatusMessage,
3763
3764
  onMultiSelectStateChange,
3764
3765
  multiSelectStateReducer,
3766
+ autoCloseOnEmpty = true,
3765
3767
  ...useComboboxProps
3766
3768
  }) => {
3767
3769
  const { allMenuItems, children } = useMenuChildren({
@@ -3864,6 +3866,7 @@ var MultiAutocomplete = ({
3864
3866
  {
3865
3867
  ...{
3866
3868
  isListbox: true,
3869
+ autoCloseOnEmpty,
3867
3870
  items: allMenuItems,
3868
3871
  itemToString: itemToString2,
3869
3872
  initialSelectedItems,
@@ -3881,7 +3884,6 @@ var MultiAutocomplete = ({
3881
3884
  focusOnContent: false,
3882
3885
  ...userPopoutProps
3883
3886
  },
3884
- autoCloseOnEmpty: true,
3885
3887
  children
3886
3888
  }
3887
3889
  );