@atlaskit/give-kudos 2.3.0 → 2.3.2
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
CHANGED
|
@@ -51,6 +51,7 @@ var sidebarButtonStyles = (0, _react2.css)({
|
|
|
51
51
|
alignItems: 'center',
|
|
52
52
|
background: 0,
|
|
53
53
|
borderRadius: '50%',
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
54
55
|
lineHeight: 1
|
|
55
56
|
});
|
|
56
57
|
var ANALYTICS_CHANNEL = 'atlas';
|
|
@@ -264,15 +265,18 @@ var GiveKudosLauncher = function GiveKudosLauncher(props) {
|
|
|
264
265
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
265
266
|
}, [isDirty]);
|
|
266
267
|
var renderIframe = function renderIframe() {
|
|
267
|
-
return (
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
268
|
+
return (
|
|
269
|
+
// eslint-disable-next-line jsx-a11y/iframe-has-title
|
|
270
|
+
(0, _react2.jsx)("iframe", {
|
|
271
|
+
src: giveKudosUrl,
|
|
272
|
+
ref: iframeEl,
|
|
273
|
+
width: "100%",
|
|
274
|
+
height: "100%",
|
|
275
|
+
frameBorder: "0",
|
|
276
|
+
allow: "camera;microphone",
|
|
277
|
+
css: iframeStyles
|
|
278
|
+
})
|
|
279
|
+
);
|
|
276
280
|
};
|
|
277
281
|
var handleCloseDrawerClicked = function handleCloseDrawerClicked() {
|
|
278
282
|
handleCloseDrawerClickedFuncRef.current();
|
|
@@ -41,6 +41,7 @@ const sidebarButtonStyles = css({
|
|
|
41
41
|
alignItems: 'center',
|
|
42
42
|
background: 0,
|
|
43
43
|
borderRadius: '50%',
|
|
44
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
44
45
|
lineHeight: 1
|
|
45
46
|
});
|
|
46
47
|
const ANALYTICS_CHANNEL = 'atlas';
|
|
@@ -246,15 +247,18 @@ const GiveKudosLauncher = props => {
|
|
|
246
247
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
247
248
|
}, [isDirty]);
|
|
248
249
|
const renderIframe = () => {
|
|
249
|
-
return
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
250
|
+
return (
|
|
251
|
+
// eslint-disable-next-line jsx-a11y/iframe-has-title
|
|
252
|
+
jsx("iframe", {
|
|
253
|
+
src: giveKudosUrl,
|
|
254
|
+
ref: iframeEl,
|
|
255
|
+
width: "100%",
|
|
256
|
+
height: "100%",
|
|
257
|
+
frameBorder: "0",
|
|
258
|
+
allow: "camera;microphone",
|
|
259
|
+
css: iframeStyles
|
|
260
|
+
})
|
|
261
|
+
);
|
|
258
262
|
};
|
|
259
263
|
const handleCloseDrawerClicked = () => {
|
|
260
264
|
handleCloseDrawerClickedFuncRef.current();
|
|
@@ -45,6 +45,7 @@ var sidebarButtonStyles = css({
|
|
|
45
45
|
alignItems: 'center',
|
|
46
46
|
background: 0,
|
|
47
47
|
borderRadius: '50%',
|
|
48
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
48
49
|
lineHeight: 1
|
|
49
50
|
});
|
|
50
51
|
var ANALYTICS_CHANNEL = 'atlas';
|
|
@@ -258,15 +259,18 @@ var GiveKudosLauncher = function GiveKudosLauncher(props) {
|
|
|
258
259
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
259
260
|
}, [isDirty]);
|
|
260
261
|
var renderIframe = function renderIframe() {
|
|
261
|
-
return
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
262
|
+
return (
|
|
263
|
+
// eslint-disable-next-line jsx-a11y/iframe-has-title
|
|
264
|
+
jsx("iframe", {
|
|
265
|
+
src: giveKudosUrl,
|
|
266
|
+
ref: iframeEl,
|
|
267
|
+
width: "100%",
|
|
268
|
+
height: "100%",
|
|
269
|
+
frameBorder: "0",
|
|
270
|
+
allow: "camera;microphone",
|
|
271
|
+
css: iframeStyles
|
|
272
|
+
})
|
|
273
|
+
);
|
|
270
274
|
};
|
|
271
275
|
var handleCloseDrawerClicked = function handleCloseDrawerClicked() {
|
|
272
276
|
handleCloseDrawerClickedFuncRef.current();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/give-kudos",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Give Kudos experience ",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"typecheck": "NODE_OPTIONS=--max-old-space-size=4096 tsc --noEmit --project ./tsconfig.json"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@atlaskit/analytics-next": "^10.
|
|
42
|
+
"@atlaskit/analytics-next": "^10.2.0",
|
|
43
43
|
"@atlaskit/button": "^20.3.0",
|
|
44
|
-
"@atlaskit/drawer": "^9.
|
|
45
|
-
"@atlaskit/icon": "^
|
|
44
|
+
"@atlaskit/drawer": "^9.3.0",
|
|
45
|
+
"@atlaskit/icon": "^23.3.0",
|
|
46
46
|
"@atlaskit/intl-messages-provider": "^1.0.2",
|
|
47
|
-
"@atlaskit/modal-dialog": "^12.
|
|
48
|
-
"@atlaskit/portal": "^4.
|
|
47
|
+
"@atlaskit/modal-dialog": "^12.19.0",
|
|
48
|
+
"@atlaskit/portal": "^4.10.0",
|
|
49
49
|
"@atlaskit/theme": "^14.0.0",
|
|
50
|
-
"@atlaskit/tokens": "^
|
|
50
|
+
"@atlaskit/tokens": "^3.0.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@emotion/react": "^11.7.1",
|
|
53
53
|
"react-intl-next": "npm:react-intl@^5.18.1"
|