@atlaskit/lozenge 12.2.1 → 12.2.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 +17 -0
- package/dist/cjs/index.js +1 -4
- package/dist/es2019/index.js +1 -3
- package/dist/esm/index.js +1 -4
- package/package.json +11 -11
- package/dist/cjs/theme.js +0 -133
- package/dist/es2019/theme.js +0 -127
- package/dist/esm/theme.js +0 -127
- package/dist/types/theme.d.ts +0 -120
- package/dist/types-ts4.5/theme.d.ts +0 -120
- package/theme/package.json +0 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/lozenge
|
|
2
2
|
|
|
3
|
+
## 12.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#146280](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146280)
|
|
8
|
+
[`736c6f3dad151`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/736c6f3dad151) -
|
|
9
|
+
Remove deprecated theme definitions.
|
|
10
|
+
|
|
11
|
+
## 12.2.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#127093](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127093)
|
|
16
|
+
[`1378ea7a99ce1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1378ea7a99ce1) -
|
|
17
|
+
Upgrades `jscodeshift` to handle generics properly.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 12.2.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,10 +19,7 @@ var _Lozenge = _interopRequireDefault(require("./Lozenge"));
|
|
|
19
19
|
* - [Usage](https://atlassian.design/components/lozenge/usage)
|
|
20
20
|
*/
|
|
21
21
|
var Lozenge = /*#__PURE__*/_react.default.memo(function (props) {
|
|
22
|
-
return (
|
|
23
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
24
|
-
(0, _platformFeatureFlags.fg)('platform_dst_lozenge_fg') ? /*#__PURE__*/_react.default.createElement(_compiled.default, props) : /*#__PURE__*/_react.default.createElement(_Lozenge.default, props)
|
|
25
|
-
);
|
|
22
|
+
return (0, _platformFeatureFlags.fg)('platform_dst_lozenge_fg') ? /*#__PURE__*/_react.default.createElement(_compiled.default, props) : /*#__PURE__*/_react.default.createElement(_Lozenge.default, props);
|
|
26
23
|
});
|
|
27
24
|
|
|
28
25
|
// NOTE: Remove this and just directly `export { default } from '…';` when tidying `platform_dst_lozenge_fg`
|
package/dist/es2019/index.js
CHANGED
|
@@ -11,9 +11,7 @@ import EmotionLozenge from './Lozenge';
|
|
|
11
11
|
* - [Code](https://atlassian.design/components/lozenge/code)
|
|
12
12
|
* - [Usage](https://atlassian.design/components/lozenge/usage)
|
|
13
13
|
*/
|
|
14
|
-
const Lozenge = /*#__PURE__*/React.memo(props =>
|
|
15
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
16
|
-
fg('platform_dst_lozenge_fg') ? /*#__PURE__*/React.createElement(CompiledLozenge, props) : /*#__PURE__*/React.createElement(EmotionLozenge, props));
|
|
14
|
+
const Lozenge = /*#__PURE__*/React.memo(props => fg('platform_dst_lozenge_fg') ? /*#__PURE__*/React.createElement(CompiledLozenge, props) : /*#__PURE__*/React.createElement(EmotionLozenge, props));
|
|
17
15
|
|
|
18
16
|
// NOTE: Remove this and just directly `export { default } from '…';` when tidying `platform_dst_lozenge_fg`
|
|
19
17
|
Lozenge.displayName = 'Lozenge';
|
package/dist/esm/index.js
CHANGED
|
@@ -12,10 +12,7 @@ import EmotionLozenge from './Lozenge';
|
|
|
12
12
|
* - [Usage](https://atlassian.design/components/lozenge/usage)
|
|
13
13
|
*/
|
|
14
14
|
var Lozenge = /*#__PURE__*/React.memo(function (props) {
|
|
15
|
-
return (
|
|
16
|
-
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
17
|
-
fg('platform_dst_lozenge_fg') ? /*#__PURE__*/React.createElement(CompiledLozenge, props) : /*#__PURE__*/React.createElement(EmotionLozenge, props)
|
|
18
|
-
);
|
|
15
|
+
return fg('platform_dst_lozenge_fg') ? /*#__PURE__*/React.createElement(CompiledLozenge, props) : /*#__PURE__*/React.createElement(EmotionLozenge, props);
|
|
19
16
|
});
|
|
20
17
|
|
|
21
18
|
// NOTE: Remove this and just directly `export { default } from '…';` when tidying `platform_dst_lozenge_fg`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/lozenge",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.3",
|
|
4
4
|
"description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"atlaskit:src": "src/index.tsx",
|
|
27
27
|
"af:exports": {
|
|
28
28
|
".": "./src/index.tsx",
|
|
29
|
-
"./theme": "./src/theme.tsx",
|
|
30
29
|
"./compiled": "./src/compiled/index.tsx"
|
|
31
30
|
},
|
|
32
31
|
"atlassian": {
|
|
@@ -41,9 +40,9 @@
|
|
|
41
40
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
42
41
|
"@atlaskit/css": "^0.10.0",
|
|
43
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/primitives": "^14.
|
|
43
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
45
44
|
"@atlaskit/theme": "^18.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^4.
|
|
45
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
47
46
|
"@babel/runtime": "^7.0.0",
|
|
48
47
|
"@compiled/react": "^0.18.3",
|
|
49
48
|
"@emotion/react": "^11.7.1"
|
|
@@ -52,18 +51,19 @@
|
|
|
52
51
|
"react": "^18.2.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@af/accessibility-testing": "
|
|
56
|
-
"@af/integration-testing": "
|
|
57
|
-
"@af/visual-regression": "
|
|
54
|
+
"@af/accessibility-testing": "workspace:^",
|
|
55
|
+
"@af/integration-testing": "workspace:^",
|
|
56
|
+
"@af/visual-regression": "workspace:^",
|
|
58
57
|
"@atlaskit/docs": "^10.0.0",
|
|
59
58
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
60
|
-
"@atlaskit/heading": "^5.
|
|
61
|
-
"@atlaskit/link": "^3.
|
|
59
|
+
"@atlaskit/heading": "^5.2.0",
|
|
60
|
+
"@atlaskit/link": "^3.1.0",
|
|
62
61
|
"@atlaskit/section-message": "^8.2.0",
|
|
63
|
-
"@atlaskit/ssr": "
|
|
62
|
+
"@atlaskit/ssr": "workspace:^",
|
|
64
63
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
64
|
+
"@atlassian/ssr-tests": "^0.2.0",
|
|
65
65
|
"@testing-library/react": "^13.4.0",
|
|
66
|
-
"jscodeshift": "^0.
|
|
66
|
+
"jscodeshift": "^17.0.0",
|
|
67
67
|
"react-dom": "^18.2.0",
|
|
68
68
|
"typescript": "~5.4.2"
|
|
69
69
|
},
|
package/dist/cjs/theme.js
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.defaultTextColor = exports.defaultBackgroundColor = exports.boldTextColor = exports.boldBackgroundColor = void 0;
|
|
7
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
8
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
9
|
-
// TODO: DSP-1392 this file will be removed, don't import anything from this file elsewhere.
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated
|
|
13
|
-
*/
|
|
14
|
-
var defaultBackgroundColor = exports.defaultBackgroundColor = {
|
|
15
|
-
default: {
|
|
16
|
-
light: _colors.N40,
|
|
17
|
-
dark: _colors.N40
|
|
18
|
-
},
|
|
19
|
-
inprogress: {
|
|
20
|
-
light: _colors.B50,
|
|
21
|
-
dark: _colors.B50
|
|
22
|
-
},
|
|
23
|
-
moved: {
|
|
24
|
-
light: _colors.Y75,
|
|
25
|
-
dark: _colors.Y75
|
|
26
|
-
},
|
|
27
|
-
new: {
|
|
28
|
-
light: _colors.P50,
|
|
29
|
-
dark: _colors.P50
|
|
30
|
-
},
|
|
31
|
-
removed: {
|
|
32
|
-
light: _colors.R50,
|
|
33
|
-
dark: _colors.R50
|
|
34
|
-
},
|
|
35
|
-
success: {
|
|
36
|
-
light: _colors.G50,
|
|
37
|
-
dark: _colors.G50
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated
|
|
43
|
-
*/
|
|
44
|
-
var defaultTextColor = exports.defaultTextColor = {
|
|
45
|
-
default: {
|
|
46
|
-
light: _colors.N500,
|
|
47
|
-
dark: _colors.N500
|
|
48
|
-
},
|
|
49
|
-
inprogress: {
|
|
50
|
-
light: _colors.B500,
|
|
51
|
-
dark: _colors.B500
|
|
52
|
-
},
|
|
53
|
-
moved: {
|
|
54
|
-
light: _colors.N800,
|
|
55
|
-
dark: _colors.N800
|
|
56
|
-
},
|
|
57
|
-
new: {
|
|
58
|
-
light: _colors.P500,
|
|
59
|
-
dark: _colors.P500
|
|
60
|
-
},
|
|
61
|
-
removed: {
|
|
62
|
-
light: _colors.R500,
|
|
63
|
-
dark: _colors.R500
|
|
64
|
-
},
|
|
65
|
-
success: {
|
|
66
|
-
light: _colors.G500,
|
|
67
|
-
dark: _colors.G500
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* @deprecated
|
|
73
|
-
*/
|
|
74
|
-
var boldBackgroundColor = exports.boldBackgroundColor = {
|
|
75
|
-
default: {
|
|
76
|
-
light: _colors.N500,
|
|
77
|
-
dark: _colors.N500
|
|
78
|
-
},
|
|
79
|
-
inprogress: {
|
|
80
|
-
light: _colors.B400,
|
|
81
|
-
dark: _colors.B400
|
|
82
|
-
},
|
|
83
|
-
moved: {
|
|
84
|
-
light: _colors.Y500,
|
|
85
|
-
dark: _colors.Y500
|
|
86
|
-
},
|
|
87
|
-
new: {
|
|
88
|
-
light: _colors.P400,
|
|
89
|
-
dark: _colors.P400
|
|
90
|
-
},
|
|
91
|
-
removed: {
|
|
92
|
-
light: _colors.R400,
|
|
93
|
-
dark: _colors.R400
|
|
94
|
-
},
|
|
95
|
-
success: {
|
|
96
|
-
light: _colors.G400,
|
|
97
|
-
dark: _colors.G400
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @deprecated
|
|
103
|
-
*/
|
|
104
|
-
var boldTextColor = exports.boldTextColor = {
|
|
105
|
-
default: {
|
|
106
|
-
light: _colors.N0,
|
|
107
|
-
dark: _colors.N0
|
|
108
|
-
},
|
|
109
|
-
inprogress: {
|
|
110
|
-
light: _colors.N0,
|
|
111
|
-
dark: _colors.N0
|
|
112
|
-
},
|
|
113
|
-
moved: {
|
|
114
|
-
light: _colors.N800,
|
|
115
|
-
dark: _colors.N800
|
|
116
|
-
},
|
|
117
|
-
new: {
|
|
118
|
-
light: _colors.N0,
|
|
119
|
-
dark: _colors.N0
|
|
120
|
-
},
|
|
121
|
-
removed: {
|
|
122
|
-
light: _colors.N0,
|
|
123
|
-
dark: _colors.N0
|
|
124
|
-
},
|
|
125
|
-
success: {
|
|
126
|
-
light: _colors.N0,
|
|
127
|
-
dark: _colors.N0
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @deprecated
|
|
133
|
-
*/
|
package/dist/es2019/theme.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
|
-
// TODO: DSP-1392 this file will be removed, don't import anything from this file elsewhere.
|
|
3
|
-
import { B400, B50, B500, G400, G50, G500, N0, N40, N500, N800, P400, P50, P500, R400, R50, R500, Y500, Y75 } from '@atlaskit/theme/colors';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated
|
|
7
|
-
*/
|
|
8
|
-
export const defaultBackgroundColor = {
|
|
9
|
-
default: {
|
|
10
|
-
light: N40,
|
|
11
|
-
dark: N40
|
|
12
|
-
},
|
|
13
|
-
inprogress: {
|
|
14
|
-
light: B50,
|
|
15
|
-
dark: B50
|
|
16
|
-
},
|
|
17
|
-
moved: {
|
|
18
|
-
light: Y75,
|
|
19
|
-
dark: Y75
|
|
20
|
-
},
|
|
21
|
-
new: {
|
|
22
|
-
light: P50,
|
|
23
|
-
dark: P50
|
|
24
|
-
},
|
|
25
|
-
removed: {
|
|
26
|
-
light: R50,
|
|
27
|
-
dark: R50
|
|
28
|
-
},
|
|
29
|
-
success: {
|
|
30
|
-
light: G50,
|
|
31
|
-
dark: G50
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated
|
|
37
|
-
*/
|
|
38
|
-
export const defaultTextColor = {
|
|
39
|
-
default: {
|
|
40
|
-
light: N500,
|
|
41
|
-
dark: N500
|
|
42
|
-
},
|
|
43
|
-
inprogress: {
|
|
44
|
-
light: B500,
|
|
45
|
-
dark: B500
|
|
46
|
-
},
|
|
47
|
-
moved: {
|
|
48
|
-
light: N800,
|
|
49
|
-
dark: N800
|
|
50
|
-
},
|
|
51
|
-
new: {
|
|
52
|
-
light: P500,
|
|
53
|
-
dark: P500
|
|
54
|
-
},
|
|
55
|
-
removed: {
|
|
56
|
-
light: R500,
|
|
57
|
-
dark: R500
|
|
58
|
-
},
|
|
59
|
-
success: {
|
|
60
|
-
light: G500,
|
|
61
|
-
dark: G500
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated
|
|
67
|
-
*/
|
|
68
|
-
export const boldBackgroundColor = {
|
|
69
|
-
default: {
|
|
70
|
-
light: N500,
|
|
71
|
-
dark: N500
|
|
72
|
-
},
|
|
73
|
-
inprogress: {
|
|
74
|
-
light: B400,
|
|
75
|
-
dark: B400
|
|
76
|
-
},
|
|
77
|
-
moved: {
|
|
78
|
-
light: Y500,
|
|
79
|
-
dark: Y500
|
|
80
|
-
},
|
|
81
|
-
new: {
|
|
82
|
-
light: P400,
|
|
83
|
-
dark: P400
|
|
84
|
-
},
|
|
85
|
-
removed: {
|
|
86
|
-
light: R400,
|
|
87
|
-
dark: R400
|
|
88
|
-
},
|
|
89
|
-
success: {
|
|
90
|
-
light: G400,
|
|
91
|
-
dark: G400
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated
|
|
97
|
-
*/
|
|
98
|
-
export const boldTextColor = {
|
|
99
|
-
default: {
|
|
100
|
-
light: N0,
|
|
101
|
-
dark: N0
|
|
102
|
-
},
|
|
103
|
-
inprogress: {
|
|
104
|
-
light: N0,
|
|
105
|
-
dark: N0
|
|
106
|
-
},
|
|
107
|
-
moved: {
|
|
108
|
-
light: N800,
|
|
109
|
-
dark: N800
|
|
110
|
-
},
|
|
111
|
-
new: {
|
|
112
|
-
light: N0,
|
|
113
|
-
dark: N0
|
|
114
|
-
},
|
|
115
|
-
removed: {
|
|
116
|
-
light: N0,
|
|
117
|
-
dark: N0
|
|
118
|
-
},
|
|
119
|
-
success: {
|
|
120
|
-
light: N0,
|
|
121
|
-
dark: N0
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @deprecated
|
|
127
|
-
*/
|
package/dist/esm/theme.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
|
-
// TODO: DSP-1392 this file will be removed, don't import anything from this file elsewhere.
|
|
3
|
-
import { B400, B50, B500, G400, G50, G500, N0, N40, N500, N800, P400, P50, P500, R400, R50, R500, Y500, Y75 } from '@atlaskit/theme/colors';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated
|
|
7
|
-
*/
|
|
8
|
-
export var defaultBackgroundColor = {
|
|
9
|
-
default: {
|
|
10
|
-
light: N40,
|
|
11
|
-
dark: N40
|
|
12
|
-
},
|
|
13
|
-
inprogress: {
|
|
14
|
-
light: B50,
|
|
15
|
-
dark: B50
|
|
16
|
-
},
|
|
17
|
-
moved: {
|
|
18
|
-
light: Y75,
|
|
19
|
-
dark: Y75
|
|
20
|
-
},
|
|
21
|
-
new: {
|
|
22
|
-
light: P50,
|
|
23
|
-
dark: P50
|
|
24
|
-
},
|
|
25
|
-
removed: {
|
|
26
|
-
light: R50,
|
|
27
|
-
dark: R50
|
|
28
|
-
},
|
|
29
|
-
success: {
|
|
30
|
-
light: G50,
|
|
31
|
-
dark: G50
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* @deprecated
|
|
37
|
-
*/
|
|
38
|
-
export var defaultTextColor = {
|
|
39
|
-
default: {
|
|
40
|
-
light: N500,
|
|
41
|
-
dark: N500
|
|
42
|
-
},
|
|
43
|
-
inprogress: {
|
|
44
|
-
light: B500,
|
|
45
|
-
dark: B500
|
|
46
|
-
},
|
|
47
|
-
moved: {
|
|
48
|
-
light: N800,
|
|
49
|
-
dark: N800
|
|
50
|
-
},
|
|
51
|
-
new: {
|
|
52
|
-
light: P500,
|
|
53
|
-
dark: P500
|
|
54
|
-
},
|
|
55
|
-
removed: {
|
|
56
|
-
light: R500,
|
|
57
|
-
dark: R500
|
|
58
|
-
},
|
|
59
|
-
success: {
|
|
60
|
-
light: G500,
|
|
61
|
-
dark: G500
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated
|
|
67
|
-
*/
|
|
68
|
-
export var boldBackgroundColor = {
|
|
69
|
-
default: {
|
|
70
|
-
light: N500,
|
|
71
|
-
dark: N500
|
|
72
|
-
},
|
|
73
|
-
inprogress: {
|
|
74
|
-
light: B400,
|
|
75
|
-
dark: B400
|
|
76
|
-
},
|
|
77
|
-
moved: {
|
|
78
|
-
light: Y500,
|
|
79
|
-
dark: Y500
|
|
80
|
-
},
|
|
81
|
-
new: {
|
|
82
|
-
light: P400,
|
|
83
|
-
dark: P400
|
|
84
|
-
},
|
|
85
|
-
removed: {
|
|
86
|
-
light: R400,
|
|
87
|
-
dark: R400
|
|
88
|
-
},
|
|
89
|
-
success: {
|
|
90
|
-
light: G400,
|
|
91
|
-
dark: G400
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated
|
|
97
|
-
*/
|
|
98
|
-
export var boldTextColor = {
|
|
99
|
-
default: {
|
|
100
|
-
light: N0,
|
|
101
|
-
dark: N0
|
|
102
|
-
},
|
|
103
|
-
inprogress: {
|
|
104
|
-
light: N0,
|
|
105
|
-
dark: N0
|
|
106
|
-
},
|
|
107
|
-
moved: {
|
|
108
|
-
light: N800,
|
|
109
|
-
dark: N800
|
|
110
|
-
},
|
|
111
|
-
new: {
|
|
112
|
-
light: N0,
|
|
113
|
-
dark: N0
|
|
114
|
-
},
|
|
115
|
-
removed: {
|
|
116
|
-
light: N0,
|
|
117
|
-
dark: N0
|
|
118
|
-
},
|
|
119
|
-
success: {
|
|
120
|
-
light: N0,
|
|
121
|
-
dark: N0
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @deprecated
|
|
127
|
-
*/
|
package/dist/types/theme.d.ts
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*/
|
|
4
|
-
export declare const defaultBackgroundColor: {
|
|
5
|
-
default: {
|
|
6
|
-
light: string;
|
|
7
|
-
dark: string;
|
|
8
|
-
};
|
|
9
|
-
inprogress: {
|
|
10
|
-
light: string;
|
|
11
|
-
dark: string;
|
|
12
|
-
};
|
|
13
|
-
moved: {
|
|
14
|
-
light: string;
|
|
15
|
-
dark: string;
|
|
16
|
-
};
|
|
17
|
-
new: {
|
|
18
|
-
light: string;
|
|
19
|
-
dark: string;
|
|
20
|
-
};
|
|
21
|
-
removed: {
|
|
22
|
-
light: string;
|
|
23
|
-
dark: string;
|
|
24
|
-
};
|
|
25
|
-
success: {
|
|
26
|
-
light: string;
|
|
27
|
-
dark: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated
|
|
32
|
-
*/
|
|
33
|
-
export declare const defaultTextColor: {
|
|
34
|
-
default: {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
inprogress: {
|
|
39
|
-
light: string;
|
|
40
|
-
dark: string;
|
|
41
|
-
};
|
|
42
|
-
moved: {
|
|
43
|
-
light: string;
|
|
44
|
-
dark: string;
|
|
45
|
-
};
|
|
46
|
-
new: {
|
|
47
|
-
light: string;
|
|
48
|
-
dark: string;
|
|
49
|
-
};
|
|
50
|
-
removed: {
|
|
51
|
-
light: string;
|
|
52
|
-
dark: string;
|
|
53
|
-
};
|
|
54
|
-
success: {
|
|
55
|
-
light: string;
|
|
56
|
-
dark: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated
|
|
61
|
-
*/
|
|
62
|
-
export declare const boldBackgroundColor: {
|
|
63
|
-
default: {
|
|
64
|
-
light: string;
|
|
65
|
-
dark: string;
|
|
66
|
-
};
|
|
67
|
-
inprogress: {
|
|
68
|
-
light: string;
|
|
69
|
-
dark: string;
|
|
70
|
-
};
|
|
71
|
-
moved: {
|
|
72
|
-
light: string;
|
|
73
|
-
dark: string;
|
|
74
|
-
};
|
|
75
|
-
new: {
|
|
76
|
-
light: string;
|
|
77
|
-
dark: string;
|
|
78
|
-
};
|
|
79
|
-
removed: {
|
|
80
|
-
light: string;
|
|
81
|
-
dark: string;
|
|
82
|
-
};
|
|
83
|
-
success: {
|
|
84
|
-
light: string;
|
|
85
|
-
dark: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated
|
|
90
|
-
*/
|
|
91
|
-
export declare const boldTextColor: {
|
|
92
|
-
default: {
|
|
93
|
-
light: string;
|
|
94
|
-
dark: string;
|
|
95
|
-
};
|
|
96
|
-
inprogress: {
|
|
97
|
-
light: string;
|
|
98
|
-
dark: string;
|
|
99
|
-
};
|
|
100
|
-
moved: {
|
|
101
|
-
light: string;
|
|
102
|
-
dark: string;
|
|
103
|
-
};
|
|
104
|
-
new: {
|
|
105
|
-
light: string;
|
|
106
|
-
dark: string;
|
|
107
|
-
};
|
|
108
|
-
removed: {
|
|
109
|
-
light: string;
|
|
110
|
-
dark: string;
|
|
111
|
-
};
|
|
112
|
-
success: {
|
|
113
|
-
light: string;
|
|
114
|
-
dark: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* @deprecated
|
|
119
|
-
*/
|
|
120
|
-
export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @deprecated
|
|
3
|
-
*/
|
|
4
|
-
export declare const defaultBackgroundColor: {
|
|
5
|
-
default: {
|
|
6
|
-
light: string;
|
|
7
|
-
dark: string;
|
|
8
|
-
};
|
|
9
|
-
inprogress: {
|
|
10
|
-
light: string;
|
|
11
|
-
dark: string;
|
|
12
|
-
};
|
|
13
|
-
moved: {
|
|
14
|
-
light: string;
|
|
15
|
-
dark: string;
|
|
16
|
-
};
|
|
17
|
-
new: {
|
|
18
|
-
light: string;
|
|
19
|
-
dark: string;
|
|
20
|
-
};
|
|
21
|
-
removed: {
|
|
22
|
-
light: string;
|
|
23
|
-
dark: string;
|
|
24
|
-
};
|
|
25
|
-
success: {
|
|
26
|
-
light: string;
|
|
27
|
-
dark: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated
|
|
32
|
-
*/
|
|
33
|
-
export declare const defaultTextColor: {
|
|
34
|
-
default: {
|
|
35
|
-
light: string;
|
|
36
|
-
dark: string;
|
|
37
|
-
};
|
|
38
|
-
inprogress: {
|
|
39
|
-
light: string;
|
|
40
|
-
dark: string;
|
|
41
|
-
};
|
|
42
|
-
moved: {
|
|
43
|
-
light: string;
|
|
44
|
-
dark: string;
|
|
45
|
-
};
|
|
46
|
-
new: {
|
|
47
|
-
light: string;
|
|
48
|
-
dark: string;
|
|
49
|
-
};
|
|
50
|
-
removed: {
|
|
51
|
-
light: string;
|
|
52
|
-
dark: string;
|
|
53
|
-
};
|
|
54
|
-
success: {
|
|
55
|
-
light: string;
|
|
56
|
-
dark: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated
|
|
61
|
-
*/
|
|
62
|
-
export declare const boldBackgroundColor: {
|
|
63
|
-
default: {
|
|
64
|
-
light: string;
|
|
65
|
-
dark: string;
|
|
66
|
-
};
|
|
67
|
-
inprogress: {
|
|
68
|
-
light: string;
|
|
69
|
-
dark: string;
|
|
70
|
-
};
|
|
71
|
-
moved: {
|
|
72
|
-
light: string;
|
|
73
|
-
dark: string;
|
|
74
|
-
};
|
|
75
|
-
new: {
|
|
76
|
-
light: string;
|
|
77
|
-
dark: string;
|
|
78
|
-
};
|
|
79
|
-
removed: {
|
|
80
|
-
light: string;
|
|
81
|
-
dark: string;
|
|
82
|
-
};
|
|
83
|
-
success: {
|
|
84
|
-
light: string;
|
|
85
|
-
dark: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* @deprecated
|
|
90
|
-
*/
|
|
91
|
-
export declare const boldTextColor: {
|
|
92
|
-
default: {
|
|
93
|
-
light: string;
|
|
94
|
-
dark: string;
|
|
95
|
-
};
|
|
96
|
-
inprogress: {
|
|
97
|
-
light: string;
|
|
98
|
-
dark: string;
|
|
99
|
-
};
|
|
100
|
-
moved: {
|
|
101
|
-
light: string;
|
|
102
|
-
dark: string;
|
|
103
|
-
};
|
|
104
|
-
new: {
|
|
105
|
-
light: string;
|
|
106
|
-
dark: string;
|
|
107
|
-
};
|
|
108
|
-
removed: {
|
|
109
|
-
light: string;
|
|
110
|
-
dark: string;
|
|
111
|
-
};
|
|
112
|
-
success: {
|
|
113
|
-
light: string;
|
|
114
|
-
dark: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* @deprecated
|
|
119
|
-
*/
|
|
120
|
-
export type ThemeAppearance = 'default' | 'inprogress' | 'moved' | 'new' | 'removed' | 'success';
|
package/theme/package.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@atlaskit/lozenge/theme",
|
|
3
|
-
"main": "../dist/cjs/theme.js",
|
|
4
|
-
"module": "../dist/esm/theme.js",
|
|
5
|
-
"module:es2019": "../dist/es2019/theme.js",
|
|
6
|
-
"sideEffects": [
|
|
7
|
-
"**/*.compiled.css"
|
|
8
|
-
],
|
|
9
|
-
"types": "../dist/types/theme.d.ts",
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.4": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/theme.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|