@atlaskit/reactions 33.8.6 → 33.8.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 +6 -0
- package/afm-cc/tsconfig.json +1 -1
- package/afm-products/tsconfig.json +1 -1
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/Counter.compiled.css +1 -1
- package/dist/cjs/components/Counter.js +1 -1
- package/dist/cjs/components/ReactionView.compiled.css +1 -1
- package/dist/cjs/components/ReactionView.js +1 -1
- package/dist/cjs/components/Trigger.compiled.css +1 -1
- package/dist/cjs/components/Trigger.js +1 -2
- package/dist/cjs/containers/ConnectedReactionsView/ConnectedReactionsView.js +15 -52
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Counter.compiled.css +1 -1
- package/dist/es2019/components/Counter.js +1 -1
- package/dist/es2019/components/ReactionView.compiled.css +1 -1
- package/dist/es2019/components/ReactionView.js +1 -1
- package/dist/es2019/components/Trigger.compiled.css +1 -1
- package/dist/es2019/components/Trigger.js +1 -2
- package/dist/es2019/containers/ConnectedReactionsView/ConnectedReactionsView.js +1 -26
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Counter.compiled.css +1 -1
- package/dist/esm/components/Counter.js +1 -1
- package/dist/esm/components/ReactionView.compiled.css +1 -1
- package/dist/esm/components/ReactionView.js +1 -1
- package/dist/esm/components/Trigger.compiled.css +1 -1
- package/dist/esm/components/Trigger.js +1 -2
- package/dist/esm/containers/ConnectedReactionsView/ConnectedReactionsView.js +15 -52
- package/docs/0-intro.tsx +2 -1
- package/docs/1-connected-reaction-picker.tsx +2 -1
- package/docs/2-connected-reactions-view.tsx +2 -1
- package/docs/3-reactions-store.tsx +2 -1
- package/docs/4-reaction-service-client.tsx +2 -1
- package/docs/5-graphql-support.tsx +2 -1
- package/package.json +14 -18
- package/build/tsconfig.json +0 -23
package/CHANGELOG.md
CHANGED
package/afm-cc/tsconfig.json
CHANGED
|
@@ -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 = "33.8.6";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18m915vq{overflow-y:hidden}
|
|
3
3
|
._19bvidpf{padding-left:0}
|
|
4
4
|
._19pkv77o{margin-top:var(--ds-space-025,2px)}
|
|
@@ -69,7 +69,7 @@ var Counter = exports.Counter = function Counter(_ref) {
|
|
|
69
69
|
}, [value]);
|
|
70
70
|
return /*#__PURE__*/React.createElement("div", {
|
|
71
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
72
|
-
className: (0, _runtime.ax)(["
|
|
72
|
+
className: (0, _runtime.ax)(["_11c8wadc _1reo15vq _18m915vq _syaz1rpy _kqswh2mm _ca0q1b66 _u5f3u2gc _n3td1b66 _19bvidpf _vwz4dlk8", useDarkerFont && "_syazazsu", useUpdatedStyles && "_19pkv77o", className]),
|
|
73
73
|
"data-testid": RENDER_COMPONENT_WRAPPER
|
|
74
74
|
}, /*#__PURE__*/React.createElement(_motion.ExitingPersistence, null, /*#__PURE__*/React.createElement(_motion.SlideIn, {
|
|
75
75
|
enterFrom: isIncreasing ? 'top' : 'bottom',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._nccufhey li{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._qtt8glyw{list-style:none}._18u0utpp{margin-left:var(--ds-space-150,9pt)}
|
|
4
4
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
5
5
|
._19bvidpf{padding-left:0}
|
|
@@ -44,7 +44,7 @@ var ReactionView = exports.ReactionView = function ReactionView(_ref) {
|
|
|
44
44
|
size: "large",
|
|
45
45
|
interactionName: "reactions-spinner"
|
|
46
46
|
})) : /*#__PURE__*/React.createElement("ul", {
|
|
47
|
-
className: (0, _runtime.ax)(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h
|
|
47
|
+
className: (0, _runtime.ax)(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey _thoc15n8"]),
|
|
48
48
|
style: {
|
|
49
49
|
"--_1zdack": (0, _runtime.ix)("".concat("var(--ds-text, ".concat(_colors.N500, ")")))
|
|
50
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
3
|
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
4
4
|
._qtt8glyw{list-style:none}
|
|
@@ -45,7 +45,7 @@ var i18n = (0, _reactIntlNext.defineMessages)({
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
var addReactionStyles = {
|
|
48
|
-
addReactionMessage: "
|
|
48
|
+
addReactionMessage: "_11c8rymc _syazazsu _18u01b66"
|
|
49
49
|
};
|
|
50
50
|
var noMarkerListStyle = null;
|
|
51
51
|
|
|
@@ -101,7 +101,6 @@ var Trigger = exports.Trigger = /*#__PURE__*/_react2.default.forwardRef(function
|
|
|
101
101
|
_react2.default.createElement(_emojiAdd.default, {
|
|
102
102
|
testId: "emoji-add-icon",
|
|
103
103
|
color: disabled ? "var(--ds-icon-disabled, #080F214A)" : "var(--ds-icon, #292A2E)",
|
|
104
|
-
LEGACY_size: "small",
|
|
105
104
|
label: "Add reaction"
|
|
106
105
|
}), showAddReactionText && /*#__PURE__*/_react2.default.createElement(_compiled.Box, {
|
|
107
106
|
xcss: (0, _react.cx)(addReactionStyles.addReactionMessage)
|
|
@@ -18,7 +18,6 @@ var _components = require("../../components");
|
|
|
18
18
|
var _Reactions = require("../../components/Reactions");
|
|
19
19
|
var _store2 = require("../../store");
|
|
20
20
|
var _types = require("../../types");
|
|
21
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
21
|
var _excluded = ["ari", "containerAri", "store", "particleEffectByEmojiEnabled", "onReactionSuccess"];
|
|
23
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
24
23
|
/**
|
|
@@ -145,9 +144,6 @@ var ConnectedReactionsView = exports.ConnectedReactionsView = function Connected
|
|
|
145
144
|
return mapDispatchToPropsHelper(actions, containerAri, ari, onReactionSuccess);
|
|
146
145
|
}, [ari, containerAri, onReactionSuccess]);
|
|
147
146
|
var resolveStore = (0, _react.useCallback)(function (store) {
|
|
148
|
-
if (!(0, _platformFeatureFlags.fg)('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
147
|
if (store.setCreateAnalyticsEvent && createAnalyticsEvent) {
|
|
152
148
|
store.setCreateAnalyticsEvent(createAnalyticsEvent);
|
|
153
149
|
}
|
|
@@ -157,18 +153,12 @@ var ConnectedReactionsView = exports.ConnectedReactionsView = function Connected
|
|
|
157
153
|
setDispatchData(dispatch);
|
|
158
154
|
}, [createAnalyticsEvent, mapDispatchToProps, mapStateToProps]);
|
|
159
155
|
(0, _react.useMemo)(function () {
|
|
160
|
-
if (!(0, _platformFeatureFlags.fg)('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
156
|
if (!('then' in store)) {
|
|
164
157
|
// Store is not a Promise
|
|
165
158
|
resolveStore(store);
|
|
166
159
|
}
|
|
167
|
-
}, [
|
|
160
|
+
}, [store, resolveStore]);
|
|
168
161
|
(0, _react.useEffect)(function () {
|
|
169
|
-
if (!(0, _platformFeatureFlags.fg)('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
162
|
(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
173
163
|
var _store;
|
|
174
164
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
@@ -190,33 +180,6 @@ var ConnectedReactionsView = exports.ConnectedReactionsView = function Connected
|
|
|
190
180
|
}, _callee);
|
|
191
181
|
}))();
|
|
192
182
|
}, [store, resolveStore]);
|
|
193
|
-
(0, _react.useEffect)(function () {
|
|
194
|
-
if ((0, _platformFeatureFlags.fg)('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
198
|
-
var _store, state, dispatch;
|
|
199
|
-
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
200
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
201
|
-
case 0:
|
|
202
|
-
_context2.next = 2;
|
|
203
|
-
return Promise.resolve(store);
|
|
204
|
-
case 2:
|
|
205
|
-
_store = _context2.sent;
|
|
206
|
-
if (_store.setCreateAnalyticsEvent && createAnalyticsEvent) {
|
|
207
|
-
_store.setCreateAnalyticsEvent(createAnalyticsEvent);
|
|
208
|
-
}
|
|
209
|
-
state = mapStateToProps(_store.getState());
|
|
210
|
-
dispatch = mapDispatchToProps(_store);
|
|
211
|
-
setStateData(state);
|
|
212
|
-
setDispatchData(dispatch);
|
|
213
|
-
case 8:
|
|
214
|
-
case "end":
|
|
215
|
-
return _context2.stop();
|
|
216
|
-
}
|
|
217
|
-
}, _callee2);
|
|
218
|
-
}))();
|
|
219
|
-
}, [createAnalyticsEvent, store, ari, containerAri, mapStateToProps, mapDispatchToProps]);
|
|
220
183
|
|
|
221
184
|
/**
|
|
222
185
|
* Listen to changes on the store data.
|
|
@@ -228,38 +191,38 @@ var ConnectedReactionsView = exports.ConnectedReactionsView = function Connected
|
|
|
228
191
|
var stateProps = mapStateToProps(state);
|
|
229
192
|
setStateData(stateProps);
|
|
230
193
|
};
|
|
231
|
-
(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
194
|
+
(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
232
195
|
var _store;
|
|
233
|
-
return _regenerator.default.wrap(function
|
|
234
|
-
while (1) switch (
|
|
196
|
+
return _regenerator.default.wrap(function _callee2$(_context2) {
|
|
197
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
235
198
|
case 0:
|
|
236
|
-
|
|
199
|
+
_context2.next = 2;
|
|
237
200
|
return Promise.resolve(store);
|
|
238
201
|
case 2:
|
|
239
|
-
_store =
|
|
202
|
+
_store = _context2.sent;
|
|
240
203
|
_store.onChange(onChangeCallback);
|
|
241
204
|
case 4:
|
|
242
205
|
case "end":
|
|
243
|
-
return
|
|
206
|
+
return _context2.stop();
|
|
244
207
|
}
|
|
245
|
-
},
|
|
208
|
+
}, _callee2);
|
|
246
209
|
}))();
|
|
247
210
|
return function cleanup() {
|
|
248
|
-
(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
211
|
+
(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
|
|
249
212
|
var _store;
|
|
250
|
-
return _regenerator.default.wrap(function
|
|
251
|
-
while (1) switch (
|
|
213
|
+
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
214
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
252
215
|
case 0:
|
|
253
|
-
|
|
216
|
+
_context3.next = 2;
|
|
254
217
|
return Promise.resolve(store);
|
|
255
218
|
case 2:
|
|
256
|
-
_store =
|
|
219
|
+
_store = _context3.sent;
|
|
257
220
|
_store.removeOnChangeListener(onChangeCallback);
|
|
258
221
|
case 4:
|
|
259
222
|
case "end":
|
|
260
|
-
return
|
|
223
|
+
return _context3.stop();
|
|
261
224
|
}
|
|
262
|
-
},
|
|
225
|
+
}, _callee3);
|
|
263
226
|
}))();
|
|
264
227
|
};
|
|
265
228
|
}, [mapStateToProps, store]);
|
|
@@ -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 = "33.8.6";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18m915vq{overflow-y:hidden}
|
|
3
3
|
._19bvidpf{padding-left:0}
|
|
4
4
|
._19pkv77o{margin-top:var(--ds-space-025,2px)}
|
|
@@ -60,7 +60,7 @@ export const Counter = ({
|
|
|
60
60
|
}, [value]);
|
|
61
61
|
return /*#__PURE__*/React.createElement("div", {
|
|
62
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
63
|
-
className: ax(["
|
|
63
|
+
className: ax(["_11c8wadc _1reo15vq _18m915vq _syaz1rpy _kqswh2mm _ca0q1b66 _u5f3u2gc _n3td1b66 _19bvidpf _vwz4dlk8", useDarkerFont && "_syazazsu", useUpdatedStyles && "_19pkv77o", className]),
|
|
64
64
|
"data-testid": RENDER_COMPONENT_WRAPPER
|
|
65
65
|
}, /*#__PURE__*/React.createElement(ExitingPersistence, null, /*#__PURE__*/React.createElement(SlideIn, {
|
|
66
66
|
enterFrom: isIncreasing ? 'top' : 'bottom',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._nccufhey li{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._qtt8glyw{list-style:none}._18u0utpp{margin-left:var(--ds-space-150,9pt)}
|
|
4
4
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
5
5
|
._19bvidpf{padding-left:0}
|
|
@@ -34,7 +34,7 @@ export const ReactionView = ({
|
|
|
34
34
|
size: "large",
|
|
35
35
|
interactionName: "reactions-spinner"
|
|
36
36
|
})) : /*#__PURE__*/React.createElement("ul", {
|
|
37
|
-
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h
|
|
37
|
+
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey _thoc10s3"])
|
|
38
38
|
}, alphabeticalNames.map(user => {
|
|
39
39
|
var _user$profilePicture;
|
|
40
40
|
const profile = (_user$profilePicture = user.profilePicture) === null || _user$profilePicture === void 0 ? void 0 : _user$profilePicture.path;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
3
|
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
4
4
|
._qtt8glyw{list-style:none}
|
|
@@ -38,7 +38,7 @@ const i18n = defineMessages({
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
const addReactionStyles = {
|
|
41
|
-
addReactionMessage: "
|
|
41
|
+
addReactionMessage: "_11c8rymc _syazazsu _18u01b66"
|
|
42
42
|
};
|
|
43
43
|
const noMarkerListStyle = null;
|
|
44
44
|
|
|
@@ -87,7 +87,6 @@ export const Trigger = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
87
87
|
React.createElement(EmojiAddIcon, {
|
|
88
88
|
testId: "emoji-add-icon",
|
|
89
89
|
color: disabled ? "var(--ds-icon-disabled, #080F214A)" : "var(--ds-icon, #292A2E)",
|
|
90
|
-
LEGACY_size: "small",
|
|
91
90
|
label: "Add reaction"
|
|
92
91
|
}), showAddReactionText && /*#__PURE__*/React.createElement(Box, {
|
|
93
92
|
xcss: cx(addReactionStyles.addReactionMessage)
|
|
@@ -6,7 +6,6 @@ import { UfoErrorBoundary } from '../../components';
|
|
|
6
6
|
import { Reactions } from '../../components/Reactions';
|
|
7
7
|
import { ufoExperiences } from '../../store';
|
|
8
8
|
import { ReactionStatus } from '../../types';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* State Props required for <Reactions />
|
|
@@ -129,9 +128,6 @@ export const ConnectedReactionsView = props => {
|
|
|
129
128
|
return mapDispatchToPropsHelper(actions, containerAri, ari, onReactionSuccess);
|
|
130
129
|
}, [ari, containerAri, onReactionSuccess]);
|
|
131
130
|
const resolveStore = useCallback(store => {
|
|
132
|
-
if (!fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
131
|
if (store.setCreateAnalyticsEvent && createAnalyticsEvent) {
|
|
136
132
|
store.setCreateAnalyticsEvent(createAnalyticsEvent);
|
|
137
133
|
}
|
|
@@ -141,18 +137,12 @@ export const ConnectedReactionsView = props => {
|
|
|
141
137
|
setDispatchData(dispatch);
|
|
142
138
|
}, [createAnalyticsEvent, mapDispatchToProps, mapStateToProps]);
|
|
143
139
|
useMemo(() => {
|
|
144
|
-
if (!fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
140
|
if (!('then' in store)) {
|
|
148
141
|
// Store is not a Promise
|
|
149
142
|
resolveStore(store);
|
|
150
143
|
}
|
|
151
|
-
}, [
|
|
144
|
+
}, [store, resolveStore]);
|
|
152
145
|
useEffect(() => {
|
|
153
|
-
if (!fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
146
|
(async () => {
|
|
157
147
|
if ('then' in store) {
|
|
158
148
|
// Store is a Promise
|
|
@@ -161,21 +151,6 @@ export const ConnectedReactionsView = props => {
|
|
|
161
151
|
}
|
|
162
152
|
})();
|
|
163
153
|
}, [store, resolveStore]);
|
|
164
|
-
useEffect(() => {
|
|
165
|
-
if (fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
166
|
-
return;
|
|
167
|
-
}
|
|
168
|
-
(async () => {
|
|
169
|
-
const _store = await Promise.resolve(store);
|
|
170
|
-
if (_store.setCreateAnalyticsEvent && createAnalyticsEvent) {
|
|
171
|
-
_store.setCreateAnalyticsEvent(createAnalyticsEvent);
|
|
172
|
-
}
|
|
173
|
-
const state = mapStateToProps(_store.getState());
|
|
174
|
-
const dispatch = mapDispatchToProps(_store);
|
|
175
|
-
setStateData(state);
|
|
176
|
-
setDispatchData(dispatch);
|
|
177
|
-
})();
|
|
178
|
-
}, [createAnalyticsEvent, store, ari, containerAri, mapStateToProps, mapDispatchToProps]);
|
|
179
154
|
|
|
180
155
|
/**
|
|
181
156
|
* Listen to changes on the store data.
|
|
@@ -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 = "33.8.6";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._18m915vq{overflow-y:hidden}
|
|
3
3
|
._19bvidpf{padding-left:0}
|
|
4
4
|
._19pkv77o{margin-top:var(--ds-space-025,2px)}
|
|
@@ -61,7 +61,7 @@ export var Counter = function Counter(_ref) {
|
|
|
61
61
|
}, [value]);
|
|
62
62
|
return /*#__PURE__*/React.createElement("div", {
|
|
63
63
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
64
|
-
className: ax(["
|
|
64
|
+
className: ax(["_11c8wadc _1reo15vq _18m915vq _syaz1rpy _kqswh2mm _ca0q1b66 _u5f3u2gc _n3td1b66 _19bvidpf _vwz4dlk8", useDarkerFont && "_syazazsu", useUpdatedStyles && "_19pkv77o", className]),
|
|
65
65
|
"data-testid": RENDER_COMPONENT_WRAPPER
|
|
66
66
|
}, /*#__PURE__*/React.createElement(ExitingPersistence, null, /*#__PURE__*/React.createElement(SlideIn, {
|
|
67
67
|
enterFrom: isIncreasing ? 'top' : 'bottom',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._nccufhey li{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
3
|
._qtt8glyw{list-style:none}._18u0utpp{margin-left:var(--ds-space-150,9pt)}
|
|
4
4
|
._18u0ze3t{margin-left:var(--ds-space-0,0)}
|
|
5
5
|
._19bvidpf{padding-left:0}
|
|
@@ -35,7 +35,7 @@ export var ReactionView = function ReactionView(_ref) {
|
|
|
35
35
|
size: "large",
|
|
36
36
|
interactionName: "reactions-spinner"
|
|
37
37
|
})) : /*#__PURE__*/React.createElement("ul", {
|
|
38
|
-
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h
|
|
38
|
+
className: ax(["_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _19pkpxbi _y3gn1e5h _nccufhey _thoc15n8"]),
|
|
39
39
|
style: {
|
|
40
40
|
"--_1zdack": ix("".concat("var(--ds-text, ".concat(N500, ")")))
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._11c8rymc{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
3
|
._2rko1rr0{border-radius:var(--ds-radius-full,9999px)}
|
|
4
4
|
._qtt8glyw{list-style:none}
|
|
@@ -38,7 +38,7 @@ var i18n = defineMessages({
|
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
40
|
var addReactionStyles = {
|
|
41
|
-
addReactionMessage: "
|
|
41
|
+
addReactionMessage: "_11c8rymc _syazazsu _18u01b66"
|
|
42
42
|
};
|
|
43
43
|
var noMarkerListStyle = null;
|
|
44
44
|
|
|
@@ -94,7 +94,6 @@ export var Trigger = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
94
94
|
React.createElement(EmojiAddIcon, {
|
|
95
95
|
testId: "emoji-add-icon",
|
|
96
96
|
color: disabled ? "var(--ds-icon-disabled, #080F214A)" : "var(--ds-icon, #292A2E)",
|
|
97
|
-
LEGACY_size: "small",
|
|
98
97
|
label: "Add reaction"
|
|
99
98
|
}), showAddReactionText && /*#__PURE__*/React.createElement(Box, {
|
|
100
99
|
xcss: cx(addReactionStyles.addReactionMessage)
|
|
@@ -11,7 +11,6 @@ import { UfoErrorBoundary } from '../../components';
|
|
|
11
11
|
import { Reactions } from '../../components/Reactions';
|
|
12
12
|
import { ufoExperiences } from '../../store';
|
|
13
13
|
import { ReactionStatus } from '../../types';
|
|
14
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
14
|
|
|
16
15
|
/**
|
|
17
16
|
* State Props required for <Reactions />
|
|
@@ -137,9 +136,6 @@ export var ConnectedReactionsView = function ConnectedReactionsView(props) {
|
|
|
137
136
|
return mapDispatchToPropsHelper(actions, containerAri, ari, onReactionSuccess);
|
|
138
137
|
}, [ari, containerAri, onReactionSuccess]);
|
|
139
138
|
var resolveStore = useCallback(function (store) {
|
|
140
|
-
if (!fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
139
|
if (store.setCreateAnalyticsEvent && createAnalyticsEvent) {
|
|
144
140
|
store.setCreateAnalyticsEvent(createAnalyticsEvent);
|
|
145
141
|
}
|
|
@@ -149,18 +145,12 @@ export var ConnectedReactionsView = function ConnectedReactionsView(props) {
|
|
|
149
145
|
setDispatchData(dispatch);
|
|
150
146
|
}, [createAnalyticsEvent, mapDispatchToProps, mapStateToProps]);
|
|
151
147
|
useMemo(function () {
|
|
152
|
-
if (!fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
153
|
-
return;
|
|
154
|
-
}
|
|
155
148
|
if (!('then' in store)) {
|
|
156
149
|
// Store is not a Promise
|
|
157
150
|
resolveStore(store);
|
|
158
151
|
}
|
|
159
|
-
}, [
|
|
152
|
+
}, [store, resolveStore]);
|
|
160
153
|
useEffect(function () {
|
|
161
|
-
if (!fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
162
|
-
return;
|
|
163
|
-
}
|
|
164
154
|
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
165
155
|
var _store;
|
|
166
156
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
@@ -182,33 +172,6 @@ export var ConnectedReactionsView = function ConnectedReactionsView(props) {
|
|
|
182
172
|
}, _callee);
|
|
183
173
|
}))();
|
|
184
174
|
}, [store, resolveStore]);
|
|
185
|
-
useEffect(function () {
|
|
186
|
-
if (fg('jfp-magma-ssr-issue-view-comment-reactions')) {
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
190
|
-
var _store, state, dispatch;
|
|
191
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
192
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
193
|
-
case 0:
|
|
194
|
-
_context2.next = 2;
|
|
195
|
-
return Promise.resolve(store);
|
|
196
|
-
case 2:
|
|
197
|
-
_store = _context2.sent;
|
|
198
|
-
if (_store.setCreateAnalyticsEvent && createAnalyticsEvent) {
|
|
199
|
-
_store.setCreateAnalyticsEvent(createAnalyticsEvent);
|
|
200
|
-
}
|
|
201
|
-
state = mapStateToProps(_store.getState());
|
|
202
|
-
dispatch = mapDispatchToProps(_store);
|
|
203
|
-
setStateData(state);
|
|
204
|
-
setDispatchData(dispatch);
|
|
205
|
-
case 8:
|
|
206
|
-
case "end":
|
|
207
|
-
return _context2.stop();
|
|
208
|
-
}
|
|
209
|
-
}, _callee2);
|
|
210
|
-
}))();
|
|
211
|
-
}, [createAnalyticsEvent, store, ari, containerAri, mapStateToProps, mapDispatchToProps]);
|
|
212
175
|
|
|
213
176
|
/**
|
|
214
177
|
* Listen to changes on the store data.
|
|
@@ -220,38 +183,38 @@ export var ConnectedReactionsView = function ConnectedReactionsView(props) {
|
|
|
220
183
|
var stateProps = mapStateToProps(state);
|
|
221
184
|
setStateData(stateProps);
|
|
222
185
|
};
|
|
223
|
-
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
186
|
+
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
224
187
|
var _store;
|
|
225
|
-
return _regeneratorRuntime.wrap(function
|
|
226
|
-
while (1) switch (
|
|
188
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
189
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
227
190
|
case 0:
|
|
228
|
-
|
|
191
|
+
_context2.next = 2;
|
|
229
192
|
return Promise.resolve(store);
|
|
230
193
|
case 2:
|
|
231
|
-
_store =
|
|
194
|
+
_store = _context2.sent;
|
|
232
195
|
_store.onChange(onChangeCallback);
|
|
233
196
|
case 4:
|
|
234
197
|
case "end":
|
|
235
|
-
return
|
|
198
|
+
return _context2.stop();
|
|
236
199
|
}
|
|
237
|
-
},
|
|
200
|
+
}, _callee2);
|
|
238
201
|
}))();
|
|
239
202
|
return function cleanup() {
|
|
240
|
-
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function
|
|
203
|
+
_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
241
204
|
var _store;
|
|
242
|
-
return _regeneratorRuntime.wrap(function
|
|
243
|
-
while (1) switch (
|
|
205
|
+
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
206
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
244
207
|
case 0:
|
|
245
|
-
|
|
208
|
+
_context3.next = 2;
|
|
246
209
|
return Promise.resolve(store);
|
|
247
210
|
case 2:
|
|
248
|
-
_store =
|
|
211
|
+
_store = _context3.sent;
|
|
249
212
|
_store.removeOnChangeListener(onChangeCallback);
|
|
250
213
|
case 4:
|
|
251
214
|
case "end":
|
|
252
|
-
return
|
|
215
|
+
return _context3.stop();
|
|
253
216
|
}
|
|
254
|
-
},
|
|
217
|
+
}, _callee3);
|
|
255
218
|
}))();
|
|
256
219
|
};
|
|
257
220
|
}, [mapStateToProps, store]);
|
package/docs/0-intro.tsx
CHANGED
|
@@ -11,7 +11,7 @@ const LinkComponent = (props: any) =>
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor, @atlassian/a11y/anchor-has-content
|
|
12
12
|
fg('dst-a11y__replace-anchor-with-link__editor-collabo') ? <Link {...props} /> : <a {...props} />;
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
const _default_1: any = md`
|
|
15
15
|
${(<AtlassianInternalWarning />)}
|
|
16
16
|
|
|
17
17
|
The main purpose of the Reactions component is to provide users the ability to react to pieces of content.
|
|
@@ -173,3 +173,4 @@ export default md`
|
|
|
173
173
|
props={require('!!extract-react-types-loader!../extract-react-type/Reaction')}
|
|
174
174
|
/>
|
|
175
175
|
)}`;
|
|
176
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@ import { Text } from '@atlaskit/primitives/compiled';
|
|
|
5
5
|
|
|
6
6
|
import ConnectedReactionPickerExample from '../examples/00-connected-reaction-picker';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const _default_1: any = md`
|
|
9
9
|
|
|
10
10
|
The ConnectedReactionPicker component renders the Reaction picker custom selector to add a new reaction to the content displayed.
|
|
11
11
|
|
|
@@ -132,3 +132,4 @@ export default md`
|
|
|
132
132
|
/>
|
|
133
133
|
)}
|
|
134
134
|
`;
|
|
135
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@ import { Text } from '@atlaskit/primitives/compiled';
|
|
|
5
5
|
|
|
6
6
|
import ConnectedReactionsViewExample from '../examples/01-connected-reactions-view';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
const _default_1: any = md`
|
|
9
9
|
|
|
10
10
|
The ConnectedReactionsView component renders all existing reactions for given post/comment/etc.. as well as the [ConnectedReactionPicker](/packages/elements/reactions/docs/connected-reaction-picker) to add more reactions.
|
|
11
11
|
|
|
@@ -129,3 +129,4 @@ export default md`
|
|
|
129
129
|
/>
|
|
130
130
|
)}
|
|
131
131
|
`;
|
|
132
|
+
export default _default_1;
|
|
@@ -9,7 +9,7 @@ const LinkComponent = (props: any) =>
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor, @atlassian/a11y/anchor-has-content
|
|
10
10
|
fg('dst-a11y__replace-anchor-with-link__editor-collabo') ? <Link {...props} /> : <a {...props} />;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
const _default_1: any = md`
|
|
13
13
|
|
|
14
14
|
The ReactionsStore is one of the key interfaces that encapsulates all logic needed to maintain internal state of the reaction elements (get latest state and onChange callback events), including different types of Actions required to perform on the store (getReactions, toggleReaction on/off, adding a new reaciton, getting detailed reaction upon hovering the emoji icon).
|
|
15
15
|
It serves as one of the key props passed to the connected HoC used in Reactions: (\`ConnectedReactionPicker\` and \`ConnectedReactions\`).
|
|
@@ -75,3 +75,4 @@ export default md`
|
|
|
75
75
|
/>
|
|
76
76
|
)}
|
|
77
77
|
`;
|
|
78
|
+
export default _default_1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { md, code, Props } from '@atlaskit/docs';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
const _default_1: any = md`
|
|
5
5
|
|
|
6
6
|
The ReactionServiceClient class is another key element used in the Reactions memory state management. It wraps all API calls to the pf-reactions-service required for communicating with the remote API.
|
|
7
7
|
|
|
@@ -40,3 +40,4 @@ export default md`
|
|
|
40
40
|
/>
|
|
41
41
|
)}
|
|
42
42
|
`;
|
|
43
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@ import { md, code, Props } from '@atlaskit/docs';
|
|
|
3
3
|
import SectionMessage from '@atlaskit/section-message';
|
|
4
4
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
const _default_1: any = md`
|
|
7
7
|
|
|
8
8
|
### How to get reactions support GraphQL?
|
|
9
9
|
|
|
@@ -150,3 +150,4 @@ ${(
|
|
|
150
150
|
/>
|
|
151
151
|
)}
|
|
152
152
|
`;
|
|
153
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.8.
|
|
3
|
+
"version": "33.8.7",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
38
|
-
"@atlaskit/avatar": "^25.
|
|
38
|
+
"@atlaskit/avatar": "^25.7.0",
|
|
39
39
|
"@atlaskit/button": "^23.9.0",
|
|
40
40
|
"@atlaskit/css": "^0.19.0",
|
|
41
|
-
"@atlaskit/emoji": "^69.
|
|
41
|
+
"@atlaskit/emoji": "^69.10.0",
|
|
42
42
|
"@atlaskit/heading": "^5.2.0",
|
|
43
|
-
"@atlaskit/icon": "^29.
|
|
44
|
-
"@atlaskit/link": "^3.
|
|
45
|
-
"@atlaskit/modal-dialog": "^14.
|
|
43
|
+
"@atlaskit/icon": "^29.4.0",
|
|
44
|
+
"@atlaskit/link": "^3.3.0",
|
|
45
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
46
46
|
"@atlaskit/motion": "^5.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/popper": "^7.1.0",
|
|
49
|
-
"@atlaskit/popup": "^4.
|
|
50
|
-
"@atlaskit/portal": "^5.
|
|
51
|
-
"@atlaskit/primitives": "^17.
|
|
52
|
-
"@atlaskit/react-ufo": "^4.
|
|
49
|
+
"@atlaskit/popup": "^4.13.0",
|
|
50
|
+
"@atlaskit/portal": "^5.2.0",
|
|
51
|
+
"@atlaskit/primitives": "^17.1.0",
|
|
52
|
+
"@atlaskit/react-ufo": "^4.17.0",
|
|
53
53
|
"@atlaskit/spinner": "^19.0.0",
|
|
54
54
|
"@atlaskit/tabs": "^18.3.0",
|
|
55
55
|
"@atlaskit/theme": "^21.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^
|
|
57
|
-
"@atlaskit/tooltip": "^20.
|
|
56
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
57
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
58
58
|
"@atlaskit/ufo": "^0.4.0",
|
|
59
59
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
@@ -70,12 +70,11 @@
|
|
|
70
70
|
"@af/visual-regression": "workspace:^",
|
|
71
71
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
72
72
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
73
|
-
"@atlaskit/util-data-test": "^18.
|
|
73
|
+
"@atlaskit/util-data-test": "^18.4.0",
|
|
74
74
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
75
75
|
"@testing-library/dom": "^10.1.0",
|
|
76
76
|
"@testing-library/jest-dom": "^6.4.5",
|
|
77
|
-
"@testing-library/react": "^
|
|
78
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
77
|
+
"@testing-library/react": "^16.3.0",
|
|
79
78
|
"@testing-library/user-event": "^14.4.3",
|
|
80
79
|
"dotenv": "^8.2.0",
|
|
81
80
|
"es6-promise": "^4.0.5",
|
|
@@ -123,9 +122,6 @@
|
|
|
123
122
|
"platform_optimistic_reaction_emoji": {
|
|
124
123
|
"type": "boolean"
|
|
125
124
|
},
|
|
126
|
-
"jfp-magma-ssr-issue-view-comment-reactions": {
|
|
127
|
-
"type": "boolean"
|
|
128
|
-
},
|
|
129
125
|
"platform-a11y-remove-autofocus-prop": {
|
|
130
126
|
"type": "boolean"
|
|
131
127
|
}
|
package/build/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"paths": {}
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"../src/**/*.ts",
|
|
10
|
-
"../src/**/*.tsx"
|
|
11
|
-
],
|
|
12
|
-
"exclude": [
|
|
13
|
-
"../src/**/__tests__/*",
|
|
14
|
-
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*",
|
|
16
|
-
"../src/**/examples.*",
|
|
17
|
-
"../src/**/examples/*",
|
|
18
|
-
"../src/**/examples/**/*",
|
|
19
|
-
"../src/**/*.stories.*",
|
|
20
|
-
"../src/**/stories/*",
|
|
21
|
-
"../src/**/stories/**/*"
|
|
22
|
-
]
|
|
23
|
-
}
|