@atlaskit/contextual-survey 2.2.12 → 2.2.14
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 +13 -0
- package/constants/package.json +1 -1
- package/dist/cjs/components/ContextualSurvey.js +2 -2
- package/dist/cjs/components/FeedbackAcknowledgement.js +6 -4
- package/dist/cjs/components/SignUpPrompt.js +14 -5
- package/dist/cjs/components/SignUpSuccess.js +6 -4
- package/dist/cjs/components/SurveyForm.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/types.js +1 -5
- package/dist/es2019/components/FeedbackAcknowledgement.js +5 -7
- package/dist/es2019/components/SignUpPrompt.js +13 -16
- package/dist/es2019/components/SignUpSuccess.js +5 -7
- package/dist/es2019/types.js +0 -1
- package/dist/esm/components/FeedbackAcknowledgement.js +5 -4
- package/dist/esm/components/SignUpPrompt.js +13 -5
- package/dist/esm/components/SignUpSuccess.js +5 -4
- package/dist/esm/types.js +0 -1
- package/docs/0-intro.tsx +3 -2
- package/package.json +8 -8
- package/types/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 2.2.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#83176](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83176) [`5c64e4657ef3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c64e4657ef3) - [ux] Minor changes to replace deprecated font tokens with new tokens. There may be some very slight differences in font size if the previous value was incorrectly applied, and slight differences in line height to match the new typography system.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 2.2.13
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
15
|
+
|
|
3
16
|
## 2.2.12
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/constants/package.json
CHANGED
|
@@ -16,8 +16,8 @@ var _SignUpSuccess = _interopRequireDefault(require("./SignUpSuccess"));
|
|
|
16
16
|
var _SurveyContainer = _interopRequireDefault(require("./SurveyContainer"));
|
|
17
17
|
var _SurveyForm = _interopRequireDefault(require("./SurveyForm"));
|
|
18
18
|
var _useEscapeToDismiss = _interopRequireDefault(require("./useEscapeToDismiss"));
|
|
19
|
-
function _getRequireWildcardCache(
|
|
20
|
-
function _interopRequireWildcard(
|
|
19
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
20
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
21
|
var DismissTrigger = exports.DismissTrigger = /*#__PURE__*/function (DismissTrigger) {
|
|
22
22
|
DismissTrigger["AutoDismiss"] = "AUTO_DISMISS";
|
|
23
23
|
DismissTrigger["Manual"] = "MANUAL";
|
|
@@ -5,14 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
8
|
var _react = require("@emotion/react");
|
|
10
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
11
9
|
var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
|
|
12
|
-
var _templateObject;
|
|
13
10
|
/** @jsx jsx */
|
|
11
|
+
|
|
12
|
+
var styles = (0, _react.css)({
|
|
13
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
14
|
+
marginTop: 0
|
|
15
|
+
});
|
|
14
16
|
var _default = exports.default = function _default() {
|
|
15
17
|
return (0, _react.jsx)(_SuccessContainer.default, null, (0, _react.jsx)("h1", {
|
|
16
|
-
css:
|
|
18
|
+
css: styles
|
|
17
19
|
}, "Thanks for your feedback"));
|
|
18
20
|
};
|
|
@@ -5,17 +5,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
8
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
10
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
11
|
var _react = require("react");
|
|
13
12
|
var _react2 = require("@emotion/react");
|
|
14
13
|
var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
|
|
15
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
16
14
|
var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
|
|
17
|
-
var _templateObject, _templateObject2;
|
|
18
15
|
/** @jsx jsx */
|
|
16
|
+
|
|
17
|
+
var styles = (0, _react2.css)({
|
|
18
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
19
|
+
margin: 0
|
|
20
|
+
});
|
|
19
21
|
var _default = exports.default = function _default(_ref) {
|
|
20
22
|
var onAnswer = _ref.onAnswer;
|
|
21
23
|
var _useState = (0, _react.useState)(null),
|
|
@@ -42,11 +44,18 @@ var _default = exports.default = function _default(_ref) {
|
|
|
42
44
|
}(), [setPending, onAnswer]);
|
|
43
45
|
var isDisabled = Boolean(pending);
|
|
44
46
|
return (0, _react2.jsx)(_SuccessContainer.default, null, (0, _react2.jsx)("h1", {
|
|
45
|
-
css:
|
|
47
|
+
css: styles
|
|
46
48
|
}, "Thanks for your feedback"), (0, _react2.jsx)("p", null, "Are you interested in participating in our research?"), (0, _react2.jsx)("p", null, "Sign up for the", ' ', (0, _react2.jsx)("a", {
|
|
47
49
|
href: "https://www.atlassian.com/research-group"
|
|
48
50
|
}, "Atlassian Research Group"), ' ', "and we may contact you in the future with research opportunities."), (0, _react2.jsx)("div", {
|
|
49
|
-
css: (0, _react2.css)(
|
|
51
|
+
css: (0, _react2.css)({
|
|
52
|
+
marginTop: "var(--ds-space-400, 32px)",
|
|
53
|
+
display: 'flex',
|
|
54
|
+
justifyContent: 'flex-end',
|
|
55
|
+
'& > * + *': {
|
|
56
|
+
marginLeft: "var(--ds-space-100, 8px)"
|
|
57
|
+
}
|
|
58
|
+
})
|
|
50
59
|
}, (0, _react2.jsx)(_customThemeButton.default, {
|
|
51
60
|
appearance: "subtle",
|
|
52
61
|
onClick: function onClick() {
|
|
@@ -5,16 +5,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
8
|
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
10
9
|
var _react = require("@emotion/react");
|
|
11
|
-
var _constants = require("@atlaskit/theme/constants");
|
|
12
10
|
var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
|
|
13
|
-
var _templateObject;
|
|
14
11
|
/** @jsx jsx */
|
|
12
|
+
|
|
13
|
+
var styles = (0, _react.css)({
|
|
14
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
15
|
+
margin: 0
|
|
16
|
+
});
|
|
15
17
|
var _default = exports.default = function _default(_ref) {
|
|
16
18
|
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
17
19
|
return (0, _react.jsx)(_SuccessContainer.default, null, (0, _react.jsx)("h1", {
|
|
18
|
-
css:
|
|
20
|
+
css: styles
|
|
19
21
|
}, "Thanks for signing up"), (0, _react.jsx)("p", null, "We may reach out to you in the future to participate in additional research."));
|
|
20
22
|
};
|
|
@@ -20,8 +20,8 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
20
20
|
var _FeedbackScoreButtons = _interopRequireDefault(require("./FeedbackScoreButtons"));
|
|
21
21
|
var _templateObject, _templateObject2;
|
|
22
22
|
/** @jsx jsx */
|
|
23
|
-
function _getRequireWildcardCache(
|
|
24
|
-
function _interopRequireWildcard(
|
|
23
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
24
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
25
25
|
var getExpandedHeight = function getExpandedHeight(ref, state) {
|
|
26
26
|
if (!ref.current) {
|
|
27
27
|
return '0';
|
package/dist/cjs/index.js
CHANGED
|
@@ -25,5 +25,5 @@ Object.defineProperty(exports, "SurveyMarshal", {
|
|
|
25
25
|
});
|
|
26
26
|
var _ContextualSurvey = _interopRequireWildcard(require("./components/ContextualSurvey"));
|
|
27
27
|
var _SurveyMarshal = _interopRequireDefault(require("./components/SurveyMarshal"));
|
|
28
|
-
function _getRequireWildcardCache(
|
|
29
|
-
function _interopRequireWildcard(
|
|
28
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
29
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
package/dist/cjs/types.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { css, jsx } from '@emotion/react';
|
|
3
|
-
import { fontSize } from '@atlaskit/theme/constants';
|
|
4
3
|
import SuccessContainer from './SuccessContainer';
|
|
4
|
+
const styles = css({
|
|
5
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
6
|
+
marginTop: 0
|
|
7
|
+
});
|
|
5
8
|
export default (() => jsx(SuccessContainer, null, jsx("h1", {
|
|
6
|
-
css:
|
|
7
|
-
font-size: ${fontSize()}px;
|
|
8
|
-
font-weight: 600;
|
|
9
|
-
margin-top: 0;
|
|
10
|
-
line-height: ${"var(--ds-font-lineHeight-300, 24px)"};
|
|
11
|
-
`
|
|
9
|
+
css: styles
|
|
12
10
|
}, "Thanks for your feedback")));
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
import { useCallback, useState } from 'react';
|
|
3
3
|
import { css, jsx } from '@emotion/react';
|
|
4
4
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
5
|
-
import { fontSize } from '@atlaskit/theme/constants';
|
|
6
5
|
import SuccessContainer from './SuccessContainer';
|
|
6
|
+
const styles = css({
|
|
7
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
8
|
+
margin: 0
|
|
9
|
+
});
|
|
7
10
|
export default (({
|
|
8
11
|
onAnswer
|
|
9
12
|
}) => {
|
|
@@ -14,24 +17,18 @@ export default (({
|
|
|
14
17
|
}, [setPending, onAnswer]);
|
|
15
18
|
const isDisabled = Boolean(pending);
|
|
16
19
|
return jsx(SuccessContainer, null, jsx("h1", {
|
|
17
|
-
css:
|
|
18
|
-
font-size: ${fontSize()}px;
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
margin: 0;
|
|
21
|
-
line-height: ${"var(--ds-font-lineHeight-300, 24px)"};
|
|
22
|
-
`
|
|
20
|
+
css: styles
|
|
23
21
|
}, "Thanks for your feedback"), jsx("p", null, "Are you interested in participating in our research?"), jsx("p", null, "Sign up for the", ' ', jsx("a", {
|
|
24
22
|
href: "https://www.atlassian.com/research-group"
|
|
25
23
|
}, "Atlassian Research Group"), ' ', "and we may contact you in the future with research opportunities."), jsx("div", {
|
|
26
|
-
css: css
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
`
|
|
24
|
+
css: css({
|
|
25
|
+
marginTop: "var(--ds-space-400, 32px)",
|
|
26
|
+
display: 'flex',
|
|
27
|
+
justifyContent: 'flex-end',
|
|
28
|
+
'& > * + *': {
|
|
29
|
+
marginLeft: "var(--ds-space-100, 8px)"
|
|
30
|
+
}
|
|
31
|
+
})
|
|
35
32
|
}, jsx(Button, {
|
|
36
33
|
appearance: "subtle",
|
|
37
34
|
onClick: () => answeredWith(false),
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { css, jsx } from '@emotion/react';
|
|
3
|
-
import { fontSize } from '@atlaskit/theme/constants';
|
|
4
3
|
import SuccessContainer from './SuccessContainer';
|
|
4
|
+
const styles = css({
|
|
5
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
6
|
+
margin: 0
|
|
7
|
+
});
|
|
5
8
|
export default (({}) => jsx(SuccessContainer, null, jsx("h1", {
|
|
6
|
-
css:
|
|
7
|
-
font-size: ${fontSize()}px;
|
|
8
|
-
font-weight: 600;
|
|
9
|
-
line-height: ${"var(--ds-font-lineHeight-300, 24px)"};
|
|
10
|
-
margin: 0;
|
|
11
|
-
`
|
|
9
|
+
css: styles
|
|
12
10
|
}, "Thanks for signing up"), jsx("p", null, "We may reach out to you in the future to participate in additional research.")));
|
package/dist/es2019/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject;
|
|
3
1
|
/** @jsx jsx */
|
|
4
2
|
import { css, jsx } from '@emotion/react';
|
|
5
|
-
import { fontSize } from '@atlaskit/theme/constants';
|
|
6
3
|
import SuccessContainer from './SuccessContainer';
|
|
4
|
+
var styles = css({
|
|
5
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
6
|
+
marginTop: 0
|
|
7
|
+
});
|
|
7
8
|
export default (function () {
|
|
8
9
|
return jsx(SuccessContainer, null, jsx("h1", {
|
|
9
|
-
css:
|
|
10
|
+
css: styles
|
|
10
11
|
}, "Thanks for your feedback"));
|
|
11
12
|
});
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
|
-
var _templateObject, _templateObject2;
|
|
5
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
6
4
|
/** @jsx jsx */
|
|
7
5
|
import { useCallback, useState } from 'react';
|
|
8
6
|
import { css, jsx } from '@emotion/react';
|
|
9
7
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
10
|
-
import { fontSize } from '@atlaskit/theme/constants';
|
|
11
8
|
import SuccessContainer from './SuccessContainer';
|
|
9
|
+
var styles = css({
|
|
10
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
|
+
margin: 0
|
|
12
|
+
});
|
|
12
13
|
export default (function (_ref) {
|
|
13
14
|
var onAnswer = _ref.onAnswer;
|
|
14
15
|
var _useState = useState(null),
|
|
@@ -35,11 +36,18 @@ export default (function (_ref) {
|
|
|
35
36
|
}(), [setPending, onAnswer]);
|
|
36
37
|
var isDisabled = Boolean(pending);
|
|
37
38
|
return jsx(SuccessContainer, null, jsx("h1", {
|
|
38
|
-
css:
|
|
39
|
+
css: styles
|
|
39
40
|
}, "Thanks for your feedback"), jsx("p", null, "Are you interested in participating in our research?"), jsx("p", null, "Sign up for the", ' ', jsx("a", {
|
|
40
41
|
href: "https://www.atlassian.com/research-group"
|
|
41
42
|
}, "Atlassian Research Group"), ' ', "and we may contact you in the future with research opportunities."), jsx("div", {
|
|
42
|
-
css: css(
|
|
43
|
+
css: css({
|
|
44
|
+
marginTop: "var(--ds-space-400, 32px)",
|
|
45
|
+
display: 'flex',
|
|
46
|
+
justifyContent: 'flex-end',
|
|
47
|
+
'& > * + *': {
|
|
48
|
+
marginLeft: "var(--ds-space-100, 8px)"
|
|
49
|
+
}
|
|
50
|
+
})
|
|
43
51
|
}, jsx(Button, {
|
|
44
52
|
appearance: "subtle",
|
|
45
53
|
onClick: function onClick() {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
1
|
import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
|
|
3
|
-
var _templateObject;
|
|
4
2
|
/** @jsx jsx */
|
|
5
3
|
import { css, jsx } from '@emotion/react';
|
|
6
|
-
import { fontSize } from '@atlaskit/theme/constants';
|
|
7
4
|
import SuccessContainer from './SuccessContainer';
|
|
5
|
+
var styles = css({
|
|
6
|
+
font: "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
7
|
+
margin: 0
|
|
8
|
+
});
|
|
8
9
|
export default (function (_ref) {
|
|
9
10
|
_objectDestructuringEmpty(_ref);
|
|
10
11
|
return jsx(SuccessContainer, null, jsx("h1", {
|
|
11
|
-
css:
|
|
12
|
+
css: styles
|
|
12
13
|
}, "Thanks for signing up"), jsx("p", null, "We may reach out to you in the future to participate in additional research."));
|
|
13
14
|
});
|
package/dist/esm/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/docs/0-intro.tsx
CHANGED
|
@@ -8,16 +8,17 @@ import {
|
|
|
8
8
|
md,
|
|
9
9
|
Props,
|
|
10
10
|
} from '@atlaskit/docs';
|
|
11
|
+
import { token } from '@atlaskit/tokens';
|
|
11
12
|
|
|
12
13
|
const BasicExample = require('../examples/00-usage').default;
|
|
13
14
|
|
|
14
15
|
export default md`
|
|
15
16
|
${(
|
|
16
17
|
<>
|
|
17
|
-
<div style={{ marginBottom: '0.5rem' }}>
|
|
18
|
+
<div style={{ marginBottom: token('space.100', '0.5rem') }}>
|
|
18
19
|
<AtlassianInternalWarning />
|
|
19
20
|
</div>
|
|
20
|
-
<div style={{ marginTop: '0.5rem' }}>
|
|
21
|
+
<div style={{ marginTop: token('space.100', '0.5rem') }}>
|
|
21
22
|
<DevPreviewWarning />
|
|
22
23
|
</div>
|
|
23
24
|
</>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/contextual-survey",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "A React component used to ask the user for feedback",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/button": "^17.
|
|
39
|
-
"@atlaskit/checkbox": "^13.
|
|
40
|
-
"@atlaskit/form": "^9.0
|
|
41
|
-
"@atlaskit/icon": "^22.
|
|
42
|
-
"@atlaskit/textarea": "^5.
|
|
38
|
+
"@atlaskit/button": "^17.7.0",
|
|
39
|
+
"@atlaskit/checkbox": "^13.1.0",
|
|
40
|
+
"@atlaskit/form": "^9.1.0",
|
|
41
|
+
"@atlaskit/icon": "^22.1.0",
|
|
42
|
+
"@atlaskit/textarea": "^5.2.0",
|
|
43
43
|
"@atlaskit/theme": "^12.6.0",
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
44
|
+
"@atlaskit/tokens": "^1.42.0",
|
|
45
45
|
"@atlaskit/tooltip": "^18.1.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
55
55
|
"@testing-library/react": "^12.1.5",
|
|
56
56
|
"@types/react-transition-group": "^2.0.6",
|
|
57
|
-
"typescript": "~4.
|
|
57
|
+
"typescript": "~5.4.2"
|
|
58
58
|
},
|
|
59
59
|
"keywords": [
|
|
60
60
|
"atlaskit",
|