@atlaskit/contextual-survey 5.0.0 → 5.0.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
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/contextual-survey
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#170573](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/170573)
14
+ [`1efba5d4d5b72`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1efba5d4d5b72) -
15
+ [ux] This change overrides the Heading xsmall default DOM element from an `h5` to an `h2` to
16
+ address an accessibility issue. Visually there is no change.
17
+
3
18
  ## 5.0.0
4
19
 
5
20
  ### Major Changes
@@ -0,0 +1,57 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../townsquare/tsDist/@atlaskit__contextual-survey/app",
7
+ "rootDir": "../",
8
+ "composite": true
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-townsquare/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/checkbox/afm-townsquare/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../../design-system/form/afm-townsquare/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../design-system/heading/afm-townsquare/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/link/afm-townsquare/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/textarea/afm-townsquare/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
55
+ }
56
+ ]
57
+ }
@@ -74,7 +74,8 @@ var _default = exports.default = function _default(_ref) {
74
74
  space: "space.150"
75
75
  }, /*#__PURE__*/React.createElement(_heading.default, {
76
76
  id: "contextualSurveyQuestion",
77
- size: "xsmall"
77
+ size: "xsmall",
78
+ as: "h2"
78
79
  }, question), statement && /*#__PURE__*/React.createElement(_compiled.Text, {
79
80
  as: "p",
80
81
  id: "contextualSurveyStatement"
@@ -17,7 +17,7 @@ var surveyOffset = "var(--ds-space-600, 48px)";
17
17
  var animationDuration = 300;
18
18
  var offscreen = {
19
19
  // Hard-coded because there is no large enough space token and this component is not responsive.
20
- translateX: "488px",
20
+ translateX: '488px',
21
21
  //survey container width + survey offset
22
22
  opacity: '0'
23
23
  };
@@ -59,7 +59,8 @@ export default (({
59
59
  space: "space.150"
60
60
  }, /*#__PURE__*/React.createElement(Heading, {
61
61
  id: "contextualSurveyQuestion",
62
- size: "xsmall"
62
+ size: "xsmall",
63
+ as: "h2"
63
64
  }, question), statement && /*#__PURE__*/React.createElement(Text, {
64
65
  as: "p",
65
66
  id: "contextualSurveyStatement"
@@ -9,7 +9,7 @@ const surveyOffset = "var(--ds-space-600, 48px)";
9
9
  const animationDuration = 300;
10
10
  const offscreen = {
11
11
  // Hard-coded because there is no large enough space token and this component is not responsive.
12
- translateX: "488px",
12
+ translateX: '488px',
13
13
  //survey container width + survey offset
14
14
  opacity: '0'
15
15
  };
@@ -65,7 +65,8 @@ export default (function (_ref) {
65
65
  space: "space.150"
66
66
  }, /*#__PURE__*/React.createElement(Heading, {
67
67
  id: "contextualSurveyQuestion",
68
- size: "xsmall"
68
+ size: "xsmall",
69
+ as: "h2"
69
70
  }, question), statement && /*#__PURE__*/React.createElement(Text, {
70
71
  as: "p",
71
72
  id: "contextualSurveyStatement"
@@ -9,7 +9,7 @@ var surveyOffset = "var(--ds-space-600, 48px)";
9
9
  var animationDuration = 300;
10
10
  var offscreen = {
11
11
  // Hard-coded because there is no large enough space token and this component is not responsive.
12
- translateX: "488px",
12
+ translateX: '488px',
13
13
  //survey container width + survey offset
14
14
  opacity: '0'
15
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/contextual-survey",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "A React component used to ask the user for feedback",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,13 +40,13 @@
40
40
  "@atlaskit/checkbox": "^17.1.0",
41
41
  "@atlaskit/form": "^12.0.0",
42
42
  "@atlaskit/heading": "^5.2.0",
43
- "@atlaskit/icon": "^26.4.0",
43
+ "@atlaskit/icon": "^27.0.0",
44
44
  "@atlaskit/link": "^3.2.0",
45
45
  "@atlaskit/platform-feature-flags": "^1.1.0",
46
46
  "@atlaskit/primitives": "^14.8.0",
47
47
  "@atlaskit/textarea": "^8.0.0",
48
48
  "@atlaskit/theme": "^18.0.0",
49
- "@atlaskit/tokens": "^5.1.0",
49
+ "@atlaskit/tokens": "^5.2.0",
50
50
  "@atlaskit/tooltip": "^20.3.0",
51
51
  "@babel/runtime": "^7.0.0",
52
52
  "@compiled/react": "^0.18.3",