@atlaskit/contextual-survey 2.2.3 → 2.2.4
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 +24 -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 +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 2.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 2.2.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
13
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
14
|
- Updated dependencies
|
|
9
15
|
|
|
10
16
|
## 2.2.2
|
|
11
17
|
|
|
12
18
|
### Patch Changes
|
|
13
19
|
|
|
14
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
20
|
+
- [#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
21
|
|
|
16
22
|
## 2.2.1
|
|
17
23
|
|
|
18
24
|
### Patch Changes
|
|
19
25
|
|
|
20
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
26
|
+
- [#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
27
|
|
|
22
28
|
## 2.2.0
|
|
23
29
|
|
|
24
30
|
### Minor Changes
|
|
25
31
|
|
|
26
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
32
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
27
33
|
|
|
28
34
|
### Patch Changes
|
|
29
35
|
|
|
@@ -33,13 +39,13 @@
|
|
|
33
39
|
|
|
34
40
|
### Patch Changes
|
|
35
41
|
|
|
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.
|
|
42
|
+
- [#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
43
|
|
|
38
44
|
## 2.1.11
|
|
39
45
|
|
|
40
46
|
### Patch Changes
|
|
41
47
|
|
|
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.
|
|
48
|
+
- [#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
49
|
|
|
44
50
|
## 2.1.10
|
|
45
51
|
|
|
@@ -51,7 +57,7 @@
|
|
|
51
57
|
|
|
52
58
|
### Patch Changes
|
|
53
59
|
|
|
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.
|
|
60
|
+
- [#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
61
|
|
|
56
62
|
## 2.1.8
|
|
57
63
|
|
|
@@ -75,13 +81,13 @@
|
|
|
75
81
|
|
|
76
82
|
### Patch Changes
|
|
77
83
|
|
|
78
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
84
|
+
- [#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
85
|
|
|
80
86
|
## 2.1.4
|
|
81
87
|
|
|
82
88
|
### Patch Changes
|
|
83
89
|
|
|
84
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
90
|
+
- [#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
91
|
|
|
86
92
|
## 2.1.3
|
|
87
93
|
|
|
@@ -93,7 +99,7 @@
|
|
|
93
99
|
|
|
94
100
|
### Patch Changes
|
|
95
101
|
|
|
96
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
102
|
+
- [#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
103
|
- Updated dependencies
|
|
98
104
|
|
|
99
105
|
## 2.1.1
|
|
@@ -106,7 +112,7 @@
|
|
|
106
112
|
|
|
107
113
|
### Minor Changes
|
|
108
114
|
|
|
109
|
-
- [`d943a822f6a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d943a822f6a) - [ux] Instrumented `@atlaskit/contextual-survey` with the new theming package, `@atlaskit/tokens`.
|
|
115
|
+
- [#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
116
|
|
|
111
117
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
112
118
|
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 +133,7 @@
|
|
|
127
133
|
|
|
128
134
|
### Patch Changes
|
|
129
135
|
|
|
130
|
-
- [`cad4332df17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cad4332df17) - [ux] Fixed flickering in context survey by removing theme overrides
|
|
136
|
+
- [#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
137
|
- Updated dependencies
|
|
132
138
|
|
|
133
139
|
## 2.0.8
|
|
@@ -140,7 +146,7 @@
|
|
|
140
146
|
|
|
141
147
|
### Patch Changes
|
|
142
148
|
|
|
143
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
149
|
+
- [#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
150
|
|
|
145
151
|
## 2.0.6
|
|
146
152
|
|
|
@@ -152,7 +158,7 @@
|
|
|
152
158
|
|
|
153
159
|
### Patch Changes
|
|
154
160
|
|
|
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.
|
|
161
|
+
- [#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
162
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
157
163
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
158
164
|
|
|
@@ -178,7 +184,7 @@
|
|
|
178
184
|
|
|
179
185
|
### Patch Changes
|
|
180
186
|
|
|
181
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
187
|
+
- [#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
188
|
|
|
183
189
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
184
190
|
to prevent duplicates of tslib being bundled.
|
|
@@ -187,7 +193,7 @@
|
|
|
187
193
|
|
|
188
194
|
### Major Changes
|
|
189
195
|
|
|
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.
|
|
196
|
+
- [#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
197
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
192
198
|
|
|
193
199
|
### Patch Changes
|
|
@@ -198,13 +204,13 @@
|
|
|
198
204
|
|
|
199
205
|
### Patch Changes
|
|
200
206
|
|
|
201
|
-
- [`3ba793cffa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ba793cffa) - Update all the theme imports in contextual-survey
|
|
207
|
+
- [#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
208
|
|
|
203
209
|
## 1.0.9
|
|
204
210
|
|
|
205
211
|
### Patch Changes
|
|
206
212
|
|
|
207
|
-
- [`4560b65a4f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4560b65a4f) - upgrade react-transition-group to latest
|
|
213
|
+
- [#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
214
|
|
|
209
215
|
## 1.0.8
|
|
210
216
|
|
|
@@ -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.4",
|
|
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": "^
|
|
34
|
+
"@atlaskit/button": "^16.13.0",
|
|
35
|
+
"@atlaskit/checkbox": "^13.0.0",
|
|
36
36
|
"@atlaskit/form": "^8.11.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": [
|