@atlaskit/avatar 21.3.5 → 21.3.7
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 +12 -0
- package/dist/cjs/Avatar.js +1 -1
- package/dist/cjs/AvatarItem.js +2 -2
- package/dist/cjs/IconWrapper.js +1 -1
- package/dist/cjs/Skeleton.js +2 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/Avatar.js +1 -1
- package/dist/es2019/AvatarItem.js +2 -2
- package/dist/es2019/IconWrapper.js +1 -1
- package/dist/es2019/Skeleton.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/Avatar.js +1 -1
- package/dist/esm/AvatarItem.js +2 -2
- package/dist/esm/IconWrapper.js +1 -1
- package/dist/esm/Skeleton.js +2 -1
- package/dist/esm/version.json +1 -1
- package/package.json +3 -6
- package/tmp/api-report-tmp.d.ts +0 -170
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/avatar
|
|
2
2
|
|
|
3
|
+
## 21.3.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
8
|
+
|
|
9
|
+
## 21.3.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
14
|
+
|
|
3
15
|
## 21.3.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/Avatar.js
CHANGED
|
@@ -22,7 +22,7 @@ var _templateObject;
|
|
|
22
22
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
23
23
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
24
24
|
var packageName = "@atlaskit/avatar";
|
|
25
|
-
var packageVersion = "21.3.
|
|
25
|
+
var packageVersion = "21.3.7";
|
|
26
26
|
|
|
27
27
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
28
28
|
|
package/dist/cjs/AvatarItem.js
CHANGED
|
@@ -24,14 +24,14 @@ var avatarItemStyles = (0, _react2.css)({
|
|
|
24
24
|
maxWidth: '100%',
|
|
25
25
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
26
26
|
flex: '1 1 100%',
|
|
27
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
27
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
28
28
|
lineHeight: '1.4'
|
|
29
29
|
});
|
|
30
30
|
var getStyles = function getStyles(css, _ref) {
|
|
31
31
|
var backgroundColor = _ref.backgroundColor,
|
|
32
32
|
isInteractive = _ref.isInteractive,
|
|
33
33
|
isDisabled = _ref.isDisabled;
|
|
34
|
-
return (// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
34
|
+
return (// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @repo/internal/react/no-css-string-literals
|
|
35
35
|
css(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n align-items: center;\n background-color: ", ";\n border-radius: ", "px;\n border: ", "px solid transparent;\n box-sizing: border-box;\n color: inherit;\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n outline: none;\n margin: ", ";\n padding: ", ";\n text-align: left;\n text-decoration: none;\n width: 100%;\n\n ", "\n\n ", "\n "])), backgroundColor, (0, _constants.borderRadius)(), _constants2.BORDER_WIDTH, "var(--ds-space-0, 0px)", "var(--ds-space-050, 4px)", isInteractive && "\n :hover {\n background-color: ".concat("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"), ";\n cursor: pointer;\n text-decoration: none;\n }\n\n :focus {\n outline: none;\n border-color: ", "var(--ds-border-focused, ".concat(_colors.B200, ")"), ";\n }\n\n :active {\n background-color: ", "var(--ds-background-neutral-subtle-pressed, ".concat(_colors.B50, ")"), ";\n }\n "), isDisabled && "\n cursor: not-allowed;\n opacity: ".concat("var(--ds-opacity-disabled, 0.5)", ";\n pointer-events: none;\n "))
|
|
36
36
|
);
|
|
37
37
|
};
|
package/dist/cjs/IconWrapper.js
CHANGED
package/dist/cjs/Skeleton.js
CHANGED
|
@@ -32,11 +32,12 @@ var radiusStyles = Object.entries(_constants.AVATAR_RADIUS).reduce(function (sty
|
|
|
32
32
|
key = _ref4[0],
|
|
33
33
|
size = _ref4[1];
|
|
34
34
|
return _objectSpread(_objectSpread({}, styles), {}, (0, _defineProperty2.default)({}, key, (0, _react.css)({
|
|
35
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
35
36
|
borderRadius: "".concat(size, "px")
|
|
36
37
|
})));
|
|
37
38
|
}, {});
|
|
38
39
|
var defaultRadiusStyles = (0, _react.css)({
|
|
39
|
-
borderRadius:
|
|
40
|
+
borderRadius: "var(--ds-border-radius-circle, 50%)"
|
|
40
41
|
});
|
|
41
42
|
var strongOpacityStyles = (0, _react.css)({
|
|
42
43
|
opacity: 0.3
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/Avatar.js
CHANGED
|
@@ -10,7 +10,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
10
10
|
import { StatusWrapper } from './Status';
|
|
11
11
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
12
12
|
const packageName = "@atlaskit/avatar";
|
|
13
|
-
const packageVersion = "21.3.
|
|
13
|
+
const packageVersion = "21.3.7";
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
16
16
|
|
|
@@ -12,7 +12,7 @@ const avatarItemStyles = css({
|
|
|
12
12
|
maxWidth: '100%',
|
|
13
13
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
14
14
|
flex: '1 1 100%',
|
|
15
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
16
16
|
lineHeight: '1.4'
|
|
17
17
|
});
|
|
18
18
|
const getStyles = (css, {
|
|
@@ -20,7 +20,7 @@ const getStyles = (css, {
|
|
|
20
20
|
isInteractive,
|
|
21
21
|
isDisabled
|
|
22
22
|
}) =>
|
|
23
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @repo/internal/react/no-css-string-literals
|
|
24
24
|
css`
|
|
25
25
|
align-items: center;
|
|
26
26
|
background-color: ${backgroundColor};
|
package/dist/es2019/Skeleton.js
CHANGED
|
@@ -23,12 +23,13 @@ const radiusStyles = Object.entries(AVATAR_RADIUS).reduce((styles, [key, size])
|
|
|
23
23
|
return {
|
|
24
24
|
...styles,
|
|
25
25
|
[key]: css({
|
|
26
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
26
27
|
borderRadius: `${size}px`
|
|
27
28
|
})
|
|
28
29
|
};
|
|
29
30
|
}, {});
|
|
30
31
|
const defaultRadiusStyles = css({
|
|
31
|
-
borderRadius:
|
|
32
|
+
borderRadius: "var(--ds-border-radius-circle, 50%)"
|
|
32
33
|
});
|
|
33
34
|
const strongOpacityStyles = css({
|
|
34
35
|
opacity: 0.3
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/Avatar.js
CHANGED
|
@@ -15,7 +15,7 @@ import { PresenceWrapper } from './Presence';
|
|
|
15
15
|
import { StatusWrapper } from './Status';
|
|
16
16
|
import { getButtonProps, getCustomElement, getLinkProps } from './utilities';
|
|
17
17
|
var packageName = "@atlaskit/avatar";
|
|
18
|
-
var packageVersion = "21.3.
|
|
18
|
+
var packageVersion = "21.3.7";
|
|
19
19
|
|
|
20
20
|
// eslint-disable-next-line @repo/internal/react/consistent-types-definitions
|
|
21
21
|
|
package/dist/esm/AvatarItem.js
CHANGED
|
@@ -17,14 +17,14 @@ var avatarItemStyles = css({
|
|
|
17
17
|
maxWidth: '100%',
|
|
18
18
|
paddingLeft: "var(--ds-space-100, 8px)",
|
|
19
19
|
flex: '1 1 100%',
|
|
20
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
21
21
|
lineHeight: '1.4'
|
|
22
22
|
});
|
|
23
23
|
var getStyles = function getStyles(css, _ref) {
|
|
24
24
|
var backgroundColor = _ref.backgroundColor,
|
|
25
25
|
isInteractive = _ref.isInteractive,
|
|
26
26
|
isDisabled = _ref.isDisabled;
|
|
27
|
-
return (// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
27
|
+
return (// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @repo/internal/react/no-css-string-literals
|
|
28
28
|
css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border-radius: ", "px;\n border: ", "px solid transparent;\n box-sizing: border-box;\n color: inherit;\n display: flex;\n font-size: inherit;\n font-style: normal;\n font-weight: normal;\n line-height: 1;\n outline: none;\n margin: ", ";\n padding: ", ";\n text-align: left;\n text-decoration: none;\n width: 100%;\n\n ", "\n\n ", "\n "])), backgroundColor, borderRadius(), BORDER_WIDTH, "var(--ds-space-0, 0px)", "var(--ds-space-050, 4px)", isInteractive && "\n :hover {\n background-color: ".concat("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"), ";\n cursor: pointer;\n text-decoration: none;\n }\n\n :focus {\n outline: none;\n border-color: ", "var(--ds-border-focused, ".concat(B200, ")"), ";\n }\n\n :active {\n background-color: ", "var(--ds-background-neutral-subtle-pressed, ".concat(B50, ")"), ";\n }\n "), isDisabled && "\n cursor: not-allowed;\n opacity: ".concat("var(--ds-opacity-disabled, 0.5)", ";\n pointer-events: none;\n "))
|
|
29
29
|
);
|
|
30
30
|
};
|
package/dist/esm/IconWrapper.js
CHANGED
package/dist/esm/Skeleton.js
CHANGED
|
@@ -28,11 +28,12 @@ var radiusStyles = Object.entries(AVATAR_RADIUS).reduce(function (styles, _ref3)
|
|
|
28
28
|
key = _ref4[0],
|
|
29
29
|
size = _ref4[1];
|
|
30
30
|
return _objectSpread(_objectSpread({}, styles), {}, _defineProperty({}, key, css({
|
|
31
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
31
32
|
borderRadius: "".concat(size, "px")
|
|
32
33
|
})));
|
|
33
34
|
}, {});
|
|
34
35
|
var defaultRadiusStyles = css({
|
|
35
|
-
borderRadius:
|
|
36
|
+
borderRadius: "var(--ds-border-radius-circle, 50%)"
|
|
36
37
|
});
|
|
37
38
|
var strongOpacityStyles = css({
|
|
38
39
|
opacity: 0.3
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/avatar",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.7",
|
|
4
4
|
"description": "An avatar is a visual representation of a user or entity.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
44
44
|
"@atlaskit/icon": "^21.12.0",
|
|
45
45
|
"@atlaskit/theme": "^12.5.0",
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
46
|
+
"@atlaskit/tokens": "^1.11.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1",
|
|
49
49
|
"@emotion/serialize": "^1.1.0"
|
|
@@ -52,11 +52,9 @@
|
|
|
52
52
|
"react": "^16.8.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@
|
|
56
|
-
"@atlaskit/docs": "*",
|
|
55
|
+
"@af/accessibility-testing": "*",
|
|
57
56
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
58
57
|
"@atlaskit/icon": "^21.12.0",
|
|
59
|
-
"@atlaskit/section-message": "^6.4.0",
|
|
60
58
|
"@atlaskit/ssr": "*",
|
|
61
59
|
"@atlaskit/tooltip": "^17.8.0",
|
|
62
60
|
"@atlaskit/visual-regression": "*",
|
|
@@ -65,7 +63,6 @@
|
|
|
65
63
|
"@testing-library/react": "^12.1.5",
|
|
66
64
|
"@types/jscodeshift": "^0.11.0",
|
|
67
65
|
"color-contrast-checker": "^1.5.0",
|
|
68
|
-
"jest-axe": "^4.0.0",
|
|
69
66
|
"jscodeshift": "^0.13.0",
|
|
70
67
|
"react-dom": "^16.8.0",
|
|
71
68
|
"typescript": "~4.9.5",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/avatar"
|
|
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 { FC } from 'react';
|
|
10
|
-
import { ForwardRefExoticComponent } from 'react';
|
|
11
|
-
import { MouseEventHandler } from 'react';
|
|
12
|
-
import { ReactNode } from 'react';
|
|
13
|
-
import { Ref } from 'react';
|
|
14
|
-
import { RefAttributes } from 'react';
|
|
15
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
16
|
-
|
|
17
|
-
// @public (undocumented)
|
|
18
|
-
export const ACTIVE_SCALE_FACTOR = 0.9;
|
|
19
|
-
|
|
20
|
-
// @public (undocumented)
|
|
21
|
-
export type AppearanceType = 'circle' | 'square';
|
|
22
|
-
|
|
23
|
-
// @public
|
|
24
|
-
const Avatar: ForwardRefExoticComponent<AvatarPropTypes & RefAttributes<HTMLElement>>;
|
|
25
|
-
export default Avatar;
|
|
26
|
-
|
|
27
|
-
// @public (undocumented)
|
|
28
|
-
export const AVATAR_RADIUS: AvatarSizeMap;
|
|
29
|
-
|
|
30
|
-
// @public (undocumented)
|
|
31
|
-
export const AVATAR_SIZES: AvatarSizeMap;
|
|
32
|
-
|
|
33
|
-
// @public (undocumented)
|
|
34
|
-
export type AvatarClickEventHandler = (event: React.MouseEvent, analyticsEvent?: UIAnalyticsEvent) => void;
|
|
35
|
-
|
|
36
|
-
// @public
|
|
37
|
-
export const AvatarItem: ForwardRefExoticComponent<AvatarItemProps & RefAttributes<HTMLElement>>;
|
|
38
|
-
|
|
39
|
-
// @public (undocumented)
|
|
40
|
-
export interface AvatarItemProps {
|
|
41
|
-
avatar: ReactNode;
|
|
42
|
-
backgroundColor?: string;
|
|
43
|
-
children?: (props: CustomAvatarItemProps) => ReactNode;
|
|
44
|
-
href?: string;
|
|
45
|
-
isDisabled?: boolean;
|
|
46
|
-
isTruncationDisabled?: boolean;
|
|
47
|
-
label?: string;
|
|
48
|
-
onClick?: AvatarClickEventHandler;
|
|
49
|
-
primaryText?: ReactNode;
|
|
50
|
-
secondaryText?: ReactNode;
|
|
51
|
-
target?: '_blank' | '_parent' | '_self' | '_top';
|
|
52
|
-
testId?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
// @public (undocumented)
|
|
56
|
-
export interface AvatarPropTypes {
|
|
57
|
-
analyticsContext?: Record<string, any>;
|
|
58
|
-
appearance?: AppearanceType;
|
|
59
|
-
borderColor?: string;
|
|
60
|
-
children?: (props: CustomAvatarProps) => ReactNode;
|
|
61
|
-
href?: string;
|
|
62
|
-
isDisabled?: boolean;
|
|
63
|
-
label?: string;
|
|
64
|
-
name?: string;
|
|
65
|
-
onClick?: AvatarClickEventHandler;
|
|
66
|
-
presence?: (string & {}) | Omit<ReactNode, string> | PresenceType | null;
|
|
67
|
-
size?: SizeType;
|
|
68
|
-
src?: string;
|
|
69
|
-
stackIndex?: number;
|
|
70
|
-
status?: (string & {}) | Omit<ReactNode, string> | StatusType | null;
|
|
71
|
-
tabIndex?: number;
|
|
72
|
-
target?: '_blank' | '_parent' | '_self' | '_top';
|
|
73
|
-
testId?: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// @public (undocumented)
|
|
77
|
-
type AvatarSizeMap = Record<SizeType, number>;
|
|
78
|
-
|
|
79
|
-
// @public (undocumented)
|
|
80
|
-
export const BORDER_WIDTH = 2;
|
|
81
|
-
|
|
82
|
-
// @public (undocumented)
|
|
83
|
-
export interface CustomAvatarItemProps {
|
|
84
|
-
// (undocumented)
|
|
85
|
-
'aria-disabled'?: 'false' | 'true' | boolean | undefined;
|
|
86
|
-
'aria-label'?: string;
|
|
87
|
-
// (undocumented)
|
|
88
|
-
children: ReactNode;
|
|
89
|
-
// (undocumented)
|
|
90
|
-
className?: string;
|
|
91
|
-
// (undocumented)
|
|
92
|
-
href?: string;
|
|
93
|
-
// (undocumented)
|
|
94
|
-
onClick?: MouseEventHandler;
|
|
95
|
-
// (undocumented)
|
|
96
|
-
ref: Ref<HTMLElement>;
|
|
97
|
-
// (undocumented)
|
|
98
|
-
testId?: string;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// @public (undocumented)
|
|
102
|
-
export interface CustomAvatarProps {
|
|
103
|
-
'aria-label'?: string;
|
|
104
|
-
// (undocumented)
|
|
105
|
-
children: ReactNode;
|
|
106
|
-
// (undocumented)
|
|
107
|
-
className?: string;
|
|
108
|
-
// (undocumented)
|
|
109
|
-
href?: string;
|
|
110
|
-
// (undocumented)
|
|
111
|
-
onClick?: MouseEventHandler;
|
|
112
|
-
// (undocumented)
|
|
113
|
-
ref: Ref<HTMLElement>;
|
|
114
|
-
// (undocumented)
|
|
115
|
-
tabIndex?: number;
|
|
116
|
-
// (undocumented)
|
|
117
|
-
testId?: string;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// @public (undocumented)
|
|
121
|
-
export type IndicatorSizeType = 'large' | 'medium' | 'small' | 'xlarge';
|
|
122
|
-
|
|
123
|
-
// @public
|
|
124
|
-
export const Presence: FC<PresenceProps>;
|
|
125
|
-
|
|
126
|
-
// @public (undocumented)
|
|
127
|
-
export interface PresenceProps {
|
|
128
|
-
borderColor?: string;
|
|
129
|
-
children?: ReactNode;
|
|
130
|
-
presence?: PresenceType;
|
|
131
|
-
testId?: string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// @public (undocumented)
|
|
135
|
-
export type PresenceType = 'busy' | 'focus' | 'offline' | 'online';
|
|
136
|
-
|
|
137
|
-
// @public (undocumented)
|
|
138
|
-
export type SizeType = 'large' | 'medium' | 'small' | 'xlarge' | 'xsmall' | 'xxlarge';
|
|
139
|
-
|
|
140
|
-
// @public
|
|
141
|
-
export const Skeleton: FC<SkeletonProps>;
|
|
142
|
-
|
|
143
|
-
// @public (undocumented)
|
|
144
|
-
export interface SkeletonProps {
|
|
145
|
-
// (undocumented)
|
|
146
|
-
appearance?: AppearanceType;
|
|
147
|
-
// (undocumented)
|
|
148
|
-
color?: string;
|
|
149
|
-
// (undocumented)
|
|
150
|
-
size?: SizeType;
|
|
151
|
-
// (undocumented)
|
|
152
|
-
weight?: 'normal' | 'strong';
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
// @public
|
|
156
|
-
export const Status: FC<StatusProps>;
|
|
157
|
-
|
|
158
|
-
// @public (undocumented)
|
|
159
|
-
export interface StatusProps {
|
|
160
|
-
borderColor?: string;
|
|
161
|
-
children?: ReactNode;
|
|
162
|
-
status?: StatusType;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @public (undocumented)
|
|
166
|
-
export type StatusType = 'approved' | 'declined' | 'locked';
|
|
167
|
-
|
|
168
|
-
// (No @packageDocumentation comment for this package)
|
|
169
|
-
|
|
170
|
-
```
|