@atlaskit/inline-edit 15.6.10 → 15.6.12
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 +14 -0
- package/dist/cjs/inline-edit.js +1 -1
- package/dist/cjs/internal/buttons.compiled.css +6 -6
- package/dist/cjs/internal/buttons.js +2 -17
- package/dist/es2019/inline-edit.js +1 -1
- package/dist/es2019/internal/buttons.compiled.css +5 -5
- package/dist/es2019/internal/buttons.js +2 -3
- package/dist/esm/inline-edit.js +1 -1
- package/dist/esm/internal/buttons.compiled.css +6 -6
- package/dist/esm/internal/buttons.js +2 -17
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/inline-edit
|
|
2
2
|
|
|
3
|
+
## 15.6.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`22bf79dbdcdca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22bf79dbdcdca) -
|
|
8
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 15.6.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 15.6.10
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/inline-edit.js
CHANGED
|
@@ -29,7 +29,7 @@ var fieldStyles = null;
|
|
|
29
29
|
var analyticsAttributes = {
|
|
30
30
|
componentName: 'inlineEdit',
|
|
31
31
|
packageName: "@atlaskit/inline-edit",
|
|
32
|
-
packageVersion: "15.6.
|
|
32
|
+
packageVersion: "15.6.11"
|
|
33
33
|
};
|
|
34
34
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
35
35
|
var _props$startWithEditV = props.startWithEditViewOpen,
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
3
3
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
4
4
|
._152t1osq{inset-block-start:100%}
|
|
5
|
-
.
|
|
5
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
6
6
|
._1bsbxy5q{width:var(--ds-space-400,2pc)}
|
|
7
7
|
._1e0c1txw{display:flex}
|
|
8
8
|
._1mpy1b66:last-child{margin-inline-start:var(--ds-space-050,4px)}
|
|
9
|
-
.
|
|
9
|
+
._1nlx1bhr>button{background-color:var(--ds-surface-overlay,#fff)}
|
|
10
10
|
._1o9zidpf{flex-shrink:0}
|
|
11
11
|
._1pby1kze{z-index:200}
|
|
12
12
|
._1pfh12x7{margin-block-start:var(--ds-space-075,6px)}
|
|
13
|
-
.
|
|
13
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
14
14
|
._kqswstnw{position:absolute}
|
|
15
15
|
._rjxpidpf{inset-inline-end:0}
|
|
16
16
|
._vchhusvi{box-sizing:border-box}
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
.
|
|
17
|
+
._l2uv6o2t>button:hover{background-color:var(--ds-surface-overlay-hovered,#f0f1f2)}
|
|
18
|
+
._7mfvm8nx>button:active{background-color:var(--ds-surface-overlay-pressed,#dddee1)}
|
|
19
|
+
._szlbi7uo>button:active{color:var(--ds-text,#292a2e)}
|
|
@@ -15,7 +15,6 @@ var _new = require("@atlaskit/button/new");
|
|
|
15
15
|
var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
|
|
16
16
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/core/cross"));
|
|
17
17
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
19
18
|
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); }
|
|
20
19
|
/* eslint-disable @atlaskit/design-system/no-nested-styles */
|
|
21
20
|
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
|
|
@@ -32,14 +31,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
32
31
|
className: (0, _runtime.ax)(["_1e0c1txw _kqswstnw _1o9zidpf _152t1osq _rjxpidpf _1pfh12x7"])
|
|
33
32
|
}, /*#__PURE__*/React.createElement("div", {
|
|
34
33
|
tabIndex: -1,
|
|
35
|
-
className: (0, _runtime.ax)(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze
|
|
36
|
-
style: {
|
|
37
|
-
"--_1f6rtr1": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N0, ")")),
|
|
38
|
-
"--_3t1odq": (0, _runtime.ix)("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")")),
|
|
39
|
-
"--_12yx4z3": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N20A, ")")),
|
|
40
|
-
"--_qfu7kd": (0, _runtime.ix)("var(--ds-surface-overlay-hovered, ".concat(_colors.N30A, ")")),
|
|
41
|
-
"--_1lrmnoy": (0, _runtime.ix)("var(--ds-text, ".concat(_colors.B400, ")"))
|
|
42
|
-
}
|
|
34
|
+
className: (0, _runtime.ax)(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs130s _1mpy1b66 _1nlx1bhr _l2uv6o2t _7mfvm8nx _szlbi7uo", (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && "_2rko1qi0"])
|
|
43
35
|
}, /*#__PURE__*/React.createElement(_new.IconButton, {
|
|
44
36
|
type: "submit",
|
|
45
37
|
icon: function icon(iconProps) {
|
|
@@ -52,14 +44,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
52
44
|
testId: testId && "".concat(testId, "--confirm")
|
|
53
45
|
})), /*#__PURE__*/React.createElement("div", {
|
|
54
46
|
tabIndex: -1,
|
|
55
|
-
className: (0, _runtime.ax)(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze
|
|
56
|
-
style: {
|
|
57
|
-
"--_1f6rtr1": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N0, ")")),
|
|
58
|
-
"--_3t1odq": (0, _runtime.ix)("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(_colors.N50A, ", 0 0 1px ").concat(_colors.N60A), ")")),
|
|
59
|
-
"--_12yx4z3": (0, _runtime.ix)("var(--ds-surface-overlay, ".concat(_colors.N20A, ")")),
|
|
60
|
-
"--_qfu7kd": (0, _runtime.ix)("var(--ds-surface-overlay-hovered, ".concat(_colors.N30A, ")")),
|
|
61
|
-
"--_1lrmnoy": (0, _runtime.ix)("var(--ds-text, ".concat(_colors.B400, ")"))
|
|
62
|
-
}
|
|
47
|
+
className: (0, _runtime.ax)(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs130s _1mpy1b66 _1nlx1bhr _l2uv6o2t _7mfvm8nx _szlbi7uo", (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && "_2rko1qi0"])
|
|
63
48
|
}, /*#__PURE__*/React.createElement(_new.IconButton, {
|
|
64
49
|
icon: function icon(iconProps) {
|
|
65
50
|
return /*#__PURE__*/React.createElement(_cross.default, (0, _extends2.default)({}, iconProps, {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
3
3
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
4
4
|
._152t1osq{inset-block-start:100%}
|
|
5
|
-
.
|
|
5
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
6
6
|
._1bsbxy5q{width:var(--ds-space-400,2pc)}
|
|
7
7
|
._1e0c1txw{display:flex}
|
|
8
8
|
._1mpy1b66:last-child{margin-inline-start:var(--ds-space-050,4px)}
|
|
9
|
-
.
|
|
9
|
+
._1nlx1bhr>button{background-color:var(--ds-surface-overlay,#fff)}
|
|
10
10
|
._1o9zidpf{flex-shrink:0}
|
|
11
11
|
._1pby1kze{z-index:200}
|
|
12
12
|
._1pfh12x7{margin-block-start:var(--ds-space-075,6px)}
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
._kqswstnw{position:absolute}
|
|
15
15
|
._rjxpidpf{inset-inline-end:0}
|
|
16
16
|
._vchhusvi{box-sizing:border-box}
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
.
|
|
17
|
+
._l2uv6o2t>button:hover{background-color:var(--ds-surface-overlay-hovered,#f0f1f2)}
|
|
18
|
+
._7mfvm8nx>button:active{background-color:var(--ds-surface-overlay-pressed,#dddee1)}
|
|
19
|
+
._szlbi7uo>button:active{color:var(--ds-text,#292a2e)}
|
|
@@ -10,7 +10,6 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
10
10
|
import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
|
|
11
11
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
-
import { B400, N0, N20A, N30A, N50A, N60A } from '@atlaskit/theme/colors';
|
|
14
13
|
const buttonsContainerStyles = null;
|
|
15
14
|
const buttonWrapperBaseStyles = null;
|
|
16
15
|
const buttonWrapperBaseStylesT26Shape = null;
|
|
@@ -25,7 +24,7 @@ const Buttons = ({
|
|
|
25
24
|
className: ax(["_1e0c1txw _kqswstnw _1o9zidpf _152t1osq _rjxpidpf _1pfh12x7"])
|
|
26
25
|
}, /*#__PURE__*/React.createElement("div", {
|
|
27
26
|
tabIndex: -1,
|
|
28
|
-
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr
|
|
27
|
+
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs130s _1mpy1b66 _1nlx1bhr _l2uv6o2t _7mfvm8nx _szlbi7uo", fg('platform-dst-shape-theme-default') && "_2rko1qi0"])
|
|
29
28
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
30
29
|
type: "submit",
|
|
31
30
|
icon: iconProps => /*#__PURE__*/React.createElement(CheckMarkIcon, _extends({}, iconProps, {
|
|
@@ -36,7 +35,7 @@ const Buttons = ({
|
|
|
36
35
|
testId: testId && `${testId}--confirm`
|
|
37
36
|
})), /*#__PURE__*/React.createElement("div", {
|
|
38
37
|
tabIndex: -1,
|
|
39
|
-
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr
|
|
38
|
+
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs130s _1mpy1b66 _1nlx1bhr _l2uv6o2t _7mfvm8nx _szlbi7uo", fg('platform-dst-shape-theme-default') && "_2rko1qi0"])
|
|
40
39
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
41
40
|
icon: iconProps => /*#__PURE__*/React.createElement(CrossIcon, _extends({}, iconProps, {
|
|
42
41
|
size: "small"
|
package/dist/esm/inline-edit.js
CHANGED
|
@@ -20,7 +20,7 @@ var fieldStyles = null;
|
|
|
20
20
|
var analyticsAttributes = {
|
|
21
21
|
componentName: 'inlineEdit',
|
|
22
22
|
packageName: "@atlaskit/inline-edit",
|
|
23
|
-
packageVersion: "15.6.
|
|
23
|
+
packageVersion: "15.6.11"
|
|
24
24
|
};
|
|
25
25
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
26
26
|
var _props$startWithEditV = props.startWithEditViewOpen,
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
3
3
|
._2rkofajl{border-radius:var(--ds-radius-small,3px)}
|
|
4
4
|
._152t1osq{inset-block-start:100%}
|
|
5
|
-
.
|
|
5
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
6
6
|
._1bsbxy5q{width:var(--ds-space-400,2pc)}
|
|
7
7
|
._1e0c1txw{display:flex}
|
|
8
8
|
._1mpy1b66:last-child{margin-inline-start:var(--ds-space-050,4px)}
|
|
9
|
-
.
|
|
9
|
+
._1nlx1bhr>button{background-color:var(--ds-surface-overlay,#fff)}
|
|
10
10
|
._1o9zidpf{flex-shrink:0}
|
|
11
11
|
._1pby1kze{z-index:200}
|
|
12
12
|
._1pfh12x7{margin-block-start:var(--ds-space-075,6px)}
|
|
13
|
-
.
|
|
13
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
14
14
|
._kqswstnw{position:absolute}
|
|
15
15
|
._rjxpidpf{inset-inline-end:0}
|
|
16
16
|
._vchhusvi{box-sizing:border-box}
|
|
17
|
-
.
|
|
18
|
-
.
|
|
19
|
-
.
|
|
17
|
+
._l2uv6o2t>button:hover{background-color:var(--ds-surface-overlay-hovered,#f0f1f2)}
|
|
18
|
+
._7mfvm8nx>button:active{background-color:var(--ds-surface-overlay-pressed,#dddee1)}
|
|
19
|
+
._szlbi7uo>button:active{color:var(--ds-text,#292a2e)}
|
|
@@ -10,7 +10,6 @@ import { IconButton } from '@atlaskit/button/new';
|
|
|
10
10
|
import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
|
|
11
11
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
-
import { B400, N0, N20A, N30A, N50A, N60A } from '@atlaskit/theme/colors';
|
|
14
13
|
var buttonsContainerStyles = null;
|
|
15
14
|
var buttonWrapperBaseStyles = null;
|
|
16
15
|
var buttonWrapperBaseStylesT26Shape = null;
|
|
@@ -24,14 +23,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
24
23
|
className: ax(["_1e0c1txw _kqswstnw _1o9zidpf _152t1osq _rjxpidpf _1pfh12x7"])
|
|
25
24
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26
25
|
tabIndex: -1,
|
|
27
|
-
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze
|
|
28
|
-
style: {
|
|
29
|
-
"--_1f6rtr1": ix("var(--ds-surface-overlay, ".concat(N0, ")")),
|
|
30
|
-
"--_3t1odq": ix("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")")),
|
|
31
|
-
"--_12yx4z3": ix("var(--ds-surface-overlay, ".concat(N20A, ")")),
|
|
32
|
-
"--_qfu7kd": ix("var(--ds-surface-overlay-hovered, ".concat(N30A, ")")),
|
|
33
|
-
"--_1lrmnoy": ix("var(--ds-text, ".concat(B400, ")"))
|
|
34
|
-
}
|
|
26
|
+
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs130s _1mpy1b66 _1nlx1bhr _l2uv6o2t _7mfvm8nx _szlbi7uo", fg('platform-dst-shape-theme-default') && "_2rko1qi0"])
|
|
35
27
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
36
28
|
type: "submit",
|
|
37
29
|
icon: function icon(iconProps) {
|
|
@@ -44,14 +36,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
44
36
|
testId: testId && "".concat(testId, "--confirm")
|
|
45
37
|
})), /*#__PURE__*/React.createElement("div", {
|
|
46
38
|
tabIndex: -1,
|
|
47
|
-
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze
|
|
48
|
-
style: {
|
|
49
|
-
"--_1f6rtr1": ix("var(--ds-surface-overlay, ".concat(N0, ")")),
|
|
50
|
-
"--_3t1odq": ix("var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")")),
|
|
51
|
-
"--_12yx4z3": ix("var(--ds-surface-overlay, ".concat(N20A, ")")),
|
|
52
|
-
"--_qfu7kd": ix("var(--ds-surface-overlay-hovered, ".concat(N30A, ")")),
|
|
53
|
-
"--_1lrmnoy": ix("var(--ds-text, ".concat(B400, ")"))
|
|
54
|
-
}
|
|
39
|
+
className: ax(["_2rkofajl _11c8fhey _vchhusvi _1bsbxy5q _1pby1kze _bfhk1bhr _16qs130s _1mpy1b66 _1nlx1bhr _l2uv6o2t _7mfvm8nx _szlbi7uo", fg('platform-dst-shape-theme-default') && "_2rko1qi0"])
|
|
55
40
|
}, /*#__PURE__*/React.createElement(IconButton, {
|
|
56
41
|
icon: function icon(iconProps) {
|
|
57
42
|
return /*#__PURE__*/React.createElement(CrossIcon, _extends({}, iconProps, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "15.6.
|
|
3
|
+
"version": "15.6.12",
|
|
4
4
|
"description": "An inline edit displays a custom input component that switches between reading and editing on the same page.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,12 +37,11 @@
|
|
|
37
37
|
"@atlaskit/button": "^23.10.0",
|
|
38
38
|
"@atlaskit/css": "^0.19.0",
|
|
39
39
|
"@atlaskit/form": "^15.5.0",
|
|
40
|
-
"@atlaskit/icon": "^
|
|
40
|
+
"@atlaskit/icon": "^34.0.0",
|
|
41
41
|
"@atlaskit/inline-dialog": "^18.0.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/primitives": "^18.1.0",
|
|
44
44
|
"@atlaskit/textfield": "^8.2.0",
|
|
45
|
-
"@atlaskit/theme": "^22.0.0",
|
|
46
45
|
"@atlaskit/tokens": "^11.4.0",
|
|
47
46
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
48
47
|
"@babel/runtime": "^7.0.0",
|
|
@@ -54,12 +53,12 @@
|
|
|
54
53
|
"devDependencies": {
|
|
55
54
|
"@af/accessibility-testing": "workspace:^",
|
|
56
55
|
"@af/integration-testing": "workspace:^",
|
|
57
|
-
"@atlaskit/datetime-picker": "^17.
|
|
56
|
+
"@atlaskit/datetime-picker": "^17.6.0",
|
|
58
57
|
"@atlaskit/docs": "^11.7.0",
|
|
59
58
|
"@atlaskit/heading": "^5.3.0",
|
|
60
59
|
"@atlaskit/link": "^3.3.0",
|
|
61
60
|
"@atlaskit/section-message": "^8.12.0",
|
|
62
|
-
"@atlaskit/select": "^21.
|
|
61
|
+
"@atlaskit/select": "^21.10.0",
|
|
63
62
|
"@atlaskit/tag": "^14.6.0",
|
|
64
63
|
"@atlaskit/tag-group": "^12.0.0",
|
|
65
64
|
"@atlaskit/textarea": "^8.2.0",
|