@splunk/react-ui 4.8.0 → 4.11.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 (117) hide show
  1. package/Accordion.js +4 -4
  2. package/Anchor.js +2 -2
  3. package/Animation.js +2 -2
  4. package/AnimationToggle.js +2 -2
  5. package/Box.js +2 -2
  6. package/Button.js +5 -29
  7. package/ButtonGroup.js +6 -27
  8. package/ButtonSimple.js +4 -4
  9. package/CHANGELOG.md +42 -5
  10. package/Calendar.js +12 -12
  11. package/Card.js +48 -62
  12. package/CardLayout.js +14 -35
  13. package/Chip.js +4 -4
  14. package/Clickable.js +23 -8
  15. package/CloseButton.js +2 -2
  16. package/Code.js +8 -5
  17. package/CollapsiblePanel.js +4 -4
  18. package/Color.js +10 -10
  19. package/ColumnLayout.js +2 -2
  20. package/ComboBox.js +9 -5
  21. package/Concertina.js +13 -13
  22. package/ControlGroup.js +26 -16
  23. package/Date.js +6 -6
  24. package/DefinitionList.js +2 -2
  25. package/Dropdown.js +4 -4
  26. package/EventListener.js +4 -4
  27. package/File.js +15 -15
  28. package/FormRows.js +11 -11
  29. package/Heading.js +2 -2
  30. package/Image.js +8 -8
  31. package/JSONTree.js +40 -22
  32. package/Layer.js +72 -22
  33. package/Link.js +4 -4
  34. package/List.js +2 -2
  35. package/Markdown.js +62 -30
  36. package/Menu.js +42 -42
  37. package/Message.js +18 -18
  38. package/MessageBar.js +28 -21
  39. package/Modal.js +6 -6
  40. package/ModalLayer.js +16 -7
  41. package/Monogram.js +27 -15
  42. package/Multiselect.js +12 -12
  43. package/Number.js +4 -4
  44. package/Paginator.js +21 -24
  45. package/Paragraph.js +2 -2
  46. package/Popover.js +16 -11
  47. package/Progress.js +2 -2
  48. package/RadioBar.js +143 -39
  49. package/RadioList.js +2 -2
  50. package/Resize.js +4 -4
  51. package/ResultsMenu.js +20 -20
  52. package/ScreenReaderContent.js +2 -2
  53. package/Scroll.js +4 -4
  54. package/ScrollContainerContext.js +2 -2
  55. package/Search.js +6 -6
  56. package/Select.js +9 -9
  57. package/SidePanel.js +4 -4
  58. package/Slider.js +4 -4
  59. package/SlidingPanels.js +16 -7
  60. package/StaticContent.js +2 -2
  61. package/StepBar.js +2 -2
  62. package/Switch.js +4 -4
  63. package/TabBar.js +11 -11
  64. package/TabLayout.js +4 -4
  65. package/Table.js +26 -31
  66. package/Text.js +18 -10
  67. package/Tooltip.js +21 -6
  68. package/TransitionOpen.js +14 -5
  69. package/WaitSpinner.js +2 -2
  70. package/package.json +12 -9
  71. package/stubs-splunkui.d.ts +13 -0
  72. package/types/src/Accordion/AccordionContext.d.ts +0 -1
  73. package/types/src/Button/Button.d.ts +0 -2
  74. package/types/src/ButtonGroup/ButtonGroupContext.d.ts +0 -1
  75. package/types/src/ButtonSimple/ButtonSimple.d.ts +2 -6
  76. package/types/src/Card/Body.d.ts +6 -1
  77. package/types/src/Card/Card.d.ts +0 -2
  78. package/types/src/CardLayout/CardLayoutContext.d.ts +0 -1
  79. package/types/src/Clickable/Clickable.d.ts +5 -0
  80. package/types/src/ComboBox/ComboBox.d.ts +2 -1
  81. package/types/src/Concertina/ConcertinaContext.d.ts +0 -1
  82. package/types/src/ControlGroup/ControlGroup.d.ts +9 -2
  83. package/types/src/Date/Date.d.ts +3 -3
  84. package/types/src/File/FileContext.d.ts +0 -1
  85. package/types/src/FormRows/FormRows.d.ts +1 -1
  86. package/types/src/FormRows/FormRowsContext.d.ts +0 -1
  87. package/types/src/FormRows/Row.d.ts +1 -1
  88. package/types/src/JSONTree/JSONTree.d.ts +2 -2
  89. package/types/src/JSONTree/TreeNode.d.ts +1 -1
  90. package/types/src/JSONTree/docs/examples/WithShiftModifier.d.ts +1 -0
  91. package/types/src/Layer/LayerStack.d.ts +8 -2
  92. package/types/src/Markdown/Markdown.d.ts +9 -4
  93. package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +15 -0
  94. package/types/src/Markdown/renderers/index.d.ts +2 -1
  95. package/types/src/Menu/MenuContext.d.ts +0 -1
  96. package/types/src/Modal/ModalContext.d.ts +0 -1
  97. package/types/src/ModalLayer/ModalLayer.d.ts +2 -0
  98. package/types/src/Monogram/Monogram.d.ts +2 -2
  99. package/types/src/Number/Number.d.ts +3 -3
  100. package/types/src/Popover/Popover.d.ts +1 -0
  101. package/types/src/Popover/PopoverContext.d.ts +0 -1
  102. package/types/src/RadioBar/Option.d.ts +10 -2
  103. package/types/src/RadioBar/RadioBar.d.ts +4 -1
  104. package/types/src/RadioBar/RadioBarContext.d.ts +4 -2
  105. package/types/src/RadioList/RadioListContext.d.ts +0 -1
  106. package/types/src/Slider/Slider.d.ts +3 -3
  107. package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -0
  108. package/types/src/StepBar/StepBarContext.d.ts +0 -1
  109. package/types/src/TabBar/TabBarContext.d.ts +0 -1
  110. package/types/src/Text/Text.d.ts +4 -3
  111. package/types/src/Tooltip/Tooltip.d.ts +15 -10
  112. package/types/src/TransitionOpen/TransitionOpen.d.ts +2 -0
  113. package/types/src/fixtures/FetchOptions.d.ts +82 -2
  114. package/usePrevious.js +2 -2
  115. package/FetchOptions.js +0 -359
  116. package/types/src/FetchOptions/FetchOptions.d.ts +0 -82
  117. package/types/src/FetchOptions/index.d.ts +0 -2
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 = 149);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 144);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -108,7 +108,7 @@ module.exports = require("@splunk/ui-utils/id");
108
108
 
109
109
  /***/ }),
110
110
 
111
- /***/ 11:
111
+ /***/ 12:
112
112
  /***/ (function(module, exports) {
113
113
 
114
114
  module.exports = require("@splunk/react-ui/Clickable");
@@ -122,7 +122,7 @@ module.exports = require("@splunk/react-ui/ScreenReaderContent");
122
122
 
123
123
  /***/ }),
124
124
 
125
- /***/ 149:
125
+ /***/ 144:
126
126
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
127
127
 
128
128
  "use strict";
@@ -209,7 +209,7 @@ var external_styled_components_ = __webpack_require__(3);
209
209
  var external_styled_components_default = /*#__PURE__*/__webpack_require__.n(external_styled_components_);
210
210
 
211
211
  // EXTERNAL MODULE: external "@splunk/react-ui/Clickable"
212
- var Clickable_ = __webpack_require__(11);
212
+ var Clickable_ = __webpack_require__(12);
213
213
  var Clickable_default = /*#__PURE__*/__webpack_require__.n(Clickable_);
214
214
 
215
215
  // CONCATENATED MODULE: ./src/Tooltip/TooltipStyles.ts
@@ -307,6 +307,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
307
307
 
308
308
 
309
309
  var propTypes = {
310
+ /** @private */
311
+ appearance: external_prop_types_default.a.string,
310
312
  children: external_prop_types_default.a.node,
311
313
  closeDelay: external_prop_types_default.a.number,
312
314
  content: external_prop_types_default.a.node,
@@ -323,6 +325,7 @@ var propTypes = {
323
325
  splunkTheme: external_prop_types_default.a.object
324
326
  };
325
327
  var defaultProps = {
328
+ appearance: 'inverted',
326
329
  closeDelay: 0,
327
330
  contentRelationship: 'description',
328
331
  defaultPlacement: 'theme',
@@ -414,6 +417,12 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
414
417
  });
415
418
  });
416
419
 
420
+ _defineProperty(_assertThisInitialized(_this), "handleClick", function (e) {
421
+ _this.handleRequestClose(e, {
422
+ reason: 'toggleClick'
423
+ });
424
+ });
425
+
417
426
  _defineProperty(_assertThisInitialized(_this), "handleFocus", function (e) {
418
427
  _this.handleRequestOpen(e, {
419
428
  reason: 'focusToggle'
@@ -446,6 +455,10 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
446
455
  });
447
456
  }
448
457
 
458
+ _this.setState({
459
+ lastCloseReason: data.reason
460
+ });
461
+
449
462
  (_this$props$onRequest = (_this$props = _this.props).onRequestClose) === null || _this$props$onRequest === void 0 ? void 0 : _this$props$onRequest.call(_this$props, e, data);
450
463
  }, closeDelay);
451
464
  });
@@ -505,6 +518,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
505
518
  key: "render",
506
519
  value: function render() {
507
520
  var _this$props3 = this.props,
521
+ appearance = _this$props3.appearance,
508
522
  children = _this$props3.children,
509
523
  content = _this$props3.content,
510
524
  defaultPlacement = _this$props3.defaultPlacement,
@@ -515,7 +529,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
515
529
  open = _this$props3.open,
516
530
  splunkTheme = _this$props3.splunkTheme,
517
531
  contentRelationship = _this$props3.contentRelationship,
518
- otherProps = _objectWithoutProperties(_this$props3, ["children", "content", "defaultPlacement", "elementRef", "inline", "onRequestClose", "onRequestOpen", "open", "splunkTheme", "contentRelationship"]);
532
+ otherProps = _objectWithoutProperties(_this$props3, ["appearance", "children", "content", "defaultPlacement", "elementRef", "inline", "onRequestClose", "onRequestOpen", "open", "splunkTheme", "contentRelationship"]);
519
533
 
520
534
  var anchor = this.state.anchor;
521
535
  var hasContent = !!content;
@@ -545,6 +559,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
545
559
  "data-test-popover-id": this.popoverId,
546
560
  ref: elementRef
547
561
  }, otherProps), /*#__PURE__*/external_react_default.a.createElement(StyledToggleComp, {
562
+ onClick: this.handleClick,
548
563
  onFocus: this.handleFocus,
549
564
  onBlur: this.handleBlur,
550
565
  ref: this.handleMount,
@@ -566,7 +581,7 @@ var Tooltip_Tooltip = /*#__PURE__*/function (_Component) {
566
581
  role: "tooltip",
567
582
  align: "center",
568
583
  anchor: anchor,
569
- appearance: "inverted",
584
+ appearance: appearance,
570
585
  closeReasons: ['offScreen', 'escapeKey'],
571
586
  defaultPlacement: defaultPlacement === 'theme' ? placement : defaultPlacement,
572
587
  id: this.popoverId,
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 = 175);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 171);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 175:
104
+ /***/ 171:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
@@ -234,6 +234,8 @@ var TransitionOpen_TransitionOpen = /*#__PURE__*/function (_Component) {
234
234
 
235
235
  _this = _super.call(this, props);
236
236
 
237
+ _defineProperty(_assertThisInitialized(_this), "allowAnimationUpdates", true);
238
+
237
239
  _defineProperty(_assertThisInitialized(_this), "getValue", function (el) {
238
240
  var animation = _this.props.animation;
239
241
  var value = 0;
@@ -277,9 +279,11 @@ var TransitionOpen_TransitionOpen = /*#__PURE__*/function (_Component) {
277
279
  _defineProperty(_assertThisInitialized(_this), "handleRest", function () {
278
280
  var _this$props$onAnimati, _this$props;
279
281
 
280
- _this.setState({
281
- animating: false
282
- });
282
+ if (_this.allowAnimationUpdates) {
283
+ _this.setState({
284
+ animating: false
285
+ });
286
+ }
283
287
 
284
288
  (_this$props$onAnimati = (_this$props = _this.props).onAnimationEnd) === null || _this$props$onAnimati === void 0 ? void 0 : _this$props$onAnimati.call(_this$props);
285
289
  });
@@ -420,6 +424,11 @@ var TransitionOpen_TransitionOpen = /*#__PURE__*/function (_Component) {
420
424
  }); // eslint-disable-line react/no-did-update-set-state
421
425
  }
422
426
  }
427
+ }, {
428
+ key: "componentWillUnmount",
429
+ value: function componentWillUnmount() {
430
+ this.allowAnimationUpdates = false;
431
+ }
423
432
  }, {
424
433
  key: "render",
425
434
  value: function render() {
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 = 176);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 172);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -101,7 +101,7 @@ module.exports = require("prop-types");
101
101
 
102
102
  /***/ }),
103
103
 
104
- /***/ 176:
104
+ /***/ 172:
105
105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
106
106
 
107
107
  "use strict";
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@splunk/react-ui",
3
- "version": "4.8.0",
3
+ "version": "4.11.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.",
7
7
  "scripts": {
8
8
  "build": "cross-env NODE_ENV=production webpack && yarn types:build && yarn build-storybook",
9
9
  "docs": "NODE_ENV=production webpack --config docs.gen.webpack.config.js",
10
+ "docs:publish": "cicd-publish-docs docs --force",
10
11
  "docs:start": "webpack serve --config docs.gen.webpack.config.js",
11
12
  "eslint": "eslint src .storybook --ext \".ts,.tsx,.js,.jsx\"",
12
13
  "eslint:fix": "yarn run eslint --fix",
@@ -37,8 +38,8 @@
37
38
  },
38
39
  "dependencies": {
39
40
  "@splunk/react-icons": "^3.2.0",
40
- "@splunk/themes": "^0.11.0",
41
- "@splunk/ui-utils": "^1.4.0",
41
+ "@splunk/themes": "^0.12.0",
42
+ "@splunk/ui-utils": "^1.5.0",
42
43
  "@types/commonmark": "^0.27.0",
43
44
  "@types/lodash": "^4.14.156",
44
45
  "@types/react": "^16.9.38",
@@ -54,7 +55,7 @@
54
55
  "prop-types": "^15.6.2",
55
56
  "react-resize-detector": "^3.2.1",
56
57
  "react-sortable-hoc": "^1.11.0",
57
- "react-spring": "^9.2.2",
58
+ "react-spring": "^9.2.4",
58
59
  "tinycolor2": "^1.4.1",
59
60
  "use-typed-event-listener": "^3.0.0"
60
61
  },
@@ -63,18 +64,20 @@
63
64
  "@cypress/react": "^5.12.4",
64
65
  "@cypress/webpack-dev-server": "^1.8.2",
65
66
  "@splunk/babel-preset": "^3.0.0",
66
- "@splunk/docs-gen": "^0.11.1",
67
+ "@splunk/cicd-tools": "^0.4.0",
68
+ "@splunk/docs-gen": "^0.11.2",
67
69
  "@splunk/eslint-config": "^4.0.0",
68
70
  "@splunk/react-docs": "^0.11.0",
69
71
  "@splunk/stylelint-config": "^4.0.0",
70
72
  "@splunk/test-runner-utils": "^0.4.0",
71
73
  "@splunk/wdio-functional-test-runner": "^10.1.0",
72
74
  "@splunk/webpack-configs": "^5.0.0",
73
- "@storybook/addon-a11y": "^6.3.0",
74
- "@storybook/addon-essentials": "^6.3.0",
75
+ "@storybook/addon-a11y": "^6.5.9",
76
+ "@storybook/addon-essentials": "^6.5.9",
77
+ "@storybook/addon-interactions": "^6.5.9",
75
78
  "@storybook/csf": "^0.0.1",
76
- "@storybook/react": "^6.3.0",
77
- "@storybook/testing-react": "^1.2.3",
79
+ "@storybook/react": "^6.5.9",
80
+ "@storybook/testing-react": "^1.3.0",
78
81
  "@testing-library/cypress": "^8.0.2",
79
82
  "@testing-library/jest-dom": "^5.16.1",
80
83
  "@testing-library/react": "^12.1.2",
@@ -98,3 +98,16 @@ declare module '@splunk/wdio-functional-test-runner/testUtils' {
98
98
  options?: { click?: boolean }
99
99
  );
100
100
  }
101
+
102
+ declare module '@splunk/react-docs/DocExample' {
103
+ function getDependencyVersions(
104
+ packageJSON: Record<string, unknown>,
105
+ additionalDependencies?: string[],
106
+ packageVersion?: string
107
+ ): Record<string, unknown>;
108
+ }
109
+
110
+ declare module '!!raw-loader!*' {
111
+ const contents: string;
112
+ export = contents;
113
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CollapsiblePanelRequestCloseHandler, CollapsiblePanelRequestOpenHandler } from '@splunk/react-ui/CollapsiblePanel';
3
2
  export interface AccordionContext {
4
3
  onRequestClose?: CollapsiblePanelRequestCloseHandler;
@@ -1,6 +1,5 @@
1
1
  import React, { Component } from 'react';
2
2
  import { legacyRefMode } from '@splunk/react-ui/Dropdown';
3
- import { ButtonGroupContext } from '../ButtonGroup/ButtonGroupContext';
4
3
  import { ClassComponentProps } from '../utils/types';
5
4
  /** @public */
6
5
  declare type ButtonClickHandler = (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>, data: {
@@ -68,7 +67,6 @@ declare class Button extends Component<ButtonProps> {
68
67
  private component;
69
68
  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
69
  static defaultProps: Required<Pick<ButtonPropsBase, "disabled" | "selected" | "appearance" | "inline" | "error" | "openInNewContext" | "append" | "prepend" | "isMenu">>;
71
- static contextType: React.Context<ButtonGroupContext>;
72
70
  static [legacyRefMode]: boolean;
73
71
  private handleClick;
74
72
  private handleMount;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface ButtonGroupContext {
3
2
  inline?: boolean;
4
3
  role?: string;
@@ -59,13 +59,9 @@ declare class ButtonSimple extends Component<ButtonSimpleProps> {
59
59
  render(): JSX.Element;
60
60
  }
61
61
  declare const ButtonSimpleWithTheme: React.ForwardRefExoticComponent<Pick<Pick<Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>, "form" | "slot" | "style" | "title" | "children" | "value" | "to" | "onChange" | "onPause" | "name" | "className" | "color" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "selected" | "appearance" | "inline" | "elementRef" | "splunkTheme" | "openInNewContext" | "append" | "prepend" | "status"> & Pick<PropTypes.InferProps<React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>> | React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">>>, "inlist"> & Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>, "form" | "value" | "name" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">, "form" | "slot" | "style" | "title" | "children" | "value" | "to" | "onChange" | "onPause" | "name" | "className" | "color" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "elementRef" | "splunkTheme"> & Partial<Pick<Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>, "form" | "slot" | "style" | "title" | "children" | "value" | "to" | "onChange" | "onPause" | "name" | "className" | "color" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "selected" | "appearance" | "inline" | "elementRef" | "splunkTheme" | "openInNewContext" | "append" | "prepend" | "status"> & Pick<PropTypes.InferProps<React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>> | React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">>>, "inlist"> & Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>, "form" | "value" | "name" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">> & Partial<Pick<Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, never>> & {
62
- ref?: ((instance: ButtonSimple | null) => void) | React.RefObject<ButtonSimple> | null | undefined; /** Changes the style of the button.
63
- * @themeNotes 'pill': supported by `enterprise`, `enterpriseDark` and `lite`. 'toggle' and 'flat': supported by `prisma`.
64
- */
62
+ ref?: ((instance: ButtonSimple | null) => void) | React.RefObject<ButtonSimple> | null | undefined;
65
63
  }, "ref" | "form" | "slot" | "style" | "title" | "children" | "value" | "to" | "onChange" | "onPause" | "name" | "className" | "color" | "id" | "lang" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "selected" | "appearance" | "inline" | "elementRef" | "openInNewContext" | "append" | "prepend" | "status"> | Pick<Pick<Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">, "slot" | "style" | "title" | "children" | "to" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "disabled" | "action" | "selected" | "appearance" | "inline" | "elementRef" | "splunkTheme" | "openInNewContext" | "append" | "prepend" | "status"> & Pick<PropTypes.InferProps<React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>> | React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">>>, "inlist"> & Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">, "media" | "target" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy">, "slot" | "style" | "title" | "children" | "to" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "action" | "elementRef" | "splunkTheme"> & Partial<Pick<Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">, "slot" | "style" | "title" | "children" | "to" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "disabled" | "action" | "selected" | "appearance" | "inline" | "elementRef" | "splunkTheme" | "openInNewContext" | "append" | "prepend" | "status"> & Pick<PropTypes.InferProps<React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "button", never>> | React.WeakValidationMap<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">>>, "inlist"> & Pick<ClassComponentProps<ButtonSimplePropsBase, Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, "a", "href">, "media" | "target" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy">, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">> & Partial<Pick<Required<Pick<ButtonSimplePropsBase, "disabled" | "selected" | "appearance" | "inline" | "openInNewContext" | "append" | "prepend" | "status">>, never>> & {
66
- ref?: ((instance: ButtonSimple | null) => void) | React.RefObject<ButtonSimple> | null | undefined; /** Changes the style of the button.
67
- * @themeNotes 'pill': supported by `enterprise`, `enterpriseDark` and `lite`. 'toggle' and 'flat': supported by `prisma`.
68
- */
64
+ ref?: ((instance: ButtonSimple | null) => void) | React.RefObject<ButtonSimple> | null | undefined;
69
65
  }, "ref" | "slot" | "style" | "title" | "children" | "to" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "download" | "hrefLang" | "ping" | "rel" | "referrerPolicy" | "disabled" | "action" | "selected" | "appearance" | "inline" | "elementRef" | "openInNewContext" | "append" | "prepend" | "status">>;
70
66
  export default ButtonSimpleWithTheme;
71
67
  export type { ButtonSimple as ButtonSimpleWithoutTheme };
@@ -7,16 +7,21 @@ interface BodyPropsBase {
7
7
  * A React ref which is set to the DOM element when the component mounts and null when it unmounts.
8
8
  */
9
9
  elementRef?: React.Ref<HTMLDivElement>;
10
+ /**
11
+ * When true renders the `Card.Body` with padding. When false renders the `Card.Body` without padding. Default to true.
12
+ */
13
+ inset?: boolean;
10
14
  }
11
15
  declare type BodyProps = ComponentProps<BodyPropsBase, 'div'>;
12
16
  /**
13
17
  * A styled container for `Card` body content.
14
18
  */
15
- declare function Body({ children, ...otherProps }: BodyProps): JSX.Element;
19
+ declare function Body({ children, inset, ...otherProps }: BodyProps): JSX.Element;
16
20
  declare namespace Body {
17
21
  var propTypes: {
18
22
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
19
23
  elementRef: PropTypes.Requireable<object>;
24
+ inset: PropTypes.Requireable<boolean>;
20
25
  };
21
26
  }
22
27
  export default Body;
@@ -3,7 +3,6 @@ import Body from './Body';
3
3
  import Footer from './Footer';
4
4
  import Header from './Header';
5
5
  import { ClassComponentProps } from '../utils/types';
6
- import CardLayoutContext from '../CardLayout/CardLayoutContext';
7
6
  /** @public */
8
7
  declare type CardClickHandler = (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>, data: {
9
8
  selected: boolean;
@@ -69,7 +68,6 @@ declare type CardProps = CardNonClickableProps | CardClickableButtonProps | Card
69
68
  declare class Card extends Component<CardProps, {}> {
70
69
  static propTypes: React.WeakValidationMap<ClassComponentProps<CardPropsBaseNonClickable, Required<Pick<CardPropsBase, "selected" | "openInNewContext" | "showBorder">>, "div", never>> | React.WeakValidationMap<ClassComponentProps<CardPropsBaseClickable, Required<Pick<CardPropsBase, "selected" | "openInNewContext" | "showBorder">>, "button", never>> | React.WeakValidationMap<ClassComponentProps<CardPropsBaseClickable, Required<Pick<CardPropsBase, "selected" | "openInNewContext" | "showBorder">>, "a", "href">>;
71
70
  static defaultProps: Required<Pick<CardPropsBase, "selected" | "openInNewContext" | "showBorder">>;
72
- static contextType: React.Context<CardLayoutContext>;
73
71
  static Header: typeof Header;
74
72
  static Body: typeof Body;
75
73
  static Footer: typeof Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface CardLayoutContext {
3
2
  minWidth?: number | string;
4
3
  maxWidth?: number | string;
@@ -4,6 +4,11 @@ import { NavigationProviderClickHandler } from './NavigationProvider';
4
4
  import { ClassComponentProps } from '../utils/types';
5
5
  export declare const isInternalLink: (to: string | undefined) => boolean;
6
6
  interface ClickablePropsBase {
7
+ /**
8
+ * Links may need to be rendered as "disabled": e.g. last link in a breadcrumb. Disabled links, must have the `to` (ideally to '') and `disabled` props set.
9
+ * @private
10
+ */
11
+ allowDisabledLink?: boolean;
7
12
  children?: React.ReactNode;
8
13
  /**
9
14
  * Add a disabled attribute and prevent clicking.
@@ -106,7 +106,7 @@ interface ComboBoxPropsBaseUncontrolled extends ComboBoxPropsBase {
106
106
  declare type ComboBoxProps = ClassComponentProps<ComboBoxPropsBaseControlled | ComboBoxPropsBaseUncontrolled, typeof defaultProps, 'div'>;
107
107
  interface ComboBoxState {
108
108
  activeIndex: number;
109
- anchor: HTMLInputElement | null;
109
+ anchor: HTMLDivElement | null;
110
110
  open: boolean;
111
111
  typedValue: string | undefined;
112
112
  value: string;
@@ -136,6 +136,7 @@ declare class ComboBox extends Component<ComboBoxProps, ComboBoxState> {
136
136
  private getValue;
137
137
  private getDisplayValue;
138
138
  private handleInputMount;
139
+ private handleAnchorMount;
139
140
  private handleActiveOptionMount;
140
141
  private handleInputFocus;
141
142
  private handleChange;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PanelClickHandler, PanelChangeHandler } from './Panel';
3
2
  export interface ConcertinaContext {
4
3
  onHeadingClick?: PanelClickHandler;