@atlaskit/contextual-survey 6.0.6 → 6.0.8
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 +13 -0
- package/dist/cjs/components/SuccessContainer.js +1 -2
- package/dist/cjs/components/SurveyContainer.compiled.css +2 -2
- package/dist/cjs/components/SurveyContainer.js +2 -6
- package/dist/cjs/new-survey/SurveyContainer.compiled.css +1 -1
- package/dist/cjs/new-survey/SurveyContainer.js +1 -2
- package/dist/es2019/components/SuccessContainer.js +1 -2
- package/dist/es2019/components/SurveyContainer.compiled.css +1 -1
- package/dist/es2019/components/SurveyContainer.js +1 -2
- package/dist/es2019/new-survey/SurveyContainer.compiled.css +1 -1
- package/dist/es2019/new-survey/SurveyContainer.js +1 -2
- package/dist/esm/components/SuccessContainer.js +1 -2
- package/dist/esm/components/SurveyContainer.compiled.css +2 -2
- package/dist/esm/components/SurveyContainer.js +2 -6
- package/dist/esm/new-survey/SurveyContainer.compiled.css +1 -1
- package/dist/esm/new-survey/SurveyContainer.js +1 -2
- package/docs/0-intro.tsx +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/contextual-survey
|
|
2
2
|
|
|
3
|
+
## 6.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`608c375f6f9b9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/608c375f6f9b9) -
|
|
8
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
9
|
+
|
|
10
|
+
## 6.0.7
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 6.0.6
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -11,7 +11,6 @@ require("./SuccessContainer.compiled.css");
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
14
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
15
14
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
15
|
var sectionStyles = null;
|
|
17
16
|
var iconContainerStyles = null;
|
|
@@ -25,6 +24,6 @@ var _default = exports.default = function _default(_ref) {
|
|
|
25
24
|
spacing: "spacious",
|
|
26
25
|
label: "",
|
|
27
26
|
"aria-hidden": true,
|
|
28
|
-
color: "var(--ds-icon-success,
|
|
27
|
+
color: "var(--ds-icon-success, #6A9A23)"
|
|
29
28
|
})), children);
|
|
30
29
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._154ipxbi{top:var(--ds-space-200,1pc)}
|
|
3
|
-
.
|
|
3
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
4
4
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
5
5
|
._1bsb1vif{width:440px}
|
|
6
6
|
._1xi2pxbi{right:var(--ds-space-200,1pc)}
|
|
7
|
-
.
|
|
7
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
8
8
|
._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
|
|
9
9
|
._kqswstnw{position:absolute}
|
|
10
10
|
._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
|
|
@@ -12,7 +12,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _new = require("@atlaskit/button/new");
|
|
14
14
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
15
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
16
15
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
16
|
var containerStyles = null;
|
|
18
17
|
var buttonWrapperStyles = null;
|
|
@@ -20,11 +19,8 @@ var _default = exports.default = function _default(_ref) {
|
|
|
20
19
|
var children = _ref.children,
|
|
21
20
|
onDismiss = _ref.onDismiss;
|
|
22
21
|
return /*#__PURE__*/React.createElement("div", {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"--_1f6rtr1": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N0, ")")),
|
|
26
|
-
"--_qzf6oc": (0, _runtime.ix)("var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")"))
|
|
27
|
-
}
|
|
22
|
+
style: {},
|
|
23
|
+
className: (0, _runtime.ax)(["_2rkofajl _bfhk1bhr _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb _16qs130s _1bsb1vif"])
|
|
28
24
|
}, /*#__PURE__*/React.createElement("div", {
|
|
29
25
|
className: (0, _runtime.ax)(["_kqswstnw _154ipxbi _1xi2pxbi"])
|
|
30
26
|
}, /*#__PURE__*/React.createElement(_new.IconButton, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._154iu2gc{top:var(--ds-space-100,8px)}
|
|
3
|
-
.
|
|
3
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
4
4
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
5
5
|
._1bsbrdnh{width:4in}
|
|
6
6
|
._1xi2u2gc{right:var(--ds-space-100,8px)}
|
|
@@ -14,10 +14,9 @@ var _new = require("@atlaskit/button/new");
|
|
|
14
14
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
15
15
|
var _image = _interopRequireDefault(require("@atlaskit/image"));
|
|
16
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
17
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
18
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
18
|
var styles = {
|
|
20
|
-
root: "_2rkofajl _bfhk1bhr
|
|
19
|
+
root: "_2rkofajl _bfhk1bhr _16qs130s _1bsbrdnh",
|
|
21
20
|
container: "_ca0q1ejb _n3td1ejb _19bv1ejb _u5f31ejb",
|
|
22
21
|
buttonWrapperStyles: "_kqswstnw _154iu2gc _1xi2u2gc"
|
|
23
22
|
};
|
|
@@ -3,7 +3,6 @@ import "./SuccessContainer.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
6
|
-
import { G300 } from '@atlaskit/theme/colors';
|
|
7
6
|
const sectionStyles = null;
|
|
8
7
|
const iconContainerStyles = null;
|
|
9
8
|
export default (({
|
|
@@ -16,5 +15,5 @@ export default (({
|
|
|
16
15
|
spacing: "spacious",
|
|
17
16
|
label: "",
|
|
18
17
|
"aria-hidden": true,
|
|
19
|
-
color:
|
|
18
|
+
color: "var(--ds-icon-success, #6A9A23)"
|
|
20
19
|
})), children));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._154ipxbi{top:var(--ds-space-200,1pc)}
|
|
3
|
-
.
|
|
3
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
4
4
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
5
5
|
._1bsb1vif{width:440px}
|
|
6
6
|
._1xi2pxbi{right:var(--ds-space-200,1pc)}
|
|
@@ -4,7 +4,6 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { IconButton as Button } from '@atlaskit/button/new';
|
|
6
6
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
7
|
-
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
8
7
|
const containerStyles = null;
|
|
9
8
|
const buttonWrapperStyles = null;
|
|
10
9
|
export default (({
|
|
@@ -13,7 +12,7 @@ export default (({
|
|
|
13
12
|
}) => {
|
|
14
13
|
return /*#__PURE__*/React.createElement("div", {
|
|
15
14
|
style: {},
|
|
16
|
-
className: ax(["_2rkofajl _bfhk1bhr _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb
|
|
15
|
+
className: ax(["_2rkofajl _bfhk1bhr _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb _16qs130s _1bsb1vif"])
|
|
17
16
|
}, /*#__PURE__*/React.createElement("div", {
|
|
18
17
|
className: ax(["_kqswstnw _154ipxbi _1xi2pxbi"])
|
|
19
18
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._154iu2gc{top:var(--ds-space-100,8px)}
|
|
3
|
-
.
|
|
3
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
4
4
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
5
5
|
._1bsbrdnh{width:4in}
|
|
6
6
|
._1xi2u2gc{right:var(--ds-space-100,8px)}
|
|
@@ -6,9 +6,8 @@ import { IconButton as Button } from '@atlaskit/button/new';
|
|
|
6
6
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
7
7
|
import Image from '@atlaskit/image';
|
|
8
8
|
import { Stack } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
10
9
|
const styles = {
|
|
11
|
-
root: "_2rkofajl _bfhk1bhr
|
|
10
|
+
root: "_2rkofajl _bfhk1bhr _16qs130s _1bsbrdnh",
|
|
12
11
|
container: "_ca0q1ejb _n3td1ejb _19bv1ejb _u5f31ejb",
|
|
13
12
|
buttonWrapperStyles: "_kqswstnw _154iu2gc _1xi2u2gc"
|
|
14
13
|
};
|
|
@@ -3,7 +3,6 @@ import "./SuccessContainer.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import CheckCircleIcon from '@atlaskit/icon/core/status-success';
|
|
6
|
-
import { G300 } from '@atlaskit/theme/colors';
|
|
7
6
|
var sectionStyles = null;
|
|
8
7
|
var iconContainerStyles = null;
|
|
9
8
|
export default (function (_ref) {
|
|
@@ -16,6 +15,6 @@ export default (function (_ref) {
|
|
|
16
15
|
spacing: "spacious",
|
|
17
16
|
label: "",
|
|
18
17
|
"aria-hidden": true,
|
|
19
|
-
color: "var(--ds-icon-success,
|
|
18
|
+
color: "var(--ds-icon-success, #6A9A23)"
|
|
20
19
|
})), children);
|
|
21
20
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._154ipxbi{top:var(--ds-space-200,1pc)}
|
|
3
|
-
.
|
|
3
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
4
4
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
5
5
|
._1bsb1vif{width:440px}
|
|
6
6
|
._1xi2pxbi{right:var(--ds-space-200,1pc)}
|
|
7
|
-
.
|
|
7
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
8
8
|
._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
|
|
9
9
|
._kqswstnw{position:absolute}
|
|
10
10
|
._n3td1ejb{padding-bottom:var(--ds-space-300,24px)}
|
|
@@ -4,18 +4,14 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { IconButton as Button } from '@atlaskit/button/new';
|
|
6
6
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
7
|
-
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
8
7
|
var containerStyles = null;
|
|
9
8
|
var buttonWrapperStyles = null;
|
|
10
9
|
export default (function (_ref) {
|
|
11
10
|
var children = _ref.children,
|
|
12
11
|
onDismiss = _ref.onDismiss;
|
|
13
12
|
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"--_1f6rtr1": ix("var(--ds-surface-overlay, ".concat(N0, ")")),
|
|
17
|
-
"--_qzf6oc": ix("var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"))
|
|
18
|
-
}
|
|
13
|
+
style: {},
|
|
14
|
+
className: ax(["_2rkofajl _bfhk1bhr _ca0q1ejb _u5f31ejb _n3td1ejb _19bv1ejb _16qs130s _1bsb1vif"])
|
|
19
15
|
}, /*#__PURE__*/React.createElement("div", {
|
|
20
16
|
className: ax(["_kqswstnw _154ipxbi _1xi2pxbi"])
|
|
21
17
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}._154iu2gc{top:var(--ds-space-100,8px)}
|
|
3
|
-
.
|
|
3
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
4
4
|
._19bv1ejb{padding-left:var(--ds-space-300,24px)}
|
|
5
5
|
._1bsbrdnh{width:4in}
|
|
6
6
|
._1xi2u2gc{right:var(--ds-space-100,8px)}
|
|
@@ -6,9 +6,8 @@ import { IconButton as Button } from '@atlaskit/button/new';
|
|
|
6
6
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
7
7
|
import Image from '@atlaskit/image';
|
|
8
8
|
import { Stack } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
10
9
|
var styles = {
|
|
11
|
-
root: "_2rkofajl _bfhk1bhr
|
|
10
|
+
root: "_2rkofajl _bfhk1bhr _16qs130s _1bsbrdnh",
|
|
12
11
|
container: "_ca0q1ejb _n3td1ejb _19bv1ejb _u5f31ejb",
|
|
13
12
|
buttonWrapperStyles: "_kqswstnw _154iu2gc _1xi2u2gc"
|
|
14
13
|
};
|
package/docs/0-intro.tsx
CHANGED
|
@@ -16,11 +16,11 @@ const _default_1: any = md`
|
|
|
16
16
|
${(
|
|
17
17
|
<>
|
|
18
18
|
{/* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */}
|
|
19
|
-
<div style={{ marginBottom: token('space.100'
|
|
19
|
+
<div style={{ marginBottom: token('space.100') }}>
|
|
20
20
|
<AtlassianInternalWarning />
|
|
21
21
|
</div>
|
|
22
22
|
{/* eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766 */}
|
|
23
|
-
<div style={{ marginTop: token('space.100'
|
|
23
|
+
<div style={{ marginTop: token('space.100') }}>
|
|
24
24
|
<DevPreviewWarning />
|
|
25
25
|
</div>
|
|
26
26
|
</>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/contextual-survey",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.8",
|
|
4
4
|
"description": "A React component used to ask the user for feedback",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"@atlaskit/button": "^23.10.0",
|
|
35
35
|
"@atlaskit/checkbox": "^17.3.0",
|
|
36
36
|
"@atlaskit/css": "^0.19.0",
|
|
37
|
-
"@atlaskit/form": "^15.
|
|
37
|
+
"@atlaskit/form": "^15.5.0",
|
|
38
38
|
"@atlaskit/heading": "^5.3.0",
|
|
39
|
-
"@atlaskit/icon": "^33.
|
|
39
|
+
"@atlaskit/icon": "^33.1.0",
|
|
40
40
|
"@atlaskit/image": "^3.0.0",
|
|
41
41
|
"@atlaskit/link": "^3.3.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
|
-
"@atlaskit/primitives": "^18.
|
|
43
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
44
44
|
"@atlaskit/textarea": "^8.2.0",
|
|
45
45
|
"@atlaskit/theme": "^22.0.0",
|
|
46
|
-
"@atlaskit/tokens": "^11.
|
|
47
|
-
"@atlaskit/tooltip": "^
|
|
46
|
+
"@atlaskit/tokens": "^11.3.0",
|
|
47
|
+
"@atlaskit/tooltip": "^21.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.20.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|