@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.
- package/Accordion.js +2 -2
- package/AnimationToggle.js +5 -5
- package/Button.js +7 -7
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +40 -7
- package/Calendar.js +7 -5
- package/CloseButton.js +5 -5
- package/Code.js +7 -6
- package/Color.js +206 -179
- package/ColumnLayout.js +8 -8
- package/ComboBox.js +2 -0
- package/Concertina.js +10 -10
- package/DefinitionList.js +2 -2
- package/Dropdown.js +7 -7
- package/DualListbox.js +11 -8
- package/File.js +9 -9
- package/FormRows.js +4 -4
- package/Heading.js +8 -4
- package/JSONTree.js +30 -28
- package/Layer.js +10 -10
- package/Link.js +4 -4
- package/List.js +7 -4
- package/MIGRATION.mdx +295 -0
- package/Markdown.js +12 -7
- package/Menu.js +19 -19
- package/Message.js +25 -25
- package/MessageBar.js +21 -21
- package/Modal.js +7 -7
- package/Multiselect.js +46 -36
- package/Number.js +3 -2
- package/Paginator.js +6 -6
- package/Popover.js +17 -13
- package/Progress.js +2 -2
- package/RadioBar.js +2 -2
- package/RadioList.js +2 -2
- package/Resize.js +2 -2
- package/Scroll.js +2 -2
- package/Select.js +14 -13
- package/SidePanel.js +2 -2
- package/Slider.js +7 -7
- package/StepBar.js +8 -8
- package/Switch.js +2 -2
- package/TabBar.js +85 -54
- package/Table.js +13 -13
- package/Text.js +7 -7
- package/TextArea.js +8 -6
- package/Typography.js +2 -2
- package/package.json +10 -15
- package/stubs-dependencies.d.ts +0 -9
- package/stubs-splunkui.d.ts +0 -24
- package/types/src/Button/Button.d.ts +5 -3
- package/types/src/Clickable/Clickable.d.ts +2 -1
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +1 -0
- package/types/src/Color/Color.d.ts +6 -6
- package/types/src/Color/Palette.d.ts +46 -0
- package/types/src/Concertina/Panel.d.ts +1 -0
- package/types/src/FormRows/Row.d.ts +1 -0
- package/types/src/Heading/Heading.d.ts +7 -2
- package/types/src/JSONTree/JSONTree.d.ts +2 -1
- package/types/src/Layer/Layer.d.ts +2 -0
- package/types/src/List/List.d.ts +9 -1
- package/types/src/List/docs/examples/CustomizedList.d.ts +2 -0
- package/types/src/List/docs/examples/OrderedList.d.ts +2 -0
- package/types/src/List/docs/examples/UnorderedList.d.ts +2 -0
- package/types/src/Markdown/Markdown.d.ts +1 -0
- package/types/src/Markdown/renderers/MarkdownList.d.ts +2 -0
- package/types/src/Multiselect/Normal.d.ts +1 -1
- package/types/src/Number/Number.d.ts +9 -4
- package/types/src/Popover/Popover.d.ts +2 -0
- package/types/src/TabBar/Tab.d.ts +5 -1
- package/types/src/Table/Head.d.ts +1 -0
- package/types/src/Table/HeadCell.d.ts +1 -0
- package/types/src/Table/HeadDropdownCell.d.ts +1 -0
- package/types/src/Table/Table.d.ts +3 -1
- package/types/src/Text/Text.d.ts +3 -1
- package/types/src/TextArea/TextArea.d.ts +13 -4
- package/types/src/TextArea/docs/examples/ClearContent.d.ts +2 -0
- package/MIGRATION.md +0 -49
- package/types/src/List/docs/examples/Decimal.d.ts +0 -2
- package/types/src/List/docs/examples/Disc.d.ts +0 -2
- package/types/src/List/docs/examples/LowerAlpha.d.ts +0 -2
- package/types/src/List/docs/examples/UpperAlpha.d.ts +0 -2
package/Accordion.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 189);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/CollapsiblePanel");
|
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 189:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|
package/AnimationToggle.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 190);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -94,7 +94,7 @@ module.exports = require("prop-types");
|
|
|
94
94
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
|
-
/***/
|
|
97
|
+
/***/ 190:
|
|
98
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
99
|
|
|
100
100
|
"use strict";
|
|
@@ -213,14 +213,14 @@ function AnimationToggle(_ref) {
|
|
|
213
213
|
var animationToggle = useAnimationToggle_useAnimationToggle();
|
|
214
214
|
|
|
215
215
|
if (animationToggle === 'on') {
|
|
216
|
-
return callMeMaybe(on);
|
|
216
|
+
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, callMeMaybe(on));
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
if (animationToggle === 'reduced' && reduced) {
|
|
220
|
-
return callMeMaybe(reduced);
|
|
220
|
+
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, callMeMaybe(reduced));
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
return callMeMaybe(off); // react-docgen ignores components that don't use JSX/React.createElement.
|
|
223
|
+
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null, callMeMaybe(off)); // react-docgen ignores components that don't use JSX/React.createElement.
|
|
224
224
|
// the following line forces detection:
|
|
225
225
|
|
|
226
226
|
return /*#__PURE__*/external_react_default.a.createElement(external_react_default.a.Fragment, null); // eslint-disable-line no-unreachable
|
package/Button.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 191);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,7 +108,7 @@ module.exports = require("@splunk/react-icons/ArrowSquareTopRightInset");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 191:
|
|
112
112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
113
113
|
|
|
114
114
|
"use strict";
|
|
@@ -141,7 +141,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
141
141
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/react-ui/ButtonSimple"
|
|
144
|
-
var ButtonSimple_ = __webpack_require__(
|
|
144
|
+
var ButtonSimple_ = __webpack_require__(62);
|
|
145
145
|
var ButtonSimple_default = /*#__PURE__*/__webpack_require__.n(ButtonSimple_);
|
|
146
146
|
|
|
147
147
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -169,7 +169,7 @@ var StyledIcon = external_styled_components_default.a.span.withConfig({
|
|
|
169
169
|
var StyledButtonSimple = external_styled_components_default()(ButtonSimple_default.a).withConfig({
|
|
170
170
|
displayName: "ButtonStyles__StyledButtonSimple",
|
|
171
171
|
componentId: "eqxqs2-1"
|
|
172
|
-
})(["text-align:center;vertical-align:middle;text-decoration:none;white-space:nowrap;flex-grow:1;min-width:0;max-width:100%;line-height:", ";min-height:", ";padding:", ";", " ", " &[data-inline]{display:inline-block;vertical-align:middle;", "
|
|
172
|
+
})(["text-align:center;vertical-align:middle;text-decoration:none;white-space:nowrap;flex-grow:1;min-width:0;max-width:100%;line-height:", ";min-height:", ";padding:", ";", " ", " &[data-inline]{display:inline-block;vertical-align:middle;", "}[data-inline] + &&[data-inline]{margin-bottom:0;", "}"], themes_["variables"].lineHeight, themes_["variables"].inputHeight, Object(themes_["pick"])({
|
|
173
173
|
enterprise: {
|
|
174
174
|
comfortable: '5px 14px',
|
|
175
175
|
compact: '2px 14px'
|
|
@@ -307,7 +307,7 @@ var ArrowSquareTopRightInset_ = __webpack_require__(122);
|
|
|
307
307
|
var ArrowSquareTopRightInset_default = /*#__PURE__*/__webpack_require__.n(ArrowSquareTopRightInset_);
|
|
308
308
|
|
|
309
309
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/External"
|
|
310
|
-
var External_ = __webpack_require__(
|
|
310
|
+
var External_ = __webpack_require__(63);
|
|
311
311
|
var External_default = /*#__PURE__*/__webpack_require__.n(External_);
|
|
312
312
|
|
|
313
313
|
// EXTERNAL MODULE: external "@splunk/ui-utils/i18n"
|
|
@@ -602,14 +602,14 @@ module.exports = require("@splunk/react-icons/enterprise/Caret");
|
|
|
602
602
|
|
|
603
603
|
/***/ }),
|
|
604
604
|
|
|
605
|
-
/***/
|
|
605
|
+
/***/ 62:
|
|
606
606
|
/***/ (function(module, exports) {
|
|
607
607
|
|
|
608
608
|
module.exports = require("@splunk/react-ui/ButtonSimple");
|
|
609
609
|
|
|
610
610
|
/***/ }),
|
|
611
611
|
|
|
612
|
-
/***/
|
|
612
|
+
/***/ 63:
|
|
613
613
|
/***/ (function(module, exports) {
|
|
614
614
|
|
|
615
615
|
module.exports = require("@splunk/react-icons/enterprise/External");
|
package/ButtonSimple.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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 192);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -115,7 +115,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 192:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,51 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.18.0 - July 12, 2023
|
|
5
|
+
----------
|
|
6
|
+
New Features:
|
|
7
|
+
* Added `ordered` prop to `List` component (SUI-5550).
|
|
8
|
+
|
|
9
|
+
Bug Fixes:
|
|
10
|
+
* `Number` Typescript now accepts `inputRef` prop to target the underlying text input.
|
|
11
|
+
* `Number` and `Text` components' focus methods now accept focus options.
|
|
12
|
+
* `TabBar` and `TabLayout` no longer renders `[object Object]` in the tooltip when `label` is a `React.Node` (SUI-5352).
|
|
13
|
+
* `Menu.Item` sets the correct size for svg elements passed to the `icon` prop in prisma themes.
|
|
14
|
+
|
|
15
|
+
Deprecations:
|
|
16
|
+
* `Heading`'s `level="s"` and `level="ss"` have been deprecated and will be removed in a future major version. See the migration guide for details (SUI-5536).
|
|
17
|
+
* `List`'s `type` prop has been deprecated and will be removed in a future major version (SUI-5551).
|
|
18
|
+
* List will default to `HTMLUListElement`. Use `ordered` prop to set list to `HTMLOListElement`.
|
|
19
|
+
* Use CSS to style the `list-style-type` property.
|
|
20
|
+
|
|
21
|
+
4.17.1 - June 6, 2023
|
|
22
|
+
----------
|
|
23
|
+
Bug Fixes:
|
|
24
|
+
* `Multiselect` should respect `aria-label` and `labelledBy` props (SUI-5510).
|
|
25
|
+
* Fixed incorrect `aria-*` and `role` attributes in `Select` (SUI-5515).
|
|
26
|
+
* `Multiselect` and `ComboBox` now indicates an option is a new value (SUI-5541).
|
|
27
|
+
* `Message` now has reduced spacing between icon and text (SUI-5448).
|
|
28
|
+
* Fixed incorrect `role=status` and required aria attribute in `Multiselect` (SUI-5517).
|
|
29
|
+
* `Select` now has correct focus behavior when it has a filter, above placement, and an empty value (SUI-5525).
|
|
30
|
+
* Fixes an issue where the "close" buttons in `SideNav`, `FormRows`, `Modal`, and `SidePanel` were missing accessible names in version 4.17.0 (SUI-5566).
|
|
31
|
+
|
|
32
|
+
API Changes:
|
|
33
|
+
* Added support for the latest `styled-components@5` (SUI-5467).
|
|
34
|
+
|
|
35
|
+
Deprecations:
|
|
36
|
+
* `TextArea`'s `canClear` prop has been deprecated. If the "clear" action is required, we recommend implementing it via an adjacent "clear" button. (SUI-5306).
|
|
37
|
+
|
|
4
38
|
4.17.0 - May 10, 2023
|
|
5
39
|
----------
|
|
6
40
|
New Features:
|
|
7
|
-
*
|
|
8
|
-
* `TabBar` and `TabLayout` support `layout="vertical"` in Prisma themes (SUI-2777).
|
|
9
|
-
* Adopt `react-icons@4.0.0-beta.2` (SUI-5342).
|
|
41
|
+
* Updated `@splunk/react-icons` dependency to v4:
|
|
10
42
|
* Components with icons in Prisma themes previously used private icons.
|
|
11
43
|
* These icons have been replaced with the icons from `react-icons`.
|
|
12
44
|
* Note: this may cause slight visual changes to align the components with the design system.
|
|
45
|
+
* `Code` will no longer throw an error with an invalid `language` prop, and will fall back to `javascript` instead. The fallback language can changed with the new `languageFallback` prop (SUI-5425).
|
|
46
|
+
* `TabBar` and `TabLayout` support `layout="vertical"` in Prisma themes (SUI-2777).
|
|
13
47
|
* New `DualListbox` component for listbox multi-selection (SUI-4251).
|
|
14
|
-
* Added `level`s 5 and 6 to `Heading
|
|
15
|
-
* Updated to ``@splunk/react-icons` dependency to `@splunk/react-icons@4`.
|
|
48
|
+
* Added `level`s 5 and 6 to `Heading`; `level={5}` maps to `h5` and `level={6}` maps to `h6`.
|
|
16
49
|
* `Typography` supports a new `variant` prop for styling (SUI-5286).
|
|
17
50
|
* Added `inline` prop to `SplitButton` (SUI-5388).
|
|
18
51
|
* `SplitButton` supports `appearance="destructive"` in Enterprise themes (SUI-5395).
|
|
@@ -27,7 +60,7 @@ Bug Fixes:
|
|
|
27
60
|
* Updated warning type `MessageBar`'s text color to improve contrast ratio (SUI-5310).
|
|
28
61
|
* Updated `TabBar`'s count background color to improve contrast ratio across different backgrounds (SUI-5274).
|
|
29
62
|
* `Tab` no longer throws error for custom data-test props (SUI-5373).
|
|
30
|
-
* Fixed slight vertical misalignment of Message icon with text.
|
|
63
|
+
* Fixed slight vertical misalignment of `Message`'s icon with text.
|
|
31
64
|
* `Menu` no longer unnecessarily recomputes the `onFocus` handler of `Item` (SUI-5369).
|
|
32
65
|
|
|
33
66
|
Type Changes:
|
|
@@ -108,7 +141,7 @@ Bug Fixes:
|
|
|
108
141
|
----------
|
|
109
142
|
New Features:
|
|
110
143
|
* New `Divider` component for separating components with horizontal or vertical rules (SUI-4080).
|
|
111
|
-
* Added `inputOnly` prop to `Date` (SUI-3809).
|
|
144
|
+
* Added `inputOnly` prop to `Date` for Prisma theme (SUI-3809).
|
|
112
145
|
* Added a `renderChildrenWhenCollapsed` prop to `CollapsiblePanel` and `TransitionOpen` which defaults to `false` (SUI-4321).
|
|
113
146
|
* Added a `divider` prop to `Modal` to show dividers between header, body and footer. The value defaults to `both` (SUI-3443).
|
|
114
147
|
* `ControlGroup`'s `error` prop now takes `boolean` or `string` (SUI-5086).
|
package/Calendar.js
CHANGED
|
@@ -177,7 +177,7 @@ var external_moment_default = /*#__PURE__*/__webpack_require__.n(external_moment
|
|
|
177
177
|
var id_ = __webpack_require__(8);
|
|
178
178
|
|
|
179
179
|
// EXTERNAL MODULE: external "lodash/times"
|
|
180
|
-
var times_ = __webpack_require__(
|
|
180
|
+
var times_ = __webpack_require__(78);
|
|
181
181
|
var times_default = /*#__PURE__*/__webpack_require__.n(times_);
|
|
182
182
|
|
|
183
183
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -323,6 +323,7 @@ function Day(_ref) {
|
|
|
323
323
|
"data-test-day": day,
|
|
324
324
|
"data-test": "day-of-month",
|
|
325
325
|
"data-active-day": active,
|
|
326
|
+
"data-is-today": today,
|
|
326
327
|
onClick: handleClick,
|
|
327
328
|
onKeyDown: handleKeyDown,
|
|
328
329
|
$today: today,
|
|
@@ -651,7 +652,7 @@ var ChevronRight_ = __webpack_require__(43);
|
|
|
651
652
|
var ChevronRight_default = /*#__PURE__*/__webpack_require__.n(ChevronRight_);
|
|
652
653
|
|
|
653
654
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronLeft"
|
|
654
|
-
var enterprise_ChevronLeft_ = __webpack_require__(
|
|
655
|
+
var enterprise_ChevronLeft_ = __webpack_require__(64);
|
|
655
656
|
var enterprise_ChevronLeft_default = /*#__PURE__*/__webpack_require__.n(enterprise_ChevronLeft_);
|
|
656
657
|
|
|
657
658
|
// EXTERNAL MODULE: external "@splunk/react-icons/enterprise/ChevronRight"
|
|
@@ -1068,7 +1069,8 @@ var Calendar_Calendar = /*#__PURE__*/function (_Component) {
|
|
|
1068
1069
|
inline: true,
|
|
1069
1070
|
"aria-labelledby": labelledBy,
|
|
1070
1071
|
"aria-describedby": describedBy,
|
|
1071
|
-
"aria-required": required
|
|
1072
|
+
"aria-required": required,
|
|
1073
|
+
"data-test": "calendar"
|
|
1072
1074
|
}, omit_default()(this.props, keys_default()(Calendar.propTypes)), {
|
|
1073
1075
|
elementRef: this.handleCalendarMount
|
|
1074
1076
|
}), /*#__PURE__*/external_react_default.a.createElement(Calendar_MonthHeader, {
|
|
@@ -1169,7 +1171,7 @@ module.exports = require("@splunk/react-ui/Box");
|
|
|
1169
1171
|
|
|
1170
1172
|
/***/ }),
|
|
1171
1173
|
|
|
1172
|
-
/***/
|
|
1174
|
+
/***/ 64:
|
|
1173
1175
|
/***/ (function(module, exports) {
|
|
1174
1176
|
|
|
1175
1177
|
module.exports = require("@splunk/react-icons/enterprise/ChevronLeft");
|
|
@@ -1183,7 +1185,7 @@ module.exports = require("@splunk/ui-utils/keyboard");
|
|
|
1183
1185
|
|
|
1184
1186
|
/***/ }),
|
|
1185
1187
|
|
|
1186
|
-
/***/
|
|
1188
|
+
/***/ 78:
|
|
1187
1189
|
/***/ (function(module, exports) {
|
|
1188
1190
|
|
|
1189
1191
|
module.exports = require("lodash/times");
|
package/CloseButton.js
CHANGED
|
@@ -145,7 +145,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
145
145
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
146
146
|
|
|
147
147
|
// EXTERNAL MODULE: external "@splunk/react-ui/ButtonSimple"
|
|
148
|
-
var ButtonSimple_ = __webpack_require__(
|
|
148
|
+
var ButtonSimple_ = __webpack_require__(62);
|
|
149
149
|
var ButtonSimple_default = /*#__PURE__*/__webpack_require__.n(ButtonSimple_);
|
|
150
150
|
|
|
151
151
|
// CONCATENATED MODULE: ./src/CloseButton/CloseButtonStyles.ts
|
|
@@ -191,14 +191,14 @@ function CloseButton(_ref) {
|
|
|
191
191
|
var prismaSize = isCompact ? '20px' : '24px';
|
|
192
192
|
return /*#__PURE__*/external_react_default.a.createElement(StyledButtonSimple, _extends({
|
|
193
193
|
appearance: "pill",
|
|
194
|
-
disabled: disabled
|
|
194
|
+
disabled: disabled,
|
|
195
|
+
"aria-label": screenReaderText
|
|
195
196
|
}, otherProps), isEnterprise ? /*#__PURE__*/external_react_default.a.createElement(Close_default.a, {
|
|
196
197
|
"data-test": "cross",
|
|
197
198
|
inline: false,
|
|
198
|
-
screenReaderText:
|
|
199
|
+
screenReaderText: null,
|
|
199
200
|
size: "13px"
|
|
200
201
|
}) : /*#__PURE__*/external_react_default.a.createElement(Cross_default.a, {
|
|
201
|
-
"aria-label": screenReaderText,
|
|
202
202
|
"data-test": "cross",
|
|
203
203
|
height: prismaSize,
|
|
204
204
|
width: prismaSize
|
|
@@ -240,7 +240,7 @@ module.exports = require("@splunk/ui-utils/i18n");
|
|
|
240
240
|
|
|
241
241
|
/***/ }),
|
|
242
242
|
|
|
243
|
-
/***/
|
|
243
|
+
/***/ 62:
|
|
244
244
|
/***/ (function(module, exports) {
|
|
245
245
|
|
|
246
246
|
module.exports = require("@splunk/react-ui/ButtonSimple");
|
package/Code.js
CHANGED
|
@@ -2323,7 +2323,7 @@ var external_prop_types_ = __webpack_require__(1);
|
|
|
2323
2323
|
var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_prop_types_);
|
|
2324
2324
|
|
|
2325
2325
|
// EXTERNAL MODULE: external "lodash/castArray"
|
|
2326
|
-
var castArray_ = __webpack_require__(
|
|
2326
|
+
var castArray_ = __webpack_require__(65);
|
|
2327
2327
|
var castArray_default = /*#__PURE__*/__webpack_require__.n(castArray_);
|
|
2328
2328
|
|
|
2329
2329
|
// EXTERNAL MODULE: external "lodash/flatten"
|
|
@@ -2335,11 +2335,11 @@ var indexOf_ = __webpack_require__(81);
|
|
|
2335
2335
|
var indexOf_default = /*#__PURE__*/__webpack_require__.n(indexOf_);
|
|
2336
2336
|
|
|
2337
2337
|
// EXTERNAL MODULE: external "lodash/repeat"
|
|
2338
|
-
var repeat_ = __webpack_require__(
|
|
2338
|
+
var repeat_ = __webpack_require__(79);
|
|
2339
2339
|
var repeat_default = /*#__PURE__*/__webpack_require__.n(repeat_);
|
|
2340
2340
|
|
|
2341
2341
|
// EXTERNAL MODULE: external "lodash/times"
|
|
2342
|
-
var times_ = __webpack_require__(
|
|
2342
|
+
var times_ = __webpack_require__(78);
|
|
2343
2343
|
var times_default = /*#__PURE__*/__webpack_require__.n(times_);
|
|
2344
2344
|
|
|
2345
2345
|
// EXTERNAL MODULE: ./src/Code/prism/prism.empty
|
|
@@ -2567,6 +2567,7 @@ function Code(_ref) {
|
|
|
2567
2567
|
|
|
2568
2568
|
var content = typeof part.content === 'string' ? part.content : render(part.content);
|
|
2569
2569
|
return /*#__PURE__*/external_react_default.a.createElement(StyledToken, {
|
|
2570
|
+
"data-part-type": part.type,
|
|
2570
2571
|
partType: part.type,
|
|
2571
2572
|
key: idx.toString()
|
|
2572
2573
|
}, content);
|
|
@@ -2597,21 +2598,21 @@ module.exports = require("styled-components");
|
|
|
2597
2598
|
|
|
2598
2599
|
/***/ }),
|
|
2599
2600
|
|
|
2600
|
-
/***/
|
|
2601
|
+
/***/ 65:
|
|
2601
2602
|
/***/ (function(module, exports) {
|
|
2602
2603
|
|
|
2603
2604
|
module.exports = require("lodash/castArray");
|
|
2604
2605
|
|
|
2605
2606
|
/***/ }),
|
|
2606
2607
|
|
|
2607
|
-
/***/
|
|
2608
|
+
/***/ 78:
|
|
2608
2609
|
/***/ (function(module, exports) {
|
|
2609
2610
|
|
|
2610
2611
|
module.exports = require("lodash/times");
|
|
2611
2612
|
|
|
2612
2613
|
/***/ }),
|
|
2613
2614
|
|
|
2614
|
-
/***/
|
|
2615
|
+
/***/ 79:
|
|
2615
2616
|
/***/ (function(module, exports) {
|
|
2616
2617
|
|
|
2617
2618
|
module.exports = require("lodash/repeat");
|