@splunk/react-ui 4.33.0 → 4.35.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/Breadcrumbs.js +20 -29
- package/Button.js +20 -23
- package/ButtonGroup.js +20 -23
- package/ButtonSimple.js +33 -34
- package/CHANGELOG.md +56 -1
- package/Card.js +129 -113
- package/Chip.js +75 -82
- package/CollapsiblePanel.js +281 -264
- package/Color.js +103 -93
- package/ComboBox.js +3 -2
- package/Concertina.js +139 -138
- package/ControlGroup.js +43 -39
- package/DualListbox.js +8 -11
- package/File.js +25 -30
- package/FormRows.js +53 -53
- package/Image.js +13 -13
- package/JSONTree.js +87 -85
- package/List.js +9 -13
- package/MIGRATION.mdx +100 -0
- package/Markdown.js +12 -12
- package/Menu.js +492 -699
- package/Message.js +192 -194
- package/MessageBar.js +104 -104
- package/Modal.js +2 -2
- package/Monogram.js +140 -94
- package/Multiselect.js +45 -49
- package/Paginator.js +8 -8
- package/Popover.js +53 -54
- package/Progress.js +45 -46
- package/RadioBar.js +117 -115
- package/RadioList.js +8 -5
- package/ResultsMenu.js +272 -279
- package/Search.js +197 -199
- package/Select.js +86 -84
- package/Slider.js +9 -9
- package/SplitButton.js +1 -4
- package/StaticContent.js +1 -1
- package/StepBar.js +92 -88
- package/Switch.js +217 -211
- package/TabBar.js +13 -5
- package/Table.js +714 -717
- package/Text.js +94 -83
- package/TextArea.js +162 -163
- package/Tooltip.js +1 -1
- package/package.json +8 -8
- package/stubs-splunkui.d.ts +11 -0
- package/types/src/Breadcrumbs/Breadcrumbs.d.ts +0 -1
- package/types/src/Breadcrumbs/Item.d.ts +0 -1
- package/types/src/Card/Card.d.ts +3 -1
- package/types/src/Card/Header.d.ts +22 -5
- package/types/src/Chip/Chip.d.ts +2 -4
- package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +5 -0
- package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +1 -3
- package/types/src/Color/Color.d.ts +5 -5
- package/types/src/ComboBox/Option.d.ts +0 -1
- package/types/src/List/List.d.ts +2 -4
- package/types/src/Menu/Heading.d.ts +1 -1
- package/types/src/Menu/Item.d.ts +10 -5
- package/types/src/Menu/Menu.d.ts +18 -26
- package/types/src/Menu/MenuContext.d.ts +3 -2
- package/types/src/Menu/docs/examples/Dimmed.d.ts +2 -0
- package/types/src/Monogram/Monogram.d.ts +5 -6
- package/types/src/Multiselect/Option.d.ts +0 -1
- package/types/src/Progress/Progress.d.ts +4 -1
- package/types/src/RadioBar/Option.d.ts +4 -1
- package/types/src/RadioBar/RadioBar.d.ts +6 -4
- package/types/src/RadioBar/docs/examples/MenuBar.d.ts +2 -0
- package/types/src/ResultsMenu/ResultsMenu.d.ts +13 -28
- package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +3 -5
- package/types/src/Search/Option.d.ts +19 -6
- package/types/src/Search/docs/examples/OptionsLinks.d.ts +2 -0
- package/types/src/Select/Option.d.ts +0 -1
- package/types/src/Select/OptionBase.d.ts +2 -3
- package/types/src/Select/Select.d.ts +2 -2
- package/types/src/Select/SelectBase.d.ts +2 -2
- package/types/src/Table/Body.d.ts +0 -4
- package/types/src/Table/DragHandle.d.ts +1 -2
- package/types/src/Text/Text.d.ts +2 -0
- package/useRovingFocus.js +26 -40
- package/types/src/Select/docs/examples/prisma/Appearance.d.ts +0 -14
package/Markdown.js
CHANGED
|
@@ -96,11 +96,11 @@
|
|
|
96
96
|
var y = p().div.withConfig({
|
|
97
97
|
displayName: "MarkdownStyles__StyledCodeBlock",
|
|
98
98
|
componentId: "sc-1xadih-0"
|
|
99
|
-
})([ "
|
|
100
|
-
enterprise: d.variables.
|
|
101
|
-
prisma: (0, s.css)([ "10px ", "" ], d.variables.spacingLarge)
|
|
99
|
+
})([ "", ";margin:", " 0;background-color:", ";" ], (0, d.pick)({
|
|
100
|
+
enterprise: (0, s.css)([ "padding:", ";" ], d.variables.spacingSmall),
|
|
101
|
+
prisma: (0, s.css)([ "padding:10px ", ";" ], d.variables.spacingLarge)
|
|
102
102
|
}), (0, d.pick)({
|
|
103
|
-
enterprise: d.variables.
|
|
103
|
+
enterprise: d.variables.spacingSmall,
|
|
104
104
|
prisma: d.variables.spacingLarge
|
|
105
105
|
}), (0, d.pick)({
|
|
106
106
|
enterprise: {
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownCode.tsx
|
|
177
177
|
function w(e, r) {
|
|
178
178
|
if (e == null) return {};
|
|
179
|
-
var n =
|
|
179
|
+
var n = S(e, r);
|
|
180
180
|
var t, o;
|
|
181
181
|
if (Object.getOwnPropertySymbols) {
|
|
182
182
|
var i = Object.getOwnPropertySymbols(e);
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
}
|
|
190
190
|
return n;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function S(e, r) {
|
|
193
193
|
if (e == null) return {};
|
|
194
194
|
var n = {};
|
|
195
195
|
var t = Object.keys(e);
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
}
|
|
202
202
|
return n;
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var P = {
|
|
205
205
|
literal: i().string
|
|
206
206
|
};
|
|
207
207
|
function x(e) {
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
|
|
210
210
|
return t().createElement(v, n, r);
|
|
211
211
|
}
|
|
212
|
-
x.propTypes =
|
|
212
|
+
x.propTypes = P;
|
|
213
213
|
/* harmony default export */ const R = x;
|
|
214
214
|
// CONCATENATED MODULE: external "@splunk/react-ui/Code"
|
|
215
215
|
const E = require("@splunk/react-ui/Code");
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
// CONCATENATED MODULE: ./src/Markdown/renderers/MarkdownItem.tsx
|
|
597
597
|
function we(e, r) {
|
|
598
598
|
if (e == null) return {};
|
|
599
|
-
var n =
|
|
599
|
+
var n = Se(e, r);
|
|
600
600
|
var t, o;
|
|
601
601
|
if (Object.getOwnPropertySymbols) {
|
|
602
602
|
var i = Object.getOwnPropertySymbols(e);
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
}
|
|
610
610
|
return n;
|
|
611
611
|
}
|
|
612
|
-
function
|
|
612
|
+
function Se(e, r) {
|
|
613
613
|
if (e == null) return {};
|
|
614
614
|
var n = {};
|
|
615
615
|
var t = Object.keys(e);
|
|
@@ -621,7 +621,7 @@
|
|
|
621
621
|
}
|
|
622
622
|
return n;
|
|
623
623
|
}
|
|
624
|
-
var
|
|
624
|
+
var Pe = {
|
|
625
625
|
children: i().node
|
|
626
626
|
};
|
|
627
627
|
function xe(e) {
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
|
|
630
630
|
return t().createElement(ve.Item, n, r);
|
|
631
631
|
}
|
|
632
|
-
xe.propTypes =
|
|
632
|
+
xe.propTypes = Pe;
|
|
633
633
|
/* harmony default export */ const Re = xe;
|
|
634
634
|
// CONCATENATED MODULE: external "@splunk/react-ui/Paragraph"
|
|
635
635
|
const Ee = require("@splunk/react-ui/Paragraph");
|