@splunk/react-ui 4.17.0 → 4.18.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 (82) hide show
  1. package/Accordion.js +2 -2
  2. package/AnimationToggle.js +5 -5
  3. package/Button.js +7 -7
  4. package/ButtonSimple.js +2 -2
  5. package/CHANGELOG.md +40 -7
  6. package/Calendar.js +7 -5
  7. package/CloseButton.js +5 -5
  8. package/Code.js +7 -6
  9. package/Color.js +206 -179
  10. package/ColumnLayout.js +8 -8
  11. package/ComboBox.js +2 -0
  12. package/Concertina.js +10 -10
  13. package/DefinitionList.js +2 -2
  14. package/Dropdown.js +7 -7
  15. package/DualListbox.js +11 -8
  16. package/File.js +9 -9
  17. package/FormRows.js +4 -4
  18. package/Heading.js +8 -4
  19. package/JSONTree.js +30 -28
  20. package/Layer.js +10 -10
  21. package/Link.js +4 -4
  22. package/List.js +7 -4
  23. package/MIGRATION.mdx +295 -0
  24. package/Markdown.js +12 -7
  25. package/Menu.js +19 -19
  26. package/Message.js +25 -25
  27. package/MessageBar.js +21 -21
  28. package/Modal.js +7 -7
  29. package/Multiselect.js +46 -36
  30. package/Number.js +3 -2
  31. package/Paginator.js +6 -6
  32. package/Popover.js +17 -13
  33. package/Progress.js +2 -2
  34. package/RadioBar.js +2 -2
  35. package/RadioList.js +2 -2
  36. package/Resize.js +2 -2
  37. package/Scroll.js +2 -2
  38. package/Select.js +14 -13
  39. package/SidePanel.js +2 -2
  40. package/Slider.js +7 -7
  41. package/StepBar.js +8 -8
  42. package/Switch.js +2 -2
  43. package/TabBar.js +85 -54
  44. package/Table.js +13 -13
  45. package/Text.js +7 -7
  46. package/TextArea.js +8 -6
  47. package/Typography.js +2 -2
  48. package/package.json +10 -15
  49. package/stubs-dependencies.d.ts +0 -9
  50. package/stubs-splunkui.d.ts +0 -24
  51. package/types/src/Button/Button.d.ts +5 -3
  52. package/types/src/Clickable/Clickable.d.ts +2 -1
  53. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -0
  54. package/types/src/Color/Color.d.ts +6 -6
  55. package/types/src/Color/Palette.d.ts +46 -0
  56. package/types/src/Concertina/Panel.d.ts +1 -0
  57. package/types/src/FormRows/Row.d.ts +1 -0
  58. package/types/src/Heading/Heading.d.ts +7 -2
  59. package/types/src/JSONTree/JSONTree.d.ts +2 -1
  60. package/types/src/Layer/Layer.d.ts +2 -0
  61. package/types/src/List/List.d.ts +9 -1
  62. package/types/src/List/docs/examples/CustomizedList.d.ts +2 -0
  63. package/types/src/List/docs/examples/OrderedList.d.ts +2 -0
  64. package/types/src/List/docs/examples/UnorderedList.d.ts +2 -0
  65. package/types/src/Markdown/Markdown.d.ts +1 -0
  66. package/types/src/Markdown/renderers/MarkdownList.d.ts +2 -0
  67. package/types/src/Multiselect/Normal.d.ts +1 -1
  68. package/types/src/Number/Number.d.ts +9 -4
  69. package/types/src/Popover/Popover.d.ts +2 -0
  70. package/types/src/TabBar/Tab.d.ts +5 -1
  71. package/types/src/Table/Head.d.ts +1 -0
  72. package/types/src/Table/HeadCell.d.ts +1 -0
  73. package/types/src/Table/HeadDropdownCell.d.ts +1 -0
  74. package/types/src/Table/Table.d.ts +3 -1
  75. package/types/src/Text/Text.d.ts +3 -1
  76. package/types/src/TextArea/TextArea.d.ts +13 -4
  77. package/types/src/TextArea/docs/examples/ClearContent.d.ts +2 -0
  78. package/MIGRATION.md +0 -49
  79. package/types/src/List/docs/examples/Decimal.d.ts +0 -2
  80. package/types/src/List/docs/examples/Disc.d.ts +0 -2
  81. package/types/src/List/docs/examples/LowerAlpha.d.ts +0 -2
  82. package/types/src/List/docs/examples/UpperAlpha.d.ts +0 -2
package/MIGRATION.mdx ADDED
@@ -0,0 +1,295 @@
1
+ import Link from '@splunk/react-ui/Link';
2
+ import Table from '@splunk/react-ui/Table';
3
+
4
+ # Migration
5
+
6
+ This document lists migration guidance for new features and breaking changes.
7
+
8
+ ## 4.18.0
9
+
10
+ ### Deprecated `level="s"` and `level="ss"` and added new `variant` prop for `Heading`
11
+
12
+ #### Change
13
+ `Heading`'s `level="s"` and `level="ss"` have been deprecated and will be removed in a future major version. A new prop `variant` has been added to `Heading` to add styles from `Typography`'s title variants.
14
+
15
+ #### Context
16
+ The values "s" and "ss" aren't as clear as numerical values at describing which `<hX>` HTML tag they correspond to. Instead, use `Heading` `level`(1 - 6) and `variant`(title1 - title6) props to achieve the desired `Heading` style. This separates the concerns of semantics from styling, which allows for better accessibility and design.
17
+
18
+ #### Migration steps
19
+ It is recommended to update `Heading`'s `level="s"` and `level="ss"` to `level=5` or `level=6` respectively and use the `variant` prop for styling.
20
+ To keep the same style as `Heading`'s `level="s"` and `level="ss"` follow the below code:
21
+
22
+ *Enterprise*
23
+
24
+ `level="s"` styling:
25
+
26
+ ```jsx
27
+ const StyledSHeading = styled(Heading)`
28
+ font-weight: ${variables.fontWeightSemiBold};
29
+ font-size: ${variables.fontSize}
30
+ color: ${pick({
31
+ dark: variables.gray80,
32
+ light: variables.gray45,
33
+ })};
34
+ `;
35
+
36
+ <StyledSHeading level={4} variant="title4"/>
37
+ ```
38
+
39
+ `level="ss"` styling:
40
+
41
+ ```jsx
42
+ const StyledSSHeading = styled(Heading)`
43
+ color: ${pick({
44
+ dark: variables.gray80,
45
+ light: variables.gray45,
46
+ })};
47
+ `;
48
+
49
+ <StyledSHeading level={5} variant="title5"/>
50
+ ```
51
+
52
+ *Prisma*
53
+
54
+ `level="s"` styling:
55
+
56
+ ```jsx
57
+ const StyledSHeading = styled(Heading)`
58
+ font-size: ${variables.fontSize};
59
+ color: ${variables.contentColorDefault};
60
+ `;
61
+
62
+ <StyledSHeading level={4} variant="title4"/>
63
+ ```
64
+
65
+ `level="ss"` styling:
66
+
67
+ ```jsx
68
+ No styling is needed.
69
+ <Heading level="ss"> is equivalent to <StyledSHeading level={5} variant="title5"/>
70
+ ```
71
+
72
+ ## 4.17.0
73
+
74
+ ### `Typography` `weight` prop
75
+
76
+ #### Change
77
+ `Typography` no longer supports numerical values for `weight`.
78
+
79
+ #### Context
80
+ Supporting both numerical and keyword values creates confusion on which is correct to use.
81
+ Themes has new variables in version 4.17.0 that support all of the weight values in the design system.
82
+ This aligns with the existing API for `variant` in this component.
83
+
84
+ #### Migration steps
85
+ Convert any usage of a number to the keyword value using the following table based on <Link to="https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#common_weight_name_mapping" openInNewContext>MDN</Link>:
86
+
87
+ <Table>
88
+ <Table.Head>
89
+ <Table.HeadCell>Number</Table.HeadCell>
90
+ <Table.HeadCell>Keyword</Table.HeadCell>
91
+ </Table.Head>
92
+ <Table.Body>
93
+ <Table.Row key={300}>
94
+ <Table.Cell>{300}</Table.Cell>
95
+ <Table.Cell>light</Table.Cell>
96
+ </Table.Row>
97
+ <Table.Row key={400}>
98
+ <Table.Cell>{400}</Table.Cell>
99
+ <Table.Cell>normal</Table.Cell>
100
+ </Table.Row>
101
+ <Table.Row key={500}>
102
+ <Table.Cell>{500}</Table.Cell>
103
+ <Table.Cell>semiBold</Table.Cell>
104
+ </Table.Row>
105
+ <Table.Row key={600}>
106
+ <Table.Cell>{600}</Table.Cell>
107
+ <Table.Cell>semiBold</Table.Cell>
108
+ </Table.Row>
109
+ <Table.Row key={700}>
110
+ <Table.Cell>{700}</Table.Cell>
111
+ <Table.Cell>bold</Table.Cell>
112
+ </Table.Row>
113
+ <Table.Row key={800}>
114
+ <Table.Cell>{800}</Table.Cell>
115
+ <Table.Cell>extraBold</Table.Cell>
116
+ </Table.Row>
117
+ <Table.Row key={900}>
118
+ <Table.Cell>{900}</Table.Cell>
119
+ <Table.Cell>heavy</Table.Cell>
120
+ </Table.Row>
121
+ </Table.Body>
122
+ </Table>
123
+
124
+ For example, convert `<Typography as="p" weight={700} />` to `<Typography as="p" weight='bold' />`.
125
+
126
+ ## 4.13.0
127
+
128
+ ### Deprecated `Button` `appearance="pill"`
129
+
130
+ #### Change
131
+ The `Button`'s "pill" appearance is deprecated and will be removed in a future major version.
132
+
133
+ #### Context
134
+ The “pill” appearance is deprecated due to confusion among designers and engineers between the different uses. To minimize confusion, there will be one primary `Button` rounded style.
135
+
136
+ #### Migration steps
137
+ Replace all usage of `Button` `appearance="pill"` with `appearance="default"` or use the `Link` component instead.
138
+
139
+ ### Deprecated `placeholder` prop in `Text`, `TextArea`, and `Number`
140
+
141
+ #### Change
142
+ The `placeholder` prop in `Text`, `TextArea`, and `Number` is deprecated and will be removed from future major versions.
143
+
144
+ #### Context
145
+ The `placeholder` prop presents multiple visual and cognitive issues and should not be used.
146
+
147
+ #### Migration steps
148
+ The `placeholder` prop should be replaced with `ControlGroup`'s `label` or `help`. It is recommended to avoid using a placeholder, but if appropriate the `placeholder` HTML attribute is still supported.
149
+
150
+ ## 4.12.0
151
+
152
+ ### Deprecated `Text`'s `multiline`, `rowsMax`, and `rowsMin` props
153
+
154
+ #### Change
155
+ `Text`'s `multiline`, `rowsMax`, and `rowsMin` props have been deprecated. Instead use the new `TextArea` component for multiline text input.
156
+
157
+ #### Context
158
+ `Text` supported two modes -- single or multiline. Each modes had exclusive props: e.g. `maxRows` was only valid with the `multiline` prop.
159
+ This could be confusing and lead to unexpected or unsupported API combinations. Additionally, code in `Text` would only operate in one mode at a time. Moreover, `Text` with the `multiline` prop does not allow line breaks to be inserted with the “enter” key in some browsers.
160
+
161
+ By separating these modes, we have made it simpler and clearer to decide which component and props to use.
162
+ `Text` should be used for inline text input. `TextArea` should be used for long-form text input.
163
+ This aligns the components with the HTML spec and the Splunk Design System.
164
+
165
+ #### Migration steps
166
+ Replace instances of `Text` that use the `multiline` prop with the new `TextArea` component.
167
+
168
+ ## 4.11.0
169
+
170
+ ### New `separateStackingContexts` prop for `LayerStackGlobalProvider`
171
+
172
+ #### Change
173
+ A new prop, `separateStackingContexts`, has been added to `LayerStackGlobalProvider`. `separateStackingContexts` will default to false for backward compatibility but will later default to true in the next major version.
174
+
175
+ #### Context
176
+ Previously, dropdown menus were stacking on top of and blocking modals and modal-backdrops.
177
+
178
+ Now with `separateStackingContexts`, 'floating' items such as `Popover` and `Modal` will now be stacked in the order they are opened rather than a fixed order.
179
+
180
+ #### Migration steps
181
+ To keep the previous behavior, set `separateStackingContexts={false}`.
182
+
183
+ ## 4.8.0
184
+
185
+ ### Deprecated `RadioBar.Option`'s `icon` prop
186
+
187
+ #### Change
188
+ `RadioBar.Option`'s `icon` prop is deprecated and will be removed in a future major version.
189
+
190
+ #### Context
191
+ The `RadioBar.Option` icon should not be used due to misalignment with `Text`.
192
+
193
+ #### Migration steps
194
+ Replace all usage of `RadioBar.Option`'s `icon` prop with `startAdornment` and/or `endAdornment`.
195
+
196
+ ## 4.7.0
197
+
198
+ ### Deprecated `Message` `appearance="banner"`
199
+
200
+ #### Change
201
+ `Message`’s `appearance="banner"` option is deprecated and will be removed in a future major version.
202
+
203
+ #### Context
204
+ Please use `MessageBar` instead of `Message` with `appearance="banner"`.
205
+
206
+ Use `MessageBar` for:
207
+ - System-level messages (such as expired accounts, server outages, account status, etc).
208
+ - Information, warning, error, or success notifications
209
+
210
+ Use `Message` or another component for:
211
+ - Feedback of actions taken within the page (such as adding, deleting, or saving an item).
212
+
213
+ #### Migration steps
214
+ Replace all usage of `Message`’s `appearance="banner"` option to `MessageBar`.
215
+
216
+ ### Deprecated `Message.Link`
217
+
218
+ #### Change
219
+ `Message.Link` is deprecated and will be removed in a future major version.
220
+
221
+ ### Context
222
+ `MessageBar` now applies the necessary styles to `Link`.
223
+
224
+ #### Migration steps
225
+ Replace all usage of `Message.Link` with the `Link` component as a child of the `MessageBar` component. See entries above or our docs for more information on `MessageBar`.
226
+
227
+ ## 4.5.0
228
+
229
+ ### Deprecated `useSyntheticPlaceholder` prop in `Text` and `Number`
230
+
231
+ #### Change
232
+ The `useSyntheticPlaceholder` prop in `Text` and `Number` is deprecated and will be removed in a future major version.
233
+
234
+ #### Context
235
+ The `useSyntheticPlaceholder` prop is not needed because we no longer support IE11.
236
+
237
+ #### Migration steps
238
+ Remove the `useSyntheticPlaceholder` prop.
239
+
240
+ ### Deprecated `Monogram` `size="xlarge"`
241
+
242
+ #### Change
243
+ `Monogram`'s `size="xlarge"` is deprecated and will be removed in a future major version.
244
+
245
+ #### Context
246
+ The `xlarge` option for `Monogram`'s `size` prop is deprecated to align with Figma.
247
+
248
+ #### Migration steps
249
+ Replace all usage of `xlarge` as the value for `Monogram`'s `size` prop with the values: `small`, `medium`, `large`, or a number.
250
+
251
+ ## 4.0.0
252
+
253
+ ### `Accordion` no longer supports `collapseAll` prop
254
+
255
+ #### Change
256
+ `Accordion` no longer supports `collapseAll` prop and all panels are allowed to collapse by default.
257
+
258
+ #### Context
259
+ The user needs to be able to skip over any section with `tab`, which is not possible when the first one is open. This prop is no longer supported due to accessibility issues when set to `false`.
260
+
261
+ #### Migration steps
262
+ Remove all usage of `Accordion` `collapseAll`.
263
+
264
+ ### `File` now supports `fullscreen` prop instead of `size="large"`.
265
+
266
+ #### Change
267
+ `File`’s `size` prop has been removed. Instead, use the `fullscreen` prop.
268
+
269
+ #### Context
270
+ If `fullscreen` prop is set, there can only be one `File` component on the page as it will take all files dropped on the page.
271
+
272
+ #### Migration steps
273
+ Replace all usage of `size="large"` with `fullscreen` prop. Remove all other usage of `File` `size`.
274
+
275
+ ### `Dropdown` only supports HTMLElement toggle `ref`
276
+
277
+ #### Change
278
+ `Dropdown` no longer supports passing a toggle that returns a React component instance as `ref`.
279
+
280
+ #### Context
281
+ Previously, this was causing a warning in React strict mode.
282
+
283
+ #### Migration steps
284
+ Ensure the toggle `ref` is an `HTMLElement`, `Clickable`, `Button`, or `Link`.
285
+
286
+ ### `Popover` no longer supports `pointerEvents` prop
287
+
288
+ #### Change
289
+ `Popover`’s `pointerEvents` prop has been removed.
290
+
291
+ #### Context
292
+ Previously, `Tooltip` closed as soon as a user stopped hovering over the toggle. To allow the `Tooltip` to remain open when hovering/focusing on the toggle or the content area, the `Popover`’s `pointerEvent` prop has been removed. `Tooltip` now has two props: `possibleOpenReasons` and `possibleCloseReasons`, which provide more control over when the `Tooltip` can be opened and closed.
293
+
294
+ #### Migration steps
295
+ Replace all usage of `Popover`’s `pointerEvents` prop with `possibleOpenReasons` and `possibleCloseReasons`.
package/Markdown.js CHANGED
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 109:
104
+ /***/ 107:
105
105
  /***/ (function(module, exports) {
106
106
 
107
107
  module.exports = require("@splunk/react-ui/List");
@@ -292,7 +292,7 @@ function MarkdownCodeBlock(_ref) {
292
292
  MarkdownCodeBlock.propTypes = MarkdownCodeBlock_propTypes;
293
293
  /* harmony default export */ var renderers_MarkdownCodeBlock = (MarkdownCodeBlock);
294
294
  // EXTERNAL MODULE: external "@splunk/react-ui/Heading"
295
- var Heading_ = __webpack_require__(76);
295
+ var Heading_ = __webpack_require__(77);
296
296
  var Heading_default = /*#__PURE__*/__webpack_require__.n(Heading_);
297
297
 
298
298
  // CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownHeading.tsx
@@ -395,7 +395,7 @@ function MarkdownLink(_ref) {
395
395
  MarkdownLink.propTypes = MarkdownLink_propTypes;
396
396
  /* harmony default export */ var renderers_MarkdownLink = (MarkdownLink);
397
397
  // EXTERNAL MODULE: external "@splunk/react-ui/List"
398
- var List_ = __webpack_require__(109);
398
+ var List_ = __webpack_require__(107);
399
399
  var List_default = /*#__PURE__*/__webpack_require__.n(List_);
400
400
 
401
401
  // CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownList.tsx
@@ -410,9 +410,14 @@ var MarkdownList_propTypes = {
410
410
  function MarkdownList(_ref) {
411
411
  var children = _ref.children,
412
412
  type = _ref.type;
413
- return /*#__PURE__*/external_react_default.a.createElement(List_default.a, {
414
- type: type === 'bullet' ? 'disc' : 'decimal'
415
- }, children);
413
+
414
+ if (type === 'ordered') {
415
+ return /*#__PURE__*/external_react_default.a.createElement(List_default.a, {
416
+ ordered: true
417
+ }, children);
418
+ }
419
+
420
+ return /*#__PURE__*/external_react_default.a.createElement(List_default.a, null, children);
416
421
  }
417
422
 
418
423
  MarkdownList.propTypes = MarkdownList_propTypes;
@@ -596,7 +601,7 @@ module.exports = require("@splunk/react-ui/Box");
596
601
 
597
602
  /***/ }),
598
603
 
599
- /***/ 76:
604
+ /***/ 77:
600
605
  /***/ (function(module, exports) {
601
606
 
602
607
  module.exports = require("@splunk/react-ui/Heading");
package/Menu.js CHANGED
@@ -254,11 +254,11 @@ Divider.filterLast = true;
254
254
  Divider.as = 'Divider';
255
255
  /* harmony default export */ var Menu_Divider = (Divider);
256
256
  // EXTERNAL MODULE: external "@splunk/react-ui/Heading"
257
- var Heading_ = __webpack_require__(76);
257
+ var Heading_ = __webpack_require__(77);
258
258
  var Heading_default = /*#__PURE__*/__webpack_require__.n(Heading_);
259
259
 
260
260
  // EXTERNAL MODULE: external "@splunk/themes/useSplunkTheme"
261
- var useSplunkTheme_ = __webpack_require__(67);
261
+ var useSplunkTheme_ = __webpack_require__(68);
262
262
  var useSplunkTheme_default = /*#__PURE__*/__webpack_require__.n(useSplunkTheme_);
263
263
 
264
264
  // CONCATENATED MODULE: ./src/Menu/HeadingStyles.ts
@@ -365,11 +365,11 @@ var CaretSmallRight_ = __webpack_require__(142);
365
365
  var CaretSmallRight_default = /*#__PURE__*/__webpack_require__.n(CaretSmallRight_);
366
366
 
367
367
  // EXTERNAL MODULE: external "@splunk/react-icons/Checkmark"
368
- var Checkmark_ = __webpack_require__(86);
368
+ var Checkmark_ = __webpack_require__(75);
369
369
  var Checkmark_default = /*#__PURE__*/__webpack_require__.n(Checkmark_);
370
370
 
371
371
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Check"
372
- var Check_ = __webpack_require__(95);
372
+ var Check_ = __webpack_require__(94);
373
373
  var Check_default = /*#__PURE__*/__webpack_require__.n(Check_);
374
374
 
375
375
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronRight"
@@ -423,7 +423,7 @@ var StyledItemIcon = external_styled_components_default.a.span.withConfig({
423
423
  prisma: 'initial',
424
424
  enterprise: 'middle'
425
425
  }), Object(themes_["pick"])({
426
- prisma: Object(external_styled_components_["css"])(["color:", ";display:inline-flex;align-items:center;min-width:20px;min-height:20px;"], themes_["variables"].contentColorMuted),
426
+ prisma: Object(external_styled_components_["css"])(["color:", ";display:inline-flex;align-items:center;min-width:20px;min-height:20px;& > svg{width:20px;height:20px;}"], themes_["variables"].contentColorMuted),
427
427
  enterprise: Object(external_styled_components_["css"])(["transform:translateY(-1px);"])
428
428
  }));
429
429
  var StyledClickable = external_styled_components_default()(Clickable_default.a).withConfig({
@@ -559,11 +559,11 @@ var StyledSubmenu = external_styled_components_default.a.span.withConfig({
559
559
  }));
560
560
 
561
561
  // EXTERNAL MODULE: external "@splunk/react-icons/ArrowSquareTopRight"
562
- var ArrowSquareTopRight_ = __webpack_require__(94);
562
+ var ArrowSquareTopRight_ = __webpack_require__(93);
563
563
  var ArrowSquareTopRight_default = /*#__PURE__*/__webpack_require__.n(ArrowSquareTopRight_);
564
564
 
565
565
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/External"
566
- var External_ = __webpack_require__(62);
566
+ var External_ = __webpack_require__(63);
567
567
  var External_default = /*#__PURE__*/__webpack_require__.n(External_);
568
568
 
569
569
  // EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
@@ -609,7 +609,7 @@ function External() {
609
609
  var updateReactRef = __webpack_require__(11);
610
610
 
611
611
  // EXTERNAL MODULE: ./src/utils/scrollIntoViewIfNeeded.ts
612
- var utils_scrollIntoViewIfNeeded = __webpack_require__(89);
612
+ var utils_scrollIntoViewIfNeeded = __webpack_require__(88);
613
613
 
614
614
  // CONCATENATED MODULE: ./src/Menu/Item.tsx
615
615
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
@@ -901,7 +901,7 @@ ItemWithTheme.propTypes = Item_Item.propTypes;
901
901
  ItemWithTheme.as = 'Item';
902
902
  /* harmony default export */ var Menu_Item = (ItemWithTheme);
903
903
  // EXTERNAL MODULE: external "@splunk/react-ui/Scroll"
904
- var Scroll_ = __webpack_require__(87);
904
+ var Scroll_ = __webpack_require__(86);
905
905
  var Scroll_default = /*#__PURE__*/__webpack_require__.n(Scroll_);
906
906
 
907
907
  // CONCATENATED MODULE: ./src/Menu/MenuStyles.ts
@@ -1245,14 +1245,14 @@ module.exports = require("@splunk/react-ui/Switch");
1245
1245
 
1246
1246
  /***/ }),
1247
1247
 
1248
- /***/ 62:
1248
+ /***/ 63:
1249
1249
  /***/ (function(module, exports) {
1250
1250
 
1251
1251
  module.exports = require("@splunk/react-icons/enterprise/External");
1252
1252
 
1253
1253
  /***/ }),
1254
1254
 
1255
- /***/ 67:
1255
+ /***/ 68:
1256
1256
  /***/ (function(module, exports) {
1257
1257
 
1258
1258
  module.exports = require("@splunk/themes/useSplunkTheme");
@@ -1266,28 +1266,28 @@ module.exports = require("@splunk/ui-utils/keyboard");
1266
1266
 
1267
1267
  /***/ }),
1268
1268
 
1269
- /***/ 76:
1269
+ /***/ 75:
1270
1270
  /***/ (function(module, exports) {
1271
1271
 
1272
- module.exports = require("@splunk/react-ui/Heading");
1272
+ module.exports = require("@splunk/react-icons/Checkmark");
1273
1273
 
1274
1274
  /***/ }),
1275
1275
 
1276
- /***/ 86:
1276
+ /***/ 77:
1277
1277
  /***/ (function(module, exports) {
1278
1278
 
1279
- module.exports = require("@splunk/react-icons/Checkmark");
1279
+ module.exports = require("@splunk/react-ui/Heading");
1280
1280
 
1281
1281
  /***/ }),
1282
1282
 
1283
- /***/ 87:
1283
+ /***/ 86:
1284
1284
  /***/ (function(module, exports) {
1285
1285
 
1286
1286
  module.exports = require("@splunk/react-ui/Scroll");
1287
1287
 
1288
1288
  /***/ }),
1289
1289
 
1290
- /***/ 89:
1290
+ /***/ 88:
1291
1291
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1292
1292
 
1293
1293
  "use strict";
@@ -1316,14 +1316,14 @@ var scrollIntoViewIfNeeded = function scrollIntoViewIfNeeded(el) {
1316
1316
 
1317
1317
  /***/ }),
1318
1318
 
1319
- /***/ 94:
1319
+ /***/ 93:
1320
1320
  /***/ (function(module, exports) {
1321
1321
 
1322
1322
  module.exports = require("@splunk/react-icons/ArrowSquareTopRight");
1323
1323
 
1324
1324
  /***/ }),
1325
1325
 
1326
- /***/ 95:
1326
+ /***/ 94:
1327
1327
  /***/ (function(module, exports) {
1328
1328
 
1329
1329
  module.exports = require("@splunk/react-icons/enterprise/Check");
package/Message.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 180);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 181);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -104,13 +104,6 @@ module.exports = require("prop-types");
104
104
  /***/ 100:
105
105
  /***/ (function(module, exports) {
106
106
 
107
- module.exports = require("@splunk/react-icons/enterprise/Success");
108
-
109
- /***/ }),
110
-
111
- /***/ 101:
112
- /***/ (function(module, exports) {
113
-
114
107
  module.exports = require("@splunk/react-icons/enterprise/Warning");
115
108
 
116
109
  /***/ }),
@@ -129,7 +122,7 @@ module.exports = require("@splunk/react-ui/MessageBar");
129
122
 
130
123
  /***/ }),
131
124
 
132
- /***/ 180:
125
+ /***/ 181:
133
126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
134
127
 
135
128
  "use strict";
@@ -149,7 +142,7 @@ var external_prop_types_ = __webpack_require__(1);
149
142
  var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
150
143
 
151
144
  // EXTERNAL MODULE: external "@splunk/react-icons/CheckCircle"
152
- var CheckCircle_ = __webpack_require__(69);
145
+ var CheckCircle_ = __webpack_require__(70);
153
146
  var CheckCircle_default = /*#__PURE__*/__webpack_require__.n(CheckCircle_);
154
147
 
155
148
  // EXTERNAL MODULE: external "@splunk/react-icons/Cross"
@@ -161,31 +154,31 @@ var Close_ = __webpack_require__(26);
161
154
  var Close_default = /*#__PURE__*/__webpack_require__.n(Close_);
162
155
 
163
156
  // EXTERNAL MODULE: external "@splunk/react-icons/ExclamationCircle"
164
- var ExclamationCircle_ = __webpack_require__(70);
157
+ var ExclamationCircle_ = __webpack_require__(71);
165
158
  var ExclamationCircle_default = /*#__PURE__*/__webpack_require__.n(ExclamationCircle_);
166
159
 
167
160
  // EXTERNAL MODULE: external "@splunk/react-icons/InformationCircle"
168
- var InformationCircle_ = __webpack_require__(96);
161
+ var InformationCircle_ = __webpack_require__(95);
169
162
  var InformationCircle_default = /*#__PURE__*/__webpack_require__.n(InformationCircle_);
170
163
 
171
164
  // EXTERNAL MODULE: external "@splunk/react-icons/ExclamationTriangle"
172
- var ExclamationTriangle_ = __webpack_require__(97);
165
+ var ExclamationTriangle_ = __webpack_require__(96);
173
166
  var ExclamationTriangle_default = /*#__PURE__*/__webpack_require__.n(ExclamationTriangle_);
174
167
 
175
168
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Error"
176
- var Error_ = __webpack_require__(98);
169
+ var Error_ = __webpack_require__(97);
177
170
  var Error_default = /*#__PURE__*/__webpack_require__.n(Error_);
178
171
 
179
172
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/InfoCircle"
180
- var InfoCircle_ = __webpack_require__(99);
173
+ var InfoCircle_ = __webpack_require__(98);
181
174
  var InfoCircle_default = /*#__PURE__*/__webpack_require__.n(InfoCircle_);
182
175
 
183
176
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Success"
184
- var Success_ = __webpack_require__(100);
177
+ var Success_ = __webpack_require__(99);
185
178
  var Success_default = /*#__PURE__*/__webpack_require__.n(Success_);
186
179
 
187
180
  // EXTERNAL MODULE: external "@splunk/react-icons/enterprise/Warning"
188
- var Warning_ = __webpack_require__(101);
181
+ var Warning_ = __webpack_require__(100);
189
182
  var Warning_default = /*#__PURE__*/__webpack_require__.n(Warning_);
190
183
 
191
184
  // EXTERNAL MODULE: external "@splunk/react-ui/MessageBar"
@@ -352,11 +345,11 @@ var StyledBox = external_styled_components_default()(Box_default.a).withConfig({
352
345
  enterprise: '5px'
353
346
  }), themes_["variables"].spacingSmall, Object(themes_["pickVariant"])('$hasRemoveIcon', {
354
347
  "true": {
355
- prisma: '10px 40px 10px 36px',
348
+ prisma: '10px 40px 10px 28px',
356
349
  enterprise: '10px 40px 10px 40px'
357
350
  },
358
351
  "false": {
359
- prisma: '10px 8px 10px 36px',
352
+ prisma: '10px 8px 10px 28px',
360
353
  enterprise: '10px 10px 10px 40px'
361
354
  }
362
355
  }), function (_ref3) {
@@ -589,46 +582,53 @@ module.exports = require("@splunk/react-ui/Box");
589
582
 
590
583
  /***/ }),
591
584
 
592
- /***/ 69:
585
+ /***/ 70:
593
586
  /***/ (function(module, exports) {
594
587
 
595
588
  module.exports = require("@splunk/react-icons/CheckCircle");
596
589
 
597
590
  /***/ }),
598
591
 
599
- /***/ 70:
592
+ /***/ 71:
600
593
  /***/ (function(module, exports) {
601
594
 
602
595
  module.exports = require("@splunk/react-icons/ExclamationCircle");
603
596
 
604
597
  /***/ }),
605
598
 
606
- /***/ 96:
599
+ /***/ 95:
607
600
  /***/ (function(module, exports) {
608
601
 
609
602
  module.exports = require("@splunk/react-icons/InformationCircle");
610
603
 
611
604
  /***/ }),
612
605
 
613
- /***/ 97:
606
+ /***/ 96:
614
607
  /***/ (function(module, exports) {
615
608
 
616
609
  module.exports = require("@splunk/react-icons/ExclamationTriangle");
617
610
 
618
611
  /***/ }),
619
612
 
620
- /***/ 98:
613
+ /***/ 97:
621
614
  /***/ (function(module, exports) {
622
615
 
623
616
  module.exports = require("@splunk/react-icons/enterprise/Error");
624
617
 
625
618
  /***/ }),
626
619
 
627
- /***/ 99:
620
+ /***/ 98:
628
621
  /***/ (function(module, exports) {
629
622
 
630
623
  module.exports = require("@splunk/react-icons/enterprise/InfoCircle");
631
624
 
625
+ /***/ }),
626
+
627
+ /***/ 99:
628
+ /***/ (function(module, exports) {
629
+
630
+ module.exports = require("@splunk/react-icons/enterprise/Success");
631
+
632
632
  /***/ })
633
633
 
634
634
  /******/ });