@splunk/themes 0.11.0 → 0.12.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/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
+ 0.12.0 - August 2, 2022
5
+ ----------
6
+ New Features:
7
+ * Added `zIndexLayer` variable (SUI-2809).
8
+
9
+ API Changes:
10
+ * Status and accent colors have been updated in Prisma themes.
11
+
12
+ The amount of distinct color values have been consolidated: e.g. `statusColorHigh` and `accentColorNegative` are both `#e00000`.
13
+
14
+ The contrast between these colors have been increased to improve accessibility (SUI-3758).
15
+
4
16
  0.11.0 - May 4, 2022
5
17
  ----------
6
18
  New Features:
@@ -346,6 +346,7 @@ var fonts = {
346
346
  */
347
347
 
348
348
  var zindexes = {
349
+ zindexLayer: 1000,
349
350
  zindexFixedNavbar: 1030,
350
351
  zindexModalBackdrop: 1040,
351
352
  zindexModal: 1050,
package/package.json CHANGED
@@ -1,16 +1,20 @@
1
1
  {
2
2
  "name": "@splunk/themes",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Theme variables and mixins for the Splunk design language",
5
5
  "scripts": {
6
- "build": "cross-env NODE_ENV=production babel src -d . --ignore src/babel-plugin-base64-png,src/tests --extensions .js,.ts,.tsx && yarn types:build",
6
+ "babel": "babel src -d . --ignore src/babel-plugin-base64-png,src/tests --ignore \"**/docs\" --extensions .js,.ts,.tsx",
7
+ "build": "cross-env NODE_ENV=production yarn babel && yarn types:build",
8
+ "docs": "NODE_ENV=production webpack --config docs.gen.webpack.config.js",
9
+ "docs:publish": "cicd-publish-docs docs --force",
10
+ "docs:start": "webpack serve --config docs.gen.webpack.config.js",
7
11
  "lint": "eslint src --ext \".ts,.tsx,.js,.jsx\"",
8
12
  "lint:ci": "yarn run lint -- -f junit -o test-reports/lint-results.xml",
9
- "start": "babel src -d . --watch --ignore src/babel-plugin-base64-png,src/tests --extensions .js,.ts,.tsx",
13
+ "start": "yarn babel --watch",
10
14
  "test": "jest",
11
15
  "test:ci": "JEST_JUNIT_OUTPUT_DIR=./test-reports JEST_JUNIT_OUTPUT_NAME=unit-results.xml JEST_JUNIT_CLASSNAME=unit yarn run test --ci --reporters=default jest-junit --coverage --coverageDirectory=coverage_report/coverage_maps_unit --coverageReporters=cobertura",
12
16
  "test:watch": "jest --watch",
13
- "types:build": "tsc",
17
+ "types:build": "tsc --emitDeclarationOnly --declaration",
14
18
  "types:start": "yarn types:build --watch"
15
19
  },
16
20
  "peerDependencies": {
@@ -60,12 +64,13 @@
60
64
  "@babel/cli": "^7.2.0",
61
65
  "@babel/core": "^7.2.0",
62
66
  "@splunk/babel-preset": "^3.0.0",
67
+ "@splunk/cicd-tools": "^0.4.0",
63
68
  "@splunk/eslint-config": "^4.0.0",
64
- "@storybook/addon-docs": "^6.0.28",
65
- "@storybook/addons": "^6.0.28",
66
- "@storybook/api": "^6.0.28",
67
- "@storybook/components": "^6.0.28",
68
- "@storybook/theming": "^6.0.28",
69
+ "@storybook/addon-docs": "^6.5.9",
70
+ "@storybook/addons": "^6.5.9",
71
+ "@storybook/api": "^6.5.9",
72
+ "@storybook/components": "^6.5.9",
73
+ "@storybook/theming": "^6.5.9",
69
74
  "@typescript-eslint/eslint-plugin": "^3.4.0",
70
75
  "@typescript-eslint/parser": "^3.4.0",
71
76
  "babel-eslint": "^10.1.0",
@@ -84,7 +89,11 @@
84
89
  "jest": "^25.1.0",
85
90
  "react": "^16.12.0",
86
91
  "styled-components": "5.1.1",
87
- "typescript": "^4.0.5"
92
+ "typescript": "^4.0.5",
93
+ "webpack": "^4.16.2",
94
+ "webpack-cli": "^4.9.2",
95
+ "webpack-dev-server": "^4.7.4",
96
+ "webpack-merge": "^4.1.3"
88
97
  },
89
98
  "engines": {
90
99
  "node": ">=6"
package/prisma/base.js CHANGED
@@ -83,6 +83,7 @@ function createPrismaBase(_ref) {
83
83
  */
84
84
 
85
85
  var zindexes = {
86
+ zindexLayer: 1000,
86
87
  zindexFixedNavbar: 1030,
87
88
  zindexModalBackdrop: 1040,
88
89
  zindexModal: 1050,
package/prisma/dark.js CHANGED
@@ -86,10 +86,10 @@ var neutralColors = {
86
86
  */
87
87
 
88
88
  var accentColors = {
89
- accentColorPositive: '#27f561',
90
- accentColorWarning: '#ffd442',
91
- accentColorAlert: '#ff9750',
92
- accentColorNegative: '#ff5c5c'
89
+ accentColorPositive: '#85f415',
90
+ accentColorWarning: '#f49106',
91
+ accentColorAlert: '#f0581f',
92
+ accentColorNegative: '#ff4242'
93
93
  };
94
94
  /**
95
95
  * ## Status colors
@@ -100,11 +100,11 @@ var accentColors = {
100
100
 
101
101
  var statusColors = {
102
102
  statusColorInfo: '#61cafa',
103
- statusColorNormal: '#85eb48',
104
- statusColorLow: '#fae75f',
105
- statusColorMedium: '#f5b53f',
106
- statusColorHigh: '#ec4B43',
107
- statusColorCritical: '#a81916'
103
+ statusColorNormal: '#85f415',
104
+ statusColorLow: '#2cbda3',
105
+ statusColorMedium: '#f49106',
106
+ statusColorHigh: '#ff4242',
107
+ statusColorCritical: '#ff3361'
108
108
  };
109
109
  /**
110
110
  * ## Elevation shadows
package/prisma/light.js CHANGED
@@ -86,10 +86,10 @@ var neutralColors = {
86
86
  */
87
87
 
88
88
  var accentColors = {
89
- accentColorPositive: '#118832',
90
- accentColorWarning: '#cca700',
91
- accentColorAlert: '#cf750c',
92
- accentColorNegative: '#d41f1f'
89
+ accentColorPositive: '#407a06',
90
+ accentColorWarning: '#c97705',
91
+ accentColorAlert: '#c6400d',
92
+ accentColorNegative: '#e00000'
93
93
  };
94
94
  /**
95
95
  * ## Status colors
@@ -99,12 +99,12 @@ var accentColors = {
99
99
  */
100
100
 
101
101
  var statusColors = {
102
- statusColorInfo: '#61cafa',
103
- statusColorNormal: '#85eb48',
104
- statusColorLow: '#fae75f',
105
- statusColorMedium: '#f5b53f',
106
- statusColorHigh: '#ec4B43',
107
- statusColorCritical: '#9c0300'
102
+ statusColorInfo: '#006be5',
103
+ statusColorNormal: '#407a06',
104
+ statusColorLow: '#155a4e',
105
+ statusColorMedium: '#c97705',
106
+ statusColorHigh: '#e00000',
107
+ statusColorCritical: '#9e1534'
108
108
  };
109
109
  /**
110
110
  * ## Elevation shadows
@@ -11,9 +11,9 @@ var _blocks = require("@storybook/addon-docs/blocks");
11
11
 
12
12
  var _theming = require("@storybook/theming");
13
13
 
14
- var _themes = require("./themes");
14
+ var _useSplunkTheme2 = _interopRequireDefault(require("../useSplunkTheme"));
15
15
 
16
- var _util = require("./util");
16
+ var _themes = require("./themes");
17
17
 
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
19
 
@@ -26,15 +26,27 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
26
26
  var ThemedDocsContainer = function ThemedDocsContainer(_ref) {
27
27
  var children = _ref.children,
28
28
  context = _ref.context;
29
- var parameters = context.parameters;
30
- var currentTheme = (0, _util.getThemeOptionsFromContext)(context);
29
+
30
+ var _useSplunkTheme = (0, _useSplunkTheme2["default"])(),
31
+ isDark = _useSplunkTheme.isDark;
31
32
 
32
33
  var themedContext = _objectSpread(_objectSpread({}, context), {}, {
33
- parameters: _objectSpread(_objectSpread({}, parameters), {}, {
34
- docs: {
35
- theme: currentTheme.colorScheme === 'dark' ? _theming.themes.dark : _theming.themes.light
36
- }
37
- })
34
+ storyById: function storyById(id) {
35
+ var _storyContext$paramet, _storyContext$paramet2;
36
+
37
+ var storyContext = context.storyById(id);
38
+ return _objectSpread(_objectSpread({}, storyContext), {}, {
39
+ parameters: _objectSpread(_objectSpread({}, storyContext === null || storyContext === void 0 ? void 0 : storyContext.parameters), {}, {
40
+ __isArgsStory: true,
41
+ docs: _objectSpread(_objectSpread({}, storyContext === null || storyContext === void 0 ? void 0 : (_storyContext$paramet = storyContext.parameters) === null || _storyContext$paramet === void 0 ? void 0 : _storyContext$paramet.docs), {}, {
42
+ theme: isDark ? _theming.themes.dark : _theming.themes.light
43
+ }),
44
+ controls: _objectSpread(_objectSpread({}, storyContext === null || storyContext === void 0 ? void 0 : (_storyContext$paramet2 = storyContext.parameters) === null || _storyContext$paramet2 === void 0 ? void 0 : _storyContext$paramet2.controls), {}, {
45
+ theme: isDark ? _theming.themes.dark : _theming.themes.light
46
+ })
47
+ })
48
+ });
49
+ }
38
50
  });
39
51
 
40
52
  return /*#__PURE__*/_react["default"].createElement(_blocks.DocsContainer, {
@@ -5,14 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.parameters = void 0;
7
7
 
8
- var _blocks = require("@storybook/addon-docs/blocks");
9
-
10
8
  var _ThemedDocsContainer = require("./ThemedDocsContainer");
11
9
 
12
10
  var parameters = {
13
11
  docs: {
14
- container: _ThemedDocsContainer.ThemedDocsContainer,
15
- page: _blocks.DocsPage
12
+ container: _ThemedDocsContainer.ThemedDocsContainer
16
13
  },
17
14
  splunkThemes: {
18
15
  family: 'prisma',
@@ -16,7 +16,7 @@ var _variables = _interopRequireDefault(require("../variables"));
16
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
17
 
18
18
  function _templateObject() {
19
- var data = _taggedTemplateLiteral(["\n .sb-show-main {\n ", ";\n background-color: ", ";\n }\n\n #docs-root, .sbdocs {\n background-color: ", ";\n }\n"]);
19
+ var data = _taggedTemplateLiteral(["\n .sb-show-main {\n ", ";\n background-color: ", ";\n }\n\n .sbdocs-h2 {\n color: ", "\n }\n\n .sbdocs-h3 {\n color: ", "\n }\n\n #docs-root, .sbdocs {\n background-color: ", ";\n }\n\n #docs-root, .sbdocs-title {\n color: ", ";\n }\n\n .sbdocs, .sbdocs-preview {\n background-color: ", ";\n }\n\n .os-host, .os-host-foreign {\n color: ", ";\n background-color: ", ";\n }\n\n .prismjs {\n background-color: ", " !important;\n }\n\n .docblock-code-toggle {\n color: ", " !important;\n background-color: ", " !important;\n }\n\n #docs-root , .docblock-argstable-head, thead th {\n color: ", " !important;\n background-color: ", ";\n }\n"]);
20
20
 
21
21
  _templateObject = function _templateObject() {
22
22
  return data;
@@ -27,7 +27,7 @@ function _templateObject() {
27
27
 
28
28
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
29
29
 
30
- var GlobalStyles = (0, _styledComponents.createGlobalStyle)(_templateObject(), _mixins["default"].reset('block'), _variables["default"].backgroundColorPage, _variables["default"].backgroundColorPage); // theming based on Storybook's <TooltipMessage>
30
+ var GlobalStyles = (0, _styledComponents.createGlobalStyle)(_templateObject(), _mixins["default"].reset('block'), _variables["default"].backgroundColorPage, _variables["default"].contentColorActive, _variables["default"].contentColorActive, _variables["default"].backgroundColorPage, _variables["default"].contentColorActive, _variables["default"].backgroundColorPage, _variables["default"].contentColorDefault, _variables["default"].backgroundColorNavigation, _variables["default"].black, _variables["default"].contentColorDefault, _variables["default"].backgroundColorSection, _variables["default"].contentColorDefault, _variables["default"].backgroundColorPopup); // theming based on Storybook's <TooltipMessage>
31
31
 
32
32
  exports.GlobalStyles = GlobalStyles;
33
33
 
@@ -14,6 +14,7 @@ declare const theme: {
14
14
  borderLight: string;
15
15
  focusShadowInset: string;
16
16
  draggableBackground: string;
17
+ zindexLayer: number;
17
18
  zindexFixedNavbar: number;
18
19
  zindexModalBackdrop: number;
19
20
  zindexModal: number;
@@ -1,4 +1,5 @@
1
1
  declare const theme: {
2
+ zindexLayer: number;
2
3
  zindexFixedNavbar: number;
3
4
  zindexModalBackdrop: number;
4
5
  zindexModal: number;
@@ -2,6 +2,7 @@ import { ColorScheme } from '../types';
2
2
  declare function createPrismaBase({ colorScheme }: {
3
3
  colorScheme: ColorScheme;
4
4
  }): {
5
+ zindexLayer: number;
5
6
  zindexFixedNavbar: number;
6
7
  zindexModalBackdrop: number;
7
8
  zindexModal: number;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { StoryContext } from '@storybook/addons';
2
+ import { DocsContextProps } from '@storybook/addon-docs/blocks';
3
3
  declare const ThemedDocsContainer: ({ children, context, }: {
4
4
  children: React.ReactNode;
5
- context: StoryContext;
5
+ context: DocsContextProps;
6
6
  }) => React.ReactNode;
7
7
  export { ThemedDocsContainer };
@@ -1 +1,4 @@
1
- export declare const decorators: import("@storybook/addons").StoryWrapper[];
1
+ export declare const decorators: import("@storybook/csf").DecoratorFunction<{
2
+ component: any;
3
+ storyResult: import("@storybook/react/dist/ts3.9/client/preview/types").StoryFnReactReturnType;
4
+ }, import("@storybook/csf").Args>[];
@@ -3,9 +3,8 @@ export declare const parameters: {
3
3
  docs: {
4
4
  container: ({ children, context, }: {
5
5
  children: import("react").ReactNode;
6
- context: import("@storybook/addons").StoryContext;
6
+ context: import("@storybook/preview-web").DocsContextProps<import("@storybook/csf").AnyFramework>;
7
7
  }) => import("react").ReactNode;
8
- page: import("react").FC<{}>;
9
8
  };
10
9
  splunkThemes: {
11
10
  family: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const GlobalStyles: import("styled-components").GlobalStyleComponent<import("../types").OptionalThemedProps<import("../types").AnyTheme> & import("../types").ThemedProps<import("../types").AnyTheme>, import("styled-components").DefaultTheme>;
3
- export declare const TooltipSectionTitle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "className" | "color" | "id" | "lang" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "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" | "onPause" | "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" | "css" | "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"> & {
3
+ export declare const TooltipSectionTitle: import("@storybook/theming").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "className" | "color" | "id" | "lang" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "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" | "onPause" | "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" | "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"> & {
4
4
  theme: import("@storybook/theming").Theme;
5
5
  }, import("@storybook/theming").Theme>;
@@ -1,2 +1,4 @@
1
- import { StoryWrapper } from '@storybook/addons';
2
- export declare const withSplunkTheme: StoryWrapper;
1
+ export declare const withSplunkTheme: import("@storybook/csf").DecoratorFunction<{
2
+ component: any;
3
+ storyResult: import("@storybook/react/dist/ts3.9/client/preview/types").StoryFnReactReturnType;
4
+ }, import("@storybook/react").Args>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { AnyTheme } from './types';
3
3
  declare type DistributiveOmit<T, K extends keyof T> = T extends unknown ? Omit<T, K> : never;
4
- interface SplunkThemeProps<T extends AnyTheme> {
4
+ export interface SplunkThemeProps<T extends AnyTheme> {
5
5
  splunkTheme: T;
6
6
  }
7
7
  declare type WithoutSplunkThemeProps<P extends SplunkThemeProps<T>, T extends AnyTheme> = DistributiveOmit<P, keyof SplunkThemeProps<T>>;