@atlaskit/status 1.4.5 → 1.4.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/afm-cc/tsconfig.json +40 -0
- package/dist/cjs/components/Status.js +4 -2
- package/dist/cjs/components/analytics.js +1 -1
- package/dist/cjs/components/internal/color.js +5 -1
- package/dist/es2019/components/Status.js +5 -2
- package/dist/es2019/components/analytics.js +1 -1
- package/dist/es2019/components/internal/color.js +5 -1
- package/dist/esm/components/Status.js +5 -2
- package/dist/esm/components/analytics.js +1 -1
- package/dist/esm/components/internal/color.js +5 -1
- package/package.json +13 -8
- package/tsconfig.json +178 -2
- package/tmp/api-report-tmp.d.ts +0 -74
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/status
|
|
2
2
|
|
|
3
|
+
## 1.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#70896](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70896) [`af5e296fa0f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af5e296fa0f4) - Migrate @atlaskit/status to use declarative entry points.
|
|
8
|
+
|
|
9
|
+
## 1.4.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#66759](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66759) [`906578f1ea5d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/906578f1ea5d) - [ux] ED-21787: Migrating few CSS entries to space and color tokens
|
|
14
|
+
|
|
3
15
|
## 1.4.5
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../dist",
|
|
8
|
+
"rootDir": "../",
|
|
9
|
+
"baseUrl": "../"
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"../src/**/*.ts",
|
|
13
|
+
"../src/**/*.tsx"
|
|
14
|
+
],
|
|
15
|
+
"exclude": [
|
|
16
|
+
"../src/**/__tests__/*",
|
|
17
|
+
"../src/**/*.test.*",
|
|
18
|
+
"../src/**/test.*"
|
|
19
|
+
],
|
|
20
|
+
"references": [
|
|
21
|
+
{
|
|
22
|
+
"path": "../../../analytics/analytics-next/afm-cc/tsconfig.json"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"path": "../../../design-system/icon/afm-cc/tsconfig.json"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"path": "../../../design-system/lozenge/afm-cc/tsconfig.json"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "../../../design-system/textfield/afm-cc/tsconfig.json"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"path": "../../../design-system/theme/afm-cc/tsconfig.json"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"path": "../../../design-system/tokens/afm-cc/tsconfig.json"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -20,7 +20,9 @@ var _analytics = require("./analytics");
|
|
|
20
20
|
var _constants = require("./constants");
|
|
21
21
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
|
|
23
|
-
|
|
23
|
+
// Disabling linting for nextline since these values are used as text reference, but not used as part of the CSS
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview
|
|
25
|
+
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
24
26
|
var colorToLozengeAppearanceMap = {
|
|
25
27
|
neutral: 'default',
|
|
26
28
|
purple: 'new',
|
|
@@ -29,7 +31,7 @@ var colorToLozengeAppearanceMap = {
|
|
|
29
31
|
yellow: 'moved',
|
|
30
32
|
green: 'success'
|
|
31
33
|
};
|
|
32
|
-
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
34
|
+
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
33
35
|
|
|
34
36
|
var DEFAULT_APPEARANCE = 'default';
|
|
35
37
|
var MAX_WIDTH = 200;
|
|
@@ -10,7 +10,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
var ELEMENTS_CHANNEL = exports.ELEMENTS_CHANNEL = 'fabric-elements';
|
|
12
12
|
var packageName = "@atlaskit/status";
|
|
13
|
-
var packageVersion = "1.4.
|
|
13
|
+
var packageVersion = "1.4.7";
|
|
14
14
|
var createStatusAnalyticsAndFire = exports.createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
15
15
|
return function (payload) {
|
|
16
16
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
|
@@ -28,7 +28,11 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
28
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
29
29
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
30
30
|
var buttonStyles = (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n height: 24px;\n width: 24px;\n background: ", ";\n padding: 0;\n border-radius: 4px;\n border: 1px solid ", ";\n cursor: pointer;\n display: block;\n box-sizing: border-box;\n overflow: hidden;\n"])), "var(--ds-background-neutral, ".concat(_colors.N900, ")"), "var(--ds-border, ".concat(_colors.N0, ")"));
|
|
31
|
-
|
|
31
|
+
|
|
32
|
+
// We have tried with changing border and padding from 1px to token near version 2px,
|
|
33
|
+
// the pop - up is being expanded to two lines.
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
35
|
+
var buttonWrapperStyles = (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n border: 1px solid transparent;\n margin: 0 ", ";\n font-size: 0;\n display: flex;\n align-items: center;\n padding: 1px;\n border-radius: ", ";\n &:hover {\n border: 1px solid ", ";\n }\n"])), "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", "var(--ds-border, ".concat(_colors.N50, ")"));
|
|
32
36
|
var Color = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
33
37
|
(0, _inherits2.default)(Color, _PureComponent);
|
|
34
38
|
var _super = _createSuper(Color);
|
|
@@ -6,7 +6,10 @@ import Lozenge from '@atlaskit/lozenge';
|
|
|
6
6
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
7
7
|
import { createStatusAnalyticsAndFire } from './analytics';
|
|
8
8
|
import { ANALYTICS_HOVER_DELAY } from './constants';
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
// Disabling linting for nextline since these values are used as text reference, but not used as part of the CSS
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview
|
|
12
|
+
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
10
13
|
const colorToLozengeAppearanceMap = {
|
|
11
14
|
neutral: 'default',
|
|
12
15
|
purple: 'new',
|
|
@@ -15,7 +18,7 @@ const colorToLozengeAppearanceMap = {
|
|
|
15
18
|
yellow: 'moved',
|
|
16
19
|
green: 'success'
|
|
17
20
|
};
|
|
18
|
-
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
21
|
+
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
19
22
|
|
|
20
23
|
const DEFAULT_APPEARANCE = 'default';
|
|
21
24
|
const MAX_WIDTH = 200;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const ELEMENTS_CHANNEL = 'fabric-elements';
|
|
2
2
|
const packageName = "@atlaskit/status";
|
|
3
|
-
const packageVersion = "1.4.
|
|
3
|
+
const packageVersion = "1.4.7";
|
|
4
4
|
export const createStatusAnalyticsAndFire = createAnalyticsEvent => payload => {
|
|
5
5
|
const statusPayload = {
|
|
6
6
|
...payload,
|
|
@@ -19,6 +19,10 @@ const buttonStyles = css`
|
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
overflow: hidden;
|
|
21
21
|
`;
|
|
22
|
+
|
|
23
|
+
// We have tried with changing border and padding from 1px to token near version 2px,
|
|
24
|
+
// the pop - up is being expanded to two lines.
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
22
26
|
const buttonWrapperStyles = css`
|
|
23
27
|
border: 1px solid transparent;
|
|
24
28
|
margin: 0 ${"var(--ds-space-025, 2px)"};
|
|
@@ -26,7 +30,7 @@ const buttonWrapperStyles = css`
|
|
|
26
30
|
display: flex;
|
|
27
31
|
align-items: center;
|
|
28
32
|
padding: 1px;
|
|
29
|
-
border-radius: 6px;
|
|
33
|
+
border-radius: ${"var(--ds-space-075, 6px)"};
|
|
30
34
|
&:hover {
|
|
31
35
|
border: 1px solid ${`var(--ds-border, ${N50})`};
|
|
32
36
|
}
|
|
@@ -14,7 +14,10 @@ import Lozenge from '@atlaskit/lozenge';
|
|
|
14
14
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
15
15
|
import { createStatusAnalyticsAndFire } from './analytics';
|
|
16
16
|
import { ANALYTICS_HOVER_DELAY } from './constants';
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
// Disabling linting for nextline since these values are used as text reference, but not used as part of the CSS
|
|
19
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview
|
|
20
|
+
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
18
21
|
var colorToLozengeAppearanceMap = {
|
|
19
22
|
neutral: 'default',
|
|
20
23
|
purple: 'new',
|
|
@@ -23,7 +26,7 @@ var colorToLozengeAppearanceMap = {
|
|
|
23
26
|
yellow: 'moved',
|
|
24
27
|
green: 'success'
|
|
25
28
|
};
|
|
26
|
-
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage */
|
|
29
|
+
/* eslint-enable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
|
|
27
30
|
|
|
28
31
|
var DEFAULT_APPEARANCE = 'default';
|
|
29
32
|
var MAX_WIDTH = 200;
|
|
@@ -3,7 +3,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
export var ELEMENTS_CHANNEL = 'fabric-elements';
|
|
5
5
|
var packageName = "@atlaskit/status";
|
|
6
|
-
var packageVersion = "1.4.
|
|
6
|
+
var packageVersion = "1.4.7";
|
|
7
7
|
export var createStatusAnalyticsAndFire = function createStatusAnalyticsAndFire(createAnalyticsEvent) {
|
|
8
8
|
return function (payload) {
|
|
9
9
|
var statusPayload = _objectSpread(_objectSpread({}, payload), {}, {
|
|
@@ -18,7 +18,11 @@ import { css, jsx } from '@emotion/react';
|
|
|
18
18
|
import { ANALYTICS_HOVER_DELAY } from '../constants';
|
|
19
19
|
import { messages } from '../i18n';
|
|
20
20
|
var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n height: 24px;\n width: 24px;\n background: ", ";\n padding: 0;\n border-radius: 4px;\n border: 1px solid ", ";\n cursor: pointer;\n display: block;\n box-sizing: border-box;\n overflow: hidden;\n"])), "var(--ds-background-neutral, ".concat(N900, ")"), "var(--ds-border, ".concat(N0, ")"));
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
// We have tried with changing border and padding from 1px to token near version 2px,
|
|
23
|
+
// the pop - up is being expanded to two lines.
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
|
|
25
|
+
var buttonWrapperStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n border: 1px solid transparent;\n margin: 0 ", ";\n font-size: 0;\n display: flex;\n align-items: center;\n padding: 1px;\n border-radius: ", ";\n &:hover {\n border: 1px solid ", ";\n }\n"])), "var(--ds-space-025, 2px)", "var(--ds-space-075, 6px)", "var(--ds-border, ".concat(N50, ")"));
|
|
22
26
|
var Color = /*#__PURE__*/function (_PureComponent) {
|
|
23
27
|
_inherits(Color, _PureComponent);
|
|
24
28
|
var _super = _createSuper(Color);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/status",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.7",
|
|
4
4
|
"description": "Fabric Status React Components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
"atlaskit:src": "src/index.ts",
|
|
16
16
|
"atlassian": {
|
|
17
17
|
"team": "Editor: Scarlet",
|
|
18
|
-
"deprecatedAutoEntryPoints": true,
|
|
19
18
|
"releaseModel": "continuous",
|
|
20
19
|
"website": {
|
|
21
20
|
"name": "Status"
|
|
22
|
-
}
|
|
21
|
+
},
|
|
22
|
+
"runReact18": false
|
|
23
23
|
},
|
|
24
24
|
"config": {
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@atlaskit/analytics-next": "^9.
|
|
28
|
+
"@atlaskit/analytics-next": "^9.2.0",
|
|
29
29
|
"@atlaskit/icon": "^22.0.0",
|
|
30
|
-
"@atlaskit/lozenge": "^11.
|
|
30
|
+
"@atlaskit/lozenge": "^11.6.0",
|
|
31
31
|
"@atlaskit/textfield": "^6.0.0",
|
|
32
32
|
"@atlaskit/theme": "^12.6.0",
|
|
33
|
-
"@atlaskit/tokens": "^1.
|
|
33
|
+
"@atlaskit/tokens": "^1.35.0",
|
|
34
34
|
"@babel/runtime": "^7.0.0",
|
|
35
35
|
"@emotion/react": "^11.7.1"
|
|
36
36
|
},
|
|
@@ -72,5 +72,10 @@
|
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
75
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
|
|
76
|
+
"af:exports": {
|
|
77
|
+
".": "./src/index.ts",
|
|
78
|
+
"./element": "./src/element.ts",
|
|
79
|
+
"./picker": "./src/picker.ts"
|
|
80
|
+
}
|
|
76
81
|
}
|
package/tsconfig.json
CHANGED
|
@@ -9,6 +9,182 @@
|
|
|
9
9
|
"./examples/**/*.tsx"
|
|
10
10
|
],
|
|
11
11
|
"compilerOptions": {
|
|
12
|
-
"baseUrl": "./"
|
|
12
|
+
"baseUrl": "./",
|
|
13
|
+
"paths": {
|
|
14
|
+
"@atlaskit/analytics-next/types": [
|
|
15
|
+
"../../analytics/analytics-next/src/types.ts"
|
|
16
|
+
],
|
|
17
|
+
"@atlaskit/analytics-next/AnalyticsContext": [
|
|
18
|
+
"../../analytics/analytics-next/src/components/AnalyticsContext/index.tsx"
|
|
19
|
+
],
|
|
20
|
+
"@atlaskit/analytics-next/AnalyticsListener": [
|
|
21
|
+
"../../analytics/analytics-next/src/components/AnalyticsListener/index.tsx"
|
|
22
|
+
],
|
|
23
|
+
"@atlaskit/analytics-next/AnalyticsErrorBoundary": [
|
|
24
|
+
"../../analytics/analytics-next/src/components/AnalyticsErrorBoundary.tsx"
|
|
25
|
+
],
|
|
26
|
+
"@atlaskit/analytics-next/withAnalyticsEvents": [
|
|
27
|
+
"../../analytics/analytics-next/src/hocs/withAnalyticsEvents.tsx"
|
|
28
|
+
],
|
|
29
|
+
"@atlaskit/analytics-next/withAnalyticsContext": [
|
|
30
|
+
"../../analytics/analytics-next/src/hocs/withAnalyticsContext.tsx"
|
|
31
|
+
],
|
|
32
|
+
"@atlaskit/analytics-next/usePlatformLeafEventHandler": [
|
|
33
|
+
"../../analytics/analytics-next/src/hooks/usePlatformLeafEventHandler.ts"
|
|
34
|
+
],
|
|
35
|
+
"@atlaskit/analytics-next/useAnalyticsEvents": [
|
|
36
|
+
"../../analytics/analytics-next/src/hooks/useAnalyticsEvents.ts"
|
|
37
|
+
],
|
|
38
|
+
"@atlaskit/analytics-next/useCallbackWithAnalytics": [
|
|
39
|
+
"../../analytics/analytics-next/src/hooks/useCallbackWithAnalytics.ts"
|
|
40
|
+
],
|
|
41
|
+
"@atlaskit/analytics-next/usePatchedProps": [
|
|
42
|
+
"../../analytics/analytics-next/src/hooks/usePatchedProps.ts"
|
|
43
|
+
],
|
|
44
|
+
"@atlaskit/analytics-next/AnalyticsEvent": [
|
|
45
|
+
"../../analytics/analytics-next/src/events/AnalyticsEvent.ts"
|
|
46
|
+
],
|
|
47
|
+
"@atlaskit/analytics-next/UIAnalyticsEvent": [
|
|
48
|
+
"../../analytics/analytics-next/src/events/UIAnalyticsEvent.ts"
|
|
49
|
+
],
|
|
50
|
+
"@atlaskit/analytics-next/createAndFireEvents": [
|
|
51
|
+
"../../analytics/analytics-next/src/utils/createAndFireEvent.ts"
|
|
52
|
+
],
|
|
53
|
+
"@atlaskit/analytics-next": [
|
|
54
|
+
"../../analytics/analytics-next/src/index.ts"
|
|
55
|
+
],
|
|
56
|
+
"@atlaskit/icon/base": [
|
|
57
|
+
"../../design-system/icon/src/entry-points/base.tsx"
|
|
58
|
+
],
|
|
59
|
+
"@atlaskit/icon/constants": [
|
|
60
|
+
"../../design-system/icon/src/entry-points/constants.tsx"
|
|
61
|
+
],
|
|
62
|
+
"@atlaskit/icon/metadata": [
|
|
63
|
+
"../../design-system/icon/src/entry-points/metadata.tsx"
|
|
64
|
+
],
|
|
65
|
+
"@atlaskit/icon/svg": [
|
|
66
|
+
"../../design-system/icon/src/entry-points/svg.tsx"
|
|
67
|
+
],
|
|
68
|
+
"@atlaskit/icon/types": [
|
|
69
|
+
"../../design-system/icon/src/entry-points/types.tsx"
|
|
70
|
+
],
|
|
71
|
+
"@atlaskit/icon/glyph": [
|
|
72
|
+
"../../design-system/icon/glyph"
|
|
73
|
+
],
|
|
74
|
+
"@atlaskit/icon": [
|
|
75
|
+
"../../design-system/icon/src/index.tsx"
|
|
76
|
+
],
|
|
77
|
+
"@atlaskit/icon-object/metadata": [
|
|
78
|
+
"../../design-system/icon-object/src/entry-points/metadata.tsx"
|
|
79
|
+
],
|
|
80
|
+
"@atlaskit/icon-object/glyph": [
|
|
81
|
+
"../../design-system/icon-object/glyph"
|
|
82
|
+
],
|
|
83
|
+
"@atlaskit/icon-object": [
|
|
84
|
+
"../../design-system/icon-object/src/index.tsx"
|
|
85
|
+
],
|
|
86
|
+
"@atlaskit/icon-file-type/metadata": [
|
|
87
|
+
"../../media/icon-file-type/src/entry-points/metadata.ts"
|
|
88
|
+
],
|
|
89
|
+
"@atlaskit/icon-file-type/glyph": [
|
|
90
|
+
"../../media/icon-file-type/glyph"
|
|
91
|
+
],
|
|
92
|
+
"@atlaskit/icon-file-type": [
|
|
93
|
+
"../../media/icon-file-type/src/index.ts"
|
|
94
|
+
],
|
|
95
|
+
"@atlaskit/lozenge/theme": [
|
|
96
|
+
"../../design-system/lozenge/src/theme.tsx"
|
|
97
|
+
],
|
|
98
|
+
"@atlaskit/lozenge": [
|
|
99
|
+
"../../design-system/lozenge/src/index.tsx"
|
|
100
|
+
],
|
|
101
|
+
"@atlaskit/textfield": [
|
|
102
|
+
"../../design-system/textfield/src/index.tsx"
|
|
103
|
+
],
|
|
104
|
+
"@atlaskit/theme/deprecated-provider-please-do-not-use": [
|
|
105
|
+
"../../design-system/theme/src/deprecated-provider-please-do-not-use.tsx"
|
|
106
|
+
],
|
|
107
|
+
"@atlaskit/theme/color-palettes": [
|
|
108
|
+
"../../design-system/theme/src/color-palettes.tsx"
|
|
109
|
+
],
|
|
110
|
+
"@atlaskit/theme/colors": [
|
|
111
|
+
"../../design-system/theme/src/colors.tsx"
|
|
112
|
+
],
|
|
113
|
+
"@atlaskit/theme/components": [
|
|
114
|
+
"../../design-system/theme/src/components.tsx"
|
|
115
|
+
],
|
|
116
|
+
"@atlaskit/theme/constants": [
|
|
117
|
+
"../../design-system/theme/src/constants.tsx"
|
|
118
|
+
],
|
|
119
|
+
"@atlaskit/theme/elevation": [
|
|
120
|
+
"../../design-system/theme/src/elevation.tsx"
|
|
121
|
+
],
|
|
122
|
+
"@atlaskit/theme/types": [
|
|
123
|
+
"../../design-system/theme/src/types.tsx"
|
|
124
|
+
],
|
|
125
|
+
"@atlaskit/theme/typography": [
|
|
126
|
+
"../../design-system/theme/src/typography.tsx"
|
|
127
|
+
],
|
|
128
|
+
"@atlaskit/theme": [
|
|
129
|
+
"../../design-system/theme/src"
|
|
130
|
+
],
|
|
131
|
+
"@atlaskit/tokens/custom-themes": [
|
|
132
|
+
"../../design-system/tokens/src/entry-points/custom-themes.tsx"
|
|
133
|
+
],
|
|
134
|
+
"@atlaskit/tokens/figma/atlassian-light.json": [
|
|
135
|
+
"../../design-system/tokens/figma/atlassian-light.json"
|
|
136
|
+
],
|
|
137
|
+
"@atlaskit/tokens/figma/atlassian-dark.json": [
|
|
138
|
+
"../../design-system/tokens/figma/atlassian-dark.json"
|
|
139
|
+
],
|
|
140
|
+
"@atlaskit/tokens/palettes-raw": [
|
|
141
|
+
"../../design-system/tokens/src/entry-points/palettes-raw.tsx"
|
|
142
|
+
],
|
|
143
|
+
"@atlaskit/tokens/tokens-raw": [
|
|
144
|
+
"../../design-system/tokens/src/entry-points/tokens-raw.tsx"
|
|
145
|
+
],
|
|
146
|
+
"@atlaskit/tokens/token-ids": [
|
|
147
|
+
"../../design-system/tokens/src/entry-points/token-ids.tsx"
|
|
148
|
+
],
|
|
149
|
+
"@atlaskit/tokens/token-names": [
|
|
150
|
+
"../../design-system/tokens/src/entry-points/token-names.tsx"
|
|
151
|
+
],
|
|
152
|
+
"@atlaskit/tokens/token-order": [
|
|
153
|
+
"../../design-system/tokens/src/entry-points/token-order.tsx"
|
|
154
|
+
],
|
|
155
|
+
"@atlaskit/tokens/token-default-values": [
|
|
156
|
+
"../../design-system/tokens/src/entry-points/token-default-values.tsx"
|
|
157
|
+
],
|
|
158
|
+
"@atlaskit/tokens/rename-mapping": [
|
|
159
|
+
"../../design-system/tokens/src/entry-points/rename-mapping.tsx"
|
|
160
|
+
],
|
|
161
|
+
"@atlaskit/tokens/babel-plugin": [
|
|
162
|
+
"../../design-system/tokens/src/entry-points/babel-plugin.tsx"
|
|
163
|
+
],
|
|
164
|
+
"@atlaskit/tokens/css-type-schema": [
|
|
165
|
+
"../../design-system/tokens/src/entry-points/css-type-schema.codegen.tsx"
|
|
166
|
+
],
|
|
167
|
+
"@atlaskit/tokens": [
|
|
168
|
+
"../../design-system/tokens/src/index.tsx"
|
|
169
|
+
],
|
|
170
|
+
"@af/visual-regression": [
|
|
171
|
+
"../../../build/test-tooling/gemini-visual-regression/src/index.ts"
|
|
172
|
+
],
|
|
173
|
+
"@atlaskit/elements-test-helpers": [
|
|
174
|
+
"../elements-test-helpers/src/index.ts"
|
|
175
|
+
],
|
|
176
|
+
"@atlaskit/visual-regression": [
|
|
177
|
+
"../../../build/test-tooling/visual-regression/src"
|
|
178
|
+
],
|
|
179
|
+
"@atlaskit/status/element": [
|
|
180
|
+
"src/element.ts"
|
|
181
|
+
],
|
|
182
|
+
"@atlaskit/status/picker": [
|
|
183
|
+
"src/picker.ts"
|
|
184
|
+
],
|
|
185
|
+
"@atlaskit/status": [
|
|
186
|
+
"./src"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
13
189
|
}
|
|
14
|
-
}
|
|
190
|
+
}
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/status"
|
|
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 { ForwardRefExoticComponent } from 'react';
|
|
10
|
-
import { default as React_2 } from 'react';
|
|
11
|
-
import { RefAttributes } from 'react';
|
|
12
|
-
import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
13
|
-
import { WithIntlProps } from 'react-intl-next';
|
|
14
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
15
|
-
|
|
16
|
-
// @public (undocumented)
|
|
17
|
-
export type Color = 'blue' | 'green' | 'neutral' | 'purple' | 'red' | 'yellow';
|
|
18
|
-
|
|
19
|
-
// @public (undocumented)
|
|
20
|
-
type ColorType = Color;
|
|
21
|
-
|
|
22
|
-
// @public (undocumented)
|
|
23
|
-
interface OwnProps {
|
|
24
|
-
// (undocumented)
|
|
25
|
-
color: Color;
|
|
26
|
-
// (undocumented)
|
|
27
|
-
localId?: string;
|
|
28
|
-
// (undocumented)
|
|
29
|
-
onClick?: (event: React.SyntheticEvent<any>) => void;
|
|
30
|
-
// (undocumented)
|
|
31
|
-
onHover?: () => void;
|
|
32
|
-
// (undocumented)
|
|
33
|
-
role?: string;
|
|
34
|
-
// (undocumented)
|
|
35
|
-
style?: StatusStyle;
|
|
36
|
-
// (undocumented)
|
|
37
|
-
text: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// @public (undocumented)
|
|
41
|
-
export type Props = OwnProps & WithAnalyticsEventsProps;
|
|
42
|
-
|
|
43
|
-
// @public (undocumented)
|
|
44
|
-
export const Status: ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & RefAttributes<any>>;
|
|
45
|
-
|
|
46
|
-
// @public (undocumented)
|
|
47
|
-
export const StatusPicker: React_2.FC<WithIntlProps<StatusPickerProps & WrappedComponentProps<"intl">>> & {
|
|
48
|
-
WrappedComponent: React_2.ComponentType<StatusPickerProps & WrappedComponentProps<"intl">>;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
// @public (undocumented)
|
|
52
|
-
export interface StatusPickerProps {
|
|
53
|
-
// (undocumented)
|
|
54
|
-
autoFocus?: boolean;
|
|
55
|
-
// (undocumented)
|
|
56
|
-
onColorClick: (value: ColorType) => void;
|
|
57
|
-
// (undocumented)
|
|
58
|
-
onColorHover?: (value: ColorType) => void;
|
|
59
|
-
// (undocumented)
|
|
60
|
-
onEnter: () => void;
|
|
61
|
-
// (undocumented)
|
|
62
|
-
onTextChanged: (value: string) => void;
|
|
63
|
-
// (undocumented)
|
|
64
|
-
selectedColor: ColorType;
|
|
65
|
-
// (undocumented)
|
|
66
|
-
text: string;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// @public (undocumented)
|
|
70
|
-
export type StatusStyle = 'bold' | 'subtle';
|
|
71
|
-
|
|
72
|
-
// (No @packageDocumentation comment for this package)
|
|
73
|
-
|
|
74
|
-
```
|