@splunk/react-ui 5.0.0-beta.4 → 5.0.0-beta.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.
Files changed (74) hide show
  1. package/Button.js +3 -1
  2. package/CHANGELOG.md +4 -1
  3. package/CHANGELOG.v5.mdx +35 -0
  4. package/Card.js +163 -162
  5. package/Chip.js +171 -225
  6. package/Clickable.js +79 -76
  7. package/ComboBox.js +1 -1
  8. package/Date.js +160 -184
  9. package/DualListbox.js +439 -504
  10. package/File.js +449 -324
  11. package/FormRows.js +143 -142
  12. package/JSONTree.js +496 -521
  13. package/Layer.js +162 -97
  14. package/Link.js +20 -13
  15. package/MIGRATION.v5.mdx +47 -0
  16. package/Markdown.js +1 -1
  17. package/Message.js +119 -141
  18. package/MessageBar.js +109 -168
  19. package/Multiselect.js +595 -602
  20. package/Popover.js +194 -190
  21. package/Progress.js +68 -54
  22. package/RadioBar.js +4 -1
  23. package/RadioList.js +67 -65
  24. package/Resize.js +377 -265
  25. package/ResultsMenu.js +573 -661
  26. package/ScrollContainerContext.js +13 -9
  27. package/Search.js +1 -1
  28. package/Select.js +206 -199
  29. package/Slider.js +455 -329
  30. package/StepBar.js +2 -2
  31. package/Switch.js +88 -87
  32. package/TabBar.js +322 -317
  33. package/TabLayout.js +34 -34
  34. package/Table.js +548 -525
  35. package/Text.js +20 -19
  36. package/TextArea.js +278 -152
  37. package/Tooltip.js +173 -177
  38. package/Tree.js +2 -2
  39. package/Typography.js +30 -28
  40. package/WaitSpinner.js +6 -11
  41. package/cypress/support/commands.ts +14 -4
  42. package/cypress/support/index.d.ts +1 -1
  43. package/package.json +5 -5
  44. package/stubs-splunkui.d.ts +0 -4
  45. package/types/src/Card/Card.d.ts +3 -1
  46. package/types/src/Card/Header.d.ts +2 -0
  47. package/types/src/Card/docs/examples/HeadingTitle.d.ts +3 -0
  48. package/types/src/Clickable/Clickable.d.ts +11 -3
  49. package/types/src/Link/Link.d.ts +4 -0
  50. package/types/src/Message/Message.d.ts +1 -1
  51. package/types/src/MessageBar/MessageBar.d.ts +1 -1
  52. package/types/src/Multiselect/Multiselect.d.ts +1 -8
  53. package/types/src/Multiselect/Normal.d.ts +1 -7
  54. package/types/src/Multiselect/docs/examples/Children.d.ts +2 -9
  55. package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -9
  56. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -9
  57. package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -9
  58. package/types/src/Multiselect/docs/examples/Error.d.ts +2 -9
  59. package/types/src/Multiselect/docs/examples/Fetching.d.ts +2 -22
  60. package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
  61. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -25
  62. package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -9
  63. package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -9
  64. package/types/src/ResultsMenu/ResultsMenu.d.ts +23 -34
  65. package/types/src/Select/SelectBase.d.ts +2 -2
  66. package/types/src/TabBar/TabBar.d.ts +8 -5
  67. package/types/src/TabBar/TabBarContext.d.ts +1 -1
  68. package/types/src/TabLayout/TabLayout.d.ts +8 -5
  69. package/types/src/Typography/Typography.d.ts +27 -22
  70. package/types/src/Date/Icon.d.ts +0 -3
  71. package/types/src/TabBar/docs/examples/IconsAbove.d.ts +0 -3
  72. package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +0 -3
  73. /package/types/src/TabBar/docs/examples/{IconsLeft.d.ts → Icons.d.ts} +0 -0
  74. /package/types/src/TabBar/docs/examples/{VerticalIconsLeft.d.ts → VerticalIcons.d.ts} +0 -0
package/Popover.js CHANGED
@@ -62,9 +62,9 @@
62
62
  // EXPORTS
63
63
  e.d(t, {
64
64
  PopoverContext: () => /* reexport */ ue,
65
- PopoverMenuContext: () => /* reexport */ Ze,
65
+ PopoverMenuContext: () => /* reexport */ nt,
66
66
  PopoverProvider: () => /* reexport */ se,
67
- default: () => /* reexport */ Qe
67
+ default: () => /* reexport */ rt
68
68
  });
69
69
  // CONCATENATED MODULE: external "react"
70
70
  const r = require("react");
@@ -82,8 +82,8 @@
82
82
  const f = require("lodash/every");
83
83
  var s = e.n(f);
84
84
  // CONCATENATED MODULE: external "lodash/has"
85
- const p = require("lodash/has");
86
- var v = e.n(p);
85
+ const v = require("lodash/has");
86
+ var p = e.n(v);
87
87
  // CONCATENATED MODULE: external "lodash/intersection"
88
88
  const d = require("lodash/intersection");
89
89
  var h = e.n(d);
@@ -209,8 +209,8 @@
209
209
  function _(e) {
210
210
  var t = e.align, r = e.anchorPos, n = e.scrollContainerPos, o = e.canCoverAnchor, a = e.defaultPlacement, i = e.outerContainerEl, l = e.padding, c = e.repositionMode, u = e.windowHeight, f = e.windowWidth;
211
211
  var s = c === "flip";
212
- var p = c === "any";
213
- var v = s || p;
212
+ var v = c === "any";
213
+ var p = s || v;
214
214
  var d = e.placement || a;
215
215
  // Translate vertical/horizontal to above/below/left/right
216
216
  if (a === "vertical") {
@@ -243,18 +243,18 @@
243
243
  var R = (t === "edge" ? r.top + i.offsetHeight - l : r.bottom + i.offsetHeight / 2) > u;
244
244
  // Handle each of the four placement options individually.
245
245
  if (O === "above") {
246
- if (!P && v) {
246
+ if (!P && p) {
247
247
  if (j) {
248
248
  return _(I(I({}, e), {}, {
249
249
  placement: "below"
250
250
  }));
251
251
  }
252
- if (p && E) {
252
+ if (v && E) {
253
253
  return _(I(I({}, e), {}, {
254
254
  placement: "right"
255
255
  }));
256
256
  }
257
- if (p && C) {
257
+ if (v && C) {
258
258
  return _(I(I({}, e), {}, {
259
259
  placement: "left"
260
260
  }));
@@ -281,18 +281,18 @@
281
281
  }
282
282
  }
283
283
  if (O === "below") {
284
- if (!j && v) {
284
+ if (!j && p) {
285
285
  if (P && x) {
286
286
  return _(I(I({}, e), {}, {
287
287
  placement: "above"
288
288
  }));
289
289
  }
290
- if (p && E) {
290
+ if (v && E) {
291
291
  return _(I(I({}, e), {}, {
292
292
  placement: "right"
293
293
  }));
294
294
  }
295
- if (p && C) {
295
+ if (v && C) {
296
296
  return _(I(I({}, e), {}, {
297
297
  placement: "left"
298
298
  }));
@@ -315,18 +315,18 @@
315
315
  }
316
316
  }
317
317
  if (O === "left") {
318
- if (!C && v) {
318
+ if (!C && p) {
319
319
  if (E) {
320
320
  return _(I(I({}, e), {}, {
321
321
  placement: "right"
322
322
  }));
323
323
  }
324
- if (p && j) {
324
+ if (v && j) {
325
325
  return _(I(I({}, e), {}, {
326
326
  placement: "below"
327
327
  }));
328
328
  }
329
- if (p && P) {
329
+ if (v && P) {
330
330
  return _(I(I({}, e), {}, {
331
331
  placement: "above"
332
332
  }));
@@ -346,18 +346,18 @@
346
346
  }
347
347
  }
348
348
  if (O === "right") {
349
- if (!E && v) {
349
+ if (!E && p) {
350
350
  if (C) {
351
351
  return _(I(I({}, e), {}, {
352
352
  placement: "left"
353
353
  }));
354
354
  }
355
- if (p && j) {
355
+ if (v && j) {
356
356
  return _(I(I({}, e), {}, {
357
357
  placement: "below"
358
358
  }));
359
359
  }
360
- if (p && P) {
360
+ if (v && P) {
361
361
  return _(I(I({}, e), {}, {
362
362
  placement: "above"
363
363
  }));
@@ -508,10 +508,10 @@
508
508
  var u = "0 ".concat(l);
509
509
  var f = "".concat(a.width, " ").concat(l);
510
510
  var s = "".concat(i, " ").concat(l);
511
- var p = "".concat(i, " ").concat(c);
512
- var v = "".concat(i + r.width, " ").concat(l);
511
+ var v = "".concat(i, " ").concat(c);
512
+ var p = "".concat(i + r.width, " ").concat(l);
513
513
  var d = "".concat(i + r.width, " ").concat(c);
514
- var h = "\n M ".concat(u, "\n S ").concat(s, " , ").concat(p, "\n L ").concat(s, "\n L ").concat(v, "\n L ").concat(d, "\n S ").concat(v, " , ").concat(f, "\n ");
514
+ var h = "\n M ".concat(u, "\n S ").concat(s, " , ").concat(v, "\n L ").concat(s, "\n L ").concat(p, "\n L ").concat(d, "\n S ").concat(p, " , ").concat(f, "\n ");
515
515
  return {
516
516
  hitAreaPath: h,
517
517
  hitAreaStyle: {
@@ -556,7 +556,7 @@
556
556
  var le = n().forwardRef((function(e, t) {
557
557
  var o = e.anchorRect, a = e.popoverEl, i = e.popoverPlacement;
558
558
  var l = (0, r.useState)(null), c = Z(l, 2), u = c[0], f = c[1];
559
- var s = (0, r.useState)({}), p = Z(s, 2), v = p[0], d = p[1];
559
+ var s = (0, r.useState)({}), v = Z(s, 2), p = v[0], d = v[1];
560
560
  (0, r.useEffect)((function() {
561
561
  var e = ie({
562
562
  anchorRect: o,
@@ -570,7 +570,7 @@
570
570
 
571
571
  return n().createElement(Q, {
572
572
  "data-test": "popover-hit-area",
573
- style: v
573
+ style: p
574
574
  }, n().createElement("path", {
575
575
  d: u,
576
576
  ref: t
@@ -603,7 +603,7 @@
603
603
  se.propTypes = fe;
604
604
  // CONCATENATED MODULE: ./src/utils/ssrDocument.ts
605
605
  /* eslint-disable @typescript-eslint/no-empty-function */
606
- var pe = {
606
+ var ve = {
607
607
  body: {
608
608
  appendChild: function e() {
609
609
  return [];
@@ -657,14 +657,16 @@
657
657
  search: ""
658
658
  }
659
659
  };
660
- function ve() {
661
- var e = typeof document !== "undefined" ? document : pe;
660
+ function pe() {
661
+ var e = typeof document !== "undefined" ? document : ve;
662
662
  return e;
663
663
  }
664
+ var de = pe();
665
+ /* harmony default export */ const he = /* unused pure expression or super */ null && de;
664
666
  // CONCATENATED MODULE: ./src/utils/ssrWindow.ts
665
667
  /* eslint-disable @typescript-eslint/no-empty-function */
666
- var de = {
667
- document: pe,
668
+ var me = {
669
+ document: ve,
668
670
  navigator: {
669
671
  userAgent: ""
670
672
  },
@@ -718,20 +720,22 @@
718
720
  clearTimeout(t);
719
721
  }
720
722
  };
721
- function he() {
722
- var e = typeof window !== "undefined" ? window : de;
723
+ function be() {
724
+ var e = typeof window !== "undefined" ? window : me;
723
725
  return e;
724
726
  }
727
+ var ye = be();
728
+ /* harmony default export */ const ge = /* unused pure expression or super */ null && ye;
725
729
  // CONCATENATED MODULE: ./src/utils/getBoundingClientRect.ts
726
- function me(e) {
730
+ function we(e) {
727
731
  "@babel/helpers - typeof";
728
- return me = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
732
+ return we = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
729
733
  return typeof e;
730
734
  } : function(e) {
731
735
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
732
- }, me(e);
736
+ }, we(e);
733
737
  }
734
- function be(e, t) {
738
+ function Se(e, t) {
735
739
  var r = Object.keys(e);
736
740
  if (Object.getOwnPropertySymbols) {
737
741
  var n = Object.getOwnPropertySymbols(e);
@@ -741,46 +745,46 @@
741
745
  }
742
746
  return r;
743
747
  }
744
- function ye(e) {
748
+ function Oe(e) {
745
749
  for (var t = 1; t < arguments.length; t++) {
746
750
  var r = null != arguments[t] ? arguments[t] : {};
747
- t % 2 ? be(Object(r), !0).forEach((function(t) {
748
- ge(e, t, r[t]);
749
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : be(Object(r)).forEach((function(t) {
751
+ t % 2 ? Se(Object(r), !0).forEach((function(t) {
752
+ Pe(e, t, r[t]);
753
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Se(Object(r)).forEach((function(t) {
750
754
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
751
755
  }));
752
756
  }
753
757
  return e;
754
758
  }
755
- function ge(e, t, r) {
756
- return (t = we(t)) in e ? Object.defineProperty(e, t, {
759
+ function Pe(e, t, r) {
760
+ return (t = je(t)) in e ? Object.defineProperty(e, t, {
757
761
  value: r,
758
762
  enumerable: !0,
759
763
  configurable: !0,
760
764
  writable: !0
761
765
  }) : e[t] = r, e;
762
766
  }
763
- function we(e) {
764
- var t = Se(e, "string");
765
- return "symbol" == me(t) ? t : t + "";
767
+ function je(e) {
768
+ var t = Ce(e, "string");
769
+ return "symbol" == we(t) ? t : t + "";
766
770
  }
767
- function Se(e, t) {
768
- if ("object" != me(e) || !e) return e;
771
+ function Ce(e, t) {
772
+ if ("object" != we(e) || !e) return e;
769
773
  var r = e[Symbol.toPrimitive];
770
774
  if (void 0 !== r) {
771
775
  var n = r.call(e, t || "default");
772
- if ("object" != me(n)) return n;
776
+ if ("object" != we(n)) return n;
773
777
  throw new TypeError("@@toPrimitive must return a primitive value.");
774
778
  }
775
779
  return ("string" === t ? String : Number)(e);
776
780
  }
777
781
  // Checks if browser is Safari
778
- function Oe() {
782
+ function Ee() {
779
783
  return /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
780
784
  }
781
785
  // Formats return value to DOMRect
782
- function Pe(e) {
783
- return ye(ye({}, e), {}, {
786
+ function xe(e) {
787
+ return Oe(Oe({}, e), {}, {
784
788
  top: e.y,
785
789
  left: e.x,
786
790
  right: e.x + e.width,
@@ -794,18 +798,18 @@
794
798
  * @param {boolean} offsets - Use when position of element relative to the layout viewport offsets are needed for Safari.
795
799
  * @returns {Omit<DOMRect, 'toJSON'>}
796
800
  * @public
797
- */ function je(e, t) {
801
+ */ function Ae(e, t) {
798
802
  var r, n;
799
803
  var o = e.getBoundingClientRect();
800
- var a = Oe();
804
+ var a = Ee();
801
805
  if (!t || !a) {
802
806
  return o;
803
807
  }
804
- var i = he();
808
+ var i = be();
805
809
  var l = o.left + (((r = i.visualViewport) === null || r === void 0 ? void 0 : r.offsetLeft) || 0);
806
810
  var c = o.top + (((n = i.visualViewport) === null || n === void 0 ? void 0 : n.offsetTop) || 0);
807
811
  var u = o.width, f = o.height;
808
- return Pe({
812
+ return xe({
809
813
  width: u,
810
814
  height: f,
811
815
  x: l,
@@ -819,7 +823,7 @@
819
823
  * @param ref - The React callback or object ref. Can be `null` or `undefined`.
820
824
  * @param current - The new value of the ref.
821
825
  */
822
- function Ce(e, t) {
826
+ function ke(e, t) {
823
827
  if (e) {
824
828
  if (typeof e === "function") {
825
829
  e(t);
@@ -832,16 +836,16 @@
832
836
  }
833
837
  }
834
838
  // CONCATENATED MODULE: ./src/Popover/Popover.tsx
835
- function Ee(e) {
839
+ function Te(e) {
836
840
  "@babel/helpers - typeof";
837
- return Ee = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
841
+ return Te = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
838
842
  return typeof e;
839
843
  } : function(e) {
840
844
  return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
841
- }, Ee(e);
845
+ }, Te(e);
842
846
  }
843
- function xe() {
844
- return xe = Object.assign ? Object.assign.bind() : function(e) {
847
+ function Re() {
848
+ return Re = Object.assign ? Object.assign.bind() : function(e) {
845
849
  for (var t = 1; t < arguments.length; t++) {
846
850
  var r = arguments[t];
847
851
  for (var n in r) {
@@ -849,9 +853,9 @@
849
853
  }
850
854
  }
851
855
  return e;
852
- }, xe.apply(null, arguments);
856
+ }, Re.apply(null, arguments);
853
857
  }
854
- function Ae(e, t) {
858
+ function Me(e, t) {
855
859
  var r = Object.keys(e);
856
860
  if (Object.getOwnPropertySymbols) {
857
861
  var n = Object.getOwnPropertySymbols(e);
@@ -861,60 +865,60 @@
861
865
  }
862
866
  return r;
863
867
  }
864
- function ke(e) {
868
+ function We(e) {
865
869
  for (var t = 1; t < arguments.length; t++) {
866
870
  var r = null != arguments[t] ? arguments[t] : {};
867
- t % 2 ? Ae(Object(r), !0).forEach((function(t) {
868
- Te(e, t, r[t]);
869
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ae(Object(r)).forEach((function(t) {
871
+ t % 2 ? Me(Object(r), !0).forEach((function(t) {
872
+ qe(e, t, r[t]);
873
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Me(Object(r)).forEach((function(t) {
870
874
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
871
875
  }));
872
876
  }
873
877
  return e;
874
878
  }
875
- function Te(e, t, r) {
876
- return (t = Re(t)) in e ? Object.defineProperty(e, t, {
879
+ function qe(e, t, r) {
880
+ return (t = He(t)) in e ? Object.defineProperty(e, t, {
877
881
  value: r,
878
882
  enumerable: !0,
879
883
  configurable: !0,
880
884
  writable: !0
881
885
  }) : e[t] = r, e;
882
886
  }
883
- function Re(e) {
884
- var t = Me(e, "string");
885
- return "symbol" == Ee(t) ? t : t + "";
887
+ function He(e) {
888
+ var t = Ie(e, "string");
889
+ return "symbol" == Te(t) ? t : t + "";
886
890
  }
887
- function Me(e, t) {
888
- if ("object" != Ee(e) || !e) return e;
891
+ function Ie(e, t) {
892
+ if ("object" != Te(e) || !e) return e;
889
893
  var r = e[Symbol.toPrimitive];
890
894
  if (void 0 !== r) {
891
895
  var n = r.call(e, t || "default");
892
- if ("object" != Ee(n)) return n;
896
+ if ("object" != Te(n)) return n;
893
897
  throw new TypeError("@@toPrimitive must return a primitive value.");
894
898
  }
895
899
  return ("string" === t ? String : Number)(e);
896
900
  }
897
- function We(e, t) {
898
- return De(e) || Le(e, t) || He(e, t) || qe();
901
+ function Le(e, t) {
902
+ return Ne(e) || _e(e, t) || Fe(e, t) || De();
899
903
  }
900
- function qe() {
904
+ function De() {
901
905
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
902
906
  }
903
- function He(e, t) {
907
+ function Fe(e, t) {
904
908
  if (e) {
905
- if ("string" == typeof e) return Ie(e, t);
909
+ if ("string" == typeof e) return $e(e, t);
906
910
  var r = {}.toString.call(e).slice(8, -1);
907
- return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Ie(e, t) : void 0;
911
+ return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? $e(e, t) : void 0;
908
912
  }
909
913
  }
910
- function Ie(e, t) {
914
+ function $e(e, t) {
911
915
  (null == t || t > e.length) && (t = e.length);
912
916
  for (var r = 0, n = Array(t); r < t; r++) {
913
917
  n[r] = e[r];
914
918
  }
915
919
  return n;
916
920
  }
917
- function Le(e, t) {
921
+ function _e(e, t) {
918
922
  var r = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
919
923
  if (null != r) {
920
924
  var n, o, a, i, l = [], c = !0, u = !1;
@@ -936,12 +940,12 @@
936
940
  return l;
937
941
  }
938
942
  }
939
- function De(e) {
943
+ function Ne(e) {
940
944
  if (Array.isArray(e)) return e;
941
945
  }
942
- function Fe(e, t) {
946
+ function Ve(e, t) {
943
947
  if (null == e) return {};
944
- var r, n, o = $e(e, t);
948
+ var r, n, o = ze(e, t);
945
949
  if (Object.getOwnPropertySymbols) {
946
950
  var a = Object.getOwnPropertySymbols(e);
947
951
  for (n = 0; n < a.length; n++) {
@@ -950,7 +954,7 @@
950
954
  }
951
955
  return o;
952
956
  }
953
- function $e(e, t) {
957
+ function ze(e, t) {
954
958
  if (null == e) return {};
955
959
  var r = {};
956
960
  for (var n in e) {
@@ -965,8 +969,8 @@
965
969
  /** @public */
966
970
  /** @public */
967
971
  /** @public */
968
- /** @public */ var _e = [ "clickAway", "escapeKey", "offScreen", "tabKey" ];
969
- var Ne = {
972
+ /** @public */ var Ke = [ "clickAway", "escapeKey", "offScreen", "tabKey" ];
973
+ var Xe = {
970
974
  align: a().oneOf([ "center", "edge", "end" ]),
971
975
  anchor: a().object,
972
976
  animation: a().bool,
@@ -975,7 +979,7 @@
975
979
  autoCloseWhenOffScreen: a().bool,
976
980
  canCoverAnchor: a().bool,
977
981
  children: a().oneOfType([ a().node, a().func ]),
978
- closeReasons: a().arrayOf(a().oneOf(_e)),
982
+ closeReasons: a().arrayOf(a().oneOf(Ke)),
979
983
  defaultPlacement: a().oneOf([ "above", "below", "left", "right", "vertical", "horizontal" ]),
980
984
  elementRef: a().oneOfType([ a().func, a().object ]),
981
985
  id: a().string,
@@ -993,11 +997,11 @@
993
997
  takeFocus: a().bool,
994
998
  splunkTheme: a().object
995
999
  };
996
- var Ve = {
1000
+ var Be = {
997
1001
  passive: false,
998
1002
  capture: true
999
1003
  };
1000
- function ze(e, t) {
1004
+ function Ye(e, t) {
1001
1005
  var r = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
1002
1006
  return !!e && !!t && s()(e, (function(e, n) {
1003
1007
  if (b()(e)) {
@@ -1006,7 +1010,7 @@
1006
1010
  return t[n] === e;
1007
1011
  }));
1008
1012
  }
1009
- function Ke(e) {
1013
+ function Ue(e) {
1010
1014
  var t = e.anchorPos, r = e.borderRadius, n = e.placement, o = e.outerContainerStyle, a = e.outerContainerEl;
1011
1015
  if (n === "misaligned") {
1012
1016
  return [ {
@@ -1022,22 +1026,22 @@
1022
1026
  // top edge
1023
1027
  var f = -(a.offsetHeight / 2 - (X + r + X / 2));
1024
1028
  var s = t.center - (o.top + a.offsetHeight / 2) - X / 2;
1025
- var p = l()(s, f, u);
1029
+ var v = l()(s, f, u);
1026
1030
  // right edge
1027
- var v = a.offsetWidth / 2 - (c + X + r);
1031
+ var p = a.offsetWidth / 2 - (c + X + r);
1028
1032
  // left edge
1029
1033
  var d = -(a.offsetWidth / 2 - (X + r));
1030
1034
  var h = t.middle - (o.left + a.offsetWidth / 2) - X;
1031
- var m = l()(h, d, v);
1035
+ var m = l()(h, d, p);
1032
1036
  var b = {
1033
1037
  left: {
1034
1038
  translateX: X / 2,
1035
- translateY: p,
1039
+ translateY: v,
1036
1040
  rotate: 90
1037
1041
  },
1038
1042
  right: {
1039
1043
  translateX: -X / 2,
1040
- translateY: p,
1044
+ translateY: v,
1041
1045
  rotate: -90
1042
1046
  },
1043
1047
  above: {
@@ -1070,17 +1074,17 @@
1070
1074
  i[w[n]] = "50%";
1071
1075
  return [ i, y ];
1072
1076
  }
1073
- function Xe(e) {
1077
+ function Ge(e) {
1074
1078
  var t = e.anchorEl, r = e.offsets, n = r === void 0 ? false : r, o = e.pointTo;
1075
- var a = je(t, n);
1079
+ var a = Ae(t, n);
1076
1080
  var i = {
1077
1081
  // these are rounded to avoid causing visual regressions
1078
1082
  // they were previously clientWidth and clientHeight which were already rounded
1079
1083
  width: Math.round(a.width),
1080
1084
  height: Math.round(a.height)
1081
1085
  };
1082
- var l = o && v()(o, "x");
1083
- var c = o && v()(o, "y");
1086
+ var l = o && p()(o, "x");
1087
+ var c = o && p()(o, "y");
1084
1088
  i.left = l ? a.left + ((o === null || o === void 0 ? void 0 : o.x) || 0) : a.left;
1085
1089
  i.top = c ? a.top + ((o === null || o === void 0 ? void 0 : o.y) || 0) : a.top;
1086
1090
  i.right = l ? i.left + i.width : a.left + i.width || a.right;
@@ -1093,11 +1097,11 @@
1093
1097
  i.center = c ? i.top : a.top + (i.bottom - a.top) / 2;
1094
1098
  return i;
1095
1099
  }
1096
- function Be(e) {
1100
+ function Je(e) {
1097
1101
  return e !== window && e !== window.document;
1098
1102
  }
1099
- function Ye(e, t) {
1100
- var r = he();
1103
+ function Qe(e, t) {
1104
+ var r = be();
1101
1105
  if (e.top < 0 || e.top > r.innerHeight || e.left < 0 || e.left > r.innerWidth) {
1102
1106
  return true;
1103
1107
  }
@@ -1108,23 +1112,23 @@
1108
1112
  }
1109
1113
  return false;
1110
1114
  }
1111
- function Ue(e, t) {
1115
+ function Ze(e, t) {
1112
1116
  // this accomodates the arrow height
1113
1117
  // and provides some spacing between the end of the Popover and the edge of the window
1114
1118
  var r = X * 2;
1115
1119
  return t !== "none" && e != null && b()(e) ? e - r : e || null;
1116
1120
  }
1117
- var Ge = {};
1121
+ var et = {};
1118
1122
  /**
1119
1123
  * `Popover` is used to create layovers such as dropdowns, contextual menus, or tooltips. Use
1120
1124
  * this only when the other components don't provide sufficient functionality or control. A controlled
1121
1125
  * `Dropdown` covers use cases where you might consider using `Popover` directly.
1122
- */ function Je(e) {
1126
+ */ function tt(e) {
1123
1127
  var t, o;
1124
- var a = e.align, i = a === void 0 ? "center" : a, l = e.anchor, c = e.animation, f = c === void 0 ? true : c, s = e.animationConfig, p = s === void 0 ? Ge : s, v = e.appearance, d = v === void 0 ? "normal" : v, m = e.autoCloseWhenOffScreen, b = m === void 0 ? true : m, y = e.canCoverAnchor, w = e.children, O = e.closeReasons, C = O === void 0 ? _e : O, x = e.defaultPlacement, k = x === void 0 ? "below" : x, R = e.elementRef, q = e.hideArrow, H = e.hitAreaRef, I = e.id, L = e.onRequestClose, D = e.open, F = e.outerRef, $ = e.pointTo, N = e.repositionMode, V = N === void 0 ? "flip" : N, z = e.retainFocus, K = z === void 0 ? true : z, Y = e.takeFocus, Q = Fe(e, [ "align", "anchor", "animation", "animationConfig", "appearance", "autoCloseWhenOffScreen", "canCoverAnchor", "children", "closeReasons", "defaultPlacement", "elementRef", "hideArrow", "hitAreaRef", "id", "onRequestClose", "open", "outerRef", "pointTo", "repositionMode", "retainFocus", "takeFocus" ]);
1128
+ var a = e.align, i = a === void 0 ? "center" : a, l = e.anchor, c = e.animation, f = c === void 0 ? true : c, s = e.animationConfig, v = s === void 0 ? et : s, p = e.appearance, d = p === void 0 ? "normal" : p, m = e.autoCloseWhenOffScreen, b = m === void 0 ? true : m, y = e.canCoverAnchor, w = e.children, O = e.closeReasons, C = O === void 0 ? Ke : O, x = e.defaultPlacement, k = x === void 0 ? "below" : x, R = e.elementRef, q = e.hideArrow, H = e.hitAreaRef, I = e.id, L = e.onRequestClose, D = e.open, F = e.outerRef, $ = e.pointTo, N = e.repositionMode, V = N === void 0 ? "flip" : N, z = e.retainFocus, K = z === void 0 ? true : z, Y = e.takeFocus, Q = Ve(e, [ "align", "anchor", "animation", "animationConfig", "appearance", "autoCloseWhenOffScreen", "canCoverAnchor", "children", "closeReasons", "defaultPlacement", "elementRef", "hideArrow", "hitAreaRef", "id", "onRequestClose", "open", "outerRef", "pointTo", "repositionMode", "retainFocus", "takeFocus" ]);
1125
1129
  // @docs-props-type PopoverPropsBase
1126
- var Z = (0, r.useState)(D), ee = We(Z, 2), te = ee[0], re = ee[1];
1127
- var ne = (0, r.useState)(false), oe = We(ne, 2), ae = oe[0], ie = oe[1];
1130
+ var Z = (0, r.useState)(D), ee = Le(Z, 2), te = ee[0], re = ee[1];
1131
+ var ne = (0, r.useState)(false), oe = Le(ne, 2), ae = oe[0], ie = oe[1];
1128
1132
  if (D !== ae) {
1129
1133
  // formerly implemented by componentWillReceiveProps
1130
1134
  // we can't use prevOpen here since that's a ref behind the scenes
@@ -1136,18 +1140,18 @@
1136
1140
  }
1137
1141
  // this is a single state object because all these properties
1138
1142
  // are updated at the same time by setPlacement
1139
- var le = (0, r.useState)({}), fe = We(le, 2), se = fe[0], pe = fe[1];
1140
- var ve = (0, r.useRef)(true);
1143
+ var le = (0, r.useState)({}), fe = Le(le, 2), se = fe[0], ve = fe[1];
1144
+ var pe = (0, r.useRef)(true);
1141
1145
  var de = (0, r.useRef)(false);
1146
+ var he = (0, r.useRef)(null);
1142
1147
  var me = (0, r.useRef)(null);
1143
- var be = (0, r.useRef)(null);
1144
1148
  var ye = (0, r.useRef)(null);
1145
1149
  var ge = {
1146
1150
  anchorHeight: ((t = se.anchorPos) === null || t === void 0 ? void 0 : t.height) || null,
1147
1151
  anchorWidth: ((o = se.anchorPos) === null || o === void 0 ? void 0 : o.width) || null,
1148
1152
  placement: se.placement || null,
1149
- maxHeight: Ue(se.maxHeight, d),
1150
- maxWidth: Ue(se.maxWidth, d)
1153
+ maxHeight: Ze(se.maxHeight, d),
1154
+ maxWidth: Ze(se.maxWidth, d)
1151
1155
  };
1152
1156
  var we = (0, r.useMemo)((function() {
1153
1157
  return f ? {
@@ -1156,37 +1160,37 @@
1156
1160
  opacity: 1
1157
1161
  };
1158
1162
  }), [ f, D ]);
1159
- var Se = he();
1163
+ var Se = be();
1160
1164
  var Oe = D || te;
1161
1165
  var Pe = (0, r.useContext)(T()) || Se;
1162
1166
  var je = Pe !== Se;
1163
- var Ee = (0, r.useContext)(ue), Ae = Ee.hideArrow;
1164
- var Te = q !== null && q !== void 0 ? q : Ae;
1167
+ var Ce = (0, r.useContext)(ue), Ee = Ce.hideArrow;
1168
+ var xe = q !== null && q !== void 0 ? q : Ee;
1165
1169
  (0, r.useEffect)((function() {
1166
1170
  if (false) {}
1167
1171
  }), [ l ]);
1168
- var Re = (0, r.useCallback)((function(e) {
1172
+ var Ae = (0, r.useCallback)((function(e) {
1169
1173
  if (D && (C === null || C === void 0 ? void 0 : C.includes(e.reason))) {
1170
1174
  L === null || L === void 0 ? void 0 : L(e);
1171
1175
  }
1172
1176
  }), [ C, D, L ]);
1173
- var Me = (0, r.useCallback)((function(e, t) {
1174
- var r = Ye(e, t);
1177
+ var Te = (0, r.useCallback)((function(e, t) {
1178
+ var r = Qe(e, t);
1175
1179
  if (r) {
1176
- Re({
1180
+ Ae({
1177
1181
  reason: "offScreen"
1178
1182
  });
1179
1183
  }
1180
1184
  return r;
1181
- }), [ Re ]);
1182
- var qe = M()(), He = qe.borderRadius, Ie = qe.spacingXSmall;
1183
- var Le = parseInt(He, 10);
1184
- var De = parseInt(Ie, 10);
1185
+ }), [ Ae ]);
1186
+ var Me = M()(), qe = Me.borderRadius, He = Me.spacingXSmall;
1187
+ var Ie = parseInt(qe, 10);
1188
+ var De = parseInt(He, 10);
1185
1189
  // this is intentionally smaller when the arrow is hidden to address SUI-5452
1186
- var $e = Te ? De : X;
1190
+ var Fe = xe ? De : X;
1187
1191
  // do not call this directly - use setPlacement (the throttled version) instead
1188
- var Ne = (0, r.useCallback)((function(e) {
1189
- pe((function(t) {
1192
+ var $e = (0, r.useCallback)((function(e) {
1193
+ ve((function(t) {
1190
1194
  var r, n;
1191
1195
  // If these conditions are not met, we cannot set the popover.
1192
1196
  if (!D || !ye.current || !l) {
@@ -1195,21 +1199,21 @@
1195
1199
  // }
1196
1200
  return t;
1197
1201
  }
1198
- var o = Xe({
1202
+ var o = Ge({
1199
1203
  anchorEl: l,
1200
1204
  pointTo: $
1201
1205
  });
1202
- var a = Xe({
1206
+ var a = Ge({
1203
1207
  anchorEl: l,
1204
1208
  offsets: true,
1205
1209
  pointTo: $
1206
1210
  });
1207
- var c = Be(Pe) ? Xe({
1211
+ var c = Je(Pe) ? Ge({
1208
1212
  anchorEl: Pe,
1209
1213
  pointTo: $
1210
1214
  }) : undefined;
1211
1215
  if (e && b) {
1212
- if (Me(o, c)) {
1216
+ if (Te(o, c)) {
1213
1217
  return t;
1214
1218
  }
1215
1219
  }
@@ -1221,27 +1225,27 @@
1221
1225
  defaultPlacement: k,
1222
1226
  repositionMode: V,
1223
1227
  outerContainerEl: ye.current,
1224
- padding: $e,
1228
+ padding: Fe,
1225
1229
  windowWidth: Se.innerWidth,
1226
1230
  windowHeight: Se.innerHeight
1227
- }), f = u.placement, s = u.outerContainerStyle, p = u.maxHeight, v = u.maxWidth;
1228
- var d = ze(a, t.anchorPos) && ze(s, t.outerContainerStyle) && f === t.placement && p === t.maxHeight && v === t.maxWidth;
1231
+ }), f = u.placement, s = u.outerContainerStyle, v = u.maxHeight, p = u.maxWidth;
1232
+ var d = Ye(a, t.anchorPos) && Ye(s, t.outerContainerStyle) && f === t.placement && v === t.maxHeight && p === t.maxWidth;
1229
1233
  var h = true;
1230
1234
  var m = {};
1231
1235
  var g;
1232
- if (me.current) {
1233
- var w = Ke({
1236
+ if (he.current) {
1237
+ var w = Ue({
1234
1238
  anchorPos: a,
1235
- borderRadius: Le,
1239
+ borderRadius: Ie,
1236
1240
  outerContainerStyle: s,
1237
1241
  placement: f,
1238
1242
  outerContainerEl: ye.current
1239
1243
  });
1240
- var O = We(w, 2);
1244
+ var O = Le(w, 2);
1241
1245
  m = O[0];
1242
1246
  g = O[1];
1243
1247
  }
1244
- h = ze(S()(m, "transform"), S()(t.arrowStyle, "transform")) && ze((r = g) !== null && r !== void 0 ? r : {}, (n = t.arrowStyleTransformMeta) !== null && n !== void 0 ? n : {});
1248
+ h = Ye(S()(m, "transform"), S()(t.arrowStyle, "transform")) && Ye((r = g) !== null && r !== void 0 ? r : {}, (n = t.arrowStyleTransformMeta) !== null && n !== void 0 ? n : {});
1245
1249
  // If none of the position data has changed, do not set state.
1246
1250
  if (d && h) {
1247
1251
  return t;
@@ -1252,97 +1256,97 @@
1252
1256
  arrowStyleTransformMeta: g,
1253
1257
  outerContainerStyle: s,
1254
1258
  placement: f,
1255
- maxHeight: p,
1256
- maxWidth: v
1259
+ maxHeight: v,
1260
+ maxWidth: p
1257
1261
  };
1258
1262
  }));
1259
- }), [ i, l, b, Le, $e, y, Me, k, D, $, V, Pe, Se.innerHeight, Se.innerWidth ]);
1263
+ }), [ i, l, b, Ie, Fe, y, Te, k, D, $, V, Pe, Se.innerHeight, Se.innerWidth ]);
1260
1264
  // these are useMemo rather than useCallback so that ESLint can correctly analyze the dependencies
1261
1265
  // see https://github.com/facebook/react/issues/19240#issuecomment-652945246
1262
- var Je = (0, r.useMemo)((function() {
1263
- return P()(Ne.bind(null, true), 0);
1264
- }), [ Ne ]);
1265
- var Qe = (0, r.useMemo)((function() {
1266
- return P()(Ne.bind(null, true), 0);
1267
- }), [ Ne ]);
1268
- var Ze = (0, r.useMemo)((function() {
1269
- return P()(Ne, 0, {
1266
+ var _e = (0, r.useMemo)((function() {
1267
+ return P()($e.bind(null, true), 0);
1268
+ }), [ $e ]);
1269
+ var Ne = (0, r.useMemo)((function() {
1270
+ return P()($e.bind(null, true), 0);
1271
+ }), [ $e ]);
1272
+ var ze = (0, r.useMemo)((function() {
1273
+ return P()($e, 0, {
1270
1274
  leading: false
1271
1275
  });
1272
- }), [ Ne ]);
1276
+ }), [ $e ]);
1273
1277
  // this needs to run on every render - equivalent to componentDidUpdate
1274
1278
  (0, r.useEffect)((function() {
1275
- if (!be.current) {
1279
+ if (!me.current) {
1276
1280
  return;
1277
1281
  }
1278
1282
  if (D || te) {
1279
- Ze();
1283
+ ze();
1280
1284
  }
1281
1285
  }));
1282
1286
  (0, r.useEffect)((function() {
1283
- if (Y && D && be.current && se.placement != null && !de.current) {
1287
+ if (Y && D && me.current && se.placement != null && !de.current) {
1284
1288
  de.current = true;
1285
- (0, W.takeFocus)(be.current);
1289
+ (0, W.takeFocus)(me.current);
1286
1290
  }
1287
1291
  }), [ D, se.placement, Y ]);
1288
1292
  // it is not part of the previous useEffect because it needs to be equivalent to componentWillUnmount
1289
1293
  (0, r.useEffect)((function() {
1290
1294
  return function() {
1291
- Ze.cancel();
1292
- Je.cancel();
1293
- Qe.cancel();
1294
- ve.current = false;
1295
+ ze.cancel();
1296
+ _e.cancel();
1297
+ Ne.cancel();
1298
+ pe.current = false;
1295
1299
  };
1296
1300
  // no dependencies here since this needs to set up a cleanup function exactly once
1297
1301
  // eslint-disable-next-line react-hooks/exhaustive-deps
1298
1302
  }), []);
1299
1303
  // EventListeners only need to be rendered when open,
1300
1304
  // otherwise leads to negative performance impacts
1301
- var et = Oe ? n().createElement(n().Fragment, null, je && n().createElement(E(), {
1305
+ var Xe = Oe ? n().createElement(n().Fragment, null, je && n().createElement(E(), {
1302
1306
  target: Pe,
1303
1307
  eventType: "scroll",
1304
- listener: Je,
1305
- options: Ve,
1308
+ listener: _e,
1309
+ options: Be,
1306
1310
  key: "eventListener"
1307
1311
  }), n().createElement(E(), {
1308
1312
  target: Se,
1309
1313
  eventType: "resize",
1310
- listener: Ze,
1314
+ listener: ze,
1311
1315
  key: "eventListenerOnWindowResize"
1312
1316
  }), n().createElement(E(), {
1313
1317
  target: Se,
1314
1318
  eventType: "scroll",
1315
- listener: Qe,
1316
- options: Ve,
1319
+ listener: Ne,
1320
+ options: Be,
1317
1321
  key: "eventListenerOnWindowScroll"
1318
1322
  })) : null;
1319
1323
  var tt = (0, r.useCallback)((function() {
1320
1324
  // checking allowAnimationUpdates avoids trying to update state after the component has been unmounted - see SUI-3666
1321
- if (ve.current) {
1325
+ if (pe.current) {
1322
1326
  re(false);
1323
1327
  }
1324
1328
  }), []);
1325
1329
  var rt = (0, r.useCallback)((function(e) {
1326
- be.current = e;
1330
+ me.current = e;
1327
1331
  if (e && Y) {
1328
1332
  u()(W.takeFocus, e);
1329
1333
  }
1330
- Ce(R, e);
1334
+ ke(R, e);
1331
1335
  }), [ R, Y ]);
1332
1336
  var nt = (0, r.useCallback)((function(e) {
1333
1337
  ye.current = e;
1334
- Ce(F, e);
1338
+ ke(F, e);
1335
1339
  }), [ F ]);
1336
1340
  var ot = (0, r.useCallback)((function(e) {
1337
- if (be.current) {
1341
+ if (me.current) {
1338
1342
  if (K) {
1339
- (0, W.handleTab)(be.current, e);
1343
+ (0, W.handleTab)(me.current, e);
1340
1344
  } else if ((0, W.isTabKey)(e)) {
1341
- var t = (0, W.getSortedTabbableElements)(be.current);
1345
+ var t = (0, W.getSortedTabbableElements)(me.current);
1342
1346
  if (t.length > 0) {
1343
1347
  var r = e.shiftKey ? t[0] : t[t.length - 1];
1344
1348
  if (r === e.target) {
1345
- Re({
1349
+ Ae({
1346
1350
  event: e,
1347
1351
  reason: "tabKey"
1348
1352
  });
@@ -1350,19 +1354,19 @@
1350
1354
  }
1351
1355
  }
1352
1356
  }
1353
- }), [ Re, K ]);
1357
+ }), [ Ae, K ]);
1354
1358
  var at = (0, r.useMemo)((function() {
1355
1359
  return {
1356
1360
  opacity: f ? 0 : 1
1357
1361
  };
1358
1362
  }), [ f ]);
1359
1363
  var it = (0, r.useMemo)((function() {
1360
- return ke({
1364
+ return We({
1361
1365
  tension: 300,
1362
1366
  friction: 20,
1363
1367
  clamp: true
1364
- }, p);
1365
- }), [ p ]);
1368
+ }, v);
1369
+ }), [ v ]);
1366
1370
  var lt = (0, j.useAnimation)({
1367
1371
  from: at,
1368
1372
  to: we,
@@ -1372,7 +1376,7 @@
1372
1376
  onRest: tt
1373
1377
  });
1374
1378
  var ct = (0, r.useMemo)((function() {
1375
- return ke(ke({}, se.outerContainerStyle), lt);
1379
+ return We(We({}, se.outerContainerStyle), lt);
1376
1380
  }), [ se.outerContainerStyle, lt ]);
1377
1381
  var ut = (0, r.useMemo)((function() {
1378
1382
  return h()(C === null || C === void 0 ? void 0 : C.filter((function(e) {
@@ -1381,41 +1385,41 @@
1381
1385
  }), [ C ]);
1382
1386
  var ft = g()(w) ? w(ge) : w;
1383
1387
 
1384
- return n().createElement(n().Fragment, null, et, n().createElement(A(), {
1388
+ return n().createElement(n().Fragment, null, Xe, n().createElement(A(), {
1385
1389
  closeReasons: ut,
1386
1390
  open: Oe,
1387
- onRequestClose: Re,
1391
+ onRequestClose: Ae,
1388
1392
  key: "Layer"
1389
- }, Oe && be.current && H && n().createElement(ce, {
1393
+ }, Oe && me.current && H && n().createElement(ce, {
1390
1394
  anchorRect: se.anchorPos,
1391
- popoverEl: be.current,
1395
+ popoverEl: me.current,
1392
1396
  popoverPlacement: se.placement,
1393
1397
  ref: H
1394
1398
  }), Oe && n().createElement(B, {
1395
1399
  "data-test": "outer-popover",
1396
1400
  style: ct,
1397
1401
  ref: nt
1398
- }, n().createElement(U, xe({
1402
+ }, n().createElement(U, Re({
1399
1403
  $appearance: d,
1400
- $boxPadding: $e,
1404
+ $boxPadding: Fe,
1401
1405
  $open: D,
1402
1406
  "data-test": "popover",
1403
1407
  ref: rt,
1404
1408
  id: I,
1405
1409
  onKeyDown: ot
1406
- }, Q), n().createElement(n().Fragment, null, d === "none" && ft, d !== "none" && !Te && n().createElement(J, {
1410
+ }, Q), n().createElement(n().Fragment, null, d === "none" && ft, d !== "none" && !xe && n().createElement(J, {
1407
1411
  "data-test": "popover-arrow",
1408
1412
  $appearance: d,
1409
- ref: me,
1413
+ ref: he,
1410
1414
  style: se.arrowStyle
1411
1415
  }), d !== "none" && n().createElement(G, {
1412
1416
  $appearance: d
1413
1417
  }, ft))))));
1414
1418
  }
1415
- Je.propTypes = Ne;
1416
- /* harmony default export */ const Qe = Je;
1419
+ tt.propTypes = Xe;
1420
+ /* harmony default export */ const rt = tt;
1417
1421
  // CONCATENATED MODULE: ./src/Popover/PopoverMenuContext.tsx
1418
- var Ze = (0, r.createContext)({});
1422
+ var nt = (0, r.createContext)({});
1419
1423
  // CONCATENATED MODULE: ./src/Popover/index.ts
1420
1424
  module.exports = t;
1421
1425
  /******/})();