@splunk/react-ui 4.17.1 → 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 +2 -2
- package/ButtonSimple.js +2 -2
- package/CHANGELOG.md +18 -2
- package/Calendar.js +2 -2
- package/Code.js +4 -4
- package/Color.js +202 -175
- package/ColumnLayout.js +6 -6
- package/Concertina.js +6 -6
- package/DefinitionList.js +2 -2
- package/Dropdown.js +4 -4
- package/DualListbox.js +9 -6
- package/File.js +7 -7
- package/FormRows.js +4 -4
- package/Heading.js +8 -4
- package/JSONTree.js +30 -28
- package/Layer.js +10 -10
- package/Link.js +2 -2
- package/List.js +7 -4
- package/MIGRATION.mdx +295 -0
- package/Markdown.js +12 -7
- package/Menu.js +15 -15
- package/Message.js +19 -19
- package/MessageBar.js +17 -17
- package/Modal.js +7 -7
- package/Multiselect.js +11 -11
- package/Number.js +3 -2
- package/Paginator.js +2 -2
- package/Popover.js +15 -11
- package/RadioBar.js +2 -2
- package/RadioList.js +2 -2
- package/Resize.js +2 -2
- package/Scroll.js +2 -2
- package/Select.js +6 -6
- package/SidePanel.js +2 -2
- package/Slider.js +5 -5
- package/StepBar.js +2 -2
- package/Switch.js +2 -2
- package/TabBar.js +66 -49
- package/Table.js +10 -10
- package/Text.js +5 -5
- package/TextArea.js +4 -4
- package/Typography.js +2 -2
- package/package.json +6 -11
- package/stubs-dependencies.d.ts +0 -9
- 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/Number/Number.d.ts +9 -4
- package/types/src/Popover/Popover.d.ts +2 -0
- package/types/src/TabBar/Tab.d.ts +2 -0
- 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 +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";
|
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,9 +1,25 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
-
4.
|
|
4
|
+
4.18.0 - July 12, 2023
|
|
5
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.
|
|
6
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
|
+
----------
|
|
7
23
|
Bug Fixes:
|
|
8
24
|
* `Multiselect` should respect `aria-label` and `labelledBy` props (SUI-5510).
|
|
9
25
|
* Fixed incorrect `aria-*` and `role` attributes in `Select` (SUI-5515).
|
|
@@ -125,7 +141,7 @@ Bug Fixes:
|
|
|
125
141
|
----------
|
|
126
142
|
New Features:
|
|
127
143
|
* New `Divider` component for separating components with horizontal or vertical rules (SUI-4080).
|
|
128
|
-
* Added `inputOnly` prop to `Date` (SUI-3809).
|
|
144
|
+
* Added `inputOnly` prop to `Date` for Prisma theme (SUI-3809).
|
|
129
145
|
* Added a `renderChildrenWhenCollapsed` prop to `CollapsiblePanel` and `TransitionOpen` which defaults to `false` (SUI-4321).
|
|
130
146
|
* Added a `divider` prop to `Modal` to show dividers between header, body and footer. The value defaults to `both` (SUI-3443).
|
|
131
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"
|
|
@@ -1185,7 +1185,7 @@ module.exports = require("@splunk/ui-utils/keyboard");
|
|
|
1185
1185
|
|
|
1186
1186
|
/***/ }),
|
|
1187
1187
|
|
|
1188
|
-
/***/
|
|
1188
|
+
/***/ 78:
|
|
1189
1189
|
/***/ (function(module, exports) {
|
|
1190
1190
|
|
|
1191
1191
|
module.exports = require("lodash/times");
|
package/Code.js
CHANGED
|
@@ -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
|
|
@@ -2605,14 +2605,14 @@ module.exports = require("lodash/castArray");
|
|
|
2605
2605
|
|
|
2606
2606
|
/***/ }),
|
|
2607
2607
|
|
|
2608
|
-
/***/
|
|
2608
|
+
/***/ 78:
|
|
2609
2609
|
/***/ (function(module, exports) {
|
|
2610
2610
|
|
|
2611
2611
|
module.exports = require("lodash/times");
|
|
2612
2612
|
|
|
2613
2613
|
/***/ }),
|
|
2614
2614
|
|
|
2615
|
-
/***/
|
|
2615
|
+
/***/ 79:
|
|
2616
2616
|
/***/ (function(module, exports) {
|
|
2617
2617
|
|
|
2618
2618
|
module.exports = require("lodash/repeat");
|