@atlaskit/quiz-widget 3.0.0 → 3.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,23 @@
1
1
  # @atlaskit/quiz-widget
2
2
 
3
+ ## 3.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
14
+ [`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
15
+ Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
16
+ future to avoid an accidental regression.
17
+
18
+ This is related to
19
+ https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
20
+
3
21
  ## 3.0.0
4
22
 
5
23
  ### Major Changes
@@ -12,7 +12,7 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
12
12
  var Quiz = exports.Quiz = _styled.default.div({
13
13
  display: 'flex',
14
14
  flexDirection: 'column',
15
- font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
15
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
16
16
  width: '100%',
17
17
  padding: "var(--ds-space-250, 20px)".concat(" 30px ", "var(--ds-space-250, 20px)", " 0"),
18
18
  border: '1px solid grey',
@@ -24,7 +24,7 @@ var Quiz = exports.Quiz = _styled.default.div({
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
25
25
  var QuizName = exports.QuizName = _styled.default.div({
26
26
  margin: '3px 0',
27
- font: "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
27
+ font: "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
28
28
  paddingLeft: "var(--ds-space-250, 20px)"
29
29
  });
30
30
 
@@ -59,7 +59,7 @@ var Question = exports.Question = _styled.default.div({
59
59
  paddingLeft: "var(--ds-space-075, 6px)",
60
60
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space -- needs manual remediation
61
61
  marginBottom: '10px',
62
- font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
62
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
63
63
  color: '#707070',
64
64
  textAlign: 'left'
65
65
  });
@@ -78,7 +78,7 @@ var NavQuiz = exports.NavQuiz = _styled.default.div({
78
78
 
79
79
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
80
80
  var NavAction = exports.NavAction = _styled.default.span({
81
- font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
81
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
82
82
  fontWeight: "var(--ds-font-weight-medium, 500)",
83
83
  display: 'flex',
84
84
  alignItems: 'center'
@@ -4,7 +4,7 @@ import styled from '@emotion/styled';
4
4
  export const Quiz = styled.div({
5
5
  display: 'flex',
6
6
  flexDirection: 'column',
7
- font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
7
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
8
8
  width: '100%',
9
9
  padding: `${"var(--ds-space-250, 20px)"} 30px ${"var(--ds-space-250, 20px)"} 0`,
10
10
  border: '1px solid grey',
@@ -16,7 +16,7 @@ export const Quiz = styled.div({
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
17
  export const QuizName = styled.div({
18
18
  margin: '3px 0',
19
- font: "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
19
+ font: "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
20
20
  paddingLeft: "var(--ds-space-250, 20px)"
21
21
  });
22
22
 
@@ -51,7 +51,7 @@ export const Question = styled.div({
51
51
  paddingLeft: "var(--ds-space-075, 6px)",
52
52
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space -- needs manual remediation
53
53
  marginBottom: '10px',
54
- font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
54
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
55
55
  color: '#707070',
56
56
  textAlign: 'left'
57
57
  });
@@ -70,7 +70,7 @@ export const NavQuiz = styled.div({
70
70
 
71
71
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
72
72
  export const NavAction = styled.span({
73
- font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
73
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
74
74
  fontWeight: "var(--ds-font-weight-medium, 500)",
75
75
  display: 'flex',
76
76
  alignItems: 'center'
@@ -4,7 +4,7 @@ import styled from '@emotion/styled';
4
4
  export var Quiz = styled.div({
5
5
  display: 'flex',
6
6
  flexDirection: 'column',
7
- font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
7
+ font: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
8
8
  width: '100%',
9
9
  padding: "var(--ds-space-250, 20px)".concat(" 30px ", "var(--ds-space-250, 20px)", " 0"),
10
10
  border: '1px solid grey',
@@ -16,7 +16,7 @@ export var Quiz = styled.div({
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
17
  export var QuizName = styled.div({
18
18
  margin: '3px 0',
19
- font: "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
19
+ font: "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
20
20
  paddingLeft: "var(--ds-space-250, 20px)"
21
21
  });
22
22
 
@@ -51,7 +51,7 @@ export var Question = styled.div({
51
51
  paddingLeft: "var(--ds-space-075, 6px)",
52
52
  // eslint-disable-next-line @atlaskit/design-system/use-tokens-space -- needs manual remediation
53
53
  marginBottom: '10px',
54
- font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
54
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
55
55
  color: '#707070',
56
56
  textAlign: 'left'
57
57
  });
@@ -70,7 +70,7 @@ export var NavQuiz = styled.div({
70
70
 
71
71
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
72
72
  export var NavAction = styled.span({
73
- font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
73
+ font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
74
74
  fontWeight: "var(--ds-font-weight-medium, 500)",
75
75
  display: 'flex',
76
76
  alignItems: 'center'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/quiz-widget",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "A React component that gives a possibility to pass quizzes",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,15 +29,17 @@
29
29
  ]
30
30
  }
31
31
  },
32
- "sideEffects": false,
32
+ "sideEffects": [
33
+ "*.compiled.css"
34
+ ],
33
35
  "atlaskit:src": "src/index.ts",
34
36
  "dependencies": {
35
- "@atlaskit/button": "^21.0.0",
36
- "@atlaskit/icon": "^24.0.0",
37
- "@atlaskit/primitives": "^14.0.0",
37
+ "@atlaskit/button": "^21.1.0",
38
+ "@atlaskit/icon": "^25.0.0",
39
+ "@atlaskit/primitives": "^14.1.0",
38
40
  "@atlaskit/radio": "^8.0.0",
39
41
  "@atlaskit/spinner": "^18.0.0",
40
- "@atlaskit/tokens": "^4.0.0",
42
+ "@atlaskit/tokens": "^4.4.0",
41
43
  "@babel/runtime": "^7.0.0",
42
44
  "@emotion/styled": "^11.0.0"
43
45
  },