@splunk/react-ui 4.32.0 → 4.34.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.
Files changed (80) hide show
  1. package/Button.js +59 -65
  2. package/ButtonGroup.js +20 -23
  3. package/ButtonSimple.js +374 -339
  4. package/CHANGELOG.md +54 -0
  5. package/Card.js +56 -44
  6. package/Chip.js +2 -6
  7. package/Clickable.js +21 -19
  8. package/CollapsiblePanel.js +281 -264
  9. package/Color.js +88 -86
  10. package/Concertina.js +7 -7
  11. package/ControlGroup.js +18 -18
  12. package/DualListbox.js +8 -11
  13. package/File.js +25 -30
  14. package/FormRows.js +232 -210
  15. package/Image.js +13 -13
  16. package/JSONTree.js +22 -22
  17. package/MIGRATION.mdx +99 -0
  18. package/Markdown.js +12 -12
  19. package/Menu.js +505 -719
  20. package/Message.js +205 -204
  21. package/MessageBar.js +104 -104
  22. package/Modal.js +158 -133
  23. package/Multiselect.js +81 -70
  24. package/Paginator.js +8 -8
  25. package/Popover.js +53 -54
  26. package/Progress.js +45 -46
  27. package/RadioBar.js +117 -115
  28. package/RadioList.js +8 -5
  29. package/ResultsMenu.js +256 -261
  30. package/Search.js +21 -24
  31. package/Select.js +265 -246
  32. package/Slider.js +9 -9
  33. package/SplitButton.js +1 -4
  34. package/StaticContent.js +1 -1
  35. package/StepBar.js +1 -1
  36. package/Switch.js +169 -171
  37. package/TabBar.js +14 -6
  38. package/Table.js +65 -67
  39. package/Text.js +30 -37
  40. package/TextArea.js +162 -163
  41. package/Tooltip.js +1 -1
  42. package/package.json +9 -9
  43. package/stubs-splunkui.d.ts +11 -0
  44. package/types/src/Button/Button.d.ts +4 -4
  45. package/types/src/ButtonSimple/ButtonSimple.d.ts +8 -6
  46. package/types/src/ButtonSimple/mixin.d.ts +2 -2
  47. package/types/src/Card/Card.d.ts +3 -1
  48. package/types/src/Card/Header.d.ts +22 -3
  49. package/types/src/Clickable/Clickable.d.ts +3 -2
  50. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +5 -0
  51. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +1 -3
  52. package/types/src/Date/Date.d.ts +2 -2
  53. package/types/src/Menu/Item.d.ts +3 -1
  54. package/types/src/Menu/Menu.d.ts +16 -21
  55. package/types/src/Menu/MenuContext.d.ts +3 -2
  56. package/types/src/Number/Number.d.ts +2 -2
  57. package/types/src/RadioBar/Option.d.ts +4 -1
  58. package/types/src/RadioBar/RadioBar.d.ts +6 -4
  59. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +2 -0
  60. package/types/src/ResultsMenu/ResultsMenu.d.ts +5 -22
  61. package/types/src/Select/Select.d.ts +8 -4
  62. package/types/src/Select/SelectBase.d.ts +8 -4
  63. package/types/src/Slider/Slider.d.ts +2 -2
  64. package/types/src/Table/Body.d.ts +0 -4
  65. package/types/src/Text/docs/examples/Basic.d.ts +1 -9
  66. package/types/src/Text/docs/examples/Error.d.ts +2 -10
  67. package/types/src/Text/docs/examples/Inline.d.ts +1 -9
  68. package/types/src/Text/docs/examples/Multiline.d.ts +1 -9
  69. package/types/src/Text/docs/examples/Password.d.ts +1 -9
  70. package/types/src/Text/docs/examples/Search.d.ts +1 -9
  71. package/useRovingFocus.js +26 -40
  72. package/types/src/Button/docs/examples/prisma/Basic.d.ts +0 -2
  73. package/types/src/Button/docs/examples/prisma/Block.d.ts +0 -2
  74. package/types/src/Button/docs/examples/prisma/Disabled.d.ts +0 -2
  75. package/types/src/Button/docs/examples/prisma/Icons.d.ts +0 -2
  76. package/types/src/Button/docs/examples/prisma/Menus.d.ts +0 -2
  77. package/types/src/Button/docs/examples/prisma/To.d.ts +0 -2
  78. package/types/src/Button/docs/examples/prisma/Truncated.d.ts +0 -2
  79. package/types/src/Select/docs/examples/prisma/Appearance.d.ts +0 -14
  80. /package/types/src/{Button/docs/examples/prisma → Clickable/docs/examples}/Dimmed.d.ts +0 -0
package/Multiselect.js CHANGED
@@ -565,11 +565,11 @@
565
565
  z(G, "defaultProps", U);
566
566
  /* harmony default export */ const J = G;
567
567
  // CONCATENATED MODULE: external "lodash/castArray"
568
- const Q = require("lodash/castArray");
569
- var X = e.n(Q);
568
+ const X = require("lodash/castArray");
569
+ var Y = e.n(X);
570
570
  // CONCATENATED MODULE: external "lodash/find"
571
- const Y = require("lodash/find");
572
- var Z = e.n(Y);
571
+ const Q = require("lodash/find");
572
+ var Z = e.n(Q);
573
573
  // CONCATENATED MODULE: external "lodash/forEachRight"
574
574
  const ee = require("lodash/forEachRight");
575
575
  var te = e.n(ee);
@@ -680,7 +680,10 @@
680
680
  var Ge = Fe().span.withConfig({
681
681
  displayName: "ItemStyles__StyledItemDescriptionRight",
682
682
  componentId: "sc-4kc053-1"
683
- })([ "", ";float:right;padding-left:", ";max-width:50%;text-align:right;box-sizing:border-box;" ], We, Ae.variables.spacing);
683
+ })([ "", ";float:right;", " max-width:50%;text-align:right;box-sizing:border-box;" ], We, (0,
684
+ Ae.pick)({
685
+ enterprise: (0, Le.css)([ "padding-left:", ";" ], Ae.variables.spacingLarge)
686
+ }));
684
687
  var Je = Fe().div.withConfig({
685
688
  displayName: "ItemStyles__StyledItemSelectedIcon",
686
689
  componentId: "sc-4kc053-2"
@@ -691,7 +694,7 @@
691
694
  prisma: Ae.variables.contentColorActive,
692
695
  enterprise: Ae.variables.accentColorL10
693
696
  }));
694
- var Qe = Fe().span.withConfig({
697
+ var Xe = Fe().span.withConfig({
695
698
  displayName: "ItemStyles__StyledItemIcon",
696
699
  componentId: "sc-4kc053-3"
697
700
  })([ "flex:0 0 auto;padding-right:", ";min-width:10px;display:inline-block;text-align:center;vertical-align:", ";", "" ], (0,
@@ -705,7 +708,7 @@
705
708
  prisma: (0, Le.css)([ "color:", ";display:inline-flex;align-items:center;min-width:20px;min-height:20px;& > svg{width:20px;height:20px;}" ], Ae.variables.contentColorMuted),
706
709
  enterprise: (0, Le.css)([ "transform:translateY(-1px);" ])
707
710
  }));
708
- var Xe = Fe()($e()).withConfig({
711
+ var Ye = Fe()($e()).withConfig({
709
712
  displayName: "ItemStyles__StyledClickable",
710
713
  componentId: "sc-4kc053-4"
711
714
  })([ "display:block;position:relative;cursor:pointer;color:", ";word-wrap:break-word;max-width:100%;width:100%;padding:", ";", " ", " ", " &:not([disabled]){&:hover{background:", ";", "}&:focus{outline:0;box-shadow:", ";", "}", " ", "}&[disabled]{color:", ";cursor:not-allowed;", ",", "{color:inherit;}", "{cursor:not-allowed;color:", ";}", "}", "" ], (0,
@@ -778,16 +781,16 @@
778
781
  }), (0, Ae.pick)({
779
782
  prisma: (0, Le.css)([ "& > * > ", "{color:", ";}" ],
780
783
  /* sc-sel */
781
- Qe, Ae.variables.contentColorDisabled)
784
+ Xe, Ae.variables.contentColorDisabled)
782
785
  }), (function(e) {
783
786
  var t = e.$selected;
784
787
  return t && (0, Ae.pick)({
785
788
  prisma: (0, Le.css)([ "", "{color:", ";}" ],
786
789
  /* sc-sel */
787
- Qe, Ae.variables.contentColorActive)
790
+ Xe, Ae.variables.contentColorActive)
788
791
  });
789
792
  }));
790
- var Ye = Fe()(ze()).withConfig({
793
+ var Qe = Fe()(ze()).withConfig({
791
794
  displayName: "ItemStyles__StyledSwitch",
792
795
  componentId: "sc-4kc053-5"
793
796
  })([ "position:absolute;left:", ";top:", ";" ], (0, Ae.pick)({
@@ -877,7 +880,7 @@
877
880
  active: n,
878
881
  ref: t,
879
882
  tabIndex: -1
880
- }, r().createElement(Ye, {
883
+ }, r().createElement(Qe, {
881
884
  interactive: false,
882
885
  selected: c === "some" && "some" || c,
883
886
  key: "main-checkbox",
@@ -944,10 +947,7 @@
944
947
  var bt = Fe().span.withConfig({
945
948
  displayName: "SelectBaseStyles__StyledCount",
946
949
  componentId: "sc-16cj7sk-5"
947
- })([ "padding-right:", ";" ], (0, Ae.pick)({
948
- enterprise: Ae.variables.spacingQuarter,
949
- prisma: Ae.variables.spacingXSmall
950
- }));
950
+ })([ "padding-right:", ";" ], Ae.variables.spacingXSmall);
951
951
  var yt = Fe()(Se()).withConfig({
952
952
  displayName: "SelectBaseStyles__StyledControlsLink",
953
953
  componentId: "sc-16cj7sk-6"
@@ -1338,11 +1338,11 @@
1338
1338
  }
1339
1339
  return e;
1340
1340
  }
1341
- var Qt = {
1341
+ var Xt = {
1342
1342
  allowKeyMatching: a().bool,
1343
1343
  allowNewValues: a().bool,
1344
1344
  animateLoading: a().bool,
1345
- appearance: a().oneOf([ "default", "link", "primary", "pill", "toggle", "flat" ]),
1345
+ appearance: a().oneOf([ "default", "link", "primary", "pill", "toggle", "flat", "subtle" ]),
1346
1346
  append: a().bool,
1347
1347
  children: a().node,
1348
1348
  defaultPlacement: a().oneOf([ "above", "below", "vertical" ]),
@@ -1380,11 +1380,12 @@
1380
1380
  showSelectedValuesFirst: a().oneOf([ "nextOpen", "immediately", "never" ]),
1381
1381
  suffixLabel: a().string,
1382
1382
  tabConfirmsNewValue: a().bool,
1383
+ toggleContent: a().oneOf([ "optionChildren", "optionLabel" ]),
1383
1384
  values: a().array,
1384
1385
  /** @private. */
1385
1386
  virtualization: a().number
1386
1387
  };
1387
- var Xt = {
1388
+ var Yt = {
1388
1389
  allowKeyMatching: true,
1389
1390
  allowNewValues: false,
1390
1391
  animateLoading: false,
@@ -1402,9 +1403,10 @@
1402
1403
  prepend: false,
1403
1404
  repositionMode: "flip",
1404
1405
  selectAllAppearance: "buttongroup",
1405
- tabConfirmsNewValue: false
1406
+ tabConfirmsNewValue: false,
1407
+ toggleContent: "optionChildren"
1406
1408
  };
1407
- var Yt = ce()((function(e) {
1409
+ var Qt = ce()((function(e) {
1408
1410
  return [ e ];
1409
1411
  }));
1410
1412
  // preserve separate widths for single vs. multi mode
@@ -1709,60 +1711,72 @@
1709
1711
  }));
1710
1712
  Jt($t(a), "createToggle", (function() {
1711
1713
  var e;
1712
- var t = a.props, i = t.toggle, l = t.appearance, s = t.children, p = t.describedBy, f = t.disabled, d = t.elementRef, v = t.error, h = t.inline, b = t.labelledBy, y = t.labelText, m = t.multiple, g = t.placeholder, O = t.prefixLabel, w = t.required, S = t.suffixLabel;
1713
- var C;
1714
+ var t = a.props, i = t.toggle, l = t.appearance, s = t.children, p = t.describedBy, f = t.disabled, d = t.elementRef, v = t.error, h = t.inline, b = t.labelledBy, y = t.labelText, m = t.multiple, g = t.placeholder, O = t.prefixLabel, w = t.required, S = t.suffixLabel, C = t.toggleContent;
1714
1715
  var x;
1716
+ var k;
1717
+ var I = [];
1715
1718
  // Generate buttonLabels
1716
- var k = (e = a.getCurrentValues()) !== null && e !== void 0 ? e : [];
1717
- var I = n.Children.toArray(s);
1718
- var _ = k.reduce((function(e, t, n, r) {
1719
- var o = Z()(I, (function(e) {
1719
+ var _ = (e = a.getCurrentValues()) !== null && e !== void 0 ? e : [];
1720
+ var j = n.Children.toArray(s);
1721
+ var E = _.reduce((function(e, t, n, r) {
1722
+ var o = Z()(j, (function(e) {
1720
1723
  return tn(e) && e.props.value === t;
1721
1724
  }));
1722
1725
  if (o) {
1723
- e.push(o.props.children || o.props.label);
1726
+ var a = C !== "optionLabel" && o.props.children ? o.props.children : o.props.label;
1727
+ e.push(a);
1728
+ I.push(o.props.label);
1724
1729
  // if not in multiple mode, add the icon
1725
- if (!m && k.length === 1) {
1726
- C = o.props.icon;
1730
+ if (!m && _.length === 1) {
1731
+ x = o.props.icon;
1727
1732
  }
1728
1733
  } else if (m) {
1729
1734
  // only add values that don't match an option in "multiple" mode to preserve old behaviour
1730
1735
  e.push(t);
1736
+ I.push(t.toString());
1731
1737
  }
1732
1738
  if (n < r.length - 1) {
1733
1739
  e.push((0, u._)(", "));
1740
+ I.push((0, u._)(", "));
1734
1741
  }
1735
1742
  return e;
1736
1743
  }), []);
1737
- x = _;
1744
+ k = E;
1738
1745
  // only apply prefix / suffix if the label is not empty
1739
- if (x.length > 0) {
1740
- x = a.wrapLabel({
1746
+ if (k.length > 0) {
1747
+ k = a.wrapLabel({
1741
1748
  prefixLabel: O,
1742
- label: x,
1749
+ label: k,
1743
1750
  suffixLabel: S
1744
1751
  });
1745
1752
  }
1746
1753
  // single <Select> behaviour is to show the placeholder if all parts of the the label
1747
1754
  // are empty strings so we replicate this behaviour here
1748
- if (x.length === 0 || !m && x.every((function(e) {
1755
+ if (k.length === 0 || !m && k.every((function(e) {
1749
1756
  return e === "";
1750
1757
  }))) {
1751
- x = Yt(g);
1758
+ k = Qt(g);
1759
+ // placeholder has a default value so will not be undefined
1760
+ I = Qt(g);
1752
1761
  }
1753
- var j = x;
1754
1762
  // If there's more than one item selected, read out the selected total
1755
1763
  // rather than reading out each selected item
1756
- if (x.length > 1) {
1757
- j = a.wrapLabel({
1764
+ if (k.length > 1) {
1765
+ I = a.wrapLabel({
1758
1766
  prefixLabel: O,
1759
- label: [ "".concat(k.length, " items selected") ],
1767
+ label: [ "".concat(_.length, " items selected") ],
1768
+ suffixLabel: S
1769
+ });
1770
+ } else {
1771
+ I = a.wrapLabel({
1772
+ prefixLabel: O,
1773
+ label: I,
1760
1774
  suffixLabel: S
1761
1775
  });
1762
1776
  }
1763
- var E = Gt({
1777
+ var M = Gt({
1764
1778
  "aria-describedby": p,
1765
- "aria-label": "".concat(y ? "".concat(y, ", ") : "").concat(j),
1779
+ "aria-label": "".concat(y ? "".concat(y, ", ") : "").concat(I.join("")),
1766
1780
  "aria-labelledby": y ? undefined : b,
1767
1781
  "aria-required": w,
1768
1782
  "data-select-appearance": l,
@@ -1772,36 +1786,36 @@
1772
1786
  error: v
1773
1787
  }, c()(a.props, le()(o.propTypes)));
1774
1788
  if (m) {
1775
- E["data-test-values"] = JSON.stringify(k);
1789
+ M["data-test-values"] = JSON.stringify(_);
1776
1790
  } else {
1777
- var M = It(k, 1), A = M[0];
1778
- E["data-test-value"] = A;
1791
+ var A = It(_, 1), P = A[0];
1792
+ M["data-test-value"] = P;
1779
1793
  }
1780
1794
  if (i) {
1781
1795
 
1782
- return (0, n.cloneElement)(i, E);
1796
+ return (0, n.cloneElement)(i, M);
1783
1797
  }
1784
1798
  if (l === "link") {
1785
1799
 
1786
- return r().createElement(Se(), kt({}, E, {
1800
+ return r().createElement(Se(), kt({}, M, {
1787
1801
  "data-select-appearance": "link"
1788
- }), !!C && r().createElement(ft, null, C), x || g, r().createElement(dt, null, r().createElement(Ve, null)));
1802
+ }), !!x && r().createElement(ft, null, x), k || g, r().createElement(dt, null, r().createElement(Ve, null)));
1789
1803
  }
1790
1804
 
1791
- return r().createElement(pt, kt({}, E, {
1805
+ return r().createElement(pt, kt({}, M, {
1792
1806
  $multiple: m,
1793
1807
  appearance: l,
1794
- label: x,
1808
+ label: k,
1795
1809
  error: v,
1796
- icon: C,
1810
+ icon: x,
1797
1811
  inline: h,
1798
1812
  isMenu: true,
1799
1813
  "aria-haspopup": "listbox",
1800
1814
  "aria-owns": a.menuId,
1801
1815
  onClick: a.props.onClick
1802
- }, pe()(a.props, o.invalidLinkAppearanceProps)), !!k.length && m && r().createElement(bt, {
1816
+ }, pe()(a.props, o.invalidLinkAppearanceProps)), !!_.length && m && r().createElement(bt, {
1803
1817
  "data-role": "count"
1804
- }, "(", k.length, ")"));
1818
+ }, "(", _.length, ")"));
1805
1819
  }));
1806
1820
  Jt($t(a), "createChildren", (function() {
1807
1821
  var e = a.state, t = e.filterKeyword, o = e.textHasFocus, i = e.topValues;
@@ -2023,7 +2037,7 @@
2023
2037
  o = [ "".concat(t, ": ") ].concat(o);
2024
2038
  }
2025
2039
  if (r) {
2026
- o = X()(o).concat(" ".concat(r));
2040
+ o = Y()(o).concat(" ".concat(r));
2027
2041
  }
2028
2042
  return o;
2029
2043
  }));
@@ -2262,8 +2276,8 @@
2262
2276
  } ]);
2263
2277
  return o;
2264
2278
  }(n.Component);
2265
- Jt(rn, "propTypes", Qt);
2266
- Jt(rn, "defaultProps", Xt);
2279
+ Jt(rn, "propTypes", Xt);
2280
+ Jt(rn, "defaultProps", Yt);
2267
2281
  Jt(rn, "Option", M);
2268
2282
  Jt(rn, "Divider", p.Divider);
2269
2283
  Jt(rn, "Heading", p.Heading);
@@ -2598,10 +2612,7 @@
2598
2612
  }), (function(e) {
2599
2613
  var t = e.$popoverOpen;
2600
2614
  return t && (0, Le.css)([ "position:relative;z-index:calc(", " - 2);" ], Ae.variables.zindexFixedNavbar);
2601
- }), (0, Ae.pick)({
2602
- enterprise: Ae.variables.spacingHalf,
2603
- prisma: Ae.variables.spacingSmall
2604
- }));
2615
+ }), Ae.variables.spacingSmall);
2605
2616
  var Un = Fe().span.withConfig({
2606
2617
  displayName: "NormalStyles__StyledButtonsWrapper",
2607
2618
  componentId: "sc-1uwwpco-1"
@@ -2612,7 +2623,7 @@
2612
2623
  })([ "", ";flex:1 0 auto;max-width:100%;line-height:12px;", "" ], Ae.mixins.reset("block"), (0,
2613
2624
  Ae.pick)({
2614
2625
  enterprise: {
2615
- comfortable: (0, Le.css)([ "padding:", ";" ], Ae.variables.spacingQuarter),
2626
+ comfortable: (0, Le.css)([ "padding:", ";" ], Ae.variables.spacingXSmall),
2616
2627
  compact: (0, Le.css)([ "padding:3px;" ])
2617
2628
  },
2618
2629
  prisma: {
@@ -2634,7 +2645,7 @@
2634
2645
  * @param ref - The React callback or object ref. Can be `null` or `undefined`.
2635
2646
  * @param current - The new value of the ref.
2636
2647
  */
2637
- function Qn(e, t) {
2648
+ function Xn(e, t) {
2638
2649
  if (e) {
2639
2650
  if (typeof e === "function") {
2640
2651
  e(t);
@@ -2647,20 +2658,20 @@
2647
2658
  }
2648
2659
  }
2649
2660
  // CONCATENATED MODULE: ./src/Multiselect/Normal.tsx
2650
- function Xn(e) {
2661
+ function Yn(e) {
2651
2662
  "@babel/helpers - typeof";
2652
2663
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
2653
- Xn = function e(t) {
2664
+ Yn = function e(t) {
2654
2665
  return typeof t;
2655
2666
  };
2656
2667
  } else {
2657
- Xn = function e(t) {
2668
+ Yn = function e(t) {
2658
2669
  return t && typeof Symbol === "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2659
2670
  };
2660
2671
  }
2661
- return Xn(e);
2672
+ return Yn(e);
2662
2673
  }
2663
- function Yn(e) {
2674
+ function Qn(e) {
2664
2675
  return nr(e) || tr(e) || er(e) || Zn();
2665
2676
  }
2666
2677
  function Zn() {
@@ -2809,7 +2820,7 @@
2809
2820
  };
2810
2821
  }
2811
2822
  function hr(e, t) {
2812
- if (t && (Xn(t) === "object" || typeof t === "function")) {
2823
+ if (t && (Yn(t) === "object" || typeof t === "function")) {
2813
2824
  return t;
2814
2825
  }
2815
2826
  return br(e);
@@ -3097,11 +3108,11 @@
3097
3108
  a.setState({
3098
3109
  el: e
3099
3110
  });
3100
- Qn(a.props.elementRef, e);
3111
+ Xn(a.props.elementRef, e);
3101
3112
  }));
3102
3113
  gr(br(a), "handleInputMount", (function(e) {
3103
3114
  a.input = e;
3104
- Qn(a.props.inputRef, e);
3115
+ Xn(a.props.inputRef, e);
3105
3116
  }));
3106
3117
  gr(br(a), "handleActiveOptionMount", (function(e) {
3107
3118
  if (a.previousActiveIndex !== a.state.activeIndex) {
@@ -3384,7 +3395,7 @@
3384
3395
  "data-test-values": JSON.stringify(I),
3385
3396
  inline: b,
3386
3397
  $hasfocus: this.state.hasFocus
3387
- }, c().apply(void 0, [ C, "animateLoading", "controlledFilter", "defaultValues", "footerMessage", "inputRef", "isLoadingOptions", "labelledBy", "menuStyle", "noOptionsMessage", "onChange", "onFilterChange", "onScroll", "onScrollBottom", "onClose", "onOpen", "values", "useClickawayOverlay" ].concat(Yn(le()(x)))), {
3398
+ }, c().apply(void 0, [ C, "animateLoading", "controlledFilter", "defaultValues", "footerMessage", "inputRef", "isLoadingOptions", "labelledBy", "menuStyle", "noOptionsMessage", "onChange", "onFilterChange", "onScroll", "onScrollBottom", "onClose", "onOpen", "values", "useClickawayOverlay" ].concat(Qn(le()(x)))), {
3388
3399
  onClick: v ? undefined : this.handleClick,
3389
3400
  $disabled: v,
3390
3401
  $error: h,
package/Paginator.js CHANGED
@@ -155,7 +155,7 @@
155
155
  }));
156
156
  }), (0, v.pick)({
157
157
  enterprise: {
158
- comfortable: (0, x.css)([ "padding:", ";" ], v.variables.spacingQuarter),
158
+ comfortable: (0, x.css)([ "padding:", ";" ], v.variables.spacingXSmall),
159
159
  compact: (0, x.css)([ "padding:3px;" ])
160
160
  },
161
161
  prisma: (0, x.css)([ "padding:", ";& + &{margin-left:8px;}" ], (0, v.pick)({
@@ -360,8 +360,8 @@
360
360
  const $ = require("@splunk/react-ui/Select");
361
361
  var A = e.n($);
362
362
  // CONCATENATED MODULE: external "@splunk/react-ui/ScreenReaderContent"
363
- const Q = require("@splunk/react-ui/ScreenReaderContent");
364
- var V = e.n(Q);
363
+ const V = require("@splunk/react-ui/ScreenReaderContent");
364
+ var X = e.n(V);
365
365
  // CONCATENATED MODULE: external "@splunk/ui-utils/id"
366
366
  const F = require("@splunk/ui-utils/id");
367
367
  // CONCATENATED MODULE: ./src/Paginator/PageSelectStyles.ts
@@ -373,12 +373,12 @@
373
373
  displayName: "PageSelectStyles__StyledCount",
374
374
  componentId: "haycz4-1"
375
375
  })([ "align-items:center;display:flex;flex-wrap:wrap;margin:0 ", ";" ], v.variables.spacingSmall);
376
- var U = P()(A()).withConfig({
376
+ var Q = P()(A()).withConfig({
377
377
  displayName: "PageSelectStyles__StyledSelect",
378
378
  componentId: "haycz4-2"
379
379
  })([ "flex:0 0 auto;" ]);
380
380
  // CONCATENATED MODULE: ./src/Paginator/PageSelect.tsx
381
- function X(e, t) {
381
+ function U(e, t) {
382
382
  if (e == null) return {};
383
383
  var r = Y(e, t);
384
384
  var n, a;
@@ -411,7 +411,7 @@
411
411
  totalPages: l().number
412
412
  };
413
413
  function ee(e) {
414
- var t = e.onChange, a = e.current, l = a === void 0 ? 1 : a, i = e.totalPages, o = X(e, [ "onChange", "current", "totalPages" ]);
414
+ var t = e.onChange, a = e.current, l = a === void 0 ? 1 : a, i = e.totalPages, o = U(e, [ "onChange", "current", "totalPages" ]);
415
415
  // @docs-props-type PaginatorPageSelectPropsBase
416
416
  var u = (0, r.useRef)((0, F.createDOMID)("pages"));
417
417
  var p = (0, r.useRef)((0, F.createDOMID)("totalPages"));
@@ -431,11 +431,11 @@
431
431
  }
432
432
  var g = (0, c.sprintf)((0, s._)("of %d pages"), i);
433
433
 
434
- return n().createElement(J, o, n().createElement(U, {
434
+ return n().createElement(J, o, n().createElement(Q, {
435
435
  value: l,
436
436
  onChange: f,
437
437
  "aria-labelledby": "".concat(u.current, " ").concat(p.current)
438
- }, d), n().createElement(V(), {
438
+ }, d), n().createElement(X(), {
439
439
  id: u.current,
440
440
  "aria-hidden": true
441
441
  }, l), n().createElement(K, {