@atlaskit/contextual-survey 2.3.3 → 2.4.0
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 +8 -0
- package/dist/cjs/components/SuccessContainer.js +6 -4
- package/dist/cjs/components/SurveyContainer.js +3 -3
- package/dist/es2019/components/SuccessContainer.js +5 -3
- package/dist/es2019/components/SurveyContainer.js +2 -2
- package/dist/esm/components/SuccessContainer.js +5 -3
- package/dist/esm/components/SurveyContainer.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 2.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#147230](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/147230)
|
|
8
|
+
[`0450aceb2400a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0450aceb2400a) -
|
|
9
|
+
Enable new icons behind a feature flag.
|
|
10
|
+
|
|
3
11
|
## 2.3.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var
|
|
9
|
+
var _successCheckCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/success--check-circle"));
|
|
10
10
|
var _colors = require("@atlaskit/theme/colors");
|
|
11
11
|
/**
|
|
12
12
|
* @jsxRuntime classic
|
|
@@ -24,12 +24,14 @@ var _default = exports.default = function _default(_ref) {
|
|
|
24
24
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
25
25
|
css: (0, _react.css)({
|
|
26
26
|
position: 'absolute',
|
|
27
|
-
top: "var(--ds-space-
|
|
27
|
+
top: "var(--ds-space-250, 20px)",
|
|
28
28
|
left: "var(--ds-space-300, 24px)"
|
|
29
29
|
})
|
|
30
|
-
}, (0, _react.jsx)(
|
|
30
|
+
}, (0, _react.jsx)(_successCheckCircle.default, {
|
|
31
|
+
spacing: "spacious",
|
|
31
32
|
label: "",
|
|
32
33
|
"aria-hidden": true,
|
|
33
|
-
|
|
34
|
+
color: "var(--ds-icon-success, ".concat(_colors.G300, ")"),
|
|
35
|
+
LEGACY_margin: "4px 0 0 0"
|
|
34
36
|
})), children);
|
|
35
37
|
};
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
9
|
var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
|
|
10
|
-
var
|
|
10
|
+
var _closeCross = _interopRequireDefault(require("@atlaskit/icon/core/migration/close--cross"));
|
|
11
11
|
var _colors = require("@atlaskit/theme/colors");
|
|
12
12
|
var _constants = require("@atlaskit/theme/constants");
|
|
13
13
|
var _constants2 = require("../constants");
|
|
@@ -38,9 +38,9 @@ var _default = exports.default = function _default(_ref) {
|
|
|
38
38
|
right: "var(--ds-space-200, 16px)"
|
|
39
39
|
})
|
|
40
40
|
}, (0, _react.jsx)(_customThemeButton.default, {
|
|
41
|
-
iconBefore: (0, _react.jsx)(
|
|
41
|
+
iconBefore: (0, _react.jsx)(_closeCross.default, {
|
|
42
42
|
label: "",
|
|
43
|
-
|
|
43
|
+
color: "var(--ds-icon-subtle, ".concat(_colors.N50, ")")
|
|
44
44
|
}),
|
|
45
45
|
"aria-label": "Dismiss",
|
|
46
46
|
appearance: "subtle",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import CheckCircleIcon from '@atlaskit/icon/
|
|
7
|
+
import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
|
|
8
8
|
import { G300 } from '@atlaskit/theme/colors';
|
|
9
9
|
export default (({
|
|
10
10
|
children
|
|
@@ -17,11 +17,13 @@ export default (({
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
18
18
|
css: css({
|
|
19
19
|
position: 'absolute',
|
|
20
|
-
top: "var(--ds-space-
|
|
20
|
+
top: "var(--ds-space-250, 20px)",
|
|
21
21
|
left: "var(--ds-space-300, 24px)"
|
|
22
22
|
})
|
|
23
23
|
}, jsx(CheckCircleIcon, {
|
|
24
|
+
spacing: "spacious",
|
|
24
25
|
label: "",
|
|
25
26
|
"aria-hidden": true,
|
|
26
|
-
|
|
27
|
+
color: `var(--ds-icon-success, ${G300})`,
|
|
28
|
+
LEGACY_margin: "4px 0 0 0"
|
|
27
29
|
})), children));
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
8
|
-
import CrossIcon from '@atlaskit/icon/
|
|
8
|
+
import CrossIcon from '@atlaskit/icon/core/migration/close--cross';
|
|
9
9
|
import { N0, N50, N50A, N60A } from '@atlaskit/theme/colors';
|
|
10
10
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
11
11
|
import { surveyInnerWidth } from '../constants';
|
|
@@ -34,7 +34,7 @@ export default (({
|
|
|
34
34
|
}, jsx(Button, {
|
|
35
35
|
iconBefore: jsx(CrossIcon, {
|
|
36
36
|
label: "",
|
|
37
|
-
|
|
37
|
+
color: `var(--ds-icon-subtle, ${N50})`
|
|
38
38
|
}),
|
|
39
39
|
"aria-label": "Dismiss",
|
|
40
40
|
appearance: "subtle",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import CheckCircleIcon from '@atlaskit/icon/
|
|
7
|
+
import CheckCircleIcon from '@atlaskit/icon/core/migration/success--check-circle';
|
|
8
8
|
import { G300 } from '@atlaskit/theme/colors';
|
|
9
9
|
export default (function (_ref) {
|
|
10
10
|
var children = _ref.children;
|
|
@@ -17,12 +17,14 @@ export default (function (_ref) {
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
18
18
|
css: css({
|
|
19
19
|
position: 'absolute',
|
|
20
|
-
top: "var(--ds-space-
|
|
20
|
+
top: "var(--ds-space-250, 20px)",
|
|
21
21
|
left: "var(--ds-space-300, 24px)"
|
|
22
22
|
})
|
|
23
23
|
}, jsx(CheckCircleIcon, {
|
|
24
|
+
spacing: "spacious",
|
|
24
25
|
label: "",
|
|
25
26
|
"aria-hidden": true,
|
|
26
|
-
|
|
27
|
+
color: "var(--ds-icon-success, ".concat(G300, ")"),
|
|
28
|
+
LEGACY_margin: "4px 0 0 0"
|
|
27
29
|
})), children);
|
|
28
30
|
});
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
8
|
-
import CrossIcon from '@atlaskit/icon/
|
|
8
|
+
import CrossIcon from '@atlaskit/icon/core/migration/close--cross';
|
|
9
9
|
import { N0, N50, N50A, N60A } from '@atlaskit/theme/colors';
|
|
10
10
|
import { borderRadius } from '@atlaskit/theme/constants';
|
|
11
11
|
import { surveyInnerWidth } from '../constants';
|
|
@@ -33,7 +33,7 @@ export default (function (_ref) {
|
|
|
33
33
|
}, jsx(Button, {
|
|
34
34
|
iconBefore: jsx(CrossIcon, {
|
|
35
35
|
label: "",
|
|
36
|
-
|
|
36
|
+
color: "var(--ds-icon-subtle, ".concat(N50, ")")
|
|
37
37
|
}),
|
|
38
38
|
"aria-label": "Dismiss",
|
|
39
39
|
appearance: "subtle",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/contextual-survey",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "A React component used to ask the user for feedback",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@atlaskit/checkbox": "^14.0.0",
|
|
39
39
|
"@atlaskit/form": "^10.5.0",
|
|
40
40
|
"@atlaskit/heading": "^2.4.0",
|
|
41
|
-
"@atlaskit/icon": "^22.
|
|
41
|
+
"@atlaskit/icon": "^22.20.0",
|
|
42
42
|
"@atlaskit/primitives": "^12.2.0",
|
|
43
43
|
"@atlaskit/textarea": "^5.6.0",
|
|
44
44
|
"@atlaskit/theme": "^13.0.0",
|
|
45
45
|
"@atlaskit/tokens": "^2.0.0",
|
|
46
|
-
"@atlaskit/tooltip": "^18.
|
|
46
|
+
"@atlaskit/tooltip": "^18.8.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1",
|
|
49
49
|
"react-transition-group": "^4.4.1"
|