@atlaskit/contextual-survey 2.2.18 → 2.2.20

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/afm-post-office/tsconfig.json +45 -0
  3. package/dist/cjs/components/FeedbackAcknowledgement.js +4 -1
  4. package/dist/cjs/components/FeedbackScoreButtons.js +4 -1
  5. package/dist/cjs/components/SignUpPrompt.js +4 -1
  6. package/dist/cjs/components/SignUpSuccess.js +4 -1
  7. package/dist/cjs/components/SuccessContainer.js +4 -1
  8. package/dist/cjs/components/SurveyContainer.js +4 -1
  9. package/dist/cjs/components/SurveyForm.js +4 -1
  10. package/dist/cjs/components/SurveyMarshal.js +4 -1
  11. package/dist/es2019/components/FeedbackAcknowledgement.js +4 -1
  12. package/dist/es2019/components/FeedbackScoreButtons.js +4 -1
  13. package/dist/es2019/components/SignUpPrompt.js +4 -1
  14. package/dist/es2019/components/SignUpSuccess.js +4 -1
  15. package/dist/es2019/components/SuccessContainer.js +4 -1
  16. package/dist/es2019/components/SurveyContainer.js +4 -1
  17. package/dist/es2019/components/SurveyForm.js +4 -1
  18. package/dist/es2019/components/SurveyMarshal.js +4 -1
  19. package/dist/esm/components/FeedbackAcknowledgement.js +4 -1
  20. package/dist/esm/components/FeedbackScoreButtons.js +4 -1
  21. package/dist/esm/components/SignUpPrompt.js +4 -1
  22. package/dist/esm/components/SignUpSuccess.js +4 -1
  23. package/dist/esm/components/SuccessContainer.js +4 -1
  24. package/dist/esm/components/SurveyContainer.js +4 -1
  25. package/dist/esm/components/SurveyForm.js +4 -1
  26. package/dist/esm/components/SurveyMarshal.js +4 -1
  27. package/dist/types/components/FeedbackAcknowledgement.d.ts +4 -1
  28. package/dist/types/components/FeedbackScoreButtons.d.ts +4 -1
  29. package/dist/types/components/SignUpSuccess.d.ts +4 -1
  30. package/dist/types/components/SuccessContainer.d.ts +4 -1
  31. package/dist/types/components/SurveyContainer.d.ts +4 -1
  32. package/dist/types/components/SurveyMarshal.d.ts +4 -1
  33. package/dist/types-ts4.5/components/FeedbackAcknowledgement.d.ts +4 -1
  34. package/dist/types-ts4.5/components/FeedbackScoreButtons.d.ts +4 -1
  35. package/dist/types-ts4.5/components/SignUpSuccess.d.ts +4 -1
  36. package/dist/types-ts4.5/components/SuccessContainer.d.ts +4 -1
  37. package/dist/types-ts4.5/components/SurveyContainer.d.ts +4 -1
  38. package/dist/types-ts4.5/components/SurveyMarshal.d.ts +4 -1
  39. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/contextual-survey
2
2
 
3
+ ## 2.2.20
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.2.19
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 2.2.18
4
16
 
5
17
  ### Patch Changes
@@ -0,0 +1,45 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.post-office.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__contextual-survey/app",
7
+ "composite": true,
8
+ "rootDir": "../"
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../design-system/button/afm-post-office/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/checkbox/afm-post-office/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/form/afm-post-office/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/textarea/afm-post-office/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/theme/afm-post-office/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
43
+ }
44
+ ]
45
+ }
@@ -8,7 +8,10 @@ exports.default = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _typography = require("@atlaskit/theme/typography");
10
10
  var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
11
- /** @jsx jsx */
11
+ /**
12
+ * @jsxRuntime classic
13
+ * @jsx jsx
14
+ */
12
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
16
 
14
17
  var styles = (0, _react.css)({
@@ -9,7 +9,10 @@ var _react = require("@emotion/react");
9
9
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
10
10
  var _colors = require("@atlaskit/theme/colors");
11
11
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
12
- /** @jsx jsx */
12
+ /**
13
+ * @jsxRuntime classic
14
+ * @jsx jsx
15
+ */
13
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
17
 
15
18
  var styles = (0, _react.css)({
@@ -13,7 +13,10 @@ var _react2 = require("@emotion/react");
13
13
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
14
14
  var _typography = require("@atlaskit/theme/typography");
15
15
  var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
16
- /** @jsx jsx */
16
+ /**
17
+ * @jsxRuntime classic
18
+ * @jsx jsx
19
+ */
17
20
 
18
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
22
 
@@ -9,7 +9,10 @@ var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/
9
9
  var _react = require("@emotion/react");
10
10
  var _typography = require("@atlaskit/theme/typography");
11
11
  var _SuccessContainer = _interopRequireDefault(require("./SuccessContainer"));
12
- /** @jsx jsx */
12
+ /**
13
+ * @jsxRuntime classic
14
+ * @jsx jsx
15
+ */
13
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
17
 
15
18
  var styles = (0, _react.css)({
@@ -8,7 +8,10 @@ exports.default = void 0;
8
8
  var _react = require("@emotion/react");
9
9
  var _checkCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/check-circle"));
10
10
  var _colors = require("@atlaskit/theme/colors");
11
- /** @jsx jsx */
11
+ /**
12
+ * @jsxRuntime classic
13
+ * @jsx jsx
14
+ */
12
15
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
16
  var _default = exports.default = function _default(_ref) {
14
17
  var children = _ref.children;
@@ -11,7 +11,10 @@ var _cross = _interopRequireDefault(require("@atlaskit/icon/glyph/cross"));
11
11
  var _colors = require("@atlaskit/theme/colors");
12
12
  var _constants = require("@atlaskit/theme/constants");
13
13
  var _constants2 = require("../constants");
14
- /** @jsx jsx */
14
+ /**
15
+ * @jsxRuntime classic
16
+ * @jsx jsx
17
+ */
15
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
19
  var _default = exports.default = function _default(_ref) {
17
20
  var children = _ref.children,
@@ -19,7 +19,10 @@ var _constants = require("@atlaskit/theme/constants");
19
19
  var _FeedbackScoreButtons = _interopRequireDefault(require("./FeedbackScoreButtons"));
20
20
  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); }
21
21
  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; }
22
- /** @jsx jsx */
22
+ /**
23
+ * @jsxRuntime classic
24
+ * @jsx jsx
25
+ */
23
26
 
24
27
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
28
 
@@ -8,7 +8,10 @@ var _react = require("@emotion/react");
8
8
  var _reactTransitionGroup = require("react-transition-group");
9
9
  var _constants = require("@atlaskit/theme/constants");
10
10
  var _constants2 = require("../constants");
11
- /** @jsx jsx */
11
+ /**
12
+ * @jsxRuntime classic
13
+ * @jsx jsx
14
+ */
12
15
 
13
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
17
 
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import { fontFallback } from '@atlaskit/theme/typography';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { useCallback, useState } from 'react';
3
6
 
4
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import { fontFallback } from '@atlaskit/theme/typography';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import CheckCircleIcon from '@atlaskit/icon/glyph/check-circle';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,5 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import { useCallback, useRef, useState } from 'react';
4
7
 
5
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
 
3
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
7
  import { css, jsx } from '@emotion/react';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import { fontFallback } from '@atlaskit/theme/typography';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,7 +1,10 @@
1
1
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _regeneratorRuntime from "@babel/runtime/regenerator";
4
- /** @jsx jsx */
4
+ /**
5
+ * @jsxRuntime classic
6
+ * @jsx jsx
7
+ */
5
8
  import { useCallback, useState } from 'react';
6
9
 
7
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,5 +1,8 @@
1
1
  import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
7
  import { css, jsx } from '@emotion/react';
5
8
  import { fontFallback } from '@atlaskit/theme/typography';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import CheckCircleIcon from '@atlaskit/icon/glyph/check-circle';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
6
  import { css, jsx } from '@emotion/react';
4
7
  import Button from '@atlaskit/button/custom-theme-button';
@@ -1,6 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
- /** @jsx jsx */
3
+ /**
4
+ * @jsxRuntime classic
5
+ * @jsx jsx
6
+ */
4
7
  import { useCallback, useRef, useState } from 'react';
5
8
 
6
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
 
3
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
7
  import { css, jsx } from '@emotion/react';
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  declare const _default: () => jsx.JSX.Element;
4
7
  export default _default;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  interface Props {
4
7
  onChange: (value: number) => void;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  interface Props {
4
7
  }
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import { jsx } from '@emotion/react';
4
7
  interface Props {
5
8
  children: React.ReactNode;
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import { jsx } from '@emotion/react';
4
7
  interface Props {
5
8
  children: React.ReactNode;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { type ReactNode } from 'react';
3
6
  import { jsx } from '@emotion/react';
4
7
  type Props = {
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  declare const _default: () => jsx.JSX.Element;
4
7
  export default _default;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  interface Props {
4
7
  onChange: (value: number) => void;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { jsx } from '@emotion/react';
3
6
  interface Props {
4
7
  }
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import { jsx } from '@emotion/react';
4
7
  interface Props {
5
8
  children: React.ReactNode;
@@ -1,5 +1,8 @@
1
1
  /// <reference types="react" />
2
- /** @jsx jsx */
2
+ /**
3
+ * @jsxRuntime classic
4
+ * @jsx jsx
5
+ */
3
6
  import { jsx } from '@emotion/react';
4
7
  interface Props {
5
8
  children: React.ReactNode;
@@ -1,4 +1,7 @@
1
- /** @jsx jsx */
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
2
5
  import { type ReactNode } from 'react';
3
6
  import { jsx } from '@emotion/react';
4
7
  type Props = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/contextual-survey",
3
- "version": "2.2.18",
3
+ "version": "2.2.20",
4
4
  "description": "A React component used to ask the user for feedback",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,14 +35,14 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@atlaskit/button": "^18.0.0",
39
- "@atlaskit/checkbox": "^13.5.0",
40
- "@atlaskit/form": "^10.4.0",
41
- "@atlaskit/icon": "^22.4.0",
42
- "@atlaskit/textarea": "^5.5.0",
43
- "@atlaskit/theme": "^12.11.0",
44
- "@atlaskit/tokens": "^1.53.0",
45
- "@atlaskit/tooltip": "^18.5.0",
38
+ "@atlaskit/button": "^19.2.0",
39
+ "@atlaskit/checkbox": "^13.7.0",
40
+ "@atlaskit/form": "^10.5.0",
41
+ "@atlaskit/icon": "^22.12.0",
42
+ "@atlaskit/textarea": "^5.6.0",
43
+ "@atlaskit/theme": "^13.0.0",
44
+ "@atlaskit/tokens": "^1.58.0",
45
+ "@atlaskit/tooltip": "^18.7.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",
48
48
  "react-transition-group": "^4.4.1"