@atlaskit/reactions 22.15.0 → 22.16.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 +12 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/Counter/styles.js +1 -1
- package/dist/cjs/components/ReactionDialog/styles.js +6 -6
- package/dist/cjs/components/Trigger/Trigger.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Counter/styles.js +1 -1
- package/dist/es2019/components/ReactionDialog/styles.js +6 -6
- package/dist/es2019/components/Trigger/Trigger.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Counter/styles.js +1 -1
- package/dist/esm/components/ReactionDialog/styles.js +6 -6
- package/dist/esm/components/Trigger/Trigger.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 22.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#165604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165604)
|
|
8
|
+
[`ad82b7ebbed5f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ad82b7ebbed5f) -
|
|
9
|
+
Update font size to use tokens
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 22.15.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ var _analyticsGasTypes = require("@atlaskit/analytics-gas-types");
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
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; }
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "22.
|
|
14
|
+
var packageVersion = "22.16.0";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -14,7 +14,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
14
14
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
16
16
|
var countStyle = exports.countStyle = (0, _react.css)({
|
|
17
|
-
|
|
17
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
18
18
|
color: "var(--ds-text-subtlest, ".concat(_colors.N90, ")"),
|
|
19
19
|
overflow: 'hidden',
|
|
20
20
|
position: 'relative',
|
|
@@ -66,9 +66,7 @@ var counterStyle = exports.counterStyle = function counterStyle(isSelected) {
|
|
|
66
66
|
display: 'flex',
|
|
67
67
|
alignSelf: 'center',
|
|
68
68
|
lineHeight: '14px',
|
|
69
|
-
|
|
70
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
71
|
-
fontWeight: isSelected ? 700 : 400,
|
|
69
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
72
70
|
paddingRight: '0px',
|
|
73
71
|
marginTop: "var(--ds-space-075, 6px)",
|
|
74
72
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -78,7 +76,9 @@ var counterStyle = exports.counterStyle = function counterStyle(isSelected) {
|
|
|
78
76
|
padding: "var(--ds-space-0, 0px)".concat("!important"),
|
|
79
77
|
//Counter component has its own styles overriding them to match designs
|
|
80
78
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
81
|
-
color: isSelected ? "".concat("var(--ds-text, ".concat(_colors.B400, ")"), "!important") : "2px solid ".concat("var(--ds-text, ".concat(_colors.N500, ")"), "!important")
|
|
79
|
+
color: isSelected ? "".concat("var(--ds-text, ".concat(_colors.B400, ")"), "!important") : "2px solid ".concat("var(--ds-text, ".concat(_colors.N500, ")"), "!important"),
|
|
80
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
81
|
+
fontWeight: isSelected ? 700 : 400
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
};
|
|
@@ -170,8 +170,8 @@ var reactionViewStyle = exports.reactionViewStyle = (0, _react.css)({
|
|
|
170
170
|
margin: 0,
|
|
171
171
|
color: "".concat("var(--ds-text, ".concat(_colors.N800, ")")),
|
|
172
172
|
textTransform: 'capitalize',
|
|
173
|
+
font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
173
174
|
fontWeight: 600,
|
|
174
|
-
fontSize: 16,
|
|
175
175
|
lineHeight: '20px',
|
|
176
176
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
177
177
|
'> span': {
|
|
@@ -189,7 +189,7 @@ var userListStyle = exports.userListStyle = (0, _react.css)({
|
|
|
189
189
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
190
190
|
li: {
|
|
191
191
|
color: "".concat("var(--ds-text, ".concat(_colors.N500, ")")),
|
|
192
|
-
|
|
192
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
193
193
|
}
|
|
194
194
|
});
|
|
195
195
|
|
|
@@ -85,7 +85,7 @@ var miniModeStyles = (0, _primitives.xcss)({
|
|
|
85
85
|
borderRadius: 'border.radius'
|
|
86
86
|
});
|
|
87
87
|
var addReactionMessageStyles = (0, _primitives.xcss)({
|
|
88
|
-
|
|
88
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
89
89
|
color: 'color.text.subtle',
|
|
90
90
|
marginLeft: 'space.050'
|
|
91
91
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
3
3
|
const packageName = "@atlaskit/reactions";
|
|
4
|
-
const packageVersion = "22.
|
|
4
|
+
const packageVersion = "22.16.0";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -7,7 +7,7 @@ import { css } from '@emotion/react';
|
|
|
7
7
|
import { N90, B400 } from '@atlaskit/theme/colors';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
9
|
export const countStyle = css({
|
|
10
|
-
|
|
10
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
11
|
color: `var(--ds-text-subtlest, ${N90})`,
|
|
12
12
|
overflow: 'hidden',
|
|
13
13
|
position: 'relative',
|
|
@@ -56,9 +56,7 @@ export const counterStyle = isSelected => css({
|
|
|
56
56
|
display: 'flex',
|
|
57
57
|
alignSelf: 'center',
|
|
58
58
|
lineHeight: '14px',
|
|
59
|
-
|
|
60
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
61
|
-
fontWeight: isSelected ? 700 : 400,
|
|
59
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
62
60
|
paddingRight: '0px',
|
|
63
61
|
marginTop: "var(--ds-space-075, 6px)",
|
|
64
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -68,7 +66,9 @@ export const counterStyle = isSelected => css({
|
|
|
68
66
|
padding: `${"var(--ds-space-0, 0px)"}!important`,
|
|
69
67
|
//Counter component has its own styles overriding them to match designs
|
|
70
68
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
71
|
-
color: isSelected ? `${`var(--ds-text, ${B400})`}!important` : `2px solid ${`var(--ds-text, ${N500})`}!important
|
|
69
|
+
color: isSelected ? `${`var(--ds-text, ${B400})`}!important` : `2px solid ${`var(--ds-text, ${N500})`}!important`,
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
71
|
+
fontWeight: isSelected ? 700 : 400
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
const fadedCss = (edge, theme) => css({
|
|
@@ -155,8 +155,8 @@ export const reactionViewStyle = css({
|
|
|
155
155
|
margin: 0,
|
|
156
156
|
color: `${`var(--ds-text, ${N800})`}`,
|
|
157
157
|
textTransform: 'capitalize',
|
|
158
|
+
font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
158
159
|
fontWeight: 600,
|
|
159
|
-
fontSize: 16,
|
|
160
160
|
lineHeight: '20px',
|
|
161
161
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
162
162
|
'> span': {
|
|
@@ -174,7 +174,7 @@ export const userListStyle = css({
|
|
|
174
174
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
175
175
|
li: {
|
|
176
176
|
color: `${`var(--ds-text, ${N500})`}`,
|
|
177
|
-
|
|
177
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
178
178
|
}
|
|
179
179
|
});
|
|
180
180
|
|
|
@@ -77,7 +77,7 @@ const miniModeStyles = xcss({
|
|
|
77
77
|
borderRadius: 'border.radius'
|
|
78
78
|
});
|
|
79
79
|
const addReactionMessageStyles = xcss({
|
|
80
|
-
|
|
80
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
81
81
|
color: 'color.text.subtle',
|
|
82
82
|
marginLeft: 'space.050'
|
|
83
83
|
});
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
5
5
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
6
6
|
var packageName = "@atlaskit/reactions";
|
|
7
|
-
var packageVersion = "22.
|
|
7
|
+
var packageVersion = "22.16.0";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -7,7 +7,7 @@ import { css } from '@emotion/react';
|
|
|
7
7
|
import { N90, B400 } from '@atlaskit/theme/colors';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
9
9
|
export var countStyle = css({
|
|
10
|
-
|
|
10
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
11
|
color: "var(--ds-text-subtlest, ".concat(N90, ")"),
|
|
12
12
|
overflow: 'hidden',
|
|
13
13
|
position: 'relative',
|
|
@@ -59,9 +59,7 @@ export var counterStyle = function counterStyle(isSelected) {
|
|
|
59
59
|
display: 'flex',
|
|
60
60
|
alignSelf: 'center',
|
|
61
61
|
lineHeight: '14px',
|
|
62
|
-
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
64
|
-
fontWeight: isSelected ? 700 : 400,
|
|
62
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
65
63
|
paddingRight: '0px',
|
|
66
64
|
marginTop: "var(--ds-space-075, 6px)",
|
|
67
65
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -71,7 +69,9 @@ export var counterStyle = function counterStyle(isSelected) {
|
|
|
71
69
|
padding: "var(--ds-space-0, 0px)".concat("!important"),
|
|
72
70
|
//Counter component has its own styles overriding them to match designs
|
|
73
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
74
|
-
color: isSelected ? "".concat("var(--ds-text, ".concat(B400, ")"), "!important") : "2px solid ".concat("var(--ds-text, ".concat(N500, ")"), "!important")
|
|
72
|
+
color: isSelected ? "".concat("var(--ds-text, ".concat(B400, ")"), "!important") : "2px solid ".concat("var(--ds-text, ".concat(N500, ")"), "!important"),
|
|
73
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
74
|
+
fontWeight: isSelected ? 700 : 400
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
};
|
|
@@ -163,8 +163,8 @@ export var reactionViewStyle = css({
|
|
|
163
163
|
margin: 0,
|
|
164
164
|
color: "".concat("var(--ds-text, ".concat(N800, ")")),
|
|
165
165
|
textTransform: 'capitalize',
|
|
166
|
+
font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
166
167
|
fontWeight: 600,
|
|
167
|
-
fontSize: 16,
|
|
168
168
|
lineHeight: '20px',
|
|
169
169
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
170
170
|
'> span': {
|
|
@@ -182,7 +182,7 @@ export var userListStyle = css({
|
|
|
182
182
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
183
183
|
li: {
|
|
184
184
|
color: "".concat("var(--ds-text, ".concat(N500, ")")),
|
|
185
|
-
|
|
185
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
|
|
186
186
|
}
|
|
187
187
|
});
|
|
188
188
|
|
|
@@ -77,7 +77,7 @@ var miniModeStyles = xcss({
|
|
|
77
77
|
borderRadius: 'border.radius'
|
|
78
78
|
});
|
|
79
79
|
var addReactionMessageStyles = xcss({
|
|
80
|
-
|
|
80
|
+
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
81
81
|
color: 'color.text.subtle',
|
|
82
82
|
marginLeft: 'space.050'
|
|
83
83
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.16.0",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
38
38
|
"@atlaskit/avatar": "^21.17.0",
|
|
39
39
|
"@atlaskit/button": "^20.3.0",
|
|
40
|
-
"@atlaskit/emoji": "^67.
|
|
40
|
+
"@atlaskit/emoji": "^67.11.0",
|
|
41
41
|
"@atlaskit/icon": "^22.24.0",
|
|
42
42
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
43
43
|
"@atlaskit/motion": "^1.9.0",
|