@atlaskit/button 16.8.2 → 16.8.3
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 +6 -0
- package/dist/cjs/loading-button.js +16 -3
- package/dist/cjs/shared/button-base.js +1 -1
- package/dist/cjs/shared/loading-spinner.js +10 -6
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/loading-button.js +14 -1
- package/dist/es2019/shared/button-base.js +1 -1
- package/dist/es2019/shared/loading-spinner.js +9 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/loading-button.js +16 -3
- package/dist/esm/shared/button-base.js +1 -1
- package/dist/esm/shared/loading-spinner.js +10 -6
- package/dist/esm/version.json +1 -1
- package/dist/types/shared/loading-spinner.d.ts +1 -1
- package/dist/types-ts4.5/shared/loading-spinner.d.ts +1 -1
- package/package.json +3 -3
- package/tmp/api-report-tmp.d.ts +133 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/button
|
|
2
2
|
|
|
3
|
+
## 16.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`11cd2f83450`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11cd2f83450) - Refactor loading button to use less rest props to pass props more explicitly.
|
|
8
|
+
|
|
3
9
|
## 16.8.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _button = _interopRequireDefault(require("./button"));
|
|
12
12
|
var _loadingSpinner = _interopRequireDefault(require("./shared/loading-spinner"));
|
|
13
|
-
var _excluded = ["isLoading"];
|
|
13
|
+
var _excluded = ["appearance", "isDisabled", "isSelected", "isLoading", "spacing"];
|
|
14
14
|
/**
|
|
15
15
|
* __Loading button__
|
|
16
16
|
*
|
|
@@ -19,14 +19,27 @@ var _excluded = ["isLoading"];
|
|
|
19
19
|
* - [Examples](https://atlassian.design/components/button/examples#loading-button)
|
|
20
20
|
*/
|
|
21
21
|
var LoadingButton = /*#__PURE__*/_react.default.forwardRef(function LoadingButton(_ref, ref) {
|
|
22
|
-
var
|
|
22
|
+
var appearance = _ref.appearance,
|
|
23
|
+
isDisabled = _ref.isDisabled,
|
|
24
|
+
isSelected = _ref.isSelected,
|
|
25
|
+
_ref$isLoading = _ref.isLoading,
|
|
23
26
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
27
|
+
spacing = _ref.spacing,
|
|
24
28
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
29
|
// Button already has React.memo, so just leaning on that
|
|
26
30
|
return /*#__PURE__*/_react.default.createElement(_button.default, (0, _extends2.default)({}, rest, {
|
|
27
31
|
ref: ref,
|
|
32
|
+
appearance: appearance,
|
|
28
33
|
"aria-busy": isLoading,
|
|
29
|
-
|
|
34
|
+
isDisabled: isDisabled,
|
|
35
|
+
isSelected: isSelected,
|
|
36
|
+
overlay: isLoading ? /*#__PURE__*/_react.default.createElement(_loadingSpinner.default, {
|
|
37
|
+
spacing: spacing,
|
|
38
|
+
appearance: appearance,
|
|
39
|
+
isDisabled: isDisabled,
|
|
40
|
+
isSelected: isSelected
|
|
41
|
+
}) : null,
|
|
42
|
+
spacing: spacing
|
|
30
43
|
}));
|
|
31
44
|
});
|
|
32
45
|
|
|
@@ -94,7 +94,7 @@ var _default = /*#__PURE__*/_react.default.forwardRef(function ButtonBase(props,
|
|
|
94
94
|
action: 'clicked',
|
|
95
95
|
componentName: 'button',
|
|
96
96
|
packageName: "@atlaskit/button",
|
|
97
|
-
packageVersion: "16.8.
|
|
97
|
+
packageVersion: "16.8.3",
|
|
98
98
|
analyticsData: analyticsContext
|
|
99
99
|
});
|
|
100
100
|
|
|
@@ -5,10 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = LoadingSpinner;
|
|
8
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
9
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
|
|
11
|
-
var _excluded = ["spacing"];
|
|
12
10
|
function getSpinnerAppearance(_ref) {
|
|
13
11
|
var appearance = _ref.appearance,
|
|
14
12
|
isDisabled = _ref.isDisabled,
|
|
@@ -25,12 +23,18 @@ function getSpinnerAppearance(_ref) {
|
|
|
25
23
|
return 'inherit';
|
|
26
24
|
}
|
|
27
25
|
function LoadingSpinner(_ref2) {
|
|
28
|
-
var
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
var appearance = _ref2.appearance,
|
|
27
|
+
isDisabled = _ref2.isDisabled,
|
|
28
|
+
isSelected = _ref2.isSelected,
|
|
29
|
+
_ref2$spacing = _ref2.spacing,
|
|
30
|
+
spacing = _ref2$spacing === void 0 ? 'default' : _ref2$spacing;
|
|
31
31
|
var size = spacing === 'default' ? 'medium' : 'small';
|
|
32
32
|
return /*#__PURE__*/_react.default.createElement(_spinner.default, {
|
|
33
33
|
size: size,
|
|
34
|
-
appearance: getSpinnerAppearance(
|
|
34
|
+
appearance: getSpinnerAppearance({
|
|
35
|
+
appearance: appearance,
|
|
36
|
+
isDisabled: isDisabled,
|
|
37
|
+
isSelected: isSelected
|
|
38
|
+
})
|
|
35
39
|
});
|
|
36
40
|
}
|
package/dist/cjs/version.json
CHANGED
|
@@ -10,14 +10,27 @@ import LoadingSpinner from './shared/loading-spinner';
|
|
|
10
10
|
* - [Examples](https://atlassian.design/components/button/examples#loading-button)
|
|
11
11
|
*/
|
|
12
12
|
const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton({
|
|
13
|
+
appearance,
|
|
14
|
+
isDisabled,
|
|
15
|
+
isSelected,
|
|
13
16
|
isLoading = false,
|
|
17
|
+
spacing,
|
|
14
18
|
...rest
|
|
15
19
|
}, ref) {
|
|
16
20
|
// Button already has React.memo, so just leaning on that
|
|
17
21
|
return /*#__PURE__*/React.createElement(Button, _extends({}, rest, {
|
|
18
22
|
ref: ref,
|
|
23
|
+
appearance: appearance,
|
|
19
24
|
"aria-busy": isLoading,
|
|
20
|
-
|
|
25
|
+
isDisabled: isDisabled,
|
|
26
|
+
isSelected: isSelected,
|
|
27
|
+
overlay: isLoading ? /*#__PURE__*/React.createElement(LoadingSpinner, {
|
|
28
|
+
spacing: spacing,
|
|
29
|
+
appearance: appearance,
|
|
30
|
+
isDisabled: isDisabled,
|
|
31
|
+
isSelected: isSelected
|
|
32
|
+
}) : null,
|
|
33
|
+
spacing: spacing
|
|
21
34
|
}));
|
|
22
35
|
});
|
|
23
36
|
|
|
@@ -80,7 +80,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
80
80
|
action: 'clicked',
|
|
81
81
|
componentName: 'button',
|
|
82
82
|
packageName: "@atlaskit/button",
|
|
83
|
-
packageVersion: "16.8.
|
|
83
|
+
packageVersion: "16.8.3",
|
|
84
84
|
analyticsData: analyticsContext
|
|
85
85
|
});
|
|
86
86
|
|
|
@@ -17,12 +17,18 @@ function getSpinnerAppearance({
|
|
|
17
17
|
return 'inherit';
|
|
18
18
|
}
|
|
19
19
|
export default function LoadingSpinner({
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
appearance,
|
|
21
|
+
isDisabled,
|
|
22
|
+
isSelected,
|
|
23
|
+
spacing = 'default'
|
|
22
24
|
}) {
|
|
23
25
|
const size = spacing === 'default' ? 'medium' : 'small';
|
|
24
26
|
return /*#__PURE__*/React.createElement(Spinner, {
|
|
25
27
|
size: size,
|
|
26
|
-
appearance: getSpinnerAppearance(
|
|
28
|
+
appearance: getSpinnerAppearance({
|
|
29
|
+
appearance,
|
|
30
|
+
isDisabled,
|
|
31
|
+
isSelected
|
|
32
|
+
})
|
|
27
33
|
});
|
|
28
34
|
}
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["isLoading"];
|
|
3
|
+
var _excluded = ["appearance", "isDisabled", "isSelected", "isLoading", "spacing"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Button from './button';
|
|
6
6
|
import LoadingSpinner from './shared/loading-spinner';
|
|
@@ -12,14 +12,27 @@ import LoadingSpinner from './shared/loading-spinner';
|
|
|
12
12
|
* - [Examples](https://atlassian.design/components/button/examples#loading-button)
|
|
13
13
|
*/
|
|
14
14
|
var LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(_ref, ref) {
|
|
15
|
-
var
|
|
15
|
+
var appearance = _ref.appearance,
|
|
16
|
+
isDisabled = _ref.isDisabled,
|
|
17
|
+
isSelected = _ref.isSelected,
|
|
18
|
+
_ref$isLoading = _ref.isLoading,
|
|
16
19
|
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
20
|
+
spacing = _ref.spacing,
|
|
17
21
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
18
22
|
// Button already has React.memo, so just leaning on that
|
|
19
23
|
return /*#__PURE__*/React.createElement(Button, _extends({}, rest, {
|
|
20
24
|
ref: ref,
|
|
25
|
+
appearance: appearance,
|
|
21
26
|
"aria-busy": isLoading,
|
|
22
|
-
|
|
27
|
+
isDisabled: isDisabled,
|
|
28
|
+
isSelected: isSelected,
|
|
29
|
+
overlay: isLoading ? /*#__PURE__*/React.createElement(LoadingSpinner, {
|
|
30
|
+
spacing: spacing,
|
|
31
|
+
appearance: appearance,
|
|
32
|
+
isDisabled: isDisabled,
|
|
33
|
+
isSelected: isSelected
|
|
34
|
+
}) : null,
|
|
35
|
+
spacing: spacing
|
|
23
36
|
}));
|
|
24
37
|
});
|
|
25
38
|
|
|
@@ -85,7 +85,7 @@ export default /*#__PURE__*/React.forwardRef(function ButtonBase(props, ref) {
|
|
|
85
85
|
action: 'clicked',
|
|
86
86
|
componentName: 'button',
|
|
87
87
|
packageName: "@atlaskit/button",
|
|
88
|
-
packageVersion: "16.8.
|
|
88
|
+
packageVersion: "16.8.3",
|
|
89
89
|
analyticsData: analyticsContext
|
|
90
90
|
});
|
|
91
91
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
|
-
var _excluded = ["spacing"];
|
|
3
1
|
import React from 'react';
|
|
4
2
|
import Spinner from '@atlaskit/spinner';
|
|
5
3
|
function getSpinnerAppearance(_ref) {
|
|
@@ -18,12 +16,18 @@ function getSpinnerAppearance(_ref) {
|
|
|
18
16
|
return 'inherit';
|
|
19
17
|
}
|
|
20
18
|
export default function LoadingSpinner(_ref2) {
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
var appearance = _ref2.appearance,
|
|
20
|
+
isDisabled = _ref2.isDisabled,
|
|
21
|
+
isSelected = _ref2.isSelected,
|
|
22
|
+
_ref2$spacing = _ref2.spacing,
|
|
23
|
+
spacing = _ref2$spacing === void 0 ? 'default' : _ref2$spacing;
|
|
24
24
|
var size = spacing === 'default' ? 'medium' : 'small';
|
|
25
25
|
return /*#__PURE__*/React.createElement(Spinner, {
|
|
26
26
|
size: size,
|
|
27
|
-
appearance: getSpinnerAppearance(
|
|
27
|
+
appearance: getSpinnerAppearance({
|
|
28
|
+
appearance: appearance,
|
|
29
|
+
isDisabled: isDisabled,
|
|
30
|
+
isSelected: isSelected
|
|
31
|
+
})
|
|
28
32
|
});
|
|
29
33
|
}
|
package/dist/esm/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BaseProps } from '../types';
|
|
3
3
|
type LoadingSpinnerProps = Pick<BaseProps, 'appearance' | 'isDisabled' | 'isSelected' | 'spacing'>;
|
|
4
|
-
export default function LoadingSpinner({ spacing,
|
|
4
|
+
export default function LoadingSpinner({ appearance, isDisabled, isSelected, spacing, }: LoadingSpinnerProps): JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BaseProps } from '../types';
|
|
3
3
|
type LoadingSpinnerProps = Pick<BaseProps, 'appearance' | 'isDisabled' | 'isSelected' | 'spacing'>;
|
|
4
|
-
export default function LoadingSpinner({ spacing,
|
|
4
|
+
export default function LoadingSpinner({ appearance, isDisabled, isSelected, spacing, }: LoadingSpinnerProps): JSX.Element;
|
|
5
5
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/button",
|
|
3
|
-
"version": "16.8.
|
|
3
|
+
"version": "16.8.3",
|
|
4
4
|
"description": "A button triggers an event or action. They let users know what will happen next.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"sideEffects": false,
|
|
24
24
|
"atlaskit:src": "src/index.tsx",
|
|
25
25
|
"atlassian": {
|
|
26
|
-
"team": "Design System
|
|
26
|
+
"team": "Design System Maker Experience",
|
|
27
27
|
"releaseModel": "continuous",
|
|
28
28
|
"website": {
|
|
29
29
|
"name": "Button",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
52
52
|
"@atlaskit/spinner": "^15.5.0",
|
|
53
53
|
"@atlaskit/theme": "^12.5.0",
|
|
54
|
-
"@atlaskit/tokens": "^1.
|
|
54
|
+
"@atlaskit/tokens": "^1.13.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@emotion/react": "^11.7.1"
|
|
57
57
|
},
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/button"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
|
|
9
|
+
import { ComponentType } from 'react';
|
|
10
|
+
import { CSSObject } from '@emotion/react';
|
|
11
|
+
import { jsx } from '@emotion/react';
|
|
12
|
+
import { default as React_2 } from 'react';
|
|
13
|
+
import { ReactNode } from 'react';
|
|
14
|
+
import { ThemeModes } from '@atlaskit/theme/types';
|
|
15
|
+
import { ThemeModes as ThemeModes_2 } from '@atlaskit/theme';
|
|
16
|
+
import { ThemeProp } from '@atlaskit/theme/components';
|
|
17
|
+
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
18
|
+
|
|
19
|
+
// @public (undocumented)
|
|
20
|
+
export type Appearance = 'danger' | 'default' | 'link' | 'primary' | 'subtle' | 'subtle-link' | 'warning';
|
|
21
|
+
|
|
22
|
+
// @public (undocumented)
|
|
23
|
+
export type BaseOwnProps = {
|
|
24
|
+
appearance?: Appearance;
|
|
25
|
+
autoFocus?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
overlay?: React_2.ReactNode;
|
|
28
|
+
href?: string;
|
|
29
|
+
iconAfter?: React_2.ReactChild;
|
|
30
|
+
iconBefore?: React_2.ReactChild;
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
isSelected?: boolean;
|
|
33
|
+
onBlur?: React_2.FocusEventHandler<HTMLElement>;
|
|
34
|
+
onClick?: (e: React_2.MouseEvent<HTMLElement>, analyticsEvent: UIAnalyticsEvent) => void;
|
|
35
|
+
onFocus?: React_2.FocusEventHandler<HTMLElement>;
|
|
36
|
+
spacing?: Spacing;
|
|
37
|
+
target?: React_2.AnchorHTMLAttributes<HTMLAnchorElement>['target'];
|
|
38
|
+
type?: React_2.ButtonHTMLAttributes<HTMLButtonElement>['type'];
|
|
39
|
+
shouldFitContainer?: boolean;
|
|
40
|
+
children?: React_2.ReactNode;
|
|
41
|
+
testId?: string;
|
|
42
|
+
component?: React_2.ComponentType<React_2.AllHTMLAttributes<HTMLElement>> | React_2.ElementType;
|
|
43
|
+
interactionName?: string;
|
|
44
|
+
analyticsContext?: Record<string, any>;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
// @public (undocumented)
|
|
48
|
+
export type BaseProps = Combine<Combine<Omit<React_2.AllHTMLAttributes<HTMLElement>, 'disabled'>, {
|
|
49
|
+
'data-testid'?: never;
|
|
50
|
+
'data-has-overlay'?: never;
|
|
51
|
+
}>, BaseOwnProps>;
|
|
52
|
+
|
|
53
|
+
// @public
|
|
54
|
+
const Button: React_2.MemoExoticComponent<React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLElement>>>;
|
|
55
|
+
export default Button;
|
|
56
|
+
|
|
57
|
+
// @public (undocumented)
|
|
58
|
+
export function ButtonGroup({ appearance, children, }: ButtonGroupProps): jsx.JSX.Element;
|
|
59
|
+
|
|
60
|
+
// @public (undocumented)
|
|
61
|
+
type ButtonGroupProps = {
|
|
62
|
+
appearance?: Appearance;
|
|
63
|
+
children?: React_2.ReactNode;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
// @public (undocumented)
|
|
67
|
+
export interface ButtonProps extends BaseProps {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// @public (undocumented)
|
|
71
|
+
type Combine<First, Second> = Omit<First, keyof Second> & Second;
|
|
72
|
+
|
|
73
|
+
// @public
|
|
74
|
+
export const CustomThemeButton: React_2.MemoExoticComponent<React_2.ForwardRefExoticComponent<Omit<BaseProps, "overlay"> & CustomThemeButtonOwnProps & React_2.RefAttributes<HTMLElement>>>;
|
|
75
|
+
|
|
76
|
+
// @public (undocumented)
|
|
77
|
+
export type CustomThemeButtonOwnProps = {
|
|
78
|
+
isLoading?: boolean;
|
|
79
|
+
theme?: (current: (props: ThemeProps) => ThemeTokens, props: ThemeProps) => ThemeTokens;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// @public (undocumented)
|
|
83
|
+
export type CustomThemeButtonProps = Omit<BaseProps, 'overlay'> & CustomThemeButtonOwnProps;
|
|
84
|
+
|
|
85
|
+
// @public (undocumented)
|
|
86
|
+
export type InteractionState = 'active' | 'default' | 'disabled' | 'focus' | 'focusSelected' | 'hover' | 'selected';
|
|
87
|
+
|
|
88
|
+
// @public
|
|
89
|
+
export const LoadingButton: React_2.ForwardRefExoticComponent<Omit<BaseProps, "overlay"> & LoadingButtonOwnProps & React_2.RefAttributes<HTMLElement>>;
|
|
90
|
+
|
|
91
|
+
// @public (undocumented)
|
|
92
|
+
export type LoadingButtonOwnProps = {
|
|
93
|
+
isLoading?: boolean;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
// @public (undocumented)
|
|
97
|
+
export type LoadingButtonProps = Omit<BaseProps, 'overlay'> & LoadingButtonOwnProps;
|
|
98
|
+
|
|
99
|
+
// @public (undocumented)
|
|
100
|
+
export type Spacing = 'compact' | 'default' | 'none';
|
|
101
|
+
|
|
102
|
+
// @public (undocumented)
|
|
103
|
+
export const Theme: {
|
|
104
|
+
Consumer: ComponentType< {
|
|
105
|
+
children: (tokens: ThemeTokens) => ReactNode;
|
|
106
|
+
} & Partial<CustomThemeButtonProps> & {
|
|
107
|
+
state: InteractionState;
|
|
108
|
+
iconIsOnlyChild?: boolean | undefined;
|
|
109
|
+
mode?: ThemeModes_2 | undefined;
|
|
110
|
+
}>;
|
|
111
|
+
Provider: ComponentType< {
|
|
112
|
+
children?: ReactNode;
|
|
113
|
+
value?: ThemeProp<ThemeTokens, ThemeProps> | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
useTheme: (props: ThemeProps) => ThemeTokens;
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
// @public (undocumented)
|
|
119
|
+
export type ThemeProps = Partial<CustomThemeButtonProps> & {
|
|
120
|
+
state: InteractionState;
|
|
121
|
+
iconIsOnlyChild?: boolean;
|
|
122
|
+
mode?: ThemeModes;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
// @public (undocumented)
|
|
126
|
+
export type ThemeTokens = {
|
|
127
|
+
buttonStyles: CSSObject;
|
|
128
|
+
spinnerStyles: CSSObject;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
// (No @packageDocumentation comment for this package)
|
|
132
|
+
|
|
133
|
+
```
|