@splunk/react-ui 4.3.0 → 4.5.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 +37 -21
- package/Anchor.js +2 -2
- package/Animation.js +2 -2
- package/AnimationToggle.js +2 -2
- package/Box.js +2 -2
- package/Button.js +36 -12
- package/ButtonGroup.js +27 -6
- package/ButtonSimple.js +6 -6
- package/CHANGELOG.md +57 -0
- package/Calendar.js +14 -14
- package/Card.js +51 -25
- package/CardLayout.js +31 -10
- package/Chip.js +77 -53
- package/Clickable.js +6 -6
- package/CloseButton.js +6 -6
- package/Code.js +1279 -1120
- package/CollapsiblePanel.js +6 -6
- package/Color.js +180 -209
- package/ColumnLayout.js +4 -4
- package/ComboBox.js +22 -17
- package/Concertina.js +56 -51
- package/ControlGroup.js +121 -32
- package/Date.js +62 -25
- package/DefinitionList.js +2 -2
- package/Dropdown.js +12 -12
- package/EventListener.js +168 -0
- package/FetchOptions.js +8 -8
- package/File.js +122 -96
- package/FormRows.js +66 -58
- package/Heading.js +2 -2
- package/Image.js +14 -14
- package/JSONTree.js +5 -5
- package/Layer.js +32 -20
- package/Link.js +8 -8
- package/List.js +2 -2
- package/Markdown.js +250 -88
- package/Menu.js +70 -64
- package/Message.js +18 -18
- package/Modal.js +70 -16
- package/ModalLayer.js +4 -4
- package/Monogram.js +12 -11
- package/Multiselect.js +124 -80
- package/Number.js +44 -34
- package/Paginator.js +10 -10
- package/Paragraph.js +2 -2
- package/Popover.js +54 -40
- package/Progress.js +8 -8
- package/RadioBar.js +45 -38
- package/RadioList.js +2 -2
- package/Resize.js +19 -15
- package/ResultsMenu.js +6 -6
- package/ScreenReaderContent.js +2 -2
- package/Scroll.js +25 -23
- package/ScrollContainerContext.js +5 -5
- package/Search.d.ts +2 -0
- package/Search.js +797 -0
- package/Select.js +85 -45
- package/SidePanel.js +6 -6
- package/Slider.js +34 -30
- package/SlidingPanels.js +6 -6
- package/StaticContent.js +2 -2
- package/StepBar.js +56 -52
- package/Switch.js +8 -8
- package/TabBar.js +126 -85
- package/TabLayout.js +4 -5
- package/Table.js +266 -155
- package/Text.js +486 -401
- package/Tooltip.js +11 -11
- package/TransitionOpen.js +11 -11
- package/WaitSpinner.js +3 -4
- package/package.json +5 -6
- package/types/src/Accordion/AccordionContext.d.ts +10 -0
- package/types/src/Accordion/Panel.d.ts +0 -9
- package/types/src/Button/Button.d.ts +4 -2
- package/types/src/ButtonGroup/ButtonGroupContext.d.ts +7 -0
- package/types/src/ButtonSimple/ButtonSimple.d.ts +5 -5
- package/types/src/Card/Card.d.ts +2 -0
- package/types/src/CardLayout/CardLayoutContext.d.ts +8 -0
- package/types/src/Color/Color.d.ts +2 -2
- package/types/src/Color/Swatch.d.ts +4 -15
- package/types/src/ComboBox/ComboBox.d.ts +4 -3
- package/types/src/Concertina/ConcertinaContext.d.ts +8 -0
- package/types/src/Concertina/Panel.d.ts +2 -4
- package/types/src/ControlGroup/ControlGroup.d.ts +11 -1
- package/types/src/ControlGroup/ControlGroupContext.d.ts +15 -0
- package/types/src/Date/Date.d.ts +6 -4
- package/types/src/EventListener/EventListener.d.ts +18 -0
- package/types/src/EventListener/index.d.ts +2 -0
- package/types/src/File/File.d.ts +6 -4
- package/types/src/File/FileContext.d.ts +9 -0
- package/types/src/File/Item.d.ts +5 -10
- package/types/src/FormRows/FormRows.d.ts +2 -2
- package/types/src/FormRows/FormRowsContext.d.ts +10 -0
- package/types/src/FormRows/Row.d.ts +5 -16
- package/types/src/Markdown/Markdown.d.ts +2 -0
- package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +14 -0
- package/types/src/Markdown/renderers/MarkdownCode.d.ts +15 -0
- package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +16 -0
- package/types/src/Markdown/renderers/MarkdownHeading.d.ts +15 -0
- package/types/src/Markdown/renderers/MarkdownImage.d.ts +18 -0
- package/types/src/Markdown/renderers/MarkdownItem.d.ts +14 -0
- package/types/src/Markdown/renderers/MarkdownLink.d.ts +18 -0
- package/types/src/Markdown/renderers/MarkdownList.d.ts +26 -0
- package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +14 -0
- package/types/src/Markdown/renderers/index.d.ts +10 -0
- package/types/src/Modal/Modal.d.ts +15 -3
- package/types/src/Monogram/Monogram.d.ts +5 -1
- package/types/src/Multiselect/Compact.d.ts +12 -4
- package/types/src/Multiselect/Multiselect.d.ts +14 -4
- package/types/src/Multiselect/Normal.d.ts +7 -2
- package/types/src/Number/Number.d.ts +11 -7
- package/types/src/Popover/Popover.d.ts +2 -2
- package/types/src/RadioBar/Option.d.ts +1 -15
- package/types/src/RadioBar/RadioBar.d.ts +2 -2
- package/types/src/RadioBar/RadioBarContext.d.ts +9 -0
- package/types/src/Scroll/Inner.d.ts +2 -2
- package/types/src/ScrollContainerContext/ScrollContainerContext.d.ts +4 -4
- package/types/src/Search/Option.d.ts +60 -0
- package/types/src/Search/Search.d.ts +97 -0
- package/types/src/Search/index.d.ts +2 -0
- package/types/src/Select/Select.d.ts +6 -2
- package/types/src/Select/SelectBase.d.ts +12 -5
- package/types/src/Slider/Slider.d.ts +2 -2
- package/types/src/StepBar/Step.d.ts +1 -13
- package/types/src/StepBar/StepBarContext.d.ts +8 -0
- package/types/src/TabBar/Tab.d.ts +5 -13
- package/types/src/TabBar/TabBarContext.d.ts +14 -0
- package/types/src/Table/Body.d.ts +1 -1
- package/types/src/Table/Head.d.ts +3 -1
- package/types/src/Table/HeadCell.d.ts +1 -1
- package/types/src/Table/HeadInner.d.ts +3 -3
- package/types/src/Table/Row.d.ts +10 -3
- package/types/src/Table/Table.d.ts +10 -5
- package/types/src/Text/Text.d.ts +33 -12
- package/types/src/icons/Sort.d.ts +3 -0
- package/types/src/usePrevious/index.d.ts +2 -0
- package/types/src/usePrevious/usePrevious.d.ts +12 -0
- package/usePrevious.js +137 -0
package/Tooltip.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 = 143);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -108,14 +108,14 @@ module.exports = require("@splunk/ui-utils/id");
|
|
|
108
108
|
|
|
109
109
|
/***/ }),
|
|
110
110
|
|
|
111
|
-
/***/
|
|
111
|
+
/***/ 12:
|
|
112
112
|
/***/ (function(module, exports) {
|
|
113
113
|
|
|
114
114
|
module.exports = require("@splunk/react-ui/Clickable");
|
|
115
115
|
|
|
116
116
|
/***/ }),
|
|
117
117
|
|
|
118
|
-
/***/
|
|
118
|
+
/***/ 143:
|
|
119
119
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
120
120
|
|
|
121
121
|
"use strict";
|
|
@@ -137,11 +137,11 @@ var external_prop_types_default = /*#__PURE__*/__webpack_require__.n(external_pr
|
|
|
137
137
|
var external_lodash_ = __webpack_require__(4);
|
|
138
138
|
|
|
139
139
|
// EXTERNAL MODULE: external "@splunk/react-ui/Popover"
|
|
140
|
-
var Popover_ = __webpack_require__(
|
|
140
|
+
var Popover_ = __webpack_require__(16);
|
|
141
141
|
var Popover_default = /*#__PURE__*/__webpack_require__.n(Popover_);
|
|
142
142
|
|
|
143
143
|
// EXTERNAL MODULE: external "@splunk/react-ui/ScreenReaderContent"
|
|
144
|
-
var ScreenReaderContent_ = __webpack_require__(
|
|
144
|
+
var ScreenReaderContent_ = __webpack_require__(15);
|
|
145
145
|
var ScreenReaderContent_default = /*#__PURE__*/__webpack_require__.n(ScreenReaderContent_);
|
|
146
146
|
|
|
147
147
|
// EXTERNAL MODULE: external "@splunk/themes"
|
|
@@ -154,7 +154,7 @@ var id_ = __webpack_require__(10);
|
|
|
154
154
|
var i18n_ = __webpack_require__(5);
|
|
155
155
|
|
|
156
156
|
// EXTERNAL MODULE: external "@splunk/react-icons/SVG"
|
|
157
|
-
var SVG_ = __webpack_require__(
|
|
157
|
+
var SVG_ = __webpack_require__(23);
|
|
158
158
|
var SVG_default = /*#__PURE__*/__webpack_require__.n(SVG_);
|
|
159
159
|
|
|
160
160
|
// CONCATENATED MODULE: ./src/Tooltip/InfoIcon.tsx
|
|
@@ -202,7 +202,7 @@ var external_styled_components_ = __webpack_require__(3);
|
|
|
202
202
|
var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
|
|
203
203
|
|
|
204
204
|
// EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
|
|
205
|
-
var Clickable_ = __webpack_require__(
|
|
205
|
+
var Clickable_ = __webpack_require__(12);
|
|
206
206
|
var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
|
|
207
207
|
|
|
208
208
|
// CONCATENATED MODULE: ./src/Tooltip/TooltipStyles.ts
|
|
@@ -515,7 +515,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
|
|
|
515
515
|
var openRender = !!anchor && this.isControlled() ? open : hasContent && this.state.open;
|
|
516
516
|
var StyledComp = inline ? StyledInline : Styled;
|
|
517
517
|
var StyledToggleComp = inline ? StyledToggleInline : StyledToggle;
|
|
518
|
-
var isPrisma = splunkTheme.
|
|
518
|
+
var isPrisma = splunkTheme.isPrisma;
|
|
519
519
|
var placement = isPrisma ? 'below' : 'above';
|
|
520
520
|
var cloneProps;
|
|
521
521
|
|
|
@@ -588,14 +588,14 @@ TooltipWithTheme.propTypes = Tooltip_Tooltip.propTypes;
|
|
|
588
588
|
|
|
589
589
|
/***/ }),
|
|
590
590
|
|
|
591
|
-
/***/
|
|
591
|
+
/***/ 15:
|
|
592
592
|
/***/ (function(module, exports) {
|
|
593
593
|
|
|
594
594
|
module.exports = require("@splunk/react-ui/ScreenReaderContent");
|
|
595
595
|
|
|
596
596
|
/***/ }),
|
|
597
597
|
|
|
598
|
-
/***/
|
|
598
|
+
/***/ 16:
|
|
599
599
|
/***/ (function(module, exports) {
|
|
600
600
|
|
|
601
601
|
module.exports = require("@splunk/react-ui/Popover");
|
|
@@ -609,7 +609,7 @@ module.exports = require("react");
|
|
|
609
609
|
|
|
610
610
|
/***/ }),
|
|
611
611
|
|
|
612
|
-
/***/
|
|
612
|
+
/***/ 23:
|
|
613
613
|
/***/ (function(module, exports) {
|
|
614
614
|
|
|
615
615
|
module.exports = require("@splunk/react-icons/SVG");
|
package/TransitionOpen.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 = 168);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 168:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -126,13 +126,13 @@ var external_lodash_ = __webpack_require__(4);
|
|
|
126
126
|
var Animation_ = __webpack_require__(30);
|
|
127
127
|
|
|
128
128
|
// EXTERNAL MODULE: external "@splunk/ui-utils/focus"
|
|
129
|
-
var focus_ = __webpack_require__(
|
|
129
|
+
var focus_ = __webpack_require__(25);
|
|
130
130
|
|
|
131
131
|
// EXTERNAL MODULE: external "@splunk/ui-utils/style"
|
|
132
|
-
var style_ = __webpack_require__(
|
|
132
|
+
var style_ = __webpack_require__(39);
|
|
133
133
|
|
|
134
134
|
// EXTERNAL MODULE: external "react-spring"
|
|
135
|
-
var external_react_spring_ = __webpack_require__(
|
|
135
|
+
var external_react_spring_ = __webpack_require__(18);
|
|
136
136
|
|
|
137
137
|
// EXTERNAL MODULE: external "styled-components"
|
|
138
138
|
var external_styled_components_ = __webpack_require__(3);
|
|
@@ -431,7 +431,7 @@ _defineProperty(TransitionOpen_TransitionOpen, "getDerivedStateFromProps", funct
|
|
|
431
431
|
|
|
432
432
|
/***/ }),
|
|
433
433
|
|
|
434
|
-
/***/
|
|
434
|
+
/***/ 18:
|
|
435
435
|
/***/ (function(module, exports) {
|
|
436
436
|
|
|
437
437
|
module.exports = require("react-spring");
|
|
@@ -445,7 +445,7 @@ module.exports = require("react");
|
|
|
445
445
|
|
|
446
446
|
/***/ }),
|
|
447
447
|
|
|
448
|
-
/***/
|
|
448
|
+
/***/ 25:
|
|
449
449
|
/***/ (function(module, exports) {
|
|
450
450
|
|
|
451
451
|
module.exports = require("@splunk/ui-utils/focus");
|
|
@@ -466,17 +466,17 @@ module.exports = require("@splunk/react-ui/Animation");
|
|
|
466
466
|
|
|
467
467
|
/***/ }),
|
|
468
468
|
|
|
469
|
-
/***/
|
|
469
|
+
/***/ 39:
|
|
470
470
|
/***/ (function(module, exports) {
|
|
471
471
|
|
|
472
|
-
module.exports = require("
|
|
472
|
+
module.exports = require("@splunk/ui-utils/style");
|
|
473
473
|
|
|
474
474
|
/***/ }),
|
|
475
475
|
|
|
476
|
-
/***/
|
|
476
|
+
/***/ 4:
|
|
477
477
|
/***/ (function(module, exports) {
|
|
478
478
|
|
|
479
|
-
module.exports = require("
|
|
479
|
+
module.exports = require("lodash");
|
|
480
480
|
|
|
481
481
|
/***/ })
|
|
482
482
|
|
package/WaitSpinner.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 = 169);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
-
/***/
|
|
104
|
+
/***/ 169:
|
|
105
105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
106
106
|
|
|
107
107
|
"use strict";
|
|
@@ -229,9 +229,8 @@ function WaitSpinner(_ref) {
|
|
|
229
229
|
var animated = Object(AnimationToggle_["useAnimationToggle"])() === 'on';
|
|
230
230
|
|
|
231
231
|
var _useSplunkTheme = Object(themes_["useSplunkTheme"])(),
|
|
232
|
-
|
|
232
|
+
isPrisma = _useSplunkTheme.isPrisma;
|
|
233
233
|
|
|
234
|
-
var isPrisma = family === 'prisma';
|
|
235
234
|
var viewBox = isPrisma ? '0 0 40 40' : '0 0 19 19';
|
|
236
235
|
return /*#__PURE__*/external_react_default.a.createElement(Styled, _extends({
|
|
237
236
|
"data-test": "wait-spinner"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splunk/react-ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Library of React components that implement the Splunk design language",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Splunk Inc.",
|
|
@@ -33,13 +33,12 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@splunk/react-icons": "^3.1.0",
|
|
36
|
-
"@splunk/themes": "^0.
|
|
36
|
+
"@splunk/themes": "^0.10.0",
|
|
37
37
|
"@splunk/ui-utils": "^1.4.0",
|
|
38
38
|
"@types/commonmark": "^0.27.0",
|
|
39
39
|
"@types/lodash": "^4.14.156",
|
|
40
40
|
"@types/react": "^16.9.38",
|
|
41
41
|
"@types/react-dom": "^16.9.8",
|
|
42
|
-
"@types/react-event-listener": "^0.4.10",
|
|
43
42
|
"@types/react-resize-detector": "^3.1.1",
|
|
44
43
|
"@types/styled-components": "^5.1.0",
|
|
45
44
|
"@types/tinycolor2": "^1.4.2",
|
|
@@ -49,11 +48,11 @@
|
|
|
49
48
|
"lodash": "^4.17.14",
|
|
50
49
|
"moment": "^2.22.2",
|
|
51
50
|
"prop-types": "^15.6.2",
|
|
52
|
-
"react-event-listener": "^0.6.2",
|
|
53
51
|
"react-resize-detector": "^3.2.1",
|
|
54
52
|
"react-sortable-hoc": "^1.11.0",
|
|
55
53
|
"react-spring": "^9.2.2",
|
|
56
|
-
"tinycolor2": "^1.4.1"
|
|
54
|
+
"tinycolor2": "^1.4.1",
|
|
55
|
+
"use-typed-event-listener": "^3.0.0"
|
|
57
56
|
},
|
|
58
57
|
"devDependencies": {
|
|
59
58
|
"@babel/core": "^7.2.0",
|
|
@@ -101,7 +100,7 @@
|
|
|
101
100
|
"jest": "^25.1.0",
|
|
102
101
|
"jest-junit": "^10.0.0",
|
|
103
102
|
"mkdirp": "^0.5.1",
|
|
104
|
-
"prismjs": "^1.
|
|
103
|
+
"prismjs": "^1.25.0",
|
|
105
104
|
"prompt": "^1.0.0",
|
|
106
105
|
"raw-loader": "^0.5.1",
|
|
107
106
|
"react": "^16.12.0",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CollapsiblePanelRequestCloseHandler, CollapsiblePanelRequestOpenHandler } from '@splunk/react-ui/CollapsiblePanel';
|
|
3
|
+
export interface AccordionContext {
|
|
4
|
+
onRequestClose?: CollapsiblePanelRequestCloseHandler;
|
|
5
|
+
onRequestOpen?: CollapsiblePanelRequestOpenHandler;
|
|
6
|
+
openPanelId?: string | number;
|
|
7
|
+
inset?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const AccordionContext: import("react").Context<AccordionContext>;
|
|
10
|
+
export default AccordionContext;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { CollapsiblePanelRequestCloseHandler, CollapsiblePanelRequestOpenHandler } from '@splunk/react-ui/CollapsiblePanel';
|
|
4
3
|
import { ComponentProps } from '../utils/types';
|
|
5
4
|
interface AccordionPanelPropsBase {
|
|
6
5
|
/** Displays right-aligned text in the title bar of the panel. */
|
|
@@ -24,14 +23,6 @@ interface AccordionPanelPropsBase {
|
|
|
24
23
|
* Displays the the name of the panel in its title bar.
|
|
25
24
|
*/
|
|
26
25
|
title: React.ReactNode;
|
|
27
|
-
/** @private */
|
|
28
|
-
disabled?: boolean;
|
|
29
|
-
/** @private */
|
|
30
|
-
onRequestClose?: CollapsiblePanelRequestCloseHandler;
|
|
31
|
-
/** @private */
|
|
32
|
-
onRequestOpen?: CollapsiblePanelRequestOpenHandler;
|
|
33
|
-
/** @private */
|
|
34
|
-
open?: boolean;
|
|
35
26
|
}
|
|
36
27
|
declare type AccordionPanelProps = ComponentProps<AccordionPanelPropsBase, 'div'>;
|
|
37
28
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { legacyRefMode } from '@splunk/react-ui/Dropdown';
|
|
3
|
+
import { ButtonGroupContext } from '../ButtonGroup/ButtonGroupContext';
|
|
3
4
|
import { ClassComponentProps } from '../utils/types';
|
|
4
5
|
/** @public */
|
|
5
6
|
declare type ButtonClickHandler = (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>, data: {
|
|
@@ -65,8 +66,9 @@ declare type ButtonLinkProps = ClassComponentProps<ButtonPropsBase, typeof defau
|
|
|
65
66
|
declare type ButtonProps = ButtonButtonProps | ButtonLinkProps;
|
|
66
67
|
declare class Button extends Component<ButtonProps> {
|
|
67
68
|
private component;
|
|
68
|
-
static propTypes: React.WeakValidationMap<ClassComponentProps<ButtonPropsBase, Required<Pick<ButtonPropsBase, "disabled" | "selected" | "appearance" | "inline" | "
|
|
69
|
-
static defaultProps: Required<Pick<ButtonPropsBase, "disabled" | "selected" | "appearance" | "inline" | "
|
|
69
|
+
static propTypes: React.WeakValidationMap<ClassComponentProps<ButtonPropsBase, Required<Pick<ButtonPropsBase, "disabled" | "selected" | "appearance" | "inline" | "error" | "openInNewContext" | "append" | "prepend" | "isMenu">>, "button", never>> | React.WeakValidationMap<ClassComponentProps<ButtonPropsBase, Required<Pick<ButtonPropsBase, "disabled" | "selected" | "appearance" | "inline" | "error" | "openInNewContext" | "append" | "prepend" | "isMenu">>, "a", "href">>;
|
|
70
|
+
static defaultProps: Required<Pick<ButtonPropsBase, "disabled" | "selected" | "appearance" | "inline" | "error" | "openInNewContext" | "append" | "prepend" | "isMenu">>;
|
|
71
|
+
static contextType: React.Context<ButtonGroupContext>;
|
|
70
72
|
static [legacyRefMode]: boolean;
|
|
71
73
|
private handleClick;
|
|
72
74
|
private handleMount;
|