downshift 9.3.1 → 9.3.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.
@@ -2432,8 +2432,9 @@ function downshiftSelectReducer(state, props, action) {
2432
2432
  }
2433
2433
  /* eslint-enable complexity */
2434
2434
 
2435
- // eslint-disable-next-line @typescript-eslint/dot-notation
2436
- var reactUseId$1 = React__namespace['useId'];
2435
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
2436
+ var SafeReact$1 = _extends({}, React__namespace);
2437
+ var reactUseId$1 = SafeReact$1.useId;
2437
2438
  var useElementIds$1 = typeof reactUseId$1 === 'function' ? useElementIdsR18$1 : useElementIdsLegacy$1;
2438
2439
  function useElementIdsR18$1(_ref) {
2439
2440
  var id = _ref.id,
@@ -4053,8 +4054,9 @@ function useTagGroupReducer(state, _props, action) {
4053
4054
  return _extends({}, state, changes);
4054
4055
  }
4055
4056
 
4056
- // eslint-disable-next-line @typescript-eslint/dot-notation
4057
- var reactUseId = React__namespace['useId'];
4057
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
4058
+ var SafeReact = _extends({}, React__namespace);
4059
+ var reactUseId = SafeReact.useId;
4058
4060
 
4059
4061
  // istanbul ignore next
4060
4062
  var useElementIds = typeof reactUseId === 'function' ? useElementIdsR18 : useElementIdsLegacy;
@@ -2410,8 +2410,9 @@ function downshiftSelectReducer(state, props, action) {
2410
2410
  }
2411
2411
  /* eslint-enable complexity */
2412
2412
 
2413
- // eslint-disable-next-line @typescript-eslint/dot-notation
2414
- var reactUseId$1 = React['useId'];
2413
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
2414
+ var SafeReact$1 = _extends({}, React);
2415
+ var reactUseId$1 = SafeReact$1.useId;
2415
2416
  var useElementIds$1 = typeof reactUseId$1 === 'function' ? useElementIdsR18$1 : useElementIdsLegacy$1;
2416
2417
  function useElementIdsR18$1(_ref) {
2417
2418
  var id = _ref.id,
@@ -4031,8 +4032,9 @@ function useTagGroupReducer(state, _props, action) {
4031
4032
  return _extends({}, state, changes);
4032
4033
  }
4033
4034
 
4034
- // eslint-disable-next-line @typescript-eslint/dot-notation
4035
- var reactUseId = React['useId'];
4035
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
4036
+ var SafeReact = _extends({}, React);
4037
+ var reactUseId = SafeReact.useId;
4036
4038
 
4037
4039
  // istanbul ignore next
4038
4040
  var useElementIds = typeof reactUseId === 'function' ? useElementIdsR18 : useElementIdsLegacy;
@@ -2282,8 +2282,9 @@ function downshiftSelectReducer(state, props, action) {
2282
2282
  }
2283
2283
  /* eslint-enable complexity */
2284
2284
 
2285
- // eslint-disable-next-line @typescript-eslint/dot-notation
2286
- var reactUseId$1 = React__namespace['useId'];
2285
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
2286
+ var SafeReact$1 = _extends({}, React__namespace);
2287
+ var reactUseId$1 = SafeReact$1.useId;
2287
2288
  var useElementIds$1 = typeof reactUseId$1 === 'function' ? useElementIdsR18$1 : useElementIdsLegacy$1;
2288
2289
  function useElementIdsR18$1(_ref) {
2289
2290
  var id = _ref.id,
@@ -3903,8 +3904,9 @@ function useTagGroupReducer(state, _props, action) {
3903
3904
  return _extends({}, state, changes);
3904
3905
  }
3905
3906
 
3906
- // eslint-disable-next-line @typescript-eslint/dot-notation
3907
- var reactUseId = React__namespace['useId'];
3907
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
3908
+ var SafeReact = _extends({}, React__namespace);
3909
+ var reactUseId = SafeReact.useId;
3908
3910
 
3909
3911
  // istanbul ignore next
3910
3912
  var useElementIds = typeof reactUseId === 'function' ? useElementIdsR18 : useElementIdsLegacy;
@@ -2427,8 +2427,9 @@ function downshiftSelectReducer(state, props, action) {
2427
2427
  }
2428
2428
  /* eslint-enable complexity */
2429
2429
 
2430
- // eslint-disable-next-line @typescript-eslint/dot-notation
2431
- var reactUseId$1 = React__namespace['useId'];
2430
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
2431
+ var SafeReact$1 = _extends({}, React__namespace);
2432
+ var reactUseId$1 = SafeReact$1.useId;
2432
2433
  var useElementIds$1 = typeof reactUseId$1 === 'function' ? useElementIdsR18$1 : useElementIdsLegacy$1;
2433
2434
  function useElementIdsR18$1(_ref) {
2434
2435
  var id = _ref.id,
@@ -4036,8 +4037,9 @@ function useTagGroupReducer(state, _props, action) {
4036
4037
  return _extends({}, state, changes);
4037
4038
  }
4038
4039
 
4039
- // eslint-disable-next-line @typescript-eslint/dot-notation
4040
- var reactUseId = React__namespace['useId'];
4040
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
4041
+ var SafeReact = _extends({}, React__namespace);
4042
+ var reactUseId = SafeReact.useId;
4041
4043
 
4042
4044
  // istanbul ignore next
4043
4045
  var useElementIds = typeof reactUseId === 'function' ? useElementIdsR18 : useElementIdsLegacy;
@@ -3785,8 +3785,9 @@
3785
3785
  }
3786
3786
  /* eslint-enable complexity */
3787
3787
 
3788
- // eslint-disable-next-line @typescript-eslint/dot-notation
3789
- var reactUseId$1 = React__namespace['useId'];
3788
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
3789
+ var SafeReact$1 = _extends({}, React__namespace);
3790
+ var reactUseId$1 = SafeReact$1.useId;
3790
3791
  var useElementIds$1 = typeof reactUseId$1 === 'function' ? useElementIdsR18$1 : useElementIdsLegacy$1;
3791
3792
  function useElementIdsR18$1(_ref) {
3792
3793
  var id = _ref.id,
@@ -5406,8 +5407,9 @@
5406
5407
  return _extends({}, state, changes);
5407
5408
  }
5408
5409
 
5409
- // eslint-disable-next-line @typescript-eslint/dot-notation
5410
- var reactUseId = React__namespace['useId'];
5410
+ // https://github.com/downshift-js/downshift/issues/1674#issuecomment-3924320872
5411
+ var SafeReact = _extends({}, React__namespace);
5412
+ var reactUseId = SafeReact.useId;
5411
5413
 
5412
5414
  // istanbul ignore next
5413
5415
  var useElementIds = typeof reactUseId === 'function' ? useElementIdsR18 : useElementIdsLegacy;