@atlaskit/contextual-survey 2.2.3 → 2.2.5
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 +30 -18
- package/dist/cjs/components/ContextualSurvey.js +4 -7
- package/dist/cjs/components/FeedbackAcknowledgement.js +2 -3
- package/dist/cjs/components/FeedbackScoreButtons.js +2 -3
- package/dist/cjs/components/SignUpPrompt.js +2 -3
- package/dist/cjs/components/SignUpSuccess.js +2 -3
- package/dist/cjs/components/SuccessContainer.js +2 -3
- package/dist/cjs/components/SurveyContainer.js +2 -3
- package/dist/cjs/components/SurveyForm.js +2 -3
- package/dist/cjs/components/useEscapeToDismiss.js +1 -2
- package/dist/cjs/constants.js +2 -4
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,41 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 2.2.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.2.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 2.2.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
20
|
- Updated dependencies
|
|
9
21
|
|
|
10
22
|
## 2.2.2
|
|
11
23
|
|
|
12
24
|
### Patch Changes
|
|
13
25
|
|
|
14
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
26
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
15
27
|
|
|
16
28
|
## 2.2.1
|
|
17
29
|
|
|
18
30
|
### Patch Changes
|
|
19
31
|
|
|
20
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
32
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
21
33
|
|
|
22
34
|
## 2.2.0
|
|
23
35
|
|
|
24
36
|
### Minor Changes
|
|
25
37
|
|
|
26
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
38
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
27
39
|
|
|
28
40
|
### Patch Changes
|
|
29
41
|
|
|
@@ -33,13 +45,13 @@
|
|
|
33
45
|
|
|
34
46
|
### Patch Changes
|
|
35
47
|
|
|
36
|
-
- [`f655e8ed2d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f655e8ed2d2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
48
|
+
- [#33208](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33208) [`f655e8ed2d2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f655e8ed2d2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
37
49
|
|
|
38
50
|
## 2.1.11
|
|
39
51
|
|
|
40
52
|
### Patch Changes
|
|
41
53
|
|
|
42
|
-
- [`edf6745b956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/edf6745b956) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
54
|
+
- [#32162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32162) [`edf6745b956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/edf6745b956) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
43
55
|
|
|
44
56
|
## 2.1.10
|
|
45
57
|
|
|
@@ -51,7 +63,7 @@
|
|
|
51
63
|
|
|
52
64
|
### Patch Changes
|
|
53
65
|
|
|
54
|
-
- [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
|
|
66
|
+
- [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
|
|
55
67
|
|
|
56
68
|
## 2.1.8
|
|
57
69
|
|
|
@@ -75,13 +87,13 @@
|
|
|
75
87
|
|
|
76
88
|
### Patch Changes
|
|
77
89
|
|
|
78
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
90
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
79
91
|
|
|
80
92
|
## 2.1.4
|
|
81
93
|
|
|
82
94
|
### Patch Changes
|
|
83
95
|
|
|
84
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
96
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
85
97
|
|
|
86
98
|
## 2.1.3
|
|
87
99
|
|
|
@@ -93,7 +105,7 @@
|
|
|
93
105
|
|
|
94
106
|
### Patch Changes
|
|
95
107
|
|
|
96
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
108
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
97
109
|
- Updated dependencies
|
|
98
110
|
|
|
99
111
|
## 2.1.1
|
|
@@ -106,7 +118,7 @@
|
|
|
106
118
|
|
|
107
119
|
### Minor Changes
|
|
108
120
|
|
|
109
|
-
- [`d943a822f6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d943a822f6a) - [ux] Instrumented `@atlaskit/contextual-survey` with the new theming package, `@atlaskit/tokens`.
|
|
121
|
+
- [#19924](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19924) [`d943a822f6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d943a822f6a) - [ux] Instrumented `@atlaskit/contextual-survey` with the new theming package, `@atlaskit/tokens`.
|
|
110
122
|
|
|
111
123
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
112
124
|
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
|
|
@@ -127,7 +139,7 @@
|
|
|
127
139
|
|
|
128
140
|
### Patch Changes
|
|
129
141
|
|
|
130
|
-
- [`cad4332df17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cad4332df17) - [ux] Fixed flickering in context survey by removing theme overrides
|
|
142
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`cad4332df17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cad4332df17) - [ux] Fixed flickering in context survey by removing theme overrides
|
|
131
143
|
- Updated dependencies
|
|
132
144
|
|
|
133
145
|
## 2.0.8
|
|
@@ -140,7 +152,7 @@
|
|
|
140
152
|
|
|
141
153
|
### Patch Changes
|
|
142
154
|
|
|
143
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
155
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
144
156
|
|
|
145
157
|
## 2.0.6
|
|
146
158
|
|
|
@@ -152,7 +164,7 @@
|
|
|
152
164
|
|
|
153
165
|
### Patch Changes
|
|
154
166
|
|
|
155
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
167
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
156
168
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
157
169
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
158
170
|
|
|
@@ -178,7 +190,7 @@
|
|
|
178
190
|
|
|
179
191
|
### Patch Changes
|
|
180
192
|
|
|
181
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
193
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
182
194
|
|
|
183
195
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
184
196
|
to prevent duplicates of tslib being bundled.
|
|
@@ -187,7 +199,7 @@
|
|
|
187
199
|
|
|
188
200
|
### Major Changes
|
|
189
201
|
|
|
190
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
202
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
191
203
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
192
204
|
|
|
193
205
|
### Patch Changes
|
|
@@ -198,13 +210,13 @@
|
|
|
198
210
|
|
|
199
211
|
### Patch Changes
|
|
200
212
|
|
|
201
|
-
- [`3ba793cffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ba793cffa) - Update all the theme imports in contextual-survey
|
|
213
|
+
- [#2884](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2884) [`3ba793cffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ba793cffa) - Update all the theme imports in contextual-survey
|
|
202
214
|
|
|
203
215
|
## 1.0.9
|
|
204
216
|
|
|
205
217
|
### Patch Changes
|
|
206
218
|
|
|
207
|
-
- [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
219
|
+
- [#2677](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2677) [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
208
220
|
|
|
209
221
|
## 1.0.8
|
|
210
222
|
|
|
@@ -18,17 +18,15 @@ var _SurveyForm = _interopRequireDefault(require("./SurveyForm"));
|
|
|
18
18
|
var _useEscapeToDismiss = _interopRequireDefault(require("./useEscapeToDismiss"));
|
|
19
19
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
20
20
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
21
|
-
var DismissTrigger = /*#__PURE__*/function (DismissTrigger) {
|
|
21
|
+
var DismissTrigger = exports.DismissTrigger = /*#__PURE__*/function (DismissTrigger) {
|
|
22
22
|
DismissTrigger["AutoDismiss"] = "AUTO_DISMISS";
|
|
23
23
|
DismissTrigger["Manual"] = "MANUAL";
|
|
24
24
|
DismissTrigger["Finished"] = "FINISHED";
|
|
25
25
|
DismissTrigger["Unmount"] = "UNMOUNT";
|
|
26
26
|
return DismissTrigger;
|
|
27
27
|
}({});
|
|
28
|
-
exports.
|
|
29
|
-
var
|
|
30
|
-
exports.AUTO_DISAPPEAR_DURATION = AUTO_DISAPPEAR_DURATION;
|
|
31
|
-
var _default = function _default(_ref) {
|
|
28
|
+
var AUTO_DISAPPEAR_DURATION = exports.AUTO_DISAPPEAR_DURATION = 8000;
|
|
29
|
+
var _default = exports.default = function _default(_ref) {
|
|
32
30
|
var question = _ref.question,
|
|
33
31
|
statement = _ref.statement,
|
|
34
32
|
onDismiss = _ref.onDismiss,
|
|
@@ -225,5 +223,4 @@ var _default = function _default(_ref) {
|
|
|
225
223
|
return /*#__PURE__*/_react.default.createElement(_SurveyContainer.default, {
|
|
226
224
|
onDismiss: manualDismiss
|
|
227
225
|
}, content);
|
|
228
|
-
};
|
|
229
|
-
exports.default = _default;
|
|
226
|
+
};
|
|
@@ -11,9 +11,8 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
11
11
|
var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
|
|
12
12
|
var _templateObject;
|
|
13
13
|
/** @jsx jsx */
|
|
14
|
-
var _default = function _default() {
|
|
14
|
+
var _default = exports.default = function _default() {
|
|
15
15
|
return (0, _core.jsx)(_SuccessContainer.default, null, (0, _core.jsx)("h1", {
|
|
16
16
|
css: (0, _core.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", "px;\n font-weight: 600;\n margin-top: 0;\n line-height: ", ";\n "])), (0, _constants.fontSize)(), "var(--ds-font-lineHeight-300, 24px)")
|
|
17
17
|
}, "Thanks for your feedback"));
|
|
18
|
-
};
|
|
19
|
-
exports.default = _default;
|
|
18
|
+
};
|
|
@@ -13,7 +13,7 @@ var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
|
13
13
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
14
14
|
/** @jsx jsx */
|
|
15
15
|
var tooltipMessage = ['Strongly disagree', 'Disagree', 'Slightly disagree', 'Neutral', 'Slightly agree', 'Agree', 'Strongly agree'];
|
|
16
|
-
var _default = function _default(_ref) {
|
|
16
|
+
var _default = exports.default = function _default(_ref) {
|
|
17
17
|
var onChange = _ref.onChange,
|
|
18
18
|
value = _ref.value;
|
|
19
19
|
return (0, _core.jsx)("div", null, (0, _core.jsx)("div", {
|
|
@@ -45,5 +45,4 @@ var _default = function _default(_ref) {
|
|
|
45
45
|
}, "Neutral"), (0, _core.jsx)("span", {
|
|
46
46
|
css: (0, _core.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n text-align: right;\n "])))
|
|
47
47
|
}, "Strongly agree")));
|
|
48
|
-
};
|
|
49
|
-
exports.default = _default;
|
|
48
|
+
};
|
|
@@ -16,7 +16,7 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
16
16
|
var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
|
|
17
17
|
var _templateObject, _templateObject2;
|
|
18
18
|
/** @jsx jsx */
|
|
19
|
-
var _default = function _default(_ref) {
|
|
19
|
+
var _default = exports.default = function _default(_ref) {
|
|
20
20
|
var onAnswer = _ref.onAnswer;
|
|
21
21
|
var _useState = (0, _react.useState)(null),
|
|
22
22
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
@@ -62,5 +62,4 @@ var _default = function _default(_ref) {
|
|
|
62
62
|
isDisabled: isDisabled,
|
|
63
63
|
isLoading: pending === 'yes'
|
|
64
64
|
}, "Yes, sign me up")));
|
|
65
|
-
};
|
|
66
|
-
exports.default = _default;
|
|
65
|
+
};
|
|
@@ -12,10 +12,9 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
12
12
|
var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
|
|
13
13
|
var _templateObject;
|
|
14
14
|
/** @jsx jsx */
|
|
15
|
-
var _default = function _default(_ref) {
|
|
15
|
+
var _default = exports.default = function _default(_ref) {
|
|
16
16
|
(0, _objectDestructuringEmpty2.default)(_ref);
|
|
17
17
|
return (0, _core.jsx)(_SuccessContainer.default, null, (0, _core.jsx)("h1", {
|
|
18
18
|
css: (0, _core.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n font-size: ", "px;\n font-weight: 600;\n line-height: ", ";\n margin: 0;\n "])), (0, _constants.fontSize)(), "var(--ds-font-lineHeight-300, 24px)")
|
|
19
19
|
}, "Thanks for signing up"), (0, _core.jsx)("p", null, "We may reach out to you in the future to participate in additional research."));
|
|
20
|
-
};
|
|
21
|
-
exports.default = _default;
|
|
20
|
+
};
|
|
@@ -11,7 +11,7 @@ var _checkCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/check-ci
|
|
|
11
11
|
var _colors = require("@atlaskit/theme/colors");
|
|
12
12
|
var _templateObject, _templateObject2;
|
|
13
13
|
/** @jsx jsx */
|
|
14
|
-
var _default = function _default(_ref) {
|
|
14
|
+
var _default = exports.default = function _default(_ref) {
|
|
15
15
|
var children = _ref.children;
|
|
16
16
|
return (0, _core.jsx)("section", {
|
|
17
17
|
css: (0, _core.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n margin-left: ", ";\n "])), "var(--ds-space-500, 40px)")
|
|
@@ -22,5 +22,4 @@ var _default = function _default(_ref) {
|
|
|
22
22
|
"aria-hidden": true,
|
|
23
23
|
primaryColor: "var(--ds-icon-success, ".concat(_colors.G300, ")")
|
|
24
24
|
})), children);
|
|
25
|
-
};
|
|
26
|
-
exports.default = _default;
|
|
25
|
+
};
|
|
@@ -14,7 +14,7 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
14
14
|
var _constants2 = require("../constants");
|
|
15
15
|
var _templateObject, _templateObject2;
|
|
16
16
|
/** @jsx jsx */
|
|
17
|
-
var _default = function _default(_ref) {
|
|
17
|
+
var _default = exports.default = function _default(_ref) {
|
|
18
18
|
var children = _ref.children,
|
|
19
19
|
onDismiss = _ref.onDismiss;
|
|
20
20
|
return (0, _core.jsx)("div", {
|
|
@@ -30,5 +30,4 @@ var _default = function _default(_ref) {
|
|
|
30
30
|
appearance: "subtle",
|
|
31
31
|
onClick: onDismiss
|
|
32
32
|
})), children);
|
|
33
|
-
};
|
|
34
|
-
exports.default = _default;
|
|
33
|
+
};
|
|
@@ -37,7 +37,7 @@ var getExpandedHeight = function getExpandedHeight(ref, state) {
|
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
var transitionDuration = 200;
|
|
40
|
-
var _default = function _default(_ref) {
|
|
40
|
+
var _default = exports.default = function _default(_ref) {
|
|
41
41
|
var question = _ref.question,
|
|
42
42
|
statement = _ref.statement,
|
|
43
43
|
textPlaceholder = _ref.textPlaceholder,
|
|
@@ -129,5 +129,4 @@ var _default = function _default(_ref) {
|
|
|
129
129
|
}, "Submit")));
|
|
130
130
|
}));
|
|
131
131
|
}));
|
|
132
|
-
};
|
|
133
|
-
exports.default = _default;
|
|
132
|
+
};
|
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = useEscapeToDismiss;
|
|
7
7
|
exports.escape = void 0;
|
|
8
8
|
var _react = require("react");
|
|
9
|
-
var escape = 27;
|
|
10
|
-
exports.escape = escape;
|
|
9
|
+
var escape = exports.escape = 27;
|
|
11
10
|
function bind(target, eventName, handler, options) {
|
|
12
11
|
target.addEventListener(eventName, handler, options);
|
|
13
12
|
return function unbind() {
|
package/dist/cjs/constants.js
CHANGED
|
@@ -5,7 +5,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.surveyOffset = exports.surveyInnerWidth = void 0;
|
|
7
7
|
var _constants = require("@atlaskit/theme/constants");
|
|
8
|
-
var surveyInnerWidth = (0, _constants.gridSize)() * 55; // 440
|
|
9
|
-
exports.
|
|
10
|
-
var surveyOffset = (0, _constants.gridSize)() * 6; // 48
|
|
11
|
-
exports.surveyOffset = surveyOffset;
|
|
8
|
+
var surveyInnerWidth = exports.surveyInnerWidth = (0, _constants.gridSize)() * 55; // 440
|
|
9
|
+
var surveyOffset = exports.surveyOffset = (0, _constants.gridSize)() * 6; // 48
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/contextual-survey",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.5",
|
|
4
4
|
"description": "A React component used to ask the user for feedback",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/button": "^16.
|
|
35
|
-
"@atlaskit/checkbox": "^
|
|
36
|
-
"@atlaskit/form": "^
|
|
34
|
+
"@atlaskit/button": "^16.13.0",
|
|
35
|
+
"@atlaskit/checkbox": "^13.0.0",
|
|
36
|
+
"@atlaskit/form": "^9.0.0",
|
|
37
37
|
"@atlaskit/icon": "^21.12.0",
|
|
38
38
|
"@atlaskit/textarea": "^4.7.0",
|
|
39
|
-
"@atlaskit/theme": "^12.
|
|
40
|
-
"@atlaskit/tokens": "^1.
|
|
39
|
+
"@atlaskit/theme": "^12.6.0",
|
|
40
|
+
"@atlaskit/tokens": "^1.28.0",
|
|
41
41
|
"@atlaskit/tooltip": "^17.8.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/core": "^10.0.9",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"react": "^16.8.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@atlaskit/checkbox": "^12.6.0",
|
|
51
50
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
52
51
|
"@testing-library/react": "^12.1.5",
|
|
52
|
+
"@types/react-transition-group": "^2.0.6",
|
|
53
53
|
"typescript": "~4.9.5"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|