@atlaskit/reactions 33.6.8 → 33.7.1
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 +15 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionPicker.compiled.css +0 -1
- package/dist/cjs/components/ReactionPicker.js +2 -3
- package/dist/cjs/components/Reactions.compiled.css +1 -2
- package/dist/cjs/components/Reactions.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionPicker.compiled.css +0 -1
- package/dist/es2019/components/ReactionPicker.js +2 -3
- package/dist/es2019/components/Reactions.compiled.css +1 -2
- package/dist/es2019/components/Reactions.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionPicker.compiled.css +0 -1
- package/dist/esm/components/ReactionPicker.js +2 -3
- package/dist/esm/components/Reactions.compiled.css +1 -2
- package/dist/esm/components/Reactions.js +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`83e73ca06c1c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/83e73ca06c1c7) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 33.7.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`f97f92f96f95b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f97f92f96f95b) -
|
|
16
|
+
clean up platform-reactions-offset-based-popper
|
|
17
|
+
|
|
3
18
|
## 33.6.8
|
|
4
19
|
|
|
5
20
|
### Patch 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 = "
|
|
14
|
+
var packageVersion = "0.0.0-development";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16qs1a23{box-shadow:var(--_3t1odq)}
|
|
3
|
-
._1bch1b66>div{margin-top:var(--ds-space-050,4px)}
|
|
4
3
|
._1e0c1txw{display:flex}
|
|
5
4
|
._1pra1o8l.miniMode{display:inline-block}
|
|
6
5
|
._79pa1b66>div{margin-bottom:var(--ds-space-050,4px)}
|
|
@@ -34,7 +34,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
34
34
|
var pickerStyle = null;
|
|
35
35
|
var popupWrapperStyle = null;
|
|
36
36
|
var popupStyle = null;
|
|
37
|
-
var popupStyleWithMarginTop = null;
|
|
38
37
|
var additionalStyles = {
|
|
39
38
|
selectorContainer: "_1e0c1txw"
|
|
40
39
|
};
|
|
@@ -134,7 +133,7 @@ var ReactionPicker = exports.ReactionPicker = /*#__PURE__*/_react.default.memo(f
|
|
|
134
133
|
name: 'offset',
|
|
135
134
|
enabled: true,
|
|
136
135
|
options: {
|
|
137
|
-
offset: [0,
|
|
136
|
+
offset: [0, 4]
|
|
138
137
|
}
|
|
139
138
|
}, {
|
|
140
139
|
name: 'flip',
|
|
@@ -421,7 +420,7 @@ var PopperWrapper = exports.PopperWrapper = function PopperWrapper(props) {
|
|
|
421
420
|
update: update,
|
|
422
421
|
settings: settings
|
|
423
422
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
424
|
-
className: (0, _runtime.ax)(["_2rkofajl _bfhk13b4 _16qs1a23 _79pa1b66"
|
|
423
|
+
className: (0, _runtime.ax)(["_2rkofajl _bfhk13b4 _16qs1a23 _79pa1b66"]),
|
|
425
424
|
style: {
|
|
426
425
|
"--_1f6rtr1": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N0, ")")),
|
|
427
426
|
"--_3t1odq": (0, _runtime.ix)("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"))
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
._2rkoo7ao{border-radius:15px}._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
1
|
+
._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
3
2
|
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
4
3
|
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
5
4
|
._1e0c1o8l{display:inline-block}
|
|
@@ -335,7 +335,7 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
335
335
|
name: "reactions"
|
|
336
336
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
337
337
|
"data-testid": RENDER_REACTIONS_TESTID,
|
|
338
|
-
className: (0, _runtime.ax)(["
|
|
338
|
+
className: (0, _runtime.ax)(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
339
339
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/_react.default.createElement("div", {
|
|
340
340
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
341
341
|
}, /*#__PURE__*/_react.default.createElement(_ReactionSummaryView.ReactionSummaryView, {
|
|
@@ -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 = "
|
|
4
|
+
const packageVersion = "0.0.0-development";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16qs1kf5{box-shadow:var(--ds-shadow-overlay,0 4px 8px -2px rgba(9,30,66,.25),0 0 1px rgba(9,30,66,.31))}
|
|
3
|
-
._1bch1b66>div{margin-top:var(--ds-space-050,4px)}
|
|
4
3
|
._1e0c1txw{display:flex}
|
|
5
4
|
._1pra1o8l.miniMode{display:inline-block}
|
|
6
5
|
._79pa1b66>div{margin-bottom:var(--ds-space-050,4px)}
|
|
@@ -21,7 +21,6 @@ import Portal from '@atlaskit/portal';
|
|
|
21
21
|
const pickerStyle = null;
|
|
22
22
|
const popupWrapperStyle = null;
|
|
23
23
|
const popupStyle = null;
|
|
24
|
-
const popupStyleWithMarginTop = null;
|
|
25
24
|
const additionalStyles = {
|
|
26
25
|
selectorContainer: "_1e0c1txw"
|
|
27
26
|
};
|
|
@@ -95,7 +94,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
95
94
|
name: 'offset',
|
|
96
95
|
enabled: true,
|
|
97
96
|
options: {
|
|
98
|
-
offset: [0,
|
|
97
|
+
offset: [0, 4]
|
|
99
98
|
}
|
|
100
99
|
}, {
|
|
101
100
|
name: 'flip',
|
|
@@ -377,7 +376,7 @@ export const PopperWrapper = props => {
|
|
|
377
376
|
update: update,
|
|
378
377
|
settings: settings
|
|
379
378
|
}, /*#__PURE__*/React.createElement("div", {
|
|
380
|
-
className: ax(["_2rkofajl _bfhk1bhr _16qs1kf5 _79pa1b66"
|
|
379
|
+
className: ax(["_2rkofajl _bfhk1bhr _16qs1kf5 _79pa1b66"])
|
|
381
380
|
}, children)));
|
|
382
381
|
});
|
|
383
382
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
._2rkoo7ao{border-radius:15px}._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
1
|
+
._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
3
2
|
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
4
3
|
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
5
4
|
._1e0c1o8l{display:inline-block}
|
|
@@ -281,7 +281,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
281
281
|
name: "reactions"
|
|
282
282
|
}, /*#__PURE__*/React.createElement("div", {
|
|
283
283
|
"data-testid": RENDER_REACTIONS_TESTID,
|
|
284
|
-
className: ax(["
|
|
284
|
+
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
285
285
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/React.createElement("div", {
|
|
286
286
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
287
287
|
}, /*#__PURE__*/React.createElement(ReactionSummaryView, {
|
|
@@ -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 = "
|
|
7
|
+
var packageVersion = "0.0.0-development";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._16qs1a23{box-shadow:var(--_3t1odq)}
|
|
3
|
-
._1bch1b66>div{margin-top:var(--ds-space-050,4px)}
|
|
4
3
|
._1e0c1txw{display:flex}
|
|
5
4
|
._1pra1o8l.miniMode{display:inline-block}
|
|
6
5
|
._79pa1b66>div{margin-bottom:var(--ds-space-050,4px)}
|
|
@@ -25,7 +25,6 @@ import Portal from '@atlaskit/portal';
|
|
|
25
25
|
var pickerStyle = null;
|
|
26
26
|
var popupWrapperStyle = null;
|
|
27
27
|
var popupStyle = null;
|
|
28
|
-
var popupStyleWithMarginTop = null;
|
|
29
28
|
var additionalStyles = {
|
|
30
29
|
selectorContainer: "_1e0c1txw"
|
|
31
30
|
};
|
|
@@ -125,7 +124,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
125
124
|
name: 'offset',
|
|
126
125
|
enabled: true,
|
|
127
126
|
options: {
|
|
128
|
-
offset: [0,
|
|
127
|
+
offset: [0, 4]
|
|
129
128
|
}
|
|
130
129
|
}, {
|
|
131
130
|
name: 'flip',
|
|
@@ -412,7 +411,7 @@ export var PopperWrapper = function PopperWrapper(props) {
|
|
|
412
411
|
update: update,
|
|
413
412
|
settings: settings
|
|
414
413
|
}, /*#__PURE__*/React.createElement("div", {
|
|
415
|
-
className: ax(["_2rkofajl _bfhk13b4 _16qs1a23 _79pa1b66"
|
|
414
|
+
className: ax(["_2rkofajl _bfhk13b4 _16qs1a23 _79pa1b66"]),
|
|
416
415
|
style: {
|
|
417
416
|
"--_1f6rtr1": ix("var(--ds-surface-overlay, ".concat(N0, ")")),
|
|
418
417
|
"--_3t1odq": ix("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"))
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
._2rkoo7ao{border-radius:15px}._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
1
|
+
._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
3
2
|
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
4
3
|
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
5
4
|
._1e0c1o8l{display:inline-block}
|
|
@@ -324,7 +324,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
324
324
|
name: "reactions"
|
|
325
325
|
}, /*#__PURE__*/React.createElement("div", {
|
|
326
326
|
"data-testid": RENDER_REACTIONS_TESTID,
|
|
327
|
-
className: ax(["
|
|
327
|
+
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
328
328
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/React.createElement("div", {
|
|
329
329
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
330
330
|
}, /*#__PURE__*/React.createElement(ReactionSummaryView, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.
|
|
3
|
+
"version": "33.7.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/popper": "^7.1.0",
|
|
50
50
|
"@atlaskit/popup": "^4.6.0",
|
|
51
51
|
"@atlaskit/portal": "^5.1.0",
|
|
52
|
-
"@atlaskit/primitives": "^16.
|
|
52
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
53
53
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
54
54
|
"@atlaskit/spinner": "^19.0.0",
|
|
55
55
|
"@atlaskit/tabs": "^18.2.0",
|
|
@@ -118,9 +118,6 @@
|
|
|
118
118
|
"platform-component-visual-refresh": {
|
|
119
119
|
"type": "boolean"
|
|
120
120
|
},
|
|
121
|
-
"platform-reactions-offset-based-popper": {
|
|
122
|
-
"type": "boolean"
|
|
123
|
-
},
|
|
124
121
|
"dst-a11y__replace-anchor-with-link__editor-collabo": {
|
|
125
122
|
"type": "boolean"
|
|
126
123
|
},
|